shared-ritm 1.0.23 → 1.0.25

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.
Files changed (49) hide show
  1. package/dist/index.css +1 -1
  2. package/dist/shared-ritm.es.js +5511 -3327
  3. package/dist/shared-ritm.umd.js +7 -7
  4. package/dist/types/index.d.ts +4 -1
  5. package/package.json +1 -1
  6. package/src/App.vue +105 -1
  7. package/src/common/app-icon/AppIcon.vue +104 -0
  8. package/src/common/app-input/AppInput.vue +21 -61
  9. package/src/common/app-input-search/AppInputSearch.vue +168 -0
  10. package/src/common/app-layout/components/AppLayoutHeader.vue +2 -2
  11. package/src/common/app-page-layout/AppPageLayout.vue +122 -0
  12. package/src/common/app-sidebar/AppSidebar.vue +2 -2
  13. package/src/common/app-sidebar/components/SidebarMenuItem.vue +3 -3
  14. package/src/common/app-toggle/index.vue +23 -0
  15. package/src/icons/components/arrow-down-icon.vue +25 -0
  16. package/src/icons/components/arrow-frame-icon.vue +19 -0
  17. package/src/icons/components/arrow-square.vue +22 -0
  18. package/src/icons/sidebar/assign-module-icon.vue +36 -0
  19. package/src/icons/sidebar/instrument-history-icon.vue +32 -0
  20. package/src/icons/sidebar/instrument-order-icon.vue +38 -0
  21. package/src/icons/sidebar/instrument-work-zone-icon.vue +18 -0
  22. package/src/icons/sidebar/instruments-icon.vue +45 -0
  23. package/src/icons/sidebar/logo-icon.vue +15 -0
  24. package/src/icons/sidebar/logout-icon.vue +13 -0
  25. package/src/icons/sidebar/modules-icon.vue +16 -0
  26. package/src/icons/sidebar/notifications-icon.vue +24 -0
  27. package/src/icons/sidebar/order-icon.vue +44 -0
  28. package/src/icons/sidebar/pass-icon.vue +38 -0
  29. package/src/icons/sidebar/positions-icon.vue +42 -0
  30. package/src/icons/sidebar/preorder-icon.vue +19 -0
  31. package/src/icons/sidebar/projects-icon.vue +31 -0
  32. package/src/icons/sidebar/repair-object-icon.vue +18 -0
  33. package/src/icons/sidebar/repairs-icon.vue +20 -0
  34. package/src/icons/sidebar/roles-icon.vue +26 -0
  35. package/src/icons/sidebar/status-history-icon.vue +24 -0
  36. package/src/icons/sidebar/tasks-icon.vue +28 -0
  37. package/src/icons/sidebar/tasks_tasks-icon.vue +39 -0
  38. package/src/icons/sidebar/tasks_today-icon.vue +27 -0
  39. package/src/icons/sidebar/teams-icon.vue +32 -0
  40. package/src/icons/sidebar/user-icon.vue +18 -0
  41. package/src/icons/sidebar/users-icon.vue +46 -0
  42. package/src/icons/sidebar/videosources-icon.vue +19 -0
  43. package/src/icons/sidebar/videowall-icon.vue +13 -0
  44. package/src/icons/sidebar/videozones-icon.vue +21 -0
  45. package/src/icons/sidebar/warehouses-icon.vue +43 -0
  46. package/src/icons/sidebar/workshop-icon.vue +100 -0
  47. package/src/icons/sidebar/workzones-icon.vue +22 -0
  48. package/src/index.ts +4 -2
  49. package/src/common/app-test-button/AppTestButton.vue +0 -11
@@ -1,7 +1,7 @@
1
- (function(te,r){typeof exports=="object"&&typeof module<"u"?r(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],r):(te=typeof globalThis<"u"?globalThis:te||self,r(te.SharedRitm={},te.Vue))})(this,function(te,r){"use strict";var _u=Object.defineProperty;var Cu=(te,r,Be)=>r in te?_u(te,r,{enumerable:!0,configurable:!0,writable:!0,value:Be}):te[r]=Be;var ql=(te,r,Be)=>Cu(te,typeof r!="symbol"?r+"":r,Be);var Be=document.createElement("style");Be.textContent=`._wrapper_1g76t_1{flex:0 0 auto}._wrapper_1g76t_1.q-btn--rounded{border-radius:14px}._wrapper_1g76t_1.q-btn{color:#0a1629;font-size:16px;font-style:normal;font-weight:700}._wrapper_1g76t_1.--loading span:has(>svg){overflow:hidden}._wrapper_1g76t_1 .q-icon{font-size:1.2em}._wrapper_1g76t_1.--large-icon .q-icon{font-size:1.715em}._wrapper_1g76t_1.--full-width{width:100%}._wrapper_1g76t_1.--link{padding:0 8px;display:inline;min-height:unset;font-size:inherit;text-decoration:underline}._app-input_8jwo9_1.q-field--outlined .q-field__control{border-radius:14px;height:48px;align-items:center;padding:0 16px;color:#87caff}._app-input_8jwo9_1 .q-field__control-container{margin-left:8px}@media (max-width: 1440px){._app-input_8jwo9_1.q-field--outlined .q-field__control{height:40px;padding:0 12px}._app-input_8jwo9_1 .q-field__control-container{margin-left:6px}}._layout_1hhwj_1{position:relative;background:linear-gradient(235deg,#87caff 9.16%,#5386d3 45.8%,#0b3f8e 92.27%)}._loader-backdrop_1hhwj_6{width:100%;height:100%;background-color:#ffffff73;position:absolute;z-index:9999}._loader-spinner_1hhwj_13{position:absolute;top:50%;left:50%;z-index:2}._wrap_n46gp_1{position:relative}._wrap_n46gp_1.--option-tree{cursor:pointer}._select_n46gp_8.q-field--outlined.q-field--rounded .q-field__control{border-radius:14px}._select_n46gp_8.q-field--outlined .q-field__control:before{border-color:var(--0a94557a)}._select_n46gp_8.q-select .q-field__input{padding:0 6px}._select_n46gp_8.q-field--outlined .q-item{color:#1d1d1d;position:absolute;padding:0 4px;top:18px;left:0}._append-wrapper_n46gp_25{display:flex;align-items:center;column-gap:4px}._menu-wrap_n46gp_31{padding:8px}._search-wrapper_n46gp_35{position:sticky;top:0;padding:4px;background:var(--main-bg);z-index:1}._app-select__menu_n46gp_43{border-radius:14px}._app-select__menu_n46gp_43 ._q-item__label_n46gp_46{word-break:break-word}._app-select__menu_n46gp_43.q-menu{max-height:200px!important}.app-wrapper[data-v-6bd37b8f]{width:100%;height:100%;margin:20px 0;padding:30px;border-radius:24px;background:#fff;box-shadow:0 6px 58px #00317a1a}@media (max-width: 1440px){.app-wrapper[data-v-6bd37b8f]{margin:10px 0;padding:14px;border-radius:14px}}
2
- /*$vite$:1*/`,document.head.appendChild(Be);function xt(e,t,n,o){return Object.defineProperty(e,t,{get:n,set:o,enumerable:!0}),e}function re(e){return r.markRaw(r.defineComponent(e))}function Rl(e){return r.markRaw(e)}function ge(e,t){return e!==void 0&&e()||t}function Bl(e,t){if(e!==void 0){const n=e();if(n!=null)return n.slice()}return t}function Te(e,t){return e!==void 0?t.concat(e()):t}function Al(e,t){return e===void 0?t:t!==void 0?t.concat(e()):e()}function Ol(e,t,n,o,l,i){t.key=o+l;const a=r.h(e,t,n);return l===!0?r.withDirectives(a,i()):a}const Pl=["top","middle","bottom"],Ml=re({name:"QBadge",props:{color:String,textColor:String,floating:Boolean,transparent:Boolean,multiLine:Boolean,outline:Boolean,rounded:Boolean,label:[Number,String],align:{type:String,validator:e=>Pl.includes(e)}},setup(e,{slots:t}){const n=r.computed(()=>e.align!==void 0?{verticalAlign:e.align}:null),o=r.computed(()=>{const l=e.outline===!0&&e.color||e.textColor;return`q-badge flex inline items-center no-wrap q-badge--${e.multiLine===!0?"multi":"single"}-line`+(e.outline===!0?" q-badge--outline":e.color!==void 0?` bg-${e.color}`:"")+(l!==void 0?` text-${l}`:"")+(e.floating===!0?" q-badge--floating":"")+(e.rounded===!0?" q-badge--rounded":"")+(e.transparent===!0?" q-badge--transparent":"")});return()=>r.h("div",{class:o.value,style:n.value,role:"status","aria-label":e.label},Te(t.default,e.label!==void 0?[e.label]:[]))}}),Ae=r.ref(!1);let on;function Ll(e,t){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:t[0]||""}}function Vl(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 po="ontouchstart"in window||window.navigator.maxTouchPoints>0;function $l(e){const t=e.toLowerCase(),n=Vl(t),o=Ll(t,n),l={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&&(l[o.browser]=!0,l.version=o.version,l.versionNumber=parseInt(o.version,10)),o.platform&&(l[o.platform]=!0);const i=l.android||l.ios||l.bb||l.blackberry||l.ipad||l.iphone||l.ipod||l.kindle||l.playbook||l.silk||l["windows phone"];if(i===!0||t.indexOf("mobile")!==-1?l.mobile=!0:l.desktop=!0,l["windows phone"]&&(l.winphone=!0,delete l["windows phone"]),l.edga||l.edgios||l.edg?(l.edge=!0,o.browser="edge"):l.crios?(l.chrome=!0,o.browser="chrome"):l.fxios&&(l.firefox=!0,o.browser="firefox"),(l.ipod||l.ipad||l.iphone)&&(l.ios=!0),l.vivaldi&&(o.browser="vivaldi",l.vivaldi=!0),(l.chrome||l.opr||l.safari||l.vivaldi||l.mobile===!0&&l.ios!==!0&&i!==!0)&&(l.webkit=!0),l.opr&&(o.browser="opera",l.opera=!0),l.safari&&(l.blackberry||l.bb?(o.browser="blackberry",l.blackberry=!0):l.playbook?(o.browser="playbook",l.playbook=!0):l.android?(o.browser="android",l.android=!0):l.kindle?(o.browser="kindle",l.kindle=!0):l.silk&&(o.browser="silk",l.silk=!0)),l.name=o.browser,l.platform=o.platform,t.indexOf("electron")!==-1)l.electron=!0;else if(document.location.href.indexOf("-extension://")!==-1)l.bex=!0;else{if(window.Capacitor!==void 0?(l.capacitor=!0,l.nativeMobile=!0,l.nativeMobileWrapper="capacitor"):(window._cordovaNative!==void 0||window.cordova!==void 0)&&(l.cordova=!0,l.nativeMobile=!0,l.nativeMobileWrapper="cordova"),Ae.value===!0&&(on={is:{...l}}),po===!0&&l.mac===!0&&(l.desktop===!0&&l.safari===!0||l.nativeMobile===!0&&l.android!==!0&&l.ios!==!0&&l.ipad!==!0)){delete l.mac,delete l.desktop;const a=Math.min(window.innerHeight,window.innerWidth)>414?"ipad":"iphone";Object.assign(l,{mobile:!0,ios:!0,platform:a,[a]:!0})}l.mobile!==!0&&window.navigator.userAgentData&&window.navigator.userAgentData.mobile&&(delete l.desktop,l.mobile=!0)}return l}const go=navigator.userAgent||navigator.vendor||window.opera,Fl={has:{touch:!1,webStorage:!1},within:{iframe:!1}},me={userAgent:go,is:$l(go),has:{touch:po},within:{iframe:window.self!==window.top}},rn={install(e){const{$q:t}=e;Ae.value===!0?(e.onSSRHydrated.push(()=>{Object.assign(t.platform,me),Ae.value=!1}),t.platform=r.reactive(this)):t.platform=this}};{let e;xt(me.has,"webStorage",()=>{if(e!==void 0)return e;try{if(window.localStorage)return e=!0,!0}catch{}return e=!1,!1}),Object.assign(rn,me),Ae.value===!0&&(Object.assign(rn,on,Fl),on=null)}function ln(){if(window.getSelection!==void 0){const e=window.getSelection();e.empty!==void 0?e.empty():e.removeAllRanges!==void 0&&(e.removeAllRanges(),rn.is.mobile!==!0&&e.addRange(document.createRange()))}else document.selection!==void 0&&document.selection.empty()}const se={hasPassive:!1,passiveCapture:!0,notPassiveCapture:!0};try{const e=Object.defineProperty({},"passive",{get(){Object.assign(se,{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 an(){}function vo(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 zl(e){if(e.path)return e.path;if(e.composedPath)return e.composedPath();const t=[];let n=e.target;for(;n;){if(t.push(n),n.tagName==="HTML")return t.push(document),t.push(window),t;n=n.parentElement}}function Se(e){e.stopPropagation()}function ye(e){e.cancelable!==!1&&e.preventDefault()}function ae(e){e.cancelable!==!1&&e.preventDefault(),e.stopPropagation()}function lt(e,t,n){const o=`__q_${t}_evt`;e[o]=e[o]!==void 0?e[o].concat(n):n,n.forEach(l=>{l[0].addEventListener(l[1],e[l[2]],se[l[3]])})}function kt(e,t){const n=`__q_${t}_evt`;e[n]!==void 0&&(e[n].forEach(o=>{o[0].removeEventListener(o[1],e[o[2]],se[o[3]])}),e[n]=void 0)}function sn(e){return e!==Object(e)||e.isComposing===!0||e.qKeyEvent===!0}function Oe(e,t){return sn(e)===!0?!1:[].concat(t).includes(e.keyCode)}const yo={target:{type:[Boolean,String,Element],default:!0},noParentEvent:Boolean},Il={...yo,contextMenu:Boolean};function bo({showing:e,avoidEmit:t,configureAnchorEl:n}){const{props:o,proxy:l,emit:i}=r.getCurrentInstance(),a=r.ref(null);let s=null;function d(v){return a.value===null?!1:v===void 0||v.touches===void 0||v.touches.length<=1}const c={};n===void 0&&(Object.assign(c,{hide(v){l.hide(v)},toggle(v){l.toggle(v),v.qAnchorHandled=!0},toggleKey(v){Oe(v,13)===!0&&c.toggle(v)},contextClick(v){l.hide(v),ye(v),r.nextTick(()=>{l.show(v),v.qAnchorHandled=!0})},prevent:ye,mobileTouch(v){if(c.mobileCleanup(v),d(v)!==!0)return;l.hide(v),a.value.classList.add("non-selectable");const p=v.target;lt(c,"anchor",[[p,"touchmove","mobileCleanup","passive"],[p,"touchend","mobileCleanup","passive"],[p,"touchcancel","mobileCleanup","passive"],[a.value,"contextmenu","prevent","notPassive"]]),s=setTimeout(()=>{s=null,l.show(v),v.qAnchorHandled=!0},300)},mobileCleanup(v){a.value.classList.remove("non-selectable"),s!==null&&(clearTimeout(s),s=null),e.value===!0&&v!==void 0&&ln()}}),n=function(v=o.contextMenu){if(o.noParentEvent===!0||a.value===null)return;let p;v===!0?l.$q.platform.is.mobile===!0?p=[[a.value,"touchstart","mobileTouch","passive"]]:p=[[a.value,"mousedown","hide","passive"],[a.value,"contextmenu","contextClick","notPassive"]]:p=[[a.value,"click","toggle","passive"],[a.value,"keyup","toggleKey","passive"]],lt(c,"anchor",p)});function u(){kt(c,"anchor")}function m(v){for(a.value=v;a.value.classList.contains("q-anchor--skip");)a.value=a.value.parentNode;n()}function y(){if(o.target===!1||o.target===""||l.$el.parentNode===null)a.value=null;else if(o.target===!0)m(l.$el.parentNode);else{let v=o.target;if(typeof o.target=="string")try{v=document.querySelector(o.target)}catch{v=void 0}v!=null?(a.value=v.$el||v,n()):(a.value=null,console.error(`Anchor: target "${o.target}" not found`))}}return r.watch(()=>o.contextMenu,v=>{a.value!==null&&(u(),n(v))}),r.watch(()=>o.target,()=>{a.value!==null&&u(),y()}),r.watch(()=>o.noParentEvent,v=>{a.value!==null&&(v===!0?u():n())}),r.onMounted(()=>{y(),t!==!0&&o.modelValue===!0&&a.value===null&&i("update:modelValue",!1)}),r.onBeforeUnmount(()=>{s!==null&&clearTimeout(s),u()}),{anchorEl:a,canShow:d,anchorEvents:c}}function wo(e,t){const n=r.ref(null);let o;function l(s,d){const c=`${d!==void 0?"add":"remove"}EventListener`,u=d!==void 0?d:o;s!==window&&s[c]("scroll",u,se.passive),window[c]("scroll",u,se.passive),o=d}function i(){n.value!==null&&(l(n.value),n.value=null)}const a=r.watch(()=>e.noParentEvent,()=>{n.value!==null&&(i(),t())});return r.onBeforeUnmount(a),{localScrollTarget:n,unconfigureScrollTarget:i,changeScrollEvent:l}}function un(e){if(Object(e.$parent)===e.$parent)return e.$parent;let{parent:t}=e.$;for(;Object(t)===t;){if(Object(t.proxy)===t.proxy)return t.proxy;t=t.parent}}function So(e){return e.appContext.config.globalProperties.$router!==void 0}function xo(e){return e.isUnmounted===!0||e.isDeactivated===!0}const cn={modelValue:{type:Boolean,default:null},"onUpdate:modelValue":[Function,Array]},dn=["beforeShow","show","beforeHide","hide"];function fn({showing:e,canShow:t,hideOnRouteChange:n,handleShow:o,handleHide:l,processOnMount:i}){const a=r.getCurrentInstance(),{props:s,emit:d,proxy:c}=a;let u;function m(C){e.value===!0?p(C):y(C)}function y(C){if(s.disable===!0||C!==void 0&&C.qAnchorHandled===!0||t!==void 0&&t(C)!==!0)return;const T=s["onUpdate:modelValue"]!==void 0;T===!0&&(d("update:modelValue",!0),u=C,r.nextTick(()=>{u===C&&(u=void 0)})),(s.modelValue===null||T===!1)&&v(C)}function v(C){e.value!==!0&&(e.value=!0,d("beforeShow",C),o!==void 0?o(C):d("show",C))}function p(C){if(s.disable===!0)return;const T=s["onUpdate:modelValue"]!==void 0;T===!0&&(d("update:modelValue",!1),u=C,r.nextTick(()=>{u===C&&(u=void 0)})),(s.modelValue===null||T===!1)&&k(C)}function k(C){e.value!==!1&&(e.value=!1,d("beforeHide",C),l!==void 0?l(C):d("hide",C))}function h(C){s.disable===!0&&C===!0?s["onUpdate:modelValue"]!==void 0&&d("update:modelValue",!1):C===!0!==e.value&&(C===!0?v:k)(u)}r.watch(()=>s.modelValue,h),n!==void 0&&So(a)===!0&&r.watch(()=>c.$route.fullPath,()=>{n.value===!0&&e.value===!0&&p()}),i===!0&&r.onMounted(()=>{h(s.modelValue)});const P={show:y,hide:p,toggle:m};return Object.assign(c,P),P}let Pe=[],it=[];function ko(e){it=it.filter(t=>t!==e)}function Nl(e){ko(e),it.push(e)}function _o(e){ko(e),it.length===0&&Pe.length!==0&&(Pe[Pe.length-1](),Pe=[])}function _t(e){it.length===0?e():Pe.push(e)}function Dl(e){Pe=Pe.filter(t=>t!==e)}const Co={};let Hl=1,jl=document.body;function Ul(e,t){const n=document.createElement("div");if(n.id=t!==void 0?`q-portal--${t}--${Hl++}`:e,Co.globalNodes!==void 0){const o=Co.globalNodes.class;o!==void 0&&(n.className=o)}return jl.appendChild(n),n}function Wl(e){e.remove()}const at=[];function Kl(e,t){do{if(e.$options.name==="QMenu"){if(e.hide(t),e.$props.separateClosePopup===!0)return un(e)}else if(e.__qPortal===!0){const n=un(e);return n!==void 0&&n.$options.name==="QPopupProxy"?(e.hide(t),n):e}e=un(e)}while(e!=null)}const Ql=re({name:"QPortal",setup(e,{slots:t}){return()=>t.default()}});function Jl(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 mn(e,t,n,o){const l=r.ref(!1),i=r.ref(!1);let a=null;const s={},d=o==="dialog"&&Jl(e);function c(m){if(m===!0){_o(s),i.value=!0;return}i.value=!1,l.value===!1&&(d===!1&&a===null&&(a=Ul(!1,o)),l.value=!0,at.push(e.proxy),Nl(s))}function u(m){if(i.value=!1,m!==!0)return;_o(s),l.value=!1;const y=at.indexOf(e.proxy);y!==-1&&at.splice(y,1),a!==null&&(Wl(a),a=null)}return r.onUnmounted(()=>{u(!0)}),e.proxy.__qPortal=!0,xt(e.proxy,"contentEl",()=>t.value),{showPortal:c,hidePortal:u,portalIsActive:l,portalIsAccessible:i,renderPortal:()=>d===!0?n():l.value===!0?[r.h(r.Teleport,{to:a},r.h(Ql,n))]:void 0}}const st={transitionShow:{type:String,default:"fade"},transitionHide:{type:String,default:"fade"},transitionDuration:{type:[String,Number],default:300}};function hn(e,t=()=>{},n=()=>{}){return{transitionProps:r.computed(()=>{const o=`q-transition--${e.transitionShow||t()}`,l=`q-transition--${e.transitionHide||n()}`;return{appear:!0,enterFromClass:`${o}-enter-from`,enterActiveClass:`${o}-enter-active`,enterToClass:`${o}-enter-to`,leaveFromClass:`${l}-leave-from`,leaveActiveClass:`${l}-leave-active`,leaveToClass:`${l}-leave-to`}}),transitionStyle:r.computed(()=>`--q-transition-duration: ${e.transitionDuration}ms`)}}function pn(){let e;const t=r.getCurrentInstance();function n(){e=void 0}return r.onDeactivated(n),r.onBeforeUnmount(n),{removeTick:n,registerTick(o){e=o,r.nextTick(()=>{e===o&&(xo(t)===!1&&e(),e=void 0)})}}}function gn(){let e=null;const t=r.getCurrentInstance();function n(){e!==null&&(clearTimeout(e),e=null)}return r.onDeactivated(n),r.onBeforeUnmount(n),{removeTimeout:n,registerTimeout(o,l){n(),xo(t)===!1&&(e=setTimeout(()=>{e=null,o()},l))}}}function vn(e,t){const n=e.style;for(const o in t)n[o]=t[o]}function Xl(e){if(e==null)return;if(typeof e=="string")try{return document.querySelector(e)||void 0}catch{return}const t=r.unref(e);if(t)return t.$el||t}function Eo(e,t){if(e==null||e.contains(t)===!0)return!0;for(let n=e.nextElementSibling;n!==null;n=n.nextElementSibling)if(n.contains(t))return!0;return!1}const yn=[Element,String],Yl=[null,document,document.body,document.scrollingElement,document.documentElement];function bn(e,t){let n=Xl(t);if(n===void 0){if(e==null)return window;n=e.closest(".scroll,.scroll-y,.overflow-auto")}return Yl.includes(n)?window:n}function To(e){return e===window?window.pageYOffset||window.scrollY||document.body.scrollTop||0:e.scrollTop}function qo(e){return e===window?window.pageXOffset||window.scrollX||document.body.scrollLeft||0:e.scrollLeft}let Ct;function Et(){if(Ct!==void 0)return Ct;const e=document.createElement("p"),t=document.createElement("div");vn(e,{width:"100%",height:"200px"}),vn(t,{position:"absolute",top:"0px",left:"0px",visibility:"hidden",width:"200px",height:"150px",overflow:"hidden"}),t.appendChild(e),document.body.appendChild(t);const n=e.offsetWidth;t.style.overflow="scroll";let o=e.offsetWidth;return n===o&&(o=t.clientWidth),t.remove(),Ct=n-o,Ct}function Zl(e,t=!0){return!e||e.nodeType!==Node.ELEMENT_NODE?!1:t?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{notPassiveCapture:Tt}=se,Me=[];function qt(e){const t=e.target;if(t===void 0||t.nodeType===8||t.classList.contains("no-pointer-events")===!0)return;let n=at.length-1;for(;n>=0;){const o=at[n].$;if(o.type.name==="QTooltip"){n--;continue}if(o.type.name!=="QDialog")break;if(o.props.seamless!==!0)return;n--}for(let o=Me.length-1;o>=0;o--){const l=Me[o];if((l.anchorEl.value===null||l.anchorEl.value.contains(t)===!1)&&(t===document.body||l.innerRef.value!==null&&l.innerRef.value.contains(t)===!1))e.qClickOutside=!0,l.onClickOutside(e);else return}}function Ro(e){Me.push(e),Me.length===1&&(document.addEventListener("mousedown",qt,Tt),document.addEventListener("touchstart",qt,Tt))}function Rt(e){const t=Me.findIndex(n=>n===e);t!==-1&&(Me.splice(t,1),Me.length===0&&(document.removeEventListener("mousedown",qt,Tt),document.removeEventListener("touchstart",qt,Tt)))}let Bo,Ao;function Bt(e){const t=e.split(" ");return t.length!==2?!1:["top","center","bottom"].includes(t[0])!==!0?(console.error("Anchor/Self position must start with one of top/center/bottom"),!1):["left","middle","right","start","end"].includes(t[1])!==!0?(console.error("Anchor/Self position must end with one of left/middle/right/start/end"),!1):!0}function Oo(e){return e?!(e.length!==2||typeof e[0]!="number"||typeof e[1]!="number"):!0}const wn={"start#ltr":"left","start#rtl":"right","end#ltr":"right","end#rtl":"left"};["left","middle","right"].forEach(e=>{wn[`${e}#ltr`]=e,wn[`${e}#rtl`]=e});function At(e,t){const n=e.split(" ");return{vertical:n[0],horizontal:wn[`${n[1]}#${t===!0?"rtl":"ltr"}`]}}function Gl(e,t){let{top:n,left:o,right:l,bottom:i,width:a,height:s}=e.getBoundingClientRect();return t!==void 0&&(n-=t[1],o-=t[0],i+=t[1],l+=t[0],a+=t[0],s+=t[1]),{top:n,bottom:i,height:s,left:o,right:l,width:a,middle:o+(l-o)/2,center:n+(i-n)/2}}function ei(e,t,n){let{top:o,left:l}=e.getBoundingClientRect();return o+=t.top,l+=t.left,n!==void 0&&(o+=n[1],l+=n[0]),{top:o,bottom:o+1,height:1,left:l,right:l+1,width:1,middle:l,center:o}}function ti(e,t){return{top:0,center:t/2,bottom:t,left:0,middle:e/2,right:e}}function Po(e,t,n,o){return{top:e[n.vertical]-t[o.vertical],left:e[n.horizontal]-t[o.horizontal]}}function Sn(e,t=0){if(e.targetEl===null||e.anchorEl===null||t>5)return;if(e.targetEl.offsetHeight===0||e.targetEl.offsetWidth===0){setTimeout(()=>{Sn(e,t+1)},10);return}const{targetEl:n,offset:o,anchorEl:l,anchorOrigin:i,selfOrigin:a,absoluteOffset:s,fit:d,cover:c,maxHeight:u,maxWidth:m}=e;if(me.is.ios===!0&&window.visualViewport!==void 0){const B=document.body.style,{offsetLeft:O,offsetTop:N}=window.visualViewport;O!==Bo&&(B.setProperty("--q-pe-left",O+"px"),Bo=O),N!==Ao&&(B.setProperty("--q-pe-top",N+"px"),Ao=N)}const{scrollLeft:y,scrollTop:v}=n,p=s===void 0?Gl(l,c===!0?[0,0]:o):ei(l,s,o);Object.assign(n.style,{top:0,left:0,minWidth:null,minHeight:null,maxWidth:m,maxHeight:u,visibility:"visible"});const{offsetWidth:k,offsetHeight:h}=n,{elWidth:P,elHeight:C}=d===!0||c===!0?{elWidth:Math.max(p.width,k),elHeight:c===!0?Math.max(p.height,h):h}:{elWidth:k,elHeight:h};let T={maxWidth:m,maxHeight:u};(d===!0||c===!0)&&(T.minWidth=p.width+"px",c===!0&&(T.minHeight=p.height+"px")),Object.assign(n.style,T);const R=ti(P,C);let _=Po(p,R,i,a);if(s===void 0||o===void 0)xn(_,p,R,i,a);else{const{top:B,left:O}=_;xn(_,p,R,i,a);let N=!1;if(_.top!==B){N=!0;const S=2*o[1];p.center=p.top-=S,p.bottom-=S+2}if(_.left!==O){N=!0;const S=2*o[0];p.middle=p.left-=S,p.right-=S+2}N===!0&&(_=Po(p,R,i,a),xn(_,p,R,i,a))}T={top:_.top+"px",left:_.left+"px"},_.maxHeight!==void 0&&(T.maxHeight=_.maxHeight+"px",p.height>_.maxHeight&&(T.minHeight=T.maxHeight)),_.maxWidth!==void 0&&(T.maxWidth=_.maxWidth+"px",p.width>_.maxWidth&&(T.minWidth=T.maxWidth)),Object.assign(n.style,T),n.scrollTop!==v&&(n.scrollTop=v),n.scrollLeft!==y&&(n.scrollLeft=y)}function xn(e,t,n,o,l){const i=n.bottom,a=n.right,s=Et(),d=window.innerHeight-s,c=document.body.clientWidth;if(e.top<0||e.top+i>d)if(l.vertical==="center")e.top=t[o.vertical]>d/2?Math.max(0,d-i):0,e.maxHeight=Math.min(i,d);else if(t[o.vertical]>d/2){const u=Math.min(d,o.vertical==="center"?t.center:o.vertical===l.vertical?t.bottom:t.top);e.maxHeight=Math.min(i,u),e.top=Math.max(0,u-i)}else e.top=Math.max(0,o.vertical==="center"?t.center:o.vertical===l.vertical?t.top:t.bottom),e.maxHeight=Math.min(i,d-e.top);if(e.left<0||e.left+a>c)if(e.maxWidth=Math.min(a,c),l.horizontal==="middle")e.left=t[o.horizontal]>c/2?Math.max(0,c-a):0;else if(t[o.horizontal]>c/2){const u=Math.min(c,o.horizontal==="middle"?t.middle:o.horizontal===l.horizontal?t.right:t.left);e.maxWidth=Math.min(a,u),e.left=Math.max(0,u-e.maxWidth)}else e.left=Math.max(0,o.horizontal==="middle"?t.middle:o.horizontal===l.horizontal?t.left:t.right),e.maxWidth=Math.min(a,c-e.left)}const ni=re({name:"QTooltip",inheritAttrs:!1,props:{...yo,...cn,...st,maxHeight:{type:String,default:null},maxWidth:{type:String,default:null},transitionShow:{...st.transitionShow,default:"jump-down"},transitionHide:{...st.transitionHide,default:"jump-up"},anchor:{type:String,default:"bottom middle",validator:Bt},self:{type:String,default:"top middle",validator:Bt},offset:{type:Array,default:()=>[14,14],validator:Oo},scrollTarget:yn,delay:{type:Number,default:0},hideDelay:{type:Number,default:0},persistent:Boolean},emits:[...dn],setup(e,{slots:t,emit:n,attrs:o}){let l,i;const a=r.getCurrentInstance(),{proxy:{$q:s}}=a,d=r.ref(null),c=r.ref(!1),u=r.computed(()=>At(e.anchor,s.lang.rtl)),m=r.computed(()=>At(e.self,s.lang.rtl)),y=r.computed(()=>e.persistent!==!0),{registerTick:v,removeTick:p}=pn(),{registerTimeout:k}=gn(),{transitionProps:h,transitionStyle:P}=hn(e),{localScrollTarget:C,changeScrollEvent:T,unconfigureScrollTarget:R}=wo(e,X),{anchorEl:_,canShow:B,anchorEvents:O}=bo({showing:c,configureAnchorEl:U}),{show:N,hide:S}=fn({showing:c,canShow:B,handleShow:j,handleHide:q,hideOnRouteChange:y,processOnMount:!0});Object.assign(O,{delayShow:K,delayHide:V});const{showPortal:E,hidePortal:L,renderPortal:x}=mn(a,d,g,"tooltip");if(s.platform.is.mobile===!0){const M={anchorEl:_,innerRef:d,onClickOutside(Q){return S(Q),Q.target.classList.contains("q-dialog__backdrop")&&ae(Q),!0}},W=r.computed(()=>e.modelValue===null&&e.persistent!==!0&&c.value===!0);r.watch(W,Q=>{(Q===!0?Ro:Rt)(M)}),r.onBeforeUnmount(()=>{Rt(M)})}function j(M){E(),v(()=>{i=new MutationObserver(()=>D()),i.observe(d.value,{attributes:!1,childList:!0,characterData:!0,subtree:!0}),D(),X()}),l===void 0&&(l=r.watch(()=>s.screen.width+"|"+s.screen.height+"|"+e.self+"|"+e.anchor+"|"+s.lang.rtl,D)),k(()=>{E(!0),n("show",M)},e.transitionDuration)}function q(M){p(),L(),H(),k(()=>{L(!0),n("hide",M)},e.transitionDuration)}function H(){i!==void 0&&(i.disconnect(),i=void 0),l!==void 0&&(l(),l=void 0),R(),kt(O,"tooltipTemp")}function D(){Sn({targetEl:d.value,offset:e.offset,anchorEl:_.value,anchorOrigin:u.value,selfOrigin:m.value,maxHeight:e.maxHeight,maxWidth:e.maxWidth})}function K(M){if(s.platform.is.mobile===!0){ln(),document.body.classList.add("non-selectable");const W=_.value,Q=["touchmove","touchcancel","touchend","click"].map(A=>[W,A,"delayHide","passiveCapture"]);lt(O,"tooltipTemp",Q)}k(()=>{N(M)},e.delay)}function V(M){s.platform.is.mobile===!0&&(kt(O,"tooltipTemp"),ln(),setTimeout(()=>{document.body.classList.remove("non-selectable")},10)),k(()=>{S(M)},e.hideDelay)}function U(){if(e.noParentEvent===!0||_.value===null)return;const M=s.platform.is.mobile===!0?[[_.value,"touchstart","delayShow","passive"]]:[[_.value,"mouseenter","delayShow","passive"],[_.value,"mouseleave","delayHide","passive"]];lt(O,"anchor",M)}function X(){if(_.value!==null||e.scrollTarget!==void 0){C.value=bn(_.value,e.scrollTarget);const M=e.noParentEvent===!0?D:S;T(C.value,M)}}function b(){return c.value===!0?r.h("div",{...o,ref:d,class:["q-tooltip q-tooltip--style q-position-engine no-pointer-events",o.class],style:[o.style,P.value],role:"tooltip"},ge(t.default)):null}function g(){return r.h(r.Transition,h.value,b)}return r.onBeforeUnmount(H),Object.assign(a.proxy,{updatePosition:D}),x}}),kn={xs:18,sm:24,md:32,lg:38,xl:46},_n={size:String};function Cn(e,t=kn){return r.computed(()=>e.size!==void 0?{fontSize:e.size in t?`${t[e.size]}px`:e.size}:null)}const Mo="0 0 24 24",Lo=e=>e,En=e=>`ionicons ${e}`,Vo={"mdi-":e=>`mdi ${e}`,"icon-":Lo,"bt-":e=>`bt ${e}`,"eva-":e=>`eva ${e}`,"ion-md":En,"ion-ios":En,"ion-logo":En,"iconfont ":Lo,"ti-":e=>`themify-icon ${e}`,"bi-":e=>`bootstrap-icons ${e}`},$o={o_:"-outlined",r_:"-round",s_:"-sharp"},Fo={sym_o_:"-outlined",sym_r_:"-rounded",sym_s_:"-sharp"},oi=new RegExp("^("+Object.keys(Vo).join("|")+")"),ri=new RegExp("^("+Object.keys($o).join("|")+")"),zo=new RegExp("^("+Object.keys(Fo).join("|")+")"),li=/^[Mm]\s?[-+]?\.?\d/,ii=/^img:/,ai=/^svguse:/,si=/^ion-/,ui=/^(fa-(classic|sharp|solid|regular|light|brands|duotone|thin)|[lf]a[srlbdk]?) /,Ce=re({name:"QIcon",props:{..._n,tag:{type:String,default:"i"},name:String,color:String,left:Boolean,right:Boolean},setup(e,{slots:t}){const{proxy:{$q:n}}=r.getCurrentInstance(),o=Cn(e),l=r.computed(()=>"q-icon"+(e.left===!0?" on-left":"")+(e.right===!0?" on-right":"")+(e.color!==void 0?` text-${e.color}`:"")),i=r.computed(()=>{let a,s=e.name;if(s==="none"||!s)return{none:!0};if(n.iconMapFn!==null){const u=n.iconMapFn(s);if(u!==void 0)if(u.icon!==void 0){if(s=u.icon,s==="none"||!s)return{none:!0}}else return{cls:u.cls,content:u.content!==void 0?u.content:" "}}if(li.test(s)===!0){const[u,m=Mo]=s.split("|");return{svg:!0,viewBox:m,nodes:u.split("&&").map(y=>{const[v,p,k]=y.split("@@");return r.h("path",{style:p,d:v,transform:k})})}}if(ii.test(s)===!0)return{img:!0,src:s.substring(4)};if(ai.test(s)===!0){const[u,m=Mo]=s.split("|");return{svguse:!0,src:u.substring(7),viewBox:m}}let d=" ";const c=s.match(oi);if(c!==null)a=Vo[c[1]](s);else if(ui.test(s)===!0)a=s;else if(si.test(s)===!0)a=`ionicons ion-${n.platform.is.ios===!0?"ios":"md"}${s.substring(3)}`;else if(zo.test(s)===!0){a="notranslate material-symbols";const u=s.match(zo);u!==null&&(s=s.substring(6),a+=Fo[u[1]]),d=s}else{a="notranslate material-icons";const u=s.match(ri);u!==null&&(s=s.substring(2),a+=$o[u[1]]),d=s}return{cls:a,content:d}});return()=>{const a={class:l.value,style:o.value,"aria-hidden":"true",role:"presentation"};return i.value.none===!0?r.h(e.tag,a,ge(t.default)):i.value.img===!0?r.h(e.tag,a,Te(t.default,[r.h("img",{src:i.value.src})])):i.value.svg===!0?r.h(e.tag,a,Te(t.default,[r.h("svg",{viewBox:i.value.viewBox||"0 0 24 24"},i.value.nodes)])):i.value.svguse===!0?r.h(e.tag,a,Te(t.default,[r.h("svg",{viewBox:i.value.viewBox},[r.h("use",{"xlink:href":i.value.src})])])):(i.value.cls!==void 0&&(a.class+=" "+i.value.cls),r.h(e.tag,a,Te(t.default,[i.value.content])))}}}),ci={size:{type:[String,Number],default:"1em"},color:String};function di(e){return{cSize:r.computed(()=>e.size in kn?`${kn[e.size]}px`:e.size),classes:r.computed(()=>"q-spinner"+(e.color?` text-${e.color}`:""))}}const Tn=re({name:"QSpinner",props:{...ci,thickness:{type:Number,default:5}},setup(e){const{cSize:t,classes:n}=di(e);return()=>r.h("svg",{class:n.value+" q-spinner-mat",width:t.value,height:t.value,viewBox:"25 25 50 50"},[r.h("circle",{class:"path",cx:"50",cy:"50",r:"20",fill:"none",stroke:"currentColor","stroke-width":e.thickness,"stroke-miterlimit":"10"})])}});function fi(e,t=250){let n=!1,o;return function(){return n===!1&&(n=!0,setTimeout(()=>{n=!1},t),o=e.apply(this,arguments)),o}}function Io(e,t,n,o){n.modifiers.stop===!0&&Se(e);const l=n.modifiers.color;let i=n.modifiers.center;i=i===!0||o===!0;const a=document.createElement("span"),s=document.createElement("span"),d=vo(e),{left:c,top:u,width:m,height:y}=t.getBoundingClientRect(),v=Math.sqrt(m*m+y*y),p=v/2,k=`${(m-v)/2}px`,h=i?k:`${d.left-c-p}px`,P=`${(y-v)/2}px`,C=i?P:`${d.top-u-p}px`;s.className="q-ripple__inner",vn(s,{height:`${v}px`,width:`${v}px`,transform:`translate3d(${h},${C},0) scale3d(.2,.2,1)`,opacity:0}),a.className=`q-ripple${l?" text-"+l:""}`,a.setAttribute("dir","ltr"),a.appendChild(s),t.appendChild(a);const T=()=>{a.remove(),clearTimeout(R)};n.abort.push(T);let R=setTimeout(()=>{s.classList.add("q-ripple__inner--enter"),s.style.transform=`translate3d(${k},${P},0) scale3d(1,1,1)`,s.style.opacity=.2,R=setTimeout(()=>{s.classList.remove("q-ripple__inner--enter"),s.classList.add("q-ripple__inner--leave"),s.style.opacity=0,R=setTimeout(()=>{a.remove(),n.abort.splice(n.abort.indexOf(T),1)},275)},250)},50)}function No(e,{modifiers:t,value:n,arg:o}){const l=Object.assign({},e.cfg.ripple,t,n);e.modifiers={early:l.early===!0,stop:l.stop===!0,center:l.center===!0,color:l.color||o,keyCodes:[].concat(l.keyCodes||13)}}const Do=Rl({name:"ripple",beforeMount(e,t){const n=t.instance.$.appContext.config.globalProperties.$q.config||{};if(n.ripple===!1)return;const o={cfg:n,enabled:t.value!==!1,modifiers:{},abort:[],start(l){o.enabled===!0&&l.qSkipRipple!==!0&&l.type===(o.modifiers.early===!0?"pointerdown":"click")&&Io(l,e,o,l.qKeyEvent===!0)},keystart:fi(l=>{o.enabled===!0&&l.qSkipRipple!==!0&&Oe(l,o.modifiers.keyCodes)===!0&&l.type===`key${o.modifiers.early===!0?"down":"up"}`&&Io(l,e,o,!0)},300)};No(o,t),e.__qripple=o,lt(o,"main",[[e,"pointerdown","start","passive"],[e,"click","start","passive"],[e,"keydown","keystart","passive"],[e,"keyup","keystart","passive"]])},updated(e,t){if(t.oldValue!==t.value){const n=e.__qripple;n!==void 0&&(n.enabled=t.value!==!1,n.enabled===!0&&Object(t.value)===t.value&&No(n,t))}},beforeUnmount(e){const t=e.__qripple;t!==void 0&&(t.abort.forEach(n=>{n()}),kt(t,"main"),delete e._qripple)}}),Ho={left:"start",center:"center",right:"end",between:"between",around:"around",evenly:"evenly",stretch:"stretch"},mi=Object.keys(Ho),hi={align:{type:String,validator:e=>mi.includes(e)}};function pi(e){return r.computed(()=>{const t=e.align===void 0?e.vertical===!0?"stretch":"left":e.align;return`${e.vertical===!0?"items":"justify"}-${Ho[t]}`})}function jo(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}function Uo(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function gi(e,t){for(const n in t){const o=t[n],l=e[n];if(typeof o=="string"){if(o!==l)return!1}else if(Array.isArray(l)===!1||l.length!==o.length||o.some((i,a)=>i!==l[a]))return!1}return!0}function Wo(e,t){return Array.isArray(t)===!0?e.length===t.length&&e.every((n,o)=>n===t[o]):e.length===1&&e[0]===t}function vi(e,t){return Array.isArray(e)===!0?Wo(e,t):Array.isArray(t)===!0?Wo(t,e):e===t}function yi(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(vi(e[n],t[n])===!1)return!1;return!0}const Ko={to:[String,Object],replace:Boolean,href:String,target:String,disable:Boolean},bi={...Ko,exact:Boolean,activeClass:{type:String,default:"q-router-link--active"},exactActiveClass:{type:String,default:"q-router-link--exact-active"}};function Qo({fallbackTag:e,useDisableForRouterLinkProps:t=!0}={}){const n=r.getCurrentInstance(),{props:o,proxy:l,emit:i}=n,a=So(n),s=r.computed(()=>o.disable!==!0&&o.href!==void 0),d=t===!0?r.computed(()=>a===!0&&o.disable!==!0&&s.value!==!0&&o.to!==void 0&&o.to!==null&&o.to!==""):r.computed(()=>a===!0&&s.value!==!0&&o.to!==void 0&&o.to!==null&&o.to!==""),c=r.computed(()=>d.value===!0?C(o.to):null),u=r.computed(()=>c.value!==null),m=r.computed(()=>s.value===!0||u.value===!0),y=r.computed(()=>o.type==="a"||m.value===!0?"a":o.tag||e||"div"),v=r.computed(()=>s.value===!0?{href:o.href,target:o.target}:u.value===!0?{href:c.value.href,target:o.target}:{}),p=r.computed(()=>{if(u.value===!1)return-1;const{matched:_}=c.value,{length:B}=_,O=_[B-1];if(O===void 0)return-1;const N=l.$route.matched;if(N.length===0)return-1;const S=N.findIndex(Uo.bind(null,O));if(S!==-1)return S;const E=jo(_[B-2]);return B>1&&jo(O)===E&&N[N.length-1].path!==E?N.findIndex(Uo.bind(null,_[B-2])):S}),k=r.computed(()=>u.value===!0&&p.value!==-1&&gi(l.$route.params,c.value.params)),h=r.computed(()=>k.value===!0&&p.value===l.$route.matched.length-1&&yi(l.$route.params,c.value.params)),P=r.computed(()=>u.value===!0?h.value===!0?` ${o.exactActiveClass} ${o.activeClass}`:o.exact===!0?"":k.value===!0?` ${o.activeClass}`:"":"");function C(_){try{return l.$router.resolve(_)}catch{}return null}function T(_,{returnRouterError:B,to:O=o.to,replace:N=o.replace}={}){if(o.disable===!0)return _.preventDefault(),Promise.resolve(!1);if(_.metaKey||_.altKey||_.ctrlKey||_.shiftKey||_.button!==void 0&&_.button!==0||o.target==="_blank")return Promise.resolve(!1);_.preventDefault();const S=l.$router[N===!0?"replace":"push"](O);return B===!0?S:S.then(()=>{}).catch(()=>{})}function R(_){if(u.value===!0){const B=O=>T(_,O);i("click",_,B),_.defaultPrevented!==!0&&B()}else i("click",_)}return{hasRouterLink:u,hasHrefLink:s,hasLink:m,linkTag:y,resolvedLink:c,linkIsActive:k,linkIsExactActive:h,linkClass:P,linkAttrs:v,getLink:C,navigateToRouterLink:T,navigateOnClick:R}}const Jo={none:0,xs:4,sm:8,md:16,lg:24,xl:32},wi={xs:8,sm:10,md:14,lg:20,xl:24},Si=["button","submit","reset"],xi=/[^\s]\/[^\s]/,ki=["flat","outline","push","unelevated"];function _i(e,t){return e.flat===!0?"flat":e.outline===!0?"outline":e.push===!0?"push":e.unelevated===!0?"unelevated":t}const Ci={...{..._n,...Ko,type:{type:String,default:"button"},label:[Number,String],icon:String,iconRight:String,...ki.reduce((e,t)=>(e[t]=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:{...hi.align,default:"center"},stack:Boolean,stretch:Boolean,loading:{type:Boolean,default:null},disable:Boolean},round:Boolean};function Ei(e){const t=Cn(e,wi),n=pi(e),{hasRouterLink:o,hasLink:l,linkTag:i,linkAttrs:a,navigateOnClick:s}=Qo({fallbackTag:"button"}),d=r.computed(()=>{const h=e.fab===!1&&e.fabMini===!1?t.value:{};return e.padding!==void 0?Object.assign({},h,{padding:e.padding.split(/\s+/).map(P=>P in Jo?Jo[P]+"px":P).join(" "),minWidth:"0",minHeight:"0"}):h}),c=r.computed(()=>e.rounded===!0||e.fab===!0||e.fabMini===!0),u=r.computed(()=>e.disable!==!0&&e.loading!==!0),m=r.computed(()=>u.value===!0?e.tabindex||0:-1),y=r.computed(()=>_i(e,"standard")),v=r.computed(()=>{const h={tabindex:m.value};return l.value===!0?Object.assign(h,a.value):Si.includes(e.type)===!0&&(h.type=e.type),i.value==="a"?(e.disable===!0?h["aria-disabled"]="true":h.href===void 0&&(h.role="button"),o.value!==!0&&xi.test(e.type)===!0&&(h.type=e.type)):e.disable===!0&&(h.disabled="",h["aria-disabled"]="true"),e.loading===!0&&e.percentage!==void 0&&Object.assign(h,{role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":e.percentage}),h}),p=r.computed(()=>{let h;e.color!==void 0?e.flat===!0||e.outline===!0?h=`text-${e.textColor||e.color}`:h=`bg-${e.color} text-${e.textColor||"white"}`:e.textColor&&(h=`text-${e.textColor}`);const P=e.round===!0?"round":`rectangle${c.value===!0?" q-btn--rounded":e.square===!0?" q-btn--square":""}`;return`q-btn--${y.value} q-btn--${P}`+(h!==void 0?" "+h:"")+(u.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":"")}),k=r.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:p,style:d,innerClasses:k,attributes:v,hasLink:l,linkTag:i,navigateOnClick:s,isActionable:u}}const{passiveCapture:ve}=se;let Ue=null,We=null,Ke=null;const Ti=re({name:"QBtn",props:{...Ci,percentage:Number,darkPercentage:Boolean,onTouchstart:[Function,Array]},emits:["click","keydown","mousedown","keyup"],setup(e,{slots:t,emit:n}){const{proxy:o}=r.getCurrentInstance(),{classes:l,style:i,innerClasses:a,attributes:s,hasLink:d,linkTag:c,navigateOnClick:u,isActionable:m}=Ei(e),y=r.ref(null),v=r.ref(null);let p=null,k,h=null;const P=r.computed(()=>e.label!==void 0&&e.label!==null&&e.label!==""),C=r.computed(()=>e.disable===!0||e.ripple===!1?!1:{keyCodes:d.value===!0?[13,32]:[13],...e.ripple===!0?{}:e.ripple}),T=r.computed(()=>({center:e.round})),R=r.computed(()=>{const q=Math.max(0,Math.min(100,e.percentage));return q>0?{transition:"transform 0.6s",transform:`translateX(${q-100}%)`}:{}}),_=r.computed(()=>{if(e.loading===!0)return{onMousedown:j,onTouchstart:j,onClick:j,onKeydown:j,onKeyup:j};if(m.value===!0){const q={onClick:O,onKeydown:N,onMousedown:E};if(o.$q.platform.has.touch===!0){const H=e.onTouchstart!==void 0?"":"Passive";q[`onTouchstart${H}`]=S}return q}return{onClick:ae}}),B=r.computed(()=>({ref:y,class:"q-btn q-btn-item non-selectable no-outline "+l.value,style:i.value,...s.value,..._.value}));function O(q){if(y.value!==null){if(q!==void 0){if(q.defaultPrevented===!0)return;const H=document.activeElement;if(e.type==="submit"&&H!==document.body&&y.value.contains(H)===!1&&H.contains(y.value)===!1){y.value.focus();const D=()=>{document.removeEventListener("keydown",ae,!0),document.removeEventListener("keyup",D,ve),y.value!==null&&y.value.removeEventListener("blur",D,ve)};document.addEventListener("keydown",ae,!0),document.addEventListener("keyup",D,ve),y.value.addEventListener("blur",D,ve)}}u(q)}}function N(q){y.value!==null&&(n("keydown",q),Oe(q,[13,32])===!0&&We!==y.value&&(We!==null&&x(),q.defaultPrevented!==!0&&(y.value.focus(),We=y.value,y.value.classList.add("q-btn--active"),document.addEventListener("keyup",L,!0),y.value.addEventListener("blur",L,ve)),ae(q)))}function S(q){y.value!==null&&(n("touchstart",q),q.defaultPrevented!==!0&&(Ue!==y.value&&(Ue!==null&&x(),Ue=y.value,p=q.target,p.addEventListener("touchcancel",L,ve),p.addEventListener("touchend",L,ve)),k=!0,h!==null&&clearTimeout(h),h=setTimeout(()=>{h=null,k=!1},200)))}function E(q){y.value!==null&&(q.qSkipRipple=k===!0,n("mousedown",q),q.defaultPrevented!==!0&&Ke!==y.value&&(Ke!==null&&x(),Ke=y.value,y.value.classList.add("q-btn--active"),document.addEventListener("mouseup",L,ve)))}function L(q){if(y.value!==null&&!(q!==void 0&&q.type==="blur"&&document.activeElement===y.value)){if(q!==void 0&&q.type==="keyup"){if(We===y.value&&Oe(q,[13,32])===!0){const H=new MouseEvent("click",q);H.qKeyEvent=!0,q.defaultPrevented===!0&&ye(H),q.cancelBubble===!0&&Se(H),y.value.dispatchEvent(H),ae(q),q.qKeyEvent=!0}n("keyup",q)}x()}}function x(q){const H=v.value;q!==!0&&(Ue===y.value||Ke===y.value)&&H!==null&&H!==document.activeElement&&(H.setAttribute("tabindex",-1),H.focus()),Ue===y.value&&(p!==null&&(p.removeEventListener("touchcancel",L,ve),p.removeEventListener("touchend",L,ve)),Ue=p=null),Ke===y.value&&(document.removeEventListener("mouseup",L,ve),Ke=null),We===y.value&&(document.removeEventListener("keyup",L,!0),y.value!==null&&y.value.removeEventListener("blur",L,ve),We=null),y.value!==null&&y.value.classList.remove("q-btn--active")}function j(q){ae(q),q.qSkipRipple=!0}return r.onBeforeUnmount(()=>{x(!0)}),Object.assign(o,{click:q=>{m.value===!0&&O(q)}}),()=>{let q=[];e.icon!==void 0&&q.push(r.h(Ce,{name:e.icon,left:e.stack!==!0&&P.value===!0,role:"img"})),P.value===!0&&q.push(r.h("span",{class:"block"},[e.label])),q=Te(t.default,q),e.iconRight!==void 0&&e.round===!1&&q.push(r.h(Ce,{name:e.iconRight,right:e.stack!==!0&&P.value===!0,role:"img"}));const H=[r.h("span",{class:"q-focus-helper",ref:v})];return e.loading===!0&&e.percentage!==void 0&&H.push(r.h("span",{class:"q-btn__progress absolute-full overflow-hidden"+(e.darkPercentage===!0?" q-btn__progress--dark":"")},[r.h("span",{class:"q-btn__progress-indicator fit block",style:R.value})])),H.push(r.h("span",{class:"q-btn__content text-center col items-center q-anchor--skip "+a.value},q)),e.loading!==null&&H.push(r.h(r.Transition,{name:"q-transition--fade"},()=>e.loading===!0?[r.h("span",{key:"loading",class:"absolute-full flex flex-center"},t.loading!==void 0?t.loading():[r.h(Tn)])]:null)),r.withDirectives(r.h(c.value,B.value,H),[[Do,C.value,void 0,T.value]])}}}),qi=r.defineComponent({__name:"AppButton",props:{disable:{type:[Boolean,Function]},tooltip:{},uppercase:{type:Boolean},xSmall:{type:Boolean},small:{type:Boolean},large:{type:Boolean},fullWidth:{type:Boolean},wrap:{type:Boolean},largeIcon:{type:Boolean},modelValue:{type:Boolean},badge:{type:[String,Boolean,Number]},badgeColor:{},badgeInline:{type:Boolean},link:{type:Boolean},size:{},type:{},to:{},replace:{type:Boolean},href:{},target:{},label:{},icon:{},iconRight:{},outline:{type:Boolean},flat:{type:Boolean},unelevated:{type:Boolean},rounded:{type:Boolean},push:{type:Boolean},square:{type:Boolean},glossy:{type:Boolean},fab:{type:Boolean},fabMini:{type:Boolean},padding:{},color:{},textColor:{},noCaps:{type:Boolean},noWrap:{type:Boolean},dense:{type:Boolean},ripple:{type:Boolean},tabindex:{},align:{},stack:{type:Boolean},stretch:{type:Boolean},loading:{type:Boolean},round:{type:Boolean},percentage:{},darkPercentage:{type:Boolean}},emits:["update:modelValue","click"],setup(e,{emit:t}){const n=e,o=t;function l(s){o("click",s),o("update:modelValue",!n.modelValue)}const i=r.computed(()=>n.badge===void 0||n.badge===!1||n.badge===!0||n.badge===""?"":n.badge),a=r.computed(()=>typeof n.disable=="function"?n.disable():n.disable);return(s,d)=>(r.openBlock(),r.createBlock(Ti,r.mergeProps(s.$props,{class:[[s.$style.wrapper],"hover-bg-secondary hover-text-black"],disable:a.value,"no-caps":!s.uppercase,"no-wrap":!s.wrap,onClick:l}),{default:r.withCtx(()=>[r.renderSlot(s.$slots,"default"),s.badge?(r.openBlock(),r.createBlock(Ml,{key:0,style:{padding:"6px",top:"-10px",right:"-10px","font-size":"12px"},color:s.badgeColor,floating:!s.badgeInline,rounded:!0},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(i.value),1)]),_:1},8,["color","floating"])):r.createCommentVNode("",!0),s.tooltip?(r.openBlock(),r.createBlock(ni,{key:1,class:"text-body2",delay:400},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(s.tooltip),1)]),_:1})):r.createCommentVNode("",!0)]),_:3},16,["class","disable","no-caps","no-wrap"]))}}),Ri={wrapper:"_wrapper_1g76t_1"},ut=(e,t)=>{const n=e.__vccOpts||e;for(const[o,l]of t)n[o]=l;return n},Bi=ut(qi,[["__cssModules",{$style:Ri}]]);let qn,Ot=0;const ue=new Array(256);for(let e=0;e<256;e++)ue[e]=(e+256).toString(16).substring(1);const Ai=(()=>{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 t=>{const n=new Uint8Array(t);return e.getRandomValues(n),n}}return t=>{const n=[];for(let o=t;o>0;o--)n.push(Math.floor(Math.random()*256));return n}})(),Xo=4096;function Rn(){(qn===void 0||Ot+16>Xo)&&(Ot=0,qn=Ai(Xo));const e=Array.prototype.slice.call(qn,Ot,Ot+=16);return e[6]=e[6]&15|64,e[8]=e[8]&63|128,ue[e[0]]+ue[e[1]]+ue[e[2]]+ue[e[3]]+"-"+ue[e[4]]+ue[e[5]]+"-"+ue[e[6]]+ue[e[7]]+"-"+ue[e[8]]+ue[e[9]]+"-"+ue[e[10]]+ue[e[11]]+ue[e[12]]+ue[e[13]]+ue[e[14]]+ue[e[15]]}function Oi(e){return e??null}function Yo(e,t){return e??(t===!0?`f_${Rn()}`:null)}function Pi({getValue:e,required:t=!0}={}){if(Ae.value===!0){const n=e!==void 0?r.ref(Oi(e())):r.ref(null);return t===!0&&n.value===null&&r.onMounted(()=>{n.value=`f_${Rn()}`}),e!==void 0&&r.watch(e,o=>{n.value=Yo(o,t)}),n}return e!==void 0?r.computed(()=>Yo(e(),t)):r.ref(`f_${Rn()}`)}const Zo=/^on[A-Z]/;function Mi(){const{attrs:e,vnode:t}=r.getCurrentInstance(),n={listeners:r.ref({}),attributes:r.ref({})};function o(){const l={},i={};for(const a in e)a!=="class"&&a!=="style"&&Zo.test(a)===!1&&(l[a]=e[a]);for(const a in t.props)Zo.test(a)===!0&&(i[a]=t.props[a]);n.attributes.value=l,n.listeners.value=i}return r.onBeforeUpdate(o),o(),n}const Pt={dark:{type:Boolean,default:null}};function Mt(e,t){return r.computed(()=>e.dark===null?t.dark.isActive:e.dark)}const Bn="_q_l_",Go="_q_pc_",Li="_q_fo_";function Ee(){}function Vi({validate:e,resetValidation:t,requiresQForm:n}){const o=r.inject(Li,!1);if(o!==!1){const{props:l,proxy:i}=r.getCurrentInstance();Object.assign(i,{validate:e,resetValidation:t}),r.watch(()=>l.disable,a=>{a===!0?(typeof t=="function"&&t(),o.unbindComponent(i)):o.bindComponent(i)}),r.onMounted(()=>{l.disable!==!0&&o.bindComponent(i)}),r.onBeforeUnmount(()=>{l.disable!==!0&&o.unbindComponent(i)})}else n===!0&&console.error("Parent QForm not found on useFormChild()!")}const er=/^#[0-9a-fA-F]{3}([0-9a-fA-F]{3})?$/,tr=/^#[0-9a-fA-F]{4}([0-9a-fA-F]{4})?$/,nr=/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/,Lt=/^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])\)$/,Vt=/^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)\)$/,An={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=>er.test(e),hexaColor:e=>tr.test(e),hexOrHexaColor:e=>nr.test(e),rgbColor:e=>Lt.test(e),rgbaColor:e=>Vt.test(e),rgbOrRgbaColor:e=>Lt.test(e)||Vt.test(e),hexOrRgbColor:e=>er.test(e)||Lt.test(e),hexaOrRgbaColor:e=>tr.test(e)||Vt.test(e),anyColor:e=>nr.test(e)||Lt.test(e)||Vt.test(e)};function or(e,t=250,n){let o=null;function l(){const i=arguments,a=()=>{o=null,e.apply(this,i)};o!==null&&clearTimeout(o),o=setTimeout(a,t)}return l.cancel=()=>{o!==null&&clearTimeout(o)},l}const $i=[!0,!1,"ondemand"],Fi={modelValue:{},error:{type:Boolean,default:null},errorMessage:String,noErrorIcon:Boolean,rules:Array,reactiveRules:Boolean,lazyRules:{type:[Boolean,String],default:!1,validator:e=>$i.includes(e)}};function zi(e,t){const{props:n,proxy:o}=r.getCurrentInstance(),l=r.ref(!1),i=r.ref(null),a=r.ref(!1);Vi({validate:k,resetValidation:p});let s=0,d;const c=r.computed(()=>n.rules!==void 0&&n.rules!==null&&n.rules.length!==0),u=r.computed(()=>n.disable!==!0&&c.value===!0&&t.value===!1),m=r.computed(()=>n.error===!0||l.value===!0),y=r.computed(()=>typeof n.errorMessage=="string"&&n.errorMessage.length!==0?n.errorMessage:i.value);r.watch(()=>n.modelValue,()=>{a.value=!0,u.value===!0&&n.lazyRules===!1&&h()});function v(){n.lazyRules!=="ondemand"&&u.value===!0&&a.value===!0&&h()}r.watch(()=>n.reactiveRules,P=>{P===!0?d===void 0&&(d=r.watch(()=>n.rules,v,{immediate:!0,deep:!0})):d!==void 0&&(d(),d=void 0)},{immediate:!0}),r.watch(()=>n.lazyRules,v),r.watch(e,P=>{P===!0?a.value=!0:u.value===!0&&n.lazyRules!=="ondemand"&&h()});function p(){s++,t.value=!1,a.value=!1,l.value=!1,i.value=null,h.cancel()}function k(P=n.modelValue){if(n.disable===!0||c.value===!1)return!0;const C=++s,T=t.value!==!0?()=>{a.value=!0}:()=>{},R=(B,O)=>{B===!0&&T(),l.value=B,i.value=O||null,t.value=!1},_=[];for(let B=0;B<n.rules.length;B++){const O=n.rules[B];let N;if(typeof O=="function"?N=O(P,An):typeof O=="string"&&An[O]!==void 0&&(N=An[O](P)),N===!1||typeof N=="string")return R(!0,N),!1;N!==!0&&N!==void 0&&_.push(N)}return _.length===0?(R(!1),!0):(t.value=!0,Promise.all(_).then(B=>{if(B===void 0||Array.isArray(B)===!1||B.length===0)return C===s&&R(!1),!0;const O=B.find(N=>N===!1||typeof N=="string");return C===s&&R(O!==void 0,O),O===void 0},B=>(C===s&&(console.error(B),R(!0)),!1)))}const h=or(k,0);return r.onBeforeUnmount(()=>{d!==void 0&&d(),h.cancel()}),Object.assign(o,{resetValidation:p,validate:k}),xt(o,"hasError",()=>m.value),{isDirtyModel:a,hasRules:c,hasError:m,errorMessage:y,validate:k,resetValidation:p}}function ct(e){return e!=null&&(""+e).length!==0}const $t={...{...Pt,...Fi,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},maxlength:[Number,String]},On=["update:modelValue","clear","focus","blur"];function Pn({requiredForAttr:e=!0,tagProp:t,changeEvent:n=!1}={}){const{props:o,proxy:l}=r.getCurrentInstance(),i=Mt(o,l.$q),a=Pi({required:e,getValue:()=>o.for});return{requiredForAttr:e,changeEvent:n,tag:t===!0?r.computed(()=>o.tag):{value:"label"},isDark:i,editable:r.computed(()=>o.disable!==!0&&o.readonly!==!0),innerLoading:r.ref(!1),focused:r.ref(!1),hasPopupOpen:!1,splitAttrs:Mi(),targetUid:a,rootRef:r.ref(null),targetRef:r.ref(null),controlRef:r.ref(null)}}function Mn(e){const{props:t,emit:n,slots:o,attrs:l,proxy:i}=r.getCurrentInstance(),{$q:a}=i;let s=null;e.hasValue===void 0&&(e.hasValue=r.computed(()=>ct(t.modelValue))),e.emitValue===void 0&&(e.emitValue=V=>{n("update:modelValue",V)}),e.controlEvents===void 0&&(e.controlEvents={onFocusin:S,onFocusout:E}),Object.assign(e,{clearValue:L,onControlFocusin:S,onControlFocusout:E,focus:O}),e.computedCounter===void 0&&(e.computedCounter=r.computed(()=>{if(t.counter!==!1){const V=typeof t.modelValue=="string"||typeof t.modelValue=="number"?(""+t.modelValue).length:Array.isArray(t.modelValue)===!0?t.modelValue.length:0,U=t.maxlength!==void 0?t.maxlength:t.maxValues;return V+(U!==void 0?" / "+U:"")}}));const{isDirtyModel:d,hasRules:c,hasError:u,errorMessage:m,resetValidation:y}=zi(e.focused,e.innerLoading),v=e.floatingLabel!==void 0?r.computed(()=>t.stackLabel===!0||e.focused.value===!0||e.floatingLabel.value===!0):r.computed(()=>t.stackLabel===!0||e.focused.value===!0||e.hasValue.value===!0),p=r.computed(()=>t.bottomSlots===!0||t.hint!==void 0||c.value===!0||t.counter===!0||t.error!==null),k=r.computed(()=>t.filled===!0?"filled":t.outlined===!0?"outlined":t.borderless===!0?"borderless":t.standout?"standout":"standard"),h=r.computed(()=>`q-field row no-wrap items-start q-field--${k.value}`+(e.fieldClass!==void 0?` ${e.fieldClass.value}`:"")+(t.rounded===!0?" q-field--rounded":"")+(t.square===!0?" q-field--square":"")+(v.value===!0?" q-field--float":"")+(C.value===!0?" q-field--labeled":"")+(t.dense===!0?" q-field--dense":"")+(t.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":"")+(u.value===!0?" q-field--error":"")+(u.value===!0||e.focused.value===!0?" q-field--highlighted":"")+(t.hideBottomSpace!==!0&&p.value===!0?" q-field--with-bottom":"")+(t.disable===!0?" q-field--disabled":t.readonly===!0?" q-field--readonly":"")),P=r.computed(()=>"q-field__control relative-position row no-wrap"+(t.bgColor!==void 0?` bg-${t.bgColor}`:"")+(u.value===!0?" text-negative":typeof t.standout=="string"&&t.standout.length!==0&&e.focused.value===!0?` ${t.standout}`:t.color!==void 0?` text-${t.color}`:"")),C=r.computed(()=>t.labelSlot===!0||t.label!==void 0),T=r.computed(()=>"q-field__label no-pointer-events absolute ellipsis"+(t.labelColor!==void 0&&u.value!==!0?` text-${t.labelColor}`:"")),R=r.computed(()=>({id:e.targetUid.value,editable:e.editable.value,focused:e.focused.value,floatingLabel:v.value,modelValue:t.modelValue,emitValue:e.emitValue})),_=r.computed(()=>{const V={};return e.targetUid.value&&(V.for=e.targetUid.value),t.disable===!0&&(V["aria-disabled"]="true"),V});function B(){const V=document.activeElement;let U=e.targetRef!==void 0&&e.targetRef.value;U&&(V===null||V.id!==e.targetUid.value)&&(U.hasAttribute("tabindex")===!0||(U=U.querySelector("[tabindex]")),U&&U!==V&&U.focus({preventScroll:!0}))}function O(){_t(B)}function N(){Dl(B);const V=document.activeElement;V!==null&&e.rootRef.value.contains(V)&&V.blur()}function S(V){s!==null&&(clearTimeout(s),s=null),e.editable.value===!0&&e.focused.value===!1&&(e.focused.value=!0,n("focus",V))}function E(V,U){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",V)),U!==void 0&&U())})}function L(V){ae(V),a.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(),t.type==="file"&&(e.inputRef.value.value=null),n("update:modelValue",null),e.changeEvent===!0&&n("change",null),n("clear",t.modelValue),r.nextTick(()=>{const U=d.value;y(),d.value=U})}function x(V){[13,32].includes(V.keyCode)&&L(V)}function j(){const V=[];return o.prepend!==void 0&&V.push(r.h("div",{class:"q-field__prepend q-field__marginal row no-wrap items-center",key:"prepend",onClick:ye},o.prepend())),V.push(r.h("div",{class:"q-field__control-container col relative-position row no-wrap q-anchor--skip"},q())),u.value===!0&&t.noErrorIcon===!1&&V.push(D("error",[r.h(Ce,{name:a.iconSet.field.error,color:"negative"})])),t.loading===!0||e.innerLoading.value===!0?V.push(D("inner-loading-append",o.loading!==void 0?o.loading():[r.h(Tn,{color:t.color})])):t.clearable===!0&&e.hasValue.value===!0&&e.editable.value===!0&&V.push(D("inner-clearable-append",[r.h(Ce,{class:"q-field__focusable-action",name:t.clearIcon||a.iconSet.field.clear,tabindex:0,role:"button","aria-hidden":"false","aria-label":a.lang.label.clear,onKeyup:x,onClick:L})])),o.append!==void 0&&V.push(r.h("div",{class:"q-field__append q-field__marginal row no-wrap items-center",key:"append",onClick:ye},o.append())),e.getInnerAppend!==void 0&&V.push(D("inner-append",e.getInnerAppend())),e.getControlChild!==void 0&&V.push(e.getControlChild()),V}function q(){const V=[];return t.prefix!==void 0&&t.prefix!==null&&V.push(r.h("div",{class:"q-field__prefix no-pointer-events row items-center"},t.prefix)),e.getShadowControl!==void 0&&e.hasShadow.value===!0&&V.push(e.getShadowControl()),e.getControl!==void 0?V.push(e.getControl()):o.rawControl!==void 0?V.push(o.rawControl()):o.control!==void 0&&V.push(r.h("div",{ref:e.targetRef,class:"q-field__native row",tabindex:-1,...e.splitAttrs.attributes.value,"data-autofocus":t.autofocus===!0||void 0},o.control(R.value))),C.value===!0&&V.push(r.h("div",{class:T.value},ge(o.label,t.label))),t.suffix!==void 0&&t.suffix!==null&&V.push(r.h("div",{class:"q-field__suffix no-pointer-events row items-center"},t.suffix)),V.concat(ge(o.default))}function H(){let V,U;u.value===!0?m.value!==null?(V=[r.h("div",{role:"alert"},m.value)],U=`q--slot-error-${m.value}`):(V=ge(o.error),U="q--slot-error"):(t.hideHint!==!0||e.focused.value===!0)&&(t.hint!==void 0?(V=[r.h("div",t.hint)],U=`q--slot-hint-${t.hint}`):(V=ge(o.hint),U="q--slot-hint"));const X=t.counter===!0||o.counter!==void 0;if(t.hideBottomSpace===!0&&X===!1&&V===void 0)return;const b=r.h("div",{key:U,class:"q-field__messages col"},V);return r.h("div",{class:"q-field__bottom row items-start q-field__bottom--"+(t.hideBottomSpace!==!0?"animated":"stale"),onClick:ye},[t.hideBottomSpace===!0?b:r.h(r.Transition,{name:"q-transition--field-message"},()=>b),X===!0?r.h("div",{class:"q-field__counter"},o.counter!==void 0?o.counter():e.computedCounter.value):null])}function D(V,U){return U===null?null:r.h("div",{key:V,class:"q-field__append q-field__marginal row no-wrap items-center q-anchor--skip"},U)}let K=!1;return r.onDeactivated(()=>{K=!0}),r.onActivated(()=>{K===!0&&t.autofocus===!0&&i.focus()}),t.autofocus===!0&&r.onMounted(()=>{i.focus()}),r.onBeforeUnmount(()=>{s!==null&&clearTimeout(s)}),Object.assign(i,{focus:O,blur:N}),function(){const U=e.getControl===void 0&&o.control===void 0?{...e.splitAttrs.attributes.value,"data-autofocus":t.autofocus===!0||void 0,..._.value}:_.value;return r.h(e.tag.value,{ref:e.rootRef,class:[h.value,l.class],style:l.style,...U},[o.before!==void 0?r.h("div",{class:"q-field__before q-field__marginal row no-wrap items-center",onClick:ye},o.before()):null,r.h("div",{class:"q-field__inner relative-position col self-stretch"},[r.h("div",{ref:e.controlRef,class:P.value,tabindex:-1,...e.controlEvents},j()),p.value===!0?H():null]),o.after!==void 0?r.h("div",{class:"q-field__after q-field__marginal row no-wrap items-center",onClick:ye},o.after()):null])}}const rr={date:"####/##/##",datetime:"####/##/## ##:##",time:"##:##",fulltime:"##:##:##",phone:"(###) ### - ####",card:"#### #### #### ####"},Ft={"#":{pattern:"[\\d]",negate:"[^\\d]"},S:{pattern:"[a-zA-Z]",negate:"[^a-zA-Z]"},N:{pattern:"[0-9a-zA-Z]",negate:"[^0-9a-zA-Z]"},A:{pattern:"[a-zA-Z]",negate:"[^a-zA-Z]",transform:e=>e.toLocaleUpperCase()},a:{pattern:"[a-zA-Z]",negate:"[^a-zA-Z]",transform:e=>e.toLocaleLowerCase()},X:{pattern:"[0-9a-zA-Z]",negate:"[^0-9a-zA-Z]",transform:e=>e.toLocaleUpperCase()},x:{pattern:"[0-9a-zA-Z]",negate:"[^0-9a-zA-Z]",transform:e=>e.toLocaleLowerCase()}},lr=Object.keys(Ft);lr.forEach(e=>{Ft[e].regex=new RegExp(Ft[e].pattern)});const Ii=new RegExp("\\\\([^.*+?^${}()|([\\]])|([.*+?^${}()|[\\]])|(["+lr.join("")+"])|(.)","g"),ir=/[.*+?^${}()|[\]\\]/g,le="",Ni={mask:String,reverseFillMask:Boolean,fillMask:[Boolean,String],unmaskedValue:Boolean};function Di(e,t,n,o){let l,i,a,s,d,c;const u=r.ref(null),m=r.ref(v());function y(){return e.autogrow===!0||["textarea","text","search","url","tel","password"].includes(e.type)}r.watch(()=>e.type+e.autogrow,k),r.watch(()=>e.mask,S=>{if(S!==void 0)h(m.value,!0);else{const E=O(m.value);k(),e.modelValue!==E&&t("update:modelValue",E)}}),r.watch(()=>e.fillMask+e.reverseFillMask,()=>{u.value===!0&&h(m.value,!0)}),r.watch(()=>e.unmaskedValue,()=>{u.value===!0&&h(m.value)});function v(){if(k(),u.value===!0){const S=_(O(e.modelValue));return e.fillMask!==!1?N(S):S}return e.modelValue}function p(S){if(S<l.length)return l.slice(-S);let E="",L=l;const x=L.indexOf(le);if(x!==-1){for(let j=S-L.length;j>0;j--)E+=le;L=L.slice(0,x)+E+L.slice(x)}return L}function k(){if(u.value=e.mask!==void 0&&e.mask.length!==0&&y(),u.value===!1){s=void 0,l="",i="";return}const S=rr[e.mask]===void 0?e.mask:rr[e.mask],E=typeof e.fillMask=="string"&&e.fillMask.length!==0?e.fillMask.slice(0,1):"_",L=E.replace(ir,"\\$&"),x=[],j=[],q=[];let H=e.reverseFillMask===!0,D="",K="";S.replace(Ii,(b,g,M,W,Q)=>{if(W!==void 0){const A=Ft[W];q.push(A),K=A.negate,H===!0&&(j.push("(?:"+K+"+)?("+A.pattern+"+)?(?:"+K+"+)?("+A.pattern+"+)?"),H=!1),j.push("(?:"+K+"+)?("+A.pattern+")?")}else if(M!==void 0)D="\\"+(M==="\\"?"":M),q.push(M),x.push("([^"+D+"]+)?"+D+"?");else{const A=g!==void 0?g:Q;D=A==="\\"?"\\\\\\\\":A.replace(ir,"\\\\$&"),q.push(A),x.push("([^"+D+"]+)?"+D+"?")}});const V=new RegExp("^"+x.join("")+"("+(D===""?".":"[^"+D+"]")+"+)?"+(D===""?"":"["+D+"]*")+"$"),U=j.length-1,X=j.map((b,g)=>g===0&&e.reverseFillMask===!0?new RegExp("^"+L+"*"+b):g===U?new RegExp("^"+b+"("+(K===""?".":K)+"+)?"+(e.reverseFillMask===!0?"$":L+"*")):new RegExp("^"+b));a=q,s=b=>{const g=V.exec(e.reverseFillMask===!0?b:b.slice(0,q.length+1));g!==null&&(b=g.slice(1).join(""));const M=[],W=X.length;for(let Q=0,A=b;Q<W;Q++){const I=X[Q].exec(A);if(I===null)break;A=A.slice(I.shift().length),M.push(...I)}return M.length!==0?M.join(""):b},l=q.map(b=>typeof b=="string"?b:le).join(""),i=l.split(le).join(E)}function h(S,E,L){const x=o.value,j=x.selectionEnd,q=x.value.length-j,H=O(S);E===!0&&k();const D=_(H),K=e.fillMask!==!1?N(D):D,V=m.value!==K;x.value!==K&&(x.value=K),V===!0&&(m.value=K),document.activeElement===x&&r.nextTick(()=>{if(K===i){const X=e.reverseFillMask===!0?i.length:0;x.setSelectionRange(X,X,"forward");return}if(L==="insertFromPaste"&&e.reverseFillMask!==!0){const X=x.selectionEnd;let b=j-1;for(let g=d;g<=b&&g<X;g++)l[g]!==le&&b++;C.right(x,b);return}if(["deleteContentBackward","deleteContentForward"].indexOf(L)!==-1){const X=e.reverseFillMask===!0?j===0?K.length>D.length?1:0:Math.max(0,K.length-(K===i?0:Math.min(D.length,q)+1))+1:j;x.setSelectionRange(X,X,"forward");return}if(e.reverseFillMask===!0)if(V===!0){const X=Math.max(0,K.length-(K===i?0:Math.min(D.length,q+1)));X===1&&j===1?x.setSelectionRange(X,X,"forward"):C.rightReverse(x,X)}else{const X=K.length-q;x.setSelectionRange(X,X,"backward")}else if(V===!0){const X=Math.max(0,l.indexOf(le),Math.min(D.length,j)-1);C.right(x,X)}else{const X=j-1;C.right(x,X)}});const U=e.unmaskedValue===!0?O(K):K;String(e.modelValue)!==U&&(e.modelValue!==null||U!=="")&&n(U,!0)}function P(S,E,L){const x=_(O(S.value));E=Math.max(0,l.indexOf(le),Math.min(x.length,E)),d=E,S.setSelectionRange(E,L,"forward")}const C={left(S,E){const L=l.slice(E-1).indexOf(le)===-1;let x=Math.max(0,E-1);for(;x>=0;x--)if(l[x]===le){E=x,L===!0&&E++;break}if(x<0&&l[E]!==void 0&&l[E]!==le)return C.right(S,0);E>=0&&S.setSelectionRange(E,E,"backward")},right(S,E){const L=S.value.length;let x=Math.min(L,E+1);for(;x<=L;x++)if(l[x]===le){E=x;break}else l[x-1]===le&&(E=x);if(x>L&&l[E-1]!==void 0&&l[E-1]!==le)return C.left(S,L);S.setSelectionRange(E,E,"forward")},leftReverse(S,E){const L=p(S.value.length);let x=Math.max(0,E-1);for(;x>=0;x--)if(L[x-1]===le){E=x;break}else if(L[x]===le&&(E=x,x===0))break;if(x<0&&L[E]!==void 0&&L[E]!==le)return C.rightReverse(S,0);E>=0&&S.setSelectionRange(E,E,"backward")},rightReverse(S,E){const L=S.value.length,x=p(L),j=x.slice(0,E+1).indexOf(le)===-1;let q=Math.min(L,E+1);for(;q<=L;q++)if(x[q-1]===le){E=q,E>0&&j===!0&&E--;break}if(q>L&&x[E-1]!==void 0&&x[E-1]!==le)return C.leftReverse(S,L);S.setSelectionRange(E,E,"forward")}};function T(S){t("click",S),c=void 0}function R(S){if(t("keydown",S),sn(S)===!0||S.altKey===!0)return;const E=o.value,L=E.selectionStart,x=E.selectionEnd;if(S.shiftKey||(c=void 0),S.keyCode===37||S.keyCode===39){S.shiftKey&&c===void 0&&(c=E.selectionDirection==="forward"?L:x);const j=C[(S.keyCode===39?"right":"left")+(e.reverseFillMask===!0?"Reverse":"")];if(S.preventDefault(),j(E,c===L?x:L),S.shiftKey){const q=E.selectionStart;E.setSelectionRange(Math.min(c,q),Math.max(c,q),"forward")}}else S.keyCode===8&&e.reverseFillMask!==!0&&L===x?(C.left(E,L),E.setSelectionRange(E.selectionStart,x,"backward")):S.keyCode===46&&e.reverseFillMask===!0&&L===x&&(C.rightReverse(E,x),E.setSelectionRange(L,E.selectionEnd,"forward"))}function _(S){if(S==null||S==="")return"";if(e.reverseFillMask===!0)return B(S);const E=a;let L=0,x="";for(let j=0;j<E.length;j++){const q=S[L],H=E[j];if(typeof H=="string")x+=H,q===H&&L++;else if(q!==void 0&&H.regex.test(q))x+=H.transform!==void 0?H.transform(q):q,L++;else return x}return x}function B(S){const E=a,L=l.indexOf(le);let x=S.length-1,j="";for(let q=E.length-1;q>=0&&x!==-1;q--){const H=E[q];let D=S[x];if(typeof H=="string")j=H+j,D===H&&x--;else if(D!==void 0&&H.regex.test(D))do j=(H.transform!==void 0?H.transform(D):D)+j,x--,D=S[x];while(L===q&&D!==void 0&&H.regex.test(D));else return j}return j}function O(S){return typeof S!="string"||s===void 0?typeof S=="number"?s(""+S):S:s(S)}function N(S){return i.length-S.length<=0?S:e.reverseFillMask===!0&&S.length!==0?i.slice(0,-S.length)+S:S+i.slice(S.length)}return{innerValue:m,hasMask:u,moveCursorForPaste:P,updateMaskValue:h,onMaskedKeydown:R,onMaskedClick:T}}const ar={name:String};function sr(e){return r.computed(()=>e.name||e.for)}function Hi(e,t){function n(){const o=e.modelValue;try{const l="DataTransfer"in window?new DataTransfer:"ClipboardEvent"in window?new ClipboardEvent("").clipboardData:void 0;return Object(o)===o&&("length"in o?Array.from(o):[o]).forEach(i=>{l.items.add(i)}),{files:l.files}}catch{return{files:void 0}}}return r.computed(()=>{if(e.type==="file")return n()})}const ji=/[\u3000-\u303f\u3040-\u309f\u30a0-\u30ff\uff00-\uff9f\u4e00-\u9faf\u3400-\u4dbf]/,Ui=/[\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,Wi=/[\u3131-\u314e\u314f-\u3163\uac00-\ud7a3]/,Ki=/[a-z0-9_ -]$/i;function ur(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"&&(me.is.firefox===!0?Ki.test(n.data)===!1:ji.test(n.data)===!0||Ui.test(n.data)===!0||Wi.test(n.data)===!0)===!0&&(n.target.qComposing=!0)}}const Qi=re({name:"QInput",inheritAttrs:!1,props:{...$t,...Ni,...ar,modelValue:[String,Number,FileList],shadowText:String,type:{type:String,default:"text"},debounce:[String,Number],autogrow:Boolean,inputClass:[Array,String,Object],inputStyle:[Array,String,Object]},emits:[...On,"paste","change","keydown","click","animationend"],setup(e,{emit:t,attrs:n}){const{proxy:o}=r.getCurrentInstance(),{$q:l}=o,i={};let a=NaN,s,d,c=null,u;const m=r.ref(null),y=sr(e),{innerValue:v,hasMask:p,moveCursorForPaste:k,updateMaskValue:h,onMaskedKeydown:P,onMaskedClick:C}=Di(e,t,D,m),T=Hi(e),R=r.computed(()=>ct(v.value)),_=ur(q),B=Pn({changeEvent:!0}),O=r.computed(()=>e.type==="textarea"||e.autogrow===!0),N=r.computed(()=>O.value===!0||["text","search","url","tel","password"].includes(e.type)),S=r.computed(()=>{const g={...B.splitAttrs.listeners.value,onInput:q,onPaste:j,onChange:V,onBlur:U,onFocus:Se};return g.onCompositionstart=g.onCompositionupdate=g.onCompositionend=_,p.value===!0&&(g.onKeydown=P,g.onClick=C),e.autogrow===!0&&(g.onAnimationend=H),g}),E=r.computed(()=>{const g={tabindex:0,"data-autofocus":e.autofocus===!0||void 0,rows:e.type==="textarea"?6:void 0,"aria-label":e.label,name:y.value,...B.splitAttrs.attributes.value,id:B.targetUid.value,maxlength:e.maxlength,disabled:e.disable===!0,readonly:e.readonly===!0};return O.value===!1&&(g.type=e.type),e.autogrow===!0&&(g.rows=1),g});r.watch(()=>e.type,()=>{m.value&&(m.value.value=e.modelValue)}),r.watch(()=>e.modelValue,g=>{if(p.value===!0){if(d===!0&&(d=!1,String(g)===a))return;h(g)}else v.value!==g&&(v.value=g,e.type==="number"&&i.hasOwnProperty("value")===!0&&(s===!0?s=!1:delete i.value));e.autogrow===!0&&r.nextTick(K)}),r.watch(()=>e.autogrow,g=>{g===!0?r.nextTick(K):m.value!==null&&n.rows>0&&(m.value.style.height="auto")}),r.watch(()=>e.dense,()=>{e.autogrow===!0&&r.nextTick(K)});function L(){_t(()=>{const g=document.activeElement;m.value!==null&&m.value!==g&&(g===null||g.id!==B.targetUid.value)&&m.value.focus({preventScroll:!0})})}function x(){m.value!==null&&m.value.select()}function j(g){if(p.value===!0&&e.reverseFillMask!==!0){const M=g.target;k(M,M.selectionStart,M.selectionEnd)}t("paste",g)}function q(g){if(!g||!g.target)return;if(e.type==="file"){t("update:modelValue",g.target.files);return}const M=g.target.value;if(g.target.qComposing===!0){i.value=M;return}if(p.value===!0)h(M,!1,g.inputType);else if(D(M),N.value===!0&&g.target===document.activeElement){const{selectionStart:W,selectionEnd:Q}=g.target;W!==void 0&&Q!==void 0&&r.nextTick(()=>{g.target===document.activeElement&&M.indexOf(g.target.value)===0&&g.target.setSelectionRange(W,Q)})}e.autogrow===!0&&K()}function H(g){t("animationend",g),K()}function D(g,M){u=()=>{c=null,e.type!=="number"&&i.hasOwnProperty("value")===!0&&delete i.value,e.modelValue!==g&&a!==g&&(a=g,M===!0&&(d=!0),t("update:modelValue",g),r.nextTick(()=>{a===g&&(a=NaN)})),u=void 0},e.type==="number"&&(s=!0,i.value=g),e.debounce!==void 0?(c!==null&&clearTimeout(c),i.value=g,c=setTimeout(u,e.debounce)):u()}function K(){requestAnimationFrame(()=>{const g=m.value;if(g!==null){const M=g.parentNode.style,{scrollTop:W}=g,{overflowY:Q,maxHeight:A}=l.platform.is.firefox===!0?{}:window.getComputedStyle(g),I=Q!==void 0&&Q!=="scroll";I===!0&&(g.style.overflowY="hidden"),M.marginBottom=g.scrollHeight-1+"px",g.style.height="1px",g.style.height=g.scrollHeight+"px",I===!0&&(g.style.overflowY=parseInt(A,10)<g.scrollHeight?"auto":"hidden"),M.marginBottom="",g.scrollTop=W}})}function V(g){_(g),c!==null&&(clearTimeout(c),c=null),u!==void 0&&u(),t("change",g.target.value)}function U(g){g!==void 0&&Se(g),c!==null&&(clearTimeout(c),c=null),u!==void 0&&u(),s=!1,d=!1,delete i.value,e.type!=="file"&&setTimeout(()=>{m.value!==null&&(m.value.value=v.value!==void 0?v.value:"")})}function X(){return i.hasOwnProperty("value")===!0?i.value:v.value!==void 0?v.value:""}r.onBeforeUnmount(()=>{U()}),r.onMounted(()=>{e.autogrow===!0&&K()}),Object.assign(B,{innerValue:v,fieldClass:r.computed(()=>`q-${O.value===!0?"textarea":"input"}`+(e.autogrow===!0?" q-textarea--autogrow":"")),hasShadow:r.computed(()=>e.type!=="file"&&typeof e.shadowText=="string"&&e.shadowText.length!==0),inputRef:m,emitValue:D,hasValue:R,floatingLabel:r.computed(()=>R.value===!0&&(e.type!=="number"||isNaN(v.value)===!1)||ct(e.displayValue)),getControl:()=>r.h(O.value===!0?"textarea":"input",{ref:m,class:["q-field__native q-placeholder",e.inputClass],style:e.inputStyle,...E.value,...S.value,...e.type!=="file"?{value:X()}:T.value}),getShadowControl:()=>r.h("div",{class:"q-field__native q-field__shadow absolute-bottom no-pointer-events"+(O.value===!0?"":" text-no-wrap")},[r.h("span",{class:"invisible"},X()),r.h("span",e.shadowText)])});const b=Mn(B);return Object.assign(o,{focus:L,select:x,getNativeElement:()=>m.value}),xt(o,"nativeEl",()=>m.value),b}}),Ji=ut(r.defineComponent({__name:"AppInput",props:{field:{type:Boolean},required:{type:Boolean},datePicker:{type:Boolean},timePicker:{type:Boolean},dateLocale:{},withIcon:{type:Boolean},iconName:{},iconColor:{},withButton:{type:Boolean},buttonIcon:{},buttonTooltip:{},clearTooltip:{},withArrow:{type:Boolean},name:{},mask:{},fillMask:{type:[Boolean,String]},reverseFillMask:{type:Boolean},unmaskedValue:{type:Boolean},modelValue:{default:""},error:{type:Boolean,default:void 0},errorMessage:{},noErrorIcon:{type:Boolean},rules:{},reactiveRules:{type:Boolean},lazyRules:{type:[Boolean,String]},label:{},stackLabel:{type:Boolean},hint:{},hideHint:{type:Boolean},prefix:{},suffix:{},labelColor:{},color:{},bgColor:{},dark:{type:Boolean},loading:{type:Boolean},clearable:{type:Boolean},clearIcon:{},filled:{type:Boolean},outlined:{type:Boolean,default:!0},borderless:{type:Boolean},bordered:{type:Boolean},standout:{type:[Boolean,String]},labelSlot:{type:Boolean},bottomSlots:{type:Boolean},hideBottomSpace:{type:Boolean},counter:{type:Boolean},rounded:{type:Boolean},square:{type:Boolean},dense:{type:Boolean,default:!0},itemAligned:{type:Boolean},disable:{type:Boolean},readonly:{type:Boolean},autofocus:{type:Boolean},for:{},shadowText:{},type:{},debounce:{},maxlength:{},autogrow:{type:Boolean},inputClass:{},inputStyle:{},onClear:{},"onUpdate:modelValue":{},onFocus:{},onBlur:{},onClick:{}},emits:["update:modelValue","button-click","clear","focus","blur","click"],setup(e,{emit:t}){const n=e,o=t,l=r.computed({get:()=>n.modelValue!==null&&n.modelValue!==void 0&&n.type==="number"?+n.modelValue:n.modelValue,set:a=>o("update:modelValue",n.type==="number"?+a:a)}),i=r.computed(()=>({"--dense":n.dense,"--bordered":n.bordered}));return(a,s)=>(r.openBlock(),r.createBlock(Qi,{modelValue:l.value,"onUpdate:modelValue":s[0]||(s[0]=d=>l.value=d),standout:"",outlined:"",clearable:"",dense:"","bg-color":"white",class:r.normalizeClass([a.$style["app-input"],i.value]),type:a.type,readonly:a.readonly||a.field,placeholder:a.label},{prepend:r.withCtx(()=>[r.createVNode(Ce,null,{default:r.withCtx(()=>s[1]||(s[1]=[r.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},[r.createElementVNode("path",{d:"M11.5 21C16.7467 21 21 16.7467 21 11.5C21 6.25329 16.7467 2 11.5 2C6.25329 2 2 6.25329 2 11.5C2 16.7467 6.25329 21 11.5 21Z",stroke:"#404650","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}),r.createElementVNode("path",{d:"M22 22L20 20",stroke:"#3F8CFF","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"})],-1)])),_:1})]),_:1},8,["modelValue","class","type","readonly","placeholder"]))}}),[["__cssModules",{$style:{appInput:"_app-input_8jwo9_1"}}]]),Xi=re({name:"QPage",props:{padding:Boolean,styleFn:Function},setup(e,{slots:t}){const{proxy:{$q:n}}=r.getCurrentInstance(),o=r.inject(Bn,Ee);if(o===Ee)return console.error("QPage needs to be a deep child of QLayout"),Ee;if(r.inject(Go,Ee)===Ee)return console.error("QPage needs to be child of QPageContainer"),Ee;const i=r.computed(()=>{const s=(o.header.space===!0?o.header.size:0)+(o.footer.space===!0?o.footer.size:0);if(typeof e.styleFn=="function"){const d=o.isContainer.value===!0?o.containerHeight.value:n.screen.height;return e.styleFn(s,d)}return{minHeight:o.isContainer.value===!0?o.containerHeight.value-s+"px":n.screen.height===0?s!==0?`calc(100vh - ${s}px)`:"100vh":n.screen.height-s+"px"}}),a=r.computed(()=>`q-page${e.padding===!0?" q-layout-padding":""}`);return()=>r.h("main",{class:a.value,style:i.value},ge(t.default))}}),Yi=re({name:"QPageContainer",setup(e,{slots:t}){const{proxy:{$q:n}}=r.getCurrentInstance(),o=r.inject(Bn,Ee);if(o===Ee)return console.error("QPageContainer needs to be child of QLayout"),Ee;r.provide(Go,!0);const l=r.computed(()=>{const i={};return o.header.space===!0&&(i.paddingTop=`${o.header.size}px`),o.right.space===!0&&(i[`padding${n.lang.rtl===!0?"Left":"Right"}`]=`${o.right.size}px`),o.footer.space===!0&&(i.paddingBottom=`${o.footer.size}px`),o.left.space===!0&&(i[`padding${n.lang.rtl===!0?"Right":"Left"}`]=`${o.left.size}px`),i});return()=>r.h("div",{class:"q-page-container",style:l.value},ge(t.default))}}),{passive:cr}=se,Zi=["both","horizontal","vertical"],Gi=re({name:"QScrollObserver",props:{axis:{type:String,validator:e=>Zi.includes(e),default:"vertical"},debounce:[String,Number],scrollTarget:yn},emits:["scroll"],setup(e,{emit:t}){const n={position:{top:0,left:0},direction:"down",directionChanged:!1,delta:{top:0,left:0},inflectionPoint:{top:0,left:0}};let o=null,l,i;r.watch(()=>e.scrollTarget,()=>{d(),s()});function a(){o!==null&&o();const m=Math.max(0,To(l)),y=qo(l),v={top:m-n.position.top,left:y-n.position.left};if(e.axis==="vertical"&&v.top===0||e.axis==="horizontal"&&v.left===0)return;const p=Math.abs(v.top)>=Math.abs(v.left)?v.top<0?"up":"down":v.left<0?"left":"right";n.position={top:m,left:y},n.directionChanged=n.direction!==p,n.delta=v,n.directionChanged===!0&&(n.direction=p,n.inflectionPoint=n.position),t("scroll",{...n})}function s(){l=bn(i,e.scrollTarget),l.addEventListener("scroll",c,cr),c(!0)}function d(){l!==void 0&&(l.removeEventListener("scroll",c,cr),l=void 0)}function c(m){if(m===!0||e.debounce===0||e.debounce==="0")a();else if(o===null){const[y,v]=e.debounce?[setTimeout(a,e.debounce),clearTimeout]:[requestAnimationFrame(a),cancelAnimationFrame];o=()=>{v(y),o=null}}}const{proxy:u}=r.getCurrentInstance();return r.watch(()=>u.$q.lang.rtl,a),r.onMounted(()=>{i=u.$el.parentNode,s()}),r.onBeforeUnmount(()=>{o!==null&&o(),d()}),Object.assign(u,{trigger:c,getPosition:()=>n}),an}});function ea(){const e=r.ref(!Ae.value);return e.value===!1&&r.onMounted(()=>{e.value=!0}),{isHydrated:e}}const dr=typeof ResizeObserver<"u",fr=dr===!0?{}:{style:"display:block;position:absolute;top:0;left:0;right:0;bottom:0;height:100%;width:100%;overflow:hidden;pointer-events:none;z-index:-1;",url:"about:blank"},mr=re({name:"QResizeObserver",props:{debounce:{type:[String,Number],default:100}},emits:["resize"],setup(e,{emit:t}){let n=null,o,l={width:-1,height:-1};function i(d){d===!0||e.debounce===0||e.debounce==="0"?a():n===null&&(n=setTimeout(a,e.debounce))}function a(){if(n!==null&&(clearTimeout(n),n=null),o){const{offsetWidth:d,offsetHeight:c}=o;(d!==l.width||c!==l.height)&&(l={width:d,height:c},t("resize",l))}}const{proxy:s}=r.getCurrentInstance();if(s.trigger=i,dr===!0){let d;const c=u=>{o=s.$el.parentNode,o?(d=new ResizeObserver(i),d.observe(o),a()):u!==!0&&r.nextTick(()=>{c(!0)})};return r.onMounted(()=>{c()}),r.onBeforeUnmount(()=>{n!==null&&clearTimeout(n),d!==void 0&&(d.disconnect!==void 0?d.disconnect():o&&d.unobserve(o))}),an}else{let d=function(){n!==null&&(clearTimeout(n),n=null),m!==void 0&&(m.removeEventListener!==void 0&&m.removeEventListener("resize",i,se.passive),m=void 0)},c=function(){d(),o&&o.contentDocument&&(m=o.contentDocument.defaultView,m.addEventListener("resize",i,se.passive),a())};const{isHydrated:u}=ea();let m;return r.onMounted(()=>{r.nextTick(()=>{o=s.$el,o&&c()})}),r.onBeforeUnmount(d),()=>{if(u.value===!0)return r.h("object",{class:"q--avoid-card-border",style:fr.style,tabindex:-1,type:"text/html",data:fr.url,"aria-hidden":"true",onLoad:c})}}}}),ta=re({name:"QLayout",props:{container:Boolean,view:{type:String,default:"hhh lpr fff",validator:e=>/^(h|l)h(h|r) lpr (f|l)f(f|r)$/.test(e.toLowerCase())},onScroll:Function,onScrollHeight:Function,onResize:Function},setup(e,{slots:t,emit:n}){const{proxy:{$q:o}}=r.getCurrentInstance(),l=r.ref(null),i=r.ref(o.screen.height),a=r.ref(e.container===!0?0:o.screen.width),s=r.ref({position:0,direction:"down",inflectionPoint:0}),d=r.ref(0),c=r.ref(Ae.value===!0?0:Et()),u=r.computed(()=>"q-layout q-layout--"+(e.container===!0?"containerized":"standard")),m=r.computed(()=>e.container===!1?{minHeight:o.screen.height+"px"}:null),y=r.computed(()=>c.value!==0?{[o.lang.rtl===!0?"left":"right"]:`${c.value}px`}:null),v=r.computed(()=>c.value!==0?{[o.lang.rtl===!0?"right":"left"]:0,[o.lang.rtl===!0?"left":"right"]:`-${c.value}px`,width:`calc(100% + ${c.value}px)`}:null);function p(R){if(e.container===!0||document.qScrollPrevented!==!0){const _={position:R.position.top,direction:R.direction,directionChanged:R.directionChanged,inflectionPoint:R.inflectionPoint.top,delta:R.delta.top};s.value=_,e.onScroll!==void 0&&n("scroll",_)}}function k(R){const{height:_,width:B}=R;let O=!1;i.value!==_&&(O=!0,i.value=_,e.onScrollHeight!==void 0&&n("scrollHeight",_),P()),a.value!==B&&(O=!0,a.value=B),O===!0&&e.onResize!==void 0&&n("resize",R)}function h({height:R}){d.value!==R&&(d.value=R,P())}function P(){if(e.container===!0){const R=i.value>d.value?Et():0;c.value!==R&&(c.value=R)}}let C=null;const T={instances:{},view:r.computed(()=>e.view),isContainer:r.computed(()=>e.container),rootRef:l,height:i,containerHeight:d,scrollbarWidth:c,totalWidth:r.computed(()=>a.value+c.value),rows:r.computed(()=>{const R=e.view.toLowerCase().split(" ");return{top:R[0].split(""),middle:R[1].split(""),bottom:R[2].split("")}}),header:r.reactive({size:0,offset:0,space:!1}),right:r.reactive({size:300,offset:0,space:!1}),footer:r.reactive({size:0,offset:0,space:!1}),left:r.reactive({size:300,offset:0,space:!1}),scroll:s,animate(){C!==null?clearTimeout(C):document.body.classList.add("q-body--layout-animate"),C=setTimeout(()=>{C=null,document.body.classList.remove("q-body--layout-animate")},155)},update(R,_,B){T[R][_]=B}};if(r.provide(Bn,T),Et()>0){let R=function(){O=null,N.classList.remove("hide-scrollbar")},_=function(){if(O===null){if(N.scrollHeight>o.screen.height)return;N.classList.add("hide-scrollbar")}else clearTimeout(O);O=setTimeout(R,300)},B=function(S){O!==null&&S==="remove"&&(clearTimeout(O),R()),window[`${S}EventListener`]("resize",_)},O=null;const N=document.body;r.watch(()=>e.container!==!0?"add":"remove",B),e.container!==!0&&B("add"),r.onUnmounted(()=>{B("remove")})}return()=>{const R=Te(t.default,[r.h(Gi,{onScroll:p}),r.h(mr,{onResize:k})]),_=r.h("div",{class:u.value,style:m.value,ref:e.container===!0?void 0:l,tabindex:-1},R);return e.container===!0?r.h("div",{class:"q-layout-container overflow-hidden",ref:l},[r.h(mr,{onResize:h}),r.h("div",{class:"absolute-full",style:y.value},[r.h("div",{class:"scroll",style:v.value},[_])])]):_}}}),na=ut(r.defineComponent({__name:"AppLayout",props:{logged:{type:Boolean},console:{type:Boolean},container:{type:Boolean},padding:{}},setup(e){function t(n){const o=document.getElementById("content"),l=n.target;o&&!l.closest("#content")&&o.scrollBy({top:n.deltaY})}return(n,o)=>(r.openBlock(),r.createBlock(ta,{class:r.normalizeClass(n.$style.layout),view:"lHh LpR fFf"},{default:r.withCtx(()=>[n.logged?(r.openBlock(),r.createElementBlock("div",{key:0,class:r.normalizeClass(n.$style["loader-backdrop"])},[r.createVNode(Tn,{size:"md",color:"white",class:r.normalizeClass(n.$style["loader-spinner"])},null,8,["class"])],2)):r.createCommentVNode("",!0),r.renderSlot(n.$slots,"drawer"),r.renderSlot(n.$slots,"header"),r.createVNode(Yi,{class:r.normalizeClass({container:n.container}),onWheel:t},{default:r.withCtx(()=>[r.createVNode(Xi,null,{default:r.withCtx(()=>[r.renderSlot(n.$slots,"default"),r.renderSlot(n.$slots,"page-bottom")]),_:3})]),_:3},8,["class"]),r.renderSlot(n.$slots,"footer")]),_:3},8,["class"]))}}),[["__cssModules",{$style:{layout:"_layout_1hhwj_1",loaderBackdrop:"_loader-backdrop_1hhwj_6",loaderSpinner:"_loader-spinner_1hhwj_13"}}]]),oa={xs:8,sm:10,md:14,lg:20,xl:24},hr=re({name:"QChip",props:{...Pt,..._n,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:t,emit:n}){const{proxy:{$q:o}}=r.getCurrentInstance(),l=Mt(e,o),i=Cn(e,oa),a=r.computed(()=>e.selected===!0||e.icon!==void 0),s=r.computed(()=>e.selected===!0?e.iconSelected||o.iconSet.chip.selected:e.icon),d=r.computed(()=>e.iconRemove||o.iconSet.chip.remove),c=r.computed(()=>e.disable===!1&&(e.clickable===!0||e.selected!==null)),u=r.computed(()=>{const h=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}`:"")+(h?` text-${h} 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":"")+(c.value===!0?" q-chip--clickable cursor-pointer non-selectable q-hoverable":"")+(e.square===!0?" q-chip--square":"")+(l.value===!0?" q-chip--dark q-dark":"")}),m=r.computed(()=>{const h=e.disable===!0?{tabindex:-1,"aria-disabled":"true"}:{tabindex:e.tabindex||0},P={...h,role:"button","aria-hidden":"false","aria-label":e.removeAriaLabel||o.lang.label.remove};return{chip:h,remove:P}});function y(h){h.keyCode===13&&v(h)}function v(h){e.disable||(n("update:selected",!e.selected),n("click",h))}function p(h){(h.keyCode===void 0||h.keyCode===13)&&(ae(h),e.disable===!1&&(n("update:modelValue",!1),n("remove")))}function k(){const h=[];c.value===!0&&h.push(r.h("div",{class:"q-focus-helper"})),a.value===!0&&h.push(r.h(Ce,{class:"q-chip__icon q-chip__icon--left",name:s.value}));const P=e.label!==void 0?[r.h("div",{class:"ellipsis"},[e.label])]:void 0;return h.push(r.h("div",{class:"q-chip__content col row no-wrap items-center q-anchor--skip"},Al(t.default,P))),e.iconRight&&h.push(r.h(Ce,{class:"q-chip__icon q-chip__icon--right",name:e.iconRight})),e.removable===!0&&h.push(r.h(Ce,{class:"q-chip__icon q-chip__icon--remove cursor-pointer",name:d.value,...m.value.remove,onClick:p,onKeyup:p})),h}return()=>{if(e.modelValue===!1)return;const h={class:u.value,style:i.value};return c.value===!0&&Object.assign(h,m.value.chip,{onClick:v,onKeyup:y}),Ol("div",h,k(),"ripple",e.ripple!==!1&&e.disable!==!0,()=>[[Do,e.ripple]])}}}),Ln=re({name:"QItem",props:{...Pt,...bi,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:t,emit:n}){const{proxy:{$q:o}}=r.getCurrentInstance(),l=Mt(e,o),{hasLink:i,linkAttrs:a,linkClass:s,linkTag:d,navigateOnClick:c}=Qo(),u=r.ref(null),m=r.ref(null),y=r.computed(()=>e.clickable===!0||i.value===!0||e.tag==="label"),v=r.computed(()=>e.disable!==!0&&y.value===!0),p=r.computed(()=>"q-item q-item-type row no-wrap"+(e.dense===!0?" q-item--dense":"")+(l.value===!0?" q-item--dark":"")+(i.value===!0&&e.active===null?s.value:e.active===!0?` q-item--active${e.activeClass!==void 0?` ${e.activeClass}`:""}`:"")+(e.disable===!0?" disabled":"")+(v.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":""):"")),k=r.computed(()=>e.insetLevel===void 0?null:{["padding"+(o.lang.rtl===!0?"Right":"Left")]:16+e.insetLevel*56+"px"});function h(T){v.value===!0&&(m.value!==null&&(T.qKeyEvent!==!0&&document.activeElement===u.value?m.value.focus():document.activeElement===m.value&&u.value.focus()),c(T))}function P(T){if(v.value===!0&&Oe(T,[13,32])===!0){ae(T),T.qKeyEvent=!0;const R=new MouseEvent("click",T);R.qKeyEvent=!0,u.value.dispatchEvent(R)}n("keyup",T)}function C(){const T=Bl(t.default,[]);return v.value===!0&&T.unshift(r.h("div",{class:"q-focus-helper",tabindex:-1,ref:m})),T}return()=>{const T={ref:u,class:p.value,style:k.value,role:"listitem",onClick:h,onKeyup:P};return v.value===!0?(T.tabindex=e.tabindex||"0",Object.assign(T,a.value)):y.value===!0&&(T["aria-disabled"]="true"),r.h(d.value,T,C())}}}),ra=re({name:"QField",inheritAttrs:!1,props:{...$t,tag:{type:String,default:"label"}},emits:On,setup(){return Mn(Pn({tagProp:!0}))}}),la=re({name:"QItemSection",props:{avatar:Boolean,thumbnail:Boolean,side:Boolean,top:Boolean,noWrap:Boolean},setup(e,{slots:t}){const n=r.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()=>r.h("div",{class:n.value},ge(t.default))}}),ia=re({name:"QItemLabel",props:{overline:Boolean,caption:Boolean,header:Boolean,lines:[Number,String]},setup(e,{slots:t}){const n=r.computed(()=>parseInt(e.lines,10)),o=r.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":"")),l=r.computed(()=>e.lines!==void 0&&n.value>1?{overflow:"hidden",display:"-webkit-box","-webkit-box-orient":"vertical","-webkit-line-clamp":n.value}:null);return()=>r.h("div",{style:l.value,class:o.value},ge(t.default))}}),Le=[];let Qe;function aa(e){Qe=e.keyCode===27}function sa(){Qe===!0&&(Qe=!1)}function ua(e){Qe===!0&&(Qe=!1,Oe(e,27)===!0&&Le[Le.length-1](e))}function pr(e){window[e]("keydown",aa),window[e]("blur",sa),window[e]("keyup",ua),Qe=!1}function gr(e){me.is.desktop===!0&&(Le.push(e),Le.length===1&&pr("addEventListener"))}function zt(e){const t=Le.indexOf(e);t!==-1&&(Le.splice(t,1),Le.length===0&&pr("removeEventListener"))}const Ve=[];function vr(e){Ve[Ve.length-1](e)}function yr(e){me.is.desktop===!0&&(Ve.push(e),Ve.length===1&&document.body.addEventListener("focusin",vr))}function Vn(e){const t=Ve.indexOf(e);t!==-1&&(Ve.splice(t,1),Ve.length===0&&document.body.removeEventListener("focusin",vr))}const ca=re({name:"QMenu",inheritAttrs:!1,props:{...Il,...cn,...Pt,...st,persistent:Boolean,autoClose:Boolean,separateClosePopup:Boolean,noRouteDismiss:Boolean,noRefocus:Boolean,noFocus:Boolean,fit:Boolean,cover:Boolean,square:Boolean,anchor:{type:String,validator:Bt},self:{type:String,validator:Bt},offset:{type:Array,validator:Oo},scrollTarget:yn,touchPosition:Boolean,maxHeight:{type:String,default:null},maxWidth:{type:String,default:null}},emits:[...dn,"click","escapeKey"],setup(e,{slots:t,emit:n,attrs:o}){let l=null,i,a,s;const d=r.getCurrentInstance(),{proxy:c}=d,{$q:u}=c,m=r.ref(null),y=r.ref(!1),v=r.computed(()=>e.persistent!==!0&&e.noRouteDismiss!==!0),p=Mt(e,u),{registerTick:k,removeTick:h}=pn(),{registerTimeout:P}=gn(),{transitionProps:C,transitionStyle:T}=hn(e),{localScrollTarget:R,changeScrollEvent:_,unconfigureScrollTarget:B}=wo(e,M),{anchorEl:O,canShow:N}=bo({showing:y}),{hide:S}=fn({showing:y,canShow:N,handleShow:X,handleHide:b,hideOnRouteChange:v,processOnMount:!0}),{showPortal:E,hidePortal:L,renderPortal:x}=mn(d,m,Z,"menu"),j={anchorEl:O,innerRef:m,onClickOutside($){if(e.persistent!==!0&&y.value===!0)return S($),($.type==="touchstart"||$.target.classList.contains("q-dialog__backdrop"))&&ae($),!0}},q=r.computed(()=>At(e.anchor||(e.cover===!0?"center middle":"bottom start"),u.lang.rtl)),H=r.computed(()=>e.cover===!0?q.value:At(e.self||"top start",u.lang.rtl)),D=r.computed(()=>(e.square===!0?" q-menu--square":"")+(p.value===!0?" q-menu--dark q-dark":"")),K=r.computed(()=>e.autoClose===!0?{onClick:W}:{}),V=r.computed(()=>y.value===!0&&e.persistent!==!0);r.watch(V,$=>{$===!0?(gr(A),Ro(j)):(zt(A),Rt(j))});function U(){_t(()=>{let $=m.value;$&&$.contains(document.activeElement)!==!0&&($=$.querySelector("[autofocus][tabindex], [data-autofocus][tabindex]")||$.querySelector("[autofocus] [tabindex], [data-autofocus] [tabindex]")||$.querySelector("[autofocus], [data-autofocus]")||$,$.focus({preventScroll:!0}))})}function X($){if(l=e.noRefocus===!1?document.activeElement:null,yr(Q),E(),M(),i=void 0,$!==void 0&&(e.touchPosition||e.contextMenu)){const ne=vo($);if(ne.left!==void 0){const{top:xe,left:Ze}=O.value.getBoundingClientRect();i={left:ne.left-Ze,top:ne.top-xe}}}a===void 0&&(a=r.watch(()=>u.screen.width+"|"+u.screen.height+"|"+e.self+"|"+e.anchor+"|"+u.lang.rtl,I)),e.noFocus!==!0&&document.activeElement.blur(),k(()=>{I(),e.noFocus!==!0&&U()}),P(()=>{u.platform.is.ios===!0&&(s=e.autoClose,m.value.click()),I(),E(!0),n("show",$)},e.transitionDuration)}function b($){h(),L(),g(!0),l!==null&&($===void 0||$.qClickOutside!==!0)&&((($&&$.type.indexOf("key")===0?l.closest('[tabindex]:not([tabindex^="-"])'):void 0)||l).focus(),l=null),P(()=>{L(!0),n("hide",$)},e.transitionDuration)}function g($){i=void 0,a!==void 0&&(a(),a=void 0),($===!0||y.value===!0)&&(Vn(Q),B(),Rt(j),zt(A)),$!==!0&&(l=null)}function M(){(O.value!==null||e.scrollTarget!==void 0)&&(R.value=bn(O.value,e.scrollTarget),_(R.value,I))}function W($){s!==!0?(Kl(c,$),n("click",$)):s=!1}function Q($){V.value===!0&&e.noFocus!==!0&&Eo(m.value,$.target)!==!0&&U()}function A($){n("escapeKey"),S($)}function I(){Sn({targetEl:m.value,offset:e.offset,anchorEl:O.value,anchorOrigin:q.value,selfOrigin:H.value,absoluteOffset:i,fit:e.fit,cover:e.cover,maxHeight:e.maxHeight,maxWidth:e.maxWidth})}function Z(){return r.h(r.Transition,C.value,()=>y.value===!0?r.h("div",{role:"menu",...o,ref:m,tabindex:-1,class:["q-menu q-position-engine scroll"+D.value,o.class],style:[o.style,T.value],...K.value},ge(t.default)):null)}return r.onBeforeUnmount(g),Object.assign(c,{focus:U,updatePosition:I}),x}});function da(e,t,n){function o(){}return r.onBeforeUnmount(()=>{e.value===!0&&void 0}),{removeFromHistory:o,addToHistory(){}}}let dt=0,$n,Fn,ft,zn=!1,br,wr,Sr,$e=null;function fa(e){ma(e)&&ae(e)}function ma(e){if(e.target===document.body||e.target.classList.contains("q-layout__backdrop"))return!0;const t=zl(e),n=e.shiftKey&&!e.deltaX,o=!n&&Math.abs(e.deltaX)<=Math.abs(e.deltaY),l=n||o?e.deltaY:e.deltaX;for(let i=0;i<t.length;i++){const a=t[i];if(Zl(a,o))return o?l<0&&a.scrollTop===0?!0:l>0&&a.scrollTop+a.clientHeight===a.scrollHeight:l<0&&a.scrollLeft===0?!0:l>0&&a.scrollLeft+a.clientWidth===a.scrollWidth}return!0}function xr(e){e.target===document&&(document.scrollingElement.scrollTop=document.scrollingElement.scrollTop)}function It(e){zn!==!0&&(zn=!0,requestAnimationFrame(()=>{zn=!1;const{height:t}=e.target,{clientHeight:n,scrollTop:o}=document.scrollingElement;(ft===void 0||t!==window.innerHeight)&&(ft=n-t,document.scrollingElement.scrollTop=o),o>ft&&(document.scrollingElement.scrollTop-=Math.ceil((o-ft)/8))}))}function kr(e){const t=document.body,n=window.visualViewport!==void 0;if(e==="add"){const{overflowY:o,overflowX:l}=window.getComputedStyle(t);$n=qo(window),Fn=To(window),br=t.style.left,wr=t.style.top,Sr=window.location.href,t.style.left=`-${$n}px`,t.style.top=`-${Fn}px`,l!=="hidden"&&(l==="scroll"||t.scrollWidth>window.innerWidth)&&t.classList.add("q-body--force-scrollbar-x"),o!=="hidden"&&(o==="scroll"||t.scrollHeight>window.innerHeight)&&t.classList.add("q-body--force-scrollbar-y"),t.classList.add("q-body--prevent-scroll"),document.qScrollPrevented=!0,me.is.ios===!0&&(n===!0?(window.scrollTo(0,0),window.visualViewport.addEventListener("resize",It,se.passiveCapture),window.visualViewport.addEventListener("scroll",It,se.passiveCapture),window.scrollTo(0,0)):window.addEventListener("scroll",xr,se.passiveCapture))}me.is.desktop===!0&&me.is.mac===!0&&window[`${e}EventListener`]("wheel",fa,se.notPassive),e==="remove"&&(me.is.ios===!0&&(n===!0?(window.visualViewport.removeEventListener("resize",It,se.passiveCapture),window.visualViewport.removeEventListener("scroll",It,se.passiveCapture)):window.removeEventListener("scroll",xr,se.passiveCapture)),t.classList.remove("q-body--prevent-scroll"),t.classList.remove("q-body--force-scrollbar-x"),t.classList.remove("q-body--force-scrollbar-y"),document.qScrollPrevented=!1,t.style.left=br,t.style.top=wr,window.location.href===Sr&&window.scrollTo($n,Fn),ft=void 0)}function ha(e){let t="add";if(e===!0){if(dt++,$e!==null){clearTimeout($e),$e=null;return}if(dt>1)return}else{if(dt===0||(dt--,dt>0))return;if(t="remove",me.is.ios===!0&&me.is.nativeMobile===!0){$e!==null&&clearTimeout($e),$e=setTimeout(()=>{kr(t),$e=null},100);return}}kr(t)}function pa(){let e;return{preventBodyScroll(t){t!==e&&(e!==void 0||t===!0)&&(e=t,ha(t))}}}let Nt=0;const ga={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"},_r={standard:["scale","scale"],top:["slide-down","slide-up"],bottom:["slide-up","slide-down"],right:["slide-left","slide-right"],left:["slide-right","slide-left"]},va=re({name:"QDialog",inheritAttrs:!1,props:{...cn,...st,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:[...dn,"shake","click","escapeKey"],setup(e,{slots:t,emit:n,attrs:o}){const l=r.getCurrentInstance(),i=r.ref(null),a=r.ref(!1),s=r.ref(!1);let d=null,c=null,u,m;const y=r.computed(()=>e.persistent!==!0&&e.noRouteDismiss!==!0&&e.seamless!==!0),{preventBodyScroll:v}=pa(),{registerTimeout:p}=gn(),{registerTick:k,removeTick:h}=pn(),{transitionProps:P,transitionStyle:C}=hn(e,()=>_r[e.position][0],()=>_r[e.position][1]),T=r.computed(()=>C.value+(e.backdropFilter!==void 0?`;backdrop-filter:${e.backdropFilter};-webkit-backdrop-filter:${e.backdropFilter}`:"")),{showPortal:R,hidePortal:_,portalIsAccessible:B,renderPortal:O}=mn(l,i,Q,"dialog"),{hide:N}=fn({showing:a,hideOnRouteChange:y,handleShow:H,handleHide:D,processOnMount:!0}),{addToHistory:S,removeFromHistory:E}=da(a),L=r.computed(()=>`q-dialog__inner flex no-pointer-events q-dialog__inner--${e.maximized===!0?"maximized":"minimized"} q-dialog__inner--${e.position} ${ga[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":"")),x=r.computed(()=>a.value===!0&&e.seamless!==!0),j=r.computed(()=>e.autoClose===!0?{onClick:g}:{}),q=r.computed(()=>[`q-dialog fullscreen no-pointer-events q-dialog--${x.value===!0?"modal":"seamless"}`,o.class]);r.watch(()=>e.maximized,A=>{a.value===!0&&b(A)}),r.watch(x,A=>{v(A),A===!0?(yr(W),gr(U)):(Vn(W),zt(U))});function H(A){S(),c=e.noRefocus===!1&&document.activeElement!==null?document.activeElement:null,b(e.maximized),R(),s.value=!0,e.noFocus!==!0?(document.activeElement!==null&&document.activeElement.blur(),k(K)):h(),p(()=>{if(l.proxy.$q.platform.is.ios===!0){if(e.seamless!==!0&&document.activeElement){const{top:I,bottom:Z}=document.activeElement.getBoundingClientRect(),{innerHeight:$}=window,ne=window.visualViewport!==void 0?window.visualViewport.height:$;I>0&&Z>ne/2&&(document.scrollingElement.scrollTop=Math.min(document.scrollingElement.scrollHeight-ne,Z>=$?1/0:Math.ceil(document.scrollingElement.scrollTop+Z-ne/2))),document.activeElement.scrollIntoView()}m=!0,i.value.click(),m=!1}R(!0),s.value=!1,n("show",A)},e.transitionDuration)}function D(A){h(),E(),X(!0),s.value=!0,_(),c!==null&&(((A&&A.type.indexOf("key")===0?c.closest('[tabindex]:not([tabindex^="-"])'):void 0)||c).focus(),c=null),p(()=>{_(!0),s.value=!1,n("hide",A)},e.transitionDuration)}function K(A){_t(()=>{let I=i.value;if(I!==null){if(A!==void 0){const Z=I.querySelector(A);if(Z!==null){Z.focus({preventScroll:!0});return}}I.contains(document.activeElement)!==!0&&(I=I.querySelector("[autofocus][tabindex], [data-autofocus][tabindex]")||I.querySelector("[autofocus] [tabindex], [data-autofocus] [tabindex]")||I.querySelector("[autofocus], [data-autofocus]")||I,I.focus({preventScroll:!0}))}})}function V(A){A&&typeof A.focus=="function"?A.focus({preventScroll:!0}):K(),n("shake");const I=i.value;I!==null&&(I.classList.remove("q-animate--scale"),I.classList.add("q-animate--scale"),d!==null&&clearTimeout(d),d=setTimeout(()=>{d=null,i.value!==null&&(I.classList.remove("q-animate--scale"),K())},170))}function U(){e.seamless!==!0&&(e.persistent===!0||e.noEscDismiss===!0?e.maximized!==!0&&e.noShake!==!0&&V():(n("escapeKey"),N()))}function X(A){d!==null&&(clearTimeout(d),d=null),(A===!0||a.value===!0)&&(b(!1),e.seamless!==!0&&(v(!1),Vn(W),zt(U))),A!==!0&&(c=null)}function b(A){A===!0?u!==!0&&(Nt<1&&document.body.classList.add("q-body--dialog"),Nt++,u=!0):u===!0&&(Nt<2&&document.body.classList.remove("q-body--dialog"),Nt--,u=!1)}function g(A){m!==!0&&(N(A),n("click",A))}function M(A){e.persistent!==!0&&e.noBackdropDismiss!==!0?N(A):e.noShake!==!0&&V()}function W(A){e.allowFocusOutside!==!0&&B.value===!0&&Eo(i.value,A.target)!==!0&&K('[tabindex]:not([tabindex="-1"])')}Object.assign(l.proxy,{focus:K,shake:V,__updateRefocusTarget(A){c=A||null}}),r.onBeforeUnmount(X);function Q(){return r.h("div",{role:"dialog","aria-modal":x.value===!0?"true":"false",...o,class:q.value},[r.h(r.Transition,{name:"q-transition--fade",appear:!0},()=>x.value===!0?r.h("div",{class:"q-dialog__backdrop fixed-full",style:T.value,"aria-hidden":"true",tabindex:-1,onClick:M}):null),r.h(r.Transition,P.value,()=>a.value===!0?r.h("div",{ref:i,class:L.value,style:C.value,tabindex:-1,...j.value},ge(t.default)):null)])}return O}});let Dt=!1;{const e=document.createElement("div");e.setAttribute("dir","rtl"),Object.assign(e.style,{width:"1px",height:"1px",overflow:"auto"});const t=document.createElement("div");Object.assign(t.style,{width:"1000px",height:"1px"}),document.body.appendChild(e),e.appendChild(t),e.scrollLeft=-1e3,Dt=e.scrollLeft>=0,e.remove()}const be=1e3,ya=["start","center","end","start-force","center-force","end-force"],Cr=Array.prototype.filter,ba=window.getComputedStyle(document.body).overflowAnchor===void 0?an:function(e,t){e!==null&&(e._qOverflowAnimationFrame!==void 0&&cancelAnimationFrame(e._qOverflowAnimationFrame),e._qOverflowAnimationFrame=requestAnimationFrame(()=>{if(e===null)return;e._qOverflowAnimationFrame=void 0;const n=e.children||[];Cr.call(n,l=>l.dataset&&l.dataset.qVsAnchor!==void 0).forEach(l=>{delete l.dataset.qVsAnchor});const o=n[t];o&&o.dataset&&(o.dataset.qVsAnchor="")}))};function Je(e,t){return e+t}function In(e,t,n,o,l,i,a,s){const d=e===window?document.scrollingElement||document.documentElement:e,c=l===!0?"offsetWidth":"offsetHeight",u={scrollStart:0,scrollViewSize:-a-s,scrollMaxSize:0,offsetStart:-a,offsetEnd:-s};if(l===!0?(e===window?(u.scrollStart=window.pageXOffset||window.scrollX||document.body.scrollLeft||0,u.scrollViewSize+=document.documentElement.clientWidth):(u.scrollStart=d.scrollLeft,u.scrollViewSize+=d.clientWidth),u.scrollMaxSize=d.scrollWidth,i===!0&&(u.scrollStart=(Dt===!0?u.scrollMaxSize-u.scrollViewSize:0)-u.scrollStart)):(e===window?(u.scrollStart=window.pageYOffset||window.scrollY||document.body.scrollTop||0,u.scrollViewSize+=document.documentElement.clientHeight):(u.scrollStart=d.scrollTop,u.scrollViewSize+=d.clientHeight),u.scrollMaxSize=d.scrollHeight),n!==null)for(let m=n.previousElementSibling;m!==null;m=m.previousElementSibling)m.classList.contains("q-virtual-scroll--skip")===!1&&(u.offsetStart+=m[c]);if(o!==null)for(let m=o.nextElementSibling;m!==null;m=m.nextElementSibling)m.classList.contains("q-virtual-scroll--skip")===!1&&(u.offsetEnd+=m[c]);if(t!==e){const m=d.getBoundingClientRect(),y=t.getBoundingClientRect();l===!0?(u.offsetStart+=y.left-m.left,u.offsetEnd-=y.width):(u.offsetStart+=y.top-m.top,u.offsetEnd-=y.height),e!==window&&(u.offsetStart+=u.scrollStart),u.offsetEnd+=u.scrollMaxSize-u.offsetStart}return u}function Er(e,t,n,o){t==="end"&&(t=(e===window?document.body:e)[n===!0?"scrollWidth":"scrollHeight"]),e===window?n===!0?(o===!0&&(t=(Dt===!0?document.body.scrollWidth-document.documentElement.clientWidth:0)-t),window.scrollTo(t,window.pageYOffset||window.scrollY||document.body.scrollTop||0)):window.scrollTo(window.pageXOffset||window.scrollX||document.body.scrollLeft||0,t):n===!0?(o===!0&&(t=(Dt===!0?e.scrollWidth-e.offsetWidth:0)-t),e.scrollLeft=t):e.scrollTop=t}function mt(e,t,n,o){if(n>=o)return 0;const l=t.length,i=Math.floor(n/be),a=Math.floor((o-1)/be)+1;let s=e.slice(i,a).reduce(Je,0);return n%be!==0&&(s-=t.slice(i*be,n).reduce(Je,0)),o%be!==0&&o!==l&&(s-=t.slice(o,a*be).reduce(Je,0)),s}const Tr={virtualScrollHorizontal:Boolean,onVirtualScroll:Function,...{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]}};function wa({virtualScrollLength:e,getVirtualScrollTarget:t,getVirtualScrollEl:n,virtualScrollItemSizeComputed:o}){const l=r.getCurrentInstance(),{props:i,emit:a,proxy:s}=l,{$q:d}=s;let c,u,m,y=[],v;const p=r.ref(0),k=r.ref(0),h=r.ref({}),P=r.ref(null),C=r.ref(null),T=r.ref(null),R=r.ref({from:0,to:0}),_=r.computed(()=>i.tableColspan!==void 0?i.tableColspan:100);o===void 0&&(o=r.computed(()=>i.virtualScrollItemSize));const B=r.computed(()=>o.value+";"+i.virtualScrollHorizontal),O=r.computed(()=>B.value+";"+i.virtualScrollSliceRatioBefore+";"+i.virtualScrollSliceRatioAfter);r.watch(O,()=>{D()}),r.watch(B,N);function N(){H(u,!0)}function S(b){H(b===void 0?u:b)}function E(b,g){const M=t();if(M==null||M.nodeType===8)return;const W=In(M,n(),P.value,C.value,i.virtualScrollHorizontal,d.lang.rtl,i.virtualScrollStickySizeStart,i.virtualScrollStickySizeEnd);m!==W.scrollViewSize&&D(W.scrollViewSize),x(M,W,Math.min(e.value-1,Math.max(0,parseInt(b,10)||0)),0,ya.indexOf(g)!==-1?g:u!==-1&&b>u?"end":"start")}function L(){const b=t();if(b==null||b.nodeType===8)return;const g=In(b,n(),P.value,C.value,i.virtualScrollHorizontal,d.lang.rtl,i.virtualScrollStickySizeStart,i.virtualScrollStickySizeEnd),M=e.value-1,W=g.scrollMaxSize-g.offsetStart-g.offsetEnd-k.value;if(c===g.scrollStart)return;if(g.scrollMaxSize<=0){x(b,g,0,0);return}m!==g.scrollViewSize&&D(g.scrollViewSize),j(R.value.from);const Q=Math.floor(g.scrollMaxSize-Math.max(g.scrollViewSize,g.offsetEnd)-Math.min(v[M],g.scrollViewSize/2));if(Q>0&&Math.ceil(g.scrollStart)>=Q){x(b,g,M,g.scrollMaxSize-g.offsetEnd-y.reduce(Je,0));return}let A=0,I=g.scrollStart-g.offsetStart,Z=I;if(I<=W&&I+g.scrollViewSize>=p.value)I-=p.value,A=R.value.from,Z=I;else for(let $=0;I>=y[$]&&A<M;$++)I-=y[$],A+=be;for(;I>0&&A<M;)I-=v[A],I>-g.scrollViewSize?(A++,Z=I):Z=v[A]+I;x(b,g,A,Z)}function x(b,g,M,W,Q){const A=typeof Q=="string"&&Q.indexOf("-force")!==-1,I=A===!0?Q.replace("-force",""):Q,Z=I!==void 0?I:"start";let $=Math.max(0,M-h.value[Z]),ne=$+h.value.total;ne>e.value&&(ne=e.value,$=Math.max(0,ne-h.value.total)),c=g.scrollStart;const xe=$!==R.value.from||ne!==R.value.to;if(xe===!1&&I===void 0){V(M);return}const{activeElement:Ze}=document,ke=T.value;xe===!0&&ke!==null&&ke!==Ze&&ke.contains(Ze)===!0&&(ke.addEventListener("focusout",q),setTimeout(()=>{ke!==null&&ke.removeEventListener("focusout",q)})),ba(ke,M-$);const Zt=I!==void 0?v.slice($,M).reduce(Je,0):0;if(xe===!0){const Ne=ne>=R.value.from&&$<=R.value.to?R.value.to:ne;R.value={from:$,to:Ne},p.value=mt(y,v,0,$),k.value=mt(y,v,ne,e.value),requestAnimationFrame(()=>{R.value.to!==ne&&c===g.scrollStart&&(R.value={from:R.value.from,to:ne},k.value=mt(y,v,ne,e.value))})}requestAnimationFrame(()=>{if(c!==g.scrollStart)return;xe===!0&&j($);const Ne=v.slice($,M).reduce(Je,0),De=Ne+g.offsetStart+p.value,Gt=De+v[M];let bt=De+W;if(I!==void 0){const uo=Ne-Zt,wt=g.scrollStart+uo;bt=A!==!0&&wt<De&&Gt<wt+g.scrollViewSize?wt:I==="end"?Gt-g.scrollViewSize:De-(I==="start"?0:Math.round((g.scrollViewSize-v[M])/2))}c=bt,Er(b,bt,i.virtualScrollHorizontal,d.lang.rtl),V(M)})}function j(b){const g=T.value;if(g){const M=Cr.call(g.children,$=>$.classList&&$.classList.contains("q-virtual-scroll--skip")===!1),W=M.length,Q=i.virtualScrollHorizontal===!0?$=>$.getBoundingClientRect().width:$=>$.offsetHeight;let A=b,I,Z;for(let $=0;$<W;){for(I=Q(M[$]),$++;$<W&&M[$].classList.contains("q-virtual-scroll--with-prev")===!0;)I+=Q(M[$]),$++;Z=I-v[A],Z!==0&&(v[A]+=Z,y[Math.floor(A/be)]+=Z),A++}}}function q(){T.value!==null&&T.value!==void 0&&T.value.focus()}function H(b,g){const M=1*o.value;(g===!0||Array.isArray(v)===!1)&&(v=[]);const W=v.length;v.length=e.value;for(let A=e.value-1;A>=W;A--)v[A]=M;const Q=Math.floor((e.value-1)/be);y=[];for(let A=0;A<=Q;A++){let I=0;const Z=Math.min((A+1)*be,e.value);for(let $=A*be;$<Z;$++)I+=v[$];y.push(I)}u=-1,c=void 0,p.value=mt(y,v,0,R.value.from),k.value=mt(y,v,R.value.to,e.value),b>=0?(j(R.value.from),r.nextTick(()=>{E(b)})):U()}function D(b){if(b===void 0&&typeof window<"u"){const I=t();I!=null&&I.nodeType!==8&&(b=In(I,n(),P.value,C.value,i.virtualScrollHorizontal,d.lang.rtl,i.virtualScrollStickySizeStart,i.virtualScrollStickySizeEnd).scrollViewSize)}m=b;const g=parseFloat(i.virtualScrollSliceRatioBefore)||0,M=parseFloat(i.virtualScrollSliceRatioAfter)||0,W=1+g+M,Q=b===void 0||b<=0?1:Math.ceil(b/o.value),A=Math.max(1,Q,Math.ceil((i.virtualScrollSliceSize>0?i.virtualScrollSliceSize:10)/W));h.value={total:Math.ceil(A*W),start:Math.ceil(A*g),center:Math.ceil(A*(.5+g)),end:Math.ceil(A*(1+g)),view:Q}}function K(b,g){const M=i.virtualScrollHorizontal===!0?"width":"height",W={["--q-virtual-scroll-item-"+M]:o.value+"px"};return[b==="tbody"?r.h(b,{class:"q-virtual-scroll__padding",key:"before",ref:P},[r.h("tr",[r.h("td",{style:{[M]:`${p.value}px`,...W},colspan:_.value})])]):r.h(b,{class:"q-virtual-scroll__padding",key:"before",ref:P,style:{[M]:`${p.value}px`,...W}}),r.h(b,{class:"q-virtual-scroll__content",key:"content",ref:T,tabindex:-1},g.flat()),b==="tbody"?r.h(b,{class:"q-virtual-scroll__padding",key:"after",ref:C},[r.h("tr",[r.h("td",{style:{[M]:`${k.value}px`,...W},colspan:_.value})])]):r.h(b,{class:"q-virtual-scroll__padding",key:"after",ref:C,style:{[M]:`${k.value}px`,...W}})]}function V(b){u!==b&&(i.onVirtualScroll!==void 0&&a("virtualScroll",{index:b,from:R.value.from,to:R.value.to-1,direction:b<u?"decrease":"increase",ref:s}),u=b)}D();const U=or(L,d.platform.is.ios===!0?120:35);r.onBeforeMount(()=>{D()});let X=!1;return r.onDeactivated(()=>{X=!0}),r.onActivated(()=>{if(X!==!0)return;const b=t();c!==void 0&&b!==void 0&&b!==null&&b.nodeType!==8?Er(b,c,i.virtualScrollHorizontal,d.lang.rtl):E(u)}),r.onBeforeUnmount(()=>{U.cancel()}),Object.assign(s,{scrollTo:E,reset:N,refresh:S}),{virtualScrollSliceRange:R,virtualScrollSliceSizeComputed:h,setVirtualScrollSize:D,onVirtualScrollEvt:U,localResetVirtualScroll:H,padVirtualScroll:K,scrollTo:E,reset:N,refresh:S}}function qe(e,t){if(e===t)return!0;if(e!==null&&t!==null&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;let n,o;if(e.constructor===Array){if(n=e.length,n!==t.length)return!1;for(o=n;o--!==0;)if(qe(e[o],t[o])!==!0)return!1;return!0}if(e.constructor===Map){if(e.size!==t.size)return!1;let i=e.entries();for(o=i.next();o.done!==!0;){if(t.has(o.value[0])!==!0)return!1;o=i.next()}for(i=e.entries(),o=i.next();o.done!==!0;){if(qe(o.value[1],t.get(o.value[0]))!==!0)return!1;o=i.next()}return!0}if(e.constructor===Set){if(e.size!==t.size)return!1;const i=e.entries();for(o=i.next();o.done!==!0;){if(t.has(o.value[0])!==!0)return!1;o=i.next()}return!0}if(e.buffer!=null&&e.buffer.constructor===ArrayBuffer){if(n=e.length,n!==t.length)return!1;for(o=n;o--!==0;)if(e[o]!==t[o])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===t.toString();const l=Object.keys(e).filter(i=>e[i]!==void 0);if(n=l.length,n!==Object.keys(t).filter(i=>t[i]!==void 0).length)return!1;for(o=n;o--!==0;){const i=l[o];if(qe(e[i],t[i])!==!0)return!1}return!0}return e!==e&&t!==t}function qr(e,t,n){if(n<=t)return t;const o=n-t+1;let l=t+(e-t)%o;return l<t&&(l=o+l),l===0?0:l}const Rr=e=>["add","add-unique","toggle"].includes(e),Sa=".*+?^${}()|[]\\",xa=Object.keys($t);function Nn(e,t){if(typeof e=="function")return e;const n=e!==void 0?e:t;return o=>o!==null&&typeof o=="object"&&n in o?o[n]:o}const ka=re({name:"QSelect",inheritAttrs:!1,props:{...Tr,...ar,...$t,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:Rr},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:Tr.virtualScrollItemSize.type,onNewValue:Function,onFilter:Function},emits:[...On,"add","remove","inputValue","keyup","keypress","keydown","popupShow","popupHide","filterAbort"],setup(e,{slots:t,emit:n}){const{proxy:o}=r.getCurrentInstance(),{$q:l}=o,i=r.ref(!1),a=r.ref(!1),s=r.ref(-1),d=r.ref(""),c=r.ref(!1),u=r.ref(!1);let m=null,y=null,v,p,k,h=null,P,C,T,R;const _=r.ref(null),B=r.ref(null),O=r.ref(null),N=r.ref(null),S=r.ref(null),E=sr(e),L=ur(kl),x=r.computed(()=>e.options.length),j=r.computed(()=>e.virtualScrollItemSize===void 0?e.optionsDense===!0?24:48:e.virtualScrollItemSize),{virtualScrollSliceRange:q,virtualScrollSliceSizeComputed:H,localResetVirtualScroll:D,padVirtualScroll:K,onVirtualScrollEvt:V,scrollTo:U,setVirtualScrollSize:X}=wa({virtualScrollLength:x,getVirtualScrollTarget:du,getVirtualScrollEl:Sl,virtualScrollItemSizeComputed:j}),b=Pn(),g=r.computed(()=>{const f=e.mapOptions===!0&&e.multiple!==!0,F=e.modelValue!==void 0&&(e.modelValue!==null||f===!0)?e.multiple===!0&&Array.isArray(e.modelValue)?e.modelValue:[e.modelValue]:[];if(e.mapOptions===!0){const z=e.mapOptions===!0&&v!==void 0?v:[],Y=F.map(ee=>cu(ee,z));return e.modelValue===null&&f===!0?Y.filter(ee=>ee!==null):Y}return F}),M=r.computed(()=>{const f={};return xa.forEach(F=>{const z=e[F];z!==void 0&&(f[F]=z)}),f}),W=r.computed(()=>e.optionsDark===null?b.isDark.value:e.optionsDark),Q=r.computed(()=>ct(g.value)),A=r.computed(()=>{let f="q-field__input q-placeholder col";return e.hideSelected===!0||g.value.length===0?[f,e.inputClass]:(f+=" q-field__input--padding",e.inputClass===void 0?f:[f,e.inputClass])}),I=r.computed(()=>(e.virtualScrollHorizontal===!0?"q-virtual-scroll--horizontal":"")+(e.popupContentClass?" "+e.popupContentClass:"")),Z=r.computed(()=>x.value===0),$=r.computed(()=>g.value.map(f=>pe.value(f)).join(", ")),ne=r.computed(()=>e.displayValue!==void 0?e.displayValue:$.value),xe=r.computed(()=>e.optionsHtml===!0?()=>!0:f=>f!=null&&f.html===!0),Ze=r.computed(()=>e.displayValueHtml===!0||e.displayValue===void 0&&(e.optionsHtml===!0||g.value.some(xe.value))),ke=r.computed(()=>b.focused.value===!0?e.tabindex:-1),Zt=r.computed(()=>{const f={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":i.value===!0?"true":"false","aria-controls":`${b.targetUid.value}_lb`};return s.value>=0&&(f["aria-activedescendant"]=`${b.targetUid.value}_${s.value}`),f}),Ne=r.computed(()=>({id:`${b.targetUid.value}_lb`,role:"listbox","aria-multiselectable":e.multiple===!0?"true":"false"})),De=r.computed(()=>g.value.map((f,F)=>({index:F,opt:f,html:xe.value(f),selected:!0,removeAtIndex:uu,toggleOption:He,tabindex:ke.value}))),Gt=r.computed(()=>{if(x.value===0)return[];const{from:f,to:F}=q.value;return e.options.slice(f,F).map((z,Y)=>{const ee=Ge.value(z)===!0,G=fo(z)===!0,ce=f+Y,oe={clickable:!0,active:G,activeClass:wt.value,manualFocus:!0,focused:!1,disable:ee,tabindex:-1,dense:e.optionsDense,dark:W.value,role:"option","aria-selected":G===!0?"true":"false",id:`${b.targetUid.value}_${ce}`,onClick:()=>{He(z)}};return ee!==!0&&(s.value===ce&&(oe.focused=!0),l.platform.is.desktop===!0&&(oe.onMousemove=()=>{i.value===!0&&et(ce)})),{index:ce,opt:z,html:xe.value(z),label:pe.value(z),selected:oe.active,focused:oe.focused,toggleOption:He,setOptionIndex:et,itemProps:oe}})}),bt=r.computed(()=>e.dropdownIcon!==void 0?e.dropdownIcon:l.iconSet.arrow.dropdown),uo=r.computed(()=>e.optionsCover===!1&&e.outlined!==!0&&e.standout!==!0&&e.borderless!==!0&&e.rounded!==!0),wt=r.computed(()=>e.optionsSelectedClass!==void 0?e.optionsSelectedClass:e.color!==void 0?`text-${e.color}`:""),_e=r.computed(()=>Nn(e.optionValue,"value")),pe=r.computed(()=>Nn(e.optionLabel,"label")),Ge=r.computed(()=>Nn(e.optionDisable,"disable")),en=r.computed(()=>g.value.map(_e.value)),su=r.computed(()=>{const f={onInput:kl,onChange:L,onKeydown:wl,onKeyup:yl,onKeypress:bl,onFocus:gl,onClick(F){p===!0&&Se(F)}};return f.onCompositionstart=f.onCompositionupdate=f.onCompositionend=L,f});r.watch(g,f=>{v=f,e.useInput===!0&&e.fillInput===!0&&e.multiple!==!0&&b.innerLoading.value!==!0&&(a.value!==!0&&i.value!==!0||Q.value!==!0)&&(k!==!0&&rt(),(a.value===!0||i.value===!0)&&tt(""))},{immediate:!0}),r.watch(()=>e.fillInput,rt),r.watch(i,mo),r.watch(x,ku);function hl(f){return e.emitValue===!0?_e.value(f):f}function co(f){if(f!==-1&&f<g.value.length)if(e.multiple===!0){const F=e.modelValue.slice();n("remove",{index:f,value:F.splice(f,1)[0]}),n("update:modelValue",F)}else n("update:modelValue",null)}function uu(f){co(f),b.focus()}function pl(f,F){const z=hl(f);if(e.multiple!==!0){e.fillInput===!0&&St(pe.value(f),!0,!0),n("update:modelValue",z);return}if(g.value.length===0){n("add",{index:0,value:z}),n("update:modelValue",e.multiple===!0?[z]:z);return}if(F===!0&&fo(f)===!0||e.maxValues!==void 0&&e.modelValue.length>=e.maxValues)return;const Y=e.modelValue.slice();n("add",{index:Y.length,value:z}),Y.push(z),n("update:modelValue",Y)}function He(f,F){if(b.editable.value!==!0||f===void 0||Ge.value(f)===!0)return;const z=_e.value(f);if(e.multiple!==!0){F!==!0&&(St(e.fillInput===!0?pe.value(f):"",!0,!0),je()),B.value!==null&&B.value.focus(),(g.value.length===0||qe(_e.value(g.value[0]),z)!==!0)&&n("update:modelValue",e.emitValue===!0?z:f);return}if((p!==!0||c.value===!0)&&b.focus(),gl(),g.value.length===0){const G=e.emitValue===!0?z:f;n("add",{index:0,value:G}),n("update:modelValue",e.multiple===!0?[G]:G);return}const Y=e.modelValue.slice(),ee=en.value.findIndex(G=>qe(G,z));if(ee!==-1)n("remove",{index:ee,value:Y.splice(ee,1)[0]});else{if(e.maxValues!==void 0&&Y.length>=e.maxValues)return;const G=e.emitValue===!0?z:f;n("add",{index:Y.length,value:G}),Y.push(G)}n("update:modelValue",Y)}function et(f){if(l.platform.is.desktop!==!0)return;const F=f!==-1&&f<x.value?f:-1;s.value!==F&&(s.value=F)}function tn(f=1,F){if(i.value===!0){let z=s.value;do z=qr(z+f,-1,x.value-1);while(z!==-1&&z!==s.value&&Ge.value(e.options[z])===!0);s.value!==z&&(et(z),U(z),F!==!0&&e.useInput===!0&&e.fillInput===!0&&nn(z>=0?pe.value(e.options[z]):P,!0))}}function cu(f,F){const z=Y=>qe(_e.value(Y),f);return e.options.find(z)||F.find(z)||f}function fo(f){const F=_e.value(f);return en.value.find(z=>qe(z,F))!==void 0}function gl(f){e.useInput===!0&&B.value!==null&&(f===void 0||B.value===f.target&&f.target.value===$.value)&&B.value.select()}function vl(f){Oe(f,27)===!0&&i.value===!0&&(Se(f),je(),rt()),n("keyup",f)}function yl(f){const{value:F}=f.target;if(f.keyCode!==void 0){vl(f);return}if(f.target.value="",m!==null&&(clearTimeout(m),m=null),y!==null&&(clearTimeout(y),y=null),rt(),typeof F=="string"&&F.length!==0){const z=F.toLocaleLowerCase(),Y=G=>{const ce=e.options.find(oe=>G.value(oe).toLocaleLowerCase()===z);return ce===void 0?!1:(g.value.indexOf(ce)===-1?He(ce):je(),!0)},ee=G=>{Y(_e)!==!0&&(Y(pe)===!0||G===!0||tt(F,!0,()=>ee(!0)))};ee()}else b.clearValue(f)}function bl(f){n("keypress",f)}function wl(f){if(n("keydown",f),sn(f)===!0)return;const F=d.value.length!==0&&(e.newValueMode!==void 0||e.onNewValue!==void 0),z=f.shiftKey!==!0&&e.disableTabSelection!==!0&&e.multiple!==!0&&(s.value!==-1||F===!0);if(f.keyCode===27){ye(f);return}if(f.keyCode===9&&z===!1){nt();return}if(f.target===void 0||f.target.id!==b.targetUid.value||b.editable.value!==!0)return;if(f.keyCode===40&&b.innerLoading.value!==!0&&i.value===!1){ae(f),ot();return}if(f.keyCode===8&&(e.useChips===!0||e.clearable===!0)&&e.hideSelected!==!0&&d.value.length===0){e.multiple===!0&&Array.isArray(e.modelValue)===!0?co(e.modelValue.length-1):e.multiple!==!0&&e.modelValue!==null&&n("update:modelValue",null);return}(f.keyCode===35||f.keyCode===36)&&(typeof d.value!="string"||d.value.length===0)&&(ae(f),s.value=-1,tn(f.keyCode===36?1:-1,e.multiple)),(f.keyCode===33||f.keyCode===34)&&H.value!==void 0&&(ae(f),s.value=Math.max(-1,Math.min(x.value,s.value+(f.keyCode===33?-1:1)*H.value.view)),tn(f.keyCode===33?1:-1,e.multiple)),(f.keyCode===38||f.keyCode===40)&&(ae(f),tn(f.keyCode===38?-1:1,e.multiple));const Y=x.value;if((T===void 0||R<Date.now())&&(T=""),Y>0&&e.useInput!==!0&&f.key!==void 0&&f.key.length===1&&f.altKey===!1&&f.ctrlKey===!1&&f.metaKey===!1&&(f.keyCode!==32||T.length!==0)){i.value!==!0&&ot(f);const ee=f.key.toLocaleLowerCase(),G=T.length===1&&T[0]===ee;R=Date.now()+1500,G===!1&&(ae(f),T+=ee);const ce=new RegExp("^"+T.split("").map(ho=>Sa.indexOf(ho)!==-1?"\\"+ho:ho).join(".*"),"i");let oe=s.value;if(G===!0||oe<0||ce.test(pe.value(e.options[oe]))!==!0)do oe=qr(oe+1,-1,Y-1);while(oe!==s.value&&(Ge.value(e.options[oe])===!0||ce.test(pe.value(e.options[oe]))!==!0));s.value!==oe&&r.nextTick(()=>{et(oe),U(oe),oe>=0&&e.useInput===!0&&e.fillInput===!0&&nn(pe.value(e.options[oe]),!0)});return}if(!(f.keyCode!==13&&(f.keyCode!==32||e.useInput===!0||T!=="")&&(f.keyCode!==9||z===!1))){if(f.keyCode!==9&&ae(f),s.value!==-1&&s.value<Y){He(e.options[s.value]);return}if(F===!0){const ee=(G,ce)=>{if(ce){if(Rr(ce)!==!0)return}else ce=e.newValueMode;if(St("",e.multiple!==!0,!0),G==null)return;(ce==="toggle"?He:pl)(G,ce==="add-unique"),e.multiple!==!0&&(B.value!==null&&B.value.focus(),je())};if(e.onNewValue!==void 0?n("newValue",d.value,ee):ee(d.value),e.multiple!==!0)return}i.value===!0?nt():b.innerLoading.value!==!0&&ot()}}function Sl(){return p===!0?S.value:O.value!==null&&O.value.contentEl!==null?O.value.contentEl:void 0}function du(){return Sl()}function fu(){return e.hideSelected===!0?[]:t["selected-item"]!==void 0?De.value.map(f=>t["selected-item"](f)).slice():t.selected!==void 0?[].concat(t.selected()):e.useChips===!0?De.value.map((f,F)=>r.h(hr,{key:"option-"+F,removable:b.editable.value===!0&&Ge.value(f.opt)!==!0,dense:!0,textColor:e.color,tabindex:ke.value,onRemove(){f.removeAtIndex(F)}},()=>r.h("span",{class:"ellipsis",[f.html===!0?"innerHTML":"textContent"]:pe.value(f.opt)}))):[r.h("span",{[Ze.value===!0?"innerHTML":"textContent"]:ne.value})]}function xl(){if(Z.value===!0)return t["no-option"]!==void 0?t["no-option"]({inputValue:d.value}):void 0;const f=t.option!==void 0?t.option:z=>r.h(Ln,{key:z.index,...z.itemProps},()=>r.h(la,()=>r.h(ia,()=>r.h("span",{[z.html===!0?"innerHTML":"textContent"]:z.label}))));let F=K("div",Gt.value.map(f));return t["before-options"]!==void 0&&(F=t["before-options"]().concat(F)),Te(t["after-options"],F)}function mu(f,F){const z=F===!0?{...Zt.value,...b.splitAttrs.attributes.value}:void 0,Y={ref:F===!0?B:void 0,key:"i_t",class:A.value,style:e.inputStyle,value:d.value!==void 0?d.value:"",type:"search",...z,id:F===!0?b.targetUid.value:void 0,maxlength:e.maxlength,autocomplete:e.autocomplete,"data-autofocus":f===!0||e.autofocus===!0||void 0,disabled:e.disable===!0,readonly:e.readonly===!0,...su.value};return f!==!0&&p===!0&&(Array.isArray(Y.class)===!0?Y.class=[...Y.class,"no-pointer-events"]:Y.class+=" no-pointer-events"),r.h("input",Y)}function kl(f){m!==null&&(clearTimeout(m),m=null),y!==null&&(clearTimeout(y),y=null),!(f&&f.target&&f.target.qComposing===!0)&&(nn(f.target.value||""),k=!0,P=d.value,b.focused.value!==!0&&(p!==!0||c.value===!0)&&b.focus(),e.onFilter!==void 0&&(m=setTimeout(()=>{m=null,tt(d.value)},e.inputDebounce)))}function nn(f,F){d.value!==f&&(d.value=f,F===!0||e.inputDebounce===0||e.inputDebounce==="0"?n("inputValue",f):y=setTimeout(()=>{y=null,n("inputValue",f)},e.inputDebounce))}function St(f,F,z){k=z!==!0,e.useInput===!0&&(nn(f,!0),(F===!0||z!==!0)&&(P=f),F!==!0&&tt(f))}function tt(f,F,z){if(e.onFilter===void 0||F!==!0&&b.focused.value!==!0)return;b.innerLoading.value===!0?n("filterAbort"):(b.innerLoading.value=!0,u.value=!0),f!==""&&e.multiple!==!0&&g.value.length!==0&&k!==!0&&f===pe.value(g.value[0])&&(f="");const Y=setTimeout(()=>{i.value===!0&&(i.value=!1)},10);h!==null&&clearTimeout(h),h=Y,n("filter",f,(ee,G)=>{(F===!0||b.focused.value===!0)&&h===Y&&(clearTimeout(h),typeof ee=="function"&&ee(),u.value=!1,r.nextTick(()=>{b.innerLoading.value=!1,b.editable.value===!0&&(F===!0?i.value===!0&&je():i.value===!0?mo(!0):i.value=!0),typeof G=="function"&&r.nextTick(()=>{G(o)}),typeof z=="function"&&r.nextTick(()=>{z(o)})}))},()=>{b.focused.value===!0&&h===Y&&(clearTimeout(h),b.innerLoading.value=!1,u.value=!1),i.value===!0&&(i.value=!1)})}function hu(){return r.h(ca,{ref:O,class:I.value,style:e.popupContentStyle,modelValue:i.value,fit:e.menuShrink!==!0,cover:e.optionsCover===!0&&Z.value!==!0&&e.useInput!==!0,anchor:e.menuAnchor,self:e.menuSelf,offset:e.menuOffset,dark:W.value,noParentEvent:!0,noRefocus:!0,noFocus:!0,noRouteDismiss:e.popupNoRouteDismiss,square:uo.value,transitionShow:e.transitionShow,transitionHide:e.transitionHide,transitionDuration:e.transitionDuration,separateClosePopup:!0,...Ne.value,onScrollPassive:V,onBeforeShow:Cl,onBeforeHide:pu,onShow:gu},xl)}function pu(f){El(f),nt()}function gu(){X()}function vu(f){Se(f),B.value!==null&&B.value.focus(),c.value=!0,window.scrollTo(window.pageXOffset||window.scrollX||document.body.scrollLeft||0,0)}function yu(f){Se(f),r.nextTick(()=>{c.value=!1})}function bu(){const f=[r.h(ra,{class:`col-auto ${b.fieldClass.value}`,...M.value,for:b.targetUid.value,dark:W.value,square:!0,loading:u.value,itemAligned:!1,filled:!0,stackLabel:d.value.length!==0,...b.splitAttrs.listeners.value,onFocus:vu,onBlur:yu},{...t,rawControl:()=>b.getControl(!0),before:void 0,after:void 0})];return i.value===!0&&f.push(r.h("div",{ref:S,class:I.value+" scroll",style:e.popupContentStyle,...Ne.value,onClick:ye,onScrollPassive:V},xl())),r.h(va,{ref:N,modelValue:a.value,position:e.useInput===!0?"top":void 0,transitionShow:C,transitionHide:e.transitionHide,transitionDuration:e.transitionDuration,noRouteDismiss:e.popupNoRouteDismiss,onBeforeShow:Cl,onBeforeHide:wu,onHide:Su,onShow:xu},()=>r.h("div",{class:"q-select__dialog"+(W.value===!0?" q-select__dialog--dark q-dark":"")+(c.value===!0?" q-select__dialog--focused":"")},f))}function wu(f){El(f),N.value!==null&&N.value.__updateRefocusTarget(b.rootRef.value.querySelector(".q-field__native > [tabindex]:last-child")),b.focused.value=!1}function Su(f){je(),b.focused.value===!1&&n("blur",f),rt()}function xu(){const f=document.activeElement;(f===null||f.id!==b.targetUid.value)&&B.value!==null&&B.value!==f&&B.value.focus(),X()}function nt(){a.value!==!0&&(s.value=-1,i.value===!0&&(i.value=!1),b.focused.value===!1&&(h!==null&&(clearTimeout(h),h=null),b.innerLoading.value===!0&&(n("filterAbort"),b.innerLoading.value=!1,u.value=!1)))}function ot(f){b.editable.value===!0&&(p===!0?(b.onControlFocusin(f),a.value=!0,r.nextTick(()=>{b.focus()})):b.focus(),e.onFilter!==void 0?tt(d.value):(Z.value!==!0||t["no-option"]!==void 0)&&(i.value=!0))}function je(){a.value=!1,nt()}function rt(){e.useInput===!0&&St(e.multiple!==!0&&e.fillInput===!0&&g.value.length!==0&&pe.value(g.value[0])||"",!0,!0)}function mo(f){let F=-1;if(f===!0){if(g.value.length!==0){const z=_e.value(g.value[0]);F=e.options.findIndex(Y=>qe(_e.value(Y),z))}D(F)}et(F)}function ku(f,F){i.value===!0&&b.innerLoading.value===!1&&(D(-1,!0),r.nextTick(()=>{i.value===!0&&b.innerLoading.value===!1&&(f>F?D():mo(!0))}))}function _l(){a.value===!1&&O.value!==null&&O.value.updatePosition()}function Cl(f){f!==void 0&&Se(f),n("popupShow",f),b.hasPopupOpen=!0,b.onControlFocusin(f)}function El(f){f!==void 0&&Se(f),n("popupHide",f),b.hasPopupOpen=!1,b.onControlFocusout(f)}function Tl(){p=l.platform.is.mobile!==!0&&e.behavior!=="dialog"?!1:e.behavior!=="menu"&&(e.useInput===!0?t["no-option"]!==void 0||e.onFilter!==void 0||Z.value===!1:!0),C=l.platform.is.ios===!0&&p===!0&&e.useInput===!0?"fade":e.transitionShow}return r.onBeforeUpdate(Tl),r.onUpdated(_l),Tl(),r.onBeforeUnmount(()=>{m!==null&&clearTimeout(m),y!==null&&clearTimeout(y)}),Object.assign(o,{showPopup:ot,hidePopup:je,removeAtIndex:co,add:pl,toggleOption:He,getOptionIndex:()=>s.value,setOptionIndex:et,moveOptionSelection:tn,filter:tt,updateMenuPosition:_l,updateInputValue:St,isOptionSelected:fo,getEmittingOptionValue:hl,isOptionDisabled:(...f)=>Ge.value.apply(null,f)===!0,getOptionValue:(...f)=>_e.value.apply(null,f),getOptionLabel:(...f)=>pe.value.apply(null,f)}),Object.assign(b,{innerValue:g,fieldClass:r.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:_,targetRef:B,hasValue:Q,showPopup:ot,floatingLabel:r.computed(()=>e.hideSelected!==!0&&Q.value===!0||typeof d.value=="number"||d.value.length!==0||ct(e.displayValue)),getControlChild:()=>{if(b.editable.value!==!1&&(a.value===!0||Z.value!==!0||t["no-option"]!==void 0))return p===!0?bu():hu();b.hasPopupOpen===!0&&(b.hasPopupOpen=!1)},controlEvents:{onFocusin(f){b.onControlFocusin(f)},onFocusout(f){b.onControlFocusout(f,()=>{rt(),nt()})},onClick(f){if(ye(f),p!==!0&&i.value===!0){nt(),B.value!==null&&B.value.focus();return}ot(f)}},getControl:f=>{const F=fu(),z=f===!0||a.value!==!0||p!==!0;if(e.useInput===!0)F.push(mu(f,z));else if(b.editable.value===!0){const ee=z===!0?Zt.value:void 0;F.push(r.h("input",{ref:z===!0?B:void 0,key:"d_t",class:"q-select__focus-target",id:z===!0?b.targetUid.value:void 0,value:ne.value,readonly:!0,"data-autofocus":f===!0||e.autofocus===!0||void 0,...ee,onKeydown:wl,onKeyup:vl,onKeypress:bl})),z===!0&&typeof e.autocomplete=="string"&&e.autocomplete.length!==0&&F.push(r.h("input",{class:"q-select__autocomplete-input",autocomplete:e.autocomplete,tabindex:-1,onKeyup:yl}))}if(E.value!==void 0&&e.disable!==!0&&en.value.length!==0){const ee=en.value.map(G=>r.h("option",{value:G,selected:!0}));F.push(r.h("select",{class:"hidden",name:E.value,multiple:e.multiple},ee))}const Y=e.useInput===!0||z!==!0?void 0:b.splitAttrs.attributes.value;return r.h("div",{class:"q-field__native row items-center",...Y,...b.splitAttrs.listeners.value},F)},getInnerAppend:()=>e.loading!==!0&&u.value!==!0&&e.hideDropdownIcon!==!0?[r.h(Ce,{class:"q-select__dropdown-icon"+(i.value===!0?" rotate-180":""),name:bt.value})]:null}),Mn(b)}}),_a=ut(r.defineComponent({__name:"AppSelect",props:{modelValue:{},options:{},placeholder:{},emptyText:{},optionLabel:{},optionValue:{},label:{},multiple:{type:Boolean},borderColor:{},isDisabled:{type:Boolean}},emits:["update:modelValue"],setup(e,{emit:t}){r.useCssVars(u=>({"0a94557a":u.borderColor}));const n=e,o=r.ref({}),l=t,i=r.computed({get(){return n.modelValue},set(u){l("update:modelValue",u)}}),a=()=>Array.isArray(i.value)&&!i.value.length?!0:typeof i.value=="string"&&!i.value,s=r.ref(""),d=r.computed(()=>n.options.filter(u=>u[(n==null?void 0:n.optionLabel)||"label"].toLowerCase().includes(s.value)));function c(u,m){m(()=>{s.value=u.toLowerCase()})}return(u,m)=>(r.openBlock(),r.createBlock(r.unref(ka),{ref_key:"select",ref:o,modelValue:i.value,"onUpdate:modelValue":m[0]||(m[0]=y=>i.value=y),options:d.value,"option-value":u.optionValue,"option-label":u.optionLabel,"emit-value":"","map-options":"",disable:u.isDisabled,multiple:u.multiple,outlined:"","stack-label":"","use-input":"",class:r.normalizeClass([u.$style.select]),label:u.label,"input-debounce":"100","popup-content-class":u.$style["app-select__menu"],rounded:"",autocomplete:"",onFilter:c},r.createSlots({"no-option":r.withCtx(()=>[r.createVNode(Ln,null,{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(u.emptyText),1)]),_:1})]),default:r.withCtx(()=>[!s.value&&a()?(r.openBlock(),r.createBlock(Ln,{key:0},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(u.placeholder),1)]),_:1})):r.createCommentVNode("",!0)]),_:2},[u.multiple?{name:"selected-item",fn:r.withCtx(y=>[y.opt?(r.openBlock(),r.createBlock(hr,{key:0,removable:"",class:"q-ma-none",dense:"",tabindex:y.tabindex,color:"white","text-color":"secondary",onRemove:v=>y.removeAtIndex(y.index)},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(y.opt[`${u.optionLabel}`]),1)]),_:2},1032,["tabindex","onRemove"])):r.createCommentVNode("",!0)]),key:"0"}:void 0]),1032,["modelValue","options","option-value","option-label","disable","multiple","class","label","popup-content-class"]))}}),[["__cssModules",{$style:{wrap:"_wrap_n46gp_1",select:"_select_n46gp_8",appendWrapper:"_append-wrapper_n46gp_25",menuWrap:"_menu-wrap_n46gp_31",searchWrapper:"_search-wrapper_n46gp_35",appSelectMenu:"_app-select__menu_n46gp_43",qItemLabel:"_q-item__label_n46gp_46"}}]]),Ca={},Ea={class:"app-wrapper"};function Ta(e,t){return r.openBlock(),r.createElementBlock("div",Ea,[r.renderSlot(e.$slots,"default",{},void 0,!0)])}const qa=ut(Ca,[["render",Ta],["__scopeId","data-v-6bd37b8f"]]);function Br(e,t){return function(){return e.apply(t,arguments)}}const{toString:Ra}=Object.prototype,{getPrototypeOf:Dn}=Object,Ht=(e=>t=>{const n=Ra.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),we=e=>(e=e.toLowerCase(),t=>Ht(t)===e),jt=e=>t=>typeof t===e,{isArray:Xe}=Array,ht=jt("undefined");function Ba(e){return e!==null&&!ht(e)&&e.constructor!==null&&!ht(e.constructor)&&he(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Ar=we("ArrayBuffer");function Aa(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Ar(e.buffer),t}const Oa=jt("string"),he=jt("function"),Or=jt("number"),Ut=e=>e!==null&&typeof e=="object",Pa=e=>e===!0||e===!1,Wt=e=>{if(Ht(e)!=="object")return!1;const t=Dn(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},Ma=we("Date"),La=we("File"),Va=we("Blob"),$a=we("FileList"),Fa=e=>Ut(e)&&he(e.pipe),za=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||he(e.append)&&((t=Ht(e))==="formdata"||t==="object"&&he(e.toString)&&e.toString()==="[object FormData]"))},Ia=we("URLSearchParams"),[Na,Da,Ha,ja]=["ReadableStream","Request","Response","Headers"].map(we),Ua=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function pt(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let o,l;if(typeof e!="object"&&(e=[e]),Xe(e))for(o=0,l=e.length;o<l;o++)t.call(null,e[o],o,e);else{const i=n?Object.getOwnPropertyNames(e):Object.keys(e),a=i.length;let s;for(o=0;o<a;o++)s=i[o],t.call(null,e[s],s,e)}}function Pr(e,t){t=t.toLowerCase();const n=Object.keys(e);let o=n.length,l;for(;o-- >0;)if(l=n[o],t===l.toLowerCase())return l;return null}const Fe=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Mr=e=>!ht(e)&&e!==Fe;function Hn(){const{caseless:e}=Mr(this)&&this||{},t={},n=(o,l)=>{const i=e&&Pr(t,l)||l;Wt(t[i])&&Wt(o)?t[i]=Hn(t[i],o):Wt(o)?t[i]=Hn({},o):Xe(o)?t[i]=o.slice():t[i]=o};for(let o=0,l=arguments.length;o<l;o++)arguments[o]&&pt(arguments[o],n);return t}const Wa=(e,t,n,{allOwnKeys:o}={})=>(pt(t,(l,i)=>{n&&he(l)?e[i]=Br(l,n):e[i]=l},{allOwnKeys:o}),e),Ka=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),Qa=(e,t,n,o)=>{e.prototype=Object.create(t.prototype,o),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},Ja=(e,t,n,o)=>{let l,i,a;const s={};if(t=t||{},e==null)return t;do{for(l=Object.getOwnPropertyNames(e),i=l.length;i-- >0;)a=l[i],(!o||o(a,e,t))&&!s[a]&&(t[a]=e[a],s[a]=!0);e=n!==!1&&Dn(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},Xa=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const o=e.indexOf(t,n);return o!==-1&&o===n},Ya=e=>{if(!e)return null;if(Xe(e))return e;let t=e.length;if(!Or(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},Za=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Dn(Uint8Array)),Ga=(e,t)=>{const o=(e&&e[Symbol.iterator]).call(e);let l;for(;(l=o.next())&&!l.done;){const i=l.value;t.call(e,i[0],i[1])}},es=(e,t)=>{let n;const o=[];for(;(n=e.exec(t))!==null;)o.push(n);return o},ts=we("HTMLFormElement"),ns=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,o,l){return o.toUpperCase()+l}),Lr=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),os=we("RegExp"),Vr=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),o={};pt(n,(l,i)=>{let a;(a=t(l,i,e))!==!1&&(o[i]=a||l)}),Object.defineProperties(e,o)},rs=e=>{Vr(e,(t,n)=>{if(he(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const o=e[n];if(he(o)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},ls=(e,t)=>{const n={},o=l=>{l.forEach(i=>{n[i]=!0})};return Xe(e)?o(e):o(String(e).split(t)),n},is=()=>{},as=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,jn="abcdefghijklmnopqrstuvwxyz",$r="0123456789",Fr={DIGIT:$r,ALPHA:jn,ALPHA_DIGIT:jn+jn.toUpperCase()+$r},ss=(e=16,t=Fr.ALPHA_DIGIT)=>{let n="";const{length:o}=t;for(;e--;)n+=t[Math.random()*o|0];return n};function us(e){return!!(e&&he(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const cs=e=>{const t=new Array(10),n=(o,l)=>{if(Ut(o)){if(t.indexOf(o)>=0)return;if(!("toJSON"in o)){t[l]=o;const i=Xe(o)?[]:{};return pt(o,(a,s)=>{const d=n(a,l+1);!ht(d)&&(i[s]=d)}),t[l]=void 0,i}}return o};return n(e,0)},ds=we("AsyncFunction"),fs=e=>e&&(Ut(e)||he(e))&&he(e.then)&&he(e.catch),zr=((e,t)=>e?setImmediate:t?((n,o)=>(Fe.addEventListener("message",({source:l,data:i})=>{l===Fe&&i===n&&o.length&&o.shift()()},!1),l=>{o.push(l),Fe.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",he(Fe.postMessage)),ms=typeof queueMicrotask<"u"?queueMicrotask.bind(Fe):typeof process<"u"&&process.nextTick||zr,w={isArray:Xe,isArrayBuffer:Ar,isBuffer:Ba,isFormData:za,isArrayBufferView:Aa,isString:Oa,isNumber:Or,isBoolean:Pa,isObject:Ut,isPlainObject:Wt,isReadableStream:Na,isRequest:Da,isResponse:Ha,isHeaders:ja,isUndefined:ht,isDate:Ma,isFile:La,isBlob:Va,isRegExp:os,isFunction:he,isStream:Fa,isURLSearchParams:Ia,isTypedArray:Za,isFileList:$a,forEach:pt,merge:Hn,extend:Wa,trim:Ua,stripBOM:Ka,inherits:Qa,toFlatObject:Ja,kindOf:Ht,kindOfTest:we,endsWith:Xa,toArray:Ya,forEachEntry:Ga,matchAll:es,isHTMLForm:ts,hasOwnProperty:Lr,hasOwnProp:Lr,reduceDescriptors:Vr,freezeMethods:rs,toObjectSet:ls,toCamelCase:ns,noop:is,toFiniteNumber:as,findKey:Pr,global:Fe,isContextDefined:Mr,ALPHABET:Fr,generateString:ss,isSpecCompliantForm:us,toJSONObject:cs,isAsyncFn:ds,isThenable:fs,setImmediate:zr,asap:ms};function J(e,t,n,o,l){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),o&&(this.request=o),l&&(this.response=l,this.status=l.status?l.status:null)}w.inherits(J,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:w.toJSONObject(this.config),code:this.code,status:this.status}}});const Ir=J.prototype,Nr={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{Nr[e]={value:e}}),Object.defineProperties(J,Nr),Object.defineProperty(Ir,"isAxiosError",{value:!0}),J.from=(e,t,n,o,l,i)=>{const a=Object.create(Ir);return w.toFlatObject(e,a,function(d){return d!==Error.prototype},s=>s!=="isAxiosError"),J.call(a,e.message,t,n,o,l),a.cause=e,a.name=e.name,i&&Object.assign(a,i),a};const hs=null;function Un(e){return w.isPlainObject(e)||w.isArray(e)}function Dr(e){return w.endsWith(e,"[]")?e.slice(0,-2):e}function Hr(e,t,n){return e?e.concat(t).map(function(l,i){return l=Dr(l),!n&&i?"["+l+"]":l}).join(n?".":""):t}function ps(e){return w.isArray(e)&&!e.some(Un)}const gs=w.toFlatObject(w,{},null,function(t){return/^is[A-Z]/.test(t)});function Kt(e,t,n){if(!w.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=w.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(k,h){return!w.isUndefined(h[k])});const o=n.metaTokens,l=n.visitor||u,i=n.dots,a=n.indexes,d=(n.Blob||typeof Blob<"u"&&Blob)&&w.isSpecCompliantForm(t);if(!w.isFunction(l))throw new TypeError("visitor must be a function");function c(p){if(p===null)return"";if(w.isDate(p))return p.toISOString();if(!d&&w.isBlob(p))throw new J("Blob is not supported. Use a Buffer instead.");return w.isArrayBuffer(p)||w.isTypedArray(p)?d&&typeof Blob=="function"?new Blob([p]):Buffer.from(p):p}function u(p,k,h){let P=p;if(p&&!h&&typeof p=="object"){if(w.endsWith(k,"{}"))k=o?k:k.slice(0,-2),p=JSON.stringify(p);else if(w.isArray(p)&&ps(p)||(w.isFileList(p)||w.endsWith(k,"[]"))&&(P=w.toArray(p)))return k=Dr(k),P.forEach(function(T,R){!(w.isUndefined(T)||T===null)&&t.append(a===!0?Hr([k],R,i):a===null?k:k+"[]",c(T))}),!1}return Un(p)?!0:(t.append(Hr(h,k,i),c(p)),!1)}const m=[],y=Object.assign(gs,{defaultVisitor:u,convertValue:c,isVisitable:Un});function v(p,k){if(!w.isUndefined(p)){if(m.indexOf(p)!==-1)throw Error("Circular reference detected in "+k.join("."));m.push(p),w.forEach(p,function(P,C){(!(w.isUndefined(P)||P===null)&&l.call(t,P,w.isString(C)?C.trim():C,k,y))===!0&&v(P,k?k.concat(C):[C])}),m.pop()}}if(!w.isObject(e))throw new TypeError("data must be an object");return v(e),t}function jr(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(o){return t[o]})}function Wn(e,t){this._pairs=[],e&&Kt(e,this,t)}const Ur=Wn.prototype;Ur.append=function(t,n){this._pairs.push([t,n])},Ur.toString=function(t){const n=t?function(o){return t.call(this,o,jr)}:jr;return this._pairs.map(function(l){return n(l[0])+"="+n(l[1])},"").join("&")};function vs(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Wr(e,t,n){if(!t)return e;const o=n&&n.encode||vs,l=n&&n.serialize;let i;if(l?i=l(t,n):i=w.isURLSearchParams(t)?t.toString():new Wn(t,n).toString(o),i){const a=e.indexOf("#");a!==-1&&(e=e.slice(0,a)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}class Kr{constructor(){this.handlers=[]}use(t,n,o){return this.handlers.push({fulfilled:t,rejected:n,synchronous:o?o.synchronous:!1,runWhen:o?o.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){w.forEach(this.handlers,function(o){o!==null&&t(o)})}}const Qr={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},ys={isBrowser:!0,classes:{URLSearchParams:typeof URLSearchParams<"u"?URLSearchParams:Wn,FormData:typeof FormData<"u"?FormData:null,Blob:typeof Blob<"u"?Blob:null},protocols:["http","https","file","blob","url","data"]},Kn=typeof window<"u"&&typeof document<"u",Qn=typeof navigator=="object"&&navigator||void 0,bs=Kn&&(!Qn||["ReactNative","NativeScript","NS"].indexOf(Qn.product)<0),ws=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Ss=Kn&&window.location.href||"http://localhost",de={...Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Kn,hasStandardBrowserEnv:bs,hasStandardBrowserWebWorkerEnv:ws,navigator:Qn,origin:Ss},Symbol.toStringTag,{value:"Module"})),...ys};function xs(e,t){return Kt(e,new de.classes.URLSearchParams,Object.assign({visitor:function(n,o,l,i){return de.isNode&&w.isBuffer(n)?(this.append(o,n.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},t))}function ks(e){return w.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function _s(e){const t={},n=Object.keys(e);let o;const l=n.length;let i;for(o=0;o<l;o++)i=n[o],t[i]=e[i];return t}function Jr(e){function t(n,o,l,i){let a=n[i++];if(a==="__proto__")return!0;const s=Number.isFinite(+a),d=i>=n.length;return a=!a&&w.isArray(l)?l.length:a,d?(w.hasOwnProp(l,a)?l[a]=[l[a],o]:l[a]=o,!s):((!l[a]||!w.isObject(l[a]))&&(l[a]=[]),t(n,o,l[a],i)&&w.isArray(l[a])&&(l[a]=_s(l[a])),!s)}if(w.isFormData(e)&&w.isFunction(e.entries)){const n={};return w.forEachEntry(e,(o,l)=>{t(ks(o),l,n,0)}),n}return null}function Cs(e,t,n){if(w.isString(e))try{return(t||JSON.parse)(e),w.trim(e)}catch(o){if(o.name!=="SyntaxError")throw o}return(0,JSON.stringify)(e)}const gt={transitional:Qr,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const o=n.getContentType()||"",l=o.indexOf("application/json")>-1,i=w.isObject(t);if(i&&w.isHTMLForm(t)&&(t=new FormData(t)),w.isFormData(t))return l?JSON.stringify(Jr(t)):t;if(w.isArrayBuffer(t)||w.isBuffer(t)||w.isStream(t)||w.isFile(t)||w.isBlob(t)||w.isReadableStream(t))return t;if(w.isArrayBufferView(t))return t.buffer;if(w.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let s;if(i){if(o.indexOf("application/x-www-form-urlencoded")>-1)return xs(t,this.formSerializer).toString();if((s=w.isFileList(t))||o.indexOf("multipart/form-data")>-1){const d=this.env&&this.env.FormData;return Kt(s?{"files[]":t}:t,d&&new d,this.formSerializer)}}return i||l?(n.setContentType("application/json",!1),Cs(t)):t}],transformResponse:[function(t){const n=this.transitional||gt.transitional,o=n&&n.forcedJSONParsing,l=this.responseType==="json";if(w.isResponse(t)||w.isReadableStream(t))return t;if(t&&w.isString(t)&&(o&&!this.responseType||l)){const a=!(n&&n.silentJSONParsing)&&l;try{return JSON.parse(t)}catch(s){if(a)throw s.name==="SyntaxError"?J.from(s,J.ERR_BAD_RESPONSE,this,null,this.response):s}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:de.classes.FormData,Blob:de.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};w.forEach(["delete","get","head","post","put","patch"],e=>{gt.headers[e]={}});const Es=w.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Ts=e=>{const t={};let n,o,l;return e&&e.split(`
3
- `).forEach(function(a){l=a.indexOf(":"),n=a.substring(0,l).trim().toLowerCase(),o=a.substring(l+1).trim(),!(!n||t[n]&&Es[n])&&(n==="set-cookie"?t[n]?t[n].push(o):t[n]=[o]:t[n]=t[n]?t[n]+", "+o:o)}),t},Xr=Symbol("internals");function vt(e){return e&&String(e).trim().toLowerCase()}function Qt(e){return e===!1||e==null?e:w.isArray(e)?e.map(Qt):String(e)}function qs(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let o;for(;o=n.exec(e);)t[o[1]]=o[2];return t}const Rs=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Jn(e,t,n,o,l){if(w.isFunction(o))return o.call(this,t,n);if(l&&(t=n),!!w.isString(t)){if(w.isString(o))return t.indexOf(o)!==-1;if(w.isRegExp(o))return o.test(t)}}function Bs(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,o)=>n.toUpperCase()+o)}function As(e,t){const n=w.toCamelCase(" "+t);["get","set","has"].forEach(o=>{Object.defineProperty(e,o+n,{value:function(l,i,a){return this[o].call(this,t,l,i,a)},configurable:!0})})}class fe{constructor(t){t&&this.set(t)}set(t,n,o){const l=this;function i(s,d,c){const u=vt(d);if(!u)throw new Error("header name must be a non-empty string");const m=w.findKey(l,u);(!m||l[m]===void 0||c===!0||c===void 0&&l[m]!==!1)&&(l[m||d]=Qt(s))}const a=(s,d)=>w.forEach(s,(c,u)=>i(c,u,d));if(w.isPlainObject(t)||t instanceof this.constructor)a(t,n);else if(w.isString(t)&&(t=t.trim())&&!Rs(t))a(Ts(t),n);else if(w.isHeaders(t))for(const[s,d]of t.entries())i(d,s,o);else t!=null&&i(n,t,o);return this}get(t,n){if(t=vt(t),t){const o=w.findKey(this,t);if(o){const l=this[o];if(!n)return l;if(n===!0)return qs(l);if(w.isFunction(n))return n.call(this,l,o);if(w.isRegExp(n))return n.exec(l);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=vt(t),t){const o=w.findKey(this,t);return!!(o&&this[o]!==void 0&&(!n||Jn(this,this[o],o,n)))}return!1}delete(t,n){const o=this;let l=!1;function i(a){if(a=vt(a),a){const s=w.findKey(o,a);s&&(!n||Jn(o,o[s],s,n))&&(delete o[s],l=!0)}}return w.isArray(t)?t.forEach(i):i(t),l}clear(t){const n=Object.keys(this);let o=n.length,l=!1;for(;o--;){const i=n[o];(!t||Jn(this,this[i],i,t,!0))&&(delete this[i],l=!0)}return l}normalize(t){const n=this,o={};return w.forEach(this,(l,i)=>{const a=w.findKey(o,i);if(a){n[a]=Qt(l),delete n[i];return}const s=t?Bs(i):String(i).trim();s!==i&&delete n[i],n[s]=Qt(l),o[s]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return w.forEach(this,(o,l)=>{o!=null&&o!==!1&&(n[l]=t&&w.isArray(o)?o.join(", "):o)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
4
- `)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const o=new this(t);return n.forEach(l=>o.set(l)),o}static accessor(t){const o=(this[Xr]=this[Xr]={accessors:{}}).accessors,l=this.prototype;function i(a){const s=vt(a);o[s]||(As(l,a),o[s]=!0)}return w.isArray(t)?t.forEach(i):i(t),this}}fe.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),w.reduceDescriptors(fe.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(o){this[n]=o}}}),w.freezeMethods(fe);function Xn(e,t){const n=this||gt,o=t||n,l=fe.from(o.headers);let i=o.data;return w.forEach(e,function(s){i=s.call(n,i,l.normalize(),t?t.status:void 0)}),l.normalize(),i}function Yr(e){return!!(e&&e.__CANCEL__)}function Ye(e,t,n){J.call(this,e??"canceled",J.ERR_CANCELED,t,n),this.name="CanceledError"}w.inherits(Ye,J,{__CANCEL__:!0});function Zr(e,t,n){const o=n.config.validateStatus;!n.status||!o||o(n.status)?e(n):t(new J("Request failed with status code "+n.status,[J.ERR_BAD_REQUEST,J.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function Os(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function Ps(e,t){e=e||10;const n=new Array(e),o=new Array(e);let l=0,i=0,a;return t=t!==void 0?t:1e3,function(d){const c=Date.now(),u=o[i];a||(a=c),n[l]=d,o[l]=c;let m=i,y=0;for(;m!==l;)y+=n[m++],m=m%e;if(l=(l+1)%e,l===i&&(i=(i+1)%e),c-a<t)return;const v=u&&c-u;return v?Math.round(y*1e3/v):void 0}}function Ms(e,t){let n=0,o=1e3/t,l,i;const a=(c,u=Date.now())=>{n=u,l=null,i&&(clearTimeout(i),i=null),e.apply(null,c)};return[(...c)=>{const u=Date.now(),m=u-n;m>=o?a(c,u):(l=c,i||(i=setTimeout(()=>{i=null,a(l)},o-m)))},()=>l&&a(l)]}const Jt=(e,t,n=3)=>{let o=0;const l=Ps(50,250);return Ms(i=>{const a=i.loaded,s=i.lengthComputable?i.total:void 0,d=a-o,c=l(d),u=a<=s;o=a;const m={loaded:a,total:s,progress:s?a/s:void 0,bytes:d,rate:c||void 0,estimated:c&&s&&u?(s-a)/c:void 0,event:i,lengthComputable:s!=null,[t?"download":"upload"]:!0};e(m)},n)},Gr=(e,t)=>{const n=e!=null;return[o=>t[0]({lengthComputable:n,total:e,loaded:o}),t[1]]},el=e=>(...t)=>w.asap(()=>e(...t)),Ls=de.hasStandardBrowserEnv?function(){const t=de.navigator&&/(msie|trident)/i.test(de.navigator.userAgent),n=document.createElement("a");let o;function l(i){let a=i;return t&&(n.setAttribute("href",a),a=n.href),n.setAttribute("href",a),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return o=l(window.location.href),function(a){const s=w.isString(a)?l(a):a;return s.protocol===o.protocol&&s.host===o.host}}():function(){return function(){return!0}}(),Vs=de.hasStandardBrowserEnv?{write(e,t,n,o,l,i){const a=[e+"="+encodeURIComponent(t)];w.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),w.isString(o)&&a.push("path="+o),w.isString(l)&&a.push("domain="+l),i===!0&&a.push("secure"),document.cookie=a.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function $s(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Fs(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function tl(e,t){return e&&!$s(t)?Fs(e,t):t}const nl=e=>e instanceof fe?{...e}:e;function ze(e,t){t=t||{};const n={};function o(c,u,m){return w.isPlainObject(c)&&w.isPlainObject(u)?w.merge.call({caseless:m},c,u):w.isPlainObject(u)?w.merge({},u):w.isArray(u)?u.slice():u}function l(c,u,m){if(w.isUndefined(u)){if(!w.isUndefined(c))return o(void 0,c,m)}else return o(c,u,m)}function i(c,u){if(!w.isUndefined(u))return o(void 0,u)}function a(c,u){if(w.isUndefined(u)){if(!w.isUndefined(c))return o(void 0,c)}else return o(void 0,u)}function s(c,u,m){if(m in t)return o(c,u);if(m in e)return o(void 0,c)}const d={url:i,method:i,data:i,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:s,headers:(c,u)=>l(nl(c),nl(u),!0)};return w.forEach(Object.keys(Object.assign({},e,t)),function(u){const m=d[u]||l,y=m(e[u],t[u],u);w.isUndefined(y)&&m!==s||(n[u]=y)}),n}const ol=e=>{const t=ze({},e);let{data:n,withXSRFToken:o,xsrfHeaderName:l,xsrfCookieName:i,headers:a,auth:s}=t;t.headers=a=fe.from(a),t.url=Wr(tl(t.baseURL,t.url),e.params,e.paramsSerializer),s&&a.set("Authorization","Basic "+btoa((s.username||"")+":"+(s.password?unescape(encodeURIComponent(s.password)):"")));let d;if(w.isFormData(n)){if(de.hasStandardBrowserEnv||de.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if((d=a.getContentType())!==!1){const[c,...u]=d?d.split(";").map(m=>m.trim()).filter(Boolean):[];a.setContentType([c||"multipart/form-data",...u].join("; "))}}if(de.hasStandardBrowserEnv&&(o&&w.isFunction(o)&&(o=o(t)),o||o!==!1&&Ls(t.url))){const c=l&&i&&Vs.read(i);c&&a.set(l,c)}return t},zs=typeof XMLHttpRequest<"u"&&function(e){return new Promise(function(n,o){const l=ol(e);let i=l.data;const a=fe.from(l.headers).normalize();let{responseType:s,onUploadProgress:d,onDownloadProgress:c}=l,u,m,y,v,p;function k(){v&&v(),p&&p(),l.cancelToken&&l.cancelToken.unsubscribe(u),l.signal&&l.signal.removeEventListener("abort",u)}let h=new XMLHttpRequest;h.open(l.method.toUpperCase(),l.url,!0),h.timeout=l.timeout;function P(){if(!h)return;const T=fe.from("getAllResponseHeaders"in h&&h.getAllResponseHeaders()),_={data:!s||s==="text"||s==="json"?h.responseText:h.response,status:h.status,statusText:h.statusText,headers:T,config:e,request:h};Zr(function(O){n(O),k()},function(O){o(O),k()},_),h=null}"onloadend"in h?h.onloadend=P:h.onreadystatechange=function(){!h||h.readyState!==4||h.status===0&&!(h.responseURL&&h.responseURL.indexOf("file:")===0)||setTimeout(P)},h.onabort=function(){h&&(o(new J("Request aborted",J.ECONNABORTED,e,h)),h=null)},h.onerror=function(){o(new J("Network Error",J.ERR_NETWORK,e,h)),h=null},h.ontimeout=function(){let R=l.timeout?"timeout of "+l.timeout+"ms exceeded":"timeout exceeded";const _=l.transitional||Qr;l.timeoutErrorMessage&&(R=l.timeoutErrorMessage),o(new J(R,_.clarifyTimeoutError?J.ETIMEDOUT:J.ECONNABORTED,e,h)),h=null},i===void 0&&a.setContentType(null),"setRequestHeader"in h&&w.forEach(a.toJSON(),function(R,_){h.setRequestHeader(_,R)}),w.isUndefined(l.withCredentials)||(h.withCredentials=!!l.withCredentials),s&&s!=="json"&&(h.responseType=l.responseType),c&&([y,p]=Jt(c,!0),h.addEventListener("progress",y)),d&&h.upload&&([m,v]=Jt(d),h.upload.addEventListener("progress",m),h.upload.addEventListener("loadend",v)),(l.cancelToken||l.signal)&&(u=T=>{h&&(o(!T||T.type?new Ye(null,e,h):T),h.abort(),h=null)},l.cancelToken&&l.cancelToken.subscribe(u),l.signal&&(l.signal.aborted?u():l.signal.addEventListener("abort",u)));const C=Os(l.url);if(C&&de.protocols.indexOf(C)===-1){o(new J("Unsupported protocol "+C+":",J.ERR_BAD_REQUEST,e));return}h.send(i||null)})},Is=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let o=new AbortController,l;const i=function(c){if(!l){l=!0,s();const u=c instanceof Error?c:this.reason;o.abort(u instanceof J?u:new Ye(u instanceof Error?u.message:u))}};let a=t&&setTimeout(()=>{a=null,i(new J(`timeout ${t} of ms exceeded`,J.ETIMEDOUT))},t);const s=()=>{e&&(a&&clearTimeout(a),a=null,e.forEach(c=>{c.unsubscribe?c.unsubscribe(i):c.removeEventListener("abort",i)}),e=null)};e.forEach(c=>c.addEventListener("abort",i));const{signal:d}=o;return d.unsubscribe=()=>w.asap(s),d}},Ns=function*(e,t){let n=e.byteLength;if(n<t){yield e;return}let o=0,l;for(;o<n;)l=o+t,yield e.slice(o,l),o=l},Ds=async function*(e,t){for await(const n of Hs(e))yield*Ns(n,t)},Hs=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:n,value:o}=await t.read();if(n)break;yield o}}finally{await t.cancel()}},rl=(e,t,n,o)=>{const l=Ds(e,t);let i=0,a,s=d=>{a||(a=!0,o&&o(d))};return new ReadableStream({async pull(d){try{const{done:c,value:u}=await l.next();if(c){s(),d.close();return}let m=u.byteLength;if(n){let y=i+=m;n(y)}d.enqueue(new Uint8Array(u))}catch(c){throw s(c),c}},cancel(d){return s(d),l.return()}},{highWaterMark:2})},Xt=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",ll=Xt&&typeof ReadableStream=="function",js=Xt&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),il=(e,...t)=>{try{return!!e(...t)}catch{return!1}},Us=ll&&il(()=>{let e=!1;const t=new Request(de.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),al=64*1024,Yn=ll&&il(()=>w.isReadableStream(new Response("").body)),Yt={stream:Yn&&(e=>e.body)};Xt&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!Yt[t]&&(Yt[t]=w.isFunction(e[t])?n=>n[t]():(n,o)=>{throw new J(`Response type '${t}' is not supported`,J.ERR_NOT_SUPPORT,o)})})})(new Response);const Ws=async e=>{if(e==null)return 0;if(w.isBlob(e))return e.size;if(w.isSpecCompliantForm(e))return(await new Request(de.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(w.isArrayBufferView(e)||w.isArrayBuffer(e))return e.byteLength;if(w.isURLSearchParams(e)&&(e=e+""),w.isString(e))return(await js(e)).byteLength},Ks=async(e,t)=>{const n=w.toFiniteNumber(e.getContentLength());return n??Ws(t)},Zn={http:hs,xhr:zs,fetch:Xt&&(async e=>{let{url:t,method:n,data:o,signal:l,cancelToken:i,timeout:a,onDownloadProgress:s,onUploadProgress:d,responseType:c,headers:u,withCredentials:m="same-origin",fetchOptions:y}=ol(e);c=c?(c+"").toLowerCase():"text";let v=Is([l,i&&i.toAbortSignal()],a),p;const k=v&&v.unsubscribe&&(()=>{v.unsubscribe()});let h;try{if(d&&Us&&n!=="get"&&n!=="head"&&(h=await Ks(u,o))!==0){let _=new Request(t,{method:"POST",body:o,duplex:"half"}),B;if(w.isFormData(o)&&(B=_.headers.get("content-type"))&&u.setContentType(B),_.body){const[O,N]=Gr(h,Jt(el(d)));o=rl(_.body,al,O,N)}}w.isString(m)||(m=m?"include":"omit");const P="credentials"in Request.prototype;p=new Request(t,{...y,signal:v,method:n.toUpperCase(),headers:u.normalize().toJSON(),body:o,duplex:"half",credentials:P?m:void 0});let C=await fetch(p);const T=Yn&&(c==="stream"||c==="response");if(Yn&&(s||T&&k)){const _={};["status","statusText","headers"].forEach(S=>{_[S]=C[S]});const B=w.toFiniteNumber(C.headers.get("content-length")),[O,N]=s&&Gr(B,Jt(el(s),!0))||[];C=new Response(rl(C.body,al,O,()=>{N&&N(),k&&k()}),_)}c=c||"text";let R=await Yt[w.findKey(Yt,c)||"text"](C,e);return!T&&k&&k(),await new Promise((_,B)=>{Zr(_,B,{data:R,headers:fe.from(C.headers),status:C.status,statusText:C.statusText,config:e,request:p})})}catch(P){throw k&&k(),P&&P.name==="TypeError"&&/fetch/i.test(P.message)?Object.assign(new J("Network Error",J.ERR_NETWORK,e,p),{cause:P.cause||P}):J.from(P,P&&P.code,e,p)}})};w.forEach(Zn,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const sl=e=>`- ${e}`,Qs=e=>w.isFunction(e)||e===null||e===!1,ul={getAdapter:e=>{e=w.isArray(e)?e:[e];const{length:t}=e;let n,o;const l={};for(let i=0;i<t;i++){n=e[i];let a;if(o=n,!Qs(n)&&(o=Zn[(a=String(n)).toLowerCase()],o===void 0))throw new J(`Unknown adapter '${a}'`);if(o)break;l[a||"#"+i]=o}if(!o){const i=Object.entries(l).map(([s,d])=>`adapter ${s} `+(d===!1?"is not supported by the environment":"is not available in the build"));let a=t?i.length>1?`since :
5
- `+i.map(sl).join(`
6
- `):" "+sl(i[0]):"as no adapter specified";throw new J("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return o},adapters:Zn};function Gn(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Ye(null,e)}function cl(e){return Gn(e),e.headers=fe.from(e.headers),e.data=Xn.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),ul.getAdapter(e.adapter||gt.adapter)(e).then(function(o){return Gn(e),o.data=Xn.call(e,e.transformResponse,o),o.headers=fe.from(o.headers),o},function(o){return Yr(o)||(Gn(e),o&&o.response&&(o.response.data=Xn.call(e,e.transformResponse,o.response),o.response.headers=fe.from(o.response.headers))),Promise.reject(o)})}const dl="1.7.7",eo={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{eo[e]=function(o){return typeof o===e||"a"+(t<1?"n ":" ")+e}});const fl={};eo.transitional=function(t,n,o){function l(i,a){return"[Axios v"+dl+"] Transitional option '"+i+"'"+a+(o?". "+o:"")}return(i,a,s)=>{if(t===!1)throw new J(l(a," has been removed"+(n?" in "+n:"")),J.ERR_DEPRECATED);return n&&!fl[a]&&(fl[a]=!0,console.warn(l(a," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(i,a,s):!0}};function Js(e,t,n){if(typeof e!="object")throw new J("options must be an object",J.ERR_BAD_OPTION_VALUE);const o=Object.keys(e);let l=o.length;for(;l-- >0;){const i=o[l],a=t[i];if(a){const s=e[i],d=s===void 0||a(s,i,e);if(d!==!0)throw new J("option "+i+" must be "+d,J.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new J("Unknown option "+i,J.ERR_BAD_OPTION)}}const to={assertOptions:Js,validators:eo},Re=to.validators;class Ie{constructor(t){this.defaults=t,this.interceptors={request:new Kr,response:new Kr}}async request(t,n){try{return await this._request(t,n)}catch(o){if(o instanceof Error){let l;Error.captureStackTrace?Error.captureStackTrace(l={}):l=new Error;const i=l.stack?l.stack.replace(/^.+\n/,""):"";try{o.stack?i&&!String(o.stack).endsWith(i.replace(/^.+\n.+\n/,""))&&(o.stack+=`
7
- `+i):o.stack=i}catch{}}throw o}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=ze(this.defaults,n);const{transitional:o,paramsSerializer:l,headers:i}=n;o!==void 0&&to.assertOptions(o,{silentJSONParsing:Re.transitional(Re.boolean),forcedJSONParsing:Re.transitional(Re.boolean),clarifyTimeoutError:Re.transitional(Re.boolean)},!1),l!=null&&(w.isFunction(l)?n.paramsSerializer={serialize:l}:to.assertOptions(l,{encode:Re.function,serialize:Re.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let a=i&&w.merge(i.common,i[n.method]);i&&w.forEach(["delete","get","head","post","put","patch","common"],p=>{delete i[p]}),n.headers=fe.concat(a,i);const s=[];let d=!0;this.interceptors.request.forEach(function(k){typeof k.runWhen=="function"&&k.runWhen(n)===!1||(d=d&&k.synchronous,s.unshift(k.fulfilled,k.rejected))});const c=[];this.interceptors.response.forEach(function(k){c.push(k.fulfilled,k.rejected)});let u,m=0,y;if(!d){const p=[cl.bind(this),void 0];for(p.unshift.apply(p,s),p.push.apply(p,c),y=p.length,u=Promise.resolve(n);m<y;)u=u.then(p[m++],p[m++]);return u}y=s.length;let v=n;for(m=0;m<y;){const p=s[m++],k=s[m++];try{v=p(v)}catch(h){k.call(this,h);break}}try{u=cl.call(this,v)}catch(p){return Promise.reject(p)}for(m=0,y=c.length;m<y;)u=u.then(c[m++],c[m++]);return u}getUri(t){t=ze(this.defaults,t);const n=tl(t.baseURL,t.url);return Wr(n,t.params,t.paramsSerializer)}}w.forEach(["delete","get","head","options"],function(t){Ie.prototype[t]=function(n,o){return this.request(ze(o||{},{method:t,url:n,data:(o||{}).data}))}}),w.forEach(["post","put","patch"],function(t){function n(o){return function(i,a,s){return this.request(ze(s||{},{method:t,headers:o?{"Content-Type":"multipart/form-data"}:{},url:i,data:a}))}}Ie.prototype[t]=n(),Ie.prototype[t+"Form"]=n(!0)});class no{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(i){n=i});const o=this;this.promise.then(l=>{if(!o._listeners)return;let i=o._listeners.length;for(;i-- >0;)o._listeners[i](l);o._listeners=null}),this.promise.then=l=>{let i;const a=new Promise(s=>{o.subscribe(s),i=s}).then(l);return a.cancel=function(){o.unsubscribe(i)},a},t(function(i,a,s){o.reason||(o.reason=new Ye(i,a,s),n(o.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=o=>{t.abort(o)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new no(function(l){t=l}),cancel:t}}}function Xs(e){return function(n){return e.apply(null,n)}}function Ys(e){return w.isObject(e)&&e.isAxiosError===!0}const oo={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(oo).forEach(([e,t])=>{oo[t]=e});function ml(e){const t=new Ie(e),n=Br(Ie.prototype.request,t);return w.extend(n,Ie.prototype,t,{allOwnKeys:!0}),w.extend(n,t,null,{allOwnKeys:!0}),n.create=function(l){return ml(ze(e,l))},n}const ie=ml(gt);ie.Axios=Ie,ie.CanceledError=Ye,ie.CancelToken=no,ie.isCancel=Yr,ie.VERSION=dl,ie.toFormData=Kt,ie.AxiosError=J,ie.Cancel=ie.CanceledError,ie.all=function(t){return Promise.all(t)},ie.spread=Xs,ie.isAxiosError=Ys,ie.mergeConfig=ze,ie.AxiosHeaders=fe,ie.formToJSON=e=>Jr(w.isHTMLForm(e)?new FormData(e):e),ie.getAdapter=ul.getAdapter,ie.HttpStatusCode=oo,ie.default=ie;class yt{constructor(){ql(this,"axiosInstance");this.axiosInstance=ie.create({baseURL:process.env.VUE_APP_BACKEND,headers:{"Content-Type":"application/json"}}),this.axiosInstance.interceptors.request.use(t=>{const n=this.getToken();return n&&t.headers&&(t.headers.Authorization=`Bearer ${n}`),t},t=>Promise.reject(t)),this.axiosInstance.interceptors.response.use(t=>t.data,t=>{var n,o;return(((n=t.response)==null?void 0:n.status)===401||((o=t.response)==null?void 0:o.status)===403)&&this.logout(),Promise.reject(t)})}getToken(){return localStorage.getItem("token")}removeToken(){localStorage.removeItem("token")}logout(){this.removeToken(),window.location.href="/sign-in"}handleError(t){t.response?console.error("API Error:",t.response.status,t.response.data):t.request?console.error("No response received:",t.request):console.error("Error during request setup:",t.message)}async get(t,n){try{const o=await this.axiosInstance.get(t,n);return(o==null?void 0:o.data)??o}catch(o){const l=o;throw this.handleError(l),o}}async delete(t,n){try{return await this.axiosInstance.delete(t,n)}catch(o){const l=o;throw this.handleError(l),o}}async post(t,n,o){try{return(await this.axiosInstance.post(t,n,o)).data}catch(l){const i=l;throw this.handleError(i),l}}async put(t,n,o){try{return(await this.axiosInstance.put(t,n,o)).data}catch(l){const i=l;throw this.handleError(i),l}}}class Zs extends yt{async fetchCriticalPathTasks(t){return await this.get(`gantt/get_list_task_on_critical_path?${t}`)}async fetchGanttList(t){return await this.get(`/gantt/tasks?${t}`)}}let ro;function Gs(){return ro||(ro=new Zs),ro}class eu extends yt{async fetchPieProjects(t){return await this.get("repairs/pie/projects?"+t)}async fetchPieTasks(t){return await this.get("repairs/pie/tasks?"+t)}async fetchPiePersonnel(t){return await this.get("repairs/metrics/get_list_position?"+t)}async fetchPiePersonnelInfo(t){return await this.get(`repairs/metrics/get_list_user_by_position?${t}`)}async fetchPieWorkZone(t){return await this.get("repairs/metrics/get_list_work_zone_instrument?"+t)}async fetchPieCriticalPath(t){return await this.get("repairs/metrics/get_critical_path_group_by_status?"+t)}async fetchPieCriticalPathInfo(t){return await this.get(`repairs/metrics/get_list_task_critical_path_by_status?${t}`)}async fetchPieTmc(t){return await this.get("repairs/metrics/get_list_instrument_type?"+t)}async fetchPieTmcInfo(t){return await this.get(`repairs/metrics/get_list_warehouse_by_instrument_type?${t}`)}async fetchPieUntimelyClosedTask(t){return await this.get("repairs/metrics/get_list_comment_type?"+t)}async fetchPieUntimelyClosedTaskInfo(t){return await this.get(`repairs/metrics/get_list_task_by_comment_type?${t}`)}async fetchPieAdditionalTasks(t){return await this.get("repairs/metrics/get_list_task_after_plan_fixate_group_by_status?"+t)}async fetchPieAdditionalTasksInfo(t){return await this.get(`repairs/metrics/get_list_task_after_plan_fixate_by_status?${t}`)}async fetchPersonnel(t){return await this.get("repairs/statistic/personnel?"+t)}async fetchPieExpired(t){return await this.get("repairs/metrics/get_list_task_expired_group_by_status?"+t)}async fetchPieExpiredInfo(t){return await this.get(`repairs/metrics/get_list_task_expired?${t}`)}}let lo;function tu(){return lo||(lo=new eu),lo}class nu extends yt{async fetchProjectById(t){return await this.get(`/projects/${t}`)}}let io;function ou(){return io||(io=new nu),io}class ru extends yt{fetchFilters(t){return this.get(`repairs?smart=1&${t}`)}fetchRepairs(t,n,o,l,i){return this.get("repairs"+(t?`${n}&per_page=100000${i?"&"+i:""}&${o?"":l}`:`?per_page=100000${i?"&"+i:""}&${l}`))}fetchEquipment(){return this.get("repairs/equipment/list?per_page=100000")}createRepair(t){return this.post("/repairs/equipments",t)}startRepair(t){return this.post(`/repairs/${t}/start`,null)}finishRepair(t){return this.post(`/repairs/${t}/finish`,null)}finishPreparationProject(t){return this.post(`/repairs/${t}/finish_preparation`,null)}moveRepairToCurrent(t){return this.post("/repairs/transfer_repair_plan_to_current",{repairs:[t]})}moveArchiveToCurrent(t){return this.post("/repairs/transfer_repair_archive_to_current",{repairs_ids:[t]})}moveRepairToApr(t){return this.post("/repairs/transfer_repair_current_to_plan",{repairs:[t]})}moveRepairToArchive(t){return this.post("/repairs/transfer_repair_current_to_archive",{repairs_ids:[t]})}updateRepair(t,n){return this.put(`/repairs/${n}`,t)}deleteRepair(t){return this.delete(`/repairs/${t}`)}}let ao;function lu(){return ao||(ao=new ru),ao}class iu extends yt{async fetchTaskById(t){return await this.get(`/tasks/${t}`)}}let so;function au(){return so||(so=new iu),so}te.AppButton=Bi,te.AppInput=Ji,te.AppLayout=na,te.AppSelect=_a,te.AppWrapper=qa,te.useGanttService=Gs,te.useMetricsService=tu,te.useProjectsService=ou,te.useRepairsService=lu,te.useTasksService=au,Object.defineProperty(te,Symbol.toStringTag,{value:"Module"})});
1
+ (function(re,n){typeof exports=="object"&&typeof module<"u"?n(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],n):(re=typeof globalThis<"u"?globalThis:re||self,n(re.SharedRitm={},re.Vue))})(this,function(re,n){"use strict";var bf=Object.defineProperty;var Cf=(re,n,Ue)=>n in re?bf(re,n,{enumerable:!0,configurable:!0,writable:!0,value:Ue}):re[n]=Ue;var Gi=(re,n,Ue)=>Cf(re,typeof n!="symbol"?n+"":n,Ue);var Ue=document.createElement("style");Ue.textContent=`._wrapper_1g76t_1{flex:0 0 auto}._wrapper_1g76t_1.q-btn--rounded{border-radius:14px}._wrapper_1g76t_1.q-btn{color:#0a1629;font-size:16px;font-style:normal;font-weight:700}._wrapper_1g76t_1.--loading span:has(>svg){overflow:hidden}._wrapper_1g76t_1 .q-icon{font-size:1.2em}._wrapper_1g76t_1.--large-icon .q-icon{font-size:1.715em}._wrapper_1g76t_1.--full-width{width:100%}._wrapper_1g76t_1.--link{padding:0 8px;display:inline;min-height:unset;font-size:inherit;text-decoration:underline}._app-input_8jwo9_1.q-field--outlined .q-field__control{border-radius:14px;height:48px;align-items:center;padding:0 16px;color:#87caff}._app-input_8jwo9_1 .q-field__control-container{margin-left:8px}@media (max-width: 1440px){._app-input_8jwo9_1.q-field--outlined .q-field__control{height:40px;padding:0 12px}._app-input_8jwo9_1 .q-field__control-container{margin-left:6px}}._layout_1hhwj_1{position:relative;background:linear-gradient(235deg,#87caff 9.16%,#5386d3 45.8%,#0b3f8e 92.27%)}._loader-backdrop_1hhwj_6{width:100%;height:100%;background-color:#ffffff73;position:absolute;z-index:9999}._loader-spinner_1hhwj_13{position:absolute;top:50%;left:50%;z-index:2}._wrap_n46gp_1{position:relative}._wrap_n46gp_1.--option-tree{cursor:pointer}._select_n46gp_8.q-field--outlined.q-field--rounded .q-field__control{border-radius:14px}._select_n46gp_8.q-field--outlined .q-field__control:before{border-color:var(--0a94557a)}._select_n46gp_8.q-select .q-field__input{padding:0 6px}._select_n46gp_8.q-field--outlined .q-item{color:#1d1d1d;position:absolute;padding:0 4px;top:18px;left:0}._append-wrapper_n46gp_25{display:flex;align-items:center;column-gap:4px}._menu-wrap_n46gp_31{padding:8px}._search-wrapper_n46gp_35{position:sticky;top:0;padding:4px;background:var(--main-bg);z-index:1}._app-select__menu_n46gp_43{border-radius:14px}._app-select__menu_n46gp_43 ._q-item__label_n46gp_46{word-break:break-word}._app-select__menu_n46gp_43.q-menu{max-height:200px!important}.app-wrapper[data-v-6bd37b8f]{width:100%;height:100%;margin:20px 0;padding:30px;border-radius:24px;background:#fff;box-shadow:0 6px 58px #00317a1a}@media (max-width: 1440px){.app-wrapper[data-v-6bd37b8f]{margin:10px 0;padding:14px;border-radius:14px}}._app-icon_11ugn_1{stroke:var(--c630246a);fill:none;width:var(--682fb499);height:var(--682fb499)}.expansion-item-active[data-v-9b20a9a7]{background:#f3f9fd1a;border-radius:10px}._menu-item_pfw9c_1{margin:0 8px}._menu-item_pfw9c_1.menu-active{border-radius:10px;background:#f3f9fd1a}._menu-item_pfw9c_1 .q-item__section--avatar{min-width:24px;padding-right:14px}._menu-item_pfw9c_1 .q-expansion-item__content .q-item{padding-left:20px}._menu-item_pfw9c_1 .q-item__section--main~.q-item__section--side{color:#fff}._menu-item__label_pfw9c_18{color:#fff;font-family:Nunito Sans,sans-serif;font-size:16px;font-weight:300;white-space:nowrap}@media (max-width: 1440px){._menu-item_pfw9c_1{margin:0 4px}._menu-item_pfw9c_1 .q-item__section--avatar{min-width:24px;padding-right:10px}._menu-item__label_pfw9c_18{font-size:14px}}._wrapper_oo3ij_1{overflow-y:auto;overflow-x:hidden;flex-grow:1}._wrapper_oo3ij_1 .q-item{min-height:54px}._drawer_1q4rd_1{display:flex;flex-direction:column;height:100vh;background:linear-gradient(184deg,#0b3f8e 9.62%,#5386d3 59.23%,#5386d3 91.63%);border-right:1px solid #e4e6e8}._drawer_1q4rd_1::-webkit-scrollbar{height:4px;width:4px}._drawer_1q4rd_1::-webkit-scrollbar-thumb{width:4px;height:4px}._logo_1q4rd_17{display:flex;justify-content:center;margin:24px 0}._logo__text_1q4rd_22{color:#fff;font-size:20px;font-weight:700}._tablet-logo_1q4rd_28{border-bottom:1px solid white}._tablet-logo__btn_1q4rd_31{color:#fff}._minify-btn_1q4rd_35{background:#0b3f8e;color:#fff;position:absolute;top:25px;right:-17px}._minify-btn_1q4rd_35.--mini .q-icon{transform:rotate(180deg)}._menu-exit_1q4rd_46{border-top:1px solid white}._menu-exit_1q4rd_46 .q-item__section--avatar{min-width:24px}._menu-exit__label_1q4rd_52{color:#fff;font-family:Nunito Sans,sans-serif;font-size:16px;font-weight:300}
2
+ /*$vite$:1*/`,document.head.appendChild(Ue);function It(e,t,o,r){return Object.defineProperty(e,t,{get:o,set:r,enumerable:!0}),e}function ie(e){return n.markRaw(n.defineComponent(e))}function Ro(e){return n.markRaw(e)}function ve(e,t){return e!==void 0&&e()||t}function Ji(e,t){if(e!==void 0){const o=e();if(o!=null)return o.slice()}return t}function Oe(e,t){return e!==void 0?t.concat(e()):t}function el(e,t){return e===void 0?t:t!==void 0?t.concat(e()):e()}function Bn(e,t,o,r,i,l){t.key=r+i;const a=n.h(e,t,o);return i===!0?n.withDirectives(a,l()):a}const tl=["top","middle","bottom"],nl=ie({name:"QBadge",props:{color:String,textColor:String,floating:Boolean,transparent:Boolean,multiLine:Boolean,outline:Boolean,rounded:Boolean,label:[Number,String],align:{type:String,validator:e=>tl.includes(e)}},setup(e,{slots:t}){const o=n.computed(()=>e.align!==void 0?{verticalAlign:e.align}:null),r=n.computed(()=>{const i=e.outline===!0&&e.color||e.textColor;return`q-badge flex inline items-center no-wrap q-badge--${e.multiLine===!0?"multi":"single"}-line`+(e.outline===!0?" q-badge--outline":e.color!==void 0?` bg-${e.color}`:"")+(i!==void 0?` text-${i}`:"")+(e.floating===!0?" q-badge--floating":"")+(e.rounded===!0?" q-badge--rounded":"")+(e.transparent===!0?" q-badge--transparent":"")});return()=>n.h("div",{class:r.value,style:o.value,role:"status","aria-label":e.label},Oe(t.default,e.label!==void 0?[e.label]:[]))}}),We=n.ref(!1);let En;function ol(e,t){const o=/(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:o[5]||o[3]||o[1]||"",version:o[4]||o[2]||"0",platform:t[0]||""}}function rl(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 Ao="ontouchstart"in window||window.navigator.maxTouchPoints>0;function il(e){const t=e.toLowerCase(),o=rl(t),r=ol(t,o),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};r.browser&&(i[r.browser]=!0,i.version=r.version,i.versionNumber=parseInt(r.version,10)),r.platform&&(i[r.platform]=!0);const l=i.android||i.ios||i.bb||i.blackberry||i.ipad||i.iphone||i.ipod||i.kindle||i.playbook||i.silk||i["windows phone"];if(l===!0||t.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,r.browser="edge"):i.crios?(i.chrome=!0,r.browser="chrome"):i.fxios&&(i.firefox=!0,r.browser="firefox"),(i.ipod||i.ipad||i.iphone)&&(i.ios=!0),i.vivaldi&&(r.browser="vivaldi",i.vivaldi=!0),(i.chrome||i.opr||i.safari||i.vivaldi||i.mobile===!0&&i.ios!==!0&&l!==!0)&&(i.webkit=!0),i.opr&&(r.browser="opera",i.opera=!0),i.safari&&(i.blackberry||i.bb?(r.browser="blackberry",i.blackberry=!0):i.playbook?(r.browser="playbook",i.playbook=!0):i.android?(r.browser="android",i.android=!0):i.kindle?(r.browser="kindle",i.kindle=!0):i.silk&&(r.browser="silk",i.silk=!0)),i.name=r.browser,i.platform=r.platform,t.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"),We.value===!0&&(En={is:{...i}}),Ao===!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 a=Math.min(window.innerHeight,window.innerWidth)>414?"ipad":"iphone";Object.assign(i,{mobile:!0,ios:!0,platform:a,[a]:!0})}i.mobile!==!0&&window.navigator.userAgentData&&window.navigator.userAgentData.mobile&&(delete i.desktop,i.mobile=!0)}return i}const Oo=navigator.userAgent||navigator.vendor||window.opera,ll={has:{touch:!1,webStorage:!1},within:{iframe:!1}},me={userAgent:Oo,is:il(Oo),has:{touch:Ao},within:{iframe:window.self!==window.top}},qn={install(e){const{$q:t}=e;We.value===!0?(e.onSSRHydrated.push(()=>{Object.assign(t.platform,me),We.value=!1}),t.platform=n.reactive(this)):t.platform=this}};{let e;It(me.has,"webStorage",()=>{if(e!==void 0)return e;try{if(window.localStorage)return e=!0,!0}catch{}return e=!1,!1}),Object.assign(qn,me),We.value===!0&&(Object.assign(qn,En,ll),En=null)}function jt(){if(window.getSelection!==void 0){const e=window.getSelection();e.empty!==void 0?e.empty():e.removeAllRanges!==void 0&&(e.removeAllRanges(),qn.is.mobile!==!0&&e.addRange(document.createRange()))}else document.selection!==void 0&&document.selection.empty()}const fe={hasPassive:!1,passiveCapture:!0,notPassiveCapture:!0};try{const e=Object.defineProperty({},"passive",{get(){Object.assign(fe,{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 Nt(){}function al(e){return e.button===0}function bt(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 sl(e){if(e.path)return e.path;if(e.composedPath)return e.composedPath();const t=[];let o=e.target;for(;o;){if(t.push(o),o.tagName==="HTML")return t.push(document),t.push(window),t;o=o.parentElement}}function Se(e){e.stopPropagation()}function ke(e){e.cancelable!==!1&&e.preventDefault()}function se(e){e.cancelable!==!1&&e.preventDefault(),e.stopPropagation()}function Tn(e,t){if(e===void 0||t===!0&&e.__dragPrevented===!0)return;const o=t===!0?r=>{r.__dragPrevented=!0,r.addEventListener("dragstart",ke,fe.notPassiveCapture)}:r=>{delete r.__dragPrevented,r.removeEventListener("dragstart",ke,fe.notPassiveCapture)};e.querySelectorAll("a, img").forEach(o)}function Pe(e,t,o){const r=`__q_${t}_evt`;e[r]=e[r]!==void 0?e[r].concat(o):o,o.forEach(i=>{i[0].addEventListener(i[1],e[i[2]],fe[i[3]])})}function Ke(e,t){const o=`__q_${t}_evt`;e[o]!==void 0&&(e[o].forEach(r=>{r[0].removeEventListener(r[1],e[r[2]],fe[r[3]])}),e[o]=void 0)}function Mn(e){return e!==Object(e)||e.isComposing===!0||e.qKeyEvent===!0}function Qe(e,t){return Mn(e)===!0?!1:[].concat(t).includes(e.keyCode)}const Po={target:{type:[Boolean,String,Element],default:!0},noParentEvent:Boolean},ul={...Po,contextMenu:Boolean};function Io({showing:e,avoidEmit:t,configureAnchorEl:o}){const{props:r,proxy:i,emit:l}=n.getCurrentInstance(),a=n.ref(null);let s=null;function d(p){return a.value===null?!1:p===void 0||p.touches===void 0||p.touches.length<=1}const c={};o===void 0&&(Object.assign(c,{hide(p){i.hide(p)},toggle(p){i.toggle(p),p.qAnchorHandled=!0},toggleKey(p){Qe(p,13)===!0&&c.toggle(p)},contextClick(p){i.hide(p),ke(p),n.nextTick(()=>{i.show(p),p.qAnchorHandled=!0})},prevent:ke,mobileTouch(p){if(c.mobileCleanup(p),d(p)!==!0)return;i.hide(p),a.value.classList.add("non-selectable");const h=p.target;Pe(c,"anchor",[[h,"touchmove","mobileCleanup","passive"],[h,"touchend","mobileCleanup","passive"],[h,"touchcancel","mobileCleanup","passive"],[a.value,"contextmenu","prevent","notPassive"]]),s=setTimeout(()=>{s=null,i.show(p),p.qAnchorHandled=!0},300)},mobileCleanup(p){a.value.classList.remove("non-selectable"),s!==null&&(clearTimeout(s),s=null),e.value===!0&&p!==void 0&&jt()}}),o=function(p=r.contextMenu){if(r.noParentEvent===!0||a.value===null)return;let h;p===!0?i.$q.platform.is.mobile===!0?h=[[a.value,"touchstart","mobileTouch","passive"]]:h=[[a.value,"mousedown","hide","passive"],[a.value,"contextmenu","contextClick","notPassive"]]:h=[[a.value,"click","toggle","passive"],[a.value,"keyup","toggleKey","passive"]],Pe(c,"anchor",h)});function u(){Ke(c,"anchor")}function f(p){for(a.value=p;a.value.classList.contains("q-anchor--skip");)a.value=a.value.parentNode;o()}function g(){if(r.target===!1||r.target===""||i.$el.parentNode===null)a.value=null;else if(r.target===!0)f(i.$el.parentNode);else{let p=r.target;if(typeof r.target=="string")try{p=document.querySelector(r.target)}catch{p=void 0}p!=null?(a.value=p.$el||p,o()):(a.value=null,console.error(`Anchor: target "${r.target}" not found`))}}return n.watch(()=>r.contextMenu,p=>{a.value!==null&&(u(),o(p))}),n.watch(()=>r.target,()=>{a.value!==null&&u(),g()}),n.watch(()=>r.noParentEvent,p=>{a.value!==null&&(p===!0?u():o())}),n.onMounted(()=>{g(),t!==!0&&r.modelValue===!0&&a.value===null&&l("update:modelValue",!1)}),n.onBeforeUnmount(()=>{s!==null&&clearTimeout(s),u()}),{anchorEl:a,canShow:d,anchorEvents:c}}function jo(e,t){const o=n.ref(null);let r;function i(s,d){const c=`${d!==void 0?"add":"remove"}EventListener`,u=d!==void 0?d:r;s!==window&&s[c]("scroll",u,fe.passive),window[c]("scroll",u,fe.passive),r=d}function l(){o.value!==null&&(i(o.value),o.value=null)}const a=n.watch(()=>e.noParentEvent,()=>{o.value!==null&&(l(),t())});return n.onBeforeUnmount(a),{localScrollTarget:o,unconfigureScrollTarget:l,changeScrollEvent:i}}function Vn(e){if(Object(e.$parent)===e.$parent)return e.$parent;let{parent:t}=e.$;for(;Object(t)===t;){if(Object(t.proxy)===t.proxy)return t.proxy;t=t.parent}}function No(e){return e.appContext.config.globalProperties.$router!==void 0}function Fo(e){return e.isUnmounted===!0||e.isDeactivated===!0}const Ct={modelValue:{type:Boolean,default:null},"onUpdate:modelValue":[Function,Array]},_t=["beforeShow","show","beforeHide","hide"];function St({showing:e,canShow:t,hideOnRouteChange:o,handleShow:r,handleHide:i,processOnMount:l}){const a=n.getCurrentInstance(),{props:s,emit:d,proxy:c}=a;let u;function f(x){e.value===!0?h(x):g(x)}function g(x){if(s.disable===!0||x!==void 0&&x.qAnchorHandled===!0||t!==void 0&&t(x)!==!0)return;const T=s["onUpdate:modelValue"]!==void 0;T===!0&&(d("update:modelValue",!0),u=x,n.nextTick(()=>{u===x&&(u=void 0)})),(s.modelValue===null||T===!1)&&p(x)}function p(x){e.value!==!0&&(e.value=!0,d("beforeShow",x),r!==void 0?r(x):d("show",x))}function h(x){if(s.disable===!0)return;const T=s["onUpdate:modelValue"]!==void 0;T===!0&&(d("update:modelValue",!1),u=x,n.nextTick(()=>{u===x&&(u=void 0)})),(s.modelValue===null||T===!1)&&k(x)}function k(x){e.value!==!1&&(e.value=!1,d("beforeHide",x),i!==void 0?i(x):d("hide",x))}function w(x){s.disable===!0&&x===!0?s["onUpdate:modelValue"]!==void 0&&d("update:modelValue",!1):x===!0!==e.value&&(x===!0?p:k)(u)}n.watch(()=>s.modelValue,w),o!==void 0&&No(a)===!0&&n.watch(()=>c.$route.fullPath,()=>{o.value===!0&&e.value===!0&&h()}),l===!0&&n.onMounted(()=>{w(s.modelValue)});const S={show:g,hide:h,toggle:f};return Object.assign(c,S),S}let Ze=[],xt=[];function Ho(e){xt=xt.filter(t=>t!==e)}function cl(e){Ho(e),xt.push(e)}function zo(e){Ho(e),xt.length===0&&Ze.length!==0&&(Ze[Ze.length-1](),Ze=[])}function Ft(e){xt.length===0?e():Ze.push(e)}function dl(e){Ze=Ze.filter(t=>t!==e)}const Do={};let fl=1,ml=document.body;function hl(e,t){const o=document.createElement("div");if(o.id=t!==void 0?`q-portal--${t}--${fl++}`:e,Do.globalNodes!==void 0){const r=Do.globalNodes.class;r!==void 0&&(o.className=r)}return ml.appendChild(o),o}function pl(e){e.remove()}const Bt=[];function gl(e,t){do{if(e.$options.name==="QMenu"){if(e.hide(t),e.$props.separateClosePopup===!0)return Vn(e)}else if(e.__qPortal===!0){const o=Vn(e);return o!==void 0&&o.$options.name==="QPopupProxy"?(e.hide(t),o):e}e=Vn(e)}while(e!=null)}const wl=ie({name:"QPortal",setup(e,{slots:t}){return()=>t.default()}});function vl(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 $n(e,t,o,r){const i=n.ref(!1),l=n.ref(!1);let a=null;const s={},d=r==="dialog"&&vl(e);function c(f){if(f===!0){zo(s),l.value=!0;return}l.value=!1,i.value===!1&&(d===!1&&a===null&&(a=hl(!1,r)),i.value=!0,Bt.push(e.proxy),cl(s))}function u(f){if(l.value=!1,f!==!0)return;zo(s),i.value=!1;const g=Bt.indexOf(e.proxy);g!==-1&&Bt.splice(g,1),a!==null&&(pl(a),a=null)}return n.onUnmounted(()=>{u(!0)}),e.proxy.__qPortal=!0,It(e.proxy,"contentEl",()=>t.value),{showPortal:c,hidePortal:u,portalIsActive:i,portalIsAccessible:l,renderPortal:()=>d===!0?o():i.value===!0?[n.h(n.Teleport,{to:a},n.h(wl,o))]:void 0}}const Et={transitionShow:{type:String,default:"fade"},transitionHide:{type:String,default:"fade"},transitionDuration:{type:[String,Number],default:300}};function Ln(e,t=()=>{},o=()=>{}){return{transitionProps:n.computed(()=>{const r=`q-transition--${e.transitionShow||t()}`,i=`q-transition--${e.transitionHide||o()}`;return{appear:!0,enterFromClass:`${r}-enter-from`,enterActiveClass:`${r}-enter-active`,enterToClass:`${r}-enter-to`,leaveFromClass:`${i}-leave-from`,leaveActiveClass:`${i}-leave-active`,leaveToClass:`${i}-leave-to`}}),transitionStyle:n.computed(()=>`--q-transition-duration: ${e.transitionDuration}ms`)}}function Rn(){let e;const t=n.getCurrentInstance();function o(){e=void 0}return n.onDeactivated(o),n.onBeforeUnmount(o),{removeTick:o,registerTick(r){e=r,n.nextTick(()=>{e===r&&(Fo(t)===!1&&e(),e=void 0)})}}}function Ht(){let e=null;const t=n.getCurrentInstance();function o(){e!==null&&(clearTimeout(e),e=null)}return n.onDeactivated(o),n.onBeforeUnmount(o),{removeTimeout:o,registerTimeout(r,i){o(),Fo(t)===!1&&(e=setTimeout(()=>{e=null,r()},i))}}}function An(e,t){const o=e.style;for(const r in t)o[r]=t[r]}function kl(e){if(e==null)return;if(typeof e=="string")try{return document.querySelector(e)||void 0}catch{return}const t=n.unref(e);if(t)return t.$el||t}function Uo(e,t){if(e==null||e.contains(t)===!0)return!0;for(let o=e.nextElementSibling;o!==null;o=o.nextElementSibling)if(o.contains(t))return!0;return!1}const On=[Element,String],yl=[null,document,document.body,document.scrollingElement,document.documentElement];function Pn(e,t){let o=kl(t);if(o===void 0){if(e==null)return window;o=e.closest(".scroll,.scroll-y,.overflow-auto")}return yl.includes(o)?window:o}function Wo(e){return e===window?window.pageYOffset||window.scrollY||document.body.scrollTop||0:e.scrollTop}function Ko(e){return e===window?window.pageXOffset||window.scrollX||document.body.scrollLeft||0:e.scrollLeft}let zt;function Dt(){if(zt!==void 0)return zt;const e=document.createElement("p"),t=document.createElement("div");An(e,{width:"100%",height:"200px"}),An(t,{position:"absolute",top:"0px",left:"0px",visibility:"hidden",width:"200px",height:"150px",overflow:"hidden"}),t.appendChild(e),document.body.appendChild(t);const o=e.offsetWidth;t.style.overflow="scroll";let r=e.offsetWidth;return o===r&&(r=t.clientWidth),t.remove(),zt=o-r,zt}function bl(e,t=!0){return!e||e.nodeType!==Node.ELEMENT_NODE?!1:t?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{notPassiveCapture:Ut}=fe,Xe=[];function Wt(e){const t=e.target;if(t===void 0||t.nodeType===8||t.classList.contains("no-pointer-events")===!0)return;let o=Bt.length-1;for(;o>=0;){const r=Bt[o].$;if(r.type.name==="QTooltip"){o--;continue}if(r.type.name!=="QDialog")break;if(r.props.seamless!==!0)return;o--}for(let r=Xe.length-1;r>=0;r--){const i=Xe[r];if((i.anchorEl.value===null||i.anchorEl.value.contains(t)===!1)&&(t===document.body||i.innerRef.value!==null&&i.innerRef.value.contains(t)===!1))e.qClickOutside=!0,i.onClickOutside(e);else return}}function Qo(e){Xe.push(e),Xe.length===1&&(document.addEventListener("mousedown",Wt,Ut),document.addEventListener("touchstart",Wt,Ut))}function Kt(e){const t=Xe.findIndex(o=>o===e);t!==-1&&(Xe.splice(t,1),Xe.length===0&&(document.removeEventListener("mousedown",Wt,Ut),document.removeEventListener("touchstart",Wt,Ut)))}let Zo,Xo;function Qt(e){const t=e.split(" ");return t.length!==2?!1:["top","center","bottom"].includes(t[0])!==!0?(console.error("Anchor/Self position must start with one of top/center/bottom"),!1):["left","middle","right","start","end"].includes(t[1])!==!0?(console.error("Anchor/Self position must end with one of left/middle/right/start/end"),!1):!0}function Yo(e){return e?!(e.length!==2||typeof e[0]!="number"||typeof e[1]!="number"):!0}const In={"start#ltr":"left","start#rtl":"right","end#ltr":"right","end#rtl":"left"};["left","middle","right"].forEach(e=>{In[`${e}#ltr`]=e,In[`${e}#rtl`]=e});function Zt(e,t){const o=e.split(" ");return{vertical:o[0],horizontal:In[`${o[1]}#${t===!0?"rtl":"ltr"}`]}}function Cl(e,t){let{top:o,left:r,right:i,bottom:l,width:a,height:s}=e.getBoundingClientRect();return t!==void 0&&(o-=t[1],r-=t[0],l+=t[1],i+=t[0],a+=t[0],s+=t[1]),{top:o,bottom:l,height:s,left:r,right:i,width:a,middle:r+(i-r)/2,center:o+(l-o)/2}}function _l(e,t,o){let{top:r,left:i}=e.getBoundingClientRect();return r+=t.top,i+=t.left,o!==void 0&&(r+=o[1],i+=o[0]),{top:r,bottom:r+1,height:1,left:i,right:i+1,width:1,middle:i,center:r}}function Sl(e,t){return{top:0,center:t/2,bottom:t,left:0,middle:e/2,right:e}}function Go(e,t,o,r){return{top:e[o.vertical]-t[r.vertical],left:e[o.horizontal]-t[r.horizontal]}}function jn(e,t=0){if(e.targetEl===null||e.anchorEl===null||t>5)return;if(e.targetEl.offsetHeight===0||e.targetEl.offsetWidth===0){setTimeout(()=>{jn(e,t+1)},10);return}const{targetEl:o,offset:r,anchorEl:i,anchorOrigin:l,selfOrigin:a,absoluteOffset:s,fit:d,cover:c,maxHeight:u,maxWidth:f}=e;if(me.is.ios===!0&&window.visualViewport!==void 0){const V=document.body.style,{offsetLeft:$,offsetTop:F}=window.visualViewport;$!==Zo&&(V.setProperty("--q-pe-left",$+"px"),Zo=$),F!==Xo&&(V.setProperty("--q-pe-top",F+"px"),Xo=F)}const{scrollLeft:g,scrollTop:p}=o,h=s===void 0?Cl(i,c===!0?[0,0]:r):_l(i,s,r);Object.assign(o.style,{top:0,left:0,minWidth:null,minHeight:null,maxWidth:f,maxHeight:u,visibility:"visible"});const{offsetWidth:k,offsetHeight:w}=o,{elWidth:S,elHeight:x}=d===!0||c===!0?{elWidth:Math.max(h.width,k),elHeight:c===!0?Math.max(h.height,w):w}:{elWidth:k,elHeight:w};let T={maxWidth:f,maxHeight:u};(d===!0||c===!0)&&(T.minWidth=h.width+"px",c===!0&&(T.minHeight=h.height+"px")),Object.assign(o.style,T);const M=Sl(S,x);let E=Go(h,M,l,a);if(s===void 0||r===void 0)Nn(E,h,M,l,a);else{const{top:V,left:$}=E;Nn(E,h,M,l,a);let F=!1;if(E.top!==V){F=!0;const _=2*r[1];h.center=h.top-=_,h.bottom-=_+2}if(E.left!==$){F=!0;const _=2*r[0];h.middle=h.left-=_,h.right-=_+2}F===!0&&(E=Go(h,M,l,a),Nn(E,h,M,l,a))}T={top:E.top+"px",left:E.left+"px"},E.maxHeight!==void 0&&(T.maxHeight=E.maxHeight+"px",h.height>E.maxHeight&&(T.minHeight=T.maxHeight)),E.maxWidth!==void 0&&(T.maxWidth=E.maxWidth+"px",h.width>E.maxWidth&&(T.minWidth=T.maxWidth)),Object.assign(o.style,T),o.scrollTop!==p&&(o.scrollTop=p),o.scrollLeft!==g&&(o.scrollLeft=g)}function Nn(e,t,o,r,i){const l=o.bottom,a=o.right,s=Dt(),d=window.innerHeight-s,c=document.body.clientWidth;if(e.top<0||e.top+l>d)if(i.vertical==="center")e.top=t[r.vertical]>d/2?Math.max(0,d-l):0,e.maxHeight=Math.min(l,d);else if(t[r.vertical]>d/2){const u=Math.min(d,r.vertical==="center"?t.center:r.vertical===i.vertical?t.bottom:t.top);e.maxHeight=Math.min(l,u),e.top=Math.max(0,u-l)}else e.top=Math.max(0,r.vertical==="center"?t.center:r.vertical===i.vertical?t.top:t.bottom),e.maxHeight=Math.min(l,d-e.top);if(e.left<0||e.left+a>c)if(e.maxWidth=Math.min(a,c),i.horizontal==="middle")e.left=t[r.horizontal]>c/2?Math.max(0,c-a):0;else if(t[r.horizontal]>c/2){const u=Math.min(c,r.horizontal==="middle"?t.middle:r.horizontal===i.horizontal?t.right:t.left);e.maxWidth=Math.min(a,u),e.left=Math.max(0,u-e.maxWidth)}else e.left=Math.max(0,r.horizontal==="middle"?t.middle:r.horizontal===i.horizontal?t.left:t.right),e.maxWidth=Math.min(a,c-e.left)}const Xt=ie({name:"QTooltip",inheritAttrs:!1,props:{...Po,...Ct,...Et,maxHeight:{type:String,default:null},maxWidth:{type:String,default:null},transitionShow:{...Et.transitionShow,default:"jump-down"},transitionHide:{...Et.transitionHide,default:"jump-up"},anchor:{type:String,default:"bottom middle",validator:Qt},self:{type:String,default:"top middle",validator:Qt},offset:{type:Array,default:()=>[14,14],validator:Yo},scrollTarget:On,delay:{type:Number,default:0},hideDelay:{type:Number,default:0},persistent:Boolean},emits:[..._t],setup(e,{slots:t,emit:o,attrs:r}){let i,l;const a=n.getCurrentInstance(),{proxy:{$q:s}}=a,d=n.ref(null),c=n.ref(!1),u=n.computed(()=>Zt(e.anchor,s.lang.rtl)),f=n.computed(()=>Zt(e.self,s.lang.rtl)),g=n.computed(()=>e.persistent!==!0),{registerTick:p,removeTick:h}=Rn(),{registerTimeout:k}=Ht(),{transitionProps:w,transitionStyle:S}=Ln(e),{localScrollTarget:x,changeScrollEvent:T,unconfigureScrollTarget:M}=jo(e,Z),{anchorEl:E,canShow:V,anchorEvents:$}=Io({showing:c,configureAnchorEl:W}),{show:F,hide:_}=St({showing:c,canShow:V,handleShow:N,handleHide:q,hideOnRouteChange:g,processOnMount:!0});Object.assign($,{delayShow:P,delayHide:L});const{showPortal:B,hidePortal:A,renderPortal:b}=$n(a,d,v,"tooltip");if(s.platform.is.mobile===!0){const I={anchorEl:E,innerRef:d,onClickOutside(X){return _(X),X.target.classList.contains("q-dialog__backdrop")&&se(X),!0}},Q=n.computed(()=>e.modelValue===null&&e.persistent!==!0&&c.value===!0);n.watch(Q,X=>{(X===!0?Qo:Kt)(I)}),n.onBeforeUnmount(()=>{Kt(I)})}function N(I){B(),p(()=>{l=new MutationObserver(()=>H()),l.observe(d.value,{attributes:!1,childList:!0,characterData:!0,subtree:!0}),H(),Z()}),i===void 0&&(i=n.watch(()=>s.screen.width+"|"+s.screen.height+"|"+e.self+"|"+e.anchor+"|"+s.lang.rtl,H)),k(()=>{B(!0),o("show",I)},e.transitionDuration)}function q(I){h(),A(),K(),k(()=>{A(!0),o("hide",I)},e.transitionDuration)}function K(){l!==void 0&&(l.disconnect(),l=void 0),i!==void 0&&(i(),i=void 0),M(),Ke($,"tooltipTemp")}function H(){jn({targetEl:d.value,offset:e.offset,anchorEl:E.value,anchorOrigin:u.value,selfOrigin:f.value,maxHeight:e.maxHeight,maxWidth:e.maxWidth})}function P(I){if(s.platform.is.mobile===!0){jt(),document.body.classList.add("non-selectable");const Q=E.value,X=["touchmove","touchcancel","touchend","click"].map(R=>[Q,R,"delayHide","passiveCapture"]);Pe($,"tooltipTemp",X)}k(()=>{F(I)},e.delay)}function L(I){s.platform.is.mobile===!0&&(Ke($,"tooltipTemp"),jt(),setTimeout(()=>{document.body.classList.remove("non-selectable")},10)),k(()=>{_(I)},e.hideDelay)}function W(){if(e.noParentEvent===!0||E.value===null)return;const I=s.platform.is.mobile===!0?[[E.value,"touchstart","delayShow","passive"]]:[[E.value,"mouseenter","delayShow","passive"],[E.value,"mouseleave","delayHide","passive"]];Pe($,"anchor",I)}function Z(){if(E.value!==null||e.scrollTarget!==void 0){x.value=Pn(E.value,e.scrollTarget);const I=e.noParentEvent===!0?H:_;T(x.value,I)}}function y(){return c.value===!0?n.h("div",{...r,ref:d,class:["q-tooltip q-tooltip--style q-position-engine no-pointer-events",r.class],style:[r.style,S.value],role:"tooltip"},ve(t.default)):null}function v(){return n.h(n.Transition,w.value,y)}return n.onBeforeUnmount(K),Object.assign(a.proxy,{updatePosition:H}),b}}),Fn={xs:18,sm:24,md:32,lg:38,xl:46},Yt={size:String};function Gt(e,t=Fn){return n.computed(()=>e.size!==void 0?{fontSize:e.size in t?`${t[e.size]}px`:e.size}:null)}const Jo="0 0 24 24",er=e=>e,Hn=e=>`ionicons ${e}`,tr={"mdi-":e=>`mdi ${e}`,"icon-":er,"bt-":e=>`bt ${e}`,"eva-":e=>`eva ${e}`,"ion-md":Hn,"ion-ios":Hn,"ion-logo":Hn,"iconfont ":er,"ti-":e=>`themify-icon ${e}`,"bi-":e=>`bootstrap-icons ${e}`},nr={o_:"-outlined",r_:"-round",s_:"-sharp"},or={sym_o_:"-outlined",sym_r_:"-rounded",sym_s_:"-sharp"},xl=new RegExp("^("+Object.keys(tr).join("|")+")"),Bl=new RegExp("^("+Object.keys(nr).join("|")+")"),rr=new RegExp("^("+Object.keys(or).join("|")+")"),El=/^[Mm]\s?[-+]?\.?\d/,ql=/^img:/,Tl=/^svguse:/,Ml=/^ion-/,Vl=/^(fa-(classic|sharp|solid|regular|light|brands|duotone|thin)|[lf]a[srlbdk]?) /,Ee=ie({name:"QIcon",props:{...Yt,tag:{type:String,default:"i"},name:String,color:String,left:Boolean,right:Boolean},setup(e,{slots:t}){const{proxy:{$q:o}}=n.getCurrentInstance(),r=Gt(e),i=n.computed(()=>"q-icon"+(e.left===!0?" on-left":"")+(e.right===!0?" on-right":"")+(e.color!==void 0?` text-${e.color}`:"")),l=n.computed(()=>{let a,s=e.name;if(s==="none"||!s)return{none:!0};if(o.iconMapFn!==null){const u=o.iconMapFn(s);if(u!==void 0)if(u.icon!==void 0){if(s=u.icon,s==="none"||!s)return{none:!0}}else return{cls:u.cls,content:u.content!==void 0?u.content:" "}}if(El.test(s)===!0){const[u,f=Jo]=s.split("|");return{svg:!0,viewBox:f,nodes:u.split("&&").map(g=>{const[p,h,k]=g.split("@@");return n.h("path",{style:h,d:p,transform:k})})}}if(ql.test(s)===!0)return{img:!0,src:s.substring(4)};if(Tl.test(s)===!0){const[u,f=Jo]=s.split("|");return{svguse:!0,src:u.substring(7),viewBox:f}}let d=" ";const c=s.match(xl);if(c!==null)a=tr[c[1]](s);else if(Vl.test(s)===!0)a=s;else if(Ml.test(s)===!0)a=`ionicons ion-${o.platform.is.ios===!0?"ios":"md"}${s.substring(3)}`;else if(rr.test(s)===!0){a="notranslate material-symbols";const u=s.match(rr);u!==null&&(s=s.substring(6),a+=or[u[1]]),d=s}else{a="notranslate material-icons";const u=s.match(Bl);u!==null&&(s=s.substring(2),a+=nr[u[1]]),d=s}return{cls:a,content:d}});return()=>{const a={class:i.value,style:r.value,"aria-hidden":"true",role:"presentation"};return l.value.none===!0?n.h(e.tag,a,ve(t.default)):l.value.img===!0?n.h(e.tag,a,Oe(t.default,[n.h("img",{src:l.value.src})])):l.value.svg===!0?n.h(e.tag,a,Oe(t.default,[n.h("svg",{viewBox:l.value.viewBox||"0 0 24 24"},l.value.nodes)])):l.value.svguse===!0?n.h(e.tag,a,Oe(t.default,[n.h("svg",{viewBox:l.value.viewBox},[n.h("use",{"xlink:href":l.value.src})])])):(l.value.cls!==void 0&&(a.class+=" "+l.value.cls),n.h(e.tag,a,Oe(t.default,[l.value.content])))}}}),$l={size:{type:[String,Number],default:"1em"},color:String};function Ll(e){return{cSize:n.computed(()=>e.size in Fn?`${Fn[e.size]}px`:e.size),classes:n.computed(()=>"q-spinner"+(e.color?` text-${e.color}`:""))}}const zn=ie({name:"QSpinner",props:{...$l,thickness:{type:Number,default:5}},setup(e){const{cSize:t,classes:o}=Ll(e);return()=>n.h("svg",{class:o.value+" q-spinner-mat",width:t.value,height:t.value,viewBox:"25 25 50 50"},[n.h("circle",{class:"path",cx:"50",cy:"50",r:"20",fill:"none",stroke:"currentColor","stroke-width":e.thickness,"stroke-miterlimit":"10"})])}});function Rl(e,t=250){let o=!1,r;return function(){return o===!1&&(o=!0,setTimeout(()=>{o=!1},t),r=e.apply(this,arguments)),r}}function ir(e,t,o,r){o.modifiers.stop===!0&&Se(e);const i=o.modifiers.color;let l=o.modifiers.center;l=l===!0||r===!0;const a=document.createElement("span"),s=document.createElement("span"),d=bt(e),{left:c,top:u,width:f,height:g}=t.getBoundingClientRect(),p=Math.sqrt(f*f+g*g),h=p/2,k=`${(f-p)/2}px`,w=l?k:`${d.left-c-h}px`,S=`${(g-p)/2}px`,x=l?S:`${d.top-u-h}px`;s.className="q-ripple__inner",An(s,{height:`${p}px`,width:`${p}px`,transform:`translate3d(${w},${x},0) scale3d(.2,.2,1)`,opacity:0}),a.className=`q-ripple${i?" text-"+i:""}`,a.setAttribute("dir","ltr"),a.appendChild(s),t.appendChild(a);const T=()=>{a.remove(),clearTimeout(M)};o.abort.push(T);let M=setTimeout(()=>{s.classList.add("q-ripple__inner--enter"),s.style.transform=`translate3d(${k},${S},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(()=>{a.remove(),o.abort.splice(o.abort.indexOf(T),1)},275)},250)},50)}function lr(e,{modifiers:t,value:o,arg:r}){const i=Object.assign({},e.cfg.ripple,t,o);e.modifiers={early:i.early===!0,stop:i.stop===!0,center:i.center===!0,color:i.color||r,keyCodes:[].concat(i.keyCodes||13)}}const Jt=Ro({name:"ripple",beforeMount(e,t){const o=t.instance.$.appContext.config.globalProperties.$q.config||{};if(o.ripple===!1)return;const r={cfg:o,enabled:t.value!==!1,modifiers:{},abort:[],start(i){r.enabled===!0&&i.qSkipRipple!==!0&&i.type===(r.modifiers.early===!0?"pointerdown":"click")&&ir(i,e,r,i.qKeyEvent===!0)},keystart:Rl(i=>{r.enabled===!0&&i.qSkipRipple!==!0&&Qe(i,r.modifiers.keyCodes)===!0&&i.type===`key${r.modifiers.early===!0?"down":"up"}`&&ir(i,e,r,!0)},300)};lr(r,t),e.__qripple=r,Pe(r,"main",[[e,"pointerdown","start","passive"],[e,"click","start","passive"],[e,"keydown","keystart","passive"],[e,"keyup","keystart","passive"]])},updated(e,t){if(t.oldValue!==t.value){const o=e.__qripple;o!==void 0&&(o.enabled=t.value!==!1,o.enabled===!0&&Object(t.value)===t.value&&lr(o,t))}},beforeUnmount(e){const t=e.__qripple;t!==void 0&&(t.abort.forEach(o=>{o()}),Ke(t,"main"),delete e._qripple)}}),ar={left:"start",center:"center",right:"end",between:"between",around:"around",evenly:"evenly",stretch:"stretch"},Al=Object.keys(ar),Ol={align:{type:String,validator:e=>Al.includes(e)}};function Pl(e){return n.computed(()=>{const t=e.align===void 0?e.vertical===!0?"stretch":"left":e.align;return`${e.vertical===!0?"items":"justify"}-${ar[t]}`})}function sr(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}function ur(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Il(e,t){for(const o in t){const r=t[o],i=e[o];if(typeof r=="string"){if(r!==i)return!1}else if(Array.isArray(i)===!1||i.length!==r.length||r.some((l,a)=>l!==i[a]))return!1}return!0}function cr(e,t){return Array.isArray(t)===!0?e.length===t.length&&e.every((o,r)=>o===t[r]):e.length===1&&e[0]===t}function jl(e,t){return Array.isArray(e)===!0?cr(e,t):Array.isArray(t)===!0?cr(t,e):e===t}function Nl(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const o in e)if(jl(e[o],t[o])===!1)return!1;return!0}const dr={to:[String,Object],replace:Boolean,href:String,target:String,disable:Boolean},Dn={...dr,exact:Boolean,activeClass:{type:String,default:"q-router-link--active"},exactActiveClass:{type:String,default:"q-router-link--exact-active"}};function fr({fallbackTag:e,useDisableForRouterLinkProps:t=!0}={}){const o=n.getCurrentInstance(),{props:r,proxy:i,emit:l}=o,a=No(o),s=n.computed(()=>r.disable!==!0&&r.href!==void 0),d=t===!0?n.computed(()=>a===!0&&r.disable!==!0&&s.value!==!0&&r.to!==void 0&&r.to!==null&&r.to!==""):n.computed(()=>a===!0&&s.value!==!0&&r.to!==void 0&&r.to!==null&&r.to!==""),c=n.computed(()=>d.value===!0?x(r.to):null),u=n.computed(()=>c.value!==null),f=n.computed(()=>s.value===!0||u.value===!0),g=n.computed(()=>r.type==="a"||f.value===!0?"a":r.tag||e||"div"),p=n.computed(()=>s.value===!0?{href:r.href,target:r.target}:u.value===!0?{href:c.value.href,target:r.target}:{}),h=n.computed(()=>{if(u.value===!1)return-1;const{matched:E}=c.value,{length:V}=E,$=E[V-1];if($===void 0)return-1;const F=i.$route.matched;if(F.length===0)return-1;const _=F.findIndex(ur.bind(null,$));if(_!==-1)return _;const B=sr(E[V-2]);return V>1&&sr($)===B&&F[F.length-1].path!==B?F.findIndex(ur.bind(null,E[V-2])):_}),k=n.computed(()=>u.value===!0&&h.value!==-1&&Il(i.$route.params,c.value.params)),w=n.computed(()=>k.value===!0&&h.value===i.$route.matched.length-1&&Nl(i.$route.params,c.value.params)),S=n.computed(()=>u.value===!0?w.value===!0?` ${r.exactActiveClass} ${r.activeClass}`:r.exact===!0?"":k.value===!0?` ${r.activeClass}`:"":"");function x(E){try{return i.$router.resolve(E)}catch{}return null}function T(E,{returnRouterError:V,to:$=r.to,replace:F=r.replace}={}){if(r.disable===!0)return E.preventDefault(),Promise.resolve(!1);if(E.metaKey||E.altKey||E.ctrlKey||E.shiftKey||E.button!==void 0&&E.button!==0||r.target==="_blank")return Promise.resolve(!1);E.preventDefault();const _=i.$router[F===!0?"replace":"push"]($);return V===!0?_:_.then(()=>{}).catch(()=>{})}function M(E){if(u.value===!0){const V=$=>T(E,$);l("click",E,V),E.defaultPrevented!==!0&&V()}else l("click",E)}return{hasRouterLink:u,hasHrefLink:s,hasLink:f,linkTag:g,resolvedLink:c,linkIsActive:k,linkIsExactActive:w,linkClass:S,linkAttrs:p,getLink:x,navigateToRouterLink:T,navigateOnClick:M}}const mr={none:0,xs:4,sm:8,md:16,lg:24,xl:32},Fl={xs:8,sm:10,md:14,lg:20,xl:24},Hl=["button","submit","reset"],zl=/[^\s]\/[^\s]/,Dl=["flat","outline","push","unelevated"];function Ul(e,t){return e.flat===!0?"flat":e.outline===!0?"outline":e.push===!0?"push":e.unelevated===!0?"unelevated":t}const Wl={...{...Yt,...dr,type:{type:String,default:"button"},label:[Number,String],icon:String,iconRight:String,...Dl.reduce((e,t)=>(e[t]=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:{...Ol.align,default:"center"},stack:Boolean,stretch:Boolean,loading:{type:Boolean,default:null},disable:Boolean},round:Boolean};function Kl(e){const t=Gt(e,Fl),o=Pl(e),{hasRouterLink:r,hasLink:i,linkTag:l,linkAttrs:a,navigateOnClick:s}=fr({fallbackTag:"button"}),d=n.computed(()=>{const w=e.fab===!1&&e.fabMini===!1?t.value:{};return e.padding!==void 0?Object.assign({},w,{padding:e.padding.split(/\s+/).map(S=>S in mr?mr[S]+"px":S).join(" "),minWidth:"0",minHeight:"0"}):w}),c=n.computed(()=>e.rounded===!0||e.fab===!0||e.fabMini===!0),u=n.computed(()=>e.disable!==!0&&e.loading!==!0),f=n.computed(()=>u.value===!0?e.tabindex||0:-1),g=n.computed(()=>Ul(e,"standard")),p=n.computed(()=>{const w={tabindex:f.value};return i.value===!0?Object.assign(w,a.value):Hl.includes(e.type)===!0&&(w.type=e.type),l.value==="a"?(e.disable===!0?w["aria-disabled"]="true":w.href===void 0&&(w.role="button"),r.value!==!0&&zl.test(e.type)===!0&&(w.type=e.type)):e.disable===!0&&(w.disabled="",w["aria-disabled"]="true"),e.loading===!0&&e.percentage!==void 0&&Object.assign(w,{role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":e.percentage}),w}),h=n.computed(()=>{let w;e.color!==void 0?e.flat===!0||e.outline===!0?w=`text-${e.textColor||e.color}`:w=`bg-${e.color} text-${e.textColor||"white"}`:e.textColor&&(w=`text-${e.textColor}`);const S=e.round===!0?"round":`rectangle${c.value===!0?" q-btn--rounded":e.square===!0?" q-btn--square":""}`;return`q-btn--${g.value} q-btn--${S}`+(w!==void 0?" "+w:"")+(u.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":"")}),k=n.computed(()=>o.value+(e.stack===!0?" column":" row")+(e.noWrap===!0?" no-wrap text-no-wrap":"")+(e.loading===!0?" q-btn__content--hidden":""));return{classes:h,style:d,innerClasses:k,attributes:p,hasLink:i,linkTag:l,navigateOnClick:s,isActionable:u}}const{passiveCapture:qe}=fe;let st=null,ut=null,ct=null;const Un=ie({name:"QBtn",props:{...Wl,percentage:Number,darkPercentage:Boolean,onTouchstart:[Function,Array]},emits:["click","keydown","mousedown","keyup"],setup(e,{slots:t,emit:o}){const{proxy:r}=n.getCurrentInstance(),{classes:i,style:l,innerClasses:a,attributes:s,hasLink:d,linkTag:c,navigateOnClick:u,isActionable:f}=Kl(e),g=n.ref(null),p=n.ref(null);let h=null,k,w=null;const S=n.computed(()=>e.label!==void 0&&e.label!==null&&e.label!==""),x=n.computed(()=>e.disable===!0||e.ripple===!1?!1:{keyCodes:d.value===!0?[13,32]:[13],...e.ripple===!0?{}:e.ripple}),T=n.computed(()=>({center:e.round})),M=n.computed(()=>{const q=Math.max(0,Math.min(100,e.percentage));return q>0?{transition:"transform 0.6s",transform:`translateX(${q-100}%)`}:{}}),E=n.computed(()=>{if(e.loading===!0)return{onMousedown:N,onTouchstart:N,onClick:N,onKeydown:N,onKeyup:N};if(f.value===!0){const q={onClick:$,onKeydown:F,onMousedown:B};if(r.$q.platform.has.touch===!0){const K=e.onTouchstart!==void 0?"":"Passive";q[`onTouchstart${K}`]=_}return q}return{onClick:se}}),V=n.computed(()=>({ref:g,class:"q-btn q-btn-item non-selectable no-outline "+i.value,style:l.value,...s.value,...E.value}));function $(q){if(g.value!==null){if(q!==void 0){if(q.defaultPrevented===!0)return;const K=document.activeElement;if(e.type==="submit"&&K!==document.body&&g.value.contains(K)===!1&&K.contains(g.value)===!1){g.value.focus();const H=()=>{document.removeEventListener("keydown",se,!0),document.removeEventListener("keyup",H,qe),g.value!==null&&g.value.removeEventListener("blur",H,qe)};document.addEventListener("keydown",se,!0),document.addEventListener("keyup",H,qe),g.value.addEventListener("blur",H,qe)}}u(q)}}function F(q){g.value!==null&&(o("keydown",q),Qe(q,[13,32])===!0&&ut!==g.value&&(ut!==null&&b(),q.defaultPrevented!==!0&&(g.value.focus(),ut=g.value,g.value.classList.add("q-btn--active"),document.addEventListener("keyup",A,!0),g.value.addEventListener("blur",A,qe)),se(q)))}function _(q){g.value!==null&&(o("touchstart",q),q.defaultPrevented!==!0&&(st!==g.value&&(st!==null&&b(),st=g.value,h=q.target,h.addEventListener("touchcancel",A,qe),h.addEventListener("touchend",A,qe)),k=!0,w!==null&&clearTimeout(w),w=setTimeout(()=>{w=null,k=!1},200)))}function B(q){g.value!==null&&(q.qSkipRipple=k===!0,o("mousedown",q),q.defaultPrevented!==!0&&ct!==g.value&&(ct!==null&&b(),ct=g.value,g.value.classList.add("q-btn--active"),document.addEventListener("mouseup",A,qe)))}function A(q){if(g.value!==null&&!(q!==void 0&&q.type==="blur"&&document.activeElement===g.value)){if(q!==void 0&&q.type==="keyup"){if(ut===g.value&&Qe(q,[13,32])===!0){const K=new MouseEvent("click",q);K.qKeyEvent=!0,q.defaultPrevented===!0&&ke(K),q.cancelBubble===!0&&Se(K),g.value.dispatchEvent(K),se(q),q.qKeyEvent=!0}o("keyup",q)}b()}}function b(q){const K=p.value;q!==!0&&(st===g.value||ct===g.value)&&K!==null&&K!==document.activeElement&&(K.setAttribute("tabindex",-1),K.focus()),st===g.value&&(h!==null&&(h.removeEventListener("touchcancel",A,qe),h.removeEventListener("touchend",A,qe)),st=h=null),ct===g.value&&(document.removeEventListener("mouseup",A,qe),ct=null),ut===g.value&&(document.removeEventListener("keyup",A,!0),g.value!==null&&g.value.removeEventListener("blur",A,qe),ut=null),g.value!==null&&g.value.classList.remove("q-btn--active")}function N(q){se(q),q.qSkipRipple=!0}return n.onBeforeUnmount(()=>{b(!0)}),Object.assign(r,{click:q=>{f.value===!0&&$(q)}}),()=>{let q=[];e.icon!==void 0&&q.push(n.h(Ee,{name:e.icon,left:e.stack!==!0&&S.value===!0,role:"img"})),S.value===!0&&q.push(n.h("span",{class:"block"},[e.label])),q=Oe(t.default,q),e.iconRight!==void 0&&e.round===!1&&q.push(n.h(Ee,{name:e.iconRight,right:e.stack!==!0&&S.value===!0,role:"img"}));const K=[n.h("span",{class:"q-focus-helper",ref:p})];return e.loading===!0&&e.percentage!==void 0&&K.push(n.h("span",{class:"q-btn__progress absolute-full overflow-hidden"+(e.darkPercentage===!0?" q-btn__progress--dark":"")},[n.h("span",{class:"q-btn__progress-indicator fit block",style:M.value})])),K.push(n.h("span",{class:"q-btn__content text-center col items-center q-anchor--skip "+a.value},q)),e.loading!==null&&K.push(n.h(n.Transition,{name:"q-transition--fade"},()=>e.loading===!0?[n.h("span",{key:"loading",class:"absolute-full flex flex-center"},t.loading!==void 0?t.loading():[n.h(zn)])]:null)),n.withDirectives(n.h(c.value,V.value,K),[[Jt,x.value,void 0,T.value]])}}}),Ql=n.defineComponent({__name:"AppButton",props:{disable:{type:[Boolean,Function]},tooltip:{},uppercase:{type:Boolean},xSmall:{type:Boolean},small:{type:Boolean},large:{type:Boolean},fullWidth:{type:Boolean},wrap:{type:Boolean},largeIcon:{type:Boolean},modelValue:{type:Boolean},badge:{type:[String,Boolean,Number]},badgeColor:{},badgeInline:{type:Boolean},link:{type:Boolean},size:{},type:{},to:{},replace:{type:Boolean},href:{},target:{},label:{},icon:{},iconRight:{},outline:{type:Boolean},flat:{type:Boolean},unelevated:{type:Boolean},rounded:{type:Boolean},push:{type:Boolean},square:{type:Boolean},glossy:{type:Boolean},fab:{type:Boolean},fabMini:{type:Boolean},padding:{},color:{},textColor:{},noCaps:{type:Boolean},noWrap:{type:Boolean},dense:{type:Boolean},ripple:{type:Boolean},tabindex:{},align:{},stack:{type:Boolean},stretch:{type:Boolean},loading:{type:Boolean},round:{type:Boolean},percentage:{},darkPercentage:{type:Boolean}},emits:["update:modelValue","click"],setup(e,{emit:t}){const o=e,r=t;function i(s){r("click",s),r("update:modelValue",!o.modelValue)}const l=n.computed(()=>o.badge===void 0||o.badge===!1||o.badge===!0||o.badge===""?"":o.badge),a=n.computed(()=>typeof o.disable=="function"?o.disable():o.disable);return(s,d)=>(n.openBlock(),n.createBlock(Un,n.mergeProps(s.$props,{class:[[s.$style.wrapper],"hover-bg-secondary hover-text-black"],disable:a.value,"no-caps":!s.uppercase,"no-wrap":!s.wrap,onClick:i}),{default:n.withCtx(()=>[n.renderSlot(s.$slots,"default"),s.badge?(n.openBlock(),n.createBlock(nl,{key:0,style:{padding:"6px",top:"-10px",right:"-10px","font-size":"12px"},color:s.badgeColor,floating:!s.badgeInline,rounded:!0},{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(l.value),1)]),_:1},8,["color","floating"])):n.createCommentVNode("",!0),s.tooltip?(n.openBlock(),n.createBlock(Xt,{key:1,class:"text-body2",delay:400},{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(s.tooltip),1)]),_:1})):n.createCommentVNode("",!0)]),_:3},16,["class","disable","no-caps","no-wrap"]))}}),Zl={wrapper:"_wrapper_1g76t_1"},G=(e,t)=>{const o=e.__vccOpts||e;for(const[r,i]of t)o[r]=i;return o},Xl=G(Ql,[["__cssModules",{$style:Zl}]]);let Wn,en=0;const he=new Array(256);for(let e=0;e<256;e++)he[e]=(e+256).toString(16).substring(1);const Yl=(()=>{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 t=>{const o=new Uint8Array(t);return e.getRandomValues(o),o}}return t=>{const o=[];for(let r=t;r>0;r--)o.push(Math.floor(Math.random()*256));return o}})(),hr=4096;function tn(){(Wn===void 0||en+16>hr)&&(en=0,Wn=Yl(hr));const e=Array.prototype.slice.call(Wn,en,en+=16);return e[6]=e[6]&15|64,e[8]=e[8]&63|128,he[e[0]]+he[e[1]]+he[e[2]]+he[e[3]]+"-"+he[e[4]]+he[e[5]]+"-"+he[e[6]]+he[e[7]]+"-"+he[e[8]]+he[e[9]]+"-"+he[e[10]]+he[e[11]]+he[e[12]]+he[e[13]]+he[e[14]]+he[e[15]]}function Gl(e){return e??null}function pr(e,t){return e??(t===!0?`f_${tn()}`:null)}function gr({getValue:e,required:t=!0}={}){if(We.value===!0){const o=e!==void 0?n.ref(Gl(e())):n.ref(null);return t===!0&&o.value===null&&n.onMounted(()=>{o.value=`f_${tn()}`}),e!==void 0&&n.watch(e,r=>{o.value=pr(r,t)}),o}return e!==void 0?n.computed(()=>pr(e(),t)):n.ref(`f_${tn()}`)}const wr=/^on[A-Z]/;function Jl(){const{attrs:e,vnode:t}=n.getCurrentInstance(),o={listeners:n.ref({}),attributes:n.ref({})};function r(){const i={},l={};for(const a in e)a!=="class"&&a!=="style"&&wr.test(a)===!1&&(i[a]=e[a]);for(const a in t.props)wr.test(a)===!0&&(l[a]=t.props[a]);o.attributes.value=i,o.listeners.value=l}return n.onBeforeUpdate(r),r(),o}const je={dark:{type:Boolean,default:null}};function Ne(e,t){return n.computed(()=>e.dark===null?t.dark.isActive:e.dark)}const ea="_q_",nn="_q_l_",vr="_q_pc_",ta="_q_fo_";function Te(){}function na({validate:e,resetValidation:t,requiresQForm:o}){const r=n.inject(ta,!1);if(r!==!1){const{props:i,proxy:l}=n.getCurrentInstance();Object.assign(l,{validate:e,resetValidation:t}),n.watch(()=>i.disable,a=>{a===!0?(typeof t=="function"&&t(),r.unbindComponent(l)):r.bindComponent(l)}),n.onMounted(()=>{i.disable!==!0&&r.bindComponent(l)}),n.onBeforeUnmount(()=>{i.disable!==!0&&r.unbindComponent(l)})}else o===!0&&console.error("Parent QForm not found on useFormChild()!")}const kr=/^#[0-9a-fA-F]{3}([0-9a-fA-F]{3})?$/,yr=/^#[0-9a-fA-F]{4}([0-9a-fA-F]{4})?$/,br=/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/,on=/^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])\)$/,rn=/^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)\)$/,Kn={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=>kr.test(e),hexaColor:e=>yr.test(e),hexOrHexaColor:e=>br.test(e),rgbColor:e=>on.test(e),rgbaColor:e=>rn.test(e),rgbOrRgbaColor:e=>on.test(e)||rn.test(e),hexOrRgbColor:e=>kr.test(e)||on.test(e),hexaOrRgbaColor:e=>yr.test(e)||rn.test(e),anyColor:e=>br.test(e)||on.test(e)||rn.test(e)};function Cr(e,t=250,o){let r=null;function i(){const l=arguments,a=()=>{r=null,e.apply(this,l)};r!==null&&clearTimeout(r),r=setTimeout(a,t)}return i.cancel=()=>{r!==null&&clearTimeout(r)},i}const oa=[!0,!1,"ondemand"],ra={modelValue:{},error:{type:Boolean,default:null},errorMessage:String,noErrorIcon:Boolean,rules:Array,reactiveRules:Boolean,lazyRules:{type:[Boolean,String],default:!1,validator:e=>oa.includes(e)}};function ia(e,t){const{props:o,proxy:r}=n.getCurrentInstance(),i=n.ref(!1),l=n.ref(null),a=n.ref(!1);na({validate:k,resetValidation:h});let s=0,d;const c=n.computed(()=>o.rules!==void 0&&o.rules!==null&&o.rules.length!==0),u=n.computed(()=>o.disable!==!0&&c.value===!0&&t.value===!1),f=n.computed(()=>o.error===!0||i.value===!0),g=n.computed(()=>typeof o.errorMessage=="string"&&o.errorMessage.length!==0?o.errorMessage:l.value);n.watch(()=>o.modelValue,()=>{a.value=!0,u.value===!0&&o.lazyRules===!1&&w()});function p(){o.lazyRules!=="ondemand"&&u.value===!0&&a.value===!0&&w()}n.watch(()=>o.reactiveRules,S=>{S===!0?d===void 0&&(d=n.watch(()=>o.rules,p,{immediate:!0,deep:!0})):d!==void 0&&(d(),d=void 0)},{immediate:!0}),n.watch(()=>o.lazyRules,p),n.watch(e,S=>{S===!0?a.value=!0:u.value===!0&&o.lazyRules!=="ondemand"&&w()});function h(){s++,t.value=!1,a.value=!1,i.value=!1,l.value=null,w.cancel()}function k(S=o.modelValue){if(o.disable===!0||c.value===!1)return!0;const x=++s,T=t.value!==!0?()=>{a.value=!0}:()=>{},M=(V,$)=>{V===!0&&T(),i.value=V,l.value=$||null,t.value=!1},E=[];for(let V=0;V<o.rules.length;V++){const $=o.rules[V];let F;if(typeof $=="function"?F=$(S,Kn):typeof $=="string"&&Kn[$]!==void 0&&(F=Kn[$](S)),F===!1||typeof F=="string")return M(!0,F),!1;F!==!0&&F!==void 0&&E.push(F)}return E.length===0?(M(!1),!0):(t.value=!0,Promise.all(E).then(V=>{if(V===void 0||Array.isArray(V)===!1||V.length===0)return x===s&&M(!1),!0;const $=V.find(F=>F===!1||typeof F=="string");return x===s&&M($!==void 0,$),$===void 0},V=>(x===s&&(console.error(V),M(!0)),!1)))}const w=Cr(k,0);return n.onBeforeUnmount(()=>{d!==void 0&&d(),w.cancel()}),Object.assign(r,{resetValidation:h,validate:k}),It(r,"hasError",()=>f.value),{isDirtyModel:a,hasRules:c,hasError:f,errorMessage:g,validate:k,resetValidation:h}}function qt(e){return e!=null&&(""+e).length!==0}const ln={...{...je,...ra,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},maxlength:[Number,String]},Qn=["update:modelValue","clear","focus","blur"];function Zn({requiredForAttr:e=!0,tagProp:t,changeEvent:o=!1}={}){const{props:r,proxy:i}=n.getCurrentInstance(),l=Ne(r,i.$q),a=gr({required:e,getValue:()=>r.for});return{requiredForAttr:e,changeEvent:o,tag:t===!0?n.computed(()=>r.tag):{value:"label"},isDark:l,editable:n.computed(()=>r.disable!==!0&&r.readonly!==!0),innerLoading:n.ref(!1),focused:n.ref(!1),hasPopupOpen:!1,splitAttrs:Jl(),targetUid:a,rootRef:n.ref(null),targetRef:n.ref(null),controlRef:n.ref(null)}}function Xn(e){const{props:t,emit:o,slots:r,attrs:i,proxy:l}=n.getCurrentInstance(),{$q:a}=l;let s=null;e.hasValue===void 0&&(e.hasValue=n.computed(()=>qt(t.modelValue))),e.emitValue===void 0&&(e.emitValue=L=>{o("update:modelValue",L)}),e.controlEvents===void 0&&(e.controlEvents={onFocusin:_,onFocusout:B}),Object.assign(e,{clearValue:A,onControlFocusin:_,onControlFocusout:B,focus:$}),e.computedCounter===void 0&&(e.computedCounter=n.computed(()=>{if(t.counter!==!1){const L=typeof t.modelValue=="string"||typeof t.modelValue=="number"?(""+t.modelValue).length:Array.isArray(t.modelValue)===!0?t.modelValue.length:0,W=t.maxlength!==void 0?t.maxlength:t.maxValues;return L+(W!==void 0?" / "+W:"")}}));const{isDirtyModel:d,hasRules:c,hasError:u,errorMessage:f,resetValidation:g}=ia(e.focused,e.innerLoading),p=e.floatingLabel!==void 0?n.computed(()=>t.stackLabel===!0||e.focused.value===!0||e.floatingLabel.value===!0):n.computed(()=>t.stackLabel===!0||e.focused.value===!0||e.hasValue.value===!0),h=n.computed(()=>t.bottomSlots===!0||t.hint!==void 0||c.value===!0||t.counter===!0||t.error!==null),k=n.computed(()=>t.filled===!0?"filled":t.outlined===!0?"outlined":t.borderless===!0?"borderless":t.standout?"standout":"standard"),w=n.computed(()=>`q-field row no-wrap items-start q-field--${k.value}`+(e.fieldClass!==void 0?` ${e.fieldClass.value}`:"")+(t.rounded===!0?" q-field--rounded":"")+(t.square===!0?" q-field--square":"")+(p.value===!0?" q-field--float":"")+(x.value===!0?" q-field--labeled":"")+(t.dense===!0?" q-field--dense":"")+(t.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":"")+(u.value===!0?" q-field--error":"")+(u.value===!0||e.focused.value===!0?" q-field--highlighted":"")+(t.hideBottomSpace!==!0&&h.value===!0?" q-field--with-bottom":"")+(t.disable===!0?" q-field--disabled":t.readonly===!0?" q-field--readonly":"")),S=n.computed(()=>"q-field__control relative-position row no-wrap"+(t.bgColor!==void 0?` bg-${t.bgColor}`:"")+(u.value===!0?" text-negative":typeof t.standout=="string"&&t.standout.length!==0&&e.focused.value===!0?` ${t.standout}`:t.color!==void 0?` text-${t.color}`:"")),x=n.computed(()=>t.labelSlot===!0||t.label!==void 0),T=n.computed(()=>"q-field__label no-pointer-events absolute ellipsis"+(t.labelColor!==void 0&&u.value!==!0?` text-${t.labelColor}`:"")),M=n.computed(()=>({id:e.targetUid.value,editable:e.editable.value,focused:e.focused.value,floatingLabel:p.value,modelValue:t.modelValue,emitValue:e.emitValue})),E=n.computed(()=>{const L={};return e.targetUid.value&&(L.for=e.targetUid.value),t.disable===!0&&(L["aria-disabled"]="true"),L});function V(){const L=document.activeElement;let W=e.targetRef!==void 0&&e.targetRef.value;W&&(L===null||L.id!==e.targetUid.value)&&(W.hasAttribute("tabindex")===!0||(W=W.querySelector("[tabindex]")),W&&W!==L&&W.focus({preventScroll:!0}))}function $(){Ft(V)}function F(){dl(V);const L=document.activeElement;L!==null&&e.rootRef.value.contains(L)&&L.blur()}function _(L){s!==null&&(clearTimeout(s),s=null),e.editable.value===!0&&e.focused.value===!1&&(e.focused.value=!0,o("focus",L))}function B(L,W){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,o("blur",L)),W!==void 0&&W())})}function A(L){se(L),a.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(),t.type==="file"&&(e.inputRef.value.value=null),o("update:modelValue",null),e.changeEvent===!0&&o("change",null),o("clear",t.modelValue),n.nextTick(()=>{const W=d.value;g(),d.value=W})}function b(L){[13,32].includes(L.keyCode)&&A(L)}function N(){const L=[];return r.prepend!==void 0&&L.push(n.h("div",{class:"q-field__prepend q-field__marginal row no-wrap items-center",key:"prepend",onClick:ke},r.prepend())),L.push(n.h("div",{class:"q-field__control-container col relative-position row no-wrap q-anchor--skip"},q())),u.value===!0&&t.noErrorIcon===!1&&L.push(H("error",[n.h(Ee,{name:a.iconSet.field.error,color:"negative"})])),t.loading===!0||e.innerLoading.value===!0?L.push(H("inner-loading-append",r.loading!==void 0?r.loading():[n.h(zn,{color:t.color})])):t.clearable===!0&&e.hasValue.value===!0&&e.editable.value===!0&&L.push(H("inner-clearable-append",[n.h(Ee,{class:"q-field__focusable-action",name:t.clearIcon||a.iconSet.field.clear,tabindex:0,role:"button","aria-hidden":"false","aria-label":a.lang.label.clear,onKeyup:b,onClick:A})])),r.append!==void 0&&L.push(n.h("div",{class:"q-field__append q-field__marginal row no-wrap items-center",key:"append",onClick:ke},r.append())),e.getInnerAppend!==void 0&&L.push(H("inner-append",e.getInnerAppend())),e.getControlChild!==void 0&&L.push(e.getControlChild()),L}function q(){const L=[];return t.prefix!==void 0&&t.prefix!==null&&L.push(n.h("div",{class:"q-field__prefix no-pointer-events row items-center"},t.prefix)),e.getShadowControl!==void 0&&e.hasShadow.value===!0&&L.push(e.getShadowControl()),e.getControl!==void 0?L.push(e.getControl()):r.rawControl!==void 0?L.push(r.rawControl()):r.control!==void 0&&L.push(n.h("div",{ref:e.targetRef,class:"q-field__native row",tabindex:-1,...e.splitAttrs.attributes.value,"data-autofocus":t.autofocus===!0||void 0},r.control(M.value))),x.value===!0&&L.push(n.h("div",{class:T.value},ve(r.label,t.label))),t.suffix!==void 0&&t.suffix!==null&&L.push(n.h("div",{class:"q-field__suffix no-pointer-events row items-center"},t.suffix)),L.concat(ve(r.default))}function K(){let L,W;u.value===!0?f.value!==null?(L=[n.h("div",{role:"alert"},f.value)],W=`q--slot-error-${f.value}`):(L=ve(r.error),W="q--slot-error"):(t.hideHint!==!0||e.focused.value===!0)&&(t.hint!==void 0?(L=[n.h("div",t.hint)],W=`q--slot-hint-${t.hint}`):(L=ve(r.hint),W="q--slot-hint"));const Z=t.counter===!0||r.counter!==void 0;if(t.hideBottomSpace===!0&&Z===!1&&L===void 0)return;const y=n.h("div",{key:W,class:"q-field__messages col"},L);return n.h("div",{class:"q-field__bottom row items-start q-field__bottom--"+(t.hideBottomSpace!==!0?"animated":"stale"),onClick:ke},[t.hideBottomSpace===!0?y:n.h(n.Transition,{name:"q-transition--field-message"},()=>y),Z===!0?n.h("div",{class:"q-field__counter"},r.counter!==void 0?r.counter():e.computedCounter.value):null])}function H(L,W){return W===null?null:n.h("div",{key:L,class:"q-field__append q-field__marginal row no-wrap items-center q-anchor--skip"},W)}let P=!1;return n.onDeactivated(()=>{P=!0}),n.onActivated(()=>{P===!0&&t.autofocus===!0&&l.focus()}),t.autofocus===!0&&n.onMounted(()=>{l.focus()}),n.onBeforeUnmount(()=>{s!==null&&clearTimeout(s)}),Object.assign(l,{focus:$,blur:F}),function(){const W=e.getControl===void 0&&r.control===void 0?{...e.splitAttrs.attributes.value,"data-autofocus":t.autofocus===!0||void 0,...E.value}:E.value;return n.h(e.tag.value,{ref:e.rootRef,class:[w.value,i.class],style:i.style,...W},[r.before!==void 0?n.h("div",{class:"q-field__before q-field__marginal row no-wrap items-center",onClick:ke},r.before()):null,n.h("div",{class:"q-field__inner relative-position col self-stretch"},[n.h("div",{ref:e.controlRef,class:S.value,tabindex:-1,...e.controlEvents},N()),h.value===!0?K():null]),r.after!==void 0?n.h("div",{class:"q-field__after q-field__marginal row no-wrap items-center",onClick:ke},r.after()):null])}}const _r={date:"####/##/##",datetime:"####/##/## ##:##",time:"##:##",fulltime:"##:##:##",phone:"(###) ### - ####",card:"#### #### #### ####"},an={"#":{pattern:"[\\d]",negate:"[^\\d]"},S:{pattern:"[a-zA-Z]",negate:"[^a-zA-Z]"},N:{pattern:"[0-9a-zA-Z]",negate:"[^0-9a-zA-Z]"},A:{pattern:"[a-zA-Z]",negate:"[^a-zA-Z]",transform:e=>e.toLocaleUpperCase()},a:{pattern:"[a-zA-Z]",negate:"[^a-zA-Z]",transform:e=>e.toLocaleLowerCase()},X:{pattern:"[0-9a-zA-Z]",negate:"[^0-9a-zA-Z]",transform:e=>e.toLocaleUpperCase()},x:{pattern:"[0-9a-zA-Z]",negate:"[^0-9a-zA-Z]",transform:e=>e.toLocaleLowerCase()}},Sr=Object.keys(an);Sr.forEach(e=>{an[e].regex=new RegExp(an[e].pattern)});const la=new RegExp("\\\\([^.*+?^${}()|([\\]])|([.*+?^${}()|[\\]])|(["+Sr.join("")+"])|(.)","g"),xr=/[.*+?^${}()|[\]\\]/g,ce="",aa={mask:String,reverseFillMask:Boolean,fillMask:[Boolean,String],unmaskedValue:Boolean};function sa(e,t,o,r){let i,l,a,s,d,c;const u=n.ref(null),f=n.ref(p());function g(){return e.autogrow===!0||["textarea","text","search","url","tel","password"].includes(e.type)}n.watch(()=>e.type+e.autogrow,k),n.watch(()=>e.mask,_=>{if(_!==void 0)w(f.value,!0);else{const B=$(f.value);k(),e.modelValue!==B&&t("update:modelValue",B)}}),n.watch(()=>e.fillMask+e.reverseFillMask,()=>{u.value===!0&&w(f.value,!0)}),n.watch(()=>e.unmaskedValue,()=>{u.value===!0&&w(f.value)});function p(){if(k(),u.value===!0){const _=E($(e.modelValue));return e.fillMask!==!1?F(_):_}return e.modelValue}function h(_){if(_<i.length)return i.slice(-_);let B="",A=i;const b=A.indexOf(ce);if(b!==-1){for(let N=_-A.length;N>0;N--)B+=ce;A=A.slice(0,b)+B+A.slice(b)}return A}function k(){if(u.value=e.mask!==void 0&&e.mask.length!==0&&g(),u.value===!1){s=void 0,i="",l="";return}const _=_r[e.mask]===void 0?e.mask:_r[e.mask],B=typeof e.fillMask=="string"&&e.fillMask.length!==0?e.fillMask.slice(0,1):"_",A=B.replace(xr,"\\$&"),b=[],N=[],q=[];let K=e.reverseFillMask===!0,H="",P="";_.replace(la,(y,v,I,Q,X)=>{if(Q!==void 0){const R=an[Q];q.push(R),P=R.negate,K===!0&&(N.push("(?:"+P+"+)?("+R.pattern+"+)?(?:"+P+"+)?("+R.pattern+"+)?"),K=!1),N.push("(?:"+P+"+)?("+R.pattern+")?")}else if(I!==void 0)H="\\"+(I==="\\"?"":I),q.push(I),b.push("([^"+H+"]+)?"+H+"?");else{const R=v!==void 0?v:X;H=R==="\\"?"\\\\\\\\":R.replace(xr,"\\\\$&"),q.push(R),b.push("([^"+H+"]+)?"+H+"?")}});const L=new RegExp("^"+b.join("")+"("+(H===""?".":"[^"+H+"]")+"+)?"+(H===""?"":"["+H+"]*")+"$"),W=N.length-1,Z=N.map((y,v)=>v===0&&e.reverseFillMask===!0?new RegExp("^"+A+"*"+y):v===W?new RegExp("^"+y+"("+(P===""?".":P)+"+)?"+(e.reverseFillMask===!0?"$":A+"*")):new RegExp("^"+y));a=q,s=y=>{const v=L.exec(e.reverseFillMask===!0?y:y.slice(0,q.length+1));v!==null&&(y=v.slice(1).join(""));const I=[],Q=Z.length;for(let X=0,R=y;X<Q;X++){const z=Z[X].exec(R);if(z===null)break;R=R.slice(z.shift().length),I.push(...z)}return I.length!==0?I.join(""):y},i=q.map(y=>typeof y=="string"?y:ce).join(""),l=i.split(ce).join(B)}function w(_,B,A){const b=r.value,N=b.selectionEnd,q=b.value.length-N,K=$(_);B===!0&&k();const H=E(K),P=e.fillMask!==!1?F(H):H,L=f.value!==P;b.value!==P&&(b.value=P),L===!0&&(f.value=P),document.activeElement===b&&n.nextTick(()=>{if(P===l){const Z=e.reverseFillMask===!0?l.length:0;b.setSelectionRange(Z,Z,"forward");return}if(A==="insertFromPaste"&&e.reverseFillMask!==!0){const Z=b.selectionEnd;let y=N-1;for(let v=d;v<=y&&v<Z;v++)i[v]!==ce&&y++;x.right(b,y);return}if(["deleteContentBackward","deleteContentForward"].indexOf(A)!==-1){const Z=e.reverseFillMask===!0?N===0?P.length>H.length?1:0:Math.max(0,P.length-(P===l?0:Math.min(H.length,q)+1))+1:N;b.setSelectionRange(Z,Z,"forward");return}if(e.reverseFillMask===!0)if(L===!0){const Z=Math.max(0,P.length-(P===l?0:Math.min(H.length,q+1)));Z===1&&N===1?b.setSelectionRange(Z,Z,"forward"):x.rightReverse(b,Z)}else{const Z=P.length-q;b.setSelectionRange(Z,Z,"backward")}else if(L===!0){const Z=Math.max(0,i.indexOf(ce),Math.min(H.length,N)-1);x.right(b,Z)}else{const Z=N-1;x.right(b,Z)}});const W=e.unmaskedValue===!0?$(P):P;String(e.modelValue)!==W&&(e.modelValue!==null||W!=="")&&o(W,!0)}function S(_,B,A){const b=E($(_.value));B=Math.max(0,i.indexOf(ce),Math.min(b.length,B)),d=B,_.setSelectionRange(B,A,"forward")}const x={left(_,B){const A=i.slice(B-1).indexOf(ce)===-1;let b=Math.max(0,B-1);for(;b>=0;b--)if(i[b]===ce){B=b,A===!0&&B++;break}if(b<0&&i[B]!==void 0&&i[B]!==ce)return x.right(_,0);B>=0&&_.setSelectionRange(B,B,"backward")},right(_,B){const A=_.value.length;let b=Math.min(A,B+1);for(;b<=A;b++)if(i[b]===ce){B=b;break}else i[b-1]===ce&&(B=b);if(b>A&&i[B-1]!==void 0&&i[B-1]!==ce)return x.left(_,A);_.setSelectionRange(B,B,"forward")},leftReverse(_,B){const A=h(_.value.length);let b=Math.max(0,B-1);for(;b>=0;b--)if(A[b-1]===ce){B=b;break}else if(A[b]===ce&&(B=b,b===0))break;if(b<0&&A[B]!==void 0&&A[B]!==ce)return x.rightReverse(_,0);B>=0&&_.setSelectionRange(B,B,"backward")},rightReverse(_,B){const A=_.value.length,b=h(A),N=b.slice(0,B+1).indexOf(ce)===-1;let q=Math.min(A,B+1);for(;q<=A;q++)if(b[q-1]===ce){B=q,B>0&&N===!0&&B--;break}if(q>A&&b[B-1]!==void 0&&b[B-1]!==ce)return x.leftReverse(_,A);_.setSelectionRange(B,B,"forward")}};function T(_){t("click",_),c=void 0}function M(_){if(t("keydown",_),Mn(_)===!0||_.altKey===!0)return;const B=r.value,A=B.selectionStart,b=B.selectionEnd;if(_.shiftKey||(c=void 0),_.keyCode===37||_.keyCode===39){_.shiftKey&&c===void 0&&(c=B.selectionDirection==="forward"?A:b);const N=x[(_.keyCode===39?"right":"left")+(e.reverseFillMask===!0?"Reverse":"")];if(_.preventDefault(),N(B,c===A?b:A),_.shiftKey){const q=B.selectionStart;B.setSelectionRange(Math.min(c,q),Math.max(c,q),"forward")}}else _.keyCode===8&&e.reverseFillMask!==!0&&A===b?(x.left(B,A),B.setSelectionRange(B.selectionStart,b,"backward")):_.keyCode===46&&e.reverseFillMask===!0&&A===b&&(x.rightReverse(B,b),B.setSelectionRange(A,B.selectionEnd,"forward"))}function E(_){if(_==null||_==="")return"";if(e.reverseFillMask===!0)return V(_);const B=a;let A=0,b="";for(let N=0;N<B.length;N++){const q=_[A],K=B[N];if(typeof K=="string")b+=K,q===K&&A++;else if(q!==void 0&&K.regex.test(q))b+=K.transform!==void 0?K.transform(q):q,A++;else return b}return b}function V(_){const B=a,A=i.indexOf(ce);let b=_.length-1,N="";for(let q=B.length-1;q>=0&&b!==-1;q--){const K=B[q];let H=_[b];if(typeof K=="string")N=K+N,H===K&&b--;else if(H!==void 0&&K.regex.test(H))do N=(K.transform!==void 0?K.transform(H):H)+N,b--,H=_[b];while(A===q&&H!==void 0&&K.regex.test(H));else return N}return N}function $(_){return typeof _!="string"||s===void 0?typeof _=="number"?s(""+_):_:s(_)}function F(_){return l.length-_.length<=0?_:e.reverseFillMask===!0&&_.length!==0?l.slice(0,-_.length)+_:_+l.slice(_.length)}return{innerValue:f,hasMask:u,moveCursorForPaste:S,updateMaskValue:w,onMaskedKeydown:M,onMaskedClick:T}}const Yn={name:String};function ua(e={}){return(t,o,r)=>{t[o](n.h("input",{class:"hidden"+(r||""),...e.value}))}}function Br(e){return n.computed(()=>e.name||e.for)}function ca(e,t){function o(){const r=e.modelValue;try{const i="DataTransfer"in window?new DataTransfer:"ClipboardEvent"in window?new ClipboardEvent("").clipboardData:void 0;return Object(r)===r&&("length"in r?Array.from(r):[r]).forEach(l=>{i.items.add(l)}),{files:i.files}}catch{return{files:void 0}}}return n.computed(()=>{if(e.type==="file")return o()})}const da=/[\u3000-\u303f\u3040-\u309f\u30a0-\u30ff\uff00-\uff9f\u4e00-\u9faf\u3400-\u4dbf]/,fa=/[\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,ma=/[\u3131-\u314e\u314f-\u3163\uac00-\ud7a3]/,ha=/[a-z0-9_ -]$/i;function Er(e){return function(o){if(o.type==="compositionend"||o.type==="change"){if(o.target.qComposing!==!0)return;o.target.qComposing=!1,e(o)}else o.type==="compositionupdate"&&o.target.qComposing!==!0&&typeof o.data=="string"&&(me.is.firefox===!0?ha.test(o.data)===!1:da.test(o.data)===!0||fa.test(o.data)===!0||ma.test(o.data)===!0)===!0&&(o.target.qComposing=!0)}}const qr=ie({name:"QInput",inheritAttrs:!1,props:{...ln,...aa,...Yn,modelValue:[String,Number,FileList],shadowText:String,type:{type:String,default:"text"},debounce:[String,Number],autogrow:Boolean,inputClass:[Array,String,Object],inputStyle:[Array,String,Object]},emits:[...Qn,"paste","change","keydown","click","animationend"],setup(e,{emit:t,attrs:o}){const{proxy:r}=n.getCurrentInstance(),{$q:i}=r,l={};let a=NaN,s,d,c=null,u;const f=n.ref(null),g=Br(e),{innerValue:p,hasMask:h,moveCursorForPaste:k,updateMaskValue:w,onMaskedKeydown:S,onMaskedClick:x}=sa(e,t,H,f),T=ca(e),M=n.computed(()=>qt(p.value)),E=Er(q),V=Zn({changeEvent:!0}),$=n.computed(()=>e.type==="textarea"||e.autogrow===!0),F=n.computed(()=>$.value===!0||["text","search","url","tel","password"].includes(e.type)),_=n.computed(()=>{const v={...V.splitAttrs.listeners.value,onInput:q,onPaste:N,onChange:L,onBlur:W,onFocus:Se};return v.onCompositionstart=v.onCompositionupdate=v.onCompositionend=E,h.value===!0&&(v.onKeydown=S,v.onClick=x),e.autogrow===!0&&(v.onAnimationend=K),v}),B=n.computed(()=>{const v={tabindex:0,"data-autofocus":e.autofocus===!0||void 0,rows:e.type==="textarea"?6:void 0,"aria-label":e.label,name:g.value,...V.splitAttrs.attributes.value,id:V.targetUid.value,maxlength:e.maxlength,disabled:e.disable===!0,readonly:e.readonly===!0};return $.value===!1&&(v.type=e.type),e.autogrow===!0&&(v.rows=1),v});n.watch(()=>e.type,()=>{f.value&&(f.value.value=e.modelValue)}),n.watch(()=>e.modelValue,v=>{if(h.value===!0){if(d===!0&&(d=!1,String(v)===a))return;w(v)}else p.value!==v&&(p.value=v,e.type==="number"&&l.hasOwnProperty("value")===!0&&(s===!0?s=!1:delete l.value));e.autogrow===!0&&n.nextTick(P)}),n.watch(()=>e.autogrow,v=>{v===!0?n.nextTick(P):f.value!==null&&o.rows>0&&(f.value.style.height="auto")}),n.watch(()=>e.dense,()=>{e.autogrow===!0&&n.nextTick(P)});function A(){Ft(()=>{const v=document.activeElement;f.value!==null&&f.value!==v&&(v===null||v.id!==V.targetUid.value)&&f.value.focus({preventScroll:!0})})}function b(){f.value!==null&&f.value.select()}function N(v){if(h.value===!0&&e.reverseFillMask!==!0){const I=v.target;k(I,I.selectionStart,I.selectionEnd)}t("paste",v)}function q(v){if(!v||!v.target)return;if(e.type==="file"){t("update:modelValue",v.target.files);return}const I=v.target.value;if(v.target.qComposing===!0){l.value=I;return}if(h.value===!0)w(I,!1,v.inputType);else if(H(I),F.value===!0&&v.target===document.activeElement){const{selectionStart:Q,selectionEnd:X}=v.target;Q!==void 0&&X!==void 0&&n.nextTick(()=>{v.target===document.activeElement&&I.indexOf(v.target.value)===0&&v.target.setSelectionRange(Q,X)})}e.autogrow===!0&&P()}function K(v){t("animationend",v),P()}function H(v,I){u=()=>{c=null,e.type!=="number"&&l.hasOwnProperty("value")===!0&&delete l.value,e.modelValue!==v&&a!==v&&(a=v,I===!0&&(d=!0),t("update:modelValue",v),n.nextTick(()=>{a===v&&(a=NaN)})),u=void 0},e.type==="number"&&(s=!0,l.value=v),e.debounce!==void 0?(c!==null&&clearTimeout(c),l.value=v,c=setTimeout(u,e.debounce)):u()}function P(){requestAnimationFrame(()=>{const v=f.value;if(v!==null){const I=v.parentNode.style,{scrollTop:Q}=v,{overflowY:X,maxHeight:R}=i.platform.is.firefox===!0?{}:window.getComputedStyle(v),z=X!==void 0&&X!=="scroll";z===!0&&(v.style.overflowY="hidden"),I.marginBottom=v.scrollHeight-1+"px",v.style.height="1px",v.style.height=v.scrollHeight+"px",z===!0&&(v.style.overflowY=parseInt(R,10)<v.scrollHeight?"auto":"hidden"),I.marginBottom="",v.scrollTop=Q}})}function L(v){E(v),c!==null&&(clearTimeout(c),c=null),u!==void 0&&u(),t("change",v.target.value)}function W(v){v!==void 0&&Se(v),c!==null&&(clearTimeout(c),c=null),u!==void 0&&u(),s=!1,d=!1,delete l.value,e.type!=="file"&&setTimeout(()=>{f.value!==null&&(f.value.value=p.value!==void 0?p.value:"")})}function Z(){return l.hasOwnProperty("value")===!0?l.value:p.value!==void 0?p.value:""}n.onBeforeUnmount(()=>{W()}),n.onMounted(()=>{e.autogrow===!0&&P()}),Object.assign(V,{innerValue:p,fieldClass:n.computed(()=>`q-${$.value===!0?"textarea":"input"}`+(e.autogrow===!0?" q-textarea--autogrow":"")),hasShadow:n.computed(()=>e.type!=="file"&&typeof e.shadowText=="string"&&e.shadowText.length!==0),inputRef:f,emitValue:H,hasValue:M,floatingLabel:n.computed(()=>M.value===!0&&(e.type!=="number"||isNaN(p.value)===!1)||qt(e.displayValue)),getControl:()=>n.h($.value===!0?"textarea":"input",{ref:f,class:["q-field__native q-placeholder",e.inputClass],style:e.inputStyle,...B.value,..._.value,...e.type!=="file"?{value:Z()}:T.value}),getShadowControl:()=>n.h("div",{class:"q-field__native q-field__shadow absolute-bottom no-pointer-events"+($.value===!0?"":" text-no-wrap")},[n.h("span",{class:"invisible"},Z()),n.h("span",e.shadowText)])});const y=Xn(V);return Object.assign(r,{focus:A,select:b,getNativeElement:()=>f.value}),It(r,"nativeEl",()=>f.value),y}}),pa=G(n.defineComponent({__name:"AppInputSearch",props:{field:{type:Boolean},required:{type:Boolean},datePicker:{type:Boolean},timePicker:{type:Boolean},dateLocale:{},withIcon:{type:Boolean},iconName:{},iconColor:{},withButton:{type:Boolean},buttonIcon:{},buttonTooltip:{},clearTooltip:{},withArrow:{type:Boolean},name:{},mask:{},fillMask:{type:[Boolean,String]},reverseFillMask:{type:Boolean},unmaskedValue:{type:Boolean},modelValue:{default:""},error:{type:Boolean,default:void 0},errorMessage:{},noErrorIcon:{type:Boolean},rules:{},reactiveRules:{type:Boolean},lazyRules:{type:[Boolean,String]},label:{},stackLabel:{type:Boolean},hint:{},hideHint:{type:Boolean},prefix:{},suffix:{},labelColor:{},color:{},bgColor:{},dark:{type:Boolean},loading:{type:Boolean},clearable:{type:Boolean},clearIcon:{},filled:{type:Boolean},outlined:{type:Boolean,default:!0},borderless:{type:Boolean},bordered:{type:Boolean},standout:{type:[Boolean,String]},labelSlot:{type:Boolean},bottomSlots:{type:Boolean},hideBottomSpace:{type:Boolean},counter:{type:Boolean},rounded:{type:Boolean},square:{type:Boolean},dense:{type:Boolean,default:!0},itemAligned:{type:Boolean},disable:{type:Boolean},readonly:{type:Boolean},autofocus:{type:Boolean},for:{},shadowText:{},type:{},debounce:{},maxlength:{},autogrow:{type:Boolean},inputClass:{},inputStyle:{},onClear:{},"onUpdate:modelValue":{},onFocus:{},onBlur:{},onClick:{}},emits:["update:modelValue","button-click","clear","focus","blur","click"],setup(e,{emit:t}){const o=e,r=t,i=n.computed({get:()=>o.modelValue!==null&&o.modelValue!==void 0&&o.type==="number"?+o.modelValue:o.modelValue,set:a=>r("update:modelValue",o.type==="number"?+a:a)}),l=n.computed(()=>({"--dense":o.dense,"--bordered":o.bordered}));return(a,s)=>(n.openBlock(),n.createBlock(qr,{modelValue:i.value,"onUpdate:modelValue":s[0]||(s[0]=d=>i.value=d),standout:"",outlined:"",clearable:"",dense:"","bg-color":"white",class:n.normalizeClass([a.$style["app-input"],l.value]),type:a.type,readonly:a.readonly||a.field,placeholder:a.label},{prepend:n.withCtx(()=>[n.createVNode(Ee,null,{default:n.withCtx(()=>s[1]||(s[1]=[n.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},[n.createElementVNode("path",{d:"M11.5 21C16.7467 21 21 16.7467 21 11.5C21 6.25329 16.7467 2 11.5 2C6.25329 2 2 6.25329 2 11.5C2 16.7467 6.25329 21 11.5 21Z",stroke:"#404650","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}),n.createElementVNode("path",{d:"M22 22L20 20",stroke:"#3F8CFF","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"})],-1)])),_:1})]),_:1},8,["modelValue","class","type","readonly","placeholder"]))}}),[["__cssModules",{$style:{"app-input":"_app-input_8jwo9_1"}}]]),ga=n.defineComponent({__name:"AppInput",props:{field:{type:Boolean},required:{type:Boolean},datePicker:{type:Boolean},timePicker:{type:Boolean},withIcon:{type:Boolean},withButton:{type:Boolean},withArrow:{type:Boolean},name:{},mask:{},fillMask:{type:[Boolean,String]},reverseFillMask:{type:Boolean},unmaskedValue:{type:Boolean},modelValue:{default:""},error:{type:Boolean,default:void 0},errorMessage:{},noErrorIcon:{type:Boolean},rules:{},reactiveRules:{type:Boolean},lazyRules:{type:[Boolean,String]},label:{},stackLabel:{type:Boolean},hint:{},hideHint:{type:Boolean},prefix:{},suffix:{},labelColor:{},color:{},bgColor:{},dark:{type:Boolean},loading:{type:Boolean},clearable:{type:Boolean},clearIcon:{},filled:{type:Boolean},outlined:{type:Boolean,default:!0},borderless:{type:Boolean},standout:{type:[Boolean,String]},labelSlot:{type:Boolean},bottomSlots:{type:Boolean},hideBottomSpace:{type:Boolean},counter:{type:Boolean},rounded:{type:Boolean},square:{type:Boolean},dense:{type:Boolean,default:!0},itemAligned:{type:Boolean},disable:{type:Boolean},readonly:{type:Boolean},autofocus:{type:Boolean},for:{},shadowText:{},type:{},debounce:{},maxlength:{},autogrow:{type:Boolean},inputClass:{},inputStyle:{},onClear:{},"onUpdate:modelValue":{},onFocus:{},onBlur:{},onClick:{}},emits:["update:modelValue","button-click","clear","focus","blur","click"],setup(e,{emit:t}){const o=e,r=t,i=n.ref(!1),l=n.computed(()=>o.type==="password"?i.value?"text":"password":o.type||"text"),a=n.computed({get:()=>o.modelValue!==null&&o.modelValue!==void 0&&o.type==="number"?+o.modelValue:o.modelValue,set:d=>r("update:modelValue",o.type==="number"?+d:d)}),s=n.computed(()=>({"app-input":!0,"--required":o.required,"--field":o.field,"input-number-without-arrow":l.value==="number"&&!o.withArrow}));return(d,c)=>(n.openBlock(),n.createBlock(qr,{modelValue:a.value,"onUpdate:modelValue":c[0]||(c[0]=u=>a.value=u),class:n.normalizeClass(s.value),standout:"",outlined:"",dense:"",type:l.value,autocomplete:"h87h58g7h8hd",readonly:d.readonly||d.field},null,8,["modelValue","class","type","readonly"]))}});function wa(e,t){const o=n.ref(null),r=n.computed(()=>e.disable===!0?null:n.h("span",{ref:o,class:"no-outline",tabindex:-1}));function i(l){const a=t.value;l!==void 0&&l.type.indexOf("key")===0?a!==null&&document.activeElement!==a&&a.contains(document.activeElement)===!0&&a.focus():o.value!==null&&(l===void 0||a!==null&&a.contains(l.target)===!0)&&o.value.focus()}return{refocusTargetEl:r,refocusTarget:i}}const va={xs:30,sm:35,md:40,lg:50,xl:60},ka={...je,...Yt,...Yn,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]},ya=["update:modelValue"];function ba(e,t){const{props:o,slots:r,emit:i,proxy:l}=n.getCurrentInstance(),{$q:a}=l,s=Ne(o,a),d=n.ref(null),{refocusTargetEl:c,refocusTarget:u}=wa(o,d),f=Gt(o,va),g=n.computed(()=>o.val!==void 0&&Array.isArray(o.modelValue)),p=n.computed(()=>{const b=n.toRaw(o.val);return g.value===!0?o.modelValue.findIndex(N=>n.toRaw(N)===b):-1}),h=n.computed(()=>g.value===!0?p.value!==-1:n.toRaw(o.modelValue)===n.toRaw(o.trueValue)),k=n.computed(()=>g.value===!0?p.value===-1:n.toRaw(o.modelValue)===n.toRaw(o.falseValue)),w=n.computed(()=>h.value===!1&&k.value===!1),S=n.computed(()=>o.disable===!0?-1:o.tabindex||0),x=n.computed(()=>`q-${e} cursor-pointer no-outline row inline no-wrap items-center`+(o.disable===!0?" disabled":"")+(s.value===!0?` q-${e}--dark`:"")+(o.dense===!0?` q-${e}--dense`:"")+(o.leftLabel===!0?" reverse":"")),T=n.computed(()=>{const b=h.value===!0?"truthy":k.value===!0?"falsy":"indet",N=o.color!==void 0&&(o.keepColor===!0||h.value===!0)?` text-${o.color}`:"";return`q-${e}__inner relative-position non-selectable q-${e}__inner--${b}${N}`}),M=n.computed(()=>{const b={type:"checkbox"};return o.name!==void 0&&Object.assign(b,{".checked":h.value,"^checked":h.value===!0?"checked":void 0,name:o.name,value:g.value===!0?o.val:o.trueValue}),b}),E=ua(M),V=n.computed(()=>{const b={tabindex:S.value,role:"switch","aria-label":o.label,"aria-checked":w.value===!0?"mixed":h.value===!0?"true":"false"};return o.disable===!0&&(b["aria-disabled"]="true"),b});function $(b){b!==void 0&&(se(b),u(b)),o.disable!==!0&&i("update:modelValue",F(),b)}function F(){if(g.value===!0){if(h.value===!0){const b=o.modelValue.slice();return b.splice(p.value,1),b}return o.modelValue.concat([o.val])}if(h.value===!0){if(o.toggleOrder!=="ft"||o.toggleIndeterminate===!1)return o.falseValue}else if(k.value===!0){if(o.toggleOrder==="ft"||o.toggleIndeterminate===!1)return o.trueValue}else return o.toggleOrder!=="ft"?o.trueValue:o.falseValue;return o.indeterminateValue}function _(b){(b.keyCode===13||b.keyCode===32)&&se(b)}function B(b){(b.keyCode===13||b.keyCode===32)&&$(b)}const A=t(h,w);return Object.assign(l,{toggle:$}),()=>{const b=A();o.disable!==!0&&E(b,"unshift",` q-${e}__native absolute q-ma-none q-pa-none`);const N=[n.h("div",{class:T.value,style:f.value,"aria-hidden":"true"},b)];c.value!==null&&N.push(c.value);const q=o.label!==void 0?Oe(r.default,[o.label]):ve(r.default);return q!==void 0&&N.push(n.h("div",{class:`q-${e}__label q-anchor--skip`},q)),n.h("div",{ref:d,class:x.value,...V.value,onClick:$,onKeydown:_,onKeyup:B},N)}}const Ca=ie({name:"QToggle",props:{...ka,icon:String,iconColor:String},emits:ya,setup(e){function t(o,r){const i=n.computed(()=>(o.value===!0?e.checkedIcon:r.value===!0?e.indeterminateIcon:e.uncheckedIcon)||e.icon),l=n.computed(()=>o.value===!0?e.iconColor:null);return()=>[n.h("div",{class:"q-toggle__track"}),n.h("div",{class:"q-toggle__thumb absolute flex flex-center no-wrap"},i.value!==void 0?[n.h(Ee,{name:i.value,color:l.value})]:void 0)]}return ba("toggle",t)}}),_a=n.defineComponent({__name:"index",props:{modelValue:{}},emits:["update:modelValue","number"],setup(e,{emit:t}){const o=e,r=t,i=n.computed({get:()=>o.modelValue,set:l=>r("update:modelValue",l)});return(l,a)=>(n.openBlock(),n.createElementBlock("div",null,[n.createVNode(Ca,{modelValue:i.value,"onUpdate:modelValue":a[0]||(a[0]=s=>i.value=s)},null,8,["modelValue"])]))}}),Sa=ie({name:"QPage",props:{padding:Boolean,styleFn:Function},setup(e,{slots:t}){const{proxy:{$q:o}}=n.getCurrentInstance(),r=n.inject(nn,Te);if(r===Te)return console.error("QPage needs to be a deep child of QLayout"),Te;if(n.inject(vr,Te)===Te)return console.error("QPage needs to be child of QPageContainer"),Te;const l=n.computed(()=>{const s=(r.header.space===!0?r.header.size:0)+(r.footer.space===!0?r.footer.size:0);if(typeof e.styleFn=="function"){const d=r.isContainer.value===!0?r.containerHeight.value:o.screen.height;return e.styleFn(s,d)}return{minHeight:r.isContainer.value===!0?r.containerHeight.value-s+"px":o.screen.height===0?s!==0?`calc(100vh - ${s}px)`:"100vh":o.screen.height-s+"px"}}),a=n.computed(()=>`q-page${e.padding===!0?" q-layout-padding":""}`);return()=>n.h("main",{class:a.value,style:l.value},ve(t.default))}}),xa=ie({name:"QPageContainer",setup(e,{slots:t}){const{proxy:{$q:o}}=n.getCurrentInstance(),r=n.inject(nn,Te);if(r===Te)return console.error("QPageContainer needs to be child of QLayout"),Te;n.provide(vr,!0);const i=n.computed(()=>{const l={};return r.header.space===!0&&(l.paddingTop=`${r.header.size}px`),r.right.space===!0&&(l[`padding${o.lang.rtl===!0?"Left":"Right"}`]=`${r.right.size}px`),r.footer.space===!0&&(l.paddingBottom=`${r.footer.size}px`),r.left.space===!0&&(l[`padding${o.lang.rtl===!0?"Right":"Left"}`]=`${r.left.size}px`),l});return()=>n.h("div",{class:"q-page-container",style:i.value},ve(t.default))}}),{passive:Tr}=fe,Ba=["both","horizontal","vertical"],Ea=ie({name:"QScrollObserver",props:{axis:{type:String,validator:e=>Ba.includes(e),default:"vertical"},debounce:[String,Number],scrollTarget:On},emits:["scroll"],setup(e,{emit:t}){const o={position:{top:0,left:0},direction:"down",directionChanged:!1,delta:{top:0,left:0},inflectionPoint:{top:0,left:0}};let r=null,i,l;n.watch(()=>e.scrollTarget,()=>{d(),s()});function a(){r!==null&&r();const f=Math.max(0,Wo(i)),g=Ko(i),p={top:f-o.position.top,left:g-o.position.left};if(e.axis==="vertical"&&p.top===0||e.axis==="horizontal"&&p.left===0)return;const h=Math.abs(p.top)>=Math.abs(p.left)?p.top<0?"up":"down":p.left<0?"left":"right";o.position={top:f,left:g},o.directionChanged=o.direction!==h,o.delta=p,o.directionChanged===!0&&(o.direction=h,o.inflectionPoint=o.position),t("scroll",{...o})}function s(){i=Pn(l,e.scrollTarget),i.addEventListener("scroll",c,Tr),c(!0)}function d(){i!==void 0&&(i.removeEventListener("scroll",c,Tr),i=void 0)}function c(f){if(f===!0||e.debounce===0||e.debounce==="0")a();else if(r===null){const[g,p]=e.debounce?[setTimeout(a,e.debounce),clearTimeout]:[requestAnimationFrame(a),cancelAnimationFrame];r=()=>{p(g),r=null}}}const{proxy:u}=n.getCurrentInstance();return n.watch(()=>u.$q.lang.rtl,a),n.onMounted(()=>{l=u.$el.parentNode,s()}),n.onBeforeUnmount(()=>{r!==null&&r(),d()}),Object.assign(u,{trigger:c,getPosition:()=>o}),Nt}});function qa(){const e=n.ref(!We.value);return e.value===!1&&n.onMounted(()=>{e.value=!0}),{isHydrated:e}}const Mr=typeof ResizeObserver<"u",Vr=Mr===!0?{}:{style:"display:block;position:absolute;top:0;left:0;right:0;bottom:0;height:100%;width:100%;overflow:hidden;pointer-events:none;z-index:-1;",url:"about:blank"},$r=ie({name:"QResizeObserver",props:{debounce:{type:[String,Number],default:100}},emits:["resize"],setup(e,{emit:t}){let o=null,r,i={width:-1,height:-1};function l(d){d===!0||e.debounce===0||e.debounce==="0"?a():o===null&&(o=setTimeout(a,e.debounce))}function a(){if(o!==null&&(clearTimeout(o),o=null),r){const{offsetWidth:d,offsetHeight:c}=r;(d!==i.width||c!==i.height)&&(i={width:d,height:c},t("resize",i))}}const{proxy:s}=n.getCurrentInstance();if(s.trigger=l,Mr===!0){let d;const c=u=>{r=s.$el.parentNode,r?(d=new ResizeObserver(l),d.observe(r),a()):u!==!0&&n.nextTick(()=>{c(!0)})};return n.onMounted(()=>{c()}),n.onBeforeUnmount(()=>{o!==null&&clearTimeout(o),d!==void 0&&(d.disconnect!==void 0?d.disconnect():r&&d.unobserve(r))}),Nt}else{let d=function(){o!==null&&(clearTimeout(o),o=null),f!==void 0&&(f.removeEventListener!==void 0&&f.removeEventListener("resize",l,fe.passive),f=void 0)},c=function(){d(),r&&r.contentDocument&&(f=r.contentDocument.defaultView,f.addEventListener("resize",l,fe.passive),a())};const{isHydrated:u}=qa();let f;return n.onMounted(()=>{n.nextTick(()=>{r=s.$el,r&&c()})}),n.onBeforeUnmount(d),()=>{if(u.value===!0)return n.h("object",{class:"q--avoid-card-border",style:Vr.style,tabindex:-1,type:"text/html",data:Vr.url,"aria-hidden":"true",onLoad:c})}}}}),Ta=ie({name:"QLayout",props:{container:Boolean,view:{type:String,default:"hhh lpr fff",validator:e=>/^(h|l)h(h|r) lpr (f|l)f(f|r)$/.test(e.toLowerCase())},onScroll:Function,onScrollHeight:Function,onResize:Function},setup(e,{slots:t,emit:o}){const{proxy:{$q:r}}=n.getCurrentInstance(),i=n.ref(null),l=n.ref(r.screen.height),a=n.ref(e.container===!0?0:r.screen.width),s=n.ref({position:0,direction:"down",inflectionPoint:0}),d=n.ref(0),c=n.ref(We.value===!0?0:Dt()),u=n.computed(()=>"q-layout q-layout--"+(e.container===!0?"containerized":"standard")),f=n.computed(()=>e.container===!1?{minHeight:r.screen.height+"px"}:null),g=n.computed(()=>c.value!==0?{[r.lang.rtl===!0?"left":"right"]:`${c.value}px`}:null),p=n.computed(()=>c.value!==0?{[r.lang.rtl===!0?"right":"left"]:0,[r.lang.rtl===!0?"left":"right"]:`-${c.value}px`,width:`calc(100% + ${c.value}px)`}:null);function h(M){if(e.container===!0||document.qScrollPrevented!==!0){const E={position:M.position.top,direction:M.direction,directionChanged:M.directionChanged,inflectionPoint:M.inflectionPoint.top,delta:M.delta.top};s.value=E,e.onScroll!==void 0&&o("scroll",E)}}function k(M){const{height:E,width:V}=M;let $=!1;l.value!==E&&($=!0,l.value=E,e.onScrollHeight!==void 0&&o("scrollHeight",E),S()),a.value!==V&&($=!0,a.value=V),$===!0&&e.onResize!==void 0&&o("resize",M)}function w({height:M}){d.value!==M&&(d.value=M,S())}function S(){if(e.container===!0){const M=l.value>d.value?Dt():0;c.value!==M&&(c.value=M)}}let x=null;const T={instances:{},view:n.computed(()=>e.view),isContainer:n.computed(()=>e.container),rootRef:i,height:l,containerHeight:d,scrollbarWidth:c,totalWidth:n.computed(()=>a.value+c.value),rows:n.computed(()=>{const M=e.view.toLowerCase().split(" ");return{top:M[0].split(""),middle:M[1].split(""),bottom:M[2].split("")}}),header:n.reactive({size:0,offset:0,space:!1}),right:n.reactive({size:300,offset:0,space:!1}),footer:n.reactive({size:0,offset:0,space:!1}),left:n.reactive({size:300,offset:0,space:!1}),scroll:s,animate(){x!==null?clearTimeout(x):document.body.classList.add("q-body--layout-animate"),x=setTimeout(()=>{x=null,document.body.classList.remove("q-body--layout-animate")},155)},update(M,E,V){T[M][E]=V}};if(n.provide(nn,T),Dt()>0){let M=function(){$=null,F.classList.remove("hide-scrollbar")},E=function(){if($===null){if(F.scrollHeight>r.screen.height)return;F.classList.add("hide-scrollbar")}else clearTimeout($);$=setTimeout(M,300)},V=function(_){$!==null&&_==="remove"&&(clearTimeout($),M()),window[`${_}EventListener`]("resize",E)},$=null;const F=document.body;n.watch(()=>e.container!==!0?"add":"remove",V),e.container!==!0&&V("add"),n.onUnmounted(()=>{V("remove")})}return()=>{const M=Oe(t.default,[n.h(Ea,{onScroll:h}),n.h($r,{onResize:k})]),E=n.h("div",{class:u.value,style:f.value,ref:e.container===!0?void 0:i,tabindex:-1},M);return e.container===!0?n.h("div",{class:"q-layout-container overflow-hidden",ref:i},[n.h($r,{onResize:w}),n.h("div",{class:"absolute-full",style:g.value},[n.h("div",{class:"scroll",style:p.value},[E])])]):E}}}),Ma=G(n.defineComponent({__name:"AppLayout",props:{logged:{type:Boolean},console:{type:Boolean},container:{type:Boolean},padding:{}},setup(e){function t(o){const r=document.getElementById("content"),i=o.target;r&&!i.closest("#content")&&r.scrollBy({top:o.deltaY})}return(o,r)=>(n.openBlock(),n.createBlock(Ta,{class:n.normalizeClass(o.$style.layout),view:"lHh LpR fFf"},{default:n.withCtx(()=>[o.logged?(n.openBlock(),n.createElementBlock("div",{key:0,class:n.normalizeClass(o.$style["loader-backdrop"])},[n.createVNode(zn,{size:"md",color:"white",class:n.normalizeClass(o.$style["loader-spinner"])},null,8,["class"])],2)):n.createCommentVNode("",!0),n.renderSlot(o.$slots,"drawer"),n.renderSlot(o.$slots,"header"),n.createVNode(xa,{class:n.normalizeClass({container:o.container}),onWheel:t},{default:n.withCtx(()=>[n.createVNode(Sa,null,{default:n.withCtx(()=>[n.renderSlot(o.$slots,"default"),n.renderSlot(o.$slots,"page-bottom")]),_:3})]),_:3},8,["class"]),n.renderSlot(o.$slots,"footer")]),_:3},8,["class"]))}}),[["__cssModules",{$style:{layout:"_layout_1hhwj_1","loader-backdrop":"_loader-backdrop_1hhwj_6","loader-spinner":"_loader-spinner_1hhwj_13"}}]]),Va={xs:8,sm:10,md:14,lg:20,xl:24},Lr=ie({name:"QChip",props:{...je,...Yt,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:t,emit:o}){const{proxy:{$q:r}}=n.getCurrentInstance(),i=Ne(e,r),l=Gt(e,Va),a=n.computed(()=>e.selected===!0||e.icon!==void 0),s=n.computed(()=>e.selected===!0?e.iconSelected||r.iconSet.chip.selected:e.icon),d=n.computed(()=>e.iconRemove||r.iconSet.chip.remove),c=n.computed(()=>e.disable===!1&&(e.clickable===!0||e.selected!==null)),u=n.computed(()=>{const w=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}`:"")+(w?` text-${w} 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":"")+(c.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":"")}),f=n.computed(()=>{const w=e.disable===!0?{tabindex:-1,"aria-disabled":"true"}:{tabindex:e.tabindex||0},S={...w,role:"button","aria-hidden":"false","aria-label":e.removeAriaLabel||r.lang.label.remove};return{chip:w,remove:S}});function g(w){w.keyCode===13&&p(w)}function p(w){e.disable||(o("update:selected",!e.selected),o("click",w))}function h(w){(w.keyCode===void 0||w.keyCode===13)&&(se(w),e.disable===!1&&(o("update:modelValue",!1),o("remove")))}function k(){const w=[];c.value===!0&&w.push(n.h("div",{class:"q-focus-helper"})),a.value===!0&&w.push(n.h(Ee,{class:"q-chip__icon q-chip__icon--left",name:s.value}));const S=e.label!==void 0?[n.h("div",{class:"ellipsis"},[e.label])]:void 0;return w.push(n.h("div",{class:"q-chip__content col row no-wrap items-center q-anchor--skip"},el(t.default,S))),e.iconRight&&w.push(n.h(Ee,{class:"q-chip__icon q-chip__icon--right",name:e.iconRight})),e.removable===!0&&w.push(n.h(Ee,{class:"q-chip__icon q-chip__icon--remove cursor-pointer",name:d.value,...f.value.remove,onClick:h,onKeyup:h})),w}return()=>{if(e.modelValue===!1)return;const w={class:u.value,style:l.value};return c.value===!0&&Object.assign(w,f.value.chip,{onClick:p,onKeyup:g}),Bn("div",w,k(),"ripple",e.ripple!==!1&&e.disable!==!0,()=>[[Jt,e.ripple]])}}}),Fe=ie({name:"QItem",props:{...je,...Dn,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:t,emit:o}){const{proxy:{$q:r}}=n.getCurrentInstance(),i=Ne(e,r),{hasLink:l,linkAttrs:a,linkClass:s,linkTag:d,navigateOnClick:c}=fr(),u=n.ref(null),f=n.ref(null),g=n.computed(()=>e.clickable===!0||l.value===!0||e.tag==="label"),p=n.computed(()=>e.disable!==!0&&g.value===!0),h=n.computed(()=>"q-item q-item-type row no-wrap"+(e.dense===!0?" q-item--dense":"")+(i.value===!0?" q-item--dark":"")+(l.value===!0&&e.active===null?s.value:e.active===!0?` q-item--active${e.activeClass!==void 0?` ${e.activeClass}`:""}`:"")+(e.disable===!0?" disabled":"")+(p.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":""):"")),k=n.computed(()=>e.insetLevel===void 0?null:{["padding"+(r.lang.rtl===!0?"Right":"Left")]:16+e.insetLevel*56+"px"});function w(T){p.value===!0&&(f.value!==null&&(T.qKeyEvent!==!0&&document.activeElement===u.value?f.value.focus():document.activeElement===f.value&&u.value.focus()),c(T))}function S(T){if(p.value===!0&&Qe(T,[13,32])===!0){se(T),T.qKeyEvent=!0;const M=new MouseEvent("click",T);M.qKeyEvent=!0,u.value.dispatchEvent(M)}o("keyup",T)}function x(){const T=Ji(t.default,[]);return p.value===!0&&T.unshift(n.h("div",{class:"q-focus-helper",tabindex:-1,ref:f})),T}return()=>{const T={ref:u,class:h.value,style:k.value,role:"listitem",onClick:w,onKeyup:S};return p.value===!0?(T.tabindex=e.tabindex||"0",Object.assign(T,a.value)):g.value===!0&&(T["aria-disabled"]="true"),n.h(d.value,T,x())}}}),$a=ie({name:"QField",inheritAttrs:!1,props:{...ln,tag:{type:String,default:"label"}},emits:Qn,setup(){return Xn(Zn({tagProp:!0}))}}),ye=ie({name:"QItemSection",props:{avatar:Boolean,thumbnail:Boolean,side:Boolean,top:Boolean,noWrap:Boolean},setup(e,{slots:t}){const o=n.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()=>n.h("div",{class:o.value},ve(t.default))}}),Gn=ie({name:"QItemLabel",props:{overline:Boolean,caption:Boolean,header:Boolean,lines:[Number,String]},setup(e,{slots:t}){const o=n.computed(()=>parseInt(e.lines,10)),r=n.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":"")+(o.value===1?" ellipsis":"")),i=n.computed(()=>e.lines!==void 0&&o.value>1?{overflow:"hidden",display:"-webkit-box","-webkit-box-orient":"vertical","-webkit-line-clamp":o.value}:null);return()=>n.h("div",{style:i.value,class:r.value},ve(t.default))}}),Ye=[];let dt;function La(e){dt=e.keyCode===27}function Ra(){dt===!0&&(dt=!1)}function Aa(e){dt===!0&&(dt=!1,Qe(e,27)===!0&&Ye[Ye.length-1](e))}function Rr(e){window[e]("keydown",La),window[e]("blur",Ra),window[e]("keyup",Aa),dt=!1}function Ar(e){me.is.desktop===!0&&(Ye.push(e),Ye.length===1&&Rr("addEventListener"))}function sn(e){const t=Ye.indexOf(e);t!==-1&&(Ye.splice(t,1),Ye.length===0&&Rr("removeEventListener"))}const Ge=[];function Or(e){Ge[Ge.length-1](e)}function Pr(e){me.is.desktop===!0&&(Ge.push(e),Ge.length===1&&document.body.addEventListener("focusin",Or))}function Jn(e){const t=Ge.indexOf(e);t!==-1&&(Ge.splice(t,1),Ge.length===0&&document.body.removeEventListener("focusin",Or))}const Oa=ie({name:"QMenu",inheritAttrs:!1,props:{...ul,...Ct,...je,...Et,persistent:Boolean,autoClose:Boolean,separateClosePopup:Boolean,noRouteDismiss:Boolean,noRefocus:Boolean,noFocus:Boolean,fit:Boolean,cover:Boolean,square:Boolean,anchor:{type:String,validator:Qt},self:{type:String,validator:Qt},offset:{type:Array,validator:Yo},scrollTarget:On,touchPosition:Boolean,maxHeight:{type:String,default:null},maxWidth:{type:String,default:null}},emits:[..._t,"click","escapeKey"],setup(e,{slots:t,emit:o,attrs:r}){let i=null,l,a,s;const d=n.getCurrentInstance(),{proxy:c}=d,{$q:u}=c,f=n.ref(null),g=n.ref(!1),p=n.computed(()=>e.persistent!==!0&&e.noRouteDismiss!==!0),h=Ne(e,u),{registerTick:k,removeTick:w}=Rn(),{registerTimeout:S}=Ht(),{transitionProps:x,transitionStyle:T}=Ln(e),{localScrollTarget:M,changeScrollEvent:E,unconfigureScrollTarget:V}=jo(e,I),{anchorEl:$,canShow:F}=Io({showing:g}),{hide:_}=St({showing:g,canShow:F,handleShow:Z,handleHide:y,hideOnRouteChange:p,processOnMount:!0}),{showPortal:B,hidePortal:A,renderPortal:b}=$n(d,f,te,"menu"),N={anchorEl:$,innerRef:f,onClickOutside(j){if(e.persistent!==!0&&g.value===!0)return _(j),(j.type==="touchstart"||j.target.classList.contains("q-dialog__backdrop"))&&se(j),!0}},q=n.computed(()=>Zt(e.anchor||(e.cover===!0?"center middle":"bottom start"),u.lang.rtl)),K=n.computed(()=>e.cover===!0?q.value:Zt(e.self||"top start",u.lang.rtl)),H=n.computed(()=>(e.square===!0?" q-menu--square":"")+(h.value===!0?" q-menu--dark q-dark":"")),P=n.computed(()=>e.autoClose===!0?{onClick:Q}:{}),L=n.computed(()=>g.value===!0&&e.persistent!==!0);n.watch(L,j=>{j===!0?(Ar(R),Qo(N)):(sn(R),Kt(N))});function W(){Ft(()=>{let j=f.value;j&&j.contains(document.activeElement)!==!0&&(j=j.querySelector("[autofocus][tabindex], [data-autofocus][tabindex]")||j.querySelector("[autofocus] [tabindex], [data-autofocus] [tabindex]")||j.querySelector("[autofocus], [data-autofocus]")||j,j.focus({preventScroll:!0}))})}function Z(j){if(i=e.noRefocus===!1?document.activeElement:null,Pr(X),B(),I(),l=void 0,j!==void 0&&(e.touchPosition||e.contextMenu)){const le=bt(j);if(le.left!==void 0){const{top:Me,left:Ae}=$.value.getBoundingClientRect();l={left:le.left-Ae,top:le.top-Me}}}a===void 0&&(a=n.watch(()=>u.screen.width+"|"+u.screen.height+"|"+e.self+"|"+e.anchor+"|"+u.lang.rtl,z)),e.noFocus!==!0&&document.activeElement.blur(),k(()=>{z(),e.noFocus!==!0&&W()}),S(()=>{u.platform.is.ios===!0&&(s=e.autoClose,f.value.click()),z(),B(!0),o("show",j)},e.transitionDuration)}function y(j){w(),A(),v(!0),i!==null&&(j===void 0||j.qClickOutside!==!0)&&(((j&&j.type.indexOf("key")===0?i.closest('[tabindex]:not([tabindex^="-"])'):void 0)||i).focus(),i=null),S(()=>{A(!0),o("hide",j)},e.transitionDuration)}function v(j){l=void 0,a!==void 0&&(a(),a=void 0),(j===!0||g.value===!0)&&(Jn(X),V(),Kt(N),sn(R)),j!==!0&&(i=null)}function I(){($.value!==null||e.scrollTarget!==void 0)&&(M.value=Pn($.value,e.scrollTarget),E(M.value,z))}function Q(j){s!==!0?(gl(c,j),o("click",j)):s=!1}function X(j){L.value===!0&&e.noFocus!==!0&&Uo(f.value,j.target)!==!0&&W()}function R(j){o("escapeKey"),_(j)}function z(){jn({targetEl:f.value,offset:e.offset,anchorEl:$.value,anchorOrigin:q.value,selfOrigin:K.value,absoluteOffset:l,fit:e.fit,cover:e.cover,maxHeight:e.maxHeight,maxWidth:e.maxWidth})}function te(){return n.h(n.Transition,x.value,()=>g.value===!0?n.h("div",{role:"menu",...r,ref:f,tabindex:-1,class:["q-menu q-position-engine scroll"+H.value,r.class],style:[r.style,T.value],...P.value},ve(t.default)):null)}return n.onBeforeUnmount(v),Object.assign(c,{focus:W,updatePosition:z}),b}});function Ir(e,t,o){function r(){}return n.onBeforeUnmount(()=>{e.value===!0&&void 0}),{removeFromHistory:r,addToHistory(){}}}let Tt=0,eo,to,Mt,no=!1,jr,Nr,Fr,Je=null;function Pa(e){Ia(e)&&se(e)}function Ia(e){if(e.target===document.body||e.target.classList.contains("q-layout__backdrop"))return!0;const t=sl(e),o=e.shiftKey&&!e.deltaX,r=!o&&Math.abs(e.deltaX)<=Math.abs(e.deltaY),i=o||r?e.deltaY:e.deltaX;for(let l=0;l<t.length;l++){const a=t[l];if(bl(a,r))return r?i<0&&a.scrollTop===0?!0:i>0&&a.scrollTop+a.clientHeight===a.scrollHeight:i<0&&a.scrollLeft===0?!0:i>0&&a.scrollLeft+a.clientWidth===a.scrollWidth}return!0}function Hr(e){e.target===document&&(document.scrollingElement.scrollTop=document.scrollingElement.scrollTop)}function un(e){no!==!0&&(no=!0,requestAnimationFrame(()=>{no=!1;const{height:t}=e.target,{clientHeight:o,scrollTop:r}=document.scrollingElement;(Mt===void 0||t!==window.innerHeight)&&(Mt=o-t,document.scrollingElement.scrollTop=r),r>Mt&&(document.scrollingElement.scrollTop-=Math.ceil((r-Mt)/8))}))}function zr(e){const t=document.body,o=window.visualViewport!==void 0;if(e==="add"){const{overflowY:r,overflowX:i}=window.getComputedStyle(t);eo=Ko(window),to=Wo(window),jr=t.style.left,Nr=t.style.top,Fr=window.location.href,t.style.left=`-${eo}px`,t.style.top=`-${to}px`,i!=="hidden"&&(i==="scroll"||t.scrollWidth>window.innerWidth)&&t.classList.add("q-body--force-scrollbar-x"),r!=="hidden"&&(r==="scroll"||t.scrollHeight>window.innerHeight)&&t.classList.add("q-body--force-scrollbar-y"),t.classList.add("q-body--prevent-scroll"),document.qScrollPrevented=!0,me.is.ios===!0&&(o===!0?(window.scrollTo(0,0),window.visualViewport.addEventListener("resize",un,fe.passiveCapture),window.visualViewport.addEventListener("scroll",un,fe.passiveCapture),window.scrollTo(0,0)):window.addEventListener("scroll",Hr,fe.passiveCapture))}me.is.desktop===!0&&me.is.mac===!0&&window[`${e}EventListener`]("wheel",Pa,fe.notPassive),e==="remove"&&(me.is.ios===!0&&(o===!0?(window.visualViewport.removeEventListener("resize",un,fe.passiveCapture),window.visualViewport.removeEventListener("scroll",un,fe.passiveCapture)):window.removeEventListener("scroll",Hr,fe.passiveCapture)),t.classList.remove("q-body--prevent-scroll"),t.classList.remove("q-body--force-scrollbar-x"),t.classList.remove("q-body--force-scrollbar-y"),document.qScrollPrevented=!1,t.style.left=jr,t.style.top=Nr,window.location.href===Fr&&window.scrollTo(eo,to),Mt=void 0)}function ja(e){let t="add";if(e===!0){if(Tt++,Je!==null){clearTimeout(Je),Je=null;return}if(Tt>1)return}else{if(Tt===0||(Tt--,Tt>0))return;if(t="remove",me.is.ios===!0&&me.is.nativeMobile===!0){Je!==null&&clearTimeout(Je),Je=setTimeout(()=>{zr(t),Je=null},100);return}}zr(t)}function Dr(){let e;return{preventBodyScroll(t){t!==e&&(e!==void 0||t===!0)&&(e=t,ja(t))}}}let cn=0;const Na={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"},Ur={standard:["scale","scale"],top:["slide-down","slide-up"],bottom:["slide-up","slide-down"],right:["slide-left","slide-right"],left:["slide-right","slide-left"]},Fa=ie({name:"QDialog",inheritAttrs:!1,props:{...Ct,...Et,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:[..._t,"shake","click","escapeKey"],setup(e,{slots:t,emit:o,attrs:r}){const i=n.getCurrentInstance(),l=n.ref(null),a=n.ref(!1),s=n.ref(!1);let d=null,c=null,u,f;const g=n.computed(()=>e.persistent!==!0&&e.noRouteDismiss!==!0&&e.seamless!==!0),{preventBodyScroll:p}=Dr(),{registerTimeout:h}=Ht(),{registerTick:k,removeTick:w}=Rn(),{transitionProps:S,transitionStyle:x}=Ln(e,()=>Ur[e.position][0],()=>Ur[e.position][1]),T=n.computed(()=>x.value+(e.backdropFilter!==void 0?`;backdrop-filter:${e.backdropFilter};-webkit-backdrop-filter:${e.backdropFilter}`:"")),{showPortal:M,hidePortal:E,portalIsAccessible:V,renderPortal:$}=$n(i,l,X,"dialog"),{hide:F}=St({showing:a,hideOnRouteChange:g,handleShow:K,handleHide:H,processOnMount:!0}),{addToHistory:_,removeFromHistory:B}=Ir(a),A=n.computed(()=>`q-dialog__inner flex no-pointer-events q-dialog__inner--${e.maximized===!0?"maximized":"minimized"} q-dialog__inner--${e.position} ${Na[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":"")),b=n.computed(()=>a.value===!0&&e.seamless!==!0),N=n.computed(()=>e.autoClose===!0?{onClick:v}:{}),q=n.computed(()=>[`q-dialog fullscreen no-pointer-events q-dialog--${b.value===!0?"modal":"seamless"}`,r.class]);n.watch(()=>e.maximized,R=>{a.value===!0&&y(R)}),n.watch(b,R=>{p(R),R===!0?(Pr(Q),Ar(W)):(Jn(Q),sn(W))});function K(R){_(),c=e.noRefocus===!1&&document.activeElement!==null?document.activeElement:null,y(e.maximized),M(),s.value=!0,e.noFocus!==!0?(document.activeElement!==null&&document.activeElement.blur(),k(P)):w(),h(()=>{if(i.proxy.$q.platform.is.ios===!0){if(e.seamless!==!0&&document.activeElement){const{top:z,bottom:te}=document.activeElement.getBoundingClientRect(),{innerHeight:j}=window,le=window.visualViewport!==void 0?window.visualViewport.height:j;z>0&&te>le/2&&(document.scrollingElement.scrollTop=Math.min(document.scrollingElement.scrollHeight-le,te>=j?1/0:Math.ceil(document.scrollingElement.scrollTop+te-le/2))),document.activeElement.scrollIntoView()}f=!0,l.value.click(),f=!1}M(!0),s.value=!1,o("show",R)},e.transitionDuration)}function H(R){w(),B(),Z(!0),s.value=!0,E(),c!==null&&(((R&&R.type.indexOf("key")===0?c.closest('[tabindex]:not([tabindex^="-"])'):void 0)||c).focus(),c=null),h(()=>{E(!0),s.value=!1,o("hide",R)},e.transitionDuration)}function P(R){Ft(()=>{let z=l.value;if(z!==null){if(R!==void 0){const te=z.querySelector(R);if(te!==null){te.focus({preventScroll:!0});return}}z.contains(document.activeElement)!==!0&&(z=z.querySelector("[autofocus][tabindex], [data-autofocus][tabindex]")||z.querySelector("[autofocus] [tabindex], [data-autofocus] [tabindex]")||z.querySelector("[autofocus], [data-autofocus]")||z,z.focus({preventScroll:!0}))}})}function L(R){R&&typeof R.focus=="function"?R.focus({preventScroll:!0}):P(),o("shake");const z=l.value;z!==null&&(z.classList.remove("q-animate--scale"),z.classList.add("q-animate--scale"),d!==null&&clearTimeout(d),d=setTimeout(()=>{d=null,l.value!==null&&(z.classList.remove("q-animate--scale"),P())},170))}function W(){e.seamless!==!0&&(e.persistent===!0||e.noEscDismiss===!0?e.maximized!==!0&&e.noShake!==!0&&L():(o("escapeKey"),F()))}function Z(R){d!==null&&(clearTimeout(d),d=null),(R===!0||a.value===!0)&&(y(!1),e.seamless!==!0&&(p(!1),Jn(Q),sn(W))),R!==!0&&(c=null)}function y(R){R===!0?u!==!0&&(cn<1&&document.body.classList.add("q-body--dialog"),cn++,u=!0):u===!0&&(cn<2&&document.body.classList.remove("q-body--dialog"),cn--,u=!1)}function v(R){f!==!0&&(F(R),o("click",R))}function I(R){e.persistent!==!0&&e.noBackdropDismiss!==!0?F(R):e.noShake!==!0&&L()}function Q(R){e.allowFocusOutside!==!0&&V.value===!0&&Uo(l.value,R.target)!==!0&&P('[tabindex]:not([tabindex="-1"])')}Object.assign(i.proxy,{focus:P,shake:L,__updateRefocusTarget(R){c=R||null}}),n.onBeforeUnmount(Z);function X(){return n.h("div",{role:"dialog","aria-modal":b.value===!0?"true":"false",...r,class:q.value},[n.h(n.Transition,{name:"q-transition--fade",appear:!0},()=>b.value===!0?n.h("div",{class:"q-dialog__backdrop fixed-full",style:T.value,"aria-hidden":"true",tabindex:-1,onClick:I}):null),n.h(n.Transition,S.value,()=>a.value===!0?n.h("div",{ref:l,class:A.value,style:x.value,tabindex:-1,...N.value},ve(t.default)):null)])}return $}});let dn=!1;{const e=document.createElement("div");e.setAttribute("dir","rtl"),Object.assign(e.style,{width:"1px",height:"1px",overflow:"auto"});const t=document.createElement("div");Object.assign(t.style,{width:"1000px",height:"1px"}),document.body.appendChild(e),e.appendChild(t),e.scrollLeft=-1e3,dn=e.scrollLeft>=0,e.remove()}const $e=1e3,Ha=["start","center","end","start-force","center-force","end-force"],Wr=Array.prototype.filter,za=window.getComputedStyle(document.body).overflowAnchor===void 0?Nt:function(e,t){e!==null&&(e._qOverflowAnimationFrame!==void 0&&cancelAnimationFrame(e._qOverflowAnimationFrame),e._qOverflowAnimationFrame=requestAnimationFrame(()=>{if(e===null)return;e._qOverflowAnimationFrame=void 0;const o=e.children||[];Wr.call(o,i=>i.dataset&&i.dataset.qVsAnchor!==void 0).forEach(i=>{delete i.dataset.qVsAnchor});const r=o[t];r&&r.dataset&&(r.dataset.qVsAnchor="")}))};function ft(e,t){return e+t}function oo(e,t,o,r,i,l,a,s){const d=e===window?document.scrollingElement||document.documentElement:e,c=i===!0?"offsetWidth":"offsetHeight",u={scrollStart:0,scrollViewSize:-a-s,scrollMaxSize:0,offsetStart:-a,offsetEnd:-s};if(i===!0?(e===window?(u.scrollStart=window.pageXOffset||window.scrollX||document.body.scrollLeft||0,u.scrollViewSize+=document.documentElement.clientWidth):(u.scrollStart=d.scrollLeft,u.scrollViewSize+=d.clientWidth),u.scrollMaxSize=d.scrollWidth,l===!0&&(u.scrollStart=(dn===!0?u.scrollMaxSize-u.scrollViewSize:0)-u.scrollStart)):(e===window?(u.scrollStart=window.pageYOffset||window.scrollY||document.body.scrollTop||0,u.scrollViewSize+=document.documentElement.clientHeight):(u.scrollStart=d.scrollTop,u.scrollViewSize+=d.clientHeight),u.scrollMaxSize=d.scrollHeight),o!==null)for(let f=o.previousElementSibling;f!==null;f=f.previousElementSibling)f.classList.contains("q-virtual-scroll--skip")===!1&&(u.offsetStart+=f[c]);if(r!==null)for(let f=r.nextElementSibling;f!==null;f=f.nextElementSibling)f.classList.contains("q-virtual-scroll--skip")===!1&&(u.offsetEnd+=f[c]);if(t!==e){const f=d.getBoundingClientRect(),g=t.getBoundingClientRect();i===!0?(u.offsetStart+=g.left-f.left,u.offsetEnd-=g.width):(u.offsetStart+=g.top-f.top,u.offsetEnd-=g.height),e!==window&&(u.offsetStart+=u.scrollStart),u.offsetEnd+=u.scrollMaxSize-u.offsetStart}return u}function Kr(e,t,o,r){t==="end"&&(t=(e===window?document.body:e)[o===!0?"scrollWidth":"scrollHeight"]),e===window?o===!0?(r===!0&&(t=(dn===!0?document.body.scrollWidth-document.documentElement.clientWidth:0)-t),window.scrollTo(t,window.pageYOffset||window.scrollY||document.body.scrollTop||0)):window.scrollTo(window.pageXOffset||window.scrollX||document.body.scrollLeft||0,t):o===!0?(r===!0&&(t=(dn===!0?e.scrollWidth-e.offsetWidth:0)-t),e.scrollLeft=t):e.scrollTop=t}function Vt(e,t,o,r){if(o>=r)return 0;const i=t.length,l=Math.floor(o/$e),a=Math.floor((r-1)/$e)+1;let s=e.slice(l,a).reduce(ft,0);return o%$e!==0&&(s-=t.slice(l*$e,o).reduce(ft,0)),r%$e!==0&&r!==i&&(s-=t.slice(r,a*$e).reduce(ft,0)),s}const Qr={virtualScrollHorizontal:Boolean,onVirtualScroll:Function,...{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]}};function Da({virtualScrollLength:e,getVirtualScrollTarget:t,getVirtualScrollEl:o,virtualScrollItemSizeComputed:r}){const i=n.getCurrentInstance(),{props:l,emit:a,proxy:s}=i,{$q:d}=s;let c,u,f,g=[],p;const h=n.ref(0),k=n.ref(0),w=n.ref({}),S=n.ref(null),x=n.ref(null),T=n.ref(null),M=n.ref({from:0,to:0}),E=n.computed(()=>l.tableColspan!==void 0?l.tableColspan:100);r===void 0&&(r=n.computed(()=>l.virtualScrollItemSize));const V=n.computed(()=>r.value+";"+l.virtualScrollHorizontal),$=n.computed(()=>V.value+";"+l.virtualScrollSliceRatioBefore+";"+l.virtualScrollSliceRatioAfter);n.watch($,()=>{H()}),n.watch(V,F);function F(){K(u,!0)}function _(y){K(y===void 0?u:y)}function B(y,v){const I=t();if(I==null||I.nodeType===8)return;const Q=oo(I,o(),S.value,x.value,l.virtualScrollHorizontal,d.lang.rtl,l.virtualScrollStickySizeStart,l.virtualScrollStickySizeEnd);f!==Q.scrollViewSize&&H(Q.scrollViewSize),b(I,Q,Math.min(e.value-1,Math.max(0,parseInt(y,10)||0)),0,Ha.indexOf(v)!==-1?v:u!==-1&&y>u?"end":"start")}function A(){const y=t();if(y==null||y.nodeType===8)return;const v=oo(y,o(),S.value,x.value,l.virtualScrollHorizontal,d.lang.rtl,l.virtualScrollStickySizeStart,l.virtualScrollStickySizeEnd),I=e.value-1,Q=v.scrollMaxSize-v.offsetStart-v.offsetEnd-k.value;if(c===v.scrollStart)return;if(v.scrollMaxSize<=0){b(y,v,0,0);return}f!==v.scrollViewSize&&H(v.scrollViewSize),N(M.value.from);const X=Math.floor(v.scrollMaxSize-Math.max(v.scrollViewSize,v.offsetEnd)-Math.min(p[I],v.scrollViewSize/2));if(X>0&&Math.ceil(v.scrollStart)>=X){b(y,v,I,v.scrollMaxSize-v.offsetEnd-g.reduce(ft,0));return}let R=0,z=v.scrollStart-v.offsetStart,te=z;if(z<=Q&&z+v.scrollViewSize>=h.value)z-=h.value,R=M.value.from,te=z;else for(let j=0;z>=g[j]&&R<I;j++)z-=g[j],R+=$e;for(;z>0&&R<I;)z-=p[R],z>-v.scrollViewSize?(R++,te=z):te=p[R]+z;b(y,v,R,te)}function b(y,v,I,Q,X){const R=typeof X=="string"&&X.indexOf("-force")!==-1,z=R===!0?X.replace("-force",""):X,te=z!==void 0?z:"start";let j=Math.max(0,I-w.value[te]),le=j+w.value.total;le>e.value&&(le=e.value,j=Math.max(0,le-w.value.total)),c=v.scrollStart;const Me=j!==M.value.from||le!==M.value.to;if(Me===!1&&z===void 0){L(I);return}const{activeElement:Ae}=document,ae=T.value;Me===!0&&ae!==null&&ae!==Ae&&ae.contains(Ae)===!0&&(ae.addEventListener("focusout",q),setTimeout(()=>{ae!==null&&ae.removeEventListener("focusout",q)})),za(ae,I-j);const Be=z!==void 0?p.slice(j,I).reduce(ft,0):0;if(Me===!0){const Re=le>=M.value.from&&j<=M.value.to?M.value.to:le;M.value={from:j,to:Re},h.value=Vt(g,p,0,j),k.value=Vt(g,p,le,e.value),requestAnimationFrame(()=>{M.value.to!==le&&c===v.scrollStart&&(M.value={from:M.value.from,to:le},k.value=Vt(g,p,le,e.value))})}requestAnimationFrame(()=>{if(c!==v.scrollStart)return;Me===!0&&N(j);const Re=p.slice(j,I).reduce(ft,0),Ie=Re+v.offsetStart+h.value,pt=Ie+p[I];let De=Ie+Q;if(z!==void 0){const rt=Re-Be,_e=v.scrollStart+rt;De=R!==!0&&_e<Ie&&pt<_e+v.scrollViewSize?_e:z==="end"?pt-v.scrollViewSize:Ie-(z==="start"?0:Math.round((v.scrollViewSize-p[I])/2))}c=De,Kr(y,De,l.virtualScrollHorizontal,d.lang.rtl),L(I)})}function N(y){const v=T.value;if(v){const I=Wr.call(v.children,j=>j.classList&&j.classList.contains("q-virtual-scroll--skip")===!1),Q=I.length,X=l.virtualScrollHorizontal===!0?j=>j.getBoundingClientRect().width:j=>j.offsetHeight;let R=y,z,te;for(let j=0;j<Q;){for(z=X(I[j]),j++;j<Q&&I[j].classList.contains("q-virtual-scroll--with-prev")===!0;)z+=X(I[j]),j++;te=z-p[R],te!==0&&(p[R]+=te,g[Math.floor(R/$e)]+=te),R++}}}function q(){T.value!==null&&T.value!==void 0&&T.value.focus()}function K(y,v){const I=1*r.value;(v===!0||Array.isArray(p)===!1)&&(p=[]);const Q=p.length;p.length=e.value;for(let R=e.value-1;R>=Q;R--)p[R]=I;const X=Math.floor((e.value-1)/$e);g=[];for(let R=0;R<=X;R++){let z=0;const te=Math.min((R+1)*$e,e.value);for(let j=R*$e;j<te;j++)z+=p[j];g.push(z)}u=-1,c=void 0,h.value=Vt(g,p,0,M.value.from),k.value=Vt(g,p,M.value.to,e.value),y>=0?(N(M.value.from),n.nextTick(()=>{B(y)})):W()}function H(y){if(y===void 0&&typeof window<"u"){const z=t();z!=null&&z.nodeType!==8&&(y=oo(z,o(),S.value,x.value,l.virtualScrollHorizontal,d.lang.rtl,l.virtualScrollStickySizeStart,l.virtualScrollStickySizeEnd).scrollViewSize)}f=y;const v=parseFloat(l.virtualScrollSliceRatioBefore)||0,I=parseFloat(l.virtualScrollSliceRatioAfter)||0,Q=1+v+I,X=y===void 0||y<=0?1:Math.ceil(y/r.value),R=Math.max(1,X,Math.ceil((l.virtualScrollSliceSize>0?l.virtualScrollSliceSize:10)/Q));w.value={total:Math.ceil(R*Q),start:Math.ceil(R*v),center:Math.ceil(R*(.5+v)),end:Math.ceil(R*(1+v)),view:X}}function P(y,v){const I=l.virtualScrollHorizontal===!0?"width":"height",Q={["--q-virtual-scroll-item-"+I]:r.value+"px"};return[y==="tbody"?n.h(y,{class:"q-virtual-scroll__padding",key:"before",ref:S},[n.h("tr",[n.h("td",{style:{[I]:`${h.value}px`,...Q},colspan:E.value})])]):n.h(y,{class:"q-virtual-scroll__padding",key:"before",ref:S,style:{[I]:`${h.value}px`,...Q}}),n.h(y,{class:"q-virtual-scroll__content",key:"content",ref:T,tabindex:-1},v.flat()),y==="tbody"?n.h(y,{class:"q-virtual-scroll__padding",key:"after",ref:x},[n.h("tr",[n.h("td",{style:{[I]:`${k.value}px`,...Q},colspan:E.value})])]):n.h(y,{class:"q-virtual-scroll__padding",key:"after",ref:x,style:{[I]:`${k.value}px`,...Q}})]}function L(y){u!==y&&(l.onVirtualScroll!==void 0&&a("virtualScroll",{index:y,from:M.value.from,to:M.value.to-1,direction:y<u?"decrease":"increase",ref:s}),u=y)}H();const W=Cr(A,d.platform.is.ios===!0?120:35);n.onBeforeMount(()=>{H()});let Z=!1;return n.onDeactivated(()=>{Z=!0}),n.onActivated(()=>{if(Z!==!0)return;const y=t();c!==void 0&&y!==void 0&&y!==null&&y.nodeType!==8?Kr(y,c,l.virtualScrollHorizontal,d.lang.rtl):B(u)}),n.onBeforeUnmount(()=>{W.cancel()}),Object.assign(s,{scrollTo:B,reset:F,refresh:_}),{virtualScrollSliceRange:M,virtualScrollSliceSizeComputed:w,setVirtualScrollSize:H,onVirtualScrollEvt:W,localResetVirtualScroll:K,padVirtualScroll:P,scrollTo:B,reset:F,refresh:_}}function He(e,t){if(e===t)return!0;if(e!==null&&t!==null&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;let o,r;if(e.constructor===Array){if(o=e.length,o!==t.length)return!1;for(r=o;r--!==0;)if(He(e[r],t[r])!==!0)return!1;return!0}if(e.constructor===Map){if(e.size!==t.size)return!1;let l=e.entries();for(r=l.next();r.done!==!0;){if(t.has(r.value[0])!==!0)return!1;r=l.next()}for(l=e.entries(),r=l.next();r.done!==!0;){if(He(r.value[1],t.get(r.value[0]))!==!0)return!1;r=l.next()}return!0}if(e.constructor===Set){if(e.size!==t.size)return!1;const l=e.entries();for(r=l.next();r.done!==!0;){if(t.has(r.value[0])!==!0)return!1;r=l.next()}return!0}if(e.buffer!=null&&e.buffer.constructor===ArrayBuffer){if(o=e.length,o!==t.length)return!1;for(r=o;r--!==0;)if(e[r]!==t[r])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===t.toString();const i=Object.keys(e).filter(l=>e[l]!==void 0);if(o=i.length,o!==Object.keys(t).filter(l=>t[l]!==void 0).length)return!1;for(r=o;r--!==0;){const l=i[r];if(He(e[l],t[l])!==!0)return!1}return!0}return e!==e&&t!==t}function fn(e,t,o){return o<=t?t:Math.min(o,Math.max(t,e))}function Zr(e,t,o){if(o<=t)return t;const r=o-t+1;let i=t+(e-t)%r;return i<t&&(i=r+i),i===0?0:i}const Xr=e=>["add","add-unique","toggle"].includes(e),Ua=".*+?^${}()|[]\\",Wa=Object.keys(ln);function ro(e,t){if(typeof e=="function")return e;const o=e!==void 0?e:t;return r=>r!==null&&typeof r=="object"&&o in r?r[o]:r}const Ka=ie({name:"QSelect",inheritAttrs:!1,props:{...Qr,...Yn,...ln,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:Xr},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:Qr.virtualScrollItemSize.type,onNewValue:Function,onFilter:Function},emits:[...Qn,"add","remove","inputValue","keyup","keypress","keydown","popupShow","popupHide","filterAbort"],setup(e,{slots:t,emit:o}){const{proxy:r}=n.getCurrentInstance(),{$q:i}=r,l=n.ref(!1),a=n.ref(!1),s=n.ref(-1),d=n.ref(""),c=n.ref(!1),u=n.ref(!1);let f=null,g=null,p,h,k,w=null,S,x,T,M;const E=n.ref(null),V=n.ref(null),$=n.ref(null),F=n.ref(null),_=n.ref(null),B=Br(e),A=Er(Ki),b=n.computed(()=>e.options.length),N=n.computed(()=>e.virtualScrollItemSize===void 0?e.optionsDense===!0?24:48:e.virtualScrollItemSize),{virtualScrollSliceRange:q,virtualScrollSliceSizeComputed:K,localResetVirtualScroll:H,padVirtualScroll:P,onVirtualScrollEvt:L,scrollTo:W,setVirtualScrollSize:Z}=Da({virtualScrollLength:b,getVirtualScrollTarget:sf,getVirtualScrollEl:Ui,virtualScrollItemSizeComputed:N}),y=Zn(),v=n.computed(()=>{const m=e.mapOptions===!0&&e.multiple!==!0,D=e.modelValue!==void 0&&(e.modelValue!==null||m===!0)?e.multiple===!0&&Array.isArray(e.modelValue)?e.modelValue:[e.modelValue]:[];if(e.mapOptions===!0){const U=e.mapOptions===!0&&p!==void 0?p:[],ee=D.map(oe=>af(oe,U));return e.modelValue===null&&m===!0?ee.filter(oe=>oe!==null):ee}return D}),I=n.computed(()=>{const m={};return Wa.forEach(D=>{const U=e[D];U!==void 0&&(m[D]=U)}),m}),Q=n.computed(()=>e.optionsDark===null?y.isDark.value:e.optionsDark),X=n.computed(()=>qt(v.value)),R=n.computed(()=>{let m="q-field__input q-placeholder col";return e.hideSelected===!0||v.value.length===0?[m,e.inputClass]:(m+=" q-field__input--padding",e.inputClass===void 0?m:[m,e.inputClass])}),z=n.computed(()=>(e.virtualScrollHorizontal===!0?"q-virtual-scroll--horizontal":"")+(e.popupContentClass?" "+e.popupContentClass:"")),te=n.computed(()=>b.value===0),j=n.computed(()=>v.value.map(m=>pe.value(m)).join(", ")),le=n.computed(()=>e.displayValue!==void 0?e.displayValue:j.value),Me=n.computed(()=>e.optionsHtml===!0?()=>!0:m=>m!=null&&m.html===!0),Ae=n.computed(()=>e.displayValueHtml===!0||e.displayValue===void 0&&(e.optionsHtml===!0||v.value.some(Me.value))),ae=n.computed(()=>y.focused.value===!0?e.tabindex:-1),Be=n.computed(()=>{const m={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":l.value===!0?"true":"false","aria-controls":`${y.targetUid.value}_lb`};return s.value>=0&&(m["aria-activedescendant"]=`${y.targetUid.value}_${s.value}`),m}),Re=n.computed(()=>({id:`${y.targetUid.value}_lb`,role:"listbox","aria-multiselectable":e.multiple===!0?"true":"false"})),Ie=n.computed(()=>v.value.map((m,D)=>({index:D,opt:m,html:Me.value(m),selected:!0,removeAtIndex:lf,toggleOption:lt,tabindex:ae.value}))),pt=n.computed(()=>{if(b.value===0)return[];const{from:m,to:D}=q.value;return e.options.slice(m,D).map((U,ee)=>{const oe=O.value(U)===!0,ne=Vo(U)===!0,ge=m+ee,ue={clickable:!0,active:ne,activeClass:_e.value,manualFocus:!0,focused:!1,disable:oe,tabindex:-1,dense:e.optionsDense,dark:Q.value,role:"option","aria-selected":ne===!0?"true":"false",id:`${y.targetUid.value}_${ge}`,onClick:()=>{lt(U)}};return oe!==!0&&(s.value===ge&&(ue.focused=!0),i.platform.is.desktop===!0&&(ue.onMousemove=()=>{l.value===!0&&gt(ge)})),{index:ge,opt:U,html:Me.value(U),label:pe.value(U),selected:ue.active,focused:ue.focused,toggleOption:lt,setOptionIndex:gt,itemProps:ue}})}),De=n.computed(()=>e.dropdownIcon!==void 0?e.dropdownIcon:i.iconSet.arrow.dropdown),rt=n.computed(()=>e.optionsCover===!1&&e.outlined!==!0&&e.standout!==!0&&e.borderless!==!0&&e.rounded!==!0),_e=n.computed(()=>e.optionsSelectedClass!==void 0?e.optionsSelectedClass:e.color!==void 0?`text-${e.color}`:""),Ve=n.computed(()=>ro(e.optionValue,"value")),pe=n.computed(()=>ro(e.optionLabel,"label")),O=n.computed(()=>ro(e.optionDisable,"disable")),J=n.computed(()=>v.value.map(Ve.value)),we=n.computed(()=>{const m={onInput:Ki,onChange:A,onKeydown:Di,onKeyup:Hi,onKeypress:zi,onFocus:Ni,onClick(D){h===!0&&Se(D)}};return m.onCompositionstart=m.onCompositionupdate=m.onCompositionend=A,m});n.watch(v,m=>{p=m,e.useInput===!0&&e.fillInput===!0&&e.multiple!==!0&&y.innerLoading.value!==!0&&(a.value!==!0&&l.value!==!0||X.value!==!0)&&(k!==!0&&yt(),(a.value===!0||l.value===!0)&&wt(""))},{immediate:!0}),n.watch(()=>e.fillInput,yt),n.watch(l,$o),n.watch(b,yf);function it(m){return e.emitValue===!0?Ve.value(m):m}function _n(m){if(m!==-1&&m<v.value.length)if(e.multiple===!0){const D=e.modelValue.slice();o("remove",{index:m,value:D.splice(m,1)[0]}),o("update:modelValue",D)}else o("update:modelValue",null)}function lf(m){_n(m),y.focus()}function ji(m,D){const U=it(m);if(e.multiple!==!0){e.fillInput===!0&&Pt(pe.value(m),!0,!0),o("update:modelValue",U);return}if(v.value.length===0){o("add",{index:0,value:U}),o("update:modelValue",e.multiple===!0?[U]:U);return}if(D===!0&&Vo(m)===!0||e.maxValues!==void 0&&e.modelValue.length>=e.maxValues)return;const ee=e.modelValue.slice();o("add",{index:ee.length,value:U}),ee.push(U),o("update:modelValue",ee)}function lt(m,D){if(y.editable.value!==!0||m===void 0||O.value(m)===!0)return;const U=Ve.value(m);if(e.multiple!==!0){D!==!0&&(Pt(e.fillInput===!0?pe.value(m):"",!0,!0),at()),V.value!==null&&V.value.focus(),(v.value.length===0||He(Ve.value(v.value[0]),U)!==!0)&&o("update:modelValue",e.emitValue===!0?U:m);return}if((h!==!0||c.value===!0)&&y.focus(),Ni(),v.value.length===0){const ne=e.emitValue===!0?U:m;o("add",{index:0,value:ne}),o("update:modelValue",e.multiple===!0?[ne]:ne);return}const ee=e.modelValue.slice(),oe=J.value.findIndex(ne=>He(ne,U));if(oe!==-1)o("remove",{index:oe,value:ee.splice(oe,1)[0]});else{if(e.maxValues!==void 0&&ee.length>=e.maxValues)return;const ne=e.emitValue===!0?U:m;o("add",{index:ee.length,value:ne}),ee.push(ne)}o("update:modelValue",ee)}function gt(m){if(i.platform.is.desktop!==!0)return;const D=m!==-1&&m<b.value?m:-1;s.value!==D&&(s.value=D)}function Sn(m=1,D){if(l.value===!0){let U=s.value;do U=Zr(U+m,-1,b.value-1);while(U!==-1&&U!==s.value&&O.value(e.options[U])===!0);s.value!==U&&(gt(U),W(U),D!==!0&&e.useInput===!0&&e.fillInput===!0&&xn(U>=0?pe.value(e.options[U]):S,!0))}}function af(m,D){const U=ee=>He(Ve.value(ee),m);return e.options.find(U)||D.find(U)||m}function Vo(m){const D=Ve.value(m);return J.value.find(U=>He(U,D))!==void 0}function Ni(m){e.useInput===!0&&V.value!==null&&(m===void 0||V.value===m.target&&m.target.value===j.value)&&V.value.select()}function Fi(m){Qe(m,27)===!0&&l.value===!0&&(Se(m),at(),yt()),o("keyup",m)}function Hi(m){const{value:D}=m.target;if(m.keyCode!==void 0){Fi(m);return}if(m.target.value="",f!==null&&(clearTimeout(f),f=null),g!==null&&(clearTimeout(g),g=null),yt(),typeof D=="string"&&D.length!==0){const U=D.toLocaleLowerCase(),ee=ne=>{const ge=e.options.find(ue=>ne.value(ue).toLocaleLowerCase()===U);return ge===void 0?!1:(v.value.indexOf(ge)===-1?lt(ge):at(),!0)},oe=ne=>{ee(Ve)!==!0&&(ee(pe)===!0||ne===!0||wt(D,!0,()=>oe(!0)))};oe()}else y.clearValue(m)}function zi(m){o("keypress",m)}function Di(m){if(o("keydown",m),Mn(m)===!0)return;const D=d.value.length!==0&&(e.newValueMode!==void 0||e.onNewValue!==void 0),U=m.shiftKey!==!0&&e.disableTabSelection!==!0&&e.multiple!==!0&&(s.value!==-1||D===!0);if(m.keyCode===27){ke(m);return}if(m.keyCode===9&&U===!1){vt();return}if(m.target===void 0||m.target.id!==y.targetUid.value||y.editable.value!==!0)return;if(m.keyCode===40&&y.innerLoading.value!==!0&&l.value===!1){se(m),kt();return}if(m.keyCode===8&&(e.useChips===!0||e.clearable===!0)&&e.hideSelected!==!0&&d.value.length===0){e.multiple===!0&&Array.isArray(e.modelValue)===!0?_n(e.modelValue.length-1):e.multiple!==!0&&e.modelValue!==null&&o("update:modelValue",null);return}(m.keyCode===35||m.keyCode===36)&&(typeof d.value!="string"||d.value.length===0)&&(se(m),s.value=-1,Sn(m.keyCode===36?1:-1,e.multiple)),(m.keyCode===33||m.keyCode===34)&&K.value!==void 0&&(se(m),s.value=Math.max(-1,Math.min(b.value,s.value+(m.keyCode===33?-1:1)*K.value.view)),Sn(m.keyCode===33?1:-1,e.multiple)),(m.keyCode===38||m.keyCode===40)&&(se(m),Sn(m.keyCode===38?-1:1,e.multiple));const ee=b.value;if((T===void 0||M<Date.now())&&(T=""),ee>0&&e.useInput!==!0&&m.key!==void 0&&m.key.length===1&&m.altKey===!1&&m.ctrlKey===!1&&m.metaKey===!1&&(m.keyCode!==32||T.length!==0)){l.value!==!0&&kt(m);const oe=m.key.toLocaleLowerCase(),ne=T.length===1&&T[0]===oe;M=Date.now()+1500,ne===!1&&(se(m),T+=oe);const ge=new RegExp("^"+T.split("").map(Lo=>Ua.indexOf(Lo)!==-1?"\\"+Lo:Lo).join(".*"),"i");let ue=s.value;if(ne===!0||ue<0||ge.test(pe.value(e.options[ue]))!==!0)do ue=Zr(ue+1,-1,ee-1);while(ue!==s.value&&(O.value(e.options[ue])===!0||ge.test(pe.value(e.options[ue]))!==!0));s.value!==ue&&n.nextTick(()=>{gt(ue),W(ue),ue>=0&&e.useInput===!0&&e.fillInput===!0&&xn(pe.value(e.options[ue]),!0)});return}if(!(m.keyCode!==13&&(m.keyCode!==32||e.useInput===!0||T!=="")&&(m.keyCode!==9||U===!1))){if(m.keyCode!==9&&se(m),s.value!==-1&&s.value<ee){lt(e.options[s.value]);return}if(D===!0){const oe=(ne,ge)=>{if(ge){if(Xr(ge)!==!0)return}else ge=e.newValueMode;if(Pt("",e.multiple!==!0,!0),ne==null)return;(ge==="toggle"?lt:ji)(ne,ge==="add-unique"),e.multiple!==!0&&(V.value!==null&&V.value.focus(),at())};if(e.onNewValue!==void 0?o("newValue",d.value,oe):oe(d.value),e.multiple!==!0)return}l.value===!0?vt():y.innerLoading.value!==!0&&kt()}}function Ui(){return h===!0?_.value:$.value!==null&&$.value.contentEl!==null?$.value.contentEl:void 0}function sf(){return Ui()}function uf(){return e.hideSelected===!0?[]:t["selected-item"]!==void 0?Ie.value.map(m=>t["selected-item"](m)).slice():t.selected!==void 0?[].concat(t.selected()):e.useChips===!0?Ie.value.map((m,D)=>n.h(Lr,{key:"option-"+D,removable:y.editable.value===!0&&O.value(m.opt)!==!0,dense:!0,textColor:e.color,tabindex:ae.value,onRemove(){m.removeAtIndex(D)}},()=>n.h("span",{class:"ellipsis",[m.html===!0?"innerHTML":"textContent"]:pe.value(m.opt)}))):[n.h("span",{[Ae.value===!0?"innerHTML":"textContent"]:le.value})]}function Wi(){if(te.value===!0)return t["no-option"]!==void 0?t["no-option"]({inputValue:d.value}):void 0;const m=t.option!==void 0?t.option:U=>n.h(Fe,{key:U.index,...U.itemProps},()=>n.h(ye,()=>n.h(Gn,()=>n.h("span",{[U.html===!0?"innerHTML":"textContent"]:U.label}))));let D=P("div",pt.value.map(m));return t["before-options"]!==void 0&&(D=t["before-options"]().concat(D)),Oe(t["after-options"],D)}function cf(m,D){const U=D===!0?{...Be.value,...y.splitAttrs.attributes.value}:void 0,ee={ref:D===!0?V:void 0,key:"i_t",class:R.value,style:e.inputStyle,value:d.value!==void 0?d.value:"",type:"search",...U,id:D===!0?y.targetUid.value:void 0,maxlength:e.maxlength,autocomplete:e.autocomplete,"data-autofocus":m===!0||e.autofocus===!0||void 0,disabled:e.disable===!0,readonly:e.readonly===!0,...we.value};return m!==!0&&h===!0&&(Array.isArray(ee.class)===!0?ee.class=[...ee.class,"no-pointer-events"]:ee.class+=" no-pointer-events"),n.h("input",ee)}function Ki(m){f!==null&&(clearTimeout(f),f=null),g!==null&&(clearTimeout(g),g=null),!(m&&m.target&&m.target.qComposing===!0)&&(xn(m.target.value||""),k=!0,S=d.value,y.focused.value!==!0&&(h!==!0||c.value===!0)&&y.focus(),e.onFilter!==void 0&&(f=setTimeout(()=>{f=null,wt(d.value)},e.inputDebounce)))}function xn(m,D){d.value!==m&&(d.value=m,D===!0||e.inputDebounce===0||e.inputDebounce==="0"?o("inputValue",m):g=setTimeout(()=>{g=null,o("inputValue",m)},e.inputDebounce))}function Pt(m,D,U){k=U!==!0,e.useInput===!0&&(xn(m,!0),(D===!0||U!==!0)&&(S=m),D!==!0&&wt(m))}function wt(m,D,U){if(e.onFilter===void 0||D!==!0&&y.focused.value!==!0)return;y.innerLoading.value===!0?o("filterAbort"):(y.innerLoading.value=!0,u.value=!0),m!==""&&e.multiple!==!0&&v.value.length!==0&&k!==!0&&m===pe.value(v.value[0])&&(m="");const ee=setTimeout(()=>{l.value===!0&&(l.value=!1)},10);w!==null&&clearTimeout(w),w=ee,o("filter",m,(oe,ne)=>{(D===!0||y.focused.value===!0)&&w===ee&&(clearTimeout(w),typeof oe=="function"&&oe(),u.value=!1,n.nextTick(()=>{y.innerLoading.value=!1,y.editable.value===!0&&(D===!0?l.value===!0&&at():l.value===!0?$o(!0):l.value=!0),typeof ne=="function"&&n.nextTick(()=>{ne(r)}),typeof U=="function"&&n.nextTick(()=>{U(r)})}))},()=>{y.focused.value===!0&&w===ee&&(clearTimeout(w),y.innerLoading.value=!1,u.value=!1),l.value===!0&&(l.value=!1)})}function df(){return n.h(Oa,{ref:$,class:z.value,style:e.popupContentStyle,modelValue:l.value,fit:e.menuShrink!==!0,cover:e.optionsCover===!0&&te.value!==!0&&e.useInput!==!0,anchor:e.menuAnchor,self:e.menuSelf,offset:e.menuOffset,dark:Q.value,noParentEvent:!0,noRefocus:!0,noFocus:!0,noRouteDismiss:e.popupNoRouteDismiss,square:rt.value,transitionShow:e.transitionShow,transitionHide:e.transitionHide,transitionDuration:e.transitionDuration,separateClosePopup:!0,...Re.value,onScrollPassive:L,onBeforeShow:Zi,onBeforeHide:ff,onShow:mf},Wi)}function ff(m){Xi(m),vt()}function mf(){Z()}function hf(m){Se(m),V.value!==null&&V.value.focus(),c.value=!0,window.scrollTo(window.pageXOffset||window.scrollX||document.body.scrollLeft||0,0)}function pf(m){Se(m),n.nextTick(()=>{c.value=!1})}function gf(){const m=[n.h($a,{class:`col-auto ${y.fieldClass.value}`,...I.value,for:y.targetUid.value,dark:Q.value,square:!0,loading:u.value,itemAligned:!1,filled:!0,stackLabel:d.value.length!==0,...y.splitAttrs.listeners.value,onFocus:hf,onBlur:pf},{...t,rawControl:()=>y.getControl(!0),before:void 0,after:void 0})];return l.value===!0&&m.push(n.h("div",{ref:_,class:z.value+" scroll",style:e.popupContentStyle,...Re.value,onClick:ke,onScrollPassive:L},Wi())),n.h(Fa,{ref:F,modelValue:a.value,position:e.useInput===!0?"top":void 0,transitionShow:x,transitionHide:e.transitionHide,transitionDuration:e.transitionDuration,noRouteDismiss:e.popupNoRouteDismiss,onBeforeShow:Zi,onBeforeHide:wf,onHide:vf,onShow:kf},()=>n.h("div",{class:"q-select__dialog"+(Q.value===!0?" q-select__dialog--dark q-dark":"")+(c.value===!0?" q-select__dialog--focused":"")},m))}function wf(m){Xi(m),F.value!==null&&F.value.__updateRefocusTarget(y.rootRef.value.querySelector(".q-field__native > [tabindex]:last-child")),y.focused.value=!1}function vf(m){at(),y.focused.value===!1&&o("blur",m),yt()}function kf(){const m=document.activeElement;(m===null||m.id!==y.targetUid.value)&&V.value!==null&&V.value!==m&&V.value.focus(),Z()}function vt(){a.value!==!0&&(s.value=-1,l.value===!0&&(l.value=!1),y.focused.value===!1&&(w!==null&&(clearTimeout(w),w=null),y.innerLoading.value===!0&&(o("filterAbort"),y.innerLoading.value=!1,u.value=!1)))}function kt(m){y.editable.value===!0&&(h===!0?(y.onControlFocusin(m),a.value=!0,n.nextTick(()=>{y.focus()})):y.focus(),e.onFilter!==void 0?wt(d.value):(te.value!==!0||t["no-option"]!==void 0)&&(l.value=!0))}function at(){a.value=!1,vt()}function yt(){e.useInput===!0&&Pt(e.multiple!==!0&&e.fillInput===!0&&v.value.length!==0&&pe.value(v.value[0])||"",!0,!0)}function $o(m){let D=-1;if(m===!0){if(v.value.length!==0){const U=Ve.value(v.value[0]);D=e.options.findIndex(ee=>He(Ve.value(ee),U))}H(D)}gt(D)}function yf(m,D){l.value===!0&&y.innerLoading.value===!1&&(H(-1,!0),n.nextTick(()=>{l.value===!0&&y.innerLoading.value===!1&&(m>D?H():$o(!0))}))}function Qi(){a.value===!1&&$.value!==null&&$.value.updatePosition()}function Zi(m){m!==void 0&&Se(m),o("popupShow",m),y.hasPopupOpen=!0,y.onControlFocusin(m)}function Xi(m){m!==void 0&&Se(m),o("popupHide",m),y.hasPopupOpen=!1,y.onControlFocusout(m)}function Yi(){h=i.platform.is.mobile!==!0&&e.behavior!=="dialog"?!1:e.behavior!=="menu"&&(e.useInput===!0?t["no-option"]!==void 0||e.onFilter!==void 0||te.value===!1:!0),x=i.platform.is.ios===!0&&h===!0&&e.useInput===!0?"fade":e.transitionShow}return n.onBeforeUpdate(Yi),n.onUpdated(Qi),Yi(),n.onBeforeUnmount(()=>{f!==null&&clearTimeout(f),g!==null&&clearTimeout(g)}),Object.assign(r,{showPopup:kt,hidePopup:at,removeAtIndex:_n,add:ji,toggleOption:lt,getOptionIndex:()=>s.value,setOptionIndex:gt,moveOptionSelection:Sn,filter:wt,updateMenuPosition:Qi,updateInputValue:Pt,isOptionSelected:Vo,getEmittingOptionValue:it,isOptionDisabled:(...m)=>O.value.apply(null,m)===!0,getOptionValue:(...m)=>Ve.value.apply(null,m),getOptionLabel:(...m)=>pe.value.apply(null,m)}),Object.assign(y,{innerValue:v,fieldClass:n.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:E,targetRef:V,hasValue:X,showPopup:kt,floatingLabel:n.computed(()=>e.hideSelected!==!0&&X.value===!0||typeof d.value=="number"||d.value.length!==0||qt(e.displayValue)),getControlChild:()=>{if(y.editable.value!==!1&&(a.value===!0||te.value!==!0||t["no-option"]!==void 0))return h===!0?gf():df();y.hasPopupOpen===!0&&(y.hasPopupOpen=!1)},controlEvents:{onFocusin(m){y.onControlFocusin(m)},onFocusout(m){y.onControlFocusout(m,()=>{yt(),vt()})},onClick(m){if(ke(m),h!==!0&&l.value===!0){vt(),V.value!==null&&V.value.focus();return}kt(m)}},getControl:m=>{const D=uf(),U=m===!0||a.value!==!0||h!==!0;if(e.useInput===!0)D.push(cf(m,U));else if(y.editable.value===!0){const oe=U===!0?Be.value:void 0;D.push(n.h("input",{ref:U===!0?V:void 0,key:"d_t",class:"q-select__focus-target",id:U===!0?y.targetUid.value:void 0,value:le.value,readonly:!0,"data-autofocus":m===!0||e.autofocus===!0||void 0,...oe,onKeydown:Di,onKeyup:Fi,onKeypress:zi})),U===!0&&typeof e.autocomplete=="string"&&e.autocomplete.length!==0&&D.push(n.h("input",{class:"q-select__autocomplete-input",autocomplete:e.autocomplete,tabindex:-1,onKeyup:Hi}))}if(B.value!==void 0&&e.disable!==!0&&J.value.length!==0){const oe=J.value.map(ne=>n.h("option",{value:ne,selected:!0}));D.push(n.h("select",{class:"hidden",name:B.value,multiple:e.multiple},oe))}const ee=e.useInput===!0||U!==!0?void 0:y.splitAttrs.attributes.value;return n.h("div",{class:"q-field__native row items-center",...ee,...y.splitAttrs.listeners.value},D)},getInnerAppend:()=>e.loading!==!0&&u.value!==!0&&e.hideDropdownIcon!==!0?[n.h(Ee,{class:"q-select__dropdown-icon"+(l.value===!0?" rotate-180":""),name:De.value})]:null}),Xn(y)}}),Qa=G(n.defineComponent({__name:"AppSelect",props:{modelValue:{},options:{},placeholder:{},emptyText:{},optionLabel:{},optionValue:{},label:{},multiple:{type:Boolean},borderColor:{},isDisabled:{type:Boolean}},emits:["update:modelValue"],setup(e,{emit:t}){n.useCssVars(u=>({"0a94557a":u.borderColor}));const o=e,r=n.ref({}),i=t,l=n.computed({get(){return o.modelValue},set(u){i("update:modelValue",u)}}),a=()=>Array.isArray(l.value)&&!l.value.length?!0:typeof l.value=="string"&&!l.value,s=n.ref(""),d=n.computed(()=>o.options.filter(u=>u[(o==null?void 0:o.optionLabel)||"label"].toLowerCase().includes(s.value)));function c(u,f){f(()=>{s.value=u.toLowerCase()})}return(u,f)=>(n.openBlock(),n.createBlock(n.unref(Ka),{ref_key:"select",ref:r,modelValue:l.value,"onUpdate:modelValue":f[0]||(f[0]=g=>l.value=g),options:d.value,"option-value":u.optionValue,"option-label":u.optionLabel,"emit-value":"","map-options":"",disable:u.isDisabled,multiple:u.multiple,outlined:"","stack-label":"","use-input":"",class:n.normalizeClass([u.$style.select]),label:u.label,"input-debounce":"100","popup-content-class":u.$style["app-select__menu"],rounded:"",autocomplete:"",onFilter:c},n.createSlots({"no-option":n.withCtx(()=>[n.createVNode(Fe,null,{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(u.emptyText),1)]),_:1})]),default:n.withCtx(()=>[!s.value&&a()?(n.openBlock(),n.createBlock(Fe,{key:0},{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(u.placeholder),1)]),_:1})):n.createCommentVNode("",!0)]),_:2},[u.multiple?{name:"selected-item",fn:n.withCtx(g=>[g.opt?(n.openBlock(),n.createBlock(Lr,{key:0,removable:"",class:"q-ma-none",dense:"",tabindex:g.tabindex,color:"white","text-color":"secondary",onRemove:p=>g.removeAtIndex(g.index)},{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(g.opt[`${u.optionLabel}`]),1)]),_:2},1032,["tabindex","onRemove"])):n.createCommentVNode("",!0)]),key:"0"}:void 0]),1032,["modelValue","options","option-value","option-label","disable","multiple","class","label","popup-content-class"]))}}),[["__cssModules",{$style:{wrap:"_wrap_n46gp_1",select:"_select_n46gp_8","append-wrapper":"_append-wrapper_n46gp_25","menu-wrap":"_menu-wrap_n46gp_31","search-wrapper":"_search-wrapper_n46gp_35","app-select__menu":"_app-select__menu_n46gp_43","q-item__label":"_q-item__label_n46gp_46"}}]]),Za={},Xa={class:"app-wrapper"};function Ya(e,t){return n.openBlock(),n.createElementBlock("div",Xa,[n.renderSlot(e.$slots,"default",{},void 0,!0)])}const Ga=G(Za,[["render",Ya],["__scopeId","data-v-6bd37b8f"]]),io={left:!0,right:!0,up:!0,down:!0,horizontal:!0,vertical:!0},Ja=Object.keys(io);io.all=!0;function Yr(e){const t={};for(const o of Ja)e[o]===!0&&(t[o]=!0);return Object.keys(t).length===0?io:(t.horizontal===!0?t.left=t.right=!0:t.left===!0&&t.right===!0&&(t.horizontal=!0),t.vertical===!0?t.up=t.down=!0:t.up===!0&&t.down===!0&&(t.vertical=!0),t.horizontal===!0&&t.vertical===!0&&(t.all=!0),t)}const es=["INPUT","TEXTAREA"];function Gr(e,t){return t.event===void 0&&e.target!==void 0&&e.target.draggable!==!0&&typeof t.handler=="function"&&es.includes(e.target.nodeName.toUpperCase())===!1&&(e.qClonedBy===void 0||e.qClonedBy.indexOf(t.uid)===-1)}function lo(e,t,o){const r=bt(e);let i,l=r.left-t.event.x,a=r.top-t.event.y,s=Math.abs(l),d=Math.abs(a);const c=t.direction;c.horizontal===!0&&c.vertical!==!0?i=l<0?"left":"right":c.horizontal!==!0&&c.vertical===!0?i=a<0?"up":"down":c.up===!0&&a<0?(i="up",s>d&&(c.left===!0&&l<0?i="left":c.right===!0&&l>0&&(i="right"))):c.down===!0&&a>0?(i="down",s>d&&(c.left===!0&&l<0?i="left":c.right===!0&&l>0&&(i="right"))):c.left===!0&&l<0?(i="left",s<d&&(c.up===!0&&a<0?i="up":c.down===!0&&a>0&&(i="down"))):c.right===!0&&l>0&&(i="right",s<d&&(c.up===!0&&a<0?i="up":c.down===!0&&a>0&&(i="down")));let u=!1;if(i===void 0&&o===!1){if(t.event.isFirst===!0||t.event.lastDir===void 0)return{};i=t.event.lastDir,u=!0,i==="left"||i==="right"?(r.left-=l,s=0,l=0):(r.top-=a,d=0,a=0)}return{synthetic:u,payload:{evt:e,touch:t.event.mouse!==!0,mouse:t.event.mouse===!0,position:r,direction:i,isFirst:t.event.isFirst,isFinal:o===!0,duration:Date.now()-t.event.time,distance:{x:s,y:d},offset:{x:l,y:a},delta:{x:r.left-t.event.lastX,y:r.top-t.event.lastY}}}}let ts=0;const ao=Ro({name:"touch-pan",beforeMount(e,{value:t,modifiers:o}){if(o.mouse!==!0&&me.has.touch!==!0)return;function r(l,a){o.mouse===!0&&a===!0?se(l):(o.stop===!0&&Se(l),o.prevent===!0&&ke(l))}const i={uid:"qvtp_"+ts++,handler:t,modifiers:o,direction:Yr(o),noop:Nt,mouseStart(l){Gr(l,i)&&al(l)&&(Pe(i,"temp",[[document,"mousemove","move","notPassiveCapture"],[document,"mouseup","end","passiveCapture"]]),i.start(l,!0))},touchStart(l){if(Gr(l,i)){const a=l.target;Pe(i,"temp",[[a,"touchmove","move","notPassiveCapture"],[a,"touchcancel","end","passiveCapture"],[a,"touchend","end","passiveCapture"]]),i.start(l)}},start(l,a){if(me.is.firefox===!0&&Tn(e,!0),i.lastEvt=l,a===!0||o.stop===!0){if(i.direction.all!==!0&&(a!==!0||i.modifiers.mouseAllDir!==!0&&i.modifiers.mousealldir!==!0)){const c=l.type.indexOf("mouse")!==-1?new MouseEvent(l.type,l):new TouchEvent(l.type,l);l.defaultPrevented===!0&&ke(c),l.cancelBubble===!0&&Se(c),Object.assign(c,{qKeyEvent:l.qKeyEvent,qClickOutside:l.qClickOutside,qAnchorHandled:l.qAnchorHandled,qClonedBy:l.qClonedBy===void 0?[i.uid]:l.qClonedBy.concat(i.uid)}),i.initialEvent={target:l.target,event:c}}Se(l)}const{left:s,top:d}=bt(l);i.event={x:s,y:d,time:Date.now(),mouse:a===!0,detected:!1,isFirst:!0,isFinal:!1,lastX:s,lastY:d}},move(l){if(i.event===void 0)return;const a=bt(l),s=a.left-i.event.x,d=a.top-i.event.y;if(s===0&&d===0)return;i.lastEvt=l;const c=i.event.mouse===!0,u=()=>{r(l,c);let p;o.preserveCursor!==!0&&o.preservecursor!==!0&&(p=document.documentElement.style.cursor||"",document.documentElement.style.cursor="grabbing"),c===!0&&document.body.classList.add("no-pointer-events--children"),document.body.classList.add("non-selectable"),jt(),i.styleCleanup=h=>{if(i.styleCleanup=void 0,p!==void 0&&(document.documentElement.style.cursor=p),document.body.classList.remove("non-selectable"),c===!0){const k=()=>{document.body.classList.remove("no-pointer-events--children")};h!==void 0?setTimeout(()=>{k(),h()},50):k()}else h!==void 0&&h()}};if(i.event.detected===!0){i.event.isFirst!==!0&&r(l,i.event.mouse);const{payload:p,synthetic:h}=lo(l,i,!1);p!==void 0&&(i.handler(p)===!1?i.end(l):(i.styleCleanup===void 0&&i.event.isFirst===!0&&u(),i.event.lastX=p.position.left,i.event.lastY=p.position.top,i.event.lastDir=h===!0?void 0:p.direction,i.event.isFirst=!1));return}if(i.direction.all===!0||c===!0&&(i.modifiers.mouseAllDir===!0||i.modifiers.mousealldir===!0)){u(),i.event.detected=!0,i.move(l);return}const f=Math.abs(s),g=Math.abs(d);f!==g&&(i.direction.horizontal===!0&&f>g||i.direction.vertical===!0&&f<g||i.direction.up===!0&&f<g&&d<0||i.direction.down===!0&&f<g&&d>0||i.direction.left===!0&&f>g&&s<0||i.direction.right===!0&&f>g&&s>0?(i.event.detected=!0,i.move(l)):i.end(l,!0))},end(l,a){if(i.event!==void 0){if(Ke(i,"temp"),me.is.firefox===!0&&Tn(e,!1),a===!0)i.styleCleanup!==void 0&&i.styleCleanup(),i.event.detected!==!0&&i.initialEvent!==void 0&&i.initialEvent.target.dispatchEvent(i.initialEvent.event);else if(i.event.detected===!0){i.event.isFirst===!0&&i.handler(lo(l===void 0?i.lastEvt:l,i).payload);const{payload:s}=lo(l===void 0?i.lastEvt:l,i,!0),d=()=>{i.handler(s)};i.styleCleanup!==void 0?i.styleCleanup(d):d()}i.event=void 0,i.initialEvent=void 0,i.lastEvt=void 0}}};if(e.__qtouchpan=i,o.mouse===!0){const l=o.mouseCapture===!0||o.mousecapture===!0?"Capture":"";Pe(i,"main",[[e,"mousedown","mouseStart",`passive${l}`]])}me.has.touch===!0&&Pe(i,"main",[[e,"touchstart","touchStart",`passive${o.capture===!0?"Capture":""}`],[e,"touchmove","noop","notPassiveCapture"]])},updated(e,t){const o=e.__qtouchpan;o!==void 0&&(t.oldValue!==t.value&&(typeof value!="function"&&o.end(),o.handler=t.value),o.direction=Yr(t.modifiers))},beforeUnmount(e){const t=e.__qtouchpan;t!==void 0&&(t.event!==void 0&&t.end(),Ke(t,"main"),Ke(t,"temp"),me.is.firefox===!0&&Tn(e,!1),t.styleCleanup!==void 0&&t.styleCleanup(),delete e.__qtouchpan)}}),Jr=150,ns=ie({name:"QDrawer",inheritAttrs:!1,props:{...Ct,...je,side:{type:String,default:"left",validator:e=>["left","right"].includes(e)},width:{type:Number,default:300},mini:Boolean,miniToOverlay:Boolean,miniWidth:{type:Number,default:57},noMiniAnimation:Boolean,breakpoint:{type:Number,default:1023},showIfAbove:Boolean,behavior:{type:String,validator:e=>["default","desktop","mobile"].includes(e),default:"default"},bordered:Boolean,elevated:Boolean,overlay:Boolean,persistent:Boolean,noSwipeOpen:Boolean,noSwipeClose:Boolean,noSwipeBackdrop:Boolean},emits:[..._t,"onLayout","miniState"],setup(e,{slots:t,emit:o,attrs:r}){const i=n.getCurrentInstance(),{proxy:{$q:l}}=i,a=Ne(e,l),{preventBodyScroll:s}=Dr(),{registerTimeout:d,removeTimeout:c}=Ht(),u=n.inject(nn,Te);if(u===Te)return console.error("QDrawer needs to be child of QLayout"),Te;let f,g=null,p;const h=n.ref(e.behavior==="mobile"||e.behavior!=="desktop"&&u.totalWidth.value<=e.breakpoint),k=n.computed(()=>e.mini===!0&&h.value!==!0),w=n.computed(()=>k.value===!0?e.miniWidth:e.width),S=n.ref(e.showIfAbove===!0&&h.value===!1?!0:e.modelValue===!0),x=n.computed(()=>e.persistent!==!0&&(h.value===!0||Z.value===!0));function T(O,J){if($(),O!==!1&&u.animate(),ae(0),h.value===!0){const we=u.instances[H.value];we!==void 0&&we.belowBreakpoint===!0&&we.hide(!1),Be(1),u.isContainer.value!==!0&&s(!0)}else Be(0),O!==!1&&Re(!1);d(()=>{O!==!1&&Re(!0),J!==!0&&o("show",O)},Jr)}function M(O,J){F(),O!==!1&&u.animate(),Be(0),ae(A.value*w.value),rt(),J!==!0?d(()=>{o("hide",O)},Jr):c()}const{show:E,hide:V}=St({showing:S,hideOnRouteChange:x,handleShow:T,handleHide:M}),{addToHistory:$,removeFromHistory:F}=Ir(S),_={belowBreakpoint:h,hide:V},B=n.computed(()=>e.side==="right"),A=n.computed(()=>(l.lang.rtl===!0?-1:1)*(B.value===!0?1:-1)),b=n.ref(0),N=n.ref(!1),q=n.ref(!1),K=n.ref(w.value*A.value),H=n.computed(()=>B.value===!0?"left":"right"),P=n.computed(()=>S.value===!0&&h.value===!1&&e.overlay===!1?e.miniToOverlay===!0?e.miniWidth:w.value:0),L=n.computed(()=>e.overlay===!0||e.miniToOverlay===!0||u.view.value.indexOf(B.value?"R":"L")!==-1||l.platform.is.ios===!0&&u.isContainer.value===!0),W=n.computed(()=>e.overlay===!1&&S.value===!0&&h.value===!1),Z=n.computed(()=>e.overlay===!0&&S.value===!0&&h.value===!1),y=n.computed(()=>"fullscreen q-drawer__backdrop"+(S.value===!1&&N.value===!1?" hidden":"")),v=n.computed(()=>({backgroundColor:`rgba(0,0,0,${b.value*.4})`})),I=n.computed(()=>B.value===!0?u.rows.value.top[2]==="r":u.rows.value.top[0]==="l"),Q=n.computed(()=>B.value===!0?u.rows.value.bottom[2]==="r":u.rows.value.bottom[0]==="l"),X=n.computed(()=>{const O={};return u.header.space===!0&&I.value===!1&&(L.value===!0?O.top=`${u.header.offset}px`:u.header.space===!0&&(O.top=`${u.header.size}px`)),u.footer.space===!0&&Q.value===!1&&(L.value===!0?O.bottom=`${u.footer.offset}px`:u.footer.space===!0&&(O.bottom=`${u.footer.size}px`)),O}),R=n.computed(()=>{const O={width:`${w.value}px`,transform:`translateX(${K.value}px)`};return h.value===!0?O:Object.assign(O,X.value)}),z=n.computed(()=>"q-drawer__content fit "+(u.isContainer.value!==!0?"scroll":"overflow-auto")),te=n.computed(()=>`q-drawer q-drawer--${e.side}`+(q.value===!0?" q-drawer--mini-animate":"")+(e.bordered===!0?" q-drawer--bordered":"")+(a.value===!0?" q-drawer--dark q-dark":"")+(N.value===!0?" no-transition":S.value===!0?"":" q-layout--prevent-focus")+(h.value===!0?" fixed q-drawer--on-top q-drawer--mobile q-drawer--top-padding":` q-drawer--${k.value===!0?"mini":"standard"}`+(L.value===!0||W.value!==!0?" fixed":"")+(e.overlay===!0||e.miniToOverlay===!0?" q-drawer--on-top":"")+(I.value===!0?" q-drawer--top-padding":""))),j=n.computed(()=>{const O=l.lang.rtl===!0?e.side:H.value;return[[ao,pt,void 0,{[O]:!0,mouse:!0}]]}),le=n.computed(()=>{const O=l.lang.rtl===!0?H.value:e.side;return[[ao,De,void 0,{[O]:!0,mouse:!0}]]}),Me=n.computed(()=>{const O=l.lang.rtl===!0?H.value:e.side;return[[ao,De,void 0,{[O]:!0,mouse:!0,mouseAllDir:!0}]]});function Ae(){Ve(h,e.behavior==="mobile"||e.behavior!=="desktop"&&u.totalWidth.value<=e.breakpoint)}n.watch(h,O=>{O===!0?(f=S.value,S.value===!0&&V(!1)):e.overlay===!1&&e.behavior!=="mobile"&&f!==!1&&(S.value===!0?(ae(0),Be(0),rt()):E(!1))}),n.watch(()=>e.side,(O,J)=>{u.instances[J]===_&&(u.instances[J]=void 0,u[J].space=!1,u[J].offset=0),u.instances[O]=_,u[O].size=w.value,u[O].space=W.value,u[O].offset=P.value}),n.watch(u.totalWidth,()=>{(u.isContainer.value===!0||document.qScrollPrevented!==!0)&&Ae()}),n.watch(()=>e.behavior+e.breakpoint,Ae),n.watch(u.isContainer,O=>{S.value===!0&&s(O!==!0),O===!0&&Ae()}),n.watch(u.scrollbarWidth,()=>{ae(S.value===!0?0:void 0)}),n.watch(P,O=>{_e("offset",O)}),n.watch(W,O=>{o("onLayout",O),_e("space",O)}),n.watch(B,()=>{ae()}),n.watch(w,O=>{ae(),pe(e.miniToOverlay,O)}),n.watch(()=>e.miniToOverlay,O=>{pe(O,w.value)}),n.watch(()=>l.lang.rtl,()=>{ae()}),n.watch(()=>e.mini,()=>{e.noMiniAnimation||e.modelValue===!0&&(Ie(),u.animate())}),n.watch(k,O=>{o("miniState",O)});function ae(O){O===void 0?n.nextTick(()=>{O=S.value===!0?0:w.value,ae(A.value*O)}):(u.isContainer.value===!0&&B.value===!0&&(h.value===!0||Math.abs(O)===w.value)&&(O+=A.value*u.scrollbarWidth.value),K.value=O)}function Be(O){b.value=O}function Re(O){const J=O===!0?"remove":u.isContainer.value!==!0?"add":"";J!==""&&document.body.classList[J]("q-body--drawer-toggle")}function Ie(){g!==null&&clearTimeout(g),i.proxy&&i.proxy.$el&&i.proxy.$el.classList.add("q-drawer--mini-animate"),q.value=!0,g=setTimeout(()=>{g=null,q.value=!1,i&&i.proxy&&i.proxy.$el&&i.proxy.$el.classList.remove("q-drawer--mini-animate")},150)}function pt(O){if(S.value!==!1)return;const J=w.value,we=fn(O.distance.x,0,J);if(O.isFinal===!0){we>=Math.min(75,J)===!0?E():(u.animate(),Be(0),ae(A.value*J)),N.value=!1;return}ae((l.lang.rtl===!0?B.value!==!0:B.value)?Math.max(J-we,0):Math.min(0,we-J)),Be(fn(we/J,0,1)),O.isFirst===!0&&(N.value=!0)}function De(O){if(S.value!==!0)return;const J=w.value,we=O.direction===e.side,it=(l.lang.rtl===!0?we!==!0:we)?fn(O.distance.x,0,J):0;if(O.isFinal===!0){Math.abs(it)<Math.min(75,J)===!0?(u.animate(),Be(1),ae(0)):V(),N.value=!1;return}ae(A.value*it),Be(fn(1-it/J,0,1)),O.isFirst===!0&&(N.value=!0)}function rt(){s(!1),Re(!0)}function _e(O,J){u.update(e.side,O,J)}function Ve(O,J){O.value!==J&&(O.value=J)}function pe(O,J){_e("size",O===!0?e.miniWidth:J)}return u.instances[e.side]=_,pe(e.miniToOverlay,w.value),_e("space",W.value),_e("offset",P.value),e.showIfAbove===!0&&e.modelValue!==!0&&S.value===!0&&e["onUpdate:modelValue"]!==void 0&&o("update:modelValue",!0),n.onMounted(()=>{o("onLayout",W.value),o("miniState",k.value),f=e.showIfAbove===!0;const O=()=>{(S.value===!0?T:M)(!1,!0)};if(u.totalWidth.value!==0){n.nextTick(O);return}p=n.watch(u.totalWidth,()=>{p(),p=void 0,S.value===!1&&e.showIfAbove===!0&&h.value===!1?E(!1):O()})}),n.onBeforeUnmount(()=>{p!==void 0&&p(),g!==null&&(clearTimeout(g),g=null),S.value===!0&&rt(),u.instances[e.side]===_&&(u.instances[e.side]=void 0,_e("size",0),_e("offset",0),_e("space",!1))}),()=>{const O=[];h.value===!0&&(e.noSwipeOpen===!1&&O.push(n.withDirectives(n.h("div",{key:"open",class:`q-drawer__opener fixed-${e.side}`,"aria-hidden":"true"}),j.value)),O.push(Bn("div",{ref:"backdrop",class:y.value,style:v.value,"aria-hidden":"true",onClick:V},void 0,"backdrop",e.noSwipeBackdrop!==!0&&S.value===!0,()=>Me.value)));const J=k.value===!0&&t.mini!==void 0,we=[n.h("div",{...r,key:""+J,class:[z.value,r.class]},J===!0?t.mini():ve(t.default))];return e.elevated===!0&&S.value===!0&&we.push(n.h("div",{class:"q-layout__shadow absolute-full overflow-hidden no-pointer-events"})),O.push(Bn("aside",{ref:"content",class:te.value,style:R.value},we,"contentclose",e.noSwipeClose!==!0&&h.value===!0,()=>le.value)),n.h("div",{class:"q-drawer-container"},O)}}}),os=ie({name:"QSlideTransition",props:{appear:Boolean,duration:{type:Number,default:300}},emits:["show","hide"],setup(e,{slots:t,emit:o}){let r=!1,i,l,a=null,s=null,d,c;function u(){i&&i(),i=null,r=!1,a!==null&&(clearTimeout(a),a=null),s!==null&&(clearTimeout(s),s=null),l!==void 0&&l.removeEventListener("transitionend",d),d=null}function f(k,w,S){w!==void 0&&(k.style.height=`${w}px`),k.style.transition=`height ${e.duration}ms cubic-bezier(.25, .8, .50, 1)`,r=!0,i=S}function g(k,w){k.style.overflowY=null,k.style.height=null,k.style.transition=null,u(),w!==c&&o(w)}function p(k,w){let S=0;l=k,r===!0?(u(),S=k.offsetHeight===k.scrollHeight?0:void 0):(c="hide",k.style.overflowY="hidden"),f(k,S,w),a=setTimeout(()=>{a=null,k.style.height=`${k.scrollHeight}px`,d=x=>{s=null,(Object(x)!==x||x.target===k)&&g(k,"show")},k.addEventListener("transitionend",d),s=setTimeout(d,e.duration*1.1)},100)}function h(k,w){let S;l=k,r===!0?u():(c="show",k.style.overflowY="hidden",S=k.scrollHeight),f(k,S,w),a=setTimeout(()=>{a=null,k.style.height=0,d=x=>{s=null,(Object(x)!==x||x.target===k)&&g(k,"hide")},k.addEventListener("transitionend",d),s=setTimeout(d,e.duration*1.1)},100)}return n.onBeforeUnmount(()=>{r===!0&&u()}),()=>n.h(n.Transition,{css:!1,appear:e.appear,onEnter:p,onLeave:h},t.default)}}),rs={true:"inset",item:"item-inset","item-thumbnail":"item-thumbnail-inset"},so={xs:2,sm:4,md:8,lg:16,xl:24},ei=ie({name:"QSeparator",props:{...je,spaced:[Boolean,String],inset:[Boolean,String],vertical:Boolean,color:String,size:String},setup(e){const t=n.getCurrentInstance(),o=Ne(e,t.proxy.$q),r=n.computed(()=>e.vertical===!0?"vertical":"horizontal"),i=n.computed(()=>` q-separator--${r.value}`),l=n.computed(()=>e.inset!==!1?`${i.value}-${rs[e.inset]}`:""),a=n.computed(()=>`q-separator${i.value}${l.value}`+(e.color!==void 0?` bg-${e.color}`:"")+(o.value===!0?" q-separator--dark":"")),s=n.computed(()=>{const d={};if(e.size!==void 0&&(d[e.vertical===!0?"width":"height"]=e.size),e.spaced!==!1){const c=e.spaced===!0?`${so.md}px`:e.spaced in so?`${so[e.spaced]}px`:e.spaced,u=e.vertical===!0?["Left","Right"]:["Top","Bottom"];d[`margin${u[0]}`]=d[`margin${u[1]}`]=c}return d});return()=>n.h("hr",{class:a.value,style:s.value,"aria-orientation":r.value})}}),et=n.shallowReactive({}),is=Object.keys(Dn),ls=ie({name:"QExpansionItem",props:{...Dn,...Ct,...je,icon:String,label:String,labelLines:[Number,String],caption:String,captionLines:[Number,String],dense:Boolean,toggleAriaLabel:String,expandIcon:String,expandedIcon:String,expandIconClass:[Array,String,Object],duration:{},headerInsetLevel:Number,contentInsetLevel:Number,expandSeparator:Boolean,defaultOpened:Boolean,hideExpandIcon:Boolean,expandIconToggle:Boolean,switchToggleSide:Boolean,denseToggle:Boolean,group:String,popup:Boolean,headerStyle:[Array,String,Object],headerClass:[Array,String,Object]},emits:[..._t,"click","afterShow","afterHide"],setup(e,{slots:t,emit:o}){const{proxy:{$q:r}}=n.getCurrentInstance(),i=Ne(e,r),l=n.ref(e.modelValue!==null?e.modelValue:e.defaultOpened),a=n.ref(null),s=gr(),{show:d,hide:c,toggle:u}=St({showing:l});let f,g;const p=n.computed(()=>`q-expansion-item q-item-type q-expansion-item--${l.value===!0?"expanded":"collapsed"} q-expansion-item--${e.popup===!0?"popup":"standard"}`),h=n.computed(()=>e.contentInsetLevel===void 0?null:{["padding"+(r.lang.rtl===!0?"Right":"Left")]:e.contentInsetLevel*56+"px"}),k=n.computed(()=>e.disable!==!0&&(e.href!==void 0||e.to!==void 0&&e.to!==null&&e.to!=="")),w=n.computed(()=>{const P={};return is.forEach(L=>{P[L]=e[L]}),P}),S=n.computed(()=>k.value===!0||e.expandIconToggle!==!0),x=n.computed(()=>e.expandedIcon!==void 0&&l.value===!0?e.expandedIcon:e.expandIcon||r.iconSet.expansionItem[e.denseToggle===!0?"denseIcon":"icon"]),T=n.computed(()=>e.disable!==!0&&(k.value===!0||e.expandIconToggle===!0)),M=n.computed(()=>({expanded:l.value===!0,detailsId:s.value,toggle:u,show:d,hide:c})),E=n.computed(()=>{const P=e.toggleAriaLabel!==void 0?e.toggleAriaLabel:r.lang.label[l.value===!0?"collapse":"expand"](e.label);return{role:"button","aria-expanded":l.value===!0?"true":"false","aria-controls":s.value,"aria-label":P}});n.watch(()=>e.group,P=>{g!==void 0&&g(),P!==void 0&&A()});function V(P){k.value!==!0&&u(P),o("click",P)}function $(P){P.keyCode===13&&F(P,!0)}function F(P,L){L!==!0&&a.value!==null&&a.value.focus(),u(P),se(P)}function _(){o("afterShow")}function B(){o("afterHide")}function A(){f===void 0&&(f=tn()),l.value===!0&&(et[e.group]=f);const P=n.watch(l,W=>{W===!0?et[e.group]=f:et[e.group]===f&&delete et[e.group]}),L=n.watch(()=>et[e.group],(W,Z)=>{Z===f&&W!==void 0&&W!==f&&c()});g=()=>{P(),L(),et[e.group]===f&&delete et[e.group],g=void 0}}function b(){const P={class:[`q-focusable relative-position cursor-pointer${e.denseToggle===!0&&e.switchToggleSide===!0?" items-end":""}`,e.expandIconClass],side:e.switchToggleSide!==!0,avatar:e.switchToggleSide},L=[n.h(Ee,{class:"q-expansion-item__toggle-icon"+(e.expandedIcon===void 0&&l.value===!0?" q-expansion-item__toggle-icon--rotated":""),name:x.value})];return T.value===!0&&(Object.assign(P,{tabindex:0,...E.value,onClick:F,onKeyup:$}),L.unshift(n.h("div",{ref:a,class:"q-expansion-item__toggle-focus q-icon q-focus-helper q-focus-helper--rounded",tabindex:-1}))),n.h(ye,P,()=>L)}function N(){let P;return t.header!==void 0?P=[].concat(t.header(M.value)):(P=[n.h(ye,()=>[n.h(Gn,{lines:e.labelLines},()=>e.label||""),e.caption?n.h(Gn,{lines:e.captionLines,caption:!0},()=>e.caption):null])],e.icon&&P[e.switchToggleSide===!0?"push":"unshift"](n.h(ye,{side:e.switchToggleSide===!0,avatar:e.switchToggleSide!==!0},()=>n.h(Ee,{name:e.icon})))),e.disable!==!0&&e.hideExpandIcon!==!0&&P[e.switchToggleSide===!0?"unshift":"push"](b()),P}function q(){const P={ref:"item",style:e.headerStyle,class:e.headerClass,dark:i.value,disable:e.disable,dense:e.dense,insetLevel:e.headerInsetLevel};return S.value===!0&&(P.clickable=!0,P.onClick=V,Object.assign(P,k.value===!0?w.value:E.value)),n.h(Fe,P,N)}function K(){return n.withDirectives(n.h("div",{key:"e-content",class:"q-expansion-item__content relative-position",style:h.value,id:s.value},ve(t.default)),[[n.vShow,l.value]])}function H(){const P=[q(),n.h(os,{duration:e.duration,onShow:_,onHide:B},K)];return e.expandSeparator===!0&&P.push(n.h(ei,{class:"q-expansion-item__border q-expansion-item__border--top absolute-top",dark:i.value}),n.h(ei,{class:"q-expansion-item__border q-expansion-item__border--bottom absolute-bottom",dark:i.value})),P}return e.group!==void 0&&A(),n.onBeforeUnmount(()=>{g!==void 0&&g()}),()=>n.h("div",{class:p.value},[n.h("div",{class:"q-expansion-item__container relative-position"},H())])}}),as={},ss={xmlns:"http://www.w3.org/2000/svg",width:"currentWidth",height:"currentHeight",viewBox:"0 0 24 24",fill:"currentFill"};function us(e,t){return n.openBlock(),n.createElementBlock("svg",ss,t[0]||(t[0]=[n.createElementVNode("path",{d:"M13.01 2.91995L18.91 5.53995C20.61 6.28995 20.61 7.52995 18.91 8.27995L13.01 10.8999C12.34 11.1999 11.24 11.1999 10.57 10.8999L4.67002 8.27995C2.97002 7.52995 2.97002 6.28995 4.67002 5.53995L10.57 2.91995C11.24 2.61995 12.34 2.61995 13.01 2.91995Z",stroke:"currentStroke","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"},null,-1),n.createElementVNode("path",{d:"M3 11C3 11.84 3.63 12.81 4.4 13.15L11.19 16.17C11.71 16.4 12.3 16.4 12.81 16.17L19.6 13.15C20.37 12.81 21 11.84 21 11",stroke:"currentStroke","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"},null,-1),n.createElementVNode("path",{d:"M3 16C3 16.93 3.55 17.77 4.4 18.15L11.19 21.17C11.71 21.4 12.3 21.4 12.81 21.17L19.6 18.15C20.45 17.77 21 16.93 21 16",stroke:"currentStroke","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)]))}const cs=G(as,[["render",us]]),ds={},fs={xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"};function ms(e,t){return n.openBlock(),n.createElementBlock("svg",fs,t[0]||(t[0]=[n.createElementVNode("path",{d:"M12 14.9999C13.6569 14.9999 15 13.6567 15 11.9999C15 10.343 13.6569 8.99988 12 8.99988C10.3431 8.99988 9 10.343 9 11.9999C9 13.6567 10.3431 14.9999 12 14.9999Z",stroke:"currentStroke","stroke-width":"1.5","stroke-miterlimit":"10","stroke-linecap":"round","stroke-linejoin":"round"},null,-1),n.createElementVNode("path",{d:"M2 12.8801V11.1201C2 10.0801 2.85 9.22006 3.9 9.22006C5.71 9.22006 6.45 7.94006 5.54 6.37006C5.02 5.47006 5.33 4.30006 6.24 3.78006L7.97 2.79006C8.76 2.32006 9.78 2.60006 10.25 3.39006L10.36 3.58006C11.26 5.15006 12.74 5.15006 13.65 3.58006L13.76 3.39006C14.23 2.60006 15.25 2.32006 16.04 2.79006L17.77 3.78006C18.68 4.30006 18.99 5.47006 18.47 6.37006C17.56 7.94006 18.3 9.22006 20.11 9.22006C21.15 9.22006 22.01 10.0701 22.01 11.1201V12.8801C22.01 13.9201 21.16 14.7801 20.11 14.7801C18.3 14.7801 17.56 16.0601 18.47 17.6301C18.99 18.5401 18.68 19.7001 17.77 20.2201L16.04 21.2101C15.25 21.6801 14.23 21.4001 13.76 20.6101L13.65 20.4201C12.75 18.8501 11.27 18.8501 10.36 20.4201L10.25 20.6101C9.78 21.4001 8.76 21.6801 7.97 21.2101L6.24 20.2201C5.33 19.7001 5.02 18.5301 5.54 17.6301C6.45 16.0601 5.71 14.7801 3.9 14.7801C2.85 14.7801 2 13.9201 2 12.8801Z",stroke:"currentStroke","stroke-width":"1.5","stroke-miterlimit":"10","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)]))}const hs=G(ds,[["render",ms]]),ps={},gs={xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"};function ws(e,t){return n.openBlock(),n.createElementBlock("svg",gs,t[0]||(t[0]=[n.createStaticVNode('<path d="M12 22.0003C7.17 22.0003 3.25 18.0803 3.25 13.2503C3.25 8.42031 7.17 4.50031 12 4.50031C16.83 4.50031 20.75 8.42031 20.75 13.2503" stroke="currentStroke" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><path d="M12 8.00012V13.0001" stroke="currentStroke" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><path d="M9 2.00018H15" stroke="currentStroke" stroke-width="1.5" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"></path><path d="M19 17V21" stroke="currentStroke" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><path d="M16 17V21" stroke="currentStroke" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>',5)]))}const vs=G(ps,[["render",ws]]),ks={},ys={xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"};function bs(e,t){return n.openBlock(),n.createElementBlock("svg",ys,t[0]||(t[0]=[n.createElementVNode("path",{d:"M10.07 2.82033L3.14002 8.37032C2.36002 8.99032 1.86002 10.3004 2.03002 11.2804L3.36002 19.2403C3.60002 20.6603 4.96002 21.8103 6.40002 21.8103H17.6C19.03 21.8103 20.4 20.6503 20.64 19.2403L21.97 11.2804C22.13 10.3004 21.63 8.99032 20.86 8.37032L13.93 2.83034C12.86 1.97034 11.13 1.97033 10.07 2.82033Z",stroke:"currentStroke","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"},null,-1),n.createElementVNode("path",{d:"M12 15.5002C13.3807 15.5002 14.5 14.381 14.5 13.0002C14.5 11.6195 13.3807 10.5002 12 10.5002C10.6193 10.5002 9.5 11.6195 9.5 13.0002C9.5 14.381 10.6193 15.5002 12 15.5002Z",stroke:"currentStroke","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)]))}const Cs=G(ks,[["render",bs]]),_s={},Ss={xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"};function xs(e,t){return n.openBlock(),n.createElementBlock("svg",Ss,t[0]||(t[0]=[n.createElementVNode("path",{d:"M19 8.00018C20.6569 8.00018 22 6.65704 22 5.00018C22 3.34333 20.6569 2.00018 19 2.00018C17.3431 2.00018 16 3.34333 16 5.00018C16 6.65704 17.3431 8.00018 19 8.00018Z",stroke:"currentStroke","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"},null,-1),n.createElementVNode("path",{d:"M7 13.0003H12",stroke:"currentStroke","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"},null,-1),n.createElementVNode("path",{d:"M7 17H16",stroke:"currentStroke","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"},null,-1),n.createElementVNode("path",{d:"M14 2.00018H9C4 2.00018 2 4.00018 2 9.00018V15.0002C2 20.0002 4 22.0002 9 22.0002H15C20 22.0002 22 20.0002 22 15.0002V10.0002",stroke:"currentStroke","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)]))}const Bs=G(_s,[["render",xs]]),Es={},qs={xmlns:"http://www.w3.org/2000/svg",width:"currentWidth",height:"currentHeight",viewBox:"0 0 24 24",fill:"currentFill"};function Ts(e,t){return n.openBlock(),n.createElementBlock("svg",qs,t[0]||(t[0]=[n.createElementVNode("path",{d:"M4.91003 11.84C9.21003 8.51998 14.8 8.51998 19.1 11.84",stroke:"currentStroke","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"},null,-1),n.createElementVNode("path",{d:"M2 8.35967C8.06 3.67967 15.94 3.67967 22 8.35967",stroke:"currentStroke","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"},null,-1),n.createElementVNode("path",{d:"M6.79004 15.49C9.94004 13.05 14.05 13.05 17.2 15.49",stroke:"currentStroke","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"},null,-1),n.createElementVNode("path",{d:"M9.40002 19.1499C10.98 17.9299 13.03 17.9299 14.61 19.1499",stroke:"currentStroke","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)]))}const Ms=G(Es,[["render",Ts]]),Vs={},$s={xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"};function Ls(e,t){return n.openBlock(),n.createElementBlock("svg",$s,t[0]||(t[0]=[n.createElementVNode("path",{d:"M9.02 2.83986L3.63 7.03986C2.73 7.73986 2 9.22986 2 10.3599V17.7699C2 20.0899 3.89 21.9899 6.21 21.9899H17.79C20.11 21.9899 22 20.0899 22 17.7799V10.4999C22 9.28986 21.19 7.73986 20.2 7.04986L14.02 2.71986C12.62 1.73986 10.37 1.78986 9.02 2.83986Z",stroke:"currentStroke","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"},null,-1),n.createElementVNode("path",{d:"M10.5 17.9999H13.5C15.15 17.9999 16.5 16.6499 16.5 14.9999V11.9999C16.5 10.3499 15.15 8.99988 13.5 8.99988H10.5C8.85 8.99988 7.5 10.3499 7.5 11.9999V14.9999C7.5 16.6499 8.85 17.9999 10.5 17.9999Z",stroke:"currentStroke","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"},null,-1),n.createElementVNode("path",{d:"M12 8.99988V17.9999",stroke:"currentStroke","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"},null,-1),n.createElementVNode("path",{d:"M7.5 13.5002H16.5",stroke:"currentStroke","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)]))}const Rs=G(Vs,[["render",Ls]]),As={},Os={xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"};function Ps(e,t){return n.openBlock(),n.createElementBlock("svg",Os,t[0]||(t[0]=[n.createStaticVNode('<path d="M18 7.16019C17.94 7.15019 17.87 7.15019 17.81 7.16019C16.43 7.11019 15.33 5.98018 15.33 4.58018C15.33 3.15018 16.48 2.00018 17.91 2.00018C19.34 2.00018 20.49 3.16018 20.49 4.58018C20.48 5.98018 19.38 7.11019 18 7.16019Z" stroke="currentStroke" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><path d="M16.9698 14.4401C18.3398 14.6701 19.8498 14.4301 20.9098 13.7201C22.3198 12.7801 22.3198 11.2401 20.9098 10.3001C19.8398 9.5901 18.3098 9.35009 16.9398 9.59009" stroke="currentStroke" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><path d="M5.9701 7.16037C6.0301 7.15037 6.1001 7.15037 6.1601 7.16037C7.5401 7.11037 8.6401 5.98037 8.6401 4.58037C8.6401 3.15037 7.4901 2.00037 6.0601 2.00037C4.6301 2.00037 3.4801 3.16037 3.4801 4.58037C3.4901 5.98037 4.5901 7.11037 5.9701 7.16037Z" stroke="currentStroke" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><path d="M7.00006 14.4401C5.63006 14.6701 4.12006 14.4301 3.06006 13.7201C1.65006 12.7801 1.65006 11.2401 3.06006 10.3001C4.13006 9.5901 5.66006 9.35009 7.03006 9.59009" stroke="currentStroke" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><path d="M12.0001 14.6302C11.9401 14.6202 11.8701 14.6202 11.8101 14.6302C10.4301 14.5802 9.33008 13.4502 9.33008 12.0502C9.33008 10.6202 10.4801 9.47021 11.9101 9.47021C13.3401 9.47021 14.4901 10.6302 14.4901 12.0502C14.4801 13.4502 13.3801 14.5902 12.0001 14.6302Z" stroke="currentStroke" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><path d="M9.09021 17.7804C7.68021 18.7204 7.68021 20.2603 9.09021 21.2003C10.6902 22.2703 13.3102 22.2703 14.9102 21.2003C16.3202 20.2603 16.3202 18.7204 14.9102 17.7804C13.3202 16.7204 10.6902 16.7204 9.09021 17.7804Z" stroke="currentStroke" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>',6)]))}const Is=G(As,[["render",Ps]]),js={},Ns={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function Fs(e,t){return n.openBlock(),n.createElementBlock("svg",Ns,t[0]||(t[0]=[n.createElementVNode("path",{d:"M12 12C14.7614 12 17 9.76142 17 7C17 4.23858 14.7614 2 12 2C9.23858 2 7 4.23858 7 7C7 9.76142 9.23858 12 12 12Z",stroke:"currentStroke","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"},null,-1),n.createElementVNode("path",{d:"M20.5901 22C20.5901 18.13 16.7402 15 12.0002 15C7.26015 15 3.41016 18.13 3.41016 22",stroke:"currentStroke","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)]))}const Hs=G(js,[["render",Fs]]),zs={},Ds={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function Us(e,t){return n.openBlock(),n.createElementBlock("svg",Ds,t[0]||(t[0]=[n.createStaticVNode('<path d="M17 3H21V7" stroke="currentStroke" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><path d="M15 9L21 3" stroke="currentStroke" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><path d="M7 21H3V17" stroke="currentStroke" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><path d="M9 15L3 21" stroke="currentStroke" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><path d="M14.02 2.20001C13.37 2.07001 12.69 2 12 2C6.48 2 2 6.48 2 12C2 12.69 2.07001 13.36 2.20001 14" stroke="currentStroke" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><path d="M9.97998 21.8C10.63 21.93 11.31 22 12 22C17.52 22 22 17.52 22 12C22 11.32 21.93 10.65 21.8 10" stroke="currentStroke" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>',6)]))}const Ws=G(zs,[["render",Us]]),Ks={};function Qs(e,t){return n.openBlock(),n.createElementBlock("div",null,t[0]||(t[0]=[n.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"25",viewBox:"0 0 24 25",stroke:"none",fill:"none"},[n.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M21 2.03125C21.5128 2.03125 21.9355 2.42332 21.9933 2.92842L22 3.04686V21.3279C22 21.8487 21.614 22.278 21.1166 22.3367L21 22.3435H15C14.4477 22.3435 14 21.8888 14 21.3279C14 20.807 14.386 20.3778 14.8834 20.3191L15 20.3123H20V4.06247H15C14.4872 4.06247 14.0645 3.67041 14.0067 3.1653L14 3.04686C14 2.52602 14.386 2.09675 14.8834 2.03808L15 2.03125H21ZM10.6129 6.30668L10.7071 6.39116L15.7071 11.4692C16.0676 11.8353 16.0953 12.4114 15.7903 12.8098L15.7071 12.9055L10.7071 17.9836C10.3166 18.3802 9.68342 18.3802 9.29289 17.9836C8.93241 17.6175 8.90468 17.0414 9.2097 16.643L9.29289 16.5473L12.585 13.203H3C2.44772 13.203 2 12.7483 2 12.1874C2 11.6665 2.38604 11.2373 2.88338 11.1786L3 11.1718H12.585L9.29289 7.82746C8.93241 7.46134 8.90468 6.88526 9.2097 6.48684L9.29289 6.39116C9.62334 6.05556 10.1275 6.00393 10.5114 6.23627L10.6129 6.30668Z",fill:"white"})],-1)]))}const Zs=G(Ks,[["render",Qs]]),Xs={},Ys={xmlns:"http://www.w3.org/2000/svg",width:"40",height:"26",viewBox:"0 0 40 26",fill:"none"};function Gs(e,t){return n.openBlock(),n.createElementBlock("svg",Ys,t[0]||(t[0]=[n.createElementVNode("g",{"clip-path":"url(#clip0_2687_49807)"},[n.createElementVNode("path",{d:"M12.5419 25.975C11.7095 25.9001 10.8129 25.7203 10.0582 25.4755C9.24862 25.2108 9.12055 25.1558 8.33381 24.7312C7.13084 24.0868 6.39899 23.5773 5.38813 22.6882C4.72032 22.0988 3.71403 21.0298 3.2246 20.3854C3.02335 20.1207 2.7855 19.8159 2.69402 19.7061C2.3098 19.2515 -0.0778546 15.2403 -9.58358e-05 15.1904C0.0136263 15.1804 0.320087 15.0505 0.676863 14.9057C2.0445 14.3362 3.40299 14.0115 4.7752 13.9266C6.05136 13.8467 7.14456 13.9366 8.48933 14.2413C8.82781 14.3162 9.11597 14.3712 9.12969 14.3562C9.14342 14.3412 8.99705 13.8966 8.80951 13.3671C7.913 10.8646 7.2955 7.12315 7.3321 4.42574L7.34582 3.59654L8.35668 4.17598C9.57795 4.87531 11.2932 5.95428 11.9565 6.43381C12.7844 7.03823 13.4156 7.58271 14.4813 8.61671C14.7603 8.88646 14.9982 9.09126 15.0119 9.07627C15.0256 9.06129 15.1308 8.68665 15.2498 8.25207C15.5105 7.27301 15.8535 6.3439 16.4207 5.0951C17.1663 3.46167 18.4562 1.57349 19.6363 0.394621L20.0342 0L20.2309 0.239769C21.2555 1.47858 22.2846 3.19693 23.0531 4.94025C23.5974 6.16907 23.9267 7.16811 24.3841 8.96638C24.4802 9.33602 24.5717 9.64073 24.5854 9.64073C24.5991 9.64073 24.7821 9.44092 24.9879 9.20115C25.5414 8.54179 26.4287 7.70759 27.4945 6.83842C27.7278 6.64861 27.9656 6.4488 28.0205 6.39385C28.0754 6.33891 28.1852 6.25399 28.2629 6.20903C28.3407 6.16407 28.6243 5.97925 28.8896 5.79942C29.6854 5.27493 32.224 3.78136 32.5717 3.6365L32.6814 3.59155L32.654 4.66551C32.5671 7.97233 32.0548 10.8396 31.0439 13.6519C30.9113 14.0215 30.8152 14.3412 30.829 14.3562C30.8427 14.3712 31.2498 14.3012 31.7346 14.1964C33.2303 13.8767 34.5522 13.8017 35.7689 13.9666C36.638 14.0865 37.7541 14.3312 38.3944 14.551C38.8701 14.7158 39.9039 15.1205 39.9953 15.1854C40.0136 15.2004 39.9953 15.2653 39.9542 15.3303C39.8901 15.4252 38.8564 17.1935 38.216 18.3024C38.0468 18.5921 37.5071 19.3714 36.9673 20.1057C36.2721 21.0498 34.9181 22.4584 34.0674 23.1178C32.2378 24.5414 30.8472 25.2307 28.9353 25.6653C27.339 26.03 26.3555 26.0749 24.9605 25.8451C24.5076 25.7702 23.977 25.6653 23.7804 25.6054C23.5837 25.5454 23.3184 25.4655 23.1903 25.4305C22.9433 25.3656 21.6031 24.8061 21.5482 24.7462C21.4842 24.6813 21.7175 23.967 22.0788 23.1078C22.8564 21.2646 23.0622 20.6551 23.3824 19.2015C23.6523 17.9927 23.8124 16.9287 23.9267 15.61C23.9862 14.9157 24.0045 12.7927 23.9496 12.1134L23.9267 11.7837L23.5196 12.3331C22.4585 13.7768 21.4888 15.605 20.8575 17.3483C20.5648 18.1575 20.1714 19.4263 20.1211 19.736C20.0845 19.9408 20.0342 19.9608 20.0022 19.786C19.9473 19.5062 19.4487 17.9178 19.2475 17.3683C18.6437 15.7349 17.4499 13.4571 16.7135 12.5429L16.5076 12.2882L16.4756 12.498C16.4573 12.6129 16.4436 13.522 16.4436 14.516C16.4436 16.5441 16.4665 16.8188 16.8232 18.9668C17.2212 21.3545 17.3813 21.9789 17.8981 23.1977C18.0262 23.4974 18.2137 23.962 18.3189 24.2317L18.5065 24.7212L18.0171 24.986C17.3904 25.3256 16.5351 25.6154 15.5471 25.8152C14.8427 25.96 14.7009 25.975 13.8684 25.99C13.3698 26 12.7661 25.99 12.5328 25.97L12.5419 25.975ZM16.1188 25.1808C16.9879 25.1258 17.7838 24.986 18.1131 24.8211C18.2549 24.7512 18.3647 24.6763 18.3555 24.6513C18.3464 24.6263 18.1223 24.1967 17.857 23.6972C17.4362 22.903 17.2944 22.6782 16.7546 21.9739C15.698 20.5902 14.9707 19.8159 13.5574 18.5821C12.8209 17.9427 11.2109 16.9787 10.3647 16.674C9.50019 16.3643 8.72718 16.1595 7.95416 16.0296C7.16286 15.8997 7.11254 15.8947 6.06966 15.9197C5.15028 15.9397 4.84839 15.9646 3.95188 16.0995C3.37555 16.1844 2.89985 16.2644 2.88613 16.2744C2.85868 16.3043 2.92272 16.4242 3.3481 17.1635C3.97932 18.2525 4.78435 19.3614 5.75405 20.4703C7.13541 22.0538 8.45731 23.0928 10.1863 23.957C11.1743 24.4515 11.4487 24.5514 12.4916 24.8361C13.0725 24.996 13.411 25.0609 14.0056 25.1258C14.8976 25.2207 15.2223 25.2307 16.1097 25.1758L16.1188 25.1808ZM26.3647 25.0909C27.2978 24.931 27.5082 24.8761 28.5694 24.5014C29.7632 24.0768 30.7055 23.5474 32.1463 22.4884C32.5625 22.1837 33.3675 21.4544 33.7746 21.0198C34.3327 20.4204 35.0691 19.5112 35.4762 18.9168C36.0159 18.1276 37.0817 16.3842 37.0451 16.3493C36.9993 16.2993 35.6637 16.0596 34.973 15.9746C34.5614 15.9247 34.0582 15.8997 33.4956 15.8997C32.7272 15.8997 32.5625 15.9197 31.7575 16.0596C30.9387 16.2044 30.7924 16.2444 29.905 16.5741C29.3744 16.7689 28.8484 16.9837 28.734 17.0436C28.1165 17.3833 27.1651 17.9877 26.6803 18.3474C24.6814 19.8359 22.3167 22.7431 21.6168 24.5714L21.5574 24.7312L22.2343 24.911C23.0942 25.1408 23.6706 25.2108 24.7272 25.2208C25.4819 25.2208 25.6603 25.2108 26.3647 25.0909ZM23.9862 19.5662C24.9742 18.1975 25.244 17.8878 26.0674 17.1485C26.598 16.669 27.7872 15.7249 28.08 15.55C28.4504 15.3253 29.4201 14.8557 29.6763 14.7708C29.9233 14.6909 29.9782 14.6559 30.0148 14.556C30.1932 14.0515 30.5042 12.1483 30.7786 9.93545C30.9067 8.87646 31.1263 6.17406 31.0851 6.12911C31.0439 6.08415 29.3973 6.9733 28.7295 7.40788C27.4121 8.26206 25.8615 9.55082 25.0016 10.5049L24.6997 10.8396L24.7455 11.5839C24.8049 12.5429 24.8004 14.2263 24.7363 15.0405C24.6494 16.0745 24.3201 17.4582 23.7163 19.2964C23.4922 19.9858 23.4419 20.2056 23.5151 20.2056C23.5242 20.2056 23.7392 19.9208 23.9908 19.5762L23.9862 19.5662ZM20.0754 19.3164C20.0754 19.3164 20.208 18.8319 20.3452 18.2924C20.7752 16.5591 21.0268 15.7998 21.5299 14.6609C21.7815 14.0964 22.1063 13.4071 22.2572 13.1174C22.4036 12.8327 22.5271 12.5929 22.5271 12.5779C22.5271 12.5379 23.355 11.2342 23.5562 10.9645L23.7666 10.6797L23.6751 9.97541C23.3412 7.36292 21.6077 2.41768 20.4093 0.664361C20.2172 0.38463 20.0525 0.154851 20.0434 0.154851C20.0342 0.154851 19.9427 0.289721 19.8375 0.449568C19.3755 1.17387 18.2366 4.2659 17.6283 6.46378C17.2257 7.92238 16.7272 10.2152 16.6769 10.8496L16.654 11.1743L16.9376 11.5689C17.3355 12.1283 17.7243 12.8327 18.2137 13.9066C19.1743 16.0046 19.4899 16.9537 19.8604 18.8818C19.9473 19.3214 20.0068 19.4413 20.0754 19.3164ZM15.8169 19.0517C15.8169 19.0517 15.7163 18.762 15.5928 18.4523C15.3047 17.723 15.0028 16.639 14.8472 15.7748C14.5774 14.2763 14.5316 12.2033 14.7329 10.6348L14.7832 10.2402L14.4813 9.93545C13.5802 9.02632 11.8284 7.6976 10.6346 7.01326C10.0674 6.68857 8.85983 6.05418 8.83696 6.07915C8.81409 6.10413 8.9879 8.07723 9.10682 9.13622C9.34925 11.3041 9.63284 13.1524 9.88441 14.2063L9.98047 14.601L10.4013 14.7808C11.3161 15.1754 12.359 15.8148 13.2875 16.5641C13.937 17.0836 14.3944 17.5431 15.1263 18.4123C15.6248 19.0017 15.8124 19.1766 15.8124 19.0517H15.8169Z",fill:"white"})],-1),n.createElementVNode("defs",null,[n.createElementVNode("clipPath",{id:"clip0_2687_49807"},[n.createElementVNode("rect",{width:"40",height:"26",fill:"white"})])],-1)]))}const Js=G(Xs,[["render",Gs]]),eu={},tu={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function nu(e,t){return n.openBlock(),n.createElementBlock("svg",tu,t[0]||(t[0]=[n.createStaticVNode('<path d="M11 19.5H21" stroke="currentStroke" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><path d="M11 12.5H21" stroke="currentStroke" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><path d="M11 5.5H21" stroke="currentStroke" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><path d="M3 5.5L4 6.5L7 3.5" stroke="currentStroke" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><path d="M3 12.5L4 13.5L7 10.5" stroke="currentStroke" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><path d="M3 19.5L4 20.5L7 17.5" stroke="currentStroke" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>',6)]))}const ou=G(eu,[["render",nu]]),ru={},iu={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function lu(e,t){return n.openBlock(),n.createElementBlock("svg",iu,t[0]||(t[0]=[n.createStaticVNode('<path d="M14 13V14C14 14.01 14 14.01 14 14.02C14 15.11 13.99 16 12 16C10.02 16 10 15.12 10 14.03V13C10 12 10 12 11 12H13C14 12 14 12 14 13Z" stroke="currentStroke" stroke-width="1.5" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"></path><path d="M21.65 11C19.34 12.68 16.7 13.68 14 14.02" stroke="currentStroke" stroke-width="1.5" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"></path><path d="M2.62012 11.27C4.87012 12.81 7.41012 13.74 10.0001 14.03" stroke="currentStroke" stroke-width="1.5" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"></path><path d="M7.99983 22H15.9998C20.0198 22 20.7398 20.39 20.9498 18.43L21.6998 10.43C21.9698 7.99 21.2698 6 16.9998 6H6.99983C2.72983 6 2.02983 7.99 2.29983 10.43L3.04983 18.43C3.25983 20.39 3.97983 22 7.99983 22Z" stroke="currentStroke" stroke-width="1.5" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"></path><path d="M8 6V5.2C8 3.43 8 2 11.2 2H12.8C16 2 16 3.43 16 5.2V6" stroke="currentStroke" stroke-width="1.5" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"></path>',5)]))}const au=G(ru,[["render",lu]]),su={},uu={width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function cu(e,t){return n.openBlock(),n.createElementBlock("svg",uu,t[0]||(t[0]=[n.createStaticVNode('<path class="icon-section" d="M8.5 14.25C8.5 16.17 10.08 17.75 12 17.75C13.92 17.75 15.5 16.17 15.5 14.25" stroke="currentStroke" stroke-width="1.5" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"></path><path class="icon-section" d="M8.80994 2L5.18994 5.63" stroke="currentStroke" stroke-width="1.5" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"></path><path class="icon-section" d="M15.1899 2L18.8099 5.63" stroke="currentStroke" stroke-width="1.5" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"></path><path class="icon-section" d="M2 7.8501C2 6.0001 2.99 5.8501 4.22 5.8501H19.78C21.01 5.8501 22 6.0001 22 7.8501C22 10.0001 21.01 9.8501 19.78 9.8501H4.22C2.99 9.8501 2 10.0001 2 7.8501Z" stroke="currentStroke" stroke-width="1.5"></path><path class="icon-section" d="M3.5 10L4.91 18.64C5.23 20.58 6 22 8.86 22H14.89C18 22 18.46 20.64 18.82 18.76L20.5 10" stroke="currentStroke" stroke-width="1.5" stroke-linecap="round"></path>',5)]))}const du=G(su,[["render",cu]]),fu={},mu={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function hu(e,t){return n.openBlock(),n.createElementBlock("svg",mu,t[0]||(t[0]=[n.createElementVNode("path",{d:"M2 13H22",stroke:"currentStroke","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"},null,-1),n.createElementVNode("path",{d:"M6.44 2H17.55C21.11 2 22 2.89 22 6.44V12.77C22 16.33 21.11 17.21 17.56 17.21H6.44C2.89 17.22 2 16.33 2 12.78V6.44C2 2.89 2.89 2 6.44 2Z",stroke:"currentStroke","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"},null,-1),n.createElementVNode("path",{d:"M12 17.22V22",stroke:"currentStroke","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"},null,-1),n.createElementVNode("path",{d:"M7.5 22H16.5",stroke:"currentStroke","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)]))}const pu=G(fu,[["render",hu]]),gu={},wu={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function vu(e,t){return n.openBlock(),n.createElementBlock("svg",wu,t[0]||(t[0]=[n.createElementVNode("path",{d:"M12 6.43994V9.76994",stroke:"currentStroke","stroke-width":"1.5","stroke-miterlimit":"10","stroke-linecap":"round"},null,-1),n.createElementVNode("path",{d:"M12.0199 2C8.3399 2 5.3599 4.98 5.3599 8.66V10.76C5.3599 11.44 5.0799 12.46 4.7299 13.04L3.4599 15.16C2.6799 16.47 3.2199 17.93 4.6599 18.41C9.4399 20 14.6099 20 19.3899 18.41C20.7399 17.96 21.3199 16.38 20.5899 15.16L19.3199 13.04C18.9699 12.46 18.6899 11.43 18.6899 10.76V8.66C18.6799 5 15.6799 2 12.0199 2Z",stroke:"currentStroke","stroke-width":"1.5","stroke-miterlimit":"10","stroke-linecap":"round"},null,-1),n.createElementVNode("path",{d:"M15.3299 18.8199C15.3299 20.6499 13.8299 22.1499 11.9999 22.1499C11.0899 22.1499 10.2499 21.7699 9.64992 21.1699C9.04992 20.5699 8.66992 19.7299 8.66992 18.8199",stroke:"currentStroke","stroke-width":"1.5","stroke-miterlimit":"10"},null,-1)]))}const ku=G(gu,[["render",vu]]),yu={},bu={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function Cu(e,t){return n.openBlock(),n.createElementBlock("svg",bu,t[0]||(t[0]=[n.createElementVNode("path",{d:"M21.0801 8.58003V15.42C21.0801 16.54 20.4802 17.58 19.5102 18.15L13.5702 21.58C12.6002 22.14 11.4002 22.14 10.4202 21.58L4.48016 18.15C3.51016 17.59 2.91016 16.55 2.91016 15.42V8.58003C2.91016 7.46003 3.51016 6.41999 4.48016 5.84999L10.4202 2.42C11.3902 1.86 12.5902 1.86 13.5702 2.42L19.5102 5.84999C20.4802 6.41999 21.0801 7.45003 21.0801 8.58003Z",stroke:"currentStroke","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"},null,-1),n.createElementVNode("path",{d:"M9.75 12V10.8C9.75 9.26001 10.84 8.63005 12.17 9.40005L13.21 10L14.25 10.6C15.58 11.37 15.58 12.63 14.25 13.4L13.21 14L12.17 14.6C10.84 15.37 9.75 14.74 9.75 13.2V12Z",stroke:"currentStroke","stroke-width":"1.5","stroke-miterlimit":"10","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)]))}const _u=G(yu,[["render",Cu]]),Su={},xu={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function Bu(e,t){return n.openBlock(),n.createElementBlock("svg",xu,t[0]||(t[0]=[n.createElementVNode("path",{d:"M14.2201 9.78L12.0001 10.89M12.0001 10.89L9.78011 9.78M12.0001 10.89V13.67M20.8901 6.44L18.6701 7.55M20.8901 6.44L18.6701 5.33M20.8901 6.44V9.22M3.11011 6.44L5.33011 5.33M3.11011 6.44L5.33011 7.55M3.11011 6.44V9.22M12.0001 22L9.78011 20.89M12.0001 22L14.2201 20.89M12.0001 22V19.22M18.6701 18.67L20.8901 17.56V14.78M14.2201 3.11L12.0001 2L9.78011 3.11H14.2201ZM5.33011 18.67L3.11011 17.56V14.78L5.33011 18.67Z",stroke:"currentStroke","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"},null,-1),n.createElementVNode("path",{d:"M12.0001 22L9.78011 20.89M12.0001 22L14.2201 20.89M12.0001 22V19.22M5.33011 18.67L3.11011 17.56V14.78L5.33011 18.67Z",stroke:"currentStroke","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)]))}const Eu=G(Su,[["render",Bu]]),qu={},Tu={width:"24",height:"24",viewBox:"0 0 24 30",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function Mu(e,t){return n.openBlock(),n.createElementBlock("svg",Tu,t[0]||(t[0]=[n.createStaticVNode('<g filter="url(#filter0_d_116_6675)"><path d="M11.99 12V22" stroke="currentStroke" stroke-width="1.5" stroke-miterlimit="10" stroke-linejoin="round"></path></g><g filter="url(#filter1_d_116_6675)"><path d="M15.99 12V22" stroke="currentStroke" stroke-width="1.5" stroke-miterlimit="10" stroke-linejoin="round"></path></g><path d="M2 22H22" stroke="currentStroke" stroke-width="1.5" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"></path><path d="M12 2C13.6 2.64 15.4 2.64 17 2V5C15.4 5.64 13.6 5.64 12 5V2Z" stroke="currentStroke" stroke-width="1.5" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"></path><path d="M12 5V8" stroke="currentStroke" stroke-width="1.5" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"></path><path d="M17 8H7C5 8 4 9 4 11V22H20V11C20 9 19 8 17 8Z" stroke="currentStroke" stroke-width="1.5" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"></path><path d="M4.58008 12H19.4201" stroke="currentStroke" stroke-width="1.5" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"></path><path d="M7.98999 12V22" stroke="currentStroke" stroke-width="1.5" stroke-miterlimit="10" stroke-linejoin="round"></path><defs><filter id="filter0_d_116_6675" x="7.23999" y="12" width="9.5" height="18" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"></feColorMatrix><feOffset dy="4"></feOffset><feGaussianBlur stdDeviation="2"></feGaussianBlur><feComposite in2="hardAlpha" operator="out"></feComposite><feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"></feColorMatrix><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_116_6675"></feBlend><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_116_6675" result="shape"></feBlend></filter><filter id="filter1_d_116_6675" x="11.24" y="12" width="9.5" height="18" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"></feColorMatrix><feOffset dy="4"></feOffset><feGaussianBlur stdDeviation="2"></feGaussianBlur><feComposite in2="hardAlpha" operator="out"></feComposite><feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"></feColorMatrix><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_116_6675"></feBlend><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_116_6675" result="shape"></feBlend></filter></defs>',9)]))}const Vu=G(qu,[["render",Mu]]),$u={},Lu={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function Ru(e,t){return n.openBlock(),n.createElementBlock("svg",Lu,t[0]||(t[0]=[n.createStaticVNode('<path d="M15.5 11H8.5C7.67 11 7 11.67 7 12.5V22H17V12.5C17 11.67 16.33 11 15.5 11Z" stroke="currentStroke" stroke-width="1.5" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"></path><path d="M2 22H22" stroke="currentStroke" stroke-width="1.5" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"></path><path d="M2.94995 22L2.99995 9.96999C2.99995 9.35999 3.28995 8.78004 3.76995 8.40004L10.77 2.95003C11.49 2.39003 12.5 2.39003 13.23 2.95003L20.23 8.39003C20.72 8.77003 21 9.34999 21 9.96999V22" stroke="currentStroke" stroke-width="1.5" stroke-miterlimit="10" stroke-linejoin="round"></path><path d="M10 16.25V17.75" stroke="currentStroke" stroke-width="1.5" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"></path><path d="M10.5 7.5H13.5" stroke="currentStroke" stroke-width="1.5" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"></path>',5)]))}const Au=G($u,[["render",Ru]]),Ou={},Pu={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function Iu(e,t){return n.openBlock(),n.createElementBlock("svg",Pu,t[0]||(t[0]=[n.createElementVNode("path",{d:"M9.16006 10.87C9.06006 10.86 8.94006 10.86 8.83006 10.87C6.45006 10.79 4.56006 8.84 4.56006 6.44C4.56006 3.99 6.54006 2 9.00006 2C11.4501 2 13.4401 3.99 13.4401 6.44C13.4301 8.84 11.5401 10.79 9.16006 10.87Z",stroke:"currentStroke","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"},null,-1),n.createElementVNode("path",{d:"M16.4098 4C18.3498 4 19.9098 5.57 19.9098 7.5C19.9098 9.39 18.4098 10.93 16.5398 11C16.4598 10.99 16.3698 10.99 16.2798 11",stroke:"currentStroke","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"},null,-1),n.createElementVNode("path",{d:"M4.16021 14.56C1.74021 16.18 1.74021 18.82 4.16021 20.43C6.91021 22.27 11.4202 22.27 14.1702 20.43C16.5902 18.81 16.5902 16.17 14.1702 14.56C11.4302 12.73 6.92021 12.73 4.16021 14.56Z",stroke:"currentStroke","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"},null,-1),n.createElementVNode("path",{d:"M18.3398 20C19.0598 19.85 19.7398 19.56 20.2998 19.13C21.8598 17.96 21.8598 16.03 20.2998 14.86C19.7498 14.44 19.0798 14.16 18.3698 14",stroke:"currentStroke","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)]))}const ju=G(Ou,[["render",Iu]]),Nu={},Fu={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function Hu(e,t){return n.openBlock(),n.createElementBlock("svg",Fu,t[0]||(t[0]=[n.createElementVNode("path",{d:"M18 18.86H17.24C16.44 18.86 15.68 19.17 15.12 19.73L13.41 21.42C12.63 22.19 11.36 22.19 10.58 21.42L8.87 19.73C8.31 19.17 7.54 18.86 6.75 18.86H6C4.34 18.86 3 17.53 3 15.89V4.97998C3 3.33998 4.34 2.01001 6 2.01001H18C19.66 2.01001 21 3.33998 21 4.97998V15.89C21 17.52 19.66 18.86 18 18.86Z",stroke:"currentStroke","stroke-width":"1.5","stroke-miterlimit":"10","stroke-linecap":"round","stroke-linejoin":"round"},null,-1),n.createElementVNode("path",{d:"M11.9999 10.0001C13.2868 10.0001 14.33 8.95687 14.33 7.67004C14.33 6.38322 13.2868 5.34009 11.9999 5.34009C10.7131 5.34009 9.66992 6.38322 9.66992 7.67004C9.66992 8.95687 10.7131 10.0001 11.9999 10.0001Z",stroke:"currentStroke","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"},null,-1),n.createElementVNode("path",{d:"M16 15.6601C16 13.8601 14.21 12.4001 12 12.4001C9.79 12.4001 8 13.8601 8 15.6601",stroke:"currentStroke","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)]))}const zu=G(Nu,[["render",Hu]]),Du={},Uu={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function Wu(e,t){return n.openBlock(),n.createElementBlock("svg",Uu,t[0]||(t[0]=[n.createStaticVNode('<path d="M12 12C14.7614 12 17 9.76142 17 7C17 4.23858 14.7614 2 12 2C9.23858 2 7 4.23858 7 7C7 9.76142 9.23858 12 12 12Z" stroke="currentStroke" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><path d="M3.41016 22C3.41016 18.13 7.26015 15 12.0002 15C12.9602 15 13.8902 15.13 14.7602 15.37" stroke="currentStroke" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><path d="M22 18C22 18.32 21.96 18.63 21.88 18.93C21.79 19.33 21.63 19.72 21.42 20.06C20.73 21.22 19.46 22 18 22C16.97 22 16.04 21.61 15.34 20.97C15.04 20.71 14.78 20.4 14.58 20.06C14.21 19.46 14 18.75 14 18C14 16.92 14.43 15.93 15.13 15.21C15.86 14.46 16.88 14 18 14C19.18 14 20.25 14.51 20.97 15.33C21.61 16.04 22 16.98 22 18Z" stroke="currentStroke" stroke-width="1.5" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"></path><path d="M19.4897 17.98H16.5098" stroke="currentStroke" stroke-width="1.5" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"></path><path d="M18 16.52V19.51" stroke="currentStroke" stroke-width="1.5" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"></path>',5)]))}const Ku=G(Du,[["render",Wu]]),Qu={},Zu={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function Xu(e,t){return n.openBlock(),n.createElementBlock("svg",Zu,t[0]||(t[0]=[n.createStaticVNode('<path d="M9.62012 16L11.1201 17.5L14.3701 14.5" stroke="currentStroke" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><path d="M8.80994 2L5.18994 5.63" stroke="currentStroke" stroke-width="1.5" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"></path><path d="M15.1899 2L18.8099 5.63" stroke="currentStroke" stroke-width="1.5" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"></path><path d="M2 7.8501C2 6.0001 2.99 5.8501 4.22 5.8501H19.78C21.01 5.8501 22 6.0001 22 7.8501C22 10.0001 21.01 9.8501 19.78 9.8501H4.22C2.99 9.8501 2 10.0001 2 7.8501Z" stroke="currentStroke" stroke-width="1.5"></path><path d="M3.5 10L4.91 18.64C5.23 20.58 6 22 8.86 22H14.89C18 22 18.46 20.64 18.82 18.76L20.5 10" stroke="currentStroke" stroke-width="1.5" stroke-linecap="round"></path>',5)]))}const Yu=G(Qu,[["render",Xu]]),Gu={},Ju={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function ec(e,t){return n.openBlock(),n.createElementBlock("svg",Ju,t[0]||(t[0]=[n.createElementVNode("path",{d:"M20.41 17.03H8",stroke:"currentStroke","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"},null,-1),n.createElementVNode("path",{d:"M8.40002 6.5H15.6C19 6.5 19.34 8.09 19.57 10.03L20.47 17.53C20.76 19.99 20 22 16.5 22H7.51003C4.00003 22 3.24002 19.99 3.54002 17.53L4.44003 10.03C4.66003 8.09 5.00002 6.5 8.40002 6.5Z",stroke:"currentStroke","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"},null,-1),n.createElementVNode("path",{d:"M8 8V4.5C8 3 9 2 10.5 2H13.5C15 2 16 3 16 4.5V8",stroke:"currentStroke","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)]))}const tc=G(Gu,[["render",ec]]),nc={},oc={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function rc(e,t){return n.openBlock(),n.createElementBlock("svg",oc,t[0]||(t[0]=[n.createElementVNode("path",{d:"M2 12H22",stroke:"currentStroke","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"},null,-1),n.createElementVNode("path",{d:"M9 22H15C20 22 22 20 22 15V9C22 4 20 2 15 2H9C4 2 2 4 2 9V15C2 20 4 22 9 22Z",stroke:"currentStroke","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"},null,-1),n.createElementVNode("path",{d:"M12 2V22",stroke:"currentStroke","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)]))}const ic=G(nc,[["render",rc]]),lc={},ac={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function sc(e,t){return n.openBlock(),n.createElementBlock("svg",ac,t[0]||(t[0]=[n.createElementVNode("path",{d:"M11.9702 22C17.4931 22 21.9702 17.5228 21.9702 12C21.9702 6.47715 17.4931 2 11.9702 2C6.44737 2 1.97021 6.47715 1.97021 12C1.97021 17.5228 6.44737 22 11.9702 22Z",stroke:"currentStroke","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"},null,-1),n.createElementVNode("path",{d:"M12 16.23C14.3362 16.23 16.23 14.3362 16.23 12C16.23 9.66386 14.3362 7.77002 12 7.77002C9.66386 7.77002 7.77002 9.66386 7.77002 12C7.77002 14.3362 9.66386 16.23 12 16.23Z",stroke:"currentStroke","stroke-width":"1.5","stroke-miterlimit":"10","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)]))}const uc=G(lc,[["render",sc]]),cc={},dc={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function fc(e,t){return n.openBlock(),n.createElementBlock("svg",dc,t[0]||(t[0]=[n.createStaticVNode('<path d="M12.3701 8.87988H17.6201" stroke="currentStroke" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><path d="M6.37988 8.87988L7.12988 9.62988L9.37988 7.37988" stroke="currentStroke" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><path d="M12.3701 15.8799H17.6201" stroke="currentStroke" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><path d="M6.37988 15.8799L7.12988 16.6299L9.37988 14.3799" stroke="currentStroke" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><path d="M9 22H15C20 22 22 20 22 15V9C22 4 20 2 15 2H9C4 2 2 4 2 9V15C2 20 4 22 9 22Z" stroke="currentStroke" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>',5)]))}const mc=G(cc,[["render",fc]]),hc={},pc={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function gc(e,t){return n.openBlock(),n.createElementBlock("svg",pc,t[0]||(t[0]=[n.createElementVNode("path",{d:"M9.31006 14.7L10.8101 16.2L14.8101 12.2",stroke:"currentStroke","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"},null,-1),n.createElementVNode("path",{d:"M10 6H14C16 6 16 5 16 4C16 2 15 2 14 2H10C9 2 8 2 8 4C8 6 9 6 10 6Z",stroke:"currentStroke","stroke-width":"1.5","stroke-miterlimit":"10","stroke-linecap":"round","stroke-linejoin":"round"},null,-1),n.createElementVNode("path",{d:"M16 4.02002C19.33 4.20002 21 5.43002 21 10V16C21 20 20 22 15 22H9C4 22 3 20 3 16V10C3 5.44002 4.67 4.20002 8 4.02002",stroke:"currentStroke","stroke-width":"1.5","stroke-miterlimit":"10","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)]))}const wc=G(hc,[["render",gc]]),vc={},kc={xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"};function yc(e,t){return n.openBlock(),n.createElementBlock("svg",kc,t[0]||(t[0]=[n.createElementVNode("path",{d:"M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z",stroke:"currentStroke","stroke-width":"1.5","stroke-miterlimit":"10","stroke-linecap":"round","stroke-linejoin":"round"},null,-1),n.createElementVNode("path",{d:"M8.46997 13.26L12 9.73999L15.53 13.26",stroke:"currentStroke","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)]))}const bc=G(vc,[["render",yc]]),mn=G(n.defineComponent({__name:"AppIcon",props:{size:{},tag:{default:""},name:{default:""},color:{}},setup(e){n.useCssVars(i=>({c630246a:i.color,"682fb499":i.size}));const t=e;function o(i){return i?i.split("-").map(l=>l.charAt(0).toUpperCase()+l.slice(1).toLowerCase()).join(""):""}const r=n.computed(()=>({ProjectsIcon:cs,RepairsIcon:hs,RepairObjectIcon:Cs,InstrumentHistoryIcon:vs,StatusHistoryIcon:Bs,PassIcon:Ms,AssignModuleIcon:Rs,UsersIcon:Is,UserIcon:Hs,WorkzonesIcon:Ws,LogoutIcon:Zs,LogoIcon:Js,TasksIcon:ou,InstrumentsIcon:au,OrderIcon:du,ModulesIcon:pu,NotificationsIcon:ku,VideozonesIcon:_u,InstrumentWorkZoneIcon:Eu,WorkshopIcon:Vu,WarehousesIcon:Au,TeamsIcon:ju,RolesIcon:zu,PositionsIcon:Ku,InstrumentOrderIcon:Yu,PreorderIcon:tc,VideowallIcon:ic,VideosourcesIcon:uc,Tasks_tasksIcon:mc,Tasks_todayIcon:wc,ArrowFrameIcon:bc})[o(t.name)]);return(i,l)=>(n.openBlock(),n.createBlock(n.resolveDynamicComponent(r.value),{tag:i.tag,class:n.normalizeClass([i.$style["app-icon"]])},null,8,["tag","class"]))}}),[["__cssModules",{$style:{"app-icon":"_app-icon_11ugn_1"}}]]),Cc=G(n.defineComponent({__name:"SidebarMenuItem",props:{minify:{type:Boolean},item:{}},setup(e){const t=n.reactive({"repairs-icon":!0}),o=i=>{},r=i=>i.to===""&&i.items.find(l=>l.to==="/repairs/")||i.to==="/repairs/";return(i,l)=>{const a=n.resolveComponent("sidebar-menu-item",!0);return i.item.items?(n.openBlock(),n.createBlock(ls,{key:0,modelValue:t[`${i.item.icon}`],"onUpdate:modelValue":l[0]||(l[0]=s=>t[`${i.item.icon}`]=s),"header-class":"text-purple",class:n.normalizeClass([i.$style["menu-item"],{"expansion-item-active":r(i.item)&&i.minify}])},{header:n.withCtx(()=>[i.minify?(n.openBlock(),n.createBlock(Xt,{key:0,delay:100,"transition-show":"jump-right","transition-hide":"jump-left",anchor:"center right",self:"center left"},{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(i.item.label),1)]),_:1})):n.createCommentVNode("",!0),i.item.icon?(n.openBlock(),n.createBlock(ye,{key:1,avatar:""},{default:n.withCtx(()=>[n.createVNode(mn,{name:i.item.icon,color:"white",size:"24px"},null,8,["name"])]),_:1})):n.createCommentVNode("",!0),n.createVNode(ye,{class:n.normalizeClass(i.$style["menu-item__label"])},{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(i.item.label),1)]),_:1},8,["class"])]),default:n.withCtx(()=>[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(i.item.items,(s,d)=>(n.openBlock(),n.createBlock(a,{key:d,item:s},null,8,["item"]))),128))]),_:1},8,["modelValue","class"])):i.item.name!=="sign-out"?n.withDirectives((n.openBlock(),n.createBlock(Fe,{key:1,class:n.normalizeClass(i.$style["menu-item"]),to:i.item.to,active:r(i.item),"active-class":"menu-active",clickable:"",onClick:l[1]||(l[1]=s=>o(i.item))},{default:n.withCtx(()=>[i.minify?(n.openBlock(),n.createBlock(Xt,{key:0,delay:100,"transition-show":"jump-right","transition-hide":"jump-left",anchor:"center right",self:"center left"},{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(i.item.label),1)]),_:1})):n.createCommentVNode("",!0),i.item.icon?(n.openBlock(),n.createBlock(ye,{key:1,avatar:""},{default:n.withCtx(()=>[n.createVNode(mn,{name:i.item.icon,color:"white",size:"24px"},null,8,["name"])]),_:1})):n.createCommentVNode("",!0),n.createVNode(ye,{class:n.normalizeClass(i.$style["menu-item__label"])},{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(i.item.label),1)]),_:1},8,["class"])]),_:1},8,["class","to","active"])),[[Jt]]):n.createCommentVNode("",!0)}}}),[["__cssModules",{$style:{"menu-item":"_menu-item_pfw9c_1","menu-item__label":"_menu-item__label_pfw9c_18"}}],["__scopeId","data-v-9b20a9a7"]]),_c=G(n.defineComponent({__name:"SidebarMenu",props:{menuItems:{},minify:{type:Boolean}},setup(e){return(t,o)=>(n.openBlock(),n.createElementBlock("div",{class:n.normalizeClass(t.$style.wrapper)},[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(t.menuItems,(r,i)=>(n.openBlock(),n.createBlock(Cc,{key:i,item:r,minify:t.minify},null,8,["item","minify"]))),128))],2))}}),[["__cssModules",{$style:{wrapper:"_wrapper_oo3ij_1"}}]]);function Sc(){return n.inject(ea)}const xc=G(n.defineComponent({__name:"AppSidebar",props:{isDrawer:{type:Boolean},minify:{type:Boolean},menuItems:{}},setup(e){const t=Sc(),o=n.ref(!0),r=n.ref(!0),i=n.ref(!1),l=n.computed(()=>t.screen.lt.lg),a=n.computed(()=>r.value?"menu":"close"),s=n.computed(()=>l.value?250:275),d=n.computed(()=>l.value?47:72);function c(g){!i.value&&!l.value&&(r.value=g)}function u(){i.value=!i.value,r.value=!r.value}function f(){window.location.href="/sign-out"}return n.watch(()=>l.value,g=>{i.value=g}),(g,p)=>(n.openBlock(),n.createBlock(ns,{key:`${o.value}`,modelValue:o.value,"onUpdate:modelValue":p[3]||(p[3]=h=>o.value=h),class:n.normalizeClass(g.$style.drawer),mini:r.value,overlay:!i.value,width:s.value,"mini-width":d.value,breakpoint:960,"show-if-above":"",onMouseover:p[4]||(p[4]=h=>c(!1)),onMouseout:p[5]||(p[5]=h=>c(!0))},{default:n.withCtx(()=>[l.value?(n.openBlock(),n.createBlock(Fe,{key:0,class:n.normalizeClass(g.$style["tablet-logo"])},{default:n.withCtx(()=>[n.createVNode(ye,{avatar:""},{default:n.withCtx(()=>[n.createVNode(Un,{round:"",unelevated:"",class:n.normalizeClass(g.$style["tablet-logo__btn"]),icon:a.value,onClick:p[0]||(p[0]=h=>u())},null,8,["class","icon"])]),_:1}),n.createVNode(ye,{class:n.normalizeClass(g.$style.logo__text)},{default:n.withCtx(()=>p[6]||(p[6]=[n.createTextVNode("РИТМ")])),_:1},8,["class"])]),_:1},8,["class"])):(n.openBlock(),n.createElementBlock(n.Fragment,{key:1},[n.createVNode(Fe,{class:n.normalizeClass(g.$style.logo)},{default:n.withCtx(()=>[n.createVNode(ye,{avatar:""},{default:n.withCtx(()=>[n.createVNode(mn,{name:"logo-icon"})]),_:1}),n.createVNode(ye,{class:n.normalizeClass(g.$style.logo__text)},{default:n.withCtx(()=>p[7]||(p[7]=[n.createTextVNode("РИТМ")])),_:1},8,["class"])]),_:1},8,["class"]),n.createVNode(Un,{dense:"",round:"",unelevated:"",class:n.normalizeClass(["q-mini-drawer-hide",g.$style["minify-btn"]]),icon:"chevron_left",onClick:p[1]||(p[1]=h=>i.value=!i.value)},{default:n.withCtx(()=>[n.createVNode(Xt,null,{default:n.withCtx(()=>p[8]||(p[8]=[n.createTextVNode("Закрепить сайдбар")])),_:1})]),_:1},8,["class"])],64)),n.createVNode(_c,{"menu-items":g.menuItems,minify:r.value},null,8,["menu-items","minify"]),n.withDirectives((n.openBlock(),n.createBlock(Fe,{class:n.normalizeClass(g.$style["menu-exit"]),clickable:"",onClick:p[2]||(p[2]=h=>f())},{default:n.withCtx(()=>[n.createVNode(ye,{avatar:""},{default:n.withCtx(()=>[n.createVNode(mn,{name:"logout-icon",color:"white",size:"24px"})]),_:1}),n.createVNode(ye,{class:n.normalizeClass(g.$style["menu-exit__label"])},{default:n.withCtx(()=>p[9]||(p[9]=[n.createTextVNode("Выход")])),_:1},8,["class"])]),_:1},8,["class"])),[[Jt]])]),_:1},8,["modelValue","class","mini","overlay","width","mini-width"]))}}),[["__cssModules",{$style:{drawer:"_drawer_1q4rd_1",logo:"_logo_1q4rd_17",logo__text:"_logo__text_1q4rd_22","tablet-logo":"_tablet-logo_1q4rd_28","tablet-logo__btn":"_tablet-logo__btn_1q4rd_31","minify-btn":"_minify-btn_1q4rd_35","menu-exit":"_menu-exit_1q4rd_46","menu-exit__label":"_menu-exit__label_1q4rd_52"}}]]);function ti(e,t){return function(){return e.apply(t,arguments)}}const{toString:Bc}=Object.prototype,{getPrototypeOf:uo}=Object,hn=(e=>t=>{const o=Bc.call(t);return e[o]||(e[o]=o.slice(8,-1).toLowerCase())})(Object.create(null)),Le=e=>(e=e.toLowerCase(),t=>hn(t)===e),pn=e=>t=>typeof t===e,{isArray:mt}=Array,$t=pn("undefined");function Ec(e){return e!==null&&!$t(e)&&e.constructor!==null&&!$t(e.constructor)&&xe(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const ni=Le("ArrayBuffer");function qc(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&ni(e.buffer),t}const Tc=pn("string"),xe=pn("function"),oi=pn("number"),gn=e=>e!==null&&typeof e=="object",Mc=e=>e===!0||e===!1,wn=e=>{if(hn(e)!=="object")return!1;const t=uo(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},Vc=Le("Date"),$c=Le("File"),Lc=Le("Blob"),Rc=Le("FileList"),Ac=e=>gn(e)&&xe(e.pipe),Oc=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||xe(e.append)&&((t=hn(e))==="formdata"||t==="object"&&xe(e.toString)&&e.toString()==="[object FormData]"))},Pc=Le("URLSearchParams"),[Ic,jc,Nc,Fc]=["ReadableStream","Request","Response","Headers"].map(Le),Hc=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Lt(e,t,{allOwnKeys:o=!1}={}){if(e===null||typeof e>"u")return;let r,i;if(typeof e!="object"&&(e=[e]),mt(e))for(r=0,i=e.length;r<i;r++)t.call(null,e[r],r,e);else{const l=o?Object.getOwnPropertyNames(e):Object.keys(e),a=l.length;let s;for(r=0;r<a;r++)s=l[r],t.call(null,e[s],s,e)}}function ri(e,t){t=t.toLowerCase();const o=Object.keys(e);let r=o.length,i;for(;r-- >0;)if(i=o[r],t===i.toLowerCase())return i;return null}const tt=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,ii=e=>!$t(e)&&e!==tt;function co(){const{caseless:e}=ii(this)&&this||{},t={},o=(r,i)=>{const l=e&&ri(t,i)||i;wn(t[l])&&wn(r)?t[l]=co(t[l],r):wn(r)?t[l]=co({},r):mt(r)?t[l]=r.slice():t[l]=r};for(let r=0,i=arguments.length;r<i;r++)arguments[r]&&Lt(arguments[r],o);return t}const zc=(e,t,o,{allOwnKeys:r}={})=>(Lt(t,(i,l)=>{o&&xe(i)?e[l]=ti(i,o):e[l]=i},{allOwnKeys:r}),e),Dc=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),Uc=(e,t,o,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),o&&Object.assign(e.prototype,o)},Wc=(e,t,o,r)=>{let i,l,a;const s={};if(t=t||{},e==null)return t;do{for(i=Object.getOwnPropertyNames(e),l=i.length;l-- >0;)a=i[l],(!r||r(a,e,t))&&!s[a]&&(t[a]=e[a],s[a]=!0);e=o!==!1&&uo(e)}while(e&&(!o||o(e,t))&&e!==Object.prototype);return t},Kc=(e,t,o)=>{e=String(e),(o===void 0||o>e.length)&&(o=e.length),o-=t.length;const r=e.indexOf(t,o);return r!==-1&&r===o},Qc=e=>{if(!e)return null;if(mt(e))return e;let t=e.length;if(!oi(t))return null;const o=new Array(t);for(;t-- >0;)o[t]=e[t];return o},Zc=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&uo(Uint8Array)),Xc=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let i;for(;(i=r.next())&&!i.done;){const l=i.value;t.call(e,l[0],l[1])}},Yc=(e,t)=>{let o;const r=[];for(;(o=e.exec(t))!==null;)r.push(o);return r},Gc=Le("HTMLFormElement"),Jc=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(o,r,i){return r.toUpperCase()+i}),li=(({hasOwnProperty:e})=>(t,o)=>e.call(t,o))(Object.prototype),ed=Le("RegExp"),ai=(e,t)=>{const o=Object.getOwnPropertyDescriptors(e),r={};Lt(o,(i,l)=>{let a;(a=t(i,l,e))!==!1&&(r[l]=a||i)}),Object.defineProperties(e,r)},td=e=>{ai(e,(t,o)=>{if(xe(e)&&["arguments","caller","callee"].indexOf(o)!==-1)return!1;const r=e[o];if(xe(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+o+"'")})}})},nd=(e,t)=>{const o={},r=i=>{i.forEach(l=>{o[l]=!0})};return mt(e)?r(e):r(String(e).split(t)),o},od=()=>{},rd=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,fo="abcdefghijklmnopqrstuvwxyz",si="0123456789",ui={DIGIT:si,ALPHA:fo,ALPHA_DIGIT:fo+fo.toUpperCase()+si},id=(e=16,t=ui.ALPHA_DIGIT)=>{let o="";const{length:r}=t;for(;e--;)o+=t[Math.random()*r|0];return o};function ld(e){return!!(e&&xe(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const ad=e=>{const t=new Array(10),o=(r,i)=>{if(gn(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[i]=r;const l=mt(r)?[]:{};return Lt(r,(a,s)=>{const d=o(a,i+1);!$t(d)&&(l[s]=d)}),t[i]=void 0,l}}return r};return o(e,0)},sd=Le("AsyncFunction"),ud=e=>e&&(gn(e)||xe(e))&&xe(e.then)&&xe(e.catch),ci=((e,t)=>e?setImmediate:t?((o,r)=>(tt.addEventListener("message",({source:i,data:l})=>{i===tt&&l===o&&r.length&&r.shift()()},!1),i=>{r.push(i),tt.postMessage(o,"*")}))(`axios@${Math.random()}`,[]):o=>setTimeout(o))(typeof setImmediate=="function",xe(tt.postMessage)),cd=typeof queueMicrotask<"u"?queueMicrotask.bind(tt):typeof process<"u"&&process.nextTick||ci,C={isArray:mt,isArrayBuffer:ni,isBuffer:Ec,isFormData:Oc,isArrayBufferView:qc,isString:Tc,isNumber:oi,isBoolean:Mc,isObject:gn,isPlainObject:wn,isReadableStream:Ic,isRequest:jc,isResponse:Nc,isHeaders:Fc,isUndefined:$t,isDate:Vc,isFile:$c,isBlob:Lc,isRegExp:ed,isFunction:xe,isStream:Ac,isURLSearchParams:Pc,isTypedArray:Zc,isFileList:Rc,forEach:Lt,merge:co,extend:zc,trim:Hc,stripBOM:Dc,inherits:Uc,toFlatObject:Wc,kindOf:hn,kindOfTest:Le,endsWith:Kc,toArray:Qc,forEachEntry:Xc,matchAll:Yc,isHTMLForm:Gc,hasOwnProperty:li,hasOwnProp:li,reduceDescriptors:ai,freezeMethods:td,toObjectSet:nd,toCamelCase:Jc,noop:od,toFiniteNumber:rd,findKey:ri,global:tt,isContextDefined:ii,ALPHABET:ui,generateString:id,isSpecCompliantForm:ld,toJSONObject:ad,isAsyncFn:sd,isThenable:ud,setImmediate:ci,asap:cd};function Y(e,t,o,r,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),o&&(this.config=o),r&&(this.request=r),i&&(this.response=i,this.status=i.status?i.status:null)}C.inherits(Y,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:C.toJSONObject(this.config),code:this.code,status:this.status}}});const di=Y.prototype,fi={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{fi[e]={value:e}}),Object.defineProperties(Y,fi),Object.defineProperty(di,"isAxiosError",{value:!0}),Y.from=(e,t,o,r,i,l)=>{const a=Object.create(di);return C.toFlatObject(e,a,function(d){return d!==Error.prototype},s=>s!=="isAxiosError"),Y.call(a,e.message,t,o,r,i),a.cause=e,a.name=e.name,l&&Object.assign(a,l),a};const dd=null;function mo(e){return C.isPlainObject(e)||C.isArray(e)}function mi(e){return C.endsWith(e,"[]")?e.slice(0,-2):e}function hi(e,t,o){return e?e.concat(t).map(function(i,l){return i=mi(i),!o&&l?"["+i+"]":i}).join(o?".":""):t}function fd(e){return C.isArray(e)&&!e.some(mo)}const md=C.toFlatObject(C,{},null,function(t){return/^is[A-Z]/.test(t)});function vn(e,t,o){if(!C.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,o=C.toFlatObject(o,{metaTokens:!0,dots:!1,indexes:!1},!1,function(k,w){return!C.isUndefined(w[k])});const r=o.metaTokens,i=o.visitor||u,l=o.dots,a=o.indexes,d=(o.Blob||typeof Blob<"u"&&Blob)&&C.isSpecCompliantForm(t);if(!C.isFunction(i))throw new TypeError("visitor must be a function");function c(h){if(h===null)return"";if(C.isDate(h))return h.toISOString();if(!d&&C.isBlob(h))throw new Y("Blob is not supported. Use a Buffer instead.");return C.isArrayBuffer(h)||C.isTypedArray(h)?d&&typeof Blob=="function"?new Blob([h]):Buffer.from(h):h}function u(h,k,w){let S=h;if(h&&!w&&typeof h=="object"){if(C.endsWith(k,"{}"))k=r?k:k.slice(0,-2),h=JSON.stringify(h);else if(C.isArray(h)&&fd(h)||(C.isFileList(h)||C.endsWith(k,"[]"))&&(S=C.toArray(h)))return k=mi(k),S.forEach(function(T,M){!(C.isUndefined(T)||T===null)&&t.append(a===!0?hi([k],M,l):a===null?k:k+"[]",c(T))}),!1}return mo(h)?!0:(t.append(hi(w,k,l),c(h)),!1)}const f=[],g=Object.assign(md,{defaultVisitor:u,convertValue:c,isVisitable:mo});function p(h,k){if(!C.isUndefined(h)){if(f.indexOf(h)!==-1)throw Error("Circular reference detected in "+k.join("."));f.push(h),C.forEach(h,function(S,x){(!(C.isUndefined(S)||S===null)&&i.call(t,S,C.isString(x)?x.trim():x,k,g))===!0&&p(S,k?k.concat(x):[x])}),f.pop()}}if(!C.isObject(e))throw new TypeError("data must be an object");return p(e),t}function pi(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function ho(e,t){this._pairs=[],e&&vn(e,this,t)}const gi=ho.prototype;gi.append=function(t,o){this._pairs.push([t,o])},gi.toString=function(t){const o=t?function(r){return t.call(this,r,pi)}:pi;return this._pairs.map(function(i){return o(i[0])+"="+o(i[1])},"").join("&")};function hd(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function wi(e,t,o){if(!t)return e;const r=o&&o.encode||hd,i=o&&o.serialize;let l;if(i?l=i(t,o):l=C.isURLSearchParams(t)?t.toString():new ho(t,o).toString(r),l){const a=e.indexOf("#");a!==-1&&(e=e.slice(0,a)),e+=(e.indexOf("?")===-1?"?":"&")+l}return e}class vi{constructor(){this.handlers=[]}use(t,o,r){return this.handlers.push({fulfilled:t,rejected:o,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){C.forEach(this.handlers,function(r){r!==null&&t(r)})}}const ki={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},pd={isBrowser:!0,classes:{URLSearchParams:typeof URLSearchParams<"u"?URLSearchParams:ho,FormData:typeof FormData<"u"?FormData:null,Blob:typeof Blob<"u"?Blob:null},protocols:["http","https","file","blob","url","data"]},po=typeof window<"u"&&typeof document<"u",go=typeof navigator=="object"&&navigator||void 0,gd=po&&(!go||["ReactNative","NativeScript","NS"].indexOf(go.product)<0),wd=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",vd=po&&window.location.href||"http://localhost",be={...Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:po,hasStandardBrowserEnv:gd,hasStandardBrowserWebWorkerEnv:wd,navigator:go,origin:vd},Symbol.toStringTag,{value:"Module"})),...pd};function kd(e,t){return vn(e,new be.classes.URLSearchParams,Object.assign({visitor:function(o,r,i,l){return be.isNode&&C.isBuffer(o)?(this.append(r,o.toString("base64")),!1):l.defaultVisitor.apply(this,arguments)}},t))}function yd(e){return C.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function bd(e){const t={},o=Object.keys(e);let r;const i=o.length;let l;for(r=0;r<i;r++)l=o[r],t[l]=e[l];return t}function yi(e){function t(o,r,i,l){let a=o[l++];if(a==="__proto__")return!0;const s=Number.isFinite(+a),d=l>=o.length;return a=!a&&C.isArray(i)?i.length:a,d?(C.hasOwnProp(i,a)?i[a]=[i[a],r]:i[a]=r,!s):((!i[a]||!C.isObject(i[a]))&&(i[a]=[]),t(o,r,i[a],l)&&C.isArray(i[a])&&(i[a]=bd(i[a])),!s)}if(C.isFormData(e)&&C.isFunction(e.entries)){const o={};return C.forEachEntry(e,(r,i)=>{t(yd(r),i,o,0)}),o}return null}function Cd(e,t,o){if(C.isString(e))try{return(t||JSON.parse)(e),C.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(0,JSON.stringify)(e)}const Rt={transitional:ki,adapter:["xhr","http","fetch"],transformRequest:[function(t,o){const r=o.getContentType()||"",i=r.indexOf("application/json")>-1,l=C.isObject(t);if(l&&C.isHTMLForm(t)&&(t=new FormData(t)),C.isFormData(t))return i?JSON.stringify(yi(t)):t;if(C.isArrayBuffer(t)||C.isBuffer(t)||C.isStream(t)||C.isFile(t)||C.isBlob(t)||C.isReadableStream(t))return t;if(C.isArrayBufferView(t))return t.buffer;if(C.isURLSearchParams(t))return o.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let s;if(l){if(r.indexOf("application/x-www-form-urlencoded")>-1)return kd(t,this.formSerializer).toString();if((s=C.isFileList(t))||r.indexOf("multipart/form-data")>-1){const d=this.env&&this.env.FormData;return vn(s?{"files[]":t}:t,d&&new d,this.formSerializer)}}return l||i?(o.setContentType("application/json",!1),Cd(t)):t}],transformResponse:[function(t){const o=this.transitional||Rt.transitional,r=o&&o.forcedJSONParsing,i=this.responseType==="json";if(C.isResponse(t)||C.isReadableStream(t))return t;if(t&&C.isString(t)&&(r&&!this.responseType||i)){const a=!(o&&o.silentJSONParsing)&&i;try{return JSON.parse(t)}catch(s){if(a)throw s.name==="SyntaxError"?Y.from(s,Y.ERR_BAD_RESPONSE,this,null,this.response):s}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:be.classes.FormData,Blob:be.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};C.forEach(["delete","get","head","post","put","patch"],e=>{Rt.headers[e]={}});const _d=C.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Sd=e=>{const t={};let o,r,i;return e&&e.split(`
3
+ `).forEach(function(a){i=a.indexOf(":"),o=a.substring(0,i).trim().toLowerCase(),r=a.substring(i+1).trim(),!(!o||t[o]&&_d[o])&&(o==="set-cookie"?t[o]?t[o].push(r):t[o]=[r]:t[o]=t[o]?t[o]+", "+r:r)}),t},bi=Symbol("internals");function At(e){return e&&String(e).trim().toLowerCase()}function kn(e){return e===!1||e==null?e:C.isArray(e)?e.map(kn):String(e)}function xd(e){const t=Object.create(null),o=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=o.exec(e);)t[r[1]]=r[2];return t}const Bd=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function wo(e,t,o,r,i){if(C.isFunction(r))return r.call(this,t,o);if(i&&(t=o),!!C.isString(t)){if(C.isString(r))return t.indexOf(r)!==-1;if(C.isRegExp(r))return r.test(t)}}function Ed(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,o,r)=>o.toUpperCase()+r)}function qd(e,t){const o=C.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+o,{value:function(i,l,a){return this[r].call(this,t,i,l,a)},configurable:!0})})}class Ce{constructor(t){t&&this.set(t)}set(t,o,r){const i=this;function l(s,d,c){const u=At(d);if(!u)throw new Error("header name must be a non-empty string");const f=C.findKey(i,u);(!f||i[f]===void 0||c===!0||c===void 0&&i[f]!==!1)&&(i[f||d]=kn(s))}const a=(s,d)=>C.forEach(s,(c,u)=>l(c,u,d));if(C.isPlainObject(t)||t instanceof this.constructor)a(t,o);else if(C.isString(t)&&(t=t.trim())&&!Bd(t))a(Sd(t),o);else if(C.isHeaders(t))for(const[s,d]of t.entries())l(d,s,r);else t!=null&&l(o,t,r);return this}get(t,o){if(t=At(t),t){const r=C.findKey(this,t);if(r){const i=this[r];if(!o)return i;if(o===!0)return xd(i);if(C.isFunction(o))return o.call(this,i,r);if(C.isRegExp(o))return o.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,o){if(t=At(t),t){const r=C.findKey(this,t);return!!(r&&this[r]!==void 0&&(!o||wo(this,this[r],r,o)))}return!1}delete(t,o){const r=this;let i=!1;function l(a){if(a=At(a),a){const s=C.findKey(r,a);s&&(!o||wo(r,r[s],s,o))&&(delete r[s],i=!0)}}return C.isArray(t)?t.forEach(l):l(t),i}clear(t){const o=Object.keys(this);let r=o.length,i=!1;for(;r--;){const l=o[r];(!t||wo(this,this[l],l,t,!0))&&(delete this[l],i=!0)}return i}normalize(t){const o=this,r={};return C.forEach(this,(i,l)=>{const a=C.findKey(r,l);if(a){o[a]=kn(i),delete o[l];return}const s=t?Ed(l):String(l).trim();s!==l&&delete o[l],o[s]=kn(i),r[s]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const o=Object.create(null);return C.forEach(this,(r,i)=>{r!=null&&r!==!1&&(o[i]=t&&C.isArray(r)?r.join(", "):r)}),o}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,o])=>t+": "+o).join(`
4
+ `)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...o){const r=new this(t);return o.forEach(i=>r.set(i)),r}static accessor(t){const r=(this[bi]=this[bi]={accessors:{}}).accessors,i=this.prototype;function l(a){const s=At(a);r[s]||(qd(i,a),r[s]=!0)}return C.isArray(t)?t.forEach(l):l(t),this}}Ce.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),C.reduceDescriptors(Ce.prototype,({value:e},t)=>{let o=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[o]=r}}}),C.freezeMethods(Ce);function vo(e,t){const o=this||Rt,r=t||o,i=Ce.from(r.headers);let l=r.data;return C.forEach(e,function(s){l=s.call(o,l,i.normalize(),t?t.status:void 0)}),i.normalize(),l}function Ci(e){return!!(e&&e.__CANCEL__)}function ht(e,t,o){Y.call(this,e??"canceled",Y.ERR_CANCELED,t,o),this.name="CanceledError"}C.inherits(ht,Y,{__CANCEL__:!0});function _i(e,t,o){const r=o.config.validateStatus;!o.status||!r||r(o.status)?e(o):t(new Y("Request failed with status code "+o.status,[Y.ERR_BAD_REQUEST,Y.ERR_BAD_RESPONSE][Math.floor(o.status/100)-4],o.config,o.request,o))}function Td(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function Md(e,t){e=e||10;const o=new Array(e),r=new Array(e);let i=0,l=0,a;return t=t!==void 0?t:1e3,function(d){const c=Date.now(),u=r[l];a||(a=c),o[i]=d,r[i]=c;let f=l,g=0;for(;f!==i;)g+=o[f++],f=f%e;if(i=(i+1)%e,i===l&&(l=(l+1)%e),c-a<t)return;const p=u&&c-u;return p?Math.round(g*1e3/p):void 0}}function Vd(e,t){let o=0,r=1e3/t,i,l;const a=(c,u=Date.now())=>{o=u,i=null,l&&(clearTimeout(l),l=null),e.apply(null,c)};return[(...c)=>{const u=Date.now(),f=u-o;f>=r?a(c,u):(i=c,l||(l=setTimeout(()=>{l=null,a(i)},r-f)))},()=>i&&a(i)]}const yn=(e,t,o=3)=>{let r=0;const i=Md(50,250);return Vd(l=>{const a=l.loaded,s=l.lengthComputable?l.total:void 0,d=a-r,c=i(d),u=a<=s;r=a;const f={loaded:a,total:s,progress:s?a/s:void 0,bytes:d,rate:c||void 0,estimated:c&&s&&u?(s-a)/c:void 0,event:l,lengthComputable:s!=null,[t?"download":"upload"]:!0};e(f)},o)},Si=(e,t)=>{const o=e!=null;return[r=>t[0]({lengthComputable:o,total:e,loaded:r}),t[1]]},xi=e=>(...t)=>C.asap(()=>e(...t)),$d=be.hasStandardBrowserEnv?function(){const t=be.navigator&&/(msie|trident)/i.test(be.navigator.userAgent),o=document.createElement("a");let r;function i(l){let a=l;return t&&(o.setAttribute("href",a),a=o.href),o.setAttribute("href",a),{href:o.href,protocol:o.protocol?o.protocol.replace(/:$/,""):"",host:o.host,search:o.search?o.search.replace(/^\?/,""):"",hash:o.hash?o.hash.replace(/^#/,""):"",hostname:o.hostname,port:o.port,pathname:o.pathname.charAt(0)==="/"?o.pathname:"/"+o.pathname}}return r=i(window.location.href),function(a){const s=C.isString(a)?i(a):a;return s.protocol===r.protocol&&s.host===r.host}}():function(){return function(){return!0}}(),Ld=be.hasStandardBrowserEnv?{write(e,t,o,r,i,l){const a=[e+"="+encodeURIComponent(t)];C.isNumber(o)&&a.push("expires="+new Date(o).toGMTString()),C.isString(r)&&a.push("path="+r),C.isString(i)&&a.push("domain="+i),l===!0&&a.push("secure"),document.cookie=a.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function Rd(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Ad(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Bi(e,t){return e&&!Rd(t)?Ad(e,t):t}const Ei=e=>e instanceof Ce?{...e}:e;function nt(e,t){t=t||{};const o={};function r(c,u,f){return C.isPlainObject(c)&&C.isPlainObject(u)?C.merge.call({caseless:f},c,u):C.isPlainObject(u)?C.merge({},u):C.isArray(u)?u.slice():u}function i(c,u,f){if(C.isUndefined(u)){if(!C.isUndefined(c))return r(void 0,c,f)}else return r(c,u,f)}function l(c,u){if(!C.isUndefined(u))return r(void 0,u)}function a(c,u){if(C.isUndefined(u)){if(!C.isUndefined(c))return r(void 0,c)}else return r(void 0,u)}function s(c,u,f){if(f in t)return r(c,u);if(f in e)return r(void 0,c)}const d={url:l,method:l,data:l,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:s,headers:(c,u)=>i(Ei(c),Ei(u),!0)};return C.forEach(Object.keys(Object.assign({},e,t)),function(u){const f=d[u]||i,g=f(e[u],t[u],u);C.isUndefined(g)&&f!==s||(o[u]=g)}),o}const qi=e=>{const t=nt({},e);let{data:o,withXSRFToken:r,xsrfHeaderName:i,xsrfCookieName:l,headers:a,auth:s}=t;t.headers=a=Ce.from(a),t.url=wi(Bi(t.baseURL,t.url),e.params,e.paramsSerializer),s&&a.set("Authorization","Basic "+btoa((s.username||"")+":"+(s.password?unescape(encodeURIComponent(s.password)):"")));let d;if(C.isFormData(o)){if(be.hasStandardBrowserEnv||be.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if((d=a.getContentType())!==!1){const[c,...u]=d?d.split(";").map(f=>f.trim()).filter(Boolean):[];a.setContentType([c||"multipart/form-data",...u].join("; "))}}if(be.hasStandardBrowserEnv&&(r&&C.isFunction(r)&&(r=r(t)),r||r!==!1&&$d(t.url))){const c=i&&l&&Ld.read(l);c&&a.set(i,c)}return t},Od=typeof XMLHttpRequest<"u"&&function(e){return new Promise(function(o,r){const i=qi(e);let l=i.data;const a=Ce.from(i.headers).normalize();let{responseType:s,onUploadProgress:d,onDownloadProgress:c}=i,u,f,g,p,h;function k(){p&&p(),h&&h(),i.cancelToken&&i.cancelToken.unsubscribe(u),i.signal&&i.signal.removeEventListener("abort",u)}let w=new XMLHttpRequest;w.open(i.method.toUpperCase(),i.url,!0),w.timeout=i.timeout;function S(){if(!w)return;const T=Ce.from("getAllResponseHeaders"in w&&w.getAllResponseHeaders()),E={data:!s||s==="text"||s==="json"?w.responseText:w.response,status:w.status,statusText:w.statusText,headers:T,config:e,request:w};_i(function($){o($),k()},function($){r($),k()},E),w=null}"onloadend"in w?w.onloadend=S:w.onreadystatechange=function(){!w||w.readyState!==4||w.status===0&&!(w.responseURL&&w.responseURL.indexOf("file:")===0)||setTimeout(S)},w.onabort=function(){w&&(r(new Y("Request aborted",Y.ECONNABORTED,e,w)),w=null)},w.onerror=function(){r(new Y("Network Error",Y.ERR_NETWORK,e,w)),w=null},w.ontimeout=function(){let M=i.timeout?"timeout of "+i.timeout+"ms exceeded":"timeout exceeded";const E=i.transitional||ki;i.timeoutErrorMessage&&(M=i.timeoutErrorMessage),r(new Y(M,E.clarifyTimeoutError?Y.ETIMEDOUT:Y.ECONNABORTED,e,w)),w=null},l===void 0&&a.setContentType(null),"setRequestHeader"in w&&C.forEach(a.toJSON(),function(M,E){w.setRequestHeader(E,M)}),C.isUndefined(i.withCredentials)||(w.withCredentials=!!i.withCredentials),s&&s!=="json"&&(w.responseType=i.responseType),c&&([g,h]=yn(c,!0),w.addEventListener("progress",g)),d&&w.upload&&([f,p]=yn(d),w.upload.addEventListener("progress",f),w.upload.addEventListener("loadend",p)),(i.cancelToken||i.signal)&&(u=T=>{w&&(r(!T||T.type?new ht(null,e,w):T),w.abort(),w=null)},i.cancelToken&&i.cancelToken.subscribe(u),i.signal&&(i.signal.aborted?u():i.signal.addEventListener("abort",u)));const x=Td(i.url);if(x&&be.protocols.indexOf(x)===-1){r(new Y("Unsupported protocol "+x+":",Y.ERR_BAD_REQUEST,e));return}w.send(l||null)})},Pd=(e,t)=>{const{length:o}=e=e?e.filter(Boolean):[];if(t||o){let r=new AbortController,i;const l=function(c){if(!i){i=!0,s();const u=c instanceof Error?c:this.reason;r.abort(u instanceof Y?u:new ht(u instanceof Error?u.message:u))}};let a=t&&setTimeout(()=>{a=null,l(new Y(`timeout ${t} of ms exceeded`,Y.ETIMEDOUT))},t);const s=()=>{e&&(a&&clearTimeout(a),a=null,e.forEach(c=>{c.unsubscribe?c.unsubscribe(l):c.removeEventListener("abort",l)}),e=null)};e.forEach(c=>c.addEventListener("abort",l));const{signal:d}=r;return d.unsubscribe=()=>C.asap(s),d}},Id=function*(e,t){let o=e.byteLength;if(o<t){yield e;return}let r=0,i;for(;r<o;)i=r+t,yield e.slice(r,i),r=i},jd=async function*(e,t){for await(const o of Nd(e))yield*Id(o,t)},Nd=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:o,value:r}=await t.read();if(o)break;yield r}}finally{await t.cancel()}},Ti=(e,t,o,r)=>{const i=jd(e,t);let l=0,a,s=d=>{a||(a=!0,r&&r(d))};return new ReadableStream({async pull(d){try{const{done:c,value:u}=await i.next();if(c){s(),d.close();return}let f=u.byteLength;if(o){let g=l+=f;o(g)}d.enqueue(new Uint8Array(u))}catch(c){throw s(c),c}},cancel(d){return s(d),i.return()}},{highWaterMark:2})},bn=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",Mi=bn&&typeof ReadableStream=="function",Fd=bn&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),Vi=(e,...t)=>{try{return!!e(...t)}catch{return!1}},Hd=Mi&&Vi(()=>{let e=!1;const t=new Request(be.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),$i=64*1024,ko=Mi&&Vi(()=>C.isReadableStream(new Response("").body)),Cn={stream:ko&&(e=>e.body)};bn&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!Cn[t]&&(Cn[t]=C.isFunction(e[t])?o=>o[t]():(o,r)=>{throw new Y(`Response type '${t}' is not supported`,Y.ERR_NOT_SUPPORT,r)})})})(new Response);const zd=async e=>{if(e==null)return 0;if(C.isBlob(e))return e.size;if(C.isSpecCompliantForm(e))return(await new Request(be.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(C.isArrayBufferView(e)||C.isArrayBuffer(e))return e.byteLength;if(C.isURLSearchParams(e)&&(e=e+""),C.isString(e))return(await Fd(e)).byteLength},Dd=async(e,t)=>{const o=C.toFiniteNumber(e.getContentLength());return o??zd(t)},yo={http:dd,xhr:Od,fetch:bn&&(async e=>{let{url:t,method:o,data:r,signal:i,cancelToken:l,timeout:a,onDownloadProgress:s,onUploadProgress:d,responseType:c,headers:u,withCredentials:f="same-origin",fetchOptions:g}=qi(e);c=c?(c+"").toLowerCase():"text";let p=Pd([i,l&&l.toAbortSignal()],a),h;const k=p&&p.unsubscribe&&(()=>{p.unsubscribe()});let w;try{if(d&&Hd&&o!=="get"&&o!=="head"&&(w=await Dd(u,r))!==0){let E=new Request(t,{method:"POST",body:r,duplex:"half"}),V;if(C.isFormData(r)&&(V=E.headers.get("content-type"))&&u.setContentType(V),E.body){const[$,F]=Si(w,yn(xi(d)));r=Ti(E.body,$i,$,F)}}C.isString(f)||(f=f?"include":"omit");const S="credentials"in Request.prototype;h=new Request(t,{...g,signal:p,method:o.toUpperCase(),headers:u.normalize().toJSON(),body:r,duplex:"half",credentials:S?f:void 0});let x=await fetch(h);const T=ko&&(c==="stream"||c==="response");if(ko&&(s||T&&k)){const E={};["status","statusText","headers"].forEach(_=>{E[_]=x[_]});const V=C.toFiniteNumber(x.headers.get("content-length")),[$,F]=s&&Si(V,yn(xi(s),!0))||[];x=new Response(Ti(x.body,$i,$,()=>{F&&F(),k&&k()}),E)}c=c||"text";let M=await Cn[C.findKey(Cn,c)||"text"](x,e);return!T&&k&&k(),await new Promise((E,V)=>{_i(E,V,{data:M,headers:Ce.from(x.headers),status:x.status,statusText:x.statusText,config:e,request:h})})}catch(S){throw k&&k(),S&&S.name==="TypeError"&&/fetch/i.test(S.message)?Object.assign(new Y("Network Error",Y.ERR_NETWORK,e,h),{cause:S.cause||S}):Y.from(S,S&&S.code,e,h)}})};C.forEach(yo,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Li=e=>`- ${e}`,Ud=e=>C.isFunction(e)||e===null||e===!1,Ri={getAdapter:e=>{e=C.isArray(e)?e:[e];const{length:t}=e;let o,r;const i={};for(let l=0;l<t;l++){o=e[l];let a;if(r=o,!Ud(o)&&(r=yo[(a=String(o)).toLowerCase()],r===void 0))throw new Y(`Unknown adapter '${a}'`);if(r)break;i[a||"#"+l]=r}if(!r){const l=Object.entries(i).map(([s,d])=>`adapter ${s} `+(d===!1?"is not supported by the environment":"is not available in the build"));let a=t?l.length>1?`since :
5
+ `+l.map(Li).join(`
6
+ `):" "+Li(l[0]):"as no adapter specified";throw new Y("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return r},adapters:yo};function bo(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new ht(null,e)}function Ai(e){return bo(e),e.headers=Ce.from(e.headers),e.data=vo.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Ri.getAdapter(e.adapter||Rt.adapter)(e).then(function(r){return bo(e),r.data=vo.call(e,e.transformResponse,r),r.headers=Ce.from(r.headers),r},function(r){return Ci(r)||(bo(e),r&&r.response&&(r.response.data=vo.call(e,e.transformResponse,r.response),r.response.headers=Ce.from(r.response.headers))),Promise.reject(r)})}const Oi="1.7.7",Co={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Co[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const Pi={};Co.transitional=function(t,o,r){function i(l,a){return"[Axios v"+Oi+"] Transitional option '"+l+"'"+a+(r?". "+r:"")}return(l,a,s)=>{if(t===!1)throw new Y(i(a," has been removed"+(o?" in "+o:"")),Y.ERR_DEPRECATED);return o&&!Pi[a]&&(Pi[a]=!0,console.warn(i(a," has been deprecated since v"+o+" and will be removed in the near future"))),t?t(l,a,s):!0}};function Wd(e,t,o){if(typeof e!="object")throw new Y("options must be an object",Y.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let i=r.length;for(;i-- >0;){const l=r[i],a=t[l];if(a){const s=e[l],d=s===void 0||a(s,l,e);if(d!==!0)throw new Y("option "+l+" must be "+d,Y.ERR_BAD_OPTION_VALUE);continue}if(o!==!0)throw new Y("Unknown option "+l,Y.ERR_BAD_OPTION)}}const _o={assertOptions:Wd,validators:Co},ze=_o.validators;class ot{constructor(t){this.defaults=t,this.interceptors={request:new vi,response:new vi}}async request(t,o){try{return await this._request(t,o)}catch(r){if(r instanceof Error){let i;Error.captureStackTrace?Error.captureStackTrace(i={}):i=new Error;const l=i.stack?i.stack.replace(/^.+\n/,""):"";try{r.stack?l&&!String(r.stack).endsWith(l.replace(/^.+\n.+\n/,""))&&(r.stack+=`
7
+ `+l):r.stack=l}catch{}}throw r}}_request(t,o){typeof t=="string"?(o=o||{},o.url=t):o=t||{},o=nt(this.defaults,o);const{transitional:r,paramsSerializer:i,headers:l}=o;r!==void 0&&_o.assertOptions(r,{silentJSONParsing:ze.transitional(ze.boolean),forcedJSONParsing:ze.transitional(ze.boolean),clarifyTimeoutError:ze.transitional(ze.boolean)},!1),i!=null&&(C.isFunction(i)?o.paramsSerializer={serialize:i}:_o.assertOptions(i,{encode:ze.function,serialize:ze.function},!0)),o.method=(o.method||this.defaults.method||"get").toLowerCase();let a=l&&C.merge(l.common,l[o.method]);l&&C.forEach(["delete","get","head","post","put","patch","common"],h=>{delete l[h]}),o.headers=Ce.concat(a,l);const s=[];let d=!0;this.interceptors.request.forEach(function(k){typeof k.runWhen=="function"&&k.runWhen(o)===!1||(d=d&&k.synchronous,s.unshift(k.fulfilled,k.rejected))});const c=[];this.interceptors.response.forEach(function(k){c.push(k.fulfilled,k.rejected)});let u,f=0,g;if(!d){const h=[Ai.bind(this),void 0];for(h.unshift.apply(h,s),h.push.apply(h,c),g=h.length,u=Promise.resolve(o);f<g;)u=u.then(h[f++],h[f++]);return u}g=s.length;let p=o;for(f=0;f<g;){const h=s[f++],k=s[f++];try{p=h(p)}catch(w){k.call(this,w);break}}try{u=Ai.call(this,p)}catch(h){return Promise.reject(h)}for(f=0,g=c.length;f<g;)u=u.then(c[f++],c[f++]);return u}getUri(t){t=nt(this.defaults,t);const o=Bi(t.baseURL,t.url);return wi(o,t.params,t.paramsSerializer)}}C.forEach(["delete","get","head","options"],function(t){ot.prototype[t]=function(o,r){return this.request(nt(r||{},{method:t,url:o,data:(r||{}).data}))}}),C.forEach(["post","put","patch"],function(t){function o(r){return function(l,a,s){return this.request(nt(s||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:l,data:a}))}}ot.prototype[t]=o(),ot.prototype[t+"Form"]=o(!0)});class So{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let o;this.promise=new Promise(function(l){o=l});const r=this;this.promise.then(i=>{if(!r._listeners)return;let l=r._listeners.length;for(;l-- >0;)r._listeners[l](i);r._listeners=null}),this.promise.then=i=>{let l;const a=new Promise(s=>{r.subscribe(s),l=s}).then(i);return a.cancel=function(){r.unsubscribe(l)},a},t(function(l,a,s){r.reason||(r.reason=new ht(l,a,s),o(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const o=this._listeners.indexOf(t);o!==-1&&this._listeners.splice(o,1)}toAbortSignal(){const t=new AbortController,o=r=>{t.abort(r)};return this.subscribe(o),t.signal.unsubscribe=()=>this.unsubscribe(o),t.signal}static source(){let t;return{token:new So(function(i){t=i}),cancel:t}}}function Kd(e){return function(o){return e.apply(null,o)}}function Qd(e){return C.isObject(e)&&e.isAxiosError===!0}const xo={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(xo).forEach(([e,t])=>{xo[t]=e});function Ii(e){const t=new ot(e),o=ti(ot.prototype.request,t);return C.extend(o,ot.prototype,t,{allOwnKeys:!0}),C.extend(o,t,null,{allOwnKeys:!0}),o.create=function(i){return Ii(nt(e,i))},o}const de=Ii(Rt);de.Axios=ot,de.CanceledError=ht,de.CancelToken=So,de.isCancel=Ci,de.VERSION=Oi,de.toFormData=vn,de.AxiosError=Y,de.Cancel=de.CanceledError,de.all=function(t){return Promise.all(t)},de.spread=Kd,de.isAxiosError=Qd,de.mergeConfig=nt,de.AxiosHeaders=Ce,de.formToJSON=e=>yi(C.isHTMLForm(e)?new FormData(e):e),de.getAdapter=Ri.getAdapter,de.HttpStatusCode=xo,de.default=de;class Ot{constructor(){Gi(this,"axiosInstance");this.axiosInstance=de.create({baseURL:process.env.VUE_APP_BACKEND,headers:{"Content-Type":"application/json"}}),this.axiosInstance.interceptors.request.use(t=>{const o=this.getToken();return o&&t.headers&&(t.headers.Authorization=`Bearer ${o}`),t},t=>Promise.reject(t)),this.axiosInstance.interceptors.response.use(t=>t.data,t=>{var o,r;return(((o=t.response)==null?void 0:o.status)===401||((r=t.response)==null?void 0:r.status)===403)&&this.logout(),Promise.reject(t)})}getToken(){return localStorage.getItem("token")}removeToken(){localStorage.removeItem("token")}logout(){this.removeToken(),window.location.href="/sign-in"}handleError(t){t.response?console.error("API Error:",t.response.status,t.response.data):t.request?console.error("No response received:",t.request):console.error("Error during request setup:",t.message)}async get(t,o){try{const r=await this.axiosInstance.get(t,o);return(r==null?void 0:r.data)??r}catch(r){const i=r;throw this.handleError(i),r}}async delete(t,o){try{return await this.axiosInstance.delete(t,o)}catch(r){const i=r;throw this.handleError(i),r}}async post(t,o,r){try{return(await this.axiosInstance.post(t,o,r)).data}catch(i){const l=i;throw this.handleError(l),i}}async put(t,o,r){try{return(await this.axiosInstance.put(t,o,r)).data}catch(i){const l=i;throw this.handleError(l),i}}}class Zd extends Ot{async fetchCriticalPathTasks(t){return await this.get(`gantt/get_list_task_on_critical_path?${t}`)}async fetchGanttList(t){return await this.get(`/gantt/tasks?${t}`)}}let Bo;function Xd(){return Bo||(Bo=new Zd),Bo}class Yd extends Ot{async fetchPieProjects(t){return await this.get("repairs/pie/projects?"+t)}async fetchPieTasks(t){return await this.get("repairs/pie/tasks?"+t)}async fetchPiePersonnel(t){return await this.get("repairs/metrics/get_list_position?"+t)}async fetchPiePersonnelInfo(t){return await this.get(`repairs/metrics/get_list_user_by_position?${t}`)}async fetchPieWorkZone(t){return await this.get("repairs/metrics/get_list_work_zone_instrument?"+t)}async fetchPieCriticalPath(t){return await this.get("repairs/metrics/get_critical_path_group_by_status?"+t)}async fetchPieCriticalPathInfo(t){return await this.get(`repairs/metrics/get_list_task_critical_path_by_status?${t}`)}async fetchPieTmc(t){return await this.get("repairs/metrics/get_list_instrument_type?"+t)}async fetchPieTmcInfo(t){return await this.get(`repairs/metrics/get_list_warehouse_by_instrument_type?${t}`)}async fetchPieUntimelyClosedTask(t){return await this.get("repairs/metrics/get_list_comment_type?"+t)}async fetchPieUntimelyClosedTaskInfo(t){return await this.get(`repairs/metrics/get_list_task_by_comment_type?${t}`)}async fetchPieAdditionalTasks(t){return await this.get("repairs/metrics/get_list_task_after_plan_fixate_group_by_status?"+t)}async fetchPieAdditionalTasksInfo(t){return await this.get(`repairs/metrics/get_list_task_after_plan_fixate_by_status?${t}`)}async fetchPersonnel(t){return await this.get("repairs/statistic/personnel?"+t)}async fetchPieExpired(t){return await this.get("repairs/metrics/get_list_task_expired_group_by_status?"+t)}async fetchPieExpiredInfo(t){return await this.get(`repairs/metrics/get_list_task_expired?${t}`)}}let Eo;function Gd(){return Eo||(Eo=new Yd),Eo}class Jd extends Ot{async fetchProjectById(t){return await this.get(`/projects/${t}`)}}let qo;function ef(){return qo||(qo=new Jd),qo}class tf extends Ot{fetchFilters(t){return this.get(`repairs?smart=1&${t}`)}fetchRepairs(t,o,r,i,l){return this.get("repairs"+(t?`${o}&per_page=100000${l?"&"+l:""}&${r?"":i}`:`?per_page=100000${l?"&"+l:""}&${i}`))}fetchEquipment(){return this.get("repairs/equipment/list?per_page=100000")}createRepair(t){return this.post("/repairs/equipments",t)}startRepair(t){return this.post(`/repairs/${t}/start`,null)}finishRepair(t){return this.post(`/repairs/${t}/finish`,null)}finishPreparationProject(t){return this.post(`/repairs/${t}/finish_preparation`,null)}moveRepairToCurrent(t){return this.post("/repairs/transfer_repair_plan_to_current",{repairs:[t]})}moveArchiveToCurrent(t){return this.post("/repairs/transfer_repair_archive_to_current",{repairs_ids:[t]})}moveRepairToApr(t){return this.post("/repairs/transfer_repair_current_to_plan",{repairs:[t]})}moveRepairToArchive(t){return this.post("/repairs/transfer_repair_current_to_archive",{repairs_ids:[t]})}updateRepair(t,o){return this.put(`/repairs/${o}`,t)}deleteRepair(t){return this.delete(`/repairs/${t}`)}}let To;function nf(){return To||(To=new tf),To}class of extends Ot{async fetchTaskById(t){return await this.get(`/tasks/${t}`)}}let Mo;function rf(){return Mo||(Mo=new of),Mo}re.AppButton=Xl,re.AppInput=ga,re.AppInputSearch=pa,re.AppLayout=Ma,re.AppSelect=Qa,re.AppSidebar=xc,re.AppToggle=_a,re.AppWrapper=Ga,re.useGanttService=Xd,re.useMetricsService=Gd,re.useProjectsService=ef,re.useRepairsService=nf,re.useTasksService=rf,Object.defineProperty(re,Symbol.toStringTag,{value:"Module"})});