@validol4ik/uikit 0.3.30 → 0.3.31

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/style.css CHANGED
@@ -1 +1 @@
1
- i.icon-kl{font-family:kl!important;speak:never;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.icon-kl-crown_o:before{content:""}.icon-kl-star_fall_o:before{content:""}.icon-kl-star_o:before{content:""}.icon-kl-translate:before{content:""}.icon-kl-return:before{content:""}.icon-kl-search:before{content:""}.icon-kl-plus:before{content:""}.icon-kl-minus:before{content:""}.icon-kl-check:before{content:""}.icon-kl-close:before{content:""}.icon-kl-arrow-up:before{content:""}.icon-kl-arrow-down:before{content:""}.icon-kl-arrow-left:before{content:""}.icon-kl-arrow-right:before{content:""}.icon-kl-more-vertical:before{content:""}.icon-kl-arrow-download:before{content:""}.icon-kl-arrow-export:before{content:""}.icon-kl-arrow-logout:before{content:""}.icon-kl-arrow-share:before{content:""}.icon-kl-drag:before{content:""}.icon-kl-rule:before{content:""}.icon-kl-checklist:before{content:""}.icon-kl-bulleted-list:before{content:""}.icon-kl-menu:before{content:""}.icon-kl-text-right:before{content:""}.icon-kl-text-left:before{content:""}.icon-kl-stack_o:before{content:""}.icon-kl-mic-off_o:before{content:""}.icon-kl-mic_o:before{content:""}.icon-kl-telegram:before{content:""}.icon-kl-instagram_o:before{content:""}.icon-kl-mail_o:before{content:""}.icon-kl-coin_o:before{content:""}.icon-kl-price-tag_o:before{content:""}.icon-kl-quote_o:before{content:""}.icon-kl-play_o:before{content:""}.icon-kl-award_o:before{content:""}.icon-kl-medal_o:before{content:""}.icon-kl-bookmark_o:before{content:""}.icon-kl-calendar_o:before{content:""}.icon-kl-circle-check_o:before{content:""}.icon-kl-circle-question_o:before{content:""}.icon-kl-circle-info_o:before{content:""}.icon-kl-pie-chart_o:before{content:""}.icon-kl-edit_o:before{content:""}.icon-kl-trash_o:before{content:""}.icon-kl-copy_o:before{content:""}.icon-kl-copied_o:before{content:""}.icon-kl-folder_o:before{content:""}.icon-kl-folder-plus_o:before{content:""}.icon-kl-file-plus_o:before{content:""}.icon-kl-flag_o:before{content:""}.icon-kl-home_o:before{content:""}.icon-kl-timer_o:before{content:""}.icon-kl-visibility-off:before{content:""}.icon-kl-visibility:before{content:""}.icon-kl-unlock_o:before{content:""}.icon-kl-lock_o:before{content:""}.icon-kl-user_o:before{content:""}.icon-kl-user-plus_o:before{content:""}.icon-kl-user-close_o:before{content:""}.icon-kl-trophy_o:before{content:""}.icon-kl-crown:before{content:""}.icon-kl-star_fall:before{content:""}.icon-kl-star:before{content:""}.icon-kl-stack:before{content:""}.icon-kl-mic-off:before{content:""}.icon-kl-mic:before{content:""}.icon-kl-instagram:before{content:""}.icon-kl-mail:before{content:""}.icon-kl-coin:before{content:""}.icon-kl-price-tag:before{content:""}.icon-kl-quote:before{content:""}.icon-kl-play:before{content:""}.icon-kl-award:before{content:""}.icon-kl-medal:before{content:""}.icon-kl-bookmark:before{content:""}.icon-kl-calendar:before{content:""}.icon-kl-circle-check:before{content:""}.icon-kl-circle-question:before{content:""}.icon-kl-circle-info:before{content:""}.icon-kl-pie-chart:before{content:""}.icon-kl-edit:before{content:""}.icon-kl-trash:before{content:""}.icon-kl-copy:before{content:""}.icon-kl-copied:before{content:""}.icon-kl-folder:before{content:""}.icon-kl-folder-plus:before{content:""}.icon-kl-file-plus:before{content:""}.icon-kl-flag:before{content:""}.icon-kl-home:before{content:""}.icon-kl-timer:before{content:""}.icon-kl-unlock:before{content:""}.icon-kl-lock:before{content:""}.icon-kl-user:before{content:""}.icon-kl-user-close:before{content:""}.icon-kl-user-plus:before{content:""}.icon-kl-trophy:before{content:""}.q-menu{background:#fdfffc40;border-radius:14px;box-shadow:2px 2px 8px #1e1e1e14;border-top:1px solid rgba(253,255,252,.6);border-left:1px solid rgba(253,255,252,.6);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.q-menu .q-item{padding:8px 14px;color:#1e1e1e}.q-menu .q-item:not(:last-child){border-bottom:1px solid rgba(30,30,30,.05)}.q-menu .q-item :hover .q-item__label{color:#1a5cff}.q-menu .q-item .q-focus-helper{display:none}.icon-kl[data-v-24fca0cf]{font-size:24px}.app-btn[data-v-64785508] .q-btn__content{font-family:OpenSans,sans-serif;font-weight:600}.app-btn_sm[data-v-64785508]{font-size:12px;border-radius:7px}.app-btn_sm[data-v-64785508] .q-btn__content{line-height:20px}.app-btn_sm .icon-kl[data-v-64785508]{font-size:18px}.app-btn_sm.app-btn_icon-left[data-v-64785508]{padding-left:5px!important}.app-btn_sm.app-btn_icon-left .icon-kl_left[data-v-64785508]{margin-right:2px}.app-btn_sm.app-btn_icon-right[data-v-64785508]{padding-right:5px!important}.app-btn_sm.app-btn_icon-right .icon-kl_right[data-v-64785508]{margin-left:2px}.app-btn_sm.app-btn_icon-middle[data-v-64785508]{padding:4px!important}.app-btn_md[data-v-64785508]{font-size:14px;border-radius:8px}.app-btn_md[data-v-64785508] .q-btn__content{line-height:22px}.app-btn_md .icon-kl[data-v-64785508]{font-size:22px}.app-btn_md.app-btn_icon-left[data-v-64785508]{padding-left:9px!important}.app-btn_md.app-btn_icon-left .icon-kl_left[data-v-64785508]{margin-right:4px}.app-btn_md.app-btn_icon-right[data-v-64785508]{padding-right:9px!important}.app-btn_md.app-btn_icon-right .icon-kl_right[data-v-64785508]{margin-left:4px}.app-btn_md.app-btn_icon-middle[data-v-64785508]{padding:5px!important}.app-btn_lg[data-v-64785508]{font-size:17px;border-radius:10px}.app-btn_lg[data-v-64785508] .q-btn__content{line-height:26px}.app-btn_lg .icon-kl[data-v-64785508]{font-size:26px}.app-btn_lg.app-btn_icon-left[data-v-64785508]{padding-left:16px!important}.app-btn_lg.app-btn_icon-left .icon-kl_left[data-v-64785508]{margin-right:6px}.app-btn_lg.app-btn_icon-right[data-v-64785508]{padding-right:16px!important}.app-btn_lg.app-btn_icon-right .icon-kl_right[data-v-64785508]{margin-left:6px}.app-btn_lg.app-btn_icon-middle[data-v-64785508]{padding:11px!important}.app-btn_primary[data-v-64785508]{color:#1a5cff}.app-btn_info[data-v-64785508]{color:#399}.app-btn_negative[data-v-64785508]{color:#ff4757}.app-btn_positive[data-v-64785508]{color:#46c93a}.app-btn_default.app-btn_primary[data-v-64785508]{background-color:#1a5cff;color:#fdfffc}.app-btn_default.app-btn_info[data-v-64785508]{background-color:#399;color:#fdfffc}.app-btn_default.app-btn_negative[data-v-64785508]{background-color:#ff4757;color:#fdfffc}.app-btn_default.app-btn_positive[data-v-64785508]{background-color:#46c93a;color:#fdfffc}.app-btn_trans.app-btn_primary[data-v-64785508]{background-color:#1a5cff26}.app-btn_trans.app-btn_info[data-v-64785508]{background-color:#33999926}.app-btn_trans.app-btn_negative[data-v-64785508]{background-color:#ff475726}.app-btn_trans.app-btn_positive[data-v-64785508]{background-color:#46c93a26}.app-btn_flat[data-v-64785508]{background-color:transparent}.app-btn_flat:hover.app-btn_primary[data-v-64785508]{background-color:#1a5cff05}.app-btn_flat:hover.app-btn_info[data-v-64785508]{background-color:#33999905}.app-btn_flat:hover.app-btn_negative[data-v-64785508]{background-color:#ff475705}.app-btn_flat:hover.app-btn_positive[data-v-64785508]{background-color:#46c93a05}.app-btn_rounded[data-v-64785508]{border-radius:50px}.app-select[data-v-281b5932]{width:220px}.app-select__label[data-v-281b5932]{padding-left:6px}.app-select__label_bold[data-v-281b5932]{font-weight:600}.app-select__drop-icon[data-v-281b5932]{color:#1e1e1e;transition:.2s;cursor:pointer}.app-select__clear[data-v-281b5932]{border-radius:50px;background:#1e1e1e14;color:#1e1e1e;cursor:pointer}.app-select__clear[data-v-281b5932]:hover{background:#1e1e1e21}.app-select__selected[data-v-281b5932]{color:#1e1e1e}.app-select__amount[data-v-281b5932]{line-height:10px;padding:1px 5px;border-radius:50px;background:#1a5cff;color:#fdfffc;font-size:12px;font-weight:500}.app-select__placeholder[data-v-281b5932]{color:#1e1e1e80!important}.app-select__option[data-v-281b5932]{-webkit-user-select:none;user-select:none}.app-select__option_selected .q-item__label[data-v-281b5932]{color:#1a5cff}.app-select__option .q-item__section--avatar[data-v-281b5932]{min-width:0;padding-right:0;justify-content:center}.app-select[data-v-281b5932] .q-field .q-field__control{background:#7676801f;box-shadow:none}.app-select[data-v-281b5932] .q-field .q-field__control:before{background:#0000000d}.app-select[data-v-281b5932] .q-field .q-placeholder{color:#1e1e1e80!important}.app-select[data-v-281b5932] .q-field .q-spinner circle{stroke:#1e1e1ea6}.app-select_opened .app-select__drop-icon[data-v-281b5932]{transform:rotate(180deg)}.app-select_sm .app-select__label[data-v-281b5932]{display:none}.app-select_sm .app-select__selected[data-v-281b5932]{font-size:12px}.app-select_sm .app-select__clear[data-v-281b5932]{font-size:13px}.app-select_sm .app-select__drop-icon[data-v-281b5932]{font-size:18px}.app-select_sm .app-select__amount[data-v-281b5932]{font-size:10px;padding:.5px 3.5px}.app-select_sm[data-v-281b5932] .q-field .q-field__control{border-radius:8px;padding:0 6px 0 12px}.app-select_sm[data-v-281b5932] .q-field .q-field__native{padding:4px 0}.app-select_sm[data-v-281b5932] .q-field .q-field__control,.app-select_sm[data-v-281b5932] .q-field .q-field__native,.app-select_sm[data-v-281b5932] .q-field .q-field__append,.app-select_sm[data-v-281b5932] .q-field .q-field__prepend,.app-select_sm[data-v-281b5932] .q-field .q-field__before,.app-select_sm[data-v-281b5932] .q-field .q-field__after{min-height:26px;height:26px}.app-select_sm[data-v-281b5932] .q-field .q-field__input{min-height:18px;line-height:18px;font-size:12px}.app-select_sm[data-v-281b5932] .q-field .q-field__bottom{padding:5px 12px 0;font-size:10px}.app-select_md .app-select__label[data-v-281b5932]{font-size:10px}.app-select_md .app-select__selected[data-v-281b5932]{font-size:13px}.app-select_md .app-select__clear[data-v-281b5932]{font-size:16px}.app-select_md .app-select__drop-icon[data-v-281b5932]{font-size:22px}.app-select_md .app-select__amount[data-v-281b5932]{padding:.5px 4.2px;font-size:11px}.app-select_md[data-v-281b5932] .q-field .q-field__control{border-radius:10px;padding:0 8px 0 12px}.app-select_md[data-v-281b5932] .q-field .q-field__control,.app-select_md[data-v-281b5932] .q-field .q-field__native,.app-select_md[data-v-281b5932] .q-field .q-field__append,.app-select_md[data-v-281b5932] .q-field .q-field__prepend,.app-select_md[data-v-281b5932] .q-field .q-field__before,.app-select_md[data-v-281b5932] .q-field .q-field__after{min-height:32px;height:32px}.app-select_md[data-v-281b5932] .q-field .q-field__input{min-height:20px;line-height:20px;font-size:13px}.app-select_md[data-v-281b5932] .q-field .q-field__bottom{padding:6px 12px 0;font-size:11px}.app-select_lg .app-select__label[data-v-281b5932]{font-size:12px}.app-select_lg .app-select__clear[data-v-281b5932]{font-size:18px}.app-select_lg .app-select__selected[data-v-281b5932]{font-size:16px}.app-select_lg[data-v-281b5932] .q-field .q-field__control{border-radius:12px}.app-select_lg[data-v-281b5932] .q-field .q-field__control,.app-select_lg[data-v-281b5932] .q-field .q-field__native,.app-select_lg[data-v-281b5932] .q-field .q-field__append,.app-select_lg[data-v-281b5932] .q-field .q-field__prepend,.app-select_lg[data-v-281b5932] .q-field .q-field__before,.app-select_lg[data-v-281b5932] .q-field .q-field__after{min-height:44px;height:44px}.app-select_lg[data-v-281b5932] .q-field .q-spinner{width:18px;height:18px}.option-multiple[data-v-281b5932]{width:30px}.option-done[data-v-281b5932]{width:24px}.option-done__icon[data-v-281b5932]{font-size:20px;color:#46c93a}.app-select-menu_sm .q-item[data-v-281b5932]{min-height:36px;padding:3px 10px}.app-select-menu_sm .q-item__label[data-v-281b5932]{font-size:12px}.app-select-menu_md .q-item[data-v-281b5932]{min-height:42px;padding:5px 12px}.app-select-menu_md .q-item__label[data-v-281b5932]{font-size:13px}
1
+ i.icon-kl{font-family:kl!important;speak:never;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.icon-kl-crown_o:before{content:""}.icon-kl-star_fall_o:before{content:""}.icon-kl-star_o:before{content:""}.icon-kl-translate:before{content:""}.icon-kl-return:before{content:""}.icon-kl-search:before{content:""}.icon-kl-plus:before{content:""}.icon-kl-minus:before{content:""}.icon-kl-check:before{content:""}.icon-kl-close:before{content:""}.icon-kl-arrow-up:before{content:""}.icon-kl-arrow-down:before{content:""}.icon-kl-arrow-left:before{content:""}.icon-kl-arrow-right:before{content:""}.icon-kl-more-vertical:before{content:""}.icon-kl-arrow-download:before{content:""}.icon-kl-arrow-export:before{content:""}.icon-kl-arrow-logout:before{content:""}.icon-kl-arrow-share:before{content:""}.icon-kl-drag:before{content:""}.icon-kl-rule:before{content:""}.icon-kl-checklist:before{content:""}.icon-kl-bulleted-list:before{content:""}.icon-kl-menu:before{content:""}.icon-kl-text-right:before{content:""}.icon-kl-text-left:before{content:""}.icon-kl-stack_o:before{content:""}.icon-kl-mic-off_o:before{content:""}.icon-kl-mic_o:before{content:""}.icon-kl-telegram:before{content:""}.icon-kl-instagram_o:before{content:""}.icon-kl-mail_o:before{content:""}.icon-kl-coin_o:before{content:""}.icon-kl-price-tag_o:before{content:""}.icon-kl-quote_o:before{content:""}.icon-kl-play_o:before{content:""}.icon-kl-award_o:before{content:""}.icon-kl-medal_o:before{content:""}.icon-kl-bookmark_o:before{content:""}.icon-kl-calendar_o:before{content:""}.icon-kl-circle-check_o:before{content:""}.icon-kl-circle-question_o:before{content:""}.icon-kl-circle-info_o:before{content:""}.icon-kl-pie-chart_o:before{content:""}.icon-kl-edit_o:before{content:""}.icon-kl-trash_o:before{content:""}.icon-kl-copy_o:before{content:""}.icon-kl-copied_o:before{content:""}.icon-kl-folder_o:before{content:""}.icon-kl-folder-plus_o:before{content:""}.icon-kl-file-plus_o:before{content:""}.icon-kl-flag_o:before{content:""}.icon-kl-home_o:before{content:""}.icon-kl-timer_o:before{content:""}.icon-kl-visibility-off:before{content:""}.icon-kl-visibility:before{content:""}.icon-kl-unlock_o:before{content:""}.icon-kl-lock_o:before{content:""}.icon-kl-user_o:before{content:""}.icon-kl-user-plus_o:before{content:""}.icon-kl-user-close_o:before{content:""}.icon-kl-trophy_o:before{content:""}.icon-kl-crown:before{content:""}.icon-kl-star_fall:before{content:""}.icon-kl-star:before{content:""}.icon-kl-stack:before{content:""}.icon-kl-mic-off:before{content:""}.icon-kl-mic:before{content:""}.icon-kl-instagram:before{content:""}.icon-kl-mail:before{content:""}.icon-kl-coin:before{content:""}.icon-kl-price-tag:before{content:""}.icon-kl-quote:before{content:""}.icon-kl-play:before{content:""}.icon-kl-award:before{content:""}.icon-kl-medal:before{content:""}.icon-kl-bookmark:before{content:""}.icon-kl-calendar:before{content:""}.icon-kl-circle-check:before{content:""}.icon-kl-circle-question:before{content:""}.icon-kl-circle-info:before{content:""}.icon-kl-pie-chart:before{content:""}.icon-kl-edit:before{content:""}.icon-kl-trash:before{content:""}.icon-kl-copy:before{content:""}.icon-kl-copied:before{content:""}.icon-kl-folder:before{content:""}.icon-kl-folder-plus:before{content:""}.icon-kl-file-plus:before{content:""}.icon-kl-flag:before{content:""}.icon-kl-home:before{content:""}.icon-kl-timer:before{content:""}.icon-kl-unlock:before{content:""}.icon-kl-lock:before{content:""}.icon-kl-user:before{content:""}.icon-kl-user-close:before{content:""}.icon-kl-user-plus:before{content:""}.icon-kl-trophy:before{content:""}.q-menu{background:#fdfffc40;border-radius:14px;box-shadow:2px 2px 8px #1e1e1e14;border-top:1px solid rgba(253,255,252,.6);border-left:1px solid rgba(253,255,252,.6);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.q-menu .q-item{padding:8px 14px;color:#1e1e1e}.q-menu .q-item:not(:last-child){border-bottom:1px solid rgba(30,30,30,.05)}.q-menu .q-item :hover .q-item__label{color:#1a5cff}.q-menu .q-item .q-focus-helper{display:none}.app-btn[data-v-70840407] .q-btn__content{font-family:OpenSans,sans-serif;font-weight:600}.app-btn_sm[data-v-70840407]{font-size:12px;border-radius:7px}.app-btn_sm[data-v-70840407] .q-btn__content{line-height:20px}.app-btn_sm .icon-kl[data-v-70840407]{font-size:18px}.app-btn_sm.app-btn_icon-left[data-v-70840407]{padding-left:5px!important}.app-btn_sm.app-btn_icon-left .icon-kl_left[data-v-70840407]{margin-right:2px}.app-btn_sm.app-btn_icon-right[data-v-70840407]{padding-right:5px!important}.app-btn_sm.app-btn_icon-right .icon-kl_right[data-v-70840407]{margin-left:2px}.app-btn_sm.app-btn_icon-middle[data-v-70840407]{padding:4px!important}.app-btn_md[data-v-70840407]{font-size:14px;border-radius:8px}.app-btn_md[data-v-70840407] .q-btn__content{line-height:22px}.app-btn_md .icon-kl[data-v-70840407]{font-size:22px}.app-btn_md.app-btn_icon-left[data-v-70840407]{padding-left:9px!important}.app-btn_md.app-btn_icon-left .icon-kl_left[data-v-70840407]{margin-right:4px}.app-btn_md.app-btn_icon-right[data-v-70840407]{padding-right:9px!important}.app-btn_md.app-btn_icon-right .icon-kl_right[data-v-70840407]{margin-left:4px}.app-btn_md.app-btn_icon-middle[data-v-70840407]{padding:5px!important}.app-btn_lg[data-v-70840407]{font-size:17px;border-radius:10px}.app-btn_lg[data-v-70840407] .q-btn__content{line-height:26px}.app-btn_lg .icon-kl[data-v-70840407]{font-size:26px}.app-btn_lg.app-btn_icon-left[data-v-70840407]{padding-left:16px!important}.app-btn_lg.app-btn_icon-left .icon-kl_left[data-v-70840407]{margin-right:6px}.app-btn_lg.app-btn_icon-right[data-v-70840407]{padding-right:16px!important}.app-btn_lg.app-btn_icon-right .icon-kl_right[data-v-70840407]{margin-left:6px}.app-btn_lg.app-btn_icon-middle[data-v-70840407]{padding:11px!important}.app-btn_primary[data-v-70840407]{color:#1a5cff}.app-btn_info[data-v-70840407]{color:#399}.app-btn_negative[data-v-70840407]{color:#ff4757}.app-btn_positive[data-v-70840407]{color:#46c93a}.app-btn_default.app-btn_primary[data-v-70840407]{background-color:#1a5cff;color:#fdfffc}.app-btn_default.app-btn_info[data-v-70840407]{background-color:#399;color:#fdfffc}.app-btn_default.app-btn_negative[data-v-70840407]{background-color:#ff4757;color:#fdfffc}.app-btn_default.app-btn_positive[data-v-70840407]{background-color:#46c93a;color:#fdfffc}.app-btn_trans.app-btn_primary[data-v-70840407]{background-color:#1a5cff26}.app-btn_trans.app-btn_info[data-v-70840407]{background-color:#33999926}.app-btn_trans.app-btn_negative[data-v-70840407]{background-color:#ff475726}.app-btn_trans.app-btn_positive[data-v-70840407]{background-color:#46c93a26}.app-btn_flat[data-v-70840407]{background-color:transparent}.app-btn_flat:hover.app-btn_primary[data-v-70840407]{background-color:#1a5cff05}.app-btn_flat:hover.app-btn_info[data-v-70840407]{background-color:#33999905}.app-btn_flat:hover.app-btn_negative[data-v-70840407]{background-color:#ff475705}.app-btn_flat:hover.app-btn_positive[data-v-70840407]{background-color:#46c93a05}.app-btn_rounded[data-v-70840407]{border-radius:50px}.icon-kl[data-v-941765ee]{font-size:24px}.app-select[data-v-0f420510]{width:220px}.app-select__label[data-v-0f420510]{padding-left:6px}.app-select__label_bold[data-v-0f420510]{font-weight:600}.app-select__drop-icon[data-v-0f420510]{color:#1e1e1e;transition:.2s;cursor:pointer}.app-select__clear[data-v-0f420510]{border-radius:50px;background:#1e1e1e14;color:#1e1e1e;cursor:pointer}.app-select__clear[data-v-0f420510]:hover{background:#1e1e1e21}.app-select__selected[data-v-0f420510]{color:#1e1e1e}.app-select__amount[data-v-0f420510]{line-height:10px;padding:1px 5px;border-radius:50px;background:#1a5cff;color:#fdfffc;font-size:12px;font-weight:500}.app-select__placeholder[data-v-0f420510]{color:#1e1e1e80!important}.app-select__option[data-v-0f420510]{-webkit-user-select:none;user-select:none}.app-select__option_selected .q-item__label[data-v-0f420510]{color:#1a5cff}.app-select__option .q-item__section--avatar[data-v-0f420510]{min-width:0;padding-right:0;justify-content:center}.app-select[data-v-0f420510] .q-field .q-field__control{background:#7676801f;box-shadow:none}.app-select[data-v-0f420510] .q-field .q-field__control:before{background:#0000000d}.app-select[data-v-0f420510] .q-field .q-placeholder{color:#1e1e1e80!important}.app-select[data-v-0f420510] .q-field .q-spinner circle{stroke:#1e1e1ea6}.app-select_opened .app-select__drop-icon[data-v-0f420510]{transform:rotate(180deg)}.app-select_sm .app-select__label[data-v-0f420510]{display:none}.app-select_sm .app-select__selected[data-v-0f420510]{font-size:12px}.app-select_sm .app-select__clear[data-v-0f420510]{font-size:13px}.app-select_sm .app-select__drop-icon[data-v-0f420510]{font-size:18px}.app-select_sm .app-select__amount[data-v-0f420510]{font-size:10px;padding:.5px 3.5px}.app-select_sm[data-v-0f420510] .q-field .q-field__control{border-radius:8px;padding:0 6px 0 12px}.app-select_sm[data-v-0f420510] .q-field .q-field__native{padding:4px 0}.app-select_sm[data-v-0f420510] .q-field .q-field__control,.app-select_sm[data-v-0f420510] .q-field .q-field__native,.app-select_sm[data-v-0f420510] .q-field .q-field__append,.app-select_sm[data-v-0f420510] .q-field .q-field__prepend,.app-select_sm[data-v-0f420510] .q-field .q-field__before,.app-select_sm[data-v-0f420510] .q-field .q-field__after{min-height:26px;height:26px}.app-select_sm[data-v-0f420510] .q-field .q-field__input{min-height:18px;line-height:18px;font-size:12px}.app-select_sm[data-v-0f420510] .q-field .q-field__bottom{padding:5px 12px 0;font-size:10px}.app-select_md .app-select__label[data-v-0f420510]{font-size:10px}.app-select_md .app-select__selected[data-v-0f420510]{font-size:13px}.app-select_md .app-select__clear[data-v-0f420510]{font-size:16px}.app-select_md .app-select__drop-icon[data-v-0f420510]{font-size:22px}.app-select_md .app-select__amount[data-v-0f420510]{padding:.5px 4.2px;font-size:11px}.app-select_md[data-v-0f420510] .q-field .q-field__control{border-radius:10px;padding:0 8px 0 12px}.app-select_md[data-v-0f420510] .q-field .q-field__control,.app-select_md[data-v-0f420510] .q-field .q-field__native,.app-select_md[data-v-0f420510] .q-field .q-field__append,.app-select_md[data-v-0f420510] .q-field .q-field__prepend,.app-select_md[data-v-0f420510] .q-field .q-field__before,.app-select_md[data-v-0f420510] .q-field .q-field__after{min-height:32px;height:32px}.app-select_md[data-v-0f420510] .q-field .q-field__input{min-height:20px;line-height:20px;font-size:13px}.app-select_md[data-v-0f420510] .q-field .q-field__bottom{padding:6px 12px 0;font-size:11px}.app-select_lg .app-select__label[data-v-0f420510]{font-size:12px}.app-select_lg .app-select__clear[data-v-0f420510]{font-size:18px}.app-select_lg .app-select__selected[data-v-0f420510]{font-size:16px}.app-select_lg[data-v-0f420510] .q-field .q-field__control{border-radius:12px}.app-select_lg[data-v-0f420510] .q-field .q-field__control,.app-select_lg[data-v-0f420510] .q-field .q-field__native,.app-select_lg[data-v-0f420510] .q-field .q-field__append,.app-select_lg[data-v-0f420510] .q-field .q-field__prepend,.app-select_lg[data-v-0f420510] .q-field .q-field__before,.app-select_lg[data-v-0f420510] .q-field .q-field__after{min-height:44px;height:44px}.app-select_lg[data-v-0f420510] .q-field .q-spinner{width:18px;height:18px}.option-multiple[data-v-0f420510]{width:30px}.option-done[data-v-0f420510]{width:24px}.option-done__icon[data-v-0f420510]{font-size:20px;color:#46c93a}.app-select-menu_sm .q-item[data-v-0f420510]{min-height:36px;padding:3px 10px}.app-select-menu_sm .q-item__label[data-v-0f420510]{font-size:12px}.app-select-menu_md .q-item[data-v-0f420510]{min-height:42px;padding:5px 12px}.app-select-menu_md .q-item__label[data-v-0f420510]{font-size:13px}
@@ -1,6 +1,6 @@
1
1
  import { default as CopyButtonProps } from './types';
2
2
  declare const _default: import('vue').DefineComponent<CopyButtonProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<CopyButtonProps> & Readonly<{}>, {
3
- color: import('quasar').NamedColor;
4
3
  transparent: boolean;
4
+ color: import('quasar').NamedColor;
5
5
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
6
6
  export default _default;
@@ -1,4 +1,4 @@
1
- import { AppSelectProps } from './types.ts';
1
+ import { AppSelectProps } from './types';
2
2
  declare const _default: import('vue').DefineComponent<AppSelectProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
3
3
  "update:modelValue": (...args: any[]) => void;
4
4
  }, string, import('vue').PublicProps, Readonly<AppSelectProps> & Readonly<{
@@ -1,6 +1,15 @@
1
- import { default as AppIcon } from './components/AppIcon/AppIcon.vue';
2
1
  import { default as AppButton } from './components/buttons/AppButton/AppButton.vue';
3
- import { default as AppButtonCopy } from './components/buttons/CopyButton/AppButtonCopy.vue';
4
- import { default as AppSelect } from './components/form/AppSelect/AppSelect.vue';
5
- export { AppIcon, AppButton, AppButtonCopy, AppSelect };
6
- export type { AppButtonProps } from './components/buttons/AppButton/types';
2
+ import { AppButtonProps } from './components/buttons/AppButton/types';
3
+ import { default as AppIcon } from './components/AppIcon/AppIcon.vue';
4
+ declare const AppButtonCopy: import('vue').DefineComponent<import('./components/buttons/CopyButton/types').default, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('./components/buttons/CopyButton/types').default> & Readonly<{}>, {
5
+ transparent: boolean;
6
+ color: import('quasar').NamedColor;
7
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
8
+ declare const AppSelect: import('vue').DefineComponent<import('./components/form/AppSelect/types').AppSelectProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
9
+ "update:modelValue": (...args: any[]) => void;
10
+ }, string, import('vue').PublicProps, Readonly<import('./components/form/AppSelect/types').AppSelectProps> & Readonly<{
11
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
12
+ }>, {
13
+ size: import('./components/types').Size;
14
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
15
+ export { AppButton, AppButtonProps, AppIcon, AppButtonCopy, AppSelect };
package/dist/uikit.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),jn=t.defineComponent({__name:"AppIcon",props:{name:{},size:{},color:{}},setup(e){return(l,n)=>(t.openBlock(),t.createElementBlock("i",{class:t.normalizeClass(["icon-kl",`icon-kl-${l.name}`,l.color?`text-${l.color}`:""]),style:t.normalizeStyle(l.size?`font-size: ${l.size}`:void 0)},null,6))}}),Dt=(e,l)=>{const n=e.__vccOpts||e;for(const[o,i]of l)n[o]=i;return n},Wn=Dt(jn,[["__scopeId","data-v-24fca0cf"]]),Dl={PRIMARY:"primary",INFO:"info"},he={SM:"sm",MD:"md",LG:"lg"},Kn={[he.SM]:"3px 9px",[he.MD]:"5px 12px",[he.LG]:"9px 20px"},At={xs:18,sm:24,md:32,lg:38,xl:46},pt={size:String};function gt(e,l=At){return t.computed(()=>e.size!==void 0?{fontSize:e.size in l?`${l[e.size]}px`:e.size}:null)}function Nt(e,l,n,o){return Object.defineProperty(e,l,{get:n,set:o,enumerable:!0}),e}function oe(e){return t.markRaw(t.defineComponent(e))}function Un(e){return t.markRaw(e)}function se(e,l){return e!==void 0&&e()||l}function Qn(e,l){if(e!==void 0){const n=e();if(n!=null)return n.slice()}return l}function Ce(e,l){return e!==void 0?l.concat(e()):l}function Yn(e,l){return e===void 0?l:l!==void 0?l.concat(e()):e()}function Xn(e,l,n,o,i,u){l.key=o+i;const r=t.h(e,l,n);return i===!0?t.withDirectives(r,u()):r}const al="0 0 24 24",rl=e=>e,xt=e=>`ionicons ${e}`,Nl={"mdi-":e=>`mdi ${e}`,"icon-":rl,"bt-":e=>`bt ${e}`,"eva-":e=>`eva ${e}`,"ion-md":xt,"ion-ios":xt,"ion-logo":xt,"iconfont ":rl,"ti-":e=>`themify-icon ${e}`,"bi-":e=>`bootstrap-icons ${e}`},jl={o_:"-outlined",r_:"-round",s_:"-sharp"},Wl={sym_o_:"-outlined",sym_r_:"-rounded",sym_s_:"-sharp"},Gn=new RegExp("^("+Object.keys(Nl).join("|")+")"),Zn=new RegExp("^("+Object.keys(jl).join("|")+")"),sl=new RegExp("^("+Object.keys(Wl).join("|")+")"),Jn=/^[Mm]\s?[-+]?\.?\d/,eo=/^img:/,to=/^svguse:/,lo=/^ion-/,no=/^(fa-(classic|sharp|solid|regular|light|brands|duotone|thin)|[lf]a[srlbdk]?) /,pe=oe({name:"QIcon",props:{...pt,tag:{type:String,default:"i"},name:String,color:String,left:Boolean,right:Boolean},setup(e,{slots:l}){const{proxy:{$q:n}}=t.getCurrentInstance(),o=gt(e),i=t.computed(()=>"q-icon"+(e.left===!0?" on-left":"")+(e.right===!0?" on-right":"")+(e.color!==void 0?` text-${e.color}`:"")),u=t.computed(()=>{let r,s=e.name;if(s==="none"||!s)return{none:!0};if(n.iconMapFn!==null){const c=n.iconMapFn(s);if(c!==void 0)if(c.icon!==void 0){if(s=c.icon,s==="none"||!s)return{none:!0}}else return{cls:c.cls,content:c.content!==void 0?c.content:" "}}if(Jn.test(s)===!0){const[c,b=al]=s.split("|");return{svg:!0,viewBox:b,nodes:c.split("&&").map(v=>{const[d,m,x]=v.split("@@");return t.h("path",{style:m,d,transform:x})})}}if(eo.test(s)===!0)return{img:!0,src:s.substring(4)};if(to.test(s)===!0){const[c,b=al]=s.split("|");return{svguse:!0,src:c.substring(7),viewBox:b}}let h=" ";const g=s.match(Gn);if(g!==null)r=Nl[g[1]](s);else if(no.test(s)===!0)r=s;else if(lo.test(s)===!0)r=`ionicons ion-${n.platform.is.ios===!0?"ios":"md"}${s.substring(3)}`;else if(sl.test(s)===!0){r="notranslate material-symbols";const c=s.match(sl);c!==null&&(s=s.substring(6),r+=Wl[c[1]]),h=s}else{r="notranslate material-icons";const c=s.match(Zn);c!==null&&(s=s.substring(2),r+=jl[c[1]]),h=s}return{cls:r,content:h}});return()=>{const r={class:i.value,style:o.value,"aria-hidden":"true",role:"presentation"};return u.value.none===!0?t.h(e.tag,r,se(l.default)):u.value.img===!0?t.h(e.tag,r,Ce(l.default,[t.h("img",{src:u.value.src})])):u.value.svg===!0?t.h(e.tag,r,Ce(l.default,[t.h("svg",{viewBox:u.value.viewBox||"0 0 24 24"},u.value.nodes)])):u.value.svguse===!0?t.h(e.tag,r,Ce(l.default,[t.h("svg",{viewBox:u.value.viewBox},[t.h("use",{"xlink:href":u.value.src})])])):(u.value.cls!==void 0&&(r.class+=" "+u.value.cls),t.h(e.tag,r,Ce(l.default,[u.value.content])))}}}),oo={size:{type:[String,Number],default:"1em"},color:String};function io(e){return{cSize:t.computed(()=>e.size in At?`${At[e.size]}px`:e.size),classes:t.computed(()=>"q-spinner"+(e.color?` text-${e.color}`:""))}}const Kl=oe({name:"QSpinner",props:{...oo,thickness:{type:Number,default:5}},setup(e){const{cSize:l,classes:n}=io(e);return()=>t.h("svg",{class:n.value+" q-spinner-mat",width:l.value,height:l.value,viewBox:"25 25 50 50"},[t.h("circle",{class:"path",cx:"50",cy:"50",r:"20",fill:"none",stroke:"currentColor","stroke-width":e.thickness,"stroke-miterlimit":"10"})])}});function Lt(e,l){const n=e.style;for(const o in l)n[o]=l[o]}function uo(e){if(e==null)return;if(typeof e=="string")try{return document.querySelector(e)||void 0}catch{return}const l=t.unref(e);if(l)return l.$el||l}function Ul(e,l){if(e==null||e.contains(l)===!0)return!0;for(let n=e.nextElementSibling;n!==null;n=n.nextElementSibling)if(n.contains(l))return!0;return!1}const ne={hasPassive:!1,passiveCapture:!0,notPassiveCapture:!0};try{const e=Object.defineProperty({},"passive",{get(){Object.assign(ne,{hasPassive:!0,passive:{passive:!0},notPassive:{passive:!1},passiveCapture:{passive:!0,capture:!0},notPassiveCapture:{passive:!1,capture:!0}})}});window.addEventListener("qtest",null,e),window.removeEventListener("qtest",null,e)}catch{}function ao(){}function Ql(e){return e.touches&&e.touches[0]?e=e.touches[0]:e.changedTouches&&e.changedTouches[0]?e=e.changedTouches[0]:e.targetTouches&&e.targetTouches[0]&&(e=e.targetTouches[0]),{top:e.clientY,left:e.clientX}}function ro(e){if(e.path)return e.path;if(e.composedPath)return e.composedPath();const l=[];let n=e.target;for(;n;){if(l.push(n),n.tagName==="HTML")return l.push(document),l.push(window),l;n=n.parentElement}}function ge(e){e.stopPropagation()}function de(e){e.cancelable!==!1&&e.preventDefault()}function J(e){e.cancelable!==!1&&e.preventDefault(),e.stopPropagation()}function Ot(e,l,n){const o=`__q_${l}_evt`;e[o]=e[o]!==void 0?e[o].concat(n):n,n.forEach(i=>{i[0].addEventListener(i[1],e[i[2]],ne[i[3]])})}function Yl(e,l){const n=`__q_${l}_evt`;e[n]!==void 0&&(e[n].forEach(o=>{o[0].removeEventListener(o[1],e[o[2]],ne[o[3]])}),e[n]=void 0)}function Xl(e){return e!==Object(e)||e.isComposing===!0||e.qKeyEvent===!0}function Ve(e,l){return Xl(e)===!0?!1:[].concat(l).includes(e.keyCode)}function so(e,l=250){let n=!1,o;return function(){return n===!1&&(n=!0,setTimeout(()=>{n=!1},l),o=e.apply(this,arguments)),o}}function cl(e,l,n,o){n.modifiers.stop===!0&&ge(e);const i=n.modifiers.color;let u=n.modifiers.center;u=u===!0||o===!0;const r=document.createElement("span"),s=document.createElement("span"),h=Ql(e),{left:g,top:c,width:b,height:v}=l.getBoundingClientRect(),d=Math.sqrt(b*b+v*v),m=d/2,x=`${(b-d)/2}px`,p=u?x:`${h.left-g-m}px`,L=`${(v-d)/2}px`,V=u?L:`${h.top-c-m}px`;s.className="q-ripple__inner",Lt(s,{height:`${d}px`,width:`${d}px`,transform:`translate3d(${p},${V},0) scale3d(.2,.2,1)`,opacity:0}),r.className=`q-ripple${i?" text-"+i:""}`,r.setAttribute("dir","ltr"),r.appendChild(s),l.appendChild(r);const S=()=>{r.remove(),clearTimeout(M)};n.abort.push(S);let M=setTimeout(()=>{s.classList.add("q-ripple__inner--enter"),s.style.transform=`translate3d(${x},${L},0) scale3d(1,1,1)`,s.style.opacity=.2,M=setTimeout(()=>{s.classList.remove("q-ripple__inner--enter"),s.classList.add("q-ripple__inner--leave"),s.style.opacity=0,M=setTimeout(()=>{r.remove(),n.abort.splice(n.abort.indexOf(S),1)},275)},250)},50)}function dl(e,{modifiers:l,value:n,arg:o}){const i=Object.assign({},e.cfg.ripple,l,n);e.modifiers={early:i.early===!0,stop:i.stop===!0,center:i.center===!0,color:i.color||o,keyCodes:[].concat(i.keyCodes||13)}}const Gl=Un({name:"ripple",beforeMount(e,l){const n=l.instance.$.appContext.config.globalProperties.$q.config||{};if(n.ripple===!1)return;const o={cfg:n,enabled:l.value!==!1,modifiers:{},abort:[],start(i){o.enabled===!0&&i.qSkipRipple!==!0&&i.type===(o.modifiers.early===!0?"pointerdown":"click")&&cl(i,e,o,i.qKeyEvent===!0)},keystart:so(i=>{o.enabled===!0&&i.qSkipRipple!==!0&&Ve(i,o.modifiers.keyCodes)===!0&&i.type===`key${o.modifiers.early===!0?"down":"up"}`&&cl(i,e,o,!0)},300)};dl(o,l),e.__qripple=o,Ot(o,"main",[[e,"pointerdown","start","passive"],[e,"click","start","passive"],[e,"keydown","keystart","passive"],[e,"keyup","keystart","passive"]])},updated(e,l){if(l.oldValue!==l.value){const n=e.__qripple;n!==void 0&&(n.enabled=l.value!==!1,n.enabled===!0&&Object(l.value)===l.value&&dl(n,l))}},beforeUnmount(e){const l=e.__qripple;l!==void 0&&(l.abort.forEach(n=>{n()}),Yl(l,"main"),delete e._qripple)}}),Zl={left:"start",center:"center",right:"end",between:"between",around:"around",evenly:"evenly",stretch:"stretch"},co=Object.keys(Zl),fo={align:{type:String,validator:e=>co.includes(e)}};function vo(e){return t.computed(()=>{const l=e.align===void 0?e.vertical===!0?"stretch":"left":e.align;return`${e.vertical===!0?"items":"justify"}-${Zl[l]}`})}function Ct(e){if(Object(e.$parent)===e.$parent)return e.$parent;let{parent:l}=e.$;for(;Object(l)===l;){if(Object(l.proxy)===l.proxy)return l.proxy;l=l.parent}}function Jl(e){return e.appContext.config.globalProperties.$router!==void 0}function en(e){return e.isUnmounted===!0||e.isDeactivated===!0}function fl(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}function vl(e,l){return(e.aliasOf||e)===(l.aliasOf||l)}function mo(e,l){for(const n in l){const o=l[n],i=e[n];if(typeof o=="string"){if(o!==i)return!1}else if(Array.isArray(i)===!1||i.length!==o.length||o.some((u,r)=>u!==i[r]))return!1}return!0}function ml(e,l){return Array.isArray(l)===!0?e.length===l.length&&e.every((n,o)=>n===l[o]):e.length===1&&e[0]===l}function ho(e,l){return Array.isArray(e)===!0?ml(e,l):Array.isArray(l)===!0?ml(l,e):e===l}function po(e,l){if(Object.keys(e).length!==Object.keys(l).length)return!1;for(const n in e)if(ho(e[n],l[n])===!1)return!1;return!0}const tn={to:[String,Object],replace:Boolean,href:String,target:String,disable:Boolean},go={...tn,exact:Boolean,activeClass:{type:String,default:"q-router-link--active"},exactActiveClass:{type:String,default:"q-router-link--exact-active"}};function ln({fallbackTag:e,useDisableForRouterLinkProps:l=!0}={}){const n=t.getCurrentInstance(),{props:o,proxy:i,emit:u}=n,r=Jl(n),s=t.computed(()=>o.disable!==!0&&o.href!==void 0),h=l===!0?t.computed(()=>r===!0&&o.disable!==!0&&s.value!==!0&&o.to!==void 0&&o.to!==null&&o.to!==""):t.computed(()=>r===!0&&s.value!==!0&&o.to!==void 0&&o.to!==null&&o.to!==""),g=t.computed(()=>h.value===!0?V(o.to):null),c=t.computed(()=>g.value!==null),b=t.computed(()=>s.value===!0||c.value===!0),v=t.computed(()=>o.type==="a"||b.value===!0?"a":o.tag||e||"div"),d=t.computed(()=>s.value===!0?{href:o.href,target:o.target}:c.value===!0?{href:g.value.href,target:o.target}:{}),m=t.computed(()=>{if(c.value===!1)return-1;const{matched:R}=g.value,{length:E}=R,A=R[E-1];if(A===void 0)return-1;const O=i.$route.matched;if(O.length===0)return-1;const D=O.findIndex(vl.bind(null,A));if(D!==-1)return D;const X=fl(R[E-2]);return E>1&&fl(A)===X&&O[O.length-1].path!==X?O.findIndex(vl.bind(null,R[E-2])):D}),x=t.computed(()=>c.value===!0&&m.value!==-1&&mo(i.$route.params,g.value.params)),p=t.computed(()=>x.value===!0&&m.value===i.$route.matched.length-1&&po(i.$route.params,g.value.params)),L=t.computed(()=>c.value===!0?p.value===!0?` ${o.exactActiveClass} ${o.activeClass}`:o.exact===!0?"":x.value===!0?` ${o.activeClass}`:"":"");function V(R){try{return i.$router.resolve(R)}catch{}return null}function S(R,{returnRouterError:E,to:A=o.to,replace:O=o.replace}={}){if(o.disable===!0)return R.preventDefault(),Promise.resolve(!1);if(R.metaKey||R.altKey||R.ctrlKey||R.shiftKey||R.button!==void 0&&R.button!==0||o.target==="_blank")return Promise.resolve(!1);R.preventDefault();const D=i.$router[O===!0?"replace":"push"](A);return E===!0?D:D.then(()=>{}).catch(()=>{})}function M(R){if(c.value===!0){const E=A=>S(R,A);u("click",R,E),R.defaultPrevented!==!0&&E()}else u("click",R)}return{hasRouterLink:c,hasHrefLink:s,hasLink:b,linkTag:v,resolvedLink:g,linkIsActive:x,linkIsExactActive:p,linkClass:L,linkAttrs:d,getLink:V,navigateToRouterLink:S,navigateOnClick:M}}const hl={none:0,xs:4,sm:8,md:16,lg:24,xl:32},bo={xs:8,sm:10,md:14,lg:20,xl:24},yo=["button","submit","reset"],wo=/[^\s]\/[^\s]/,So=["flat","outline","push","unelevated"];function ko(e,l){return e.flat===!0?"flat":e.outline===!0?"outline":e.push===!0?"push":e.unelevated===!0?"unelevated":l}const xo={...pt,...tn,type:{type:String,default:"button"},label:[Number,String],icon:String,iconRight:String,...So.reduce((e,l)=>(e[l]=Boolean)&&e,{}),square:Boolean,rounded:Boolean,glossy:Boolean,size:String,fab:Boolean,fabMini:Boolean,padding:String,color:String,textColor:String,noCaps:Boolean,noWrap:Boolean,dense:Boolean,tabindex:[Number,String],ripple:{type:[Boolean,Object],default:!0},align:{...fo.align,default:"center"},stack:Boolean,stretch:Boolean,loading:{type:Boolean,default:null},disable:Boolean},Co={...xo,round:Boolean};function qo(e){const l=gt(e,bo),n=vo(e),{hasRouterLink:o,hasLink:i,linkTag:u,linkAttrs:r,navigateOnClick:s}=ln({fallbackTag:"button"}),h=t.computed(()=>{const p=e.fab===!1&&e.fabMini===!1?l.value:{};return e.padding!==void 0?Object.assign({},p,{padding:e.padding.split(/\s+/).map(L=>L in hl?hl[L]+"px":L).join(" "),minWidth:"0",minHeight:"0"}):p}),g=t.computed(()=>e.rounded===!0||e.fab===!0||e.fabMini===!0),c=t.computed(()=>e.disable!==!0&&e.loading!==!0),b=t.computed(()=>c.value===!0?e.tabindex||0:-1),v=t.computed(()=>ko(e,"standard")),d=t.computed(()=>{const p={tabindex:b.value};return i.value===!0?Object.assign(p,r.value):yo.includes(e.type)===!0&&(p.type=e.type),u.value==="a"?(e.disable===!0?p["aria-disabled"]="true":p.href===void 0&&(p.role="button"),o.value!==!0&&wo.test(e.type)===!0&&(p.type=e.type)):e.disable===!0&&(p.disabled="",p["aria-disabled"]="true"),e.loading===!0&&e.percentage!==void 0&&Object.assign(p,{role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":e.percentage}),p}),m=t.computed(()=>{let p;e.color!==void 0?e.flat===!0||e.outline===!0?p=`text-${e.textColor||e.color}`:p=`bg-${e.color} text-${e.textColor||"white"}`:e.textColor&&(p=`text-${e.textColor}`);const L=e.round===!0?"round":`rectangle${g.value===!0?" q-btn--rounded":e.square===!0?" q-btn--square":""}`;return`q-btn--${v.value} q-btn--${L}`+(p!==void 0?" "+p:"")+(c.value===!0?" q-btn--actionable q-focusable q-hoverable":e.disable===!0?" disabled":"")+(e.fab===!0?" q-btn--fab":e.fabMini===!0?" q-btn--fab-mini":"")+(e.noCaps===!0?" q-btn--no-uppercase":"")+(e.dense===!0?" q-btn--dense":"")+(e.stretch===!0?" no-border-radius self-stretch":"")+(e.glossy===!0?" glossy":"")+(e.square?" q-btn--square":"")}),x=t.computed(()=>n.value+(e.stack===!0?" column":" row")+(e.noWrap===!0?" no-wrap text-no-wrap":"")+(e.loading===!0?" q-btn__content--hidden":""));return{classes:m,style:h,innerClasses:x,attributes:d,hasLink:i,linkTag:u,navigateOnClick:s,isActionable:c}}const{passiveCapture:re}=ne;let ze=null,Pe=null,Ie=null;const Bo=oe({name:"QBtn",props:{...Co,percentage:Number,darkPercentage:Boolean,onTouchstart:[Function,Array]},emits:["click","keydown","mousedown","keyup"],setup(e,{slots:l,emit:n}){const{proxy:o}=t.getCurrentInstance(),{classes:i,style:u,innerClasses:r,attributes:s,hasLink:h,linkTag:g,navigateOnClick:c,isActionable:b}=qo(e),v=t.ref(null),d=t.ref(null);let m=null,x,p=null;const L=t.computed(()=>e.label!==void 0&&e.label!==null&&e.label!==""),V=t.computed(()=>e.disable===!0||e.ripple===!1?!1:{keyCodes:h.value===!0?[13,32]:[13],...e.ripple===!0?{}:e.ripple}),S=t.computed(()=>({center:e.round})),M=t.computed(()=>{const _=Math.max(0,Math.min(100,e.percentage));return _>0?{transition:"transform 0.6s",transform:`translateX(${_-100}%)`}:{}}),R=t.computed(()=>{if(e.loading===!0)return{onMousedown:j,onTouchstart:j,onClick:j,onKeydown:j,onKeyup:j};if(b.value===!0){const _={onClick:A,onKeydown:O,onMousedown:X};if(o.$q.platform.has.touch===!0){const F=e.onTouchstart!==void 0?"":"Passive";_[`onTouchstart${F}`]=D}return _}return{onClick:J}}),E=t.computed(()=>({ref:v,class:"q-btn q-btn-item non-selectable no-outline "+i.value,style:u.value,...s.value,...R.value}));function A(_){if(v.value!==null){if(_!==void 0){if(_.defaultPrevented===!0)return;const F=document.activeElement;if(e.type==="submit"&&F!==document.body&&v.value.contains(F)===!1&&F.contains(v.value)===!1){v.value.focus();const Q=()=>{document.removeEventListener("keydown",J,!0),document.removeEventListener("keyup",Q,re),v.value!==null&&v.value.removeEventListener("blur",Q,re)};document.addEventListener("keydown",J,!0),document.addEventListener("keyup",Q,re),v.value.addEventListener("blur",Q,re)}}c(_)}}function O(_){v.value!==null&&(n("keydown",_),Ve(_,[13,32])===!0&&Pe!==v.value&&(Pe!==null&&$(),_.defaultPrevented!==!0&&(v.value.focus(),Pe=v.value,v.value.classList.add("q-btn--active"),document.addEventListener("keyup",K,!0),v.value.addEventListener("blur",K,re)),J(_)))}function D(_){v.value!==null&&(n("touchstart",_),_.defaultPrevented!==!0&&(ze!==v.value&&(ze!==null&&$(),ze=v.value,m=_.target,m.addEventListener("touchcancel",K,re),m.addEventListener("touchend",K,re)),x=!0,p!==null&&clearTimeout(p),p=setTimeout(()=>{p=null,x=!1},200)))}function X(_){v.value!==null&&(_.qSkipRipple=x===!0,n("mousedown",_),_.defaultPrevented!==!0&&Ie!==v.value&&(Ie!==null&&$(),Ie=v.value,v.value.classList.add("q-btn--active"),document.addEventListener("mouseup",K,re)))}function K(_){if(v.value!==null&&!(_!==void 0&&_.type==="blur"&&document.activeElement===v.value)){if(_!==void 0&&_.type==="keyup"){if(Pe===v.value&&Ve(_,[13,32])===!0){const F=new MouseEvent("click",_);F.qKeyEvent=!0,_.defaultPrevented===!0&&de(F),_.cancelBubble===!0&&ge(F),v.value.dispatchEvent(F),J(_),_.qKeyEvent=!0}n("keyup",_)}$()}}function $(_){const F=d.value;_!==!0&&(ze===v.value||Ie===v.value)&&F!==null&&F!==document.activeElement&&(F.setAttribute("tabindex",-1),F.focus()),ze===v.value&&(m!==null&&(m.removeEventListener("touchcancel",K,re),m.removeEventListener("touchend",K,re)),ze=m=null),Ie===v.value&&(document.removeEventListener("mouseup",K,re),Ie=null),Pe===v.value&&(document.removeEventListener("keyup",K,!0),v.value!==null&&v.value.removeEventListener("blur",K,re),Pe=null),v.value!==null&&v.value.classList.remove("q-btn--active")}function j(_){J(_),_.qSkipRipple=!0}return t.onBeforeUnmount(()=>{$(!0)}),Object.assign(o,{click:_=>{b.value===!0&&A(_)}}),()=>{let _=[];e.icon!==void 0&&_.push(t.h(pe,{name:e.icon,left:e.stack!==!0&&L.value===!0,role:"img"})),L.value===!0&&_.push(t.h("span",{class:"block"},[e.label])),_=Ce(l.default,_),e.iconRight!==void 0&&e.round===!1&&_.push(t.h(pe,{name:e.iconRight,right:e.stack!==!0&&L.value===!0,role:"img"}));const F=[t.h("span",{class:"q-focus-helper",ref:d})];return e.loading===!0&&e.percentage!==void 0&&F.push(t.h("span",{class:"q-btn__progress absolute-full overflow-hidden"+(e.darkPercentage===!0?" q-btn__progress--dark":"")},[t.h("span",{class:"q-btn__progress-indicator fit block",style:M.value})])),F.push(t.h("span",{class:"q-btn__content text-center col items-center q-anchor--skip "+r.value},_)),e.loading!==null&&F.push(t.h(t.Transition,{name:"q-transition--fade"},()=>e.loading===!0?[t.h("span",{key:"loading",class:"absolute-full flex flex-center"},l.loading!==void 0?l.loading():[t.h(Kl)])]:null)),t.withDirectives(t.h(g.value,E.value,F),[[Gl,V.value,void 0,S.value]])}}}),_o=t.defineComponent({__name:"AppButton",props:{size:{default:he.MD},transparent:{type:Boolean},flat:{type:Boolean},rounded:{type:Boolean},color:{default:Dl.PRIMARY},iconLeft:{},iconRight:{},iconMiddle:{},disabled:{type:Boolean},loading:{type:Boolean},to:{},href:{},target:{},submit:{type:Boolean},ariaLabel:{},label:{}},emits:["click"],setup(e){const l=e,n=t.computed(()=>["app-btn",{"app-btn_default":!l.transparent&&!l.flat,"app-btn_trans":l.transparent,"app-btn_flat":l.flat,"app-btn_rounded":l.rounded,"app-btn_sm":l.size===he.SM,"app-btn_md":l.size===he.MD,"app-btn_lg":l.size===he.LG,"app-btn_icon-left":l.iconLeft,"app-btn_icon-right":l.iconRight,"app-btn_icon-middle":l.iconMiddle},`app-btn_${l.color}`]);return(o,i)=>(t.openBlock(),t.createBlock(t.unref(Bo),{"no-caps":"",unelevated:"",class:t.normalizeClass(n.value),padding:t.unref(Kn)[o.size||t.unref(he).MD],loading:o.loading,disable:o.disabled||void 0,to:o.to,href:o.href,target:o.target,type:o.submit?"submit":void 0,"aria-label":o.ariaLabel,onClick:i[0]||(i[0]=u=>o.$emit("click",u))},{default:t.withCtx(()=>[o.iconLeft||o.iconMiddle?(t.openBlock(),t.createElementBlock("i",{key:0,class:t.normalizeClass(["icon-kl",o.iconLeft?"icon-kl_left":"icon-kl_middle",`icon-kl-${o.iconLeft||o.iconMiddle}`,o.transparent||o.flat?`text-${o.color}`:"text-secondary"])},null,2)):t.createCommentVNode("",!0),t.renderSlot(o.$slots,"default",{},void 0,!0),o.label?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode(t.toDisplayString(o.label),1)],64)):t.createCommentVNode("",!0),o.iconRight?(t.openBlock(),t.createElementBlock("i",{key:2,class:t.normalizeClass(["icon-kl","icon-kl_right",`icon-kl-${o.iconRight}`,o.transparent?`text-${o.color}`:"text-secondary"])},null,2)):t.createCommentVNode("",!0)]),_:3},8,["class","padding","loading","disable","to","href","target","type","aria-label"]))}}),nn=Dt(_o,[["__scopeId","data-v-64785508"]]),He=t.ref(!1);let zt;function Eo(e,l){const n=/(edg|edge|edga|edgios)\/([\w.]+)/.exec(e)||/(opr)[\/]([\w.]+)/.exec(e)||/(vivaldi)[\/]([\w.]+)/.exec(e)||/(chrome|crios)[\/]([\w.]+)/.exec(e)||/(version)(applewebkit)[\/]([\w.]+).*(safari)[\/]([\w.]+)/.exec(e)||/(webkit)[\/]([\w.]+).*(version)[\/]([\w.]+).*(safari)[\/]([\w.]+)/.exec(e)||/(firefox|fxios)[\/]([\w.]+)/.exec(e)||/(webkit)[\/]([\w.]+)/.exec(e)||/(opera)(?:.*version|)[\/]([\w.]+)/.exec(e)||[];return{browser:n[5]||n[3]||n[1]||"",version:n[4]||n[2]||"0",platform:l[0]||""}}function Vo(e){return/(ipad)/.exec(e)||/(ipod)/.exec(e)||/(windows phone)/.exec(e)||/(iphone)/.exec(e)||/(kindle)/.exec(e)||/(silk)/.exec(e)||/(android)/.exec(e)||/(win)/.exec(e)||/(mac)/.exec(e)||/(linux)/.exec(e)||/(cros)/.exec(e)||/(playbook)/.exec(e)||/(bb)/.exec(e)||/(blackberry)/.exec(e)||[]}const on="ontouchstart"in window||window.navigator.maxTouchPoints>0;function To(e){const l=e.toLowerCase(),n=Vo(l),o=Eo(l,n),i={mobile:!1,desktop:!1,cordova:!1,capacitor:!1,nativeMobile:!1,electron:!1,bex:!1,linux:!1,mac:!1,win:!1,cros:!1,chrome:!1,firefox:!1,opera:!1,safari:!1,vivaldi:!1,edge:!1,edgeChromium:!1,ie:!1,webkit:!1,android:!1,ios:!1,ipad:!1,iphone:!1,ipod:!1,kindle:!1,winphone:!1,blackberry:!1,playbook:!1,silk:!1};o.browser&&(i[o.browser]=!0,i.version=o.version,i.versionNumber=parseInt(o.version,10)),o.platform&&(i[o.platform]=!0);const u=i.android||i.ios||i.bb||i.blackberry||i.ipad||i.iphone||i.ipod||i.kindle||i.playbook||i.silk||i["windows phone"];if(u===!0||l.indexOf("mobile")!==-1?i.mobile=!0:i.desktop=!0,i["windows phone"]&&(i.winphone=!0,delete i["windows phone"]),i.edga||i.edgios||i.edg?(i.edge=!0,o.browser="edge"):i.crios?(i.chrome=!0,o.browser="chrome"):i.fxios&&(i.firefox=!0,o.browser="firefox"),(i.ipod||i.ipad||i.iphone)&&(i.ios=!0),i.vivaldi&&(o.browser="vivaldi",i.vivaldi=!0),(i.chrome||i.opr||i.safari||i.vivaldi||i.mobile===!0&&i.ios!==!0&&u!==!0)&&(i.webkit=!0),i.opr&&(o.browser="opera",i.opera=!0),i.safari&&(i.blackberry||i.bb?(o.browser="blackberry",i.blackberry=!0):i.playbook?(o.browser="playbook",i.playbook=!0):i.android?(o.browser="android",i.android=!0):i.kindle?(o.browser="kindle",i.kindle=!0):i.silk&&(o.browser="silk",i.silk=!0)),i.name=o.browser,i.platform=o.platform,l.indexOf("electron")!==-1)i.electron=!0;else if(document.location.href.indexOf("-extension://")!==-1)i.bex=!0;else{if(window.Capacitor!==void 0?(i.capacitor=!0,i.nativeMobile=!0,i.nativeMobileWrapper="capacitor"):(window._cordovaNative!==void 0||window.cordova!==void 0)&&(i.cordova=!0,i.nativeMobile=!0,i.nativeMobileWrapper="cordova"),He.value===!0&&(zt={is:{...i}}),on===!0&&i.mac===!0&&(i.desktop===!0&&i.safari===!0||i.nativeMobile===!0&&i.android!==!0&&i.ios!==!0&&i.ipad!==!0)){delete i.mac,delete i.desktop;const r=Math.min(window.innerHeight,window.innerWidth)>414?"ipad":"iphone";Object.assign(i,{mobile:!0,ios:!0,platform:r,[r]:!0})}i.mobile!==!0&&window.navigator.userAgentData&&window.navigator.userAgentData.mobile&&(delete i.desktop,i.mobile=!0)}return i}const pl=navigator.userAgent||navigator.vendor||window.opera,Ro={has:{touch:!1,webStorage:!1},within:{iframe:!1}},ae={userAgent:pl,is:To(pl),has:{touch:on},within:{iframe:window.self!==window.top}},Pt={install(e){const{$q:l}=e;He.value===!0?(e.onSSRHydrated.push(()=>{Object.assign(l.platform,ae),He.value=!1}),l.platform=t.reactive(this)):l.platform=this}};{let e;Nt(ae.has,"webStorage",()=>{if(e!==void 0)return e;try{if(window.localStorage)return e=!0,!0}catch{}return e=!1,!1}),Object.assign(Pt,ae),He.value===!0&&(Object.assign(Pt,zt,Ro),zt=null)}const Be=[];function un(e){Be[Be.length-1](e)}function jt(e){ae.is.desktop===!0&&(Be.push(e),Be.length===1&&document.body.addEventListener("focusin",un))}function dt(e){const l=Be.indexOf(e);l!==-1&&(Be.splice(l,1),Be.length===0&&document.body.removeEventListener("focusin",un))}function $o(e){const l=document.createElement("textarea");l.value=e,l.contentEditable="true",l.style.position="fixed";const n=()=>{};jt(n),document.body.appendChild(l),l.focus(),l.select();const o=document.execCommand("copy");return l.remove(),dt(n),o}function Mo(e){return navigator.clipboard!==void 0?navigator.clipboard.writeText(e):new Promise((l,n)=>{const o=$o(e);o?l(!0):n(o)})}function Ao(){const e=t.ref(!He.value);return e.value===!1&&t.onMounted(()=>{e.value=!0}),{isHydrated:e}}const an=oe({name:"QNoSsr",props:{tag:{type:String,default:"div"},placeholder:String},setup(e,{slots:l}){const{isHydrated:n}=Ao();return()=>{if(n.value===!0){const u=se(l.default);return u===void 0?u:u.length>1?t.h(e.tag,{},u):u[0]}const o={class:"q-no-ssr-placeholder"},i=se(l.placeholder);if(i!==void 0)return i.length>1?t.h(e.tag,o,i):i[0];if(e.placeholder!==void 0)return t.h(e.tag,o,e.placeholder)}}}),qt={COPY:"copy_o",COPIED:"copied_o"},Lo=t.defineComponent({__name:"AppButtonCopy",props:{text:{},size:{},transparent:{type:Boolean,default:!0},flat:{type:Boolean},rounded:{type:Boolean},color:{default:Dl.INFO},iconLeft:{},iconRight:{},iconMiddle:{},disabled:{type:Boolean},loading:{type:Boolean},to:{},href:{},target:{},submit:{type:Boolean},ariaLabel:{},label:{}},setup(e){const l=e,n=t.ref(qt.COPY),o=()=>{n.value=qt.COPIED,setTimeout(()=>{n.value=qt.COPY},2e3)},i=()=>{Mo(l.text).then(o).catch(u=>{console.log(u)})};return(u,r)=>(t.openBlock(),t.createBlock(t.unref(an),null,{default:t.withCtx(()=>[t.createVNode(nn,t.mergeProps(l,{"icon-middle":n.value,onClick:t.withModifiers(i,["prevent"])}),null,16,["icon-middle"])]),_:1}))}}),Ge={dark:{type:Boolean,default:null}};function Ze(e,l){return t.computed(()=>e.dark===null?l.dark.isActive:e.dark)}function Oo(e,l){const n=t.ref(null),o=t.computed(()=>e.disable===!0?null:t.h("span",{ref:n,class:"no-outline",tabindex:-1}));function i(u){const r=l.value;u!==void 0&&u.type.indexOf("key")===0?r!==null&&document.activeElement!==r&&r.contains(document.activeElement)===!0&&r.focus():n.value!==null&&(u===void 0||r!==null&&r.contains(u.target)===!0)&&n.value.focus()}return{refocusTargetEl:o,refocusTarget:i}}const rn={name:String};function zo(e={}){return(l,n,o)=>{l[n](t.h("input",{class:"hidden"+(o||""),...e.value}))}}function Po(e){return t.computed(()=>e.name||e.for)}const Io={xs:30,sm:35,md:40,lg:50,xl:60},Fo={...Ge,...pt,...rn,modelValue:{required:!0,default:null},val:{},trueValue:{default:!0},falseValue:{default:!1},indeterminateValue:{default:null},checkedIcon:String,uncheckedIcon:String,indeterminateIcon:String,toggleOrder:{type:String,validator:e=>e==="tf"||e==="ft"},toggleIndeterminate:Boolean,label:String,leftLabel:Boolean,color:String,keepColor:Boolean,dense:Boolean,disable:Boolean,tabindex:[String,Number]},Ho=["update:modelValue"];function Do(e,l){const{props:n,slots:o,emit:i,proxy:u}=t.getCurrentInstance(),{$q:r}=u,s=Ze(n,r),h=t.ref(null),{refocusTargetEl:g,refocusTarget:c}=Oo(n,h),b=gt(n,Io),v=t.computed(()=>n.val!==void 0&&Array.isArray(n.modelValue)),d=t.computed(()=>{const $=t.toRaw(n.val);return v.value===!0?n.modelValue.findIndex(j=>t.toRaw(j)===$):-1}),m=t.computed(()=>v.value===!0?d.value!==-1:t.toRaw(n.modelValue)===t.toRaw(n.trueValue)),x=t.computed(()=>v.value===!0?d.value===-1:t.toRaw(n.modelValue)===t.toRaw(n.falseValue)),p=t.computed(()=>m.value===!1&&x.value===!1),L=t.computed(()=>n.disable===!0?-1:n.tabindex||0),V=t.computed(()=>`q-${e} cursor-pointer no-outline row inline no-wrap items-center`+(n.disable===!0?" disabled":"")+(s.value===!0?` q-${e}--dark`:"")+(n.dense===!0?` q-${e}--dense`:"")+(n.leftLabel===!0?" reverse":"")),S=t.computed(()=>{const $=m.value===!0?"truthy":x.value===!0?"falsy":"indet",j=n.color!==void 0&&(n.keepColor===!0||x.value!==!0)?` text-${n.color}`:"";return`q-${e}__inner relative-position non-selectable q-${e}__inner--${$}${j}`}),M=t.computed(()=>{const $={type:"checkbox"};return n.name!==void 0&&Object.assign($,{".checked":m.value,"^checked":m.value===!0?"checked":void 0,name:n.name,value:v.value===!0?n.val:n.trueValue}),$}),R=zo(M),E=t.computed(()=>{const $={tabindex:L.value,role:"checkbox","aria-label":n.label,"aria-checked":p.value===!0?"mixed":m.value===!0?"true":"false"};return n.disable===!0&&($["aria-disabled"]="true"),$});function A($){$!==void 0&&(J($),c($)),n.disable!==!0&&i("update:modelValue",O(),$)}function O(){if(v.value===!0){if(m.value===!0){const $=n.modelValue.slice();return $.splice(d.value,1),$}return n.modelValue.concat([n.val])}if(m.value===!0){if(n.toggleOrder!=="ft"||n.toggleIndeterminate===!1)return n.falseValue}else if(x.value===!0){if(n.toggleOrder==="ft"||n.toggleIndeterminate===!1)return n.trueValue}else return n.toggleOrder!=="ft"?n.trueValue:n.falseValue;return n.indeterminateValue}function D($){($.keyCode===13||$.keyCode===32)&&J($)}function X($){($.keyCode===13||$.keyCode===32)&&A($)}const K=l(m,p);return Object.assign(u,{toggle:A}),()=>{const $=K();n.disable!==!0&&R($,"unshift",` q-${e}__native absolute q-ma-none q-pa-none`);const j=[t.h("div",{class:S.value,style:b.value,"aria-hidden":"true"},$)];g.value!==null&&j.push(g.value);const _=n.label!==void 0?Ce(o.default,[n.label]):se(o.default);return _!==void 0&&j.push(t.h("div",{class:`q-${e}__label q-anchor--skip`},_)),t.h("div",{ref:h,class:V.value,...E.value,onClick:A,onKeydown:D,onKeyup:X},j)}}const No=()=>t.h("div",{key:"svg",class:"q-checkbox__bg absolute"},[t.h("svg",{class:"q-checkbox__svg fit absolute-full",viewBox:"0 0 24 24"},[t.h("path",{class:"q-checkbox__truthy",fill:"none",d:"M1.73,12.91 8.1,19.28 22.79,4.59"}),t.h("path",{class:"q-checkbox__indet",d:"M4,14H20V10H4"})])]),jo=oe({name:"QCheckbox",props:Fo,emits:Ho,setup(e){const l=No();function n(o,i){const u=t.computed(()=>(o.value===!0?e.checkedIcon:i.value===!0?e.indeterminateIcon:e.uncheckedIcon)||null);return()=>u.value!==null?[t.h("div",{key:"icon",class:"q-checkbox__icon-container absolute-full flex flex-center no-wrap"},[t.h(pe,{class:"q-checkbox__icon",name:u.value})])]:[l]}return Do("checkbox",n)}}),ct=oe({name:"QItemSection",props:{avatar:Boolean,thumbnail:Boolean,side:Boolean,top:Boolean,noWrap:Boolean},setup(e,{slots:l}){const n=t.computed(()=>`q-item__section column q-item__section--${e.avatar===!0||e.side===!0||e.thumbnail===!0?"side":"main"}`+(e.top===!0?" q-item__section--top justify-start":" justify-center")+(e.avatar===!0?" q-item__section--avatar":"")+(e.thumbnail===!0?" q-item__section--thumbnail":"")+(e.noWrap===!0?" q-item__section--nowrap":""));return()=>t.h("div",{class:n.value},se(l.default))}}),sn=oe({name:"QItemLabel",props:{overline:Boolean,caption:Boolean,header:Boolean,lines:[Number,String]},setup(e,{slots:l}){const n=t.computed(()=>parseInt(e.lines,10)),o=t.computed(()=>"q-item__label"+(e.overline===!0?" q-item__label--overline text-overline":"")+(e.caption===!0?" q-item__label--caption text-caption":"")+(e.header===!0?" q-item__label--header":"")+(n.value===1?" ellipsis":"")),i=t.computed(()=>e.lines!==void 0&&n.value>1?{overflow:"hidden",display:"-webkit-box","-webkit-box-orient":"vertical","-webkit-line-clamp":n.value}:null);return()=>t.h("div",{style:i.value,class:o.value},se(l.default))}}),cn=oe({name:"QItem",props:{...Ge,...go,tag:{type:String,default:"div"},active:{type:Boolean,default:null},clickable:Boolean,dense:Boolean,insetLevel:Number,tabindex:[String,Number],focused:Boolean,manualFocus:Boolean},emits:["click","keyup"],setup(e,{slots:l,emit:n}){const{proxy:{$q:o}}=t.getCurrentInstance(),i=Ze(e,o),{hasLink:u,linkAttrs:r,linkClass:s,linkTag:h,navigateOnClick:g}=ln(),c=t.ref(null),b=t.ref(null),v=t.computed(()=>e.clickable===!0||u.value===!0||e.tag==="label"),d=t.computed(()=>e.disable!==!0&&v.value===!0),m=t.computed(()=>"q-item q-item-type row no-wrap"+(e.dense===!0?" q-item--dense":"")+(i.value===!0?" q-item--dark":"")+(u.value===!0&&e.active===null?s.value:e.active===!0?` q-item--active${e.activeClass!==void 0?` ${e.activeClass}`:""}`:"")+(e.disable===!0?" disabled":"")+(d.value===!0?" q-item--clickable q-link cursor-pointer "+(e.manualFocus===!0?"q-manual-focusable":"q-focusable q-hoverable")+(e.focused===!0?" q-manual-focusable--focused":""):"")),x=t.computed(()=>e.insetLevel===void 0?null:{["padding"+(o.lang.rtl===!0?"Right":"Left")]:16+e.insetLevel*56+"px"});function p(S){d.value===!0&&(b.value!==null&&(S.qKeyEvent!==!0&&document.activeElement===c.value?b.value.focus():document.activeElement===b.value&&c.value.focus()),g(S))}function L(S){if(d.value===!0&&Ve(S,[13,32])===!0){J(S),S.qKeyEvent=!0;const M=new MouseEvent("click",S);M.qKeyEvent=!0,c.value.dispatchEvent(M)}n("keyup",S)}function V(){const S=Qn(l.default,[]);return d.value===!0&&S.unshift(t.h("div",{class:"q-focus-helper",tabindex:-1,ref:b})),S}return()=>{const S={ref:c,class:m.value,style:x.value,role:"listitem",onClick:p,onKeyup:L};return d.value===!0?(S.tabindex=e.tabindex||"0",Object.assign(S,r.value)):v.value===!0&&(S["aria-disabled"]="true"),t.h(h.value,S,V())}}}),gl=e=>e?!0:"Обовʼязкове поле";let Bt,ot=0;const te=new Array(256);for(let e=0;e<256;e++)te[e]=(e+256).toString(16).substring(1);const Wo=(()=>{const e=typeof crypto<"u"?crypto:typeof window<"u"?window.crypto||window.msCrypto:void 0;if(e!==void 0){if(e.randomBytes!==void 0)return e.randomBytes;if(e.getRandomValues!==void 0)return l=>{const n=new Uint8Array(l);return e.getRandomValues(n),n}}return l=>{const n=[];for(let o=l;o>0;o--)n.push(Math.floor(Math.random()*256));return n}})(),bl=4096;function It(){(Bt===void 0||ot+16>bl)&&(ot=0,Bt=Wo(bl));const e=Array.prototype.slice.call(Bt,ot,ot+=16);return e[6]=e[6]&15|64,e[8]=e[8]&63|128,te[e[0]]+te[e[1]]+te[e[2]]+te[e[3]]+"-"+te[e[4]]+te[e[5]]+"-"+te[e[6]]+te[e[7]]+"-"+te[e[8]]+te[e[9]]+"-"+te[e[10]]+te[e[11]]+te[e[12]]+te[e[13]]+te[e[14]]+te[e[15]]}function Ko(e){return e??null}function yl(e,l){return e??(l===!0?`f_${It()}`:null)}function Uo({getValue:e,required:l=!0}={}){if(He.value===!0){const n=e!==void 0?t.ref(Ko(e())):t.ref(null);return l===!0&&n.value===null&&t.onMounted(()=>{n.value=`f_${It()}`}),e!==void 0&&t.watch(e,o=>{n.value=yl(o,l)}),n}return e!==void 0?t.computed(()=>yl(e(),l)):t.ref(`f_${It()}`)}const wl=/^on[A-Z]/;function Qo(){const{attrs:e,vnode:l}=t.getCurrentInstance(),n={listeners:t.ref({}),attributes:t.ref({})};function o(){const i={},u={};for(const r in e)r!=="class"&&r!=="style"&&wl.test(r)===!1&&(i[r]=e[r]);for(const r in l.props)wl.test(r)===!0&&(u[r]=l.props[r]);n.attributes.value=i,n.listeners.value=u}return t.onBeforeUpdate(o),o(),n}const Yo="_q_fo_";function Xo({validate:e,resetValidation:l,requiresQForm:n}){const o=t.inject(Yo,!1);if(o!==!1){const{props:i,proxy:u}=t.getCurrentInstance();Object.assign(u,{validate:e,resetValidation:l}),t.watch(()=>i.disable,r=>{r===!0?(typeof l=="function"&&l(),o.unbindComponent(u)):o.bindComponent(u)}),t.onMounted(()=>{i.disable!==!0&&o.bindComponent(u)}),t.onBeforeUnmount(()=>{i.disable!==!0&&o.unbindComponent(u)})}else n===!0&&console.error("Parent QForm not found on useFormChild()!")}const Sl=/^#[0-9a-fA-F]{3}([0-9a-fA-F]{3})?$/,kl=/^#[0-9a-fA-F]{4}([0-9a-fA-F]{4})?$/,xl=/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/,it=/^rgb\(((0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5]),){2}(0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5])\)$/,ut=/^rgba\(((0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5]),){2}(0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5]),(0|0\.[0-9]+[1-9]|0\.[1-9]+|1)\)$/,_t={date:e=>/^-?[\d]+\/[0-1]\d\/[0-3]\d$/.test(e),time:e=>/^([0-1]?\d|2[0-3]):[0-5]\d$/.test(e),fulltime:e=>/^([0-1]?\d|2[0-3]):[0-5]\d:[0-5]\d$/.test(e),timeOrFulltime:e=>/^([0-1]?\d|2[0-3]):[0-5]\d(:[0-5]\d)?$/.test(e),email:e=>/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(e),hexColor:e=>Sl.test(e),hexaColor:e=>kl.test(e),hexOrHexaColor:e=>xl.test(e),rgbColor:e=>it.test(e),rgbaColor:e=>ut.test(e),rgbOrRgbaColor:e=>it.test(e)||ut.test(e),hexOrRgbColor:e=>Sl.test(e)||it.test(e),hexaOrRgbaColor:e=>kl.test(e)||ut.test(e),anyColor:e=>xl.test(e)||it.test(e)||ut.test(e)};function dn(e,l=250,n){let o=null;function i(){const u=arguments,r=()=>{o=null,e.apply(this,u)};o!==null&&clearTimeout(o),o=setTimeout(r,l)}return i.cancel=()=>{o!==null&&clearTimeout(o)},i}const Go=[!0,!1,"ondemand"],Zo={modelValue:{},error:{type:Boolean,default:null},errorMessage:String,noErrorIcon:Boolean,rules:Array,reactiveRules:Boolean,lazyRules:{type:[Boolean,String],default:!1,validator:e=>Go.includes(e)}};function Jo(e,l){const{props:n,proxy:o}=t.getCurrentInstance(),i=t.ref(!1),u=t.ref(null),r=t.ref(!1);Xo({validate:x,resetValidation:m});let s=0,h;const g=t.computed(()=>n.rules!==void 0&&n.rules!==null&&n.rules.length!==0),c=t.computed(()=>n.disable!==!0&&g.value===!0&&l.value===!1),b=t.computed(()=>n.error===!0||i.value===!0),v=t.computed(()=>typeof n.errorMessage=="string"&&n.errorMessage.length!==0?n.errorMessage:u.value);t.watch(()=>n.modelValue,()=>{r.value=!0,c.value===!0&&n.lazyRules===!1&&p()});function d(){n.lazyRules!=="ondemand"&&c.value===!0&&r.value===!0&&p()}t.watch(()=>n.reactiveRules,L=>{L===!0?h===void 0&&(h=t.watch(()=>n.rules,d,{immediate:!0,deep:!0})):h!==void 0&&(h(),h=void 0)},{immediate:!0}),t.watch(()=>n.lazyRules,d),t.watch(e,L=>{L===!0?r.value=!0:c.value===!0&&n.lazyRules!=="ondemand"&&p()});function m(){s++,l.value=!1,r.value=!1,i.value=!1,u.value=null,p.cancel()}function x(L=n.modelValue){if(n.disable===!0||g.value===!1)return!0;const V=++s,S=l.value!==!0?()=>{r.value=!0}:()=>{},M=(E,A)=>{E===!0&&S(),i.value=E,u.value=A||null,l.value=!1},R=[];for(let E=0;E<n.rules.length;E++){const A=n.rules[E];let O;if(typeof A=="function"?O=A(L,_t):typeof A=="string"&&_t[A]!==void 0&&(O=_t[A](L)),O===!1||typeof O=="string")return M(!0,O),!1;O!==!0&&O!==void 0&&R.push(O)}return R.length===0?(M(!1),!0):(l.value=!0,Promise.all(R).then(E=>{if(E===void 0||Array.isArray(E)===!1||E.length===0)return V===s&&M(!1),!0;const A=E.find(O=>O===!1||typeof O=="string");return V===s&&M(A!==void 0,A),A===void 0},E=>(V===s&&(console.error(E),M(!0)),!1)))}const p=dn(x,0);return t.onBeforeUnmount(()=>{h!==void 0&&h(),p.cancel()}),Object.assign(o,{resetValidation:m,validate:x}),Nt(o,"hasError",()=>b.value),{isDirtyModel:r,hasRules:g,hasError:b,errorMessage:v,validate:x,resetValidation:m}}let qe=[],Xe=[];function fn(e){Xe=Xe.filter(l=>l!==e)}function ei(e){fn(e),Xe.push(e)}function Cl(e){fn(e),Xe.length===0&&qe.length!==0&&(qe[qe.length-1](),qe=[])}function Wt(e){Xe.length===0?e():qe.push(e)}function ti(e){qe=qe.filter(l=>l!==e)}function Ft(e){return e!=null&&(""+e).length!==0}const li={...Ge,...Zo,label:String,stackLabel:Boolean,hint:String,hideHint:Boolean,prefix:String,suffix:String,labelColor:String,color:String,bgColor:String,filled:Boolean,outlined:Boolean,borderless:Boolean,standout:[Boolean,String],square:Boolean,loading:Boolean,labelSlot:Boolean,bottomSlots:Boolean,hideBottomSpace:Boolean,rounded:Boolean,dense:Boolean,itemAligned:Boolean,counter:Boolean,clearable:Boolean,clearIcon:String,disable:Boolean,readonly:Boolean,autofocus:Boolean,for:String},Kt={...li,maxlength:[Number,String]},vn=["update:modelValue","clear","focus","blur"];function mn({requiredForAttr:e=!0,tagProp:l,changeEvent:n=!1}={}){const{props:o,proxy:i}=t.getCurrentInstance(),u=Ze(o,i.$q),r=Uo({required:e,getValue:()=>o.for});return{requiredForAttr:e,changeEvent:n,tag:l===!0?t.computed(()=>o.tag):{value:"label"},isDark:u,editable:t.computed(()=>o.disable!==!0&&o.readonly!==!0),innerLoading:t.ref(!1),focused:t.ref(!1),hasPopupOpen:!1,splitAttrs:Qo(),targetUid:r,rootRef:t.ref(null),targetRef:t.ref(null),controlRef:t.ref(null)}}function hn(e){const{props:l,emit:n,slots:o,attrs:i,proxy:u}=t.getCurrentInstance(),{$q:r}=u;let s=null;e.hasValue===void 0&&(e.hasValue=t.computed(()=>Ft(l.modelValue))),e.emitValue===void 0&&(e.emitValue=B=>{n("update:modelValue",B)}),e.controlEvents===void 0&&(e.controlEvents={onFocusin:D,onFocusout:X}),Object.assign(e,{clearValue:K,onControlFocusin:D,onControlFocusout:X,focus:A}),e.computedCounter===void 0&&(e.computedCounter=t.computed(()=>{if(l.counter!==!1){const B=typeof l.modelValue=="string"||typeof l.modelValue=="number"?(""+l.modelValue).length:Array.isArray(l.modelValue)===!0?l.modelValue.length:0,z=l.maxlength!==void 0?l.maxlength:l.maxValues;return B+(z!==void 0?" / "+z:"")}}));const{isDirtyModel:h,hasRules:g,hasError:c,errorMessage:b,resetValidation:v}=Jo(e.focused,e.innerLoading),d=e.floatingLabel!==void 0?t.computed(()=>l.stackLabel===!0||e.focused.value===!0||e.floatingLabel.value===!0):t.computed(()=>l.stackLabel===!0||e.focused.value===!0||e.hasValue.value===!0),m=t.computed(()=>l.bottomSlots===!0||l.hint!==void 0||g.value===!0||l.counter===!0||l.error!==null),x=t.computed(()=>l.filled===!0?"filled":l.outlined===!0?"outlined":l.borderless===!0?"borderless":l.standout?"standout":"standard"),p=t.computed(()=>`q-field row no-wrap items-start q-field--${x.value}`+(e.fieldClass!==void 0?` ${e.fieldClass.value}`:"")+(l.rounded===!0?" q-field--rounded":"")+(l.square===!0?" q-field--square":"")+(d.value===!0?" q-field--float":"")+(V.value===!0?" q-field--labeled":"")+(l.dense===!0?" q-field--dense":"")+(l.itemAligned===!0?" q-field--item-aligned q-item-type":"")+(e.isDark.value===!0?" q-field--dark":"")+(e.getControl===void 0?" q-field--auto-height":"")+(e.focused.value===!0?" q-field--focused":"")+(c.value===!0?" q-field--error":"")+(c.value===!0||e.focused.value===!0?" q-field--highlighted":"")+(l.hideBottomSpace!==!0&&m.value===!0?" q-field--with-bottom":"")+(l.disable===!0?" q-field--disabled":l.readonly===!0?" q-field--readonly":"")),L=t.computed(()=>"q-field__control relative-position row no-wrap"+(l.bgColor!==void 0?` bg-${l.bgColor}`:"")+(c.value===!0?" text-negative":typeof l.standout=="string"&&l.standout.length!==0&&e.focused.value===!0?` ${l.standout}`:l.color!==void 0?` text-${l.color}`:"")),V=t.computed(()=>l.labelSlot===!0||l.label!==void 0),S=t.computed(()=>"q-field__label no-pointer-events absolute ellipsis"+(l.labelColor!==void 0&&c.value!==!0?` text-${l.labelColor}`:"")),M=t.computed(()=>({id:e.targetUid.value,editable:e.editable.value,focused:e.focused.value,floatingLabel:d.value,modelValue:l.modelValue,emitValue:e.emitValue})),R=t.computed(()=>{const B={};return e.targetUid.value&&(B.for=e.targetUid.value),l.disable===!0&&(B["aria-disabled"]="true"),B});function E(){const B=document.activeElement;let z=e.targetRef!==void 0&&e.targetRef.value;z&&(B===null||B.id!==e.targetUid.value)&&(z.hasAttribute("tabindex")===!0||(z=z.querySelector("[tabindex]")),z&&z!==B&&z.focus({preventScroll:!0}))}function A(){Wt(E)}function O(){ti(E);const B=document.activeElement;B!==null&&e.rootRef.value.contains(B)&&B.blur()}function D(B){s!==null&&(clearTimeout(s),s=null),e.editable.value===!0&&e.focused.value===!1&&(e.focused.value=!0,n("focus",B))}function X(B,z){s!==null&&clearTimeout(s),s=setTimeout(()=>{s=null,!(document.hasFocus()===!0&&(e.hasPopupOpen===!0||e.controlRef===void 0||e.controlRef.value===null||e.controlRef.value.contains(document.activeElement)!==!1))&&(e.focused.value===!0&&(e.focused.value=!1,n("blur",B)),z!==void 0&&z())})}function K(B){J(B),r.platform.is.mobile!==!0?(e.targetRef!==void 0&&e.targetRef.value||e.rootRef.value).focus():e.rootRef.value.contains(document.activeElement)===!0&&document.activeElement.blur(),l.type==="file"&&(e.inputRef.value.value=null),n("update:modelValue",null),e.changeEvent===!0&&n("change",null),n("clear",l.modelValue),t.nextTick(()=>{const z=h.value;v(),h.value=z})}function $(B){[13,32].includes(B.keyCode)&&K(B)}function j(){const B=[];return o.prepend!==void 0&&B.push(t.h("div",{class:"q-field__prepend q-field__marginal row no-wrap items-center",key:"prepend",onClick:de},o.prepend())),B.push(t.h("div",{class:"q-field__control-container col relative-position row no-wrap q-anchor--skip"},_())),c.value===!0&&l.noErrorIcon===!1&&B.push(Q("error",[t.h(pe,{name:r.iconSet.field.error,color:"negative"})])),l.loading===!0||e.innerLoading.value===!0?B.push(Q("inner-loading-append",o.loading!==void 0?o.loading():[t.h(Kl,{color:l.color})])):l.clearable===!0&&e.hasValue.value===!0&&e.editable.value===!0&&B.push(Q("inner-clearable-append",[t.h(pe,{class:"q-field__focusable-action",name:l.clearIcon||r.iconSet.field.clear,tabindex:0,role:"button","aria-hidden":"false","aria-label":r.lang.label.clear,onKeyup:$,onClick:K})])),o.append!==void 0&&B.push(t.h("div",{class:"q-field__append q-field__marginal row no-wrap items-center",key:"append",onClick:de},o.append())),e.getInnerAppend!==void 0&&B.push(Q("inner-append",e.getInnerAppend())),e.getControlChild!==void 0&&B.push(e.getControlChild()),B}function _(){const B=[];return l.prefix!==void 0&&l.prefix!==null&&B.push(t.h("div",{class:"q-field__prefix no-pointer-events row items-center"},l.prefix)),e.getShadowControl!==void 0&&e.hasShadow.value===!0&&B.push(e.getShadowControl()),e.getControl!==void 0?B.push(e.getControl()):o.rawControl!==void 0?B.push(o.rawControl()):o.control!==void 0&&B.push(t.h("div",{ref:e.targetRef,class:"q-field__native row",tabindex:-1,...e.splitAttrs.attributes.value,"data-autofocus":l.autofocus===!0||void 0},o.control(M.value))),V.value===!0&&B.push(t.h("div",{class:S.value},se(o.label,l.label))),l.suffix!==void 0&&l.suffix!==null&&B.push(t.h("div",{class:"q-field__suffix no-pointer-events row items-center"},l.suffix)),B.concat(se(o.default))}function F(){let B,z;c.value===!0?b.value!==null?(B=[t.h("div",{role:"alert"},b.value)],z=`q--slot-error-${b.value}`):(B=se(o.error),z="q--slot-error"):(l.hideHint!==!0||e.focused.value===!0)&&(l.hint!==void 0?(B=[t.h("div",l.hint)],z=`q--slot-hint-${l.hint}`):(B=se(o.hint),z="q--slot-hint"));const ie=l.counter===!0||o.counter!==void 0;if(l.hideBottomSpace===!0&&ie===!1&&B===void 0)return;const f=t.h("div",{key:z,class:"q-field__messages col"},B);return t.h("div",{class:"q-field__bottom row items-start q-field__bottom--"+(l.hideBottomSpace!==!0?"animated":"stale"),onClick:de},[l.hideBottomSpace===!0?f:t.h(t.Transition,{name:"q-transition--field-message"},()=>f),ie===!0?t.h("div",{class:"q-field__counter"},o.counter!==void 0?o.counter():e.computedCounter.value):null])}function Q(B,z){return z===null?null:t.h("div",{key:B,class:"q-field__append q-field__marginal row no-wrap items-center q-anchor--skip"},z)}let le=!1;return t.onDeactivated(()=>{le=!0}),t.onActivated(()=>{le===!0&&l.autofocus===!0&&u.focus()}),l.autofocus===!0&&t.onMounted(()=>{u.focus()}),t.onBeforeUnmount(()=>{s!==null&&clearTimeout(s)}),Object.assign(u,{focus:A,blur:O}),function(){const z=e.getControl===void 0&&o.control===void 0?{...e.splitAttrs.attributes.value,"data-autofocus":l.autofocus===!0||void 0,...R.value}:R.value;return t.h(e.tag.value,{ref:e.rootRef,class:[p.value,i.class],style:i.style,...z},[o.before!==void 0?t.h("div",{class:"q-field__before q-field__marginal row no-wrap items-center",onClick:de},o.before()):null,t.h("div",{class:"q-field__inner relative-position col self-stretch"},[t.h("div",{ref:e.controlRef,class:L.value,tabindex:-1,...e.controlEvents},j()),m.value===!0?F():null]),o.after!==void 0?t.h("div",{class:"q-field__after q-field__marginal row no-wrap items-center",onClick:de},o.after()):null])}}const ni=oe({name:"QField",inheritAttrs:!1,props:{...Kt,tag:{type:String,default:"label"}},emits:vn,setup(){return hn(mn({tagProp:!0}))}}),oi={xs:8,sm:10,md:14,lg:20,xl:24},ii=oe({name:"QChip",props:{...Ge,...pt,dense:Boolean,icon:String,iconRight:String,iconRemove:String,iconSelected:String,label:[String,Number],color:String,textColor:String,modelValue:{type:Boolean,default:!0},selected:{type:Boolean,default:null},square:Boolean,outline:Boolean,clickable:Boolean,removable:Boolean,removeAriaLabel:String,tabindex:[String,Number],disable:Boolean,ripple:{type:[Boolean,Object],default:!0}},emits:["update:modelValue","update:selected","remove","click"],setup(e,{slots:l,emit:n}){const{proxy:{$q:o}}=t.getCurrentInstance(),i=Ze(e,o),u=gt(e,oi),r=t.computed(()=>e.selected===!0||e.icon!==void 0),s=t.computed(()=>e.selected===!0?e.iconSelected||o.iconSet.chip.selected:e.icon),h=t.computed(()=>e.iconRemove||o.iconSet.chip.remove),g=t.computed(()=>e.disable===!1&&(e.clickable===!0||e.selected!==null)),c=t.computed(()=>{const p=e.outline===!0&&e.color||e.textColor;return"q-chip row inline no-wrap items-center"+(e.outline===!1&&e.color!==void 0?` bg-${e.color}`:"")+(p?` text-${p} q-chip--colored`:"")+(e.disable===!0?" disabled":"")+(e.dense===!0?" q-chip--dense":"")+(e.outline===!0?" q-chip--outline":"")+(e.selected===!0?" q-chip--selected":"")+(g.value===!0?" q-chip--clickable cursor-pointer non-selectable q-hoverable":"")+(e.square===!0?" q-chip--square":"")+(i.value===!0?" q-chip--dark q-dark":"")}),b=t.computed(()=>{const p=e.disable===!0?{tabindex:-1,"aria-disabled":"true"}:{tabindex:e.tabindex||0},L={...p,role:"button","aria-hidden":"false","aria-label":e.removeAriaLabel||o.lang.label.remove};return{chip:p,remove:L}});function v(p){p.keyCode===13&&d(p)}function d(p){e.disable||(n("update:selected",!e.selected),n("click",p))}function m(p){(p.keyCode===void 0||p.keyCode===13)&&(J(p),e.disable===!1&&(n("update:modelValue",!1),n("remove")))}function x(){const p=[];g.value===!0&&p.push(t.h("div",{class:"q-focus-helper"})),r.value===!0&&p.push(t.h(pe,{class:"q-chip__icon q-chip__icon--left",name:s.value}));const L=e.label!==void 0?[t.h("div",{class:"ellipsis"},[e.label])]:void 0;return p.push(t.h("div",{class:"q-chip__content col row no-wrap items-center q-anchor--skip"},Yn(l.default,L))),e.iconRight&&p.push(t.h(pe,{class:"q-chip__icon q-chip__icon--right",name:e.iconRight})),e.removable===!0&&p.push(t.h(pe,{class:"q-chip__icon q-chip__icon--remove cursor-pointer",name:h.value,...b.value.remove,onClick:m,onKeyup:m})),p}return()=>{if(e.modelValue===!1)return;const p={class:c.value,style:u.value};return g.value===!0&&Object.assign(p,b.value.chip,{onClick:d,onKeyup:v}),Xn("div",p,x(),"ripple",e.ripple!==!1&&e.disable!==!0,()=>[[Gl,e.ripple]])}}});function ui(){if(window.getSelection!==void 0){const e=window.getSelection();e.empty!==void 0?e.empty():e.removeAllRanges!==void 0&&(e.removeAllRanges(),Pt.is.mobile!==!0&&e.addRange(document.createRange()))}else document.selection!==void 0&&document.selection.empty()}const ai={target:{type:[Boolean,String,Element],default:!0},noParentEvent:Boolean},ri={...ai,contextMenu:Boolean};function si({showing:e,avoidEmit:l,configureAnchorEl:n}){const{props:o,proxy:i,emit:u}=t.getCurrentInstance(),r=t.ref(null);let s=null;function h(d){return r.value===null?!1:d===void 0||d.touches===void 0||d.touches.length<=1}const g={};n===void 0&&(Object.assign(g,{hide(d){i.hide(d)},toggle(d){i.toggle(d),d.qAnchorHandled=!0},toggleKey(d){Ve(d,13)===!0&&g.toggle(d)},contextClick(d){i.hide(d),de(d),t.nextTick(()=>{i.show(d),d.qAnchorHandled=!0})},prevent:de,mobileTouch(d){if(g.mobileCleanup(d),h(d)!==!0)return;i.hide(d),r.value.classList.add("non-selectable");const m=d.target;Ot(g,"anchor",[[m,"touchmove","mobileCleanup","passive"],[m,"touchend","mobileCleanup","passive"],[m,"touchcancel","mobileCleanup","passive"],[r.value,"contextmenu","prevent","notPassive"]]),s=setTimeout(()=>{s=null,i.show(d),d.qAnchorHandled=!0},300)},mobileCleanup(d){r.value.classList.remove("non-selectable"),s!==null&&(clearTimeout(s),s=null),e.value===!0&&d!==void 0&&ui()}}),n=function(d=o.contextMenu){if(o.noParentEvent===!0||r.value===null)return;let m;d===!0?i.$q.platform.is.mobile===!0?m=[[r.value,"touchstart","mobileTouch","passive"]]:m=[[r.value,"mousedown","hide","passive"],[r.value,"contextmenu","contextClick","notPassive"]]:m=[[r.value,"click","toggle","passive"],[r.value,"keyup","toggleKey","passive"]],Ot(g,"anchor",m)});function c(){Yl(g,"anchor")}function b(d){for(r.value=d;r.value.classList.contains("q-anchor--skip");)r.value=r.value.parentNode;n()}function v(){if(o.target===!1||o.target===""||i.$el.parentNode===null)r.value=null;else if(o.target===!0)b(i.$el.parentNode);else{let d=o.target;if(typeof o.target=="string")try{d=document.querySelector(o.target)}catch{d=void 0}d!=null?(r.value=d.$el||d,n()):(r.value=null,console.error(`Anchor: target "${o.target}" not found`))}}return t.watch(()=>o.contextMenu,d=>{r.value!==null&&(c(),n(d))}),t.watch(()=>o.target,()=>{r.value!==null&&c(),v()}),t.watch(()=>o.noParentEvent,d=>{r.value!==null&&(d===!0?c():n())}),t.onMounted(()=>{v(),l!==!0&&o.modelValue===!0&&r.value===null&&u("update:modelValue",!1)}),t.onBeforeUnmount(()=>{s!==null&&clearTimeout(s),c()}),{anchorEl:r,canShow:h,anchorEvents:g}}function ci(e,l){const n=t.ref(null);let o;function i(s,h){const g=`${h!==void 0?"add":"remove"}EventListener`,c=h!==void 0?h:o;s!==window&&s[g]("scroll",c,ne.passive),window[g]("scroll",c,ne.passive),o=h}function u(){n.value!==null&&(i(n.value),n.value=null)}const r=t.watch(()=>e.noParentEvent,()=>{n.value!==null&&(u(),l())});return t.onBeforeUnmount(r),{localScrollTarget:n,unconfigureScrollTarget:u,changeScrollEvent:i}}const pn={modelValue:{type:Boolean,default:null},"onUpdate:modelValue":[Function,Array]},gn=["beforeShow","show","beforeHide","hide"];function bn({showing:e,canShow:l,hideOnRouteChange:n,handleShow:o,handleHide:i,processOnMount:u}){const r=t.getCurrentInstance(),{props:s,emit:h,proxy:g}=r;let c;function b(V){e.value===!0?m(V):v(V)}function v(V){if(s.disable===!0||V!==void 0&&V.qAnchorHandled===!0||l!==void 0&&l(V)!==!0)return;const S=s["onUpdate:modelValue"]!==void 0;S===!0&&(h("update:modelValue",!0),c=V,t.nextTick(()=>{c===V&&(c=void 0)})),(s.modelValue===null||S===!1)&&d(V)}function d(V){e.value!==!0&&(e.value=!0,h("beforeShow",V),o!==void 0?o(V):h("show",V))}function m(V){if(s.disable===!0)return;const S=s["onUpdate:modelValue"]!==void 0;S===!0&&(h("update:modelValue",!1),c=V,t.nextTick(()=>{c===V&&(c=void 0)})),(s.modelValue===null||S===!1)&&x(V)}function x(V){e.value!==!1&&(e.value=!1,h("beforeHide",V),i!==void 0?i(V):h("hide",V))}function p(V){s.disable===!0&&V===!0?s["onUpdate:modelValue"]!==void 0&&h("update:modelValue",!1):V===!0!==e.value&&(V===!0?d:x)(c)}t.watch(()=>s.modelValue,p),n!==void 0&&Jl(r)===!0&&t.watch(()=>g.$route.fullPath,()=>{n.value===!0&&e.value===!0&&m()}),t.onMounted(()=>{p(s.modelValue)});const L={show:v,hide:m,toggle:b};return Object.assign(g,L),L}const ql={};let di=1,fi=document.body;function vi(e,l){const n=document.createElement("div");if(n.id=l!==void 0?`q-portal--${l}--${di++}`:e,ql.globalNodes!==void 0){const o=ql.globalNodes.class;o!==void 0&&(n.className=o)}return fi.appendChild(n),n}function mi(e){e.remove()}const Ye=[];function hi(e,l){do{if(e.$options.name==="QMenu"){if(e.hide(l),e.$props.separateClosePopup===!0)return Ct(e)}else if(e.__qPortal===!0){const n=Ct(e);return n!==void 0&&n.$options.name==="QPopupProxy"?(e.hide(l),n):e}e=Ct(e)}while(e!=null)}const pi=oe({name:"QPortal",setup(e,{slots:l}){return()=>l.default()}});function gi(e){for(e=e.parent;e!=null;){if(e.type.name==="QGlobalDialog")return!0;if(e.type.name==="QDialog"||e.type.name==="QMenu")return!1;e=e.parent}return!1}function yn(e,l,n,o){const i=t.ref(!1),u=t.ref(!1);let r=null;const s={},h=o==="dialog"&&gi(e);function g(b){if(b===!0){Cl(s),u.value=!0;return}u.value=!1,i.value===!1&&(h===!1&&r===null&&(r=vi(!1,o)),i.value=!0,Ye.push(e.proxy),ei(s))}function c(b){if(u.value=!1,b!==!0)return;Cl(s),i.value=!1;const v=Ye.indexOf(e.proxy);v!==-1&&Ye.splice(v,1),r!==null&&(mi(r),r=null)}return t.onUnmounted(()=>{c(!0)}),e.proxy.__qPortal=!0,Nt(e.proxy,"contentEl",()=>l.value),{showPortal:g,hidePortal:c,portalIsActive:i,portalIsAccessible:u,renderPortal:()=>h===!0?n():i.value===!0?[t.h(t.Teleport,{to:r},t.h(pi,n))]:void 0}}const wn={transitionShow:{type:String,default:"fade"},transitionHide:{type:String,default:"fade"},transitionDuration:{type:[String,Number],default:300}};function Sn(e,l=()=>{},n=()=>{}){return{transitionProps:t.computed(()=>{const o=`q-transition--${e.transitionShow||l()}`,i=`q-transition--${e.transitionHide||n()}`;return{appear:!0,enterFromClass:`${o}-enter-from`,enterActiveClass:`${o}-enter-active`,enterToClass:`${o}-enter-to`,leaveFromClass:`${i}-leave-from`,leaveActiveClass:`${i}-leave-active`,leaveToClass:`${i}-leave-to`}}),transitionStyle:t.computed(()=>`--q-transition-duration: ${e.transitionDuration}ms`)}}function kn(){let e;const l=t.getCurrentInstance();function n(){e=void 0}return t.onDeactivated(n),t.onBeforeUnmount(n),{removeTick:n,registerTick(o){e=o,t.nextTick(()=>{e===o&&(en(l)===!1&&e(),e=void 0)})}}}function xn(){let e=null;const l=t.getCurrentInstance();function n(){e!==null&&(clearTimeout(e),e=null)}return t.onDeactivated(n),t.onBeforeUnmount(n),{removeTimeout:n,registerTimeout(o,i){n(),en(l)===!1&&(e=setTimeout(()=>{e=null,o()},i))}}}const bi=[Element,String],yi=[null,document,document.body,document.scrollingElement,document.documentElement];function wi(e,l){let n=uo(l);if(n===void 0){if(e==null)return window;n=e.closest(".scroll,.scroll-y,.overflow-auto")}return yi.includes(n)?window:n}function Si(e){return e===window?window.pageYOffset||window.scrollY||document.body.scrollTop||0:e.scrollTop}function ki(e){return e===window?window.pageXOffset||window.scrollX||document.body.scrollLeft||0:e.scrollLeft}let at;function xi(){if(at!==void 0)return at;const e=document.createElement("p"),l=document.createElement("div");Lt(e,{width:"100%",height:"200px"}),Lt(l,{position:"absolute",top:"0px",left:"0px",visibility:"hidden",width:"200px",height:"150px",overflow:"hidden"}),l.appendChild(e),document.body.appendChild(l);const n=e.offsetWidth;l.style.overflow="scroll";let o=e.offsetWidth;return n===o&&(o=l.clientWidth),l.remove(),at=n-o,at}function Ci(e,l=!0){return!e||e.nodeType!==Node.ELEMENT_NODE?!1:l?e.scrollHeight>e.clientHeight&&(e.classList.contains("scroll")||e.classList.contains("overflow-auto")||["auto","scroll"].includes(window.getComputedStyle(e)["overflow-y"])):e.scrollWidth>e.clientWidth&&(e.classList.contains("scroll")||e.classList.contains("overflow-auto")||["auto","scroll"].includes(window.getComputedStyle(e)["overflow-x"]))}const _e=[];let De;function qi(e){De=e.keyCode===27}function Bi(){De===!0&&(De=!1)}function _i(e){De===!0&&(De=!1,Ve(e,27)===!0&&_e[_e.length-1](e))}function Cn(e){window[e]("keydown",qi),window[e]("blur",Bi),window[e]("keyup",_i),De=!1}function qn(e){ae.is.desktop===!0&&(_e.push(e),_e.length===1&&Cn("addEventListener"))}function ft(e){const l=_e.indexOf(e);l!==-1&&(_e.splice(l,1),_e.length===0&&Cn("removeEventListener"))}const{notPassiveCapture:vt}=ne,Ee=[];function mt(e){const l=e.target;if(l===void 0||l.nodeType===8||l.classList.contains("no-pointer-events")===!0)return;let n=Ye.length-1;for(;n>=0;){const o=Ye[n].$;if(o.type.name==="QTooltip"){n--;continue}if(o.type.name!=="QDialog")break;if(o.props.seamless!==!0)return;n--}for(let o=Ee.length-1;o>=0;o--){const i=Ee[o];if((i.anchorEl.value===null||i.anchorEl.value.contains(l)===!1)&&(l===document.body||i.innerRef.value!==null&&i.innerRef.value.contains(l)===!1))e.qClickOutside=!0,i.onClickOutside(e);else return}}function Ei(e){Ee.push(e),Ee.length===1&&(document.addEventListener("mousedown",mt,vt),document.addEventListener("touchstart",mt,vt))}function Bl(e){const l=Ee.findIndex(n=>n===e);l!==-1&&(Ee.splice(l,1),Ee.length===0&&(document.removeEventListener("mousedown",mt,vt),document.removeEventListener("touchstart",mt,vt)))}let _l,El;function Vl(e){const l=e.split(" ");return l.length!==2?!1:["top","center","bottom"].includes(l[0])!==!0?(console.error("Anchor/Self position must start with one of top/center/bottom"),!1):["left","middle","right","start","end"].includes(l[1])!==!0?(console.error("Anchor/Self position must end with one of left/middle/right/start/end"),!1):!0}function Vi(e){return e?!(e.length!==2||typeof e[0]!="number"||typeof e[1]!="number"):!0}const Ht={"start#ltr":"left","start#rtl":"right","end#ltr":"right","end#rtl":"left"};["left","middle","right"].forEach(e=>{Ht[`${e}#ltr`]=e,Ht[`${e}#rtl`]=e});function Tl(e,l){const n=e.split(" ");return{vertical:n[0],horizontal:Ht[`${n[1]}#${l===!0?"rtl":"ltr"}`]}}function Ti(e,l){let{top:n,left:o,right:i,bottom:u,width:r,height:s}=e.getBoundingClientRect();return l!==void 0&&(n-=l[1],o-=l[0],u+=l[1],i+=l[0],r+=l[0],s+=l[1]),{top:n,bottom:u,height:s,left:o,right:i,width:r,middle:o+(i-o)/2,center:n+(u-n)/2}}function Ri(e,l,n){let{top:o,left:i}=e.getBoundingClientRect();return o+=l.top,i+=l.left,n!==void 0&&(o+=n[1],i+=n[0]),{top:o,bottom:o+1,height:1,left:i,right:i+1,width:1,middle:i,center:o}}function $i(e,l){return{top:0,center:l/2,bottom:l,left:0,middle:e/2,right:e}}function Rl(e,l,n,o){return{top:e[n.vertical]-l[o.vertical],left:e[n.horizontal]-l[o.horizontal]}}function Bn(e,l=0){if(e.targetEl===null||e.anchorEl===null||l>5)return;if(e.targetEl.offsetHeight===0||e.targetEl.offsetWidth===0){setTimeout(()=>{Bn(e,l+1)},10);return}const{targetEl:n,offset:o,anchorEl:i,anchorOrigin:u,selfOrigin:r,absoluteOffset:s,fit:h,cover:g,maxHeight:c,maxWidth:b}=e;if(ae.is.ios===!0&&window.visualViewport!==void 0){const E=document.body.style,{offsetLeft:A,offsetTop:O}=window.visualViewport;A!==_l&&(E.setProperty("--q-pe-left",A+"px"),_l=A),O!==El&&(E.setProperty("--q-pe-top",O+"px"),El=O)}const{scrollLeft:v,scrollTop:d}=n,m=s===void 0?Ti(i,g===!0?[0,0]:o):Ri(i,s,o);Object.assign(n.style,{top:0,left:0,minWidth:null,minHeight:null,maxWidth:b,maxHeight:c,visibility:"visible"});const{offsetWidth:x,offsetHeight:p}=n,{elWidth:L,elHeight:V}=h===!0||g===!0?{elWidth:Math.max(m.width,x),elHeight:g===!0?Math.max(m.height,p):p}:{elWidth:x,elHeight:p};let S={maxWidth:b,maxHeight:c};(h===!0||g===!0)&&(S.minWidth=m.width+"px",g===!0&&(S.minHeight=m.height+"px")),Object.assign(n.style,S);const M=$i(L,V);let R=Rl(m,M,u,r);if(s===void 0||o===void 0)Et(R,m,M,u,r);else{const{top:E,left:A}=R;Et(R,m,M,u,r);let O=!1;if(R.top!==E){O=!0;const D=2*o[1];m.center=m.top-=D,m.bottom-=D+2}if(R.left!==A){O=!0;const D=2*o[0];m.middle=m.left-=D,m.right-=D+2}O===!0&&(R=Rl(m,M,u,r),Et(R,m,M,u,r))}S={top:R.top+"px",left:R.left+"px"},R.maxHeight!==void 0&&(S.maxHeight=R.maxHeight+"px",m.height>R.maxHeight&&(S.minHeight=S.maxHeight)),R.maxWidth!==void 0&&(S.maxWidth=R.maxWidth+"px",m.width>R.maxWidth&&(S.minWidth=S.maxWidth)),Object.assign(n.style,S),n.scrollTop!==d&&(n.scrollTop=d),n.scrollLeft!==v&&(n.scrollLeft=v)}function Et(e,l,n,o,i){const u=n.bottom,r=n.right,s=xi(),h=window.innerHeight-s,g=document.body.clientWidth;if(e.top<0||e.top+u>h)if(i.vertical==="center")e.top=l[o.vertical]>h/2?Math.max(0,h-u):0,e.maxHeight=Math.min(u,h);else if(l[o.vertical]>h/2){const c=Math.min(h,o.vertical==="center"?l.center:o.vertical===i.vertical?l.bottom:l.top);e.maxHeight=Math.min(u,c),e.top=Math.max(0,c-u)}else e.top=Math.max(0,o.vertical==="center"?l.center:o.vertical===i.vertical?l.top:l.bottom),e.maxHeight=Math.min(u,h-e.top);if(e.left<0||e.left+r>g)if(e.maxWidth=Math.min(r,g),i.horizontal==="middle")e.left=l[o.horizontal]>g/2?Math.max(0,g-r):0;else if(l[o.horizontal]>g/2){const c=Math.min(g,o.horizontal==="middle"?l.middle:o.horizontal===i.horizontal?l.right:l.left);e.maxWidth=Math.min(r,c),e.left=Math.max(0,c-e.maxWidth)}else e.left=Math.max(0,o.horizontal==="middle"?l.middle:o.horizontal===i.horizontal?l.left:l.right),e.maxWidth=Math.min(r,g-e.left)}const Mi=oe({name:"QMenu",inheritAttrs:!1,props:{...ri,...pn,...Ge,...wn,persistent:Boolean,autoClose:Boolean,separateClosePopup:Boolean,noRouteDismiss:Boolean,noRefocus:Boolean,noFocus:Boolean,fit:Boolean,cover:Boolean,square:Boolean,anchor:{type:String,validator:Vl},self:{type:String,validator:Vl},offset:{type:Array,validator:Vi},scrollTarget:bi,touchPosition:Boolean,maxHeight:{type:String,default:null},maxWidth:{type:String,default:null}},emits:[...gn,"click","escapeKey"],setup(e,{slots:l,emit:n,attrs:o}){let i=null,u,r,s;const h=t.getCurrentInstance(),{proxy:g}=h,{$q:c}=g,b=t.ref(null),v=t.ref(!1),d=t.computed(()=>e.persistent!==!0&&e.noRouteDismiss!==!0),m=Ze(e,c),{registerTick:x,removeTick:p}=kn(),{registerTimeout:L}=xn(),{transitionProps:V,transitionStyle:S}=Sn(e),{localScrollTarget:M,changeScrollEvent:R,unconfigureScrollTarget:E}=ci(e,P),{anchorEl:A,canShow:O}=si({showing:v}),{hide:D}=bn({showing:v,canShow:O,handleShow:ie,handleHide:f,hideOnRouteChange:d,processOnMount:!0}),{showPortal:X,hidePortal:K,renderPortal:$}=yn(h,b,N,"menu"),j={anchorEl:A,innerRef:b,onClickOutside(y){if(e.persistent!==!0&&v.value===!0)return D(y),(y.type==="touchstart"||y.target.classList.contains("q-dialog__backdrop"))&&J(y),!0}},_=t.computed(()=>Tl(e.anchor||(e.cover===!0?"center middle":"bottom start"),c.lang.rtl)),F=t.computed(()=>e.cover===!0?_.value:Tl(e.self||"top start",c.lang.rtl)),Q=t.computed(()=>(e.square===!0?" q-menu--square":"")+(m.value===!0?" q-menu--dark q-dark":"")),le=t.computed(()=>e.autoClose===!0?{onClick:H}:{}),B=t.computed(()=>v.value===!0&&e.persistent!==!0);t.watch(B,y=>{y===!0?(qn(k),Ei(j)):(ft(k),Bl(j))});function z(){Wt(()=>{let y=b.value;y&&y.contains(document.activeElement)!==!0&&(y=y.querySelector("[autofocus][tabindex], [data-autofocus][tabindex]")||y.querySelector("[autofocus] [tabindex], [data-autofocus] [tabindex]")||y.querySelector("[autofocus], [data-autofocus]")||y,y.focus({preventScroll:!0}))})}function ie(y){if(i=e.noRefocus===!1?document.activeElement:null,jt(Y),X(),P(),u=void 0,y!==void 0&&(e.touchPosition||e.contextMenu)){const G=Ql(y);if(G.left!==void 0){const{top:fe,left:Te}=A.value.getBoundingClientRect();u={left:G.left-Te,top:G.top-fe}}}r===void 0&&(r=t.watch(()=>c.screen.width+"|"+c.screen.height+"|"+e.self+"|"+e.anchor+"|"+c.lang.rtl,T)),e.noFocus!==!0&&document.activeElement.blur(),x(()=>{T(),e.noFocus!==!0&&z()}),L(()=>{c.platform.is.ios===!0&&(s=e.autoClose,b.value.click()),T(),X(!0),n("show",y)},e.transitionDuration)}function f(y){p(),K(),w(!0),i!==null&&(y===void 0||y.qClickOutside!==!0)&&(((y&&y.type.indexOf("key")===0?i.closest('[tabindex]:not([tabindex^="-"])'):void 0)||i).focus(),i=null),L(()=>{K(!0),n("hide",y)},e.transitionDuration)}function w(y){u=void 0,r!==void 0&&(r(),r=void 0),(y===!0||v.value===!0)&&(dt(Y),E(),Bl(j),ft(k)),y!==!0&&(i=null)}function P(){(A.value!==null||e.scrollTarget!==void 0)&&(M.value=wi(A.value,e.scrollTarget),R(M.value,T))}function H(y){s!==!0?(hi(g,y),n("click",y)):s=!1}function Y(y){B.value===!0&&e.noFocus!==!0&&Ul(b.value,y.target)!==!0&&z()}function k(y){n("escapeKey"),D(y)}function T(){Bn({targetEl:b.value,offset:e.offset,anchorEl:A.value,anchorOrigin:_.value,selfOrigin:F.value,absoluteOffset:u,fit:e.fit,cover:e.cover,maxHeight:e.maxHeight,maxWidth:e.maxWidth})}function N(){return t.h(t.Transition,V.value,()=>v.value===!0?t.h("div",{role:"menu",...o,ref:b,tabindex:-1,class:["q-menu q-position-engine scroll"+Q.value,o.class],style:[o.style,S.value],...le.value},se(l.default)):null)}return t.onBeforeUnmount(w),Object.assign(g,{focus:z,updatePosition:T}),$}});function Ai(e,l,n){function o(){}return t.onBeforeUnmount(()=>{e.value===!0&&void 0}),{removeFromHistory:o,addToHistory(){}}}let Ke=0,Vt,Tt,Qe,Rt=!1,$l,Ml,Al,xe=null;function Li(e){Oi(e)&&J(e)}function Oi(e){if(e.target===document.body||e.target.classList.contains("q-layout__backdrop"))return!0;const l=ro(e),n=e.shiftKey&&!e.deltaX,o=!n&&Math.abs(e.deltaX)<=Math.abs(e.deltaY),i=n||o?e.deltaY:e.deltaX;for(let u=0;u<l.length;u++){const r=l[u];if(Ci(r,o))return o?i<0&&r.scrollTop===0?!0:i>0&&r.scrollTop+r.clientHeight===r.scrollHeight:i<0&&r.scrollLeft===0?!0:i>0&&r.scrollLeft+r.clientWidth===r.scrollWidth}return!0}function Ll(e){e.target===document&&(document.scrollingElement.scrollTop=document.scrollingElement.scrollTop)}function rt(e){Rt!==!0&&(Rt=!0,requestAnimationFrame(()=>{Rt=!1;const{height:l}=e.target,{clientHeight:n,scrollTop:o}=document.scrollingElement;(Qe===void 0||l!==window.innerHeight)&&(Qe=n-l,document.scrollingElement.scrollTop=o),o>Qe&&(document.scrollingElement.scrollTop-=Math.ceil((o-Qe)/8))}))}function Ol(e){const l=document.body,n=window.visualViewport!==void 0;if(e==="add"){const{overflowY:o,overflowX:i}=window.getComputedStyle(l);Vt=ki(window),Tt=Si(window),$l=l.style.left,Ml=l.style.top,Al=window.location.href,l.style.left=`-${Vt}px`,l.style.top=`-${Tt}px`,i!=="hidden"&&(i==="scroll"||l.scrollWidth>window.innerWidth)&&l.classList.add("q-body--force-scrollbar-x"),o!=="hidden"&&(o==="scroll"||l.scrollHeight>window.innerHeight)&&l.classList.add("q-body--force-scrollbar-y"),l.classList.add("q-body--prevent-scroll"),document.qScrollPrevented=!0,ae.is.ios===!0&&(n===!0?(window.scrollTo(0,0),window.visualViewport.addEventListener("resize",rt,ne.passiveCapture),window.visualViewport.addEventListener("scroll",rt,ne.passiveCapture),window.scrollTo(0,0)):window.addEventListener("scroll",Ll,ne.passiveCapture))}ae.is.desktop===!0&&ae.is.mac===!0&&window[`${e}EventListener`]("wheel",Li,ne.notPassive),e==="remove"&&(ae.is.ios===!0&&(n===!0?(window.visualViewport.removeEventListener("resize",rt,ne.passiveCapture),window.visualViewport.removeEventListener("scroll",rt,ne.passiveCapture)):window.removeEventListener("scroll",Ll,ne.passiveCapture)),l.classList.remove("q-body--prevent-scroll"),l.classList.remove("q-body--force-scrollbar-x"),l.classList.remove("q-body--force-scrollbar-y"),document.qScrollPrevented=!1,l.style.left=$l,l.style.top=Ml,window.location.href===Al&&window.scrollTo(Vt,Tt),Qe=void 0)}function zi(e){let l="add";if(e===!0){if(Ke++,xe!==null){clearTimeout(xe),xe=null;return}if(Ke>1)return}else{if(Ke===0||(Ke--,Ke>0))return;if(l="remove",ae.is.ios===!0&&ae.is.nativeMobile===!0){xe!==null&&clearTimeout(xe),xe=setTimeout(()=>{Ol(l),xe=null},100);return}}Ol(l)}function Pi(){let e;return{preventBodyScroll(l){l!==e&&(e!==void 0||l===!0)&&(e=l,zi(l))}}}let st=0;const Ii={standard:"fixed-full flex-center",top:"fixed-top justify-center",bottom:"fixed-bottom justify-center",right:"fixed-right items-center",left:"fixed-left items-center"},zl={standard:["scale","scale"],top:["slide-down","slide-up"],bottom:["slide-up","slide-down"],right:["slide-left","slide-right"],left:["slide-right","slide-left"]},Fi=oe({name:"QDialog",inheritAttrs:!1,props:{...pn,...wn,transitionShow:String,transitionHide:String,persistent:Boolean,autoClose:Boolean,allowFocusOutside:Boolean,noEscDismiss:Boolean,noBackdropDismiss:Boolean,noRouteDismiss:Boolean,noRefocus:Boolean,noFocus:Boolean,noShake:Boolean,seamless:Boolean,maximized:Boolean,fullWidth:Boolean,fullHeight:Boolean,square:Boolean,backdropFilter:String,position:{type:String,default:"standard",validator:e=>["standard","top","bottom","left","right"].includes(e)}},emits:[...gn,"shake","click","escapeKey"],setup(e,{slots:l,emit:n,attrs:o}){const i=t.getCurrentInstance(),u=t.ref(null),r=t.ref(!1),s=t.ref(!1);let h=null,g=null,c,b;const v=t.computed(()=>e.persistent!==!0&&e.noRouteDismiss!==!0&&e.seamless!==!0),{preventBodyScroll:d}=Pi(),{registerTimeout:m}=xn(),{registerTick:x,removeTick:p}=kn(),{transitionProps:L,transitionStyle:V}=Sn(e,()=>zl[e.position][0],()=>zl[e.position][1]),S=t.computed(()=>V.value+(e.backdropFilter!==void 0?`;backdrop-filter:${e.backdropFilter};-webkit-backdrop-filter:${e.backdropFilter}`:"")),{showPortal:M,hidePortal:R,portalIsAccessible:E,renderPortal:A}=yn(i,u,Y,"dialog"),{hide:O}=bn({showing:r,hideOnRouteChange:v,handleShow:F,handleHide:Q,processOnMount:!0}),{addToHistory:D,removeFromHistory:X}=Ai(r,O),K=t.computed(()=>`q-dialog__inner flex no-pointer-events q-dialog__inner--${e.maximized===!0?"maximized":"minimized"} q-dialog__inner--${e.position} ${Ii[e.position]}`+(s.value===!0?" q-dialog__inner--animating":"")+(e.fullWidth===!0?" q-dialog__inner--fullwidth":"")+(e.fullHeight===!0?" q-dialog__inner--fullheight":"")+(e.square===!0?" q-dialog__inner--square":"")),$=t.computed(()=>r.value===!0&&e.seamless!==!0),j=t.computed(()=>e.autoClose===!0?{onClick:w}:{}),_=t.computed(()=>[`q-dialog fullscreen no-pointer-events q-dialog--${$.value===!0?"modal":"seamless"}`,o.class]);t.watch(()=>e.maximized,k=>{r.value===!0&&f(k)}),t.watch($,k=>{d(k),k===!0?(jt(H),qn(z)):(dt(H),ft(z))});function F(k){D(),g=e.noRefocus===!1&&document.activeElement!==null?document.activeElement:null,f(e.maximized),M(),s.value=!0,e.noFocus!==!0?(document.activeElement!==null&&document.activeElement.blur(),x(le)):p(),m(()=>{if(i.proxy.$q.platform.is.ios===!0){if(e.seamless!==!0&&document.activeElement){const{top:T,bottom:N}=document.activeElement.getBoundingClientRect(),{innerHeight:y}=window,G=window.visualViewport!==void 0?window.visualViewport.height:y;T>0&&N>G/2&&(document.scrollingElement.scrollTop=Math.min(document.scrollingElement.scrollHeight-G,N>=y?1/0:Math.ceil(document.scrollingElement.scrollTop+N-G/2))),document.activeElement.scrollIntoView()}b=!0,u.value.click(),b=!1}M(!0),s.value=!1,n("show",k)},e.transitionDuration)}function Q(k){p(),X(),ie(!0),s.value=!0,R(),g!==null&&(((k&&k.type.indexOf("key")===0?g.closest('[tabindex]:not([tabindex^="-"])'):void 0)||g).focus(),g=null),m(()=>{R(!0),s.value=!1,n("hide",k)},e.transitionDuration)}function le(k){Wt(()=>{let T=u.value;if(T!==null){if(k!==void 0){const N=T.querySelector(k);if(N!==null){N.focus({preventScroll:!0});return}}T.contains(document.activeElement)!==!0&&(T=T.querySelector("[autofocus][tabindex], [data-autofocus][tabindex]")||T.querySelector("[autofocus] [tabindex], [data-autofocus] [tabindex]")||T.querySelector("[autofocus], [data-autofocus]")||T,T.focus({preventScroll:!0}))}})}function B(k){k&&typeof k.focus=="function"?k.focus({preventScroll:!0}):le(),n("shake");const T=u.value;T!==null&&(T.classList.remove("q-animate--scale"),T.classList.add("q-animate--scale"),h!==null&&clearTimeout(h),h=setTimeout(()=>{h=null,u.value!==null&&(T.classList.remove("q-animate--scale"),le())},170))}function z(){e.seamless!==!0&&(e.persistent===!0||e.noEscDismiss===!0?e.maximized!==!0&&e.noShake!==!0&&B():(n("escapeKey"),O()))}function ie(k){h!==null&&(clearTimeout(h),h=null),(k===!0||r.value===!0)&&(f(!1),e.seamless!==!0&&(d(!1),dt(H),ft(z))),k!==!0&&(g=null)}function f(k){k===!0?c!==!0&&(st<1&&document.body.classList.add("q-body--dialog"),st++,c=!0):c===!0&&(st<2&&document.body.classList.remove("q-body--dialog"),st--,c=!1)}function w(k){b!==!0&&(O(k),n("click",k))}function P(k){e.persistent!==!0&&e.noBackdropDismiss!==!0?O(k):e.noShake!==!0&&B()}function H(k){e.allowFocusOutside!==!0&&E.value===!0&&Ul(u.value,k.target)!==!0&&le('[tabindex]:not([tabindex="-1"])')}Object.assign(i.proxy,{focus:le,shake:B,__updateRefocusTarget(k){g=k||null}}),t.onBeforeUnmount(ie);function Y(){return t.h("div",{role:"dialog","aria-modal":$.value===!0?"true":"false",...o,class:_.value},[t.h(t.Transition,{name:"q-transition--fade",appear:!0},()=>$.value===!0?t.h("div",{class:"q-dialog__backdrop fixed-full",style:S.value,"aria-hidden":"true",tabindex:-1,onClick:P}):null),t.h(t.Transition,L.value,()=>r.value===!0?t.h("div",{ref:u,class:K.value,style:V.value,tabindex:-1,...j.value},se(l.default)):null)])}return A}});let ht=!1;{const e=document.createElement("div");e.setAttribute("dir","rtl"),Object.assign(e.style,{width:"1px",height:"1px",overflow:"auto"});const l=document.createElement("div");Object.assign(l.style,{width:"1000px",height:"1px"}),document.body.appendChild(e),e.appendChild(l),e.scrollLeft=-1e3,ht=e.scrollLeft>=0,e.remove()}const ce=1e3,Hi=["start","center","end","start-force","center-force","end-force"],_n=Array.prototype.filter,Di=window.getComputedStyle(document.body).overflowAnchor===void 0?ao:function(e,l){e!==null&&(e._qOverflowAnimationFrame!==void 0&&cancelAnimationFrame(e._qOverflowAnimationFrame),e._qOverflowAnimationFrame=requestAnimationFrame(()=>{if(e===null)return;e._qOverflowAnimationFrame=void 0;const n=e.children||[];_n.call(n,i=>i.dataset&&i.dataset.qVsAnchor!==void 0).forEach(i=>{delete i.dataset.qVsAnchor});const o=n[l];o&&o.dataset&&(o.dataset.qVsAnchor="")}))};function Fe(e,l){return e+l}function $t(e,l,n,o,i,u,r,s){const h=e===window?document.scrollingElement||document.documentElement:e,g=i===!0?"offsetWidth":"offsetHeight",c={scrollStart:0,scrollViewSize:-r-s,scrollMaxSize:0,offsetStart:-r,offsetEnd:-s};if(i===!0?(e===window?(c.scrollStart=window.pageXOffset||window.scrollX||document.body.scrollLeft||0,c.scrollViewSize+=document.documentElement.clientWidth):(c.scrollStart=h.scrollLeft,c.scrollViewSize+=h.clientWidth),c.scrollMaxSize=h.scrollWidth,u===!0&&(c.scrollStart=(ht===!0?c.scrollMaxSize-c.scrollViewSize:0)-c.scrollStart)):(e===window?(c.scrollStart=window.pageYOffset||window.scrollY||document.body.scrollTop||0,c.scrollViewSize+=document.documentElement.clientHeight):(c.scrollStart=h.scrollTop,c.scrollViewSize+=h.clientHeight),c.scrollMaxSize=h.scrollHeight),n!==null)for(let b=n.previousElementSibling;b!==null;b=b.previousElementSibling)b.classList.contains("q-virtual-scroll--skip")===!1&&(c.offsetStart+=b[g]);if(o!==null)for(let b=o.nextElementSibling;b!==null;b=b.nextElementSibling)b.classList.contains("q-virtual-scroll--skip")===!1&&(c.offsetEnd+=b[g]);if(l!==e){const b=h.getBoundingClientRect(),v=l.getBoundingClientRect();i===!0?(c.offsetStart+=v.left-b.left,c.offsetEnd-=v.width):(c.offsetStart+=v.top-b.top,c.offsetEnd-=v.height),e!==window&&(c.offsetStart+=c.scrollStart),c.offsetEnd+=c.scrollMaxSize-c.offsetStart}return c}function Pl(e,l,n,o){l==="end"&&(l=(e===window?document.body:e)[n===!0?"scrollWidth":"scrollHeight"]),e===window?n===!0?(o===!0&&(l=(ht===!0?document.body.scrollWidth-document.documentElement.clientWidth:0)-l),window.scrollTo(l,window.pageYOffset||window.scrollY||document.body.scrollTop||0)):window.scrollTo(window.pageXOffset||window.scrollX||document.body.scrollLeft||0,l):n===!0?(o===!0&&(l=(ht===!0?e.scrollWidth-e.offsetWidth:0)-l),e.scrollLeft=l):e.scrollTop=l}function Ue(e,l,n,o){if(n>=o)return 0;const i=l.length,u=Math.floor(n/ce),r=Math.floor((o-1)/ce)+1;let s=e.slice(u,r).reduce(Fe,0);return n%ce!==0&&(s-=l.slice(u*ce,n).reduce(Fe,0)),o%ce!==0&&o!==i&&(s-=l.slice(o,r*ce).reduce(Fe,0)),s}const Ni={virtualScrollSliceSize:{type:[Number,String],default:10},virtualScrollSliceRatioBefore:{type:[Number,String],default:1},virtualScrollSliceRatioAfter:{type:[Number,String],default:1},virtualScrollItemSize:{type:[Number,String],default:24},virtualScrollStickySizeStart:{type:[Number,String],default:0},virtualScrollStickySizeEnd:{type:[Number,String],default:0},tableColspan:[Number,String]},Il={virtualScrollHorizontal:Boolean,onVirtualScroll:Function,...Ni};function ji({virtualScrollLength:e,getVirtualScrollTarget:l,getVirtualScrollEl:n,virtualScrollItemSizeComputed:o}){const i=t.getCurrentInstance(),{props:u,emit:r,proxy:s}=i,{$q:h}=s;let g,c,b,v=[],d;const m=t.ref(0),x=t.ref(0),p=t.ref({}),L=t.ref(null),V=t.ref(null),S=t.ref(null),M=t.ref({from:0,to:0}),R=t.computed(()=>u.tableColspan!==void 0?u.tableColspan:100);o===void 0&&(o=t.computed(()=>u.virtualScrollItemSize));const E=t.computed(()=>o.value+";"+u.virtualScrollHorizontal),A=t.computed(()=>E.value+";"+u.virtualScrollSliceRatioBefore+";"+u.virtualScrollSliceRatioAfter);t.watch(A,()=>{Q()}),t.watch(E,O);function O(){F(c,!0)}function D(f){F(f===void 0?c:f)}function X(f,w){const P=l();if(P==null||P.nodeType===8)return;const H=$t(P,n(),L.value,V.value,u.virtualScrollHorizontal,h.lang.rtl,u.virtualScrollStickySizeStart,u.virtualScrollStickySizeEnd);b!==H.scrollViewSize&&Q(H.scrollViewSize),$(P,H,Math.min(e.value-1,Math.max(0,parseInt(f,10)||0)),0,Hi.indexOf(w)!==-1?w:c!==-1&&f>c?"end":"start")}function K(){const f=l();if(f==null||f.nodeType===8)return;const w=$t(f,n(),L.value,V.value,u.virtualScrollHorizontal,h.lang.rtl,u.virtualScrollStickySizeStart,u.virtualScrollStickySizeEnd),P=e.value-1,H=w.scrollMaxSize-w.offsetStart-w.offsetEnd-x.value;if(g===w.scrollStart)return;if(w.scrollMaxSize<=0){$(f,w,0,0);return}b!==w.scrollViewSize&&Q(w.scrollViewSize),j(M.value.from);const Y=Math.floor(w.scrollMaxSize-Math.max(w.scrollViewSize,w.offsetEnd)-Math.min(d[P],w.scrollViewSize/2));if(Y>0&&Math.ceil(w.scrollStart)>=Y){$(f,w,P,w.scrollMaxSize-w.offsetEnd-v.reduce(Fe,0));return}let k=0,T=w.scrollStart-w.offsetStart,N=T;if(T<=H&&T+w.scrollViewSize>=m.value)T-=m.value,k=M.value.from,N=T;else for(let y=0;T>=v[y]&&k<P;y++)T-=v[y],k+=ce;for(;T>0&&k<P;)T-=d[k],T>-w.scrollViewSize?(k++,N=T):N=d[k]+T;$(f,w,k,N)}function $(f,w,P,H,Y){const k=typeof Y=="string"&&Y.indexOf("-force")!==-1,T=k===!0?Y.replace("-force",""):Y,N=T!==void 0?T:"start";let y=Math.max(0,P-p.value[N]),G=y+p.value.total;G>e.value&&(G=e.value,y=Math.max(0,G-p.value.total)),g=w.scrollStart;const fe=y!==M.value.from||G!==M.value.to;if(fe===!1&&T===void 0){B(P);return}const{activeElement:Te}=document,ve=S.value;fe===!0&&ve!==null&&ve!==Te&&ve.contains(Te)===!0&&(ve.addEventListener("focusout",_),setTimeout(()=>{ve!==null&&ve.removeEventListener("focusout",_)})),Di(ve,P-y);const Je=T!==void 0?d.slice(y,P).reduce(Fe,0):0;if(fe===!0){const ye=G>=M.value.from&&y<=M.value.to?M.value.to:G;M.value={from:y,to:ye},m.value=Ue(v,d,0,y),x.value=Ue(v,d,G,e.value),requestAnimationFrame(()=>{M.value.to!==G&&g===w.scrollStart&&(M.value={from:M.value.from,to:G},x.value=Ue(v,d,G,e.value))})}requestAnimationFrame(()=>{if(g!==w.scrollStart)return;fe===!0&&j(y);const ye=d.slice(y,P).reduce(Fe,0),we=ye+w.offsetStart+m.value,et=we+d[P];let Ne=we+H;if(T!==void 0){const bt=ye-Je,je=w.scrollStart+bt;Ne=k!==!0&&je<we&&et<je+w.scrollViewSize?je:T==="end"?et-w.scrollViewSize:we-(T==="start"?0:Math.round((w.scrollViewSize-d[P])/2))}g=Ne,Pl(f,Ne,u.virtualScrollHorizontal,h.lang.rtl),B(P)})}function j(f){const w=S.value;if(w){const P=_n.call(w.children,y=>y.classList&&y.classList.contains("q-virtual-scroll--skip")===!1),H=P.length,Y=u.virtualScrollHorizontal===!0?y=>y.getBoundingClientRect().width:y=>y.offsetHeight;let k=f,T,N;for(let y=0;y<H;){for(T=Y(P[y]),y++;y<H&&P[y].classList.contains("q-virtual-scroll--with-prev")===!0;)T+=Y(P[y]),y++;N=T-d[k],N!==0&&(d[k]+=N,v[Math.floor(k/ce)]+=N),k++}}}function _(){S.value!==null&&S.value!==void 0&&S.value.focus()}function F(f,w){const P=1*o.value;(w===!0||Array.isArray(d)===!1)&&(d=[]);const H=d.length;d.length=e.value;for(let k=e.value-1;k>=H;k--)d[k]=P;const Y=Math.floor((e.value-1)/ce);v=[];for(let k=0;k<=Y;k++){let T=0;const N=Math.min((k+1)*ce,e.value);for(let y=k*ce;y<N;y++)T+=d[y];v.push(T)}c=-1,g=void 0,m.value=Ue(v,d,0,M.value.from),x.value=Ue(v,d,M.value.to,e.value),f>=0?(j(M.value.from),t.nextTick(()=>{X(f)})):z()}function Q(f){if(f===void 0&&typeof window<"u"){const T=l();T!=null&&T.nodeType!==8&&(f=$t(T,n(),L.value,V.value,u.virtualScrollHorizontal,h.lang.rtl,u.virtualScrollStickySizeStart,u.virtualScrollStickySizeEnd).scrollViewSize)}b=f;const w=parseFloat(u.virtualScrollSliceRatioBefore)||0,P=parseFloat(u.virtualScrollSliceRatioAfter)||0,H=1+w+P,Y=f===void 0||f<=0?1:Math.ceil(f/o.value),k=Math.max(1,Y,Math.ceil((u.virtualScrollSliceSize>0?u.virtualScrollSliceSize:10)/H));p.value={total:Math.ceil(k*H),start:Math.ceil(k*w),center:Math.ceil(k*(.5+w)),end:Math.ceil(k*(1+w)),view:Y}}function le(f,w){const P=u.virtualScrollHorizontal===!0?"width":"height",H={["--q-virtual-scroll-item-"+P]:o.value+"px"};return[f==="tbody"?t.h(f,{class:"q-virtual-scroll__padding",key:"before",ref:L},[t.h("tr",[t.h("td",{style:{[P]:`${m.value}px`,...H},colspan:R.value})])]):t.h(f,{class:"q-virtual-scroll__padding",key:"before",ref:L,style:{[P]:`${m.value}px`,...H}}),t.h(f,{class:"q-virtual-scroll__content",key:"content",ref:S,tabindex:-1},w.flat()),f==="tbody"?t.h(f,{class:"q-virtual-scroll__padding",key:"after",ref:V},[t.h("tr",[t.h("td",{style:{[P]:`${x.value}px`,...H},colspan:R.value})])]):t.h(f,{class:"q-virtual-scroll__padding",key:"after",ref:V,style:{[P]:`${x.value}px`,...H}})]}function B(f){c!==f&&(u.onVirtualScroll!==void 0&&r("virtualScroll",{index:f,from:M.value.from,to:M.value.to-1,direction:f<c?"decrease":"increase",ref:s}),c=f)}Q();const z=dn(K,h.platform.is.ios===!0?120:35);t.onBeforeMount(()=>{Q()});let ie=!1;return t.onDeactivated(()=>{ie=!0}),t.onActivated(()=>{if(ie!==!0)return;const f=l();g!==void 0&&f!==void 0&&f!==null&&f.nodeType!==8?Pl(f,g,u.virtualScrollHorizontal,h.lang.rtl):X(c)}),t.onBeforeUnmount(()=>{z.cancel()}),Object.assign(s,{scrollTo:X,reset:O,refresh:D}),{virtualScrollSliceRange:M,virtualScrollSliceSizeComputed:p,setVirtualScrollSize:Q,onVirtualScrollEvt:z,localResetVirtualScroll:F,padVirtualScroll:le,scrollTo:X,reset:O,refresh:D}}const Wi=/[\u3000-\u303f\u3040-\u309f\u30a0-\u30ff\uff00-\uff9f\u4e00-\u9faf\u3400-\u4dbf]/,Ki=/[\u4e00-\u9fff\u3400-\u4dbf\u{20000}-\u{2a6df}\u{2a700}-\u{2b73f}\u{2b740}-\u{2b81f}\u{2b820}-\u{2ceaf}\uf900-\ufaff\u3300-\u33ff\ufe30-\ufe4f\uf900-\ufaff\u{2f800}-\u{2fa1f}]/u,Ui=/[\u3131-\u314e\u314f-\u3163\uac00-\ud7a3]/,Qi=/[a-z0-9_ -]$/i;function Yi(e){return function(n){if(n.type==="compositionend"||n.type==="change"){if(n.target.qComposing!==!0)return;n.target.qComposing=!1,e(n)}else n.type==="compositionupdate"&&n.target.qComposing!==!0&&typeof n.data=="string"&&(ae.is.firefox===!0?Qi.test(n.data)===!1:Wi.test(n.data)===!0||Ki.test(n.data)===!0||Ui.test(n.data)===!0)===!0&&(n.target.qComposing=!0)}}function be(e,l){if(e===l)return!0;if(e!==null&&l!==null&&typeof e=="object"&&typeof l=="object"){if(e.constructor!==l.constructor)return!1;let n,o;if(e.constructor===Array){if(n=e.length,n!==l.length)return!1;for(o=n;o--!==0;)if(be(e[o],l[o])!==!0)return!1;return!0}if(e.constructor===Map){if(e.size!==l.size)return!1;let u=e.entries();for(o=u.next();o.done!==!0;){if(l.has(o.value[0])!==!0)return!1;o=u.next()}for(u=e.entries(),o=u.next();o.done!==!0;){if(be(o.value[1],l.get(o.value[0]))!==!0)return!1;o=u.next()}return!0}if(e.constructor===Set){if(e.size!==l.size)return!1;const u=e.entries();for(o=u.next();o.done!==!0;){if(l.has(o.value[0])!==!0)return!1;o=u.next()}return!0}if(e.buffer!=null&&e.buffer.constructor===ArrayBuffer){if(n=e.length,n!==l.length)return!1;for(o=n;o--!==0;)if(e[o]!==l[o])return!1;return!0}if(e.constructor===RegExp)return e.source===l.source&&e.flags===l.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===l.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===l.toString();const i=Object.keys(e).filter(u=>e[u]!==void 0);if(n=i.length,n!==Object.keys(l).filter(u=>l[u]!==void 0).length)return!1;for(o=n;o--!==0;){const u=i[o];if(be(e[u],l[u])!==!0)return!1}return!0}return e!==e&&l!==l}function Fl(e,l,n){if(n<=l)return l;const o=n-l+1;let i=l+(e-l)%o;return i<l&&(i=o+i),i===0?0:i}const Hl=e=>["add","add-unique","toggle"].includes(e),Xi=".*+?^${}()|[]\\",Gi=Object.keys(Kt);function Mt(e,l){if(typeof e=="function")return e;const n=e!==void 0?e:l;return o=>o!==null&&typeof o=="object"&&n in o?o[n]:o}const Zi=oe({name:"QSelect",inheritAttrs:!1,props:{...Il,...rn,...Kt,modelValue:{required:!0},multiple:Boolean,displayValue:[String,Number],displayValueHtml:Boolean,dropdownIcon:String,options:{type:Array,default:()=>[]},optionValue:[Function,String],optionLabel:[Function,String],optionDisable:[Function,String],hideSelected:Boolean,hideDropdownIcon:Boolean,fillInput:Boolean,maxValues:[Number,String],optionsDense:Boolean,optionsDark:{type:Boolean,default:null},optionsSelectedClass:String,optionsHtml:Boolean,optionsCover:Boolean,menuShrink:Boolean,menuAnchor:String,menuSelf:String,menuOffset:Array,popupContentClass:String,popupContentStyle:[String,Array,Object],popupNoRouteDismiss:Boolean,useInput:Boolean,useChips:Boolean,newValueMode:{type:String,validator:Hl},mapOptions:Boolean,emitValue:Boolean,disableTabSelection:Boolean,inputDebounce:{type:[Number,String],default:500},inputClass:[Array,String,Object],inputStyle:[Array,String,Object],tabindex:{type:[String,Number],default:0},autocomplete:String,transitionShow:{},transitionHide:{},transitionDuration:{},behavior:{type:String,validator:e=>["default","menu","dialog"].includes(e),default:"default"},virtualScrollItemSize:Il.virtualScrollItemSize.type,onNewValue:Function,onFilter:Function},emits:[...vn,"add","remove","inputValue","keyup","keypress","keydown","popupShow","popupHide","filterAbort"],setup(e,{slots:l,emit:n}){const{proxy:o}=t.getCurrentInstance(),{$q:i}=o,u=t.ref(!1),r=t.ref(!1),s=t.ref(-1),h=t.ref(""),g=t.ref(!1),c=t.ref(!1);let b=null,v=null,d,m,x,p=null,L,V,S,M;const R=t.ref(null),E=t.ref(null),A=t.ref(null),O=t.ref(null),D=t.ref(null),X=Po(e),K=Yi(ll),$=t.computed(()=>Array.isArray(e.options)?e.options.length:0),j=t.computed(()=>e.virtualScrollItemSize===void 0?e.optionsDense===!0?24:48:e.virtualScrollItemSize),{virtualScrollSliceRange:_,virtualScrollSliceSizeComputed:F,localResetVirtualScroll:Q,padVirtualScroll:le,onVirtualScrollEvt:B,scrollTo:z,setVirtualScrollSize:ie}=ji({virtualScrollLength:$,getVirtualScrollTarget:Rn,getVirtualScrollEl:el,virtualScrollItemSizeComputed:j}),f=mn(),w=t.computed(()=>{const a=e.mapOptions===!0&&e.multiple!==!0,C=e.modelValue!==void 0&&(e.modelValue!==null||a===!0)?e.multiple===!0&&Array.isArray(e.modelValue)?e.modelValue:[e.modelValue]:[];if(e.mapOptions===!0&&Array.isArray(e.options)===!0){const q=e.mapOptions===!0&&d!==void 0?d:[],I=C.map(U=>Tn(U,q));return e.modelValue===null&&a===!0?I.filter(U=>U!==null):I}return C}),P=t.computed(()=>{const a={};return Gi.forEach(C=>{const q=e[C];q!==void 0&&(a[C]=q)}),a}),H=t.computed(()=>e.optionsDark===null?f.isDark.value:e.optionsDark),Y=t.computed(()=>Ft(w.value)),k=t.computed(()=>{let a="q-field__input q-placeholder col";return e.hideSelected===!0||w.value.length===0?[a,e.inputClass]:(a+=" q-field__input--padding",e.inputClass===void 0?a:[a,e.inputClass])}),T=t.computed(()=>(e.virtualScrollHorizontal===!0?"q-virtual-scroll--horizontal":"")+(e.popupContentClass?" "+e.popupContentClass:"")),N=t.computed(()=>$.value===0),y=t.computed(()=>w.value.map(a=>ue.value(a)).join(", ")),G=t.computed(()=>e.displayValue!==void 0?e.displayValue:y.value),fe=t.computed(()=>e.optionsHtml===!0?()=>!0:a=>a!=null&&a.html===!0),Te=t.computed(()=>e.displayValueHtml===!0||e.displayValue===void 0&&(e.optionsHtml===!0||w.value.some(fe.value))),ve=t.computed(()=>f.focused.value===!0?e.tabindex:-1),Je=t.computed(()=>{const a={tabindex:e.tabindex,role:"combobox","aria-label":e.label,"aria-readonly":e.readonly===!0?"true":"false","aria-autocomplete":e.useInput===!0?"list":"none","aria-expanded":u.value===!0?"true":"false","aria-controls":`${f.targetUid.value}_lb`};return s.value>=0&&(a["aria-activedescendant"]=`${f.targetUid.value}_${s.value}`),a}),ye=t.computed(()=>({id:`${f.targetUid.value}_lb`,role:"listbox","aria-multiselectable":e.multiple===!0?"true":"false"})),we=t.computed(()=>w.value.map((a,C)=>({index:C,opt:a,html:fe.value(a),selected:!0,removeAtIndex:Vn,toggleOption:Se,tabindex:ve.value}))),et=t.computed(()=>{if($.value===0)return[];const{from:a,to:C}=_.value;return e.options.slice(a,C).map((q,I)=>{const U=Re.value(q)===!0,W=wt(q)===!0,ee=a+I,Z={clickable:!0,active:W,activeClass:je.value,manualFocus:!0,focused:!1,disable:U,tabindex:-1,dense:e.optionsDense,dark:H.value,role:"option","aria-selected":W===!0?"true":"false",id:`${f.targetUid.value}_${ee}`,onClick:()=>{Se(q)}};return U!==!0&&(s.value===ee&&(Z.focused=!0),i.platform.is.desktop===!0&&(Z.onMousemove=()=>{u.value===!0&&$e(ee)})),{index:ee,opt:q,html:fe.value(q),label:ue.value(q),selected:Z.active,focused:Z.focused,toggleOption:Se,setOptionIndex:$e,itemProps:Z}})}),Ne=t.computed(()=>e.dropdownIcon!==void 0?e.dropdownIcon:i.iconSet.arrow.dropdown),bt=t.computed(()=>e.optionsCover===!1&&e.outlined!==!0&&e.standout!==!0&&e.borderless!==!0&&e.rounded!==!0),je=t.computed(()=>e.optionsSelectedClass!==void 0?e.optionsSelectedClass:e.color!==void 0?`text-${e.color}`:""),me=t.computed(()=>Mt(e.optionValue,"value")),ue=t.computed(()=>Mt(e.optionLabel,"label")),Re=t.computed(()=>Mt(e.optionDisable,"disable")),tt=t.computed(()=>w.value.map(me.value)),En=t.computed(()=>{const a={onInput:ll,onChange:K,onKeydown:Jt,onKeyup:Gt,onKeypress:Zt,onFocus:Yt,onClick(C){m===!0&&ge(C)}};return a.onCompositionstart=a.onCompositionupdate=a.onCompositionend=K,a});t.watch(w,a=>{d=a,e.useInput===!0&&e.fillInput===!0&&e.multiple!==!0&&f.innerLoading.value!==!0&&(r.value!==!0&&u.value!==!0||Y.value!==!0)&&(x!==!0&&Oe(),(r.value===!0||u.value===!0)&&Me(""))},{immediate:!0}),t.watch(()=>e.fillInput,Oe),t.watch(u,St),t.watch($,Nn);function Ut(a){return e.emitValue===!0?me.value(a):a}function yt(a){if(a!==-1&&a<w.value.length)if(e.multiple===!0){const C=e.modelValue.slice();n("remove",{index:a,value:C.splice(a,1)[0]}),n("update:modelValue",C)}else n("update:modelValue",null)}function Vn(a){yt(a),f.focus()}function Qt(a,C){const q=Ut(a);if(e.multiple!==!0){e.fillInput===!0&&We(ue.value(a),!0,!0),n("update:modelValue",q);return}if(w.value.length===0){n("add",{index:0,value:q}),n("update:modelValue",e.multiple===!0?[q]:q);return}if(C===!0&&wt(a)===!0||e.maxValues!==void 0&&e.modelValue.length>=e.maxValues)return;const I=e.modelValue.slice();n("add",{index:I.length,value:q}),I.push(q),n("update:modelValue",I)}function Se(a,C){if(f.editable.value!==!0||a===void 0||Re.value(a)===!0)return;const q=me.value(a);if(e.multiple!==!0){C!==!0&&(We(e.fillInput===!0?ue.value(a):"",!0,!0),ke()),E.value!==null&&E.value.focus(),(w.value.length===0||be(me.value(w.value[0]),q)!==!0)&&n("update:modelValue",e.emitValue===!0?q:a);return}if((m!==!0||g.value===!0)&&f.focus(),Yt(),w.value.length===0){const W=e.emitValue===!0?q:a;n("add",{index:0,value:W}),n("update:modelValue",e.multiple===!0?[W]:W);return}const I=e.modelValue.slice(),U=tt.value.findIndex(W=>be(W,q));if(U!==-1)n("remove",{index:U,value:I.splice(U,1)[0]});else{if(e.maxValues!==void 0&&I.length>=e.maxValues)return;const W=e.emitValue===!0?q:a;n("add",{index:I.length,value:W}),I.push(W)}n("update:modelValue",I)}function $e(a){if(i.platform.is.desktop!==!0)return;const C=a!==-1&&a<$.value?a:-1;s.value!==C&&(s.value=C)}function lt(a=1,C){if(u.value===!0){let q=s.value;do q=Fl(q+a,-1,$.value-1);while(q!==-1&&q!==s.value&&Re.value(e.options[q])===!0);s.value!==q&&($e(q),z(q),C!==!0&&e.useInput===!0&&e.fillInput===!0&&nt(q>=0?ue.value(e.options[q]):L,!0))}}function Tn(a,C){const q=I=>be(me.value(I),a);return e.options.find(q)||C.find(q)||a}function wt(a){const C=me.value(a);return tt.value.find(q=>be(q,C))!==void 0}function Yt(a){e.useInput===!0&&E.value!==null&&(a===void 0||E.value===a.target&&a.target.value===y.value)&&E.value.select()}function Xt(a){Ve(a,27)===!0&&u.value===!0&&(ge(a),ke(),Oe()),n("keyup",a)}function Gt(a){const{value:C}=a.target;if(a.keyCode!==void 0){Xt(a);return}if(a.target.value="",b!==null&&(clearTimeout(b),b=null),v!==null&&(clearTimeout(v),v=null),Oe(),typeof C=="string"&&C.length!==0){const q=C.toLocaleLowerCase(),I=W=>{const ee=e.options.find(Z=>String(W.value(Z)).toLocaleLowerCase()===q);return ee===void 0?!1:(w.value.indexOf(ee)===-1?Se(ee):ke(),!0)},U=W=>{I(me)!==!0&&W!==!0&&I(ue)!==!0&&Me(C,!0,()=>U(!0))};U()}else f.clearValue(a)}function Zt(a){n("keypress",a)}function Jt(a){if(n("keydown",a),Xl(a)===!0)return;const C=h.value.length!==0&&(e.newValueMode!==void 0||e.onNewValue!==void 0),q=a.shiftKey!==!0&&e.disableTabSelection!==!0&&e.multiple!==!0&&(s.value!==-1||C===!0);if(a.keyCode===27){de(a);return}if(a.keyCode===9&&q===!1){Ae();return}if(a.target===void 0||a.target.id!==f.targetUid.value||f.editable.value!==!0)return;if(a.keyCode===40&&f.innerLoading.value!==!0&&u.value===!1){J(a),Le();return}if(a.keyCode===8&&(e.useChips===!0||e.clearable===!0)&&e.hideSelected!==!0&&h.value.length===0){e.multiple===!0&&Array.isArray(e.modelValue)===!0?yt(e.modelValue.length-1):e.multiple!==!0&&e.modelValue!==null&&n("update:modelValue",null);return}(a.keyCode===35||a.keyCode===36)&&(typeof h.value!="string"||h.value.length===0)&&(J(a),s.value=-1,lt(a.keyCode===36?1:-1,e.multiple)),(a.keyCode===33||a.keyCode===34)&&F.value!==void 0&&(J(a),s.value=Math.max(-1,Math.min($.value,s.value+(a.keyCode===33?-1:1)*F.value.view)),lt(a.keyCode===33?1:-1,e.multiple)),(a.keyCode===38||a.keyCode===40)&&(J(a),lt(a.keyCode===38?-1:1,e.multiple));const I=$.value;if((S===void 0||M<Date.now())&&(S=""),I>0&&e.useInput!==!0&&a.key!==void 0&&a.key.length===1&&a.altKey===!1&&a.ctrlKey===!1&&a.metaKey===!1&&(a.keyCode!==32||S.length!==0)){u.value!==!0&&Le(a);const U=a.key.toLocaleLowerCase(),W=S.length===1&&S[0]===U;M=Date.now()+1500,W===!1&&(J(a),S+=U);const ee=new RegExp("^"+S.split("").map(kt=>Xi.indexOf(kt)!==-1?"\\"+kt:kt).join(".*"),"i");let Z=s.value;if(W===!0||Z<0||ee.test(ue.value(e.options[Z]))!==!0)do Z=Fl(Z+1,-1,I-1);while(Z!==s.value&&(Re.value(e.options[Z])===!0||ee.test(ue.value(e.options[Z]))!==!0));s.value!==Z&&t.nextTick(()=>{$e(Z),z(Z),Z>=0&&e.useInput===!0&&e.fillInput===!0&&nt(ue.value(e.options[Z]),!0)});return}if(!(a.keyCode!==13&&(a.keyCode!==32||e.useInput===!0||S!=="")&&(a.keyCode!==9||q===!1))){if(a.keyCode!==9&&J(a),s.value!==-1&&s.value<I){Se(e.options[s.value]);return}if(C===!0){const U=(W,ee)=>{if(ee){if(Hl(ee)!==!0)return}else ee=e.newValueMode;if(We("",e.multiple!==!0,!0),W==null)return;(ee==="toggle"?Se:Qt)(W,ee==="add-unique"),e.multiple!==!0&&(E.value!==null&&E.value.focus(),ke())};if(e.onNewValue!==void 0?n("newValue",h.value,U):U(h.value),e.multiple!==!0)return}u.value===!0?Ae():f.innerLoading.value!==!0&&Le()}}function el(){return m===!0?D.value:A.value!==null&&A.value.contentEl!==null?A.value.contentEl:void 0}function Rn(){return el()}function $n(){return e.hideSelected===!0?[]:l["selected-item"]!==void 0?we.value.map(a=>l["selected-item"](a)).slice():l.selected!==void 0?[].concat(l.selected()):e.useChips===!0?we.value.map((a,C)=>t.h(ii,{key:"option-"+C,removable:f.editable.value===!0&&Re.value(a.opt)!==!0,dense:!0,textColor:e.color,tabindex:ve.value,onRemove(){a.removeAtIndex(C)}},()=>t.h("span",{class:"ellipsis",[a.html===!0?"innerHTML":"textContent"]:ue.value(a.opt)}))):[t.h("span",{[Te.value===!0?"innerHTML":"textContent"]:G.value})]}function tl(){if(N.value===!0)return l["no-option"]!==void 0?l["no-option"]({inputValue:h.value}):void 0;const a=l.option!==void 0?l.option:q=>t.h(cn,{key:q.index,...q.itemProps},()=>t.h(ct,()=>t.h(sn,()=>t.h("span",{[q.html===!0?"innerHTML":"textContent"]:q.label}))));let C=le("div",et.value.map(a));return l["before-options"]!==void 0&&(C=l["before-options"]().concat(C)),Ce(l["after-options"],C)}function Mn(a,C){const q=C===!0?{...Je.value,...f.splitAttrs.attributes.value}:void 0,I={ref:C===!0?E:void 0,key:"i_t",class:k.value,style:e.inputStyle,value:h.value!==void 0?h.value:"",type:"search",...q,id:C===!0?f.targetUid.value:void 0,maxlength:e.maxlength,autocomplete:e.autocomplete,"data-autofocus":a===!0||e.autofocus===!0||void 0,disabled:e.disable===!0,readonly:e.readonly===!0,...En.value};return a!==!0&&m===!0&&(Array.isArray(I.class)===!0?I.class=[...I.class,"no-pointer-events"]:I.class+=" no-pointer-events"),t.h("input",I)}function ll(a){b!==null&&(clearTimeout(b),b=null),v!==null&&(clearTimeout(v),v=null),!(a&&a.target&&a.target.qComposing===!0)&&(nt(a.target.value||""),x=!0,L=h.value,f.focused.value!==!0&&(m!==!0||g.value===!0)&&f.focus(),e.onFilter!==void 0&&(b=setTimeout(()=>{b=null,Me(h.value)},e.inputDebounce)))}function nt(a,C){h.value!==a&&(h.value=a,C===!0||e.inputDebounce===0||e.inputDebounce==="0"?n("inputValue",a):v=setTimeout(()=>{v=null,n("inputValue",a)},e.inputDebounce))}function We(a,C,q){x=q!==!0,e.useInput===!0&&(nt(a,!0),(C===!0||q!==!0)&&(L=a),C!==!0&&Me(a))}function Me(a,C,q){if(e.onFilter===void 0||C!==!0&&f.focused.value!==!0)return;f.innerLoading.value===!0?n("filterAbort"):(f.innerLoading.value=!0,c.value=!0),a!==""&&e.multiple!==!0&&w.value.length!==0&&x!==!0&&a===ue.value(w.value[0])&&(a="");const I=setTimeout(()=>{u.value===!0&&(u.value=!1)},10);p!==null&&clearTimeout(p),p=I,n("filter",a,(U,W)=>{(C===!0||f.focused.value===!0)&&p===I&&(clearTimeout(p),typeof U=="function"&&U(),c.value=!1,t.nextTick(()=>{f.innerLoading.value=!1,f.editable.value===!0&&(C===!0?u.value===!0&&ke():u.value===!0?St(!0):u.value=!0),typeof W=="function"&&t.nextTick(()=>{W(o)}),typeof q=="function"&&t.nextTick(()=>{q(o)})}))},()=>{f.focused.value===!0&&p===I&&(clearTimeout(p),f.innerLoading.value=!1,c.value=!1),u.value===!0&&(u.value=!1)})}function An(){return t.h(Mi,{ref:A,class:T.value,style:e.popupContentStyle,modelValue:u.value,fit:e.menuShrink!==!0,cover:e.optionsCover===!0&&N.value!==!0&&e.useInput!==!0,anchor:e.menuAnchor,self:e.menuSelf,offset:e.menuOffset,dark:H.value,noParentEvent:!0,noRefocus:!0,noFocus:!0,noRouteDismiss:e.popupNoRouteDismiss,square:bt.value,transitionShow:e.transitionShow,transitionHide:e.transitionHide,transitionDuration:e.transitionDuration,separateClosePopup:!0,...ye.value,onScrollPassive:B,onBeforeShow:ol,onBeforeHide:Ln,onShow:On},tl)}function Ln(a){il(a),Ae()}function On(){ie()}function zn(a){ge(a),E.value!==null&&E.value.focus(),g.value=!0,window.scrollTo(window.pageXOffset||window.scrollX||document.body.scrollLeft||0,0)}function Pn(a){ge(a),t.nextTick(()=>{g.value=!1})}function In(){const a=[t.h(ni,{class:`col-auto ${f.fieldClass.value}`,...P.value,for:f.targetUid.value,dark:H.value,square:!0,loading:c.value,itemAligned:!1,filled:!0,stackLabel:h.value.length!==0,...f.splitAttrs.listeners.value,onFocus:zn,onBlur:Pn},{...l,rawControl:()=>f.getControl(!0),before:void 0,after:void 0})];return u.value===!0&&a.push(t.h("div",{ref:D,class:T.value+" scroll",style:e.popupContentStyle,...ye.value,onClick:de,onScrollPassive:B},tl())),t.h(Fi,{ref:O,modelValue:r.value,position:e.useInput===!0?"top":void 0,transitionShow:V,transitionHide:e.transitionHide,transitionDuration:e.transitionDuration,noRouteDismiss:e.popupNoRouteDismiss,onBeforeShow:ol,onBeforeHide:Fn,onHide:Hn,onShow:Dn},()=>t.h("div",{class:"q-select__dialog"+(H.value===!0?" q-select__dialog--dark q-dark":"")+(g.value===!0?" q-select__dialog--focused":"")},a))}function Fn(a){il(a),O.value!==null&&O.value.__updateRefocusTarget(f.rootRef.value.querySelector(".q-field__native > [tabindex]:last-child")),f.focused.value=!1}function Hn(a){ke(),f.focused.value===!1&&n("blur",a),Oe()}function Dn(){const a=document.activeElement;(a===null||a.id!==f.targetUid.value)&&E.value!==null&&E.value!==a&&E.value.focus(),ie()}function Ae(){r.value!==!0&&(s.value=-1,u.value===!0&&(u.value=!1),f.focused.value===!1&&(p!==null&&(clearTimeout(p),p=null),f.innerLoading.value===!0&&(n("filterAbort"),f.innerLoading.value=!1,c.value=!1)))}function Le(a){f.editable.value===!0&&(m===!0?(f.onControlFocusin(a),r.value=!0,t.nextTick(()=>{f.focus()})):f.focus(),e.onFilter!==void 0?Me(h.value):(N.value!==!0||l["no-option"]!==void 0)&&(u.value=!0))}function ke(){r.value=!1,Ae()}function Oe(){e.useInput===!0&&We(e.multiple!==!0&&e.fillInput===!0&&w.value.length!==0&&ue.value(w.value[0])||"",!0,!0)}function St(a){let C=-1;if(a===!0){if(w.value.length!==0){const q=me.value(w.value[0]);C=e.options.findIndex(I=>be(me.value(I),q))}Q(C)}$e(C)}function Nn(a,C){u.value===!0&&f.innerLoading.value===!1&&(Q(-1,!0),t.nextTick(()=>{u.value===!0&&f.innerLoading.value===!1&&(a>C?Q():St(!0))}))}function nl(){r.value===!1&&A.value!==null&&A.value.updatePosition()}function ol(a){a!==void 0&&ge(a),n("popupShow",a),f.hasPopupOpen=!0,f.onControlFocusin(a)}function il(a){a!==void 0&&ge(a),n("popupHide",a),f.hasPopupOpen=!1,f.onControlFocusout(a)}function ul(){m=i.platform.is.mobile!==!0&&e.behavior!=="dialog"?!1:e.behavior!=="menu"&&(e.useInput===!0?l["no-option"]!==void 0||e.onFilter!==void 0||N.value===!1:!0),V=i.platform.is.ios===!0&&m===!0&&e.useInput===!0?"fade":e.transitionShow}return t.onBeforeUpdate(ul),t.onUpdated(nl),ul(),t.onBeforeUnmount(()=>{b!==null&&clearTimeout(b),v!==null&&clearTimeout(v)}),Object.assign(o,{showPopup:Le,hidePopup:ke,removeAtIndex:yt,add:Qt,toggleOption:Se,getOptionIndex:()=>s.value,setOptionIndex:$e,moveOptionSelection:lt,filter:Me,updateMenuPosition:nl,updateInputValue:We,isOptionSelected:wt,getEmittingOptionValue:Ut,isOptionDisabled:(...a)=>Re.value.apply(null,a)===!0,getOptionValue:(...a)=>me.value.apply(null,a),getOptionLabel:(...a)=>ue.value.apply(null,a)}),Object.assign(f,{innerValue:w,fieldClass:t.computed(()=>`q-select q-field--auto-height q-select--with${e.useInput!==!0?"out":""}-input q-select--with${e.useChips!==!0?"out":""}-chips q-select--${e.multiple===!0?"multiple":"single"}`),inputRef:R,targetRef:E,hasValue:Y,showPopup:Le,floatingLabel:t.computed(()=>e.hideSelected!==!0&&Y.value===!0||typeof h.value=="number"||h.value.length!==0||Ft(e.displayValue)),getControlChild:()=>{if(f.editable.value!==!1&&(r.value===!0||N.value!==!0||l["no-option"]!==void 0))return m===!0?In():An();f.hasPopupOpen===!0&&(f.hasPopupOpen=!1)},controlEvents:{onFocusin(a){f.onControlFocusin(a)},onFocusout(a){f.onControlFocusout(a,()=>{Oe(),Ae()})},onClick(a){if(de(a),m!==!0&&u.value===!0){Ae(),E.value!==null&&E.value.focus();return}Le(a)}},getControl:a=>{const C=$n(),q=a===!0||r.value!==!0||m!==!0;if(e.useInput===!0)C.push(Mn(a,q));else if(f.editable.value===!0){const U=q===!0?Je.value:void 0;C.push(t.h("input",{ref:q===!0?E:void 0,key:"d_t",class:"q-select__focus-target",id:q===!0?f.targetUid.value:void 0,value:G.value,readonly:!0,"data-autofocus":a===!0||e.autofocus===!0||void 0,...U,onKeydown:Jt,onKeyup:Xt,onKeypress:Zt})),q===!0&&typeof e.autocomplete=="string"&&e.autocomplete.length!==0&&C.push(t.h("input",{class:"q-select__autocomplete-input",autocomplete:e.autocomplete,tabindex:-1,onKeyup:Gt}))}if(X.value!==void 0&&e.disable!==!0&&tt.value.length!==0){const U=tt.value.map(W=>t.h("option",{value:W,selected:!0}));C.push(t.h("select",{class:"hidden",name:X.value,multiple:e.multiple},U))}const I=e.useInput===!0||q!==!0?void 0:f.splitAttrs.attributes.value;return t.h("div",{class:"q-field__native row items-center",...I,...f.splitAttrs.listeners.value},C)},getInnerAppend:()=>e.loading!==!0&&c.value!==!0&&e.hideDropdownIcon!==!0?[t.h(pe,{class:"q-select__dropdown-icon"+(u.value===!0?" rotate-180":""),name:Ne.value})]:null}),hn(f)}}),Ji={class:"app-select__amount"},eu=t.defineComponent({__name:"AppSelect",props:{modelValue:{},size:{default:he.MD},options:{},multiple:{type:Boolean},label:{},placeholder:{},required:{type:Boolean},clearable:{type:Boolean},disabled:{type:Boolean},loading:{type:Boolean},filtering:{type:Boolean},autofocus:{type:Boolean},rules:{},lazyRules:{type:[Boolean,String]}},emits:["update:modelValue"],setup(e,{emit:l}){const n=e,o=l,i=t.ref(!1),u=t.ref(""),r=t.computed({get(){return n.modelValue},set(d){o("update:modelValue",d)}}),s=t.computed(()=>{var d;if(Array.isArray(r.value)){if(n.multiple&&r.value.length==0)return n.placeholder}else return((d=r.value)==null?void 0:d.label)||n.placeholder||"";return""}),h=t.computed(()=>!(!n.clearable||!n.modelValue||n.modelValue&&Array.isArray(n.modelValue)&&!n.modelValue.length)),g=t.computed(()=>u.value?n.options.filter(d=>d.label.toLowerCase().includes(u.value.toLowerCase())):n.options),c=t.computed(()=>{if(n.rules)return n.required?[...n.rules,gl]:n.rules;if(n.required)return[gl]}),b=()=>{r.value=void 0},v=(d,m)=>{m(()=>{u.value=d})};return(d,m)=>(t.openBlock(),t.createBlock(t.unref(an),null,{default:t.withCtx(()=>[t.createElementVNode("div",{class:t.normalizeClass(["app-select",[{"app-select_opened":i.value},`app-select_${d.size}`]])},[d.label?(t.openBlock(),t.createElementBlock("label",{key:0,class:t.normalizeClass(["app-select__label",{"app-select__label_bold":d.required}])},t.toDisplayString(d.required?`${d.label} *`:d.label),3)):t.createCommentVNode("",!0),t.createVNode(t.unref(Zi),{standout:"","hide-bottom-space":"","hide-dropdown-icon":"","no-error-icon":"",behavior:"menu","popup-content-class":`app-select-menu app-select-menu_${d.size}`,placeholder:d.filtering&&"Почніть вводити","input-debounce":"50",modelValue:r.value,"onUpdate:modelValue":m[0]||(m[0]=x=>r.value=x),options:g.value,multiple:d.multiple,"use-input":d.filtering&&(Array.isArray(r.value)||!r.value),rules:c.value,"lazy-rules":d.lazyRules,autofocus:d.autofocus,disable:d.disabled,loading:d.loading,onFilter:v,onPopupShow:m[1]||(m[1]=x=>i.value=!0),onPopupHide:m[2]||(m[2]=x=>i.value=!1)},{append:t.withCtx(()=>[h.value?(t.openBlock(),t.createElementBlock("i",{key:0,class:"icon-kl icon-kl-close app-select__clear",onClick:t.withModifiers(b,["stop","prevent"])})):t.createCommentVNode("",!0),m[3]||(m[3]=t.createElementVNode("i",{class:"icon-kl icon-kl-arrow-down app-select__drop-icon"},null,-1))]),selected:t.withCtx(()=>{var x,p;return[Array.isArray(r.value)?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[!d.filtering||r.value.length?(t.openBlock(),t.createElementBlock("span",{key:0,class:t.normalizeClass(["app-select__selected",{"app-select__placeholder":!((x=r.value)!=null&&x.length)&&d.placeholder}])},[(p=r.value)!=null&&p.length?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[m[4]||(m[4]=t.createTextVNode(" Вибрано ")),t.createElementVNode("span",Ji,t.toDisplayString(r.value.length),1)],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode(t.toDisplayString(n.placeholder),1)],64))],2)):t.createCommentVNode("",!0)],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[!d.filtering||r.value?(t.openBlock(),t.createElementBlock("span",{key:0,class:t.normalizeClass(["app-select__selected",{"app-select__placeholder":!r.value&&d.placeholder}])},t.toDisplayString(s.value),3)):t.createCommentVNode("",!0)],64))]}),option:t.withCtx(x=>[t.createVNode(cn,t.mergeProps({class:["app-select__option",{"app-select__option_selected":x.selected}]},x.itemProps),{default:t.withCtx(()=>[n.multiple?(t.openBlock(),t.createBlock(ct,{key:0,class:"option-multiple",avatar:""},{default:t.withCtx(()=>[t.createVNode(jo,{size:"30px","model-value":x.selected,"onUpdate:modelValue":()=>x.toggleOption(x.opt)},null,8,["model-value","onUpdate:modelValue"])]),_:2},1024)):t.createCommentVNode("",!0),x.opt.done?(t.openBlock(),t.createBlock(ct,{key:1,class:"option-done",avatar:""},{default:t.withCtx(()=>m[5]||(m[5]=[t.createElementVNode("i",{class:"icon-kl icon-kl-check option-done__icon"},null,-1)])),_:1})):t.createCommentVNode("",!0),t.createVNode(ct,null,{default:t.withCtx(()=>[t.createVNode(sn,null,{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(x.opt.label),1)]),_:2},1024)]),_:2},1024)]),_:2},1040,["class"])]),_:1},8,["popup-content-class","placeholder","modelValue","options","multiple","use-input","rules","lazy-rules","autofocus","disable","loading"])],2)]),_:1}))}}),tu=Dt(eu,[["__scopeId","data-v-281b5932"]]);exports.AppButton=nn;exports.AppButtonCopy=Lo;exports.AppIcon=Wn;exports.AppSelect=tu;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const p=require("./index-DMWwOLS3.cjs");require("vue");exports.AppButton=p.AppButton;exports.AppButtonCopy=p.AppButtonCopy;exports.AppIcon=p.AppIcon;exports.AppSelect=p.AppSelect;