diff --git a/css/main--Y7OSInl.chunk.css b/css/main-6N4mzMzV.chunk.css similarity index 98% rename from css/main--Y7OSInl.chunk.css rename to css/main-6N4mzMzV.chunk.css index a7def0c..56263ce 100644 --- a/css/main--Y7OSInl.chunk.css +++ b/css/main-6N4mzMzV.chunk.css @@ -1,4 +1,4 @@ .material-design-icon[data-v-a28923a1]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.app-details-toggle[data-v-a28923a1]{position:sticky;width:var(--default-clickable-area);height:var(--default-clickable-area);padding:calc((var(--default-clickable-area) - 16px) / 2);cursor:pointer;opacity:.6;transform:rotate(180deg);background-color:var(--color-main-background);z-index:2000;top:var(--app-navigation-padding);inset-inline-start:calc(var(--default-clickable-area) + var(--app-navigation-padding) * 2)}.app-details-toggle--mobile[data-v-a28923a1]{inset-inline-start:var(--app-navigation-padding)}.app-details-toggle[data-v-a28923a1]:active,.app-details-toggle[data-v-a28923a1]:hover,.app-details-toggle[data-v-a28923a1]:focus{opacity:1}.material-design-icon[data-v-ea1e6879]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.app-content[data-v-ea1e6879]{position:initial;z-index:1000;flex-basis:100vw;height:100%;margin:0!important;background-color:var(--color-main-background);min-width:0}.app-content[data-v-ea1e6879]:not(.app-content--has-list){overflow:auto}.app-content-wrapper[data-v-ea1e6879]{position:relative;width:100%;height:100%}.app-content-wrapper--no-split.app-content-wrapper--show-list[data-v-ea1e6879] .app-content-list{display:flex}.app-content-wrapper--no-split.app-content-wrapper--show-list[data-v-ea1e6879] .app-content-details,.app-content-wrapper--no-split.app-content-wrapper--show-details[data-v-ea1e6879] .app-content-list{display:none}.app-content-wrapper--no-split.app-content-wrapper--show-details[data-v-ea1e6879] .app-content-details{display:block}[data-v-ea1e6879] .splitpanes.default-theme .app-content-list{max-width:none;scrollbar-width:auto}[data-v-ea1e6879] .splitpanes.default-theme .splitpanes__pane{background-color:transparent;transition:none}[data-v-ea1e6879] .splitpanes.default-theme .splitpanes__pane-list{min-width:300px;position:sticky}@media only screen and (width<1024px){[data-v-ea1e6879] .splitpanes.default-theme .splitpanes__pane-list{display:none}}[data-v-ea1e6879] .splitpanes.default-theme .splitpanes__pane-details{overflow-y:auto}@media only screen and (width<1024px){[data-v-ea1e6879] .splitpanes.default-theme .splitpanes__pane-details{min-width:100%}}[data-v-ea1e6879] .splitpanes.default-theme .splitpanes__splitter{background-color:var(--color-main-background)}[data-v-ea1e6879] .splitpanes.default-theme .splitpanes__splitter:before,[data-v-ea1e6879] .splitpanes.default-theme .splitpanes__splitter:after{background-color:var(--color-border)}[data-v-ea1e6879] .splitpanes.default-theme.splitpanes--vertical .splitpanes__splitter{border-inline-start:1px solid var(--color-border)}[data-v-ea1e6879] .splitpanes.default-theme.splitpanes--horizontal .splitpanes__splitter{border-top:1px solid var(--color-border)}.app-content-wrapper--show-list[data-v-ea1e6879] .app-content-list{max-width:none}.app-content-wrapper__list[data-v-ea1e6879]{height:100%}.material-design-icon[data-v-18f6cf03]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.button-vue[data-v-18f6cf03]{--button-size: var(--default-clickable-area);--button-inner-size: calc(var(--button-size) - 4px);--button-radius: var(--border-radius-element);--button-padding-default: calc(var(--default-grid-baseline) + var(--button-radius));--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-18f6cf03]{--button-size: var(--clickable-area-small)}.button-vue--size-large[data-v-18f6cf03]{--button-size: var(--clickable-area-large)}.button-vue[data-v-18f6cf03] *{cursor:pointer}.button-vue[data-v-18f6cf03]:focus{outline:none}.button-vue[data-v-18f6cf03]:disabled{filter:saturate(.7);opacity:.5;cursor:default}.button-vue[data-v-18f6cf03]:disabled *{cursor:default}.button-vue[data-v-18f6cf03]:hover:not(:disabled){background-color:var(--color-primary-element-light-hover)}.button-vue[data-v-18f6cf03]:active:not(:disabled){background-color:var(--color-primary-element-light)}.button-vue__wrapper[data-v-18f6cf03]{display:inline-flex;align-items:center;justify-content:center;width:100%}.button-vue--end .button-vue__wrapper[data-v-18f6cf03]{justify-content:end}.button-vue--start .button-vue__wrapper[data-v-18f6cf03]{justify-content:start}.button-vue--reverse .button-vue__wrapper[data-v-18f6cf03]{flex-direction:row-reverse}.button-vue--reverse[data-v-18f6cf03]{--button-padding: var(--button-padding-default) var(--default-grid-baseline)}.button-vue__icon[data-v-18f6cf03]{--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__icon[data-v-18f6cf03]:empty{display:none}.button-vue--size-small .button-vue__icon[data-v-18f6cf03]>*{max-height:16px;max-width:16px}.button-vue--size-small .button-vue__icon[data-v-18f6cf03] svg{height:16px;width:16px}.button-vue__text[data-v-18f6cf03]{font-weight:var(--font-weight-element, bold);margin-bottom:1px;padding:2px 0;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.button-vue__text[data-v-18f6cf03]:empty{display:none}.button-vue[data-v-18f6cf03]:has(.button-vue__text:empty){--button-padding: var(--button-radius);line-height:1;width:var(--button-size)!important}.button-vue[data-v-18f6cf03]:has(.button-vue__icon:empty){--button-padding: var(--button-padding-default)}.button-vue:has(.button-vue__icon:empty) .button-vue__text[data-v-18f6cf03]{padding-inline:var(--default-grid-baseline)}.button-vue--wide[data-v-18f6cf03]{width:100%}.button-vue[data-v-18f6cf03]: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-18f6cf03]{outline:2px solid var(--color-primary-element-text);border-radius:var(--border-radius-element);background-color:transparent}.button-vue--primary[data-v-18f6cf03]{background-color:var(--color-primary-element);border-color:var(--color-primary-element-hover);color:var(--color-primary-element-text)}.button-vue--primary[data-v-18f6cf03]:hover:not(:disabled){background-color:var(--color-primary-element-hover)}.button-vue--primary[data-v-18f6cf03]:active{background-color:var(--color-primary-element)}.button-vue--secondary[data-v-18f6cf03]{background-color:var(--color-primary-element-light);border-color:var(--color-primary-element-light-hover);color:var(--color-primary-element-light-text)}.button-vue--secondary[data-v-18f6cf03]:hover:not(:disabled){color:var(--color-primary-element-light-text);background-color:var(--color-primary-element-light-hover)}.button-vue--tertiary[data-v-18f6cf03]{background-color:transparent;border-color:transparent;color:var(--color-main-text)}.button-vue--tertiary[data-v-18f6cf03]:hover:not(:disabled){background-color:var(--color-background-hover)}.button-vue--tertiary[data-v-18f6cf03]:not(.button-vue--legacy34):hover:not(:disabled){background-color:color-mix(in srgb,var(--color-primary-element) 8%,transparent)}.button-vue--tertiary-no-background[data-v-18f6cf03]:hover:not(:disabled){background-color:transparent}.button-vue--tertiary-on-primary[data-v-18f6cf03]{color:var(--color-primary-element-text)}.button-vue--tertiary-on-primary[data-v-18f6cf03]:hover:not(:disabled){background-color:transparent}.button-vue--success[data-v-18f6cf03]{border-color:var(--color-success-hover);background-color:var(--color-success);color:var(--color-success-text)}.button-vue--success[data-v-18f6cf03]:hover:not(:disabled){background-color:var(--color-success-hover)}.button-vue--success[data-v-18f6cf03]:active{background-color:var(--color-success)}.button-vue--warning[data-v-18f6cf03]{border-color:var(--color-warning-hover);background-color:var(--color-warning);color:var(--color-warning-text)}.button-vue--warning[data-v-18f6cf03]:hover:not(:disabled){background-color:var(--color-warning-hover)}.button-vue--warning[data-v-18f6cf03]:active{background-color:var(--color-warning)}.button-vue--error[data-v-18f6cf03]{border-color:var(--color-error-hover);background-color:var(--color-error);color:var(--color-error-text)}.button-vue--error[data-v-18f6cf03]:hover:not(:disabled){background-color:var(--color-error-hover)}.button-vue--error[data-v-18f6cf03]:active{background-color:var(--color-error)}.button-vue--legacy[data-v-18f6cf03]{--button-inner-size: var(--button-size);border:none;padding-block:0}.button-vue--legacy.button-vue--error[data-v-18f6cf03],.button-vue--legacy.button-vue--success[data-v-18f6cf03],.button-vue--legacy.button-vue--warning[data-v-18f6cf03]{color:#fff}.material-design-icon[data-v-aaedb1c3]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.icon-vue[data-v-aaedb1c3]{display:flex;justify-content:center;align-items:center;min-width:var(--default-clickable-area);min-height:var(--default-clickable-area);opacity:1}.icon-vue.icon-vue--inline[data-v-aaedb1c3]{display:inline-flex!important;min-width:fit-content;min-height:fit-content;vertical-align:text-bottom}.icon-vue span[data-v-aaedb1c3]{line-height:0}.icon-vue[data-v-aaedb1c3] svg{fill:currentColor;width:var(--fb515064);height:var(--fb515064);max-width:var(--fb515064);max-height:var(--fb515064)}.icon-vue--directional[data-v-aaedb1c3] svg:dir(rtl){transform:scaleX(-1)}.splitpanes{display:flex;width:100%;height:100%}.splitpanes--vertical{flex-direction:row}.splitpanes--horizontal{flex-direction:column}.splitpanes--dragging .splitpanes__pane,*:has(.splitpanes--dragging){-webkit-user-select:none;user-select:none;pointer-events:none}.splitpanes__pane{width:100%;height:100%;overflow:hidden}.splitpanes--vertical .splitpanes__pane{transition:width .2s ease-out;will-change:width}.splitpanes--horizontal .splitpanes__pane{transition:height .2s ease-out;will-change:height}.splitpanes--dragging .splitpanes__pane{transition:none}.splitpanes__splitter{touch-action:none}.splitpanes--vertical>.splitpanes__splitter{min-width:1px;cursor:col-resize}.splitpanes--horizontal>.splitpanes__splitter{min-height:1px;cursor:row-resize}.default-theme.splitpanes .splitpanes__pane{background-color:#f2f2f2}.default-theme.splitpanes .splitpanes__splitter{background-color:#fff;box-sizing:border-box;position:relative;flex-shrink:0}.default-theme.splitpanes .splitpanes__splitter:before,.default-theme.splitpanes .splitpanes__splitter:after{content:"";position:absolute;top:50%;left:50%;background-color:#00000026;transition:background-color .3s}.default-theme.splitpanes .splitpanes__splitter:hover:before,.default-theme.splitpanes .splitpanes__splitter:hover:after{background-color:#00000040}.default-theme.splitpanes .splitpanes__splitter:first-child{cursor:auto}.default-theme.splitpanes .splitpanes .splitpanes__splitter{z-index:1}.default-theme.splitpanes--vertical>.splitpanes__splitter,.default-theme .splitpanes--vertical>.splitpanes__splitter{width:7px;border-left:1px solid #eee;margin-left:-1px}.default-theme.splitpanes--vertical>.splitpanes__splitter:before,.default-theme.splitpanes--vertical>.splitpanes__splitter:after,.default-theme .splitpanes--vertical>.splitpanes__splitter:before,.default-theme .splitpanes--vertical>.splitpanes__splitter:after{transform:translateY(-50%);width:1px;height:30px}.default-theme.splitpanes--vertical>.splitpanes__splitter:before,.default-theme .splitpanes--vertical>.splitpanes__splitter:before{margin-left:-2px}.default-theme.splitpanes--vertical>.splitpanes__splitter:after,.default-theme .splitpanes--vertical>.splitpanes__splitter:after{margin-left:1px}.default-theme.splitpanes--horizontal>.splitpanes__splitter,.default-theme .splitpanes--horizontal>.splitpanes__splitter{height:7px;border-top:1px solid #eee;margin-top:-1px}.default-theme.splitpanes--horizontal>.splitpanes__splitter:before,.default-theme.splitpanes--horizontal>.splitpanes__splitter:after,.default-theme .splitpanes--horizontal>.splitpanes__splitter:before,.default-theme .splitpanes--horizontal>.splitpanes__splitter:after{transform:translate(-50%);width:30px;height:1px}.default-theme.splitpanes--horizontal>.splitpanes__splitter:before,.default-theme .splitpanes--horizontal>.splitpanes__splitter:before{margin-top:-2px}.default-theme.splitpanes--horizontal>.splitpanes__splitter:after,.default-theme .splitpanes--horizontal>.splitpanes__splitter:after{margin-top:1px}.material-design-icon[data-v-5a15295d]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.app-navigation-toggle-wrapper[data-v-5a15295d]{position:absolute;top:var(--app-navigation-padding);inset-inline-end:calc(0px - var(--app-navigation-padding));margin-inline-end:calc(-1 * var(--default-clickable-area))}button.app-navigation-toggle[data-v-5a15295d]{background-color:var(--color-main-background)}.app-navigation,.app-content{--app-navigation-padding: calc(var(--default-grid-baseline, 4px) * 2)}.material-design-icon[data-v-3b634fbd]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.app-navigation[data-v-3b634fbd]{--color-text-maxcontrast: var(--color-text-maxcontrast-background-blur, var(--color-text-maxcontrast-default));transition:transform var(--animation-quick),margin var(--animation-quick);width:300px;--app-navigation-max-width: calc(100vw - (var(--app-navigation-padding) + var(--default-clickable-area) + var(--default-grid-baseline)));max-width:var(--app-navigation-max-width);position:relative;top:0;inset-inline-start:0;padding:0;z-index:1800;height:100%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;flex-grow:0;flex-shrink:0;background-color:transparent}.app-navigation--legacy[data-v-3b634fbd]{background-color:var(--color-main-background-blur, var(--color-main-background));-webkit-backdrop-filter:var(--filter-background-blur, none);backdrop-filter:var(--filter-background-blur, none)}.app-navigation--closed[data-v-3b634fbd]{margin-inline-start:calc(-1*min(300px,var(--app-navigation-max-width)))}.app-navigation__search[data-v-3b634fbd]{width:100%}.app-navigation__body[data-v-3b634fbd]{overflow-y:scroll}.app-navigation__content>ul[data-v-3b634fbd]{position:relative;width:100%;overflow-x:hidden;overflow-y:auto;display:flex;flex-direction:column;gap:var(--default-grid-baseline, 4px);padding:var(--app-navigation-padding)}.app-navigation .app-navigation__list[data-v-3b634fbd]{height:100%}.app-navigation__body--no-list[data-v-3b634fbd]{flex:1 1 auto;overflow:auto;height:100%}.app-navigation__content[data-v-3b634fbd]{height:100%;display:flex;flex-direction:column}[data-themes*=highcontrast] .app-navigation[data-v-3b634fbd]{border-inline-end:1px solid var(--color-border)}@media only screen and (max-width:1024px){.app-navigation[data-v-3b634fbd]{position:absolute;border-inline-end:1px solid var(--color-border);background-color:var(--color-main-background-blur, var(--color-main-background));-webkit-backdrop-filter:var(--filter-background-blur, none);backdrop-filter:var(--filter-background-blur, none)}}@media only screen and (max-width:512px){.app-navigation[data-v-3b634fbd]{z-index:1400}}.material-design-icon[data-v-d72957ed]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.app-navigation-list[data-v-d72957ed]{position:relative;width:100%;overflow-x:hidden;overflow-y:auto;display:flex;flex-direction:column;gap:var(--default-grid-baseline, 4px);padding:var(--app-navigation-padding)}.material-design-icon[data-v-acf5ed2f]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.icon-collapse[data-v-acf5ed2f]{position:relative;inset-inline-end:0}.icon-collapse[data-v-acf5ed2f]:hover{background-color:var(--color-background-dark)!important}.icon-collapse--active[data-v-acf5ed2f]:hover{background-color:var(--color-primary-element)!important}.material-design-icon[data-v-e4d562ae]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.app-navigation-entry[data-v-e4d562ae]{position:relative;display:flex;flex-shrink:0;flex-wrap:wrap;width:100%;min-height:var(--default-clickable-area);transition:background-color var(--animation-quick) ease-in-out;transition:background-color .2s ease-in-out;border-radius:var(--border-radius-element)}.app-navigation-entry-wrapper[data-v-e4d562ae]{position:relative;display:flex;flex-shrink:0;flex-wrap:wrap;width:100%}.app-navigation-entry-wrapper.app-navigation-entry--collapsible:not(.app-navigation-entry--opened)>ul[data-v-e4d562ae]{display:none}.app-navigation-entry:not(.app-navigation-entry--legacy).active[data-v-e4d562ae]{background-color:var(--color-primary-element-light)!important}.app-navigation-entry:not(.app-navigation-entry--legacy).active[data-v-e4d562ae]:hover{background-color:var(--color-primary-element-light-hover)!important}.app-navigation-entry:not(.app-navigation-entry--legacy).active:not(.app-navigation-entry--editing) .app-navigation-entry-link[data-v-e4d562ae],.app-navigation-entry:not(.app-navigation-entry--legacy).active:not(.app-navigation-entry--editing) .app-navigation-entry-button[data-v-e4d562ae]{color:var(--color-main-text)!important}.app-navigation-entry:not(.app-navigation-entry--legacy).active[data-v-e4d562ae]:not(.app-navigation-entry--editing):before{content:"";position:absolute;inset-block:calc(var(--default-grid-baseline, 4px) * 2);inset-inline-start:0;width:3px;background-color:var(--color-primary-element);border-radius:999px;animation:nc-nav-stripe-in-e4d562ae var(--animation-quick, .2s) ease-out}.app-navigation-entry.app-navigation-entry--legacy.active[data-v-e4d562ae]{background-color:var(--color-primary-element)!important}.app-navigation-entry.app-navigation-entry--legacy.active[data-v-e4d562ae]:hover{background-color:var(--color-primary-element-hover)!important}.app-navigation-entry.app-navigation-entry--legacy.active .app-navigation-entry-link[data-v-e4d562ae],.app-navigation-entry.app-navigation-entry--legacy.active .app-navigation-entry-button[data-v-e4d562ae]{color:var(--color-primary-element-text)!important}.app-navigation-entry[data-v-e4d562ae]:focus-within,.app-navigation-entry[data-v-e4d562ae]:hover{background-color:var(--color-background-hover)}.app-navigation-entry[data-v-e4d562ae]:not(.app-navigation-entry--legacy):focus-within,.app-navigation-entry[data-v-e4d562ae]:not(.app-navigation-entry--legacy):hover{background-color:color-mix(in srgb,var(--color-primary-element) 8%,transparent)}.app-navigation-entry.active .app-navigation-entry__children[data-v-e4d562ae],.app-navigation-entry:focus-within .app-navigation-entry__children[data-v-e4d562ae],.app-navigation-entry:hover .app-navigation-entry__children[data-v-e4d562ae]{background-color:var(--color-main-background)}.app-navigation-entry.active .app-navigation-entry__utils .app-navigation-entry__actions[data-v-e4d562ae],.app-navigation-entry.app-navigation-entry--deleted .app-navigation-entry__utils .app-navigation-entry__actions[data-v-e4d562ae],.app-navigation-entry:focus .app-navigation-entry__utils .app-navigation-entry__actions[data-v-e4d562ae],.app-navigation-entry:focus-within .app-navigation-entry__utils .app-navigation-entry__actions[data-v-e4d562ae],.app-navigation-entry:hover .app-navigation-entry__utils .app-navigation-entry__actions[data-v-e4d562ae]{display:inline-block}.app-navigation-entry .app-navigation-entry__actions[data-v-e4d562ae]:hover .button-vue{background-color:var(--color-background-dark)!important}.app-navigation-entry:not(.app-navigation-entry--legacy).active .app-navigation-entry__actions[data-v-e4d562ae]:hover .button-vue{background-color:var(--color-background-dark)!important}.app-navigation-entry.app-navigation-entry--legacy.active .app-navigation-entry__actions[data-v-e4d562ae]:hover .button-vue{background-color:var(--color-primary-element)!important}.app-navigation-entry.app-navigation-entry--deleted>ul[data-v-e4d562ae]{display:none}.app-navigation-entry:not(.app-navigation-entry--editing) .app-navigation-entry-link[data-v-e4d562ae],.app-navigation-entry:not(.app-navigation-entry--editing) .app-navigation-entry-button[data-v-e4d562ae]{padding-inline-end:calc((var(--default-clickable-area) - 16px) / 2)}.app-navigation-entry .app-navigation-entry-link[data-v-e4d562ae],.app-navigation-entry .app-navigation-entry-button[data-v-e4d562ae]{z-index:100;display:flex;overflow:hidden;flex:1 1 0;min-height:var(--default-clickable-area);padding:0;white-space:nowrap;color:var(--color-main-text);font-weight:500;background-repeat:no-repeat;background-position:calc((var(--default-clickable-area) - 16px) / 2) center;background-size:16px 16px;line-height:var(--default-clickable-area)}.app-navigation-entry .app-navigation-entry-link .app-navigation-entry-icon[data-v-e4d562ae],.app-navigation-entry .app-navigation-entry-button .app-navigation-entry-icon[data-v-e4d562ae]{display:flex;align-items:center;flex:0 0 var(--default-clickable-area);justify-content:center;width:var(--default-clickable-area);height:var(--default-clickable-area);background-size:16px 16px;background-repeat:no-repeat;background-position:calc((var(--default-clickable-area) - 16px) / 2) center}.app-navigation-entry .app-navigation-entry-link .app-navigation-entry__name[data-v-e4d562ae],.app-navigation-entry .app-navigation-entry-button .app-navigation-entry__name[data-v-e4d562ae]{overflow:hidden;max-width:100%;white-space:nowrap;text-overflow:ellipsis;font-weight:var(--font-weight-element, normal)}.app-navigation-entry .app-navigation-entry-link .editingContainer[data-v-e4d562ae],.app-navigation-entry .app-navigation-entry-button .editingContainer[data-v-e4d562ae]{width:calc(100% - var(--default-clickable-area));margin:auto}.app-navigation-entry .app-navigation-entry-link[data-v-e4d562ae]:focus-visible,.app-navigation-entry .app-navigation-entry-button[data-v-e4d562ae]:focus-visible{box-shadow:0 0 0 4px var(--color-main-background);outline:2px solid var(--color-main-text);border-radius:var(--border-radius-element)}.app-navigation-entry__children[data-v-e4d562ae]{--app-navigation-item-child-offset: 10px;position:relative;display:flex;flex:0 1 auto;flex-direction:column;width:100%;gap:var(--default-grid-baseline, 4px);padding-inline-start:var(--app-navigation-item-child-offset)}.app-navigation-entry__children .app-navigation-entry[data-v-e4d562ae]{display:inline-flex;flex-wrap:wrap}.app-navigation-entry__children .app-navigation-entry__children .app-navigation-entry__children .app-navigation-entry__children .app-navigation-entry__children .app-navigation-entry__children .app-navigation-entry__children[data-v-e4d562ae]{--app-navigation-item-child-offset: 0}.app-navigation-entry__deleted[data-v-e4d562ae]{display:inline-flex;flex:1 1 0;padding-inline-start:calc(var(--default-clickable-area) - (var(--default-clickable-area) - 16px) / 2)!important}.app-navigation-entry__deleted .app-navigation-entry__deleted-description[data-v-e4d562ae]{position:relative;overflow:hidden;flex:1 1 0;white-space:nowrap;text-overflow:ellipsis;line-height:var(--default-clickable-area)}.app-navigation-entry__utils[data-v-e4d562ae]{display:flex;min-width:var(--default-clickable-area);align-items:center;flex:0 1 auto;justify-content:flex-end}.app-navigation-entry__utils.app-navigation-entry__utils--display-actions .action-item.app-navigation-entry__actions[data-v-e4d562ae]{display:inline-block}.app-navigation-entry__utils .app-navigation-entry__counter-wrapper[data-v-e4d562ae]{margin-inline-end:calc(var(--default-grid-baseline) * 2);display:flex;align-items:center;flex:0 1 auto}.app-navigation-entry__utils .action-item.app-navigation-entry__actions[data-v-e4d562ae]{display:none}.app-navigation-entry--editing .app-navigation-entry-edit[data-v-e4d562ae]{z-index:250;opacity:1}.app-navigation-entry--deleted .app-navigation-entry-deleted[data-v-e4d562ae]{z-index:250;transform:translate(0)}.app-navigation-entry--pinned[data-v-e4d562ae]{order:2;margin-top:auto}.app-navigation-entry--pinned~.app-navigation-entry--pinned[data-v-e4d562ae]{margin-top:0}[data-themes*=highcontrast] .app-navigation-entry[data-v-e4d562ae]:active{background-color:var(--color-primary-element-light-hover)!important}@keyframes nc-nav-stripe-in-e4d562ae{0%{transform:scaleY(0);opacity:0}to{transform:scaleY(1);opacity:1}}.material-design-icon[data-v-a8724c7f]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.app-navigation-input-confirm[data-v-a8724c7f]{flex:1 0 100%;width:100%}.app-navigation-input-confirm form[data-v-a8724c7f]{display:flex}.app-navigation-input-confirm__input[data-v-a8724c7f]{height:34px;flex:1 1 100%;font-size:100%!important;margin:5px!important;margin-inline-start:-8px!important;padding:7px!important}.app-navigation-input-confirm__input[data-v-a8724c7f]:active,.app-navigation-input-confirm__input[data-v-a8724c7f]:focus,.app-navigation-input-confirm__input[data-v-a8724c7f]:hover{outline:none;background-color:var(--color-main-background);color:var(--color-main-text);border-color:var(--color-primary-element)}.app-navigation-input-confirm:not(.app-navigation-input-confirm--legacy) form[data-v-a8724c7f]{align-items:center;gap:5px;padding-inline-end:5px}.app-navigation-input-confirm:not(.app-navigation-input-confirm--legacy) .app-navigation-input-confirm__input[data-v-a8724c7f]{margin-inline-end:0!important}.app-navigation-input-confirm[data-v-a8724c7f]:not(.app-navigation-input-confirm--legacy) .button-vue{width:34px!important;min-width:34px!important;height:34px!important;flex:0 0 34px}.material-design-icon[data-v-6c2daf4e]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}li.action[data-v-6c2daf4e]:hover,li.action.active[data-v-6c2daf4e]{border-radius:6px;padding:0}li.action[data-v-6c2daf4e]:hover{background-color:var(--color-background-hover)}.action--disabled[data-v-6c2daf4e]{pointer-events:none;opacity:.5}.action--disabled[data-v-6c2daf4e]:hover,.action--disabled[data-v-6c2daf4e]:focus{cursor:default;opacity:.5}.action--disabled[data-v-6c2daf4e] *{opacity:1!important}.action-button[data-v-6c2daf4e]{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-6c2daf4e]{cursor:pointer;white-space:nowrap}.action-button__icon[data-v-6c2daf4e]{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-6c2daf4e] .material-design-icon{width:var(--default-clickable-area);height:var(--default-clickable-area);opacity:1}.action-button[data-v-6c2daf4e] .material-design-icon .material-design-icon__svg{vertical-align:middle}.action-button__longtext-wrapper[data-v-6c2daf4e],.action-button__longtext[data-v-6c2daf4e]{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-6c2daf4e]{cursor:pointer;white-space:pre-wrap!important}.action-button__name[data-v-6c2daf4e]{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-6c2daf4e]{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-6c2daf4e],.action-button__pressed-icon[data-v-6c2daf4e]{margin-inline:auto calc((var(--default-clickable-area) - 16px) / 2 * -1)}.action-button[data-v-6c2daf4e] *{cursor:pointer}.material-design-icon[data-v-5f7eed6b]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.action-items[data-v-5f7eed6b]{display:flex;align-items:center;gap:calc((var(--default-clickable-area) - 16px) / 2 / 2)}.action-item[data-v-5f7eed6b]{--open-background-color: var(--color-background-hover, $action-background-hover);position:relative;display:inline-block}.action-item.action-item--primary[data-v-5f7eed6b]{--open-background-color: var(--color-primary-element-hover)}.action-item.action-item--secondary[data-v-5f7eed6b]{--open-background-color: var(--color-primary-element-light-hover)}.action-item.action-item--error[data-v-5f7eed6b]{--open-background-color: var(--color-error-hover)}.action-item.action-item--warning[data-v-5f7eed6b]{--open-background-color: var(--color-warning-hover)}.action-item.action-item--success[data-v-5f7eed6b]{--open-background-color: var(--color-success-hover)}.action-item.action-item--tertiary-no-background[data-v-5f7eed6b]{--open-background-color: transparent}.action-item.action-item--open .action-item__menutoggle[data-v-5f7eed6b]{background-color:var(--open-background-color)}.action-item__menutoggle__icon[data-v-5f7eed6b]{width:20px;height:20px;object-fit:contain}.v-popper--theme-nc-popover-9.v-popper__popper.action-item__popper .v-popper__wrapper{border-radius:var(--border-radius-element)}.v-popper--theme-nc-popover-9.v-popper__popper.action-item__popper .v-popper__wrapper .v-popper__inner{border-radius:var(--border-radius-element);padding:4px;max-height:calc(100vh - var(--header-height));overflow:auto}._material-design-icon_FKPyJ{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}._ncPopover_HjJ88.v-popper--theme-nc-popover-9,._ncPopover_HjJ88.v-popper--theme-nc-popover-9 *{box-sizing:border-box}._ncPopover_HjJ88.v-popper--theme-nc-popover-9 .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_HjJ88.v-popper--theme-nc-popover-9 .resize-observer object{display:block;position:absolute;top:0;left:0;height:100%;width:100%;overflow:hidden;pointer-events:none;z-index:-1}._ncPopover_HjJ88.v-popper--theme-nc-popover-9.v-popper__popper{z-index:100000;top:0;left:0;display:block!important}._ncPopover_HjJ88.v-popper--theme-nc-popover-9.v-popper__popper .v-popper__wrapper{box-shadow:0 1px 10px var(--color-box-shadow);border-radius:var(--border-radius-element)}._ncPopover_HjJ88.v-popper--theme-nc-popover-9.v-popper__popper .v-popper__inner{padding:0;color:var(--color-main-text);border-radius:var(--border-radius-element);overflow:hidden;background:var(--color-main-background)}._ncPopover_HjJ88.v-popper--theme-nc-popover-9.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_HjJ88.v-popper--theme-nc-popover-9.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_HjJ88.v-popper--theme-nc-popover-9.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_HjJ88.v-popper--theme-nc-popover-9.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_HjJ88.v-popper--theme-nc-popover-9.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_HjJ88.v-popper--theme-nc-popover-9.v-popper__popper[aria-hidden=true]{visibility:hidden;transition:opacity var(--animation-quick),visibility var(--animation-quick);opacity:0}._ncPopover_HjJ88.v-popper--theme-nc-popover-9.v-popper__popper[aria-hidden=false]{visibility:visible;transition:opacity var(--animation-quick);opacity:1}.material-design-icon[data-v-cf399190]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.loading-icon[data-v-cf399190]{overflow:hidden}.loading-icon svg[data-v-cf399190]{animation:rotate var(--animation-duration, .8s) linear infinite}.material-design-icon[data-v-191b6717]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.app-navigation-search[data-v-191b6717]{display:flex;gap:var(--app-navigation-padding);padding:var(--app-navigation-padding)}.app-navigation-search__input[data-v-191b6717]{--input-padding-end: calc(var(--default-clickable-area) - var(--default-grid-baseline))}.app-navigation-search--has-actions .app-navigation-search__input[data-v-191b6717]{flex-grow:1;z-index:3}.app-navigation-search__actions[data-v-191b6717]{display:flex;gap:var(--default-grid-baseline);margin-inline-start:0;max-width:calc(2 * var(--default-clickable-area) + var(--default-grid-baseline));max-height:var(--default-clickable-area);transition:margin-inline-start var(--animation-quick)}.app-navigation-search__actions--hidden[data-v-191b6717]{margin-inline-start:calc(-1 * var(--default-clickable-area))}.material-design-icon[data-v-8e16cbb5]{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-8e16cbb5]{--input-border-color: var(--color-border-maxcontrast);--input-border-radius: var(--border-radius-element);--input-padding-start: var(--border-radius-element);--input-padding-end: var(--border-radius-element);position:relative;width:100%;margin-block-start:6px}.input-field--disabled[data-v-8e16cbb5]{opacity:.4;filter:saturate(.4)}.input-field--label-outside[data-v-8e16cbb5]{margin-block-start:0}.input-field--leading-icon[data-v-8e16cbb5]{--input-padding-start: calc(var(--default-clickable-area) - var(--default-grid-baseline))}.input-field--trailing-icon[data-v-8e16cbb5]{--input-padding-end: calc(var(--default-clickable-area) - var(--default-grid-baseline))}.input-field--pill[data-v-8e16cbb5]{--input-border-radius: var(--border-radius-pill)}.input-field__main-wrapper[data-v-8e16cbb5]{height:var(--default-clickable-area);padding:var(--border-width-input-focused, 2px);position:relative}.input-field__input[data-v-8e16cbb5]{--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-8e16cbb5]: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-8e16cbb5]{--input-border-box-shadow: var(--input-border-box-shadow-dark)}}[data-theme-dark] .input-field__input[data-v-8e16cbb5]{--input-border-box-shadow: var(--input-border-box-shadow-dark)}[data-theme-light] .input-field__input[data-v-8e16cbb5]{--input-border-box-shadow: var(--input-border-box-shadow-light)}.input-field--legacy .input-field__input[data-v-8e16cbb5]{box-shadow:0 0 0 1px var(--input-border-color)}.input-field--legacy .input-field__input[data-v-8e16cbb5]:hover:not([disabled]){box-shadow:0 0 0 2px var(--input-border-color)}.input-field__input[data-v-8e16cbb5]:focus-within:not([disabled]),.input-field__input[data-v-8e16cbb5]: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-8e16cbb5]{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-8e16cbb5]::placeholder{color:var(--color-text-maxcontrast)}.input-field__input[data-v-8e16cbb5]::-webkit-search-cancel-button{display:none}.input-field__input[data-v-8e16cbb5]::-webkit-search-decoration,.input-field__input[data-v-8e16cbb5]::-webkit-search-results-button,.input-field__input[data-v-8e16cbb5]::-webkit-search-results-decoration,.input-field__input[data-v-8e16cbb5]::-ms-clear{display:none}.input-field__input[data-v-8e16cbb5]:active:not([disabled]),.input-field__input[data-v-8e16cbb5]:focus:not([disabled]){--input-border-color: var(--color-main-text)}.input-field__input:focus+.input-field__label[data-v-8e16cbb5],.input-field__input:hover:not(:placeholder-shown)+.input-field__label[data-v-8e16cbb5]{color:var(--color-main-text)}.input-field__input[data-v-8e16cbb5]:focus{cursor:text}.input-field__input[data-v-8e16cbb5]:disabled{cursor:default}.input-field__input[data-v-8e16cbb5]:focus-visible{box-shadow:unset!important}.input-field:not(.input-field--label-outside) .input-field__input[data-v-8e16cbb5]:not(:focus)::placeholder{opacity:0}.input-field__label[data-v-8e16cbb5]{--input-label-font-size: var(--default-font-size);font-size:var(--input-label-font-size);position:absolute;margin-inline:var(--input-padding-start) var(--input-padding-end);max-width:fit-content;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-8e16cbb5],.input-field__input:not(:placeholder-shown)+.input-field__label[data-v-8e16cbb5]{--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-8e16cbb5]{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-8e16cbb5]{inset-inline-start:0px}.input-field__icon--trailing[data-v-8e16cbb5]{inset-inline-end:0px}.input-field__trailing-button[data-v-8e16cbb5]{--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-8e16cbb5]{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-8e16cbb5]:focus-visible{box-shadow:none!important}.input-field__helper-text-message[data-v-8e16cbb5]{padding-block:4px;padding-inline:var(--border-radius-element);display:flex;align-items:center;color:var(--color-text-maxcontrast);overflow-wrap:anywhere}.input-field__helper-text-message__icon[data-v-8e16cbb5]{margin-inline-end:8px}.input-field--error .input-field__helper-text-message[data-v-8e16cbb5],.input-field--error .input-field__icon--trailing[data-v-8e16cbb5]{color:var(--color-text-error, var(--color-error))}.input-field--error .input-field__input[data-v-8e16cbb5],.input-field__input[data-v-8e16cbb5]:user-invalid{--input-border-color: var(--color-border-error, var(--color-error)) !important}.input-field--error .input-field__input[data-v-8e16cbb5]:focus-visible,.input-field__input[data-v-8e16cbb5]: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-8e16cbb5]{--input-border-color: var(--color-border-success, var(--color-success)) !important}.input-field--success .input-field__input[data-v-8e16cbb5]: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__helper-text-message__icon[data-v-8e16cbb5]{color:var(--color-border-success, var(--color-success))}#skip-actions.vue-skip-actions:focus-within{top:0!important;inset-inline-start:0!important;width:100vw;height:100vh;padding:var(--body-container-margin)!important;-webkit-backdrop-filter:brightness(50%);backdrop-filter:brightness(50%)}@media only screen and (min-width:1024px){.content:not(.content--legacy) .app-navigation:not(.app-navigation--closed):not(.app-navigation--close)~.app-content{border-inline-start:1px solid var(--color-border);border-start-start-radius:var(--body-container-radius);border-end-start-radius:var(--body-container-radius)}}.material-design-icon[data-v-91d07631]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.vue-skip-actions__container[data-v-91d07631]{background-color:var(--color-main-background);border-radius:var(--border-radius-element);padding:22px}.vue-skip-actions__headline[data-v-91d07631]{font-weight:var(--font-weight-heading, bold);font-size:20px;line-height:30px;margin-bottom:12px}.vue-skip-actions__buttons[data-v-91d07631]{display:flex;flex-wrap:wrap;gap:12px}.vue-skip-actions__buttons[data-v-91d07631]>*{flex:1 0 fit-content}.vue-skip-actions__image[data-v-91d07631]{margin-top:12px}.vue-skip-actions__image[data-v-91d07631]:dir(rtl){transform:rotateY(180deg)}.content[data-v-91d07631]{display:flex;width:calc(100% - var(--body-container-margin) * 2);border-radius:var(--body-container-radius);height:var(--body-height);overflow:hidden;padding:0}.content[data-v-91d07631]:not(.content--legacy){background-color:var(--color-main-background-blur, var(--color-main-background));backdrop-filter:var(--filter-background-blur, none);-webkit-backdrop-filter:var(--filter-background-blur, none)}.content[data-v-91d07631]:not(.with-sidebar--full){position:fixed}.content[data-v-91d07631],.content[data-v-91d07631] *{box-sizing:border-box}.material-design-icon{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}@media only screen and (max-width:512px){.dialog__modal .modal-wrapper--small .modal-container{width:fit-content;height:unset;max-height:90%;position:relative;top:unset;border-radius:var(--border-radius-element)}}.material-design-icon[data-v-24e91b99]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.dialog[data-v-24e91b99]{height:100%;width:100%;display:flex;flex-direction:column;justify-content:space-between;overflow:hidden}.dialog__modal[data-v-24e91b99] .modal-wrapper .modal-container{display:flex!important;padding-block:4px 0;padding-inline:12px 0}.dialog__modal[data-v-24e91b99] .modal-wrapper .modal-container__content{display:flex;flex-direction:column;overflow:hidden}.dialog__wrapper[data-v-24e91b99]{display:flex;flex-direction:row;flex:1;min-height:0;overflow:hidden}.dialog__wrapper--collapsed[data-v-24e91b99]{flex-direction:column}.dialog__navigation[data-v-24e91b99]{display:flex;flex-shrink:0}.dialog__wrapper:not(.dialog__wrapper--collapsed) .dialog__navigation[data-v-24e91b99]{flex-direction:column;overflow:hidden auto;height:100%;min-width:200px;margin-inline-end:20px}.dialog__wrapper.dialog__wrapper--collapsed .dialog__navigation[data-v-24e91b99]{flex-direction:row;justify-content:space-between;overflow:auto hidden;width:100%;min-width:100%}.dialog__name[data-v-24e91b99]{font-size:21px;text-align:center;height:fit-content;min-height:var(--default-clickable-area);line-height:var(--default-clickable-area);overflow-wrap:break-word;margin-block:0 12px}.dialog__content[data-v-24e91b99]{flex:1;min-height:0;overflow:auto;padding-inline-end:12px}.dialog__text[data-v-24e91b99]{padding-block-end:6px}.dialog__actions[data-v-24e91b99]{display:flex;gap:6px;align-content:center;justify-content:end;width:100%;max-width:100%;padding-inline:0 12px;margin-inline:0;margin-block:0}.dialog__actions[data-v-24e91b99]:not(:empty){margin-block:6px 12px}@media only screen and (max-width:512px){.dialog__name[data-v-24e91b99]{text-align:start;margin-inline-end:var(--default-clickable-area)}}.material-design-icon[data-v-3c357e2d]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.modal-mask[data-v-3c357e2d]{position:fixed;z-index:9998;top:0;inset-inline-start:0;display:block;width:100%;height:100%;--backdrop-color: 0, 0, 0;background-color:rgba(var(--backdrop-color),.5)}.modal-mask[data-v-3c357e2d],.modal-mask[data-v-3c357e2d] *{box-sizing:border-box}.modal-mask--opaque[data-v-3c357e2d]{background-color:rgba(var(--backdrop-color),.92)}.modal-mask--light[data-v-3c357e2d]{--backdrop-color: 255, 255, 255}.modal-header[data-v-3c357e2d]{position:absolute;z-index:10001;top:0;inset-inline:0 0;display:flex!important;align-items:center;justify-content:space-between;width:100%;height:var(--header-height);overflow:hidden;transition:opacity .25s,visibility .25s}.modal-header__name[data-v-3c357e2d]{overflow-x:hidden;width:100%;padding-inline:12px 0;transition:padding ease .1s;white-space:nowrap;text-overflow:ellipsis;font-size:16px;margin-block:0}@media only screen and (min-width:1024px){.modal-header__name[data-v-3c357e2d]{padding-inline-start:calc(var(--header-height) * var(--046d2bb2));text-align:center}}.modal-header .icons-menu[data-v-3c357e2d]{display:flex;align-items:center;justify-content:flex-end;align-self:flex-end}.modal-header .icons-menu .header-close[data-v-3c357e2d]{display:flex;align-items:center;justify-content:center;margin:calc((var(--header-height) - var(--default-clickable-area)) / 2);padding:0}.modal-header .icons-menu .play-pause-icons[data-v-3c357e2d]{position:relative;width:var(--header-height);height:var(--header-height);margin:0;padding:0;cursor:pointer;border:none;background-color:transparent}.modal-header .icons-menu .play-pause-icons:hover .play-pause-icons__icon[data-v-3c357e2d],.modal-header .icons-menu .play-pause-icons:focus .play-pause-icons__icon[data-v-3c357e2d]{opacity:1;border-radius:calc(var(--default-clickable-area) / 2);background-color:#7f7f7f40}.modal-header .icons-menu .play-pause-icons__icon[data-v-3c357e2d]{width:var(--default-clickable-area);height:var(--default-clickable-area);margin:calc((var(--header-height) - var(--default-clickable-area)) / 2);cursor:pointer;opacity:.7}.modal-header .icons-menu[data-v-3c357e2d] .action-item{margin:calc((var(--header-height) - var(--default-clickable-area)) / 2)}.modal-header .icons-menu[data-v-3c357e2d] .action-item--single{width:var(--default-clickable-area);height:var(--default-clickable-area);cursor:pointer;background-position:center;background-size:22px}.modal-header .icons-menu .header-actions[data-v-3c357e2d] button:focus-visible{box-shadow:none!important;outline:2px solid #fff!important}.modal-wrapper[data-v-3c357e2d]{display:flex;align-items:center;justify-content:center;width:100%;height:100%}.modal-wrapper .prev[data-v-3c357e2d],.modal-wrapper .next[data-v-3c357e2d]{z-index:10000;height:35vh;min-height:300px;position:absolute;transition:opacity .25s;color:#fff}.modal-wrapper .prev[data-v-3c357e2d]:focus-visible,.modal-wrapper .next[data-v-3c357e2d]:focus-visible{box-shadow:0 0 0 2px var(--color-primary-element-text);background-color:var(--color-box-shadow)}.modal-wrapper .prev[data-v-3c357e2d]{inset-inline-start:2px}.modal-wrapper .next[data-v-3c357e2d]{inset-inline-end:2px}.modal-wrapper .modal-container[data-v-3c357e2d]{position:relative;display:flex;padding:0;transition:transform .3s ease;border-radius:var(--border-radius-container);background-color:var(--color-main-background);color:var(--color-main-text);box-shadow:0 0 40px #0003;overflow:auto}.modal-wrapper .modal-container__close[data-v-3c357e2d]{z-index:1;position:absolute;top:4px;inset-inline-end:var(--default-grid-baseline)}.modal-wrapper .modal-container__content[data-v-3c357e2d]{width:100%;min-height:52px;overflow:auto}.modal-wrapper--small>.modal-container[data-v-3c357e2d]{width:400px;max-width:90%;max-height:min(90%,100% - 2 * var(--header-height) - 2 * var(--body-container-margin))}.modal-wrapper--normal>.modal-container[data-v-3c357e2d]{max-width:90%;width:600px;max-height:min(90%,100% - 2 * var(--header-height) - 2 * var(--body-container-margin))}.modal-wrapper--large>.modal-container[data-v-3c357e2d]{max-width:90%;width:900px;max-height:min(90%,100% - 2 * var(--header-height) - 2 * var(--body-container-margin))}.modal-wrapper--full>.modal-container[data-v-3c357e2d]{width:100%;height:calc(100% - var(--header-height));position:absolute;top:var(--header-height);border-radius:0}@media only screen and ((max-width:512px)or (max-height:400px)){.modal-wrapper .modal-container[data-v-3c357e2d]{max-width:initial;width:100%;max-height:initial;height:calc(100% - var(--header-height));position:absolute;top:var(--header-height);border-radius:0}}.fade-enter-active[data-v-3c357e2d],.fade-leave-active[data-v-3c357e2d]{transition:opacity .25s}.fade-enter-from[data-v-3c357e2d],.fade-leave-to[data-v-3c357e2d]{opacity:0}.fade-visibility-enter-from[data-v-3c357e2d],.fade-visibility-leave-to[data-v-3c357e2d]{visibility:hidden;opacity:0}.modal-in-enter-active[data-v-3c357e2d],.modal-in-leave-active[data-v-3c357e2d],.modal-out-enter-active[data-v-3c357e2d],.modal-out-leave-active[data-v-3c357e2d]{transition:opacity .25s}.modal-in-enter-from[data-v-3c357e2d],.modal-in-leave-to[data-v-3c357e2d],.modal-out-enter-from[data-v-3c357e2d],.modal-out-leave-to[data-v-3c357e2d]{opacity:0}.modal-in-enter .modal-container[data-v-3c357e2d],.modal-in-leave-to .modal-container[data-v-3c357e2d]{transform:scale(.9)}.modal-out-enter .modal-container[data-v-3c357e2d],.modal-out-leave-to .modal-container[data-v-3c357e2d]{transform:scale(1.1)}.modal-mask .play-pause-icons .progress-ring[data-v-3c357e2d]{position:absolute;top:0;inset-inline-start:0;transform:rotate(-90deg)}.modal-mask .play-pause-icons .progress-ring .progress-ring__circle[data-v-3c357e2d]{transition:.1s stroke-dashoffset;transform-origin:50% 50%;animation:progressring-3c357e2d linear var(--71f7c020) infinite;stroke-linecap:round;stroke-dashoffset:94.2477796077;stroke-dasharray:94.2477796077}.modal-mask .play-pause-icons--paused .play-pause-icons__icon[data-v-3c357e2d]{animation:breath-3c357e2d 2s cubic-bezier(.4,0,.2,1) infinite}.modal-mask .play-pause-icons--paused .progress-ring__circle[data-v-3c357e2d]{animation-play-state:paused!important}@keyframes progressring-3c357e2d{0%{stroke-dashoffset:94.2477796077}to{stroke-dashoffset:0}}@keyframes breath-3c357e2d{0%{opacity:1}50%{opacity:0}to{opacity:1}}.material-design-icon[data-v-8609a4c1]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.empty-content[data-v-8609a4c1]{display:flex;align-items:center;flex-direction:column;justify-content:center;flex-grow:1;padding:var(--default-grid-baseline)}.modal-wrapper .empty-content[data-v-8609a4c1]{margin-top:5vh;margin-bottom:5vh}.empty-content__icon[data-v-8609a4c1]{display:flex;align-items:center;justify-content:center;width:64px;height:64px;margin:0 auto 15px;opacity:.4;background-repeat:no-repeat;background-position:center;background-size:64px}.empty-content__icon[data-v-8609a4c1] svg{width:64px!important;height:64px!important;max-width:64px!important;max-height:64px!important}.empty-content__name[data-v-8609a4c1]{margin-bottom:10px;text-align:center;font-weight:var(--font-weight-heading, bold);font-size:20px;line-height:30px}.empty-content__description[data-v-8609a4c1]{color:var(--color-text-maxcontrast);text-align:center;text-wrap-style:balance}.empty-content__action[data-v-8609a4c1]{margin-top:8px}.modal-wrapper .empty-content__action[data-v-8609a4c1]{margin-top:20px;display:flex}.material-design-icon[data-v-7e90555e]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.list-item__wrapper[data-v-7e90555e]{display:flex;position:relative;width:100%;padding:2px 4px}.list-item__wrapper[data-v-7e90555e]:first-of-type{padding-block-start:4px}.list-item__wrapper[data-v-7e90555e]:last-of-type{padding-block-end:4px}.list-item__wrapper:not(.list-item__wrapper--legacy):not(.list-item__wrapper--active):not(.active) .list-item[data-v-7e90555e]:hover,.list-item__wrapper:not(.list-item__wrapper--legacy):not(.list-item__wrapper--active):not(.active) .list-item[data-v-7e90555e]:focus-within,.list-item__wrapper:not(.list-item__wrapper--legacy):not(.list-item__wrapper--active):not(.active) .list-item[data-v-7e90555e]:has(:active),.list-item__wrapper:not(.list-item__wrapper--legacy):not(.list-item__wrapper--active):not(.active) .list-item[data-v-7e90555e]:has(:focus-visible){background-color:color-mix(in srgb,var(--color-primary-element) 8%,transparent)}.list-item__wrapper--active:not(.list-item__wrapper--legacy) .list-item[data-v-7e90555e],.list-item__wrapper.active:not(.list-item__wrapper--legacy) .list-item[data-v-7e90555e]{background-color:var(--color-primary-element-light);color:var(--color-main-text)!important}.list-item__wrapper--active:not(.list-item__wrapper--legacy) .list-item[data-v-7e90555e]:hover,.list-item__wrapper--active:not(.list-item__wrapper--legacy) .list-item[data-v-7e90555e]:focus-within,.list-item__wrapper--active:not(.list-item__wrapper--legacy) .list-item[data-v-7e90555e]:has(:focus-visible),.list-item__wrapper--active:not(.list-item__wrapper--legacy) .list-item[data-v-7e90555e]:has(:active),.list-item__wrapper.active:not(.list-item__wrapper--legacy) .list-item[data-v-7e90555e]:hover,.list-item__wrapper.active:not(.list-item__wrapper--legacy) .list-item[data-v-7e90555e]:focus-within,.list-item__wrapper.active:not(.list-item__wrapper--legacy) .list-item[data-v-7e90555e]:has(:focus-visible),.list-item__wrapper.active:not(.list-item__wrapper--legacy) .list-item[data-v-7e90555e]:has(:active){background-color:var(--color-primary-element-light-hover)}.list-item__wrapper--active:not(.list-item__wrapper--legacy) .list-item[data-v-7e90555e]:before,.list-item__wrapper.active:not(.list-item__wrapper--legacy) .list-item[data-v-7e90555e]:before{content:"";position:absolute;inset-block:calc(var(--default-grid-baseline, 4px) * 2);inset-inline-start:0;width:3px;background-color:var(--color-primary-element);border-radius:999px;animation:nc-nav-stripe-in-7e90555e var(--animation-quick, .2s) ease-out}.list-item__wrapper--active:not(.list-item__wrapper--legacy) .list-item-content__name[data-v-7e90555e],.list-item__wrapper--active:not(.list-item__wrapper--legacy) .list-item-content__subname[data-v-7e90555e],.list-item__wrapper--active:not(.list-item__wrapper--legacy) .list-item-content__details[data-v-7e90555e],.list-item__wrapper--active:not(.list-item__wrapper--legacy) .list-item-details__details[data-v-7e90555e],.list-item__wrapper.active:not(.list-item__wrapper--legacy) .list-item-content__name[data-v-7e90555e],.list-item__wrapper.active:not(.list-item__wrapper--legacy) .list-item-content__subname[data-v-7e90555e],.list-item__wrapper.active:not(.list-item__wrapper--legacy) .list-item-content__details[data-v-7e90555e],.list-item__wrapper.active:not(.list-item__wrapper--legacy) .list-item-details__details[data-v-7e90555e]{color:var(--color-main-text)!important}.list-item__wrapper--active.list-item__wrapper--legacy .list-item[data-v-7e90555e],.list-item__wrapper.active.list-item__wrapper--legacy .list-item[data-v-7e90555e]{background-color:var(--color-primary-element);color:var(--color-primary-element-text)!important}.list-item__wrapper--active.list-item__wrapper--legacy .list-item[data-v-7e90555e]:hover,.list-item__wrapper--active.list-item__wrapper--legacy .list-item[data-v-7e90555e]:focus-within,.list-item__wrapper--active.list-item__wrapper--legacy .list-item[data-v-7e90555e]:has(:focus-visible),.list-item__wrapper--active.list-item__wrapper--legacy .list-item[data-v-7e90555e]:has(:active),.list-item__wrapper.active.list-item__wrapper--legacy .list-item[data-v-7e90555e]:hover,.list-item__wrapper.active.list-item__wrapper--legacy .list-item[data-v-7e90555e]:focus-within,.list-item__wrapper.active.list-item__wrapper--legacy .list-item[data-v-7e90555e]:has(:focus-visible),.list-item__wrapper.active.list-item__wrapper--legacy .list-item[data-v-7e90555e]:has(:active){background-color:var(--color-primary-element-hover)}.list-item__wrapper--active.list-item__wrapper--legacy .list-item-content__name[data-v-7e90555e],.list-item__wrapper--active.list-item__wrapper--legacy .list-item-content__subname[data-v-7e90555e],.list-item__wrapper--active.list-item__wrapper--legacy .list-item-content__details[data-v-7e90555e],.list-item__wrapper--active.list-item__wrapper--legacy .list-item-details__details[data-v-7e90555e],.list-item__wrapper.active.list-item__wrapper--legacy .list-item-content__name[data-v-7e90555e],.list-item__wrapper.active.list-item__wrapper--legacy .list-item-content__subname[data-v-7e90555e],.list-item__wrapper.active.list-item__wrapper--legacy .list-item-content__details[data-v-7e90555e],.list-item__wrapper.active.list-item__wrapper--legacy .list-item-details__details[data-v-7e90555e]{color:var(--color-primary-element-text)!important}@keyframes nc-nav-stripe-in-7e90555e{0%{transform:scaleY(0);opacity:0}to{transform:scaleY(1);opacity:1}}.list-item__wrapper .list-item-content__name[data-v-7e90555e],.list-item__wrapper .list-item-content__subname[data-v-7e90555e],.list-item__wrapper .list-item-content__details[data-v-7e90555e],.list-item__wrapper .list-item-details__details[data-v-7e90555e]{white-space:nowrap;margin-block:0;margin-inline:0 auto;overflow:hidden;text-overflow:ellipsis}.list-item-content__name[data-v-7e90555e]{min-width:100px;flex:1 1 10%;font-weight:var(--font-weight-element, 500)}.list-item-content__subname[data-v-7e90555e]{flex:1 0;min-width:0;color:var(--color-text-maxcontrast)}.list-item-content__subname--bold[data-v-7e90555e]{font-weight:var(--font-weight-element, 500)}.list-item[data-v-7e90555e]{--list-item-padding: var(--default-grid-baseline);--list-item-height: 2lh;--list-item-border-radius: var(--border-radius-element, 32px);box-sizing:border-box;display:flex;position:relative;flex:0 0 auto;justify-content:flex-start;padding:var(--list-item-padding);width:100%;border-radius:var(--border-radius-element, 32px);cursor:pointer;transition:background-color var(--animation-quick) ease-in-out;list-style:none}.list-item[data-v-7e90555e]:hover,.list-item[data-v-7e90555e]:focus-within,.list-item[data-v-7e90555e]:has(:active),.list-item[data-v-7e90555e]:has(:focus-visible){background-color:var(--color-background-hover)}.list-item[data-v-7e90555e]:has(.list-item__anchor:focus-visible){outline:2px solid var(--color-main-text);box-shadow:0 0 0 4px var(--color-main-background)}.list-item--compact[data-v-7e90555e]{--list-item-padding: calc(.5 * var(--default-grid-baseline)) var(--default-grid-baseline)}.list-item--compact[data-v-7e90555e]:not(:has(.list-item-content__subname)){--list-item-height: var(--default-clickable-area)}.list-item--one-line[data-v-7e90555e]{--list-item-height: var(--default-clickable-area);--list-item-border-radius: var(--border-radius-element, calc(var(--default-clickable-area) / 2));--list-item-padding: var(--default-grid-baseline)}.list-item--one-line .list-item-content__main[data-v-7e90555e]{display:flex;justify-content:start;gap:12px;min-width:0}.list-item--one-line .list-item-content__details[data-v-7e90555e]{flex-direction:row;align-items:center;justify-content:end}.list-item--one-line .list-item-content__name[data-v-7e90555e]{align-self:center;max-width:300px}.list-item__anchor[data-v-7e90555e]{color:inherit;display:flex;flex:1 0 auto;align-items:center;height:var(--list-item-height);min-width:0}.list-item__anchor[data-v-7e90555e]:focus-visible{outline:none}.list-item-content[data-v-7e90555e]{display:flex;flex:1 0;justify-content:space-between;padding-inline-start:calc(2 * var(--default-grid-baseline));min-width:0}.list-item-content__main[data-v-7e90555e]{flex:1 0;width:0;margin:auto 0}.list-item-content__main--oneline[data-v-7e90555e]{display:flex}.list-item-content__details[data-v-7e90555e]{display:flex;flex-direction:column;justify-content:end;align-items:end}.list-item-content__actions[data-v-7e90555e],.list-item-content__extra-actions[data-v-7e90555e]{flex:0 0 auto;align-self:center;justify-content:center;margin-inline-start:var(--default-grid-baseline)}.list-item-content__extra-actions[data-v-7e90555e]{display:flex;align-items:center;gap:var(--default-grid-baseline)}.list-item-details__details[data-v-7e90555e]{color:var(--color-text-maxcontrast);margin:0 9px!important;font-weight:var(--font-weight-default, normal)}.list-item-details__extra[data-v-7e90555e]{margin:2px 4px 0;display:flex;align-items:center}.list-item-details__indicator[data-v-7e90555e]{margin:0 5px}.list-item__extra[data-v-7e90555e]{margin-top:var(--default-grid-baseline)}.material-design-icon[data-v-36ffc13f]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.counter-bubble__counter[data-v-36ffc13f]{--counter-bubble-height: 22px;font-size:var(--font-size-small, 13px);overflow:hidden;width:fit-content;min-width:var(--counter-bubble-height);text-align:center;line-height:var(--counter-bubble-height);padding:0 calc(1.5 * var(--default-grid-baseline));border-radius:.5lh;background-color:var(--color-primary-element-light);font-weight:700;color:var(--color-primary-element-light-text)}.counter-bubble__counter .active[data-v-36ffc13f]{color:var(--color-main-background);background-color:var(--color-primary-element-light)}.counter-bubble__counter--highlighted[data-v-36ffc13f]{color:var(--color-primary-element-text);background-color:var(--color-primary-element)}.counter-bubble__counter--highlighted.active[data-v-36ffc13f]{color:var(--color-primary-element);background-color:var(--color-main-background)}.counter-bubble__counter--outlined[data-v-36ffc13f]{color:var(--color-primary-element);background:transparent;box-shadow:inset 0 0 0 2px}.counter-bubble__counter--outlined.active[data-v-36ffc13f]{color:var(--color-main-background);box-shadow:inset 0 0 0 2px}.file-card[data-v-945915af]{display:flex;flex-direction:column;width:100%;aspect-ratio:2 / 3;border:2px solid var(--color-border)!important;border-radius:var(--border-radius-element);padding:calc(var(--default-grid-baseline) * 2);cursor:pointer;box-sizing:border-box;background:none;text-align:start;transition:border-color var(--animation-quick) ease}.file-card[data-v-945915af]:focus-visible{border-color:var(--color-primary-element)!important}.file-card__preview[data-v-945915af]{flex:1;min-height:0;display:flex;border-radius:4px;overflow:hidden;margin-bottom:calc(var(--default-grid-baseline) * 1)}.file-card__content[data-v-945915af]{flex-shrink:0;display:flex;align-items:center;overflow:hidden}.file-card__icon[data-v-945915af]{display:flex;flex-shrink:0}.file-card__text[data-v-945915af]{min-width:0}.file-card__name[data-v-945915af]{color:var(--color-main-text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.file-card__subname[data-v-945915af]{font-size:.85em;color:var(--color-text-maxcontrast);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.file-preview[data-v-52ee489a]{display:flex;width:100%;height:100%}.file-preview__image[data-v-52ee489a]{width:100%;height:100%;object-fit:cover}.file-preview__fallback[data-v-52ee489a]{margin:auto;color:var(--color-text-maxcontrast)}.template-section[data-v-e970ce47]{padding:calc(var(--default-grid-baseline) * 4) 0;margin:calc(var(--default-grid-baseline) * 4) calc(var(--default-grid-baseline) * 4) 0;background:radial-gradient(78% 82% at 14% 2%,color-mix(in srgb,var(--tpl-glow-1) 28%,transparent),transparent 66%),radial-gradient(72% 76% at 102% -2%,color-mix(in srgb,var(--tpl-glow-2) 24%,transparent),transparent 64%),radial-gradient(82% 88% at 20% 114%,color-mix(in srgb,var(--tpl-glow-3) 22%,transparent),transparent 68%),radial-gradient(88% 94% at 98% 104%,color-mix(in srgb,var(--tpl-glow-4) 26%,transparent),transparent 70%),color-mix(in srgb,var(--tpl-glow-2) 8%,var(--color-main-background));border-radius:var(--border-radius-large)}.template-section__header[data-v-e970ce47]{display:flex;align-items:center;justify-content:space-between;gap:calc(var(--default-grid-baseline) * 2);margin-bottom:calc(var(--default-grid-baseline) * 2);padding-inline:calc(var(--default-grid-baseline) * 4)}.template-section__heading[data-v-e970ce47]{margin:0!important;font-size:24px;font-weight:600;color:var(--color-main-text)}.template-section__nav[data-v-e970ce47]{display:flex;align-items:center;gap:calc(var(--default-grid-baseline) * 1)}.template-section__list{&[data-v-e970ce47]{display:flex;gap:calc(var(--default-grid-baseline) * 3);list-style:none;padding:calc(var(--default-grid-baseline) * 1) 0 0;margin:0;overflow-x:auto;scrollbar-width:none}&[data-v-e970ce47]::-webkit-scrollbar{display:none}}.template-section__item[data-v-e970ce47]{flex:0 0 auto}.template-section__item[data-v-e970ce47]:first-child{margin-inline-start:calc(var(--default-grid-baseline) * 4)}.template-section__item[data-v-e970ce47]:last-child{margin-inline-end:calc(var(--default-grid-baseline) * 4)}.template-card{&[data-v-e970ce47]{display:flex;flex-direction:column;align-items:center;padding:0;border:none;background:none;cursor:pointer;border-radius:var(--border-radius-large)}&[data-v-e970ce47]:hover,&[data-v-e970ce47]:focus-visible{background:none}&:hover .template-card__preview[data-v-e970ce47],&:focus-visible .template-card__preview[data-v-e970ce47]{box-shadow:0 0 0 2px var(--color-primary-element),0 4px 6px #00000047}}.template-card__preview[data-v-e970ce47]{position:relative;width:100%;height:var(--tpl-preview-height);overflow:hidden;border-radius:var(--border-radius-large);background-color:var(--color-main-background);box-sizing:border-box;display:flex;align-items:center;justify-content:center;box-shadow:0 4px 8px #0003;transition:box-shadow var(--animation-quick) ease}.template-card__image[data-v-e970ce47]{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.template-card__name[data-v-e970ce47]{margin-top:calc(var(--default-grid-baseline) * 2);font-size:var(--font-size-small, 13px);color:var(--color-main-text);text-align:center;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.office-overview__grid[data-v-f0f929a6]{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:calc(var(--default-grid-baseline) * 3);padding:calc(var(--default-grid-baseline) * 4)}.office-overview__content[data-v-f0f929a6]{padding-top:var(--default-clickable-area)}[data-v-f0f929a6] .app-navigation-search .input-field__input:placeholder-shown~.input-field__trailing-button{display:none}.office-overview__loading[data-v-f0f929a6]{margin:32px auto}.office-overview__files-header[data-v-f0f929a6]{display:flex;align-items:center;justify-content:space-between;padding:calc(var(--default-grid-baseline) * 4) calc(var(--default-grid-baseline) * 4) calc(var(--default-grid-baseline) * 2)}.office-overview__files-title[data-v-f0f929a6]{margin:0;font-size:24px;font-weight:600;color:var(--color-main-text)}.office-overview__controls[data-v-f0f929a6]{display:flex;align-items:center;justify-content:space-between;gap:calc(var(--default-grid-baseline) * 2);padding:0 calc(var(--default-grid-baseline) * 4) calc(var(--default-grid-baseline) * 2)}.office-overview__filters{&[data-v-f0f929a6]{display:flex;gap:calc(var(--default-grid-baseline) * 1)}[data-v-f0f929a6] .button-vue{--button-radius: var(--border-radius-pill, 100px)}}.office-overview__list[data-v-f0f929a6]{padding:0 calc(var(--default-grid-baseline) * 2)}.office-overview__more[data-v-f0f929a6]{display:flex;justify-content:center;padding:calc(var(--default-grid-baseline) * 3) calc(var(--default-grid-baseline) * 4)}.office-overview__list-thumb[data-v-f0f929a6]{width:var(--default-clickable-area);height:var(--default-clickable-area);border-radius:var(--border-radius);background-color:var(--color-background-dark);flex-shrink:0}.office-overview__favourite-icon[data-v-f0f929a6]{color:var(--color-favorite)}.office-overview__create-form[data-v-f0f929a6]{min-height:calc(2 * var(--default-clickable-area))}.office-overview__nav-icon{&[data-v-f0f929a6]{display:flex;width:20px;height:20px}[data-v-f0f929a6] svg{width:100%;height:100%}}.sr-only[data-v-f0f929a6]{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0} + */.input-field[data-v-8e16cbb5]{--input-border-color: var(--color-border-maxcontrast);--input-border-radius: var(--border-radius-element);--input-padding-start: var(--border-radius-element);--input-padding-end: var(--border-radius-element);position:relative;width:100%;margin-block-start:6px}.input-field--disabled[data-v-8e16cbb5]{opacity:.4;filter:saturate(.4)}.input-field--label-outside[data-v-8e16cbb5]{margin-block-start:0}.input-field--leading-icon[data-v-8e16cbb5]{--input-padding-start: calc(var(--default-clickable-area) - var(--default-grid-baseline))}.input-field--trailing-icon[data-v-8e16cbb5]{--input-padding-end: calc(var(--default-clickable-area) - var(--default-grid-baseline))}.input-field--pill[data-v-8e16cbb5]{--input-border-radius: var(--border-radius-pill)}.input-field__main-wrapper[data-v-8e16cbb5]{height:var(--default-clickable-area);padding:var(--border-width-input-focused, 2px);position:relative}.input-field__input[data-v-8e16cbb5]{--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-8e16cbb5]: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-8e16cbb5]{--input-border-box-shadow: var(--input-border-box-shadow-dark)}}[data-theme-dark] .input-field__input[data-v-8e16cbb5]{--input-border-box-shadow: var(--input-border-box-shadow-dark)}[data-theme-light] .input-field__input[data-v-8e16cbb5]{--input-border-box-shadow: var(--input-border-box-shadow-light)}.input-field--legacy .input-field__input[data-v-8e16cbb5]{box-shadow:0 0 0 1px var(--input-border-color)}.input-field--legacy .input-field__input[data-v-8e16cbb5]:hover:not([disabled]){box-shadow:0 0 0 2px var(--input-border-color)}.input-field__input[data-v-8e16cbb5]:focus-within:not([disabled]),.input-field__input[data-v-8e16cbb5]: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-8e16cbb5]{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-8e16cbb5]::placeholder{color:var(--color-text-maxcontrast)}.input-field__input[data-v-8e16cbb5]::-webkit-search-cancel-button{display:none}.input-field__input[data-v-8e16cbb5]::-webkit-search-decoration,.input-field__input[data-v-8e16cbb5]::-webkit-search-results-button,.input-field__input[data-v-8e16cbb5]::-webkit-search-results-decoration,.input-field__input[data-v-8e16cbb5]::-ms-clear{display:none}.input-field__input[data-v-8e16cbb5]:active:not([disabled]),.input-field__input[data-v-8e16cbb5]:focus:not([disabled]){--input-border-color: var(--color-main-text)}.input-field__input:focus+.input-field__label[data-v-8e16cbb5],.input-field__input:hover:not(:placeholder-shown)+.input-field__label[data-v-8e16cbb5]{color:var(--color-main-text)}.input-field__input[data-v-8e16cbb5]:focus{cursor:text}.input-field__input[data-v-8e16cbb5]:disabled{cursor:default}.input-field__input[data-v-8e16cbb5]:focus-visible{box-shadow:unset!important}.input-field:not(.input-field--label-outside) .input-field__input[data-v-8e16cbb5]:not(:focus)::placeholder{opacity:0}.input-field__label[data-v-8e16cbb5]{--input-label-font-size: var(--default-font-size);font-size:var(--input-label-font-size);position:absolute;margin-inline:var(--input-padding-start) var(--input-padding-end);max-width:fit-content;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-8e16cbb5],.input-field__input:not(:placeholder-shown)+.input-field__label[data-v-8e16cbb5]{--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-8e16cbb5]{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-8e16cbb5]{inset-inline-start:0px}.input-field__icon--trailing[data-v-8e16cbb5]{inset-inline-end:0px}.input-field__trailing-button[data-v-8e16cbb5]{--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-8e16cbb5]{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-8e16cbb5]:focus-visible{box-shadow:none!important}.input-field__helper-text-message[data-v-8e16cbb5]{padding-block:4px;padding-inline:var(--border-radius-element);display:flex;align-items:center;color:var(--color-text-maxcontrast);overflow-wrap:anywhere}.input-field__helper-text-message__icon[data-v-8e16cbb5]{margin-inline-end:8px}.input-field--error .input-field__helper-text-message[data-v-8e16cbb5],.input-field--error .input-field__icon--trailing[data-v-8e16cbb5]{color:var(--color-text-error, var(--color-error))}.input-field--error .input-field__input[data-v-8e16cbb5],.input-field__input[data-v-8e16cbb5]:user-invalid{--input-border-color: var(--color-border-error, var(--color-error)) !important}.input-field--error .input-field__input[data-v-8e16cbb5]:focus-visible,.input-field__input[data-v-8e16cbb5]: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-8e16cbb5]{--input-border-color: var(--color-border-success, var(--color-success)) !important}.input-field--success .input-field__input[data-v-8e16cbb5]: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__helper-text-message__icon[data-v-8e16cbb5]{color:var(--color-border-success, var(--color-success))}#skip-actions.vue-skip-actions:focus-within{top:0!important;inset-inline-start:0!important;width:100vw;height:100vh;padding:var(--body-container-margin)!important;-webkit-backdrop-filter:brightness(50%);backdrop-filter:brightness(50%)}@media only screen and (min-width:1024px){.content:not(.content--legacy) .app-navigation:not(.app-navigation--closed):not(.app-navigation--close)~.app-content{border-inline-start:1px solid var(--color-border);border-start-start-radius:var(--body-container-radius);border-end-start-radius:var(--body-container-radius)}}.material-design-icon[data-v-91d07631]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.vue-skip-actions__container[data-v-91d07631]{background-color:var(--color-main-background);border-radius:var(--border-radius-element);padding:22px}.vue-skip-actions__headline[data-v-91d07631]{font-weight:var(--font-weight-heading, bold);font-size:20px;line-height:30px;margin-bottom:12px}.vue-skip-actions__buttons[data-v-91d07631]{display:flex;flex-wrap:wrap;gap:12px}.vue-skip-actions__buttons[data-v-91d07631]>*{flex:1 0 fit-content}.vue-skip-actions__image[data-v-91d07631]{margin-top:12px}.vue-skip-actions__image[data-v-91d07631]:dir(rtl){transform:rotateY(180deg)}.content[data-v-91d07631]{display:flex;width:calc(100% - var(--body-container-margin) * 2);border-radius:var(--body-container-radius);height:var(--body-height);overflow:hidden;padding:0}.content[data-v-91d07631]:not(.content--legacy){background-color:var(--color-main-background-blur, var(--color-main-background));backdrop-filter:var(--filter-background-blur, none);-webkit-backdrop-filter:var(--filter-background-blur, none)}.content[data-v-91d07631]:not(.with-sidebar--full){position:fixed}.content[data-v-91d07631],.content[data-v-91d07631] *{box-sizing:border-box}.material-design-icon{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}@media only screen and (max-width:512px){.dialog__modal .modal-wrapper--small .modal-container{width:fit-content;height:unset;max-height:90%;position:relative;top:unset;border-radius:var(--border-radius-element)}}.material-design-icon[data-v-24e91b99]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.dialog[data-v-24e91b99]{height:100%;width:100%;display:flex;flex-direction:column;justify-content:space-between;overflow:hidden}.dialog__modal[data-v-24e91b99] .modal-wrapper .modal-container{display:flex!important;padding-block:4px 0;padding-inline:12px 0}.dialog__modal[data-v-24e91b99] .modal-wrapper .modal-container__content{display:flex;flex-direction:column;overflow:hidden}.dialog__wrapper[data-v-24e91b99]{display:flex;flex-direction:row;flex:1;min-height:0;overflow:hidden}.dialog__wrapper--collapsed[data-v-24e91b99]{flex-direction:column}.dialog__navigation[data-v-24e91b99]{display:flex;flex-shrink:0}.dialog__wrapper:not(.dialog__wrapper--collapsed) .dialog__navigation[data-v-24e91b99]{flex-direction:column;overflow:hidden auto;height:100%;min-width:200px;margin-inline-end:20px}.dialog__wrapper.dialog__wrapper--collapsed .dialog__navigation[data-v-24e91b99]{flex-direction:row;justify-content:space-between;overflow:auto hidden;width:100%;min-width:100%}.dialog__name[data-v-24e91b99]{font-size:21px;text-align:center;height:fit-content;min-height:var(--default-clickable-area);line-height:var(--default-clickable-area);overflow-wrap:break-word;margin-block:0 12px}.dialog__content[data-v-24e91b99]{flex:1;min-height:0;overflow:auto;padding-inline-end:12px}.dialog__text[data-v-24e91b99]{padding-block-end:6px}.dialog__actions[data-v-24e91b99]{display:flex;gap:6px;align-content:center;justify-content:end;width:100%;max-width:100%;padding-inline:0 12px;margin-inline:0;margin-block:0}.dialog__actions[data-v-24e91b99]:not(:empty){margin-block:6px 12px}@media only screen and (max-width:512px){.dialog__name[data-v-24e91b99]{text-align:start;margin-inline-end:var(--default-clickable-area)}}.material-design-icon[data-v-3c357e2d]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.modal-mask[data-v-3c357e2d]{position:fixed;z-index:9998;top:0;inset-inline-start:0;display:block;width:100%;height:100%;--backdrop-color: 0, 0, 0;background-color:rgba(var(--backdrop-color),.5)}.modal-mask[data-v-3c357e2d],.modal-mask[data-v-3c357e2d] *{box-sizing:border-box}.modal-mask--opaque[data-v-3c357e2d]{background-color:rgba(var(--backdrop-color),.92)}.modal-mask--light[data-v-3c357e2d]{--backdrop-color: 255, 255, 255}.modal-header[data-v-3c357e2d]{position:absolute;z-index:10001;top:0;inset-inline:0 0;display:flex!important;align-items:center;justify-content:space-between;width:100%;height:var(--header-height);overflow:hidden;transition:opacity .25s,visibility .25s}.modal-header__name[data-v-3c357e2d]{overflow-x:hidden;width:100%;padding-inline:12px 0;transition:padding ease .1s;white-space:nowrap;text-overflow:ellipsis;font-size:16px;margin-block:0}@media only screen and (min-width:1024px){.modal-header__name[data-v-3c357e2d]{padding-inline-start:calc(var(--header-height) * var(--046d2bb2));text-align:center}}.modal-header .icons-menu[data-v-3c357e2d]{display:flex;align-items:center;justify-content:flex-end;align-self:flex-end}.modal-header .icons-menu .header-close[data-v-3c357e2d]{display:flex;align-items:center;justify-content:center;margin:calc((var(--header-height) - var(--default-clickable-area)) / 2);padding:0}.modal-header .icons-menu .play-pause-icons[data-v-3c357e2d]{position:relative;width:var(--header-height);height:var(--header-height);margin:0;padding:0;cursor:pointer;border:none;background-color:transparent}.modal-header .icons-menu .play-pause-icons:hover .play-pause-icons__icon[data-v-3c357e2d],.modal-header .icons-menu .play-pause-icons:focus .play-pause-icons__icon[data-v-3c357e2d]{opacity:1;border-radius:calc(var(--default-clickable-area) / 2);background-color:#7f7f7f40}.modal-header .icons-menu .play-pause-icons__icon[data-v-3c357e2d]{width:var(--default-clickable-area);height:var(--default-clickable-area);margin:calc((var(--header-height) - var(--default-clickable-area)) / 2);cursor:pointer;opacity:.7}.modal-header .icons-menu[data-v-3c357e2d] .action-item{margin:calc((var(--header-height) - var(--default-clickable-area)) / 2)}.modal-header .icons-menu[data-v-3c357e2d] .action-item--single{width:var(--default-clickable-area);height:var(--default-clickable-area);cursor:pointer;background-position:center;background-size:22px}.modal-header .icons-menu .header-actions[data-v-3c357e2d] button:focus-visible{box-shadow:none!important;outline:2px solid #fff!important}.modal-wrapper[data-v-3c357e2d]{display:flex;align-items:center;justify-content:center;width:100%;height:100%}.modal-wrapper .prev[data-v-3c357e2d],.modal-wrapper .next[data-v-3c357e2d]{z-index:10000;height:35vh;min-height:300px;position:absolute;transition:opacity .25s;color:#fff}.modal-wrapper .prev[data-v-3c357e2d]:focus-visible,.modal-wrapper .next[data-v-3c357e2d]:focus-visible{box-shadow:0 0 0 2px var(--color-primary-element-text);background-color:var(--color-box-shadow)}.modal-wrapper .prev[data-v-3c357e2d]{inset-inline-start:2px}.modal-wrapper .next[data-v-3c357e2d]{inset-inline-end:2px}.modal-wrapper .modal-container[data-v-3c357e2d]{position:relative;display:flex;padding:0;transition:transform .3s ease;border-radius:var(--border-radius-container);background-color:var(--color-main-background);color:var(--color-main-text);box-shadow:0 0 40px #0003;overflow:auto}.modal-wrapper .modal-container__close[data-v-3c357e2d]{z-index:1;position:absolute;top:4px;inset-inline-end:var(--default-grid-baseline)}.modal-wrapper .modal-container__content[data-v-3c357e2d]{width:100%;min-height:52px;overflow:auto}.modal-wrapper--small>.modal-container[data-v-3c357e2d]{width:400px;max-width:90%;max-height:min(90%,100% - 2 * var(--header-height) - 2 * var(--body-container-margin))}.modal-wrapper--normal>.modal-container[data-v-3c357e2d]{max-width:90%;width:600px;max-height:min(90%,100% - 2 * var(--header-height) - 2 * var(--body-container-margin))}.modal-wrapper--large>.modal-container[data-v-3c357e2d]{max-width:90%;width:900px;max-height:min(90%,100% - 2 * var(--header-height) - 2 * var(--body-container-margin))}.modal-wrapper--full>.modal-container[data-v-3c357e2d]{width:100%;height:calc(100% - var(--header-height));position:absolute;top:var(--header-height);border-radius:0}@media only screen and ((max-width:512px)or (max-height:400px)){.modal-wrapper .modal-container[data-v-3c357e2d]{max-width:initial;width:100%;max-height:initial;height:calc(100% - var(--header-height));position:absolute;top:var(--header-height);border-radius:0}}.fade-enter-active[data-v-3c357e2d],.fade-leave-active[data-v-3c357e2d]{transition:opacity .25s}.fade-enter-from[data-v-3c357e2d],.fade-leave-to[data-v-3c357e2d]{opacity:0}.fade-visibility-enter-from[data-v-3c357e2d],.fade-visibility-leave-to[data-v-3c357e2d]{visibility:hidden;opacity:0}.modal-in-enter-active[data-v-3c357e2d],.modal-in-leave-active[data-v-3c357e2d],.modal-out-enter-active[data-v-3c357e2d],.modal-out-leave-active[data-v-3c357e2d]{transition:opacity .25s}.modal-in-enter-from[data-v-3c357e2d],.modal-in-leave-to[data-v-3c357e2d],.modal-out-enter-from[data-v-3c357e2d],.modal-out-leave-to[data-v-3c357e2d]{opacity:0}.modal-in-enter .modal-container[data-v-3c357e2d],.modal-in-leave-to .modal-container[data-v-3c357e2d]{transform:scale(.9)}.modal-out-enter .modal-container[data-v-3c357e2d],.modal-out-leave-to .modal-container[data-v-3c357e2d]{transform:scale(1.1)}.modal-mask .play-pause-icons .progress-ring[data-v-3c357e2d]{position:absolute;top:0;inset-inline-start:0;transform:rotate(-90deg)}.modal-mask .play-pause-icons .progress-ring .progress-ring__circle[data-v-3c357e2d]{transition:.1s stroke-dashoffset;transform-origin:50% 50%;animation:progressring-3c357e2d linear var(--71f7c020) infinite;stroke-linecap:round;stroke-dashoffset:94.2477796077;stroke-dasharray:94.2477796077}.modal-mask .play-pause-icons--paused .play-pause-icons__icon[data-v-3c357e2d]{animation:breath-3c357e2d 2s cubic-bezier(.4,0,.2,1) infinite}.modal-mask .play-pause-icons--paused .progress-ring__circle[data-v-3c357e2d]{animation-play-state:paused!important}@keyframes progressring-3c357e2d{0%{stroke-dashoffset:94.2477796077}to{stroke-dashoffset:0}}@keyframes breath-3c357e2d{0%{opacity:1}50%{opacity:0}to{opacity:1}}.material-design-icon[data-v-8609a4c1]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.empty-content[data-v-8609a4c1]{display:flex;align-items:center;flex-direction:column;justify-content:center;flex-grow:1;padding:var(--default-grid-baseline)}.modal-wrapper .empty-content[data-v-8609a4c1]{margin-top:5vh;margin-bottom:5vh}.empty-content__icon[data-v-8609a4c1]{display:flex;align-items:center;justify-content:center;width:64px;height:64px;margin:0 auto 15px;opacity:.4;background-repeat:no-repeat;background-position:center;background-size:64px}.empty-content__icon[data-v-8609a4c1] svg{width:64px!important;height:64px!important;max-width:64px!important;max-height:64px!important}.empty-content__name[data-v-8609a4c1]{margin-bottom:10px;text-align:center;font-weight:var(--font-weight-heading, bold);font-size:20px;line-height:30px}.empty-content__description[data-v-8609a4c1]{color:var(--color-text-maxcontrast);text-align:center;text-wrap-style:balance}.empty-content__action[data-v-8609a4c1]{margin-top:8px}.modal-wrapper .empty-content__action[data-v-8609a4c1]{margin-top:20px;display:flex}.material-design-icon[data-v-7e90555e]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.list-item__wrapper[data-v-7e90555e]{display:flex;position:relative;width:100%;padding:2px 4px}.list-item__wrapper[data-v-7e90555e]:first-of-type{padding-block-start:4px}.list-item__wrapper[data-v-7e90555e]:last-of-type{padding-block-end:4px}.list-item__wrapper:not(.list-item__wrapper--legacy):not(.list-item__wrapper--active):not(.active) .list-item[data-v-7e90555e]:hover,.list-item__wrapper:not(.list-item__wrapper--legacy):not(.list-item__wrapper--active):not(.active) .list-item[data-v-7e90555e]:focus-within,.list-item__wrapper:not(.list-item__wrapper--legacy):not(.list-item__wrapper--active):not(.active) .list-item[data-v-7e90555e]:has(:active),.list-item__wrapper:not(.list-item__wrapper--legacy):not(.list-item__wrapper--active):not(.active) .list-item[data-v-7e90555e]:has(:focus-visible){background-color:color-mix(in srgb,var(--color-primary-element) 8%,transparent)}.list-item__wrapper--active:not(.list-item__wrapper--legacy) .list-item[data-v-7e90555e],.list-item__wrapper.active:not(.list-item__wrapper--legacy) .list-item[data-v-7e90555e]{background-color:var(--color-primary-element-light);color:var(--color-main-text)!important}.list-item__wrapper--active:not(.list-item__wrapper--legacy) .list-item[data-v-7e90555e]:hover,.list-item__wrapper--active:not(.list-item__wrapper--legacy) .list-item[data-v-7e90555e]:focus-within,.list-item__wrapper--active:not(.list-item__wrapper--legacy) .list-item[data-v-7e90555e]:has(:focus-visible),.list-item__wrapper--active:not(.list-item__wrapper--legacy) .list-item[data-v-7e90555e]:has(:active),.list-item__wrapper.active:not(.list-item__wrapper--legacy) .list-item[data-v-7e90555e]:hover,.list-item__wrapper.active:not(.list-item__wrapper--legacy) .list-item[data-v-7e90555e]:focus-within,.list-item__wrapper.active:not(.list-item__wrapper--legacy) .list-item[data-v-7e90555e]:has(:focus-visible),.list-item__wrapper.active:not(.list-item__wrapper--legacy) .list-item[data-v-7e90555e]:has(:active){background-color:var(--color-primary-element-light-hover)}.list-item__wrapper--active:not(.list-item__wrapper--legacy) .list-item[data-v-7e90555e]:before,.list-item__wrapper.active:not(.list-item__wrapper--legacy) .list-item[data-v-7e90555e]:before{content:"";position:absolute;inset-block:calc(var(--default-grid-baseline, 4px) * 2);inset-inline-start:0;width:3px;background-color:var(--color-primary-element);border-radius:999px;animation:nc-nav-stripe-in-7e90555e var(--animation-quick, .2s) ease-out}.list-item__wrapper--active:not(.list-item__wrapper--legacy) .list-item-content__name[data-v-7e90555e],.list-item__wrapper--active:not(.list-item__wrapper--legacy) .list-item-content__subname[data-v-7e90555e],.list-item__wrapper--active:not(.list-item__wrapper--legacy) .list-item-content__details[data-v-7e90555e],.list-item__wrapper--active:not(.list-item__wrapper--legacy) .list-item-details__details[data-v-7e90555e],.list-item__wrapper.active:not(.list-item__wrapper--legacy) .list-item-content__name[data-v-7e90555e],.list-item__wrapper.active:not(.list-item__wrapper--legacy) .list-item-content__subname[data-v-7e90555e],.list-item__wrapper.active:not(.list-item__wrapper--legacy) .list-item-content__details[data-v-7e90555e],.list-item__wrapper.active:not(.list-item__wrapper--legacy) .list-item-details__details[data-v-7e90555e]{color:var(--color-main-text)!important}.list-item__wrapper--active.list-item__wrapper--legacy .list-item[data-v-7e90555e],.list-item__wrapper.active.list-item__wrapper--legacy .list-item[data-v-7e90555e]{background-color:var(--color-primary-element);color:var(--color-primary-element-text)!important}.list-item__wrapper--active.list-item__wrapper--legacy .list-item[data-v-7e90555e]:hover,.list-item__wrapper--active.list-item__wrapper--legacy .list-item[data-v-7e90555e]:focus-within,.list-item__wrapper--active.list-item__wrapper--legacy .list-item[data-v-7e90555e]:has(:focus-visible),.list-item__wrapper--active.list-item__wrapper--legacy .list-item[data-v-7e90555e]:has(:active),.list-item__wrapper.active.list-item__wrapper--legacy .list-item[data-v-7e90555e]:hover,.list-item__wrapper.active.list-item__wrapper--legacy .list-item[data-v-7e90555e]:focus-within,.list-item__wrapper.active.list-item__wrapper--legacy .list-item[data-v-7e90555e]:has(:focus-visible),.list-item__wrapper.active.list-item__wrapper--legacy .list-item[data-v-7e90555e]:has(:active){background-color:var(--color-primary-element-hover)}.list-item__wrapper--active.list-item__wrapper--legacy .list-item-content__name[data-v-7e90555e],.list-item__wrapper--active.list-item__wrapper--legacy .list-item-content__subname[data-v-7e90555e],.list-item__wrapper--active.list-item__wrapper--legacy .list-item-content__details[data-v-7e90555e],.list-item__wrapper--active.list-item__wrapper--legacy .list-item-details__details[data-v-7e90555e],.list-item__wrapper.active.list-item__wrapper--legacy .list-item-content__name[data-v-7e90555e],.list-item__wrapper.active.list-item__wrapper--legacy .list-item-content__subname[data-v-7e90555e],.list-item__wrapper.active.list-item__wrapper--legacy .list-item-content__details[data-v-7e90555e],.list-item__wrapper.active.list-item__wrapper--legacy .list-item-details__details[data-v-7e90555e]{color:var(--color-primary-element-text)!important}@keyframes nc-nav-stripe-in-7e90555e{0%{transform:scaleY(0);opacity:0}to{transform:scaleY(1);opacity:1}}.list-item__wrapper .list-item-content__name[data-v-7e90555e],.list-item__wrapper .list-item-content__subname[data-v-7e90555e],.list-item__wrapper .list-item-content__details[data-v-7e90555e],.list-item__wrapper .list-item-details__details[data-v-7e90555e]{white-space:nowrap;margin-block:0;margin-inline:0 auto;overflow:hidden;text-overflow:ellipsis}.list-item-content__name[data-v-7e90555e]{min-width:100px;flex:1 1 10%;font-weight:var(--font-weight-element, 500)}.list-item-content__subname[data-v-7e90555e]{flex:1 0;min-width:0;color:var(--color-text-maxcontrast)}.list-item-content__subname--bold[data-v-7e90555e]{font-weight:var(--font-weight-element, 500)}.list-item[data-v-7e90555e]{--list-item-padding: var(--default-grid-baseline);--list-item-height: 2lh;--list-item-border-radius: var(--border-radius-element, 32px);box-sizing:border-box;display:flex;position:relative;flex:0 0 auto;justify-content:flex-start;padding:var(--list-item-padding);width:100%;border-radius:var(--border-radius-element, 32px);cursor:pointer;transition:background-color var(--animation-quick) ease-in-out;list-style:none}.list-item[data-v-7e90555e]:hover,.list-item[data-v-7e90555e]:focus-within,.list-item[data-v-7e90555e]:has(:active),.list-item[data-v-7e90555e]:has(:focus-visible){background-color:var(--color-background-hover)}.list-item[data-v-7e90555e]:has(.list-item__anchor:focus-visible){outline:2px solid var(--color-main-text);box-shadow:0 0 0 4px var(--color-main-background)}.list-item--compact[data-v-7e90555e]{--list-item-padding: calc(.5 * var(--default-grid-baseline)) var(--default-grid-baseline)}.list-item--compact[data-v-7e90555e]:not(:has(.list-item-content__subname)){--list-item-height: var(--default-clickable-area)}.list-item--one-line[data-v-7e90555e]{--list-item-height: var(--default-clickable-area);--list-item-border-radius: var(--border-radius-element, calc(var(--default-clickable-area) / 2));--list-item-padding: var(--default-grid-baseline)}.list-item--one-line .list-item-content__main[data-v-7e90555e]{display:flex;justify-content:start;gap:12px;min-width:0}.list-item--one-line .list-item-content__details[data-v-7e90555e]{flex-direction:row;align-items:center;justify-content:end}.list-item--one-line .list-item-content__name[data-v-7e90555e]{align-self:center;max-width:300px}.list-item__anchor[data-v-7e90555e]{color:inherit;display:flex;flex:1 0 auto;align-items:center;height:var(--list-item-height);min-width:0}.list-item__anchor[data-v-7e90555e]:focus-visible{outline:none}.list-item-content[data-v-7e90555e]{display:flex;flex:1 0;justify-content:space-between;padding-inline-start:calc(2 * var(--default-grid-baseline));min-width:0}.list-item-content__main[data-v-7e90555e]{flex:1 0;width:0;margin:auto 0}.list-item-content__main--oneline[data-v-7e90555e]{display:flex}.list-item-content__details[data-v-7e90555e]{display:flex;flex-direction:column;justify-content:end;align-items:end}.list-item-content__actions[data-v-7e90555e],.list-item-content__extra-actions[data-v-7e90555e]{flex:0 0 auto;align-self:center;justify-content:center;margin-inline-start:var(--default-grid-baseline)}.list-item-content__extra-actions[data-v-7e90555e]{display:flex;align-items:center;gap:var(--default-grid-baseline)}.list-item-details__details[data-v-7e90555e]{color:var(--color-text-maxcontrast);margin:0 9px!important;font-weight:var(--font-weight-default, normal)}.list-item-details__extra[data-v-7e90555e]{margin:2px 4px 0;display:flex;align-items:center}.list-item-details__indicator[data-v-7e90555e]{margin:0 5px}.list-item__extra[data-v-7e90555e]{margin-top:var(--default-grid-baseline)}.material-design-icon[data-v-36ffc13f]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.counter-bubble__counter[data-v-36ffc13f]{--counter-bubble-height: 22px;font-size:var(--font-size-small, 13px);overflow:hidden;width:fit-content;min-width:var(--counter-bubble-height);text-align:center;line-height:var(--counter-bubble-height);padding:0 calc(1.5 * var(--default-grid-baseline));border-radius:.5lh;background-color:var(--color-primary-element-light);font-weight:700;color:var(--color-primary-element-light-text)}.counter-bubble__counter .active[data-v-36ffc13f]{color:var(--color-main-background);background-color:var(--color-primary-element-light)}.counter-bubble__counter--highlighted[data-v-36ffc13f]{color:var(--color-primary-element-text);background-color:var(--color-primary-element)}.counter-bubble__counter--highlighted.active[data-v-36ffc13f]{color:var(--color-primary-element);background-color:var(--color-main-background)}.counter-bubble__counter--outlined[data-v-36ffc13f]{color:var(--color-primary-element);background:transparent;box-shadow:inset 0 0 0 2px}.counter-bubble__counter--outlined.active[data-v-36ffc13f]{color:var(--color-main-background);box-shadow:inset 0 0 0 2px}.file-card[data-v-945915af]{display:flex;flex-direction:column;width:100%;aspect-ratio:2 / 3;border:2px solid var(--color-border)!important;border-radius:var(--border-radius-element);padding:calc(var(--default-grid-baseline) * 2);cursor:pointer;box-sizing:border-box;background:none;text-align:start;transition:border-color var(--animation-quick) ease}.file-card[data-v-945915af]:focus-visible{border-color:var(--color-primary-element)!important}.file-card__preview[data-v-945915af]{flex:1;min-height:0;display:flex;border-radius:4px;overflow:hidden;margin-bottom:calc(var(--default-grid-baseline) * 1)}.file-card__content[data-v-945915af]{flex-shrink:0;display:flex;align-items:center;overflow:hidden}.file-card__icon[data-v-945915af]{display:flex;flex-shrink:0}.file-card__text[data-v-945915af]{min-width:0}.file-card__name[data-v-945915af]{color:var(--color-main-text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.file-card__subname[data-v-945915af]{font-size:.85em;color:var(--color-text-maxcontrast);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.file-preview[data-v-52ee489a]{display:flex;width:100%;height:100%}.file-preview__image[data-v-52ee489a]{width:100%;height:100%;object-fit:cover}.file-preview__fallback[data-v-52ee489a]{margin:auto;color:var(--color-text-maxcontrast)}.template-section[data-v-e970ce47]{padding:calc(var(--default-grid-baseline) * 4) 0;margin:calc(var(--default-grid-baseline) * 4) calc(var(--default-grid-baseline) * 4) 0;background:radial-gradient(78% 82% at 14% 2%,color-mix(in srgb,var(--tpl-glow-1) 28%,transparent),transparent 66%),radial-gradient(72% 76% at 102% -2%,color-mix(in srgb,var(--tpl-glow-2) 24%,transparent),transparent 64%),radial-gradient(82% 88% at 20% 114%,color-mix(in srgb,var(--tpl-glow-3) 22%,transparent),transparent 68%),radial-gradient(88% 94% at 98% 104%,color-mix(in srgb,var(--tpl-glow-4) 26%,transparent),transparent 70%),color-mix(in srgb,var(--tpl-glow-2) 8%,var(--color-main-background));border-radius:var(--border-radius-large)}.template-section__header[data-v-e970ce47]{display:flex;align-items:center;justify-content:space-between;gap:calc(var(--default-grid-baseline) * 2);margin-bottom:calc(var(--default-grid-baseline) * 2);padding-inline:calc(var(--default-grid-baseline) * 4)}.template-section__heading[data-v-e970ce47]{margin:0!important;font-size:24px;font-weight:600;color:var(--color-main-text)}.template-section__nav[data-v-e970ce47]{display:flex;align-items:center;gap:calc(var(--default-grid-baseline) * 1)}.template-section__list{&[data-v-e970ce47]{display:flex;gap:calc(var(--default-grid-baseline) * 3);list-style:none;padding:calc(var(--default-grid-baseline) * 1) 0 0;margin:0;overflow-x:auto;scrollbar-width:none}&[data-v-e970ce47]::-webkit-scrollbar{display:none}}.template-section__item[data-v-e970ce47]{flex:0 0 auto}.template-section__item[data-v-e970ce47]:first-child{margin-inline-start:calc(var(--default-grid-baseline) * 4)}.template-section__item[data-v-e970ce47]:last-child{margin-inline-end:calc(var(--default-grid-baseline) * 4)}.template-card{&[data-v-e970ce47]{display:flex;flex-direction:column;align-items:center;padding:0;border:none;background:none;cursor:pointer;border-radius:var(--border-radius-large)}&[data-v-e970ce47]:hover,&[data-v-e970ce47]:focus-visible{background:none}&:hover .template-card__preview[data-v-e970ce47],&:focus-visible .template-card__preview[data-v-e970ce47]{box-shadow:0 0 0 2px var(--color-primary-element),0 4px 6px #00000047}}.template-card__preview[data-v-e970ce47]{position:relative;width:100%;height:var(--tpl-preview-height);overflow:hidden;border-radius:var(--border-radius-large);background-color:var(--color-main-background);box-sizing:border-box;display:flex;align-items:center;justify-content:center;box-shadow:0 4px 8px #0003;transition:box-shadow var(--animation-quick) ease}.template-card__image[data-v-e970ce47]{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.template-card__name[data-v-e970ce47]{margin-top:calc(var(--default-grid-baseline) * 2);font-size:var(--font-size-small, 13px);color:var(--color-main-text);text-align:center;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.office-overview__grid[data-v-f15e42e0]{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:calc(var(--default-grid-baseline) * 3);padding:calc(var(--default-grid-baseline) * 4)}.office-overview__content[data-v-f15e42e0]{padding-top:var(--default-clickable-area)}[data-v-f15e42e0] .app-navigation-search .input-field__input:placeholder-shown~.input-field__trailing-button{display:none}.office-overview__loading[data-v-f15e42e0]{margin:32px auto}.office-overview__files-header[data-v-f15e42e0]{display:flex;align-items:center;justify-content:space-between;padding:calc(var(--default-grid-baseline) * 4) calc(var(--default-grid-baseline) * 4) calc(var(--default-grid-baseline) * 2)}.office-overview__files-title[data-v-f15e42e0]{margin:0;font-size:24px;font-weight:600;color:var(--color-main-text)}.office-overview__controls[data-v-f15e42e0]{display:flex;align-items:center;justify-content:space-between;gap:calc(var(--default-grid-baseline) * 2);padding:0 calc(var(--default-grid-baseline) * 4) calc(var(--default-grid-baseline) * 2)}.office-overview__filters{&[data-v-f15e42e0]{display:flex;gap:calc(var(--default-grid-baseline) * 1)}[data-v-f15e42e0] .button-vue{--button-radius: var(--border-radius-pill, 100px)}}.office-overview__list[data-v-f15e42e0]{padding:0 calc(var(--default-grid-baseline) * 2)}.office-overview__more[data-v-f15e42e0]{display:flex;justify-content:center;padding:calc(var(--default-grid-baseline) * 3) calc(var(--default-grid-baseline) * 4)}.office-overview__list-thumb[data-v-f15e42e0]{width:var(--default-clickable-area);height:var(--default-clickable-area);border-radius:var(--border-radius);background-color:var(--color-background-dark);flex-shrink:0}.office-overview__favourite-icon[data-v-f15e42e0]{color:var(--color-favorite)}.office-overview__create-form[data-v-f15e42e0]{min-height:calc(2 * var(--default-clickable-area))}.office-overview__nav-icon{&[data-v-f15e42e0]{display:flex;width:20px;height:20px}[data-v-f15e42e0] svg{width:100%;height:100%}}.sr-only[data-v-f15e42e0]{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0} diff --git a/css/office-main.css b/css/office-main.css index b4dcd1b..c4a7902 100644 --- a/css/office-main.css +++ b/css/office-main.css @@ -1,2 +1,2 @@ /* extracted by css-entry-points-plugin */ -@import './main--Y7OSInl.chunk.css'; \ No newline at end of file +@import './main-6N4mzMzV.chunk.css'; \ No newline at end of file diff --git a/js/office-main.mjs b/js/office-main.mjs index 9d022d5..d3c59aa 100644 --- a/js/office-main.mjs +++ b/js/office-main.mjs @@ -1,12 +1,12 @@ -const qv="office",Kv="1.1.0-dev.0",Jn=globalThis||void 0||self;function lc(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const $e={},To=[],cn=()=>{},D0=()=>!1,Ni=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Di=e=>e.startsWith("onUpdate:"),ct=Object.assign,cc=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Zv=Object.prototype.hasOwnProperty,ze=(e,t)=>Zv.call(e,t),Ee=Array.isArray,No=e=>ra(e)==="[object Map]",O0=e=>ra(e)==="[object Set]",yd=e=>ra(e)==="[object Date]",Ce=e=>typeof e=="function",We=e=>typeof e=="string",rn=e=>typeof e=="symbol",Le=e=>e!==null&&typeof e=="object",P0=e=>(Le(e)||Ce(e))&&Ce(e.then)&&Ce(e.catch),B0=Object.prototype.toString,ra=e=>B0.call(e),Xv=e=>ra(e).slice(8,-1),$0=e=>ra(e)==="[object Object]",Oi=e=>We(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Cs=lc(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Pi=e=>{const t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},Yv=/-\w/g,Lt=Pi(e=>e.replace(Yv,t=>t.slice(1).toUpperCase())),Jv=/\B([A-Z])/g,lr=Pi(e=>e.replace(Jv,"-$1").toLowerCase()),Bi=Pi(e=>e.charAt(0).toUpperCase()+e.slice(1)),Fa=Pi(e=>e?`on${Bi(e)}`:""),wt=(e,t)=>!Object.is(e,t),La=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},dc=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Qv=e=>{const t=We(e)?Number(e):NaN;return isNaN(t)?e:t};let bd;const qa=()=>bd||(bd=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof Jn<"u"?Jn:{});function dn(e){if(Ee(e)){const t={};for(let n=0;n{if(n){const r=n.split(t1);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Be(e){let t="";if(We(e))t=e;else if(Ee(e))for(let n=0;n!!(e&&e.__v_isRef===!0),_e=e=>We(e)?e:e==null?"":Ee(e)||Le(e)&&(e.toString===B0||!Ce(e.toString))?L0(e)?_e(e.value):JSON.stringify(e,I0,2):String(e),I0=(e,t)=>L0(t)?I0(e,t.value):No(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,o],s)=>(n[fu(r,s)+" =>"]=o,n),{})}:O0(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>fu(n))}:rn(t)?fu(t):Le(t)&&!Ee(t)&&!$0(t)?String(t):t,fu=(e,t="")=>{var n;return rn(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};function i1(e){return e==null?"initial":typeof e=="string"?e===""?" ":e:String(e)}let pt;class u1{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this._warnOnRun=!0,this.__v_skip=!0,!t&&pt&&(pt.active?(this.parent=pt,this.index=(pt.scopes||(pt.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes){const r=this.scopes.slice();for(t=0,n=r.length;t0&&--this._on===0){if(pt===this)pt=this.prevScope;else{let t=pt;for(;t;){if(t.prevScope===this){t.prevScope=this.prevScope;break}t=t.prevScope}}this.prevScope=void 0}}stop(t){if(this._active){this._active=!1;let n,r;for(n=0,r=this.effects.length;n0)return;if(xs){let t=xs;for(xs=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;_s;){let t=_s;for(_s=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(r){e||(e=r)}t=n}}if(e)throw e}function H0(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function V0(e){let t,n=e.depsTail,r=n;for(;r;){const o=r.prevDep;r.version===-1?(r===n&&(n=o),gc(r),c1(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=o}e.deps=t,e.depsTail=n}function fl(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(G0(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function G0(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Is)||(e.globalVersion=Is,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!fl(e))))return;e.flags|=2;const t=e.dep,n=Ge,r=En;Ge=e,En=!0;try{H0(e);const o=e.fn(e._value);(t.version===0||wt(o,e._value))&&(e.flags|=128,e._value=o,t.version++)}catch(o){throw t.version++,o}finally{Ge=n,En=r,V0(e),e.flags&=-3}}function gc(e,t=!1){const{dep:n,prevSub:r,nextSub:o}=e;if(r&&(r.nextSub=o,e.prevSub=void 0),o&&(o.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let s=n.computed.deps;s;s=s.nextDep)gc(s,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function c1(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let En=!0;const W0=[];function rr(){W0.push(En),En=!1}function or(){const e=W0.pop();En=e===void 0?!0:e}function Ed(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=Ge;Ge=void 0;try{t()}finally{Ge=n}}}let Is=0;class d1{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class $i{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!Ge||!En||Ge===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==Ge)n=this.activeLink=new d1(Ge,this),Ge.deps?(n.prevDep=Ge.depsTail,Ge.depsTail.nextDep=n,Ge.depsTail=n):Ge.deps=Ge.depsTail=n,q0(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const r=n.nextDep;r.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=r),n.prevDep=Ge.depsTail,n.nextDep=void 0,Ge.depsTail.nextDep=n,Ge.depsTail=n,Ge.deps===n&&(Ge.deps=r)}return n}trigger(t){this.version++,Is++,this.notify(t)}notify(t){hc();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{fc()}}}function q0(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let r=t.deps;r;r=r.nextDep)q0(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const Ka=new WeakMap,Qr=Symbol(""),gl=Symbol(""),Ms=Symbol("");function Bt(e,t,n){if(En&&Ge){let r=Ka.get(e);r||Ka.set(e,r=new Map);let o=r.get(n);o||(r.set(n,o=new $i),o.map=r,o.key=n),o.track()}}function Zn(e,t,n,r,o,s){const a=Ka.get(e);if(!a){Is++;return}const i=u=>{u&&u.trigger()};if(hc(),t==="clear")a.forEach(i);else{const u=Ee(e),c=u&&Oi(n);if(u&&n==="length"){const l=Number(r);a.forEach((d,p)=>{(p==="length"||p===Ms||!rn(p)&&p>=l)&&i(d)})}else switch((n!==void 0||a.has(void 0))&&i(a.get(n)),c&&i(a.get(Ms)),t){case"add":u?c&&i(a.get("length")):(i(a.get(Qr)),No(e)&&i(a.get(gl)));break;case"delete":u||(i(a.get(Qr)),No(e)&&i(a.get(gl)));break;case"set":No(e)&&i(a.get(Qr));break}}fc()}function p1(e,t){const n=Ka.get(e);return n&&n.get(t)}function mo(e){const t=Re(e);return t===e?t:(Bt(t,"iterate",Ms),nn(e)?t:t.map(_n))}function Ri(e){return Bt(e=Re(e),"iterate",Ms),e}function Rn(e,t){return sr(e)?js(eo(e)?_n(t):t):_n(t)}const h1={__proto__:null,[Symbol.iterator](){return mu(this,Symbol.iterator,e=>Rn(this,e))},concat(...e){return mo(this).concat(...e.map(t=>Ee(t)?mo(t):t))},entries(){return mu(this,"entries",e=>(e[1]=Rn(this,e[1]),e))},every(e,t){return Un(this,"every",e,t,void 0,arguments)},filter(e,t){return Un(this,"filter",e,t,n=>n.map(r=>Rn(this,r)),arguments)},find(e,t){return Un(this,"find",e,t,n=>Rn(this,n),arguments)},findIndex(e,t){return Un(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Un(this,"findLast",e,t,n=>Rn(this,n),arguments)},findLastIndex(e,t){return Un(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Un(this,"forEach",e,t,void 0,arguments)},includes(...e){return vu(this,"includes",e)},indexOf(...e){return vu(this,"indexOf",e)},join(e){return mo(this).join(e)},lastIndexOf(...e){return vu(this,"lastIndexOf",e)},map(e,t){return Un(this,"map",e,t,void 0,arguments)},pop(){return es(this,"pop")},push(...e){return es(this,"push",e)},reduce(e,...t){return wd(this,"reduce",e,t)},reduceRight(e,...t){return wd(this,"reduceRight",e,t)},shift(){return es(this,"shift")},some(e,t){return Un(this,"some",e,t,void 0,arguments)},splice(...e){return es(this,"splice",e)},toReversed(){return mo(this).toReversed()},toSorted(e){return mo(this).toSorted(e)},toSpliced(...e){return mo(this).toSpliced(...e)},unshift(...e){return es(this,"unshift",e)},values(){return mu(this,"values",e=>Rn(this,e))}};function mu(e,t,n){const r=Ri(e),o=r[t]();return r!==e&&!nn(e)&&(o._next=o.next,o.next=()=>{const s=o._next();return s.done||(s.value=n(s.value)),s}),o}const f1=Array.prototype;function Un(e,t,n,r,o,s){const a=Ri(e),i=a!==e&&!nn(e),u=a[t];if(u!==f1[t]){const d=u.apply(e,s);return i?_n(d):d}let c=n;a!==e&&(i?c=function(d,p){return n.call(this,Rn(e,d),p,e)}:n.length>2&&(c=function(d,p){return n.call(this,d,p,e)}));const l=u.call(a,c,r);return i&&o?o(l):l}function wd(e,t,n,r){const o=Ri(e),s=o!==e&&!nn(e);let a=n,i=!1;o!==e&&(s?(i=r.length===0,a=function(c,l,d){return i&&(i=!1,c=Rn(e,c)),n.call(this,c,Rn(e,l),d,e)}):n.length>3&&(a=function(c,l,d){return n.call(this,c,l,d,e)}));const u=o[t](a,...r);return i?Rn(e,u):u}function vu(e,t,n){const r=Re(e);Bt(r,"iterate",Ms);const o=r[t](...n);return(o===-1||o===!1)&&Ii(n[0])?(n[0]=Re(n[0]),r[t](...n)):o}function es(e,t,n=[]){rr(),hc();const r=Re(e)[t].apply(e,n);return fc(),or(),r}const g1=lc("__proto__,__v_isRef,__isVue"),K0=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(rn));function m1(e){rn(e)||(e=String(e));const t=Re(this);return Bt(t,"has",e),t.hasOwnProperty(e)}class Z0{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){if(n==="__v_skip")return t.__v_skip;const o=this._isReadonly,s=this._isShallow;if(n==="__v_isReactive")return!o;if(n==="__v_isReadonly")return o;if(n==="__v_isShallow")return s;if(n==="__v_raw")return r===(o?s?tf:ef:s?Q0:J0).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const a=Ee(t);if(!o){let u;if(a&&(u=h1[n]))return u;if(n==="hasOwnProperty")return m1}const i=Reflect.get(t,n,lt(t)?t:r);if((rn(n)?K0.has(n):g1(n))||(o||Bt(t,"get",n),s))return i;if(lt(i)){const u=a&&Oi(n)?i:i.value;return o&&Le(u)?zs(u):u}return Le(i)?o?zs(i):Lo(i):i}}class X0 extends Z0{constructor(t=!1){super(!1,t)}set(t,n,r,o){let s=t[n];const a=Ee(t)&&Oi(n);if(!this._isShallow){const c=sr(s);if(!nn(r)&&!sr(r)&&(s=Re(s),r=Re(r)),!a&<(s)&&!lt(r))return c||(s.value=r),!0}const i=a?Number(n)e,_a=e=>Reflect.getPrototypeOf(e);function w1(e,t,n){return function(...r){const o=this.__v_raw,s=Re(o),a=No(s),i=e==="entries"||e===Symbol.iterator&&a,u=e==="keys"&&a,c=o[e](...r),l=n?ml:t?js:_n;return!t&&Bt(s,"iterate",u?gl:Qr),ct(Object.create(c),{next(){const{value:d,done:p}=c.next();return p?{value:d,done:p}:{value:i?[l(d[0]),l(d[1])]:l(d),done:p}}})}}function xa(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function C1(e,t){const n={get(r){const o=this.__v_raw,s=Re(o),a=Re(r);e||(wt(r,a)&&Bt(s,"get",r),Bt(s,"get",a));const{has:i}=_a(s),u=t?ml:e?js:_n;if(i.call(s,r))return u(o.get(r));if(i.call(s,a))return u(o.get(a));o!==s&&o.get(r)},get size(){const r=this.__v_raw;return!e&&Bt(Re(r),"iterate",Qr),r.size},has(r){const o=this.__v_raw,s=Re(o),a=Re(r);return e||(wt(r,a)&&Bt(s,"has",r),Bt(s,"has",a)),r===a?o.has(r):o.has(r)||o.has(a)},forEach(r,o){const s=this,a=s.__v_raw,i=Re(a),u=t?ml:e?js:_n;return!e&&Bt(i,"iterate",Qr),a.forEach((c,l)=>r.call(o,u(c),u(l),s))}};return ct(n,e?{add:xa("add"),set:xa("set"),delete:xa("delete"),clear:xa("clear")}:{add(r){const o=Re(this),s=_a(o),a=Re(r),i=!t&&!nn(r)&&!sr(r)?a:r;return s.has.call(o,i)||wt(r,i)&&s.has.call(o,r)||wt(a,i)&&s.has.call(o,a)||(o.add(i),Zn(o,"add",i,i)),this},set(r,o){!t&&!nn(o)&&!sr(o)&&(o=Re(o));const s=Re(this),{has:a,get:i}=_a(s);let u=a.call(s,r);u||(r=Re(r),u=a.call(s,r));const c=i.call(s,r);return s.set(r,o),u?wt(o,c)&&Zn(s,"set",r,o):Zn(s,"add",r,o),this},delete(r){const o=Re(this),{has:s,get:a}=_a(o);let i=s.call(o,r);i||(r=Re(r),i=s.call(o,r)),a&&a.call(o,r);const u=o.delete(r);return i&&Zn(o,"delete",r,void 0),u},clear(){const r=Re(this),o=r.size!==0,s=r.clear();return o&&Zn(r,"clear",void 0,void 0),s}}),["keys","values","entries",Symbol.iterator].forEach(r=>{n[r]=w1(r,e,t)}),n}function Fi(e,t){const n=C1(e,t);return(r,o,s)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?r:Reflect.get(ze(n,o)&&o in r?n:r,o,s)}const _1={get:Fi(!1,!1)},x1={get:Fi(!1,!0)},A1={get:Fi(!0,!1)},S1={get:Fi(!0,!0)},J0=new WeakMap,Q0=new WeakMap,ef=new WeakMap,tf=new WeakMap;function k1(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Lo(e){return sr(e)?e:Li(e,!1,v1,_1,J0)}function nf(e){return Li(e,!1,b1,x1,Q0)}function zs(e){return Li(e,!0,y1,A1,ef)}function T1(e){return Li(e,!0,E1,S1,tf)}function Li(e,t,n,r,o){if(!Le(e)||e.__v_raw&&!(t&&e.__v_isReactive)||e.__v_skip||!Object.isExtensible(e))return e;const s=o.get(e);if(s)return s;const a=k1(Xv(e));if(a===0)return e;const i=new Proxy(e,a===2?r:n);return o.set(e,i),i}function eo(e){return sr(e)?eo(e.__v_raw):!!(e&&e.__v_isReactive)}function sr(e){return!!(e&&e.__v_isReadonly)}function nn(e){return!!(e&&e.__v_isShallow)}function Ii(e){return e?!!e.__v_raw:!1}function Re(e){const t=e&&e.__v_raw;return t?Re(t):e}function N1(e){return!ze(e,"__v_skip")&&Object.isExtensible(e)&&R0(e,"__v_skip",!0),e}const _n=e=>Le(e)?Lo(e):e,js=e=>Le(e)?zs(e):e;function lt(e){return e?e.__v_isRef===!0:!1}function xe(e){return rf(e,!1)}function ar(e){return rf(e,!0)}function rf(e,t){return lt(e)?e:new D1(e,t)}class D1{constructor(t,n){this.dep=new $i,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:Re(t),this._value=n?t:_n(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,r=this.__v_isShallow||nn(t)||sr(t);t=r?t:Re(t),wt(t,n)&&(this._rawValue=t,this._value=r?t:_n(t),this.dep.trigger())}}function z(e){return lt(e)?e.value:e}function Rt(e){return Ce(e)?e():z(e)}const O1={get:(e,t,n)=>t==="__v_raw"?e:z(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const o=e[t];return lt(o)&&!lt(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function of(e){return eo(e)?e:new Proxy(e,O1)}class P1{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new $i,{get:r,set:o}=t(n.track.bind(n),n.trigger.bind(n));this._get=r,this._set=o}get value(){return this._value=this._get()}set value(t){this._set(t)}}function B1(e){return new P1(e)}class $1{constructor(t,n,r){this._object=t,this._defaultValue=r,this.__v_isRef=!0,this._value=void 0,this._key=rn(n)?n:String(n),this._raw=Re(t);let o=!0,s=t;if(!Ee(t)||rn(this._key)||!Oi(this._key))do o=!Ii(s)||nn(s);while(o&&(s=s.__v_raw));this._shallow=o}get value(){let t=this._object[this._key];return this._shallow&&(t=z(t)),this._value=t===void 0?this._defaultValue:t}set value(t){if(this._shallow&<(this._raw[this._key])){const n=this._object[this._key];if(lt(n)){n.value=t;return}}this._object[this._key]=t}get dep(){return p1(this._raw,this._key)}}class R1{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function vl(e,t,n){return lt(e)?e:Ce(e)?new R1(e):Le(e)&&arguments.length>1?F1(e,t,n):xe(e)}function F1(e,t,n){return new $1(e,t,n)}class L1{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new $i(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Is-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&Ge!==this)return U0(this,!0),!0}get value(){const t=this.dep.track();return G0(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function I1(e,t,n=!1){let r,o;return Ce(e)?r=e:(r=e.get,o=e.set),new L1(r,o,n)}const Aa={},Za=new WeakMap;let Wr;function M1(e,t=!1,n=Wr){if(n){let r=Za.get(n);r||Za.set(n,r=[]),r.push(e)}}function z1(e,t,n=$e){const{immediate:r,deep:o,once:s,scheduler:a,augmentJob:i,call:u}=n,c=C=>o?C:nn(C)||o===!1||o===0?Xn(C,1):Xn(C);let l,d,p,h,g=!1,f=!1;if(lt(e)?(d=()=>e.value,g=nn(e)):eo(e)?(d=()=>c(e),g=!0):Ee(e)?(f=!0,g=e.some(C=>eo(C)||nn(C)),d=()=>e.map(C=>{if(lt(C))return C.value;if(eo(C))return c(C);if(Ce(C))return u?u(C,2):C()})):Ce(e)?t?d=u?()=>u(e,2):e:d=()=>{if(p){rr();try{p()}finally{or()}}const C=Wr;Wr=l;try{return u?u(e,3,[h]):e(h)}finally{Wr=C}}:d=cn,t&&o){const C=d,x=o===!0?1/0:o;d=()=>Xn(C(),x)}const m=M0(),v=()=>{l.stop(),m&&m.active&&cc(m.effects,l)};if(s&&t){const C=t;t=(...x)=>{const D=C(...x);return v(),D}}let y=f?new Array(e.length).fill(Aa):Aa;const w=C=>{if(!(!(l.flags&1)||!l.dirty&&!C))if(t){const x=l.run();if(C||o||g||(f?x.some((D,$)=>wt(D,y[$])):wt(x,y))){p&&p();const D=Wr;Wr=l;try{const $=[x,y===Aa?void 0:f&&y[0]===Aa?[]:y,h];y=x,u?u(t,3,$):t(...$)}finally{Wr=D}}}else l.run()};return i&&i(w),l=new z0(d),l.scheduler=a?()=>a(w,!1):w,h=C=>M1(C,!1,l),p=l.onStop=()=>{const C=Za.get(l);if(C){if(u)u(C,4);else for(const x of C)x();Za.delete(l)}},t?r?w(!0):y=l.run():a?a(w.bind(null,!0),!0):l.run(),v.pause=l.pause.bind(l),v.resume=l.resume.bind(l),v.stop=v,v}function Xn(e,t=1/0,n){if(t<=0||!Le(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,lt(e))Xn(e.value,t,n);else if(Ee(e))for(let r=0;r{Xn(r,t,n)});else if($0(e)){for(const r in e)Xn(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&Xn(e[r],t,n)}return e}function oa(e,t,n,r){try{return r?e(...r):e()}catch(o){Mi(o,t,n)}}function pn(e,t,n,r){if(Ce(e)){const o=oa(e,t,n,r);return o&&P0(o)&&o.catch(s=>{Mi(s,t,n)}),o}if(Ee(e)){const o=[];for(let s=0;s>>1,o=Ht[r],s=Us(o);s=Us(n)?Ht.push(e):Ht.splice(U1(t),0,e),e.flags|=1,af()}}function af(){Xa||(Xa=sf.then(cf))}function uf(e){if(!Ee(e))br&&e.id===-1?br.splice(Co+1,0,e):e.flags&1||(Do.push(e),e.flags|=1);else for(let t=0;tUs(n)-Us(r));if(Do.length=0,br){for(let n=0;ne.id==null?e.flags&2?-1:1/0:e.id;function cf(e){try{for(Pn=0;Pnde;function de(e,t=xt,n){if(!t||e._n)return e;const r=(...o)=>{r._d&&ni(-1);const s=Ya(t),a=nr.length;let i;try{i=e(...o)}finally{for(let u=nr.length;u>a;u--)wc();Ya(s),r._d&&ni(1)}return i};return r._n=!0,r._c=!0,r._d=!0,r}function Ln(e,t){if(xt===null)return e;const n=Ki(xt),r=e.dirs||(e.dirs=[]);for(let o=0;o1)return n&&Ce(t)?t.call(r&&r.proxy):t}}const W1=Symbol.for("v-scx"),q1=()=>st(W1);function ji(e,t){return Ui(e,null,t)}function K1(e,t){return Ui(e,null,{flush:"sync"})}function tt(e,t,n){return Ui(e,t,n)}function Ui(e,t,n=$e){const{immediate:r,deep:o,flush:s,once:a}=n,i=ct({},n),u=t&&r||!t&&s!=="post";let c;if(qs){if(s==="sync"){const h=q1();c=h.__watcherHandles||(h.__watcherHandles=[])}else if(!u){const h=()=>{};return h.stop=cn,h.resume=cn,h.pause=cn,h}}const l=$t;i.call=(h,g,f)=>pn(h,l,g,f);let d=!1;s==="post"?i.scheduler=h=>{Ut(h,l&&l.suspense)}:s!=="sync"&&(d=!0,i.scheduler=(h,g)=>{g?h():mc(h)}),i.augmentJob=h=>{t&&(h.flags|=4),d&&(h.flags|=2,l&&(h.id=l.uid,h.i=l))};const p=z1(e,t,i);return qs&&(c?c.push(p):u&&p()),p}function Z1(e,t,n){const r=this.proxy,o=We(e)?e.includes(".")?df(r,e):()=>r[e]:e.bind(r,r);let s;Ce(t)?s=t:(s=t.handler,n=t);const a=ua(this),i=Ui(o,s.bind(r),n);return a(),i}function df(e,t){const n=t.split(".");return()=>{let r=e;for(let o=0;oe.__isTeleport,qr=e=>e&&(e.disabled||e.disabled===""),X1=e=>e&&(e.defer||e.defer===""),_d=e=>typeof SVGElement<"u"&&e instanceof SVGElement,xd=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,yl=(e,t)=>{const n=e&&e.to;return We(n)?t?t(n):null:n},Y1={name:"Teleport",__isTeleport:!0,process(e,t,n,r,o,s,a,i,u,c){const{mc:l,pc:d,pbc:p,o:{insert:h,querySelector:g,createText:f,createComment:m,parentNode:v}}=c,y=qr(t.props);let{dynamicChildren:w}=t;const C=($,q,U)=>{$.shapeFlag&16&&l($.children,q,U,o,s,a,i,u)},x=($=t)=>{const q=qr($.props),U=$.target=yl($.props,g),B=bl(U,$,f,h);U&&(a!=="svg"&&_d(U)?a="svg":a!=="mathml"&&xd(U)&&(a="mathml"),o&&o.isCE&&(o.ce._teleportTargets||(o.ce._teleportTargets=new Set)).add(U),q||(C($,U,B),ms($,!1)))},D=$=>{const q=()=>{if(mr.get($)===q){if(mr.delete($),qr($.props)){const U=v($.el)||n;C($,U,$.anchor),ms($,!0)}x($)}};mr.set($,q),Ut(q,s)};if(e==null){const $=t.el=f(""),q=t.anchor=f("");if(h($,n,r),h(q,n,r),X1(t.props)||s&&s.pendingBranch){D(t);return}y&&(C(t,n,q),ms(t,!0)),x()}else{t.el=e.el;const $=t.anchor=e.anchor,q=mr.get(e);if(q){q.flags|=8,mr.delete(e),D(t);return}t.targetStart=e.targetStart;const U=t.target=e.target,B=t.targetAnchor=e.targetAnchor,re=qr(e.props),T=re?n:U,S=re?$:B;if(a==="svg"||_d(U)?a="svg":(a==="mathml"||xd(U))&&(a="mathml"),w?(p(e.dynamicChildren,w,T,o,s,a,i),Ec(e,t,!0)):u||d(e,t,T,S,o,s,a,i,!1),y)re?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Sa(t,n,$,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const V=yl(t.props,g);V&&(t.target=V,Sa(t,V,null,c,0))}else re&&Sa(t,U,B,c,1);ms(t,y)}},remove(e,t,n,{um:r,o:{remove:o}},s){const{shapeFlag:a,children:i,anchor:u,targetStart:c,targetAnchor:l,target:d,props:p}=e,h=qr(p),g=s||!h,f=mr.get(e);if(f&&(f.flags|=8,mr.delete(e)),d&&(o(c),o(l)),s&&o(u),!f&&(h||d)&&a&16)for(let m=0;m{e.isMounted=!0}),sa(()=>{e.isUnmounting=!0}),e}const on=[Function,Array],ff={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:on,onEnter:on,onAfterEnter:on,onEnterCancelled:on,onBeforeLeave:on,onLeave:on,onAfterLeave:on,onLeaveCancelled:on,onBeforeAppear:on,onAppear:on,onAfterAppear:on,onAppearCancelled:on},gf=e=>{const t=e.subTree;return t.component?gf(t.component):t},ey={name:"BaseTransition",props:ff,setup(e,{slots:t}){const n=jn(),r=Q1();return()=>{const o=t.default&&yf(t.default(),!0),s=o&&o.length?mf(o):n.subTree?he():void 0;if(!s)return;const a=Re(e),{mode:i}=a;if(r.isLeaving)return yu(s);const u=Ja(s);if(!u)return yu(s);let c=El(u,a,r,n,d=>c=d);u.type!==Ct&&Hs(u,c);let l=n.subTree&&Ja(n.subTree);if(l&&l.type!==Ct&&!Kr(l,u)&&gf(n).type!==Ct){let d=El(l,a,r,n);if(Hs(l,d),i==="out-in"&&u.type!==Ct)return r.isLeaving=!0,d.afterLeave=()=>{r.isLeaving=!1,n.job.flags&8||n.update(),delete d.afterLeave,l=void 0},yu(s);i==="in-out"&&u.type!==Ct?d.delayLeave=(p,h,g)=>{const f=vf(r,l);f[String(l.key)]=l,p[un]=()=>{h(),p[un]=void 0,delete c.delayedLeave,l=void 0},c.delayedLeave=()=>{g(),delete c.delayedLeave,l=void 0}}:l=void 0}else l&&(l=void 0);return s}}};function mf(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==Ct){t=n;break}}return t}const ty=ey;function vf(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function El(e,t,n,r,o){const{appear:s,mode:a,persisted:i=!1,onBeforeEnter:u,onEnter:c,onAfterEnter:l,onEnterCancelled:d,onBeforeLeave:p,onLeave:h,onAfterLeave:g,onLeaveCancelled:f,onBeforeAppear:m,onAppear:v,onAfterAppear:y,onAppearCancelled:w}=t,C=String(e.key),x=vf(n,e),D=(U,B)=>{U&&pn(U,r,9,B)},$=(U,B)=>{const re=B[1];D(U,B),Ee(U)?U.every(T=>T.length<=1)&&re():U.length<=1&&re()},q={mode:a,persisted:i,beforeEnter(U){let B=u;if(!n.isMounted)if(s)B=m||u;else return;U[un]&&U[un](!0);const re=x[C];re&&Kr(e,re)&&re.el[un]&&re.el[un](),D(B,[U])},enter(U){if(x[C]===e)return;let B=c,re=l,T=d;if(!n.isMounted)if(s)B=v||c,re=y||l,T=w||d;else return;let S=!1;U[ts]=se=>{S||(S=!0,se?D(T,[U]):D(re,[U]),q.delayedLeave&&q.delayedLeave(),U[ts]=void 0)};const V=U[ts].bind(null,!1);B?$(B,[U,V]):V()},leave(U,B){const re=String(e.key);if(U[ts]&&U[ts](!0),n.isUnmounting)return B();D(p,[U]);let T=!1;U[un]=V=>{T||(T=!0,B(),V?D(f,[U]):D(g,[U]),U[un]=void 0,x[re]===e&&delete x[re])};const S=U[un].bind(null,!1);x[re]=e,h?$(h,[U,S]):S()},clone(U){const B=El(U,t,n,r,o);return o&&o(B),B}};return q}function yu(e){if(Vi(e))return e=Or(e),e.children=null,e}function Ja(e){if(!Vi(e))return Hi(e.type)&&e.children?mf(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&Ce(n.default))return n.default()}}function Hs(e,t){if(e.shapeFlag&6&&e.component){e.transition=t;const n=e.component.subTree;Hs(Hi(n.type)&&Ja(n)||n,t)}else e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function yf(e,t=!1,n){let r=[],o=0;for(let s=0;s1)for(let s=0;sn.value,set:o=>n.value=o})}return n}function Ad(e,t){let n;return!!((n=Object.getOwnPropertyDescriptor(e,t))&&!n.configurable)}const Qa=new WeakMap;function As(e,t,n,r,o=!1){if(Ee(e)){e.forEach((f,m)=>As(f,t&&(Ee(t)?t[m]:t),n,r,o));return}if(Oo(r)&&!o){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&As(e,t,n,r.component.subTree);return}const s=r.shapeFlag&4?Ki(r.component):r.el,a=o?null:s,{i,r:u}=e,c=t&&t.r,l=i.refs===$e?i.refs={}:i.refs,d=i.setupState,p=Re(d),h=d===$e?D0:f=>Ad(l,f)?!1:ze(p,f),g=(f,m)=>!(m&&Ad(l,m));if(c!=null&&c!==u){if(Sd(t),We(c))l[c]=null,h(c)&&(d[c]=null);else if(lt(c)){const f=t;g(c,f.k)&&(c.value=null),f.k&&(l[f.k]=null)}}if(Ce(u))oa(u,i,12,[a,l]);else{const f=We(u),m=lt(u);if(f||m){const v=()=>{if(e.f){const y=f?h(u)?d[u]:l[u]:g()||!e.k?u.value:l[e.k];if(o)Ee(y)&&cc(y,s);else if(Ee(y))y.includes(s)||y.push(s);else if(f)l[u]=[s],h(u)&&(d[u]=l[u]);else{const w=[s];g(u,e.k)&&(u.value=w),e.k&&(l[e.k]=w)}}else f?(l[u]=a,h(u)&&(d[u]=a)):m&&(g(u,e.k)&&(u.value=a),e.k&&(l[e.k]=a))};if(a){const y=()=>{v(),Qa.delete(e)};y.id=-1,Qa.set(e,y),Ut(y,n)}else Sd(e),v()}}}function Sd(e){const t=Qa.get(e);t&&(t.flags|=8,Qa.delete(e))}qa().requestIdleCallback,qa().cancelIdleCallback;const Oo=e=>!!e.type.__asyncLoader,Vi=e=>e.type.__isKeepAlive;function ny(e,t){Ef(e,"a",t)}function ry(e,t){Ef(e,"da",t)}function Ef(e,t,n=$t){const r=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(Gi(t,r,n),n){let o=n.parent;for(;o&&o.parent;)Vi(o.parent.vnode)&&oy(r,t,n,o),o=o.parent}}function oy(e,t,n,r){const o=Gi(t,e,r,!0);ir(()=>{cc(r[t],o)},n)}function Gi(e,t,n=$t,r=!1){if(n){const o=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...a)=>{rr();const i=ua(n),u=pn(t,n,e,a);return i(),or(),u});return r?o.unshift(s):o.push(s),s}}const cr=e=>(t,n=$t)=>{(!qs||e==="sp")&&Gi(e,(...r)=>t(...r),n)},wf=cr("bm"),An=cr("m"),Cf=cr("bu"),sy=cr("u"),sa=cr("bum"),ir=cr("um"),ay=cr("sp"),iy=cr("rtg"),uy=cr("rtc");function ly(e,t=$t){Gi("ec",e,t)}const _f="components";function Ye(e,t){return Af(_f,e,!0,t)||e}const xf=Symbol.for("v-ndc");function aa(e){return We(e)?Af(_f,e,!1)||e:e||xf}function Af(e,t,n=!0,r=!1){const o=xt||$t;if(o){const s=o.type;{const i=Vy(s,!1);if(i&&(i===t||i===Lt(t)||i===Bi(Lt(t))))return s}const a=kd(o[e]||s[e],t)||kd(o.appContext[e],t);return!a&&r?s:a}}function kd(e,t){return e&&(e[t]||e[Lt(t)]||e[Bi(Lt(t))])}function Ss(e,t,n,r){let o;const s=n,a=Ee(e);if(a||We(e)){const i=a&&eo(e);let u=!1,c=!1;i&&(u=!nn(e),c=sr(e),e=Ri(e)),o=new Array(e.length);for(let l=0,d=e.length;lt(i,u,void 0,s));else{const i=Object.keys(e);o=new Array(i.length);for(let u=0,c=i.length;u{const s=r.fn(...o);return s&&(s.key=r.key),s}:r.fn)}return e}function be(e,t,n,r,o,s){if(n==null&&(n={}),xt.ce||xt.parent&&Oo(xt.parent)&&xt.parent.ce){const c=n,l=Object.keys(c).length>0;return t!=="default"&&(c.name=t),R(),ge(Xe,null,[ce("slot",c,r&&r())],l?-2:64)}let a=e[t];a&&a._c&&(a._d=!1);const i=nr.length;R();let u;try{const c=a&&Sf(a(n)),l=n.key||s||c&&c.key;u=ge(Xe,{key:(l&&!rn(l)?l:`_${t}`)+(!c&&r?"_fb":"")},c||(r?r():[]),c&&e._===1?64:-2)}catch(c){for(let l=nr.length;l>i;l--)wc();throw c}finally{a&&a._c&&(a._d=!0)}return!o&&u.scopeId&&(u.slotScopeIds=[u.scopeId+"-s"]),u}function Sf(e){return e.some(t=>Gs(t)?!(t.type===Ct||t.type===Xe&&!Sf(t.children)):!0)?e:null}function cy(e,t){const n={};for(const r in e)n[Fa(r)]=e[r];return n}const wl=e=>e?qf(e)?Ki(e):wl(e.parent):null,ks=ct(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>wl(e.parent),$root:e=>wl(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Nf(e),$forceUpdate:e=>e.f||(e.f=()=>{mc(e.update)}),$nextTick:e=>e.n||(e.n=wn.bind(e.proxy)),$watch:e=>Z1.bind(e)}),bu=(e,t)=>e!==$e&&!e.__isScriptSetup&&ze(e,t),dy={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:o,props:s,accessCache:a,type:i,appContext:u}=e;if(t[0]!=="$"){const p=a[t];if(p!==void 0)switch(p){case 1:return r[t];case 2:return o[t];case 4:return n[t];case 3:return s[t]}else{if(bu(r,t))return a[t]=1,r[t];if(o!==$e&&ze(o,t))return a[t]=2,o[t];if(ze(s,t))return a[t]=3,s[t];if(n!==$e&&ze(n,t))return a[t]=4,n[t];Cl&&(a[t]=0)}}const c=ks[t];let l,d;if(c)return t==="$attrs"&&Bt(e.attrs,"get",""),c(e);if((l=i.__cssModules)&&(l=l[t]))return l;if(n!==$e&&ze(n,t))return a[t]=4,n[t];if(d=u.config.globalProperties,ze(d,t))return d[t]},set({_:e},t,n){const{data:r,setupState:o,ctx:s}=e;return bu(o,t)?(o[t]=n,!0):r!==$e&&ze(r,t)?(r[t]=n,!0):ze(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(s[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:o,props:s,type:a}},i){let u;return!!(n[i]||e!==$e&&i[0]!=="$"&&ze(e,i)||bu(t,i)||ze(s,i)||ze(r,i)||ze(ks,i)||ze(o.config.globalProperties,i)||(u=a.__cssModules)&&u[i])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:ze(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Wi(){return kf().slots}function py(){return kf().attrs}function kf(e){const t=jn();return t.setupContext||(t.setupContext=Zf(t))}function ei(e){return Ee(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function Dr(e,t){return!e||!t?e||t:Ee(e)&&Ee(t)?e.concat(t):ct({},ei(e),ei(t))}let Cl=!0;function hy(e){const t=Nf(e),n=e.proxy,r=e.ctx;Cl=!1,t.beforeCreate&&Td(t.beforeCreate,e,"bc");const{data:o,computed:s,methods:a,watch:i,provide:u,inject:c,created:l,beforeMount:d,mounted:p,beforeUpdate:h,updated:g,activated:f,deactivated:m,beforeDestroy:v,beforeUnmount:y,destroyed:w,unmounted:C,render:x,renderTracked:D,renderTriggered:$,errorCaptured:q,serverPrefetch:U,expose:B,inheritAttrs:re,components:T,directives:S,filters:V}=t;if(c&&fy(c,r,null),a)for(const Z in a){const X=a[Z];Ce(X)&&(r[Z]=X.bind(n))}if(o){const Z=o.call(n,n);Le(Z)&&(e.data=Lo(Z))}if(Cl=!0,s)for(const Z in s){const X=s[Z],ne=Ce(X)?X.bind(n,n):Ce(X.get)?X.get.bind(n,n):cn,ee=!Ce(X)&&Ce(X.set)?X.set.bind(n):cn,J=oe({get:ne,set:ee});Object.defineProperty(r,Z,{enumerable:!0,configurable:!0,get:()=>J.value,set:Q=>J.value=Q})}if(i)for(const Z in i)Tf(i[Z],r,n,Z);if(u){const Z=Ce(u)?u.call(n):u;Reflect.ownKeys(Z).forEach(X=>{Zt(X,Z[X])})}l&&Td(l,e,"c");function se(Z,X){Ee(X)?X.forEach(ne=>Z(ne.bind(n))):X&&Z(X.bind(n))}if(se(wf,d),se(An,p),se(Cf,h),se(sy,g),se(ny,f),se(ry,m),se(ly,q),se(uy,D),se(iy,$),se(sa,y),se(ir,C),se(ay,U),Ee(B))if(B.length){const Z=e.exposed||(e.exposed={});B.forEach(X=>{Object.defineProperty(Z,X,{get:()=>n[X],set:ne=>n[X]=ne,enumerable:!0})})}else e.exposed||(e.exposed={});x&&e.render===cn&&(e.render=x),re!=null&&(e.inheritAttrs=re),T&&(e.components=T),S&&(e.directives=S),U&&bf(e)}function fy(e,t,n=cn){Ee(e)&&(e=_l(e));for(const r in e){const o=e[r];let s;Le(o)?"default"in o?s=st(o.from||r,o.default,!0):s=st(o.from||r):s=st(o),lt(s)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>s.value,set:a=>s.value=a}):t[r]=s}}function Td(e,t,n){pn(Ee(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function Tf(e,t,n,r){let o=r.includes(".")?df(n,r):()=>n[r];if(We(e)){const s=t[e];Ce(s)&&tt(o,s)}else if(Ce(e))tt(o,e.bind(n));else if(Le(e))if(Ee(e))e.forEach(s=>Tf(s,t,n,r));else{const s=Ce(e.handler)?e.handler.bind(n):t[e.handler];Ce(s)&&tt(o,s,e)}}function Nf(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:o,optionsCache:s,config:{optionMergeStrategies:a}}=e.appContext,i=s.get(t);let u;return i?u=i:!o.length&&!n&&!r?u=t:(u={},o.length&&o.forEach(c=>ti(u,c,a,!0)),ti(u,t,a)),Le(t)&&s.set(t,u),u}function ti(e,t,n,r=!1){const{mixins:o,extends:s}=t;s&&ti(e,s,n,!0),o&&o.forEach(a=>ti(e,a,n,!0));for(const a in t)if(!(r&&a==="expose")){const i=gy[a]||n&&n[a];e[a]=i?i(e[a],t[a]):t[a]}return e}const gy={data:Nd,props:Dd,emits:Dd,methods:vs,computed:vs,beforeCreate:zt,created:zt,beforeMount:zt,mounted:zt,beforeUpdate:zt,updated:zt,beforeDestroy:zt,beforeUnmount:zt,destroyed:zt,unmounted:zt,activated:zt,deactivated:zt,errorCaptured:zt,serverPrefetch:zt,components:vs,directives:vs,watch:vy,provide:Nd,inject:my};function Nd(e,t){return t?e?function(){return ct(Ce(e)?e.call(this,this):e,Ce(t)?t.call(this,this):t)}:t:e}function my(e,t){return vs(_l(e),_l(t))}function _l(e){if(Ee(e)){const t={};for(let n=0;n{let l,d=$e,p;return K1(()=>{const h=e[o];wt(l,h)&&(l=h,c())}),{get(){return u(),n.get?n.get(l):l},set(h){const g=n.set?n.set(h):h;if(!wt(g,l)&&!(d!==$e&&wt(h,d)))return;const f=r.vnode.props,m=!!(f&&(t in f||o in f||s in f)&&(`onUpdate:${t}`in f||`onUpdate:${o}`in f||`onUpdate:${s}`in f));m||(l=h,c()),r.emit(`update:${t}`,g),wt(h,d)&&(wt(h,g)&&!wt(g,p)||m&&d!==$e&&!wt(g,l))&&c(),d=h,p=g}}});return i[Symbol.iterator]=()=>{let u=0;return{next(){return u<2?{value:u++?a||$e:i,done:!1}:{done:!0}}}},i}const Of=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Lt(t)}Modifiers`]||e[`${lr(t)}Modifiers`];function Ey(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||$e;let o=n;const s=t.startsWith("update:"),a=s&&Of(r,t.slice(7));a&&(a.trim&&(o=n.map(l=>We(l)?l.trim():l)),a.number&&(o=n.map(dc)));let i,u=r[i=Fa(t)]||r[i=Fa(Lt(t))];!u&&s&&(u=r[i=Fa(lr(t))]),u&&pn(u,e,6,o);const c=r[i+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[i])return;e.emitted[i]=!0,pn(c,e,6,o)}}const wy=new WeakMap;function Pf(e,t,n=!1){const r=n?wy:t.emitsCache,o=r.get(e);if(o!==void 0)return o;const s=e.emits;let a={},i=!1;if(!Ce(e)){const u=c=>{const l=Pf(c,t,!0);l&&(i=!0,ct(a,l))};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}return!s&&!i?(Le(e)&&r.set(e,null),null):(Ee(s)?s.forEach(u=>a[u]=null):ct(a,s),Le(e)&&r.set(e,a),a)}function qi(e,t){return!e||!Ni(t)?!1:(t=t.slice(2),t=t==="Once"?t:t.replace(/Once$/,""),ze(e,t[0].toLowerCase()+t.slice(1))||ze(e,lr(t))||ze(e,t))}function Od(e){const{type:t,vnode:n,proxy:r,withProxy:o,propsOptions:[s],slots:a,attrs:i,emit:u,render:c,renderCache:l,props:d,data:p,setupState:h,ctx:g,inheritAttrs:f}=e,m=Ya(e);let v,y;try{if(n.shapeFlag&4){const C=o||r,x=C;v=Fn(c.call(x,C,l,d,h,p,g)),y=i}else{const C=t;v=Fn(C.length>1?C(d,{attrs:i,slots:a,emit:u}):C(d,null)),y=t.props?i:Cy(i)}}catch(C){nr.length=0,Mi(C,e,1),v=ce(Ct)}let w=v;if(y&&f!==!1){const C=Object.keys(y),{shapeFlag:x}=w;C.length&&x&7&&(s&&C.some(Di)&&(y=_y(y,s)),w=Or(w,y,!1,!0))}if(n.dirs&&(w=Or(w,null,!1,!0),w.dirs=w.dirs?w.dirs.concat(n.dirs):n.dirs),n.transition){const C=Hi(w.type)&&Ja(w)||w;Hs(C,n.transition)}return v=w,Ya(m),v}const Cy=e=>{let t;for(const n in e)(n==="class"||n==="style"||Ni(n))&&((t||(t={}))[n]=e[n]);return t},_y=(e,t)=>{const n={};for(const r in e)(!Di(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function xy(e,t,n){const{props:r,children:o,component:s}=e,{props:a,children:i,patchFlag:u}=t,c=s.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&u>=0){if(u&1024)return!0;if(u&16)return r?Pd(r,a,c):!!a;if(u&8){const l=t.dynamicProps;for(let d=0;dObject.create($f),Ff=e=>Object.getPrototypeOf(e)===$f;function Sy(e,t,n,r=!1){const o={},s=Rf();e.propsDefaults=Object.create(null),Lf(e,t,o,s);for(const a in e.propsOptions[0])a in o||(o[a]=void 0);n?e.props=r?o:nf(o):e.type.props?e.props=o:e.props=s,e.attrs=s}function ky(e,t,n,r){const{props:o,attrs:s,vnode:{patchFlag:a}}=e,i=Re(o),[u]=e.propsOptions;let c=!1;if((r||a>0)&&!(a&16)){if(a&8){const l=e.vnode.dynamicProps;for(let d=0;d{u=!0;const[p,h]=If(d,t,!0);ct(a,p),h&&i.push(...h)};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}if(!s&&!u)return Le(e)&&r.set(e,To),To;if(Ee(s))for(let l=0;le==="_"||e==="_ctx"||e==="$stable",bc=e=>Ee(e)?e.map(Fn):[Fn(e)],Ny=(e,t,n)=>{if(t._n)return t;const r=de((...o)=>bc(t(...o)),n);return r._c=!1,r},Mf=(e,t,n)=>{const r=e._ctx;for(const o in e){if(yc(o))continue;const s=e[o];if(Ce(s))t[o]=Ny(o,s,r);else if(s!=null){const a=bc(s);t[o]=()=>a}}},zf=(e,t)=>{const n=bc(t);e.slots.default=()=>n},jf=(e,t,n)=>{for(const r in t)(n||!yc(r))&&(e[r]=t[r])},Dy=(e,t,n)=>{const r=e.slots=Rf();if(e.vnode.shapeFlag&32){const o=t._;o?(jf(r,t,n),n&&R0(r,"_",o,!0)):Mf(t,r)}else t&&zf(e,t)},Oy=(e,t,n)=>{const{vnode:r,slots:o}=e;let s=!0,a=$e;if(r.shapeFlag&32){const i=t._;i?n&&i===1?s=!1:jf(o,t,n):(s=!t.$stable,Mf(t,o)),a=t}else t&&(zf(e,t),a={default:1});if(s)for(const i in o)!yc(i)&&a[i]==null&&delete o[i]},Ut=Fy;function Py(e){return By(e)}function By(e,t){const n=qa();n.__VUE__=!0;const{insert:r,remove:o,patchProp:s,createElement:a,createText:i,createComment:u,setText:c,setElementText:l,parentNode:d,nextSibling:p,setScopeId:h=cn,insertStaticContent:g}=e,f=(b,_,k,O=null,I=null,P=null,G=void 0,te=null,Y=!!_.dynamicChildren)=>{if(b===_)return;b&&!Kr(b,_)&&(O=A(b),pe(b,I,P,!0),b=null),_.patchFlag===-2&&(Y=!1,_.dynamicChildren=null);const{type:W,ref:fe,shapeFlag:ie}=_;switch(W){case ia:m(b,_,k,O);break;case Ct:v(b,_,k,O);break;case Ia:b==null&&y(_,k,O,G);break;case Xe:T(b,_,k,O,I,P,G,te,Y);break;default:ie&1?x(b,_,k,O,I,P,G,te,Y):ie&6?S(b,_,k,O,I,P,G,te,Y):(ie&64||ie&128)&&W.process(b,_,k,O,I,P,G,te,Y,j)}fe!=null&&I?As(fe,b&&b.ref,P,_||b,!_):fe==null&&b&&b.ref!=null&&As(b.ref,null,P,b,!0)},m=(b,_,k,O)=>{if(b==null)r(_.el=i(_.children),k,O);else{const I=_.el=b.el;_.children!==b.children&&c(I,_.children)}},v=(b,_,k,O)=>{b==null?r(_.el=u(_.children||""),k,O):_.el=b.el},y=(b,_,k,O)=>{[b.el,b.anchor]=g(b.children,_,k,O,b.el,b.anchor)},w=({el:b,anchor:_},k,O)=>{let I;for(;b&&b!==_;)I=p(b),r(b,k,O),b=I;r(_,k,O)},C=({el:b,anchor:_})=>{let k;for(;b&&b!==_;)k=p(b),o(b),b=k;o(_)},x=(b,_,k,O,I,P,G,te,Y)=>{if(_.type==="svg"?G="svg":_.type==="math"&&(G="mathml"),b==null)D(_,k,O,I,P,G,te,Y);else{const W=b.el&&b.el._isVueCE?b.el:null;try{W&&W._beginPatch(),U(b,_,I,P,G,te,Y)}finally{W&&W._endPatch()}}},D=(b,_,k,O,I,P,G,te)=>{let Y,W;const{props:fe,shapeFlag:ie,transition:ve,dirs:ye}=b;if(Y=b.el=a(b.type,P,fe&&fe.is,fe),ie&8?l(Y,b.children):ie&16&&q(b.children,Y,null,O,I,Eu(b,P),G,te),ye&&Ir(b,null,O,"created"),$(Y,b,b.scopeId,G,O),fe){for(const De in fe)De!=="value"&&!Cs(De)&&s(Y,De,null,fe[De],P,O);"value"in fe&&s(Y,"value",null,fe.value,P),(W=fe.onVnodeBeforeMount)&&On(W,O,b)}ye&&Ir(b,null,O,"beforeMount");const Ae=$y(I,ve);Ae&&ve.beforeEnter(Y),r(Y,_,k),((W=fe&&fe.onVnodeMounted)||Ae||ye)&&Ut(()=>{W&&On(W,O,b),Ae&&ve.enter(Y),ye&&Ir(b,null,O,"mounted")},I)},$=(b,_,k,O,I)=>{if(k&&h(b,k),O)for(let P=0;P{for(let W=Y;W{const te=_.el=b.el;let{patchFlag:Y,dynamicChildren:W,dirs:fe}=_;Y|=b.patchFlag&16;const ie=b.props||$e,ve=_.props||$e;let ye;if(k&&Mr(k,!1),(ye=ve.onVnodeBeforeUpdate)&&On(ye,k,_,b),fe&&Ir(_,b,k,"beforeUpdate"),k&&Mr(k,!0),W&&(!b.dynamicChildren||b.dynamicChildren.length!==W.length)&&(Y=0,G=!1,W=null),(ie.innerHTML&&ve.innerHTML==null||ie.textContent&&ve.textContent==null)&&l(te,""),W?B(b.dynamicChildren,W,te,k,O,Eu(_,I),P):G||ne(b,_,te,null,k,O,Eu(_,I),P,!1),Y>0){if(Y&16)re(te,ie,ve,k,I);else if(Y&2&&ie.class!==ve.class&&s(te,"class",null,ve.class,I),Y&4&&s(te,"style",ie.style,ve.style,I),Y&8){const Ae=_.dynamicProps;for(let De=0;De{ye&&On(ye,k,_,b),fe&&Ir(_,b,k,"updated")},O)},B=(b,_,k,O,I,P,G)=>{for(let te=0;te<_.length;te++){const Y=b[te],W=_[te],fe=Y.el&&(Y.type===Xe||!Kr(Y,W)||Y.shapeFlag&198)?d(Y.el):k;f(Y,W,fe,null,O,I,P,G,!0)}},re=(b,_,k,O,I)=>{if(_!==k){if(_!==$e)for(const P in _)!Cs(P)&&!(P in k)&&s(b,P,_[P],null,I,O);for(const P in k){if(Cs(P))continue;const G=k[P],te=_[P];G!==te&&P!=="value"&&s(b,P,te,G,I,O)}"value"in k&&s(b,"value",_.value,k.value,I)}},T=(b,_,k,O,I,P,G,te,Y)=>{const W=_.el=b?b.el:i(""),fe=_.anchor=b?b.anchor:i("");let{patchFlag:ie,dynamicChildren:ve,slotScopeIds:ye}=_;ye&&(te=te?te.concat(ye):ye),b==null?(r(W,k,O),r(fe,k,O),q(_.children||[],k,fe,I,P,G,te,Y)):ie>0&&ie&64&&ve&&b.dynamicChildren&&b.dynamicChildren.length===ve.length?(B(b.dynamicChildren,ve,k,I,P,G,te),(_.key!=null||I&&_===I.subTree)&&Ec(b,_,!0)):ne(b,_,k,fe,I,P,G,te,Y)},S=(b,_,k,O,I,P,G,te,Y)=>{_.slotScopeIds=te,b==null?_.shapeFlag&512?I.ctx.activate(_,k,O,G,Y):V(_,k,O,I,P,G,Y):se(b,_,Y)},V=(b,_,k,O,I,P,G)=>{const te=b.component=zy(b,O,I);if(Vi(b)&&(te.ctx.renderer=j),jy(te,!1,G),te.asyncDep){if(I&&I.registerDep(te,Z,G),!b.el){const Y=te.subTree=ce(Ct);v(null,Y,_,k),b.placeholder=Y.el}}else Z(te,b,_,k,I,P,G)},se=(b,_,k)=>{const O=_.component=b.component;if(xy(b,_,k))if(O.asyncDep&&!O.asyncResolved){X(O,_,k);return}else O.next=_,O.update();else _.el=b.el,O.vnode=_},Z=(b,_,k,O,I,P,G)=>{const te=()=>{if(b.isMounted){let{next:ie,bu:ve,u:ye,parent:Ae,vnode:De}=b;{const Et=Uf(b);if(Et){ie&&(ie.el=De.el,X(b,ie,G)),Et.asyncDep.then(()=>{Ut(()=>{b.isUnmounted||W()},I)});return}}let Ie=ie,Ke;Mr(b,!1),ie?(ie.el=De.el,X(b,ie,G)):ie=De,ve&&La(ve),(Ke=ie.props&&ie.props.onVnodeBeforeUpdate)&&On(Ke,Ae,ie,De),Mr(b,!0);const ot=Od(b),Wt=b.subTree;b.subTree=ot,f(Wt,ot,d(Wt.el),A(Wt),b,I,P),ie.el=ot.el,Ie===null&&Ay(b,ot.el),ye&&Ut(ye,I),(Ke=ie.props&&ie.props.onVnodeUpdated)&&Ut(()=>On(Ke,Ae,ie,De),I)}else{let ie;const{el:ve,props:ye}=_,{bm:Ae,m:De,parent:Ie,root:Ke,type:ot}=b,Wt=Oo(_);Mr(b,!1),Ae&&La(Ae),!Wt&&(ie=ye&&ye.onVnodeBeforeMount)&&On(ie,Ie,_),Mr(b,!0);{Ke.ce&&Ke.ce._hasShadowRoot()&&Ke.ce._injectChildStyle(ot,b.parent?b.parent.type:void 0);const Et=b.subTree=Od(b);f(null,Et,k,O,b,I,P),_.el=Et.el}if(De&&Ut(De,I),!Wt&&(ie=ye&&ye.onVnodeMounted)){const Et=_;Ut(()=>On(ie,Ie,Et),I)}(_.shapeFlag&256||Ie&&Oo(Ie.vnode)&&Ie.vnode.shapeFlag&256)&&b.a&&Ut(b.a,I),b.isMounted=!0,_=k=O=null}};b.scope.on();const Y=b.effect=new z0(te);b.scope.off();const W=b.update=Y.run.bind(Y),fe=b.job=Y.runIfDirty.bind(Y);fe.i=b,fe.id=b.uid,Y.scheduler=()=>mc(fe),Mr(b,!0),W()},X=(b,_,k)=>{_.component=b;const O=b.vnode.props;b.vnode=_,b.next=null,ky(b,_.props,O,k),Oy(b,_.children,k),rr(),Cd(b),or()},ne=(b,_,k,O,I,P,G,te,Y=!1)=>{const W=b&&b.children,fe=b?b.shapeFlag:0,ie=_.children,{patchFlag:ve,shapeFlag:ye}=_;if(ve>0){if(ve&128){J(W,ie,k,O,I,P,G,te,Y);return}else if(ve&256){ee(W,ie,k,O,I,P,G,te,Y);return}}ye&8?(fe&16&&me(W,I,P),ie!==W&&l(k,ie)):fe&16?ye&16?J(W,ie,k,O,I,P,G,te,Y):me(W,I,P,!0):(fe&8&&l(k,""),ye&16&&q(ie,k,O,I,P,G,te,Y))},ee=(b,_,k,O,I,P,G,te,Y)=>{b=b||To,_=_||To;const W=b.length,fe=_.length,ie=Math.min(W,fe);let ve;for(ve=0;vefe?me(b,I,P,!0,!1,ie):q(_,k,O,I,P,G,te,Y,ie)},J=(b,_,k,O,I,P,G,te,Y)=>{let W=0;const fe=_.length;let ie=b.length-1,ve=fe-1;for(;W<=ie&&W<=ve;){const ye=b[W],Ae=_[W]=Y?qn(_[W]):Fn(_[W]);if(Kr(ye,Ae))f(ye,Ae,k,null,I,P,G,te,Y);else break;W++}for(;W<=ie&&W<=ve;){const ye=b[ie],Ae=_[ve]=Y?qn(_[ve]):Fn(_[ve]);if(Kr(ye,Ae))f(ye,Ae,k,null,I,P,G,te,Y);else break;ie--,ve--}if(W>ie){if(W<=ve){const ye=ve+1,Ae=yeve)for(;W<=ie;)pe(b[W],I,P,!0),W++;else{const ye=W,Ae=W,De=new Map;for(W=Ae;W<=ve;W++){const kt=_[W]=Y?qn(_[W]):Fn(_[W]);kt.key!=null&&De.set(kt.key,W)}let Ie,Ke=0;const ot=ve-Ae+1;let Wt=!1,Et=0;const Sn=new Array(ot);for(W=0;W=ot){pe(kt,I,P,!0);continue}let Jt;if(kt.key!=null)Jt=De.get(kt.key);else for(Ie=Ae;Ie<=ve;Ie++)if(Sn[Ie-Ae]===0&&Kr(kt,_[Ie])){Jt=Ie;break}Jt===void 0?pe(kt,I,P,!0):(Sn[Jt-Ae]=W+1,Jt>=Et?Et=Jt:Wt=!0,f(kt,_[Jt],k,null,I,P,G,te,Y),Ke++)}const Rr=Wt?Ry(Sn):To;for(Ie=Rr.length-1,W=ot-1;W>=0;W--){const kt=Ae+W,Jt=_[kt],Xo=_[kt+1],co=kt+1{const{el:P,type:G,transition:te,children:Y,shapeFlag:W}=b;if(W&6){Q(b.component.subTree,_,k,O);return}if(W&128){b.suspense.move(_,k,O);return}if(W&64){G.move(b,_,k,j);return}if(G===Xe){r(P,_,k);for(let fe=0;fete.enter(P),I));else{const{leave:fe,delayLeave:ie,afterLeave:ve}=te,ye=()=>{b.ctx.isUnmounted?o(P):r(P,_,k)},Ae=()=>{const De=P._isLeaving||!!P[un];P._isLeaving&&P[un](!0),te.persisted&&!De?ye():fe(P,()=>{ye(),ve&&ve()})};ie?ie(P,ye,Ae):Ae()}else r(P,_,k)},pe=(b,_,k,O=!1,I=!1)=>{const{type:P,props:G,ref:te,children:Y,dynamicChildren:W,shapeFlag:fe,patchFlag:ie,dirs:ve,cacheIndex:ye,memo:Ae}=b;if(ie===-2&&(I=!1),te!=null&&(rr(),As(te,null,k,b,!0),or()),ye!=null&&(_.renderCache[ye]=void 0),fe&256){_.ctx.deactivate(b);return}const De=fe&1&&ve,Ie=!Oo(b);let Ke;if(Ie&&(Ke=G&&G.onVnodeBeforeUnmount)&&On(Ke,_,b),fe&6)ke(b.component,k,O);else{if(fe&128){b.suspense.unmount(k,O);return}De&&Ir(b,null,_,"beforeUnmount"),fe&64?b.type.remove(b,_,k,j,O):W&&!W.hasOnce&&(P!==Xe||ie>0&&ie&64)?me(W,_,k,!1,!0):(P===Xe&&ie&384||!I&&fe&16)&&me(Y,_,k),O&&Se(b)}const ot=Ae!=null&&ye==null;(Ie&&(Ke=G&&G.onVnodeUnmounted)||De||ot)&&Ut(()=>{Ke&&On(Ke,_,b),De&&Ir(b,null,_,"unmounted"),ot&&(b.el=null)},k)},Se=b=>{const{type:_,el:k,anchor:O,transition:I}=b;if(_===Xe){qe(k,O);return}if(_===Ia){C(b);return}const P=()=>{o(k),I&&!I.persisted&&I.afterLeave&&I.afterLeave()};if(b.shapeFlag&1&&I&&!I.persisted){const{leave:G,delayLeave:te}=I,Y=()=>G(k,P);te?te(b.el,P,Y):Y()}else P()},qe=(b,_)=>{let k;for(;b!==_;)k=p(b),o(b),b=k;o(_)},ke=(b,_,k)=>{const{bum:O,scope:I,job:P,subTree:G,um:te,m:Y,a:W}=b;$d(Y),$d(W),O&&La(O),I.stop(),P&&(P.flags|=8,pe(G,b,_,k)),te&&Ut(te,_),Ut(()=>{b.isUnmounted=!0},_)},me=(b,_,k,O=!1,I=!1,P=0)=>{for(let G=P;G{if(b.shapeFlag&6)return A(b.component.subTree);if(b.shapeFlag&128)return b.suspense.next();const _=p(b.anchor||b.el),k=_&&_[pf];return k?p(k):_};let F=!1;const L=(b,_,k)=>{let O;b==null?_._vnode&&(pe(_._vnode,null,null,!0),O=_._vnode.component):f(_._vnode||null,b,_,null,null,null,k),_._vnode=b,F||(F=!0,Cd(O),lf(),F=!1)},j={p:f,um:pe,m:Q,r:Se,mt:V,mc:q,pc:ne,pbc:B,n:A,o:e};return{render:L,hydrate:void 0,createApp:by(L)}}function Eu({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function Mr({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function $y(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Ec(e,t,n=!1){const r=e.children,o=t.children;if(Ee(r)&&Ee(o))for(let s=0;s>1,e[n[i]]0&&(t[r]=n[s-1]),n[s]=r)}}for(s=n.length,a=n[s-1];s-- >0;)n[s]=a,a=t[a];return n}function Uf(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Uf(t)}function $d(e){if(e)for(let t=0;te.__isSuspense;function Fy(e,t){t&&t.pendingBranch?Ee(e)?t.effects.push(...e):t.effects.push(e):uf(e)}const Xe=Symbol.for("v-fgt"),ia=Symbol.for("v-txt"),Ct=Symbol.for("v-cmt"),Ia=Symbol.for("v-stc"),nr=[];let tn=null;function R(e=!1){nr.push(tn=e?null:[])}function wc(){nr.pop(),tn=nr[nr.length-1]||null}let Vs=1;function ni(e,t=!1){Vs+=e,e<0&&tn&&t&&(tn.hasOnce=!0)}function Gf(e){return e.dynamicChildren=Vs>0?tn||To:null,wc(),Vs>0&&tn&&tn.push(e),e}function K(e,t,n,r,o,s){return Gf(ae(e,t,n,r,o,s,!0))}function ge(e,t,n,r,o){return Gf(ce(e,t,n,r,o,!0))}function Gs(e){return e?e.__v_isVNode===!0:!1}function Kr(e,t){return e.type===t.type&&e.key===t.key}const Wf=({key:e})=>e??null,Ma=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?We(e)||lt(e)||Ce(e)?{i:xt,r:e,k:t,f:!!n}:e:null);function ae(e,t=null,n=null,r=0,o=null,s=e===Xe?0:1,a=!1,i=!1){const u={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Wf(t),ref:t&&Ma(t),scopeId:zi,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:r,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:xt};return i?(ri(u,n),s&128&&e.normalize(u)):n&&(u.shapeFlag|=We(n)?8:16),Vs>0&&!a&&tn&&(u.patchFlag>0||s&6)&&u.patchFlag!==32&&tn.push(u),u}const ce=Ly;function Ly(e,t=null,n=null,r=0,o=null,s=!1){if((!e||e===xf)&&(e=Ct),Gs(e)){const i=Or(e,t,!0);return n&&ri(i,n),Vs>0&&!s&&tn&&(i.shapeFlag&6?tn[tn.indexOf(e)]=i:tn.push(i)),i.patchFlag=-2,i}if(Gy(e)&&(e=e.__vccOpts),t){t=Io(t);let{class:i,style:u}=t;i&&!We(i)&&(t.class=Be(i)),Le(u)&&(Ii(u)&&!Ee(u)&&(u=ct({},u)),t.style=dn(u))}const a=We(e)?1:Vf(e)?128:Hi(e)?64:Le(e)?4:Ce(e)?2:0;return ae(e,t,n,r,o,a,s,!0)}function Io(e){return e?Ii(e)||Ff(e)?ct({},e):e:null}function Or(e,t,n=!1,r=!1){const{props:o,ref:s,patchFlag:a,children:i,transition:u}=e,c=t?ht(o||{},t):o,l={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&Wf(c),ref:t&&t.ref?n&&s?Ee(s)?s.concat(Ma(t)):[s,Ma(t)]:Ma(t):s,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Xe?a===-1?16:a|16:a,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:u,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Or(e.ssContent),ssFallback:e.ssFallback&&Or(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return u&&r&&Hs(l,u.clone(l)),l}function bt(e=" ",t=0){return ce(ia,null,e,t)}function he(e="",t=!1){return t?(R(),ge(Ct,null,e)):ce(Ct,null,e)}function Fn(e){return e==null||typeof e=="boolean"?ce(Ct):Ee(e)?ce(Xe,null,e.slice()):Gs(e)?qn(e):ce(ia,null,String(e))}function qn(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Or(e)}function ri(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(Ee(t))n=16;else if(typeof t=="object")if(r&65){const o=t.default;o&&(o._c&&(o._d=!1),ri(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!Ff(t)?t._ctx=xt:o===3&&xt&&(xt.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else if(Ce(t)){if(r&65){ri(e,{default:t});return}t={default:t,_ctx:xt},n=32}else t=String(t),r&64?(n=16,t=[bt(t)]):n=8;e.children=t,e.shapeFlag|=n}function ht(...e){const t={};for(let n=0;n$t||xt;let oi,Ws;{const e=qa(),t=(n,r)=>{let o;return(o=e[n])||(o=e[n]=[]),o.push(r),s=>{o.length>1?o.forEach(a=>a(s)):o[0](s)}};oi=t("__VUE_INSTANCE_SETTERS__",n=>$t=n),Ws=t("__VUE_SSR_SETTERS__",n=>qs=n)}const ua=e=>{const t=$t;return oi(e),e.scope.on(),()=>{e.scope.off(),oi(t)}},Rd=()=>{$t&&$t.scope.off(),oi(null)};function qf(e){return e.vnode.shapeFlag&4}let qs=!1;function jy(e,t=!1,n=!1){t&&Ws(t);const{props:r,children:o}=e.vnode,s=qf(e);Sy(e,r,s,t),Dy(e,o,n||t);const a=s?Uy(e,t):void 0;return t&&Ws(!1),a}function Uy(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,dy);const{setup:r}=n;if(r){rr();const o=e.setupContext=r.length>1?Zf(e):null,s=ua(e),a=oa(r,e,0,[e.props,o]),i=P0(a);if(or(),s(),(i||e.sp)&&!Oo(e)&&bf(e),i){if(a.then(Rd,Rd),t)return a.then(u=>{Ws(!0);try{Fd(e,u,t)}finally{Ws(!1)}}).catch(u=>{Mi(u,e,0)});e.asyncDep=a}else Fd(e,a)}else Kf(e)}function Fd(e,t,n){Ce(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Le(t)&&(e.setupState=of(t)),Kf(e)}function Kf(e,t,n){const r=e.type;e.render||(e.render=r.render||cn);{const o=ua(e);rr();try{hy(e)}finally{or(),o()}}}const Hy={get(e,t){return Bt(e,"get",""),e[t]}};function Zf(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Hy),slots:e.slots,emit:e.emit,expose:t}}function Ki(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(of(N1(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in ks)return ks[n](e)},has(t,n){return n in t||n in ks}})):e.proxy}function Vy(e,t=!0){return Ce(e)?e.displayName||e.name:e.name||t&&e.__name}function Gy(e){return Ce(e)&&"__vccOpts"in e}const oe=(e,t)=>I1(e,t,qs);function Pt(e,t,n){try{ni(-1);const r=arguments.length;return r===2?Le(t)&&!Ee(t)?Gs(t)?ce(e,null,[t]):ce(e,t):ce(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Gs(n)&&(n=[n]),ce(e,t,n))}finally{ni(1)}}const Wy="3.5.41",qy=cn;let Al;const Ld=typeof window<"u"&&window.trustedTypes;if(Ld)try{Al=Ld.createPolicy("vue",{createHTML:e=>e})}catch{}const Xf=Al?e=>Al.createHTML(e):e=>e,Ky="http://www.w3.org/2000/svg",Zy="http://www.w3.org/1998/Math/MathML",Wn=typeof document<"u"?document:null,Id=Wn&&Wn.createElement("template"),Xy={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const o=t==="svg"?Wn.createElementNS(Ky,e):t==="mathml"?Wn.createElementNS(Zy,e):n?Wn.createElement(e,{is:n}):Wn.createElement(e);return e==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:e=>Wn.createTextNode(e),createComment:e=>Wn.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Wn.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,o,s){const a=n?n.previousSibling:t.lastChild;if(o&&(o===s||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===s||!(o=o.nextSibling)););else{Id.innerHTML=Xf(r==="svg"?`${e}`:r==="mathml"?`${e}`:e);const i=Id.content;if(r==="svg"||r==="mathml"){const u=i.firstChild;for(;u.firstChild;)i.appendChild(u.firstChild);i.removeChild(u)}t.insertBefore(i,n)}return[a?a.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},pr="transition",ns="animation",Ks=Symbol("_vtc"),Yf={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},Yy=ct({},ff,Yf),Jy=e=>(e.displayName="Transition",e.props=Yy,e),rs=Jy((e,{slots:t})=>Pt(ty,Qy(e),t)),zr=(e,t=[])=>{Ee(e)?e.forEach(n=>n(...t)):e&&e(...t)},Md=e=>e?Ee(e)?e.some(t=>t.length>1):e.length>1:!1;function Qy(e){const t={};for(const T in e)T in Yf||(t[T]=e[T]);if(e.css===!1)return t;const{name:n="v",type:r,duration:o,enterFromClass:s=`${n}-enter-from`,enterActiveClass:a=`${n}-enter-active`,enterToClass:i=`${n}-enter-to`,appearFromClass:u=s,appearActiveClass:c=a,appearToClass:l=i,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=e,g=e4(o),f=g&&g[0],m=g&&g[1],{onBeforeEnter:v,onEnter:y,onEnterCancelled:w,onLeave:C,onLeaveCancelled:x,onBeforeAppear:D=v,onAppear:$=y,onAppearCancelled:q=w}=t,U=(T,S,V,se)=>{T._enterCancelled=se,jr(T,S?l:i),jr(T,S?c:a),V&&V()},B=(T,S)=>{T._isLeaving=!1,jr(T,d),jr(T,h),jr(T,p),S&&S()},re=T=>(S,V)=>{const se=T?$:y,Z=()=>U(S,T,V);zr(se,[S,Z]),zd(()=>{jr(S,T?u:s),Hn(S,T?l:i),Md(se)||jd(S,r,f,Z)})};return ct(t,{onBeforeEnter(T){zr(v,[T]),Hn(T,s),Hn(T,a)},onBeforeAppear(T){zr(D,[T]),Hn(T,u),Hn(T,c)},onEnter:re(!1),onAppear:re(!0),onLeave(T,S){T._isLeaving=!0;const V=()=>B(T,S);Hn(T,d),T._enterCancelled?(Hn(T,p),Vd(T)):(Vd(T),Hn(T,p)),zd(()=>{T._isLeaving&&(jr(T,d),Hn(T,h),Md(C)||jd(T,r,m,V))}),zr(C,[T,V])},onEnterCancelled(T){U(T,!1,void 0,!0),zr(w,[T])},onAppearCancelled(T){U(T,!0,void 0,!0),zr(q,[T])},onLeaveCancelled(T){B(T),zr(x,[T])}})}function e4(e){if(e==null)return null;if(Le(e))return[wu(e.enter),wu(e.leave)];{const t=wu(e);return[t,t]}}function wu(e){return Qv(e)}function Hn(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Ks]||(e[Ks]=new Set)).add(t)}function jr(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[Ks];n&&(n.delete(t),n.size||(e[Ks]=void 0))}function zd(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let t4=0;function jd(e,t,n,r){const o=e._endId=++t4,s=()=>{o===e._endId&&r()};if(n!=null)return setTimeout(s,n);const{type:a,timeout:i,propCount:u}=n4(e,t);if(!a)return r();const c=a+"end";let l=0;const d=()=>{e.removeEventListener(c,p),s()},p=h=>{h.target===e&&++l>=u&&d()};setTimeout(()=>{l(n[g]||"").split(", "),o=r(`${pr}Delay`),s=r(`${pr}Duration`),a=Ud(o,s),i=r(`${ns}Delay`),u=r(`${ns}Duration`),c=Ud(i,u);let l=null,d=0,p=0;t===pr?a>0&&(l=pr,d=a,p=s.length):t===ns?c>0&&(l=ns,d=c,p=u.length):(d=Math.max(a,c),l=d>0?a>c?pr:ns:null,p=l?l===pr?s.length:u.length:0);const h=l===pr&&/\b(?:transform|all)(?:,|$)/.test(r(`${pr}Property`).toString());return{type:l,timeout:d,propCount:p,hasTransform:h}}function Ud(e,t){for(;e.lengthHd(n)+Hd(e[r])))}function Hd(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Vd(e){return(e?e.ownerDocument:document).body.offsetHeight}function r4(e,t,n){const r=e[Ks];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const si=Symbol("_vod"),Jf=Symbol("_vsh"),Qn={name:"show",beforeMount(e,{value:t},{transition:n}){e[si]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):os(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),os(e,!0),r.enter(e)):r.leave(e,()=>{os(e,!1)}):os(e,t))},beforeUnmount(e,{value:t}){os(e,t)}};function os(e,t){e.style.display=t?e[si]:"none",e[Jf]=!t}const Qf=Symbol("");function eg(e){const t=jn();if(!t)return;const n=t.ut=(o=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(s=>ai(s,o))},r=()=>{const o=e(t.proxy);t.ce?ai(t.ce,o):Sl(t.subTree,o),n(o)};Cf(()=>{uf(r)}),An(()=>{tt(r,cn,{flush:"post"});const o=new MutationObserver(r);o.observe(t.subTree.el.parentNode,{childList:!0}),ir(()=>o.disconnect())})}function Sl(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{Sl(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)ai(e.el,t);else if(e.type===Xe)e.children.forEach(n=>Sl(n,t));else if(e.type===Ia){let{el:n,anchor:r}=e;for(;n&&(ai(n,t),n!==r);)n=n.nextSibling}}function ai(e,t){if(e.nodeType===1){const n=e.style;let r="";for(const o in t){const s=i1(t[o]);n.setProperty(`--${o}`,s),r+=`--${o}: ${s};`}n[Qf]=r}}const o4=/(?:^|;)\s*display\s*:/;function s4(e,t,n){const r=e.style,o=We(n);let s=!1;if(n&&!o){if(t)if(We(t))for(const a of t.split(";")){const i=a.slice(0,a.indexOf(":")).trim();n[i]==null&&ys(r,i,"")}else for(const a in t)n[a]==null&&ys(r,a,"");for(const a in n){a==="display"&&(s=!0);const i=n[a];i!=null?i4(e,a,!We(t)&&t?t[a]:void 0,i)||ys(r,a,i):ys(r,a,"")}}else if(o){if(t!==n){const a=r[Qf];a&&(n+=";"+a),r.cssText=n,s=o4.test(n)}}else t&&e.removeAttribute("style");si in e&&(e[si]=s?r.display:"",e[Jf]&&(r.display="none"))}const Gd=/\s*!important$/;function ys(e,t,n){if(Ee(n))n.forEach(r=>ys(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=a4(e,t);Gd.test(n)?e.setProperty(lr(r),n.replace(Gd,""),"important"):e[r]=n}}const Wd=["Webkit","Moz","ms"],Cu={};function a4(e,t){const n=Cu[t];if(n)return n;let r=Lt(t);if(r!=="filter"&&r in e)return Cu[t]=r;r=Bi(r);for(let o=0;o_u||(h4.then(()=>_u=0),_u=Date.now());function g4(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;const o=n.value;if(Ee(o)){const s=r.stopImmediatePropagation;r.stopImmediatePropagation=()=>{s.call(r),r._stopped=!0};const a=o.slice(),i=[r];for(let u=0;ue.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,m4=(e,t,n,r,o,s)=>{const a=o==="svg";t==="class"?r4(e,r,a):t==="style"?s4(e,n,r):Ni(t)?Di(t)||l4(e,t,n,r,s):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):v4(e,t,r,a))?(Zd(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Kd(e,t,r,a,s,t!=="value")):e._isVueCE&&(y4(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!We(r)))?Zd(e,Lt(t),r,s,t):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),Kd(e,t,r,a))};function v4(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&Yd(t)&&Ce(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const o=e.tagName;if(o==="IMG"||o==="VIDEO"||o==="CANVAS"||o==="SOURCE")return!1}return Yd(t)&&We(n)?!1:t in e}function y4(e,t){const n=e._def.props;if(!n)return!1;const r=Lt(t);return Array.isArray(n)?n.some(o=>Lt(o)===r):Object.keys(n).some(o=>Lt(o)===r)}const Jd=e=>{const t=e.props["onUpdate:modelValue"]||!1;return Ee(t)?n=>La(t,n):t};function b4(e){e.target.composing=!0}function Qd(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const ka=Symbol("_assign"),Ta=Symbol("_initialValue");function xu(e,t,n){return t&&(e=e.trim()),n&&(e=dc(e)),e}const E4={created(e,{modifiers:{lazy:t,trim:n,number:r}},o){e.parentNode&&(e.type==="text"?e[Ta]=e.defaultValue.replace(/[\r\n]/g,""):e.type==="textarea"&&(e[Ta]=e.defaultValue.replace(/\r\n?/g,` -`))),e[ka]=Jd(o);const s=r||o.props&&o.props.type==="number";_o(e,t?"change":"input",a=>{a.target.composing||e[ka](xu(e.value,n,s))}),(n||s)&&_o(e,"change",()=>{e.value=xu(e.value,n,s)}),t||(_o(e,"compositionstart",b4),_o(e,"compositionend",Qd),_o(e,"change",Qd))},mounted(e,{value:t,modifiers:{trim:n,number:r}}){const o=t??"",s=e[Ta];delete e[Ta],s!==void 0&&(e.type==="text"||e.type==="textarea")&&e.value!==s?e[ka](xu(e.value,n,r)):e.value=o},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:o,number:s}},a){if(e[ka]=Jd(a),e.composing)return;const i=(s||e.type==="number")&&!/^0\d/.test(e.value)?dc(e.value):e.value,u=t??"";if(i===u)return;const c=e.getRootNode();(c instanceof Document||c instanceof ShadowRoot)&&c.activeElement===e&&e.type!=="range"&&(r&&t===n||o&&e.value.trim()===u)||(e.value=u)}},w4=["ctrl","shift","alt","meta"],C4={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>w4.some(n=>e[`${n}Key`]&&!t.includes(n))},yn=(e,t)=>{if(!e)return e;const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=((o,...s)=>{for(let a=0;a{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=(o=>{if(!("key"in o))return;const s=lr(o.key);if(t.some(a=>a===s||_4[a]===s))return e(o)}))},x4=ct({patchProp:m4},Xy);let ep;function A4(){return ep||(ep=Py(x4))}const S4=((...e)=>{const t=A4().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=T4(r);if(!o)return;const s=t._component;!Ce(s)&&!s.render&&!s.template&&(s.template=o.innerHTML),o.nodeType===1&&(o.textContent="");const a=n(o,!1,k4(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),a},t});function k4(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function T4(e){return We(e)?document.querySelector(e):e}function tg(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function N4(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&tg(e.default)}const Me=Object.assign;function Au(e,t){const n={};for(const r in t){const o=t[r];n[r]=xn(o)?o.map(e):e(o)}return n}const Ts=()=>{},xn=Array.isArray;function tp(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}const ng=Symbol("");function Mo(e,t){return Me(new Error,{type:e,[ng]:!0},t)}function Vn(e,t){return e instanceof Error&&ng in e&&(t==null||!!(e.type&t))}const D4=Symbol(""),np=Symbol(""),ca=Symbol(""),Cc=Symbol(""),kl=Symbol("");function O4(){return st(ca)}function P4(e){return st(Cc)}const xo=typeof document<"u",rg=/#/g,B4=/&/g,$4=/\//g,R4=/=/g,F4=/\?/g,og=/\+/g,L4=/%5B/g,I4=/%5D/g,sg=/%5E/g,M4=/%60/g,ag=/%7B/g,z4=/%7C/g,ig=/%7D/g,j4=/%20/g;function _c(e){return e==null?"":encodeURI(""+e).replace(z4,"|").replace(L4,"[").replace(I4,"]")}function U4(e){return _c(e).replace(ag,"{").replace(ig,"}").replace(sg,"^")}function Tl(e){return _c(e).replace(og,"%2B").replace(j4,"+").replace(rg,"%23").replace(B4,"%26").replace(M4,"`").replace(ag,"{").replace(ig,"}").replace(sg,"^")}function H4(e){return Tl(e).replace(R4,"%3D")}function V4(e){return _c(e).replace(rg,"%23").replace(F4,"%3F")}function G4(e){return V4(e).replace($4,"%2F")}function ii(e){if(e==null)return null;try{return decodeURIComponent(""+e)}catch{}return""+e}const W4=/\/$/,q4=e=>e.replace(W4,"");function Su(e,t,n="/"){let r,o={},s="",a="";const i=t.indexOf("#");let u=t.indexOf("?");return u=i>=0&&u>i?-1:u,u>=0&&(r=t.slice(0,u),s=t.slice(u,i>0?i:t.length),o=e(s.slice(1))),i>=0&&(r=r||t.slice(0,i),a=t.slice(i,t.length)),r=Y4(r??t,n),{fullPath:r+s+a,path:r,query:o,hash:ii(a)}}function K4(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function rp(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Z4(e,t,n){const r=t.matched.length-1,o=n.matched.length-1;return r>-1&&r===o&&zo(t.matched[r],n.matched[o])&&ug(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function zo(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function ug(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(!X4(e[n],t[n]))return!1;return!0}function X4(e,t){return xn(e)?op(e,t):xn(t)?op(t,e):(e&&e.valueOf())===(t&&t.valueOf())}function op(e,t){return xn(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function Y4(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),o=r[r.length-1];(o===".."||o===".")&&r.push("");let s=n.length-1,a,i;for(a=0;a1&&s--;else break;return n.slice(0,s).join("/")+"/"+r.slice(a).join("/")}const hr={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};function J4(e){if(!e)if(xo){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),q4(e)}const Q4=/^[^#]+#/;function e3(e,t){return e.replace(Q4,"#")+t}function t3(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const Zi=()=>({left:window.scrollX,top:window.scrollY});function n3(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),o=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;t=t3(o,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function sp(e,t){return(history.state?history.state.position-t:-1)+e}const Nl=new Map;function r3(e,t){Nl.set(e,t)}function o3(e){const t=Nl.get(e);return Nl.delete(e),t}function s3(e){return typeof e=="string"||e&&typeof e=="object"}function lg(e){return typeof e=="string"||typeof e=="symbol"}function a3(e){const t={};if(e===""||e==="?")return t;const n=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;ro&&Tl(o)):[r&&Tl(r)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function i3(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=xn(r)?r.map(o=>o==null?null:""+o):r==null?r:""+r)}return t}function ss(){let e=[];function t(r){return e.push(r),()=>{const o=e.indexOf(r);o>-1&&e.splice(o,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Er(e,t,n,r,o,s=a=>a()){const a=r&&(r.enterCallbacks[o]=r.enterCallbacks[o]||[]);return()=>new Promise((i,u)=>{const c=p=>{p===!1?u(Mo(4,{from:n,to:t})):p instanceof Error?u(p):s3(p)?u(Mo(2,{from:t,to:p})):(a&&r.enterCallbacks[o]===a&&typeof p=="function"&&a.push(p),i())},l=s(()=>e.call(r&&r.instances[o],t,n,c));let d=Promise.resolve(l);e.length<3&&(d=d.then(c)),d.catch(p=>u(p))})}function ku(e,t,n,r,o=s=>s()){const s=[];for(const a of e)for(const i in a.components){let u=a.components[i];if(!(t!=="beforeRouteEnter"&&!a.instances[i]))if(tg(u)){const c=(u.__vccOpts||u)[t];c&&s.push(Er(c,n,r,a,i,o))}else{let c=u();s.push(()=>c.then(l=>{if(!l)throw new Error(`Couldn't resolve component "${i}" at "${a.path}"`);const d=N4(l)?l.default:l;a.mods[i]=l,a.components[i]=d;const p=(d.__vccOpts||d)[t];return p&&Er(p,n,r,a,i,o)()}))}}return s}function u3(e,t){const n=[],r=[],o=[],s=Math.max(t.matched.length,e.matched.length);for(let a=0;azo(c,i))?r.push(i):n.push(i));const u=e.matched[a];u&&(t.matched.find(c=>zo(c,u))||o.push(u))}return[n,r,o]}let l3=()=>location.protocol+"//"+location.host;function cg(e,t){const{pathname:n,search:r,hash:o}=t,s=e.indexOf("#");if(s>-1){let a=o.includes(e.slice(s))?e.slice(s).length:1,i=o.slice(a);return i[0]!=="/"&&(i="/"+i),rp(i,"")}return rp(n,e)+r+o}function c3(e,t,n,r){let o=[],s=[],a=null;const i=({state:p})=>{const h=cg(e,location),g=n.value,f=t.value;let m=0;if(p){if(n.value=h,t.value=p,a&&a===g){a=null;return}m=f?p.position-f.position:0}else r(h);o.forEach(v=>{v(n.value,g,{delta:m,type:"pop",direction:m?m>0?"forward":"back":""})})};function u(){a=n.value}function c(p){o.push(p);const h=()=>{const g=o.indexOf(p);g>-1&&o.splice(g,1)};return s.push(h),h}function l(){if(document.visibilityState==="hidden"){const{history:p}=window;if(!p.state)return;p.replaceState(Me({},p.state,{scroll:Zi()}),"")}}function d(){for(const p of s)p();s=[],window.removeEventListener("popstate",i),window.removeEventListener("pagehide",l),document.removeEventListener("visibilitychange",l)}return window.addEventListener("popstate",i),window.addEventListener("pagehide",l),document.addEventListener("visibilitychange",l),{pauseListeners:u,listen:c,destroy:d}}function ip(e,t,n,r=!1,o=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:o?Zi():null}}function d3(e){const{history:t,location:n}=window,r={value:cg(e,n)},o={value:t.state};o.value||s(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function s(u,c,l){const d=e.indexOf("#"),p=d>-1?(n.host&&document.querySelector("base")?e:e.slice(d))+u:l3()+e+u;try{t[l?"replaceState":"pushState"](c,"",p),o.value=c}catch(h){console.error(h),n[l?"replace":"assign"](p)}}function a(u,c){s(u,Me({},t.state,ip(o.value.back,u,o.value.forward,!0),c,{position:o.value.position}),!0),r.value=u}function i(u,c){const l=Me({},o.value,t.state,{forward:u,scroll:Zi()});s(l.current,l,!0),s(u,Me({},ip(r.value,u,null),{position:l.position+1},c),!1),r.value=u}return{location:r,state:o,push:i,replace:a}}function p3(e){e=J4(e);const t=d3(e),n=c3(e,t.state,t.location,t.replace);function r(s,a=!0){a||n.pauseListeners(),history.go(s)}const o=Me({location:"",base:e,go:r,createHref:e3.bind(null,e)},t,n);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}const h3={type:0,value:""},f3=/[a-zA-Z0-9_]/;function g3(e){if(!e)return[[]];if(e==="/")return[[h3]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(h){throw new Error(`ERR (${n})/"${c}": ${h}`)}let n=0,r=n;const o=[];let s;function a(){s&&o.push(s),s=[]}let i=0,u,c="",l="";function d(){c&&(n===0?s.push({type:0,value:c}):n===1||n===2||n===3?(s.length>1&&(u==="*"||u==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),s.push({type:1,value:c,regexp:l,repeatable:u==="*"||u==="+",optional:u==="*"||u==="?"})):t("Invalid state to consume buffer"),c="")}function p(){c+=u}for(;it.length?t.length===1&&t[0]===80?1:-1:0}function dg(e,t){let n=0;const r=e.score,o=t.score;for(;n0&&t[t.length-1]<0}const E3={strict:!1,end:!0,sensitive:!1};function w3(e,t,n){const r=y3(g3(e.path),n),o=Me(r,{record:e,parent:t,children:[],alias:[]});return t&&!o.record.aliasOf==!t.record.aliasOf&&t.children.push(o),o}function C3(e,t){const n=[],r=new Map;t=tp(E3,t);function o(d){return r.get(d)}function s(d,p,h){const g=!h,f=dp(d);f.aliasOf=h&&h.record;const m=tp(t,d),v=[f];if("alias"in d){const C=typeof d.alias=="string"?[d.alias]:d.alias;for(const x of C)v.push(dp(Me({},f,{components:h?h.record.components:f.components,path:x,aliasOf:h?h.record:f})))}let y,w;for(const C of v){const{path:x}=C;if(p&&x[0]!=="/"){const D=p.record.path,$=D[D.length-1]==="/"?"":"/";C.path=p.record.path+(x&&$+x)}if(y=w3(C,p,m),h?h.alias.push(y):(w=w||y,w!==y&&w.alias.push(y),g&&d.name&&!pp(y)&&a(d.name)),pg(y)&&u(y),f.children){const D=f.children;for(let $=0;${a(w)}:Ts}function a(d){if(lg(d)){const p=r.get(d);p&&(r.delete(d),n.splice(n.indexOf(p),1),p.children.forEach(a),p.alias.forEach(a))}else{const p=n.indexOf(d);p>-1&&(n.splice(p,1),d.record.name&&r.delete(d.record.name),d.children.forEach(a),d.alias.forEach(a))}}function i(){return n}function u(d){const p=A3(d,n);n.splice(p,0,d),d.record.name&&!pp(d)&&r.set(d.record.name,d)}function c(d,p){let h,g={},f,m;if("name"in d&&d.name){if(h=r.get(d.name),!h)throw Mo(1,{location:d});m=h.record.name,g=Me(cp(p.params,h.keys.filter(w=>!w.optional).concat(h.parent?h.parent.keys.filter(w=>w.optional):[]).map(w=>w.name)),d.params&&cp(d.params,h.keys.map(w=>w.name))),f=h.stringify(g)}else if(d.path!=null)f=d.path,h=n.find(w=>w.re.test(f)),h&&(g=h.parse(f),m=h.record.name,h.keys.forEach(w=>{w.optional&&!g[w.name]&&delete g[w.name]}));else{if(h=p.name?r.get(p.name):n.find(w=>w.re.test(p.path)),!h)throw Mo(1,{location:d,currentLocation:p});m=h.record.name,g=Me({},p.params,d.params),f=h.stringify(g)}const v=[];let y=h;for(;y;)v.unshift(y.record),y=y.parent;return{name:m,path:f,params:g,matched:v,meta:x3(v)}}e.forEach(d=>s(d));function l(){n.length=0,r.clear()}return{addRoute:s,resolve:c,removeRoute:a,clearRoutes:l,getRoutes:i,getRecordMatcher:o}}function cp(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function dp(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:_3(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function _3(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="object"?n[r]:n;return t}function pp(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function x3(e){return e.reduce((t,n)=>Me(t,n.meta),{})}function A3(e,t){let n=0,r=t.length;for(;n!==r;){const s=n+r>>1;dg(e,t[s])<0?r=s:n=s+1}const o=S3(e);return o&&(r=t.lastIndexOf(o,r-1)),r}function S3(e){let t=e;for(;t=t.parent;)if(pg(t)&&dg(e,t)===0)return t}function pg({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function hp(e){const t=st(ca),n=st(Cc),r=oe(()=>{const u=z(e.to);return t.resolve(u)}),o=oe(()=>{const{matched:u}=r.value,{length:c}=u,l=u[c-1],d=n.matched;if(!l||!d.length)return-1;const p=d.findIndex(zo.bind(null,l));if(p>-1)return p;const h=fp(u[c-2]);return c>1&&fp(l)===h&&d[d.length-1].path!==h?d.findIndex(zo.bind(null,u[c-2])):p}),s=oe(()=>o.value>-1&&D3(n.params,r.value.params)),a=oe(()=>o.value>-1&&o.value===n.matched.length-1&&ug(n.params,r.value.params));function i(u={}){if(N3(u)){const c=t[z(e.replace)?"replace":"push"](z(e.to)).catch(Ts);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>c),c}return Promise.resolve()}return{route:r,href:oe(()=>r.value.href),isActive:s,isExactActive:a,navigate:i}}function k3(e){return e.length===1?e[0]:e}const T3=Ve({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"},viewTransition:Boolean},useLink:hp,setup(e,{slots:t}){const n=Lo(hp(e)),{options:r}=st(ca),o=oe(()=>({[gp(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[gp(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const s=t.default&&k3(t.default(n));return e.custom?s:Pt("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},s)}}});function N3(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function D3(e,t){for(const n in t){const r=t[n],o=e[n];if(typeof r=="string"){if(r!==o)return!1}else if(!xn(o)||o.length!==r.length||r.some((s,a)=>s.valueOf()!==o[a].valueOf()))return!1}return!0}function fp(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const gp=(e,t,n)=>e??t??n,O3=Ve({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=st(kl),o=oe(()=>e.route||r.value),s=st(np,0),a=oe(()=>{let c=z(s);const{matched:l}=o.value;let d;for(;(d=l[c])&&!d.components;)c++;return c}),i=oe(()=>o.value.matched[a.value]);Zt(np,oe(()=>a.value+1)),Zt(D4,i),Zt(kl,o);const u=xe();return tt(()=>[u.value,i.value,e.name],([c,l,d],[p,h,g])=>{l&&(l.instances[d]=c,h&&h!==l&&c&&c===p&&(l.leaveGuards.size||(l.leaveGuards=h.leaveGuards),l.updateGuards.size||(l.updateGuards=h.updateGuards))),c&&l&&(!h||!zo(l,h)||!p)&&(l.enterCallbacks[d]||[]).forEach(f=>f(c))},{flush:"post"}),()=>{const c=o.value,l=e.name,d=i.value,p=d&&d.components[l];if(!p)return mp(n.default,{Component:p,route:c});const h=d.props[l],g=h?h===!0?c.params:typeof h=="function"?h(c):h:null,f=Pt(p,Me({},g,t,{onVnodeUnmounted:m=>{m.component.isUnmounted&&(d.instances[l]=null)},ref:u}));return mp(n.default,{Component:f,route:c})||f}}});function mp(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const hg=O3;function P3(e){const t=C3(e.routes,e),n=e.parseQuery||a3,r=e.stringifyQuery||ap,o=e.history,s=ss(),a=ss(),i=ss(),u=ar(hr);let c=hr;xo&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const l=Au.bind(null,A=>""+A),d=Au.bind(null,G4),p=Au.bind(null,ii);function h(A,F){let L,j;return lg(A)?(L=t.getRecordMatcher(A),j=F):j=A,t.addRoute(j,L)}function g(A){const F=t.getRecordMatcher(A);F&&t.removeRoute(F)}function f(){return t.getRoutes().map(A=>A.record)}function m(A){return!!t.getRecordMatcher(A)}function v(A,F){if(F=Me({},F||u.value),typeof A=="string"){const O=Su(n,A,F.path),I=t.resolve({path:O.path},F),P=o.createHref(O.fullPath);return Me(O,I,{params:p(I.params),redirectedFrom:void 0,href:P})}let L;if(A.path!=null)L=Me({},A,{path:Su(n,A.path,F.path).path});else{const O=Me({},A.params);for(const I in O)O[I]==null&&delete O[I];L=Me({},A,{params:d(O)}),F.params=d(F.params)}const j=t.resolve(L,F),b=A.hash||"";j.params=l(p(j.params));const _=K4(r,Me({},A,{hash:U4(b),path:j.path})),k=o.createHref(_);return Me({fullPath:_,hash:b,query:r===ap?i3(A.query):A.query||{}},j,{redirectedFrom:void 0,href:k})}function y(A){return typeof A=="string"?Su(n,A,u.value.path):Me({},A)}function w(A,F){if(c!==A)return Mo(8,{from:F,to:A})}function C(A){return $(A)}function x(A){return C(Me(y(A),{replace:!0}))}function D(A,F){const L=A.matched[A.matched.length-1];if(L&&L.redirect){const{redirect:j}=L;let b=typeof j=="function"?j(A,F):j;return typeof b=="string"&&(b=b.includes("?")||b.includes("#")?b=y(b):{path:b},b.params={}),Me({query:A.query,hash:A.hash,params:b.path!=null?{}:A.params},b)}}function $(A,F){const L=c=v(A),j=u.value,b=A.state,_=A.force,k=A.replace===!0,O=D(L,j);if(O)return $(Me(y(O),{state:typeof O=="object"?Me({},b,O.state):b,force:_,replace:k}),F||L);const I=L;I.redirectedFrom=F;let P;return!_&&Z4(r,j,L)&&(P=Mo(16,{to:I,from:j}),Q(j,j,!0,!1)),(P?Promise.resolve(P):B(I,j)).catch(G=>Vn(G)?Vn(G,2)?G:J(G):ne(G,I,j)).then(G=>{if(G){if(Vn(G,2))return $(Me({replace:k},y(G.to),{state:typeof G.to=="object"?Me({},b,G.to.state):b,force:_}),F||I)}else G=T(I,j,!0,k,b);return re(I,j,G),G})}function q(A,F){const L=w(A,F);return L?Promise.reject(L):Promise.resolve()}function U(A){const F=qe.values().next().value;return F&&typeof F.runWithContext=="function"?F.runWithContext(A):A()}function B(A,F){let L;const[j,b,_]=u3(A,F);L=ku(j.reverse(),"beforeRouteLeave",A,F);for(const O of j)O.leaveGuards.forEach(I=>{L.push(Er(I,A,F))});const k=q.bind(null,A,F);return L.push(k),me(L).then(()=>{L=[];for(const O of s.list())L.push(Er(O,A,F));return L.push(k),me(L)}).then(()=>{L=ku(b,"beforeRouteUpdate",A,F);for(const O of b)O.updateGuards.forEach(I=>{L.push(Er(I,A,F))});return L.push(k),me(L)}).then(()=>{L=[];for(const O of _)if(O.beforeEnter)if(xn(O.beforeEnter))for(const I of O.beforeEnter)L.push(Er(I,A,F));else L.push(Er(O.beforeEnter,A,F));return L.push(k),me(L)}).then(()=>(A.matched.forEach(O=>O.enterCallbacks={}),L=ku(_,"beforeRouteEnter",A,F,U),L.push(k),me(L))).then(()=>{L=[];for(const O of a.list())L.push(Er(O,A,F));return L.push(k),me(L)}).catch(O=>Vn(O,8)?O:Promise.reject(O))}function re(A,F,L){i.list().forEach(j=>U(()=>j(A,F,L)))}function T(A,F,L,j,b){const _=w(A,F);if(_)return _;const k=F===hr,O=xo?history.state:{};L&&(j||k?o.replace(A.fullPath,Me({scroll:k&&O&&O.scroll},b)):o.push(A.fullPath,b)),u.value=A,Q(A,F,L,k),J()}let S;function V(){S||(S=o.listen((A,F,L)=>{if(!ke.listening)return;const j=v(A),b=D(j,ke.currentRoute.value);if(b){$(Me(b,{replace:!0,force:!0}),j).catch(Ts);return}c=j;const _=u.value;xo&&r3(sp(_.fullPath,L.delta),Zi()),B(j,_).catch(k=>Vn(k,12)?k:Vn(k,2)?($(Me(y(k.to),{force:!0}),j).then(O=>{Vn(O,20)&&!L.delta&&L.type==="pop"&&o.go(-1,!1)}).catch(Ts),Promise.reject()):(L.delta&&o.go(-L.delta,!1),ne(k,j,_))).then(k=>{k=k||T(j,_,!1),k&&(L.delta&&!Vn(k,8)?o.go(-L.delta,!1):L.type==="pop"&&Vn(k,20)&&o.go(-1,!1)),re(j,_,k)}).catch(Ts)}))}let se=ss(),Z=ss(),X;function ne(A,F,L){J(A);const j=Z.list();return j.length?j.forEach(b=>b(A,F,L)):console.error(A),Promise.reject(A)}function ee(){return X&&u.value!==hr?Promise.resolve():new Promise((A,F)=>{se.add([A,F])})}function J(A){return X||(X=!A,V(),se.list().forEach(([F,L])=>A?L(A):F()),se.reset()),A}function Q(A,F,L,j){const{scrollBehavior:b}=e;if(!xo||!b)return Promise.resolve();const _=!L&&o3(sp(A.fullPath,0))||(j||!L)&&history.state&&history.state.scroll||null;return wn().then(()=>b(A,F,_)).then(k=>A===u.value&&k&&n3(k)).catch(k=>A===u.value&&ne(k,A,F))}const pe=A=>o.go(A);let Se;const qe=new Set,ke={currentRoute:u,listening:!0,addRoute:h,removeRoute:g,clearRoutes:t.clearRoutes,hasRoute:m,getRoutes:f,resolve:v,options:e,push:C,replace:x,go:pe,back:()=>pe(-1),forward:()=>pe(1),beforeEach:s.add,beforeResolve:a.add,afterEach:i.add,onError:Z.add,isReady:ee,install(A){A.component("RouterLink",T3),A.component("RouterView",hg),A.config.globalProperties.$router=ke,Object.defineProperty(A.config.globalProperties,"$route",{enumerable:!0,get:()=>z(u)}),xo&&!Se&&u.value===hr&&(Se=!0,C(o.location).catch(j=>{}));const F={};for(const j in hr)Object.defineProperty(F,j,{get:()=>u.value[j],enumerable:!0});A.provide(ca,ke),A.provide(Cc,nf(F)),A.provide(kl,u);const L=A.unmount;qe.add(A),A.unmount=function(){qe.delete(A),qe.size<1&&(c=hr,S&&S(),S=null,u.value=hr,Se=!1,X=!1),L()}}};function me(A){return A.reduce((F,L)=>F.then(()=>U(L)),Promise.resolve())}return ke}const B3=Ve({__name:"App",setup(e){return(t,n)=>(R(),ge(z(hg)))}}),$3=e=>"/remote.php/"+e,R3=(e,t)=>gg()+$3(e),fg=(e,t,n)=>{const r=Object.assign({ocsVersion:2},{}).ocsVersion===1?1:2;return gg()+"/ocs/v"+r+".php"+Dl(e,t)},Dl=(e,t,n)=>{const r=Object.assign({escape:!0},{}),o=function(s,a){return a=a||{},s.replace(/{([^{}]*)}/g,function(i,u){const c=a[u];return r.escape?encodeURIComponent(typeof c=="string"||typeof c=="number"?c.toString():i):typeof c=="string"||typeof c=="number"?c.toString():i})};return e.charAt(0)!=="/"&&(e="/"+e),o(e,t||{})},_r=(e,t,n)=>{const r=Object.assign({noRewrite:!1},{}),o=mg();return window?.OC?.config?.modRewriteWorking===!0&&!r.noRewrite?o+Dl(e,t):o+"/index.php"+Dl(e,t)},gg=()=>window.location.protocol+"//"+window.location.host+mg();function mg(){let e=window._oc_webroot;if(typeof e>"u"){e=location.pathname;const t=e.indexOf("/index.php/");if(t!==-1)e=e.slice(0,t);else{const n=e.indexOf("/",1);e=e.slice(0,n>0?n:void 0)}}return e}function xc(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function F3(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var vg={exports:{}},it=vg.exports={},Bn,$n;function Ol(){throw new Error("setTimeout has not been defined")}function Pl(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?Bn=setTimeout:Bn=Ol}catch{Bn=Ol}try{typeof clearTimeout=="function"?$n=clearTimeout:$n=Pl}catch{$n=Pl}})();function yg(e){if(Bn===setTimeout)return setTimeout(e,0);if((Bn===Ol||!Bn)&&setTimeout)return Bn=setTimeout,setTimeout(e,0);try{return Bn(e,0)}catch{try{return Bn.call(null,e,0)}catch{return Bn.call(this,e,0)}}}function L3(e){if($n===clearTimeout)return clearTimeout(e);if(($n===Pl||!$n)&&clearTimeout)return $n=clearTimeout,clearTimeout(e);try{return $n(e)}catch{try{return $n.call(null,e)}catch{return $n.call(this,e)}}}var er=[],Bo=!1,Yr,za=-1;function I3(){!Bo||!Yr||(Bo=!1,Yr.length?er=Yr.concat(er):za=-1,er.length&&bg())}function bg(){if(!Bo){var e=yg(I3);Bo=!0;for(var t=er.length;t;){for(Yr=er,er=[];++za1)for(var n=1;nconsole.error("SEMVER",...t):()=>{},Tu}var Nu,yp;function Cg(){if(yp)return Nu;yp=1;const e="2.0.0",t=256,n=Number.MAX_SAFE_INTEGER||9007199254740991,r=16,o=t-6;return Nu={MAX_LENGTH:t,MAX_SAFE_COMPONENT_LENGTH:r,MAX_SAFE_BUILD_LENGTH:o,MAX_SAFE_INTEGER:n,RELEASE_TYPES:["major","premajor","minor","preminor","patch","prepatch","prerelease"],SEMVER_SPEC_VERSION:e,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2},Nu}var Du={exports:{}},bp;function z3(){return bp||(bp=1,(function(e,t){const{MAX_SAFE_COMPONENT_LENGTH:n,MAX_SAFE_BUILD_LENGTH:r,MAX_LENGTH:o}=Cg(),s=wg();t=e.exports={};const a=t.re=[],i=t.safeRe=[],u=t.src=[],c=t.safeSrc=[],l=t.t={};let d=0;const p="[a-zA-Z0-9-]",h=[["\\s",1],["\\d",o],[p,r]],g=m=>{for(const[v,y]of h)m=m.split(`${v}*`).join(`${v}{0,${y}}`).split(`${v}+`).join(`${v}{1,${y}}`);return m},f=(m,v,y)=>{const w=g(v),C=d++;s(m,C,v),l[m]=C,u[C]=v,c[C]=w,a[C]=new RegExp(v,y?"g":void 0),i[C]=new RegExp(w,y?"g":void 0)};f("NUMERICIDENTIFIER","0|[1-9]\\d*"),f("NUMERICIDENTIFIERLOOSE","\\d+"),f("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${p}*`),f("MAINVERSION",`(${u[l.NUMERICIDENTIFIER]})\\.(${u[l.NUMERICIDENTIFIER]})\\.(${u[l.NUMERICIDENTIFIER]})`),f("MAINVERSIONLOOSE",`(${u[l.NUMERICIDENTIFIERLOOSE]})\\.(${u[l.NUMERICIDENTIFIERLOOSE]})\\.(${u[l.NUMERICIDENTIFIERLOOSE]})`),f("PRERELEASEIDENTIFIER",`(?:${u[l.NONNUMERICIDENTIFIER]}|${u[l.NUMERICIDENTIFIER]})`),f("PRERELEASEIDENTIFIERLOOSE",`(?:${u[l.NONNUMERICIDENTIFIER]}|${u[l.NUMERICIDENTIFIERLOOSE]})`),f("PRERELEASE",`(?:-(${u[l.PRERELEASEIDENTIFIER]}(?:\\.${u[l.PRERELEASEIDENTIFIER]})*))`),f("PRERELEASELOOSE",`(?:-?(${u[l.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${u[l.PRERELEASEIDENTIFIERLOOSE]})*))`),f("BUILDIDENTIFIER",`${p}+`),f("BUILD",`(?:\\+(${u[l.BUILDIDENTIFIER]}(?:\\.${u[l.BUILDIDENTIFIER]})*))`),f("FULLPLAIN",`v?${u[l.MAINVERSION]}${u[l.PRERELEASE]}?${u[l.BUILD]}?`),f("FULL",`^${u[l.FULLPLAIN]}$`),f("LOOSEPLAIN",`[v=\\s]*${u[l.MAINVERSIONLOOSE]}${u[l.PRERELEASELOOSE]}?${u[l.BUILD]}?`),f("LOOSE",`^${u[l.LOOSEPLAIN]}$`),f("GTLT","((?:<|>)?=?)"),f("XRANGEIDENTIFIERLOOSE",`${u[l.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),f("XRANGEIDENTIFIER",`${u[l.NUMERICIDENTIFIER]}|x|X|\\*`),f("XRANGEPLAIN",`[v=\\s]*(${u[l.XRANGEIDENTIFIER]})(?:\\.(${u[l.XRANGEIDENTIFIER]})(?:\\.(${u[l.XRANGEIDENTIFIER]})(?:${u[l.PRERELEASE]})?${u[l.BUILD]}?)?)?`),f("XRANGEPLAINLOOSE",`[v=\\s]*(${u[l.XRANGEIDENTIFIERLOOSE]})(?:\\.(${u[l.XRANGEIDENTIFIERLOOSE]})(?:\\.(${u[l.XRANGEIDENTIFIERLOOSE]})(?:${u[l.PRERELEASELOOSE]})?${u[l.BUILD]}?)?)?`),f("XRANGE",`^${u[l.GTLT]}\\s*${u[l.XRANGEPLAIN]}$`),f("XRANGELOOSE",`^${u[l.GTLT]}\\s*${u[l.XRANGEPLAINLOOSE]}$`),f("COERCEPLAIN",`(^|[^\\d])(\\d{1,${n}})(?:\\.(\\d{1,${n}}))?(?:\\.(\\d{1,${n}}))?`),f("COERCE",`${u[l.COERCEPLAIN]}(?:$|[^\\d])`),f("COERCEFULL",u[l.COERCEPLAIN]+`(?:${u[l.PRERELEASE]})?(?:${u[l.BUILD]})?(?:$|[^\\d])`),f("COERCERTL",u[l.COERCE],!0),f("COERCERTLFULL",u[l.COERCEFULL],!0),f("LONETILDE","(?:~>?)"),f("TILDETRIM",`(\\s*)${u[l.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",f("TILDE",`^${u[l.LONETILDE]}${u[l.XRANGEPLAIN]}$`),f("TILDELOOSE",`^${u[l.LONETILDE]}${u[l.XRANGEPLAINLOOSE]}$`),f("LONECARET","(?:\\^)"),f("CARETTRIM",`(\\s*)${u[l.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",f("CARET",`^${u[l.LONECARET]}${u[l.XRANGEPLAIN]}$`),f("CARETLOOSE",`^${u[l.LONECARET]}${u[l.XRANGEPLAINLOOSE]}$`),f("COMPARATORLOOSE",`^${u[l.GTLT]}\\s*(${u[l.LOOSEPLAIN]})$|^$`),f("COMPARATOR",`^${u[l.GTLT]}\\s*(${u[l.FULLPLAIN]})$|^$`),f("COMPARATORTRIM",`(\\s*)${u[l.GTLT]}\\s*(${u[l.LOOSEPLAIN]}|${u[l.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",f("HYPHENRANGE",`^\\s*(${u[l.XRANGEPLAIN]})\\s+-\\s+(${u[l.XRANGEPLAIN]})\\s*$`),f("HYPHENRANGELOOSE",`^\\s*(${u[l.XRANGEPLAINLOOSE]})\\s+-\\s+(${u[l.XRANGEPLAINLOOSE]})\\s*$`),f("STAR","(<|>)?=?\\s*\\*"),f("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),f("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")})(Du,Du.exports)),Du.exports}var Ou,Ep;function j3(){if(Ep)return Ou;Ep=1;const e=Object.freeze({loose:!0}),t=Object.freeze({});return Ou=n=>n?typeof n!="object"?e:n:t,Ou}var Pu,wp;function U3(){if(wp)return Pu;wp=1;const e=/^[0-9]+$/,t=(n,r)=>{if(typeof n=="number"&&typeof r=="number")return n===r?0:nt(r,n)},Pu}var Bu,Cp;function _g(){if(Cp)return Bu;Cp=1;const e=wg(),{MAX_LENGTH:t,MAX_SAFE_INTEGER:n}=Cg(),{safeRe:r,t:o}=z3(),s=j3(),{compareIdentifiers:a}=U3(),i=(c,l)=>{const d=l.split(".");if(d.length>c.length)return!1;for(let p=0;pt)throw new TypeError(`version is longer than ${t} characters`);e("SemVer",l,d),this.options=d,this.loose=!!d.loose,this.includePrerelease=!!d.includePrerelease;const p=l.trim().match(d.loose?r[o.LOOSE]:r[o.FULL]);if(!p)throw new TypeError(`Invalid Version: ${l}`);if(this.raw=l,this.major=+p[1],this.minor=+p[2],this.patch=+p[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");p[4]?this.prerelease=p[4].split(".").map(h=>{if(/^[0-9]+$/.test(h)){const g=+h;if(g>=0&&gl.major?1:this.minorl.minor?1:this.patchl.patch?1:0}comparePre(l){if(l instanceof u||(l=new u(l,this.options)),this.prerelease.length&&!l.prerelease.length)return-1;if(!this.prerelease.length&&l.prerelease.length)return 1;if(!this.prerelease.length&&!l.prerelease.length)return 0;let d=0;do{const p=this.prerelease[d],h=l.prerelease[d];if(e("prerelease compare",d,p,h),p===void 0&&h===void 0)return 0;if(h===void 0)return 1;if(p===void 0)return-1;if(p!==h)return a(p,h)}while(++d)}compareBuild(l){l instanceof u||(l=new u(l,this.options));let d=0;do{const p=this.build[d],h=l.build[d];if(e("build compare",d,p,h),p===void 0&&h===void 0)return 0;if(h===void 0)return 1;if(p===void 0)return-1;if(p!==h)return a(p,h)}while(++d)}inc(l,d,p){if(l.startsWith("pre")){if(!d&&p===!1)throw new Error("invalid increment argument: identifier is empty");if(d){const h=`-${d}`.match(this.options.loose?r[o.PRERELEASELOOSE]:r[o.PRERELEASE]);if(!h||h[1]!==d)throw new Error(`invalid identifier: ${d}`)}}switch(l){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",d,p);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",d,p);break;case"prepatch":this.prerelease.length=0,this.inc("patch",d,p),this.inc("pre",d,p);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",d,p),this.inc("pre",d,p);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 h=Number(p)?1:0;if(this.prerelease.length===0)this.prerelease=[h];else{let g=this.prerelease.length;for(;--g>=0;)typeof this.prerelease[g]=="number"&&(this.prerelease[g]++,g=-2);if(g===-1){if(d===this.prerelease.join(".")&&p===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(h)}}if(d){let g=[d,h];if(p===!1&&(g=[d]),i(this.prerelease,d)){const f=this.prerelease[d.split(".").length];isNaN(f)&&(this.prerelease=g)}else this.prerelease=g}break}default:throw new Error(`invalid increment argument: ${l}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}}return Bu=u,Bu}var $u,_p;function H3(){if(_p)return $u;_p=1;const e=_g();return $u=(t,n)=>new e(t,n).major,$u}var V3=H3();const xp=xc(V3);var Ru,Ap;function G3(){if(Ap)return Ru;Ap=1;const e=_g();return Ru=(t,n,r=!1)=>{if(t instanceof e)return t;try{return new e(t,n)}catch(o){if(!r)return null;throw o}},Ru}var Fu,Sp;function W3(){if(Sp)return Fu;Sp=1;const e=G3();return Fu=(t,n)=>{const r=e(t,n);return r?r.version:null},Fu}var q3=W3();const K3=xc(q3);class Z3{bus;constructor(t){typeof t.getVersion!="function"||!K3(t.getVersion())?console.warn("Proxying an event bus with an unknown or invalid version"):xp(t.getVersion())!==xp(this.getVersion())&&console.warn("Proxying an event bus of version "+t.getVersion()+" with "+this.getVersion()),this.bus=t}getVersion(){return"3.3.3"}subscribe(t,n){this.bus.subscribe(t,n)}unsubscribe(t,n){this.bus.unsubscribe(t,n)}emit(t,...n){this.bus.emit(t,...n)}}class X3{handlers=new Map;getVersion(){return"3.3.3"}subscribe(t,n){this.handlers.set(t,(this.handlers.get(t)||[]).concat(n))}unsubscribe(t,n){this.handlers.set(t,(this.handlers.get(t)||[]).filter(r=>r!==n))}emit(t,...n){(this.handlers.get(t)||[]).forEach(r=>{try{r(n[0])}catch(o){console.error("could not invoke event listener",o)}})}}let as=null;function Ac(){return as!==null?as: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"?as=new Z3(window._nc_event_bus):as=window._nc_event_bus=new X3,as)}function Sc(e,t){Ac().subscribe(e,t)}function xg(e,t){Ac().unsubscribe(e,t)}function xr(e,...t){Ac().emit(e,...t)}class ui{static GLOBAL_SCOPE_VOLATILE="nextcloud_vol";static GLOBAL_SCOPE_PERSISTENT="nextcloud_per";scope;wrapped;constructor(t,n,r){this.scope=`${r?ui.GLOBAL_SCOPE_PERSISTENT:ui.GLOBAL_SCOPE_VOLATILE}_${btoa(t)}_`,this.wrapped=n}scopeKey(t){return`${this.scope}${t}`}setItem(t,n){this.wrapped.setItem(this.scopeKey(t),n)}getItem(t){return this.wrapped.getItem(this.scopeKey(t))}removeItem(t){this.wrapped.removeItem(this.scopeKey(t))}clear(){Object.keys(this.wrapped).filter(t=>t.startsWith(this.scope)).map(this.wrapped.removeItem.bind(this.wrapped))}}class Y3{appId;persisted=!1;clearedOnLogout=!1;constructor(t){this.appId=t}persist(t=!0){return this.persisted=t,this}clearOnLogout(t=!0){return this.clearedOnLogout=t,this}build(){return new ui(this.appId,this.persisted?window.localStorage:window.sessionStorage,!this.clearedOnLogout)}}function Ag(e){return new Y3(e)}Q3();function Sg(){return globalThis._nc_auth_requestToken?globalThis._nc_auth_requestToken:globalThis.document?document.head.dataset.requesttoken??null:null}function kg(e){if(!e||typeof e!="string")throw new Error("Invalid CSRF token given",{cause:{token:e}});globalThis._nc_auth_requestToken!==e&&(globalThis._nc_auth_requestToken=e,globalThis.document&&(document.head.dataset.requesttoken=e),xr("csrf-token-update",{token:e,_internal:!0}))}async function J3(){const e=_r("/csrftoken"),t=await fetch(e);if(!t.ok)throw new Error("Could not fetch CSRF token from API",{cause:t});try{const{token:n}=await t.json();return kg(n),n}catch(n){throw new Error("Could not parse CSRF token from API response",{cause:n})}}function Tg(e){const t=async({token:n})=>{try{e(n)}catch(r){console.error("Error updating CSRF token observer",r)}};return Sc("csrf-token-update",t),()=>xg("csrf-token-update",t)}function Q3(){Sc("csrf-token-update",({token:e,_internal:t})=>{t||kg(e)})}Ag("public").persist().build();let vo;function kp(e,t){return e?e.getAttribute(t):null}function Xi(){if(vo!==void 0)return vo;const e=document?.getElementsByTagName("head")[0];if(!e)return null;const t=kp(e,"data-user");return t===null?(vo=null,vo):(vo={uid:t,displayName:kp(e,"data-user-displayname"),isAdmin:!!window._oc_isadmin},vo)}function Tp(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n2?n-2:0),o=2;o1?t-1:0),r=1;r"u"?null:dt(BigInt.prototype.toString),$p=typeof Symbol>"u"?null:dt(Symbol.prototype.toString),yt=dt(Object.prototype.hasOwnProperty),us=dt(Object.prototype.toString),vt=dt(RegExp.prototype.test),Ur=hb(TypeError);function dt(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o2&&arguments[2]!==void 0?arguments[2]:bs;if(Np&&Np(e,null),!Cr(t))return e;let r=t.length;for(;r--;){let o=t[r];if(typeof o=="string"){const s=n(o);s!==o&&(sb(t)||(t[r]=s),o=s)}e[o]=!0}return e}function fb(e){for(let t=0;t/g),wb=St(/\${[\w\W]*/g),Cb=St(/^data-[\-\w.\u00B7-\uFFFF]+$/),_b=St(/^aria-[\-\w]+$/),Mp=St(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),xb=St(/^(?:\w+script|data):/i),Ab=St(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Sb=St(/^html$/i),kb=St(/^[a-z][.\w]*(-[.\w]+)+$/i),zp=St(/<[/\w!]/g),jp=St(/<[/\w]/g),Tb=St(/<\/no(script|embed|frames)/i),Nb=St(/\/>/i),Qt={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,processingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},Db=function(){return typeof window>"u"?null:window},Ob=function(e,t){if(typeof e!="object"||typeof e.createPolicy!="function")return null;let n=null;const r="data-tt-policy-suffix";t&&t.hasAttribute(r)&&(n=t.getAttribute(r));const o="dompurify"+(n?"#"+n:"");try{return e.createPolicy(o,{createHTML(s){return s},createScriptURL(s){return s}})}catch{return console.warn("TrustedTypes policy "+o+" could not be created."),null}},Up=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},fr=function(e,t,n,r){return yt(e,t)&&Cr(e[t])?Pe(r.base?Dt(r.base):{},e[t],r.transform):n};function Og(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Db();const t=E=>Og(E);if(t.version="3.4.13",t.removed=[],!e||!e.document||e.document.nodeType!==Qt.document||!e.Element)return t.isSupported=!1,t;let n=e.document;const r=n,o=r.currentScript;e.DocumentFragment;const s=e.HTMLTemplateElement,a=e.Node,i=e.Element,u=e.NodeFilter;e.NamedNodeMap===void 0&&(e.NamedNodeMap||e.MozNamedAttrMap),e.HTMLFormElement;const l=e.DOMParser,d=e.trustedTypes,p=i.prototype,h=mn(p,"cloneNode"),g=mn(p,"remove"),f=mn(p,"nextSibling"),m=mn(p,"childNodes"),v=mn(p,"parentNode"),y=mn(p,"shadowRoot"),w=mn(p,"attributes"),C=a&&a.prototype?mn(a.prototype,"nodeType"):null,x=a&&a.prototype?mn(a.prototype,"nodeName"):null,D=a&&a.prototype?mn(a.prototype,"ownerDocument"):null;if(typeof s=="function"){const E=n.createElement("template");E.content&&E.content.ownerDocument&&(n=E.content.ownerDocument)}let $,q="",U,B=!1,re=0;const T=function(){if(re>0)throw Ur('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.')},S=function(E){T(),re++;try{return $.createHTML(E)}finally{re--}},V=function(E){T(),re++;try{return $.createScriptURL(E)}finally{re--}},se=function(){return B||(U=Ob(d,o),B=!0),U},Z=n,X=Z.implementation,ne=Z.createNodeIterator,ee=Z.createDocumentFragment,J=Z.getElementsByTagName,Q=r.importNode;let pe=Up();t.isSupported=typeof Ng=="function"&&typeof v=="function"&&X&&X.createHTMLDocument!==void 0;const Se=bb,qe=Eb,ke=wb,me=Cb,A=_b,F=xb,L=Ab,j=kb;let b=Mp,_=null;const k=Pe({},[...Rp,...Iu,...Mu,...zu,...Fp]);let O=null;const I=Pe({},[...Lp,...ju,...Ip,...Na]);let P=Object.seal(Ao(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}})),G=null,te=null;const Y=Object.seal(Ao(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let W=!0,fe=!0,ie=!1,ve=!0,ye=!1,Ae=!0,De=!1,Ie=!1,Ke=null,ot=null,Wt=!1,Et=!1,Sn=!1,Rr=!1,kt=!0,Jt=!1;const Xo="user-content-";let co=!0,ma=!1,po={},kn=null;const su=Pe({},["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 rd=null;const od=Pe({},["audio","video","img","source","image","track"]);let au=null;const sd=Pe({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),va="http://www.w3.org/1998/Math/MathML",ya="http://www.w3.org/2000/svg",Tn="http://www.w3.org/1999/xhtml";let ho=Tn,iu=!1,uu=null;const Ov=Pe({},[va,ya,Tn],Lu),ad=At(["mi","mo","mn","ms","mtext"]);let lu=Pe({},ad);const id=At(["annotation-xml"]);let cu=Pe({},id);const Pv=Pe({},["title","style","font","a","script"]);let Yo=null;const Bv=["application/xhtml+xml","text/html"],$v="text/html";let Je=null,fo=null;const Rv=n.createElement("form"),ud=function(E){return E instanceof RegExp||E instanceof Function},du=function(){let E=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(fo&&fo===E)return;(!E||typeof E!="object")&&(E={}),E=Dt(E),Yo=Bv.indexOf(E.PARSER_MEDIA_TYPE)===-1?$v:E.PARSER_MEDIA_TYPE,Je=Yo==="application/xhtml+xml"?Lu:bs,_=fr(E,"ALLOWED_TAGS",k,{transform:Je}),O=fr(E,"ALLOWED_ATTR",I,{transform:Je}),uu=fr(E,"ALLOWED_NAMESPACES",Ov,{transform:Lu}),au=fr(E,"ADD_URI_SAFE_ATTR",sd,{transform:Je,base:sd}),rd=fr(E,"ADD_DATA_URI_TAGS",od,{transform:Je,base:od}),kn=fr(E,"FORBID_CONTENTS",su,{transform:Je}),G=fr(E,"FORBID_TAGS",Dt({}),{transform:Je}),te=fr(E,"FORBID_ATTR",Dt({}),{transform:Je}),po=yt(E,"USE_PROFILES")?E.USE_PROFILES&&typeof E.USE_PROFILES=="object"?Dt(E.USE_PROFILES):E.USE_PROFILES:!1,W=E.ALLOW_ARIA_ATTR!==!1,fe=E.ALLOW_DATA_ATTR!==!1,ie=E.ALLOW_UNKNOWN_PROTOCOLS||!1,ve=E.ALLOW_SELF_CLOSE_IN_ATTR!==!1,ye=E.SAFE_FOR_TEMPLATES||!1,Ae=E.SAFE_FOR_XML!==!1,De=E.WHOLE_DOCUMENT||!1,Et=E.RETURN_DOM||!1,Sn=E.RETURN_DOM_FRAGMENT||!1,Rr=E.RETURN_TRUSTED_TYPE||!1,Wt=E.FORCE_BODY||!1,kt=E.SANITIZE_DOM!==!1,Jt=E.SANITIZE_NAMED_PROPS||!1,co=E.KEEP_CONTENT!==!1,ma=E.IN_PLACE||!1,b=mb(E.ALLOWED_URI_REGEXP)?E.ALLOWED_URI_REGEXP:Mp,ho=typeof E.NAMESPACE=="string"?E.NAMESPACE:Tn,lu=yt(E,"MATHML_TEXT_INTEGRATION_POINTS")&&E.MATHML_TEXT_INTEGRATION_POINTS&&typeof E.MATHML_TEXT_INTEGRATION_POINTS=="object"?Dt(E.MATHML_TEXT_INTEGRATION_POINTS):Pe({},ad),cu=yt(E,"HTML_INTEGRATION_POINTS")&&E.HTML_INTEGRATION_POINTS&&typeof E.HTML_INTEGRATION_POINTS=="object"?Dt(E.HTML_INTEGRATION_POINTS):Pe({},id);const M=yt(E,"CUSTOM_ELEMENT_HANDLING")&&E.CUSTOM_ELEMENT_HANDLING&&typeof E.CUSTOM_ELEMENT_HANDLING=="object"?Dt(E.CUSTOM_ELEMENT_HANDLING):Ao(null);if(P=Ao(null),yt(M,"tagNameCheck")&&ud(M.tagNameCheck)&&(P.tagNameCheck=M.tagNameCheck),yt(M,"attributeNameCheck")&&ud(M.attributeNameCheck)&&(P.attributeNameCheck=M.attributeNameCheck),yt(M,"allowCustomizedBuiltInElements")&&typeof M.allowCustomizedBuiltInElements=="boolean"&&(P.allowCustomizedBuiltInElements=M.allowCustomizedBuiltInElements),St(P),ye&&(fe=!1),Sn&&(Et=!0),po&&(_=Pe({},Fp),O=Ao(null),po.html===!0&&(Pe(_,Rp),Pe(O,Lp)),po.svg===!0&&(Pe(_,Iu),Pe(O,ju),Pe(O,Na)),po.svgFilters===!0&&(Pe(_,Mu),Pe(O,ju),Pe(O,Na)),po.mathMl===!0&&(Pe(_,zu),Pe(O,Ip),Pe(O,Na))),Y.tagCheck=null,Y.attributeCheck=null,yt(E,"ADD_TAGS")&&(typeof E.ADD_TAGS=="function"?Y.tagCheck=E.ADD_TAGS:Cr(E.ADD_TAGS)&&(_===k&&(_=Dt(_)),Pe(_,E.ADD_TAGS,Je))),yt(E,"ADD_ATTR")&&(typeof E.ADD_ATTR=="function"?Y.attributeCheck=E.ADD_ATTR:Cr(E.ADD_ATTR)&&(O===I&&(O=Dt(O)),Pe(O,E.ADD_ATTR,Je))),yt(E,"ADD_URI_SAFE_ATTR")&&Cr(E.ADD_URI_SAFE_ATTR)&&Pe(au,E.ADD_URI_SAFE_ATTR,Je),yt(E,"FORBID_CONTENTS")&&Cr(E.FORBID_CONTENTS)&&(kn===su&&(kn=Dt(kn)),Pe(kn,E.FORBID_CONTENTS,Je)),yt(E,"ADD_FORBID_CONTENTS")&&Cr(E.ADD_FORBID_CONTENTS)&&(kn===su&&(kn=Dt(kn)),Pe(kn,E.ADD_FORBID_CONTENTS,Je)),co&&(_["#text"]=!0),De&&Pe(_,["html","head","body"]),_.table&&(Pe(_,["tbody"]),delete G.tbody),E.TRUSTED_TYPES_POLICY){if(typeof E.TRUSTED_TYPES_POLICY.createHTML!="function")throw Ur('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof E.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw Ur('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');const H=$;$=E.TRUSTED_TYPES_POLICY;try{q=S("")}catch(ue){throw $=H,ue}}else E.TRUSTED_TYPES_POLICY===null?($=void 0,q=""):($===void 0&&($=se()),$&&typeof q=="string"&&(q=S("")));At&&At(E),fo=E},ld=Pe({},[...Iu,...Mu,...vb]),cd=Pe({},[...zu,...yb]),Fv=function(E,M,H){return M.namespaceURI===Tn?E==="svg":M.namespaceURI===va?E==="svg"&&(H==="annotation-xml"||lu[H]):!!ld[E]},Lv=function(E,M,H){return M.namespaceURI===Tn?E==="math":M.namespaceURI===ya?E==="math"&&cu[H]:!!cd[E]},Iv=function(E,M,H){return M.namespaceURI===ya&&!cu[H]||M.namespaceURI===va&&!lu[H]?!1:!cd[E]&&(Pv[E]||!ld[E])},Mv=function(E){let M=v(E);(!M||!M.tagName)&&(M={namespaceURI:ho,tagName:"template"});const H=bs(E.tagName),ue=bs(M.tagName);return uu[E.namespaceURI]?E.namespaceURI===ya?Fv(H,M,ue):E.namespaceURI===va?Lv(H,M,ue):E.namespaceURI===Tn?Iv(H,M,ue):!!(Yo==="application/xhtml+xml"&&uu[E.namespaceURI]):!1},Fr=function(E){bo(t.removed,{element:E});try{v(E).removeChild(E)}catch{if(g(E),!v(E))throw Ur("a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place")}},ba=function(E){Jo(E);const M=m(E);if(M){const ue=[];yo(M,we=>{bo(ue,we)}),yo(ue,we=>{try{g(we)}catch{}})}const H=w(E);if(H)for(let ue=H.length-1;ue>=0;--ue){const we=H[ue],Te=we&&we.name;if(typeof Te=="string")try{E.removeAttribute(Te)}catch{}}},Lr=function(E,M){try{bo(t.removed,{attribute:M.getAttributeNode(E),from:M})}catch{bo(t.removed,{attribute:null,from:M})}if(M.removeAttribute(E),E==="is")if(Et||Sn)try{Fr(M)}catch{}else try{M.setAttribute(E,"")}catch{}},zv=function(E){const M=w(E);if(M)for(let H=M.length-1;H>=0;--H){const ue=M[H],we=ue&&ue.name;if(!(typeof we!="string"||O[Je(we)]))try{E.removeAttribute(we)}catch{}}},Jo=function(E){const M=[E];for(;M.length>0;){const H=M.pop();(C?C(H):H.nodeType)===Qt.element&&zv(H);const ue=m(H);if(ue)for(let we=ue.length-1;we>=0;--we)M.push(ue[we])}},jv=function(E){if(!Ae)return;const M=[E];for(;M.length>0;){const H=M.pop(),ue=C?C(H):H.nodeType;if(ue===Qt.processingInstruction||ue===Qt.comment&&vt(jp,H.data)){try{g(H)}catch{}continue}if(ue===Qt.element){const Te=H,Ne=Je(x?x(H):H.nodeName);try{Te.hasAttribute&&Te.hasAttribute("patchsrc")&&Te.removeAttribute("patchsrc"),Te.hasAttribute&&Te.hasAttribute("for")&&Ne!=="label"&&Ne!=="output"&&Te.removeAttribute("for")}catch{}}const we=m(H);if(we)for(let Te=we.length-1;Te>=0;--Te)M.push(we[Te])}},dd=function(E){let M=null,H=null;if(Wt)E=""+E;else{const Te=Op(E,/^[\r\n\t ]+/);H=Te&&Te[0]}Yo==="application/xhtml+xml"&&ho===Tn&&(E=''+E+"");const ue=$?S(E):E;if(ho===Tn)try{M=new l().parseFromString(ue,Yo)}catch{}if(!M||!M.documentElement){M=X.createDocument(ho,"template",null);try{M.documentElement.innerHTML=iu?q:ue}catch{}}const we=M.body||M.documentElement;return E&&H&&we.insertBefore(n.createTextNode(H),we.childNodes[0]||null),ho===Tn?J.call(M,De?"html":"body")[0]:De?M.documentElement:we},pd=function(E){const M=D?D(E):E.ownerDocument;return ne.call(M||E,E,u.SHOW_ELEMENT|u.SHOW_COMMENT|u.SHOW_TEXT|u.SHOW_PROCESSING_INSTRUCTION|u.SHOW_CDATA_SECTION,null)},Ea=function(E){return E=is(E,Se," "),E=is(E,qe," "),E=is(E,ke," "),E},pu=function(E){var M;E.normalize();const H=D?D(E):E.ownerDocument,ue=ne.call(H||E,E,u.SHOW_TEXT|u.SHOW_COMMENT|u.SHOW_CDATA_SECTION|u.SHOW_PROCESSING_INSTRUCTION,null);let we=ue.nextNode();for(;we;)we.data=Ea(we.data),we=ue.nextNode();const Te=(M=E.querySelectorAll)===null||M===void 0?void 0:M.call(E,"template");Te&&yo(Te,Ne=>{go(Ne.content)&&pu(Ne.content)})},wa=function(E){const M=x?x(E):null;return typeof M!="string"||Je(M)!=="form"?!1:typeof E.nodeName!="string"||typeof E.textContent!="string"||typeof E.removeChild!="function"||E.attributes!==w(E)||typeof E.removeAttribute!="function"||typeof E.setAttribute!="function"||typeof E.namespaceURI!="string"||typeof E.insertBefore!="function"||typeof E.hasChildNodes!="function"||E.nodeType!==C(E)||E.childNodes!==m(E)},go=function(E){if(!C||typeof E!="object"||E===null)return!1;try{return C(E)===Qt.documentFragment}catch{return!1}},Qo=function(E){if(!C||typeof E!="object"||E===null)return!1;try{return typeof C(E)=="number"}catch{return!1}};function Nn(E,M,H){E.length!==0&&yo(E,ue=>{ue.call(t,M,H,fo)})}const Uv=function(E,M){return!!(Ae&&E.hasChildNodes()&&!Qo(E.firstElementChild)&&vt(zp,E.textContent)&&vt(zp,E.innerHTML)||Ae&&E.namespaceURI===Tn&&M==="style"&&Qo(E.firstElementChild)||E.nodeType===Qt.processingInstruction||Ae&&E.nodeType===Qt.comment&&vt(jp,E.data))},Hv=function(E,M,H){if(!G[M]&&md(M)&&(P.tagNameCheck instanceof RegExp&&vt(P.tagNameCheck,M)||P.tagNameCheck instanceof Function&&P.tagNameCheck(M)))return!1;if(co&&!kn[M]){const ue=v(E),we=m(E);if(we&&ue){const Te=we.length;for(let Ne=Te-1;Ne>=0;--Ne){const Dn=E===H?h(we[Ne],!0):we[Ne];ue.insertBefore(Dn,f(E))}}}return Fr(E),!0},hd=function(E,M,H,ue){return E.length===0?M:M===H||M===ue?Dt(M):M},fd=function(E,M){if(Nn(pe.beforeSanitizeElements,E,null),E!==M&&v(E)===null)return ma&&Jo(E),!0;if(wa(E))return Fr(E),!0;const H=Je(x?x(E):E.nodeName);if(_=hd(pe.uponSanitizeElement,_,k,Ke),Nn(pe.uponSanitizeElement,E,{tagName:H,allowedTags:_}),E!==M&&v(E)===null)return ma&&Jo(E),!0;if(Uv(E,H))return Fr(E),!0;if(G[H]||!(Y.tagCheck instanceof Function&&Y.tagCheck(H))&&!_[H]){const ue=Hv(E,H,M);return ue===!1&&Nn(pe.afterSanitizeElements,E,null),ue}if((C?C(E):E.nodeType)===Qt.element&&!Mv(E)||(H==="noscript"||H==="noembed"||H==="noframes")&&vt(Tb,E.innerHTML))return Fr(E),!0;if(ye&&E.nodeType===Qt.text){const ue=Ea(E.textContent);E.textContent!==ue&&(bo(t.removed,{element:E.cloneNode()}),E.textContent=ue)}return Nn(pe.afterSanitizeElements,E,null),!1},gd=function(E,M,H){if(te[M]||Ae&&M==="patchsrc"||Ae&&M==="for"&&E!=="label"&&E!=="output"||kt&&(M==="id"||M==="name")&&(H in n||H in Rv))return!1;const ue=O[M]||Y.attributeCheck instanceof Function&&Y.attributeCheck(M,E);if(!(fe&&vt(me,M))&&!(W&&vt(A,M))){if(ue){if(!au[M]&&!vt(b,is(H,L,""))&&!((M==="src"||M==="xlink:href"||M==="href")&&E!=="script"&&Pp(H,"data:")===0&&rd[E])&&!(ie&&!vt(F,is(H,L,"")))&&H)return!1}else if(!(md(E)&&(P.tagNameCheck instanceof RegExp&&vt(P.tagNameCheck,E)||P.tagNameCheck instanceof Function&&P.tagNameCheck(E))&&(P.attributeNameCheck instanceof RegExp&&vt(P.attributeNameCheck,M)||P.attributeNameCheck instanceof Function&&P.attributeNameCheck(M,E))||M==="is"&&P.allowCustomizedBuiltInElements&&(P.tagNameCheck instanceof RegExp&&vt(P.tagNameCheck,H)||P.tagNameCheck instanceof Function&&P.tagNameCheck(H))))return!1}return!0},Vv=Pe({},["annotation-xml","color-profile","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","missing-glyph"]),md=function(E){return!Vv[bs(E)]&&vt(j,E)},Gv=function(E,M,H,ue){if($&&typeof d=="object"&&typeof d.getAttributeType=="function"&&!H)switch(d.getAttributeType(E,M)){case"TrustedHTML":return S(ue);case"TrustedScriptURL":return V(ue)}return ue},Wv=function(E,M,H,ue){try{H?E.setAttributeNS(H,M,ue):E.setAttribute(M,ue),wa(E)?Fr(E):Dp(t.removed)}catch{Lr(M,E)}},vd=function(E){Nn(pe.beforeSanitizeAttributes,E,null);const M=E.attributes;if(!M||wa(E))return;O=hd(pe.uponSanitizeAttribute,O,I,ot);const H={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:O,forceKeepAttr:void 0};let ue=M.length;const we=Je(E.nodeName);for(;ue--;){const Te=M[ue],Ne=Te.name,Dn=Te.namespaceURI,dr=Te.value,Tt=Je(Ne),gn=dr;let Mt=Ne==="value"?gn:cb(gn);if(H.attrName=Tt,H.attrValue=Mt,H.keepAttr=!0,H.forceKeepAttr=void 0,Nn(pe.uponSanitizeAttribute,E,H),Mt=H.attrValue,Jt&&(Tt==="id"||Tt==="name")&&Pp(Mt,Xo)!==0&&(Lr(Ne,E),Mt=Xo+Mt),Ae&&vt(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,Mt)){Lr(Ne,E);continue}if(Tt==="attributename"&&Op(Mt,"href")){Lr(Ne,E);continue}if(!H.forceKeepAttr){if(!H.keepAttr){Lr(Ne,E);continue}if(!ve&&vt(Nb,Mt)){Lr(Ne,E);continue}if(ye&&(Mt=Ea(Mt)),!gd(we,Tt,Mt)){Lr(Ne,E);continue}Mt=Gv(we,Tt,Dn,Mt),Mt!==gn&&Wv(E,Ne,Dn,Mt)}}Nn(pe.afterSanitizeAttributes,E,null)},Ca=function(E){let M=null;const H=pd(E);for(Nn(pe.beforeSanitizeShadowDOM,E,null);M=H.nextNode();)if(Nn(pe.uponSanitizeShadowNode,M,null),fd(M,E),vd(M),go(M.content)&&Ca(M.content),(C?C(M):M.nodeType)===Qt.element){const ue=y(M);go(ue)&&(hu(ue),Ca(ue))}Nn(pe.afterSanitizeShadowDOM,E,null)},hu=function(E){const M=[{node:E,shadow:null}];for(;M.length>0;){const H=M.pop();if(H.shadow){Ca(H.shadow);continue}const ue=H.node,we=(C?C(ue):ue.nodeType)===Qt.element,Te=m(ue);if(Te)for(let Ne=Te.length-1;Ne>=0;--Ne)M.push({node:Te[Ne],shadow:null});if(we){const Ne=x?x(ue):null;if(typeof Ne=="string"&&Je(Ne)==="template"){const Dn=ue.content;go(Dn)&&M.push({node:Dn,shadow:null})}}if(we){const Ne=y(ue);go(Ne)&&M.push({node:null,shadow:Ne},{node:Ne,shadow:null})}}};return t.sanitize=function(E){let M=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},H=null,ue=null,we=null,Te=null;if(iu=!E,iu&&(E=""),typeof E!="string"&&!Qo(E)&&(E=gb(E),typeof E!="string"))throw Ur("dirty is not a string, aborting");if(!t.isSupported)return E;Ie?(_=Ke,O=ot):du(M),(pe.uponSanitizeElement.length>0||pe.uponSanitizeAttribute.length>0)&&(_=Dt(_)),pe.uponSanitizeAttribute.length>0&&(O=Dt(O)),t.removed=[];const Ne=ma&&typeof E!="string"&&Qo(E);if(Ne){jv(E);const Tt=x?x(E):E.nodeName;if(typeof Tt=="string"){const gn=Je(Tt);if(!_[gn]||G[gn])throw ba(E),Ur("root node is forbidden and cannot be sanitized in-place")}if(wa(E))throw ba(E),Ur("root node is clobbered and cannot be sanitized in-place");try{hu(E)}catch(gn){throw ba(E),gn}}else if(Qo(E))H=dd(""),ue=H.ownerDocument.importNode(E,!0),ue.nodeType===Qt.element&&ue.nodeName==="BODY"||ue.nodeName==="HTML"?H=ue:H.appendChild(ue),hu(ue);else{if(!Et&&!ye&&!De&&E.indexOf("<")===-1)return $&&Rr?S(E):E;if(H=dd(E),!H)return Et?null:Rr?q:""}H&&Wt&&Fr(H.firstChild);const Dn=Ne?E:H;try{const Tt=pd(Dn);for(;we=Tt.nextNode();)fd(we,Dn),vd(we),go(we.content)&&Ca(we.content)}catch(Tt){throw Ne&&(ba(E),yo(t.removed,gn=>{gn.element&&Jo(gn.element)})),Tt}if(Ne)return yo(t.removed,Tt=>{Tt.element&&Jo(Tt.element)}),ye&&pu(E),E;if(Et){if(ye&&pu(H),Sn)for(Te=ee.call(H.ownerDocument);H.firstChild;)Te.appendChild(H.firstChild);else Te=H;return(O.shadowroot||O.shadowrootmode)&&(Te=Q.call(r,Te,!0)),Te}let dr=De?H.outerHTML:H.innerHTML;return De&&_["!doctype"]&&H.ownerDocument&&H.ownerDocument.doctype&&H.ownerDocument.doctype.name&&vt(Sb,H.ownerDocument.doctype.name)&&(dr=" -`+dr),ye&&(dr=Ea(dr)),$&&Rr?S(dr):dr},t.setConfig=function(){let E=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};du(E),Ie=!0,Ke=_,ot=O},t.clearConfig=function(){fo=null,Ie=!1,Ke=null,ot=null,$=U,q=""},t.isValidAttribute=function(E,M,H){fo||du({});const ue=Je(E),we=Je(M);return gd(ue,we,H)},t.addHook=function(E,M){typeof M=="function"&&yt(pe,E)&&bo(pe[E],M)},t.removeHook=function(E,M){if(yt(pe,E)){if(M!==void 0){const H=ub(pe[E],M);return H===-1?void 0:lb(pe[E],H,1)[0]}return Dp(pe[E])}},t.removeHooks=function(E){yt(pe,E)&&(pe[E]=[])},t.removeAllHooks=function(){pe=Up()},t}var Pg=Og(),Uu,Hp;function Pb(){if(Hp)return Uu;Hp=1;var e=/["'&<>]/;Uu=t;function t(n){var r=""+n,o=e.exec(r);if(!o)return r;var s,a="",i=0,u=0;for(i=o.index;it)}}globalThis._oc_l10n_registry_translations??={},globalThis._oc_l10n_registry_plural_functions??={};function je(e,t,n,r,o){const s=typeof n=="object"?n:void 0,a=typeof r=="number"?r:typeof n=="number"?n:void 0,i={escape:!0,sanitize:!0,...typeof o=="object"?o:typeof r=="object"?r:{}},u=g=>g,c=(i.sanitize?Pg.sanitize:u)||u,l=i.escape?Vp:u,d=g=>typeof g=="string"||typeof g=="number",p=(g,f,m)=>g.replace(/%n/g,""+m).replace(/{([^{}]*)}/g,(v,y)=>{if(f===void 0||!(y in f))return l(v);const w=f[y];return d(w)?l(`${w}`):typeof w=="object"&&d(w.value)?(w.escape!==!1?Vp:u)(`${w.value}`):l(v)});let h=(o?.bundle??Bg(e)).translations[t]||t;return h=Array.isArray(h)?h[0]:h,c(typeof s=="object"||a!==void 0?p(h,s,a):h)}function Fb(e,t,n,r,o,s){const a="_"+t+"_::_"+n+"_",i=s?.bundle??Bg(e),u=i.translations[a];if(typeof u<"u"){const c=u;if(Array.isArray(c)){const l=i.pluralFunction(r);return je(e,c[l],o,r,s)}}return r===1?je(e,t,o,r,s):je(e,n,o,r,s)}function Lb(e,t=Ar()){switch(t==="pt-BR"&&(t="xbr"),t.length>3&&(t=t.substring(0,t.lastIndexOf("-"))),t){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 e===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 e===0||e===1?0:1;case"be":case"bs":case"hr":case"ru":case"sh":case"sr":case"uk":return e%10===1&&e%100!==11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2;case"cs":case"sk":return e===1?0:e>=2&&e<=4?1:2;case"ga":return e===1?0:e===2?1:2;case"lt":return e%10===1&&e%100!==11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2;case"sl":return e%100===1?0:e%100===2?1:e%100===3||e%100===4?2:3;case"mk":return e%10===1?0:1;case"mt":return e===1?0:e===0||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3;case"lv":return e===0?0:e%10===1&&e%100!==11?1:2;case"pl":return e===1?0:e%10>=2&&e%10<=4&&(e%100<12||e%100>14)?1:2;case"cy":return e===1?0:e===2?1:e===8||e===11?2:3;case"ro":return e===1?0:e===0||e%100>0&&e%100<20?1:2;case"ar":return e===0?0:e===1?1:e===2?2:e%100>=3&&e%100<=10?3:e%100>=11&&e%100<=99?4:5;default:return 0}}function Ib(e=Date.now(),t={}){const n={ignoreSeconds:!1,language:Ar(),relativeTime:"long",...t},r=new Date(e),o=new Intl.RelativeTimeFormat([n.language,Ar()],{numeric:"auto",style:n.relativeTime}),s=(r.getTime()-Date.now())/1e3;if(Math.abs(s)<59.5)return n.ignoreSeconds||o.format(Math.round(s),"second");const a=s/60;if(Math.abs(a)<=59)return o.format(Math.round(a),"minute");const i=a/60;if(Math.abs(i)<23.5)return o.format(Math.round(i),"hour");const u=i/24;if(Math.abs(u)<6.5)return o.format(Math.round(u),"day");if(Math.abs(u)<27.5){const d=u/7;return o.format(Math.round(d),"week")}const c=u/30,l=Math.abs(c)<11?{month:n.relativeTime,day:"numeric"}:{year:n.relativeTime==="narrow"?"2-digit":"numeric",month:n.relativeTime};return new Intl.DateTimeFormat([n.language,Ar()],l).format(r)}function Go(e,t,n){const r=`#initial-state-${e}-${t}`;if(window._nc_initial_state?.has(r))return window._nc_initial_state.get(r);window._nc_initial_state||(window._nc_initial_state=new Map);const o=document.querySelector(r);if(o===null){if(n!==void 0)return n;throw new Error(`Could not find initial state ${t} of ${e}`)}try{const s=JSON.parse(atob(o.value));return window._nc_initial_state.set(r,s),s}catch(s){if(console.error("[@nextcloud/initial-state] Could not parse initial state",{key:t,app:e,error:s}),n!==void 0)return n;throw new Error(`Could not parse initial state ${t} of ${e}`,{cause:s})}}function Mb(){try{return Go("core","capabilities")}catch{return console.debug("Could not find capabilities initial state fall back to _oc_capabilities"),"_oc_capabilities"in window?window._oc_capabilities:{}}}function Zs(e,t){return M0()?(l1(e,t),!0):!1}const Rl=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const zb=e=>e!=null,jb=Object.prototype.toString,Ub=e=>jb.call(e)==="[object Object]",Hb=()=>{};function Ns(e){return Array.isArray(e)?e:[e]}function Vb(e){return jn()}function Gb(e,t=!0,n){Vb()?An(e,n):t?e():wn(e)}function Wb(e,t=1e3,n={}){const{immediate:r=!0,immediateCallback:o=!1}=n;let s=null;const a=ar(!1);function i(){s&&(clearInterval(s),s=null)}function u(){a.value=!1,i()}function c(){const l=Rt(t);l<=0||(a.value=!0,o&&e(),i(),a.value&&(s=setInterval(e,l)))}return r&&Rl&&c(),(lt(t)||typeof t=="function")&&Zs(tt(t,()=>{a.value&&Rl&&c()})),Zs(u),{isActive:T1(a),pause:u,resume:c}}function qb(e,t,n){return tt(e,t,{...n,immediate:!0})}const $r=Rl?window:void 0;function In(e){var t;const n=Rt(e);return(t=n?.$el)!==null&&t!==void 0?t:n}function Sr(...e){const t=(r,o,s,a)=>(r.addEventListener(o,s,a),()=>r.removeEventListener(o,s,a)),n=oe(()=>{const r=Ns(Rt(e[0])).filter(o=>o!=null);return r.every(o=>typeof o!="string")?r:void 0});return qb(()=>{var r,o;return[(r=(o=n.value)===null||o===void 0?void 0:o.map(s=>In(s)))!==null&&r!==void 0?r:[$r].filter(s=>s!=null),Ns(Rt(n.value?e[1]:e[0])),Ns(z(n.value?e[2]:e[1])),Rt(n.value?e[3]:e[2])]},([r,o,s,a],i,u)=>{if(!r?.length||!o?.length||!s?.length)return;const c=Ub(a)?{...a}:a,l=r.flatMap(d=>o.flatMap(p=>s.map(h=>t(d,p,h,c))));u(()=>{l.forEach(d=>d())})},{flush:"post"})}function Kb(){const e=ar(!1),t=jn();return t&&An(()=>{e.value=!0},t),e}function $g(e){const t=Kb();return oe(()=>(t.value,!!e()))}function Zb(e,t,n={}){const{window:r=$r,...o}=n;let s;const a=$g(()=>r&&"MutationObserver"in r),i=()=>{s&&(s.disconnect(),s=void 0)},u=tt(oe(()=>{const d=Ns(Rt(e)).map(In).filter(zb);return new Set(d)}),d=>{i(),a.value&&d.size&&(s=new MutationObserver(t),d.forEach(p=>s.observe(p,o)))},{immediate:!0,flush:"post"}),c=()=>s?.takeRecords(),l=()=>{u(),i()};return Zs(l),{isSupported:a,stop:l,takeRecords:c}}function Xb(e,t,n={}){const{window:r=$r,document:o=r?.document,flush:s="sync"}=n;if(!r||!o)return Hb;let a;const i=l=>{a?.(),a=l},u=ji(()=>{const l=In(e);if(l){const{stop:d}=Zb(o,p=>{p.map(h=>[...h.removedNodes]).flat().some(h=>h===l||h.contains(l))&&t(p)},{window:r,childList:!0,subtree:!0});i(d)}},{flush:s}),c=()=>{u(),i()};return Zs(c),c}function Yb(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function Gp(...e){let t,n,r={};e.length===3?(t=e[0],n=e[1],r=e[2]):e.length===2?typeof e[1]=="object"?(t=!0,n=e[0],r=e[1]):(t=e[0],n=e[1]):(t=!0,n=e[0]);const{target:o=$r,eventName:s="keydown",passive:a=!1,dedupe:i=!1}=r,u=Yb(t);return Sr(o,s,c=>{c.repeat&&Rt(i)||u(c)&&n(c)},a)}function Jb(e={}){var t;const{window:n=$r,deep:r=!0,triggerOnRemoval:o=!1}=e,s=(t=e.document)!==null&&t!==void 0?t:n?.document,a=()=>{let c=s?.activeElement;if(r)for(var l;c?.shadowRoot;)c=c==null||(l=c.shadowRoot)===null||l===void 0?void 0:l.activeElement;return c},i=ar(),u=()=>{i.value=a()};if(n){const c={capture:!0,passive:!0};Sr(n,"blur",l=>{l.relatedTarget===null&&u()},c),Sr(n,"focus",u,c)}return o&&Xb(i,u,{document:s}),u(),i}function Qb(e,t,n={}){const{window:r=$r,...o}=n;let s;const a=$g(()=>r&&"ResizeObserver"in r),i=()=>{s&&(s.disconnect(),s=void 0)},u=tt(oe(()=>{const l=Rt(e);return Array.isArray(l)?l.map(d=>In(d)):[In(l)]}),l=>{if(i(),a.value&&r){s=new ResizeObserver(t);for(const d of l)d&&s.observe(d,o)}},{immediate:!0,flush:"post"}),c=()=>{i(),u()};return Zs(c),{isSupported:a,stop:c}}function eE(e,t={width:0,height:0},n={}){const{window:r=$r,box:o="content-box"}=n,s=oe(()=>{var d;return(d=In(e))===null||d===void 0||(d=d.namespaceURI)===null||d===void 0?void 0:d.includes("svg")}),a=ar(t.width),i=ar(t.height),{stop:u}=Qb(e,([d])=>{const p=o==="border-box"?d.borderBoxSize:o==="content-box"?d.contentBoxSize:d.devicePixelContentBoxSize;if(r&&s.value){const h=In(e);if(h){const g=h.getBoundingClientRect();a.value=g.width,i.value=g.height}}else if(p){const h=Ns(p);a.value=h.reduce((g,{inlineSize:f})=>g+f,0),i.value=h.reduce((g,{blockSize:f})=>g+f,0)}else a.value=d.contentRect.width,i.value=d.contentRect.height},n);Gb(()=>{const d=In(e);d&&(a.value="offsetWidth"in d?d.offsetWidth:t.width,i.value="offsetHeight"in d?d.offsetHeight:t.height)});const c=tt(()=>In(e),d=>{a.value=d?t.width:0,i.value=d?t.height:0});function l(){u(),c()}return{width:a,height:i,stop:l}}const tE="focusin",nE="focusout",rE=":focus-within";function oE(e,t={}){const{window:n=$r}=t,r=oe(()=>In(e)),o=ar(!1),s=oe(()=>o.value);if(!n||!Jb(t).value)return{focused:s};const a={passive:!0};return Sr(r,tE,()=>o.value=!0,a),Sr(r,nE,()=>{var i,u,c;return o.value=(i=(u=r.value)===null||u===void 0||(c=u.matches)===null||c===void 0?void 0:c.call(u,rE))!==null&&i!==void 0?i:!1},a),{focused:s}}function Rg(e,t={}){const{threshold:n=50,onSwipe:r,onSwipeEnd:o,onSwipeStart:s,passive:a=!0}=t,i=Lo({x:0,y:0}),u=Lo({x:0,y:0}),c=oe(()=>i.x-u.x),l=oe(()=>i.y-u.y),{max:d,abs:p}=Math,h=oe(()=>d(p(c.value),p(l.value))>=n),g=ar(!1),f=oe(()=>h.value?p(c.value)>p(l.value)?c.value>0?"left":"right":l.value>0?"up":"down":"none"),m=D=>[D.touches[0].clientX,D.touches[0].clientY],v=(D,$)=>{i.x=D,i.y=$},y=(D,$)=>{u.x=D,u.y=$},w={passive:a,capture:!a},C=D=>{g.value&&o?.(D,f.value),g.value=!1},x=[Sr(e,"touchstart",D=>{if(D.touches.length!==1)return;const[$,q]=m(D);v($,q),y($,q),s?.(D)},w),Sr(e,"touchmove",D=>{if(D.touches.length!==1)return;const[$,q]=m(D);y($,q),w.capture&&!w.passive&&Math.abs(c.value)>Math.abs(l.value)&&D.preventDefault(),!g.value&&h.value&&(g.value=!0),g.value&&r?.(D)},w),Sr(e,["touchend","touchcancel"],C,w)];return{isSwiping:g,direction:f,coordsStart:i,coordsEnd:u,lengthX:c,lengthY:l,stop:()=>x.forEach(D=>D())}}const sE={__name:"splitpanes",props:{horizontal:{type:Boolean,default:!1},pushOtherPanes:{type:Boolean,default:!0},maximizePanes:{type:Boolean,default:!0},rtl:{type:Boolean,default:!1},firstSplitter:{type:Boolean,default:!1}},emits:["ready","resize","resized","pane-click","pane-maximize","pane-add","pane-remove","splitter-click","splitter-dblclick"],setup(e,{emit:t}){const n=t,r=e,o=Wi(),s=xe([]),a=oe(()=>s.value.reduce((A,F)=>(A[~~F.id]=F)&&A,{})),i=oe(()=>s.value.length),u=xe(null),c=xe(!1),l=xe({mouseDown:!1,dragging:!1,activeSplitter:null,cursorOffset:0}),d=xe({splitter:null,timeoutId:null}),p=oe(()=>({[`splitpanes splitpanes--${r.horizontal?"horizontal":"vertical"}`]:!0,"splitpanes--dragging":l.value.dragging})),h=()=>{document.addEventListener("mousemove",m,{passive:!1}),document.addEventListener("mouseup",v),"ontouchstart"in window&&(document.addEventListener("touchmove",m,{passive:!1}),document.addEventListener("touchend",v))},g=()=>{document.removeEventListener("mousemove",m,{passive:!1}),document.removeEventListener("mouseup",v),"ontouchstart"in window&&(document.removeEventListener("touchmove",m,{passive:!1}),document.removeEventListener("touchend",v))},f=(A,F)=>{const L=A.target.closest(".splitpanes__splitter");if(L){const{left:j,top:b}=L.getBoundingClientRect(),{clientX:_,clientY:k}="ontouchstart"in window&&A.touches?A.touches[0]:A;l.value.cursorOffset=r.horizontal?k-b:_-j}h(),l.value.mouseDown=!0,l.value.activeSplitter=F},m=A=>{l.value.mouseDown&&(A.preventDefault(),l.value.dragging=!0,requestAnimationFrame(()=>{$(x(A)),ke("resize",{event:A},!0)}))},v=A=>{l.value.dragging&&(window.getSelection().removeAllRanges(),ke("resized",{event:A},!0)),l.value.mouseDown=!1,l.value.activeSplitter=null,setTimeout(()=>{l.value.dragging=!1,g()},100)},y=(A,F)=>{"ontouchstart"in window&&(A.preventDefault(),d.value.splitter===F?(clearTimeout(d.value.timeoutId),d.value.timeoutId=null,w(A,F),d.value.splitter=null):(d.value.splitter=F,d.value.timeoutId=setTimeout(()=>d.value.splitter=null,500))),l.value.dragging||ke("splitter-click",{event:A,index:F},!0)},w=(A,F)=>{if(ke("splitter-dblclick",{event:A,index:F},!0),r.maximizePanes){let L=0;s.value=s.value.map((j,b)=>(j.size=b===F?j.max:j.min,b!==F&&(L+=j.min),j)),s.value[F].size-=L,ke("pane-maximize",{event:A,index:F,pane:s.value[F]}),ke("resized",{event:A,index:F},!0)}},C=(A,F)=>{ke("pane-click",{event:A,index:a.value[F].index,pane:a.value[F]})},x=A=>{const F=u.value.getBoundingClientRect(),{clientX:L,clientY:j}="ontouchstart"in window&&A.touches?A.touches[0]:A;return{x:L-(r.horizontal?0:l.value.cursorOffset)-F.left,y:j-(r.horizontal?l.value.cursorOffset:0)-F.top}},D=A=>{A=A[r.horizontal?"y":"x"];const F=u.value[r.horizontal?"clientHeight":"clientWidth"];return r.rtl&&!r.horizontal&&(A=F-A),A*100/F},$=A=>{const F=l.value.activeSplitter;let L={prevPanesSize:U(F),nextPanesSize:B(F),prevReachedMinPanes:0,nextReachedMinPanes:0};const j=0+(r.pushOtherPanes?0:L.prevPanesSize),b=100-(r.pushOtherPanes?0:L.nextPanesSize),_=Math.max(Math.min(D(A),b),j);let k=[F,F+1],O=s.value[k[0]]||null,I=s.value[k[1]]||null;const P=O.max<100&&_>=O.max+L.prevPanesSize,G=I.max<100&&_<=100-(I.max+B(F+1));if(P||G){P?(O.size=O.max,I.size=Math.max(100-O.max-L.prevPanesSize-L.nextPanesSize,0)):(O.size=Math.max(100-I.max-L.prevPanesSize-B(F+1),0),I.size=I.max);return}if(r.pushOtherPanes){const te=q(L,_);if(!te)return;({sums:L,panesToResize:k}=te),O=s.value[k[0]]||null,I=s.value[k[1]]||null}O!==null&&(O.size=Math.min(Math.max(_-L.prevPanesSize-L.prevReachedMinPanes,O.min),O.max)),I!==null&&(I.size=Math.min(Math.max(100-_-L.nextPanesSize-L.nextReachedMinPanes,I.min),I.max))},q=(A,F)=>{const L=l.value.activeSplitter,j=[L,L+1];return F{_>j[0]&&_<=L&&(b.size=b.min,A.prevReachedMinPanes+=b.min)}),A.prevPanesSize=U(j[0]),j[0]===void 0)?(A.prevReachedMinPanes=0,s.value[0].size=s.value[0].min,s.value.forEach((b,_)=>{_>0&&_<=L&&(b.size=b.min,A.prevReachedMinPanes+=b.min)}),s.value[j[1]].size=100-A.prevReachedMinPanes-s.value[0].min-A.prevPanesSize-A.nextPanesSize,null):F>100-A.nextPanesSize-s.value[j[1]].min&&(j[1]=T(L).index,A.nextReachedMinPanes=0,j[1]>L+1&&s.value.forEach((b,_)=>{_>L&&_{_=L+1&&(b.size=b.min,A.nextReachedMinPanes+=b.min)}),s.value[j[0]].size=100-A.prevPanesSize-B(j[0]-1),null):{sums:A,panesToResize:j}},U=A=>s.value.reduce((F,L,j)=>F+(js.value.reduce((F,L,j)=>F+(j>A+1?L.size:0),0),re=A=>[...s.value].reverse().find(F=>F.indexF.min)||{},T=A=>s.value.find(F=>F.index>A+1&&F.size>F.min)||{},S=()=>{var A;const F=Array.from(((A=u.value)==null?void 0:A.children)||[]);for(const L of F){const j=L.classList.contains("splitpanes__pane"),b=L.classList.contains("splitpanes__splitter");!j&&!b&&(L.remove(),console.warn("Splitpanes: Only elements are allowed at the root of . One of your DOM nodes was removed."))}},V=(A,F,L=!1)=>{const j=A-1,b=document.createElement("div");b.classList.add("splitpanes__splitter"),L||(b.onmousedown=_=>f(_,j),typeof window<"u"&&"ontouchstart"in window&&(b.ontouchstart=_=>f(_,j)),b.onclick=_=>y(_,j+1)),b.ondblclick=_=>w(_,j+1),F.parentNode.insertBefore(b,F)},se=A=>{A.onmousedown=void 0,A.onclick=void 0,A.ondblclick=void 0,A.remove()},Z=()=>{var A;const F=Array.from(((A=u.value)==null?void 0:A.children)||[]);for(const j of F)j.className.includes("splitpanes__splitter")&&se(j);let L=0;for(const j of F)j.className.includes("splitpanes__pane")&&(!L&&r.firstSplitter?V(L,j,!0):L&&V(L,j),L++)},X=({uid:A,...F})=>{const L=a.value[A];for(const[j,b]of Object.entries(F))L[j]=b},ne=A=>{var F;let L=-1;Array.from(((F=u.value)==null?void 0:F.children)||[]).some(j=>(j.className.includes("splitpanes__pane")&&L++,j.isSameNode(A.el))),s.value.splice(L,0,{...A,index:L}),s.value.forEach((j,b)=>j.index=b),c.value&&wn(()=>{Z(),J({addedPane:s.value[L]}),ke("pane-add",{pane:s.value[L]})})},ee=A=>{const F=s.value.findIndex(j=>j.id===A);s.value[F].el=null;const L=s.value.splice(F,1)[0];s.value.forEach((j,b)=>j.index=b),wn(()=>{Z(),ke("pane-remove",{pane:L}),J({removedPane:{...L}})})},J=(A={})=>{!A.addedPane&&!A.removedPane?pe():s.value.some(F=>F.givenSize!==null||F.min||F.max<100)?Se(A):Q(),c.value&&ke("resized")},Q=()=>{const A=100/i.value;let F=0;const L=[],j=[];for(const b of s.value)b.size=Math.max(Math.min(A,b.max),b.min),F-=b.size,b.size>=b.max&&L.push(b.id),b.size<=b.min&&j.push(b.id);F>.1&&qe(F,L,j)},pe=()=>{let A=100;const F=[],L=[];let j=0;for(const _ of s.value)A-=_.size,_.givenSize!==null&&j++,_.size>=_.max&&F.push(_.id),_.size<=_.min&&L.push(_.id);let b=100;if(A>.1){for(const _ of s.value)_.givenSize===null&&(_.size=Math.max(Math.min(A/(i.value-j),_.max),_.min)),b-=_.size;b>.1&&qe(b,F,L)}},Se=({addedPane:A,removedPane:F}={})=>{let L=100/i.value,j=0;const b=[],_=[];(A?.givenSize??null)!==null&&(L=(100-A.givenSize)/(i.value-1));for(const k of s.value)j-=k.size,k.size>=k.max&&b.push(k.id),k.size<=k.min&&_.push(k.id);if(!(Math.abs(j)<.1)){for(const k of s.value)A?.givenSize!==null&&A?.id===k.id||(k.size=Math.max(Math.min(L,k.max),k.min)),j-=k.size,k.size>=k.max&&b.push(k.id),k.size<=k.min&&_.push(k.id);j>.1&&qe(j,b,_)}},qe=(A,F,L)=>{let j;A>0?j=A/(i.value-F.length):j=A/(i.value-L.length),s.value.forEach((b,_)=>{if(A>0&&!F.includes(b.id)){const k=Math.max(Math.min(b.size+j,b.max),b.min),O=k-b.size;A-=O,b.size=k}else if(!L.includes(b.id)){const k=Math.max(Math.min(b.size+j,b.max),b.min),O=k-b.size;A-=O,b.size=k}}),Math.abs(A)>.1&&wn(()=>{c.value&&console.warn("Splitpanes: Could not resize panes correctly due to their constraints.")})},ke=(A,F=void 0,L=!1)=>{const j=F?.index??l.value.activeSplitter??null;n(A,{...F,...j!==null&&{index:j},...L&&j!==null&&{prevPane:s.value[j-(r.firstSplitter?1:0)],nextPane:s.value[j+(r.firstSplitter?0:1)]},panes:s.value.map(b=>({min:b.min,max:b.max,size:b.size}))})};tt(()=>r.firstSplitter,()=>Z()),An(()=>{S(),Z(),J(),ke("ready"),c.value=!0}),sa(()=>c.value=!1);const me=()=>{var A;return Pt("div",{ref:u,class:p.value},(A=o.default)==null?void 0:A.call(o))};return Zt("panes",s),Zt("indexedPanes",a),Zt("horizontal",oe(()=>r.horizontal)),Zt("requestUpdate",X),Zt("onPaneAdd",ne),Zt("onPaneRemove",ee),Zt("onPaneClick",C),(A,F)=>(R(),ge(aa(me)))}},aE={__name:"pane",props:{size:{type:[Number,String]},minSize:{type:[Number,String],default:0},maxSize:{type:[Number,String],default:100}},setup(e){var t;const n=e,r=st("requestUpdate"),o=st("onPaneAdd"),s=st("horizontal"),a=st("onPaneRemove"),i=st("onPaneClick"),u=(t=jn())==null?void 0:t.uid,c=st("indexedPanes"),l=oe(()=>c.value[u]),d=xe(null),p=oe(()=>{const m=isNaN(n.size)||n.size===void 0?0:parseFloat(n.size);return Math.max(Math.min(m,g.value),h.value)}),h=oe(()=>{const m=parseFloat(n.minSize);return isNaN(m)?0:m}),g=oe(()=>{const m=parseFloat(n.maxSize);return isNaN(m)?100:m}),f=oe(()=>{var m;return`${s.value?"height":"width"}: ${(m=l.value)==null?void 0:m.size}%`});return tt(()=>p.value,m=>r({uid:u,size:m})),tt(()=>h.value,m=>r({uid:u,min:m})),tt(()=>g.value,m=>r({uid:u,max:m})),An(()=>{o({id:u,el:d.value,min:h.value,max:g.value,givenSize:n.size===void 0?null:p.value,size:p.value})}),sa(()=>a(u)),(m,v)=>(R(),K("div",{ref_key:"paneEl",ref:d,class:"splitpanes__pane",onClick:v[0]||(v[0]=y=>z(i)(y,m._.uid)),style:dn(f.value)},[be(m.$slots,"default")],4))}};var Wp="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",Fg="M4,11V13H16L10.5,18.5L11.92,19.92L19.84,12L11.92,4.08L10.5,5.5L16,11H4Z",Fl="M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z",iE="M15.41,16.58L10.83,12L15.41,7.41L14,6L8,12L14,18L15.41,16.58Z",Lg="M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z",Ll="M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z",uE="M3,6H21V8H3V6M3,11H21V13H3V11M3,16H21V18H3V16Z",lE="M21,15.61L19.59,17L14.58,12L19.59,7L21,8.39L17.44,12L21,15.61M3,6H16V8H3V6M3,13V11H13V13H3M3,18V16H16V18H3Z",cE="M14,19H18V5H14M6,19H10V5H6V19Z",dE="M8,5.14V19.14L19,12.14L8,5.14Z",pE="M12.5,8C9.85,8 7.45,9 5.6,10.6L2,7V16H11L7.38,12.38C8.77,11.22 10.54,10.5 12.5,10.5C16.04,10.5 19.05,12.81 20.1,16L22.47,15.22C21.08,11.03 17.15,8 12.5,8Z";const Tc=1024,Ig=Tc/2,li=e=>document.documentElement.clientWidth{Mg.value=li(Tc),hE.value=li(Ig)},{passive:!0});function da(){return zs(Mg)}class fE{bundle;constructor(t){this.bundle={pluralFunction:t,translations:{}}}addTranslations(t){const n=Object.values(t.translations[""]??{}).map(({msgid:r,msgid_plural:o,msgstr:s})=>o!==void 0?[`_${r}_::_${o}_`,s]:[r,s[0]]);this.bundle.translations={...this.bundle.translations,...Object.fromEntries(n)}}gettext(t,n={}){return je("",t,n,void 0,{bundle:this.bundle})}ngettext(t,n,r,o={}){return Fb("",t,n,r,o,{bundle:this.bundle})}}class gE{debug=!1;language="en";translations={};setLanguage(t){return this.language=t,this}detectLocale(){return this.detectLanguage()}detectLanguage(){return this.setLanguage(Ar().replace("-","_"))}addTranslation(t,n){return this.translations[t]=n,this}enableDebugMode(){return this.debug=!0,this}build(){this.debug&&console.debug(`Creating gettext instance for language ${this.language}`);const t=new fE(n=>Lb(n,this.language));return this.language in this.translations&&t.addTranslations(this.translations[this.language]),t}}function mE(){return new gE}const zg=mE().detectLanguage().build(),Fe=(...e)=>zg.gettext(...e);function hn(...e){for(const t of e)if(!t.registered){for(const{l:n,t:r}of t){if(n!==Ar()||!r)continue;const o=Object.fromEntries(Object.entries(r).map(([s,a])=>[s,{msgid:s,msgid_plural:a.p,msgstr:a.v}]));zg.addTranslations({translations:{"":o}})}t.registered=!0}}const vE=[{l:"ar",t:{"a few seconds ago":{v:["منذ عدة ثوانٍ"]},"sec. ago":{v:["ثانية مضت"]},"seconds ago":{v:["ثوانٍ مضت"]}}},{l:"ast",t:{"a few seconds ago":{v:["hai unos segundos"]},"sec. ago":{v:["hai segs"]},"seconds ago":{v:["hai segundos"]}}},{l:"br",t:{}},{l:"ca",t:{}},{l:"cs",t:{"a few seconds ago":{v:["před několika sekundami"]},"sec. ago":{v:["sek. před"]},"seconds ago":{v:["sekund předtím"]}}},{l:"cs-CZ",t:{"a few seconds ago":{v:["před několika sekundami"]},"sec. ago":{v:["sek. před"]},"seconds ago":{v:["sekund předtím"]}}},{l:"da",t:{"a few seconds ago":{v:["et par sekunder siden"]},"sec. ago":{v:["sek. siden"]},"seconds ago":{v:["sekunder siden"]}}},{l:"de",t:{"a few seconds ago":{v:["vor ein paar Sekunden"]},"sec. ago":{v:["Sek. zuvor"]},"seconds ago":{v:["Sekunden zuvor"]}}},{l:"de-DE",t:{"a few seconds ago":{v:["vor ein paar Sekunden"]},"sec. ago":{v:["Sek. zuvor"]},"seconds ago":{v:["Sekunden zuvor"]}}},{l:"el",t:{"a few seconds ago":{v:["πριν λίγα δευτερόλεπτα"]},"sec. ago":{v:["δευτ. πριν"]},"seconds ago":{v:["δευτερόλεπτα πριν"]}}},{l:"en-GB",t:{"a few seconds ago":{v:["a few seconds ago"]},"sec. ago":{v:["sec. ago"]},"seconds ago":{v:["seconds ago"]}}},{l:"eo",t:{}},{l:"es",t:{"a few seconds ago":{v:["hace unos pocos segundos"]},"sec. ago":{v:["hace segundos"]},"seconds ago":{v:["segundos atrás"]}}},{l:"es-AR",t:{"a few seconds ago":{v:["hace unos segundos"]},"sec. ago":{v:["seg. atrás"]},"seconds ago":{v:["segundos atrás"]}}},{l:"es-EC",t:{"a few seconds ago":{v:["hace unos segundos"]},"sec. ago":{v:["hace segundos"]},"seconds ago":{v:["Segundos atrás"]}}},{l:"es-MX",t:{"a few seconds ago":{v:["hace unos segundos"]},"sec. ago":{v:["seg. atrás"]},"seconds ago":{v:["segundos atrás"]}}},{l:"et-EE",t:{"a few seconds ago":{v:["mõni sekund tagasi"]},"sec. ago":{v:["sek. tagasi"]},"seconds ago":{v:["sekundit tagasi"]}}},{l:"eu",t:{"a few seconds ago":{v:["duela segundo batzuk"]},"sec. ago":{v:["duela seg."]},"seconds ago":{v:["duela segundo"]}}},{l:"fa",t:{"a few seconds ago":{v:["چند ثانیه پیش"]},"sec. ago":{v:["چند ثانیه پیش"]},"seconds ago":{v:["چند ثانیه پیش"]}}},{l:"fi",t:{"a few seconds ago":{v:["muutamia sekunteja sitten"]},"sec. ago":{v:["sek. sitten"]},"seconds ago":{v:["sekunteja sitten"]}}},{l:"fr",t:{"a few seconds ago":{v:["il y a quelques instants"]},"sec. ago":{v:["il y a qq. sec."]},"seconds ago":{v:["il y a quelques secondes"]}}},{l:"ga",t:{"a few seconds ago":{v:["cúpla soicind ó shin"]},"sec. ago":{v:["soic. ó shin"]},"seconds ago":{v:["soicind ó shin"]}}},{l:"gl",t:{"a few seconds ago":{v:["hai uns segundos"]},"sec. ago":{v:["segs. atrás"]},"seconds ago":{v:["segundos atrás"]}}},{l:"he",t:{"a few seconds ago":{v:["לפני מספר שניות"]},"sec. ago":{v:["לפני מספר שניות"]},"seconds ago":{v:["לפני מס׳ שניות"]}}},{l:"hr",t:{"a few seconds ago":{v:["prije nekoliko sekundi"]},"sec. ago":{v:["prije nek. sek."]},"seconds ago":{v:["prije nek. sek."]}}},{l:"hu",t:{"a few seconds ago":{v:["néhány másodperce"]},"sec. ago":{v:["másodperce"]},"seconds ago":{v:["másodperce"]}}},{l:"id",t:{"a few seconds ago":{v:["beberapa detik yang lalu"]},"sec. ago":{v:["dtk. yang lalu"]},"seconds ago":{v:["beberapa detik lalu"]}}},{l:"is",t:{"a few seconds ago":{v:["fyrir örfáum sekúndum síðan"]},"sec. ago":{v:["sek. síðan"]},"seconds ago":{v:["sekúndum síðan"]}}},{l:"it",t:{"a few seconds ago":{v:["pochi secondi fa"]},"sec. ago":{v:["sec. fa"]},"seconds ago":{v:["secondi fa"]}}},{l:"ja",t:{"a few seconds ago":{v:["数秒前"]},"sec. ago":{v:["秒前"]},"seconds ago":{v:["数秒前"]}}},{l:"ja-JP",t:{"a few seconds ago":{v:["数秒前"]},"sec. ago":{v:["秒前"]},"seconds ago":{v:["数秒前"]}}},{l:"ko",t:{"a few seconds ago":{v:["방금 전"]},"sec. ago":{v:["몇 초 전"]},"seconds ago":{v:["초 전"]}}},{l:"lo",t:{"a few seconds ago":{v:["ສອງສາມວິນາທີກ່ອນ"]},"sec. ago":{v:["ວິ. ກ່ອນ"]},"seconds ago":{v:["ວິນາທີກ່ອນ"]}}},{l:"lt-LT",t:{"a few seconds ago":{v:["prieš keletą sekundžių"]},"sec. ago":{v:["prieš sek."]},"seconds ago":{v:["prieš sekundes"]}}},{l:"lv",t:{}},{l:"mk",t:{"a few seconds ago":{v:["пред неколку секунди"]},"sec. ago":{v:["секунда"]},"seconds ago":{v:["секунди"]}}},{l:"mn",t:{"a few seconds ago":{v:["хэдхэн секундын өмнө"]},"sec. ago":{v:["сек. өмнө"]},"seconds ago":{v:["секундын өмнө"]}}},{l:"my",t:{}},{l:"nb",t:{"a few seconds ago":{v:["noen få sekunder siden"]},"sec. ago":{v:["sek. siden"]},"seconds ago":{v:["sekunder siden"]}}},{l:"nl",t:{"a few seconds ago":{v:["enkele seconden geleden"]},"sec. ago":{v:["sec. geleden"]},"seconds ago":{v:["seconden geleden"]}}},{l:"oc",t:{}},{l:"pl",t:{"a few seconds ago":{v:["kilka sekund temu"]},"sec. ago":{v:["sek. temu"]},"seconds ago":{v:["sekund temu"]}}},{l:"pt-BR",t:{"a few seconds ago":{v:["há alguns segundos"]},"sec. ago":{v:["seg. atrás"]},"seconds ago":{v:["segundos atrás"]}}},{l:"pt-PT",t:{"a few seconds ago":{v:["há alguns segundos"]},"sec. ago":{v:["seg. atrás"]},"seconds ago":{v:["segundos atrás"]}}},{l:"ro",t:{"a few seconds ago":{v:["acum câteva secunde"]},"sec. ago":{v:["sec. în urmă"]},"seconds ago":{v:["secunde în urmă"]}}},{l:"ru",t:{"a few seconds ago":{v:["несколько секунд назад"]},"sec. ago":{v:["сек. назад"]},"seconds ago":{v:["секунд назад"]}}},{l:"sk",t:{"a few seconds ago":{v:["pred chvíľou"]},"sec. ago":{v:["pred pár sekundami"]},"seconds ago":{v:["pred sekundami"]}}},{l:"sl",t:{}},{l:"sr",t:{"a few seconds ago":{v:["пре неколико секунди"]},"sec. ago":{v:["сек. раније"]},"seconds ago":{v:["секунди раније"]}}},{l:"sv",t:{"a few seconds ago":{v:["några sekunder sedan"]},"sec. ago":{v:["sek. sedan"]},"seconds ago":{v:["sekunder sedan"]}}},{l:"tr",t:{"a few seconds ago":{v:["birkaç saniye önce"]},"sec. ago":{v:["sn. önce"]},"seconds ago":{v:["saniye önce"]}}},{l:"uk",t:{"a few seconds ago":{v:["декілька секунд тому"]},"sec. ago":{v:["с тому"]},"seconds ago":{v:["с тому"]}}},{l:"uz",t:{"a few seconds ago":{v:["bir necha soniya oldin"]},"sec. ago":{v:["sek. oldin"]},"seconds ago":{v:["soniyalar oldin"]}}},{l:"zh-CN",t:{"a few seconds ago":{v:["几秒前"]},"sec. ago":{v:["几秒前"]},"seconds ago":{v:["几秒前"]}}},{l:"zh-HK",t:{"a few seconds ago":{v:["幾秒前"]},"sec. ago":{v:["秒前"]},"seconds ago":{v:["秒前"]}}},{l:"zh-TW",t:{"a few seconds ago":{v:["幾秒前"]},"sec. ago":{v:["秒前"]},"seconds ago":{v:["秒前"]}}}],yE=[{l:"ar",t:{Actions:{v:["إجراءات"]}}},{l:"ast",t:{Actions:{v:["Aiciones"]}}},{l:"br",t:{Actions:{v:["Oberioù"]}}},{l:"ca",t:{Actions:{v:["Accions"]}}},{l:"cs",t:{Actions:{v:["Akce"]}}},{l:"cs-CZ",t:{Actions:{v:["Akce"]}}},{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-AR",t:{Actions:{v:["Acciones"]}}},{l:"es-EC",t:{Actions:{v:["Acciones"]}}},{l:"es-MX",t:{Actions:{v:["Acciones"]}}},{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:"fr",t:{Actions:{v:["Actions"]}}},{l:"ga",t:{Actions:{v:["Gníomhartha"]}}},{l:"gl",t:{Actions:{v:["Accións"]}}},{l:"he",t:{Actions:{v:["פעולות"]}}},{l:"hr",t:{Actions:{v:["Radnje"]}}},{l:"hu",t:{Actions:{v:["Műveletek"]}}},{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:"ko",t:{Actions:{v:["동작"]}}},{l:"lo",t:{Actions:{v:["ການກະທຳ"]}}},{l:"lt-LT",t:{Actions:{v:["Veiksmai"]}}},{l:"lv",t:{}},{l:"mk",t:{Actions:{v:["Акции"]}}},{l:"mn",t:{Actions:{v:["Үйлдлүүд"]}}},{l:"my",t:{Actions:{v:["လုပ်ဆောင်ချက်များ"]}}},{l:"nb",t:{Actions:{v:["Handlinger"]}}},{l:"nl",t:{Actions:{v:["Acties"]}}},{l:"oc",t:{Actions:{v:["Accions"]}}},{l:"pl",t:{Actions:{v:["Działania"]}}},{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:"sk",t:{Actions:{v:["Akcie"]}}},{l:"sl",t:{Actions:{v:["Dejanja"]}}},{l:"sr",t:{Actions:{v:["Радње"]}}},{l:"sv",t:{Actions:{v:["Åtgärder"]}}},{l:"tr",t:{Actions:{v:["İşlemler"]}}},{l:"uk",t:{Actions:{v:["Дії"]}}},{l:"uz",t:{Actions:{v:["Harakatlar"]}}},{l:"zh-CN",t:{Actions:{v:["行为"]}}},{l:"zh-HK",t:{Actions:{v:["動作"]}}},{l:"zh-TW",t:{Actions:{v:["動作"]}}}],bE=[{l:"ar",t:{"Cancel changes":{v:["إلغاء التغييرات"]},"Confirm changes":{v:["تأكيد التغييرات"]}}},{l:"ast",t:{"Cancel changes":{v:["Encaboxar los cambeos"]},"Confirm changes":{v:["Confirmar los cambeos"]}}},{l:"br",t:{}},{l:"ca",t:{"Cancel changes":{v:["Cancel·la els canvis"]},"Confirm changes":{v:["Confirmeu els canvis"]}}},{l:"cs",t:{"Cancel changes":{v:["Zrušit změny"]},"Confirm changes":{v:["Potvrdit změny"]}}},{l:"cs-CZ",t:{"Cancel changes":{v:["Zrušit změny"]},"Confirm changes":{v:["Potvrdit změny"]}}},{l:"da",t:{"Cancel changes":{v:["Annuller ændringer"]},"Confirm changes":{v:["Bekræft ændringer"]}}},{l:"de",t:{"Cancel changes":{v:["Änderungen verwerfen"]},"Confirm changes":{v:["Änderungen bestätigen"]}}},{l:"de-DE",t:{"Cancel changes":{v:["Änderungen verwerfen"]},"Confirm changes":{v:["Änderungen bestätigen"]}}},{l:"el",t:{"Cancel changes":{v:["Ακύρωση αλλαγών"]},"Confirm changes":{v:["Επιβεβαίωση αλλαγών"]}}},{l:"en-GB",t:{"Cancel changes":{v:["Cancel changes"]},"Confirm changes":{v:["Confirm changes"]}}},{l:"eo",t:{}},{l:"es",t:{"Cancel changes":{v:["Cancelar cambios"]},"Confirm changes":{v:["Confirmar cambios"]}}},{l:"es-AR",t:{"Cancel changes":{v:["Cancelar cambios"]},"Confirm changes":{v:["Confirmar cambios"]}}},{l:"es-EC",t:{"Cancel changes":{v:["Cancelar cambios"]},"Confirm changes":{v:["Confirmar cambios"]}}},{l:"es-MX",t:{"Cancel changes":{v:["Cancelar cambios"]},"Confirm changes":{v:["Confirmar cambios"]}}},{l:"et-EE",t:{"Cancel changes":{v:["Tühista muudatused"]},"Confirm changes":{v:["Kinnita muudatused"]}}},{l:"eu",t:{"Cancel changes":{v:["Ezeztatu aldaketak"]},"Confirm changes":{v:["Baieztatu aldaketak"]}}},{l:"fa",t:{"Cancel changes":{v:["لغو تغییرات"]},"Confirm changes":{v:["تایید تغییرات"]}}},{l:"fi",t:{"Cancel changes":{v:["Peruuta muutokset"]},"Confirm changes":{v:["Vahvista muutokset"]}}},{l:"fr",t:{"Cancel changes":{v:["Annuler les modifications"]},"Confirm changes":{v:["Confirmer les modifications"]}}},{l:"ga",t:{"Cancel changes":{v:["Cealaigh athruithe"]},"Confirm changes":{v:["Deimhnigh na hathruithe"]}}},{l:"gl",t:{"Cancel changes":{v:["Cancelar os cambios"]},"Confirm changes":{v:["Confirma os cambios"]}}},{l:"he",t:{"Cancel changes":{v:["ביטול שינויים"]},"Confirm changes":{v:["אישור השינויים"]}}},{l:"hr",t:{"Cancel changes":{v:["Otkaži promjene"]},"Confirm changes":{v:["Potvrdi promjene"]}}},{l:"hu",t:{"Cancel changes":{v:["Változtatások elvetése"]},"Confirm changes":{v:["Változtatások megerősítése"]}}},{l:"id",t:{"Cancel changes":{v:["Batalkan perubahan"]},"Confirm changes":{v:["Konfirmasikan perubahan"]}}},{l:"is",t:{"Cancel changes":{v:["Hætta við breytingar"]},"Confirm changes":{v:["Staðfesta breytingar"]}}},{l:"it",t:{"Cancel changes":{v:["Annulla modifiche"]},"Confirm changes":{v:["Conferma modifiche"]}}},{l:"ja",t:{"Cancel changes":{v:["変更をキャンセル"]},"Confirm changes":{v:["変更を承認"]}}},{l:"ja-JP",t:{"Cancel changes":{v:["変更をキャンセル"]},"Confirm changes":{v:["変更を承認"]}}},{l:"ko",t:{"Cancel changes":{v:["변경 취소"]},"Confirm changes":{v:["변경 사항 확인"]}}},{l:"lo",t:{"Cancel changes":{v:["ຍົກເລີກການປ່ຽນແປງ"]},"Confirm changes":{v:["ຢືນຢັນການປ່ຽນແປງ"]}}},{l:"lt-LT",t:{"Cancel changes":{v:["Atsisakyti pakeitimų"]},"Confirm changes":{v:["Patvirtinti pakeitimus"]}}},{l:"lv",t:{}},{l:"mk",t:{"Cancel changes":{v:["Откажи ги промените"]},"Confirm changes":{v:["Потврди ги промените"]}}},{l:"mn",t:{"Cancel changes":{v:["Өөрчлөлтийг цуцлах"]},"Confirm changes":{v:["Өөрчлөлтийг баталгаажуулах"]}}},{l:"my",t:{"Cancel changes":{v:["ပြောင်းလဲမှုများ ပယ်ဖျက်ရန်"]},"Confirm changes":{v:["ပြောင်းလဲမှုများ အတည်ပြုရန်"]}}},{l:"nb",t:{"Cancel changes":{v:["Avbryt endringer"]},"Confirm changes":{v:["Bekreft endringer"]}}},{l:"nl",t:{"Cancel changes":{v:["Wijzigingen annuleren"]},"Confirm changes":{v:["Wijzigingen bevestigen"]}}},{l:"oc",t:{}},{l:"pl",t:{"Cancel changes":{v:["Anuluj zmiany"]},"Confirm changes":{v:["Potwierdź zmiany"]}}},{l:"pt-BR",t:{"Cancel changes":{v:["Cancelar alterações"]},"Confirm changes":{v:["Confirmar alterações"]}}},{l:"pt-PT",t:{"Cancel changes":{v:["Cancelar alterações"]},"Confirm changes":{v:["Confirmar alterações"]}}},{l:"ro",t:{"Cancel changes":{v:["Anulează modificările"]},"Confirm changes":{v:["Confirmați modificările"]}}},{l:"ru",t:{"Cancel changes":{v:["Отменить изменения"]},"Confirm changes":{v:["Подтвердить изменения"]}}},{l:"sk",t:{"Cancel changes":{v:["Zrušiť zmeny"]},"Confirm changes":{v:["Potvrdiť zmeny"]}}},{l:"sl",t:{"Cancel changes":{v:["Prekliči spremembe"]},"Confirm changes":{v:["Potrdi spremembe"]}}},{l:"sr",t:{"Cancel changes":{v:["Откажи измене"]},"Confirm changes":{v:["Потврдите измене"]}}},{l:"sv",t:{"Cancel changes":{v:["Avbryt ändringar"]},"Confirm changes":{v:["Bekräfta ändringar"]}}},{l:"tr",t:{"Cancel changes":{v:["Değişiklikleri iptal et"]},"Confirm changes":{v:["Değişiklikleri onayla"]}}},{l:"uk",t:{"Cancel changes":{v:["Скасувати зміни"]},"Confirm changes":{v:["Підтвердити зміни"]}}},{l:"uz",t:{"Cancel changes":{v:["O'zgarishlarni bekor qilish"]},"Confirm changes":{v:["O'zgarishlarni tasdiqlang"]}}},{l:"zh-CN",t:{"Cancel changes":{v:["取消更改"]},"Confirm changes":{v:["确认更改"]}}},{l:"zh-HK",t:{"Cancel changes":{v:["取消更改"]},"Confirm changes":{v:["確認更改"]}}},{l:"zh-TW",t:{"Cancel changes":{v:["取消變更"]},"Confirm changes":{v:["確認變更"]}}}],EE=[{l:"ar",t:{"Clear search":{v:["محو البحث"]}}},{l:"ast",t:{"Clear search":{v:["Borrar la busca"]}}},{l:"br",t:{}},{l:"ca",t:{}},{l:"cs",t:{"Clear search":{v:["Vyčistit vyhledávání"]}}},{l:"cs-CZ",t:{"Clear search":{v:["Vyčistit vyhledávání"]}}},{l:"da",t:{"Clear search":{v:["Ryd søgning"]}}},{l:"de",t:{"Clear search":{v:["Suche leeren"]}}},{l:"de-DE",t:{"Clear search":{v:["Suche leeren"]}}},{l:"el",t:{"Clear search":{v:["Εκκαθάριση αναζήτησης"]}}},{l:"en-GB",t:{"Clear search":{v:["Clear search"]}}},{l:"eo",t:{}},{l:"es",t:{"Clear search":{v:["Limpiar búsqueda"]}}},{l:"es-AR",t:{"Clear search":{v:["Limpiar búsqueda"]}}},{l:"es-EC",t:{"Clear search":{v:["Limpiar búsqueda"]}}},{l:"es-MX",t:{"Clear search":{v:["Limpiar búsqueda"]}}},{l:"et-EE",t:{"Clear search":{v:["Tühjenda otsing"]}}},{l:"eu",t:{"Clear search":{v:["Garbitu bilaketa"]}}},{l:"fa",t:{"Clear search":{v:["پاک کردن جستجو"]}}},{l:"fi",t:{"Clear search":{v:["Tyhjennä haku"]}}},{l:"fr",t:{"Clear search":{v:["Effacer la recherche"]}}},{l:"ga",t:{"Clear search":{v:["Glan cuardach"]}}},{l:"gl",t:{"Clear search":{v:["Limpar a busca"]}}},{l:"he",t:{"Clear search":{v:["פינוי חיפוש"]}}},{l:"hr",t:{"Clear search":{v:["Očisti pretraživanje"]}}},{l:"hu",t:{"Clear search":{v:["Keresés törlése"]}}},{l:"id",t:{"Clear search":{v:["Bersihkan pencarian"]}}},{l:"is",t:{"Clear search":{v:["Hreinsa leit"]}}},{l:"it",t:{"Clear search":{v:["online"]}}},{l:"ja",t:{"Clear search":{v:["検索をクリア"]}}},{l:"ja-JP",t:{"Clear search":{v:["検索をクリア"]}}},{l:"ko",t:{"Clear search":{v:["검색 지우기"]}}},{l:"lo",t:{"Clear search":{v:["ລຶບການຄົ້ນຫາ"]}}},{l:"lt-LT",t:{"Clear search":{v:["Išvalyti paiešką"]}}},{l:"lv",t:{}},{l:"mk",t:{"Clear search":{v:["Исчисти пребарување"]}}},{l:"mn",t:{"Clear search":{v:["Хайлтыг цэвэрлэх"]}}},{l:"my",t:{}},{l:"nb",t:{"Clear search":{v:["Tøm søk"]}}},{l:"nl",t:{"Clear search":{v:["Zoekopdracht wissen"]}}},{l:"oc",t:{}},{l:"pl",t:{"Clear search":{v:["Wyczyść wyszukiwanie"]}}},{l:"pt-BR",t:{"Clear search":{v:["Limpar pesquisa"]}}},{l:"pt-PT",t:{"Clear search":{v:["Limpar pesquisa"]}}},{l:"ro",t:{"Clear search":{v:["Șterge căutarea"]}}},{l:"ru",t:{"Clear search":{v:["Очистить поиск"]}}},{l:"sk",t:{"Clear search":{v:["Vymazať vyhľadávanie"]}}},{l:"sl",t:{}},{l:"sr",t:{"Clear search":{v:["Обриши претрагу"]}}},{l:"sv",t:{"Clear search":{v:["Rensa sökning"]}}},{l:"tr",t:{"Clear search":{v:["Aramayı temizle"]}}},{l:"uk",t:{"Clear search":{v:["Очистити пошук"]}}},{l:"uz",t:{"Clear search":{v:["Qidiruvni tozalash"]}}},{l:"zh-CN",t:{"Clear search":{v:["清除搜索"]}}},{l:"zh-HK",t:{"Clear search":{v:["清除搜索"]}}},{l:"zh-TW",t:{"Clear search":{v:["清除搜尋"]}}}],wE=[{l:"ar",t:{"Clear text":{v:["محو النص"]},"Save changes":{v:["حفظ التغييرات"]}}},{l:"ast",t:{"Clear text":{v:["Borrar el testu"]},"Save changes":{v:["Guardar los cambeos"]}}},{l:"br",t:{}},{l:"ca",t:{"Clear text":{v:["Netejar text"]}}},{l:"cs",t:{"Clear text":{v:["Čitelný text"]},"Save changes":{v:["Uložit změny"]}}},{l:"cs-CZ",t:{"Clear text":{v:["Čitelný text"]},"Save changes":{v:["Uložit změny"]}}},{l:"da",t:{"Clear text":{v:["Ryd tekst"]},"Save changes":{v:["Gem ændringer"]}}},{l:"de",t:{"Clear text":{v:["Klartext"]},"Save changes":{v:["Änderungen speichern"]}}},{l:"de-DE",t:{"Clear text":{v:["Klartext"]},"Save changes":{v:["Änderungen speichern"]}}},{l:"el",t:{"Clear text":{v:["Εκκαθάριση κειμένου"]},"Save changes":{v:["Αποθήκευση αλλαγών"]}}},{l:"en-GB",t:{"Clear text":{v:["Clear text"]},"Save changes":{v:["Save changes"]}}},{l:"eo",t:{}},{l:"es",t:{"Clear text":{v:["Limpiar texto"]},"Save changes":{v:["Guardar cambios"]}}},{l:"es-AR",t:{"Clear text":{v:["Limpiar texto"]},"Save changes":{v:["Guardar cambios"]}}},{l:"es-EC",t:{"Clear text":{v:["Limpiar texto"]}}},{l:"es-MX",t:{"Clear text":{v:["Limpiar texto"]},"Save changes":{v:["Guardar cambios"]}}},{l:"et-EE",t:{"Clear text":{v:["Kustuta tekst"]},"Save changes":{v:["Salvesta muudatused"]}}},{l:"eu",t:{"Clear text":{v:["Garbitu testua"]}}},{l:"fa",t:{"Clear text":{v:["پاک کردن متن"]},"Save changes":{v:["ذخیرهٔ تغییرات"]}}},{l:"fi",t:{"Clear text":{v:["Tyhjennä teksti"]},"Save changes":{v:["Tallenna muutokset"]}}},{l:"fr",t:{"Clear text":{v:["Effacer le texte"]},"Save changes":{v:["Sauvegarder les changements"]}}},{l:"ga",t:{"Clear text":{v:["Glan téacs"]},"Save changes":{v:["Sabháil na hathruithe"]}}},{l:"gl",t:{"Clear text":{v:["Limpar o texto"]},"Save changes":{v:["Gardar os cambios"]}}},{l:"he",t:{"Clear text":{v:["פינוי טקסט"]}}},{l:"hr",t:{"Clear text":{v:["Očisti tekst"]},"Save changes":{v:["Spremi promjene"]}}},{l:"hu",t:{"Clear text":{v:["Szöveg törlése"]},"Save changes":{v:["Változtatások mentése"]}}},{l:"id",t:{"Clear text":{v:["Bersihkan teks"]},"Save changes":{v:["Simpan perubahan"]}}},{l:"is",t:{"Clear text":{v:["Hreinsa texta"]},"Save changes":{v:["Vista breytingar"]}}},{l:"it",t:{"Clear text":{v:["Cancella il testo"]},"Save changes":{v:["Salva le modifiche"]}}},{l:"ja",t:{"Clear text":{v:["テキストをクリア"]},"Save changes":{v:["変更を保存"]}}},{l:"ja-JP",t:{"Clear text":{v:["テキストをクリア"]},"Save changes":{v:["変更を保存"]}}},{l:"ko",t:{"Clear text":{v:["텍스트 지우기"]},"Save changes":{v:["변경 사항 저장"]}}},{l:"lo",t:{"Clear text":{v:["ລຶບຂໍ້ຄວາມ"]},"Save changes":{v:["ບັນທຶກການປ່ຽນແປງ"]}}},{l:"lt-LT",t:{"Clear text":{v:["Išvalyti tekstą"]},"Save changes":{v:["Įrašyti pakeitimus"]}}},{l:"lv",t:{}},{l:"mk",t:{"Clear text":{v:["Исчисти текст"]},"Save changes":{v:["Зачувај промени"]}}},{l:"mn",t:{"Clear text":{v:["Текстийг цэвэрлэх"]},"Save changes":{v:["Өөрчлөлтийг хадгалах"]}}},{l:"my",t:{}},{l:"nb",t:{"Clear text":{v:["Fjern tekst"]},"Save changes":{v:["Lagre endringer"]}}},{l:"nl",t:{"Clear text":{v:["Tekst wissen"]},"Save changes":{v:["Wijzigingen opslaan"]}}},{l:"oc",t:{}},{l:"pl",t:{"Clear text":{v:["Wyczyść tekst"]},"Save changes":{v:["Zapisz zmiany"]}}},{l:"pt-BR",t:{"Clear text":{v:["Limpar texto"]},"Save changes":{v:["Salvar alterações"]}}},{l:"pt-PT",t:{"Clear text":{v:["Limpar texto"]},"Save changes":{v:["Gravar alterações"]}}},{l:"ro",t:{"Clear text":{v:["Șterge textul"]},"Save changes":{v:["Salvează modificările"]}}},{l:"ru",t:{"Clear text":{v:["Очистить текст"]},"Save changes":{v:["Сохранить изменения"]}}},{l:"sk",t:{"Clear text":{v:["Vamazať text"]},"Save changes":{v:["Uložiť zmeny"]}}},{l:"sl",t:{"Clear text":{v:["Počisti besedilo"]}}},{l:"sr",t:{"Clear text":{v:["Обриши текст"]},"Save changes":{v:["Сачувај измене"]}}},{l:"sv",t:{"Clear text":{v:["Ta bort text"]},"Save changes":{v:["Spara ändringar"]}}},{l:"tr",t:{"Clear text":{v:["Metni temizle"]},"Save changes":{v:["Değişiklikleri kaydet"]}}},{l:"uk",t:{"Clear text":{v:["Очистити текст"]},"Save changes":{v:["Зберегти зміни"]}}},{l:"uz",t:{"Clear text":{v:["Matnni tozalash"]},"Save changes":{v:["O'zgarishlarni saqlang"]}}},{l:"zh-CN",t:{"Clear text":{v:["清除文本"]},"Save changes":{v:["保存修改"]}}},{l:"zh-HK",t:{"Clear text":{v:["清除文本"]},"Save changes":{v:["保存更改"]}}},{l:"zh-TW",t:{"Clear text":{v:["清除文字"]},"Save changes":{v:["儲存變更"]}}}],CE=[{l:"ar",t:{Close:{v:["إغلاق"]}}},{l:"ast",t:{Close:{v:["Zarrar"]}}},{l:"br",t:{Close:{v:["Serriñ"]}}},{l:"ca",t:{Close:{v:["Tanca"]}}},{l:"cs",t:{Close:{v:["Zavřít"]}}},{l:"cs-CZ",t:{Close:{v:["Zavřít"]}}},{l:"da",t:{Close:{v:["Luk"]}}},{l:"de",t:{Close:{v:["Schließen"]}}},{l:"de-DE",t:{Close:{v:["Schließen"]}}},{l:"el",t:{Close:{v:["Κλείσιμο"]}}},{l:"en-GB",t:{Close:{v:["Close"]}}},{l:"eo",t:{Close:{v:["Fermu"]}}},{l:"es",t:{Close:{v:["Cerrar"]}}},{l:"es-AR",t:{Close:{v:["Cerrar"]}}},{l:"es-EC",t:{Close:{v:["Cerrar"]}}},{l:"es-MX",t:{Close:{v:["Cerrar"]}}},{l:"et-EE",t:{Close:{v:["Sulge"]}}},{l:"eu",t:{Close:{v:["Itxi"]}}},{l:"fa",t:{Close:{v:["بستن"]}}},{l:"fi",t:{Close:{v:["Sulje"]}}},{l:"fr",t:{Close:{v:["Fermer"]}}},{l:"ga",t:{Close:{v:["Dún"]}}},{l:"gl",t:{Close:{v:["Pechar"]}}},{l:"he",t:{Close:{v:["סגירה"]}}},{l:"hr",t:{Close:{v:["Zatvori"]}}},{l:"hu",t:{Close:{v:["Bezárás"]}}},{l:"id",t:{Close:{v:["Tutup"]}}},{l:"is",t:{Close:{v:["Loka"]}}},{l:"it",t:{Close:{v:["Chiudi"]}}},{l:"ja",t:{Close:{v:["閉じる"]}}},{l:"ja-JP",t:{Close:{v:["閉じる"]}}},{l:"ko",t:{Close:{v:["닫기"]}}},{l:"lo",t:{Close:{v:["ປິດ"]}}},{l:"lt-LT",t:{Close:{v:["Užverti"]}}},{l:"lv",t:{Close:{v:["Aizvērt"]}}},{l:"mk",t:{Close:{v:["Затвори"]}}},{l:"mn",t:{Close:{v:["Хаах"]}}},{l:"my",t:{Close:{v:["ပိတ်ရန်"]}}},{l:"nb",t:{Close:{v:["Lukk"]}}},{l:"nl",t:{Close:{v:["Sluiten"]}}},{l:"oc",t:{Close:{v:["Tampar"]}}},{l:"pl",t:{Close:{v:["Zamknij"]}}},{l:"pt-BR",t:{Close:{v:["Fechar"]}}},{l:"pt-PT",t:{Close:{v:["Fechar"]}}},{l:"ro",t:{Close:{v:["Închideți"]}}},{l:"ru",t:{Close:{v:["Закрыть"]}}},{l:"sk",t:{Close:{v:["Zavrieť"]}}},{l:"sl",t:{Close:{v:["Zapri"]}}},{l:"sr",t:{Close:{v:["Затвори"]}}},{l:"sv",t:{Close:{v:["Stäng"]}}},{l:"tr",t:{Close:{v:["Kapat"]}}},{l:"uk",t:{Close:{v:["Закрити"]}}},{l:"uz",t:{Close:{v:["Yopish"]}}},{l:"zh-CN",t:{Close:{v:["关闭"]}}},{l:"zh-HK",t:{Close:{v:["關閉"]}}},{l:"zh-TW",t:{Close:{v:["關閉"]}}}],_E=[{l:"ar",t:{"Close navigation":{v:["إغلاق التصفح"]},"Open navigation":{v:["فتح التنقُّل"]}}},{l:"ast",t:{"Close navigation":{v:["Zarrar la navegación"]},"Open navigation":{v:["Abrir la navegación"]}}},{l:"br",t:{}},{l:"ca",t:{"Close navigation":{v:["Tanca la navegació"]},"Open navigation":{v:["Obre la navegació"]}}},{l:"cs",t:{"Close navigation":{v:["Zavřít navigaci"]},"Open navigation":{v:["Otevřít navigaci"]}}},{l:"cs-CZ",t:{"Close navigation":{v:["Zavřít navigaci"]},"Open navigation":{v:["Otevřít navigaci"]}}},{l:"da",t:{"Close navigation":{v:["Luk navigation"]},"Open navigation":{v:["Åben navigation"]}}},{l:"de",t:{"Close navigation":{v:["Navigation schließen"]},"Open navigation":{v:["Navigation öffnen"]}}},{l:"de-DE",t:{"Close navigation":{v:["Navigation schließen"]},"Open navigation":{v:["Navigation öffnen"]}}},{l:"el",t:{"Close navigation":{v:["Κλείσιμο πλοήγησης"]},"Open navigation":{v:["Άνοιγμα πλοήγησης"]}}},{l:"en-GB",t:{"Close navigation":{v:["Close navigation"]},"Open navigation":{v:["Open navigation"]}}},{l:"eo",t:{}},{l:"es",t:{"Close navigation":{v:["Cerrar navegación"]},"Open navigation":{v:["Abrir navegación"]}}},{l:"es-AR",t:{"Close navigation":{v:["Cerrar navegación"]},"Open navigation":{v:["Abrir navegación"]}}},{l:"es-EC",t:{"Close navigation":{v:["Cerrar navegación"]},"Open navigation":{v:["Abrir navegación"]}}},{l:"es-MX",t:{"Close navigation":{v:["Cerrar navegación"]},"Open navigation":{v:["Abrir navegación"]}}},{l:"et-EE",t:{"Close navigation":{v:["Sulge navigatsioon"]},"Open navigation":{v:["Ava liikumisvaade"]}}},{l:"eu",t:{"Close navigation":{v:["Itxi nabigazioa"]},"Open navigation":{v:["Ireki nabigazioa"]}}},{l:"fa",t:{"Close navigation":{v:["بستن بخش ناوبری"]},"Open navigation":{v:["باز کردن بخش ناوبری"]}}},{l:"fi",t:{"Close navigation":{v:["Sulje navigaatio"]}}},{l:"fr",t:{"Close navigation":{v:["Fermer la navigation"]},"Open navigation":{v:["Ouvrir la navigation"]}}},{l:"ga",t:{"Close navigation":{v:["Dún nascleanúint"]},"Open navigation":{v:["Oscail nascleanúint"]}}},{l:"gl",t:{"Close navigation":{v:["Pechar a navegación"]},"Open navigation":{v:["Abrir a navegación"]}}},{l:"he",t:{"Close navigation":{v:["סגירת הניווט"]},"Open navigation":{v:["פתיחת ניווט"]}}},{l:"hr",t:{"Close navigation":{v:["Zatvori navigaciju"]},"Open navigation":{v:["Otvori navigaciju"]}}},{l:"hu",t:{"Close navigation":{v:["Navigáció bezárása"]},"Open navigation":{v:["Navigáció megnyitása"]}}},{l:"id",t:{"Close navigation":{v:["Tutup navigasi"]},"Open navigation":{v:["Buka navigasi"]}}},{l:"is",t:{"Close navigation":{v:["Loka leiðsagnarsleða"]}}},{l:"it",t:{"Close navigation":{v:["Chiudi la navigazione"]},"Open navigation":{v:["Apri la navigazione"]}}},{l:"ja",t:{"Close navigation":{v:["ナビゲーションを閉じる"]},"Open navigation":{v:["ナビゲーションを開く"]}}},{l:"ja-JP",t:{"Close navigation":{v:["ナビゲーションを閉じる"]},"Open navigation":{v:["ナビゲーションを開く"]}}},{l:"ko",t:{"Close navigation":{v:["탐색 닫기"]},"Open navigation":{v:["탐색 열기"]}}},{l:"lo",t:{"Close navigation":{v:["ປິດການນຳທາງ"]},"Open navigation":{v:["ເປີດການນຳທາງ"]}}},{l:"lt-LT",t:{"Close navigation":{v:["Užverti naršymą"]},"Open navigation":{v:["Atverti naršymą"]}}},{l:"lv",t:{}},{l:"mk",t:{"Close navigation":{v:["Затвори навигација"]},"Open navigation":{v:["Отвори навигација"]}}},{l:"mn",t:{"Close navigation":{v:["Навигацийг хаах"]},"Open navigation":{v:["Навигацийг нээх"]}}},{l:"my",t:{}},{l:"nb",t:{"Close navigation":{v:["Lukk navigasjon"]},"Open navigation":{v:["Åpne navigasjon"]}}},{l:"nl",t:{"Close navigation":{v:["Navigatie sluiten"]},"Open navigation":{v:["Navigatie openen"]}}},{l:"oc",t:{}},{l:"pl",t:{"Close navigation":{v:["Zamknij nawigację"]}}},{l:"pt-BR",t:{"Close navigation":{v:["Fechar navegação"]},"Open navigation":{v:["Abrir navegação"]}}},{l:"pt-PT",t:{"Close navigation":{v:["Fechar navegação"]},"Open navigation":{v:["Abrir navegação"]}}},{l:"ro",t:{"Close navigation":{v:["Închideți navigarea"]},"Open navigation":{v:["Deschideți navigația"]}}},{l:"ru",t:{"Close navigation":{v:["Закрыть навигацию"]},"Open navigation":{v:["Открыть навигацию"]}}},{l:"sk",t:{"Close navigation":{v:["Zavrieť navigáciu"]}}},{l:"sl",t:{"Close navigation":{v:["Zapri krmarjenje"]},"Open navigation":{v:["Odpri krmarjenje"]}}},{l:"sr",t:{"Close navigation":{v:["Затвори навигацију"]},"Open navigation":{v:["Отвори навигацију"]}}},{l:"sv",t:{"Close navigation":{v:["Stäng navigering"]},"Open navigation":{v:["Öppna navigering"]}}},{l:"tr",t:{"Close navigation":{v:["Gezinmeyi kapat"]},"Open navigation":{v:["Gezinmeyi aç"]}}},{l:"uk",t:{"Close navigation":{v:["Закрити навігацію"]},"Open navigation":{v:["Перейти до навігації"]}}},{l:"uz",t:{"Close navigation":{v:["Navigatsiyani yopish"]},"Open navigation":{v:["Navigatsiyani oching"]}}},{l:"zh-CN",t:{"Close navigation":{v:["关闭导航"]}}},{l:"zh-HK",t:{"Close navigation":{v:["關閉導航"]},"Open navigation":{v:["開啟導航"]}}},{l:"zh-TW",t:{"Close navigation":{v:["關閉導航"]},"Open navigation":{v:["開啟導航"]}}}],xE=[{l:"ar",t:{"Collapse menu":{v:["طي القائمة"]},"Open menu":{v:["إفتَح القائمة"]}}},{l:"ast",t:{"Collapse menu":{v:["Recoyer el menú"]},"Open menu":{v:["Abrir le menú"]}}},{l:"br",t:{}},{l:"ca",t:{}},{l:"cs",t:{"Collapse menu":{v:["Sbalit nabídku"]},"Open menu":{v:["Otevřít nabídku"]}}},{l:"cs-CZ",t:{"Collapse menu":{v:["Sbalit nabídku"]},"Open menu":{v:["Otevřít nabídku"]}}},{l:"da",t:{"Collapse menu":{v:["Skjul menuen"]},"Open menu":{v:["Åben menu"]}}},{l:"de",t:{"Collapse menu":{v:["Menü einklappen"]},"Open menu":{v:["Menü öffnen"]}}},{l:"de-DE",t:{"Collapse menu":{v:["Menü einklappen"]},"Open menu":{v:["Menü öffnen"]}}},{l:"el",t:{"Collapse menu":{v:["Σύμπτυξη μενού"]},"Open menu":{v:["Άνοιγμα μενού"]}}},{l:"en-GB",t:{"Collapse menu":{v:["Collapse menu"]},"Open menu":{v:["Open menu"]}}},{l:"eo",t:{}},{l:"es",t:{"Collapse menu":{v:["Ocultar menú"]},"Open menu":{v:["Abrir menú"]}}},{l:"es-AR",t:{"Collapse menu":{v:["Ocultar menú"]},"Open menu":{v:["Abrir menú"]}}},{l:"es-EC",t:{"Collapse menu":{v:["Ocultar menú"]},"Open menu":{v:["Abrir menú"]}}},{l:"es-MX",t:{"Collapse menu":{v:["Ocultar menú"]},"Open menu":{v:["Abrir menú"]}}},{l:"et-EE",t:{"Collapse menu":{v:["Ahenda menüü"]},"Open menu":{v:["Ava menüü"]}}},{l:"eu",t:{"Collapse menu":{v:["Tolestu menua"]},"Open menu":{v:["Ireki menua"]}}},{l:"fa",t:{"Collapse menu":{v:["بستن فهرست"]},"Open menu":{v:["باز کردن فهرست"]}}},{l:"fi",t:{"Collapse menu":{v:["Supista valikko"]},"Open menu":{v:["Avaa valikko"]}}},{l:"fr",t:{"Collapse menu":{v:["Réduire le menu"]},"Open menu":{v:["Ouvrir le menu"]}}},{l:"ga",t:{"Collapse menu":{v:["Roghchlár Laghdaigh"]},"Open menu":{v:["Roghchlár a oscailt"]}}},{l:"gl",t:{"Collapse menu":{v:["Contraer o menú"]},"Open menu":{v:["Abrir o menú"]}}},{l:"he",t:{"Collapse menu":{v:["צמצום התפריט"]},"Open menu":{v:["פתיחת תפריט"]}}},{l:"hr",t:{"Collapse menu":{v:["Sakrij izbornik"]},"Open menu":{v:["Otvori izbornik"]}}},{l:"hu",t:{"Collapse menu":{v:["Menü összecsukása"]},"Open menu":{v:["Menü megnyitása"]}}},{l:"id",t:{"Collapse menu":{v:["Ciutkan menu"]},"Open menu":{v:["Buka menu"]}}},{l:"is",t:{"Collapse menu":{v:["Fella valmynd saman"]},"Open menu":{v:["Opna valmynd"]}}},{l:"it",t:{"Collapse menu":{v:["Chiudi Menu"]},"Open menu":{v:["Apri il menu"]}}},{l:"ja",t:{"Collapse menu":{v:["メニューの折りたたみ"]},"Open menu":{v:["メニューを開く"]}}},{l:"ja-JP",t:{"Collapse menu":{v:["メニューの折りたたみ"]},"Open menu":{v:["メニューを開く"]}}},{l:"ko",t:{"Collapse menu":{v:["메뉴 접기"]},"Open menu":{v:["메뉴 열기"]}}},{l:"lo",t:{"Collapse menu":{v:["ຫຍໍ້ເມນູ"]},"Open menu":{v:["ເປີດເມນູ"]}}},{l:"lt-LT",t:{"Collapse menu":{v:["Suskleisti meniu"]},"Open menu":{v:["Atverti meniu"]}}},{l:"lv",t:{}},{l:"mk",t:{"Collapse menu":{v:["Скриј мени"]},"Open menu":{v:["Отвори мени"]}}},{l:"mn",t:{"Collapse menu":{v:["Цэсийг хураах"]},"Open menu":{v:["Цэсийг нээх"]}}},{l:"my",t:{}},{l:"nb",t:{"Collapse menu":{v:["Skjul meny"]},"Open menu":{v:["Åpne meny"]}}},{l:"nl",t:{"Collapse menu":{v:["Menu inklappen"]},"Open menu":{v:["Menu openen"]}}},{l:"oc",t:{}},{l:"pl",t:{"Collapse menu":{v:["Zwiń menu"]},"Open menu":{v:["Otwórz menu"]}}},{l:"pt-BR",t:{"Collapse menu":{v:["Recolher menu"]},"Open menu":{v:["Abrir menu"]}}},{l:"pt-PT",t:{"Collapse menu":{v:["Ocultar menu"]},"Open menu":{v:["Abrir menu"]}}},{l:"ro",t:{"Collapse menu":{v:["Restrânge meniul"]},"Open menu":{v:["Deschide meniul"]}}},{l:"ru",t:{"Collapse menu":{v:["Свернуть меню"]},"Open menu":{v:["Открыть меню"]}}},{l:"sk",t:{"Collapse menu":{v:["Zbaliť menu"]},"Open menu":{v:["Otvoriť menu"]}}},{l:"sl",t:{}},{l:"sr",t:{"Collapse menu":{v:["Сажми мени"]},"Open menu":{v:["Отвори мени"]}}},{l:"sv",t:{"Collapse menu":{v:["Dölj menyn"]},"Open menu":{v:["Öppna menyn"]}}},{l:"tr",t:{"Collapse menu":{v:["Menüyü daralt"]},"Open menu":{v:["Menüyü aç"]}}},{l:"uk",t:{"Collapse menu":{v:["Згорнути меню"]},"Open menu":{v:["Відкрити меню"]}}},{l:"uz",t:{"Collapse menu":{v:["Menyuni yig‘ish"]},"Open menu":{v:["Menyuni oching"]}}},{l:"zh-CN",t:{"Collapse menu":{v:["收起菜单"]},"Open menu":{v:["打开菜单"]}}},{l:"zh-HK",t:{"Collapse menu":{v:["折疊選單"]},"Open menu":{v:["開啟選單"]}}},{l:"zh-TW",t:{"Collapse menu":{v:["折疊選單"]},"Open menu":{v:["開啟選單"]}}}],AE=[{l:"ar",t:{"Edit item":{v:["تعديل عنصر"]}}},{l:"ast",t:{"Edit item":{v:["Editar l'elementu"]}}},{l:"br",t:{}},{l:"ca",t:{"Edit item":{v:["Edita l'element"]}}},{l:"cs",t:{"Edit item":{v:["Upravit položku"]}}},{l:"cs-CZ",t:{"Edit item":{v:["Upravit položku"]}}},{l:"da",t:{"Edit item":{v:["Rediger emne"]}}},{l:"de",t:{"Edit item":{v:["Element bearbeiten"]}}},{l:"de-DE",t:{"Edit item":{v:["Element bearbeiten"]}}},{l:"el",t:{"Edit item":{v:["Επεξεργασία αντικειμένου"]}}},{l:"en-GB",t:{"Edit item":{v:["Edit item"]}}},{l:"eo",t:{}},{l:"es",t:{"Edit item":{v:["Editar elemento"]}}},{l:"es-AR",t:{"Edit item":{v:["Editar elemento"]}}},{l:"es-EC",t:{"Edit item":{v:["Editar elemento"]}}},{l:"es-MX",t:{"Edit item":{v:["Editar elemento"]}}},{l:"et-EE",t:{"Edit item":{v:["Muuda objekti"]}}},{l:"eu",t:{"Edit item":{v:["Editatu elementua"]}}},{l:"fa",t:{"Edit item":{v:["ویرایش مورد"]}}},{l:"fi",t:{"Edit item":{v:["Muokkaa kohdetta"]}}},{l:"fr",t:{"Edit item":{v:["Éditer l'élément"]}}},{l:"ga",t:{"Edit item":{v:["Cuir mír in eagar"]}}},{l:"gl",t:{"Edit item":{v:["Editar o elemento"]}}},{l:"he",t:{"Edit item":{v:["עריכת פריט"]}}},{l:"hr",t:{"Edit item":{v:["Uredi stavku"]}}},{l:"hu",t:{"Edit item":{v:["Elem szerkesztése"]}}},{l:"id",t:{"Edit item":{v:["Edit item"]}}},{l:"is",t:{"Edit item":{v:["Breyta atriði"]}}},{l:"it",t:{"Edit item":{v:["Modifica l'elemento"]}}},{l:"ja",t:{"Edit item":{v:["編集"]}}},{l:"ja-JP",t:{"Edit item":{v:["編集"]}}},{l:"ko",t:{"Edit item":{v:["항목 수정"]}}},{l:"lo",t:{"Edit item":{v:["ແກ້ໄຂລາຍການ"]}}},{l:"lt-LT",t:{"Edit item":{v:["Taisyti elementą"]}}},{l:"lv",t:{}},{l:"mk",t:{"Edit item":{v:["Уреди"]}}},{l:"mn",t:{"Edit item":{v:["Зүйлийг засварлах"]}}},{l:"my",t:{}},{l:"nb",t:{"Edit item":{v:["Rediger"]}}},{l:"nl",t:{"Edit item":{v:["Item bewerken"]}}},{l:"oc",t:{}},{l:"pl",t:{"Edit item":{v:["Edytuj element"]}}},{l:"pt-BR",t:{"Edit item":{v:["Editar item"]}}},{l:"pt-PT",t:{"Edit item":{v:["Editar item"]}}},{l:"ro",t:{"Edit item":{v:["Editați elementul"]}}},{l:"ru",t:{"Edit item":{v:["Изменить элемент"]}}},{l:"sk",t:{"Edit item":{v:["Upraviť položku"]}}},{l:"sl",t:{"Edit item":{v:["Uredi predmet"]}}},{l:"sr",t:{"Edit item":{v:["Уреди ставку"]}}},{l:"sv",t:{"Edit item":{v:["Redigera objekt"]}}},{l:"tr",t:{"Edit item":{v:["Ögeyi düzenle"]}}},{l:"uk",t:{"Edit item":{v:["Редагувати елемент"]}}},{l:"uz",t:{"Edit item":{v:["Elementni tahrirlash"]}}},{l:"zh-CN",t:{"Edit item":{v:["编辑项目"]}}},{l:"zh-HK",t:{"Edit item":{v:["編輯項目"]}}},{l:"zh-TW",t:{"Edit item":{v:["編輯項目"]}}}],SE=[{l:"ar",t:{"Go back to the list":{v:["عودة إلى القائمة"]}}},{l:"ast",t:{"Go back to the list":{v:["Volver a la llista"]}}},{l:"br",t:{}},{l:"ca",t:{"Go back to the list":{v:["Torna a la llista"]}}},{l:"cs",t:{"Go back to the list":{v:["Jít zpět na seznam"]}}},{l:"cs-CZ",t:{"Go back to the list":{v:["Jít zpět na seznam"]}}},{l:"da",t:{"Go back to the list":{v:["Tilbage til listen"]}}},{l:"de",t:{"Go back to the list":{v:["Zurück zur Liste"]}}},{l:"de-DE",t:{"Go back to the list":{v:["Zurück zur Liste"]}}},{l:"el",t:{"Go back to the list":{v:["Επιστροφή στην αρχική λίστα"]}}},{l:"en-GB",t:{"Go back to the list":{v:["Go back to the list"]}}},{l:"eo",t:{}},{l:"es",t:{"Go back to the list":{v:["Volver a la lista"]}}},{l:"es-AR",t:{"Go back to the list":{v:["Volver a la lista"]}}},{l:"es-EC",t:{"Go back to the list":{v:["Volver a la lista"]}}},{l:"es-MX",t:{"Go back to the list":{v:["Regresar a la lista"]}}},{l:"et-EE",t:{"Go back to the list":{v:["Tagasi nimekirja juurde"]}}},{l:"eu",t:{"Go back to the list":{v:["Bueltatu zerrendara"]}}},{l:"fa",t:{"Go back to the list":{v:["برگشت به لیست"]}}},{l:"fi",t:{"Go back to the list":{v:["Takaisin listaan"]}}},{l:"fr",t:{"Go back to the list":{v:["Retourner à la liste"]}}},{l:"ga",t:{"Go back to the list":{v:["Téigh ar ais go dtí an liosta"]}}},{l:"gl",t:{"Go back to the list":{v:["Volver á lista"]}}},{l:"he",t:{"Go back to the list":{v:["חזרה לרשימה"]}}},{l:"hr",t:{"Go back to the list":{v:["Vrati se na popis"]}}},{l:"hu",t:{"Go back to the list":{v:["Ugrás vissza a listához"]}}},{l:"id",t:{"Go back to the list":{v:["Kembali ke daftar"]}}},{l:"is",t:{"Go back to the list":{v:["Fara til baka í listann"]}}},{l:"it",t:{"Go back to the list":{v:["Torna all'elenco"]}}},{l:"ja",t:{"Go back to the list":{v:["リストに戻る"]}}},{l:"ja-JP",t:{"Go back to the list":{v:["リストに戻る"]}}},{l:"ko",t:{"Go back to the list":{v:["목록으로 돌아가기"]}}},{l:"lo",t:{"Go back to the list":{v:["ກັບໄປທີ່ລາຍການ"]}}},{l:"lt-LT",t:{"Go back to the list":{v:["Grįžti į sąrašą"]}}},{l:"lv",t:{}},{l:"mk",t:{"Go back to the list":{v:["Врати се на листата"]}}},{l:"mn",t:{"Go back to the list":{v:["Жагсаалт руу буцах"]}}},{l:"my",t:{}},{l:"nb",t:{"Go back to the list":{v:["Gå tilbake til listen"]}}},{l:"nl",t:{"Go back to the list":{v:["Ga terug naar de lijst"]}}},{l:"oc",t:{}},{l:"pl",t:{"Go back to the list":{v:["Powrót do listy"]}}},{l:"pt-BR",t:{"Go back to the list":{v:["Voltar para a lista"]}}},{l:"pt-PT",t:{"Go back to the list":{v:["Voltar para a lista"]}}},{l:"ro",t:{"Go back to the list":{v:["Întoarceți-vă la listă"]}}},{l:"ru",t:{"Go back to the list":{v:["Вернуться к списку"]}}},{l:"sk",t:{"Go back to the list":{v:["Späť na zoznam"]}}},{l:"sl",t:{"Go back to the list":{v:["Vrni se na seznam"]}}},{l:"sr",t:{"Go back to the list":{v:["Назад на листу"]}}},{l:"sv",t:{"Go back to the list":{v:["Gå tillbaka till listan"]}}},{l:"tr",t:{"Go back to the list":{v:["Listeye dön"]}}},{l:"uk",t:{"Go back to the list":{v:["Повернутися до списку"]}}},{l:"uz",t:{"Go back to the list":{v:["Ro'yxatga qayting"]}}},{l:"zh-CN",t:{"Go back to the list":{v:["返回至列表"]}}},{l:"zh-HK",t:{"Go back to the list":{v:["返回清單"]}}},{l:"zh-TW",t:{"Go back to the list":{v:["回到清單"]}}}],kE=[{l:"ar",t:{"Keyboard navigation help":{v:["مساعدة في التنقل باستعمال لوحة المفاتيح"]},"Skip to app navigation":{v:["تجاوَز إلى التنقل في التطبيق"]},"Skip to main content":{v:["تجاوَز إلى المحتوى الرئيسي"]}}},{l:"ast",t:{"Keyboard navigation help":{v:["Ayuda de la navegación pente'l tecláu"]},"Skip to app navigation":{v:["Dir a la navegación d'aplicaciones"]},"Skip to main content":{v:["Dir al conteníu principal"]}}},{l:"br",t:{}},{l:"ca",t:{}},{l:"cs",t:{"Keyboard navigation help":{v:["Nápověda pro pohyb pomocí klávesnice"]},"Skip to app navigation":{v:["Přeskočit na navigaci aplikace"]},"Skip to main content":{v:["Přeskočit na hlavní obsah"]}}},{l:"cs-CZ",t:{"Keyboard navigation help":{v:["Nápověda pro pohyb pomocí klávesnice"]},"Skip to app navigation":{v:["Přeskočit na navigaci aplikace"]},"Skip to main content":{v:["Přeskočit na hlavní obsah"]}}},{l:"da",t:{"Keyboard navigation help":{v:["Hjælp til tastaturnavigation"]},"Skip to app navigation":{v:["Spring til app navigation"]},"Skip to main content":{v:["Spring til hovedindhold"]}}},{l:"de",t:{"Keyboard navigation help":{v:["Tastatur-Navigationshilfe"]},"Skip to app navigation":{v:["Zur App-Navigation springen"]},"Skip to main content":{v:["Zum Hauptinhalt springen"]}}},{l:"de-DE",t:{"Keyboard navigation help":{v:["Tastatur-Navigationshilfe"]},"Skip to app navigation":{v:["Zur App-Navigation springen"]},"Skip to main content":{v:["Zum Hauptinhalt springen"]}}},{l:"el",t:{"Keyboard navigation help":{v:["Βοήθεια πλοήγησης με πληκτρολόγιο"]},"Skip to app navigation":{v:["Μετάβαση στην πλοήγηση της εφαρμογής"]},"Skip to main content":{v:["Μετάβαση στο κύριο περιεχόμενο"]}}},{l:"en-GB",t:{"Keyboard navigation help":{v:["Keyboard navigation help"]},"Skip to app navigation":{v:["Skip to app navigation"]},"Skip to main content":{v:["Skip to main content"]}}},{l:"eo",t:{}},{l:"es",t:{"Keyboard navigation help":{v:["Ayuda de navegación del teclado"]},"Skip to app navigation":{v:["Saltar a la navegación de apps"]},"Skip to main content":{v:["Saltar al contenido principal"]}}},{l:"es-AR",t:{"Keyboard navigation help":{v:["Ayuda de navegación del teclado"]},"Skip to app navigation":{v:["Saltar a la navegación de app"]},"Skip to main content":{v:["Saltar al contenido principal"]}}},{l:"es-EC",t:{}},{l:"es-MX",t:{"Keyboard navigation help":{v:["Ayuda de navegación del teclado"]},"Skip to app navigation":{v:["Saltar a la navegación de app"]},"Skip to main content":{v:["Saltar al contenido principal"]}}},{l:"et-EE",t:{"Keyboard navigation help":{v:["Klahvistiku kasutuse abiteave"]},"Skip to app navigation":{v:["Suundu rakenduses liikumise valikute juurde"]},"Skip to main content":{v:["Suundu põhisisu juurde"]}}},{l:"eu",t:{}},{l:"fa",t:{"Keyboard navigation help":{v:["راهنمای ناوبری صفحه کلید"]},"Skip to app navigation":{v:["رفتن به پیمایش برنامه"]},"Skip to main content":{v:["رفتن به محتوای اصلی"]}}},{l:"fi",t:{"Keyboard navigation help":{v:["Näppäimistönavigoinnin ohje"]},"Skip to app navigation":{v:["Siirry sovelluksen navigaatioon"]},"Skip to main content":{v:["Siirry pääsisältöön"]}}},{l:"fr",t:{"Keyboard navigation help":{v:["Aide à la navigation du clavier"]},"Skip to app navigation":{v:["Passer à l'app navigation"]},"Skip to main content":{v:["Passer au contenu principal"]}}},{l:"ga",t:{"Keyboard navigation help":{v:["Cabhair le nascleanúint méarchláir"]},"Skip to app navigation":{v:["Téigh ar aghaidh chuig nascleanúint aip"]},"Skip to main content":{v:["Téigh ar aghaidh chuig an bpríomhábhar"]}}},{l:"gl",t:{"Keyboard navigation help":{v:["Axuda á navegación co teclado"]},"Skip to app navigation":{v:["Ir á navegación da aplicación"]},"Skip to main content":{v:["Ir ao contido principal"]}}},{l:"he",t:{}},{l:"hr",t:{"Keyboard navigation help":{v:["Pomoć za navigaciju tipkovnicom"]},"Skip to app navigation":{v:["Preskoči na navigaciju aplikacije"]},"Skip to main content":{v:["Preskoči na glavni sadržaj"]}}},{l:"hu",t:{"Keyboard navigation help":{v:["Billentyűzetes navigáció súgója"]},"Skip to app navigation":{v:["Ugrás az alkalmazásnavigációhoz"]},"Skip to main content":{v:["Ugrás a fő tartalomhoz"]}}},{l:"id",t:{"Keyboard navigation help":{v:["Bantuan navigasi keyboard"]},"Skip to app navigation":{v:["Lewati ke navigasi aplikasi"]},"Skip to main content":{v:["Lewati ke konten utama"]}}},{l:"is",t:{"Keyboard navigation help":{v:["Aðstoð við rötun á lyklaborði"]},"Skip to app navigation":{v:["Sleppa og fara í flakk innan forrits"]},"Skip to main content":{v:["Sleppa og fara í meginefni"]}}},{l:"it",t:{}},{l:"ja",t:{"Keyboard navigation help":{v:["キーボード・ナビゲーション・ヘルプ"]},"Skip to app navigation":{v:["アプリのナビゲーションへ移動"]},"Skip to main content":{v:["メインコンテンツへ移動"]}}},{l:"ja-JP",t:{"Keyboard navigation help":{v:["キーボード・ナビゲーション・ヘルプ"]},"Skip to app navigation":{v:["アプリのナビゲーションへ移動"]},"Skip to main content":{v:["メインコンテンツへ移動"]}}},{l:"ko",t:{"Keyboard navigation help":{v:["키보드 탐색 도움말"]},"Skip to app navigation":{v:["앱 탐색으로 건너뛰기"]},"Skip to main content":{v:["본 내용으로 건너뛰기"]}}},{l:"lo",t:{"Keyboard navigation help":{v:["ການຊ່ວຍເຫຼືອການນຳທາງດ້ວຍຄີບອດ"]},"Skip to app navigation":{v:["ຂ້າມໄປທີ່ການນຳທາງຂອງແອັບ"]},"Skip to main content":{v:["ຂ້າມໄປທີ່ເນື້ອຫາຫຼັກ"]}}},{l:"lt-LT",t:{"Keyboard navigation help":{v:["Klaviatūros navigacijos pagalba"]},"Skip to app navigation":{v:["Pereiti prie programėlės naršymo"]},"Skip to main content":{v:["Pereiti prie pagrindinio turinio"]}}},{l:"lv",t:{}},{l:"mk",t:{"Keyboard navigation help":{v:["Навигација со тастатура"]},"Skip to app navigation":{v:["Прескокни на навигација на апликацијата"]},"Skip to main content":{v:["Прескокни на главна содржина"]}}},{l:"mn",t:{"Keyboard navigation help":{v:["Гарын навигацийн тусламж"]},"Skip to app navigation":{v:["Аппын навигаци руу алгасах"]},"Skip to main content":{v:["Үндсэн агуулга руу алгасах"]}}},{l:"my",t:{}},{l:"nb",t:{"Keyboard navigation help":{v:["Hjelp for tastaturnavigering"]},"Skip to app navigation":{v:["Hopp til appnavigering"]},"Skip to main content":{v:["Hopp til hovedinnhold"]}}},{l:"nl",t:{"Keyboard navigation help":{v:["Hulp voor toetsenbordnavigatie"]},"Skip to app navigation":{v:["Doorgaan naar app-navigatie"]},"Skip to main content":{v:["Naar hoofdinhoud gaan"]}}},{l:"oc",t:{}},{l:"pl",t:{"Keyboard navigation help":{v:["Pomoc w nawigacji za pomocą klawiatury"]},"Skip to app navigation":{v:["Przewiń do nawigacji"]},"Skip to main content":{v:["Przewiń do głównych treści"]}}},{l:"pt-BR",t:{"Keyboard navigation help":{v:["Ajuda para navegação pelo teclado"]},"Skip to app navigation":{v:["Ir para navegação de aplicativo"]},"Skip to main content":{v:["Ir para conteúdo principal"]}}},{l:"pt-PT",t:{"Keyboard navigation help":{v:["Ajuda à navegação no teclado"]},"Skip to app navigation":{v:["Saltar para navegação da app"]},"Skip to main content":{v:["Saltar para conteúdo principal"]}}},{l:"ro",t:{}},{l:"ru",t:{"Keyboard navigation help":{v:["Справка по навигации с помощью клавиатуры"]},"Skip to app navigation":{v:["Перейти к навигации по приложению"]},"Skip to main content":{v:["Перейти к основному содержанию"]}}},{l:"sk",t:{"Keyboard navigation help":{v:["Pomoc pri navigácii pomocou klávesnice"]},"Skip to app navigation":{v:["Preskočiť na navigáciu v aplikácii"]},"Skip to main content":{v:["Preskočiť na hlavný obsah"]}}},{l:"sl",t:{}},{l:"sr",t:{"Keyboard navigation help":{v:["Помоћ за навигацију тастатуром"]},"Skip to app navigation":{v:["Прескочи на навигацију апликацијом"]},"Skip to main content":{v:["Прескочи на главни садржај"]}}},{l:"sv",t:{"Keyboard navigation help":{v:["Hjälp med tangentbordsnavigering"]},"Skip to app navigation":{v:["Hoppa till appnavigering"]},"Skip to main content":{v:["Hoppa till huvudinnehåll"]}}},{l:"tr",t:{"Keyboard navigation help":{v:["Klavye ile gezinme yardımı"]},"Skip to app navigation":{v:["Uygulama gezinmesine git"]},"Skip to main content":{v:["Ana içeriğe git"]}}},{l:"uk",t:{"Keyboard navigation help":{v:["Допомога з навігацією клавішами"]},"Skip to app navigation":{v:["Пропустити навігацію по застосунках"]},"Skip to main content":{v:["Перейти одразу до головного вмісту"]}}},{l:"uz",t:{"Keyboard navigation help":{v:["Klaviatura navigatsiyasi yordami"]},"Skip to app navigation":{v:["Ilova navigatsiyasiga oʻtish"]},"Skip to main content":{v:["Asosiy tarkibga o'tish"]}}},{l:"zh-CN",t:{"Keyboard navigation help":{v:["键盘导航栏帮助"]},"Skip to app navigation":{v:["跳转至应用程序导航页"]},"Skip to main content":{v:["跳转至主要内容"]}}},{l:"zh-HK",t:{"Keyboard navigation help":{v:["鍵盤導航幫助"]},"Skip to app navigation":{v:["跳至應用程式導航"]},"Skip to main content":{v:["跳至主要內容"]}}},{l:"zh-TW",t:{"Keyboard navigation help":{v:["鍵盤導航說明"]},"Skip to app navigation":{v:["略過應用程式導覽"]},"Skip to main content":{v:["跳至主要內容"]}}}],TE=[{l:"ar",t:{"Loading …":{v:["التحميل جارٍ ..."]}}},{l:"ast",t:{}},{l:"br",t:{}},{l:"ca",t:{}},{l:"cs",t:{"Loading …":{v:["Načítání …"]}}},{l:"cs-CZ",t:{}},{l:"da",t:{"Loading …":{v:["Indlæser ..."]}}},{l:"de",t:{"Loading …":{v:["Wird geladen …"]}}},{l:"de-DE",t:{"Loading …":{v:["Wird geladen …"]}}},{l:"el",t:{"Loading …":{v:["Φόρτωση  …"]}}},{l:"en-GB",t:{"Loading …":{v:["Loading …"]}}},{l:"eo",t:{}},{l:"es",t:{}},{l:"es-AR",t:{}},{l:"es-EC",t:{}},{l:"es-MX",t:{}},{l:"et-EE",t:{"Loading …":{v:["Laadin…"]}}},{l:"eu",t:{}},{l:"fa",t:{"Loading …":{v:["در حال بارگذاری ..."]}}},{l:"fi",t:{"Loading …":{v:["Ladataan ..."]}}},{l:"fr",t:{"Loading …":{v:["Chargement..."]}}},{l:"ga",t:{"Loading …":{v:["Ag lódáil …"]}}},{l:"gl",t:{"Loading …":{v:["Cargando…"]}}},{l:"he",t:{}},{l:"hr",t:{"Loading …":{v:["Učitavanje …"]}}},{l:"hu",t:{"Loading …":{v:["Betöltés…"]}}},{l:"id",t:{"Loading …":{v:["Memuat …"]}}},{l:"is",t:{"Loading …":{v:["Hleð inn …"]}}},{l:"it",t:{}},{l:"ja",t:{"Loading …":{v:["読み込み中 …"]}}},{l:"ja-JP",t:{}},{l:"ko",t:{"Loading …":{v:["로딩 중 ..."]}}},{l:"lo",t:{"Loading …":{v:["ກຳລັງໂຫຼດ…"]}}},{l:"lt-LT",t:{"Loading …":{v:["Įkeliama …"]}}},{l:"lv",t:{}},{l:"mk",t:{"Loading …":{v:["Вчитување …"]}}},{l:"mn",t:{"Loading …":{v:["Ачаалж байна …"]}}},{l:"my",t:{}},{l:"nb",t:{"Loading …":{v:["Laster inn..."]}}},{l:"nl",t:{"Loading …":{v:["Laden …"]}}},{l:"oc",t:{}},{l:"pl",t:{"Loading …":{v:["Wczytywanie…"]}}},{l:"pt-BR",t:{"Loading …":{v:["Carregando …"]}}},{l:"pt-PT",t:{"Loading …":{v:["A carregar..."]}}},{l:"ro",t:{}},{l:"ru",t:{"Loading …":{v:["Загрузка …"]}}},{l:"sk",t:{"Loading …":{v:["Nahrávam ..."]}}},{l:"sl",t:{}},{l:"sr",t:{"Loading …":{v:["Учитава се…"]}}},{l:"sv",t:{"Loading …":{v:["Laddar …"]}}},{l:"tr",t:{"Loading …":{v:["Yükleniyor…"]}}},{l:"uk",t:{"Loading …":{v:["Завантаження …"]}}},{l:"uz",t:{"Loading …":{v:["Yuklanmoqda..."]}}},{l:"zh-CN",t:{"Loading …":{v:["加载中..."]}}},{l:"zh-HK",t:{"Loading …":{v:["加載中 …"]}}},{l:"zh-TW",t:{"Loading …":{v:["載入中......"]}}}],NE=[{l:"ar",t:{Next:{v:["التالي"]},"Pause slideshow":{v:["تجميد عرض الشرائح"]},Previous:{v:["السابق"]},"Start slideshow":{v:["إبدإ العرض"]}}},{l:"ast",t:{Next:{v:["Siguiente"]},"Pause slideshow":{v:["Posar la presentación de diapositives"]},Previous:{v:["Anterior"]},"Start slideshow":{v:["Aniciar la presentación de diapositives"]}}},{l:"br",t:{Next:{v:["Da heul"]},"Pause slideshow":{v:["Arsav an diaporama"]},Previous:{v:["A-raok"]},"Start slideshow":{v:["Kregiñ an diaporama"]}}},{l:"ca",t:{Next:{v:["Següent"]},"Pause slideshow":{v:["Atura la presentació"]},Previous:{v:["Anterior"]},"Start slideshow":{v:["Inicia la presentació"]}}},{l:"cs",t:{Next:{v:["Následující"]},"Pause slideshow":{v:["Pozastavit prezentaci"]},Previous:{v:["Předchozí"]},"Start slideshow":{v:["Spustit prezentaci"]}}},{l:"cs-CZ",t:{Next:{v:["Následující"]},"Pause slideshow":{v:["Pozastavit prezentaci"]},Previous:{v:["Předchozí"]},"Start slideshow":{v:["Spustit prezentaci"]}}},{l:"da",t:{Next:{v:["Videre"]},"Pause slideshow":{v:["Suspender fremvisning"]},Previous:{v:["Forrige"]},"Start slideshow":{v:["Start fremvisning"]}}},{l:"de",t:{Next:{v:["Weiter"]},"Pause slideshow":{v:["Diashow pausieren"]},Previous:{v:["Vorherige"]},"Start slideshow":{v:["Diashow starten"]}}},{l:"de-DE",t:{Next:{v:["Weiter"]},"Pause slideshow":{v:["Diashow pausieren"]},Previous:{v:["Vorherige"]},"Start slideshow":{v:["Diashow starten"]}}},{l:"el",t:{Next:{v:["Επόμενο"]},"Pause slideshow":{v:["Παύση προβολής διαφανειών"]},Previous:{v:["Προηγούμενο"]},"Start slideshow":{v:["Έναρξη προβολής διαφανειών"]}}},{l:"en-GB",t:{Next:{v:["Next"]},"Pause slideshow":{v:["Pause slideshow"]},Previous:{v:["Previous"]},"Start slideshow":{v:["Start slideshow"]}}},{l:"eo",t:{Next:{v:["Sekva"]},"Pause slideshow":{v:["Payzi bildprezenton"]},Previous:{v:["Antaŭa"]},"Start slideshow":{v:["Komenci bildprezenton"]}}},{l:"es",t:{Next:{v:["Siguiente"]},"Pause slideshow":{v:["Pausar la presentación "]},Previous:{v:["Anterior"]},"Start slideshow":{v:["Iniciar la presentación"]}}},{l:"es-AR",t:{Next:{v:["Siguiente"]},"Pause slideshow":{v:["Pausar la presentación "]},Previous:{v:["Anterior"]},"Start slideshow":{v:["Iniciar la presentación"]}}},{l:"es-EC",t:{Next:{v:["Siguiente"]},"Pause slideshow":{v:["Pausar presentación de diapositivas"]},Previous:{v:["Anterior"]},"Start slideshow":{v:["Iniciar presentación de diapositivas"]}}},{l:"es-MX",t:{Next:{v:["Siguiente"]},"Pause slideshow":{v:["Pausar presentación de diapositivas"]},Previous:{v:["Anterior"]},"Start slideshow":{v:["Iniciar presentación de diapositivas"]}}},{l:"et-EE",t:{Next:{v:["Edasi"]},"Pause slideshow":{v:["Slaidiesitluse paus"]},Previous:{v:["Eelmine"]},"Start slideshow":{v:["Alusta slaidiesitust"]}}},{l:"eu",t:{Next:{v:["Hurrengoa"]},"Pause slideshow":{v:["Pausatu diaporama"]},Previous:{v:["Aurrekoa"]},"Start slideshow":{v:["Hasi diaporama"]}}},{l:"fa",t:{Next:{v:["بعدی"]},"Pause slideshow":{v:["توقف نمایش اسلاید"]},Previous:{v:["قبلی"]},"Start slideshow":{v:["شروع نمایش اسلاید"]}}},{l:"fi",t:{Next:{v:["Seuraava"]},"Pause slideshow":{v:["Keskeytä diaesitys"]},Previous:{v:["Edellinen"]},"Start slideshow":{v:["Aloita diaesitys"]}}},{l:"fr",t:{Next:{v:["Suivant"]},"Pause slideshow":{v:["Mettre le diaporama en pause"]},Previous:{v:["Précédent"]},"Start slideshow":{v:["Démarrer le diaporama"]}}},{l:"ga",t:{Next:{v:["Ar aghaidh"]},"Pause slideshow":{v:["Cuir taispeántas sleamhnán ar sos"]},Previous:{v:["Roimhe Seo"]},"Start slideshow":{v:["Tosaigh taispeántas sleamhnán"]}}},{l:"gl",t:{Next:{v:["Seguinte"]},"Pause slideshow":{v:["Pausar o diaporama"]},Previous:{v:["Anterir"]},"Start slideshow":{v:["Iniciar o diaporama"]}}},{l:"he",t:{Next:{v:["הבא"]},"Pause slideshow":{v:["השהיית מצגת"]},Previous:{v:["הקודם"]},"Start slideshow":{v:["התחלת המצגת"]}}},{l:"hr",t:{Next:{v:["Sljedeće"]},"Pause slideshow":{v:["Pauziraj dijaprojekciju"]},Previous:{v:["Prethodno"]},"Start slideshow":{v:["Pokreni dijaprojekciju"]}}},{l:"hu",t:{Next:{v:["Következő"]},"Pause slideshow":{v:["Diavetítés szüneteltetése"]},Previous:{v:["Előző"]},"Start slideshow":{v:["Diavetítés indítása"]}}},{l:"id",t:{Next:{v:["Selanjutnya"]},"Pause slideshow":{v:["Jeda tayangan slide"]},Previous:{v:["Sebelumnya"]},"Start slideshow":{v:["Mulai salindia"]}}},{l:"is",t:{Next:{v:["Næsta"]},"Pause slideshow":{v:["Gera hlé á skyggnusýningu"]},Previous:{v:["Fyrri"]},"Start slideshow":{v:["Byrja skyggnusýningu"]}}},{l:"it",t:{Next:{v:["Successivo"]},"Pause slideshow":{v:["Presentazione in pausa"]},Previous:{v:["Precedente"]},"Start slideshow":{v:["Avvia presentazione"]}}},{l:"ja",t:{Next:{v:["次"]},"Pause slideshow":{v:["スライドショーを一時停止"]},Previous:{v:["前"]},"Start slideshow":{v:["スライドショーを開始"]}}},{l:"ja-JP",t:{Next:{v:["次"]},"Pause slideshow":{v:["スライドショーを一時停止"]},Previous:{v:["前"]},"Start slideshow":{v:["スライドショーを開始"]}}},{l:"ko",t:{Next:{v:["다음"]},"Pause slideshow":{v:["슬라이드쇼 일시정지"]},Previous:{v:["이전"]},"Start slideshow":{v:["슬라이드쇼 시작"]}}},{l:"lo",t:{Next:{v:["ຕໍ່ໄປ"]},"Pause slideshow":{v:["ຢຸດສະໄລ້ໂຊຊົ່ວຄາວ"]},Previous:{v:["ກ່ອນໜ້າ"]},"Start slideshow":{v:["ເລີ່ມສະໄລ້ໂຊ"]}}},{l:"lt-LT",t:{Next:{v:["Kitas"]},"Pause slideshow":{v:["Pristabdyti skaidrių rodymą"]},Previous:{v:["Ankstesnis"]},"Start slideshow":{v:["Pradėti skaidrių rodymą"]}}},{l:"lv",t:{Next:{v:["Nākamais"]},"Pause slideshow":{v:["Pauzēt slaidrādi"]},Previous:{v:["Iepriekšējais"]},"Start slideshow":{v:["Sākt slaidrādi"]}}},{l:"mk",t:{Next:{v:["Следно"]},"Pause slideshow":{v:["Пузирај слајдшоу"]},Previous:{v:["Предходно"]},"Start slideshow":{v:["Стартувај слајдшоу"]}}},{l:"mn",t:{Next:{v:["Дараах"]},"Pause slideshow":{v:["Слайд шоуг түр зогсоох"]},Previous:{v:["Өмнөх"]},"Start slideshow":{v:["Слайд шоуг эхлүүлэх"]}}},{l:"my",t:{Next:{v:["နောက်သို့ဆက်ရန်"]},"Pause slideshow":{v:["စလိုက်ရှိုး ခေတ္တရပ်ရန်"]},Previous:{v:["ယခင်"]},"Start slideshow":{v:["စလိုက်ရှိုးအား စတင်ရန်"]}}},{l:"nb",t:{Next:{v:["Neste"]},"Pause slideshow":{v:["Pause lysbildefremvisning"]},Previous:{v:["Forrige"]},"Start slideshow":{v:["Start lysbildefremvisning"]}}},{l:"nl",t:{Next:{v:["Volgende"]},"Pause slideshow":{v:["Diavoorstelling pauzeren"]},Previous:{v:["Vorige"]},"Start slideshow":{v:["Diavoorstelling starten"]}}},{l:"oc",t:{Next:{v:["Seguent"]},"Pause slideshow":{v:["Metre en pausa lo diaporama"]},Previous:{v:["Precedent"]},"Start slideshow":{v:["Lançar lo diaporama"]}}},{l:"pl",t:{Next:{v:["Następny"]},"Pause slideshow":{v:["Wstrzymaj pokaz slajdów"]},Previous:{v:["Poprzedni"]},"Start slideshow":{v:["Rozpocznij pokaz slajdów"]}}},{l:"pt-BR",t:{Next:{v:["Próximo"]},"Pause slideshow":{v:["Pausar apresentação de slides"]},Previous:{v:["Anterior"]},"Start slideshow":{v:["Iniciar apresentação de slides"]}}},{l:"pt-PT",t:{Next:{v:["Seguinte"]},"Pause slideshow":{v:["Pausar diaporama"]},Previous:{v:["Anterior"]},"Start slideshow":{v:["Iniciar diaporama"]}}},{l:"ro",t:{Next:{v:["Următorul"]},"Pause slideshow":{v:["Pauză prezentare de diapozitive"]},Previous:{v:["Anterior"]},"Start slideshow":{v:["Începeți prezentarea de diapozitive"]}}},{l:"ru",t:{Next:{v:["Следующее"]},"Pause slideshow":{v:["Приостановить показ слйдов"]},Previous:{v:["Предыдущее"]},"Start slideshow":{v:["Начать показ слайдов"]}}},{l:"sk",t:{Next:{v:["Ďalej"]},"Pause slideshow":{v:["Pozastaviť prezentáciu"]},Previous:{v:["Predchádzajúce"]},"Start slideshow":{v:["Začať prezentáciu"]}}},{l:"sl",t:{Next:{v:["Naslednji"]},"Pause slideshow":{v:["Ustavi predstavitev"]},Previous:{v:["Predhodni"]},"Start slideshow":{v:["Začni predstavitev"]}}},{l:"sr",t:{Next:{v:["Следеће"]},"Pause slideshow":{v:["Паузирај слајд шоу"]},Previous:{v:["Претходно"]},"Start slideshow":{v:["Покрени слајд шоу"]}}},{l:"sv",t:{Next:{v:["Nästa"]},"Pause slideshow":{v:["Pausa bildspelet"]},Previous:{v:["Föregående"]},"Start slideshow":{v:["Starta bildspelet"]}}},{l:"tr",t:{Next:{v:["Sonraki"]},"Pause slideshow":{v:["Slayt sunumunu duraklat"]},Previous:{v:["Önceki"]},"Start slideshow":{v:["Slayt sunumunu başlat"]}}},{l:"uk",t:{Next:{v:["Вперед"]},"Pause slideshow":{v:["Пауза у показі слайдів"]},Previous:{v:["Назад"]},"Start slideshow":{v:["Почати показ слайдів"]}}},{l:"uz",t:{Next:{v:["Keyingi"]},"Pause slideshow":{v:["Slayd-shouni to'xtatib turish"]},Previous:{v:["Oldingi"]},"Start slideshow":{v:["Slayd-shouni boshlash"]}}},{l:"zh-CN",t:{Next:{v:["下一个"]},"Pause slideshow":{v:["暂停幻灯片"]},Previous:{v:["上一个"]},"Start slideshow":{v:["开始幻灯片"]}}},{l:"zh-HK",t:{Next:{v:["下一個"]},"Pause slideshow":{v:["暫停幻燈片"]},Previous:{v:["上一個"]},"Start slideshow":{v:["開始幻燈片"]}}},{l:"zh-TW",t:{Next:{v:["下一個"]},"Pause slideshow":{v:["暫停幻燈片"]},Previous:{v:["上一個"]},"Start slideshow":{v:["開始幻燈片"]}}}],DE=[{l:"ar",t:{}},{l:"ast",t:{}},{l:"br",t:{}},{l:"ca",t:{}},{l:"cs",t:{"Search …":{v:["Hledat …"]}}},{l:"cs-CZ",t:{}},{l:"da",t:{"Search …":{v:["Søg ..."]}}},{l:"de",t:{"Search …":{v:["Suche …"]}}},{l:"de-DE",t:{"Search …":{v:["Suche …"]}}},{l:"el",t:{"Search …":{v:["Αναζήτηση …"]}}},{l:"en-GB",t:{"Search …":{v:["Search …"]}}},{l:"eo",t:{}},{l:"es",t:{}},{l:"es-AR",t:{}},{l:"es-EC",t:{}},{l:"es-MX",t:{}},{l:"et-EE",t:{"Search …":{v:["Otsi…"]}}},{l:"eu",t:{}},{l:"fa",t:{}},{l:"fi",t:{}},{l:"fr",t:{"Search …":{v:["Rechercher…"]}}},{l:"ga",t:{"Search …":{v:["Cuardaigh …"]}}},{l:"gl",t:{"Search …":{v:["Buscar…"]}}},{l:"he",t:{}},{l:"hr",t:{"Search …":{v:["Traži …"]}}},{l:"hu",t:{"Search …":{v:["Keresés…"]}}},{l:"id",t:{"Search …":{v:["Cari …"]}}},{l:"is",t:{}},{l:"it",t:{}},{l:"ja",t:{"Search …":{v:["検索…"]}}},{l:"ja-JP",t:{}},{l:"ko",t:{"Search …":{v:["찾는 중 ..."]}}},{l:"lo",t:{"Search …":{v:["ຄົ້ນຫາ…"]}}},{l:"lt-LT",t:{"Search …":{v:["Ieškoti …"]}}},{l:"lv",t:{}},{l:"mk",t:{"Search …":{v:["Барај…"]}}},{l:"mn",t:{"Search …":{v:["Хайх …"]}}},{l:"my",t:{}},{l:"nb",t:{}},{l:"nl",t:{"Search …":{v:["Zoeken …"]}}},{l:"oc",t:{}},{l:"pl",t:{}},{l:"pt-BR",t:{"Search …":{v:["Pesquisar …"]}}},{l:"pt-PT",t:{}},{l:"ro",t:{}},{l:"ru",t:{"Search …":{v:["Поиск …"]}}},{l:"sk",t:{}},{l:"sl",t:{}},{l:"sr",t:{"Search …":{v:["Претражи…"]}}},{l:"sv",t:{"Search …":{v:["Sök …"]}}},{l:"tr",t:{"Search …":{v:["Ara…"]}}},{l:"uk",t:{}},{l:"uz",t:{"Search …":{v:["Izlash..."]}}},{l:"zh-CN",t:{}},{l:"zh-HK",t:{"Search …":{v:["搜尋 …"]}}},{l:"zh-TW",t:{"Search …":{v:["搜尋......"]}}}],jg=[{l:"ar",t:{"Undo changes":{v:["تراجَع عن التغييرات"]}}},{l:"ast",t:{"Undo changes":{v:["Desfacer los cambeos"]}}},{l:"br",t:{}},{l:"ca",t:{"Undo changes":{v:["Desfés els canvis"]}}},{l:"cs",t:{"Undo changes":{v:["Vzít změny zpět"]}}},{l:"cs-CZ",t:{"Undo changes":{v:["Vzít změny zpět"]}}},{l:"da",t:{"Undo changes":{v:["Fortryd ændringer"]}}},{l:"de",t:{"Undo changes":{v:["Änderungen rückgängig machen"]}}},{l:"de-DE",t:{"Undo changes":{v:["Änderungen rückgängig machen"]}}},{l:"el",t:{"Undo changes":{v:["Αναίρεση Αλλαγών"]}}},{l:"en-GB",t:{"Undo changes":{v:["Undo changes"]}}},{l:"eo",t:{}},{l:"es",t:{"Undo changes":{v:["Deshacer cambios"]}}},{l:"es-AR",t:{"Undo changes":{v:["Deshacer cambios"]}}},{l:"es-EC",t:{"Undo changes":{v:["Deshacer cambios"]}}},{l:"es-MX",t:{"Undo changes":{v:["Deshacer cambios"]}}},{l:"et-EE",t:{"Undo changes":{v:["Pööra muudatused tagasi"]}}},{l:"eu",t:{"Undo changes":{v:["Aldaketak desegin"]}}},{l:"fa",t:{"Undo changes":{v:["لغو تغییرات"]}}},{l:"fi",t:{"Undo changes":{v:["Kumoa muutokset"]}}},{l:"fr",t:{"Undo changes":{v:["Annuler les changements"]}}},{l:"ga",t:{"Undo changes":{v:["Cealaigh athruithe"]}}},{l:"gl",t:{"Undo changes":{v:["Desfacer os cambios"]}}},{l:"he",t:{"Undo changes":{v:["ביטול שינויים"]}}},{l:"hr",t:{"Undo changes":{v:["Poništi promjene"]}}},{l:"hu",t:{"Undo changes":{v:["Változtatások visszavonása"]}}},{l:"id",t:{"Undo changes":{v:["Urungkan perubahan"]}}},{l:"is",t:{"Undo changes":{v:["Afturkalla breytingar"]}}},{l:"it",t:{"Undo changes":{v:["Cancella i cambiamenti"]}}},{l:"ja",t:{"Undo changes":{v:["変更を取り消し"]}}},{l:"ja-JP",t:{"Undo changes":{v:["変更を取り消し"]}}},{l:"ko",t:{"Undo changes":{v:["변경 되돌리기"]}}},{l:"lo",t:{"Undo changes":{v:["ຍ້ອນຄືນການປ່ຽນແປງ"]}}},{l:"lt-LT",t:{"Undo changes":{v:["Atšaukti pakeitimus"]}}},{l:"lv",t:{}},{l:"mk",t:{"Undo changes":{v:["Врати ги промените"]}}},{l:"mn",t:{"Undo changes":{v:["Өөрчлөлтийг буцаах"]}}},{l:"my",t:{}},{l:"nb",t:{"Undo changes":{v:["Tilbakestill endringer"]}}},{l:"nl",t:{"Undo changes":{v:["Wijzigingen ongedaan maken"]}}},{l:"oc",t:{}},{l:"pl",t:{"Undo changes":{v:["Cofnij zmiany"]}}},{l:"pt-BR",t:{"Undo changes":{v:["Desfazer modificações"]}}},{l:"pt-PT",t:{"Undo changes":{v:["Anular alterações"]}}},{l:"ro",t:{"Undo changes":{v:["Anularea modificărilor"]}}},{l:"ru",t:{"Undo changes":{v:["Отменить изменения"]}}},{l:"sk",t:{"Undo changes":{v:["Vrátiť zmeny"]}}},{l:"sl",t:{"Undo changes":{v:["Razveljavi spremembe"]}}},{l:"sr",t:{"Undo changes":{v:["Поништи измене"]}}},{l:"sv",t:{"Undo changes":{v:["Ångra ändringar"]}}},{l:"tr",t:{"Undo changes":{v:["Değişiklikleri geri al"]}}},{l:"uk",t:{"Undo changes":{v:["Скасувати зміни"]}}},{l:"uz",t:{"Undo changes":{v:["O'zgarishlarni bekor qilish"]}}},{l:"zh-CN",t:{"Undo changes":{v:["撤销更改"]}}},{l:"zh-HK",t:{"Undo changes":{v:["取消更改"]}}},{l:"zh-TW",t:{"Undo changes":{v:["還原變更"]}}}],[OE]=window.OC?.config?.version?.split(".")??[],Ug=Number.parseInt(OE??"34"),Il=Ug<32,uo=Ug<34,PE=Symbol.for("NcFormBox:context");function BE(){return st(PE,{isInFormBox:!1,formBoxItemClass:void 0})}const He=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},$E={class:"button-vue__wrapper"},RE={class:"button-vue__icon"},FE={class:"button-vue__text"},LE=Ve({__name:"NcButton",props:{alignment:{default:"center"},ariaLabel:{default:void 0},disabled:{type:Boolean},download:{type:[String,Boolean],default:void 0},href:{default:void 0},pressed:{type:Boolean,default:void 0},size:{default:"normal"},target:{default:"_self"},text:{default:void 0},to:{default:void 0},type:{default:"button"},variant:{default:"secondary"},wide:{type:Boolean}},emits:["click","update:pressed"],setup(e,{emit:t}){const n=e,r=t,{formBoxItemClass:o}=BE(),s=st(ca,null)!==null,a=oe(()=>s&&n.to?"RouterLink":n.href?"a":"button"),i=oe(()=>a.value==="button"&&typeof n.pressed=="boolean"),u=oe(()=>n.pressed?"primary":n.pressed===!1&&n.variant==="primary"?"secondary":n.variant),c=oe(()=>u.value.startsWith("tertiary")),l=oe(()=>n.alignment.split("-")[0]),d=oe(()=>n.alignment.includes("-")),p=st("NcPopover:trigger:attrs",()=>({}),!1),h=oe(()=>p()),g=oe(()=>{if(a.value==="RouterLink")return{to:n.to,activeClass:"active"};if(a.value==="a")return{href:n.href||"#",target:n.target,rel:"nofollow noreferrer noopener",download:n.download||void 0};if(a.value==="button")return{...h.value,"aria-pressed":n.pressed,type:n.type,disabled:n.disabled}});function f(m){i.value&&r("update:pressed",!n.pressed),r("click",m)}return(m,v)=>(R(),ge(aa(a.value),ht({class:["button-vue",[`button-vue--size-${m.size}`,{[`button-vue--${u.value}`]:u.value,"button-vue--tertiary":c.value,"button-vue--wide":m.wide,[`button-vue--${l.value}`]:l.value!=="center","button-vue--reverse":d.value,"button-vue--legacy":z(Il),"button-vue--legacy34":z(uo)},z(o)]],"aria-label":m.ariaLabel},g.value,{onClick:f}),{default:de(()=>[ae("span",$E,[ae("span",RE,[be(m.$slots,"icon",{},void 0,!0)]),ae("span",FE,[be(m.$slots,"default",{},()=>[bt(_e(m.text),1)],!0)])])]),_:3},16,["class","aria-label"]))}}),et=He(LE,[["__scopeId","data-v-18f6cf03"]]),IE=["aria-hidden","aria-label"],ME={key:0,viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},zE=["d"],jE=["innerHTML"],UE=Ve({__name:"NcIconSvgWrapper",props:{directional:{type:Boolean},inline:{type:Boolean},svg:{default:""},name:{default:void 0},path:{default:""},size:{default:20}},setup(e){eg(o=>({fb515064:n.value}));const t=e,n=oe(()=>typeof t.size=="number"?`${t.size}px`:t.size),r=oe(()=>{if(!t.svg||t.path)return;const o=Pg.sanitize(t.svg),s=new DOMParser().parseFromString(o,"image/svg+xml");return s.querySelector("parsererror")?"":(s.documentElement.id&&s.documentElement.removeAttribute("id"),s.documentElement.outerHTML)});return(o,s)=>(R(),K("span",{"aria-hidden":o.name?void 0:"true","aria-label":o.name||void 0,class:Be(["icon-vue",{"icon-vue--directional":o.directional,"icon-vue--inline":o.inline}]),role:"img"},[r.value?(R(),K("span",{key:1,innerHTML:r.value},null,8,jE)):(R(),K("svg",ME,[ae("path",{d:o.path},null,8,zE)]))],10,IE))}}),Ue=He(UE,[["__scopeId","data-v-aaedb1c3"]]);var ut=(e=>(e[e.Debug=0]="Debug",e[e.Info=1]="Info",e[e.Warn=2]="Warn",e[e.Error=3]="Error",e[e.Fatal=4]="Fatal",e))(ut||{});class HE{context;constructor(t){this.context=t||{}}formatMessage(t,n,r){let o="["+ut[n].toUpperCase()+"] ";return r&&r.app&&(o+=r.app+": "),typeof t=="string"?o+t:(o+=`Unexpected ${t.name}`,t.message&&(o+=` "${t.message}"`),n===ut.Debug&&t.stack&&(o+=` +const Kv="office",Xv="1.1.0-dev.0",Yn=globalThis||void 0||self;function lc(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const $e={},To=[],cn=()=>{},O0=()=>!1,Ni=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Di=e=>e.startsWith("onUpdate:"),ct=Object.assign,cc=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Zv=Object.prototype.hasOwnProperty,je=(e,t)=>Zv.call(e,t),Ee=Array.isArray,No=e=>ra(e)==="[object Map]",P0=e=>ra(e)==="[object Set]",yd=e=>ra(e)==="[object Date]",_e=e=>typeof e=="function",qe=e=>typeof e=="string",rn=e=>typeof e=="symbol",Ie=e=>e!==null&&typeof e=="object",B0=e=>(Ie(e)||_e(e))&&_e(e.then)&&_e(e.catch),$0=Object.prototype.toString,ra=e=>$0.call(e),Jv=e=>ra(e).slice(8,-1),R0=e=>ra(e)==="[object Object]",Oi=e=>qe(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Cs=lc(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Pi=e=>{const t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},Yv=/-\w/g,Lt=Pi(e=>e.replace(Yv,t=>t.slice(1).toUpperCase())),Qv=/\B([A-Z])/g,lr=Pi(e=>e.replace(Qv,"-$1").toLowerCase()),Bi=Pi(e=>e.charAt(0).toUpperCase()+e.slice(1)),Fa=Pi(e=>e?`on${Bi(e)}`:""),wt=(e,t)=>!Object.is(e,t),La=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},dc=e=>{const t=parseFloat(e);return isNaN(t)?e:t},e1=e=>{const t=qe(e)?Number(e):NaN;return isNaN(t)?e:t};let bd;const qa=()=>bd||(bd=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof Yn<"u"?Yn:{});function dn(e){if(Ee(e)){const t={};for(let n=0;n{if(n){const r=n.split(n1);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Be(e){let t="";if(qe(e))t=e;else if(Ee(e))for(let n=0;n!!(e&&e.__v_isRef===!0),Ce=e=>qe(e)?e:e==null?"":Ee(e)||Ie(e)&&(e.toString===$0||!_e(e.toString))?I0(e)?Ce(e.value):JSON.stringify(e,M0,2):String(e),M0=(e,t)=>I0(t)?M0(e,t.value):No(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,o],s)=>(n[fu(r,s)+" =>"]=o,n),{})}:P0(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>fu(n))}:rn(t)?fu(t):Ie(t)&&!Ee(t)&&!R0(t)?String(t):t,fu=(e,t="")=>{var n;return rn(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};function u1(e){return e==null?"initial":typeof e=="string"?e===""?" ":e:String(e)}let pt;class l1{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this._warnOnRun=!0,this.__v_skip=!0,!t&&pt&&(pt.active?(this.parent=pt,this.index=(pt.scopes||(pt.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes){const r=this.scopes.slice();for(t=0,n=r.length;t0&&--this._on===0){if(pt===this)pt=this.prevScope;else{let t=pt;for(;t;){if(t.prevScope===this){t.prevScope=this.prevScope;break}t=t.prevScope}}this.prevScope=void 0}}stop(t){if(this._active){this._active=!1;let n,r;for(n=0,r=this.effects.length;n0)return;if(xs){let t=xs;for(xs=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;_s;){let t=_s;for(_s=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(r){e||(e=r)}t=n}}if(e)throw e}function V0(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function G0(e){let t,n=e.depsTail,r=n;for(;r;){const o=r.prevDep;r.version===-1?(r===n&&(n=o),gc(r),d1(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=o}e.deps=t,e.depsTail=n}function fl(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(W0(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function W0(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Is)||(e.globalVersion=Is,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!fl(e))))return;e.flags|=2;const t=e.dep,n=We,r=En;We=e,En=!0;try{V0(e);const o=e.fn(e._value);(t.version===0||wt(o,e._value))&&(e.flags|=128,e._value=o,t.version++)}catch(o){throw t.version++,o}finally{We=n,En=r,G0(e),e.flags&=-3}}function gc(e,t=!1){const{dep:n,prevSub:r,nextSub:o}=e;if(r&&(r.nextSub=o,e.prevSub=void 0),o&&(o.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let s=n.computed.deps;s;s=s.nextDep)gc(s,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function d1(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let En=!0;const q0=[];function rr(){q0.push(En),En=!1}function or(){const e=q0.pop();En=e===void 0?!0:e}function Ed(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=We;We=void 0;try{t()}finally{We=n}}}let Is=0;class p1{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class $i{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!We||!En||We===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==We)n=this.activeLink=new p1(We,this),We.deps?(n.prevDep=We.depsTail,We.depsTail.nextDep=n,We.depsTail=n):We.deps=We.depsTail=n,K0(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const r=n.nextDep;r.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=r),n.prevDep=We.depsTail,n.nextDep=void 0,We.depsTail.nextDep=n,We.depsTail=n,We.deps===n&&(We.deps=r)}return n}trigger(t){this.version++,Is++,this.notify(t)}notify(t){hc();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{fc()}}}function K0(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let r=t.deps;r;r=r.nextDep)K0(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const Ka=new WeakMap,Qr=Symbol(""),gl=Symbol(""),Ms=Symbol("");function Bt(e,t,n){if(En&&We){let r=Ka.get(e);r||Ka.set(e,r=new Map);let o=r.get(n);o||(r.set(n,o=new $i),o.map=r,o.key=n),o.track()}}function Xn(e,t,n,r,o,s){const a=Ka.get(e);if(!a){Is++;return}const i=u=>{u&&u.trigger()};if(hc(),t==="clear")a.forEach(i);else{const u=Ee(e),c=u&&Oi(n);if(u&&n==="length"){const l=Number(r);a.forEach((d,p)=>{(p==="length"||p===Ms||!rn(p)&&p>=l)&&i(d)})}else switch((n!==void 0||a.has(void 0))&&i(a.get(n)),c&&i(a.get(Ms)),t){case"add":u?c&&i(a.get("length")):(i(a.get(Qr)),No(e)&&i(a.get(gl)));break;case"delete":u||(i(a.get(Qr)),No(e)&&i(a.get(gl)));break;case"set":No(e)&&i(a.get(Qr));break}}fc()}function h1(e,t){const n=Ka.get(e);return n&&n.get(t)}function mo(e){const t=Re(e);return t===e?t:(Bt(t,"iterate",Ms),nn(e)?t:t.map(_n))}function Ri(e){return Bt(e=Re(e),"iterate",Ms),e}function Rn(e,t){return sr(e)?js(eo(e)?_n(t):t):_n(t)}const f1={__proto__:null,[Symbol.iterator](){return mu(this,Symbol.iterator,e=>Rn(this,e))},concat(...e){return mo(this).concat(...e.map(t=>Ee(t)?mo(t):t))},entries(){return mu(this,"entries",e=>(e[1]=Rn(this,e[1]),e))},every(e,t){return Un(this,"every",e,t,void 0,arguments)},filter(e,t){return Un(this,"filter",e,t,n=>n.map(r=>Rn(this,r)),arguments)},find(e,t){return Un(this,"find",e,t,n=>Rn(this,n),arguments)},findIndex(e,t){return Un(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Un(this,"findLast",e,t,n=>Rn(this,n),arguments)},findLastIndex(e,t){return Un(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Un(this,"forEach",e,t,void 0,arguments)},includes(...e){return vu(this,"includes",e)},indexOf(...e){return vu(this,"indexOf",e)},join(e){return mo(this).join(e)},lastIndexOf(...e){return vu(this,"lastIndexOf",e)},map(e,t){return Un(this,"map",e,t,void 0,arguments)},pop(){return es(this,"pop")},push(...e){return es(this,"push",e)},reduce(e,...t){return wd(this,"reduce",e,t)},reduceRight(e,...t){return wd(this,"reduceRight",e,t)},shift(){return es(this,"shift")},some(e,t){return Un(this,"some",e,t,void 0,arguments)},splice(...e){return es(this,"splice",e)},toReversed(){return mo(this).toReversed()},toSorted(e){return mo(this).toSorted(e)},toSpliced(...e){return mo(this).toSpliced(...e)},unshift(...e){return es(this,"unshift",e)},values(){return mu(this,"values",e=>Rn(this,e))}};function mu(e,t,n){const r=Ri(e),o=r[t]();return r!==e&&!nn(e)&&(o._next=o.next,o.next=()=>{const s=o._next();return s.done||(s.value=n(s.value)),s}),o}const g1=Array.prototype;function Un(e,t,n,r,o,s){const a=Ri(e),i=a!==e&&!nn(e),u=a[t];if(u!==g1[t]){const d=u.apply(e,s);return i?_n(d):d}let c=n;a!==e&&(i?c=function(d,p){return n.call(this,Rn(e,d),p,e)}:n.length>2&&(c=function(d,p){return n.call(this,d,p,e)}));const l=u.call(a,c,r);return i&&o?o(l):l}function wd(e,t,n,r){const o=Ri(e),s=o!==e&&!nn(e);let a=n,i=!1;o!==e&&(s?(i=r.length===0,a=function(c,l,d){return i&&(i=!1,c=Rn(e,c)),n.call(this,c,Rn(e,l),d,e)}):n.length>3&&(a=function(c,l,d){return n.call(this,c,l,d,e)}));const u=o[t](a,...r);return i?Rn(e,u):u}function vu(e,t,n){const r=Re(e);Bt(r,"iterate",Ms);const o=r[t](...n);return(o===-1||o===!1)&&Ii(n[0])?(n[0]=Re(n[0]),r[t](...n)):o}function es(e,t,n=[]){rr(),hc();const r=Re(e)[t].apply(e,n);return fc(),or(),r}const m1=lc("__proto__,__v_isRef,__isVue"),X0=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(rn));function v1(e){rn(e)||(e=String(e));const t=Re(this);return Bt(t,"has",e),t.hasOwnProperty(e)}class Z0{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){if(n==="__v_skip")return t.__v_skip;const o=this._isReadonly,s=this._isShallow;if(n==="__v_isReactive")return!o;if(n==="__v_isReadonly")return o;if(n==="__v_isShallow")return s;if(n==="__v_raw")return r===(o?s?nf:tf:s?ef:Q0).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const a=Ee(t);if(!o){let u;if(a&&(u=f1[n]))return u;if(n==="hasOwnProperty")return v1}const i=Reflect.get(t,n,lt(t)?t:r);if((rn(n)?X0.has(n):m1(n))||(o||Bt(t,"get",n),s))return i;if(lt(i)){const u=a&&Oi(n)?i:i.value;return o&&Ie(u)?zs(u):u}return Ie(i)?o?zs(i):Lo(i):i}}class J0 extends Z0{constructor(t=!1){super(!1,t)}set(t,n,r,o){let s=t[n];const a=Ee(t)&&Oi(n);if(!this._isShallow){const c=sr(s);if(!nn(r)&&!sr(r)&&(s=Re(s),r=Re(r)),!a&<(s)&&!lt(r))return c||(s.value=r),!0}const i=a?Number(n)e,_a=e=>Reflect.getPrototypeOf(e);function C1(e,t,n){return function(...r){const o=this.__v_raw,s=Re(o),a=No(s),i=e==="entries"||e===Symbol.iterator&&a,u=e==="keys"&&a,c=o[e](...r),l=n?ml:t?js:_n;return!t&&Bt(s,"iterate",u?gl:Qr),ct(Object.create(c),{next(){const{value:d,done:p}=c.next();return p?{value:d,done:p}:{value:i?[l(d[0]),l(d[1])]:l(d),done:p}}})}}function xa(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function _1(e,t){const n={get(r){const o=this.__v_raw,s=Re(o),a=Re(r);e||(wt(r,a)&&Bt(s,"get",r),Bt(s,"get",a));const{has:i}=_a(s),u=t?ml:e?js:_n;if(i.call(s,r))return u(o.get(r));if(i.call(s,a))return u(o.get(a));o!==s&&o.get(r)},get size(){const r=this.__v_raw;return!e&&Bt(Re(r),"iterate",Qr),r.size},has(r){const o=this.__v_raw,s=Re(o),a=Re(r);return e||(wt(r,a)&&Bt(s,"has",r),Bt(s,"has",a)),r===a?o.has(r):o.has(r)||o.has(a)},forEach(r,o){const s=this,a=s.__v_raw,i=Re(a),u=t?ml:e?js:_n;return!e&&Bt(i,"iterate",Qr),a.forEach((c,l)=>r.call(o,u(c),u(l),s))}};return ct(n,e?{add:xa("add"),set:xa("set"),delete:xa("delete"),clear:xa("clear")}:{add(r){const o=Re(this),s=_a(o),a=Re(r),i=!t&&!nn(r)&&!sr(r)?a:r;return s.has.call(o,i)||wt(r,i)&&s.has.call(o,r)||wt(a,i)&&s.has.call(o,a)||(o.add(i),Xn(o,"add",i,i)),this},set(r,o){!t&&!nn(o)&&!sr(o)&&(o=Re(o));const s=Re(this),{has:a,get:i}=_a(s);let u=a.call(s,r);u||(r=Re(r),u=a.call(s,r));const c=i.call(s,r);return s.set(r,o),u?wt(o,c)&&Xn(s,"set",r,o):Xn(s,"add",r,o),this},delete(r){const o=Re(this),{has:s,get:a}=_a(o);let i=s.call(o,r);i||(r=Re(r),i=s.call(o,r)),a&&a.call(o,r);const u=o.delete(r);return i&&Xn(o,"delete",r,void 0),u},clear(){const r=Re(this),o=r.size!==0,s=r.clear();return o&&Xn(r,"clear",void 0,void 0),s}}),["keys","values","entries",Symbol.iterator].forEach(r=>{n[r]=C1(r,e,t)}),n}function Fi(e,t){const n=_1(e,t);return(r,o,s)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?r:Reflect.get(je(n,o)&&o in r?n:r,o,s)}const x1={get:Fi(!1,!1)},A1={get:Fi(!1,!0)},S1={get:Fi(!0,!1)},k1={get:Fi(!0,!0)},Q0=new WeakMap,ef=new WeakMap,tf=new WeakMap,nf=new WeakMap;function T1(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Lo(e){return sr(e)?e:Li(e,!1,y1,x1,Q0)}function rf(e){return Li(e,!1,E1,A1,ef)}function zs(e){return Li(e,!0,b1,S1,tf)}function N1(e){return Li(e,!0,w1,k1,nf)}function Li(e,t,n,r,o){if(!Ie(e)||e.__v_raw&&!(t&&e.__v_isReactive)||e.__v_skip||!Object.isExtensible(e))return e;const s=o.get(e);if(s)return s;const a=T1(Jv(e));if(a===0)return e;const i=new Proxy(e,a===2?r:n);return o.set(e,i),i}function eo(e){return sr(e)?eo(e.__v_raw):!!(e&&e.__v_isReactive)}function sr(e){return!!(e&&e.__v_isReadonly)}function nn(e){return!!(e&&e.__v_isShallow)}function Ii(e){return e?!!e.__v_raw:!1}function Re(e){const t=e&&e.__v_raw;return t?Re(t):e}function D1(e){return!je(e,"__v_skip")&&Object.isExtensible(e)&&F0(e,"__v_skip",!0),e}const _n=e=>Ie(e)?Lo(e):e,js=e=>Ie(e)?zs(e):e;function lt(e){return e?e.__v_isRef===!0:!1}function xe(e){return of(e,!1)}function ar(e){return of(e,!0)}function of(e,t){return lt(e)?e:new O1(e,t)}class O1{constructor(t,n){this.dep=new $i,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:Re(t),this._value=n?t:_n(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,r=this.__v_isShallow||nn(t)||sr(t);t=r?t:Re(t),wt(t,n)&&(this._rawValue=t,this._value=r?t:_n(t),this.dep.trigger())}}function M(e){return lt(e)?e.value:e}function Rt(e){return _e(e)?e():M(e)}const P1={get:(e,t,n)=>t==="__v_raw"?e:M(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const o=e[t];return lt(o)&&!lt(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function sf(e){return eo(e)?e:new Proxy(e,P1)}class B1{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new $i,{get:r,set:o}=t(n.track.bind(n),n.trigger.bind(n));this._get=r,this._set=o}get value(){return this._value=this._get()}set value(t){this._set(t)}}function $1(e){return new B1(e)}class R1{constructor(t,n,r){this._object=t,this._defaultValue=r,this.__v_isRef=!0,this._value=void 0,this._key=rn(n)?n:String(n),this._raw=Re(t);let o=!0,s=t;if(!Ee(t)||rn(this._key)||!Oi(this._key))do o=!Ii(s)||nn(s);while(o&&(s=s.__v_raw));this._shallow=o}get value(){let t=this._object[this._key];return this._shallow&&(t=M(t)),this._value=t===void 0?this._defaultValue:t}set value(t){if(this._shallow&<(this._raw[this._key])){const n=this._object[this._key];if(lt(n)){n.value=t;return}}this._object[this._key]=t}get dep(){return h1(this._raw,this._key)}}class F1{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function vl(e,t,n){return lt(e)?e:_e(e)?new F1(e):Ie(e)&&arguments.length>1?L1(e,t,n):xe(e)}function L1(e,t,n){return new R1(e,t,n)}class I1{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new $i(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Is-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&We!==this)return H0(this,!0),!0}get value(){const t=this.dep.track();return W0(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function M1(e,t,n=!1){let r,o;return _e(e)?r=e:(r=e.get,o=e.set),new I1(r,o,n)}const Aa={},Xa=new WeakMap;let Wr;function z1(e,t=!1,n=Wr){if(n){let r=Xa.get(n);r||Xa.set(n,r=[]),r.push(e)}}function j1(e,t,n=$e){const{immediate:r,deep:o,once:s,scheduler:a,augmentJob:i,call:u}=n,c=C=>o?C:nn(C)||o===!1||o===0?Zn(C,1):Zn(C);let l,d,p,h,g=!1,f=!1;if(lt(e)?(d=()=>e.value,g=nn(e)):eo(e)?(d=()=>c(e),g=!0):Ee(e)?(f=!0,g=e.some(C=>eo(C)||nn(C)),d=()=>e.map(C=>{if(lt(C))return C.value;if(eo(C))return c(C);if(_e(C))return u?u(C,2):C()})):_e(e)?t?d=u?()=>u(e,2):e:d=()=>{if(p){rr();try{p()}finally{or()}}const C=Wr;Wr=l;try{return u?u(e,3,[h]):e(h)}finally{Wr=C}}:d=cn,t&&o){const C=d,x=o===!0?1/0:o;d=()=>Zn(C(),x)}const m=z0(),v=()=>{l.stop(),m&&m.active&&cc(m.effects,l)};if(s&&t){const C=t;t=(...x)=>{const D=C(...x);return v(),D}}let y=f?new Array(e.length).fill(Aa):Aa;const w=C=>{if(!(!(l.flags&1)||!l.dirty&&!C))if(t){const x=l.run();if(C||o||g||(f?x.some((D,$)=>wt(D,y[$])):wt(x,y))){p&&p();const D=Wr;Wr=l;try{const $=[x,y===Aa?void 0:f&&y[0]===Aa?[]:y,h];y=x,u?u(t,3,$):t(...$)}finally{Wr=D}}}else l.run()};return i&&i(w),l=new j0(d),l.scheduler=a?()=>a(w,!1):w,h=C=>z1(C,!1,l),p=l.onStop=()=>{const C=Xa.get(l);if(C){if(u)u(C,4);else for(const x of C)x();Xa.delete(l)}},t?r?w(!0):y=l.run():a?a(w.bind(null,!0),!0):l.run(),v.pause=l.pause.bind(l),v.resume=l.resume.bind(l),v.stop=v,v}function Zn(e,t=1/0,n){if(t<=0||!Ie(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,lt(e))Zn(e.value,t,n);else if(Ee(e))for(let r=0;r{Zn(r,t,n)});else if(R0(e)){for(const r in e)Zn(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&Zn(e[r],t,n)}return e}function oa(e,t,n,r){try{return r?e(...r):e()}catch(o){Mi(o,t,n)}}function pn(e,t,n,r){if(_e(e)){const o=oa(e,t,n,r);return o&&B0(o)&&o.catch(s=>{Mi(s,t,n)}),o}if(Ee(e)){const o=[];for(let s=0;s>>1,o=Ht[r],s=Us(o);s=Us(n)?Ht.push(e):Ht.splice(H1(t),0,e),e.flags|=1,uf()}}function uf(){Za||(Za=af.then(df))}function lf(e){if(!Ee(e))br&&e.id===-1?br.splice(Co+1,0,e):e.flags&1||(Do.push(e),e.flags|=1);else for(let t=0;tUs(n)-Us(r));if(Do.length=0,br){for(let n=0;ne.id==null?e.flags&2?-1:1/0:e.id;function df(e){try{for(Pn=0;Pnde;function de(e,t=xt,n){if(!t||e._n)return e;const r=(...o)=>{r._d&&ni(-1);const s=Ja(t),a=nr.length;let i;try{i=e(...o)}finally{for(let u=nr.length;u>a;u--)wc();Ja(s),r._d&&ni(1)}return i};return r._n=!0,r._c=!0,r._d=!0,r}function Ln(e,t){if(xt===null)return e;const n=Ki(xt),r=e.dirs||(e.dirs=[]);for(let o=0;o1)return n&&_e(t)?t.call(r&&r.proxy):t}}const q1=Symbol.for("v-scx"),K1=()=>st(q1);function ji(e,t){return Ui(e,null,t)}function X1(e,t){return Ui(e,null,{flush:"sync"})}function tt(e,t,n){return Ui(e,t,n)}function Ui(e,t,n=$e){const{immediate:r,deep:o,flush:s,once:a}=n,i=ct({},n),u=t&&r||!t&&s!=="post";let c;if(qs){if(s==="sync"){const h=K1();c=h.__watcherHandles||(h.__watcherHandles=[])}else if(!u){const h=()=>{};return h.stop=cn,h.resume=cn,h.pause=cn,h}}const l=$t;i.call=(h,g,f)=>pn(h,l,g,f);let d=!1;s==="post"?i.scheduler=h=>{Ut(h,l&&l.suspense)}:s!=="sync"&&(d=!0,i.scheduler=(h,g)=>{g?h():mc(h)}),i.augmentJob=h=>{t&&(h.flags|=4),d&&(h.flags|=2,l&&(h.id=l.uid,h.i=l))};const p=j1(e,t,i);return qs&&(c?c.push(p):u&&p()),p}function Z1(e,t,n){const r=this.proxy,o=qe(e)?e.includes(".")?pf(r,e):()=>r[e]:e.bind(r,r);let s;_e(t)?s=t:(s=t.handler,n=t);const a=ua(this),i=Ui(o,s.bind(r),n);return a(),i}function pf(e,t){const n=t.split(".");return()=>{let r=e;for(let o=0;oe.__isTeleport,qr=e=>e&&(e.disabled||e.disabled===""),J1=e=>e&&(e.defer||e.defer===""),_d=e=>typeof SVGElement<"u"&&e instanceof SVGElement,xd=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,yl=(e,t)=>{const n=e&&e.to;return qe(n)?t?t(n):null:n},Y1={name:"Teleport",__isTeleport:!0,process(e,t,n,r,o,s,a,i,u,c){const{mc:l,pc:d,pbc:p,o:{insert:h,querySelector:g,createText:f,createComment:m,parentNode:v}}=c,y=qr(t.props);let{dynamicChildren:w}=t;const C=($,K,U)=>{$.shapeFlag&16&&l($.children,K,U,o,s,a,i,u)},x=($=t)=>{const K=qr($.props),U=$.target=yl($.props,g),B=bl(U,$,f,h);U&&(a!=="svg"&&_d(U)?a="svg":a!=="mathml"&&xd(U)&&(a="mathml"),o&&o.isCE&&(o.ce._teleportTargets||(o.ce._teleportTargets=new Set)).add(U),K||(C($,U,B),ms($,!1)))},D=$=>{const K=()=>{if(mr.get($)===K){if(mr.delete($),qr($.props)){const U=v($.el)||n;C($,U,$.anchor),ms($,!0)}x($)}};mr.set($,K),Ut(K,s)};if(e==null){const $=t.el=f(""),K=t.anchor=f("");if(h($,n,r),h(K,n,r),J1(t.props)||s&&s.pendingBranch){D(t);return}y&&(C(t,n,K),ms(t,!0)),x()}else{t.el=e.el;const $=t.anchor=e.anchor,K=mr.get(e);if(K){K.flags|=8,mr.delete(e),D(t);return}t.targetStart=e.targetStart;const U=t.target=e.target,B=t.targetAnchor=e.targetAnchor,ne=qr(e.props),T=ne?n:U,S=ne?$:B;if(a==="svg"||_d(U)?a="svg":(a==="mathml"||xd(U))&&(a="mathml"),w?(p(e.dynamicChildren,w,T,o,s,a,i),Ec(e,t,!0)):u||d(e,t,T,S,o,s,a,i,!1),y)ne?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Sa(t,n,$,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const V=yl(t.props,g);V&&(t.target=V,Sa(t,V,null,c,0))}else ne&&Sa(t,U,B,c,1);ms(t,y)}},remove(e,t,n,{um:r,o:{remove:o}},s){const{shapeFlag:a,children:i,anchor:u,targetStart:c,targetAnchor:l,target:d,props:p}=e,h=qr(p),g=s||!h,f=mr.get(e);if(f&&(f.flags|=8,mr.delete(e)),d&&(o(c),o(l)),s&&o(u),!f&&(h||d)&&a&16)for(let m=0;m{e.isMounted=!0}),sa(()=>{e.isUnmounting=!0}),e}const on=[Function,Array],gf={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:on,onEnter:on,onAfterEnter:on,onEnterCancelled:on,onBeforeLeave:on,onLeave:on,onAfterLeave:on,onLeaveCancelled:on,onBeforeAppear:on,onAppear:on,onAfterAppear:on,onAppearCancelled:on},mf=e=>{const t=e.subTree;return t.component?mf(t.component):t},ty={name:"BaseTransition",props:gf,setup(e,{slots:t}){const n=jn(),r=ey();return()=>{const o=t.default&&bf(t.default(),!0),s=o&&o.length?vf(o):n.subTree?he():void 0;if(!s)return;const a=Re(e),{mode:i}=a;if(r.isLeaving)return yu(s);const u=Ya(s);if(!u)return yu(s);let c=El(u,a,r,n,d=>c=d);u.type!==Ct&&Hs(u,c);let l=n.subTree&&Ya(n.subTree);if(l&&l.type!==Ct&&!Kr(l,u)&&mf(n).type!==Ct){let d=El(l,a,r,n);if(Hs(l,d),i==="out-in"&&u.type!==Ct)return r.isLeaving=!0,d.afterLeave=()=>{r.isLeaving=!1,n.job.flags&8||n.update(),delete d.afterLeave,l=void 0},yu(s);i==="in-out"&&u.type!==Ct?d.delayLeave=(p,h,g)=>{const f=yf(r,l);f[String(l.key)]=l,p[un]=()=>{h(),p[un]=void 0,delete c.delayedLeave,l=void 0},c.delayedLeave=()=>{g(),delete c.delayedLeave,l=void 0}}:l=void 0}else l&&(l=void 0);return s}}};function vf(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==Ct){t=n;break}}return t}const ny=ty;function yf(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function El(e,t,n,r,o){const{appear:s,mode:a,persisted:i=!1,onBeforeEnter:u,onEnter:c,onAfterEnter:l,onEnterCancelled:d,onBeforeLeave:p,onLeave:h,onAfterLeave:g,onLeaveCancelled:f,onBeforeAppear:m,onAppear:v,onAfterAppear:y,onAppearCancelled:w}=t,C=String(e.key),x=yf(n,e),D=(U,B)=>{U&&pn(U,r,9,B)},$=(U,B)=>{const ne=B[1];D(U,B),Ee(U)?U.every(T=>T.length<=1)&&ne():U.length<=1&&ne()},K={mode:a,persisted:i,beforeEnter(U){let B=u;if(!n.isMounted)if(s)B=m||u;else return;U[un]&&U[un](!0);const ne=x[C];ne&&Kr(e,ne)&&ne.el[un]&&ne.el[un](),D(B,[U])},enter(U){if(x[C]===e)return;let B=c,ne=l,T=d;if(!n.isMounted)if(s)B=v||c,ne=y||l,T=w||d;else return;let S=!1;U[ts]=oe=>{S||(S=!0,oe?D(T,[U]):D(ne,[U]),K.delayedLeave&&K.delayedLeave(),U[ts]=void 0)};const V=U[ts].bind(null,!1);B?$(B,[U,V]):V()},leave(U,B){const ne=String(e.key);if(U[ts]&&U[ts](!0),n.isUnmounting)return B();D(p,[U]);let T=!1;U[un]=V=>{T||(T=!0,B(),V?D(f,[U]):D(g,[U]),U[un]=void 0,x[ne]===e&&delete x[ne])};const S=U[un].bind(null,!1);x[ne]=e,h?$(h,[U,S]):S()},clone(U){const B=El(U,t,n,r,o);return o&&o(B),B}};return K}function yu(e){if(Vi(e))return e=Or(e),e.children=null,e}function Ya(e){if(!Vi(e))return Hi(e.type)&&e.children?vf(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&_e(n.default))return n.default()}}function Hs(e,t){if(e.shapeFlag&6&&e.component){e.transition=t;const n=e.component.subTree;Hs(Hi(n.type)&&Ya(n)||n,t)}else e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function bf(e,t=!1,n){let r=[],o=0;for(let s=0;s1)for(let s=0;sn.value,set:o=>n.value=o})}return n}function Ad(e,t){let n;return!!((n=Object.getOwnPropertyDescriptor(e,t))&&!n.configurable)}const Qa=new WeakMap;function As(e,t,n,r,o=!1){if(Ee(e)){e.forEach((f,m)=>As(f,t&&(Ee(t)?t[m]:t),n,r,o));return}if(Oo(r)&&!o){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&As(e,t,n,r.component.subTree);return}const s=r.shapeFlag&4?Ki(r.component):r.el,a=o?null:s,{i,r:u}=e,c=t&&t.r,l=i.refs===$e?i.refs={}:i.refs,d=i.setupState,p=Re(d),h=d===$e?O0:f=>Ad(l,f)?!1:je(p,f),g=(f,m)=>!(m&&Ad(l,m));if(c!=null&&c!==u){if(Sd(t),qe(c))l[c]=null,h(c)&&(d[c]=null);else if(lt(c)){const f=t;g(c,f.k)&&(c.value=null),f.k&&(l[f.k]=null)}}if(_e(u))oa(u,i,12,[a,l]);else{const f=qe(u),m=lt(u);if(f||m){const v=()=>{if(e.f){const y=f?h(u)?d[u]:l[u]:g()||!e.k?u.value:l[e.k];if(o)Ee(y)&&cc(y,s);else if(Ee(y))y.includes(s)||y.push(s);else if(f)l[u]=[s],h(u)&&(d[u]=l[u]);else{const w=[s];g(u,e.k)&&(u.value=w),e.k&&(l[e.k]=w)}}else f?(l[u]=a,h(u)&&(d[u]=a)):m&&(g(u,e.k)&&(u.value=a),e.k&&(l[e.k]=a))};if(a){const y=()=>{v(),Qa.delete(e)};y.id=-1,Qa.set(e,y),Ut(y,n)}else Sd(e),v()}}}function Sd(e){const t=Qa.get(e);t&&(t.flags|=8,Qa.delete(e))}qa().requestIdleCallback,qa().cancelIdleCallback;const Oo=e=>!!e.type.__asyncLoader,Vi=e=>e.type.__isKeepAlive;function ry(e,t){wf(e,"a",t)}function oy(e,t){wf(e,"da",t)}function wf(e,t,n=$t){const r=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(Gi(t,r,n),n){let o=n.parent;for(;o&&o.parent;)Vi(o.parent.vnode)&&sy(r,t,n,o),o=o.parent}}function sy(e,t,n,r){const o=Gi(t,e,r,!0);ir(()=>{cc(r[t],o)},n)}function Gi(e,t,n=$t,r=!1){if(n){const o=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...a)=>{rr();const i=ua(n),u=pn(t,n,e,a);return i(),or(),u});return r?o.unshift(s):o.push(s),s}}const cr=e=>(t,n=$t)=>{(!qs||e==="sp")&&Gi(e,(...r)=>t(...r),n)},Cf=cr("bm"),An=cr("m"),_f=cr("bu"),ay=cr("u"),sa=cr("bum"),ir=cr("um"),iy=cr("sp"),uy=cr("rtg"),ly=cr("rtc");function cy(e,t=$t){Gi("ec",e,t)}const xf="components";function Je(e,t){return Sf(xf,e,!0,t)||e}const Af=Symbol.for("v-ndc");function aa(e){return qe(e)?Sf(xf,e,!1)||e:e||Af}function Sf(e,t,n=!0,r=!1){const o=xt||$t;if(o){const s=o.type;{const i=Gy(s,!1);if(i&&(i===t||i===Lt(t)||i===Bi(Lt(t))))return s}const a=kd(o[e]||s[e],t)||kd(o.appContext[e],t);return!a&&r?s:a}}function kd(e,t){return e&&(e[t]||e[Lt(t)]||e[Bi(Lt(t))])}function Ss(e,t,n,r){let o;const s=n,a=Ee(e);if(a||qe(e)){const i=a&&eo(e);let u=!1,c=!1;i&&(u=!nn(e),c=sr(e),e=Ri(e)),o=new Array(e.length);for(let l=0,d=e.length;lt(i,u,void 0,s));else{const i=Object.keys(e);o=new Array(i.length);for(let u=0,c=i.length;u{const s=r.fn(...o);return s&&(s.key=r.key),s}:r.fn)}return e}function be(e,t,n,r,o,s){if(n==null&&(n={}),xt.ce||xt.parent&&Oo(xt.parent)&&xt.parent.ce){const c=n,l=Object.keys(c).length>0;return t!=="default"&&(c.name=t),R(),ge(Ze,null,[le("slot",c,r&&r())],l?-2:64)}let a=e[t];a&&a._c&&(a._d=!1);const i=nr.length;R();let u;try{const c=a&&kf(a(n)),l=n.key||s||c&&c.key;u=ge(Ze,{key:(l&&!rn(l)?l:`_${t}`)+(!c&&r?"_fb":"")},c||(r?r():[]),c&&e._===1?64:-2)}catch(c){for(let l=nr.length;l>i;l--)wc();throw c}finally{a&&a._c&&(a._d=!0)}return!o&&u.scopeId&&(u.slotScopeIds=[u.scopeId+"-s"]),u}function kf(e){return e.some(t=>Gs(t)?!(t.type===Ct||t.type===Ze&&!kf(t.children)):!0)?e:null}function dy(e,t){const n={};for(const r in e)n[Fa(r)]=e[r];return n}const wl=e=>e?Kf(e)?Ki(e):wl(e.parent):null,ks=ct(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>wl(e.parent),$root:e=>wl(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Df(e),$forceUpdate:e=>e.f||(e.f=()=>{mc(e.update)}),$nextTick:e=>e.n||(e.n=wn.bind(e.proxy)),$watch:e=>Z1.bind(e)}),bu=(e,t)=>e!==$e&&!e.__isScriptSetup&&je(e,t),py={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:o,props:s,accessCache:a,type:i,appContext:u}=e;if(t[0]!=="$"){const p=a[t];if(p!==void 0)switch(p){case 1:return r[t];case 2:return o[t];case 4:return n[t];case 3:return s[t]}else{if(bu(r,t))return a[t]=1,r[t];if(o!==$e&&je(o,t))return a[t]=2,o[t];if(je(s,t))return a[t]=3,s[t];if(n!==$e&&je(n,t))return a[t]=4,n[t];Cl&&(a[t]=0)}}const c=ks[t];let l,d;if(c)return t==="$attrs"&&Bt(e.attrs,"get",""),c(e);if((l=i.__cssModules)&&(l=l[t]))return l;if(n!==$e&&je(n,t))return a[t]=4,n[t];if(d=u.config.globalProperties,je(d,t))return d[t]},set({_:e},t,n){const{data:r,setupState:o,ctx:s}=e;return bu(o,t)?(o[t]=n,!0):r!==$e&&je(r,t)?(r[t]=n,!0):je(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(s[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:o,props:s,type:a}},i){let u;return!!(n[i]||e!==$e&&i[0]!=="$"&&je(e,i)||bu(t,i)||je(s,i)||je(r,i)||je(ks,i)||je(o.config.globalProperties,i)||(u=a.__cssModules)&&u[i])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:je(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Wi(){return Tf().slots}function hy(){return Tf().attrs}function Tf(e){const t=jn();return t.setupContext||(t.setupContext=Zf(t))}function ei(e){return Ee(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function Dr(e,t){return!e||!t?e||t:Ee(e)&&Ee(t)?e.concat(t):ct({},ei(e),ei(t))}let Cl=!0;function fy(e){const t=Df(e),n=e.proxy,r=e.ctx;Cl=!1,t.beforeCreate&&Td(t.beforeCreate,e,"bc");const{data:o,computed:s,methods:a,watch:i,provide:u,inject:c,created:l,beforeMount:d,mounted:p,beforeUpdate:h,updated:g,activated:f,deactivated:m,beforeDestroy:v,beforeUnmount:y,destroyed:w,unmounted:C,render:x,renderTracked:D,renderTriggered:$,errorCaptured:K,serverPrefetch:U,expose:B,inheritAttrs:ne,components:T,directives:S,filters:V}=t;if(c&&gy(c,r,null),a)for(const J in a){const Q=a[J];_e(Q)&&(r[J]=Q.bind(n))}if(o){const J=o.call(n,n);Ie(J)&&(e.data=Lo(J))}if(Cl=!0,s)for(const J in s){const Q=s[J],te=_e(Q)?Q.bind(n,n):_e(Q.get)?Q.get.bind(n,n):cn,pe=!_e(Q)&&_e(Q.set)?Q.set.bind(n):cn,X=re({get:te,set:pe});Object.defineProperty(r,J,{enumerable:!0,configurable:!0,get:()=>X.value,set:se=>X.value=se})}if(i)for(const J in i)Nf(i[J],r,n,J);if(u){const J=_e(u)?u.call(n):u;Reflect.ownKeys(J).forEach(Q=>{Xt(Q,J[Q])})}l&&Td(l,e,"c");function oe(J,Q){Ee(Q)?Q.forEach(te=>J(te.bind(n))):Q&&J(Q.bind(n))}if(oe(Cf,d),oe(An,p),oe(_f,h),oe(ay,g),oe(ry,f),oe(oy,m),oe(cy,K),oe(ly,D),oe(uy,$),oe(sa,y),oe(ir,C),oe(iy,U),Ee(B))if(B.length){const J=e.exposed||(e.exposed={});B.forEach(Q=>{Object.defineProperty(J,Q,{get:()=>n[Q],set:te=>n[Q]=te,enumerable:!0})})}else e.exposed||(e.exposed={});x&&e.render===cn&&(e.render=x),ne!=null&&(e.inheritAttrs=ne),T&&(e.components=T),S&&(e.directives=S),U&&Ef(e)}function gy(e,t,n=cn){Ee(e)&&(e=_l(e));for(const r in e){const o=e[r];let s;Ie(o)?"default"in o?s=st(o.from||r,o.default,!0):s=st(o.from||r):s=st(o),lt(s)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>s.value,set:a=>s.value=a}):t[r]=s}}function Td(e,t,n){pn(Ee(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function Nf(e,t,n,r){let o=r.includes(".")?pf(n,r):()=>n[r];if(qe(e)){const s=t[e];_e(s)&&tt(o,s)}else if(_e(e))tt(o,e.bind(n));else if(Ie(e))if(Ee(e))e.forEach(s=>Nf(s,t,n,r));else{const s=_e(e.handler)?e.handler.bind(n):t[e.handler];_e(s)&&tt(o,s,e)}}function Df(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:o,optionsCache:s,config:{optionMergeStrategies:a}}=e.appContext,i=s.get(t);let u;return i?u=i:!o.length&&!n&&!r?u=t:(u={},o.length&&o.forEach(c=>ti(u,c,a,!0)),ti(u,t,a)),Ie(t)&&s.set(t,u),u}function ti(e,t,n,r=!1){const{mixins:o,extends:s}=t;s&&ti(e,s,n,!0),o&&o.forEach(a=>ti(e,a,n,!0));for(const a in t)if(!(r&&a==="expose")){const i=my[a]||n&&n[a];e[a]=i?i(e[a],t[a]):t[a]}return e}const my={data:Nd,props:Dd,emits:Dd,methods:vs,computed:vs,beforeCreate:zt,created:zt,beforeMount:zt,mounted:zt,beforeUpdate:zt,updated:zt,beforeDestroy:zt,beforeUnmount:zt,destroyed:zt,unmounted:zt,activated:zt,deactivated:zt,errorCaptured:zt,serverPrefetch:zt,components:vs,directives:vs,watch:yy,provide:Nd,inject:vy};function Nd(e,t){return t?e?function(){return ct(_e(e)?e.call(this,this):e,_e(t)?t.call(this,this):t)}:t:e}function vy(e,t){return vs(_l(e),_l(t))}function _l(e){if(Ee(e)){const t={};for(let n=0;n{let l,d=$e,p;return X1(()=>{const h=e[o];wt(l,h)&&(l=h,c())}),{get(){return u(),n.get?n.get(l):l},set(h){const g=n.set?n.set(h):h;if(!wt(g,l)&&!(d!==$e&&wt(h,d)))return;const f=r.vnode.props,m=!!(f&&(t in f||o in f||s in f)&&(`onUpdate:${t}`in f||`onUpdate:${o}`in f||`onUpdate:${s}`in f));m||(l=h,c()),r.emit(`update:${t}`,g),wt(h,d)&&(wt(h,g)&&!wt(g,p)||m&&d!==$e&&!wt(g,l))&&c(),d=h,p=g}}});return i[Symbol.iterator]=()=>{let u=0;return{next(){return u<2?{value:u++?a||$e:i,done:!1}:{done:!0}}}},i}const Pf=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Lt(t)}Modifiers`]||e[`${lr(t)}Modifiers`];function wy(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||$e;let o=n;const s=t.startsWith("update:"),a=s&&Pf(r,t.slice(7));a&&(a.trim&&(o=n.map(l=>qe(l)?l.trim():l)),a.number&&(o=n.map(dc)));let i,u=r[i=Fa(t)]||r[i=Fa(Lt(t))];!u&&s&&(u=r[i=Fa(lr(t))]),u&&pn(u,e,6,o);const c=r[i+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[i])return;e.emitted[i]=!0,pn(c,e,6,o)}}const Cy=new WeakMap;function Bf(e,t,n=!1){const r=n?Cy:t.emitsCache,o=r.get(e);if(o!==void 0)return o;const s=e.emits;let a={},i=!1;if(!_e(e)){const u=c=>{const l=Bf(c,t,!0);l&&(i=!0,ct(a,l))};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}return!s&&!i?(Ie(e)&&r.set(e,null),null):(Ee(s)?s.forEach(u=>a[u]=null):ct(a,s),Ie(e)&&r.set(e,a),a)}function qi(e,t){return!e||!Ni(t)?!1:(t=t.slice(2),t=t==="Once"?t:t.replace(/Once$/,""),je(e,t[0].toLowerCase()+t.slice(1))||je(e,lr(t))||je(e,t))}function Od(e){const{type:t,vnode:n,proxy:r,withProxy:o,propsOptions:[s],slots:a,attrs:i,emit:u,render:c,renderCache:l,props:d,data:p,setupState:h,ctx:g,inheritAttrs:f}=e,m=Ja(e);let v,y;try{if(n.shapeFlag&4){const C=o||r,x=C;v=Fn(c.call(x,C,l,d,h,p,g)),y=i}else{const C=t;v=Fn(C.length>1?C(d,{attrs:i,slots:a,emit:u}):C(d,null)),y=t.props?i:_y(i)}}catch(C){nr.length=0,Mi(C,e,1),v=le(Ct)}let w=v;if(y&&f!==!1){const C=Object.keys(y),{shapeFlag:x}=w;C.length&&x&7&&(s&&C.some(Di)&&(y=xy(y,s)),w=Or(w,y,!1,!0))}if(n.dirs&&(w=Or(w,null,!1,!0),w.dirs=w.dirs?w.dirs.concat(n.dirs):n.dirs),n.transition){const C=Hi(w.type)&&Ya(w)||w;Hs(C,n.transition)}return v=w,Ja(m),v}const _y=e=>{let t;for(const n in e)(n==="class"||n==="style"||Ni(n))&&((t||(t={}))[n]=e[n]);return t},xy=(e,t)=>{const n={};for(const r in e)(!Di(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function Ay(e,t,n){const{props:r,children:o,component:s}=e,{props:a,children:i,patchFlag:u}=t,c=s.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&u>=0){if(u&1024)return!0;if(u&16)return r?Pd(r,a,c):!!a;if(u&8){const l=t.dynamicProps;for(let d=0;dObject.create(Rf),Lf=e=>Object.getPrototypeOf(e)===Rf;function ky(e,t,n,r=!1){const o={},s=Ff();e.propsDefaults=Object.create(null),If(e,t,o,s);for(const a in e.propsOptions[0])a in o||(o[a]=void 0);n?e.props=r?o:rf(o):e.type.props?e.props=o:e.props=s,e.attrs=s}function Ty(e,t,n,r){const{props:o,attrs:s,vnode:{patchFlag:a}}=e,i=Re(o),[u]=e.propsOptions;let c=!1;if((r||a>0)&&!(a&16)){if(a&8){const l=e.vnode.dynamicProps;for(let d=0;d{u=!0;const[p,h]=Mf(d,t,!0);ct(a,p),h&&i.push(...h)};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}if(!s&&!u)return Ie(e)&&r.set(e,To),To;if(Ee(s))for(let l=0;le==="_"||e==="_ctx"||e==="$stable",bc=e=>Ee(e)?e.map(Fn):[Fn(e)],Dy=(e,t,n)=>{if(t._n)return t;const r=de((...o)=>bc(t(...o)),n);return r._c=!1,r},zf=(e,t,n)=>{const r=e._ctx;for(const o in e){if(yc(o))continue;const s=e[o];if(_e(s))t[o]=Dy(o,s,r);else if(s!=null){const a=bc(s);t[o]=()=>a}}},jf=(e,t)=>{const n=bc(t);e.slots.default=()=>n},Uf=(e,t,n)=>{for(const r in t)(n||!yc(r))&&(e[r]=t[r])},Oy=(e,t,n)=>{const r=e.slots=Ff();if(e.vnode.shapeFlag&32){const o=t._;o?(Uf(r,t,n),n&&F0(r,"_",o,!0)):zf(t,r)}else t&&jf(e,t)},Py=(e,t,n)=>{const{vnode:r,slots:o}=e;let s=!0,a=$e;if(r.shapeFlag&32){const i=t._;i?n&&i===1?s=!1:Uf(o,t,n):(s=!t.$stable,zf(t,o)),a=t}else t&&(jf(e,t),a={default:1});if(s)for(const i in o)!yc(i)&&a[i]==null&&delete o[i]},Ut=Ly;function By(e){return $y(e)}function $y(e,t){const n=qa();n.__VUE__=!0;const{insert:r,remove:o,patchProp:s,createElement:a,createText:i,createComment:u,setText:c,setElementText:l,parentNode:d,nextSibling:p,setScopeId:h=cn,insertStaticContent:g}=e,f=(b,_,k,O=null,I=null,P=null,W=void 0,ee=null,Y=!!_.dynamicChildren)=>{if(b===_)return;b&&!Kr(b,_)&&(O=A(b),G(b,I,P,!0),b=null),_.patchFlag===-2&&(Y=!1,_.dynamicChildren=null);const{type:q,ref:fe,shapeFlag:ie}=_;switch(q){case ia:m(b,_,k,O);break;case Ct:v(b,_,k,O);break;case Ia:b==null&&y(_,k,O,W);break;case Ze:T(b,_,k,O,I,P,W,ee,Y);break;default:ie&1?x(b,_,k,O,I,P,W,ee,Y):ie&6?S(b,_,k,O,I,P,W,ee,Y):(ie&64||ie&128)&&q.process(b,_,k,O,I,P,W,ee,Y,j)}fe!=null&&I?As(fe,b&&b.ref,P,_||b,!_):fe==null&&b&&b.ref!=null&&As(b.ref,null,P,b,!0)},m=(b,_,k,O)=>{if(b==null)r(_.el=i(_.children),k,O);else{const I=_.el=b.el;_.children!==b.children&&c(I,_.children)}},v=(b,_,k,O)=>{b==null?r(_.el=u(_.children||""),k,O):_.el=b.el},y=(b,_,k,O)=>{[b.el,b.anchor]=g(b.children,_,k,O,b.el,b.anchor)},w=({el:b,anchor:_},k,O)=>{let I;for(;b&&b!==_;)I=p(b),r(b,k,O),b=I;r(_,k,O)},C=({el:b,anchor:_})=>{let k;for(;b&&b!==_;)k=p(b),o(b),b=k;o(_)},x=(b,_,k,O,I,P,W,ee,Y)=>{if(_.type==="svg"?W="svg":_.type==="math"&&(W="mathml"),b==null)D(_,k,O,I,P,W,ee,Y);else{const q=b.el&&b.el._isVueCE?b.el:null;try{q&&q._beginPatch(),U(b,_,I,P,W,ee,Y)}finally{q&&q._endPatch()}}},D=(b,_,k,O,I,P,W,ee)=>{let Y,q;const{props:fe,shapeFlag:ie,transition:ve,dirs:ye}=b;if(Y=b.el=a(b.type,P,fe&&fe.is,fe),ie&8?l(Y,b.children):ie&16&&K(b.children,Y,null,O,I,Eu(b,P),W,ee),ye&&Ir(b,null,O,"created"),$(Y,b,b.scopeId,W,O),fe){for(const De in fe)De!=="value"&&!Cs(De)&&s(Y,De,null,fe[De],P,O);"value"in fe&&s(Y,"value",null,fe.value,P),(q=fe.onVnodeBeforeMount)&&On(q,O,b)}ye&&Ir(b,null,O,"beforeMount");const Se=Ry(I,ve);Se&&ve.beforeEnter(Y),r(Y,_,k),((q=fe&&fe.onVnodeMounted)||Se||ye)&&Ut(()=>{q&&On(q,O,b),Se&&ve.enter(Y),ye&&Ir(b,null,O,"mounted")},I)},$=(b,_,k,O,I)=>{if(k&&h(b,k),O)for(let P=0;P{for(let q=Y;q{const ee=_.el=b.el;let{patchFlag:Y,dynamicChildren:q,dirs:fe}=_;Y|=b.patchFlag&16;const ie=b.props||$e,ve=_.props||$e;let ye;if(k&&Mr(k,!1),(ye=ve.onVnodeBeforeUpdate)&&On(ye,k,_,b),fe&&Ir(_,b,k,"beforeUpdate"),k&&Mr(k,!0),q&&(!b.dynamicChildren||b.dynamicChildren.length!==q.length)&&(Y=0,W=!1,q=null),(ie.innerHTML&&ve.innerHTML==null||ie.textContent&&ve.textContent==null)&&l(ee,""),q?B(b.dynamicChildren,q,ee,k,O,Eu(_,I),P):W||te(b,_,ee,null,k,O,Eu(_,I),P,!1),Y>0){if(Y&16)ne(ee,ie,ve,k,I);else if(Y&2&&ie.class!==ve.class&&s(ee,"class",null,ve.class,I),Y&4&&s(ee,"style",ie.style,ve.style,I),Y&8){const Se=_.dynamicProps;for(let De=0;De{ye&&On(ye,k,_,b),fe&&Ir(_,b,k,"updated")},O)},B=(b,_,k,O,I,P,W)=>{for(let ee=0;ee<_.length;ee++){const Y=b[ee],q=_[ee],fe=Y.el&&(Y.type===Ze||!Kr(Y,q)||Y.shapeFlag&198)?d(Y.el):k;f(Y,q,fe,null,O,I,P,W,!0)}},ne=(b,_,k,O,I)=>{if(_!==k){if(_!==$e)for(const P in _)!Cs(P)&&!(P in k)&&s(b,P,_[P],null,I,O);for(const P in k){if(Cs(P))continue;const W=k[P],ee=_[P];W!==ee&&P!=="value"&&s(b,P,ee,W,I,O)}"value"in k&&s(b,"value",_.value,k.value,I)}},T=(b,_,k,O,I,P,W,ee,Y)=>{const q=_.el=b?b.el:i(""),fe=_.anchor=b?b.anchor:i("");let{patchFlag:ie,dynamicChildren:ve,slotScopeIds:ye}=_;ye&&(ee=ee?ee.concat(ye):ye),b==null?(r(q,k,O),r(fe,k,O),K(_.children||[],k,fe,I,P,W,ee,Y)):ie>0&&ie&64&&ve&&b.dynamicChildren&&b.dynamicChildren.length===ve.length?(B(b.dynamicChildren,ve,k,I,P,W,ee),(_.key!=null||I&&_===I.subTree)&&Ec(b,_,!0)):te(b,_,k,fe,I,P,W,ee,Y)},S=(b,_,k,O,I,P,W,ee,Y)=>{_.slotScopeIds=ee,b==null?_.shapeFlag&512?I.ctx.activate(_,k,O,W,Y):V(_,k,O,I,P,W,Y):oe(b,_,Y)},V=(b,_,k,O,I,P,W)=>{const ee=b.component=jy(b,O,I);if(Vi(b)&&(ee.ctx.renderer=j),Uy(ee,!1,W),ee.asyncDep){if(I&&I.registerDep(ee,J,W),!b.el){const Y=ee.subTree=le(Ct);v(null,Y,_,k),b.placeholder=Y.el}}else J(ee,b,_,k,I,P,W)},oe=(b,_,k)=>{const O=_.component=b.component;if(Ay(b,_,k))if(O.asyncDep&&!O.asyncResolved){Q(O,_,k);return}else O.next=_,O.update();else _.el=b.el,O.vnode=_},J=(b,_,k,O,I,P,W)=>{const ee=()=>{if(b.isMounted){let{next:ie,bu:ve,u:ye,parent:Se,vnode:De}=b;{const Et=Hf(b);if(Et){ie&&(ie.el=De.el,Q(b,ie,W)),Et.asyncDep.then(()=>{Ut(()=>{b.isUnmounted||q()},I)});return}}let Me=ie,Ke;Mr(b,!1),ie?(ie.el=De.el,Q(b,ie,W)):ie=De,ve&&La(ve),(Ke=ie.props&&ie.props.onVnodeBeforeUpdate)&&On(Ke,Se,ie,De),Mr(b,!0);const ot=Od(b),Wt=b.subTree;b.subTree=ot,f(Wt,ot,d(Wt.el),A(Wt),b,I,P),ie.el=ot.el,Me===null&&Sy(b,ot.el),ye&&Ut(ye,I),(Ke=ie.props&&ie.props.onVnodeUpdated)&&Ut(()=>On(Ke,Se,ie,De),I)}else{let ie;const{el:ve,props:ye}=_,{bm:Se,m:De,parent:Me,root:Ke,type:ot}=b,Wt=Oo(_);Mr(b,!1),Se&&La(Se),!Wt&&(ie=ye&&ye.onVnodeBeforeMount)&&On(ie,Me,_),Mr(b,!0);{Ke.ce&&Ke.ce._hasShadowRoot()&&Ke.ce._injectChildStyle(ot,b.parent?b.parent.type:void 0);const Et=b.subTree=Od(b);f(null,Et,k,O,b,I,P),_.el=Et.el}if(De&&Ut(De,I),!Wt&&(ie=ye&&ye.onVnodeMounted)){const Et=_;Ut(()=>On(ie,Me,Et),I)}(_.shapeFlag&256||Me&&Oo(Me.vnode)&&Me.vnode.shapeFlag&256)&&b.a&&Ut(b.a,I),b.isMounted=!0,_=k=O=null}};b.scope.on();const Y=b.effect=new j0(ee);b.scope.off();const q=b.update=Y.run.bind(Y),fe=b.job=Y.runIfDirty.bind(Y);fe.i=b,fe.id=b.uid,Y.scheduler=()=>mc(fe),Mr(b,!0),q()},Q=(b,_,k)=>{_.component=b;const O=b.vnode.props;b.vnode=_,b.next=null,Ty(b,_.props,O,k),Py(b,_.children,k),rr(),Cd(b),or()},te=(b,_,k,O,I,P,W,ee,Y=!1)=>{const q=b&&b.children,fe=b?b.shapeFlag:0,ie=_.children,{patchFlag:ve,shapeFlag:ye}=_;if(ve>0){if(ve&128){X(q,ie,k,O,I,P,W,ee,Y);return}else if(ve&256){pe(q,ie,k,O,I,P,W,ee,Y);return}}ye&8?(fe&16&&me(q,I,P),ie!==q&&l(k,ie)):fe&16?ye&16?X(q,ie,k,O,I,P,W,ee,Y):me(q,I,P,!0):(fe&8&&l(k,""),ye&16&&K(ie,k,O,I,P,W,ee,Y))},pe=(b,_,k,O,I,P,W,ee,Y)=>{b=b||To,_=_||To;const q=b.length,fe=_.length,ie=Math.min(q,fe);let ve;for(ve=0;vefe?me(b,I,P,!0,!1,ie):K(_,k,O,I,P,W,ee,Y,ie)},X=(b,_,k,O,I,P,W,ee,Y)=>{let q=0;const fe=_.length;let ie=b.length-1,ve=fe-1;for(;q<=ie&&q<=ve;){const ye=b[q],Se=_[q]=Y?qn(_[q]):Fn(_[q]);if(Kr(ye,Se))f(ye,Se,k,null,I,P,W,ee,Y);else break;q++}for(;q<=ie&&q<=ve;){const ye=b[ie],Se=_[ve]=Y?qn(_[ve]):Fn(_[ve]);if(Kr(ye,Se))f(ye,Se,k,null,I,P,W,ee,Y);else break;ie--,ve--}if(q>ie){if(q<=ve){const ye=ve+1,Se=yeve)for(;q<=ie;)G(b[q],I,P,!0),q++;else{const ye=q,Se=q,De=new Map;for(q=Se;q<=ve;q++){const kt=_[q]=Y?qn(_[q]):Fn(_[q]);kt.key!=null&&De.set(kt.key,q)}let Me,Ke=0;const ot=ve-Se+1;let Wt=!1,Et=0;const Sn=new Array(ot);for(q=0;q=ot){G(kt,I,P,!0);continue}let Yt;if(kt.key!=null)Yt=De.get(kt.key);else for(Me=Se;Me<=ve;Me++)if(Sn[Me-Se]===0&&Kr(kt,_[Me])){Yt=Me;break}Yt===void 0?G(kt,I,P,!0):(Sn[Yt-Se]=q+1,Yt>=Et?Et=Yt:Wt=!0,f(kt,_[Yt],k,null,I,P,W,ee,Y),Ke++)}const Rr=Wt?Fy(Sn):To;for(Me=Rr.length-1,q=ot-1;q>=0;q--){const kt=Se+q,Yt=_[kt],Zo=_[kt+1],co=kt+1{const{el:P,type:W,transition:ee,children:Y,shapeFlag:q}=b;if(q&6){se(b.component.subTree,_,k,O);return}if(q&128){b.suspense.move(_,k,O);return}if(q&64){W.move(b,_,k,j);return}if(W===Ze){r(P,_,k);for(let fe=0;feee.enter(P),I));else{const{leave:fe,delayLeave:ie,afterLeave:ve}=ee,ye=()=>{b.ctx.isUnmounted?o(P):r(P,_,k)},Se=()=>{const De=P._isLeaving||!!P[un];P._isLeaving&&P[un](!0),ee.persisted&&!De?ye():fe(P,()=>{ye(),ve&&ve()})};ie?ie(P,ye,Se):Se()}else r(P,_,k)},G=(b,_,k,O=!1,I=!1)=>{const{type:P,props:W,ref:ee,children:Y,dynamicChildren:q,shapeFlag:fe,patchFlag:ie,dirs:ve,cacheIndex:ye,memo:Se}=b;if(ie===-2&&(I=!1),ee!=null&&(rr(),As(ee,null,k,b,!0),or()),ye!=null&&(_.renderCache[ye]=void 0),fe&256){_.ctx.deactivate(b);return}const De=fe&1&&ve,Me=!Oo(b);let Ke;if(Me&&(Ke=W&&W.onVnodeBeforeUnmount)&&On(Ke,_,b),fe&6)ke(b.component,k,O);else{if(fe&128){b.suspense.unmount(k,O);return}De&&Ir(b,null,_,"beforeUnmount"),fe&64?b.type.remove(b,_,k,j,O):q&&!q.hasOnce&&(P!==Ze||ie>0&&ie&64)?me(q,_,k,!1,!0):(P===Ze&&ie&384||!I&&fe&16)&&me(Y,_,k),O&&Ae(b)}const ot=Se!=null&&ye==null;(Me&&(Ke=W&&W.onVnodeUnmounted)||De||ot)&&Ut(()=>{Ke&&On(Ke,_,b),De&&Ir(b,null,_,"unmounted"),ot&&(b.el=null)},k)},Ae=b=>{const{type:_,el:k,anchor:O,transition:I}=b;if(_===Ze){Ge(k,O);return}if(_===Ia){C(b);return}const P=()=>{o(k),I&&!I.persisted&&I.afterLeave&&I.afterLeave()};if(b.shapeFlag&1&&I&&!I.persisted){const{leave:W,delayLeave:ee}=I,Y=()=>W(k,P);ee?ee(b.el,P,Y):Y()}else P()},Ge=(b,_)=>{let k;for(;b!==_;)k=p(b),o(b),b=k;o(_)},ke=(b,_,k)=>{const{bum:O,scope:I,job:P,subTree:W,um:ee,m:Y,a:q}=b;$d(Y),$d(q),O&&La(O),I.stop(),P&&(P.flags|=8,G(W,b,_,k)),ee&&Ut(ee,_),Ut(()=>{b.isUnmounted=!0},_)},me=(b,_,k,O=!1,I=!1,P=0)=>{for(let W=P;W{if(b.shapeFlag&6)return A(b.component.subTree);if(b.shapeFlag&128)return b.suspense.next();const _=p(b.anchor||b.el),k=_&&_[hf];return k?p(k):_};let F=!1;const L=(b,_,k)=>{let O;b==null?_._vnode&&(G(_._vnode,null,null,!0),O=_._vnode.component):f(_._vnode||null,b,_,null,null,null,k),_._vnode=b,F||(F=!0,Cd(O),cf(),F=!1)},j={p:f,um:G,m:se,r:Ae,mt:V,mc:K,pc:te,pbc:B,n:A,o:e};return{render:L,hydrate:void 0,createApp:Ey(L)}}function Eu({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function Mr({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Ry(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Ec(e,t,n=!1){const r=e.children,o=t.children;if(Ee(r)&&Ee(o))for(let s=0;s>1,e[n[i]]0&&(t[r]=n[s-1]),n[s]=r)}}for(s=n.length,a=n[s-1];s-- >0;)n[s]=a,a=t[a];return n}function Hf(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Hf(t)}function $d(e){if(e)for(let t=0;te.__isSuspense;function Ly(e,t){t&&t.pendingBranch?Ee(e)?t.effects.push(...e):t.effects.push(e):lf(e)}const Ze=Symbol.for("v-fgt"),ia=Symbol.for("v-txt"),Ct=Symbol.for("v-cmt"),Ia=Symbol.for("v-stc"),nr=[];let tn=null;function R(e=!1){nr.push(tn=e?null:[])}function wc(){nr.pop(),tn=nr[nr.length-1]||null}let Vs=1;function ni(e,t=!1){Vs+=e,e<0&&tn&&t&&(tn.hasOnce=!0)}function Wf(e){return e.dynamicChildren=Vs>0?tn||To:null,wc(),Vs>0&&tn&&tn.push(e),e}function Z(e,t,n,r,o,s){return Wf(ae(e,t,n,r,o,s,!0))}function ge(e,t,n,r,o){return Wf(le(e,t,n,r,o,!0))}function Gs(e){return e?e.__v_isVNode===!0:!1}function Kr(e,t){return e.type===t.type&&e.key===t.key}const qf=({key:e})=>e??null,Ma=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?qe(e)||lt(e)||_e(e)?{i:xt,r:e,k:t,f:!!n}:e:null);function ae(e,t=null,n=null,r=0,o=null,s=e===Ze?0:1,a=!1,i=!1){const u={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&qf(t),ref:t&&Ma(t),scopeId:zi,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:r,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:xt};return i?(ri(u,n),s&128&&e.normalize(u)):n&&(u.shapeFlag|=qe(n)?8:16),Vs>0&&!a&&tn&&(u.patchFlag>0||s&6)&&u.patchFlag!==32&&tn.push(u),u}const le=Iy;function Iy(e,t=null,n=null,r=0,o=null,s=!1){if((!e||e===Af)&&(e=Ct),Gs(e)){const i=Or(e,t,!0);return n&&ri(i,n),Vs>0&&!s&&tn&&(i.shapeFlag&6?tn[tn.indexOf(e)]=i:tn.push(i)),i.patchFlag=-2,i}if(Wy(e)&&(e=e.__vccOpts),t){t=Io(t);let{class:i,style:u}=t;i&&!qe(i)&&(t.class=Be(i)),Ie(u)&&(Ii(u)&&!Ee(u)&&(u=ct({},u)),t.style=dn(u))}const a=qe(e)?1:Gf(e)?128:Hi(e)?64:Ie(e)?4:_e(e)?2:0;return ae(e,t,n,r,o,a,s,!0)}function Io(e){return e?Ii(e)||Lf(e)?ct({},e):e:null}function Or(e,t,n=!1,r=!1){const{props:o,ref:s,patchFlag:a,children:i,transition:u}=e,c=t?ft(o||{},t):o,l={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&qf(c),ref:t&&t.ref?n&&s?Ee(s)?s.concat(Ma(t)):[s,Ma(t)]:Ma(t):s,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Ze?a===-1?16:a|16:a,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:u,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Or(e.ssContent),ssFallback:e.ssFallback&&Or(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return u&&r&&Hs(l,u.clone(l)),l}function ht(e=" ",t=0){return le(ia,null,e,t)}function he(e="",t=!1){return t?(R(),ge(Ct,null,e)):le(Ct,null,e)}function Fn(e){return e==null||typeof e=="boolean"?le(Ct):Ee(e)?le(Ze,null,e.slice()):Gs(e)?qn(e):le(ia,null,String(e))}function qn(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Or(e)}function ri(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(Ee(t))n=16;else if(typeof t=="object")if(r&65){const o=t.default;o&&(o._c&&(o._d=!1),ri(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!Lf(t)?t._ctx=xt:o===3&&xt&&(xt.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else if(_e(t)){if(r&65){ri(e,{default:t});return}t={default:t,_ctx:xt},n=32}else t=String(t),r&64?(n=16,t=[ht(t)]):n=8;e.children=t,e.shapeFlag|=n}function ft(...e){const t={};for(let n=0;n$t||xt;let oi,Ws;{const e=qa(),t=(n,r)=>{let o;return(o=e[n])||(o=e[n]=[]),o.push(r),s=>{o.length>1?o.forEach(a=>a(s)):o[0](s)}};oi=t("__VUE_INSTANCE_SETTERS__",n=>$t=n),Ws=t("__VUE_SSR_SETTERS__",n=>qs=n)}const ua=e=>{const t=$t;return oi(e),e.scope.on(),()=>{e.scope.off(),oi(t)}},Rd=()=>{$t&&$t.scope.off(),oi(null)};function Kf(e){return e.vnode.shapeFlag&4}let qs=!1;function Uy(e,t=!1,n=!1){t&&Ws(t);const{props:r,children:o}=e.vnode,s=Kf(e);ky(e,r,s,t),Oy(e,o,n||t);const a=s?Hy(e,t):void 0;return t&&Ws(!1),a}function Hy(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,py);const{setup:r}=n;if(r){rr();const o=e.setupContext=r.length>1?Zf(e):null,s=ua(e),a=oa(r,e,0,[e.props,o]),i=B0(a);if(or(),s(),(i||e.sp)&&!Oo(e)&&Ef(e),i){if(a.then(Rd,Rd),t)return a.then(u=>{Ws(!0);try{Fd(e,u,t)}finally{Ws(!1)}}).catch(u=>{Mi(u,e,0)});e.asyncDep=a}else Fd(e,a)}else Xf(e)}function Fd(e,t,n){_e(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Ie(t)&&(e.setupState=sf(t)),Xf(e)}function Xf(e,t,n){const r=e.type;e.render||(e.render=r.render||cn);{const o=ua(e);rr();try{fy(e)}finally{or(),o()}}}const Vy={get(e,t){return Bt(e,"get",""),e[t]}};function Zf(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Vy),slots:e.slots,emit:e.emit,expose:t}}function Ki(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(sf(D1(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in ks)return ks[n](e)},has(t,n){return n in t||n in ks}})):e.proxy}function Gy(e,t=!0){return _e(e)?e.displayName||e.name:e.name||t&&e.__name}function Wy(e){return _e(e)&&"__vccOpts"in e}const re=(e,t)=>M1(e,t,qs);function Pt(e,t,n){try{ni(-1);const r=arguments.length;return r===2?Ie(t)&&!Ee(t)?Gs(t)?le(e,null,[t]):le(e,t):le(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Gs(n)&&(n=[n]),le(e,t,n))}finally{ni(1)}}const qy="3.5.41",Ky=cn;let Al;const Ld=typeof window<"u"&&window.trustedTypes;if(Ld)try{Al=Ld.createPolicy("vue",{createHTML:e=>e})}catch{}const Jf=Al?e=>Al.createHTML(e):e=>e,Xy="http://www.w3.org/2000/svg",Zy="http://www.w3.org/1998/Math/MathML",Wn=typeof document<"u"?document:null,Id=Wn&&Wn.createElement("template"),Jy={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const o=t==="svg"?Wn.createElementNS(Xy,e):t==="mathml"?Wn.createElementNS(Zy,e):n?Wn.createElement(e,{is:n}):Wn.createElement(e);return e==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:e=>Wn.createTextNode(e),createComment:e=>Wn.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Wn.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,o,s){const a=n?n.previousSibling:t.lastChild;if(o&&(o===s||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===s||!(o=o.nextSibling)););else{Id.innerHTML=Jf(r==="svg"?`${e}`:r==="mathml"?`${e}`:e);const i=Id.content;if(r==="svg"||r==="mathml"){const u=i.firstChild;for(;u.firstChild;)i.appendChild(u.firstChild);i.removeChild(u)}t.insertBefore(i,n)}return[a?a.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},pr="transition",ns="animation",Ks=Symbol("_vtc"),Yf={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},Yy=ct({},gf,Yf),Qy=e=>(e.displayName="Transition",e.props=Yy,e),rs=Qy((e,{slots:t})=>Pt(ny,e4(e),t)),zr=(e,t=[])=>{Ee(e)?e.forEach(n=>n(...t)):e&&e(...t)},Md=e=>e?Ee(e)?e.some(t=>t.length>1):e.length>1:!1;function e4(e){const t={};for(const T in e)T in Yf||(t[T]=e[T]);if(e.css===!1)return t;const{name:n="v",type:r,duration:o,enterFromClass:s=`${n}-enter-from`,enterActiveClass:a=`${n}-enter-active`,enterToClass:i=`${n}-enter-to`,appearFromClass:u=s,appearActiveClass:c=a,appearToClass:l=i,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=e,g=t4(o),f=g&&g[0],m=g&&g[1],{onBeforeEnter:v,onEnter:y,onEnterCancelled:w,onLeave:C,onLeaveCancelled:x,onBeforeAppear:D=v,onAppear:$=y,onAppearCancelled:K=w}=t,U=(T,S,V,oe)=>{T._enterCancelled=oe,jr(T,S?l:i),jr(T,S?c:a),V&&V()},B=(T,S)=>{T._isLeaving=!1,jr(T,d),jr(T,h),jr(T,p),S&&S()},ne=T=>(S,V)=>{const oe=T?$:y,J=()=>U(S,T,V);zr(oe,[S,J]),zd(()=>{jr(S,T?u:s),Hn(S,T?l:i),Md(oe)||jd(S,r,f,J)})};return ct(t,{onBeforeEnter(T){zr(v,[T]),Hn(T,s),Hn(T,a)},onBeforeAppear(T){zr(D,[T]),Hn(T,u),Hn(T,c)},onEnter:ne(!1),onAppear:ne(!0),onLeave(T,S){T._isLeaving=!0;const V=()=>B(T,S);Hn(T,d),T._enterCancelled?(Hn(T,p),Vd(T)):(Vd(T),Hn(T,p)),zd(()=>{T._isLeaving&&(jr(T,d),Hn(T,h),Md(C)||jd(T,r,m,V))}),zr(C,[T,V])},onEnterCancelled(T){U(T,!1,void 0,!0),zr(w,[T])},onAppearCancelled(T){U(T,!0,void 0,!0),zr(K,[T])},onLeaveCancelled(T){B(T),zr(x,[T])}})}function t4(e){if(e==null)return null;if(Ie(e))return[wu(e.enter),wu(e.leave)];{const t=wu(e);return[t,t]}}function wu(e){return e1(e)}function Hn(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Ks]||(e[Ks]=new Set)).add(t)}function jr(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[Ks];n&&(n.delete(t),n.size||(e[Ks]=void 0))}function zd(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let n4=0;function jd(e,t,n,r){const o=e._endId=++n4,s=()=>{o===e._endId&&r()};if(n!=null)return setTimeout(s,n);const{type:a,timeout:i,propCount:u}=r4(e,t);if(!a)return r();const c=a+"end";let l=0;const d=()=>{e.removeEventListener(c,p),s()},p=h=>{h.target===e&&++l>=u&&d()};setTimeout(()=>{l(n[g]||"").split(", "),o=r(`${pr}Delay`),s=r(`${pr}Duration`),a=Ud(o,s),i=r(`${ns}Delay`),u=r(`${ns}Duration`),c=Ud(i,u);let l=null,d=0,p=0;t===pr?a>0&&(l=pr,d=a,p=s.length):t===ns?c>0&&(l=ns,d=c,p=u.length):(d=Math.max(a,c),l=d>0?a>c?pr:ns:null,p=l?l===pr?s.length:u.length:0);const h=l===pr&&/\b(?:transform|all)(?:,|$)/.test(r(`${pr}Property`).toString());return{type:l,timeout:d,propCount:p,hasTransform:h}}function Ud(e,t){for(;e.lengthHd(n)+Hd(e[r])))}function Hd(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Vd(e){return(e?e.ownerDocument:document).body.offsetHeight}function o4(e,t,n){const r=e[Ks];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const si=Symbol("_vod"),Qf=Symbol("_vsh"),Qn={name:"show",beforeMount(e,{value:t},{transition:n}){e[si]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):os(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),os(e,!0),r.enter(e)):r.leave(e,()=>{os(e,!1)}):os(e,t))},beforeUnmount(e,{value:t}){os(e,t)}};function os(e,t){e.style.display=t?e[si]:"none",e[Qf]=!t}const eg=Symbol("");function tg(e){const t=jn();if(!t)return;const n=t.ut=(o=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(s=>ai(s,o))},r=()=>{const o=e(t.proxy);t.ce?ai(t.ce,o):Sl(t.subTree,o),n(o)};_f(()=>{lf(r)}),An(()=>{tt(r,cn,{flush:"post"});const o=new MutationObserver(r);o.observe(t.subTree.el.parentNode,{childList:!0}),ir(()=>o.disconnect())})}function Sl(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{Sl(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)ai(e.el,t);else if(e.type===Ze)e.children.forEach(n=>Sl(n,t));else if(e.type===Ia){let{el:n,anchor:r}=e;for(;n&&(ai(n,t),n!==r);)n=n.nextSibling}}function ai(e,t){if(e.nodeType===1){const n=e.style;let r="";for(const o in t){const s=u1(t[o]);n.setProperty(`--${o}`,s),r+=`--${o}: ${s};`}n[eg]=r}}const s4=/(?:^|;)\s*display\s*:/;function a4(e,t,n){const r=e.style,o=qe(n);let s=!1;if(n&&!o){if(t)if(qe(t))for(const a of t.split(";")){const i=a.slice(0,a.indexOf(":")).trim();n[i]==null&&ys(r,i,"")}else for(const a in t)n[a]==null&&ys(r,a,"");for(const a in n){a==="display"&&(s=!0);const i=n[a];i!=null?u4(e,a,!qe(t)&&t?t[a]:void 0,i)||ys(r,a,i):ys(r,a,"")}}else if(o){if(t!==n){const a=r[eg];a&&(n+=";"+a),r.cssText=n,s=s4.test(n)}}else t&&e.removeAttribute("style");si in e&&(e[si]=s?r.display:"",e[Qf]&&(r.display="none"))}const Gd=/\s*!important$/;function ys(e,t,n){if(Ee(n))n.forEach(r=>ys(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=i4(e,t);Gd.test(n)?e.setProperty(lr(r),n.replace(Gd,""),"important"):e[r]=n}}const Wd=["Webkit","Moz","ms"],Cu={};function i4(e,t){const n=Cu[t];if(n)return n;let r=Lt(t);if(r!=="filter"&&r in e)return Cu[t]=r;r=Bi(r);for(let o=0;o_u||(f4.then(()=>_u=0),_u=Date.now());function m4(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;const o=n.value;if(Ee(o)){const s=r.stopImmediatePropagation;r.stopImmediatePropagation=()=>{s.call(r),r._stopped=!0};const a=o.slice(),i=[r];for(let u=0;ue.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,v4=(e,t,n,r,o,s)=>{const a=o==="svg";t==="class"?o4(e,r,a):t==="style"?a4(e,n,r):Ni(t)?Di(t)||c4(e,t,n,r,s):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):y4(e,t,r,a))?(Xd(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Kd(e,t,r,a,s,t!=="value")):e._isVueCE&&(b4(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!qe(r)))?Xd(e,Lt(t),r,s,t):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),Kd(e,t,r,a))};function y4(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&Jd(t)&&_e(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const o=e.tagName;if(o==="IMG"||o==="VIDEO"||o==="CANVAS"||o==="SOURCE")return!1}return Jd(t)&&qe(n)?!1:t in e}function b4(e,t){const n=e._def.props;if(!n)return!1;const r=Lt(t);return Array.isArray(n)?n.some(o=>Lt(o)===r):Object.keys(n).some(o=>Lt(o)===r)}const Yd=e=>{const t=e.props["onUpdate:modelValue"]||!1;return Ee(t)?n=>La(t,n):t};function E4(e){e.target.composing=!0}function Qd(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const ka=Symbol("_assign"),Ta=Symbol("_initialValue");function xu(e,t,n){return t&&(e=e.trim()),n&&(e=dc(e)),e}const w4={created(e,{modifiers:{lazy:t,trim:n,number:r}},o){e.parentNode&&(e.type==="text"?e[Ta]=e.defaultValue.replace(/[\r\n]/g,""):e.type==="textarea"&&(e[Ta]=e.defaultValue.replace(/\r\n?/g,` +`))),e[ka]=Yd(o);const s=r||o.props&&o.props.type==="number";_o(e,t?"change":"input",a=>{a.target.composing||e[ka](xu(e.value,n,s))}),(n||s)&&_o(e,"change",()=>{e.value=xu(e.value,n,s)}),t||(_o(e,"compositionstart",E4),_o(e,"compositionend",Qd),_o(e,"change",Qd))},mounted(e,{value:t,modifiers:{trim:n,number:r}}){const o=t??"",s=e[Ta];delete e[Ta],s!==void 0&&(e.type==="text"||e.type==="textarea")&&e.value!==s?e[ka](xu(e.value,n,r)):e.value=o},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:o,number:s}},a){if(e[ka]=Yd(a),e.composing)return;const i=(s||e.type==="number")&&!/^0\d/.test(e.value)?dc(e.value):e.value,u=t??"";if(i===u)return;const c=e.getRootNode();(c instanceof Document||c instanceof ShadowRoot)&&c.activeElement===e&&e.type!=="range"&&(r&&t===n||o&&e.value.trim()===u)||(e.value=u)}},C4=["ctrl","shift","alt","meta"],_4={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>C4.some(n=>e[`${n}Key`]&&!t.includes(n))},yn=(e,t)=>{if(!e)return e;const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=((o,...s)=>{for(let a=0;a{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=(o=>{if(!("key"in o))return;const s=lr(o.key);if(t.some(a=>a===s||x4[a]===s))return e(o)}))},A4=ct({patchProp:v4},Jy);let ep;function S4(){return ep||(ep=By(A4))}const k4=((...e)=>{const t=S4().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=N4(r);if(!o)return;const s=t._component;!_e(s)&&!s.render&&!s.template&&(s.template=o.innerHTML),o.nodeType===1&&(o.textContent="");const a=n(o,!1,T4(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),a},t});function T4(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function N4(e){return qe(e)?document.querySelector(e):e}function ng(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function D4(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&ng(e.default)}const ze=Object.assign;function Au(e,t){const n={};for(const r in t){const o=t[r];n[r]=xn(o)?o.map(e):e(o)}return n}const Ts=()=>{},xn=Array.isArray;function tp(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}const rg=Symbol("");function Mo(e,t){return ze(new Error,{type:e,[rg]:!0},t)}function Vn(e,t){return e instanceof Error&&rg in e&&(t==null||!!(e.type&t))}const O4=Symbol(""),np=Symbol(""),ca=Symbol(""),Cc=Symbol(""),kl=Symbol("");function P4(){return st(ca)}function B4(e){return st(Cc)}const xo=typeof document<"u",og=/#/g,$4=/&/g,R4=/\//g,F4=/=/g,L4=/\?/g,sg=/\+/g,I4=/%5B/g,M4=/%5D/g,ag=/%5E/g,z4=/%60/g,ig=/%7B/g,j4=/%7C/g,ug=/%7D/g,U4=/%20/g;function _c(e){return e==null?"":encodeURI(""+e).replace(j4,"|").replace(I4,"[").replace(M4,"]")}function H4(e){return _c(e).replace(ig,"{").replace(ug,"}").replace(ag,"^")}function Tl(e){return _c(e).replace(sg,"%2B").replace(U4,"+").replace(og,"%23").replace($4,"%26").replace(z4,"`").replace(ig,"{").replace(ug,"}").replace(ag,"^")}function V4(e){return Tl(e).replace(F4,"%3D")}function G4(e){return _c(e).replace(og,"%23").replace(L4,"%3F")}function W4(e){return G4(e).replace(R4,"%2F")}function ii(e){if(e==null)return null;try{return decodeURIComponent(""+e)}catch{}return""+e}const q4=/\/$/,K4=e=>e.replace(q4,"");function Su(e,t,n="/"){let r,o={},s="",a="";const i=t.indexOf("#");let u=t.indexOf("?");return u=i>=0&&u>i?-1:u,u>=0&&(r=t.slice(0,u),s=t.slice(u,i>0?i:t.length),o=e(s.slice(1))),i>=0&&(r=r||t.slice(0,i),a=t.slice(i,t.length)),r=Y4(r??t,n),{fullPath:r+s+a,path:r,query:o,hash:ii(a)}}function X4(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function rp(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Z4(e,t,n){const r=t.matched.length-1,o=n.matched.length-1;return r>-1&&r===o&&zo(t.matched[r],n.matched[o])&&lg(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function zo(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function lg(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(!J4(e[n],t[n]))return!1;return!0}function J4(e,t){return xn(e)?op(e,t):xn(t)?op(t,e):(e&&e.valueOf())===(t&&t.valueOf())}function op(e,t){return xn(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function Y4(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),o=r[r.length-1];(o===".."||o===".")&&r.push("");let s=n.length-1,a,i;for(a=0;a1&&s--;else break;return n.slice(0,s).join("/")+"/"+r.slice(a).join("/")}const hr={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};function Q4(e){if(!e)if(xo){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),K4(e)}const e3=/^[^#]+#/;function t3(e,t){return e.replace(e3,"#")+t}function n3(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const Xi=()=>({left:window.scrollX,top:window.scrollY});function r3(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),o=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;t=n3(o,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function sp(e,t){return(history.state?history.state.position-t:-1)+e}const Nl=new Map;function o3(e,t){Nl.set(e,t)}function s3(e){const t=Nl.get(e);return Nl.delete(e),t}function a3(e){return typeof e=="string"||e&&typeof e=="object"}function cg(e){return typeof e=="string"||typeof e=="symbol"}function i3(e){const t={};if(e===""||e==="?")return t;const n=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;ro&&Tl(o)):[r&&Tl(r)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function u3(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=xn(r)?r.map(o=>o==null?null:""+o):r==null?r:""+r)}return t}function ss(){let e=[];function t(r){return e.push(r),()=>{const o=e.indexOf(r);o>-1&&e.splice(o,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Er(e,t,n,r,o,s=a=>a()){const a=r&&(r.enterCallbacks[o]=r.enterCallbacks[o]||[]);return()=>new Promise((i,u)=>{const c=p=>{p===!1?u(Mo(4,{from:n,to:t})):p instanceof Error?u(p):a3(p)?u(Mo(2,{from:t,to:p})):(a&&r.enterCallbacks[o]===a&&typeof p=="function"&&a.push(p),i())},l=s(()=>e.call(r&&r.instances[o],t,n,c));let d=Promise.resolve(l);e.length<3&&(d=d.then(c)),d.catch(p=>u(p))})}function ku(e,t,n,r,o=s=>s()){const s=[];for(const a of e)for(const i in a.components){let u=a.components[i];if(!(t!=="beforeRouteEnter"&&!a.instances[i]))if(ng(u)){const c=(u.__vccOpts||u)[t];c&&s.push(Er(c,n,r,a,i,o))}else{let c=u();s.push(()=>c.then(l=>{if(!l)throw new Error(`Couldn't resolve component "${i}" at "${a.path}"`);const d=D4(l)?l.default:l;a.mods[i]=l,a.components[i]=d;const p=(d.__vccOpts||d)[t];return p&&Er(p,n,r,a,i,o)()}))}}return s}function l3(e,t){const n=[],r=[],o=[],s=Math.max(t.matched.length,e.matched.length);for(let a=0;azo(c,i))?r.push(i):n.push(i));const u=e.matched[a];u&&(t.matched.find(c=>zo(c,u))||o.push(u))}return[n,r,o]}let c3=()=>location.protocol+"//"+location.host;function dg(e,t){const{pathname:n,search:r,hash:o}=t,s=e.indexOf("#");if(s>-1){let a=o.includes(e.slice(s))?e.slice(s).length:1,i=o.slice(a);return i[0]!=="/"&&(i="/"+i),rp(i,"")}return rp(n,e)+r+o}function d3(e,t,n,r){let o=[],s=[],a=null;const i=({state:p})=>{const h=dg(e,location),g=n.value,f=t.value;let m=0;if(p){if(n.value=h,t.value=p,a&&a===g){a=null;return}m=f?p.position-f.position:0}else r(h);o.forEach(v=>{v(n.value,g,{delta:m,type:"pop",direction:m?m>0?"forward":"back":""})})};function u(){a=n.value}function c(p){o.push(p);const h=()=>{const g=o.indexOf(p);g>-1&&o.splice(g,1)};return s.push(h),h}function l(){if(document.visibilityState==="hidden"){const{history:p}=window;if(!p.state)return;p.replaceState(ze({},p.state,{scroll:Xi()}),"")}}function d(){for(const p of s)p();s=[],window.removeEventListener("popstate",i),window.removeEventListener("pagehide",l),document.removeEventListener("visibilitychange",l)}return window.addEventListener("popstate",i),window.addEventListener("pagehide",l),document.addEventListener("visibilitychange",l),{pauseListeners:u,listen:c,destroy:d}}function ip(e,t,n,r=!1,o=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:o?Xi():null}}function p3(e){const{history:t,location:n}=window,r={value:dg(e,n)},o={value:t.state};o.value||s(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function s(u,c,l){const d=e.indexOf("#"),p=d>-1?(n.host&&document.querySelector("base")?e:e.slice(d))+u:c3()+e+u;try{t[l?"replaceState":"pushState"](c,"",p),o.value=c}catch(h){console.error(h),n[l?"replace":"assign"](p)}}function a(u,c){s(u,ze({},t.state,ip(o.value.back,u,o.value.forward,!0),c,{position:o.value.position}),!0),r.value=u}function i(u,c){const l=ze({},o.value,t.state,{forward:u,scroll:Xi()});s(l.current,l,!0),s(u,ze({},ip(r.value,u,null),{position:l.position+1},c),!1),r.value=u}return{location:r,state:o,push:i,replace:a}}function h3(e){e=Q4(e);const t=p3(e),n=d3(e,t.state,t.location,t.replace);function r(s,a=!0){a||n.pauseListeners(),history.go(s)}const o=ze({location:"",base:e,go:r,createHref:t3.bind(null,e)},t,n);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}const f3={type:0,value:""},g3=/[a-zA-Z0-9_]/;function m3(e){if(!e)return[[]];if(e==="/")return[[f3]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(h){throw new Error(`ERR (${n})/"${c}": ${h}`)}let n=0,r=n;const o=[];let s;function a(){s&&o.push(s),s=[]}let i=0,u,c="",l="";function d(){c&&(n===0?s.push({type:0,value:c}):n===1||n===2||n===3?(s.length>1&&(u==="*"||u==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),s.push({type:1,value:c,regexp:l,repeatable:u==="*"||u==="+",optional:u==="*"||u==="?"})):t("Invalid state to consume buffer"),c="")}function p(){c+=u}for(;it.length?t.length===1&&t[0]===80?1:-1:0}function pg(e,t){let n=0;const r=e.score,o=t.score;for(;n0&&t[t.length-1]<0}const w3={strict:!1,end:!0,sensitive:!1};function C3(e,t,n){const r=b3(m3(e.path),n),o=ze(r,{record:e,parent:t,children:[],alias:[]});return t&&!o.record.aliasOf==!t.record.aliasOf&&t.children.push(o),o}function _3(e,t){const n=[],r=new Map;t=tp(w3,t);function o(d){return r.get(d)}function s(d,p,h){const g=!h,f=dp(d);f.aliasOf=h&&h.record;const m=tp(t,d),v=[f];if("alias"in d){const C=typeof d.alias=="string"?[d.alias]:d.alias;for(const x of C)v.push(dp(ze({},f,{components:h?h.record.components:f.components,path:x,aliasOf:h?h.record:f})))}let y,w;for(const C of v){const{path:x}=C;if(p&&x[0]!=="/"){const D=p.record.path,$=D[D.length-1]==="/"?"":"/";C.path=p.record.path+(x&&$+x)}if(y=C3(C,p,m),h?h.alias.push(y):(w=w||y,w!==y&&w.alias.push(y),g&&d.name&&!pp(y)&&a(d.name)),hg(y)&&u(y),f.children){const D=f.children;for(let $=0;${a(w)}:Ts}function a(d){if(cg(d)){const p=r.get(d);p&&(r.delete(d),n.splice(n.indexOf(p),1),p.children.forEach(a),p.alias.forEach(a))}else{const p=n.indexOf(d);p>-1&&(n.splice(p,1),d.record.name&&r.delete(d.record.name),d.children.forEach(a),d.alias.forEach(a))}}function i(){return n}function u(d){const p=S3(d,n);n.splice(p,0,d),d.record.name&&!pp(d)&&r.set(d.record.name,d)}function c(d,p){let h,g={},f,m;if("name"in d&&d.name){if(h=r.get(d.name),!h)throw Mo(1,{location:d});m=h.record.name,g=ze(cp(p.params,h.keys.filter(w=>!w.optional).concat(h.parent?h.parent.keys.filter(w=>w.optional):[]).map(w=>w.name)),d.params&&cp(d.params,h.keys.map(w=>w.name))),f=h.stringify(g)}else if(d.path!=null)f=d.path,h=n.find(w=>w.re.test(f)),h&&(g=h.parse(f),m=h.record.name,h.keys.forEach(w=>{w.optional&&!g[w.name]&&delete g[w.name]}));else{if(h=p.name?r.get(p.name):n.find(w=>w.re.test(p.path)),!h)throw Mo(1,{location:d,currentLocation:p});m=h.record.name,g=ze({},p.params,d.params),f=h.stringify(g)}const v=[];let y=h;for(;y;)v.unshift(y.record),y=y.parent;return{name:m,path:f,params:g,matched:v,meta:A3(v)}}e.forEach(d=>s(d));function l(){n.length=0,r.clear()}return{addRoute:s,resolve:c,removeRoute:a,clearRoutes:l,getRoutes:i,getRecordMatcher:o}}function cp(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function dp(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:x3(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function x3(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="object"?n[r]:n;return t}function pp(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function A3(e){return e.reduce((t,n)=>ze(t,n.meta),{})}function S3(e,t){let n=0,r=t.length;for(;n!==r;){const s=n+r>>1;pg(e,t[s])<0?r=s:n=s+1}const o=k3(e);return o&&(r=t.lastIndexOf(o,r-1)),r}function k3(e){let t=e;for(;t=t.parent;)if(hg(t)&&pg(e,t)===0)return t}function hg({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function hp(e){const t=st(ca),n=st(Cc),r=re(()=>{const u=M(e.to);return t.resolve(u)}),o=re(()=>{const{matched:u}=r.value,{length:c}=u,l=u[c-1],d=n.matched;if(!l||!d.length)return-1;const p=d.findIndex(zo.bind(null,l));if(p>-1)return p;const h=fp(u[c-2]);return c>1&&fp(l)===h&&d[d.length-1].path!==h?d.findIndex(zo.bind(null,u[c-2])):p}),s=re(()=>o.value>-1&&O3(n.params,r.value.params)),a=re(()=>o.value>-1&&o.value===n.matched.length-1&&lg(n.params,r.value.params));function i(u={}){if(D3(u)){const c=t[M(e.replace)?"replace":"push"](M(e.to)).catch(Ts);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>c),c}return Promise.resolve()}return{route:r,href:re(()=>r.value.href),isActive:s,isExactActive:a,navigate:i}}function T3(e){return e.length===1?e[0]:e}const N3=Ve({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"},viewTransition:Boolean},useLink:hp,setup(e,{slots:t}){const n=Lo(hp(e)),{options:r}=st(ca),o=re(()=>({[gp(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[gp(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const s=t.default&&T3(t.default(n));return e.custom?s:Pt("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},s)}}});function D3(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function O3(e,t){for(const n in t){const r=t[n],o=e[n];if(typeof r=="string"){if(r!==o)return!1}else if(!xn(o)||o.length!==r.length||r.some((s,a)=>s.valueOf()!==o[a].valueOf()))return!1}return!0}function fp(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const gp=(e,t,n)=>e??t??n,P3=Ve({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=st(kl),o=re(()=>e.route||r.value),s=st(np,0),a=re(()=>{let c=M(s);const{matched:l}=o.value;let d;for(;(d=l[c])&&!d.components;)c++;return c}),i=re(()=>o.value.matched[a.value]);Xt(np,re(()=>a.value+1)),Xt(O4,i),Xt(kl,o);const u=xe();return tt(()=>[u.value,i.value,e.name],([c,l,d],[p,h,g])=>{l&&(l.instances[d]=c,h&&h!==l&&c&&c===p&&(l.leaveGuards.size||(l.leaveGuards=h.leaveGuards),l.updateGuards.size||(l.updateGuards=h.updateGuards))),c&&l&&(!h||!zo(l,h)||!p)&&(l.enterCallbacks[d]||[]).forEach(f=>f(c))},{flush:"post"}),()=>{const c=o.value,l=e.name,d=i.value,p=d&&d.components[l];if(!p)return mp(n.default,{Component:p,route:c});const h=d.props[l],g=h?h===!0?c.params:typeof h=="function"?h(c):h:null,f=Pt(p,ze({},g,t,{onVnodeUnmounted:m=>{m.component.isUnmounted&&(d.instances[l]=null)},ref:u}));return mp(n.default,{Component:f,route:c})||f}}});function mp(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const fg=P3;function B3(e){const t=_3(e.routes,e),n=e.parseQuery||i3,r=e.stringifyQuery||ap,o=e.history,s=ss(),a=ss(),i=ss(),u=ar(hr);let c=hr;xo&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const l=Au.bind(null,A=>""+A),d=Au.bind(null,W4),p=Au.bind(null,ii);function h(A,F){let L,j;return cg(A)?(L=t.getRecordMatcher(A),j=F):j=A,t.addRoute(j,L)}function g(A){const F=t.getRecordMatcher(A);F&&t.removeRoute(F)}function f(){return t.getRoutes().map(A=>A.record)}function m(A){return!!t.getRecordMatcher(A)}function v(A,F){if(F=ze({},F||u.value),typeof A=="string"){const O=Su(n,A,F.path),I=t.resolve({path:O.path},F),P=o.createHref(O.fullPath);return ze(O,I,{params:p(I.params),redirectedFrom:void 0,href:P})}let L;if(A.path!=null)L=ze({},A,{path:Su(n,A.path,F.path).path});else{const O=ze({},A.params);for(const I in O)O[I]==null&&delete O[I];L=ze({},A,{params:d(O)}),F.params=d(F.params)}const j=t.resolve(L,F),b=A.hash||"";j.params=l(p(j.params));const _=X4(r,ze({},A,{hash:H4(b),path:j.path})),k=o.createHref(_);return ze({fullPath:_,hash:b,query:r===ap?u3(A.query):A.query||{}},j,{redirectedFrom:void 0,href:k})}function y(A){return typeof A=="string"?Su(n,A,u.value.path):ze({},A)}function w(A,F){if(c!==A)return Mo(8,{from:F,to:A})}function C(A){return $(A)}function x(A){return C(ze(y(A),{replace:!0}))}function D(A,F){const L=A.matched[A.matched.length-1];if(L&&L.redirect){const{redirect:j}=L;let b=typeof j=="function"?j(A,F):j;return typeof b=="string"&&(b=b.includes("?")||b.includes("#")?b=y(b):{path:b},b.params={}),ze({query:A.query,hash:A.hash,params:b.path!=null?{}:A.params},b)}}function $(A,F){const L=c=v(A),j=u.value,b=A.state,_=A.force,k=A.replace===!0,O=D(L,j);if(O)return $(ze(y(O),{state:typeof O=="object"?ze({},b,O.state):b,force:_,replace:k}),F||L);const I=L;I.redirectedFrom=F;let P;return!_&&Z4(r,j,L)&&(P=Mo(16,{to:I,from:j}),se(j,j,!0,!1)),(P?Promise.resolve(P):B(I,j)).catch(W=>Vn(W)?Vn(W,2)?W:X(W):te(W,I,j)).then(W=>{if(W){if(Vn(W,2))return $(ze({replace:k},y(W.to),{state:typeof W.to=="object"?ze({},b,W.to.state):b,force:_}),F||I)}else W=T(I,j,!0,k,b);return ne(I,j,W),W})}function K(A,F){const L=w(A,F);return L?Promise.reject(L):Promise.resolve()}function U(A){const F=Ge.values().next().value;return F&&typeof F.runWithContext=="function"?F.runWithContext(A):A()}function B(A,F){let L;const[j,b,_]=l3(A,F);L=ku(j.reverse(),"beforeRouteLeave",A,F);for(const O of j)O.leaveGuards.forEach(I=>{L.push(Er(I,A,F))});const k=K.bind(null,A,F);return L.push(k),me(L).then(()=>{L=[];for(const O of s.list())L.push(Er(O,A,F));return L.push(k),me(L)}).then(()=>{L=ku(b,"beforeRouteUpdate",A,F);for(const O of b)O.updateGuards.forEach(I=>{L.push(Er(I,A,F))});return L.push(k),me(L)}).then(()=>{L=[];for(const O of _)if(O.beforeEnter)if(xn(O.beforeEnter))for(const I of O.beforeEnter)L.push(Er(I,A,F));else L.push(Er(O.beforeEnter,A,F));return L.push(k),me(L)}).then(()=>(A.matched.forEach(O=>O.enterCallbacks={}),L=ku(_,"beforeRouteEnter",A,F,U),L.push(k),me(L))).then(()=>{L=[];for(const O of a.list())L.push(Er(O,A,F));return L.push(k),me(L)}).catch(O=>Vn(O,8)?O:Promise.reject(O))}function ne(A,F,L){i.list().forEach(j=>U(()=>j(A,F,L)))}function T(A,F,L,j,b){const _=w(A,F);if(_)return _;const k=F===hr,O=xo?history.state:{};L&&(j||k?o.replace(A.fullPath,ze({scroll:k&&O&&O.scroll},b)):o.push(A.fullPath,b)),u.value=A,se(A,F,L,k),X()}let S;function V(){S||(S=o.listen((A,F,L)=>{if(!ke.listening)return;const j=v(A),b=D(j,ke.currentRoute.value);if(b){$(ze(b,{replace:!0,force:!0}),j).catch(Ts);return}c=j;const _=u.value;xo&&o3(sp(_.fullPath,L.delta),Xi()),B(j,_).catch(k=>Vn(k,12)?k:Vn(k,2)?($(ze(y(k.to),{force:!0}),j).then(O=>{Vn(O,20)&&!L.delta&&L.type==="pop"&&o.go(-1,!1)}).catch(Ts),Promise.reject()):(L.delta&&o.go(-L.delta,!1),te(k,j,_))).then(k=>{k=k||T(j,_,!1),k&&(L.delta&&!Vn(k,8)?o.go(-L.delta,!1):L.type==="pop"&&Vn(k,20)&&o.go(-1,!1)),ne(j,_,k)}).catch(Ts)}))}let oe=ss(),J=ss(),Q;function te(A,F,L){X(A);const j=J.list();return j.length?j.forEach(b=>b(A,F,L)):console.error(A),Promise.reject(A)}function pe(){return Q&&u.value!==hr?Promise.resolve():new Promise((A,F)=>{oe.add([A,F])})}function X(A){return Q||(Q=!A,V(),oe.list().forEach(([F,L])=>A?L(A):F()),oe.reset()),A}function se(A,F,L,j){const{scrollBehavior:b}=e;if(!xo||!b)return Promise.resolve();const _=!L&&s3(sp(A.fullPath,0))||(j||!L)&&history.state&&history.state.scroll||null;return wn().then(()=>b(A,F,_)).then(k=>A===u.value&&k&&r3(k)).catch(k=>A===u.value&&te(k,A,F))}const G=A=>o.go(A);let Ae;const Ge=new Set,ke={currentRoute:u,listening:!0,addRoute:h,removeRoute:g,clearRoutes:t.clearRoutes,hasRoute:m,getRoutes:f,resolve:v,options:e,push:C,replace:x,go:G,back:()=>G(-1),forward:()=>G(1),beforeEach:s.add,beforeResolve:a.add,afterEach:i.add,onError:J.add,isReady:pe,install(A){A.component("RouterLink",N3),A.component("RouterView",fg),A.config.globalProperties.$router=ke,Object.defineProperty(A.config.globalProperties,"$route",{enumerable:!0,get:()=>M(u)}),xo&&!Ae&&u.value===hr&&(Ae=!0,C(o.location).catch(j=>{}));const F={};for(const j in hr)Object.defineProperty(F,j,{get:()=>u.value[j],enumerable:!0});A.provide(ca,ke),A.provide(Cc,rf(F)),A.provide(kl,u);const L=A.unmount;Ge.add(A),A.unmount=function(){Ge.delete(A),Ge.size<1&&(c=hr,S&&S(),S=null,u.value=hr,Ae=!1,Q=!1),L()}}};function me(A){return A.reduce((F,L)=>F.then(()=>U(L)),Promise.resolve())}return ke}const $3=Ve({__name:"App",setup(e){return(t,n)=>(R(),ge(M(fg)))}}),R3=e=>"/remote.php/"+e,F3=(e,t)=>mg()+R3(e),gg=(e,t,n)=>{const r=Object.assign({ocsVersion:2},{}).ocsVersion===1?1:2;return mg()+"/ocs/v"+r+".php"+Dl(e,t)},Dl=(e,t,n)=>{const r=Object.assign({escape:!0},{}),o=function(s,a){return a=a||{},s.replace(/{([^{}]*)}/g,function(i,u){const c=a[u];return r.escape?encodeURIComponent(typeof c=="string"||typeof c=="number"?c.toString():i):typeof c=="string"||typeof c=="number"?c.toString():i})};return e.charAt(0)!=="/"&&(e="/"+e),o(e,t||{})},_r=(e,t,n)=>{const r=Object.assign({noRewrite:!1},{}),o=vg();return window?.OC?.config?.modRewriteWorking===!0&&!r.noRewrite?o+Dl(e,t):o+"/index.php"+Dl(e,t)},mg=()=>window.location.protocol+"//"+window.location.host+vg();function vg(){let e=window._oc_webroot;if(typeof e>"u"){e=location.pathname;const t=e.indexOf("/index.php/");if(t!==-1)e=e.slice(0,t);else{const n=e.indexOf("/",1);e=e.slice(0,n>0?n:void 0)}}return e}function xc(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function L3(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var yg={exports:{}},it=yg.exports={},Bn,$n;function Ol(){throw new Error("setTimeout has not been defined")}function Pl(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?Bn=setTimeout:Bn=Ol}catch{Bn=Ol}try{typeof clearTimeout=="function"?$n=clearTimeout:$n=Pl}catch{$n=Pl}})();function bg(e){if(Bn===setTimeout)return setTimeout(e,0);if((Bn===Ol||!Bn)&&setTimeout)return Bn=setTimeout,setTimeout(e,0);try{return Bn(e,0)}catch{try{return Bn.call(null,e,0)}catch{return Bn.call(this,e,0)}}}function I3(e){if($n===clearTimeout)return clearTimeout(e);if(($n===Pl||!$n)&&clearTimeout)return $n=clearTimeout,clearTimeout(e);try{return $n(e)}catch{try{return $n.call(null,e)}catch{return $n.call(this,e)}}}var er=[],Bo=!1,Jr,za=-1;function M3(){!Bo||!Jr||(Bo=!1,Jr.length?er=Jr.concat(er):za=-1,er.length&&Eg())}function Eg(){if(!Bo){var e=bg(M3);Bo=!0;for(var t=er.length;t;){for(Jr=er,er=[];++za1)for(var n=1;nconsole.error("SEMVER",...t):()=>{},Tu}var Nu,yp;function _g(){if(yp)return Nu;yp=1;const e="2.0.0",t=256,n=Number.MAX_SAFE_INTEGER||9007199254740991,r=16,o=t-6;return Nu={MAX_LENGTH:t,MAX_SAFE_COMPONENT_LENGTH:r,MAX_SAFE_BUILD_LENGTH:o,MAX_SAFE_INTEGER:n,RELEASE_TYPES:["major","premajor","minor","preminor","patch","prepatch","prerelease"],SEMVER_SPEC_VERSION:e,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2},Nu}var Du={exports:{}},bp;function j3(){return bp||(bp=1,(function(e,t){const{MAX_SAFE_COMPONENT_LENGTH:n,MAX_SAFE_BUILD_LENGTH:r,MAX_LENGTH:o}=_g(),s=Cg();t=e.exports={};const a=t.re=[],i=t.safeRe=[],u=t.src=[],c=t.safeSrc=[],l=t.t={};let d=0;const p="[a-zA-Z0-9-]",h=[["\\s",1],["\\d",o],[p,r]],g=m=>{for(const[v,y]of h)m=m.split(`${v}*`).join(`${v}{0,${y}}`).split(`${v}+`).join(`${v}{1,${y}}`);return m},f=(m,v,y)=>{const w=g(v),C=d++;s(m,C,v),l[m]=C,u[C]=v,c[C]=w,a[C]=new RegExp(v,y?"g":void 0),i[C]=new RegExp(w,y?"g":void 0)};f("NUMERICIDENTIFIER","0|[1-9]\\d*"),f("NUMERICIDENTIFIERLOOSE","\\d+"),f("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${p}*`),f("MAINVERSION",`(${u[l.NUMERICIDENTIFIER]})\\.(${u[l.NUMERICIDENTIFIER]})\\.(${u[l.NUMERICIDENTIFIER]})`),f("MAINVERSIONLOOSE",`(${u[l.NUMERICIDENTIFIERLOOSE]})\\.(${u[l.NUMERICIDENTIFIERLOOSE]})\\.(${u[l.NUMERICIDENTIFIERLOOSE]})`),f("PRERELEASEIDENTIFIER",`(?:${u[l.NONNUMERICIDENTIFIER]}|${u[l.NUMERICIDENTIFIER]})`),f("PRERELEASEIDENTIFIERLOOSE",`(?:${u[l.NONNUMERICIDENTIFIER]}|${u[l.NUMERICIDENTIFIERLOOSE]})`),f("PRERELEASE",`(?:-(${u[l.PRERELEASEIDENTIFIER]}(?:\\.${u[l.PRERELEASEIDENTIFIER]})*))`),f("PRERELEASELOOSE",`(?:-?(${u[l.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${u[l.PRERELEASEIDENTIFIERLOOSE]})*))`),f("BUILDIDENTIFIER",`${p}+`),f("BUILD",`(?:\\+(${u[l.BUILDIDENTIFIER]}(?:\\.${u[l.BUILDIDENTIFIER]})*))`),f("FULLPLAIN",`v?${u[l.MAINVERSION]}${u[l.PRERELEASE]}?${u[l.BUILD]}?`),f("FULL",`^${u[l.FULLPLAIN]}$`),f("LOOSEPLAIN",`[v=\\s]*${u[l.MAINVERSIONLOOSE]}${u[l.PRERELEASELOOSE]}?${u[l.BUILD]}?`),f("LOOSE",`^${u[l.LOOSEPLAIN]}$`),f("GTLT","((?:<|>)?=?)"),f("XRANGEIDENTIFIERLOOSE",`${u[l.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),f("XRANGEIDENTIFIER",`${u[l.NUMERICIDENTIFIER]}|x|X|\\*`),f("XRANGEPLAIN",`[v=\\s]*(${u[l.XRANGEIDENTIFIER]})(?:\\.(${u[l.XRANGEIDENTIFIER]})(?:\\.(${u[l.XRANGEIDENTIFIER]})(?:${u[l.PRERELEASE]})?${u[l.BUILD]}?)?)?`),f("XRANGEPLAINLOOSE",`[v=\\s]*(${u[l.XRANGEIDENTIFIERLOOSE]})(?:\\.(${u[l.XRANGEIDENTIFIERLOOSE]})(?:\\.(${u[l.XRANGEIDENTIFIERLOOSE]})(?:${u[l.PRERELEASELOOSE]})?${u[l.BUILD]}?)?)?`),f("XRANGE",`^${u[l.GTLT]}\\s*${u[l.XRANGEPLAIN]}$`),f("XRANGELOOSE",`^${u[l.GTLT]}\\s*${u[l.XRANGEPLAINLOOSE]}$`),f("COERCEPLAIN",`(^|[^\\d])(\\d{1,${n}})(?:\\.(\\d{1,${n}}))?(?:\\.(\\d{1,${n}}))?`),f("COERCE",`${u[l.COERCEPLAIN]}(?:$|[^\\d])`),f("COERCEFULL",u[l.COERCEPLAIN]+`(?:${u[l.PRERELEASE]})?(?:${u[l.BUILD]})?(?:$|[^\\d])`),f("COERCERTL",u[l.COERCE],!0),f("COERCERTLFULL",u[l.COERCEFULL],!0),f("LONETILDE","(?:~>?)"),f("TILDETRIM",`(\\s*)${u[l.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",f("TILDE",`^${u[l.LONETILDE]}${u[l.XRANGEPLAIN]}$`),f("TILDELOOSE",`^${u[l.LONETILDE]}${u[l.XRANGEPLAINLOOSE]}$`),f("LONECARET","(?:\\^)"),f("CARETTRIM",`(\\s*)${u[l.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",f("CARET",`^${u[l.LONECARET]}${u[l.XRANGEPLAIN]}$`),f("CARETLOOSE",`^${u[l.LONECARET]}${u[l.XRANGEPLAINLOOSE]}$`),f("COMPARATORLOOSE",`^${u[l.GTLT]}\\s*(${u[l.LOOSEPLAIN]})$|^$`),f("COMPARATOR",`^${u[l.GTLT]}\\s*(${u[l.FULLPLAIN]})$|^$`),f("COMPARATORTRIM",`(\\s*)${u[l.GTLT]}\\s*(${u[l.LOOSEPLAIN]}|${u[l.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",f("HYPHENRANGE",`^\\s*(${u[l.XRANGEPLAIN]})\\s+-\\s+(${u[l.XRANGEPLAIN]})\\s*$`),f("HYPHENRANGELOOSE",`^\\s*(${u[l.XRANGEPLAINLOOSE]})\\s+-\\s+(${u[l.XRANGEPLAINLOOSE]})\\s*$`),f("STAR","(<|>)?=?\\s*\\*"),f("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),f("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")})(Du,Du.exports)),Du.exports}var Ou,Ep;function U3(){if(Ep)return Ou;Ep=1;const e=Object.freeze({loose:!0}),t=Object.freeze({});return Ou=n=>n?typeof n!="object"?e:n:t,Ou}var Pu,wp;function H3(){if(wp)return Pu;wp=1;const e=/^[0-9]+$/,t=(n,r)=>{if(typeof n=="number"&&typeof r=="number")return n===r?0:nt(r,n)},Pu}var Bu,Cp;function xg(){if(Cp)return Bu;Cp=1;const e=Cg(),{MAX_LENGTH:t,MAX_SAFE_INTEGER:n}=_g(),{safeRe:r,t:o}=j3(),s=U3(),{compareIdentifiers:a}=H3(),i=(c,l)=>{const d=l.split(".");if(d.length>c.length)return!1;for(let p=0;pt)throw new TypeError(`version is longer than ${t} characters`);e("SemVer",l,d),this.options=d,this.loose=!!d.loose,this.includePrerelease=!!d.includePrerelease;const p=l.trim().match(d.loose?r[o.LOOSE]:r[o.FULL]);if(!p)throw new TypeError(`Invalid Version: ${l}`);if(this.raw=l,this.major=+p[1],this.minor=+p[2],this.patch=+p[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");p[4]?this.prerelease=p[4].split(".").map(h=>{if(/^[0-9]+$/.test(h)){const g=+h;if(g>=0&&gl.major?1:this.minorl.minor?1:this.patchl.patch?1:0}comparePre(l){if(l instanceof u||(l=new u(l,this.options)),this.prerelease.length&&!l.prerelease.length)return-1;if(!this.prerelease.length&&l.prerelease.length)return 1;if(!this.prerelease.length&&!l.prerelease.length)return 0;let d=0;do{const p=this.prerelease[d],h=l.prerelease[d];if(e("prerelease compare",d,p,h),p===void 0&&h===void 0)return 0;if(h===void 0)return 1;if(p===void 0)return-1;if(p!==h)return a(p,h)}while(++d)}compareBuild(l){l instanceof u||(l=new u(l,this.options));let d=0;do{const p=this.build[d],h=l.build[d];if(e("build compare",d,p,h),p===void 0&&h===void 0)return 0;if(h===void 0)return 1;if(p===void 0)return-1;if(p!==h)return a(p,h)}while(++d)}inc(l,d,p){if(l.startsWith("pre")){if(!d&&p===!1)throw new Error("invalid increment argument: identifier is empty");if(d){const h=`-${d}`.match(this.options.loose?r[o.PRERELEASELOOSE]:r[o.PRERELEASE]);if(!h||h[1]!==d)throw new Error(`invalid identifier: ${d}`)}}switch(l){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",d,p);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",d,p);break;case"prepatch":this.prerelease.length=0,this.inc("patch",d,p),this.inc("pre",d,p);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",d,p),this.inc("pre",d,p);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 h=Number(p)?1:0;if(this.prerelease.length===0)this.prerelease=[h];else{let g=this.prerelease.length;for(;--g>=0;)typeof this.prerelease[g]=="number"&&(this.prerelease[g]++,g=-2);if(g===-1){if(d===this.prerelease.join(".")&&p===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(h)}}if(d){let g=[d,h];if(p===!1&&(g=[d]),i(this.prerelease,d)){const f=this.prerelease[d.split(".").length];isNaN(f)&&(this.prerelease=g)}else this.prerelease=g}break}default:throw new Error(`invalid increment argument: ${l}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}}return Bu=u,Bu}var $u,_p;function V3(){if(_p)return $u;_p=1;const e=xg();return $u=(t,n)=>new e(t,n).major,$u}var G3=V3();const xp=xc(G3);var Ru,Ap;function W3(){if(Ap)return Ru;Ap=1;const e=xg();return Ru=(t,n,r=!1)=>{if(t instanceof e)return t;try{return new e(t,n)}catch(o){if(!r)return null;throw o}},Ru}var Fu,Sp;function q3(){if(Sp)return Fu;Sp=1;const e=W3();return Fu=(t,n)=>{const r=e(t,n);return r?r.version:null},Fu}var K3=q3();const X3=xc(K3);class Z3{bus;constructor(t){typeof t.getVersion!="function"||!X3(t.getVersion())?console.warn("Proxying an event bus with an unknown or invalid version"):xp(t.getVersion())!==xp(this.getVersion())&&console.warn("Proxying an event bus of version "+t.getVersion()+" with "+this.getVersion()),this.bus=t}getVersion(){return"3.3.3"}subscribe(t,n){this.bus.subscribe(t,n)}unsubscribe(t,n){this.bus.unsubscribe(t,n)}emit(t,...n){this.bus.emit(t,...n)}}class J3{handlers=new Map;getVersion(){return"3.3.3"}subscribe(t,n){this.handlers.set(t,(this.handlers.get(t)||[]).concat(n))}unsubscribe(t,n){this.handlers.set(t,(this.handlers.get(t)||[]).filter(r=>r!==n))}emit(t,...n){(this.handlers.get(t)||[]).forEach(r=>{try{r(n[0])}catch(o){console.error("could not invoke event listener",o)}})}}let as=null;function Ac(){return as!==null?as: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"?as=new Z3(window._nc_event_bus):as=window._nc_event_bus=new J3,as)}function Sc(e,t){Ac().subscribe(e,t)}function Ag(e,t){Ac().unsubscribe(e,t)}function xr(e,...t){Ac().emit(e,...t)}class ui{static GLOBAL_SCOPE_VOLATILE="nextcloud_vol";static GLOBAL_SCOPE_PERSISTENT="nextcloud_per";scope;wrapped;constructor(t,n,r){this.scope=`${r?ui.GLOBAL_SCOPE_PERSISTENT:ui.GLOBAL_SCOPE_VOLATILE}_${btoa(t)}_`,this.wrapped=n}scopeKey(t){return`${this.scope}${t}`}setItem(t,n){this.wrapped.setItem(this.scopeKey(t),n)}getItem(t){return this.wrapped.getItem(this.scopeKey(t))}removeItem(t){this.wrapped.removeItem(this.scopeKey(t))}clear(){Object.keys(this.wrapped).filter(t=>t.startsWith(this.scope)).map(this.wrapped.removeItem.bind(this.wrapped))}}class Y3{appId;persisted=!1;clearedOnLogout=!1;constructor(t){this.appId=t}persist(t=!0){return this.persisted=t,this}clearOnLogout(t=!0){return this.clearedOnLogout=t,this}build(){return new ui(this.appId,this.persisted?window.localStorage:window.sessionStorage,!this.clearedOnLogout)}}function Sg(e){return new Y3(e)}eb();function kg(){return globalThis._nc_auth_requestToken?globalThis._nc_auth_requestToken:globalThis.document?document.head.dataset.requesttoken??null:null}function Tg(e){if(!e||typeof e!="string")throw new Error("Invalid CSRF token given",{cause:{token:e}});globalThis._nc_auth_requestToken!==e&&(globalThis._nc_auth_requestToken=e,globalThis.document&&(document.head.dataset.requesttoken=e),xr("csrf-token-update",{token:e,_internal:!0}))}async function Q3(){const e=_r("/csrftoken"),t=await fetch(e);if(!t.ok)throw new Error("Could not fetch CSRF token from API",{cause:t});try{const{token:n}=await t.json();return Tg(n),n}catch(n){throw new Error("Could not parse CSRF token from API response",{cause:n})}}function Ng(e){const t=async({token:n})=>{try{e(n)}catch(r){console.error("Error updating CSRF token observer",r)}};return Sc("csrf-token-update",t),()=>Ag("csrf-token-update",t)}function eb(){Sc("csrf-token-update",({token:e,_internal:t})=>{t||Tg(e)})}Sg("public").persist().build();let vo;function kp(e,t){return e?e.getAttribute(t):null}function Zi(){if(vo!==void 0)return vo;const e=document?.getElementsByTagName("head")[0];if(!e)return null;const t=kp(e,"data-user");return t===null?(vo=null,vo):(vo={uid:t,displayName:kp(e,"data-user-displayname"),isAdmin:!!window._oc_isadmin},vo)}function Tp(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n2?n-2:0),o=2;o1?t-1:0),r=1;r"u"?null:dt(BigInt.prototype.toString),$p=typeof Symbol>"u"?null:dt(Symbol.prototype.toString),bt=dt(Object.prototype.hasOwnProperty),us=dt(Object.prototype.toString),yt=dt(RegExp.prototype.test),Ur=fb(TypeError);function dt(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o2&&arguments[2]!==void 0?arguments[2]:bs;if(Np&&Np(e,null),!Cr(t))return e;let r=t.length;for(;r--;){let o=t[r];if(typeof o=="string"){const s=n(o);s!==o&&(ab(t)||(t[r]=s),o=s)}e[o]=!0}return e}function gb(e){for(let t=0;t/g),Cb=St(/\${[\w\W]*/g),_b=St(/^data-[\-\w.\u00B7-\uFFFF]+$/),xb=St(/^aria-[\-\w]+$/),Mp=St(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Ab=St(/^(?:\w+script|data):/i),Sb=St(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),kb=St(/^html$/i),Tb=St(/^[a-z][.\w]*(-[.\w]+)+$/i),zp=St(/<[/\w!]/g),jp=St(/<[/\w]/g),Nb=St(/<\/no(script|embed|frames)/i),Db=St(/\/>/i),Qt={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,processingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},Ob=function(){return typeof window>"u"?null:window},Pb=function(e,t){if(typeof e!="object"||typeof e.createPolicy!="function")return null;let n=null;const r="data-tt-policy-suffix";t&&t.hasAttribute(r)&&(n=t.getAttribute(r));const o="dompurify"+(n?"#"+n:"");try{return e.createPolicy(o,{createHTML(s){return s},createScriptURL(s){return s}})}catch{return console.warn("TrustedTypes policy "+o+" could not be created."),null}},Up=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},fr=function(e,t,n,r){return bt(e,t)&&Cr(e[t])?Pe(r.base?Dt(r.base):{},e[t],r.transform):n};function Pg(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Ob();const t=E=>Pg(E);if(t.version="3.4.13",t.removed=[],!e||!e.document||e.document.nodeType!==Qt.document||!e.Element)return t.isSupported=!1,t;let n=e.document;const r=n,o=r.currentScript;e.DocumentFragment;const s=e.HTMLTemplateElement,a=e.Node,i=e.Element,u=e.NodeFilter;e.NamedNodeMap===void 0&&(e.NamedNodeMap||e.MozNamedAttrMap),e.HTMLFormElement;const l=e.DOMParser,d=e.trustedTypes,p=i.prototype,h=mn(p,"cloneNode"),g=mn(p,"remove"),f=mn(p,"nextSibling"),m=mn(p,"childNodes"),v=mn(p,"parentNode"),y=mn(p,"shadowRoot"),w=mn(p,"attributes"),C=a&&a.prototype?mn(a.prototype,"nodeType"):null,x=a&&a.prototype?mn(a.prototype,"nodeName"):null,D=a&&a.prototype?mn(a.prototype,"ownerDocument"):null;if(typeof s=="function"){const E=n.createElement("template");E.content&&E.content.ownerDocument&&(n=E.content.ownerDocument)}let $,K="",U,B=!1,ne=0;const T=function(){if(ne>0)throw Ur('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.')},S=function(E){T(),ne++;try{return $.createHTML(E)}finally{ne--}},V=function(E){T(),ne++;try{return $.createScriptURL(E)}finally{ne--}},oe=function(){return B||(U=Pb(d,o),B=!0),U},J=n,Q=J.implementation,te=J.createNodeIterator,pe=J.createDocumentFragment,X=J.getElementsByTagName,se=r.importNode;let G=Up();t.isSupported=typeof Dg=="function"&&typeof v=="function"&&Q&&Q.createHTMLDocument!==void 0;const Ae=Eb,Ge=wb,ke=Cb,me=_b,A=xb,F=Ab,L=Sb,j=Tb;let b=Mp,_=null;const k=Pe({},[...Rp,...Iu,...Mu,...zu,...Fp]);let O=null;const I=Pe({},[...Lp,...ju,...Ip,...Na]);let P=Object.seal(Ao(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}})),W=null,ee=null;const Y=Object.seal(Ao(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let q=!0,fe=!0,ie=!1,ve=!0,ye=!1,Se=!0,De=!1,Me=!1,Ke=null,ot=null,Wt=!1,Et=!1,Sn=!1,Rr=!1,kt=!0,Yt=!1;const Zo="user-content-";let co=!0,ma=!1,po={},kn=null;const su=Pe({},["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 rd=null;const od=Pe({},["audio","video","img","source","image","track"]);let au=null;const sd=Pe({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),va="http://www.w3.org/1998/Math/MathML",ya="http://www.w3.org/2000/svg",Tn="http://www.w3.org/1999/xhtml";let ho=Tn,iu=!1,uu=null;const Pv=Pe({},[va,ya,Tn],Lu),ad=At(["mi","mo","mn","ms","mtext"]);let lu=Pe({},ad);const id=At(["annotation-xml"]);let cu=Pe({},id);const Bv=Pe({},["title","style","font","a","script"]);let Jo=null;const $v=["application/xhtml+xml","text/html"],Rv="text/html";let Qe=null,fo=null;const Fv=n.createElement("form"),ud=function(E){return E instanceof RegExp||E instanceof Function},du=function(){let E=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(fo&&fo===E)return;(!E||typeof E!="object")&&(E={}),E=Dt(E),Jo=$v.indexOf(E.PARSER_MEDIA_TYPE)===-1?Rv:E.PARSER_MEDIA_TYPE,Qe=Jo==="application/xhtml+xml"?Lu:bs,_=fr(E,"ALLOWED_TAGS",k,{transform:Qe}),O=fr(E,"ALLOWED_ATTR",I,{transform:Qe}),uu=fr(E,"ALLOWED_NAMESPACES",Pv,{transform:Lu}),au=fr(E,"ADD_URI_SAFE_ATTR",sd,{transform:Qe,base:sd}),rd=fr(E,"ADD_DATA_URI_TAGS",od,{transform:Qe,base:od}),kn=fr(E,"FORBID_CONTENTS",su,{transform:Qe}),W=fr(E,"FORBID_TAGS",Dt({}),{transform:Qe}),ee=fr(E,"FORBID_ATTR",Dt({}),{transform:Qe}),po=bt(E,"USE_PROFILES")?E.USE_PROFILES&&typeof E.USE_PROFILES=="object"?Dt(E.USE_PROFILES):E.USE_PROFILES:!1,q=E.ALLOW_ARIA_ATTR!==!1,fe=E.ALLOW_DATA_ATTR!==!1,ie=E.ALLOW_UNKNOWN_PROTOCOLS||!1,ve=E.ALLOW_SELF_CLOSE_IN_ATTR!==!1,ye=E.SAFE_FOR_TEMPLATES||!1,Se=E.SAFE_FOR_XML!==!1,De=E.WHOLE_DOCUMENT||!1,Et=E.RETURN_DOM||!1,Sn=E.RETURN_DOM_FRAGMENT||!1,Rr=E.RETURN_TRUSTED_TYPE||!1,Wt=E.FORCE_BODY||!1,kt=E.SANITIZE_DOM!==!1,Yt=E.SANITIZE_NAMED_PROPS||!1,co=E.KEEP_CONTENT!==!1,ma=E.IN_PLACE||!1,b=vb(E.ALLOWED_URI_REGEXP)?E.ALLOWED_URI_REGEXP:Mp,ho=typeof E.NAMESPACE=="string"?E.NAMESPACE:Tn,lu=bt(E,"MATHML_TEXT_INTEGRATION_POINTS")&&E.MATHML_TEXT_INTEGRATION_POINTS&&typeof E.MATHML_TEXT_INTEGRATION_POINTS=="object"?Dt(E.MATHML_TEXT_INTEGRATION_POINTS):Pe({},ad),cu=bt(E,"HTML_INTEGRATION_POINTS")&&E.HTML_INTEGRATION_POINTS&&typeof E.HTML_INTEGRATION_POINTS=="object"?Dt(E.HTML_INTEGRATION_POINTS):Pe({},id);const z=bt(E,"CUSTOM_ELEMENT_HANDLING")&&E.CUSTOM_ELEMENT_HANDLING&&typeof E.CUSTOM_ELEMENT_HANDLING=="object"?Dt(E.CUSTOM_ELEMENT_HANDLING):Ao(null);if(P=Ao(null),bt(z,"tagNameCheck")&&ud(z.tagNameCheck)&&(P.tagNameCheck=z.tagNameCheck),bt(z,"attributeNameCheck")&&ud(z.attributeNameCheck)&&(P.attributeNameCheck=z.attributeNameCheck),bt(z,"allowCustomizedBuiltInElements")&&typeof z.allowCustomizedBuiltInElements=="boolean"&&(P.allowCustomizedBuiltInElements=z.allowCustomizedBuiltInElements),St(P),ye&&(fe=!1),Sn&&(Et=!0),po&&(_=Pe({},Fp),O=Ao(null),po.html===!0&&(Pe(_,Rp),Pe(O,Lp)),po.svg===!0&&(Pe(_,Iu),Pe(O,ju),Pe(O,Na)),po.svgFilters===!0&&(Pe(_,Mu),Pe(O,ju),Pe(O,Na)),po.mathMl===!0&&(Pe(_,zu),Pe(O,Ip),Pe(O,Na))),Y.tagCheck=null,Y.attributeCheck=null,bt(E,"ADD_TAGS")&&(typeof E.ADD_TAGS=="function"?Y.tagCheck=E.ADD_TAGS:Cr(E.ADD_TAGS)&&(_===k&&(_=Dt(_)),Pe(_,E.ADD_TAGS,Qe))),bt(E,"ADD_ATTR")&&(typeof E.ADD_ATTR=="function"?Y.attributeCheck=E.ADD_ATTR:Cr(E.ADD_ATTR)&&(O===I&&(O=Dt(O)),Pe(O,E.ADD_ATTR,Qe))),bt(E,"ADD_URI_SAFE_ATTR")&&Cr(E.ADD_URI_SAFE_ATTR)&&Pe(au,E.ADD_URI_SAFE_ATTR,Qe),bt(E,"FORBID_CONTENTS")&&Cr(E.FORBID_CONTENTS)&&(kn===su&&(kn=Dt(kn)),Pe(kn,E.FORBID_CONTENTS,Qe)),bt(E,"ADD_FORBID_CONTENTS")&&Cr(E.ADD_FORBID_CONTENTS)&&(kn===su&&(kn=Dt(kn)),Pe(kn,E.ADD_FORBID_CONTENTS,Qe)),co&&(_["#text"]=!0),De&&Pe(_,["html","head","body"]),_.table&&(Pe(_,["tbody"]),delete W.tbody),E.TRUSTED_TYPES_POLICY){if(typeof E.TRUSTED_TYPES_POLICY.createHTML!="function")throw Ur('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof E.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw Ur('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');const H=$;$=E.TRUSTED_TYPES_POLICY;try{K=S("")}catch(ue){throw $=H,ue}}else E.TRUSTED_TYPES_POLICY===null?($=void 0,K=""):($===void 0&&($=oe()),$&&typeof K=="string"&&(K=S("")));At&&At(E),fo=E},ld=Pe({},[...Iu,...Mu,...yb]),cd=Pe({},[...zu,...bb]),Lv=function(E,z,H){return z.namespaceURI===Tn?E==="svg":z.namespaceURI===va?E==="svg"&&(H==="annotation-xml"||lu[H]):!!ld[E]},Iv=function(E,z,H){return z.namespaceURI===Tn?E==="math":z.namespaceURI===ya?E==="math"&&cu[H]:!!cd[E]},Mv=function(E,z,H){return z.namespaceURI===ya&&!cu[H]||z.namespaceURI===va&&!lu[H]?!1:!cd[E]&&(Bv[E]||!ld[E])},zv=function(E){let z=v(E);(!z||!z.tagName)&&(z={namespaceURI:ho,tagName:"template"});const H=bs(E.tagName),ue=bs(z.tagName);return uu[E.namespaceURI]?E.namespaceURI===ya?Lv(H,z,ue):E.namespaceURI===va?Iv(H,z,ue):E.namespaceURI===Tn?Mv(H,z,ue):!!(Jo==="application/xhtml+xml"&&uu[E.namespaceURI]):!1},Fr=function(E){bo(t.removed,{element:E});try{v(E).removeChild(E)}catch{if(g(E),!v(E))throw Ur("a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place")}},ba=function(E){Yo(E);const z=m(E);if(z){const ue=[];yo(z,we=>{bo(ue,we)}),yo(ue,we=>{try{g(we)}catch{}})}const H=w(E);if(H)for(let ue=H.length-1;ue>=0;--ue){const we=H[ue],Te=we&&we.name;if(typeof Te=="string")try{E.removeAttribute(Te)}catch{}}},Lr=function(E,z){try{bo(t.removed,{attribute:z.getAttributeNode(E),from:z})}catch{bo(t.removed,{attribute:null,from:z})}if(z.removeAttribute(E),E==="is")if(Et||Sn)try{Fr(z)}catch{}else try{z.setAttribute(E,"")}catch{}},jv=function(E){const z=w(E);if(z)for(let H=z.length-1;H>=0;--H){const ue=z[H],we=ue&&ue.name;if(!(typeof we!="string"||O[Qe(we)]))try{E.removeAttribute(we)}catch{}}},Yo=function(E){const z=[E];for(;z.length>0;){const H=z.pop();(C?C(H):H.nodeType)===Qt.element&&jv(H);const ue=m(H);if(ue)for(let we=ue.length-1;we>=0;--we)z.push(ue[we])}},Uv=function(E){if(!Se)return;const z=[E];for(;z.length>0;){const H=z.pop(),ue=C?C(H):H.nodeType;if(ue===Qt.processingInstruction||ue===Qt.comment&&yt(jp,H.data)){try{g(H)}catch{}continue}if(ue===Qt.element){const Te=H,Ne=Qe(x?x(H):H.nodeName);try{Te.hasAttribute&&Te.hasAttribute("patchsrc")&&Te.removeAttribute("patchsrc"),Te.hasAttribute&&Te.hasAttribute("for")&&Ne!=="label"&&Ne!=="output"&&Te.removeAttribute("for")}catch{}}const we=m(H);if(we)for(let Te=we.length-1;Te>=0;--Te)z.push(we[Te])}},dd=function(E){let z=null,H=null;if(Wt)E=""+E;else{const Te=Op(E,/^[\r\n\t ]+/);H=Te&&Te[0]}Jo==="application/xhtml+xml"&&ho===Tn&&(E=''+E+"");const ue=$?S(E):E;if(ho===Tn)try{z=new l().parseFromString(ue,Jo)}catch{}if(!z||!z.documentElement){z=Q.createDocument(ho,"template",null);try{z.documentElement.innerHTML=iu?K:ue}catch{}}const we=z.body||z.documentElement;return E&&H&&we.insertBefore(n.createTextNode(H),we.childNodes[0]||null),ho===Tn?X.call(z,De?"html":"body")[0]:De?z.documentElement:we},pd=function(E){const z=D?D(E):E.ownerDocument;return te.call(z||E,E,u.SHOW_ELEMENT|u.SHOW_COMMENT|u.SHOW_TEXT|u.SHOW_PROCESSING_INSTRUCTION|u.SHOW_CDATA_SECTION,null)},Ea=function(E){return E=is(E,Ae," "),E=is(E,Ge," "),E=is(E,ke," "),E},pu=function(E){var z;E.normalize();const H=D?D(E):E.ownerDocument,ue=te.call(H||E,E,u.SHOW_TEXT|u.SHOW_COMMENT|u.SHOW_CDATA_SECTION|u.SHOW_PROCESSING_INSTRUCTION,null);let we=ue.nextNode();for(;we;)we.data=Ea(we.data),we=ue.nextNode();const Te=(z=E.querySelectorAll)===null||z===void 0?void 0:z.call(E,"template");Te&&yo(Te,Ne=>{go(Ne.content)&&pu(Ne.content)})},wa=function(E){const z=x?x(E):null;return typeof z!="string"||Qe(z)!=="form"?!1:typeof E.nodeName!="string"||typeof E.textContent!="string"||typeof E.removeChild!="function"||E.attributes!==w(E)||typeof E.removeAttribute!="function"||typeof E.setAttribute!="function"||typeof E.namespaceURI!="string"||typeof E.insertBefore!="function"||typeof E.hasChildNodes!="function"||E.nodeType!==C(E)||E.childNodes!==m(E)},go=function(E){if(!C||typeof E!="object"||E===null)return!1;try{return C(E)===Qt.documentFragment}catch{return!1}},Qo=function(E){if(!C||typeof E!="object"||E===null)return!1;try{return typeof C(E)=="number"}catch{return!1}};function Nn(E,z,H){E.length!==0&&yo(E,ue=>{ue.call(t,z,H,fo)})}const Hv=function(E,z){return!!(Se&&E.hasChildNodes()&&!Qo(E.firstElementChild)&&yt(zp,E.textContent)&&yt(zp,E.innerHTML)||Se&&E.namespaceURI===Tn&&z==="style"&&Qo(E.firstElementChild)||E.nodeType===Qt.processingInstruction||Se&&E.nodeType===Qt.comment&&yt(jp,E.data))},Vv=function(E,z,H){if(!W[z]&&md(z)&&(P.tagNameCheck instanceof RegExp&&yt(P.tagNameCheck,z)||P.tagNameCheck instanceof Function&&P.tagNameCheck(z)))return!1;if(co&&!kn[z]){const ue=v(E),we=m(E);if(we&&ue){const Te=we.length;for(let Ne=Te-1;Ne>=0;--Ne){const Dn=E===H?h(we[Ne],!0):we[Ne];ue.insertBefore(Dn,f(E))}}}return Fr(E),!0},hd=function(E,z,H,ue){return E.length===0?z:z===H||z===ue?Dt(z):z},fd=function(E,z){if(Nn(G.beforeSanitizeElements,E,null),E!==z&&v(E)===null)return ma&&Yo(E),!0;if(wa(E))return Fr(E),!0;const H=Qe(x?x(E):E.nodeName);if(_=hd(G.uponSanitizeElement,_,k,Ke),Nn(G.uponSanitizeElement,E,{tagName:H,allowedTags:_}),E!==z&&v(E)===null)return ma&&Yo(E),!0;if(Hv(E,H))return Fr(E),!0;if(W[H]||!(Y.tagCheck instanceof Function&&Y.tagCheck(H))&&!_[H]){const ue=Vv(E,H,z);return ue===!1&&Nn(G.afterSanitizeElements,E,null),ue}if((C?C(E):E.nodeType)===Qt.element&&!zv(E)||(H==="noscript"||H==="noembed"||H==="noframes")&&yt(Nb,E.innerHTML))return Fr(E),!0;if(ye&&E.nodeType===Qt.text){const ue=Ea(E.textContent);E.textContent!==ue&&(bo(t.removed,{element:E.cloneNode()}),E.textContent=ue)}return Nn(G.afterSanitizeElements,E,null),!1},gd=function(E,z,H){if(ee[z]||Se&&z==="patchsrc"||Se&&z==="for"&&E!=="label"&&E!=="output"||kt&&(z==="id"||z==="name")&&(H in n||H in Fv))return!1;const ue=O[z]||Y.attributeCheck instanceof Function&&Y.attributeCheck(z,E);if(!(fe&&yt(me,z))&&!(q&&yt(A,z))){if(ue){if(!au[z]&&!yt(b,is(H,L,""))&&!((z==="src"||z==="xlink:href"||z==="href")&&E!=="script"&&Pp(H,"data:")===0&&rd[E])&&!(ie&&!yt(F,is(H,L,"")))&&H)return!1}else if(!(md(E)&&(P.tagNameCheck instanceof RegExp&&yt(P.tagNameCheck,E)||P.tagNameCheck instanceof Function&&P.tagNameCheck(E))&&(P.attributeNameCheck instanceof RegExp&&yt(P.attributeNameCheck,z)||P.attributeNameCheck instanceof Function&&P.attributeNameCheck(z,E))||z==="is"&&P.allowCustomizedBuiltInElements&&(P.tagNameCheck instanceof RegExp&&yt(P.tagNameCheck,H)||P.tagNameCheck instanceof Function&&P.tagNameCheck(H))))return!1}return!0},Gv=Pe({},["annotation-xml","color-profile","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","missing-glyph"]),md=function(E){return!Gv[bs(E)]&&yt(j,E)},Wv=function(E,z,H,ue){if($&&typeof d=="object"&&typeof d.getAttributeType=="function"&&!H)switch(d.getAttributeType(E,z)){case"TrustedHTML":return S(ue);case"TrustedScriptURL":return V(ue)}return ue},qv=function(E,z,H,ue){try{H?E.setAttributeNS(H,z,ue):E.setAttribute(z,ue),wa(E)?Fr(E):Dp(t.removed)}catch{Lr(z,E)}},vd=function(E){Nn(G.beforeSanitizeAttributes,E,null);const z=E.attributes;if(!z||wa(E))return;O=hd(G.uponSanitizeAttribute,O,I,ot);const H={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:O,forceKeepAttr:void 0};let ue=z.length;const we=Qe(E.nodeName);for(;ue--;){const Te=z[ue],Ne=Te.name,Dn=Te.namespaceURI,dr=Te.value,Tt=Qe(Ne),gn=dr;let Mt=Ne==="value"?gn:db(gn);if(H.attrName=Tt,H.attrValue=Mt,H.keepAttr=!0,H.forceKeepAttr=void 0,Nn(G.uponSanitizeAttribute,E,H),Mt=H.attrValue,Yt&&(Tt==="id"||Tt==="name")&&Pp(Mt,Zo)!==0&&(Lr(Ne,E),Mt=Zo+Mt),Se&&yt(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,Mt)){Lr(Ne,E);continue}if(Tt==="attributename"&&Op(Mt,"href")){Lr(Ne,E);continue}if(!H.forceKeepAttr){if(!H.keepAttr){Lr(Ne,E);continue}if(!ve&&yt(Db,Mt)){Lr(Ne,E);continue}if(ye&&(Mt=Ea(Mt)),!gd(we,Tt,Mt)){Lr(Ne,E);continue}Mt=Wv(we,Tt,Dn,Mt),Mt!==gn&&qv(E,Ne,Dn,Mt)}}Nn(G.afterSanitizeAttributes,E,null)},Ca=function(E){let z=null;const H=pd(E);for(Nn(G.beforeSanitizeShadowDOM,E,null);z=H.nextNode();)if(Nn(G.uponSanitizeShadowNode,z,null),fd(z,E),vd(z),go(z.content)&&Ca(z.content),(C?C(z):z.nodeType)===Qt.element){const ue=y(z);go(ue)&&(hu(ue),Ca(ue))}Nn(G.afterSanitizeShadowDOM,E,null)},hu=function(E){const z=[{node:E,shadow:null}];for(;z.length>0;){const H=z.pop();if(H.shadow){Ca(H.shadow);continue}const ue=H.node,we=(C?C(ue):ue.nodeType)===Qt.element,Te=m(ue);if(Te)for(let Ne=Te.length-1;Ne>=0;--Ne)z.push({node:Te[Ne],shadow:null});if(we){const Ne=x?x(ue):null;if(typeof Ne=="string"&&Qe(Ne)==="template"){const Dn=ue.content;go(Dn)&&z.push({node:Dn,shadow:null})}}if(we){const Ne=y(ue);go(Ne)&&z.push({node:null,shadow:Ne},{node:Ne,shadow:null})}}};return t.sanitize=function(E){let z=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},H=null,ue=null,we=null,Te=null;if(iu=!E,iu&&(E=""),typeof E!="string"&&!Qo(E)&&(E=mb(E),typeof E!="string"))throw Ur("dirty is not a string, aborting");if(!t.isSupported)return E;Me?(_=Ke,O=ot):du(z),(G.uponSanitizeElement.length>0||G.uponSanitizeAttribute.length>0)&&(_=Dt(_)),G.uponSanitizeAttribute.length>0&&(O=Dt(O)),t.removed=[];const Ne=ma&&typeof E!="string"&&Qo(E);if(Ne){Uv(E);const Tt=x?x(E):E.nodeName;if(typeof Tt=="string"){const gn=Qe(Tt);if(!_[gn]||W[gn])throw ba(E),Ur("root node is forbidden and cannot be sanitized in-place")}if(wa(E))throw ba(E),Ur("root node is clobbered and cannot be sanitized in-place");try{hu(E)}catch(gn){throw ba(E),gn}}else if(Qo(E))H=dd(""),ue=H.ownerDocument.importNode(E,!0),ue.nodeType===Qt.element&&ue.nodeName==="BODY"||ue.nodeName==="HTML"?H=ue:H.appendChild(ue),hu(ue);else{if(!Et&&!ye&&!De&&E.indexOf("<")===-1)return $&&Rr?S(E):E;if(H=dd(E),!H)return Et?null:Rr?K:""}H&&Wt&&Fr(H.firstChild);const Dn=Ne?E:H;try{const Tt=pd(Dn);for(;we=Tt.nextNode();)fd(we,Dn),vd(we),go(we.content)&&Ca(we.content)}catch(Tt){throw Ne&&(ba(E),yo(t.removed,gn=>{gn.element&&Yo(gn.element)})),Tt}if(Ne)return yo(t.removed,Tt=>{Tt.element&&Yo(Tt.element)}),ye&&pu(E),E;if(Et){if(ye&&pu(H),Sn)for(Te=pe.call(H.ownerDocument);H.firstChild;)Te.appendChild(H.firstChild);else Te=H;return(O.shadowroot||O.shadowrootmode)&&(Te=se.call(r,Te,!0)),Te}let dr=De?H.outerHTML:H.innerHTML;return De&&_["!doctype"]&&H.ownerDocument&&H.ownerDocument.doctype&&H.ownerDocument.doctype.name&&yt(kb,H.ownerDocument.doctype.name)&&(dr=" +`+dr),ye&&(dr=Ea(dr)),$&&Rr?S(dr):dr},t.setConfig=function(){let E=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};du(E),Me=!0,Ke=_,ot=O},t.clearConfig=function(){fo=null,Me=!1,Ke=null,ot=null,$=U,K=""},t.isValidAttribute=function(E,z,H){fo||du({});const ue=Qe(E),we=Qe(z);return gd(ue,we,H)},t.addHook=function(E,z){typeof z=="function"&&bt(G,E)&&bo(G[E],z)},t.removeHook=function(E,z){if(bt(G,E)){if(z!==void 0){const H=lb(G[E],z);return H===-1?void 0:cb(G[E],H,1)[0]}return Dp(G[E])}},t.removeHooks=function(E){bt(G,E)&&(G[E]=[])},t.removeAllHooks=function(){G=Up()},t}var Bg=Pg(),Uu,Hp;function Bb(){if(Hp)return Uu;Hp=1;var e=/["'&<>]/;Uu=t;function t(n){var r=""+n,o=e.exec(r);if(!o)return r;var s,a="",i=0,u=0;for(i=o.index;it)}}globalThis._oc_l10n_registry_translations??={},globalThis._oc_l10n_registry_plural_functions??={};function Fe(e,t,n,r,o){const s=typeof n=="object"?n:void 0,a=typeof r=="number"?r:typeof n=="number"?n:void 0,i={escape:!0,sanitize:!0,...typeof o=="object"?o:typeof r=="object"?r:{}},u=g=>g,c=(i.sanitize?Bg.sanitize:u)||u,l=i.escape?Vp:u,d=g=>typeof g=="string"||typeof g=="number",p=(g,f,m)=>g.replace(/%n/g,""+m).replace(/{([^{}]*)}/g,(v,y)=>{if(f===void 0||!(y in f))return l(v);const w=f[y];return d(w)?l(`${w}`):typeof w=="object"&&d(w.value)?(w.escape!==!1?Vp:u)(`${w.value}`):l(v)});let h=(o?.bundle??$g(e)).translations[t]||t;return h=Array.isArray(h)?h[0]:h,c(typeof s=="object"||a!==void 0?p(h,s,a):h)}function Lb(e,t,n,r,o,s){const a="_"+t+"_::_"+n+"_",i=s?.bundle??$g(e),u=i.translations[a];if(typeof u<"u"){const c=u;if(Array.isArray(c)){const l=i.pluralFunction(r);return Fe(e,c[l],o,r,s)}}return r===1?Fe(e,t,o,r,s):Fe(e,n,o,r,s)}function Ib(e,t=Ar()){switch(t==="pt-BR"&&(t="xbr"),t.length>3&&(t=t.substring(0,t.lastIndexOf("-"))),t){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 e===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 e===0||e===1?0:1;case"be":case"bs":case"hr":case"ru":case"sh":case"sr":case"uk":return e%10===1&&e%100!==11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2;case"cs":case"sk":return e===1?0:e>=2&&e<=4?1:2;case"ga":return e===1?0:e===2?1:2;case"lt":return e%10===1&&e%100!==11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2;case"sl":return e%100===1?0:e%100===2?1:e%100===3||e%100===4?2:3;case"mk":return e%10===1?0:1;case"mt":return e===1?0:e===0||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3;case"lv":return e===0?0:e%10===1&&e%100!==11?1:2;case"pl":return e===1?0:e%10>=2&&e%10<=4&&(e%100<12||e%100>14)?1:2;case"cy":return e===1?0:e===2?1:e===8||e===11?2:3;case"ro":return e===1?0:e===0||e%100>0&&e%100<20?1:2;case"ar":return e===0?0:e===1?1:e===2?2:e%100>=3&&e%100<=10?3:e%100>=11&&e%100<=99?4:5;default:return 0}}function Mb(e=Date.now(),t={}){const n={ignoreSeconds:!1,language:Ar(),relativeTime:"long",...t},r=new Date(e),o=new Intl.RelativeTimeFormat([n.language,Ar()],{numeric:"auto",style:n.relativeTime}),s=(r.getTime()-Date.now())/1e3;if(Math.abs(s)<59.5)return n.ignoreSeconds||o.format(Math.round(s),"second");const a=s/60;if(Math.abs(a)<=59)return o.format(Math.round(a),"minute");const i=a/60;if(Math.abs(i)<23.5)return o.format(Math.round(i),"hour");const u=i/24;if(Math.abs(u)<6.5)return o.format(Math.round(u),"day");if(Math.abs(u)<27.5){const d=u/7;return o.format(Math.round(d),"week")}const c=u/30,l=Math.abs(c)<11?{month:n.relativeTime,day:"numeric"}:{year:n.relativeTime==="narrow"?"2-digit":"numeric",month:n.relativeTime};return new Intl.DateTimeFormat([n.language,Ar()],l).format(r)}function Go(e,t,n){const r=`#initial-state-${e}-${t}`;if(window._nc_initial_state?.has(r))return window._nc_initial_state.get(r);window._nc_initial_state||(window._nc_initial_state=new Map);const o=document.querySelector(r);if(o===null){if(n!==void 0)return n;throw new Error(`Could not find initial state ${t} of ${e}`)}try{const s=JSON.parse(atob(o.value));return window._nc_initial_state.set(r,s),s}catch(s){if(console.error("[@nextcloud/initial-state] Could not parse initial state",{key:t,app:e,error:s}),n!==void 0)return n;throw new Error(`Could not parse initial state ${t} of ${e}`,{cause:s})}}function zb(){try{return Go("core","capabilities")}catch{return console.debug("Could not find capabilities initial state fall back to _oc_capabilities"),"_oc_capabilities"in window?window._oc_capabilities:{}}}function Xs(e,t){return z0()?(c1(e,t),!0):!1}const Rl=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const jb=e=>e!=null,Ub=Object.prototype.toString,Hb=e=>Ub.call(e)==="[object Object]",Vb=()=>{};function Ns(e){return Array.isArray(e)?e:[e]}function Gb(e){return jn()}function Wb(e,t=!0,n){Gb()?An(e,n):t?e():wn(e)}function qb(e,t=1e3,n={}){const{immediate:r=!0,immediateCallback:o=!1}=n;let s=null;const a=ar(!1);function i(){s&&(clearInterval(s),s=null)}function u(){a.value=!1,i()}function c(){const l=Rt(t);l<=0||(a.value=!0,o&&e(),i(),a.value&&(s=setInterval(e,l)))}return r&&Rl&&c(),(lt(t)||typeof t=="function")&&Xs(tt(t,()=>{a.value&&Rl&&c()})),Xs(u),{isActive:N1(a),pause:u,resume:c}}function Kb(e,t,n){return tt(e,t,{...n,immediate:!0})}const $r=Rl?window:void 0;function In(e){var t;const n=Rt(e);return(t=n?.$el)!==null&&t!==void 0?t:n}function Sr(...e){const t=(r,o,s,a)=>(r.addEventListener(o,s,a),()=>r.removeEventListener(o,s,a)),n=re(()=>{const r=Ns(Rt(e[0])).filter(o=>o!=null);return r.every(o=>typeof o!="string")?r:void 0});return Kb(()=>{var r,o;return[(r=(o=n.value)===null||o===void 0?void 0:o.map(s=>In(s)))!==null&&r!==void 0?r:[$r].filter(s=>s!=null),Ns(Rt(n.value?e[1]:e[0])),Ns(M(n.value?e[2]:e[1])),Rt(n.value?e[3]:e[2])]},([r,o,s,a],i,u)=>{if(!r?.length||!o?.length||!s?.length)return;const c=Hb(a)?{...a}:a,l=r.flatMap(d=>o.flatMap(p=>s.map(h=>t(d,p,h,c))));u(()=>{l.forEach(d=>d())})},{flush:"post"})}function Xb(){const e=ar(!1),t=jn();return t&&An(()=>{e.value=!0},t),e}function Rg(e){const t=Xb();return re(()=>(t.value,!!e()))}function Zb(e,t,n={}){const{window:r=$r,...o}=n;let s;const a=Rg(()=>r&&"MutationObserver"in r),i=()=>{s&&(s.disconnect(),s=void 0)},u=tt(re(()=>{const d=Ns(Rt(e)).map(In).filter(jb);return new Set(d)}),d=>{i(),a.value&&d.size&&(s=new MutationObserver(t),d.forEach(p=>s.observe(p,o)))},{immediate:!0,flush:"post"}),c=()=>s?.takeRecords(),l=()=>{u(),i()};return Xs(l),{isSupported:a,stop:l,takeRecords:c}}function Jb(e,t,n={}){const{window:r=$r,document:o=r?.document,flush:s="sync"}=n;if(!r||!o)return Vb;let a;const i=l=>{a?.(),a=l},u=ji(()=>{const l=In(e);if(l){const{stop:d}=Zb(o,p=>{p.map(h=>[...h.removedNodes]).flat().some(h=>h===l||h.contains(l))&&t(p)},{window:r,childList:!0,subtree:!0});i(d)}},{flush:s}),c=()=>{u(),i()};return Xs(c),c}function Yb(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function Gp(...e){let t,n,r={};e.length===3?(t=e[0],n=e[1],r=e[2]):e.length===2?typeof e[1]=="object"?(t=!0,n=e[0],r=e[1]):(t=e[0],n=e[1]):(t=!0,n=e[0]);const{target:o=$r,eventName:s="keydown",passive:a=!1,dedupe:i=!1}=r,u=Yb(t);return Sr(o,s,c=>{c.repeat&&Rt(i)||u(c)&&n(c)},a)}function Qb(e={}){var t;const{window:n=$r,deep:r=!0,triggerOnRemoval:o=!1}=e,s=(t=e.document)!==null&&t!==void 0?t:n?.document,a=()=>{let c=s?.activeElement;if(r)for(var l;c?.shadowRoot;)c=c==null||(l=c.shadowRoot)===null||l===void 0?void 0:l.activeElement;return c},i=ar(),u=()=>{i.value=a()};if(n){const c={capture:!0,passive:!0};Sr(n,"blur",l=>{l.relatedTarget===null&&u()},c),Sr(n,"focus",u,c)}return o&&Jb(i,u,{document:s}),u(),i}function eE(e,t,n={}){const{window:r=$r,...o}=n;let s;const a=Rg(()=>r&&"ResizeObserver"in r),i=()=>{s&&(s.disconnect(),s=void 0)},u=tt(re(()=>{const l=Rt(e);return Array.isArray(l)?l.map(d=>In(d)):[In(l)]}),l=>{if(i(),a.value&&r){s=new ResizeObserver(t);for(const d of l)d&&s.observe(d,o)}},{immediate:!0,flush:"post"}),c=()=>{i(),u()};return Xs(c),{isSupported:a,stop:c}}function tE(e,t={width:0,height:0},n={}){const{window:r=$r,box:o="content-box"}=n,s=re(()=>{var d;return(d=In(e))===null||d===void 0||(d=d.namespaceURI)===null||d===void 0?void 0:d.includes("svg")}),a=ar(t.width),i=ar(t.height),{stop:u}=eE(e,([d])=>{const p=o==="border-box"?d.borderBoxSize:o==="content-box"?d.contentBoxSize:d.devicePixelContentBoxSize;if(r&&s.value){const h=In(e);if(h){const g=h.getBoundingClientRect();a.value=g.width,i.value=g.height}}else if(p){const h=Ns(p);a.value=h.reduce((g,{inlineSize:f})=>g+f,0),i.value=h.reduce((g,{blockSize:f})=>g+f,0)}else a.value=d.contentRect.width,i.value=d.contentRect.height},n);Wb(()=>{const d=In(e);d&&(a.value="offsetWidth"in d?d.offsetWidth:t.width,i.value="offsetHeight"in d?d.offsetHeight:t.height)});const c=tt(()=>In(e),d=>{a.value=d?t.width:0,i.value=d?t.height:0});function l(){u(),c()}return{width:a,height:i,stop:l}}const nE="focusin",rE="focusout",oE=":focus-within";function sE(e,t={}){const{window:n=$r}=t,r=re(()=>In(e)),o=ar(!1),s=re(()=>o.value);if(!n||!Qb(t).value)return{focused:s};const a={passive:!0};return Sr(r,nE,()=>o.value=!0,a),Sr(r,rE,()=>{var i,u,c;return o.value=(i=(u=r.value)===null||u===void 0||(c=u.matches)===null||c===void 0?void 0:c.call(u,oE))!==null&&i!==void 0?i:!1},a),{focused:s}}function Fg(e,t={}){const{threshold:n=50,onSwipe:r,onSwipeEnd:o,onSwipeStart:s,passive:a=!0}=t,i=Lo({x:0,y:0}),u=Lo({x:0,y:0}),c=re(()=>i.x-u.x),l=re(()=>i.y-u.y),{max:d,abs:p}=Math,h=re(()=>d(p(c.value),p(l.value))>=n),g=ar(!1),f=re(()=>h.value?p(c.value)>p(l.value)?c.value>0?"left":"right":l.value>0?"up":"down":"none"),m=D=>[D.touches[0].clientX,D.touches[0].clientY],v=(D,$)=>{i.x=D,i.y=$},y=(D,$)=>{u.x=D,u.y=$},w={passive:a,capture:!a},C=D=>{g.value&&o?.(D,f.value),g.value=!1},x=[Sr(e,"touchstart",D=>{if(D.touches.length!==1)return;const[$,K]=m(D);v($,K),y($,K),s?.(D)},w),Sr(e,"touchmove",D=>{if(D.touches.length!==1)return;const[$,K]=m(D);y($,K),w.capture&&!w.passive&&Math.abs(c.value)>Math.abs(l.value)&&D.preventDefault(),!g.value&&h.value&&(g.value=!0),g.value&&r?.(D)},w),Sr(e,["touchend","touchcancel"],C,w)];return{isSwiping:g,direction:f,coordsStart:i,coordsEnd:u,lengthX:c,lengthY:l,stop:()=>x.forEach(D=>D())}}const aE={__name:"splitpanes",props:{horizontal:{type:Boolean,default:!1},pushOtherPanes:{type:Boolean,default:!0},maximizePanes:{type:Boolean,default:!0},rtl:{type:Boolean,default:!1},firstSplitter:{type:Boolean,default:!1}},emits:["ready","resize","resized","pane-click","pane-maximize","pane-add","pane-remove","splitter-click","splitter-dblclick"],setup(e,{emit:t}){const n=t,r=e,o=Wi(),s=xe([]),a=re(()=>s.value.reduce((A,F)=>(A[~~F.id]=F)&&A,{})),i=re(()=>s.value.length),u=xe(null),c=xe(!1),l=xe({mouseDown:!1,dragging:!1,activeSplitter:null,cursorOffset:0}),d=xe({splitter:null,timeoutId:null}),p=re(()=>({[`splitpanes splitpanes--${r.horizontal?"horizontal":"vertical"}`]:!0,"splitpanes--dragging":l.value.dragging})),h=()=>{document.addEventListener("mousemove",m,{passive:!1}),document.addEventListener("mouseup",v),"ontouchstart"in window&&(document.addEventListener("touchmove",m,{passive:!1}),document.addEventListener("touchend",v))},g=()=>{document.removeEventListener("mousemove",m,{passive:!1}),document.removeEventListener("mouseup",v),"ontouchstart"in window&&(document.removeEventListener("touchmove",m,{passive:!1}),document.removeEventListener("touchend",v))},f=(A,F)=>{const L=A.target.closest(".splitpanes__splitter");if(L){const{left:j,top:b}=L.getBoundingClientRect(),{clientX:_,clientY:k}="ontouchstart"in window&&A.touches?A.touches[0]:A;l.value.cursorOffset=r.horizontal?k-b:_-j}h(),l.value.mouseDown=!0,l.value.activeSplitter=F},m=A=>{l.value.mouseDown&&(A.preventDefault(),l.value.dragging=!0,requestAnimationFrame(()=>{$(x(A)),ke("resize",{event:A},!0)}))},v=A=>{l.value.dragging&&(window.getSelection().removeAllRanges(),ke("resized",{event:A},!0)),l.value.mouseDown=!1,l.value.activeSplitter=null,setTimeout(()=>{l.value.dragging=!1,g()},100)},y=(A,F)=>{"ontouchstart"in window&&(A.preventDefault(),d.value.splitter===F?(clearTimeout(d.value.timeoutId),d.value.timeoutId=null,w(A,F),d.value.splitter=null):(d.value.splitter=F,d.value.timeoutId=setTimeout(()=>d.value.splitter=null,500))),l.value.dragging||ke("splitter-click",{event:A,index:F},!0)},w=(A,F)=>{if(ke("splitter-dblclick",{event:A,index:F},!0),r.maximizePanes){let L=0;s.value=s.value.map((j,b)=>(j.size=b===F?j.max:j.min,b!==F&&(L+=j.min),j)),s.value[F].size-=L,ke("pane-maximize",{event:A,index:F,pane:s.value[F]}),ke("resized",{event:A,index:F},!0)}},C=(A,F)=>{ke("pane-click",{event:A,index:a.value[F].index,pane:a.value[F]})},x=A=>{const F=u.value.getBoundingClientRect(),{clientX:L,clientY:j}="ontouchstart"in window&&A.touches?A.touches[0]:A;return{x:L-(r.horizontal?0:l.value.cursorOffset)-F.left,y:j-(r.horizontal?l.value.cursorOffset:0)-F.top}},D=A=>{A=A[r.horizontal?"y":"x"];const F=u.value[r.horizontal?"clientHeight":"clientWidth"];return r.rtl&&!r.horizontal&&(A=F-A),A*100/F},$=A=>{const F=l.value.activeSplitter;let L={prevPanesSize:U(F),nextPanesSize:B(F),prevReachedMinPanes:0,nextReachedMinPanes:0};const j=0+(r.pushOtherPanes?0:L.prevPanesSize),b=100-(r.pushOtherPanes?0:L.nextPanesSize),_=Math.max(Math.min(D(A),b),j);let k=[F,F+1],O=s.value[k[0]]||null,I=s.value[k[1]]||null;const P=O.max<100&&_>=O.max+L.prevPanesSize,W=I.max<100&&_<=100-(I.max+B(F+1));if(P||W){P?(O.size=O.max,I.size=Math.max(100-O.max-L.prevPanesSize-L.nextPanesSize,0)):(O.size=Math.max(100-I.max-L.prevPanesSize-B(F+1),0),I.size=I.max);return}if(r.pushOtherPanes){const ee=K(L,_);if(!ee)return;({sums:L,panesToResize:k}=ee),O=s.value[k[0]]||null,I=s.value[k[1]]||null}O!==null&&(O.size=Math.min(Math.max(_-L.prevPanesSize-L.prevReachedMinPanes,O.min),O.max)),I!==null&&(I.size=Math.min(Math.max(100-_-L.nextPanesSize-L.nextReachedMinPanes,I.min),I.max))},K=(A,F)=>{const L=l.value.activeSplitter,j=[L,L+1];return F{_>j[0]&&_<=L&&(b.size=b.min,A.prevReachedMinPanes+=b.min)}),A.prevPanesSize=U(j[0]),j[0]===void 0)?(A.prevReachedMinPanes=0,s.value[0].size=s.value[0].min,s.value.forEach((b,_)=>{_>0&&_<=L&&(b.size=b.min,A.prevReachedMinPanes+=b.min)}),s.value[j[1]].size=100-A.prevReachedMinPanes-s.value[0].min-A.prevPanesSize-A.nextPanesSize,null):F>100-A.nextPanesSize-s.value[j[1]].min&&(j[1]=T(L).index,A.nextReachedMinPanes=0,j[1]>L+1&&s.value.forEach((b,_)=>{_>L&&_{_=L+1&&(b.size=b.min,A.nextReachedMinPanes+=b.min)}),s.value[j[0]].size=100-A.prevPanesSize-B(j[0]-1),null):{sums:A,panesToResize:j}},U=A=>s.value.reduce((F,L,j)=>F+(js.value.reduce((F,L,j)=>F+(j>A+1?L.size:0),0),ne=A=>[...s.value].reverse().find(F=>F.indexF.min)||{},T=A=>s.value.find(F=>F.index>A+1&&F.size>F.min)||{},S=()=>{var A;const F=Array.from(((A=u.value)==null?void 0:A.children)||[]);for(const L of F){const j=L.classList.contains("splitpanes__pane"),b=L.classList.contains("splitpanes__splitter");!j&&!b&&(L.remove(),console.warn("Splitpanes: Only elements are allowed at the root of . One of your DOM nodes was removed."))}},V=(A,F,L=!1)=>{const j=A-1,b=document.createElement("div");b.classList.add("splitpanes__splitter"),L||(b.onmousedown=_=>f(_,j),typeof window<"u"&&"ontouchstart"in window&&(b.ontouchstart=_=>f(_,j)),b.onclick=_=>y(_,j+1)),b.ondblclick=_=>w(_,j+1),F.parentNode.insertBefore(b,F)},oe=A=>{A.onmousedown=void 0,A.onclick=void 0,A.ondblclick=void 0,A.remove()},J=()=>{var A;const F=Array.from(((A=u.value)==null?void 0:A.children)||[]);for(const j of F)j.className.includes("splitpanes__splitter")&&oe(j);let L=0;for(const j of F)j.className.includes("splitpanes__pane")&&(!L&&r.firstSplitter?V(L,j,!0):L&&V(L,j),L++)},Q=({uid:A,...F})=>{const L=a.value[A];for(const[j,b]of Object.entries(F))L[j]=b},te=A=>{var F;let L=-1;Array.from(((F=u.value)==null?void 0:F.children)||[]).some(j=>(j.className.includes("splitpanes__pane")&&L++,j.isSameNode(A.el))),s.value.splice(L,0,{...A,index:L}),s.value.forEach((j,b)=>j.index=b),c.value&&wn(()=>{J(),X({addedPane:s.value[L]}),ke("pane-add",{pane:s.value[L]})})},pe=A=>{const F=s.value.findIndex(j=>j.id===A);s.value[F].el=null;const L=s.value.splice(F,1)[0];s.value.forEach((j,b)=>j.index=b),wn(()=>{J(),ke("pane-remove",{pane:L}),X({removedPane:{...L}})})},X=(A={})=>{!A.addedPane&&!A.removedPane?G():s.value.some(F=>F.givenSize!==null||F.min||F.max<100)?Ae(A):se(),c.value&&ke("resized")},se=()=>{const A=100/i.value;let F=0;const L=[],j=[];for(const b of s.value)b.size=Math.max(Math.min(A,b.max),b.min),F-=b.size,b.size>=b.max&&L.push(b.id),b.size<=b.min&&j.push(b.id);F>.1&&Ge(F,L,j)},G=()=>{let A=100;const F=[],L=[];let j=0;for(const _ of s.value)A-=_.size,_.givenSize!==null&&j++,_.size>=_.max&&F.push(_.id),_.size<=_.min&&L.push(_.id);let b=100;if(A>.1){for(const _ of s.value)_.givenSize===null&&(_.size=Math.max(Math.min(A/(i.value-j),_.max),_.min)),b-=_.size;b>.1&&Ge(b,F,L)}},Ae=({addedPane:A,removedPane:F}={})=>{let L=100/i.value,j=0;const b=[],_=[];(A?.givenSize??null)!==null&&(L=(100-A.givenSize)/(i.value-1));for(const k of s.value)j-=k.size,k.size>=k.max&&b.push(k.id),k.size<=k.min&&_.push(k.id);if(!(Math.abs(j)<.1)){for(const k of s.value)A?.givenSize!==null&&A?.id===k.id||(k.size=Math.max(Math.min(L,k.max),k.min)),j-=k.size,k.size>=k.max&&b.push(k.id),k.size<=k.min&&_.push(k.id);j>.1&&Ge(j,b,_)}},Ge=(A,F,L)=>{let j;A>0?j=A/(i.value-F.length):j=A/(i.value-L.length),s.value.forEach((b,_)=>{if(A>0&&!F.includes(b.id)){const k=Math.max(Math.min(b.size+j,b.max),b.min),O=k-b.size;A-=O,b.size=k}else if(!L.includes(b.id)){const k=Math.max(Math.min(b.size+j,b.max),b.min),O=k-b.size;A-=O,b.size=k}}),Math.abs(A)>.1&&wn(()=>{c.value&&console.warn("Splitpanes: Could not resize panes correctly due to their constraints.")})},ke=(A,F=void 0,L=!1)=>{const j=F?.index??l.value.activeSplitter??null;n(A,{...F,...j!==null&&{index:j},...L&&j!==null&&{prevPane:s.value[j-(r.firstSplitter?1:0)],nextPane:s.value[j+(r.firstSplitter?0:1)]},panes:s.value.map(b=>({min:b.min,max:b.max,size:b.size}))})};tt(()=>r.firstSplitter,()=>J()),An(()=>{S(),J(),X(),ke("ready"),c.value=!0}),sa(()=>c.value=!1);const me=()=>{var A;return Pt("div",{ref:u,class:p.value},(A=o.default)==null?void 0:A.call(o))};return Xt("panes",s),Xt("indexedPanes",a),Xt("horizontal",re(()=>r.horizontal)),Xt("requestUpdate",Q),Xt("onPaneAdd",te),Xt("onPaneRemove",pe),Xt("onPaneClick",C),(A,F)=>(R(),ge(aa(me)))}},iE={__name:"pane",props:{size:{type:[Number,String]},minSize:{type:[Number,String],default:0},maxSize:{type:[Number,String],default:100}},setup(e){var t;const n=e,r=st("requestUpdate"),o=st("onPaneAdd"),s=st("horizontal"),a=st("onPaneRemove"),i=st("onPaneClick"),u=(t=jn())==null?void 0:t.uid,c=st("indexedPanes"),l=re(()=>c.value[u]),d=xe(null),p=re(()=>{const m=isNaN(n.size)||n.size===void 0?0:parseFloat(n.size);return Math.max(Math.min(m,g.value),h.value)}),h=re(()=>{const m=parseFloat(n.minSize);return isNaN(m)?0:m}),g=re(()=>{const m=parseFloat(n.maxSize);return isNaN(m)?100:m}),f=re(()=>{var m;return`${s.value?"height":"width"}: ${(m=l.value)==null?void 0:m.size}%`});return tt(()=>p.value,m=>r({uid:u,size:m})),tt(()=>h.value,m=>r({uid:u,min:m})),tt(()=>g.value,m=>r({uid:u,max:m})),An(()=>{o({id:u,el:d.value,min:h.value,max:g.value,givenSize:n.size===void 0?null:p.value,size:p.value})}),sa(()=>a(u)),(m,v)=>(R(),Z("div",{ref_key:"paneEl",ref:d,class:"splitpanes__pane",onClick:v[0]||(v[0]=y=>M(i)(y,m._.uid)),style:dn(f.value)},[be(m.$slots,"default")],4))}};var Wp="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",Lg="M4,11V13H16L10.5,18.5L11.92,19.92L19.84,12L11.92,4.08L10.5,5.5L16,11H4Z",Fl="M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z",uE="M15.41,16.58L10.83,12L15.41,7.41L14,6L8,12L14,18L15.41,16.58Z",Ig="M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z",Ll="M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z",lE="M3,6H21V8H3V6M3,11H21V13H3V11M3,16H21V18H3V16Z",cE="M21,15.61L19.59,17L14.58,12L19.59,7L21,8.39L17.44,12L21,15.61M3,6H16V8H3V6M3,13V11H13V13H3M3,18V16H16V18H3Z",dE="M14,19H18V5H14M6,19H10V5H6V19Z",pE="M8,5.14V19.14L19,12.14L8,5.14Z",hE="M12.5,8C9.85,8 7.45,9 5.6,10.6L2,7V16H11L7.38,12.38C8.77,11.22 10.54,10.5 12.5,10.5C16.04,10.5 19.05,12.81 20.1,16L22.47,15.22C21.08,11.03 17.15,8 12.5,8Z";const Tc=1024,Mg=Tc/2,li=e=>document.documentElement.clientWidth{zg.value=li(Tc),fE.value=li(Mg)},{passive:!0});function da(){return zs(zg)}class gE{bundle;constructor(t){this.bundle={pluralFunction:t,translations:{}}}addTranslations(t){const n=Object.values(t.translations[""]??{}).map(({msgid:r,msgid_plural:o,msgstr:s})=>o!==void 0?[`_${r}_::_${o}_`,s]:[r,s[0]]);this.bundle.translations={...this.bundle.translations,...Object.fromEntries(n)}}gettext(t,n={}){return Fe("",t,n,void 0,{bundle:this.bundle})}ngettext(t,n,r,o={}){return Lb("",t,n,r,o,{bundle:this.bundle})}}class mE{debug=!1;language="en";translations={};setLanguage(t){return this.language=t,this}detectLocale(){return this.detectLanguage()}detectLanguage(){return this.setLanguage(Ar().replace("-","_"))}addTranslation(t,n){return this.translations[t]=n,this}enableDebugMode(){return this.debug=!0,this}build(){this.debug&&console.debug(`Creating gettext instance for language ${this.language}`);const t=new gE(n=>Ib(n,this.language));return this.language in this.translations&&t.addTranslations(this.translations[this.language]),t}}function vE(){return new mE}const jg=vE().detectLanguage().build(),Le=(...e)=>jg.gettext(...e);function hn(...e){for(const t of e)if(!t.registered){for(const{l:n,t:r}of t){if(n!==Ar()||!r)continue;const o=Object.fromEntries(Object.entries(r).map(([s,a])=>[s,{msgid:s,msgid_plural:a.p,msgstr:a.v}]));jg.addTranslations({translations:{"":o}})}t.registered=!0}}const yE=[{l:"ar",t:{"a few seconds ago":{v:["منذ عدة ثوانٍ"]},"sec. ago":{v:["ثانية مضت"]},"seconds ago":{v:["ثوانٍ مضت"]}}},{l:"ast",t:{"a few seconds ago":{v:["hai unos segundos"]},"sec. ago":{v:["hai segs"]},"seconds ago":{v:["hai segundos"]}}},{l:"br",t:{}},{l:"ca",t:{}},{l:"cs",t:{"a few seconds ago":{v:["před několika sekundami"]},"sec. ago":{v:["sek. před"]},"seconds ago":{v:["sekund předtím"]}}},{l:"cs-CZ",t:{"a few seconds ago":{v:["před několika sekundami"]},"sec. ago":{v:["sek. před"]},"seconds ago":{v:["sekund předtím"]}}},{l:"da",t:{"a few seconds ago":{v:["et par sekunder siden"]},"sec. ago":{v:["sek. siden"]},"seconds ago":{v:["sekunder siden"]}}},{l:"de",t:{"a few seconds ago":{v:["vor ein paar Sekunden"]},"sec. ago":{v:["Sek. zuvor"]},"seconds ago":{v:["Sekunden zuvor"]}}},{l:"de-DE",t:{"a few seconds ago":{v:["vor ein paar Sekunden"]},"sec. ago":{v:["Sek. zuvor"]},"seconds ago":{v:["Sekunden zuvor"]}}},{l:"el",t:{"a few seconds ago":{v:["πριν λίγα δευτερόλεπτα"]},"sec. ago":{v:["δευτ. πριν"]},"seconds ago":{v:["δευτερόλεπτα πριν"]}}},{l:"en-GB",t:{"a few seconds ago":{v:["a few seconds ago"]},"sec. ago":{v:["sec. ago"]},"seconds ago":{v:["seconds ago"]}}},{l:"eo",t:{}},{l:"es",t:{"a few seconds ago":{v:["hace unos pocos segundos"]},"sec. ago":{v:["hace segundos"]},"seconds ago":{v:["segundos atrás"]}}},{l:"es-AR",t:{"a few seconds ago":{v:["hace unos segundos"]},"sec. ago":{v:["seg. atrás"]},"seconds ago":{v:["segundos atrás"]}}},{l:"es-EC",t:{"a few seconds ago":{v:["hace unos segundos"]},"sec. ago":{v:["hace segundos"]},"seconds ago":{v:["Segundos atrás"]}}},{l:"es-MX",t:{"a few seconds ago":{v:["hace unos segundos"]},"sec. ago":{v:["seg. atrás"]},"seconds ago":{v:["segundos atrás"]}}},{l:"et-EE",t:{"a few seconds ago":{v:["mõni sekund tagasi"]},"sec. ago":{v:["sek. tagasi"]},"seconds ago":{v:["sekundit tagasi"]}}},{l:"eu",t:{"a few seconds ago":{v:["duela segundo batzuk"]},"sec. ago":{v:["duela seg."]},"seconds ago":{v:["duela segundo"]}}},{l:"fa",t:{"a few seconds ago":{v:["چند ثانیه پیش"]},"sec. ago":{v:["چند ثانیه پیش"]},"seconds ago":{v:["چند ثانیه پیش"]}}},{l:"fi",t:{"a few seconds ago":{v:["muutamia sekunteja sitten"]},"sec. ago":{v:["sek. sitten"]},"seconds ago":{v:["sekunteja sitten"]}}},{l:"fr",t:{"a few seconds ago":{v:["il y a quelques instants"]},"sec. ago":{v:["il y a qq. sec."]},"seconds ago":{v:["il y a quelques secondes"]}}},{l:"ga",t:{"a few seconds ago":{v:["cúpla soicind ó shin"]},"sec. ago":{v:["soic. ó shin"]},"seconds ago":{v:["soicind ó shin"]}}},{l:"gl",t:{"a few seconds ago":{v:["hai uns segundos"]},"sec. ago":{v:["segs. atrás"]},"seconds ago":{v:["segundos atrás"]}}},{l:"he",t:{"a few seconds ago":{v:["לפני מספר שניות"]},"sec. ago":{v:["לפני מספר שניות"]},"seconds ago":{v:["לפני מס׳ שניות"]}}},{l:"hr",t:{"a few seconds ago":{v:["prije nekoliko sekundi"]},"sec. ago":{v:["prije nek. sek."]},"seconds ago":{v:["prije nek. sek."]}}},{l:"hu",t:{"a few seconds ago":{v:["néhány másodperce"]},"sec. ago":{v:["másodperce"]},"seconds ago":{v:["másodperce"]}}},{l:"id",t:{"a few seconds ago":{v:["beberapa detik yang lalu"]},"sec. ago":{v:["dtk. yang lalu"]},"seconds ago":{v:["beberapa detik lalu"]}}},{l:"is",t:{"a few seconds ago":{v:["fyrir örfáum sekúndum síðan"]},"sec. ago":{v:["sek. síðan"]},"seconds ago":{v:["sekúndum síðan"]}}},{l:"it",t:{"a few seconds ago":{v:["pochi secondi fa"]},"sec. ago":{v:["sec. fa"]},"seconds ago":{v:["secondi fa"]}}},{l:"ja",t:{"a few seconds ago":{v:["数秒前"]},"sec. ago":{v:["秒前"]},"seconds ago":{v:["数秒前"]}}},{l:"ja-JP",t:{"a few seconds ago":{v:["数秒前"]},"sec. ago":{v:["秒前"]},"seconds ago":{v:["数秒前"]}}},{l:"ko",t:{"a few seconds ago":{v:["방금 전"]},"sec. ago":{v:["몇 초 전"]},"seconds ago":{v:["초 전"]}}},{l:"lo",t:{"a few seconds ago":{v:["ສອງສາມວິນາທີກ່ອນ"]},"sec. ago":{v:["ວິ. ກ່ອນ"]},"seconds ago":{v:["ວິນາທີກ່ອນ"]}}},{l:"lt-LT",t:{"a few seconds ago":{v:["prieš keletą sekundžių"]},"sec. ago":{v:["prieš sek."]},"seconds ago":{v:["prieš sekundes"]}}},{l:"lv",t:{}},{l:"mk",t:{"a few seconds ago":{v:["пред неколку секунди"]},"sec. ago":{v:["секунда"]},"seconds ago":{v:["секунди"]}}},{l:"mn",t:{"a few seconds ago":{v:["хэдхэн секундын өмнө"]},"sec. ago":{v:["сек. өмнө"]},"seconds ago":{v:["секундын өмнө"]}}},{l:"my",t:{}},{l:"nb",t:{"a few seconds ago":{v:["noen få sekunder siden"]},"sec. ago":{v:["sek. siden"]},"seconds ago":{v:["sekunder siden"]}}},{l:"nl",t:{"a few seconds ago":{v:["enkele seconden geleden"]},"sec. ago":{v:["sec. geleden"]},"seconds ago":{v:["seconden geleden"]}}},{l:"oc",t:{}},{l:"pl",t:{"a few seconds ago":{v:["kilka sekund temu"]},"sec. ago":{v:["sek. temu"]},"seconds ago":{v:["sekund temu"]}}},{l:"pt-BR",t:{"a few seconds ago":{v:["há alguns segundos"]},"sec. ago":{v:["seg. atrás"]},"seconds ago":{v:["segundos atrás"]}}},{l:"pt-PT",t:{"a few seconds ago":{v:["há alguns segundos"]},"sec. ago":{v:["seg. atrás"]},"seconds ago":{v:["segundos atrás"]}}},{l:"ro",t:{"a few seconds ago":{v:["acum câteva secunde"]},"sec. ago":{v:["sec. în urmă"]},"seconds ago":{v:["secunde în urmă"]}}},{l:"ru",t:{"a few seconds ago":{v:["несколько секунд назад"]},"sec. ago":{v:["сек. назад"]},"seconds ago":{v:["секунд назад"]}}},{l:"sk",t:{"a few seconds ago":{v:["pred chvíľou"]},"sec. ago":{v:["pred pár sekundami"]},"seconds ago":{v:["pred sekundami"]}}},{l:"sl",t:{}},{l:"sr",t:{"a few seconds ago":{v:["пре неколико секунди"]},"sec. ago":{v:["сек. раније"]},"seconds ago":{v:["секунди раније"]}}},{l:"sv",t:{"a few seconds ago":{v:["några sekunder sedan"]},"sec. ago":{v:["sek. sedan"]},"seconds ago":{v:["sekunder sedan"]}}},{l:"tr",t:{"a few seconds ago":{v:["birkaç saniye önce"]},"sec. ago":{v:["sn. önce"]},"seconds ago":{v:["saniye önce"]}}},{l:"uk",t:{"a few seconds ago":{v:["декілька секунд тому"]},"sec. ago":{v:["с тому"]},"seconds ago":{v:["с тому"]}}},{l:"uz",t:{"a few seconds ago":{v:["bir necha soniya oldin"]},"sec. ago":{v:["sek. oldin"]},"seconds ago":{v:["soniyalar oldin"]}}},{l:"zh-CN",t:{"a few seconds ago":{v:["几秒前"]},"sec. ago":{v:["几秒前"]},"seconds ago":{v:["几秒前"]}}},{l:"zh-HK",t:{"a few seconds ago":{v:["幾秒前"]},"sec. ago":{v:["秒前"]},"seconds ago":{v:["秒前"]}}},{l:"zh-TW",t:{"a few seconds ago":{v:["幾秒前"]},"sec. ago":{v:["秒前"]},"seconds ago":{v:["秒前"]}}}],bE=[{l:"ar",t:{Actions:{v:["إجراءات"]}}},{l:"ast",t:{Actions:{v:["Aiciones"]}}},{l:"br",t:{Actions:{v:["Oberioù"]}}},{l:"ca",t:{Actions:{v:["Accions"]}}},{l:"cs",t:{Actions:{v:["Akce"]}}},{l:"cs-CZ",t:{Actions:{v:["Akce"]}}},{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-AR",t:{Actions:{v:["Acciones"]}}},{l:"es-EC",t:{Actions:{v:["Acciones"]}}},{l:"es-MX",t:{Actions:{v:["Acciones"]}}},{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:"fr",t:{Actions:{v:["Actions"]}}},{l:"ga",t:{Actions:{v:["Gníomhartha"]}}},{l:"gl",t:{Actions:{v:["Accións"]}}},{l:"he",t:{Actions:{v:["פעולות"]}}},{l:"hr",t:{Actions:{v:["Radnje"]}}},{l:"hu",t:{Actions:{v:["Műveletek"]}}},{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:"ko",t:{Actions:{v:["동작"]}}},{l:"lo",t:{Actions:{v:["ການກະທຳ"]}}},{l:"lt-LT",t:{Actions:{v:["Veiksmai"]}}},{l:"lv",t:{}},{l:"mk",t:{Actions:{v:["Акции"]}}},{l:"mn",t:{Actions:{v:["Үйлдлүүд"]}}},{l:"my",t:{Actions:{v:["လုပ်ဆောင်ချက်များ"]}}},{l:"nb",t:{Actions:{v:["Handlinger"]}}},{l:"nl",t:{Actions:{v:["Acties"]}}},{l:"oc",t:{Actions:{v:["Accions"]}}},{l:"pl",t:{Actions:{v:["Działania"]}}},{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:"sk",t:{Actions:{v:["Akcie"]}}},{l:"sl",t:{Actions:{v:["Dejanja"]}}},{l:"sr",t:{Actions:{v:["Радње"]}}},{l:"sv",t:{Actions:{v:["Åtgärder"]}}},{l:"tr",t:{Actions:{v:["İşlemler"]}}},{l:"uk",t:{Actions:{v:["Дії"]}}},{l:"uz",t:{Actions:{v:["Harakatlar"]}}},{l:"zh-CN",t:{Actions:{v:["行为"]}}},{l:"zh-HK",t:{Actions:{v:["動作"]}}},{l:"zh-TW",t:{Actions:{v:["動作"]}}}],EE=[{l:"ar",t:{"Cancel changes":{v:["إلغاء التغييرات"]},"Confirm changes":{v:["تأكيد التغييرات"]}}},{l:"ast",t:{"Cancel changes":{v:["Encaboxar los cambeos"]},"Confirm changes":{v:["Confirmar los cambeos"]}}},{l:"br",t:{}},{l:"ca",t:{"Cancel changes":{v:["Cancel·la els canvis"]},"Confirm changes":{v:["Confirmeu els canvis"]}}},{l:"cs",t:{"Cancel changes":{v:["Zrušit změny"]},"Confirm changes":{v:["Potvrdit změny"]}}},{l:"cs-CZ",t:{"Cancel changes":{v:["Zrušit změny"]},"Confirm changes":{v:["Potvrdit změny"]}}},{l:"da",t:{"Cancel changes":{v:["Annuller ændringer"]},"Confirm changes":{v:["Bekræft ændringer"]}}},{l:"de",t:{"Cancel changes":{v:["Änderungen verwerfen"]},"Confirm changes":{v:["Änderungen bestätigen"]}}},{l:"de-DE",t:{"Cancel changes":{v:["Änderungen verwerfen"]},"Confirm changes":{v:["Änderungen bestätigen"]}}},{l:"el",t:{"Cancel changes":{v:["Ακύρωση αλλαγών"]},"Confirm changes":{v:["Επιβεβαίωση αλλαγών"]}}},{l:"en-GB",t:{"Cancel changes":{v:["Cancel changes"]},"Confirm changes":{v:["Confirm changes"]}}},{l:"eo",t:{}},{l:"es",t:{"Cancel changes":{v:["Cancelar cambios"]},"Confirm changes":{v:["Confirmar cambios"]}}},{l:"es-AR",t:{"Cancel changes":{v:["Cancelar cambios"]},"Confirm changes":{v:["Confirmar cambios"]}}},{l:"es-EC",t:{"Cancel changes":{v:["Cancelar cambios"]},"Confirm changes":{v:["Confirmar cambios"]}}},{l:"es-MX",t:{"Cancel changes":{v:["Cancelar cambios"]},"Confirm changes":{v:["Confirmar cambios"]}}},{l:"et-EE",t:{"Cancel changes":{v:["Tühista muudatused"]},"Confirm changes":{v:["Kinnita muudatused"]}}},{l:"eu",t:{"Cancel changes":{v:["Ezeztatu aldaketak"]},"Confirm changes":{v:["Baieztatu aldaketak"]}}},{l:"fa",t:{"Cancel changes":{v:["لغو تغییرات"]},"Confirm changes":{v:["تایید تغییرات"]}}},{l:"fi",t:{"Cancel changes":{v:["Peruuta muutokset"]},"Confirm changes":{v:["Vahvista muutokset"]}}},{l:"fr",t:{"Cancel changes":{v:["Annuler les modifications"]},"Confirm changes":{v:["Confirmer les modifications"]}}},{l:"ga",t:{"Cancel changes":{v:["Cealaigh athruithe"]},"Confirm changes":{v:["Deimhnigh na hathruithe"]}}},{l:"gl",t:{"Cancel changes":{v:["Cancelar os cambios"]},"Confirm changes":{v:["Confirma os cambios"]}}},{l:"he",t:{"Cancel changes":{v:["ביטול שינויים"]},"Confirm changes":{v:["אישור השינויים"]}}},{l:"hr",t:{"Cancel changes":{v:["Otkaži promjene"]},"Confirm changes":{v:["Potvrdi promjene"]}}},{l:"hu",t:{"Cancel changes":{v:["Változtatások elvetése"]},"Confirm changes":{v:["Változtatások megerősítése"]}}},{l:"id",t:{"Cancel changes":{v:["Batalkan perubahan"]},"Confirm changes":{v:["Konfirmasikan perubahan"]}}},{l:"is",t:{"Cancel changes":{v:["Hætta við breytingar"]},"Confirm changes":{v:["Staðfesta breytingar"]}}},{l:"it",t:{"Cancel changes":{v:["Annulla modifiche"]},"Confirm changes":{v:["Conferma modifiche"]}}},{l:"ja",t:{"Cancel changes":{v:["変更をキャンセル"]},"Confirm changes":{v:["変更を承認"]}}},{l:"ja-JP",t:{"Cancel changes":{v:["変更をキャンセル"]},"Confirm changes":{v:["変更を承認"]}}},{l:"ko",t:{"Cancel changes":{v:["변경 취소"]},"Confirm changes":{v:["변경 사항 확인"]}}},{l:"lo",t:{"Cancel changes":{v:["ຍົກເລີກການປ່ຽນແປງ"]},"Confirm changes":{v:["ຢືນຢັນການປ່ຽນແປງ"]}}},{l:"lt-LT",t:{"Cancel changes":{v:["Atsisakyti pakeitimų"]},"Confirm changes":{v:["Patvirtinti pakeitimus"]}}},{l:"lv",t:{}},{l:"mk",t:{"Cancel changes":{v:["Откажи ги промените"]},"Confirm changes":{v:["Потврди ги промените"]}}},{l:"mn",t:{"Cancel changes":{v:["Өөрчлөлтийг цуцлах"]},"Confirm changes":{v:["Өөрчлөлтийг баталгаажуулах"]}}},{l:"my",t:{"Cancel changes":{v:["ပြောင်းလဲမှုများ ပယ်ဖျက်ရန်"]},"Confirm changes":{v:["ပြောင်းလဲမှုများ အတည်ပြုရန်"]}}},{l:"nb",t:{"Cancel changes":{v:["Avbryt endringer"]},"Confirm changes":{v:["Bekreft endringer"]}}},{l:"nl",t:{"Cancel changes":{v:["Wijzigingen annuleren"]},"Confirm changes":{v:["Wijzigingen bevestigen"]}}},{l:"oc",t:{}},{l:"pl",t:{"Cancel changes":{v:["Anuluj zmiany"]},"Confirm changes":{v:["Potwierdź zmiany"]}}},{l:"pt-BR",t:{"Cancel changes":{v:["Cancelar alterações"]},"Confirm changes":{v:["Confirmar alterações"]}}},{l:"pt-PT",t:{"Cancel changes":{v:["Cancelar alterações"]},"Confirm changes":{v:["Confirmar alterações"]}}},{l:"ro",t:{"Cancel changes":{v:["Anulează modificările"]},"Confirm changes":{v:["Confirmați modificările"]}}},{l:"ru",t:{"Cancel changes":{v:["Отменить изменения"]},"Confirm changes":{v:["Подтвердить изменения"]}}},{l:"sk",t:{"Cancel changes":{v:["Zrušiť zmeny"]},"Confirm changes":{v:["Potvrdiť zmeny"]}}},{l:"sl",t:{"Cancel changes":{v:["Prekliči spremembe"]},"Confirm changes":{v:["Potrdi spremembe"]}}},{l:"sr",t:{"Cancel changes":{v:["Откажи измене"]},"Confirm changes":{v:["Потврдите измене"]}}},{l:"sv",t:{"Cancel changes":{v:["Avbryt ändringar"]},"Confirm changes":{v:["Bekräfta ändringar"]}}},{l:"tr",t:{"Cancel changes":{v:["Değişiklikleri iptal et"]},"Confirm changes":{v:["Değişiklikleri onayla"]}}},{l:"uk",t:{"Cancel changes":{v:["Скасувати зміни"]},"Confirm changes":{v:["Підтвердити зміни"]}}},{l:"uz",t:{"Cancel changes":{v:["O'zgarishlarni bekor qilish"]},"Confirm changes":{v:["O'zgarishlarni tasdiqlang"]}}},{l:"zh-CN",t:{"Cancel changes":{v:["取消更改"]},"Confirm changes":{v:["确认更改"]}}},{l:"zh-HK",t:{"Cancel changes":{v:["取消更改"]},"Confirm changes":{v:["確認更改"]}}},{l:"zh-TW",t:{"Cancel changes":{v:["取消變更"]},"Confirm changes":{v:["確認變更"]}}}],wE=[{l:"ar",t:{"Clear search":{v:["محو البحث"]}}},{l:"ast",t:{"Clear search":{v:["Borrar la busca"]}}},{l:"br",t:{}},{l:"ca",t:{}},{l:"cs",t:{"Clear search":{v:["Vyčistit vyhledávání"]}}},{l:"cs-CZ",t:{"Clear search":{v:["Vyčistit vyhledávání"]}}},{l:"da",t:{"Clear search":{v:["Ryd søgning"]}}},{l:"de",t:{"Clear search":{v:["Suche leeren"]}}},{l:"de-DE",t:{"Clear search":{v:["Suche leeren"]}}},{l:"el",t:{"Clear search":{v:["Εκκαθάριση αναζήτησης"]}}},{l:"en-GB",t:{"Clear search":{v:["Clear search"]}}},{l:"eo",t:{}},{l:"es",t:{"Clear search":{v:["Limpiar búsqueda"]}}},{l:"es-AR",t:{"Clear search":{v:["Limpiar búsqueda"]}}},{l:"es-EC",t:{"Clear search":{v:["Limpiar búsqueda"]}}},{l:"es-MX",t:{"Clear search":{v:["Limpiar búsqueda"]}}},{l:"et-EE",t:{"Clear search":{v:["Tühjenda otsing"]}}},{l:"eu",t:{"Clear search":{v:["Garbitu bilaketa"]}}},{l:"fa",t:{"Clear search":{v:["پاک کردن جستجو"]}}},{l:"fi",t:{"Clear search":{v:["Tyhjennä haku"]}}},{l:"fr",t:{"Clear search":{v:["Effacer la recherche"]}}},{l:"ga",t:{"Clear search":{v:["Glan cuardach"]}}},{l:"gl",t:{"Clear search":{v:["Limpar a busca"]}}},{l:"he",t:{"Clear search":{v:["פינוי חיפוש"]}}},{l:"hr",t:{"Clear search":{v:["Očisti pretraživanje"]}}},{l:"hu",t:{"Clear search":{v:["Keresés törlése"]}}},{l:"id",t:{"Clear search":{v:["Bersihkan pencarian"]}}},{l:"is",t:{"Clear search":{v:["Hreinsa leit"]}}},{l:"it",t:{"Clear search":{v:["online"]}}},{l:"ja",t:{"Clear search":{v:["検索をクリア"]}}},{l:"ja-JP",t:{"Clear search":{v:["検索をクリア"]}}},{l:"ko",t:{"Clear search":{v:["검색 지우기"]}}},{l:"lo",t:{"Clear search":{v:["ລຶບການຄົ້ນຫາ"]}}},{l:"lt-LT",t:{"Clear search":{v:["Išvalyti paiešką"]}}},{l:"lv",t:{}},{l:"mk",t:{"Clear search":{v:["Исчисти пребарување"]}}},{l:"mn",t:{"Clear search":{v:["Хайлтыг цэвэрлэх"]}}},{l:"my",t:{}},{l:"nb",t:{"Clear search":{v:["Tøm søk"]}}},{l:"nl",t:{"Clear search":{v:["Zoekopdracht wissen"]}}},{l:"oc",t:{}},{l:"pl",t:{"Clear search":{v:["Wyczyść wyszukiwanie"]}}},{l:"pt-BR",t:{"Clear search":{v:["Limpar pesquisa"]}}},{l:"pt-PT",t:{"Clear search":{v:["Limpar pesquisa"]}}},{l:"ro",t:{"Clear search":{v:["Șterge căutarea"]}}},{l:"ru",t:{"Clear search":{v:["Очистить поиск"]}}},{l:"sk",t:{"Clear search":{v:["Vymazať vyhľadávanie"]}}},{l:"sl",t:{}},{l:"sr",t:{"Clear search":{v:["Обриши претрагу"]}}},{l:"sv",t:{"Clear search":{v:["Rensa sökning"]}}},{l:"tr",t:{"Clear search":{v:["Aramayı temizle"]}}},{l:"uk",t:{"Clear search":{v:["Очистити пошук"]}}},{l:"uz",t:{"Clear search":{v:["Qidiruvni tozalash"]}}},{l:"zh-CN",t:{"Clear search":{v:["清除搜索"]}}},{l:"zh-HK",t:{"Clear search":{v:["清除搜索"]}}},{l:"zh-TW",t:{"Clear search":{v:["清除搜尋"]}}}],CE=[{l:"ar",t:{"Clear text":{v:["محو النص"]},"Save changes":{v:["حفظ التغييرات"]}}},{l:"ast",t:{"Clear text":{v:["Borrar el testu"]},"Save changes":{v:["Guardar los cambeos"]}}},{l:"br",t:{}},{l:"ca",t:{"Clear text":{v:["Netejar text"]}}},{l:"cs",t:{"Clear text":{v:["Čitelný text"]},"Save changes":{v:["Uložit změny"]}}},{l:"cs-CZ",t:{"Clear text":{v:["Čitelný text"]},"Save changes":{v:["Uložit změny"]}}},{l:"da",t:{"Clear text":{v:["Ryd tekst"]},"Save changes":{v:["Gem ændringer"]}}},{l:"de",t:{"Clear text":{v:["Klartext"]},"Save changes":{v:["Änderungen speichern"]}}},{l:"de-DE",t:{"Clear text":{v:["Klartext"]},"Save changes":{v:["Änderungen speichern"]}}},{l:"el",t:{"Clear text":{v:["Εκκαθάριση κειμένου"]},"Save changes":{v:["Αποθήκευση αλλαγών"]}}},{l:"en-GB",t:{"Clear text":{v:["Clear text"]},"Save changes":{v:["Save changes"]}}},{l:"eo",t:{}},{l:"es",t:{"Clear text":{v:["Limpiar texto"]},"Save changes":{v:["Guardar cambios"]}}},{l:"es-AR",t:{"Clear text":{v:["Limpiar texto"]},"Save changes":{v:["Guardar cambios"]}}},{l:"es-EC",t:{"Clear text":{v:["Limpiar texto"]}}},{l:"es-MX",t:{"Clear text":{v:["Limpiar texto"]},"Save changes":{v:["Guardar cambios"]}}},{l:"et-EE",t:{"Clear text":{v:["Kustuta tekst"]},"Save changes":{v:["Salvesta muudatused"]}}},{l:"eu",t:{"Clear text":{v:["Garbitu testua"]}}},{l:"fa",t:{"Clear text":{v:["پاک کردن متن"]},"Save changes":{v:["ذخیرهٔ تغییرات"]}}},{l:"fi",t:{"Clear text":{v:["Tyhjennä teksti"]},"Save changes":{v:["Tallenna muutokset"]}}},{l:"fr",t:{"Clear text":{v:["Effacer le texte"]},"Save changes":{v:["Sauvegarder les changements"]}}},{l:"ga",t:{"Clear text":{v:["Glan téacs"]},"Save changes":{v:["Sabháil na hathruithe"]}}},{l:"gl",t:{"Clear text":{v:["Limpar o texto"]},"Save changes":{v:["Gardar os cambios"]}}},{l:"he",t:{"Clear text":{v:["פינוי טקסט"]}}},{l:"hr",t:{"Clear text":{v:["Očisti tekst"]},"Save changes":{v:["Spremi promjene"]}}},{l:"hu",t:{"Clear text":{v:["Szöveg törlése"]},"Save changes":{v:["Változtatások mentése"]}}},{l:"id",t:{"Clear text":{v:["Bersihkan teks"]},"Save changes":{v:["Simpan perubahan"]}}},{l:"is",t:{"Clear text":{v:["Hreinsa texta"]},"Save changes":{v:["Vista breytingar"]}}},{l:"it",t:{"Clear text":{v:["Cancella il testo"]},"Save changes":{v:["Salva le modifiche"]}}},{l:"ja",t:{"Clear text":{v:["テキストをクリア"]},"Save changes":{v:["変更を保存"]}}},{l:"ja-JP",t:{"Clear text":{v:["テキストをクリア"]},"Save changes":{v:["変更を保存"]}}},{l:"ko",t:{"Clear text":{v:["텍스트 지우기"]},"Save changes":{v:["변경 사항 저장"]}}},{l:"lo",t:{"Clear text":{v:["ລຶບຂໍ້ຄວາມ"]},"Save changes":{v:["ບັນທຶກການປ່ຽນແປງ"]}}},{l:"lt-LT",t:{"Clear text":{v:["Išvalyti tekstą"]},"Save changes":{v:["Įrašyti pakeitimus"]}}},{l:"lv",t:{}},{l:"mk",t:{"Clear text":{v:["Исчисти текст"]},"Save changes":{v:["Зачувај промени"]}}},{l:"mn",t:{"Clear text":{v:["Текстийг цэвэрлэх"]},"Save changes":{v:["Өөрчлөлтийг хадгалах"]}}},{l:"my",t:{}},{l:"nb",t:{"Clear text":{v:["Fjern tekst"]},"Save changes":{v:["Lagre endringer"]}}},{l:"nl",t:{"Clear text":{v:["Tekst wissen"]},"Save changes":{v:["Wijzigingen opslaan"]}}},{l:"oc",t:{}},{l:"pl",t:{"Clear text":{v:["Wyczyść tekst"]},"Save changes":{v:["Zapisz zmiany"]}}},{l:"pt-BR",t:{"Clear text":{v:["Limpar texto"]},"Save changes":{v:["Salvar alterações"]}}},{l:"pt-PT",t:{"Clear text":{v:["Limpar texto"]},"Save changes":{v:["Gravar alterações"]}}},{l:"ro",t:{"Clear text":{v:["Șterge textul"]},"Save changes":{v:["Salvează modificările"]}}},{l:"ru",t:{"Clear text":{v:["Очистить текст"]},"Save changes":{v:["Сохранить изменения"]}}},{l:"sk",t:{"Clear text":{v:["Vamazať text"]},"Save changes":{v:["Uložiť zmeny"]}}},{l:"sl",t:{"Clear text":{v:["Počisti besedilo"]}}},{l:"sr",t:{"Clear text":{v:["Обриши текст"]},"Save changes":{v:["Сачувај измене"]}}},{l:"sv",t:{"Clear text":{v:["Ta bort text"]},"Save changes":{v:["Spara ändringar"]}}},{l:"tr",t:{"Clear text":{v:["Metni temizle"]},"Save changes":{v:["Değişiklikleri kaydet"]}}},{l:"uk",t:{"Clear text":{v:["Очистити текст"]},"Save changes":{v:["Зберегти зміни"]}}},{l:"uz",t:{"Clear text":{v:["Matnni tozalash"]},"Save changes":{v:["O'zgarishlarni saqlang"]}}},{l:"zh-CN",t:{"Clear text":{v:["清除文本"]},"Save changes":{v:["保存修改"]}}},{l:"zh-HK",t:{"Clear text":{v:["清除文本"]},"Save changes":{v:["保存更改"]}}},{l:"zh-TW",t:{"Clear text":{v:["清除文字"]},"Save changes":{v:["儲存變更"]}}}],_E=[{l:"ar",t:{Close:{v:["إغلاق"]}}},{l:"ast",t:{Close:{v:["Zarrar"]}}},{l:"br",t:{Close:{v:["Serriñ"]}}},{l:"ca",t:{Close:{v:["Tanca"]}}},{l:"cs",t:{Close:{v:["Zavřít"]}}},{l:"cs-CZ",t:{Close:{v:["Zavřít"]}}},{l:"da",t:{Close:{v:["Luk"]}}},{l:"de",t:{Close:{v:["Schließen"]}}},{l:"de-DE",t:{Close:{v:["Schließen"]}}},{l:"el",t:{Close:{v:["Κλείσιμο"]}}},{l:"en-GB",t:{Close:{v:["Close"]}}},{l:"eo",t:{Close:{v:["Fermu"]}}},{l:"es",t:{Close:{v:["Cerrar"]}}},{l:"es-AR",t:{Close:{v:["Cerrar"]}}},{l:"es-EC",t:{Close:{v:["Cerrar"]}}},{l:"es-MX",t:{Close:{v:["Cerrar"]}}},{l:"et-EE",t:{Close:{v:["Sulge"]}}},{l:"eu",t:{Close:{v:["Itxi"]}}},{l:"fa",t:{Close:{v:["بستن"]}}},{l:"fi",t:{Close:{v:["Sulje"]}}},{l:"fr",t:{Close:{v:["Fermer"]}}},{l:"ga",t:{Close:{v:["Dún"]}}},{l:"gl",t:{Close:{v:["Pechar"]}}},{l:"he",t:{Close:{v:["סגירה"]}}},{l:"hr",t:{Close:{v:["Zatvori"]}}},{l:"hu",t:{Close:{v:["Bezárás"]}}},{l:"id",t:{Close:{v:["Tutup"]}}},{l:"is",t:{Close:{v:["Loka"]}}},{l:"it",t:{Close:{v:["Chiudi"]}}},{l:"ja",t:{Close:{v:["閉じる"]}}},{l:"ja-JP",t:{Close:{v:["閉じる"]}}},{l:"ko",t:{Close:{v:["닫기"]}}},{l:"lo",t:{Close:{v:["ປິດ"]}}},{l:"lt-LT",t:{Close:{v:["Užverti"]}}},{l:"lv",t:{Close:{v:["Aizvērt"]}}},{l:"mk",t:{Close:{v:["Затвори"]}}},{l:"mn",t:{Close:{v:["Хаах"]}}},{l:"my",t:{Close:{v:["ပိတ်ရန်"]}}},{l:"nb",t:{Close:{v:["Lukk"]}}},{l:"nl",t:{Close:{v:["Sluiten"]}}},{l:"oc",t:{Close:{v:["Tampar"]}}},{l:"pl",t:{Close:{v:["Zamknij"]}}},{l:"pt-BR",t:{Close:{v:["Fechar"]}}},{l:"pt-PT",t:{Close:{v:["Fechar"]}}},{l:"ro",t:{Close:{v:["Închideți"]}}},{l:"ru",t:{Close:{v:["Закрыть"]}}},{l:"sk",t:{Close:{v:["Zavrieť"]}}},{l:"sl",t:{Close:{v:["Zapri"]}}},{l:"sr",t:{Close:{v:["Затвори"]}}},{l:"sv",t:{Close:{v:["Stäng"]}}},{l:"tr",t:{Close:{v:["Kapat"]}}},{l:"uk",t:{Close:{v:["Закрити"]}}},{l:"uz",t:{Close:{v:["Yopish"]}}},{l:"zh-CN",t:{Close:{v:["关闭"]}}},{l:"zh-HK",t:{Close:{v:["關閉"]}}},{l:"zh-TW",t:{Close:{v:["關閉"]}}}],xE=[{l:"ar",t:{"Close navigation":{v:["إغلاق التصفح"]},"Open navigation":{v:["فتح التنقُّل"]}}},{l:"ast",t:{"Close navigation":{v:["Zarrar la navegación"]},"Open navigation":{v:["Abrir la navegación"]}}},{l:"br",t:{}},{l:"ca",t:{"Close navigation":{v:["Tanca la navegació"]},"Open navigation":{v:["Obre la navegació"]}}},{l:"cs",t:{"Close navigation":{v:["Zavřít navigaci"]},"Open navigation":{v:["Otevřít navigaci"]}}},{l:"cs-CZ",t:{"Close navigation":{v:["Zavřít navigaci"]},"Open navigation":{v:["Otevřít navigaci"]}}},{l:"da",t:{"Close navigation":{v:["Luk navigation"]},"Open navigation":{v:["Åben navigation"]}}},{l:"de",t:{"Close navigation":{v:["Navigation schließen"]},"Open navigation":{v:["Navigation öffnen"]}}},{l:"de-DE",t:{"Close navigation":{v:["Navigation schließen"]},"Open navigation":{v:["Navigation öffnen"]}}},{l:"el",t:{"Close navigation":{v:["Κλείσιμο πλοήγησης"]},"Open navigation":{v:["Άνοιγμα πλοήγησης"]}}},{l:"en-GB",t:{"Close navigation":{v:["Close navigation"]},"Open navigation":{v:["Open navigation"]}}},{l:"eo",t:{}},{l:"es",t:{"Close navigation":{v:["Cerrar navegación"]},"Open navigation":{v:["Abrir navegación"]}}},{l:"es-AR",t:{"Close navigation":{v:["Cerrar navegación"]},"Open navigation":{v:["Abrir navegación"]}}},{l:"es-EC",t:{"Close navigation":{v:["Cerrar navegación"]},"Open navigation":{v:["Abrir navegación"]}}},{l:"es-MX",t:{"Close navigation":{v:["Cerrar navegación"]},"Open navigation":{v:["Abrir navegación"]}}},{l:"et-EE",t:{"Close navigation":{v:["Sulge navigatsioon"]},"Open navigation":{v:["Ava liikumisvaade"]}}},{l:"eu",t:{"Close navigation":{v:["Itxi nabigazioa"]},"Open navigation":{v:["Ireki nabigazioa"]}}},{l:"fa",t:{"Close navigation":{v:["بستن بخش ناوبری"]},"Open navigation":{v:["باز کردن بخش ناوبری"]}}},{l:"fi",t:{"Close navigation":{v:["Sulje navigaatio"]}}},{l:"fr",t:{"Close navigation":{v:["Fermer la navigation"]},"Open navigation":{v:["Ouvrir la navigation"]}}},{l:"ga",t:{"Close navigation":{v:["Dún nascleanúint"]},"Open navigation":{v:["Oscail nascleanúint"]}}},{l:"gl",t:{"Close navigation":{v:["Pechar a navegación"]},"Open navigation":{v:["Abrir a navegación"]}}},{l:"he",t:{"Close navigation":{v:["סגירת הניווט"]},"Open navigation":{v:["פתיחת ניווט"]}}},{l:"hr",t:{"Close navigation":{v:["Zatvori navigaciju"]},"Open navigation":{v:["Otvori navigaciju"]}}},{l:"hu",t:{"Close navigation":{v:["Navigáció bezárása"]},"Open navigation":{v:["Navigáció megnyitása"]}}},{l:"id",t:{"Close navigation":{v:["Tutup navigasi"]},"Open navigation":{v:["Buka navigasi"]}}},{l:"is",t:{"Close navigation":{v:["Loka leiðsagnarsleða"]}}},{l:"it",t:{"Close navigation":{v:["Chiudi la navigazione"]},"Open navigation":{v:["Apri la navigazione"]}}},{l:"ja",t:{"Close navigation":{v:["ナビゲーションを閉じる"]},"Open navigation":{v:["ナビゲーションを開く"]}}},{l:"ja-JP",t:{"Close navigation":{v:["ナビゲーションを閉じる"]},"Open navigation":{v:["ナビゲーションを開く"]}}},{l:"ko",t:{"Close navigation":{v:["탐색 닫기"]},"Open navigation":{v:["탐색 열기"]}}},{l:"lo",t:{"Close navigation":{v:["ປິດການນຳທາງ"]},"Open navigation":{v:["ເປີດການນຳທາງ"]}}},{l:"lt-LT",t:{"Close navigation":{v:["Užverti naršymą"]},"Open navigation":{v:["Atverti naršymą"]}}},{l:"lv",t:{}},{l:"mk",t:{"Close navigation":{v:["Затвори навигација"]},"Open navigation":{v:["Отвори навигација"]}}},{l:"mn",t:{"Close navigation":{v:["Навигацийг хаах"]},"Open navigation":{v:["Навигацийг нээх"]}}},{l:"my",t:{}},{l:"nb",t:{"Close navigation":{v:["Lukk navigasjon"]},"Open navigation":{v:["Åpne navigasjon"]}}},{l:"nl",t:{"Close navigation":{v:["Navigatie sluiten"]},"Open navigation":{v:["Navigatie openen"]}}},{l:"oc",t:{}},{l:"pl",t:{"Close navigation":{v:["Zamknij nawigację"]}}},{l:"pt-BR",t:{"Close navigation":{v:["Fechar navegação"]},"Open navigation":{v:["Abrir navegação"]}}},{l:"pt-PT",t:{"Close navigation":{v:["Fechar navegação"]},"Open navigation":{v:["Abrir navegação"]}}},{l:"ro",t:{"Close navigation":{v:["Închideți navigarea"]},"Open navigation":{v:["Deschideți navigația"]}}},{l:"ru",t:{"Close navigation":{v:["Закрыть навигацию"]},"Open navigation":{v:["Открыть навигацию"]}}},{l:"sk",t:{"Close navigation":{v:["Zavrieť navigáciu"]}}},{l:"sl",t:{"Close navigation":{v:["Zapri krmarjenje"]},"Open navigation":{v:["Odpri krmarjenje"]}}},{l:"sr",t:{"Close navigation":{v:["Затвори навигацију"]},"Open navigation":{v:["Отвори навигацију"]}}},{l:"sv",t:{"Close navigation":{v:["Stäng navigering"]},"Open navigation":{v:["Öppna navigering"]}}},{l:"tr",t:{"Close navigation":{v:["Gezinmeyi kapat"]},"Open navigation":{v:["Gezinmeyi aç"]}}},{l:"uk",t:{"Close navigation":{v:["Закрити навігацію"]},"Open navigation":{v:["Перейти до навігації"]}}},{l:"uz",t:{"Close navigation":{v:["Navigatsiyani yopish"]},"Open navigation":{v:["Navigatsiyani oching"]}}},{l:"zh-CN",t:{"Close navigation":{v:["关闭导航"]}}},{l:"zh-HK",t:{"Close navigation":{v:["關閉導航"]},"Open navigation":{v:["開啟導航"]}}},{l:"zh-TW",t:{"Close navigation":{v:["關閉導航"]},"Open navigation":{v:["開啟導航"]}}}],AE=[{l:"ar",t:{"Collapse menu":{v:["طي القائمة"]},"Open menu":{v:["إفتَح القائمة"]}}},{l:"ast",t:{"Collapse menu":{v:["Recoyer el menú"]},"Open menu":{v:["Abrir le menú"]}}},{l:"br",t:{}},{l:"ca",t:{}},{l:"cs",t:{"Collapse menu":{v:["Sbalit nabídku"]},"Open menu":{v:["Otevřít nabídku"]}}},{l:"cs-CZ",t:{"Collapse menu":{v:["Sbalit nabídku"]},"Open menu":{v:["Otevřít nabídku"]}}},{l:"da",t:{"Collapse menu":{v:["Skjul menuen"]},"Open menu":{v:["Åben menu"]}}},{l:"de",t:{"Collapse menu":{v:["Menü einklappen"]},"Open menu":{v:["Menü öffnen"]}}},{l:"de-DE",t:{"Collapse menu":{v:["Menü einklappen"]},"Open menu":{v:["Menü öffnen"]}}},{l:"el",t:{"Collapse menu":{v:["Σύμπτυξη μενού"]},"Open menu":{v:["Άνοιγμα μενού"]}}},{l:"en-GB",t:{"Collapse menu":{v:["Collapse menu"]},"Open menu":{v:["Open menu"]}}},{l:"eo",t:{}},{l:"es",t:{"Collapse menu":{v:["Ocultar menú"]},"Open menu":{v:["Abrir menú"]}}},{l:"es-AR",t:{"Collapse menu":{v:["Ocultar menú"]},"Open menu":{v:["Abrir menú"]}}},{l:"es-EC",t:{"Collapse menu":{v:["Ocultar menú"]},"Open menu":{v:["Abrir menú"]}}},{l:"es-MX",t:{"Collapse menu":{v:["Ocultar menú"]},"Open menu":{v:["Abrir menú"]}}},{l:"et-EE",t:{"Collapse menu":{v:["Ahenda menüü"]},"Open menu":{v:["Ava menüü"]}}},{l:"eu",t:{"Collapse menu":{v:["Tolestu menua"]},"Open menu":{v:["Ireki menua"]}}},{l:"fa",t:{"Collapse menu":{v:["بستن فهرست"]},"Open menu":{v:["باز کردن فهرست"]}}},{l:"fi",t:{"Collapse menu":{v:["Supista valikko"]},"Open menu":{v:["Avaa valikko"]}}},{l:"fr",t:{"Collapse menu":{v:["Réduire le menu"]},"Open menu":{v:["Ouvrir le menu"]}}},{l:"ga",t:{"Collapse menu":{v:["Roghchlár Laghdaigh"]},"Open menu":{v:["Roghchlár a oscailt"]}}},{l:"gl",t:{"Collapse menu":{v:["Contraer o menú"]},"Open menu":{v:["Abrir o menú"]}}},{l:"he",t:{"Collapse menu":{v:["צמצום התפריט"]},"Open menu":{v:["פתיחת תפריט"]}}},{l:"hr",t:{"Collapse menu":{v:["Sakrij izbornik"]},"Open menu":{v:["Otvori izbornik"]}}},{l:"hu",t:{"Collapse menu":{v:["Menü összecsukása"]},"Open menu":{v:["Menü megnyitása"]}}},{l:"id",t:{"Collapse menu":{v:["Ciutkan menu"]},"Open menu":{v:["Buka menu"]}}},{l:"is",t:{"Collapse menu":{v:["Fella valmynd saman"]},"Open menu":{v:["Opna valmynd"]}}},{l:"it",t:{"Collapse menu":{v:["Chiudi Menu"]},"Open menu":{v:["Apri il menu"]}}},{l:"ja",t:{"Collapse menu":{v:["メニューの折りたたみ"]},"Open menu":{v:["メニューを開く"]}}},{l:"ja-JP",t:{"Collapse menu":{v:["メニューの折りたたみ"]},"Open menu":{v:["メニューを開く"]}}},{l:"ko",t:{"Collapse menu":{v:["메뉴 접기"]},"Open menu":{v:["메뉴 열기"]}}},{l:"lo",t:{"Collapse menu":{v:["ຫຍໍ້ເມນູ"]},"Open menu":{v:["ເປີດເມນູ"]}}},{l:"lt-LT",t:{"Collapse menu":{v:["Suskleisti meniu"]},"Open menu":{v:["Atverti meniu"]}}},{l:"lv",t:{}},{l:"mk",t:{"Collapse menu":{v:["Скриј мени"]},"Open menu":{v:["Отвори мени"]}}},{l:"mn",t:{"Collapse menu":{v:["Цэсийг хураах"]},"Open menu":{v:["Цэсийг нээх"]}}},{l:"my",t:{}},{l:"nb",t:{"Collapse menu":{v:["Skjul meny"]},"Open menu":{v:["Åpne meny"]}}},{l:"nl",t:{"Collapse menu":{v:["Menu inklappen"]},"Open menu":{v:["Menu openen"]}}},{l:"oc",t:{}},{l:"pl",t:{"Collapse menu":{v:["Zwiń menu"]},"Open menu":{v:["Otwórz menu"]}}},{l:"pt-BR",t:{"Collapse menu":{v:["Recolher menu"]},"Open menu":{v:["Abrir menu"]}}},{l:"pt-PT",t:{"Collapse menu":{v:["Ocultar menu"]},"Open menu":{v:["Abrir menu"]}}},{l:"ro",t:{"Collapse menu":{v:["Restrânge meniul"]},"Open menu":{v:["Deschide meniul"]}}},{l:"ru",t:{"Collapse menu":{v:["Свернуть меню"]},"Open menu":{v:["Открыть меню"]}}},{l:"sk",t:{"Collapse menu":{v:["Zbaliť menu"]},"Open menu":{v:["Otvoriť menu"]}}},{l:"sl",t:{}},{l:"sr",t:{"Collapse menu":{v:["Сажми мени"]},"Open menu":{v:["Отвори мени"]}}},{l:"sv",t:{"Collapse menu":{v:["Dölj menyn"]},"Open menu":{v:["Öppna menyn"]}}},{l:"tr",t:{"Collapse menu":{v:["Menüyü daralt"]},"Open menu":{v:["Menüyü aç"]}}},{l:"uk",t:{"Collapse menu":{v:["Згорнути меню"]},"Open menu":{v:["Відкрити меню"]}}},{l:"uz",t:{"Collapse menu":{v:["Menyuni yig‘ish"]},"Open menu":{v:["Menyuni oching"]}}},{l:"zh-CN",t:{"Collapse menu":{v:["收起菜单"]},"Open menu":{v:["打开菜单"]}}},{l:"zh-HK",t:{"Collapse menu":{v:["折疊選單"]},"Open menu":{v:["開啟選單"]}}},{l:"zh-TW",t:{"Collapse menu":{v:["折疊選單"]},"Open menu":{v:["開啟選單"]}}}],SE=[{l:"ar",t:{"Edit item":{v:["تعديل عنصر"]}}},{l:"ast",t:{"Edit item":{v:["Editar l'elementu"]}}},{l:"br",t:{}},{l:"ca",t:{"Edit item":{v:["Edita l'element"]}}},{l:"cs",t:{"Edit item":{v:["Upravit položku"]}}},{l:"cs-CZ",t:{"Edit item":{v:["Upravit položku"]}}},{l:"da",t:{"Edit item":{v:["Rediger emne"]}}},{l:"de",t:{"Edit item":{v:["Element bearbeiten"]}}},{l:"de-DE",t:{"Edit item":{v:["Element bearbeiten"]}}},{l:"el",t:{"Edit item":{v:["Επεξεργασία αντικειμένου"]}}},{l:"en-GB",t:{"Edit item":{v:["Edit item"]}}},{l:"eo",t:{}},{l:"es",t:{"Edit item":{v:["Editar elemento"]}}},{l:"es-AR",t:{"Edit item":{v:["Editar elemento"]}}},{l:"es-EC",t:{"Edit item":{v:["Editar elemento"]}}},{l:"es-MX",t:{"Edit item":{v:["Editar elemento"]}}},{l:"et-EE",t:{"Edit item":{v:["Muuda objekti"]}}},{l:"eu",t:{"Edit item":{v:["Editatu elementua"]}}},{l:"fa",t:{"Edit item":{v:["ویرایش مورد"]}}},{l:"fi",t:{"Edit item":{v:["Muokkaa kohdetta"]}}},{l:"fr",t:{"Edit item":{v:["Éditer l'élément"]}}},{l:"ga",t:{"Edit item":{v:["Cuir mír in eagar"]}}},{l:"gl",t:{"Edit item":{v:["Editar o elemento"]}}},{l:"he",t:{"Edit item":{v:["עריכת פריט"]}}},{l:"hr",t:{"Edit item":{v:["Uredi stavku"]}}},{l:"hu",t:{"Edit item":{v:["Elem szerkesztése"]}}},{l:"id",t:{"Edit item":{v:["Edit item"]}}},{l:"is",t:{"Edit item":{v:["Breyta atriði"]}}},{l:"it",t:{"Edit item":{v:["Modifica l'elemento"]}}},{l:"ja",t:{"Edit item":{v:["編集"]}}},{l:"ja-JP",t:{"Edit item":{v:["編集"]}}},{l:"ko",t:{"Edit item":{v:["항목 수정"]}}},{l:"lo",t:{"Edit item":{v:["ແກ້ໄຂລາຍການ"]}}},{l:"lt-LT",t:{"Edit item":{v:["Taisyti elementą"]}}},{l:"lv",t:{}},{l:"mk",t:{"Edit item":{v:["Уреди"]}}},{l:"mn",t:{"Edit item":{v:["Зүйлийг засварлах"]}}},{l:"my",t:{}},{l:"nb",t:{"Edit item":{v:["Rediger"]}}},{l:"nl",t:{"Edit item":{v:["Item bewerken"]}}},{l:"oc",t:{}},{l:"pl",t:{"Edit item":{v:["Edytuj element"]}}},{l:"pt-BR",t:{"Edit item":{v:["Editar item"]}}},{l:"pt-PT",t:{"Edit item":{v:["Editar item"]}}},{l:"ro",t:{"Edit item":{v:["Editați elementul"]}}},{l:"ru",t:{"Edit item":{v:["Изменить элемент"]}}},{l:"sk",t:{"Edit item":{v:["Upraviť položku"]}}},{l:"sl",t:{"Edit item":{v:["Uredi predmet"]}}},{l:"sr",t:{"Edit item":{v:["Уреди ставку"]}}},{l:"sv",t:{"Edit item":{v:["Redigera objekt"]}}},{l:"tr",t:{"Edit item":{v:["Ögeyi düzenle"]}}},{l:"uk",t:{"Edit item":{v:["Редагувати елемент"]}}},{l:"uz",t:{"Edit item":{v:["Elementni tahrirlash"]}}},{l:"zh-CN",t:{"Edit item":{v:["编辑项目"]}}},{l:"zh-HK",t:{"Edit item":{v:["編輯項目"]}}},{l:"zh-TW",t:{"Edit item":{v:["編輯項目"]}}}],kE=[{l:"ar",t:{"Go back to the list":{v:["عودة إلى القائمة"]}}},{l:"ast",t:{"Go back to the list":{v:["Volver a la llista"]}}},{l:"br",t:{}},{l:"ca",t:{"Go back to the list":{v:["Torna a la llista"]}}},{l:"cs",t:{"Go back to the list":{v:["Jít zpět na seznam"]}}},{l:"cs-CZ",t:{"Go back to the list":{v:["Jít zpět na seznam"]}}},{l:"da",t:{"Go back to the list":{v:["Tilbage til listen"]}}},{l:"de",t:{"Go back to the list":{v:["Zurück zur Liste"]}}},{l:"de-DE",t:{"Go back to the list":{v:["Zurück zur Liste"]}}},{l:"el",t:{"Go back to the list":{v:["Επιστροφή στην αρχική λίστα"]}}},{l:"en-GB",t:{"Go back to the list":{v:["Go back to the list"]}}},{l:"eo",t:{}},{l:"es",t:{"Go back to the list":{v:["Volver a la lista"]}}},{l:"es-AR",t:{"Go back to the list":{v:["Volver a la lista"]}}},{l:"es-EC",t:{"Go back to the list":{v:["Volver a la lista"]}}},{l:"es-MX",t:{"Go back to the list":{v:["Regresar a la lista"]}}},{l:"et-EE",t:{"Go back to the list":{v:["Tagasi nimekirja juurde"]}}},{l:"eu",t:{"Go back to the list":{v:["Bueltatu zerrendara"]}}},{l:"fa",t:{"Go back to the list":{v:["برگشت به لیست"]}}},{l:"fi",t:{"Go back to the list":{v:["Takaisin listaan"]}}},{l:"fr",t:{"Go back to the list":{v:["Retourner à la liste"]}}},{l:"ga",t:{"Go back to the list":{v:["Téigh ar ais go dtí an liosta"]}}},{l:"gl",t:{"Go back to the list":{v:["Volver á lista"]}}},{l:"he",t:{"Go back to the list":{v:["חזרה לרשימה"]}}},{l:"hr",t:{"Go back to the list":{v:["Vrati se na popis"]}}},{l:"hu",t:{"Go back to the list":{v:["Ugrás vissza a listához"]}}},{l:"id",t:{"Go back to the list":{v:["Kembali ke daftar"]}}},{l:"is",t:{"Go back to the list":{v:["Fara til baka í listann"]}}},{l:"it",t:{"Go back to the list":{v:["Torna all'elenco"]}}},{l:"ja",t:{"Go back to the list":{v:["リストに戻る"]}}},{l:"ja-JP",t:{"Go back to the list":{v:["リストに戻る"]}}},{l:"ko",t:{"Go back to the list":{v:["목록으로 돌아가기"]}}},{l:"lo",t:{"Go back to the list":{v:["ກັບໄປທີ່ລາຍການ"]}}},{l:"lt-LT",t:{"Go back to the list":{v:["Grįžti į sąrašą"]}}},{l:"lv",t:{}},{l:"mk",t:{"Go back to the list":{v:["Врати се на листата"]}}},{l:"mn",t:{"Go back to the list":{v:["Жагсаалт руу буцах"]}}},{l:"my",t:{}},{l:"nb",t:{"Go back to the list":{v:["Gå tilbake til listen"]}}},{l:"nl",t:{"Go back to the list":{v:["Ga terug naar de lijst"]}}},{l:"oc",t:{}},{l:"pl",t:{"Go back to the list":{v:["Powrót do listy"]}}},{l:"pt-BR",t:{"Go back to the list":{v:["Voltar para a lista"]}}},{l:"pt-PT",t:{"Go back to the list":{v:["Voltar para a lista"]}}},{l:"ro",t:{"Go back to the list":{v:["Întoarceți-vă la listă"]}}},{l:"ru",t:{"Go back to the list":{v:["Вернуться к списку"]}}},{l:"sk",t:{"Go back to the list":{v:["Späť na zoznam"]}}},{l:"sl",t:{"Go back to the list":{v:["Vrni se na seznam"]}}},{l:"sr",t:{"Go back to the list":{v:["Назад на листу"]}}},{l:"sv",t:{"Go back to the list":{v:["Gå tillbaka till listan"]}}},{l:"tr",t:{"Go back to the list":{v:["Listeye dön"]}}},{l:"uk",t:{"Go back to the list":{v:["Повернутися до списку"]}}},{l:"uz",t:{"Go back to the list":{v:["Ro'yxatga qayting"]}}},{l:"zh-CN",t:{"Go back to the list":{v:["返回至列表"]}}},{l:"zh-HK",t:{"Go back to the list":{v:["返回清單"]}}},{l:"zh-TW",t:{"Go back to the list":{v:["回到清單"]}}}],TE=[{l:"ar",t:{"Keyboard navigation help":{v:["مساعدة في التنقل باستعمال لوحة المفاتيح"]},"Skip to app navigation":{v:["تجاوَز إلى التنقل في التطبيق"]},"Skip to main content":{v:["تجاوَز إلى المحتوى الرئيسي"]}}},{l:"ast",t:{"Keyboard navigation help":{v:["Ayuda de la navegación pente'l tecláu"]},"Skip to app navigation":{v:["Dir a la navegación d'aplicaciones"]},"Skip to main content":{v:["Dir al conteníu principal"]}}},{l:"br",t:{}},{l:"ca",t:{}},{l:"cs",t:{"Keyboard navigation help":{v:["Nápověda pro pohyb pomocí klávesnice"]},"Skip to app navigation":{v:["Přeskočit na navigaci aplikace"]},"Skip to main content":{v:["Přeskočit na hlavní obsah"]}}},{l:"cs-CZ",t:{"Keyboard navigation help":{v:["Nápověda pro pohyb pomocí klávesnice"]},"Skip to app navigation":{v:["Přeskočit na navigaci aplikace"]},"Skip to main content":{v:["Přeskočit na hlavní obsah"]}}},{l:"da",t:{"Keyboard navigation help":{v:["Hjælp til tastaturnavigation"]},"Skip to app navigation":{v:["Spring til app navigation"]},"Skip to main content":{v:["Spring til hovedindhold"]}}},{l:"de",t:{"Keyboard navigation help":{v:["Tastatur-Navigationshilfe"]},"Skip to app navigation":{v:["Zur App-Navigation springen"]},"Skip to main content":{v:["Zum Hauptinhalt springen"]}}},{l:"de-DE",t:{"Keyboard navigation help":{v:["Tastatur-Navigationshilfe"]},"Skip to app navigation":{v:["Zur App-Navigation springen"]},"Skip to main content":{v:["Zum Hauptinhalt springen"]}}},{l:"el",t:{"Keyboard navigation help":{v:["Βοήθεια πλοήγησης με πληκτρολόγιο"]},"Skip to app navigation":{v:["Μετάβαση στην πλοήγηση της εφαρμογής"]},"Skip to main content":{v:["Μετάβαση στο κύριο περιεχόμενο"]}}},{l:"en-GB",t:{"Keyboard navigation help":{v:["Keyboard navigation help"]},"Skip to app navigation":{v:["Skip to app navigation"]},"Skip to main content":{v:["Skip to main content"]}}},{l:"eo",t:{}},{l:"es",t:{"Keyboard navigation help":{v:["Ayuda de navegación del teclado"]},"Skip to app navigation":{v:["Saltar a la navegación de apps"]},"Skip to main content":{v:["Saltar al contenido principal"]}}},{l:"es-AR",t:{"Keyboard navigation help":{v:["Ayuda de navegación del teclado"]},"Skip to app navigation":{v:["Saltar a la navegación de app"]},"Skip to main content":{v:["Saltar al contenido principal"]}}},{l:"es-EC",t:{}},{l:"es-MX",t:{"Keyboard navigation help":{v:["Ayuda de navegación del teclado"]},"Skip to app navigation":{v:["Saltar a la navegación de app"]},"Skip to main content":{v:["Saltar al contenido principal"]}}},{l:"et-EE",t:{"Keyboard navigation help":{v:["Klahvistiku kasutuse abiteave"]},"Skip to app navigation":{v:["Suundu rakenduses liikumise valikute juurde"]},"Skip to main content":{v:["Suundu põhisisu juurde"]}}},{l:"eu",t:{}},{l:"fa",t:{"Keyboard navigation help":{v:["راهنمای ناوبری صفحه کلید"]},"Skip to app navigation":{v:["رفتن به پیمایش برنامه"]},"Skip to main content":{v:["رفتن به محتوای اصلی"]}}},{l:"fi",t:{"Keyboard navigation help":{v:["Näppäimistönavigoinnin ohje"]},"Skip to app navigation":{v:["Siirry sovelluksen navigaatioon"]},"Skip to main content":{v:["Siirry pääsisältöön"]}}},{l:"fr",t:{"Keyboard navigation help":{v:["Aide à la navigation du clavier"]},"Skip to app navigation":{v:["Passer à l'app navigation"]},"Skip to main content":{v:["Passer au contenu principal"]}}},{l:"ga",t:{"Keyboard navigation help":{v:["Cabhair le nascleanúint méarchláir"]},"Skip to app navigation":{v:["Téigh ar aghaidh chuig nascleanúint aip"]},"Skip to main content":{v:["Téigh ar aghaidh chuig an bpríomhábhar"]}}},{l:"gl",t:{"Keyboard navigation help":{v:["Axuda á navegación co teclado"]},"Skip to app navigation":{v:["Ir á navegación da aplicación"]},"Skip to main content":{v:["Ir ao contido principal"]}}},{l:"he",t:{}},{l:"hr",t:{"Keyboard navigation help":{v:["Pomoć za navigaciju tipkovnicom"]},"Skip to app navigation":{v:["Preskoči na navigaciju aplikacije"]},"Skip to main content":{v:["Preskoči na glavni sadržaj"]}}},{l:"hu",t:{"Keyboard navigation help":{v:["Billentyűzetes navigáció súgója"]},"Skip to app navigation":{v:["Ugrás az alkalmazásnavigációhoz"]},"Skip to main content":{v:["Ugrás a fő tartalomhoz"]}}},{l:"id",t:{"Keyboard navigation help":{v:["Bantuan navigasi keyboard"]},"Skip to app navigation":{v:["Lewati ke navigasi aplikasi"]},"Skip to main content":{v:["Lewati ke konten utama"]}}},{l:"is",t:{"Keyboard navigation help":{v:["Aðstoð við rötun á lyklaborði"]},"Skip to app navigation":{v:["Sleppa og fara í flakk innan forrits"]},"Skip to main content":{v:["Sleppa og fara í meginefni"]}}},{l:"it",t:{}},{l:"ja",t:{"Keyboard navigation help":{v:["キーボード・ナビゲーション・ヘルプ"]},"Skip to app navigation":{v:["アプリのナビゲーションへ移動"]},"Skip to main content":{v:["メインコンテンツへ移動"]}}},{l:"ja-JP",t:{"Keyboard navigation help":{v:["キーボード・ナビゲーション・ヘルプ"]},"Skip to app navigation":{v:["アプリのナビゲーションへ移動"]},"Skip to main content":{v:["メインコンテンツへ移動"]}}},{l:"ko",t:{"Keyboard navigation help":{v:["키보드 탐색 도움말"]},"Skip to app navigation":{v:["앱 탐색으로 건너뛰기"]},"Skip to main content":{v:["본 내용으로 건너뛰기"]}}},{l:"lo",t:{"Keyboard navigation help":{v:["ການຊ່ວຍເຫຼືອການນຳທາງດ້ວຍຄີບອດ"]},"Skip to app navigation":{v:["ຂ້າມໄປທີ່ການນຳທາງຂອງແອັບ"]},"Skip to main content":{v:["ຂ້າມໄປທີ່ເນື້ອຫາຫຼັກ"]}}},{l:"lt-LT",t:{"Keyboard navigation help":{v:["Klaviatūros navigacijos pagalba"]},"Skip to app navigation":{v:["Pereiti prie programėlės naršymo"]},"Skip to main content":{v:["Pereiti prie pagrindinio turinio"]}}},{l:"lv",t:{}},{l:"mk",t:{"Keyboard navigation help":{v:["Навигација со тастатура"]},"Skip to app navigation":{v:["Прескокни на навигација на апликацијата"]},"Skip to main content":{v:["Прескокни на главна содржина"]}}},{l:"mn",t:{"Keyboard navigation help":{v:["Гарын навигацийн тусламж"]},"Skip to app navigation":{v:["Аппын навигаци руу алгасах"]},"Skip to main content":{v:["Үндсэн агуулга руу алгасах"]}}},{l:"my",t:{}},{l:"nb",t:{"Keyboard navigation help":{v:["Hjelp for tastaturnavigering"]},"Skip to app navigation":{v:["Hopp til appnavigering"]},"Skip to main content":{v:["Hopp til hovedinnhold"]}}},{l:"nl",t:{"Keyboard navigation help":{v:["Hulp voor toetsenbordnavigatie"]},"Skip to app navigation":{v:["Doorgaan naar app-navigatie"]},"Skip to main content":{v:["Naar hoofdinhoud gaan"]}}},{l:"oc",t:{}},{l:"pl",t:{"Keyboard navigation help":{v:["Pomoc w nawigacji za pomocą klawiatury"]},"Skip to app navigation":{v:["Przewiń do nawigacji"]},"Skip to main content":{v:["Przewiń do głównych treści"]}}},{l:"pt-BR",t:{"Keyboard navigation help":{v:["Ajuda para navegação pelo teclado"]},"Skip to app navigation":{v:["Ir para navegação de aplicativo"]},"Skip to main content":{v:["Ir para conteúdo principal"]}}},{l:"pt-PT",t:{"Keyboard navigation help":{v:["Ajuda à navegação no teclado"]},"Skip to app navigation":{v:["Saltar para navegação da app"]},"Skip to main content":{v:["Saltar para conteúdo principal"]}}},{l:"ro",t:{}},{l:"ru",t:{"Keyboard navigation help":{v:["Справка по навигации с помощью клавиатуры"]},"Skip to app navigation":{v:["Перейти к навигации по приложению"]},"Skip to main content":{v:["Перейти к основному содержанию"]}}},{l:"sk",t:{"Keyboard navigation help":{v:["Pomoc pri navigácii pomocou klávesnice"]},"Skip to app navigation":{v:["Preskočiť na navigáciu v aplikácii"]},"Skip to main content":{v:["Preskočiť na hlavný obsah"]}}},{l:"sl",t:{}},{l:"sr",t:{"Keyboard navigation help":{v:["Помоћ за навигацију тастатуром"]},"Skip to app navigation":{v:["Прескочи на навигацију апликацијом"]},"Skip to main content":{v:["Прескочи на главни садржај"]}}},{l:"sv",t:{"Keyboard navigation help":{v:["Hjälp med tangentbordsnavigering"]},"Skip to app navigation":{v:["Hoppa till appnavigering"]},"Skip to main content":{v:["Hoppa till huvudinnehåll"]}}},{l:"tr",t:{"Keyboard navigation help":{v:["Klavye ile gezinme yardımı"]},"Skip to app navigation":{v:["Uygulama gezinmesine git"]},"Skip to main content":{v:["Ana içeriğe git"]}}},{l:"uk",t:{"Keyboard navigation help":{v:["Допомога з навігацією клавішами"]},"Skip to app navigation":{v:["Пропустити навігацію по застосунках"]},"Skip to main content":{v:["Перейти одразу до головного вмісту"]}}},{l:"uz",t:{"Keyboard navigation help":{v:["Klaviatura navigatsiyasi yordami"]},"Skip to app navigation":{v:["Ilova navigatsiyasiga oʻtish"]},"Skip to main content":{v:["Asosiy tarkibga o'tish"]}}},{l:"zh-CN",t:{"Keyboard navigation help":{v:["键盘导航栏帮助"]},"Skip to app navigation":{v:["跳转至应用程序导航页"]},"Skip to main content":{v:["跳转至主要内容"]}}},{l:"zh-HK",t:{"Keyboard navigation help":{v:["鍵盤導航幫助"]},"Skip to app navigation":{v:["跳至應用程式導航"]},"Skip to main content":{v:["跳至主要內容"]}}},{l:"zh-TW",t:{"Keyboard navigation help":{v:["鍵盤導航說明"]},"Skip to app navigation":{v:["略過應用程式導覽"]},"Skip to main content":{v:["跳至主要內容"]}}}],NE=[{l:"ar",t:{"Loading …":{v:["التحميل جارٍ ..."]}}},{l:"ast",t:{}},{l:"br",t:{}},{l:"ca",t:{}},{l:"cs",t:{"Loading …":{v:["Načítání …"]}}},{l:"cs-CZ",t:{}},{l:"da",t:{"Loading …":{v:["Indlæser ..."]}}},{l:"de",t:{"Loading …":{v:["Wird geladen …"]}}},{l:"de-DE",t:{"Loading …":{v:["Wird geladen …"]}}},{l:"el",t:{"Loading …":{v:["Φόρτωση  …"]}}},{l:"en-GB",t:{"Loading …":{v:["Loading …"]}}},{l:"eo",t:{}},{l:"es",t:{}},{l:"es-AR",t:{}},{l:"es-EC",t:{}},{l:"es-MX",t:{}},{l:"et-EE",t:{"Loading …":{v:["Laadin…"]}}},{l:"eu",t:{}},{l:"fa",t:{"Loading …":{v:["در حال بارگذاری ..."]}}},{l:"fi",t:{"Loading …":{v:["Ladataan ..."]}}},{l:"fr",t:{"Loading …":{v:["Chargement..."]}}},{l:"ga",t:{"Loading …":{v:["Ag lódáil …"]}}},{l:"gl",t:{"Loading …":{v:["Cargando…"]}}},{l:"he",t:{}},{l:"hr",t:{"Loading …":{v:["Učitavanje …"]}}},{l:"hu",t:{"Loading …":{v:["Betöltés…"]}}},{l:"id",t:{"Loading …":{v:["Memuat …"]}}},{l:"is",t:{"Loading …":{v:["Hleð inn …"]}}},{l:"it",t:{}},{l:"ja",t:{"Loading …":{v:["読み込み中 …"]}}},{l:"ja-JP",t:{}},{l:"ko",t:{"Loading …":{v:["로딩 중 ..."]}}},{l:"lo",t:{"Loading …":{v:["ກຳລັງໂຫຼດ…"]}}},{l:"lt-LT",t:{"Loading …":{v:["Įkeliama …"]}}},{l:"lv",t:{}},{l:"mk",t:{"Loading …":{v:["Вчитување …"]}}},{l:"mn",t:{"Loading …":{v:["Ачаалж байна …"]}}},{l:"my",t:{}},{l:"nb",t:{"Loading …":{v:["Laster inn..."]}}},{l:"nl",t:{"Loading …":{v:["Laden …"]}}},{l:"oc",t:{}},{l:"pl",t:{"Loading …":{v:["Wczytywanie…"]}}},{l:"pt-BR",t:{"Loading …":{v:["Carregando …"]}}},{l:"pt-PT",t:{"Loading …":{v:["A carregar..."]}}},{l:"ro",t:{}},{l:"ru",t:{"Loading …":{v:["Загрузка …"]}}},{l:"sk",t:{"Loading …":{v:["Nahrávam ..."]}}},{l:"sl",t:{}},{l:"sr",t:{"Loading …":{v:["Учитава се…"]}}},{l:"sv",t:{"Loading …":{v:["Laddar …"]}}},{l:"tr",t:{"Loading …":{v:["Yükleniyor…"]}}},{l:"uk",t:{"Loading …":{v:["Завантаження …"]}}},{l:"uz",t:{"Loading …":{v:["Yuklanmoqda..."]}}},{l:"zh-CN",t:{"Loading …":{v:["加载中..."]}}},{l:"zh-HK",t:{"Loading …":{v:["加載中 …"]}}},{l:"zh-TW",t:{"Loading …":{v:["載入中......"]}}}],DE=[{l:"ar",t:{Next:{v:["التالي"]},"Pause slideshow":{v:["تجميد عرض الشرائح"]},Previous:{v:["السابق"]},"Start slideshow":{v:["إبدإ العرض"]}}},{l:"ast",t:{Next:{v:["Siguiente"]},"Pause slideshow":{v:["Posar la presentación de diapositives"]},Previous:{v:["Anterior"]},"Start slideshow":{v:["Aniciar la presentación de diapositives"]}}},{l:"br",t:{Next:{v:["Da heul"]},"Pause slideshow":{v:["Arsav an diaporama"]},Previous:{v:["A-raok"]},"Start slideshow":{v:["Kregiñ an diaporama"]}}},{l:"ca",t:{Next:{v:["Següent"]},"Pause slideshow":{v:["Atura la presentació"]},Previous:{v:["Anterior"]},"Start slideshow":{v:["Inicia la presentació"]}}},{l:"cs",t:{Next:{v:["Následující"]},"Pause slideshow":{v:["Pozastavit prezentaci"]},Previous:{v:["Předchozí"]},"Start slideshow":{v:["Spustit prezentaci"]}}},{l:"cs-CZ",t:{Next:{v:["Následující"]},"Pause slideshow":{v:["Pozastavit prezentaci"]},Previous:{v:["Předchozí"]},"Start slideshow":{v:["Spustit prezentaci"]}}},{l:"da",t:{Next:{v:["Videre"]},"Pause slideshow":{v:["Suspender fremvisning"]},Previous:{v:["Forrige"]},"Start slideshow":{v:["Start fremvisning"]}}},{l:"de",t:{Next:{v:["Weiter"]},"Pause slideshow":{v:["Diashow pausieren"]},Previous:{v:["Vorherige"]},"Start slideshow":{v:["Diashow starten"]}}},{l:"de-DE",t:{Next:{v:["Weiter"]},"Pause slideshow":{v:["Diashow pausieren"]},Previous:{v:["Vorherige"]},"Start slideshow":{v:["Diashow starten"]}}},{l:"el",t:{Next:{v:["Επόμενο"]},"Pause slideshow":{v:["Παύση προβολής διαφανειών"]},Previous:{v:["Προηγούμενο"]},"Start slideshow":{v:["Έναρξη προβολής διαφανειών"]}}},{l:"en-GB",t:{Next:{v:["Next"]},"Pause slideshow":{v:["Pause slideshow"]},Previous:{v:["Previous"]},"Start slideshow":{v:["Start slideshow"]}}},{l:"eo",t:{Next:{v:["Sekva"]},"Pause slideshow":{v:["Payzi bildprezenton"]},Previous:{v:["Antaŭa"]},"Start slideshow":{v:["Komenci bildprezenton"]}}},{l:"es",t:{Next:{v:["Siguiente"]},"Pause slideshow":{v:["Pausar la presentación "]},Previous:{v:["Anterior"]},"Start slideshow":{v:["Iniciar la presentación"]}}},{l:"es-AR",t:{Next:{v:["Siguiente"]},"Pause slideshow":{v:["Pausar la presentación "]},Previous:{v:["Anterior"]},"Start slideshow":{v:["Iniciar la presentación"]}}},{l:"es-EC",t:{Next:{v:["Siguiente"]},"Pause slideshow":{v:["Pausar presentación de diapositivas"]},Previous:{v:["Anterior"]},"Start slideshow":{v:["Iniciar presentación de diapositivas"]}}},{l:"es-MX",t:{Next:{v:["Siguiente"]},"Pause slideshow":{v:["Pausar presentación de diapositivas"]},Previous:{v:["Anterior"]},"Start slideshow":{v:["Iniciar presentación de diapositivas"]}}},{l:"et-EE",t:{Next:{v:["Edasi"]},"Pause slideshow":{v:["Slaidiesitluse paus"]},Previous:{v:["Eelmine"]},"Start slideshow":{v:["Alusta slaidiesitust"]}}},{l:"eu",t:{Next:{v:["Hurrengoa"]},"Pause slideshow":{v:["Pausatu diaporama"]},Previous:{v:["Aurrekoa"]},"Start slideshow":{v:["Hasi diaporama"]}}},{l:"fa",t:{Next:{v:["بعدی"]},"Pause slideshow":{v:["توقف نمایش اسلاید"]},Previous:{v:["قبلی"]},"Start slideshow":{v:["شروع نمایش اسلاید"]}}},{l:"fi",t:{Next:{v:["Seuraava"]},"Pause slideshow":{v:["Keskeytä diaesitys"]},Previous:{v:["Edellinen"]},"Start slideshow":{v:["Aloita diaesitys"]}}},{l:"fr",t:{Next:{v:["Suivant"]},"Pause slideshow":{v:["Mettre le diaporama en pause"]},Previous:{v:["Précédent"]},"Start slideshow":{v:["Démarrer le diaporama"]}}},{l:"ga",t:{Next:{v:["Ar aghaidh"]},"Pause slideshow":{v:["Cuir taispeántas sleamhnán ar sos"]},Previous:{v:["Roimhe Seo"]},"Start slideshow":{v:["Tosaigh taispeántas sleamhnán"]}}},{l:"gl",t:{Next:{v:["Seguinte"]},"Pause slideshow":{v:["Pausar o diaporama"]},Previous:{v:["Anterir"]},"Start slideshow":{v:["Iniciar o diaporama"]}}},{l:"he",t:{Next:{v:["הבא"]},"Pause slideshow":{v:["השהיית מצגת"]},Previous:{v:["הקודם"]},"Start slideshow":{v:["התחלת המצגת"]}}},{l:"hr",t:{Next:{v:["Sljedeće"]},"Pause slideshow":{v:["Pauziraj dijaprojekciju"]},Previous:{v:["Prethodno"]},"Start slideshow":{v:["Pokreni dijaprojekciju"]}}},{l:"hu",t:{Next:{v:["Következő"]},"Pause slideshow":{v:["Diavetítés szüneteltetése"]},Previous:{v:["Előző"]},"Start slideshow":{v:["Diavetítés indítása"]}}},{l:"id",t:{Next:{v:["Selanjutnya"]},"Pause slideshow":{v:["Jeda tayangan slide"]},Previous:{v:["Sebelumnya"]},"Start slideshow":{v:["Mulai salindia"]}}},{l:"is",t:{Next:{v:["Næsta"]},"Pause slideshow":{v:["Gera hlé á skyggnusýningu"]},Previous:{v:["Fyrri"]},"Start slideshow":{v:["Byrja skyggnusýningu"]}}},{l:"it",t:{Next:{v:["Successivo"]},"Pause slideshow":{v:["Presentazione in pausa"]},Previous:{v:["Precedente"]},"Start slideshow":{v:["Avvia presentazione"]}}},{l:"ja",t:{Next:{v:["次"]},"Pause slideshow":{v:["スライドショーを一時停止"]},Previous:{v:["前"]},"Start slideshow":{v:["スライドショーを開始"]}}},{l:"ja-JP",t:{Next:{v:["次"]},"Pause slideshow":{v:["スライドショーを一時停止"]},Previous:{v:["前"]},"Start slideshow":{v:["スライドショーを開始"]}}},{l:"ko",t:{Next:{v:["다음"]},"Pause slideshow":{v:["슬라이드쇼 일시정지"]},Previous:{v:["이전"]},"Start slideshow":{v:["슬라이드쇼 시작"]}}},{l:"lo",t:{Next:{v:["ຕໍ່ໄປ"]},"Pause slideshow":{v:["ຢຸດສະໄລ້ໂຊຊົ່ວຄາວ"]},Previous:{v:["ກ່ອນໜ້າ"]},"Start slideshow":{v:["ເລີ່ມສະໄລ້ໂຊ"]}}},{l:"lt-LT",t:{Next:{v:["Kitas"]},"Pause slideshow":{v:["Pristabdyti skaidrių rodymą"]},Previous:{v:["Ankstesnis"]},"Start slideshow":{v:["Pradėti skaidrių rodymą"]}}},{l:"lv",t:{Next:{v:["Nākamais"]},"Pause slideshow":{v:["Pauzēt slaidrādi"]},Previous:{v:["Iepriekšējais"]},"Start slideshow":{v:["Sākt slaidrādi"]}}},{l:"mk",t:{Next:{v:["Следно"]},"Pause slideshow":{v:["Пузирај слајдшоу"]},Previous:{v:["Предходно"]},"Start slideshow":{v:["Стартувај слајдшоу"]}}},{l:"mn",t:{Next:{v:["Дараах"]},"Pause slideshow":{v:["Слайд шоуг түр зогсоох"]},Previous:{v:["Өмнөх"]},"Start slideshow":{v:["Слайд шоуг эхлүүлэх"]}}},{l:"my",t:{Next:{v:["နောက်သို့ဆက်ရန်"]},"Pause slideshow":{v:["စလိုက်ရှိုး ခေတ္တရပ်ရန်"]},Previous:{v:["ယခင်"]},"Start slideshow":{v:["စလိုက်ရှိုးအား စတင်ရန်"]}}},{l:"nb",t:{Next:{v:["Neste"]},"Pause slideshow":{v:["Pause lysbildefremvisning"]},Previous:{v:["Forrige"]},"Start slideshow":{v:["Start lysbildefremvisning"]}}},{l:"nl",t:{Next:{v:["Volgende"]},"Pause slideshow":{v:["Diavoorstelling pauzeren"]},Previous:{v:["Vorige"]},"Start slideshow":{v:["Diavoorstelling starten"]}}},{l:"oc",t:{Next:{v:["Seguent"]},"Pause slideshow":{v:["Metre en pausa lo diaporama"]},Previous:{v:["Precedent"]},"Start slideshow":{v:["Lançar lo diaporama"]}}},{l:"pl",t:{Next:{v:["Następny"]},"Pause slideshow":{v:["Wstrzymaj pokaz slajdów"]},Previous:{v:["Poprzedni"]},"Start slideshow":{v:["Rozpocznij pokaz slajdów"]}}},{l:"pt-BR",t:{Next:{v:["Próximo"]},"Pause slideshow":{v:["Pausar apresentação de slides"]},Previous:{v:["Anterior"]},"Start slideshow":{v:["Iniciar apresentação de slides"]}}},{l:"pt-PT",t:{Next:{v:["Seguinte"]},"Pause slideshow":{v:["Pausar diaporama"]},Previous:{v:["Anterior"]},"Start slideshow":{v:["Iniciar diaporama"]}}},{l:"ro",t:{Next:{v:["Următorul"]},"Pause slideshow":{v:["Pauză prezentare de diapozitive"]},Previous:{v:["Anterior"]},"Start slideshow":{v:["Începeți prezentarea de diapozitive"]}}},{l:"ru",t:{Next:{v:["Следующее"]},"Pause slideshow":{v:["Приостановить показ слйдов"]},Previous:{v:["Предыдущее"]},"Start slideshow":{v:["Начать показ слайдов"]}}},{l:"sk",t:{Next:{v:["Ďalej"]},"Pause slideshow":{v:["Pozastaviť prezentáciu"]},Previous:{v:["Predchádzajúce"]},"Start slideshow":{v:["Začať prezentáciu"]}}},{l:"sl",t:{Next:{v:["Naslednji"]},"Pause slideshow":{v:["Ustavi predstavitev"]},Previous:{v:["Predhodni"]},"Start slideshow":{v:["Začni predstavitev"]}}},{l:"sr",t:{Next:{v:["Следеће"]},"Pause slideshow":{v:["Паузирај слајд шоу"]},Previous:{v:["Претходно"]},"Start slideshow":{v:["Покрени слајд шоу"]}}},{l:"sv",t:{Next:{v:["Nästa"]},"Pause slideshow":{v:["Pausa bildspelet"]},Previous:{v:["Föregående"]},"Start slideshow":{v:["Starta bildspelet"]}}},{l:"tr",t:{Next:{v:["Sonraki"]},"Pause slideshow":{v:["Slayt sunumunu duraklat"]},Previous:{v:["Önceki"]},"Start slideshow":{v:["Slayt sunumunu başlat"]}}},{l:"uk",t:{Next:{v:["Вперед"]},"Pause slideshow":{v:["Пауза у показі слайдів"]},Previous:{v:["Назад"]},"Start slideshow":{v:["Почати показ слайдів"]}}},{l:"uz",t:{Next:{v:["Keyingi"]},"Pause slideshow":{v:["Slayd-shouni to'xtatib turish"]},Previous:{v:["Oldingi"]},"Start slideshow":{v:["Slayd-shouni boshlash"]}}},{l:"zh-CN",t:{Next:{v:["下一个"]},"Pause slideshow":{v:["暂停幻灯片"]},Previous:{v:["上一个"]},"Start slideshow":{v:["开始幻灯片"]}}},{l:"zh-HK",t:{Next:{v:["下一個"]},"Pause slideshow":{v:["暫停幻燈片"]},Previous:{v:["上一個"]},"Start slideshow":{v:["開始幻燈片"]}}},{l:"zh-TW",t:{Next:{v:["下一個"]},"Pause slideshow":{v:["暫停幻燈片"]},Previous:{v:["上一個"]},"Start slideshow":{v:["開始幻燈片"]}}}],OE=[{l:"ar",t:{}},{l:"ast",t:{}},{l:"br",t:{}},{l:"ca",t:{}},{l:"cs",t:{"Search …":{v:["Hledat …"]}}},{l:"cs-CZ",t:{}},{l:"da",t:{"Search …":{v:["Søg ..."]}}},{l:"de",t:{"Search …":{v:["Suche …"]}}},{l:"de-DE",t:{"Search …":{v:["Suche …"]}}},{l:"el",t:{"Search …":{v:["Αναζήτηση …"]}}},{l:"en-GB",t:{"Search …":{v:["Search …"]}}},{l:"eo",t:{}},{l:"es",t:{}},{l:"es-AR",t:{}},{l:"es-EC",t:{}},{l:"es-MX",t:{}},{l:"et-EE",t:{"Search …":{v:["Otsi…"]}}},{l:"eu",t:{}},{l:"fa",t:{}},{l:"fi",t:{}},{l:"fr",t:{"Search …":{v:["Rechercher…"]}}},{l:"ga",t:{"Search …":{v:["Cuardaigh …"]}}},{l:"gl",t:{"Search …":{v:["Buscar…"]}}},{l:"he",t:{}},{l:"hr",t:{"Search …":{v:["Traži …"]}}},{l:"hu",t:{"Search …":{v:["Keresés…"]}}},{l:"id",t:{"Search …":{v:["Cari …"]}}},{l:"is",t:{}},{l:"it",t:{}},{l:"ja",t:{"Search …":{v:["検索…"]}}},{l:"ja-JP",t:{}},{l:"ko",t:{"Search …":{v:["찾는 중 ..."]}}},{l:"lo",t:{"Search …":{v:["ຄົ້ນຫາ…"]}}},{l:"lt-LT",t:{"Search …":{v:["Ieškoti …"]}}},{l:"lv",t:{}},{l:"mk",t:{"Search …":{v:["Барај…"]}}},{l:"mn",t:{"Search …":{v:["Хайх …"]}}},{l:"my",t:{}},{l:"nb",t:{}},{l:"nl",t:{"Search …":{v:["Zoeken …"]}}},{l:"oc",t:{}},{l:"pl",t:{}},{l:"pt-BR",t:{"Search …":{v:["Pesquisar …"]}}},{l:"pt-PT",t:{}},{l:"ro",t:{}},{l:"ru",t:{"Search …":{v:["Поиск …"]}}},{l:"sk",t:{}},{l:"sl",t:{}},{l:"sr",t:{"Search …":{v:["Претражи…"]}}},{l:"sv",t:{"Search …":{v:["Sök …"]}}},{l:"tr",t:{"Search …":{v:["Ara…"]}}},{l:"uk",t:{}},{l:"uz",t:{"Search …":{v:["Izlash..."]}}},{l:"zh-CN",t:{}},{l:"zh-HK",t:{"Search …":{v:["搜尋 …"]}}},{l:"zh-TW",t:{"Search …":{v:["搜尋......"]}}}],Ug=[{l:"ar",t:{"Undo changes":{v:["تراجَع عن التغييرات"]}}},{l:"ast",t:{"Undo changes":{v:["Desfacer los cambeos"]}}},{l:"br",t:{}},{l:"ca",t:{"Undo changes":{v:["Desfés els canvis"]}}},{l:"cs",t:{"Undo changes":{v:["Vzít změny zpět"]}}},{l:"cs-CZ",t:{"Undo changes":{v:["Vzít změny zpět"]}}},{l:"da",t:{"Undo changes":{v:["Fortryd ændringer"]}}},{l:"de",t:{"Undo changes":{v:["Änderungen rückgängig machen"]}}},{l:"de-DE",t:{"Undo changes":{v:["Änderungen rückgängig machen"]}}},{l:"el",t:{"Undo changes":{v:["Αναίρεση Αλλαγών"]}}},{l:"en-GB",t:{"Undo changes":{v:["Undo changes"]}}},{l:"eo",t:{}},{l:"es",t:{"Undo changes":{v:["Deshacer cambios"]}}},{l:"es-AR",t:{"Undo changes":{v:["Deshacer cambios"]}}},{l:"es-EC",t:{"Undo changes":{v:["Deshacer cambios"]}}},{l:"es-MX",t:{"Undo changes":{v:["Deshacer cambios"]}}},{l:"et-EE",t:{"Undo changes":{v:["Pööra muudatused tagasi"]}}},{l:"eu",t:{"Undo changes":{v:["Aldaketak desegin"]}}},{l:"fa",t:{"Undo changes":{v:["لغو تغییرات"]}}},{l:"fi",t:{"Undo changes":{v:["Kumoa muutokset"]}}},{l:"fr",t:{"Undo changes":{v:["Annuler les changements"]}}},{l:"ga",t:{"Undo changes":{v:["Cealaigh athruithe"]}}},{l:"gl",t:{"Undo changes":{v:["Desfacer os cambios"]}}},{l:"he",t:{"Undo changes":{v:["ביטול שינויים"]}}},{l:"hr",t:{"Undo changes":{v:["Poništi promjene"]}}},{l:"hu",t:{"Undo changes":{v:["Változtatások visszavonása"]}}},{l:"id",t:{"Undo changes":{v:["Urungkan perubahan"]}}},{l:"is",t:{"Undo changes":{v:["Afturkalla breytingar"]}}},{l:"it",t:{"Undo changes":{v:["Cancella i cambiamenti"]}}},{l:"ja",t:{"Undo changes":{v:["変更を取り消し"]}}},{l:"ja-JP",t:{"Undo changes":{v:["変更を取り消し"]}}},{l:"ko",t:{"Undo changes":{v:["변경 되돌리기"]}}},{l:"lo",t:{"Undo changes":{v:["ຍ້ອນຄືນການປ່ຽນແປງ"]}}},{l:"lt-LT",t:{"Undo changes":{v:["Atšaukti pakeitimus"]}}},{l:"lv",t:{}},{l:"mk",t:{"Undo changes":{v:["Врати ги промените"]}}},{l:"mn",t:{"Undo changes":{v:["Өөрчлөлтийг буцаах"]}}},{l:"my",t:{}},{l:"nb",t:{"Undo changes":{v:["Tilbakestill endringer"]}}},{l:"nl",t:{"Undo changes":{v:["Wijzigingen ongedaan maken"]}}},{l:"oc",t:{}},{l:"pl",t:{"Undo changes":{v:["Cofnij zmiany"]}}},{l:"pt-BR",t:{"Undo changes":{v:["Desfazer modificações"]}}},{l:"pt-PT",t:{"Undo changes":{v:["Anular alterações"]}}},{l:"ro",t:{"Undo changes":{v:["Anularea modificărilor"]}}},{l:"ru",t:{"Undo changes":{v:["Отменить изменения"]}}},{l:"sk",t:{"Undo changes":{v:["Vrátiť zmeny"]}}},{l:"sl",t:{"Undo changes":{v:["Razveljavi spremembe"]}}},{l:"sr",t:{"Undo changes":{v:["Поништи измене"]}}},{l:"sv",t:{"Undo changes":{v:["Ångra ändringar"]}}},{l:"tr",t:{"Undo changes":{v:["Değişiklikleri geri al"]}}},{l:"uk",t:{"Undo changes":{v:["Скасувати зміни"]}}},{l:"uz",t:{"Undo changes":{v:["O'zgarishlarni bekor qilish"]}}},{l:"zh-CN",t:{"Undo changes":{v:["撤销更改"]}}},{l:"zh-HK",t:{"Undo changes":{v:["取消更改"]}}},{l:"zh-TW",t:{"Undo changes":{v:["還原變更"]}}}],[PE]=window.OC?.config?.version?.split(".")??[],Hg=Number.parseInt(PE??"34"),Il=Hg<32,uo=Hg<34,BE=Symbol.for("NcFormBox:context");function $E(){return st(BE,{isInFormBox:!1,formBoxItemClass:void 0})}const He=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},RE={class:"button-vue__wrapper"},FE={class:"button-vue__icon"},LE={class:"button-vue__text"},IE=Ve({__name:"NcButton",props:{alignment:{default:"center"},ariaLabel:{default:void 0},disabled:{type:Boolean},download:{type:[String,Boolean],default:void 0},href:{default:void 0},pressed:{type:Boolean,default:void 0},size:{default:"normal"},target:{default:"_self"},text:{default:void 0},to:{default:void 0},type:{default:"button"},variant:{default:"secondary"},wide:{type:Boolean}},emits:["click","update:pressed"],setup(e,{emit:t}){const n=e,r=t,{formBoxItemClass:o}=$E(),s=st(ca,null)!==null,a=re(()=>s&&n.to?"RouterLink":n.href?"a":"button"),i=re(()=>a.value==="button"&&typeof n.pressed=="boolean"),u=re(()=>n.pressed?"primary":n.pressed===!1&&n.variant==="primary"?"secondary":n.variant),c=re(()=>u.value.startsWith("tertiary")),l=re(()=>n.alignment.split("-")[0]),d=re(()=>n.alignment.includes("-")),p=st("NcPopover:trigger:attrs",()=>({}),!1),h=re(()=>p()),g=re(()=>{if(a.value==="RouterLink")return{to:n.to,activeClass:"active"};if(a.value==="a")return{href:n.href||"#",target:n.target,rel:"nofollow noreferrer noopener",download:n.download||void 0};if(a.value==="button")return{...h.value,"aria-pressed":n.pressed,type:n.type,disabled:n.disabled}});function f(m){i.value&&r("update:pressed",!n.pressed),r("click",m)}return(m,v)=>(R(),ge(aa(a.value),ft({class:["button-vue",[`button-vue--size-${m.size}`,{[`button-vue--${u.value}`]:u.value,"button-vue--tertiary":c.value,"button-vue--wide":m.wide,[`button-vue--${l.value}`]:l.value!=="center","button-vue--reverse":d.value,"button-vue--legacy":M(Il),"button-vue--legacy34":M(uo)},M(o)]],"aria-label":m.ariaLabel},g.value,{onClick:f}),{default:de(()=>[ae("span",RE,[ae("span",FE,[be(m.$slots,"icon",{},void 0,!0)]),ae("span",LE,[be(m.$slots,"default",{},()=>[ht(Ce(m.text),1)],!0)])])]),_:3},16,["class","aria-label"]))}}),Ye=He(IE,[["__scopeId","data-v-18f6cf03"]]),ME=["aria-hidden","aria-label"],zE={key:0,viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},jE=["d"],UE=["innerHTML"],HE=Ve({__name:"NcIconSvgWrapper",props:{directional:{type:Boolean},inline:{type:Boolean},svg:{default:""},name:{default:void 0},path:{default:""},size:{default:20}},setup(e){tg(o=>({fb515064:n.value}));const t=e,n=re(()=>typeof t.size=="number"?`${t.size}px`:t.size),r=re(()=>{if(!t.svg||t.path)return;const o=Bg.sanitize(t.svg),s=new DOMParser().parseFromString(o,"image/svg+xml");return s.querySelector("parsererror")?"":(s.documentElement.id&&s.documentElement.removeAttribute("id"),s.documentElement.outerHTML)});return(o,s)=>(R(),Z("span",{"aria-hidden":o.name?void 0:"true","aria-label":o.name||void 0,class:Be(["icon-vue",{"icon-vue--directional":o.directional,"icon-vue--inline":o.inline}]),role:"img"},[r.value?(R(),Z("span",{key:1,innerHTML:r.value},null,8,UE)):(R(),Z("svg",zE,[ae("path",{d:o.path},null,8,jE)]))],10,ME))}}),Ue=He(HE,[["__scopeId","data-v-aaedb1c3"]]);var ut=(e=>(e[e.Debug=0]="Debug",e[e.Info=1]="Info",e[e.Warn=2]="Warn",e[e.Error=3]="Error",e[e.Fatal=4]="Fatal",e))(ut||{});class VE{context;constructor(t){this.context=t||{}}formatMessage(t,n,r){let o="["+ut[n].toUpperCase()+"] ";return r&&r.app&&(o+=r.app+": "),typeof t=="string"?o+t:(o+=`Unexpected ${t.name}`,t.message&&(o+=` "${t.message}"`),n===ut.Debug&&t.stack&&(o+=` Stack trace: -${t.stack}`),o)}log(t,n,r){if(!(typeof this.context?.level=="number"&&t{document.readyState==="complete"||document.readyState==="interactive"?(t.context.level=window._oc_config?.loglevel??ut.Warn,window._oc_debug&&(t.context.level=ut.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 Hg(){return new GE(VE)}const $o=Hg().detectUser().setApp("@nextcloud/vue").build();function WE(e){let t=!1,n;return(...r)=>(t||(t=!0,n=e(...r)),n)}let Vg="missing-app-name";try{Vg=qv}catch{$o.error("The `@nextcloud/vue` library was used without setting / replacing the `appName`.")}const qE=Vg;let KE="";try{KE=Kv}catch{$o.error("The `@nextcloud/vue` library was used without setting / replacing the `appVersion`.")}function Gg(){return st("appName",qE)}const ZE=WE(()=>{const e=Go("core","apps",[]),t=Gg();return e.find(({id:n})=>n===t)?.name??t}),Xs=Rb();hn(SE);const XE=Ve({__name:"NcAppContentDetailsToggle",setup(e){const t=da();tt(t,n),An(()=>{n(t.value)}),sa(()=>{t.value&&n(!1)});function n(r=!0){const o=document.querySelector(".app-navigation .app-navigation-toggle");o&&(o.style.display=r?"none":"",r===!0&&xr("toggle-navigation",{open:!1}))}return(r,o)=>(R(),ge(z(et),{"aria-label":z(Fe)("Go back to the list"),class:Be(["app-details-toggle",{"app-details-toggle--mobile":z(t)}]),title:z(Fe)("Go back to the list"),variant:"tertiary"},{icon:de(()=>[ce(z(Ue),{directional:"",path:z(Fg)},null,8,["path"])]),_:1},8,["aria-label","class","title"]))}}),YE=He(XE,[["__scopeId","data-v-a28923a1"]]),qp=Ag("nextcloud").persist().build(),JE=Mb().theming?.name??"Nextcloud",QE={name:"NcAppContent",components:{NcAppContentDetailsToggle:YE,Pane:aE,Splitpanes:sE},props:{disableSwipe:{type:Boolean,default:!1},listSize:{type:Number,default:20},listMinWidth:{type:Number,default:15},listMaxWidth:{type:Number,default:40},paneConfigKey:{type:String,default:""},showDetails:{type:Boolean,default:!0},layout:{type:String,default:"vertical-split",validator(e){return["no-split","vertical-split","horizontal-split"].includes(e)}},pageHeading:{type:String,default:null},pageTitle:{type:String,default:null}},emits:["update:showDetails","resizeList"],setup(){return{appName:Gg(),localizedAppName:ZE(),isMobile:da(),isRtl:Xs}},data(){return{contentHeight:0,swiping:{},listPaneSize:this.restorePaneConfig()}},computed:{paneConfigID(){if(this.paneConfigKey!=="")return`pane-list-size-${this.paneConfigKey}`;try{return`pane-list-size-${this.appName}`}catch{return $o.info("[NcAppContent]: falling back to global nextcloud pane config"),"pane-list-size-nextcloud"}},detailsPaneSize(){return this.listPaneSize?100-this.listPaneSize:this.paneDefaults.details.size},paneDefaults(){return{list:{size:this.listSize,min:this.listMinWidth,max:this.listMaxWidth},details:{size:100-this.listSize,min:100-this.listMaxWidth,max:100-this.listMinWidth}}},realPageTitle(){const e=new Set;if(this.pageTitle)for(const t of this.pageTitle.split(" - "))e.add(t);else if(this.pageHeading){for(const t of this.pageHeading.split(" - "))e.add(t);e.size>0&&e.add(this.localizedAppName)}else return null;return e.add(JE),[...e.values()].join(" - ")}},watch:{realPageTitle:{immediate:!0,handler(){this.realPageTitle!==null&&(document.title=this.realPageTitle)}},paneConfigKey:{immediate:!0,handler(){this.restorePaneConfig()}}},mounted(){this.disableSwipe||(this.swiping=Rg(this.$el,{onSwipeEnd:this.handleSwipe})),this.restorePaneConfig()},methods:{handleSwipe(e,t){Math.abs(this.swiping.lengthX)>70&&(this.swiping.coordsStart.x<300/2&&t==="right"?xr("toggle-navigation",{open:!0}):this.swiping.coordsStart.x<300*1.5&&t==="left"&&xr("toggle-navigation",{open:!1}))},handlePaneResize(e){const t=parseInt(e.panes[0].size,10);qp.setItem(this.paneConfigID,JSON.stringify(t)),this.listPaneSize=t,this.$emit("resizeList",{size:t}),$o.debug("[NcAppContent] pane config",{listPaneSize:t})},restorePaneConfig(){const e=parseInt(qp.getItem(this.paneConfigID),10);if(!isNaN(e)&&e!==this.listPaneSize)return $o.debug("[NcAppContent] pane config",{listPaneSize:e}),this.listPaneSize=e,e},hideDetails(){this.$emit("update:showDetails",!1)}}},ew={key:0,class:"hidden-visually"},tw={class:"app-content-wrapper__list"},nw={key:1,class:"app-content-wrapper"};function rw(e,t,n,r,o,s){const a=Ye("NcAppContentDetailsToggle"),i=Ye("Pane"),u=Ye("Splitpanes");return R(),K("main",{id:"app-content-vue",class:Be(["app-content no-snapper",{"app-content--has-list":!!e.$slots.list}])},[n.pageHeading?(R(),K("h1",ew,_e(n.pageHeading),1)):he("",!0),e.$slots.list?(R(),K(Xe,{key:1},[r.isMobile||n.layout==="no-split"?(R(),K("div",{key:0,class:Be(["app-content-wrapper app-content-wrapper--no-split",{"app-content-wrapper--show-details":n.showDetails,"app-content-wrapper--show-list":!n.showDetails,"app-content-wrapper--mobile":r.isMobile}])},[n.showDetails?(R(),ge(a,{key:0,onClick:yn(s.hideDetails,["stop","prevent"])},null,8,["onClick"])):he("",!0),Ln(ae("div",tw,[be(e.$slots,"list",{},void 0,!0)],512),[[Qn,!n.showDetails]]),n.showDetails?be(e.$slots,"default",{key:1},void 0,!0):he("",!0)],2)):n.layout==="vertical-split"||n.layout==="horizontal-split"?(R(),K("div",nw,[ce(u,{horizontal:n.layout==="horizontal-split",class:Be(["default-theme",{"splitpanes--horizontal":n.layout==="horizontal-split","splitpanes--vertical":n.layout==="vertical-split"}]),rtl:r.isRtl,onResized:s.handlePaneResize},{default:de(()=>[ce(i,{class:"splitpanes__pane-list",size:o.listPaneSize||s.paneDefaults.list.size,minSize:s.paneDefaults.list.min,maxSize:s.paneDefaults.list.max},{default:de(()=>[be(e.$slots,"list",{},void 0,!0)]),_:3},8,["size","minSize","maxSize"]),ce(i,{class:"splitpanes__pane-details",size:s.detailsPaneSize,minSize:s.paneDefaults.details.min,maxSize:s.paneDefaults.details.max},{default:de(()=>[be(e.$slots,"default",{},void 0,!0)]),_:3},8,["size","minSize","maxSize"])]),_:3},8,["horizontal","class","rtl","onResized"])])):he("",!0)],64)):he("",!0),e.$slots.list?he("",!0):be(e.$slots,"default",{key:2},void 0,!0)],2)}const ow=He(QE,[["render",rw],["__scopeId","data-v-ea1e6879"]]);var Wg=["input:not([inert]):not([inert] *)","select:not([inert]):not([inert] *)","textarea:not([inert]):not([inert] *)","a[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] *)"],ci=Wg.join(","),qg=typeof Element>"u",oo=qg?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,di=!qg&&Element.prototype.getRootNode?function(e){var t;return e==null||(t=e.getRootNode)===null||t===void 0?void 0:t.call(e)}:function(e){return e?.ownerDocument},pi=function(e,t){var n;t===void 0&&(t=!0);var r=e==null||(n=e.getAttribute)===null||n===void 0?void 0:n.call(e,"inert"),o=r===""||r==="true",s=o||t&&e&&(typeof e.closest=="function"?e.closest("[inert]"):pi(e.parentNode));return s},sw=function(e){var t,n=e==null||(t=e.getAttribute)===null||t===void 0?void 0:t.call(e,"contenteditable");return n===""||n==="true"},Kg=function(e,t,n){if(pi(e))return[];var r=Array.prototype.slice.apply(e.querySelectorAll(ci));return t&&oo.call(e,ci)&&r.unshift(e),r=r.filter(n),r},hi=function(e,t,n){for(var r=[],o=Array.from(e);o.length;){var s=o.shift();if(!pi(s,!1))if(s.tagName==="SLOT"){var a=s.assignedElements(),i=a.length?a:s.children,u=hi(i,!0,n);n.flatten?r.push.apply(r,u):r.push({scopeParent:s,candidates:u})}else{var c=oo.call(s,ci);c&&n.filter(s)&&(t||!e.includes(s))&&r.push(s);var l=s.shadowRoot||typeof n.getShadowRoot=="function"&&n.getShadowRoot(s),d=!pi(l,!1)&&(!n.shadowRootFilter||n.shadowRootFilter(s));if(l&&d){var p=hi(l===!0?s.children:l.children,!0,n);n.flatten?r.push.apply(r,p):r.push({scopeParent:s,candidates:p})}else o.unshift.apply(o,s.children)}}return r},Zg=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},Zr=function(e){if(!e)throw new Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||sw(e))&&!Zg(e)?0:e.tabIndex},aw=function(e,t){var n=Zr(e);return n<0&&t&&!Zg(e)?0:n},iw=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},Xg=function(e){return e.tagName==="INPUT"},uw=function(e){return Xg(e)&&e.type==="hidden"},lw=function(e){var t=e.tagName==="DETAILS"&&Array.prototype.slice.apply(e.children).some(function(n){return n.tagName==="SUMMARY"});return t},cw=function(e,t){for(var n=0;nsummary:first-of-type"),a=s?e.parentElement:e;if(oo.call(a,"details:not([open]) *"))return!0;if(!n||n==="full"||n==="full-native"||n==="legacy-full"){if(typeof r=="function"){for(var i=e;e;){var u=e.parentElement,c=di(e);if(u&&!u.shadowRoot&&r(u)===!0)return Kp(e);e.assignedSlot?e=e.assignedSlot:!u&&c!==e.ownerDocument?e=c.host:e=u}e=i}if(fw(e))return!e.getClientRects().length;if(n!=="legacy-full")return!0}else if(n==="non-zero-area")return Kp(e);return!1},mw=function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if(t.tagName==="FIELDSET"&&t.disabled){for(var n=0;n=0)},Yg=function(e){var t=[],n=[];return e.forEach(function(r,o){var s=!!r.scopeParent,a=s?r.scopeParent:r,i=aw(a,s),u=s?Yg(r.candidates):a;i===0?s?t.push.apply(t,u):t.push(a):n.push({documentOrder:o,tabIndex:i,item:r,isScope:s,content:u})}),n.sort(iw).reduce(function(r,o){return o.isScope?r.push.apply(r,o.content):r.push(o.content),r},[]).concat(t)},yw=function(e,t){t=t||{};var n;return t.getShadowRoot?n=hi([e],t.includeContainer,{filter:Ml.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:vw}):n=Kg(e,t.includeContainer,Ml.bind(null,t)),Yg(n)},bw=function(e,t){t=t||{};var n;return t.getShadowRoot?n=hi([e],t.includeContainer,{filter:fi.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):n=Kg(e,t.includeContainer,fi.bind(null,t)),n},Eo=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return oo.call(e,ci)===!1?!1:Ml(t,e)},Ew=Wg.concat("iframe:not([inert]):not([inert] *)").join(","),Hu=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return oo.call(e,Ew)===!1?!1:fi(t,e)};function zl(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(u){throw u},f:o}}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 s,a=!0,i=!1;return{s:function(){n=n.call(e)},n:function(){var u=n.next();return a=u.done,u},e:function(u){i=!0,s=u},f:function(){try{a||n.return==null||n.return()}finally{if(i)throw s}}}}function Cw(e,t,n){return(t=kw(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _w(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function xw(){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 Xp(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function Yp(e){for(var t=1;t0?e[e.length-1]:null},activateTrap:function(e,t){var n=Yn.getActiveTrap(e);t!==n&&Yn.pauseTrap(e);var r=e.indexOf(t);r===-1||e.splice(r,1),e.push(t)},deactivateTrap:function(e,t){var n=e.indexOf(t);n!==-1&&e.splice(n,1),Yn.unpauseTrap(e)},pauseTrap:function(e){var t=Yn.getActiveTrap(e);t?._setPausedState(!0)},unpauseTrap:function(e){var t=Yn.getActiveTrap(e);t&&!t._isManuallyPaused()&&t._setPausedState(!1)}},Tw=function(e){return e.tagName&&e.tagName.toLowerCase()==="input"&&typeof e.select=="function"},Nw=function(e){return e?.key==="Escape"||e?.key==="Esc"||e?.keyCode===27},Ds=function(e){return e?.key==="Tab"||e?.keyCode===9},Dw=function(e){return Ds(e)&&!e.shiftKey},Ow=function(e){return Ds(e)&&e.shiftKey},Jp=function(e){return setTimeout(e,0)},ls=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r1&&arguments[1]!==void 0?arguments[1]:{},V=S.hasFallback,se=V===void 0?!1:V,Z=S.params,X=Z===void 0?[]:Z,ne=o[T];if(typeof ne=="function"&&(ne=ne.apply(void 0,Aw(X))),ne===!0&&(ne=void 0),!ne){if(ne===void 0||ne===!1)return ne;throw new Error("`".concat(T,"` was specified but was not a node, or did not return a node"))}var ee=ne;if(typeof ne=="string"){try{ee=n.querySelector(ne)}catch(J){throw new Error("`".concat(T,'` appears to be an invalid selector; error="').concat(J.message,'"'))}if(!ee&&!se)throw new Error("`".concat(T,"` as selector refers to no known node"))}return ee},l=function(T){var S=T.activeElement;return S?S.shadowRoot&&S.shadowRoot.activeElement!==null?l(S.shadowRoot):S:null},d=function(){var T=c("initialFocus",{hasFallback:!0});if(T===!1)return!1;if(T===void 0||T&&!Hu(T,o.tabbableOptions)){var S=l(n);if(u(S)>=0)T=S;else{var V=s.tabbableGroups[0],se=V&&V.firstTabbableNode;T=se||c("fallbackFocus")}}else T===null&&(T=c("fallbackFocus"));if(!T)throw new Error("Your focus-trap needs to have at least one focusable element");return T},p=function(){if(s.containerGroups=s.containers.map(function(T){var S=yw(T,o.tabbableOptions),V=bw(T,o.tabbableOptions),se=S.length>0?S[0]:void 0,Z=S.length>0?S[S.length-1]:void 0,X=V.find(function(J){return Eo(J)}),ne=V.slice().reverse().find(function(J){return Eo(J)}),ee=!!S.find(function(J){return Zr(J)>0});return{container:T,tabbableNodes:S,focusableNodes:V,posTabIndexesFound:ee,firstTabbableNode:se,lastTabbableNode:Z,firstDomTabbableNode:X,lastDomTabbableNode:ne,nextTabbableNode:function(J){var Q=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,pe=S.indexOf(J);return pe<0?Q?V.slice(V.indexOf(J)+1).find(function(Se){return Eo(Se)}):V.slice(0,V.indexOf(J)).reverse().find(function(Se){return Eo(Se)}):S[pe+(Q?1:-1)]}}}),s.tabbableGroups=s.containerGroups.filter(function(T){return T.tabbableNodes.length>0}),s.tabbableGroups.length<=0&&!c("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(s.containerGroups.find(function(T){return T.posTabIndexesFound})&&s.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.")},h=function(T){if(T!==!1&&T!==l(document)){if(!T||!T.focus){h(d());return}T.focus({preventScroll:!!o.preventScroll}),s.mostRecentlyFocusedNode=T,Tw(T)&&T.select()}},g=function(T){var S=c("setReturnFocus",{params:[T]});return S||(S===!1?!1:T)},f=function(T){var S=T.target,V=T.event,se=T.isBackward,Z=se===void 0?!1:se;S=S||Da(V),p();var X=null;if(s.tabbableGroups.length>0){var ne=u(S,V),ee=ne>=0?s.containerGroups[ne]:void 0;if(ne<0)Z?X=s.tabbableGroups[s.tabbableGroups.length-1].lastTabbableNode:X=s.tabbableGroups[0].firstTabbableNode;else if(Z){var J=s.tabbableGroups.findIndex(function(me){var A=me.firstTabbableNode;return S===A});if(J<0&&(ee.container===S||Hu(S,o.tabbableOptions)&&!Eo(S,o.tabbableOptions)&&!ee.nextTabbableNode(S,!1))&&(J=ne),J>=0){var Q=J===0?s.tabbableGroups.length-1:J-1,pe=s.tabbableGroups[Q];X=Zr(S)>=0?pe.lastTabbableNode:pe.lastDomTabbableNode}else Ds(V)||(X=ee.nextTabbableNode(S,!1))}else{var Se=s.tabbableGroups.findIndex(function(me){var A=me.lastTabbableNode;return S===A});if(Se<0&&(ee.container===S||Hu(S,o.tabbableOptions)&&!Eo(S,o.tabbableOptions)&&!ee.nextTabbableNode(S))&&(Se=ne),Se>=0){var qe=Se===s.tabbableGroups.length-1?0:Se+1,ke=s.tabbableGroups[qe];X=Zr(S)>=0?ke.firstTabbableNode:ke.firstDomTabbableNode}else Ds(V)||(X=ee.nextTabbableNode(S))}}else X=c("fallbackFocus");return X},m=function(T){var S=Da(T);if(!(u(S,T)>=0)){if(ls(o.clickOutsideDeactivates,T)){a.deactivate({returnFocus:o.returnFocusOnDeactivate});return}ls(o.allowOutsideClick,T)||T.preventDefault()}},v=function(T){var S=Da(T),V=u(S,T)>=0;if(V||S instanceof Document)V&&(s.mostRecentlyFocusedNode=S);else{T.stopImmediatePropagation();var se,Z=!0;if(s.mostRecentlyFocusedNode)if(Zr(s.mostRecentlyFocusedNode)>0){var X=u(s.mostRecentlyFocusedNode),ne=s.containerGroups[X].tabbableNodes;if(ne.length>0){var ee=ne.findIndex(function(J){return J===s.mostRecentlyFocusedNode});ee>=0&&(o.isKeyForward(s.recentNavEvent)?ee+1=0&&(se=ne[ee-1],Z=!1))}}else s.containerGroups.some(function(J){return J.tabbableNodes.some(function(Q){return Zr(Q)>0})})||(Z=!1);else Z=!1;Z&&(se=f({target:s.mostRecentlyFocusedNode,isBackward:o.isKeyBackward(s.recentNavEvent)})),h(se||s.mostRecentlyFocusedNode||d())}s.recentNavEvent=void 0},y=function(T){var S=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;s.recentNavEvent=T;var V=f({event:T,isBackward:S});V&&(Ds(T)&&T.preventDefault(),h(V))},w=function(T){(o.isKeyForward(T)||o.isKeyBackward(T))&&y(T,o.isKeyBackward(T))},C=function(T){Nw(T)&&ls(o.escapeDeactivates,T)!==!1&&(T.preventDefault(),a.deactivate())},x=function(T){var S=Da(T);u(S,T)>=0||ls(o.clickOutsideDeactivates,T)||ls(o.allowOutsideClick,T)||(T.preventDefault(),T.stopImmediatePropagation())},D=function(){if(s.active){Yn.activateTrap(r,a);var T;return o.delayInitialFocus?T=new Promise(function(S){s.delayInitialFocusTimer=Jp(function(){h(d()),S()})}):h(d()),n.addEventListener("focusin",v,!0),n.addEventListener("mousedown",m,{capture:!0,passive:!1}),n.addEventListener("touchstart",m,{capture:!0,passive:!1}),n.addEventListener("click",x,{capture:!0,passive:!1}),n.addEventListener("keydown",w,{capture:!0,passive:!1}),n.addEventListener("keydown",C),T}},$=function(T){s.active&&!s.paused&&a._setSubtreeIsolation(!1),s.adjacentElements.clear(),s.alreadySilent.clear();var S=new Set,V=new Set,se=Zp(T),Z;try{for(se.s();!(Z=se.n()).done;){var X=Z.value;S.add(X);for(var ne=typeof ShadowRoot<"u"&&X.getRootNode()instanceof ShadowRoot,ee=X;ee;){S.add(ee);var J=ee.parentElement,Q=[];J?Q=J.children:!J&&ne&&(Q=ee.getRootNode().children,J=ee.getRootNode().host,ne=typeof ShadowRoot<"u"&&J.getRootNode()instanceof ShadowRoot);var pe=Zp(Q),Se;try{for(pe.s();!(Se=pe.n()).done;){var qe=Se.value;V.add(qe)}}catch(ke){pe.e(ke)}finally{pe.f()}ee=J}}}catch(ke){se.e(ke)}finally{se.f()}S.forEach(function(ke){V.delete(ke)}),s.adjacentElements=V},q=function(){if(s.active)return n.removeEventListener("focusin",v,!0),n.removeEventListener("mousedown",m,!0),n.removeEventListener("touchstart",m,!0),n.removeEventListener("click",x,!0),n.removeEventListener("keydown",w,!0),n.removeEventListener("keydown",C),a},U=function(T){var S=s.mostRecentlyFocusedNode;if(S){var V=T.some(function(Z){var X=Array.from(Z.removedNodes);return X.some(function(ne){return ne===S||typeof ne.contains=="function"&&ne.contains(S)})});if(V&&s.containers.some(function(Z){return Z?.isConnected})){p();var se=d();h(se)}}},B=typeof window<"u"&&"MutationObserver"in window?new MutationObserver(U):void 0,re=function(){B&&(B.disconnect(),s.active&&!s.paused&&s.containers.map(function(T){B.observe(T,{subtree:!0,childList:!0})}))};return a={get active(){return s.active},get paused(){return s.paused},activate:function(T){if(s.active)return this;var S=i(T,"onActivate"),V=i(T,"onPostActivate"),se=i(T,"checkCanFocusTrap"),Z=Yn.getActiveTrap(r),X=!1;if(Z&&!Z.paused){var ne;(ne=Z._setSubtreeIsolation)===null||ne===void 0||ne.call(Z,!1),X=!0}try{se||p(),s.active=!0,s.paused=!1,s.nodeFocusedBeforeActivation=l(n),S?.({trap:a});var ee=function(){se&&p();var Q=function(){a._setSubtreeIsolation(!0),re(),V?.({trap:a})},pe=D();pe?pe.then(Q):Q()};if(se)return se(s.containers.concat()).then(ee,ee),this;ee()}catch(Q){if(Z===Yn.getActiveTrap(r)&&X){var J;(J=Z._setSubtreeIsolation)===null||J===void 0||J.call(Z,!0)}throw Q}return this},deactivate:function(T){if(!s.active)return this;var S=Yp({onDeactivate:o.onDeactivate,onPostDeactivate:o.onPostDeactivate,checkCanReturnFocus:o.checkCanReturnFocus},T);clearTimeout(s.delayInitialFocusTimer),s.delayInitialFocusTimer=void 0,s.paused||a._setSubtreeIsolation(!1),s.alreadySilent.clear(),q(),s.active=!1,s.paused=!1,re(),Yn.deactivateTrap(r,a);var V=i(S,"onDeactivate"),se=i(S,"onPostDeactivate"),Z=i(S,"checkCanReturnFocus"),X=i(S,"delayReturnFocus"),ne=i(S,"returnFocus","returnFocusOnDeactivate");V?.({trap:a});var ee=function(){ne&&h(g(s.nodeFocusedBeforeActivation)),se?.({trap:a})},J=function(){X&&ne?Jp(ee):ee()};return ne&&Z?(Z(g(s.nodeFocusedBeforeActivation)).then(J,J),this):(J(),this)},pause:function(T){return s.active?(s.manuallyPaused=!0,this._setPausedState(!0,T)):this},unpause:function(T){return s.active?(s.manuallyPaused=!1,r[r.length-1]!==this?this:this._setPausedState(!1,T)):this},updateContainerElements:function(T){var S=[].concat(T).filter(Boolean);return s.containers=S.map(function(V){return typeof V=="string"?n.querySelector(V):V}),o.isolateSubtrees&&$(s.containers),s.active&&(p(),s.paused||a._setSubtreeIsolation(!0)),re(),this}},Object.defineProperties(a,{_isManuallyPaused:{value:function(){return s.manuallyPaused}},_setPausedState:{value:function(T,S){if(s.paused===T)return this;if(s.paused=T,T){var V=i(S,"onPause"),se=i(S,"onPostPause");V?.({trap:a}),q(),a._setSubtreeIsolation(!1),re(),se?.({trap:a})}else{var Z=i(S,"onUnpause"),X=i(S,"onPostUnpause");Z?.({trap:a});var ne=function(){p();var ee=function(){a._setSubtreeIsolation(!0),re(),X?.({trap:a})},J=D();J?J.then(ee):ee()};ne()}return this}},_setSubtreeIsolation:{value:function(T){o.isolateSubtrees&&s.adjacentElements.forEach(function(S){var V;T?o.isolateSubtrees==="aria-hidden"?((S.ariaHidden==="true"||((V=S.getAttribute("aria-hidden"))===null||V===void 0?void 0:V.toLowerCase())==="true")&&s.alreadySilent.add(S),S.setAttribute("aria-hidden","true")):((S.inert||S.hasAttribute("inert"))&&s.alreadySilent.add(S),S.setAttribute("inert",!0)):s.alreadySilent.has(S)||(o.isolateSubtrees==="aria-hidden"?S.removeAttribute("aria-hidden"):S.removeAttribute("inert"))})}}}),a.updateContainerElements(e),a};const Bw={name:"NcAppNavigationList"},$w={class:"app-navigation-list"};function Rw(e,t,n,r,o,s){return R(),K("ul",$w,[be(e.$slots,"default",{},void 0,!0)])}const Fw=He(Bw,[["render",Rw],["__scopeId","data-v-d72957ed"]]);function jo(){return window._nc_focus_trap??=[],window._nc_focus_trap}function Lw(){let e=[];return{pause(){e=[...jo()];for(const t of e)t.pause()},unpause(){if(e.length===jo().length)for(const t of e)t.unpause();e=[]}}}const Qg=Symbol.for("NcContent:setHasAppNavigation"),Iw=Symbol.for("NcContent:selector");hn(_E);const Mw={class:"app-navigation-toggle-wrapper"},zw=Ve({__name:"NcAppNavigationToggle",props:{open:{type:Boolean,required:!0},openModifiers:{}},emits:["update:open"],setup(e){const t=Vo(e,"open"),n=oe(()=>t.value?Fe("Close navigation"):Fe("Open navigation"));return(r,o)=>(R(),K("div",Mw,[ce(z(et),{class:"app-navigation-toggle","aria-controls":"app-navigation-vue","aria-expanded":t.value?"true":"false","aria-label":n.value,title:n.value,variant:"tertiary",onClick:o[0]||(o[0]=s=>t.value=!t.value)},{icon:de(()=>[ce(Ue,{path:t.value?z(lE):z(uE)},null,8,["path"])]),_:1},8,["aria-expanded","aria-label","title"])]))}}),jw=He(zw,[["__scopeId","data-v-5a15295d"]]),Uw=["aria-hidden","aria-label","aria-labelledby","inert"],Hw={class:"app-navigation__search"},Vw=Ve({__name:"NcAppNavigation",props:{ariaLabel:{},ariaLabelledby:{}},setup(e){const t=e;let n;const r=st(Qg,()=>qy(),!1),o=ro("appNavigationContainer"),s=da(),a=xe(!s.value);ji(()=>{!t.ariaLabel&&t.ariaLabelledby}),tt(s,()=>{a.value=!s.value}),tt(a,()=>{c()}),An(()=>{r(!0),Sc("toggle-navigation",u),xr("navigation-toggled",{open:a.value}),n=Nc(o.value,{allowOutsideClick:!0,clickOutsideDeactivates:()=>(s.value&&(n.deactivate({returnFocus:!1}),i(!1)),!1),fallbackFocus:o.value,trapStack:jo(),escapeDeactivates:!1}),c()}),ir(()=>{r(!1),xg("toggle-navigation",u),n.deactivate()});function i(d){if(a.value===d){xr("navigation-toggled",{open:a.value});return}a.value=d===void 0?!a.value:d;const p=getComputedStyle(document.body),h=parseInt(p.getPropertyValue("--animation-quick"))||100;setTimeout(()=>{xr("navigation-toggled",{open:a.value})},1.5*h)}function u({open:d}){return i(d)}function c(){s.value&&a.value?n.activate():n.deactivate()}function l(){s.value&&i(!1)}return(d,p)=>(R(),K("div",{ref:"appNavigationContainer",class:Be(["app-navigation",{"app-navigation--closed":!a.value,"app-navigation--legacy":z(uo)}])},[ae("nav",{id:"app-navigation-vue","aria-hidden":a.value?"false":"true","aria-label":d.ariaLabel||void 0,"aria-labelledby":d.ariaLabelledby||void 0,class:"app-navigation__content",inert:!a.value||void 0,onKeydown:la(l,["esc"])},[ae("div",Hw,[be(d.$slots,"search",{},void 0,!0)]),ae("div",{class:Be(["app-navigation__body",{"app-navigation__body--no-list":!d.$slots.list}])},[be(d.$slots,"default",{},void 0,!0)],2),d.$slots.list?(R(),ge(Fw,{key:0,class:"app-navigation__list"},{default:de(()=>[be(d.$slots,"list",{},void 0,!0)]),_:3})):he("",!0),be(d.$slots,"footer",{},void 0,!0)],40,Uw),ce(jw,{open:a.value,"onUpdate:open":i},null,8,["open"])],2))}}),Gw=He(Vw,[["__scopeId","data-v-3b634fbd"]]),Ww={name:"ChevronDownIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},qw=["aria-hidden","aria-label"],Kw=["fill","width","height"],Zw={d:"M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z"},Xw={key:0};function Yw(e,t,n,r,o,s){return R(),K("span",ht(e.$attrs,{"aria-hidden":n.title?null:"true","aria-label":n.title,class:"material-design-icon chevron-down-icon",role:"img",onClick:t[0]||(t[0]=a=>e.$emit("click",a))}),[(R(),K("svg",{fill:n.fillColor,class:"material-design-icon__svg",width:n.size,height:n.size,viewBox:"0 0 24 24"},[ae("path",Zw,[n.title?(R(),K("title",Xw,_e(n.title),1)):he("",!0)])],8,Kw))],16,qw)}const Jw=He(Ww,[["render",Yw]]),Qw={name:"ChevronUpIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},e2=["aria-hidden","aria-label"],t2=["fill","width","height"],n2={d:"M7.41,15.41L12,10.83L16.59,15.41L18,14L12,8L6,14L7.41,15.41Z"},r2={key:0};function o2(e,t,n,r,o,s){return R(),K("span",ht(e.$attrs,{"aria-hidden":n.title?null:"true","aria-label":n.title,class:"material-design-icon chevron-up-icon",role:"img",onClick:t[0]||(t[0]=a=>e.$emit("click",a))}),[(R(),K("svg",{fill:n.fillColor,class:"material-design-icon__svg",width:n.size,height:n.size,viewBox:"0 0 24 24"},[ae("path",n2,[n.title?(R(),K("title",r2,_e(n.title),1)):he("",!0)])],8,t2))],16,e2)}const s2=He(Qw,[["render",o2]]),a2={name:"ArrowRightIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},i2=["aria-hidden","aria-label"],u2=["fill","width","height"],l2={d:"M4,11V13H16L10.5,18.5L11.92,19.92L19.84,12L11.92,4.08L10.5,5.5L16,11H4Z"},c2={key:0};function d2(e,t,n,r,o,s){return R(),K("span",ht(e.$attrs,{"aria-hidden":n.title?null:"true","aria-label":n.title,class:"material-design-icon arrow-right-icon",role:"img",onClick:t[0]||(t[0]=a=>e.$emit("click",a))}),[(R(),K("svg",{fill:n.fillColor,class:"material-design-icon__svg",width:n.size,height:n.size,viewBox:"0 0 24 24"},[ae("path",l2,[n.title?(R(),K("title",c2,_e(n.title),1)):he("",!0)])],8,u2))],16,i2)}const p2=He(a2,[["render",d2]]),h2={name:"CloseIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},f2=["aria-hidden","aria-label"],g2=["fill","width","height"],m2={d:"M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z"},v2={key:0};function y2(e,t,n,r,o,s){return R(),K("span",ht(e.$attrs,{"aria-hidden":n.title?null:"true","aria-label":n.title,class:"material-design-icon close-icon",role:"img",onClick:t[0]||(t[0]=a=>e.$emit("click",a))}),[(R(),K("svg",{fill:n.fillColor,class:"material-design-icon__svg",width:n.size,height:n.size,viewBox:"0 0 24 24"},[ae("path",m2,[n.title?(R(),K("title",v2,_e(n.title),1)):he("",!0)])],8,g2))],16,f2)}const em=He(h2,[["render",y2]]);hn(bE);const b2={name:"NcInputConfirmCancel",components:{IconArrowRight:p2,IconClose:em,NcButton:et},setup(){return{isLegacy34:uo}},props:{primary:{default:!1,type:Boolean},placeholder:{default:"",type:String},modelValue:{default:"",type:String}},emits:["cancel","confirm","update:modelValue"],data(){return{labelConfirm:Fe("Confirm changes"),labelCancel:Fe("Cancel changes")}},computed:{valueModel:{get(){return this.modelValue},set(e){this.$emit("update:modelValue",e)}}},methods:{confirm(){this.$emit("confirm")},cancel(){this.$emit("cancel")},focusInput(){this.$refs.input.focus()}}},E2=["placeholder"];function w2(e,t,n,r,o,s){const a=Ye("IconArrowRight"),i=Ye("NcButton"),u=Ye("IconClose");return R(),K("div",{class:Be(["app-navigation-input-confirm",{"app-navigation-input-confirm--legacy":r.isLegacy34}])},[ae("form",{onSubmit:t[1]||(t[1]=yn((...c)=>s.confirm&&s.confirm(...c),["prevent"])),onKeydown:t[2]||(t[2]=la(yn((...c)=>s.cancel&&s.cancel(...c),["exact","stop","prevent"]),["esc"])),onClick:t[3]||(t[3]=yn(()=>{},["stop","prevent"]))},[Ln(ae("input",{ref:"input","onUpdate:modelValue":t[0]||(t[0]=c=>s.valueModel=c),type:"text",class:"app-navigation-input-confirm__input",placeholder:n.placeholder},null,8,E2),[[E4,s.valueModel]]),ce(i,{"aria-label":o.labelConfirm,type:"submit",variant:"primary",onClick:yn(s.confirm,["stop","prevent"])},{icon:de(()=>[ce(a,{size:20})]),_:1},8,["aria-label","onClick"]),ce(i,{"aria-label":o.labelCancel,type:"reset",variant:n.primary?"primary":"tertiary",onClick:yn(s.cancel,["stop","prevent"])},{icon:de(()=>[ce(u,{size:20})]),_:1},8,["aria-label","variant","onClick"])],32)],2)}const C2=He(b2,[["render",w2],["__scopeId","data-v-a8724c7f"]]);window._nc_vue_element_id=window._nc_vue_element_id??0;function Wo(){return`nc-vue-${window._nc_vue_element_id++}`}const tm=Symbol.for("NcActions:isSemanticMenu"),nm=Symbol.for("NcActions:closeMenu"),_2={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?.()[0].children?.trim?.()||""}}},x2={mixins:[_2],props:{icon:{type:String,default:""},name:{type:String,default:""},title:{type:String,default:""},closeAfterClick:{type:Boolean,default:!1},ariaLabel:{type:String,default:null}},inject:{closeMenu:{from:nm}},emits:["click"],created(){"ariaHidden"in this.$attrs},computed:{isIconUrl(){try{return!!new URL(this.icon,this.icon.startsWith("/")?window.location.origin:void 0)}catch{return!1}}},methods:{onClick(e){this.$emit("click",e),this.closeAfterClick&&this.closeMenu(!1)}}},A2={name:"NcActionButton",components:{NcIconSvgWrapper:Ue},mixins:[x2],inject:{isInSemanticMenu:{from:tm,default:!1}},props:{disabled:{type:Boolean,default:!1},isMenu:{type:Boolean,default:!1},type:{type:String,default:"button",validator:e=>["button","checkbox","radio","reset","submit"].includes(e)},modelValue:{type:[Boolean,String],default:null},value:{type:String,default:null},description:{type:String,default:""}},emits:["update:modelValue"],setup(){return{mdiCheck:Fl,mdiChevronRight:Lg}},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 e={};return this.isInSemanticMenu?(e.role="menuitem",this.type==="radio"?(e.role="menuitemradio",e["aria-checked"]=this.isChecked?"true":"false"):(this.type==="checkbox"||this.nativeType==="button"&&this.modelValue!==null)&&(e.role="menuitemcheckbox",e["aria-checked"]=this.modelValue===null?"mixed":this.modelValue?"true":"false")):this.modelValue!==null&&this.nativeType==="button"&&(e["aria-pressed"]=this.modelValue?"true":"false"),e}},methods:{handleClick(e){this.onClick(e),(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))}}},S2=["role"],k2=["aria-label","disabled","title","type"],T2={class:"action-button__longtext-wrapper"},N2={key:0,class:"action-button__name"},D2=["textContent"],O2={key:2,class:"action-button__text"},P2=["textContent"],B2={key:2,class:"action-button__pressed-icon material-design-icon"};function $2(e,t,n,r,o,s){const a=Ye("NcIconSvgWrapper");return R(),K("li",{class:Be(["action",{"action--disabled":n.disabled}]),role:s.isInSemanticMenu&&"presentation"},[ae("button",ht({"aria-label":e.ariaLabel,class:["action-button button-vue",{"action-button--active":s.isChecked,focusable:s.isFocusable}],disabled:n.disabled,title:e.title,type:s.nativeType},s.buttonAttributes,{onClick:t[0]||(t[0]=(...i)=>s.handleClick&&s.handleClick(...i))}),[be(e.$slots,"icon",{},()=>[ae("span",{class:Be([[e.isIconUrl?"action-button__icon--url":e.icon],"action-button__icon"]),style:dn({backgroundImage:e.isIconUrl?`url(${e.icon})`:null}),"aria-hidden":"true"},null,6)],!0),ae("span",T2,[e.name?(R(),K("strong",N2,_e(e.name),1)):he("",!0),e.isLongText?(R(),K("span",{key:1,class:"action-button__longtext",textContent:_e(e.text)},null,8,D2)):(R(),K("span",O2,_e(e.text),1)),n.description?(R(),K("span",{key:3,class:"action-button__description",textContent:_e(n.description)},null,8,P2)):he("",!0)]),n.isMenu?(R(),ge(a,{key:0,class:"action-button__menu-icon",directional:"",path:r.mdiChevronRight},null,8,["path"])):s.isChecked?(R(),ge(a,{key:1,path:r.mdiCheck,class:"action-button__pressed-icon"},null,8,["path"])):s.isChecked===!1?(R(),K("span",B2)):he("",!0),he("",!0)],16,k2)],10,S2)}const R2=He(A2,[["render",$2],["__scopeId","data-v-6c2daf4e"]]);function F2(e,t={}){const n=Lw();tt(e,()=>{Rt(t.disabled)||(Rt(e)?n.pause():n.unpause())}),ir(()=>{n.unpause()})}const L2=["top","right","bottom","left"],Qp=["start","end"],eh=L2.reduce((e,t)=>e.concat(t,t+"-"+Qp[0],t+"-"+Qp[1]),[]),Ys=Math.min,jl=Math.max,I2={left:"right",right:"left",bottom:"top",top:"bottom"};function rm(e,t,n){return jl(e,Ys(t,n))}function lo(e,t){return typeof e=="function"?e(t):e}function ur(e){return e.split("-")[0]}function Cn(e){return e.split("-")[1]}function om(e){return e==="x"?"y":"x"}function Dc(e){return e==="y"?"height":"width"}function tr(e){const t=e[0];return t==="t"||t==="b"?"y":"x"}function Oc(e){return om(tr(e))}function sm(e,t,n){n===void 0&&(n=!1);const r=Cn(e),o=Oc(e),s=Dc(o);let a=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(a=mi(a)),[a,mi(a)]}function M2(e){const t=mi(e);return[gi(e),t,gi(t)]}function gi(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}const th=["left","right"],nh=["right","left"],z2=["top","bottom"],j2=["bottom","top"];function U2(e,t,n){switch(e){case"top":case"bottom":return n?t?nh:th:t?th:nh;case"left":case"right":return t?z2:j2;default:return[]}}function H2(e,t,n,r){const o=Cn(e);let s=U2(ur(e),n==="start",r);return o&&(s=s.map(a=>a+"-"+o),t&&(s=s.concat(s.map(gi)))),s}function mi(e){const t=ur(e);return I2[t]+e.slice(t.length)}function V2(e){var t,n,r,o;return{top:(t=e.top)!=null?t:0,right:(n=e.right)!=null?n:0,bottom:(r=e.bottom)!=null?r:0,left:(o=e.left)!=null?o:0}}function am(e){return typeof e!="number"?V2(e):{top:e,right:e,bottom:e,left:e}}function Os(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function rh(e,t,n){let{reference:r,floating:o}=e;const s=tr(t),a=Oc(t),i=Dc(a),u=ur(t),c=s==="y",l=r.x+r.width/2-o.width/2,d=r.y+r.height/2-o.height/2,p=r[i]/2-o[i]/2;let h;switch(u){case"top":h={x:l,y:r.y-o.height};break;case"bottom":h={x:l,y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:d};break;case"left":h={x:r.x-o.width,y:d};break;default:h={x:r.x,y:r.y}}const g=Cn(t);return g&&(h[a]+=p*(g==="end"?1:-1)*(n&&c?-1:1)),h}async function G2(e,t){var n;t===void 0&&(t={});const{x:r,y:o,platform:s,rects:a,elements:i,strategy:u}=e,{boundary:c="clippingAncestors",rootBoundary:l="viewport",elementContext:d="floating",altBoundary:p=!1,padding:h=0}=lo(t,e),g=am(h),f=i[p?d==="floating"?"reference":"floating":d],m=Os(await s.getClippingRect({element:(n=await(s.isElement==null?void 0:s.isElement(f)))==null||n?f:f.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(i.floating)),boundary:c,rootBoundary:l,strategy:u})),v=d==="floating"?{x:r,y:o,width:a.floating.width,height:a.floating.height}:a.reference,y=await(s.getOffsetParent==null?void 0:s.getOffsetParent(i.floating)),w=await(s.isElement==null?void 0:s.isElement(y))&&await(s.getScale==null?void 0:s.getScale(y))||{x:1,y:1},C=Os(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:i,rect:v,offsetParent:y,strategy:u}):v);return{top:(m.top-C.top+g.top)/w.y,bottom:(C.bottom-m.bottom+g.bottom)/w.y,left:(m.left-C.left+g.left)/w.x,right:(C.right-m.right+g.right)/w.x}}const W2=50,q2=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:s=[],platform:a}=n,i=a.detectOverflow?a:{...a,detectOverflow:G2},u=await(a.isRTL==null?void 0:a.isRTL(t));let c=await a.getElementRects({reference:e,floating:t,strategy:o}),{x:l,y:d}=rh(c,r,u),p=r,h=0;const g={};for(let f=0;f({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:s,platform:a,elements:i,middlewareData:u}=t,{element:c,padding:l=0}=lo(e,t)||{};if(c==null)return{};const d=am(l),p={x:n,y:r},h=Oc(o),g=Dc(h),f=await a.getDimensions(c),m=h==="y",v=m?"top":"left",y=m?"bottom":"right",w=m?"clientHeight":"clientWidth",C=s.reference[g]+s.reference[h]-p[h]-s.floating[g],x=p[h]-s.reference[h],D=await(a.getOffsetParent==null?void 0:a.getOffsetParent(c));let $=D?D[w]:0;(!$||!await(a.isElement==null?void 0:a.isElement(D)))&&($=i.floating[w]||s.floating[g]);const q=C/2-x/2,U=$/2-f[g]/2-1,B=Ys(d[v],U),re=Ys(d[y],U),T=$-f[g]-re,S=$/2-f[g]/2+q,V=rm(B,S,T),se=!u.arrow&&Cn(o)!=null&&S!==V&&s.reference[g]/2-(SCn(r)===e),...n.filter(r=>Cn(r)!==e)]:n.filter(r=>ur(r)===r)).filter(r=>e?Cn(r)===e||(t?gi(r)!==r:!1):!0)}const X2=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var n,r,o;const{rects:s,middlewareData:a,placement:i,platform:u,elements:c}=t,{crossAxis:l=!1,alignment:d,allowedPlacements:p=eh,autoAlignment:h=!0,...g}=lo(e,t),f=d!==void 0||p===eh?Z2(d||null,h,p):p,m=((n=a.autoPlacement)==null?void 0:n.index)||0,v=f[m];if(v==null)return{};if(i!==v)return{reset:{placement:f[0]}};const y=await u.detectOverflow(t,g),w=sm(v,s,await(u.isRTL==null?void 0:u.isRTL(c.floating))),C=[y[ur(v)],y[w[0]],y[w[1]]],x=[...((r=a.autoPlacement)==null?void 0:r.overflows)||[],{placement:v,overflows:C}],D=f[m+1];if(D)return{data:{index:m+1,overflows:x},reset:{placement:D}};const $=x.map(U=>{const B=Cn(U.placement);return[U.placement,B&&l?U.overflows.slice(0,2).reduce((re,T)=>re+T,0):U.overflows[0],U.overflows]}).sort((U,B)=>U[1]-B[1]),q=((o=$.filter(U=>U[2].slice(0,Cn(U[0])?2:3).every(B=>B<=0))[0])==null?void 0:o[0])||$[0][0];return q!==i?{data:{index:m+1,overflows:x},reset:{placement:q}}:{}}}},Y2=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:s,rects:a,initialPlacement:i,platform:u,elements:c}=t,{mainAxis:l=!0,crossAxis:d=!0,fallbackPlacements:p,fallbackStrategy:h="bestFit",fallbackAxisSideDirection:g="none",flipAlignment:f=!0,...m}=lo(e,t);if((n=s.arrow)!=null&&n.alignmentOffset)return{};const v=ur(o),y=tr(i),w=ur(i)===i,C=await(u.isRTL==null?void 0:u.isRTL(c.floating)),x=p||(w||!f?[mi(i)]:M2(i)),D=g!=="none";!p&&D&&x.push(...H2(i,f,g,C));const $=[i,...x],q=await u.detectOverflow(t,m),U=[];let B=((r=s.flip)==null?void 0:r.overflows)||[];if(l&&U.push(q[v]),d){const V=sm(o,a,C);U.push(q[V[0]],q[V[1]])}if(B=[...B,{placement:o,overflows:U}],!U.every(V=>V<=0)){var re,T;const V=(((re=s.flip)==null?void 0:re.index)||0)+1,se=$[V];if(se&&(!(d==="alignment"&&y!==tr(se))||B.every(X=>tr(X.placement)===y?X.overflows[0]>0:!0)))return{data:{index:V,overflows:B},reset:{placement:se}};let Z=(T=B.filter(X=>X.overflows[0]<=0).sort((X,ne)=>X.overflows[1]-ne.overflows[1])[0])==null?void 0:T.placement;if(!Z)switch(h){case"bestFit":{var S;const X=(S=B.filter(ne=>{if(D){const ee=tr(ne.placement);return ee===y||ee==="y"}return!0}).map(ne=>[ne.placement,ne.overflows.filter(ee=>ee>0).reduce((ee,J)=>ee+J,0)]).sort((ne,ee)=>ne[1]-ee[1])[0])==null?void 0:S[0];X&&(Z=X);break}case"initialPlacement":Z=i;break}if(o!==Z)return{reset:{placement:Z}}}return{}}}},J2=new Set(["left","top"]);async function Q2(e,t){const{placement:n,platform:r,elements:o}=e,s=await(r.isRTL==null?void 0:r.isRTL(o.floating)),a=ur(n),i=Cn(n),u=tr(n)==="y",c=J2.has(a)?-1:1,l=s&&u?-1:1,d=lo(t,e);let{mainAxis:p,crossAxis:h,alignmentAxis:g}=typeof d=="number"?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return i&&typeof g=="number"&&(h=i==="end"?g*-1:g),u?{x:h*l,y:p*c}:{x:p*c,y:h*l}}const eC=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:s,placement:a,middlewareData:i}=t,u=await Q2(t,e);return a===((n=i.offset)==null?void 0:n.placement)&&(r=i.arrow)!=null&&r.alignmentOffset?{}:{x:o+u.x,y:s+u.y,data:{...u,placement:a}}}}},tC=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o,platform:s}=t,{mainAxis:a=!0,crossAxis:i=!1,limiter:u={fn:y=>{let{x:w,y:C}=y;return{x:w,y:C}}},...c}=lo(e,t),l={x:n,y:r},d=await s.detectOverflow(t,c),p=tr(o),h=om(p);let g=l[h],f=l[p];const m=(y,w)=>rm(w+d[y==="y"?"top":"left"],w,w-d[y==="y"?"bottom":"right"]);a&&(g=m(h,g)),i&&(f=m(p,f));const v=u.fn({...t,[h]:g,[p]:f});return{...v,data:{x:v.x-n,y:v.y-r,enabled:{[h]:a,[p]:i}}}}}},nC=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){const{placement:n,rects:r,platform:o,elements:s}=t,{apply:a=()=>{},...i}=lo(e,t),u=await o.detectOverflow(t,i),c=ur(n),l=Cn(n),d=tr(n)==="y",{width:p,height:h}=r.floating;let g,f;c==="top"||c==="bottom"?(g=c,f=l===(await(o.isRTL==null?void 0:o.isRTL(s.floating))?"start":"end")?"left":"right"):(f=c,g=l==="end"?"top":"bottom");const m=h-u.top-u.bottom,v=p-u.left-u.right,y=Ys(h-u[g],m),w=Ys(p-u[f],v),C=t.middlewareData.shift,x=!C;let D=y,$=w;C!=null&&C.enabled.x&&($=v),C!=null&&C.enabled.y&&(D=m),x&&!l&&(d?$=p-2*jl(u.left,u.right):D=h-2*jl(u.top,u.bottom)),await a({...t,availableWidth:$,availableHeight:D});const q=await o.getDimensions(s.floating);return p!==q.width||h!==q.height?{reset:{rects:!0}}:{}}}};function ln(e){var t;return((t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Mn(e){return ln(e).getComputedStyle(e)}const oh=Math.min,Ps=Math.max,vi=Math.round;function im(e){const t=Mn(e);let n=parseFloat(t.width),r=parseFloat(t.height);const o=e.offsetWidth,s=e.offsetHeight,a=vi(n)!==o||vi(r)!==s;return a&&(n=o,r=s),{width:n,height:r,fallback:a}}function Pr(e){return lm(e)?(e.nodeName||"").toLowerCase():""}let Oa;function um(){if(Oa)return Oa;const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?(Oa=e.brands.map((t=>t.brand+"/"+t.version)).join(" "),Oa):navigator.userAgent}function zn(e){return e instanceof ln(e).HTMLElement}function kr(e){return e instanceof ln(e).Element}function lm(e){return e instanceof ln(e).Node}function sh(e){return typeof ShadowRoot>"u"?!1:e instanceof ln(e).ShadowRoot||e instanceof ShadowRoot}function Yi(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=Mn(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function rC(e){return["table","td","th"].includes(Pr(e))}function Ul(e){const t=/firefox/i.test(um()),n=Mn(e),r=n.backdropFilter||n.WebkitBackdropFilter;return n.transform!=="none"||n.perspective!=="none"||!!r&&r!=="none"||t&&n.willChange==="filter"||t&&!!n.filter&&n.filter!=="none"||["transform","perspective"].some((o=>n.willChange.includes(o)))||["paint","layout","strict","content"].some((o=>{const s=n.contain;return s!=null&&s.includes(o)}))}function cm(){return!/^((?!chrome|android).)*safari/i.test(um())}function Pc(e){return["html","body","#document"].includes(Pr(e))}function dm(e){return kr(e)?e:e.contextElement}const pm={x:1,y:1};function Ro(e){const t=dm(e);if(!zn(t))return pm;const n=t.getBoundingClientRect(),{width:r,height:o,fallback:s}=im(t);let a=(s?vi(n.width):n.width)/r,i=(s?vi(n.height):n.height)/o;return a&&Number.isFinite(a)||(a=1),i&&Number.isFinite(i)||(i=1),{x:a,y:i}}function Js(e,t,n,r){var o,s;t===void 0&&(t=!1),n===void 0&&(n=!1);const a=e.getBoundingClientRect(),i=dm(e);let u=pm;t&&(r?kr(r)&&(u=Ro(r)):u=Ro(e));const c=i?ln(i):window,l=!cm()&&n;let d=(a.left+(l&&((o=c.visualViewport)==null?void 0:o.offsetLeft)||0))/u.x,p=(a.top+(l&&((s=c.visualViewport)==null?void 0:s.offsetTop)||0))/u.y,h=a.width/u.x,g=a.height/u.y;if(i){const f=ln(i),m=r&&kr(r)?ln(r):r;let v=f.frameElement;for(;v&&r&&m!==f;){const y=Ro(v),w=v.getBoundingClientRect(),C=getComputedStyle(v);w.x+=(v.clientLeft+parseFloat(C.paddingLeft))*y.x,w.y+=(v.clientTop+parseFloat(C.paddingTop))*y.y,d*=y.x,p*=y.y,h*=y.x,g*=y.y,d+=w.x,p+=w.y,v=ln(v).frameElement}}return{width:h,height:g,top:p,right:d+h,bottom:p+g,left:d,x:d,y:p}}function Tr(e){return((lm(e)?e.ownerDocument:e.document)||window.document).documentElement}function Ji(e){return kr(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function hm(e){return Js(Tr(e)).left+Ji(e).scrollLeft}function Qs(e){if(Pr(e)==="html")return e;const t=e.assignedSlot||e.parentNode||sh(e)&&e.host||Tr(e);return sh(t)?t.host:t}function fm(e){const t=Qs(e);return Pc(t)?t.ownerDocument.body:zn(t)&&Yi(t)?t:fm(t)}function yi(e,t){var n;t===void 0&&(t=[]);const r=fm(e),o=r===((n=e.ownerDocument)==null?void 0:n.body),s=ln(r);return o?t.concat(s,s.visualViewport||[],Yi(r)?r:[]):t.concat(r,yi(r))}function ah(e,t,n){return t==="viewport"?Os((function(r,o){const s=ln(r),a=Tr(r),i=s.visualViewport;let u=a.clientWidth,c=a.clientHeight,l=0,d=0;if(i){u=i.width,c=i.height;const p=cm();(p||!p&&o==="fixed")&&(l=i.offsetLeft,d=i.offsetTop)}return{width:u,height:c,x:l,y:d}})(e,n)):kr(t)?Os((function(r,o){const s=Js(r,!0,o==="fixed"),a=s.top+r.clientTop,i=s.left+r.clientLeft,u=zn(r)?Ro(r):{x:1,y:1};return{width:r.clientWidth*u.x,height:r.clientHeight*u.y,x:i*u.x,y:a*u.y}})(t,n)):Os((function(r){const o=Tr(r),s=Ji(r),a=r.ownerDocument.body,i=Ps(o.scrollWidth,o.clientWidth,a.scrollWidth,a.clientWidth),u=Ps(o.scrollHeight,o.clientHeight,a.scrollHeight,a.clientHeight);let c=-s.scrollLeft+hm(r);const l=-s.scrollTop;return Mn(a).direction==="rtl"&&(c+=Ps(o.clientWidth,a.clientWidth)-i),{width:i,height:u,x:c,y:l}})(Tr(e)))}function ih(e){return zn(e)&&Mn(e).position!=="fixed"?e.offsetParent:null}function uh(e){const t=ln(e);let n=ih(e);for(;n&&rC(n)&&Mn(n).position==="static";)n=ih(n);return n&&(Pr(n)==="html"||Pr(n)==="body"&&Mn(n).position==="static"&&!Ul(n))?t:n||(function(r){let o=Qs(r);for(;zn(o)&&!Pc(o);){if(Ul(o))return o;o=Qs(o)}return null})(e)||t}function oC(e,t,n){const r=zn(t),o=Tr(t),s=Js(e,!0,n==="fixed",t);let a={scrollLeft:0,scrollTop:0};const i={x:0,y:0};if(r||!r&&n!=="fixed")if((Pr(t)!=="body"||Yi(o))&&(a=Ji(t)),zn(t)){const u=Js(t,!0);i.x=u.x+t.clientLeft,i.y=u.y+t.clientTop}else o&&(i.x=hm(o));return{x:s.left+a.scrollLeft-i.x,y:s.top+a.scrollTop-i.y,width:s.width,height:s.height}}const sC={getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const s=n==="clippingAncestors"?(function(c,l){const d=l.get(c);if(d)return d;let p=yi(c).filter((m=>kr(m)&&Pr(m)!=="body")),h=null;const g=Mn(c).position==="fixed";let f=g?Qs(c):c;for(;kr(f)&&!Pc(f);){const m=Mn(f),v=Ul(f);(g?v||h:v||m.position!=="static"||!h||!["absolute","fixed"].includes(h.position))?h=m:p=p.filter((y=>y!==f)),f=Qs(f)}return l.set(c,p),p})(t,this._c):[].concat(n),a=[...s,r],i=a[0],u=a.reduce(((c,l)=>{const d=ah(t,l,o);return c.top=Ps(d.top,c.top),c.right=oh(d.right,c.right),c.bottom=oh(d.bottom,c.bottom),c.left=Ps(d.left,c.left),c}),ah(t,i,o));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:n,strategy:r}=e;const o=zn(n),s=Tr(n);if(n===s)return t;let a={scrollLeft:0,scrollTop:0},i={x:1,y:1};const u={x:0,y:0};if((o||!o&&r!=="fixed")&&((Pr(n)!=="body"||Yi(s))&&(a=Ji(n)),zn(n))){const c=Js(n);i=Ro(n),u.x=c.x+n.clientLeft,u.y=c.y+n.clientTop}return{width:t.width*i.x,height:t.height*i.y,x:t.x*i.x-a.scrollLeft*i.x+u.x,y:t.y*i.y-a.scrollTop*i.y+u.y}},isElement:kr,getDimensions:function(e){return zn(e)?im(e):e.getBoundingClientRect()},getOffsetParent:uh,getDocumentElement:Tr,getScale:Ro,async getElementRects(e){let{reference:t,floating:n,strategy:r}=e;const o=this.getOffsetParent||uh,s=this.getDimensions;return{reference:oC(t,await o(n),r),floating:{x:0,y:0,...await s(n)}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>Mn(e).direction==="rtl"},aC=(e,t,n)=>{const r=new Map,o={platform:sC,...n},s={...o.platform,_c:r};return q2(e,t,{...o,platform:s})},Nr={disabled:!1,distance:5,skidding:0,container:"body",boundary:void 0,instantMove:!1,disposeTimeout:150,popperTriggers:[],strategy:"absolute",preventOverflow:!0,flip:!0,shift:!0,overflowPadding:0,arrowPadding:0,arrowOverflow:!0,autoHideOnMousedown:!1,themes:{tooltip:{placement:"top",triggers:["hover","focus","touch"],hideTriggers:e=>[...e,"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"],delay:{show:0,hide:400}}}};function iC(e,t){let n=Nr.themes[e]||{},r;do r=n[t],typeof r>"u"?n.$extend?n=Nr.themes[n.$extend]||{}:(n=null,r=Nr[t]):n=null;while(n);return r}function uC(e){const t=[e];let n=Nr.themes[e]||{};do n.$extend&&!n.$resetCss?(t.push(n.$extend),n=Nr.themes[n.$extend]||{}):n=null;while(n);return t.map(r=>`v-popper--theme-${r}`)}function lh(e){const t=[e];let n=Nr.themes[e]||{};do n.$extend?(t.push(n.$extend),n=Nr.themes[n.$extend]||{}):n=null;while(n);return t}let ea=!1;if(typeof window<"u"){ea=!1;try{const e=Object.defineProperty({},"passive",{get(){ea=!0}});window.addEventListener("test",null,e)}catch{}}let gm=!1;typeof window<"u"&&typeof navigator<"u"&&(gm=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const lC=["auto","top","bottom","left","right"].reduce((e,t)=>e.concat([t,`${t}-start`,`${t}-end`]),[]),ch={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart",pointer:"pointerdown"},dh={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend",pointer:"pointerup"};function ph(e,t){const n=e.indexOf(t);n!==-1&&e.splice(n,1)}function Vu(){return new Promise(e=>requestAnimationFrame(()=>{requestAnimationFrame(e)}))}const bn=[];let Hr=null;const hh={};function fh(e){let t=hh[e];return t||(t=hh[e]=[]),t}let Hl=function(){};typeof window<"u"&&(Hl=window.Element);function Oe(e){return function(t){return iC(t.theme,e)}}const Gu="__floating-vue__popper",mm=()=>Ve({name:"VPopper",provide(){return{[Gu]:{parentPopper:this}}},inject:{[Gu]:{default:null}},props:{theme:{type:String,required:!0},targetNodes:{type:Function,required:!0},referenceNode:{type:Function,default:null},popperNode:{type:Function,required:!0},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:Oe("disabled")},positioningDisabled:{type:Boolean,default:Oe("positioningDisabled")},placement:{type:String,default:Oe("placement"),validator:e=>lC.includes(e)},delay:{type:[String,Number,Object],default:Oe("delay")},distance:{type:[Number,String],default:Oe("distance")},skidding:{type:[Number,String],default:Oe("skidding")},triggers:{type:Array,default:Oe("triggers")},showTriggers:{type:[Array,Function],default:Oe("showTriggers")},hideTriggers:{type:[Array,Function],default:Oe("hideTriggers")},popperTriggers:{type:Array,default:Oe("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:Oe("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:Oe("popperHideTriggers")},container:{type:[String,Object,Hl,Boolean],default:Oe("container")},boundary:{type:[String,Hl],default:Oe("boundary")},strategy:{type:String,validator:e=>["absolute","fixed"].includes(e),default:Oe("strategy")},autoHide:{type:[Boolean,Function],default:Oe("autoHide")},handleResize:{type:Boolean,default:Oe("handleResize")},instantMove:{type:Boolean,default:Oe("instantMove")},eagerMount:{type:Boolean,default:Oe("eagerMount")},popperClass:{type:[String,Array,Object],default:Oe("popperClass")},computeTransformOrigin:{type:Boolean,default:Oe("computeTransformOrigin")},autoMinSize:{type:Boolean,default:Oe("autoMinSize")},autoSize:{type:[Boolean,String],default:Oe("autoSize")},autoMaxSize:{type:Boolean,default:Oe("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:Oe("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:Oe("preventOverflow")},overflowPadding:{type:[Number,String],default:Oe("overflowPadding")},arrowPadding:{type:[Number,String],default:Oe("arrowPadding")},arrowOverflow:{type:Boolean,default:Oe("arrowOverflow")},flip:{type:Boolean,default:Oe("flip")},shift:{type:Boolean,default:Oe("shift")},shiftCrossAxis:{type:Boolean,default:Oe("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:Oe("noAutoFocus")},disposeTimeout:{type:Number,default:Oe("disposeTimeout")}},emits:{show:()=>!0,hide:()=>!0,"update:shown":e=>!0,"apply-show":()=>!0,"apply-hide":()=>!0,"close-group":()=>!0,"close-directive":()=>!0,"auto-hide":()=>!0,resize:()=>!0},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},randomId:`popper_${[Math.random(),Date.now()].map(e=>e.toString(36).substring(2,10)).join("_")}`,shownChildren:new Set,lastAutoHide:!0,pendingHide:!1,containsGlobalTarget:!1,isDisposed:!0,mouseDownContains:!1}},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:{...this.classes,popperClass:this.popperClass},result:this.positioningDisabled?null:this.result,attrs:this.$attrs}},parentPopper(){var e;return(e=this[Gu])==null?void 0:e.parentPopper},hasPopperShowTriggerHover(){var e,t;return((e=this.popperTriggers)==null?void 0:e.includes("hover"))||((t=this.popperShowTriggers)==null?void 0:t.includes("hover"))}},watch:{shown:"$_autoShowHide",disabled(e){e?this.dispose():this.init()},async container(){this.isShown&&(this.$_ensureTeleport(),await this.$_computePosition())},triggers:{handler:"$_refreshListeners",deep:!0},positioningDisabled:"$_refreshListeners",...["placement","distance","skidding","boundary","strategy","overflowPadding","arrowPadding","preventOverflow","shift","shiftCrossAxis","flip"].reduce((e,t)=>(e[t]="$_computePosition",e),{})},created(){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()},beforeUnmount(){this.dispose()},methods:{show({event:e=null,skipDelay:t=!1,force:n=!1}={}){var r,o;(r=this.parentPopper)!=null&&r.lockedChild&&this.parentPopper.lockedChild!==this||(this.pendingHide=!1,(n||!this.disabled)&&(((o=this.parentPopper)==null?void 0:o.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_scheduleShow(e,t),this.$emit("show"),this.$_showFrameLocked=!0,requestAnimationFrame(()=>{this.$_showFrameLocked=!1})),this.$emit("update:shown",!0))},hide({event:e=null,skipDelay:t=!1}={}){var n;if(!this.$_hideInProgress){if(this.shownChildren.size>0){this.pendingHide=!0;return}if(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:t}),this.parentPopper.lockedChild=null)},1e3));return}((n=this.parentPopper)==null?void 0:n.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.pendingHide=!1,this.$_scheduleHide(e,t),this.$emit("hide"),this.$emit("update:shown",!1)}},init(){var e;this.isDisposed&&(this.isDisposed=!1,this.isMounted=!1,this.$_events=[],this.$_preventShow=!1,this.$_referenceNode=((e=this.referenceNode)==null?void 0:e.call(this))??this.$el,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"))},async onResize(){this.isShown&&(await this.$_computePosition(),this.$emit("resize"))},async $_computePosition(){if(this.isDisposed||this.positioningDisabled)return;const e={strategy:this.strategy,middleware:[]};(this.distance||this.skidding)&&e.middleware.push(eC({mainAxis:this.distance,crossAxis:this.skidding}));const t=this.placement.startsWith("auto");if(t?e.middleware.push(X2({alignment:this.placement.split("-")[1]??""})):e.placement=this.placement,this.preventOverflow&&(this.shift&&e.middleware.push(tC({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!t&&this.flip&&e.middleware.push(Y2({padding:this.overflowPadding,boundary:this.boundary}))),e.middleware.push(K2({element:this.$_arrowNode,padding:this.arrowPadding})),this.arrowOverflow&&e.middleware.push({name:"arrowOverflow",fn:({placement:r,rects:o,middlewareData:s})=>{let a;const{centerOffset:i}=s.arrow;return r.startsWith("top")||r.startsWith("bottom")?a=Math.abs(i)>o.reference.width/2:a=Math.abs(i)>o.reference.height/2,{data:{overflow:a}}}}),this.autoMinSize||this.autoSize){const r=this.autoSize?this.autoSize:this.autoMinSize?"min":null;e.middleware.push({name:"autoSize",fn:({rects:o,placement:s,middlewareData:a})=>{var i;if((i=a.autoSize)!=null&&i.skip)return{};let u,c;return s.startsWith("top")||s.startsWith("bottom")?u=o.reference.width:c=o.reference.height,this.$_innerNode.style[r==="min"?"minWidth":r==="max"?"maxWidth":"width"]=u!=null?`${u}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(nC({boundary:this.boundary,padding:this.overflowPadding,apply:({availableWidth:r,availableHeight:o})=>{this.$_innerNode.style.maxWidth=r!=null?`${r}px`:null,this.$_innerNode.style.maxHeight=o!=null?`${o}px`:null}})));const n=await aC(this.$_referenceNode,this.$_popperNode,e);Object.assign(this.result,{x:n.x,y:n.y,placement:n.placement,strategy:n.strategy,arrow:{...n.middlewareData.arrow,...n.middlewareData.arrowOverflow}})},$_scheduleShow(e,t=!1){if(this.$_updateParentShownChildren(!0),this.$_hideInProgress=!1,clearTimeout(this.$_scheduleTimer),Hr&&this.instantMove&&Hr.instantMove&&Hr!==this.parentPopper){Hr.$_applyHide(!0),this.$_applyShow(!0);return}t?this.$_applyShow():this.$_scheduleTimer=setTimeout(this.$_applyShow.bind(this),this.$_computeDelay("show"))},$_scheduleHide(e,t=!1){if(this.shownChildren.size>0){this.pendingHide=!0;return}this.$_updateParentShownChildren(!1),this.$_hideInProgress=!0,clearTimeout(this.$_scheduleTimer),this.isShown&&(Hr=this),t?this.$_applyHide():this.$_scheduleTimer=setTimeout(this.$_applyHide.bind(this),this.$_computeDelay("hide"))},$_computeDelay(e){const t=this.delay;return parseInt(t&&t[e]||t||0)},async $_applyShow(e=!1){clearTimeout(this.$_disposeTimer),clearTimeout(this.$_scheduleTimer),this.skipTransition=e,!this.isShown&&(this.$_ensureTeleport(),await Vu(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...yi(this.$_referenceNode),...yi(this.$_popperNode)],"scroll",()=>{this.$_computePosition()}))},async $_applyShowEffect(){if(this.$_hideInProgress)return;if(this.computeTransformOrigin){const t=this.$_referenceNode.getBoundingClientRect(),n=this.$_popperNode.querySelector(".v-popper__wrapper"),r=n.parentNode.getBoundingClientRect(),o=t.x+t.width/2-(r.left+n.offsetLeft),s=t.y+t.height/2-(r.top+n.offsetTop);this.result.transformOrigin=`${o}px ${s}px`}this.isShown=!0,this.$_applyAttrsToTarget({"aria-describedby":this.popperId,"data-popper-shown":""});const e=this.showGroup;if(e){let t;for(let n=0;n0){this.pendingHide=!0,this.$_hideInProgress=!1;return}if(clearTimeout(this.$_scheduleTimer),!this.isShown)return;this.skipTransition=e,ph(bn,this),bn.length===0&&document.body.classList.remove("v-popper--some-open");for(const n of lh(this.theme)){const r=fh(n);ph(r,this),r.length===0&&document.body.classList.remove(`v-popper--some-open--${n}`)}Hr===this&&(Hr=null),this.isShown=!1,this.$_applyAttrsToTarget({"aria-describedby":void 0,"data-popper-shown":void 0}),clearTimeout(this.$_disposeTimer);const t=this.disposeTimeout;t!==null&&(this.$_disposeTimer=setTimeout(()=>{this.$_popperNode&&(this.$_detachPopperNode(),this.isMounted=!1)},t)),this.$_removeEventListeners("scroll"),this.$emit("apply-hide"),this.classes.showFrom=!1,this.classes.showTo=!1,this.classes.hideFrom=!0,this.classes.hideTo=!1,await Vu(),this.classes.hideFrom=!1,this.classes.hideTo=!0},$_autoShowHide(){this.shown?this.show():this.hide()},$_ensureTeleport(){if(this.isDisposed)return;let e=this.container;if(typeof e=="string"?e=window.document.querySelector(e):e===!1&&(e=this.$_targetNodes[0].parentNode),!e)throw new Error("No container for popover: "+this.container);e.appendChild(this.$_popperNode),this.isMounted=!0},$_addEventListeners(){const e=n=>{this.isShown&&!this.$_hideInProgress||(n.usedByTooltip=!0,!this.$_preventShow&&this.show({event:n}))};this.$_registerTriggerListeners(this.$_targetNodes,ch,this.triggers,this.showTriggers,e),this.$_registerTriggerListeners([this.$_popperNode],ch,this.popperTriggers,this.popperShowTriggers,e);const t=n=>{n.usedByTooltip||this.hide({event:n})};this.$_registerTriggerListeners(this.$_targetNodes,dh,this.triggers,this.hideTriggers,t),this.$_registerTriggerListeners([this.$_popperNode],dh,this.popperTriggers,this.popperHideTriggers,t)},$_registerEventListeners(e,t,n){this.$_events.push({targetNodes:e,eventType:t,handler:n}),e.forEach(r=>r.addEventListener(t,n,ea?{passive:!0}:void 0))},$_registerTriggerListeners(e,t,n,r,o){let s=n;r!=null&&(s=typeof r=="function"?r(s):r),s.forEach(a=>{const i=t[a];i&&this.$_registerEventListeners(e,i,o)})},$_removeEventListeners(e){const t=[];this.$_events.forEach(n=>{const{targetNodes:r,eventType:o,handler:s}=n;!e||e===o?r.forEach(a=>a.removeEventListener(o,s)):t.push(n)}),this.$_events=t},$_refreshListeners(){this.isDisposed||(this.$_removeEventListeners(),this.$_addEventListeners())},$_handleGlobalClose(e,t=!1){this.$_showFrameLocked||(this.hide({event:e}),e.closePopover?this.$emit("close-directive"):this.$emit("auto-hide"),t&&(this.$_preventShow=!0,setTimeout(()=>{this.$_preventShow=!1},300)))},$_detachPopperNode(){this.$_popperNode.parentNode&&this.$_popperNode.parentNode.removeChild(this.$_popperNode)},$_swapTargetAttrs(e,t){for(const n of this.$_targetNodes){const r=n.getAttribute(e);r&&(n.removeAttribute(e),n.setAttribute(t,r))}},$_applyAttrsToTarget(e){for(const t of this.$_targetNodes)for(const n in e){const r=e[n];r==null?t.removeAttribute(n):t.setAttribute(n,r)}},$_updateParentShownChildren(e){let t=this.parentPopper;for(;t;)e?t.shownChildren.add(this.randomId):(t.shownChildren.delete(this.randomId),t.pendingHide&&t.hide()),t=t.parentPopper},$_isAimingPopper(){const e=this.$_referenceNode.getBoundingClientRect();if(Bs>=e.left&&Bs<=e.right&&$s>=e.top&&$s<=e.bottom){const t=this.$_popperNode.getBoundingClientRect(),n=Bs-vr,r=$s-yr,o=t.left+t.width/2-vr+(t.top+t.height/2)-yr+t.width+t.height,s=vr+n*o,a=yr+r*o;return Pa(vr,yr,s,a,t.left,t.top,t.left,t.bottom)||Pa(vr,yr,s,a,t.left,t.top,t.right,t.top)||Pa(vr,yr,s,a,t.right,t.top,t.right,t.bottom)||Pa(vr,yr,s,a,t.left,t.bottom,t.right,t.bottom)}return!1}},render(){return this.$slots.default(this.slotData)}});if(typeof document<"u"&&typeof window<"u"){if(gm){const e=ea?{passive:!0,capture:!0}:!0;document.addEventListener("touchstart",t=>gh(t),e),document.addEventListener("touchend",t=>mh(t,!0),e)}else window.addEventListener("mousedown",e=>gh(e),!0),window.addEventListener("click",e=>mh(e,!1),!0);window.addEventListener("resize",pC)}function gh(e,t){for(let n=0;n=0;r--){const o=bn[r];try{const s=o.containsGlobalTarget=o.mouseDownContains||o.popperNode().contains(e.target);o.pendingHide=!1,requestAnimationFrame(()=>{if(o.pendingHide=!1,!n[o.randomId]&&vh(o,s,e)){if(o.$_handleGlobalClose(e,t),!e.closeAllPopover&&e.closePopover&&s){let i=o.parentPopper;for(;i;)n[i.randomId]=!0,i=i.parentPopper;return}let a=o.parentPopper;for(;a&&vh(a,a.containsGlobalTarget,e);)a.$_handleGlobalClose(e,t),a=a.parentPopper}})}catch{}}}function vh(e,t,n){return n.closeAllPopover||n.closePopover&&t||dC(e,n)&&!t}function dC(e,t){if(typeof e.autoHide=="function"){const n=e.autoHide(t);return e.lastAutoHide=n,n}return e.autoHide}function pC(){for(let e=0;e{vr=Bs,yr=$s,Bs=e.clientX,$s=e.clientY},ea?{passive:!0}:void 0);function Pa(e,t,n,r,o,s,a,i){const u=((a-o)*(t-s)-(i-s)*(e-o))/((i-s)*(n-e)-(a-o)*(r-t)),c=((n-e)*(t-s)-(r-t)*(e-o))/((i-s)*(n-e)-(a-o)*(r-t));return u>=0&&u<=1&&c>=0&&c<=1}const hC={extends:mm()},Bc=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n};function fC(e,t,n,r,o,s){return R(),K("div",{ref:"reference",class:Be(["v-popper",{"v-popper--shown":e.slotData.isShown}])},[be(e.$slots,"default",Ls(Io(e.slotData)))],2)}const gC=Bc(hC,[["render",fC]]);function mC(){var e=window.navigator.userAgent,t=e.indexOf("MSIE ");if(t>0)return parseInt(e.substring(t+5,e.indexOf(".",t)),10);var n=e.indexOf("Trident/");if(n>0){var r=e.indexOf("rv:");return parseInt(e.substring(r+3,e.indexOf(".",r)),10)}var o=e.indexOf("Edge/");return o>0?parseInt(e.substring(o+5,e.indexOf(".",o)),10):-1}let ja;function Vl(){Vl.init||(Vl.init=!0,ja=mC()!==-1)}var Ua={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){Vl(),wn(()=>{this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitOnMount&&this.emitSize()});const e=document.createElement("object");this._resizeObject=e,e.setAttribute("aria-hidden","true"),e.setAttribute("tabindex",-1),e.onload=this.addResizeHandlers,e.type="text/html",ja&&this.$el.appendChild(e),e.data="about:blank",ja||this.$el.appendChild(e)},beforeUnmount(){this.removeResizeHandlers()},methods:{compareAndNotify(){(!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(){this.$emit("notify",{width:this._w,height:this._h})},addResizeHandlers(){this._resizeObject.contentDocument.defaultView.addEventListener("resize",this.compareAndNotify),this.compareAndNotify()},removeResizeHandlers(){this._resizeObject&&this._resizeObject.onload&&(!ja&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const vC=G1();H1("data-v-b329ee4c");const yC={class:"resize-observer",tabindex:"-1"};V1();const bC=vC((e,t,n,r,o,s)=>(R(),ge("div",yC)));Ua.render=bC,Ua.__scopeId="data-v-b329ee4c",Ua.__file="src/components/ResizeObserver.vue";const vm=(e="theme")=>({computed:{themeClass(){return uC(this[e])}}}),EC=Ve({name:"VPopperContent",components:{ResizeObserver:Ua},mixins:[vm()],props:{popperId:String,theme:String,shown:Boolean,mounted:Boolean,skipTransition:Boolean,autoHide:Boolean,handleResize:Boolean,classes:Object,result:Object},emits:["hide","resize"],methods:{toPx(e){return e!=null&&!isNaN(e)?`${e}px`:null}}}),wC=["id","aria-hidden","tabindex","data-popper-placement"],CC={ref:"inner",class:"v-popper__inner"},_C=ae("div",{class:"v-popper__arrow-outer"},null,-1),xC=ae("div",{class:"v-popper__arrow-inner"},null,-1),AC=[_C,xC];function SC(e,t,n,r,o,s){const a=Ye("ResizeObserver");return R(),K("div",{id:e.popperId,ref:"popover",class:Be(["v-popper__popper",[e.themeClass,e.classes.popperClass,{"v-popper__popper--shown":e.shown,"v-popper__popper--hidden":!e.shown,"v-popper__popper--show-from":e.classes.showFrom,"v-popper__popper--show-to":e.classes.showTo,"v-popper__popper--hide-from":e.classes.hideFrom,"v-popper__popper--hide-to":e.classes.hideTo,"v-popper__popper--skip-transition":e.skipTransition,"v-popper__popper--arrow-overflow":e.result&&e.result.arrow.overflow,"v-popper__popper--no-positioning":!e.result}]]),style:dn(e.result?{position:e.result.strategy,transform:`translate3d(${Math.round(e.result.x)}px,${Math.round(e.result.y)}px,0)`}:void 0),"aria-hidden":e.shown?"false":"true",tabindex:e.autoHide?0:void 0,"data-popper-placement":e.result?e.result.placement:void 0,onKeyup:t[2]||(t[2]=la(i=>e.autoHide&&e.$emit("hide"),["esc"]))},[ae("div",{class:"v-popper__backdrop",onClick:t[0]||(t[0]=i=>e.autoHide&&e.$emit("hide"))}),ae("div",{class:"v-popper__wrapper",style:dn(e.result?{transformOrigin:e.result.transformOrigin}:void 0)},[ae("div",CC,[e.mounted?(R(),K(Xe,{key:0},[ae("div",null,[be(e.$slots,"default")]),e.handleResize?(R(),ge(a,{key:0,onNotify:t[1]||(t[1]=i=>e.$emit("resize",i))})):he("",!0)],64)):he("",!0)],512),ae("div",{ref:"arrow",class:"v-popper__arrow-container",style:dn(e.result?{left:e.toPx(e.result.arrow.x),top:e.toPx(e.result.arrow.y)}:void 0)},AC,4)],4)],46,wC)}const kC=Bc(EC,[["render",SC]]),TC={methods:{show(...e){return this.$refs.popper.show(...e)},hide(...e){return this.$refs.popper.hide(...e)},dispose(...e){return this.$refs.popper.dispose(...e)},onResize(...e){return this.$refs.popper.onResize(...e)}}};let Gl=function(){};typeof window<"u"&&(Gl=window.Element);const NC=Ve({name:"VPopperWrapper",components:{Popper:gC,PopperContent:kC},mixins:[TC,vm("finalTheme")],props:{theme:{type:String,default:null},referenceNode:{type:Function,default:null},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:void 0},positioningDisabled:{type:Boolean,default:void 0},placement:{type:String,default:void 0},delay:{type:[String,Number,Object],default:void 0},distance:{type:[Number,String],default:void 0},skidding:{type:[Number,String],default:void 0},triggers:{type:Array,default:void 0},showTriggers:{type:[Array,Function],default:void 0},hideTriggers:{type:[Array,Function],default:void 0},popperTriggers:{type:Array,default:void 0},popperShowTriggers:{type:[Array,Function],default:void 0},popperHideTriggers:{type:[Array,Function],default:void 0},container:{type:[String,Object,Gl,Boolean],default:void 0},boundary:{type:[String,Gl],default:void 0},strategy:{type:String,default:void 0},autoHide:{type:[Boolean,Function],default:void 0},handleResize:{type:Boolean,default:void 0},instantMove:{type:Boolean,default:void 0},eagerMount:{type:Boolean,default:void 0},popperClass:{type:[String,Array,Object],default:void 0},computeTransformOrigin:{type:Boolean,default:void 0},autoMinSize:{type:Boolean,default:void 0},autoSize:{type:[Boolean,String],default:void 0},autoMaxSize:{type:Boolean,default:void 0},autoBoundaryMaxSize:{type:Boolean,default:void 0},preventOverflow:{type:Boolean,default:void 0},overflowPadding:{type:[Number,String],default:void 0},arrowPadding:{type:[Number,String],default:void 0},arrowOverflow:{type:Boolean,default:void 0},flip:{type:Boolean,default:void 0},shift:{type:Boolean,default:void 0},shiftCrossAxis:{type:Boolean,default:void 0},noAutoFocus:{type:Boolean,default:void 0},disposeTimeout:{type:Number,default:void 0}},emits:{show:()=>!0,hide:()=>!0,"update:shown":e=>!0,"apply-show":()=>!0,"apply-hide":()=>!0,"close-group":()=>!0,"close-directive":()=>!0,"auto-hide":()=>!0,resize:()=>!0},computed:{finalTheme(){return this.theme??this.$options.vPopperTheme}},methods:{getTargetNodes(){return Array.from(this.$el.children).filter(e=>e!==this.$refs.popperContent.$el)}}});function DC(e,t,n,r,o,s){const a=Ye("PopperContent"),i=Ye("Popper");return R(),ge(i,ht({ref:"popper"},e.$props,{theme:e.finalTheme,"target-nodes":e.getTargetNodes,"popper-node":()=>e.$refs.popperContent.$el,class:[e.themeClass],onShow:t[0]||(t[0]=()=>e.$emit("show")),onHide:t[1]||(t[1]=()=>e.$emit("hide")),"onUpdate:shown":t[2]||(t[2]=u=>e.$emit("update:shown",u)),onApplyShow:t[3]||(t[3]=()=>e.$emit("apply-show")),onApplyHide:t[4]||(t[4]=()=>e.$emit("apply-hide")),onCloseGroup:t[5]||(t[5]=()=>e.$emit("close-group")),onCloseDirective:t[6]||(t[6]=()=>e.$emit("close-directive")),onAutoHide:t[7]||(t[7]=()=>e.$emit("auto-hide")),onResize:t[8]||(t[8]=()=>e.$emit("resize"))}),{default:de(({popperId:u,isShown:c,shouldMountContent:l,skipTransition:d,autoHide:p,show:h,hide:g,handleResize:f,onResize:m,classes:v,result:y})=>[be(e.$slots,"default",{shown:c,show:h,hide:g}),ce(a,{ref:"popperContent","popper-id":u,theme:e.finalTheme,shown:c,mounted:l,"skip-transition":d,"auto-hide":p,"handle-resize":f,classes:v,result:y,onHide:g,onResize:m},{default:de(()=>[be(e.$slots,"popper",{shown:c,hide:g})]),_:2},1032,["popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:3},16,["theme","target-nodes","popper-node","class"])}const Wl=Bc(NC,[["render",DC]]),OC={...Wl,name:"VDropdown",vPopperTheme:"dropdown"};({...Wl},{...Wl}),mm();const yh=Nr,PC=OC,BC=Ve({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.$slots.default?.({attrs:this.triggerAttrs})}}),$C="_ncPopover_HjJ88",RC={"material-design-icon":"_material-design-icon_FKPyJ",ncPopover:$C},ym="nc-popover-9";yh.themes[ym]=structuredClone(yh.themes.dropdown);const FC={name:"NcPopover",components:{Dropdown:PC,NcPopoverTriggerProvider:BC},props:{boundary:{type:[String,Object],default:""},closeOnClickOutside:{type:Boolean,default:!0},noCloseOnClickOutside:{type:Boolean,default:!1},container:{type:[Boolean,String],default:"body"},delay:{type:[Number,Object],default:0},noFocusTrap:{type:Boolean,default:!1},placement:{type:String,default:"bottom"},popoverBaseClass:{type:String,default:""},popoverTriggers:{type:[Array,Object],default:null},popupRole:{type:String,default:void 0,validator:e=>["menu","listbox","tree","grid","dialog","true"].includes(e)},setReturnFocus:{default:void 0,type:[Boolean,HTMLElement,SVGElement,String,Function]},shown:{type:Boolean,default:!1},triggers:{type:[Array,Object],default:()=>["click"]}},emits:["afterShow","afterHide","update:shown"],setup(){return{theme:ym}},data(){return{internalShown:this.shown}},computed:{popperTriggers(){if(this.popoverTriggers&&Array.isArray(this.popoverTriggers))return this.popoverTriggers},popperHideTriggers(){if(this.popoverTriggers&&typeof this.popoverTriggers=="object")return this.popoverTriggers.hide},popperShowTriggers(){if(this.popoverTriggers&&typeof this.popoverTriggers=="object")return this.popoverTriggers.show},internalTriggers(){if(this.triggers&&Array.isArray(this.triggers))return this.triggers},hideTriggers(){if(this.triggers&&typeof this.triggers=="object")return this.triggers.hide},showTriggers(){if(this.triggers&&typeof this.triggers=="object")return this.triggers.show},internalPlacement(){return this.placement==="start"?Xs?"right":"left":this.placement==="end"?Xs?"left":"right":this.placement}},watch:{shown(e){this.internalShown=e},internalShown(e){this.$emit("update:shown",e)}},mounted(){this.checkTriggerA11y()},beforeUnmount(){this.clearFocusTrap(),this.clearEscapeStopPropagation()},methods:{checkTriggerA11y(){window.OC?.debug&&this.getPopoverTriggerContainerElement().querySelector("[aria-expanded]")},removeFloatingVueAriaDescribedBy(){const e=this.getPopoverTriggerContainerElement().querySelectorAll("[data-popper-shown]");for(const t of e)t.removeAttribute("aria-describedby")},getPopoverContentElement(){return this.$refs.popover?.$refs.popperContent?.$el},getPopoverTriggerContainerElement(){return this.$refs.popover?.$refs.popper?.$refs.reference},async useFocusTrap(){if(await this.$nextTick(),this.noFocusTrap)return;const e=this.getPopoverContentElement();e.tabIndex=-1,e&&(this.$focusTrap=Nc(e,{escapeDeactivates:!1,allowOutsideClick:!0,setReturnFocus:this.setReturnFocus,trapStack:jo(),fallBackFocus:e}),this.$focusTrap.activate())},clearFocusTrap(e={}){try{this.$focusTrap?.deactivate(e),this.$focusTrap=null}catch(t){$o.warn("[NcPopover] Failed to clear focus trap",{error:t})}},addEscapeStopPropagation(){this.getPopoverContentElement()?.addEventListener("keydown",this.stopKeydownEscapeHandler)},clearEscapeStopPropagation(){this.getPopoverContentElement()?.removeEventListener("keydown",this.stopKeydownEscapeHandler)},stopKeydownEscapeHandler(e){e.type==="keydown"&&e.key==="Escape"&&e.stopPropagation()},async afterShow(){this.getPopoverContentElement().addEventListener("transitionend",()=>{this.$emit("afterShow")},{once:!0,passive:!0}),this.removeFloatingVueAriaDescribedBy(),await this.$nextTick(),await this.useFocusTrap(),this.addEscapeStopPropagation()},afterHide(){this.getPopoverContentElement()?.addEventListener("transitionend",()=>{this.$emit("afterHide")},{once:!0,passive:!0}),this.clearFocusTrap(),this.clearEscapeStopPropagation()}}};function LC(e,t,n,r,o,s){const a=Ye("NcPopoverTriggerProvider"),i=Ye("Dropdown");return R(),ge(i,{ref:"popover",shown:o.internalShown,"onUpdate:shown":[t[0]||(t[0]=u=>o.internalShown=u),t[1]||(t[1]=u=>o.internalShown=u)],arrowPadding:10,autoHide:!n.noCloseOnClickOutside&&n.closeOnClickOutside,boundary:n.boundary||void 0,container:n.container,delay:n.delay,distance:10,handleResize:"",noAutoFocus:!0,placement:s.internalPlacement,popperClass:[e.$style.ncPopover,n.popoverBaseClass],popperTriggers:s.popperTriggers,popperHideTriggers:s.popperHideTriggers,popperShowTriggers:s.popperShowTriggers,theme:r.theme,triggers:s.internalTriggers,hideTriggers:s.hideTriggers,showTriggers:s.showTriggers,onApplyShow:s.afterShow,onApplyHide:s.afterHide},{popper:de(u=>[be(e.$slots,"default",Ls(Io(u)))]),default:de(()=>[ce(a,{shown:o.internalShown,popupRole:n.popupRole},{default:de(u=>[be(e.$slots,"trigger",Ls(Io(u)))]),_:3},8,["shown","popupRole"])]),_:3},8,["shown","autoHide","boundary","container","delay","placement","popperClass","popperTriggers","popperHideTriggers","popperShowTriggers","theme","triggers","hideTriggers","showTriggers","onApplyShow","onApplyHide"])}const IC={$style:RC},bh=He(FC,[["render",LC],["__cssModules",IC]]),MC={name:"DotsHorizontalIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},zC=["aria-hidden","aria-label"],jC=["fill","width","height"],UC={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"},HC={key:0};function VC(e,t,n,r,o,s){return R(),K("span",ht(e.$attrs,{"aria-hidden":n.title?null:"true","aria-label":n.title,class:"material-design-icon dots-horizontal-icon",role:"img",onClick:t[0]||(t[0]=a=>e.$emit("click",a))}),[(R(),K("svg",{fill:n.fillColor,class:"material-design-icon__svg",width:n.size,height:n.size,viewBox:"0 0 24 24"},[ae("path",UC,[n.title?(R(),K("title",HC,_e(n.title),1)):he("",!0)])],8,jC))],16,zC)}const GC=He(MC,[["render",VC]]);hn(yE);function bm(e){return Array.isArray(e)&&e.some(t=>{if(t===null)return!1;if(typeof t=="object"){const n=t;if(n.type===Ct||n.type===Xe&&!bm(n.children)||n.type===ia&&!n.children.trim())return!1}return!0})}const WC=".focusable",qC={name:"NcActions",components:{NcButton:et,NcPopover:bh},provide(){return{[tm]:oe(()=>this.actionsMenuSemanticType==="menu"),[nm]:this.closeMenu}},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},primary:{type:Boolean,default:!1},defaultIcon:{type:String,default:""},ariaLabel:{type:String,default:Fe("Actions")},placement:{type:String,default:"bottom"},boundariesElement:{type:Element,default:()=>document.getElementById("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(e){return["primary","secondary","tertiary","tertiary-no-background","tertiary-on-primary","error","warning","success"].includes(e)},default:null},size:{type:String,default:"normal",validator(e){return["small","normal","large"].includes(e)}}},emits:["click","blur","focus","close","closed","open","opened","update:open"],setup(){return{randomId:Wo()}},data(){return{opened:this.open,focusIndex:0,actionsMenuSemanticType:"unknown"}},computed:{triggerButtonVariant(){return this.variant||(this.primary?"primary":this.menuName?"secondary":"tertiary")},config(){return{menu:{popupRole:"menu",withArrowNavigation:!0,withTabNavigation:!1,withFocusTrap:!1},navigation:{popupRole:void 0,withArrowNavigation:!1,withTabNavigation:!0,withFocusTrap:!1},dialog:{popupRole:"dialog",withArrowNavigation:!1,withTabNavigation:!0,withFocusTrap:!0},tooltip:{popupRole:void 0,withArrowNavigation:!1,withTabNavigation:!1,withFocusTrap:!1},unknown:{popupRole:void 0,role:void 0,withArrowNavigation:!0,withTabNavigation:!1,withFocusTrap:!0}}[this.actionsMenuSemanticType]},withFocusTrap(){return this.config.withFocusTrap}},watch:{open(e){e!==this.opened&&(this.opened=e)},opened(){this.opened?document.body.addEventListener("keydown",this.handleEscapePressed):document.body.removeEventListener("keydown",this.handleEscapePressed)}},created(){F2(()=>this.opened,{disabled:()=>this.config.withFocusTrap}),"ariaHidden"in this.$attrs},methods:{getActionName(e){return e?.type?.name},isValidSingleAction(e){return["NcActionButton","NcActionLink","NcActionRouter"].includes(this.getActionName(e))},isAction(e){return this.getActionName(e)?.startsWith?.("NcAction")},isIconUrl(e){try{return!!new URL(e,e.startsWith("/")?window.location.origin:void 0)}catch{return!1}},toggleMenu(e){e?this.openMenu():this.closeMenu()},openMenu(){this.opened||(this.opened=!0,this.$emit("update:open",!0),this.$emit("open"))},async closeMenu(e=!0){this.opened&&(await this.$nextTick(),this.opened=!1,this.$refs.popover?.clearFocusTrap({returnFocus:e}),this.$emit("update:open",!1),this.$emit("close"),this.focusIndex=0,e&&this.$refs.triggerButton?.$el.focus())},onOpened(){this.$nextTick(()=>{this.focusFirstAction(null),this.$emit("opened")})},onClosed(){this.$emit("closed")},getCurrentActiveMenuItemElement(){return this.$refs.menu.querySelector("li.active")},getFocusableMenuItemElements(){return this.$refs.menu.querySelectorAll(WC)},onKeydown(e){if(e.key==="Tab"){if(this.config.withFocusTrap)return;if(!this.config.withTabNavigation){this.closeMenu(!0);return}e.preventDefault();const t=this.getFocusableMenuItemElements(),n=[...t].indexOf(document.activeElement);if(n===-1)return;const r=e.shiftKey?n-1:n+1;(r<0||r===t.length)&&this.closeMenu(!0),this.focusIndex=r,this.focusAction();return}this.config.withArrowNavigation&&(e.key==="ArrowUp"&&this.focusPreviousAction(e),e.key==="ArrowDown"&&this.focusNextAction(e),e.key==="PageUp"&&this.focusFirstAction(e),e.key==="PageDown"&&this.focusLastAction(e)),this.handleEscapePressed(e)},onTriggerKeydown(e){e.key==="Escape"&&this.actionsMenuSemanticType==="tooltip"&&this.closeMenu()},handleEscapePressed(e){e.key==="Escape"&&(this.closeMenu(),e.preventDefault())},removeCurrentActive(){const e=this.$refs.menu.querySelector("li.active");e&&e.classList.remove("active")},focusAction(){const e=this.getFocusableMenuItemElements()[this.focusIndex];if(e){this.removeCurrentActive();const t=e.closest("li.action");e.focus(),t&&t.classList.add("active")}},focusPreviousAction(e){this.opened&&(this.focusIndex===0?this.focusLastAction(e):(this.preventIfEvent(e),this.focusIndex=this.focusIndex-1),this.focusAction())},focusNextAction(e){if(this.opened){const t=this.getFocusableMenuItemElements().length-1;this.focusIndex===t?this.focusFirstAction(e):(this.preventIfEvent(e),this.focusIndex=this.focusIndex+1),this.focusAction()}},focusFirstAction(e){if(this.opened){this.preventIfEvent(e);const t=[...this.getFocusableMenuItemElements()].findIndex(n=>n.getAttribute("aria-checked")==="true"&&n.getAttribute("role")==="menuitemradio");this.focusIndex=t>-1?t:0,this.focusAction()}},focusLastAction(e){this.opened&&(this.preventIfEvent(e),this.focusIndex=this.getFocusableMenuItemElements().length-1,this.focusAction())},preventIfEvent(e){e&&(e.preventDefault(),e.stopPropagation())},onFocus(e){this.$emit("focus",e)},onBlur(e){this.$emit("blur",e),this.actionsMenuSemanticType==="tooltip"&&this.$refs.menu&&this.getFocusableMenuItemElements().length===0&&this.closeMenu(!1)},onClick(e){this.$emit("click",e)}},render(){const e=[],t=(h,g)=>{h.forEach(f=>{if(this.isAction(f)){g.push(f);return}f.type===Xe&&t(f.children,g)})};if(t(this.$slots.default?.(),e),e.length===0)return;let n=e.filter(this.isValidSingleAction);this.forceMenu&&n.length>0&&this.inline>0&&(n=[]);const r=n.slice(0,this.inline),o=e.filter(h=>!r.includes(h)),s=["NcActionButton","NcActionButtonGroup","NcActionCheckbox","NcActionRadio"],a=["NcActionInput","NcActionTextEditable"],i=["NcActionLink","NcActionRouter"],u=o.some(h=>a.includes(this.getActionName(h))),c=o.some(h=>s.includes(this.getActionName(h))),l=o.some(h=>i.includes(this.getActionName(h)));u?this.actionsMenuSemanticType="dialog":c?this.actionsMenuSemanticType="menu":l?this.actionsMenuSemanticType="navigation":e.filter(h=>this.getActionName(h).startsWith("NcAction")).length===e.length?this.actionsMenuSemanticType="tooltip":this.actionsMenuSemanticType="unknown";const d=h=>{const g=h?.props?.icon,f=h?.children?.icon?.()?.[0]??(this.isIconUrl(g)?Pt("img",{class:"action-item__menutoggle__icon",src:g,alt:""}):Pt("span",{class:["icon",g]})),m=h?.children?.default?.()?.[0]?.children?.trim(),v=this.forceName?m:"";let y=h?.props?.title;this.forceName||y||(y=m);const w={...h?.props??{}},C=["submit","reset"].includes(w.type)?w.modelValue:"button";return delete w.modelValue,delete w.type,Pt(et,ht(w,{class:"action-item action-item--single","aria-label":h?.props?.["aria-label"]||m,title:y,disabled:this.disabled||h?.props?.disabled,pressed:h?.props?.modelValue,size:this.size,type:C,variant:this.variant||(v?"secondary":"tertiary"),onFocus:this.onFocus,onBlur:this.onBlur,"onUpdate:pressed":h?.props?.["onUpdate:modelValue"]??(()=>{})}),{default:()=>v,icon:()=>f})},p=h=>{const g=bm(this.$slots.icon?.())?this.$slots.icon?.():this.defaultIcon?Pt("span",{class:["icon",this.defaultIcon]}):Pt(GC,{size:20}),f=`${this.randomId}-trigger`;return Pt(bh,{ref:"popover",delay:0,shown:this.opened,placement:this.placement,boundary:this.boundariesElement,autoBoundaryMaxSize:!0,container:this.container,...this.manualOpen&&{triggers:[]},noCloseOnClickOutside:this.manualOpen,popoverBaseClass:"action-item__popper",popupRole:this.config.popupRole,setReturnFocus:this.config.withFocusTrap?this.$refs.triggerButton?.$el:void 0,noFocusTrap:!this.config.withFocusTrap,"onUpdate:shown":this.toggleMenu,onAfterShow:this.onOpened,onAfterClose:this.onClosed},{trigger:()=>Pt(et,{id:f,class:"action-item__menutoggle",disabled:this.disabled,size:this.size,variant:this.triggerButtonVariant,ref:"triggerButton","aria-label":this.menuName?null:this.ariaLabel,"aria-controls":this.opened&&this.config.popupRole?this.randomId:null,onFocus:this.onFocus,onBlur:this.onBlur,onClick:this.onClick,onKeydown:this.onTriggerKeydown},{icon:()=>g,default:()=>this.menuName}),default:()=>Pt("div",{class:{open:this.opened},tabindex:"-1",onKeydown:this.onKeydown,ref:"menu"},[Pt("ul",{id:this.randomId,tabindex:"-1",ref:"menuList",role:this.config.popupRole,"aria-labelledby":f,"aria-modal":this.actionsMenuSemanticType==="dialog"?"true":void 0},[h])])})};return e.length===1&&n.length===1&&!this.forceMenu?d(e[0]):(this.$nextTick(()=>{this.opened&&this.$refs.menu&&(this.$refs.menu.querySelector("li.active")||[]).length===0&&this.focusFirstAction()}),r.length>0&&this.inline>0?Pt("div",{class:["action-items",`action-item--${this.triggerButtonVariant}`]},[...r.map(d),o.length>0?Pt("div",{class:["action-item",{"action-item--open":this.opened}]},[p(o)]):null]):Pt("div",{class:["action-item action-item--default-popover",`action-item--${this.triggerButtonVariant}`,{"action-item--open":this.opened}]},[p(e)]))}},$c=He(qC,[["__scopeId","data-v-5f7eed6b"]]),KC=["aria-label"],ZC=["width","height"],XC=["fill"],YC=["fill"],JC={key:0},QC=Ve({__name:"NcLoadingIcon",props:{appearance:{default:"auto"},name:{default:""},size:{default:20}},setup(e){const t=e,n=oe(()=>{const r=["#777","#CCC"];return t.appearance==="light"?r:t.appearance==="dark"?r.reverse():["var(--color-loading-light)","var(--color-loading-dark)"]});return(r,o)=>(R(),K("span",{"aria-label":r.name,role:"img",class:"material-design-icon loading-icon"},[(R(),K("svg",{width:r.size,height:r.size,viewBox:"0 0 24 24"},[ae("path",{fill:n.value[0],d:"M12,4V2A10,10 0 1,0 22,12H20A8,8 0 1,1 12,4Z"},null,8,XC),ae("path",{fill:n.value[1],d:"M12,4V2A10,10 0 0,1 22,12H20A8,8 0 0,0 12,4Z"},[r.name?(R(),K("title",JC,_e(r.name),1)):he("",!0)],8,YC)],8,ZC))],8,KC))}}),Rc=He(QC,[["__scopeId","data-v-cf399190"]]),Em=Ve({name:"NcVNodes",props:{vnodes:{type:[Array,Object],default:null}},render(){return this.vnodes||this.$slots?.default?.({})}}),e_={name:"PencilIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},t_=["aria-hidden","aria-label"],n_=["fill","width","height"],r_={d:"M20.71,7.04C21.1,6.65 21.1,6 20.71,5.63L18.37,3.29C18,2.9 17.35,2.9 16.96,3.29L15.12,5.12L18.87,8.87M3,17.25V21H6.75L17.81,9.93L14.06,6.18L3,17.25Z"},o_={key:0};function s_(e,t,n,r,o,s){return R(),K("span",ht(e.$attrs,{"aria-hidden":n.title?null:"true","aria-label":n.title,class:"material-design-icon pencil-icon",role:"img",onClick:t[0]||(t[0]=a=>e.$emit("click",a))}),[(R(),K("svg",{fill:n.fillColor,class:"material-design-icon__svg",width:n.size,height:n.size,viewBox:"0 0 24 24"},[ae("path",r_,[n.title?(R(),K("title",o_,_e(n.title),1)):he("",!0)])],8,n_))],16,t_)}const a_=He(e_,[["render",s_]]),i_={name:"UndoIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},u_=["aria-hidden","aria-label"],l_=["fill","width","height"],c_={d:"M12.5,8C9.85,8 7.45,9 5.6,10.6L2,7V16H11L7.38,12.38C8.77,11.22 10.54,10.5 12.5,10.5C16.04,10.5 19.05,12.81 20.1,16L22.47,15.22C21.08,11.03 17.15,8 12.5,8Z"},d_={key:0};function p_(e,t,n,r,o,s){return R(),K("span",ht(e.$attrs,{"aria-hidden":n.title?null:"true","aria-label":n.title,class:"material-design-icon undo-icon",role:"img",onClick:t[0]||(t[0]=a=>e.$emit("click",a))}),[(R(),K("svg",{fill:n.fillColor,class:"material-design-icon__svg",width:n.size,height:n.size,viewBox:"0 0 24 24"},[ae("path",c_,[n.title?(R(),K("title",d_,_e(n.title),1)):he("",!0)])],8,l_))],16,u_)}const h_=He(i_,[["render",p_]]);hn(xE);const f_={name:"NcAppNavigationIconCollapsible",components:{NcButton:et,ChevronDown:Jw,ChevronUp:s2},setup(){return{isLegacy34:uo}},props:{open:{type:Boolean,required:!0},active:{type:Boolean,required:!0}},emits:["click"],computed:{labelButton(){return this.open?Fe("Collapse menu"):Fe("Open menu")}},methods:{onClick(e){this.$emit("click",e)}}};function g_(e,t,n,r,o,s){const a=Ye("ChevronUp"),i=Ye("ChevronDown"),u=Ye("NcButton");return R(),ge(u,{class:Be(["icon-collapse",{"icon-collapse--active":n.active,"icon-collapse--open":n.open}]),"aria-label":s.labelButton,variant:n.active&&r.isLegacy34?"tertiary-on-primary":"tertiary",onClick:s.onClick},{icon:de(()=>[n.open?(R(),ge(a,{key:0,size:20})):(R(),ge(i,{key:1,size:20}))]),_:1},8,["class","aria-label","variant","onClick"])}const m_=He(f_,[["render",g_],["__scopeId","data-v-acf5ed2f"]]);hn(AE,jg);const v_={name:"NcAppNavigationItem",components:{NcActions:$c,NcActionButton:R2,NcAppNavigationIconCollapsible:m_,NcInputConfirmCancel:C2,NcLoadingIcon:Rc,NcVNodes:Em,Pencil:a_,Undo:h_},props:{active:{type:Boolean,default:!1},name:{type:String,required:!0},title:{type:String,default:null},id:{type:String,default:()=>Wo(),validator:e=>e.trim()!==""},icon:{type:String,default:""},loading:{type:Boolean,default:!1},to:{type:[String,Object],default:null},href:{type:String,default:null},allowCollapse:{type:Boolean,default:!1},editable:{type:Boolean,default:!1},editLabel:{type:String,default:""},editPlaceholder:{type:String,default:""},pinned:{type:Boolean,default:!1},undo:{type:Boolean,default:!1},open:{type:Boolean,default:!1},menuOpen:{type:Boolean,default:!1},forceMenu:{type:Boolean,default:!1},menuIcon:{type:String,default:void 0},menuPlacement:{type:String,default:"bottom"},ariaDescription:{type:String,default:null},forceDisplayActions:{type:Boolean,default:!1},inlineActions:{type:Number,default:0}},emits:["update:menuOpen","update:open","update:name","click","undo"],setup(){return{isMobile:da(),isLegacy34:uo}},data(){return{actionsBoundariesElement:void 0,editingValue:"",opened:this.open,editingActive:!1,menuOpenLocalValue:!1,focused:!1}},computed:{isRouterLink(){return this.to&&!this.href},canHaveChildren(){return this.$parent.$options._componentTag!=="AppNavigationItem"},editButtonAriaLabel(){return this.editLabel?this.editLabel:Fe("Edit item")},undoButtonAriaLabel(){return Fe("Undo changes")}},watch:{open(e){this.opened=e}},mounted(){this.actionsBoundariesElement=document.querySelector("#content-vue")||void 0},methods:{onMenuToggle(e){this.$emit("update:menuOpen",e),this.menuOpenLocalValue=e},toggleCollapse(){this.opened=!this.opened,this.$emit("update:open",this.opened)},onClick(e,t,n){this.$emit("click",e),!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&n&&(t?.(e),e.preventDefault())},handleEdit(){this.editingValue=this.name,this.editingActive=!0,this.onMenuToggle(!1),this.$nextTick(()=>{this.$refs.editingInput.focusInput()})},cancelEditing(){this.editingActive=!1},handleEditingDone(){this.$emit("update:name",this.editingValue),this.editingValue="",this.editingActive=!1},handleUndo(){this.$emit("undo")},handleFocus(){this.focused=!0},handleBlur(){this.focused=!1},handleTab(e){this.$refs.actions&&(this.focused?(e.preventDefault(),this.$refs.actions.$refs.triggerButton.$el.focus(),this.focused=!1):this.$refs.actions.$refs.triggerButton.$el.blur())},isExternal(e){return e&&e.match(/[a-z]+:\/\//i)}}},y_=["id"],b_=["aria-current","aria-description","aria-expanded","href","target","title","onClick"],E_={key:0,class:"editingContainer"},w_={key:1,class:"app-navigation-entry__deleted"},C_={class:"app-navigation-entry__deleted-description"},__={key:0,class:"app-navigation-entry__counter-wrapper"},x_={key:0,class:"app-navigation-entry__children"};function A_(e,t,n,r,o,s){const a=Ye("NcLoadingIcon"),i=Ye("NcInputConfirmCancel"),u=Ye("Pencil"),c=Ye("NcActionButton"),l=Ye("Undo"),d=Ye("NcActions"),p=Ye("NcAppNavigationIconCollapsible");return R(),K("li",{id:n.id,class:Be([{"app-navigation-entry--opened":o.opened,"app-navigation-entry--pinned":n.pinned,"app-navigation-entry--collapsible":n.allowCollapse&&!!e.$slots.default},"app-navigation-entry-wrapper"])},[(R(),ge(aa(s.isRouterLink?"router-link":"NcVNodes"),Ls(Io({...s.isRouterLink&&{custom:!0,to:n.to}})),{default:de(({href:h,navigate:g,isActive:f})=>[ae("div",{class:Be(["app-navigation-entry",{"app-navigation-entry--editing":o.editingActive,"app-navigation-entry--deleted":n.undo,"app-navigation-entry--legacy":r.isLegacy34,active:n.to&&f||n.active}])},[n.undo?he("",!0):(R(),K("a",{key:0,class:"app-navigation-entry-link","aria-current":n.active||n.to&&f?"page":void 0,"aria-description":n.ariaDescription,"aria-expanded":e.$slots.default?o.opened.toString():void 0,href:n.href||h||"#",target:s.isExternal(n.href)?"_blank":void 0,title:n.title||n.name,onBlur:t[1]||(t[1]=(...m)=>s.handleBlur&&s.handleBlur(...m)),onClick:m=>s.onClick(m,g,h),onFocus:t[2]||(t[2]=(...m)=>s.handleFocus&&s.handleFocus(...m)),onKeydown:t[3]||(t[3]=la(yn((...m)=>s.handleTab&&s.handleTab(...m),["exact"]),["tab"]))},[ae("div",{class:Be(["app-navigation-entry-icon",{[n.icon]:n.icon}])},[n.loading?(R(),ge(a,{key:0})):be(e.$slots,"icon",{key:1,active:n.active||n.to&&f},void 0,!0)],2),ae("span",{class:Be(["app-navigation-entry__name",{"hidden-visually":o.editingActive}])},_e(n.name),3),o.editingActive?(R(),K("div",E_,[ce(i,{ref:"editingInput",modelValue:o.editingValue,"onUpdate:modelValue":t[0]||(t[0]=m=>o.editingValue=m),placeholder:n.editPlaceholder!==""?n.editPlaceholder:n.name,primary:n.to&&f||n.active,onCancel:s.cancelEditing,onConfirm:s.handleEditingDone},null,8,["modelValue","placeholder","primary","onCancel","onConfirm"])])):he("",!0)],40,b_)),n.undo?(R(),K("div",w_,[ae("div",C_,_e(n.name),1)])):he("",!0),(e.$slots.actions||e.$slots.counter||n.editable||n.undo)&&!o.editingActive?(R(),K("div",{key:2,class:Be(["app-navigation-entry__utils",{"app-navigation-entry__utils--display-actions":n.forceDisplayActions||o.menuOpenLocalValue||n.menuOpen}])},[e.$slots.counter?(R(),K("div",__,[be(e.$slots,"counter",{},void 0,!0)])):he("",!0),e.$slots.actions||n.editable&&!o.editingActive||n.undo?(R(),ge(d,{key:1,ref:"actions",class:"app-navigation-entry__actions",container:"#app-navigation-vue",boundariesElement:o.actionsBoundariesElement,inline:n.inlineActions,placement:n.menuPlacement,open:n.menuOpen,forceMenu:n.forceMenu,defaultIcon:n.menuIcon,variant:"tertiary","onUpdate:open":s.onMenuToggle},{icon:de(()=>[be(e.$slots,"menu-icon",{},void 0,!0)]),default:de(()=>[n.editable&&!o.editingActive?(R(),ge(c,{key:0,"aria-label":s.editButtonAriaLabel,onClick:s.handleEdit},{icon:de(()=>[ce(u,{size:20})]),default:de(()=>[bt(" "+_e(n.editLabel),1)]),_:1},8,["aria-label","onClick"])):he("",!0),n.undo?(R(),ge(c,{key:1,"aria-label":s.undoButtonAriaLabel,onClick:s.handleUndo},{icon:de(()=>[ce(l,{size:20})]),_:1},8,["aria-label","onClick"])):he("",!0),be(e.$slots,"actions",{},void 0,!0)]),_:3},8,["boundariesElement","inline","placement","open","forceMenu","defaultIcon","onUpdate:open"])):he("",!0)],2)):he("",!0),n.allowCollapse&&e.$slots.default?(R(),ge(p,{key:3,active:n.to&&f||n.active,open:o.opened,onClick:yn(s.toggleCollapse,["prevent","stop"])},null,8,["active","open","onClick"])):he("",!0),be(e.$slots,"extra",{},void 0,!0)],2)]),_:3},16)),s.canHaveChildren&&e.$slots.default?(R(),K("ul",x_,[be(e.$slots,"default",{},void 0,!0)])):he("",!0)],10,y_)}const S_=He(v_,[["render",A_],["__scopeId","data-v-e4d562ae"]]),k_={class:"input-field__main-wrapper"},T_=["id","aria-describedby","disabled","placeholder","type","value"],N_=["for"],D_={class:"input-field__icon input-field__icon--leading"},O_={key:2,class:"input-field__icon input-field__icon--trailing"},P_=["id"],B_=Ve({inheritAttrs:!1,__name:"NcInputField",props:Dr({class:{default:""},inputClass:{default:""},id:{default:()=>Wo()},label:{default:void 0},labelOutside:{type:Boolean},type:{default:"text"},placeholder:{default:void 0},showTrailingButton:{type:Boolean},trailingButtonLabel:{default:void 0},success:{type:Boolean},error:{type:Boolean},helperText:{default:""},disabled:{type:Boolean},pill:{type:Boolean}},{modelValue:{required:!0},modelModifiers:{}}),emits:Dr(["trailingButtonClick"],["update:modelValue"]),setup(e,{expose:t,emit:n}){const r=Vo(e,"modelValue"),o=e,s=n;t({focus:p,select:h});const a=py(),i=ro("input"),u=oe(()=>o.showTrailingButton||o.success),c=oe(()=>{if(o.placeholder)return o.placeholder;if(o.label)return Il?o.label:""}),l=oe(()=>o.label||o.labelOutside),d=oe(()=>{const f=[];return o.helperText&&f.push(`${o.id}-helper-text`),a["aria-describedby"]&&f.push(String(a["aria-describedby"])),f.join(" ")||void 0});function p(f){i.value.focus(f)}function h(){i.value.select()}function g(f){const m=f.target;r.value=o.type==="number"&&typeof r.value=="number"?parseFloat(m.value):m.value}return(f,m)=>(R(),K("div",{class:Be(["input-field",[{"input-field--disabled":f.disabled,"input-field--error":f.error,"input-field--label-outside":f.labelOutside||!l.value,"input-field--leading-icon":!!f.$slots.icon,"input-field--trailing-icon":u.value,"input-field--pill":f.pill,"input-field--success":f.success,"input-field--legacy":z(Il)},f.$props.class]])},[ae("div",k_,[ae("input",ht(f.$attrs,{id:f.id,ref:"input","aria-describedby":d.value,"aria-live":"polite",class:["input-field__input",f.inputClass],disabled:f.disabled,placeholder:c.value,type:f.type,value:r.value.toString(),onInput:g}),null,16,T_),!f.labelOutside&&l.value?(R(),K("label",{key:0,class:"input-field__label",for:f.id},_e(f.label),9,N_)):he("",!0),Ln(ae("div",D_,[be(f.$slots,"icon",{},void 0,!0)],512),[[Qn,!!f.$slots.icon]]),f.showTrailingButton?(R(),ge(et,{key:1,class:"input-field__trailing-button","aria-label":f.trailingButtonLabel,disabled:f.disabled,variant:"tertiary-no-background",onClick:m[0]||(m[0]=v=>s("trailingButtonClick",v))},{icon:de(()=>[be(f.$slots,"trailing-button-icon",{},void 0,!0)]),_:3},8,["aria-label","disabled"])):f.success||f.error?(R(),K("div",O_,[f.success?(R(),ge(Ue,{key:0,path:z(Fl)},null,8,["path"])):(R(),ge(Ue,{key:1,path:z(Wp)},null,8,["path"]))])):he("",!0)]),f.helperText?(R(),K("p",{key:0,id:`${f.id}-helper-text`,class:"input-field__helper-text-message"},[f.success?(R(),ge(Ue,{key:0,class:"input-field__helper-text-message__icon",path:z(Fl),inline:""},null,8,["path"])):f.error?(R(),ge(Ue,{key:1,class:"input-field__helper-text-message__icon",path:z(Wp),inline:""},null,8,["path"])):he("",!0),bt(" "+_e(f.helperText),1)],8,P_)):he("",!0)],2))}}),ql=He(B_,[["__scopeId","data-v-8e16cbb5"]]);hn(EE,DE);const $_=Ve({__name:"NcAppNavigationSearch",props:Dr({label:{type:String,default:Fe("Search …")},placeholder:{type:String,default:null}},{modelValue:{default:""},modelModifiers:{}}),emits:["update:modelValue"],setup(e){const t=Vo(e,"modelValue"),n=Wi(),r=xe(),{focused:o}=oE(r),s=Number.parseInt(window.getComputedStyle(window.document.body).getPropertyValue("--animation-quick"))||100,a=ro("actionsContainer"),i=()=>!!n.actions?.({}),u=xe(!0),c=xe(),l=xe(!1);tt(o,()=>{u.value=!o.value,window.clearTimeout(c.value),u.value?l.value=!1:window.setTimeout(()=>{l.value=!u.value},s)});function d(){t.value="",i()&&(u.value=!0,wn(()=>a.value?.querySelector("button")?.focus()))}return(p,h)=>(R(),K("div",{class:Be(["app-navigation-search",{"app-navigation-search--has-actions":i()}])},[ce(ql,{ref_key:"inputElement",ref:r,modelValue:t.value,"onUpdate:modelValue":h[0]||(h[0]=g=>t.value=g),"aria-label":e.label,class:"app-navigation-search__input",labelOutside:"",placeholder:e.placeholder??e.label,showTrailingButton:t.value.length>0,trailingButtonLabel:z(Fe)("Clear search"),type:"search",onTrailingButtonClick:d},{"trailing-button-icon":de(()=>[ce(em,{size:20})]),_:1},8,["modelValue","aria-label","placeholder","showTrailingButton","trailingButtonLabel"]),i()?(R(),K("div",{key:0,ref:"actionsContainer",class:Be(["app-navigation-search__actions",{"app-navigation-search__actions--hidden":!u.value,"hidden-visually":l.value}])},[be(p.$slots,"actions",{},void 0,!0)],2)):he("",!0)],2))}}),R_=He($_,[["__scopeId","data-v-191b6717"]]);hn(kE);const F_=` @@ -32,7 +32,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho -`,L_=` @@ -58,14 +58,14 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho -`,I_={class:"vue-skip-actions__container"},M_={class:"vue-skip-actions__headline"},z_={class:"vue-skip-actions__buttons"},j_=Ve({__name:"NcContent",props:{appName:{}},setup(e){const t=e;Zt(Qg,i),Zt(Iw,"#content-vue"),Zt("appName",oe(()=>t.appName));const n=da(),r=xe(!1),o=xe(),s=oe(()=>o.value==="navigation"?L_:F_);wf(()=>{const u=document.getElementById("skip-actions");u&&(u.innerHTML="",u.classList.add("vue-skip-actions"))});function a(){xr("toggle-navigation",{open:!0}),wn(()=>{window.location.hash="app-navigation-vue",document.getElementById("app-navigation-vue").focus()})}function i(u){r.value=u,o.value||(o.value="navigation")}return(u,c)=>(R(),K("div",{id:"content-vue",class:Be(["content",[`app-${u.appName.toLowerCase()}`,{"content--legacy":z(uo)}]])},[(R(),ge(hf,{to:"#skip-actions"},[ae("div",I_,[ae("div",M_,_e(z(Fe)("Keyboard navigation help")),1),ae("div",z_,[Ln(ce(et,{href:"#app-navigation-vue",variant:"tertiary",onClick:yn(a,["prevent"]),onFocusin:c[0]||(c[0]=l=>o.value="navigation"),onMouseover:c[1]||(c[1]=l=>o.value="navigation")},{default:de(()=>[bt(_e(z(Fe)("Skip to app navigation")),1)]),_:1},512),[[Qn,r.value]]),ce(et,{href:"#app-content-vue",variant:"tertiary",onFocusin:c[2]||(c[2]=l=>o.value="content"),onMouseover:c[3]||(c[3]=l=>o.value="content")},{default:de(()=>[bt(_e(z(Fe)("Skip to main content")),1)]),_:1})]),Ln(ce(Ue,{class:"vue-skip-actions__image",svg:s.value,size:"auto"},null,8,["svg"]),[[Qn,!z(n)]])])])),be(u.$slots,"default",{},void 0,!0)],2))}}),U_=He(j_,[["__scopeId","data-v-91d07631"]]);hn(vE);const H_={long:Fe("a few seconds ago"),short:Fe("seconds ago"),narrow:Fe("sec. ago")};function V_(e=Date.now(),t={}){let n;const r=oe(()=>new Date(Rt(e))),o=oe(()=>{const{language:i,relativeTime:u,ignoreSeconds:c}=Rt(t);return{...i&&{language:i},...u&&{relativeTime:u},ignoreSeconds:c?H_[u||"long"]:!1}}),s=xe("");ji(()=>a());function a(){if(s.value=Ib(r.value,o.value),Rt(t).update!==!1){const i=Math.abs(Date.now()-new Date(Rt(e)).getTime()),u=i>12e4||o.value.ignoreSeconds?Math.min(i/60,18e5):1e3;n=window.setTimeout(a,u)}}return ir(()=>n&&window.clearTimeout(n)),zs(s)}function G_(e,t){const n=oe(()=>({locale:kc(),format:{dateStyle:"short",timeStyle:"medium"},...Rt(t)})),r=oe(()=>new Intl.DateTimeFormat(n.value.locale,n.value.format));return oe(()=>r.value.format(Rt(e)))}const W_=["data-timestamp","title","textContent"],Eh=Ve({__name:"NcDateTime",props:{timestamp:{},format:{default:()=>({timeStyle:"medium",dateStyle:"short"})},relativeTime:{type:[Boolean,String],default:"long"},ignoreSeconds:{type:Boolean}},setup(e){const t=e,n=oe(()=>({format:t.format})),r=oe(()=>({ignoreSeconds:t.ignoreSeconds,relativeTime:t.relativeTime||"long",update:t.relativeTime!==!1})),o=G_(vl(()=>t.timestamp),n),s=V_(vl(()=>t.timestamp),r),a=oe(()=>t.relativeTime?s.value:o.value);return(i,u)=>(R(),K("span",{class:"nc-datetime",dir:"auto","data-timestamp":i.timestamp,title:z(o),textContent:_e(a.value)},null,8,W_))}});hn(TE);const q_=Ve({__name:"NcDialogButton",props:{callback:{type:Function,default:()=>{}},disabled:{type:Boolean,default:!1},icon:{default:void 0},label:{},type:{default:"button"},variant:{default:"tertiary"}},emits:["click"],setup(e,{emit:t}){const n=e,r=t,o=xe(!1);async function s(a){if(!o.value){o.value=!0;try{const i=n.type==="reset"?!1:void 0,u=await n.callback?.()??i;u!==!1&&r("click",a,u)}finally{o.value=!1}}}return(a,i)=>(R(),ge(z(et),{"aria-label":a.label,disabled:a.disabled,type:a.type,variant:a.variant,onClick:s},{icon:de(()=>[be(a.$slots,"icon",{},()=>[o.value?(R(),ge(z(Rc),{key:0,name:z(Fe)("Loading …")},null,8,["name"])):a.icon!==void 0?(R(),ge(z(Ue),{key:1,svg:a.icon},null,8,["svg"])):he("",!0)])]),default:de(()=>[bt(_e(a.label)+" ",1)]),_:3},8,["aria-label","disabled","type","variant"]))}}),K_=/mac|ipad|iphone|darwin/i.test(navigator.userAgent),Z_=window.OCP?.Accessibility?.disableKeyboardShortcuts?.(),X_=/^[a-zA-Z0-9]$/,Y_=/^[^\x20-\x7F]$/;function J_(e,t){return!(e.target instanceof HTMLElement)||e.target instanceof HTMLInputElement||e.target instanceof HTMLTextAreaElement||e.target instanceof HTMLSelectElement||e.target.isContentEditable?!0:t.allowInModal?!1:Array.from(document.getElementsByClassName("modal-mask")).filter(n=>n.checkVisibility()).length>0}function wh(e,t){return n=>{if((K_?n.metaKey:n.ctrlKey)===!!t.ctrl){if(n.altKey!==!!t.alt||t.shift!==void 0&&n.shiftKey!==!!t.shift||J_(n,t))return;t.prevent&&n.preventDefault(),t.stop&&n.stopPropagation(),e(n)}}}function Ch(e,t=()=>{},n={}){if(Z_)return()=>{};const r=(i,u)=>{if(i.key===u)return!0;if(n.caseSensitive){const c=u===u.toLowerCase(),l=i.key===i.key.toLowerCase();if(c!==l)return!1}return X_.test(u)&&Y_.test(i.key)?i.code.replace(/^(?:Key|Digit|Numpad)/,"")===u.toUpperCase():i.key.toLowerCase()===u.toLowerCase()},o=i=>typeof e=="function"?e(i):typeof e=="string"?r(i,e):Array.isArray(e)?e.some(u=>r(i,u)):!0,s=Gp(o,wh(t,n),{eventName:"keydown",dedupe:!0,passive:!n.prevent}),a=n.push?Gp(o,wh(t,n),{eventName:"keyup",passive:!n.prevent}):()=>{};return()=>{s(),a()}}function Q_(e=document.body){const t=window.getComputedStyle(e).getPropertyValue("--background-invert-if-dark");return t!==void 0?t==="invert(100%)":!1}Q_();const ex=xe(wm());window.addEventListener("resize",()=>{ex.value=wm()});function wm(){return window.outerHeight===window.screen.height}function _h(e){return!e.parent||"vapor"in e||"vapor"in e.parent||e.parent.subTree!==e.vnode?null:e.parent}function tx(e){const t=[e];let n=_h(e);for(;n;)t.push(n),n=_h(n);return t}function nx(){const e=jn();if(!e)throw new Error("useScopeId must be called within a setup context");const t=tx(e).map(n=>n.vnode.scopeId).filter(Boolean);return Object.fromEntries(t.map(n=>[n,""]))}hn(CE,NE);const rx=["aria-labelledby","aria-describedby"],ox=["data-theme-light","data-theme-dark"],sx=["id"],ax={class:"icons-menu"},ix=["title"],ux=["id"],lx={class:"modal-container__content"},cx=Ve({inheritAttrs:!1,__name:"NcModal",props:Dr({name:{default:""},hasPrevious:{type:Boolean},hasNext:{type:Boolean},outTransition:{type:Boolean},enableSlideshow:{type:Boolean},slideshowDelay:{default:5e3},slideshowPaused:{type:Boolean},disableSwipe:{type:Boolean},spreadNavigation:{type:Boolean},size:{default:"normal"},noClose:{type:Boolean},closeOnClickOutside:{type:Boolean},dark:{type:Boolean},lightBackdrop:{type:Boolean},container:{default:"body"},closeButtonOutside:{type:Boolean},additionalTrapElements:{default:()=>[]},inlineActions:{default:0},labelId:{default:""},setReturnFocus:{default:void 0}},{show:{type:Boolean,default:!0},showModifiers:{}}),emits:Dr(["next","previous","close","update:show"],["update:show"]),setup(e,{emit:t}){eg(B=>({"046d2bb2":v.value,"71f7c020":g.value}));const n=Vo(e,"show"),r=e,o=t,s=nx(),a=Wo(),i=ro("mask");let u;ir(()=>U()),tt(()=>r.additionalTrapElements,B=>{u&&u.updateContainerElements([i.value,...B])});const{isActive:c,pause:l,resume:d}=Wb(y,vl(()=>r.slideshowDelay),{immediate:!1}),p=xe(0),h=xe(!1);ji(()=>{h.value&&!r.slideshowPaused?d():c.value&&l()});const g=oe(()=>`${r.slideshowDelay}ms`),{stop:f}=Rg(i,{onSwipeEnd:C});ir(f),Ch("Escape",()=>{jo().at(-1)===u&&D()},{allowInModal:!0}),Ch(["ArrowLeft","ArrowRight"],B=>{document.activeElement&&!i.value.contains(document.activeElement)||(B.key==="ArrowLeft"!==Xs?w():y())},{allowInModal:!0});const m=Wi(),v=oe(()=>{let B=0;return r.hasNext&&r.enableSlideshow&&B++,!r.noClose&&r.closeButtonOutside&&B++,m.actions&&B++,B});An(()=>{!r.name&&r.labelId});function y(B){if(!r.hasNext){h.value=!1;return}B&&c.value&&x(),o("next",B)}function w(B){r.hasPrevious&&(B&&c.value&&x(),o("previous",B))}function C(B,re){if(!r.disableSwipe){if(re!=="left"&&re!=="right")return;re==="left"!==Xs?y(B):w(B)}}function x(){l(),d(),p.value++}function D(B){r.noClose||(n.value=!1,setTimeout(()=>{o("close",B)},300))}function $(B){r.closeOnClickOutside&&D(B)}async function q(){if(u)return;await wn();const B={allowOutsideClick:!0,fallbackFocus:i.value,trapStack:jo(),escapeDeactivates:!1,setReturnFocus:r.setReturnFocus};u=Nc([i.value,...r.additionalTrapElements],B),u.activate()}function U(){u&&(u?.deactivate(),u=void 0)}return(B,re)=>(R(),ge(hf,{disabled:B.container===null,to:B.container},[ce(rs,{name:"fade",appear:"",onAfterEnter:q,onBeforeLeave:U},{default:de(()=>[Ln(ae("div",ht({...B.$attrs,...z(s)},{ref:"mask",class:["modal-mask",{"modal-mask--opaque":B.dark||B.closeButtonOutside||B.hasPrevious||B.hasNext,"modal-mask--light":B.lightBackdrop}],role:"dialog","aria-modal":"true","aria-labelledby":B.labelId||`modal-name-${z(a)}`,"aria-describedby":"modal-description-"+z(a),tabindex:"-1"}),[ce(rs,{name:"fade-visibility",appear:""},{default:de(()=>[ae("div",{class:"modal-header","data-theme-light":B.lightBackdrop,"data-theme-dark":!B.lightBackdrop},[B.name.trim()!==""?(R(),K("h2",{key:0,id:"modal-name-"+z(a),class:"modal-header__name"},_e(B.name),9,sx)):he("",!0),ae("div",ax,[B.hasNext&&B.enableSlideshow?(R(),K("button",{key:0,class:Be(["play-pause-icons",{"play-pause-icons--paused":B.slideshowPaused}]),title:z(c)?z(Fe)("Pause slideshow"):z(Fe)("Start slideshow"),type:"button",onClick:re[0]||(re[0]=T=>h.value=!h.value)},[ce(Ue,{class:"play-pause-icons__icon",inline:"",name:z(c)?z(Fe)("Pause slideshow"):z(Fe)("Start slideshow"),path:z(c)?z(cE):z(dE)},null,8,["name","path"]),z(c)?(R(),K("svg",{key:`${z(a)}-animation-${p.value}`,class:"progress-ring",height:"50",width:"50"},[...re[1]||(re[1]=[ae("circle",{class:"progress-ring__circle",stroke:"white","stroke-width":"2",fill:"transparent",r:"15",cx:"25",cy:"25"},null,-1)])])):he("",!0)],10,ix)):he("",!0),ce($c,{class:"header-actions",inline:B.inlineActions},{default:de(()=>[be(B.$slots,"actions",{},void 0,!0)]),_:3},8,["inline"]),!B.noClose&&B.closeButtonOutside?(R(),ge(et,{key:1,"aria-label":z(Fe)("Close"),class:"header-close",variant:"tertiary",onClick:D},{icon:de(()=>[ce(Ue,{path:z(Ll)},null,8,["path"])]),_:1},8,["aria-label"])):he("",!0)])],8,ox)]),_:3}),ce(rs,{name:`modal-${B.outTransition?"out":"in"}`,appear:""},{default:de(()=>[Ln(ae("div",{class:Be(["modal-wrapper",[`modal-wrapper--${B.size}`,{"modal-wrapper--spread-navigation":B.spreadNavigation}]]),onMousedown:yn($,["self"])},[ce(rs,{name:"fade-visibility",appear:""},{default:de(()=>[Ln(ce(et,{"aria-label":z(Fe)("Previous"),class:"prev",variant:"tertiary-no-background",onClick:w},{icon:de(()=>[ce(Ue,{directional:"",path:z(iE),size:40},null,8,["path"])]),_:1},8,["aria-label"]),[[Qn,B.hasPrevious]])]),_:1}),ae("div",{id:"modal-description-"+z(a),class:"modal-container"},[ae("div",lx,[be(B.$slots,"default",{},void 0,!0)]),!B.noClose&&!B.closeButtonOutside?(R(),ge(et,{key:0,"aria-label":z(Fe)("Close"),class:"modal-container__close",variant:"tertiary",onClick:D},{icon:de(()=>[ce(Ue,{path:z(Ll)},null,8,["path"])]),_:1},8,["aria-label"])):he("",!0)],8,ux),ce(rs,{name:"fade-visibility",appear:""},{default:de(()=>[Ln(ce(et,{"aria-label":z(Fe)("Next"),class:"next",variant:"tertiary-no-background",onClick:y},{icon:de(()=>[ce(Ue,{directional:"",path:z(Lg),size:40},null,8,["path"])]),_:1},8,["aria-label"]),[[Qn,B.hasNext]])]),_:1})],34),[[Qn,n.value]])]),_:3},8,["name"])],16,rx),[[Qn,n.value]])]),_:3})],8,["disabled","to"]))}}),dx=He(cx,[["__scopeId","data-v-3c357e2d"]]),px=["id","textContent"],hx=["aria-label","aria-labelledby"],fx={class:"dialog__text"},gx={class:"dialog__actions"},mx=Ve({__name:"NcDialog",props:Dr({name:{},message:{default:""},additionalTrapElements:{default:()=>[]},container:{default:"body"},size:{default:"small"},buttons:{default:()=>[]},isForm:{type:Boolean},noClose:{type:Boolean},closeOnClickOutside:{type:Boolean},outTransition:{type:Boolean},navigationAriaLabel:{default:""},navigationAriaLabelledby:{default:""},contentClasses:{default:""},dialogClasses:{default:""},navigationClasses:{default:""}},{open:{type:Boolean,default:!0},openModifiers:{}}),emits:Dr(["closing","reset","submit"],["update:open"]),setup(e,{emit:t}){const n=Vo(e,"open"),r=e,o=t,s=Wi(),a=ro("wrapper"),{width:i}=eE(a,{width:900,height:0}),u=oe(()=>i.value<876),c=oe(()=>s?.navigation!==void 0),l=Wo(),d=oe(()=>r.navigationAriaLabel||void 0),p=oe(()=>{if(!r.navigationAriaLabel)return r.navigationAriaLabelledby||l}),h=ro("dialogElement"),g=oe(()=>r.isForm&&!c.value?"form":"div"),f=oe(()=>g.value!=="form"?{}:{submit(x){x.preventDefault(),o("submit",x)},reset(x){x.preventDefault(),o("reset",x)}}),m=xe(!0);function v(x,D){x.type==="submit"&&g.value==="form"&&"reportValidity"in h.value&&!h.value.reportValidity()||(y(D),window.setTimeout(()=>w(),300))}function y(x){m.value=!1,o("closing",x)}function w(){m.value=!0,n.value=!1}const C=oe(()=>({noClose:r.noClose,container:r.container===void 0?"body":r.container,labelId:l,size:r.size,show:n.value&&m.value,outTransition:r.outTransition,closeOnClickOutside:r.closeOnClickOutside,additionalTrapElements:r.additionalTrapElements}));return(x,D)=>n.value?(R(),ge(z(dx),ht({key:0,class:"dialog__modal",disableSwipe:""},C.value,{onClose:w,"onUpdate:show":D[0]||(D[0]=$=>y())}),{default:de(()=>[ae("h2",{id:z(l),class:"dialog__name",textContent:_e(x.name)},null,8,px),(R(),ge(aa(g.value),ht({ref:"dialogElement",class:["dialog",x.dialogClasses]},cy(f.value)),{default:de(()=>[ae("div",{ref:"wrapper",class:Be(["dialog__wrapper",[{"dialog__wrapper--collapsed":u.value}]])},[c.value?(R(),K("nav",{key:0,class:Be(["dialog__navigation",x.navigationClasses]),"aria-label":d.value,"aria-labelledby":p.value},[be(x.$slots,"navigation",{isCollapsed:u.value},void 0,!0)],10,hx)):he("",!0),ae("div",{class:Be(["dialog__content",x.contentClasses])},[be(x.$slots,"default",{},()=>[ae("p",fx,_e(x.message),1)],!0)],2)],2),ae("div",gx,[be(x.$slots,"actions",{},()=>[(R(!0),K(Xe,null,Ss(x.buttons,($,q)=>(R(),ge(z(q_),ht({key:q},{ref_for:!0},$,{onClick:(U,B)=>v($,B)}),null,16,["onClick"]))),128))],!0)])]),_:3},16,["class"]))]),_:3},16)):he("",!0)}}),vx=He(mx,[["__scopeId","data-v-24e91b99"]]),yx=["aria-labelledby"],bx={key:0,class:"empty-content__icon","aria-hidden":"true"},Ex=["id"],wx={key:2,class:"empty-content__description"},Cx={key:3,class:"empty-content__action"},_x=Ve({__name:"NcEmptyContent",props:{description:{default:""},name:{default:""}},setup(e){const t=Wo();return(n,r)=>(R(),K("div",{"aria-labelledby":z(t),class:"empty-content",role:"note"},[n.$slots.icon?(R(),K("div",bx,[be(n.$slots,"icon",{},void 0,!0)])):he("",!0),n.name!==""||n.$slots.name?(R(),K("div",{key:1,id:z(t),class:"empty-content__name"},[be(n.$slots,"name",{},()=>[bt(_e(n.name),1)],!0)],8,Ex)):he("",!0),n.description!==""||n.$slots.description?(R(),K("p",wx,[be(n.$slots,"description",{},()=>[bt(_e(n.description),1)],!0)])):he("",!0),n.$slots.action?(R(),K("div",Cx,[be(n.$slots,"action",{},void 0,!0)])):he("",!0)],8,yx))}}),Wu=He(_x,[["__scopeId","data-v-8609a4c1"]]),xx=["title"],Ax=Ve({__name:"NcCounterBubble",props:{count:{},active:{type:Boolean},type:{default:""},raw:{type:Boolean}},setup(e){const t=e,n=oe(()=>t.raw?t.count.toString():new Intl.NumberFormat(kc(),{notation:"compact",compactDisplay:"short"}).format(t.count)),r=oe(()=>{if(t.raw)return;const o=t.count.toString();if(o!==n.value)return o});return(o,s)=>(R(),K("div",{class:Be(["counter-bubble__counter",{active:o.active,"counter-bubble__counter--highlighted":o.type==="highlighted","counter-bubble__counter--outlined":o.type==="outlined"}]),title:r.value},_e(n.value),11,xx))}}),Sx=He(Ax,[["__scopeId","data-v-36ffc13f"]]),kx={name:"NcListItem",components:{NcActions:$c,NcCounterBubble:Sx,NcVNodes:Em},inheritAttrs:!1,setup(){return{isLegacy34:uo}},props:{details:{type:String,default:""},name:{type:String,default:void 0},to:{type:[String,Object],default:null},href:{type:String,default:"#"},target:{type:String,default:""},anchorId:{type:String,default:""},bold:{type:Boolean,default:!1},compact:{type:Boolean,default:!1},active:{type:Boolean,default:void 0},linkAriaLabel:{type:String,default:""},actionsAriaLabel:{type:String,default:void 0},counterNumber:{type:[Number,String],default:0},counterType:{type:String,default:"",validator(e){return["highlighted","outlined",""].indexOf(e)!==-1}},forceDisplayActions:{type:Boolean,default:!1},forceMenu:{type:Boolean,default:!1},oneLine:{type:Boolean,default:!1}},emits:["click","dragstart","update:menuOpen"],data(){return{hovered:!1,hasActions:!1,hasSubname:!1,displayActionsOnHoverFocus:!1,menuOpen:!1,hasIndicator:!1,hasDetails:!1}},computed:{showAdditionalElements(){return!this.displayActionsOnHoverFocus||this.forceDisplayActions},showDetails(){return(this.details!==""||this.hasDetails)&&(!this.displayActionsOnHoverFocus||this.forceDisplayActions)}},watch:{menuOpen(e){!e&&!this.hovered&&(this.displayActionsOnHoverFocus=!1)}},mounted(){this.checkSlots()},updated(){this.checkSlots()},methods:{onClick(e,t,n){this.$emit("click",e),!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&n&&(t?.(e),e.preventDefault())},showActions(){this.hasActions&&(this.displayActionsOnHoverFocus=!0),this.hovered=!1},hideActions(){this.displayActionsOnHoverFocus=!1},handleBlur(e){this.menuOpen||this.$refs["list-item"]?.contains(e.relatedTarget)||this.hideActions()},handleMouseleave(){this.menuOpen||(this.displayActionsOnHoverFocus=!1),this.hovered=!1},handleMouseover(){this.showActions(),this.hovered=!0},handleActionsUpdateOpen(e){this.menuOpen=e,this.$emit("update:menuOpen",e)},checkSlots(){this.hasActions!==!!this.$slots.actions&&(this.hasActions=!!this.$slots.actions),this.hasSubname!==!!this.$slots.subname&&(this.hasSubname=!!this.$slots.subname),this.hasIndicator!==!!this.$slots.indicator&&(this.hasIndicator=!!this.$slots.indicator),this.hasDetails!==!!this.$slots.details&&(this.hasDetails=!!this.$slots.details)}}},Tx=["id","aria-label","href","target","rel","onClick"],Nx={class:"list-item-content"},Dx={class:"list-item-content__main"},Ox={class:"list-item-content__name"},Px={class:"list-item-content__details"},Bx={key:0,class:"list-item-details__details"},$x={key:1,class:"list-item-details__extra"},Rx={key:1,class:"list-item-details__indicator"},Fx={key:0,class:"list-item-content__extra-actions"},Lx={key:2,class:"list-item__extra"};function Ix(e,t,n,r,o,s){const a=Ye("NcCounterBubble"),i=Ye("NcActions");return R(),ge(aa(n.to?"router-link":"NcVNodes"),Ls(Io({...n.to&&{custom:!0,to:n.to}})),{default:de(({href:u,navigate:c,isActive:l})=>[ae("li",ht({class:["list-item__wrapper",{"list-item__wrapper--active":n.active??l,"list-item__wrapper--legacy":r.isLegacy34}]},e.$attrs),[ae("div",{ref:"list-item",class:Be(["list-item",{"list-item--compact":n.compact,"list-item--one-line":n.oneLine}]),onMouseover:t[5]||(t[5]=(...d)=>s.handleMouseover&&s.handleMouseover(...d)),onMouseleave:t[6]||(t[6]=(...d)=>s.handleMouseleave&&s.handleMouseleave(...d))},[ae("a",{id:n.anchorId||void 0,"aria-label":n.linkAriaLabel,class:"list-item__anchor",href:u||n.href,target:n.target||(n.href==="#"?void 0:"_blank"),rel:n.href==="#"?void 0:"noopener noreferrer",onFocus:t[0]||(t[0]=(...d)=>s.showActions&&s.showActions(...d)),onFocusout:t[1]||(t[1]=(...d)=>s.handleBlur&&s.handleBlur(...d)),onClick:d=>s.onClick(d,c,u),onDragstart:t[2]||(t[2]=d=>e.$emit("dragstart",d)),onKeydown:t[3]||(t[3]=la((...d)=>s.hideActions&&s.hideActions(...d),["esc"]))},[be(e.$slots,"icon",{},void 0,!0),ae("div",Nx,[ae("div",Dx,[ae("div",Ox,[be(e.$slots,"name",{},()=>[bt(_e(n.name),1)],!0)]),o.hasSubname?(R(),K("div",{key:0,class:Be(["list-item-content__subname",{"list-item-content__subname--bold":n.bold}])},[be(e.$slots,"subname",{},void 0,!0)],2)):he("",!0)]),ae("div",Px,[s.showDetails?(R(),K("div",Bx,[be(e.$slots,"details",{},()=>[bt(_e(n.details),1)],!0)])):he("",!0),n.counterNumber!==0||o.hasIndicator?Ln((R(),K("div",$x,[n.counterNumber!==0?(R(),ge(a,{key:0,count:n.counterNumber,active:r.isLegacy34?n.active??l:!1,class:"list-item-details__counter",type:n.counterType},null,8,["count","active","type"])):he("",!0),o.hasIndicator?(R(),K("span",Rx,[be(e.$slots,"indicator",{},void 0,!0)])):he("",!0)],512)),[[Qn,s.showAdditionalElements]]):he("",!0)])])],40,Tx),e.$slots["extra-actions"]?(R(),K("div",Fx,[be(e.$slots,"extra-actions",{},void 0,!0)])):he("",!0),n.forceDisplayActions||o.displayActionsOnHoverFocus?(R(),K("div",{key:1,class:"list-item-content__actions",onFocusout:t[4]||(t[4]=(...d)=>s.handleBlur&&s.handleBlur(...d))},[ce(i,{ref:"actions",primary:r.isLegacy34?n.active??l:!1,forceMenu:n.forceMenu,"aria-label":n.actionsAriaLabel,"onUpdate:open":s.handleActionsUpdateOpen},vc({default:de(()=>[be(e.$slots,"actions",{},void 0,!0)]),_:2},[e.$slots["actions-icon"]?{name:"icon",fn:de(()=>[be(e.$slots,"actions-icon",{},void 0,!0)]),key:"0"}:void 0]),1032,["primary","forceMenu","aria-label","onUpdate:open"])],32)):he("",!0),e.$slots.extra?(R(),K("div",Lx,[be(e.$slots,"extra",{},void 0,!0)])):he("",!0)],34)],16)]),_:3},16)}const Mx=He(kx,[["render",Ix],["__scopeId","data-v-7e90555e"]]);hn(wE,jg);const zx=Ve({__name:"NcTextField",props:Dr({class:{},inputClass:{},id:{},label:{},labelOutside:{type:Boolean},type:{},placeholder:{},showTrailingButton:{type:Boolean},trailingButtonLabel:{default:void 0},success:{type:Boolean},error:{type:Boolean},helperText:{},disabled:{type:Boolean},pill:{type:Boolean},trailingButtonIcon:{default:"close"}},{modelValue:{default:""},modelModifiers:{}}),emits:["update:modelValue"],setup(e,{expose:t}){const n=Vo(e,"modelValue"),r=e;t({focus:u,select:c});const o=ro("inputField"),s={arrowEnd:Fe("Save changes"),close:Fe("Clear text"),undo:Fe("Undo changes")},a=new Set(Object.keys(ql.props)),i=oe(()=>{const l=Object.fromEntries(Object.entries(r).filter(([d])=>a.has(d)));return l.trailingButtonLabel??=s[r.trailingButtonIcon],l});function u(l){o.value.focus(l)}function c(){o.value.select()}return(l,d)=>(R(),ge(z(ql),ht(i.value,{ref:"inputField",modelValue:n.value,"onUpdate:modelValue":d[0]||(d[0]=p=>n.value=p)}),vc({_:2},[l.$slots.icon?{name:"icon",fn:de(()=>[be(l.$slots,"icon")]),key:"0"}:void 0,l.type!=="search"?{name:"trailing-button-icon",fn:de(()=>[l.trailingButtonIcon==="arrowEnd"?(R(),ge(z(Ue),{key:0,directional:"",path:z(Fg)},null,8,["path"])):(R(),ge(z(Ue),{key:1,path:l.trailingButtonIcon==="undo"?z(pE):z(Ll)},null,8,["path"]))]),key:"1"}:void 0]),1040,["modelValue"]))}});var jx="M15.41,16.58L10.83,12L15.41,7.41L14,6L8,12L14,18L15.41,16.58Z",Ux="M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z",Kl="M6,2A2,2 0 0,0 4,4V20A2,2 0 0,0 6,22H18A2,2 0 0,0 20,20V8L14,2H6M6,4H13V9H18V20H6V4M8,12V14H16V12H8M8,16V18H13V16H8Z",Hx="M14,3V5H17.59L7.76,14.83L9.17,16.24L19,6.41V10H21V3M19,19H5V5H12V3H5C3.89,3 3,3.9 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V12H19V19Z",Vx="M12,17.27L18.18,21L16.54,13.97L22,9.24L14.81,8.62L12,2L9.19,8.62L2,9.24L7.45,13.97L5.82,21L12,17.27Z",Gx="M3,11H11V3H3M3,21H11V13H3M13,21H21V13H13M13,3V11H21V3",Wx="M9,5V9H21V5M9,19H21V15H9M9,14H21V10H9M4,9H8V5H4M4,19H8V15H4M4,14H8V10H4V14Z";const qx={class:"file-card__preview"},Kx={class:"file-card__content"},Zx={key:0,class:"file-card__icon"},Xx={class:"file-card__text"},Yx={class:"file-card__name"},Jx={key:0,class:"file-card__subname"},Qx=Ve({__name:"FileCard",emits:["click"],setup(e){return(t,n)=>(R(),K("button",{type:"button",class:"file-card",onClick:n[0]||(n[0]=r=>t.$emit("click",r))},[ae("div",qx,[be(t.$slots,"preview",{},void 0,!0)]),ae("div",Kx,[t.$slots.icon?(R(),K("span",Zx,[be(t.$slots,"icon",{},void 0,!0)])):he("",!0),ae("div",Xx,[ae("div",Yx,[be(t.$slots,"name",{},void 0,!0)]),t.$slots.subname?(R(),K("div",Jx,[be(t.$slots,"subname",{},void 0,!0)])):he("",!0)])])]))}}),Qi=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},eA=Qi(Qx,[["__scopeId","data-v-945915af"]]),tA={class:"file-preview"},nA=["src","alt"],rA=Ve({__name:"FilePreview",props:{file:{},size:{default:300},fallbackIconSize:{default:48},alt:{default:""}},setup(e){const t=e,n=xe(!1),r=oe(()=>{const o=(t.file.attributes?.etag??"").slice(0,6);return _r("/core/preview?fileId={fileid}&x={x}&y={y}&v={v}&a=1&mimeFallback=true",{fileid:t.file.fileid,x:t.size,y:t.size,v:o})});return(o,s)=>(R(),K("div",tA,[n.value?(R(),ge(z(Ue),{key:1,path:z(Kl),size:e.fallbackIconSize,class:"file-preview__fallback"},null,8,["path","size"])):(R(),K("img",{key:0,src:r.value,alt:e.alt,loading:"lazy",class:"file-preview__image",onError:s[0]||(s[0]=a=>n.value=!0)},null,40,nA))]))}}),xh=Qi(rA,[["__scopeId","data-v-52ee489a"]]),oA={class:"template-section__header"},sA={id:"template-section-heading",class:"template-section__heading"},aA={key:0,class:"template-section__nav"},iA={class:"template-card__preview"},uA={class:"template-card__name"},lA=["onClick"],cA={class:"template-card__preview"},dA=["src","alt","onError"],pA={class:"template-card__name"},Ah=160,Sh=12,hA=Ve({__name:"TemplateSection",props:{creator:{}},emits:["select"],setup(e,{emit:t}){const n={document:["hsl(203 79% 78%)","hsl(203 79% 60%)","hsl(203 70% 42%)","hsl(203 65% 26%)"],spreadsheet:["hsl(79 46% 70%)","hsl(79 46% 52%)","hsl(79 50% 38%)","hsl(79 55% 24%)"],presentation:["hsl(23 83% 80%)","hsl(23 83% 66%)","hsl(23 75% 48%)","hsl(23 70% 32%)"],drawing:["hsl(47 80% 62%)","hsl(47 80% 39%)","hsl(47 82% 28%)","hsl(47 85% 18%)"]},r={"application/vnd.oasis.opendocument.presentation":"presentation","application/vnd.oasis.opendocument.presentation-template":"presentation","application/vnd.ms-powerpoint":"presentation","application/vnd.openxmlformats-officedocument.presentationml.presentation":"presentation","application/vnd.oasis.opendocument.spreadsheet":"spreadsheet","application/vnd.oasis.opendocument.spreadsheet-template":"spreadsheet","application/vnd.ms-excel":"spreadsheet","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":"spreadsheet","application/vnd.oasis.opendocument.graphics":"drawing","application/vnd.oasis.opendocument.graphics-template":"drawing"},o=e,s=t,a=xe(null),i=xe(!1),u=xe(!1),c=xe({});let l=null;const d=oe(()=>{for(const C of o.creator.mimetypes??[]){const x=r[C];if(x)return x}return"document"}),p=oe(()=>{const C=d.value==="presentation",x=C?150:200,D=C?16/9:2/3;return{width:`${Math.round(x*D)}px`,"--tpl-preview-height":`${x}px`}}),h=oe(()=>{const[C,x,D,$]=n[d.value];return{"--tpl-glow-1":C,"--tpl-glow-2":x,"--tpl-glow-3":D,"--tpl-glow-4":$}}),g=oe(()=>i.value||u.value),f=oe(()=>[{blank:!0},...o.creator.templates??[]]);tt(()=>o.creator,()=>{a.value&&(a.value.scrollLeft=0),m()});function m(){if(!a.value)return;const{scrollLeft:C,scrollWidth:x,clientWidth:D}=a.value;i.value=C>0,u.value=C+D0?C.slice(0,x):C}function w(C){return C.previewUrl?C.previewUrl:_r("/core/preview?fileId={fileid}&x=256&y=256&a=1",{fileid:C.fileid})}return An(()=>{l=new ResizeObserver(()=>m()),a.value&&l.observe(a.value),m()}),ir(()=>{l?.disconnect()}),(C,x)=>(R(),K("section",{class:"template-section",style:dn(h.value),"aria-labelledby":"template-section-heading"},[ae("div",oA,[ae("h2",sA,_e(z(je)("office","Create new")),1),g.value?(R(),K("div",aA,[ce(z(et),{variant:"tertiary","aria-label":z(je)("office","Scroll left"),disabled:!i.value,onClick:x[0]||(x[0]=D=>v(-1))},{icon:de(()=>[ce(z(Ue),{svg:z(jx),size:20},null,8,["svg"])]),_:1},8,["aria-label","disabled"]),ce(z(et),{variant:"tertiary","aria-label":z(je)("office","Scroll right"),disabled:!u.value,onClick:x[1]||(x[1]=D=>v(1))},{icon:de(()=>[ce(z(Ue),{svg:z(Ux),size:20},null,8,["svg"])]),_:1},8,["aria-label","disabled"])])):he("",!0)]),ae("ul",{ref_key:"list",ref:a,class:"template-section__list",onScroll:m},[(R(!0),K(Xe,null,Ss(f.value,D=>(R(),K("li",{key:"blank"in D?"blank":D.fileid,class:"template-section__item"},["blank"in D?(R(),K("button",{key:0,class:"template-card",style:dn(p.value),onClick:x[2]||(x[2]=$=>s("select",e.creator,null))},[ae("span",iA,[ce(z(Ue),{svg:e.creator.iconSvgInline??"",size:32},null,8,["svg"])]),ae("span",uA,_e(z(je)("office","Blank")),1)],4)):(R(),K("button",{key:1,class:"template-card",style:dn(p.value),onClick:$=>s("select",e.creator,D)},[ae("span",cA,[D.hasPreview&&!c.value[D.fileid]?(R(),K("img",{key:0,src:w(D),alt:y(D.basename),loading:"lazy",class:"template-card__image",onError:$=>c.value={...c.value,[D.fileid]:!0}},null,40,dA)):(R(),ge(z(Ue),{key:1,svg:e.creator.iconSvgInline??"",size:48},null,8,["svg"]))]),ae("span",pA,_e(y(D.basename)),1)],12,lA))]))),128))],544)],4))}}),fA=Qi(hA,[["__scopeId","data-v-e970ce47"]]);function Fc(){return Go("files_sharing","isPublic",null)??document.querySelector('input#isPublic[type="hidden"][name="isPublic"][value="1"]')!==null}function gA(){return Go("files_sharing","sharingToken",null)??document.querySelector('input#sharingToken[type="hidden"]')?.value??null}var qu={},mA={2(e){function t(o,s,a){o instanceof RegExp&&(o=n(o,a)),s instanceof RegExp&&(s=n(s,a));var i=r(o,s,a);return i&&{start:i[0],end:i[1],pre:a.slice(0,i[0]),body:a.slice(i[0]+o.length,i[1]),post:a.slice(i[1]+s.length)}}function n(o,s){var a=s.match(o);return a?a[0]:null}function r(o,s,a){var i,u,c,l,d,p=a.indexOf(o),h=a.indexOf(s,p+1),g=p;if(p>=0&&h>0){for(i=[],c=a.length;g>=0&&!d;)g==p?(i.push(g),p=a.indexOf(o,g+1)):i.length==1?d=[i.pop(),h]:((u=i.pop())=0?p:h;i.length&&(d=[c,l])}return d}e.exports=t,t.range=r},101(e,t,n){var r;e=n.nmd(e),(function(){var o=(e&&e.exports,typeof Jn=="object"&&Jn);o.global!==o&&o.window;var s=function(l){this.message=l};(s.prototype=new Error).name="InvalidCharacterError";var a=function(l){throw new s(l)},i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",u=/[\t\n\f\r ]/g,c={encode:function(l){l=String(l),/[^\0-\xFF]/.test(l)&&a("The string to be encoded contains characters outside of the Latin1 range.");for(var d,p,h,g,f=l.length%3,m="",v=-1,y=l.length-f;++v>18&63)+i.charAt(g>>12&63)+i.charAt(g>>6&63)+i.charAt(63&g);return f==2?(d=l.charCodeAt(v)<<8,p=l.charCodeAt(++v),m+=i.charAt((g=d+p)>>10)+i.charAt(g>>4&63)+i.charAt(g<<2&63)+"="):f==1&&(g=l.charCodeAt(v),m+=i.charAt(g>>2)+i.charAt(g<<4&63)+"=="),m},decode:function(l){var d=(l=String(l).replace(u,"")).length;d%4==0&&(d=(l=l.replace(/==?$/,"")).length),(d%4==1||/[^+a-zA-Z0-9/]/.test(l))&&a("Invalid character: the string to be decoded is not correctly encoded.");for(var p,h,g=0,f="",m=-1;++m>(-2*g&6)));return f},version:"1.0.0"};(r=function(){return c}.call(t,n,t,e))===void 0||(e.exports=r)})()},172(e,t){t.d=function(n){if(!n)return 0;for(var r=(n=n.toString()).length,o=n.length;o--;){var s=n.charCodeAt(o);56320<=s&&s<=57343&&o--,127>>32-o},rotr:function(r,o){return r<<32-o|r>>>o},endian:function(r){if(r.constructor==Number)return 16711935&n.rotl(r,8)|4278255360&n.rotl(r,24);for(var o=0;o0;r--)o.push(Math.floor(256*Math.random()));return o},bytesToWords:function(r){for(var o=[],s=0,a=0;s>>5]|=r[s]<<24-a%32;return o},wordsToBytes:function(r){for(var o=[],s=0;s<32*r.length;s+=8)o.push(r[s>>>5]>>>24-s%32&255);return o},bytesToHex:function(r){for(var o=[],s=0;s>>4).toString(16)),o.push((15&r[s]).toString(16));return o.join("")},hexToBytes:function(r){for(var o=[],s=0;s>>6*(3-i)&63)):o.push("=");return o.join("")},base64ToBytes:function(r){r=r.replace(/[^A-Z0-9+\/]/gi,"");for(var o=[],s=0,a=0;s>>6-2*a);return o}},e.exports=n},135(e){function t(n){return!!n.constructor&&typeof n.constructor.isBuffer=="function"&&n.constructor.isBuffer(n)}e.exports=function(n){return n!=null&&(t(n)||(function(r){return typeof r.readFloatLE=="function"&&typeof r.slice=="function"&&t(r.slice(0,0))})(n)||!!n._isBuffer)}},542(e,t,n){(function(){var r=n(298),o=n(526).utf8,s=n(135),a=n(526).bin,i=function(u,c){u.constructor==String?u=c&&c.encoding==="binary"?a.stringToBytes(u):o.stringToBytes(u):s(u)?u=Array.prototype.slice.call(u,0):Array.isArray(u)||u.constructor===Uint8Array||(u=u.toString());for(var l=r.bytesToWords(u),d=8*u.length,p=1732584193,h=-271733879,g=-1732584194,f=271733878,m=0;m>>24)|4278255360&(l[m]<<24|l[m]>>>8);l[d>>>5]|=128<>>9<<4)]=d;var v=i._ff,y=i._gg,w=i._hh,C=i._ii;for(m=0;m>>0,h=h+D>>>0,g=g+$>>>0,f=f+q>>>0}return r.endian([p,h,g,f])};i._ff=function(u,c,l,d,p,h,g){var f=u+(c&l|~c&d)+(p>>>0)+g;return(f<>>32-h)+c},i._gg=function(u,c,l,d,p,h,g){var f=u+(c&d|l&~d)+(p>>>0)+g;return(f<>>32-h)+c},i._hh=function(u,c,l,d,p,h,g){var f=u+(c^l^d)+(p>>>0)+g;return(f<>>32-h)+c},i._ii=function(u,c,l,d,p,h,g){var f=u+(l^(c|~d))+(p>>>0)+g;return(f<>>32-h)+c},i._blocksize=16,i._digestsize=16,e.exports=function(u,c){if(u==null)throw new Error("Illegal argument "+u);var l=r.wordsToBytes(i(u,c));return c&&c.asBytes?l:c&&c.asString?a.bytesToString(l):r.bytesToHex(l)}})()},285(e,t,n){var r=n(2);e.exports=function(v,y){if(!v)return[];var w=(y=y||{}).max==null?1/0:y.max;return v.substr(0,2)==="{}"&&(v="\\{\\}"+v.substr(2)),m((function(C){return C.split("\\\\").join(o).split("\\{").join(s).split("\\}").join(a).split("\\,").join(i).split("\\.").join(u)})(v),w,!0).map(l)};var o="\0SLASH"+Math.random()+"\0",s="\0OPEN"+Math.random()+"\0",a="\0CLOSE"+Math.random()+"\0",i="\0COMMA"+Math.random()+"\0",u="\0PERIOD"+Math.random()+"\0";function c(v){return parseInt(v,10)==v?parseInt(v,10):v.charCodeAt(0)}function l(v){return v.split(o).join("\\").split(s).join("{").split(a).join("}").split(i).join(",").split(u).join(".")}function d(v){if(!v)return[""];var y=[],w=r("{","}",v);if(!w)return v.split(",");var C=w.pre,x=w.body,D=w.post,$=C.split(",");$[$.length-1]+="{"+x+"}";var q=d(D);return D.length&&($[$.length-1]+=q.shift(),$.push.apply($,q)),y.push.apply(y,$),y}function p(v){return"{"+v+"}"}function h(v){return/^-?0\d/.test(v)}function g(v,y){return v<=y}function f(v,y){return v>=y}function m(v,y,w){var C=[],x=r("{","}",v);if(!x)return[v];var D=x.pre,$=x.post.length?m(x.post,y,!1):[""];if(/\$$/.test(x.pre))for(var q=0;q<$.length&&q=0;if(!V&&!se)return x.post.match(/,(?!,).*\}/)?m(v=x.pre+"{"+x.body+a+x.post,y,!0):[v];if(V)B=x.body.split(/\.\./);else if((B=d(x.body)).length===1&&(B=m(B[0],y,!1).map(p)).length===1)return $.map((function(A){return x.pre+B[0]+A}));if(V){var Z=c(B[0]),X=c(B[1]),ne=Math.max(B[0].length,B[1].length),ee=B.length==3?Math.max(Math.abs(c(B[2])),1):1,J=g;X0){var ke=new Array(qe+1).join("0");Se=pe<0?"-"+ke+Se.slice(1):ke+Se}}re.push(Se)}}else{re=[];for(var me=0;me"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch{return!1}})()?Reflect.construct:function(p,h,g){var f=[null];f.push.apply(f,h);var m=new(Function.bind.apply(p,f));return g&&o(m,g.prototype),m},r.apply(null,arguments)}function o(c,l){return o=Object.setPrototypeOf||function(d,p){return d.__proto__=p,d},o(c,l)}function s(c){return s=Object.setPrototypeOf?Object.getPrototypeOf:function(l){return l.__proto__||Object.getPrototypeOf(l)},s(c)}var a=(function(c){function l(d){var p;return(function(h,g){if(!(h instanceof g))throw new TypeError("Cannot call a class as a function")})(this,l),(p=(function(h,g){return!g||t(g)!=="object"&&typeof g!="function"?(function(f){if(f===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return f})(h):g})(this,s(l).call(this,d))).name="ObjectPrototypeMutationError",p}return(function(d,p){if(typeof p!="function"&&p!==null)throw new TypeError("Super expression must either be null or a function");d.prototype=Object.create(p&&p.prototype,{constructor:{value:d,writable:!0,configurable:!0}}),p&&o(d,p)})(l,c),l})(n(Error));function i(c,l){for(var d=arguments.length>2&&arguments[2]!==void 0?arguments[2]:function(){},p=l.split("."),h=p.length,g=function(v){var y=p[v];if(!c)return{v:void 0};if(y==="+"){if(Array.isArray(c))return{v:c.map((function(C,x){var D=p.slice(v+1);return D.length>0?i(C,D.join("."),d):d(c,x,p,v)}))};var w=p.slice(0,v).join(".");throw new Error("Object at wildcard (".concat(w,") is not an array"))}c=d(c,y,p,v)},f=0;f2&&arguments[2]!==void 0?arguments[2]:{};if(t(c)!="object"||c===null||l===void 0)return!1;if(typeof l=="number")return l in c;try{var p=!1;return i(c,l,(function(h,g,f,m){if(!u(f,m))return h&&h[g];p=d.own?h.hasOwnProperty(g):g in h})),p}catch{return!1}},hasOwn:function(c,l,d){return this.has(c,l,d||{own:!0})},isIn:function(c,l,d){var p=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};if(t(c)!="object"||c===null||l===void 0)return!1;try{var h=!1,g=!1;return i(c,l,(function(f,m,v,y){return h=h||f===d||!!f&&f[m]===d,g=u(v,y)&&t(f)==="object"&&m in f,f&&f[m]})),p.validPath?h&&g:h}catch{return!1}},ObjectPrototypeMutationError:a}},47(e,t,n){var r=n(410),o=function(c){return typeof c=="string"};function s(c,l){for(var d=[],p=0;p=-1&&!l;d--){var p=d>=0?arguments[d]:to.cwd();if(!o(p))throw new TypeError("Arguments to path.resolve must be strings");p&&(c=p+"/"+c,l=p.charAt(0)==="/")}return(l?"/":"")+(c=s(c.split("/"),!l).join("/"))||"."},i.normalize=function(c){var l=i.isAbsolute(c),d=c.substr(-1)==="/";return(c=s(c.split("/"),!l).join("/"))||l||(c="."),c&&d&&(c+="/"),(l?"/":"")+c},i.isAbsolute=function(c){return c.charAt(0)==="/"},i.join=function(){for(var c="",l=0;l=0&&y[C]==="";C--);return w>C?[]:y.slice(w,C+1)}c=i.resolve(c).substr(1),l=i.resolve(l).substr(1);for(var p=d(c.split("/")),h=d(l.split("/")),g=Math.min(p.length,h.length),f=g,m=0;m=2&&(C=C.slice(2)):f(D)?C=x[4]:D?$&&(C=C.slice(2)):U>=2&&f(w.protocol)&&(C=x[4]),{protocol:D,slashes:$||f(D),slashesCount:U,rest:C}}function v(y,w,C){if(y=(y=d(y)).replace(a,""),!(this instanceof v))return new v(y,w,C);var x,D,$,q,U,B,re=p.slice(),T=typeof w,S=this,V=0;for(T!=="object"&&T!=="string"&&(C=w,w=null),C&&typeof C!="function"&&(C=o.parse),x=!(D=m(y||"",w=g(w))).protocol&&!D.slashes,S.slashes=D.slashes||x&&w.slashes,S.protocol=D.protocol||w.protocol||"",y=D.rest,(D.protocol==="file:"&&(D.slashesCount!==2||l.test(y))||!D.slashes&&(D.protocol||D.slashesCount<2||!f(S.protocol)))&&(re[3]=[/(.*)/,"pathname"]);V{var t=e&&e.__esModule?()=>e.default:()=>e;return Ze.d(t,{a:t}),t},Ze.d=(e,t)=>{for(var n in t)Ze.o(t,n)&&!Ze.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},Ze.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),Ze.nmd=e=>(e.paths=[],e.children||(e.children=[]),e);var vA=Ze(737),yA=Ze.n(vA);function Ku(e){if(!Zl(e))throw new Error("Parameter was not an error")}function Zl(e){return!!e&&typeof e=="object"&&(t=e,Object.prototype.toString.call(t)==="[object Error]")||e instanceof Error;var t}class Gt extends Error{constructor(t,n){const r=[...arguments],{options:o,shortMessage:s}=(function(i){let u,c="";if(i.length===0)u={};else if(Zl(i[0]))u={cause:i[0]},c=i.slice(1).join(" ")||"";else if(i[0]&&typeof i[0]=="object")u=Object.assign({},i[0]),c=i.slice(1).join(" ")||"";else{if(typeof i[0]!="string")throw new Error("Invalid arguments passed to Layerr");u={},c=c=i.join(" ")||""}return{options:u,shortMessage:c}})(r);let a=s;if(o.cause&&(a=`${a}: ${o.cause.message}`),super(a),this.message=a,o.name&&typeof o.name=="string"?this.name=o.name:this.name="Layerr",o.cause&&Object.defineProperty(this,"_cause",{value:o.cause}),Object.defineProperty(this,"_info",{value:{}}),o.info&&typeof o.info=="object"&&Object.assign(this._info,o.info),Error.captureStackTrace){const i=o.constructorOpt||this.constructor;Error.captureStackTrace(this,i)}}static cause(t){return Ku(t),t._cause&&Zl(t._cause)?t._cause:null}static fullStack(t){Ku(t);const n=Gt.cause(t);return n?`${t.stack} -caused by: ${Gt.fullStack(n)}`:t.stack??""}static info(t){Ku(t);const n={},r=Gt.cause(t);return r&&Object.assign(n,Gt.info(r)),t._info&&Object.assign(n,t._info),n}toString(){let t=this.name||this.constructor.name||this.constructor.prototype.name;return this.message&&(t=`${t}: ${this.message}`),t}}var bA=Ze(47),bi=Ze.n(bA);const Th="__PATH_SEPARATOR_POSIX__",Nh="__PATH_SEPARATOR_WINDOWS__";function nt(e){try{const t=e.replace(/\//g,Th).replace(/\\\\/g,Nh);return encodeURIComponent(t).split(Nh).join("\\\\").split(Th).join("/")}catch(t){throw new Gt(t,"Failed encoding path")}}function Dh(e){return e.startsWith("/")?e:"/"+e}function ta(e){let t=e;return t[0]!=="/"&&(t="/"+t),/^.+\/$/.test(t)&&(t=t.substr(0,t.length-1)),t}function EA(e){let t=new(yA())(e).pathname;return t.length<=0&&(t="/"),ta(t)}function rt(){for(var e=arguments.length,t=new Array(e),n=0;n1){var s=r.shift();r[0]=s+r[0]}r[0].match(/^file:\/\/\//)?r[0]=r[0].replace(/^([^/:]+):\/*/,"$1:///"):r[0]=r[0].replace(/^([^/:]+):\/*/,"$1://");for(var a=0;a0&&(i=i.replace(/^[\/]+/,"")),i=a0?"?":"")+c.join("&")})(typeof arguments[0]=="object"?arguments[0]:[].slice.call(arguments))})(t.reduce(((r,o,s)=>((s===0||o!=="/"||o==="/"&&r[r.length-1]!=="/")&&r.push(o),r)),[]))}var wA=Ze(542),cs=Ze.n(wA);function Oh(e,t){const n=e.url.replace("//",""),r=n.indexOf("/")==-1?"/":n.slice(n.indexOf("/")),o=e.method?e.method.toUpperCase():"GET",s=!!/(^|,)\s*auth\s*($|,)/.test(t.qop)&&"auth",a=`00000000${t.nc}`.slice(-8),i=(function(p,h,g,f,m,v,y){const w=y||cs()(`${h}:${g}:${f}`);return p&&p.toLowerCase()==="md5-sess"?cs()(`${w}:${m}:${v}`):w})(t.algorithm,t.username,t.realm,t.password,t.nonce,t.cnonce,t.ha1),u=cs()(`${o}:${r}`),c=s?cs()(`${i}:${t.nonce}:${a}:${t.cnonce}:${s}:${u}`):cs()(`${i}:${t.nonce}:${u}`),l={username:t.username,realm:t.realm,nonce:t.nonce,uri:r,qop:s,response:c,nc:a,cnonce:t.cnonce,algorithm:t.algorithm,opaque:t.opaque},d=[];for(const p in l)l[p]&&(p==="qop"||p==="nc"||p==="algorithm"?d.push(`${p}=${l[p]}`):d.push(`${p}="${l[p]}"`));return`Digest ${d.join(", ")}`}function Cm(e){return(e.headers&&e.headers.get("www-authenticate")||"").split(/\s/)[0].toLowerCase()==="digest"}var CA=Ze(101),_m=Ze.n(CA);function Ph(e){return _m().decode(e)}function Bh(e,t){var n;return`Basic ${n=`${e}:${t}`,_m().encode(n)}`}const $h=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope?self:typeof window<"u"?window:globalThis,_A=$h.fetch.bind($h);let Xt=(function(e){return e.Auto="auto",e.Digest="digest",e.None="none",e.Password="password",e.Token="token",e})({}),Br=(function(e){return e.DataTypeNoLength="data-type-no-length",e.InvalidAuthType="invalid-auth-type",e.InvalidOutputFormat="invalid-output-format",e.LinkUnsupportedAuthType="link-unsupported-auth",e.InvalidUpdateRange="invalid-update-range",e.NotSupported="not-supported",e})({});function xm(e,t,n,r,o){switch(e.authType){case Xt.Auto:t&&n&&(e.headers.Authorization=Bh(t,n));break;case Xt.Digest:e.digest=(function(a,i,u){return{username:a,password:i,ha1:u,nc:0,algorithm:"md5",hasDigestAuth:!1}})(t,n,o);break;case Xt.None:break;case Xt.Password:e.headers.Authorization=Bh(t,n);break;case Xt.Token:e.headers.Authorization=`${(s=r).token_type} ${s.access_token}`;break;default:throw new Gt({info:{code:Br.InvalidAuthType}},`Invalid auth type: ${e.authType}`)}var s}Ze(345),Ze(800);const Rh="@@HOTPATCHER",xA=()=>{};function Zu(e){return{original:e,methods:[e],final:!1}}class AA{constructor(){this._configuration={registry:{},getEmptyAction:"null"},this.__type__=Rh}get configuration(){return this._configuration}get getEmptyAction(){return this.configuration.getEmptyAction}set getEmptyAction(t){this.configuration.getEmptyAction=t}control(t){let n=arguments.length>1&&arguments[1]!==void 0&&arguments[1];if(!t||t.__type__!==Rh)throw new Error("Failed taking control of target HotPatcher instance: Invalid type or object");return Object.keys(t.configuration.registry).forEach((r=>{this.configuration.registry.hasOwnProperty(r)?n&&(this.configuration.registry[r]=Object.assign({},t.configuration.registry[r])):this.configuration.registry[r]=Object.assign({},t.configuration.registry[r])})),t._configuration=this.configuration,this}execute(t){const n=this.get(t)||xA;for(var r=arguments.length,o=new Array(r>1?r-1:0),s=1;s0;)c=[o.shift().apply(l,c)];return c[0]}})(...n.methods)}isPatched(t){return!!this.configuration.registry[t]}patch(t,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const{chain:o=!1}=r;if(this.configuration.registry[t]&&this.configuration.registry[t].final)throw new Error(`Failed patching '${t}': Method marked as being final`);if(typeof n!="function")throw new Error(`Failed patching '${t}': Provided method is not a function`);if(o)this.configuration.registry[t]?this.configuration.registry[t].methods.push(n):this.configuration.registry[t]=Zu(n);else if(this.isPatched(t)){const{original:s}=this.configuration.registry[t];this.configuration.registry[t]=Object.assign(Zu(n),{original:s})}else this.configuration.registry[t]=Zu(n);return this}patchInline(t,n){this.isPatched(t)||this.patch(t,n);for(var r=arguments.length,o=new Array(r>2?r-2:0),s=2;s1?n-1:0),o=1;o{this.patch(t,s,{chain:!0})})),this}restore(t){if(!this.isPatched(t))throw new Error(`Failed restoring method: No method present for key: ${t}`);if(typeof this.configuration.registry[t].original!="function")throw new Error(`Failed restoring method: Original method not found or of invalid type for key: ${t}`);return this.configuration.registry[t].methods=[this.configuration.registry[t].original],this}setFinal(t){if(!this.configuration.registry.hasOwnProperty(t))throw new Error(`Failed marking '${t}' as final: No method found for key`);return this.configuration.registry[t].final=!0,this}}let Xu=null;function Am(){return Xu||(Xu=new AA),Xu}function Ei(e){return(function(t){if(typeof t!="object"||t===null||Object.prototype.toString.call(t)!="[object Object]")return!1;if(Object.getPrototypeOf(t)===null)return!0;let n=t;for(;Object.getPrototypeOf(n)!==null;)n=Object.getPrototypeOf(n);return Object.getPrototypeOf(t)===n})(e)?Object.assign({},e):Object.setPrototypeOf(Object.assign({},e),Object.getPrototypeOf(e))}function Fh(){for(var e=arguments.length,t=new Array(e),n=0;n0;){const s=o.shift();r=r?Sm(r,s):Ei(s)}return r}function Sm(e,t){const n=Ei(e);return Object.keys(t).forEach((r=>{n.hasOwnProperty(r)?Array.isArray(t[r])?n[r]=Array.isArray(n[r])?[...n[r],...t[r]]:[...t[r]]:typeof t[r]=="object"&&t[r]?n[r]=typeof n[r]=="object"&&n[r]?Sm(n[r],t[r]):Ei(t[r]):n[r]=t[r]:n[r]=t[r]})),n}function SA(e){const t={};for(const n of e.keys())t[n]=e.get(n);return t}function Xl(){for(var e=arguments.length,t=new Array(e),n=0;n(Object.keys(s).forEach((a=>{const i=a.toLowerCase();r.hasOwnProperty(i)?o[r[i]]=s[a]:(r[i]=a,o[a]=s[a])})),o)),{})}Ze(805);const kA=typeof ArrayBuffer=="function",{toString:TA}=Object.prototype;function km(e){return kA&&(e instanceof ArrayBuffer||TA.call(e)==="[object ArrayBuffer]")}function Tm(e){return e!=null&&e.constructor!=null&&typeof e.constructor.isBuffer=="function"&&e.constructor.isBuffer(e)}function Lc(e){return function(){for(var t=[],n=0;nt.patchInline("fetch",_A,n.url,(function(r){let o={};const s={method:r.method};if(r.headers&&(o=Xl(o,r.headers)),r.data!==void 0){const[a,i]=(function(u){if(typeof u=="string")return[u,{}];if(Tm(u))return[u,{}];if(km(u))return[u,{}];if(u&&typeof u=="object")return[JSON.stringify(u),{"content-type":"application/json"}];throw new Error("Unable to convert request body: Unexpected body type: "+typeof u)})(r.data);s.body=a,o=Xl(o,i)}return r.signal&&(s.signal=r.signal),r.withCredentials&&(s.credentials="include"),s.headers=o,s})(n))),e)}var DA=Ze(285);const Ci=e=>{if(typeof e!="string")throw new TypeError("invalid pattern");if(e.length>65536)throw new TypeError("pattern is too long")},OA={"[:alnum:]":["\\p{L}\\p{Nl}\\p{Nd}",!0],"[:alpha:]":["\\p{L}\\p{Nl}",!0],"[:ascii:]":["\\x00-\\x7f",!1],"[:blank:]":["\\p{Zs}\\t",!0],"[:cntrl:]":["\\p{Cc}",!0],"[:digit:]":["\\p{Nd}",!0],"[:graph:]":["\\p{Z}\\p{C}",!0,!0],"[:lower:]":["\\p{Ll}",!0],"[:print:]":["\\p{C}",!0],"[:punct:]":["\\p{P}",!0],"[:space:]":["\\p{Z}\\t\\r\\n\\v\\f",!0],"[:upper:]":["\\p{Lu}",!0],"[:word:]":["\\p{L}\\p{Nl}\\p{Nd}\\p{Pc}",!0],"[:xdigit:]":["A-Fa-f0-9",!1]},ds=e=>e.replace(/[[\]\\-]/g,"\\$&"),Lh=e=>e.join(""),PA=(e,t)=>{const n=t;if(e.charAt(n)!=="[")throw new Error("not in a brace expression");const r=[],o=[];let s=n+1,a=!1,i=!1,u=!1,c=!1,l=n,d="";e:for(;sd?r.push(ds(d)+"-"+ds(f)):f===d&&r.push(ds(f)),d="",s++):e.startsWith("-]",s+1)?(r.push(ds(f+"-")),s+=2):e.startsWith("-",s+1)?(d=f,s+=2):(r.push(ds(f)),s++)}else u=!0,s++}else c=!0,s++}if(l1&&arguments[1]!==void 0?arguments[1]:{};return t?e.replace(/\[([^\/\\])\]/g,"$1"):e.replace(/((?!\\).|^)\[([^\/\\])\]/g,"$1$2").replace(/\\([^\/])/g,"$1")};var Kt;const BA=new Set(["!","?","+","*","@"]),Jl=e=>BA.has(e),Ih=e=>Jl(e.type),$A=new Map([["!",["@"]],["?",["?","@"]],["@",["@"]],["*",["*","+","?","@"]],["+",["+","@"]]]),RA=new Map([["!",["?"]],["@",["?"]],["+",["?","*"]]]),FA=new Map([["!",["?","@"]],["?",["?","@"]],["@",["?","@"]],["*",["*","+","?","@"]],["+",["+","@","?","*"]]]),Mh=new Map([["!",new Map([["!","@"]])],["?",new Map([["*","*"],["+","*"]])],["@",new Map([["!","!"],["?","?"],["@","@"],["*","*"],["+","+"]])],["+",new Map([["?","*"],["*","*"]])]]),Yu="(?!\\.)",LA=new Set(["[","."]),IA=new Set(["..","."]),MA=new Set("().*{}+?[]^$\\!"),Ic="[^/]",zh=Ic+"*?",jh=Ic+"+?";class Mc{type;#n;#r;#o=!1;#e=[];#t;#i;#l;#u=!1;#s;#a;#c=!1;constructor(t,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.type=t,t&&(this.#r=!0),this.#t=n,this.#n=this.#t?this.#t.#n:this,this.#s=this.#n===this?r:this.#n.#s,this.#l=this.#n===this?[]:this.#n.#l,t!=="!"||this.#n.#u||this.#l.push(this),this.#i=this.#t?this.#t.#e.length:0}get hasMagic(){if(this.#r!==void 0)return this.#r;for(const t of this.#e)if(typeof t!="string"&&(t.type||t.hasMagic))return this.#r=!0;return this.#r}toString(){return this.#a!==void 0?this.#a:this.type?this.#a=this.type+"("+this.#e.map((t=>String(t))).join("|")+")":this.#a=this.#e.map((t=>String(t))).join("")}#v(){if(this!==this.#n)throw new Error("should only call on root");if(this.#u)return this;let t;for(this.toString(),this.#u=!0;t=this.#l.pop();){if(t.type!=="!")continue;let n=t,r=n.#t;for(;r;){for(let o=n.#i+1;!r.type&&otypeof n=="string"?n:n.toJSON())):[this.type,...this.#e.map((n=>n.toJSON()))];return this.isStart()&&!this.type&&t.unshift([]),this.isEnd()&&(this===this.#n||this.#n.#u&&this.#t?.type==="!")&&t.push({}),t}isStart(){if(this.#n===this)return!0;if(!this.#t?.isStart())return!1;if(this.#i===0)return!0;const t=this.#t;for(let n=0;n1&&arguments[1]!==void 0?arguments[1]:$A;if(!t||typeof t!="object"||t.type!==null||t.#e.length!==1||this.type===null)return!1;const r=t.#e[0];return!(!r||typeof r!="object"||r.type===null)&&this.#p(r.type,n)}#p(t){return!!(arguments.length>1&&arguments[1]!==void 0?arguments[1]:FA).get(this.type)?.includes(t)}#b(t,n){const r=t.#e[0],o=new Kt(null,r,this.options);o.#e.push(""),r.push(o),this.#g(t,n)}#g(t,n){const r=t.#e[0];this.#e.splice(n,1,...r.#e);for(const o of r.#e)typeof o=="object"&&(o.#t=this);this.#a=void 0}#E(t){return!!Mh.get(this.type)?.has(t)}#w(t){if(!t||typeof t!="object"||t.type!==null||t.#e.length!==1||this.type===null||this.#e.length!==1)return!1;const n=t.#e[0];return!(!n||typeof n!="object"||n.type===null)&&this.#E(n.type)}#C(t){const n=Mh.get(this.type),r=t.#e[0],o=n?.get(r.type);if(!o)return!1;this.#e=r.#e;for(const s of this.#e)typeof s=="object"&&(s.#t=this);this.type=o,this.#a=void 0,this.#c=!1}#h(){if(Ih(this)){let t=0,n=!1;do{n=!0;for(let r=0;r1&&arguments[1]!==void 0?arguments[1]:{};const r=new Kt(null,void 0,n);return Kt.#d(t,r,0,n,0),r}toMMPattern(){if(this!==this.#n)return this.#n.toMMPattern();const t=this.toString(),[n,r,o,s]=this.toRegExpSource();if(!(o||this.#r||this.#s.nocase&&!this.#s.nocaseMagicOnly&&t.toUpperCase()!==t.toLowerCase()))return r;const a=(this.#s.nocase?"i":"")+(s?"u":"");return Object.assign(new RegExp(`^${n}$`,a),{_src:n,_glob:t})}get options(){return this.#s}toRegExpSource(t){const n=t??!!this.#s.dot;if(this.#n===this&&(this.#h(),this.#v()),!Ih(this)){const u=this.isStart()&&this.isEnd(),c=this.#e.map((p=>{const[h,g,f,m]=typeof p=="string"?Kt.#_(p,this.#r,u):p.toRegExpSource(t);return this.#r=this.#r||f,this.#o=this.#o||m,h})).join("");let l="";if(this.isStart()&&typeof this.#e[0]=="string"&&(this.#e.length!==1||!IA.has(this.#e[0]))){const p=LA,h=n&&p.has(c.charAt(0))||c.startsWith("\\.")&&p.has(c.charAt(2))||c.startsWith("\\.\\.")&&p.has(c.charAt(4)),g=!n&&!t&&p.has(c.charAt(0));l=h?"(?!(?:^|/)\\.\\.?(?:$|/))":g?Yu:""}let d="";return this.isEnd()&&this.#n.#u&&this.#t?.type==="!"&&(d="(?:$|\\/)"),[l+c+d,Es(c),this.#r=!!this.#r,this.#o]}const r=this.type==="*"||this.type==="+",o=this.type==="!"?"(?:(?!(?:":"(?:";let s=this.#m(n);if(this.isStart()&&this.isEnd()&&!s&&this.type!=="!"){const u=this.toString(),c=this;return c.#e=[u],c.type=null,c.#r=void 0,[u,Es(this.toString()),!1,!1]}let a=!r||t||n?"":this.#m(!0);a===s&&(a=""),a&&(s=`(?:${s})(?:${a})*?`);let i="";return i=this.type==="!"&&this.#c?(this.isStart()&&!n?Yu:"")+jh:o+s+(this.type==="!"?"))"+(!this.isStart()||n||t?"":Yu)+zh+")":this.type==="@"?")":this.type==="?"?")?":this.type==="+"&&a?")":this.type==="*"&&a?")?":`)${this.type}`),[i,Es(s),this.#r=!!this.#r,this.#o]}#m(t){return this.#e.map((n=>{if(typeof n=="string")throw new Error("string type in extglob ast??");const[r,o,s,a]=n.toRegExpSource(t);return this.#o=this.#o||a,r})).filter((n=>!(this.isStart()&&this.isEnd()&&!n))).join("|")}static#_(t,n){let r=arguments.length>2&&arguments[2]!==void 0&&arguments[2],o=!1,s="",a=!1,i=!1;for(let u=0;u2&&arguments[2]!==void 0?arguments[2]:{};return Ci(t),!(!n.nocomment&&t.charAt(0)==="#")&&new _i(t,n).match(e)},zA=/^\*+([^+@!?\*\[\(]*)$/,jA=e=>t=>!t.startsWith(".")&&t.endsWith(e),UA=e=>t=>t.endsWith(e),HA=e=>(e=e.toLowerCase(),t=>!t.startsWith(".")&&t.toLowerCase().endsWith(e)),VA=e=>(e=e.toLowerCase(),t=>t.toLowerCase().endsWith(e)),GA=/^\*+\.\*+$/,WA=e=>!e.startsWith(".")&&e.includes("."),qA=e=>e!=="."&&e!==".."&&e.includes("."),KA=/^\.\*+$/,ZA=e=>e!=="."&&e!==".."&&e.startsWith("."),XA=/^\*+$/,YA=e=>e.length!==0&&!e.startsWith("."),JA=e=>e.length!==0&&e!=="."&&e!=="..",QA=/^\?+([^+@!?\*\[\(]*)?$/,eS=e=>{let[t,n=""]=e;const r=Dm([t]);return n?(n=n.toLowerCase(),o=>r(o)&&o.toLowerCase().endsWith(n)):r},tS=e=>{let[t,n=""]=e;const r=Om([t]);return n?(n=n.toLowerCase(),o=>r(o)&&o.toLowerCase().endsWith(n)):r},nS=e=>{let[t,n=""]=e;const r=Om([t]);return n?o=>r(o)&&o.endsWith(n):r},rS=e=>{let[t,n=""]=e;const r=Dm([t]);return n?o=>r(o)&&o.endsWith(n):r},Dm=e=>{let[t]=e;const n=t.length;return r=>r.length===n&&!r.startsWith(".")},Om=e=>{let[t]=e;const n=t.length;return r=>r.length===n&&r!=="."&&r!==".."},Pm=typeof to=="object"&&to?typeof qu=="object"&&qu&&qu.__MINIMATCH_TESTING_PLATFORM__||to.platform:"posix";Ft.sep=Pm==="win32"?"\\":"/";const Ot=Symbol("globstar **");Ft.GLOBSTAR=Ot,Ft.filter=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return n=>Ft(n,e,t)};const sn=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Object.assign({},e,t)};Ft.defaults=e=>{if(!e||typeof e!="object"||!Object.keys(e).length)return Ft;const t=Ft;return Object.assign((function(n,r){return t(n,r,sn(e,arguments.length>2&&arguments[2]!==void 0?arguments[2]:{}))}),{Minimatch:class extends t.Minimatch{constructor(n){super(n,sn(e,arguments.length>1&&arguments[1]!==void 0?arguments[1]:{}))}static defaults(n){return t.defaults(sn(e,n)).Minimatch}},AST:class extends t.AST{constructor(n,r){super(n,r,sn(e,arguments.length>2&&arguments[2]!==void 0?arguments[2]:{}))}static fromGlob(n){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return t.AST.fromGlob(n,sn(e,r))}},unescape:function(n){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return t.unescape(n,sn(e,r))},escape:function(n){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return t.escape(n,sn(e,r))},filter:function(n){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return t.filter(n,sn(e,r))},defaults:n=>t.defaults(sn(e,n)),makeRe:function(n){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return t.makeRe(n,sn(e,r))},braceExpand:function(n){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return t.braceExpand(n,sn(e,r))},match:function(n,r){let o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return t.match(n,r,sn(e,o))},sep:t.sep,GLOBSTAR:Ot})};const Bm=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Ci(e),t.nobrace||!/\{(?:(?!\{).)*\}/.test(e)?[e]:DA(e)};Ft.braceExpand=Bm,Ft.makeRe=function(e){return new _i(e,arguments.length>1&&arguments[1]!==void 0?arguments[1]:{}).makeRe()},Ft.match=function(e,t){const n=new _i(t,arguments.length>2&&arguments[2]!==void 0?arguments[2]:{});return e=e.filter((r=>n.match(r))),n.options.nonull&&!e.length&&e.push(t),e};const Uh=/[?*]|[+@!]\(.*?\)|\[|\]/;class _i{options;set;pattern;windowsPathsNoEscape;nonegate;negate;comment;empty;preserveMultipleSlashes;partial;globSet;globParts;nocase;isWindows;platform;windowsNoMagicRoot;maxGlobstarRecursion;regexp;constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};Ci(t),n=n||{},this.options=n,this.maxGlobstarRecursion=n.maxGlobstarRecursion??200,this.pattern=t,this.platform=n.platform||Pm,this.isWindows=this.platform==="win32",this.windowsPathsNoEscape=!!n.windowsPathsNoEscape||n.allowWindowsEscape===!1,this.windowsPathsNoEscape&&(this.pattern=this.pattern.replace(/\\/g,"/")),this.preserveMultipleSlashes=!!n.preserveMultipleSlashes,this.regexp=null,this.negate=!1,this.nonegate=!!n.nonegate,this.comment=!1,this.empty=!1,this.partial=!!n.partial,this.nocase=!!this.options.nocase,this.windowsNoMagicRoot=n.windowsNoMagicRoot!==void 0?n.windowsNoMagicRoot:!(!this.isWindows||!this.nocase),this.globSet=[],this.globParts=[],this.set=[],this.make()}hasMagic(){if(this.options.magicalBraces&&this.set.length>1)return!0;for(const t of this.set)for(const n of t)if(typeof n!="string")return!0;return!1}debug(){}make(){const t=this.pattern,n=this.options;if(!n.nocomment&&t.charAt(0)==="#")return void(this.comment=!0);if(!t)return void(this.empty=!0);this.parseNegate(),this.globSet=[...new Set(this.braceExpand())],n.debug&&(this.debug=function(){return console.error(...arguments)}),this.debug(this.pattern,this.globSet);const r=this.globSet.map((s=>this.slashSplit(s)));this.globParts=this.preprocess(r),this.debug(this.pattern,this.globParts);let o=this.globParts.map(((s,a,i)=>{if(this.isWindows&&this.windowsNoMagicRoot){const u=!(s[0]!==""||s[1]!==""||s[2]!=="?"&&Uh.test(s[2])||Uh.test(s[3])),c=/^[a-z]:/i.test(s[0]);if(u)return[...s.slice(0,4),...s.slice(4).map((l=>this.parse(l)))];if(c)return[s[0],...s.slice(1).map((l=>this.parse(l)))]}return s.map((u=>this.parse(u)))}));if(this.debug(this.pattern,o),this.set=o.filter((s=>s.indexOf(!1)===-1)),this.isWindows)for(let s=0;s=2?(t=this.firstPhasePreProcess(t),t=this.secondPhasePreProcess(t)):t=n>=1?this.levelOneOptimize(t):this.adjascentGlobstarOptimize(t),t}adjascentGlobstarOptimize(t){return t.map((n=>{let r=-1;for(;(r=n.indexOf("**",r+1))!==-1;){let o=r;for(;n[o+1]==="**";)o++;o!==r&&n.splice(r,o-r)}return n}))}levelOneOptimize(t){return t.map((n=>(n=n.reduce(((r,o)=>{const s=r[r.length-1];return o==="**"&&s==="**"?r:o===".."&&s&&s!==".."&&s!=="."&&s!=="**"?(r.pop(),r):(r.push(o),r)}),[])).length===0?[""]:n))}levelTwoFileOptimize(t){Array.isArray(t)||(t=this.slashSplit(t));let n=!1;do{if(n=!1,!this.preserveMultipleSlashes){for(let o=1;oo&&r.splice(o+1,a-o);let i=r[o+1];const u=r[o+2],c=r[o+3];if(i!==".."||!u||u==="."||u===".."||!c||c==="."||c==="..")continue;n=!0,r.splice(o,1);const l=r.slice(0);l[o]="**",t.push(l),o--}if(!this.preserveMultipleSlashes){for(let a=1;an.length))}partsMatch(t,n){let r=arguments.length>2&&arguments[2]!==void 0&&arguments[2],o=0,s=0,a=[],i="";for(;o2&&arguments[2]!==void 0&&arguments[2],o=0,s=0;if(this.isWindows){const i=typeof t[0]=="string"&&/^[a-z]:$/i.test(t[0]),u=!i&&t[0]===""&&t[1]===""&&t[2]==="?"&&/^[a-z]:$/i.test(t[3]),c=typeof n[0]=="string"&&/^[a-z]:$/i.test(n[0]),l=u?3:i?0:void 0,d=!c&&n[0]===""&&n[1]===""&&n[2]==="?"&&typeof n[3]=="string"&&/^[a-z]:$/i.test(n[3])?3:c?0:void 0;if(typeof l=="number"&&typeof d=="number"){const[p,h]=[t[l],n[d]];p.toLowerCase()===h.toLowerCase()&&(n[d]=p,s=d,o=l)}}const{optimizationLevel:a=1}=this.options;return a>=2&&(t=this.levelTwoFileOptimize(t)),n.includes(Ot)?this.#n(t,n,r,o,s):this.#o(t,n,r,o,s)}#n(t,n,r,o,s){const a=n.indexOf(Ot,s),i=n.lastIndexOf(Ot),[u,c,l]=r?[n.slice(s,a),n.slice(a+1),[]]:[n.slice(s,a),n.slice(a+1,i),n.slice(i+1)];if(u.length){const y=t.slice(o,o+u.length);if(!this.#o(y,u,r,0,0))return!1;o+=u.length}let d=0;if(l.length){if(l.length+o>t.length)return!1;let y=t.length-l.length;if(this.#o(t,l,r,y,0))d=l.length;else{if(t[t.length-1]!==""||o+l.length===t.length||(y--,!this.#o(t,l,r,y,0)))return!1;d=l.length+1}}if(!c.length){let y=!!d;for(let w=o;w{const c=u.map((l=>{if(l instanceof RegExp)for(const d of l.flags.split(""))o.add(d);return typeof l=="string"?l.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"):l===Ot?Ot:l._src}));return c.forEach(((l,d)=>{const p=c[d+1],h=c[d-1];l===Ot&&h!==Ot&&(h===void 0?p!==void 0&&p!==Ot?c[d+1]="(?:\\/|"+r+"\\/)?"+p:c[d]=r:p===void 0?c[d-1]=h+"(?:\\/|"+r+")?":p!==Ot&&(c[d-1]=h+"(?:\\/|\\/"+r+"\\/)"+p,c[d+1]=Ot))})),c.filter((l=>l!==Ot)).join("/")})).join("|");const[a,i]=t.length>1?["(?:",")"]:["",""];s="^"+a+s+i+"$",this.negate&&(s="^(?!"+s+").+$");try{this.regexp=new RegExp(s,[...o].join(""))}catch{this.regexp=!1}return this.regexp}slashSplit(t){return this.preserveMultipleSlashes?t.split("/"):this.isWindows&&/^\/\/[^\/]+/.test(t)?["",...t.split(/\/+/)]:t.split(/\/+/)}match(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.partial;if(this.debug("match",t,this.pattern),this.comment)return!1;if(this.empty)return t==="";if(t==="/"&&n)return!0;const r=this.options;this.isWindows&&(t=t.split("\\").join("/"));const o=this.slashSplit(t);this.debug(this.pattern,"split",o);const s=this.set;this.debug(this.pattern,"set",s);let a=o[o.length-1];if(!a)for(let i=o.length-2;!a&&i>=0;i--)a=o[i];for(let i=0;i1&&arguments[1]!==void 0?arguments[1]:""}Invalid response: ${e.status} ${e.statusText}`);return t.status=e.status,t.response=e,t}function mt(e,t){const{status:n}=t;if(n===401&&e.digest)return t;if(n>=400)throw zc(t);return t}function qo(e,t){return arguments.length>2&&arguments[2]!==void 0&&arguments[2]?{data:t,headers:e.headers?SA(e.headers):{},status:e.status,statusText:e.statusText}:t}Ft.AST=Mc,Ft.Minimatch=_i,Ft.escape=function(e){let{windowsPathsNoEscape:t=!1}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return t?e.replace(/[?*()[\]]/g,"[$&]"):e.replace(/[?*()[\]\\]/g,"\\$&")},Ft.unescape=Es;const oS=(Hh=function(e,t,n){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const o=gt({url:rt(e.remoteURL,nt(t)),method:"COPY",headers:{Destination:rt(e.remoteURL,nt(n)),Overwrite:r.overwrite===!1?"F":"T",Depth:r.shallow?"0":"infinity"}},e,r);return a=function(i){mt(e,i)},(s=ft(o,e))&&s.then||(s=Promise.resolve(s)),a?s.then(a):s;var s,a},function(){for(var e=[],t=0;tjc.includes(e)?"__"+e:e,aS={preserveOrder:!1,attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,removeNSPrefix:!1,allowBooleanAttributes:!1,parseTagValue:!0,parseAttributeValue:!1,trimValues:!0,cdataPropName:!1,numberParseOptions:{hex:!0,leadingZeros:!0,eNotation:!0},tagValueProcessor:function(e,t){return t},attributeValueProcessor:function(e,t){return t},stopNodes:[],alwaysCreateTextNode:!1,isArray:()=>!1,commentPropName:!1,unpairedTags:[],processEntities:!0,htmlEntities:!1,entityDecoder:null,ignoreDeclaration:!1,ignorePiTags:!1,transformTagName:!1,transformAttributeName:!1,updateTag:function(e,t,n){return e},captureMetaData:!1,maxNestedTags:100,strictReservedNames:!0,jPath:!0,onDangerousProperty:Fm};function iS(e,t){if(typeof e!="string")return;const n=e.toLowerCase();if(jc.some((r=>n===r.toLowerCase())))throw new Error(`[SECURITY] Invalid ${t}: "${e}" is a reserved JavaScript keyword that could cause prototype pollution`);if(Rm.some((r=>n===r.toLowerCase())))throw new Error(`[SECURITY] Invalid ${t}: "${e}" is a reserved JavaScript keyword that could cause prototype pollution`)}function Lm(e,t){return typeof e=="boolean"?{enabled:e,maxEntitySize:1e4,maxExpansionDepth:1e4,maxTotalExpansions:1/0,maxExpandedLength:1e5,maxEntityCount:1e3,allowedTags:null,tagFilter:null,appliesTo:"all"}:typeof e=="object"&&e!==null?{enabled:e.enabled!==!1,maxEntitySize:Math.max(1,e.maxEntitySize??1e4),maxExpansionDepth:Math.max(1,e.maxExpansionDepth??1e4),maxTotalExpansions:Math.max(1,e.maxTotalExpansions??1/0),maxExpandedLength:Math.max(1,e.maxExpandedLength??1e5),maxEntityCount:Math.max(1,e.maxEntityCount??1e3),allowedTags:e.allowedTags??null,tagFilter:e.tagFilter??null,appliesTo:e.appliesTo??"all"}:Lm(!0)}const uS=function(e){const t=Object.assign({},aS,e),n=[{value:t.attributeNamePrefix,name:"attributeNamePrefix"},{value:t.attributesGroupName,name:"attributesGroupName"},{value:t.textNodeName,name:"textNodeName"},{value:t.cdataPropName,name:"cdataPropName"},{value:t.commentPropName,name:"commentPropName"}];for(const{value:r,name:o}of n)r&&iS(r,o);return t.onDangerousProperty===null&&(t.onDangerousProperty=Fm),t.processEntities=Lm(t.processEntities,t.htmlEntities),t.unpairedTagsSet=new Set(t.unpairedTags),t.stopNodes&&Array.isArray(t.stopNodes)&&(t.stopNodes=t.stopNodes.map((r=>typeof r=="string"&&r.startsWith("*.")?".."+r.substring(2):r))),t};let Ql;Ql=typeof Symbol!="function"?"@@xmlMetadata":Symbol("XML Node Metadata");class wr{constructor(t){this.tagname=t,this.child=[],this[":@"]=Object.create(null)}add(t,n){t==="__proto__"&&(t="#__proto__"),this.child.push({[t]:n})}addChild(t,n){t.tagname==="__proto__"&&(t.tagname="#__proto__"),t[":@"]&&Object.keys(t[":@"]).length>0?this.child.push({[t.tagname]:t.child,":@":t[":@"]}):this.child.push({[t.tagname]:t.child}),n!==void 0&&(this.child[this.child.length-1][Ql]={startIndex:n})}static getMetaDataSymbol(){return Ql}}class lS{constructor(t){this.suppressValidationErr=!t,this.options=t}readDocType(t,n){const r=Object.create(null);let o=0;if(t[n+3]!=="O"||t[n+4]!=="C"||t[n+5]!=="T"||t[n+6]!=="Y"||t[n+7]!=="P"||t[n+8]!=="E")throw new Error("Invalid Tag instead of DOCTYPE");{n+=9;let s=1,a=!1,i=!1,u="";for(;n"){if(i?t[n-1]==="-"&&t[n-2]==="-"&&(i=!1,s--):s--,s===0)break}else t[n]==="["?a=!0:u+=t[n];else{if(a&&Vr(t,"!ENTITY",n)){let c,l;if(n+=7,[c,l,n]=this.readEntityExp(t,n+1,this.suppressValidationErr),l.indexOf("&")===-1){if(this.options.enabled!==!1&&this.options.maxEntityCount!=null&&o>=this.options.maxEntityCount)throw new Error(`Entity count (${o+1}) exceeds maximum allowed (${this.options.maxEntityCount})`);r[c]=l,o++}}else if(a&&Vr(t,"!ELEMENT",n)){n+=8;const{index:c}=this.readElementExp(t,n+1);n=c}else if(a&&Vr(t,"!ATTLIST",n))n+=8;else if(a&&Vr(t,"!NOTATION",n)){n+=9;const{index:c}=this.readNotationExp(t,n+1,this.suppressValidationErr);n=c}else{if(!Vr(t,"!--",n))throw new Error("Invalid DOCTYPE");i=!0}s++,u=""}if(s!==0)throw new Error("Unclosed DOCTYPE")}return{entities:r,i:n}}readEntityExp(t,n){const r=n=qt(t,n);for(;nthis.options.maxEntitySize)throw new Error(`Entity "${o}" size (${s.length}) exceeds maximum allowed size (${this.options.maxEntitySize})`);return[o,s,--n]}readNotationExp(t,n){const r=n=qt(t,n);for(;n{for(;t0?t[t.length-1].tag:void 0}getCurrentNamespace(){const t=this._matcher.path;return t.length>0?t[t.length-1].namespace:void 0}getAttrValue(t){const n=this._matcher.path;if(n.length!==0)return n[n.length-1].values?.[t]}hasAttr(t){const n=this._matcher.path;if(n.length===0)return!1;const r=n[n.length-1];return r.values!==void 0&&t in r.values}getPosition(){const t=this._matcher.path;return t.length===0?-1:t[t.length-1].position??0}getCounter(){const t=this._matcher.path;return t.length===0?-1:t[t.length-1].counter??0}getIndex(){return this.getPosition()}getDepth(){return this._matcher.path.length}toString(t){let n=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1];return this._matcher.toString(t,n)}toArray(){return this._matcher.path.map((t=>t.tag))}matches(t){return this._matcher.matches(t)}matchesAny(t){return t.matchesAny(this._matcher)}}class Uc{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.separator=t.separator||".",this.path=[],this.siblingStacks=[],this._pathStringCache=null,this._view=new fS(this)}push(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;this._pathStringCache=null,this.path.length>0&&(this.path[this.path.length-1].values=void 0);const o=this.path.length;this.siblingStacks[o]||(this.siblingStacks[o]=new Map);const s=this.siblingStacks[o],a=r?`${r}:${t}`:t,i=s.get(a)||0;let u=0;for(const l of s.values())u+=l;s.set(a,i+1);const c={tag:t,position:u,counter:i};r!=null&&(c.namespace=r),n!=null&&(c.values=n),this.path.push(c)}pop(){if(this.path.length===0)return;this._pathStringCache=null;const t=this.path.pop();return this.siblingStacks.length>this.path.length+1&&(this.siblingStacks.length=this.path.length+1),t}updateCurrent(t){if(this.path.length>0){const n=this.path[this.path.length-1];t!=null&&(n.values=t)}}getCurrentTag(){return this.path.length>0?this.path[this.path.length-1].tag:void 0}getCurrentNamespace(){return this.path.length>0?this.path[this.path.length-1].namespace:void 0}getAttrValue(t){if(this.path.length!==0)return this.path[this.path.length-1].values?.[t]}hasAttr(t){if(this.path.length===0)return!1;const n=this.path[this.path.length-1];return n.values!==void 0&&t in n.values}getPosition(){return this.path.length===0?-1:this.path[this.path.length-1].position??0}getCounter(){return this.path.length===0?-1:this.path[this.path.length-1].counter??0}getIndex(){return this.getPosition()}getDepth(){return this.path.length}toString(t){let n=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1];const r=t||this.separator;if(r===this.separator&&n===!0){if(this._pathStringCache!==null)return this._pathStringCache;const o=this.path.map((s=>s.namespace?`${s.namespace}:${s.tag}`:s.tag)).join(r);return this._pathStringCache=o,o}return this.path.map((o=>n&&o.namespace?`${o.namespace}:${o.tag}`:o.tag)).join(r)}toArray(){return this.path.map((t=>t.tag))}reset(){this._pathStringCache=null,this.path=[],this.siblingStacks=[]}matches(t){const n=t.segments;return n.length!==0&&(t.hasDeepWildcard()?this._matchWithDeepWildcard(n):this._matchSimple(n))}_matchSimple(t){if(this.path.length!==t.length)return!1;for(let n=0;n=0&&n>=0;){const o=t[r];if(o.type==="deep-wildcard"){if(r--,r<0)return!0;const s=t[r];let a=!1;for(let i=n;i>=0;i--)if(this._matchSegment(s,this.path[i],i===this.path.length-1)){n=i-1,r--,a=!0;break}if(!a)return!1}else{if(!this._matchSegment(o,this.path[n],n===this.path.length-1))return!1;n--,r--}}return r<0}_matchSegment(t,n,r){if(t.tag!=="*"&&t.tag!==n.tag||t.namespace!==void 0&&t.namespace!=="*"&&t.namespace!==n.namespace||t.attrName!==void 0&&(!r||!n.values||!(t.attrName in n.values)||t.attrValue!==void 0&&String(n.values[t.attrName])!==String(t.attrValue)))return!1;if(t.position!==void 0){if(!r)return!1;const o=n.counter??0;if(t.position==="first"&&o!==0||t.position==="odd"&&o%2!=1||t.position==="even"&&o%2!=0||t.position==="nth"&&o!==t.positionValue)return!1}return!0}matchesAny(t){return t.matchesAny(this)}snapshot(){return{path:this.path.map((t=>({...t}))),siblingStacks:this.siblingStacks.map((t=>new Map(t)))}}restore(t){this._pathStringCache=null,this.path=t.path.map((n=>({...n}))),this.siblingStacks=t.siblingStacks.map((n=>new Map(n)))}readOnly(){return this._view}}class Uo{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0;this.pattern=t,this.separator=n.separator||".",this.segments=this._parse(t),this.data=r,this._hasDeepWildcard=this.segments.some((o=>o.type==="deep-wildcard")),this._hasAttributeCondition=this.segments.some((o=>o.attrName!==void 0)),this._hasPositionSelector=this.segments.some((o=>o.position!==void 0))}_parse(t){const n=[];let r=0,o="";for(;r",lt:"<",quot:'"'},vS={nbsp:" ",copy:"©",reg:"®",trade:"™",mdash:"—",ndash:"–",hellip:"…",laquo:"«",raquo:"»",lsquo:"‘",rsquo:"’",ldquo:"“",rdquo:"”",bull:"•",para:"¶",sect:"§",deg:"°",frac12:"½",frac14:"¼",frac34:"¾"},yS=new Set("!?\\\\/[]$%{}^&*()<>|+");function Gh(e){if(e[0]==="#")throw new Error(`[EntityReplacer] Invalid character '#' in entity name: "${e}"`);for(const t of e)if(yS.has(t))throw new Error(`[EntityReplacer] Invalid character '${t}' in entity name: "${e}"`);return e}function Ju(){const e=Object.create(null);for(var t=arguments.length,n=new Array(t),r=0;r0&&arguments[0]!==void 0?arguments[0]:{};var n;this._limit=t.limit||{},this._maxTotalExpansions=this._limit.maxTotalExpansions||0,this._maxExpandedLength=this._limit.maxExpandedLength||0,this._postCheck=typeof t.postCheck=="function"?t.postCheck:o=>o,this._limitTiers=(n=this._limit.applyLimitsTo??Gr)&&n!==Gr?n===Qu?new Set([Qu]):n===Ba?new Set([Ba]):Array.isArray(n)?new Set(n):new Set([Gr]):new Set([Gr]),this._numericAllowed=t.numericAllowed??!0,this._baseMap=Ju(Im,t.namedEntities||null),this._externalMap=Object.create(null),this._inputMap=Object.create(null),this._totalExpansions=0,this._expandedLength=0,this._removeSet=new Set(t.remove&&Array.isArray(t.remove)?t.remove:[]),this._leaveSet=new Set(t.leave&&Array.isArray(t.leave)?t.leave:[]);const r=(function(o){if(!o)return{xmlVersion:1,onLevel:en.allow,nullLevel:en.remove};const s=o.xmlVersion===1.1?1.1:1,a=en[o.onNCR]??en.allow,i=en[o.nullNCR]??en.remove;return{xmlVersion:s,onLevel:a,nullLevel:Math.max(i,en.remove)}})(t.ncr);this._ncrXmlVersion=r.xmlVersion,this._ncrOnLevel=r.onLevel,this._ncrNullLevel=r.nullLevel}setExternalEntities(t){if(t)for(const n of Object.keys(t))Gh(n);this._externalMap=Ju(t)}addExternalEntity(t,n){Gh(t),typeof n=="string"&&n.indexOf("&")===-1&&(this._externalMap[t]=n)}addInputEntities(t){this._totalExpansions=0,this._expandedLength=0,this._inputMap=Ju(t)}reset(){return this._inputMap=Object.create(null),this._totalExpansions=0,this._expandedLength=0,this}setXmlVersion(t){this._ncrXmlVersion=t===1.1?1.1:1}decode(t){if(typeof t!="string"||t.length===0)return t;const n=t,r=[],o=t.length;let s=0,a=0;const i=this._maxTotalExpansions>0,u=this._maxExpandedLength>0,c=i||u;for(;a=o||t.charCodeAt(d)!==59){a++;continue}const p=t.slice(a+1,d);if(p.length===0){a++;continue}let h,g;if(this._removeSet.has(p))h="",g===void 0&&(g=Gr);else{if(this._leaveSet.has(p)){a++;continue}if(p.charCodeAt(0)===35){const f=this._resolveNCR(p);if(f===void 0){a++;continue}h=f,g=Ba}else{const f=this._resolveName(p);h=f?.value,g=f?.tier}}if(h!==void 0){if(a>s&&r.push(t.slice(s,a)),r.push(h),s=d+1,a=s,c&&this._tierCounts(g)){if(i&&(this._totalExpansions++,this._totalExpansions>this._maxTotalExpansions))throw new Error(`[EntityReplacer] Entity expansion count limit exceeded: ${this._totalExpansions} > ${this._maxTotalExpansions}`);if(u){const f=h.length-(p.length+2);if(f>0&&(this._expandedLength+=f,this._expandedLength>this._maxExpandedLength))throw new Error(`[EntityReplacer] Expanded content length limit exceeded: ${this._expandedLength} > ${this._maxExpandedLength}`)}}}else a++}s=55296&&t<=57343||this._ncrXmlVersion===1&&t>=1&&t<=31&&!bS.has(t)?en.remove:-1}_applyNCRAction(t,n,r){switch(t){case en.allow:return String.fromCodePoint(r);case en.remove:return"";case en.leave:return;case en.throw:throw new Error(`[EntityDecoder] Prohibited numeric character reference &${n}; (U+${r.toString(16).toUpperCase().padStart(4,"0")})`);default:return String.fromCodePoint(r)}}_resolveNCR(t){const n=t.charCodeAt(1);let r;if(r=n===120||n===88?parseInt(t.slice(2),16):parseInt(t.slice(1),10),Number.isNaN(r)||r<0||r>1114111)return;const o=this._classifyNCR(r);if(!this._numericAllowed&&o0){const n=e.substring(0,t);if(n!=="xmlns")return n}}class CS{constructor(t,n){var r;this.options=t,this.currentNode=null,this.tagsNodeStack=[],this.parseXml=kS,this.parseTextData=_S,this.resolveNameSpace=xS,this.buildAttributesMap=SS,this.isItStopNode=OS,this.replaceEntitiesValue=NS,this.readStopNodeData=BS,this.saveTextToParentTag=DS,this.addChild=TS,this.ignoreAttributesFn=typeof(r=this.options.ignoreAttributes)=="function"?r:Array.isArray(r)?a=>{for(const i of r)if(typeof i=="string"&&a===i||i instanceof RegExp&&i.test(a))return!0}:()=>!1,this.entityExpansionCount=0,this.currentExpandedLength=0;let o={...Im};this.options.entityDecoder?this.entityDecoder=this.options.entityDecoder:(typeof this.options.htmlEntities=="object"?o=this.options.htmlEntities:this.options.htmlEntities===!0&&(o={...vS,...mS}),this.entityDecoder=new Mm({namedEntities:{...o,...n},numericAllowed:this.options.htmlEntities,limit:{maxTotalExpansions:this.options.processEntities.maxTotalExpansions,maxExpandedLength:this.options.processEntities.maxExpandedLength,applyLimitsTo:this.options.processEntities.appliesTo}})),this.matcher=new Uc,this.readonlyMatcher=this.matcher.readOnly(),this.isCurrentNodeStopNode=!1,this.stopNodeExpressionsSet=new gS;const s=this.options.stopNodes;if(s&&s.length>0){for(let a=0;a0)){a||(e=this.replaceEntitiesValue(e,t,n));const u=i.jPath?n.toString():n,c=i.tagValueProcessor(t,e,u,o,s);return c==null?e:typeof c!=typeof e||c!==e?c:i.trimValues||e.trim()===e?zm(e,i.parseTagValue,i.numberParseOptions):e}}function xS(e){if(this.options.removeNSPrefix){const t=e.split(":"),n=e.charAt(0)==="/"?"/":"";if(t[0]==="xmlns")return"";t.length===2&&(e=n+t[1])}return e}const AS=new RegExp(`([^\\s=]+)\\s*(=\\s*(['"])([\\s\\S]*?)\\3)?`,"gm");function SS(e,t,n){let r=arguments.length>3&&arguments[3]!==void 0&&arguments[3];const o=this.options;if(r===!0||o.ignoreAttributes!==!0&&typeof e=="string"){const s=$m(e,AS),a=s.length,i={},u=new Array(a);let c=!1;const l={};for(let h=0;h",i,"Closing Tag is not closed.");let l=e.substring(i+2,c).trim();if(o.removeNSPrefix){const p=l.indexOf(":");p!==-1&&(l=l.substr(p+1))}l=el(o.transformTagName,l,"",o).tagName,n&&(r=this.saveTextToParentTag(r,n,this.readonlyMatcher));const d=this.matcher.getCurrentTag();if(l&&o.unpairedTagsSet.has(l))throw new Error(`Unpaired tag can not be used as closing tag: `);d&&o.unpairedTagsSet.has(d)&&(this.matcher.pop(),this.tagsNodeStack.pop()),this.matcher.pop(),this.isCurrentNodeStopNode=!1,n=this.tagsNodeStack.pop(),r="",i=c}else if(u===63){let c=ec(e,i,!1,"?>");if(!c)throw new Error("Pi Tag is not closed.");r=this.saveTextToParentTag(r,n,this.readonlyMatcher);const l=this.buildAttributesMap(c.tagExp,this.matcher,c.tagName,!0);if(l){const d=l[this.options.attributeNamePrefix+"version"];this.entityDecoder.setXmlVersion(Number(d)||1)}if(!(o.ignoreDeclaration&&c.tagName==="?xml"||o.ignorePiTags)){const d=new wr(c.tagName);d.add(o.textNodeName,""),c.tagName!==c.tagExp&&c.attrExpPresent&&o.ignoreAttributes!==!0&&(d[":@"]=l),this.addChild(n,d,this.readonlyMatcher,i)}i=c.closeIndex+1}else if(u===33&&e.charCodeAt(i+2)===45&&e.charCodeAt(i+3)===45){const c=Fo(e,"-->",i+4,"Comment is not closed.");if(o.commentPropName){const l=e.substring(i+4,c-2);r=this.saveTextToParentTag(r,n,this.readonlyMatcher),n.add(o.commentPropName,[{[o.textNodeName]:l}])}i=c}else if(u===33&&e.charCodeAt(i+2)===68){const c=s.readDocType(e,i);this.entityDecoder.addInputEntities(c.entities),i=c.i}else if(u===33&&e.charCodeAt(i+2)===91){const c=Fo(e,"]]>",i,"CDATA is not closed.")-2,l=e.substring(i+9,c);r=this.saveTextToParentTag(r,n,this.readonlyMatcher);let d=this.parseTextData(l,n.tagname,this.readonlyMatcher,!0,!1,!0,!0);d==null&&(d=""),o.cdataPropName?n.add(o.cdataPropName,[{[o.textNodeName]:l}]):n.add(o.textNodeName,d),i=c+2}else{let c=ec(e,i,o.removeNSPrefix);if(!c){const C=e.substring(Math.max(0,i-50),Math.min(a,i+50));throw new Error(`readTagExp returned undefined at position ${i}. Context: "${C}"`)}let l=c.tagName;const d=c.rawTagName;let p=c.tagExp,h=c.attrExpPresent,g=c.closeIndex;if({tagName:l,tagExp:p}=el(o.transformTagName,l,p,o),o.strictReservedNames&&(l===o.commentPropName||l===o.cdataPropName||l===o.textNodeName||l===o.attributesGroupName))throw new Error(`Invalid tag name: ${l}`);n&&r&&n.tagname!=="!xml"&&(r=this.saveTextToParentTag(r,n,this.readonlyMatcher,!1));const f=n;f&&o.unpairedTagsSet.has(f.tagname)&&(n=this.tagsNodeStack.pop(),this.matcher.pop());let m=!1;p.length>0&&p.lastIndexOf("/")===p.length-1&&(m=!0,l[l.length-1]==="/"?(l=l.substr(0,l.length-1),p=l):p=p.substr(0,p.length-1),h=l!==p);let v,y=null;v=wS(d),l!==t.tagname&&this.matcher.push(l,{},v),l!==p&&h&&(y=this.buildAttributesMap(p,this.matcher,l),y&&ES(y,o)),l!==t.tagname&&(this.isCurrentNodeStopNode=this.isItStopNode());const w=i;if(this.isCurrentNodeStopNode){let C="";if(m)i=c.closeIndex;else if(o.unpairedTagsSet.has(l))i=c.closeIndex;else{const D=this.readStopNodeData(e,d,g+1);if(!D)throw new Error(`Unexpected end of ${d}`);i=D.i,C=D.tagContent}const x=new wr(l);y&&(x[":@"]=y),x.add(o.textNodeName,C),this.matcher.pop(),this.isCurrentNodeStopNode=!1,this.addChild(n,x,this.readonlyMatcher,w)}else{if(m){({tagName:l,tagExp:p}=el(o.transformTagName,l,p,o));const C=new wr(l);y&&(C[":@"]=y),this.addChild(n,C,this.readonlyMatcher,w),this.matcher.pop(),this.isCurrentNodeStopNode=!1}else{if(o.unpairedTagsSet.has(l)){const C=new wr(l);y&&(C[":@"]=y),this.addChild(n,C,this.readonlyMatcher,w),this.matcher.pop(),this.isCurrentNodeStopNode=!1,i=c.closeIndex;continue}{const C=new wr(l);if(this.tagsNodeStack.length>o.maxNestedTags)throw new Error("Maximum nested tags exceeded");this.tagsNodeStack.push(n),y&&(C[":@"]=y),this.addChild(n,C,this.readonlyMatcher,w),n=C}}r="",i=g}}}else r+=e[i];return t.child};function TS(e,t,n,r){this.options.captureMetaData||(r=void 0);const o=this.options.jPath?n.toString():n,s=this.options.updateTag(t.tagname,o,t[":@"]);s===!1||(typeof s=="string"&&(t.tagname=s),e.addChild(t,r))}function NS(e,t,n){const r=this.options.processEntities;if(!r||!r.enabled)return e;if(r.allowedTags){const o=this.options.jPath?n.toString():n;if(!(Array.isArray(r.allowedTags)?r.allowedTags.includes(t):r.allowedTags(t,o)))return e}if(r.tagFilter){const o=this.options.jPath?n.toString():n;if(!r.tagFilter(t,o))return e}return this.entityDecoder.decode(e)}function DS(e,t,n,r){return e&&(r===void 0&&(r=t.child.length===0),(e=this.parseTextData(e,t.tagname,n,!1,!!t[":@"]&&Object.keys(t[":@"]).length!==0,r))!==void 0&&e!==""&&t.add(this.options.textNodeName,e),e=""),e}function OS(){return this.stopNodeExpressionsSet.size!==0&&this.matcher.matchesAny(this.stopNodeExpressionsSet)}function Fo(e,t,n,r){const o=e.indexOf(t,n);if(o===-1)throw new Error(r);return o+t.length-1}function PS(e,t,n,r){const o=e.indexOf(t,n);if(o===-1)throw new Error(r);return o}function ec(e,t,n){const r=(function(l,d){let p=arguments.length>2&&arguments[2]!==void 0?arguments[2]:">",h=0;const g=l.length,f=p.charCodeAt(0),m=p.length>1?p.charCodeAt(1):-1;let v="",y=d;for(let w=d;w3&&arguments[3]!==void 0?arguments[3]:">");if(!r)return;let o=r.data;const s=r.index,a=o.search(/\s/);let i=o,u=!0;a!==-1&&(i=o.substring(0,a),o=o.substring(a+1).trimStart());const c=i;if(n){const l=i.indexOf(":");l!==-1&&(i=i.substr(l+1),u=i!==r.data.substr(l+1))}return{tagName:i,tagExp:o,closeIndex:s,attrExpPresent:u,rawTagName:c}}function BS(e,t,n){const r=n;let o=1;const s=e.length;for(;n",n,`${t} is not closed`);if(e.substring(n+2,i).trim()===t&&(o--,o===0))return{tagContent:e.substring(r,n),i};n=i}else if(a===63)n=Fo(e,"?>",n+1,"StopNode is not closed.");else if(a===33&&e.charCodeAt(n+2)===45&&e.charCodeAt(n+3)===45)n=Fo(e,"-->",n+3,"StopNode is not closed.");else if(a===33&&e.charCodeAt(n+2)===91)n=Fo(e,"]]>",n,"StopNode is not closed.")-2;else{const i=ec(e,n,">");i&&((i&&i.tagName)===t&&i.tagExp[i.tagExp.length-1]!=="/"&&o++,n=i.closeIndex)}}}function zm(e,t,n){if(t&&typeof e=="string"){const r=e.trim();return r==="true"||r!=="false"&&(function(o){let s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(s=Object.assign({},pS,s),!o||typeof o!="string")return o;let a=o.trim();if(a.length===0||s.skipLike!==void 0&&s.skipLike.test(a))return o;if(a==="0")return 0;if(s.hex&&cS.test(a))return(function(u){if(parseInt)return parseInt(u,16);if(Number.parseInt)return Number.parseInt(u,16);if(window&&window.parseInt)return window.parseInt(u,16);throw new Error("parseInt, Number.parseInt, window.parseInt are not supported")})(a);if(isFinite(a)){if(a.includes("e")||a.includes("E"))return(function(u,c,l){if(!l.eNotation)return u;const d=c.match(hS);if(d){let p=d[1]||"";const h=d[3].indexOf("e")===-1?"E":"e",g=d[2],f=p?u[g.length+1]===h:u[g.length]===h;return g.length>1&&f?u:(g.length!==1||!d[3].startsWith(`.${h}`)&&d[3][0]!==h)&&g.length>0?l.leadingZeros&&!f?(c=(d[1]||"")+d[3],Number(c)):u:Number(c)}return u})(o,a,s);{const u=dS.exec(a);if(u){const c=u[1]||"",l=u[2];let d=((i=u[3])&&i.indexOf(".")!==-1&&((i=i.replace(/0+$/,""))==="."?i="0":i[0]==="."?i="0"+i:i[i.length-1]==="."&&(i=i.substring(0,i.length-1))),i);const p=c?o[l.length+1]===".":o[l.length]===".";if(!s.leadingZeros&&(l.length>1||l.length===1&&!p))return o;{const h=Number(a),g=String(h);if(h===0)return h;if(g.search(/[eE]/)!==-1)return s.eNotation?h:o;if(a.indexOf(".")!==-1)return g==="0"||g===d||g===`${c}${d}`?h:o;let f=l?d:a;return l?f===g||c+f===g?h:o:f===g||f===c+g?h:o}}return o}}var i;return(function(u,c,l){const d=c===1/0;switch(l.infinity.toLowerCase()){case"null":return null;case"infinity":return c;case"string":return d?"Infinity":"-Infinity";default:return u}})(o,Number(a),s)})(e,n)}return e!==void 0?e:""}function el(e,t,n,r){if(e){const o=e(t);n===t&&(n=o),t=o}return{tagName:t=jm(t,r),tagExp:n}}function jm(e,t){if(Rm.includes(e))throw new Error(`[SECURITY] Invalid name: "${e}" is a reserved JavaScript keyword that could cause prototype pollution`);return jc.includes(e)?t.onDangerousProperty(e):e}const tl=wr.getMetaDataSymbol();function $S(e,t){if(!e||typeof e!="object")return{};if(!t)return e;const n={};for(const r in e)r.startsWith(t)?n[r.substring(t.length)]=e[r]:n[r]=e[r];return n}function RS(e,t,n,r){return Um(e,t,n,r)}function Um(e,t,n,r){let o;const s={};for(let a=0;a0&&(s[t.textNodeName]=o):o!==void 0&&(s[t.textNodeName]=o),s}function FS(e){const t=Object.keys(e);for(let n=0;n5&&r==="xml")return at("InvalidXml","XML declaration allowed only at the start of the document.",jt(e,t));if(e[t]=="?"&&e[t+1]==">"){t++;break}}return t}function Kh(e,t){if(e.length>t+5&&e[t+1]==="-"&&e[t+2]==="-"){for(t+=3;t"){t+=2;break}}else if(e.length>t+8&&e[t+1]==="D"&&e[t+2]==="O"&&e[t+3]==="C"&&e[t+4]==="T"&&e[t+5]==="Y"&&e[t+6]==="P"&&e[t+7]==="E"){let n=1;for(t+=8;t"&&(n--,n===0))break}else if(e.length>t+9&&e[t+1]==="["&&e[t+2]==="C"&&e[t+3]==="D"&&e[t+4]==="A"&&e[t+5]==="T"&&e[t+6]==="A"&&e[t+7]==="["){for(t+=8;t"){t+=2;break}}return t}function zS(e,t){let n="",r="",o=!1;for(;t"&&r===""){o=!0;break}n+=e[t]}return r===""&&{value:n,index:t,tagClosed:o}}const jS=new RegExp(`(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['"])(([\\s\\S])*?)\\5)?`,"g");function Zh(e,t){const n=$m(e,jS),r={};for(let o=0;o"&&a[d]!==" "&&a[d]!==" "&&a[d]!==` -`&&a[d]!=="\r";d++)g+=a[d];if(g=g.trim(),g[g.length-1]==="/"&&(g=g.substring(0,g.length-1),d--),!eu(g)){let v;return v=g.trim().length===0?"Invalid space after '<'.":"Tag '"+g+"' is an invalid name.",at("InvalidTag",v,jt(a,d))}const f=zS(a,d);if(f===!1)return at("InvalidAttr","Attributes for '"+g+"' have open quote.",jt(a,d));let m=f.value;if(d=f.index,m[m.length-1]==="/"){const v=d-m.length;m=m.substring(0,m.length-1);const y=Zh(m,i);if(y!==!0)return at(y.err.code,y.err.msg,jt(a,v+y.err.line));c=!0}else if(h){if(!f.tagClosed)return at("InvalidTag","Closing tag '"+g+"' doesn't have proper closing.",jt(a,d));if(m.trim().length>0)return at("InvalidTag","Closing tag '"+g+"' can't have attributes or invalid starting.",jt(a,p));if(u.length===0)return at("InvalidTag","Closing tag '"+g+"' has not been opened.",jt(a,p));{const v=u.pop();if(g!==v.tagName){let y=jt(a,v.tagStartPos);return at("InvalidTag","Expected closing tag '"+v.tagName+"' (opened in line "+y.line+", col "+y.col+") instead of closing tag '"+g+"'.",jt(a,p))}u.length==0&&(l=!0)}}else{const v=Zh(m,i);if(v!==!0)return at(v.err.code,v.err.msg,jt(a,d-m.length+v.err.line));if(l===!0)return at("InvalidXml","Multiple possible root nodes found.",jt(a,d));i.unpairedTags.indexOf(g)!==-1||u.push({tagName:g,tagStartPos:p}),c=!0}for(d++;d0)||at("InvalidXml","Invalid '"+JSON.stringify(u.map((d=>d.tagName)),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1}):at("InvalidXml","Start tag expected.",1)})(t,n);if(s!==!0)throw Error(`${s.err.msg}:${s.err.line}:${s.err.col}`)}const r=new CS(this.options,this.externalEntities),o=r.parseXml(t);return this.options.preserveOrder||o===void 0?o:RS(o,this.options,r.matcher,r.readonlyMatcher)}addEntity(t,n){if(n.indexOf("&")!==-1)throw new Error("Entity value can't have '&'");if(t.indexOf("&")!==-1||t.indexOf(";")!==-1)throw new Error("An entity must be set without '&' and ';'. Eg. use '#xD' for ' '");if(n==="&")throw new Error("An entity with value '&' is not permitted");this.externalEntities[t]=n}static getMetaDataSymbol(){return wr.getMetaDataSymbol()}}var VS=Ze(829),Kn=Ze.n(VS),So=(function(e){return e.Array="array",e.Object="object",e.Original="original",e})(So||{});function Xh(e){return typeof e=="string"?e:e.toString(".",!1)}function Vm(e,t){if(!e.endsWith("propstat.prop.displayname"))return t}function $a(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:So.Original;const r=Kn().get(e,t);return n==="array"&&Array.isArray(r)===!1?[r]:n==="object"&&Array.isArray(r)?r[0]:r}function tu(e,t){return t=t??{attributeNamePrefix:"@",attributeParsers:[],tagParsers:[Vm]},new Promise((n=>{n((function(r){const{multistatus:o}=r;if(o==="")return{multistatus:{response:[]}};if(!o)throw new Error("Invalid response: No root multistatus found");const s={multistatus:Array.isArray(o)?o[0]:o};return Kn().set(s,"multistatus.response",$a(s,"multistatus.response",So.Array)),Kn().set(s,"multistatus.response",Kn().get(s,"multistatus.response").map((a=>(function(i){const u=Object.assign({},i);return u.status?Kn().set(u,"status",$a(u,"status",So.Object)):(Kn().set(u,"propstat",$a(u,"propstat",So.Object)),Kn().set(u,"propstat.prop",$a(u,"propstat.prop",So.Object))),u})(a)))),s})((function(r){let{attributeNamePrefix:o,attributeParsers:s,entityDecoder:a,tagParsers:i}=r;const u={allowBooleanAttributes:!0,attributeNamePrefix:o,textNodeName:"text",ignoreAttributes:!1,removeNSPrefix:!0,jPath:!1,numberParseOptions:{hex:!0,leadingZeros:!1},attributeValueProcessor(c,l,d){const p=Xh(d);for(const h of s)try{const g=h(p,l);if(g!==l)return g}catch{}return l},tagValueProcessor(c,l,d){const p=Xh(d);for(const h of i)try{const g=h(p,l);if(g!==l)return g}catch{}return l}};return a&&(u.entityDecoder=new Mm({limit:{maxTotalExpansions:a.limit?.maxTotalExpansions??0,maxExpandedLength:a.limit?.maxExpandedLength??0}})),new Hm(u)})(t).parse(e)))}))}function Hc(e,t){let n=arguments.length>2&&arguments[2]!==void 0&&arguments[2];const{getlastmodified:r=null,getcontentlength:o="0",resourcetype:s=null,getcontenttype:a=null,getetag:i=null}=e,u=s&&typeof s=="object"&&s.collection!==void 0?"directory":"file",c={filename:t,basename:bi().basename(t),lastmod:r,size:parseInt(o,10),type:u,etag:typeof i=="string"?i.replace(/"/g,""):null};return u==="file"&&(c.mime=a&&typeof a=="string"?a.split(";")[0]:""),n&&(e.displayname!==void 0&&(e.displayname=String(e.displayname)),c.props=e),c}function GS(e,t){let n=arguments.length>2&&arguments[2]!==void 0&&arguments[2],r=null;try{e.multistatus.response[0].propstat&&(r=e.multistatus.response[0])}catch{}if(!r)throw new Error("Failed getting item stat: bad response");const{propstat:{prop:o,status:s}}=r,[a,i,u]=s.split(" ",3),c=parseInt(i,10);if(c>=400){const l=new Error(`Invalid response: ${c} ${u}`);throw l.status=c,l}return Hc(o,ta(t),n)}function WS(e){switch(String(e)){case"-3":return"unlimited";case"-2":case"-1":return"unknown";default:return parseInt(String(e),10)}}function nl(e,t,n){return n?t?t(e):e:(e&&e.then||(e=Promise.resolve(e)),t?e.then(t):e)}const Vc=(function(e){return function(){for(var t=[],n=0;n2&&arguments[2]!==void 0?arguments[2]:{};const{details:r=!1}=n,o=gt({url:rt(e.remoteURL,nt(t)),method:"PROPFIND",headers:{Accept:"text/plain,application/xml",Depth:"0"}},e,n);return nl(ft(o,e),(function(s){return mt(e,s),nl(s.text(),(function(a){return nl(tu(a,e.parsing),(function(i){const u=GS(i,t,r);return qo(s,u,r)}))}))}))}));function Gm(e,t,n){return n?t?t(e):e:(e&&e.then||(e=Promise.resolve(e)),t?e.then(t):e)}const qS=Wm((function(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const r=(function(s){if(!s||s==="/")return[];let a=s;const i=[];do i.push(a),a=bi().dirname(a);while(a&&a!=="/");return i})(ta(t));r.sort(((s,a)=>s.length>a.length?1:a.length>s.length?-1:0));let o=!1;return(function(s,a,i){if(typeof s[Jh]=="function"){let f=function(m){try{for(;!(u=d.next()).done;)if((m=a(u.value))&&m.then){if(!Qh(m))return void m.then(f,l||(l=Vt.bind(null,c=new ko,2)));m=m.v}c?Vt(c,1,m):c=m}catch(v){Vt(c||(c=new ko),2,v)}};var u,c,l,d=s[Jh]();if(f(),d.return){var p=function(m){try{u.done||d.return()}catch{}return m};if(c&&c.then)return c.then(p,(function(m){throw p(m)}));p()}return c}if(!("length"in s))throw new TypeError("Object is not iterable");for(var h=[],g=0;g2&&arguments[2]!==void 0?arguments[2]:{};if(n.recursive===!0)return qS(e,t,n);const r=gt({url:rt(e.remoteURL,(o=nt(t),o.endsWith("/")?o:o+"/")),method:"MKCOL"},e,n);var o;return Gm(ft(r,e),(function(s){mt(e,s)}))}));var ZS=Ze(388),e0=Ze.n(ZS);const XS=(function(e){return function(){for(var t=[],n=0;n2&&arguments[2]!==void 0?arguments[2]:{};const r={};if(typeof n.range=="object"&&typeof n.range.start=="number"){let i=`bytes=${n.range.start}-`;typeof n.range.end=="number"&&(i=`${i}${n.range.end}`),r.Range=i}const o=gt({url:rt(e.remoteURL,nt(t)),method:"GET",headers:r},e,n);return a=function(i){if(mt(e,i),r.Range&&i.status!==206){const u=new Error(`Invalid response code for partial request: ${i.status}`);throw u.status=i.status,u}return n.callback&&setTimeout((()=>{n.callback(i)}),0),i.body},(s=ft(o,e))&&s.then||(s=Promise.resolve(s)),a?s.then(a):s;var s,a})),YS=()=>{},JS=(function(e){return function(){for(var t=[],n=0;n2&&arguments[2]!==void 0?arguments[2]:{};const r=gt({url:rt(e.remoteURL,nt(t)),method:"DELETE"},e,n);return s=function(a){mt(e,a)},(o=ft(r,e))&&o.then||(o=Promise.resolve(o)),s?o.then(s):o;var o,s})),e6=(function(e){return function(){for(var t=[],n=0;n2&&arguments[2]!==void 0?arguments[2]:{};return(function(r,o){try{var s=(a=Vc(e,t,n),i=function(){return!0},u?i?i(a):a:(a&&a.then||(a=Promise.resolve(a)),i?a.then(i):a))}catch(c){return o(c)}var a,i,u;return s&&s.then?s.then(void 0,o):s})(0,(function(r){if(r.status===404)return!1;throw r}))}));function rl(e,t,n){return n?t?t(e):e:(e&&e.then||(e=Promise.resolve(e)),t?e.then(t):e)}const t6=(function(e){return function(){for(var t=[],n=0;n2&&arguments[2]!==void 0?arguments[2]:{};const r=gt({url:rt(e.remoteURL,nt(t),"/"),method:"PROPFIND",headers:{Accept:"text/plain,application/xml",Depth:n.deep?"infinity":"1"}},e,n);return rl(ft(r,e),(function(o){return mt(e,o),rl(o.text(),(function(s){if(!s)throw new Error("Failed parsing directory contents: Empty response");return rl(tu(s,e.parsing),(function(a){const i=Dh(t);let u=(function(c,l,d){let p=arguments.length>3&&arguments[3]!==void 0&&arguments[3],h=arguments.length>4&&arguments[4]!==void 0&&arguments[4];const g=bi().join(l,"/"),{multistatus:{response:f}}=c,m=f.map((v=>{const y=(function(C){try{return C.replace(/^https?:\/\/[^\/]+/,"")}catch(x){throw new Gt(x,"Failed normalising HREF")}})(v.href),{propstat:{prop:w}}=v;return Hc(w,g==="/"?decodeURIComponent(ta(y)):ta(bi().relative(decodeURIComponent(g),decodeURIComponent(y))),p)}));return h?m:m.filter((v=>v.basename&&(v.type==="file"||v.filename!==d.replace(/\/$/,""))))})(a,Dh(e.remoteBasePath||e.remotePath),i,n.details,n.includeSelf);return n.glob&&(u=(function(c,l){return c.filter((d=>Ft(d.filename,l,{matchBase:!0})))})(u,n.glob)),qo(o,u,n.details)}))}))}))}));function Gc(e){return function(){for(var t=[],n=0;n2&&arguments[2]!==void 0?arguments[2]:{};const r=gt({url:rt(e.remoteURL,nt(t)),method:"GET",headers:{Accept:"text/plain"},transformResponse:[s6]},e,n);return xi(ft(r,e),(function(o){return mt(e,o),xi(o.text(),(function(s){return qo(o,s,n.details)}))}))}));function xi(e,t,n){return n?t?t(e):e:(e&&e.then||(e=Promise.resolve(e)),t?e.then(t):e)}const r6=Gc((function(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const r=gt({url:rt(e.remoteURL,nt(t)),method:"GET"},e,n);return xi(ft(r,e),(function(o){let s;return mt(e,o),(function(a,i){var u=a();return u&&u.then?u.then(i):i()})((function(){return xi(o.arrayBuffer(),(function(a){s=a}))}),(function(){return qo(o,s,n.details)}))}))})),o6=Gc((function(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const{format:r="binary"}=n;if(r!=="binary"&&r!=="text")throw new Gt({info:{code:Br.InvalidOutputFormat}},`Invalid output format: ${r}`);return r==="text"?n6(e,t,n):r6(e,t,n)})),s6=e=>e;function a6(e,t){let n="";t.format&&t.indentBy.length>0&&(n=` -`);const r=[];if(t.stopNodes&&Array.isArray(t.stopNodes))for(let o=0;ot.maxNestedTags)throw new Error("Maximum nested tags exceeded");if(!Array.isArray(e)){if(e!=null){let i=e.toString();return i=nc(i,t),i}return""}for(let i=0;i/g,"]]]]>")}]]>`,a=!1,r.pop();continue}if(c===t.commentPropName){const f=u[c][0][t.textNodeName];s+=n+``,a=!0,r.pop();continue}if(c[0]==="?"){const f=t0(u[":@"],t,d),m=c==="?xml"?"":n;let v=u[c][0][t.textNodeName];v=v.length!==0?" "+v:"",s+=m+`<${c}${v}${f}?>`,a=!0,r.pop();continue}let p=n;p!==""&&(p+=t.indentBy);const h=n+`<${c}${t0(u[":@"],t,d)}`;let g;g=d?Km(u[c],t):qm(u[c],t,p,r,o),t.unpairedTags.indexOf(c)!==-1?t.suppressUnpairedNode?s+=h+">":s+=h+"/>":g&&g.length!==0||!t.suppressEmptyNode?g&&g.endsWith(">")?s+=h+`>${g}${n}`:(s+=h+">",g&&n!==""&&(g.includes("/>")||g.includes("`):s+=h+"/>",a=!0,r.pop()}return s}function i6(e,t){if(!e||t.ignoreAttributes)return null;const n={};let r=!1;for(let o in e)Object.prototype.hasOwnProperty.call(e,o)&&(n[o.startsWith(t.attributeNamePrefix)?o.substr(t.attributeNamePrefix.length):o]=e[o],r=!0);return r?n:null}function Km(e,t){if(!Array.isArray(e))return e!=null?e.toString():"";let n="";for(let r=0;r${i}`:n+=`<${s}${a}/>`}}}return n}function u6(e,t){let n="";if(e&&!t.ignoreAttributes)for(let r in e){if(!Object.prototype.hasOwnProperty.call(e,r))continue;let o=e[r];o===!0&&t.suppressBooleanAttributes?n+=` ${r.substr(t.attributeNamePrefix.length)}`:n+=` ${r.substr(t.attributeNamePrefix.length)}="${o}"`}return n}function Zm(e){const t=Object.keys(e);for(let n=0;n0&&t.processEntities)for(let n=0;n","g"),val:">"},{regex:new RegExp("<","g"),val:"<"},{regex:new RegExp("'","g"),val:"'"},{regex:new RegExp('"',"g"),val:"""}],processEntities:!0,stopNodes:[],oneListGroup:!1,maxNestedTags:100,jPath:!0};function an(e){if(this.options=Object.assign({},c6,e),this.options.stopNodes&&Array.isArray(this.options.stopNodes)&&(this.options.stopNodes=this.options.stopNodes.map((n=>typeof n=="string"&&n.startsWith("*.")?".."+n.substring(2):n))),this.stopNodeExpressions=[],this.options.stopNodes&&Array.isArray(this.options.stopNodes))for(let n=0;n{for(const r of t)if(typeof r=="string"&&n===r||r instanceof RegExp&&r.test(n))return!0}:()=>!1,this.attrPrefixLen=this.options.attributeNamePrefix.length,this.isAttribute=h6),this.processTextOrObjNode=d6,this.options.format?(this.indentate=p6,this.tagEndChar=`> +`,M_={class:"vue-skip-actions__container"},z_={class:"vue-skip-actions__headline"},j_={class:"vue-skip-actions__buttons"},U_=Ve({__name:"NcContent",props:{appName:{}},setup(e){const t=e;Xt(em,i),Xt(Mw,"#content-vue"),Xt("appName",re(()=>t.appName));const n=da(),r=xe(!1),o=xe(),s=re(()=>o.value==="navigation"?I_:L_);Cf(()=>{const u=document.getElementById("skip-actions");u&&(u.innerHTML="",u.classList.add("vue-skip-actions"))});function a(){xr("toggle-navigation",{open:!0}),wn(()=>{window.location.hash="app-navigation-vue",document.getElementById("app-navigation-vue").focus()})}function i(u){r.value=u,o.value||(o.value="navigation")}return(u,c)=>(R(),Z("div",{id:"content-vue",class:Be(["content",[`app-${u.appName.toLowerCase()}`,{"content--legacy":M(uo)}]])},[(R(),ge(ff,{to:"#skip-actions"},[ae("div",M_,[ae("div",z_,Ce(M(Le)("Keyboard navigation help")),1),ae("div",j_,[Ln(le(Ye,{href:"#app-navigation-vue",variant:"tertiary",onClick:yn(a,["prevent"]),onFocusin:c[0]||(c[0]=l=>o.value="navigation"),onMouseover:c[1]||(c[1]=l=>o.value="navigation")},{default:de(()=>[ht(Ce(M(Le)("Skip to app navigation")),1)]),_:1},512),[[Qn,r.value]]),le(Ye,{href:"#app-content-vue",variant:"tertiary",onFocusin:c[2]||(c[2]=l=>o.value="content"),onMouseover:c[3]||(c[3]=l=>o.value="content")},{default:de(()=>[ht(Ce(M(Le)("Skip to main content")),1)]),_:1})]),Ln(le(Ue,{class:"vue-skip-actions__image",svg:s.value,size:"auto"},null,8,["svg"]),[[Qn,!M(n)]])])])),be(u.$slots,"default",{},void 0,!0)],2))}}),H_=He(U_,[["__scopeId","data-v-91d07631"]]);hn(yE);const V_={long:Le("a few seconds ago"),short:Le("seconds ago"),narrow:Le("sec. ago")};function G_(e=Date.now(),t={}){let n;const r=re(()=>new Date(Rt(e))),o=re(()=>{const{language:i,relativeTime:u,ignoreSeconds:c}=Rt(t);return{...i&&{language:i},...u&&{relativeTime:u},ignoreSeconds:c?V_[u||"long"]:!1}}),s=xe("");ji(()=>a());function a(){if(s.value=Mb(r.value,o.value),Rt(t).update!==!1){const i=Math.abs(Date.now()-new Date(Rt(e)).getTime()),u=i>12e4||o.value.ignoreSeconds?Math.min(i/60,18e5):1e3;n=window.setTimeout(a,u)}}return ir(()=>n&&window.clearTimeout(n)),zs(s)}function W_(e,t){const n=re(()=>({locale:kc(),format:{dateStyle:"short",timeStyle:"medium"},...Rt(t)})),r=re(()=>new Intl.DateTimeFormat(n.value.locale,n.value.format));return re(()=>r.value.format(Rt(e)))}const q_=["data-timestamp","title","textContent"],Eh=Ve({__name:"NcDateTime",props:{timestamp:{},format:{default:()=>({timeStyle:"medium",dateStyle:"short"})},relativeTime:{type:[Boolean,String],default:"long"},ignoreSeconds:{type:Boolean}},setup(e){const t=e,n=re(()=>({format:t.format})),r=re(()=>({ignoreSeconds:t.ignoreSeconds,relativeTime:t.relativeTime||"long",update:t.relativeTime!==!1})),o=W_(vl(()=>t.timestamp),n),s=G_(vl(()=>t.timestamp),r),a=re(()=>t.relativeTime?s.value:o.value);return(i,u)=>(R(),Z("span",{class:"nc-datetime",dir:"auto","data-timestamp":i.timestamp,title:M(o),textContent:Ce(a.value)},null,8,q_))}});hn(NE);const K_=Ve({__name:"NcDialogButton",props:{callback:{type:Function,default:()=>{}},disabled:{type:Boolean,default:!1},icon:{default:void 0},label:{},type:{default:"button"},variant:{default:"tertiary"}},emits:["click"],setup(e,{emit:t}){const n=e,r=t,o=xe(!1);async function s(a){if(!o.value){o.value=!0;try{const i=n.type==="reset"?!1:void 0,u=await n.callback?.()??i;u!==!1&&r("click",a,u)}finally{o.value=!1}}}return(a,i)=>(R(),ge(M(Ye),{"aria-label":a.label,disabled:a.disabled,type:a.type,variant:a.variant,onClick:s},{icon:de(()=>[be(a.$slots,"icon",{},()=>[o.value?(R(),ge(M(Rc),{key:0,name:M(Le)("Loading …")},null,8,["name"])):a.icon!==void 0?(R(),ge(M(Ue),{key:1,svg:a.icon},null,8,["svg"])):he("",!0)])]),default:de(()=>[ht(Ce(a.label)+" ",1)]),_:3},8,["aria-label","disabled","type","variant"]))}}),X_=/mac|ipad|iphone|darwin/i.test(navigator.userAgent),Z_=window.OCP?.Accessibility?.disableKeyboardShortcuts?.(),J_=/^[a-zA-Z0-9]$/,Y_=/^[^\x20-\x7F]$/;function Q_(e,t){return!(e.target instanceof HTMLElement)||e.target instanceof HTMLInputElement||e.target instanceof HTMLTextAreaElement||e.target instanceof HTMLSelectElement||e.target.isContentEditable?!0:t.allowInModal?!1:Array.from(document.getElementsByClassName("modal-mask")).filter(n=>n.checkVisibility()).length>0}function wh(e,t){return n=>{if((X_?n.metaKey:n.ctrlKey)===!!t.ctrl){if(n.altKey!==!!t.alt||t.shift!==void 0&&n.shiftKey!==!!t.shift||Q_(n,t))return;t.prevent&&n.preventDefault(),t.stop&&n.stopPropagation(),e(n)}}}function Ch(e,t=()=>{},n={}){if(Z_)return()=>{};const r=(i,u)=>{if(i.key===u)return!0;if(n.caseSensitive){const c=u===u.toLowerCase(),l=i.key===i.key.toLowerCase();if(c!==l)return!1}return J_.test(u)&&Y_.test(i.key)?i.code.replace(/^(?:Key|Digit|Numpad)/,"")===u.toUpperCase():i.key.toLowerCase()===u.toLowerCase()},o=i=>typeof e=="function"?e(i):typeof e=="string"?r(i,e):Array.isArray(e)?e.some(u=>r(i,u)):!0,s=Gp(o,wh(t,n),{eventName:"keydown",dedupe:!0,passive:!n.prevent}),a=n.push?Gp(o,wh(t,n),{eventName:"keyup",passive:!n.prevent}):()=>{};return()=>{s(),a()}}function ex(e=document.body){const t=window.getComputedStyle(e).getPropertyValue("--background-invert-if-dark");return t!==void 0?t==="invert(100%)":!1}ex();const tx=xe(Cm());window.addEventListener("resize",()=>{tx.value=Cm()});function Cm(){return window.outerHeight===window.screen.height}function _h(e){return!e.parent||"vapor"in e||"vapor"in e.parent||e.parent.subTree!==e.vnode?null:e.parent}function nx(e){const t=[e];let n=_h(e);for(;n;)t.push(n),n=_h(n);return t}function rx(){const e=jn();if(!e)throw new Error("useScopeId must be called within a setup context");const t=nx(e).map(n=>n.vnode.scopeId).filter(Boolean);return Object.fromEntries(t.map(n=>[n,""]))}hn(_E,DE);const ox=["aria-labelledby","aria-describedby"],sx=["data-theme-light","data-theme-dark"],ax=["id"],ix={class:"icons-menu"},ux=["title"],lx=["id"],cx={class:"modal-container__content"},dx=Ve({inheritAttrs:!1,__name:"NcModal",props:Dr({name:{default:""},hasPrevious:{type:Boolean},hasNext:{type:Boolean},outTransition:{type:Boolean},enableSlideshow:{type:Boolean},slideshowDelay:{default:5e3},slideshowPaused:{type:Boolean},disableSwipe:{type:Boolean},spreadNavigation:{type:Boolean},size:{default:"normal"},noClose:{type:Boolean},closeOnClickOutside:{type:Boolean},dark:{type:Boolean},lightBackdrop:{type:Boolean},container:{default:"body"},closeButtonOutside:{type:Boolean},additionalTrapElements:{default:()=>[]},inlineActions:{default:0},labelId:{default:""},setReturnFocus:{default:void 0}},{show:{type:Boolean,default:!0},showModifiers:{}}),emits:Dr(["next","previous","close","update:show"],["update:show"]),setup(e,{emit:t}){tg(B=>({"046d2bb2":v.value,"71f7c020":g.value}));const n=Vo(e,"show"),r=e,o=t,s=rx(),a=Wo(),i=ro("mask");let u;ir(()=>U()),tt(()=>r.additionalTrapElements,B=>{u&&u.updateContainerElements([i.value,...B])});const{isActive:c,pause:l,resume:d}=qb(y,vl(()=>r.slideshowDelay),{immediate:!1}),p=xe(0),h=xe(!1);ji(()=>{h.value&&!r.slideshowPaused?d():c.value&&l()});const g=re(()=>`${r.slideshowDelay}ms`),{stop:f}=Fg(i,{onSwipeEnd:C});ir(f),Ch("Escape",()=>{jo().at(-1)===u&&D()},{allowInModal:!0}),Ch(["ArrowLeft","ArrowRight"],B=>{document.activeElement&&!i.value.contains(document.activeElement)||(B.key==="ArrowLeft"!==Zs?w():y())},{allowInModal:!0});const m=Wi(),v=re(()=>{let B=0;return r.hasNext&&r.enableSlideshow&&B++,!r.noClose&&r.closeButtonOutside&&B++,m.actions&&B++,B});An(()=>{!r.name&&r.labelId});function y(B){if(!r.hasNext){h.value=!1;return}B&&c.value&&x(),o("next",B)}function w(B){r.hasPrevious&&(B&&c.value&&x(),o("previous",B))}function C(B,ne){if(!r.disableSwipe){if(ne!=="left"&&ne!=="right")return;ne==="left"!==Zs?y(B):w(B)}}function x(){l(),d(),p.value++}function D(B){r.noClose||(n.value=!1,setTimeout(()=>{o("close",B)},300))}function $(B){r.closeOnClickOutside&&D(B)}async function K(){if(u)return;await wn();const B={allowOutsideClick:!0,fallbackFocus:i.value,trapStack:jo(),escapeDeactivates:!1,setReturnFocus:r.setReturnFocus};u=Nc([i.value,...r.additionalTrapElements],B),u.activate()}function U(){u&&(u?.deactivate(),u=void 0)}return(B,ne)=>(R(),ge(ff,{disabled:B.container===null,to:B.container},[le(rs,{name:"fade",appear:"",onAfterEnter:K,onBeforeLeave:U},{default:de(()=>[Ln(ae("div",ft({...B.$attrs,...M(s)},{ref:"mask",class:["modal-mask",{"modal-mask--opaque":B.dark||B.closeButtonOutside||B.hasPrevious||B.hasNext,"modal-mask--light":B.lightBackdrop}],role:"dialog","aria-modal":"true","aria-labelledby":B.labelId||`modal-name-${M(a)}`,"aria-describedby":"modal-description-"+M(a),tabindex:"-1"}),[le(rs,{name:"fade-visibility",appear:""},{default:de(()=>[ae("div",{class:"modal-header","data-theme-light":B.lightBackdrop,"data-theme-dark":!B.lightBackdrop},[B.name.trim()!==""?(R(),Z("h2",{key:0,id:"modal-name-"+M(a),class:"modal-header__name"},Ce(B.name),9,ax)):he("",!0),ae("div",ix,[B.hasNext&&B.enableSlideshow?(R(),Z("button",{key:0,class:Be(["play-pause-icons",{"play-pause-icons--paused":B.slideshowPaused}]),title:M(c)?M(Le)("Pause slideshow"):M(Le)("Start slideshow"),type:"button",onClick:ne[0]||(ne[0]=T=>h.value=!h.value)},[le(Ue,{class:"play-pause-icons__icon",inline:"",name:M(c)?M(Le)("Pause slideshow"):M(Le)("Start slideshow"),path:M(c)?M(dE):M(pE)},null,8,["name","path"]),M(c)?(R(),Z("svg",{key:`${M(a)}-animation-${p.value}`,class:"progress-ring",height:"50",width:"50"},[...ne[1]||(ne[1]=[ae("circle",{class:"progress-ring__circle",stroke:"white","stroke-width":"2",fill:"transparent",r:"15",cx:"25",cy:"25"},null,-1)])])):he("",!0)],10,ux)):he("",!0),le($c,{class:"header-actions",inline:B.inlineActions},{default:de(()=>[be(B.$slots,"actions",{},void 0,!0)]),_:3},8,["inline"]),!B.noClose&&B.closeButtonOutside?(R(),ge(Ye,{key:1,"aria-label":M(Le)("Close"),class:"header-close",variant:"tertiary",onClick:D},{icon:de(()=>[le(Ue,{path:M(Ll)},null,8,["path"])]),_:1},8,["aria-label"])):he("",!0)])],8,sx)]),_:3}),le(rs,{name:`modal-${B.outTransition?"out":"in"}`,appear:""},{default:de(()=>[Ln(ae("div",{class:Be(["modal-wrapper",[`modal-wrapper--${B.size}`,{"modal-wrapper--spread-navigation":B.spreadNavigation}]]),onMousedown:yn($,["self"])},[le(rs,{name:"fade-visibility",appear:""},{default:de(()=>[Ln(le(Ye,{"aria-label":M(Le)("Previous"),class:"prev",variant:"tertiary-no-background",onClick:w},{icon:de(()=>[le(Ue,{directional:"",path:M(uE),size:40},null,8,["path"])]),_:1},8,["aria-label"]),[[Qn,B.hasPrevious]])]),_:1}),ae("div",{id:"modal-description-"+M(a),class:"modal-container"},[ae("div",cx,[be(B.$slots,"default",{},void 0,!0)]),!B.noClose&&!B.closeButtonOutside?(R(),ge(Ye,{key:0,"aria-label":M(Le)("Close"),class:"modal-container__close",variant:"tertiary",onClick:D},{icon:de(()=>[le(Ue,{path:M(Ll)},null,8,["path"])]),_:1},8,["aria-label"])):he("",!0)],8,lx),le(rs,{name:"fade-visibility",appear:""},{default:de(()=>[Ln(le(Ye,{"aria-label":M(Le)("Next"),class:"next",variant:"tertiary-no-background",onClick:y},{icon:de(()=>[le(Ue,{directional:"",path:M(Ig),size:40},null,8,["path"])]),_:1},8,["aria-label"]),[[Qn,B.hasNext]])]),_:1})],34),[[Qn,n.value]])]),_:3},8,["name"])],16,ox),[[Qn,n.value]])]),_:3})],8,["disabled","to"]))}}),px=He(dx,[["__scopeId","data-v-3c357e2d"]]),hx=["id","textContent"],fx=["aria-label","aria-labelledby"],gx={class:"dialog__text"},mx={class:"dialog__actions"},vx=Ve({__name:"NcDialog",props:Dr({name:{},message:{default:""},additionalTrapElements:{default:()=>[]},container:{default:"body"},size:{default:"small"},buttons:{default:()=>[]},isForm:{type:Boolean},noClose:{type:Boolean},closeOnClickOutside:{type:Boolean},outTransition:{type:Boolean},navigationAriaLabel:{default:""},navigationAriaLabelledby:{default:""},contentClasses:{default:""},dialogClasses:{default:""},navigationClasses:{default:""}},{open:{type:Boolean,default:!0},openModifiers:{}}),emits:Dr(["closing","reset","submit"],["update:open"]),setup(e,{emit:t}){const n=Vo(e,"open"),r=e,o=t,s=Wi(),a=ro("wrapper"),{width:i}=tE(a,{width:900,height:0}),u=re(()=>i.value<876),c=re(()=>s?.navigation!==void 0),l=Wo(),d=re(()=>r.navigationAriaLabel||void 0),p=re(()=>{if(!r.navigationAriaLabel)return r.navigationAriaLabelledby||l}),h=ro("dialogElement"),g=re(()=>r.isForm&&!c.value?"form":"div"),f=re(()=>g.value!=="form"?{}:{submit(x){x.preventDefault(),o("submit",x)},reset(x){x.preventDefault(),o("reset",x)}}),m=xe(!0);function v(x,D){x.type==="submit"&&g.value==="form"&&"reportValidity"in h.value&&!h.value.reportValidity()||(y(D),window.setTimeout(()=>w(),300))}function y(x){m.value=!1,o("closing",x)}function w(){m.value=!0,n.value=!1}const C=re(()=>({noClose:r.noClose,container:r.container===void 0?"body":r.container,labelId:l,size:r.size,show:n.value&&m.value,outTransition:r.outTransition,closeOnClickOutside:r.closeOnClickOutside,additionalTrapElements:r.additionalTrapElements}));return(x,D)=>n.value?(R(),ge(M(px),ft({key:0,class:"dialog__modal",disableSwipe:""},C.value,{onClose:w,"onUpdate:show":D[0]||(D[0]=$=>y())}),{default:de(()=>[ae("h2",{id:M(l),class:"dialog__name",textContent:Ce(x.name)},null,8,hx),(R(),ge(aa(g.value),ft({ref:"dialogElement",class:["dialog",x.dialogClasses]},dy(f.value)),{default:de(()=>[ae("div",{ref:"wrapper",class:Be(["dialog__wrapper",[{"dialog__wrapper--collapsed":u.value}]])},[c.value?(R(),Z("nav",{key:0,class:Be(["dialog__navigation",x.navigationClasses]),"aria-label":d.value,"aria-labelledby":p.value},[be(x.$slots,"navigation",{isCollapsed:u.value},void 0,!0)],10,fx)):he("",!0),ae("div",{class:Be(["dialog__content",x.contentClasses])},[be(x.$slots,"default",{},()=>[ae("p",gx,Ce(x.message),1)],!0)],2)],2),ae("div",mx,[be(x.$slots,"actions",{},()=>[(R(!0),Z(Ze,null,Ss(x.buttons,($,K)=>(R(),ge(M(K_),ft({key:K},{ref_for:!0},$,{onClick:(U,B)=>v($,B)}),null,16,["onClick"]))),128))],!0)])]),_:3},16,["class"]))]),_:3},16)):he("",!0)}}),yx=He(vx,[["__scopeId","data-v-24e91b99"]]),bx=["aria-labelledby"],Ex={key:0,class:"empty-content__icon","aria-hidden":"true"},wx=["id"],Cx={key:2,class:"empty-content__description"},_x={key:3,class:"empty-content__action"},xx=Ve({__name:"NcEmptyContent",props:{description:{default:""},name:{default:""}},setup(e){const t=Wo();return(n,r)=>(R(),Z("div",{"aria-labelledby":M(t),class:"empty-content",role:"note"},[n.$slots.icon?(R(),Z("div",Ex,[be(n.$slots,"icon",{},void 0,!0)])):he("",!0),n.name!==""||n.$slots.name?(R(),Z("div",{key:1,id:M(t),class:"empty-content__name"},[be(n.$slots,"name",{},()=>[ht(Ce(n.name),1)],!0)],8,wx)):he("",!0),n.description!==""||n.$slots.description?(R(),Z("p",Cx,[be(n.$slots,"description",{},()=>[ht(Ce(n.description),1)],!0)])):he("",!0),n.$slots.action?(R(),Z("div",_x,[be(n.$slots,"action",{},void 0,!0)])):he("",!0)],8,bx))}}),Wu=He(xx,[["__scopeId","data-v-8609a4c1"]]),Ax=["title"],Sx=Ve({__name:"NcCounterBubble",props:{count:{},active:{type:Boolean},type:{default:""},raw:{type:Boolean}},setup(e){const t=e,n=re(()=>t.raw?t.count.toString():new Intl.NumberFormat(kc(),{notation:"compact",compactDisplay:"short"}).format(t.count)),r=re(()=>{if(t.raw)return;const o=t.count.toString();if(o!==n.value)return o});return(o,s)=>(R(),Z("div",{class:Be(["counter-bubble__counter",{active:o.active,"counter-bubble__counter--highlighted":o.type==="highlighted","counter-bubble__counter--outlined":o.type==="outlined"}]),title:r.value},Ce(n.value),11,Ax))}}),kx=He(Sx,[["__scopeId","data-v-36ffc13f"]]),Tx={name:"NcListItem",components:{NcActions:$c,NcCounterBubble:kx,NcVNodes:wm},inheritAttrs:!1,setup(){return{isLegacy34:uo}},props:{details:{type:String,default:""},name:{type:String,default:void 0},to:{type:[String,Object],default:null},href:{type:String,default:"#"},target:{type:String,default:""},anchorId:{type:String,default:""},bold:{type:Boolean,default:!1},compact:{type:Boolean,default:!1},active:{type:Boolean,default:void 0},linkAriaLabel:{type:String,default:""},actionsAriaLabel:{type:String,default:void 0},counterNumber:{type:[Number,String],default:0},counterType:{type:String,default:"",validator(e){return["highlighted","outlined",""].indexOf(e)!==-1}},forceDisplayActions:{type:Boolean,default:!1},forceMenu:{type:Boolean,default:!1},oneLine:{type:Boolean,default:!1}},emits:["click","dragstart","update:menuOpen"],data(){return{hovered:!1,hasActions:!1,hasSubname:!1,displayActionsOnHoverFocus:!1,menuOpen:!1,hasIndicator:!1,hasDetails:!1}},computed:{showAdditionalElements(){return!this.displayActionsOnHoverFocus||this.forceDisplayActions},showDetails(){return(this.details!==""||this.hasDetails)&&(!this.displayActionsOnHoverFocus||this.forceDisplayActions)}},watch:{menuOpen(e){!e&&!this.hovered&&(this.displayActionsOnHoverFocus=!1)}},mounted(){this.checkSlots()},updated(){this.checkSlots()},methods:{onClick(e,t,n){this.$emit("click",e),!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&n&&(t?.(e),e.preventDefault())},showActions(){this.hasActions&&(this.displayActionsOnHoverFocus=!0),this.hovered=!1},hideActions(){this.displayActionsOnHoverFocus=!1},handleBlur(e){this.menuOpen||this.$refs["list-item"]?.contains(e.relatedTarget)||this.hideActions()},handleMouseleave(){this.menuOpen||(this.displayActionsOnHoverFocus=!1),this.hovered=!1},handleMouseover(){this.showActions(),this.hovered=!0},handleActionsUpdateOpen(e){this.menuOpen=e,this.$emit("update:menuOpen",e)},checkSlots(){this.hasActions!==!!this.$slots.actions&&(this.hasActions=!!this.$slots.actions),this.hasSubname!==!!this.$slots.subname&&(this.hasSubname=!!this.$slots.subname),this.hasIndicator!==!!this.$slots.indicator&&(this.hasIndicator=!!this.$slots.indicator),this.hasDetails!==!!this.$slots.details&&(this.hasDetails=!!this.$slots.details)}}},Nx=["id","aria-label","href","target","rel","onClick"],Dx={class:"list-item-content"},Ox={class:"list-item-content__main"},Px={class:"list-item-content__name"},Bx={class:"list-item-content__details"},$x={key:0,class:"list-item-details__details"},Rx={key:1,class:"list-item-details__extra"},Fx={key:1,class:"list-item-details__indicator"},Lx={key:0,class:"list-item-content__extra-actions"},Ix={key:2,class:"list-item__extra"};function Mx(e,t,n,r,o,s){const a=Je("NcCounterBubble"),i=Je("NcActions");return R(),ge(aa(n.to?"router-link":"NcVNodes"),Ls(Io({...n.to&&{custom:!0,to:n.to}})),{default:de(({href:u,navigate:c,isActive:l})=>[ae("li",ft({class:["list-item__wrapper",{"list-item__wrapper--active":n.active??l,"list-item__wrapper--legacy":r.isLegacy34}]},e.$attrs),[ae("div",{ref:"list-item",class:Be(["list-item",{"list-item--compact":n.compact,"list-item--one-line":n.oneLine}]),onMouseover:t[5]||(t[5]=(...d)=>s.handleMouseover&&s.handleMouseover(...d)),onMouseleave:t[6]||(t[6]=(...d)=>s.handleMouseleave&&s.handleMouseleave(...d))},[ae("a",{id:n.anchorId||void 0,"aria-label":n.linkAriaLabel,class:"list-item__anchor",href:u||n.href,target:n.target||(n.href==="#"?void 0:"_blank"),rel:n.href==="#"?void 0:"noopener noreferrer",onFocus:t[0]||(t[0]=(...d)=>s.showActions&&s.showActions(...d)),onFocusout:t[1]||(t[1]=(...d)=>s.handleBlur&&s.handleBlur(...d)),onClick:d=>s.onClick(d,c,u),onDragstart:t[2]||(t[2]=d=>e.$emit("dragstart",d)),onKeydown:t[3]||(t[3]=la((...d)=>s.hideActions&&s.hideActions(...d),["esc"]))},[be(e.$slots,"icon",{},void 0,!0),ae("div",Dx,[ae("div",Ox,[ae("div",Px,[be(e.$slots,"name",{},()=>[ht(Ce(n.name),1)],!0)]),o.hasSubname?(R(),Z("div",{key:0,class:Be(["list-item-content__subname",{"list-item-content__subname--bold":n.bold}])},[be(e.$slots,"subname",{},void 0,!0)],2)):he("",!0)]),ae("div",Bx,[s.showDetails?(R(),Z("div",$x,[be(e.$slots,"details",{},()=>[ht(Ce(n.details),1)],!0)])):he("",!0),n.counterNumber!==0||o.hasIndicator?Ln((R(),Z("div",Rx,[n.counterNumber!==0?(R(),ge(a,{key:0,count:n.counterNumber,active:r.isLegacy34?n.active??l:!1,class:"list-item-details__counter",type:n.counterType},null,8,["count","active","type"])):he("",!0),o.hasIndicator?(R(),Z("span",Fx,[be(e.$slots,"indicator",{},void 0,!0)])):he("",!0)],512)),[[Qn,s.showAdditionalElements]]):he("",!0)])])],40,Nx),e.$slots["extra-actions"]?(R(),Z("div",Lx,[be(e.$slots,"extra-actions",{},void 0,!0)])):he("",!0),n.forceDisplayActions||o.displayActionsOnHoverFocus?(R(),Z("div",{key:1,class:"list-item-content__actions",onFocusout:t[4]||(t[4]=(...d)=>s.handleBlur&&s.handleBlur(...d))},[le(i,{ref:"actions",primary:r.isLegacy34?n.active??l:!1,forceMenu:n.forceMenu,"aria-label":n.actionsAriaLabel,"onUpdate:open":s.handleActionsUpdateOpen},vc({default:de(()=>[be(e.$slots,"actions",{},void 0,!0)]),_:2},[e.$slots["actions-icon"]?{name:"icon",fn:de(()=>[be(e.$slots,"actions-icon",{},void 0,!0)]),key:"0"}:void 0]),1032,["primary","forceMenu","aria-label","onUpdate:open"])],32)):he("",!0),e.$slots.extra?(R(),Z("div",Ix,[be(e.$slots,"extra",{},void 0,!0)])):he("",!0)],34)],16)]),_:3},16)}const zx=He(Tx,[["render",Mx],["__scopeId","data-v-7e90555e"]]);hn(CE,Ug);const jx=Ve({__name:"NcTextField",props:Dr({class:{},inputClass:{},id:{},label:{},labelOutside:{type:Boolean},type:{},placeholder:{},showTrailingButton:{type:Boolean},trailingButtonLabel:{default:void 0},success:{type:Boolean},error:{type:Boolean},helperText:{},disabled:{type:Boolean},pill:{type:Boolean},trailingButtonIcon:{default:"close"}},{modelValue:{default:""},modelModifiers:{}}),emits:["update:modelValue"],setup(e,{expose:t}){const n=Vo(e,"modelValue"),r=e;t({focus:u,select:c});const o=ro("inputField"),s={arrowEnd:Le("Save changes"),close:Le("Clear text"),undo:Le("Undo changes")},a=new Set(Object.keys(ql.props)),i=re(()=>{const l=Object.fromEntries(Object.entries(r).filter(([d])=>a.has(d)));return l.trailingButtonLabel??=s[r.trailingButtonIcon],l});function u(l){o.value.focus(l)}function c(){o.value.select()}return(l,d)=>(R(),ge(M(ql),ft(i.value,{ref:"inputField",modelValue:n.value,"onUpdate:modelValue":d[0]||(d[0]=p=>n.value=p)}),vc({_:2},[l.$slots.icon?{name:"icon",fn:de(()=>[be(l.$slots,"icon")]),key:"0"}:void 0,l.type!=="search"?{name:"trailing-button-icon",fn:de(()=>[l.trailingButtonIcon==="arrowEnd"?(R(),ge(M(Ue),{key:0,directional:"",path:M(Lg)},null,8,["path"])):(R(),ge(M(Ue),{key:1,path:l.trailingButtonIcon==="undo"?M(hE):M(Ll)},null,8,["path"]))]),key:"1"}:void 0]),1040,["modelValue"]))}});var Ux="M15.41,16.58L10.83,12L15.41,7.41L14,6L8,12L14,18L15.41,16.58Z",Hx="M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z",Kl="M6,2A2,2 0 0,0 4,4V20A2,2 0 0,0 6,22H18A2,2 0 0,0 20,20V8L14,2H6M6,4H13V9H18V20H6V4M8,12V14H16V12H8M8,16V18H13V16H8Z",Vx="M14,3V5H17.59L7.76,14.83L9.17,16.24L19,6.41V10H21V3M19,19H5V5H12V3H5C3.89,3 3,3.9 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V12H19V19Z",xh="M12,17.27L18.18,21L16.54,13.97L22,9.24L14.81,8.62L12,2L9.19,8.62L2,9.24L7.45,13.97L5.82,21L12,17.27Z",Gx="M3,11H11V3H3M3,21H11V13H3M13,21H21V13H13M13,3V11H21V3",Wx="M9,5V9H21V5M9,19H21V15H9M9,14H21V10H9M4,9H8V5H4M4,19H8V15H4M4,14H8V10H4V14Z";const qx={class:"file-card__preview"},Kx={class:"file-card__content"},Xx={key:0,class:"file-card__icon"},Zx={class:"file-card__text"},Jx={class:"file-card__name"},Yx={key:0,class:"file-card__subname"},Qx=Ve({__name:"FileCard",emits:["click"],setup(e){return(t,n)=>(R(),Z("button",{type:"button",class:"file-card",onClick:n[0]||(n[0]=r=>t.$emit("click",r))},[ae("div",qx,[be(t.$slots,"preview",{},void 0,!0)]),ae("div",Kx,[t.$slots.icon?(R(),Z("span",Xx,[be(t.$slots,"icon",{},void 0,!0)])):he("",!0),ae("div",Zx,[ae("div",Jx,[be(t.$slots,"name",{},void 0,!0)]),t.$slots.subname?(R(),Z("div",Yx,[be(t.$slots,"subname",{},void 0,!0)])):he("",!0)])])]))}}),Qi=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},eA=Qi(Qx,[["__scopeId","data-v-945915af"]]),tA={class:"file-preview"},nA=["src","alt"],rA=Ve({__name:"FilePreview",props:{file:{},size:{default:300},fallbackIconSize:{default:48},alt:{default:""}},setup(e){const t=e,n=xe(!1),r=re(()=>{const o=(t.file.attributes?.etag??"").slice(0,6);return _r("/core/preview?fileId={fileid}&x={x}&y={y}&v={v}&a=1&mimeFallback=true",{fileid:t.file.fileid,x:t.size,y:t.size,v:o})});return(o,s)=>(R(),Z("div",tA,[n.value?(R(),ge(M(Ue),{key:1,path:M(Kl),size:e.fallbackIconSize,class:"file-preview__fallback"},null,8,["path","size"])):(R(),Z("img",{key:0,src:r.value,alt:e.alt,loading:"lazy",class:"file-preview__image",onError:s[0]||(s[0]=a=>n.value=!0)},null,40,nA))]))}}),Ah=Qi(rA,[["__scopeId","data-v-52ee489a"]]),oA={class:"template-section__header"},sA={id:"template-section-heading",class:"template-section__heading"},aA={key:0,class:"template-section__nav"},iA={class:"template-card__preview"},uA={class:"template-card__name"},lA=["onClick"],cA={class:"template-card__preview"},dA=["src","alt","onError"],pA={class:"template-card__name"},Sh=160,kh=12,hA=Ve({__name:"TemplateSection",props:{creator:{}},emits:["select"],setup(e,{emit:t}){const n={document:["hsl(203 79% 78%)","hsl(203 79% 60%)","hsl(203 70% 42%)","hsl(203 65% 26%)"],spreadsheet:["hsl(79 46% 70%)","hsl(79 46% 52%)","hsl(79 50% 38%)","hsl(79 55% 24%)"],presentation:["hsl(23 83% 80%)","hsl(23 83% 66%)","hsl(23 75% 48%)","hsl(23 70% 32%)"],drawing:["hsl(47 80% 62%)","hsl(47 80% 39%)","hsl(47 82% 28%)","hsl(47 85% 18%)"]},r={"application/vnd.oasis.opendocument.presentation":"presentation","application/vnd.oasis.opendocument.presentation-template":"presentation","application/vnd.ms-powerpoint":"presentation","application/vnd.openxmlformats-officedocument.presentationml.presentation":"presentation","application/vnd.oasis.opendocument.spreadsheet":"spreadsheet","application/vnd.oasis.opendocument.spreadsheet-template":"spreadsheet","application/vnd.ms-excel":"spreadsheet","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":"spreadsheet","application/vnd.oasis.opendocument.graphics":"drawing","application/vnd.oasis.opendocument.graphics-template":"drawing"},o=e,s=t,a=xe(null),i=xe(!1),u=xe(!1),c=xe({});let l=null;const d=re(()=>{for(const C of o.creator.mimetypes??[]){const x=r[C];if(x)return x}return"document"}),p=re(()=>{const C=d.value==="presentation",x=C?150:200,D=C?16/9:2/3;return{width:`${Math.round(x*D)}px`,"--tpl-preview-height":`${x}px`}}),h=re(()=>{const[C,x,D,$]=n[d.value];return{"--tpl-glow-1":C,"--tpl-glow-2":x,"--tpl-glow-3":D,"--tpl-glow-4":$}}),g=re(()=>i.value||u.value),f=re(()=>[{blank:!0},...o.creator.templates??[]]);tt(()=>o.creator,()=>{a.value&&(a.value.scrollLeft=0),m()});function m(){if(!a.value)return;const{scrollLeft:C,scrollWidth:x,clientWidth:D}=a.value;i.value=C>0,u.value=C+D0?C.slice(0,x):C}function w(C){return C.previewUrl?C.previewUrl:_r("/core/preview?fileId={fileid}&x=256&y=256&a=1",{fileid:C.fileid})}return An(()=>{l=new ResizeObserver(()=>m()),a.value&&l.observe(a.value),m()}),ir(()=>{l?.disconnect()}),(C,x)=>(R(),Z("section",{class:"template-section",style:dn(h.value),"aria-labelledby":"template-section-heading"},[ae("div",oA,[ae("h2",sA,Ce(M(Fe)("office","Create new")),1),g.value?(R(),Z("div",aA,[le(M(Ye),{variant:"tertiary","aria-label":M(Fe)("office","Scroll left"),disabled:!i.value,onClick:x[0]||(x[0]=D=>v(-1))},{icon:de(()=>[le(M(Ue),{svg:M(Ux),size:20},null,8,["svg"])]),_:1},8,["aria-label","disabled"]),le(M(Ye),{variant:"tertiary","aria-label":M(Fe)("office","Scroll right"),disabled:!u.value,onClick:x[1]||(x[1]=D=>v(1))},{icon:de(()=>[le(M(Ue),{svg:M(Hx),size:20},null,8,["svg"])]),_:1},8,["aria-label","disabled"])])):he("",!0)]),ae("ul",{ref_key:"list",ref:a,class:"template-section__list",onScroll:m},[(R(!0),Z(Ze,null,Ss(f.value,D=>(R(),Z("li",{key:"blank"in D?"blank":D.fileid,class:"template-section__item"},["blank"in D?(R(),Z("button",{key:0,class:"template-card",style:dn(p.value),onClick:x[2]||(x[2]=$=>s("select",e.creator,null))},[ae("span",iA,[le(M(Ue),{svg:e.creator.iconSvgInline??"",size:32},null,8,["svg"])]),ae("span",uA,Ce(M(Fe)("office","Blank")),1)],4)):(R(),Z("button",{key:1,class:"template-card",style:dn(p.value),onClick:$=>s("select",e.creator,D)},[ae("span",cA,[D.hasPreview&&!c.value[D.fileid]?(R(),Z("img",{key:0,src:w(D),alt:y(D.basename),loading:"lazy",class:"template-card__image",onError:$=>c.value={...c.value,[D.fileid]:!0}},null,40,dA)):(R(),ge(M(Ue),{key:1,svg:e.creator.iconSvgInline??"",size:48},null,8,["svg"]))]),ae("span",pA,Ce(y(D.basename)),1)],12,lA))]))),128))],544)],4))}}),fA=Qi(hA,[["__scopeId","data-v-e970ce47"]]);function Fc(){return Go("files_sharing","isPublic",null)??document.querySelector('input#isPublic[type="hidden"][name="isPublic"][value="1"]')!==null}function gA(){return Go("files_sharing","sharingToken",null)??document.querySelector('input#sharingToken[type="hidden"]')?.value??null}var qu={},mA={2(e){function t(o,s,a){o instanceof RegExp&&(o=n(o,a)),s instanceof RegExp&&(s=n(s,a));var i=r(o,s,a);return i&&{start:i[0],end:i[1],pre:a.slice(0,i[0]),body:a.slice(i[0]+o.length,i[1]),post:a.slice(i[1]+s.length)}}function n(o,s){var a=s.match(o);return a?a[0]:null}function r(o,s,a){var i,u,c,l,d,p=a.indexOf(o),h=a.indexOf(s,p+1),g=p;if(p>=0&&h>0){for(i=[],c=a.length;g>=0&&!d;)g==p?(i.push(g),p=a.indexOf(o,g+1)):i.length==1?d=[i.pop(),h]:((u=i.pop())=0?p:h;i.length&&(d=[c,l])}return d}e.exports=t,t.range=r},101(e,t,n){var r;e=n.nmd(e),(function(){var o=(e&&e.exports,typeof Yn=="object"&&Yn);o.global!==o&&o.window;var s=function(l){this.message=l};(s.prototype=new Error).name="InvalidCharacterError";var a=function(l){throw new s(l)},i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",u=/[\t\n\f\r ]/g,c={encode:function(l){l=String(l),/[^\0-\xFF]/.test(l)&&a("The string to be encoded contains characters outside of the Latin1 range.");for(var d,p,h,g,f=l.length%3,m="",v=-1,y=l.length-f;++v>18&63)+i.charAt(g>>12&63)+i.charAt(g>>6&63)+i.charAt(63&g);return f==2?(d=l.charCodeAt(v)<<8,p=l.charCodeAt(++v),m+=i.charAt((g=d+p)>>10)+i.charAt(g>>4&63)+i.charAt(g<<2&63)+"="):f==1&&(g=l.charCodeAt(v),m+=i.charAt(g>>2)+i.charAt(g<<4&63)+"=="),m},decode:function(l){var d=(l=String(l).replace(u,"")).length;d%4==0&&(d=(l=l.replace(/==?$/,"")).length),(d%4==1||/[^+a-zA-Z0-9/]/.test(l))&&a("Invalid character: the string to be decoded is not correctly encoded.");for(var p,h,g=0,f="",m=-1;++m>(-2*g&6)));return f},version:"1.0.0"};(r=function(){return c}.call(t,n,t,e))===void 0||(e.exports=r)})()},172(e,t){t.d=function(n){if(!n)return 0;for(var r=(n=n.toString()).length,o=n.length;o--;){var s=n.charCodeAt(o);56320<=s&&s<=57343&&o--,127>>32-o},rotr:function(r,o){return r<<32-o|r>>>o},endian:function(r){if(r.constructor==Number)return 16711935&n.rotl(r,8)|4278255360&n.rotl(r,24);for(var o=0;o0;r--)o.push(Math.floor(256*Math.random()));return o},bytesToWords:function(r){for(var o=[],s=0,a=0;s>>5]|=r[s]<<24-a%32;return o},wordsToBytes:function(r){for(var o=[],s=0;s<32*r.length;s+=8)o.push(r[s>>>5]>>>24-s%32&255);return o},bytesToHex:function(r){for(var o=[],s=0;s>>4).toString(16)),o.push((15&r[s]).toString(16));return o.join("")},hexToBytes:function(r){for(var o=[],s=0;s>>6*(3-i)&63)):o.push("=");return o.join("")},base64ToBytes:function(r){r=r.replace(/[^A-Z0-9+\/]/gi,"");for(var o=[],s=0,a=0;s>>6-2*a);return o}},e.exports=n},135(e){function t(n){return!!n.constructor&&typeof n.constructor.isBuffer=="function"&&n.constructor.isBuffer(n)}e.exports=function(n){return n!=null&&(t(n)||(function(r){return typeof r.readFloatLE=="function"&&typeof r.slice=="function"&&t(r.slice(0,0))})(n)||!!n._isBuffer)}},542(e,t,n){(function(){var r=n(298),o=n(526).utf8,s=n(135),a=n(526).bin,i=function(u,c){u.constructor==String?u=c&&c.encoding==="binary"?a.stringToBytes(u):o.stringToBytes(u):s(u)?u=Array.prototype.slice.call(u,0):Array.isArray(u)||u.constructor===Uint8Array||(u=u.toString());for(var l=r.bytesToWords(u),d=8*u.length,p=1732584193,h=-271733879,g=-1732584194,f=271733878,m=0;m>>24)|4278255360&(l[m]<<24|l[m]>>>8);l[d>>>5]|=128<>>9<<4)]=d;var v=i._ff,y=i._gg,w=i._hh,C=i._ii;for(m=0;m>>0,h=h+D>>>0,g=g+$>>>0,f=f+K>>>0}return r.endian([p,h,g,f])};i._ff=function(u,c,l,d,p,h,g){var f=u+(c&l|~c&d)+(p>>>0)+g;return(f<>>32-h)+c},i._gg=function(u,c,l,d,p,h,g){var f=u+(c&d|l&~d)+(p>>>0)+g;return(f<>>32-h)+c},i._hh=function(u,c,l,d,p,h,g){var f=u+(c^l^d)+(p>>>0)+g;return(f<>>32-h)+c},i._ii=function(u,c,l,d,p,h,g){var f=u+(l^(c|~d))+(p>>>0)+g;return(f<>>32-h)+c},i._blocksize=16,i._digestsize=16,e.exports=function(u,c){if(u==null)throw new Error("Illegal argument "+u);var l=r.wordsToBytes(i(u,c));return c&&c.asBytes?l:c&&c.asString?a.bytesToString(l):r.bytesToHex(l)}})()},285(e,t,n){var r=n(2);e.exports=function(v,y){if(!v)return[];var w=(y=y||{}).max==null?1/0:y.max;return v.substr(0,2)==="{}"&&(v="\\{\\}"+v.substr(2)),m((function(C){return C.split("\\\\").join(o).split("\\{").join(s).split("\\}").join(a).split("\\,").join(i).split("\\.").join(u)})(v),w,!0).map(l)};var o="\0SLASH"+Math.random()+"\0",s="\0OPEN"+Math.random()+"\0",a="\0CLOSE"+Math.random()+"\0",i="\0COMMA"+Math.random()+"\0",u="\0PERIOD"+Math.random()+"\0";function c(v){return parseInt(v,10)==v?parseInt(v,10):v.charCodeAt(0)}function l(v){return v.split(o).join("\\").split(s).join("{").split(a).join("}").split(i).join(",").split(u).join(".")}function d(v){if(!v)return[""];var y=[],w=r("{","}",v);if(!w)return v.split(",");var C=w.pre,x=w.body,D=w.post,$=C.split(",");$[$.length-1]+="{"+x+"}";var K=d(D);return D.length&&($[$.length-1]+=K.shift(),$.push.apply($,K)),y.push.apply(y,$),y}function p(v){return"{"+v+"}"}function h(v){return/^-?0\d/.test(v)}function g(v,y){return v<=y}function f(v,y){return v>=y}function m(v,y,w){var C=[],x=r("{","}",v);if(!x)return[v];var D=x.pre,$=x.post.length?m(x.post,y,!1):[""];if(/\$$/.test(x.pre))for(var K=0;K<$.length&&K=0;if(!V&&!oe)return x.post.match(/,(?!,).*\}/)?m(v=x.pre+"{"+x.body+a+x.post,y,!0):[v];if(V)B=x.body.split(/\.\./);else if((B=d(x.body)).length===1&&(B=m(B[0],y,!1).map(p)).length===1)return $.map((function(A){return x.pre+B[0]+A}));if(V){var J=c(B[0]),Q=c(B[1]),te=Math.max(B[0].length,B[1].length),pe=B.length==3?Math.max(Math.abs(c(B[2])),1):1,X=g;Q0){var ke=new Array(Ge+1).join("0");Ae=G<0?"-"+ke+Ae.slice(1):ke+Ae}}ne.push(Ae)}}else{ne=[];for(var me=0;me"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch{return!1}})()?Reflect.construct:function(p,h,g){var f=[null];f.push.apply(f,h);var m=new(Function.bind.apply(p,f));return g&&o(m,g.prototype),m},r.apply(null,arguments)}function o(c,l){return o=Object.setPrototypeOf||function(d,p){return d.__proto__=p,d},o(c,l)}function s(c){return s=Object.setPrototypeOf?Object.getPrototypeOf:function(l){return l.__proto__||Object.getPrototypeOf(l)},s(c)}var a=(function(c){function l(d){var p;return(function(h,g){if(!(h instanceof g))throw new TypeError("Cannot call a class as a function")})(this,l),(p=(function(h,g){return!g||t(g)!=="object"&&typeof g!="function"?(function(f){if(f===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return f})(h):g})(this,s(l).call(this,d))).name="ObjectPrototypeMutationError",p}return(function(d,p){if(typeof p!="function"&&p!==null)throw new TypeError("Super expression must either be null or a function");d.prototype=Object.create(p&&p.prototype,{constructor:{value:d,writable:!0,configurable:!0}}),p&&o(d,p)})(l,c),l})(n(Error));function i(c,l){for(var d=arguments.length>2&&arguments[2]!==void 0?arguments[2]:function(){},p=l.split("."),h=p.length,g=function(v){var y=p[v];if(!c)return{v:void 0};if(y==="+"){if(Array.isArray(c))return{v:c.map((function(C,x){var D=p.slice(v+1);return D.length>0?i(C,D.join("."),d):d(c,x,p,v)}))};var w=p.slice(0,v).join(".");throw new Error("Object at wildcard (".concat(w,") is not an array"))}c=d(c,y,p,v)},f=0;f2&&arguments[2]!==void 0?arguments[2]:{};if(t(c)!="object"||c===null||l===void 0)return!1;if(typeof l=="number")return l in c;try{var p=!1;return i(c,l,(function(h,g,f,m){if(!u(f,m))return h&&h[g];p=d.own?h.hasOwnProperty(g):g in h})),p}catch{return!1}},hasOwn:function(c,l,d){return this.has(c,l,d||{own:!0})},isIn:function(c,l,d){var p=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};if(t(c)!="object"||c===null||l===void 0)return!1;try{var h=!1,g=!1;return i(c,l,(function(f,m,v,y){return h=h||f===d||!!f&&f[m]===d,g=u(v,y)&&t(f)==="object"&&m in f,f&&f[m]})),p.validPath?h&&g:h}catch{return!1}},ObjectPrototypeMutationError:a}},47(e,t,n){var r=n(410),o=function(c){return typeof c=="string"};function s(c,l){for(var d=[],p=0;p=-1&&!l;d--){var p=d>=0?arguments[d]:to.cwd();if(!o(p))throw new TypeError("Arguments to path.resolve must be strings");p&&(c=p+"/"+c,l=p.charAt(0)==="/")}return(l?"/":"")+(c=s(c.split("/"),!l).join("/"))||"."},i.normalize=function(c){var l=i.isAbsolute(c),d=c.substr(-1)==="/";return(c=s(c.split("/"),!l).join("/"))||l||(c="."),c&&d&&(c+="/"),(l?"/":"")+c},i.isAbsolute=function(c){return c.charAt(0)==="/"},i.join=function(){for(var c="",l=0;l=0&&y[C]==="";C--);return w>C?[]:y.slice(w,C+1)}c=i.resolve(c).substr(1),l=i.resolve(l).substr(1);for(var p=d(c.split("/")),h=d(l.split("/")),g=Math.min(p.length,h.length),f=g,m=0;m=2&&(C=C.slice(2)):f(D)?C=x[4]:D?$&&(C=C.slice(2)):U>=2&&f(w.protocol)&&(C=x[4]),{protocol:D,slashes:$||f(D),slashesCount:U,rest:C}}function v(y,w,C){if(y=(y=d(y)).replace(a,""),!(this instanceof v))return new v(y,w,C);var x,D,$,K,U,B,ne=p.slice(),T=typeof w,S=this,V=0;for(T!=="object"&&T!=="string"&&(C=w,w=null),C&&typeof C!="function"&&(C=o.parse),x=!(D=m(y||"",w=g(w))).protocol&&!D.slashes,S.slashes=D.slashes||x&&w.slashes,S.protocol=D.protocol||w.protocol||"",y=D.rest,(D.protocol==="file:"&&(D.slashesCount!==2||l.test(y))||!D.slashes&&(D.protocol||D.slashesCount<2||!f(S.protocol)))&&(ne[3]=[/(.*)/,"pathname"]);V{var t=e&&e.__esModule?()=>e.default:()=>e;return Xe.d(t,{a:t}),t},Xe.d=(e,t)=>{for(var n in t)Xe.o(t,n)&&!Xe.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},Xe.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),Xe.nmd=e=>(e.paths=[],e.children||(e.children=[]),e);var vA=Xe(737),yA=Xe.n(vA);function Ku(e){if(!Xl(e))throw new Error("Parameter was not an error")}function Xl(e){return!!e&&typeof e=="object"&&(t=e,Object.prototype.toString.call(t)==="[object Error]")||e instanceof Error;var t}class Gt extends Error{constructor(t,n){const r=[...arguments],{options:o,shortMessage:s}=(function(i){let u,c="";if(i.length===0)u={};else if(Xl(i[0]))u={cause:i[0]},c=i.slice(1).join(" ")||"";else if(i[0]&&typeof i[0]=="object")u=Object.assign({},i[0]),c=i.slice(1).join(" ")||"";else{if(typeof i[0]!="string")throw new Error("Invalid arguments passed to Layerr");u={},c=c=i.join(" ")||""}return{options:u,shortMessage:c}})(r);let a=s;if(o.cause&&(a=`${a}: ${o.cause.message}`),super(a),this.message=a,o.name&&typeof o.name=="string"?this.name=o.name:this.name="Layerr",o.cause&&Object.defineProperty(this,"_cause",{value:o.cause}),Object.defineProperty(this,"_info",{value:{}}),o.info&&typeof o.info=="object"&&Object.assign(this._info,o.info),Error.captureStackTrace){const i=o.constructorOpt||this.constructor;Error.captureStackTrace(this,i)}}static cause(t){return Ku(t),t._cause&&Xl(t._cause)?t._cause:null}static fullStack(t){Ku(t);const n=Gt.cause(t);return n?`${t.stack} +caused by: ${Gt.fullStack(n)}`:t.stack??""}static info(t){Ku(t);const n={},r=Gt.cause(t);return r&&Object.assign(n,Gt.info(r)),t._info&&Object.assign(n,t._info),n}toString(){let t=this.name||this.constructor.name||this.constructor.prototype.name;return this.message&&(t=`${t}: ${this.message}`),t}}var bA=Xe(47),bi=Xe.n(bA);const Nh="__PATH_SEPARATOR_POSIX__",Dh="__PATH_SEPARATOR_WINDOWS__";function nt(e){try{const t=e.replace(/\//g,Nh).replace(/\\\\/g,Dh);return encodeURIComponent(t).split(Dh).join("\\\\").split(Nh).join("/")}catch(t){throw new Gt(t,"Failed encoding path")}}function Oh(e){return e.startsWith("/")?e:"/"+e}function ta(e){let t=e;return t[0]!=="/"&&(t="/"+t),/^.+\/$/.test(t)&&(t=t.substr(0,t.length-1)),t}function EA(e){let t=new(yA())(e).pathname;return t.length<=0&&(t="/"),ta(t)}function rt(){for(var e=arguments.length,t=new Array(e),n=0;n1){var s=r.shift();r[0]=s+r[0]}r[0].match(/^file:\/\/\//)?r[0]=r[0].replace(/^([^/:]+):\/*/,"$1:///"):r[0]=r[0].replace(/^([^/:]+):\/*/,"$1://");for(var a=0;a0&&(i=i.replace(/^[\/]+/,"")),i=a0?"?":"")+c.join("&")})(typeof arguments[0]=="object"?arguments[0]:[].slice.call(arguments))})(t.reduce(((r,o,s)=>((s===0||o!=="/"||o==="/"&&r[r.length-1]!=="/")&&r.push(o),r)),[]))}var wA=Xe(542),cs=Xe.n(wA);function Ph(e,t){const n=e.url.replace("//",""),r=n.indexOf("/")==-1?"/":n.slice(n.indexOf("/")),o=e.method?e.method.toUpperCase():"GET",s=!!/(^|,)\s*auth\s*($|,)/.test(t.qop)&&"auth",a=`00000000${t.nc}`.slice(-8),i=(function(p,h,g,f,m,v,y){const w=y||cs()(`${h}:${g}:${f}`);return p&&p.toLowerCase()==="md5-sess"?cs()(`${w}:${m}:${v}`):w})(t.algorithm,t.username,t.realm,t.password,t.nonce,t.cnonce,t.ha1),u=cs()(`${o}:${r}`),c=s?cs()(`${i}:${t.nonce}:${a}:${t.cnonce}:${s}:${u}`):cs()(`${i}:${t.nonce}:${u}`),l={username:t.username,realm:t.realm,nonce:t.nonce,uri:r,qop:s,response:c,nc:a,cnonce:t.cnonce,algorithm:t.algorithm,opaque:t.opaque},d=[];for(const p in l)l[p]&&(p==="qop"||p==="nc"||p==="algorithm"?d.push(`${p}=${l[p]}`):d.push(`${p}="${l[p]}"`));return`Digest ${d.join(", ")}`}function _m(e){return(e.headers&&e.headers.get("www-authenticate")||"").split(/\s/)[0].toLowerCase()==="digest"}var CA=Xe(101),xm=Xe.n(CA);function Bh(e){return xm().decode(e)}function $h(e,t){var n;return`Basic ${n=`${e}:${t}`,xm().encode(n)}`}const Rh=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope?self:typeof window<"u"?window:globalThis,_A=Rh.fetch.bind(Rh);let Zt=(function(e){return e.Auto="auto",e.Digest="digest",e.None="none",e.Password="password",e.Token="token",e})({}),Br=(function(e){return e.DataTypeNoLength="data-type-no-length",e.InvalidAuthType="invalid-auth-type",e.InvalidOutputFormat="invalid-output-format",e.LinkUnsupportedAuthType="link-unsupported-auth",e.InvalidUpdateRange="invalid-update-range",e.NotSupported="not-supported",e})({});function Am(e,t,n,r,o){switch(e.authType){case Zt.Auto:t&&n&&(e.headers.Authorization=$h(t,n));break;case Zt.Digest:e.digest=(function(a,i,u){return{username:a,password:i,ha1:u,nc:0,algorithm:"md5",hasDigestAuth:!1}})(t,n,o);break;case Zt.None:break;case Zt.Password:e.headers.Authorization=$h(t,n);break;case Zt.Token:e.headers.Authorization=`${(s=r).token_type} ${s.access_token}`;break;default:throw new Gt({info:{code:Br.InvalidAuthType}},`Invalid auth type: ${e.authType}`)}var s}Xe(345),Xe(800);const Fh="@@HOTPATCHER",xA=()=>{};function Xu(e){return{original:e,methods:[e],final:!1}}class AA{constructor(){this._configuration={registry:{},getEmptyAction:"null"},this.__type__=Fh}get configuration(){return this._configuration}get getEmptyAction(){return this.configuration.getEmptyAction}set getEmptyAction(t){this.configuration.getEmptyAction=t}control(t){let n=arguments.length>1&&arguments[1]!==void 0&&arguments[1];if(!t||t.__type__!==Fh)throw new Error("Failed taking control of target HotPatcher instance: Invalid type or object");return Object.keys(t.configuration.registry).forEach((r=>{this.configuration.registry.hasOwnProperty(r)?n&&(this.configuration.registry[r]=Object.assign({},t.configuration.registry[r])):this.configuration.registry[r]=Object.assign({},t.configuration.registry[r])})),t._configuration=this.configuration,this}execute(t){const n=this.get(t)||xA;for(var r=arguments.length,o=new Array(r>1?r-1:0),s=1;s0;)c=[o.shift().apply(l,c)];return c[0]}})(...n.methods)}isPatched(t){return!!this.configuration.registry[t]}patch(t,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const{chain:o=!1}=r;if(this.configuration.registry[t]&&this.configuration.registry[t].final)throw new Error(`Failed patching '${t}': Method marked as being final`);if(typeof n!="function")throw new Error(`Failed patching '${t}': Provided method is not a function`);if(o)this.configuration.registry[t]?this.configuration.registry[t].methods.push(n):this.configuration.registry[t]=Xu(n);else if(this.isPatched(t)){const{original:s}=this.configuration.registry[t];this.configuration.registry[t]=Object.assign(Xu(n),{original:s})}else this.configuration.registry[t]=Xu(n);return this}patchInline(t,n){this.isPatched(t)||this.patch(t,n);for(var r=arguments.length,o=new Array(r>2?r-2:0),s=2;s1?n-1:0),o=1;o{this.patch(t,s,{chain:!0})})),this}restore(t){if(!this.isPatched(t))throw new Error(`Failed restoring method: No method present for key: ${t}`);if(typeof this.configuration.registry[t].original!="function")throw new Error(`Failed restoring method: Original method not found or of invalid type for key: ${t}`);return this.configuration.registry[t].methods=[this.configuration.registry[t].original],this}setFinal(t){if(!this.configuration.registry.hasOwnProperty(t))throw new Error(`Failed marking '${t}' as final: No method found for key`);return this.configuration.registry[t].final=!0,this}}let Zu=null;function Sm(){return Zu||(Zu=new AA),Zu}function Ei(e){return(function(t){if(typeof t!="object"||t===null||Object.prototype.toString.call(t)!="[object Object]")return!1;if(Object.getPrototypeOf(t)===null)return!0;let n=t;for(;Object.getPrototypeOf(n)!==null;)n=Object.getPrototypeOf(n);return Object.getPrototypeOf(t)===n})(e)?Object.assign({},e):Object.setPrototypeOf(Object.assign({},e),Object.getPrototypeOf(e))}function Lh(){for(var e=arguments.length,t=new Array(e),n=0;n0;){const s=o.shift();r=r?km(r,s):Ei(s)}return r}function km(e,t){const n=Ei(e);return Object.keys(t).forEach((r=>{n.hasOwnProperty(r)?Array.isArray(t[r])?n[r]=Array.isArray(n[r])?[...n[r],...t[r]]:[...t[r]]:typeof t[r]=="object"&&t[r]?n[r]=typeof n[r]=="object"&&n[r]?km(n[r],t[r]):Ei(t[r]):n[r]=t[r]:n[r]=t[r]})),n}function SA(e){const t={};for(const n of e.keys())t[n]=e.get(n);return t}function Zl(){for(var e=arguments.length,t=new Array(e),n=0;n(Object.keys(s).forEach((a=>{const i=a.toLowerCase();r.hasOwnProperty(i)?o[r[i]]=s[a]:(r[i]=a,o[a]=s[a])})),o)),{})}Xe(805);const kA=typeof ArrayBuffer=="function",{toString:TA}=Object.prototype;function Tm(e){return kA&&(e instanceof ArrayBuffer||TA.call(e)==="[object ArrayBuffer]")}function Nm(e){return e!=null&&e.constructor!=null&&typeof e.constructor.isBuffer=="function"&&e.constructor.isBuffer(e)}function Lc(e){return function(){for(var t=[],n=0;nt.patchInline("fetch",_A,n.url,(function(r){let o={};const s={method:r.method};if(r.headers&&(o=Zl(o,r.headers)),r.data!==void 0){const[a,i]=(function(u){if(typeof u=="string")return[u,{}];if(Nm(u))return[u,{}];if(Tm(u))return[u,{}];if(u&&typeof u=="object")return[JSON.stringify(u),{"content-type":"application/json"}];throw new Error("Unable to convert request body: Unexpected body type: "+typeof u)})(r.data);s.body=a,o=Zl(o,i)}return r.signal&&(s.signal=r.signal),r.withCredentials&&(s.credentials="include"),s.headers=o,s})(n))),e)}var DA=Xe(285);const Ci=e=>{if(typeof e!="string")throw new TypeError("invalid pattern");if(e.length>65536)throw new TypeError("pattern is too long")},OA={"[:alnum:]":["\\p{L}\\p{Nl}\\p{Nd}",!0],"[:alpha:]":["\\p{L}\\p{Nl}",!0],"[:ascii:]":["\\x00-\\x7f",!1],"[:blank:]":["\\p{Zs}\\t",!0],"[:cntrl:]":["\\p{Cc}",!0],"[:digit:]":["\\p{Nd}",!0],"[:graph:]":["\\p{Z}\\p{C}",!0,!0],"[:lower:]":["\\p{Ll}",!0],"[:print:]":["\\p{C}",!0],"[:punct:]":["\\p{P}",!0],"[:space:]":["\\p{Z}\\t\\r\\n\\v\\f",!0],"[:upper:]":["\\p{Lu}",!0],"[:word:]":["\\p{L}\\p{Nl}\\p{Nd}\\p{Pc}",!0],"[:xdigit:]":["A-Fa-f0-9",!1]},ds=e=>e.replace(/[[\]\\-]/g,"\\$&"),Ih=e=>e.join(""),PA=(e,t)=>{const n=t;if(e.charAt(n)!=="[")throw new Error("not in a brace expression");const r=[],o=[];let s=n+1,a=!1,i=!1,u=!1,c=!1,l=n,d="";e:for(;sd?r.push(ds(d)+"-"+ds(f)):f===d&&r.push(ds(f)),d="",s++):e.startsWith("-]",s+1)?(r.push(ds(f+"-")),s+=2):e.startsWith("-",s+1)?(d=f,s+=2):(r.push(ds(f)),s++)}else u=!0,s++}else c=!0,s++}if(l1&&arguments[1]!==void 0?arguments[1]:{};return t?e.replace(/\[([^\/\\])\]/g,"$1"):e.replace(/((?!\\).|^)\[([^\/\\])\]/g,"$1$2").replace(/\\([^\/])/g,"$1")};var Kt;const BA=new Set(["!","?","+","*","@"]),Yl=e=>BA.has(e),Mh=e=>Yl(e.type),$A=new Map([["!",["@"]],["?",["?","@"]],["@",["@"]],["*",["*","+","?","@"]],["+",["+","@"]]]),RA=new Map([["!",["?"]],["@",["?"]],["+",["?","*"]]]),FA=new Map([["!",["?","@"]],["?",["?","@"]],["@",["?","@"]],["*",["*","+","?","@"]],["+",["+","@","?","*"]]]),zh=new Map([["!",new Map([["!","@"]])],["?",new Map([["*","*"],["+","*"]])],["@",new Map([["!","!"],["?","?"],["@","@"],["*","*"],["+","+"]])],["+",new Map([["?","*"],["*","*"]])]]),Ju="(?!\\.)",LA=new Set(["[","."]),IA=new Set(["..","."]),MA=new Set("().*{}+?[]^$\\!"),Ic="[^/]",jh=Ic+"*?",Uh=Ic+"+?";class Mc{type;#n;#r;#o=!1;#e=[];#t;#i;#l;#u=!1;#s;#a;#c=!1;constructor(t,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.type=t,t&&(this.#r=!0),this.#t=n,this.#n=this.#t?this.#t.#n:this,this.#s=this.#n===this?r:this.#n.#s,this.#l=this.#n===this?[]:this.#n.#l,t!=="!"||this.#n.#u||this.#l.push(this),this.#i=this.#t?this.#t.#e.length:0}get hasMagic(){if(this.#r!==void 0)return this.#r;for(const t of this.#e)if(typeof t!="string"&&(t.type||t.hasMagic))return this.#r=!0;return this.#r}toString(){return this.#a!==void 0?this.#a:this.type?this.#a=this.type+"("+this.#e.map((t=>String(t))).join("|")+")":this.#a=this.#e.map((t=>String(t))).join("")}#v(){if(this!==this.#n)throw new Error("should only call on root");if(this.#u)return this;let t;for(this.toString(),this.#u=!0;t=this.#l.pop();){if(t.type!=="!")continue;let n=t,r=n.#t;for(;r;){for(let o=n.#i+1;!r.type&&otypeof n=="string"?n:n.toJSON())):[this.type,...this.#e.map((n=>n.toJSON()))];return this.isStart()&&!this.type&&t.unshift([]),this.isEnd()&&(this===this.#n||this.#n.#u&&this.#t?.type==="!")&&t.push({}),t}isStart(){if(this.#n===this)return!0;if(!this.#t?.isStart())return!1;if(this.#i===0)return!0;const t=this.#t;for(let n=0;n1&&arguments[1]!==void 0?arguments[1]:$A;if(!t||typeof t!="object"||t.type!==null||t.#e.length!==1||this.type===null)return!1;const r=t.#e[0];return!(!r||typeof r!="object"||r.type===null)&&this.#p(r.type,n)}#p(t){return!!(arguments.length>1&&arguments[1]!==void 0?arguments[1]:FA).get(this.type)?.includes(t)}#b(t,n){const r=t.#e[0],o=new Kt(null,r,this.options);o.#e.push(""),r.push(o),this.#g(t,n)}#g(t,n){const r=t.#e[0];this.#e.splice(n,1,...r.#e);for(const o of r.#e)typeof o=="object"&&(o.#t=this);this.#a=void 0}#E(t){return!!zh.get(this.type)?.has(t)}#w(t){if(!t||typeof t!="object"||t.type!==null||t.#e.length!==1||this.type===null||this.#e.length!==1)return!1;const n=t.#e[0];return!(!n||typeof n!="object"||n.type===null)&&this.#E(n.type)}#C(t){const n=zh.get(this.type),r=t.#e[0],o=n?.get(r.type);if(!o)return!1;this.#e=r.#e;for(const s of this.#e)typeof s=="object"&&(s.#t=this);this.type=o,this.#a=void 0,this.#c=!1}#h(){if(Mh(this)){let t=0,n=!1;do{n=!0;for(let r=0;r1&&arguments[1]!==void 0?arguments[1]:{};const r=new Kt(null,void 0,n);return Kt.#d(t,r,0,n,0),r}toMMPattern(){if(this!==this.#n)return this.#n.toMMPattern();const t=this.toString(),[n,r,o,s]=this.toRegExpSource();if(!(o||this.#r||this.#s.nocase&&!this.#s.nocaseMagicOnly&&t.toUpperCase()!==t.toLowerCase()))return r;const a=(this.#s.nocase?"i":"")+(s?"u":"");return Object.assign(new RegExp(`^${n}$`,a),{_src:n,_glob:t})}get options(){return this.#s}toRegExpSource(t){const n=t??!!this.#s.dot;if(this.#n===this&&(this.#h(),this.#v()),!Mh(this)){const u=this.isStart()&&this.isEnd(),c=this.#e.map((p=>{const[h,g,f,m]=typeof p=="string"?Kt.#_(p,this.#r,u):p.toRegExpSource(t);return this.#r=this.#r||f,this.#o=this.#o||m,h})).join("");let l="";if(this.isStart()&&typeof this.#e[0]=="string"&&(this.#e.length!==1||!IA.has(this.#e[0]))){const p=LA,h=n&&p.has(c.charAt(0))||c.startsWith("\\.")&&p.has(c.charAt(2))||c.startsWith("\\.\\.")&&p.has(c.charAt(4)),g=!n&&!t&&p.has(c.charAt(0));l=h?"(?!(?:^|/)\\.\\.?(?:$|/))":g?Ju:""}let d="";return this.isEnd()&&this.#n.#u&&this.#t?.type==="!"&&(d="(?:$|\\/)"),[l+c+d,Es(c),this.#r=!!this.#r,this.#o]}const r=this.type==="*"||this.type==="+",o=this.type==="!"?"(?:(?!(?:":"(?:";let s=this.#m(n);if(this.isStart()&&this.isEnd()&&!s&&this.type!=="!"){const u=this.toString(),c=this;return c.#e=[u],c.type=null,c.#r=void 0,[u,Es(this.toString()),!1,!1]}let a=!r||t||n?"":this.#m(!0);a===s&&(a=""),a&&(s=`(?:${s})(?:${a})*?`);let i="";return i=this.type==="!"&&this.#c?(this.isStart()&&!n?Ju:"")+Uh:o+s+(this.type==="!"?"))"+(!this.isStart()||n||t?"":Ju)+jh+")":this.type==="@"?")":this.type==="?"?")?":this.type==="+"&&a?")":this.type==="*"&&a?")?":`)${this.type}`),[i,Es(s),this.#r=!!this.#r,this.#o]}#m(t){return this.#e.map((n=>{if(typeof n=="string")throw new Error("string type in extglob ast??");const[r,o,s,a]=n.toRegExpSource(t);return this.#o=this.#o||a,r})).filter((n=>!(this.isStart()&&this.isEnd()&&!n))).join("|")}static#_(t,n){let r=arguments.length>2&&arguments[2]!==void 0&&arguments[2],o=!1,s="",a=!1,i=!1;for(let u=0;u2&&arguments[2]!==void 0?arguments[2]:{};return Ci(t),!(!n.nocomment&&t.charAt(0)==="#")&&new _i(t,n).match(e)},zA=/^\*+([^+@!?\*\[\(]*)$/,jA=e=>t=>!t.startsWith(".")&&t.endsWith(e),UA=e=>t=>t.endsWith(e),HA=e=>(e=e.toLowerCase(),t=>!t.startsWith(".")&&t.toLowerCase().endsWith(e)),VA=e=>(e=e.toLowerCase(),t=>t.toLowerCase().endsWith(e)),GA=/^\*+\.\*+$/,WA=e=>!e.startsWith(".")&&e.includes("."),qA=e=>e!=="."&&e!==".."&&e.includes("."),KA=/^\.\*+$/,XA=e=>e!=="."&&e!==".."&&e.startsWith("."),ZA=/^\*+$/,JA=e=>e.length!==0&&!e.startsWith("."),YA=e=>e.length!==0&&e!=="."&&e!=="..",QA=/^\?+([^+@!?\*\[\(]*)?$/,eS=e=>{let[t,n=""]=e;const r=Om([t]);return n?(n=n.toLowerCase(),o=>r(o)&&o.toLowerCase().endsWith(n)):r},tS=e=>{let[t,n=""]=e;const r=Pm([t]);return n?(n=n.toLowerCase(),o=>r(o)&&o.toLowerCase().endsWith(n)):r},nS=e=>{let[t,n=""]=e;const r=Pm([t]);return n?o=>r(o)&&o.endsWith(n):r},rS=e=>{let[t,n=""]=e;const r=Om([t]);return n?o=>r(o)&&o.endsWith(n):r},Om=e=>{let[t]=e;const n=t.length;return r=>r.length===n&&!r.startsWith(".")},Pm=e=>{let[t]=e;const n=t.length;return r=>r.length===n&&r!=="."&&r!==".."},Bm=typeof to=="object"&&to?typeof qu=="object"&&qu&&qu.__MINIMATCH_TESTING_PLATFORM__||to.platform:"posix";Ft.sep=Bm==="win32"?"\\":"/";const Ot=Symbol("globstar **");Ft.GLOBSTAR=Ot,Ft.filter=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return n=>Ft(n,e,t)};const sn=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Object.assign({},e,t)};Ft.defaults=e=>{if(!e||typeof e!="object"||!Object.keys(e).length)return Ft;const t=Ft;return Object.assign((function(n,r){return t(n,r,sn(e,arguments.length>2&&arguments[2]!==void 0?arguments[2]:{}))}),{Minimatch:class extends t.Minimatch{constructor(n){super(n,sn(e,arguments.length>1&&arguments[1]!==void 0?arguments[1]:{}))}static defaults(n){return t.defaults(sn(e,n)).Minimatch}},AST:class extends t.AST{constructor(n,r){super(n,r,sn(e,arguments.length>2&&arguments[2]!==void 0?arguments[2]:{}))}static fromGlob(n){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return t.AST.fromGlob(n,sn(e,r))}},unescape:function(n){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return t.unescape(n,sn(e,r))},escape:function(n){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return t.escape(n,sn(e,r))},filter:function(n){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return t.filter(n,sn(e,r))},defaults:n=>t.defaults(sn(e,n)),makeRe:function(n){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return t.makeRe(n,sn(e,r))},braceExpand:function(n){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return t.braceExpand(n,sn(e,r))},match:function(n,r){let o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return t.match(n,r,sn(e,o))},sep:t.sep,GLOBSTAR:Ot})};const $m=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Ci(e),t.nobrace||!/\{(?:(?!\{).)*\}/.test(e)?[e]:DA(e)};Ft.braceExpand=$m,Ft.makeRe=function(e){return new _i(e,arguments.length>1&&arguments[1]!==void 0?arguments[1]:{}).makeRe()},Ft.match=function(e,t){const n=new _i(t,arguments.length>2&&arguments[2]!==void 0?arguments[2]:{});return e=e.filter((r=>n.match(r))),n.options.nonull&&!e.length&&e.push(t),e};const Hh=/[?*]|[+@!]\(.*?\)|\[|\]/;class _i{options;set;pattern;windowsPathsNoEscape;nonegate;negate;comment;empty;preserveMultipleSlashes;partial;globSet;globParts;nocase;isWindows;platform;windowsNoMagicRoot;maxGlobstarRecursion;regexp;constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};Ci(t),n=n||{},this.options=n,this.maxGlobstarRecursion=n.maxGlobstarRecursion??200,this.pattern=t,this.platform=n.platform||Bm,this.isWindows=this.platform==="win32",this.windowsPathsNoEscape=!!n.windowsPathsNoEscape||n.allowWindowsEscape===!1,this.windowsPathsNoEscape&&(this.pattern=this.pattern.replace(/\\/g,"/")),this.preserveMultipleSlashes=!!n.preserveMultipleSlashes,this.regexp=null,this.negate=!1,this.nonegate=!!n.nonegate,this.comment=!1,this.empty=!1,this.partial=!!n.partial,this.nocase=!!this.options.nocase,this.windowsNoMagicRoot=n.windowsNoMagicRoot!==void 0?n.windowsNoMagicRoot:!(!this.isWindows||!this.nocase),this.globSet=[],this.globParts=[],this.set=[],this.make()}hasMagic(){if(this.options.magicalBraces&&this.set.length>1)return!0;for(const t of this.set)for(const n of t)if(typeof n!="string")return!0;return!1}debug(){}make(){const t=this.pattern,n=this.options;if(!n.nocomment&&t.charAt(0)==="#")return void(this.comment=!0);if(!t)return void(this.empty=!0);this.parseNegate(),this.globSet=[...new Set(this.braceExpand())],n.debug&&(this.debug=function(){return console.error(...arguments)}),this.debug(this.pattern,this.globSet);const r=this.globSet.map((s=>this.slashSplit(s)));this.globParts=this.preprocess(r),this.debug(this.pattern,this.globParts);let o=this.globParts.map(((s,a,i)=>{if(this.isWindows&&this.windowsNoMagicRoot){const u=!(s[0]!==""||s[1]!==""||s[2]!=="?"&&Hh.test(s[2])||Hh.test(s[3])),c=/^[a-z]:/i.test(s[0]);if(u)return[...s.slice(0,4),...s.slice(4).map((l=>this.parse(l)))];if(c)return[s[0],...s.slice(1).map((l=>this.parse(l)))]}return s.map((u=>this.parse(u)))}));if(this.debug(this.pattern,o),this.set=o.filter((s=>s.indexOf(!1)===-1)),this.isWindows)for(let s=0;s=2?(t=this.firstPhasePreProcess(t),t=this.secondPhasePreProcess(t)):t=n>=1?this.levelOneOptimize(t):this.adjascentGlobstarOptimize(t),t}adjascentGlobstarOptimize(t){return t.map((n=>{let r=-1;for(;(r=n.indexOf("**",r+1))!==-1;){let o=r;for(;n[o+1]==="**";)o++;o!==r&&n.splice(r,o-r)}return n}))}levelOneOptimize(t){return t.map((n=>(n=n.reduce(((r,o)=>{const s=r[r.length-1];return o==="**"&&s==="**"?r:o===".."&&s&&s!==".."&&s!=="."&&s!=="**"?(r.pop(),r):(r.push(o),r)}),[])).length===0?[""]:n))}levelTwoFileOptimize(t){Array.isArray(t)||(t=this.slashSplit(t));let n=!1;do{if(n=!1,!this.preserveMultipleSlashes){for(let o=1;oo&&r.splice(o+1,a-o);let i=r[o+1];const u=r[o+2],c=r[o+3];if(i!==".."||!u||u==="."||u===".."||!c||c==="."||c==="..")continue;n=!0,r.splice(o,1);const l=r.slice(0);l[o]="**",t.push(l),o--}if(!this.preserveMultipleSlashes){for(let a=1;an.length))}partsMatch(t,n){let r=arguments.length>2&&arguments[2]!==void 0&&arguments[2],o=0,s=0,a=[],i="";for(;o2&&arguments[2]!==void 0&&arguments[2],o=0,s=0;if(this.isWindows){const i=typeof t[0]=="string"&&/^[a-z]:$/i.test(t[0]),u=!i&&t[0]===""&&t[1]===""&&t[2]==="?"&&/^[a-z]:$/i.test(t[3]),c=typeof n[0]=="string"&&/^[a-z]:$/i.test(n[0]),l=u?3:i?0:void 0,d=!c&&n[0]===""&&n[1]===""&&n[2]==="?"&&typeof n[3]=="string"&&/^[a-z]:$/i.test(n[3])?3:c?0:void 0;if(typeof l=="number"&&typeof d=="number"){const[p,h]=[t[l],n[d]];p.toLowerCase()===h.toLowerCase()&&(n[d]=p,s=d,o=l)}}const{optimizationLevel:a=1}=this.options;return a>=2&&(t=this.levelTwoFileOptimize(t)),n.includes(Ot)?this.#n(t,n,r,o,s):this.#o(t,n,r,o,s)}#n(t,n,r,o,s){const a=n.indexOf(Ot,s),i=n.lastIndexOf(Ot),[u,c,l]=r?[n.slice(s,a),n.slice(a+1),[]]:[n.slice(s,a),n.slice(a+1,i),n.slice(i+1)];if(u.length){const y=t.slice(o,o+u.length);if(!this.#o(y,u,r,0,0))return!1;o+=u.length}let d=0;if(l.length){if(l.length+o>t.length)return!1;let y=t.length-l.length;if(this.#o(t,l,r,y,0))d=l.length;else{if(t[t.length-1]!==""||o+l.length===t.length||(y--,!this.#o(t,l,r,y,0)))return!1;d=l.length+1}}if(!c.length){let y=!!d;for(let w=o;w{const c=u.map((l=>{if(l instanceof RegExp)for(const d of l.flags.split(""))o.add(d);return typeof l=="string"?l.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"):l===Ot?Ot:l._src}));return c.forEach(((l,d)=>{const p=c[d+1],h=c[d-1];l===Ot&&h!==Ot&&(h===void 0?p!==void 0&&p!==Ot?c[d+1]="(?:\\/|"+r+"\\/)?"+p:c[d]=r:p===void 0?c[d-1]=h+"(?:\\/|"+r+")?":p!==Ot&&(c[d-1]=h+"(?:\\/|\\/"+r+"\\/)"+p,c[d+1]=Ot))})),c.filter((l=>l!==Ot)).join("/")})).join("|");const[a,i]=t.length>1?["(?:",")"]:["",""];s="^"+a+s+i+"$",this.negate&&(s="^(?!"+s+").+$");try{this.regexp=new RegExp(s,[...o].join(""))}catch{this.regexp=!1}return this.regexp}slashSplit(t){return this.preserveMultipleSlashes?t.split("/"):this.isWindows&&/^\/\/[^\/]+/.test(t)?["",...t.split(/\/+/)]:t.split(/\/+/)}match(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.partial;if(this.debug("match",t,this.pattern),this.comment)return!1;if(this.empty)return t==="";if(t==="/"&&n)return!0;const r=this.options;this.isWindows&&(t=t.split("\\").join("/"));const o=this.slashSplit(t);this.debug(this.pattern,"split",o);const s=this.set;this.debug(this.pattern,"set",s);let a=o[o.length-1];if(!a)for(let i=o.length-2;!a&&i>=0;i--)a=o[i];for(let i=0;i1&&arguments[1]!==void 0?arguments[1]:""}Invalid response: ${e.status} ${e.statusText}`);return t.status=e.status,t.response=e,t}function vt(e,t){const{status:n}=t;if(n===401&&e.digest)return t;if(n>=400)throw zc(t);return t}function qo(e,t){return arguments.length>2&&arguments[2]!==void 0&&arguments[2]?{data:t,headers:e.headers?SA(e.headers):{},status:e.status,statusText:e.statusText}:t}Ft.AST=Mc,Ft.Minimatch=_i,Ft.escape=function(e){let{windowsPathsNoEscape:t=!1}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return t?e.replace(/[?*()[\]]/g,"[$&]"):e.replace(/[?*()[\]\\]/g,"\\$&")},Ft.unescape=Es;const oS=(Vh=function(e,t,n){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const o=mt({url:rt(e.remoteURL,nt(t)),method:"COPY",headers:{Destination:rt(e.remoteURL,nt(n)),Overwrite:r.overwrite===!1?"F":"T",Depth:r.shallow?"0":"infinity"}},e,r);return a=function(i){vt(e,i)},(s=gt(o,e))&&s.then||(s=Promise.resolve(s)),a?s.then(a):s;var s,a},function(){for(var e=[],t=0;tjc.includes(e)?"__"+e:e,aS={preserveOrder:!1,attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,removeNSPrefix:!1,allowBooleanAttributes:!1,parseTagValue:!0,parseAttributeValue:!1,trimValues:!0,cdataPropName:!1,numberParseOptions:{hex:!0,leadingZeros:!0,eNotation:!0},tagValueProcessor:function(e,t){return t},attributeValueProcessor:function(e,t){return t},stopNodes:[],alwaysCreateTextNode:!1,isArray:()=>!1,commentPropName:!1,unpairedTags:[],processEntities:!0,htmlEntities:!1,entityDecoder:null,ignoreDeclaration:!1,ignorePiTags:!1,transformTagName:!1,transformAttributeName:!1,updateTag:function(e,t,n){return e},captureMetaData:!1,maxNestedTags:100,strictReservedNames:!0,jPath:!0,onDangerousProperty:Lm};function iS(e,t){if(typeof e!="string")return;const n=e.toLowerCase();if(jc.some((r=>n===r.toLowerCase())))throw new Error(`[SECURITY] Invalid ${t}: "${e}" is a reserved JavaScript keyword that could cause prototype pollution`);if(Fm.some((r=>n===r.toLowerCase())))throw new Error(`[SECURITY] Invalid ${t}: "${e}" is a reserved JavaScript keyword that could cause prototype pollution`)}function Im(e,t){return typeof e=="boolean"?{enabled:e,maxEntitySize:1e4,maxExpansionDepth:1e4,maxTotalExpansions:1/0,maxExpandedLength:1e5,maxEntityCount:1e3,allowedTags:null,tagFilter:null,appliesTo:"all"}:typeof e=="object"&&e!==null?{enabled:e.enabled!==!1,maxEntitySize:Math.max(1,e.maxEntitySize??1e4),maxExpansionDepth:Math.max(1,e.maxExpansionDepth??1e4),maxTotalExpansions:Math.max(1,e.maxTotalExpansions??1/0),maxExpandedLength:Math.max(1,e.maxExpandedLength??1e5),maxEntityCount:Math.max(1,e.maxEntityCount??1e3),allowedTags:e.allowedTags??null,tagFilter:e.tagFilter??null,appliesTo:e.appliesTo??"all"}:Im(!0)}const uS=function(e){const t=Object.assign({},aS,e),n=[{value:t.attributeNamePrefix,name:"attributeNamePrefix"},{value:t.attributesGroupName,name:"attributesGroupName"},{value:t.textNodeName,name:"textNodeName"},{value:t.cdataPropName,name:"cdataPropName"},{value:t.commentPropName,name:"commentPropName"}];for(const{value:r,name:o}of n)r&&iS(r,o);return t.onDangerousProperty===null&&(t.onDangerousProperty=Lm),t.processEntities=Im(t.processEntities,t.htmlEntities),t.unpairedTagsSet=new Set(t.unpairedTags),t.stopNodes&&Array.isArray(t.stopNodes)&&(t.stopNodes=t.stopNodes.map((r=>typeof r=="string"&&r.startsWith("*.")?".."+r.substring(2):r))),t};let Ql;Ql=typeof Symbol!="function"?"@@xmlMetadata":Symbol("XML Node Metadata");class wr{constructor(t){this.tagname=t,this.child=[],this[":@"]=Object.create(null)}add(t,n){t==="__proto__"&&(t="#__proto__"),this.child.push({[t]:n})}addChild(t,n){t.tagname==="__proto__"&&(t.tagname="#__proto__"),t[":@"]&&Object.keys(t[":@"]).length>0?this.child.push({[t.tagname]:t.child,":@":t[":@"]}):this.child.push({[t.tagname]:t.child}),n!==void 0&&(this.child[this.child.length-1][Ql]={startIndex:n})}static getMetaDataSymbol(){return Ql}}class lS{constructor(t){this.suppressValidationErr=!t,this.options=t}readDocType(t,n){const r=Object.create(null);let o=0;if(t[n+3]!=="O"||t[n+4]!=="C"||t[n+5]!=="T"||t[n+6]!=="Y"||t[n+7]!=="P"||t[n+8]!=="E")throw new Error("Invalid Tag instead of DOCTYPE");{n+=9;let s=1,a=!1,i=!1,u="";for(;n"){if(i?t[n-1]==="-"&&t[n-2]==="-"&&(i=!1,s--):s--,s===0)break}else t[n]==="["?a=!0:u+=t[n];else{if(a&&Vr(t,"!ENTITY",n)){let c,l;if(n+=7,[c,l,n]=this.readEntityExp(t,n+1,this.suppressValidationErr),l.indexOf("&")===-1){if(this.options.enabled!==!1&&this.options.maxEntityCount!=null&&o>=this.options.maxEntityCount)throw new Error(`Entity count (${o+1}) exceeds maximum allowed (${this.options.maxEntityCount})`);r[c]=l,o++}}else if(a&&Vr(t,"!ELEMENT",n)){n+=8;const{index:c}=this.readElementExp(t,n+1);n=c}else if(a&&Vr(t,"!ATTLIST",n))n+=8;else if(a&&Vr(t,"!NOTATION",n)){n+=9;const{index:c}=this.readNotationExp(t,n+1,this.suppressValidationErr);n=c}else{if(!Vr(t,"!--",n))throw new Error("Invalid DOCTYPE");i=!0}s++,u=""}if(s!==0)throw new Error("Unclosed DOCTYPE")}return{entities:r,i:n}}readEntityExp(t,n){const r=n=qt(t,n);for(;nthis.options.maxEntitySize)throw new Error(`Entity "${o}" size (${s.length}) exceeds maximum allowed size (${this.options.maxEntitySize})`);return[o,s,--n]}readNotationExp(t,n){const r=n=qt(t,n);for(;n{for(;t0?t[t.length-1].tag:void 0}getCurrentNamespace(){const t=this._matcher.path;return t.length>0?t[t.length-1].namespace:void 0}getAttrValue(t){const n=this._matcher.path;if(n.length!==0)return n[n.length-1].values?.[t]}hasAttr(t){const n=this._matcher.path;if(n.length===0)return!1;const r=n[n.length-1];return r.values!==void 0&&t in r.values}getPosition(){const t=this._matcher.path;return t.length===0?-1:t[t.length-1].position??0}getCounter(){const t=this._matcher.path;return t.length===0?-1:t[t.length-1].counter??0}getIndex(){return this.getPosition()}getDepth(){return this._matcher.path.length}toString(t){let n=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1];return this._matcher.toString(t,n)}toArray(){return this._matcher.path.map((t=>t.tag))}matches(t){return this._matcher.matches(t)}matchesAny(t){return t.matchesAny(this._matcher)}}class Uc{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.separator=t.separator||".",this.path=[],this.siblingStacks=[],this._pathStringCache=null,this._view=new fS(this)}push(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;this._pathStringCache=null,this.path.length>0&&(this.path[this.path.length-1].values=void 0);const o=this.path.length;this.siblingStacks[o]||(this.siblingStacks[o]=new Map);const s=this.siblingStacks[o],a=r?`${r}:${t}`:t,i=s.get(a)||0;let u=0;for(const l of s.values())u+=l;s.set(a,i+1);const c={tag:t,position:u,counter:i};r!=null&&(c.namespace=r),n!=null&&(c.values=n),this.path.push(c)}pop(){if(this.path.length===0)return;this._pathStringCache=null;const t=this.path.pop();return this.siblingStacks.length>this.path.length+1&&(this.siblingStacks.length=this.path.length+1),t}updateCurrent(t){if(this.path.length>0){const n=this.path[this.path.length-1];t!=null&&(n.values=t)}}getCurrentTag(){return this.path.length>0?this.path[this.path.length-1].tag:void 0}getCurrentNamespace(){return this.path.length>0?this.path[this.path.length-1].namespace:void 0}getAttrValue(t){if(this.path.length!==0)return this.path[this.path.length-1].values?.[t]}hasAttr(t){if(this.path.length===0)return!1;const n=this.path[this.path.length-1];return n.values!==void 0&&t in n.values}getPosition(){return this.path.length===0?-1:this.path[this.path.length-1].position??0}getCounter(){return this.path.length===0?-1:this.path[this.path.length-1].counter??0}getIndex(){return this.getPosition()}getDepth(){return this.path.length}toString(t){let n=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1];const r=t||this.separator;if(r===this.separator&&n===!0){if(this._pathStringCache!==null)return this._pathStringCache;const o=this.path.map((s=>s.namespace?`${s.namespace}:${s.tag}`:s.tag)).join(r);return this._pathStringCache=o,o}return this.path.map((o=>n&&o.namespace?`${o.namespace}:${o.tag}`:o.tag)).join(r)}toArray(){return this.path.map((t=>t.tag))}reset(){this._pathStringCache=null,this.path=[],this.siblingStacks=[]}matches(t){const n=t.segments;return n.length!==0&&(t.hasDeepWildcard()?this._matchWithDeepWildcard(n):this._matchSimple(n))}_matchSimple(t){if(this.path.length!==t.length)return!1;for(let n=0;n=0&&n>=0;){const o=t[r];if(o.type==="deep-wildcard"){if(r--,r<0)return!0;const s=t[r];let a=!1;for(let i=n;i>=0;i--)if(this._matchSegment(s,this.path[i],i===this.path.length-1)){n=i-1,r--,a=!0;break}if(!a)return!1}else{if(!this._matchSegment(o,this.path[n],n===this.path.length-1))return!1;n--,r--}}return r<0}_matchSegment(t,n,r){if(t.tag!=="*"&&t.tag!==n.tag||t.namespace!==void 0&&t.namespace!=="*"&&t.namespace!==n.namespace||t.attrName!==void 0&&(!r||!n.values||!(t.attrName in n.values)||t.attrValue!==void 0&&String(n.values[t.attrName])!==String(t.attrValue)))return!1;if(t.position!==void 0){if(!r)return!1;const o=n.counter??0;if(t.position==="first"&&o!==0||t.position==="odd"&&o%2!=1||t.position==="even"&&o%2!=0||t.position==="nth"&&o!==t.positionValue)return!1}return!0}matchesAny(t){return t.matchesAny(this)}snapshot(){return{path:this.path.map((t=>({...t}))),siblingStacks:this.siblingStacks.map((t=>new Map(t)))}}restore(t){this._pathStringCache=null,this.path=t.path.map((n=>({...n}))),this.siblingStacks=t.siblingStacks.map((n=>new Map(n)))}readOnly(){return this._view}}class Uo{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0;this.pattern=t,this.separator=n.separator||".",this.segments=this._parse(t),this.data=r,this._hasDeepWildcard=this.segments.some((o=>o.type==="deep-wildcard")),this._hasAttributeCondition=this.segments.some((o=>o.attrName!==void 0)),this._hasPositionSelector=this.segments.some((o=>o.position!==void 0))}_parse(t){const n=[];let r=0,o="";for(;r",lt:"<",quot:'"'},vS={nbsp:" ",copy:"©",reg:"®",trade:"™",mdash:"—",ndash:"–",hellip:"…",laquo:"«",raquo:"»",lsquo:"‘",rsquo:"’",ldquo:"“",rdquo:"”",bull:"•",para:"¶",sect:"§",deg:"°",frac12:"½",frac14:"¼",frac34:"¾"},yS=new Set("!?\\\\/[]$%{}^&*()<>|+");function Wh(e){if(e[0]==="#")throw new Error(`[EntityReplacer] Invalid character '#' in entity name: "${e}"`);for(const t of e)if(yS.has(t))throw new Error(`[EntityReplacer] Invalid character '${t}' in entity name: "${e}"`);return e}function Yu(){const e=Object.create(null);for(var t=arguments.length,n=new Array(t),r=0;r0&&arguments[0]!==void 0?arguments[0]:{};var n;this._limit=t.limit||{},this._maxTotalExpansions=this._limit.maxTotalExpansions||0,this._maxExpandedLength=this._limit.maxExpandedLength||0,this._postCheck=typeof t.postCheck=="function"?t.postCheck:o=>o,this._limitTiers=(n=this._limit.applyLimitsTo??Gr)&&n!==Gr?n===Qu?new Set([Qu]):n===Ba?new Set([Ba]):Array.isArray(n)?new Set(n):new Set([Gr]):new Set([Gr]),this._numericAllowed=t.numericAllowed??!0,this._baseMap=Yu(Mm,t.namedEntities||null),this._externalMap=Object.create(null),this._inputMap=Object.create(null),this._totalExpansions=0,this._expandedLength=0,this._removeSet=new Set(t.remove&&Array.isArray(t.remove)?t.remove:[]),this._leaveSet=new Set(t.leave&&Array.isArray(t.leave)?t.leave:[]);const r=(function(o){if(!o)return{xmlVersion:1,onLevel:en.allow,nullLevel:en.remove};const s=o.xmlVersion===1.1?1.1:1,a=en[o.onNCR]??en.allow,i=en[o.nullNCR]??en.remove;return{xmlVersion:s,onLevel:a,nullLevel:Math.max(i,en.remove)}})(t.ncr);this._ncrXmlVersion=r.xmlVersion,this._ncrOnLevel=r.onLevel,this._ncrNullLevel=r.nullLevel}setExternalEntities(t){if(t)for(const n of Object.keys(t))Wh(n);this._externalMap=Yu(t)}addExternalEntity(t,n){Wh(t),typeof n=="string"&&n.indexOf("&")===-1&&(this._externalMap[t]=n)}addInputEntities(t){this._totalExpansions=0,this._expandedLength=0,this._inputMap=Yu(t)}reset(){return this._inputMap=Object.create(null),this._totalExpansions=0,this._expandedLength=0,this}setXmlVersion(t){this._ncrXmlVersion=t===1.1?1.1:1}decode(t){if(typeof t!="string"||t.length===0)return t;const n=t,r=[],o=t.length;let s=0,a=0;const i=this._maxTotalExpansions>0,u=this._maxExpandedLength>0,c=i||u;for(;a=o||t.charCodeAt(d)!==59){a++;continue}const p=t.slice(a+1,d);if(p.length===0){a++;continue}let h,g;if(this._removeSet.has(p))h="",g===void 0&&(g=Gr);else{if(this._leaveSet.has(p)){a++;continue}if(p.charCodeAt(0)===35){const f=this._resolveNCR(p);if(f===void 0){a++;continue}h=f,g=Ba}else{const f=this._resolveName(p);h=f?.value,g=f?.tier}}if(h!==void 0){if(a>s&&r.push(t.slice(s,a)),r.push(h),s=d+1,a=s,c&&this._tierCounts(g)){if(i&&(this._totalExpansions++,this._totalExpansions>this._maxTotalExpansions))throw new Error(`[EntityReplacer] Entity expansion count limit exceeded: ${this._totalExpansions} > ${this._maxTotalExpansions}`);if(u){const f=h.length-(p.length+2);if(f>0&&(this._expandedLength+=f,this._expandedLength>this._maxExpandedLength))throw new Error(`[EntityReplacer] Expanded content length limit exceeded: ${this._expandedLength} > ${this._maxExpandedLength}`)}}}else a++}s=55296&&t<=57343||this._ncrXmlVersion===1&&t>=1&&t<=31&&!bS.has(t)?en.remove:-1}_applyNCRAction(t,n,r){switch(t){case en.allow:return String.fromCodePoint(r);case en.remove:return"";case en.leave:return;case en.throw:throw new Error(`[EntityDecoder] Prohibited numeric character reference &${n}; (U+${r.toString(16).toUpperCase().padStart(4,"0")})`);default:return String.fromCodePoint(r)}}_resolveNCR(t){const n=t.charCodeAt(1);let r;if(r=n===120||n===88?parseInt(t.slice(2),16):parseInt(t.slice(1),10),Number.isNaN(r)||r<0||r>1114111)return;const o=this._classifyNCR(r);if(!this._numericAllowed&&o0){const n=e.substring(0,t);if(n!=="xmlns")return n}}class CS{constructor(t,n){var r;this.options=t,this.currentNode=null,this.tagsNodeStack=[],this.parseXml=kS,this.parseTextData=_S,this.resolveNameSpace=xS,this.buildAttributesMap=SS,this.isItStopNode=OS,this.replaceEntitiesValue=NS,this.readStopNodeData=BS,this.saveTextToParentTag=DS,this.addChild=TS,this.ignoreAttributesFn=typeof(r=this.options.ignoreAttributes)=="function"?r:Array.isArray(r)?a=>{for(const i of r)if(typeof i=="string"&&a===i||i instanceof RegExp&&i.test(a))return!0}:()=>!1,this.entityExpansionCount=0,this.currentExpandedLength=0;let o={...Mm};this.options.entityDecoder?this.entityDecoder=this.options.entityDecoder:(typeof this.options.htmlEntities=="object"?o=this.options.htmlEntities:this.options.htmlEntities===!0&&(o={...vS,...mS}),this.entityDecoder=new zm({namedEntities:{...o,...n},numericAllowed:this.options.htmlEntities,limit:{maxTotalExpansions:this.options.processEntities.maxTotalExpansions,maxExpandedLength:this.options.processEntities.maxExpandedLength,applyLimitsTo:this.options.processEntities.appliesTo}})),this.matcher=new Uc,this.readonlyMatcher=this.matcher.readOnly(),this.isCurrentNodeStopNode=!1,this.stopNodeExpressionsSet=new gS;const s=this.options.stopNodes;if(s&&s.length>0){for(let a=0;a0)){a||(e=this.replaceEntitiesValue(e,t,n));const u=i.jPath?n.toString():n,c=i.tagValueProcessor(t,e,u,o,s);return c==null?e:typeof c!=typeof e||c!==e?c:i.trimValues||e.trim()===e?jm(e,i.parseTagValue,i.numberParseOptions):e}}function xS(e){if(this.options.removeNSPrefix){const t=e.split(":"),n=e.charAt(0)==="/"?"/":"";if(t[0]==="xmlns")return"";t.length===2&&(e=n+t[1])}return e}const AS=new RegExp(`([^\\s=]+)\\s*(=\\s*(['"])([\\s\\S]*?)\\3)?`,"gm");function SS(e,t,n){let r=arguments.length>3&&arguments[3]!==void 0&&arguments[3];const o=this.options;if(r===!0||o.ignoreAttributes!==!0&&typeof e=="string"){const s=Rm(e,AS),a=s.length,i={},u=new Array(a);let c=!1;const l={};for(let h=0;h",i,"Closing Tag is not closed.");let l=e.substring(i+2,c).trim();if(o.removeNSPrefix){const p=l.indexOf(":");p!==-1&&(l=l.substr(p+1))}l=el(o.transformTagName,l,"",o).tagName,n&&(r=this.saveTextToParentTag(r,n,this.readonlyMatcher));const d=this.matcher.getCurrentTag();if(l&&o.unpairedTagsSet.has(l))throw new Error(`Unpaired tag can not be used as closing tag: `);d&&o.unpairedTagsSet.has(d)&&(this.matcher.pop(),this.tagsNodeStack.pop()),this.matcher.pop(),this.isCurrentNodeStopNode=!1,n=this.tagsNodeStack.pop(),r="",i=c}else if(u===63){let c=ec(e,i,!1,"?>");if(!c)throw new Error("Pi Tag is not closed.");r=this.saveTextToParentTag(r,n,this.readonlyMatcher);const l=this.buildAttributesMap(c.tagExp,this.matcher,c.tagName,!0);if(l){const d=l[this.options.attributeNamePrefix+"version"];this.entityDecoder.setXmlVersion(Number(d)||1)}if(!(o.ignoreDeclaration&&c.tagName==="?xml"||o.ignorePiTags)){const d=new wr(c.tagName);d.add(o.textNodeName,""),c.tagName!==c.tagExp&&c.attrExpPresent&&o.ignoreAttributes!==!0&&(d[":@"]=l),this.addChild(n,d,this.readonlyMatcher,i)}i=c.closeIndex+1}else if(u===33&&e.charCodeAt(i+2)===45&&e.charCodeAt(i+3)===45){const c=Fo(e,"-->",i+4,"Comment is not closed.");if(o.commentPropName){const l=e.substring(i+4,c-2);r=this.saveTextToParentTag(r,n,this.readonlyMatcher),n.add(o.commentPropName,[{[o.textNodeName]:l}])}i=c}else if(u===33&&e.charCodeAt(i+2)===68){const c=s.readDocType(e,i);this.entityDecoder.addInputEntities(c.entities),i=c.i}else if(u===33&&e.charCodeAt(i+2)===91){const c=Fo(e,"]]>",i,"CDATA is not closed.")-2,l=e.substring(i+9,c);r=this.saveTextToParentTag(r,n,this.readonlyMatcher);let d=this.parseTextData(l,n.tagname,this.readonlyMatcher,!0,!1,!0,!0);d==null&&(d=""),o.cdataPropName?n.add(o.cdataPropName,[{[o.textNodeName]:l}]):n.add(o.textNodeName,d),i=c+2}else{let c=ec(e,i,o.removeNSPrefix);if(!c){const C=e.substring(Math.max(0,i-50),Math.min(a,i+50));throw new Error(`readTagExp returned undefined at position ${i}. Context: "${C}"`)}let l=c.tagName;const d=c.rawTagName;let p=c.tagExp,h=c.attrExpPresent,g=c.closeIndex;if({tagName:l,tagExp:p}=el(o.transformTagName,l,p,o),o.strictReservedNames&&(l===o.commentPropName||l===o.cdataPropName||l===o.textNodeName||l===o.attributesGroupName))throw new Error(`Invalid tag name: ${l}`);n&&r&&n.tagname!=="!xml"&&(r=this.saveTextToParentTag(r,n,this.readonlyMatcher,!1));const f=n;f&&o.unpairedTagsSet.has(f.tagname)&&(n=this.tagsNodeStack.pop(),this.matcher.pop());let m=!1;p.length>0&&p.lastIndexOf("/")===p.length-1&&(m=!0,l[l.length-1]==="/"?(l=l.substr(0,l.length-1),p=l):p=p.substr(0,p.length-1),h=l!==p);let v,y=null;v=wS(d),l!==t.tagname&&this.matcher.push(l,{},v),l!==p&&h&&(y=this.buildAttributesMap(p,this.matcher,l),y&&ES(y,o)),l!==t.tagname&&(this.isCurrentNodeStopNode=this.isItStopNode());const w=i;if(this.isCurrentNodeStopNode){let C="";if(m)i=c.closeIndex;else if(o.unpairedTagsSet.has(l))i=c.closeIndex;else{const D=this.readStopNodeData(e,d,g+1);if(!D)throw new Error(`Unexpected end of ${d}`);i=D.i,C=D.tagContent}const x=new wr(l);y&&(x[":@"]=y),x.add(o.textNodeName,C),this.matcher.pop(),this.isCurrentNodeStopNode=!1,this.addChild(n,x,this.readonlyMatcher,w)}else{if(m){({tagName:l,tagExp:p}=el(o.transformTagName,l,p,o));const C=new wr(l);y&&(C[":@"]=y),this.addChild(n,C,this.readonlyMatcher,w),this.matcher.pop(),this.isCurrentNodeStopNode=!1}else{if(o.unpairedTagsSet.has(l)){const C=new wr(l);y&&(C[":@"]=y),this.addChild(n,C,this.readonlyMatcher,w),this.matcher.pop(),this.isCurrentNodeStopNode=!1,i=c.closeIndex;continue}{const C=new wr(l);if(this.tagsNodeStack.length>o.maxNestedTags)throw new Error("Maximum nested tags exceeded");this.tagsNodeStack.push(n),y&&(C[":@"]=y),this.addChild(n,C,this.readonlyMatcher,w),n=C}}r="",i=g}}}else r+=e[i];return t.child};function TS(e,t,n,r){this.options.captureMetaData||(r=void 0);const o=this.options.jPath?n.toString():n,s=this.options.updateTag(t.tagname,o,t[":@"]);s===!1||(typeof s=="string"&&(t.tagname=s),e.addChild(t,r))}function NS(e,t,n){const r=this.options.processEntities;if(!r||!r.enabled)return e;if(r.allowedTags){const o=this.options.jPath?n.toString():n;if(!(Array.isArray(r.allowedTags)?r.allowedTags.includes(t):r.allowedTags(t,o)))return e}if(r.tagFilter){const o=this.options.jPath?n.toString():n;if(!r.tagFilter(t,o))return e}return this.entityDecoder.decode(e)}function DS(e,t,n,r){return e&&(r===void 0&&(r=t.child.length===0),(e=this.parseTextData(e,t.tagname,n,!1,!!t[":@"]&&Object.keys(t[":@"]).length!==0,r))!==void 0&&e!==""&&t.add(this.options.textNodeName,e),e=""),e}function OS(){return this.stopNodeExpressionsSet.size!==0&&this.matcher.matchesAny(this.stopNodeExpressionsSet)}function Fo(e,t,n,r){const o=e.indexOf(t,n);if(o===-1)throw new Error(r);return o+t.length-1}function PS(e,t,n,r){const o=e.indexOf(t,n);if(o===-1)throw new Error(r);return o}function ec(e,t,n){const r=(function(l,d){let p=arguments.length>2&&arguments[2]!==void 0?arguments[2]:">",h=0;const g=l.length,f=p.charCodeAt(0),m=p.length>1?p.charCodeAt(1):-1;let v="",y=d;for(let w=d;w3&&arguments[3]!==void 0?arguments[3]:">");if(!r)return;let o=r.data;const s=r.index,a=o.search(/\s/);let i=o,u=!0;a!==-1&&(i=o.substring(0,a),o=o.substring(a+1).trimStart());const c=i;if(n){const l=i.indexOf(":");l!==-1&&(i=i.substr(l+1),u=i!==r.data.substr(l+1))}return{tagName:i,tagExp:o,closeIndex:s,attrExpPresent:u,rawTagName:c}}function BS(e,t,n){const r=n;let o=1;const s=e.length;for(;n",n,`${t} is not closed`);if(e.substring(n+2,i).trim()===t&&(o--,o===0))return{tagContent:e.substring(r,n),i};n=i}else if(a===63)n=Fo(e,"?>",n+1,"StopNode is not closed.");else if(a===33&&e.charCodeAt(n+2)===45&&e.charCodeAt(n+3)===45)n=Fo(e,"-->",n+3,"StopNode is not closed.");else if(a===33&&e.charCodeAt(n+2)===91)n=Fo(e,"]]>",n,"StopNode is not closed.")-2;else{const i=ec(e,n,">");i&&((i&&i.tagName)===t&&i.tagExp[i.tagExp.length-1]!=="/"&&o++,n=i.closeIndex)}}}function jm(e,t,n){if(t&&typeof e=="string"){const r=e.trim();return r==="true"||r!=="false"&&(function(o){let s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(s=Object.assign({},pS,s),!o||typeof o!="string")return o;let a=o.trim();if(a.length===0||s.skipLike!==void 0&&s.skipLike.test(a))return o;if(a==="0")return 0;if(s.hex&&cS.test(a))return(function(u){if(parseInt)return parseInt(u,16);if(Number.parseInt)return Number.parseInt(u,16);if(window&&window.parseInt)return window.parseInt(u,16);throw new Error("parseInt, Number.parseInt, window.parseInt are not supported")})(a);if(isFinite(a)){if(a.includes("e")||a.includes("E"))return(function(u,c,l){if(!l.eNotation)return u;const d=c.match(hS);if(d){let p=d[1]||"";const h=d[3].indexOf("e")===-1?"E":"e",g=d[2],f=p?u[g.length+1]===h:u[g.length]===h;return g.length>1&&f?u:(g.length!==1||!d[3].startsWith(`.${h}`)&&d[3][0]!==h)&&g.length>0?l.leadingZeros&&!f?(c=(d[1]||"")+d[3],Number(c)):u:Number(c)}return u})(o,a,s);{const u=dS.exec(a);if(u){const c=u[1]||"",l=u[2];let d=((i=u[3])&&i.indexOf(".")!==-1&&((i=i.replace(/0+$/,""))==="."?i="0":i[0]==="."?i="0"+i:i[i.length-1]==="."&&(i=i.substring(0,i.length-1))),i);const p=c?o[l.length+1]===".":o[l.length]===".";if(!s.leadingZeros&&(l.length>1||l.length===1&&!p))return o;{const h=Number(a),g=String(h);if(h===0)return h;if(g.search(/[eE]/)!==-1)return s.eNotation?h:o;if(a.indexOf(".")!==-1)return g==="0"||g===d||g===`${c}${d}`?h:o;let f=l?d:a;return l?f===g||c+f===g?h:o:f===g||f===c+g?h:o}}return o}}var i;return(function(u,c,l){const d=c===1/0;switch(l.infinity.toLowerCase()){case"null":return null;case"infinity":return c;case"string":return d?"Infinity":"-Infinity";default:return u}})(o,Number(a),s)})(e,n)}return e!==void 0?e:""}function el(e,t,n,r){if(e){const o=e(t);n===t&&(n=o),t=o}return{tagName:t=Um(t,r),tagExp:n}}function Um(e,t){if(Fm.includes(e))throw new Error(`[SECURITY] Invalid name: "${e}" is a reserved JavaScript keyword that could cause prototype pollution`);return jc.includes(e)?t.onDangerousProperty(e):e}const tl=wr.getMetaDataSymbol();function $S(e,t){if(!e||typeof e!="object")return{};if(!t)return e;const n={};for(const r in e)r.startsWith(t)?n[r.substring(t.length)]=e[r]:n[r]=e[r];return n}function RS(e,t,n,r){return Hm(e,t,n,r)}function Hm(e,t,n,r){let o;const s={};for(let a=0;a0&&(s[t.textNodeName]=o):o!==void 0&&(s[t.textNodeName]=o),s}function FS(e){const t=Object.keys(e);for(let n=0;n5&&r==="xml")return at("InvalidXml","XML declaration allowed only at the start of the document.",jt(e,t));if(e[t]=="?"&&e[t+1]==">"){t++;break}}return t}function Xh(e,t){if(e.length>t+5&&e[t+1]==="-"&&e[t+2]==="-"){for(t+=3;t"){t+=2;break}}else if(e.length>t+8&&e[t+1]==="D"&&e[t+2]==="O"&&e[t+3]==="C"&&e[t+4]==="T"&&e[t+5]==="Y"&&e[t+6]==="P"&&e[t+7]==="E"){let n=1;for(t+=8;t"&&(n--,n===0))break}else if(e.length>t+9&&e[t+1]==="["&&e[t+2]==="C"&&e[t+3]==="D"&&e[t+4]==="A"&&e[t+5]==="T"&&e[t+6]==="A"&&e[t+7]==="["){for(t+=8;t"){t+=2;break}}return t}function zS(e,t){let n="",r="",o=!1;for(;t"&&r===""){o=!0;break}n+=e[t]}return r===""&&{value:n,index:t,tagClosed:o}}const jS=new RegExp(`(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['"])(([\\s\\S])*?)\\5)?`,"g");function Zh(e,t){const n=Rm(e,jS),r={};for(let o=0;o"&&a[d]!==" "&&a[d]!==" "&&a[d]!==` +`&&a[d]!=="\r";d++)g+=a[d];if(g=g.trim(),g[g.length-1]==="/"&&(g=g.substring(0,g.length-1),d--),!eu(g)){let v;return v=g.trim().length===0?"Invalid space after '<'.":"Tag '"+g+"' is an invalid name.",at("InvalidTag",v,jt(a,d))}const f=zS(a,d);if(f===!1)return at("InvalidAttr","Attributes for '"+g+"' have open quote.",jt(a,d));let m=f.value;if(d=f.index,m[m.length-1]==="/"){const v=d-m.length;m=m.substring(0,m.length-1);const y=Zh(m,i);if(y!==!0)return at(y.err.code,y.err.msg,jt(a,v+y.err.line));c=!0}else if(h){if(!f.tagClosed)return at("InvalidTag","Closing tag '"+g+"' doesn't have proper closing.",jt(a,d));if(m.trim().length>0)return at("InvalidTag","Closing tag '"+g+"' can't have attributes or invalid starting.",jt(a,p));if(u.length===0)return at("InvalidTag","Closing tag '"+g+"' has not been opened.",jt(a,p));{const v=u.pop();if(g!==v.tagName){let y=jt(a,v.tagStartPos);return at("InvalidTag","Expected closing tag '"+v.tagName+"' (opened in line "+y.line+", col "+y.col+") instead of closing tag '"+g+"'.",jt(a,p))}u.length==0&&(l=!0)}}else{const v=Zh(m,i);if(v!==!0)return at(v.err.code,v.err.msg,jt(a,d-m.length+v.err.line));if(l===!0)return at("InvalidXml","Multiple possible root nodes found.",jt(a,d));i.unpairedTags.indexOf(g)!==-1||u.push({tagName:g,tagStartPos:p}),c=!0}for(d++;d0)||at("InvalidXml","Invalid '"+JSON.stringify(u.map((d=>d.tagName)),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1}):at("InvalidXml","Start tag expected.",1)})(t,n);if(s!==!0)throw Error(`${s.err.msg}:${s.err.line}:${s.err.col}`)}const r=new CS(this.options,this.externalEntities),o=r.parseXml(t);return this.options.preserveOrder||o===void 0?o:RS(o,this.options,r.matcher,r.readonlyMatcher)}addEntity(t,n){if(n.indexOf("&")!==-1)throw new Error("Entity value can't have '&'");if(t.indexOf("&")!==-1||t.indexOf(";")!==-1)throw new Error("An entity must be set without '&' and ';'. Eg. use '#xD' for ' '");if(n==="&")throw new Error("An entity with value '&' is not permitted");this.externalEntities[t]=n}static getMetaDataSymbol(){return wr.getMetaDataSymbol()}}var VS=Xe(829),Kn=Xe.n(VS),So=(function(e){return e.Array="array",e.Object="object",e.Original="original",e})(So||{});function Jh(e){return typeof e=="string"?e:e.toString(".",!1)}function Gm(e,t){if(!e.endsWith("propstat.prop.displayname"))return t}function $a(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:So.Original;const r=Kn().get(e,t);return n==="array"&&Array.isArray(r)===!1?[r]:n==="object"&&Array.isArray(r)?r[0]:r}function tu(e,t){return t=t??{attributeNamePrefix:"@",attributeParsers:[],tagParsers:[Gm]},new Promise((n=>{n((function(r){const{multistatus:o}=r;if(o==="")return{multistatus:{response:[]}};if(!o)throw new Error("Invalid response: No root multistatus found");const s={multistatus:Array.isArray(o)?o[0]:o};return Kn().set(s,"multistatus.response",$a(s,"multistatus.response",So.Array)),Kn().set(s,"multistatus.response",Kn().get(s,"multistatus.response").map((a=>(function(i){const u=Object.assign({},i);return u.status?Kn().set(u,"status",$a(u,"status",So.Object)):(Kn().set(u,"propstat",$a(u,"propstat",So.Object)),Kn().set(u,"propstat.prop",$a(u,"propstat.prop",So.Object))),u})(a)))),s})((function(r){let{attributeNamePrefix:o,attributeParsers:s,entityDecoder:a,tagParsers:i}=r;const u={allowBooleanAttributes:!0,attributeNamePrefix:o,textNodeName:"text",ignoreAttributes:!1,removeNSPrefix:!0,jPath:!1,numberParseOptions:{hex:!0,leadingZeros:!1},attributeValueProcessor(c,l,d){const p=Jh(d);for(const h of s)try{const g=h(p,l);if(g!==l)return g}catch{}return l},tagValueProcessor(c,l,d){const p=Jh(d);for(const h of i)try{const g=h(p,l);if(g!==l)return g}catch{}return l}};return a&&(u.entityDecoder=new zm({limit:{maxTotalExpansions:a.limit?.maxTotalExpansions??0,maxExpandedLength:a.limit?.maxExpandedLength??0}})),new Vm(u)})(t).parse(e)))}))}function Hc(e,t){let n=arguments.length>2&&arguments[2]!==void 0&&arguments[2];const{getlastmodified:r=null,getcontentlength:o="0",resourcetype:s=null,getcontenttype:a=null,getetag:i=null}=e,u=s&&typeof s=="object"&&s.collection!==void 0?"directory":"file",c={filename:t,basename:bi().basename(t),lastmod:r,size:parseInt(o,10),type:u,etag:typeof i=="string"?i.replace(/"/g,""):null};return u==="file"&&(c.mime=a&&typeof a=="string"?a.split(";")[0]:""),n&&(e.displayname!==void 0&&(e.displayname=String(e.displayname)),c.props=e),c}function GS(e,t){let n=arguments.length>2&&arguments[2]!==void 0&&arguments[2],r=null;try{e.multistatus.response[0].propstat&&(r=e.multistatus.response[0])}catch{}if(!r)throw new Error("Failed getting item stat: bad response");const{propstat:{prop:o,status:s}}=r,[a,i,u]=s.split(" ",3),c=parseInt(i,10);if(c>=400){const l=new Error(`Invalid response: ${c} ${u}`);throw l.status=c,l}return Hc(o,ta(t),n)}function WS(e){switch(String(e)){case"-3":return"unlimited";case"-2":case"-1":return"unknown";default:return parseInt(String(e),10)}}function nl(e,t,n){return n?t?t(e):e:(e&&e.then||(e=Promise.resolve(e)),t?e.then(t):e)}const Vc=(function(e){return function(){for(var t=[],n=0;n2&&arguments[2]!==void 0?arguments[2]:{};const{details:r=!1}=n,o=mt({url:rt(e.remoteURL,nt(t)),method:"PROPFIND",headers:{Accept:"text/plain,application/xml",Depth:"0"}},e,n);return nl(gt(o,e),(function(s){return vt(e,s),nl(s.text(),(function(a){return nl(tu(a,e.parsing),(function(i){const u=GS(i,t,r);return qo(s,u,r)}))}))}))}));function Wm(e,t,n){return n?t?t(e):e:(e&&e.then||(e=Promise.resolve(e)),t?e.then(t):e)}const qS=qm((function(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const r=(function(s){if(!s||s==="/")return[];let a=s;const i=[];do i.push(a),a=bi().dirname(a);while(a&&a!=="/");return i})(ta(t));r.sort(((s,a)=>s.length>a.length?1:a.length>s.length?-1:0));let o=!1;return(function(s,a,i){if(typeof s[Qh]=="function"){let f=function(m){try{for(;!(u=d.next()).done;)if((m=a(u.value))&&m.then){if(!e0(m))return void m.then(f,l||(l=Vt.bind(null,c=new ko,2)));m=m.v}c?Vt(c,1,m):c=m}catch(v){Vt(c||(c=new ko),2,v)}};var u,c,l,d=s[Qh]();if(f(),d.return){var p=function(m){try{u.done||d.return()}catch{}return m};if(c&&c.then)return c.then(p,(function(m){throw p(m)}));p()}return c}if(!("length"in s))throw new TypeError("Object is not iterable");for(var h=[],g=0;g2&&arguments[2]!==void 0?arguments[2]:{};if(n.recursive===!0)return qS(e,t,n);const r=mt({url:rt(e.remoteURL,(o=nt(t),o.endsWith("/")?o:o+"/")),method:"MKCOL"},e,n);var o;return Wm(gt(r,e),(function(s){vt(e,s)}))}));var XS=Xe(388),t0=Xe.n(XS);const ZS=(function(e){return function(){for(var t=[],n=0;n2&&arguments[2]!==void 0?arguments[2]:{};const r={};if(typeof n.range=="object"&&typeof n.range.start=="number"){let i=`bytes=${n.range.start}-`;typeof n.range.end=="number"&&(i=`${i}${n.range.end}`),r.Range=i}const o=mt({url:rt(e.remoteURL,nt(t)),method:"GET",headers:r},e,n);return a=function(i){if(vt(e,i),r.Range&&i.status!==206){const u=new Error(`Invalid response code for partial request: ${i.status}`);throw u.status=i.status,u}return n.callback&&setTimeout((()=>{n.callback(i)}),0),i.body},(s=gt(o,e))&&s.then||(s=Promise.resolve(s)),a?s.then(a):s;var s,a})),JS=()=>{},YS=(function(e){return function(){for(var t=[],n=0;n2&&arguments[2]!==void 0?arguments[2]:{};const r=mt({url:rt(e.remoteURL,nt(t)),method:"DELETE"},e,n);return s=function(a){vt(e,a)},(o=gt(r,e))&&o.then||(o=Promise.resolve(o)),s?o.then(s):o;var o,s})),e6=(function(e){return function(){for(var t=[],n=0;n2&&arguments[2]!==void 0?arguments[2]:{};return(function(r,o){try{var s=(a=Vc(e,t,n),i=function(){return!0},u?i?i(a):a:(a&&a.then||(a=Promise.resolve(a)),i?a.then(i):a))}catch(c){return o(c)}var a,i,u;return s&&s.then?s.then(void 0,o):s})(0,(function(r){if(r.status===404)return!1;throw r}))}));function rl(e,t,n){return n?t?t(e):e:(e&&e.then||(e=Promise.resolve(e)),t?e.then(t):e)}const t6=(function(e){return function(){for(var t=[],n=0;n2&&arguments[2]!==void 0?arguments[2]:{};const r=mt({url:rt(e.remoteURL,nt(t),"/"),method:"PROPFIND",headers:{Accept:"text/plain,application/xml",Depth:n.deep?"infinity":"1"}},e,n);return rl(gt(r,e),(function(o){return vt(e,o),rl(o.text(),(function(s){if(!s)throw new Error("Failed parsing directory contents: Empty response");return rl(tu(s,e.parsing),(function(a){const i=Oh(t);let u=(function(c,l,d){let p=arguments.length>3&&arguments[3]!==void 0&&arguments[3],h=arguments.length>4&&arguments[4]!==void 0&&arguments[4];const g=bi().join(l,"/"),{multistatus:{response:f}}=c,m=f.map((v=>{const y=(function(C){try{return C.replace(/^https?:\/\/[^\/]+/,"")}catch(x){throw new Gt(x,"Failed normalising HREF")}})(v.href),{propstat:{prop:w}}=v;return Hc(w,g==="/"?decodeURIComponent(ta(y)):ta(bi().relative(decodeURIComponent(g),decodeURIComponent(y))),p)}));return h?m:m.filter((v=>v.basename&&(v.type==="file"||v.filename!==d.replace(/\/$/,""))))})(a,Oh(e.remoteBasePath||e.remotePath),i,n.details,n.includeSelf);return n.glob&&(u=(function(c,l){return c.filter((d=>Ft(d.filename,l,{matchBase:!0})))})(u,n.glob)),qo(o,u,n.details)}))}))}))}));function Gc(e){return function(){for(var t=[],n=0;n2&&arguments[2]!==void 0?arguments[2]:{};const r=mt({url:rt(e.remoteURL,nt(t)),method:"GET",headers:{Accept:"text/plain"},transformResponse:[s6]},e,n);return xi(gt(r,e),(function(o){return vt(e,o),xi(o.text(),(function(s){return qo(o,s,n.details)}))}))}));function xi(e,t,n){return n?t?t(e):e:(e&&e.then||(e=Promise.resolve(e)),t?e.then(t):e)}const r6=Gc((function(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const r=mt({url:rt(e.remoteURL,nt(t)),method:"GET"},e,n);return xi(gt(r,e),(function(o){let s;return vt(e,o),(function(a,i){var u=a();return u&&u.then?u.then(i):i()})((function(){return xi(o.arrayBuffer(),(function(a){s=a}))}),(function(){return qo(o,s,n.details)}))}))})),o6=Gc((function(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const{format:r="binary"}=n;if(r!=="binary"&&r!=="text")throw new Gt({info:{code:Br.InvalidOutputFormat}},`Invalid output format: ${r}`);return r==="text"?n6(e,t,n):r6(e,t,n)})),s6=e=>e;function a6(e,t){let n="";t.format&&t.indentBy.length>0&&(n=` +`);const r=[];if(t.stopNodes&&Array.isArray(t.stopNodes))for(let o=0;ot.maxNestedTags)throw new Error("Maximum nested tags exceeded");if(!Array.isArray(e)){if(e!=null){let i=e.toString();return i=nc(i,t),i}return""}for(let i=0;i/g,"]]]]>")}]]>`,a=!1,r.pop();continue}if(c===t.commentPropName){const f=u[c][0][t.textNodeName];s+=n+``,a=!0,r.pop();continue}if(c[0]==="?"){const f=n0(u[":@"],t,d),m=c==="?xml"?"":n;let v=u[c][0][t.textNodeName];v=v.length!==0?" "+v:"",s+=m+`<${c}${v}${f}?>`,a=!0,r.pop();continue}let p=n;p!==""&&(p+=t.indentBy);const h=n+`<${c}${n0(u[":@"],t,d)}`;let g;g=d?Xm(u[c],t):Km(u[c],t,p,r,o),t.unpairedTags.indexOf(c)!==-1?t.suppressUnpairedNode?s+=h+">":s+=h+"/>":g&&g.length!==0||!t.suppressEmptyNode?g&&g.endsWith(">")?s+=h+`>${g}${n}`:(s+=h+">",g&&n!==""&&(g.includes("/>")||g.includes("`):s+=h+"/>",a=!0,r.pop()}return s}function i6(e,t){if(!e||t.ignoreAttributes)return null;const n={};let r=!1;for(let o in e)Object.prototype.hasOwnProperty.call(e,o)&&(n[o.startsWith(t.attributeNamePrefix)?o.substr(t.attributeNamePrefix.length):o]=e[o],r=!0);return r?n:null}function Xm(e,t){if(!Array.isArray(e))return e!=null?e.toString():"";let n="";for(let r=0;r${i}`:n+=`<${s}${a}/>`}}}return n}function u6(e,t){let n="";if(e&&!t.ignoreAttributes)for(let r in e){if(!Object.prototype.hasOwnProperty.call(e,r))continue;let o=e[r];o===!0&&t.suppressBooleanAttributes?n+=` ${r.substr(t.attributeNamePrefix.length)}`:n+=` ${r.substr(t.attributeNamePrefix.length)}="${o}"`}return n}function Zm(e){const t=Object.keys(e);for(let n=0;n0&&t.processEntities)for(let n=0;n","g"),val:">"},{regex:new RegExp("<","g"),val:"<"},{regex:new RegExp("'","g"),val:"'"},{regex:new RegExp('"',"g"),val:"""}],processEntities:!0,stopNodes:[],oneListGroup:!1,maxNestedTags:100,jPath:!0};function an(e){if(this.options=Object.assign({},c6,e),this.options.stopNodes&&Array.isArray(this.options.stopNodes)&&(this.options.stopNodes=this.options.stopNodes.map((n=>typeof n=="string"&&n.startsWith("*.")?".."+n.substring(2):n))),this.stopNodeExpressions=[],this.options.stopNodes&&Array.isArray(this.options.stopNodes))for(let n=0;n{for(const r of t)if(typeof r=="string"&&n===r||r instanceof RegExp&&r.test(n))return!0}:()=>!1,this.attrPrefixLen=this.options.attributeNamePrefix.length,this.isAttribute=h6),this.processTextOrObjNode=d6,this.options.format?(this.indentate=p6,this.tagEndChar=`> `,this.newLine=` -`):(this.indentate=function(){return""},this.tagEndChar=">",this.newLine="")}function d6(e,t,n,r){const o=this.extractAttributes(e);if(r.push(t,o),this.checkStopNode(r)){const a=this.buildRawContent(e),i=this.buildAttributesForStopNode(e);return r.pop(),this.buildObjectNode(a,t,i,n)}const s=this.j2x(e,n+1,r);return r.pop(),e[this.options.textNodeName]!==void 0&&Object.keys(e).length===1?this.buildTextValNode(e[this.options.textNodeName],t,s.attrStr,n,r):this.buildObjectNode(s.val,t,s.attrStr,n)}function p6(e){return this.options.indentBy.repeat(e)}function h6(e){return!(!e.startsWith(this.options.attributeNamePrefix)||e===this.options.textNodeName)&&e.substr(this.attrPrefixLen)}an.prototype.build=function(e){if(this.options.preserveOrder)return a6(e,this.options);{Array.isArray(e)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1&&(e={[this.options.arrayNodeName]:e});const t=new Uc;return this.j2x(e,0,t).val}},an.prototype.j2x=function(e,t,n){let r="",o="";if(this.options.maxNestedTags&&n.getDepth()>=this.options.maxNestedTags)throw new Error("Maximum nested tags exceeded");const s=this.options.jPath?n.toString():n,a=this.checkStopNode(n);for(let i in e)if(Object.prototype.hasOwnProperty.call(e,i))if(e[i]===void 0)this.isAttribute(i)&&(o+="");else if(e[i]===null)this.isAttribute(i)||i===this.options.cdataPropName?o+="":i[0]==="?"?o+=this.indentate(t)+"<"+i+"?"+this.tagEndChar:o+=this.indentate(t)+"<"+i+"/"+this.tagEndChar;else if(e[i]instanceof Date)o+=this.buildTextValNode(e[i],i,"",t,n);else if(typeof e[i]!="object"){const u=this.isAttribute(i);if(u&&!this.ignoreAttributesFn(u,s))r+=this.buildAttrPairStr(u,""+e[i],a);else if(!u)if(i===this.options.textNodeName){let c=this.options.tagValueProcessor(i,""+e[i]);o+=this.replaceEntitiesValue(c)}else{n.push(i);const c=this.checkStopNode(n);if(n.pop(),c){const l=""+e[i];o+=l===""?this.indentate(t)+"<"+i+this.closeTag(i)+this.tagEndChar:this.indentate(t)+"<"+i+">"+l+""+g+"${o}`;else if(typeof o=="object"&&o!==null){const s=this.buildRawContent(o),a=this.buildAttributesForStopNode(o);t+=s===""?`<${n}${a}/>`:`<${n}${a}>${s}`}}else if(typeof r=="object"&&r!==null){const o=this.buildRawContent(r),s=this.buildAttributesForStopNode(r);t+=o===""?`<${n}${s}/>`:`<${n}${s}>${o}`}else t+=`<${n}>${r}`}return t},an.prototype.buildAttributesForStopNode=function(e){if(!e||typeof e!="object")return"";let t="";if(this.options.attributesGroupName&&e[this.options.attributesGroupName]){const n=e[this.options.attributesGroupName];for(let r in n){if(!Object.prototype.hasOwnProperty.call(n,r))continue;const o=r.startsWith(this.options.attributeNamePrefix)?r.substring(this.options.attributeNamePrefix.length):r,s=n[r];s===!0&&this.options.suppressBooleanAttributes?t+=" "+o:t+=" "+o+'="'+s+'"'}}else for(let n in e){if(!Object.prototype.hasOwnProperty.call(e,n))continue;const r=this.isAttribute(n);if(r){const o=e[n];o===!0&&this.options.suppressBooleanAttributes?t+=" "+r:t+=" "+r+'="'+o+'"'}}return t},an.prototype.buildObjectNode=function(e,t,n,r){if(e==="")return t[0]==="?"?this.indentate(r)+"<"+t+n+"?"+this.tagEndChar:this.indentate(r)+"<"+t+n+this.closeTag(t)+this.tagEndChar;{let o="`+this.newLine:this.indentate(r)+"<"+t+n+s+this.tagEndChar+e+this.indentate(r)+o:this.indentate(r)+"<"+t+n+s+">"+e+o}},an.prototype.closeTag=function(e){let t="";return this.options.unpairedTags.indexOf(e)!==-1?this.options.suppressUnpairedNode||(t="/"):t=this.options.suppressEmptyNode?"/":`>/g,"]]]]>");return this.indentate(r)+``+this.newLine}if(this.options.commentPropName!==!1&&t===this.options.commentPropName){const s=String(e).replace(/--/g,"- -").replace(/-$/,"- ");return this.indentate(r)+``+this.newLine}if(t[0]==="?")return this.indentate(r)+"<"+t+n+"?"+this.tagEndChar;{let s=this.options.tagValueProcessor(t,e);return s=this.replaceEntitiesValue(s),s===""?this.indentate(r)+"<"+t+n+this.closeTag(t)+this.tagEndChar:this.indentate(r)+"<"+t+n+">"+s+"0&&this.options.processEntities)for(let t=0;t3&&arguments[3]!==void 0?arguments[3]:{};const o=gt({url:rt(e.remoteURL,nt(t)),method:"UNLOCK",headers:{"Lock-Token":n}},e,r);return rc(ft(o,e),(function(s){if(mt(e,s),s.status!==204&&s.status!==200)throw zc(s)}))})),v6=Ym((function(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const{refreshToken:r,timeout:o=y6}=n,s={Accept:"text/plain,application/xml",Timeout:o};r&&(s.If=r);const a=gt({url:rt(e.remoteURL,nt(t)),method:"LOCK",headers:s,data:g6(e.contactHref)},e,n);return rc(ft(a,e),(function(i){return mt(e,i),rc(i.text(),(function(u){const c=(p=u,new Hm({removeNSPrefix:!0,parseAttributeValue:!0,parseTagValue:!0}).parse(p)),l=Kn().get(c,"prop.lockdiscovery.activelock.locktoken.href"),d=Kn().get(c,"prop.lockdiscovery.activelock.timeout");var p;if(!l)throw zc(i,"No lock token received: ");return{token:l,serverTimeout:d}}))}))})),y6="Infinite, Second-4100000000";function ol(e,t,n){return n?t?t(e):e:(e&&e.then||(e=Promise.resolve(e)),t?e.then(t):e)}const b6=(function(e){return function(){for(var t=[],n=0;n1&&arguments[1]!==void 0?arguments[1]:{};const n=t.path||"/",r=gt({url:rt(e.remoteURL,n),method:"PROPFIND",headers:{Accept:"text/plain,application/xml",Depth:"0"}},e,t);return ol(ft(r,e),(function(o){return mt(e,o),ol(o.text(),(function(s){return ol(tu(s,e.parsing),(function(a){const i=(function(u){try{const[c]=u.multistatus.response,{propstat:{prop:{"quota-used-bytes":l,"quota-available-bytes":d}}}=c;return l!==void 0&&d!==void 0?{used:parseInt(String(l),10),available:WS(d)}:null}catch{}return null})(a);return qo(o,i,t.details)}))}))}))}));function sl(e,t,n){return n?t?t(e):e:(e&&e.then||(e=Promise.resolve(e)),t?e.then(t):e)}const E6=(function(e){return function(){for(var t=[],n=0;n2&&arguments[2]!==void 0?arguments[2]:{};const{details:r=!1}=n,o=gt({url:rt(e.remoteURL,nt(t)),method:"SEARCH",headers:{Accept:"text/plain,application/xml","Content-Type":e.headers["Content-Type"]||"application/xml; charset=utf-8"}},e,n);return sl(ft(o,e),(function(s){return mt(e,s),sl(s.text(),(function(a){return sl(tu(a,e.parsing),(function(i){const u=(function(c,l,d){const p={truncated:!1,results:[]};return p.truncated=c.multistatus.response.some((h=>(h.status||h.propstat?.status).split(" ",3)?.[1]==="507"&&h.href.replace(/\/$/,"").endsWith(nt(l).replace(/\/$/,"")))),c.multistatus.response.forEach((h=>{if(h.propstat===void 0)return;const g=h.href.split("/").map(decodeURIComponent).join("/");p.results.push(Hc(h.propstat.prop,g,d))})),p})(i,t,r);return qo(s,u,r)}))}))}))})),w6=(function(e){return function(){for(var t=[],n=0;n3&&arguments[3]!==void 0?arguments[3]:{};const o=gt({url:rt(e.remoteURL,nt(t)),method:"MOVE",headers:{Destination:rt(e.remoteURL,nt(n)),Overwrite:r.overwrite===!1?"F":"T"}},e,r);return a=function(i){mt(e,i)},(s=ft(o,e))&&s.then||(s=Promise.resolve(s)),a?s.then(a):s;var s,a}));var C6=Ze(172);function _6(e){if(km(e))return e.byteLength;if(Tm(e))return e.length;if(typeof e=="string")return(0,C6.d)(e);throw new Gt({info:{code:Br.DataTypeNoLength}},"Cannot calculate data length: Invalid type")}const x6=(function(e){return function(){for(var t=[],n=0;n3&&arguments[3]!==void 0?arguments[3]:{};const{contentLength:o=!0,overwrite:s=!0}=r,a={"Content-Type":"application/octet-stream"};o===!1||(a["Content-Length"]=typeof o=="number"?`${o}`:`${_6(n)}`),s||(a["If-None-Match"]="*");const i=gt({url:rt(e.remoteURL,nt(t)),method:"PUT",headers:a,data:n},e,r);return c=function(l){try{mt(e,l)}catch(d){const p=d;if(p.status!==412||s)throw p;return!1}return!0},(u=ft(i,e))&&u.then||(u=Promise.resolve(u)),c?u.then(c):u;var u,c})),Jm=(function(e){return function(){for(var t=[],n=0;n2&&arguments[2]!==void 0?arguments[2]:{};const r=gt({url:rt(e.remoteURL,nt(t)),method:"OPTIONS"},e,n);return s=function(a){try{mt(e,a)}catch(i){throw i}return{compliance:(a.headers.get("DAV")??"").split(",").map((i=>i.trim())),server:a.headers.get("Server")??""}},(o=ft(r,e))&&o.then||(o=Promise.resolve(o)),s?o.then(s):o;var o,s}));function Rs(e,t,n){return n?t?t(e):e:(e&&e.then||(e=Promise.resolve(e)),t?e.then(t):e)}const A6=Wc((function(e,t,n,r,o){let s=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{};if(n>r||n<0)throw new Gt({info:{code:Br.InvalidUpdateRange}},`Invalid update range ${n} for partial update`);const a={"Content-Type":"application/octet-stream","Content-Length":""+(r-n+1),"Content-Range":`bytes ${n}-${r}/*`},i=gt({url:rt(e.remoteURL,nt(t)),method:"PUT",headers:a,data:o},e,s);return Rs(ft(i,e),(function(u){mt(e,u)}))}));function n0(e,t){var n=e();return n&&n.then?n.then(t):t(n)}const S6=Wc((function(e,t,n,r,o){let s=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{};if(n>r||n<0)throw new Gt({info:{code:Br.InvalidUpdateRange}},`Invalid update range ${n} for partial update`);const a={"Content-Type":"application/x-sabredav-partialupdate","Content-Length":""+(r-n+1),"X-Update-Range":`bytes=${n}-${r}`},i=gt({url:rt(e.remoteURL,nt(t)),method:"PATCH",headers:a,data:o},e,s);return Rs(ft(i,e),(function(u){mt(e,u)}))}));function Wc(e){return function(){for(var t=[],n=0;n5&&arguments[5]!==void 0?arguments[5]:{};return Rs(Jm(e,t,s),(function(a){let i=!1;return n0((function(){if(a.compliance.includes("sabredav-partialupdate"))return Rs(S6(e,t,n,r,o,s),(function(u){return i=!0,u}))}),(function(u){let c=!1;return i?u:n0((function(){if(a.server.includes("Apache")&&a.compliance.includes(""))return Rs(A6(e,t,n,r,o,s),(function(l){return c=!0,l}))}),(function(l){if(c)return l;throw new Gt({info:{code:Br.NotSupported}},"Not supported")}))}))}))})),T6="https://github.com/perry-mitchell/webdav-client/blob/master/LOCK_CONTACT.md";function N6(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{authType:n=null,remoteBasePath:r,contactHref:o=T6,entityDecoder:s,ha1:a,headers:i={},httpAgent:u,httpsAgent:c,password:l,token:d,username:p,withCredentials:h}=t;let g=n;g||(g=p||l?Xt.Password:Xt.None);const f={authType:g,remoteBasePath:r,contactHref:o,ha1:a,headers:Object.assign({},i),httpAgent:u,httpsAgent:c,password:l,parsing:{attributeNamePrefix:t.attributeNamePrefix??"@",attributeParsers:[],entityDecoder:s,tagParsers:[Vm]},remotePath:EA(e),remoteURL:e,token:d,username:p,withCredentials:h};return xm(f,p,l,d,a),{copyFile:(m,v,y)=>oS(f,m,v,y),createDirectory:(m,v)=>tc(f,m,v),createReadStream:(m,v)=>(function(y,w){let C=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const x=new(e0()).PassThrough;return XS(y,w,C).then((D=>{D.pipe(x)})).catch((D=>{x.emit("error",D)})),x})(f,m,v),createWriteStream:(m,v,y)=>(function(w,C){let x=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},D=arguments.length>3&&arguments[3]!==void 0?arguments[3]:YS;const $=new(e0()).PassThrough,q={};x.overwrite===!1&&(q["If-None-Match"]="*");const U=gt({url:rt(w.remoteURL,nt(C)),method:"PUT",headers:q,data:$,maxRedirects:0},w,x);return ft(U,w).then((B=>mt(w,B))).then((B=>{setTimeout((()=>{D(B)}),0)})).catch((B=>{$.emit("error",B)})),$})(f,m,v,y),customRequest:(m,v)=>JS(f,m,v),deleteFile:(m,v)=>QS(f,m,v),exists:(m,v)=>e6(f,m,v),getDirectoryContents:(m,v)=>t6(f,m,v),getFileContents:(m,v)=>o6(f,m,v),getFileDownloadLink:m=>(function(v,y){let w=rt(v.remoteURL,nt(y));const C=/^https:/i.test(w)?"https":"http";switch(v.authType){case Xt.None:break;case Xt.Password:{const x=Ph(v.headers.Authorization.replace(/^Basic /i,"").trim());w=w.replace(/^https?:\/\//,`${C}://${x}@`);break}default:throw new Gt({info:{code:Br.LinkUnsupportedAuthType}},`Unsupported auth type for file link: ${v.authType}`)}return w})(f,m),getFileUploadLink:m=>(function(v,y){let w=`${rt(v.remoteURL,nt(y))}?Content-Type=application/octet-stream`;const C=/^https:/i.test(w)?"https":"http";switch(v.authType){case Xt.None:break;case Xt.Password:{const x=Ph(v.headers.Authorization.replace(/^Basic /i,"").trim());w=w.replace(/^https?:\/\//,`${C}://${x}@`);break}default:throw new Gt({info:{code:Br.LinkUnsupportedAuthType}},`Unsupported auth type for file link: ${v.authType}`)}return w})(f,m),getHeaders:()=>Object.assign({},f.headers),getQuota:m=>b6(f,m),lock:(m,v)=>v6(f,m,v),moveFile:(m,v,y)=>w6(f,m,v,y),putFileContents:(m,v,y)=>x6(f,m,v,y),partialUpdateFileContents:(m,v,y,w,C)=>k6(f,m,v,y,w,C),getDAVCompliance:m=>Jm(f,m),search:(m,v)=>E6(f,m,v),setHeaders:m=>{f.headers=Object.assign({},m)},stat:(m,v)=>Vc(f,m,v),unlock:(m,v,y)=>m6(f,m,v,y),registerAttributeParser:m=>{f.parsing.attributeParsers.push(m)},registerTagParser:m=>{f.parsing.tagParsers.push(m)}}}function r0(e){return e&&e.split("/").map(encodeURIComponent).join("/")}function Qm(e,t){return e=e.replace(/\\/g,"/").replace(/\/+$/g,"").replace(/.*\//,""),e}function o0(e){e=e.replaceAll(/\\/g,"/");const t=e.split("/");return t.length<=1?".":(t.pop(),t.length===1&&t[0]===""?"/":t.join("/"))}function D6(e){const t=Qm(e),n=t.lastIndexOf(".");return n>0?t.substring(n):""}function O6(...e){if(arguments.length<1)return"";const t=e.filter(u=>u.length>0);if(t.length<1)return"";const n=t[t.length-1],r=t[0].charAt(0)==="/",o=n.charAt(n.length-1)==="/",s=t.reduce((u,c)=>u.concat(c.split("/")),[]);let a=!r;const i=s.reduce((u,c)=>c===""?u:a?(a=!1,u+c):u+"/"+c,"");return o?i+"/":i}window._nc_files_scope??={},window._nc_files_scope.v4_0??={};const Fs=window._nc_files_scope.v4_0;Hg().setApp("@nextcloud/files").detectUser().build();const qc=Object.freeze({Folder:"folder",File:"file"}),vn=Object.freeze({NONE:0,READ:1,UPDATE:2,CREATE:4,WRITE:4,DELETE:8,SHARE:16,ALL:31}),ev=Object.freeze({NEW:"new",FAILED:"failed",LOADING:"loading",LOCKED:"locked"});function tv(e,t){return e.match(t)!==null}function gr(e,t){if(e.id&&typeof e.id!="number"&&typeof e.id!="string")throw new Error("Invalid id type of value");if(!e.source)throw new Error("Missing mandatory source");try{new URL(e.source)}catch{throw new Error("Invalid source format, source must be a valid URL")}if(!e.source.startsWith("http"))throw new Error("Invalid source format, only http(s) is supported");if(!e.root)throw new Error("Missing mandatory root");if(typeof e.root!="string")throw new Error("Invalid root type");if(!e.root.startsWith("/"))throw new Error("Root must start with a leading slash");if(!e.source.includes(e.root))throw new Error("Root must be part of the source");if(tv(e.source,t)){const n=e.source.match(t)[0];if(!e.source.includes(O6(n,e.root)))throw new Error("The root must be relative to the service. e.g /files/emma")}if(e.displayname&&typeof e.displayname!="string")throw new Error("Invalid displayname type");if(e.mtime&&!(e.mtime instanceof Date))throw new Error("Invalid mtime type");if(e.crtime&&!(e.crtime instanceof Date))throw new Error("Invalid crtime type");if(!e.mime||typeof e.mime!="string"||!e.mime.match(/^[-\w.]+\/[-+\w.]+$/gi))throw new Error("Missing or invalid mandatory mime");if("size"in e&&typeof e.size!="number"&&e.size!==void 0)throw new Error("Invalid size type");if("permissions"in e&&e.permissions!==void 0&&!(typeof e.permissions=="number"&&e.permissions>=vn.NONE&&e.permissions<=vn.ALL))throw new Error("Invalid permissions");if(e.owner&&e.owner!==null&&typeof e.owner!="string")throw new Error("Invalid owner type");if(e.attributes&&typeof e.attributes!="object")throw new Error("Invalid attributes type");if(e.status&&!Object.values(ev).includes(e.status))throw new Error("Status must be a valid NodeStatus")}function P6(e){e.mtime&&typeof e.mtime=="string"&&!isNaN(Date.parse(e.mtime))&&JSON.stringify(new Date(e.mtime))===JSON.stringify(e.mtime)&&(e.mtime=new Date(e.mtime)),e.crtime&&typeof e.crtime=="string"&&!isNaN(Date.parse(e.crtime))&&JSON.stringify(new Date(e.crtime))===JSON.stringify(e.crtime)&&(e.crtime=new Date(e.crtime))}function B6(e){if(e instanceof RegExp)return e;const t=e.match(/(\/?)(.+)\1([a-z]*)/i);if(!t)throw new Error("Invalid regular expression format.");const n=Array.from(new Set(t[3])).filter(r=>"gimsuy".includes(r)).join("");return new RegExp(t[2],n)}class nu{_attributes;_data;_knownDavService=/(remote|public)\.php\/(web)?dav/i;readonlyAttributes=Object.entries(Object.getOwnPropertyDescriptors(nu.prototype)).filter(t=>typeof t[1].get=="function"&&t[0]!=="__proto__").map(t=>t[0]);handler={set:(t,n,r)=>this.readonlyAttributes.includes(n)?!1:Reflect.set(t,n,r),deleteProperty:(t,n)=>this.readonlyAttributes.includes(n)?!1:Reflect.deleteProperty(t,n)};constructor(...[t,n]){t.mime||(t.mime="application/octet-stream"),P6(t),n=B6(n||this._knownDavService),gr(t,n),this._data={...t,attributes:{}},this._attributes=new Proxy(this._data.attributes,this.handler),this.update(t.attributes??{}),n&&(this._knownDavService=n)}get source(){return this._data.source.replace(/\/$/i,"")}get encodedSource(){const{origin:t}=new URL(this.source);return t+r0(this.source.slice(t.length))}get basename(){return Qm(this.source)}get displayname(){return this._data.displayname||this.basename}set displayname(t){gr({...this._data,displayname:t},this._knownDavService),this._data.displayname=t}get extension(){return D6(this.source)}get dirname(){return o0(this.path)}get mime(){return this._data.mime||"application/octet-stream"}set mime(t){t??="application/octet-stream",gr({...this._data,mime:t},this._knownDavService),this._data.mime=t}get mtime(){return this._data.mtime}set mtime(t){gr({...this._data,mtime:t},this._knownDavService),this._data.mtime=t}get crtime(){return this._data.crtime}get size(){return this._data.size}set size(t){gr({...this._data,size:t},this._knownDavService),this.updateMtime(),this._data.size=t}get attributes(){return this._attributes}get permissions(){return this.owner===null&&!this.isDavResource?vn.READ:this._data.permissions!==void 0?this._data.permissions:vn.NONE}set permissions(t){gr({...this._data,permissions:t},this._knownDavService),this.updateMtime(),this._data.permissions=t}get owner(){return this.isDavResource?this._data.owner:null}get isDavResource(){return tv(this.source,this._knownDavService)}get root(){return this._data.root.replace(/^(.+)\/$/,"$1")}get path(){const t=this.source.indexOf("://"),n=this.source.slice(0,t),r=this.source.slice(t+3),o=r.indexOf("/"),s=r.slice(0,o),a=r.slice(o),i=`${n}://${s}${r0(a)}`,u=new URL(i);let c=decodeURIComponent(u.pathname);this.isDavResource&&(c=c.split(this._knownDavService).pop());const l=c.indexOf(this.root),d=this.root.replace(/\/$/,"");return c.slice(l+d.length)||"/"}get fileid(){return typeof this._data?.id=="number"?this._data.id:void 0}get id(){if(!(typeof this._data?.id>"u"||typeof this._data.id=="number"&&this._data.id<0))return String(this._data.id)}get status(){return this._data?.status}set status(t){gr({...this._data,status:t},this._knownDavService),this._data.status=t}move(t){gr({...this._data,source:t},this._knownDavService);const n=this.basename;this._data.source=t,this.displayname===n&&this.basename!==n&&(this.displayname=this.basename)}rename(t){if(t.includes("/"))throw new Error("Invalid basename");this.move(o0(this.source)+"/"+t)}updateMtime(){this._data.mtime&&(this._data.mtime=new Date)}update(t){for(const[n,r]of Object.entries(t))try{r===void 0?delete this.attributes[n]:this.attributes[n]=r}catch(o){if(o instanceof TypeError)continue;throw o}}clone(){return new this.constructor(structuredClone(this._data),this._knownDavService)}toJSON(){return JSON.stringify([structuredClone(this._data),this._knownDavService.toString()])}}class $6 extends nu{constructor(...[t,n]){super(t,n)}get type(){return qc.File}}class R6 extends nu{constructor(...[t,n]){super({...t,mime:"httpd/unix-directory"},n)}get type(){return qc.Folder}get extension(){return null}get mime(){return"httpd/unix-directory"}}function F6(e=""){let t=vn.NONE;return e&&(e.includes("G")&&(t|=vn.READ),e.includes("W")&&(t|=vn.WRITE),e.includes("CK")&&(t|=vn.CREATE),e.includes("NV")&&(t|=vn.UPDATE),e.includes("D")&&(t|=vn.DELETE),e.includes("R")&&(t|=vn.SHARE)),t}const L6=["d:getcontentlength","d:getcontenttype","d:getetag","d:getlastmodified","d:creationdate","d:displayname","d:quota-available-bytes","d:resourcetype","nc:has-preview","nc:is-encrypted","nc:mount-type","oc:comments-unread","oc:favorite","oc:fileid","oc:owner-display-name","oc:owner-id","oc:permissions","oc:size"],I6={d:"DAV:",nc:"http://nextcloud.org/ns",oc:"http://owncloud.org/ns",ocs:"http://open-collaboration-services.org/ns"};function M6(){return Fs.davProperties??=[...L6],Fs.davProperties.map(e=>`<${e} />`).join(" ")}function z6(){return Fs.davNamespaces??={...I6},Object.keys(Fs.davNamespaces).map(e=>`xmlns:${e}="${Fs.davNamespaces?.[e]}"`).join(" ")}function nv(){return Fc()?`/files/${gA()}`:`/files/${Xi()?.uid}`}const j6=nv();function U6(){const e=R3("dav");return Fc()?e.replace("remote.php","public.php"):e}const rv=U6();function H6(e=rv,t={}){const n=N6(e,{headers:t});function r(o){n.setHeaders({...t,"X-Requested-With":"XMLHttpRequest",requesttoken:o??""})}return Tg(r),r(Sg()),Am().patch("fetch",(o,s)=>{const a=s.headers;return a?.method&&(s.method=a.method,delete a.method),fetch(o,s)}),n}function V6(e,t=j6,n=rv){let r=Xi()?.uid;if(Fc())r=r??"anonymous";else if(!r)throw new Error("No user id found");const o=e.props,s=F6(o?.permissions),a=String(o?.["owner-id"]||r),i=o.fileid||0,u=new Date(Date.parse(e.lastmod)),c=new Date(Date.parse(o.creationdate)),l={id:i,source:`${n}${e.filename}`,mtime:!isNaN(u.getTime())&&u.getTime()!==0?u:void 0,crtime:!isNaN(c.getTime())&&c.getTime()!==0?c:void 0,mime:e.mime||"application/octet-stream",displayname:o.displayname!==void 0?String(o.displayname):void 0,size:o?.size||Number.parseInt(o.getcontentlength||"0"),status:i<0?ev.FAILED:void 0,permissions:s,owner:a,root:t,attributes:{...e,...o,hasPreview:o?.["has-preview"]}};return delete l.attributes?.props,e.type==="file"?new $6(l):new R6(l)}const s0=200,oc=500;function G6(e){const t=r=>r.replace(/&/g,"&").replace(//g,">"),n=e.map(r=>` ${t(r)}`).join(` +`):(this.indentate=function(){return""},this.tagEndChar=">",this.newLine="")}function d6(e,t,n,r){const o=this.extractAttributes(e);if(r.push(t,o),this.checkStopNode(r)){const a=this.buildRawContent(e),i=this.buildAttributesForStopNode(e);return r.pop(),this.buildObjectNode(a,t,i,n)}const s=this.j2x(e,n+1,r);return r.pop(),e[this.options.textNodeName]!==void 0&&Object.keys(e).length===1?this.buildTextValNode(e[this.options.textNodeName],t,s.attrStr,n,r):this.buildObjectNode(s.val,t,s.attrStr,n)}function p6(e){return this.options.indentBy.repeat(e)}function h6(e){return!(!e.startsWith(this.options.attributeNamePrefix)||e===this.options.textNodeName)&&e.substr(this.attrPrefixLen)}an.prototype.build=function(e){if(this.options.preserveOrder)return a6(e,this.options);{Array.isArray(e)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1&&(e={[this.options.arrayNodeName]:e});const t=new Uc;return this.j2x(e,0,t).val}},an.prototype.j2x=function(e,t,n){let r="",o="";if(this.options.maxNestedTags&&n.getDepth()>=this.options.maxNestedTags)throw new Error("Maximum nested tags exceeded");const s=this.options.jPath?n.toString():n,a=this.checkStopNode(n);for(let i in e)if(Object.prototype.hasOwnProperty.call(e,i))if(e[i]===void 0)this.isAttribute(i)&&(o+="");else if(e[i]===null)this.isAttribute(i)||i===this.options.cdataPropName?o+="":i[0]==="?"?o+=this.indentate(t)+"<"+i+"?"+this.tagEndChar:o+=this.indentate(t)+"<"+i+"/"+this.tagEndChar;else if(e[i]instanceof Date)o+=this.buildTextValNode(e[i],i,"",t,n);else if(typeof e[i]!="object"){const u=this.isAttribute(i);if(u&&!this.ignoreAttributesFn(u,s))r+=this.buildAttrPairStr(u,""+e[i],a);else if(!u)if(i===this.options.textNodeName){let c=this.options.tagValueProcessor(i,""+e[i]);o+=this.replaceEntitiesValue(c)}else{n.push(i);const c=this.checkStopNode(n);if(n.pop(),c){const l=""+e[i];o+=l===""?this.indentate(t)+"<"+i+this.closeTag(i)+this.tagEndChar:this.indentate(t)+"<"+i+">"+l+""+g+"${o}`;else if(typeof o=="object"&&o!==null){const s=this.buildRawContent(o),a=this.buildAttributesForStopNode(o);t+=s===""?`<${n}${a}/>`:`<${n}${a}>${s}`}}else if(typeof r=="object"&&r!==null){const o=this.buildRawContent(r),s=this.buildAttributesForStopNode(r);t+=o===""?`<${n}${s}/>`:`<${n}${s}>${o}`}else t+=`<${n}>${r}`}return t},an.prototype.buildAttributesForStopNode=function(e){if(!e||typeof e!="object")return"";let t="";if(this.options.attributesGroupName&&e[this.options.attributesGroupName]){const n=e[this.options.attributesGroupName];for(let r in n){if(!Object.prototype.hasOwnProperty.call(n,r))continue;const o=r.startsWith(this.options.attributeNamePrefix)?r.substring(this.options.attributeNamePrefix.length):r,s=n[r];s===!0&&this.options.suppressBooleanAttributes?t+=" "+o:t+=" "+o+'="'+s+'"'}}else for(let n in e){if(!Object.prototype.hasOwnProperty.call(e,n))continue;const r=this.isAttribute(n);if(r){const o=e[n];o===!0&&this.options.suppressBooleanAttributes?t+=" "+r:t+=" "+r+'="'+o+'"'}}return t},an.prototype.buildObjectNode=function(e,t,n,r){if(e==="")return t[0]==="?"?this.indentate(r)+"<"+t+n+"?"+this.tagEndChar:this.indentate(r)+"<"+t+n+this.closeTag(t)+this.tagEndChar;{let o="`+this.newLine:this.indentate(r)+"<"+t+n+s+this.tagEndChar+e+this.indentate(r)+o:this.indentate(r)+"<"+t+n+s+">"+e+o}},an.prototype.closeTag=function(e){let t="";return this.options.unpairedTags.indexOf(e)!==-1?this.options.suppressUnpairedNode||(t="/"):t=this.options.suppressEmptyNode?"/":`>/g,"]]]]>");return this.indentate(r)+``+this.newLine}if(this.options.commentPropName!==!1&&t===this.options.commentPropName){const s=String(e).replace(/--/g,"- -").replace(/-$/,"- ");return this.indentate(r)+``+this.newLine}if(t[0]==="?")return this.indentate(r)+"<"+t+n+"?"+this.tagEndChar;{let s=this.options.tagValueProcessor(t,e);return s=this.replaceEntitiesValue(s),s===""?this.indentate(r)+"<"+t+n+this.closeTag(t)+this.tagEndChar:this.indentate(r)+"<"+t+n+">"+s+"0&&this.options.processEntities)for(let t=0;t3&&arguments[3]!==void 0?arguments[3]:{};const o=mt({url:rt(e.remoteURL,nt(t)),method:"UNLOCK",headers:{"Lock-Token":n}},e,r);return rc(gt(o,e),(function(s){if(vt(e,s),s.status!==204&&s.status!==200)throw zc(s)}))})),v6=Ym((function(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const{refreshToken:r,timeout:o=y6}=n,s={Accept:"text/plain,application/xml",Timeout:o};r&&(s.If=r);const a=mt({url:rt(e.remoteURL,nt(t)),method:"LOCK",headers:s,data:g6(e.contactHref)},e,n);return rc(gt(a,e),(function(i){return vt(e,i),rc(i.text(),(function(u){const c=(p=u,new Vm({removeNSPrefix:!0,parseAttributeValue:!0,parseTagValue:!0}).parse(p)),l=Kn().get(c,"prop.lockdiscovery.activelock.locktoken.href"),d=Kn().get(c,"prop.lockdiscovery.activelock.timeout");var p;if(!l)throw zc(i,"No lock token received: ");return{token:l,serverTimeout:d}}))}))})),y6="Infinite, Second-4100000000";function ol(e,t,n){return n?t?t(e):e:(e&&e.then||(e=Promise.resolve(e)),t?e.then(t):e)}const b6=(function(e){return function(){for(var t=[],n=0;n1&&arguments[1]!==void 0?arguments[1]:{};const n=t.path||"/",r=mt({url:rt(e.remoteURL,n),method:"PROPFIND",headers:{Accept:"text/plain,application/xml",Depth:"0"}},e,t);return ol(gt(r,e),(function(o){return vt(e,o),ol(o.text(),(function(s){return ol(tu(s,e.parsing),(function(a){const i=(function(u){try{const[c]=u.multistatus.response,{propstat:{prop:{"quota-used-bytes":l,"quota-available-bytes":d}}}=c;return l!==void 0&&d!==void 0?{used:parseInt(String(l),10),available:WS(d)}:null}catch{}return null})(a);return qo(o,i,t.details)}))}))}))}));function sl(e,t,n){return n?t?t(e):e:(e&&e.then||(e=Promise.resolve(e)),t?e.then(t):e)}const E6=(function(e){return function(){for(var t=[],n=0;n2&&arguments[2]!==void 0?arguments[2]:{};const{details:r=!1}=n,o=mt({url:rt(e.remoteURL,nt(t)),method:"SEARCH",headers:{Accept:"text/plain,application/xml","Content-Type":e.headers["Content-Type"]||"application/xml; charset=utf-8"}},e,n);return sl(gt(o,e),(function(s){return vt(e,s),sl(s.text(),(function(a){return sl(tu(a,e.parsing),(function(i){const u=(function(c,l,d){const p={truncated:!1,results:[]};return p.truncated=c.multistatus.response.some((h=>(h.status||h.propstat?.status).split(" ",3)?.[1]==="507"&&h.href.replace(/\/$/,"").endsWith(nt(l).replace(/\/$/,"")))),c.multistatus.response.forEach((h=>{if(h.propstat===void 0)return;const g=h.href.split("/").map(decodeURIComponent).join("/");p.results.push(Hc(h.propstat.prop,g,d))})),p})(i,t,r);return qo(s,u,r)}))}))}))})),w6=(function(e){return function(){for(var t=[],n=0;n3&&arguments[3]!==void 0?arguments[3]:{};const o=mt({url:rt(e.remoteURL,nt(t)),method:"MOVE",headers:{Destination:rt(e.remoteURL,nt(n)),Overwrite:r.overwrite===!1?"F":"T"}},e,r);return a=function(i){vt(e,i)},(s=gt(o,e))&&s.then||(s=Promise.resolve(s)),a?s.then(a):s;var s,a}));var C6=Xe(172);function _6(e){if(Tm(e))return e.byteLength;if(Nm(e))return e.length;if(typeof e=="string")return(0,C6.d)(e);throw new Gt({info:{code:Br.DataTypeNoLength}},"Cannot calculate data length: Invalid type")}const x6=(function(e){return function(){for(var t=[],n=0;n3&&arguments[3]!==void 0?arguments[3]:{};const{contentLength:o=!0,overwrite:s=!0}=r,a={"Content-Type":"application/octet-stream"};o===!1||(a["Content-Length"]=typeof o=="number"?`${o}`:`${_6(n)}`),s||(a["If-None-Match"]="*");const i=mt({url:rt(e.remoteURL,nt(t)),method:"PUT",headers:a,data:n},e,r);return c=function(l){try{vt(e,l)}catch(d){const p=d;if(p.status!==412||s)throw p;return!1}return!0},(u=gt(i,e))&&u.then||(u=Promise.resolve(u)),c?u.then(c):u;var u,c})),Qm=(function(e){return function(){for(var t=[],n=0;n2&&arguments[2]!==void 0?arguments[2]:{};const r=mt({url:rt(e.remoteURL,nt(t)),method:"OPTIONS"},e,n);return s=function(a){try{vt(e,a)}catch(i){throw i}return{compliance:(a.headers.get("DAV")??"").split(",").map((i=>i.trim())),server:a.headers.get("Server")??""}},(o=gt(r,e))&&o.then||(o=Promise.resolve(o)),s?o.then(s):o;var o,s}));function Rs(e,t,n){return n?t?t(e):e:(e&&e.then||(e=Promise.resolve(e)),t?e.then(t):e)}const A6=Wc((function(e,t,n,r,o){let s=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{};if(n>r||n<0)throw new Gt({info:{code:Br.InvalidUpdateRange}},`Invalid update range ${n} for partial update`);const a={"Content-Type":"application/octet-stream","Content-Length":""+(r-n+1),"Content-Range":`bytes ${n}-${r}/*`},i=mt({url:rt(e.remoteURL,nt(t)),method:"PUT",headers:a,data:o},e,s);return Rs(gt(i,e),(function(u){vt(e,u)}))}));function r0(e,t){var n=e();return n&&n.then?n.then(t):t(n)}const S6=Wc((function(e,t,n,r,o){let s=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{};if(n>r||n<0)throw new Gt({info:{code:Br.InvalidUpdateRange}},`Invalid update range ${n} for partial update`);const a={"Content-Type":"application/x-sabredav-partialupdate","Content-Length":""+(r-n+1),"X-Update-Range":`bytes=${n}-${r}`},i=mt({url:rt(e.remoteURL,nt(t)),method:"PATCH",headers:a,data:o},e,s);return Rs(gt(i,e),(function(u){vt(e,u)}))}));function Wc(e){return function(){for(var t=[],n=0;n5&&arguments[5]!==void 0?arguments[5]:{};return Rs(Qm(e,t,s),(function(a){let i=!1;return r0((function(){if(a.compliance.includes("sabredav-partialupdate"))return Rs(S6(e,t,n,r,o,s),(function(u){return i=!0,u}))}),(function(u){let c=!1;return i?u:r0((function(){if(a.server.includes("Apache")&&a.compliance.includes(""))return Rs(A6(e,t,n,r,o,s),(function(l){return c=!0,l}))}),(function(l){if(c)return l;throw new Gt({info:{code:Br.NotSupported}},"Not supported")}))}))}))})),T6="https://github.com/perry-mitchell/webdav-client/blob/master/LOCK_CONTACT.md";function N6(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{authType:n=null,remoteBasePath:r,contactHref:o=T6,entityDecoder:s,ha1:a,headers:i={},httpAgent:u,httpsAgent:c,password:l,token:d,username:p,withCredentials:h}=t;let g=n;g||(g=p||l?Zt.Password:Zt.None);const f={authType:g,remoteBasePath:r,contactHref:o,ha1:a,headers:Object.assign({},i),httpAgent:u,httpsAgent:c,password:l,parsing:{attributeNamePrefix:t.attributeNamePrefix??"@",attributeParsers:[],entityDecoder:s,tagParsers:[Gm]},remotePath:EA(e),remoteURL:e,token:d,username:p,withCredentials:h};return Am(f,p,l,d,a),{copyFile:(m,v,y)=>oS(f,m,v,y),createDirectory:(m,v)=>tc(f,m,v),createReadStream:(m,v)=>(function(y,w){let C=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const x=new(t0()).PassThrough;return ZS(y,w,C).then((D=>{D.pipe(x)})).catch((D=>{x.emit("error",D)})),x})(f,m,v),createWriteStream:(m,v,y)=>(function(w,C){let x=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},D=arguments.length>3&&arguments[3]!==void 0?arguments[3]:JS;const $=new(t0()).PassThrough,K={};x.overwrite===!1&&(K["If-None-Match"]="*");const U=mt({url:rt(w.remoteURL,nt(C)),method:"PUT",headers:K,data:$,maxRedirects:0},w,x);return gt(U,w).then((B=>vt(w,B))).then((B=>{setTimeout((()=>{D(B)}),0)})).catch((B=>{$.emit("error",B)})),$})(f,m,v,y),customRequest:(m,v)=>YS(f,m,v),deleteFile:(m,v)=>QS(f,m,v),exists:(m,v)=>e6(f,m,v),getDirectoryContents:(m,v)=>t6(f,m,v),getFileContents:(m,v)=>o6(f,m,v),getFileDownloadLink:m=>(function(v,y){let w=rt(v.remoteURL,nt(y));const C=/^https:/i.test(w)?"https":"http";switch(v.authType){case Zt.None:break;case Zt.Password:{const x=Bh(v.headers.Authorization.replace(/^Basic /i,"").trim());w=w.replace(/^https?:\/\//,`${C}://${x}@`);break}default:throw new Gt({info:{code:Br.LinkUnsupportedAuthType}},`Unsupported auth type for file link: ${v.authType}`)}return w})(f,m),getFileUploadLink:m=>(function(v,y){let w=`${rt(v.remoteURL,nt(y))}?Content-Type=application/octet-stream`;const C=/^https:/i.test(w)?"https":"http";switch(v.authType){case Zt.None:break;case Zt.Password:{const x=Bh(v.headers.Authorization.replace(/^Basic /i,"").trim());w=w.replace(/^https?:\/\//,`${C}://${x}@`);break}default:throw new Gt({info:{code:Br.LinkUnsupportedAuthType}},`Unsupported auth type for file link: ${v.authType}`)}return w})(f,m),getHeaders:()=>Object.assign({},f.headers),getQuota:m=>b6(f,m),lock:(m,v)=>v6(f,m,v),moveFile:(m,v,y)=>w6(f,m,v,y),putFileContents:(m,v,y)=>x6(f,m,v,y),partialUpdateFileContents:(m,v,y,w,C)=>k6(f,m,v,y,w,C),getDAVCompliance:m=>Qm(f,m),search:(m,v)=>E6(f,m,v),setHeaders:m=>{f.headers=Object.assign({},m)},stat:(m,v)=>Vc(f,m,v),unlock:(m,v,y)=>m6(f,m,v,y),registerAttributeParser:m=>{f.parsing.attributeParsers.push(m)},registerTagParser:m=>{f.parsing.tagParsers.push(m)}}}function o0(e){return e&&e.split("/").map(encodeURIComponent).join("/")}function ev(e,t){return e=e.replace(/\\/g,"/").replace(/\/+$/g,"").replace(/.*\//,""),e}function s0(e){e=e.replaceAll(/\\/g,"/");const t=e.split("/");return t.length<=1?".":(t.pop(),t.length===1&&t[0]===""?"/":t.join("/"))}function D6(e){const t=ev(e),n=t.lastIndexOf(".");return n>0?t.substring(n):""}function O6(...e){if(arguments.length<1)return"";const t=e.filter(u=>u.length>0);if(t.length<1)return"";const n=t[t.length-1],r=t[0].charAt(0)==="/",o=n.charAt(n.length-1)==="/",s=t.reduce((u,c)=>u.concat(c.split("/")),[]);let a=!r;const i=s.reduce((u,c)=>c===""?u:a?(a=!1,u+c):u+"/"+c,"");return o?i+"/":i}window._nc_files_scope??={},window._nc_files_scope.v4_0??={};const Fs=window._nc_files_scope.v4_0;Vg().setApp("@nextcloud/files").detectUser().build();const qc=Object.freeze({Folder:"folder",File:"file"}),vn=Object.freeze({NONE:0,READ:1,UPDATE:2,CREATE:4,WRITE:4,DELETE:8,SHARE:16,ALL:31}),tv=Object.freeze({NEW:"new",FAILED:"failed",LOADING:"loading",LOCKED:"locked"});function nv(e,t){return e.match(t)!==null}function gr(e,t){if(e.id&&typeof e.id!="number"&&typeof e.id!="string")throw new Error("Invalid id type of value");if(!e.source)throw new Error("Missing mandatory source");try{new URL(e.source)}catch{throw new Error("Invalid source format, source must be a valid URL")}if(!e.source.startsWith("http"))throw new Error("Invalid source format, only http(s) is supported");if(!e.root)throw new Error("Missing mandatory root");if(typeof e.root!="string")throw new Error("Invalid root type");if(!e.root.startsWith("/"))throw new Error("Root must start with a leading slash");if(!e.source.includes(e.root))throw new Error("Root must be part of the source");if(nv(e.source,t)){const n=e.source.match(t)[0];if(!e.source.includes(O6(n,e.root)))throw new Error("The root must be relative to the service. e.g /files/emma")}if(e.displayname&&typeof e.displayname!="string")throw new Error("Invalid displayname type");if(e.mtime&&!(e.mtime instanceof Date))throw new Error("Invalid mtime type");if(e.crtime&&!(e.crtime instanceof Date))throw new Error("Invalid crtime type");if(!e.mime||typeof e.mime!="string"||!e.mime.match(/^[-\w.]+\/[-+\w.]+$/gi))throw new Error("Missing or invalid mandatory mime");if("size"in e&&typeof e.size!="number"&&e.size!==void 0)throw new Error("Invalid size type");if("permissions"in e&&e.permissions!==void 0&&!(typeof e.permissions=="number"&&e.permissions>=vn.NONE&&e.permissions<=vn.ALL))throw new Error("Invalid permissions");if(e.owner&&e.owner!==null&&typeof e.owner!="string")throw new Error("Invalid owner type");if(e.attributes&&typeof e.attributes!="object")throw new Error("Invalid attributes type");if(e.status&&!Object.values(tv).includes(e.status))throw new Error("Status must be a valid NodeStatus")}function P6(e){e.mtime&&typeof e.mtime=="string"&&!isNaN(Date.parse(e.mtime))&&JSON.stringify(new Date(e.mtime))===JSON.stringify(e.mtime)&&(e.mtime=new Date(e.mtime)),e.crtime&&typeof e.crtime=="string"&&!isNaN(Date.parse(e.crtime))&&JSON.stringify(new Date(e.crtime))===JSON.stringify(e.crtime)&&(e.crtime=new Date(e.crtime))}function B6(e){if(e instanceof RegExp)return e;const t=e.match(/(\/?)(.+)\1([a-z]*)/i);if(!t)throw new Error("Invalid regular expression format.");const n=Array.from(new Set(t[3])).filter(r=>"gimsuy".includes(r)).join("");return new RegExp(t[2],n)}class nu{_attributes;_data;_knownDavService=/(remote|public)\.php\/(web)?dav/i;readonlyAttributes=Object.entries(Object.getOwnPropertyDescriptors(nu.prototype)).filter(t=>typeof t[1].get=="function"&&t[0]!=="__proto__").map(t=>t[0]);handler={set:(t,n,r)=>this.readonlyAttributes.includes(n)?!1:Reflect.set(t,n,r),deleteProperty:(t,n)=>this.readonlyAttributes.includes(n)?!1:Reflect.deleteProperty(t,n)};constructor(...[t,n]){t.mime||(t.mime="application/octet-stream"),P6(t),n=B6(n||this._knownDavService),gr(t,n),this._data={...t,attributes:{}},this._attributes=new Proxy(this._data.attributes,this.handler),this.update(t.attributes??{}),n&&(this._knownDavService=n)}get source(){return this._data.source.replace(/\/$/i,"")}get encodedSource(){const{origin:t}=new URL(this.source);return t+o0(this.source.slice(t.length))}get basename(){return ev(this.source)}get displayname(){return this._data.displayname||this.basename}set displayname(t){gr({...this._data,displayname:t},this._knownDavService),this._data.displayname=t}get extension(){return D6(this.source)}get dirname(){return s0(this.path)}get mime(){return this._data.mime||"application/octet-stream"}set mime(t){t??="application/octet-stream",gr({...this._data,mime:t},this._knownDavService),this._data.mime=t}get mtime(){return this._data.mtime}set mtime(t){gr({...this._data,mtime:t},this._knownDavService),this._data.mtime=t}get crtime(){return this._data.crtime}get size(){return this._data.size}set size(t){gr({...this._data,size:t},this._knownDavService),this.updateMtime(),this._data.size=t}get attributes(){return this._attributes}get permissions(){return this.owner===null&&!this.isDavResource?vn.READ:this._data.permissions!==void 0?this._data.permissions:vn.NONE}set permissions(t){gr({...this._data,permissions:t},this._knownDavService),this.updateMtime(),this._data.permissions=t}get owner(){return this.isDavResource?this._data.owner:null}get isDavResource(){return nv(this.source,this._knownDavService)}get root(){return this._data.root.replace(/^(.+)\/$/,"$1")}get path(){const t=this.source.indexOf("://"),n=this.source.slice(0,t),r=this.source.slice(t+3),o=r.indexOf("/"),s=r.slice(0,o),a=r.slice(o),i=`${n}://${s}${o0(a)}`,u=new URL(i);let c=decodeURIComponent(u.pathname);this.isDavResource&&(c=c.split(this._knownDavService).pop());const l=c.indexOf(this.root),d=this.root.replace(/\/$/,"");return c.slice(l+d.length)||"/"}get fileid(){return typeof this._data?.id=="number"?this._data.id:void 0}get id(){if(!(typeof this._data?.id>"u"||typeof this._data.id=="number"&&this._data.id<0))return String(this._data.id)}get status(){return this._data?.status}set status(t){gr({...this._data,status:t},this._knownDavService),this._data.status=t}move(t){gr({...this._data,source:t},this._knownDavService);const n=this.basename;this._data.source=t,this.displayname===n&&this.basename!==n&&(this.displayname=this.basename)}rename(t){if(t.includes("/"))throw new Error("Invalid basename");this.move(s0(this.source)+"/"+t)}updateMtime(){this._data.mtime&&(this._data.mtime=new Date)}update(t){for(const[n,r]of Object.entries(t))try{r===void 0?delete this.attributes[n]:this.attributes[n]=r}catch(o){if(o instanceof TypeError)continue;throw o}}clone(){return new this.constructor(structuredClone(this._data),this._knownDavService)}toJSON(){return JSON.stringify([structuredClone(this._data),this._knownDavService.toString()])}}class $6 extends nu{constructor(...[t,n]){super(t,n)}get type(){return qc.File}}class R6 extends nu{constructor(...[t,n]){super({...t,mime:"httpd/unix-directory"},n)}get type(){return qc.Folder}get extension(){return null}get mime(){return"httpd/unix-directory"}}function F6(e=""){let t=vn.NONE;return e&&(e.includes("G")&&(t|=vn.READ),e.includes("W")&&(t|=vn.WRITE),e.includes("CK")&&(t|=vn.CREATE),e.includes("NV")&&(t|=vn.UPDATE),e.includes("D")&&(t|=vn.DELETE),e.includes("R")&&(t|=vn.SHARE)),t}const L6=["d:getcontentlength","d:getcontenttype","d:getetag","d:getlastmodified","d:creationdate","d:displayname","d:quota-available-bytes","d:resourcetype","nc:has-preview","nc:is-encrypted","nc:mount-type","oc:comments-unread","oc:favorite","oc:fileid","oc:owner-display-name","oc:owner-id","oc:permissions","oc:size"],I6={d:"DAV:",nc:"http://nextcloud.org/ns",oc:"http://owncloud.org/ns",ocs:"http://open-collaboration-services.org/ns"};function M6(){return Fs.davProperties??=[...L6],Fs.davProperties.map(e=>`<${e} />`).join(" ")}function z6(){return Fs.davNamespaces??={...I6},Object.keys(Fs.davNamespaces).map(e=>`xmlns:${e}="${Fs.davNamespaces?.[e]}"`).join(" ")}function rv(){return Fc()?`/files/${gA()}`:`/files/${Zi()?.uid}`}const j6=rv();function U6(){const e=F3("dav");return Fc()?e.replace("remote.php","public.php"):e}const ov=U6();function H6(e=ov,t={}){const n=N6(e,{headers:t});function r(o){n.setHeaders({...t,"X-Requested-With":"XMLHttpRequest",requesttoken:o??""})}return Ng(r),r(kg()),Sm().patch("fetch",(o,s)=>{const a=s.headers;return a?.method&&(s.method=a.method,delete a.method),fetch(o,s)}),n}function V6(e,t=j6,n=ov){let r=Zi()?.uid;if(Fc())r=r??"anonymous";else if(!r)throw new Error("No user id found");const o=e.props,s=F6(o?.permissions),a=String(o?.["owner-id"]||r),i=o.fileid||0,u=new Date(Date.parse(e.lastmod)),c=new Date(Date.parse(o.creationdate)),l={id:i,source:`${n}${e.filename}`,mtime:!isNaN(u.getTime())&&u.getTime()!==0?u:void 0,crtime:!isNaN(c.getTime())&&c.getTime()!==0?c:void 0,mime:e.mime||"application/octet-stream",displayname:o.displayname!==void 0?String(o.displayname):void 0,size:o?.size||Number.parseInt(o.getcontentlength||"0"),status:i<0?tv.FAILED:void 0,permissions:s,owner:a,root:t,attributes:{...e,...o,hasPreview:o?.["has-preview"]}};return delete l.attributes?.props,e.type==="file"?new $6(l):new R6(l)}const a0=200,oc=500;function G6(e){const t=r=>r.replace(/&/g,"&").replace(//g,">"),n=e.map(r=>` ${t(r)}`).join(` `);return` @@ -76,7 +76,7 @@ caused by: ${Gt.fullStack(n)}`:t.stack??""}static info(t){Ku(t);const n={},r=Gt. - ${nv()}/ + ${rv()}/ infinity @@ -95,13 +95,13 @@ ${n} ${oc+1} -`}let ws=null;async function W6(e){if(ws)return ws;const t=(await H6().search("/",{details:!0,data:G6(e)})).data.results;return ws={nodes:t.map(n=>V6(n)).filter(n=>n.type==="file").slice(0,oc),truncated:t.length>oc},ws}function q6(){ws=null}function K6(e,t){return e.filter(n=>t.includes(n.mime??""))}function ov(e,t){return function(){return e.apply(t,arguments)}}const{toString:Z6}=Object.prototype,{getPrototypeOf:Ho}=Object,{iterator:pa,toStringTag:sv}=Symbol,Ai=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),na=(e,t)=>{let n=e;const r=[];for(;n!=null&&n!==Object.prototype;){if(r.indexOf(n)!==-1)return!1;if(r.push(n),Ai(n,t))return!0;n=Ho(n)}return!1},X6=(e,t)=>e!=null&&na(e,t)?e[t]:void 0,Kc=(e=>t=>{const n=Z6.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),fn=e=>(e=e.toLowerCase(),t=>Kc(t)===e),ru=e=>t=>typeof t===e,{isArray:so}=Array,ao=ru("undefined");function Ko(e){return e!==null&&!ao(e)&&e.constructor!==null&&!ao(e.constructor)&&Yt(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const av=fn("ArrayBuffer");function Y6(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&av(e.buffer),t}const J6=ru("string"),Yt=ru("function"),iv=ru("number"),Zo=e=>e!==null&&typeof e=="object",Q6=e=>e===!0||e===!1,Ha=e=>{if(!Zo(e))return!1;const t=Ho(e);return(t===null||t===Object.prototype||Ho(t)===null)&&!na(e,sv)&&!na(e,pa)},ek=e=>{if(!Zo(e)||Ko(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},tk=fn("Date"),nk=fn("File"),rk=e=>!!(e&&typeof e.uri<"u"),ok=e=>e&&typeof e.getParts<"u",sk=fn("Blob"),ak=fn("FileList"),ik=fn("Set"),uk=e=>Zo(e)&&Yt(e.pipe);function lk(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof Jn<"u"?Jn:{}}const a0=lk(),i0=typeof a0.FormData<"u"?a0.FormData:void 0,ck=e=>{if(!e)return!1;if(i0&&e instanceof i0)return!0;const t=Ho(e);if(!t||t===Object.prototype||!Yt(e.append))return!1;const n=Kc(e);return n==="formdata"||n==="object"&&Yt(e.toString)&&e.toString()==="[object FormData]"},dk=fn("URLSearchParams"),[pk,hk,fk,gk]=["ReadableStream","Request","Response","Headers"].map(fn),mk=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function ha(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,o;if(typeof e!="object"&&(e=[e]),so(e))for(r=0,o=e.length;r0;)if(o=n[r],t===o.toLowerCase())return o;return null}const Jr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:Jn,lv=e=>!ao(e)&&e!==Jr;function sc(...e){const{caseless:t,skipUndefined:n}=lv(this)&&this||{},r={},o=(s,a)=>{if(a==="__proto__"||a==="constructor"||a==="prototype")return;const i=t&&typeof a=="string"&&uv(r,a)||a,u=Ai(r,i)?r[i]:void 0;Ha(u)&&Ha(s)?r[i]=sc(u,s):Ha(s)?r[i]=sc({},s):so(s)?r[i]=s.slice():(!n||!ao(s))&&(r[i]=s)};for(let s=0,a=e.length;s(ha(t,(o,s)=>{n&&Yt(o)?Object.defineProperty(e,s,{__proto__:null,value:ov(o,n),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(e,s,{__proto__:null,value:o,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:r}),e),yk=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),bk=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),Object.defineProperty(e.prototype,"constructor",{__proto__:null,value:e,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(e,"super",{__proto__:null,value:t.prototype}),n&&Object.assign(e.prototype,n)},Ek=(e,t,n,r)=>{let o,s,a;const i={};if(t=t||{},e==null)return t;do{for(o=Object.getOwnPropertyNames(e),s=o.length;s-- >0;)a=o[s],(!r||r(a,e,t))&&!i[a]&&(t[a]=e[a],i[a]=!0);e=n!==!1&&Ho(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},wk=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},Ck=e=>{if(!e)return null;if(so(e))return e;let t=e.length;if(!iv(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},_k=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Ho(Uint8Array)),xk=(e,t)=>{const n=(e&&e[pa]).call(e);let r;for(;(r=n.next())&&!r.done;){const o=r.value;t.call(e,o[0],o[1])}},Ak=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},Sk=fn("HTMLFormElement"),kk=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(t,n,r){return n.toUpperCase()+r}),{propertyIsEnumerable:Tk}=Object.prototype,Nk=fn("RegExp"),cv=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};ha(n,(o,s)=>{let a;(a=t(o,s,e))!==!1&&(r[s]=a||o)}),Object.defineProperties(e,r)},Dk=e=>{cv(e,(t,n)=>{if(Yt(e)&&["arguments","caller","callee"].includes(n))return!1;const r=e[n];if(Yt(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},Ok=(e,t)=>{const n={},r=o=>{o.forEach(s=>{n[s]=!0})};return so(e)?r(e):r(String(e).split(t)),n},Pk=()=>{},Bk=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function $k(e){return!!(e&&Yt(e.append)&&e[sv]==="FormData"&&e[pa])}const Rk=e=>{const t=new WeakSet,n=r=>{if(Zo(r)){if(t.has(r))return;if(Ko(r))return r;if(!("toJSON"in r)){t.add(r);let o;if(ik(r)){o=[];for(const s of r){const a=n(s);!ao(a)&&o.push(a)}}else o=so(r)?[]:{},ha(r,(s,a)=>{const i=n(s);!ao(i)&&(o[a]=i)});return t.delete(r),o}}return r};return n(e)},Fk=fn("AsyncFunction"),Lk=e=>e&&(Zo(e)||Yt(e))&&Yt(e.then)&&Yt(e.catch),dv=((e,t)=>e?setImmediate:t?((n,r)=>(Jr.addEventListener("message",({source:o,data:s})=>{o===Jr&&s===n&&r.length&&r.shift()()},!1),o=>{r.push(o),Jr.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",Yt(Jr.postMessage)),Ik=typeof queueMicrotask<"u"?queueMicrotask.bind(Jr):typeof to<"u"&&to.nextTick||dv,pv=e=>e!=null&&Yt(e[pa]),Mk=e=>e!=null&&na(e,pa)&&pv(e),N={isArray:so,isArrayBuffer:av,isBuffer:Ko,isFormData:ck,isArrayBufferView:Y6,isString:J6,isNumber:iv,isBoolean:Q6,isObject:Zo,isPlainObject:Ha,isEmptyObject:ek,isReadableStream:pk,isRequest:hk,isResponse:fk,isHeaders:gk,isUndefined:ao,isDate:tk,isFile:nk,isReactNativeBlob:rk,isReactNative:ok,isBlob:sk,isRegExp:Nk,isFunction:Yt,isStream:uk,isURLSearchParams:dk,isTypedArray:_k,isFileList:ak,forEach:ha,merge:sc,extend:vk,trim:mk,stripBOM:yk,inherits:bk,toFlatObject:Ek,kindOf:Kc,kindOfTest:fn,endsWith:wk,toArray:Ck,forEachEntry:xk,matchAll:Ak,isHTMLForm:Sk,hasOwnProperty:Ai,hasOwnProp:Ai,hasOwnInPrototypeChain:na,getSafeProp:X6,reduceDescriptors:cv,freezeMethods:Dk,toObjectSet:Ok,toCamelCase:kk,noop:Pk,toFiniteNumber:Bk,findKey:uv,global:Jr,isContextDefined:lv,isSpecCompliantForm:$k,toJSONObject:Rk,isAsyncFn:Fk,isThenable:Lk,setImmediate:dv,asap:Ik,isIterable:pv,isSafeIterable:Mk},zk=N.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),jk=e=>{const t={};let n,r,o;return e&&e.split(` -`).forEach(function(s){o=s.indexOf(":"),n=s.substring(0,o).trim().toLowerCase(),r=s.substring(o+1).trim();const a=N.hasOwnProp(t,n);!n||a&&N.hasOwnProp(zk,n)||(n==="set-cookie"?a?t[n].push(r):t[n]=[r]:t[n]=a?t[n]+", "+r:r)}),t};function Uk(e){let t=0,n=e.length;for(;tt;){const r=e.charCodeAt(n-1);if(r!==9&&r!==32)break;n-=1}return t===0&&n===e.length?e:e.slice(t,n)}const Hk=new RegExp("[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+","g"),Vk=new RegExp("[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+","g");function Zc(e,t){return N.isArray(e)?e.map(n=>Zc(n,t)):Uk(String(e).replace(t,""))}const Gk=e=>Zc(e,Hk),Wk=e=>Zc(e,Vk);function hv(e){const t=Object.create(null);return N.forEach(e.toJSON(),(n,r)=>{t[r]=Wk(n)}),t}const u0=Symbol("internals");function fs(e){return e&&String(e).trim().toLowerCase()}function Va(e){return e===!1||e==null?e:N.isArray(e)?e.map(Va):Gk(String(e))}function qk(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const Kk=/^[!#$%&'*+\-.^_`|~0-9A-Za-z]+$/;function al(e){let t=0,n=e.length;for(;tt;){const r=e.charCodeAt(n-1);if(r!==9&&r!==32)break;n-=1}return t===0&&n===e.length?e:e.slice(t,n)}function Zk(e){const t=e.length-1;if(t<1||e.charCodeAt(0)!==34||e.charCodeAt(t)!==34)return e;let n="";for(let r=1;r=t))return e;n+=e[r]}return n}function Xk(e){const t=Object.create(null),n=String(e);let r=0,o=!1,s=!1;function a(i){const u=al(n.slice(r,i)),c=u.indexOf("=");if(c<1)return;const l=al(u.slice(0,c));if(!Kk.test(l))return;const d=l.toLowerCase();if(d==="__proto__"||d==="constructor"||d==="prototype")return;const p=al(u.slice(c+1));t[d]=Zk(p)}for(let i=0;i/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function il(e,t,n,r,o){if(N.isFunction(r))return r.call(this,t,n);if(o&&(t=n),!!N.isString(t)){if(N.isString(r))return t.indexOf(r)!==-1;if(N.isRegExp(r))return r.test(t)}}function Jk(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function Qk(e,t){const n=N.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{__proto__:null,value:function(o,s,a){return this[r].call(this,t,o,s,a)},configurable:!0})})}let It=class{constructor(e){e&&this.set(e)}set(e,t,n){const r=this;function o(a,i,u){const c=fs(i);if(!c)return;const l=N.findKey(r,c);(!l||r[l]===void 0||u===!0||u===void 0&&r[l]!==!1)&&(r[l||i]=Va(a))}const s=(a,i)=>N.forEach(a,(u,c)=>o(u,c,i));if(N.isPlainObject(e)||e instanceof this.constructor)s(e,t);else if(N.isString(e)&&(e=e.trim())&&!Yk(e))s(jk(e),t);else if(N.isObject(e)&&N.isSafeIterable(e)){let a=Object.create(null),i,u;for(const c of e){if(!N.isArray(c))throw new TypeError("Object iterator must return a key-value pair");u=c[0],N.hasOwnProp(a,u)?(i=a[u],a[u]=N.isArray(i)?[...i,c[1]]:[i,c[1]]):a[u]=c[1]}s(a,t)}else e!=null&&o(t,e,n);return this}get(e,t){if(e=fs(e),e){const n=N.findKey(this,e);if(n){const r=this[n];if(!t)return r;if(t===!0)return qk(r);if(N.isFunction(t))return t.call(this,r,n);if(N.isRegExp(t))return t.exec(r);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=fs(e),e){const n=N.findKey(this,e);return!!(n&&this[n]!==void 0&&(!t||il(this,this[n],n,t)))}return!1}delete(e,t){const n=this;let r=!1;function o(s){if(s=fs(s),s){const a=N.findKey(n,s);a&&(!t||il(n,n[a],a,t))&&(delete n[a],r=!0)}}return N.isArray(e)?e.forEach(o):o(e),r}clear(e){const t=Object.keys(this);let n=t.length,r=!1;for(;n--;){const o=t[n];(!e||il(this,this[o],o,e,!0))&&(delete this[o],r=!0)}return r}normalize(e){const t=this,n={};return N.forEach(this,(r,o)=>{const s=N.findKey(n,o);if(s){t[s]=Va(r),delete t[o];return}const a=e?Jk(o):String(o).trim();a!==o&&delete t[o],t[a]=Va(r),n[a]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return N.forEach(this,(n,r)=>{n!=null&&n!==!1&&(t[r]=e&&N.isArray(n)?n.join(", "):n)}),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,t])=>e+": "+t).join(` -`)}getSetCookie(){const e=this.get("set-cookie");return N.isArray(e)?e:e==null||e===!1?[]:[e]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static parseParameters(e){return Xk(e)}static concat(e,...t){const n=new this(e);return t.forEach(r=>n.set(r)),n}static accessor(e){const t=(this[u0]=this[u0]={accessors:{}}).accessors,n=this.prototype;function r(o){const s=fs(o);t[s]||(Qk(n,o),t[s]=!0)}return N.isArray(e)?e.forEach(r):r(e),this}};It.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),N.reduceDescriptors(It.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}}),N.freezeMethods(It);const Si="[REDACTED ****]";function e5(e){if(N.hasOwnProp(e,"toJSON"))return!0;let t=Object.getPrototypeOf(e);for(;t&&t!==Object.prototype;){if(N.hasOwnProp(t,"toJSON"))return!0;t=Object.getPrototypeOf(t)}return!1}function t5(e,t){const n=new Set(t.map(s=>String(s).toLowerCase())),r=[],o=s=>{if(s===null||typeof s!="object"||N.isBuffer(s))return s;if(r.indexOf(s)!==-1)return;s instanceof It&&(s=s.toJSON()),r.push(s);let a;if(N.isArray(s))a=[],s.forEach((i,u)=>{const c=o(i);N.isUndefined(c)||(a[u]=c)});else{if(!N.isPlainObject(s)&&e5(s))return r.pop(),s;a=Object.create(null);for(const[i,u]of Object.entries(s)){const c=n.has(i.toLowerCase())?Si:o(u);N.isUndefined(c)||(a[i]=c)}}return r.pop(),a};return o(e)}function l0(e){try{return String(e)}catch{return""}}function n5(e){return e.errors.map(t=>{try{return t&&t.message?l0(t.message):l0(t)}catch{return""}}).filter(Boolean).join("; ")||e.name||"AggregateError"}let le=class fv extends Error{static from(t,n,r,o,s,a){let i=t.message;!i&&N.isArray(t.errors)&&t.errors.length&&(i=n5(t));const u=new fv(i,n||t.code,r,o,s);return Object.defineProperty(u,"cause",{__proto__:null,value:t,writable:!0,enumerable:!1,configurable:!0}),u.name=t.name,t.status!=null&&u.status==null&&(u.status=t.status),a&&Object.assign(u,a),u}constructor(t,n,r,o,s){super(t),Object.defineProperty(this,"message",{__proto__:null,value:t,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,n&&(this.code=n),r&&(this.config=r),o&&(this.request=o),s&&(this.response=s,this.status=s.status)}toJSON(){const t=this.config,n=t&&N.hasOwnProp(t,"redact")?t.redact:void 0,r=N.isArray(n)&&n.length>0?t5(t,n):N.toJSONObject(t);return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:r,code:this.code,status:this.status}}};le.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE",le.ERR_BAD_OPTION="ERR_BAD_OPTION",le.ECONNABORTED="ECONNABORTED",le.ETIMEDOUT="ETIMEDOUT",le.ECONNREFUSED="ECONNREFUSED",le.ERR_NETWORK="ERR_NETWORK",le.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS",le.ERR_DEPRECATED="ERR_DEPRECATED",le.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE",le.ERR_BAD_REQUEST="ERR_BAD_REQUEST",le.ERR_CANCELED="ERR_CANCELED",le.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT",le.ERR_INVALID_URL="ERR_INVALID_URL",le.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";const r5=null,gv=100;function ac(e){return N.isPlainObject(e)||N.isArray(e)}function mv(e){return N.endsWith(e,"[]")?e.slice(0,-2):e}function ul(e,t,n){return e?e.concat(t).map(function(r,o){return r=mv(r),!n&&o?"["+r+"]":r}).join(n?".":""):t}function o5(e){return N.isArray(e)&&!e.some(ac)}const s5=N.toFlatObject(N,{},null,function(e){return/^is[A-Z]/.test(e)});function ou(e,t,n){if(!N.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=N.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(v,y){return!N.isUndefined(y[v])});const r=n.metaTokens,o=n.visitor||g,s=n.dots,a=n.indexes,i=n.Blob||typeof Blob<"u"&&Blob,u=n.maxDepth===void 0?gv:n.maxDepth,c=i&&N.isSpecCompliantForm(t),l=[];if(!N.isFunction(o))throw new TypeError("visitor must be a function");function d(v){if(v===null)return"";if(N.isDate(v))return v.toISOString();if(N.isBoolean(v))return v.toString();if(!c&&N.isBlob(v))throw new le("Blob is not supported. Use a Buffer instead.");if(N.isArrayBuffer(v)||N.isTypedArray(v)){if(c&&typeof i=="function")return new i([v]);throw new le("Blob is not supported. Use a Buffer instead.",le.ERR_NOT_SUPPORT)}return v}function p(v){if(v>u)throw new le("Object is too deeply nested ("+v+" levels). Max depth: "+u,le.ERR_FORM_DATA_DEPTH_EXCEEDED)}function h(v,y){if(u===1/0)return JSON.stringify(v);const w=[];return JSON.stringify(v,function(C,x){if(!N.isObject(x))return x;for(;w.length&&w[w.length-1]!==this;)w.pop();return w.push(x),p(y+w.length-1),x})}function g(v,y,w){let C=v;if(N.isReactNative(t)&&N.isReactNativeBlob(v))return t.append(ul(w,y,s),d(v)),!1;if(v&&!w&&typeof v=="object"){if(N.endsWith(y,"{}"))y=r?y:y.slice(0,-2),v=h(v,1);else if(N.isArray(v)&&o5(v)||(N.isFileList(v)||N.endsWith(y,"[]"))&&(C=N.toArray(v)))return y=mv(y),C.forEach(function(x,D){!(N.isUndefined(x)||x===null)&&t.append(a===!0?ul([y],D,s):a===null?y:y+"[]",d(x))}),!1}return ac(v)?!0:(t.append(ul(w,y,s),d(v)),!1)}const f=Object.assign(s5,{defaultVisitor:g,convertValue:d,isVisitable:ac});function m(v,y,w=0){if(!N.isUndefined(v)){if(p(w),l.indexOf(v)!==-1)throw new Error("Circular reference detected in "+y.join("."));l.push(v),N.forEach(v,function(C,x){(!(N.isUndefined(C)||C===null)&&o.call(t,C,N.isString(x)?x.trim():x,y,f))===!0&&m(C,y?y.concat(x):[x],w+1)}),l.pop()}}if(!N.isObject(e))throw new TypeError("data must be an object");return m(e),t}function c0(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent(e).replace(/[!'()~]|%20/g,function(n){return t[n]})}function Xc(e,t){this._pairs=[],e&&ou(e,this,t)}const d0=Xc.prototype;d0.append=function(e,t){this._pairs.push([e,t])},d0.toString=function(e){const t=e?n=>e.call(this,n,c0):c0;return this._pairs.map(function(n){return t(n[0])+"="+t(n[1])},"").join("&")};function a5(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function vv(e,t,n){if(!t)return e;e=e||"";const r=N.isFunction(n)?{serialize:n}:n,o=N.getSafeProp(r,"encode")||a5,s=N.getSafeProp(r,"serialize");let a;if(s?a=s(t,r):a=N.isURLSearchParams(t)?t.toString():new Xc(t,r).toString(o),a){const i=e.indexOf("#");i!==-1&&(e=e.slice(0,i)),e+=(e.indexOf("?")===-1?"?":"&")+a}return e}class p0{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){N.forEach(this.handlers,function(n){n!==null&&t(n)})}}const Yc={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0,advertiseZstdAcceptEncoding:!1,validateStatusUndefinedResolves:!0},i5=typeof URLSearchParams<"u"?URLSearchParams:Xc,u5=typeof FormData<"u"?FormData:null,l5=typeof Blob<"u"?Blob:null,c5={isBrowser:!0,classes:{URLSearchParams:i5,FormData:u5,Blob:l5},protocols:["http","https","file","blob","url","data"]},Jc=typeof window<"u"&&typeof document<"u",ic=typeof navigator=="object"&&navigator||void 0,d5=Jc&&(!ic||["ReactNative","NativeScript","NS"].indexOf(ic.product)<0),p5=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",h5=Jc&&window.location.href||"http://localhost",f5=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Jc,hasStandardBrowserEnv:d5,hasStandardBrowserWebWorkerEnv:p5,navigator:ic,origin:h5},Symbol.toStringTag,{value:"Module"})),_t={...f5,...c5};function g5(e,t){return ou(e,new _t.classes.URLSearchParams,{visitor:function(n,r,o,s){return _t.isNode&&N.isBuffer(n)?(this.append(r,n.toString("base64")),!1):s.defaultVisitor.apply(this,arguments)},...t})}const h0=gv;function yv(e){if(e>h0)throw new le("FormData field is too deeply nested ("+e+" levels). Max depth: "+h0,le.ERR_FORM_DATA_DEPTH_EXCEEDED)}function m5(e){const t=[],n=/[^.[\]]+|\[([^.[\]]*)]/g;let r;for(;(r=n.exec(e))!==null;)yv(t.length),t.push(r[0]==="[]"?"":r[1]||r[0]);return t}function v5(e){const t={},n=Object.keys(e);let r;const o=n.length;let s;for(r=0;r=n.length;return a=!a&&N.isArray(o)?o.length:a,u?(N.hasOwnProp(o,a)?o[a]=N.isArray(o[a])?o[a].concat(r):[o[a],r]:o[a]=r,!i):((!N.hasOwnProp(o,a)||!N.isObject(o[a]))&&(o[a]=[]),t(n,r,o[a],s)&&N.isArray(o[a])&&(o[a]=v5(o[a])),!i)}if(N.isFormData(e)&&N.isFunction(e.entries)){const n={};return N.forEachEntry(e,(r,o)=>{t(m5(r),o,n,0)}),n}return null}const wo=(e,t)=>e!=null&&N.hasOwnProp(e,t)?e[t]:void 0;function y5(e,t,n){if(N.isString(e))try{return(t||JSON.parse)(e),N.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const fa={transitional:Yc,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const n=t.getContentType()||"",r=n.indexOf("application/json")>-1,o=N.isObject(e);if(o&&N.isHTMLForm(e)&&(e=new FormData(e)),N.isFormData(e))return r?JSON.stringify(bv(e)):e;if(N.isArrayBuffer(e)||N.isBuffer(e)||N.isStream(e)||N.isFile(e)||N.isBlob(e)||N.isReadableStream(e))return e;if(N.isArrayBufferView(e))return e.buffer;if(N.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let s;if(o){const a=wo(this,"formSerializer");if(n.indexOf("application/x-www-form-urlencoded")>-1)return g5(e,a).toString();if((s=N.isFileList(e))||n.indexOf("multipart/form-data")>-1){const i=wo(this,"env"),u=i&&i.FormData;return ou(s?{"files[]":e}:e,u&&new u,a)}}return o||r?(t.setContentType("application/json",!1),y5(e)):e}],transformResponse:[function(e){const t=wo(this,"transitional")||fa.transitional,n=t&&t.forcedJSONParsing,r=wo(this,"responseType"),o=r==="json";if(N.isResponse(e)||N.isReadableStream(e))return e;if(e&&N.isString(e)&&(n&&!r||o)){const s=!(t&&t.silentJSONParsing)&&o;try{return JSON.parse(e,wo(this,"parseReviver"))}catch(a){if(s)throw a.name==="SyntaxError"?le.from(a,le.ERR_BAD_RESPONSE,this,null,wo(this,"response")):a}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:_t.classes.FormData,Blob:_t.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};N.forEach(["delete","get","head","post","put","patch","query"],e=>{fa.headers[e]={}});function ll(e,t){const n=this||fa,r=t||n,o=It.from(r.headers);let s=r.data;return N.forEach(e,function(a){s=a.call(n,s,o.normalize(),t?t.status:void 0)}),o.normalize(),s}function Ev(e){return!!(e&&e.__CANCEL__)}let ga=class extends le{constructor(e,t,n){super(e??"canceled",le.ERR_CANCELED,t,n),this.name="CanceledError",this.__CANCEL__=!0}};function wv(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new le("Request failed with status code "+n.status,n.status>=400&&n.status<500?le.ERR_BAD_REQUEST:le.ERR_BAD_RESPONSE,n.config,n.request,n))}function b5(e){const t=/^([-+\w]{1,25}):(?:\/\/)?/.exec(e);return t&&t[1]||""}function E5(e,t){e=e||10;const n=new Array(e),r=new Array(e);let o=0,s=0,a;return t=t!==void 0?t:1e3,function(i){const u=Date.now(),c=r[s];a||(a=u),n[o]=i,r[o]=u;let l=s,d=0;for(;l!==o;)d+=n[l++],l=l%e;if(o=(o+1)%e,o===s&&(s=(s+1)%e),u-a{n=u,o=null,s&&(clearTimeout(s),s=null),e(...i)};return[(...i)=>{const u=Date.now(),c=u-n;c>=r?a(i,u):(o=i,s||(s=setTimeout(()=>{s=null,a(o)},r-c)))},()=>o&&a(o)]}const ki=(e,t,n=3)=>{let r=0;const o=E5(50,250);return w5(s=>{if(!s||typeof s.loaded!="number")return;const a=s.loaded,i=s.lengthComputable?s.total:void 0,u=Math.max(0,i!=null?Math.min(a,i):a),c=Math.max(0,u-r),l=o(c);r=Math.max(r,u);const d={loaded:u,total:i,progress:i?u/i:void 0,bytes:c,rate:l||void 0,estimated:l&&i?(i-u)/l:void 0,event:s,lengthComputable:i!=null,[t?"download":"upload"]:!0};e(d)},n)},f0=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},g0=(e,t=N.asap)=>(...n)=>t(()=>e(...n)),C5=_t.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,_t.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(_t.origin),_t.navigator&&/(msie|trident)/i.test(_t.navigator.userAgent)):()=>!0,_5=_t.hasStandardBrowserEnv?{write(e,t,n,r,o,s,a){if(typeof document>"u")return;const i=[`${e}=${encodeURIComponent(t)}`];N.isNumber(n)&&i.push(`expires=${new Date(n).toUTCString()}`),N.isString(r)&&i.push(`path=${r}`),N.isString(o)&&i.push(`domain=${o}`),s===!0&&i.push("secure"),N.isString(a)&&i.push(`SameSite=${a}`),document.cookie=i.join("; ")},read(e){if(typeof document>"u")return null;const t=document.cookie.split(";");for(let n=0;n0&&e.charCodeAt(n-1)===47;)n--;return e.slice(0,n)+"/"+t.replace(/^\/+/,"")}const S5=/^https?:(?!\/\/)/i,k5=/[\t\n\r]/g;function T5(e){let t=0;for(;t`${n}${r}${Si}`)}function O5(e){const t=e.replace(/^(https?:\/{0,2})[^/?#]*@/i,`$1${Si}@`),n=t.indexOf("#"),r=(n===-1?t:t.slice(0,n)).replace(/([?&][^=&#]*=)[^&#]*/g,`$1${Si}`);return n===-1?r:`${r}#${D5(t.slice(n+1))}`}function m0(e,t){if(typeof e=="string"){const n=N5(e);if(S5.test(n))throw new le(`Invalid URL ${JSON.stringify(O5(n))}: missing "//" after protocol`,le.ERR_INVALID_URL,t)}}function Cv(e,t,n,r){m0(t,r);let o=!x5(t);return e&&(o||n===!1)?(m0(e,r),A5(e,t)):t}const v0=e=>e instanceof It?{...e}:e,P5=e=>Object.getOwnPropertySymbols&&Object.getOwnPropertyDescriptor?Object.keys(e).concat(Object.getOwnPropertySymbols(e).filter(t=>Object.getOwnPropertyDescriptor(e,t).enumerable)):Object.keys(e);function io(e,t){e=e||{},t=t||{};const n=Object.create(null);Object.defineProperty(n,"hasOwnProperty",{__proto__:null,value:Object.prototype.hasOwnProperty,enumerable:!1,writable:!0,configurable:!0});function r(l,d,p,h){return N.isPlainObject(l)&&N.isPlainObject(d)?N.merge.call({caseless:h},l,d):N.isPlainObject(d)?N.merge({},d):N.isArray(d)?d.slice():d}function o(l,d,p,h){if(N.isUndefined(d)){if(!N.isUndefined(l))return r(void 0,l,p,h)}else return r(l,d,p,h)}function s(l,d){if(!N.isUndefined(d))return r(void 0,d)}function a(l,d){if(N.isUndefined(d)){if(!N.isUndefined(l))return r(void 0,l)}else return r(void 0,d)}function i(l){const d=N.hasOwnProp(t,"transitional")?t.transitional:void 0;if(!N.isUndefined(d))if(N.isPlainObject(d)){if(N.hasOwnProp(d,l))return d[l]}else return;const p=N.hasOwnProp(e,"transitional")?e.transitional:void 0;if(N.isPlainObject(p)&&N.hasOwnProp(p,l))return p[l]}function u(l,d,p){if(N.hasOwnProp(t,p))return r(l,d);if(N.hasOwnProp(e,p))return r(void 0,l)}const c={url:s,method:s,data:s,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,allowedSocketPaths:a,responseEncoding:a,validateStatus:u,headers:(l,d,p)=>o(v0(l),v0(d),p,!0)};return N.forEach(P5({...e,...t}),function(l){if(l==="__proto__"||l==="constructor"||l==="prototype")return;const d=N.hasOwnProp(c,l)?c[l]:o,p=N.hasOwnProp(e,l)?e[l]:void 0,h=N.hasOwnProp(t,l)?t[l]:void 0,g=d(p,h,l);N.isUndefined(g)&&d!==u||(n[l]=g)}),N.hasOwnProp(t,"validateStatus")&&N.isUndefined(t.validateStatus)&&i("validateStatusUndefinedResolves")===!1&&(N.hasOwnProp(e,"validateStatus")?n.validateStatus=r(void 0,e.validateStatus):delete n.validateStatus),n}const B5=["content-type","content-length"];function $5(e,t,n){if(n!=="content-only"){e.set(t);return}Object.entries(t||{}).forEach(([r,o])=>{B5.includes(r.toLowerCase())&&e.set(r,o)})}const R5=e=>encodeURIComponent(e).replace(/%([0-9A-F]{2})/gi,(t,n)=>String.fromCharCode(parseInt(n,16)));function _v(e){const t=io({},e),n=p=>N.hasOwnProp(t,p)?t[p]:void 0,r=n("data");let o=n("withXSRFToken");const s=n("xsrfHeaderName"),a=n("xsrfCookieName");let i=n("headers");const u=n("auth"),c=n("baseURL"),l=n("allowAbsoluteUrls"),d=n("url");if(t.headers=i=It.from(i),t.url=vv(Cv(c,d,l,t),n("params"),n("paramsSerializer")),u){const p=N.getSafeProp(u,"username")||"",h=N.getSafeProp(u,"password")||"";try{i.set("Authorization","Basic "+btoa(p+":"+(h?R5(h):"")))}catch(g){throw le.from(g,le.ERR_BAD_OPTION_VALUE,e)}}if(N.isFormData(r)&&(_t.hasStandardBrowserEnv||_t.hasStandardBrowserWebWorkerEnv||N.isReactNative(r)?i.setContentType(void 0):N.isFunction(r.getHeaders)&&$5(i,r.getHeaders(),n("formDataHeaderPolicy"))),_t.hasStandardBrowserEnv&&(N.isFunction(o)&&(o=o(t)),o===!0||o==null&&C5(t.url))){const p=s&&a&&_5.read(a);p&&i.set(s,p)}return t}const F5=typeof XMLHttpRequest<"u",L5=F5&&function(e){return new Promise(function(t,n){const r=_v(e);let o=r.data;const s=It.from(r.headers).normalize();let{responseType:a,onUploadProgress:i,onDownloadProgress:u}=r,c,l,d,p,h;function g(){p&&p(),h&&h(),r.cancelToken&&r.cancelToken.unsubscribe(c),r.signal&&r.signal.removeEventListener("abort",c)}let f=new XMLHttpRequest;f.open(r.method.toUpperCase(),r.url,!0),f.timeout=r.timeout;function m(){if(!f)return;const y=It.from("getAllResponseHeaders"in f&&f.getAllResponseHeaders()),w={data:!a||a==="text"||a==="json"?f.responseText:f.response,status:f.status,statusText:f.statusText,headers:y,config:e,request:f};wv(function(C){t(C),g()},function(C){n(C),g()},w),f=null}"onloadend"in f?f.onloadend=m:f.onreadystatechange=function(){!f||f.readyState!==4||f.status===0&&!(f.responseURL&&f.responseURL.startsWith("file:"))||setTimeout(m)},f.onabort=function(){f&&(n(new le("Request aborted",le.ECONNABORTED,e,f)),g(),f=null)},f.onerror=function(y){const w=y&&y.message?y.message:"Network Error",C=new le(w,le.ERR_NETWORK,e,f);C.event=y||null,n(C),g(),f=null},f.ontimeout=function(){let y=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const w=r.transitional||Yc;r.timeoutErrorMessage&&(y=r.timeoutErrorMessage),n(new le(y,w.clarifyTimeoutError?le.ETIMEDOUT:le.ECONNABORTED,e,f)),g(),f=null},o===void 0&&s.setContentType(null),"setRequestHeader"in f&&N.forEach(hv(s),function(y,w){f.setRequestHeader(w,y)}),N.isUndefined(r.withCredentials)||(f.withCredentials=!!r.withCredentials),a&&a!=="json"&&(f.responseType=r.responseType),u&&([d,h]=ki(u,!0),f.addEventListener("progress",d)),i&&f.upload&&([l,p]=ki(i),f.upload.addEventListener("progress",l),f.upload.addEventListener("loadend",p)),(r.cancelToken||r.signal)&&(c=y=>{f&&(n(!y||y.type?new ga(null,e,f):y),f.abort(),g(),f=null)},r.cancelToken&&r.cancelToken.subscribe(c),r.signal&&(r.signal.aborted?c():r.signal.addEventListener("abort",c)));const v=b5(r.url);if(v&&!_t.protocols.includes(v)){n(new le("Unsupported protocol "+v+":",le.ERR_BAD_REQUEST,e)),g();return}f.send(o||null)})},I5=(e,t)=>{if(e=e?e.filter(Boolean):[],!t&&!e.length)return;const n=new AbortController;let r=!1;const o=function(u){if(!r){r=!0,a();const c=u instanceof Error?u:this.reason;n.abort(c instanceof le?c:new ga(c instanceof Error?c.message:c))}};let s=t&&setTimeout(()=>{s=null,o(new le(`timeout of ${t}ms exceeded`,le.ETIMEDOUT))},t);const a=()=>{e&&(s&&clearTimeout(s),s=null,e.forEach(u=>{u.unsubscribe?u.unsubscribe(o):u.removeEventListener("abort",o)}),e=null)};e.forEach(u=>{if(!r){if(u.aborted){o.call(u);return}u.addEventListener("abort",o,{once:!0})}});const{signal:i}=n;return i.unsubscribe=()=>N.asap(a),i},M5=function*(e,t){let n=e.byteLength;if(n{const o=z5(e,t);let s=0,a,i=u=>{a||(a=!0,r&&r(u))};return new ReadableStream({async pull(u){try{const{done:c,value:l}=await o.next();if(c){i(),u.close();return}let d=l.byteLength;if(n){let p=s+=d;n(p)}u.enqueue(new Uint8Array(l))}catch(c){throw i(c),c}},cancel(u){return i(u),o.return()}},{highWaterMark:2})},b0=e=>e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102,xv=(e,t,n)=>t+2e<=57?e-48:(e&223)-55,U5=e=>e>=65&&e<=90||e>=97&&e<=122||e>=48&&e<=57||e===43||e===47||e===45||e===95,H5=e=>e===9||e===10||e===12||e===13||e===32,V5=e=>{const t=Math.floor(e/4),n=e%4;return t*3+(n===2?1:n===3?2:0)},G5=e=>{const t=e.length;let n=0;return t>0&&e.charCodeAt(t-1)===61&&(n++,t>1&&e.charCodeAt(t-2)===61&&n++),Math.floor((t-n)*3/4)},W5=e=>{const t=e.length;let n=0,r=0,o=!1;for(let s=0;s0){o=!0;continue}n++}}return o||r>2||r>0&&(n+r)%4!==0||n%4===1?G5(e):V5(n)},q5=(e,t)=>{if(!e||typeof e!="string"||!e.startsWith("data:"))return 0;const n=e.indexOf(",");if(n<0)return 0;const r=e.slice(5,n),o=e.slice(n+1);if(/;base64/i.test(r))return t(o);let s=0;for(let a=0,i=o.length;a=55296&&u<=56319&&a+1=56320&&c<=57343?(s+=4,a++):s+=3}else s+=3}return s};function K5(e){const t=typeof e=="string"?e.indexOf("#"):-1;return q5(t===-1?e:e.slice(0,t),W5)}const Qc="1.19.0",w0=64*1024,{isFunction:Ra}=N,Z5=e=>encodeURIComponent(e).replace(/%([0-9A-F]{2})/gi,(t,n)=>String.fromCharCode(parseInt(n,16))),C0=e=>{if(!N.isString(e))return e;try{return decodeURIComponent(e)}catch{return e}},_0=(e,...t)=>{try{return!!e(...t)}catch{return!1}},X5=e=>{const t=e.indexOf("://");let n=e;return t!==-1&&(n=n.slice(t+3)),n.includes("@")||n.includes(":")},Y5=e=>{const t=N.global!==void 0&&N.global!==null?N.global:globalThis,{ReadableStream:n,TextEncoder:r}=t;e=N.merge.call({skipUndefined:!0},{Request:t.Request,Response:t.Response},e);const{fetch:o,Request:s,Response:a}=e,i=o?Ra(o):typeof fetch=="function",u=Ra(s),c=Ra(a);if(!i)return!1;const l=i&&Ra(n),d=i&&(typeof r=="function"?(v=>y=>v.encode(y))(new r):async v=>new Uint8Array(await new s(v).arrayBuffer())),p=u&&l&&_0(()=>{let v=!1;const y=new s(_t.origin,{body:new n,method:"POST",get duplex(){return v=!0,"half"}}),w=y.headers.has("Content-Type");return y.body!=null&&y.body.cancel(),v&&!w}),h=c&&l&&_0(()=>N.isReadableStream(new a("").body)),g={stream:h&&(v=>v.body)};i&&["text","arrayBuffer","blob","formData","stream"].forEach(v=>{!g[v]&&(g[v]=(y,w)=>{let C=y&&y[v];if(C)return C.call(y);throw new le(`Response type '${v}' is not supported`,le.ERR_NOT_SUPPORT,w)})});const f=async v=>{if(v==null)return 0;if(N.isBlob(v))return v.size;if(N.isSpecCompliantForm(v))return(await new s(_t.origin,{method:"POST",body:v}).arrayBuffer()).byteLength;if(N.isArrayBufferView(v)||N.isArrayBuffer(v))return v.byteLength;if(N.isURLSearchParams(v)&&(v=v+""),N.isString(v))return(await d(v)).byteLength},m=async(v,y)=>N.toFiniteNumber(v.getContentLength())??f(y);return async v=>{let{url:y,method:w,data:C,signal:x,cancelToken:D,timeout:$,onDownloadProgress:q,onUploadProgress:U,responseType:B,headers:re,withCredentials:T="same-origin",fetchOptions:S,maxContentLength:V,maxBodyLength:se}=_v(v);const Z=N.isNumber(V)&&V>-1,X=N.isNumber(se)&&se>-1,ne=me=>N.hasOwnProp(v,me)?v[me]:void 0;let ee=o||fetch;B=B?(B+"").toLowerCase():"text";let J=I5([x,D&&D.toAbortSignal()],$),Q=null;const pe=J&&J.unsubscribe&&(()=>{J.unsubscribe()});let Se,qe=null;const ke=()=>new le("Request body larger than maxBodyLength limit",le.ERR_BAD_REQUEST,v,Q);try{let me;const A=ne("auth");if(A){const P=N.getSafeProp(A,"username")||"",G=N.getSafeProp(A,"password")||"";me={username:P,password:G}}if(X5(y)){const P=new URL(y,_t.origin);if(!me&&(P.username||P.password)){const G=C0(P.username),te=C0(P.password);me={username:G,password:te}}(P.username||P.password)&&(P.username="",P.password="",y=P.href)}if(me&&(re.delete("authorization"),re.set("Authorization","Basic "+btoa(Z5((me.username||"")+":"+(me.password||""))))),Z&&typeof y=="string"&&y.startsWith("data:")&&K5(y)>V)throw new le("maxContentLength size of "+V+" exceeded",le.ERR_BAD_RESPONSE,v,Q);if(X&&w!=="get"&&w!=="head"){const P=await f(C);if(typeof P=="number"&&isFinite(P)&&(Se=P,P>se))throw ke()}const F=X&&(N.isReadableStream(C)||N.isStream(C)),L=(P,G,te)=>y0(P,w0,Y=>{if(X&&Y>se)throw qe=ke();G&&G(Y)},te);if(p&&w!=="get"&&w!=="head"&&(U||F)){if(Se=Se??await m(re,C),Se!==0||F){let P=new s(y,{method:"POST",body:C,duplex:"half"}),G;if(N.isFormData(C)&&(G=P.headers.get("content-type"))&&re.setContentType(G),P.body){const[te,Y]=U&&f0(Se,ki(g0(U)))||[];C=L(P.body,te,Y)}}}else if(F&&!u&&l&&w!=="get"&&w!=="head")C=L(C);else if(F&&u&&!p&&w!=="get"&&w!=="head")throw new le("Stream request bodies are not supported by the current fetch implementation",le.ERR_NOT_SUPPORT,v,Q);N.isString(T)||(T=T?"include":"omit");const j=u&&"credentials"in s.prototype;if(N.isFormData(C)){const P=re.getContentType();P&&/^multipart\/form-data/i.test(P)&&!/boundary=/i.test(P)&&re.delete("content-type")}re.set("User-Agent","axios/"+Qc,!1);const b={...S,signal:J,method:w.toUpperCase(),headers:hv(re.normalize()),body:C,duplex:"half",credentials:j?T:void 0};Q=u&&new s(y,b);let _=await(u?ee(Q,S):ee(y,b));const k=It.from(_.headers);if(Z){const P=N.toFiniteNumber(k.getContentLength());if(P!=null&&P>V)throw new le("maxContentLength size of "+V+" exceeded",le.ERR_BAD_RESPONSE,v,Q)}const O=h&&(B==="stream"||B==="response");if(h&&_.body&&(q||Z||O&&pe)){const P={};["status","statusText","headers"].forEach(ie=>{P[ie]=_[ie]});const G=N.toFiniteNumber(k.getContentLength()),[te,Y]=q&&f0(G,ki(g0(q),!0))||[];let W=0;const fe=ie=>{if(Z&&(W=ie,W>V))throw new le("maxContentLength size of "+V+" exceeded",le.ERR_BAD_RESPONSE,v,Q);te&&te(ie)};_=new a(y0(_.body,w0,fe,()=>{Y&&Y(),pe&&pe()}),P)}B=B||"text";let I=await g[N.findKey(g,B)||"text"](_,v);if(Z&&!h&&!O){let P;if(I!=null&&(typeof I.byteLength=="number"?P=I.byteLength:typeof I.size=="number"?P=I.size:typeof I=="string"&&(P=typeof r=="function"?new r().encode(I).byteLength:I.length)),typeof P=="number"&&P>V)throw new le("maxContentLength size of "+V+" exceeded",le.ERR_BAD_RESPONSE,v,Q)}return!O&&pe&&pe(),await new Promise((P,G)=>{wv(P,G,{data:I,headers:It.from(_.headers),status:_.status,statusText:_.statusText,config:v,request:Q})})}catch(me){if(pe&&pe(),J&&J.aborted&&J.reason instanceof le){const A=J.reason;throw A.config=v,Q&&(A.request=Q),me!==A&&Object.defineProperty(A,"cause",{__proto__:null,value:me,writable:!0,enumerable:!1,configurable:!0}),A}if(qe)throw Q&&!qe.request&&(qe.request=Q),qe;if(me instanceof le)throw Q&&!me.request&&(me.request=Q),me;if(me&&me.name==="TypeError"&&/Load failed|fetch/i.test(me.message)){const A=new le("Network Error",le.ERR_NETWORK,v,Q,me&&me.response);throw Object.defineProperty(A,"cause",{__proto__:null,value:me.cause||me,writable:!0,enumerable:!1,configurable:!0}),A}throw le.from(me,me&&me.code,v,Q,me&&me.response)}}},J5=new Map,Av=e=>{let t=e&&e.env||{};const{fetch:n,Request:r,Response:o}=t,s=[r,o,n];let a=s.length,i=a,u,c,l=J5;for(;i--;)u=s[i],c=l.get(u),c===void 0&&l.set(u,c=i?new Map:Y5(t)),l=c;return c};Av();const ed={http:r5,xhr:L5,fetch:{get:Av}};N.forEach(ed,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{__proto__:null,value:t})}catch{}Object.defineProperty(e,"adapterName",{__proto__:null,value:t})}});const x0=e=>`- ${e}`,Q5=e=>N.isFunction(e)||e===null||e===!1;function eT(e,t){e=N.isArray(e)?e:[e];const{length:n}=e;let r,o;const s={};for(let a=0;a`adapter ${u} `+(c===!1?"is not supported by the environment":"is not available in the build"));let i=n?a.length>1?`since : -`+a.map(x0).join(` -`):" "+x0(a[0]):"as no adapter specified";throw new le("There is no suitable adapter to dispatch the request "+i,le.ERR_NOT_SUPPORT)}return o}const Sv={getAdapter:eT,adapters:ed};function cl(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new ga(null,e)}function dl(e){return cl(e),e.headers=It.from(e.headers),e.data=ll.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Sv.getAdapter(e.adapter||fa.adapter,e)(e).then(function(t){cl(e),e.response=t;try{t.data=ll.call(e,e.transformResponse,t)}finally{delete e.response}return t.headers=It.from(t.headers),t},function(t){if(!Ev(t)&&(cl(e),t&&t.response)){e.response=t.response;try{t.response.data=ll.call(e,e.transformResponse,t.response)}finally{delete e.response}t.response.headers=It.from(t.response.headers)}return Promise.reject(t)})}const Ti={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Ti[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const A0={};Ti.transitional=function(e,t,n){function r(o,s){return"[Axios v"+Qc+"] Transitional option '"+o+"'"+s+(n?". "+n:"")}return(o,s,a)=>{if(e===!1)throw new le(r(s," has been removed"+(t?" in "+t:"")),le.ERR_DEPRECATED);return t&&!A0[s]&&(A0[s]=!0,console.warn(r(s," has been deprecated since v"+t+" and will be removed in the near future"))),e?e(o,s,a):!0}},Ti.spelling=function(e){return(t,n)=>(console.warn(`${n} is likely a misspelling of ${e}`),!0)};function tT(e,t,n){if(typeof e!="object"||e===null)throw new le("options must be an object",le.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let o=r.length;for(;o-- >0;){const s=r[o],a=Object.prototype.hasOwnProperty.call(t,s)?t[s]:void 0;if(a){const i=e[s],u=i===void 0||a(i,s,e);if(u!==!0)throw new le("option "+s+" must be "+u,le.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new le("Unknown option "+s,le.ERR_BAD_OPTION)}}const Ga={assertOptions:tT,validators:Ti},Nt=Ga.validators;let no=class{constructor(e){this.defaults=e||{},this.interceptors={request:new p0,response:new p0}}async request(e,t){try{return await this._request(e,t)}catch(n){if(n instanceof Error){let r={};Error.captureStackTrace?Error.captureStackTrace(r):r=new Error;const o=(()=>{if(!r.stack)return"";const s=r.stack.indexOf(` +`}let ws=null;async function W6(e){if(ws)return ws;const t=(await H6().search("/",{details:!0,data:G6(e)})).data.results;return ws={nodes:t.map(n=>V6(n)).filter(n=>n.type==="file").slice(0,oc),truncated:t.length>oc},ws}function q6(){ws=null}function K6(e,t){return e.filter(n=>t.includes(n.mime??""))}function sv(e,t){return function(){return e.apply(t,arguments)}}const{toString:X6}=Object.prototype,{getPrototypeOf:Ho}=Object,{iterator:pa,toStringTag:av}=Symbol,Ai=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),na=(e,t)=>{let n=e;const r=[];for(;n!=null&&n!==Object.prototype;){if(r.indexOf(n)!==-1)return!1;if(r.push(n),Ai(n,t))return!0;n=Ho(n)}return!1},Z6=(e,t)=>e!=null&&na(e,t)?e[t]:void 0,Kc=(e=>t=>{const n=X6.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),fn=e=>(e=e.toLowerCase(),t=>Kc(t)===e),ru=e=>t=>typeof t===e,{isArray:so}=Array,ao=ru("undefined");function Ko(e){return e!==null&&!ao(e)&&e.constructor!==null&&!ao(e.constructor)&&Jt(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const iv=fn("ArrayBuffer");function J6(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&iv(e.buffer),t}const Y6=ru("string"),Jt=ru("function"),uv=ru("number"),Xo=e=>e!==null&&typeof e=="object",Q6=e=>e===!0||e===!1,Ha=e=>{if(!Xo(e))return!1;const t=Ho(e);return(t===null||t===Object.prototype||Ho(t)===null)&&!na(e,av)&&!na(e,pa)},ek=e=>{if(!Xo(e)||Ko(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},tk=fn("Date"),nk=fn("File"),rk=e=>!!(e&&typeof e.uri<"u"),ok=e=>e&&typeof e.getParts<"u",sk=fn("Blob"),ak=fn("FileList"),ik=fn("Set"),uk=e=>Xo(e)&&Jt(e.pipe);function lk(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof Yn<"u"?Yn:{}}const i0=lk(),u0=typeof i0.FormData<"u"?i0.FormData:void 0,ck=e=>{if(!e)return!1;if(u0&&e instanceof u0)return!0;const t=Ho(e);if(!t||t===Object.prototype||!Jt(e.append))return!1;const n=Kc(e);return n==="formdata"||n==="object"&&Jt(e.toString)&&e.toString()==="[object FormData]"},dk=fn("URLSearchParams"),[pk,hk,fk,gk]=["ReadableStream","Request","Response","Headers"].map(fn),mk=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function ha(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,o;if(typeof e!="object"&&(e=[e]),so(e))for(r=0,o=e.length;r0;)if(o=n[r],t===o.toLowerCase())return o;return null}const Yr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:Yn,cv=e=>!ao(e)&&e!==Yr;function sc(...e){const{caseless:t,skipUndefined:n}=cv(this)&&this||{},r={},o=(s,a)=>{if(a==="__proto__"||a==="constructor"||a==="prototype")return;const i=t&&typeof a=="string"&&lv(r,a)||a,u=Ai(r,i)?r[i]:void 0;Ha(u)&&Ha(s)?r[i]=sc(u,s):Ha(s)?r[i]=sc({},s):so(s)?r[i]=s.slice():(!n||!ao(s))&&(r[i]=s)};for(let s=0,a=e.length;s(ha(t,(o,s)=>{n&&Jt(o)?Object.defineProperty(e,s,{__proto__:null,value:sv(o,n),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(e,s,{__proto__:null,value:o,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:r}),e),yk=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),bk=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),Object.defineProperty(e.prototype,"constructor",{__proto__:null,value:e,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(e,"super",{__proto__:null,value:t.prototype}),n&&Object.assign(e.prototype,n)},Ek=(e,t,n,r)=>{let o,s,a;const i={};if(t=t||{},e==null)return t;do{for(o=Object.getOwnPropertyNames(e),s=o.length;s-- >0;)a=o[s],(!r||r(a,e,t))&&!i[a]&&(t[a]=e[a],i[a]=!0);e=n!==!1&&Ho(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},wk=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},Ck=e=>{if(!e)return null;if(so(e))return e;let t=e.length;if(!uv(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},_k=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Ho(Uint8Array)),xk=(e,t)=>{const n=(e&&e[pa]).call(e);let r;for(;(r=n.next())&&!r.done;){const o=r.value;t.call(e,o[0],o[1])}},Ak=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},Sk=fn("HTMLFormElement"),kk=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(t,n,r){return n.toUpperCase()+r}),{propertyIsEnumerable:Tk}=Object.prototype,Nk=fn("RegExp"),dv=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};ha(n,(o,s)=>{let a;(a=t(o,s,e))!==!1&&(r[s]=a||o)}),Object.defineProperties(e,r)},Dk=e=>{dv(e,(t,n)=>{if(Jt(e)&&["arguments","caller","callee"].includes(n))return!1;const r=e[n];if(Jt(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},Ok=(e,t)=>{const n={},r=o=>{o.forEach(s=>{n[s]=!0})};return so(e)?r(e):r(String(e).split(t)),n},Pk=()=>{},Bk=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function $k(e){return!!(e&&Jt(e.append)&&e[av]==="FormData"&&e[pa])}const Rk=e=>{const t=new WeakSet,n=r=>{if(Xo(r)){if(t.has(r))return;if(Ko(r))return r;if(!("toJSON"in r)){t.add(r);let o;if(ik(r)){o=[];for(const s of r){const a=n(s);!ao(a)&&o.push(a)}}else o=so(r)?[]:{},ha(r,(s,a)=>{const i=n(s);!ao(i)&&(o[a]=i)});return t.delete(r),o}}return r};return n(e)},Fk=fn("AsyncFunction"),Lk=e=>e&&(Xo(e)||Jt(e))&&Jt(e.then)&&Jt(e.catch),pv=((e,t)=>e?setImmediate:t?((n,r)=>(Yr.addEventListener("message",({source:o,data:s})=>{o===Yr&&s===n&&r.length&&r.shift()()},!1),o=>{r.push(o),Yr.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",Jt(Yr.postMessage)),Ik=typeof queueMicrotask<"u"?queueMicrotask.bind(Yr):typeof to<"u"&&to.nextTick||pv,hv=e=>e!=null&&Jt(e[pa]),Mk=e=>e!=null&&na(e,pa)&&hv(e),N={isArray:so,isArrayBuffer:iv,isBuffer:Ko,isFormData:ck,isArrayBufferView:J6,isString:Y6,isNumber:uv,isBoolean:Q6,isObject:Xo,isPlainObject:Ha,isEmptyObject:ek,isReadableStream:pk,isRequest:hk,isResponse:fk,isHeaders:gk,isUndefined:ao,isDate:tk,isFile:nk,isReactNativeBlob:rk,isReactNative:ok,isBlob:sk,isRegExp:Nk,isFunction:Jt,isStream:uk,isURLSearchParams:dk,isTypedArray:_k,isFileList:ak,forEach:ha,merge:sc,extend:vk,trim:mk,stripBOM:yk,inherits:bk,toFlatObject:Ek,kindOf:Kc,kindOfTest:fn,endsWith:wk,toArray:Ck,forEachEntry:xk,matchAll:Ak,isHTMLForm:Sk,hasOwnProperty:Ai,hasOwnProp:Ai,hasOwnInPrototypeChain:na,getSafeProp:Z6,reduceDescriptors:dv,freezeMethods:Dk,toObjectSet:Ok,toCamelCase:kk,noop:Pk,toFiniteNumber:Bk,findKey:lv,global:Yr,isContextDefined:cv,isSpecCompliantForm:$k,toJSONObject:Rk,isAsyncFn:Fk,isThenable:Lk,setImmediate:pv,asap:Ik,isIterable:hv,isSafeIterable:Mk},zk=N.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),jk=e=>{const t={};let n,r,o;return e&&e.split(` +`).forEach(function(s){o=s.indexOf(":"),n=s.substring(0,o).trim().toLowerCase(),r=s.substring(o+1).trim();const a=N.hasOwnProp(t,n);!n||a&&N.hasOwnProp(zk,n)||(n==="set-cookie"?a?t[n].push(r):t[n]=[r]:t[n]=a?t[n]+", "+r:r)}),t};function Uk(e){let t=0,n=e.length;for(;tt;){const r=e.charCodeAt(n-1);if(r!==9&&r!==32)break;n-=1}return t===0&&n===e.length?e:e.slice(t,n)}const Hk=new RegExp("[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+","g"),Vk=new RegExp("[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+","g");function Xc(e,t){return N.isArray(e)?e.map(n=>Xc(n,t)):Uk(String(e).replace(t,""))}const Gk=e=>Xc(e,Hk),Wk=e=>Xc(e,Vk);function fv(e){const t=Object.create(null);return N.forEach(e.toJSON(),(n,r)=>{t[r]=Wk(n)}),t}const l0=Symbol("internals");function fs(e){return e&&String(e).trim().toLowerCase()}function Va(e){return e===!1||e==null?e:N.isArray(e)?e.map(Va):Gk(String(e))}function qk(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const Kk=/^[!#$%&'*+\-.^_`|~0-9A-Za-z]+$/;function al(e){let t=0,n=e.length;for(;tt;){const r=e.charCodeAt(n-1);if(r!==9&&r!==32)break;n-=1}return t===0&&n===e.length?e:e.slice(t,n)}function Xk(e){const t=e.length-1;if(t<1||e.charCodeAt(0)!==34||e.charCodeAt(t)!==34)return e;let n="";for(let r=1;r=t))return e;n+=e[r]}return n}function Zk(e){const t=Object.create(null),n=String(e);let r=0,o=!1,s=!1;function a(i){const u=al(n.slice(r,i)),c=u.indexOf("=");if(c<1)return;const l=al(u.slice(0,c));if(!Kk.test(l))return;const d=l.toLowerCase();if(d==="__proto__"||d==="constructor"||d==="prototype")return;const p=al(u.slice(c+1));t[d]=Xk(p)}for(let i=0;i/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function il(e,t,n,r,o){if(N.isFunction(r))return r.call(this,t,n);if(o&&(t=n),!!N.isString(t)){if(N.isString(r))return t.indexOf(r)!==-1;if(N.isRegExp(r))return r.test(t)}}function Yk(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function Qk(e,t){const n=N.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{__proto__:null,value:function(o,s,a){return this[r].call(this,t,o,s,a)},configurable:!0})})}let It=class{constructor(e){e&&this.set(e)}set(e,t,n){const r=this;function o(a,i,u){const c=fs(i);if(!c)return;const l=N.findKey(r,c);(!l||r[l]===void 0||u===!0||u===void 0&&r[l]!==!1)&&(r[l||i]=Va(a))}const s=(a,i)=>N.forEach(a,(u,c)=>o(u,c,i));if(N.isPlainObject(e)||e instanceof this.constructor)s(e,t);else if(N.isString(e)&&(e=e.trim())&&!Jk(e))s(jk(e),t);else if(N.isObject(e)&&N.isSafeIterable(e)){let a=Object.create(null),i,u;for(const c of e){if(!N.isArray(c))throw new TypeError("Object iterator must return a key-value pair");u=c[0],N.hasOwnProp(a,u)?(i=a[u],a[u]=N.isArray(i)?[...i,c[1]]:[i,c[1]]):a[u]=c[1]}s(a,t)}else e!=null&&o(t,e,n);return this}get(e,t){if(e=fs(e),e){const n=N.findKey(this,e);if(n){const r=this[n];if(!t)return r;if(t===!0)return qk(r);if(N.isFunction(t))return t.call(this,r,n);if(N.isRegExp(t))return t.exec(r);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=fs(e),e){const n=N.findKey(this,e);return!!(n&&this[n]!==void 0&&(!t||il(this,this[n],n,t)))}return!1}delete(e,t){const n=this;let r=!1;function o(s){if(s=fs(s),s){const a=N.findKey(n,s);a&&(!t||il(n,n[a],a,t))&&(delete n[a],r=!0)}}return N.isArray(e)?e.forEach(o):o(e),r}clear(e){const t=Object.keys(this);let n=t.length,r=!1;for(;n--;){const o=t[n];(!e||il(this,this[o],o,e,!0))&&(delete this[o],r=!0)}return r}normalize(e){const t=this,n={};return N.forEach(this,(r,o)=>{const s=N.findKey(n,o);if(s){t[s]=Va(r),delete t[o];return}const a=e?Yk(o):String(o).trim();a!==o&&delete t[o],t[a]=Va(r),n[a]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return N.forEach(this,(n,r)=>{n!=null&&n!==!1&&(t[r]=e&&N.isArray(n)?n.join(", "):n)}),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,t])=>e+": "+t).join(` +`)}getSetCookie(){const e=this.get("set-cookie");return N.isArray(e)?e:e==null||e===!1?[]:[e]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static parseParameters(e){return Zk(e)}static concat(e,...t){const n=new this(e);return t.forEach(r=>n.set(r)),n}static accessor(e){const t=(this[l0]=this[l0]={accessors:{}}).accessors,n=this.prototype;function r(o){const s=fs(o);t[s]||(Qk(n,o),t[s]=!0)}return N.isArray(e)?e.forEach(r):r(e),this}};It.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),N.reduceDescriptors(It.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}}),N.freezeMethods(It);const Si="[REDACTED ****]";function e5(e){if(N.hasOwnProp(e,"toJSON"))return!0;let t=Object.getPrototypeOf(e);for(;t&&t!==Object.prototype;){if(N.hasOwnProp(t,"toJSON"))return!0;t=Object.getPrototypeOf(t)}return!1}function t5(e,t){const n=new Set(t.map(s=>String(s).toLowerCase())),r=[],o=s=>{if(s===null||typeof s!="object"||N.isBuffer(s))return s;if(r.indexOf(s)!==-1)return;s instanceof It&&(s=s.toJSON()),r.push(s);let a;if(N.isArray(s))a=[],s.forEach((i,u)=>{const c=o(i);N.isUndefined(c)||(a[u]=c)});else{if(!N.isPlainObject(s)&&e5(s))return r.pop(),s;a=Object.create(null);for(const[i,u]of Object.entries(s)){const c=n.has(i.toLowerCase())?Si:o(u);N.isUndefined(c)||(a[i]=c)}}return r.pop(),a};return o(e)}function c0(e){try{return String(e)}catch{return""}}function n5(e){return e.errors.map(t=>{try{return t&&t.message?c0(t.message):c0(t)}catch{return""}}).filter(Boolean).join("; ")||e.name||"AggregateError"}let ce=class gv extends Error{static from(t,n,r,o,s,a){let i=t.message;!i&&N.isArray(t.errors)&&t.errors.length&&(i=n5(t));const u=new gv(i,n||t.code,r,o,s);return Object.defineProperty(u,"cause",{__proto__:null,value:t,writable:!0,enumerable:!1,configurable:!0}),u.name=t.name,t.status!=null&&u.status==null&&(u.status=t.status),a&&Object.assign(u,a),u}constructor(t,n,r,o,s){super(t),Object.defineProperty(this,"message",{__proto__:null,value:t,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,n&&(this.code=n),r&&(this.config=r),o&&(this.request=o),s&&(this.response=s,this.status=s.status)}toJSON(){const t=this.config,n=t&&N.hasOwnProp(t,"redact")?t.redact:void 0,r=N.isArray(n)&&n.length>0?t5(t,n):N.toJSONObject(t);return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:r,code:this.code,status:this.status}}};ce.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE",ce.ERR_BAD_OPTION="ERR_BAD_OPTION",ce.ECONNABORTED="ECONNABORTED",ce.ETIMEDOUT="ETIMEDOUT",ce.ECONNREFUSED="ECONNREFUSED",ce.ERR_NETWORK="ERR_NETWORK",ce.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS",ce.ERR_DEPRECATED="ERR_DEPRECATED",ce.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE",ce.ERR_BAD_REQUEST="ERR_BAD_REQUEST",ce.ERR_CANCELED="ERR_CANCELED",ce.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT",ce.ERR_INVALID_URL="ERR_INVALID_URL",ce.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";const r5=null,mv=100;function ac(e){return N.isPlainObject(e)||N.isArray(e)}function vv(e){return N.endsWith(e,"[]")?e.slice(0,-2):e}function ul(e,t,n){return e?e.concat(t).map(function(r,o){return r=vv(r),!n&&o?"["+r+"]":r}).join(n?".":""):t}function o5(e){return N.isArray(e)&&!e.some(ac)}const s5=N.toFlatObject(N,{},null,function(e){return/^is[A-Z]/.test(e)});function ou(e,t,n){if(!N.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=N.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(v,y){return!N.isUndefined(y[v])});const r=n.metaTokens,o=n.visitor||g,s=n.dots,a=n.indexes,i=n.Blob||typeof Blob<"u"&&Blob,u=n.maxDepth===void 0?mv:n.maxDepth,c=i&&N.isSpecCompliantForm(t),l=[];if(!N.isFunction(o))throw new TypeError("visitor must be a function");function d(v){if(v===null)return"";if(N.isDate(v))return v.toISOString();if(N.isBoolean(v))return v.toString();if(!c&&N.isBlob(v))throw new ce("Blob is not supported. Use a Buffer instead.");if(N.isArrayBuffer(v)||N.isTypedArray(v)){if(c&&typeof i=="function")return new i([v]);throw new ce("Blob is not supported. Use a Buffer instead.",ce.ERR_NOT_SUPPORT)}return v}function p(v){if(v>u)throw new ce("Object is too deeply nested ("+v+" levels). Max depth: "+u,ce.ERR_FORM_DATA_DEPTH_EXCEEDED)}function h(v,y){if(u===1/0)return JSON.stringify(v);const w=[];return JSON.stringify(v,function(C,x){if(!N.isObject(x))return x;for(;w.length&&w[w.length-1]!==this;)w.pop();return w.push(x),p(y+w.length-1),x})}function g(v,y,w){let C=v;if(N.isReactNative(t)&&N.isReactNativeBlob(v))return t.append(ul(w,y,s),d(v)),!1;if(v&&!w&&typeof v=="object"){if(N.endsWith(y,"{}"))y=r?y:y.slice(0,-2),v=h(v,1);else if(N.isArray(v)&&o5(v)||(N.isFileList(v)||N.endsWith(y,"[]"))&&(C=N.toArray(v)))return y=vv(y),C.forEach(function(x,D){!(N.isUndefined(x)||x===null)&&t.append(a===!0?ul([y],D,s):a===null?y:y+"[]",d(x))}),!1}return ac(v)?!0:(t.append(ul(w,y,s),d(v)),!1)}const f=Object.assign(s5,{defaultVisitor:g,convertValue:d,isVisitable:ac});function m(v,y,w=0){if(!N.isUndefined(v)){if(p(w),l.indexOf(v)!==-1)throw new Error("Circular reference detected in "+y.join("."));l.push(v),N.forEach(v,function(C,x){(!(N.isUndefined(C)||C===null)&&o.call(t,C,N.isString(x)?x.trim():x,y,f))===!0&&m(C,y?y.concat(x):[x],w+1)}),l.pop()}}if(!N.isObject(e))throw new TypeError("data must be an object");return m(e),t}function d0(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent(e).replace(/[!'()~]|%20/g,function(n){return t[n]})}function Zc(e,t){this._pairs=[],e&&ou(e,this,t)}const p0=Zc.prototype;p0.append=function(e,t){this._pairs.push([e,t])},p0.toString=function(e){const t=e?n=>e.call(this,n,d0):d0;return this._pairs.map(function(n){return t(n[0])+"="+t(n[1])},"").join("&")};function a5(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function yv(e,t,n){if(!t)return e;e=e||"";const r=N.isFunction(n)?{serialize:n}:n,o=N.getSafeProp(r,"encode")||a5,s=N.getSafeProp(r,"serialize");let a;if(s?a=s(t,r):a=N.isURLSearchParams(t)?t.toString():new Zc(t,r).toString(o),a){const i=e.indexOf("#");i!==-1&&(e=e.slice(0,i)),e+=(e.indexOf("?")===-1?"?":"&")+a}return e}class h0{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){N.forEach(this.handlers,function(n){n!==null&&t(n)})}}const Jc={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0,advertiseZstdAcceptEncoding:!1,validateStatusUndefinedResolves:!0},i5=typeof URLSearchParams<"u"?URLSearchParams:Zc,u5=typeof FormData<"u"?FormData:null,l5=typeof Blob<"u"?Blob:null,c5={isBrowser:!0,classes:{URLSearchParams:i5,FormData:u5,Blob:l5},protocols:["http","https","file","blob","url","data"]},Yc=typeof window<"u"&&typeof document<"u",ic=typeof navigator=="object"&&navigator||void 0,d5=Yc&&(!ic||["ReactNative","NativeScript","NS"].indexOf(ic.product)<0),p5=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",h5=Yc&&window.location.href||"http://localhost",f5=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Yc,hasStandardBrowserEnv:d5,hasStandardBrowserWebWorkerEnv:p5,navigator:ic,origin:h5},Symbol.toStringTag,{value:"Module"})),_t={...f5,...c5};function g5(e,t){return ou(e,new _t.classes.URLSearchParams,{visitor:function(n,r,o,s){return _t.isNode&&N.isBuffer(n)?(this.append(r,n.toString("base64")),!1):s.defaultVisitor.apply(this,arguments)},...t})}const f0=mv;function bv(e){if(e>f0)throw new ce("FormData field is too deeply nested ("+e+" levels). Max depth: "+f0,ce.ERR_FORM_DATA_DEPTH_EXCEEDED)}function m5(e){const t=[],n=/[^.[\]]+|\[([^.[\]]*)]/g;let r;for(;(r=n.exec(e))!==null;)bv(t.length),t.push(r[0]==="[]"?"":r[1]||r[0]);return t}function v5(e){const t={},n=Object.keys(e);let r;const o=n.length;let s;for(r=0;r=n.length;return a=!a&&N.isArray(o)?o.length:a,u?(N.hasOwnProp(o,a)?o[a]=N.isArray(o[a])?o[a].concat(r):[o[a],r]:o[a]=r,!i):((!N.hasOwnProp(o,a)||!N.isObject(o[a]))&&(o[a]=[]),t(n,r,o[a],s)&&N.isArray(o[a])&&(o[a]=v5(o[a])),!i)}if(N.isFormData(e)&&N.isFunction(e.entries)){const n={};return N.forEachEntry(e,(r,o)=>{t(m5(r),o,n,0)}),n}return null}const wo=(e,t)=>e!=null&&N.hasOwnProp(e,t)?e[t]:void 0;function y5(e,t,n){if(N.isString(e))try{return(t||JSON.parse)(e),N.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const fa={transitional:Jc,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const n=t.getContentType()||"",r=n.indexOf("application/json")>-1,o=N.isObject(e);if(o&&N.isHTMLForm(e)&&(e=new FormData(e)),N.isFormData(e))return r?JSON.stringify(Ev(e)):e;if(N.isArrayBuffer(e)||N.isBuffer(e)||N.isStream(e)||N.isFile(e)||N.isBlob(e)||N.isReadableStream(e))return e;if(N.isArrayBufferView(e))return e.buffer;if(N.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let s;if(o){const a=wo(this,"formSerializer");if(n.indexOf("application/x-www-form-urlencoded")>-1)return g5(e,a).toString();if((s=N.isFileList(e))||n.indexOf("multipart/form-data")>-1){const i=wo(this,"env"),u=i&&i.FormData;return ou(s?{"files[]":e}:e,u&&new u,a)}}return o||r?(t.setContentType("application/json",!1),y5(e)):e}],transformResponse:[function(e){const t=wo(this,"transitional")||fa.transitional,n=t&&t.forcedJSONParsing,r=wo(this,"responseType"),o=r==="json";if(N.isResponse(e)||N.isReadableStream(e))return e;if(e&&N.isString(e)&&(n&&!r||o)){const s=!(t&&t.silentJSONParsing)&&o;try{return JSON.parse(e,wo(this,"parseReviver"))}catch(a){if(s)throw a.name==="SyntaxError"?ce.from(a,ce.ERR_BAD_RESPONSE,this,null,wo(this,"response")):a}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:_t.classes.FormData,Blob:_t.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};N.forEach(["delete","get","head","post","put","patch","query"],e=>{fa.headers[e]={}});function ll(e,t){const n=this||fa,r=t||n,o=It.from(r.headers);let s=r.data;return N.forEach(e,function(a){s=a.call(n,s,o.normalize(),t?t.status:void 0)}),o.normalize(),s}function wv(e){return!!(e&&e.__CANCEL__)}let ga=class extends ce{constructor(e,t,n){super(e??"canceled",ce.ERR_CANCELED,t,n),this.name="CanceledError",this.__CANCEL__=!0}};function Cv(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new ce("Request failed with status code "+n.status,n.status>=400&&n.status<500?ce.ERR_BAD_REQUEST:ce.ERR_BAD_RESPONSE,n.config,n.request,n))}function b5(e){const t=/^([-+\w]{1,25}):(?:\/\/)?/.exec(e);return t&&t[1]||""}function E5(e,t){e=e||10;const n=new Array(e),r=new Array(e);let o=0,s=0,a;return t=t!==void 0?t:1e3,function(i){const u=Date.now(),c=r[s];a||(a=u),n[o]=i,r[o]=u;let l=s,d=0;for(;l!==o;)d+=n[l++],l=l%e;if(o=(o+1)%e,o===s&&(s=(s+1)%e),u-a{n=u,o=null,s&&(clearTimeout(s),s=null),e(...i)};return[(...i)=>{const u=Date.now(),c=u-n;c>=r?a(i,u):(o=i,s||(s=setTimeout(()=>{s=null,a(o)},r-c)))},()=>o&&a(o)]}const ki=(e,t,n=3)=>{let r=0;const o=E5(50,250);return w5(s=>{if(!s||typeof s.loaded!="number")return;const a=s.loaded,i=s.lengthComputable?s.total:void 0,u=Math.max(0,i!=null?Math.min(a,i):a),c=Math.max(0,u-r),l=o(c);r=Math.max(r,u);const d={loaded:u,total:i,progress:i?u/i:void 0,bytes:c,rate:l||void 0,estimated:l&&i?(i-u)/l:void 0,event:s,lengthComputable:i!=null,[t?"download":"upload"]:!0};e(d)},n)},g0=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},m0=(e,t=N.asap)=>(...n)=>t(()=>e(...n)),C5=_t.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,_t.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(_t.origin),_t.navigator&&/(msie|trident)/i.test(_t.navigator.userAgent)):()=>!0,_5=_t.hasStandardBrowserEnv?{write(e,t,n,r,o,s,a){if(typeof document>"u")return;const i=[`${e}=${encodeURIComponent(t)}`];N.isNumber(n)&&i.push(`expires=${new Date(n).toUTCString()}`),N.isString(r)&&i.push(`path=${r}`),N.isString(o)&&i.push(`domain=${o}`),s===!0&&i.push("secure"),N.isString(a)&&i.push(`SameSite=${a}`),document.cookie=i.join("; ")},read(e){if(typeof document>"u")return null;const t=document.cookie.split(";");for(let n=0;n0&&e.charCodeAt(n-1)===47;)n--;return e.slice(0,n)+"/"+t.replace(/^\/+/,"")}const S5=/^https?:(?!\/\/)/i,k5=/[\t\n\r]/g;function T5(e){let t=0;for(;t`${n}${r}${Si}`)}function O5(e){const t=e.replace(/^(https?:\/{0,2})[^/?#]*@/i,`$1${Si}@`),n=t.indexOf("#"),r=(n===-1?t:t.slice(0,n)).replace(/([?&][^=&#]*=)[^&#]*/g,`$1${Si}`);return n===-1?r:`${r}#${D5(t.slice(n+1))}`}function v0(e,t){if(typeof e=="string"){const n=N5(e);if(S5.test(n))throw new ce(`Invalid URL ${JSON.stringify(O5(n))}: missing "//" after protocol`,ce.ERR_INVALID_URL,t)}}function _v(e,t,n,r){v0(t,r);let o=!x5(t);return e&&(o||n===!1)?(v0(e,r),A5(e,t)):t}const y0=e=>e instanceof It?{...e}:e,P5=e=>Object.getOwnPropertySymbols&&Object.getOwnPropertyDescriptor?Object.keys(e).concat(Object.getOwnPropertySymbols(e).filter(t=>Object.getOwnPropertyDescriptor(e,t).enumerable)):Object.keys(e);function io(e,t){e=e||{},t=t||{};const n=Object.create(null);Object.defineProperty(n,"hasOwnProperty",{__proto__:null,value:Object.prototype.hasOwnProperty,enumerable:!1,writable:!0,configurable:!0});function r(l,d,p,h){return N.isPlainObject(l)&&N.isPlainObject(d)?N.merge.call({caseless:h},l,d):N.isPlainObject(d)?N.merge({},d):N.isArray(d)?d.slice():d}function o(l,d,p,h){if(N.isUndefined(d)){if(!N.isUndefined(l))return r(void 0,l,p,h)}else return r(l,d,p,h)}function s(l,d){if(!N.isUndefined(d))return r(void 0,d)}function a(l,d){if(N.isUndefined(d)){if(!N.isUndefined(l))return r(void 0,l)}else return r(void 0,d)}function i(l){const d=N.hasOwnProp(t,"transitional")?t.transitional:void 0;if(!N.isUndefined(d))if(N.isPlainObject(d)){if(N.hasOwnProp(d,l))return d[l]}else return;const p=N.hasOwnProp(e,"transitional")?e.transitional:void 0;if(N.isPlainObject(p)&&N.hasOwnProp(p,l))return p[l]}function u(l,d,p){if(N.hasOwnProp(t,p))return r(l,d);if(N.hasOwnProp(e,p))return r(void 0,l)}const c={url:s,method:s,data:s,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,allowedSocketPaths:a,responseEncoding:a,validateStatus:u,headers:(l,d,p)=>o(y0(l),y0(d),p,!0)};return N.forEach(P5({...e,...t}),function(l){if(l==="__proto__"||l==="constructor"||l==="prototype")return;const d=N.hasOwnProp(c,l)?c[l]:o,p=N.hasOwnProp(e,l)?e[l]:void 0,h=N.hasOwnProp(t,l)?t[l]:void 0,g=d(p,h,l);N.isUndefined(g)&&d!==u||(n[l]=g)}),N.hasOwnProp(t,"validateStatus")&&N.isUndefined(t.validateStatus)&&i("validateStatusUndefinedResolves")===!1&&(N.hasOwnProp(e,"validateStatus")?n.validateStatus=r(void 0,e.validateStatus):delete n.validateStatus),n}const B5=["content-type","content-length"];function $5(e,t,n){if(n!=="content-only"){e.set(t);return}Object.entries(t||{}).forEach(([r,o])=>{B5.includes(r.toLowerCase())&&e.set(r,o)})}const R5=e=>encodeURIComponent(e).replace(/%([0-9A-F]{2})/gi,(t,n)=>String.fromCharCode(parseInt(n,16)));function xv(e){const t=io({},e),n=p=>N.hasOwnProp(t,p)?t[p]:void 0,r=n("data");let o=n("withXSRFToken");const s=n("xsrfHeaderName"),a=n("xsrfCookieName");let i=n("headers");const u=n("auth"),c=n("baseURL"),l=n("allowAbsoluteUrls"),d=n("url");if(t.headers=i=It.from(i),t.url=yv(_v(c,d,l,t),n("params"),n("paramsSerializer")),u){const p=N.getSafeProp(u,"username")||"",h=N.getSafeProp(u,"password")||"";try{i.set("Authorization","Basic "+btoa(p+":"+(h?R5(h):"")))}catch(g){throw ce.from(g,ce.ERR_BAD_OPTION_VALUE,e)}}if(N.isFormData(r)&&(_t.hasStandardBrowserEnv||_t.hasStandardBrowserWebWorkerEnv||N.isReactNative(r)?i.setContentType(void 0):N.isFunction(r.getHeaders)&&$5(i,r.getHeaders(),n("formDataHeaderPolicy"))),_t.hasStandardBrowserEnv&&(N.isFunction(o)&&(o=o(t)),o===!0||o==null&&C5(t.url))){const p=s&&a&&_5.read(a);p&&i.set(s,p)}return t}const F5=typeof XMLHttpRequest<"u",L5=F5&&function(e){return new Promise(function(t,n){const r=xv(e);let o=r.data;const s=It.from(r.headers).normalize();let{responseType:a,onUploadProgress:i,onDownloadProgress:u}=r,c,l,d,p,h;function g(){p&&p(),h&&h(),r.cancelToken&&r.cancelToken.unsubscribe(c),r.signal&&r.signal.removeEventListener("abort",c)}let f=new XMLHttpRequest;f.open(r.method.toUpperCase(),r.url,!0),f.timeout=r.timeout;function m(){if(!f)return;const y=It.from("getAllResponseHeaders"in f&&f.getAllResponseHeaders()),w={data:!a||a==="text"||a==="json"?f.responseText:f.response,status:f.status,statusText:f.statusText,headers:y,config:e,request:f};Cv(function(C){t(C),g()},function(C){n(C),g()},w),f=null}"onloadend"in f?f.onloadend=m:f.onreadystatechange=function(){!f||f.readyState!==4||f.status===0&&!(f.responseURL&&f.responseURL.startsWith("file:"))||setTimeout(m)},f.onabort=function(){f&&(n(new ce("Request aborted",ce.ECONNABORTED,e,f)),g(),f=null)},f.onerror=function(y){const w=y&&y.message?y.message:"Network Error",C=new ce(w,ce.ERR_NETWORK,e,f);C.event=y||null,n(C),g(),f=null},f.ontimeout=function(){let y=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const w=r.transitional||Jc;r.timeoutErrorMessage&&(y=r.timeoutErrorMessage),n(new ce(y,w.clarifyTimeoutError?ce.ETIMEDOUT:ce.ECONNABORTED,e,f)),g(),f=null},o===void 0&&s.setContentType(null),"setRequestHeader"in f&&N.forEach(fv(s),function(y,w){f.setRequestHeader(w,y)}),N.isUndefined(r.withCredentials)||(f.withCredentials=!!r.withCredentials),a&&a!=="json"&&(f.responseType=r.responseType),u&&([d,h]=ki(u,!0),f.addEventListener("progress",d)),i&&f.upload&&([l,p]=ki(i),f.upload.addEventListener("progress",l),f.upload.addEventListener("loadend",p)),(r.cancelToken||r.signal)&&(c=y=>{f&&(n(!y||y.type?new ga(null,e,f):y),f.abort(),g(),f=null)},r.cancelToken&&r.cancelToken.subscribe(c),r.signal&&(r.signal.aborted?c():r.signal.addEventListener("abort",c)));const v=b5(r.url);if(v&&!_t.protocols.includes(v)){n(new ce("Unsupported protocol "+v+":",ce.ERR_BAD_REQUEST,e)),g();return}f.send(o||null)})},I5=(e,t)=>{if(e=e?e.filter(Boolean):[],!t&&!e.length)return;const n=new AbortController;let r=!1;const o=function(u){if(!r){r=!0,a();const c=u instanceof Error?u:this.reason;n.abort(c instanceof ce?c:new ga(c instanceof Error?c.message:c))}};let s=t&&setTimeout(()=>{s=null,o(new ce(`timeout of ${t}ms exceeded`,ce.ETIMEDOUT))},t);const a=()=>{e&&(s&&clearTimeout(s),s=null,e.forEach(u=>{u.unsubscribe?u.unsubscribe(o):u.removeEventListener("abort",o)}),e=null)};e.forEach(u=>{if(!r){if(u.aborted){o.call(u);return}u.addEventListener("abort",o,{once:!0})}});const{signal:i}=n;return i.unsubscribe=()=>N.asap(a),i},M5=function*(e,t){let n=e.byteLength;if(n{const o=z5(e,t);let s=0,a,i=u=>{a||(a=!0,r&&r(u))};return new ReadableStream({async pull(u){try{const{done:c,value:l}=await o.next();if(c){i(),u.close();return}let d=l.byteLength;if(n){let p=s+=d;n(p)}u.enqueue(new Uint8Array(l))}catch(c){throw i(c),c}},cancel(u){return i(u),o.return()}},{highWaterMark:2})},E0=e=>e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102,Av=(e,t,n)=>t+2e<=57?e-48:(e&223)-55,U5=e=>e>=65&&e<=90||e>=97&&e<=122||e>=48&&e<=57||e===43||e===47||e===45||e===95,H5=e=>e===9||e===10||e===12||e===13||e===32,V5=e=>{const t=Math.floor(e/4),n=e%4;return t*3+(n===2?1:n===3?2:0)},G5=e=>{const t=e.length;let n=0;return t>0&&e.charCodeAt(t-1)===61&&(n++,t>1&&e.charCodeAt(t-2)===61&&n++),Math.floor((t-n)*3/4)},W5=e=>{const t=e.length;let n=0,r=0,o=!1;for(let s=0;s0){o=!0;continue}n++}}return o||r>2||r>0&&(n+r)%4!==0||n%4===1?G5(e):V5(n)},q5=(e,t)=>{if(!e||typeof e!="string"||!e.startsWith("data:"))return 0;const n=e.indexOf(",");if(n<0)return 0;const r=e.slice(5,n),o=e.slice(n+1);if(/;base64/i.test(r))return t(o);let s=0;for(let a=0,i=o.length;a=55296&&u<=56319&&a+1=56320&&c<=57343?(s+=4,a++):s+=3}else s+=3}return s};function K5(e){const t=typeof e=="string"?e.indexOf("#"):-1;return q5(t===-1?e:e.slice(0,t),W5)}const Qc="1.19.0",C0=64*1024,{isFunction:Ra}=N,X5=e=>encodeURIComponent(e).replace(/%([0-9A-F]{2})/gi,(t,n)=>String.fromCharCode(parseInt(n,16))),_0=e=>{if(!N.isString(e))return e;try{return decodeURIComponent(e)}catch{return e}},x0=(e,...t)=>{try{return!!e(...t)}catch{return!1}},Z5=e=>{const t=e.indexOf("://");let n=e;return t!==-1&&(n=n.slice(t+3)),n.includes("@")||n.includes(":")},J5=e=>{const t=N.global!==void 0&&N.global!==null?N.global:globalThis,{ReadableStream:n,TextEncoder:r}=t;e=N.merge.call({skipUndefined:!0},{Request:t.Request,Response:t.Response},e);const{fetch:o,Request:s,Response:a}=e,i=o?Ra(o):typeof fetch=="function",u=Ra(s),c=Ra(a);if(!i)return!1;const l=i&&Ra(n),d=i&&(typeof r=="function"?(v=>y=>v.encode(y))(new r):async v=>new Uint8Array(await new s(v).arrayBuffer())),p=u&&l&&x0(()=>{let v=!1;const y=new s(_t.origin,{body:new n,method:"POST",get duplex(){return v=!0,"half"}}),w=y.headers.has("Content-Type");return y.body!=null&&y.body.cancel(),v&&!w}),h=c&&l&&x0(()=>N.isReadableStream(new a("").body)),g={stream:h&&(v=>v.body)};i&&["text","arrayBuffer","blob","formData","stream"].forEach(v=>{!g[v]&&(g[v]=(y,w)=>{let C=y&&y[v];if(C)return C.call(y);throw new ce(`Response type '${v}' is not supported`,ce.ERR_NOT_SUPPORT,w)})});const f=async v=>{if(v==null)return 0;if(N.isBlob(v))return v.size;if(N.isSpecCompliantForm(v))return(await new s(_t.origin,{method:"POST",body:v}).arrayBuffer()).byteLength;if(N.isArrayBufferView(v)||N.isArrayBuffer(v))return v.byteLength;if(N.isURLSearchParams(v)&&(v=v+""),N.isString(v))return(await d(v)).byteLength},m=async(v,y)=>N.toFiniteNumber(v.getContentLength())??f(y);return async v=>{let{url:y,method:w,data:C,signal:x,cancelToken:D,timeout:$,onDownloadProgress:K,onUploadProgress:U,responseType:B,headers:ne,withCredentials:T="same-origin",fetchOptions:S,maxContentLength:V,maxBodyLength:oe}=xv(v);const J=N.isNumber(V)&&V>-1,Q=N.isNumber(oe)&&oe>-1,te=me=>N.hasOwnProp(v,me)?v[me]:void 0;let pe=o||fetch;B=B?(B+"").toLowerCase():"text";let X=I5([x,D&&D.toAbortSignal()],$),se=null;const G=X&&X.unsubscribe&&(()=>{X.unsubscribe()});let Ae,Ge=null;const ke=()=>new ce("Request body larger than maxBodyLength limit",ce.ERR_BAD_REQUEST,v,se);try{let me;const A=te("auth");if(A){const P=N.getSafeProp(A,"username")||"",W=N.getSafeProp(A,"password")||"";me={username:P,password:W}}if(Z5(y)){const P=new URL(y,_t.origin);if(!me&&(P.username||P.password)){const W=_0(P.username),ee=_0(P.password);me={username:W,password:ee}}(P.username||P.password)&&(P.username="",P.password="",y=P.href)}if(me&&(ne.delete("authorization"),ne.set("Authorization","Basic "+btoa(X5((me.username||"")+":"+(me.password||""))))),J&&typeof y=="string"&&y.startsWith("data:")&&K5(y)>V)throw new ce("maxContentLength size of "+V+" exceeded",ce.ERR_BAD_RESPONSE,v,se);if(Q&&w!=="get"&&w!=="head"){const P=await f(C);if(typeof P=="number"&&isFinite(P)&&(Ae=P,P>oe))throw ke()}const F=Q&&(N.isReadableStream(C)||N.isStream(C)),L=(P,W,ee)=>b0(P,C0,Y=>{if(Q&&Y>oe)throw Ge=ke();W&&W(Y)},ee);if(p&&w!=="get"&&w!=="head"&&(U||F)){if(Ae=Ae??await m(ne,C),Ae!==0||F){let P=new s(y,{method:"POST",body:C,duplex:"half"}),W;if(N.isFormData(C)&&(W=P.headers.get("content-type"))&&ne.setContentType(W),P.body){const[ee,Y]=U&&g0(Ae,ki(m0(U)))||[];C=L(P.body,ee,Y)}}}else if(F&&!u&&l&&w!=="get"&&w!=="head")C=L(C);else if(F&&u&&!p&&w!=="get"&&w!=="head")throw new ce("Stream request bodies are not supported by the current fetch implementation",ce.ERR_NOT_SUPPORT,v,se);N.isString(T)||(T=T?"include":"omit");const j=u&&"credentials"in s.prototype;if(N.isFormData(C)){const P=ne.getContentType();P&&/^multipart\/form-data/i.test(P)&&!/boundary=/i.test(P)&&ne.delete("content-type")}ne.set("User-Agent","axios/"+Qc,!1);const b={...S,signal:X,method:w.toUpperCase(),headers:fv(ne.normalize()),body:C,duplex:"half",credentials:j?T:void 0};se=u&&new s(y,b);let _=await(u?pe(se,S):pe(y,b));const k=It.from(_.headers);if(J){const P=N.toFiniteNumber(k.getContentLength());if(P!=null&&P>V)throw new ce("maxContentLength size of "+V+" exceeded",ce.ERR_BAD_RESPONSE,v,se)}const O=h&&(B==="stream"||B==="response");if(h&&_.body&&(K||J||O&&G)){const P={};["status","statusText","headers"].forEach(ie=>{P[ie]=_[ie]});const W=N.toFiniteNumber(k.getContentLength()),[ee,Y]=K&&g0(W,ki(m0(K),!0))||[];let q=0;const fe=ie=>{if(J&&(q=ie,q>V))throw new ce("maxContentLength size of "+V+" exceeded",ce.ERR_BAD_RESPONSE,v,se);ee&&ee(ie)};_=new a(b0(_.body,C0,fe,()=>{Y&&Y(),G&&G()}),P)}B=B||"text";let I=await g[N.findKey(g,B)||"text"](_,v);if(J&&!h&&!O){let P;if(I!=null&&(typeof I.byteLength=="number"?P=I.byteLength:typeof I.size=="number"?P=I.size:typeof I=="string"&&(P=typeof r=="function"?new r().encode(I).byteLength:I.length)),typeof P=="number"&&P>V)throw new ce("maxContentLength size of "+V+" exceeded",ce.ERR_BAD_RESPONSE,v,se)}return!O&&G&&G(),await new Promise((P,W)=>{Cv(P,W,{data:I,headers:It.from(_.headers),status:_.status,statusText:_.statusText,config:v,request:se})})}catch(me){if(G&&G(),X&&X.aborted&&X.reason instanceof ce){const A=X.reason;throw A.config=v,se&&(A.request=se),me!==A&&Object.defineProperty(A,"cause",{__proto__:null,value:me,writable:!0,enumerable:!1,configurable:!0}),A}if(Ge)throw se&&!Ge.request&&(Ge.request=se),Ge;if(me instanceof ce)throw se&&!me.request&&(me.request=se),me;if(me&&me.name==="TypeError"&&/Load failed|fetch/i.test(me.message)){const A=new ce("Network Error",ce.ERR_NETWORK,v,se,me&&me.response);throw Object.defineProperty(A,"cause",{__proto__:null,value:me.cause||me,writable:!0,enumerable:!1,configurable:!0}),A}throw ce.from(me,me&&me.code,v,se,me&&me.response)}}},Y5=new Map,Sv=e=>{let t=e&&e.env||{};const{fetch:n,Request:r,Response:o}=t,s=[r,o,n];let a=s.length,i=a,u,c,l=Y5;for(;i--;)u=s[i],c=l.get(u),c===void 0&&l.set(u,c=i?new Map:J5(t)),l=c;return c};Sv();const ed={http:r5,xhr:L5,fetch:{get:Sv}};N.forEach(ed,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{__proto__:null,value:t})}catch{}Object.defineProperty(e,"adapterName",{__proto__:null,value:t})}});const A0=e=>`- ${e}`,Q5=e=>N.isFunction(e)||e===null||e===!1;function eT(e,t){e=N.isArray(e)?e:[e];const{length:n}=e;let r,o;const s={};for(let a=0;a`adapter ${u} `+(c===!1?"is not supported by the environment":"is not available in the build"));let i=n?a.length>1?`since : +`+a.map(A0).join(` +`):" "+A0(a[0]):"as no adapter specified";throw new ce("There is no suitable adapter to dispatch the request "+i,ce.ERR_NOT_SUPPORT)}return o}const kv={getAdapter:eT,adapters:ed};function cl(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new ga(null,e)}function dl(e){return cl(e),e.headers=It.from(e.headers),e.data=ll.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),kv.getAdapter(e.adapter||fa.adapter,e)(e).then(function(t){cl(e),e.response=t;try{t.data=ll.call(e,e.transformResponse,t)}finally{delete e.response}return t.headers=It.from(t.headers),t},function(t){if(!wv(t)&&(cl(e),t&&t.response)){e.response=t.response;try{t.response.data=ll.call(e,e.transformResponse,t.response)}finally{delete e.response}t.response.headers=It.from(t.response.headers)}return Promise.reject(t)})}const Ti={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Ti[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const S0={};Ti.transitional=function(e,t,n){function r(o,s){return"[Axios v"+Qc+"] Transitional option '"+o+"'"+s+(n?". "+n:"")}return(o,s,a)=>{if(e===!1)throw new ce(r(s," has been removed"+(t?" in "+t:"")),ce.ERR_DEPRECATED);return t&&!S0[s]&&(S0[s]=!0,console.warn(r(s," has been deprecated since v"+t+" and will be removed in the near future"))),e?e(o,s,a):!0}},Ti.spelling=function(e){return(t,n)=>(console.warn(`${n} is likely a misspelling of ${e}`),!0)};function tT(e,t,n){if(typeof e!="object"||e===null)throw new ce("options must be an object",ce.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let o=r.length;for(;o-- >0;){const s=r[o],a=Object.prototype.hasOwnProperty.call(t,s)?t[s]:void 0;if(a){const i=e[s],u=i===void 0||a(i,s,e);if(u!==!0)throw new ce("option "+s+" must be "+u,ce.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new ce("Unknown option "+s,ce.ERR_BAD_OPTION)}}const Ga={assertOptions:tT,validators:Ti},Nt=Ga.validators;let no=class{constructor(e){this.defaults=e||{},this.interceptors={request:new h0,response:new h0}}async request(e,t){try{return await this._request(e,t)}catch(n){if(n instanceof Error){let r={};Error.captureStackTrace?Error.captureStackTrace(r):r=new Error;const o=(()=>{if(!r.stack)return"";const s=r.stack.indexOf(` `);return s===-1?"":r.stack.slice(s+1)})();try{if(!n.stack)n.stack=o;else if(o){const s=o.indexOf(` `),a=s===-1?-1:o.indexOf(` `,s+1),i=a===-1?"":o.slice(a+1);String(n.stack).endsWith(i)||(n.stack+=` -`+o)}}catch{}}throw n}}_request(e,t){typeof e=="string"?(t=t||{},t.url=e):t=e||{},t=io(this.defaults,t);const{transitional:n,paramsSerializer:r,headers:o}=t;n!==void 0&&Ga.assertOptions(n,{silentJSONParsing:Nt.transitional(Nt.boolean),forcedJSONParsing:Nt.transitional(Nt.boolean),clarifyTimeoutError:Nt.transitional(Nt.boolean),legacyInterceptorReqResOrdering:Nt.transitional(Nt.boolean),advertiseZstdAcceptEncoding:Nt.transitional(Nt.boolean),validateStatusUndefinedResolves:Nt.transitional(Nt.boolean)},!1),r!=null&&(N.isFunction(r)?t.paramsSerializer={serialize:r}:Ga.assertOptions(r,{encode:Nt.function,serialize:Nt.function},!0)),t.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:t.allowAbsoluteUrls=!0),Ga.assertOptions(t,{baseUrl:Nt.spelling("baseURL"),withXsrfToken:Nt.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();let s=o&&N.merge(o.common,o[t.method]);o&&N.forEach(["delete","get","head","post","put","patch","query","common"],h=>{delete o[h]}),t.headers=It.concat(s,o);const a=[];let i=!0;this.interceptors.request.forEach(function(h){if(typeof h.runWhen=="function"&&h.runWhen(t)===!1)return;i=i&&h.synchronous;const g=t.transitional||Yc;g&&g.legacyInterceptorReqResOrdering?a.unshift(h.fulfilled,h.rejected):a.push(h.fulfilled,h.rejected)});const u=[];this.interceptors.response.forEach(function(h){u.push(h.fulfilled,h.rejected)});let c,l=0,d;if(!i){const h=[dl.bind(this),void 0];for(h.unshift(...a),h.push(...u),d=h.length,c=Promise.resolve(t);ldl.call(this,p)))}catch(m){c=Promise.reject(m)}break}}if(!c)try{c=dl.call(this,p)}catch(h){c=Promise.reject(h)}for(l=0,d=u.length;l{if(!r._listeners)return;let s=r._listeners.length;for(;s-- >0;)r._listeners[s](o);r._listeners=null}),this.promise.then=o=>{let s;const a=new Promise(i=>{r.subscribe(i),s=i}).then(o);return a.cancel=function(){r.unsubscribe(s)},a},t(function(o,s,a){r.reason||(r.reason=new ga(o,s,a),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=r=>{t.abort(r)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new kv(function(n){t=n}),cancel:t}}};function rT(e){return function(t){return e.apply(null,t)}}function oT(e){return N.isObject(e)&&e.isAxiosError===!0}const uc={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerReturnsAnUnknownError:520,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(uc).forEach(([e,t])=>{uc[t]=e});function Tv(e){const t=new no(e),n=ov(no.prototype.request,t);return N.extend(n,no.prototype,t,{allOwnKeys:!0}),N.extend(n,t,null,{allOwnKeys:!0}),n.create=function(r){return Tv(io(e,r))},n}const Qe=Tv(fa);Qe.Axios=no,Qe.CanceledError=ga,Qe.CancelToken=nT,Qe.isCancel=Ev,Qe.VERSION=Qc,Qe.toFormData=ou,Qe.AxiosError=le,Qe.Cancel=Qe.CanceledError,Qe.all=function(e){return Promise.all(e)},Qe.spread=rT,Qe.isAxiosError=oT,Qe.mergeConfig=io,Qe.AxiosHeaders=It,Qe.formToJSON=e=>bv(N.isHTMLForm(e)?new FormData(e):e),Qe.getAdapter=Sv.getAdapter,Qe.HttpStatusCode=uc,Qe.default=Qe;const{Axios:RT,AxiosError:FT,CanceledError:LT,isCancel:IT,CancelToken:MT,VERSION:zT,all:jT,Cancel:UT,isAxiosError:td,spread:HT,toFormData:VT,AxiosHeaders:GT,HttpStatusCode:WT,formToJSON:qT,getAdapter:KT,mergeConfig:ZT,create:XT}=Qe;function sT(){const e=Qe.create({headers:{requesttoken:Sg()??"","X-Requested-With":"XMLHttpRequest"}});return Tg(t=>{e.defaults.headers.requesttoken=t}),Object.assign(e,{CancelToken:Qe.CancelToken,isCancel:Qe.isCancel})}const S0="_nextcloudCsrfTokenReloaded";function aT(e){return async t=>{if(!td(t))throw t;const{config:n,response:r,request:o}=t,s=o?.responseURL;if(n&&!(S0 in n)&&r?.status===412&&r?.data?.message==="CSRF check failed"){console.warn(`Request to ${s} failed because of a CSRF mismatch. Fetching a new token.`);const a=await J3();return e.defaults.headers.requesttoken=a,e({...n,[S0]:!0,headers:{...n.headers,requesttoken:a}})}throw t}}const k0="_nextcloudMaintenanceModeRetryDelay";function iT(e){return async t=>{if(!td(t))throw t;const{config:n,response:r,request:o}=t,s=o?.responseURL,a=r?.status,i=r?.headers;let u=n?.[k0]??1;if(a===503&&i?.["x-nextcloud-maintenance-mode"]==="1"&&n?.retryIfMaintenanceMode){if(u*=2,u>32)throw console.error("Retry delay exceeded one minute, giving up.",{responseURL:s}),t;return console.warn(`Request to ${s} failed because of maintenance mode. Retrying in ${u}s`),await new Promise(c=>{setTimeout(c,u*1e3)}),e({...n,[k0]:u})}throw t}}async function uT(e){if(td(e)){const{config:t,response:n,request:r}=e,o=r?.responseURL;n?.status===401&&n?.data?.message==="Current user is not logged in"&&t?.reloadExpiredSession&&globalThis.location?.reload&&(console.error(`Request to ${o} failed because the user session expired. Reloading the page …`),globalThis.OC?.reload?globalThis.OC.reload():globalThis.location.reload())}throw e}const Xr=sT();Xr.interceptors.response.use(e=>e,aT(Xr)),Xr.interceptors.response.use(e=>e,iT(Xr)),Xr.interceptors.response.use(e=>e,uT);async function lT(){return(await Xr.get(fg("apps/files/api/v1/templates"))).data.ocs.data}async function cT(e,t,n){return(await Xr.post(fg("apps/files/api/v1/templates/create"),{filePath:e,templatePath:t,templateType:n})).data.ocs.data}const Nv="office.overview.gridView";function dT(){return localStorage.getItem(Nv)==="true"}function pT(e){localStorage.setItem(Nv,String(e))}function Dv(){const e=Go("office","creator-categories",[]);return Array.isArray(e)?e:[]}function nd(e){return Dv().find(t=>t.app===e.app&&t.extension===e.extension)??null}function pl(e){return nd(e)?.label??e.label}function Wa(e){return nd(e)?.id??`${e.app}-${e.extension.replace(/^\./,"")}`}function hT(e,t){return t?e.find(n=>Wa(n)===t)??null:null}function fT(e){return[...new Set([...nd(e)?.mimetypes??[],...e.mimetypes])]}function gT(){return[...new Set(Dv().flatMap(e=>e.mimetypes))]}function mT(e){const t=e.trim();return t?/[/\\]/.test(t)||t.includes("\0")?je("office","Filename contains invalid characters"):null:je("office","Filename cannot be empty")}function T0(e){return e instanceof Date?e.toISOString():String(e)}function vT(e,t,n){t=t??[s=>s],n=n??[];const r=t.map((s,a)=>(n[a]??"asc")==="asc"?1:-1),o=Intl.Collator([Ar(),kc()],{numeric:!0,usage:"sort"});return[...e].sort((s,a)=>{for(const[i,u]of t.entries()){const c=o.compare(T0(u(s)),T0(u(a)));if(c!==0)return c*r[i]}return 0})}const gs=Object.freeze({Name:"basename",Modified:"mtime",Size:"size"});function yT(e,t={}){const n={sortingMode:gs.Name,sortingOrder:"asc",...t};function r(a){const i=a.displayname||a.attributes?.displayname||a.basename||"";return a.type===qc.Folder?i:i.lastIndexOf(".")>0?i.slice(0,i.lastIndexOf(".")):i}const o=[...n.sortFavoritesFirst?[a=>a.attributes?.favorite!==1]:[],...n.sortFoldersFirst?[a=>a.type!=="folder"]:[],...n.sortingMode!==gs.Name?[a=>a[n.sortingMode]??a.attributes[n.sortingMode]]:[],a=>r(a),a=>a.basename],s=[...n.sortFavoritesFirst?["asc"]:[],...n.sortFoldersFirst?["asc"]:[],...n.sortingMode===gs.Modified?[n.sortingOrder==="asc"?"desc":"asc"]:[],...n.sortingMode!==gs.Modified&&n.sortingMode!==gs.Name?[n.sortingOrder]:[],n.sortingOrder,n.sortingOrder];return vT(e,o,s)}const bT=["group","shared","external","external-session"];function ET(e,{activeFilter:t,currentUid:n,searchQuery:r,category:o}){const s=K6(e,o);let a=s;if(t==="mine"?a=s.filter(i=>i.owner===n&&!bT.includes(i.attributes?.["nc:mount-type"])):t==="shared"&&(a=s.filter(i=>i.attributes?.["nc:mount-type"]==="shared")),r){const i=r.toLowerCase();a=a.filter(u=>u.basename.toLowerCase().includes(i))}return yT(a,{sortFavoritesFirst:!0,sortingMode:"mtime",sortingOrder:"asc"})}const wT={key:2,class:"office-overview__files","aria-labelledby":"files-section-heading"},CT={role:"status",class:"sr-only"},_T={class:"office-overview__files-header"},xT={id:"files-section-heading",class:"office-overview__files-title"},AT={class:"office-overview__controls"},ST=["aria-label"],kT={key:1,class:"office-overview__grid"},TT={key:2,class:"office-overview__list"},NT={key:3,class:"office-overview__more"},DT=Ve({__name:"OfficeOverview",setup(e){const t=Xi()?.uid??null,n=P4(),r=O4(),o=xe([]),s=xe([]),a=xe(!1),i=xe(!1),u=xe(null),c=xe(dT()?"grid":"list"),l=xe("mine"),d=xe(""),p=xe(!1),h=xe(""),g=xe(null),f=xe(null),m=xe(!1),v=xe(""),y=xe(null),w=oe(()=>{const ee=n.params.creatorId;return(Array.isArray(ee)?ee[0]:ee)||null}),C=oe(()=>hT(o.value,w.value)??o.value[0]??null);function x(ee){return{name:"creator",params:{creatorId:Wa(ee)}}}const D=oe(()=>{const ee=new Set;return o.value.filter(J=>{const Q=Wa(J);return ee.has(Q)?!1:(ee.add(Q),!0)})});tt([C,w],()=>{const ee=C.value;ee&&w.value!==Wa(ee)&&r.replace(x(ee)).catch(()=>{})},{immediate:!0}),tt(C,()=>{d.value=""});const $=oe(()=>C.value?je("office","Search {category}",{category:pl(C.value)}):je("office","Search")),q=oe(()=>C.value?ET(s.value,{activeFilter:l.value,currentUid:t,searchQuery:d.value,category:fT(C.value)}):[]),U=oe(()=>q.value.slice(0,s0)),B=oe(()=>q.value.length>s0||a.value),re=oe(()=>C.value?pl(C.value):"");function T(){const ee=c.value==="list"?"grid":"list";c.value=ee,pT(ee==="grid")}const S=Go("office","editor-url",null);function V(ee){S?window.location.href=S+"?fileId="+encodeURIComponent(String(ee.fileid)):window.location.href=_r("/f/{fileid}",{fileid:ee.fileid})}function se(){d.value?window.location.href=_r("/apps/files/search")+"?query="+encodeURIComponent(d.value):window.location.href=_r("/apps/files/recent")}function Z(ee,J){g.value=ee,f.value=J,h.value=ee.label+ee.extension,v.value="",p.value=!0,wn(()=>{const Q=y.value;typeof Q?.focus=="function"?Q.focus():Q?.$el?.querySelector("input")?.focus(),Q?.$el?.querySelector("input")?.setSelectionRange(0,h.value.length-ee.extension.length)})}async function X(){if(m.value)return;const ee=mT(h.value);if(ee){v.value=ee;return}m.value=!0,v.value="";try{const J="/"+h.value.trim(),Q=f.value?.templateId??"",pe=f.value?.templateType??"user_system",Se=await cT(J,Q,pe);p.value=!1,q6(),window.location.href=_r("/f/{fileid}",{fileid:Se.fileid})}catch(J){const Q=J;v.value=Q.response?.data?.ocs?.meta?.message??je("office","Failed to create file")}finally{m.value=!1}}async function ne(){i.value=!0,u.value=null;try{if(o.value=await lT(),o.value.length>0){const ee=[...new Set([...gT(),...o.value.flatMap(Q=>Q.mimetypes)])],J=await W6(ee);s.value=J.nodes,a.value=J.truncated}}catch{u.value=je("office","Failed to load files"),s.value=[],a.value=!1}finally{i.value=!1}}return ne(),(ee,J)=>(R(),ge(z(U_),{"app-name":"office"},{default:de(()=>[ce(z(Gw),null,{search:de(()=>[ce(z(R_),{modelValue:d.value,"onUpdate:modelValue":J[0]||(J[0]=Q=>d.value=Q),label:$.value},null,8,["modelValue","label"])]),list:de(()=>[(R(!0),K(Xe,null,Ss(D.value,Q=>(R(),ge(z(S_),{key:Q.app+"-"+Q.extension,name:z(pl)(Q),to:x(Q),active:C.value===Q},{icon:de(()=>[ce(z(Ue),{svg:Q.iconSvgInline??"",class:"office-overview__nav-icon"},null,8,["svg"])]),_:2},1032,["name","to","active"]))),128))]),_:1}),ce(z(ow),{class:"office-overview__content"},{default:de(()=>[i.value?(R(),ge(z(Rc),{key:0,class:"office-overview__loading"})):(R(),K(Xe,{key:1},[o.value.length===0?(R(),ge(z(Wu),{key:0,name:z(je)("office","No office suite installed")},{icon:de(()=>[ce(z(Ue),{path:z(Kl),size:48},null,8,["path"])]),_:1},8,["name"])):(R(),K(Xe,{key:1},[!d.value&&C.value?(R(),ge(fA,{key:0,creator:C.value,onSelect:Z},null,8,["creator"])):he("",!0),u.value?(R(),ge(z(Wu),{key:1,name:u.value},null,8,["name"])):C.value?(R(),K("section",wT,[ae("div",CT,_e(z(je)("office","{count} found in {category}",{count:U.value.length,category:re.value})),1),ae("div",_T,[ae("h2",xT,_e(z(je)("office","Recent {category}",{category:re.value})),1)]),ae("div",AT,[ae("div",{class:"office-overview__filters",role:"group","aria-label":z(je)("office","Filter files")},[ce(z(et),{size:"small",variant:l.value==="all"?"primary":"secondary","aria-pressed":l.value==="all",onClick:J[1]||(J[1]=Q=>l.value="all")},{default:de(()=>[bt(_e(z(je)("office","All")),1)]),_:1},8,["variant","aria-pressed"]),ce(z(et),{size:"small",variant:l.value==="mine"?"primary":"secondary","aria-pressed":l.value==="mine",onClick:J[2]||(J[2]=Q=>l.value="mine")},{default:de(()=>[bt(_e(z(je)("office","Mine")),1)]),_:1},8,["variant","aria-pressed"]),ce(z(et),{size:"small",variant:l.value==="shared"?"primary":"secondary","aria-pressed":l.value==="shared",onClick:J[3]||(J[3]=Q=>l.value="shared")},{default:de(()=>[bt(_e(z(je)("office","Shared with me")),1)]),_:1},8,["variant","aria-pressed"])],8,ST),ce(z(et),{"aria-label":c.value==="list"?z(je)("office","Switch to grid view"):z(je)("office","Switch to list view"),variant:"tertiary",onClick:T},{icon:de(()=>[c.value==="list"?(R(),ge(z(Ue),{key:0,path:z(Gx),size:20},null,8,["path"])):(R(),ge(z(Ue),{key:1,path:z(Wx),size:20},null,8,["path"]))]),_:1},8,["aria-label"])]),U.value.length===0?(R(),ge(z(Wu),{key:0,name:z(je)("office","No {category} found",{category:re.value})},vc({icon:de(()=>[ce(z(Ue),{path:z(Kl),size:48},null,8,["path"])]),_:2},[l.value!=="all"?{name:"description",fn:de(()=>[bt(_e(z(je)("office",'Switch to "All" to see every file you have access to')),1)]),key:"0"}:void 0]),1032,["name"])):c.value==="grid"?(R(),K("div",kT,[(R(!0),K(Xe,null,Ss(U.value,Q=>(R(),ge(eA,{key:Q.fileid,onClick:pe=>V(Q)},{preview:de(()=>[ce(xh,{file:Q,alt:Q.basename},null,8,["file","alt"])]),icon:de(()=>[ce(z(Ue),{svg:C.value.iconSvgInline??"",size:20},null,8,["svg"])]),name:de(()=>[bt(_e(Q.basename),1)]),subname:de(()=>[ce(z(Eh),{timestamp:Q.mtime},null,8,["timestamp"])]),_:2},1032,["onClick"]))),128))])):(R(),K("div",TT,[(R(!0),K(Xe,null,Ss(U.value,Q=>(R(),ge(z(Mx),{key:Q.fileid,name:Q.basename,active:!1,onClick:pe=>V(Q)},{icon:de(()=>[ce(xh,{file:Q,size:96,"fallback-icon-size":32,class:"office-overview__list-thumb"},null,8,["file"])]),indicator:de(()=>[Q.attributes?.favorite===1?(R(),ge(z(Ue),{key:0,path:z(Vx),size:16,class:"office-overview__favourite-icon"},null,8,["path"])):he("",!0)]),subname:de(()=>[ce(z(Eh),{timestamp:Q.mtime},null,8,["timestamp"])]),_:2},1032,["name","onClick"]))),128))])),B.value?(R(),K("div",NT,[ce(z(et),{variant:"tertiary",onClick:se},{icon:de(()=>[ce(z(Ue),{path:z(Hx),size:20},null,8,["path"])]),default:de(()=>[bt(_e(d.value?z(je)("office","Search all in Files"):z(je)("office","Show all in Files"))+" ",1)]),_:1})])):he("",!0)])):he("",!0)],64)),p.value?(R(),ge(z(vx),{key:2,name:g.value?g.value.label:"",open:p.value,"close-on-click-outside":"","onUpdate:open":J[5]||(J[5]=Q=>p.value=!1)},{actions:de(()=>[ce(z(et),{disabled:m.value||!h.value.trim(),variant:"primary",onClick:X},{default:de(()=>[bt(_e(z(je)("office","Create")),1)]),_:1},8,["disabled"])]),default:de(()=>[ae("form",{class:"office-overview__create-form",onSubmit:yn(X,["prevent"])},[ce(z(zx),{ref_key:"createInput",ref:y,modelValue:h.value,"onUpdate:modelValue":J[4]||(J[4]=Q=>h.value=Q),label:z(je)("office","Filename"),error:!!v.value,"helper-text":v.value,disabled:m.value},null,8,["modelValue","label","error","helper-text","disabled"])],32)]),_:1},8,["name","open"])):he("",!0)],64))]),_:1})]),_:1}))}}),OT=Qi(DT,[["__scopeId","data-v-f0f929a6"]]),PT=[{name:"creator",path:"/:creatorId?",component:OT},{path:"/:pathMatch(.*)*",redirect:"/"}],hl="/apps/office";function BT(e){const t=e.lastIndexOf(hl);return t===-1?_r(hl):e.slice(0,t+hl.length)}const $T=P3({history:p3(BT(window.location.pathname)),routes:PT}),N0=S4(B3);N0.use($T),N0.mount("#office"); +`+o)}}catch{}}throw n}}_request(e,t){typeof e=="string"?(t=t||{},t.url=e):t=e||{},t=io(this.defaults,t);const{transitional:n,paramsSerializer:r,headers:o}=t;n!==void 0&&Ga.assertOptions(n,{silentJSONParsing:Nt.transitional(Nt.boolean),forcedJSONParsing:Nt.transitional(Nt.boolean),clarifyTimeoutError:Nt.transitional(Nt.boolean),legacyInterceptorReqResOrdering:Nt.transitional(Nt.boolean),advertiseZstdAcceptEncoding:Nt.transitional(Nt.boolean),validateStatusUndefinedResolves:Nt.transitional(Nt.boolean)},!1),r!=null&&(N.isFunction(r)?t.paramsSerializer={serialize:r}:Ga.assertOptions(r,{encode:Nt.function,serialize:Nt.function},!0)),t.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:t.allowAbsoluteUrls=!0),Ga.assertOptions(t,{baseUrl:Nt.spelling("baseURL"),withXsrfToken:Nt.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();let s=o&&N.merge(o.common,o[t.method]);o&&N.forEach(["delete","get","head","post","put","patch","query","common"],h=>{delete o[h]}),t.headers=It.concat(s,o);const a=[];let i=!0;this.interceptors.request.forEach(function(h){if(typeof h.runWhen=="function"&&h.runWhen(t)===!1)return;i=i&&h.synchronous;const g=t.transitional||Jc;g&&g.legacyInterceptorReqResOrdering?a.unshift(h.fulfilled,h.rejected):a.push(h.fulfilled,h.rejected)});const u=[];this.interceptors.response.forEach(function(h){u.push(h.fulfilled,h.rejected)});let c,l=0,d;if(!i){const h=[dl.bind(this),void 0];for(h.unshift(...a),h.push(...u),d=h.length,c=Promise.resolve(t);ldl.call(this,p)))}catch(m){c=Promise.reject(m)}break}}if(!c)try{c=dl.call(this,p)}catch(h){c=Promise.reject(h)}for(l=0,d=u.length;l{if(!r._listeners)return;let s=r._listeners.length;for(;s-- >0;)r._listeners[s](o);r._listeners=null}),this.promise.then=o=>{let s;const a=new Promise(i=>{r.subscribe(i),s=i}).then(o);return a.cancel=function(){r.unsubscribe(s)},a},t(function(o,s,a){r.reason||(r.reason=new ga(o,s,a),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=r=>{t.abort(r)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new Tv(function(n){t=n}),cancel:t}}};function rT(e){return function(t){return e.apply(null,t)}}function oT(e){return N.isObject(e)&&e.isAxiosError===!0}const uc={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerReturnsAnUnknownError:520,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(uc).forEach(([e,t])=>{uc[t]=e});function Nv(e){const t=new no(e),n=sv(no.prototype.request,t);return N.extend(n,no.prototype,t,{allOwnKeys:!0}),N.extend(n,t,null,{allOwnKeys:!0}),n.create=function(r){return Nv(io(e,r))},n}const et=Nv(fa);et.Axios=no,et.CanceledError=ga,et.CancelToken=nT,et.isCancel=wv,et.VERSION=Qc,et.toFormData=ou,et.AxiosError=ce,et.Cancel=et.CanceledError,et.all=function(e){return Promise.all(e)},et.spread=rT,et.isAxiosError=oT,et.mergeConfig=io,et.AxiosHeaders=It,et.formToJSON=e=>Ev(N.isHTMLForm(e)?new FormData(e):e),et.getAdapter=kv.getAdapter,et.HttpStatusCode=uc,et.default=et;const{Axios:RT,AxiosError:FT,CanceledError:LT,isCancel:IT,CancelToken:MT,VERSION:zT,all:jT,Cancel:UT,isAxiosError:td,spread:HT,toFormData:VT,AxiosHeaders:GT,HttpStatusCode:WT,formToJSON:qT,getAdapter:KT,mergeConfig:XT,create:ZT}=et;function sT(){const e=et.create({headers:{requesttoken:kg()??"","X-Requested-With":"XMLHttpRequest"}});return Ng(t=>{e.defaults.headers.requesttoken=t}),Object.assign(e,{CancelToken:et.CancelToken,isCancel:et.isCancel})}const k0="_nextcloudCsrfTokenReloaded";function aT(e){return async t=>{if(!td(t))throw t;const{config:n,response:r,request:o}=t,s=o?.responseURL;if(n&&!(k0 in n)&&r?.status===412&&r?.data?.message==="CSRF check failed"){console.warn(`Request to ${s} failed because of a CSRF mismatch. Fetching a new token.`);const a=await Q3();return e.defaults.headers.requesttoken=a,e({...n,[k0]:!0,headers:{...n.headers,requesttoken:a}})}throw t}}const T0="_nextcloudMaintenanceModeRetryDelay";function iT(e){return async t=>{if(!td(t))throw t;const{config:n,response:r,request:o}=t,s=o?.responseURL,a=r?.status,i=r?.headers;let u=n?.[T0]??1;if(a===503&&i?.["x-nextcloud-maintenance-mode"]==="1"&&n?.retryIfMaintenanceMode){if(u*=2,u>32)throw console.error("Retry delay exceeded one minute, giving up.",{responseURL:s}),t;return console.warn(`Request to ${s} failed because of maintenance mode. Retrying in ${u}s`),await new Promise(c=>{setTimeout(c,u*1e3)}),e({...n,[T0]:u})}throw t}}async function uT(e){if(td(e)){const{config:t,response:n,request:r}=e,o=r?.responseURL;n?.status===401&&n?.data?.message==="Current user is not logged in"&&t?.reloadExpiredSession&&globalThis.location?.reload&&(console.error(`Request to ${o} failed because the user session expired. Reloading the page …`),globalThis.OC?.reload?globalThis.OC.reload():globalThis.location.reload())}throw e}const Zr=sT();Zr.interceptors.response.use(e=>e,aT(Zr)),Zr.interceptors.response.use(e=>e,iT(Zr)),Zr.interceptors.response.use(e=>e,uT);async function lT(){return(await Zr.get(gg("apps/files/api/v1/templates"))).data.ocs.data}async function cT(e,t,n){return(await Zr.post(gg("apps/files/api/v1/templates/create"),{filePath:e,templatePath:t,templateType:n})).data.ocs.data}const Dv="office.overview.gridView";function dT(){return localStorage.getItem(Dv)==="true"}function pT(e){localStorage.setItem(Dv,String(e))}function Ov(){const e=Go("office","creator-categories",[]);return Array.isArray(e)?e:[]}function nd(e){return Ov().find(t=>t.app===e.app&&t.extension===e.extension)??null}function pl(e){return nd(e)?.label??e.label}function Wa(e){return nd(e)?.id??`${e.app}-${e.extension.replace(/^\./,"")}`}function hT(e,t){return t?e.find(n=>Wa(n)===t)??null:null}function fT(e){return[...new Set([...nd(e)?.mimetypes??[],...e.mimetypes])]}function gT(){return[...new Set(Ov().flatMap(e=>e.mimetypes))]}function mT(e){const t=e.trim();return t?/[/\\]/.test(t)||t.includes("\0")?Fe("office","Filename contains invalid characters"):null:Fe("office","Filename cannot be empty")}function N0(e){return e instanceof Date?e.toISOString():String(e)}function vT(e,t,n){t=t??[s=>s],n=n??[];const r=t.map((s,a)=>(n[a]??"asc")==="asc"?1:-1),o=Intl.Collator([Ar(),kc()],{numeric:!0,usage:"sort"});return[...e].sort((s,a)=>{for(const[i,u]of t.entries()){const c=o.compare(N0(u(s)),N0(u(a)));if(c!==0)return c*r[i]}return 0})}const gs=Object.freeze({Name:"basename",Modified:"mtime",Size:"size"});function yT(e,t={}){const n={sortingMode:gs.Name,sortingOrder:"asc",...t};function r(a){const i=a.displayname||a.attributes?.displayname||a.basename||"";return a.type===qc.Folder?i:i.lastIndexOf(".")>0?i.slice(0,i.lastIndexOf(".")):i}const o=[...n.sortFavoritesFirst?[a=>a.attributes?.favorite!==1]:[],...n.sortFoldersFirst?[a=>a.type!=="folder"]:[],...n.sortingMode!==gs.Name?[a=>a[n.sortingMode]??a.attributes[n.sortingMode]]:[],a=>r(a),a=>a.basename],s=[...n.sortFavoritesFirst?["asc"]:[],...n.sortFoldersFirst?["asc"]:[],...n.sortingMode===gs.Modified?[n.sortingOrder==="asc"?"desc":"asc"]:[],...n.sortingMode!==gs.Modified&&n.sortingMode!==gs.Name?[n.sortingOrder]:[],n.sortingOrder,n.sortingOrder];return vT(e,o,s)}const bT=["group","shared","external","external-session"];function ET(e,{activeFilter:t,currentUid:n,searchQuery:r,category:o}){const s=K6(e,o);let a=s;if(t==="mine"?a=s.filter(i=>i.owner===n&&!bT.includes(i.attributes?.["nc:mount-type"])):t==="shared"?a=s.filter(i=>i.attributes?.["nc:mount-type"]==="shared"):t==="starred"&&(a=s.filter(i=>i.attributes?.favorite===1)),r){const i=r.toLowerCase();a=a.filter(u=>u.basename.toLowerCase().includes(i))}return yT(a,{sortFavoritesFirst:!0,sortingMode:"mtime",sortingOrder:"asc"})}const wT={key:2,class:"office-overview__files","aria-labelledby":"files-section-heading"},CT={role:"status",class:"sr-only"},_T={class:"office-overview__files-header"},xT={id:"files-section-heading",class:"office-overview__files-title"},AT={class:"office-overview__controls"},ST=["aria-label"],kT={key:1,class:"office-overview__grid"},TT={key:2,class:"office-overview__list"},NT={key:3,class:"office-overview__more"},DT=Ve({__name:"OfficeOverview",setup(e){const t=Zi()?.uid??null,n=B4(),r=P4(),o=xe([]),s=xe([]),a=xe(!1),i=xe(!1),u=xe(null),c=xe(dT()?"grid":"list"),l=xe("mine"),d=xe(""),p=xe(!1),h=xe(""),g=xe(null),f=xe(null),m=xe(!1),v=xe(""),y=xe(null),w=re(()=>{const X=n.params.creatorId;return(Array.isArray(X)?X[0]:X)||null}),C=re(()=>hT(o.value,w.value)??o.value[0]??null);function x(X){return{name:"creator",params:{creatorId:Wa(X)}}}const D=re(()=>{const X=new Set;return o.value.filter(se=>{const G=Wa(se);return X.has(G)?!1:(X.add(G),!0)})});tt([C,w],()=>{const X=C.value;X&&w.value!==Wa(X)&&r.replace(x(X)).catch(()=>{})},{immediate:!0}),tt(C,()=>{d.value=""});const $=re(()=>C.value?Fe("office","Search {category}",{category:pl(C.value)}):Fe("office","Search")),K=re(()=>C.value?ET(s.value,{activeFilter:l.value,currentUid:t,searchQuery:d.value,category:fT(C.value)}):[]),U=re(()=>K.value.slice(0,a0)),B=re(()=>K.value.length>a0||a.value),ne=re(()=>C.value?pl(C.value):""),T=re(()=>l.value==="starred"?Fe("office","Starred {category}",{category:ne.value}):Fe("office","Recent {category}",{category:ne.value}));function S(){const X=c.value==="list"?"grid":"list";c.value=X,pT(X==="grid")}const V=Go("office","editor-url",null);function oe(X){V?window.location.href=V+"?fileId="+encodeURIComponent(String(X.fileid)):window.location.href=_r("/f/{fileid}",{fileid:X.fileid})}function J(){d.value?window.location.href=_r("/apps/files/search")+"?query="+encodeURIComponent(d.value):window.location.href=_r("/apps/files/recent")}function Q(X,se){g.value=X,f.value=se,h.value=X.label+X.extension,v.value="",p.value=!0,wn(()=>{const G=y.value;typeof G?.focus=="function"?G.focus():G?.$el?.querySelector("input")?.focus(),G?.$el?.querySelector("input")?.setSelectionRange(0,h.value.length-X.extension.length)})}async function te(){if(m.value)return;const X=mT(h.value);if(X){v.value=X;return}m.value=!0,v.value="";try{const se="/"+h.value.trim(),G=f.value?.templateId??"",Ae=f.value?.templateType??"user_system",Ge=await cT(se,G,Ae);p.value=!1,q6(),window.location.href=_r("/f/{fileid}",{fileid:Ge.fileid})}catch(se){const G=se;v.value=G.response?.data?.ocs?.meta?.message??Fe("office","Failed to create file")}finally{m.value=!1}}async function pe(){i.value=!0,u.value=null;try{if(o.value=await lT(),o.value.length>0){const X=[...new Set([...gT(),...o.value.flatMap(G=>G.mimetypes)])],se=await W6(X);s.value=se.nodes,a.value=se.truncated}}catch{u.value=Fe("office","Failed to load files"),s.value=[],a.value=!1}finally{i.value=!1}}return pe(),(X,se)=>(R(),ge(M(H_),{"app-name":"office"},{default:de(()=>[le(M(Ww),null,{search:de(()=>[le(M(F_),{modelValue:d.value,"onUpdate:modelValue":se[0]||(se[0]=G=>d.value=G),label:$.value},null,8,["modelValue","label"])]),list:de(()=>[(R(!0),Z(Ze,null,Ss(D.value,G=>(R(),ge(M(k_),{key:G.app+"-"+G.extension,name:M(pl)(G),to:x(G),active:C.value===G},{icon:de(()=>[le(M(Ue),{svg:G.iconSvgInline??"",class:"office-overview__nav-icon"},null,8,["svg"])]),_:2},1032,["name","to","active"]))),128))]),_:1}),le(M(sw),{class:"office-overview__content"},{default:de(()=>[i.value?(R(),ge(M(Rc),{key:0,class:"office-overview__loading"})):(R(),Z(Ze,{key:1},[o.value.length===0?(R(),ge(M(Wu),{key:0,name:M(Fe)("office","No office suite installed")},{icon:de(()=>[le(M(Ue),{path:M(Kl),size:48},null,8,["path"])]),_:1},8,["name"])):(R(),Z(Ze,{key:1},[!d.value&&C.value?(R(),ge(fA,{key:0,creator:C.value,onSelect:Q},null,8,["creator"])):he("",!0),u.value?(R(),ge(M(Wu),{key:1,name:u.value},null,8,["name"])):C.value?(R(),Z("section",wT,[ae("div",CT,Ce(M(Fe)("office","{count} found in {category}",{count:U.value.length,category:ne.value})),1),ae("div",_T,[ae("h2",xT,Ce(T.value),1)]),ae("div",AT,[ae("div",{class:"office-overview__filters",role:"group","aria-label":M(Fe)("office","Filter files")},[le(M(Ye),{size:"small",variant:l.value==="all"?"primary":"secondary","aria-pressed":l.value==="all",onClick:se[1]||(se[1]=G=>l.value="all")},{default:de(()=>[ht(Ce(M(Fe)("office","All")),1)]),_:1},8,["variant","aria-pressed"]),le(M(Ye),{size:"small",variant:l.value==="mine"?"primary":"secondary","aria-pressed":l.value==="mine",onClick:se[2]||(se[2]=G=>l.value="mine")},{default:de(()=>[ht(Ce(M(Fe)("office","Mine")),1)]),_:1},8,["variant","aria-pressed"]),le(M(Ye),{size:"small",variant:l.value==="shared"?"primary":"secondary","aria-pressed":l.value==="shared",onClick:se[3]||(se[3]=G=>l.value="shared")},{default:de(()=>[ht(Ce(M(Fe)("office","Shared with me")),1)]),_:1},8,["variant","aria-pressed"]),le(M(Ye),{size:"small",variant:l.value==="starred"?"primary":"secondary","aria-pressed":l.value==="starred",onClick:se[4]||(se[4]=G=>l.value="starred")},{icon:de(()=>[le(M(Ue),{path:M(xh),size:16},null,8,["path"])]),default:de(()=>[ht(" "+Ce(M(Fe)("office","Starred")),1)]),_:1},8,["variant","aria-pressed"])],8,ST),le(M(Ye),{"aria-label":c.value==="list"?M(Fe)("office","Switch to grid view"):M(Fe)("office","Switch to list view"),variant:"tertiary",onClick:S},{icon:de(()=>[c.value==="list"?(R(),ge(M(Ue),{key:0,path:M(Gx),size:20},null,8,["path"])):(R(),ge(M(Ue),{key:1,path:M(Wx),size:20},null,8,["path"]))]),_:1},8,["aria-label"])]),U.value.length===0?(R(),ge(M(Wu),{key:0,name:M(Fe)("office","No {category} found",{category:ne.value})},vc({icon:de(()=>[le(M(Ue),{path:M(Kl),size:48},null,8,["path"])]),_:2},[l.value!=="all"?{name:"description",fn:de(()=>[ht(Ce(M(Fe)("office",'Switch to "All" to see every file you have access to')),1)]),key:"0"}:void 0]),1032,["name"])):c.value==="grid"?(R(),Z("div",kT,[(R(!0),Z(Ze,null,Ss(U.value,G=>(R(),ge(eA,{key:G.fileid,onClick:Ae=>oe(G)},{preview:de(()=>[le(Ah,{file:G,alt:G.basename},null,8,["file","alt"])]),icon:de(()=>[le(M(Ue),{svg:C.value.iconSvgInline??"",size:20},null,8,["svg"])]),name:de(()=>[ht(Ce(G.basename),1)]),subname:de(()=>[le(M(Eh),{timestamp:G.mtime},null,8,["timestamp"])]),_:2},1032,["onClick"]))),128))])):(R(),Z("div",TT,[(R(!0),Z(Ze,null,Ss(U.value,G=>(R(),ge(M(zx),{key:G.fileid,name:G.basename,active:!1,onClick:Ae=>oe(G)},{icon:de(()=>[le(Ah,{file:G,size:96,"fallback-icon-size":32,class:"office-overview__list-thumb"},null,8,["file"])]),indicator:de(()=>[G.attributes?.favorite===1?(R(),ge(M(Ue),{key:0,path:M(xh),size:16,class:"office-overview__favourite-icon"},null,8,["path"])):he("",!0)]),subname:de(()=>[le(M(Eh),{timestamp:G.mtime},null,8,["timestamp"])]),_:2},1032,["name","onClick"]))),128))])),B.value?(R(),Z("div",NT,[le(M(Ye),{variant:"tertiary",onClick:J},{icon:de(()=>[le(M(Ue),{path:M(Vx),size:20},null,8,["path"])]),default:de(()=>[ht(Ce(d.value?M(Fe)("office","Search all in Files"):M(Fe)("office","Show all in Files"))+" ",1)]),_:1})])):he("",!0)])):he("",!0)],64)),p.value?(R(),ge(M(yx),{key:2,name:g.value?g.value.label:"",open:p.value,"close-on-click-outside":"","onUpdate:open":se[6]||(se[6]=G=>p.value=!1)},{actions:de(()=>[le(M(Ye),{disabled:m.value||!h.value.trim(),variant:"primary",onClick:te},{default:de(()=>[ht(Ce(M(Fe)("office","Create")),1)]),_:1},8,["disabled"])]),default:de(()=>[ae("form",{class:"office-overview__create-form",onSubmit:yn(te,["prevent"])},[le(M(jx),{ref_key:"createInput",ref:y,modelValue:h.value,"onUpdate:modelValue":se[5]||(se[5]=G=>h.value=G),label:M(Fe)("office","Filename"),error:!!v.value,"helper-text":v.value,disabled:m.value},null,8,["modelValue","label","error","helper-text","disabled"])],32)]),_:1},8,["name","open"])):he("",!0)],64))]),_:1})]),_:1}))}}),OT=Qi(DT,[["__scopeId","data-v-f15e42e0"]]),PT=[{name:"creator",path:"/:creatorId?",component:OT},{path:"/:pathMatch(.*)*",redirect:"/"}],hl="/apps/office";function BT(e){const t=e.lastIndexOf(hl);return t===-1?_r(hl):e.slice(0,t+hl.length)}const $T=B3({history:h3(BT(window.location.pathname)),routes:PT}),D0=k4($3);D0.use($T),D0.mount("#office"); //# sourceMappingURL=office-main.mjs.map diff --git a/js/office-main.mjs.map b/js/office-main.mjs.map index 831401e..49d96ee 100644 --- a/js/office-main.mjs.map +++ b/js/office-main.mjs.map @@ -1 +1 @@ -{"version":3,"file":"office-main.mjs","sources":["../node_modules/vite-plugin-node-polyfills/shims/global/dist/index.js","../node_modules/@vue/shared/dist/shared.esm-bundler.js","../node_modules/@vue/reactivity/dist/reactivity.esm-bundler.js","../node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js","../node_modules/@vue/runtime-dom/dist/runtime-dom.esm-bundler.js","../node_modules/vue-router/dist/useApi-CROJJdhE.js","../node_modules/vue-router/dist/devtools-Bpr7ZAVB.js","../node_modules/vue-router/dist/vue-router.js","../src/App.vue","../node_modules/@nextcloud/router/dist/index.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/dompurify/dist/purify.es.mjs","../node_modules/escape-html/index.js","../node_modules/@nextcloud/l10n/dist/chunks/translation-DoG5ZELJ.mjs","../node_modules/@nextcloud/l10n/dist/index.mjs","../node_modules/@nextcloud/initial-state/dist/index.js","../node_modules/@nextcloud/capabilities/dist/index.mjs","../node_modules/@vueuse/shared/dist/index.js","../node_modules/@vueuse/core/dist/index.js","../node_modules/splitpanes/dist/splitpanes.es.js","../node_modules/@nextcloud/vue/dist/chunks/mdi-CpchYUUV.mjs","../node_modules/@nextcloud/vue/dist/composables/useIsMobile/index.mjs","../node_modules/@nextcloud/l10n/dist/gettext.mjs","../node_modules/@nextcloud/vue/dist/chunks/_l10n-BCg4udFv.mjs","../node_modules/@nextcloud/vue/dist/chunks/legacy-BoqDmOCa.mjs","../node_modules/@nextcloud/vue/dist/chunks/useNcFormBox-Djlh582y.mjs","../node_modules/@nextcloud/vue/dist/chunks/_plugin-vue_export-helper-1tPrXgE0.mjs","../node_modules/@nextcloud/vue/dist/chunks/NcButton-CdQzGSB6.mjs","../node_modules/@nextcloud/vue/dist/chunks/NcIconSvgWrapper-De-2-ukl.mjs","../node_modules/@nextcloud/logger/dist/index.mjs","../node_modules/@nextcloud/vue/dist/chunks/logger-D3RVzcfQ.mjs","../node_modules/@nextcloud/vue/dist/chunks/appName-DyNMVZpX.mjs","../node_modules/@nextcloud/vue/dist/chunks/rtl-v0UOPAM7.mjs","../node_modules/@nextcloud/vue/dist/chunks/NcAppContent-taTvqnvd.mjs","../node_modules/tabbable/dist/index.esm.js","../node_modules/focus-trap/dist/focus-trap.esm.js","../node_modules/@nextcloud/vue/dist/chunks/NcAppNavigationList-CGSWabRB.mjs","../node_modules/@nextcloud/vue/dist/chunks/focusTrap-HJQ4pqHV.mjs","../node_modules/@nextcloud/vue/dist/chunks/constants-Ciwvl5xb.mjs","../node_modules/@nextcloud/vue/dist/chunks/NcAppNavigation-Bb54U_qJ.mjs","../node_modules/@nextcloud/vue/dist/chunks/ChevronDown-C6gc637b.mjs","../node_modules/@nextcloud/vue/dist/chunks/ChevronUp-ChH8oB7p.mjs","../node_modules/@nextcloud/vue/dist/chunks/ArrowRight-B1ncAhus.mjs","../node_modules/@nextcloud/vue/dist/chunks/Close-CuhcJnX2.mjs","../node_modules/@nextcloud/vue/dist/chunks/NcInputConfirmCancel-BL_BkfXh.mjs","../node_modules/@nextcloud/vue/dist/chunks/createElementId-DhjFt1I9.mjs","../node_modules/@nextcloud/vue/dist/chunks/useNcActions-BzPO2c4h.mjs","../node_modules/@nextcloud/vue/dist/chunks/actionGlobal-BZFdtdJL.mjs","../node_modules/@nextcloud/vue/dist/chunks/actionText-BXR0sWNu.mjs","../node_modules/@nextcloud/vue/dist/chunks/NcActionButton-BJKJG2zO.mjs","../node_modules/@nextcloud/vue/dist/chunks/useTrapStackControl-B6cEicto.mjs","../node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs","../node_modules/@floating-ui/core/dist/floating-ui.core.mjs","../node_modules/floating-vue/node_modules/@floating-ui/dom/dist/floating-ui.dom.browser.min.mjs","../node_modules/floating-vue/dist/floating-vue.mjs","../node_modules/@nextcloud/vue/dist/chunks/NcPopover-CtdLAkEU.mjs","../node_modules/@nextcloud/vue/dist/chunks/NcActions-fCXSb_0o.mjs","../node_modules/@nextcloud/vue/dist/chunks/NcLoadingIcon-CInLzPtA.mjs","../node_modules/@nextcloud/vue/dist/chunks/NcVNodes.vue_vue_type_script_lang-BqUHinRZ.mjs","../node_modules/@nextcloud/vue/dist/chunks/NcAppNavigationItem-Dg2d2AwS.mjs","../node_modules/@nextcloud/vue/dist/chunks/NcInputField-C3iof9pY.mjs","../node_modules/@nextcloud/vue/dist/chunks/NcAppNavigationSearch-BWHsAoc1.mjs","../node_modules/@nextcloud/vue/dist/chunks/NcContent-Dd15hgck.mjs","../node_modules/@nextcloud/vue/dist/composables/useFormatDateTime/index.mjs","../node_modules/@nextcloud/vue/dist/chunks/NcDateTime.vue_vue_type_script_setup_true_lang-B4upiZjL.mjs","../node_modules/@nextcloud/vue/dist/chunks/NcDialogButton.vue_vue_type_script_setup_true_lang-WZfDqDwc.mjs","../node_modules/@nextcloud/vue/dist/chunks/platform-CC2ecGvV.mjs","../node_modules/@nextcloud/vue/dist/composables/useHotKey/index.mjs","../node_modules/@nextcloud/vue/dist/functions/isDarkTheme/index.mjs","../node_modules/@nextcloud/vue/dist/composables/useIsFullscreen/index.mjs","../node_modules/@nextcloud/vue/dist/chunks/NcModal-DyOZxq9E.mjs","../node_modules/@nextcloud/vue/dist/chunks/NcDialog-D-qxVQxL.mjs","../node_modules/@nextcloud/vue/dist/chunks/NcEmptyContent--TRhmNAW.mjs","../node_modules/@nextcloud/vue/dist/chunks/NcCounterBubble-VUNXKsnk.mjs","../node_modules/@nextcloud/vue/dist/chunks/NcListItem-Chk9TtPa.mjs","../node_modules/@nextcloud/vue/dist/chunks/NcTextField.vue_vue_type_script_setup_true_lang-DgvCZDmR.mjs","../node_modules/@mdi/js/mdi.js","../src/components/FileCard.vue","../src/components/FilePreview.vue","../src/components/TemplateSection.vue","../node_modules/@nextcloud/sharing/dist/public.js","../node_modules/webdav/dist/web/index.js","../node_modules/@nextcloud/paths/dist/index.mjs","../node_modules/@nextcloud/files/dist/chunks/folder-29HuacU_.mjs","../node_modules/@nextcloud/files/dist/dav.mjs","../src/services/officeFiles.ts","../node_modules/axios/lib/helpers/bind.js","../node_modules/axios/lib/utils.js","../node_modules/axios/lib/helpers/parseHeaders.js","../node_modules/axios/lib/helpers/sanitizeHeaderValue.js","../node_modules/axios/lib/core/AxiosHeaders.js","../node_modules/axios/lib/core/AxiosError.js","../node_modules/axios/lib/helpers/null.js","../node_modules/axios/lib/helpers/toFormData.js","../node_modules/axios/lib/helpers/AxiosURLSearchParams.js","../node_modules/axios/lib/helpers/buildURL.js","../node_modules/axios/lib/core/InterceptorManager.js","../node_modules/axios/lib/defaults/transitional.js","../node_modules/axios/lib/platform/browser/classes/URLSearchParams.js","../node_modules/axios/lib/platform/browser/classes/FormData.js","../node_modules/axios/lib/platform/browser/classes/Blob.js","../node_modules/axios/lib/platform/browser/index.js","../node_modules/axios/lib/platform/common/utils.js","../node_modules/axios/lib/platform/index.js","../node_modules/axios/lib/helpers/toURLEncodedForm.js","../node_modules/axios/lib/helpers/formDataToJSON.js","../node_modules/axios/lib/defaults/index.js","../node_modules/axios/lib/core/transformData.js","../node_modules/axios/lib/cancel/isCancel.js","../node_modules/axios/lib/cancel/CanceledError.js","../node_modules/axios/lib/core/settle.js","../node_modules/axios/lib/helpers/parseProtocol.js","../node_modules/axios/lib/helpers/speedometer.js","../node_modules/axios/lib/helpers/throttle.js","../node_modules/axios/lib/helpers/progressEventReducer.js","../node_modules/axios/lib/helpers/isURLSameOrigin.js","../node_modules/axios/lib/helpers/cookies.js","../node_modules/axios/lib/helpers/isAbsoluteURL.js","../node_modules/axios/lib/helpers/combineURLs.js","../node_modules/axios/lib/core/buildFullPath.js","../node_modules/axios/lib/core/mergeConfig.js","../node_modules/axios/lib/core/setFormDataHeaders.js","../node_modules/axios/lib/helpers/resolveConfig.js","../node_modules/axios/lib/adapters/xhr.js","../node_modules/axios/lib/helpers/composeSignals.js","../node_modules/axios/lib/helpers/trackStream.js","../node_modules/axios/lib/helpers/estimateDataURLDecodedBytes.js","../node_modules/axios/lib/env/data.js","../node_modules/axios/lib/adapters/fetch.js","../node_modules/axios/lib/adapters/adapters.js","../node_modules/axios/lib/core/dispatchRequest.js","../node_modules/axios/lib/helpers/validator.js","../node_modules/axios/lib/core/Axios.js","../node_modules/axios/lib/cancel/CancelToken.js","../node_modules/axios/lib/helpers/spread.js","../node_modules/axios/lib/helpers/isAxiosError.js","../node_modules/axios/lib/helpers/HttpStatusCode.js","../node_modules/axios/lib/axios.js","../node_modules/axios/index.js","../node_modules/@nextcloud/axios/dist/client.js","../node_modules/@nextcloud/axios/dist/interceptors/csrf-token.js","../node_modules/@nextcloud/axios/dist/interceptors/maintenance-mode.js","../node_modules/@nextcloud/axios/dist/interceptors/not-logged-in.js","../node_modules/@nextcloud/axios/dist/index.js","../src/services/templates.ts","../src/services/config.ts","../src/utils/fileCategories.ts","../src/utils/validateFilename.ts","../node_modules/@nextcloud/files/dist/index.mjs","../src/utils/fileFilters.ts","../src/views/OfficeOverview.vue","../src/router.ts","../src/main.ts"],"sourcesContent":["const global = globalThis || void 0 || self;\n\nexport { global as default, global };\n//# sourceMappingURL=index.js.map\n","/**\n* @vue/shared v3.5.41\n* (c) 2018-present Yuxi (Evan) You and Vue contributors\n* @license MIT\n**/\n// @__NO_SIDE_EFFECTS__\nfunction makeMap(str) {\n const map = /* @__PURE__ */ Object.create(null);\n for (const key of str.split(\",\")) map[key] = 1;\n return (val) => val in map;\n}\n\nconst EMPTY_OBJ = !!(process.env.NODE_ENV !== \"production\") ? Object.freeze({}) : {};\nconst EMPTY_ARR = !!(process.env.NODE_ENV !== \"production\") ? Object.freeze([]) : [];\nconst NOOP = () => {\n};\nconst NO = () => false;\nconst isOn = (key) => key.charCodeAt(0) === 111 && key.charCodeAt(1) === 110 && // uppercase letter\n(key.charCodeAt(2) > 122 || key.charCodeAt(2) < 97);\nconst isModelListener = (key) => key.startsWith(\"onUpdate:\");\nconst extend = Object.assign;\nconst remove = (arr, el) => {\n const i = arr.indexOf(el);\n if (i > -1) {\n arr.splice(i, 1);\n }\n};\nconst hasOwnProperty = Object.prototype.hasOwnProperty;\nconst hasOwn = (val, key) => hasOwnProperty.call(val, key);\nconst isArray = Array.isArray;\nconst isMap = (val) => toTypeString(val) === \"[object Map]\";\nconst isSet = (val) => toTypeString(val) === \"[object Set]\";\nconst isDate = (val) => toTypeString(val) === \"[object Date]\";\nconst isRegExp = (val) => toTypeString(val) === \"[object RegExp]\";\nconst isFunction = (val) => typeof val === \"function\";\nconst isString = (val) => typeof val === \"string\";\nconst isSymbol = (val) => typeof val === \"symbol\";\nconst isObject = (val) => val !== null && typeof val === \"object\";\nconst isPromise = (val) => {\n return (isObject(val) || isFunction(val)) && isFunction(val.then) && isFunction(val.catch);\n};\nconst objectToString = Object.prototype.toString;\nconst toTypeString = (value) => objectToString.call(value);\nconst toRawType = (value) => {\n return toTypeString(value).slice(8, -1);\n};\nconst isPlainObject = (val) => toTypeString(val) === \"[object Object]\";\nconst isIntegerKey = (key) => isString(key) && key !== \"NaN\" && key[0] !== \"-\" && \"\" + parseInt(key, 10) === key;\nconst isReservedProp = /* @__PURE__ */ makeMap(\n // the leading comma is intentional so empty string \"\" is also included\n \",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted\"\n);\nconst isBuiltInDirective = /* @__PURE__ */ makeMap(\n \"bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo\"\n);\nconst cacheStringFunction = (fn) => {\n const cache = /* @__PURE__ */ Object.create(null);\n return ((str) => {\n const hit = cache[str];\n return hit || (cache[str] = fn(str));\n });\n};\nconst camelizeRE = /-\\w/g;\nconst camelize = cacheStringFunction(\n (str) => {\n return str.replace(camelizeRE, (c) => c.slice(1).toUpperCase());\n }\n);\nconst hyphenateRE = /\\B([A-Z])/g;\nconst hyphenate = cacheStringFunction(\n (str) => str.replace(hyphenateRE, \"-$1\").toLowerCase()\n);\nconst capitalize = cacheStringFunction((str) => {\n return str.charAt(0).toUpperCase() + str.slice(1);\n});\nconst toHandlerKey = cacheStringFunction(\n (str) => {\n const s = str ? `on${capitalize(str)}` : ``;\n return s;\n }\n);\nconst hasChanged = (value, oldValue) => !Object.is(value, oldValue);\nconst invokeArrayFns = (fns, ...arg) => {\n for (let i = 0; i < fns.length; i++) {\n fns[i](...arg);\n }\n};\nconst def = (obj, key, value, writable = false) => {\n Object.defineProperty(obj, key, {\n configurable: true,\n enumerable: false,\n writable,\n value\n });\n};\nconst looseToNumber = (val) => {\n const n = parseFloat(val);\n return isNaN(n) ? val : n;\n};\nconst toNumber = (val) => {\n const n = isString(val) ? Number(val) : NaN;\n return isNaN(n) ? val : n;\n};\nlet _globalThis;\nconst getGlobalThis = () => {\n return _globalThis || (_globalThis = typeof globalThis !== \"undefined\" ? globalThis : typeof self !== \"undefined\" ? self : typeof window !== \"undefined\" ? window : typeof global !== \"undefined\" ? global : {});\n};\nconst identRE = /^[_$a-zA-Z\\xA0-\\uFFFF][_$a-zA-Z0-9\\xA0-\\uFFFF]*$/;\nfunction genPropsAccessExp(name) {\n return identRE.test(name) ? `__props.${name}` : `__props[${JSON.stringify(name)}]`;\n}\nfunction genCacheKey(source, options) {\n return source + JSON.stringify(\n options,\n (_, val) => typeof val === \"function\" ? val.toString() : val\n );\n}\n\nconst PatchFlags = {\n \"TEXT\": 1,\n \"1\": \"TEXT\",\n \"CLASS\": 2,\n \"2\": \"CLASS\",\n \"STYLE\": 4,\n \"4\": \"STYLE\",\n \"PROPS\": 8,\n \"8\": \"PROPS\",\n \"FULL_PROPS\": 16,\n \"16\": \"FULL_PROPS\",\n \"NEED_HYDRATION\": 32,\n \"32\": \"NEED_HYDRATION\",\n \"STABLE_FRAGMENT\": 64,\n \"64\": \"STABLE_FRAGMENT\",\n \"KEYED_FRAGMENT\": 128,\n \"128\": \"KEYED_FRAGMENT\",\n \"UNKEYED_FRAGMENT\": 256,\n \"256\": \"UNKEYED_FRAGMENT\",\n \"NEED_PATCH\": 512,\n \"512\": \"NEED_PATCH\",\n \"DYNAMIC_SLOTS\": 1024,\n \"1024\": \"DYNAMIC_SLOTS\",\n \"DEV_ROOT_FRAGMENT\": 2048,\n \"2048\": \"DEV_ROOT_FRAGMENT\",\n \"CACHED\": -1,\n \"-1\": \"CACHED\",\n \"BAIL\": -2,\n \"-2\": \"BAIL\"\n};\nconst PatchFlagNames = {\n [1]: `TEXT`,\n [2]: `CLASS`,\n [4]: `STYLE`,\n [8]: `PROPS`,\n [16]: `FULL_PROPS`,\n [32]: `NEED_HYDRATION`,\n [64]: `STABLE_FRAGMENT`,\n [128]: `KEYED_FRAGMENT`,\n [256]: `UNKEYED_FRAGMENT`,\n [512]: `NEED_PATCH`,\n [1024]: `DYNAMIC_SLOTS`,\n [2048]: `DEV_ROOT_FRAGMENT`,\n [-1]: `CACHED`,\n [-2]: `BAIL`\n};\n\nconst ShapeFlags = {\n \"ELEMENT\": 1,\n \"1\": \"ELEMENT\",\n \"FUNCTIONAL_COMPONENT\": 2,\n \"2\": \"FUNCTIONAL_COMPONENT\",\n \"STATEFUL_COMPONENT\": 4,\n \"4\": \"STATEFUL_COMPONENT\",\n \"TEXT_CHILDREN\": 8,\n \"8\": \"TEXT_CHILDREN\",\n \"ARRAY_CHILDREN\": 16,\n \"16\": \"ARRAY_CHILDREN\",\n \"SLOTS_CHILDREN\": 32,\n \"32\": \"SLOTS_CHILDREN\",\n \"TELEPORT\": 64,\n \"64\": \"TELEPORT\",\n \"SUSPENSE\": 128,\n \"128\": \"SUSPENSE\",\n \"COMPONENT_SHOULD_KEEP_ALIVE\": 256,\n \"256\": \"COMPONENT_SHOULD_KEEP_ALIVE\",\n \"COMPONENT_KEPT_ALIVE\": 512,\n \"512\": \"COMPONENT_KEPT_ALIVE\",\n \"COMPONENT\": 6,\n \"6\": \"COMPONENT\"\n};\n\nconst SlotFlags = {\n \"STABLE\": 1,\n \"1\": \"STABLE\",\n \"DYNAMIC\": 2,\n \"2\": \"DYNAMIC\",\n \"FORWARDED\": 3,\n \"3\": \"FORWARDED\"\n};\nconst slotFlagsText = {\n [1]: \"STABLE\",\n [2]: \"DYNAMIC\",\n [3]: \"FORWARDED\"\n};\n\nconst GLOBALS_ALLOWED = \"Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error,Symbol\";\nconst isGloballyAllowed = /* @__PURE__ */ makeMap(GLOBALS_ALLOWED);\nconst isGloballyWhitelisted = isGloballyAllowed;\n\nconst range = 2;\nfunction generateCodeFrame(source, start = 0, end = source.length) {\n start = Math.max(0, Math.min(start, source.length));\n end = Math.max(0, Math.min(end, source.length));\n if (start > end) return \"\";\n let lines = source.split(/(\\r?\\n)/);\n const newlineSequences = lines.filter((_, idx) => idx % 2 === 1);\n lines = lines.filter((_, idx) => idx % 2 === 0);\n let count = 0;\n const res = [];\n for (let i = 0; i < lines.length; i++) {\n count += lines[i].length + (newlineSequences[i] && newlineSequences[i].length || 0);\n if (count >= start) {\n for (let j = i - range; j <= i + range || end > count; j++) {\n if (j < 0 || j >= lines.length) continue;\n const line = j + 1;\n res.push(\n `${line}${\" \".repeat(Math.max(3 - String(line).length, 0))}| ${lines[j]}`\n );\n const lineLength = lines[j].length;\n const newLineSeqLength = newlineSequences[j] && newlineSequences[j].length || 0;\n if (j === i) {\n const pad = start - (count - (lineLength + newLineSeqLength));\n const length = Math.max(\n 1,\n end > count ? lineLength - pad : end - start\n );\n res.push(` | ` + \" \".repeat(pad) + \"^\".repeat(length));\n } else if (j > i) {\n if (end > count) {\n const length = Math.max(Math.min(end - count, lineLength), 1);\n res.push(` | ` + \"^\".repeat(length));\n }\n count += lineLength + newLineSeqLength;\n }\n }\n break;\n }\n }\n return res.join(\"\\n\");\n}\n\nfunction normalizeStyle(value) {\n if (isArray(value)) {\n const res = {};\n for (let i = 0; i < value.length; i++) {\n const item = value[i];\n const normalized = isString(item) ? parseStringStyle(item) : normalizeStyle(item);\n if (normalized) {\n for (const key in normalized) {\n res[key] = normalized[key];\n }\n }\n }\n return res;\n } else if (isString(value) || isObject(value)) {\n return value;\n }\n}\nconst listDelimiterRE = /;(?![^(]*\\))/g;\nconst propertyDelimiterRE = /:([^]+)/;\nconst styleCommentRE = /\\/\\*[^]*?\\*\\//g;\nfunction parseStringStyle(cssText) {\n const ret = {};\n cssText.replace(styleCommentRE, \"\").split(listDelimiterRE).forEach((item) => {\n if (item) {\n const tmp = item.split(propertyDelimiterRE);\n tmp.length > 1 && (ret[tmp[0].trim()] = tmp[1].trim());\n }\n });\n return ret;\n}\nfunction stringifyStyle(styles) {\n if (!styles) return \"\";\n if (isString(styles)) return styles;\n let ret = \"\";\n for (const key in styles) {\n const value = styles[key];\n if (isString(value) || typeof value === \"number\") {\n const normalizedKey = key.startsWith(`--`) ? key : hyphenate(key);\n ret += `${normalizedKey}:${value};`;\n }\n }\n return ret;\n}\nfunction normalizeClass(value) {\n let res = \"\";\n if (isString(value)) {\n res = value;\n } else if (isArray(value)) {\n for (let i = 0; i < value.length; i++) {\n const normalized = normalizeClass(value[i]);\n if (normalized) {\n res += normalized + \" \";\n }\n }\n } else if (isObject(value)) {\n for (const name in value) {\n if (value[name]) {\n res += name + \" \";\n }\n }\n }\n return res.trim();\n}\nfunction normalizeProps(props) {\n if (!props) return null;\n let { class: klass, style } = props;\n if (klass && !isString(klass)) {\n props.class = normalizeClass(klass);\n }\n if (style) {\n props.style = normalizeStyle(style);\n }\n return props;\n}\n\nconst HTML_TAGS = \"html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot\";\nconst SVG_TAGS = \"svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistantLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view\";\nconst MATH_TAGS = \"annotation,annotation-xml,maction,maligngroup,malignmark,math,menclose,merror,mfenced,mfrac,mfraction,mglyph,mi,mlabeledtr,mlongdiv,mmultiscripts,mn,mo,mover,mpadded,mphantom,mprescripts,mroot,mrow,ms,mscarries,mscarry,msgroup,msline,mspace,msqrt,msrow,mstack,mstyle,msub,msubsup,msup,mtable,mtd,mtext,mtr,munder,munderover,none,semantics\";\nconst VOID_TAGS = \"area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr\";\nconst isHTMLTag = /* @__PURE__ */ makeMap(HTML_TAGS);\nconst isSVGTag = /* @__PURE__ */ makeMap(SVG_TAGS);\nconst isMathMLTag = /* @__PURE__ */ makeMap(MATH_TAGS);\nconst isVoidTag = /* @__PURE__ */ makeMap(VOID_TAGS);\n\nconst specialBooleanAttrs = `itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly`;\nconst isSpecialBooleanAttr = /* @__PURE__ */ makeMap(specialBooleanAttrs);\nconst isBooleanAttr = /* @__PURE__ */ makeMap(\n specialBooleanAttrs + `,async,autofocus,autoplay,controls,default,defer,disabled,inert,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected`\n);\nfunction includeBooleanAttr(value) {\n return !!value || value === \"\";\n}\nconst unsafeAttrCharRE = /[>/=\"'\\u0009\\u000a\\u000c\\u0020]/;\nconst attrValidationCache = {};\nfunction isSSRSafeAttrName(name) {\n if (attrValidationCache.hasOwnProperty(name)) {\n return attrValidationCache[name];\n }\n const isUnsafe = unsafeAttrCharRE.test(name);\n if (isUnsafe) {\n console.error(`unsafe attribute name: ${name}`);\n }\n return attrValidationCache[name] = !isUnsafe;\n}\nconst propsToAttrMap = {\n acceptCharset: \"accept-charset\",\n className: \"class\",\n htmlFor: \"for\",\n httpEquiv: \"http-equiv\"\n};\nconst isKnownHtmlAttr = /* @__PURE__ */ makeMap(\n `accept,accept-charset,accesskey,action,align,allow,alt,async,autocapitalize,autocomplete,autofocus,autoplay,background,bgcolor,border,buffered,capture,challenge,charset,checked,cite,class,code,codebase,color,cols,colspan,content,contenteditable,contextmenu,controls,coords,crossorigin,csp,data,datetime,decoding,default,defer,dir,dirname,disabled,download,draggable,dropzone,enctype,enterkeyhint,for,form,formaction,formenctype,formmethod,formnovalidate,formtarget,headers,height,hidden,high,href,hreflang,http-equiv,icon,id,importance,inert,integrity,ismap,itemprop,keytype,kind,label,lang,language,loading,list,loop,low,manifest,max,maxlength,minlength,media,min,multiple,muted,name,novalidate,open,optimum,pattern,ping,placeholder,poster,preload,radiogroup,readonly,referrerpolicy,rel,required,reversed,rows,rowspan,sandbox,scope,scoped,selected,shape,size,sizes,slot,span,spellcheck,src,srcdoc,srclang,srcset,start,step,style,summary,tabindex,target,title,translate,type,usemap,value,width,wrap`\n);\nconst isKnownSvgAttr = /* @__PURE__ */ makeMap(\n `xmlns,accent-height,accumulate,additive,alignment-baseline,alphabetic,amplitude,arabic-form,ascent,attributeName,attributeType,azimuth,baseFrequency,baseline-shift,baseProfile,bbox,begin,bias,by,calcMode,cap-height,class,clip,clipPathUnits,clip-path,clip-rule,color,color-interpolation,color-interpolation-filters,color-profile,color-rendering,contentScriptType,contentStyleType,crossorigin,cursor,cx,cy,d,decelerate,descent,diffuseConstant,direction,display,divisor,dominant-baseline,dur,dx,dy,edgeMode,elevation,enable-background,end,exponent,fill,fill-opacity,fill-rule,filter,filterRes,filterUnits,flood-color,flood-opacity,font-family,font-size,font-size-adjust,font-stretch,font-style,font-variant,font-weight,format,from,fr,fx,fy,g1,g2,glyph-name,glyph-orientation-horizontal,glyph-orientation-vertical,glyphRef,gradientTransform,gradientUnits,hanging,height,href,hreflang,horiz-adv-x,horiz-origin-x,id,ideographic,image-rendering,in,in2,intercept,k,k1,k2,k3,k4,kernelMatrix,kernelUnitLength,kerning,keyPoints,keySplines,keyTimes,lang,lengthAdjust,letter-spacing,lighting-color,limitingConeAngle,local,marker-end,marker-mid,marker-start,markerHeight,markerUnits,markerWidth,mask,maskContentUnits,maskUnits,mathematical,max,media,method,min,mode,name,numOctaves,offset,opacity,operator,order,orient,orientation,origin,overflow,overline-position,overline-thickness,panose-1,paint-order,path,pathLength,patternContentUnits,patternTransform,patternUnits,ping,pointer-events,points,pointsAtX,pointsAtY,pointsAtZ,preserveAlpha,preserveAspectRatio,primitiveUnits,r,radius,referrerPolicy,refX,refY,rel,rendering-intent,repeatCount,repeatDur,requiredExtensions,requiredFeatures,restart,result,rotate,rx,ry,scale,seed,shape-rendering,slope,spacing,specularConstant,specularExponent,speed,spreadMethod,startOffset,stdDeviation,stemh,stemv,stitchTiles,stop-color,stop-opacity,strikethrough-position,strikethrough-thickness,string,stroke,stroke-dasharray,stroke-dashoffset,stroke-linecap,stroke-linejoin,stroke-miterlimit,stroke-opacity,stroke-width,style,surfaceScale,systemLanguage,tabindex,tableValues,target,targetX,targetY,text-anchor,text-decoration,text-rendering,textLength,to,transform,transform-origin,type,u1,u2,underline-position,underline-thickness,unicode,unicode-bidi,unicode-range,units-per-em,v-alphabetic,v-hanging,v-ideographic,v-mathematical,values,vector-effect,version,vert-adv-y,vert-origin-x,vert-origin-y,viewBox,viewTarget,visibility,width,widths,word-spacing,writing-mode,x,x-height,x1,x2,xChannelSelector,xlink:actuate,xlink:arcrole,xlink:href,xlink:role,xlink:show,xlink:title,xlink:type,xmlns:xlink,xml:base,xml:lang,xml:space,y,y1,y2,yChannelSelector,z,zoomAndPan`\n);\nconst isKnownMathMLAttr = /* @__PURE__ */ makeMap(\n `accent,accentunder,actiontype,align,alignmentscope,altimg,altimg-height,altimg-valign,altimg-width,alttext,bevelled,close,columnsalign,columnlines,columnspan,denomalign,depth,dir,display,displaystyle,encoding,equalcolumns,equalrows,fence,fontstyle,fontweight,form,frame,framespacing,groupalign,height,href,id,indentalign,indentalignfirst,indentalignlast,indentshift,indentshiftfirst,indentshiftlast,indextype,justify,largetop,largeop,lquote,lspace,mathbackground,mathcolor,mathsize,mathvariant,maxsize,minlabelspacing,mode,other,overflow,position,rowalign,rowlines,rowspan,rquote,rspace,scriptlevel,scriptminsize,scriptsizemultiplier,selection,separator,separators,shift,side,src,stackalign,stretchy,subscriptshift,superscriptshift,symmetric,voffset,width,widths,xlink:href,xlink:show,xlink:type,xmlns`\n);\nfunction isRenderableAttrValue(value) {\n if (value == null) {\n return false;\n }\n const type = typeof value;\n return type === \"string\" || type === \"number\" || type === \"boolean\";\n}\n\nconst escapeRE = /[\"'&<>]/;\nfunction escapeHtml(string) {\n const str = \"\" + string;\n const match = escapeRE.exec(str);\n if (!match) {\n return str;\n }\n let html = \"\";\n let escaped;\n let index;\n let lastIndex = 0;\n for (index = match.index; index < str.length; index++) {\n switch (str.charCodeAt(index)) {\n case 34:\n escaped = \""\";\n break;\n case 38:\n escaped = \"&\";\n break;\n case 39:\n escaped = \"'\";\n break;\n case 60:\n escaped = \"<\";\n break;\n case 62:\n escaped = \">\";\n break;\n default:\n continue;\n }\n if (lastIndex !== index) {\n html += str.slice(lastIndex, index);\n }\n lastIndex = index + 1;\n html += escaped;\n }\n return lastIndex !== index ? html + str.slice(lastIndex, index) : html;\n}\nconst commentStripRE = /^(?:-?>)+||--!>|?@[\\\\\\]^`{|}~]/g;\nfunction getEscapedCssVarName(key, doubleEscape) {\n return key.replace(\n cssVarNameEscapeSymbolsRE,\n (s) => doubleEscape ? s === '\"' ? '\\\\\\\\\\\\\"' : `\\\\\\\\${s}` : `\\\\${s}`\n );\n}\n\nfunction looseCompareArrays(a, b) {\n if (a.length !== b.length) return false;\n let equal = true;\n for (let i = 0; equal && i < a.length; i++) {\n equal = looseEqual(a[i], b[i]);\n }\n return equal;\n}\nfunction looseEqual(a, b) {\n if (a === b) return true;\n let aValidType = isDate(a);\n let bValidType = isDate(b);\n if (aValidType || bValidType) {\n return aValidType && bValidType ? a.getTime() === b.getTime() : false;\n }\n aValidType = isSymbol(a);\n bValidType = isSymbol(b);\n if (aValidType || bValidType) {\n return a === b;\n }\n aValidType = isArray(a);\n bValidType = isArray(b);\n if (aValidType || bValidType) {\n return aValidType && bValidType ? looseCompareArrays(a, b) : false;\n }\n aValidType = isObject(a);\n bValidType = isObject(b);\n if (aValidType || bValidType) {\n if (!aValidType || !bValidType) {\n return false;\n }\n const aKeysCount = Object.keys(a).length;\n const bKeysCount = Object.keys(b).length;\n if (aKeysCount !== bKeysCount) {\n return false;\n }\n for (const key in a) {\n const aHasKey = a.hasOwnProperty(key);\n const bHasKey = b.hasOwnProperty(key);\n if (aHasKey && !bHasKey || !aHasKey && bHasKey || !looseEqual(a[key], b[key])) {\n return false;\n }\n }\n }\n return String(a) === String(b);\n}\nfunction looseIndexOf(arr, val) {\n return arr.findIndex((item) => looseEqual(item, val));\n}\n\nconst isRef = (val) => {\n return !!(val && val[\"__v_isRef\"] === true);\n};\nconst toDisplayString = (val) => {\n return isString(val) ? val : val == null ? \"\" : isArray(val) || isObject(val) && (val.toString === objectToString || !isFunction(val.toString)) ? isRef(val) ? toDisplayString(val.value) : JSON.stringify(val, replacer, 2) : String(val);\n};\nconst replacer = (_key, val) => {\n if (isRef(val)) {\n return replacer(_key, val.value);\n } else if (isMap(val)) {\n return {\n [`Map(${val.size})`]: [...val.entries()].reduce(\n (entries, [key, val2], i) => {\n entries[stringifySymbol(key, i) + \" =>\"] = val2;\n return entries;\n },\n {}\n )\n };\n } else if (isSet(val)) {\n return {\n [`Set(${val.size})`]: [...val.values()].map((v) => stringifySymbol(v))\n };\n } else if (isSymbol(val)) {\n return stringifySymbol(val);\n } else if (isObject(val) && !isArray(val) && !isPlainObject(val)) {\n return String(val);\n }\n return val;\n};\nconst stringifySymbol = (v, i = \"\") => {\n var _a;\n return (\n // Symbol.description in es2019+ so we need to cast here to pass\n // the lib: es2016 check\n isSymbol(v) ? `Symbol(${(_a = v.description) != null ? _a : i})` : v\n );\n};\n\nfunction normalizeCssVarValue(value) {\n if (value == null) {\n return \"initial\";\n }\n if (typeof value === \"string\") {\n return value === \"\" ? \" \" : value;\n }\n if (typeof value !== \"number\" || !Number.isFinite(value)) {\n if (!!(process.env.NODE_ENV !== \"production\")) {\n console.warn(\n \"[Vue warn] Invalid value used for CSS binding. Expected a string or a finite number but received:\",\n value\n );\n }\n }\n return String(value);\n}\n\nexport { EMPTY_ARR, EMPTY_OBJ, NO, NOOP, PatchFlagNames, PatchFlags, ShapeFlags, SlotFlags, camelize, capitalize, cssVarNameEscapeSymbolsRE, def, escapeHtml, escapeHtmlComment, extend, genCacheKey, genPropsAccessExp, generateCodeFrame, getEscapedCssVarName, getGlobalThis, hasChanged, hasOwn, hyphenate, includeBooleanAttr, invokeArrayFns, isArray, isBooleanAttr, isBuiltInDirective, isDate, isFunction, isGloballyAllowed, isGloballyWhitelisted, isHTMLTag, isIntegerKey, isKnownHtmlAttr, isKnownMathMLAttr, isKnownSvgAttr, isMap, isMathMLTag, isModelListener, isObject, isOn, isPlainObject, isPromise, isRegExp, isRenderableAttrValue, isReservedProp, isSSRSafeAttrName, isSVGTag, isSet, isSpecialBooleanAttr, isString, isSymbol, isVoidTag, looseEqual, looseIndexOf, looseToNumber, makeMap, normalizeClass, normalizeCssVarValue, normalizeProps, normalizeStyle, objectToString, parseStringStyle, propsToAttrMap, remove, slotFlagsText, stringifyStyle, toDisplayString, toHandlerKey, toNumber, toRawType, toTypeString };\n","/**\n* @vue/reactivity v3.5.41\n* (c) 2018-present Yuxi (Evan) You and Vue contributors\n* @license MIT\n**/\nimport { extend, hasChanged, isArray, isIntegerKey, isSymbol, isMap, hasOwn, isObject, makeMap, capitalize, toRawType, def, isFunction, EMPTY_OBJ, isSet, isPlainObject, remove, NOOP } from '@vue/shared';\n\nfunction warn(msg, ...args) {\n console.warn(`[Vue warn] ${msg}`, ...args);\n}\n\nlet activeEffectScope;\nclass EffectScope {\n // TODO isolatedDeclarations \"__v_skip\"\n constructor(detached = false) {\n this.detached = detached;\n /**\n * @internal\n */\n this._active = true;\n /**\n * @internal track `on` calls, allow `on` call multiple times\n */\n this._on = 0;\n /**\n * @internal\n */\n this.effects = [];\n /**\n * @internal\n */\n this.cleanups = [];\n this._isPaused = false;\n this._warnOnRun = true;\n this.__v_skip = true;\n if (!detached && activeEffectScope) {\n if (activeEffectScope.active) {\n this.parent = activeEffectScope;\n this.index = (activeEffectScope.scopes || (activeEffectScope.scopes = [])).push(\n this\n ) - 1;\n } else {\n this._active = false;\n this._warnOnRun = false;\n }\n }\n }\n get active() {\n return this._active;\n }\n pause() {\n if (this._active) {\n this._isPaused = true;\n let i, l;\n if (this.scopes) {\n const scopes = this.scopes.slice();\n for (i = 0, l = scopes.length; i < l; i++) {\n scopes[i].pause();\n }\n }\n for (i = 0, l = this.effects.length; i < l; i++) {\n this.effects[i].pause();\n }\n }\n }\n /**\n * Resumes the effect scope, including all child scopes and effects.\n */\n resume() {\n if (this._active) {\n if (this._isPaused) {\n this._isPaused = false;\n let i, l;\n if (this.scopes) {\n const scopes = this.scopes.slice();\n for (i = 0, l = scopes.length; i < l; i++) {\n scopes[i].resume();\n }\n }\n const effects = this.effects.slice();\n for (i = 0, l = effects.length; i < l; i++) {\n effects[i].resume();\n }\n }\n }\n }\n run(fn) {\n if (this._active) {\n const currentEffectScope = activeEffectScope;\n try {\n activeEffectScope = this;\n return fn();\n } finally {\n activeEffectScope = currentEffectScope;\n }\n } else if (!!(process.env.NODE_ENV !== \"production\") && this._warnOnRun) {\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 on() {\n if (++this._on === 1) {\n this.prevScope = activeEffectScope;\n activeEffectScope = this;\n }\n }\n /**\n * This should only be called on non-detached scopes\n * @internal\n */\n off() {\n if (this._on > 0 && --this._on === 0) {\n if (activeEffectScope === this) {\n activeEffectScope = this.prevScope;\n } else {\n let current = activeEffectScope;\n while (current) {\n if (current.prevScope === this) {\n current.prevScope = this.prevScope;\n break;\n }\n current = current.prevScope;\n }\n }\n this.prevScope = void 0;\n }\n }\n stop(fromParent) {\n if (this._active) {\n this._active = false;\n let i, l;\n for (i = 0, l = this.effects.length; i < l; i++) {\n this.effects[i].stop();\n }\n this.effects.length = 0;\n for (i = 0, l = this.cleanups.length; i < l; i++) {\n this.cleanups[i]();\n }\n this.cleanups.length = 0;\n if (this.scopes) {\n const scopes = this.scopes.slice();\n for (i = 0, l = scopes.length; i < l; i++) {\n scopes[i].stop(true);\n }\n this.scopes.length = 0;\n }\n if (!this.detached && this.parent && !fromParent) {\n const 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 = void 0;\n }\n }\n}\nfunction effectScope(detached) {\n return new EffectScope(detached);\n}\nfunction getCurrentScope() {\n return activeEffectScope;\n}\nfunction onScopeDispose(fn, failSilently = false) {\n if (activeEffectScope) {\n activeEffectScope.cleanups.push(fn);\n } else if (!!(process.env.NODE_ENV !== \"production\") && !failSilently) {\n warn(\n `onScopeDispose() is called when there is no active effect scope to be associated with.`\n );\n }\n}\n\nlet activeSub;\nconst EffectFlags = {\n \"ACTIVE\": 1,\n \"1\": \"ACTIVE\",\n \"RUNNING\": 2,\n \"2\": \"RUNNING\",\n \"TRACKING\": 4,\n \"4\": \"TRACKING\",\n \"NOTIFIED\": 8,\n \"8\": \"NOTIFIED\",\n \"DIRTY\": 16,\n \"16\": \"DIRTY\",\n \"ALLOW_RECURSE\": 32,\n \"32\": \"ALLOW_RECURSE\",\n \"PAUSED\": 64,\n \"64\": \"PAUSED\",\n \"EVALUATED\": 128,\n \"128\": \"EVALUATED\"\n};\nconst pausedQueueEffects = /* @__PURE__ */ new WeakSet();\nclass ReactiveEffect {\n constructor(fn) {\n this.fn = fn;\n /**\n * @internal\n */\n this.deps = void 0;\n /**\n * @internal\n */\n this.depsTail = void 0;\n /**\n * @internal\n */\n this.flags = 1 | 4;\n /**\n * @internal\n */\n this.next = void 0;\n /**\n * @internal\n */\n this.cleanup = void 0;\n this.scheduler = void 0;\n if (activeEffectScope) {\n if (activeEffectScope.active) {\n activeEffectScope.effects.push(this);\n } else {\n this.flags &= -2;\n }\n }\n }\n pause() {\n this.flags |= 64;\n }\n resume() {\n if (this.flags & 64) {\n this.flags &= -65;\n if (pausedQueueEffects.has(this)) {\n pausedQueueEffects.delete(this);\n this.trigger();\n }\n }\n }\n /**\n * @internal\n */\n notify() {\n if (this.flags & 2 && !(this.flags & 32)) {\n return;\n }\n if (!(this.flags & 8)) {\n batch(this);\n }\n }\n run() {\n if (!(this.flags & 1)) {\n return this.fn();\n }\n this.flags |= 2;\n cleanupEffect(this);\n prepareDeps(this);\n const prevEffect = activeSub;\n const prevShouldTrack = shouldTrack;\n activeSub = this;\n shouldTrack = true;\n try {\n return this.fn();\n } finally {\n if (!!(process.env.NODE_ENV !== \"production\") && activeSub !== this) {\n warn(\n \"Active effect was not restored correctly - this is likely a Vue internal bug.\"\n );\n }\n cleanupDeps(this);\n activeSub = prevEffect;\n shouldTrack = prevShouldTrack;\n this.flags &= -3;\n }\n }\n stop() {\n if (this.flags & 1) {\n for (let link = this.deps; link; link = link.nextDep) {\n removeSub(link);\n }\n this.deps = this.depsTail = void 0;\n cleanupEffect(this);\n this.onStop && this.onStop();\n this.flags &= -2;\n }\n }\n trigger() {\n if (this.flags & 64) {\n pausedQueueEffects.add(this);\n } else if (this.scheduler) {\n this.scheduler();\n } else {\n this.runIfDirty();\n }\n }\n /**\n * @internal\n */\n runIfDirty() {\n if (isDirty(this)) {\n this.run();\n }\n }\n get dirty() {\n return isDirty(this);\n }\n}\nlet batchDepth = 0;\nlet batchedSub;\nlet batchedComputed;\nfunction batch(sub, isComputed = false) {\n sub.flags |= 8;\n if (isComputed) {\n sub.next = batchedComputed;\n batchedComputed = sub;\n return;\n }\n sub.next = batchedSub;\n batchedSub = sub;\n}\nfunction startBatch() {\n batchDepth++;\n}\nfunction endBatch() {\n if (--batchDepth > 0) {\n return;\n }\n if (batchedComputed) {\n let e = batchedComputed;\n batchedComputed = void 0;\n while (e) {\n const next = e.next;\n e.next = void 0;\n e.flags &= -9;\n e = next;\n }\n }\n let error;\n while (batchedSub) {\n let e = batchedSub;\n batchedSub = void 0;\n while (e) {\n const next = e.next;\n e.next = void 0;\n e.flags &= -9;\n if (e.flags & 1) {\n try {\n ;\n e.trigger();\n } catch (err) {\n if (!error) error = err;\n }\n }\n e = next;\n }\n }\n if (error) throw error;\n}\nfunction prepareDeps(sub) {\n for (let link = sub.deps; link; link = link.nextDep) {\n link.version = -1;\n link.prevActiveLink = link.dep.activeLink;\n link.dep.activeLink = link;\n }\n}\nfunction cleanupDeps(sub) {\n let head;\n let tail = sub.depsTail;\n let link = tail;\n while (link) {\n const prev = link.prevDep;\n if (link.version === -1) {\n if (link === tail) tail = prev;\n removeSub(link);\n removeDep(link);\n } else {\n head = link;\n }\n link.dep.activeLink = link.prevActiveLink;\n link.prevActiveLink = void 0;\n link = prev;\n }\n sub.deps = head;\n sub.depsTail = tail;\n}\nfunction isDirty(sub) {\n for (let link = sub.deps; link; link = link.nextDep) {\n if (link.dep.version !== link.version || link.dep.computed && (refreshComputed(link.dep.computed) || link.dep.version !== link.version)) {\n return true;\n }\n }\n if (sub._dirty) {\n return true;\n }\n return false;\n}\nfunction refreshComputed(computed) {\n if (computed.flags & 4 && !(computed.flags & 16)) {\n return;\n }\n computed.flags &= -17;\n if (computed.globalVersion === globalVersion) {\n return;\n }\n computed.globalVersion = globalVersion;\n if (!computed.isSSR && computed.flags & 128 && (!computed.deps && !computed._dirty || !isDirty(computed))) {\n return;\n }\n computed.flags |= 2;\n const dep = computed.dep;\n const prevSub = activeSub;\n const prevShouldTrack = shouldTrack;\n activeSub = computed;\n shouldTrack = true;\n try {\n prepareDeps(computed);\n const value = computed.fn(computed._value);\n if (dep.version === 0 || hasChanged(value, computed._value)) {\n computed.flags |= 128;\n computed._value = value;\n dep.version++;\n }\n } catch (err) {\n dep.version++;\n throw err;\n } finally {\n activeSub = prevSub;\n shouldTrack = prevShouldTrack;\n cleanupDeps(computed);\n computed.flags &= -3;\n }\n}\nfunction removeSub(link, soft = false) {\n const { dep, prevSub, nextSub } = link;\n if (prevSub) {\n prevSub.nextSub = nextSub;\n link.prevSub = void 0;\n }\n if (nextSub) {\n nextSub.prevSub = prevSub;\n link.nextSub = void 0;\n }\n if (!!(process.env.NODE_ENV !== \"production\") && dep.subsHead === link) {\n dep.subsHead = nextSub;\n }\n if (dep.subs === link) {\n dep.subs = prevSub;\n if (!prevSub && dep.computed) {\n dep.computed.flags &= -5;\n for (let l = dep.computed.deps; l; l = l.nextDep) {\n removeSub(l, true);\n }\n }\n }\n if (!soft && !--dep.sc && dep.map) {\n dep.map.delete(dep.key);\n }\n}\nfunction removeDep(link) {\n const { prevDep, nextDep } = link;\n if (prevDep) {\n prevDep.nextDep = nextDep;\n link.prevDep = void 0;\n }\n if (nextDep) {\n nextDep.prevDep = prevDep;\n link.nextDep = void 0;\n }\n}\nfunction effect(fn, options) {\n if (fn.effect instanceof ReactiveEffect) {\n fn = fn.effect.fn;\n }\n const e = new ReactiveEffect(fn);\n if (options) {\n extend(e, options);\n }\n try {\n e.run();\n } catch (err) {\n e.stop();\n throw err;\n }\n const runner = e.run.bind(e);\n runner.effect = e;\n return runner;\n}\nfunction stop(runner) {\n runner.effect.stop();\n}\nlet shouldTrack = true;\nconst trackStack = [];\nfunction pauseTracking() {\n trackStack.push(shouldTrack);\n shouldTrack = false;\n}\nfunction enableTracking() {\n trackStack.push(shouldTrack);\n shouldTrack = true;\n}\nfunction resetTracking() {\n const last = trackStack.pop();\n shouldTrack = last === void 0 ? true : last;\n}\nfunction onEffectCleanup(fn, failSilently = false) {\n if (activeSub instanceof ReactiveEffect) {\n activeSub.cleanup = fn;\n } else if (!!(process.env.NODE_ENV !== \"production\") && !failSilently) {\n warn(\n `onEffectCleanup() was called when there was no active effect to associate with.`\n );\n }\n}\nfunction cleanupEffect(e) {\n const { cleanup } = e;\n e.cleanup = void 0;\n if (cleanup) {\n const prevSub = activeSub;\n activeSub = void 0;\n try {\n cleanup();\n } finally {\n activeSub = prevSub;\n }\n }\n}\n\nlet globalVersion = 0;\nclass Link {\n constructor(sub, dep) {\n this.sub = sub;\n this.dep = dep;\n this.version = dep.version;\n this.nextDep = this.prevDep = this.nextSub = this.prevSub = this.prevActiveLink = void 0;\n }\n}\nclass Dep {\n // TODO isolatedDeclarations \"__v_skip\"\n constructor(computed) {\n this.computed = computed;\n this.version = 0;\n /**\n * Link between this dep and the current active effect\n */\n this.activeLink = void 0;\n /**\n * Doubly linked list representing the subscribing effects (tail)\n */\n this.subs = void 0;\n /**\n * For object property deps cleanup\n */\n this.map = void 0;\n this.key = void 0;\n /**\n * Subscriber counter\n */\n this.sc = 0;\n /**\n * @internal\n */\n this.__v_skip = true;\n if (!!(process.env.NODE_ENV !== \"production\")) {\n this.subsHead = void 0;\n }\n }\n track(debugInfo) {\n if (!activeSub || !shouldTrack || activeSub === this.computed) {\n return;\n }\n let link = this.activeLink;\n if (link === void 0 || link.sub !== activeSub) {\n link = this.activeLink = new Link(activeSub, this);\n if (!activeSub.deps) {\n activeSub.deps = activeSub.depsTail = link;\n } else {\n link.prevDep = activeSub.depsTail;\n activeSub.depsTail.nextDep = link;\n activeSub.depsTail = link;\n }\n addSub(link);\n } else if (link.version === -1) {\n link.version = this.version;\n if (link.nextDep) {\n const next = link.nextDep;\n next.prevDep = link.prevDep;\n if (link.prevDep) {\n link.prevDep.nextDep = next;\n }\n link.prevDep = activeSub.depsTail;\n link.nextDep = void 0;\n activeSub.depsTail.nextDep = link;\n activeSub.depsTail = link;\n if (activeSub.deps === link) {\n activeSub.deps = next;\n }\n }\n }\n if (!!(process.env.NODE_ENV !== \"production\") && activeSub.onTrack) {\n activeSub.onTrack(\n extend(\n {\n effect: activeSub\n },\n debugInfo\n )\n );\n }\n return link;\n }\n trigger(debugInfo) {\n this.version++;\n globalVersion++;\n this.notify(debugInfo);\n }\n notify(debugInfo) {\n startBatch();\n try {\n if (!!(process.env.NODE_ENV !== \"production\")) {\n for (let head = this.subsHead; head; head = head.nextSub) {\n if (head.sub.onTrigger && !(head.sub.flags & 8)) {\n head.sub.onTrigger(\n extend(\n {\n effect: head.sub\n },\n debugInfo\n )\n );\n }\n }\n }\n for (let link = this.subs; link; link = link.prevSub) {\n if (link.sub.notify()) {\n ;\n link.sub.dep.notify();\n }\n }\n } finally {\n endBatch();\n }\n }\n}\nfunction addSub(link) {\n link.dep.sc++;\n if (link.sub.flags & 4) {\n const computed = link.dep.computed;\n if (computed && !link.dep.subs) {\n computed.flags |= 4 | 16;\n for (let l = computed.deps; l; l = l.nextDep) {\n addSub(l);\n }\n }\n const currentTail = link.dep.subs;\n if (currentTail !== link) {\n link.prevSub = currentTail;\n if (currentTail) currentTail.nextSub = link;\n }\n if (!!(process.env.NODE_ENV !== \"production\") && link.dep.subsHead === void 0) {\n link.dep.subsHead = link;\n }\n link.dep.subs = link;\n }\n}\nconst targetMap = /* @__PURE__ */ new WeakMap();\nconst ITERATE_KEY = /* @__PURE__ */ Symbol(\n !!(process.env.NODE_ENV !== \"production\") ? \"Object iterate\" : \"\"\n);\nconst MAP_KEY_ITERATE_KEY = /* @__PURE__ */ Symbol(\n !!(process.env.NODE_ENV !== \"production\") ? \"Map keys iterate\" : \"\"\n);\nconst ARRAY_ITERATE_KEY = /* @__PURE__ */ Symbol(\n !!(process.env.NODE_ENV !== \"production\") ? \"Array iterate\" : \"\"\n);\nfunction track(target, type, key) {\n if (shouldTrack && activeSub) {\n let depsMap = targetMap.get(target);\n if (!depsMap) {\n targetMap.set(target, depsMap = /* @__PURE__ */ new Map());\n }\n let dep = depsMap.get(key);\n if (!dep) {\n depsMap.set(key, dep = new Dep());\n dep.map = depsMap;\n dep.key = key;\n }\n if (!!(process.env.NODE_ENV !== \"production\")) {\n dep.track({\n target,\n type,\n key\n });\n } else {\n dep.track();\n }\n }\n}\nfunction trigger(target, type, key, newValue, oldValue, oldTarget) {\n const depsMap = targetMap.get(target);\n if (!depsMap) {\n globalVersion++;\n return;\n }\n const run = (dep) => {\n if (dep) {\n if (!!(process.env.NODE_ENV !== \"production\")) {\n dep.trigger({\n target,\n type,\n key,\n newValue,\n oldValue,\n oldTarget\n });\n } else {\n dep.trigger();\n }\n }\n };\n startBatch();\n if (type === \"clear\") {\n depsMap.forEach(run);\n } else {\n const targetIsArray = isArray(target);\n const isArrayIndex = targetIsArray && isIntegerKey(key);\n if (targetIsArray && key === \"length\") {\n const newLength = Number(newValue);\n depsMap.forEach((dep, key2) => {\n if (key2 === \"length\" || key2 === ARRAY_ITERATE_KEY || !isSymbol(key2) && key2 >= newLength) {\n run(dep);\n }\n });\n } else {\n if (key !== void 0 || depsMap.has(void 0)) {\n run(depsMap.get(key));\n }\n if (isArrayIndex) {\n run(depsMap.get(ARRAY_ITERATE_KEY));\n }\n switch (type) {\n case \"add\":\n if (!targetIsArray) {\n run(depsMap.get(ITERATE_KEY));\n if (isMap(target)) {\n run(depsMap.get(MAP_KEY_ITERATE_KEY));\n }\n } else if (isArrayIndex) {\n run(depsMap.get(\"length\"));\n }\n break;\n case \"delete\":\n if (!targetIsArray) {\n run(depsMap.get(ITERATE_KEY));\n if (isMap(target)) {\n run(depsMap.get(MAP_KEY_ITERATE_KEY));\n }\n }\n break;\n case \"set\":\n if (isMap(target)) {\n run(depsMap.get(ITERATE_KEY));\n }\n break;\n }\n }\n }\n endBatch();\n}\nfunction getDepFromReactive(object, key) {\n const depMap = targetMap.get(object);\n return depMap && depMap.get(key);\n}\n\nfunction reactiveReadArray(array) {\n const raw = toRaw(array);\n if (raw === array) return raw;\n track(raw, \"iterate\", ARRAY_ITERATE_KEY);\n return isShallow(array) ? raw : raw.map(toReactive);\n}\nfunction shallowReadArray(arr) {\n track(arr = toRaw(arr), \"iterate\", ARRAY_ITERATE_KEY);\n return arr;\n}\nfunction toWrapped(target, item) {\n if (isReadonly(target)) {\n return isReactive(target) ? toReadonly(toReactive(item)) : toReadonly(item);\n }\n return toReactive(item);\n}\nconst arrayInstrumentations = {\n __proto__: null,\n [Symbol.iterator]() {\n return iterator(this, Symbol.iterator, (item) => toWrapped(this, item));\n },\n concat(...args) {\n return reactiveReadArray(this).concat(\n ...args.map((x) => isArray(x) ? reactiveReadArray(x) : x)\n );\n },\n entries() {\n return iterator(this, \"entries\", (value) => {\n value[1] = toWrapped(this, value[1]);\n return value;\n });\n },\n every(fn, thisArg) {\n return apply(this, \"every\", fn, thisArg, void 0, arguments);\n },\n filter(fn, thisArg) {\n return apply(\n this,\n \"filter\",\n fn,\n thisArg,\n (v) => v.map((item) => toWrapped(this, item)),\n arguments\n );\n },\n find(fn, thisArg) {\n return apply(\n this,\n \"find\",\n fn,\n thisArg,\n (item) => toWrapped(this, item),\n arguments\n );\n },\n findIndex(fn, thisArg) {\n return apply(this, \"findIndex\", fn, thisArg, void 0, arguments);\n },\n findLast(fn, thisArg) {\n return apply(\n this,\n \"findLast\",\n fn,\n thisArg,\n (item) => toWrapped(this, item),\n arguments\n );\n },\n findLastIndex(fn, thisArg) {\n return apply(this, \"findLastIndex\", fn, thisArg, void 0, arguments);\n },\n // flat, flatMap could benefit from ARRAY_ITERATE but are not straight-forward to implement\n forEach(fn, thisArg) {\n return apply(this, \"forEach\", fn, thisArg, void 0, arguments);\n },\n includes(...args) {\n return searchProxy(this, \"includes\", args);\n },\n indexOf(...args) {\n return searchProxy(this, \"indexOf\", args);\n },\n join(separator) {\n return reactiveReadArray(this).join(separator);\n },\n // keys() iterator only reads `length`, no optimization required\n lastIndexOf(...args) {\n return searchProxy(this, \"lastIndexOf\", args);\n },\n map(fn, thisArg) {\n return apply(this, \"map\", fn, thisArg, void 0, arguments);\n },\n pop() {\n return noTracking(this, \"pop\");\n },\n push(...args) {\n return noTracking(this, \"push\", args);\n },\n reduce(fn, ...args) {\n return reduce(this, \"reduce\", fn, args);\n },\n reduceRight(fn, ...args) {\n return reduce(this, \"reduceRight\", fn, args);\n },\n shift() {\n return noTracking(this, \"shift\");\n },\n // slice could use ARRAY_ITERATE but also seems to beg for range tracking\n some(fn, thisArg) {\n return apply(this, \"some\", fn, thisArg, void 0, arguments);\n },\n splice(...args) {\n return noTracking(this, \"splice\", args);\n },\n toReversed() {\n return reactiveReadArray(this).toReversed();\n },\n toSorted(comparer) {\n return reactiveReadArray(this).toSorted(comparer);\n },\n toSpliced(...args) {\n return reactiveReadArray(this).toSpliced(...args);\n },\n unshift(...args) {\n return noTracking(this, \"unshift\", args);\n },\n values() {\n return iterator(this, \"values\", (item) => toWrapped(this, item));\n }\n};\nfunction iterator(self, method, wrapValue) {\n const arr = shallowReadArray(self);\n const iter = arr[method]();\n if (arr !== self && !isShallow(self)) {\n iter._next = iter.next;\n iter.next = () => {\n const result = iter._next();\n if (!result.done) {\n result.value = wrapValue(result.value);\n }\n return result;\n };\n }\n return iter;\n}\nconst arrayProto = Array.prototype;\nfunction apply(self, method, fn, thisArg, wrappedRetFn, args) {\n const arr = shallowReadArray(self);\n const needsWrap = arr !== self && !isShallow(self);\n const methodFn = arr[method];\n if (methodFn !== arrayProto[method]) {\n const result2 = methodFn.apply(self, args);\n return needsWrap ? toReactive(result2) : result2;\n }\n let wrappedFn = fn;\n if (arr !== self) {\n if (needsWrap) {\n wrappedFn = function(item, index) {\n return fn.call(this, toWrapped(self, item), index, self);\n };\n } else if (fn.length > 2) {\n wrappedFn = function(item, index) {\n return fn.call(this, item, index, self);\n };\n }\n }\n const result = methodFn.call(arr, wrappedFn, thisArg);\n return needsWrap && wrappedRetFn ? wrappedRetFn(result) : result;\n}\nfunction reduce(self, method, fn, args) {\n const arr = shallowReadArray(self);\n const needsWrap = arr !== self && !isShallow(self);\n let wrappedFn = fn;\n let wrapInitialAccumulator = false;\n if (arr !== self) {\n if (needsWrap) {\n wrapInitialAccumulator = args.length === 0;\n wrappedFn = function(acc, item, index) {\n if (wrapInitialAccumulator) {\n wrapInitialAccumulator = false;\n acc = toWrapped(self, acc);\n }\n return fn.call(this, acc, toWrapped(self, item), index, self);\n };\n } else if (fn.length > 3) {\n wrappedFn = function(acc, item, index) {\n return fn.call(this, acc, item, index, self);\n };\n }\n }\n const result = arr[method](wrappedFn, ...args);\n return wrapInitialAccumulator ? toWrapped(self, result) : result;\n}\nfunction searchProxy(self, method, args) {\n const arr = toRaw(self);\n track(arr, \"iterate\", ARRAY_ITERATE_KEY);\n const res = arr[method](...args);\n if ((res === -1 || res === false) && isProxy(args[0])) {\n args[0] = toRaw(args[0]);\n return arr[method](...args);\n }\n return res;\n}\nfunction noTracking(self, method, args = []) {\n pauseTracking();\n startBatch();\n const res = toRaw(self)[method].apply(self, args);\n endBatch();\n resetTracking();\n return res;\n}\n\nconst isNonTrackableKeys = /* @__PURE__ */ makeMap(`__proto__,__v_isRef,__isVue`);\nconst builtInSymbols = new Set(\n /* @__PURE__ */ Object.getOwnPropertyNames(Symbol).filter((key) => key !== \"arguments\" && key !== \"caller\").map((key) => Symbol[key]).filter(isSymbol)\n);\nfunction hasOwnProperty(key) {\n if (!isSymbol(key)) key = String(key);\n const obj = toRaw(this);\n track(obj, \"has\", key);\n return obj.hasOwnProperty(key);\n}\nclass BaseReactiveHandler {\n constructor(_isReadonly = false, _isShallow = false) {\n this._isReadonly = _isReadonly;\n this._isShallow = _isShallow;\n }\n get(target, key, receiver) {\n if (key === \"__v_skip\") return target[\"__v_skip\"];\n const isReadonly2 = this._isReadonly, isShallow2 = this._isShallow;\n if (key === \"__v_isReactive\") {\n return !isReadonly2;\n } else if (key === \"__v_isReadonly\") {\n return isReadonly2;\n } else if (key === \"__v_isShallow\") {\n return isShallow2;\n } else if (key === \"__v_raw\") {\n if (receiver === (isReadonly2 ? isShallow2 ? shallowReadonlyMap : readonlyMap : isShallow2 ? shallowReactiveMap : reactiveMap).get(target) || // receiver is not the reactive proxy, but has the same prototype\n // this means the receiver is a user proxy of the reactive proxy\n Object.getPrototypeOf(target) === Object.getPrototypeOf(receiver)) {\n return target;\n }\n return;\n }\n const targetIsArray = isArray(target);\n if (!isReadonly2) {\n let fn;\n if (targetIsArray && (fn = arrayInstrumentations[key])) {\n return fn;\n }\n if (key === \"hasOwnProperty\") {\n return hasOwnProperty;\n }\n }\n const res = Reflect.get(\n target,\n key,\n // if this is a proxy wrapping a ref, return methods using the raw ref\n // as receiver so that we don't have to call `toRaw` on the ref in all\n // its class methods\n isRef(target) ? target : receiver\n );\n if (isSymbol(key) ? builtInSymbols.has(key) : isNonTrackableKeys(key)) {\n return res;\n }\n if (!isReadonly2) {\n track(target, \"get\", key);\n }\n if (isShallow2) {\n return res;\n }\n if (isRef(res)) {\n const value = targetIsArray && isIntegerKey(key) ? res : res.value;\n return isReadonly2 && isObject(value) ? readonly(value) : value;\n }\n if (isObject(res)) {\n return isReadonly2 ? readonly(res) : reactive(res);\n }\n return res;\n }\n}\nclass MutableReactiveHandler extends BaseReactiveHandler {\n constructor(isShallow2 = false) {\n super(false, isShallow2);\n }\n set(target, key, value, receiver) {\n let oldValue = target[key];\n const isArrayWithIntegerKey = isArray(target) && isIntegerKey(key);\n if (!this._isShallow) {\n const isOldValueReadonly = isReadonly(oldValue);\n if (!isShallow(value) && !isReadonly(value)) {\n oldValue = toRaw(oldValue);\n value = toRaw(value);\n }\n if (!isArrayWithIntegerKey && isRef(oldValue) && !isRef(value)) {\n if (isOldValueReadonly) {\n if (!!(process.env.NODE_ENV !== \"production\")) {\n warn(\n `Set operation on key \"${String(key)}\" failed: target is readonly.`,\n target[key]\n );\n }\n return true;\n } else {\n oldValue.value = value;\n return true;\n }\n }\n }\n const hadKey = isArrayWithIntegerKey ? Number(key) < target.length : hasOwn(target, key);\n const result = Reflect.set(\n target,\n key,\n value,\n isRef(target) ? target : receiver\n );\n if (target === toRaw(receiver) && result) {\n if (!hadKey) {\n trigger(target, \"add\", key, value);\n } else if (hasChanged(value, oldValue)) {\n trigger(target, \"set\", key, value, oldValue);\n }\n }\n return result;\n }\n deleteProperty(target, key) {\n const hadKey = hasOwn(target, key);\n const oldValue = target[key];\n const result = Reflect.deleteProperty(target, key);\n if (result && hadKey) {\n trigger(target, \"delete\", key, void 0, oldValue);\n }\n return result;\n }\n has(target, key) {\n const result = Reflect.has(target, key);\n if (!isSymbol(key) || !builtInSymbols.has(key)) {\n track(target, \"has\", key);\n }\n return result;\n }\n ownKeys(target) {\n track(\n target,\n \"iterate\",\n isArray(target) ? \"length\" : ITERATE_KEY\n );\n return Reflect.ownKeys(target);\n }\n}\nclass ReadonlyReactiveHandler extends BaseReactiveHandler {\n constructor(isShallow2 = false) {\n super(true, isShallow2);\n }\n set(target, key) {\n if (!!(process.env.NODE_ENV !== \"production\")) {\n warn(\n `Set operation on key \"${String(key)}\" failed: target is readonly.`,\n target\n );\n }\n return true;\n }\n deleteProperty(target, key) {\n if (!!(process.env.NODE_ENV !== \"production\")) {\n warn(\n `Delete operation on key \"${String(key)}\" failed: target is readonly.`,\n target\n );\n }\n return true;\n }\n}\nconst mutableHandlers = /* @__PURE__ */ new MutableReactiveHandler();\nconst readonlyHandlers = /* @__PURE__ */ new ReadonlyReactiveHandler();\nconst shallowReactiveHandlers = /* @__PURE__ */ new MutableReactiveHandler(true);\nconst shallowReadonlyHandlers = /* @__PURE__ */ new ReadonlyReactiveHandler(true);\n\nconst toShallow = (value) => value;\nconst getProto = (v) => Reflect.getPrototypeOf(v);\nfunction createIterableMethod(method, isReadonly2, isShallow2) {\n return function(...args) {\n const target = this[\"__v_raw\"];\n const rawTarget = toRaw(target);\n const targetIsMap = isMap(rawTarget);\n const isPair = method === \"entries\" || method === Symbol.iterator && targetIsMap;\n const isKeyOnly = method === \"keys\" && targetIsMap;\n const innerIterator = target[method](...args);\n const wrap = isShallow2 ? toShallow : isReadonly2 ? toReadonly : toReactive;\n !isReadonly2 && track(\n rawTarget,\n \"iterate\",\n isKeyOnly ? MAP_KEY_ITERATE_KEY : ITERATE_KEY\n );\n return extend(\n // inheriting all iterator properties\n Object.create(innerIterator),\n {\n // iterator protocol\n next() {\n const { value, done } = innerIterator.next();\n return done ? { value, done } : {\n value: isPair ? [wrap(value[0]), wrap(value[1])] : wrap(value),\n done\n };\n }\n }\n );\n };\n}\nfunction createReadonlyMethod(type) {\n return function(...args) {\n if (!!(process.env.NODE_ENV !== \"production\")) {\n const key = args[0] ? `on key \"${args[0]}\" ` : ``;\n warn(\n `${capitalize(type)} operation ${key}failed: target is readonly.`,\n toRaw(this)\n );\n }\n return type === \"delete\" ? false : type === \"clear\" ? void 0 : this;\n };\n}\nfunction createInstrumentations(readonly, shallow) {\n const instrumentations = {\n get(key) {\n const target = this[\"__v_raw\"];\n const rawTarget = toRaw(target);\n const rawKey = toRaw(key);\n if (!readonly) {\n if (hasChanged(key, rawKey)) {\n track(rawTarget, \"get\", key);\n }\n track(rawTarget, \"get\", rawKey);\n }\n const { has } = getProto(rawTarget);\n const wrap = shallow ? toShallow : readonly ? toReadonly : toReactive;\n if (has.call(rawTarget, key)) {\n return wrap(target.get(key));\n } else if (has.call(rawTarget, rawKey)) {\n return wrap(target.get(rawKey));\n } else if (target !== rawTarget) {\n target.get(key);\n }\n },\n get size() {\n const target = this[\"__v_raw\"];\n !readonly && track(toRaw(target), \"iterate\", ITERATE_KEY);\n return target.size;\n },\n has(key) {\n const target = this[\"__v_raw\"];\n const rawTarget = toRaw(target);\n const rawKey = toRaw(key);\n if (!readonly) {\n if (hasChanged(key, rawKey)) {\n track(rawTarget, \"has\", key);\n }\n track(rawTarget, \"has\", rawKey);\n }\n return key === rawKey ? target.has(key) : target.has(key) || target.has(rawKey);\n },\n forEach(callback, thisArg) {\n const observed = this;\n const target = observed[\"__v_raw\"];\n const rawTarget = toRaw(target);\n const wrap = shallow ? toShallow : readonly ? toReadonly : toReactive;\n !readonly && track(rawTarget, \"iterate\", ITERATE_KEY);\n return target.forEach((value, key) => {\n return callback.call(thisArg, wrap(value), wrap(key), observed);\n });\n }\n };\n extend(\n instrumentations,\n readonly ? {\n add: createReadonlyMethod(\"add\"),\n set: createReadonlyMethod(\"set\"),\n delete: createReadonlyMethod(\"delete\"),\n clear: createReadonlyMethod(\"clear\")\n } : {\n add(value) {\n const target = toRaw(this);\n const proto = getProto(target);\n const rawValue = toRaw(value);\n const valueToAdd = !shallow && !isShallow(value) && !isReadonly(value) ? rawValue : value;\n const hadKey = proto.has.call(target, valueToAdd) || hasChanged(value, valueToAdd) && proto.has.call(target, value) || hasChanged(rawValue, valueToAdd) && proto.has.call(target, rawValue);\n if (!hadKey) {\n target.add(valueToAdd);\n trigger(target, \"add\", valueToAdd, valueToAdd);\n }\n return this;\n },\n set(key, value) {\n if (!shallow && !isShallow(value) && !isReadonly(value)) {\n value = toRaw(value);\n }\n const target = toRaw(this);\n const { has, get } = getProto(target);\n let hadKey = has.call(target, key);\n if (!hadKey) {\n key = toRaw(key);\n hadKey = has.call(target, key);\n } else if (!!(process.env.NODE_ENV !== \"production\")) {\n checkIdentityKeys(target, has, key);\n }\n const oldValue = get.call(target, key);\n target.set(key, value);\n if (!hadKey) {\n trigger(target, \"add\", key, value);\n } else if (hasChanged(value, oldValue)) {\n trigger(target, \"set\", key, value, oldValue);\n }\n return this;\n },\n delete(key) {\n const target = toRaw(this);\n const { has, get } = getProto(target);\n let hadKey = has.call(target, key);\n if (!hadKey) {\n key = toRaw(key);\n hadKey = has.call(target, key);\n } else if (!!(process.env.NODE_ENV !== \"production\")) {\n checkIdentityKeys(target, has, key);\n }\n const oldValue = get ? get.call(target, key) : void 0;\n const result = target.delete(key);\n if (hadKey) {\n trigger(target, \"delete\", key, void 0, oldValue);\n }\n return result;\n },\n clear() {\n const target = toRaw(this);\n const hadItems = target.size !== 0;\n const oldTarget = !!(process.env.NODE_ENV !== \"production\") ? isMap(target) ? new Map(target) : new Set(target) : void 0;\n const result = target.clear();\n if (hadItems) {\n trigger(\n target,\n \"clear\",\n void 0,\n void 0,\n oldTarget\n );\n }\n return result;\n }\n }\n );\n const iteratorMethods = [\n \"keys\",\n \"values\",\n \"entries\",\n Symbol.iterator\n ];\n iteratorMethods.forEach((method) => {\n instrumentations[method] = createIterableMethod(method, readonly, shallow);\n });\n return instrumentations;\n}\nfunction createInstrumentationGetter(isReadonly2, shallow) {\n const instrumentations = createInstrumentations(isReadonly2, shallow);\n return (target, key, receiver) => {\n if (key === \"__v_isReactive\") {\n return !isReadonly2;\n } else if (key === \"__v_isReadonly\") {\n return isReadonly2;\n } else if (key === \"__v_raw\") {\n return target;\n }\n return Reflect.get(\n hasOwn(instrumentations, key) && key in target ? instrumentations : target,\n key,\n receiver\n );\n };\n}\nconst mutableCollectionHandlers = {\n get: /* @__PURE__ */ createInstrumentationGetter(false, false)\n};\nconst shallowCollectionHandlers = {\n get: /* @__PURE__ */ createInstrumentationGetter(false, true)\n};\nconst readonlyCollectionHandlers = {\n get: /* @__PURE__ */ createInstrumentationGetter(true, false)\n};\nconst shallowReadonlyCollectionHandlers = {\n get: /* @__PURE__ */ createInstrumentationGetter(true, true)\n};\nfunction checkIdentityKeys(target, has, key) {\n const rawKey = toRaw(key);\n if (rawKey !== key && has.call(target, rawKey)) {\n const type = toRawType(target);\n warn(\n `Reactive ${type} contains both the raw and reactive versions of the same object${type === `Map` ? ` as keys` : ``}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`\n );\n }\n}\n\nconst reactiveMap = /* @__PURE__ */ new WeakMap();\nconst shallowReactiveMap = /* @__PURE__ */ new WeakMap();\nconst readonlyMap = /* @__PURE__ */ new WeakMap();\nconst shallowReadonlyMap = /* @__PURE__ */ new WeakMap();\nfunction targetTypeMap(rawType) {\n switch (rawType) {\n case \"Object\":\n case \"Array\":\n return 1 /* COMMON */;\n case \"Map\":\n case \"Set\":\n case \"WeakMap\":\n case \"WeakSet\":\n return 2 /* COLLECTION */;\n default:\n return 0 /* INVALID */;\n }\n}\n// @__NO_SIDE_EFFECTS__\nfunction reactive(target) {\n if (/* @__PURE__ */ isReadonly(target)) {\n return target;\n }\n return createReactiveObject(\n target,\n false,\n mutableHandlers,\n mutableCollectionHandlers,\n reactiveMap\n );\n}\n// @__NO_SIDE_EFFECTS__\nfunction shallowReactive(target) {\n return createReactiveObject(\n target,\n false,\n shallowReactiveHandlers,\n shallowCollectionHandlers,\n shallowReactiveMap\n );\n}\n// @__NO_SIDE_EFFECTS__\nfunction readonly(target) {\n return createReactiveObject(\n target,\n true,\n readonlyHandlers,\n readonlyCollectionHandlers,\n readonlyMap\n );\n}\n// @__NO_SIDE_EFFECTS__\nfunction shallowReadonly(target) {\n return createReactiveObject(\n target,\n true,\n shallowReadonlyHandlers,\n shallowReadonlyCollectionHandlers,\n shallowReadonlyMap\n );\n}\nfunction createReactiveObject(target, isReadonly2, baseHandlers, collectionHandlers, proxyMap) {\n if (!isObject(target)) {\n if (!!(process.env.NODE_ENV !== \"production\")) {\n warn(\n `value cannot be made ${isReadonly2 ? \"readonly\" : \"reactive\"}: ${String(\n target\n )}`\n );\n }\n return target;\n }\n if (target[\"__v_raw\"] && !(isReadonly2 && target[\"__v_isReactive\"])) {\n return target;\n }\n if (target[\"__v_skip\"] || !Object.isExtensible(target)) {\n return target;\n }\n const existingProxy = proxyMap.get(target);\n if (existingProxy) {\n return existingProxy;\n }\n const targetType = targetTypeMap(toRawType(target));\n if (targetType === 0 /* INVALID */) {\n return target;\n }\n const proxy = new Proxy(\n target,\n targetType === 2 /* COLLECTION */ ? collectionHandlers : baseHandlers\n );\n proxyMap.set(target, proxy);\n return proxy;\n}\n// @__NO_SIDE_EFFECTS__\nfunction isReactive(value) {\n if (/* @__PURE__ */ isReadonly(value)) {\n return /* @__PURE__ */ isReactive(value[\"__v_raw\"]);\n }\n return !!(value && value[\"__v_isReactive\"]);\n}\n// @__NO_SIDE_EFFECTS__\nfunction isReadonly(value) {\n return !!(value && value[\"__v_isReadonly\"]);\n}\n// @__NO_SIDE_EFFECTS__\nfunction isShallow(value) {\n return !!(value && value[\"__v_isShallow\"]);\n}\n// @__NO_SIDE_EFFECTS__\nfunction isProxy(value) {\n return value ? !!value[\"__v_raw\"] : false;\n}\n// @__NO_SIDE_EFFECTS__\nfunction toRaw(observed) {\n const raw = observed && observed[\"__v_raw\"];\n return raw ? /* @__PURE__ */ toRaw(raw) : observed;\n}\nfunction markRaw(value) {\n if (!hasOwn(value, \"__v_skip\") && Object.isExtensible(value)) {\n def(value, \"__v_skip\", true);\n }\n return value;\n}\nconst toReactive = (value) => isObject(value) ? /* @__PURE__ */ reactive(value) : value;\nconst toReadonly = (value) => isObject(value) ? /* @__PURE__ */ readonly(value) : value;\n\n// @__NO_SIDE_EFFECTS__\nfunction isRef(r) {\n return r ? r[\"__v_isRef\"] === true : false;\n}\n// @__NO_SIDE_EFFECTS__\nfunction ref(value) {\n return createRef(value, false);\n}\n// @__NO_SIDE_EFFECTS__\nfunction shallowRef(value) {\n return createRef(value, true);\n}\nfunction createRef(rawValue, shallow) {\n if (/* @__PURE__ */ isRef(rawValue)) {\n return rawValue;\n }\n return new RefImpl(rawValue, shallow);\n}\nclass RefImpl {\n constructor(value, isShallow2) {\n this.dep = new Dep();\n this[\"__v_isRef\"] = true;\n this[\"__v_isShallow\"] = false;\n this._rawValue = isShallow2 ? value : toRaw(value);\n this._value = isShallow2 ? value : toReactive(value);\n this[\"__v_isShallow\"] = isShallow2;\n }\n get value() {\n if (!!(process.env.NODE_ENV !== \"production\")) {\n this.dep.track({\n target: this,\n type: \"get\",\n key: \"value\"\n });\n } else {\n this.dep.track();\n }\n return this._value;\n }\n set value(newValue) {\n const oldValue = this._rawValue;\n const useDirectValue = this[\"__v_isShallow\"] || isShallow(newValue) || isReadonly(newValue);\n newValue = useDirectValue ? newValue : toRaw(newValue);\n if (hasChanged(newValue, oldValue)) {\n this._rawValue = newValue;\n this._value = useDirectValue ? newValue : toReactive(newValue);\n if (!!(process.env.NODE_ENV !== \"production\")) {\n this.dep.trigger({\n target: this,\n type: \"set\",\n key: \"value\",\n newValue,\n oldValue\n });\n } else {\n this.dep.trigger();\n }\n }\n }\n}\nfunction triggerRef(ref2) {\n if (ref2.dep) {\n if (!!(process.env.NODE_ENV !== \"production\")) {\n ref2.dep.trigger({\n target: ref2,\n type: \"set\",\n key: \"value\",\n newValue: ref2._value\n });\n } else {\n ref2.dep.trigger();\n }\n }\n}\nfunction unref(ref2) {\n return /* @__PURE__ */ isRef(ref2) ? ref2.value : ref2;\n}\nfunction toValue(source) {\n return isFunction(source) ? source() : unref(source);\n}\nconst shallowUnwrapHandlers = {\n get: (target, key, receiver) => key === \"__v_raw\" ? target : unref(Reflect.get(target, key, receiver)),\n set: (target, key, value, receiver) => {\n const oldValue = target[key];\n if (/* @__PURE__ */ isRef(oldValue) && !/* @__PURE__ */ isRef(value)) {\n oldValue.value = value;\n return true;\n } else {\n return Reflect.set(target, key, value, receiver);\n }\n }\n};\nfunction proxyRefs(objectWithRefs) {\n return isReactive(objectWithRefs) ? objectWithRefs : new Proxy(objectWithRefs, shallowUnwrapHandlers);\n}\nclass CustomRefImpl {\n constructor(factory) {\n this[\"__v_isRef\"] = true;\n this._value = void 0;\n const dep = this.dep = new Dep();\n const { get, set } = factory(dep.track.bind(dep), dep.trigger.bind(dep));\n this._get = get;\n this._set = set;\n }\n get value() {\n return this._value = this._get();\n }\n set value(newVal) {\n this._set(newVal);\n }\n}\nfunction customRef(factory) {\n return new CustomRefImpl(factory);\n}\n// @__NO_SIDE_EFFECTS__\nfunction toRefs(object) {\n if (!!(process.env.NODE_ENV !== \"production\") && !isProxy(object)) {\n warn(`toRefs() expects a reactive object but received a plain one.`);\n }\n const ret = isArray(object) ? new Array(object.length) : {};\n for (const key in object) {\n ret[key] = propertyToRef(object, key);\n }\n return ret;\n}\nclass ObjectRefImpl {\n constructor(_object, key, _defaultValue) {\n this._object = _object;\n this._defaultValue = _defaultValue;\n this[\"__v_isRef\"] = true;\n this._value = void 0;\n this._key = isSymbol(key) ? key : String(key);\n this._raw = toRaw(_object);\n let shallow = true;\n let obj = _object;\n if (!isArray(_object) || isSymbol(this._key) || !isIntegerKey(this._key)) {\n do {\n shallow = !isProxy(obj) || isShallow(obj);\n } while (shallow && (obj = obj[\"__v_raw\"]));\n }\n this._shallow = shallow;\n }\n get value() {\n let val = this._object[this._key];\n if (this._shallow) {\n val = unref(val);\n }\n return this._value = val === void 0 ? this._defaultValue : val;\n }\n set value(newVal) {\n if (this._shallow && /* @__PURE__ */ isRef(this._raw[this._key])) {\n const nestedRef = this._object[this._key];\n if (/* @__PURE__ */ isRef(nestedRef)) {\n nestedRef.value = newVal;\n return;\n }\n }\n this._object[this._key] = newVal;\n }\n get dep() {\n return getDepFromReactive(this._raw, this._key);\n }\n}\nclass GetterRefImpl {\n constructor(_getter) {\n this._getter = _getter;\n this[\"__v_isRef\"] = true;\n this[\"__v_isReadonly\"] = true;\n this._value = void 0;\n }\n get value() {\n return this._value = this._getter();\n }\n}\n// @__NO_SIDE_EFFECTS__\nfunction toRef(source, key, defaultValue) {\n if (/* @__PURE__ */ isRef(source)) {\n return source;\n } else if (isFunction(source)) {\n return new GetterRefImpl(source);\n } else if (isObject(source) && arguments.length > 1) {\n return propertyToRef(source, key, defaultValue);\n } else {\n return /* @__PURE__ */ ref(source);\n }\n}\nfunction propertyToRef(source, key, defaultValue) {\n return new ObjectRefImpl(source, key, defaultValue);\n}\n\nclass ComputedRefImpl {\n constructor(fn, setter, isSSR) {\n this.fn = fn;\n this.setter = setter;\n /**\n * @internal\n */\n this._value = void 0;\n /**\n * @internal\n */\n this.dep = new Dep(this);\n /**\n * @internal\n */\n this.__v_isRef = true;\n // TODO isolatedDeclarations \"__v_isReadonly\"\n // A computed is also a subscriber that tracks other deps\n /**\n * @internal\n */\n this.deps = void 0;\n /**\n * @internal\n */\n this.depsTail = void 0;\n /**\n * @internal\n */\n this.flags = 16;\n /**\n * @internal\n */\n this.globalVersion = globalVersion - 1;\n /**\n * @internal\n */\n this.next = void 0;\n // for backwards compat\n this.effect = this;\n this[\"__v_isReadonly\"] = !setter;\n this.isSSR = isSSR;\n }\n /**\n * @internal\n */\n notify() {\n this.flags |= 16;\n if (!(this.flags & 8) && // avoid infinite self recursion\n activeSub !== this) {\n batch(this, true);\n return true;\n } else if (!!(process.env.NODE_ENV !== \"production\")) ;\n }\n get value() {\n const link = !!(process.env.NODE_ENV !== \"production\") ? this.dep.track({\n target: this,\n type: \"get\",\n key: \"value\"\n }) : this.dep.track();\n refreshComputed(this);\n if (link) {\n link.version = this.dep.version;\n }\n return this._value;\n }\n set value(newValue) {\n if (this.setter) {\n this.setter(newValue);\n } else if (!!(process.env.NODE_ENV !== \"production\")) {\n warn(\"Write operation failed: computed value is readonly\");\n }\n }\n}\n// @__NO_SIDE_EFFECTS__\nfunction computed(getterOrOptions, debugOptions, isSSR = false) {\n let getter;\n let setter;\n if (isFunction(getterOrOptions)) {\n getter = getterOrOptions;\n } else {\n getter = getterOrOptions.get;\n setter = getterOrOptions.set;\n }\n const cRef = new ComputedRefImpl(getter, setter, isSSR);\n if (!!(process.env.NODE_ENV !== \"production\") && debugOptions && !isSSR) {\n cRef.onTrack = debugOptions.onTrack;\n cRef.onTrigger = debugOptions.onTrigger;\n }\n return cRef;\n}\n\nconst TrackOpTypes = {\n \"GET\": \"get\",\n \"HAS\": \"has\",\n \"ITERATE\": \"iterate\"\n};\nconst TriggerOpTypes = {\n \"SET\": \"set\",\n \"ADD\": \"add\",\n \"DELETE\": \"delete\",\n \"CLEAR\": \"clear\"\n};\nconst ReactiveFlags = {\n \"SKIP\": \"__v_skip\",\n \"IS_REACTIVE\": \"__v_isReactive\",\n \"IS_READONLY\": \"__v_isReadonly\",\n \"IS_SHALLOW\": \"__v_isShallow\",\n \"RAW\": \"__v_raw\",\n \"IS_REF\": \"__v_isRef\"\n};\n\nconst WatchErrorCodes = {\n \"WATCH_GETTER\": 2,\n \"2\": \"WATCH_GETTER\",\n \"WATCH_CALLBACK\": 3,\n \"3\": \"WATCH_CALLBACK\",\n \"WATCH_CLEANUP\": 4,\n \"4\": \"WATCH_CLEANUP\"\n};\nconst INITIAL_WATCHER_VALUE = {};\nconst cleanupMap = /* @__PURE__ */ new WeakMap();\nlet activeWatcher = void 0;\nfunction getCurrentWatcher() {\n return activeWatcher;\n}\nfunction onWatcherCleanup(cleanupFn, failSilently = false, owner = activeWatcher) {\n if (owner) {\n let cleanups = cleanupMap.get(owner);\n if (!cleanups) cleanupMap.set(owner, cleanups = []);\n cleanups.push(cleanupFn);\n } else if (!!(process.env.NODE_ENV !== \"production\") && !failSilently) {\n warn(\n `onWatcherCleanup() was called when there was no active watcher to associate with.`\n );\n }\n}\nfunction watch(source, cb, options = EMPTY_OBJ) {\n const { immediate, deep, once, scheduler, augmentJob, call } = options;\n const warnInvalidSource = (s) => {\n (options.onWarn || warn)(\n `Invalid watch source: `,\n s,\n `A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.`\n );\n };\n const reactiveGetter = (source2) => {\n if (deep) return source2;\n if (isShallow(source2) || deep === false || deep === 0)\n return traverse(source2, 1);\n return traverse(source2);\n };\n let effect;\n let getter;\n let cleanup;\n let boundCleanup;\n let forceTrigger = false;\n let isMultiSource = false;\n if (isRef(source)) {\n getter = () => source.value;\n forceTrigger = isShallow(source);\n } else if (isReactive(source)) {\n getter = () => reactiveGetter(source);\n forceTrigger = true;\n } else if (isArray(source)) {\n isMultiSource = true;\n forceTrigger = source.some((s) => isReactive(s) || isShallow(s));\n getter = () => source.map((s) => {\n if (isRef(s)) {\n return s.value;\n } else if (isReactive(s)) {\n return reactiveGetter(s);\n } else if (isFunction(s)) {\n return call ? call(s, 2) : s();\n } else {\n !!(process.env.NODE_ENV !== \"production\") && warnInvalidSource(s);\n }\n });\n } else if (isFunction(source)) {\n if (cb) {\n getter = call ? () => call(source, 2) : source;\n } else {\n getter = () => {\n if (cleanup) {\n pauseTracking();\n try {\n cleanup();\n } finally {\n resetTracking();\n }\n }\n const currentEffect = activeWatcher;\n activeWatcher = effect;\n try {\n return call ? call(source, 3, [boundCleanup]) : source(boundCleanup);\n } finally {\n activeWatcher = currentEffect;\n }\n };\n }\n } else {\n getter = NOOP;\n !!(process.env.NODE_ENV !== \"production\") && warnInvalidSource(source);\n }\n if (cb && deep) {\n const baseGetter = getter;\n const depth = deep === true ? Infinity : deep;\n getter = () => traverse(baseGetter(), depth);\n }\n const scope = getCurrentScope();\n const watchHandle = () => {\n effect.stop();\n if (scope && scope.active) {\n remove(scope.effects, effect);\n }\n };\n if (once && cb) {\n const _cb = cb;\n cb = (...args) => {\n const res = _cb(...args);\n watchHandle();\n return res;\n };\n }\n let oldValue = isMultiSource ? new Array(source.length).fill(INITIAL_WATCHER_VALUE) : INITIAL_WATCHER_VALUE;\n const job = (immediateFirstRun) => {\n if (!(effect.flags & 1) || !effect.dirty && !immediateFirstRun) {\n return;\n }\n if (cb) {\n const newValue = effect.run();\n if (immediateFirstRun || deep || forceTrigger || (isMultiSource ? newValue.some((v, i) => hasChanged(v, oldValue[i])) : hasChanged(newValue, oldValue))) {\n if (cleanup) {\n cleanup();\n }\n const currentWatcher = activeWatcher;\n activeWatcher = effect;\n try {\n const args = [\n newValue,\n // pass undefined as the old value when it's changed for the first time\n oldValue === INITIAL_WATCHER_VALUE ? void 0 : isMultiSource && oldValue[0] === INITIAL_WATCHER_VALUE ? [] : oldValue,\n boundCleanup\n ];\n oldValue = newValue;\n call ? call(cb, 3, args) : (\n // @ts-expect-error\n cb(...args)\n );\n } finally {\n activeWatcher = currentWatcher;\n }\n }\n } else {\n effect.run();\n }\n };\n if (augmentJob) {\n augmentJob(job);\n }\n effect = new ReactiveEffect(getter);\n effect.scheduler = scheduler ? () => scheduler(job, false) : job;\n boundCleanup = (fn) => onWatcherCleanup(fn, false, effect);\n cleanup = effect.onStop = () => {\n const cleanups = cleanupMap.get(effect);\n if (cleanups) {\n if (call) {\n call(cleanups, 4);\n } else {\n for (const cleanup2 of cleanups) cleanup2();\n }\n cleanupMap.delete(effect);\n }\n };\n if (!!(process.env.NODE_ENV !== \"production\")) {\n effect.onTrack = options.onTrack;\n effect.onTrigger = options.onTrigger;\n }\n if (cb) {\n if (immediate) {\n job(true);\n } else {\n oldValue = effect.run();\n }\n } else if (scheduler) {\n scheduler(job.bind(null, true), true);\n } else {\n effect.run();\n }\n watchHandle.pause = effect.pause.bind(effect);\n watchHandle.resume = effect.resume.bind(effect);\n watchHandle.stop = watchHandle;\n return watchHandle;\n}\nfunction traverse(value, depth = Infinity, seen) {\n if (depth <= 0 || !isObject(value) || value[\"__v_skip\"]) {\n return value;\n }\n seen = seen || /* @__PURE__ */ new Map();\n if ((seen.get(value) || 0) >= depth) {\n return value;\n }\n seen.set(value, depth);\n depth--;\n if (isRef(value)) {\n traverse(value.value, depth, seen);\n } else if (isArray(value)) {\n for (let i = 0; i < value.length; i++) {\n traverse(value[i], depth, seen);\n }\n } else if (isSet(value) || isMap(value)) {\n value.forEach((v) => {\n traverse(v, depth, seen);\n });\n } else if (isPlainObject(value)) {\n for (const key in value) {\n traverse(value[key], depth, seen);\n }\n for (const key of Object.getOwnPropertySymbols(value)) {\n if (Object.prototype.propertyIsEnumerable.call(value, key)) {\n traverse(value[key], depth, seen);\n }\n }\n }\n return value;\n}\n\nexport { ARRAY_ITERATE_KEY, EffectFlags, EffectScope, ITERATE_KEY, MAP_KEY_ITERATE_KEY, ReactiveEffect, ReactiveFlags, TrackOpTypes, TriggerOpTypes, WatchErrorCodes, computed, customRef, effect, effectScope, enableTracking, getCurrentScope, getCurrentWatcher, isProxy, isReactive, isReadonly, isRef, isShallow, markRaw, onEffectCleanup, onScopeDispose, onWatcherCleanup, pauseTracking, proxyRefs, reactive, reactiveReadArray, readonly, ref, resetTracking, shallowReactive, shallowReadArray, shallowReadonly, shallowRef, stop, toRaw, toReactive, toReadonly, toRef, toRefs, toValue, track, traverse, trigger, triggerRef, unref, watch };\n","/**\n* @vue/runtime-core v3.5.41\n* (c) 2018-present Yuxi (Evan) You and Vue contributors\n* @license MIT\n**/\nimport { pauseTracking, resetTracking, isRef, toRaw, traverse, watch as watch$1, shallowRef, readonly, isReactive, ref, isShallow, isReadonly, shallowReadArray, toReadonly, toReactive, shallowReadonly, track, reactive, customRef, shallowReactive, trigger, ReactiveEffect, isProxy, proxyRefs, markRaw, EffectScope, computed as computed$1 } from '@vue/reactivity';\nexport { EffectScope, ReactiveEffect, TrackOpTypes, TriggerOpTypes, customRef, effect, effectScope, getCurrentScope, getCurrentWatcher, isProxy, isReactive, isReadonly, isRef, isShallow, markRaw, onScopeDispose, onWatcherCleanup, proxyRefs, reactive, readonly, ref, shallowReactive, shallowReadonly, shallowRef, stop, toRaw, toRef, toRefs, toValue, triggerRef, unref } from '@vue/reactivity';\nimport { isString, isFunction, EMPTY_OBJ, isPromise, isArray, NOOP, getGlobalThis, extend, isBuiltInDirective, NO, hasOwn, remove, def, isOn, isReservedProp, normalizeClass, stringifyStyle, normalizeStyle, isKnownSvgAttr, isBooleanAttr, isKnownHtmlAttr, includeBooleanAttr, isRenderableAttrValue, normalizeCssVarValue, getEscapedCssVarName, isObject, isRegExp, invokeArrayFns, toHandlerKey, camelize, capitalize, isSymbol, isGloballyAllowed, hyphenate, hasChanged, looseToNumber, isModelListener, looseEqual, EMPTY_ARR, toRawType, makeMap, toNumber } from '@vue/shared';\nexport { camelize, capitalize, normalizeClass, normalizeProps, normalizeStyle, toDisplayString, toHandlerKey } from '@vue/shared';\n\nconst stack = [];\nfunction pushWarningContext(vnode) {\n stack.push(vnode);\n}\nfunction popWarningContext() {\n stack.pop();\n}\nlet isWarning = false;\nfunction warn$1(msg, ...args) {\n if (isWarning) return;\n isWarning = true;\n pauseTracking();\n const instance = stack.length ? stack[stack.length - 1].component : null;\n const appWarnHandler = instance && instance.appContext.config.warnHandler;\n const trace = getComponentTrace();\n if (appWarnHandler) {\n callWithErrorHandling(\n appWarnHandler,\n instance,\n 11,\n [\n // eslint-disable-next-line no-restricted-syntax\n msg + args.map((a) => {\n var _a, _b;\n return (_b = (_a = a.toString) == null ? void 0 : _a.call(a)) != null ? _b : JSON.stringify(a);\n }).join(\"\"),\n instance && instance.proxy,\n trace.map(\n ({ vnode }) => `at <${formatComponentName(instance, vnode.type)}>`\n ).join(\"\\n\"),\n trace\n ]\n );\n } else {\n const warnArgs = [`[Vue warn]: ${msg}`, ...args];\n if (trace.length && // avoid spamming console during tests\n true) {\n warnArgs.push(`\n`, ...formatTrace(trace));\n }\n console.warn(...warnArgs);\n }\n resetTracking();\n isWarning = false;\n}\nfunction getComponentTrace() {\n let currentVNode = stack[stack.length - 1];\n if (!currentVNode) {\n return [];\n }\n const normalizedStack = [];\n while (currentVNode) {\n const last = normalizedStack[0];\n if (last && last.vnode === currentVNode) {\n last.recurseCount++;\n } else {\n normalizedStack.push({\n vnode: currentVNode,\n recurseCount: 0\n });\n }\n const parentInstance = currentVNode.component && currentVNode.component.parent;\n currentVNode = parentInstance && parentInstance.vnode;\n }\n return normalizedStack;\n}\nfunction formatTrace(trace) {\n const logs = [];\n trace.forEach((entry, i) => {\n logs.push(...i === 0 ? [] : [`\n`], ...formatTraceEntry(entry));\n });\n return logs;\n}\nfunction formatTraceEntry({ vnode, recurseCount }) {\n const postfix = recurseCount > 0 ? `... (${recurseCount} recursive calls)` : ``;\n const isRoot = vnode.component ? vnode.component.parent == null : false;\n const open = ` at <${formatComponentName(\n vnode.component,\n vnode.type,\n isRoot\n )}`;\n const close = `>` + postfix;\n return vnode.props ? [open, ...formatProps(vnode.props), close] : [open + close];\n}\nfunction formatProps(props) {\n const res = [];\n const keys = Object.keys(props);\n keys.slice(0, 3).forEach((key) => {\n res.push(...formatProp(key, props[key]));\n });\n if (keys.length > 3) {\n res.push(` ...`);\n }\n return res;\n}\nfunction formatProp(key, value, raw) {\n if (isString(value)) {\n value = JSON.stringify(value);\n return raw ? value : [`${key}=${value}`];\n } else if (typeof value === \"number\" || typeof value === \"boolean\" || value == null) {\n return raw ? value : [`${key}=${value}`];\n } else if (isRef(value)) {\n value = formatProp(key, toRaw(value.value), true);\n return raw ? value : [`${key}=Ref<`, value, `>`];\n } else if (isFunction(value)) {\n return [`${key}=fn${value.name ? `<${value.name}>` : ``}`];\n } else {\n value = toRaw(value);\n return raw ? value : [`${key}=`, value];\n }\n}\nfunction assertNumber(val, type) {\n if (!!!(process.env.NODE_ENV !== \"production\")) return;\n if (val === void 0) {\n return;\n } else if (typeof val !== \"number\") {\n warn$1(`${type} is not a valid number - got ${JSON.stringify(val)}.`);\n } else if (isNaN(val)) {\n warn$1(`${type} is NaN - the duration expression might be incorrect.`);\n }\n}\n\nconst ErrorCodes = {\n \"SETUP_FUNCTION\": 0,\n \"0\": \"SETUP_FUNCTION\",\n \"RENDER_FUNCTION\": 1,\n \"1\": \"RENDER_FUNCTION\",\n \"NATIVE_EVENT_HANDLER\": 5,\n \"5\": \"NATIVE_EVENT_HANDLER\",\n \"COMPONENT_EVENT_HANDLER\": 6,\n \"6\": \"COMPONENT_EVENT_HANDLER\",\n \"VNODE_HOOK\": 7,\n \"7\": \"VNODE_HOOK\",\n \"DIRECTIVE_HOOK\": 8,\n \"8\": \"DIRECTIVE_HOOK\",\n \"TRANSITION_HOOK\": 9,\n \"9\": \"TRANSITION_HOOK\",\n \"APP_ERROR_HANDLER\": 10,\n \"10\": \"APP_ERROR_HANDLER\",\n \"APP_WARN_HANDLER\": 11,\n \"11\": \"APP_WARN_HANDLER\",\n \"FUNCTION_REF\": 12,\n \"12\": \"FUNCTION_REF\",\n \"ASYNC_COMPONENT_LOADER\": 13,\n \"13\": \"ASYNC_COMPONENT_LOADER\",\n \"SCHEDULER\": 14,\n \"14\": \"SCHEDULER\",\n \"COMPONENT_UPDATE\": 15,\n \"15\": \"COMPONENT_UPDATE\",\n \"APP_UNMOUNT_CLEANUP\": 16,\n \"16\": \"APP_UNMOUNT_CLEANUP\"\n};\nconst ErrorTypeStrings$1 = {\n [\"sp\"]: \"serverPrefetch hook\",\n [\"bc\"]: \"beforeCreate hook\",\n [\"c\"]: \"created hook\",\n [\"bm\"]: \"beforeMount hook\",\n [\"m\"]: \"mounted hook\",\n [\"bu\"]: \"beforeUpdate hook\",\n [\"u\"]: \"updated\",\n [\"bum\"]: \"beforeUnmount hook\",\n [\"um\"]: \"unmounted hook\",\n [\"a\"]: \"activated hook\",\n [\"da\"]: \"deactivated hook\",\n [\"ec\"]: \"errorCaptured hook\",\n [\"rtc\"]: \"renderTracked hook\",\n [\"rtg\"]: \"renderTriggered hook\",\n [0]: \"setup function\",\n [1]: \"render function\",\n [2]: \"watcher getter\",\n [3]: \"watcher callback\",\n [4]: \"watcher cleanup function\",\n [5]: \"native event handler\",\n [6]: \"component event handler\",\n [7]: \"vnode hook\",\n [8]: \"directive hook\",\n [9]: \"transition hook\",\n [10]: \"app errorHandler\",\n [11]: \"app warnHandler\",\n [12]: \"ref function\",\n [13]: \"async component loader\",\n [14]: \"scheduler flush\",\n [15]: \"component update\",\n [16]: \"app unmount cleanup function\"\n};\nfunction callWithErrorHandling(fn, instance, type, args) {\n try {\n return args ? fn(...args) : fn();\n } catch (err) {\n handleError(err, instance, type);\n }\n}\nfunction callWithAsyncErrorHandling(fn, instance, type, args) {\n if (isFunction(fn)) {\n const res = callWithErrorHandling(fn, instance, type, args);\n if (res && isPromise(res)) {\n res.catch((err) => {\n handleError(err, instance, type);\n });\n }\n return res;\n }\n if (isArray(fn)) {\n const values = [];\n for (let i = 0; i < fn.length; i++) {\n values.push(callWithAsyncErrorHandling(fn[i], instance, type, args));\n }\n return values;\n } else if (!!(process.env.NODE_ENV !== \"production\")) {\n warn$1(\n `Invalid value type passed to callWithAsyncErrorHandling(): ${typeof fn}`\n );\n }\n}\nfunction handleError(err, instance, type, throwInDev = true) {\n const contextVNode = instance ? instance.vnode : null;\n const { errorHandler, throwUnhandledErrorInProduction } = instance && instance.appContext.config || EMPTY_OBJ;\n if (instance) {\n let cur = instance.parent;\n const exposedInstance = instance.proxy;\n const errorInfo = !!(process.env.NODE_ENV !== \"production\") ? ErrorTypeStrings$1[type] : `https://vuejs.org/error-reference/#runtime-${type}`;\n while (cur) {\n const errorCapturedHooks = cur.ec;\n if (errorCapturedHooks) {\n for (let i = 0; i < errorCapturedHooks.length; i++) {\n if (errorCapturedHooks[i](err, exposedInstance, errorInfo) === false) {\n return;\n }\n }\n }\n cur = cur.parent;\n }\n if (errorHandler) {\n pauseTracking();\n callWithErrorHandling(errorHandler, null, 10, [\n err,\n exposedInstance,\n errorInfo\n ]);\n resetTracking();\n return;\n }\n }\n logError(err, type, contextVNode, throwInDev, throwUnhandledErrorInProduction);\n}\nfunction logError(err, type, contextVNode, throwInDev = true, throwInProd = false) {\n if (!!(process.env.NODE_ENV !== \"production\")) {\n const info = ErrorTypeStrings$1[type];\n if (contextVNode) {\n pushWarningContext(contextVNode);\n }\n warn$1(`Unhandled error${info ? ` during execution of ${info}` : ``}`);\n if (contextVNode) {\n popWarningContext();\n }\n if (throwInDev) {\n throw err;\n } else {\n console.error(err);\n }\n } else if (throwInProd) {\n throw err;\n } else {\n console.error(err);\n }\n}\n\nconst queue = [];\nlet flushIndex = -1;\nconst pendingPostFlushCbs = [];\nlet activePostFlushCbs = null;\nlet postFlushIndex = 0;\nconst resolvedPromise = /* @__PURE__ */ Promise.resolve();\nlet currentFlushPromise = null;\nconst RECURSION_LIMIT = 100;\nfunction nextTick(fn) {\n const p = currentFlushPromise || resolvedPromise;\n return fn ? p.then(this ? fn.bind(this) : fn) : p;\n}\nfunction findInsertionIndex(id) {\n let start = flushIndex + 1;\n let end = queue.length;\n while (start < end) {\n const middle = start + end >>> 1;\n const middleJob = queue[middle];\n const middleJobId = getId(middleJob);\n if (middleJobId < id || middleJobId === id && middleJob.flags & 2) {\n start = middle + 1;\n } else {\n end = middle;\n }\n }\n return start;\n}\nfunction queueJob(job) {\n if (!(job.flags & 1)) {\n const jobId = getId(job);\n const lastJob = queue[queue.length - 1];\n if (!lastJob || // fast path when the job id is larger than the tail\n !(job.flags & 2) && jobId >= getId(lastJob)) {\n queue.push(job);\n } else {\n queue.splice(findInsertionIndex(jobId), 0, job);\n }\n job.flags |= 1;\n queueFlush();\n }\n}\nfunction queueFlush() {\n if (!currentFlushPromise) {\n currentFlushPromise = resolvedPromise.then(flushJobs);\n }\n}\nfunction queuePostFlushCb(cb) {\n if (!isArray(cb)) {\n if (activePostFlushCbs && cb.id === -1) {\n activePostFlushCbs.splice(postFlushIndex + 1, 0, cb);\n } else if (!(cb.flags & 1)) {\n pendingPostFlushCbs.push(cb);\n cb.flags |= 1;\n }\n } else {\n for (let i = 0; i < cb.length; i++) {\n pendingPostFlushCbs.push(cb[i]);\n }\n }\n queueFlush();\n}\nfunction flushPreFlushCbs(instance, seen, i = flushIndex + 1) {\n if (!!(process.env.NODE_ENV !== \"production\")) {\n seen = seen || /* @__PURE__ */ new Map();\n }\n for (; i < queue.length; i++) {\n const cb = queue[i];\n if (cb && cb.flags & 2) {\n if (instance && cb.id !== instance.uid) {\n continue;\n }\n if (!!(process.env.NODE_ENV !== \"production\") && checkRecursiveUpdates(seen, cb)) {\n continue;\n }\n queue.splice(i, 1);\n i--;\n if (cb.flags & 4) {\n cb.flags &= -2;\n }\n cb();\n if (!(cb.flags & 4)) {\n cb.flags &= -2;\n }\n }\n }\n}\nfunction flushPostFlushCbs(seen) {\n if (pendingPostFlushCbs.length) {\n const deduped = [...new Set(pendingPostFlushCbs)].sort(\n (a, b) => getId(a) - getId(b)\n );\n pendingPostFlushCbs.length = 0;\n if (activePostFlushCbs) {\n for (let i = 0; i < deduped.length; i++) {\n activePostFlushCbs.push(deduped[i]);\n }\n return;\n }\n activePostFlushCbs = deduped;\n if (!!(process.env.NODE_ENV !== \"production\")) {\n seen = seen || /* @__PURE__ */ new Map();\n }\n for (postFlushIndex = 0; postFlushIndex < activePostFlushCbs.length; postFlushIndex++) {\n const cb = activePostFlushCbs[postFlushIndex];\n if (!!(process.env.NODE_ENV !== \"production\") && checkRecursiveUpdates(seen, cb)) {\n continue;\n }\n if (cb.flags & 4) {\n cb.flags &= -2;\n }\n if (!(cb.flags & 8)) cb();\n cb.flags &= -2;\n }\n activePostFlushCbs = null;\n postFlushIndex = 0;\n }\n}\nconst getId = (job) => job.id == null ? job.flags & 2 ? -1 : Infinity : job.id;\nfunction flushJobs(seen) {\n if (!!(process.env.NODE_ENV !== \"production\")) {\n seen = seen || /* @__PURE__ */ new Map();\n }\n const check = !!(process.env.NODE_ENV !== \"production\") ? (job) => checkRecursiveUpdates(seen, job) : NOOP;\n try {\n for (flushIndex = 0; flushIndex < queue.length; flushIndex++) {\n const job = queue[flushIndex];\n if (job && !(job.flags & 8)) {\n if (!!(process.env.NODE_ENV !== \"production\") && check(job)) {\n continue;\n }\n if (job.flags & 4) {\n job.flags &= ~1;\n }\n callWithErrorHandling(\n job,\n job.i,\n job.i ? 15 : 14\n );\n if (!(job.flags & 4)) {\n job.flags &= ~1;\n }\n }\n }\n } finally {\n for (; flushIndex < queue.length; flushIndex++) {\n const job = queue[flushIndex];\n if (job) {\n job.flags &= -2;\n }\n }\n flushIndex = -1;\n queue.length = 0;\n flushPostFlushCbs(seen);\n currentFlushPromise = null;\n if (queue.length || pendingPostFlushCbs.length) {\n flushJobs(seen);\n }\n }\n}\nfunction checkRecursiveUpdates(seen, fn) {\n const count = seen.get(fn) || 0;\n if (count > RECURSION_LIMIT) {\n const instance = fn.i;\n const componentName = instance && getComponentName(instance.type);\n handleError(\n `Maximum recursive updates exceeded${componentName ? ` in component <${componentName}>` : ``}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`,\n null,\n 10\n );\n return true;\n }\n seen.set(fn, count + 1);\n return false;\n}\n\nlet isHmrUpdating = false;\nconst setHmrUpdating = (v) => {\n try {\n return isHmrUpdating;\n } finally {\n isHmrUpdating = v;\n }\n};\nconst hmrDirtyComponents = /* @__PURE__ */ new Map();\nif (!!(process.env.NODE_ENV !== \"production\")) {\n getGlobalThis().__VUE_HMR_RUNTIME__ = {\n createRecord: tryWrap(createRecord),\n rerender: tryWrap(rerender),\n reload: tryWrap(reload)\n };\n}\nconst map = /* @__PURE__ */ new Map();\nfunction registerHMR(instance) {\n const id = instance.type.__hmrId;\n let record = map.get(id);\n if (!record) {\n createRecord(id, instance.type);\n record = map.get(id);\n }\n record.instances.add(instance);\n}\nfunction unregisterHMR(instance) {\n map.get(instance.type.__hmrId).instances.delete(instance);\n}\nfunction createRecord(id, initialDef) {\n if (map.has(id)) {\n return false;\n }\n map.set(id, {\n initialDef: normalizeClassComponent(initialDef),\n instances: /* @__PURE__ */ new Set()\n });\n return true;\n}\nfunction normalizeClassComponent(component) {\n return isClassComponent(component) ? component.__vccOpts : component;\n}\nfunction rerender(id, newRender) {\n const record = map.get(id);\n if (!record) {\n return;\n }\n record.initialDef.render = newRender;\n [...record.instances].forEach((instance) => {\n if (newRender) {\n instance.render = newRender;\n normalizeClassComponent(instance.type).render = newRender;\n }\n instance.renderCache = [];\n isHmrUpdating = true;\n if (!(instance.job.flags & 8)) {\n instance.update();\n }\n isHmrUpdating = false;\n });\n}\nfunction reload(id, newComp) {\n const record = map.get(id);\n if (!record) return;\n newComp = normalizeClassComponent(newComp);\n updateComponentDef(record.initialDef, newComp);\n const instances = [...record.instances];\n for (let i = 0; i < instances.length; i++) {\n const instance = instances[i];\n const oldComp = normalizeClassComponent(instance.type);\n let dirtyInstances = hmrDirtyComponents.get(oldComp);\n if (!dirtyInstances) {\n if (oldComp !== record.initialDef) {\n updateComponentDef(oldComp, newComp);\n }\n hmrDirtyComponents.set(oldComp, dirtyInstances = /* @__PURE__ */ new Set());\n }\n dirtyInstances.add(instance);\n instance.appContext.propsCache.delete(instance.type);\n instance.appContext.emitsCache.delete(instance.type);\n instance.appContext.optionsCache.delete(instance.type);\n if (instance.ceReload) {\n dirtyInstances.add(instance);\n instance.ceReload(newComp.styles);\n dirtyInstances.delete(instance);\n } else if (instance.parent) {\n queueJob(() => {\n if (!(instance.job.flags & 8)) {\n isHmrUpdating = true;\n instance.parent.update();\n isHmrUpdating = false;\n dirtyInstances.delete(instance);\n }\n });\n } else if (instance.appContext.reload) {\n instance.appContext.reload();\n } else if (typeof window !== \"undefined\") {\n window.location.reload();\n } else {\n console.warn(\n \"[HMR] Root or manually mounted instance modified. Full reload required.\"\n );\n }\n if (instance.root.ce && instance !== instance.root) {\n instance.root.ce._removeChildStyle(oldComp);\n }\n }\n queuePostFlushCb(() => {\n hmrDirtyComponents.clear();\n });\n}\nfunction updateComponentDef(oldComp, newComp) {\n extend(oldComp, newComp);\n for (const key in oldComp) {\n if (key !== \"__file\" && !(key in newComp)) {\n delete oldComp[key];\n }\n }\n}\nfunction tryWrap(fn) {\n return (id, arg) => {\n try {\n return fn(id, arg);\n } catch (e) {\n console.error(e);\n console.warn(\n `[HMR] Something went wrong during Vue component hot-reload. Full reload required.`\n );\n }\n };\n}\n\nlet devtools$1;\nlet buffer = [];\nlet devtoolsNotInstalled = false;\nfunction emit$1(event, ...args) {\n if (devtools$1) {\n devtools$1.emit(event, ...args);\n } else if (!devtoolsNotInstalled) {\n buffer.push({ event, args });\n }\n}\nfunction setDevtoolsHook$1(hook, target) {\n var _a, _b;\n devtools$1 = hook;\n if (devtools$1) {\n devtools$1.enabled = true;\n buffer.forEach(({ event, args }) => devtools$1.emit(event, ...args));\n buffer = [];\n } else if (\n // handle late devtools injection - only do this if we are in an actual\n // browser environment to avoid the timer handle stalling test runner exit\n // (#4815)\n typeof window !== \"undefined\" && // some envs mock window but not fully\n window.HTMLElement && // also exclude jsdom\n // eslint-disable-next-line no-restricted-syntax\n !((_b = (_a = window.navigator) == null ? void 0 : _a.userAgent) == null ? void 0 : _b.includes(\"jsdom\"))\n ) {\n const replay = target.__VUE_DEVTOOLS_HOOK_REPLAY__ = target.__VUE_DEVTOOLS_HOOK_REPLAY__ || [];\n replay.push((newHook) => {\n setDevtoolsHook$1(newHook, target);\n });\n setTimeout(() => {\n if (!devtools$1) {\n target.__VUE_DEVTOOLS_HOOK_REPLAY__ = null;\n devtoolsNotInstalled = true;\n buffer = [];\n }\n }, 3e3);\n } else {\n devtoolsNotInstalled = true;\n buffer = [];\n }\n}\nfunction devtoolsInitApp(app, version) {\n emit$1(\"app:init\" /* APP_INIT */, app, version, {\n Fragment,\n Text,\n Comment,\n Static\n });\n}\nfunction devtoolsUnmountApp(app) {\n emit$1(\"app:unmount\" /* APP_UNMOUNT */, app);\n}\nconst devtoolsComponentAdded = /* @__PURE__ */ createDevtoolsComponentHook(\"component:added\" /* COMPONENT_ADDED */);\nconst devtoolsComponentUpdated = /* @__PURE__ */ createDevtoolsComponentHook(\"component:updated\" /* COMPONENT_UPDATED */);\nconst _devtoolsComponentRemoved = /* @__PURE__ */ createDevtoolsComponentHook(\n \"component:removed\" /* COMPONENT_REMOVED */\n);\nconst devtoolsComponentRemoved = (component) => {\n if (devtools$1 && typeof devtools$1.cleanupBuffer === \"function\" && // remove the component if it wasn't buffered\n !devtools$1.cleanupBuffer(component)) {\n _devtoolsComponentRemoved(component);\n }\n};\n// @__NO_SIDE_EFFECTS__\nfunction createDevtoolsComponentHook(hook) {\n return (component) => {\n emit$1(\n hook,\n component.appContext.app,\n component.uid,\n component.parent ? component.parent.uid : void 0,\n component\n );\n };\n}\nconst devtoolsPerfStart = /* @__PURE__ */ createDevtoolsPerformanceHook(\"perf:start\" /* PERFORMANCE_START */);\nconst devtoolsPerfEnd = /* @__PURE__ */ createDevtoolsPerformanceHook(\"perf:end\" /* PERFORMANCE_END */);\nfunction createDevtoolsPerformanceHook(hook) {\n return (component, type, time) => {\n emit$1(hook, component.appContext.app, component.uid, component, type, time);\n };\n}\nfunction devtoolsComponentEmit(component, event, params) {\n emit$1(\n \"component:emit\" /* COMPONENT_EMIT */,\n component.appContext.app,\n component,\n event,\n params\n );\n}\n\nlet currentRenderingInstance = null;\nlet currentScopeId = null;\nfunction setCurrentRenderingInstance(instance) {\n const prev = currentRenderingInstance;\n currentRenderingInstance = instance;\n currentScopeId = instance && instance.type.__scopeId || null;\n return prev;\n}\nfunction pushScopeId(id) {\n currentScopeId = id;\n}\nfunction popScopeId() {\n currentScopeId = null;\n}\nconst withScopeId = (_id) => withCtx;\nfunction withCtx(fn, ctx = currentRenderingInstance, isNonScopedSlot) {\n if (!ctx) return fn;\n if (fn._n) {\n return fn;\n }\n const renderFnWithContext = (...args) => {\n if (renderFnWithContext._d) {\n setBlockTracking(-1);\n }\n const prevInstance = setCurrentRenderingInstance(ctx);\n const prevStackSize = blockStack.length;\n let res;\n try {\n res = fn(...args);\n } finally {\n for (let i = blockStack.length; i > prevStackSize; i--) closeBlock();\n setCurrentRenderingInstance(prevInstance);\n if (renderFnWithContext._d) {\n setBlockTracking(1);\n }\n }\n if (!!(process.env.NODE_ENV !== \"production\") || __VUE_PROD_DEVTOOLS__) {\n devtoolsComponentUpdated(ctx);\n }\n return res;\n };\n renderFnWithContext._n = true;\n renderFnWithContext._c = true;\n renderFnWithContext._d = true;\n return renderFnWithContext;\n}\n\nfunction validateDirectiveName(name) {\n if (isBuiltInDirective(name)) {\n warn$1(\"Do not use built-in directive ids as custom directive id: \" + name);\n }\n}\nfunction withDirectives(vnode, directives) {\n if (currentRenderingInstance === null) {\n !!(process.env.NODE_ENV !== \"production\") && warn$1(`withDirectives can only be used inside render functions.`);\n return vnode;\n }\n const instance = getComponentPublicInstance(currentRenderingInstance);\n const bindings = vnode.dirs || (vnode.dirs = []);\n for (let i = 0; i < directives.length; i++) {\n let [dir, value, arg, modifiers = EMPTY_OBJ] = directives[i];\n if (dir) {\n if (isFunction(dir)) {\n dir = {\n mounted: dir,\n updated: dir\n };\n }\n if (dir.deep) {\n traverse(value);\n }\n bindings.push({\n dir,\n instance,\n value,\n oldValue: void 0,\n arg,\n modifiers\n });\n }\n }\n return vnode;\n}\nfunction invokeDirectiveHook(vnode, prevVNode, instance, name) {\n const bindings = vnode.dirs;\n const oldBindings = prevVNode && prevVNode.dirs;\n for (let i = 0; i < bindings.length; i++) {\n const binding = bindings[i];\n if (oldBindings) {\n binding.oldValue = oldBindings[i].value;\n }\n let hook = binding.dir[name];\n if (hook) {\n pauseTracking();\n callWithAsyncErrorHandling(hook, instance, 8, [\n vnode.el,\n binding,\n vnode,\n prevVNode\n ]);\n resetTracking();\n }\n }\n}\n\nfunction provide(key, value) {\n if (!!(process.env.NODE_ENV !== \"production\")) {\n if (!currentInstance || currentInstance.isMounted) {\n warn$1(`provide() can only be used inside setup().`);\n }\n }\n if (currentInstance) {\n let provides = currentInstance.provides;\n const parentProvides = currentInstance.parent && currentInstance.parent.provides;\n if (parentProvides === provides) {\n provides = currentInstance.provides = Object.create(parentProvides);\n }\n provides[key] = value;\n }\n}\nfunction inject(key, defaultValue, treatDefaultAsFactory = false) {\n const instance = getCurrentInstance();\n if (instance || currentApp) {\n let provides = currentApp ? currentApp._context.provides : instance ? instance.parent == null || instance.ce ? instance.vnode.appContext && instance.vnode.appContext.provides : instance.parent.provides : void 0;\n if (provides && key in provides) {\n return provides[key];\n } else if (arguments.length > 1) {\n return treatDefaultAsFactory && isFunction(defaultValue) ? defaultValue.call(instance && instance.proxy) : defaultValue;\n } else if (!!(process.env.NODE_ENV !== \"production\")) {\n warn$1(`injection \"${String(key)}\" not found.`);\n }\n } else if (!!(process.env.NODE_ENV !== \"production\")) {\n warn$1(`inject() can only be used inside setup() or functional components.`);\n }\n}\nfunction hasInjectionContext() {\n return !!(getCurrentInstance() || currentApp);\n}\n\nconst ssrContextKey = /* @__PURE__ */ Symbol.for(\"v-scx\");\nconst useSSRContext = () => {\n {\n const ctx = inject(ssrContextKey);\n if (!ctx) {\n !!(process.env.NODE_ENV !== \"production\") && warn$1(\n `Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build.`\n );\n }\n return ctx;\n }\n};\n\nfunction watchEffect(effect, options) {\n return doWatch(effect, null, options);\n}\nfunction watchPostEffect(effect, options) {\n return doWatch(\n effect,\n null,\n !!(process.env.NODE_ENV !== \"production\") ? extend({}, options, { flush: \"post\" }) : { flush: \"post\" }\n );\n}\nfunction watchSyncEffect(effect, options) {\n return doWatch(\n effect,\n null,\n !!(process.env.NODE_ENV !== \"production\") ? extend({}, options, { flush: \"sync\" }) : { flush: \"sync\" }\n );\n}\nfunction watch(source, cb, options) {\n if (!!(process.env.NODE_ENV !== \"production\") && !isFunction(cb)) {\n warn$1(\n `\\`watch(fn, options?)\\` signature has been moved to a separate API. Use \\`watchEffect(fn, options?)\\` instead. \\`watch\\` now only supports \\`watch(source, cb, options?) signature.`\n );\n }\n return doWatch(source, cb, options);\n}\nfunction doWatch(source, cb, options = EMPTY_OBJ) {\n const { immediate, deep, flush, once } = options;\n if (!!(process.env.NODE_ENV !== \"production\") && !cb) {\n if (immediate !== void 0) {\n warn$1(\n `watch() \"immediate\" option is only respected when using the watch(source, callback, options?) signature.`\n );\n }\n if (deep !== void 0) {\n warn$1(\n `watch() \"deep\" option is only respected when using the watch(source, callback, options?) signature.`\n );\n }\n if (once !== void 0) {\n warn$1(\n `watch() \"once\" option is only respected when using the watch(source, callback, options?) signature.`\n );\n }\n }\n const baseWatchOptions = extend({}, options);\n if (!!(process.env.NODE_ENV !== \"production\")) baseWatchOptions.onWarn = warn$1;\n const runsImmediately = cb && immediate || !cb && flush !== \"post\";\n let ssrCleanup;\n if (isInSSRComponentSetup) {\n if (flush === \"sync\") {\n const ctx = useSSRContext();\n ssrCleanup = ctx.__watcherHandles || (ctx.__watcherHandles = []);\n } else if (!runsImmediately) {\n const watchStopHandle = () => {\n };\n watchStopHandle.stop = NOOP;\n watchStopHandle.resume = NOOP;\n watchStopHandle.pause = NOOP;\n return watchStopHandle;\n }\n }\n const instance = currentInstance;\n baseWatchOptions.call = (fn, type, args) => callWithAsyncErrorHandling(fn, instance, type, args);\n let isPre = false;\n if (flush === \"post\") {\n baseWatchOptions.scheduler = (job) => {\n queuePostRenderEffect(job, instance && instance.suspense);\n };\n } else if (flush !== \"sync\") {\n isPre = true;\n baseWatchOptions.scheduler = (job, isFirstRun) => {\n if (isFirstRun) {\n job();\n } else {\n queueJob(job);\n }\n };\n }\n baseWatchOptions.augmentJob = (job) => {\n if (cb) {\n job.flags |= 4;\n }\n if (isPre) {\n job.flags |= 2;\n if (instance) {\n job.id = instance.uid;\n job.i = instance;\n }\n }\n };\n const watchHandle = watch$1(source, cb, baseWatchOptions);\n if (isInSSRComponentSetup) {\n if (ssrCleanup) {\n ssrCleanup.push(watchHandle);\n } else if (runsImmediately) {\n watchHandle();\n }\n }\n return watchHandle;\n}\nfunction instanceWatch(source, value, options) {\n const publicThis = this.proxy;\n const getter = isString(source) ? source.includes(\".\") ? createPathGetter(publicThis, source) : () => publicThis[source] : source.bind(publicThis, publicThis);\n let cb;\n if (isFunction(value)) {\n cb = value;\n } else {\n cb = value.handler;\n options = value;\n }\n const reset = setCurrentInstance(this);\n const res = doWatch(getter, cb.bind(publicThis), options);\n reset();\n return res;\n}\nfunction createPathGetter(ctx, path) {\n const segments = path.split(\".\");\n return () => {\n let cur = ctx;\n for (let i = 0; i < segments.length && cur; i++) {\n cur = cur[segments[i]];\n }\n return cur;\n };\n}\n\nconst pendingMounts = /* @__PURE__ */ new WeakMap();\nconst TeleportEndKey = /* @__PURE__ */ Symbol(\"_vte\");\nconst isTeleport = (type) => type.__isTeleport;\nconst isTeleportDisabled = (props) => props && (props.disabled || props.disabled === \"\");\nconst isTeleportDeferred = (props) => props && (props.defer || props.defer === \"\");\nconst isTargetSVG = (target) => typeof SVGElement !== \"undefined\" && target instanceof SVGElement;\nconst isTargetMathML = (target) => typeof MathMLElement === \"function\" && target instanceof MathMLElement;\nconst resolveTarget = (props, select) => {\n const targetSelector = props && props.to;\n if (isString(targetSelector)) {\n if (!select) {\n !!(process.env.NODE_ENV !== \"production\") && warn$1(\n `Current renderer does not support string target for Teleports. (missing querySelector renderer option)`\n );\n return null;\n } else {\n const target = select(targetSelector);\n if (!!(process.env.NODE_ENV !== \"production\") && !target && !isTeleportDisabled(props)) {\n warn$1(\n `Failed to locate Teleport target with selector \"${targetSelector}\". Note the target element must exist before the component is mounted - i.e. the target cannot be rendered by the component itself, and ideally should be outside of the entire Vue component tree.`\n );\n }\n return target;\n }\n } else {\n if (!!(process.env.NODE_ENV !== \"production\") && !targetSelector && !isTeleportDisabled(props)) {\n warn$1(`Invalid Teleport target: ${targetSelector}`);\n }\n return targetSelector;\n }\n};\nconst TeleportImpl = {\n name: \"Teleport\",\n __isTeleport: true,\n process(n1, n2, container, anchor, parentComponent, parentSuspense, namespace, slotScopeIds, optimized, internals) {\n const {\n mc: mountChildren,\n pc: patchChildren,\n pbc: patchBlockChildren,\n o: { insert, querySelector, createText, createComment, parentNode }\n } = internals;\n const disabled = isTeleportDisabled(n2.props);\n let { dynamicChildren } = n2;\n if (!!(process.env.NODE_ENV !== \"production\") && isHmrUpdating) {\n optimized = false;\n dynamicChildren = null;\n }\n const mount = (vnode, container2, anchor2) => {\n if (vnode.shapeFlag & 16) {\n mountChildren(\n vnode.children,\n container2,\n anchor2,\n parentComponent,\n parentSuspense,\n namespace,\n slotScopeIds,\n optimized\n );\n }\n };\n const mountToTarget = (vnode = n2) => {\n const disabled2 = isTeleportDisabled(vnode.props);\n const target = vnode.target = resolveTarget(vnode.props, querySelector);\n const targetAnchor = prepareAnchor(target, vnode, createText, insert);\n if (target) {\n if (namespace !== \"svg\" && isTargetSVG(target)) {\n namespace = \"svg\";\n } else if (namespace !== \"mathml\" && isTargetMathML(target)) {\n namespace = \"mathml\";\n }\n if (parentComponent && parentComponent.isCE) {\n (parentComponent.ce._teleportTargets || (parentComponent.ce._teleportTargets = /* @__PURE__ */ new Set())).add(target);\n }\n if (!disabled2) {\n mount(vnode, target, targetAnchor);\n updateCssVars(vnode, false);\n }\n } else if (!!(process.env.NODE_ENV !== \"production\") && !disabled2) {\n warn$1(\"Invalid Teleport target on mount:\", target, `(${typeof target})`);\n }\n };\n const queuePendingMount = (vnode) => {\n const mountJob = () => {\n if (pendingMounts.get(vnode) !== mountJob) return;\n pendingMounts.delete(vnode);\n if (isTeleportDisabled(vnode.props)) {\n const mountContainer = parentNode(vnode.el) || container;\n mount(vnode, mountContainer, vnode.anchor);\n updateCssVars(vnode, true);\n }\n mountToTarget(vnode);\n };\n pendingMounts.set(vnode, mountJob);\n queuePostRenderEffect(mountJob, parentSuspense);\n };\n if (n1 == null) {\n const placeholder = n2.el = !!(process.env.NODE_ENV !== \"production\") ? createComment(\"teleport start\") : createText(\"\");\n const mainAnchor = n2.anchor = !!(process.env.NODE_ENV !== \"production\") ? createComment(\"teleport end\") : createText(\"\");\n insert(placeholder, container, anchor);\n insert(mainAnchor, container, anchor);\n if (isTeleportDeferred(n2.props) || parentSuspense && parentSuspense.pendingBranch) {\n queuePendingMount(n2);\n return;\n }\n if (disabled) {\n mount(n2, container, mainAnchor);\n updateCssVars(n2, true);\n }\n mountToTarget();\n } else {\n n2.el = n1.el;\n const mainAnchor = n2.anchor = n1.anchor;\n const pendingMount = pendingMounts.get(n1);\n if (pendingMount) {\n pendingMount.flags |= 8;\n pendingMounts.delete(n1);\n queuePendingMount(n2);\n return;\n }\n n2.targetStart = n1.targetStart;\n const target = n2.target = n1.target;\n const targetAnchor = n2.targetAnchor = n1.targetAnchor;\n const wasDisabled = isTeleportDisabled(n1.props);\n const currentContainer = wasDisabled ? container : target;\n const currentAnchor = wasDisabled ? mainAnchor : targetAnchor;\n if (namespace === \"svg\" || isTargetSVG(target)) {\n namespace = \"svg\";\n } else if (namespace === \"mathml\" || isTargetMathML(target)) {\n namespace = \"mathml\";\n }\n if (dynamicChildren) {\n patchBlockChildren(\n n1.dynamicChildren,\n dynamicChildren,\n currentContainer,\n parentComponent,\n parentSuspense,\n namespace,\n slotScopeIds\n );\n traverseStaticChildren(n1, n2, !!!(process.env.NODE_ENV !== \"production\"));\n } else if (!optimized) {\n patchChildren(\n n1,\n n2,\n currentContainer,\n currentAnchor,\n parentComponent,\n parentSuspense,\n namespace,\n slotScopeIds,\n false\n );\n }\n if (disabled) {\n if (!wasDisabled) {\n moveTeleport(\n n2,\n container,\n mainAnchor,\n internals,\n 1\n );\n } else {\n if (n2.props && n1.props && n2.props.to !== n1.props.to) {\n n2.props.to = n1.props.to;\n }\n }\n } else {\n if ((n2.props && n2.props.to) !== (n1.props && n1.props.to)) {\n const nextTarget = resolveTarget(n2.props, querySelector);\n if (nextTarget) {\n n2.target = nextTarget;\n moveTeleport(\n n2,\n nextTarget,\n null,\n internals,\n 0\n );\n } else if (!!(process.env.NODE_ENV !== \"production\")) {\n warn$1(\n \"Invalid Teleport target on update:\",\n target,\n `(${typeof target})`\n );\n }\n } else if (wasDisabled) {\n moveTeleport(\n n2,\n target,\n targetAnchor,\n internals,\n 1\n );\n }\n }\n updateCssVars(n2, disabled);\n }\n },\n remove(vnode, parentComponent, parentSuspense, { um: unmount, o: { remove: hostRemove } }, doRemove) {\n const {\n shapeFlag,\n children,\n anchor,\n targetStart,\n targetAnchor,\n target,\n props\n } = vnode;\n const disabled = isTeleportDisabled(props);\n const shouldRemove = doRemove || !disabled;\n const pendingMount = pendingMounts.get(vnode);\n if (pendingMount) {\n pendingMount.flags |= 8;\n pendingMounts.delete(vnode);\n }\n if (target) {\n hostRemove(targetStart);\n hostRemove(targetAnchor);\n }\n doRemove && hostRemove(anchor);\n if (!pendingMount && (disabled || target) && shapeFlag & 16) {\n for (let i = 0; i < children.length; i++) {\n const child = children[i];\n unmount(\n child,\n parentComponent,\n parentSuspense,\n shouldRemove,\n !!child.dynamicChildren\n );\n }\n }\n },\n move: moveTeleport,\n hydrate: hydrateTeleport\n};\nfunction moveTeleport(vnode, container, parentAnchor, { o: { insert }, m: move }, moveType = 2) {\n if (moveType === 0) {\n insert(vnode.targetAnchor, container, parentAnchor);\n }\n const { el, anchor, shapeFlag, children, props } = vnode;\n const isReorder = moveType === 2;\n if (isReorder) {\n insert(el, container, parentAnchor);\n }\n if (!pendingMounts.has(vnode) && (!isReorder || isTeleportDisabled(props))) {\n if (shapeFlag & 16) {\n for (let i = 0; i < children.length; i++) {\n move(\n children[i],\n container,\n parentAnchor,\n 2\n );\n }\n }\n }\n if (isReorder) {\n insert(anchor, container, parentAnchor);\n }\n}\nfunction hydrateTeleport(node, vnode, parentComponent, parentSuspense, slotScopeIds, optimized, {\n o: { nextSibling, parentNode, querySelector, insert, createText }\n}, hydrateChildren) {\n function hydrateAnchor(target2, targetNode) {\n let targetAnchor = targetNode;\n while (targetAnchor) {\n if (targetAnchor && targetAnchor.nodeType === 8) {\n if (targetAnchor.data === \"teleport start anchor\") {\n vnode.targetStart = targetAnchor;\n } else if (targetAnchor.data === \"teleport anchor\") {\n vnode.targetAnchor = targetAnchor;\n target2._lpa = vnode.targetAnchor && nextSibling(vnode.targetAnchor);\n break;\n }\n }\n targetAnchor = nextSibling(targetAnchor);\n }\n }\n function hydrateDisabledTeleport(node2, vnode2) {\n vnode2.anchor = hydrateChildren(\n nextSibling(node2),\n vnode2,\n parentNode(node2),\n parentComponent,\n parentSuspense,\n slotScopeIds,\n optimized\n );\n }\n const target = vnode.target = resolveTarget(\n vnode.props,\n querySelector\n );\n const disabled = isTeleportDisabled(vnode.props);\n if (target) {\n const targetNode = target._lpa || target.firstChild;\n if (vnode.shapeFlag & 16) {\n if (disabled) {\n hydrateDisabledTeleport(node, vnode);\n hydrateAnchor(target, targetNode);\n if (!vnode.targetAnchor) {\n prepareAnchor(\n target,\n vnode,\n createText,\n insert,\n // if target is the same as the main view, insert anchors before current node\n // to avoid hydrating mismatch\n parentNode(node) === target ? node : null\n );\n }\n } else {\n vnode.anchor = nextSibling(node);\n hydrateAnchor(target, targetNode);\n if (!vnode.targetAnchor) {\n prepareAnchor(target, vnode, createText, insert);\n }\n hydrateChildren(\n targetNode && nextSibling(targetNode),\n vnode,\n target,\n parentComponent,\n parentSuspense,\n slotScopeIds,\n optimized\n );\n }\n }\n updateCssVars(vnode, disabled);\n } else if (disabled) {\n if (vnode.shapeFlag & 16) {\n hydrateDisabledTeleport(node, vnode);\n vnode.targetStart = node;\n vnode.targetAnchor = nextSibling(node);\n }\n }\n return vnode.anchor && nextSibling(vnode.anchor);\n}\nconst Teleport = TeleportImpl;\nfunction updateCssVars(vnode, isDisabled) {\n const ctx = vnode.ctx;\n if (ctx && ctx.ut) {\n let node, anchor;\n if (isDisabled) {\n node = vnode.el;\n anchor = vnode.anchor;\n } else {\n node = vnode.targetStart;\n anchor = vnode.targetAnchor;\n }\n while (node && node !== anchor) {\n if (node.nodeType === 1) node.setAttribute(\"data-v-owner\", ctx.uid);\n node = node.nextSibling;\n }\n ctx.ut();\n }\n}\nfunction prepareAnchor(target, vnode, createText, insert, anchor = null) {\n const targetStart = vnode.targetStart = createText(\"\");\n const targetAnchor = vnode.targetAnchor = createText(\"\");\n targetStart[TeleportEndKey] = targetAnchor;\n if (target) {\n insert(targetStart, target, anchor);\n insert(targetAnchor, target, anchor);\n }\n return targetAnchor;\n}\n\nconst leaveCbKey = /* @__PURE__ */ Symbol(\"_leaveCb\");\nconst enterCbKey = /* @__PURE__ */ Symbol(\"_enterCb\");\nfunction useTransitionState() {\n const state = {\n isMounted: false,\n isLeaving: false,\n isUnmounting: false,\n leavingVNodes: /* @__PURE__ */ new Map()\n };\n onMounted(() => {\n state.isMounted = true;\n });\n onBeforeUnmount(() => {\n state.isUnmounting = true;\n });\n return state;\n}\nconst TransitionHookValidator = [Function, Array];\nconst BaseTransitionPropsValidators = {\n mode: String,\n appear: Boolean,\n persisted: Boolean,\n // enter\n onBeforeEnter: TransitionHookValidator,\n onEnter: TransitionHookValidator,\n onAfterEnter: TransitionHookValidator,\n onEnterCancelled: TransitionHookValidator,\n // leave\n onBeforeLeave: TransitionHookValidator,\n onLeave: TransitionHookValidator,\n onAfterLeave: TransitionHookValidator,\n onLeaveCancelled: TransitionHookValidator,\n // appear\n onBeforeAppear: TransitionHookValidator,\n onAppear: TransitionHookValidator,\n onAfterAppear: TransitionHookValidator,\n onAppearCancelled: TransitionHookValidator\n};\nconst recursiveGetSubtree = (instance) => {\n const subTree = instance.subTree;\n return subTree.component ? recursiveGetSubtree(subTree.component) : subTree;\n};\nconst BaseTransitionImpl = {\n name: `BaseTransition`,\n props: BaseTransitionPropsValidators,\n setup(props, { slots }) {\n const instance = getCurrentInstance();\n const state = useTransitionState();\n return () => {\n const children = slots.default && getTransitionRawChildren(slots.default(), true);\n const child = children && children.length ? findNonCommentChild(children) : (\n // Keep explicit default-slot conditionals on the same transition path\n // as regular v-if branches, which render a comment placeholder.\n instance.subTree ? createCommentVNode() : void 0\n );\n if (!child) {\n return;\n }\n const rawProps = toRaw(props);\n const { mode } = rawProps;\n if (!!(process.env.NODE_ENV !== \"production\") && mode && mode !== \"in-out\" && mode !== \"out-in\" && mode !== \"default\") {\n warn$1(`invalid mode: ${mode}`);\n }\n if (state.isLeaving) {\n return emptyPlaceholder(child);\n }\n const innerChild = getInnerChild$1(child);\n if (!innerChild) {\n return emptyPlaceholder(child);\n }\n let enterHooks = resolveTransitionHooks(\n innerChild,\n rawProps,\n state,\n instance,\n // #11061, ensure enterHooks is fresh after clone\n (hooks) => enterHooks = hooks\n );\n if (innerChild.type !== Comment) {\n setTransitionHooks(innerChild, enterHooks);\n }\n let oldInnerChild = instance.subTree && getInnerChild$1(instance.subTree);\n if (oldInnerChild && oldInnerChild.type !== Comment && !isSameVNodeType(oldInnerChild, innerChild) && recursiveGetSubtree(instance).type !== Comment) {\n let leavingHooks = resolveTransitionHooks(\n oldInnerChild,\n rawProps,\n state,\n instance\n );\n setTransitionHooks(oldInnerChild, leavingHooks);\n if (mode === \"out-in\" && innerChild.type !== Comment) {\n state.isLeaving = true;\n leavingHooks.afterLeave = () => {\n state.isLeaving = false;\n if (!(instance.job.flags & 8)) {\n instance.update();\n }\n delete leavingHooks.afterLeave;\n oldInnerChild = void 0;\n };\n return emptyPlaceholder(child);\n } else if (mode === \"in-out\" && innerChild.type !== Comment) {\n leavingHooks.delayLeave = (el, earlyRemove, delayedLeave) => {\n const leavingVNodesCache = getLeavingNodesForType(\n state,\n oldInnerChild\n );\n leavingVNodesCache[String(oldInnerChild.key)] = oldInnerChild;\n el[leaveCbKey] = () => {\n earlyRemove();\n el[leaveCbKey] = void 0;\n delete enterHooks.delayedLeave;\n oldInnerChild = void 0;\n };\n enterHooks.delayedLeave = () => {\n delayedLeave();\n delete enterHooks.delayedLeave;\n oldInnerChild = void 0;\n };\n };\n } else {\n oldInnerChild = void 0;\n }\n } else if (oldInnerChild) {\n oldInnerChild = void 0;\n }\n return child;\n };\n }\n};\nfunction findNonCommentChild(children) {\n let child = children[0];\n if (children.length > 1) {\n let hasFound = false;\n for (const c of children) {\n if (c.type !== Comment) {\n if (!!(process.env.NODE_ENV !== \"production\") && hasFound) {\n warn$1(\n \" can only be used on a single element or component. Use for lists.\"\n );\n break;\n }\n child = c;\n hasFound = true;\n if (!!!(process.env.NODE_ENV !== \"production\")) break;\n }\n }\n }\n return child;\n}\nconst BaseTransition = BaseTransitionImpl;\nfunction getLeavingNodesForType(state, vnode) {\n const { leavingVNodes } = state;\n let leavingVNodesCache = leavingVNodes.get(vnode.type);\n if (!leavingVNodesCache) {\n leavingVNodesCache = /* @__PURE__ */ Object.create(null);\n leavingVNodes.set(vnode.type, leavingVNodesCache);\n }\n return leavingVNodesCache;\n}\nfunction resolveTransitionHooks(vnode, props, state, instance, postClone) {\n const {\n appear,\n mode,\n persisted = false,\n onBeforeEnter,\n onEnter,\n onAfterEnter,\n onEnterCancelled,\n onBeforeLeave,\n onLeave,\n onAfterLeave,\n onLeaveCancelled,\n onBeforeAppear,\n onAppear,\n onAfterAppear,\n onAppearCancelled\n } = props;\n const key = String(vnode.key);\n const leavingVNodesCache = getLeavingNodesForType(state, vnode);\n const callHook = (hook, args) => {\n hook && callWithAsyncErrorHandling(\n hook,\n instance,\n 9,\n args\n );\n };\n const callAsyncHook = (hook, args) => {\n const done = args[1];\n callHook(hook, args);\n if (isArray(hook)) {\n if (hook.every((hook2) => hook2.length <= 1)) done();\n } else if (hook.length <= 1) {\n done();\n }\n };\n const hooks = {\n mode,\n persisted,\n beforeEnter(el) {\n let hook = onBeforeEnter;\n if (!state.isMounted) {\n if (appear) {\n hook = onBeforeAppear || onBeforeEnter;\n } else {\n return;\n }\n }\n if (el[leaveCbKey]) {\n el[leaveCbKey](\n true\n /* cancelled */\n );\n }\n const leavingVNode = leavingVNodesCache[key];\n if (leavingVNode && isSameVNodeType(vnode, leavingVNode) && leavingVNode.el[leaveCbKey]) {\n leavingVNode.el[leaveCbKey]();\n }\n callHook(hook, [el]);\n },\n enter(el) {\n if (!isHmrUpdating && leavingVNodesCache[key] === vnode) return;\n let hook = onEnter;\n let afterHook = onAfterEnter;\n let cancelHook = onEnterCancelled;\n if (!state.isMounted) {\n if (appear) {\n hook = onAppear || onEnter;\n afterHook = onAfterAppear || onAfterEnter;\n cancelHook = onAppearCancelled || onEnterCancelled;\n } else {\n return;\n }\n }\n let called = false;\n el[enterCbKey] = (cancelled) => {\n if (called) return;\n called = true;\n if (cancelled) {\n callHook(cancelHook, [el]);\n } else {\n callHook(afterHook, [el]);\n }\n if (hooks.delayedLeave) {\n hooks.delayedLeave();\n }\n el[enterCbKey] = void 0;\n };\n const done = el[enterCbKey].bind(null, false);\n if (hook) {\n callAsyncHook(hook, [el, done]);\n } else {\n done();\n }\n },\n leave(el, remove) {\n const key2 = String(vnode.key);\n if (el[enterCbKey]) {\n el[enterCbKey](\n true\n /* cancelled */\n );\n }\n if (state.isUnmounting) {\n return remove();\n }\n callHook(onBeforeLeave, [el]);\n let called = false;\n el[leaveCbKey] = (cancelled) => {\n if (called) return;\n called = true;\n remove();\n if (cancelled) {\n callHook(onLeaveCancelled, [el]);\n } else {\n callHook(onAfterLeave, [el]);\n }\n el[leaveCbKey] = void 0;\n if (leavingVNodesCache[key2] === vnode) {\n delete leavingVNodesCache[key2];\n }\n };\n const done = el[leaveCbKey].bind(null, false);\n leavingVNodesCache[key2] = vnode;\n if (onLeave) {\n callAsyncHook(onLeave, [el, done]);\n } else {\n done();\n }\n },\n clone(vnode2) {\n const hooks2 = resolveTransitionHooks(\n vnode2,\n props,\n state,\n instance,\n postClone\n );\n if (postClone) postClone(hooks2);\n return hooks2;\n }\n };\n return hooks;\n}\nfunction emptyPlaceholder(vnode) {\n if (isKeepAlive(vnode)) {\n vnode = cloneVNode(vnode);\n vnode.children = null;\n return vnode;\n }\n}\nfunction getInnerChild$1(vnode) {\n if (!isKeepAlive(vnode)) {\n if (isTeleport(vnode.type) && vnode.children) {\n return findNonCommentChild(vnode.children);\n }\n return vnode;\n }\n if (vnode.component) {\n return vnode.component.subTree;\n }\n const { shapeFlag, children } = vnode;\n if (children) {\n if (shapeFlag & 16) {\n return children[0];\n }\n if (shapeFlag & 32 && isFunction(children.default)) {\n return children.default();\n }\n }\n}\nfunction setTransitionHooks(vnode, hooks) {\n if (vnode.shapeFlag & 6 && vnode.component) {\n vnode.transition = hooks;\n const subTree = vnode.component.subTree;\n setTransitionHooks(\n isTeleport(subTree.type) ? getInnerChild$1(subTree) || subTree : subTree,\n hooks\n );\n } else if (vnode.shapeFlag & 128) {\n vnode.ssContent.transition = hooks.clone(vnode.ssContent);\n vnode.ssFallback.transition = hooks.clone(vnode.ssFallback);\n } else {\n vnode.transition = hooks;\n }\n}\nfunction getTransitionRawChildren(children, keepComment = false, parentKey) {\n let ret = [];\n let keyedFragmentCount = 0;\n for (let i = 0; i < children.length; i++) {\n let child = children[i];\n const key = parentKey == null ? child.key : String(parentKey) + String(child.key != null ? child.key : i);\n if (child.type === Fragment) {\n if (child.patchFlag & 128) keyedFragmentCount++;\n ret = ret.concat(\n getTransitionRawChildren(child.children, keepComment, key)\n );\n } else if (keepComment || child.type !== Comment) {\n ret.push(key != null ? cloneVNode(child, { key }) : child);\n }\n }\n if (keyedFragmentCount > 1) {\n for (let i = 0; i < ret.length; i++) {\n ret[i].patchFlag = -2;\n }\n }\n return ret;\n}\n\n// @__NO_SIDE_EFFECTS__\nfunction defineComponent(options, extraOptions) {\n return isFunction(options) ? (\n // #8236: extend call and options.name access are considered side-effects\n // by Rollup, so we have to wrap it in a pure-annotated IIFE.\n /* @__PURE__ */ (() => extend({ name: options.name }, extraOptions, { setup: options }))()\n ) : options;\n}\n\nfunction useId() {\n const i = getCurrentInstance();\n if (i) {\n return (i.appContext.config.idPrefix || \"v\") + \"-\" + i.ids[0] + i.ids[1]++;\n } else if (!!(process.env.NODE_ENV !== \"production\")) {\n warn$1(\n `useId() is called when there is no active component instance to be associated with.`\n );\n }\n return \"\";\n}\nfunction markAsyncBoundary(instance) {\n instance.ids = [instance.ids[0] + instance.ids[2]++ + \"-\", 0, 0];\n}\n\nconst knownTemplateRefs = /* @__PURE__ */ new WeakSet();\nfunction useTemplateRef(key) {\n const i = getCurrentInstance();\n const r = shallowRef(null);\n if (i) {\n const refs = i.refs === EMPTY_OBJ ? i.refs = {} : i.refs;\n if (!!(process.env.NODE_ENV !== \"production\") && isTemplateRefKey(refs, key)) {\n warn$1(`useTemplateRef('${key}') already exists.`);\n } else {\n Object.defineProperty(refs, key, {\n enumerable: true,\n get: () => r.value,\n set: (val) => r.value = val\n });\n }\n } else if (!!(process.env.NODE_ENV !== \"production\")) {\n warn$1(\n `useTemplateRef() is called when there is no active component instance to be associated with.`\n );\n }\n const ret = !!(process.env.NODE_ENV !== \"production\") ? readonly(r) : r;\n if (!!(process.env.NODE_ENV !== \"production\")) {\n knownTemplateRefs.add(ret);\n }\n return ret;\n}\nfunction isTemplateRefKey(refs, key) {\n let desc;\n return !!((desc = Object.getOwnPropertyDescriptor(refs, key)) && !desc.configurable);\n}\n\nconst pendingSetRefMap = /* @__PURE__ */ new WeakMap();\nfunction setRef(rawRef, oldRawRef, parentSuspense, vnode, isUnmount = false) {\n if (isArray(rawRef)) {\n rawRef.forEach(\n (r, i) => setRef(\n r,\n oldRawRef && (isArray(oldRawRef) ? oldRawRef[i] : oldRawRef),\n parentSuspense,\n vnode,\n isUnmount\n )\n );\n return;\n }\n if (isAsyncWrapper(vnode) && !isUnmount) {\n if (vnode.shapeFlag & 512 && vnode.type.__asyncResolved && vnode.component.subTree.component) {\n setRef(rawRef, oldRawRef, parentSuspense, vnode.component.subTree);\n }\n return;\n }\n const refValue = vnode.shapeFlag & 4 ? getComponentPublicInstance(vnode.component) : vnode.el;\n const value = isUnmount ? null : refValue;\n const { i: owner, r: ref } = rawRef;\n if (!!(process.env.NODE_ENV !== \"production\") && !owner) {\n warn$1(\n `Missing ref owner context. ref cannot be used on hoisted vnodes. A vnode with ref must be created inside the render function.`\n );\n return;\n }\n const oldRef = oldRawRef && oldRawRef.r;\n const refs = owner.refs === EMPTY_OBJ ? owner.refs = {} : owner.refs;\n const setupState = owner.setupState;\n const rawSetupState = toRaw(setupState);\n const canSetSetupRef = setupState === EMPTY_OBJ ? NO : (key) => {\n if (!!(process.env.NODE_ENV !== \"production\")) {\n if (hasOwn(rawSetupState, key) && !isRef(rawSetupState[key])) {\n warn$1(\n `Template ref \"${key}\" used on a non-ref value. It will not work in the production build.`\n );\n }\n if (knownTemplateRefs.has(rawSetupState[key])) {\n return false;\n }\n }\n if (isTemplateRefKey(refs, key)) {\n return false;\n }\n return hasOwn(rawSetupState, key);\n };\n const canSetRef = (ref2, key) => {\n if (!!(process.env.NODE_ENV !== \"production\") && knownTemplateRefs.has(ref2)) {\n return false;\n }\n if (key && isTemplateRefKey(refs, key)) {\n return false;\n }\n return true;\n };\n if (oldRef != null && oldRef !== ref) {\n invalidatePendingSetRef(oldRawRef);\n if (isString(oldRef)) {\n refs[oldRef] = null;\n if (canSetSetupRef(oldRef)) {\n setupState[oldRef] = null;\n }\n } else if (isRef(oldRef)) {\n const oldRawRefAtom = oldRawRef;\n if (canSetRef(oldRef, oldRawRefAtom.k)) {\n oldRef.value = null;\n }\n if (oldRawRefAtom.k) refs[oldRawRefAtom.k] = null;\n }\n }\n if (isFunction(ref)) {\n callWithErrorHandling(ref, owner, 12, [value, refs]);\n } else {\n const _isString = isString(ref);\n const _isRef = isRef(ref);\n if (_isString || _isRef) {\n const doSet = () => {\n if (rawRef.f) {\n const existing = _isString ? canSetSetupRef(ref) ? setupState[ref] : refs[ref] : canSetRef(ref) || !rawRef.k ? ref.value : refs[rawRef.k];\n if (isUnmount) {\n isArray(existing) && remove(existing, refValue);\n } else {\n if (!isArray(existing)) {\n if (_isString) {\n refs[ref] = [refValue];\n if (canSetSetupRef(ref)) {\n setupState[ref] = refs[ref];\n }\n } else {\n const newVal = [refValue];\n if (canSetRef(ref, rawRef.k)) {\n ref.value = newVal;\n }\n if (rawRef.k) refs[rawRef.k] = newVal;\n }\n } else if (!existing.includes(refValue)) {\n existing.push(refValue);\n }\n }\n } else if (_isString) {\n refs[ref] = value;\n if (canSetSetupRef(ref)) {\n setupState[ref] = value;\n }\n } else if (_isRef) {\n if (canSetRef(ref, rawRef.k)) {\n ref.value = value;\n }\n if (rawRef.k) refs[rawRef.k] = value;\n } else if (!!(process.env.NODE_ENV !== \"production\")) {\n warn$1(\"Invalid template ref type:\", ref, `(${typeof ref})`);\n }\n };\n if (value) {\n const job = () => {\n doSet();\n pendingSetRefMap.delete(rawRef);\n };\n job.id = -1;\n pendingSetRefMap.set(rawRef, job);\n queuePostRenderEffect(job, parentSuspense);\n } else {\n invalidatePendingSetRef(rawRef);\n doSet();\n }\n } else if (!!(process.env.NODE_ENV !== \"production\")) {\n warn$1(\"Invalid template ref type:\", ref, `(${typeof ref})`);\n }\n }\n}\nfunction invalidatePendingSetRef(rawRef) {\n const pendingSetRef = pendingSetRefMap.get(rawRef);\n if (pendingSetRef) {\n pendingSetRef.flags |= 8;\n pendingSetRefMap.delete(rawRef);\n }\n}\n\nlet hasLoggedMismatchError = false;\nconst logMismatchError = () => {\n if (hasLoggedMismatchError) {\n return;\n }\n console.error(\"Hydration completed but contains mismatches.\");\n hasLoggedMismatchError = true;\n};\nconst isSVGContainer = (container) => container.namespaceURI.includes(\"svg\") && container.tagName !== \"foreignObject\";\nconst isMathMLContainer = (container) => container.namespaceURI.includes(\"MathML\");\nconst getContainerType = (container) => {\n if (container.nodeType !== 1) return void 0;\n if (isSVGContainer(container)) return \"svg\";\n if (isMathMLContainer(container)) return \"mathml\";\n return void 0;\n};\nconst isComment = (node) => node.nodeType === 8;\nfunction createHydrationFunctions(rendererInternals) {\n const {\n mt: mountComponent,\n p: patch,\n o: {\n patchProp,\n createText,\n nextSibling,\n parentNode,\n remove,\n insert,\n createComment\n }\n } = rendererInternals;\n const hydrate = (vnode, container) => {\n if (!container.hasChildNodes()) {\n (!!(process.env.NODE_ENV !== \"production\") || __VUE_PROD_HYDRATION_MISMATCH_DETAILS__) && warn$1(\n `Attempting to hydrate existing markup but container is empty. Performing full mount instead.`\n );\n patch(null, vnode, container);\n flushPostFlushCbs();\n container._vnode = vnode;\n return;\n }\n hydrateNode(container.firstChild, vnode, null, null, null);\n flushPostFlushCbs();\n container._vnode = vnode;\n };\n const hydrateNode = (node, vnode, parentComponent, parentSuspense, slotScopeIds, optimized = false) => {\n optimized = optimized || !!vnode.dynamicChildren;\n const isFragmentStart = isComment(node) && node.data === \"[\";\n const onMismatch = () => handleMismatch(\n node,\n vnode,\n parentComponent,\n parentSuspense,\n slotScopeIds,\n isFragmentStart\n );\n const { type, ref, shapeFlag, patchFlag } = vnode;\n let domType = node.nodeType;\n vnode.el = node;\n if (!!(process.env.NODE_ENV !== \"production\") || __VUE_PROD_DEVTOOLS__) {\n def(node, \"__vnode\", vnode, true);\n def(node, \"__vueParentComponent\", parentComponent, true);\n }\n if (patchFlag === -2) {\n optimized = false;\n vnode.dynamicChildren = null;\n }\n let nextNode = null;\n switch (type) {\n case Text:\n if (domType !== 3) {\n if (vnode.children === \"\") {\n insert(vnode.el = createText(\"\"), parentNode(node), node);\n nextNode = node;\n } else {\n nextNode = onMismatch();\n }\n } else {\n if (node.data !== vnode.children) {\n (!!(process.env.NODE_ENV !== \"production\") || __VUE_PROD_HYDRATION_MISMATCH_DETAILS__) && warn$1(\n `Hydration text mismatch in`,\n node.parentNode,\n `\n - rendered on server: ${JSON.stringify(\n node.data\n )}\n - expected on client: ${JSON.stringify(vnode.children)}`\n );\n logMismatchError();\n node.data = vnode.children;\n }\n nextNode = nextSibling(node);\n }\n break;\n case Comment:\n if (isTemplateNode(node)) {\n nextNode = nextSibling(node);\n replaceNode(\n vnode.el = node.content.firstChild,\n node,\n parentComponent\n );\n } else if (domType !== 8 || isFragmentStart) {\n nextNode = onMismatch();\n } else {\n nextNode = nextSibling(node);\n }\n break;\n case Static:\n if (isFragmentStart) {\n node = nextSibling(node);\n domType = node.nodeType;\n }\n if (domType === 1 || domType === 3) {\n nextNode = node;\n const needToAdoptContent = !vnode.children.length;\n for (let i = 0; i < vnode.staticCount; i++) {\n if (needToAdoptContent)\n vnode.children += nextNode.nodeType === 1 ? nextNode.outerHTML : nextNode.data;\n if (i === vnode.staticCount - 1) {\n vnode.anchor = nextNode;\n }\n nextNode = nextSibling(nextNode);\n }\n return isFragmentStart ? nextSibling(nextNode) : nextNode;\n } else {\n onMismatch();\n }\n break;\n case Fragment:\n if (!isFragmentStart) {\n nextNode = onMismatch();\n } else {\n nextNode = hydrateFragment(\n node,\n vnode,\n parentComponent,\n parentSuspense,\n slotScopeIds,\n optimized\n );\n }\n break;\n default:\n if (shapeFlag & 1) {\n if ((domType !== 1 || vnode.type.toLowerCase() !== node.tagName.toLowerCase()) && !isTemplateNode(node)) {\n nextNode = onMismatch();\n } else {\n nextNode = hydrateElement(\n node,\n vnode,\n parentComponent,\n parentSuspense,\n slotScopeIds,\n optimized\n );\n }\n } else if (shapeFlag & 6) {\n vnode.slotScopeIds = slotScopeIds;\n const container = parentNode(node);\n if (isFragmentStart) {\n nextNode = locateClosingAnchor(node);\n } else if (isComment(node) && node.data === \"teleport start\") {\n nextNode = locateClosingAnchor(node, node.data, \"teleport end\");\n } else {\n nextNode = nextSibling(node);\n }\n mountComponent(\n vnode,\n container,\n null,\n parentComponent,\n parentSuspense,\n getContainerType(container),\n optimized\n );\n if (isAsyncWrapper(vnode) && !vnode.type.__asyncResolved) {\n let subTree;\n if (isFragmentStart) {\n subTree = createVNode(Fragment);\n subTree.anchor = nextNode ? nextNode.previousSibling : container.lastChild;\n } else {\n subTree = node.nodeType === 3 ? createTextVNode(\"\") : createVNode(\"div\");\n }\n subTree.el = node;\n vnode.component.subTree = subTree;\n }\n } else if (shapeFlag & 64) {\n if (domType !== 8) {\n nextNode = onMismatch();\n } else {\n nextNode = vnode.type.hydrate(\n node,\n vnode,\n parentComponent,\n parentSuspense,\n slotScopeIds,\n optimized,\n rendererInternals,\n hydrateChildren\n );\n }\n } else if (shapeFlag & 128) {\n nextNode = vnode.type.hydrate(\n node,\n vnode,\n parentComponent,\n parentSuspense,\n getContainerType(parentNode(node)),\n slotScopeIds,\n optimized,\n rendererInternals,\n hydrateNode\n );\n } else if (!!(process.env.NODE_ENV !== \"production\") || __VUE_PROD_HYDRATION_MISMATCH_DETAILS__) {\n warn$1(\"Invalid HostVNode type:\", type, `(${typeof type})`);\n }\n }\n if (ref != null) {\n setRef(ref, null, parentSuspense, vnode);\n }\n return nextNode;\n };\n const hydrateElement = (el, vnode, parentComponent, parentSuspense, slotScopeIds, optimized) => {\n optimized = optimized || !!vnode.dynamicChildren;\n const {\n type,\n dynamicProps,\n props,\n patchFlag,\n shapeFlag,\n dirs,\n transition\n } = vnode;\n const forcePatch = type === \"input\" || type === \"option\";\n const hasDynamicProps = !!dynamicProps;\n if (!!(process.env.NODE_ENV !== \"production\") || forcePatch || hasDynamicProps || patchFlag !== -1) {\n if (dirs) {\n invokeDirectiveHook(vnode, null, parentComponent, \"created\");\n }\n let needCallTransitionHooks = false;\n if (isTemplateNode(el)) {\n needCallTransitionHooks = needTransition(\n null,\n // no need check parentSuspense in hydration\n transition\n ) && parentComponent && parentComponent.vnode.props && parentComponent.vnode.props.appear;\n const content = el.content.firstChild;\n if (needCallTransitionHooks) {\n const cls = content.getAttribute(\"class\");\n if (cls) content.$cls = cls;\n transition.beforeEnter(content);\n }\n replaceNode(content, el, parentComponent);\n vnode.el = el = content;\n }\n if (shapeFlag & 16 && // skip if element has innerHTML / textContent\n !(props && (props.innerHTML || props.textContent))) {\n let next = hydrateChildren(\n el.firstChild,\n vnode,\n el,\n parentComponent,\n parentSuspense,\n slotScopeIds,\n optimized\n );\n if (next && !isMismatchAllowed(el, 1 /* CHILDREN */)) {\n (!!(process.env.NODE_ENV !== \"production\") || __VUE_PROD_HYDRATION_MISMATCH_DETAILS__) && warn$1(\n `Hydration children mismatch on`,\n el,\n `\nServer rendered element contains more child nodes than client vdom.`\n );\n logMismatchError();\n }\n while (next) {\n const cur = next;\n next = next.nextSibling;\n remove(cur);\n }\n } else if (shapeFlag & 8) {\n let clientText = vnode.children;\n if (clientText[0] === \"\\n\" && (el.tagName === \"PRE\" || el.tagName === \"TEXTAREA\")) {\n clientText = clientText.slice(1);\n }\n const { textContent } = el;\n if (textContent !== clientText && // innerHTML normalize \\r\\n or \\r into a single \\n in the DOM\n textContent !== clientText.replace(/\\r\\n|\\r/g, \"\\n\")) {\n if (!isMismatchAllowed(el, 0 /* TEXT */)) {\n (!!(process.env.NODE_ENV !== \"production\") || __VUE_PROD_HYDRATION_MISMATCH_DETAILS__) && warn$1(\n `Hydration text content mismatch on`,\n el,\n `\n - rendered on server: ${textContent}\n - expected on client: ${clientText}`\n );\n logMismatchError();\n }\n el.textContent = vnode.children;\n }\n }\n if (props) {\n if (!!(process.env.NODE_ENV !== \"production\") || __VUE_PROD_HYDRATION_MISMATCH_DETAILS__ || forcePatch || hasDynamicProps || !optimized || patchFlag & (16 | 32)) {\n const isCustomElement = el.tagName.includes(\"-\");\n const namespace = el.namespaceURI.includes(\"svg\") ? \"svg\" : el.namespaceURI.includes(\"MathML\") ? \"mathml\" : void 0;\n for (const key in props) {\n if ((!!(process.env.NODE_ENV !== \"production\") || __VUE_PROD_HYDRATION_MISMATCH_DETAILS__) && // #11189 skip if this node has directives that have created hooks\n // as it could have mutated the DOM in any possible way\n !(dirs && dirs.some((d) => d.dir.created)) && propHasMismatch(el, key, props[key], vnode, parentComponent)) {\n logMismatchError();\n }\n if (forcePatch && (key.endsWith(\"value\") || key === \"indeterminate\") || isOn(key) && !isReservedProp(key) || // force hydrate v-bind with .prop modifiers\n key[0] === \".\" || isCustomElement && !isReservedProp(key) || dynamicProps && dynamicProps.includes(key)) {\n if (isUnchangedResourceProp(el, key, props[key])) {\n continue;\n }\n patchProp(el, key, null, props[key], namespace, parentComponent);\n }\n }\n } else if (props.onClick) {\n patchProp(\n el,\n \"onClick\",\n null,\n props.onClick,\n void 0,\n parentComponent\n );\n } else if (patchFlag & 4 && isReactive(props.style)) {\n for (const key in props.style) props.style[key];\n }\n }\n let vnodeHooks;\n if (vnodeHooks = props && props.onVnodeBeforeMount) {\n invokeVNodeHook(vnodeHooks, parentComponent, vnode);\n }\n if (dirs) {\n invokeDirectiveHook(vnode, null, parentComponent, \"beforeMount\");\n }\n if ((vnodeHooks = props && props.onVnodeMounted) || dirs || needCallTransitionHooks) {\n queueEffectWithSuspense(() => {\n vnodeHooks && invokeVNodeHook(vnodeHooks, parentComponent, vnode);\n needCallTransitionHooks && transition.enter(el);\n dirs && invokeDirectiveHook(vnode, null, parentComponent, \"mounted\");\n }, parentSuspense);\n }\n }\n return el.nextSibling;\n };\n const hydrateChildren = (node, parentVNode, container, parentComponent, parentSuspense, slotScopeIds, optimized) => {\n optimized = optimized || !!parentVNode.dynamicChildren;\n const children = parentVNode.children;\n const l = children.length;\n let hasCheckedMismatch = false;\n for (let i = 0; i < l; i++) {\n const vnode = optimized ? children[i] : children[i] = normalizeVNode(children[i]);\n const isText = vnode.type === Text;\n if (node) {\n if (isText && !optimized) {\n if (i + 1 < l && normalizeVNode(children[i + 1]).type === Text) {\n insert(\n createText(\n node.data.slice(vnode.children.length)\n ),\n container,\n nextSibling(node)\n );\n node.data = vnode.children;\n }\n }\n node = hydrateNode(\n node,\n vnode,\n parentComponent,\n parentSuspense,\n slotScopeIds,\n optimized\n );\n } else if (isText && !vnode.children) {\n insert(vnode.el = createText(\"\"), container);\n } else {\n if (!hasCheckedMismatch) {\n hasCheckedMismatch = true;\n if (!isMismatchAllowed(container, 1 /* CHILDREN */)) {\n (!!(process.env.NODE_ENV !== \"production\") || __VUE_PROD_HYDRATION_MISMATCH_DETAILS__) && warn$1(\n `Hydration children mismatch on`,\n container,\n `\nServer rendered element contains fewer child nodes than client vdom.`\n );\n logMismatchError();\n }\n }\n patch(\n null,\n vnode,\n container,\n null,\n parentComponent,\n parentSuspense,\n getContainerType(container),\n slotScopeIds\n );\n }\n }\n return node;\n };\n const hydrateFragment = (node, vnode, parentComponent, parentSuspense, slotScopeIds, optimized) => {\n const { slotScopeIds: fragmentSlotScopeIds } = vnode;\n if (fragmentSlotScopeIds) {\n slotScopeIds = slotScopeIds ? slotScopeIds.concat(fragmentSlotScopeIds) : fragmentSlotScopeIds;\n }\n const container = parentNode(node);\n const next = hydrateChildren(\n nextSibling(node),\n vnode,\n container,\n parentComponent,\n parentSuspense,\n slotScopeIds,\n optimized\n );\n if (next && isComment(next) && next.data === \"]\") {\n return nextSibling(vnode.anchor = next);\n } else {\n logMismatchError();\n insert(vnode.anchor = createComment(`]`), container, next);\n return next;\n }\n };\n const handleMismatch = (node, vnode, parentComponent, parentSuspense, slotScopeIds, isFragment) => {\n if (!isNodeMismatchAllowed(node, vnode)) {\n (!!(process.env.NODE_ENV !== \"production\") || __VUE_PROD_HYDRATION_MISMATCH_DETAILS__) && warn$1(\n `Hydration node mismatch:\n- rendered on server:`,\n node,\n node.nodeType === 3 ? `(text)` : isComment(node) && node.data === \"[\" ? `(start of fragment)` : ``,\n `\n- expected on client:`,\n vnode.type\n );\n logMismatchError();\n }\n vnode.el = null;\n if (isFragment) {\n const end = locateClosingAnchor(node);\n while (true) {\n const next2 = nextSibling(node);\n if (next2 && next2 !== end) {\n remove(next2);\n } else {\n break;\n }\n }\n }\n const next = nextSibling(node);\n const container = parentNode(node);\n remove(node);\n patch(\n null,\n vnode,\n container,\n next,\n parentComponent,\n parentSuspense,\n getContainerType(container),\n slotScopeIds\n );\n if (parentComponent) {\n parentComponent.vnode.el = vnode.el;\n updateHOCHostEl(parentComponent, vnode.el);\n }\n return next;\n };\n const locateClosingAnchor = (node, open = \"[\", close = \"]\") => {\n let match = 0;\n while (node) {\n node = nextSibling(node);\n if (node && isComment(node)) {\n if (node.data === open) match++;\n if (node.data === close) {\n if (match === 0) {\n return nextSibling(node);\n } else {\n match--;\n }\n }\n }\n }\n return node;\n };\n const replaceNode = (newNode, oldNode, parentComponent) => {\n const parentNode2 = oldNode.parentNode;\n if (parentNode2) {\n parentNode2.replaceChild(newNode, oldNode);\n }\n let parent = parentComponent;\n while (parent) {\n if (parent.vnode.el === oldNode) {\n parent.vnode.el = parent.subTree.el = newNode;\n }\n parent = parent.parent;\n }\n };\n const isTemplateNode = (node) => {\n return node.nodeType === 1 && node.tagName === \"TEMPLATE\";\n };\n return [hydrate, hydrateNode];\n}\nconst resourceProps = /* @__PURE__ */ new Set([\"src\", \"srcset\", \"href\", \"poster\"]);\nfunction isUnchangedResourceProp(el, key, clientValue) {\n if (!resourceProps.has(key)) {\n return false;\n }\n return el.getAttribute(key) === (clientValue == null ? null : `${clientValue}`);\n}\nfunction propHasMismatch(el, key, clientValue, vnode, instance) {\n let mismatchType;\n let mismatchKey;\n let actual;\n let expected;\n if (key === \"class\") {\n if (el.$cls) {\n actual = el.$cls;\n delete el.$cls;\n } else {\n actual = el.getAttribute(\"class\");\n }\n expected = normalizeClass(clientValue);\n if (!isSetEqual(toClassSet(actual || \"\"), toClassSet(expected))) {\n mismatchType = 2 /* CLASS */;\n mismatchKey = `class`;\n }\n } else if (key === \"style\") {\n actual = el.getAttribute(\"style\") || \"\";\n expected = isString(clientValue) ? clientValue : stringifyStyle(normalizeStyle(clientValue));\n const actualMap = toStyleMap(actual);\n const expectedMap = toStyleMap(expected);\n if (vnode.dirs) {\n for (const { dir, value } of vnode.dirs) {\n if (dir.name === \"show\" && !value) {\n expectedMap.set(\"display\", \"none\");\n }\n }\n }\n if (instance) {\n resolveCssVars(instance, vnode, expectedMap);\n }\n if (!isMapEqual(actualMap, expectedMap)) {\n mismatchType = 3 /* STYLE */;\n mismatchKey = \"style\";\n }\n } else if (el instanceof SVGElement && isKnownSvgAttr(key) || el instanceof HTMLElement && (isBooleanAttr(key) || isKnownHtmlAttr(key))) {\n if (key === \"hidden\") {\n actual = normalizeHiddenValue(el.getAttribute(key));\n expected = normalizeHiddenValue(clientValue);\n } else if (isBooleanAttr(key)) {\n actual = el.hasAttribute(key);\n expected = includeBooleanAttr(clientValue);\n } else if (clientValue == null) {\n actual = el.hasAttribute(key);\n expected = false;\n } else {\n if (el.hasAttribute(key)) {\n actual = el.getAttribute(key);\n } else if (key === \"value\" && el.tagName === \"TEXTAREA\") {\n actual = el.value;\n } else {\n actual = false;\n }\n expected = isRenderableAttrValue(clientValue) ? String(clientValue) : false;\n }\n if (actual !== expected) {\n mismatchType = 4 /* ATTRIBUTE */;\n mismatchKey = key;\n }\n }\n if (mismatchType != null && !isMismatchAllowed(el, mismatchType)) {\n const format = (v) => v === false ? `(not rendered)` : `${mismatchKey}=\"${v}\"`;\n const preSegment = `Hydration ${MismatchTypeString[mismatchType]} mismatch on`;\n const postSegment = `\n - rendered on server: ${format(actual)}\n - expected on client: ${format(expected)}\n Note: this mismatch is check-only. The DOM will not be rectified in production due to performance overhead.\n You should fix the source of the mismatch.`;\n {\n warn$1(preSegment, el, postSegment);\n }\n return true;\n }\n return false;\n}\nfunction normalizeHiddenValue(value) {\n if (!isRenderableAttrValue(value)) {\n return false;\n }\n if (isString(value)) {\n return value.toLowerCase() === \"until-found\" ? \"until-found\" : \"\";\n }\n return includeBooleanAttr(value) ? \"\" : false;\n}\nfunction toClassSet(str) {\n return new Set(str.trim().split(/\\s+/));\n}\nfunction isSetEqual(a, b) {\n if (a.size !== b.size) {\n return false;\n }\n for (const s of a) {\n if (!b.has(s)) {\n return false;\n }\n }\n return true;\n}\nfunction toStyleMap(str) {\n const styleMap = /* @__PURE__ */ new Map();\n for (const item of str.split(\";\")) {\n let [key, value] = item.split(\":\");\n key = key.trim();\n value = value && value.trim();\n if (key && value) {\n styleMap.set(key, value);\n }\n }\n return styleMap;\n}\nfunction isMapEqual(a, b) {\n if (a.size !== b.size) {\n return false;\n }\n for (const [key, value] of a) {\n if (value !== b.get(key)) {\n return false;\n }\n }\n return true;\n}\nfunction resolveCssVars(instance, vnode, expectedMap) {\n const root = instance.subTree;\n if (instance.getCssVars && (vnode === root || root && root.type === Fragment && root.children.includes(vnode))) {\n const cssVars = instance.getCssVars();\n for (const key in cssVars) {\n const value = normalizeCssVarValue(cssVars[key]);\n expectedMap.set(`--${getEscapedCssVarName(key, false)}`, value);\n }\n }\n if (vnode === root && instance.parent) {\n resolveCssVars(instance.parent, instance.vnode, expectedMap);\n }\n}\nconst allowMismatchAttr = \"data-allow-mismatch\";\nconst MismatchTypeString = {\n [0 /* TEXT */]: \"text\",\n [1 /* CHILDREN */]: \"children\",\n [2 /* CLASS */]: \"class\",\n [3 /* STYLE */]: \"style\",\n [4 /* ATTRIBUTE */]: \"attribute\"\n};\nfunction isMismatchAllowed(el, allowedType) {\n if (allowedType === 0 /* TEXT */ || allowedType === 1 /* CHILDREN */) {\n while (el && !el.hasAttribute(allowMismatchAttr)) {\n el = el.parentElement;\n }\n }\n return isMismatchAllowedByAttr(\n el && el.getAttribute(allowMismatchAttr),\n allowedType\n );\n}\nfunction isMismatchAllowedByAttr(allowedAttr, allowedType) {\n if (allowedAttr == null) {\n return false;\n } else if (allowedAttr === \"\") {\n return true;\n } else {\n const list = allowedAttr.split(\",\");\n if (allowedType === 0 /* TEXT */ && list.includes(\"children\")) {\n return true;\n }\n return list.includes(MismatchTypeString[allowedType]);\n }\n}\nfunction isNodeMismatchAllowed(node, vnode) {\n return isMismatchAllowed(node.parentElement, 1 /* CHILDREN */) || isMismatchAllowedByNode(node) || isMismatchAllowedByVNode(vnode);\n}\nfunction isMismatchAllowedByNode(node) {\n return node.nodeType === 1 && isMismatchAllowedByAttr(\n node.getAttribute(allowMismatchAttr),\n 1 /* CHILDREN */\n );\n}\nfunction isMismatchAllowedByVNode({ props }) {\n const allowedAttr = props && props[allowMismatchAttr];\n return typeof allowedAttr === \"string\" && isMismatchAllowedByAttr(allowedAttr, 1 /* CHILDREN */);\n}\n\nconst requestIdleCallback = getGlobalThis().requestIdleCallback || ((cb) => setTimeout(cb, 1));\nconst cancelIdleCallback = getGlobalThis().cancelIdleCallback || ((id) => clearTimeout(id));\nconst hydrateOnIdle = (timeout = 1e4) => (hydrate) => {\n const id = requestIdleCallback(hydrate, { timeout });\n return () => cancelIdleCallback(id);\n};\nfunction elementIsVisibleInViewport(el) {\n const { top, left, bottom, right } = el.getBoundingClientRect();\n const { innerHeight, innerWidth } = window;\n return (top > 0 && top < innerHeight || bottom > 0 && bottom < innerHeight) && (left > 0 && left < innerWidth || right > 0 && right < innerWidth);\n}\nconst hydrateOnVisible = (opts) => (hydrate, forEach) => {\n const ob = new IntersectionObserver((entries) => {\n for (const e of entries) {\n if (!e.isIntersecting) continue;\n ob.disconnect();\n hydrate();\n break;\n }\n }, opts);\n forEach((el) => {\n if (!(el instanceof Element)) return;\n if (elementIsVisibleInViewport(el)) {\n hydrate();\n ob.disconnect();\n return false;\n }\n ob.observe(el);\n });\n return () => ob.disconnect();\n};\nconst hydrateOnMediaQuery = (query) => (hydrate) => {\n if (query) {\n const mql = matchMedia(query);\n if (mql.matches) {\n hydrate();\n } else {\n mql.addEventListener(\"change\", hydrate, { once: true });\n return () => mql.removeEventListener(\"change\", hydrate);\n }\n }\n};\nconst hydrateOnInteraction = (interactions = []) => (hydrate, forEach) => {\n if (isString(interactions)) interactions = [interactions];\n let hasHydrated = false;\n const doHydrate = (e) => {\n if (!hasHydrated) {\n hasHydrated = true;\n teardown();\n hydrate();\n e.target.dispatchEvent(new e.constructor(e.type, e));\n }\n };\n const teardown = () => {\n forEach((el) => {\n for (const i of interactions) {\n el.removeEventListener(i, doHydrate);\n }\n });\n };\n forEach((el) => {\n for (const i of interactions) {\n el.addEventListener(i, doHydrate, { once: true });\n }\n });\n return teardown;\n};\nfunction forEachElement(node, cb) {\n if (isComment(node) && node.data === \"[\") {\n let depth = 1;\n let next = node.nextSibling;\n while (next) {\n if (next.nodeType === 1) {\n const result = cb(next);\n if (result === false) {\n break;\n }\n } else if (isComment(next)) {\n if (next.data === \"]\") {\n if (--depth === 0) break;\n } else if (next.data === \"[\") {\n depth++;\n }\n }\n next = next.nextSibling;\n }\n } else {\n cb(node);\n }\n}\n\nconst isAsyncWrapper = (i) => !!i.type.__asyncLoader;\n// @__NO_SIDE_EFFECTS__\nfunction defineAsyncComponent(source) {\n if (isFunction(source)) {\n source = { loader: source };\n }\n const {\n loader,\n loadingComponent,\n errorComponent,\n delay = 200,\n hydrate: hydrateStrategy,\n timeout,\n // undefined = never times out\n suspensible = true,\n onError: userOnError\n } = source;\n let pendingRequest = null;\n let resolvedComp;\n let retries = 0;\n const retry = () => {\n retries++;\n pendingRequest = null;\n return load();\n };\n const load = () => {\n let thisRequest;\n return pendingRequest || (thisRequest = pendingRequest = loader().catch((err) => {\n err = err instanceof Error ? err : new Error(String(err));\n if (userOnError) {\n return new Promise((resolve, reject) => {\n const userRetry = () => resolve(retry());\n const userFail = () => reject(err);\n userOnError(err, userRetry, userFail, retries + 1);\n });\n } else {\n throw err;\n }\n }).then((comp) => {\n if (thisRequest !== pendingRequest && pendingRequest) {\n return pendingRequest;\n }\n if (!!(process.env.NODE_ENV !== \"production\") && !comp) {\n warn$1(\n `Async component loader resolved to undefined. If you are using retry(), make sure to return its return value.`\n );\n }\n if (comp && (comp.__esModule || comp[Symbol.toStringTag] === \"Module\")) {\n comp = comp.default;\n }\n if (!!(process.env.NODE_ENV !== \"production\") && comp && !isObject(comp) && !isFunction(comp)) {\n throw new Error(`Invalid async component load result: ${comp}`);\n }\n resolvedComp = comp;\n return comp;\n }));\n };\n return defineComponent({\n name: \"AsyncComponentWrapper\",\n __asyncLoader: load,\n __asyncHydrate(el, instance, hydrate) {\n const wasConnected = el.isConnected;\n let patched = false;\n (instance.bu || (instance.bu = [])).push(() => patched = true);\n const performHydrate = () => {\n if (patched) {\n if (!!(process.env.NODE_ENV !== \"production\")) {\n warn$1(\n `Skipping lazy hydration for component '${getComponentName(resolvedComp) || resolvedComp.__file}': it was updated before lazy hydration performed.`\n );\n }\n return;\n }\n if (!el.parentNode || wasConnected && !el.isConnected) return;\n hydrate();\n };\n const doHydrate = hydrateStrategy ? () => {\n const teardown = hydrateStrategy(\n performHydrate,\n (cb) => forEachElement(el, cb)\n );\n if (teardown) {\n (instance.bum || (instance.bum = [])).push(teardown);\n }\n } : performHydrate;\n if (resolvedComp) {\n doHydrate();\n } else {\n load().then(() => !instance.isUnmounted && doHydrate());\n }\n },\n get __asyncResolved() {\n return resolvedComp;\n },\n setup() {\n const instance = currentInstance;\n markAsyncBoundary(instance);\n if (resolvedComp) {\n return () => createInnerComp(resolvedComp, instance);\n }\n const onError = (err) => {\n pendingRequest = null;\n handleError(\n err,\n instance,\n 13,\n !errorComponent\n );\n };\n if (suspensible && instance.suspense || isInSSRComponentSetup) {\n return load().then((comp) => {\n return () => createInnerComp(comp, instance);\n }).catch((err) => {\n onError(err);\n return () => errorComponent ? createVNode(errorComponent, {\n error: err\n }) : null;\n });\n }\n const loaded = ref(false);\n const error = ref();\n const delayed = ref(!!delay);\n let timeoutTimer;\n let delayTimer;\n onUnmounted(() => {\n if (timeoutTimer != null) clearTimeout(timeoutTimer);\n if (delayTimer != null) clearTimeout(delayTimer);\n });\n if (delay) {\n delayTimer = setTimeout(() => {\n if (instance.isUnmounted) return;\n delayed.value = false;\n }, delay);\n }\n if (timeout != null) {\n timeoutTimer = setTimeout(() => {\n if (instance.isUnmounted) return;\n if (!loaded.value && !error.value) {\n const err = new Error(\n `Async component timed out after ${timeout}ms.`\n );\n onError(err);\n error.value = err;\n }\n }, timeout);\n }\n load().then(() => {\n if (instance.isUnmounted) return;\n loaded.value = true;\n if (instance.parent && isKeepAlive(instance.parent.vnode)) {\n instance.parent.update();\n }\n }).catch((err) => {\n if (instance.isUnmounted) {\n pendingRequest = null;\n return;\n }\n onError(err);\n error.value = err;\n });\n return () => {\n if (loaded.value && resolvedComp) {\n return createInnerComp(resolvedComp, instance);\n } else if (error.value && errorComponent) {\n return createVNode(errorComponent, {\n error: error.value\n });\n } else if (loadingComponent && !delayed.value) {\n return createInnerComp(\n loadingComponent,\n instance\n );\n }\n };\n }\n });\n}\nfunction createInnerComp(comp, parent) {\n const { ref: ref2, props, children, ce } = parent.vnode;\n const vnode = createVNode(comp, props, children);\n vnode.ref = ref2;\n vnode.ce = ce;\n delete parent.vnode.ce;\n return vnode;\n}\n\nconst isKeepAlive = (vnode) => vnode.type.__isKeepAlive;\nconst KeepAliveImpl = {\n name: `KeepAlive`,\n // Marker for special handling inside the renderer. We are not using a ===\n // check directly on KeepAlive in the renderer, because importing it directly\n // would prevent it from being tree-shaken.\n __isKeepAlive: true,\n props: {\n include: [String, RegExp, Array],\n exclude: [String, RegExp, Array],\n max: [String, Number]\n },\n setup(props, { slots }) {\n const instance = getCurrentInstance();\n const sharedContext = instance.ctx;\n if (!sharedContext.renderer) {\n return () => {\n const children = slots.default && slots.default();\n return children && children.length === 1 ? children[0] : children;\n };\n }\n const cache = /* @__PURE__ */ new Map();\n const keys = /* @__PURE__ */ new Set();\n let current = null;\n if (!!(process.env.NODE_ENV !== \"production\") || __VUE_PROD_DEVTOOLS__) {\n instance.__v_cache = cache;\n }\n const parentSuspense = instance.suspense;\n const {\n renderer: {\n p: patch,\n m: move,\n um: _unmount,\n o: { createElement }\n }\n } = sharedContext;\n const storageContainer = createElement(\"div\");\n sharedContext.activate = (vnode, container, anchor, namespace, optimized) => {\n const instance2 = vnode.component;\n move(vnode, container, anchor, 0, parentSuspense);\n patch(\n instance2.vnode,\n vnode,\n container,\n anchor,\n instance2,\n parentSuspense,\n namespace,\n vnode.slotScopeIds,\n optimized\n );\n queuePostRenderEffect(() => {\n instance2.isDeactivated = false;\n if (instance2.a) {\n invokeArrayFns(instance2.a);\n }\n const vnodeHook = vnode.props && vnode.props.onVnodeMounted;\n if (vnodeHook) {\n invokeVNodeHook(vnodeHook, instance2.parent, vnode);\n }\n }, parentSuspense);\n if (!!(process.env.NODE_ENV !== \"production\") || __VUE_PROD_DEVTOOLS__) {\n devtoolsComponentAdded(instance2);\n }\n };\n sharedContext.deactivate = (vnode) => {\n const instance2 = vnode.component;\n invalidateMount(instance2.m);\n invalidateMount(instance2.a);\n move(vnode, storageContainer, null, 1, parentSuspense);\n queuePostRenderEffect(() => {\n if (instance2.da) {\n invokeArrayFns(instance2.da);\n }\n const vnodeHook = vnode.props && vnode.props.onVnodeUnmounted;\n if (vnodeHook) {\n invokeVNodeHook(vnodeHook, instance2.parent, vnode);\n }\n instance2.isDeactivated = true;\n }, parentSuspense);\n if (!!(process.env.NODE_ENV !== \"production\") || __VUE_PROD_DEVTOOLS__) {\n devtoolsComponentAdded(instance2);\n }\n if (!!(process.env.NODE_ENV !== \"production\") && true) {\n instance2.__keepAliveStorageContainer = storageContainer;\n }\n };\n function unmount(vnode) {\n resetShapeFlag(vnode);\n _unmount(vnode, instance, parentSuspense, true);\n }\n function pruneCache(filter) {\n cache.forEach((vnode, key) => {\n const name = getComponentName(\n isAsyncWrapper(vnode) ? vnode.type.__asyncResolved || {} : vnode.type\n );\n if (name && !filter(name)) {\n pruneCacheEntry(key);\n }\n });\n }\n function pruneCacheEntry(key) {\n const cached = cache.get(key);\n if (cached && (!current || !isSameVNodeType(cached, current))) {\n unmount(cached);\n } else if (current) {\n resetShapeFlag(current);\n }\n cache.delete(key);\n keys.delete(key);\n }\n watch(\n () => [props.include, props.exclude],\n ([include, exclude]) => {\n include && pruneCache((name) => matches(include, name));\n exclude && pruneCache((name) => !matches(exclude, name));\n },\n // prune post-render after `current` has been updated\n { flush: \"post\", deep: true }\n );\n let pendingCacheKey = null;\n const cacheSubtree = () => {\n if (pendingCacheKey != null) {\n if (isSuspense(instance.subTree.type)) {\n queuePostRenderEffect(() => {\n cache.set(pendingCacheKey, getInnerChild(instance.subTree));\n }, instance.subTree.suspense);\n } else {\n cache.set(pendingCacheKey, getInnerChild(instance.subTree));\n }\n }\n };\n onMounted(cacheSubtree);\n onUpdated(cacheSubtree);\n onBeforeUnmount(() => {\n cache.forEach((cached) => {\n const { subTree, suspense } = instance;\n const vnode = getInnerChild(subTree);\n if (cached.type === vnode.type && cached.key === vnode.key) {\n resetShapeFlag(vnode);\n const da = vnode.component.da;\n da && queuePostRenderEffect(da, suspense);\n return;\n }\n unmount(cached);\n });\n });\n return () => {\n pendingCacheKey = null;\n if (!slots.default) {\n return current = null;\n }\n const children = slots.default();\n const rawVNode = children[0];\n if (children.length > 1) {\n if (!!(process.env.NODE_ENV !== \"production\")) {\n warn$1(`KeepAlive should contain exactly one component child.`);\n }\n current = null;\n return children;\n } else if (!isVNode(rawVNode) || !(rawVNode.shapeFlag & 4) && !(rawVNode.shapeFlag & 128)) {\n current = null;\n return rawVNode;\n }\n let vnode = getInnerChild(rawVNode);\n if (vnode.type === Comment) {\n current = null;\n return vnode;\n }\n const comp = vnode.type;\n const name = getComponentName(\n isAsyncWrapper(vnode) ? vnode.type.__asyncResolved || {} : comp\n );\n const { include, exclude, max } = props;\n if (include && (!name || !matches(include, name)) || exclude && name && matches(exclude, name)) {\n vnode.shapeFlag &= -257;\n current = vnode;\n return rawVNode;\n }\n const key = vnode.key == null ? comp : vnode.key;\n const cachedVNode = cache.get(key);\n if (vnode.el) {\n vnode = cloneVNode(vnode);\n if (rawVNode.shapeFlag & 128) {\n rawVNode.ssContent = vnode;\n }\n }\n pendingCacheKey = key;\n if (cachedVNode) {\n vnode.el = cachedVNode.el;\n vnode.component = cachedVNode.component;\n if (vnode.transition) {\n setTransitionHooks(vnode, vnode.transition);\n }\n vnode.shapeFlag |= 512;\n keys.delete(key);\n keys.add(key);\n } else {\n keys.add(key);\n if (max && keys.size > parseInt(max, 10)) {\n pruneCacheEntry(keys.values().next().value);\n }\n }\n vnode.shapeFlag |= 256;\n current = vnode;\n return isSuspense(rawVNode.type) ? rawVNode : vnode;\n };\n }\n};\nconst KeepAlive = KeepAliveImpl;\nfunction matches(pattern, name) {\n if (isArray(pattern)) {\n return pattern.some((p) => matches(p, name));\n } else if (isString(pattern)) {\n return pattern.split(\",\").includes(name);\n } else if (isRegExp(pattern)) {\n pattern.lastIndex = 0;\n return pattern.test(name);\n }\n return false;\n}\nfunction onActivated(hook, target) {\n registerKeepAliveHook(hook, \"a\", target);\n}\nfunction onDeactivated(hook, target) {\n registerKeepAliveHook(hook, \"da\", target);\n}\nfunction registerKeepAliveHook(hook, type, target = currentInstance) {\n const wrappedHook = hook.__wdc || (hook.__wdc = () => {\n let current = target;\n while (current) {\n if (current.isDeactivated) {\n return;\n }\n current = current.parent;\n }\n return hook();\n });\n injectHook(type, wrappedHook, target);\n if (target) {\n let current = target.parent;\n while (current && current.parent) {\n if (isKeepAlive(current.parent.vnode)) {\n injectToKeepAliveRoot(wrappedHook, type, target, current);\n }\n current = current.parent;\n }\n }\n}\nfunction injectToKeepAliveRoot(hook, type, target, keepAliveRoot) {\n const injected = injectHook(\n type,\n hook,\n keepAliveRoot,\n true\n /* prepend */\n );\n onUnmounted(() => {\n remove(keepAliveRoot[type], injected);\n }, target);\n}\nfunction resetShapeFlag(vnode) {\n vnode.shapeFlag &= -257;\n vnode.shapeFlag &= -513;\n}\nfunction getInnerChild(vnode) {\n return vnode.shapeFlag & 128 ? vnode.ssContent : vnode;\n}\n\nfunction injectHook(type, hook, target = currentInstance, prepend = false) {\n if (target) {\n const hooks = target[type] || (target[type] = []);\n const wrappedHook = hook.__weh || (hook.__weh = (...args) => {\n pauseTracking();\n const reset = setCurrentInstance(target);\n const res = callWithAsyncErrorHandling(hook, target, type, args);\n reset();\n resetTracking();\n return res;\n });\n if (prepend) {\n hooks.unshift(wrappedHook);\n } else {\n hooks.push(wrappedHook);\n }\n return wrappedHook;\n } else if (!!(process.env.NODE_ENV !== \"production\")) {\n const apiName = toHandlerKey(ErrorTypeStrings$1[type].replace(/ hook$/, \"\"));\n warn$1(\n `${apiName} is called when there is no active component instance to be associated with. Lifecycle injection APIs can only be used during execution of setup().` + (` If you are using async setup(), make sure to register lifecycle hooks before the first await statement.` )\n );\n }\n}\nconst createHook = (lifecycle) => (hook, target = currentInstance) => {\n if (!isInSSRComponentSetup || lifecycle === \"sp\") {\n injectHook(lifecycle, (...args) => hook(...args), target);\n }\n};\nconst onBeforeMount = createHook(\"bm\");\nconst onMounted = createHook(\"m\");\nconst onBeforeUpdate = createHook(\n \"bu\"\n);\nconst onUpdated = createHook(\"u\");\nconst onBeforeUnmount = createHook(\n \"bum\"\n);\nconst onUnmounted = createHook(\"um\");\nconst onServerPrefetch = createHook(\n \"sp\"\n);\nconst onRenderTriggered = createHook(\"rtg\");\nconst onRenderTracked = createHook(\"rtc\");\nfunction onErrorCaptured(hook, target = currentInstance) {\n injectHook(\"ec\", hook, target);\n}\n\nconst COMPONENTS = \"components\";\nconst DIRECTIVES = \"directives\";\nfunction resolveComponent(name, maybeSelfReference) {\n return resolveAsset(COMPONENTS, name, true, maybeSelfReference) || name;\n}\nconst NULL_DYNAMIC_COMPONENT = /* @__PURE__ */ Symbol.for(\"v-ndc\");\nfunction resolveDynamicComponent(component) {\n if (isString(component)) {\n return resolveAsset(COMPONENTS, component, false) || component;\n } else {\n return component || NULL_DYNAMIC_COMPONENT;\n }\n}\nfunction resolveDirective(name) {\n return resolveAsset(DIRECTIVES, name);\n}\nfunction resolveAsset(type, name, warnMissing = true, maybeSelfReference = false) {\n const instance = currentRenderingInstance || currentInstance;\n if (instance) {\n const Component = instance.type;\n if (type === COMPONENTS) {\n const selfName = getComponentName(\n Component,\n false\n );\n if (selfName && (selfName === name || selfName === camelize(name) || selfName === capitalize(camelize(name)))) {\n return Component;\n }\n }\n const res = (\n // local registration\n // check instance[type] first which is resolved for options API\n resolve(instance[type] || Component[type], name) || // global registration\n resolve(instance.appContext[type], name)\n );\n if (!res && maybeSelfReference) {\n return Component;\n }\n if (!!(process.env.NODE_ENV !== \"production\") && warnMissing && !res) {\n const extra = type === COMPONENTS ? `\nIf this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.` : ``;\n warn$1(`Failed to resolve ${type.slice(0, -1)}: ${name}${extra}`);\n }\n return res;\n } else if (!!(process.env.NODE_ENV !== \"production\")) {\n warn$1(\n `resolve${capitalize(type.slice(0, -1))} can only be used in render() or setup().`\n );\n }\n}\nfunction resolve(registry, name) {\n return registry && (registry[name] || registry[camelize(name)] || registry[capitalize(camelize(name))]);\n}\n\nfunction renderList(source, renderItem, cache, index) {\n let ret;\n const cached = cache && cache[index];\n const sourceIsArray = isArray(source);\n if (sourceIsArray || isString(source)) {\n const sourceIsReactiveArray = sourceIsArray && isReactive(source);\n let needsWrap = false;\n let isReadonlySource = false;\n if (sourceIsReactiveArray) {\n needsWrap = !isShallow(source);\n isReadonlySource = isReadonly(source);\n source = shallowReadArray(source);\n }\n ret = new Array(source.length);\n for (let i = 0, l = source.length; i < l; i++) {\n ret[i] = renderItem(\n needsWrap ? isReadonlySource ? toReadonly(toReactive(source[i])) : toReactive(source[i]) : source[i],\n i,\n void 0,\n cached && cached[i]\n );\n }\n } else if (typeof source === \"number\") {\n if (!!(process.env.NODE_ENV !== \"production\") && (!Number.isInteger(source) || source < 0)) {\n warn$1(\n `The v-for range expects a positive integer value but got ${source}.`\n );\n ret = [];\n } else {\n ret = new Array(source);\n for (let i = 0; i < source; i++) {\n ret[i] = renderItem(i + 1, i, void 0, cached && cached[i]);\n }\n }\n } else if (isObject(source)) {\n if (source[Symbol.iterator]) {\n ret = Array.from(\n source,\n (item, i) => renderItem(item, i, void 0, cached && cached[i])\n );\n } else {\n const keys = Object.keys(source);\n ret = new Array(keys.length);\n for (let i = 0, l = keys.length; i < l; i++) {\n const key = keys[i];\n ret[i] = renderItem(source[key], key, i, cached && cached[i]);\n }\n }\n } else {\n ret = [];\n }\n if (cache) {\n cache[index] = ret;\n }\n return ret;\n}\n\nfunction createSlots(slots, dynamicSlots) {\n for (let i = 0; i < dynamicSlots.length; i++) {\n const slot = dynamicSlots[i];\n if (isArray(slot)) {\n for (let j = 0; j < slot.length; j++) {\n slots[slot[j].name] = slot[j].fn;\n }\n } else if (slot) {\n slots[slot.name] = slot.key ? (...args) => {\n const res = slot.fn(...args);\n if (res) res.key = slot.key;\n return res;\n } : slot.fn;\n }\n }\n return slots;\n}\n\nfunction renderSlot(slots, name, props, fallback, noSlotted, branchKey) {\n if (props == null) props = {};\n if (currentRenderingInstance.ce || currentRenderingInstance.parent && isAsyncWrapper(currentRenderingInstance.parent) && currentRenderingInstance.parent.ce) {\n const slotProps = branchKey != null && props.key == null ? extend({}, props, { key: branchKey }) : props;\n const hasProps = Object.keys(slotProps).length > 0;\n if (name !== \"default\") slotProps.name = name;\n return openBlock(), createBlock(\n Fragment,\n null,\n [createVNode(\"slot\", slotProps, fallback && fallback())],\n hasProps ? -2 : 64\n );\n }\n let slot = slots[name];\n if (!!(process.env.NODE_ENV !== \"production\") && slot && slot.length > 1) {\n warn$1(\n `SSR-optimized slot function detected in a non-SSR-optimized render function. You need to mark this component with $dynamic-slots in the parent template.`\n );\n slot = () => [];\n }\n if (slot && slot._c) {\n slot._d = false;\n }\n const prevStackSize = blockStack.length;\n openBlock();\n let rendered;\n try {\n const validSlotContent = slot && ensureValidVNode(slot(props));\n const slotKey = props.key || branchKey || // slot content array of a dynamic conditional slot may have a branch\n // key attached in the `createSlots` helper, respect that\n validSlotContent && validSlotContent.key;\n rendered = createBlock(\n Fragment,\n {\n key: (slotKey && !isSymbol(slotKey) ? slotKey : `_${name}`) + // #7256 force differentiate fallback content from actual content\n (!validSlotContent && fallback ? \"_fb\" : \"\")\n },\n validSlotContent || (fallback ? fallback() : []),\n validSlotContent && slots._ === 1 ? 64 : -2\n );\n } catch (err) {\n for (let i = blockStack.length; i > prevStackSize; i--) closeBlock();\n throw err;\n } finally {\n if (slot && slot._c) {\n slot._d = true;\n }\n }\n if (!noSlotted && rendered.scopeId) {\n rendered.slotScopeIds = [rendered.scopeId + \"-s\"];\n }\n return rendered;\n}\nfunction ensureValidVNode(vnodes) {\n return vnodes.some((child) => {\n if (!isVNode(child)) return true;\n if (child.type === Comment) return false;\n if (child.type === Fragment && !ensureValidVNode(child.children))\n return false;\n return true;\n }) ? vnodes : null;\n}\n\nfunction toHandlers(obj, preserveCaseIfNecessary) {\n const ret = {};\n if (!!(process.env.NODE_ENV !== \"production\") && !isObject(obj)) {\n warn$1(`v-on with no argument expects an object value.`);\n return ret;\n }\n for (const key in obj) {\n ret[preserveCaseIfNecessary && /[A-Z]/.test(key) ? `on:${key}` : toHandlerKey(key)] = obj[key];\n }\n return ret;\n}\n\nconst getPublicInstance = (i) => {\n if (!i) return null;\n if (isStatefulComponent(i)) return getComponentPublicInstance(i);\n return getPublicInstance(i.parent);\n};\nconst publicPropertiesMap = (\n // Move PURE marker to new line to workaround compiler discarding it\n // due to type annotation\n /* @__PURE__ */ extend(/* @__PURE__ */ Object.create(null), {\n $: (i) => i,\n $el: (i) => i.vnode.el,\n $data: (i) => i.data,\n $props: (i) => !!(process.env.NODE_ENV !== \"production\") ? shallowReadonly(i.props) : i.props,\n $attrs: (i) => !!(process.env.NODE_ENV !== \"production\") ? shallowReadonly(i.attrs) : i.attrs,\n $slots: (i) => !!(process.env.NODE_ENV !== \"production\") ? shallowReadonly(i.slots) : i.slots,\n $refs: (i) => !!(process.env.NODE_ENV !== \"production\") ? shallowReadonly(i.refs) : i.refs,\n $parent: (i) => getPublicInstance(i.parent),\n $root: (i) => getPublicInstance(i.root),\n $host: (i) => i.ce,\n $emit: (i) => i.emit,\n $options: (i) => __VUE_OPTIONS_API__ ? resolveMergedOptions(i) : i.type,\n $forceUpdate: (i) => i.f || (i.f = () => {\n queueJob(i.update);\n }),\n $nextTick: (i) => i.n || (i.n = nextTick.bind(i.proxy)),\n $watch: (i) => __VUE_OPTIONS_API__ ? instanceWatch.bind(i) : NOOP\n })\n);\nconst isReservedPrefix = (key) => key === \"_\" || key === \"$\";\nconst hasSetupBinding = (state, key) => state !== EMPTY_OBJ && !state.__isScriptSetup && hasOwn(state, key);\nconst PublicInstanceProxyHandlers = {\n get({ _: instance }, key) {\n if (key === \"__v_skip\") {\n return true;\n }\n const { ctx, setupState, data, props, accessCache, type, appContext } = instance;\n if (!!(process.env.NODE_ENV !== \"production\") && key === \"__isVue\") {\n return true;\n }\n if (key[0] !== \"$\") {\n const n = accessCache[key];\n if (n !== void 0) {\n switch (n) {\n case 1 /* SETUP */:\n return setupState[key];\n case 2 /* DATA */:\n return data[key];\n case 4 /* CONTEXT */:\n return ctx[key];\n case 3 /* PROPS */:\n return props[key];\n }\n } else if (hasSetupBinding(setupState, key)) {\n accessCache[key] = 1 /* SETUP */;\n return setupState[key];\n } else if (__VUE_OPTIONS_API__ && data !== EMPTY_OBJ && hasOwn(data, key)) {\n accessCache[key] = 2 /* DATA */;\n return data[key];\n } else if (hasOwn(props, key)) {\n accessCache[key] = 3 /* PROPS */;\n return props[key];\n } else if (ctx !== EMPTY_OBJ && hasOwn(ctx, key)) {\n accessCache[key] = 4 /* CONTEXT */;\n return ctx[key];\n } else if (!__VUE_OPTIONS_API__ || shouldCacheAccess) {\n accessCache[key] = 0 /* OTHER */;\n }\n }\n const publicGetter = publicPropertiesMap[key];\n let cssModule, globalProperties;\n if (publicGetter) {\n if (key === \"$attrs\") {\n track(instance.attrs, \"get\", \"\");\n !!(process.env.NODE_ENV !== \"production\") && markAttrsAccessed();\n } else if (!!(process.env.NODE_ENV !== \"production\") && key === \"$slots\") {\n track(instance, \"get\", key);\n }\n return publicGetter(instance);\n } else if (\n // css module (injected by vue-loader)\n (cssModule = type.__cssModules) && (cssModule = cssModule[key])\n ) {\n return cssModule;\n } else if (ctx !== EMPTY_OBJ && hasOwn(ctx, key)) {\n accessCache[key] = 4 /* CONTEXT */;\n return ctx[key];\n } else if (\n // global properties\n globalProperties = appContext.config.globalProperties, hasOwn(globalProperties, key)\n ) {\n {\n return globalProperties[key];\n }\n } else if (!!(process.env.NODE_ENV !== \"production\") && currentRenderingInstance && (!isString(key) || // #1091 avoid internal isRef/isVNode checks on component instance leading\n // to infinite warning loop\n key.indexOf(\"__v\") !== 0)) {\n if (data !== EMPTY_OBJ && isReservedPrefix(key[0]) && hasOwn(data, key)) {\n warn$1(\n `Property ${JSON.stringify(\n key\n )} must be accessed via $data because it starts with a reserved character (\"$\" or \"_\") and is not proxied on the render context.`\n );\n } else if (instance === currentRenderingInstance) {\n warn$1(\n `Property ${JSON.stringify(key)} was accessed during render but is not defined on instance.`\n );\n }\n }\n },\n set({ _: instance }, key, value) {\n const { data, setupState, ctx } = instance;\n if (hasSetupBinding(setupState, key)) {\n setupState[key] = value;\n return true;\n } else if (!!(process.env.NODE_ENV !== \"production\") && setupState.__isScriptSetup && hasOwn(setupState, key)) {\n warn$1(`Cannot mutate \n\n\n","function linkTo(app, file) {\n return generateFilePath(app, \"\", file);\n}\nconst linkToRemoteBase = (service) => \"/remote.php/\" + service;\nconst generateRemoteUrl = (service, options) => {\n const baseURL = options?.baseURL ?? getBaseUrl();\n return baseURL + linkToRemoteBase(service);\n};\nconst generateOcsUrl = (url, params, options) => {\n const allOptions = Object.assign({\n ocsVersion: 2\n }, options || {});\n const version = allOptions.ocsVersion === 1 ? 1 : 2;\n const baseURL = options?.baseURL ?? getBaseUrl();\n return baseURL + \"/ocs/v\" + version + \".php\" + _generateUrlPath(url, params, options);\n};\nconst _generateUrlPath = (url, params, options) => {\n const allOptions = Object.assign({\n escape: true\n }, options || {});\n const _build = function(text, vars) {\n vars = vars || {};\n return text.replace(\n /{([^{}]*)}/g,\n function(a, b) {\n const r = vars[b];\n if (allOptions.escape) {\n return typeof r === \"string\" || typeof r === \"number\" ? encodeURIComponent(r.toString()) : encodeURIComponent(a);\n } else {\n return typeof r === \"string\" || typeof r === \"number\" ? r.toString() : a;\n }\n }\n );\n };\n if (url.charAt(0) !== \"/\") {\n url = \"/\" + url;\n }\n return _build(url, params || {});\n};\nconst generateUrl = (url, params, options) => {\n const allOptions = Object.assign({\n noRewrite: false\n }, options || {});\n const baseOrRootURL = options?.baseURL ?? getRootUrl();\n if (window?.OC?.config?.modRewriteWorking === true && !allOptions.noRewrite) {\n return baseOrRootURL + _generateUrlPath(url, params, options);\n }\n return baseOrRootURL + \"/index.php\" + _generateUrlPath(url, params, options);\n};\nconst imagePath = (app, file) => {\n if (!file.includes(\".\")) {\n return generateFilePath(app, \"img\", `${file}.svg`);\n }\n return generateFilePath(app, \"img\", file);\n};\nconst generateFilePath = (app, type, file) => {\n const isCore = window?.OC?.coreApps?.includes(app) ?? false;\n const isPHP = file.slice(-3) === \"php\";\n let link = getRootUrl();\n if (isPHP && !isCore) {\n link += `/index.php/apps/${app}`;\n if (type) {\n link += `/${encodeURI(type)}`;\n }\n if (file !== \"index.php\") {\n link += `/${file}`;\n }\n } else if (!isPHP && !isCore) {\n link = getAppRootUrl(app);\n if (type) {\n link += `/${type}/`;\n }\n if (link.at(-1) !== \"/\") {\n link += \"/\";\n }\n link += file;\n } else {\n if ((app === \"settings\" || app === \"core\" || app === \"search\") && type === \"ajax\") {\n link += \"/index.php\";\n }\n if (app) {\n link += `/${app}`;\n }\n if (type) {\n link += `/${type}`;\n }\n link += `/${file}`;\n }\n return link;\n};\nconst getBaseUrl = () => window.location.protocol + \"//\" + window.location.host + getRootUrl();\nfunction getRootUrl() {\n let webroot = window._oc_webroot;\n if (typeof webroot === \"undefined\") {\n webroot = location.pathname;\n const pos = webroot.indexOf(\"/index.php/\");\n if (pos !== -1) {\n webroot = webroot.slice(0, pos);\n } else {\n const index = webroot.indexOf(\"/\", 1);\n webroot = webroot.slice(0, index > 0 ? index : void 0);\n }\n }\n return webroot;\n}\nfunction getAppRootUrl(app) {\n const webroots = window._oc_appswebroots ?? {};\n return webroots[app] ?? \"\";\n}\n/*!\n * SPDX-FileCopyrightText: 2025 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: GPL-3.0-or-later\n */\nfunction generateAvatarUrl(user, options) {\n const size = (options?.size || 64) <= 64 ? 64 : 512;\n const guestUrl = options?.isGuestUser ? \"/guest\" : \"\";\n const themeUrl = options?.isDarkTheme ? \"/dark\" : \"\";\n return generateUrl(`/avatar${guestUrl}/{user}/{size}${themeUrl}`, {\n user,\n size\n });\n}\nexport {\n generateAvatarUrl,\n generateFilePath,\n generateOcsUrl,\n generateRemoteUrl,\n generateUrl,\n getAppRootUrl,\n getBaseUrl,\n getRootUrl,\n imagePath,\n linkTo\n};\n//# sourceMappingURL=index.mjs.map\n","function getDefaultExportFromCjs (x) {\n\treturn x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;\n}\n\nvar browser = {exports: {}};\n\n// shim for using process in browser\nvar process = browser.exports = {};\n\n// cached from whatever global is present so that test runners that stub it\n// don't break things. But we need to wrap it in a try catch in case it is\n// wrapped in strict mode code which doesn't define any globals. It's inside a\n// function because try/catches deoptimize in certain engines.\n\nvar cachedSetTimeout;\nvar cachedClearTimeout;\n\nfunction defaultSetTimout() {\n throw new Error('setTimeout has not been defined');\n}\nfunction defaultClearTimeout () {\n throw new Error('clearTimeout has not been defined');\n}\n(function () {\n try {\n if (typeof setTimeout === 'function') {\n cachedSetTimeout = setTimeout;\n } else {\n cachedSetTimeout = defaultSetTimout;\n }\n } catch (e) {\n cachedSetTimeout = defaultSetTimout;\n }\n try {\n if (typeof clearTimeout === 'function') {\n cachedClearTimeout = clearTimeout;\n } else {\n cachedClearTimeout = defaultClearTimeout;\n }\n } catch (e) {\n cachedClearTimeout = defaultClearTimeout;\n }\n} ());\nfunction runTimeout(fun) {\n if (cachedSetTimeout === setTimeout) {\n //normal enviroments in sane situations\n return setTimeout(fun, 0);\n }\n // if setTimeout wasn't available but was latter defined\n if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {\n cachedSetTimeout = setTimeout;\n return setTimeout(fun, 0);\n }\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedSetTimeout(fun, 0);\n } catch(e){\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedSetTimeout.call(null, fun, 0);\n } catch(e){\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error\n return cachedSetTimeout.call(this, fun, 0);\n }\n }\n\n\n}\nfunction runClearTimeout(marker) {\n if (cachedClearTimeout === clearTimeout) {\n //normal enviroments in sane situations\n return clearTimeout(marker);\n }\n // if clearTimeout wasn't available but was latter defined\n if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {\n cachedClearTimeout = clearTimeout;\n return clearTimeout(marker);\n }\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedClearTimeout(marker);\n } catch (e){\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedClearTimeout.call(null, marker);\n } catch (e){\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error.\n // Some versions of I.E. have different rules for clearTimeout vs setTimeout\n return cachedClearTimeout.call(this, marker);\n }\n }\n\n\n\n}\nvar queue = [];\nvar draining = false;\nvar currentQueue;\nvar queueIndex = -1;\n\nfunction cleanUpNextTick() {\n if (!draining || !currentQueue) {\n return;\n }\n draining = false;\n if (currentQueue.length) {\n queue = currentQueue.concat(queue);\n } else {\n queueIndex = -1;\n }\n if (queue.length) {\n drainQueue();\n }\n}\n\nfunction drainQueue() {\n if (draining) {\n return;\n }\n var timeout = runTimeout(cleanUpNextTick);\n draining = true;\n\n var len = queue.length;\n while(len) {\n currentQueue = queue;\n queue = [];\n while (++queueIndex < len) {\n if (currentQueue) {\n currentQueue[queueIndex].run();\n }\n }\n queueIndex = -1;\n len = queue.length;\n }\n currentQueue = null;\n draining = false;\n runClearTimeout(timeout);\n}\n\nprocess.nextTick = function (fun) {\n var args = new Array(arguments.length - 1);\n if (arguments.length > 1) {\n for (var i = 1; i < arguments.length; i++) {\n args[i - 1] = arguments[i];\n }\n }\n queue.push(new Item(fun, args));\n if (queue.length === 1 && !draining) {\n runTimeout(drainQueue);\n }\n};\n\n// v8 likes predictible objects\nfunction Item(fun, array) {\n this.fun = fun;\n this.array = array;\n}\nItem.prototype.run = function () {\n this.fun.apply(null, this.array);\n};\nprocess.title = 'browser';\nprocess.browser = true;\nprocess.env = {};\nprocess.argv = [];\nprocess.version = ''; // empty string to avoid regexp issues\nprocess.versions = {};\n\nfunction noop() {}\n\nprocess.on = noop;\nprocess.addListener = noop;\nprocess.once = noop;\nprocess.off = noop;\nprocess.removeListener = noop;\nprocess.removeAllListeners = noop;\nprocess.emit = noop;\nprocess.prependListener = noop;\nprocess.prependOnceListener = noop;\n\nprocess.listeners = function (name) { return [] };\n\nprocess.binding = function (name) {\n throw new Error('process.binding is not supported');\n};\n\nprocess.cwd = function () { return '/' };\nprocess.chdir = function (dir) {\n throw new Error('process.chdir is not supported');\n};\nprocess.umask = function() { return 0; };\n\nvar browserExports = browser.exports;\nconst process$1 = /*@__PURE__*/getDefaultExportFromCjs(browserExports);\n\nexport { process$1 as default, process$1 as process };\n//# sourceMappingURL=index.js.map\n","'use strict'\n\nconst debug = (\n typeof process === 'object' &&\n process.env &&\n process.env.NODE_DEBUG &&\n /\\bsemver\\b/i.test(process.env.NODE_DEBUG)\n) ? (...args) => console.error('SEMVER', ...args)\n : () => {}\n\nmodule.exports = debug\n","'use strict'\n\n// Note: this is the semver.org version of the spec that it implements\n// Not necessarily the package version of this code.\nconst SEMVER_SPEC_VERSION = '2.0.0'\n\nconst MAX_LENGTH = 256\nconst MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER ||\n/* istanbul ignore next */ 9007199254740991\n\n// Max safe segment length for coercion.\nconst MAX_SAFE_COMPONENT_LENGTH = 16\n\n// Max safe length for a build identifier. The max length minus 6 characters for\n// the shortest version with a build 0.0.0+BUILD.\nconst MAX_SAFE_BUILD_LENGTH = MAX_LENGTH - 6\n\nconst RELEASE_TYPES = [\n 'major',\n 'premajor',\n 'minor',\n 'preminor',\n 'patch',\n 'prepatch',\n 'prerelease',\n]\n\nmodule.exports = {\n MAX_LENGTH,\n MAX_SAFE_COMPONENT_LENGTH,\n MAX_SAFE_BUILD_LENGTH,\n MAX_SAFE_INTEGER,\n RELEASE_TYPES,\n SEMVER_SPEC_VERSION,\n FLAG_INCLUDE_PRERELEASE: 0b001,\n FLAG_LOOSE: 0b010,\n}\n","'use strict'\n\nconst {\n MAX_SAFE_COMPONENT_LENGTH,\n MAX_SAFE_BUILD_LENGTH,\n MAX_LENGTH,\n} = require('./constants')\nconst debug = require('./debug')\nexports = module.exports = {}\n\n// The actual regexps go on exports.re\nconst re = exports.re = []\nconst safeRe = exports.safeRe = []\nconst src = exports.src = []\nconst safeSrc = exports.safeSrc = []\nconst t = exports.t = {}\nlet R = 0\n\nconst LETTERDASHNUMBER = '[a-zA-Z0-9-]'\n\n// Replace some greedy regex tokens to prevent regex dos issues. These regex are\n// used internally via the safeRe object since all inputs in this library get\n// normalized first to trim and collapse all extra whitespace. The original\n// regexes are exported for userland consumption and lower level usage. A\n// future breaking change could export the safer regex only with a note that\n// all input should have extra whitespace removed.\nconst safeRegexReplacements = [\n ['\\\\s', 1],\n ['\\\\d', MAX_LENGTH],\n [LETTERDASHNUMBER, MAX_SAFE_BUILD_LENGTH],\n]\n\nconst makeSafeRegex = (value) => {\n for (const [token, max] of safeRegexReplacements) {\n value = value\n .split(`${token}*`).join(`${token}{0,${max}}`)\n .split(`${token}+`).join(`${token}{1,${max}}`)\n }\n return value\n}\n\nconst createToken = (name, value, isGlobal) => {\n const safe = makeSafeRegex(value)\n const index = R++\n debug(name, index, value)\n t[name] = index\n src[index] = value\n safeSrc[index] = safe\n re[index] = new RegExp(value, isGlobal ? 'g' : undefined)\n safeRe[index] = new RegExp(safe, isGlobal ? 'g' : undefined)\n}\n\n// The following Regular Expressions can be used for tokenizing,\n// validating, and parsing SemVer version strings.\n\n// ## Numeric Identifier\n// A single `0`, or a non-zero digit followed by zero or more digits.\n\ncreateToken('NUMERICIDENTIFIER', '0|[1-9]\\\\d*')\ncreateToken('NUMERICIDENTIFIERLOOSE', '\\\\d+')\n\n// ## Non-numeric Identifier\n// Zero or more digits, followed by a letter or hyphen, and then zero or\n// more letters, digits, or hyphens.\n\ncreateToken('NONNUMERICIDENTIFIER', `\\\\d*[a-zA-Z-]${LETTERDASHNUMBER}*`)\n\n// ## Main Version\n// Three dot-separated numeric identifiers.\n\ncreateToken('MAINVERSION', `(${src[t.NUMERICIDENTIFIER]})\\\\.` +\n `(${src[t.NUMERICIDENTIFIER]})\\\\.` +\n `(${src[t.NUMERICIDENTIFIER]})`)\n\ncreateToken('MAINVERSIONLOOSE', `(${src[t.NUMERICIDENTIFIERLOOSE]})\\\\.` +\n `(${src[t.NUMERICIDENTIFIERLOOSE]})\\\\.` +\n `(${src[t.NUMERICIDENTIFIERLOOSE]})`)\n\n// ## Pre-release Version Identifier\n// A numeric identifier, or a non-numeric identifier.\n// Non-numeric identifiers include numeric identifiers but can be longer.\n// Therefore non-numeric identifiers must go first.\n\ncreateToken('PRERELEASEIDENTIFIER', `(?:${src[t.NONNUMERICIDENTIFIER]\n}|${src[t.NUMERICIDENTIFIER]})`)\n\ncreateToken('PRERELEASEIDENTIFIERLOOSE', `(?:${src[t.NONNUMERICIDENTIFIER]\n}|${src[t.NUMERICIDENTIFIERLOOSE]})`)\n\n// ## Pre-release Version\n// Hyphen, followed by one or more dot-separated pre-release version\n// identifiers.\n\ncreateToken('PRERELEASE', `(?:-(${src[t.PRERELEASEIDENTIFIER]\n}(?:\\\\.${src[t.PRERELEASEIDENTIFIER]})*))`)\n\ncreateToken('PRERELEASELOOSE', `(?:-?(${src[t.PRERELEASEIDENTIFIERLOOSE]\n}(?:\\\\.${src[t.PRERELEASEIDENTIFIERLOOSE]})*))`)\n\n// ## Build Metadata Identifier\n// Any combination of digits, letters, or hyphens.\n\ncreateToken('BUILDIDENTIFIER', `${LETTERDASHNUMBER}+`)\n\n// ## Build Metadata\n// Plus sign, followed by one or more period-separated build metadata\n// identifiers.\n\ncreateToken('BUILD', `(?:\\\\+(${src[t.BUILDIDENTIFIER]\n}(?:\\\\.${src[t.BUILDIDENTIFIER]})*))`)\n\n// ## Full Version String\n// A main version, followed optionally by a pre-release version and\n// build metadata.\n\n// Note that the only major, minor, patch, and pre-release sections of\n// the version string are capturing groups. The build metadata is not a\n// capturing group, because it should not ever be used in version\n// comparison.\n\ncreateToken('FULLPLAIN', `v?${src[t.MAINVERSION]\n}${src[t.PRERELEASE]}?${\n src[t.BUILD]}?`)\n\ncreateToken('FULL', `^${src[t.FULLPLAIN]}$`)\n\n// like full, but allows v1.2.3 and =1.2.3, which people do sometimes.\n// also, 1.0.0alpha1 (prerelease without the hyphen) which is pretty\n// common in the npm registry.\ncreateToken('LOOSEPLAIN', `[v=\\\\s]*${src[t.MAINVERSIONLOOSE]\n}${src[t.PRERELEASELOOSE]}?${\n src[t.BUILD]}?`)\n\ncreateToken('LOOSE', `^${src[t.LOOSEPLAIN]}$`)\n\ncreateToken('GTLT', '((?:<|>)?=?)')\n\n// Something like \"2.*\" or \"1.2.x\".\n// Note that \"x.x\" is a valid xRange identifier, meaning \"any version\"\n// Only the first item is strictly required.\ncreateToken('XRANGEIDENTIFIERLOOSE', `${src[t.NUMERICIDENTIFIERLOOSE]}|x|X|\\\\*`)\ncreateToken('XRANGEIDENTIFIER', `${src[t.NUMERICIDENTIFIER]}|x|X|\\\\*`)\n\ncreateToken('XRANGEPLAIN', `[v=\\\\s]*(${src[t.XRANGEIDENTIFIER]})` +\n `(?:\\\\.(${src[t.XRANGEIDENTIFIER]})` +\n `(?:\\\\.(${src[t.XRANGEIDENTIFIER]})` +\n `(?:${src[t.PRERELEASE]})?${\n src[t.BUILD]}?` +\n `)?)?`)\n\ncreateToken('XRANGEPLAINLOOSE', `[v=\\\\s]*(${src[t.XRANGEIDENTIFIERLOOSE]})` +\n `(?:\\\\.(${src[t.XRANGEIDENTIFIERLOOSE]})` +\n `(?:\\\\.(${src[t.XRANGEIDENTIFIERLOOSE]})` +\n `(?:${src[t.PRERELEASELOOSE]})?${\n src[t.BUILD]}?` +\n `)?)?`)\n\ncreateToken('XRANGE', `^${src[t.GTLT]}\\\\s*${src[t.XRANGEPLAIN]}$`)\ncreateToken('XRANGELOOSE', `^${src[t.GTLT]}\\\\s*${src[t.XRANGEPLAINLOOSE]}$`)\n\n// Coercion.\n// Extract anything that could conceivably be a part of a valid semver\ncreateToken('COERCEPLAIN', `${'(^|[^\\\\d])' +\n '(\\\\d{1,'}${MAX_SAFE_COMPONENT_LENGTH}})` +\n `(?:\\\\.(\\\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?` +\n `(?:\\\\.(\\\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?`)\ncreateToken('COERCE', `${src[t.COERCEPLAIN]}(?:$|[^\\\\d])`)\ncreateToken('COERCEFULL', src[t.COERCEPLAIN] +\n `(?:${src[t.PRERELEASE]})?` +\n `(?:${src[t.BUILD]})?` +\n `(?:$|[^\\\\d])`)\ncreateToken('COERCERTL', src[t.COERCE], true)\ncreateToken('COERCERTLFULL', src[t.COERCEFULL], true)\n\n// Tilde ranges.\n// Meaning is \"reasonably at or greater than\"\ncreateToken('LONETILDE', '(?:~>?)')\n\ncreateToken('TILDETRIM', `(\\\\s*)${src[t.LONETILDE]}\\\\s+`, true)\nexports.tildeTrimReplace = '$1~'\n\ncreateToken('TILDE', `^${src[t.LONETILDE]}${src[t.XRANGEPLAIN]}$`)\ncreateToken('TILDELOOSE', `^${src[t.LONETILDE]}${src[t.XRANGEPLAINLOOSE]}$`)\n\n// Caret ranges.\n// Meaning is \"at least and backwards compatible with\"\ncreateToken('LONECARET', '(?:\\\\^)')\n\ncreateToken('CARETTRIM', `(\\\\s*)${src[t.LONECARET]}\\\\s+`, true)\nexports.caretTrimReplace = '$1^'\n\ncreateToken('CARET', `^${src[t.LONECARET]}${src[t.XRANGEPLAIN]}$`)\ncreateToken('CARETLOOSE', `^${src[t.LONECARET]}${src[t.XRANGEPLAINLOOSE]}$`)\n\n// A simple gt/lt/eq thing, or just \"\" to indicate \"any version\"\ncreateToken('COMPARATORLOOSE', `^${src[t.GTLT]}\\\\s*(${src[t.LOOSEPLAIN]})$|^$`)\ncreateToken('COMPARATOR', `^${src[t.GTLT]}\\\\s*(${src[t.FULLPLAIN]})$|^$`)\n\n// An expression to strip any whitespace between the gtlt and the thing\n// it modifies, so that `> 1.2.3` ==> `>1.2.3`\ncreateToken('COMPARATORTRIM', `(\\\\s*)${src[t.GTLT]\n}\\\\s*(${src[t.LOOSEPLAIN]}|${src[t.XRANGEPLAIN]})`, true)\nexports.comparatorTrimReplace = '$1$2$3'\n\n// Something like `1.2.3 - 1.2.4`\n// Note that these all use the loose form, because they'll be\n// checked against either the strict or loose comparator form\n// later.\ncreateToken('HYPHENRANGE', `^\\\\s*(${src[t.XRANGEPLAIN]})` +\n `\\\\s+-\\\\s+` +\n `(${src[t.XRANGEPLAIN]})` +\n `\\\\s*$`)\n\ncreateToken('HYPHENRANGELOOSE', `^\\\\s*(${src[t.XRANGEPLAINLOOSE]})` +\n `\\\\s+-\\\\s+` +\n `(${src[t.XRANGEPLAINLOOSE]})` +\n `\\\\s*$`)\n\n// Star ranges basically just allow anything at all.\ncreateToken('STAR', '(<|>)?=?\\\\s*\\\\*')\n// >=0.0.0 is like a star\ncreateToken('GTE0', '^\\\\s*>=\\\\s*0\\\\.0\\\\.0\\\\s*$')\ncreateToken('GTE0PRE', '^\\\\s*>=\\\\s*0\\\\.0\\\\.0-0\\\\s*$')\n","'use strict'\n\n// parse out just the options we care about\nconst looseOption = Object.freeze({ loose: true })\nconst emptyOpts = Object.freeze({ })\nconst parseOptions = options => {\n if (!options) {\n return emptyOpts\n }\n\n if (typeof options !== 'object') {\n return looseOption\n }\n\n return options\n}\nmodule.exports = parseOptions\n","'use strict'\n\nconst numeric = /^[0-9]+$/\nconst compareIdentifiers = (a, b) => {\n if (typeof a === 'number' && typeof b === 'number') {\n return a === b ? 0 : a < b ? -1 : 1\n }\n\n const anum = numeric.test(a)\n const bnum = numeric.test(b)\n\n if (anum && bnum) {\n a = +a\n b = +b\n }\n\n return a === b ? 0\n : (anum && !bnum) ? -1\n : (bnum && !anum) ? 1\n : a < b ? -1\n : 1\n}\n\nconst rcompareIdentifiers = (a, b) => compareIdentifiers(b, a)\n\nmodule.exports = {\n compareIdentifiers,\n rcompareIdentifiers,\n}\n","'use strict'\n\nconst debug = require('../internal/debug')\nconst { MAX_LENGTH, MAX_SAFE_INTEGER } = require('../internal/constants')\nconst { safeRe: re, t } = require('../internal/re')\n\nconst parseOptions = require('../internal/parse-options')\nconst { compareIdentifiers } = require('../internal/identifiers')\n\nconst isPrereleaseIdentifier = (prerelease, identifier) => {\n const identifiers = identifier.split('.')\n if (identifiers.length > prerelease.length) {\n return false\n }\n\n for (let i = 0; i < identifiers.length; i++) {\n if (compareIdentifiers(prerelease[i], identifiers[i]) !== 0) {\n return false\n }\n }\n\n return true\n}\n\nclass SemVer {\n constructor (version, options) {\n options = parseOptions(options)\n\n if (version instanceof SemVer) {\n if (version.loose === !!options.loose &&\n version.includePrerelease === !!options.includePrerelease) {\n return version\n } else {\n version = version.version\n }\n } else if (typeof version !== 'string') {\n throw new TypeError(`Invalid version. Must be a string. Got type \"${typeof version}\".`)\n }\n\n if (version.length > MAX_LENGTH) {\n throw new TypeError(\n `version is longer than ${MAX_LENGTH} characters`\n )\n }\n\n debug('SemVer', version, options)\n this.options = options\n this.loose = !!options.loose\n // this isn't actually relevant for versions, but keep it so that we\n // don't run into trouble passing this.options around.\n this.includePrerelease = !!options.includePrerelease\n\n const m = version.trim().match(options.loose ? re[t.LOOSE] : re[t.FULL])\n\n if (!m) {\n throw new TypeError(`Invalid Version: ${version}`)\n }\n\n this.raw = version\n\n // these are actually numbers\n this.major = +m[1]\n this.minor = +m[2]\n this.patch = +m[3]\n\n if (this.major > MAX_SAFE_INTEGER || this.major < 0) {\n throw new TypeError('Invalid major version')\n }\n\n if (this.minor > MAX_SAFE_INTEGER || this.minor < 0) {\n throw new TypeError('Invalid minor version')\n }\n\n if (this.patch > MAX_SAFE_INTEGER || this.patch < 0) {\n throw new TypeError('Invalid patch version')\n }\n\n // numberify any prerelease numeric ids\n if (!m[4]) {\n this.prerelease = []\n } else {\n this.prerelease = m[4].split('.').map((id) => {\n if (/^[0-9]+$/.test(id)) {\n const num = +id\n if (num >= 0 && num < MAX_SAFE_INTEGER) {\n return num\n }\n }\n return id\n })\n }\n\n this.build = m[5] ? m[5].split('.') : []\n this.format()\n }\n\n format () {\n this.version = `${this.major}.${this.minor}.${this.patch}`\n if (this.prerelease.length) {\n this.version += `-${this.prerelease.join('.')}`\n }\n return this.version\n }\n\n toString () {\n return this.version\n }\n\n compare (other) {\n debug('SemVer.compare', this.version, this.options, other)\n if (!(other instanceof SemVer)) {\n if (typeof other === 'string' && other === this.version) {\n return 0\n }\n other = new SemVer(other, this.options)\n }\n\n if (other.version === this.version) {\n return 0\n }\n\n return this.compareMain(other) || this.comparePre(other)\n }\n\n compareMain (other) {\n if (!(other instanceof SemVer)) {\n other = new SemVer(other, this.options)\n }\n\n if (this.major < other.major) {\n return -1\n }\n if (this.major > other.major) {\n return 1\n }\n if (this.minor < other.minor) {\n return -1\n }\n if (this.minor > other.minor) {\n return 1\n }\n if (this.patch < other.patch) {\n return -1\n }\n if (this.patch > other.patch) {\n return 1\n }\n return 0\n }\n\n comparePre (other) {\n if (!(other instanceof SemVer)) {\n other = new SemVer(other, this.options)\n }\n\n // NOT having a prerelease is > having one\n if (this.prerelease.length && !other.prerelease.length) {\n return -1\n } else if (!this.prerelease.length && other.prerelease.length) {\n return 1\n } else if (!this.prerelease.length && !other.prerelease.length) {\n return 0\n }\n\n let i = 0\n do {\n const a = this.prerelease[i]\n const b = other.prerelease[i]\n debug('prerelease compare', i, a, b)\n if (a === undefined && b === undefined) {\n return 0\n } else if (b === undefined) {\n return 1\n } else if (a === undefined) {\n return -1\n } else if (a === b) {\n continue\n } else {\n return compareIdentifiers(a, b)\n }\n } while (++i)\n }\n\n compareBuild (other) {\n if (!(other instanceof SemVer)) {\n other = new SemVer(other, this.options)\n }\n\n let i = 0\n do {\n const a = this.build[i]\n const b = other.build[i]\n debug('build compare', i, a, b)\n if (a === undefined && b === undefined) {\n return 0\n } else if (b === undefined) {\n return 1\n } else if (a === undefined) {\n return -1\n } else if (a === b) {\n continue\n } else {\n return compareIdentifiers(a, b)\n }\n } while (++i)\n }\n\n // preminor will bump the version up to the next minor release, and immediately\n // down to pre-release. premajor and prepatch work the same way.\n inc (release, identifier, identifierBase) {\n if (release.startsWith('pre')) {\n if (!identifier && identifierBase === false) {\n throw new Error('invalid increment argument: identifier is empty')\n }\n // Avoid an invalid semver results\n if (identifier) {\n const match = `-${identifier}`.match(this.options.loose ? re[t.PRERELEASELOOSE] : re[t.PRERELEASE])\n if (!match || match[1] !== identifier) {\n throw new Error(`invalid identifier: ${identifier}`)\n }\n }\n }\n\n switch (release) {\n case 'premajor':\n this.prerelease.length = 0\n this.patch = 0\n this.minor = 0\n this.major++\n this.inc('pre', identifier, identifierBase)\n break\n case 'preminor':\n this.prerelease.length = 0\n this.patch = 0\n this.minor++\n this.inc('pre', identifier, identifierBase)\n break\n case 'prepatch':\n // If this is already a prerelease, it will bump to the next version\n // drop any prereleases that might already exist, since they are not\n // relevant at this point.\n this.prerelease.length = 0\n this.inc('patch', identifier, identifierBase)\n this.inc('pre', identifier, identifierBase)\n break\n // If the input is a non-prerelease version, this acts the same as\n // prepatch.\n case 'prerelease':\n if (this.prerelease.length === 0) {\n this.inc('patch', identifier, identifierBase)\n }\n this.inc('pre', identifier, identifierBase)\n break\n case 'release':\n if (this.prerelease.length === 0) {\n throw new Error(`version ${this.raw} is not a prerelease`)\n }\n this.prerelease.length = 0\n break\n\n case 'major':\n // If this is a pre-major version, bump up to the same major version.\n // Otherwise increment major.\n // 1.0.0-5 bumps to 1.0.0\n // 1.1.0 bumps to 2.0.0\n if (\n this.minor !== 0 ||\n this.patch !== 0 ||\n this.prerelease.length === 0\n ) {\n this.major++\n }\n this.minor = 0\n this.patch = 0\n this.prerelease = []\n break\n case 'minor':\n // If this is a pre-minor version, bump up to the same minor version.\n // Otherwise increment minor.\n // 1.2.0-5 bumps to 1.2.0\n // 1.2.1 bumps to 1.3.0\n if (this.patch !== 0 || this.prerelease.length === 0) {\n this.minor++\n }\n this.patch = 0\n this.prerelease = []\n break\n case 'patch':\n // If this is not a pre-release version, it will increment the patch.\n // If it is a pre-release it will bump up to the same patch version.\n // 1.2.0-5 patches to 1.2.0\n // 1.2.0 patches to 1.2.1\n if (this.prerelease.length === 0) {\n this.patch++\n }\n this.prerelease = []\n break\n // This probably shouldn't be used publicly.\n // 1.0.0 'pre' would become 1.0.0-0 which is the wrong direction.\n case 'pre': {\n const base = Number(identifierBase) ? 1 : 0\n\n if (this.prerelease.length === 0) {\n this.prerelease = [base]\n } else {\n let i = this.prerelease.length\n while (--i >= 0) {\n if (typeof this.prerelease[i] === 'number') {\n this.prerelease[i]++\n i = -2\n }\n }\n if (i === -1) {\n // didn't increment anything\n if (identifier === this.prerelease.join('.') && identifierBase === false) {\n throw new Error('invalid increment argument: identifier already exists')\n }\n this.prerelease.push(base)\n }\n }\n if (identifier) {\n // 1.2.0-beta.1 bumps to 1.2.0-beta.2,\n // 1.2.0-beta.fooblz or 1.2.0-beta bumps to 1.2.0-beta.0\n let prerelease = [identifier, base]\n if (identifierBase === false) {\n prerelease = [identifier]\n }\n if (isPrereleaseIdentifier(this.prerelease, identifier)) {\n const prereleaseBase = this.prerelease[identifier.split('.').length]\n if (isNaN(prereleaseBase)) {\n this.prerelease = prerelease\n }\n } else {\n this.prerelease = prerelease\n }\n }\n break\n }\n default:\n throw new Error(`invalid increment argument: ${release}`)\n }\n this.raw = this.format()\n if (this.build.length) {\n this.raw += `+${this.build.join('.')}`\n }\n return this\n }\n}\n\nmodule.exports = SemVer\n","'use strict'\n\nconst SemVer = require('../classes/semver')\nconst major = (a, loose) => new SemVer(a, loose).major\nmodule.exports = major\n","'use strict'\n\nconst SemVer = require('../classes/semver')\nconst parse = (version, options, throwErrors = false) => {\n if (version instanceof SemVer) {\n return version\n }\n try {\n return new SemVer(version, options)\n } catch (er) {\n if (!throwErrors) {\n return null\n }\n throw er\n }\n}\n\nmodule.exports = parse\n","'use strict'\n\nconst parse = require('./parse')\nconst valid = (version, options) => {\n const v = parse(version, options)\n return v ? v.version : null\n}\nmodule.exports = valid\n","import major from \"semver/functions/major.js\";\nimport valid from \"semver/functions/valid.js\";\n/*!\n * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: GPL-3.0-or-later\n */\nclass ProxyBus {\n bus;\n constructor(bus2) {\n if (typeof bus2.getVersion !== \"function\" || !valid(bus2.getVersion())) {\n console.warn(\"Proxying an event bus with an unknown or invalid version\");\n } else if (major(bus2.getVersion()) !== major(this.getVersion())) {\n console.warn(\n \"Proxying an event bus of version \" + bus2.getVersion() + \" with \" + this.getVersion()\n );\n }\n this.bus = bus2;\n }\n getVersion() {\n return \"3.3.3\";\n }\n subscribe(name, handler) {\n this.bus.subscribe(name, handler);\n }\n unsubscribe(name, handler) {\n this.bus.unsubscribe(name, handler);\n }\n emit(name, ...event) {\n this.bus.emit(name, ...event);\n }\n}\n/*!\n * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: GPL-3.0-or-later\n */\nclass SimpleBus {\n handlers = /* @__PURE__ */ new Map();\n getVersion() {\n return \"3.3.3\";\n }\n subscribe(name, handler) {\n this.handlers.set(\n name,\n (this.handlers.get(name) || []).concat(\n handler\n )\n );\n }\n unsubscribe(name, handler) {\n this.handlers.set(\n name,\n (this.handlers.get(name) || []).filter((h) => h !== handler)\n );\n }\n emit(name, ...event) {\n const handlers = this.handlers.get(name) || [];\n handlers.forEach((h) => {\n try {\n ;\n h(event[0]);\n } catch (e) {\n console.error(\"could not invoke event listener\", e);\n }\n });\n }\n}\n/*!\n * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: GPL-3.0-or-later\n */\nlet bus = null;\nfunction getBus() {\n if (bus !== null) {\n return bus;\n }\n if (typeof window === \"undefined\") {\n return new Proxy({}, {\n get: () => {\n return () => console.error(\n \"Window not available, EventBus can not be established!\"\n );\n }\n });\n }\n if (window.OC?._eventBus && typeof window._nc_event_bus === \"undefined\") {\n console.warn(\n \"found old event bus instance at OC._eventBus. Update your version!\"\n );\n window._nc_event_bus = window.OC._eventBus;\n }\n if (typeof window?._nc_event_bus !== \"undefined\") {\n bus = new ProxyBus(window._nc_event_bus);\n } else {\n bus = window._nc_event_bus = new SimpleBus();\n }\n return bus;\n}\nfunction subscribe(name, handler) {\n getBus().subscribe(name, handler);\n}\nfunction unsubscribe(name, handler) {\n getBus().unsubscribe(name, handler);\n}\nfunction emit(name, ...event) {\n getBus().emit(name, ...event);\n}\nexport {\n ProxyBus,\n SimpleBus,\n emit,\n subscribe,\n unsubscribe\n};\n//# sourceMappingURL=index.mjs.map\n","/*\n * SPDX-FileCopyrightText: 2020 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: GPL-3.0-or-later\n */\nexport default class ScopedStorage {\n static GLOBAL_SCOPE_VOLATILE = 'nextcloud_vol';\n static GLOBAL_SCOPE_PERSISTENT = 'nextcloud_per';\n scope;\n wrapped;\n constructor(scope, wrapped, persistent) {\n this.scope = `${persistent ? ScopedStorage.GLOBAL_SCOPE_PERSISTENT : ScopedStorage.GLOBAL_SCOPE_VOLATILE}_${btoa(scope)}_`;\n this.wrapped = wrapped;\n }\n scopeKey(key) {\n return `${this.scope}${key}`;\n }\n setItem(key, value) {\n this.wrapped.setItem(this.scopeKey(key), value);\n }\n getItem(key) {\n return this.wrapped.getItem(this.scopeKey(key));\n }\n removeItem(key) {\n this.wrapped.removeItem(this.scopeKey(key));\n }\n clear() {\n Object.keys(this.wrapped)\n .filter((key) => key.startsWith(this.scope))\n .map(this.wrapped.removeItem.bind(this.wrapped));\n }\n}\n","/*\n * SPDX-FileCopyrightText: 2020 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: GPL-3.0-or-later\n */\nimport ScopedStorage from \"./ScopedStorage.js\";\nexport default class StorageBuilder {\n appId;\n persisted = false;\n clearedOnLogout = false;\n constructor(appId) {\n this.appId = appId;\n }\n persist(persist = true) {\n this.persisted = persist;\n return this;\n }\n clearOnLogout(clear = true) {\n this.clearedOnLogout = clear;\n return this;\n }\n build() {\n return new ScopedStorage(this.appId, this.persisted ? window.localStorage : window.sessionStorage, !this.clearedOnLogout);\n }\n}\n","/*\n * SPDX-FileCopyrightText: 2020 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: GPL-3.0-or-later\n */\nimport ScopedStorage from \"./ScopedStorage.js\";\nimport StorageBuilder from \"./StorageBuilder.js\";\n/**\n * Get the storage builder for an app\n *\n * @param appId App ID to scope storage\n */\nexport function getBuilder(appId) {\n return new StorageBuilder(appId);\n}\n/**\n * Clear values from storage\n *\n * @param storage The storage to clear\n * @param pred Callback to check if value should be cleared\n */\nfunction clearStorage(storage, pred) {\n Object.keys(storage)\n .filter((k) => pred ? pred(k) : true)\n .map(storage.removeItem.bind(storage));\n}\n/**\n * Clear all values from all storages\n */\nexport function clearAll() {\n const storages = [\n window.sessionStorage,\n window.localStorage,\n ];\n storages.map((s) => clearStorage(s));\n}\n/**\n * Clear ony non persistent values\n */\nexport function clearNonPersistent() {\n const storages = [\n window.sessionStorage,\n window.localStorage,\n ];\n storages.map((s) => clearStorage(s, (k) => !k.startsWith(ScopedStorage.GLOBAL_SCOPE_PERSISTENT)));\n}\n","import { subscribe, emit, unsubscribe } from \"@nextcloud/event-bus\";\nimport { generateUrl } from \"@nextcloud/router\";\nimport { getBuilder } from \"@nextcloud/browser-storage\";\n_subscribeToTokenUpdates();\nfunction getRequestToken() {\n if (globalThis._nc_auth_requestToken) {\n return globalThis._nc_auth_requestToken;\n }\n if (globalThis.document) {\n return document.head.dataset.requesttoken ?? null;\n }\n return null;\n}\nfunction setRequestToken(token) {\n if (!token || typeof token !== \"string\") {\n throw new Error(\"Invalid CSRF token given\", { cause: { token } });\n }\n if (globalThis._nc_auth_requestToken === token) {\n return;\n }\n globalThis._nc_auth_requestToken = token;\n if (globalThis.document) {\n document.head.dataset.requesttoken = token;\n }\n emit(\"csrf-token-update\", { token, _internal: true });\n}\nasync function fetchRequestToken() {\n const url = generateUrl(\"/csrftoken\");\n const response = await fetch(url);\n if (!response.ok) {\n throw new Error(\"Could not fetch CSRF token from API\", { cause: response });\n }\n try {\n const { token } = await response.json();\n setRequestToken(token);\n return token;\n } catch (error) {\n throw new Error(\"Could not parse CSRF token from API response\", { cause: error });\n }\n}\nfunction onRequestTokenUpdate(observer) {\n const wrapper = async ({ token }) => {\n try {\n observer(token);\n } catch (error) {\n console.error(\"Error updating CSRF token observer\", error);\n }\n };\n subscribe(\"csrf-token-update\", wrapper);\n return () => unsubscribe(\"csrf-token-update\", wrapper);\n}\nfunction _subscribeToTokenUpdates() {\n subscribe(\"csrf-token-update\", ({ token, _internal }) => {\n if (!_internal) {\n setRequestToken(token);\n }\n });\n}\nfunction getCSPNonce() {\n const meta = document?.querySelector('meta[name=\"csp-nonce\"]');\n if (!meta) {\n const token = getRequestToken();\n return token ? btoa(token) : void 0;\n }\n return meta.nonce;\n}\n/*!\n * SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: GPL-3.0-or-later\n */\nconst browserStorage = getBuilder(\"public\").persist().build();\nclass GuestUser {\n _displayName;\n uid;\n isAdmin;\n constructor() {\n if (!browserStorage.getItem(\"guestUid\")) {\n browserStorage.setItem(\"guestUid\", randomUUID());\n }\n this._displayName = browserStorage.getItem(\"guestNickname\") || \"\";\n this.uid = browserStorage.getItem(\"guestUid\") || randomUUID();\n this.isAdmin = false;\n subscribe(\"user:info:changed\", (guest) => {\n this._displayName = guest.displayName;\n browserStorage.setItem(\"guestNickname\", guest.displayName || \"\");\n });\n }\n get displayName() {\n return this._displayName;\n }\n set displayName(displayName) {\n this._displayName = displayName;\n browserStorage.setItem(\"guestNickname\", displayName);\n emit(\"user:info:changed\", this);\n }\n}\nlet currentUser$1;\nfunction getGuestUser() {\n if (!currentUser$1) {\n currentUser$1 = new GuestUser();\n }\n return currentUser$1;\n}\nfunction getGuestNickname() {\n return getGuestUser()?.displayName || null;\n}\nfunction setGuestNickname(nickname) {\n if (!nickname || nickname.trim().length === 0) {\n throw new Error(\"Nickname cannot be empty\");\n }\n getGuestUser().displayName = nickname;\n}\nfunction randomUUID() {\n if (globalThis.crypto?.randomUUID) {\n return globalThis.crypto.randomUUID();\n }\n return \"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx\".replace(/[xy]/g, (c) => {\n const r = Math.random() * 16 | 0;\n const v = c === \"x\" ? r : r & 3 | 8;\n return v.toString(16);\n });\n}\nlet currentUser;\nfunction getAttribute(el, attribute) {\n if (el) {\n return el.getAttribute(attribute);\n }\n return null;\n}\nfunction getCurrentUser() {\n if (currentUser !== void 0) {\n return currentUser;\n }\n const head = document?.getElementsByTagName(\"head\")[0];\n if (!head) {\n return null;\n }\n const uid = getAttribute(head, \"data-user\");\n if (uid === null) {\n currentUser = null;\n return currentUser;\n }\n currentUser = {\n uid,\n displayName: getAttribute(head, \"data-user-displayname\"),\n isAdmin: !!window._oc_isadmin\n };\n return currentUser;\n}\nexport {\n fetchRequestToken,\n getCSPNonce,\n getCurrentUser,\n getGuestNickname,\n getGuestUser,\n getRequestToken,\n onRequestTokenUpdate,\n setGuestNickname,\n setRequestToken\n};\n//# sourceMappingURL=index.mjs.map\n","/*! @license DOMPurify 3.4.13 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.4.13/LICENSE */\n\nfunction _arrayLikeToArray(r, a) {\n (null == a || a > r.length) && (a = r.length);\n for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];\n return n;\n}\nfunction _arrayWithHoles(r) {\n if (Array.isArray(r)) return r;\n}\nfunction _iterableToArrayLimit(r, l) {\n var t = null == r ? null : \"undefined\" != typeof Symbol && r[Symbol.iterator] || r[\"@@iterator\"];\n if (null != t) {\n var e,\n n,\n i,\n u,\n a = [],\n f = true,\n o = false;\n try {\n if (i = (t = t.call(r)).next, 0 === l) ; else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0);\n } catch (r) {\n o = true, n = r;\n } finally {\n try {\n if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return;\n } finally {\n if (o) throw n;\n }\n }\n return a;\n }\n}\nfunction _nonIterableRest() {\n throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}\nfunction _slicedToArray(r, e) {\n return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest();\n}\nfunction _unsupportedIterableToArray(r, a) {\n if (r) {\n if (\"string\" == typeof r) return _arrayLikeToArray(r, a);\n var t = {}.toString.call(r).slice(8, -1);\n return \"Object\" === t && r.constructor && (t = r.constructor.name), \"Map\" === t || \"Set\" === t ? Array.from(r) : \"Arguments\" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0;\n }\n}\n\nconst entries = Object.entries,\n setPrototypeOf = Object.setPrototypeOf,\n isFrozen = Object.isFrozen,\n getPrototypeOf = Object.getPrototypeOf,\n getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\nlet freeze = Object.freeze,\n seal = Object.seal,\n create = Object.create; // eslint-disable-line import/no-mutable-exports\nlet _ref = typeof Reflect !== 'undefined' && Reflect,\n apply = _ref.apply,\n construct = _ref.construct;\nif (!freeze) {\n freeze = function freeze(x) {\n return x;\n };\n}\nif (!seal) {\n seal = function seal(x) {\n return x;\n };\n}\nif (!apply) {\n apply = function apply(func, thisArg) {\n for (var _len = arguments.length, args = new Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {\n args[_key - 2] = arguments[_key];\n }\n return func.apply(thisArg, args);\n };\n}\nif (!construct) {\n construct = function construct(Func) {\n for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {\n args[_key2 - 1] = arguments[_key2];\n }\n return new Func(...args);\n };\n}\nconst arrayForEach = unapply(Array.prototype.forEach);\nconst arrayLastIndexOf = unapply(Array.prototype.lastIndexOf);\nconst arrayPop = unapply(Array.prototype.pop);\nconst arrayPush = unapply(Array.prototype.push);\nconst arraySplice = unapply(Array.prototype.splice);\nconst arrayIsArray = Array.isArray;\nconst stringToLowerCase = unapply(String.prototype.toLowerCase);\nconst stringToString = unapply(String.prototype.toString);\nconst stringMatch = unapply(String.prototype.match);\nconst stringReplace = unapply(String.prototype.replace);\nconst stringIndexOf = unapply(String.prototype.indexOf);\nconst stringTrim = unapply(String.prototype.trim);\nconst numberToString = unapply(Number.prototype.toString);\nconst booleanToString = unapply(Boolean.prototype.toString);\nconst bigintToString = typeof BigInt === 'undefined' ? null : unapply(BigInt.prototype.toString);\nconst symbolToString = typeof Symbol === 'undefined' ? null : unapply(Symbol.prototype.toString);\nconst objectHasOwnProperty = unapply(Object.prototype.hasOwnProperty);\nconst objectToString = unapply(Object.prototype.toString);\nconst regExpTest = unapply(RegExp.prototype.test);\nconst typeErrorCreate = unconstruct(TypeError);\n/**\n * Creates a new function that calls the given function with a specified thisArg and arguments.\n *\n * @param func - The function to be wrapped and called.\n * @returns A new function that calls the given function with a specified thisArg and arguments.\n */\nfunction unapply(func) {\n return function (thisArg) {\n if (thisArg instanceof RegExp) {\n thisArg.lastIndex = 0;\n }\n for (var _len3 = arguments.length, args = new Array(_len3 > 1 ? _len3 - 1 : 0), _key3 = 1; _key3 < _len3; _key3++) {\n args[_key3 - 1] = arguments[_key3];\n }\n return apply(func, thisArg, args);\n };\n}\n/**\n * Creates a new function that constructs an instance of the given constructor function with the provided arguments.\n *\n * @param func - The constructor function to be wrapped and called.\n * @returns A new function that constructs an instance of the given constructor function with the provided arguments.\n */\nfunction unconstruct(Func) {\n return function () {\n for (var _len4 = arguments.length, args = new Array(_len4), _key4 = 0; _key4 < _len4; _key4++) {\n args[_key4] = arguments[_key4];\n }\n return construct(Func, args);\n };\n}\n/**\n * Add properties to a lookup table\n *\n * @param set - The set to which elements will be added.\n * @param array - The array containing elements to be added to the set.\n * @param transformCaseFunc - An optional function to transform the case of each element before adding to the set.\n * @returns The modified set with added elements.\n */\nfunction addToSet(set, array) {\n let transformCaseFunc = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : stringToLowerCase;\n if (setPrototypeOf) {\n // Make 'in' and truthy checks like Boolean(set.constructor)\n // independent of any properties defined on Object.prototype.\n // Prevent prototype setters from intercepting set as a this value.\n setPrototypeOf(set, null);\n }\n if (!arrayIsArray(array)) {\n return set;\n }\n let l = array.length;\n while (l--) {\n let element = array[l];\n if (typeof element === 'string') {\n const lcElement = transformCaseFunc(element);\n if (lcElement !== element) {\n // Config presets (e.g. tags.js, attrs.js) are immutable.\n if (!isFrozen(array)) {\n array[l] = lcElement;\n }\n element = lcElement;\n }\n }\n set[element] = true;\n }\n return set;\n}\n/**\n * Clean up an array to harden against CSPP\n *\n * @param array - The array to be cleaned.\n * @returns The cleaned version of the array\n */\nfunction cleanArray(array) {\n for (let index = 0; index < array.length; index++) {\n const isPropertyExist = objectHasOwnProperty(array, index);\n if (!isPropertyExist) {\n array[index] = null;\n }\n }\n return array;\n}\n/**\n * Shallow clone an object\n *\n * @param object - The object to be cloned.\n * @returns A new object that copies the original.\n */\nfunction clone(object) {\n const newObject = create(null);\n for (const _ref2 of entries(object)) {\n var _ref3 = _slicedToArray(_ref2, 2);\n const property = _ref3[0];\n const value = _ref3[1];\n const isPropertyExist = objectHasOwnProperty(object, property);\n if (isPropertyExist) {\n if (arrayIsArray(value)) {\n newObject[property] = cleanArray(value);\n } else if (value && typeof value === 'object' && value.constructor === Object) {\n newObject[property] = clone(value);\n } else {\n newObject[property] = value;\n }\n }\n }\n return newObject;\n}\n/**\n * Convert non-node values into strings without depending on direct property access.\n *\n * @param value - The value to stringify.\n * @returns A string representation of the provided value.\n */\nfunction stringifyValue(value) {\n switch (typeof value) {\n case 'string':\n {\n return value;\n }\n case 'number':\n {\n return numberToString(value);\n }\n case 'boolean':\n {\n return booleanToString(value);\n }\n case 'bigint':\n {\n return bigintToString ? bigintToString(value) : '0';\n }\n case 'symbol':\n {\n return symbolToString ? symbolToString(value) : 'Symbol()';\n }\n case 'undefined':\n {\n return objectToString(value);\n }\n case 'function':\n case 'object':\n {\n if (value === null) {\n return objectToString(value);\n }\n const valueAsRecord = value;\n const valueToString = lookupGetter(valueAsRecord, 'toString');\n if (typeof valueToString === 'function') {\n const stringified = valueToString(valueAsRecord);\n return typeof stringified === 'string' ? stringified : objectToString(stringified);\n }\n return objectToString(value);\n }\n default:\n {\n return objectToString(value);\n }\n }\n}\n/**\n * This method automatically checks if the prop is function or getter and behaves accordingly.\n *\n * @param object - The object to look up the getter function in its prototype chain.\n * @param prop - The property name for which to find the getter function.\n * @returns The getter function found in the prototype chain or a fallback function.\n */\nfunction lookupGetter(object, prop) {\n while (object !== null) {\n const desc = getOwnPropertyDescriptor(object, prop);\n if (desc) {\n if (desc.get) {\n return unapply(desc.get);\n }\n if (typeof desc.value === 'function') {\n return unapply(desc.value);\n }\n }\n object = getPrototypeOf(object);\n }\n function fallbackValue() {\n return null;\n }\n return fallbackValue;\n}\nfunction isRegex(value) {\n try {\n regExpTest(value, '');\n return true;\n } catch (_unused) {\n return false;\n }\n}\n\nconst html$1 = freeze(['a', 'abbr', 'acronym', 'address', 'area', 'article', 'aside', 'audio', 'b', 'bdi', 'bdo', 'big', 'blink', 'blockquote', 'body', 'br', 'button', 'canvas', 'caption', 'center', 'cite', 'code', 'col', 'colgroup', 'content', 'data', 'datalist', 'dd', 'decorator', 'del', 'details', 'dfn', 'dialog', 'dir', 'div', 'dl', 'dt', 'element', 'em', 'fieldset', 'figcaption', 'figure', 'font', 'footer', 'form', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'head', 'header', 'hgroup', 'hr', 'html', 'i', 'img', 'input', 'ins', 'kbd', 'label', 'legend', 'li', 'main', 'map', 'mark', 'marquee', 'menu', 'menuitem', 'meter', 'nav', 'nobr', 'ol', 'optgroup', 'option', 'output', 'p', 'picture', 'pre', 'progress', 'q', 'rp', 'rt', 'ruby', 's', 'samp', 'search', 'section', 'select', 'shadow', 'slot', 'small', 'source', 'spacer', 'span', 'strike', 'strong', 'style', 'sub', 'summary', 'sup', 'table', 'tbody', 'td', 'template', 'textarea', 'tfoot', 'th', 'thead', 'time', 'tr', 'track', 'tt', 'u', 'ul', 'var', 'video', 'wbr']);\nconst svg$1 = freeze(['svg', 'a', 'altglyph', 'altglyphdef', 'altglyphitem', 'animatecolor', 'animatemotion', 'animatetransform', 'circle', 'clippath', 'defs', 'desc', 'ellipse', 'enterkeyhint', 'exportparts', 'filter', 'font', 'g', 'glyph', 'glyphref', 'hkern', 'image', 'inputmode', 'line', 'lineargradient', 'marker', 'mask', 'metadata', 'mpath', 'part', 'path', 'pattern', 'polygon', 'polyline', 'radialgradient', 'rect', 'stop', 'style', 'switch', 'symbol', 'text', 'textpath', 'title', 'tref', 'tspan', 'view', 'vkern']);\nconst svgFilters = freeze(['feBlend', 'feColorMatrix', 'feComponentTransfer', 'feComposite', 'feConvolveMatrix', 'feDiffuseLighting', 'feDisplacementMap', 'feDistantLight', 'feDropShadow', 'feFlood', 'feFuncA', 'feFuncB', 'feFuncG', 'feFuncR', 'feGaussianBlur', 'feImage', 'feMerge', 'feMergeNode', 'feMorphology', 'feOffset', 'fePointLight', 'feSpecularLighting', 'feSpotLight', 'feTile', 'feTurbulence']);\n// List of SVG elements that are disallowed by default.\n// We still need to know them so that we can do namespace\n// checks properly in case one wants to add them to\n// allow-list.\nconst svgDisallowed = freeze(['animate', 'color-profile', 'cursor', 'discard', 'font-face', 'font-face-format', 'font-face-name', 'font-face-src', 'font-face-uri', 'foreignobject', 'hatch', 'hatchpath', 'mesh', 'meshgradient', 'meshpatch', 'meshrow', 'missing-glyph', 'script', 'set', 'solidcolor', 'unknown', 'use']);\nconst mathMl$1 = freeze(['math', 'menclose', 'merror', 'mfenced', 'mfrac', 'mglyph', 'mi', 'mlabeledtr', 'mmultiscripts', 'mn', 'mo', 'mover', 'mpadded', 'mphantom', 'mroot', 'mrow', 'ms', 'mspace', 'msqrt', 'mstyle', 'msub', 'msup', 'msubsup', 'mtable', 'mtd', 'mtext', 'mtr', 'munder', 'munderover', 'mprescripts']);\n// Similarly to SVG, we want to know all MathML elements,\n// even those that we disallow by default.\nconst mathMlDisallowed = freeze(['maction', 'maligngroup', 'malignmark', 'mlongdiv', 'mscarries', 'mscarry', 'msgroup', 'mstack', 'msline', 'msrow', 'semantics', 'annotation', 'annotation-xml', 'mprescripts', 'none']);\nconst text = freeze(['#text']);\n\nconst html = freeze(['accept', 'action', 'align', 'alt', 'autocapitalize', 'autocomplete', 'autopictureinpicture', 'autoplay', 'background', 'bgcolor', 'border', 'capture', 'cellpadding', 'cellspacing', 'checked', 'cite', 'class', 'clear', 'color', 'cols', 'colspan', 'command', 'commandfor', 'controls', 'controlslist', 'coords', 'crossorigin', 'datetime', 'decoding', 'default', 'dir', 'disabled', 'disablepictureinpicture', 'disableremoteplayback', 'download', 'draggable', 'enctype', 'enterkeyhint', 'exportparts', 'face', 'for', 'headers', 'height', 'hidden', 'high', 'href', 'hreflang', 'id', 'inert', 'inputmode', 'integrity', 'ismap', 'kind', 'label', 'lang', 'list', 'loading', 'loop', 'low', 'max', 'maxlength', 'media', 'method', 'min', 'minlength', 'multiple', 'muted', 'name', 'nonce', 'noshade', 'novalidate', 'nowrap', 'open', 'optimum', 'part', 'pattern', 'placeholder', 'playsinline', 'popover', 'popovertarget', 'popovertargetaction', 'poster', 'preload', 'pubdate', 'radiogroup', 'readonly', 'rel', 'required', 'rev', 'reversed', 'role', 'rows', 'rowspan', 'spellcheck', 'scope', 'selected', 'shape', 'size', 'sizes', 'slot', 'span', 'srclang', 'start', 'src', 'srcset', 'step', 'style', 'summary', 'tabindex', 'title', 'translate', 'type', 'usemap', 'valign', 'value', 'width', 'wrap', 'xmlns']);\nconst svg = freeze(['accent-height', 'accumulate', 'additive', 'alignment-baseline', 'amplitude', 'ascent', 'attributename', 'attributetype', 'azimuth', 'basefrequency', 'baseline-shift', 'begin', 'bias', 'by', 'class', 'clip', 'clippathunits', 'clip-path', 'clip-rule', 'color', 'color-interpolation', 'color-interpolation-filters', 'color-profile', 'color-rendering', 'cx', 'cy', 'd', 'dx', 'dy', 'diffuseconstant', 'direction', 'display', 'divisor', 'dominant-baseline', 'dur', 'edgemode', 'elevation', 'end', 'exponent', 'fill', 'fill-opacity', 'fill-rule', 'filter', 'filterunits', 'flood-color', 'flood-opacity', 'font-family', 'font-size', 'font-size-adjust', 'font-stretch', 'font-style', 'font-variant', 'font-weight', 'fx', 'fy', 'g1', 'g2', 'glyph-name', 'glyphref', 'gradientunits', 'gradienttransform', 'height', 'href', 'id', 'image-rendering', 'in', 'in2', 'intercept', 'k', 'k1', 'k2', 'k3', 'k4', 'kerning', 'keypoints', 'keysplines', 'keytimes', 'lang', 'lengthadjust', 'letter-spacing', 'kernelmatrix', 'kernelunitlength', 'lighting-color', 'local', 'marker-end', 'marker-mid', 'marker-start', 'markerheight', 'markerunits', 'markerwidth', 'maskcontentunits', 'maskunits', 'max', 'mask', 'mask-type', 'media', 'method', 'mode', 'min', 'name', 'numoctaves', 'offset', 'operator', 'opacity', 'order', 'orient', 'orientation', 'origin', 'overflow', 'paint-order', 'path', 'pathlength', 'patterncontentunits', 'patterntransform', 'patternunits', 'points', 'preservealpha', 'preserveaspectratio', 'primitiveunits', 'r', 'rx', 'ry', 'radius', 'refx', 'refy', 'repeatcount', 'repeatdur', 'restart', 'result', 'rotate', 'scale', 'seed', 'shape-rendering', 'slope', 'specularconstant', 'specularexponent', 'spreadmethod', 'startoffset', 'stddeviation', 'stitchtiles', 'stop-color', 'stop-opacity', 'stroke-dasharray', 'stroke-dashoffset', 'stroke-linecap', 'stroke-linejoin', 'stroke-miterlimit', 'stroke-opacity', 'stroke', 'stroke-width', 'style', 'surfacescale', 'systemlanguage', 'tabindex', 'tablevalues', 'targetx', 'targety', 'transform', 'transform-origin', 'text-anchor', 'text-decoration', 'text-orientation', 'text-rendering', 'textlength', 'type', 'u1', 'u2', 'unicode', 'values', 'viewbox', 'visibility', 'version', 'vert-adv-y', 'vert-origin-x', 'vert-origin-y', 'width', 'word-spacing', 'wrap', 'writing-mode', 'xchannelselector', 'ychannelselector', 'x', 'x1', 'x2', 'xmlns', 'y', 'y1', 'y2', 'z', 'zoomandpan']);\nconst mathMl = freeze(['accent', 'accentunder', 'align', 'bevelled', 'close', 'columnalign', 'columnlines', 'columnspacing', 'columnspan', 'denomalign', 'depth', 'dir', 'display', 'displaystyle', 'encoding', 'fence', 'frame', 'height', 'href', 'id', 'largeop', 'length', 'linethickness', 'lquote', 'lspace', 'mathbackground', 'mathcolor', 'mathsize', 'mathvariant', 'maxsize', 'minsize', 'movablelimits', 'notation', 'numalign', 'open', 'rowalign', 'rowlines', 'rowspacing', 'rowspan', 'rspace', 'rquote', 'scriptlevel', 'scriptminsize', 'scriptsizemultiplier', 'selection', 'separator', 'separators', 'stretchy', 'subscriptshift', 'supscriptshift', 'symmetric', 'voffset', 'width', 'xmlns']);\nconst xml = freeze(['xlink:href', 'xml:id', 'xlink:title', 'xml:space', 'xmlns:xlink']);\n\nconst MUSTACHE_EXPR = seal(/{{[\\w\\W]*|^[\\w\\W]*}}/g);\nconst ERB_EXPR = seal(/<%[\\w\\W]*|^[\\w\\W]*%>/g);\nconst TMPLIT_EXPR = seal(/\\${[\\w\\W]*/g);\nconst DATA_ATTR = seal(/^data-[\\-\\w.\\u00B7-\\uFFFF]+$/); // eslint-disable-line no-useless-escape\nconst ARIA_ATTR = seal(/^aria-[\\-\\w]+$/); // eslint-disable-line no-useless-escape\nconst IS_ALLOWED_URI = seal(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\\-]+(?:[^a-z+.\\-:]|$))/i // eslint-disable-line no-useless-escape\n);\nconst IS_SCRIPT_OR_DATA = seal(/^(?:\\w+script|data):/i);\nconst ATTR_WHITESPACE = seal(/[\\u0000-\\u0020\\u00A0\\u1680\\u180E\\u2000-\\u2029\\u205F\\u3000]/g // eslint-disable-line no-control-regex\n);\nconst DOCTYPE_NAME = seal(/^html$/i);\nconst CUSTOM_ELEMENT = seal(/^[a-z][.\\w]*(-[.\\w]+)+$/i);\n// Markup-significant character probes used by _sanitizeElements.\n// Shared module-level instances are safe despite the sticky /g flags:\n// unapply() resets lastIndex for RegExp receivers before every call.\nconst ELEMENT_MARKUP_PROBE = seal(/<[/\\w!]/g);\nconst COMMENT_MARKUP_PROBE = seal(/<[/\\w]/g);\nconst FALLBACK_TAG_CLOSE = seal(/<\\/no(script|embed|frames)/i);\nconst SELF_CLOSING_TAG = seal(/\\/>/i);\n\n// https://developer.mozilla.org/en-US/docs/Web/API/Node/nodeType\nconst NODE_TYPE = {\n element: 1,\n attribute: 2,\n text: 3,\n cdataSection: 4,\n entityReference: 5,\n // Deprecated\n entityNode: 6,\n // Deprecated\n processingInstruction: 7,\n comment: 8,\n document: 9,\n documentType: 10,\n documentFragment: 11,\n notation: 12 // Deprecated\n};\nconst getGlobal = function getGlobal() {\n return typeof window === 'undefined' ? null : window;\n};\n/**\n * Creates a no-op policy for internal use only.\n * Don't export this function outside this module!\n * @param trustedTypes The policy factory.\n * @param purifyHostElement The Script element used to load DOMPurify (to determine policy name suffix).\n * @return The policy created (or null, if Trusted Types\n * are not supported or creating the policy failed).\n */\nconst _createTrustedTypesPolicy = function _createTrustedTypesPolicy(trustedTypes, purifyHostElement) {\n if (typeof trustedTypes !== 'object' || typeof trustedTypes.createPolicy !== 'function') {\n return null;\n }\n // Allow the callers to control the unique policy name\n // by adding a data-tt-policy-suffix to the script element with the DOMPurify.\n // Policy creation with duplicate names throws in Trusted Types.\n let suffix = null;\n const ATTR_NAME = 'data-tt-policy-suffix';\n if (purifyHostElement && purifyHostElement.hasAttribute(ATTR_NAME)) {\n suffix = purifyHostElement.getAttribute(ATTR_NAME);\n }\n const policyName = 'dompurify' + (suffix ? '#' + suffix : '');\n try {\n return trustedTypes.createPolicy(policyName, {\n createHTML(html) {\n return html;\n },\n createScriptURL(scriptUrl) {\n return scriptUrl;\n }\n });\n } catch (_) {\n // Policy creation failed (most likely another DOMPurify script has\n // already run). Skip creating the policy, as this will only cause errors\n // if TT are enforced.\n console.warn('TrustedTypes policy ' + policyName + ' could not be created.');\n return null;\n }\n};\nconst _createHooksMap = function _createHooksMap() {\n return {\n afterSanitizeAttributes: [],\n afterSanitizeElements: [],\n afterSanitizeShadowDOM: [],\n beforeSanitizeAttributes: [],\n beforeSanitizeElements: [],\n beforeSanitizeShadowDOM: [],\n uponSanitizeAttribute: [],\n uponSanitizeElement: [],\n uponSanitizeShadowNode: []\n };\n};\n/**\n * Resolve a set-valued configuration option: a fresh set built from\n * cfg[key] when it is an own array property (seeded with a clone of\n * options.base when given, case-normalized via options.transform),\n * the fallback set otherwise.\n *\n * @param cfg the cloned, prototype-free configuration object\n * @param key the configuration property to read\n * @param fallback the set to use when the option is absent or not an array\n * @param options transform and optional base set to merge into\n * @returns the resolved set\n */\nconst _resolveSetOption = function _resolveSetOption(cfg, key, fallback, options) {\n return objectHasOwnProperty(cfg, key) && arrayIsArray(cfg[key]) ? addToSet(options.base ? clone(options.base) : {}, cfg[key], options.transform) : fallback;\n};\nfunction createDOMPurify() {\n let window = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : getGlobal();\n const DOMPurify = root => createDOMPurify(root);\n DOMPurify.version = '3.4.13';\n DOMPurify.removed = [];\n if (!window || !window.document || window.document.nodeType !== NODE_TYPE.document || !window.Element) {\n // Not running in a browser, provide a factory function\n // so that you can pass your own Window\n DOMPurify.isSupported = false;\n return DOMPurify;\n }\n let document = window.document;\n const originalDocument = document;\n const currentScript = originalDocument.currentScript;\n window.DocumentFragment;\n const HTMLTemplateElement = window.HTMLTemplateElement,\n Node = window.Node,\n Element = window.Element,\n NodeFilter = window.NodeFilter,\n _window$NamedNodeMap = window.NamedNodeMap;\n _window$NamedNodeMap === void 0 ? window.NamedNodeMap || window.MozNamedAttrMap : _window$NamedNodeMap;\n window.HTMLFormElement;\n const DOMParser = window.DOMParser,\n trustedTypes = window.trustedTypes;\n const ElementPrototype = Element.prototype;\n const cloneNode = lookupGetter(ElementPrototype, 'cloneNode');\n const remove = lookupGetter(ElementPrototype, 'remove');\n const getNextSibling = lookupGetter(ElementPrototype, 'nextSibling');\n const getChildNodes = lookupGetter(ElementPrototype, 'childNodes');\n const getParentNode = lookupGetter(ElementPrototype, 'parentNode');\n const getShadowRoot = lookupGetter(ElementPrototype, 'shadowRoot');\n const getAttributes = lookupGetter(ElementPrototype, 'attributes');\n const getNodeType = Node && Node.prototype ? lookupGetter(Node.prototype, 'nodeType') : null;\n const getNodeName = Node && Node.prototype ? lookupGetter(Node.prototype, 'nodeName') : null;\n const getOwnerDocument = Node && Node.prototype ? lookupGetter(Node.prototype, 'ownerDocument') : null;\n // As per issue #47, the web-components registry is inherited by a\n // new document created via createHTMLDocument. As per the spec\n // (http://w3c.github.io/webcomponents/spec/custom/#creating-and-passing-registries)\n // a new empty registry is used when creating a template contents owner\n // document, so we use that as our parent document to ensure nothing\n // is inherited.\n if (typeof HTMLTemplateElement === 'function') {\n const template = document.createElement('template');\n if (template.content && template.content.ownerDocument) {\n document = template.content.ownerDocument;\n }\n }\n let trustedTypesPolicy;\n let emptyHTML = '';\n // The instance's own internal Trusted Types policy. Unlike a caller-supplied\n // `TRUSTED_TYPES_POLICY`, this is created at most once — Trusted Types throws\n // on duplicate policy names — and is the only policy allowed to persist\n // across configurations and survive `clearConfig()`.\n let defaultTrustedTypesPolicy;\n let defaultTrustedTypesPolicyResolved = false;\n // Tracks whether we are already inside a call to the configured Trusted Types\n // policy (`createHTML` or `createScriptURL`). If a supplied policy callback\n // itself calls `DOMPurify.sanitize` (the cause of #1422), `sanitize` would\n // re-enter the policy and recurse until the stack overflows. We detect that\n // re-entry and throw a clear, actionable error instead. The guard is shared\n // across both callbacks, because either one re-entering `sanitize` triggers\n // the same unbounded recursion.\n let IN_TRUSTED_TYPES_POLICY = 0;\n const _assertNotInTrustedTypesPolicy = function _assertNotInTrustedTypesPolicy() {\n if (IN_TRUSTED_TYPES_POLICY > 0) {\n throw typeErrorCreate('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.');\n }\n };\n const _createTrustedHTML = function _createTrustedHTML(html) {\n _assertNotInTrustedTypesPolicy();\n IN_TRUSTED_TYPES_POLICY++;\n try {\n return trustedTypesPolicy.createHTML(html);\n } finally {\n IN_TRUSTED_TYPES_POLICY--;\n }\n };\n const _createTrustedScriptURL = function _createTrustedScriptURL(scriptUrl) {\n _assertNotInTrustedTypesPolicy();\n IN_TRUSTED_TYPES_POLICY++;\n try {\n return trustedTypesPolicy.createScriptURL(scriptUrl);\n } finally {\n IN_TRUSTED_TYPES_POLICY--;\n }\n };\n // Lazily resolve (and cache) the instance's internal default policy.\n // Resolution is attempted at most once: a successful `createPolicy` cannot be\n // repeated (Trusted Types throws on duplicate names), and a failed or\n // unsupported attempt must not be retried on every parse.\n const _getDefaultTrustedTypesPolicy = function _getDefaultTrustedTypesPolicy() {\n if (!defaultTrustedTypesPolicyResolved) {\n defaultTrustedTypesPolicy = _createTrustedTypesPolicy(trustedTypes, currentScript);\n defaultTrustedTypesPolicyResolved = true;\n }\n return defaultTrustedTypesPolicy;\n };\n const _document = document,\n implementation = _document.implementation,\n createNodeIterator = _document.createNodeIterator,\n createDocumentFragment = _document.createDocumentFragment,\n getElementsByTagName = _document.getElementsByTagName;\n const importNode = originalDocument.importNode;\n let hooks = _createHooksMap();\n /**\n * Expose whether this browser supports running the full DOMPurify.\n */\n DOMPurify.isSupported = typeof entries === 'function' && typeof getParentNode === 'function' && implementation && implementation.createHTMLDocument !== undefined;\n const MUSTACHE_EXPR$1 = MUSTACHE_EXPR,\n ERB_EXPR$1 = ERB_EXPR,\n TMPLIT_EXPR$1 = TMPLIT_EXPR,\n DATA_ATTR$1 = DATA_ATTR,\n ARIA_ATTR$1 = ARIA_ATTR,\n IS_SCRIPT_OR_DATA$1 = IS_SCRIPT_OR_DATA,\n ATTR_WHITESPACE$1 = ATTR_WHITESPACE,\n CUSTOM_ELEMENT$1 = CUSTOM_ELEMENT;\n let IS_ALLOWED_URI$1 = IS_ALLOWED_URI;\n /**\n * We consider the elements and attributes below to be safe. Ideally\n * don't add any new ones but feel free to remove unwanted ones.\n */\n /* allowed element names */\n let ALLOWED_TAGS = null;\n const DEFAULT_ALLOWED_TAGS = addToSet({}, [...html$1, ...svg$1, ...svgFilters, ...mathMl$1, ...text]);\n /* Allowed attribute names */\n let ALLOWED_ATTR = null;\n const DEFAULT_ALLOWED_ATTR = addToSet({}, [...html, ...svg, ...mathMl, ...xml]);\n /*\n * Configure how DOMPurify should handle custom elements and their attributes as well as customized built-in elements.\n * @property {RegExp|Function|null} tagNameCheck one of [null, regexPattern, predicate]. Default: `null` (disallow any custom elements)\n * @property {RegExp|Function|null} attributeNameCheck one of [null, regexPattern, predicate]. Default: `null` (disallow any attributes not on the allow list)\n * @property {boolean} allowCustomizedBuiltInElements allow custom elements derived from built-ins if they pass CUSTOM_ELEMENT_HANDLING.tagNameCheck. Default: `false`.\n */\n let CUSTOM_ELEMENT_HANDLING = Object.seal(create(null, {\n tagNameCheck: {\n writable: true,\n configurable: false,\n enumerable: true,\n value: null\n },\n attributeNameCheck: {\n writable: true,\n configurable: false,\n enumerable: true,\n value: null\n },\n allowCustomizedBuiltInElements: {\n writable: true,\n configurable: false,\n enumerable: true,\n value: false\n }\n }));\n /* Explicitly forbidden tags (overrides ALLOWED_TAGS/ADD_TAGS) */\n let FORBID_TAGS = null;\n /* Explicitly forbidden attributes (overrides ALLOWED_ATTR/ADD_ATTR) */\n let FORBID_ATTR = null;\n /* Config object to store ADD_TAGS/ADD_ATTR functions (when used as functions) */\n const EXTRA_ELEMENT_HANDLING = Object.seal(create(null, {\n tagCheck: {\n writable: true,\n configurable: false,\n enumerable: true,\n value: null\n },\n attributeCheck: {\n writable: true,\n configurable: false,\n enumerable: true,\n value: null\n }\n }));\n /* Decide if ARIA attributes are okay */\n let ALLOW_ARIA_ATTR = true;\n /* Decide if custom data attributes are okay */\n let ALLOW_DATA_ATTR = true;\n /* Decide if unknown protocols are okay */\n let ALLOW_UNKNOWN_PROTOCOLS = false;\n /* Decide if self-closing tags in attributes are allowed.\n * Usually removed due to a mXSS issue in jQuery 3.0 */\n let ALLOW_SELF_CLOSE_IN_ATTR = true;\n /* Output should be safe for common template engines.\n * This means, DOMPurify removes data attributes, mustaches and ERB\n */\n let SAFE_FOR_TEMPLATES = false;\n /* Output should be safe even for XML used within HTML and alike.\n * This means, DOMPurify removes comments when containing risky content.\n */\n let SAFE_FOR_XML = true;\n /* Decide if document with ... should be returned */\n let WHOLE_DOCUMENT = false;\n /* Track whether config is already set on this instance of DOMPurify. */\n let SET_CONFIG = false;\n /* Pristine allowlist bindings captured at setConfig() time. On the\n * persistent-config path sanitize() restores the sets from these before\n * the per-walk hook clone-guard, so a hook's in-call widening cannot\n * carry across calls. Null until setConfig() is called; reset by\n * clearConfig(). */\n let SET_CONFIG_ALLOWED_TAGS = null;\n let SET_CONFIG_ALLOWED_ATTR = null;\n /* Decide if all elements (e.g. style, script) must be children of\n * document.body. By default, browsers might move them to document.head */\n let FORCE_BODY = false;\n /* Decide if a DOM `HTMLBodyElement` should be returned, instead of a html\n * string (or a TrustedHTML object if Trusted Types are supported).\n * If `WHOLE_DOCUMENT` is enabled a `HTMLHtmlElement` will be returned instead\n */\n let RETURN_DOM = false;\n /* Decide if a DOM `DocumentFragment` should be returned, instead of a html\n * string (or a TrustedHTML object if Trusted Types are supported) */\n let RETURN_DOM_FRAGMENT = false;\n /* Try to return a Trusted Type object instead of a string, return a string in\n * case Trusted Types are not supported */\n let RETURN_TRUSTED_TYPE = false;\n /* Output should be free from DOM clobbering attacks?\n * This sanitizes markups named with colliding, clobberable built-in DOM APIs.\n */\n let SANITIZE_DOM = true;\n /* Achieve full DOM Clobbering protection by isolating the namespace of named\n * properties and JS variables, mitigating attacks that abuse the HTML/DOM spec rules.\n *\n * HTML/DOM spec rules that enable DOM Clobbering:\n * - Named Access on Window (§7.3.3)\n * - DOM Tree Accessors (§3.1.5)\n * - Form Element Parent-Child Relations (§4.10.3)\n * - Iframe srcdoc / Nested WindowProxies (§4.8.5)\n * - HTMLCollection (§4.2.10.2)\n *\n * Namespace isolation is implemented by prefixing `id` and `name` attributes\n * with a constant string, i.e., `user-content-`\n */\n let SANITIZE_NAMED_PROPS = false;\n const SANITIZE_NAMED_PROPS_PREFIX = 'user-content-';\n /* Keep element content when removing element? */\n let KEEP_CONTENT = true;\n /* If a `Node` is passed to sanitize(), then performs sanitization in-place instead\n * of importing it into a new Document and returning a sanitized copy */\n let IN_PLACE = false;\n /* Allow usage of profiles like html, svg and mathMl */\n let USE_PROFILES = {};\n /* Tags to ignore content of when KEEP_CONTENT is true */\n let FORBID_CONTENTS = null;\n const DEFAULT_FORBID_CONTENTS = addToSet({}, ['annotation-xml', 'audio', 'colgroup', 'desc', 'foreignobject', 'head', 'iframe', 'math', 'mi', 'mn', 'mo', 'ms', 'mtext', 'noembed', 'noframes', 'noscript', 'plaintext', 'script',\n // mirrors the selected