UNPKG

quasar

Version:

Build high-performance VueJS user interfaces (SPA, PWA, SSR, Mobile and Desktop) in record time

6 lines 495 kB
/*! * Quasar Framework v2.6.3 * (c) 2015-present Razvan Stoenescu * Released under the MIT License. */ (function(e,t){"object"===typeof exports&&"undefined"!==typeof module?module.exports=t(require("vue")):"function"===typeof define&&define.amd?define(["vue"],t):(e="undefined"!==typeof globalThis?globalThis:e||self,e.Quasar=t(e.Vue))})(this,function(e){"use strict";function t(e,t,o,n){Object.defineProperty(e,t,{get:o,set:n,enumerable:!0})}function o(e,o){for(const n in o)t(e,n,o[n])}const n=e.ref(!1);let a;function l(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[2]||o[4]||"0",versionNumber:o[4]||o[2]||"0",platform:t[0]||""}}function i(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 r="ontouchstart"in window||window.navigator.maxTouchPoints>0;function s(e){a={is:{...e}},delete e.mac,delete e.desktop;const t=Math.min(window.innerHeight,window.innerWidth)>414?"ipad":"iphone";Object.assign(e,{mobile:!0,ios:!0,platform:t,[t]:!0})}function u(e){const t=e.toLowerCase(),o=i(t),n=l(t,o),a={};n.browser&&(a[n.browser]=!0,a.version=n.version,a.versionNumber=parseInt(n.versionNumber,10)),n.platform&&(a[n.platform]=!0);const u=a.android||a.ios||a.bb||a.blackberry||a.ipad||a.iphone||a.ipod||a.kindle||a.playbook||a.silk||a["windows phone"];return!0===u||t.indexOf("mobile")>-1?(a.mobile=!0,a.edga||a.edgios?(a.edge=!0,n.browser="edge"):a.crios?(a.chrome=!0,n.browser="chrome"):a.fxios&&(a.firefox=!0,n.browser="firefox")):a.desktop=!0,(a.ipod||a.ipad||a.iphone)&&(a.ios=!0),a["windows phone"]&&(a.winphone=!0,delete a["windows phone"]),(a.chrome||a.opr||a.safari||a.vivaldi||!0===a.mobile&&!0!==a.ios&&!0!==u)&&(a.webkit=!0),a.edg&&(n.browser="edgechromium",a.edgeChromium=!0),(a.safari&&a.blackberry||a.bb)&&(n.browser="blackberry",a.blackberry=!0),a.safari&&a.playbook&&(n.browser="playbook",a.playbook=!0),a.opr&&(n.browser="opera",a.opera=!0),a.safari&&a.android&&(n.browser="android",a.android=!0),a.safari&&a.kindle&&(n.browser="kindle",a.kindle=!0),a.safari&&a.silk&&(n.browser="silk",a.silk=!0),a.vivaldi&&(n.browser="vivaldi",a.vivaldi=!0),a.name=n.browser,a.platform=n.platform,t.indexOf("electron")>-1?a.electron=!0:document.location.href.indexOf("-extension://")>-1?a.bex=!0:(void 0!==window.Capacitor?(a.capacitor=!0,a.nativeMobile=!0,a.nativeMobileWrapper="capacitor"):void 0===window._cordovaNative&&void 0===window.cordova||(a.cordova=!0,a.nativeMobile=!0,a.nativeMobileWrapper="cordova"),!0===r&&!0===a.mac&&(!0===a.desktop&&!0===a.safari||!0===a.nativeMobile&&!0!==a.android&&!0!==a.ios&&!0!==a.ipad)&&s(a)),a}const c=navigator.userAgent||navigator.vendor||window.opera,d={has:{touch:!1,webStorage:!1},within:{iframe:!1}},v={userAgent:c,is:u(c),has:{touch:r},within:{iframe:window.self!==window.top}},p={install(t){const{$q:o}=t;!0===n.value?(t.onSSRHydrated.push(()=>{n.value=!1,Object.assign(o.platform,v),a=void 0}),o.platform=e.reactive(this)):o.platform=this}};{let e;t(v.has,"webStorage",()=>{if(void 0!==e)return e;try{if(window.localStorage)return e=!0,!0}catch(e){}return e=!1,!1}),!0===v.is.ios&&window.navigator.vendor.toLowerCase().indexOf("apple"),!0===n.value?Object.assign(p,v,a,d):Object.assign(p,v)}var m=(o,n)=>{const a=e.reactive(o);for(const e in o)t(n,e,()=>a[e],t=>{a[e]=t});return n};const f={hasPassive:!1,passiveCapture:!0,notPassiveCapture:!0};try{const e=Object.defineProperty({},"passive",{get(){Object.assign(f,{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(e){}function h(){}function g(e){return 0===e.button}function b(e){return 1===e.button}function y(e){return 2===e.button}function w(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 x(e){if(e.path)return e.path;if(e.composedPath)return e.composedPath();const t=[];let o=e.target;while(o){if(t.push(o),"HTML"===o.tagName)return t.push(document),t.push(window),t;o=o.parentElement}}const _=40,S=800;function k(e){let t=e.deltaX,o=e.deltaY;if((t||o)&&e.deltaMode){const n=1===e.deltaMode?_:S;t*=n,o*=n}return e.shiftKey&&!t&&([o,t]=[t,o]),{x:t,y:o}}function C(e){e.stopPropagation()}function q(e){!1!==e.cancelable&&e.preventDefault()}function $(e){!1!==e.cancelable&&e.preventDefault(),e.stopPropagation()}function M(e,t){if(void 0===e||!0===t&&!0===e.__dragPrevented)return;const o=!0===t?e=>{e.__dragPrevented=!0,e.addEventListener("dragstart",q,f.notPassiveCapture)}:e=>{delete e.__dragPrevented,e.removeEventListener("dragstart",q,f.notPassiveCapture)};e.querySelectorAll("a, img").forEach(o)}function T(e,t,o){const n=`__q_${t}_evt`;e[n]=void 0!==e[n]?e[n].concat(o):o,o.forEach(t=>{t[0].addEventListener(t[1],e[t[2]],f[t[3]])})}function B(e,t){const o=`__q_${t}_evt`;void 0!==e[o]&&(e[o].forEach(t=>{t[0].removeEventListener(t[1],e[t[2]],f[t[3]])}),e[o]=void 0)}var L={listenOpts:f,leftClick:g,middleClick:b,rightClick:y,position:w,getEventPath:x,getMouseWheelDistance:k,stop:C,prevent:q,stopAndPrevent:$,preventDraggable:M};function z(e,t=250,o){let n;function a(){const a=arguments,l=()=>{n=void 0,!0!==o&&e.apply(this,a)};clearTimeout(n),!0===o&&void 0===n&&e.apply(this,a),n=setTimeout(l,t)}return a.cancel=(()=>{clearTimeout(n)}),a}const O=["sm","md","lg","xl"],{passive:V}=f;var E=m({width:0,height:0,name:"xs",sizes:{sm:600,md:1024,lg:1440,xl:1920},lt:{sm:!0,md:!0,lg:!0,xl:!0},gt:{xs:!1,sm:!1,md:!1,lg:!1},xs:!0,sm:!1,md:!1,lg:!1,xl:!1},{setSizes:h,setDebounce:h,install({$q:e,onSSRHydrated:t}){if(e.screen=this,!0===this.__installed)return void(void 0!==e.config.screen&&(!1===e.config.screen.bodyClasses?document.body.classList.remove(`screen--${this.name}`):this.__update(!0)));const{visualViewport:o}=window,a=o||window,l=document.scrollingElement||document.documentElement,i=void 0===o||!0===v.is.mobile?()=>[Math.max(window.innerWidth,l.clientWidth),Math.max(window.innerHeight,l.clientHeight)]:()=>[o.width*o.scale+window.innerWidth-l.clientWidth,o.height*o.scale+window.innerHeight-l.clientHeight],r=void 0!==e.config.screen&&!0===e.config.screen.bodyClasses;this.__update=(e=>{const[t,o]=i();if(o!==this.height&&(this.height=o),t!==this.width)this.width=t;else if(!0!==e)return;let n=this.sizes;this.gt.xs=t>=n.sm,this.gt.sm=t>=n.md,this.gt.md=t>=n.lg,this.gt.lg=t>=n.xl,this.lt.sm=t<n.sm,this.lt.md=t<n.md,this.lt.lg=t<n.lg,this.lt.xl=t<n.xl,this.xs=this.lt.sm,this.sm=!0===this.gt.xs&&!0===this.lt.md,this.md=!0===this.gt.sm&&!0===this.lt.lg,this.lg=!0===this.gt.md&&!0===this.lt.xl,this.xl=this.gt.lg,n=(!0===this.xs?"xs":!0===this.sm&&"sm")||!0===this.md&&"md"||!0===this.lg&&"lg"||"xl",n!==this.name&&(!0===r&&(document.body.classList.remove(`screen--${this.name}`),document.body.classList.add(`screen--${n}`)),this.name=n)});let s,u={},c=16;this.setSizes=(e=>{O.forEach(t=>{void 0!==e[t]&&(u[t]=e[t])})}),this.setDebounce=(e=>{c=e});const d=()=>{const e=getComputedStyle(document.body);e.getPropertyValue("--q-size-sm")&&O.forEach(t=>{this.sizes[t]=parseInt(e.getPropertyValue(`--q-size-${t}`),10)}),this.setSizes=(e=>{O.forEach(t=>{e[t]&&(this.sizes[t]=e[t])}),this.__update(!0)}),this.setDebounce=(e=>{void 0!==s&&a.removeEventListener("resize",s,V),s=e>0?z(this.__update,e):this.__update,a.addEventListener("resize",s,V)}),this.setDebounce(c),Object.keys(u).length>0?(this.setSizes(u),u=void 0):this.__update(),!0===r&&"xs"===this.name&&document.body.classList.add("screen--xs")};!0===n.value?t.push(d):d()}});const A=m({isActive:!1,mode:!1},{__media:void 0,set(e){A.mode=e,"auto"===e?(void 0===A.__media&&(A.__media=window.matchMedia("(prefers-color-scheme: dark)"),A.__updateMedia=(()=>{A.set("auto")}),A.__media.addListener(A.__updateMedia)),e=A.__media.matches):void 0!==A.__media&&(A.__media.removeListener(A.__updateMedia),A.__media=void 0),A.isActive=!0===e,document.body.classList.remove(`body--${!0===e?"light":"dark"}`),document.body.classList.add(`body--${!0===e?"dark":"light"}`)},toggle(){A.set(!1===A.isActive)},install({$q:e,onSSRHydrated:t,ssrContext:o}){const{dark:a}=e.config;if(e.dark=this,!0===this.__installed&&void 0===a)return;this.isActive=!0===a;const l=void 0!==a&&a;if(!0===n.value){const e=e=>{this.__fromSSR=e},o=this.set;this.set=e,e(l),t.push(()=>{this.set=o,this.set(this.__fromSSR)})}else this.set(l)}}),P=()=>!0;function R(e){return"string"===typeof e&&""!==e&&"/"!==e&&"#/"!==e}function I(e){return!0===e.startsWith("#")&&(e=e.substr(1)),!1===e.startsWith("/")&&(e="/"+e),!0===e.endsWith("/")&&(e=e.substr(0,e.length-1)),"#"+e}function F(e){if(!1===e.backButtonExit)return()=>!1;if("*"===e.backButtonExit)return P;const t=["#/"];return!0===Array.isArray(e.backButtonExit)&&t.push(...e.backButtonExit.filter(R).map(I)),()=>t.includes(window.location.hash)}var N={__history:[],add:h,remove:h,install({$q:e}){if(!0===this.__installed)return;const{cordova:t,capacitor:o}=v.is;if(!0!==t&&!0!==o)return;const n=e.config[!0===t?"cordova":"capacitor"];if(void 0!==n&&!1===n.backButton)return;if(!0===o&&(void 0===window.Capacitor||void 0===window.Capacitor.Plugins.App))return;this.add=(e=>{void 0===e.condition&&(e.condition=P),this.__history.push(e)}),this.remove=(e=>{const t=this.__history.indexOf(e);t>=0&&this.__history.splice(t,1)});const a=F(Object.assign({backButtonExit:!0},n)),l=()=>{if(this.__history.length){const e=this.__history[this.__history.length-1];!0===e.condition()&&(this.__history.pop(),e.handler())}else!0===a()?navigator.app.exitApp():window.history.back()};!0===t?document.addEventListener("deviceready",()=>{document.addEventListener("backbutton",l,!1)}):window.Capacitor.Plugins.App.addListener("backButton",l)}},j={isoName:"en-US",nativeName:"English (US)",label:{clear:"Clear",ok:"OK",cancel:"Cancel",close:"Close",set:"Set",select:"Select",reset:"Reset",remove:"Remove",update:"Update",create:"Create",search:"Search",filter:"Filter",refresh:"Refresh"},date:{days:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),daysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),firstDayOfWeek:0,format24h:!1,pluralDay:"days"},table:{noData:"No data available",noResults:"No matching records found",loading:"Loading...",selectedRecords:e=>1===e?"1 record selected.":(0===e?"No":e)+" records selected.",recordsPerPage:"Records per page:",allRows:"All",pagination:(e,t,o)=>e+"-"+t+" of "+o,columns:"Columns"},editor:{url:"URL",bold:"Bold",italic:"Italic",strikethrough:"Strikethrough",underline:"Underline",unorderedList:"Unordered List",orderedList:"Ordered List",subscript:"Subscript",superscript:"Superscript",hyperlink:"Hyperlink",toggleFullscreen:"Toggle Fullscreen",quote:"Quote",left:"Left align",center:"Center align",right:"Right align",justify:"Justify align",print:"Print",outdent:"Decrease indentation",indent:"Increase indentation",removeFormat:"Remove formatting",formatting:"Formatting",fontSize:"Font Size",align:"Align",hr:"Insert Horizontal Rule",undo:"Undo",redo:"Redo",heading1:"Heading 1",heading2:"Heading 2",heading3:"Heading 3",heading4:"Heading 4",heading5:"Heading 5",heading6:"Heading 6",paragraph:"Paragraph",code:"Code",size1:"Very small",size2:"A bit small",size3:"Normal",size4:"Medium-large",size5:"Big",size6:"Very big",size7:"Maximum",defaultFont:"Default Font",viewSource:"View Source"},tree:{noNodes:"No nodes available",noResults:"No matching nodes found"}};function D(){const e=!0===Array.isArray(navigator.languages)&&navigator.languages.length>0?navigator.languages[0]:navigator.language;if("string"===typeof e)return e.split(/[-_]/).map((e,t)=>0===t?e.toLowerCase():t>1||e.length<4?e.toUpperCase():e[0].toUpperCase()+e.slice(1).toLowerCase()).join("-")}const H=m({__langPack:{}},{getLocale:D,set(e=j,t){const o={...e,rtl:!0===e.rtl,getLocale:D};{const e=document.documentElement;e.setAttribute("dir",!0===o.rtl?"rtl":"ltr"),e.setAttribute("lang",o.isoName),o.set=H.set,Object.assign(H.__langPack,o),H.props=o,H.isoName=o.isoName,H.nativeName=o.nativeName}},install({$q:e,lang:t,ssrContext:o}){e.lang=H.__langPack,!0===this.__installed?void 0!==t&&this.set(t):this.set(t||j)}});function Q(e,t,o=document.body){if("string"!==typeof e)throw new TypeError("Expected a string as propName");if("string"!==typeof t)throw new TypeError("Expected a string as value");if(!(o instanceof Element))throw new TypeError("Expected a DOM element");o.style.setProperty(`--q-${e}`,t)}let U=!1;function W(e){U=!0===e.isComposing}function Y(e){return!0===U||e!==Object(e)||!0===e.isComposing||!0===e.qKeyEvent}function K(e,t){return!0!==Y(e)&&[].concat(t).includes(e.keyCode)}function X(e){return!0===e.ios?"ios":!0===e.android?"android":void 0}function Z({is:e,has:t,within:o},n){const a=[!0===e.desktop?"desktop":"mobile",`${!1===t.touch?"no-":""}touch`];if(!0===e.mobile){const t=X(e);void 0!==t&&a.push("platform-"+t)}if(!0===e.nativeMobile){const t=e.nativeMobileWrapper;a.push(t),a.push("native-mobile"),!0!==e.ios||void 0!==n[t]&&!1===n[t].iosStatusBarPadding||a.push("q-ios-padding")}else!0===e.electron?a.push("electron"):!0===e.bex&&a.push("bex");return!0===o.iframe&&a.push("within-iframe"),a}function G(){const e=document.body.className;let t=e;void 0!==a&&(t=t.replace("desktop","platform-ios mobile")),!0===v.has.touch&&(t=t.replace("no-touch","touch")),!0===v.within.iframe&&(t+=" within-iframe"),e!==t&&(document.body.className=t)}function J(e){for(const t in e)Q(t,e[t])}var ee={install(e){if(!0!==this.__installed){if(!0===n.value)G();else{const{$q:t}=e;void 0!==t.config.brand&&J(t.config.brand);const o=Z(v,t.config);document.body.classList.add.apply(document.body.classList,o)}!0===v.is.ios&&document.body.addEventListener("touchstart",h),window.addEventListener("keydown",W,!0)}}},te={name:"material-icons",type:{positive:"check_circle",negative:"warning",info:"info",warning:"priority_high"},arrow:{up:"arrow_upward",right:"arrow_forward",down:"arrow_downward",left:"arrow_back",dropdown:"arrow_drop_down"},chevron:{left:"chevron_left",right:"chevron_right"},colorPicker:{spectrum:"gradient",tune:"tune",palette:"style"},pullToRefresh:{icon:"refresh"},carousel:{left:"chevron_left",right:"chevron_right",up:"keyboard_arrow_up",down:"keyboard_arrow_down",navigationIcon:"lens"},chip:{remove:"cancel",selected:"check"},datetime:{arrowLeft:"chevron_left",arrowRight:"chevron_right",now:"access_time",today:"today"},editor:{bold:"format_bold",italic:"format_italic",strikethrough:"strikethrough_s",underline:"format_underlined",unorderedList:"format_list_bulleted",orderedList:"format_list_numbered",subscript:"vertical_align_bottom",superscript:"vertical_align_top",hyperlink:"link",toggleFullscreen:"fullscreen",quote:"format_quote",left:"format_align_left",center:"format_align_center",right:"format_align_right",justify:"format_align_justify",print:"print",outdent:"format_indent_decrease",indent:"format_indent_increase",removeFormat:"format_clear",formatting:"text_format",fontSize:"format_size",align:"format_align_left",hr:"remove",undo:"undo",redo:"redo",heading:"format_size",code:"code",size:"format_size",font:"font_download",viewSource:"code"},expansionItem:{icon:"keyboard_arrow_down",denseIcon:"arrow_drop_down"},fab:{icon:"add",activeIcon:"close"},field:{clear:"cancel",error:"error"},pagination:{first:"first_page",prev:"keyboard_arrow_left",next:"keyboard_arrow_right",last:"last_page"},rating:{icon:"grade"},stepper:{done:"check",active:"edit",error:"warning"},tabs:{left:"chevron_left",right:"chevron_right",up:"keyboard_arrow_up",down:"keyboard_arrow_down"},table:{arrowUp:"arrow_upward",warning:"warning",firstPage:"first_page",prevPage:"chevron_left",nextPage:"chevron_right",lastPage:"last_page"},tree:{icon:"play_arrow"},uploader:{done:"done",clear:"clear",add:"add_box",upload:"cloud_upload",removeQueue:"clear_all",removeUploaded:"done_all"}};const oe=m({iconMapFn:null,__icons:{}},{set(e,t){const o={...e,rtl:!0===e.rtl};o.set=oe.set,Object.assign(oe.__icons,o)},install({$q:e,iconSet:o,ssrContext:n}){void 0!==e.config.iconMapFn&&(this.iconMapFn=e.config.iconMapFn),e.iconSet=this.__icons,t(e,"iconMapFn",()=>this.iconMapFn,e=>{this.iconMapFn=e}),!0===this.__installed?void 0!==o&&this.set(o):this.set(o||te)}}),ne="_q_",ae="_q_t_",le="_q_s_",ie="_q_l_",re="_q_pc_",se="_q_f_",ue="_q_fo_",ce="_q_tabs_",de="_q_u_",ve={};let pe=!1;function me(){pe=!0}const fe="function"===typeof Map,he="function"===typeof Set,ge="function"===typeof ArrayBuffer;function be(e,t){if(e===t)return!0;if(null!==e&&null!==t&&"object"===typeof e&&"object"===typeof t){if(e.constructor!==t.constructor)return!1;let o,n;if(e.constructor===Array){if(o=e.length,o!==t.length)return!1;for(n=o;0!==n--;)if(!0!==be(e[n],t[n]))return!1;return!0}if(!0===fe&&e.constructor===Map){if(e.size!==t.size)return!1;n=e.entries().next();while(!0!==n.done){if(!0!==t.has(n.value[0]))return!1;n=n.next()}n=e.entries().next();while(!0!==n.done){if(!0!==be(n.value[1],t.get(n.value[0])))return!1;n=n.next()}return!0}if(!0===he&&e.constructor===Set){if(e.size!==t.size)return!1;n=e.entries().next();while(!0!==n.done){if(!0!==t.has(n.value[0]))return!1;n=n.next()}return!0}if(!0===ge&&null!=e.buffer&&e.buffer.constructor===ArrayBuffer){if(o=e.length,o!==t.length)return!1;for(n=o;0!==n--;)if(e[n]!==t[n])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 a=Object.keys(e).filter(t=>void 0!==e[t]);if(o=a.length,o!==Object.keys(t).filter(e=>void 0!==t[e]).length)return!1;for(n=o;0!==n--;){const o=a[n];if(!0!==be(e[o],t[o]))return!1}return!0}return e!==e&&t!==t}function ye(e){return null!==e&&"object"===typeof e&&!0!==Array.isArray(e)}function we(e){return"[object Date]"===Object.prototype.toString.call(e)}function xe(e){return"[object RegExp]"===Object.prototype.toString.call(e)}function _e(e){return"number"===typeof e&&isFinite(e)}const Se=[p,ee,A,E,N,H,oe];function ke(t,o){const n=e.createApp(t);n.config.globalProperties=o.config.globalProperties;const{reload:a,...l}=o._context;return Object.assign(n._context,l),n}function Ce(e,t){t.forEach(t=>{t.install(e),t.__installed=!0})}function qe(e,t,o){e.config.globalProperties.$q=o.$q,e.provide(ne,o.$q),Ce(o,Se),void 0!==t.components&&Object.values(t.components).forEach(t=>{!0===ye(t)&&void 0!==t.name&&e.component(t.name,t)}),void 0!==t.directives&&Object.values(t.directives).forEach(t=>{!0===ye(t)&&void 0!==t.name&&e.directive(t.name,t)}),void 0!==t.plugins&&Ce(o,Object.values(t.plugins).filter(e=>"function"===typeof e.install&&!1===Se.includes(e))),!0===n.value&&(o.$q.onSSRHydrated=(()=>{o.onSSRHydrated.forEach(e=>{e()}),o.$q.onSSRHydrated=(()=>{})}))}var $e=function(e,t={}){const o={version:"2.6.3"};!1===pe?(void 0!==t.config&&Object.assign(ve,t.config),o.config={...ve},me()):o.config=t.config||{},qe(e,t,{parentApp:e,$q:o,lang:t.lang,iconSet:t.iconSet,onSSRHydrated:[]})};const Me=t=>e.markRaw(e.defineComponent(t)),Te=t=>e.markRaw(t),Be=["B","KB","MB","GB","TB","PB"];function Le(e){let t=0;while(parseInt(e,10)>=1024&&t<Be.length-1)e/=1024,++t;return`${e.toFixed(1)}${Be[t]}`}function ze(e){return e.charAt(0).toUpperCase()+e.slice(1)}function Oe(e,t,o){return o<=t?t:Math.min(o,Math.max(t,e))}function Ve(e,t,o){if(o<=t)return t;const n=o-t+1;let a=t+(e-t)%n;return a<t&&(a=n+a),0===a?0:a}function Ee(e,t=2,o="0"){if(void 0===e||null===e)return e;const n=""+e;return n.length>=t?n:new Array(t-n.length+1).join(o)+n}var Ae={humanStorageSize:Le,capitalize:ze,between:Oe,normalizeToInterval:Ve,pad:Ee};const Pe=XMLHttpRequest,Re=Pe.prototype.open,Ie=["top","right","bottom","left"];let Fe=[],Ne=0;function je({p:e,pos:t,active:o,horiz:n,reverse:a,dir:l}){let i=1,r=1;return!0===n?(!0===a&&(i=-1),"bottom"===t&&(r=-1),{transform:`translate3d(${i*(e-100)}%,${o?0:-200*r}%,0)`}):(!0===a&&(r=-1),"right"===t&&(i=-1),{transform:`translate3d(${o?0:l*i*-200}%,${r*(e-100)}%,0)`})}function De(e,t){return"number"!==typeof t&&(t=e<25?3*Math.random()+3:e<65?3*Math.random():e<85?2*Math.random():e<99?.6:0),Oe(e+t,0,100)}function He(e){Ne++,Fe.push(e),Ne>1||(Pe.prototype.open=function(e,t){const o=[],n=()=>{Fe.forEach(e=>{null!==e.hijackFilter.value&&!0!==e.hijackFilter.value(t)||(e.start(),o.push(e.stop))})},a=()=>{o.forEach(e=>{e()})};this.addEventListener("loadstart",n,{once:!0}),this.addEventListener("loadend",a,{once:!0}),Re.apply(this,arguments)})}function Qe(e){Fe=Fe.filter(t=>t.start!==e),Ne=Math.max(0,Ne-1),0===Ne&&(Pe.prototype.open=Re)}var Ue=Me({name:"QAjaxBar",props:{position:{type:String,default:"top",validator:e=>Ie.includes(e)},size:{type:String,default:"2px"},color:String,skipHijack:Boolean,reverse:Boolean,hijackFilter:Function},emits:["start","stop"],setup(t,{emit:o}){const{proxy:n}=e.getCurrentInstance(),a=e.ref(0),l=e.ref(!1),i=e.ref(!0);let r,s,u=0;const c=e.computed(()=>`q-loading-bar q-loading-bar--${t.position}`+(void 0!==t.color?` bg-${t.color}`:"")+(!0===i.value?"":" no-transition")),d=e.computed(()=>"top"===t.position||"bottom"===t.position),v=e.computed(()=>!0===d.value?"height":"width"),p=e.computed(()=>{const e=l.value,o=je({p:a.value,pos:t.position,active:e,horiz:d.value,reverse:!0===n.$q.lang.rtl&&["top","bottom"].includes(t.position)?!1===t.reverse:t.reverse,dir:!0===n.$q.lang.rtl?-1:1});return o[v.value]=t.size,o.opacity=e?1:0,o}),m=e.computed(()=>!0===l.value?{role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":a.value}:{"aria-hidden":"true"});function f(e=300){const t=s;return s=Math.max(0,e)||0,u++,u>1?(0===t&&e>0?b():t>0&&e<=0&&clearTimeout(r),u):(clearTimeout(r),o("start"),a.value=0,r=setTimeout(()=>{i.value=!0,e>0&&b()},!0===l.value?500:1),!0!==l.value&&(l.value=!0,i.value=!1),u)}function h(e){return u>0&&(a.value=De(a.value,e)),u}function g(){if(u=Math.max(0,u-1),u>0)return u;clearTimeout(r),o("stop");const e=()=>{i.value=!0,a.value=100,r=setTimeout(()=>{l.value=!1},1e3)};return 0===a.value?r=setTimeout(e,1):e(),u}function b(){a.value<100&&(r=setTimeout(()=>{h(),b()},s))}let y;return e.onMounted(()=>{!0!==t.skipHijack&&(y=!0,He({start:f,stop:g,hijackFilter:e.computed(()=>t.hijackFilter||null)}))}),e.onBeforeUnmount(()=>{clearTimeout(r),!0===y&&Qe(f)}),Object.assign(n,{start:f,stop:g,increment:h}),()=>e.h("div",{class:c.value,style:p.value,...m.value})}});const We={xs:18,sm:24,md:32,lg:38,xl:46},Ye={size:String};function Ke(t,o=We){return e.computed(()=>void 0!==t.size?{fontSize:t.size in o?`${o[t.size]}px`:t.size}:null)}function Xe(e,t){return void 0!==e&&e()||t}function Ze(e,t){if(void 0!==e){const t=e();if(void 0!==t&&null!==t)return t.slice()}return t}function Ge(e,t){return void 0!==e?t.concat(e()):t}function Je(e,t){return void 0===e?t:void 0!==t?t.concat(e()):e()}function et(t,o,n,a,l,i){o.key=a+l;const r=e.h(t,o,n);return!0===l?e.withDirectives(r,i()):r}const tt="0 0 24 24",ot=e=>e,nt=e=>`ionicons ${e}`,at={"mdi-":e=>`mdi ${e}`,"icon-":ot,"bt-":e=>`bt ${e}`,"eva-":e=>`eva ${e}`,"ion-md":nt,"ion-ios":nt,"ion-logo":nt,"iconfont ":ot,"ti-":e=>`themify-icon ${e}`,"bi-":e=>`bootstrap-icons ${e}`},lt={o_:"-outlined",r_:"-round",s_:"-sharp"},it=new RegExp("^("+Object.keys(at).join("|")+")"),rt=new RegExp("^("+Object.keys(lt).join("|")+")"),st=/^[Mm]\s?[-+]?\.?\d/,ut=/^img:/,ct=/^svguse:/,dt=/^ion-/,vt=/^(fa-(solid|regular|light|brands|duotone|thin)|[lf]a[srlbdk]?) /;var pt=Me({name:"QIcon",props:{...Ye,tag:{type:String,default:"i"},name:String,color:String,left:Boolean,right:Boolean},setup(t,{slots:o}){const{proxy:{$q:n}}=e.getCurrentInstance(),a=Ke(t),l=e.computed(()=>"q-icon"+(!0===t.left?" on-left":"")+(!0===t.right?" on-right":"")+(void 0!==t.color?` text-${t.color}`:"")),i=e.computed(()=>{let o,a=t.name;if("none"===a||!a)return{none:!0};if(null!==n.iconMapFn){const e=n.iconMapFn(a);if(void 0!==e){if(void 0===e.icon)return{cls:e.cls,content:void 0!==e.content?e.content:" "};if(a=e.icon,"none"===a||!a)return{none:!0}}}if(!0===st.test(a)){const[t,o=tt]=a.split("|");return{svg:!0,viewBox:o,nodes:t.split("&&").map(t=>{const[o,n,a]=t.split("@@");return e.h("path",{style:n,d:o,transform:a})})}}if(!0===ut.test(a))return{img:!0,src:a.substring(4)};if(!0===ct.test(a)){const[e,t=tt]=a.split("|");return{svguse:!0,src:e.substring(7),viewBox:t}}let l=" ";const i=a.match(it);if(null!==i)o=at[i[1]](a);else if(!0===vt.test(a))o=a;else if(!0===dt.test(a))o=`ionicons ion-${!0===n.platform.is.ios?"ios":"md"}${a.substr(3)}`;else{o="notranslate material-icons";const e=a.match(rt);null!==e&&(a=a.substring(2),o+=lt[e[1]]),l=a}return{cls:o,content:l}});return()=>{const n={class:l.value,style:a.value,"aria-hidden":"true",role:"presentation"};return!0===i.value.none?e.h(t.tag,n,Xe(o.default)):!0===i.value.img?e.h("span",n,Ge(o.default,[e.h("img",{src:i.value.src})])):!0===i.value.svg?e.h("span",n,Ge(o.default,[e.h("svg",{viewBox:i.value.viewBox},i.value.nodes)])):!0===i.value.svguse?e.h("span",n,Ge(o.default,[e.h("svg",{viewBox:i.value.viewBox},[e.h("use",{"xlink:href":i.value.src})])])):(void 0!==i.value.cls&&(n.class+=" "+i.value.cls),e.h(t.tag,n,Ge(o.default,[i.value.content])))}}}),mt=Me({name:"QAvatar",props:{...Ye,fontSize:String,color:String,textColor:String,icon:String,square:Boolean,rounded:Boolean},setup(t,{slots:o}){const n=Ke(t),a=e.computed(()=>"q-avatar"+(t.color?` bg-${t.color}`:"")+(t.textColor?` text-${t.textColor} q-chip--colored`:"")+(!0===t.square?" q-avatar--square":!0===t.rounded?" rounded-borders":"")),l=e.computed(()=>t.fontSize?{fontSize:t.fontSize}:null);return()=>{const i=void 0!==t.icon?[e.h(pt,{name:t.icon})]:void 0;return e.h("div",{class:a.value,style:n.value},[e.h("div",{class:"q-avatar__content row flex-center overflow-hidden",style:l.value},Je(o.default,i))])}}});const ft=["top","middle","bottom"];var ht=Me({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=>ft.includes(e)}},setup(t,{slots:o}){const n=e.computed(()=>{return void 0!==t.align?{verticalAlign:t.align}:null}),a=e.computed(()=>{const e=!0===t.outline&&t.color||t.textColor;return"q-badge flex inline items-center no-wrap"+` q-badge--${!0===t.multiLine?"multi":"single"}-line`+(!0===t.outline?" q-badge--outline":void 0!==t.color?` bg-${t.color}`:"")+(void 0!==e?` text-${e}`:"")+(!0===t.floating?" q-badge--floating":"")+(!0===t.rounded?" q-badge--rounded":"")+(!0===t.transparent?" q-badge--transparent":"")});return()=>e.h("div",{class:a.value,style:n.value,role:"alert","aria-label":t.label},void 0!==t.label?t.label:Xe(o.default))}});const gt={dark:{type:Boolean,default:null}};function bt(t,o){return e.computed(()=>null===t.dark?o.dark.isActive:t.dark)}var yt=Me({name:"QBanner",props:{...gt,inlineActions:Boolean,dense:Boolean,rounded:Boolean},setup(t,{slots:o}){const n=e.getCurrentInstance(),a=bt(t,n.proxy.$q),l=e.computed(()=>"q-banner row items-center"+(!0===t.dense?" q-banner--dense":"")+(!0===a.value?" q-banner--dark q-dark":"")+(!0===t.rounded?" rounded-borders":"")),i=e.computed(()=>"q-banner__actions row items-center justify-end"+` col-${!0===t.inlineActions?"auto":"all"}`);return()=>{const n=[e.h("div",{class:"q-banner__avatar col-auto row items-center self-start"},Xe(o.avatar)),e.h("div",{class:"q-banner__content col text-body2"},Xe(o.default))],a=Xe(o.action);return void 0!==a&&n.push(e.h("div",{class:i.value},a)),e.h("div",{class:l.value+(!1===t.inlineActions&&void 0!==a?" q-banner--top-padding":""),role:"alert"},n)}}}),wt=Me({name:"QBar",props:{...gt,dense:Boolean},setup(t,{slots:o}){const n=e.getCurrentInstance(),a=bt(t,n.proxy.$q),l=e.computed(()=>"q-bar row no-wrap items-center"+` q-bar--${!0===t.dense?"dense":"standard"} `+` q-bar--${!0===a.value?"dark":"light"}`);return()=>e.h("div",{class:l.value,role:"toolbar"},Xe(o.default))}});const xt={left:"start",center:"center",right:"end",between:"between",around:"around",evenly:"evenly",stretch:"stretch"},_t=Object.keys(xt),St={align:{type:String,validator:e=>_t.includes(e)}};function kt(t){return e.computed(()=>{const e=void 0===t.align?!0===t.vertical?"stretch":"left":t.align;return`${!0===t.vertical?"items":"justify"}-${xt[e]}`})}function Ct(e){if(Object(e.$parent)===e.$parent)return e.$parent;e=e.$.parent;while(Object(e)===e){if(Object(e.proxy)===e.proxy)return e.proxy;e=e.parent}}function qt(e,t){"symbol"===typeof t.type?!0===Array.isArray(t.children)&&t.children.forEach(t=>{qt(e,t)}):e.add(t)}function $t(e){const t=new Set;return e.forEach(e=>{qt(t,e)}),Array.from(t)}function Mt(e){return void 0!==e.appContext.config.globalProperties.$router}const Tt=[void 0,!0];var Bt=Me({name:"QBreadcrumbs",props:{...St,separator:{type:String,default:"/"},separatorColor:String,activeColor:{type:String,default:"primary"},gutter:{type:String,validator:e=>["none","xs","sm","md","lg","xl"].includes(e),default:"sm"}},setup(t,{slots:o}){const n=kt(t),a=e.computed(()=>`flex items-center ${n.value}${"none"===t.gutter?"":` q-gutter-${t.gutter}`}`),l=e.computed(()=>t.separatorColor?` text-${t.separatorColor}`:""),i=e.computed(()=>` text-${t.activeColor}`);return()=>{const n=$t(Xe(o.default));if(0===n.length)return;let r=1;const s=[],u=n.filter(e=>void 0!==e.type&&"QBreadcrumbsEl"===e.type.name).length,c=void 0!==o.separator?o.separator:()=>t.separator;return n.forEach(t=>{if(void 0!==t.type&&"QBreadcrumbsEl"===t.type.name){const o=r<u,n=null!==t.props&&Tt.includes(t.props.disable),a=(!0===o?"":" q-breadcrumbs--last")+(!0!==n&&!0===o?i.value:"");r++,s.push(e.h("div",{class:`flex items-center${a}`},[t])),!0===o&&s.push(e.h("div",{class:"q-breadcrumbs__separator"+l.value},c()))}else s.push(t)}),e.h("div",{class:"q-breadcrumbs"},[e.h("div",{class:a.value},s)])}}});function Lt(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}function zt(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Ot(e,t){for(const o in t){const n=t[o],a=e[o];if("string"===typeof n){if(n!==a)return!1}else if(!1===Array.isArray(a)||a.length!==n.length||n.some((e,t)=>e!==a[t]))return!1}return!0}function Vt(e,t){return!0===Array.isArray(t)?e.length===t.length&&e.every((e,o)=>e===t[o]):1===e.length&&e[0]===t}function Et(e,t){return!0===Array.isArray(e)?Vt(e,t):!0===Array.isArray(t)?Vt(t,e):e===t}function At(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const o in e)if(!1===Et(e[o],t[o]))return!1;return!0}const Pt={to:[String,Object],replace:Boolean,exact:Boolean,activeClass:{type:String,default:"q-router-link--active"},exactActiveClass:{type:String,default:"q-router-link--exact-active"},href:String,target:String,disable:Boolean};function Rt(t){const o=e.getCurrentInstance(),{props:n,proxy:a}=o,l=Mt(o),i=e.computed(()=>!0!==n.disable&&void 0!==n.href),r=e.computed(()=>!0===l&&!0!==n.disable&&!0!==i.value&&void 0!==n.to&&null!==n.to&&""!==n.to),s=e.computed(()=>{if(!0===r.value)try{return a.$router.resolve(n.to)}catch(e){}return null}),u=e.computed(()=>null!==s.value),c=e.computed(()=>!0===i.value||!0===u.value),d=e.computed(()=>"a"===n.type||!0===c.value?"a":n.tag||t||"div"),v=e.computed(()=>!0===i.value?{href:n.href,target:n.target}:!0===u.value?{href:s.value.href,target:n.target}:{}),p=e.computed(()=>{if(!1===u.value)return null;const{matched:e}=s.value,{length:t}=e,o=e[t-1];if(void 0===o)return-1;const n=a.$route.matched;if(0===n.length)return-1;const l=n.findIndex(zt.bind(null,o));if(l>-1)return l;const i=Lt(e[t-2]);return t>1&&Lt(o)===i&&n[n.length-1].path!==i?n.findIndex(zt.bind(null,e[t-2])):l}),m=e.computed(()=>!0===u.value&&p.value>-1&&Ot(a.$route.params,s.value.params)),f=e.computed(()=>!0===m.value&&p.value===a.$route.matched.length-1&&At(a.$route.params,s.value.params)),h=e.computed(()=>!0===u.value?!0===f.value?` ${n.exactActiveClass} ${n.activeClass}`:!0===n.exact?"":!0===m.value?` ${n.activeClass}`:"":"");function g(e){return!(!0===n.disable||e.metaKey||e.altKey||e.ctrlKey||e.shiftKey||!0!==e.__qNavigate&&!0===e.defaultPrevented||void 0!==e.button&&0!==e.button||"_blank"===n.target)&&(q(e),a.$router[!0===n.replace?"replace":"push"](n.to).catch(e=>e))}return{hasRouterLink:u,hasHrefLink:i,hasLink:c,linkTag:d,linkRoute:s,linkIsActive:m,linkIsExactActive:f,linkClass:h,linkProps:v,navigateToRouterLink:g}}var It=Me({name:"QBreadcrumbsEl",props:{...Pt,label:String,icon:String,tag:{type:String,default:"span"}},setup(t,{slots:o}){const{linkTag:n,linkProps:a,linkClass:l,hasRouterLink:i,navigateToRouterLink:r}=Rt(),s=e.computed(()=>{const e={class:"q-breadcrumbs__el q-link flex inline items-center relative-position "+(!0!==t.disable?"q-link--focusable"+l.value:"q-breadcrumbs__el--disable"),...a.value};return!0===i.value&&(e.onClick=r),e}),u=e.computed(()=>"q-breadcrumbs__el-icon"+(void 0!==t.label?" q-breadcrumbs__el-icon--with-label":""));return()=>{const a=[];return void 0!==t.icon&&a.push(e.h(pt,{class:u.value,name:t.icon})),void 0!==t.label&&a.push(t.label),e.h(n.value,{...s.value},Ge(o.default,a))}}});const Ft={size:{type:[Number,String],default:"1em"},color:String};function Nt(t){return{cSize:e.computed(()=>t.size in We?`${We[t.size]}px`:t.size),classes:e.computed(()=>"q-spinner"+(t.color?` text-${t.color}`:""))}}var jt=Me({name:"QSpinner",props:{...Ft,thickness:{type:Number,default:5}},setup(t){const{cSize:o,classes:n}=Nt(t);return()=>e.h("svg",{class:n.value+" q-spinner-mat",width:o.value,height:o.value,viewBox:"25 25 50 50"},[e.h("circle",{class:"path",cx:"50",cy:"50",r:"20",fill:"none",stroke:"currentColor","stroke-width":t.thickness,"stroke-miterlimit":"10"})])}});function Dt(e){if(e===window)return{top:0,left:0};const{top:t,left:o}=e.getBoundingClientRect();return{top:t,left:o}}function Ht(e,t){return window.getComputedStyle(e).getPropertyValue(t)}function Qt(e){return e===window?window.innerHeight:e.getBoundingClientRect().height}function Ut(e){return e===window?window.innerWidth:e.getBoundingClientRect().width}function Wt(e,t){const o=e.style;for(const n in t)o[n]=t[n]}function Yt(e,t){e.forEach(e=>Wt(e,t))}function Kt(e){if("function"===typeof e)return"loading"!==document.readyState?e():void document.addEventListener("DOMContentLoaded",e,!1)}function Xt(t){if(void 0===t||null===t)return;if("string"===typeof t)try{return document.querySelector(t)||void 0}catch(e){return}const o=!0===e.isRef(t)?t.value:t;return o?o.$el||o:void 0}function Zt(e,t){if(void 0===e||null===e||!0===e.contains(t))return!0;for(let o=e.nextElementSibling;null!==o;o=o.nextElementSibling)if(o.contains(t))return!0;return!1}var Gt={offset:Dt,style:Ht,height:Qt,width:Ut,css:Wt,cssBatch:Yt,ready:Kt};function Jt(e,t=250){let o,n=!1;return function(){return!1===n&&(n=!0,setTimeout(()=>{n=!1},t),o=e.apply(this,arguments)),o}}function eo(e,t,o,n){!0===o.modifiers.stop&&C(e);const a=o.modifiers.color;let l=o.modifiers.center;l=!0===l||!0===n;const i=document.createElement("span"),r=document.createElement("span"),s=w(e),{left:u,top:c,width:d,height:v}=t.getBoundingClientRect(),p=Math.sqrt(d*d+v*v),m=p/2,f=`${(d-p)/2}px`,h=l?f:`${s.left-u-m}px`,g=`${(v-p)/2}px`,b=l?g:`${s.top-c-m}px`;r.className="q-ripple__inner",Wt(r,{height:`${p}px`,width:`${p}px`,transform:`translate3d(${h},${b},0) scale3d(.2,.2,1)`,opacity:0}),i.className=`q-ripple${a?" text-"+a:""}`,i.setAttribute("dir","ltr"),i.appendChild(r),t.appendChild(i);const y=()=>{i.remove(),clearTimeout(x)};o.abort.push(y);let x=setTimeout(()=>{r.classList.add("q-ripple__inner--enter"),r.style.transform=`translate3d(${f},${g},0) scale3d(1,1,1)`,r.style.opacity=.2,x=setTimeout(()=>{r.classList.remove("q-ripple__inner--enter"),r.classList.add("q-ripple__inner--leave"),r.style.opacity=0,x=setTimeout(()=>{i.remove(),o.abort.splice(o.abort.indexOf(y),1)},275)},250)},50)}function to(e,{modifiers:t,value:o,arg:n,instance:a}){const l=Object.assign({},a.$q.config.ripple,t,o);e.modifiers={early:!0===l.early,stop:!0===l.stop,center:!0===l.center,color:l.color||n,keyCodes:[].concat(l.keyCodes||13)}}var oo=Te({name:"ripple",beforeMount(e,t){const o={enabled:!1!==t.value,modifiers:{},abort:[],start(t){!0===o.enabled&&!0!==t.qSkipRipple&&(!0===o.modifiers.early?!0===["mousedown","touchstart"].includes(t.type):"click"===t.type)&&eo(t,e,o,!0===t.qKeyEvent)},keystart:Jt(t=>{!0===o.enabled&&!0!==t.qSkipRipple&&!0===K(t,o.modifiers.keyCodes)&&t.type===`key${!0===o.modifiers.early?"down":"up"}`&&eo(t,e,o,!0)},300)};to(o,t),e.__qripple=o,T(o,"main",[[e,"mousedown","start","passive"],[e,"touchstart","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.enabled=!1!==t.value,!0===o.enabled&&Object(t.value)===t.value&&to(o,t)}},beforeUnmount(e){const t=e.__qripple;t.abort.forEach(e=>{e()}),B(t,"main"),delete e._qripple}});const no={none:0,xs:4,sm:8,md:16,lg:24,xl:32},ao={xs:8,sm:10,md:14,lg:20,xl:24},lo=["button","submit","reset"],io=/[^\s]\/[^\s]/,ro={...Ye,...Pt,type:{type:String,default:"button"},label:[Number,String],icon:String,iconRight:String,round:Boolean,outline:Boolean,flat:Boolean,unelevated:Boolean,rounded:Boolean,push: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:{...St.align,default:"center"},stack:Boolean,stretch:Boolean,loading:{type:Boolean,default:null},disable:Boolean};function so(t){const o=Ke(t,ao),n=kt(t),{hasRouterLink:a,hasLink:l,linkTag:i,linkProps:r,navigateToRouterLink:s}=Rt("button"),u=e.computed(()=>{const e=!1===t.fab&&!1===t.fabMini?o.value:{};return void 0!==t.padding?Object.assign({},e,{padding:t.padding.split(/\s+/).map(e=>e in no?no[e]+"px":e).join(" "),minWidth:"0",minHeight:"0"}):e}),c=e.computed(()=>!0===t.rounded||!0===t.fab||!0===t.fabMini),d=e.computed(()=>!0!==t.disable&&!0!==t.loading),v=e.computed(()=>!0===d.value?t.tabindex||0:-1),p=e.computed(()=>{return!0===t.flat?"flat":!0===t.outline?"outline":!0===t.push?"push":!0===t.unelevated?"unelevated":"standard"}),m=e.computed(()=>{const e={tabindex:v.value};return!0===l.value?Object.assign(e,r.value):!0===lo.includes(t.type)&&(e.type=t.type),"a"===i.value?(!0===t.disable?e["aria-disabled"]="true":void 0===e.href&&(e.role="button"),!0!==a.value&&!0===io.test(t.type)&&(e.type=t.type)):!0===t.disable&&(e.disabled="",e["aria-disabled"]="true"),!0===t.loading&&void 0!==t.percentage&&Object.assign(e,{role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":t.percentage}),e}),f=e.computed(()=>{let e;return void 0!==t.color?e=!0===t.flat||!0===t.outline?`text-${t.textColor||t.color}`:`bg-${t.color} text-${t.textColor||"white"}`:t.textColor&&(e=`text-${t.textColor}`),`q-btn--${p.value} `+`q-btn--${!0===t.round?"round":`rectangle${!0===c.value?" q-btn--rounded":""}`}`+(void 0!==e?" "+e:"")+(!0===d.value?" q-btn--actionable q-focusable q-hoverable":!0===t.disable?" disabled":"")+(!0===t.fab?" q-btn--fab":!0===t.fabMini?" q-btn--fab-mini":"")+(!0===t.noCaps?" q-btn--no-uppercase":"")+(!0===t.dense?" q-btn--dense":"")+(!0===t.stretch?" no-border-radius self-stretch":"")+(!0===t.glossy?" glossy":"")}),h=e.computed(()=>n.value+(!0===t.stack?" column":" row")+(!0===t.noWrap?" no-wrap text-no-wrap":"")+(!0===t.loading?" q-btn__content--hidden":""));return{classes:f,style:u,innerClasses:h,attributes:m,hasRouterLink:a,hasLink:l,linkTag:i,navigateToRouterLink:s,isActionable:d}}const{passiveCapture:uo}=f;let co=null,vo=null,po=null;var mo=Me({name:"QBtn",props:{...ro,percentage:Number,darkPercentage:Boolean},emits:["click","keydown","touchstart","mousedown","keyup"],setup(t,{slots:o,emit:n}){const{proxy:a}=e.getCurrentInstance(),{classes:l,style:i,innerClasses:r,attributes:s,hasRouterLink:u,hasLink:c,linkTag:d,navigateToRouterLink:v,isActionable:p}=so(t),m=e.ref(null),f=e.ref(null);let h,g,b=null;const y=e.computed(()=>void 0!==t.label&&null!==t.label&&""!==t.label),w=e.computed(()=>!0!==t.disable&&!1!==t.ripple&&{keyCodes:!0===c.value?[13,32]:[13],...!0===t.ripple?{}:t.ripple}),x=e.computed(()=>({center:t.round})),_=e.computed(()=>{const e=Math.max(0,Math.min(100,t.percentage));return e>0?{transition:"transform 0.6s",transform:`translateX(${e-100}%)`}:{}}),S=e.computed(()=>{return!0===t.loading?{onMousedown:V,onTouchstartPassive:V,onClick:V,onKeydown:V,onKeyup:V}:!0===p.value?{onClick:M,onKeydown:T,onMousedown:L,onTouchstart:B}:{onClick:$}}),k=e.computed(()=>({ref:m,class:"q-btn q-btn-item non-selectable no-outline "+l.value,style:i.value,...s.value,...S.value}));function M(e){if(null!==m.value){if(void 0!==e){if(!0===e.defaultPrevented)return;const o=document.activeElement;if("submit"===t.type&&o!==document.body&&!1===m.value.contains(o)&&!1===o.contains(m.value)){m.value.focus();const e=()=>{document.removeEventListener("keydown",$,!0),document.removeEventListener("keyup",e,uo),null!==m.value&&m.value.removeEventListener("blur",e,uo)};document.addEventListener("keydown",$,!0),document.addEventListener("keyup",e,uo),m.value.addEventListener("blur",e,uo)}}if(!0===u.value){const t=()=>{e.__qNavigate=!0,v(e)};n("click",e,t),!0!==e.defaultPrevented&&t()}else n("click",e)}}function T(e){null!==m.value&&(n("keydown",e),!0===K(e,[13,32])&&vo!==m.value&&(null!==vo&&O(),!0!==e.defaultPrevented&&(m.value.focus(),vo=m.value,m.value.classList.add("q-btn--active"),document.addEventListener("keyup",z,!0),m.value.addEventListener("blur",z,uo)),$(e)))}function B(e){null!==m.value&&(n("touchstart",e),!0!==e.defaultPrevented&&(co!==m.value&&(null!==co&&O(),co=m.value,b=e.target,b.addEventListener("touchcancel",z,uo),b.addEventListener("touchend",z,uo)),h=!0,clearTimeout(g),g=setTimeout(()=>{h=!1},200)))}function L(e){null!==m.value&&(e.qSkipRipple=!0===h,n("mousedown",e),!0!==e.defaultPrevented&&po!==m.value&&(null!==po&&O(),po=m.value,m.value.classList.add("q-btn--active"),document.addEventListener("mouseup",z,uo)))}function z(e){if(null!==m.value&&(void 0===e||"blur"!==e.type||document.activeElement!==m.value)){if(void 0!==e&&"keyup"===e.type){if(vo===m.value&&!0===K(e,[13,32])){const t=new MouseEvent("click",e);t.qKeyEvent=!0,!0===e.defaultPrevented&&q(t),!0===e.cancelBubble&&C(t),m.value.dispatchEvent(t),$(e),e.qKeyEvent=!0}n("keyup",e)}O()}}function O(e){const t=f.value;!0===e||co!==m.value&&po!==m.value||null===t||t===document.activeElement||(t.setAttribute("tabindex",-1),t.focus()),co===m.value&&(null!==b&&(b.removeEventListener("touchcancel",z,uo),b.removeEventListener("touchend",z,uo)),co=b=null),po===m.value&&(document.removeEventListener("mouseup",z,uo),po=null),vo===m.value&&(document.removeEventListener("keyup",z,!0),null!==m.value&&m.value.removeEventListener("blur",z,uo),vo=null),null!==m.value&&m.value.classList.remove("q-btn--active")}function V(e){$(e),e.qSkipRipple=!0}return e.onBeforeUnmount(()=>{O(!0)}),Object.assign(a,{click:M}),()=>{let n=[];void 0!==t.icon&&n.push(e.h(pt,{name:t.icon,left:!1===t.stack&&!0===y.value,role:"img","aria-hidden":"true"})),!0===y.value&&n.push(e.h("span",{class:"block"},[t.label])),n=Ge(o.default,n),void 0!==t.iconRight&&!1===t.round&&n.push(e.h(pt,{name:t.iconRight,right:!1===t.stack&&!0===y.value,role:"img","aria-hidden":"true"}));const a=[e.h("span",{class:"q-focus-helper",ref:f})];return!0===t.loading&&void 0!==t.percentage&&a.push(e.h("span",{class:"q-btn__progress absolute-full overflow-hidden"},[e.h("span",{class:"q-btn__progress-indicator fit block"+(!0===t.darkPercentage?" q-btn__progress--dark":""),style:_.value})])),a.push(e.h("span",{class:"q-btn__content text-center col items-center q-anchor--skip "+r.value},n)),null!==t.loading&&a.push(e.h(e.Transition,{name:"q-transition--fade"},()=>!0===t.loading?[e.h("span",{key:"loading",class:"absolute-full flex flex-center"},void 0!==o.loading?o.loading():[e.h(jt)])]:null)),e.withDirectives(e.h(d.value,k.value,a),[[oo,w.value,void 0,x.value]])}}}),fo=Me({name:"QBtnGroup",props:{unelevated:Boolean,outline:Boolean,flat:Boolean,rounded:Boolean,push:Boolean,stretch:Boolean,glossy:Boolean,spread:Boolean},setup(t,{slots:o}){const n=e.computed(()=>{const e=["unelevated","outline","flat","rounded","push","stretch","glossy"].filter(e=>!0===t[e]).map(e=>`q-btn-group--${e}`).join(" ");return`q-btn-group row no-wrap${e.length>0?" "+e:""}`+(!0===t.spread?" q-btn-group--spread":" inline")});return()=>e.h("div",{class:n.value},Xe(o.default))}});function ho(){if(void 0!==window.getSelection){const e=window.getSelection();void 0!==e.empty?e.empty():void 0!==e.removeAllRanges&&(e.removeAllRanges(),!0!==p.is.mobile&&e.addRange(document.createRange()))}else void 0!==document.selection&&document.selection.empty()}const go={target:{default:!0},noParentEvent:Boolean,contextMenu:Boolean};function bo({showing:t,avoidEmit:o,configureAnchorEl:n}){const{props:a,proxy:l,emit:i}=e.getCurrentInstance(),r=e.ref(null);let s;function u(e){return null!==r.value&&(void 0===e||void 0===e.touches||e.touches.length<=1)}const c={};function d(){B(c,"anchor")}function v(e){r.value=e;while(r.value.classList.contains("q-anchor--skip"))r.value=r.value.parentNode;n()}function p(){if(!1===a.target||""===a.target)r.value=null;else if(!0===a.target)v(l.$el.parentNode);else{let e=a.target;if("string"===typeof a.target)try{e=document.querySelector(a.target)}catch(t){e=void 0}void 0!==e&&null!==e?(r.value=e.$el||e,n()):(r.value=null,console.error(`Anchor: target "${a.target}" not found`))}}return void 0===n&&(Object.assign(c,{hide(e){l.hide(e)},toggle(e){l.toggle(e),e.qAnchorHandled=!0},toggleKey(e){!0===K(e,13)&&c.toggle(e)},contextClick(t){l.hide(t),q(t),e.nextTick(()=>{l.show(t),t.qAnchorHandled=!0})},prevent:q,mobileTouch(e){if(c.mobileCleanup(e),!0!==u(e))return;l.hide(e),r.value.classList.add("non-selectable");const t=e.target;T(c,"anchor",[[t,"touchmove","mobileCleanup","passive"],[t,"touchend","mobileCleanup","passive"],[t,"touchcancel","mobileCleanup","passive"],[r.value,"contextmenu","prevent","notPassive"]]),s=setTimeout(()=>{l.show(e),e.qAnchorHandled=!0},300)},mobileCleanup(e){r.value.classList.remove("non-selectable"),clearTimeout(s),!0===t.value&&void 0!==e&&ho()}}),n=function(e=a.contextMenu){if(!0===a.noParentEvent||null===r.value)return;let t;t=!0===e?!0===l.$q.platform.is.mobile?[[r.value,"touchstart","mobileTouch","passive"]]:[[r.value,"mousedown","hide","passive"],[r.value,"contextmenu","contextClick","notPassive"]]:[[r.value,"click","toggle","passive"],[r.value,"keyup","toggleKey","passive"]],T(c,"anchor",t)}),e.watch(()=>a.contextMenu,e=>{null!==r.value&&(d(),n(e))}),e.watch(()=>a.target,()=>{null!==r.value&&d(),p()}),e.watch(()=>a.noParentEvent,e=>{null!==r.value&&(!0===e?d():n())}),e.onMounted(()=>{p(),!0!==o&&!0===a.modelValue&&null===r.value&&i("update:modelValue",!1)}),e.onBeforeUnmount(()=>{clearTimeout(s),d()}),{anchorEl:r,canShow:u,anchorEvents:c}}function yo(t,o){const n=e.ref(null);let a;function l(e,t){const o=`${void 0!==t?"add":"remove"}EventListener`,n=void 0!==t?t:a;e!==window&&e[o]("scroll",n,f.passive),window[o]("scroll",n,f.passive),a=t}function i(){null!==n.value&&(l(n.value),n.value=null)}const r=e.watch(()=>t.noParentEvent,()=>{null!==n.value&&(i(),o())});return e.onBeforeUnmount(r),{localScrollTarget:n,unconfigureScrollTarget:i,changeScrollEvent:l}}const wo={modelValue:{type:Boolean,default:null},"onUpdate:modelValue":[Function,Array]},xo=["before-show","show","before-hide","hide"];function _o({showing:t,canShow:o,hideOnRouteChange:n,handleShow:a,handleHide:l,processOnMount:i}){const r=e.getCurrentInstance(),{props:s,emit:u,proxy:c}=r;let d;function v(e){!0===t.value?f(e):p(e)}function p(t){if(!0===s.disable||void 0!==t&&!0===t.qAnchorHandled||void 0!==o&&!0!==o(t))return;const n=void 0!==s["onUpdate:modelValue"];!0===n&&(u("update:modelValue",!0),d=t,e.nextTick(()=>{d===t&&(d=void 0)})),null!==s.modelValue&&!1!==n||m(t)}function m(e){!0!==t.value&&(t.value=!0,u("before-show",e),void 0!==a?a(e):u("show",e))}function f(t){if(!0===s.disable)return;const o=void 0!==s["onUpdate:modelValue"];!0===o&&(u("update:modelValue",!1),d=t,e.nextTick(()=>{d===t&&(d=void 0)})),null!==s.modelValue&&!1!==o||h(t)}function h(e){!1!==t.value&&(t.value=!1,u("before-hide",e),void 0!==l?l(e):u("hide",e))}function g(e){if(!0===s.disable&&!0===e)void 0!==s["onUpdate:modelValue"]&&u("update:modelValue",!1);else if(!0===e!==t.value){const t=!0===e?m:h;t(d)}}e.watch(()=>s.modelValue,g),void 0!==n&&!0===Mt(r)&&e.watch(()=>c.$route.fullPath,()=>{!0===n.value&&!0===t.value&&f()}),!0===i&&e.onMounted(()=>{g(s.modelValue)});const b={show:p,hide:f,toggle:v};return Object.assign(c,b),b}let So=[],ko=[];function Co(e){ko=ko.filter(t=>t!==e)}function qo(e){Co(e),ko.push(e)}function $o(e){Co(e),0===ko.length&&So.length>0&&(So[So.length-1](),So=[])}function Mo(e){0===ko.length?e():So.push(e)}function To(e){So=So.filter(t=>t!==e)}const Bo=[];let Lo=document.body;function zo(e){const t=document.createElement("div");if(void 0!==e&&(t.id=e),void 0!==ve.globalNodes){const e=ve.globalNodes.class;void 0!==e&&(t.className=e)}return Lo.appendChild(t),Bo.push(t),t}function Oo(e){Bo.splice(Bo.indexOf(e),1),e.remove()}function Vo(e){e!==Lo&&(Lo=e,Bo.fo