quasar-factory-lib 0.0.73 → 0.0.75
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/pages/TablePage.vue.d.ts +62 -9
- package/dist/quasar-factory-lib.js +1133 -1134
- package/dist/quasar-factory-lib.umd.cjs +1 -1
- package/package.json +1 -1
- package/src/components/Table/components/CustomizedBadge.vue +1 -1
- package/src/components/Table/components/TableSlotBody.vue +1 -1
- package/src/components/Table/components/TableSlotGrid.vue +1 -1
- package/src/pages/TablePage.vue +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(function($e,a){typeof exports=="object"&&typeof module<"u"?a(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],a):($e=typeof globalThis<"u"?globalThis:$e||self,a($e.QuasarFactoryLib={},$e.Vue))})(this,function($e,a){"use strict";function gt(e,t,n,o){return Object.defineProperty(e,t,{get:n,set:o,enumerable:!0}),e}function xd(e,t){for(const n in t)gt(e,n,t[n]);return e}const Ht=a.ref(!1);let vr;function Nd(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 Dd(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 wl="ontouchstart"in window||window.navigator.maxTouchPoints>0;function Id(e){const t=e.toLowerCase(),n=Dd(t),o=Nd(t,n),r={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&&(r[o.browser]=!0,r.version=o.version,r.versionNumber=parseInt(o.version,10)),o.platform&&(r[o.platform]=!0);const l=r.android||r.ios||r.bb||r.blackberry||r.ipad||r.iphone||r.ipod||r.kindle||r.playbook||r.silk||r["windows phone"];if(l===!0||t.indexOf("mobile")!==-1?r.mobile=!0:r.desktop=!0,r["windows phone"]&&(r.winphone=!0,delete r["windows phone"]),r.edga||r.edgios||r.edg?(r.edge=!0,o.browser="edge"):r.crios?(r.chrome=!0,o.browser="chrome"):r.fxios&&(r.firefox=!0,o.browser="firefox"),(r.ipod||r.ipad||r.iphone)&&(r.ios=!0),r.vivaldi&&(o.browser="vivaldi",r.vivaldi=!0),(r.chrome||r.opr||r.safari||r.vivaldi||r.mobile===!0&&r.ios!==!0&&l!==!0)&&(r.webkit=!0),r.opr&&(o.browser="opera",r.opera=!0),r.safari&&(r.blackberry||r.bb?(o.browser="blackberry",r.blackberry=!0):r.playbook?(o.browser="playbook",r.playbook=!0):r.android?(o.browser="android",r.android=!0):r.kindle?(o.browser="kindle",r.kindle=!0):r.silk&&(o.browser="silk",r.silk=!0)),r.name=o.browser,r.platform=o.platform,t.indexOf("electron")!==-1)r.electron=!0;else if(document.location.href.indexOf("-extension://")!==-1)r.bex=!0;else{if(window.Capacitor!==void 0?(r.capacitor=!0,r.nativeMobile=!0,r.nativeMobileWrapper="capacitor"):(window._cordovaNative!==void 0||window.cordova!==void 0)&&(r.cordova=!0,r.nativeMobile=!0,r.nativeMobileWrapper="cordova"),Ht.value===!0&&(vr={is:{...r}}),wl===!0&&r.mac===!0&&(r.desktop===!0&&r.safari===!0||r.nativeMobile===!0&&r.android!==!0&&r.ios!==!0&&r.ipad!==!0)){delete r.mac,delete r.desktop;const i=Math.min(window.innerHeight,window.innerWidth)>414?"ipad":"iphone";Object.assign(r,{mobile:!0,ios:!0,platform:i,[i]:!0})}r.mobile!==!0&&window.navigator.userAgentData&&window.navigator.userAgentData.mobile&&(delete r.desktop,r.mobile=!0)}return r}const kl=navigator.userAgent||navigator.vendor||window.opera,Ad={has:{touch:!1,webStorage:!1},within:{iframe:!1}},Ue={userAgent:kl,is:Id(kl),has:{touch:wl},within:{iframe:window.self!==window.top}},Co={install(e){const{$q:t}=e;Ht.value===!0?(e.onSSRHydrated.push(()=>{Object.assign(t.platform,Ue),Ht.value=!1}),t.platform=a.reactive(this)):t.platform=this}};{let e;gt(Ue.has,"webStorage",()=>{if(e!==void 0)return e;try{if(window.localStorage)return e=!0,!0}catch{}return e=!1,!1}),Object.assign(Co,Ue),Ht.value===!0&&(Object.assign(Co,vr,Ad),vr=null)}function ge(e){return a.markRaw(a.defineComponent(e))}function Pd(e){return a.markRaw(e)}const So=(e,t)=>{const n=a.reactive(e);for(const o in e)gt(t,o,()=>n[o],r=>{n[o]=r});return t},Je={hasPassive:!1,passiveCapture:!0,notPassiveCapture:!0};try{const e=Object.defineProperty({},"passive",{get(){Object.assign(Je,{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 bn(){}function Tl(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 Ld(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 Dt(e){e.stopPropagation()}function kt(e){e.cancelable!==!1&&e.preventDefault()}function He(e){e.cancelable!==!1&&e.preventDefault(),e.stopPropagation()}function zn(e,t,n){const o=`__q_${t}_evt`;e[o]=e[o]!==void 0?e[o].concat(n):n,n.forEach(r=>{r[0].addEventListener(r[1],e[r[2]],Je[r[3]])})}function wo(e,t){const n=`__q_${t}_evt`;e[n]!==void 0&&(e[n].forEach(o=>{o[0].removeEventListener(o[1],e[o[2]],Je[o[3]])}),e[n]=void 0)}function Er(e,t=250,n){let o=null;function r(){const l=arguments,i=()=>{o=null,e.apply(this,l)};o!==null&&clearTimeout(o),o=setTimeout(i,t)}return r.cancel=()=>{o!==null&&clearTimeout(o)},r}const Cr=["sm","md","lg","xl"],{passive:Ol}=Je,Vd=So({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:bn,setDebounce:bn,install({$q:e,onSSRHydrated:t}){var m;if(e.screen=this,this.__installed===!0){e.config.screen!==void 0&&(e.config.screen.bodyClasses===!1?document.body.classList.remove(`screen--${this.name}`):this.__update(!0));return}const{visualViewport:n}=window,o=n||window,r=document.scrollingElement||document.documentElement,l=n===void 0||Ue.is.mobile===!0?()=>[Math.max(window.innerWidth,r.clientWidth),Math.max(window.innerHeight,r.clientHeight)]:()=>[n.width*n.scale+window.innerWidth-r.clientWidth,n.height*n.scale+window.innerHeight-r.clientHeight],i=((m=e.config.screen)==null?void 0:m.bodyClasses)===!0;this.__update=g=>{const[h,d]=l();if(d!==this.height&&(this.height=d),h!==this.width)this.width=h;else if(g!==!0)return;let b=this.sizes;this.gt.xs=h>=b.sm,this.gt.sm=h>=b.md,this.gt.md=h>=b.lg,this.gt.lg=h>=b.xl,this.lt.sm=h<b.sm,this.lt.md=h<b.md,this.lt.lg=h<b.lg,this.lt.xl=h<b.xl,this.xs=this.lt.sm,this.sm=this.gt.xs===!0&&this.lt.md===!0,this.md=this.gt.sm===!0&&this.lt.lg===!0,this.lg=this.gt.md===!0&&this.lt.xl===!0,this.xl=this.gt.lg,b=this.xs===!0&&"xs"||this.sm===!0&&"sm"||this.md===!0&&"md"||this.lg===!0&&"lg"||"xl",b!==this.name&&(i===!0&&(document.body.classList.remove(`screen--${this.name}`),document.body.classList.add(`screen--${b}`)),this.name=b)};let s,u={},f=16;this.setSizes=g=>{Cr.forEach(h=>{g[h]!==void 0&&(u[h]=g[h])})},this.setDebounce=g=>{f=g};const c=()=>{const g=getComputedStyle(document.body);g.getPropertyValue("--q-size-sm")&&Cr.forEach(h=>{this.sizes[h]=parseInt(g.getPropertyValue(`--q-size-${h}`),10)}),this.setSizes=h=>{Cr.forEach(d=>{h[d]&&(this.sizes[d]=h[d])}),this.__update(!0)},this.setDebounce=h=>{s!==void 0&&o.removeEventListener("resize",s,Ol),s=h>0?Er(this.__update,h):this.__update,o.addEventListener("resize",s,Ol)},this.setDebounce(f),Object.keys(u).length!==0?(this.setSizes(u),u=void 0):this.__update(),i===!0&&this.name==="xs"&&document.body.classList.add("screen--xs")};Ht.value===!0?t.push(c):c()}}),ot=So({isActive:!1,mode:!1},{__media:void 0,set(e){ot.mode=e,e==="auto"?(ot.__media===void 0&&(ot.__media=window.matchMedia("(prefers-color-scheme: dark)"),ot.__updateMedia=()=>{ot.set("auto")},ot.__media.addListener(ot.__updateMedia)),e=ot.__media.matches):ot.__media!==void 0&&(ot.__media.removeListener(ot.__updateMedia),ot.__media=void 0),ot.isActive=e===!0,document.body.classList.remove(`body--${e===!0?"light":"dark"}`),document.body.classList.add(`body--${e===!0?"dark":"light"}`)},toggle(){ot.set(ot.isActive===!1)},install({$q:e,ssrContext:t}){const{dark:n}=e.config;e.dark=this,this.__installed!==!0&&this.set(n!==void 0?n:!1)}});function Rd(e,t,n=document.body){if(typeof e!="string")throw new TypeError("Expected a string as propName");if(typeof t!="string")throw new TypeError("Expected a string as value");if(!(n instanceof Element))throw new TypeError("Expected a DOM element");n.style.setProperty(`--q-${e}`,t)}let xl=!1;function Bd(e){xl=e.isComposing===!0}function Sr(e){return xl===!0||e!==Object(e)||e.isComposing===!0||e.qKeyEvent===!0}function tn(e,t){return Sr(e)===!0?!1:[].concat(t).includes(e.keyCode)}function Nl(e){if(e.ios===!0)return"ios";if(e.android===!0)return"android"}function Md({is:e,has:t,within:n},o){const r=[e.desktop===!0?"desktop":"mobile",`${t.touch===!1?"no-":""}touch`];if(e.mobile===!0){const l=Nl(e);l!==void 0&&r.push("platform-"+l)}if(e.nativeMobile===!0){const l=e.nativeMobileWrapper;r.push(l),r.push("native-mobile"),e.ios===!0&&(o[l]===void 0||o[l].iosStatusBarPadding!==!1)&&r.push("q-ios-padding")}else e.electron===!0?r.push("electron"):e.bex===!0&&r.push("bex");return n.iframe===!0&&r.push("within-iframe"),r}function Fd(){const{is:e}=Ue,t=document.body.className,n=new Set(t.replace(/ {2}/g," ").split(" "));if(e.nativeMobile!==!0&&e.electron!==!0&&e.bex!==!0){if(e.desktop===!0)n.delete("mobile"),n.delete("platform-ios"),n.delete("platform-android"),n.add("desktop");else if(e.mobile===!0){n.delete("desktop"),n.add("mobile"),n.delete("platform-ios"),n.delete("platform-android");const r=Nl(e);r!==void 0&&n.add(`platform-${r}`)}}Ue.has.touch===!0&&(n.delete("no-touch"),n.add("touch")),Ue.within.iframe===!0&&n.add("within-iframe");const o=Array.from(n).join(" ");t!==o&&(document.body.className=o)}function qd(e){for(const t in e)Rd(t,e[t])}const $d={install(e){if(this.__installed!==!0){if(Ht.value===!0)Fd();else{const{$q:t}=e;t.config.brand!==void 0&&qd(t.config.brand);const n=Md(Ue,t.config);document.body.classList.add.apply(document.body.classList,n)}Ue.is.ios===!0&&document.body.addEventListener("touchstart",bn),window.addEventListener("keydown",Bd,!0)}}},Dl=()=>!0;function Ud(e){return typeof e=="string"&&e!==""&&e!=="/"&&e!=="#/"}function Hd(e){return e.startsWith("#")===!0&&(e=e.substring(1)),e.startsWith("/")===!1&&(e="/"+e),e.endsWith("/")===!0&&(e=e.substring(0,e.length-1)),"#"+e}function zd(e){if(e.backButtonExit===!1)return()=>!1;if(e.backButtonExit==="*")return Dl;const t=["#/"];return Array.isArray(e.backButtonExit)===!0&&t.push(...e.backButtonExit.filter(Ud).map(Hd)),()=>t.includes(window.location.hash)}const jn={__history:[],add:bn,remove:bn,install({$q:e}){if(this.__installed===!0)return;const{cordova:t,capacitor:n}=Ue.is;if(t!==!0&&n!==!0)return;const o=e.config[t===!0?"cordova":"capacitor"];if((o==null?void 0:o.backButton)===!1||n===!0&&(window.Capacitor===void 0||window.Capacitor.Plugins.App===void 0))return;this.add=i=>{i.condition===void 0&&(i.condition=Dl),this.__history.push(i)},this.remove=i=>{const s=this.__history.indexOf(i);s>=0&&this.__history.splice(s,1)};const r=zd(Object.assign({backButtonExit:!0},o)),l=()=>{if(this.__history.length){const i=this.__history[this.__history.length-1];i.condition()===!0&&(this.__history.pop(),i.handler())}else r()===!0?navigator.app.exitApp():window.history.back()};t===!0?document.addEventListener("deviceready",()=>{document.addEventListener("backbutton",l,!1)}):window.Capacitor.Plugins.App.addListener("backButton",l)}},wr={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",expand:e=>e?`Expand "${e}"`:"Expand",collapse:e=>e?`Collapse "${e}"`:"Collapse"},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",prevMonth:"Previous month",nextMonth:"Next month",prevYear:"Previous year",nextYear:"Next year",today:"Today",prevRangeYears:e=>`Previous ${e} years`,nextRangeYears:e=>`Next ${e} years`},table:{noData:"No data available",noResults:"No matching records found",loading:"Loading...",selectedRecords:e=>e===1?"1 record selected.":(e===0?"No":e)+" records selected.",recordsPerPage:"Records per page:",allRows:"All",pagination:(e,t,n)=>e+"-"+t+" of "+n,columns:"Columns"},pagination:{first:"First page",prev:"Previous page",next:"Next page",last:"Last page"},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 Il(){const e=Array.isArray(navigator.languages)===!0&&navigator.languages.length!==0?navigator.languages[0]:navigator.language;if(typeof e=="string")return e.split(/[-_]/).map((t,n)=>n===0?t.toLowerCase():n>1||t.length<4?t.toUpperCase():t[0].toUpperCase()+t.slice(1).toLowerCase()).join("-")}const It=So({__qLang:{}},{getLocale:Il,set(e=wr,t){const n={...e,rtl:e.rtl===!0,getLocale:Il};{if(n.set=It.set,It.__langConfig===void 0||It.__langConfig.noHtmlAttrs!==!0){const o=document.documentElement;o.setAttribute("dir",n.rtl===!0?"rtl":"ltr"),o.setAttribute("lang",n.isoName)}Object.assign(It.__qLang,n)}},install({$q:e,lang:t,ssrContext:n}){e.lang=It.__qLang,It.__langConfig=e.config.lang,this.__installed===!0?t!==void 0&&this.set(t):(this.props=new Proxy(this.__qLang,{get(){return Reflect.get(...arguments)},ownKeys(o){return Reflect.ownKeys(o).filter(r=>r!=="set"&&r!=="getLocale")}}),this.set(t||wr))}}),jd={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"}},ko=So({iconMapFn:null,__qIconSet:{}},{set(e,t){const n={...e};n.set=ko.set,Object.assign(ko.__qIconSet,n)},install({$q:e,iconSet:t,ssrContext:n}){e.config.iconMapFn!==void 0&&(this.iconMapFn=e.config.iconMapFn),e.iconSet=this.__qIconSet,gt(e,"iconMapFn",()=>this.iconMapFn,o=>{this.iconMapFn=o}),this.__installed===!0?t!==void 0&&this.set(t):(this.props=new Proxy(this.__qIconSet,{get(){return Reflect.get(...arguments)},ownKeys(o){return Reflect.ownKeys(o).filter(r=>r!=="set")}}),this.set(t||jd))}}),Wd="_q_",Kd="_q_fo_",To={};let Al=!1;function Yd(){Al=!0}function Bt(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(Bt(e[o],t[o])!==!0)return!1;return!0}if(e.constructor===Map){if(e.size!==t.size)return!1;let l=e.entries();for(o=l.next();o.done!==!0;){if(t.has(o.value[0])!==!0)return!1;o=l.next()}for(l=e.entries(),o=l.next();o.done!==!0;){if(Bt(o.value[1],t.get(o.value[0]))!==!0)return!1;o=l.next()}return!0}if(e.constructor===Set){if(e.size!==t.size)return!1;const l=e.entries();for(o=l.next();o.done!==!0;){if(t.has(o.value[0])!==!0)return!1;o=l.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 r=Object.keys(e).filter(l=>e[l]!==void 0);if(n=r.length,n!==Object.keys(t).filter(l=>t[l]!==void 0).length)return!1;for(o=n;o--!==0;){const l=r[o];if(Bt(e[l],t[l])!==!0)return!1}return!0}return e!==e&&t!==t}function kr(e){return e!==null&&typeof e=="object"&&Array.isArray(e)!==!0}function Oo(e){return Object.prototype.toString.call(e)==="[object Date]"}function Tr(e){return typeof e=="number"&&isFinite(e)}const Pl=[Co,$d,ot,Vd,jn,It,ko];function Ll(e,t){t.forEach(n=>{n.install(e),n.__installed=!0})}function Gd(e,t,n){e.config.globalProperties.$q=n.$q,e.provide(Wd,n.$q),Ll(n,Pl),t.components!==void 0&&Object.values(t.components).forEach(o=>{kr(o)===!0&&o.name!==void 0&&e.component(o.name,o)}),t.directives!==void 0&&Object.values(t.directives).forEach(o=>{kr(o)===!0&&o.name!==void 0&&e.directive(o.name,o)}),t.plugins!==void 0&&Ll(n,Object.values(t.plugins).filter(o=>typeof o.install=="function"&&Pl.includes(o)===!1)),Ht.value===!0&&(n.$q.onSSRHydrated=()=>{n.onSSRHydrated.forEach(o=>{o()}),n.$q.onSSRHydrated=()=>{}})}const Qd={name:"Quasar",version:"2.18.1",install:function(e,t={}){const n={version:"2.18.1"};Al===!1?(t.config!==void 0&&Object.assign(To,t.config),n.config={...To},Yd()):n.config=t.config||{},Gd(e,t,{parentApp:e,$q:n,lang:t.lang,iconSet:t.iconSet,onSSRHydrated:[]})},lang:It,iconSet:ko},dt={dark:{type:Boolean,default:null}};function ft(e,t){return a.computed(()=>e.dark===null?t.dark.isActive:e.dark)}const Xd={true:"inset",item:"item-inset","item-thumbnail":"item-thumbnail-inset"},Or={xs:2,sm:4,md:8,lg:16,xl:24},xr=ge({name:"QSeparator",props:{...dt,spaced:[Boolean,String],inset:[Boolean,String],vertical:Boolean,color:String,size:String},setup(e){const t=a.getCurrentInstance(),n=ft(e,t.proxy.$q),o=a.computed(()=>e.vertical===!0?"vertical":"horizontal"),r=a.computed(()=>` q-separator--${o.value}`),l=a.computed(()=>e.inset!==!1?`${r.value}-${Xd[e.inset]}`:""),i=a.computed(()=>`q-separator${r.value}${l.value}`+(e.color!==void 0?` bg-${e.color}`:"")+(n.value===!0?" q-separator--dark":"")),s=a.computed(()=>{const u={};if(e.size!==void 0&&(u[e.vertical===!0?"width":"height"]=e.size),e.spaced!==!1){const f=e.spaced===!0?`${Or.md}px`:e.spaced in Or?`${Or[e.spaced]}px`:e.spaced,c=e.vertical===!0?["Left","Right"]:["Top","Bottom"];u[`margin${c[0]}`]=u[`margin${c[1]}`]=f}return u});return()=>a.h("hr",{class:i.value,style:s.value,"aria-orientation":o.value})}}),Nr={xs:18,sm:24,md:32,lg:38,xl:46},Wn={size:String};function Kn(e,t=Nr){return a.computed(()=>e.size!==void 0?{fontSize:e.size in t?`${t[e.size]}px`:e.size}:null)}function ve(e,t){return e!==void 0&&e()||t}function Vl(e,t){if(e!==void 0){const n=e();if(n!=null)return n.slice()}return t}function At(e,t){return e!==void 0?t.concat(e()):t}function Zd(e,t){return e===void 0?t:t!==void 0?t.concat(e()):e()}function Jd(e,t,n,o,r,l){t.key=o+r;const i=a.h(e,t,n);return r===!0?a.withDirectives(i,l()):i}const Rl="0 0 24 24",Dr=e=>e,Ir=e=>`ionicons ${e}`,Bl={"mdi-":e=>`mdi ${e}`,"icon-":Dr,"bt-":e=>`bt ${e}`,"eva-":e=>`eva ${e}`,"ion-md":Ir,"ion-ios":Ir,"ion-logo":Ir,"iconfont ":Dr,"ti-":e=>`themify-icon ${e}`,"bi-":e=>`bootstrap-icons ${e}`,"i-":Dr},Ml={o_:"-outlined",r_:"-round",s_:"-sharp"},Fl={sym_o_:"-outlined",sym_r_:"-rounded",sym_s_:"-sharp"},ef=new RegExp("^("+Object.keys(Bl).join("|")+")"),tf=new RegExp("^("+Object.keys(Ml).join("|")+")"),ql=new RegExp("^("+Object.keys(Fl).join("|")+")"),nf=/^[Mm]\s?[-+]?\.?\d/,of=/^img:/,rf=/^svguse:/,af=/^ion-/,lf=/^(fa-(classic|sharp|solid|regular|light|brands|duotone|thin)|[lf]a[srlbdk]?) /,Ae=ge({name:"QIcon",props:{...Wn,tag:{type:String,default:"i"},name:String,color:String,left:Boolean,right:Boolean},setup(e,{slots:t}){const{proxy:{$q:n}}=a.getCurrentInstance(),o=Kn(e),r=a.computed(()=>"q-icon"+(e.left===!0?" on-left":"")+(e.right===!0?" on-right":"")+(e.color!==void 0?` text-${e.color}`:"")),l=a.computed(()=>{let i,s=e.name;if(s==="none"||!s)return{none:!0};if(n.iconMapFn!==null){const c=n.iconMapFn(s);if(c!==void 0)if(c.icon!==void 0){if(s=c.icon,s==="none"||!s)return{none:!0}}else return{cls:c.cls,content:c.content!==void 0?c.content:" "}}if(nf.test(s)===!0){const[c,m=Rl]=s.split("|");return{svg:!0,viewBox:m,nodes:c.split("&&").map(g=>{const[h,d,b]=g.split("@@");return a.h("path",{style:d,d:h,transform:b})})}}if(of.test(s)===!0)return{img:!0,src:s.substring(4)};if(rf.test(s)===!0){const[c,m=Rl]=s.split("|");return{svguse:!0,src:c.substring(7),viewBox:m}}let u=" ";const f=s.match(ef);if(f!==null)i=Bl[f[1]](s);else if(lf.test(s)===!0)i=s;else if(af.test(s)===!0)i=`ionicons ion-${n.platform.is.ios===!0?"ios":"md"}${s.substring(3)}`;else if(ql.test(s)===!0){i="notranslate material-symbols";const c=s.match(ql);c!==null&&(s=s.substring(6),i+=Fl[c[1]]),u=s}else{i="notranslate material-icons";const c=s.match(tf);c!==null&&(s=s.substring(2),i+=Ml[c[1]]),u=s}return{cls:i,content:u}});return()=>{const i={class:r.value,style:o.value,"aria-hidden":"true"};return l.value.none===!0?a.h(e.tag,i,ve(t.default)):l.value.img===!0?a.h(e.tag,i,At(t.default,[a.h("img",{src:l.value.src})])):l.value.svg===!0?a.h(e.tag,i,At(t.default,[a.h("svg",{viewBox:l.value.viewBox||"0 0 24 24"},l.value.nodes)])):l.value.svguse===!0?a.h(e.tag,i,At(t.default,[a.h("svg",{viewBox:l.value.viewBox},[a.h("use",{"xlink:href":l.value.src})])])):(l.value.cls!==void 0&&(i.class+=" "+l.value.cls),a.h(e.tag,i,At(t.default,[l.value.content])))}}}),Ar=ge({name:"QTh",props:{props:Object,autoWidth:Boolean},emits:["click"],setup(e,{slots:t,emit:n}){const o=a.getCurrentInstance(),{proxy:{$q:r}}=o,l=i=>{n("click",i)};return()=>{if(e.props===void 0)return a.h("th",{class:e.autoWidth===!0?"q-table--col-auto-width":"",onClick:l},ve(t.default));let i,s;const u=o.vnode.key;if(u){if(i=e.props.colsMap[u],i===void 0)return}else i=e.props.col;if(i.sortable===!0){const c=i.align==="right"?"unshift":"push";s=Vl(t.default,[]),s[c](a.h(Ae,{class:i.__iconClass,name:r.iconSet.table.arrowUp}))}else s=ve(t.default);const f={class:i.__thClass+(e.autoWidth===!0?" q-table--col-auto-width":""),style:i.headerStyle,onClick:c=>{i.sortable===!0&&e.props.sort(i),l(c)}};return a.h("th",f,s)}}}),sf=["ul","ol"],Pr=ge({name:"QList",props:{...dt,bordered:Boolean,dense:Boolean,separator:Boolean,padding:Boolean,tag:{type:String,default:"div"}},setup(e,{slots:t}){const n=a.getCurrentInstance(),o=ft(e,n.proxy.$q),r=a.computed(()=>sf.includes(e.tag)?null:"list"),l=a.computed(()=>"q-list"+(e.bordered===!0?" q-list--bordered":"")+(e.dense===!0?" q-list--dense":"")+(e.separator===!0?" q-list--separator":"")+(o.value===!0?" q-list--dark":"")+(e.padding===!0?" q-list--padding":""));return()=>a.h(e.tag,{class:l.value,role:r.value},ve(t.default))}}),uf=["horizontal","vertical","cell","none"],$l=ge({name:"QMarkupTable",props:{...dt,dense:Boolean,flat:Boolean,bordered:Boolean,square:Boolean,wrapCells:Boolean,separator:{type:String,default:"horizontal",validator:e=>uf.includes(e)}},setup(e,{slots:t}){const n=a.getCurrentInstance(),o=ft(e,n.proxy.$q),r=a.computed(()=>`q-markup-table q-table__container q-table__card q-table--${e.separator}-separator`+(o.value===!0?" q-table--dark q-table__card--dark q-dark":"")+(e.dense===!0?" q-table--dense":"")+(e.flat===!0?" q-table--flat":"")+(e.bordered===!0?" q-table--bordered":"")+(e.square===!0?" q-table--square":"")+(e.wrapCells===!1?" q-table--no-wrap":""));return()=>a.h("div",{class:r.value},[a.h("table",{class:"q-table"},ve(t.default))])}});function Ul(e,t){return a.h("div",e,[a.h("table",{class:"q-table"},t)])}let xo=!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,xo=e.scrollLeft>=0,e.remove()}const Tt=1e3,cf=["start","center","end","start-force","center-force","end-force"],Hl=Array.prototype.filter,df=window.getComputedStyle(document.body).overflowAnchor===void 0?bn: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||[];Hl.call(n,r=>r.dataset&&r.dataset.qVsAnchor!==void 0).forEach(r=>{delete r.dataset.qVsAnchor});const o=n[t];o!=null&&o.dataset&&(o.dataset.qVsAnchor="")}))};function yn(e,t){return e+t}function Lr(e,t,n,o,r,l,i,s){const u=e===window?document.scrollingElement||document.documentElement:e,f=r===!0?"offsetWidth":"offsetHeight",c={scrollStart:0,scrollViewSize:-i-s,scrollMaxSize:0,offsetStart:-i,offsetEnd:-s};if(r===!0?(e===window?(c.scrollStart=window.pageXOffset||window.scrollX||document.body.scrollLeft||0,c.scrollViewSize+=document.documentElement.clientWidth):(c.scrollStart=u.scrollLeft,c.scrollViewSize+=u.clientWidth),c.scrollMaxSize=u.scrollWidth,l===!0&&(c.scrollStart=(xo===!0?c.scrollMaxSize-c.scrollViewSize:0)-c.scrollStart)):(e===window?(c.scrollStart=window.pageYOffset||window.scrollY||document.body.scrollTop||0,c.scrollViewSize+=document.documentElement.clientHeight):(c.scrollStart=u.scrollTop,c.scrollViewSize+=u.clientHeight),c.scrollMaxSize=u.scrollHeight),n!==null)for(let m=n.previousElementSibling;m!==null;m=m.previousElementSibling)m.classList.contains("q-virtual-scroll--skip")===!1&&(c.offsetStart+=m[f]);if(o!==null)for(let m=o.nextElementSibling;m!==null;m=m.nextElementSibling)m.classList.contains("q-virtual-scroll--skip")===!1&&(c.offsetEnd+=m[f]);if(t!==e){const m=u.getBoundingClientRect(),g=t.getBoundingClientRect();r===!0?(c.offsetStart+=g.left-m.left,c.offsetEnd-=g.width):(c.offsetStart+=g.top-m.top,c.offsetEnd-=g.height),e!==window&&(c.offsetStart+=c.scrollStart),c.offsetEnd+=c.scrollMaxSize-c.offsetStart}return c}function zl(e,t,n,o){t==="end"&&(t=(e===window?document.body:e)[n===!0?"scrollWidth":"scrollHeight"]),e===window?n===!0?(o===!0&&(t=(xo===!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=(xo===!0?e.scrollWidth-e.offsetWidth:0)-t),e.scrollLeft=t):e.scrollTop=t}function Yn(e,t,n,o){if(n>=o)return 0;const r=t.length,l=Math.floor(n/Tt),i=Math.floor((o-1)/Tt)+1;let s=e.slice(l,i).reduce(yn,0);return n%Tt!==0&&(s-=t.slice(l*Tt,n).reduce(yn,0)),o%Tt!==0&&o!==r&&(s-=t.slice(o,i*Tt).reduce(yn,0)),s}const jl={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]},Wl=Object.keys(jl),Vr={virtualScrollHorizontal:Boolean,onVirtualScroll:Function,...jl};function Kl({virtualScrollLength:e,getVirtualScrollTarget:t,getVirtualScrollEl:n,virtualScrollItemSizeComputed:o}){const r=a.getCurrentInstance(),{props:l,emit:i,proxy:s}=r,{$q:u}=s;let f,c,m,g=[],h;const d=a.ref(0),b=a.ref(0),_=a.ref({}),p=a.ref(null),y=a.ref(null),C=a.ref(null),v=a.ref({from:0,to:0}),O=a.computed(()=>l.tableColspan!==void 0?l.tableColspan:100);o===void 0&&(o=a.computed(()=>l.virtualScrollItemSize));const D=a.computed(()=>o.value+";"+l.virtualScrollHorizontal),k=a.computed(()=>D.value+";"+l.virtualScrollSliceRatioBefore+";"+l.virtualScrollSliceRatioAfter);a.watch(k,()=>{W()}),a.watch(D,B);function B(){J(c,!0)}function I(x){J(x===void 0?c:x)}function P(x,T){const H=t();if(H==null||H.nodeType===8)return;const re=Lr(H,n(),p.value,y.value,l.virtualScrollHorizontal,u.lang.rtl,l.virtualScrollStickySizeStart,l.virtualScrollStickySizeEnd);m!==re.scrollViewSize&&W(re.scrollViewSize),N(H,re,Math.min(e.value-1,Math.max(0,parseInt(x,10)||0)),0,cf.indexOf(T)!==-1?T:c!==-1&&x>c?"end":"start")}function F(){const x=t();if(x==null||x.nodeType===8)return;const T=Lr(x,n(),p.value,y.value,l.virtualScrollHorizontal,u.lang.rtl,l.virtualScrollStickySizeStart,l.virtualScrollStickySizeEnd),H=e.value-1,re=T.scrollMaxSize-T.offsetStart-T.offsetEnd-b.value;if(f===T.scrollStart)return;if(T.scrollMaxSize<=0){N(x,T,0,0);return}m!==T.scrollViewSize&&W(T.scrollViewSize),K(v.value.from);const ae=Math.floor(T.scrollMaxSize-Math.max(T.scrollViewSize,T.offsetEnd)-Math.min(h[H],T.scrollViewSize/2));if(ae>0&&Math.ceil(T.scrollStart)>=ae){N(x,T,H,T.scrollMaxSize-T.offsetEnd-g.reduce(yn,0));return}let q=0,Q=T.scrollStart-T.offsetStart,pe=Q;if(Q<=re&&Q+T.scrollViewSize>=d.value)Q-=d.value,q=v.value.from,pe=Q;else for(let j=0;Q>=g[j]&&q<H;j++)Q-=g[j],q+=Tt;for(;Q>0&&q<H;)Q-=h[q],Q>-T.scrollViewSize?(q++,pe=Q):pe=h[q]+Q;N(x,T,q,pe)}function N(x,T,H,re,ae){const q=typeof ae=="string"&&ae.indexOf("-force")!==-1,Q=q===!0?ae.replace("-force",""):ae,pe=Q!==void 0?Q:"start";let j=Math.max(0,H-_.value[pe]),Ce=j+_.value.total;Ce>e.value&&(Ce=e.value,j=Math.max(0,Ce-_.value.total)),f=T.scrollStart;const Ve=j!==v.value.from||Ce!==v.value.to;if(Ve===!1&&Q===void 0){z(H);return}const{activeElement:Ct}=document,Be=C.value;Ve===!0&&Be!==null&&Be!==Ct&&Be.contains(Ct)===!0&&(Be.addEventListener("focusout",V),setTimeout(()=>{Be==null||Be.removeEventListener("focusout",V)})),df(Be,H-j);const ht=Q!==void 0?h.slice(j,H).reduce(yn,0):0;if(Ve===!0){const Ge=Ce>=v.value.from&&j<=v.value.to?v.value.to:Ce;v.value={from:j,to:Ge},d.value=Yn(g,h,0,j),b.value=Yn(g,h,Ce,e.value),requestAnimationFrame(()=>{v.value.to!==Ce&&f===T.scrollStart&&(v.value={from:v.value.from,to:Ce},b.value=Yn(g,h,Ce,e.value))})}requestAnimationFrame(()=>{if(f!==T.scrollStart)return;Ve===!0&&K(j);const Ge=h.slice(j,H).reduce(yn,0),nt=Ge+T.offsetStart+d.value,St=nt+h[H];let E=nt+re;if(Q!==void 0){const w=Ge-ht,R=T.scrollStart+w;E=q!==!0&&R<nt&&St<R+T.scrollViewSize?R:Q==="end"?St-T.scrollViewSize:nt-(Q==="start"?0:Math.round((T.scrollViewSize-h[H])/2))}f=E,zl(x,E,l.virtualScrollHorizontal,u.lang.rtl),z(H)})}function K(x){const T=C.value;if(T){const H=Hl.call(T.children,j=>j.classList&&j.classList.contains("q-virtual-scroll--skip")===!1),re=H.length,ae=l.virtualScrollHorizontal===!0?j=>j.getBoundingClientRect().width:j=>j.offsetHeight;let q=x,Q,pe;for(let j=0;j<re;){for(Q=ae(H[j]),j++;j<re&&H[j].classList.contains("q-virtual-scroll--with-prev")===!0;)Q+=ae(H[j]),j++;pe=Q-h[q],pe!==0&&(h[q]+=pe,g[Math.floor(q/Tt)]+=pe),q++}}}function V(){var x;(x=C.value)==null||x.focus()}function J(x,T){const H=1*o.value;(T===!0||Array.isArray(h)===!1)&&(h=[]);const re=h.length;h.length=e.value;for(let q=e.value-1;q>=re;q--)h[q]=H;const ae=Math.floor((e.value-1)/Tt);g=[];for(let q=0;q<=ae;q++){let Q=0;const pe=Math.min((q+1)*Tt,e.value);for(let j=q*Tt;j<pe;j++)Q+=h[j];g.push(Q)}c=-1,f=void 0,d.value=Yn(g,h,0,v.value.from),b.value=Yn(g,h,v.value.to,e.value),x>=0?(K(v.value.from),a.nextTick(()=>{P(x)})):G()}function W(x){if(x===void 0&&typeof window<"u"){const Q=t();Q!=null&&Q.nodeType!==8&&(x=Lr(Q,n(),p.value,y.value,l.virtualScrollHorizontal,u.lang.rtl,l.virtualScrollStickySizeStart,l.virtualScrollStickySizeEnd).scrollViewSize)}m=x;const T=parseFloat(l.virtualScrollSliceRatioBefore)||0,H=parseFloat(l.virtualScrollSliceRatioAfter)||0,re=1+T+H,ae=x===void 0||x<=0?1:Math.ceil(x/o.value),q=Math.max(1,ae,Math.ceil((l.virtualScrollSliceSize>0?l.virtualScrollSliceSize:10)/re));_.value={total:Math.ceil(q*re),start:Math.ceil(q*T),center:Math.ceil(q*(.5+T)),end:Math.ceil(q*(1+T)),view:ae}}function $(x,T){const H=l.virtualScrollHorizontal===!0?"width":"height",re={["--q-virtual-scroll-item-"+H]:o.value+"px"};return[x==="tbody"?a.h(x,{class:"q-virtual-scroll__padding",key:"before",ref:p},[a.h("tr",[a.h("td",{style:{[H]:`${d.value}px`,...re},colspan:O.value})])]):a.h(x,{class:"q-virtual-scroll__padding",key:"before",ref:p,style:{[H]:`${d.value}px`,...re}}),a.h(x,{class:"q-virtual-scroll__content",key:"content",ref:C,tabindex:-1},T.flat()),x==="tbody"?a.h(x,{class:"q-virtual-scroll__padding",key:"after",ref:y},[a.h("tr",[a.h("td",{style:{[H]:`${b.value}px`,...re},colspan:O.value})])]):a.h(x,{class:"q-virtual-scroll__padding",key:"after",ref:y,style:{[H]:`${b.value}px`,...re}})]}function z(x){c!==x&&(l.onVirtualScroll!==void 0&&i("virtualScroll",{index:x,from:v.value.from,to:v.value.to-1,direction:x<c?"decrease":"increase",ref:s}),c=x)}W();const G=Er(F,u.platform.is.ios===!0?120:35);a.onBeforeMount(()=>{W()});let ee=!1;return a.onDeactivated(()=>{ee=!0}),a.onActivated(()=>{if(ee!==!0)return;const x=t();f!==void 0&&x!==void 0&&x!==null&&x.nodeType!==8?zl(x,f,l.virtualScrollHorizontal,u.lang.rtl):P(c)}),a.onBeforeUnmount(()=>{G.cancel()}),Object.assign(s,{scrollTo:P,reset:B,refresh:I}),{virtualScrollSliceRange:v,virtualScrollSliceSizeComputed:_,setVirtualScrollSize:W,onVirtualScrollEvt:G,localResetVirtualScroll:J,padVirtualScroll:$,scrollTo:P,reset:B,refresh:I}}function Rr(e,t){const n=e.style;for(const o in t)n[o]=t[o]}function ff(e){if(e==null)return;if(typeof e=="string")try{return document.querySelector(e)||void 0}catch{return}const t=a.unref(e);if(t)return t.$el||t}function Yl(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 Br=[Element,String],mf=[null,document,document.body,document.scrollingElement,document.documentElement];function Mr(e,t){let n=ff(t);if(n===void 0){if(e==null)return window;n=e.closest(".scroll,.scroll-y,.overflow-auto")}return mf.includes(n)?window:n}function hf(e){return e===window?window.pageYOffset||window.scrollY||document.body.scrollTop||0:e.scrollTop}function gf(e){return e===window?window.pageXOffset||window.scrollX||document.body.scrollLeft||0:e.scrollLeft}let No;function pf(){if(No!==void 0)return No;const e=document.createElement("p"),t=document.createElement("div");Rr(e,{width:"100%",height:"200px"}),Rr(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(),No=n-o,No}function _f(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 bf={list:Pr,table:$l},yf=["list","table","__qtable"],vf=ge({name:"QVirtualScroll",props:{...Vr,type:{type:String,default:"list",validator:e=>yf.includes(e)},items:{type:Array,default:()=>[]},itemsFn:Function,itemsSize:Number,scrollTarget:Br},setup(e,{slots:t,attrs:n}){let o;const r=a.ref(null),l=a.computed(()=>e.itemsSize>=0&&e.itemsFn!==void 0?parseInt(e.itemsSize,10):Array.isArray(e.items)?e.items.length:0),{virtualScrollSliceRange:i,localResetVirtualScroll:s,padVirtualScroll:u,onVirtualScrollEvt:f}=Kl({virtualScrollLength:l,getVirtualScrollTarget:d,getVirtualScrollEl:h}),c=a.computed(()=>{if(l.value===0)return[];const y=(C,v)=>({index:i.value.from+v,item:C});return e.itemsFn===void 0?e.items.slice(i.value.from,i.value.to).map(y):e.itemsFn(i.value.from,i.value.to-i.value.from).map(y)}),m=a.computed(()=>"q-virtual-scroll q-virtual-scroll"+(e.virtualScrollHorizontal===!0?"--horizontal":"--vertical")+(e.scrollTarget!==void 0?"":" scroll")),g=a.computed(()=>e.scrollTarget!==void 0?{}:{tabindex:0});a.watch(l,()=>{s()}),a.watch(()=>e.scrollTarget,()=>{_(),b()});function h(){return r.value.$el||r.value}function d(){return o}function b(){o=Mr(h(),e.scrollTarget),o.addEventListener("scroll",f,Je.passive)}function _(){o!==void 0&&(o.removeEventListener("scroll",f,Je.passive),o=void 0)}function p(){let y=u(e.type==="list"?"div":"tbody",c.value.map(t.default));return t.before!==void 0&&(y=t.before().concat(y)),At(t.after,y)}return a.onBeforeMount(()=>{s()}),a.onMounted(()=>{b()}),a.onActivated(()=>{b()}),a.onDeactivated(()=>{_()}),a.onBeforeUnmount(()=>{_()}),()=>{if(t.default===void 0){console.error("QVirtualScroll: default scoped slot is required for rendering");return}return e.type==="__qtable"?Ul({ref:r,class:"q-table__middle "+m.value},p()):a.h(bf[e.type],{...n,ref:r,class:[n.class,m.value],...g.value},p)}}}),Gl={size:{type:[String,Number],default:"1em"},color:String};function Ql(e){return{cSize:a.computed(()=>e.size in Nr?`${Nr[e.size]}px`:e.size),classes:a.computed(()=>"q-spinner"+(e.color?` text-${e.color}`:""))}}const Xl=ge({name:"QSpinner",props:{...Gl,thickness:{type:Number,default:5}},setup(e){const{cSize:t,classes:n}=Ql(e);return()=>a.h("svg",{class:n.value+" q-spinner-mat",width:t.value,height:t.value,viewBox:"25 25 50 50"},[a.h("circle",{class:"path",cx:"50",cy:"50",r:"20",fill:"none",stroke:"currentColor","stroke-width":e.thickness,"stroke-miterlimit":"10"})])}});let Fr,Do=0;const et=new Array(256);for(let e=0;e<256;e++)et[e]=(e+256).toString(16).substring(1);const Ef=(()=>{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}})(),Zl=4096;function qr(){(Fr===void 0||Do+16>Zl)&&(Do=0,Fr=Ef(Zl));const e=Array.prototype.slice.call(Fr,Do,Do+=16);return e[6]=e[6]&15|64,e[8]=e[8]&63|128,et[e[0]]+et[e[1]]+et[e[2]]+et[e[3]]+"-"+et[e[4]]+et[e[5]]+"-"+et[e[6]]+et[e[7]]+"-"+et[e[8]]+et[e[9]]+"-"+et[e[10]]+et[e[11]]+et[e[12]]+et[e[13]]+et[e[14]]+et[e[15]]}function Cf(e){return e??null}function Jl(e,t){return e??(t===!0?`f_${qr()}`:null)}function Sf({getValue:e,required:t=!0}={}){if(Ht.value===!0){const n=e!==void 0?a.ref(Cf(e())):a.ref(null);return t===!0&&n.value===null&&a.onMounted(()=>{n.value=`f_${qr()}`}),e!==void 0&&a.watch(e,o=>{n.value=Jl(o,t)}),n}return e!==void 0?a.computed(()=>Jl(e(),t)):a.ref(`f_${qr()}`)}const ei=/^on[A-Z]/;function wf(){const{attrs:e,vnode:t}=a.getCurrentInstance(),n={listeners:a.ref({}),attributes:a.ref({})};function o(){const r={},l={};for(const i in e)i!=="class"&&i!=="style"&&ei.test(i)===!1&&(r[i]=e[i]);for(const i in t.props)ei.test(i)===!0&&(l[i]=t.props[i]);n.attributes.value=r,n.listeners.value=l}return a.onBeforeUpdate(o),o(),n}function kf({validate:e,resetValidation:t,requiresQForm:n}){const o=a.inject(Kd,!1);if(o!==!1){const{props:r,proxy:l}=a.getCurrentInstance();Object.assign(l,{validate:e,resetValidation:t}),a.watch(()=>r.disable,i=>{i===!0?(typeof t=="function"&&t(),o.unbindComponent(l)):o.bindComponent(l)}),a.onMounted(()=>{r.disable!==!0&&o.bindComponent(l)}),a.onBeforeUnmount(()=>{r.disable!==!0&&o.unbindComponent(l)})}else n===!0&&console.error("Parent QForm not found on useFormChild()!")}const ti=/^#[0-9a-fA-F]{3}([0-9a-fA-F]{3})?$/,ni=/^#[0-9a-fA-F]{4}([0-9a-fA-F]{4})?$/,oi=/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/,Io=/^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])\)$/,Ao=/^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)\)$/,$r={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=>ti.test(e),hexaColor:e=>ni.test(e),hexOrHexaColor:e=>oi.test(e),rgbColor:e=>Io.test(e),rgbaColor:e=>Ao.test(e),rgbOrRgbaColor:e=>Io.test(e)||Ao.test(e),hexOrRgbColor:e=>ti.test(e)||Io.test(e),hexaOrRgbaColor:e=>ni.test(e)||Ao.test(e),anyColor:e=>oi.test(e)||Io.test(e)||Ao.test(e)},Tf=[!0,!1,"ondemand"],Of={modelValue:{},error:{type:Boolean,default:null},errorMessage:String,noErrorIcon:Boolean,rules:Array,reactiveRules:Boolean,lazyRules:{type:[Boolean,String],default:!1,validator:e=>Tf.includes(e)}};function xf(e,t){const{props:n,proxy:o}=a.getCurrentInstance(),r=a.ref(!1),l=a.ref(null),i=a.ref(!1);kf({validate:b,resetValidation:d});let s=0,u;const f=a.computed(()=>n.rules!==void 0&&n.rules!==null&&n.rules.length!==0),c=a.computed(()=>n.disable!==!0&&f.value===!0&&t.value===!1),m=a.computed(()=>n.error===!0||r.value===!0),g=a.computed(()=>typeof n.errorMessage=="string"&&n.errorMessage.length!==0?n.errorMessage:l.value);a.watch(()=>n.modelValue,()=>{i.value=!0,c.value===!0&&n.lazyRules===!1&&_()});function h(){n.lazyRules!=="ondemand"&&c.value===!0&&i.value===!0&&_()}a.watch(()=>n.reactiveRules,p=>{p===!0?u===void 0&&(u=a.watch(()=>n.rules,h,{immediate:!0,deep:!0})):u!==void 0&&(u(),u=void 0)},{immediate:!0}),a.watch(()=>n.lazyRules,h),a.watch(e,p=>{p===!0?i.value=!0:c.value===!0&&n.lazyRules!=="ondemand"&&_()});function d(){s++,t.value=!1,i.value=!1,r.value=!1,l.value=null,_.cancel()}function b(p=n.modelValue){if(n.disable===!0||f.value===!1)return!0;const y=++s,C=t.value!==!0?()=>{i.value=!0}:()=>{},v=(D,k)=>{D===!0&&C(),r.value=D,l.value=k||null,t.value=!1},O=[];for(let D=0;D<n.rules.length;D++){const k=n.rules[D];let B;if(typeof k=="function"?B=k(p,$r):typeof k=="string"&&$r[k]!==void 0&&(B=$r[k](p)),B===!1||typeof B=="string")return v(!0,B),!1;B!==!0&&B!==void 0&&O.push(B)}return O.length===0?(v(!1),!0):(t.value=!0,Promise.all(O).then(D=>{if(D===void 0||Array.isArray(D)===!1||D.length===0)return y===s&&v(!1),!0;const k=D.find(B=>B===!1||typeof B=="string");return y===s&&v(k!==void 0,k),k===void 0},D=>(y===s&&(console.error(D),v(!0)),!1)))}const _=Er(b,0);return a.onBeforeUnmount(()=>{u==null||u(),_.cancel()}),Object.assign(o,{resetValidation:d,validate:b}),gt(o,"hasError",()=>m.value),{isDirtyModel:i,hasRules:f,hasError:m,errorMessage:g,validate:b,resetValidation:d}}let nn=[],Gn=[];function ri(e){Gn=Gn.filter(t=>t!==e)}function Nf(e){ri(e),Gn.push(e)}function ai(e){ri(e),Gn.length===0&&nn.length!==0&&(nn[nn.length-1](),nn=[])}function Po(e){Gn.length===0?e():nn.push(e)}function Df(e){nn=nn.filter(t=>t!==e)}function Qn(e){return e!=null&&(""+e).length!==0}const Lo={...{...dt,...Of,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]},Ur=["update:modelValue","clear","focus","blur"];function Hr({requiredForAttr:e=!0,tagProp:t,changeEvent:n=!1}={}){const{props:o,proxy:r}=a.getCurrentInstance(),l=ft(o,r.$q),i=Sf({required:e,getValue:()=>o.for});return{requiredForAttr:e,changeEvent:n,tag:t===!0?a.computed(()=>o.tag):{value:"label"},isDark:l,editable:a.computed(()=>o.disable!==!0&&o.readonly!==!0),innerLoading:a.ref(!1),focused:a.ref(!1),hasPopupOpen:!1,splitAttrs:wf(),targetUid:i,rootRef:a.ref(null),targetRef:a.ref(null),controlRef:a.ref(null)}}function zr(e){const{props:t,emit:n,slots:o,attrs:r,proxy:l}=a.getCurrentInstance(),{$q:i}=l;let s=null;e.hasValue===void 0&&(e.hasValue=a.computed(()=>Qn(t.modelValue))),e.emitValue===void 0&&(e.emitValue=z=>{n("update:modelValue",z)}),e.controlEvents===void 0&&(e.controlEvents={onFocusin:I,onFocusout:P}),Object.assign(e,{clearValue:F,onControlFocusin:I,onControlFocusout:P,focus:k}),e.computedCounter===void 0&&(e.computedCounter=a.computed(()=>{if(t.counter!==!1){const z=typeof t.modelValue=="string"||typeof t.modelValue=="number"?(""+t.modelValue).length:Array.isArray(t.modelValue)===!0?t.modelValue.length:0,G=t.maxlength!==void 0?t.maxlength:t.maxValues;return z+(G!==void 0?" / "+G:"")}}));const{isDirtyModel:u,hasRules:f,hasError:c,errorMessage:m,resetValidation:g}=xf(e.focused,e.innerLoading),h=e.floatingLabel!==void 0?a.computed(()=>t.stackLabel===!0||e.focused.value===!0||e.floatingLabel.value===!0):a.computed(()=>t.stackLabel===!0||e.focused.value===!0||e.hasValue.value===!0),d=a.computed(()=>t.bottomSlots===!0||t.hint!==void 0||f.value===!0||t.counter===!0||t.error!==null),b=a.computed(()=>t.filled===!0?"filled":t.outlined===!0?"outlined":t.borderless===!0?"borderless":t.standout?"standout":"standard"),_=a.computed(()=>`q-field row no-wrap items-start q-field--${b.value}`+(e.fieldClass!==void 0?` ${e.fieldClass.value}`:"")+(t.rounded===!0?" q-field--rounded":"")+(t.square===!0?" q-field--square":"")+(h.value===!0?" q-field--float":"")+(y.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":"")+(c.value===!0?" q-field--error":"")+(c.value===!0||e.focused.value===!0?" q-field--highlighted":"")+(t.hideBottomSpace!==!0&&d.value===!0?" q-field--with-bottom":"")+(t.disable===!0?" q-field--disabled":t.readonly===!0?" q-field--readonly":"")),p=a.computed(()=>"q-field__control relative-position row no-wrap"+(t.bgColor!==void 0?` bg-${t.bgColor}`:"")+(c.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}`:"")),y=a.computed(()=>t.labelSlot===!0||t.label!==void 0),C=a.computed(()=>"q-field__label no-pointer-events absolute ellipsis"+(t.labelColor!==void 0&&c.value!==!0?` text-${t.labelColor}`:"")),v=a.computed(()=>({id:e.targetUid.value,editable:e.editable.value,focused:e.focused.value,floatingLabel:h.value,modelValue:t.modelValue,emitValue:e.emitValue})),O=a.computed(()=>{const z={};return e.targetUid.value&&(z.for=e.targetUid.value),t.disable===!0&&(z["aria-disabled"]="true"),z});function D(){var ee;const z=document.activeElement;let G=(ee=e.targetRef)==null?void 0:ee.value;G&&(z===null||z.id!==e.targetUid.value)&&(G.hasAttribute("tabindex")===!0||(G=G.querySelector("[tabindex]")),G!==z&&(G==null||G.focus({preventScroll:!0})))}function k(){Po(D)}function B(){Df(D);const z=document.activeElement;z!==null&&e.rootRef.value.contains(z)&&z.blur()}function I(z){s!==null&&(clearTimeout(s),s=null),e.editable.value===!0&&e.focused.value===!1&&(e.focused.value=!0,n("focus",z))}function P(z,G){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",z)),G==null||G())})}function F(z){var G;He(z),i.platform.is.mobile!==!0?(((G=e.targetRef)==null?void 0:G.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),a.nextTick(()=>{const ee=u.value;g(),u.value=ee})}function N(z){[13,32].includes(z.keyCode)&&F(z)}function K(){const z=[];return o.prepend!==void 0&&z.push(a.h("div",{class:"q-field__prepend q-field__marginal row no-wrap items-center",key:"prepend",onClick:kt},o.prepend())),z.push(a.h("div",{class:"q-field__control-container col relative-position row no-wrap q-anchor--skip"},V())),c.value===!0&&t.noErrorIcon===!1&&z.push(W("error",[a.h(Ae,{name:i.iconSet.field.error,color:"negative"})])),t.loading===!0||e.innerLoading.value===!0?z.push(W("inner-loading-append",o.loading!==void 0?o.loading():[a.h(Xl,{color:t.color})])):t.clearable===!0&&e.hasValue.value===!0&&e.editable.value===!0&&z.push(W("inner-clearable-append",[a.h(Ae,{class:"q-field__focusable-action",name:t.clearIcon||i.iconSet.field.clear,tabindex:0,role:"button","aria-hidden":"false","aria-label":i.lang.label.clear,onKeyup:N,onClick:F})])),o.append!==void 0&&z.push(a.h("div",{class:"q-field__append q-field__marginal row no-wrap items-center",key:"append",onClick:kt},o.append())),e.getInnerAppend!==void 0&&z.push(W("inner-append",e.getInnerAppend())),e.getControlChild!==void 0&&z.push(e.getControlChild()),z}function V(){const z=[];return t.prefix!==void 0&&t.prefix!==null&&z.push(a.h("div",{class:"q-field__prefix no-pointer-events row items-center"},t.prefix)),e.getShadowControl!==void 0&&e.hasShadow.value===!0&&z.push(e.getShadowControl()),e.getControl!==void 0?z.push(e.getControl()):o.rawControl!==void 0?z.push(o.rawControl()):o.control!==void 0&&z.push(a.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(v.value))),y.value===!0&&z.push(a.h("div",{class:C.value},ve(o.label,t.label))),t.suffix!==void 0&&t.suffix!==null&&z.push(a.h("div",{class:"q-field__suffix no-pointer-events row items-center"},t.suffix)),z.concat(ve(o.default))}function J(){let z,G;c.value===!0?m.value!==null?(z=[a.h("div",{role:"alert"},m.value)],G=`q--slot-error-${m.value}`):(z=ve(o.error),G="q--slot-error"):(t.hideHint!==!0||e.focused.value===!0)&&(t.hint!==void 0?(z=[a.h("div",t.hint)],G=`q--slot-hint-${t.hint}`):(z=ve(o.hint),G="q--slot-hint"));const ee=t.counter===!0||o.counter!==void 0;if(t.hideBottomSpace===!0&&ee===!1&&z===void 0)return;const x=a.h("div",{key:G,class:"q-field__messages col"},z);return a.h("div",{class:"q-field__bottom row items-start q-field__bottom--"+(t.hideBottomSpace!==!0?"animated":"stale"),onClick:kt},[t.hideBottomSpace===!0?x:a.h(a.Transition,{name:"q-transition--field-message"},()=>x),ee===!0?a.h("div",{class:"q-field__counter"},o.counter!==void 0?o.counter():e.computedCounter.value):null])}function W(z,G){return G===null?null:a.h("div",{key:z,class:"q-field__append q-field__marginal row no-wrap items-center q-anchor--skip"},G)}let $=!1;return a.onDeactivated(()=>{$=!0}),a.onActivated(()=>{$===!0&&t.autofocus===!0&&l.focus()}),t.autofocus===!0&&a.onMounted(()=>{l.focus()}),a.onBeforeUnmount(()=>{s!==null&&clearTimeout(s)}),Object.assign(l,{focus:k,blur:B}),function(){const G=e.getControl===void 0&&o.control===void 0?{...e.splitAttrs.attributes.value,"data-autofocus":t.autofocus===!0||void 0,...O.value}:O.value;return a.h(e.tag.value,{ref:e.rootRef,class:[_.value,r.class],style:r.style,...G},[o.before!==void 0?a.h("div",{class:"q-field__before q-field__marginal row no-wrap items-center",onClick:kt},o.before()):null,a.h("div",{class:"q-field__inner relative-position col self-stretch"},[a.h("div",{ref:e.controlRef,class:p.value,tabindex:-1,...e.controlEvents},K()),d.value===!0?J():null]),o.after!==void 0?a.h("div",{class:"q-field__after q-field__marginal row no-wrap items-center",onClick:kt},o.after()):null])}}const If=ge({name:"QField",inheritAttrs:!1,props:{...Lo,tag:{type:String,default:"label"}},emits:Ur,setup(){return zr(Hr({tagProp:!0}))}});function Af(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 li(e,t,n,o){n.modifiers.stop===!0&&Dt(e);const r=n.modifiers.color;let l=n.modifiers.center;l=l===!0||o===!0;const i=document.createElement("span"),s=document.createElement("span"),u=Tl(e),{left:f,top:c,width:m,height:g}=t.getBoundingClientRect(),h=Math.sqrt(m*m+g*g),d=h/2,b=`${(m-h)/2}px`,_=l?b:`${u.left-f-d}px`,p=`${(g-h)/2}px`,y=l?p:`${u.top-c-d}px`;s.className="q-ripple__inner",Rr(s,{height:`${h}px`,width:`${h}px`,transform:`translate3d(${_},${y},0) scale3d(.2,.2,1)`,opacity:0}),i.className=`q-ripple${r?" text-"+r:""}`,i.setAttribute("dir","ltr"),i.appendChild(s),t.appendChild(i);const C=()=>{i.remove(),clearTimeout(v)};n.abort.push(C);let v=setTimeout(()=>{s.classList.add("q-ripple__inner--enter"),s.style.transform=`translate3d(${b},${p},0) scale3d(1,1,1)`,s.style.opacity=.2,v=setTimeout(()=>{s.classList.remove("q-ripple__inner--enter"),s.classList.add("q-ripple__inner--leave"),s.style.opacity=0,v=setTimeout(()=>{i.remove(),n.abort.splice(n.abort.indexOf(C),1)},275)},250)},50)}function ii(e,{modifiers:t,value:n,arg:o}){const r=Object.assign({},e.cfg.ripple,t,n);e.modifiers={early:r.early===!0,stop:r.stop===!0,center:r.center===!0,color:r.color||o,keyCodes:[].concat(r.keyCodes||13)}}const si=Pd({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(r){o.enabled===!0&&r.qSkipRipple!==!0&&r.type===(o.modifiers.early===!0?"pointerdown":"click")&&li(r,e,o,r.qKeyEvent===!0)},keystart:Af(r=>{o.enabled===!0&&r.qSkipRipple!==!0&&tn(r,o.modifiers.keyCodes)===!0&&r.type===`key${o.modifiers.early===!0?"down":"up"}`&&li(r,e,o,!0)},300)};ii(o,t),e.__qripple=o,zn(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&&ii(n,t))}},beforeUnmount(e){const t=e.__qripple;t!==void 0&&(t.abort.forEach(n=>{n()}),wo(t,"main"),delete e._qripple)}}),Pf={xs:8,sm:10,md:14,lg:20,xl:24},Lf=ge({name:"QChip",props:{...dt,...Wn,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}}=a.getCurrentInstance(),r=ft(e,o),l=Kn(e,Pf),i=a.computed(()=>e.selected===!0||e.icon!==void 0),s=a.computed(()=>e.selected===!0?e.iconSelected||o.iconSet.chip.selected:e.icon),u=a.computed(()=>e.iconRemove||o.iconSet.chip.remove),f=a.computed(()=>e.disable===!1&&(e.clickable===!0||e.selected!==null)),c=a.computed(()=>{const _=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}`:"")+(_?` text-${_} 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":"")+(f.value===!0?" q-chip--clickable cursor-pointer non-selectable q-hoverable":"")+(e.square===!0?" q-chip--square":"")+(r.value===!0?" q-chip--dark q-dark":"")}),m=a.computed(()=>{const _=e.disable===!0?{tabindex:-1,"aria-disabled":"true"}:{tabindex:e.tabindex||0},p={..._,role:"button","aria-hidden":"false","aria-label":e.removeAriaLabel||o.lang.label.remove};return{chip:_,remove:p}});function g(_){_.keyCode===13&&h(_)}function h(_){e.disable||(n("update:selected",!e.selected),n("click",_))}function d(_){(_.keyCode===void 0||_.keyCode===13)&&(He(_),e.disable===!1&&(n("update:modelValue",!1),n("remove")))}function b(){const _=[];f.value===!0&&_.push(a.h("div",{class:"q-focus-helper"})),i.value===!0&&_.push(a.h(Ae,{class:"q-chip__icon q-chip__icon--left",name:s.value}));const p=e.label!==void 0?[a.h("div",{class:"ellipsis"},[e.label])]:void 0;return _.push(a.h("div",{class:"q-chip__content col row no-wrap items-center q-anchor--skip"},Zd(t.default,p))),e.iconRight&&_.push(a.h(Ae,{class:"q-chip__icon q-chip__icon--right",name:e.iconRight})),e.removable===!0&&_.push(a.h(Ae,{class:"q-chip__icon q-chip__icon--remove cursor-pointer",name:u.value,...m.value.remove,onClick:d,onKeyup:d})),_}return()=>{if(e.modelValue===!1)return;const _={class:c.value,style:l.value};return f.value===!0&&Object.assign(_,m.value.chip,{onClick:h,onKeyup:g}),Jd("div",_,b(),"ripple",e.ripple!==!1&&e.disable!==!0,()=>[[si,e.ripple]])}}});function jr(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 Wr(e){return e.appContext.config.globalProperties.$router!==void 0}function ui(e){return e.isUnmounted===!0||e.isDeactivated===!0}function ci(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}function di(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Vf(e,t){for(const n in t){const o=t[n],r=e[n];if(typeof o=="string"){if(o!==r)return!1}else if(Array.isArray(r)===!1||r.length!==o.length||o.some((l,i)=>l!==r[i]))return!1}return!0}function fi(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 Rf(e,t){return Array.isArray(e)===!0?fi(e,t):Array.isArray(t)===!0?fi(t,e):e===t}function Bf(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(Rf(e[n],t[n])===!1)return!1;return!0}const mi={to:[String,Object],replace:Boolean,href:String,target:String,disable:Boolean},Mf={...mi,exact:Boolean,activeClass:{type:String,default:"q-router-link--active"},exactActiveClass:{type:String,default:"q-router-link--exact-active"}};function hi({fallbackTag:e,useDisableForRouterLinkProps:t=!0}={}){const n=a.getCurrentInstance(),{props:o,proxy:r,emit:l}=n,i=Wr(n),s=a.computed(()=>o.disable!==!0&&o.href!==void 0),u=t===!0?a.computed(()=>i===!0&&o.disable!==!0&&s.value!==!0&&o.to!==void 0&&o.to!==null&&o.to!==""):a.computed(()=>i===!0&&s.value!==!0&&o.to!==void 0&&o.to!==null&&o.to!==""),f=a.computed(()=>u.value===!0?y(o.to):null),c=a.computed(()=>f.value!==null),m=a.computed(()=>s.value===!0||c.value===!0),g=a.computed(()=>o.type==="a"||m.value===!0?"a":o.tag||e||"div"),h=a.computed(()=>s.value===!0?{href:o.href,target:o.target}:c.value===!0?{href:f.value.href,target:o.target}:{}),d=a.computed(()=>{if(c.value===!1)return-1;const{matched:O}=f.value,{length:D}=O,k=O[D-1];if(k===void 0)return-1;const B=r.$route.matched;if(B.length===0)return-1;const I=B.findIndex(di.bind(null,k));if(I!==-1)return I;const P=ci(O[D-2]);return D>1&&ci(k)===P&&B[B.length-1].path!==P?B.findIndex(di.bind(null,O[D-2])):I}),b=a.computed(()=>c.value===!0&&d.value!==-1&&Vf(r.$route.params,f.value.params)),_=a.computed(()=>b.value===!0&&d.value===r.$route.matched.length-1&&Bf(r.$route.params,f.value.params)),p=a.computed(()=>c.value===!0?_.value===!0?` ${o.exactActiveClass} ${o.activeClass}`:o.exact===!0?"":b.value===!0?` ${o.activeClass}`:"":"");function y(O){try{return r.$router.resolve(O)}catch{}return null}function C(O,{returnRouterError:D,to:k=o.to,replace:B=o.replace}={}){if(o.disable===!0)return O.preventDefault(),Promise.resolve(!1);if(O.metaKey||O.altKey||O.ctrlKey||O.shiftKey||O.button!==void 0&&O.button!==0||o.target==="_blank")return Promise.resolve(!1);O.preventDefault();const I=r.$router[B===!0?"replace":"push"](k);return D===!0?I:I.then(()=>{}).catch(()=>{})}function v(O){if(c.value===!0){const D=k=>C(O,k);l("click",O,D),O.defaultPrevented!==!0&&D()}else l("click",O)}return{hasRouterLink:c,hasHrefLink:s,hasLink:m,linkTag:g,resolvedLink:f,linkIsActive:b,linkIsExactActive:_,linkClass:p,linkAttrs:h,getLink:y,navigateToRouterLink:C,navigateOnClick:v}}const yt=ge({name:"QItem",props:{...dt,...Mf,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}}=a.getCurrentInstance(),r=ft(e,o),{hasLink:l,linkAttrs:i,linkClass:s,linkTag:u,navigateOnClick:f}=hi(),c=a.ref(null),m=a.ref(null),g=a.computed(()=>e.clickable===!0||l.value===!0||e.tag==="label"),h=a.computed(()=>e.disable!==!0&&g.value===!0),d=a.computed(()=>"q-item q-item-type row no-wrap"+(e.dense===!0?" q-item--dense":"")+(r.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":"")+(h.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":""):"")),b=a.computed(()=>e.insetLevel===void 0?null:{["padding"+(o.lang.rtl===!0?"Right":"Left")]:16+e.insetLevel*56+"px"});function _(C){h.value===!0&&(m.value!==null&&C.qAvoidFocus!==!0&&(C.qKeyEvent!==!0&&document.activeElement===c.value?m.value.focus():document.activeElement===m.value&&c.value.focus()),f(C))}function p(C){if(h.value===!0&&tn(C,[13,32])===!0){He(C),C.qKeyEvent=!0;const v=new MouseEvent("click",C);v.qKeyEvent=!0,c.value.dispatchEvent(v)}n("keyup",C)}function y(){const C=Vl(t.default,[]);return h.value===!0&&C.unshift(a.h("div",{class:"q-focus-helper",tabindex:-1,ref:m})),C}return()=>{const C={ref:c,class:d.value,style:b.value,role:"listitem",onClick:_,onKeyup:p};return h.value===!0?(C.tabindex=e.tabindex||"0",Object.assign(C,i.value)):g.value===!0&&(C["aria-disabled"]="true"),a.h(u.value,C,y())}}}),tt=ge({name:"QItemSection",props:{avatar:Boolean,thumbnail:Boolean,side:Boolean,top:Boolean,noWrap:Boolean},setup(e,{slots:t}){const n=a.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()=>a.h("div",{class:n.value},ve(t.default))}}),Xe=ge({name:"QItemLabel",props:{overline:Boolean,caption:Boolean,header:Boolean,lines:[Number,String]},setup(e,{slots:t}){const n=a.computed(()=>parseInt(e.lines,10)),o=a.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":"")),r=a.computed(()=>e.lines!==void 0&&n.value>1?{overflow:"hidden",display:"-webkit-box","-webkit-box-orient":"vertical","-webkit-line-clamp":n.value}:null);return()=>a.h("div",{style:r.value,class:o.value},ve(t.default))}});function Kr(){if(window.getSelection!==void 0){const e=window.getSelection();e.empty!==void 0?e.empty():e.removeAllRanges!==void 0&&(e.removeAllRanges(),Co.is.mobile!==!0&&e.addRange(document.createRange()))}else document.selection!==void 0&&document.selection.empty()}const gi={target:{type:[Boolean,String,Element],default:!0},noParentEvent:Boolean},Ff={...gi,contextMenu:Boolean};function pi({showing:e,avoidEmit:t,configureAnchorEl:n}){const{props:o,proxy:r,emit:l}=a.getCurrentInstance(),i=a.ref(null);let s=null;function u(h){return i.value===null?!1:h===void 0||h.touches===void 0||h.touches.length<=1}const f={};n===void 0&&(Object.assign(f,{hide(h){r.hide(h)},toggle(h){r.toggle(h),h.qAnchorHandled=!0},toggleKey(h){tn(h,13)===!0&&f.toggle(h)},contextClick(h){r.hide(h),kt(h),a.nextTick(()=>{r.show(h),h.qAnchorHandled=!0})},prevent:kt,mobileTouch(h){if(f.mobileCleanup(h),u(h)!==!0)return;r.hide(h),i.value.classList.add("non-selectable");const d=h.target;zn(f,"anchor",[[d,"touchmove","mobileCleanup","passive"],[d,"touchend","mobileCleanup","passive"],[d,"touchcancel","mobileCleanup","passive"],[i.value,"contextmenu","prevent","notPassive"]]),s=setTimeout(()=>{s=null,r.show(h),h.qAnchorHandled=!0},300)},mobileCleanup(h){i.value.classList.remove("non-selectable"),s!==null&&(clearTimeout(s),s=null),e.value===!0&&h!==void 0&&Kr()}}),n=function(h=o.contextMenu){if(o.noParentEvent===!0||i.value===null)return;let d;h===!0?r.$q.platform.is.mobile===!0?d=[[i.value,"touchstart","mobileTouch","passive"]]:d=[[i.value,"mousedown","hide","passive"],[i.value,"contextmenu","contextClick","notPassive"]]:d=[[i.value,"click","toggle","passive"],[i.value,"keyup","toggleKey","passive"]],zn(f,"anchor",d)});function c(){wo(f,"anchor")}function m(h){for(i.value=h;i.value.classList.contains("q-anchor--skip");)i.value=i.value.parentNode;n()}function g(){if(o.target===!1||o.target===""||r.$el.parentNode===null)i.value=null;else if(o.target===!0)m(r.$el.parentNode);else{let h=o.target;if(typeof o.target=="string")try{h=document.querySelector(o.target)}catch{h=void 0}h!=null?(i.value=h.$el||h,n()):(i.value=null,console.error(`Anchor: target "${o.target}" not found`))}}return a.watch(()=>o.contextMenu,h=>{i.value!==null&&(c(),n(h))}),a.watch(()=>o.target,()=>{i.value!==null&&c(),g()}),a.watch(()=>o.noParentEvent,h=>{i.value!==null&&(h===!0?c():n())}),a.onMounted(()=>{g(),t!==!0&&o.modelValue===!0&&i.value===null&&l("update:modelValue",!1)}),a.onBeforeUnmount(()=>{s!==null&&clearTimeout(s),c()}),{anchorEl:i,canShow:u,anchorEvents:f}}function _i(e,t){const n=a.ref(null);let o;function r(s,u){const f=`${u!==void 0?"add":"remove"}EventListener`,c=u!==void 0?u:o;s!==window&&s[f]("scroll",c,Je.passive),window[f]("scroll",c,Je.passive),o=u}function l(){n.value!==null&&(r(n.value),n.value=null)}const i=a.watch(()=>e.noParentEvent,()=>{n.value!==null&&(l(),t())});return a.onBeforeUnmount(i),{localScrollTarget:n,unconfigureScrollTarget:l,changeScrollEvent:r}}const Yr={modelValue:{type:Boolean,default:null},"onUpdate:modelValue":[Function,Array]},Gr=["beforeShow","show","beforeHide","hide"];function Qr({showing:e,canShow:t,hideOnRouteChange:n,handleShow:o,handleHide:r,processOnMount:l}){const i=a.getCurrentInstance(),{props:s,emit:u,proxy:f}=i;let c;function m(y){e.value===!0?d(y):g(y)}function g(y){if(s.disable===!0||(y==null?void 0:y.qAnchorHandled)===!0||t!==void 0&&t(y)!==!0)return;const C=s["onUpdate:modelValue"]!==void 0;C===!0&&(u("update:modelValue",!0),c=y,a.nextTick(()=>{c===y&&(c=void 0)})),(s.modelValue===null||C===!1)&&h(y)}function h(y){e.value!==!0&&(e.value=!0,u("beforeShow",y),o!==void 0?o(y):u("show",y))}function d(y){if(s.disable===!0)return;const C=s["onUpdate:modelValue"]!==void 0;C===!0&&(u("update:modelValue",!1),c=y,a.nextTick(()=>{c===y&&(c=void 0)})),(s.modelValue===null||C===!1)&&b(y)}function b(y){e.value!==!1&&(e.value=!1,u("beforeHide",y),r!==void 0?r(y):u("hide",y))}function _(y){s.disable===!0&&y===!0?s["onUpdate:modelValue"]!==void 0&&u("update:modelValue",!1):y===!0!==e.value&&(y===!0?h:b)(c)}a.watch(()=>s.modelValue,_),n!==void 0&&Wr(i)===!0&&a.watch(()=>f.$route.fullPath,()=>{n.value===!0&&e.value===!0&&d()}),a.onMounted(()=>{_(s.modelValue)});const p={show:g,hide:d,toggle:m};return Object.assign(f,p),p}let qf=1,$f=document.body;function Uf(e,t){const n=document.createElement("div");if(n.id=t!==void 0?`q-portal--${t}--${qf++}`:e,To.globalNodes!==void 0){const o=To.globalNodes.class;o!==void 0&&(n.className=o)}return $f.appendChild(n),n}function Hf(e){e.remove()}const Xn=[];function zf(e,t){do{if(e.$options.name==="QMenu"){if(e.hide(t),e.$props.separateClosePopup===!0)return jr(e)}else if(e.__qPortal===!0){const n=jr(e);return(n==null?void 0:n.$options.name)==="QPopupProxy"?(e.hide(t),n):e}e=jr(e)}while(e!=null)}const jf=ge({name:"QPortal",setup(e,{slots:t}){return()=>t.default()}});function Wf(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 Xr(e,t,n,o){const r=a.ref(!1),l=a.ref(!1);let i=null;const s={},u=o==="dialog"&&Wf(e);function f(m){if(m===!0){ai(s),l.value=!0;return}l.value=!1,r.value===!1&&(u===!1&&i===null&&(i=Uf(!1,o)),r.value=!0,Xn.push(e.proxy),Nf(s))}function c(m){if(l.value=!1,m!==!0)return;ai(s),r.value=!1;const g=Xn.indexOf(e.proxy);g!==-1&&Xn.splice(g,1),i!==null&&(Hf(i),i=null)}return a.onUnmounted(()=>{c(!0)}),e.proxy.__qPortal=!0,gt(e.proxy,"contentEl",()=>t.value),{showPortal:f,hidePortal:c,portalIsActive:r,portalIsAccessible:l,renderPortal:()=>u===!0?n():r.value===!0?[a.h(a.Teleport,{to:i},a.h(jf,n))]:void 0}}const Zn={transitionShow:{type:String,default:"fade"},transitionHide:{type:String,default:"fade"},transitionDuration:{type:[String,Number],default:300}};function Zr(e,t=()=>{},n=()=>{}){return{transitionProps:a.computed(()=>{const o=`q-transition--${e.transitionShow||t()}`,r=`q-transition--${e.transitionHide||n()}`;return{appear:!0,enterFromClass:`${o}-enter-from`,enterActiveClass:`${o}-enter-active`,enterToClass:`${o}-enter-to`,leaveFromClass:`${r}-leave-from`,leaveActiveClass:`${r}-leave-active`,leaveToClass:`${r}-leave-to`}}),transitionStyle:a.computed(()=>`--q-transition-duration: ${e.transitionDuration}ms`)}}function Jr(){let e;const t=a.getCurrentInstance();function n(){e=void 0}return a.onDeactivated(n),a.onBeforeUnmount(n),{removeTick:n,registerTick(o){e=o,a.nextTick(()=>{e===o&&(ui(t)===!1&&e(),e=void 0)})}}}function ea(){let e=null;const t=a.getCurrentInstance();function n(){e!==null&&(clearTimeout(e),e=null)}return a.onDeactivated(n),a.onBeforeUnmount(n),{removeTimeout:n,registerTimeout(o,r){n(),ui(t)===!1&&(e=setTimeout(()=>{e=null,o()},r))}}}const on=[];let vn;function Kf(e){vn=e.keyCode===27}function Yf(){vn===!0&&(vn=!1)}function Gf(e){vn===!0&&(vn=!1,tn(e,27)===!0&&on[on.length-1](e))}function bi(e){window[e]("keydown",Kf),window[e]("blur",Yf),window[e]("keyup",Gf),vn=!1}function yi(e){Ue.is.desktop===!0&&(on.push(e),on.length===1&&bi("addEventListener"))}function Vo(e){const t=on.indexOf(e);t!==-1&&(on.splice(t,1),on.length===0&&bi("removeEventListener"))}const rn=[];function vi(e){rn[rn.length-1](e)}function Ei(e){Ue.is.desktop===!0&&(rn.push(e),rn.length===1&&document.body.addEventListener("focusin",vi))}function ta(e){const t=rn.indexOf(e);t!==-1&&(rn.splice(t,1),rn.length===0&&document.body.removeEventListener("focusin",vi))}const{notPassiveCapture:Ro}=Je,an=[];function Bo(e){const t=e.target;if(t===void 0||t.nodeType===8||t.classList.contains("no-pointer-events")===!0)return;let n=Xn.length-1;for(;n>=0;){const o=Xn[n].$;if(o.type.name==="QTooltip"){n--;continue}if(o.type.name!=="QDialog")break;if(o.props.seamless!==!0)return;n--}for(let o=an.length-1;o>=0;o--){const r=an[o];if((r.anchorEl.value===null||r.anchorEl.value.contains(t)===!1)&&(t===document.body||r.innerRef.value!==null&&r.innerRef.value.contains(t)===!1))e.qClickOutside=!0,r.onClickOutside(e);else return}}function Ci(e){an.push(e),an.length===1&&(document.addEventListener("mousedown",Bo,Ro),document.addEventListener("touchstart",Bo,Ro))}function Mo(e){const t=an.findIndex(n=>n===e);t!==-1&&(an.splice(t,1),an.length===0&&(document.removeEventListener("mousedown",Bo,Ro),document.removeEventListener("touchstart",Bo,Ro)))}let Si,wi;function Fo(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 ki(e){return e?!(e.length!==2||typeof e[0]!="number"||typeof e[1]!="number"):!0}const na={"start#ltr":"left","start#rtl":"right","end#ltr":"right","end#rtl":"left"};["left","middle","right"].forEach(e=>{na[`${e}#ltr`]=e,na[`${e}#rtl`]=e});function qo(e,t){const n=e.split(" ");return{vertical:n[0],horizontal:na[`${n[1]}#${t===!0?"rtl":"ltr"}`]}}function Qf(e,t){let{top:n,left:o,right:r,bottom:l,width:i,height:s}=e.getBoundingClientRect();return t!==void 0&&(n-=t[1],o-=t[0],l+=t[1],r+=t[0],i+=t[0],s+=t[1]),{top:n,bottom:l,height:s,left:o,right:r,width:i,middle:o+(r-o)/2,center:n+(l-n)/2}}function Xf(e,t,n){let{top:o,left:r}=e.getBoundingClientRect();return o+=t.top,r+=t.left,n!==void 0&&(o+=n[1],r+=n[0]),{top:o,bottom:o+1,height:1,left:r,right:r+1,width:1,middle:r,center:o}}function Zf(e,t){return{top:0,center:t/2,bottom:t,left:0,middle:e/2,right:e}}function Ti(e,t,n,o){return{top:e[n.vertical]-t[o.vertical],left:e[n.horizontal]-t[o.horizontal]}}function oa(e,t=0){if(e.targetEl===null||e.anchorEl===null||t>5)return;if(e.targetEl.offsetHeight===0||e.targetEl.offsetWidth===0){setTimeout(()=>{oa(e,t+1)},10);return}const{targetEl:n,offset:o,anchorEl:r,anchorOrigin:l,selfOrigin:i,absoluteOffset:s,fit:u,cover:f,maxHeight:c,maxWidth:m}=e;if(Ue.is.ios===!0&&window.visualViewport!==void 0){const D=document.body.style,{offsetLeft:k,offsetTop:B}=window.visualViewport;k!==Si&&(D.setProperty("--q-pe-left",k+"px"),Si=k),B!==wi&&(D.setProperty("--q-pe-top",B+"px"),wi=B)}const{scrollLeft:g,scrollTop:h}=n,d=s===void 0?Qf(r,f===!0?[0,0]:o):Xf(r,s,o);Object.assign(n.style,{top:0,left:0,minWidth:null,minHeight:null,maxWidth:m,maxHeight:c,visibility:"visible"});const{offsetWidth:b,offsetHeight:_}=n,{elWidth:p,elHeight:y}=u===!0||f===!0?{elWidth:Math.max(d.width,b),elHeight:f===!0?Math.max(d.height,_):_}:{elWidth:b,elHeight:_};let C={maxWidth:m,maxHeight:c};(u===!0||f===!0)&&(C.minWidth=d.width+"px",f===!0&&(C.minHeight=d.height+"px")),Object.assign(n.style,C);const v=Zf(p,y);let O=Ti(d,v,l,i);if(s===void 0||o===void 0)ra(O,d,v,l,i);else{const{top:D,left:k}=O;ra(O,d,v,l,i);let B=!1;if(O.top!==D){B=!0;const I=2*o[1];d.center=d.top-=I,d.bottom-=I+2}if(O.left!==k){B=!0;const I=2*o[0];d.middle=d.left-=I,d.right-=I+2}B===!0&&(O=Ti(d,v,l,i),ra(O,d,v,l,i))}C={top:O.top+"px",left:O.left+"px"},O.maxHeight!==void 0&&(C.maxHeight=O.maxHeight+"px",d.height>O.maxHeight&&(C.minHeight=C.maxHeight)),O.maxWidth!==void 0&&(C.maxWidth=O.maxWidth+"px",d.width>O.maxWidth&&(C.minWidth=C.maxWidth)),Object.assign(n.style,C),n.scrollTop!==h&&(n.scrollTop=h),n.scrollLeft!==g&&(n.scrollLeft=g)}function ra(e,t,n,o,r){const l=n.bottom,i=n.right,s=pf(),u=window.innerHeight-s,f=document.body.clientWidth;if(e.top<0||e.top+l>u)if(r.vertical==="center")e.top=t[o.vertical]>u/2?Math.max(0,u-l):0,e.maxHeight=Math.min(l,u);else if(t[o.vertical]>u/2){const c=Math.min(u,o.vertical==="center"?t.center:o.vertical===r.vertical?t.bottom:t.top);e.maxHeight=Math.min(l,c),e.top=Math.max(0,c-l)}else e.top=Math.max(0,o.vertical==="center"?t.center:o.vertical===r.vertical?t.top:t.bottom),e.maxHeight=Math.min(l,u-e.top);if(e.left<0||e.left+i>f)if(e.maxWidth=Math.min(i,f),r.horizontal==="middle")e.left=t[o.horizontal]>f/2?Math.max(0,f-i):0;else if(t[o.horizontal]>f/2){const c=Math.min(f,o.horizontal==="middle"?t.middle:o.horizontal===r.horizontal?t.right:t.left);e.maxWidth=Math.min(i,c),e.left=Math.max(0,c-e.maxWidth)}else e.left=Math.max(0,o.horizontal==="middle"?t.middle:o.horizontal===r.horizontal?t.left:t.right),e.maxWidth=Math.min(i,f-e.left)}const Oi=ge({name:"QMenu",inheritAttrs:!1,props:{...Ff,...Yr,...dt,...Zn,persistent:Boolean,autoClose:Boolean,separateClosePopup:Boolean,noEscDismiss:Boolean,noRouteDismiss:Boolean,noRefocus:Boolean,noFocus:Boolean,fit:Boolean,cover:Boolean,square:Boolean,anchor:{type:String,validator:Fo},self:{type:String,validator:Fo},offset:{type:Array,validator:ki},scrollTarget:Br,touchPosition:Boolean,maxHeight:{type:String,default:null},maxWidth:{type:String,default:null}},emits:[...Gr,"click","escapeKey"],setup(e,{slots:t,emit:n,attrs:o}){let r=null,l,i,s;const u=a.getCurrentInstance(),{proxy:f}=u,{$q:c}=f,m=a.ref(null),g=a.ref(!1),h=a.computed(()=>e.persistent!==!0&&e.noRouteDismiss!==!0),d=ft(e,c),{registerTick:b,removeTick:_}=Jr(),{registerTimeout:p}=ea(),{transitionProps:y,transitionStyle:C}=Zr(e),{localScrollTarget:v,changeScrollEvent:O,unconfigureScrollTarget:D}=_i(e,H),{anchorEl:k,canShow:B}=pi({showing:g}),{hide:I}=Qr({showing:g,canShow:B,handleShow:ee,handleHide:x,hideOnRouteChange:h,processOnMount:!0}),{showPortal:P,hidePortal:F,renderPortal:N}=Xr(u,m,pe,"menu"),K={anchorEl:k,innerRef:m,onClickOutside(j){if(e.persistent!==!0&&g.value===!0)return I(j),(j.type==="touchstart"||j.target.classList.contains("q-dialog__backdrop"))&&He(j),!0}},V=a.computed(()=>qo(e.anchor||(e.cover===!0?"center middle":"bottom start"),c.lang.rtl)),J=a.computed(()=>e.cover===!0?V.value:qo(e.self||"top start",c.lang.rtl)),W=a.computed(()=>(e.square===!0?" q-menu--square":"")+(d.value===!0?" q-menu--dark q-dark":"")),$=a.computed(()=>e.autoClose===!0?{onClick:re}:{}),z=a.computed(()=>g.value===!0&&e.persistent!==!0);a.watch(z,j=>{j===!0?(yi(q),Ci(K)):(Vo(q),Mo(K))});function G(){Po(()=>{let j=m.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 ee(j){if(r=e.noRefocus===!1?document.activeElement:null,Ei(ae),P(),H(),l=void 0,j!==void 0&&(e.touchPosition||e.contextMenu)){const Ce=Tl(j);if(Ce.left!==void 0){const{top:Ve,left:Ct}=k.value.getBoundingClientRect();l={left:Ce.left-Ct,top:Ce.top-Ve}}}i===void 0&&(i=a.watch(()=>c.screen.width+"|"+c.screen.height+"|"+e.self+"|"+e.anchor+"|"+c.lang.rtl,Q)),e.noFocus!==!0&&document.activeElement.blur(),b(()=>{Q(),e.noFocus!==!0&&G()}),p(()=>{c.platform.is.ios===!0&&(s=e.autoClose,m.value.click()),Q(),P(!0),n("show",j)},e.transitionDuration)}function x(j){_(),F(),T(!0),r!==null&&(j===void 0||j.qClickOutside!==!0)&&((((j==null?void 0:j.type.indexOf("key"))===0?r.closest('[tabindex]:not([tabindex^="-"])'):void 0)||r).focus(),r=null),p(()=>{F(!0),n("hide",j)},e.transitionDuration)}function T(j){l=void 0,i!==void 0&&(i(),i=void 0),(j===!0||g.value===!0)&&(ta(ae),D(),Mo(K),Vo(q)),j!==!0&&(r=null)}function H(){(k.value!==null||e.scrollTarget!==void 0)&&(v.value=Mr(k.value,e.scrollTarget),O(v.value,Q))}function re(j){s!==!0?(zf(f,j),n("click",j)):s=!1}function ae(j){z.value===!0&&e.noFocus!==!0&&Yl(m.value,j.target)!==!0&&G()}function q(j){e.noEscDismiss!==!0&&(n("escapeKey"),I(j))}function Q(){oa({targetEl:m.value,offset:e.offset,anchorEl:k.value,anchorOrigin:V.value,selfOrigin:J.value,absoluteOffset:l,fit:e.fit,cover:e.cover,maxHeight:e.maxHeight,maxWidth:e.maxWidth})}function pe(){return a.h(a.Transition,y.value,()=>g.value===!0?a.h("div",{role:"menu",...o,ref:m,tabindex:-1,class:["q-menu q-position-engine scroll"+W.value,o.class],style:[o.style,C.value],...$.value},ve(t.default)):null)}return a.onBeforeUnmount(T),Object.assign(f,{focus:G,updatePosition:Q}),N}});function Jf(e,t,n){let o;function r(){o!==void 0&&(jn.remove(o),o=void 0)}return a.onBeforeUnmount(()=>{e.value===!0&&r()}),{removeFromHistory:r,addToHistory(){o={condition:()=>n.value===!0,handler:t},jn.add(o)}}}let Jn=0,aa,la,eo,ia=!1,xi,Ni,Di,ln=null;function em(e){tm(e)&&He(e)}function tm(e){if(e.target===document.body||e.target.classList.contains("q-layout__backdrop"))return!0;const t=Ld(e),n=e.shiftKey&&!e.deltaX,o=!n&&Math.abs(e.deltaX)<=Math.abs(e.deltaY),r=n||o?e.deltaY:e.deltaX;for(let l=0;l<t.length;l++){const i=t[l];if(_f(i,o))return o?r<0&&i.scrollTop===0?!0:r>0&&i.scrollTop+i.clientHeight===i.scrollHeight:r<0&&i.scrollLeft===0?!0:r>0&&i.scrollLeft+i.clientWidth===i.scrollWidth}return!0}function Ii(e){e.target===document&&(document.scrollingElement.scrollTop=document.scrollingElement.scrollTop)}function $o(e){ia!==!0&&(ia=!0,requestAnimationFrame(()=>{ia=!1;const{height:t}=e.target,{clientHeight:n,scrollTop:o}=document.scrollingElement;(eo===void 0||t!==window.innerHeight)&&(eo=n-t,document.scrollingElement.scrollTop=o),o>eo&&(document.scrollingElement.scrollTop-=Math.ceil((o-eo)/8))}))}function Ai(e){const t=document.body,n=window.visualViewport!==void 0;if(e==="add"){const{overflowY:o,overflowX:r}=window.getComputedStyle(t);aa=gf(window),la=hf(window),xi=t.style.left,Ni=t.style.top,Di=window.location.href,t.style.left=`-${aa}px`,t.style.top=`-${la}px`,r!=="hidden"&&(r==="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,Ue.is.ios===!0&&(n===!0?(window.scrollTo(0,0),window.visualViewport.addEventListener("resize",$o,Je.passiveCapture),window.visualViewport.addEventListener("scroll",$o,Je.passiveCapture),window.scrollTo(0,0)):window.addEventListener("scroll",Ii,Je.passiveCapture))}Ue.is.desktop===!0&&Ue.is.mac===!0&&window[`${e}EventListener`]("wheel",em,Je.notPassive),e==="remove"&&(Ue.is.ios===!0&&(n===!0?(window.visualViewport.removeEventListener("resize",$o,Je.passiveCapture),window.visualViewport.removeEventListener("scroll",$o,Je.passiveCapture)):window.removeEventListener("scroll",Ii,Je.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=xi,t.style.top=Ni,window.location.href===Di&&window.scrollTo(aa,la),eo=void 0)}function nm(e){let t="add";if(e===!0){if(Jn++,ln!==null){clearTimeout(ln),ln=null;return}if(Jn>1)return}else{if(Jn===0||(Jn--,Jn>0))return;if(t="remove",Ue.is.ios===!0&&Ue.is.nativeMobile===!0){ln!==null&&clearTimeout(ln),ln=setTimeout(()=>{Ai(t),ln=null},100);return}}Ai(t)}function om(){let e;return{preventBodyScroll(t){t!==e&&(e!==void 0||t===!0)&&(e=t,nm(t))}}}let Uo=0;const rm={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"},Pi={standard:["scale","scale"],top:["slide-down","slide-up"],bottom:["slide-up","slide-down"],right:["slide-left","slide-right"],left:["slide-right","slide-left"]},to=ge({name:"QDialog",inheritAttrs:!1,props:{...Yr,...Zn,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:[...Gr,"shake","click","escapeKey"],setup(e,{slots:t,emit:n,attrs:o}){const r=a.getCurrentInstance(),l=a.ref(null),i=a.ref(!1),s=a.ref(!1);let u=null,f=null,c,m;const g=a.computed(()=>e.persistent!==!0&&e.noRouteDismiss!==!0&&e.seamless!==!0),{preventBodyScroll:h}=om(),{registerTimeout:d}=ea(),{registerTick:b,removeTick:_}=Jr(),{transitionProps:p,transitionStyle:y}=Zr(e,()=>Pi[e.position][0],()=>Pi[e.position][1]),C=a.computed(()=>y.value+(e.backdropFilter!==void 0?`;backdrop-filter:${e.backdropFilter};-webkit-backdrop-filter:${e.backdropFilter}`:"")),{showPortal:v,hidePortal:O,portalIsAccessible:D,renderPortal:k}=Xr(r,l,ae,"dialog"),{hide:B}=Qr({showing:i,hideOnRouteChange:g,handleShow:J,handleHide:W,processOnMount:!0}),{addToHistory:I,removeFromHistory:P}=Jf(i,B,g),F=a.computed(()=>`q-dialog__inner flex no-pointer-events q-dialog__inner--${e.maximized===!0?"maximized":"minimized"} q-dialog__inner--${e.position} ${rm[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":"")),N=a.computed(()=>i.value===!0&&e.seamless!==!0),K=a.computed(()=>e.autoClose===!0?{onClick:T}:{}),V=a.computed(()=>[`q-dialog fullscreen no-pointer-events q-dialog--${N.value===!0?"modal":"seamless"}`,o.class]);a.watch(()=>e.maximized,q=>{i.value===!0&&x(q)}),a.watch(N,q=>{h(q),q===!0?(Ei(re),yi(G)):(ta(re),Vo(G))});function J(q){var Q;I(),f=e.noRefocus===!1&&document.activeElement!==null?document.activeElement:null,x(e.maximized),v(),s.value=!0,e.noFocus!==!0?((Q=document.activeElement)==null||Q.blur(),b($)):_(),d(()=>{if(r.proxy.$q.platform.is.ios===!0){if(e.seamless!==!0&&document.activeElement){const{top:pe,bottom:j}=document.activeElement.getBoundingClientRect(),{innerHeight:Ce}=window,Ve=window.visualViewport!==void 0?window.visualViewport.height:Ce;pe>0&&j>Ve/2&&(document.scrollingElement.scrollTop=Math.min(document.scrollingElement.scrollHeight-Ve,j>=Ce?1/0:Math.ceil(document.scrollingElement.scrollTop+j-Ve/2))),document.activeElement.scrollIntoView()}m=!0,l.value.click(),m=!1}v(!0),s.value=!1,n("show",q)},e.transitionDuration)}function W(q){_(),P(),ee(!0),s.value=!0,O(),f!==null&&((((q==null?void 0:q.type.indexOf("key"))===0?f.closest('[tabindex]:not([tabindex^="-"])'):void 0)||f).focus(),f=null),d(()=>{O(!0),s.value=!1,n("hide",q)},e.transitionDuration)}function $(q){Po(()=>{let Q=l.value;if(Q!==null){if(q!==void 0){const pe=Q.querySelector(q);if(pe!==null){pe.focus({preventScroll:!0});return}}Q.contains(document.activeElement)!==!0&&(Q=Q.querySelector("[autofocus][tabindex], [data-autofocus][tabindex]")||Q.querySelector("[autofocus] [tabindex], [data-autofocus] [tabindex]")||Q.querySelector("[autofocus], [data-autofocus]")||Q,Q.focus({preventScroll:!0}))}})}function z(q){q&&typeof q.focus=="function"?q.focus({preventScroll:!0}):$(),n("shake");const Q=l.value;Q!==null&&(Q.classList.remove("q-animate--scale"),Q.classList.add("q-animate--scale"),u!==null&&clearTimeout(u),u=setTimeout(()=>{u=null,l.value!==null&&(Q.classList.remove("q-animate--scale"),$())},170))}function G(){e.seamless!==!0&&(e.persistent===!0||e.noEscDismiss===!0?e.maximized!==!0&&e.noShake!==!0&&z():(n("escapeKey"),B()))}function ee(q){u!==null&&(clearTimeout(u),u=null),(q===!0||i.value===!0)&&(x(!1),e.seamless!==!0&&(h(!1),ta(re),Vo(G))),q!==!0&&(f=null)}function x(q){q===!0?c!==!0&&(Uo<1&&document.body.classList.add("q-body--dialog"),Uo++,c=!0):c===!0&&(Uo<2&&document.body.classList.remove("q-body--dialog"),Uo--,c=!1)}function T(q){m!==!0&&(B(q),n("click",q))}function H(q){e.persistent!==!0&&e.noBackdropDismiss!==!0?B(q):e.noShake!==!0&&z()}function re(q){e.allowFocusOutside!==!0&&D.value===!0&&Yl(l.value,q.target)!==!0&&$('[tabindex]:not([tabindex="-1"])')}Object.assign(r.proxy,{focus:$,shake:z,__updateRefocusTarget(q){f=q||null}}),a.onBeforeUnmount(ee);function ae(){return a.h("div",{role:"dialog","aria-modal":N.value===!0?"true":"false",...o,class:V.value},[a.h(a.Transition,{name:"q-transition--fade",appear:!0},()=>N.value===!0?a.h("div",{class:"q-dialog__backdrop fixed-full",style:C.value,"aria-hidden":"true",tabindex:-1,onClick:H}):null),a.h(a.Transition,p.value,()=>i.value===!0?a.h("div",{ref:l,class:F.value,style:y.value,tabindex:-1,...K.value},ve(t.default)):null)])}return k}}),sa={name:String};function am(e={}){return(t,n,o)=>{t[n](a.h("input",{class:"hidden"+(o||""),...e.value}))}}function Li(e){return a.computed(()=>e.name||e.for)}const lm=/[\u3000-\u303f\u3040-\u309f\u30a0-\u30ff\uff00-\uff9f\u4e00-\u9faf\u3400-\u4dbf]/,im=/[\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,sm=/[\u3131-\u314e\u314f-\u3163\uac00-\ud7a3]/,um=/[a-z0-9_ -]$/i;function Vi(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"&&(Ue.is.firefox===!0?um.test(n.data)===!1:lm.test(n.data)===!0||im.test(n.data)===!0||sm.test(n.data)===!0)===!0&&(n.target.qComposing=!0)}}function cm(e){return e.charAt(0).toUpperCase()+e.slice(1)}function Ri(e,t,n){if(n<=t)return t;const o=n-t+1;let r=t+(e-t)%o;return r<t&&(r=o+r),r===0?0:r}function ze(e,t=2,n="0"){if(e==null)return e;const o=""+e;return o.length>=t?o:new Array(t-o.length+1).join(n)+o}const Bi=e=>["add","add-unique","toggle"].includes(e),dm=".*+?^${}()|[]\\",fm=Object.keys(Lo);function ua(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 ca=ge({name:"QSelect",inheritAttrs:!1,props:{...Vr,...sa,...Lo,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:Bi},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:Vr.virtualScrollItemSize.type,onNewValue:Function,onFilter:Function},emits:[...Ur,"add","remove","inputValue","keyup","keypress","keydown","popupShow","popupHide","filterAbort"],setup(e,{slots:t,emit:n}){const{proxy:o}=a.getCurrentInstance(),{$q:r}=o,l=a.ref(!1),i=a.ref(!1),s=a.ref(-1),u=a.ref(""),f=a.ref(!1),c=a.ref(!1);let m=null,g=null,h,d,b,_=null,p,y,C,v;const O=a.ref(null),D=a.ref(null),k=a.ref(null),B=a.ref(null),I=a.ref(null),P=Li(e),F=Vi(A),N=a.computed(()=>Array.isArray(e.options)?e.options.length:0),K=a.computed(()=>e.virtualScrollItemSize===void 0?e.optionsDense===!0?24:48:e.virtualScrollItemSize),{virtualScrollSliceRange:V,virtualScrollSliceSizeComputed:J,localResetVirtualScroll:W,padVirtualScroll:$,onVirtualScrollEvt:z,scrollTo:G,setVirtualScrollSize:ee}=Kl({virtualScrollLength:N,getVirtualScrollTarget:yl,getVirtualScrollEl:br,virtualScrollItemSizeComputed:K}),x=Hr(),T=a.computed(()=>{const S=e.mapOptions===!0&&e.multiple!==!0,X=e.modelValue!==void 0&&(e.modelValue!==null||S===!0)?e.multiple===!0&&Array.isArray(e.modelValue)?e.modelValue:[e.modelValue]:[];if(e.mapOptions===!0&&Array.isArray(e.options)===!0){const ne=e.mapOptions===!0&&h!==void 0?h:[],he=X.map(Oe=>yo(Oe,ne));return e.modelValue===null&&S===!0?he.filter(Oe=>Oe!==null):he}return X}),H=a.computed(()=>{const S={};return fm.forEach(X=>{const ne=e[X];ne!==void 0&&(S[X]=ne)}),S}),re=a.computed(()=>e.optionsDark===null?x.isDark.value:e.optionsDark),ae=a.computed(()=>Qn(T.value)),q=a.computed(()=>{let S="q-field__input q-placeholder col";return e.hideSelected===!0||T.value.length===0?[S,e.inputClass]:(S+=" q-field__input--padding",e.inputClass===void 0?S:[S,e.inputClass])}),Q=a.computed(()=>(e.virtualScrollHorizontal===!0?"q-virtual-scroll--horizontal":"")+(e.popupContentClass?" "+e.popupContentClass:"")),pe=a.computed(()=>N.value===0),j=a.computed(()=>T.value.map(S=>me.value(S)).join(", ")),Ce=a.computed(()=>e.displayValue!==void 0?e.displayValue:j.value),Ve=a.computed(()=>e.optionsHtml===!0?()=>!0:S=>(S==null?void 0:S.html)===!0),Ct=a.computed(()=>e.displayValueHtml===!0||e.displayValue===void 0&&(e.optionsHtml===!0||T.value.some(Ve.value))),Be=a.computed(()=>x.focused.value===!0?e.tabindex:-1),ht=a.computed(()=>{const S={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":`${x.targetUid.value}_lb`};return s.value>=0&&(S["aria-activedescendant"]=`${x.targetUid.value}_${s.value}`),S}),Ge=a.computed(()=>({id:`${x.targetUid.value}_lb`,role:"listbox","aria-multiselectable":e.multiple===!0?"true":"false"})),nt=a.computed(()=>T.value.map((S,X)=>({index:X,opt:S,html:Ve.value(S),selected:!0,removeAtIndex:Ne,toggleOption:lt,tabindex:Be.value}))),St=a.computed(()=>{if(N.value===0)return[];const{from:S,to:X}=V.value;return e.options.slice(S,X).map((ne,he)=>{const Oe=ye.value(ne)===!0,Fe=$t(ne)===!0,xe=S+he,qe={clickable:!0,active:Fe,activeClass:R.value,manualFocus:!0,focused:!1,disable:Oe,tabindex:-1,dense:e.optionsDense,dark:re.value,role:"option","aria-selected":Fe===!0?"true":"false",id:`${x.targetUid.value}_${xe}`,onClick:()=>{lt(ne)}};return Oe!==!0&&(s.value===xe&&(qe.focused=!0),r.platform.is.desktop===!0&&(qe.onMousemove=()=>{l.value===!0&&We(xe)})),{index:xe,opt:ne,html:Ve.value(ne),label:me.value(ne),selected:qe.active,focused:qe.focused,toggleOption:lt,setOptionIndex:We,itemProps:qe}})}),E=a.computed(()=>e.dropdownIcon!==void 0?e.dropdownIcon:r.iconSet.arrow.dropdown),w=a.computed(()=>e.optionsCover===!1&&e.outlined!==!0&&e.standout!==!0&&e.borderless!==!0&&e.rounded!==!0),R=a.computed(()=>e.optionsSelectedClass!==void 0?e.optionsSelectedClass:e.color!==void 0?`text-${e.color}`:""),te=a.computed(()=>ua(e.optionValue,"value")),me=a.computed(()=>ua(e.optionLabel,"label")),ye=a.computed(()=>ua(e.optionDisable,"disable")),de=a.computed(()=>T.value.map(te.value)),L=a.computed(()=>{const S={onInput:A,onChange:F,onKeydown:pn,onKeyup:Mn,onKeypress:Eo,onFocus:vo,onClick(X){d===!0&&Dt(X)}};return S.onCompositionstart=S.onCompositionupdate=S.onCompositionend=F,S});a.watch(T,S=>{h=S,e.useInput===!0&&e.fillInput===!0&&e.multiple!==!0&&x.innerLoading.value!==!0&&(i.value!==!0&&l.value!==!0||ae.value!==!0)&&(b!==!0&&Un(),(i.value===!0||l.value===!0)&&le(""))},{immediate:!0}),a.watch(()=>e.fillInput,Un),a.watch(l,Sl),a.watch(N,$v);function U(S){return e.emitValue===!0?te.value(S):S}function fe(S){if(S!==-1&&S<T.value.length)if(e.multiple===!0){const X=e.modelValue.slice();n("remove",{index:S,value:X.splice(S,1)[0]}),n("update:modelValue",X)}else n("update:modelValue",null)}function Ne(S){fe(S),x.focus()}function wt(S,X){const ne=U(S);if(e.multiple!==!0){e.fillInput===!0&&ie(me.value(S),!0,!0),n("update:modelValue",ne);return}if(T.value.length===0){n("add",{index:0,value:ne}),n("update:modelValue",e.multiple===!0?[ne]:ne);return}if(X===!0&&$t(S)===!0||e.maxValues!==void 0&&e.modelValue.length>=e.maxValues)return;const he=e.modelValue.slice();n("add",{index:he.length,value:ne}),he.push(ne),n("update:modelValue",he)}function lt(S,X){var Fe;if(x.editable.value!==!0||S===void 0||ye.value(S)===!0)return;const ne=te.value(S);if(e.multiple!==!0){X!==!0&&(ie(e.fillInput===!0?me.value(S):"",!0,!0),_n()),(Fe=D.value)==null||Fe.focus(),(T.value.length===0||Bt(te.value(T.value[0]),ne)!==!0)&&n("update:modelValue",e.emitValue===!0?ne:S);return}if((d!==!0||f.value===!0)&&x.focus(),vo(),T.value.length===0){const xe=e.emitValue===!0?ne:S;n("add",{index:0,value:xe}),n("update:modelValue",e.multiple===!0?[xe]:xe);return}const he=e.modelValue.slice(),Oe=de.value.findIndex(xe=>Bt(xe,ne));if(Oe!==-1)n("remove",{index:Oe,value:he.splice(Oe,1)[0]});else{if(e.maxValues!==void 0&&he.length>=e.maxValues)return;const xe=e.emitValue===!0?ne:S;n("add",{index:he.length,value:xe}),he.push(xe)}n("update:modelValue",he)}function We(S){if(r.platform.is.desktop!==!0)return;const X=S!==-1&&S<N.value?S:-1;s.value!==X&&(s.value=X)}function Qe(S=1,X){if(l.value===!0){let ne=s.value;do ne=Ri(ne+S,-1,N.value-1);while(ne!==-1&&ne!==s.value&&ye.value(e.options[ne])===!0);s.value!==ne&&(We(ne),G(ne),X!==!0&&e.useInput===!0&&e.fillInput===!0&&Z(ne>=0?me.value(e.options[ne]):p,!0))}}function yo(S,X){const ne=he=>Bt(te.value(he),S);return e.options.find(ne)||X.find(ne)||S}function $t(S){const X=te.value(S);return de.value.find(ne=>Bt(ne,X))!==void 0}function vo(S){e.useInput===!0&&D.value!==null&&(S===void 0||D.value===S.target&&S.target.value===j.value)&&D.value.select()}function _r(S){tn(S,27)===!0&&l.value===!0&&(Dt(S),_n(),Un()),n("keyup",S)}function Mn(S){const{value:X}=S.target;if(S.keyCode!==void 0){_r(S);return}if(S.target.value="",m!==null&&(clearTimeout(m),m=null),g!==null&&(clearTimeout(g),g=null),Un(),typeof X=="string"&&X.length!==0){const ne=X.toLocaleLowerCase(),he=Fe=>{const xe=e.options.find(qe=>String(Fe.value(qe)).toLocaleLowerCase()===ne);return xe===void 0?!1:(T.value.indexOf(xe)===-1?lt(xe):_n(),!0)},Oe=Fe=>{he(te)!==!0&&Fe!==!0&&he(me)!==!0&&le(X,!0,()=>Oe(!0))};Oe()}else x.clearValue(S)}function Eo(S){n("keypress",S)}function pn(S){if(n("keydown",S),Sr(S)===!0)return;const X=u.value.length!==0&&(e.newValueMode!==void 0||e.onNewValue!==void 0),ne=S.shiftKey!==!0&&e.disableTabSelection!==!0&&e.multiple!==!0&&(s.value!==-1||X===!0);if(S.keyCode===27){kt(S);return}if(S.keyCode===9&&ne===!1){qn();return}if(S.target===void 0||S.target.id!==x.targetUid.value||x.editable.value!==!0)return;if(S.keyCode===40&&x.innerLoading.value!==!0&&l.value===!1){He(S),$n();return}if(S.keyCode===8&&(e.useChips===!0||e.clearable===!0)&&e.hideSelected!==!0&&u.value.length===0){e.multiple===!0&&Array.isArray(e.modelValue)===!0?fe(e.modelValue.length-1):e.multiple!==!0&&e.modelValue!==null&&n("update:modelValue",null);return}(S.keyCode===35||S.keyCode===36)&&(typeof u.value!="string"||u.value.length===0)&&(He(S),s.value=-1,Qe(S.keyCode===36?1:-1,e.multiple)),(S.keyCode===33||S.keyCode===34)&&J.value!==void 0&&(He(S),s.value=Math.max(-1,Math.min(N.value,s.value+(S.keyCode===33?-1:1)*J.value.view)),Qe(S.keyCode===33?1:-1,e.multiple)),(S.keyCode===38||S.keyCode===40)&&(He(S),Qe(S.keyCode===38?-1:1,e.multiple));const he=N.value;if((C===void 0||v<Date.now())&&(C=""),he>0&&e.useInput!==!0&&S.key!==void 0&&S.key.length===1&&S.altKey===!1&&S.ctrlKey===!1&&S.metaKey===!1&&(S.keyCode!==32||C.length!==0)){l.value!==!0&&$n(S);const Oe=S.key.toLocaleLowerCase(),Fe=C.length===1&&C[0]===Oe;v=Date.now()+1500,Fe===!1&&(He(S),C+=Oe);const xe=new RegExp("^"+C.split("").map(Hn=>dm.indexOf(Hn)!==-1?"\\"+Hn:Hn).join(".*"),"i");let qe=s.value;if(Fe===!0||qe<0||xe.test(me.value(e.options[qe]))!==!0)do qe=Ri(qe+1,-1,he-1);while(qe!==s.value&&(ye.value(e.options[qe])===!0||xe.test(me.value(e.options[qe]))!==!0));s.value!==qe&&a.nextTick(()=>{We(qe),G(qe),qe>=0&&e.useInput===!0&&e.fillInput===!0&&Z(me.value(e.options[qe]),!0)});return}if(!(S.keyCode!==13&&(S.keyCode!==32||e.useInput===!0||C!=="")&&(S.keyCode!==9||ne===!1))){if(S.keyCode!==9&&He(S),s.value!==-1&&s.value<he){lt(e.options[s.value]);return}if(X===!0){const Oe=(Fe,xe)=>{var Hn;if(xe){if(Bi(xe)!==!0)return}else xe=e.newValueMode;if(ie("",e.multiple!==!0,!0),Fe==null)return;(xe==="toggle"?lt:wt)(Fe,xe==="add-unique"),e.multiple!==!0&&((Hn=D.value)==null||Hn.focus(),_n())};if(e.onNewValue!==void 0?n("newValue",u.value,Oe):Oe(u.value),e.multiple!==!0)return}l.value===!0?qn():x.innerLoading.value!==!0&&$n()}}function br(){return d===!0?I.value:k.value!==null&&k.value.contentEl!==null?k.value.contentEl:void 0}function yl(){return br()}function vl(){return e.hideSelected===!0?[]:t["selected-item"]!==void 0?nt.value.map(S=>t["selected-item"](S)).slice():t.selected!==void 0?[].concat(t.selected()):e.useChips===!0?nt.value.map((S,X)=>a.h(Lf,{key:"option-"+X,removable:x.editable.value===!0&&ye.value(S.opt)!==!0,dense:!0,textColor:e.color,tabindex:Be.value,onRemove(){S.removeAtIndex(X)}},()=>a.h("span",{class:"ellipsis",[S.html===!0?"innerHTML":"textContent"]:me.value(S.opt)}))):[a.h("span",{class:"ellipsis",[Ct.value===!0?"innerHTML":"textContent"]:Ce.value})]}function yr(){if(pe.value===!0)return t["no-option"]!==void 0?t["no-option"]({inputValue:u.value}):void 0;const S=t.option!==void 0?t.option:ne=>a.h(yt,{key:ne.index,...ne.itemProps},()=>a.h(tt,()=>a.h(Xe,()=>a.h("span",{[ne.html===!0?"innerHTML":"textContent"]:ne.label}))));let X=$("div",St.value.map(S));return t["before-options"]!==void 0&&(X=t["before-options"]().concat(X)),At(t["after-options"],X)}function El(S,X){const ne=X===!0?{...ht.value,...x.splitAttrs.attributes.value}:void 0,he={ref:X===!0?D:void 0,key:"i_t",class:q.value,style:e.inputStyle,value:u.value!==void 0?u.value:"",type:"search",...ne,id:X===!0?x.targetUid.value:void 0,maxlength:e.maxlength,autocomplete:e.autocomplete,"data-autofocus":S===!0||e.autofocus===!0||void 0,disabled:e.disable===!0,readonly:e.readonly===!0,...L.value};return S!==!0&&d===!0&&(Array.isArray(he.class)===!0?he.class=[...he.class,"no-pointer-events"]:he.class+=" no-pointer-events"),a.h("input",he)}function A(S){m!==null&&(clearTimeout(m),m=null),g!==null&&(clearTimeout(g),g=null),!(S&&S.target&&S.target.qComposing===!0)&&(Z(S.target.value||""),b=!0,p=u.value,x.focused.value!==!0&&(d!==!0||f.value===!0)&&x.focus(),e.onFilter!==void 0&&(m=setTimeout(()=>{m=null,le(u.value)},e.inputDebounce)))}function Z(S,X){u.value!==S&&(u.value=S,X===!0||e.inputDebounce===0||e.inputDebounce==="0"?n("inputValue",S):g=setTimeout(()=>{g=null,n("inputValue",S)},e.inputDebounce))}function ie(S,X,ne){b=ne!==!0,e.useInput===!0&&(Z(S,!0),(X===!0||ne!==!0)&&(p=S),X!==!0&&le(S))}function le(S,X,ne){if(e.onFilter===void 0||X!==!0&&x.focused.value!==!0)return;x.innerLoading.value===!0?n("filterAbort"):(x.innerLoading.value=!0,c.value=!0),S!==""&&e.multiple!==!0&&T.value.length!==0&&b!==!0&&S===me.value(T.value[0])&&(S="");const he=setTimeout(()=>{l.value===!0&&(l.value=!1)},10);_!==null&&clearTimeout(_),_=he,n("filter",S,(Oe,Fe)=>{(X===!0||x.focused.value===!0)&&_===he&&(clearTimeout(_),typeof Oe=="function"&&Oe(),c.value=!1,a.nextTick(()=>{x.innerLoading.value=!1,x.editable.value===!0&&(X===!0?l.value===!0&&_n():l.value===!0?Sl(!0):l.value=!0),typeof Fe=="function"&&a.nextTick(()=>{Fe(o)}),typeof ne=="function"&&a.nextTick(()=>{ne(o)})}))},()=>{x.focused.value===!0&&_===he&&(clearTimeout(_),x.innerLoading.value=!1,c.value=!1),l.value===!0&&(l.value=!1)})}function ue(){return a.h(Oi,{ref:k,class:Q.value,style:e.popupContentStyle,modelValue:l.value,fit:e.menuShrink!==!0,cover:e.optionsCover===!0&&pe.value!==!0&&e.useInput!==!0,anchor:e.menuAnchor,self:e.menuSelf,offset:e.menuOffset,dark:re.value,noParentEvent:!0,noRefocus:!0,noFocus:!0,noRouteDismiss:e.popupNoRouteDismiss,square:w.value,transitionShow:e.transitionShow,transitionHide:e.transitionHide,transitionDuration:e.transitionDuration,separateClosePopup:!0,...Ge.value,onScrollPassive:z,onBeforeShow:kd,onBeforeHide:Re,onShow:De},yr)}function Re(S){Td(S),qn()}function De(){ee()}function bt(S){var X;Dt(S),(X=D.value)==null||X.focus(),f.value=!0,window.scrollTo(window.pageXOffset||window.scrollX||document.body.scrollLeft||0,0)}function Ie(S){Dt(S),a.nextTick(()=>{f.value=!1})}function Ut(){const S=[a.h(If,{class:`col-auto ${x.fieldClass.value}`,...H.value,for:x.targetUid.value,dark:re.value,square:!0,loading:c.value,itemAligned:!1,filled:!0,stackLabel:u.value.length!==0,...x.splitAttrs.listeners.value,onFocus:bt,onBlur:Ie},{...t,rawControl:()=>x.getControl(!0),before:void 0,after:void 0})];return l.value===!0&&S.push(a.h("div",{ref:I,class:Q.value+" scroll",style:e.popupContentStyle,...Ge.value,onClick:kt,onScrollPassive:z},yr())),a.h(to,{ref:B,modelValue:i.value,position:e.useInput===!0?"top":void 0,transitionShow:y,transitionHide:e.transitionHide,transitionDuration:e.transitionDuration,noRouteDismiss:e.popupNoRouteDismiss,onBeforeShow:kd,onBeforeHide:Fn,onHide:Cl,onShow:qv},()=>a.h("div",{class:"q-select__dialog"+(re.value===!0?" q-select__dialog--dark q-dark":"")+(f.value===!0?" q-select__dialog--focused":"")},S))}function Fn(S){Td(S),B.value!==null&&B.value.__updateRefocusTarget(x.rootRef.value.querySelector(".q-field__native > [tabindex]:last-child")),x.focused.value=!1}function Cl(S){_n(),x.focused.value===!1&&n("blur",S),Un()}function qv(){const S=document.activeElement;(S===null||S.id!==x.targetUid.value)&&D.value!==null&&D.value!==S&&D.value.focus(),ee()}function qn(){i.value!==!0&&(s.value=-1,l.value===!0&&(l.value=!1),x.focused.value===!1&&(_!==null&&(clearTimeout(_),_=null),x.innerLoading.value===!0&&(n("filterAbort"),x.innerLoading.value=!1,c.value=!1)))}function $n(S){x.editable.value===!0&&(d===!0?(x.onControlFocusin(S),i.value=!0,a.nextTick(()=>{x.focus()})):x.focus(),e.onFilter!==void 0?le(u.value):(pe.value!==!0||t["no-option"]!==void 0)&&(l.value=!0))}function _n(){i.value=!1,qn()}function Un(){e.useInput===!0&&ie(e.multiple!==!0&&e.fillInput===!0&&T.value.length!==0&&me.value(T.value[0])||"",!0,!0)}function Sl(S){let X=-1;if(S===!0){if(T.value.length!==0){const ne=te.value(T.value[0]);X=e.options.findIndex(he=>Bt(te.value(he),ne))}W(X)}We(X)}function $v(S,X){l.value===!0&&x.innerLoading.value===!1&&(W(-1,!0),a.nextTick(()=>{l.value===!0&&x.innerLoading.value===!1&&(S>X?W():Sl(!0))}))}function wd(){i.value===!1&&k.value!==null&&k.value.updatePosition()}function kd(S){S!==void 0&&Dt(S),n("popupShow",S),x.hasPopupOpen=!0,x.onControlFocusin(S)}function Td(S){S!==void 0&&Dt(S),n("popupHide",S),x.hasPopupOpen=!1,x.onControlFocusout(S)}function Od(){d=r.platform.is.mobile!==!0&&e.behavior!=="dialog"?!1:e.behavior!=="menu"&&(e.useInput===!0?t["no-option"]!==void 0||e.onFilter!==void 0||pe.value===!1:!0),y=r.platform.is.ios===!0&&d===!0&&e.useInput===!0?"fade":e.transitionShow}return a.onBeforeUpdate(Od),a.onUpdated(wd),Od(),a.onBeforeUnmount(()=>{m!==null&&clearTimeout(m),g!==null&&clearTimeout(g)}),Object.assign(o,{showPopup:$n,hidePopup:_n,removeAtIndex:fe,add:wt,toggleOption:lt,getOptionIndex:()=>s.value,setOptionIndex:We,moveOptionSelection:Qe,filter:le,updateMenuPosition:wd,updateInputValue:ie,isOptionSelected:$t,getEmittingOptionValue:U,isOptionDisabled:(...S)=>ye.value.apply(null,S)===!0,getOptionValue:(...S)=>te.value.apply(null,S),getOptionLabel:(...S)=>me.value.apply(null,S)}),Object.assign(x,{innerValue:T,fieldClass:a.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:O,targetRef:D,hasValue:ae,showPopup:$n,floatingLabel:a.computed(()=>e.hideSelected!==!0&&ae.value===!0||typeof u.value=="number"||u.value.length!==0||Qn(e.displayValue)),getControlChild:()=>{if(x.editable.value!==!1&&(i.value===!0||pe.value!==!0||t["no-option"]!==void 0))return d===!0?Ut():ue();x.hasPopupOpen===!0&&(x.hasPopupOpen=!1)},controlEvents:{onFocusin(S){x.onControlFocusin(S)},onFocusout(S){x.onControlFocusout(S,()=>{Un(),qn()})},onClick(S){var X;if(kt(S),d!==!0&&l.value===!0){qn(),(X=D.value)==null||X.focus();return}$n(S)}},getControl:S=>{const X=vl(),ne=S===!0||i.value!==!0||d!==!0;if(e.useInput===!0)X.push(El(S,ne));else if(x.editable.value===!0){const Oe=ne===!0?ht.value:void 0;X.push(a.h("input",{ref:ne===!0?D:void 0,key:"d_t",class:"q-select__focus-target",id:ne===!0?x.targetUid.value:void 0,value:Ce.value,readonly:!0,"data-autofocus":S===!0||e.autofocus===!0||void 0,...Oe,onKeydown:pn,onKeyup:_r,onKeypress:Eo})),ne===!0&&typeof e.autocomplete=="string"&&e.autocomplete.length!==0&&X.push(a.h("input",{class:"q-select__autocomplete-input",autocomplete:e.autocomplete,tabindex:-1,onKeyup:Mn}))}if(P.value!==void 0&&e.disable!==!0&&de.value.length!==0){const Oe=de.value.map(Fe=>a.h("option",{value:Fe,selected:!0}));X.push(a.h("select",{class:"hidden",name:P.value,multiple:e.multiple},Oe))}const he=e.useInput===!0||ne!==!0?void 0:x.splitAttrs.attributes.value;return a.h("div",{class:"q-field__native row items-center",...he,...x.splitAttrs.listeners.value},X)},getInnerAppend:()=>e.loading!==!0&&c.value!==!0&&e.hideDropdownIcon!==!0?[a.h(Ae,{class:"q-select__dropdown-icon"+(l.value===!0?" rotate-180":""),name:E.value})]:null}),zr(x)}}),mm={xs:2,sm:4,md:6,lg:10,xl:14};function Mi(e,t,n){return{transform:t===!0?`translateX(${n.lang.rtl===!0?"-":""}100%) scale3d(${-e},1,1)`:`scale3d(${e},1,1)`}}const hm=ge({name:"QLinearProgress",props:{...dt,...Wn,value:{type:Number,default:0},buffer:Number,color:String,trackColor:String,reverse:Boolean,stripe:Boolean,indeterminate:Boolean,query:Boolean,rounded:Boolean,animationSpeed:{type:[String,Number],default:2100},instantFeedback:Boolean},setup(e,{slots:t}){const{proxy:n}=a.getCurrentInstance(),o=ft(e,n.$q),r=Kn(e,mm),l=a.computed(()=>e.indeterminate===!0||e.query===!0),i=a.computed(()=>e.reverse!==e.query),s=a.computed(()=>({...r.value!==null?r.value:{},"--q-linear-progress-speed":`${e.animationSpeed}ms`})),u=a.computed(()=>"q-linear-progress"+(e.color!==void 0?` text-${e.color}`:"")+(e.reverse===!0||e.query===!0?" q-linear-progress--reverse":"")+(e.rounded===!0?" rounded-borders":"")),f=a.computed(()=>Mi(e.buffer!==void 0?e.buffer:1,i.value,n.$q)),c=a.computed(()=>`with${e.instantFeedback===!0?"out":""}-transition`),m=a.computed(()=>`q-linear-progress__track absolute-full q-linear-progress__track--${c.value} q-linear-progress__track--${o.value===!0?"dark":"light"}`+(e.trackColor!==void 0?` bg-${e.trackColor}`:"")),g=a.computed(()=>Mi(l.value===!0?1:e.value,i.value,n.$q)),h=a.computed(()=>`q-linear-progress__model absolute-full q-linear-progress__model--${c.value} q-linear-progress__model--${l.value===!0?"in":""}determinate`),d=a.computed(()=>({width:`${e.value*100}%`})),b=a.computed(()=>`q-linear-progress__stripe absolute-${e.reverse===!0?"right":"left"} q-linear-progress__stripe--${c.value}`);return()=>{const _=[a.h("div",{class:m.value,style:f.value}),a.h("div",{class:h.value,style:g.value})];return e.stripe===!0&&l.value===!1&&_.push(a.h("div",{class:b.value,style:d.value})),a.h("div",{class:u.value,style:s.value,role:"progressbar","aria-valuemin":0,"aria-valuemax":1,"aria-valuenow":e.indeterminate===!0?void 0:e.value},At(t.default,_))}}});function gm(e,t){const n=a.ref(null),o=a.computed(()=>e.disable===!0?null:a.h("span",{ref:n,class:"no-outline",tabindex:-1}));function r(l){const i=t.value;(l==null?void 0:l.qAvoidFocus)!==!0&&((l==null?void 0:l.type.indexOf("key"))===0?document.activeElement!==i&&(i==null?void 0:i.contains(document.activeElement))===!0&&i.focus():n.value!==null&&(l===void 0||(i==null?void 0:i.contains(l.target))===!0)&&n.value.focus())}return{refocusTargetEl:o,refocusTarget:r}}const pm={xs:30,sm:35,md:40,lg:50,xl:60},_m={...dt,...Wn,...sa,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]},bm=["update:modelValue"];function ym(e,t){const{props:n,slots:o,emit:r,proxy:l}=a.getCurrentInstance(),{$q:i}=l,s=ft(n,i),u=a.ref(null),{refocusTargetEl:f,refocusTarget:c}=gm(n,u),m=Kn(n,pm),g=a.computed(()=>n.val!==void 0&&Array.isArray(n.modelValue)),h=a.computed(()=>{const N=a.toRaw(n.val);return g.value===!0?n.modelValue.findIndex(K=>a.toRaw(K)===N):-1}),d=a.computed(()=>g.value===!0?h.value!==-1:a.toRaw(n.modelValue)===a.toRaw(n.trueValue)),b=a.computed(()=>g.value===!0?h.value===-1:a.toRaw(n.modelValue)===a.toRaw(n.falseValue)),_=a.computed(()=>d.value===!1&&b.value===!1),p=a.computed(()=>n.disable===!0?-1:n.tabindex||0),y=a.computed(()=>`q-${e} cursor-pointer no-outline row inline no-wrap items-center`+(n.disable===!0?" disabled":"")+(s.value===!0?` q-${e}--dark`:"")+(n.dense===!0?` q-${e}--dense`:"")+(n.leftLabel===!0?" reverse":"")),C=a.computed(()=>{const N=d.value===!0?"truthy":b.value===!0?"falsy":"indet",K=n.color!==void 0&&(n.keepColor===!0||b.value!==!0)?` text-${n.color}`:"";return`q-${e}__inner relative-position non-selectable q-${e}__inner--${N}${K}`}),v=a.computed(()=>{const N={type:"checkbox"};return n.name!==void 0&&Object.assign(N,{".checked":d.value,"^checked":d.value===!0?"checked":void 0,name:n.name,value:g.value===!0?n.val:n.trueValue}),N}),O=am(v),D=a.computed(()=>{const N={tabindex:p.value,role:"checkbox","aria-label":n.label,"aria-checked":_.value===!0?"mixed":d.value===!0?"true":"false"};return n.disable===!0&&(N["aria-disabled"]="true"),N});function k(N){N!==void 0&&(He(N),c(N)),n.disable!==!0&&r("update:modelValue",B(),N)}function B(){if(g.value===!0){if(d.value===!0){const N=n.modelValue.slice();return N.splice(h.value,1),N}return n.modelValue.concat([n.val])}if(d.value===!0){if(n.toggleOrder!=="ft"||n.toggleIndeterminate===!1)return n.falseValue}else if(b.value===!0){if(n.toggleOrder==="ft"||n.toggleIndeterminate===!1)return n.trueValue}else return n.toggleOrder!=="ft"?n.trueValue:n.falseValue;return n.indeterminateValue}function I(N){(N.keyCode===13||N.keyCode===32)&&He(N)}function P(N){(N.keyCode===13||N.keyCode===32)&&k(N)}const F=t(d,_);return Object.assign(l,{toggle:k}),()=>{const N=F();n.disable!==!0&&O(N,"unshift",` q-${e}__native absolute q-ma-none q-pa-none`);const K=[a.h("div",{class:C.value,style:m.value,"aria-hidden":"true"},N)];f.value!==null&&K.push(f.value);const V=n.label!==void 0?At(o.default,[n.label]):ve(o.default);return V!==void 0&&K.push(a.h("div",{class:`q-${e}__label q-anchor--skip`},V)),a.h("div",{ref:u,class:y.value,...D.value,onClick:k,onKeydown:I,onKeyup:P},K)}}const vm=()=>a.h("div",{key:"svg",class:"q-checkbox__bg absolute"},[a.h("svg",{class:"q-checkbox__svg fit absolute-full",viewBox:"0 0 24 24"},[a.h("path",{class:"q-checkbox__truthy",fill:"none",d:"M1.73,12.91 8.1,19.28 22.79,4.59"}),a.h("path",{class:"q-checkbox__indet",d:"M4,14H20V10H4"})])]),zt=ge({name:"QCheckbox",props:_m,emits:bm,setup(e){const t=vm();function n(o,r){const l=a.computed(()=>(o.value===!0?e.checkedIcon:r.value===!0?e.indeterminateIcon:e.uncheckedIcon)||null);return()=>l.value!==null?[a.h("div",{key:"icon",class:"q-checkbox__icon-container absolute-full flex flex-center no-wrap"},[a.h(Ae,{class:"q-checkbox__icon",name:l.value})])]:[t]}return ym("checkbox",n)}}),Fi={left:"start",center:"center",right:"end",between:"between",around:"around",evenly:"evenly",stretch:"stretch"},Em=Object.keys(Fi),qi={align:{type:String,validator:e=>Em.includes(e)}};function $i(e){return a.computed(()=>{const t=e.align===void 0?e.vertical===!0?"stretch":"left":e.align;return`${e.vertical===!0?"items":"justify"}-${Fi[t]}`})}const Ui={none:0,xs:4,sm:8,md:16,lg:24,xl:32},Cm={xs:8,sm:10,md:14,lg:20,xl:24},Sm=["button","submit","reset"],wm=/[^\s]\/[^\s]/,km=["flat","outline","push","unelevated"];function Tm(e,t){return e.flat===!0?"flat":e.outline===!0?"outline":e.push===!0?"push":e.unelevated===!0?"unelevated":t}const Om={...{...Wn,...mi,type:{type:String,default:"button"},label:[Number,String],icon:String,iconRight:String,...km.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:{...qi.align,default:"center"},stack:Boolean,stretch:Boolean,loading:{type:Boolean,default:null},disable:Boolean},round:Boolean};function xm(e){const t=Kn(e,Cm),n=$i(e),{hasRouterLink:o,hasLink:r,linkTag:l,linkAttrs:i,navigateOnClick:s}=hi({fallbackTag:"button"}),u=a.computed(()=>{const _=e.fab===!1&&e.fabMini===!1?t.value:{};return e.padding!==void 0?Object.assign({},_,{padding:e.padding.split(/\s+/).map(p=>p in Ui?Ui[p]+"px":p).join(" "),minWidth:"0",minHeight:"0"}):_}),f=a.computed(()=>e.rounded===!0||e.fab===!0||e.fabMini===!0),c=a.computed(()=>e.disable!==!0&&e.loading!==!0),m=a.computed(()=>c.value===!0?e.tabindex||0:-1),g=a.computed(()=>Tm(e,"standard")),h=a.computed(()=>{const _={tabindex:m.value};return r.value===!0?Object.assign(_,i.value):Sm.includes(e.type)===!0&&(_.type=e.type),l.value==="a"?(e.disable===!0?_["aria-disabled"]="true":_.href===void 0&&(_.role="button"),o.value!==!0&&wm.test(e.type)===!0&&(_.type=e.type)):e.disable===!0&&(_.disabled="",_["aria-disabled"]="true"),e.loading===!0&&e.percentage!==void 0&&Object.assign(_,{role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":e.percentage}),_}),d=a.computed(()=>{let _;e.color!==void 0?e.flat===!0||e.outline===!0?_=`text-${e.textColor||e.color}`:_=`bg-${e.color} text-${e.textColor||"white"}`:e.textColor&&(_=`text-${e.textColor}`);const p=e.round===!0?"round":`rectangle${f.value===!0?" q-btn--rounded":e.square===!0?" q-btn--square":""}`;return`q-btn--${g.value} q-btn--${p}`+(_!==void 0?" "+_:"")+(c.value===!0?" q-btn--actionable q-focusable q-hoverable":e.disable===!0?" disabled":"")+(e.fab===!0?" q-btn--fab":e.fabMini===!0?" q-btn--fab-mini":"")+(e.noCaps===!0?" q-btn--no-uppercase":"")+(e.dense===!0?" q-btn--dense":"")+(e.stretch===!0?" no-border-radius self-stretch":"")+(e.glossy===!0?" glossy":"")+(e.square?" q-btn--square":"")}),b=a.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:d,style:u,innerClasses:b,attributes:h,hasLink:r,linkTag:l,navigateOnClick:s,isActionable:c}}const{passiveCapture:vt}=Je;let En=null,Cn=null,Sn=null;const it=ge({name:"QBtn",props:{...Om,percentage:Number,darkPercentage:Boolean,onTouchstart:[Function,Array]},emits:["click","keydown","mousedown","keyup"],setup(e,{slots:t,emit:n}){const{proxy:o}=a.getCurrentInstance(),{classes:r,style:l,innerClasses:i,attributes:s,hasLink:u,linkTag:f,navigateOnClick:c,isActionable:m}=xm(e),g=a.ref(null),h=a.ref(null);let d=null,b,_=null;const p=a.computed(()=>e.label!==void 0&&e.label!==null&&e.label!==""),y=a.computed(()=>e.disable===!0||e.ripple===!1?!1:{keyCodes:u.value===!0?[13,32]:[13],...e.ripple===!0?{}:e.ripple}),C=a.computed(()=>({center:e.round})),v=a.computed(()=>{const V=Math.max(0,Math.min(100,e.percentage));return V>0?{transition:"transform 0.6s",transform:`translateX(${V-100}%)`}:{}}),O=a.computed(()=>{if(e.loading===!0)return{onMousedown:K,onTouchstart:K,onClick:K,onKeydown:K,onKeyup:K};if(m.value===!0){const V={onClick:k,onKeydown:B,onMousedown:P};if(o.$q.platform.has.touch===!0){const J=e.onTouchstart!==void 0?"":"Passive";V[`onTouchstart${J}`]=I}return V}return{onClick:He}}),D=a.computed(()=>({ref:g,class:"q-btn q-btn-item non-selectable no-outline "+r.value,style:l.value,...s.value,...O.value}));function k(V){if(g.value!==null){if(V!==void 0){if(V.defaultPrevented===!0)return;const J=document.activeElement;if(e.type==="submit"&&J!==document.body&&g.value.contains(J)===!1&&J.contains(g.value)===!1){V.qAvoidFocus!==!0&&g.value.focus();const W=()=>{var $;document.removeEventListener("keydown",He,!0),document.removeEventListener("keyup",W,vt),($=g.value)==null||$.removeEventListener("blur",W,vt)};document.addEventListener("keydown",He,!0),document.addEventListener("keyup",W,vt),g.value.addEventListener("blur",W,vt)}}c(V)}}function B(V){g.value!==null&&(n("keydown",V),tn(V,[13,32])===!0&&Cn!==g.value&&(Cn!==null&&N(),V.defaultPrevented!==!0&&(V.qAvoidFocus!==!0&&g.value.focus(),Cn=g.value,g.value.classList.add("q-btn--active"),document.addEventListener("keyup",F,!0),g.value.addEventListener("blur",F,vt)),He(V)))}function I(V){g.value!==null&&(n("touchstart",V),V.defaultPrevented!==!0&&(En!==g.value&&(En!==null&&N(),En=g.value,d=V.target,d.addEventListener("touchcancel",F,vt),d.addEventListener("touchend",F,vt)),b=!0,_!==null&&clearTimeout(_),_=setTimeout(()=>{_=null,b=!1},200)))}function P(V){g.value!==null&&(V.qSkipRipple=b===!0,n("mousedown",V),V.defaultPrevented!==!0&&Sn!==g.value&&(Sn!==null&&N(),Sn=g.value,g.value.classList.add("q-btn--active"),document.addEventListener("mouseup",F,vt)))}function F(V){if(g.value!==null&&!((V==null?void 0:V.type)==="blur"&&document.activeElement===g.value)){if((V==null?void 0:V.type)==="keyup"){if(Cn===g.value&&tn(V,[13,32])===!0){const J=new MouseEvent("click",V);J.qKeyEvent=!0,V.defaultPrevented===!0&&kt(J),V.cancelBubble===!0&&Dt(J),g.value.dispatchEvent(J),He(V),V.qKeyEvent=!0}n("keyup",V)}N()}}function N(V){var W,$;const J=h.value;V!==!0&&(En===g.value||Sn===g.value)&&J!==null&&J!==document.activeElement&&(J.setAttribute("tabindex",-1),J.focus()),En===g.value&&(d!==null&&(d.removeEventListener("touchcancel",F,vt),d.removeEventListener("touchend",F,vt)),En=d=null),Sn===g.value&&(document.removeEventListener("mouseup",F,vt),Sn=null),Cn===g.value&&(document.removeEventListener("keyup",F,!0),(W=g.value)==null||W.removeEventListener("blur",F,vt),Cn=null),($=g.value)==null||$.classList.remove("q-btn--active")}function K(V){He(V),V.qSkipRipple=!0}return a.onBeforeUnmount(()=>{N(!0)}),Object.assign(o,{click:V=>{m.value===!0&&k(V)}}),()=>{let V=[];e.icon!==void 0&&V.push(a.h(Ae,{name:e.icon,left:e.stack!==!0&&p.value===!0,role:"img"})),p.value===!0&&V.push(a.h("span",{class:"block"},[e.label])),V=At(t.default,V),e.iconRight!==void 0&&e.round===!1&&V.push(a.h(Ae,{name:e.iconRight,right:e.stack!==!0&&p.value===!0,role:"img"}));const J=[a.h("span",{class:"q-focus-helper",ref:h})];return e.loading===!0&&e.percentage!==void 0&&J.push(a.h("span",{class:"q-btn__progress absolute-full overflow-hidden"+(e.darkPercentage===!0?" q-btn__progress--dark":"")},[a.h("span",{class:"q-btn__progress-indicator fit block",style:v.value})])),J.push(a.h("span",{class:"q-btn__content text-center col items-center q-anchor--skip "+i.value},V)),e.loading!==null&&J.push(a.h(a.Transition,{name:"q-transition--fade"},()=>e.loading===!0?[a.h("span",{key:"loading",class:"absolute-full flex flex-center"},t.loading!==void 0?t.loading():[a.h(Xl)])]:null)),a.withDirectives(a.h(f.value,D.value,J),[[si,y.value,void 0,C.value]])}}});let no=0;const Nm={fullscreen:Boolean,noRouteFullscreenExit:Boolean},Dm=["update:fullscreen","fullscreen"];function Im(){const e=a.getCurrentInstance(),{props:t,emit:n,proxy:o}=e;let r,l,i;const s=a.ref(!1);Wr(e)===!0&&a.watch(()=>o.$route.fullPath,()=>{t.noRouteFullscreenExit!==!0&&c()}),a.watch(()=>t.fullscreen,m=>{s.value!==m&&u()}),a.watch(s,m=>{n("update:fullscreen",m),n("fullscreen",m)});function u(){s.value===!0?c():f()}function f(){s.value!==!0&&(s.value=!0,i=o.$el.parentNode,i.replaceChild(l,o.$el),document.body.appendChild(o.$el),no++,no===1&&document.body.classList.add("q-body--fullscreen-mixin"),r={handler:c},jn.add(r))}function c(){s.value===!0&&(r!==void 0&&(jn.remove(r),r=void 0),i.replaceChild(o.$el,l),s.value=!1,no=Math.max(0,no-1),no===0&&(document.body.classList.remove("q-body--fullscreen-mixin"),o.$el.scrollIntoView!==void 0&&setTimeout(()=>{o.$el.scrollIntoView()})))}return a.onBeforeMount(()=>{l=document.createElement("span")}),a.onMounted(()=>{t.fullscreen===!0&&f()}),a.onBeforeUnmount(c),Object.assign(o,{toggleFullscreen:u,setFullscreen:f,exitFullscreen:c}),{inFullscreen:s,toggleFullscreen:u}}function Am(e,t){return new Date(e)-new Date(t)}const Pm={sortMethod:Function,binaryStateSort:Boolean,columnSortOrder:{type:String,validator:e=>e==="ad"||e==="da",default:"ad"}};function Lm(e,t,n,o){const r=a.computed(()=>{const{sortBy:s}=t.value;return s&&n.value.find(u=>u.name===s)||null}),l=a.computed(()=>e.sortMethod!==void 0?e.sortMethod:(s,u,f)=>{const c=n.value.find(h=>h.name===u);if(c===void 0||c.field===void 0)return s;const m=f===!0?-1:1,g=typeof c.field=="function"?h=>c.field(h):h=>h[c.field];return s.sort((h,d)=>{let b=g(h),_=g(d);return c.rawSort!==void 0?c.rawSort(b,_,h,d)*m:b==null?-1*m:_==null?1*m:c.sort!==void 0?c.sort(b,_,h,d)*m:Tr(b)===!0&&Tr(_)===!0?(b-_)*m:Oo(b)===!0&&Oo(_)===!0?Am(b,_)*m:typeof b=="boolean"&&typeof _=="boolean"?(b-_)*m:([b,_]=[b,_].map(p=>(p+"").toLocaleString().toLowerCase()),b<_?-1*m:b===_?0:m)})});function i(s){let u=e.columnSortOrder;if(kr(s)===!0)s.sortOrder&&(u=s.sortOrder),s=s.name;else{const m=n.value.find(g=>g.name===s);m!=null&&m.sortOrder&&(u=m.sortOrder)}let{sortBy:f,descending:c}=t.value;f!==s?(f=s,c=u==="da"):e.binaryStateSort===!0?c=!c:c===!0?u==="ad"?f=null:c=!1:u==="ad"?c=!0:f=null,o({sortBy:f,descending:c,page:1})}return{columnToSort:r,computedSortMethod:l,sort:i}}const Vm={filter:[String,Object],filterMethod:Function};function Rm(e,t){const n=a.computed(()=>e.filterMethod!==void 0?e.filterMethod:(o,r,l,i)=>{const s=r?r.toLowerCase():"";return o.filter(u=>l.some(f=>{const c=i(f,u)+"";return(c==="undefined"||c==="null"?"":c.toLowerCase()).indexOf(s)!==-1}))});return a.watch(()=>e.filter,()=>{a.nextTick(()=>{t({page:1},!0)})},{deep:!0}),{computedFilterMethod:n}}function Bm(e,t){for(const n in t)if(t[n]!==e[n])return!1;return!0}function Hi(e){return e.page<1&&(e.page=1),e.rowsPerPage!==void 0&&e.rowsPerPage<1&&(e.rowsPerPage=0),e}const Mm={pagination:Object,rowsPerPageOptions:{type:Array,default:()=>[5,7,10,15,20,25,50,0]},"onUpdate:pagination":[Function,Array]};function Fm(e,t){const{props:n,emit:o}=e,r=a.ref(Object.assign({sortBy:null,descending:!1,page:1,rowsPerPage:n.rowsPerPageOptions.length!==0?n.rowsPerPageOptions[0]:5},n.pagination)),l=a.computed(()=>{const c=n["onUpdate:pagination"]!==void 0?{...r.value,...n.pagination}:r.value;return Hi(c)}),i=a.computed(()=>l.value.rowsNumber!==void 0);function s(c){u({pagination:c,filter:n.filter})}function u(c={}){a.nextTick(()=>{o("request",{pagination:c.pagination||l.value,filter:c.filter||n.filter,getCellValue:t})})}function f(c,m){const g=Hi({...l.value,...c});if(Bm(l.value,g)===!0){i.value===!0&&m===!0&&s(g);return}if(i.value===!0){s(g);return}n.pagination!==void 0&&n["onUpdate:pagination"]!==void 0?o("update:pagination",g):r.value=g}return{innerPagination:r,computedPagination:l,isServerSide:i,requestServerInteraction:u,setPagination:f}}function qm(e,t,n,o,r,l){const{props:i,emit:s,proxy:{$q:u}}=e,f=a.computed(()=>o.value===!0?n.value.rowsNumber||0:l.value),c=a.computed(()=>{const{page:v,rowsPerPage:O}=n.value;return(v-1)*O}),m=a.computed(()=>{const{page:v,rowsPerPage:O}=n.value;return v*O}),g=a.computed(()=>n.value.page===1),h=a.computed(()=>n.value.rowsPerPage===0?1:Math.max(1,Math.ceil(f.value/n.value.rowsPerPage))),d=a.computed(()=>m.value===0?!0:n.value.page>=h.value),b=a.computed(()=>(i.rowsPerPageOptions.includes(t.value.rowsPerPage)?i.rowsPerPageOptions:[t.value.rowsPerPage].concat(i.rowsPerPageOptions)).map(O=>({label:O===0?u.lang.table.allRows:""+O,value:O})));a.watch(h,(v,O)=>{if(v===O)return;const D=n.value.page;v&&!D?r({page:1}):v<D&&r({page:v})});function _(){r({page:1})}function p(){const{page:v}=n.value;v>1&&r({page:v-1})}function y(){const{page:v,rowsPerPage:O}=n.value;m.value>0&&v*O<f.value&&r({page:v+1})}function C(){r({page:h.value})}return i["onUpdate:pagination"]!==void 0&&s("update:pagination",{...n.value}),{firstRowIndex:c,lastRowIndex:m,isFirstPage:g,isLastPage:d,pagesNumber:h,computedRowsPerPageOptions:b,computedRowsNumber:f,firstPage:_,prevPage:p,nextPage:y,lastPage:C}}const $m={selection:{type:String,default:"none",validator:e=>["single","multiple","none"].includes(e)},selected:{type:Array,default:()=>[]}},Um=["update:selected","selection"];function Hm(e,t,n,o){const r=a.computed(()=>{const d={};return e.selected.map(o.value).forEach(b=>{d[b]=!0}),d}),l=a.computed(()=>e.selection!=="none"),i=a.computed(()=>e.selection==="single"),s=a.computed(()=>e.selection==="multiple"),u=a.computed(()=>n.value.length!==0&&n.value.every(d=>r.value[o.value(d)]===!0)),f=a.computed(()=>u.value!==!0&&n.value.some(d=>r.value[o.value(d)]===!0)),c=a.computed(()=>e.selected.length);function m(d){return r.value[d]===!0}function g(){t("update:selected",[])}function h(d,b,_,p){t("selection",{rows:b,added:_,keys:d,evt:p});const y=i.value===!0?_===!0?b:[]:_===!0?e.selected.concat(b):e.selected.filter(C=>d.includes(o.value(C))===!1);t("update:selected",y)}return{hasSelectionMode:l,singleSelection:i,multipleSelection:s,allRowsSelected:u,someRowsSelected:f,rowsSelectedNumber:c,isRowSelected:m,clearSelection:g,updateSelection:h}}function zi(e){return Array.isArray(e)?e.slice():[]}const zm={expanded:Array},jm=["update:expanded"];function Wm(e,t){const n=a.ref(zi(e.expanded));a.watch(()=>e.expanded,i=>{n.value=zi(i)});function o(i){return n.value.includes(i)}function r(i){e.expanded!==void 0?t("update:expanded",i):n.value=i}function l(i,s){const u=n.value.slice(),f=u.indexOf(i);s===!0?f===-1&&(u.push(i),r(u)):f!==-1&&(u.splice(f,1),r(u))}return{isRowExpanded:o,setExpanded:r,updateExpanded:l}}const Km={visibleColumns:Array};function Ym(e,t,n){const o=a.computed(()=>{if(e.columns!==void 0)return e.columns;const s=e.rows[0];return s!==void 0?Object.keys(s).map(u=>({name:u,label:u.toUpperCase(),field:u,align:Tr(s[u])?"right":"left",sortable:!0})):[]}),r=a.computed(()=>{const{sortBy:s,descending:u}=t.value;return(e.visibleColumns!==void 0?o.value.filter(c=>c.required===!0||e.visibleColumns.includes(c.name)===!0):o.value).map(c=>{const m=c.align||"right",g=`text-${m}`;return{...c,align:m,__iconClass:`q-table__sort-icon q-table__sort-icon--${m}`,__thClass:g+(c.headerClasses!==void 0?" "+c.headerClasses:"")+(c.sortable===!0?" sortable":"")+(c.name===s?` sorted ${u===!0?"sort-desc":""}`:""),__tdStyle:c.style!==void 0?typeof c.style!="function"?()=>c.style:c.style:()=>null,__tdClass:c.classes!==void 0?typeof c.classes!="function"?()=>g+" "+c.classes:h=>g+" "+c.classes(h):()=>g}})}),l=a.computed(()=>{const s={};return r.value.forEach(u=>{s[u.name]=u}),s}),i=a.computed(()=>e.tableColspan!==void 0?e.tableColspan:r.value.length+(n.value===!0?1:0));return{colList:o,computedCols:r,computedColsMap:l,computedColspan:i}}const Ho="q-table__bottom row items-center",ji={};Wl.forEach(e=>{ji[e]={}});const Gm=ge({name:"QTable",props:{rows:{type:Array,required:!0},rowKey:{type:[String,Function],default:"id"},columns:Array,loading:Boolean,iconFirstPage:String,iconPrevPage:String,iconNextPage:String,iconLastPage:String,title:String,hideHeader:Boolean,grid:Boolean,gridHeader:Boolean,dense:Boolean,flat:Boolean,bordered:Boolean,square:Boolean,separator:{type:String,default:"horizontal",validator:e=>["horizontal","vertical","cell","none"].includes(e)},wrapCells:Boolean,virtualScroll:Boolean,virtualScrollTarget:{},...ji,noDataLabel:String,noResultsLabel:String,loadingLabel:String,selectedRowsLabel:Function,rowsPerPageLabel:String,paginationLabel:Function,color:{type:String,default:"grey-8"},titleClass:[String,Array,Object],tableStyle:[String,Array,Object],tableClass:[String,Array,Object],tableHeaderStyle:[String,Array,Object],tableHeaderClass:[String,Array,Object],tableRowStyleFn:Function,tableRowClassFn:Function,cardContainerClass:[String,Array,Object],cardContainerStyle:[String,Array,Object],cardStyle:[String,Array,Object],cardClass:[String,Array,Object],cardStyleFn:Function,cardClassFn:Function,hideBottom:Boolean,hideSelectedBanner:Boolean,hideNoData:Boolean,hidePagination:Boolean,onRowClick:Function,onRowDblclick:Function,onRowContextmenu:Function,...dt,...Nm,...Km,...Vm,...Mm,...zm,...$m,...Pm},emits:["request","virtualScroll",...Dm,...jm,...Um],setup(e,{slots:t,emit:n}){const o=a.getCurrentInstance(),{proxy:{$q:r}}=o,l=ft(e,r),{inFullscreen:i,toggleFullscreen:s}=Im(),u=a.computed(()=>typeof e.rowKey=="function"?e.rowKey:A=>A[e.rowKey]),f=a.ref(null),c=a.ref(null),m=a.computed(()=>e.grid!==!0&&e.virtualScroll===!0),g=a.computed(()=>" q-table__card"+(l.value===!0?" q-table__card--dark q-dark":"")+(e.square===!0?" q-table--square":"")+(e.flat===!0?" q-table--flat":"")+(e.bordered===!0?" q-table--bordered":"")),h=a.computed(()=>`q-table__container q-table--${e.separator}-separator column no-wrap`+(e.grid===!0?" q-table--grid":g.value)+(l.value===!0?" q-table--dark":"")+(e.dense===!0?" q-table--dense":"")+(e.wrapCells===!1?" q-table--no-wrap":"")+(i.value===!0?" fullscreen scroll":"")),d=a.computed(()=>h.value+(e.loading===!0?" q-table--loading":""));a.watch(()=>e.tableStyle+e.tableClass+e.tableHeaderStyle+e.tableHeaderClass+h.value,()=>{var A;m.value===!0&&((A=c.value)==null||A.reset())});const{innerPagination:b,computedPagination:_,isServerSide:p,requestServerInteraction:y,setPagination:C}=Fm(o,We),{computedFilterMethod:v}=Rm(e,C),{isRowExpanded:O,setExpanded:D,updateExpanded:k}=Wm(e,n),B=a.computed(()=>{let A=e.rows;if(p.value===!0||A.length===0)return A;const{sortBy:Z,descending:ie}=_.value;return e.filter&&(A=v.value(A,e.filter,x.value,We)),re.value!==null&&(A=ae.value(e.rows===A?A.slice():A,Z,ie)),A}),I=a.computed(()=>B.value.length),P=a.computed(()=>{let A=B.value;if(p.value===!0)return A;const{rowsPerPage:Z}=_.value;return Z!==0&&(Q.value===0&&e.rows!==A?A.length>pe.value&&(A=A.slice(0,pe.value)):A=A.slice(Q.value,pe.value)),A}),{hasSelectionMode:F,singleSelection:N,multipleSelection:K,allRowsSelected:V,someRowsSelected:J,rowsSelectedNumber:W,isRowSelected:$,clearSelection:z,updateSelection:G}=Hm(e,n,P,u),{colList:ee,computedCols:x,computedColsMap:T,computedColspan:H}=Ym(e,_,F),{columnToSort:re,computedSortMethod:ae,sort:q}=Lm(e,_,ee,C),{firstRowIndex:Q,lastRowIndex:pe,isFirstPage:j,isLastPage:Ce,pagesNumber:Ve,computedRowsPerPageOptions:Ct,computedRowsNumber:Be,firstPage:ht,prevPage:Ge,nextPage:nt,lastPage:St}=qm(o,b,_,p,C,I),E=a.computed(()=>P.value.length===0),w=a.computed(()=>{const A={};return Wl.forEach(Z=>{A[Z]=e[Z]}),A.virtualScrollItemSize===void 0&&(A.virtualScrollItemSize=e.dense===!0?28:48),A});function R(){m.value===!0&&c.value.reset()}function te(){if(e.grid===!0)return El();const A=e.hideHeader!==!0?vo:null;if(m.value===!0){const ie=t["top-row"],le=t["bottom-row"],ue={default:Re=>L(Re.item,t.body,Re.index)};if(ie!==void 0){const Re=a.h("tbody",ie({cols:x.value}));ue.before=A===null?()=>Re:()=>[A()].concat(Re)}else A!==null&&(ue.before=A);return le!==void 0&&(ue.after=()=>a.h("tbody",le({cols:x.value}))),a.h(vf,{ref:c,class:e.tableClass,style:e.tableStyle,...w.value,scrollTarget:e.virtualScrollTarget,items:P.value,type:"__qtable",tableColspan:H.value,onVirtualScroll:ye},ue)}const Z=[U()];return A!==null&&Z.unshift(A()),Ul({class:["q-table__middle scroll",e.tableClass],style:e.tableStyle},Z)}function me(A,Z){if(c.value!==null){c.value.scrollTo(A,Z);return}A=parseInt(A,10);const ie=f.value.querySelector(`tbody tr:nth-of-type(${A+1})`);if(ie!==null){const le=f.value.querySelector(".q-table__middle.scroll"),ue=ie.offsetTop-e.virtualScrollStickySizeStart,Re=ue<le.scrollTop?"decrease":"increase";le.scrollTop=ue,n("virtualScroll",{index:A,from:0,to:b.value.rowsPerPage-1,direction:Re})}}function ye(A){n("virtualScroll",A)}function de(){return[a.h(hm,{class:"q-table__linear-progress",color:e.color,dark:l.value,indeterminate:!0,trackColor:"transparent"})]}function L(A,Z,ie){const le=u.value(A),ue=$(le);if(Z!==void 0){const Ie={key:le,row:A,pageIndex:ie,__trClass:ue?"selected":""};if(e.tableRowStyleFn!==void 0&&(Ie.__trStyle=e.tableRowStyleFn(A)),e.tableRowClassFn!==void 0){const Ut=e.tableRowClassFn(A);Ut&&(Ie.__trClass=`${Ut} ${Ie.__trClass}`)}return Z(fe(Ie))}const Re=t["body-cell"],De=x.value.map(Ie=>{const Ut=t[`body-cell-${Ie.name}`],Fn=Ut!==void 0?Ut:Re;return Fn!==void 0?Fn(Ne({key:le,row:A,pageIndex:ie,col:Ie})):a.h("td",{class:Ie.__tdClass(A),style:Ie.__tdStyle(A)},We(Ie,A))});if(F.value===!0){const Ie=t["body-selection"],Ut=Ie!==void 0?Ie(wt({key:le,row:A,pageIndex:ie})):[a.h(zt,{modelValue:ue,color:e.color,dark:l.value,dense:e.dense,"onUpdate:modelValue":(Fn,Cl)=>{G([le],[A],Fn,Cl)}})];De.unshift(a.h("td",{class:"q-table--col-auto-width"},Ut))}const bt={key:le,class:{selected:ue}};if(e.onRowClick!==void 0&&(bt.class["cursor-pointer"]=!0,bt.onClick=Ie=>{n("rowClick",Ie,A,ie)}),e.onRowDblclick!==void 0&&(bt.class["cursor-pointer"]=!0,bt.onDblclick=Ie=>{n("rowDblclick",Ie,A,ie)}),e.onRowContextmenu!==void 0&&(bt.class["cursor-pointer"]=!0,bt.onContextmenu=Ie=>{n("rowContextmenu",Ie,A,ie)}),e.tableRowStyleFn!==void 0&&(bt.style=e.tableRowStyleFn(A)),e.tableRowClassFn!==void 0){const Ie=e.tableRowClassFn(A);Ie&&(bt.class[Ie]=!0)}return a.h("tr",bt,De)}function U(){const A=t.body,Z=t["top-row"],ie=t["bottom-row"];let le=P.value.map((ue,Re)=>L(ue,A,Re));return Z!==void 0&&(le=Z({cols:x.value}).concat(le)),ie!==void 0&&(le=le.concat(ie({cols:x.value}))),a.h("tbody",le)}function fe(A){return lt(A),A.cols=A.cols.map(Z=>gt({...Z},"value",()=>We(Z,A.row))),A}function Ne(A){return lt(A),gt(A,"value",()=>We(A.col,A.row)),A}function wt(A){return lt(A),A}function lt(A){Object.assign(A,{cols:x.value,colsMap:T.value,sort:q,rowIndex:Q.value+A.pageIndex,color:e.color,dark:l.value,dense:e.dense}),F.value===!0&>(A,"selected",()=>$(A.key),(Z,ie)=>{G([A.key],[A.row],Z,ie)}),gt(A,"expand",()=>O(A.key),Z=>{k(A.key,Z)})}function We(A,Z){const ie=typeof A.field=="function"?A.field(Z):Z[A.field];return A.format!==void 0?A.format(ie,Z):ie}const Qe=a.computed(()=>({pagination:_.value,pagesNumber:Ve.value,isFirstPage:j.value,isLastPage:Ce.value,firstPage:ht,prevPage:Ge,nextPage:nt,lastPage:St,inFullscreen:i.value,toggleFullscreen:s}));function yo(){const A=t.top,Z=t["top-left"],ie=t["top-right"],le=t["top-selection"],ue=F.value===!0&&le!==void 0&&W.value>0,Re="q-table__top relative-position row items-center";if(A!==void 0)return a.h("div",{class:Re},[A(Qe.value)]);let De;if(ue===!0?De=le(Qe.value).slice():(De=[],Z!==void 0?De.push(a.h("div",{class:"q-table__control"},[Z(Qe.value)])):e.title&&De.push(a.h("div",{class:"q-table__control"},[a.h("div",{class:["q-table__title",e.titleClass]},e.title)]))),ie!==void 0&&(De.push(a.h("div",{class:"q-table__separator col"})),De.push(a.h("div",{class:"q-table__control"},[ie(Qe.value)]))),De.length!==0)return a.h("div",{class:Re},De)}const $t=a.computed(()=>J.value===!0?null:V.value);function vo(){const A=_r();return e.loading===!0&&t.loading===void 0&&A.push(a.h("tr",{class:"q-table__progress"},[a.h("th",{class:"relative-position",colspan:H.value},de())])),a.h("thead",A)}function _r(){const A=t.header,Z=t["header-cell"];if(A!==void 0)return A(Mn({header:!0})).slice();const ie=x.value.map(le=>{const ue=t[`header-cell-${le.name}`],Re=ue!==void 0?ue:Z,De=Mn({col:le});return Re!==void 0?Re(De):a.h(Ar,{key:le.name,props:De},()=>le.label)});if(N.value===!0&&e.grid!==!0)ie.unshift(a.h("th",{class:"q-table--col-auto-width"}," "));else if(K.value===!0){const le=t["header-selection"],ue=le!==void 0?le(Mn({})):[a.h(zt,{color:e.color,modelValue:$t.value,dark:l.value,dense:e.dense,"onUpdate:modelValue":Eo})];ie.unshift(a.h("th",{class:"q-table--col-auto-width"},ue))}return[a.h("tr",{class:e.tableHeaderClass,style:e.tableHeaderStyle},ie)]}function Mn(A){return Object.assign(A,{cols:x.value,sort:q,colsMap:T.value,color:e.color,dark:l.value,dense:e.dense}),K.value===!0&>(A,"selected",()=>$t.value,Eo),A}function Eo(A){J.value===!0&&(A=!1),G(P.value.map(u.value),P.value,A)}const pn=a.computed(()=>{const A=[e.iconFirstPage||r.iconSet.table.firstPage,e.iconPrevPage||r.iconSet.table.prevPage,e.iconNextPage||r.iconSet.table.nextPage,e.iconLastPage||r.iconSet.table.lastPage];return r.lang.rtl===!0?A.reverse():A});function br(){if(e.hideBottom===!0)return;if(E.value===!0){if(e.hideNoData===!0)return;const ie=e.loading===!0?e.loadingLabel||r.lang.table.loading:e.filter?e.noResultsLabel||r.lang.table.noResults:e.noDataLabel||r.lang.table.noData,le=t["no-data"],ue=le!==void 0?[le({message:ie,icon:r.iconSet.table.warning,filter:e.filter})]:[a.h(Ae,{class:"q-table__bottom-nodata-icon",name:r.iconSet.table.warning}),ie];return a.h("div",{class:Ho+" q-table__bottom--nodata"},ue)}const A=t.bottom;if(A!==void 0)return a.h("div",{class:Ho},[A(Qe.value)]);const Z=e.hideSelectedBanner!==!0&&F.value===!0&&W.value>0?[a.h("div",{class:"q-table__control"},[a.h("div",[(e.selectedRowsLabel||r.lang.table.selectedRecords)(W.value)])])]:[];if(e.hidePagination!==!0)return a.h("div",{class:Ho+" justify-end"},vl(Z));if(Z.length!==0)return a.h("div",{class:Ho},Z)}function yl(A){C({page:1,rowsPerPage:A.value})}function vl(A){let Z;const{rowsPerPage:ie}=_.value,le=e.paginationLabel||r.lang.table.pagination,ue=t.pagination,Re=e.rowsPerPageOptions.length>1;if(A.push(a.h("div",{class:"q-table__separator col"})),Re===!0&&A.push(a.h("div",{class:"q-table__control"},[a.h("span",{class:"q-table__bottom-item"},[e.rowsPerPageLabel||r.lang.table.recordsPerPage]),a.h(ca,{class:"q-table__select inline q-table__bottom-item",color:e.color,modelValue:ie,options:Ct.value,displayValue:ie===0?r.lang.table.allRows:ie,dark:l.value,borderless:!0,dense:!0,optionsDense:!0,optionsCover:!0,"onUpdate:modelValue":yl})])),ue!==void 0)Z=ue(Qe.value);else if(Z=[a.h("span",ie!==0?{class:"q-table__bottom-item"}:{},[ie?le(Q.value+1,Math.min(pe.value,Be.value),Be.value):le(1,I.value,Be.value)])],ie!==0&&Ve.value>1){const De={color:e.color,round:!0,dense:!0,flat:!0};e.dense===!0&&(De.size="sm"),Ve.value>2&&Z.push(a.h(it,{key:"pgFirst",...De,icon:pn.value[0],disable:j.value,ariaLabel:r.lang.pagination.first,onClick:ht})),Z.push(a.h(it,{key:"pgPrev",...De,icon:pn.value[1],disable:j.value,ariaLabel:r.lang.pagination.prev,onClick:Ge}),a.h(it,{key:"pgNext",...De,icon:pn.value[2],disable:Ce.value,ariaLabel:r.lang.pagination.next,onClick:nt})),Ve.value>2&&Z.push(a.h(it,{key:"pgLast",...De,icon:pn.value[3],disable:Ce.value,ariaLabel:r.lang.pagination.last,onClick:St}))}return A.push(a.h("div",{class:"q-table__control"},Z)),A}function yr(){const A=e.gridHeader===!0?[a.h("table",{class:"q-table"},[vo()])]:e.loading===!0&&t.loading===void 0?de():void 0;return a.h("div",{class:"q-table__middle"},A)}function El(){const A=t.item!==void 0?t.item:Z=>{const ie=Z.cols.map(ue=>a.h("div",{class:"q-table__grid-item-row"},[a.h("div",{class:"q-table__grid-item-title"},[ue.label]),a.h("div",{class:"q-table__grid-item-value"},[ue.value])]));if(F.value===!0){const ue=t["body-selection"],Re=ue!==void 0?ue(Z):[a.h(zt,{modelValue:Z.selected,color:e.color,dark:l.value,dense:e.dense,"onUpdate:modelValue":(De,bt)=>{G([Z.key],[Z.row],De,bt)}})];ie.unshift(a.h("div",{class:"q-table__grid-item-row"},Re),a.h(xr,{dark:l.value}))}const le={class:["q-table__grid-item-card"+g.value,e.cardClass],style:e.cardStyle};if(e.cardStyleFn!==void 0&&(le.style=[le.style,e.cardStyleFn(Z.row)]),e.cardClassFn!==void 0){const ue=e.cardClassFn(Z.row);ue&&(le.class[0]+=` ${ue}`)}return(e.onRowClick!==void 0||e.onRowDblclick!==void 0||e.onRowContextmenu!==void 0)&&(le.class[0]+=" cursor-pointer",e.onRowClick!==void 0&&(le.onClick=ue=>{n("RowClick",ue,Z.row,Z.pageIndex)}),e.onRowDblclick!==void 0&&(le.onDblclick=ue=>{n("RowDblclick",ue,Z.row,Z.pageIndex)}),e.onRowContextmenu!==void 0&&(le.onContextmenu=ue=>{n("rowContextmenu",ue,Z.row,Z.pageIndex)})),a.h("div",{class:"q-table__grid-item col-xs-12 col-sm-6 col-md-4 col-lg-3"+(Z.selected===!0?" q-table__grid-item--selected":"")},[a.h("div",le,ie)])};return a.h("div",{class:["q-table__grid-content row",e.cardContainerClass],style:e.cardContainerStyle},P.value.map((Z,ie)=>A(fe({key:u.value(Z),row:Z,pageIndex:ie}))))}return Object.assign(o.proxy,{requestServerInteraction:y,setPagination:C,firstPage:ht,prevPage:Ge,nextPage:nt,lastPage:St,isRowSelected:$,clearSelection:z,isRowExpanded:O,setExpanded:D,sort:q,resetVirtualScroll:R,scrollTo:me,getCellValue:We}),xd(o.proxy,{filteredSortedRows:()=>B.value,computedRows:()=>P.value,computedRowsNumber:()=>Be.value}),()=>{const A=[yo()],Z={ref:f,class:d.value};return e.grid===!0?A.push(yr()):Object.assign(Z,{class:[Z.class,e.cardClass],style:e.cardStyle}),A.push(te(),br()),e.loading===!0&&t.loading!==void 0&&A.push(t.loading()),a.h("div",Z,A)}}}),Qm=ge({name:"QTr",props:{props:Object,noHover:Boolean},setup(e,{slots:t}){const n=a.computed(()=>"q-tr"+(e.props===void 0||e.props.header===!0?"":" "+e.props.__trClass)+(e.noHover===!0?" q-tr--no-hover":""));return()=>{var o;return a.h("tr",{style:(o=e.props)==null?void 0:o.__trStyle,class:n.value},ve(t.default))}}}),Xm={name:"TableSlotHeader",props:{tableProps:{type:Object,required:!0},selectionType:{type:String,default:"none"},smallDevice:{type:Boolean,required:!0}},data(){return{tablePropsData:this.tableProps,showColumnsSelector:!1,showSearch:!1}},watch:{tableProps(e){this.tablePropsData=e}},methods:{}},Pe=(e,t)=>{const n=e.__vccOpts||e;for(const[o,r]of t)n[o]=r;return n};function Zm(e,t,n,o,r,l){return a.openBlock(),a.createBlock(Qm,{class:"table-header"},{default:a.withCtx(()=>[n.selectionType!=="none"?(a.openBlock(),a.createBlock(Ar,{key:0},{default:a.withCtx(()=>[n.selectionType=="multiple"?(a.openBlock(),a.createBlock(zt,{key:0,modelValue:r.tablePropsData.selected,"onUpdate:modelValue":t[0]||(t[0]=i=>r.tablePropsData.selected=i),size:"sm",class:"float-left"},null,8,["modelValue"])):a.createCommentVNode("",!0)]),_:1})):a.createCommentVNode("",!0),n.smallDevice?a.createCommentVNode("",!0):(a.openBlock(!0),a.createElementBlock(a.Fragment,{key:1},a.renderList(r.tablePropsData.cols,i=>(a.openBlock(),a.createBlock(Ar,{key:i.name,props:r.tablePropsData},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(i.label),1)]),_:2},1032,["props"]))),128))]),_:1})}const Jm=Pe(Xm,[["render",Zm]]),eh={name:"TableColumnsSelector",props:{columns:{type:Array},visibleColumns:{type:Array,required:!0}},emits:["onSelectVisibleColumns"],data(){return{visibleColumnsData:[]}},mounted(){this.visibleColumnsData=this.visibleColumns},methods:{onSelectVisibleColumns(e){this.$emit("onSelectVisibleColumns",e)}}};function th(e,t,n,o,r,l){return a.openBlock(),a.createBlock(ca,{modelValue:r.visibleColumnsData,"onUpdate:modelValue":[t[0]||(t[0]=i=>r.visibleColumnsData=i),l.onSelectVisibleColumns],multiple:"",outlined:"",dense:"","options-dense":"","display-value":e.$q.lang.table.columns,"emit-value":"","map-options":"",options:n.columns,"option-value":"name","options-cover":"",class:"columns-selector","options-selected-class":"addicional-visible-columns"},{option:a.withCtx(i=>[a.createVNode(yt,a.mergeProps(i.itemProps,{class:i.opt.required?"required-table-columns":""}),{default:a.withCtx(()=>[a.createVNode(tt,null,{default:a.withCtx(()=>[a.createVNode(Xe,null,{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(i.opt.label),1)]),_:2},1024)]),_:2},1024)]),_:2},1040,["class"])]),_:1},8,["modelValue","display-value","options","onUpdate:modelValue"])}const nh=Pe(eh,[["render",th]]),Wi=ge({name:"QTd",props:{props:Object,autoWidth:Boolean,noHover:Boolean},setup(e,{slots:t}){const n=a.getCurrentInstance(),o=a.computed(()=>"q-td"+(e.autoWidth===!0?" q-table--col-auto-width":"")+(e.noHover===!0?" q-td--no-hover":"")+" ");return()=>{if(e.props===void 0)return a.h("td",{class:o.value},ve(t.default));const r=n.vnode.key,l=(e.props.colsMap!==void 0?e.props.colsMap[r]:null)||e.props.col;if(l===void 0)return;const{row:i}=e.props;return a.h("td",{class:o.value+l.__tdClass(i),style:l.__tdStyle(i)},ve(t.default))}}}),Ki={date:"####/##/##",datetime:"####/##/## ##:##",time:"##:##",fulltime:"##:##:##",phone:"(###) ### - ####",card:"#### #### #### ####"},zo={"#":{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()}},Yi=Object.keys(zo);Yi.forEach(e=>{zo[e].regex=new RegExp(zo[e].pattern)});const oh=new RegExp("\\\\([^.*+?^${}()|([\\]])|([.*+?^${}()|[\\]])|(["+Yi.join("")+"])|(.)","g"),Gi=/[.*+?^${}()|[\]\\]/g,je="",rh={mask:String,reverseFillMask:Boolean,fillMask:[Boolean,String],unmaskedValue:Boolean};function ah(e,t,n,o){let r,l,i,s,u,f;const c=a.ref(null),m=a.ref(h());function g(){return e.autogrow===!0||["textarea","text","search","url","tel","password"].includes(e.type)}a.watch(()=>e.type+e.autogrow,b),a.watch(()=>e.mask,I=>{if(I!==void 0)_(m.value,!0);else{const P=k(m.value);b(),e.modelValue!==P&&t("update:modelValue",P)}}),a.watch(()=>e.fillMask+e.reverseFillMask,()=>{c.value===!0&&_(m.value,!0)}),a.watch(()=>e.unmaskedValue,()=>{c.value===!0&&_(m.value)});function h(){if(b(),c.value===!0){const I=O(k(e.modelValue));return e.fillMask!==!1?B(I):I}return e.modelValue}function d(I){if(I<r.length)return r.slice(-I);let P="",F=r;const N=F.indexOf(je);if(N!==-1){for(let K=I-F.length;K>0;K--)P+=je;F=F.slice(0,N)+P+F.slice(N)}return F}function b(){if(c.value=e.mask!==void 0&&e.mask.length!==0&&g(),c.value===!1){s=void 0,r="",l="";return}const I=Ki[e.mask]===void 0?e.mask:Ki[e.mask],P=typeof e.fillMask=="string"&&e.fillMask.length!==0?e.fillMask.slice(0,1):"_",F=P.replace(Gi,"\\$&"),N=[],K=[],V=[];let J=e.reverseFillMask===!0,W="",$="";I.replace(oh,(x,T,H,re,ae)=>{if(re!==void 0){const q=zo[re];V.push(q),$=q.negate,J===!0&&(K.push("(?:"+$+"+)?("+q.pattern+"+)?(?:"+$+"+)?("+q.pattern+"+)?"),J=!1),K.push("(?:"+$+"+)?("+q.pattern+")?")}else if(H!==void 0)W="\\"+(H==="\\"?"":H),V.push(H),N.push("([^"+W+"]+)?"+W+"?");else{const q=T!==void 0?T:ae;W=q==="\\"?"\\\\\\\\":q.replace(Gi,"\\\\$&"),V.push(q),N.push("([^"+W+"]+)?"+W+"?")}});const z=new RegExp("^"+N.join("")+"("+(W===""?".":"[^"+W+"]")+"+)?"+(W===""?"":"["+W+"]*")+"$"),G=K.length-1,ee=K.map((x,T)=>T===0&&e.reverseFillMask===!0?new RegExp("^"+F+"*"+x):T===G?new RegExp("^"+x+"("+($===""?".":$)+"+)?"+(e.reverseFillMask===!0?"$":F+"*")):new RegExp("^"+x));i=V,s=x=>{const T=z.exec(e.reverseFillMask===!0?x:x.slice(0,V.length+1));T!==null&&(x=T.slice(1).join(""));const H=[],re=ee.length;for(let ae=0,q=x;ae<re;ae++){const Q=ee[ae].exec(q);if(Q===null)break;q=q.slice(Q.shift().length),H.push(...Q)}return H.length!==0?H.join(""):x},r=V.map(x=>typeof x=="string"?x:je).join(""),l=r.split(je).join(P)}function _(I,P,F){const N=o.value,K=N.selectionEnd,V=N.value.length-K,J=k(I);P===!0&&b();const W=O(J),$=e.fillMask!==!1?B(W):W,z=m.value!==$;N.value!==$&&(N.value=$),z===!0&&(m.value=$),document.activeElement===N&&a.nextTick(()=>{if($===l){const ee=e.reverseFillMask===!0?l.length:0;N.setSelectionRange(ee,ee,"forward");return}if(F==="insertFromPaste"&&e.reverseFillMask!==!0){const ee=N.selectionEnd;let x=K-1;for(let T=u;T<=x&&T<ee;T++)r[T]!==je&&x++;y.right(N,x);return}if(["deleteContentBackward","deleteContentForward"].indexOf(F)!==-1){const ee=e.reverseFillMask===!0?K===0?$.length>W.length?1:0:Math.max(0,$.length-($===l?0:Math.min(W.length,V)+1))+1:K;N.setSelectionRange(ee,ee,"forward");return}if(e.reverseFillMask===!0)if(z===!0){const ee=Math.max(0,$.length-($===l?0:Math.min(W.length,V+1)));ee===1&&K===1?N.setSelectionRange(ee,ee,"forward"):y.rightReverse(N,ee)}else{const ee=$.length-V;N.setSelectionRange(ee,ee,"backward")}else if(z===!0){const ee=Math.max(0,r.indexOf(je),Math.min(W.length,K)-1);y.right(N,ee)}else{const ee=K-1;y.right(N,ee)}});const G=e.unmaskedValue===!0?k($):$;String(e.modelValue)!==G&&(e.modelValue!==null||G!=="")&&n(G,!0)}function p(I,P,F){const N=O(k(I.value));P=Math.max(0,r.indexOf(je),Math.min(N.length,P)),u=P,I.setSelectionRange(P,F,"forward")}const y={left(I,P){const F=r.slice(P-1).indexOf(je)===-1;let N=Math.max(0,P-1);for(;N>=0;N--)if(r[N]===je){P=N,F===!0&&P++;break}if(N<0&&r[P]!==void 0&&r[P]!==je)return y.right(I,0);P>=0&&I.setSelectionRange(P,P,"backward")},right(I,P){const F=I.value.length;let N=Math.min(F,P+1);for(;N<=F;N++)if(r[N]===je){P=N;break}else r[N-1]===je&&(P=N);if(N>F&&r[P-1]!==void 0&&r[P-1]!==je)return y.left(I,F);I.setSelectionRange(P,P,"forward")},leftReverse(I,P){const F=d(I.value.length);let N=Math.max(0,P-1);for(;N>=0;N--)if(F[N-1]===je){P=N;break}else if(F[N]===je&&(P=N,N===0))break;if(N<0&&F[P]!==void 0&&F[P]!==je)return y.rightReverse(I,0);P>=0&&I.setSelectionRange(P,P,"backward")},rightReverse(I,P){const F=I.value.length,N=d(F),K=N.slice(0,P+1).indexOf(je)===-1;let V=Math.min(F,P+1);for(;V<=F;V++)if(N[V-1]===je){P=V,P>0&&K===!0&&P--;break}if(V>F&&N[P-1]!==void 0&&N[P-1]!==je)return y.leftReverse(I,F);I.setSelectionRange(P,P,"forward")}};function C(I){t("click",I),f=void 0}function v(I){if(t("keydown",I),Sr(I)===!0||I.altKey===!0)return;const P=o.value,F=P.selectionStart,N=P.selectionEnd;if(I.shiftKey||(f=void 0),I.keyCode===37||I.keyCode===39){I.shiftKey&&f===void 0&&(f=P.selectionDirection==="forward"?F:N);const K=y[(I.keyCode===39?"right":"left")+(e.reverseFillMask===!0?"Reverse":"")];if(I.preventDefault(),K(P,f===F?N:F),I.shiftKey){const V=P.selectionStart;P.setSelectionRange(Math.min(f,V),Math.max(f,V),"forward")}}else I.keyCode===8&&e.reverseFillMask!==!0&&F===N?(y.left(P,F),P.setSelectionRange(P.selectionStart,N,"backward")):I.keyCode===46&&e.reverseFillMask===!0&&F===N&&(y.rightReverse(P,N),P.setSelectionRange(F,P.selectionEnd,"forward"))}function O(I){if(I==null||I==="")return"";if(e.reverseFillMask===!0)return D(I);const P=i;let F=0,N="";for(let K=0;K<P.length;K++){const V=I[F],J=P[K];if(typeof J=="string")N+=J,V===J&&F++;else if(V!==void 0&&J.regex.test(V))N+=J.transform!==void 0?J.transform(V):V,F++;else return N}return N}function D(I){const P=i,F=r.indexOf(je);let N=I.length-1,K="";for(let V=P.length-1;V>=0&&N!==-1;V--){const J=P[V];let W=I[N];if(typeof J=="string")K=J+K,W===J&&N--;else if(W!==void 0&&J.regex.test(W))do K=(J.transform!==void 0?J.transform(W):W)+K,N--,W=I[N];while(F===V&&W!==void 0&&J.regex.test(W));else return K}return K}function k(I){return typeof I!="string"||s===void 0?typeof I=="number"?s(""+I):I:s(I)}function B(I){return l.length-I.length<=0?I:e.reverseFillMask===!0&&I.length!==0?l.slice(0,-I.length)+I:I+l.slice(I.length)}return{innerValue:m,hasMask:c,moveCursorForPaste:p,updateMaskValue:_,onMaskedKeydown:v,onMaskedClick:C}}function lh(e,t){function n(){const o=e.modelValue;try{const r="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(l=>{r.items.add(l)}),{files:r.files}}catch{return{files:void 0}}}return a.computed(()=>{if(e.type==="file")return n()})}const da=ge({name:"QInput",inheritAttrs:!1,props:{...Lo,...rh,...sa,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:[...Ur,"paste","change","keydown","click","animationend"],setup(e,{emit:t,attrs:n}){const{proxy:o}=a.getCurrentInstance(),{$q:r}=o,l={};let i=NaN,s,u,f=null,c;const m=a.ref(null),g=Li(e),{innerValue:h,hasMask:d,moveCursorForPaste:b,updateMaskValue:_,onMaskedKeydown:p,onMaskedClick:y}=ah(e,t,W,m),C=lh(e),v=a.computed(()=>Qn(h.value)),O=Vi(V),D=Hr({changeEvent:!0}),k=a.computed(()=>e.type==="textarea"||e.autogrow===!0),B=a.computed(()=>k.value===!0||["text","search","url","tel","password"].includes(e.type)),I=a.computed(()=>{const T={...D.splitAttrs.listeners.value,onInput:V,onPaste:K,onChange:z,onBlur:G,onFocus:Dt};return T.onCompositionstart=T.onCompositionupdate=T.onCompositionend=O,d.value===!0&&(T.onKeydown=p,T.onClick=y),e.autogrow===!0&&(T.onAnimationend=J),T}),P=a.computed(()=>{const T={tabindex:0,"data-autofocus":e.autofocus===!0||void 0,rows:e.type==="textarea"?6:void 0,"aria-label":e.label,name:g.value,...D.splitAttrs.attributes.value,id:D.targetUid.value,maxlength:e.maxlength,disabled:e.disable===!0,readonly:e.readonly===!0};return k.value===!1&&(T.type=e.type),e.autogrow===!0&&(T.rows=1),T});a.watch(()=>e.type,()=>{m.value&&(m.value.value=e.modelValue)}),a.watch(()=>e.modelValue,T=>{if(d.value===!0){if(u===!0&&(u=!1,String(T)===i))return;_(T)}else h.value!==T&&(h.value=T,e.type==="number"&&l.hasOwnProperty("value")===!0&&(s===!0?s=!1:delete l.value));e.autogrow===!0&&a.nextTick($)}),a.watch(()=>e.autogrow,T=>{T===!0?a.nextTick($):m.value!==null&&n.rows>0&&(m.value.style.height="auto")}),a.watch(()=>e.dense,()=>{e.autogrow===!0&&a.nextTick($)});function F(){Po(()=>{const T=document.activeElement;m.value!==null&&m.value!==T&&(T===null||T.id!==D.targetUid.value)&&m.value.focus({preventScroll:!0})})}function N(){var T;(T=m.value)==null||T.select()}function K(T){if(d.value===!0&&e.reverseFillMask!==!0){const H=T.target;b(H,H.selectionStart,H.selectionEnd)}t("paste",T)}function V(T){if(!T||!T.target)return;if(e.type==="file"){t("update:modelValue",T.target.files);return}const H=T.target.value;if(T.target.qComposing===!0){l.value=H;return}if(d.value===!0)_(H,!1,T.inputType);else if(W(H),B.value===!0&&T.target===document.activeElement){const{selectionStart:re,selectionEnd:ae}=T.target;re!==void 0&&ae!==void 0&&a.nextTick(()=>{T.target===document.activeElement&&H.indexOf(T.target.value)===0&&T.target.setSelectionRange(re,ae)})}e.autogrow===!0&&$()}function J(T){t("animationend",T),$()}function W(T,H){c=()=>{f=null,e.type!=="number"&&l.hasOwnProperty("value")===!0&&delete l.value,e.modelValue!==T&&i!==T&&(i=T,H===!0&&(u=!0),t("update:modelValue",T),a.nextTick(()=>{i===T&&(i=NaN)})),c=void 0},e.type==="number"&&(s=!0,l.value=T),e.debounce!==void 0?(f!==null&&clearTimeout(f),l.value=T,f=setTimeout(c,e.debounce)):c()}function $(){requestAnimationFrame(()=>{const T=m.value;if(T!==null){const H=T.parentNode.style,{scrollTop:re}=T,{overflowY:ae,maxHeight:q}=r.platform.is.firefox===!0?{}:window.getComputedStyle(T),Q=ae!==void 0&&ae!=="scroll";Q===!0&&(T.style.overflowY="hidden"),H.marginBottom=T.scrollHeight-1+"px",T.style.height="1px",T.style.height=T.scrollHeight+"px",Q===!0&&(T.style.overflowY=parseInt(q,10)<T.scrollHeight?"auto":"hidden"),H.marginBottom="",T.scrollTop=re}})}function z(T){O(T),f!==null&&(clearTimeout(f),f=null),c==null||c(),t("change",T.target.value)}function G(T){T!==void 0&&Dt(T),f!==null&&(clearTimeout(f),f=null),c==null||c(),s=!1,u=!1,delete l.value,e.type!=="file"&&setTimeout(()=>{m.value!==null&&(m.value.value=h.value!==void 0?h.value:"")})}function ee(){return l.hasOwnProperty("value")===!0?l.value:h.value!==void 0?h.value:""}a.onBeforeUnmount(()=>{G()}),a.onMounted(()=>{e.autogrow===!0&&$()}),Object.assign(D,{innerValue:h,fieldClass:a.computed(()=>`q-${k.value===!0?"textarea":"input"}`+(e.autogrow===!0?" q-textarea--autogrow":"")),hasShadow:a.computed(()=>e.type!=="file"&&typeof e.shadowText=="string"&&e.shadowText.length!==0),inputRef:m,emitValue:W,hasValue:v,floatingLabel:a.computed(()=>v.value===!0&&(e.type!=="number"||isNaN(h.value)===!1)||Qn(e.displayValue)),getControl:()=>a.h(k.value===!0?"textarea":"input",{ref:m,class:["q-field__native q-placeholder",e.inputClass],style:e.inputStyle,...P.value,...I.value,...e.type!=="file"?{value:ee()}:C.value}),getShadowControl:()=>a.h("div",{class:"q-field__native q-field__shadow absolute-bottom no-pointer-events"+(k.value===!0?"":" text-no-wrap")},[a.h("span",{class:"invisible"},ee()),a.h("span",e.shadowText)])});const x=zr(D);return Object.assign(o,{focus:F,select:N,getNativeElement:()=>m.value}),gt(o,"nativeEl",()=>m.value),x}});function oo(e,t=new WeakMap){if(Object(e)!==e)return e;if(t.has(e))return t.get(e);const n=e instanceof Date?new Date(e):e instanceof RegExp?new RegExp(e.source,e.flags):e instanceof Set?new Set:e instanceof Map?new Map:typeof e.constructor!="function"?Object.create(null):e.prototype!==void 0&&typeof e.prototype.constructor=="function"?e:new e.constructor;if(typeof e.constructor=="function"&&typeof e.valueOf=="function"){const o=e.valueOf();if(Object(o)!==o){const r=new e.constructor(o);return t.set(e,r),r}}return t.set(e,n),e instanceof Set?e.forEach(o=>{n.add(oo(o,t))}):e instanceof Map&&e.forEach((o,r)=>{n.set(r,oo(o,t))}),Object.assign(n,...Object.keys(e).map(o=>({[o]:oo(e[o],t)})))}const Qi=ge({name:"QPopupEdit",props:{modelValue:{required:!0},title:String,buttons:Boolean,labelSet:String,labelCancel:String,color:{type:String,default:"primary"},validate:{type:Function,default:()=>!0},autoSave:Boolean,cover:{type:Boolean,default:!0},disable:Boolean},emits:["update:modelValue","save","cancel","beforeShow","show","beforeHide","hide"],setup(e,{slots:t,emit:n}){const{proxy:o}=a.getCurrentInstance(),{$q:r}=o,l=a.ref(null),i=a.ref(""),s=a.ref("");let u=!1;const f=a.computed(()=>gt({initialValue:i.value,validate:e.validate,set:c,cancel:m,updatePosition:g},"value",()=>s.value,v=>{s.value=v}));function c(){e.validate(s.value)!==!1&&(h()===!0&&(n("save",s.value,i.value),n("update:modelValue",s.value)),d())}function m(){h()===!0&&n("cancel",s.value,i.value),d()}function g(){a.nextTick(()=>{l.value.updatePosition()})}function h(){return Bt(s.value,i.value)===!1}function d(){u=!0,l.value.hide()}function b(){u=!1,i.value=oo(e.modelValue),s.value=oo(e.modelValue),n("beforeShow")}function _(){n("show")}function p(){u===!1&&h()===!0&&(e.autoSave===!0&&e.validate(s.value)===!0?(n("save",s.value,i.value),n("update:modelValue",s.value)):n("cancel",s.value,i.value)),n("beforeHide")}function y(){n("hide")}function C(){const v=t.default!==void 0?[].concat(t.default(f.value)):[];return e.title&&v.unshift(a.h("div",{class:"q-dialog__title q-mt-sm q-mb-sm"},e.title)),e.buttons===!0&&v.push(a.h("div",{class:"q-popup-edit__buttons row justify-center no-wrap"},[a.h(it,{flat:!0,color:e.color,label:e.labelCancel||r.lang.label.cancel,onClick:m}),a.h(it,{flat:!0,color:e.color,label:e.labelSet||r.lang.label.set,onClick:c})])),v}return Object.assign(o,{set:c,cancel:m,show(v){var O;(O=l.value)==null||O.show(v)},hide(v){var O;(O=l.value)==null||O.hide(v)},updatePosition:g}),()=>{if(e.disable!==!0)return a.h(Oi,{ref:l,class:"q-popup-edit",cover:e.cover,onBeforeShow:b,onShow:_,onBeforeHide:p,onHide:y,onEscapeKey:m},C)}}}),ih={name:"PopupEditNumber",props:{model:{type:[String,Number,Boolean,Array,Object],required:!0},label:{type:String,required:!0},dataCy:{type:String,required:!0},popupEditNumberOptions:{type:Array,default:()=>[]},showSelectNumberOptions:{type:Boolean,required:!1}},emits:["popupEditUpdated","popupEditEmit","save"],data(){return{modelData:this.model}},methods:{validate(e){this.$refs.inputNumber.validate()?this.$emit("save",e):this.$q.notify({type:"negative",message:"Value not accepted",position:"bottom"})}}};function sh(e,t,n,o,r,l){return a.openBlock(),a.createBlock(Qi,{modelValue:r.modelData,"onUpdate:modelValue":t[1]||(t[1]=i=>r.modelData=i),buttons:"","label-set":e.$t("table.confirm"),"label-cancel":e.$t("table.cancel"),onSave:l.validate,onCancel:()=>{}},{default:a.withCtx(i=>[n.showSelectNumberOptions?a.createCommentVNode("",!0):(a.openBlock(),a.createBlock(da,{key:0,ref:"inputNumber",modelValue:i.value,"onUpdate:modelValue":s=>i.value=s,"data-cy":n.dataCy,label:n.label,type:"text",mask:"#####",dense:"",autofocus:"",onKeyup:t[0]||(t[0]=a.withKeys(a.withModifiers(()=>{},["stop"]),["enter"]))},null,8,["modelValue","onUpdate:modelValue","data-cy","label"])),n.showSelectNumberOptions?(a.openBlock(),a.createBlock(ca,{key:1,ref:"selectField",modelValue:i.value,"onUpdate:modelValue":s=>i.value=s,"data-cy":n.dataCy,dense:"",options:n.popupEditNumberOptions},null,8,["modelValue","onUpdate:modelValue","data-cy","options"])):a.createCommentVNode("",!0)]),_:1},8,["modelValue","label-set","label-cancel","onSave"])}const Xi=Pe(ih,[["render",sh]]),uh={name:"PopupEditText",props:{model:{type:[String,Number,Boolean,Array,Object],required:!0},label:{type:String,required:!0},dataCy:{type:String,required:!0},inputType:{type:String,required:!0},inputMaxLength:{type:Number,required:!0}},emits:["popupEditUpdated","popupEditEmit","save"],data(){return{modelData:this.model}},methods:{validate(e){this.$refs.inputText.validate()?this.$emit("save",e):this.$q.notify({type:"negative",message:"Value not accepted",position:"bottom"})}}};function ch(e,t,n,o,r,l){return a.openBlock(),a.createBlock(Qi,{modelValue:r.modelData,"onUpdate:modelValue":t[1]||(t[1]=i=>r.modelData=i),buttons:"","label-set":e.$t("table.confirm"),"label-cancel":e.$t("table.cancel"),onSave:l.validate,onCancel:()=>{}},{default:a.withCtx(i=>[a.createVNode(da,{ref:"inputText",modelValue:i.value,"onUpdate:modelValue":s=>i.value=s,"data-cy":n.dataCy,label:n.label,type:n.inputType,autogrow:n.inputType==="textarea",rules:[s=>s&&s.length>0||e.$t("form.rules.emptyField"),s=>s&&s.length<=n.inputMaxLength||e.$t("form.rules.exceedCharactersTypeList",[n.inputMaxLength])],dense:"",autofocus:"",onKeyup:t[0]||(t[0]=a.withKeys(a.withModifiers(()=>{},["stop"]),["enter"]))},null,8,["modelValue","onUpdate:modelValue","data-cy","label","type","autogrow","rules"])]),_:1},8,["modelValue","label-set","label-cancel","onSave"])}const Zi=Pe(uh,[["render",ch]]),dh={name:"BasicCheckBox",props:{model:{type:Boolean,required:!0},tableProps:{type:Object,required:!0},dataCy:{type:String,required:!0}},emits:["checkBoxEmit"],data(){return{tablePropsData:this.tableProps,modelData:this.model}},watch:{model(e){this.modelData=e}}};function fh(e,t,n,o,r,l){return a.openBlock(),a.createBlock(zt,{modelValue:r.modelData,"onUpdate:modelValue":[t[0]||(t[0]=i=>r.modelData=i),t[1]||(t[1]=i=>{e.$emit("checkBoxEmit",i)})],"data-cy":n.dataCy},null,8,["modelValue","data-cy"])}const Ji=Pe(dh,[["render",fh]]),mh={name:"CustomizedCheckBox",props:{model:{type:Boolean,required:!0},tableProps:{type:Object,required:!0},dataCy:{type:String,required:!0},checkBoxColor:{type:String,required:!0},checkBoxIconSize:{type:String,required:!0},checkedIcon:{type:String,required:!0},uncheckedIcon:{type:String,required:!0}},emits:["checkBoxEmit"],data(){return{tablePropsData:this.tableProps,modelData:this.model}},watch:{model(e){this.modelData=e}}};function hh(e,t,n,o,r,l){return a.openBlock(),a.createBlock(zt,{modelValue:r.modelData,"onUpdate:modelValue":[t[0]||(t[0]=i=>r.modelData=i),t[1]||(t[1]=i=>{e.$emit("checkBoxEmit",i)})],"data-cy":n.dataCy,size:n.checkBoxIconSize,color:n.checkBoxColor,"keep-color":!0,"checked-icon":n.checkedIcon,"unchecked-icon":n.uncheckedIcon},null,8,["modelValue","data-cy","size","color","checked-icon","unchecked-icon"])}const es=Pe(mh,[["render",hh]]),gh={name:"CustomizedIcon",props:{model:{type:Boolean,required:!0},customizedIconSize:{type:String,required:!0},customizedIconName:{type:String,required:!0},customizedIconColor:{type:String,required:!0}}};function ph(e,t,n,o,r,l){return a.openBlock(),a.createBlock(Ae,{name:n.customizedIconName?n.customizedIconName:n.model?"check_circle":"cancel",color:n.customizedIconColor?n.customizedIconColor:n.model?"green":"red",size:n.customizedIconSize},null,8,["name","color","size"])}const ts=Pe(gh,[["render",ph]]),_h={name:"CustomizedButton",props:{dataCy:{type:String,required:!0},btnColor:{type:String,required:!0},btnIcon:{type:String,required:!0},btnDisable:{type:Boolean,required:!0}},emits:["onClickButton"],data:function(){return{}}};function bh(e,t,n,o,r,l){return a.openBlock(),a.createBlock(it,{"data-cy":n.dataCy,flat:"",round:"",color:n.btnColor,size:"md",disable:n.btnDisable,onClick:t[0]||(t[0]=i=>e.$emit("onClickButton"))},{default:a.withCtx(()=>[a.createVNode(Ae,{name:n.btnIcon},null,8,["name"])]),_:1},8,["data-cy","color","disable"])}const ns=Pe(_h,[["render",bh]]),yh=["top","middle","bottom"],vh=ge({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=>yh.includes(e)}},setup(e,{slots:t}){const n=a.computed(()=>e.align!==void 0?{verticalAlign:e.align}:null),o=a.computed(()=>{const r=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}`:"")+(r!==void 0?` text-${r}`:"")+(e.floating===!0?" q-badge--floating":"")+(e.rounded===!0?" q-badge--rounded":"")+(e.transparent===!0?" q-badge--transparent":"")});return()=>a.h("div",{class:o.value,style:n.value,role:"status","aria-label":e.label},At(t.default,e.label!==void 0?[e.label]:[]))}}),Eh={name:"CustomizedBadge",props:{dataCy:{type:String,required:!0},badgeText:{type:String,required:!0},badgeColor:{type:String,required:!0},badgeTextColor:{type:String,required:!0},badgeOutline:{type:Boolean,required:!0},badgeRounded:{type:Boolean,required:!0},badgeTransparent:{type:Boolean,required:!0}}};function Ch(e,t,n,o,r,l){return a.openBlock(),a.createBlock(vh,{class:"cursor-pointer","data-cy":"badge"+n.dataCy,color:n.badgeColor,"text-color":n.badgeTextColor,outline:n.badgeOutline,rounded:n.badgeRounded,transparent:n.badgeTransparent},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(e.$t(n.badgeText)),1)]),_:1},8,["data-cy","color","text-color","outline","rounded","transparent"])}const os=Pe(Eh,[["render",Ch]]),Sh=ge({name:"QTooltip",inheritAttrs:!1,props:{...gi,...Yr,...Zn,maxHeight:{type:String,default:null},maxWidth:{type:String,default:null},transitionShow:{...Zn.transitionShow,default:"jump-down"},transitionHide:{...Zn.transitionHide,default:"jump-up"},anchor:{type:String,default:"bottom middle",validator:Fo},self:{type:String,default:"top middle",validator:Fo},offset:{type:Array,default:()=>[14,14],validator:ki},scrollTarget:Br,delay:{type:Number,default:0},hideDelay:{type:Number,default:0},persistent:Boolean},emits:[...Gr],setup(e,{slots:t,emit:n,attrs:o}){let r,l;const i=a.getCurrentInstance(),{proxy:{$q:s}}=i,u=a.ref(null),f=a.ref(!1),c=a.computed(()=>qo(e.anchor,s.lang.rtl)),m=a.computed(()=>qo(e.self,s.lang.rtl)),g=a.computed(()=>e.persistent!==!0),{registerTick:h,removeTick:d}=Jr(),{registerTimeout:b}=ea(),{transitionProps:_,transitionStyle:p}=Zr(e),{localScrollTarget:y,changeScrollEvent:C,unconfigureScrollTarget:v}=_i(e,ee),{anchorEl:O,canShow:D,anchorEvents:k}=pi({showing:f,configureAnchorEl:G}),{show:B,hide:I}=Qr({showing:f,canShow:D,handleShow:K,handleHide:V,hideOnRouteChange:g,processOnMount:!0});Object.assign(k,{delayShow:$,delayHide:z});const{showPortal:P,hidePortal:F,renderPortal:N}=Xr(i,u,T,"tooltip");if(s.platform.is.mobile===!0){const H={anchorEl:O,innerRef:u,onClickOutside(ae){return I(ae),ae.target.classList.contains("q-dialog__backdrop")&&He(ae),!0}},re=a.computed(()=>e.modelValue===null&&e.persistent!==!0&&f.value===!0);a.watch(re,ae=>{(ae===!0?Ci:Mo)(H)}),a.onBeforeUnmount(()=>{Mo(H)})}function K(H){P(),h(()=>{l=new MutationObserver(()=>W()),l.observe(u.value,{attributes:!1,childList:!0,characterData:!0,subtree:!0}),W(),ee()}),r===void 0&&(r=a.watch(()=>s.screen.width+"|"+s.screen.height+"|"+e.self+"|"+e.anchor+"|"+s.lang.rtl,W)),b(()=>{P(!0),n("show",H)},e.transitionDuration)}function V(H){d(),F(),J(),b(()=>{F(!0),n("hide",H)},e.transitionDuration)}function J(){l!==void 0&&(l.disconnect(),l=void 0),r!==void 0&&(r(),r=void 0),v(),wo(k,"tooltipTemp")}function W(){oa({targetEl:u.value,offset:e.offset,anchorEl:O.value,anchorOrigin:c.value,selfOrigin:m.value,maxHeight:e.maxHeight,maxWidth:e.maxWidth})}function $(H){if(s.platform.is.mobile===!0){Kr(),document.body.classList.add("non-selectable");const re=O.value,ae=["touchmove","touchcancel","touchend","click"].map(q=>[re,q,"delayHide","passiveCapture"]);zn(k,"tooltipTemp",ae)}b(()=>{B(H)},e.delay)}function z(H){s.platform.is.mobile===!0&&(wo(k,"tooltipTemp"),Kr(),setTimeout(()=>{document.body.classList.remove("non-selectable")},10)),b(()=>{I(H)},e.hideDelay)}function G(){if(e.noParentEvent===!0||O.value===null)return;const H=s.platform.is.mobile===!0?[[O.value,"touchstart","delayShow","passive"]]:[[O.value,"mouseenter","delayShow","passive"],[O.value,"mouseleave","delayHide","passive"]];zn(k,"anchor",H)}function ee(){if(O.value!==null||e.scrollTarget!==void 0){y.value=Mr(O.value,e.scrollTarget);const H=e.noParentEvent===!0?W:I;C(y.value,H)}}function x(){return f.value===!0?a.h("div",{...o,ref:u,class:["q-tooltip q-tooltip--style q-position-engine no-pointer-events",o.class],style:[o.style,p.value],role:"tooltip"},ve(t.default)):null}function T(){return a.h(a.Transition,_.value,x)}return a.onBeforeUnmount(J),Object.assign(i.proxy,{updatePosition:W}),N}}),wh={name:"IConWithToolTip",props:{dataCy:{type:String,required:!0},iconColor:{type:String,required:!0},iconName:{type:String,required:!0},toolTipText:{type:String,required:!0}},emits:["onClickIconToolTip"]};function kh(e,t,n,o,r,l){return a.openBlock(),a.createBlock(Ae,{"data-cy":n.dataCy,name:n.iconName,color:n.iconColor,size:"sm",onClick:t[0]||(t[0]=i=>e.$emit("onClickIconToolTip"))},{default:a.withCtx(()=>[a.createVNode(Sh,{anchor:"top middle",self:"bottom middle",offset:[10,10]},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(e.$t(n.toolTipText)),1)]),_:1})]),_:1},8,["data-cy","name","color"])}const rs=Pe(wh,[["render",kh]]),Th={name:"TableSlotBody",components:{PopupEditNumber:Xi,PopupEditText:Zi,BasicCheckBox:Ji,CustomizedCheckBox:es,CustomizedIcon:ts,CustomizedButton:ns,CustomizedBadge:os,IconWithToolTip:rs},props:{tableProps:{type:Object,required:!0},selectionType:{type:String,default:"none"},getCellClass:{type:Function,default:function(){}}},watch:{tableProps(e){this.tablePropsData=e}},emits:["onSaveValuePopupEdit","onUpdateBasicCheckboxValue","onClickButton","onUpdateCustomizedCheckboxValue","onClickIconToolTip"],data(){return{tablePropsData:this.tableProps}},methods:{getColumnValue(e){return!(e.showBasicCheckbox||e.showCustomizedCheckBox||e.showCustomizedIcon||e.showColumButton||e.showBadge||e.showIconWithToolTip||e.showCustomizedButton)},getBtnDisabled(e,t){return t.field==="btnStart"?e.row.btnStartDisabled:t.field==="btnPause"?e.row.btnPauseDisabled:!1},getButtonColor(e,t){return t.btnColor?t.btnColor:t.field==="btnStart"?e.row.btnColorCaseStart:t.field==="btnPause"?e.row.btnColorCasePause:"primary"}}},Oh=["innerHTML"];function xh(e,t,n,o,r,l){const i=a.resolveComponent("PopupEditNumber"),s=a.resolveComponent("PopupEditText"),u=a.resolveComponent("BasicCheckBox"),f=a.resolveComponent("CustomizedCheckBox"),c=a.resolveComponent("CustomizedIcon"),m=a.resolveComponent("CustomizedButton"),g=a.resolveComponent("IconWithToolTip"),h=a.resolveComponent("CustomizedBadge");return a.openBlock(),a.createElementBlock("tr",{class:a.normalizeClass(r.tablePropsData.row.rowBgColor||"bg-main-color")},[n.selectionType!="none"?(a.openBlock(),a.createBlock(Wi,{key:0,id:r.tablePropsData.row.id,"auto-width":""},{default:a.withCtx(()=>[a.createVNode(zt,{modelValue:r.tablePropsData.selected,"onUpdate:modelValue":t[0]||(t[0]=d=>r.tablePropsData.selected=d),size:"sm"},null,8,["modelValue"])]),_:1},8,["id"])):a.createCommentVNode("",!0),(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(r.tablePropsData.cols,d=>(a.openBlock(),a.createBlock(Wi,{key:d.name,class:a.normalizeClass(r.tablePropsData.row.rowBgColor||"bg-main-color"),props:r.tablePropsData},{default:a.withCtx(()=>[l.getColumnValue(d)?(a.openBlock(),a.createElementBlock("span",{key:0,class:a.normalizeClass(n.getCellClass(r.tablePropsData.row,d)),innerHTML:r.tablePropsData.row[d.name]},null,10,Oh)):a.createCommentVNode("",!0),d.editable?(a.openBlock(),a.createBlock(Ae,{key:1,name:"edit",color:"primary",size:"sm",class:"cursor-pointer"})):a.createCommentVNode("",!0),d.editable&&d.popupEditInputtype==="number"?(a.openBlock(),a.createBlock(i,{key:2,model:r.tablePropsData.row[d.name]||"",label:d.label,"data-cy":d.popupEditDataCy+"-"+r.tablePropsData.row.id,showSelectNumberOptions:d.showSelectNumberOptions,popupEditNumberOptions:d.popupEditNumberOptions||[],onSave:b=>{r.tablePropsData.row[d.name]=b,e.$emit(d.popupEditEmit,r.tablePropsData.row)}},null,8,["model","label","data-cy","showSelectNumberOptions","popupEditNumberOptions","onSave"])):a.createCommentVNode("",!0),d.editable&&(d.popupEditInputtype==="text"||d.popupEditInputtype==="textarea")?(a.openBlock(),a.createBlock(s,{key:3,model:r.tablePropsData.row[d.name]||"",label:d.label,"data-cy":d.popupEditDataCy+"-"+r.tablePropsData.row.id,"input-max-length":d.inputMaxLength||20,"input-type":d.popupEditInputtype,onSave:b=>{r.tablePropsData.row[d.name]=b,e.$emit(d.popupEditEmit,r.tablePropsData.row)}},null,8,["model","label","data-cy","input-max-length","input-type","onSave"])):a.createCommentVNode("",!0),d.showBasicCheckbox?(a.openBlock(),a.createBlock(u,{key:4,"table-props":r.tablePropsData,"data-cy":d.checkBoxDataCy+"-"+r.tablePropsData.row.id||"",model:r.tablePropsData.row[d.name],onCheckBoxEmit:b=>{r.tablePropsData.row[d.name]=b,e.$emit(d.checkBoxEmit||"onUpdateBasicCheckboxValue",r.tablePropsData.row)}},null,8,["table-props","data-cy","model","onCheckBoxEmit"])):a.createCommentVNode("",!0),d.showCustomizedCheckBox?(a.openBlock(),a.createBlock(f,{key:5,"table-props":r.tablePropsData,"data-cy":d.checkBoxDataCy+"-"+r.tablePropsData.row.id||"",model:r.tablePropsData.row[d.name],"check-box-color":r.tablePropsData.row[d.name]?d.checkBoxColorCaseTrue:d.checkBoxColorCaseFalse,"check-box-icon-size":"md","checked-icon":d.checkedIcon,"unchecked-icon":d.uncheckedIcon,onCheckBoxEmit:b=>{r.tablePropsData.row[d.name]=b,e.$emit(d.checkBoxEmit||"onUpdateCustomizedCheckboxValue",r.tablePropsData.row)}},null,8,["table-props","data-cy","model","check-box-color","checked-icon","unchecked-icon","onCheckBoxEmit"])):a.createCommentVNode("",!0),d.showCustomizedIcon?(a.openBlock(),a.createBlock(c,{key:6,model:r.tablePropsData.row[d.name],"customized-icon-size":"sm","customized-icon-name":(r.tablePropsData.row[d.name]?d.customizedIconNameCaseTrue:d.customizedIconNameCaseFalse)||"","customized-icon-color":(r.tablePropsData.row[d.name]?d.customizedIconColorCaseTrue:d.customizedIconColorCaseFalse)||""},null,8,["model","customized-icon-name","customized-icon-color"])):a.createCommentVNode("",!0),d.showCustomizedButton?(a.openBlock(),a.createBlock(m,{key:7,"data-cy":d.colButtonDataCy+"-"+r.tablePropsData.row.id,"btn-color":l.getButtonColor(r.tablePropsData,d),"btn-icon":d.btnIcon||"","btn-disable":l.getBtnDisabled(r.tablePropsData,d),onOnClickButton:()=>{e.$emit("onClickButton",d.btnEmit,r.tablePropsData.row)}},null,8,["data-cy","btn-color","btn-icon","btn-disable","onOnClickButton"])):a.createCommentVNode("",!0),d.showIconWithToolTip?(a.openBlock(),a.createBlock(g,{key:8,"data-cy":d.iconWithToolTipDataCy+"-"+r.tablePropsData.row.id,"icon-color":r.tablePropsData.row.iconWithToolTipColor,"icon-name":r.tablePropsData.row.iconWithToolTipName,"tool-tip-text":r.tablePropsData.row.toolTipText,onOnClickIconToolTip:()=>{e.$emit("onClickIconToolTip",d.iconWithToolTipEmit,r.tablePropsData.row)}},null,8,["data-cy","icon-color","icon-name","tool-tip-text","onOnClickIconToolTip"])):a.createCommentVNode("",!0),d.showBadge?(a.openBlock(),a.createBlock(h,{key:9,"data-cy":d.badgeDataCy+r.tablePropsData.row.id,badgeText:r.tablePropsData.row.badgeText,badgeColor:r.tablePropsData.row.badgeColor,badgeTextColor:d.badgeTextColor||"primary",badgeOutline:d.badgeOutline||!1,badgeRounded:d.badgeRounded||!1,badgeTransparent:d.badgeTransparent||!1},null,8,["data-cy","badgeText","badgeColor","badgeTextColor","badgeOutline","badgeRounded","badgeTransparent"])):a.createCommentVNode("",!0)]),_:2},1032,["class","props"]))),128))],2)}const Nh=Pe(Th,[["render",xh]]),jo=ge({name:"QCardSection",props:{tag:{type:String,default:"div"},horizontal:Boolean},setup(e,{slots:t}){const n=a.computed(()=>`q-card__section q-card__section--${e.horizontal===!0?"horiz row no-wrap":"vert"}`);return()=>a.h(e.tag,{class:n.value},ve(t.default))}}),wn=ge({name:"QCard",props:{...dt,tag:{type:String,default:"div"},square:Boolean,flat:Boolean,bordered:Boolean},setup(e,{slots:t}){const{proxy:{$q:n}}=a.getCurrentInstance(),o=ft(e,n),r=a.computed(()=>"q-card"+(o.value===!0?" q-card--dark q-dark":"")+(e.bordered===!0?" q-card--bordered":"")+(e.square===!0?" q-card--square no-border-radius":"")+(e.flat===!0?" q-card--flat no-shadow":""));return()=>a.h(e.tag,{class:r.value},ve(t.default))}}),Dh={name:"TableSlotGrid",components:{PopupEditNumber:Xi,PopupEditText:Zi,BasicCheckBox:Ji,CustomizedCheckBox:es,CustomizedIcon:ts,CustomizedButton:ns,CustomizedBadge:os,IconWithToolTip:rs},props:{tableProps:{type:Object,required:!0},selectionType:{type:String,default:"none"},popupEditNumberOptions:{type:Array},getCellClass:{type:Function,default:function(){}}},emits:["onSaveValuePopupEdit","onUpdateBasicCheckboxValue","onClickButton","onUpdateCustomizedCheckboxValue","onClickIcon","onClickIconToolTip"],data(){return{tablePropsData:this.tableProps,selected:!1}},watch:{tableProps(e){this.tablePropsData=e}},mounted(){},methods:{getColumnValue(e){return!(e.showBasicCheckbox||e.showCustomizedCheckBox||e.showCustomizedIcon||e.showColumButton||e.showBadge||e.showIconWithToolTip||e.showCustomizedButton)},getBtnDisabled(e,t){return t.field==="btnStart"?e.row.btnStartDisabled:t.field==="btnPause"?e.row.btnPauseDisabled:!1},getButtonColor(e,t){return t.btnColor?t.btnColor:t.field==="btnStart"?e.row.btnColorCaseStart:t.field==="btnPause"?e.row.btnColorCasePause:"primary"}}},Ih=["id"],Ah=["innerHTML"];function Ph(e,t,n,o,r,l){const i=a.resolveComponent("PopupEditNumber"),s=a.resolveComponent("PopupEditText"),u=a.resolveComponent("BasicCheckBox"),f=a.resolveComponent("CustomizedCheckBox"),c=a.resolveComponent("CustomizedIcon"),m=a.resolveComponent("CustomizedButton"),g=a.resolveComponent("IconWithToolTip"),h=a.resolveComponent("CustomizedBadge");return a.openBlock(),a.createElementBlock("div",{id:"card-container-"+r.tablePropsData.row.id,class:a.normalizeClass("q-pa-xs col-xs-12 col-sm-6 col-md-4 col-lg-3 grid-style-transition"),style:a.normalizeStyle(r.tablePropsData.selected?"transform: scale(0.95);":"")},[a.createVNode(wn,{bordered:"",flat:"",square:"",class:a.normalizeClass(r.tablePropsData.selected?e.$q.dark.isActive?"bg-grey-9":"bg-grey-2":r.tablePropsData.row.rowBgColor||"bg-main-color")},{default:a.withCtx(()=>[a.createVNode(jo,{class:"q-py-sm"},{default:a.withCtx(()=>[n.selectionType!="none"?(a.openBlock(),a.createBlock(zt,{key:0,"data-cy":"checkbox-"+r.tablePropsData.row.id,size:"sm",modelValue:r.tablePropsData.selected,"onUpdate:modelValue":t[0]||(t[0]=d=>r.tablePropsData.selected=d),dense:""},null,8,["data-cy","modelValue"])):a.createCommentVNode("",!0)]),_:1}),a.createVNode(Pr,{dense:""},{default:a.withCtx(()=>[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(r.tablePropsData.cols.filter(d=>d.name!=="desc"),d=>(a.openBlock(),a.createBlock(yt,{key:d.name,id:d.name},{default:a.withCtx(()=>[a.createVNode(tt,null,{default:a.withCtx(()=>[a.createVNode(Xe,{class:"itemsFontSize ellipsis text-color-lightGray"},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(d.label),1)]),_:2},1024)]),_:2},1024),a.createVNode(tt,{side:""},{default:a.withCtx(()=>[l.getColumnValue(d)?(a.openBlock(),a.createBlock(Xe,{key:0,class:a.normalizeClass(["itemsFontSize text-color-almostBlack",n.getCellClass(r.tablePropsData.row,d)])},{default:a.withCtx(()=>[a.createElementVNode("span",{innerHTML:r.tablePropsData.row[d.name]},null,8,Ah),d.editable?(a.openBlock(),a.createBlock(Ae,{key:0,name:"edit",color:"primary",size:"sm",class:"cursor-pointer"})):a.createCommentVNode("",!0),d.editable&&d.popupEditInputtype==="number"?(a.openBlock(),a.createBlock(i,{key:1,model:r.tablePropsData.row[d.name]||"",label:d.label,"data-cy":d.popupEditDataCy+"-"+r.tablePropsData.row.id,showSelectNumberOptions:d.showSelectNumberOptions,popupEditNumberOptions:d.popupEditNumberOptions||[],onSave:b=>{r.tablePropsData.row[d.name]=b,e.$emit(d.popupEditEmit,r.tablePropsData.row)}},null,8,["model","label","data-cy","showSelectNumberOptions","popupEditNumberOptions","onSave"])):a.createCommentVNode("",!0),d.editable&&(d.popupEditInputtype==="text"||d.popupEditInputtype==="textarea")?(a.openBlock(),a.createBlock(s,{key:2,model:r.tablePropsData.row[d.name]||"",label:d.label,"data-cy":d.popupEditDataCy+"-"+r.tablePropsData.row.id,"input-max-length":d.inputMaxLength||20,"input-type":d.popupEditInputtype,onSave:b=>{r.tablePropsData.row[d.name]=b,e.$emit(d.popupEditEmit,r.tablePropsData.row)}},null,8,["model","label","data-cy","input-max-length","input-type","onSave"])):a.createCommentVNode("",!0)]),_:2},1032,["class"])):a.createCommentVNode("",!0),a.createVNode(tt,null,{default:a.withCtx(()=>[d.showBasicCheckbox?(a.openBlock(),a.createBlock(u,{key:0,"table-props":r.tablePropsData,"data-cy":d.checkBoxDataCy+"-"+r.tablePropsData.row.id||"",model:r.tablePropsData.row[d.name],onCheckBoxEmit:b=>{r.tablePropsData.row[d.name]=b,e.$emit(d.checkBoxEmit||"onUpdateBasicCheckboxValue",r.tablePropsData.row)}},null,8,["table-props","data-cy","model","onCheckBoxEmit"])):a.createCommentVNode("",!0),d.showCustomizedCheckBox?(a.openBlock(),a.createBlock(f,{key:1,"table-props":r.tablePropsData,"data-cy":d.checkBoxDataCy+"-"+r.tablePropsData.row.id||"",model:r.tablePropsData.row[d.name],"check-box-color":r.tablePropsData.row[d.name]?d.checkBoxColorCaseTrue:d.checkBoxColorCaseFalse,"check-box-icon-size":"lg","checked-icon":d.checkedIcon,"unchecked-icon":d.uncheckedIcon,onCheckBoxEmit:b=>{r.tablePropsData.row[d.name]=b,e.$emit(d.checkBoxEmit||"onUpdateCustomizedCheckboxValue",r.tablePropsData.row)}},null,8,["table-props","data-cy","model","check-box-color","checked-icon","unchecked-icon","onCheckBoxEmit"])):a.createCommentVNode("",!0)]),_:2},1024),a.createVNode(tt,null,{default:a.withCtx(()=>[d.showCustomizedIcon?(a.openBlock(),a.createBlock(c,{key:0,model:r.tablePropsData.row[d.name],"table-props":r.tablePropsData,"customized-icon-size":"sm","customized-icon-name":(r.tablePropsData.row[d.name]?d.customizedIconNameCaseTrue:d.customizedIconNameCaseFalse)||"","customized-icon-color":(r.tablePropsData.row[d.name]?d.customizedIconColorCaseTrue:d.customizedIconColorCaseFalse)||""},null,8,["model","table-props","customized-icon-name","customized-icon-color"])):a.createCommentVNode("",!0)]),_:2},1024),a.createVNode(tt,null,{default:a.withCtx(()=>[d.showCustomizedButton?(a.openBlock(),a.createBlock(m,{key:0,"data-cy":d.colButtonDataCy+"-"+r.tablePropsData.row.id,"btn-color":l.getButtonColor(r.tablePropsData,d),"btn-icon":d.btnIcon||"","btn-disable":l.getBtnDisabled(r.tablePropsData,d),onOnClickButton:()=>{e.$emit("onClickButton",d.btnEmit,r.tablePropsData.row)}},null,8,["data-cy","btn-color","btn-icon","btn-disable","onOnClickButton"])):a.createCommentVNode("",!0)]),_:2},1024),a.createVNode(tt,null,{default:a.withCtx(()=>[d.showIconWithToolTip?(a.openBlock(),a.createBlock(g,{key:0,"data-cy":d.iconWithToolTipDataCy+"-"+r.tablePropsData.row.id,"icon-color":r.tablePropsData.row.iconWithToolTipColor,"icon-name":r.tablePropsData.row.iconWithToolTipName,"tool-tip-text":r.tablePropsData.row.toolTipText,onOnClickIconToolTip:()=>{e.$emit("onClickIconToolTip",d.iconWithToolTipEmit,r.tablePropsData.row)}},null,8,["data-cy","icon-color","icon-name","tool-tip-text","onOnClickIconToolTip"])):a.createCommentVNode("",!0)]),_:2},1024),a.createVNode(tt,null,{default:a.withCtx(()=>[d.showBadge?(a.openBlock(),a.createBlock(h,{key:0,"data-cy":d.badgeDataCy+r.tablePropsData.row.id,badgeText:r.tablePropsData.row.badgeText,badgeColor:r.tablePropsData.row.badgeColor,badgeTextColor:d.badgeTextColor||"primary",badgeOutline:d.badgeOutline||!1,badgeRounded:d.badgeRounded||!1,badgeTransparent:d.badgeTransparent||!1},null,8,["data-cy","badgeText","badgeColor","badgeTextColor","badgeOutline","badgeRounded","badgeTransparent"])):a.createCommentVNode("",!0)]),_:2},1024)]),_:2},1024)]),_:2},1032,["id"]))),128))]),_:1})]),_:1},8,["class"])],12,Ih)}const Lh=Pe(Dh,[["render",Ph]]),Vh={name:"TableFilter",props:{store:{type:Object,required:!0}},data(){return{localStore:this.store}},mounted(){},methods:{inputFocus(){setTimeout(()=>{this.$refs.filterRef.focus()},10)},cleanFilter(){this.localStore.filterValue=""},setFilterValue(e){this.localStore.filterValue=e}}};function Rh(e,t,n,o,r,l){return a.openBlock(),a.createBlock(da,{ref:"filterRef","data-cy":"input-filter",modelValue:r.localStore.filterValue,"onUpdate:modelValue":[t[0]||(t[0]=i=>r.localStore.filterValue=i),l.setFilterValue],borderless:"",dense:"",debounce:"300",class:"table-filter auto-width",placeholder:"Search",outlined:""},{append:a.withCtx(()=>[r.localStore.filterValue===""?(a.openBlock(),a.createBlock(Ae,{key:0,name:"search",color:"black"})):(a.openBlock(),a.createBlock(Ae,{key:1,name:"clear",class:"cursor-pointer",onClick:l.cleanFilter},null,8,["onClick"]))]),_:1},8,["modelValue","onUpdate:modelValue"])}const Bh=Pe(Vh,[["render",Rh]]),Mh=["text","rect","circle","QBtn","QBadge","QChip","QToolbar","QCheckbox","QRadio","QToggle","QSlider","QRange","QInput","QAvatar"],Fh=["wave","pulse","pulse-x","pulse-y","fade","blink","none"],ke=ge({name:"QSkeleton",props:{...dt,tag:{type:String,default:"div"},type:{type:String,validator:e=>Mh.includes(e),default:"rect"},animation:{type:String,validator:e=>Fh.includes(e),default:"wave"},animationSpeed:{type:[String,Number],default:1500},square:Boolean,bordered:Boolean,size:String,width:String,height:String},setup(e,{slots:t}){const n=a.getCurrentInstance(),o=ft(e,n.proxy.$q),r=a.computed(()=>{const i=e.size!==void 0?[e.size,e.size]:[e.width,e.height];return{"--q-skeleton-speed":`${e.animationSpeed}ms`,width:i[0],height:i[1]}}),l=a.computed(()=>`q-skeleton q-skeleton--${o.value===!0?"dark":"light"} q-skeleton--type-${e.type}`+(e.animation!=="none"?` q-skeleton--anim q-skeleton--anim-${e.animation}`:"")+(e.square===!0?" q-skeleton--square":"")+(e.bordered===!0?" q-skeleton--bordered":""));return()=>a.h(e.tag,{class:l.value,style:r.value},ve(t.default))}}),qh={name:"TableSkeleton",properties:{showSkeleton:{type:Boolean,default:!1}}},$h={class:"text-left",style:{width:"150px"}},Uh={class:"text-right"},Hh={class:"text-right"},zh={class:"text-right"},jh={class:"text-right"},Wh={class:"text-right"},Kh={class:"text-left"},Yh={class:"text-right"},Gh={class:"text-right"},Qh={class:"text-right"},Xh={class:"text-right"},Zh={class:"text-right"};function Jh(e,t,n,o,r,l){return a.openBlock(),a.createElementBlock("div",null,[a.createVNode($l,null,{default:a.withCtx(()=>[a.createElementVNode("thead",null,[a.createElementVNode("tr",null,[a.createElementVNode("th",$h,[a.createVNode(ke,{type:"text"})]),a.createElementVNode("th",Uh,[a.createVNode(ke,{type:"text"})]),a.createElementVNode("th",Hh,[a.createVNode(ke,{type:"text"})]),a.createElementVNode("th",zh,[a.createVNode(ke,{type:"text"})]),a.createElementVNode("th",jh,[a.createVNode(ke,{type:"text"})]),a.createElementVNode("th",Wh,[a.createVNode(ke,{type:"text"})])])]),a.createElementVNode("tbody",null,[(a.openBlock(),a.createElementBlock(a.Fragment,null,a.renderList(10,i=>a.createElementVNode("tr",{key:i},[a.createElementVNode("td",Kh,[a.createVNode(ke,{type:"text",width:"85px"})]),a.createElementVNode("td",Yh,[a.createVNode(ke,{type:"text",width:"50px"})]),a.createElementVNode("td",Gh,[a.createVNode(ke,{type:"text",width:"35px"})]),a.createElementVNode("td",Qh,[a.createVNode(ke,{type:"text",width:"65px"})]),a.createElementVNode("td",Xh,[a.createVNode(ke,{type:"text",width:"25px"})]),a.createElementVNode("td",Zh,[a.createVNode(ke,{type:"text",width:"85px"})])])),64))])]),_:1})])}const eg=Pe(qh,[["render",Jh]]),tg={name:"CardListSkeleton"};function ng(e,t,n,o,r,l){return a.openBlock(),a.createElementBlock("div",null,[(a.openBlock(),a.createElementBlock(a.Fragment,null,a.renderList(2,i=>a.createVNode(yt,{key:i},{default:a.withCtx(()=>[a.createVNode(wn,{style:{width:"100%"}},{default:a.withCtx(()=>[a.createVNode(yt,null,{default:a.withCtx(()=>[a.createVNode(tt,null,{default:a.withCtx(()=>[a.createVNode(Xe,null,{default:a.withCtx(()=>[a.createVNode(ke,{type:"text",width:"60%"})]),_:1}),a.createVNode(Xe,{caption:""},{default:a.withCtx(()=>[a.createVNode(ke,{type:"text",width:"60%"})]),_:1})]),_:1})]),_:1}),a.createVNode(yt,null,{default:a.withCtx(()=>[a.createVNode(tt,null,{default:a.withCtx(()=>[a.createVNode(Xe,null,{default:a.withCtx(()=>[a.createVNode(ke,{type:"text",width:"70%"})]),_:1}),a.createVNode(Xe,{caption:""},{default:a.withCtx(()=>[a.createVNode(ke,{type:"text",width:"70%"})]),_:1})]),_:1})]),_:1}),a.createVNode(yt,null,{default:a.withCtx(()=>[a.createVNode(tt,null,{default:a.withCtx(()=>[a.createVNode(Xe,null,{default:a.withCtx(()=>[a.createVNode(ke,{type:"text",width:"80%"})]),_:1}),a.createVNode(Xe,{caption:""},{default:a.withCtx(()=>[a.createVNode(ke,{type:"text",width:"80%"})]),_:1})]),_:1})]),_:1}),a.createVNode(yt,null,{default:a.withCtx(()=>[a.createVNode(tt,null,{default:a.withCtx(()=>[a.createVNode(Xe,null,{default:a.withCtx(()=>[a.createVNode(ke,{type:"text",width:"90%"})]),_:1}),a.createVNode(Xe,{caption:""},{default:a.withCtx(()=>[a.createVNode(ke,{type:"text",width:"90%"})]),_:1})]),_:1})]),_:1})]),_:1})]),_:2},1024)),64))])}const og=Pe(tg,[["render",ng]]),rg=a.defineComponent({components:{TableSlotHeader:Jm,TableColumnsSelector:nh,TableSlotBody:Nh,TableSlotGrid:Lh,TableFilter:Bh,TableSkeleton:eg,CardListSkeleton:og},props:{columns:{type:Array,required:!0},rows:{type:Array,required:!0},visibleColumns:{type:Array,required:!0},selectionType:{type:String,default:"none"},rowKey:{type:String,default:"id"},tableStyle:{type:String,default:""},popupEditNumberOptions:{type:Array,default:()=>[]},smallDevice:{type:Boolean,required:!0},store:{type:Object,required:!0},tableId:{type:String,default:""},hideColumnsSelector:{type:Boolean,default:!1},hideFilter:{type:Boolean,default:!1},showSkeleton:{type:Boolean},getCellClass:{type:Function,default:function(){}},filterComputedOptions:{type:Object,default:{}},additionalFilterConditions:{type:Function,default:function(){}},additionalSortConditions:{type:Function,default:function(){}}},emits:["onSelectVisibleColumns","onUpdateBasicCheckboxValue","onUpdateCustomizedCheckboxValue","onSaveValuePopupEdit","onClickButton","storeUpdated","deleteItem","openModalWithTable","setItemNotFound","onClickSeeTaskDetails","startMaintenanceTicket","pauseMaintenanceTicket","finishMaintenanceTicket","onRowClick","onClickIconToolTip"],data(){return{selected:[],filter:"",rowsData:[],gridRowsSelected:!1,selectedRows:[],showColumnsSelector:!1,showSearch:!1,loading:!1,forceRender:!1,totalPage:0,pageSize:20,filteredRows:[]}},computed:{getColumnsSelectorVisibility(){return!this.smallDevice||this.showColumnsSelector},getTableInputSearchVisibility(){return!this.smallDevice||this.showSearch},showGridHeader(){return this.selectionType==="multiple"},getTableSkeletonVisibility(){return!this.smallDevice&&this.showSkeleton},getGridSkeletonVisibility(){return this.smallDevice&&this.showSkeleton},filterComputed(){return{search:this.store.filterValue,forceRender:this.forceRender,...this.filterComputedOptions}},pageLength(){return(this.totalPage+1)*this.pageSize}},watch:{rows(e){this.rowsData=e}},mounted(){},methods:{getSelectedString(e){const t=e;if(t===0)return"";const n=t>1?"records":"record";return`${t} ${n} selected`},onSelectVisibleColumns(e){this.$emit("onSelectVisibleColumns",e)},onSaveValuePopupEdit(e){this.$emit("onSaveValuePopupEdit",e)},onUpdateBasicCheckboxValue(e){this.$emit("onUpdateBasicCheckboxValue",e)},onClickButton(e,t){this.$emit(e,t)},onClickIconToolTip(e,t){this.$emit(e,t)},onRowClick(e){this.$emit("onRowClick",e)},deleteItem(e){this.$emit("deleteItem",e)},onUpdateCustomizedCheckboxValue(e){this.$emit("onUpdateCustomizedCheckboxValue",e)},clearTableSelection(){this.selected=[]},toggleSearchVisibility(e){this.showSearch=!this.showSearch,e.lastFilterValue="",e.valueInputFilterTable=""},toogleColumnsSelectorVisibility(){this.showColumnsSelector=!this.showColumnsSelector},filterInputFocus(){setTimeout(()=>{this.$refs.filterInput&&this.$refs.filterInput.inputFocus()},10)},toogleLoading(){this.loading=!this.loading},customSortMethod(e,t,n){let o=[];return this.store.filterValue!==""?o=[...this.filteredRows]:o=[...this.rows],this.additionalSortConditions&&this.additionalSortConditions.toString().replace(/\s+/g,"")!=="function(){}"?o=this.additionalSortConditions(this.filteredRows,e):console.log("else sort"),this.getSortedData(t,o,n),o.slice(0,this.pageLength)},getSortedData(e,t,n){e&&t.sort((o,r)=>{const l=n?r:o,i=n?o:r,s=l[e],u=i[e],f=g=>{const[h,d,b]=g.split("/");return new Date(`${b}-${d}-${h}`)},c=g=>{const[h,d,b]=g.split(":").map(Number);return h*3600+d*60+b},m=g=>parseFloat(g.replace("%",""))/100;if(typeof s=="string"&&typeof u=="string"){const g=f(s),h=f(u);if(!isNaN(g.getTime())&&!isNaN(h.getTime()))return g.getTime()-h.getTime();const d=c(s),b=c(u);if(!isNaN(d)&&!isNaN(b))return d-b;if(s.includes("%")&&u.includes("%")){const _=m(s),p=m(u);return _-p}else return s.localeCompare(u)}else return typeof s=="number"&&typeof u=="number"?s-u:typeof s=="boolean"&&typeof u=="boolean"?(console.log(s,u),s===u?0:s?1:-1):String(s)>String(u)?1:String(s)<String(u)?-1:0})},containsSearchTermInRow(e,t){if(t!==""){const o=Object.values(e).map(r=>(r+"").toLowerCase());for(let r=0;r<o.length;r++)if(o[r].includes(t))return!0}return!1},customFilter(e,t){let n=[];if(t.search!==""){const o=t.search?t.search.toLowerCase():"";for(let r=0;r<this.rows.length;r++)this.containsSearchTermInRow(this.rows[r],o)&&n.push(this.rows[r])}else n=e;return this.additionalFilterConditions&&this.additionalFilterConditions.toString().replace(/\s+/g,"")!=="function(){}"&&(n=this.additionalFilterConditions(this.rows,n)),this.filteredRows=n,n.slice(0,this.pageLength)}}});function ag(e,t,n,o,r,l){const i=a.resolveComponent("TableFilter"),s=a.resolveComponent("TableColumnsSelector"),u=a.resolveComponent("TableSlotHeader"),f=a.resolveComponent("TableSlotBody"),c=a.resolveComponent("TableSlotGrid"),m=a.resolveComponent("TableSkeleton"),g=a.resolveComponent("CardListSkeleton");return a.openBlock(),a.createElementBlock("div",null,[e.showSkeleton?a.createCommentVNode("",!0):(a.openBlock(),a.createBlock(Gm,{key:0,ref:"myTable",selected:e.selected,"onUpdate:selected":t[0]||(t[0]=h=>e.selected=h),class:"my-table",grid:e.smallDevice,style:a.normalizeStyle(e.tableStyle),flat:"","filter-method":e.customFilter,bordered:"",rows:e.rowsData,columns:e.columns,"row-key":e.rowKey,"rows-per-page-options":[0],selection:e.selectionType,"visible-columns":e.visibleColumns,"table-class":"text-grey-9","table-header-class":"main-color",filter:e.filterComputed,"sort-method":e.customSortMethod,separator:"horizontal","binary-state-sort":"","selected-rows-label":e.getSelectedString,loading:e.loading,"pagination.sync":"0","grid-header":e.showGridHeader},{"top-right":a.withCtx(h=>[a.createVNode(xr),e.getTableInputSearchVisibility&&!e.hideFilter?(a.openBlock(),a.createBlock(i,{key:0,ref:"filterInput",class:"q-pl-xs","table-props":h,store:e.store,onInputFocus:e.filterInputFocus},null,8,["table-props","store","onInputFocus"])):a.createCommentVNode("",!0),e.getColumnsSelectorVisibility&&!e.hideColumnsSelector?(a.openBlock(),a.createBlock(s,{key:1,class:"q-pl-xs","table-props":h,columns:e.columns,"visible-columns":e.visibleColumns,onOnSelectVisibleColumns:e.onSelectVisibleColumns},null,8,["table-props","columns","visible-columns","onOnSelectVisibleColumns"])):a.createCommentVNode("",!0)]),header:a.withCtx(h=>[a.createVNode(u,{"table-props":h,"selection-type":e.selectionType,"small-device":e.smallDevice},null,8,["table-props","selection-type","small-device"])]),body:a.withCtx(h=>[e.showSkeleton?a.createCommentVNode("",!0):(a.openBlock(),a.createBlock(f,{key:0,"table-props":h,"selection-type":e.selectionType,getCellClass:e.getCellClass,onOnUpdateBasicCheckboxValue:e.onUpdateBasicCheckboxValue,onOnUpdateCustomizedCheckboxValue:e.onUpdateCustomizedCheckboxValue,onOnSaveValuePopupEdit:e.onSaveValuePopupEdit,onOnClickButton:e.onClickButton,onOnClickIconToolTip:e.onClickIconToolTip,onClick:d=>e.onRowClick(h.row)},null,8,["table-props","selection-type","getCellClass","onOnUpdateBasicCheckboxValue","onOnUpdateCustomizedCheckboxValue","onOnSaveValuePopupEdit","onOnClickButton","onOnClickIconToolTip","onClick"]))]),item:a.withCtx(h=>[e.showSkeleton?a.createCommentVNode("",!0):(a.openBlock(),a.createBlock(c,{key:0,"table-props":h,"selection-type":e.selectionType,"popup-edit-number-options":e.popupEditNumberOptions,getCellClass:e.getCellClass,onOnUpdateCustomizedCheckboxValue:e.onUpdateCustomizedCheckboxValue,onOnUpdateBasicCheckboxValue:e.onUpdateBasicCheckboxValue,onOnSaveValuePopupEdit:e.onSaveValuePopupEdit,onOnClickButton:e.onClickButton,onOnClickIconToolTip:e.onClickIconToolTip,onClick:d=>e.onRowClick(h.row)},null,8,["table-props","selection-type","popup-edit-number-options","getCellClass","onOnUpdateCustomizedCheckboxValue","onOnUpdateBasicCheckboxValue","onOnSaveValuePopupEdit","onOnClickButton","onOnClickIconToolTip","onClick"]))]),_:1},8,["selected","grid","style","filter-method","rows","columns","row-key","selection","visible-columns","filter","sort-method","selected-rows-label","loading","grid-header"])),e.getTableSkeletonVisibility?(a.openBlock(),a.createBlock(m,{key:1,id:"tableSkeleton"})):a.createCommentVNode("",!0),e.getGridSkeletonVisibility?(a.openBlock(),a.createBlock(g,{key:2,id:"cardListSkeleton"})):a.createCommentVNode("",!0)])}const as=Pe(rg,[["render",ag]]),jt=(e,t)=>{e.use(t)},Wt=(e,t,n)=>{e.component(t,n)},lg={install(e){Wt(e,"MyTable",as)}},ig=ge({name:"QBanner",props:{...dt,inlineActions:Boolean,dense:Boolean,rounded:Boolean},setup(e,{slots:t}){const{proxy:{$q:n}}=a.getCurrentInstance(),o=ft(e,n),r=a.computed(()=>"q-banner row items-center"+(e.dense===!0?" q-banner--dense":"")+(o.value===!0?" q-banner--dark q-dark":"")+(e.rounded===!0?" rounded-borders":"")),l=a.computed(()=>`q-banner__actions row items-center justify-end col-${e.inlineActions===!0?"auto":"all"}`);return()=>{const i=[a.h("div",{class:"q-banner__avatar col-auto row items-center self-start"},ve(t.avatar)),a.h("div",{class:"q-banner__content col text-body2"},ve(t.default))],s=ve(t.action);return s!==void 0&&i.push(a.h("div",{class:l.value},s)),a.h("div",{class:r.value+(e.inlineActions===!1&&s!==void 0?" q-banner--top-padding":""),role:"alert"},i)}}}),sg=a.defineComponent({name:"AlertDialog",data(){return{alert:!1,alertMessage:""}},props:{dataCy:{type:String,default:""},persistent:{type:Boolean,default:!0},icon:{type:String,default:"warning"},iconSize:{type:String,default:"md"},iconColor:{type:String,default:"red-8"},btnColor:{type:String,default:"primary"},btnLabel:{type:String,default:"OK"}},emit:["dialogClosed"],methods:{openAlertAndSetMessage(e){this.alert=!0,this.alertMessage=e},closePopup(){this.alert=!1,this.$emit("onPopupClosed")}}}),ug={class:"info"};function cg(e,t,n,o,r,l){return a.openBlock(),a.createBlock(to,{modelValue:e.alert,"onUpdate:modelValue":t[0]||(t[0]=i=>e.alert=i),persistent:e.persistent},{default:a.withCtx(()=>[a.createVNode(ig,{"inline-actions":"","data-cy":"alert"},{avatar:a.withCtx(()=>[a.createVNode(Ae,{name:e.icon,color:e.iconColor,size:e.iconSize},null,8,["name","color","size"])]),action:a.withCtx(()=>[a.createVNode(it,{flat:"",color:e.btnColor,label:e.btnLabel,onClick:e.closePopup,"data-cy":"btn-close-alert"},null,8,["color","label","onClick"])]),default:a.withCtx(()=>[a.createElementVNode("p",ug,a.toDisplayString(e.alertMessage),1)]),_:1})]),_:1},8,["modelValue","persistent"])}const ls=Pe(sg,[["render",cg]]),dg={install(e){Wt(e,"AlertDialog",ls)}},is=ge({name:"QCardActions",props:{...qi,vertical:Boolean},setup(e,{slots:t}){const n=$i(e),o=a.computed(()=>`q-card__actions ${n.value} q-card__actions--${e.vertical===!0?"vert column":"horiz row"}`);return()=>a.h("div",{class:o.value},ve(t.default))}}),fg=a.defineComponent({name:"ConfirmDialog",data(){return{alert:!1,message:""}},props:{dataCy:{type:String,default:""}},emits:["onClickBtnConfirm","onClickBtnCancel"],methods:{openDialogAndSetMessage(e){this.alert=!0,this.message=e},closeAlert(){this.alert=!1},onClickBtnConfirm(){this.closeAlert(),this.$emit("onClickBtnConfirm")},onClickBtnCancel(){this.closeAlert(),this.$emit("onClickBtnCancel")}}}),mg={class:"q-ml-sm text-body1"};function hg(e,t,n,o,r,l){return a.openBlock(),a.createBlock(to,{modelValue:e.alert,"onUpdate:modelValue":t[0]||(t[0]=i=>e.alert=i),persistent:""},{default:a.withCtx(()=>[a.createVNode(wn,{class:"alert-card","data-cy":e.dataCy||"confirm-dialog"},{default:a.withCtx(()=>[a.createVNode(jo,{class:"row items-center"},{default:a.withCtx(()=>[a.createElementVNode("span",mg,a.toDisplayString(e.message),1)]),_:1}),a.createVNode(is,{align:"right"},{default:a.withCtx(()=>[a.createVNode(it,{color:"negative",flat:"",label:e.$t("confirmDialog.cancel"),onClick:e.onClickBtnCancel,"data-cy":"cancel"},null,8,["label","onClick"]),a.createVNode(it,{color:"positive",flat:"",label:e.$t("confirmDialog.confirm"),onClick:e.onClickBtnConfirm,"data-cy":"confirm"},null,8,["label","onClick"])]),_:1})]),_:1},8,["data-cy"])]),_:1},8,["modelValue"])}const ss=Pe(fg,[["render",hg]]),gg={install(e){Wt(e,"ConfirmDialog",ss)}},us=ge({name:"QToolbar",props:{inset:Boolean},setup(e,{slots:t}){const n=a.computed(()=>"q-toolbar row no-wrap items-center"+(e.inset===!0?" q-toolbar--inset":""));return()=>a.h("div",{class:n.value,role:"toolbar"},ve(t.default))}}),pg=ge({name:"QToolbarTitle",props:{shrink:Boolean},setup(e,{slots:t}){const n=a.computed(()=>"q-toolbar__title ellipsis"+(e.shrink===!0?" col-shrink":""));return()=>a.h("div",{class:n.value},ve(t.default))}}),cs=864e5,_g=36e5,fa=6e4,ds="YYYY-MM-DDTHH:mm:ss.SSSZ",bg=/\[((?:[^\]\\]|\\]|\\)*)\]|do|d{1,4}|Mo|M{1,4}|m{1,2}|wo|w{1,2}|Qo|Do|DDDo|D{1,4}|YY(?:YY)?|H{1,2}|h{1,2}|s{1,2}|S{1,3}|Z{1,2}|a{1,2}|[AQExX]/g,yg=/(\[[^\]]*\])|do|d{1,4}|Mo|M{1,4}|m{1,2}|wo|w{1,2}|Qo|Do|DDDo|D{1,4}|YY(?:YY)?|H{1,2}|h{1,2}|s{1,2}|S{1,3}|Z{1,2}|a{1,2}|[AQExX]|([.*+:?^,\s${}()|\\]+)/g,ma={};function vg(e,t){const n="("+t.days.join("|")+")",o=e+n;if(ma[o]!==void 0)return ma[o];const r="("+t.daysShort.join("|")+")",l="("+t.months.join("|")+")",i="("+t.monthsShort.join("|")+")",s={};let u=0;const f=e.replace(yg,m=>{switch(u++,m){case"YY":return s.YY=u,"(-?\\d{1,2})";case"YYYY":return s.YYYY=u,"(-?\\d{1,4})";case"M":return s.M=u,"(\\d{1,2})";case"Mo":return s.M=u++,"(\\d{1,2}(st|nd|rd|th))";case"MM":return s.M=u,"(\\d{2})";case"MMM":return s.MMM=u,i;case"MMMM":return s.MMMM=u,l;case"D":return s.D=u,"(\\d{1,2})";case"Do":return s.D=u++,"(\\d{1,2}(st|nd|rd|th))";case"DD":return s.D=u,"(\\d{2})";case"H":return s.H=u,"(\\d{1,2})";case"HH":return s.H=u,"(\\d{2})";case"h":return s.h=u,"(\\d{1,2})";case"hh":return s.h=u,"(\\d{2})";case"m":return s.m=u,"(\\d{1,2})";case"mm":return s.m=u,"(\\d{2})";case"s":return s.s=u,"(\\d{1,2})";case"ss":return s.s=u,"(\\d{2})";case"S":return s.S=u,"(\\d{1})";case"SS":return s.S=u,"(\\d{2})";case"SSS":return s.S=u,"(\\d{3})";case"A":return s.A=u,"(AM|PM)";case"a":return s.a=u,"(am|pm)";case"aa":return s.aa=u,"(a\\.m\\.|p\\.m\\.)";case"ddd":return r;case"dddd":return n;case"Q":case"d":case"E":return"(\\d{1})";case"do":return u++,"(\\d{1}(st|nd|rd|th))";case"Qo":return"(1st|2nd|3rd|4th)";case"DDD":case"DDDD":return"(\\d{1,3})";case"DDDo":return u++,"(\\d{1,3}(st|nd|rd|th))";case"w":return"(\\d{1,2})";case"wo":return u++,"(\\d{1,2}(st|nd|rd|th))";case"ww":return"(\\d{2})";case"Z":return s.Z=u,"(Z|[+-]\\d{2}:\\d{2})";case"ZZ":return s.ZZ=u,"(Z|[+-]\\d{2}\\d{2})";case"X":return s.X=u,"(-?\\d+)";case"x":return s.x=u,"(-?\\d{4,})";default:return u--,m[0]==="["&&(m=m.substring(1,m.length-1)),m.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}}),c={map:s,regex:new RegExp("^"+f)};return ma[o]=c,c}function fs(e,t){return e!==void 0?e:t!==void 0?t.date:wr.date}function ms(e,t=""){const n=e>0?"-":"+",o=Math.abs(e),r=Math.floor(o/60),l=o%60;return n+ze(r)+t+ze(l)}function Eg(e,t,n){let o=e.getFullYear(),r=e.getMonth();const l=e.getDate();return t.year!==void 0&&(o+=n*t.year,delete t.year),t.month!==void 0&&(r+=n*t.month,delete t.month),e.setDate(1),e.setMonth(2),e.setFullYear(o),e.setMonth(r),e.setDate(Math.min(l,pa(e))),t.date!==void 0&&(e.setDate(e.getDate()+n*t.date),delete t.date),e}function Cg(e,t,n){const o=t.year!==void 0?t.year:e[`get${n}FullYear`](),r=t.month!==void 0?t.month-1:e[`get${n}Month`](),l=new Date(o,r+1,0).getDate(),i=Math.min(l,t.date!==void 0?t.date:e[`get${n}Date`]());return e[`set${n}Date`](1),e[`set${n}Month`](2),e[`set${n}FullYear`](o),e[`set${n}Month`](r),e[`set${n}Date`](i),delete t.year,delete t.month,delete t.date,e}function ha(e,t,n){const o=hs(t),r=new Date(e),l=o.year!==void 0||o.month!==void 0||o.date!==void 0?Eg(r,o,n):r;for(const i in o){const s=cm(i);l[`set${s}`](l[`get${s}`]()+n*o[i])}return l}function hs(e){const t={...e};return e.years!==void 0&&(t.year=e.years,delete t.years),e.months!==void 0&&(t.month=e.months,delete t.months),e.days!==void 0&&(t.date=e.days,delete t.days),e.day!==void 0&&(t.date=e.day,delete t.day),e.hour!==void 0&&(t.hours=e.hour,delete t.hour),e.minute!==void 0&&(t.minutes=e.minute,delete t.minute),e.second!==void 0&&(t.seconds=e.second,delete t.second),e.millisecond!==void 0&&(t.milliseconds=e.millisecond,delete t.millisecond),t}function gs(e,t,n){const o=hs(t),r=n===!0?"UTC":"",l=new Date(e),i=o.year!==void 0||o.month!==void 0||o.date!==void 0?Cg(l,o,r):l;for(const s in o){const u=s.charAt(0).toUpperCase()+s.slice(1);i[`set${r}${u}`](o[s])}return i}function Sg(e,t,n){const o=wg(e,t,n),r=new Date(o.year,o.month===null?null:o.month-1,o.day===null?1:o.day,o.hour,o.minute,o.second,o.millisecond),l=r.getTimezoneOffset();return o.timezoneOffset===null||o.timezoneOffset===l?r:ha(r,{minutes:o.timezoneOffset-l},1)}function wg(e,t,n,o,r){const l={year:null,month:null,day:null,hour:null,minute:null,second:null,millisecond:null,timezoneOffset:null,dateHash:null,timeHash:null};if(e==null||e===""||typeof e!="string")return l;t===void 0&&(t=ds);const i=fs(n,It.props),s=i.months,u=i.monthsShort,{regex:f,map:c}=vg(t,i),m=e.match(f);if(m===null)return l;let g="";if(c.X!==void 0||c.x!==void 0){const h=parseInt(m[c.X!==void 0?c.X:c.x],10);if(isNaN(h)===!0||h<0)return l;const d=new Date(h*(c.X!==void 0?1e3:1));l.year=d.getFullYear(),l.month=d.getMonth()+1,l.day=d.getDate(),l.hour=d.getHours(),l.minute=d.getMinutes(),l.second=d.getSeconds(),l.millisecond=d.getMilliseconds()}else{if(c.YYYY!==void 0)l.year=parseInt(m[c.YYYY],10);else if(c.YY!==void 0){const h=parseInt(m[c.YY],10);l.year=h<0?h:2e3+h}if(c.M!==void 0){if(l.month=parseInt(m[c.M],10),l.month<1||l.month>12)return l}else c.MMM!==void 0?l.month=u.indexOf(m[c.MMM])+1:c.MMMM!==void 0&&(l.month=s.indexOf(m[c.MMMM])+1);if(c.D!==void 0){if(l.day=parseInt(m[c.D],10),l.year===null||l.month===null||l.day<1)return l;const h=new Date(l.year,l.month,0).getDate();if(l.day>h)return l}c.H!==void 0?l.hour=parseInt(m[c.H],10)%24:c.h!==void 0&&(l.hour=parseInt(m[c.h],10)%12,(c.A&&m[c.A]==="PM"||c.a&&m[c.a]==="pm"||c.aa&&m[c.aa]==="p.m.")&&(l.hour+=12),l.hour=l.hour%24),c.m!==void 0&&(l.minute=parseInt(m[c.m],10)%60),c.s!==void 0&&(l.second=parseInt(m[c.s],10)%60),c.S!==void 0&&(l.millisecond=parseInt(m[c.S],10)*10**(3-m[c.S].length)),(c.Z!==void 0||c.ZZ!==void 0)&&(g=c.Z!==void 0?m[c.Z].replace(":",""):m[c.ZZ],l.timezoneOffset=(g[0]==="+"?-1:1)*(60*g.slice(1,3)+1*g.slice(3,5)))}return l.dateHash=ze(l.year,6)+"/"+ze(l.month)+"/"+ze(l.day),l.timeHash=ze(l.hour)+":"+ze(l.minute)+":"+ze(l.second)+g,l}function kg(e){return typeof e=="number"?!0:isNaN(Date.parse(e))===!1}function Tg(e,t){return gs(new Date,e,t)}function Og(e){const t=new Date(e).getDay();return t===0?7:t}function Wo(e){const t=new Date(e.getFullYear(),e.getMonth(),e.getDate());t.setDate(t.getDate()-(t.getDay()+6)%7+3);const n=new Date(t.getFullYear(),0,4);n.setDate(n.getDate()-(n.getDay()+6)%7+3);const o=t.getTimezoneOffset()-n.getTimezoneOffset();t.setHours(t.getHours()-o);const r=(t-n)/(cs*7);return 1+Math.floor(r)}function xg(e){return e.getFullYear()*1e4+e.getMonth()*100+e.getDate()}function ga(e,t){const n=new Date(e);return t===!0?xg(n):n.getTime()}function Ng(e,t,n,o={}){const r=ga(t,o.onlyDate),l=ga(n,o.onlyDate),i=ga(e,o.onlyDate);return(i>r||o.inclusiveFrom===!0&&i===r)&&(i<l||o.inclusiveTo===!0&&i===l)}function Dg(e,t){return ha(e,t,1)}function Ig(e,t){return ha(e,t,-1)}function Pt(e,t,n){const o=new Date(e),r=`set${n===!0?"UTC":""}`;switch(t){case"year":case"years":o[`${r}Month`](0);case"month":case"months":o[`${r}Date`](1);case"day":case"days":case"date":o[`${r}Hours`](0);case"hour":case"hours":o[`${r}Minutes`](0);case"minute":case"minutes":o[`${r}Seconds`](0);case"second":case"seconds":o[`${r}Milliseconds`](0)}return o}function Ag(e,t,n){const o=new Date(e),r=`set${n===!0?"UTC":""}`;switch(t){case"year":case"years":o[`${r}Month`](11);case"month":case"months":o[`${r}Date`](pa(o));case"day":case"days":case"date":o[`${r}Hours`](23);case"hour":case"hours":o[`${r}Minutes`](59);case"minute":case"minutes":o[`${r}Seconds`](59);case"second":case"seconds":o[`${r}Milliseconds`](999)}return o}function Pg(e){let t=new Date(e);return Array.prototype.slice.call(arguments,1).forEach(n=>{t=Math.max(t,new Date(n))}),t}function Lg(e){let t=new Date(e);return Array.prototype.slice.call(arguments,1).forEach(n=>{t=Math.min(t,new Date(n))}),t}function Ko(e,t,n){return(e.getTime()-e.getTimezoneOffset()*fa-(t.getTime()-t.getTimezoneOffset()*fa))/n}function ps(e,t,n="days"){const o=new Date(e),r=new Date(t);switch(n){case"years":case"year":return o.getFullYear()-r.getFullYear();case"months":case"month":return(o.getFullYear()-r.getFullYear())*12+o.getMonth()-r.getMonth();case"days":case"day":case"date":return Ko(Pt(o,"day"),Pt(r,"day"),cs);case"hours":case"hour":return Ko(Pt(o,"hour"),Pt(r,"hour"),_g);case"minutes":case"minute":return Ko(Pt(o,"minute"),Pt(r,"minute"),fa);case"seconds":case"second":return Ko(Pt(o,"second"),Pt(r,"second"),1e3)}}function Yo(e){return ps(e,Pt(e,"year"),"days")+1}function Vg(e){return Oo(e)===!0?"date":typeof e=="number"?"number":"string"}function Rg(e,t,n){const o=new Date(e);if(t){const r=new Date(t);if(o<r)return r}if(n){const r=new Date(n);if(o>r)return r}return o}function Bg(e,t,n){const o=new Date(e),r=new Date(t);if(n===void 0)return o.getTime()===r.getTime();switch(n){case"second":case"seconds":if(o.getSeconds()!==r.getSeconds())return!1;case"minute":case"minutes":if(o.getMinutes()!==r.getMinutes())return!1;case"hour":case"hours":if(o.getHours()!==r.getHours())return!1;case"day":case"days":case"date":if(o.getDate()!==r.getDate())return!1;case"month":case"months":if(o.getMonth()!==r.getMonth())return!1;case"year":case"years":if(o.getFullYear()!==r.getFullYear())return!1;break;default:throw new Error(`date isSameDate unknown unit ${n}`)}return!0}function pa(e){return new Date(e.getFullYear(),e.getMonth()+1,0).getDate()}function kn(e){if(e>=11&&e<=13)return`${e}th`;switch(e%10){case 1:return`${e}st`;case 2:return`${e}nd`;case 3:return`${e}rd`}return`${e}th`}const _s={YY(e,t,n){const o=this.YYYY(e,t,n)%100;return o>=0?ze(o):"-"+ze(Math.abs(o))},YYYY(e,t,n){return n??e.getFullYear()},M(e){return e.getMonth()+1},Mo(e){return kn(e.getMonth()+1)},MM(e){return ze(e.getMonth()+1)},MMM(e,t){return t.monthsShort[e.getMonth()]},MMMM(e,t){return t.months[e.getMonth()]},Q(e){return Math.ceil((e.getMonth()+1)/3)},Qo(e){return kn(this.Q(e))},D(e){return e.getDate()},Do(e){return kn(e.getDate())},DD(e){return ze(e.getDate())},DDD(e){return Yo(e)},DDDo(e){return kn(Yo(e))},DDDD(e){return ze(Yo(e),3)},d(e){return e.getDay()},do(e){return kn(e.getDay())},dd(e,t){return t.days[e.getDay()].slice(0,2)},ddd(e,t){return t.daysShort[e.getDay()]},dddd(e,t){return t.days[e.getDay()]},E(e){return e.getDay()||7},w(e){return Wo(e)},wo(e){return kn(Wo(e))},ww(e){return ze(Wo(e))},H(e){return e.getHours()},HH(e){return ze(e.getHours())},h(e){const t=e.getHours();return t===0?12:t>12?t%12:t},hh(e){return ze(this.h(e))},m(e){return e.getMinutes()},mm(e){return ze(e.getMinutes())},s(e){return e.getSeconds()},ss(e){return ze(e.getSeconds())},S(e){return Math.floor(e.getMilliseconds()/100)},SS(e){return ze(Math.floor(e.getMilliseconds()/10))},SSS(e){return ze(e.getMilliseconds(),3)},A(e){return e.getHours()<12?"AM":"PM"},a(e){return e.getHours()<12?"am":"pm"},aa(e){return e.getHours()<12?"a.m.":"p.m."},Z(e,t,n,o){const r=o??e.getTimezoneOffset();return ms(r,":")},ZZ(e,t,n,o){const r=o??e.getTimezoneOffset();return ms(r)},X(e){return Math.floor(e.getTime()/1e3)},x(e){return e.getTime()}};function Mg(e,t,n,o,r){if(e!==0&&!e||e===1/0||e===-1/0)return;const l=new Date(e);if(isNaN(l))return;t===void 0&&(t=ds);const i=fs(n,It.props);return t.replace(bg,(s,u)=>s in _s?_s[s](l,i,o,r):u===void 0?s:u.split("\\]").join("]"))}function Fg(e){return Oo(e)===!0?new Date(e.getTime()):e}const qg={isValid:kg,extractDate:Sg,buildDate:Tg,getDayOfWeek:Og,getWeekOfYear:Wo,isBetweenDates:Ng,addToDate:Dg,subtractFromDate:Ig,adjustDate:gs,startOfDate:Pt,endOfDate:Ag,getMaxDate:Pg,getMinDate:Lg,getDateDiff:ps,getDayOfYear:Yo,inferDateFormat:Vg,getDateBetween:Rg,isSameDate:Bg,daysInMonth:pa,formatDate:Mg,clone:Fg},$g=a.defineComponent({name:"TaskNavBar",components:{},data(){return{date:qg,showIconSearch:!0,rightDrawerOpen:!1}},props:{logo:{type:String,default:""},title:{type:String,default:"Testing Title"},showBtnBack:{type:Boolean,default:!0},showBtnSearch:{type:Boolean,default:!0},showSkeleton:{type:Boolean,default:!0}},emits:["onClickBtnMenu","onClickBtnSearch","onClickBtnBack"],methods:{onClickBtnMenu(){this.$emit("onClickBtnMenu"),console.log("menu")},onClickBtnSearch(){this.showIconSearch=!this.showIconSearch,this.$emit("onClickBtnSearch"),console.log("search")},onClickBtnBack(){this.$emit("onClickBtnBack"),console.log("back")}}}),Ug={id:"taskNavBar"},Hg={class:"row full-width"},zg={class:"col-7"},jg=["src"],Wg={id:"mobile-title"},Kg={class:"col-5 text-right","data-cy":"back"};function Yg(e,t,n,o,r,l){return a.openBlock(),a.createElementBlock("div",Ug,[a.createVNode(us,{class:"q-toolbar-unset-height"},{default:a.withCtx(()=>[a.createElementVNode("div",Hg,[a.createElementVNode("div",zg,[a.createElementVNode("img",{src:e.logo,class:"logo"},null,8,jg),a.createElementVNode("span",Wg,a.toDisplayString(e.title),1)]),a.createElementVNode("div",Kg,[e.showBtnBack?(a.openBlock(),a.createBlock(Ae,{key:0,size:"md",class:"cursor-pointer",onClick:e.onClickBtnBack},{default:a.withCtx(()=>t[0]||(t[0]=[a.createElementVNode("svg",{class:"text-h4",xmlns:"http://www.w3.org/2000/svg",width:"30",height:"30",viewBox:"0 0 23.648 22.836"},[a.createElementVNode("g",{id:"Arrow_brand","data-name":"Arrow brand",transform:"translate(0 22.836) rotate(-90)"},[a.createElementVNode("path",{id:"Caminho_1066","data-name":"Caminho 1066",d:"M23.648,10.644l-22.323.569L11.42,1.095,10.325,0,0,11.418,10.325,22.836l1.095-1.095-10.1-10.13,22.323.581Z",transform:"translate(22.836) rotate(90)"})])],-1)])),_:1},8,["onClick"])):a.createCommentVNode("",!0),e.showBtnSearch?(a.openBlock(),a.createBlock(Ae,{key:1,color:"primary",name:e.showIconSearch?"search":"search_off",size:"md",class:"q-ml-md cursor-pointer","data-cy":"search",onClick:e.onClickBtnSearch},null,8,["name","onClick"])):a.createCommentVNode("",!0),a.createVNode(Ae,{id:"iconMenu",size:"md",onClick:e.onClickBtnMenu,class:"q-ml-md cursor-pointer","data-cy":"menu"},{default:a.withCtx(()=>t[1]||(t[1]=[a.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",width:"30.448",height:"28.247",viewBox:"0 0 30.448 28.247"},[a.createElementVNode("g",{id:"Componente_11_3","data-name":"Componente 11 – 3",transform:"translate(0 1)"},[a.createElementVNode("path",{id:"Caminho_702","data-name":"Caminho 702",d:"M38.053,40.174H24",transform:"translate(-7.604 -13.177)",fill:"none",stroke:"#1a1311","stroke-miterlimit":"10","stroke-width":"0.5"}),a.createElementVNode("path",{id:"Caminho_703","data-name":"Caminho 703",d:"M45.079,31.913H24",transform:"translate(-14.631 -18.155)",fill:"none",stroke:"#1a1311","stroke-miterlimit":"10","stroke-width":"1"}),a.createElementVNode("path",{id:"Caminho_704","data-name":"Caminho 704",d:"M54.448,23.328H24",transform:"translate(-24 -23.328)",fill:"none",stroke:"#1a1311","stroke-miterlimit":"10","stroke-width":"2"})])],-1)])),_:1},8,["onClick"])])])]),_:1}),a.createVNode(pg,{class:"text-color-almost-black q-pl-none"},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(e.title),1)]),_:1})])}const bs=Pe($g,[["render",Yg]]),Gg={install(e){Wt(e,"TaskNavBar",bs)}},Qg=a.defineComponent({data(){return{alert:!1}},props:{values:{type:Object,required:!0,default:{selected:0,total:0,message:"",class:""}},imgSrc:{type:String,required:!0}},emits:["repeatTask","endTask"],methods:{repeatTask(){this.$emit("repeatTask")},endTask(){this.$emit("endTask")},showConfirmedTaskAnSetValues(e,t){this.alert=!0,this.values.total=e,this.values.selected=t}},mounted(){}}),Xg={class:""},Zg={style:{"text-align":"center"}},Jg={class:"q-mb-md"},ep=["src"],tp={class:"counter"},np={class:"text-color-positive"},op={class:"text-color-almostBlack"},rp={class:"msg-text"},ap={class:"q-mb-md"};function lp(e,t,n,o,r,l){return a.openBlock(),a.createElementBlock("div",Xg,[a.createVNode(to,{"data-cy":"task-confirmed-successfully",modelValue:e.alert,"onUpdate:modelValue":t[0]||(t[0]=i=>e.alert=i),persistent:"",maximized:!0,"transition-show":"slide-up","transition-hide":"slide-down"},{default:a.withCtx(()=>[a.createVNode(wn,{class:a.normalizeClass(e.values.class),id:"confirmed-task"},{default:a.withCtx(()=>[a.createVNode(jo,{class:"q-pa-none full-width flex justify-center items-center",style:{height:"calc(100vh - 100px)"}},{default:a.withCtx(()=>[a.createElementVNode("div",Zg,[a.createElementVNode("div",Jg,[a.createElementVNode("img",{src:e.imgSrc},null,8,ep)]),a.createElementVNode("div",tp,[a.createElementVNode("span",np,a.toDisplayString(e.values.selected),1),a.createElementVNode("span",op,"/"+a.toDisplayString(e.values.total),1)]),a.createElementVNode("div",rp,[a.createElementVNode("div",ap,a.toDisplayString(e.values.message),1),a.createElementVNode("div",null,a.toDisplayString(e.$t("taskConfirmed.repeatTask")),1)])])]),_:1}),a.createVNode(is,{class:"fixed-bottom"},{default:a.withCtx(()=>[a.createVNode(it,{"data-cy":"repeat-task","no-caps":"",square:"",unelevated:"",onClick:e.repeatTask,class:"full-width bg-almostBlack text-color-offWhite q-mb-sm"},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(e.$t("taskConfirmed.repeat")),1)]),_:1},8,["onClick"]),a.createVNode(it,{"data-cy":"end-task","no-caps":"",square:"",unelevated:"",onClick:e.endTask,class:"full-width text-color-almostBlack"},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(e.$t("taskConfirmed.finish")),1)]),_:1},8,["onClick"])]),_:1})]),_:1},8,["class"])]),_:1},8,["modelValue"])])}const ys=Pe(Qg,[["render",lp]]),ip={install(e){Wt(e,"ConfirmedTask",ys)}},sp=a.defineComponent({name:"TableRowsCounter",data(){return{}},props:{counterJson:{type:Array,required:!0}},methods:{}}),up=["data-cy"],cp={style:{"font-size":"12px"}};function dp(e,t,n,o,r,l){return a.openBlock(),a.createElementBlock("div",null,[a.createVNode(us,{class:"q-px-none q-py-none"},{default:a.withCtx(()=>[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(e.counterJson,(i,s)=>(a.openBlock(),a.createElementBlock("div",{key:s,class:"inline q-mr-md"},[a.createElementVNode("span",{"data-cy":i.dataCy,style:{"font-size":"20px","padding-right":"5px"},class:a.normalizeClass(i.extraClasses)},a.toDisplayString(i.qty),11,up),a.createElementVNode("span",cp,a.toDisplayString(e.$t(i.title)),1)]))),128))]),_:1})])}const vs=Pe(sp,[["render",dp]]),fp={install(e){Wt(e,"TableRowsCounter",vs)}},mp={name:"ToolbarSkeleton",props:{smallDevice:{type:Boolean,required:!0}}};function hp(e,t,n,o,r,l){return a.openBlock(),a.createElementBlock("div",null,[a.createVNode(wn,{style:{width:"100%"},class:"q-mb-sm"},{default:a.withCtx(()=>[a.createVNode(yt,null,{default:a.withCtx(()=>[a.createVNode(tt,null,{default:a.withCtx(()=>[a.createVNode(Xe,null,{default:a.withCtx(()=>[a.createVNode(ke,{size:"20px",class:"float-right"}),a.createVNode(ke,{type:"text",width:"100px",height:"50px"}),a.createVNode(ke,{type:"text",width:"250px"})]),_:1})]),_:1})]),_:1}),n.smallDevice?a.createCommentVNode("",!0):(a.openBlock(),a.createBlock(yt,{key:0},{default:a.withCtx(()=>[a.createVNode(tt,null,{default:a.withCtx(()=>[a.createVNode(Xe,null,{default:a.withCtx(()=>[a.createVNode(ke,{type:"QInput",width:"200px",height:"40px",class:"float-left q-mr-md"}),a.createVNode(ke,{type:"QInput",width:"200px",height:"40px",class:"float-left"})]),_:1})]),_:1})]),_:1})),n.smallDevice?a.createCommentVNode("",!0):(a.openBlock(),a.createBlock(yt,{key:1},{default:a.withCtx(()=>[a.createVNode(tt,null,{default:a.withCtx(()=>[a.createVNode(Xe,null,{default:a.withCtx(()=>[a.createVNode(ke,{type:"text",width:"30px"})]),_:1})]),_:1})]),_:1}))]),_:1})])}const Es=Pe(mp,[["render",hp]]),gp={install(e){Wt(e,"NavBarSkeleton",Es)}},pp=ge({name:"QSpace",setup(){const e=a.h("div",{class:"q-space"});return()=>e}}),_p=ge({name:"QBar",props:{...dt,dense:Boolean},setup(e,{slots:t}){const{proxy:{$q:n}}=a.getCurrentInstance(),o=ft(e,n),r=a.computed(()=>`q-bar row no-wrap items-center q-bar--${e.dense===!0?"dense":"standard"} q-bar--${o.value===!0?"dark":"light"}`);return()=>a.h("div",{class:r.value,role:"toolbar"},ve(t.default))}}),bp='<g transform="translate(1 1)" stroke-width="2" fill="none" fill-rule="evenodd"><circle stroke-opacity=".5" cx="18" cy="18" r="18"></circle><path d="M36 18c0-9.94-8.06-18-18-18"><animateTransform attributeName="transform" type="rotate" from="0 18 18" to="360 18 18" dur="1s" repeatCount="indefinite"></animateTransform></path></g>',yp=ge({name:"QSpinnerOval",props:Gl,setup(e){const{cSize:t,classes:n}=Ql(e);return()=>a.h("svg",{class:n.value,stroke:"currentColor",width:t.value,height:t.value,viewBox:"0 0 38 38",xmlns:"http://www.w3.org/2000/svg",innerHTML:bp})}}),vp=a.defineComponent({name:"AlertLabelsWithError",data(){return{alert:!1,labelsErrors:[]}},emit:["retryReadLabelAxios","onCloseDialogLabelsError"],methods:{deleteLabelFromErrorMessage(e){this.labelsErrors.splice(e,1),this.labelsErrors.length===0&&this.onCloseDialogLabelsError()},retryReadLabelAxios(e){this.$emit("retryReadLabelAxios",e)},onCloseDialogLabelsError(){this.alert=!1,this.labelsErrors=[],this.$emit("onCloseDialogLabelsError")},setLabelsSpinner(e,t){for(let n=0;n<this.labelsErrors.length;n++)this.labelsErrors[n].label===e&&(this.labelsErrors[n].spinner=t)},setIconCircleCheck(e){for(let t=0;t<this.labelsErrors.length;t++)this.labelsErrors[t].label===e&&(this.labelsErrors[t].icon="check_circle")}}}),Ep={class:"text-grey-8"},Cp={class:"text-weight-medium q-pr-xs text-color-almostBlack"},Sp={class:"float-left"},wp={class:"float-right"};function kp(e,t,n,o,r,l){return a.openBlock(),a.createElementBlock("div",null,[a.createVNode(to,{modelValue:e.alert,"onUpdate:modelValue":t[0]||(t[0]=i=>e.alert=i),persistent:"","transition-show":"slide-up","transition-hide":"slide-down"},{default:a.withCtx(()=>[a.createVNode(wn,{style:{width:"100%","max-width":"560px","min-width":"250px"},"data-cy":"errors-details"},{default:a.withCtx(()=>[a.createVNode(_p,null,{default:a.withCtx(()=>[a.createVNode(pp),a.createVNode(it,{dense:"",flat:"",icon:"close",onClick:e.onCloseDialogLabelsError,"data-cy":"close-error-details"},null,8,["onClick"])]),_:1}),a.createVNode(jo,{class:"q-pt-md"},{default:a.withCtx(()=>[a.createVNode(Pr,{bordered:"",style:{width:"100%"}},{default:a.withCtx(()=>[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(e.labelsErrors,(i,s)=>(a.openBlock(),a.createBlock(yt,a.mergeProps({class:"border-bottom-darkGrey",key:s,ref_for:!0},i),{default:a.withCtx(()=>[a.createVNode(tt,{top:""},{default:a.withCtx(()=>[a.createVNode(Xe,null,{default:a.withCtx(()=>[a.createElementVNode("span",Ep,[a.createElementVNode("span",Cp,a.toDisplayString(i.label),1),a.withDirectives(a.createVNode(Ae,{color:i.icon==="check_circle"?"green":"red",size:"xs",name:i.icon},null,8,["color","name"]),[[a.vShow,!i.spinner]]),a.withDirectives(a.createVNode(yp,{"data-cy":"spinner",color:"blue",size:"sm"},null,512),[[a.vShow,i.spinner]])])]),_:2},1024),a.withDirectives(a.createVNode(Xe,{class:"q-pt-sm",caption:""},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(i.error),1)]),_:2},1536),[[a.vShow,i.icon==="cancel"]]),a.withDirectives(a.createVNode(Xe,{class:"q-pt-sm q-mt-x"},{default:a.withCtx(()=>[a.createElementVNode("span",Sp,[a.createVNode(it,{flat:"",size:"md",class:"text-blue","data-cy":"retry",onClick:u=>e.retryReadLabelAxios(i.label)},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(e.$t("global.retry")),1)]),_:2},1032,["onClick"])]),a.createElementVNode("span",wp,[a.createVNode(it,{flat:"",round:"",size:"md",color:"secondary",icon:"delete","data-cy":"deleteLabelFromErrorsList",onClick:u=>e.deleteLabelFromErrorMessage(s)},null,8,["onClick"])])]),_:2},1536),[[a.vShow,i.icon==="cancel"]])]),_:2},1024),a.createVNode(xr)]),_:2},1040))),128))]),_:1})]),_:1})]),_:1})]),_:1},8,["modelValue"])])}const Cs=Pe(vp,[["render",kp]]),Tp={install(e){Wt(e,"AlertLabelsWithError",Cs)}};var Op=Object.create,Ss=Object.defineProperty,xp=Object.getOwnPropertyDescriptor,_a=Object.getOwnPropertyNames,Np=Object.getPrototypeOf,Dp=Object.prototype.hasOwnProperty,Ip=(e,t)=>function(){return e&&(t=(0,e[_a(e)[0]])(e=0)),t},Ap=(e,t)=>function(){return t||(0,e[_a(e)[0]])((t={exports:{}}).exports,t),t.exports},Pp=(e,t,n,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of _a(t))!Dp.call(e,r)&&r!==n&&Ss(e,r,{get:()=>t[r],enumerable:!(o=xp(t,r))||o.enumerable});return e},Lp=(e,t,n)=>(n=e!=null?Op(Np(e)):{},Pp(Ss(n,"default",{value:e,enumerable:!0}),e)),ro=Ip({"../../node_modules/.pnpm/tsup@8.3.5_@microsoft+api-extractor@7.48.1_@types+node@22.10.5__jiti@2.4.2_postcss@8.4.49_tsx_s7k37zks4wtn7x2grzma6lrsfa/node_modules/tsup/assets/esm_shims.js"(){}}),Vp=Ap({"../../node_modules/.pnpm/rfdc@1.4.1/node_modules/rfdc/index.js"(e,t){ro(),t.exports=o;function n(l){return l instanceof Buffer?Buffer.from(l):new l.constructor(l.buffer.slice(),l.byteOffset,l.length)}function o(l){if(l=l||{},l.circles)return r(l);const i=new Map;if(i.set(Date,m=>new Date(m)),i.set(Map,(m,g)=>new Map(u(Array.from(m),g))),i.set(Set,(m,g)=>new Set(u(Array.from(m),g))),l.constructorHandlers)for(const m of l.constructorHandlers)i.set(m[0],m[1]);let s=null;return l.proto?c:f;function u(m,g){const h=Object.keys(m),d=new Array(h.length);for(let b=0;b<h.length;b++){const _=h[b],p=m[_];typeof p!="object"||p===null?d[_]=p:p.constructor!==Object&&(s=i.get(p.constructor))?d[_]=s(p,g):ArrayBuffer.isView(p)?d[_]=n(p):d[_]=g(p)}return d}function f(m){if(typeof m!="object"||m===null)return m;if(Array.isArray(m))return u(m,f);if(m.constructor!==Object&&(s=i.get(m.constructor)))return s(m,f);const g={};for(const h in m){if(Object.hasOwnProperty.call(m,h)===!1)continue;const d=m[h];typeof d!="object"||d===null?g[h]=d:d.constructor!==Object&&(s=i.get(d.constructor))?g[h]=s(d,f):ArrayBuffer.isView(d)?g[h]=n(d):g[h]=f(d)}return g}function c(m){if(typeof m!="object"||m===null)return m;if(Array.isArray(m))return u(m,c);if(m.constructor!==Object&&(s=i.get(m.constructor)))return s(m,c);const g={};for(const h in m){const d=m[h];typeof d!="object"||d===null?g[h]=d:d.constructor!==Object&&(s=i.get(d.constructor))?g[h]=s(d,c):ArrayBuffer.isView(d)?g[h]=n(d):g[h]=c(d)}return g}}function r(l){const i=[],s=[],u=new Map;if(u.set(Date,h=>new Date(h)),u.set(Map,(h,d)=>new Map(c(Array.from(h),d))),u.set(Set,(h,d)=>new Set(c(Array.from(h),d))),l.constructorHandlers)for(const h of l.constructorHandlers)u.set(h[0],h[1]);let f=null;return l.proto?g:m;function c(h,d){const b=Object.keys(h),_=new Array(b.length);for(let p=0;p<b.length;p++){const y=b[p],C=h[y];if(typeof C!="object"||C===null)_[y]=C;else if(C.constructor!==Object&&(f=u.get(C.constructor)))_[y]=f(C,d);else if(ArrayBuffer.isView(C))_[y]=n(C);else{const v=i.indexOf(C);v!==-1?_[y]=s[v]:_[y]=d(C)}}return _}function m(h){if(typeof h!="object"||h===null)return h;if(Array.isArray(h))return c(h,m);if(h.constructor!==Object&&(f=u.get(h.constructor)))return f(h,m);const d={};i.push(h),s.push(d);for(const b in h){if(Object.hasOwnProperty.call(h,b)===!1)continue;const _=h[b];if(typeof _!="object"||_===null)d[b]=_;else if(_.constructor!==Object&&(f=u.get(_.constructor)))d[b]=f(_,m);else if(ArrayBuffer.isView(_))d[b]=n(_);else{const p=i.indexOf(_);p!==-1?d[b]=s[p]:d[b]=m(_)}}return i.pop(),s.pop(),d}function g(h){if(typeof h!="object"||h===null)return h;if(Array.isArray(h))return c(h,g);if(h.constructor!==Object&&(f=u.get(h.constructor)))return f(h,g);const d={};i.push(h),s.push(d);for(const b in h){const _=h[b];if(typeof _!="object"||_===null)d[b]=_;else if(_.constructor!==Object&&(f=u.get(_.constructor)))d[b]=f(_,g);else if(ArrayBuffer.isView(_))d[b]=n(_);else{const p=i.indexOf(_);p!==-1?d[b]=s[p]:d[b]=g(_)}}return i.pop(),s.pop(),d}}}});ro(),ro(),ro();var ws=typeof navigator<"u",oe=typeof window<"u"?window:typeof globalThis<"u"?globalThis:typeof global<"u"?global:{};typeof oe.chrome<"u"&&oe.chrome.devtools,ws&&(oe.self,oe.top);var ks;typeof navigator<"u"&&((ks=navigator.userAgent)==null||ks.toLowerCase().includes("electron")),ro();var Rp=Lp(Vp()),Bp=/(?:^|[-_/])(\w)/g;function Mp(e,t){return t?t.toUpperCase():""}function Fp(e){return e&&`${e}`.replace(Bp,Mp)}function qp(e,t){let n=e.replace(/^[a-z]:/i,"").replace(/\\/g,"/");n.endsWith(`index${t}`)&&(n=n.replace(`/index${t}`,t));const o=n.lastIndexOf("/"),r=n.substring(o+1);{const l=r.lastIndexOf(t);return r.substring(0,l)}}var Ts=(0,Rp.default)({circles:!0});const $p={trailing:!0};function Tn(e,t=25,n={}){if(n={...$p,...n},!Number.isFinite(t))throw new TypeError("Expected `wait` to be a finite number");let o,r,l=[],i,s;const u=(f,c)=>(i=Up(e,f,c),i.finally(()=>{if(i=null,n.trailing&&s&&!r){const m=u(f,s);return s=null,m}}),i);return function(...f){return i?(n.trailing&&(s=f),i):new Promise(c=>{const m=!r&&n.leading;clearTimeout(r),r=setTimeout(()=>{r=null;const g=n.leading?o:u(this,f);for(const h of l)h(g);l=[]},t),m?(o=u(this,f),c(o)):l.push(c)})}}async function Up(e,t,n){return await e.apply(t,n)}function ba(e,t={},n){for(const o in e){const r=e[o],l=n?`${n}:${o}`:o;typeof r=="object"&&r!==null?ba(r,t,l):typeof r=="function"&&(t[l]=r)}return t}const Hp={run:e=>e()},zp=()=>Hp,Os=typeof console.createTask<"u"?console.createTask:zp;function jp(e,t){const n=t.shift(),o=Os(n);return e.reduce((r,l)=>r.then(()=>o.run(()=>l(...t))),Promise.resolve())}function Wp(e,t){const n=t.shift(),o=Os(n);return Promise.all(e.map(r=>o.run(()=>r(...t))))}function ya(e,t){for(const n of[...e])n(t)}class Kp{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(t,n,o={}){if(!t||typeof n!="function")return()=>{};const r=t;let l;for(;this._deprecatedHooks[t];)l=this._deprecatedHooks[t],t=l.to;if(l&&!o.allowDeprecated){let i=l.message;i||(i=`${r} hook has been deprecated`+(l.to?`, please use ${l.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(i)||(console.warn(i),this._deprecatedMessages.add(i))}if(!n.name)try{Object.defineProperty(n,"name",{get:()=>"_"+t.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[t]=this._hooks[t]||[],this._hooks[t].push(n),()=>{n&&(this.removeHook(t,n),n=void 0)}}hookOnce(t,n){let o,r=(...l)=>(typeof o=="function"&&o(),o=void 0,r=void 0,n(...l));return o=this.hook(t,r),o}removeHook(t,n){if(this._hooks[t]){const o=this._hooks[t].indexOf(n);o!==-1&&this._hooks[t].splice(o,1),this._hooks[t].length===0&&delete this._hooks[t]}}deprecateHook(t,n){this._deprecatedHooks[t]=typeof n=="string"?{to:n}:n;const o=this._hooks[t]||[];delete this._hooks[t];for(const r of o)this.hook(t,r)}deprecateHooks(t){Object.assign(this._deprecatedHooks,t);for(const n in t)this.deprecateHook(n,t[n])}addHooks(t){const n=ba(t),o=Object.keys(n).map(r=>this.hook(r,n[r]));return()=>{for(const r of o.splice(0,o.length))r()}}removeHooks(t){const n=ba(t);for(const o in n)this.removeHook(o,n[o])}removeAllHooks(){for(const t in this._hooks)delete this._hooks[t]}callHook(t,...n){return n.unshift(t),this.callHookWith(jp,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(Wp,t,...n)}callHookWith(t,n,...o){const r=this._before||this._after?{name:n,args:o,context:{}}:void 0;this._before&&ya(this._before,r);const l=t(n in this._hooks?[...this._hooks[n]]:[],o);return l instanceof Promise?l.finally(()=>{this._after&&r&&ya(this._after,r)}):(this._after&&r&&ya(this._after,r),l)}beforeEach(t){return this._before=this._before||[],this._before.push(t),()=>{if(this._before!==void 0){const n=this._before.indexOf(t);n!==-1&&this._before.splice(n,1)}}}afterEach(t){return this._after=this._after||[],this._after.push(t),()=>{if(this._after!==void 0){const n=this._after.indexOf(t);n!==-1&&this._after.splice(n,1)}}}}function xs(){return new Kp}var Yp=Object.create,Ns=Object.defineProperty,Gp=Object.getOwnPropertyDescriptor,va=Object.getOwnPropertyNames,Qp=Object.getPrototypeOf,Xp=Object.prototype.hasOwnProperty,Zp=(e,t)=>function(){return e&&(t=(0,e[va(e)[0]])(e=0)),t},Ds=(e,t)=>function(){return t||(0,e[va(e)[0]])((t={exports:{}}).exports,t),t.exports},Jp=(e,t,n,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of va(t))!Xp.call(e,r)&&r!==n&&Ns(e,r,{get:()=>t[r],enumerable:!(o=Gp(t,r))||o.enumerable});return e},e_=(e,t,n)=>(n=e!=null?Yp(Qp(e)):{},Jp(Ns(n,"default",{value:e,enumerable:!0}),e)),M=Zp({"../../node_modules/.pnpm/tsup@8.3.5_@microsoft+api-extractor@7.48.1_@types+node@22.10.5__jiti@2.4.2_postcss@8.4.49_tsx_s7k37zks4wtn7x2grzma6lrsfa/node_modules/tsup/assets/esm_shims.js"(){}}),t_=Ds({"../../node_modules/.pnpm/speakingurl@14.0.1/node_modules/speakingurl/lib/speakingurl.js"(e,t){M(),function(n){var o={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"Ae",Å:"A",Æ:"AE",Ç:"C",È:"E",É:"E",Ê:"E",Ë:"E",Ì:"I",Í:"I",Î:"I",Ï:"I",Ð:"D",Ñ:"N",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"Oe",Ő:"O",Ø:"O",Ù:"U",Ú:"U",Û:"U",Ü:"Ue",Ű:"U",Ý:"Y",Þ:"TH",ß:"ss",à:"a",á:"a",â:"a",ã:"a",ä:"ae",å:"a",æ:"ae",ç:"c",è:"e",é:"e",ê:"e",ë:"e",ì:"i",í:"i",î:"i",ï:"i",ð:"d",ñ:"n",ò:"o",ó:"o",ô:"o",õ:"o",ö:"oe",ő:"o",ø:"o",ù:"u",ú:"u",û:"u",ü:"ue",ű:"u",ý:"y",þ:"th",ÿ:"y","ẞ":"SS",ا:"a",أ:"a",إ:"i",آ:"aa",ؤ:"u",ئ:"e",ء:"a",ب:"b",ت:"t",ث:"th",ج:"j",ح:"h",خ:"kh",د:"d",ذ:"th",ر:"r",ز:"z",س:"s",ش:"sh",ص:"s",ض:"dh",ط:"t",ظ:"z",ع:"a",غ:"gh",ف:"f",ق:"q",ك:"k",ل:"l",م:"m",ن:"n",ه:"h",و:"w",ي:"y",ى:"a",ة:"h",ﻻ:"la",ﻷ:"laa",ﻹ:"lai",ﻵ:"laa",گ:"g",چ:"ch",پ:"p",ژ:"zh",ک:"k",ی:"y","َ":"a","ً":"an","ِ":"e","ٍ":"en","ُ":"u","ٌ":"on","ْ":"","٠":"0","١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","۰":"0","۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9",က:"k",ခ:"kh",ဂ:"g",ဃ:"ga",င:"ng",စ:"s",ဆ:"sa",ဇ:"z","စျ":"za",ည:"ny",ဋ:"t",ဌ:"ta",ဍ:"d",ဎ:"da",ဏ:"na",တ:"t",ထ:"ta",ဒ:"d",ဓ:"da",န:"n",ပ:"p",ဖ:"pa",ဗ:"b",ဘ:"ba",မ:"m",ယ:"y",ရ:"ya",လ:"l",ဝ:"w",သ:"th",ဟ:"h",ဠ:"la",အ:"a","ြ":"y","ျ":"ya","ွ":"w","ြွ":"yw","ျွ":"ywa","ှ":"h",ဧ:"e","၏":"-e",ဣ:"i",ဤ:"-i",ဉ:"u",ဦ:"-u",ဩ:"aw","သြော":"aw",ဪ:"aw","၀":"0","၁":"1","၂":"2","၃":"3","၄":"4","၅":"5","၆":"6","၇":"7","၈":"8","၉":"9","္":"","့":"","း":"",č:"c",ď:"d",ě:"e",ň:"n",ř:"r",š:"s",ť:"t",ů:"u",ž:"z",Č:"C",Ď:"D",Ě:"E",Ň:"N",Ř:"R",Š:"S",Ť:"T",Ů:"U",Ž:"Z",ހ:"h",ށ:"sh",ނ:"n",ރ:"r",ބ:"b",ޅ:"lh",ކ:"k",އ:"a",ވ:"v",މ:"m",ފ:"f",ދ:"dh",ތ:"th",ލ:"l",ގ:"g",ޏ:"gn",ސ:"s",ޑ:"d",ޒ:"z",ޓ:"t",ޔ:"y",ޕ:"p",ޖ:"j",ޗ:"ch",ޘ:"tt",ޙ:"hh",ޚ:"kh",ޛ:"th",ޜ:"z",ޝ:"sh",ޞ:"s",ޟ:"d",ޠ:"t",ޡ:"z",ޢ:"a",ޣ:"gh",ޤ:"q",ޥ:"w","ަ":"a","ާ":"aa","ި":"i","ީ":"ee","ު":"u","ޫ":"oo","ެ":"e","ޭ":"ey","ޮ":"o","ޯ":"oa","ް":"",ა:"a",ბ:"b",გ:"g",დ:"d",ე:"e",ვ:"v",ზ:"z",თ:"t",ი:"i",კ:"k",ლ:"l",მ:"m",ნ:"n",ო:"o",პ:"p",ჟ:"zh",რ:"r",ს:"s",ტ:"t",უ:"u",ფ:"p",ქ:"k",ღ:"gh",ყ:"q",შ:"sh",ჩ:"ch",ც:"ts",ძ:"dz",წ:"ts",ჭ:"ch",ხ:"kh",ჯ:"j",ჰ:"h",α:"a",β:"v",γ:"g",δ:"d",ε:"e",ζ:"z",η:"i",θ:"th",ι:"i",κ:"k",λ:"l",μ:"m",ν:"n",ξ:"ks",ο:"o",π:"p",ρ:"r",σ:"s",τ:"t",υ:"y",φ:"f",χ:"x",ψ:"ps",ω:"o",ά:"a",έ:"e",ί:"i",ό:"o",ύ:"y",ή:"i",ώ:"o",ς:"s",ϊ:"i",ΰ:"y",ϋ:"y",ΐ:"i",Α:"A",Β:"B",Γ:"G",Δ:"D",Ε:"E",Ζ:"Z",Η:"I",Θ:"TH",Ι:"I",Κ:"K",Λ:"L",Μ:"M",Ν:"N",Ξ:"KS",Ο:"O",Π:"P",Ρ:"R",Σ:"S",Τ:"T",Υ:"Y",Φ:"F",Χ:"X",Ψ:"PS",Ω:"O",Ά:"A",Έ:"E",Ί:"I",Ό:"O",Ύ:"Y",Ή:"I",Ώ:"O",Ϊ:"I",Ϋ:"Y",ā:"a",ē:"e",ģ:"g",ī:"i",ķ:"k",ļ:"l",ņ:"n",ū:"u",Ā:"A",Ē:"E",Ģ:"G",Ī:"I",Ķ:"k",Ļ:"L",Ņ:"N",Ū:"U",Ќ:"Kj",ќ:"kj",Љ:"Lj",љ:"lj",Њ:"Nj",њ:"nj",Тс:"Ts",тс:"ts",ą:"a",ć:"c",ę:"e",ł:"l",ń:"n",ś:"s",ź:"z",ż:"z",Ą:"A",Ć:"C",Ę:"E",Ł:"L",Ń:"N",Ś:"S",Ź:"Z",Ż:"Z",Є:"Ye",І:"I",Ї:"Yi",Ґ:"G",є:"ye",і:"i",ї:"yi",ґ:"g",ă:"a",Ă:"A",ș:"s",Ș:"S",ț:"t",Ț:"T",ţ:"t",Ţ:"T",а:"a",б:"b",в:"v",г:"g",д:"d",е:"e",ё:"yo",ж:"zh",з:"z",и:"i",й:"i",к:"k",л:"l",м:"m",н:"n",о:"o",п:"p",р:"r",с:"s",т:"t",у:"u",ф:"f",х:"kh",ц:"c",ч:"ch",ш:"sh",щ:"sh",ъ:"",ы:"y",ь:"",э:"e",ю:"yu",я:"ya",А:"A",Б:"B",В:"V",Г:"G",Д:"D",Е:"E",Ё:"Yo",Ж:"Zh",З:"Z",И:"I",Й:"I",К:"K",Л:"L",М:"M",Н:"N",О:"O",П:"P",Р:"R",С:"S",Т:"T",У:"U",Ф:"F",Х:"Kh",Ц:"C",Ч:"Ch",Ш:"Sh",Щ:"Sh",Ъ:"",Ы:"Y",Ь:"",Э:"E",Ю:"Yu",Я:"Ya",ђ:"dj",ј:"j",ћ:"c",џ:"dz",Ђ:"Dj",Ј:"j",Ћ:"C",Џ:"Dz",ľ:"l",ĺ:"l",ŕ:"r",Ľ:"L",Ĺ:"L",Ŕ:"R",ş:"s",Ş:"S",ı:"i",İ:"I",ğ:"g",Ğ:"G",ả:"a",Ả:"A",ẳ:"a",Ẳ:"A",ẩ:"a",Ẩ:"A",đ:"d",Đ:"D",ẹ:"e",Ẹ:"E",ẽ:"e",Ẽ:"E",ẻ:"e",Ẻ:"E",ế:"e",Ế:"E",ề:"e",Ề:"E",ệ:"e",Ệ:"E",ễ:"e",Ễ:"E",ể:"e",Ể:"E",ỏ:"o",ọ:"o",Ọ:"o",ố:"o",Ố:"O",ồ:"o",Ồ:"O",ổ:"o",Ổ:"O",ộ:"o",Ộ:"O",ỗ:"o",Ỗ:"O",ơ:"o",Ơ:"O",ớ:"o",Ớ:"O",ờ:"o",Ờ:"O",ợ:"o",Ợ:"O",ỡ:"o",Ỡ:"O",Ở:"o",ở:"o",ị:"i",Ị:"I",ĩ:"i",Ĩ:"I",ỉ:"i",Ỉ:"i",ủ:"u",Ủ:"U",ụ:"u",Ụ:"U",ũ:"u",Ũ:"U",ư:"u",Ư:"U",ứ:"u",Ứ:"U",ừ:"u",Ừ:"U",ự:"u",Ự:"U",ữ:"u",Ữ:"U",ử:"u",Ử:"ư",ỷ:"y",Ỷ:"y",ỳ:"y",Ỳ:"Y",ỵ:"y",Ỵ:"Y",ỹ:"y",Ỹ:"Y",ạ:"a",Ạ:"A",ấ:"a",Ấ:"A",ầ:"a",Ầ:"A",ậ:"a",Ậ:"A",ẫ:"a",Ẫ:"A",ắ:"a",Ắ:"A",ằ:"a",Ằ:"A",ặ:"a",Ặ:"A",ẵ:"a",Ẵ:"A","⓪":"0","①":"1","②":"2","③":"3","④":"4","⑤":"5","⑥":"6","⑦":"7","⑧":"8","⑨":"9","⑩":"10","⑪":"11","⑫":"12","⑬":"13","⑭":"14","⑮":"15","⑯":"16","⑰":"17","⑱":"18","⑲":"18","⑳":"18","⓵":"1","⓶":"2","⓷":"3","⓸":"4","⓹":"5","⓺":"6","⓻":"7","⓼":"8","⓽":"9","⓾":"10","⓿":"0","⓫":"11","⓬":"12","⓭":"13","⓮":"14","⓯":"15","⓰":"16","⓱":"17","⓲":"18","⓳":"19","⓴":"20","Ⓐ":"A","Ⓑ":"B","Ⓒ":"C","Ⓓ":"D","Ⓔ":"E","Ⓕ":"F","Ⓖ":"G","Ⓗ":"H","Ⓘ":"I","Ⓙ":"J","Ⓚ":"K","Ⓛ":"L","Ⓜ":"M","Ⓝ":"N","Ⓞ":"O","Ⓟ":"P","Ⓠ":"Q","Ⓡ":"R","Ⓢ":"S","Ⓣ":"T","Ⓤ":"U","Ⓥ":"V","Ⓦ":"W","Ⓧ":"X","Ⓨ":"Y","Ⓩ":"Z","ⓐ":"a","ⓑ":"b","ⓒ":"c","ⓓ":"d","ⓔ":"e","ⓕ":"f","ⓖ":"g","ⓗ":"h","ⓘ":"i","ⓙ":"j","ⓚ":"k","ⓛ":"l","ⓜ":"m","ⓝ":"n","ⓞ":"o","ⓟ":"p","ⓠ":"q","ⓡ":"r","ⓢ":"s","ⓣ":"t","ⓤ":"u","ⓦ":"v","ⓥ":"w","ⓧ":"x","ⓨ":"y","ⓩ":"z","“":'"',"”":'"',"‘":"'","’":"'","∂":"d",ƒ:"f","™":"(TM)","©":"(C)",œ:"oe",Œ:"OE","®":"(R)","†":"+","℠":"(SM)","…":"...","˚":"o",º:"o",ª:"a","•":"*","၊":",","။":".",$:"USD","€":"EUR","₢":"BRN","₣":"FRF","£":"GBP","₤":"ITL","₦":"NGN","₧":"ESP","₩":"KRW","₪":"ILS","₫":"VND","₭":"LAK","₮":"MNT","₯":"GRD","₱":"ARS","₲":"PYG","₳":"ARA","₴":"UAH","₵":"GHS","¢":"cent","¥":"CNY",元:"CNY",円:"YEN","﷼":"IRR","₠":"EWE","฿":"THB","₨":"INR","₹":"INR","₰":"PF","₺":"TRY","؋":"AFN","₼":"AZN",лв:"BGN","៛":"KHR","₡":"CRC","₸":"KZT",ден:"MKD",zł:"PLN","₽":"RUB","₾":"GEL"},r=["်","ް"],l={"ာ":"a","ါ":"a","ေ":"e","ဲ":"e","ိ":"i","ီ":"i","ို":"o","ု":"u","ူ":"u","ေါင်":"aung","ော":"aw","ော်":"aw","ေါ":"aw","ေါ်":"aw","်":"်","က်":"et","ိုက်":"aik","ောက်":"auk","င်":"in","ိုင်":"aing","ောင်":"aung","စ်":"it","ည်":"i","တ်":"at","ိတ်":"eik","ုတ်":"ok","ွတ်":"ut","ေတ်":"it","ဒ်":"d","ိုဒ်":"ok","ုဒ်":"ait","န်":"an","ာန်":"an","ိန်":"ein","ုန်":"on","ွန်":"un","ပ်":"at","ိပ်":"eik","ုပ်":"ok","ွပ်":"ut","န်ုပ်":"nub","မ်":"an","ိမ်":"ein","ုမ်":"on","ွမ်":"un","ယ်":"e","ိုလ်":"ol","ဉ်":"in","ံ":"an","ိံ":"ein","ုံ":"on","ައް":"ah","ަށް":"ah"},i={en:{},az:{ç:"c",ə:"e",ğ:"g",ı:"i",ö:"o",ş:"s",ü:"u",Ç:"C",Ə:"E",Ğ:"G",İ:"I",Ö:"O",Ş:"S",Ü:"U"},cs:{č:"c",ď:"d",ě:"e",ň:"n",ř:"r",š:"s",ť:"t",ů:"u",ž:"z",Č:"C",Ď:"D",Ě:"E",Ň:"N",Ř:"R",Š:"S",Ť:"T",Ů:"U",Ž:"Z"},fi:{ä:"a",Ä:"A",ö:"o",Ö:"O"},hu:{ä:"a",Ä:"A",ö:"o",Ö:"O",ü:"u",Ü:"U",ű:"u",Ű:"U"},lt:{ą:"a",č:"c",ę:"e",ė:"e",į:"i",š:"s",ų:"u",ū:"u",ž:"z",Ą:"A",Č:"C",Ę:"E",Ė:"E",Į:"I",Š:"S",Ų:"U",Ū:"U"},lv:{ā:"a",č:"c",ē:"e",ģ:"g",ī:"i",ķ:"k",ļ:"l",ņ:"n",š:"s",ū:"u",ž:"z",Ā:"A",Č:"C",Ē:"E",Ģ:"G",Ī:"i",Ķ:"k",Ļ:"L",Ņ:"N",Š:"S",Ū:"u",Ž:"Z"},pl:{ą:"a",ć:"c",ę:"e",ł:"l",ń:"n",ó:"o",ś:"s",ź:"z",ż:"z",Ą:"A",Ć:"C",Ę:"e",Ł:"L",Ń:"N",Ó:"O",Ś:"S",Ź:"Z",Ż:"Z"},sv:{ä:"a",Ä:"A",ö:"o",Ö:"O"},sk:{ä:"a",Ä:"A"},sr:{љ:"lj",њ:"nj",Љ:"Lj",Њ:"Nj",đ:"dj",Đ:"Dj"},tr:{Ü:"U",Ö:"O",ü:"u",ö:"o"}},s={ar:{"∆":"delta","∞":"la-nihaya","♥":"hob","&":"wa","|":"aw","<":"aqal-men",">":"akbar-men","∑":"majmou","¤":"omla"},az:{},ca:{"∆":"delta","∞":"infinit","♥":"amor","&":"i","|":"o","<":"menys que",">":"mes que","∑":"suma dels","¤":"moneda"},cs:{"∆":"delta","∞":"nekonecno","♥":"laska","&":"a","|":"nebo","<":"mensi nez",">":"vetsi nez","∑":"soucet","¤":"mena"},de:{"∆":"delta","∞":"unendlich","♥":"Liebe","&":"und","|":"oder","<":"kleiner als",">":"groesser als","∑":"Summe von","¤":"Waehrung"},dv:{"∆":"delta","∞":"kolunulaa","♥":"loabi","&":"aai","|":"noonee","<":"ah vure kuda",">":"ah vure bodu","∑":"jumula","¤":"faisaa"},en:{"∆":"delta","∞":"infinity","♥":"love","&":"and","|":"or","<":"less than",">":"greater than","∑":"sum","¤":"currency"},es:{"∆":"delta","∞":"infinito","♥":"amor","&":"y","|":"u","<":"menos que",">":"mas que","∑":"suma de los","¤":"moneda"},fa:{"∆":"delta","∞":"bi-nahayat","♥":"eshgh","&":"va","|":"ya","<":"kamtar-az",">":"bishtar-az","∑":"majmooe","¤":"vahed"},fi:{"∆":"delta","∞":"aarettomyys","♥":"rakkaus","&":"ja","|":"tai","<":"pienempi kuin",">":"suurempi kuin","∑":"summa","¤":"valuutta"},fr:{"∆":"delta","∞":"infiniment","♥":"Amour","&":"et","|":"ou","<":"moins que",">":"superieure a","∑":"somme des","¤":"monnaie"},ge:{"∆":"delta","∞":"usasruloba","♥":"siqvaruli","&":"da","|":"an","<":"naklebi",">":"meti","∑":"jami","¤":"valuta"},gr:{},hu:{"∆":"delta","∞":"vegtelen","♥":"szerelem","&":"es","|":"vagy","<":"kisebb mint",">":"nagyobb mint","∑":"szumma","¤":"penznem"},it:{"∆":"delta","∞":"infinito","♥":"amore","&":"e","|":"o","<":"minore di",">":"maggiore di","∑":"somma","¤":"moneta"},lt:{"∆":"delta","∞":"begalybe","♥":"meile","&":"ir","|":"ar","<":"maziau nei",">":"daugiau nei","∑":"suma","¤":"valiuta"},lv:{"∆":"delta","∞":"bezgaliba","♥":"milestiba","&":"un","|":"vai","<":"mazak neka",">":"lielaks neka","∑":"summa","¤":"valuta"},my:{"∆":"kwahkhyaet","∞":"asaonasme","♥":"akhyait","&":"nhin","|":"tho","<":"ngethaw",">":"kyithaw","∑":"paungld","¤":"ngwekye"},mk:{},nl:{"∆":"delta","∞":"oneindig","♥":"liefde","&":"en","|":"of","<":"kleiner dan",">":"groter dan","∑":"som","¤":"valuta"},pl:{"∆":"delta","∞":"nieskonczonosc","♥":"milosc","&":"i","|":"lub","<":"mniejsze niz",">":"wieksze niz","∑":"suma","¤":"waluta"},pt:{"∆":"delta","∞":"infinito","♥":"amor","&":"e","|":"ou","<":"menor que",">":"maior que","∑":"soma","¤":"moeda"},ro:{"∆":"delta","∞":"infinit","♥":"dragoste","&":"si","|":"sau","<":"mai mic ca",">":"mai mare ca","∑":"suma","¤":"valuta"},ru:{"∆":"delta","∞":"beskonechno","♥":"lubov","&":"i","|":"ili","<":"menshe",">":"bolshe","∑":"summa","¤":"valjuta"},sk:{"∆":"delta","∞":"nekonecno","♥":"laska","&":"a","|":"alebo","<":"menej ako",">":"viac ako","∑":"sucet","¤":"mena"},sr:{},tr:{"∆":"delta","∞":"sonsuzluk","♥":"ask","&":"ve","|":"veya","<":"kucuktur",">":"buyuktur","∑":"toplam","¤":"para birimi"},uk:{"∆":"delta","∞":"bezkinechnist","♥":"lubov","&":"i","|":"abo","<":"menshe",">":"bilshe","∑":"suma","¤":"valjuta"},vn:{"∆":"delta","∞":"vo cuc","♥":"yeu","&":"va","|":"hoac","<":"nho hon",">":"lon hon","∑":"tong","¤":"tien te"}},u=[";","?",":","@","&","=","+","$",",","/"].join(""),f=[";","?",":","@","&","=","+","$",","].join(""),c=[".","!","~","*","'","(",")"].join(""),m=function(_,p){var y="-",C="",v="",O=!0,D={},k,B,I,P,F,N,K,V,J,W,$,z,G,ee,x="";if(typeof _!="string")return"";if(typeof p=="string"&&(y=p),K=s.en,V=i.en,typeof p=="object"){k=p.maintainCase||!1,D=p.custom&&typeof p.custom=="object"?p.custom:D,I=+p.truncate>1&&p.truncate||!1,P=p.uric||!1,F=p.uricNoSlash||!1,N=p.mark||!1,O=!(p.symbols===!1||p.lang===!1),y=p.separator||y,P&&(x+=u),F&&(x+=f),N&&(x+=c),K=p.lang&&s[p.lang]&&O?s[p.lang]:O?s.en:{},V=p.lang&&i[p.lang]?i[p.lang]:p.lang===!1||p.lang===!0?{}:i.en,p.titleCase&&typeof p.titleCase.length=="number"&&Array.prototype.toString.call(p.titleCase)?(p.titleCase.forEach(function(T){D[T+""]=T+""}),B=!0):B=!!p.titleCase,p.custom&&typeof p.custom.length=="number"&&Array.prototype.toString.call(p.custom)&&p.custom.forEach(function(T){D[T+""]=T+""}),Object.keys(D).forEach(function(T){var H;T.length>1?H=new RegExp("\\b"+h(T)+"\\b","gi"):H=new RegExp(h(T),"gi"),_=_.replace(H,D[T])});for($ in D)x+=$}for(x+=y,x=h(x),_=_.replace(/(^\s+|\s+$)/g,""),G=!1,ee=!1,W=0,z=_.length;W<z;W++)$=_[W],d($,D)?G=!1:V[$]?($=G&&V[$].match(/[A-Za-z0-9]/)?" "+V[$]:V[$],G=!1):$ in o?(W+1<z&&r.indexOf(_[W+1])>=0?(v+=$,$=""):ee===!0?($=l[v]+o[$],v=""):$=G&&o[$].match(/[A-Za-z0-9]/)?" "+o[$]:o[$],G=!1,ee=!1):$ in l?(v+=$,$="",W===z-1&&($=l[v]),ee=!0):K[$]&&!(P&&u.indexOf($)!==-1)&&!(F&&f.indexOf($)!==-1)?($=G||C.substr(-1).match(/[A-Za-z0-9]/)?y+K[$]:K[$],$+=_[W+1]!==void 0&&_[W+1].match(/[A-Za-z0-9]/)?y:"",G=!0):(ee===!0?($=l[v]+$,v="",ee=!1):G&&(/[A-Za-z0-9]/.test($)||C.substr(-1).match(/A-Za-z0-9]/))&&($=" "+$),G=!1),C+=$.replace(new RegExp("[^\\w\\s"+x+"_-]","g"),y);return B&&(C=C.replace(/(\w)(\S*)/g,function(T,H,re){var ae=H.toUpperCase()+(re!==null?re:"");return Object.keys(D).indexOf(ae.toLowerCase())<0?ae:ae.toLowerCase()})),C=C.replace(/\s+/g,y).replace(new RegExp("\\"+y+"+","g"),y).replace(new RegExp("(^\\"+y+"+|\\"+y+"+$)","g"),""),I&&C.length>I&&(J=C.charAt(I)===y,C=C.slice(0,I),J||(C=C.slice(0,C.lastIndexOf(y)))),!k&&!B&&(C=C.toLowerCase()),C},g=function(_){return function(y){return m(y,_)}},h=function(_){return _.replace(/[-\\^$*+?.()|[\]{}\/]/g,"\\$&")},d=function(b,_){for(var p in _)if(_[p]===b)return!0};if(typeof t<"u"&&t.exports)t.exports=m,t.exports.createSlug=g;else if(typeof define<"u"&&define.amd)define([],function(){return m});else try{if(n.getSlug||n.createSlug)throw"speakingurl: globals exists /(getSlug|createSlug)/";n.getSlug=m,n.createSlug=g}catch{}}(e)}}),n_=Ds({"../../node_modules/.pnpm/speakingurl@14.0.1/node_modules/speakingurl/index.js"(e,t){M(),t.exports=t_()}});M(),M(),M(),M(),M(),M(),M(),M();function o_(e){var t;const n=e.name||e._componentTag||e.__VUE_DEVTOOLS_COMPONENT_GUSSED_NAME__||e.__name;return n==="index"&&((t=e.__file)!=null&&t.endsWith("index.vue"))?"":n}function r_(e){const t=e.__file;if(t)return Fp(qp(t,".vue"))}function Is(e,t){return e.type.__VUE_DEVTOOLS_COMPONENT_GUSSED_NAME__=t,t}function Ea(e){if(e.__VUE_DEVTOOLS_NEXT_APP_RECORD__)return e.__VUE_DEVTOOLS_NEXT_APP_RECORD__;if(e.root)return e.appContext.app.__VUE_DEVTOOLS_NEXT_APP_RECORD__}function As(e){var t,n;const o=(t=e.subTree)==null?void 0:t.type,r=Ea(e);return r?((n=r==null?void 0:r.types)==null?void 0:n.Fragment)===o:!1}function Go(e){var t,n,o;const r=o_((e==null?void 0:e.type)||{});if(r)return r;if((e==null?void 0:e.root)===e)return"Root";for(const i in(n=(t=e.parent)==null?void 0:t.type)==null?void 0:n.components)if(e.parent.type.components[i]===(e==null?void 0:e.type))return Is(e,i);for(const i in(o=e.appContext)==null?void 0:o.components)if(e.appContext.components[i]===(e==null?void 0:e.type))return Is(e,i);const l=r_((e==null?void 0:e.type)||{});return l||"Anonymous Component"}function a_(e){var t,n,o;const r=(o=(n=(t=e==null?void 0:e.appContext)==null?void 0:t.app)==null?void 0:n.__VUE_DEVTOOLS_NEXT_APP_RECORD_ID__)!=null?o:0,l=e===(e==null?void 0:e.root)?"root":e.uid;return`${r}:${l}`}function Ca(e,t){return t=t||`${e.id}:root`,e.instanceMap.get(t)||e.instanceMap.get(":root")}function l_(){const e={top:0,bottom:0,left:0,right:0,get width(){return e.right-e.left},get height(){return e.bottom-e.top}};return e}var Qo;function i_(e){return Qo||(Qo=document.createRange()),Qo.selectNode(e),Qo.getBoundingClientRect()}function s_(e){const t=l_();if(!e.children)return t;for(let n=0,o=e.children.length;n<o;n++){const r=e.children[n];let l;if(r.component)l=sn(r.component);else if(r.el){const i=r.el;i.nodeType===1||i.getBoundingClientRect?l=i.getBoundingClientRect():i.nodeType===3&&i.data.trim()&&(l=i_(i))}l&&u_(t,l)}return t}function u_(e,t){return(!e.top||t.top<e.top)&&(e.top=t.top),(!e.bottom||t.bottom>e.bottom)&&(e.bottom=t.bottom),(!e.left||t.left<e.left)&&(e.left=t.left),(!e.right||t.right>e.right)&&(e.right=t.right),e}var Ps={top:0,left:0,right:0,bottom:0,width:0,height:0};function sn(e){const t=e.subTree.el;return typeof window>"u"?Ps:As(e)?s_(e.subTree):(t==null?void 0:t.nodeType)===1?t==null?void 0:t.getBoundingClientRect():e.subTree.component?sn(e.subTree.component):Ps}M();function Sa(e){return As(e)?c_(e.subTree):e.subTree?[e.subTree.el]:[]}function c_(e){if(!e.children)return[];const t=[];return e.children.forEach(n=>{n.component?t.push(...Sa(n.component)):n!=null&&n.el&&t.push(n.el)}),t}var Ls="__vue-devtools-component-inspector__",Vs="__vue-devtools-component-inspector__card__",Rs="__vue-devtools-component-inspector__name__",Bs="__vue-devtools-component-inspector__indicator__",Ms={display:"block",zIndex:2147483640,position:"fixed",backgroundColor:"#42b88325",border:"1px solid #42b88350",borderRadius:"5px",transition:"all 0.1s ease-in",pointerEvents:"none"},d_={fontFamily:"Arial, Helvetica, sans-serif",padding:"5px 8px",borderRadius:"4px",textAlign:"left",position:"absolute",left:0,color:"#e9e9e9",fontSize:"14px",fontWeight:600,lineHeight:"24px",backgroundColor:"#42b883",boxShadow:"0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1)"},f_={display:"inline-block",fontWeight:400,fontStyle:"normal",fontSize:"12px",opacity:.7};function On(){return document.getElementById(Ls)}function m_(){return document.getElementById(Vs)}function h_(){return document.getElementById(Bs)}function g_(){return document.getElementById(Rs)}function wa(e){return{left:`${Math.round(e.left*100)/100}px`,top:`${Math.round(e.top*100)/100}px`,width:`${Math.round(e.width*100)/100}px`,height:`${Math.round(e.height*100)/100}px`}}function ka(e){var t;const n=document.createElement("div");n.id=(t=e.elementId)!=null?t:Ls,Object.assign(n.style,{...Ms,...wa(e.bounds),...e.style});const o=document.createElement("span");o.id=Vs,Object.assign(o.style,{...d_,top:e.bounds.top<35?0:"-35px"});const r=document.createElement("span");r.id=Rs,r.innerHTML=`<${e.name}> `;const l=document.createElement("i");return l.id=Bs,l.innerHTML=`${Math.round(e.bounds.width*100)/100} x ${Math.round(e.bounds.height*100)/100}`,Object.assign(l.style,f_),o.appendChild(r),o.appendChild(l),n.appendChild(o),document.body.appendChild(n),n}function Ta(e){const t=On(),n=m_(),o=g_(),r=h_();t&&(Object.assign(t.style,{...Ms,...wa(e.bounds)}),Object.assign(n.style,{top:e.bounds.top<35?0:"-35px"}),o.innerHTML=`<${e.name}> `,r.innerHTML=`${Math.round(e.bounds.width*100)/100} x ${Math.round(e.bounds.height*100)/100}`)}function p_(e){const t=sn(e);if(!t.width&&!t.height)return;const n=Go(e);On()?Ta({bounds:t,name:n}):ka({bounds:t,name:n})}function Fs(){const e=On();e&&(e.style.display="none")}var Oa=null;function xa(e){const t=e.target;if(t){const n=t.__vueParentComponent;if(n&&(Oa=n,n.vnode.el)){const r=sn(n),l=Go(n);On()?Ta({bounds:r,name:l}):ka({bounds:r,name:l})}}}function __(e,t){if(e.preventDefault(),e.stopPropagation(),Oa){const n=a_(Oa);t(n)}}var Xo=null;function b_(){Fs(),window.removeEventListener("mouseover",xa),window.removeEventListener("click",Xo,!0),Xo=null}function y_(){return window.addEventListener("mouseover",xa),new Promise(e=>{function t(n){n.preventDefault(),n.stopPropagation(),__(n,o=>{window.removeEventListener("click",t,!0),Xo=null,window.removeEventListener("mouseover",xa);const r=On();r&&(r.style.display="none"),e(JSON.stringify({id:o}))})}Xo=t,window.addEventListener("click",t,!0)})}function v_(e){const t=Ca(st.value,e.id);if(t){const[n]=Sa(t);if(typeof n.scrollIntoView=="function")n.scrollIntoView({behavior:"smooth"});else{const o=sn(t),r=document.createElement("div"),l={...wa(o),position:"absolute"};Object.assign(r.style,l),document.body.appendChild(r),r.scrollIntoView({behavior:"smooth"}),setTimeout(()=>{document.body.removeChild(r)},2e3)}setTimeout(()=>{const o=sn(t);if(o.width||o.height){const r=Go(t),l=On();l?Ta({...e,name:r,bounds:o}):ka({...e,name:r,bounds:o}),setTimeout(()=>{l&&(l.style.display="none")},1500)}},1200)}}M();var qs,$s;($s=(qs=oe).__VUE_DEVTOOLS_COMPONENT_INSPECTOR_ENABLED__)!=null||(qs.__VUE_DEVTOOLS_COMPONENT_INSPECTOR_ENABLED__=!0);function E_(e){let t=0;const n=setInterval(()=>{oe.__VUE_INSPECTOR__&&(clearInterval(n),t+=30,e()),t>=5e3&&clearInterval(n)},30)}function C_(){const e=oe.__VUE_INSPECTOR__,t=e.openInEditor;e.openInEditor=async(...n)=>{e.disable(),t(...n)}}function S_(){return new Promise(e=>{function t(){C_(),e(oe.__VUE_INSPECTOR__)}oe.__VUE_INSPECTOR__?t():E_(()=>{t()})})}M(),M();function w_(e){return!!(e&&e.__v_isReadonly)}function Us(e){return w_(e)?Us(e.__v_raw):!!(e&&e.__v_isReactive)}function Na(e){return!!(e&&e.__v_isRef===!0)}function ao(e){const t=e&&e.__v_raw;return t?ao(t):e}var k_=class{constructor(){this.refEditor=new T_}set(e,t,n,o){const r=Array.isArray(t)?t:t.split(".");for(;r.length>1;){const s=r.shift();e instanceof Map&&(e=e.get(s)),e instanceof Set?e=Array.from(e.values())[s]:e=e[s],this.refEditor.isRef(e)&&(e=this.refEditor.get(e))}const l=r[0],i=this.refEditor.get(e)[l];o?o(e,l,n):this.refEditor.isRef(i)?this.refEditor.set(i,n):e[l]=n}get(e,t){const n=Array.isArray(t)?t:t.split(".");for(let o=0;o<n.length;o++)if(e instanceof Map?e=e.get(n[o]):e=e[n[o]],this.refEditor.isRef(e)&&(e=this.refEditor.get(e)),!e)return;return e}has(e,t,n=!1){if(typeof e>"u")return!1;const o=Array.isArray(t)?t.slice():t.split("."),r=n?2:1;for(;e&&o.length>r;){const l=o.shift();e=e[l],this.refEditor.isRef(e)&&(e=this.refEditor.get(e))}return e!=null&&Object.prototype.hasOwnProperty.call(e,o[0])}createDefaultSetCallback(e){return(t,n,o)=>{if((e.remove||e.newKey)&&(Array.isArray(t)?t.splice(n,1):ao(t)instanceof Map?t.delete(n):ao(t)instanceof Set?t.delete(Array.from(t.values())[n]):Reflect.deleteProperty(t,n)),!e.remove){const r=t[e.newKey||n];this.refEditor.isRef(r)?this.refEditor.set(r,o):ao(t)instanceof Map?t.set(e.newKey||n,o):ao(t)instanceof Set?t.add(o):t[e.newKey||n]=o}}}},T_=class{set(e,t){if(Na(e))e.value=t;else{if(e instanceof Set&&Array.isArray(t)){e.clear(),t.forEach(r=>e.add(r));return}const n=Object.keys(t);if(e instanceof Map){const r=new Set(e.keys());n.forEach(l=>{e.set(l,Reflect.get(t,l)),r.delete(l)}),r.forEach(l=>e.delete(l));return}const o=new Set(Object.keys(e));n.forEach(r=>{Reflect.set(e,r,Reflect.get(t,r)),o.delete(r)}),o.forEach(r=>Reflect.deleteProperty(e,r))}}get(e){return Na(e)?e.value:e}isRef(e){return Na(e)||Us(e)}};M(),M(),M();var O_="__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS_STATE__";function x_(){if(!ws||typeof localStorage>"u"||localStorage===null)return{recordingState:!1,mouseEventEnabled:!1,keyboardEventEnabled:!1,componentEventEnabled:!1,performanceEventEnabled:!1,selected:""};const e=localStorage.getItem(O_);return e?JSON.parse(e):{recordingState:!1,mouseEventEnabled:!1,keyboardEventEnabled:!1,componentEventEnabled:!1,performanceEventEnabled:!1,selected:""}}M(),M(),M();var Hs,zs;(zs=(Hs=oe).__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS)!=null||(Hs.__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS=[]);var N_=new Proxy(oe.__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS,{get(e,t,n){return Reflect.get(e,t,n)}});function D_(e,t){Ke.timelineLayersState[t.id]=!1,N_.push({...e,descriptorId:t.id,appRecord:Ea(t.app)})}var js,Ws;(Ws=(js=oe).__VUE_DEVTOOLS_KIT_INSPECTOR__)!=null||(js.__VUE_DEVTOOLS_KIT_INSPECTOR__=[]);var Da=new Proxy(oe.__VUE_DEVTOOLS_KIT_INSPECTOR__,{get(e,t,n){return Reflect.get(e,t,n)}}),Ks=Tn(()=>{Nn.hooks.callHook("sendInspectorToClient",Ys())});function I_(e,t){var n,o;Da.push({options:e,descriptor:t,treeFilterPlaceholder:(n=e.treeFilterPlaceholder)!=null?n:"Search tree...",stateFilterPlaceholder:(o=e.stateFilterPlaceholder)!=null?o:"Search state...",treeFilter:"",selectedNodeId:"",appRecord:Ea(t.app)}),Ks()}function Ys(){return Da.filter(e=>e.descriptor.app===st.value.app).filter(e=>e.descriptor.id!=="components").map(e=>{var t;const n=e.descriptor,o=e.options;return{id:o.id,label:o.label,logo:n.logo,icon:`custom-ic-baseline-${(t=o==null?void 0:o.icon)==null?void 0:t.replace(/_/g,"-")}`,packageName:n.packageName,homepage:n.homepage,pluginId:n.id}})}function Zo(e,t){return Da.find(n=>n.options.id===e&&(t?n.descriptor.app===t:!0))}function A_(){const e=xs();e.hook("addInspector",({inspector:o,plugin:r})=>{I_(o,r.descriptor)});const t=Tn(async({inspectorId:o,plugin:r})=>{var l;if(!o||!((l=r==null?void 0:r.descriptor)!=null&&l.app)||Ke.highPerfModeEnabled)return;const i=Zo(o,r.descriptor.app),s={app:r.descriptor.app,inspectorId:o,filter:(i==null?void 0:i.treeFilter)||"",rootNodes:[]};await new Promise(u=>{e.callHookWith(async f=>{await Promise.all(f.map(c=>c(s))),u()},"getInspectorTree")}),e.callHookWith(async u=>{await Promise.all(u.map(f=>f({inspectorId:o,rootNodes:s.rootNodes})))},"sendInspectorTreeToClient")},120);e.hook("sendInspectorTree",t);const n=Tn(async({inspectorId:o,plugin:r})=>{var l;if(!o||!((l=r==null?void 0:r.descriptor)!=null&&l.app)||Ke.highPerfModeEnabled)return;const i=Zo(o,r.descriptor.app),s={app:r.descriptor.app,inspectorId:o,nodeId:(i==null?void 0:i.selectedNodeId)||"",state:null},u={currentTab:`custom-inspector:${o}`};s.nodeId&&await new Promise(f=>{e.callHookWith(async c=>{await Promise.all(c.map(m=>m(s,u))),f()},"getInspectorState")}),e.callHookWith(async f=>{await Promise.all(f.map(c=>c({inspectorId:o,nodeId:s.nodeId,state:s.state})))},"sendInspectorStateToClient")},120);return e.hook("sendInspectorState",n),e.hook("customInspectorSelectNode",({inspectorId:o,nodeId:r,plugin:l})=>{const i=Zo(o,l.descriptor.app);i&&(i.selectedNodeId=r)}),e.hook("timelineLayerAdded",({options:o,plugin:r})=>{D_(o,r.descriptor)}),e.hook("timelineEventAdded",({options:o,plugin:r})=>{var l;const i=["performance","component-event","keyboard","mouse"];Ke.highPerfModeEnabled||!((l=Ke.timelineLayersState)!=null&&l[r.descriptor.id])&&!i.includes(o.layerId)||e.callHookWith(async s=>{await Promise.all(s.map(u=>u(o)))},"sendTimelineEventToClient")}),e.hook("getComponentInstances",async({app:o})=>{const r=o.__VUE_DEVTOOLS_NEXT_APP_RECORD__;if(!r)return null;const l=r.id.toString();return[...r.instanceMap].filter(([s])=>s.split(":")[0]===l).map(([,s])=>s)}),e.hook("getComponentBounds",async({instance:o})=>sn(o)),e.hook("getComponentName",({instance:o})=>Go(o)),e.hook("componentHighlight",({uid:o})=>{const r=st.value.instanceMap.get(o);r&&p_(r)}),e.hook("componentUnhighlight",()=>{Fs()}),e}var Gs,Qs;(Qs=(Gs=oe).__VUE_DEVTOOLS_KIT_APP_RECORDS__)!=null||(Gs.__VUE_DEVTOOLS_KIT_APP_RECORDS__=[]);var Xs,Zs;(Zs=(Xs=oe).__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__)!=null||(Xs.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__={});var Js,eu;(eu=(Js=oe).__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__)!=null||(Js.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__="");var tu,nu;(nu=(tu=oe).__VUE_DEVTOOLS_KIT_CUSTOM_TABS__)!=null||(tu.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__=[]);var ou,ru;(ru=(ou=oe).__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__)!=null||(ou.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__=[]);var un="__VUE_DEVTOOLS_KIT_GLOBAL_STATE__";function P_(){return{connected:!1,clientConnected:!1,vitePluginDetected:!0,appRecords:[],activeAppRecordId:"",tabs:[],commands:[],highPerfModeEnabled:!0,devtoolsClientDetected:{},perfUniqueGroupId:0,timelineLayersState:x_()}}var au,lu;(lu=(au=oe)[un])!=null||(au[un]=P_());var L_=Tn(e=>{Nn.hooks.callHook("devtoolsStateUpdated",{state:e})});Tn((e,t)=>{Nn.hooks.callHook("devtoolsConnectedUpdated",{state:e,oldState:t})});var Jo=new Proxy(oe.__VUE_DEVTOOLS_KIT_APP_RECORDS__,{get(e,t,n){return t==="value"?oe.__VUE_DEVTOOLS_KIT_APP_RECORDS__:oe.__VUE_DEVTOOLS_KIT_APP_RECORDS__[t]}}),st=new Proxy(oe.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__,{get(e,t,n){return t==="value"?oe.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__:t==="id"?oe.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__:oe.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__[t]}});function iu(){L_({...oe[un],appRecords:Jo.value,activeAppRecordId:st.id,tabs:oe.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__,commands:oe.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__})}function V_(e){oe.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__=e,iu()}function R_(e){oe.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__=e,iu()}var Ke=new Proxy(oe[un],{get(e,t){return t==="appRecords"?Jo:t==="activeAppRecordId"?st.id:t==="tabs"?oe.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__:t==="commands"?oe.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__:oe[un][t]},deleteProperty(e,t){return delete e[t],!0},set(e,t,n){return{...oe[un]},e[t]=n,oe[un][t]=n,!0}});function B_(e={}){var t,n,o;const{file:r,host:l,baseUrl:i=window.location.origin,line:s=0,column:u=0}=e;if(r){if(l==="chrome-extension"){const f=r.replace(/\\/g,"\\\\"),c=(n=(t=window.VUE_DEVTOOLS_CONFIG)==null?void 0:t.openInEditorHost)!=null?n:"/";fetch(`${c}__open-in-editor?file=${encodeURI(r)}`).then(m=>{if(!m.ok){const g=`Opening component ${f} failed`;console.log(`%c${g}`,"color:red")}})}else if(Ke.vitePluginDetected){const f=(o=oe.__VUE_DEVTOOLS_OPEN_IN_EDITOR_BASE_URL__)!=null?o:i;oe.__VUE_INSPECTOR__.openInEditor(f,r,s,u)}}}M(),M(),M(),M(),M();var su,uu;(uu=(su=oe).__VUE_DEVTOOLS_KIT_PLUGIN_BUFFER__)!=null||(su.__VUE_DEVTOOLS_KIT_PLUGIN_BUFFER__=[]);var Ia=new Proxy(oe.__VUE_DEVTOOLS_KIT_PLUGIN_BUFFER__,{get(e,t,n){return Reflect.get(e,t,n)}});function Aa(e){const t={};return Object.keys(e).forEach(n=>{t[n]=e[n].defaultValue}),t}function Pa(e){return`__VUE_DEVTOOLS_NEXT_PLUGIN_SETTINGS__${e}__`}function M_(e){var t,n,o;const r=(n=(t=Ia.find(l=>{var i;return l[0].id===e&&!!((i=l[0])!=null&&i.settings)}))==null?void 0:t[0])!=null?n:null;return(o=r==null?void 0:r.settings)!=null?o:null}function cu(e,t){var n,o,r;const l=Pa(e);if(l){const i=localStorage.getItem(l);if(i)return JSON.parse(i)}if(e){const i=(o=(n=Ia.find(s=>s[0].id===e))==null?void 0:n[0])!=null?o:null;return Aa((r=i==null?void 0:i.settings)!=null?r:{})}return Aa(t)}function F_(e,t){const n=Pa(e);localStorage.getItem(n)||localStorage.setItem(n,JSON.stringify(Aa(t)))}function q_(e,t,n){const o=Pa(e),r=localStorage.getItem(o),l=JSON.parse(r||"{}"),i={...l,[t]:n};localStorage.setItem(o,JSON.stringify(i)),Nn.hooks.callHookWith(s=>{s.forEach(u=>u({pluginId:e,key:t,oldValue:l[t],newValue:n,settings:i}))},"setPluginSettings")}M(),M(),M(),M(),M(),M(),M(),M(),M(),M(),M();var du,fu,pt=(fu=(du=oe).__VUE_DEVTOOLS_HOOK)!=null?fu:du.__VUE_DEVTOOLS_HOOK=xs(),$_={vueAppInit(e){pt.hook("app:init",e)},vueAppUnmount(e){pt.hook("app:unmount",e)},vueAppConnected(e){pt.hook("app:connected",e)},componentAdded(e){return pt.hook("component:added",e)},componentEmit(e){return pt.hook("component:emit",e)},componentUpdated(e){return pt.hook("component:updated",e)},componentRemoved(e){return pt.hook("component:removed",e)},setupDevtoolsPlugin(e){pt.hook("devtools-plugin:setup",e)},perfStart(e){return pt.hook("perf:start",e)},perfEnd(e){return pt.hook("perf:end",e)}},mu={on:$_,setupDevToolsPlugin(e,t){return pt.callHook("devtools-plugin:setup",e,t)}},U_=class{constructor({plugin:e,ctx:t}){this.hooks=t.hooks,this.plugin=e}get on(){return{visitComponentTree:e=>{this.hooks.hook("visitComponentTree",e)},inspectComponent:e=>{this.hooks.hook("inspectComponent",e)},editComponentState:e=>{this.hooks.hook("editComponentState",e)},getInspectorTree:e=>{this.hooks.hook("getInspectorTree",e)},getInspectorState:e=>{this.hooks.hook("getInspectorState",e)},editInspectorState:e=>{this.hooks.hook("editInspectorState",e)},inspectTimelineEvent:e=>{this.hooks.hook("inspectTimelineEvent",e)},timelineCleared:e=>{this.hooks.hook("timelineCleared",e)},setPluginSettings:e=>{this.hooks.hook("setPluginSettings",e)}}}notifyComponentUpdate(e){var t;if(Ke.highPerfModeEnabled)return;const n=Ys().find(o=>o.packageName===this.plugin.descriptor.packageName);if(n!=null&&n.id){if(e){const o=[e.appContext.app,e.uid,(t=e.parent)==null?void 0:t.uid,e];pt.callHook("component:updated",...o)}else pt.callHook("component:updated");this.hooks.callHook("sendInspectorState",{inspectorId:n.id,plugin:this.plugin})}}addInspector(e){this.hooks.callHook("addInspector",{inspector:e,plugin:this.plugin}),this.plugin.descriptor.settings&&F_(e.id,this.plugin.descriptor.settings)}sendInspectorTree(e){Ke.highPerfModeEnabled||this.hooks.callHook("sendInspectorTree",{inspectorId:e,plugin:this.plugin})}sendInspectorState(e){Ke.highPerfModeEnabled||this.hooks.callHook("sendInspectorState",{inspectorId:e,plugin:this.plugin})}selectInspectorNode(e,t){this.hooks.callHook("customInspectorSelectNode",{inspectorId:e,nodeId:t,plugin:this.plugin})}visitComponentTree(e){return this.hooks.callHook("visitComponentTree",e)}now(){return Ke.highPerfModeEnabled?0:Date.now()}addTimelineLayer(e){this.hooks.callHook("timelineLayerAdded",{options:e,plugin:this.plugin})}addTimelineEvent(e){Ke.highPerfModeEnabled||this.hooks.callHook("timelineEventAdded",{options:e,plugin:this.plugin})}getSettings(e){return cu(e??this.plugin.descriptor.id,this.plugin.descriptor.settings)}getComponentInstances(e){return this.hooks.callHook("getComponentInstances",{app:e})}getComponentBounds(e){return this.hooks.callHook("getComponentBounds",{instance:e})}getComponentName(e){return this.hooks.callHook("getComponentName",{instance:e})}highlightElement(e){const t=e.__VUE_DEVTOOLS_NEXT_UID__;return this.hooks.callHook("componentHighlight",{uid:t})}unhighlightElement(){return this.hooks.callHook("componentUnhighlight")}},H_=U_;M(),M(),M(),M();var z_="__vue_devtool_undefined__",j_="__vue_devtool_infinity__",W_="__vue_devtool_negative_infinity__",K_="__vue_devtool_nan__";M(),M();var Y_={[z_]:"undefined",[K_]:"NaN",[j_]:"Infinity",[W_]:"-Infinity"};Object.entries(Y_).reduce((e,[t,n])=>(e[n]=t,e),{}),M(),M(),M(),M(),M();var hu,gu;(gu=(hu=oe).__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__)!=null||(hu.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__=new Set);function pu(e,t){return mu.setupDevToolsPlugin(e,t)}function G_(e,t){const[n,o]=e;if(n.app!==t)return;const r=new H_({plugin:{setupFn:o,descriptor:n},ctx:Nn});n.packageName==="vuex"&&r.on.editInspectorState(l=>{r.sendInspectorState(l.inspectorId)}),o(r)}function _u(e,t){oe.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__.has(e)||Ke.highPerfModeEnabled&&!(t!=null&&t.inspectingComponent)||(oe.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__.add(e),Ia.forEach(n=>{G_(n,e)}))}M(),M();var lo="__VUE_DEVTOOLS_ROUTER__",xn="__VUE_DEVTOOLS_ROUTER_INFO__",bu,yu;(yu=(bu=oe)[xn])!=null||(bu[xn]={currentRoute:null,routes:[]});var vu,Eu;(Eu=(vu=oe)[lo])!=null||(vu[lo]={}),new Proxy(oe[xn],{get(e,t){return oe[xn][t]}}),new Proxy(oe[lo],{get(e,t){if(t==="value")return oe[lo]}});function Q_(e){const t=new Map;return((e==null?void 0:e.getRoutes())||[]).filter(n=>!t.has(n.path)&&t.set(n.path,1))}function La(e){return e.map(t=>{let{path:n,name:o,children:r,meta:l}=t;return r!=null&&r.length&&(r=La(r)),{path:n,name:o,children:r,meta:l}})}function X_(e){if(e){const{fullPath:t,hash:n,href:o,path:r,name:l,matched:i,params:s,query:u}=e;return{fullPath:t,hash:n,href:o,path:r,name:l,params:s,query:u,matched:La(i)}}return e}function Z_(e,t){function n(){var o;const r=(o=e.app)==null?void 0:o.config.globalProperties.$router,l=X_(r==null?void 0:r.currentRoute.value),i=La(Q_(r)),s=console.warn;console.warn=()=>{},oe[xn]={currentRoute:l?Ts(l):{},routes:Ts(i)},oe[lo]=r,console.warn=s}n(),mu.on.componentUpdated(Tn(()=>{var o;((o=t.value)==null?void 0:o.app)===e.app&&(n(),!Ke.highPerfModeEnabled&&Nn.hooks.callHook("routerInfoUpdated",{state:oe[xn]}))},200))}function J_(e){return{async getInspectorTree(t){const n={...t,app:st.value.app,rootNodes:[]};return await new Promise(o=>{e.callHookWith(async r=>{await Promise.all(r.map(l=>l(n))),o()},"getInspectorTree")}),n.rootNodes},async getInspectorState(t){const n={...t,app:st.value.app,state:null},o={currentTab:`custom-inspector:${t.inspectorId}`};return await new Promise(r=>{e.callHookWith(async l=>{await Promise.all(l.map(i=>i(n,o))),r()},"getInspectorState")}),n.state},editInspectorState(t){const n=new k_,o={...t,app:st.value.app,set:(r,l=t.path,i=t.state.value,s)=>{n.set(r,l,i,s||n.createDefaultSetCallback(t.state))}};e.callHookWith(r=>{r.forEach(l=>l(o))},"editInspectorState")},sendInspectorState(t){const n=Zo(t);e.callHook("sendInspectorState",{inspectorId:t,plugin:{descriptor:n.descriptor,setupFn:()=>({})}})},inspectComponentInspector(){return y_()},cancelInspectComponentInspector(){return b_()},getComponentRenderCode(t){const n=Ca(st.value,t);if(n)return(n==null?void 0:n.type)instanceof Function?n.type.toString():n.render.toString()},scrollToComponent(t){return v_({id:t})},openInEditor:B_,getVueInspector:S_,toggleApp(t,n){const o=Jo.value.find(r=>r.id===t);o&&(R_(t),V_(o),Z_(o,st),Ks(),_u(o.app,n))},inspectDOM(t){const n=Ca(st.value,t);if(n){const[o]=Sa(n);o&&(oe.__VUE_DEVTOOLS_INSPECT_DOM_TARGET__=o)}},updatePluginSettings(t,n,o){q_(t,n,o)},getPluginSettings(t){return{options:M_(t),values:cu(t)}}}}M();var Cu,Su;(Su=(Cu=oe).__VUE_DEVTOOLS_ENV__)!=null||(Cu.__VUE_DEVTOOLS_ENV__={vitePluginDetected:!1});var wu=A_(),ku,Tu;(Tu=(ku=oe).__VUE_DEVTOOLS_KIT_CONTEXT__)!=null||(ku.__VUE_DEVTOOLS_KIT_CONTEXT__={hooks:wu,get state(){return{...Ke,activeAppRecordId:st.id,activeAppRecord:st.value,appRecords:Jo.value}},api:J_(wu)});var Nn=oe.__VUE_DEVTOOLS_KIT_CONTEXT__;M(),e_(n_());var Ou,xu;(xu=(Ou=oe).__VUE_DEVTOOLS_NEXT_APP_RECORD_INFO__)!=null||(Ou.__VUE_DEVTOOLS_NEXT_APP_RECORD_INFO__={id:0,appIds:new Set}),M();function eb(e){Ke.highPerfModeEnabled=e??!Ke.highPerfModeEnabled,!e&&st.value&&_u(st.value.app)}M(),M(),M();function tb(e){Ke.devtoolsClientDetected={...Ke.devtoolsClientDetected,...e};const t=Object.values(Ke.devtoolsClientDetected).some(Boolean);eb(!t)}var Nu,Du;(Du=(Nu=oe).__VUE_DEVTOOLS_UPDATE_CLIENT_DETECTED__)!=null||(Nu.__VUE_DEVTOOLS_UPDATE_CLIENT_DETECTED__=tb),M(),M(),M(),M(),M(),M(),M();var nb=class{constructor(){this.keyToValue=new Map,this.valueToKey=new Map}set(e,t){this.keyToValue.set(e,t),this.valueToKey.set(t,e)}getByKey(e){return this.keyToValue.get(e)}getByValue(e){return this.valueToKey.get(e)}clear(){this.keyToValue.clear(),this.valueToKey.clear()}},Iu=class{constructor(e){this.generateIdentifier=e,this.kv=new nb}register(e,t){this.kv.getByValue(e)||(t||(t=this.generateIdentifier(e)),this.kv.set(t,e))}clear(){this.kv.clear()}getIdentifier(e){return this.kv.getByValue(e)}getValue(e){return this.kv.getByKey(e)}},ob=class extends Iu{constructor(){super(e=>e.name),this.classToAllowedProps=new Map}register(e,t){typeof t=="object"?(t.allowProps&&this.classToAllowedProps.set(e,t.allowProps),super.register(e,t.identifier)):super.register(e,t)}getAllowedProps(e){return this.classToAllowedProps.get(e)}};M(),M();function rb(e){if("values"in Object)return Object.values(e);const t=[];for(const n in e)e.hasOwnProperty(n)&&t.push(e[n]);return t}function ab(e,t){const n=rb(e);if("find"in n)return n.find(t);const o=n;for(let r=0;r<o.length;r++){const l=o[r];if(t(l))return l}}function Dn(e,t){Object.entries(e).forEach(([n,o])=>t(o,n))}function er(e,t){return e.indexOf(t)!==-1}function Au(e,t){for(let n=0;n<e.length;n++){const o=e[n];if(t(o))return o}}var lb=class{constructor(){this.transfomers={}}register(e){this.transfomers[e.name]=e}findApplicable(e){return ab(this.transfomers,t=>t.isApplicable(e))}findByName(e){return this.transfomers[e]}};M(),M();var ib=e=>Object.prototype.toString.call(e).slice(8,-1),Pu=e=>typeof e>"u",sb=e=>e===null,io=e=>typeof e!="object"||e===null||e===Object.prototype?!1:Object.getPrototypeOf(e)===null?!0:Object.getPrototypeOf(e)===Object.prototype,Va=e=>io(e)&&Object.keys(e).length===0,Kt=e=>Array.isArray(e),ub=e=>typeof e=="string",cb=e=>typeof e=="number"&&!isNaN(e),db=e=>typeof e=="boolean",fb=e=>e instanceof RegExp,so=e=>e instanceof Map,uo=e=>e instanceof Set,Lu=e=>ib(e)==="Symbol",mb=e=>e instanceof Date&&!isNaN(e.valueOf()),hb=e=>e instanceof Error,Vu=e=>typeof e=="number"&&isNaN(e),gb=e=>db(e)||sb(e)||Pu(e)||cb(e)||ub(e)||Lu(e),pb=e=>typeof e=="bigint",_b=e=>e===1/0||e===-1/0,bb=e=>ArrayBuffer.isView(e)&&!(e instanceof DataView),yb=e=>e instanceof URL;M();var Ru=e=>e.replace(/\./g,"\\."),Ra=e=>e.map(String).map(Ru).join("."),co=e=>{const t=[];let n="";for(let r=0;r<e.length;r++){let l=e.charAt(r);if(l==="\\"&&e.charAt(r+1)==="."){n+=".",r++;continue}if(l==="."){t.push(n),n="";continue}n+=l}const o=n;return t.push(o),t};M();function Lt(e,t,n,o){return{isApplicable:e,annotation:t,transform:n,untransform:o}}var Bu=[Lt(Pu,"undefined",()=>null,()=>{}),Lt(pb,"bigint",e=>e.toString(),e=>typeof BigInt<"u"?BigInt(e):(console.error("Please add a BigInt polyfill."),e)),Lt(mb,"Date",e=>e.toISOString(),e=>new Date(e)),Lt(hb,"Error",(e,t)=>{const n={name:e.name,message:e.message};return t.allowedErrorProps.forEach(o=>{n[o]=e[o]}),n},(e,t)=>{const n=new Error(e.message);return n.name=e.name,n.stack=e.stack,t.allowedErrorProps.forEach(o=>{n[o]=e[o]}),n}),Lt(fb,"regexp",e=>""+e,e=>{const t=e.slice(1,e.lastIndexOf("/")),n=e.slice(e.lastIndexOf("/")+1);return new RegExp(t,n)}),Lt(uo,"set",e=>[...e.values()],e=>new Set(e)),Lt(so,"map",e=>[...e.entries()],e=>new Map(e)),Lt(e=>Vu(e)||_b(e),"number",e=>Vu(e)?"NaN":e>0?"Infinity":"-Infinity",Number),Lt(e=>e===0&&1/e===-1/0,"number",()=>"-0",Number),Lt(yb,"URL",e=>e.toString(),e=>new URL(e))];function tr(e,t,n,o){return{isApplicable:e,annotation:t,transform:n,untransform:o}}var Mu=tr((e,t)=>Lu(e)?!!t.symbolRegistry.getIdentifier(e):!1,(e,t)=>["symbol",t.symbolRegistry.getIdentifier(e)],e=>e.description,(e,t,n)=>{const o=n.symbolRegistry.getValue(t[1]);if(!o)throw new Error("Trying to deserialize unknown symbol");return o}),vb=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array,Uint8ClampedArray].reduce((e,t)=>(e[t.name]=t,e),{}),Fu=tr(bb,e=>["typed-array",e.constructor.name],e=>[...e],(e,t)=>{const n=vb[t[1]];if(!n)throw new Error("Trying to deserialize unknown typed array");return new n(e)});function qu(e,t){return e!=null&&e.constructor?!!t.classRegistry.getIdentifier(e.constructor):!1}var $u=tr(qu,(e,t)=>["class",t.classRegistry.getIdentifier(e.constructor)],(e,t)=>{const n=t.classRegistry.getAllowedProps(e.constructor);if(!n)return{...e};const o={};return n.forEach(r=>{o[r]=e[r]}),o},(e,t,n)=>{const o=n.classRegistry.getValue(t[1]);if(!o)throw new Error(`Trying to deserialize unknown class '${t[1]}' - check https://github.com/blitz-js/superjson/issues/116#issuecomment-773996564`);return Object.assign(Object.create(o.prototype),e)}),Uu=tr((e,t)=>!!t.customTransformerRegistry.findApplicable(e),(e,t)=>["custom",t.customTransformerRegistry.findApplicable(e).name],(e,t)=>t.customTransformerRegistry.findApplicable(e).serialize(e),(e,t,n)=>{const o=n.customTransformerRegistry.findByName(t[1]);if(!o)throw new Error("Trying to deserialize unknown custom value");return o.deserialize(e)}),Eb=[$u,Mu,Uu,Fu],Hu=(e,t)=>{const n=Au(Eb,r=>r.isApplicable(e,t));if(n)return{value:n.transform(e,t),type:n.annotation(e,t)};const o=Au(Bu,r=>r.isApplicable(e,t));if(o)return{value:o.transform(e,t),type:o.annotation}},zu={};Bu.forEach(e=>{zu[e.annotation]=e});var Cb=(e,t,n)=>{if(Kt(t))switch(t[0]){case"symbol":return Mu.untransform(e,t,n);case"class":return $u.untransform(e,t,n);case"custom":return Uu.untransform(e,t,n);case"typed-array":return Fu.untransform(e,t,n);default:throw new Error("Unknown transformation: "+t)}else{const o=zu[t];if(!o)throw new Error("Unknown transformation: "+t);return o.untransform(e,n)}};M();var In=(e,t)=>{if(t>e.size)throw new Error("index out of bounds");const n=e.keys();for(;t>0;)n.next(),t--;return n.next().value};function ju(e){if(er(e,"__proto__"))throw new Error("__proto__ is not allowed as a property");if(er(e,"prototype"))throw new Error("prototype is not allowed as a property");if(er(e,"constructor"))throw new Error("constructor is not allowed as a property")}var Sb=(e,t)=>{ju(t);for(let n=0;n<t.length;n++){const o=t[n];if(uo(e))e=In(e,+o);else if(so(e)){const r=+o,l=+t[++n]==0?"key":"value",i=In(e,r);switch(l){case"key":e=i;break;case"value":e=e.get(i);break}}else e=e[o]}return e},Ba=(e,t,n)=>{if(ju(t),t.length===0)return n(e);let o=e;for(let l=0;l<t.length-1;l++){const i=t[l];if(Kt(o)){const s=+i;o=o[s]}else if(io(o))o=o[i];else if(uo(o)){const s=+i;o=In(o,s)}else if(so(o)){if(l===t.length-2)break;const u=+i,f=+t[++l]==0?"key":"value",c=In(o,u);switch(f){case"key":o=c;break;case"value":o=o.get(c);break}}}const r=t[t.length-1];if(Kt(o)?o[+r]=n(o[+r]):io(o)&&(o[r]=n(o[r])),uo(o)){const l=In(o,+r),i=n(l);l!==i&&(o.delete(l),o.add(i))}if(so(o)){const l=+t[t.length-2],i=In(o,l);switch(+r==0?"key":"value"){case"key":{const u=n(i);o.set(u,o.get(i)),u!==i&&o.delete(i);break}case"value":{o.set(i,n(o.get(i)));break}}}return e};function Ma(e,t,n=[]){if(!e)return;if(!Kt(e)){Dn(e,(l,i)=>Ma(l,t,[...n,...co(i)]));return}const[o,r]=e;r&&Dn(r,(l,i)=>{Ma(l,t,[...n,...co(i)])}),t(o,n)}function wb(e,t,n){return Ma(t,(o,r)=>{e=Ba(e,r,l=>Cb(l,o,n))}),e}function kb(e,t){function n(o,r){const l=Sb(e,co(r));o.map(co).forEach(i=>{e=Ba(e,i,()=>l)})}if(Kt(t)){const[o,r]=t;o.forEach(l=>{e=Ba(e,co(l),()=>e)}),r&&Dn(r,n)}else Dn(t,n);return e}var Tb=(e,t)=>io(e)||Kt(e)||so(e)||uo(e)||qu(e,t);function Ob(e,t,n){const o=n.get(e);o?o.push(t):n.set(e,[t])}function xb(e,t){const n={};let o;return e.forEach(r=>{if(r.length<=1)return;t||(r=r.map(s=>s.map(String)).sort((s,u)=>s.length-u.length));const[l,...i]=r;l.length===0?o=i.map(Ra):n[Ra(l)]=i.map(Ra)}),o?Va(n)?[o]:[o,n]:Va(n)?void 0:n}var Wu=(e,t,n,o,r=[],l=[],i=new Map)=>{var s;const u=gb(e);if(!u){Ob(e,r,t);const d=i.get(e);if(d)return o?{transformedValue:null}:d}if(!Tb(e,n)){const d=Hu(e,n),b=d?{transformedValue:d.value,annotations:[d.type]}:{transformedValue:e};return u||i.set(e,b),b}if(er(l,e))return{transformedValue:null};const f=Hu(e,n),c=(s=f==null?void 0:f.value)!=null?s:e,m=Kt(c)?[]:{},g={};Dn(c,(d,b)=>{if(b==="__proto__"||b==="constructor"||b==="prototype")throw new Error(`Detected property ${b}. This is a prototype pollution risk, please remove it from your object.`);const _=Wu(d,t,n,o,[...r,b],[...l,e],i);m[b]=_.transformedValue,Kt(_.annotations)?g[b]=_.annotations:io(_.annotations)&&Dn(_.annotations,(p,y)=>{g[Ru(b)+"."+y]=p})});const h=Va(g)?{transformedValue:m,annotations:f?[f.type]:void 0}:{transformedValue:m,annotations:f?[f.type,g]:g};return u||i.set(e,h),h};M(),M();function Ku(e){return Object.prototype.toString.call(e).slice(8,-1)}function Yu(e){return Ku(e)==="Array"}function Nb(e){if(Ku(e)!=="Object")return!1;const t=Object.getPrototypeOf(e);return!!t&&t.constructor===Object&&t===Object.prototype}function Db(e,t,n,o,r){const l={}.propertyIsEnumerable.call(o,t)?"enumerable":"nonenumerable";l==="enumerable"&&(e[t]=n),r&&l==="nonenumerable"&&Object.defineProperty(e,t,{value:n,enumerable:!1,writable:!0,configurable:!0})}function Fa(e,t={}){if(Yu(e))return e.map(r=>Fa(r,t));if(!Nb(e))return e;const n=Object.getOwnPropertyNames(e),o=Object.getOwnPropertySymbols(e);return[...n,...o].reduce((r,l)=>{if(Yu(t.props)&&!t.props.includes(l))return r;const i=e[l],s=Fa(i,t);return Db(r,l,s,e,t.nonenumerable),r},{})}var Te=class{constructor({dedupe:e=!1}={}){this.classRegistry=new ob,this.symbolRegistry=new Iu(t=>{var n;return(n=t.description)!=null?n:""}),this.customTransformerRegistry=new lb,this.allowedErrorProps=[],this.dedupe=e}serialize(e){const t=new Map,n=Wu(e,t,this,this.dedupe),o={json:n.transformedValue};n.annotations&&(o.meta={...o.meta,values:n.annotations});const r=xb(t,this.dedupe);return r&&(o.meta={...o.meta,referentialEqualities:r}),o}deserialize(e){const{json:t,meta:n}=e;let o=Fa(t);return n!=null&&n.values&&(o=wb(o,n.values,this)),n!=null&&n.referentialEqualities&&(o=kb(o,n.referentialEqualities)),o}stringify(e){return JSON.stringify(this.serialize(e))}parse(e){return this.deserialize(JSON.parse(e))}registerClass(e,t){this.classRegistry.register(e,t)}registerSymbol(e,t){this.symbolRegistry.register(e,t)}registerCustom(e,t){this.customTransformerRegistry.register({name:t,...e})}allowErrorProps(...e){this.allowedErrorProps.push(...e)}};Te.defaultInstance=new Te,Te.serialize=Te.defaultInstance.serialize.bind(Te.defaultInstance),Te.deserialize=Te.defaultInstance.deserialize.bind(Te.defaultInstance),Te.stringify=Te.defaultInstance.stringify.bind(Te.defaultInstance),Te.parse=Te.defaultInstance.parse.bind(Te.defaultInstance),Te.registerClass=Te.defaultInstance.registerClass.bind(Te.defaultInstance),Te.registerSymbol=Te.defaultInstance.registerSymbol.bind(Te.defaultInstance),Te.registerCustom=Te.defaultInstance.registerCustom.bind(Te.defaultInstance),Te.allowErrorProps=Te.defaultInstance.allowErrorProps.bind(Te.defaultInstance),M(),M(),M(),M(),M(),M(),M(),M(),M(),M(),M(),M(),M(),M(),M(),M(),M(),M(),M(),M(),M(),M(),M();var Gu,Qu;(Qu=(Gu=oe).__VUE_DEVTOOLS_KIT_MESSAGE_CHANNELS__)!=null||(Gu.__VUE_DEVTOOLS_KIT_MESSAGE_CHANNELS__=[]);var Xu,Zu;(Zu=(Xu=oe).__VUE_DEVTOOLS_KIT_RPC_CLIENT__)!=null||(Xu.__VUE_DEVTOOLS_KIT_RPC_CLIENT__=null);var Ju,ec;(ec=(Ju=oe).__VUE_DEVTOOLS_KIT_RPC_SERVER__)!=null||(Ju.__VUE_DEVTOOLS_KIT_RPC_SERVER__=null);var tc,nc;(nc=(tc=oe).__VUE_DEVTOOLS_KIT_VITE_RPC_CLIENT__)!=null||(tc.__VUE_DEVTOOLS_KIT_VITE_RPC_CLIENT__=null);var oc,rc;(rc=(oc=oe).__VUE_DEVTOOLS_KIT_VITE_RPC_SERVER__)!=null||(oc.__VUE_DEVTOOLS_KIT_VITE_RPC_SERVER__=null);var ac,lc;(lc=(ac=oe).__VUE_DEVTOOLS_KIT_BROADCAST_RPC_SERVER__)!=null||(ac.__VUE_DEVTOOLS_KIT_BROADCAST_RPC_SERVER__=null),M(),M(),M(),M(),M(),M(),M();/*!
|
|
1
|
+
(function($e,a){typeof exports=="object"&&typeof module<"u"?a(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],a):($e=typeof globalThis<"u"?globalThis:$e||self,a($e.QuasarFactoryLib={},$e.Vue))})(this,function($e,a){"use strict";function gt(e,t,n,o){return Object.defineProperty(e,t,{get:n,set:o,enumerable:!0}),e}function xd(e,t){for(const n in t)gt(e,n,t[n]);return e}const Ht=a.ref(!1);let vr;function Nd(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 Dd(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 wl="ontouchstart"in window||window.navigator.maxTouchPoints>0;function Id(e){const t=e.toLowerCase(),n=Dd(t),o=Nd(t,n),r={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&&(r[o.browser]=!0,r.version=o.version,r.versionNumber=parseInt(o.version,10)),o.platform&&(r[o.platform]=!0);const l=r.android||r.ios||r.bb||r.blackberry||r.ipad||r.iphone||r.ipod||r.kindle||r.playbook||r.silk||r["windows phone"];if(l===!0||t.indexOf("mobile")!==-1?r.mobile=!0:r.desktop=!0,r["windows phone"]&&(r.winphone=!0,delete r["windows phone"]),r.edga||r.edgios||r.edg?(r.edge=!0,o.browser="edge"):r.crios?(r.chrome=!0,o.browser="chrome"):r.fxios&&(r.firefox=!0,o.browser="firefox"),(r.ipod||r.ipad||r.iphone)&&(r.ios=!0),r.vivaldi&&(o.browser="vivaldi",r.vivaldi=!0),(r.chrome||r.opr||r.safari||r.vivaldi||r.mobile===!0&&r.ios!==!0&&l!==!0)&&(r.webkit=!0),r.opr&&(o.browser="opera",r.opera=!0),r.safari&&(r.blackberry||r.bb?(o.browser="blackberry",r.blackberry=!0):r.playbook?(o.browser="playbook",r.playbook=!0):r.android?(o.browser="android",r.android=!0):r.kindle?(o.browser="kindle",r.kindle=!0):r.silk&&(o.browser="silk",r.silk=!0)),r.name=o.browser,r.platform=o.platform,t.indexOf("electron")!==-1)r.electron=!0;else if(document.location.href.indexOf("-extension://")!==-1)r.bex=!0;else{if(window.Capacitor!==void 0?(r.capacitor=!0,r.nativeMobile=!0,r.nativeMobileWrapper="capacitor"):(window._cordovaNative!==void 0||window.cordova!==void 0)&&(r.cordova=!0,r.nativeMobile=!0,r.nativeMobileWrapper="cordova"),Ht.value===!0&&(vr={is:{...r}}),wl===!0&&r.mac===!0&&(r.desktop===!0&&r.safari===!0||r.nativeMobile===!0&&r.android!==!0&&r.ios!==!0&&r.ipad!==!0)){delete r.mac,delete r.desktop;const i=Math.min(window.innerHeight,window.innerWidth)>414?"ipad":"iphone";Object.assign(r,{mobile:!0,ios:!0,platform:i,[i]:!0})}r.mobile!==!0&&window.navigator.userAgentData&&window.navigator.userAgentData.mobile&&(delete r.desktop,r.mobile=!0)}return r}const kl=navigator.userAgent||navigator.vendor||window.opera,Ad={has:{touch:!1,webStorage:!1},within:{iframe:!1}},Ue={userAgent:kl,is:Id(kl),has:{touch:wl},within:{iframe:window.self!==window.top}},Co={install(e){const{$q:t}=e;Ht.value===!0?(e.onSSRHydrated.push(()=>{Object.assign(t.platform,Ue),Ht.value=!1}),t.platform=a.reactive(this)):t.platform=this}};{let e;gt(Ue.has,"webStorage",()=>{if(e!==void 0)return e;try{if(window.localStorage)return e=!0,!0}catch{}return e=!1,!1}),Object.assign(Co,Ue),Ht.value===!0&&(Object.assign(Co,vr,Ad),vr=null)}function ge(e){return a.markRaw(a.defineComponent(e))}function Pd(e){return a.markRaw(e)}const So=(e,t)=>{const n=a.reactive(e);for(const o in e)gt(t,o,()=>n[o],r=>{n[o]=r});return t},Je={hasPassive:!1,passiveCapture:!0,notPassiveCapture:!0};try{const e=Object.defineProperty({},"passive",{get(){Object.assign(Je,{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 bn(){}function Tl(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 Ld(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 Dt(e){e.stopPropagation()}function kt(e){e.cancelable!==!1&&e.preventDefault()}function He(e){e.cancelable!==!1&&e.preventDefault(),e.stopPropagation()}function zn(e,t,n){const o=`__q_${t}_evt`;e[o]=e[o]!==void 0?e[o].concat(n):n,n.forEach(r=>{r[0].addEventListener(r[1],e[r[2]],Je[r[3]])})}function wo(e,t){const n=`__q_${t}_evt`;e[n]!==void 0&&(e[n].forEach(o=>{o[0].removeEventListener(o[1],e[o[2]],Je[o[3]])}),e[n]=void 0)}function Er(e,t=250,n){let o=null;function r(){const l=arguments,i=()=>{o=null,e.apply(this,l)};o!==null&&clearTimeout(o),o=setTimeout(i,t)}return r.cancel=()=>{o!==null&&clearTimeout(o)},r}const Cr=["sm","md","lg","xl"],{passive:Ol}=Je,Vd=So({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:bn,setDebounce:bn,install({$q:e,onSSRHydrated:t}){var m;if(e.screen=this,this.__installed===!0){e.config.screen!==void 0&&(e.config.screen.bodyClasses===!1?document.body.classList.remove(`screen--${this.name}`):this.__update(!0));return}const{visualViewport:n}=window,o=n||window,r=document.scrollingElement||document.documentElement,l=n===void 0||Ue.is.mobile===!0?()=>[Math.max(window.innerWidth,r.clientWidth),Math.max(window.innerHeight,r.clientHeight)]:()=>[n.width*n.scale+window.innerWidth-r.clientWidth,n.height*n.scale+window.innerHeight-r.clientHeight],i=((m=e.config.screen)==null?void 0:m.bodyClasses)===!0;this.__update=g=>{const[h,d]=l();if(d!==this.height&&(this.height=d),h!==this.width)this.width=h;else if(g!==!0)return;let b=this.sizes;this.gt.xs=h>=b.sm,this.gt.sm=h>=b.md,this.gt.md=h>=b.lg,this.gt.lg=h>=b.xl,this.lt.sm=h<b.sm,this.lt.md=h<b.md,this.lt.lg=h<b.lg,this.lt.xl=h<b.xl,this.xs=this.lt.sm,this.sm=this.gt.xs===!0&&this.lt.md===!0,this.md=this.gt.sm===!0&&this.lt.lg===!0,this.lg=this.gt.md===!0&&this.lt.xl===!0,this.xl=this.gt.lg,b=this.xs===!0&&"xs"||this.sm===!0&&"sm"||this.md===!0&&"md"||this.lg===!0&&"lg"||"xl",b!==this.name&&(i===!0&&(document.body.classList.remove(`screen--${this.name}`),document.body.classList.add(`screen--${b}`)),this.name=b)};let s,u={},f=16;this.setSizes=g=>{Cr.forEach(h=>{g[h]!==void 0&&(u[h]=g[h])})},this.setDebounce=g=>{f=g};const c=()=>{const g=getComputedStyle(document.body);g.getPropertyValue("--q-size-sm")&&Cr.forEach(h=>{this.sizes[h]=parseInt(g.getPropertyValue(`--q-size-${h}`),10)}),this.setSizes=h=>{Cr.forEach(d=>{h[d]&&(this.sizes[d]=h[d])}),this.__update(!0)},this.setDebounce=h=>{s!==void 0&&o.removeEventListener("resize",s,Ol),s=h>0?Er(this.__update,h):this.__update,o.addEventListener("resize",s,Ol)},this.setDebounce(f),Object.keys(u).length!==0?(this.setSizes(u),u=void 0):this.__update(),i===!0&&this.name==="xs"&&document.body.classList.add("screen--xs")};Ht.value===!0?t.push(c):c()}}),ot=So({isActive:!1,mode:!1},{__media:void 0,set(e){ot.mode=e,e==="auto"?(ot.__media===void 0&&(ot.__media=window.matchMedia("(prefers-color-scheme: dark)"),ot.__updateMedia=()=>{ot.set("auto")},ot.__media.addListener(ot.__updateMedia)),e=ot.__media.matches):ot.__media!==void 0&&(ot.__media.removeListener(ot.__updateMedia),ot.__media=void 0),ot.isActive=e===!0,document.body.classList.remove(`body--${e===!0?"light":"dark"}`),document.body.classList.add(`body--${e===!0?"dark":"light"}`)},toggle(){ot.set(ot.isActive===!1)},install({$q:e,ssrContext:t}){const{dark:n}=e.config;e.dark=this,this.__installed!==!0&&this.set(n!==void 0?n:!1)}});function Rd(e,t,n=document.body){if(typeof e!="string")throw new TypeError("Expected a string as propName");if(typeof t!="string")throw new TypeError("Expected a string as value");if(!(n instanceof Element))throw new TypeError("Expected a DOM element");n.style.setProperty(`--q-${e}`,t)}let xl=!1;function Bd(e){xl=e.isComposing===!0}function Sr(e){return xl===!0||e!==Object(e)||e.isComposing===!0||e.qKeyEvent===!0}function tn(e,t){return Sr(e)===!0?!1:[].concat(t).includes(e.keyCode)}function Nl(e){if(e.ios===!0)return"ios";if(e.android===!0)return"android"}function Md({is:e,has:t,within:n},o){const r=[e.desktop===!0?"desktop":"mobile",`${t.touch===!1?"no-":""}touch`];if(e.mobile===!0){const l=Nl(e);l!==void 0&&r.push("platform-"+l)}if(e.nativeMobile===!0){const l=e.nativeMobileWrapper;r.push(l),r.push("native-mobile"),e.ios===!0&&(o[l]===void 0||o[l].iosStatusBarPadding!==!1)&&r.push("q-ios-padding")}else e.electron===!0?r.push("electron"):e.bex===!0&&r.push("bex");return n.iframe===!0&&r.push("within-iframe"),r}function Fd(){const{is:e}=Ue,t=document.body.className,n=new Set(t.replace(/ {2}/g," ").split(" "));if(e.nativeMobile!==!0&&e.electron!==!0&&e.bex!==!0){if(e.desktop===!0)n.delete("mobile"),n.delete("platform-ios"),n.delete("platform-android"),n.add("desktop");else if(e.mobile===!0){n.delete("desktop"),n.add("mobile"),n.delete("platform-ios"),n.delete("platform-android");const r=Nl(e);r!==void 0&&n.add(`platform-${r}`)}}Ue.has.touch===!0&&(n.delete("no-touch"),n.add("touch")),Ue.within.iframe===!0&&n.add("within-iframe");const o=Array.from(n).join(" ");t!==o&&(document.body.className=o)}function qd(e){for(const t in e)Rd(t,e[t])}const $d={install(e){if(this.__installed!==!0){if(Ht.value===!0)Fd();else{const{$q:t}=e;t.config.brand!==void 0&&qd(t.config.brand);const n=Md(Ue,t.config);document.body.classList.add.apply(document.body.classList,n)}Ue.is.ios===!0&&document.body.addEventListener("touchstart",bn),window.addEventListener("keydown",Bd,!0)}}},Dl=()=>!0;function Ud(e){return typeof e=="string"&&e!==""&&e!=="/"&&e!=="#/"}function Hd(e){return e.startsWith("#")===!0&&(e=e.substring(1)),e.startsWith("/")===!1&&(e="/"+e),e.endsWith("/")===!0&&(e=e.substring(0,e.length-1)),"#"+e}function zd(e){if(e.backButtonExit===!1)return()=>!1;if(e.backButtonExit==="*")return Dl;const t=["#/"];return Array.isArray(e.backButtonExit)===!0&&t.push(...e.backButtonExit.filter(Ud).map(Hd)),()=>t.includes(window.location.hash)}const jn={__history:[],add:bn,remove:bn,install({$q:e}){if(this.__installed===!0)return;const{cordova:t,capacitor:n}=Ue.is;if(t!==!0&&n!==!0)return;const o=e.config[t===!0?"cordova":"capacitor"];if((o==null?void 0:o.backButton)===!1||n===!0&&(window.Capacitor===void 0||window.Capacitor.Plugins.App===void 0))return;this.add=i=>{i.condition===void 0&&(i.condition=Dl),this.__history.push(i)},this.remove=i=>{const s=this.__history.indexOf(i);s>=0&&this.__history.splice(s,1)};const r=zd(Object.assign({backButtonExit:!0},o)),l=()=>{if(this.__history.length){const i=this.__history[this.__history.length-1];i.condition()===!0&&(this.__history.pop(),i.handler())}else r()===!0?navigator.app.exitApp():window.history.back()};t===!0?document.addEventListener("deviceready",()=>{document.addEventListener("backbutton",l,!1)}):window.Capacitor.Plugins.App.addListener("backButton",l)}},wr={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",expand:e=>e?`Expand "${e}"`:"Expand",collapse:e=>e?`Collapse "${e}"`:"Collapse"},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",prevMonth:"Previous month",nextMonth:"Next month",prevYear:"Previous year",nextYear:"Next year",today:"Today",prevRangeYears:e=>`Previous ${e} years`,nextRangeYears:e=>`Next ${e} years`},table:{noData:"No data available",noResults:"No matching records found",loading:"Loading...",selectedRecords:e=>e===1?"1 record selected.":(e===0?"No":e)+" records selected.",recordsPerPage:"Records per page:",allRows:"All",pagination:(e,t,n)=>e+"-"+t+" of "+n,columns:"Columns"},pagination:{first:"First page",prev:"Previous page",next:"Next page",last:"Last page"},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 Il(){const e=Array.isArray(navigator.languages)===!0&&navigator.languages.length!==0?navigator.languages[0]:navigator.language;if(typeof e=="string")return e.split(/[-_]/).map((t,n)=>n===0?t.toLowerCase():n>1||t.length<4?t.toUpperCase():t[0].toUpperCase()+t.slice(1).toLowerCase()).join("-")}const It=So({__qLang:{}},{getLocale:Il,set(e=wr,t){const n={...e,rtl:e.rtl===!0,getLocale:Il};{if(n.set=It.set,It.__langConfig===void 0||It.__langConfig.noHtmlAttrs!==!0){const o=document.documentElement;o.setAttribute("dir",n.rtl===!0?"rtl":"ltr"),o.setAttribute("lang",n.isoName)}Object.assign(It.__qLang,n)}},install({$q:e,lang:t,ssrContext:n}){e.lang=It.__qLang,It.__langConfig=e.config.lang,this.__installed===!0?t!==void 0&&this.set(t):(this.props=new Proxy(this.__qLang,{get(){return Reflect.get(...arguments)},ownKeys(o){return Reflect.ownKeys(o).filter(r=>r!=="set"&&r!=="getLocale")}}),this.set(t||wr))}}),jd={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"}},ko=So({iconMapFn:null,__qIconSet:{}},{set(e,t){const n={...e};n.set=ko.set,Object.assign(ko.__qIconSet,n)},install({$q:e,iconSet:t,ssrContext:n}){e.config.iconMapFn!==void 0&&(this.iconMapFn=e.config.iconMapFn),e.iconSet=this.__qIconSet,gt(e,"iconMapFn",()=>this.iconMapFn,o=>{this.iconMapFn=o}),this.__installed===!0?t!==void 0&&this.set(t):(this.props=new Proxy(this.__qIconSet,{get(){return Reflect.get(...arguments)},ownKeys(o){return Reflect.ownKeys(o).filter(r=>r!=="set")}}),this.set(t||jd))}}),Wd="_q_",Kd="_q_fo_",To={};let Al=!1;function Yd(){Al=!0}function Bt(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(Bt(e[o],t[o])!==!0)return!1;return!0}if(e.constructor===Map){if(e.size!==t.size)return!1;let l=e.entries();for(o=l.next();o.done!==!0;){if(t.has(o.value[0])!==!0)return!1;o=l.next()}for(l=e.entries(),o=l.next();o.done!==!0;){if(Bt(o.value[1],t.get(o.value[0]))!==!0)return!1;o=l.next()}return!0}if(e.constructor===Set){if(e.size!==t.size)return!1;const l=e.entries();for(o=l.next();o.done!==!0;){if(t.has(o.value[0])!==!0)return!1;o=l.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 r=Object.keys(e).filter(l=>e[l]!==void 0);if(n=r.length,n!==Object.keys(t).filter(l=>t[l]!==void 0).length)return!1;for(o=n;o--!==0;){const l=r[o];if(Bt(e[l],t[l])!==!0)return!1}return!0}return e!==e&&t!==t}function kr(e){return e!==null&&typeof e=="object"&&Array.isArray(e)!==!0}function Oo(e){return Object.prototype.toString.call(e)==="[object Date]"}function Tr(e){return typeof e=="number"&&isFinite(e)}const Pl=[Co,$d,ot,Vd,jn,It,ko];function Ll(e,t){t.forEach(n=>{n.install(e),n.__installed=!0})}function Gd(e,t,n){e.config.globalProperties.$q=n.$q,e.provide(Wd,n.$q),Ll(n,Pl),t.components!==void 0&&Object.values(t.components).forEach(o=>{kr(o)===!0&&o.name!==void 0&&e.component(o.name,o)}),t.directives!==void 0&&Object.values(t.directives).forEach(o=>{kr(o)===!0&&o.name!==void 0&&e.directive(o.name,o)}),t.plugins!==void 0&&Ll(n,Object.values(t.plugins).filter(o=>typeof o.install=="function"&&Pl.includes(o)===!1)),Ht.value===!0&&(n.$q.onSSRHydrated=()=>{n.onSSRHydrated.forEach(o=>{o()}),n.$q.onSSRHydrated=()=>{}})}const Qd={name:"Quasar",version:"2.18.1",install:function(e,t={}){const n={version:"2.18.1"};Al===!1?(t.config!==void 0&&Object.assign(To,t.config),n.config={...To},Yd()):n.config=t.config||{},Gd(e,t,{parentApp:e,$q:n,lang:t.lang,iconSet:t.iconSet,onSSRHydrated:[]})},lang:It,iconSet:ko},dt={dark:{type:Boolean,default:null}};function ft(e,t){return a.computed(()=>e.dark===null?t.dark.isActive:e.dark)}const Xd={true:"inset",item:"item-inset","item-thumbnail":"item-thumbnail-inset"},Or={xs:2,sm:4,md:8,lg:16,xl:24},xr=ge({name:"QSeparator",props:{...dt,spaced:[Boolean,String],inset:[Boolean,String],vertical:Boolean,color:String,size:String},setup(e){const t=a.getCurrentInstance(),n=ft(e,t.proxy.$q),o=a.computed(()=>e.vertical===!0?"vertical":"horizontal"),r=a.computed(()=>` q-separator--${o.value}`),l=a.computed(()=>e.inset!==!1?`${r.value}-${Xd[e.inset]}`:""),i=a.computed(()=>`q-separator${r.value}${l.value}`+(e.color!==void 0?` bg-${e.color}`:"")+(n.value===!0?" q-separator--dark":"")),s=a.computed(()=>{const u={};if(e.size!==void 0&&(u[e.vertical===!0?"width":"height"]=e.size),e.spaced!==!1){const f=e.spaced===!0?`${Or.md}px`:e.spaced in Or?`${Or[e.spaced]}px`:e.spaced,c=e.vertical===!0?["Left","Right"]:["Top","Bottom"];u[`margin${c[0]}`]=u[`margin${c[1]}`]=f}return u});return()=>a.h("hr",{class:i.value,style:s.value,"aria-orientation":o.value})}}),Nr={xs:18,sm:24,md:32,lg:38,xl:46},Wn={size:String};function Kn(e,t=Nr){return a.computed(()=>e.size!==void 0?{fontSize:e.size in t?`${t[e.size]}px`:e.size}:null)}function ve(e,t){return e!==void 0&&e()||t}function Vl(e,t){if(e!==void 0){const n=e();if(n!=null)return n.slice()}return t}function At(e,t){return e!==void 0?t.concat(e()):t}function Zd(e,t){return e===void 0?t:t!==void 0?t.concat(e()):e()}function Jd(e,t,n,o,r,l){t.key=o+r;const i=a.h(e,t,n);return r===!0?a.withDirectives(i,l()):i}const Rl="0 0 24 24",Dr=e=>e,Ir=e=>`ionicons ${e}`,Bl={"mdi-":e=>`mdi ${e}`,"icon-":Dr,"bt-":e=>`bt ${e}`,"eva-":e=>`eva ${e}`,"ion-md":Ir,"ion-ios":Ir,"ion-logo":Ir,"iconfont ":Dr,"ti-":e=>`themify-icon ${e}`,"bi-":e=>`bootstrap-icons ${e}`,"i-":Dr},Ml={o_:"-outlined",r_:"-round",s_:"-sharp"},Fl={sym_o_:"-outlined",sym_r_:"-rounded",sym_s_:"-sharp"},ef=new RegExp("^("+Object.keys(Bl).join("|")+")"),tf=new RegExp("^("+Object.keys(Ml).join("|")+")"),ql=new RegExp("^("+Object.keys(Fl).join("|")+")"),nf=/^[Mm]\s?[-+]?\.?\d/,of=/^img:/,rf=/^svguse:/,af=/^ion-/,lf=/^(fa-(classic|sharp|solid|regular|light|brands|duotone|thin)|[lf]a[srlbdk]?) /,Ae=ge({name:"QIcon",props:{...Wn,tag:{type:String,default:"i"},name:String,color:String,left:Boolean,right:Boolean},setup(e,{slots:t}){const{proxy:{$q:n}}=a.getCurrentInstance(),o=Kn(e),r=a.computed(()=>"q-icon"+(e.left===!0?" on-left":"")+(e.right===!0?" on-right":"")+(e.color!==void 0?` text-${e.color}`:"")),l=a.computed(()=>{let i,s=e.name;if(s==="none"||!s)return{none:!0};if(n.iconMapFn!==null){const c=n.iconMapFn(s);if(c!==void 0)if(c.icon!==void 0){if(s=c.icon,s==="none"||!s)return{none:!0}}else return{cls:c.cls,content:c.content!==void 0?c.content:" "}}if(nf.test(s)===!0){const[c,m=Rl]=s.split("|");return{svg:!0,viewBox:m,nodes:c.split("&&").map(g=>{const[h,d,b]=g.split("@@");return a.h("path",{style:d,d:h,transform:b})})}}if(of.test(s)===!0)return{img:!0,src:s.substring(4)};if(rf.test(s)===!0){const[c,m=Rl]=s.split("|");return{svguse:!0,src:c.substring(7),viewBox:m}}let u=" ";const f=s.match(ef);if(f!==null)i=Bl[f[1]](s);else if(lf.test(s)===!0)i=s;else if(af.test(s)===!0)i=`ionicons ion-${n.platform.is.ios===!0?"ios":"md"}${s.substring(3)}`;else if(ql.test(s)===!0){i="notranslate material-symbols";const c=s.match(ql);c!==null&&(s=s.substring(6),i+=Fl[c[1]]),u=s}else{i="notranslate material-icons";const c=s.match(tf);c!==null&&(s=s.substring(2),i+=Ml[c[1]]),u=s}return{cls:i,content:u}});return()=>{const i={class:r.value,style:o.value,"aria-hidden":"true"};return l.value.none===!0?a.h(e.tag,i,ve(t.default)):l.value.img===!0?a.h(e.tag,i,At(t.default,[a.h("img",{src:l.value.src})])):l.value.svg===!0?a.h(e.tag,i,At(t.default,[a.h("svg",{viewBox:l.value.viewBox||"0 0 24 24"},l.value.nodes)])):l.value.svguse===!0?a.h(e.tag,i,At(t.default,[a.h("svg",{viewBox:l.value.viewBox},[a.h("use",{"xlink:href":l.value.src})])])):(l.value.cls!==void 0&&(i.class+=" "+l.value.cls),a.h(e.tag,i,At(t.default,[l.value.content])))}}}),Ar=ge({name:"QTh",props:{props:Object,autoWidth:Boolean},emits:["click"],setup(e,{slots:t,emit:n}){const o=a.getCurrentInstance(),{proxy:{$q:r}}=o,l=i=>{n("click",i)};return()=>{if(e.props===void 0)return a.h("th",{class:e.autoWidth===!0?"q-table--col-auto-width":"",onClick:l},ve(t.default));let i,s;const u=o.vnode.key;if(u){if(i=e.props.colsMap[u],i===void 0)return}else i=e.props.col;if(i.sortable===!0){const c=i.align==="right"?"unshift":"push";s=Vl(t.default,[]),s[c](a.h(Ae,{class:i.__iconClass,name:r.iconSet.table.arrowUp}))}else s=ve(t.default);const f={class:i.__thClass+(e.autoWidth===!0?" q-table--col-auto-width":""),style:i.headerStyle,onClick:c=>{i.sortable===!0&&e.props.sort(i),l(c)}};return a.h("th",f,s)}}}),sf=["ul","ol"],Pr=ge({name:"QList",props:{...dt,bordered:Boolean,dense:Boolean,separator:Boolean,padding:Boolean,tag:{type:String,default:"div"}},setup(e,{slots:t}){const n=a.getCurrentInstance(),o=ft(e,n.proxy.$q),r=a.computed(()=>sf.includes(e.tag)?null:"list"),l=a.computed(()=>"q-list"+(e.bordered===!0?" q-list--bordered":"")+(e.dense===!0?" q-list--dense":"")+(e.separator===!0?" q-list--separator":"")+(o.value===!0?" q-list--dark":"")+(e.padding===!0?" q-list--padding":""));return()=>a.h(e.tag,{class:l.value,role:r.value},ve(t.default))}}),uf=["horizontal","vertical","cell","none"],$l=ge({name:"QMarkupTable",props:{...dt,dense:Boolean,flat:Boolean,bordered:Boolean,square:Boolean,wrapCells:Boolean,separator:{type:String,default:"horizontal",validator:e=>uf.includes(e)}},setup(e,{slots:t}){const n=a.getCurrentInstance(),o=ft(e,n.proxy.$q),r=a.computed(()=>`q-markup-table q-table__container q-table__card q-table--${e.separator}-separator`+(o.value===!0?" q-table--dark q-table__card--dark q-dark":"")+(e.dense===!0?" q-table--dense":"")+(e.flat===!0?" q-table--flat":"")+(e.bordered===!0?" q-table--bordered":"")+(e.square===!0?" q-table--square":"")+(e.wrapCells===!1?" q-table--no-wrap":""));return()=>a.h("div",{class:r.value},[a.h("table",{class:"q-table"},ve(t.default))])}});function Ul(e,t){return a.h("div",e,[a.h("table",{class:"q-table"},t)])}let xo=!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,xo=e.scrollLeft>=0,e.remove()}const Tt=1e3,cf=["start","center","end","start-force","center-force","end-force"],Hl=Array.prototype.filter,df=window.getComputedStyle(document.body).overflowAnchor===void 0?bn: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||[];Hl.call(n,r=>r.dataset&&r.dataset.qVsAnchor!==void 0).forEach(r=>{delete r.dataset.qVsAnchor});const o=n[t];o!=null&&o.dataset&&(o.dataset.qVsAnchor="")}))};function yn(e,t){return e+t}function Lr(e,t,n,o,r,l,i,s){const u=e===window?document.scrollingElement||document.documentElement:e,f=r===!0?"offsetWidth":"offsetHeight",c={scrollStart:0,scrollViewSize:-i-s,scrollMaxSize:0,offsetStart:-i,offsetEnd:-s};if(r===!0?(e===window?(c.scrollStart=window.pageXOffset||window.scrollX||document.body.scrollLeft||0,c.scrollViewSize+=document.documentElement.clientWidth):(c.scrollStart=u.scrollLeft,c.scrollViewSize+=u.clientWidth),c.scrollMaxSize=u.scrollWidth,l===!0&&(c.scrollStart=(xo===!0?c.scrollMaxSize-c.scrollViewSize:0)-c.scrollStart)):(e===window?(c.scrollStart=window.pageYOffset||window.scrollY||document.body.scrollTop||0,c.scrollViewSize+=document.documentElement.clientHeight):(c.scrollStart=u.scrollTop,c.scrollViewSize+=u.clientHeight),c.scrollMaxSize=u.scrollHeight),n!==null)for(let m=n.previousElementSibling;m!==null;m=m.previousElementSibling)m.classList.contains("q-virtual-scroll--skip")===!1&&(c.offsetStart+=m[f]);if(o!==null)for(let m=o.nextElementSibling;m!==null;m=m.nextElementSibling)m.classList.contains("q-virtual-scroll--skip")===!1&&(c.offsetEnd+=m[f]);if(t!==e){const m=u.getBoundingClientRect(),g=t.getBoundingClientRect();r===!0?(c.offsetStart+=g.left-m.left,c.offsetEnd-=g.width):(c.offsetStart+=g.top-m.top,c.offsetEnd-=g.height),e!==window&&(c.offsetStart+=c.scrollStart),c.offsetEnd+=c.scrollMaxSize-c.offsetStart}return c}function zl(e,t,n,o){t==="end"&&(t=(e===window?document.body:e)[n===!0?"scrollWidth":"scrollHeight"]),e===window?n===!0?(o===!0&&(t=(xo===!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=(xo===!0?e.scrollWidth-e.offsetWidth:0)-t),e.scrollLeft=t):e.scrollTop=t}function Yn(e,t,n,o){if(n>=o)return 0;const r=t.length,l=Math.floor(n/Tt),i=Math.floor((o-1)/Tt)+1;let s=e.slice(l,i).reduce(yn,0);return n%Tt!==0&&(s-=t.slice(l*Tt,n).reduce(yn,0)),o%Tt!==0&&o!==r&&(s-=t.slice(o,i*Tt).reduce(yn,0)),s}const jl={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]},Wl=Object.keys(jl),Vr={virtualScrollHorizontal:Boolean,onVirtualScroll:Function,...jl};function Kl({virtualScrollLength:e,getVirtualScrollTarget:t,getVirtualScrollEl:n,virtualScrollItemSizeComputed:o}){const r=a.getCurrentInstance(),{props:l,emit:i,proxy:s}=r,{$q:u}=s;let f,c,m,g=[],h;const d=a.ref(0),b=a.ref(0),_=a.ref({}),p=a.ref(null),y=a.ref(null),C=a.ref(null),v=a.ref({from:0,to:0}),O=a.computed(()=>l.tableColspan!==void 0?l.tableColspan:100);o===void 0&&(o=a.computed(()=>l.virtualScrollItemSize));const D=a.computed(()=>o.value+";"+l.virtualScrollHorizontal),k=a.computed(()=>D.value+";"+l.virtualScrollSliceRatioBefore+";"+l.virtualScrollSliceRatioAfter);a.watch(k,()=>{W()}),a.watch(D,B);function B(){J(c,!0)}function I(x){J(x===void 0?c:x)}function P(x,T){const H=t();if(H==null||H.nodeType===8)return;const re=Lr(H,n(),p.value,y.value,l.virtualScrollHorizontal,u.lang.rtl,l.virtualScrollStickySizeStart,l.virtualScrollStickySizeEnd);m!==re.scrollViewSize&&W(re.scrollViewSize),N(H,re,Math.min(e.value-1,Math.max(0,parseInt(x,10)||0)),0,cf.indexOf(T)!==-1?T:c!==-1&&x>c?"end":"start")}function F(){const x=t();if(x==null||x.nodeType===8)return;const T=Lr(x,n(),p.value,y.value,l.virtualScrollHorizontal,u.lang.rtl,l.virtualScrollStickySizeStart,l.virtualScrollStickySizeEnd),H=e.value-1,re=T.scrollMaxSize-T.offsetStart-T.offsetEnd-b.value;if(f===T.scrollStart)return;if(T.scrollMaxSize<=0){N(x,T,0,0);return}m!==T.scrollViewSize&&W(T.scrollViewSize),K(v.value.from);const ae=Math.floor(T.scrollMaxSize-Math.max(T.scrollViewSize,T.offsetEnd)-Math.min(h[H],T.scrollViewSize/2));if(ae>0&&Math.ceil(T.scrollStart)>=ae){N(x,T,H,T.scrollMaxSize-T.offsetEnd-g.reduce(yn,0));return}let q=0,Q=T.scrollStart-T.offsetStart,pe=Q;if(Q<=re&&Q+T.scrollViewSize>=d.value)Q-=d.value,q=v.value.from,pe=Q;else for(let j=0;Q>=g[j]&&q<H;j++)Q-=g[j],q+=Tt;for(;Q>0&&q<H;)Q-=h[q],Q>-T.scrollViewSize?(q++,pe=Q):pe=h[q]+Q;N(x,T,q,pe)}function N(x,T,H,re,ae){const q=typeof ae=="string"&&ae.indexOf("-force")!==-1,Q=q===!0?ae.replace("-force",""):ae,pe=Q!==void 0?Q:"start";let j=Math.max(0,H-_.value[pe]),Ce=j+_.value.total;Ce>e.value&&(Ce=e.value,j=Math.max(0,Ce-_.value.total)),f=T.scrollStart;const Ve=j!==v.value.from||Ce!==v.value.to;if(Ve===!1&&Q===void 0){z(H);return}const{activeElement:Ct}=document,Be=C.value;Ve===!0&&Be!==null&&Be!==Ct&&Be.contains(Ct)===!0&&(Be.addEventListener("focusout",V),setTimeout(()=>{Be==null||Be.removeEventListener("focusout",V)})),df(Be,H-j);const ht=Q!==void 0?h.slice(j,H).reduce(yn,0):0;if(Ve===!0){const Ge=Ce>=v.value.from&&j<=v.value.to?v.value.to:Ce;v.value={from:j,to:Ge},d.value=Yn(g,h,0,j),b.value=Yn(g,h,Ce,e.value),requestAnimationFrame(()=>{v.value.to!==Ce&&f===T.scrollStart&&(v.value={from:v.value.from,to:Ce},b.value=Yn(g,h,Ce,e.value))})}requestAnimationFrame(()=>{if(f!==T.scrollStart)return;Ve===!0&&K(j);const Ge=h.slice(j,H).reduce(yn,0),nt=Ge+T.offsetStart+d.value,St=nt+h[H];let E=nt+re;if(Q!==void 0){const w=Ge-ht,R=T.scrollStart+w;E=q!==!0&&R<nt&&St<R+T.scrollViewSize?R:Q==="end"?St-T.scrollViewSize:nt-(Q==="start"?0:Math.round((T.scrollViewSize-h[H])/2))}f=E,zl(x,E,l.virtualScrollHorizontal,u.lang.rtl),z(H)})}function K(x){const T=C.value;if(T){const H=Hl.call(T.children,j=>j.classList&&j.classList.contains("q-virtual-scroll--skip")===!1),re=H.length,ae=l.virtualScrollHorizontal===!0?j=>j.getBoundingClientRect().width:j=>j.offsetHeight;let q=x,Q,pe;for(let j=0;j<re;){for(Q=ae(H[j]),j++;j<re&&H[j].classList.contains("q-virtual-scroll--with-prev")===!0;)Q+=ae(H[j]),j++;pe=Q-h[q],pe!==0&&(h[q]+=pe,g[Math.floor(q/Tt)]+=pe),q++}}}function V(){var x;(x=C.value)==null||x.focus()}function J(x,T){const H=1*o.value;(T===!0||Array.isArray(h)===!1)&&(h=[]);const re=h.length;h.length=e.value;for(let q=e.value-1;q>=re;q--)h[q]=H;const ae=Math.floor((e.value-1)/Tt);g=[];for(let q=0;q<=ae;q++){let Q=0;const pe=Math.min((q+1)*Tt,e.value);for(let j=q*Tt;j<pe;j++)Q+=h[j];g.push(Q)}c=-1,f=void 0,d.value=Yn(g,h,0,v.value.from),b.value=Yn(g,h,v.value.to,e.value),x>=0?(K(v.value.from),a.nextTick(()=>{P(x)})):G()}function W(x){if(x===void 0&&typeof window<"u"){const Q=t();Q!=null&&Q.nodeType!==8&&(x=Lr(Q,n(),p.value,y.value,l.virtualScrollHorizontal,u.lang.rtl,l.virtualScrollStickySizeStart,l.virtualScrollStickySizeEnd).scrollViewSize)}m=x;const T=parseFloat(l.virtualScrollSliceRatioBefore)||0,H=parseFloat(l.virtualScrollSliceRatioAfter)||0,re=1+T+H,ae=x===void 0||x<=0?1:Math.ceil(x/o.value),q=Math.max(1,ae,Math.ceil((l.virtualScrollSliceSize>0?l.virtualScrollSliceSize:10)/re));_.value={total:Math.ceil(q*re),start:Math.ceil(q*T),center:Math.ceil(q*(.5+T)),end:Math.ceil(q*(1+T)),view:ae}}function $(x,T){const H=l.virtualScrollHorizontal===!0?"width":"height",re={["--q-virtual-scroll-item-"+H]:o.value+"px"};return[x==="tbody"?a.h(x,{class:"q-virtual-scroll__padding",key:"before",ref:p},[a.h("tr",[a.h("td",{style:{[H]:`${d.value}px`,...re},colspan:O.value})])]):a.h(x,{class:"q-virtual-scroll__padding",key:"before",ref:p,style:{[H]:`${d.value}px`,...re}}),a.h(x,{class:"q-virtual-scroll__content",key:"content",ref:C,tabindex:-1},T.flat()),x==="tbody"?a.h(x,{class:"q-virtual-scroll__padding",key:"after",ref:y},[a.h("tr",[a.h("td",{style:{[H]:`${b.value}px`,...re},colspan:O.value})])]):a.h(x,{class:"q-virtual-scroll__padding",key:"after",ref:y,style:{[H]:`${b.value}px`,...re}})]}function z(x){c!==x&&(l.onVirtualScroll!==void 0&&i("virtualScroll",{index:x,from:v.value.from,to:v.value.to-1,direction:x<c?"decrease":"increase",ref:s}),c=x)}W();const G=Er(F,u.platform.is.ios===!0?120:35);a.onBeforeMount(()=>{W()});let ee=!1;return a.onDeactivated(()=>{ee=!0}),a.onActivated(()=>{if(ee!==!0)return;const x=t();f!==void 0&&x!==void 0&&x!==null&&x.nodeType!==8?zl(x,f,l.virtualScrollHorizontal,u.lang.rtl):P(c)}),a.onBeforeUnmount(()=>{G.cancel()}),Object.assign(s,{scrollTo:P,reset:B,refresh:I}),{virtualScrollSliceRange:v,virtualScrollSliceSizeComputed:_,setVirtualScrollSize:W,onVirtualScrollEvt:G,localResetVirtualScroll:J,padVirtualScroll:$,scrollTo:P,reset:B,refresh:I}}function Rr(e,t){const n=e.style;for(const o in t)n[o]=t[o]}function ff(e){if(e==null)return;if(typeof e=="string")try{return document.querySelector(e)||void 0}catch{return}const t=a.unref(e);if(t)return t.$el||t}function Yl(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 Br=[Element,String],mf=[null,document,document.body,document.scrollingElement,document.documentElement];function Mr(e,t){let n=ff(t);if(n===void 0){if(e==null)return window;n=e.closest(".scroll,.scroll-y,.overflow-auto")}return mf.includes(n)?window:n}function hf(e){return e===window?window.pageYOffset||window.scrollY||document.body.scrollTop||0:e.scrollTop}function gf(e){return e===window?window.pageXOffset||window.scrollX||document.body.scrollLeft||0:e.scrollLeft}let No;function pf(){if(No!==void 0)return No;const e=document.createElement("p"),t=document.createElement("div");Rr(e,{width:"100%",height:"200px"}),Rr(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(),No=n-o,No}function _f(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 bf={list:Pr,table:$l},yf=["list","table","__qtable"],vf=ge({name:"QVirtualScroll",props:{...Vr,type:{type:String,default:"list",validator:e=>yf.includes(e)},items:{type:Array,default:()=>[]},itemsFn:Function,itemsSize:Number,scrollTarget:Br},setup(e,{slots:t,attrs:n}){let o;const r=a.ref(null),l=a.computed(()=>e.itemsSize>=0&&e.itemsFn!==void 0?parseInt(e.itemsSize,10):Array.isArray(e.items)?e.items.length:0),{virtualScrollSliceRange:i,localResetVirtualScroll:s,padVirtualScroll:u,onVirtualScrollEvt:f}=Kl({virtualScrollLength:l,getVirtualScrollTarget:d,getVirtualScrollEl:h}),c=a.computed(()=>{if(l.value===0)return[];const y=(C,v)=>({index:i.value.from+v,item:C});return e.itemsFn===void 0?e.items.slice(i.value.from,i.value.to).map(y):e.itemsFn(i.value.from,i.value.to-i.value.from).map(y)}),m=a.computed(()=>"q-virtual-scroll q-virtual-scroll"+(e.virtualScrollHorizontal===!0?"--horizontal":"--vertical")+(e.scrollTarget!==void 0?"":" scroll")),g=a.computed(()=>e.scrollTarget!==void 0?{}:{tabindex:0});a.watch(l,()=>{s()}),a.watch(()=>e.scrollTarget,()=>{_(),b()});function h(){return r.value.$el||r.value}function d(){return o}function b(){o=Mr(h(),e.scrollTarget),o.addEventListener("scroll",f,Je.passive)}function _(){o!==void 0&&(o.removeEventListener("scroll",f,Je.passive),o=void 0)}function p(){let y=u(e.type==="list"?"div":"tbody",c.value.map(t.default));return t.before!==void 0&&(y=t.before().concat(y)),At(t.after,y)}return a.onBeforeMount(()=>{s()}),a.onMounted(()=>{b()}),a.onActivated(()=>{b()}),a.onDeactivated(()=>{_()}),a.onBeforeUnmount(()=>{_()}),()=>{if(t.default===void 0){console.error("QVirtualScroll: default scoped slot is required for rendering");return}return e.type==="__qtable"?Ul({ref:r,class:"q-table__middle "+m.value},p()):a.h(bf[e.type],{...n,ref:r,class:[n.class,m.value],...g.value},p)}}}),Gl={size:{type:[String,Number],default:"1em"},color:String};function Ql(e){return{cSize:a.computed(()=>e.size in Nr?`${Nr[e.size]}px`:e.size),classes:a.computed(()=>"q-spinner"+(e.color?` text-${e.color}`:""))}}const Xl=ge({name:"QSpinner",props:{...Gl,thickness:{type:Number,default:5}},setup(e){const{cSize:t,classes:n}=Ql(e);return()=>a.h("svg",{class:n.value+" q-spinner-mat",width:t.value,height:t.value,viewBox:"25 25 50 50"},[a.h("circle",{class:"path",cx:"50",cy:"50",r:"20",fill:"none",stroke:"currentColor","stroke-width":e.thickness,"stroke-miterlimit":"10"})])}});let Fr,Do=0;const et=new Array(256);for(let e=0;e<256;e++)et[e]=(e+256).toString(16).substring(1);const Ef=(()=>{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}})(),Zl=4096;function qr(){(Fr===void 0||Do+16>Zl)&&(Do=0,Fr=Ef(Zl));const e=Array.prototype.slice.call(Fr,Do,Do+=16);return e[6]=e[6]&15|64,e[8]=e[8]&63|128,et[e[0]]+et[e[1]]+et[e[2]]+et[e[3]]+"-"+et[e[4]]+et[e[5]]+"-"+et[e[6]]+et[e[7]]+"-"+et[e[8]]+et[e[9]]+"-"+et[e[10]]+et[e[11]]+et[e[12]]+et[e[13]]+et[e[14]]+et[e[15]]}function Cf(e){return e??null}function Jl(e,t){return e??(t===!0?`f_${qr()}`:null)}function Sf({getValue:e,required:t=!0}={}){if(Ht.value===!0){const n=e!==void 0?a.ref(Cf(e())):a.ref(null);return t===!0&&n.value===null&&a.onMounted(()=>{n.value=`f_${qr()}`}),e!==void 0&&a.watch(e,o=>{n.value=Jl(o,t)}),n}return e!==void 0?a.computed(()=>Jl(e(),t)):a.ref(`f_${qr()}`)}const ei=/^on[A-Z]/;function wf(){const{attrs:e,vnode:t}=a.getCurrentInstance(),n={listeners:a.ref({}),attributes:a.ref({})};function o(){const r={},l={};for(const i in e)i!=="class"&&i!=="style"&&ei.test(i)===!1&&(r[i]=e[i]);for(const i in t.props)ei.test(i)===!0&&(l[i]=t.props[i]);n.attributes.value=r,n.listeners.value=l}return a.onBeforeUpdate(o),o(),n}function kf({validate:e,resetValidation:t,requiresQForm:n}){const o=a.inject(Kd,!1);if(o!==!1){const{props:r,proxy:l}=a.getCurrentInstance();Object.assign(l,{validate:e,resetValidation:t}),a.watch(()=>r.disable,i=>{i===!0?(typeof t=="function"&&t(),o.unbindComponent(l)):o.bindComponent(l)}),a.onMounted(()=>{r.disable!==!0&&o.bindComponent(l)}),a.onBeforeUnmount(()=>{r.disable!==!0&&o.unbindComponent(l)})}else n===!0&&console.error("Parent QForm not found on useFormChild()!")}const ti=/^#[0-9a-fA-F]{3}([0-9a-fA-F]{3})?$/,ni=/^#[0-9a-fA-F]{4}([0-9a-fA-F]{4})?$/,oi=/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/,Io=/^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])\)$/,Ao=/^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)\)$/,$r={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=>ti.test(e),hexaColor:e=>ni.test(e),hexOrHexaColor:e=>oi.test(e),rgbColor:e=>Io.test(e),rgbaColor:e=>Ao.test(e),rgbOrRgbaColor:e=>Io.test(e)||Ao.test(e),hexOrRgbColor:e=>ti.test(e)||Io.test(e),hexaOrRgbaColor:e=>ni.test(e)||Ao.test(e),anyColor:e=>oi.test(e)||Io.test(e)||Ao.test(e)},Tf=[!0,!1,"ondemand"],Of={modelValue:{},error:{type:Boolean,default:null},errorMessage:String,noErrorIcon:Boolean,rules:Array,reactiveRules:Boolean,lazyRules:{type:[Boolean,String],default:!1,validator:e=>Tf.includes(e)}};function xf(e,t){const{props:n,proxy:o}=a.getCurrentInstance(),r=a.ref(!1),l=a.ref(null),i=a.ref(!1);kf({validate:b,resetValidation:d});let s=0,u;const f=a.computed(()=>n.rules!==void 0&&n.rules!==null&&n.rules.length!==0),c=a.computed(()=>n.disable!==!0&&f.value===!0&&t.value===!1),m=a.computed(()=>n.error===!0||r.value===!0),g=a.computed(()=>typeof n.errorMessage=="string"&&n.errorMessage.length!==0?n.errorMessage:l.value);a.watch(()=>n.modelValue,()=>{i.value=!0,c.value===!0&&n.lazyRules===!1&&_()});function h(){n.lazyRules!=="ondemand"&&c.value===!0&&i.value===!0&&_()}a.watch(()=>n.reactiveRules,p=>{p===!0?u===void 0&&(u=a.watch(()=>n.rules,h,{immediate:!0,deep:!0})):u!==void 0&&(u(),u=void 0)},{immediate:!0}),a.watch(()=>n.lazyRules,h),a.watch(e,p=>{p===!0?i.value=!0:c.value===!0&&n.lazyRules!=="ondemand"&&_()});function d(){s++,t.value=!1,i.value=!1,r.value=!1,l.value=null,_.cancel()}function b(p=n.modelValue){if(n.disable===!0||f.value===!1)return!0;const y=++s,C=t.value!==!0?()=>{i.value=!0}:()=>{},v=(D,k)=>{D===!0&&C(),r.value=D,l.value=k||null,t.value=!1},O=[];for(let D=0;D<n.rules.length;D++){const k=n.rules[D];let B;if(typeof k=="function"?B=k(p,$r):typeof k=="string"&&$r[k]!==void 0&&(B=$r[k](p)),B===!1||typeof B=="string")return v(!0,B),!1;B!==!0&&B!==void 0&&O.push(B)}return O.length===0?(v(!1),!0):(t.value=!0,Promise.all(O).then(D=>{if(D===void 0||Array.isArray(D)===!1||D.length===0)return y===s&&v(!1),!0;const k=D.find(B=>B===!1||typeof B=="string");return y===s&&v(k!==void 0,k),k===void 0},D=>(y===s&&(console.error(D),v(!0)),!1)))}const _=Er(b,0);return a.onBeforeUnmount(()=>{u==null||u(),_.cancel()}),Object.assign(o,{resetValidation:d,validate:b}),gt(o,"hasError",()=>m.value),{isDirtyModel:i,hasRules:f,hasError:m,errorMessage:g,validate:b,resetValidation:d}}let nn=[],Gn=[];function ri(e){Gn=Gn.filter(t=>t!==e)}function Nf(e){ri(e),Gn.push(e)}function ai(e){ri(e),Gn.length===0&&nn.length!==0&&(nn[nn.length-1](),nn=[])}function Po(e){Gn.length===0?e():nn.push(e)}function Df(e){nn=nn.filter(t=>t!==e)}function Qn(e){return e!=null&&(""+e).length!==0}const Lo={...{...dt,...Of,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]},Ur=["update:modelValue","clear","focus","blur"];function Hr({requiredForAttr:e=!0,tagProp:t,changeEvent:n=!1}={}){const{props:o,proxy:r}=a.getCurrentInstance(),l=ft(o,r.$q),i=Sf({required:e,getValue:()=>o.for});return{requiredForAttr:e,changeEvent:n,tag:t===!0?a.computed(()=>o.tag):{value:"label"},isDark:l,editable:a.computed(()=>o.disable!==!0&&o.readonly!==!0),innerLoading:a.ref(!1),focused:a.ref(!1),hasPopupOpen:!1,splitAttrs:wf(),targetUid:i,rootRef:a.ref(null),targetRef:a.ref(null),controlRef:a.ref(null)}}function zr(e){const{props:t,emit:n,slots:o,attrs:r,proxy:l}=a.getCurrentInstance(),{$q:i}=l;let s=null;e.hasValue===void 0&&(e.hasValue=a.computed(()=>Qn(t.modelValue))),e.emitValue===void 0&&(e.emitValue=z=>{n("update:modelValue",z)}),e.controlEvents===void 0&&(e.controlEvents={onFocusin:I,onFocusout:P}),Object.assign(e,{clearValue:F,onControlFocusin:I,onControlFocusout:P,focus:k}),e.computedCounter===void 0&&(e.computedCounter=a.computed(()=>{if(t.counter!==!1){const z=typeof t.modelValue=="string"||typeof t.modelValue=="number"?(""+t.modelValue).length:Array.isArray(t.modelValue)===!0?t.modelValue.length:0,G=t.maxlength!==void 0?t.maxlength:t.maxValues;return z+(G!==void 0?" / "+G:"")}}));const{isDirtyModel:u,hasRules:f,hasError:c,errorMessage:m,resetValidation:g}=xf(e.focused,e.innerLoading),h=e.floatingLabel!==void 0?a.computed(()=>t.stackLabel===!0||e.focused.value===!0||e.floatingLabel.value===!0):a.computed(()=>t.stackLabel===!0||e.focused.value===!0||e.hasValue.value===!0),d=a.computed(()=>t.bottomSlots===!0||t.hint!==void 0||f.value===!0||t.counter===!0||t.error!==null),b=a.computed(()=>t.filled===!0?"filled":t.outlined===!0?"outlined":t.borderless===!0?"borderless":t.standout?"standout":"standard"),_=a.computed(()=>`q-field row no-wrap items-start q-field--${b.value}`+(e.fieldClass!==void 0?` ${e.fieldClass.value}`:"")+(t.rounded===!0?" q-field--rounded":"")+(t.square===!0?" q-field--square":"")+(h.value===!0?" q-field--float":"")+(y.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":"")+(c.value===!0?" q-field--error":"")+(c.value===!0||e.focused.value===!0?" q-field--highlighted":"")+(t.hideBottomSpace!==!0&&d.value===!0?" q-field--with-bottom":"")+(t.disable===!0?" q-field--disabled":t.readonly===!0?" q-field--readonly":"")),p=a.computed(()=>"q-field__control relative-position row no-wrap"+(t.bgColor!==void 0?` bg-${t.bgColor}`:"")+(c.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}`:"")),y=a.computed(()=>t.labelSlot===!0||t.label!==void 0),C=a.computed(()=>"q-field__label no-pointer-events absolute ellipsis"+(t.labelColor!==void 0&&c.value!==!0?` text-${t.labelColor}`:"")),v=a.computed(()=>({id:e.targetUid.value,editable:e.editable.value,focused:e.focused.value,floatingLabel:h.value,modelValue:t.modelValue,emitValue:e.emitValue})),O=a.computed(()=>{const z={};return e.targetUid.value&&(z.for=e.targetUid.value),t.disable===!0&&(z["aria-disabled"]="true"),z});function D(){var ee;const z=document.activeElement;let G=(ee=e.targetRef)==null?void 0:ee.value;G&&(z===null||z.id!==e.targetUid.value)&&(G.hasAttribute("tabindex")===!0||(G=G.querySelector("[tabindex]")),G!==z&&(G==null||G.focus({preventScroll:!0})))}function k(){Po(D)}function B(){Df(D);const z=document.activeElement;z!==null&&e.rootRef.value.contains(z)&&z.blur()}function I(z){s!==null&&(clearTimeout(s),s=null),e.editable.value===!0&&e.focused.value===!1&&(e.focused.value=!0,n("focus",z))}function P(z,G){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",z)),G==null||G())})}function F(z){var G;He(z),i.platform.is.mobile!==!0?(((G=e.targetRef)==null?void 0:G.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),a.nextTick(()=>{const ee=u.value;g(),u.value=ee})}function N(z){[13,32].includes(z.keyCode)&&F(z)}function K(){const z=[];return o.prepend!==void 0&&z.push(a.h("div",{class:"q-field__prepend q-field__marginal row no-wrap items-center",key:"prepend",onClick:kt},o.prepend())),z.push(a.h("div",{class:"q-field__control-container col relative-position row no-wrap q-anchor--skip"},V())),c.value===!0&&t.noErrorIcon===!1&&z.push(W("error",[a.h(Ae,{name:i.iconSet.field.error,color:"negative"})])),t.loading===!0||e.innerLoading.value===!0?z.push(W("inner-loading-append",o.loading!==void 0?o.loading():[a.h(Xl,{color:t.color})])):t.clearable===!0&&e.hasValue.value===!0&&e.editable.value===!0&&z.push(W("inner-clearable-append",[a.h(Ae,{class:"q-field__focusable-action",name:t.clearIcon||i.iconSet.field.clear,tabindex:0,role:"button","aria-hidden":"false","aria-label":i.lang.label.clear,onKeyup:N,onClick:F})])),o.append!==void 0&&z.push(a.h("div",{class:"q-field__append q-field__marginal row no-wrap items-center",key:"append",onClick:kt},o.append())),e.getInnerAppend!==void 0&&z.push(W("inner-append",e.getInnerAppend())),e.getControlChild!==void 0&&z.push(e.getControlChild()),z}function V(){const z=[];return t.prefix!==void 0&&t.prefix!==null&&z.push(a.h("div",{class:"q-field__prefix no-pointer-events row items-center"},t.prefix)),e.getShadowControl!==void 0&&e.hasShadow.value===!0&&z.push(e.getShadowControl()),e.getControl!==void 0?z.push(e.getControl()):o.rawControl!==void 0?z.push(o.rawControl()):o.control!==void 0&&z.push(a.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(v.value))),y.value===!0&&z.push(a.h("div",{class:C.value},ve(o.label,t.label))),t.suffix!==void 0&&t.suffix!==null&&z.push(a.h("div",{class:"q-field__suffix no-pointer-events row items-center"},t.suffix)),z.concat(ve(o.default))}function J(){let z,G;c.value===!0?m.value!==null?(z=[a.h("div",{role:"alert"},m.value)],G=`q--slot-error-${m.value}`):(z=ve(o.error),G="q--slot-error"):(t.hideHint!==!0||e.focused.value===!0)&&(t.hint!==void 0?(z=[a.h("div",t.hint)],G=`q--slot-hint-${t.hint}`):(z=ve(o.hint),G="q--slot-hint"));const ee=t.counter===!0||o.counter!==void 0;if(t.hideBottomSpace===!0&&ee===!1&&z===void 0)return;const x=a.h("div",{key:G,class:"q-field__messages col"},z);return a.h("div",{class:"q-field__bottom row items-start q-field__bottom--"+(t.hideBottomSpace!==!0?"animated":"stale"),onClick:kt},[t.hideBottomSpace===!0?x:a.h(a.Transition,{name:"q-transition--field-message"},()=>x),ee===!0?a.h("div",{class:"q-field__counter"},o.counter!==void 0?o.counter():e.computedCounter.value):null])}function W(z,G){return G===null?null:a.h("div",{key:z,class:"q-field__append q-field__marginal row no-wrap items-center q-anchor--skip"},G)}let $=!1;return a.onDeactivated(()=>{$=!0}),a.onActivated(()=>{$===!0&&t.autofocus===!0&&l.focus()}),t.autofocus===!0&&a.onMounted(()=>{l.focus()}),a.onBeforeUnmount(()=>{s!==null&&clearTimeout(s)}),Object.assign(l,{focus:k,blur:B}),function(){const G=e.getControl===void 0&&o.control===void 0?{...e.splitAttrs.attributes.value,"data-autofocus":t.autofocus===!0||void 0,...O.value}:O.value;return a.h(e.tag.value,{ref:e.rootRef,class:[_.value,r.class],style:r.style,...G},[o.before!==void 0?a.h("div",{class:"q-field__before q-field__marginal row no-wrap items-center",onClick:kt},o.before()):null,a.h("div",{class:"q-field__inner relative-position col self-stretch"},[a.h("div",{ref:e.controlRef,class:p.value,tabindex:-1,...e.controlEvents},K()),d.value===!0?J():null]),o.after!==void 0?a.h("div",{class:"q-field__after q-field__marginal row no-wrap items-center",onClick:kt},o.after()):null])}}const If=ge({name:"QField",inheritAttrs:!1,props:{...Lo,tag:{type:String,default:"label"}},emits:Ur,setup(){return zr(Hr({tagProp:!0}))}});function Af(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 li(e,t,n,o){n.modifiers.stop===!0&&Dt(e);const r=n.modifiers.color;let l=n.modifiers.center;l=l===!0||o===!0;const i=document.createElement("span"),s=document.createElement("span"),u=Tl(e),{left:f,top:c,width:m,height:g}=t.getBoundingClientRect(),h=Math.sqrt(m*m+g*g),d=h/2,b=`${(m-h)/2}px`,_=l?b:`${u.left-f-d}px`,p=`${(g-h)/2}px`,y=l?p:`${u.top-c-d}px`;s.className="q-ripple__inner",Rr(s,{height:`${h}px`,width:`${h}px`,transform:`translate3d(${_},${y},0) scale3d(.2,.2,1)`,opacity:0}),i.className=`q-ripple${r?" text-"+r:""}`,i.setAttribute("dir","ltr"),i.appendChild(s),t.appendChild(i);const C=()=>{i.remove(),clearTimeout(v)};n.abort.push(C);let v=setTimeout(()=>{s.classList.add("q-ripple__inner--enter"),s.style.transform=`translate3d(${b},${p},0) scale3d(1,1,1)`,s.style.opacity=.2,v=setTimeout(()=>{s.classList.remove("q-ripple__inner--enter"),s.classList.add("q-ripple__inner--leave"),s.style.opacity=0,v=setTimeout(()=>{i.remove(),n.abort.splice(n.abort.indexOf(C),1)},275)},250)},50)}function ii(e,{modifiers:t,value:n,arg:o}){const r=Object.assign({},e.cfg.ripple,t,n);e.modifiers={early:r.early===!0,stop:r.stop===!0,center:r.center===!0,color:r.color||o,keyCodes:[].concat(r.keyCodes||13)}}const si=Pd({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(r){o.enabled===!0&&r.qSkipRipple!==!0&&r.type===(o.modifiers.early===!0?"pointerdown":"click")&&li(r,e,o,r.qKeyEvent===!0)},keystart:Af(r=>{o.enabled===!0&&r.qSkipRipple!==!0&&tn(r,o.modifiers.keyCodes)===!0&&r.type===`key${o.modifiers.early===!0?"down":"up"}`&&li(r,e,o,!0)},300)};ii(o,t),e.__qripple=o,zn(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&&ii(n,t))}},beforeUnmount(e){const t=e.__qripple;t!==void 0&&(t.abort.forEach(n=>{n()}),wo(t,"main"),delete e._qripple)}}),Pf={xs:8,sm:10,md:14,lg:20,xl:24},Lf=ge({name:"QChip",props:{...dt,...Wn,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}}=a.getCurrentInstance(),r=ft(e,o),l=Kn(e,Pf),i=a.computed(()=>e.selected===!0||e.icon!==void 0),s=a.computed(()=>e.selected===!0?e.iconSelected||o.iconSet.chip.selected:e.icon),u=a.computed(()=>e.iconRemove||o.iconSet.chip.remove),f=a.computed(()=>e.disable===!1&&(e.clickable===!0||e.selected!==null)),c=a.computed(()=>{const _=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}`:"")+(_?` text-${_} 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":"")+(f.value===!0?" q-chip--clickable cursor-pointer non-selectable q-hoverable":"")+(e.square===!0?" q-chip--square":"")+(r.value===!0?" q-chip--dark q-dark":"")}),m=a.computed(()=>{const _=e.disable===!0?{tabindex:-1,"aria-disabled":"true"}:{tabindex:e.tabindex||0},p={..._,role:"button","aria-hidden":"false","aria-label":e.removeAriaLabel||o.lang.label.remove};return{chip:_,remove:p}});function g(_){_.keyCode===13&&h(_)}function h(_){e.disable||(n("update:selected",!e.selected),n("click",_))}function d(_){(_.keyCode===void 0||_.keyCode===13)&&(He(_),e.disable===!1&&(n("update:modelValue",!1),n("remove")))}function b(){const _=[];f.value===!0&&_.push(a.h("div",{class:"q-focus-helper"})),i.value===!0&&_.push(a.h(Ae,{class:"q-chip__icon q-chip__icon--left",name:s.value}));const p=e.label!==void 0?[a.h("div",{class:"ellipsis"},[e.label])]:void 0;return _.push(a.h("div",{class:"q-chip__content col row no-wrap items-center q-anchor--skip"},Zd(t.default,p))),e.iconRight&&_.push(a.h(Ae,{class:"q-chip__icon q-chip__icon--right",name:e.iconRight})),e.removable===!0&&_.push(a.h(Ae,{class:"q-chip__icon q-chip__icon--remove cursor-pointer",name:u.value,...m.value.remove,onClick:d,onKeyup:d})),_}return()=>{if(e.modelValue===!1)return;const _={class:c.value,style:l.value};return f.value===!0&&Object.assign(_,m.value.chip,{onClick:h,onKeyup:g}),Jd("div",_,b(),"ripple",e.ripple!==!1&&e.disable!==!0,()=>[[si,e.ripple]])}}});function jr(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 Wr(e){return e.appContext.config.globalProperties.$router!==void 0}function ui(e){return e.isUnmounted===!0||e.isDeactivated===!0}function ci(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}function di(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Vf(e,t){for(const n in t){const o=t[n],r=e[n];if(typeof o=="string"){if(o!==r)return!1}else if(Array.isArray(r)===!1||r.length!==o.length||o.some((l,i)=>l!==r[i]))return!1}return!0}function fi(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 Rf(e,t){return Array.isArray(e)===!0?fi(e,t):Array.isArray(t)===!0?fi(t,e):e===t}function Bf(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(Rf(e[n],t[n])===!1)return!1;return!0}const mi={to:[String,Object],replace:Boolean,href:String,target:String,disable:Boolean},Mf={...mi,exact:Boolean,activeClass:{type:String,default:"q-router-link--active"},exactActiveClass:{type:String,default:"q-router-link--exact-active"}};function hi({fallbackTag:e,useDisableForRouterLinkProps:t=!0}={}){const n=a.getCurrentInstance(),{props:o,proxy:r,emit:l}=n,i=Wr(n),s=a.computed(()=>o.disable!==!0&&o.href!==void 0),u=t===!0?a.computed(()=>i===!0&&o.disable!==!0&&s.value!==!0&&o.to!==void 0&&o.to!==null&&o.to!==""):a.computed(()=>i===!0&&s.value!==!0&&o.to!==void 0&&o.to!==null&&o.to!==""),f=a.computed(()=>u.value===!0?y(o.to):null),c=a.computed(()=>f.value!==null),m=a.computed(()=>s.value===!0||c.value===!0),g=a.computed(()=>o.type==="a"||m.value===!0?"a":o.tag||e||"div"),h=a.computed(()=>s.value===!0?{href:o.href,target:o.target}:c.value===!0?{href:f.value.href,target:o.target}:{}),d=a.computed(()=>{if(c.value===!1)return-1;const{matched:O}=f.value,{length:D}=O,k=O[D-1];if(k===void 0)return-1;const B=r.$route.matched;if(B.length===0)return-1;const I=B.findIndex(di.bind(null,k));if(I!==-1)return I;const P=ci(O[D-2]);return D>1&&ci(k)===P&&B[B.length-1].path!==P?B.findIndex(di.bind(null,O[D-2])):I}),b=a.computed(()=>c.value===!0&&d.value!==-1&&Vf(r.$route.params,f.value.params)),_=a.computed(()=>b.value===!0&&d.value===r.$route.matched.length-1&&Bf(r.$route.params,f.value.params)),p=a.computed(()=>c.value===!0?_.value===!0?` ${o.exactActiveClass} ${o.activeClass}`:o.exact===!0?"":b.value===!0?` ${o.activeClass}`:"":"");function y(O){try{return r.$router.resolve(O)}catch{}return null}function C(O,{returnRouterError:D,to:k=o.to,replace:B=o.replace}={}){if(o.disable===!0)return O.preventDefault(),Promise.resolve(!1);if(O.metaKey||O.altKey||O.ctrlKey||O.shiftKey||O.button!==void 0&&O.button!==0||o.target==="_blank")return Promise.resolve(!1);O.preventDefault();const I=r.$router[B===!0?"replace":"push"](k);return D===!0?I:I.then(()=>{}).catch(()=>{})}function v(O){if(c.value===!0){const D=k=>C(O,k);l("click",O,D),O.defaultPrevented!==!0&&D()}else l("click",O)}return{hasRouterLink:c,hasHrefLink:s,hasLink:m,linkTag:g,resolvedLink:f,linkIsActive:b,linkIsExactActive:_,linkClass:p,linkAttrs:h,getLink:y,navigateToRouterLink:C,navigateOnClick:v}}const yt=ge({name:"QItem",props:{...dt,...Mf,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}}=a.getCurrentInstance(),r=ft(e,o),{hasLink:l,linkAttrs:i,linkClass:s,linkTag:u,navigateOnClick:f}=hi(),c=a.ref(null),m=a.ref(null),g=a.computed(()=>e.clickable===!0||l.value===!0||e.tag==="label"),h=a.computed(()=>e.disable!==!0&&g.value===!0),d=a.computed(()=>"q-item q-item-type row no-wrap"+(e.dense===!0?" q-item--dense":"")+(r.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":"")+(h.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":""):"")),b=a.computed(()=>e.insetLevel===void 0?null:{["padding"+(o.lang.rtl===!0?"Right":"Left")]:16+e.insetLevel*56+"px"});function _(C){h.value===!0&&(m.value!==null&&C.qAvoidFocus!==!0&&(C.qKeyEvent!==!0&&document.activeElement===c.value?m.value.focus():document.activeElement===m.value&&c.value.focus()),f(C))}function p(C){if(h.value===!0&&tn(C,[13,32])===!0){He(C),C.qKeyEvent=!0;const v=new MouseEvent("click",C);v.qKeyEvent=!0,c.value.dispatchEvent(v)}n("keyup",C)}function y(){const C=Vl(t.default,[]);return h.value===!0&&C.unshift(a.h("div",{class:"q-focus-helper",tabindex:-1,ref:m})),C}return()=>{const C={ref:c,class:d.value,style:b.value,role:"listitem",onClick:_,onKeyup:p};return h.value===!0?(C.tabindex=e.tabindex||"0",Object.assign(C,i.value)):g.value===!0&&(C["aria-disabled"]="true"),a.h(u.value,C,y())}}}),tt=ge({name:"QItemSection",props:{avatar:Boolean,thumbnail:Boolean,side:Boolean,top:Boolean,noWrap:Boolean},setup(e,{slots:t}){const n=a.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()=>a.h("div",{class:n.value},ve(t.default))}}),Xe=ge({name:"QItemLabel",props:{overline:Boolean,caption:Boolean,header:Boolean,lines:[Number,String]},setup(e,{slots:t}){const n=a.computed(()=>parseInt(e.lines,10)),o=a.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":"")),r=a.computed(()=>e.lines!==void 0&&n.value>1?{overflow:"hidden",display:"-webkit-box","-webkit-box-orient":"vertical","-webkit-line-clamp":n.value}:null);return()=>a.h("div",{style:r.value,class:o.value},ve(t.default))}});function Kr(){if(window.getSelection!==void 0){const e=window.getSelection();e.empty!==void 0?e.empty():e.removeAllRanges!==void 0&&(e.removeAllRanges(),Co.is.mobile!==!0&&e.addRange(document.createRange()))}else document.selection!==void 0&&document.selection.empty()}const gi={target:{type:[Boolean,String,Element],default:!0},noParentEvent:Boolean},Ff={...gi,contextMenu:Boolean};function pi({showing:e,avoidEmit:t,configureAnchorEl:n}){const{props:o,proxy:r,emit:l}=a.getCurrentInstance(),i=a.ref(null);let s=null;function u(h){return i.value===null?!1:h===void 0||h.touches===void 0||h.touches.length<=1}const f={};n===void 0&&(Object.assign(f,{hide(h){r.hide(h)},toggle(h){r.toggle(h),h.qAnchorHandled=!0},toggleKey(h){tn(h,13)===!0&&f.toggle(h)},contextClick(h){r.hide(h),kt(h),a.nextTick(()=>{r.show(h),h.qAnchorHandled=!0})},prevent:kt,mobileTouch(h){if(f.mobileCleanup(h),u(h)!==!0)return;r.hide(h),i.value.classList.add("non-selectable");const d=h.target;zn(f,"anchor",[[d,"touchmove","mobileCleanup","passive"],[d,"touchend","mobileCleanup","passive"],[d,"touchcancel","mobileCleanup","passive"],[i.value,"contextmenu","prevent","notPassive"]]),s=setTimeout(()=>{s=null,r.show(h),h.qAnchorHandled=!0},300)},mobileCleanup(h){i.value.classList.remove("non-selectable"),s!==null&&(clearTimeout(s),s=null),e.value===!0&&h!==void 0&&Kr()}}),n=function(h=o.contextMenu){if(o.noParentEvent===!0||i.value===null)return;let d;h===!0?r.$q.platform.is.mobile===!0?d=[[i.value,"touchstart","mobileTouch","passive"]]:d=[[i.value,"mousedown","hide","passive"],[i.value,"contextmenu","contextClick","notPassive"]]:d=[[i.value,"click","toggle","passive"],[i.value,"keyup","toggleKey","passive"]],zn(f,"anchor",d)});function c(){wo(f,"anchor")}function m(h){for(i.value=h;i.value.classList.contains("q-anchor--skip");)i.value=i.value.parentNode;n()}function g(){if(o.target===!1||o.target===""||r.$el.parentNode===null)i.value=null;else if(o.target===!0)m(r.$el.parentNode);else{let h=o.target;if(typeof o.target=="string")try{h=document.querySelector(o.target)}catch{h=void 0}h!=null?(i.value=h.$el||h,n()):(i.value=null,console.error(`Anchor: target "${o.target}" not found`))}}return a.watch(()=>o.contextMenu,h=>{i.value!==null&&(c(),n(h))}),a.watch(()=>o.target,()=>{i.value!==null&&c(),g()}),a.watch(()=>o.noParentEvent,h=>{i.value!==null&&(h===!0?c():n())}),a.onMounted(()=>{g(),t!==!0&&o.modelValue===!0&&i.value===null&&l("update:modelValue",!1)}),a.onBeforeUnmount(()=>{s!==null&&clearTimeout(s),c()}),{anchorEl:i,canShow:u,anchorEvents:f}}function _i(e,t){const n=a.ref(null);let o;function r(s,u){const f=`${u!==void 0?"add":"remove"}EventListener`,c=u!==void 0?u:o;s!==window&&s[f]("scroll",c,Je.passive),window[f]("scroll",c,Je.passive),o=u}function l(){n.value!==null&&(r(n.value),n.value=null)}const i=a.watch(()=>e.noParentEvent,()=>{n.value!==null&&(l(),t())});return a.onBeforeUnmount(i),{localScrollTarget:n,unconfigureScrollTarget:l,changeScrollEvent:r}}const Yr={modelValue:{type:Boolean,default:null},"onUpdate:modelValue":[Function,Array]},Gr=["beforeShow","show","beforeHide","hide"];function Qr({showing:e,canShow:t,hideOnRouteChange:n,handleShow:o,handleHide:r,processOnMount:l}){const i=a.getCurrentInstance(),{props:s,emit:u,proxy:f}=i;let c;function m(y){e.value===!0?d(y):g(y)}function g(y){if(s.disable===!0||(y==null?void 0:y.qAnchorHandled)===!0||t!==void 0&&t(y)!==!0)return;const C=s["onUpdate:modelValue"]!==void 0;C===!0&&(u("update:modelValue",!0),c=y,a.nextTick(()=>{c===y&&(c=void 0)})),(s.modelValue===null||C===!1)&&h(y)}function h(y){e.value!==!0&&(e.value=!0,u("beforeShow",y),o!==void 0?o(y):u("show",y))}function d(y){if(s.disable===!0)return;const C=s["onUpdate:modelValue"]!==void 0;C===!0&&(u("update:modelValue",!1),c=y,a.nextTick(()=>{c===y&&(c=void 0)})),(s.modelValue===null||C===!1)&&b(y)}function b(y){e.value!==!1&&(e.value=!1,u("beforeHide",y),r!==void 0?r(y):u("hide",y))}function _(y){s.disable===!0&&y===!0?s["onUpdate:modelValue"]!==void 0&&u("update:modelValue",!1):y===!0!==e.value&&(y===!0?h:b)(c)}a.watch(()=>s.modelValue,_),n!==void 0&&Wr(i)===!0&&a.watch(()=>f.$route.fullPath,()=>{n.value===!0&&e.value===!0&&d()}),a.onMounted(()=>{_(s.modelValue)});const p={show:g,hide:d,toggle:m};return Object.assign(f,p),p}let qf=1,$f=document.body;function Uf(e,t){const n=document.createElement("div");if(n.id=t!==void 0?`q-portal--${t}--${qf++}`:e,To.globalNodes!==void 0){const o=To.globalNodes.class;o!==void 0&&(n.className=o)}return $f.appendChild(n),n}function Hf(e){e.remove()}const Xn=[];function zf(e,t){do{if(e.$options.name==="QMenu"){if(e.hide(t),e.$props.separateClosePopup===!0)return jr(e)}else if(e.__qPortal===!0){const n=jr(e);return(n==null?void 0:n.$options.name)==="QPopupProxy"?(e.hide(t),n):e}e=jr(e)}while(e!=null)}const jf=ge({name:"QPortal",setup(e,{slots:t}){return()=>t.default()}});function Wf(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 Xr(e,t,n,o){const r=a.ref(!1),l=a.ref(!1);let i=null;const s={},u=o==="dialog"&&Wf(e);function f(m){if(m===!0){ai(s),l.value=!0;return}l.value=!1,r.value===!1&&(u===!1&&i===null&&(i=Uf(!1,o)),r.value=!0,Xn.push(e.proxy),Nf(s))}function c(m){if(l.value=!1,m!==!0)return;ai(s),r.value=!1;const g=Xn.indexOf(e.proxy);g!==-1&&Xn.splice(g,1),i!==null&&(Hf(i),i=null)}return a.onUnmounted(()=>{c(!0)}),e.proxy.__qPortal=!0,gt(e.proxy,"contentEl",()=>t.value),{showPortal:f,hidePortal:c,portalIsActive:r,portalIsAccessible:l,renderPortal:()=>u===!0?n():r.value===!0?[a.h(a.Teleport,{to:i},a.h(jf,n))]:void 0}}const Zn={transitionShow:{type:String,default:"fade"},transitionHide:{type:String,default:"fade"},transitionDuration:{type:[String,Number],default:300}};function Zr(e,t=()=>{},n=()=>{}){return{transitionProps:a.computed(()=>{const o=`q-transition--${e.transitionShow||t()}`,r=`q-transition--${e.transitionHide||n()}`;return{appear:!0,enterFromClass:`${o}-enter-from`,enterActiveClass:`${o}-enter-active`,enterToClass:`${o}-enter-to`,leaveFromClass:`${r}-leave-from`,leaveActiveClass:`${r}-leave-active`,leaveToClass:`${r}-leave-to`}}),transitionStyle:a.computed(()=>`--q-transition-duration: ${e.transitionDuration}ms`)}}function Jr(){let e;const t=a.getCurrentInstance();function n(){e=void 0}return a.onDeactivated(n),a.onBeforeUnmount(n),{removeTick:n,registerTick(o){e=o,a.nextTick(()=>{e===o&&(ui(t)===!1&&e(),e=void 0)})}}}function ea(){let e=null;const t=a.getCurrentInstance();function n(){e!==null&&(clearTimeout(e),e=null)}return a.onDeactivated(n),a.onBeforeUnmount(n),{removeTimeout:n,registerTimeout(o,r){n(),ui(t)===!1&&(e=setTimeout(()=>{e=null,o()},r))}}}const on=[];let vn;function Kf(e){vn=e.keyCode===27}function Yf(){vn===!0&&(vn=!1)}function Gf(e){vn===!0&&(vn=!1,tn(e,27)===!0&&on[on.length-1](e))}function bi(e){window[e]("keydown",Kf),window[e]("blur",Yf),window[e]("keyup",Gf),vn=!1}function yi(e){Ue.is.desktop===!0&&(on.push(e),on.length===1&&bi("addEventListener"))}function Vo(e){const t=on.indexOf(e);t!==-1&&(on.splice(t,1),on.length===0&&bi("removeEventListener"))}const rn=[];function vi(e){rn[rn.length-1](e)}function Ei(e){Ue.is.desktop===!0&&(rn.push(e),rn.length===1&&document.body.addEventListener("focusin",vi))}function ta(e){const t=rn.indexOf(e);t!==-1&&(rn.splice(t,1),rn.length===0&&document.body.removeEventListener("focusin",vi))}const{notPassiveCapture:Ro}=Je,an=[];function Bo(e){const t=e.target;if(t===void 0||t.nodeType===8||t.classList.contains("no-pointer-events")===!0)return;let n=Xn.length-1;for(;n>=0;){const o=Xn[n].$;if(o.type.name==="QTooltip"){n--;continue}if(o.type.name!=="QDialog")break;if(o.props.seamless!==!0)return;n--}for(let o=an.length-1;o>=0;o--){const r=an[o];if((r.anchorEl.value===null||r.anchorEl.value.contains(t)===!1)&&(t===document.body||r.innerRef.value!==null&&r.innerRef.value.contains(t)===!1))e.qClickOutside=!0,r.onClickOutside(e);else return}}function Ci(e){an.push(e),an.length===1&&(document.addEventListener("mousedown",Bo,Ro),document.addEventListener("touchstart",Bo,Ro))}function Mo(e){const t=an.findIndex(n=>n===e);t!==-1&&(an.splice(t,1),an.length===0&&(document.removeEventListener("mousedown",Bo,Ro),document.removeEventListener("touchstart",Bo,Ro)))}let Si,wi;function Fo(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 ki(e){return e?!(e.length!==2||typeof e[0]!="number"||typeof e[1]!="number"):!0}const na={"start#ltr":"left","start#rtl":"right","end#ltr":"right","end#rtl":"left"};["left","middle","right"].forEach(e=>{na[`${e}#ltr`]=e,na[`${e}#rtl`]=e});function qo(e,t){const n=e.split(" ");return{vertical:n[0],horizontal:na[`${n[1]}#${t===!0?"rtl":"ltr"}`]}}function Qf(e,t){let{top:n,left:o,right:r,bottom:l,width:i,height:s}=e.getBoundingClientRect();return t!==void 0&&(n-=t[1],o-=t[0],l+=t[1],r+=t[0],i+=t[0],s+=t[1]),{top:n,bottom:l,height:s,left:o,right:r,width:i,middle:o+(r-o)/2,center:n+(l-n)/2}}function Xf(e,t,n){let{top:o,left:r}=e.getBoundingClientRect();return o+=t.top,r+=t.left,n!==void 0&&(o+=n[1],r+=n[0]),{top:o,bottom:o+1,height:1,left:r,right:r+1,width:1,middle:r,center:o}}function Zf(e,t){return{top:0,center:t/2,bottom:t,left:0,middle:e/2,right:e}}function Ti(e,t,n,o){return{top:e[n.vertical]-t[o.vertical],left:e[n.horizontal]-t[o.horizontal]}}function oa(e,t=0){if(e.targetEl===null||e.anchorEl===null||t>5)return;if(e.targetEl.offsetHeight===0||e.targetEl.offsetWidth===0){setTimeout(()=>{oa(e,t+1)},10);return}const{targetEl:n,offset:o,anchorEl:r,anchorOrigin:l,selfOrigin:i,absoluteOffset:s,fit:u,cover:f,maxHeight:c,maxWidth:m}=e;if(Ue.is.ios===!0&&window.visualViewport!==void 0){const D=document.body.style,{offsetLeft:k,offsetTop:B}=window.visualViewport;k!==Si&&(D.setProperty("--q-pe-left",k+"px"),Si=k),B!==wi&&(D.setProperty("--q-pe-top",B+"px"),wi=B)}const{scrollLeft:g,scrollTop:h}=n,d=s===void 0?Qf(r,f===!0?[0,0]:o):Xf(r,s,o);Object.assign(n.style,{top:0,left:0,minWidth:null,minHeight:null,maxWidth:m,maxHeight:c,visibility:"visible"});const{offsetWidth:b,offsetHeight:_}=n,{elWidth:p,elHeight:y}=u===!0||f===!0?{elWidth:Math.max(d.width,b),elHeight:f===!0?Math.max(d.height,_):_}:{elWidth:b,elHeight:_};let C={maxWidth:m,maxHeight:c};(u===!0||f===!0)&&(C.minWidth=d.width+"px",f===!0&&(C.minHeight=d.height+"px")),Object.assign(n.style,C);const v=Zf(p,y);let O=Ti(d,v,l,i);if(s===void 0||o===void 0)ra(O,d,v,l,i);else{const{top:D,left:k}=O;ra(O,d,v,l,i);let B=!1;if(O.top!==D){B=!0;const I=2*o[1];d.center=d.top-=I,d.bottom-=I+2}if(O.left!==k){B=!0;const I=2*o[0];d.middle=d.left-=I,d.right-=I+2}B===!0&&(O=Ti(d,v,l,i),ra(O,d,v,l,i))}C={top:O.top+"px",left:O.left+"px"},O.maxHeight!==void 0&&(C.maxHeight=O.maxHeight+"px",d.height>O.maxHeight&&(C.minHeight=C.maxHeight)),O.maxWidth!==void 0&&(C.maxWidth=O.maxWidth+"px",d.width>O.maxWidth&&(C.minWidth=C.maxWidth)),Object.assign(n.style,C),n.scrollTop!==h&&(n.scrollTop=h),n.scrollLeft!==g&&(n.scrollLeft=g)}function ra(e,t,n,o,r){const l=n.bottom,i=n.right,s=pf(),u=window.innerHeight-s,f=document.body.clientWidth;if(e.top<0||e.top+l>u)if(r.vertical==="center")e.top=t[o.vertical]>u/2?Math.max(0,u-l):0,e.maxHeight=Math.min(l,u);else if(t[o.vertical]>u/2){const c=Math.min(u,o.vertical==="center"?t.center:o.vertical===r.vertical?t.bottom:t.top);e.maxHeight=Math.min(l,c),e.top=Math.max(0,c-l)}else e.top=Math.max(0,o.vertical==="center"?t.center:o.vertical===r.vertical?t.top:t.bottom),e.maxHeight=Math.min(l,u-e.top);if(e.left<0||e.left+i>f)if(e.maxWidth=Math.min(i,f),r.horizontal==="middle")e.left=t[o.horizontal]>f/2?Math.max(0,f-i):0;else if(t[o.horizontal]>f/2){const c=Math.min(f,o.horizontal==="middle"?t.middle:o.horizontal===r.horizontal?t.right:t.left);e.maxWidth=Math.min(i,c),e.left=Math.max(0,c-e.maxWidth)}else e.left=Math.max(0,o.horizontal==="middle"?t.middle:o.horizontal===r.horizontal?t.left:t.right),e.maxWidth=Math.min(i,f-e.left)}const Oi=ge({name:"QMenu",inheritAttrs:!1,props:{...Ff,...Yr,...dt,...Zn,persistent:Boolean,autoClose:Boolean,separateClosePopup:Boolean,noEscDismiss:Boolean,noRouteDismiss:Boolean,noRefocus:Boolean,noFocus:Boolean,fit:Boolean,cover:Boolean,square:Boolean,anchor:{type:String,validator:Fo},self:{type:String,validator:Fo},offset:{type:Array,validator:ki},scrollTarget:Br,touchPosition:Boolean,maxHeight:{type:String,default:null},maxWidth:{type:String,default:null}},emits:[...Gr,"click","escapeKey"],setup(e,{slots:t,emit:n,attrs:o}){let r=null,l,i,s;const u=a.getCurrentInstance(),{proxy:f}=u,{$q:c}=f,m=a.ref(null),g=a.ref(!1),h=a.computed(()=>e.persistent!==!0&&e.noRouteDismiss!==!0),d=ft(e,c),{registerTick:b,removeTick:_}=Jr(),{registerTimeout:p}=ea(),{transitionProps:y,transitionStyle:C}=Zr(e),{localScrollTarget:v,changeScrollEvent:O,unconfigureScrollTarget:D}=_i(e,H),{anchorEl:k,canShow:B}=pi({showing:g}),{hide:I}=Qr({showing:g,canShow:B,handleShow:ee,handleHide:x,hideOnRouteChange:h,processOnMount:!0}),{showPortal:P,hidePortal:F,renderPortal:N}=Xr(u,m,pe,"menu"),K={anchorEl:k,innerRef:m,onClickOutside(j){if(e.persistent!==!0&&g.value===!0)return I(j),(j.type==="touchstart"||j.target.classList.contains("q-dialog__backdrop"))&&He(j),!0}},V=a.computed(()=>qo(e.anchor||(e.cover===!0?"center middle":"bottom start"),c.lang.rtl)),J=a.computed(()=>e.cover===!0?V.value:qo(e.self||"top start",c.lang.rtl)),W=a.computed(()=>(e.square===!0?" q-menu--square":"")+(d.value===!0?" q-menu--dark q-dark":"")),$=a.computed(()=>e.autoClose===!0?{onClick:re}:{}),z=a.computed(()=>g.value===!0&&e.persistent!==!0);a.watch(z,j=>{j===!0?(yi(q),Ci(K)):(Vo(q),Mo(K))});function G(){Po(()=>{let j=m.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 ee(j){if(r=e.noRefocus===!1?document.activeElement:null,Ei(ae),P(),H(),l=void 0,j!==void 0&&(e.touchPosition||e.contextMenu)){const Ce=Tl(j);if(Ce.left!==void 0){const{top:Ve,left:Ct}=k.value.getBoundingClientRect();l={left:Ce.left-Ct,top:Ce.top-Ve}}}i===void 0&&(i=a.watch(()=>c.screen.width+"|"+c.screen.height+"|"+e.self+"|"+e.anchor+"|"+c.lang.rtl,Q)),e.noFocus!==!0&&document.activeElement.blur(),b(()=>{Q(),e.noFocus!==!0&&G()}),p(()=>{c.platform.is.ios===!0&&(s=e.autoClose,m.value.click()),Q(),P(!0),n("show",j)},e.transitionDuration)}function x(j){_(),F(),T(!0),r!==null&&(j===void 0||j.qClickOutside!==!0)&&((((j==null?void 0:j.type.indexOf("key"))===0?r.closest('[tabindex]:not([tabindex^="-"])'):void 0)||r).focus(),r=null),p(()=>{F(!0),n("hide",j)},e.transitionDuration)}function T(j){l=void 0,i!==void 0&&(i(),i=void 0),(j===!0||g.value===!0)&&(ta(ae),D(),Mo(K),Vo(q)),j!==!0&&(r=null)}function H(){(k.value!==null||e.scrollTarget!==void 0)&&(v.value=Mr(k.value,e.scrollTarget),O(v.value,Q))}function re(j){s!==!0?(zf(f,j),n("click",j)):s=!1}function ae(j){z.value===!0&&e.noFocus!==!0&&Yl(m.value,j.target)!==!0&&G()}function q(j){e.noEscDismiss!==!0&&(n("escapeKey"),I(j))}function Q(){oa({targetEl:m.value,offset:e.offset,anchorEl:k.value,anchorOrigin:V.value,selfOrigin:J.value,absoluteOffset:l,fit:e.fit,cover:e.cover,maxHeight:e.maxHeight,maxWidth:e.maxWidth})}function pe(){return a.h(a.Transition,y.value,()=>g.value===!0?a.h("div",{role:"menu",...o,ref:m,tabindex:-1,class:["q-menu q-position-engine scroll"+W.value,o.class],style:[o.style,C.value],...$.value},ve(t.default)):null)}return a.onBeforeUnmount(T),Object.assign(f,{focus:G,updatePosition:Q}),N}});function Jf(e,t,n){let o;function r(){o!==void 0&&(jn.remove(o),o=void 0)}return a.onBeforeUnmount(()=>{e.value===!0&&r()}),{removeFromHistory:r,addToHistory(){o={condition:()=>n.value===!0,handler:t},jn.add(o)}}}let Jn=0,aa,la,eo,ia=!1,xi,Ni,Di,ln=null;function em(e){tm(e)&&He(e)}function tm(e){if(e.target===document.body||e.target.classList.contains("q-layout__backdrop"))return!0;const t=Ld(e),n=e.shiftKey&&!e.deltaX,o=!n&&Math.abs(e.deltaX)<=Math.abs(e.deltaY),r=n||o?e.deltaY:e.deltaX;for(let l=0;l<t.length;l++){const i=t[l];if(_f(i,o))return o?r<0&&i.scrollTop===0?!0:r>0&&i.scrollTop+i.clientHeight===i.scrollHeight:r<0&&i.scrollLeft===0?!0:r>0&&i.scrollLeft+i.clientWidth===i.scrollWidth}return!0}function Ii(e){e.target===document&&(document.scrollingElement.scrollTop=document.scrollingElement.scrollTop)}function $o(e){ia!==!0&&(ia=!0,requestAnimationFrame(()=>{ia=!1;const{height:t}=e.target,{clientHeight:n,scrollTop:o}=document.scrollingElement;(eo===void 0||t!==window.innerHeight)&&(eo=n-t,document.scrollingElement.scrollTop=o),o>eo&&(document.scrollingElement.scrollTop-=Math.ceil((o-eo)/8))}))}function Ai(e){const t=document.body,n=window.visualViewport!==void 0;if(e==="add"){const{overflowY:o,overflowX:r}=window.getComputedStyle(t);aa=gf(window),la=hf(window),xi=t.style.left,Ni=t.style.top,Di=window.location.href,t.style.left=`-${aa}px`,t.style.top=`-${la}px`,r!=="hidden"&&(r==="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,Ue.is.ios===!0&&(n===!0?(window.scrollTo(0,0),window.visualViewport.addEventListener("resize",$o,Je.passiveCapture),window.visualViewport.addEventListener("scroll",$o,Je.passiveCapture),window.scrollTo(0,0)):window.addEventListener("scroll",Ii,Je.passiveCapture))}Ue.is.desktop===!0&&Ue.is.mac===!0&&window[`${e}EventListener`]("wheel",em,Je.notPassive),e==="remove"&&(Ue.is.ios===!0&&(n===!0?(window.visualViewport.removeEventListener("resize",$o,Je.passiveCapture),window.visualViewport.removeEventListener("scroll",$o,Je.passiveCapture)):window.removeEventListener("scroll",Ii,Je.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=xi,t.style.top=Ni,window.location.href===Di&&window.scrollTo(aa,la),eo=void 0)}function nm(e){let t="add";if(e===!0){if(Jn++,ln!==null){clearTimeout(ln),ln=null;return}if(Jn>1)return}else{if(Jn===0||(Jn--,Jn>0))return;if(t="remove",Ue.is.ios===!0&&Ue.is.nativeMobile===!0){ln!==null&&clearTimeout(ln),ln=setTimeout(()=>{Ai(t),ln=null},100);return}}Ai(t)}function om(){let e;return{preventBodyScroll(t){t!==e&&(e!==void 0||t===!0)&&(e=t,nm(t))}}}let Uo=0;const rm={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"},Pi={standard:["scale","scale"],top:["slide-down","slide-up"],bottom:["slide-up","slide-down"],right:["slide-left","slide-right"],left:["slide-right","slide-left"]},to=ge({name:"QDialog",inheritAttrs:!1,props:{...Yr,...Zn,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:[...Gr,"shake","click","escapeKey"],setup(e,{slots:t,emit:n,attrs:o}){const r=a.getCurrentInstance(),l=a.ref(null),i=a.ref(!1),s=a.ref(!1);let u=null,f=null,c,m;const g=a.computed(()=>e.persistent!==!0&&e.noRouteDismiss!==!0&&e.seamless!==!0),{preventBodyScroll:h}=om(),{registerTimeout:d}=ea(),{registerTick:b,removeTick:_}=Jr(),{transitionProps:p,transitionStyle:y}=Zr(e,()=>Pi[e.position][0],()=>Pi[e.position][1]),C=a.computed(()=>y.value+(e.backdropFilter!==void 0?`;backdrop-filter:${e.backdropFilter};-webkit-backdrop-filter:${e.backdropFilter}`:"")),{showPortal:v,hidePortal:O,portalIsAccessible:D,renderPortal:k}=Xr(r,l,ae,"dialog"),{hide:B}=Qr({showing:i,hideOnRouteChange:g,handleShow:J,handleHide:W,processOnMount:!0}),{addToHistory:I,removeFromHistory:P}=Jf(i,B,g),F=a.computed(()=>`q-dialog__inner flex no-pointer-events q-dialog__inner--${e.maximized===!0?"maximized":"minimized"} q-dialog__inner--${e.position} ${rm[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":"")),N=a.computed(()=>i.value===!0&&e.seamless!==!0),K=a.computed(()=>e.autoClose===!0?{onClick:T}:{}),V=a.computed(()=>[`q-dialog fullscreen no-pointer-events q-dialog--${N.value===!0?"modal":"seamless"}`,o.class]);a.watch(()=>e.maximized,q=>{i.value===!0&&x(q)}),a.watch(N,q=>{h(q),q===!0?(Ei(re),yi(G)):(ta(re),Vo(G))});function J(q){var Q;I(),f=e.noRefocus===!1&&document.activeElement!==null?document.activeElement:null,x(e.maximized),v(),s.value=!0,e.noFocus!==!0?((Q=document.activeElement)==null||Q.blur(),b($)):_(),d(()=>{if(r.proxy.$q.platform.is.ios===!0){if(e.seamless!==!0&&document.activeElement){const{top:pe,bottom:j}=document.activeElement.getBoundingClientRect(),{innerHeight:Ce}=window,Ve=window.visualViewport!==void 0?window.visualViewport.height:Ce;pe>0&&j>Ve/2&&(document.scrollingElement.scrollTop=Math.min(document.scrollingElement.scrollHeight-Ve,j>=Ce?1/0:Math.ceil(document.scrollingElement.scrollTop+j-Ve/2))),document.activeElement.scrollIntoView()}m=!0,l.value.click(),m=!1}v(!0),s.value=!1,n("show",q)},e.transitionDuration)}function W(q){_(),P(),ee(!0),s.value=!0,O(),f!==null&&((((q==null?void 0:q.type.indexOf("key"))===0?f.closest('[tabindex]:not([tabindex^="-"])'):void 0)||f).focus(),f=null),d(()=>{O(!0),s.value=!1,n("hide",q)},e.transitionDuration)}function $(q){Po(()=>{let Q=l.value;if(Q!==null){if(q!==void 0){const pe=Q.querySelector(q);if(pe!==null){pe.focus({preventScroll:!0});return}}Q.contains(document.activeElement)!==!0&&(Q=Q.querySelector("[autofocus][tabindex], [data-autofocus][tabindex]")||Q.querySelector("[autofocus] [tabindex], [data-autofocus] [tabindex]")||Q.querySelector("[autofocus], [data-autofocus]")||Q,Q.focus({preventScroll:!0}))}})}function z(q){q&&typeof q.focus=="function"?q.focus({preventScroll:!0}):$(),n("shake");const Q=l.value;Q!==null&&(Q.classList.remove("q-animate--scale"),Q.classList.add("q-animate--scale"),u!==null&&clearTimeout(u),u=setTimeout(()=>{u=null,l.value!==null&&(Q.classList.remove("q-animate--scale"),$())},170))}function G(){e.seamless!==!0&&(e.persistent===!0||e.noEscDismiss===!0?e.maximized!==!0&&e.noShake!==!0&&z():(n("escapeKey"),B()))}function ee(q){u!==null&&(clearTimeout(u),u=null),(q===!0||i.value===!0)&&(x(!1),e.seamless!==!0&&(h(!1),ta(re),Vo(G))),q!==!0&&(f=null)}function x(q){q===!0?c!==!0&&(Uo<1&&document.body.classList.add("q-body--dialog"),Uo++,c=!0):c===!0&&(Uo<2&&document.body.classList.remove("q-body--dialog"),Uo--,c=!1)}function T(q){m!==!0&&(B(q),n("click",q))}function H(q){e.persistent!==!0&&e.noBackdropDismiss!==!0?B(q):e.noShake!==!0&&z()}function re(q){e.allowFocusOutside!==!0&&D.value===!0&&Yl(l.value,q.target)!==!0&&$('[tabindex]:not([tabindex="-1"])')}Object.assign(r.proxy,{focus:$,shake:z,__updateRefocusTarget(q){f=q||null}}),a.onBeforeUnmount(ee);function ae(){return a.h("div",{role:"dialog","aria-modal":N.value===!0?"true":"false",...o,class:V.value},[a.h(a.Transition,{name:"q-transition--fade",appear:!0},()=>N.value===!0?a.h("div",{class:"q-dialog__backdrop fixed-full",style:C.value,"aria-hidden":"true",tabindex:-1,onClick:H}):null),a.h(a.Transition,p.value,()=>i.value===!0?a.h("div",{ref:l,class:F.value,style:y.value,tabindex:-1,...K.value},ve(t.default)):null)])}return k}}),sa={name:String};function am(e={}){return(t,n,o)=>{t[n](a.h("input",{class:"hidden"+(o||""),...e.value}))}}function Li(e){return a.computed(()=>e.name||e.for)}const lm=/[\u3000-\u303f\u3040-\u309f\u30a0-\u30ff\uff00-\uff9f\u4e00-\u9faf\u3400-\u4dbf]/,im=/[\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,sm=/[\u3131-\u314e\u314f-\u3163\uac00-\ud7a3]/,um=/[a-z0-9_ -]$/i;function Vi(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"&&(Ue.is.firefox===!0?um.test(n.data)===!1:lm.test(n.data)===!0||im.test(n.data)===!0||sm.test(n.data)===!0)===!0&&(n.target.qComposing=!0)}}function cm(e){return e.charAt(0).toUpperCase()+e.slice(1)}function Ri(e,t,n){if(n<=t)return t;const o=n-t+1;let r=t+(e-t)%o;return r<t&&(r=o+r),r===0?0:r}function ze(e,t=2,n="0"){if(e==null)return e;const o=""+e;return o.length>=t?o:new Array(t-o.length+1).join(n)+o}const Bi=e=>["add","add-unique","toggle"].includes(e),dm=".*+?^${}()|[]\\",fm=Object.keys(Lo);function ua(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 ca=ge({name:"QSelect",inheritAttrs:!1,props:{...Vr,...sa,...Lo,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:Bi},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:Vr.virtualScrollItemSize.type,onNewValue:Function,onFilter:Function},emits:[...Ur,"add","remove","inputValue","keyup","keypress","keydown","popupShow","popupHide","filterAbort"],setup(e,{slots:t,emit:n}){const{proxy:o}=a.getCurrentInstance(),{$q:r}=o,l=a.ref(!1),i=a.ref(!1),s=a.ref(-1),u=a.ref(""),f=a.ref(!1),c=a.ref(!1);let m=null,g=null,h,d,b,_=null,p,y,C,v;const O=a.ref(null),D=a.ref(null),k=a.ref(null),B=a.ref(null),I=a.ref(null),P=Li(e),F=Vi(A),N=a.computed(()=>Array.isArray(e.options)?e.options.length:0),K=a.computed(()=>e.virtualScrollItemSize===void 0?e.optionsDense===!0?24:48:e.virtualScrollItemSize),{virtualScrollSliceRange:V,virtualScrollSliceSizeComputed:J,localResetVirtualScroll:W,padVirtualScroll:$,onVirtualScrollEvt:z,scrollTo:G,setVirtualScrollSize:ee}=Kl({virtualScrollLength:N,getVirtualScrollTarget:yl,getVirtualScrollEl:br,virtualScrollItemSizeComputed:K}),x=Hr(),T=a.computed(()=>{const S=e.mapOptions===!0&&e.multiple!==!0,X=e.modelValue!==void 0&&(e.modelValue!==null||S===!0)?e.multiple===!0&&Array.isArray(e.modelValue)?e.modelValue:[e.modelValue]:[];if(e.mapOptions===!0&&Array.isArray(e.options)===!0){const ne=e.mapOptions===!0&&h!==void 0?h:[],he=X.map(Oe=>yo(Oe,ne));return e.modelValue===null&&S===!0?he.filter(Oe=>Oe!==null):he}return X}),H=a.computed(()=>{const S={};return fm.forEach(X=>{const ne=e[X];ne!==void 0&&(S[X]=ne)}),S}),re=a.computed(()=>e.optionsDark===null?x.isDark.value:e.optionsDark),ae=a.computed(()=>Qn(T.value)),q=a.computed(()=>{let S="q-field__input q-placeholder col";return e.hideSelected===!0||T.value.length===0?[S,e.inputClass]:(S+=" q-field__input--padding",e.inputClass===void 0?S:[S,e.inputClass])}),Q=a.computed(()=>(e.virtualScrollHorizontal===!0?"q-virtual-scroll--horizontal":"")+(e.popupContentClass?" "+e.popupContentClass:"")),pe=a.computed(()=>N.value===0),j=a.computed(()=>T.value.map(S=>me.value(S)).join(", ")),Ce=a.computed(()=>e.displayValue!==void 0?e.displayValue:j.value),Ve=a.computed(()=>e.optionsHtml===!0?()=>!0:S=>(S==null?void 0:S.html)===!0),Ct=a.computed(()=>e.displayValueHtml===!0||e.displayValue===void 0&&(e.optionsHtml===!0||T.value.some(Ve.value))),Be=a.computed(()=>x.focused.value===!0?e.tabindex:-1),ht=a.computed(()=>{const S={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":`${x.targetUid.value}_lb`};return s.value>=0&&(S["aria-activedescendant"]=`${x.targetUid.value}_${s.value}`),S}),Ge=a.computed(()=>({id:`${x.targetUid.value}_lb`,role:"listbox","aria-multiselectable":e.multiple===!0?"true":"false"})),nt=a.computed(()=>T.value.map((S,X)=>({index:X,opt:S,html:Ve.value(S),selected:!0,removeAtIndex:Ne,toggleOption:lt,tabindex:Be.value}))),St=a.computed(()=>{if(N.value===0)return[];const{from:S,to:X}=V.value;return e.options.slice(S,X).map((ne,he)=>{const Oe=ye.value(ne)===!0,Fe=$t(ne)===!0,xe=S+he,qe={clickable:!0,active:Fe,activeClass:R.value,manualFocus:!0,focused:!1,disable:Oe,tabindex:-1,dense:e.optionsDense,dark:re.value,role:"option","aria-selected":Fe===!0?"true":"false",id:`${x.targetUid.value}_${xe}`,onClick:()=>{lt(ne)}};return Oe!==!0&&(s.value===xe&&(qe.focused=!0),r.platform.is.desktop===!0&&(qe.onMousemove=()=>{l.value===!0&&We(xe)})),{index:xe,opt:ne,html:Ve.value(ne),label:me.value(ne),selected:qe.active,focused:qe.focused,toggleOption:lt,setOptionIndex:We,itemProps:qe}})}),E=a.computed(()=>e.dropdownIcon!==void 0?e.dropdownIcon:r.iconSet.arrow.dropdown),w=a.computed(()=>e.optionsCover===!1&&e.outlined!==!0&&e.standout!==!0&&e.borderless!==!0&&e.rounded!==!0),R=a.computed(()=>e.optionsSelectedClass!==void 0?e.optionsSelectedClass:e.color!==void 0?`text-${e.color}`:""),te=a.computed(()=>ua(e.optionValue,"value")),me=a.computed(()=>ua(e.optionLabel,"label")),ye=a.computed(()=>ua(e.optionDisable,"disable")),de=a.computed(()=>T.value.map(te.value)),L=a.computed(()=>{const S={onInput:A,onChange:F,onKeydown:pn,onKeyup:Mn,onKeypress:Eo,onFocus:vo,onClick(X){d===!0&&Dt(X)}};return S.onCompositionstart=S.onCompositionupdate=S.onCompositionend=F,S});a.watch(T,S=>{h=S,e.useInput===!0&&e.fillInput===!0&&e.multiple!==!0&&x.innerLoading.value!==!0&&(i.value!==!0&&l.value!==!0||ae.value!==!0)&&(b!==!0&&Un(),(i.value===!0||l.value===!0)&&le(""))},{immediate:!0}),a.watch(()=>e.fillInput,Un),a.watch(l,Sl),a.watch(N,$v);function U(S){return e.emitValue===!0?te.value(S):S}function fe(S){if(S!==-1&&S<T.value.length)if(e.multiple===!0){const X=e.modelValue.slice();n("remove",{index:S,value:X.splice(S,1)[0]}),n("update:modelValue",X)}else n("update:modelValue",null)}function Ne(S){fe(S),x.focus()}function wt(S,X){const ne=U(S);if(e.multiple!==!0){e.fillInput===!0&&ie(me.value(S),!0,!0),n("update:modelValue",ne);return}if(T.value.length===0){n("add",{index:0,value:ne}),n("update:modelValue",e.multiple===!0?[ne]:ne);return}if(X===!0&&$t(S)===!0||e.maxValues!==void 0&&e.modelValue.length>=e.maxValues)return;const he=e.modelValue.slice();n("add",{index:he.length,value:ne}),he.push(ne),n("update:modelValue",he)}function lt(S,X){var Fe;if(x.editable.value!==!0||S===void 0||ye.value(S)===!0)return;const ne=te.value(S);if(e.multiple!==!0){X!==!0&&(ie(e.fillInput===!0?me.value(S):"",!0,!0),_n()),(Fe=D.value)==null||Fe.focus(),(T.value.length===0||Bt(te.value(T.value[0]),ne)!==!0)&&n("update:modelValue",e.emitValue===!0?ne:S);return}if((d!==!0||f.value===!0)&&x.focus(),vo(),T.value.length===0){const xe=e.emitValue===!0?ne:S;n("add",{index:0,value:xe}),n("update:modelValue",e.multiple===!0?[xe]:xe);return}const he=e.modelValue.slice(),Oe=de.value.findIndex(xe=>Bt(xe,ne));if(Oe!==-1)n("remove",{index:Oe,value:he.splice(Oe,1)[0]});else{if(e.maxValues!==void 0&&he.length>=e.maxValues)return;const xe=e.emitValue===!0?ne:S;n("add",{index:he.length,value:xe}),he.push(xe)}n("update:modelValue",he)}function We(S){if(r.platform.is.desktop!==!0)return;const X=S!==-1&&S<N.value?S:-1;s.value!==X&&(s.value=X)}function Qe(S=1,X){if(l.value===!0){let ne=s.value;do ne=Ri(ne+S,-1,N.value-1);while(ne!==-1&&ne!==s.value&&ye.value(e.options[ne])===!0);s.value!==ne&&(We(ne),G(ne),X!==!0&&e.useInput===!0&&e.fillInput===!0&&Z(ne>=0?me.value(e.options[ne]):p,!0))}}function yo(S,X){const ne=he=>Bt(te.value(he),S);return e.options.find(ne)||X.find(ne)||S}function $t(S){const X=te.value(S);return de.value.find(ne=>Bt(ne,X))!==void 0}function vo(S){e.useInput===!0&&D.value!==null&&(S===void 0||D.value===S.target&&S.target.value===j.value)&&D.value.select()}function _r(S){tn(S,27)===!0&&l.value===!0&&(Dt(S),_n(),Un()),n("keyup",S)}function Mn(S){const{value:X}=S.target;if(S.keyCode!==void 0){_r(S);return}if(S.target.value="",m!==null&&(clearTimeout(m),m=null),g!==null&&(clearTimeout(g),g=null),Un(),typeof X=="string"&&X.length!==0){const ne=X.toLocaleLowerCase(),he=Fe=>{const xe=e.options.find(qe=>String(Fe.value(qe)).toLocaleLowerCase()===ne);return xe===void 0?!1:(T.value.indexOf(xe)===-1?lt(xe):_n(),!0)},Oe=Fe=>{he(te)!==!0&&Fe!==!0&&he(me)!==!0&&le(X,!0,()=>Oe(!0))};Oe()}else x.clearValue(S)}function Eo(S){n("keypress",S)}function pn(S){if(n("keydown",S),Sr(S)===!0)return;const X=u.value.length!==0&&(e.newValueMode!==void 0||e.onNewValue!==void 0),ne=S.shiftKey!==!0&&e.disableTabSelection!==!0&&e.multiple!==!0&&(s.value!==-1||X===!0);if(S.keyCode===27){kt(S);return}if(S.keyCode===9&&ne===!1){qn();return}if(S.target===void 0||S.target.id!==x.targetUid.value||x.editable.value!==!0)return;if(S.keyCode===40&&x.innerLoading.value!==!0&&l.value===!1){He(S),$n();return}if(S.keyCode===8&&(e.useChips===!0||e.clearable===!0)&&e.hideSelected!==!0&&u.value.length===0){e.multiple===!0&&Array.isArray(e.modelValue)===!0?fe(e.modelValue.length-1):e.multiple!==!0&&e.modelValue!==null&&n("update:modelValue",null);return}(S.keyCode===35||S.keyCode===36)&&(typeof u.value!="string"||u.value.length===0)&&(He(S),s.value=-1,Qe(S.keyCode===36?1:-1,e.multiple)),(S.keyCode===33||S.keyCode===34)&&J.value!==void 0&&(He(S),s.value=Math.max(-1,Math.min(N.value,s.value+(S.keyCode===33?-1:1)*J.value.view)),Qe(S.keyCode===33?1:-1,e.multiple)),(S.keyCode===38||S.keyCode===40)&&(He(S),Qe(S.keyCode===38?-1:1,e.multiple));const he=N.value;if((C===void 0||v<Date.now())&&(C=""),he>0&&e.useInput!==!0&&S.key!==void 0&&S.key.length===1&&S.altKey===!1&&S.ctrlKey===!1&&S.metaKey===!1&&(S.keyCode!==32||C.length!==0)){l.value!==!0&&$n(S);const Oe=S.key.toLocaleLowerCase(),Fe=C.length===1&&C[0]===Oe;v=Date.now()+1500,Fe===!1&&(He(S),C+=Oe);const xe=new RegExp("^"+C.split("").map(Hn=>dm.indexOf(Hn)!==-1?"\\"+Hn:Hn).join(".*"),"i");let qe=s.value;if(Fe===!0||qe<0||xe.test(me.value(e.options[qe]))!==!0)do qe=Ri(qe+1,-1,he-1);while(qe!==s.value&&(ye.value(e.options[qe])===!0||xe.test(me.value(e.options[qe]))!==!0));s.value!==qe&&a.nextTick(()=>{We(qe),G(qe),qe>=0&&e.useInput===!0&&e.fillInput===!0&&Z(me.value(e.options[qe]),!0)});return}if(!(S.keyCode!==13&&(S.keyCode!==32||e.useInput===!0||C!=="")&&(S.keyCode!==9||ne===!1))){if(S.keyCode!==9&&He(S),s.value!==-1&&s.value<he){lt(e.options[s.value]);return}if(X===!0){const Oe=(Fe,xe)=>{var Hn;if(xe){if(Bi(xe)!==!0)return}else xe=e.newValueMode;if(ie("",e.multiple!==!0,!0),Fe==null)return;(xe==="toggle"?lt:wt)(Fe,xe==="add-unique"),e.multiple!==!0&&((Hn=D.value)==null||Hn.focus(),_n())};if(e.onNewValue!==void 0?n("newValue",u.value,Oe):Oe(u.value),e.multiple!==!0)return}l.value===!0?qn():x.innerLoading.value!==!0&&$n()}}function br(){return d===!0?I.value:k.value!==null&&k.value.contentEl!==null?k.value.contentEl:void 0}function yl(){return br()}function vl(){return e.hideSelected===!0?[]:t["selected-item"]!==void 0?nt.value.map(S=>t["selected-item"](S)).slice():t.selected!==void 0?[].concat(t.selected()):e.useChips===!0?nt.value.map((S,X)=>a.h(Lf,{key:"option-"+X,removable:x.editable.value===!0&&ye.value(S.opt)!==!0,dense:!0,textColor:e.color,tabindex:Be.value,onRemove(){S.removeAtIndex(X)}},()=>a.h("span",{class:"ellipsis",[S.html===!0?"innerHTML":"textContent"]:me.value(S.opt)}))):[a.h("span",{class:"ellipsis",[Ct.value===!0?"innerHTML":"textContent"]:Ce.value})]}function yr(){if(pe.value===!0)return t["no-option"]!==void 0?t["no-option"]({inputValue:u.value}):void 0;const S=t.option!==void 0?t.option:ne=>a.h(yt,{key:ne.index,...ne.itemProps},()=>a.h(tt,()=>a.h(Xe,()=>a.h("span",{[ne.html===!0?"innerHTML":"textContent"]:ne.label}))));let X=$("div",St.value.map(S));return t["before-options"]!==void 0&&(X=t["before-options"]().concat(X)),At(t["after-options"],X)}function El(S,X){const ne=X===!0?{...ht.value,...x.splitAttrs.attributes.value}:void 0,he={ref:X===!0?D:void 0,key:"i_t",class:q.value,style:e.inputStyle,value:u.value!==void 0?u.value:"",type:"search",...ne,id:X===!0?x.targetUid.value:void 0,maxlength:e.maxlength,autocomplete:e.autocomplete,"data-autofocus":S===!0||e.autofocus===!0||void 0,disabled:e.disable===!0,readonly:e.readonly===!0,...L.value};return S!==!0&&d===!0&&(Array.isArray(he.class)===!0?he.class=[...he.class,"no-pointer-events"]:he.class+=" no-pointer-events"),a.h("input",he)}function A(S){m!==null&&(clearTimeout(m),m=null),g!==null&&(clearTimeout(g),g=null),!(S&&S.target&&S.target.qComposing===!0)&&(Z(S.target.value||""),b=!0,p=u.value,x.focused.value!==!0&&(d!==!0||f.value===!0)&&x.focus(),e.onFilter!==void 0&&(m=setTimeout(()=>{m=null,le(u.value)},e.inputDebounce)))}function Z(S,X){u.value!==S&&(u.value=S,X===!0||e.inputDebounce===0||e.inputDebounce==="0"?n("inputValue",S):g=setTimeout(()=>{g=null,n("inputValue",S)},e.inputDebounce))}function ie(S,X,ne){b=ne!==!0,e.useInput===!0&&(Z(S,!0),(X===!0||ne!==!0)&&(p=S),X!==!0&&le(S))}function le(S,X,ne){if(e.onFilter===void 0||X!==!0&&x.focused.value!==!0)return;x.innerLoading.value===!0?n("filterAbort"):(x.innerLoading.value=!0,c.value=!0),S!==""&&e.multiple!==!0&&T.value.length!==0&&b!==!0&&S===me.value(T.value[0])&&(S="");const he=setTimeout(()=>{l.value===!0&&(l.value=!1)},10);_!==null&&clearTimeout(_),_=he,n("filter",S,(Oe,Fe)=>{(X===!0||x.focused.value===!0)&&_===he&&(clearTimeout(_),typeof Oe=="function"&&Oe(),c.value=!1,a.nextTick(()=>{x.innerLoading.value=!1,x.editable.value===!0&&(X===!0?l.value===!0&&_n():l.value===!0?Sl(!0):l.value=!0),typeof Fe=="function"&&a.nextTick(()=>{Fe(o)}),typeof ne=="function"&&a.nextTick(()=>{ne(o)})}))},()=>{x.focused.value===!0&&_===he&&(clearTimeout(_),x.innerLoading.value=!1,c.value=!1),l.value===!0&&(l.value=!1)})}function ue(){return a.h(Oi,{ref:k,class:Q.value,style:e.popupContentStyle,modelValue:l.value,fit:e.menuShrink!==!0,cover:e.optionsCover===!0&&pe.value!==!0&&e.useInput!==!0,anchor:e.menuAnchor,self:e.menuSelf,offset:e.menuOffset,dark:re.value,noParentEvent:!0,noRefocus:!0,noFocus:!0,noRouteDismiss:e.popupNoRouteDismiss,square:w.value,transitionShow:e.transitionShow,transitionHide:e.transitionHide,transitionDuration:e.transitionDuration,separateClosePopup:!0,...Ge.value,onScrollPassive:z,onBeforeShow:kd,onBeforeHide:Re,onShow:De},yr)}function Re(S){Td(S),qn()}function De(){ee()}function bt(S){var X;Dt(S),(X=D.value)==null||X.focus(),f.value=!0,window.scrollTo(window.pageXOffset||window.scrollX||document.body.scrollLeft||0,0)}function Ie(S){Dt(S),a.nextTick(()=>{f.value=!1})}function Ut(){const S=[a.h(If,{class:`col-auto ${x.fieldClass.value}`,...H.value,for:x.targetUid.value,dark:re.value,square:!0,loading:c.value,itemAligned:!1,filled:!0,stackLabel:u.value.length!==0,...x.splitAttrs.listeners.value,onFocus:bt,onBlur:Ie},{...t,rawControl:()=>x.getControl(!0),before:void 0,after:void 0})];return l.value===!0&&S.push(a.h("div",{ref:I,class:Q.value+" scroll",style:e.popupContentStyle,...Ge.value,onClick:kt,onScrollPassive:z},yr())),a.h(to,{ref:B,modelValue:i.value,position:e.useInput===!0?"top":void 0,transitionShow:y,transitionHide:e.transitionHide,transitionDuration:e.transitionDuration,noRouteDismiss:e.popupNoRouteDismiss,onBeforeShow:kd,onBeforeHide:Fn,onHide:Cl,onShow:qv},()=>a.h("div",{class:"q-select__dialog"+(re.value===!0?" q-select__dialog--dark q-dark":"")+(f.value===!0?" q-select__dialog--focused":"")},S))}function Fn(S){Td(S),B.value!==null&&B.value.__updateRefocusTarget(x.rootRef.value.querySelector(".q-field__native > [tabindex]:last-child")),x.focused.value=!1}function Cl(S){_n(),x.focused.value===!1&&n("blur",S),Un()}function qv(){const S=document.activeElement;(S===null||S.id!==x.targetUid.value)&&D.value!==null&&D.value!==S&&D.value.focus(),ee()}function qn(){i.value!==!0&&(s.value=-1,l.value===!0&&(l.value=!1),x.focused.value===!1&&(_!==null&&(clearTimeout(_),_=null),x.innerLoading.value===!0&&(n("filterAbort"),x.innerLoading.value=!1,c.value=!1)))}function $n(S){x.editable.value===!0&&(d===!0?(x.onControlFocusin(S),i.value=!0,a.nextTick(()=>{x.focus()})):x.focus(),e.onFilter!==void 0?le(u.value):(pe.value!==!0||t["no-option"]!==void 0)&&(l.value=!0))}function _n(){i.value=!1,qn()}function Un(){e.useInput===!0&&ie(e.multiple!==!0&&e.fillInput===!0&&T.value.length!==0&&me.value(T.value[0])||"",!0,!0)}function Sl(S){let X=-1;if(S===!0){if(T.value.length!==0){const ne=te.value(T.value[0]);X=e.options.findIndex(he=>Bt(te.value(he),ne))}W(X)}We(X)}function $v(S,X){l.value===!0&&x.innerLoading.value===!1&&(W(-1,!0),a.nextTick(()=>{l.value===!0&&x.innerLoading.value===!1&&(S>X?W():Sl(!0))}))}function wd(){i.value===!1&&k.value!==null&&k.value.updatePosition()}function kd(S){S!==void 0&&Dt(S),n("popupShow",S),x.hasPopupOpen=!0,x.onControlFocusin(S)}function Td(S){S!==void 0&&Dt(S),n("popupHide",S),x.hasPopupOpen=!1,x.onControlFocusout(S)}function Od(){d=r.platform.is.mobile!==!0&&e.behavior!=="dialog"?!1:e.behavior!=="menu"&&(e.useInput===!0?t["no-option"]!==void 0||e.onFilter!==void 0||pe.value===!1:!0),y=r.platform.is.ios===!0&&d===!0&&e.useInput===!0?"fade":e.transitionShow}return a.onBeforeUpdate(Od),a.onUpdated(wd),Od(),a.onBeforeUnmount(()=>{m!==null&&clearTimeout(m),g!==null&&clearTimeout(g)}),Object.assign(o,{showPopup:$n,hidePopup:_n,removeAtIndex:fe,add:wt,toggleOption:lt,getOptionIndex:()=>s.value,setOptionIndex:We,moveOptionSelection:Qe,filter:le,updateMenuPosition:wd,updateInputValue:ie,isOptionSelected:$t,getEmittingOptionValue:U,isOptionDisabled:(...S)=>ye.value.apply(null,S)===!0,getOptionValue:(...S)=>te.value.apply(null,S),getOptionLabel:(...S)=>me.value.apply(null,S)}),Object.assign(x,{innerValue:T,fieldClass:a.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:O,targetRef:D,hasValue:ae,showPopup:$n,floatingLabel:a.computed(()=>e.hideSelected!==!0&&ae.value===!0||typeof u.value=="number"||u.value.length!==0||Qn(e.displayValue)),getControlChild:()=>{if(x.editable.value!==!1&&(i.value===!0||pe.value!==!0||t["no-option"]!==void 0))return d===!0?Ut():ue();x.hasPopupOpen===!0&&(x.hasPopupOpen=!1)},controlEvents:{onFocusin(S){x.onControlFocusin(S)},onFocusout(S){x.onControlFocusout(S,()=>{Un(),qn()})},onClick(S){var X;if(kt(S),d!==!0&&l.value===!0){qn(),(X=D.value)==null||X.focus();return}$n(S)}},getControl:S=>{const X=vl(),ne=S===!0||i.value!==!0||d!==!0;if(e.useInput===!0)X.push(El(S,ne));else if(x.editable.value===!0){const Oe=ne===!0?ht.value:void 0;X.push(a.h("input",{ref:ne===!0?D:void 0,key:"d_t",class:"q-select__focus-target",id:ne===!0?x.targetUid.value:void 0,value:Ce.value,readonly:!0,"data-autofocus":S===!0||e.autofocus===!0||void 0,...Oe,onKeydown:pn,onKeyup:_r,onKeypress:Eo})),ne===!0&&typeof e.autocomplete=="string"&&e.autocomplete.length!==0&&X.push(a.h("input",{class:"q-select__autocomplete-input",autocomplete:e.autocomplete,tabindex:-1,onKeyup:Mn}))}if(P.value!==void 0&&e.disable!==!0&&de.value.length!==0){const Oe=de.value.map(Fe=>a.h("option",{value:Fe,selected:!0}));X.push(a.h("select",{class:"hidden",name:P.value,multiple:e.multiple},Oe))}const he=e.useInput===!0||ne!==!0?void 0:x.splitAttrs.attributes.value;return a.h("div",{class:"q-field__native row items-center",...he,...x.splitAttrs.listeners.value},X)},getInnerAppend:()=>e.loading!==!0&&c.value!==!0&&e.hideDropdownIcon!==!0?[a.h(Ae,{class:"q-select__dropdown-icon"+(l.value===!0?" rotate-180":""),name:E.value})]:null}),zr(x)}}),mm={xs:2,sm:4,md:6,lg:10,xl:14};function Mi(e,t,n){return{transform:t===!0?`translateX(${n.lang.rtl===!0?"-":""}100%) scale3d(${-e},1,1)`:`scale3d(${e},1,1)`}}const hm=ge({name:"QLinearProgress",props:{...dt,...Wn,value:{type:Number,default:0},buffer:Number,color:String,trackColor:String,reverse:Boolean,stripe:Boolean,indeterminate:Boolean,query:Boolean,rounded:Boolean,animationSpeed:{type:[String,Number],default:2100},instantFeedback:Boolean},setup(e,{slots:t}){const{proxy:n}=a.getCurrentInstance(),o=ft(e,n.$q),r=Kn(e,mm),l=a.computed(()=>e.indeterminate===!0||e.query===!0),i=a.computed(()=>e.reverse!==e.query),s=a.computed(()=>({...r.value!==null?r.value:{},"--q-linear-progress-speed":`${e.animationSpeed}ms`})),u=a.computed(()=>"q-linear-progress"+(e.color!==void 0?` text-${e.color}`:"")+(e.reverse===!0||e.query===!0?" q-linear-progress--reverse":"")+(e.rounded===!0?" rounded-borders":"")),f=a.computed(()=>Mi(e.buffer!==void 0?e.buffer:1,i.value,n.$q)),c=a.computed(()=>`with${e.instantFeedback===!0?"out":""}-transition`),m=a.computed(()=>`q-linear-progress__track absolute-full q-linear-progress__track--${c.value} q-linear-progress__track--${o.value===!0?"dark":"light"}`+(e.trackColor!==void 0?` bg-${e.trackColor}`:"")),g=a.computed(()=>Mi(l.value===!0?1:e.value,i.value,n.$q)),h=a.computed(()=>`q-linear-progress__model absolute-full q-linear-progress__model--${c.value} q-linear-progress__model--${l.value===!0?"in":""}determinate`),d=a.computed(()=>({width:`${e.value*100}%`})),b=a.computed(()=>`q-linear-progress__stripe absolute-${e.reverse===!0?"right":"left"} q-linear-progress__stripe--${c.value}`);return()=>{const _=[a.h("div",{class:m.value,style:f.value}),a.h("div",{class:h.value,style:g.value})];return e.stripe===!0&&l.value===!1&&_.push(a.h("div",{class:b.value,style:d.value})),a.h("div",{class:u.value,style:s.value,role:"progressbar","aria-valuemin":0,"aria-valuemax":1,"aria-valuenow":e.indeterminate===!0?void 0:e.value},At(t.default,_))}}});function gm(e,t){const n=a.ref(null),o=a.computed(()=>e.disable===!0?null:a.h("span",{ref:n,class:"no-outline",tabindex:-1}));function r(l){const i=t.value;(l==null?void 0:l.qAvoidFocus)!==!0&&((l==null?void 0:l.type.indexOf("key"))===0?document.activeElement!==i&&(i==null?void 0:i.contains(document.activeElement))===!0&&i.focus():n.value!==null&&(l===void 0||(i==null?void 0:i.contains(l.target))===!0)&&n.value.focus())}return{refocusTargetEl:o,refocusTarget:r}}const pm={xs:30,sm:35,md:40,lg:50,xl:60},_m={...dt,...Wn,...sa,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]},bm=["update:modelValue"];function ym(e,t){const{props:n,slots:o,emit:r,proxy:l}=a.getCurrentInstance(),{$q:i}=l,s=ft(n,i),u=a.ref(null),{refocusTargetEl:f,refocusTarget:c}=gm(n,u),m=Kn(n,pm),g=a.computed(()=>n.val!==void 0&&Array.isArray(n.modelValue)),h=a.computed(()=>{const N=a.toRaw(n.val);return g.value===!0?n.modelValue.findIndex(K=>a.toRaw(K)===N):-1}),d=a.computed(()=>g.value===!0?h.value!==-1:a.toRaw(n.modelValue)===a.toRaw(n.trueValue)),b=a.computed(()=>g.value===!0?h.value===-1:a.toRaw(n.modelValue)===a.toRaw(n.falseValue)),_=a.computed(()=>d.value===!1&&b.value===!1),p=a.computed(()=>n.disable===!0?-1:n.tabindex||0),y=a.computed(()=>`q-${e} cursor-pointer no-outline row inline no-wrap items-center`+(n.disable===!0?" disabled":"")+(s.value===!0?` q-${e}--dark`:"")+(n.dense===!0?` q-${e}--dense`:"")+(n.leftLabel===!0?" reverse":"")),C=a.computed(()=>{const N=d.value===!0?"truthy":b.value===!0?"falsy":"indet",K=n.color!==void 0&&(n.keepColor===!0||b.value!==!0)?` text-${n.color}`:"";return`q-${e}__inner relative-position non-selectable q-${e}__inner--${N}${K}`}),v=a.computed(()=>{const N={type:"checkbox"};return n.name!==void 0&&Object.assign(N,{".checked":d.value,"^checked":d.value===!0?"checked":void 0,name:n.name,value:g.value===!0?n.val:n.trueValue}),N}),O=am(v),D=a.computed(()=>{const N={tabindex:p.value,role:"checkbox","aria-label":n.label,"aria-checked":_.value===!0?"mixed":d.value===!0?"true":"false"};return n.disable===!0&&(N["aria-disabled"]="true"),N});function k(N){N!==void 0&&(He(N),c(N)),n.disable!==!0&&r("update:modelValue",B(),N)}function B(){if(g.value===!0){if(d.value===!0){const N=n.modelValue.slice();return N.splice(h.value,1),N}return n.modelValue.concat([n.val])}if(d.value===!0){if(n.toggleOrder!=="ft"||n.toggleIndeterminate===!1)return n.falseValue}else if(b.value===!0){if(n.toggleOrder==="ft"||n.toggleIndeterminate===!1)return n.trueValue}else return n.toggleOrder!=="ft"?n.trueValue:n.falseValue;return n.indeterminateValue}function I(N){(N.keyCode===13||N.keyCode===32)&&He(N)}function P(N){(N.keyCode===13||N.keyCode===32)&&k(N)}const F=t(d,_);return Object.assign(l,{toggle:k}),()=>{const N=F();n.disable!==!0&&O(N,"unshift",` q-${e}__native absolute q-ma-none q-pa-none`);const K=[a.h("div",{class:C.value,style:m.value,"aria-hidden":"true"},N)];f.value!==null&&K.push(f.value);const V=n.label!==void 0?At(o.default,[n.label]):ve(o.default);return V!==void 0&&K.push(a.h("div",{class:`q-${e}__label q-anchor--skip`},V)),a.h("div",{ref:u,class:y.value,...D.value,onClick:k,onKeydown:I,onKeyup:P},K)}}const vm=()=>a.h("div",{key:"svg",class:"q-checkbox__bg absolute"},[a.h("svg",{class:"q-checkbox__svg fit absolute-full",viewBox:"0 0 24 24"},[a.h("path",{class:"q-checkbox__truthy",fill:"none",d:"M1.73,12.91 8.1,19.28 22.79,4.59"}),a.h("path",{class:"q-checkbox__indet",d:"M4,14H20V10H4"})])]),zt=ge({name:"QCheckbox",props:_m,emits:bm,setup(e){const t=vm();function n(o,r){const l=a.computed(()=>(o.value===!0?e.checkedIcon:r.value===!0?e.indeterminateIcon:e.uncheckedIcon)||null);return()=>l.value!==null?[a.h("div",{key:"icon",class:"q-checkbox__icon-container absolute-full flex flex-center no-wrap"},[a.h(Ae,{class:"q-checkbox__icon",name:l.value})])]:[t]}return ym("checkbox",n)}}),Fi={left:"start",center:"center",right:"end",between:"between",around:"around",evenly:"evenly",stretch:"stretch"},Em=Object.keys(Fi),qi={align:{type:String,validator:e=>Em.includes(e)}};function $i(e){return a.computed(()=>{const t=e.align===void 0?e.vertical===!0?"stretch":"left":e.align;return`${e.vertical===!0?"items":"justify"}-${Fi[t]}`})}const Ui={none:0,xs:4,sm:8,md:16,lg:24,xl:32},Cm={xs:8,sm:10,md:14,lg:20,xl:24},Sm=["button","submit","reset"],wm=/[^\s]\/[^\s]/,km=["flat","outline","push","unelevated"];function Tm(e,t){return e.flat===!0?"flat":e.outline===!0?"outline":e.push===!0?"push":e.unelevated===!0?"unelevated":t}const Om={...{...Wn,...mi,type:{type:String,default:"button"},label:[Number,String],icon:String,iconRight:String,...km.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:{...qi.align,default:"center"},stack:Boolean,stretch:Boolean,loading:{type:Boolean,default:null},disable:Boolean},round:Boolean};function xm(e){const t=Kn(e,Cm),n=$i(e),{hasRouterLink:o,hasLink:r,linkTag:l,linkAttrs:i,navigateOnClick:s}=hi({fallbackTag:"button"}),u=a.computed(()=>{const _=e.fab===!1&&e.fabMini===!1?t.value:{};return e.padding!==void 0?Object.assign({},_,{padding:e.padding.split(/\s+/).map(p=>p in Ui?Ui[p]+"px":p).join(" "),minWidth:"0",minHeight:"0"}):_}),f=a.computed(()=>e.rounded===!0||e.fab===!0||e.fabMini===!0),c=a.computed(()=>e.disable!==!0&&e.loading!==!0),m=a.computed(()=>c.value===!0?e.tabindex||0:-1),g=a.computed(()=>Tm(e,"standard")),h=a.computed(()=>{const _={tabindex:m.value};return r.value===!0?Object.assign(_,i.value):Sm.includes(e.type)===!0&&(_.type=e.type),l.value==="a"?(e.disable===!0?_["aria-disabled"]="true":_.href===void 0&&(_.role="button"),o.value!==!0&&wm.test(e.type)===!0&&(_.type=e.type)):e.disable===!0&&(_.disabled="",_["aria-disabled"]="true"),e.loading===!0&&e.percentage!==void 0&&Object.assign(_,{role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":e.percentage}),_}),d=a.computed(()=>{let _;e.color!==void 0?e.flat===!0||e.outline===!0?_=`text-${e.textColor||e.color}`:_=`bg-${e.color} text-${e.textColor||"white"}`:e.textColor&&(_=`text-${e.textColor}`);const p=e.round===!0?"round":`rectangle${f.value===!0?" q-btn--rounded":e.square===!0?" q-btn--square":""}`;return`q-btn--${g.value} q-btn--${p}`+(_!==void 0?" "+_:"")+(c.value===!0?" q-btn--actionable q-focusable q-hoverable":e.disable===!0?" disabled":"")+(e.fab===!0?" q-btn--fab":e.fabMini===!0?" q-btn--fab-mini":"")+(e.noCaps===!0?" q-btn--no-uppercase":"")+(e.dense===!0?" q-btn--dense":"")+(e.stretch===!0?" no-border-radius self-stretch":"")+(e.glossy===!0?" glossy":"")+(e.square?" q-btn--square":"")}),b=a.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:d,style:u,innerClasses:b,attributes:h,hasLink:r,linkTag:l,navigateOnClick:s,isActionable:c}}const{passiveCapture:vt}=Je;let En=null,Cn=null,Sn=null;const it=ge({name:"QBtn",props:{...Om,percentage:Number,darkPercentage:Boolean,onTouchstart:[Function,Array]},emits:["click","keydown","mousedown","keyup"],setup(e,{slots:t,emit:n}){const{proxy:o}=a.getCurrentInstance(),{classes:r,style:l,innerClasses:i,attributes:s,hasLink:u,linkTag:f,navigateOnClick:c,isActionable:m}=xm(e),g=a.ref(null),h=a.ref(null);let d=null,b,_=null;const p=a.computed(()=>e.label!==void 0&&e.label!==null&&e.label!==""),y=a.computed(()=>e.disable===!0||e.ripple===!1?!1:{keyCodes:u.value===!0?[13,32]:[13],...e.ripple===!0?{}:e.ripple}),C=a.computed(()=>({center:e.round})),v=a.computed(()=>{const V=Math.max(0,Math.min(100,e.percentage));return V>0?{transition:"transform 0.6s",transform:`translateX(${V-100}%)`}:{}}),O=a.computed(()=>{if(e.loading===!0)return{onMousedown:K,onTouchstart:K,onClick:K,onKeydown:K,onKeyup:K};if(m.value===!0){const V={onClick:k,onKeydown:B,onMousedown:P};if(o.$q.platform.has.touch===!0){const J=e.onTouchstart!==void 0?"":"Passive";V[`onTouchstart${J}`]=I}return V}return{onClick:He}}),D=a.computed(()=>({ref:g,class:"q-btn q-btn-item non-selectable no-outline "+r.value,style:l.value,...s.value,...O.value}));function k(V){if(g.value!==null){if(V!==void 0){if(V.defaultPrevented===!0)return;const J=document.activeElement;if(e.type==="submit"&&J!==document.body&&g.value.contains(J)===!1&&J.contains(g.value)===!1){V.qAvoidFocus!==!0&&g.value.focus();const W=()=>{var $;document.removeEventListener("keydown",He,!0),document.removeEventListener("keyup",W,vt),($=g.value)==null||$.removeEventListener("blur",W,vt)};document.addEventListener("keydown",He,!0),document.addEventListener("keyup",W,vt),g.value.addEventListener("blur",W,vt)}}c(V)}}function B(V){g.value!==null&&(n("keydown",V),tn(V,[13,32])===!0&&Cn!==g.value&&(Cn!==null&&N(),V.defaultPrevented!==!0&&(V.qAvoidFocus!==!0&&g.value.focus(),Cn=g.value,g.value.classList.add("q-btn--active"),document.addEventListener("keyup",F,!0),g.value.addEventListener("blur",F,vt)),He(V)))}function I(V){g.value!==null&&(n("touchstart",V),V.defaultPrevented!==!0&&(En!==g.value&&(En!==null&&N(),En=g.value,d=V.target,d.addEventListener("touchcancel",F,vt),d.addEventListener("touchend",F,vt)),b=!0,_!==null&&clearTimeout(_),_=setTimeout(()=>{_=null,b=!1},200)))}function P(V){g.value!==null&&(V.qSkipRipple=b===!0,n("mousedown",V),V.defaultPrevented!==!0&&Sn!==g.value&&(Sn!==null&&N(),Sn=g.value,g.value.classList.add("q-btn--active"),document.addEventListener("mouseup",F,vt)))}function F(V){if(g.value!==null&&!((V==null?void 0:V.type)==="blur"&&document.activeElement===g.value)){if((V==null?void 0:V.type)==="keyup"){if(Cn===g.value&&tn(V,[13,32])===!0){const J=new MouseEvent("click",V);J.qKeyEvent=!0,V.defaultPrevented===!0&&kt(J),V.cancelBubble===!0&&Dt(J),g.value.dispatchEvent(J),He(V),V.qKeyEvent=!0}n("keyup",V)}N()}}function N(V){var W,$;const J=h.value;V!==!0&&(En===g.value||Sn===g.value)&&J!==null&&J!==document.activeElement&&(J.setAttribute("tabindex",-1),J.focus()),En===g.value&&(d!==null&&(d.removeEventListener("touchcancel",F,vt),d.removeEventListener("touchend",F,vt)),En=d=null),Sn===g.value&&(document.removeEventListener("mouseup",F,vt),Sn=null),Cn===g.value&&(document.removeEventListener("keyup",F,!0),(W=g.value)==null||W.removeEventListener("blur",F,vt),Cn=null),($=g.value)==null||$.classList.remove("q-btn--active")}function K(V){He(V),V.qSkipRipple=!0}return a.onBeforeUnmount(()=>{N(!0)}),Object.assign(o,{click:V=>{m.value===!0&&k(V)}}),()=>{let V=[];e.icon!==void 0&&V.push(a.h(Ae,{name:e.icon,left:e.stack!==!0&&p.value===!0,role:"img"})),p.value===!0&&V.push(a.h("span",{class:"block"},[e.label])),V=At(t.default,V),e.iconRight!==void 0&&e.round===!1&&V.push(a.h(Ae,{name:e.iconRight,right:e.stack!==!0&&p.value===!0,role:"img"}));const J=[a.h("span",{class:"q-focus-helper",ref:h})];return e.loading===!0&&e.percentage!==void 0&&J.push(a.h("span",{class:"q-btn__progress absolute-full overflow-hidden"+(e.darkPercentage===!0?" q-btn__progress--dark":"")},[a.h("span",{class:"q-btn__progress-indicator fit block",style:v.value})])),J.push(a.h("span",{class:"q-btn__content text-center col items-center q-anchor--skip "+i.value},V)),e.loading!==null&&J.push(a.h(a.Transition,{name:"q-transition--fade"},()=>e.loading===!0?[a.h("span",{key:"loading",class:"absolute-full flex flex-center"},t.loading!==void 0?t.loading():[a.h(Xl)])]:null)),a.withDirectives(a.h(f.value,D.value,J),[[si,y.value,void 0,C.value]])}}});let no=0;const Nm={fullscreen:Boolean,noRouteFullscreenExit:Boolean},Dm=["update:fullscreen","fullscreen"];function Im(){const e=a.getCurrentInstance(),{props:t,emit:n,proxy:o}=e;let r,l,i;const s=a.ref(!1);Wr(e)===!0&&a.watch(()=>o.$route.fullPath,()=>{t.noRouteFullscreenExit!==!0&&c()}),a.watch(()=>t.fullscreen,m=>{s.value!==m&&u()}),a.watch(s,m=>{n("update:fullscreen",m),n("fullscreen",m)});function u(){s.value===!0?c():f()}function f(){s.value!==!0&&(s.value=!0,i=o.$el.parentNode,i.replaceChild(l,o.$el),document.body.appendChild(o.$el),no++,no===1&&document.body.classList.add("q-body--fullscreen-mixin"),r={handler:c},jn.add(r))}function c(){s.value===!0&&(r!==void 0&&(jn.remove(r),r=void 0),i.replaceChild(o.$el,l),s.value=!1,no=Math.max(0,no-1),no===0&&(document.body.classList.remove("q-body--fullscreen-mixin"),o.$el.scrollIntoView!==void 0&&setTimeout(()=>{o.$el.scrollIntoView()})))}return a.onBeforeMount(()=>{l=document.createElement("span")}),a.onMounted(()=>{t.fullscreen===!0&&f()}),a.onBeforeUnmount(c),Object.assign(o,{toggleFullscreen:u,setFullscreen:f,exitFullscreen:c}),{inFullscreen:s,toggleFullscreen:u}}function Am(e,t){return new Date(e)-new Date(t)}const Pm={sortMethod:Function,binaryStateSort:Boolean,columnSortOrder:{type:String,validator:e=>e==="ad"||e==="da",default:"ad"}};function Lm(e,t,n,o){const r=a.computed(()=>{const{sortBy:s}=t.value;return s&&n.value.find(u=>u.name===s)||null}),l=a.computed(()=>e.sortMethod!==void 0?e.sortMethod:(s,u,f)=>{const c=n.value.find(h=>h.name===u);if(c===void 0||c.field===void 0)return s;const m=f===!0?-1:1,g=typeof c.field=="function"?h=>c.field(h):h=>h[c.field];return s.sort((h,d)=>{let b=g(h),_=g(d);return c.rawSort!==void 0?c.rawSort(b,_,h,d)*m:b==null?-1*m:_==null?1*m:c.sort!==void 0?c.sort(b,_,h,d)*m:Tr(b)===!0&&Tr(_)===!0?(b-_)*m:Oo(b)===!0&&Oo(_)===!0?Am(b,_)*m:typeof b=="boolean"&&typeof _=="boolean"?(b-_)*m:([b,_]=[b,_].map(p=>(p+"").toLocaleString().toLowerCase()),b<_?-1*m:b===_?0:m)})});function i(s){let u=e.columnSortOrder;if(kr(s)===!0)s.sortOrder&&(u=s.sortOrder),s=s.name;else{const m=n.value.find(g=>g.name===s);m!=null&&m.sortOrder&&(u=m.sortOrder)}let{sortBy:f,descending:c}=t.value;f!==s?(f=s,c=u==="da"):e.binaryStateSort===!0?c=!c:c===!0?u==="ad"?f=null:c=!1:u==="ad"?c=!0:f=null,o({sortBy:f,descending:c,page:1})}return{columnToSort:r,computedSortMethod:l,sort:i}}const Vm={filter:[String,Object],filterMethod:Function};function Rm(e,t){const n=a.computed(()=>e.filterMethod!==void 0?e.filterMethod:(o,r,l,i)=>{const s=r?r.toLowerCase():"";return o.filter(u=>l.some(f=>{const c=i(f,u)+"";return(c==="undefined"||c==="null"?"":c.toLowerCase()).indexOf(s)!==-1}))});return a.watch(()=>e.filter,()=>{a.nextTick(()=>{t({page:1},!0)})},{deep:!0}),{computedFilterMethod:n}}function Bm(e,t){for(const n in t)if(t[n]!==e[n])return!1;return!0}function Hi(e){return e.page<1&&(e.page=1),e.rowsPerPage!==void 0&&e.rowsPerPage<1&&(e.rowsPerPage=0),e}const Mm={pagination:Object,rowsPerPageOptions:{type:Array,default:()=>[5,7,10,15,20,25,50,0]},"onUpdate:pagination":[Function,Array]};function Fm(e,t){const{props:n,emit:o}=e,r=a.ref(Object.assign({sortBy:null,descending:!1,page:1,rowsPerPage:n.rowsPerPageOptions.length!==0?n.rowsPerPageOptions[0]:5},n.pagination)),l=a.computed(()=>{const c=n["onUpdate:pagination"]!==void 0?{...r.value,...n.pagination}:r.value;return Hi(c)}),i=a.computed(()=>l.value.rowsNumber!==void 0);function s(c){u({pagination:c,filter:n.filter})}function u(c={}){a.nextTick(()=>{o("request",{pagination:c.pagination||l.value,filter:c.filter||n.filter,getCellValue:t})})}function f(c,m){const g=Hi({...l.value,...c});if(Bm(l.value,g)===!0){i.value===!0&&m===!0&&s(g);return}if(i.value===!0){s(g);return}n.pagination!==void 0&&n["onUpdate:pagination"]!==void 0?o("update:pagination",g):r.value=g}return{innerPagination:r,computedPagination:l,isServerSide:i,requestServerInteraction:u,setPagination:f}}function qm(e,t,n,o,r,l){const{props:i,emit:s,proxy:{$q:u}}=e,f=a.computed(()=>o.value===!0?n.value.rowsNumber||0:l.value),c=a.computed(()=>{const{page:v,rowsPerPage:O}=n.value;return(v-1)*O}),m=a.computed(()=>{const{page:v,rowsPerPage:O}=n.value;return v*O}),g=a.computed(()=>n.value.page===1),h=a.computed(()=>n.value.rowsPerPage===0?1:Math.max(1,Math.ceil(f.value/n.value.rowsPerPage))),d=a.computed(()=>m.value===0?!0:n.value.page>=h.value),b=a.computed(()=>(i.rowsPerPageOptions.includes(t.value.rowsPerPage)?i.rowsPerPageOptions:[t.value.rowsPerPage].concat(i.rowsPerPageOptions)).map(O=>({label:O===0?u.lang.table.allRows:""+O,value:O})));a.watch(h,(v,O)=>{if(v===O)return;const D=n.value.page;v&&!D?r({page:1}):v<D&&r({page:v})});function _(){r({page:1})}function p(){const{page:v}=n.value;v>1&&r({page:v-1})}function y(){const{page:v,rowsPerPage:O}=n.value;m.value>0&&v*O<f.value&&r({page:v+1})}function C(){r({page:h.value})}return i["onUpdate:pagination"]!==void 0&&s("update:pagination",{...n.value}),{firstRowIndex:c,lastRowIndex:m,isFirstPage:g,isLastPage:d,pagesNumber:h,computedRowsPerPageOptions:b,computedRowsNumber:f,firstPage:_,prevPage:p,nextPage:y,lastPage:C}}const $m={selection:{type:String,default:"none",validator:e=>["single","multiple","none"].includes(e)},selected:{type:Array,default:()=>[]}},Um=["update:selected","selection"];function Hm(e,t,n,o){const r=a.computed(()=>{const d={};return e.selected.map(o.value).forEach(b=>{d[b]=!0}),d}),l=a.computed(()=>e.selection!=="none"),i=a.computed(()=>e.selection==="single"),s=a.computed(()=>e.selection==="multiple"),u=a.computed(()=>n.value.length!==0&&n.value.every(d=>r.value[o.value(d)]===!0)),f=a.computed(()=>u.value!==!0&&n.value.some(d=>r.value[o.value(d)]===!0)),c=a.computed(()=>e.selected.length);function m(d){return r.value[d]===!0}function g(){t("update:selected",[])}function h(d,b,_,p){t("selection",{rows:b,added:_,keys:d,evt:p});const y=i.value===!0?_===!0?b:[]:_===!0?e.selected.concat(b):e.selected.filter(C=>d.includes(o.value(C))===!1);t("update:selected",y)}return{hasSelectionMode:l,singleSelection:i,multipleSelection:s,allRowsSelected:u,someRowsSelected:f,rowsSelectedNumber:c,isRowSelected:m,clearSelection:g,updateSelection:h}}function zi(e){return Array.isArray(e)?e.slice():[]}const zm={expanded:Array},jm=["update:expanded"];function Wm(e,t){const n=a.ref(zi(e.expanded));a.watch(()=>e.expanded,i=>{n.value=zi(i)});function o(i){return n.value.includes(i)}function r(i){e.expanded!==void 0?t("update:expanded",i):n.value=i}function l(i,s){const u=n.value.slice(),f=u.indexOf(i);s===!0?f===-1&&(u.push(i),r(u)):f!==-1&&(u.splice(f,1),r(u))}return{isRowExpanded:o,setExpanded:r,updateExpanded:l}}const Km={visibleColumns:Array};function Ym(e,t,n){const o=a.computed(()=>{if(e.columns!==void 0)return e.columns;const s=e.rows[0];return s!==void 0?Object.keys(s).map(u=>({name:u,label:u.toUpperCase(),field:u,align:Tr(s[u])?"right":"left",sortable:!0})):[]}),r=a.computed(()=>{const{sortBy:s,descending:u}=t.value;return(e.visibleColumns!==void 0?o.value.filter(c=>c.required===!0||e.visibleColumns.includes(c.name)===!0):o.value).map(c=>{const m=c.align||"right",g=`text-${m}`;return{...c,align:m,__iconClass:`q-table__sort-icon q-table__sort-icon--${m}`,__thClass:g+(c.headerClasses!==void 0?" "+c.headerClasses:"")+(c.sortable===!0?" sortable":"")+(c.name===s?` sorted ${u===!0?"sort-desc":""}`:""),__tdStyle:c.style!==void 0?typeof c.style!="function"?()=>c.style:c.style:()=>null,__tdClass:c.classes!==void 0?typeof c.classes!="function"?()=>g+" "+c.classes:h=>g+" "+c.classes(h):()=>g}})}),l=a.computed(()=>{const s={};return r.value.forEach(u=>{s[u.name]=u}),s}),i=a.computed(()=>e.tableColspan!==void 0?e.tableColspan:r.value.length+(n.value===!0?1:0));return{colList:o,computedCols:r,computedColsMap:l,computedColspan:i}}const Ho="q-table__bottom row items-center",ji={};Wl.forEach(e=>{ji[e]={}});const Gm=ge({name:"QTable",props:{rows:{type:Array,required:!0},rowKey:{type:[String,Function],default:"id"},columns:Array,loading:Boolean,iconFirstPage:String,iconPrevPage:String,iconNextPage:String,iconLastPage:String,title:String,hideHeader:Boolean,grid:Boolean,gridHeader:Boolean,dense:Boolean,flat:Boolean,bordered:Boolean,square:Boolean,separator:{type:String,default:"horizontal",validator:e=>["horizontal","vertical","cell","none"].includes(e)},wrapCells:Boolean,virtualScroll:Boolean,virtualScrollTarget:{},...ji,noDataLabel:String,noResultsLabel:String,loadingLabel:String,selectedRowsLabel:Function,rowsPerPageLabel:String,paginationLabel:Function,color:{type:String,default:"grey-8"},titleClass:[String,Array,Object],tableStyle:[String,Array,Object],tableClass:[String,Array,Object],tableHeaderStyle:[String,Array,Object],tableHeaderClass:[String,Array,Object],tableRowStyleFn:Function,tableRowClassFn:Function,cardContainerClass:[String,Array,Object],cardContainerStyle:[String,Array,Object],cardStyle:[String,Array,Object],cardClass:[String,Array,Object],cardStyleFn:Function,cardClassFn:Function,hideBottom:Boolean,hideSelectedBanner:Boolean,hideNoData:Boolean,hidePagination:Boolean,onRowClick:Function,onRowDblclick:Function,onRowContextmenu:Function,...dt,...Nm,...Km,...Vm,...Mm,...zm,...$m,...Pm},emits:["request","virtualScroll",...Dm,...jm,...Um],setup(e,{slots:t,emit:n}){const o=a.getCurrentInstance(),{proxy:{$q:r}}=o,l=ft(e,r),{inFullscreen:i,toggleFullscreen:s}=Im(),u=a.computed(()=>typeof e.rowKey=="function"?e.rowKey:A=>A[e.rowKey]),f=a.ref(null),c=a.ref(null),m=a.computed(()=>e.grid!==!0&&e.virtualScroll===!0),g=a.computed(()=>" q-table__card"+(l.value===!0?" q-table__card--dark q-dark":"")+(e.square===!0?" q-table--square":"")+(e.flat===!0?" q-table--flat":"")+(e.bordered===!0?" q-table--bordered":"")),h=a.computed(()=>`q-table__container q-table--${e.separator}-separator column no-wrap`+(e.grid===!0?" q-table--grid":g.value)+(l.value===!0?" q-table--dark":"")+(e.dense===!0?" q-table--dense":"")+(e.wrapCells===!1?" q-table--no-wrap":"")+(i.value===!0?" fullscreen scroll":"")),d=a.computed(()=>h.value+(e.loading===!0?" q-table--loading":""));a.watch(()=>e.tableStyle+e.tableClass+e.tableHeaderStyle+e.tableHeaderClass+h.value,()=>{var A;m.value===!0&&((A=c.value)==null||A.reset())});const{innerPagination:b,computedPagination:_,isServerSide:p,requestServerInteraction:y,setPagination:C}=Fm(o,We),{computedFilterMethod:v}=Rm(e,C),{isRowExpanded:O,setExpanded:D,updateExpanded:k}=Wm(e,n),B=a.computed(()=>{let A=e.rows;if(p.value===!0||A.length===0)return A;const{sortBy:Z,descending:ie}=_.value;return e.filter&&(A=v.value(A,e.filter,x.value,We)),re.value!==null&&(A=ae.value(e.rows===A?A.slice():A,Z,ie)),A}),I=a.computed(()=>B.value.length),P=a.computed(()=>{let A=B.value;if(p.value===!0)return A;const{rowsPerPage:Z}=_.value;return Z!==0&&(Q.value===0&&e.rows!==A?A.length>pe.value&&(A=A.slice(0,pe.value)):A=A.slice(Q.value,pe.value)),A}),{hasSelectionMode:F,singleSelection:N,multipleSelection:K,allRowsSelected:V,someRowsSelected:J,rowsSelectedNumber:W,isRowSelected:$,clearSelection:z,updateSelection:G}=Hm(e,n,P,u),{colList:ee,computedCols:x,computedColsMap:T,computedColspan:H}=Ym(e,_,F),{columnToSort:re,computedSortMethod:ae,sort:q}=Lm(e,_,ee,C),{firstRowIndex:Q,lastRowIndex:pe,isFirstPage:j,isLastPage:Ce,pagesNumber:Ve,computedRowsPerPageOptions:Ct,computedRowsNumber:Be,firstPage:ht,prevPage:Ge,nextPage:nt,lastPage:St}=qm(o,b,_,p,C,I),E=a.computed(()=>P.value.length===0),w=a.computed(()=>{const A={};return Wl.forEach(Z=>{A[Z]=e[Z]}),A.virtualScrollItemSize===void 0&&(A.virtualScrollItemSize=e.dense===!0?28:48),A});function R(){m.value===!0&&c.value.reset()}function te(){if(e.grid===!0)return El();const A=e.hideHeader!==!0?vo:null;if(m.value===!0){const ie=t["top-row"],le=t["bottom-row"],ue={default:Re=>L(Re.item,t.body,Re.index)};if(ie!==void 0){const Re=a.h("tbody",ie({cols:x.value}));ue.before=A===null?()=>Re:()=>[A()].concat(Re)}else A!==null&&(ue.before=A);return le!==void 0&&(ue.after=()=>a.h("tbody",le({cols:x.value}))),a.h(vf,{ref:c,class:e.tableClass,style:e.tableStyle,...w.value,scrollTarget:e.virtualScrollTarget,items:P.value,type:"__qtable",tableColspan:H.value,onVirtualScroll:ye},ue)}const Z=[U()];return A!==null&&Z.unshift(A()),Ul({class:["q-table__middle scroll",e.tableClass],style:e.tableStyle},Z)}function me(A,Z){if(c.value!==null){c.value.scrollTo(A,Z);return}A=parseInt(A,10);const ie=f.value.querySelector(`tbody tr:nth-of-type(${A+1})`);if(ie!==null){const le=f.value.querySelector(".q-table__middle.scroll"),ue=ie.offsetTop-e.virtualScrollStickySizeStart,Re=ue<le.scrollTop?"decrease":"increase";le.scrollTop=ue,n("virtualScroll",{index:A,from:0,to:b.value.rowsPerPage-1,direction:Re})}}function ye(A){n("virtualScroll",A)}function de(){return[a.h(hm,{class:"q-table__linear-progress",color:e.color,dark:l.value,indeterminate:!0,trackColor:"transparent"})]}function L(A,Z,ie){const le=u.value(A),ue=$(le);if(Z!==void 0){const Ie={key:le,row:A,pageIndex:ie,__trClass:ue?"selected":""};if(e.tableRowStyleFn!==void 0&&(Ie.__trStyle=e.tableRowStyleFn(A)),e.tableRowClassFn!==void 0){const Ut=e.tableRowClassFn(A);Ut&&(Ie.__trClass=`${Ut} ${Ie.__trClass}`)}return Z(fe(Ie))}const Re=t["body-cell"],De=x.value.map(Ie=>{const Ut=t[`body-cell-${Ie.name}`],Fn=Ut!==void 0?Ut:Re;return Fn!==void 0?Fn(Ne({key:le,row:A,pageIndex:ie,col:Ie})):a.h("td",{class:Ie.__tdClass(A),style:Ie.__tdStyle(A)},We(Ie,A))});if(F.value===!0){const Ie=t["body-selection"],Ut=Ie!==void 0?Ie(wt({key:le,row:A,pageIndex:ie})):[a.h(zt,{modelValue:ue,color:e.color,dark:l.value,dense:e.dense,"onUpdate:modelValue":(Fn,Cl)=>{G([le],[A],Fn,Cl)}})];De.unshift(a.h("td",{class:"q-table--col-auto-width"},Ut))}const bt={key:le,class:{selected:ue}};if(e.onRowClick!==void 0&&(bt.class["cursor-pointer"]=!0,bt.onClick=Ie=>{n("rowClick",Ie,A,ie)}),e.onRowDblclick!==void 0&&(bt.class["cursor-pointer"]=!0,bt.onDblclick=Ie=>{n("rowDblclick",Ie,A,ie)}),e.onRowContextmenu!==void 0&&(bt.class["cursor-pointer"]=!0,bt.onContextmenu=Ie=>{n("rowContextmenu",Ie,A,ie)}),e.tableRowStyleFn!==void 0&&(bt.style=e.tableRowStyleFn(A)),e.tableRowClassFn!==void 0){const Ie=e.tableRowClassFn(A);Ie&&(bt.class[Ie]=!0)}return a.h("tr",bt,De)}function U(){const A=t.body,Z=t["top-row"],ie=t["bottom-row"];let le=P.value.map((ue,Re)=>L(ue,A,Re));return Z!==void 0&&(le=Z({cols:x.value}).concat(le)),ie!==void 0&&(le=le.concat(ie({cols:x.value}))),a.h("tbody",le)}function fe(A){return lt(A),A.cols=A.cols.map(Z=>gt({...Z},"value",()=>We(Z,A.row))),A}function Ne(A){return lt(A),gt(A,"value",()=>We(A.col,A.row)),A}function wt(A){return lt(A),A}function lt(A){Object.assign(A,{cols:x.value,colsMap:T.value,sort:q,rowIndex:Q.value+A.pageIndex,color:e.color,dark:l.value,dense:e.dense}),F.value===!0&>(A,"selected",()=>$(A.key),(Z,ie)=>{G([A.key],[A.row],Z,ie)}),gt(A,"expand",()=>O(A.key),Z=>{k(A.key,Z)})}function We(A,Z){const ie=typeof A.field=="function"?A.field(Z):Z[A.field];return A.format!==void 0?A.format(ie,Z):ie}const Qe=a.computed(()=>({pagination:_.value,pagesNumber:Ve.value,isFirstPage:j.value,isLastPage:Ce.value,firstPage:ht,prevPage:Ge,nextPage:nt,lastPage:St,inFullscreen:i.value,toggleFullscreen:s}));function yo(){const A=t.top,Z=t["top-left"],ie=t["top-right"],le=t["top-selection"],ue=F.value===!0&&le!==void 0&&W.value>0,Re="q-table__top relative-position row items-center";if(A!==void 0)return a.h("div",{class:Re},[A(Qe.value)]);let De;if(ue===!0?De=le(Qe.value).slice():(De=[],Z!==void 0?De.push(a.h("div",{class:"q-table__control"},[Z(Qe.value)])):e.title&&De.push(a.h("div",{class:"q-table__control"},[a.h("div",{class:["q-table__title",e.titleClass]},e.title)]))),ie!==void 0&&(De.push(a.h("div",{class:"q-table__separator col"})),De.push(a.h("div",{class:"q-table__control"},[ie(Qe.value)]))),De.length!==0)return a.h("div",{class:Re},De)}const $t=a.computed(()=>J.value===!0?null:V.value);function vo(){const A=_r();return e.loading===!0&&t.loading===void 0&&A.push(a.h("tr",{class:"q-table__progress"},[a.h("th",{class:"relative-position",colspan:H.value},de())])),a.h("thead",A)}function _r(){const A=t.header,Z=t["header-cell"];if(A!==void 0)return A(Mn({header:!0})).slice();const ie=x.value.map(le=>{const ue=t[`header-cell-${le.name}`],Re=ue!==void 0?ue:Z,De=Mn({col:le});return Re!==void 0?Re(De):a.h(Ar,{key:le.name,props:De},()=>le.label)});if(N.value===!0&&e.grid!==!0)ie.unshift(a.h("th",{class:"q-table--col-auto-width"}," "));else if(K.value===!0){const le=t["header-selection"],ue=le!==void 0?le(Mn({})):[a.h(zt,{color:e.color,modelValue:$t.value,dark:l.value,dense:e.dense,"onUpdate:modelValue":Eo})];ie.unshift(a.h("th",{class:"q-table--col-auto-width"},ue))}return[a.h("tr",{class:e.tableHeaderClass,style:e.tableHeaderStyle},ie)]}function Mn(A){return Object.assign(A,{cols:x.value,sort:q,colsMap:T.value,color:e.color,dark:l.value,dense:e.dense}),K.value===!0&>(A,"selected",()=>$t.value,Eo),A}function Eo(A){J.value===!0&&(A=!1),G(P.value.map(u.value),P.value,A)}const pn=a.computed(()=>{const A=[e.iconFirstPage||r.iconSet.table.firstPage,e.iconPrevPage||r.iconSet.table.prevPage,e.iconNextPage||r.iconSet.table.nextPage,e.iconLastPage||r.iconSet.table.lastPage];return r.lang.rtl===!0?A.reverse():A});function br(){if(e.hideBottom===!0)return;if(E.value===!0){if(e.hideNoData===!0)return;const ie=e.loading===!0?e.loadingLabel||r.lang.table.loading:e.filter?e.noResultsLabel||r.lang.table.noResults:e.noDataLabel||r.lang.table.noData,le=t["no-data"],ue=le!==void 0?[le({message:ie,icon:r.iconSet.table.warning,filter:e.filter})]:[a.h(Ae,{class:"q-table__bottom-nodata-icon",name:r.iconSet.table.warning}),ie];return a.h("div",{class:Ho+" q-table__bottom--nodata"},ue)}const A=t.bottom;if(A!==void 0)return a.h("div",{class:Ho},[A(Qe.value)]);const Z=e.hideSelectedBanner!==!0&&F.value===!0&&W.value>0?[a.h("div",{class:"q-table__control"},[a.h("div",[(e.selectedRowsLabel||r.lang.table.selectedRecords)(W.value)])])]:[];if(e.hidePagination!==!0)return a.h("div",{class:Ho+" justify-end"},vl(Z));if(Z.length!==0)return a.h("div",{class:Ho},Z)}function yl(A){C({page:1,rowsPerPage:A.value})}function vl(A){let Z;const{rowsPerPage:ie}=_.value,le=e.paginationLabel||r.lang.table.pagination,ue=t.pagination,Re=e.rowsPerPageOptions.length>1;if(A.push(a.h("div",{class:"q-table__separator col"})),Re===!0&&A.push(a.h("div",{class:"q-table__control"},[a.h("span",{class:"q-table__bottom-item"},[e.rowsPerPageLabel||r.lang.table.recordsPerPage]),a.h(ca,{class:"q-table__select inline q-table__bottom-item",color:e.color,modelValue:ie,options:Ct.value,displayValue:ie===0?r.lang.table.allRows:ie,dark:l.value,borderless:!0,dense:!0,optionsDense:!0,optionsCover:!0,"onUpdate:modelValue":yl})])),ue!==void 0)Z=ue(Qe.value);else if(Z=[a.h("span",ie!==0?{class:"q-table__bottom-item"}:{},[ie?le(Q.value+1,Math.min(pe.value,Be.value),Be.value):le(1,I.value,Be.value)])],ie!==0&&Ve.value>1){const De={color:e.color,round:!0,dense:!0,flat:!0};e.dense===!0&&(De.size="sm"),Ve.value>2&&Z.push(a.h(it,{key:"pgFirst",...De,icon:pn.value[0],disable:j.value,ariaLabel:r.lang.pagination.first,onClick:ht})),Z.push(a.h(it,{key:"pgPrev",...De,icon:pn.value[1],disable:j.value,ariaLabel:r.lang.pagination.prev,onClick:Ge}),a.h(it,{key:"pgNext",...De,icon:pn.value[2],disable:Ce.value,ariaLabel:r.lang.pagination.next,onClick:nt})),Ve.value>2&&Z.push(a.h(it,{key:"pgLast",...De,icon:pn.value[3],disable:Ce.value,ariaLabel:r.lang.pagination.last,onClick:St}))}return A.push(a.h("div",{class:"q-table__control"},Z)),A}function yr(){const A=e.gridHeader===!0?[a.h("table",{class:"q-table"},[vo()])]:e.loading===!0&&t.loading===void 0?de():void 0;return a.h("div",{class:"q-table__middle"},A)}function El(){const A=t.item!==void 0?t.item:Z=>{const ie=Z.cols.map(ue=>a.h("div",{class:"q-table__grid-item-row"},[a.h("div",{class:"q-table__grid-item-title"},[ue.label]),a.h("div",{class:"q-table__grid-item-value"},[ue.value])]));if(F.value===!0){const ue=t["body-selection"],Re=ue!==void 0?ue(Z):[a.h(zt,{modelValue:Z.selected,color:e.color,dark:l.value,dense:e.dense,"onUpdate:modelValue":(De,bt)=>{G([Z.key],[Z.row],De,bt)}})];ie.unshift(a.h("div",{class:"q-table__grid-item-row"},Re),a.h(xr,{dark:l.value}))}const le={class:["q-table__grid-item-card"+g.value,e.cardClass],style:e.cardStyle};if(e.cardStyleFn!==void 0&&(le.style=[le.style,e.cardStyleFn(Z.row)]),e.cardClassFn!==void 0){const ue=e.cardClassFn(Z.row);ue&&(le.class[0]+=` ${ue}`)}return(e.onRowClick!==void 0||e.onRowDblclick!==void 0||e.onRowContextmenu!==void 0)&&(le.class[0]+=" cursor-pointer",e.onRowClick!==void 0&&(le.onClick=ue=>{n("RowClick",ue,Z.row,Z.pageIndex)}),e.onRowDblclick!==void 0&&(le.onDblclick=ue=>{n("RowDblclick",ue,Z.row,Z.pageIndex)}),e.onRowContextmenu!==void 0&&(le.onContextmenu=ue=>{n("rowContextmenu",ue,Z.row,Z.pageIndex)})),a.h("div",{class:"q-table__grid-item col-xs-12 col-sm-6 col-md-4 col-lg-3"+(Z.selected===!0?" q-table__grid-item--selected":"")},[a.h("div",le,ie)])};return a.h("div",{class:["q-table__grid-content row",e.cardContainerClass],style:e.cardContainerStyle},P.value.map((Z,ie)=>A(fe({key:u.value(Z),row:Z,pageIndex:ie}))))}return Object.assign(o.proxy,{requestServerInteraction:y,setPagination:C,firstPage:ht,prevPage:Ge,nextPage:nt,lastPage:St,isRowSelected:$,clearSelection:z,isRowExpanded:O,setExpanded:D,sort:q,resetVirtualScroll:R,scrollTo:me,getCellValue:We}),xd(o.proxy,{filteredSortedRows:()=>B.value,computedRows:()=>P.value,computedRowsNumber:()=>Be.value}),()=>{const A=[yo()],Z={ref:f,class:d.value};return e.grid===!0?A.push(yr()):Object.assign(Z,{class:[Z.class,e.cardClass],style:e.cardStyle}),A.push(te(),br()),e.loading===!0&&t.loading!==void 0&&A.push(t.loading()),a.h("div",Z,A)}}}),Qm=ge({name:"QTr",props:{props:Object,noHover:Boolean},setup(e,{slots:t}){const n=a.computed(()=>"q-tr"+(e.props===void 0||e.props.header===!0?"":" "+e.props.__trClass)+(e.noHover===!0?" q-tr--no-hover":""));return()=>{var o;return a.h("tr",{style:(o=e.props)==null?void 0:o.__trStyle,class:n.value},ve(t.default))}}}),Xm={name:"TableSlotHeader",props:{tableProps:{type:Object,required:!0},selectionType:{type:String,default:"none"},smallDevice:{type:Boolean,required:!0}},data(){return{tablePropsData:this.tableProps,showColumnsSelector:!1,showSearch:!1}},watch:{tableProps(e){this.tablePropsData=e}},methods:{}},Pe=(e,t)=>{const n=e.__vccOpts||e;for(const[o,r]of t)n[o]=r;return n};function Zm(e,t,n,o,r,l){return a.openBlock(),a.createBlock(Qm,{class:"table-header"},{default:a.withCtx(()=>[n.selectionType!=="none"?(a.openBlock(),a.createBlock(Ar,{key:0},{default:a.withCtx(()=>[n.selectionType=="multiple"?(a.openBlock(),a.createBlock(zt,{key:0,modelValue:r.tablePropsData.selected,"onUpdate:modelValue":t[0]||(t[0]=i=>r.tablePropsData.selected=i),size:"sm",class:"float-left"},null,8,["modelValue"])):a.createCommentVNode("",!0)]),_:1})):a.createCommentVNode("",!0),n.smallDevice?a.createCommentVNode("",!0):(a.openBlock(!0),a.createElementBlock(a.Fragment,{key:1},a.renderList(r.tablePropsData.cols,i=>(a.openBlock(),a.createBlock(Ar,{key:i.name,props:r.tablePropsData},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(i.label),1)]),_:2},1032,["props"]))),128))]),_:1})}const Jm=Pe(Xm,[["render",Zm]]),eh={name:"TableColumnsSelector",props:{columns:{type:Array},visibleColumns:{type:Array,required:!0}},emits:["onSelectVisibleColumns"],data(){return{visibleColumnsData:[]}},mounted(){this.visibleColumnsData=this.visibleColumns},methods:{onSelectVisibleColumns(e){this.$emit("onSelectVisibleColumns",e)}}};function th(e,t,n,o,r,l){return a.openBlock(),a.createBlock(ca,{modelValue:r.visibleColumnsData,"onUpdate:modelValue":[t[0]||(t[0]=i=>r.visibleColumnsData=i),l.onSelectVisibleColumns],multiple:"",outlined:"",dense:"","options-dense":"","display-value":e.$q.lang.table.columns,"emit-value":"","map-options":"",options:n.columns,"option-value":"name","options-cover":"",class:"columns-selector","options-selected-class":"addicional-visible-columns"},{option:a.withCtx(i=>[a.createVNode(yt,a.mergeProps(i.itemProps,{class:i.opt.required?"required-table-columns":""}),{default:a.withCtx(()=>[a.createVNode(tt,null,{default:a.withCtx(()=>[a.createVNode(Xe,null,{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(i.opt.label),1)]),_:2},1024)]),_:2},1024)]),_:2},1040,["class"])]),_:1},8,["modelValue","display-value","options","onUpdate:modelValue"])}const nh=Pe(eh,[["render",th]]),Wi=ge({name:"QTd",props:{props:Object,autoWidth:Boolean,noHover:Boolean},setup(e,{slots:t}){const n=a.getCurrentInstance(),o=a.computed(()=>"q-td"+(e.autoWidth===!0?" q-table--col-auto-width":"")+(e.noHover===!0?" q-td--no-hover":"")+" ");return()=>{if(e.props===void 0)return a.h("td",{class:o.value},ve(t.default));const r=n.vnode.key,l=(e.props.colsMap!==void 0?e.props.colsMap[r]:null)||e.props.col;if(l===void 0)return;const{row:i}=e.props;return a.h("td",{class:o.value+l.__tdClass(i),style:l.__tdStyle(i)},ve(t.default))}}}),Ki={date:"####/##/##",datetime:"####/##/## ##:##",time:"##:##",fulltime:"##:##:##",phone:"(###) ### - ####",card:"#### #### #### ####"},zo={"#":{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()}},Yi=Object.keys(zo);Yi.forEach(e=>{zo[e].regex=new RegExp(zo[e].pattern)});const oh=new RegExp("\\\\([^.*+?^${}()|([\\]])|([.*+?^${}()|[\\]])|(["+Yi.join("")+"])|(.)","g"),Gi=/[.*+?^${}()|[\]\\]/g,je="",rh={mask:String,reverseFillMask:Boolean,fillMask:[Boolean,String],unmaskedValue:Boolean};function ah(e,t,n,o){let r,l,i,s,u,f;const c=a.ref(null),m=a.ref(h());function g(){return e.autogrow===!0||["textarea","text","search","url","tel","password"].includes(e.type)}a.watch(()=>e.type+e.autogrow,b),a.watch(()=>e.mask,I=>{if(I!==void 0)_(m.value,!0);else{const P=k(m.value);b(),e.modelValue!==P&&t("update:modelValue",P)}}),a.watch(()=>e.fillMask+e.reverseFillMask,()=>{c.value===!0&&_(m.value,!0)}),a.watch(()=>e.unmaskedValue,()=>{c.value===!0&&_(m.value)});function h(){if(b(),c.value===!0){const I=O(k(e.modelValue));return e.fillMask!==!1?B(I):I}return e.modelValue}function d(I){if(I<r.length)return r.slice(-I);let P="",F=r;const N=F.indexOf(je);if(N!==-1){for(let K=I-F.length;K>0;K--)P+=je;F=F.slice(0,N)+P+F.slice(N)}return F}function b(){if(c.value=e.mask!==void 0&&e.mask.length!==0&&g(),c.value===!1){s=void 0,r="",l="";return}const I=Ki[e.mask]===void 0?e.mask:Ki[e.mask],P=typeof e.fillMask=="string"&&e.fillMask.length!==0?e.fillMask.slice(0,1):"_",F=P.replace(Gi,"\\$&"),N=[],K=[],V=[];let J=e.reverseFillMask===!0,W="",$="";I.replace(oh,(x,T,H,re,ae)=>{if(re!==void 0){const q=zo[re];V.push(q),$=q.negate,J===!0&&(K.push("(?:"+$+"+)?("+q.pattern+"+)?(?:"+$+"+)?("+q.pattern+"+)?"),J=!1),K.push("(?:"+$+"+)?("+q.pattern+")?")}else if(H!==void 0)W="\\"+(H==="\\"?"":H),V.push(H),N.push("([^"+W+"]+)?"+W+"?");else{const q=T!==void 0?T:ae;W=q==="\\"?"\\\\\\\\":q.replace(Gi,"\\\\$&"),V.push(q),N.push("([^"+W+"]+)?"+W+"?")}});const z=new RegExp("^"+N.join("")+"("+(W===""?".":"[^"+W+"]")+"+)?"+(W===""?"":"["+W+"]*")+"$"),G=K.length-1,ee=K.map((x,T)=>T===0&&e.reverseFillMask===!0?new RegExp("^"+F+"*"+x):T===G?new RegExp("^"+x+"("+($===""?".":$)+"+)?"+(e.reverseFillMask===!0?"$":F+"*")):new RegExp("^"+x));i=V,s=x=>{const T=z.exec(e.reverseFillMask===!0?x:x.slice(0,V.length+1));T!==null&&(x=T.slice(1).join(""));const H=[],re=ee.length;for(let ae=0,q=x;ae<re;ae++){const Q=ee[ae].exec(q);if(Q===null)break;q=q.slice(Q.shift().length),H.push(...Q)}return H.length!==0?H.join(""):x},r=V.map(x=>typeof x=="string"?x:je).join(""),l=r.split(je).join(P)}function _(I,P,F){const N=o.value,K=N.selectionEnd,V=N.value.length-K,J=k(I);P===!0&&b();const W=O(J),$=e.fillMask!==!1?B(W):W,z=m.value!==$;N.value!==$&&(N.value=$),z===!0&&(m.value=$),document.activeElement===N&&a.nextTick(()=>{if($===l){const ee=e.reverseFillMask===!0?l.length:0;N.setSelectionRange(ee,ee,"forward");return}if(F==="insertFromPaste"&&e.reverseFillMask!==!0){const ee=N.selectionEnd;let x=K-1;for(let T=u;T<=x&&T<ee;T++)r[T]!==je&&x++;y.right(N,x);return}if(["deleteContentBackward","deleteContentForward"].indexOf(F)!==-1){const ee=e.reverseFillMask===!0?K===0?$.length>W.length?1:0:Math.max(0,$.length-($===l?0:Math.min(W.length,V)+1))+1:K;N.setSelectionRange(ee,ee,"forward");return}if(e.reverseFillMask===!0)if(z===!0){const ee=Math.max(0,$.length-($===l?0:Math.min(W.length,V+1)));ee===1&&K===1?N.setSelectionRange(ee,ee,"forward"):y.rightReverse(N,ee)}else{const ee=$.length-V;N.setSelectionRange(ee,ee,"backward")}else if(z===!0){const ee=Math.max(0,r.indexOf(je),Math.min(W.length,K)-1);y.right(N,ee)}else{const ee=K-1;y.right(N,ee)}});const G=e.unmaskedValue===!0?k($):$;String(e.modelValue)!==G&&(e.modelValue!==null||G!=="")&&n(G,!0)}function p(I,P,F){const N=O(k(I.value));P=Math.max(0,r.indexOf(je),Math.min(N.length,P)),u=P,I.setSelectionRange(P,F,"forward")}const y={left(I,P){const F=r.slice(P-1).indexOf(je)===-1;let N=Math.max(0,P-1);for(;N>=0;N--)if(r[N]===je){P=N,F===!0&&P++;break}if(N<0&&r[P]!==void 0&&r[P]!==je)return y.right(I,0);P>=0&&I.setSelectionRange(P,P,"backward")},right(I,P){const F=I.value.length;let N=Math.min(F,P+1);for(;N<=F;N++)if(r[N]===je){P=N;break}else r[N-1]===je&&(P=N);if(N>F&&r[P-1]!==void 0&&r[P-1]!==je)return y.left(I,F);I.setSelectionRange(P,P,"forward")},leftReverse(I,P){const F=d(I.value.length);let N=Math.max(0,P-1);for(;N>=0;N--)if(F[N-1]===je){P=N;break}else if(F[N]===je&&(P=N,N===0))break;if(N<0&&F[P]!==void 0&&F[P]!==je)return y.rightReverse(I,0);P>=0&&I.setSelectionRange(P,P,"backward")},rightReverse(I,P){const F=I.value.length,N=d(F),K=N.slice(0,P+1).indexOf(je)===-1;let V=Math.min(F,P+1);for(;V<=F;V++)if(N[V-1]===je){P=V,P>0&&K===!0&&P--;break}if(V>F&&N[P-1]!==void 0&&N[P-1]!==je)return y.leftReverse(I,F);I.setSelectionRange(P,P,"forward")}};function C(I){t("click",I),f=void 0}function v(I){if(t("keydown",I),Sr(I)===!0||I.altKey===!0)return;const P=o.value,F=P.selectionStart,N=P.selectionEnd;if(I.shiftKey||(f=void 0),I.keyCode===37||I.keyCode===39){I.shiftKey&&f===void 0&&(f=P.selectionDirection==="forward"?F:N);const K=y[(I.keyCode===39?"right":"left")+(e.reverseFillMask===!0?"Reverse":"")];if(I.preventDefault(),K(P,f===F?N:F),I.shiftKey){const V=P.selectionStart;P.setSelectionRange(Math.min(f,V),Math.max(f,V),"forward")}}else I.keyCode===8&&e.reverseFillMask!==!0&&F===N?(y.left(P,F),P.setSelectionRange(P.selectionStart,N,"backward")):I.keyCode===46&&e.reverseFillMask===!0&&F===N&&(y.rightReverse(P,N),P.setSelectionRange(F,P.selectionEnd,"forward"))}function O(I){if(I==null||I==="")return"";if(e.reverseFillMask===!0)return D(I);const P=i;let F=0,N="";for(let K=0;K<P.length;K++){const V=I[F],J=P[K];if(typeof J=="string")N+=J,V===J&&F++;else if(V!==void 0&&J.regex.test(V))N+=J.transform!==void 0?J.transform(V):V,F++;else return N}return N}function D(I){const P=i,F=r.indexOf(je);let N=I.length-1,K="";for(let V=P.length-1;V>=0&&N!==-1;V--){const J=P[V];let W=I[N];if(typeof J=="string")K=J+K,W===J&&N--;else if(W!==void 0&&J.regex.test(W))do K=(J.transform!==void 0?J.transform(W):W)+K,N--,W=I[N];while(F===V&&W!==void 0&&J.regex.test(W));else return K}return K}function k(I){return typeof I!="string"||s===void 0?typeof I=="number"?s(""+I):I:s(I)}function B(I){return l.length-I.length<=0?I:e.reverseFillMask===!0&&I.length!==0?l.slice(0,-I.length)+I:I+l.slice(I.length)}return{innerValue:m,hasMask:c,moveCursorForPaste:p,updateMaskValue:_,onMaskedKeydown:v,onMaskedClick:C}}function lh(e,t){function n(){const o=e.modelValue;try{const r="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(l=>{r.items.add(l)}),{files:r.files}}catch{return{files:void 0}}}return a.computed(()=>{if(e.type==="file")return n()})}const da=ge({name:"QInput",inheritAttrs:!1,props:{...Lo,...rh,...sa,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:[...Ur,"paste","change","keydown","click","animationend"],setup(e,{emit:t,attrs:n}){const{proxy:o}=a.getCurrentInstance(),{$q:r}=o,l={};let i=NaN,s,u,f=null,c;const m=a.ref(null),g=Li(e),{innerValue:h,hasMask:d,moveCursorForPaste:b,updateMaskValue:_,onMaskedKeydown:p,onMaskedClick:y}=ah(e,t,W,m),C=lh(e),v=a.computed(()=>Qn(h.value)),O=Vi(V),D=Hr({changeEvent:!0}),k=a.computed(()=>e.type==="textarea"||e.autogrow===!0),B=a.computed(()=>k.value===!0||["text","search","url","tel","password"].includes(e.type)),I=a.computed(()=>{const T={...D.splitAttrs.listeners.value,onInput:V,onPaste:K,onChange:z,onBlur:G,onFocus:Dt};return T.onCompositionstart=T.onCompositionupdate=T.onCompositionend=O,d.value===!0&&(T.onKeydown=p,T.onClick=y),e.autogrow===!0&&(T.onAnimationend=J),T}),P=a.computed(()=>{const T={tabindex:0,"data-autofocus":e.autofocus===!0||void 0,rows:e.type==="textarea"?6:void 0,"aria-label":e.label,name:g.value,...D.splitAttrs.attributes.value,id:D.targetUid.value,maxlength:e.maxlength,disabled:e.disable===!0,readonly:e.readonly===!0};return k.value===!1&&(T.type=e.type),e.autogrow===!0&&(T.rows=1),T});a.watch(()=>e.type,()=>{m.value&&(m.value.value=e.modelValue)}),a.watch(()=>e.modelValue,T=>{if(d.value===!0){if(u===!0&&(u=!1,String(T)===i))return;_(T)}else h.value!==T&&(h.value=T,e.type==="number"&&l.hasOwnProperty("value")===!0&&(s===!0?s=!1:delete l.value));e.autogrow===!0&&a.nextTick($)}),a.watch(()=>e.autogrow,T=>{T===!0?a.nextTick($):m.value!==null&&n.rows>0&&(m.value.style.height="auto")}),a.watch(()=>e.dense,()=>{e.autogrow===!0&&a.nextTick($)});function F(){Po(()=>{const T=document.activeElement;m.value!==null&&m.value!==T&&(T===null||T.id!==D.targetUid.value)&&m.value.focus({preventScroll:!0})})}function N(){var T;(T=m.value)==null||T.select()}function K(T){if(d.value===!0&&e.reverseFillMask!==!0){const H=T.target;b(H,H.selectionStart,H.selectionEnd)}t("paste",T)}function V(T){if(!T||!T.target)return;if(e.type==="file"){t("update:modelValue",T.target.files);return}const H=T.target.value;if(T.target.qComposing===!0){l.value=H;return}if(d.value===!0)_(H,!1,T.inputType);else if(W(H),B.value===!0&&T.target===document.activeElement){const{selectionStart:re,selectionEnd:ae}=T.target;re!==void 0&&ae!==void 0&&a.nextTick(()=>{T.target===document.activeElement&&H.indexOf(T.target.value)===0&&T.target.setSelectionRange(re,ae)})}e.autogrow===!0&&$()}function J(T){t("animationend",T),$()}function W(T,H){c=()=>{f=null,e.type!=="number"&&l.hasOwnProperty("value")===!0&&delete l.value,e.modelValue!==T&&i!==T&&(i=T,H===!0&&(u=!0),t("update:modelValue",T),a.nextTick(()=>{i===T&&(i=NaN)})),c=void 0},e.type==="number"&&(s=!0,l.value=T),e.debounce!==void 0?(f!==null&&clearTimeout(f),l.value=T,f=setTimeout(c,e.debounce)):c()}function $(){requestAnimationFrame(()=>{const T=m.value;if(T!==null){const H=T.parentNode.style,{scrollTop:re}=T,{overflowY:ae,maxHeight:q}=r.platform.is.firefox===!0?{}:window.getComputedStyle(T),Q=ae!==void 0&&ae!=="scroll";Q===!0&&(T.style.overflowY="hidden"),H.marginBottom=T.scrollHeight-1+"px",T.style.height="1px",T.style.height=T.scrollHeight+"px",Q===!0&&(T.style.overflowY=parseInt(q,10)<T.scrollHeight?"auto":"hidden"),H.marginBottom="",T.scrollTop=re}})}function z(T){O(T),f!==null&&(clearTimeout(f),f=null),c==null||c(),t("change",T.target.value)}function G(T){T!==void 0&&Dt(T),f!==null&&(clearTimeout(f),f=null),c==null||c(),s=!1,u=!1,delete l.value,e.type!=="file"&&setTimeout(()=>{m.value!==null&&(m.value.value=h.value!==void 0?h.value:"")})}function ee(){return l.hasOwnProperty("value")===!0?l.value:h.value!==void 0?h.value:""}a.onBeforeUnmount(()=>{G()}),a.onMounted(()=>{e.autogrow===!0&&$()}),Object.assign(D,{innerValue:h,fieldClass:a.computed(()=>`q-${k.value===!0?"textarea":"input"}`+(e.autogrow===!0?" q-textarea--autogrow":"")),hasShadow:a.computed(()=>e.type!=="file"&&typeof e.shadowText=="string"&&e.shadowText.length!==0),inputRef:m,emitValue:W,hasValue:v,floatingLabel:a.computed(()=>v.value===!0&&(e.type!=="number"||isNaN(h.value)===!1)||Qn(e.displayValue)),getControl:()=>a.h(k.value===!0?"textarea":"input",{ref:m,class:["q-field__native q-placeholder",e.inputClass],style:e.inputStyle,...P.value,...I.value,...e.type!=="file"?{value:ee()}:C.value}),getShadowControl:()=>a.h("div",{class:"q-field__native q-field__shadow absolute-bottom no-pointer-events"+(k.value===!0?"":" text-no-wrap")},[a.h("span",{class:"invisible"},ee()),a.h("span",e.shadowText)])});const x=zr(D);return Object.assign(o,{focus:F,select:N,getNativeElement:()=>m.value}),gt(o,"nativeEl",()=>m.value),x}});function oo(e,t=new WeakMap){if(Object(e)!==e)return e;if(t.has(e))return t.get(e);const n=e instanceof Date?new Date(e):e instanceof RegExp?new RegExp(e.source,e.flags):e instanceof Set?new Set:e instanceof Map?new Map:typeof e.constructor!="function"?Object.create(null):e.prototype!==void 0&&typeof e.prototype.constructor=="function"?e:new e.constructor;if(typeof e.constructor=="function"&&typeof e.valueOf=="function"){const o=e.valueOf();if(Object(o)!==o){const r=new e.constructor(o);return t.set(e,r),r}}return t.set(e,n),e instanceof Set?e.forEach(o=>{n.add(oo(o,t))}):e instanceof Map&&e.forEach((o,r)=>{n.set(r,oo(o,t))}),Object.assign(n,...Object.keys(e).map(o=>({[o]:oo(e[o],t)})))}const Qi=ge({name:"QPopupEdit",props:{modelValue:{required:!0},title:String,buttons:Boolean,labelSet:String,labelCancel:String,color:{type:String,default:"primary"},validate:{type:Function,default:()=>!0},autoSave:Boolean,cover:{type:Boolean,default:!0},disable:Boolean},emits:["update:modelValue","save","cancel","beforeShow","show","beforeHide","hide"],setup(e,{slots:t,emit:n}){const{proxy:o}=a.getCurrentInstance(),{$q:r}=o,l=a.ref(null),i=a.ref(""),s=a.ref("");let u=!1;const f=a.computed(()=>gt({initialValue:i.value,validate:e.validate,set:c,cancel:m,updatePosition:g},"value",()=>s.value,v=>{s.value=v}));function c(){e.validate(s.value)!==!1&&(h()===!0&&(n("save",s.value,i.value),n("update:modelValue",s.value)),d())}function m(){h()===!0&&n("cancel",s.value,i.value),d()}function g(){a.nextTick(()=>{l.value.updatePosition()})}function h(){return Bt(s.value,i.value)===!1}function d(){u=!0,l.value.hide()}function b(){u=!1,i.value=oo(e.modelValue),s.value=oo(e.modelValue),n("beforeShow")}function _(){n("show")}function p(){u===!1&&h()===!0&&(e.autoSave===!0&&e.validate(s.value)===!0?(n("save",s.value,i.value),n("update:modelValue",s.value)):n("cancel",s.value,i.value)),n("beforeHide")}function y(){n("hide")}function C(){const v=t.default!==void 0?[].concat(t.default(f.value)):[];return e.title&&v.unshift(a.h("div",{class:"q-dialog__title q-mt-sm q-mb-sm"},e.title)),e.buttons===!0&&v.push(a.h("div",{class:"q-popup-edit__buttons row justify-center no-wrap"},[a.h(it,{flat:!0,color:e.color,label:e.labelCancel||r.lang.label.cancel,onClick:m}),a.h(it,{flat:!0,color:e.color,label:e.labelSet||r.lang.label.set,onClick:c})])),v}return Object.assign(o,{set:c,cancel:m,show(v){var O;(O=l.value)==null||O.show(v)},hide(v){var O;(O=l.value)==null||O.hide(v)},updatePosition:g}),()=>{if(e.disable!==!0)return a.h(Oi,{ref:l,class:"q-popup-edit",cover:e.cover,onBeforeShow:b,onShow:_,onBeforeHide:p,onHide:y,onEscapeKey:m},C)}}}),ih={name:"PopupEditNumber",props:{model:{type:[String,Number,Boolean,Array,Object],required:!0},label:{type:String,required:!0},dataCy:{type:String,required:!0},popupEditNumberOptions:{type:Array,default:()=>[]},showSelectNumberOptions:{type:Boolean,required:!1}},emits:["popupEditUpdated","popupEditEmit","save"],data(){return{modelData:this.model}},methods:{validate(e){this.$refs.inputNumber.validate()?this.$emit("save",e):this.$q.notify({type:"negative",message:"Value not accepted",position:"bottom"})}}};function sh(e,t,n,o,r,l){return a.openBlock(),a.createBlock(Qi,{modelValue:r.modelData,"onUpdate:modelValue":t[1]||(t[1]=i=>r.modelData=i),buttons:"","label-set":e.$t("table.confirm"),"label-cancel":e.$t("table.cancel"),onSave:l.validate,onCancel:()=>{}},{default:a.withCtx(i=>[n.showSelectNumberOptions?a.createCommentVNode("",!0):(a.openBlock(),a.createBlock(da,{key:0,ref:"inputNumber",modelValue:i.value,"onUpdate:modelValue":s=>i.value=s,"data-cy":n.dataCy,label:n.label,type:"text",mask:"#####",dense:"",autofocus:"",onKeyup:t[0]||(t[0]=a.withKeys(a.withModifiers(()=>{},["stop"]),["enter"]))},null,8,["modelValue","onUpdate:modelValue","data-cy","label"])),n.showSelectNumberOptions?(a.openBlock(),a.createBlock(ca,{key:1,ref:"selectField",modelValue:i.value,"onUpdate:modelValue":s=>i.value=s,"data-cy":n.dataCy,dense:"",options:n.popupEditNumberOptions},null,8,["modelValue","onUpdate:modelValue","data-cy","options"])):a.createCommentVNode("",!0)]),_:1},8,["modelValue","label-set","label-cancel","onSave"])}const Xi=Pe(ih,[["render",sh]]),uh={name:"PopupEditText",props:{model:{type:[String,Number,Boolean,Array,Object],required:!0},label:{type:String,required:!0},dataCy:{type:String,required:!0},inputType:{type:String,required:!0},inputMaxLength:{type:Number,required:!0}},emits:["popupEditUpdated","popupEditEmit","save"],data(){return{modelData:this.model}},methods:{validate(e){this.$refs.inputText.validate()?this.$emit("save",e):this.$q.notify({type:"negative",message:"Value not accepted",position:"bottom"})}}};function ch(e,t,n,o,r,l){return a.openBlock(),a.createBlock(Qi,{modelValue:r.modelData,"onUpdate:modelValue":t[1]||(t[1]=i=>r.modelData=i),buttons:"","label-set":e.$t("table.confirm"),"label-cancel":e.$t("table.cancel"),onSave:l.validate,onCancel:()=>{}},{default:a.withCtx(i=>[a.createVNode(da,{ref:"inputText",modelValue:i.value,"onUpdate:modelValue":s=>i.value=s,"data-cy":n.dataCy,label:n.label,type:n.inputType,autogrow:n.inputType==="textarea",rules:[s=>s&&s.length>0||e.$t("form.rules.emptyField"),s=>s&&s.length<=n.inputMaxLength||e.$t("form.rules.exceedCharactersTypeList",[n.inputMaxLength])],dense:"",autofocus:"",onKeyup:t[0]||(t[0]=a.withKeys(a.withModifiers(()=>{},["stop"]),["enter"]))},null,8,["modelValue","onUpdate:modelValue","data-cy","label","type","autogrow","rules"])]),_:1},8,["modelValue","label-set","label-cancel","onSave"])}const Zi=Pe(uh,[["render",ch]]),dh={name:"BasicCheckBox",props:{model:{type:Boolean,required:!0},tableProps:{type:Object,required:!0},dataCy:{type:String,required:!0}},emits:["checkBoxEmit"],data(){return{tablePropsData:this.tableProps,modelData:this.model}},watch:{model(e){this.modelData=e}}};function fh(e,t,n,o,r,l){return a.openBlock(),a.createBlock(zt,{modelValue:r.modelData,"onUpdate:modelValue":[t[0]||(t[0]=i=>r.modelData=i),t[1]||(t[1]=i=>{e.$emit("checkBoxEmit",i)})],"data-cy":n.dataCy},null,8,["modelValue","data-cy"])}const Ji=Pe(dh,[["render",fh]]),mh={name:"CustomizedCheckBox",props:{model:{type:Boolean,required:!0},tableProps:{type:Object,required:!0},dataCy:{type:String,required:!0},checkBoxColor:{type:String,required:!0},checkBoxIconSize:{type:String,required:!0},checkedIcon:{type:String,required:!0},uncheckedIcon:{type:String,required:!0}},emits:["checkBoxEmit"],data(){return{tablePropsData:this.tableProps,modelData:this.model}},watch:{model(e){this.modelData=e}}};function hh(e,t,n,o,r,l){return a.openBlock(),a.createBlock(zt,{modelValue:r.modelData,"onUpdate:modelValue":[t[0]||(t[0]=i=>r.modelData=i),t[1]||(t[1]=i=>{e.$emit("checkBoxEmit",i)})],"data-cy":n.dataCy,size:n.checkBoxIconSize,color:n.checkBoxColor,"keep-color":!0,"checked-icon":n.checkedIcon,"unchecked-icon":n.uncheckedIcon},null,8,["modelValue","data-cy","size","color","checked-icon","unchecked-icon"])}const es=Pe(mh,[["render",hh]]),gh={name:"CustomizedIcon",props:{model:{type:Boolean,required:!0},customizedIconSize:{type:String,required:!0},customizedIconName:{type:String,required:!0},customizedIconColor:{type:String,required:!0}}};function ph(e,t,n,o,r,l){return a.openBlock(),a.createBlock(Ae,{name:n.customizedIconName?n.customizedIconName:n.model?"check_circle":"cancel",color:n.customizedIconColor?n.customizedIconColor:n.model?"green":"red",size:n.customizedIconSize},null,8,["name","color","size"])}const ts=Pe(gh,[["render",ph]]),_h={name:"CustomizedButton",props:{dataCy:{type:String,required:!0},btnColor:{type:String,required:!0},btnIcon:{type:String,required:!0},btnDisable:{type:Boolean,required:!0}},emits:["onClickButton"],data:function(){return{}}};function bh(e,t,n,o,r,l){return a.openBlock(),a.createBlock(it,{"data-cy":n.dataCy,flat:"",round:"",color:n.btnColor,size:"md",disable:n.btnDisable,onClick:t[0]||(t[0]=i=>e.$emit("onClickButton"))},{default:a.withCtx(()=>[a.createVNode(Ae,{name:n.btnIcon},null,8,["name"])]),_:1},8,["data-cy","color","disable"])}const ns=Pe(_h,[["render",bh]]),yh=["top","middle","bottom"],vh=ge({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=>yh.includes(e)}},setup(e,{slots:t}){const n=a.computed(()=>e.align!==void 0?{verticalAlign:e.align}:null),o=a.computed(()=>{const r=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}`:"")+(r!==void 0?` text-${r}`:"")+(e.floating===!0?" q-badge--floating":"")+(e.rounded===!0?" q-badge--rounded":"")+(e.transparent===!0?" q-badge--transparent":"")});return()=>a.h("div",{class:o.value,style:n.value,role:"status","aria-label":e.label},At(t.default,e.label!==void 0?[e.label]:[]))}}),Eh={name:"CustomizedBadge",props:{dataCy:{type:String,required:!0},badgeText:{type:String,required:!0},badgeColor:{type:String,required:!0},badgeTextColor:{type:String,required:!0},badgeOutline:{type:Boolean,required:!0},badgeRounded:{type:Boolean,required:!0},badgeTransparent:{type:Boolean,required:!0}}};function Ch(e,t,n,o,r,l){return a.openBlock(),a.createBlock(vh,{class:a.normalizeClass(["cursor-pointer",n.badgeColor]),"data-cy":"badge"+n.dataCy,"text-color":n.badgeTextColor,outline:n.badgeOutline,rounded:n.badgeRounded,transparent:n.badgeTransparent},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(e.$t(n.badgeText)),1)]),_:1},8,["data-cy","class","text-color","outline","rounded","transparent"])}const os=Pe(Eh,[["render",Ch]]),Sh=ge({name:"QTooltip",inheritAttrs:!1,props:{...gi,...Yr,...Zn,maxHeight:{type:String,default:null},maxWidth:{type:String,default:null},transitionShow:{...Zn.transitionShow,default:"jump-down"},transitionHide:{...Zn.transitionHide,default:"jump-up"},anchor:{type:String,default:"bottom middle",validator:Fo},self:{type:String,default:"top middle",validator:Fo},offset:{type:Array,default:()=>[14,14],validator:ki},scrollTarget:Br,delay:{type:Number,default:0},hideDelay:{type:Number,default:0},persistent:Boolean},emits:[...Gr],setup(e,{slots:t,emit:n,attrs:o}){let r,l;const i=a.getCurrentInstance(),{proxy:{$q:s}}=i,u=a.ref(null),f=a.ref(!1),c=a.computed(()=>qo(e.anchor,s.lang.rtl)),m=a.computed(()=>qo(e.self,s.lang.rtl)),g=a.computed(()=>e.persistent!==!0),{registerTick:h,removeTick:d}=Jr(),{registerTimeout:b}=ea(),{transitionProps:_,transitionStyle:p}=Zr(e),{localScrollTarget:y,changeScrollEvent:C,unconfigureScrollTarget:v}=_i(e,ee),{anchorEl:O,canShow:D,anchorEvents:k}=pi({showing:f,configureAnchorEl:G}),{show:B,hide:I}=Qr({showing:f,canShow:D,handleShow:K,handleHide:V,hideOnRouteChange:g,processOnMount:!0});Object.assign(k,{delayShow:$,delayHide:z});const{showPortal:P,hidePortal:F,renderPortal:N}=Xr(i,u,T,"tooltip");if(s.platform.is.mobile===!0){const H={anchorEl:O,innerRef:u,onClickOutside(ae){return I(ae),ae.target.classList.contains("q-dialog__backdrop")&&He(ae),!0}},re=a.computed(()=>e.modelValue===null&&e.persistent!==!0&&f.value===!0);a.watch(re,ae=>{(ae===!0?Ci:Mo)(H)}),a.onBeforeUnmount(()=>{Mo(H)})}function K(H){P(),h(()=>{l=new MutationObserver(()=>W()),l.observe(u.value,{attributes:!1,childList:!0,characterData:!0,subtree:!0}),W(),ee()}),r===void 0&&(r=a.watch(()=>s.screen.width+"|"+s.screen.height+"|"+e.self+"|"+e.anchor+"|"+s.lang.rtl,W)),b(()=>{P(!0),n("show",H)},e.transitionDuration)}function V(H){d(),F(),J(),b(()=>{F(!0),n("hide",H)},e.transitionDuration)}function J(){l!==void 0&&(l.disconnect(),l=void 0),r!==void 0&&(r(),r=void 0),v(),wo(k,"tooltipTemp")}function W(){oa({targetEl:u.value,offset:e.offset,anchorEl:O.value,anchorOrigin:c.value,selfOrigin:m.value,maxHeight:e.maxHeight,maxWidth:e.maxWidth})}function $(H){if(s.platform.is.mobile===!0){Kr(),document.body.classList.add("non-selectable");const re=O.value,ae=["touchmove","touchcancel","touchend","click"].map(q=>[re,q,"delayHide","passiveCapture"]);zn(k,"tooltipTemp",ae)}b(()=>{B(H)},e.delay)}function z(H){s.platform.is.mobile===!0&&(wo(k,"tooltipTemp"),Kr(),setTimeout(()=>{document.body.classList.remove("non-selectable")},10)),b(()=>{I(H)},e.hideDelay)}function G(){if(e.noParentEvent===!0||O.value===null)return;const H=s.platform.is.mobile===!0?[[O.value,"touchstart","delayShow","passive"]]:[[O.value,"mouseenter","delayShow","passive"],[O.value,"mouseleave","delayHide","passive"]];zn(k,"anchor",H)}function ee(){if(O.value!==null||e.scrollTarget!==void 0){y.value=Mr(O.value,e.scrollTarget);const H=e.noParentEvent===!0?W:I;C(y.value,H)}}function x(){return f.value===!0?a.h("div",{...o,ref:u,class:["q-tooltip q-tooltip--style q-position-engine no-pointer-events",o.class],style:[o.style,p.value],role:"tooltip"},ve(t.default)):null}function T(){return a.h(a.Transition,_.value,x)}return a.onBeforeUnmount(J),Object.assign(i.proxy,{updatePosition:W}),N}}),wh={name:"IConWithToolTip",props:{dataCy:{type:String,required:!0},iconColor:{type:String,required:!0},iconName:{type:String,required:!0},toolTipText:{type:String,required:!0}},emits:["onClickIconToolTip"]};function kh(e,t,n,o,r,l){return a.openBlock(),a.createBlock(Ae,{"data-cy":n.dataCy,name:n.iconName,color:n.iconColor,size:"sm",onClick:t[0]||(t[0]=i=>e.$emit("onClickIconToolTip"))},{default:a.withCtx(()=>[a.createVNode(Sh,{anchor:"top middle",self:"bottom middle",offset:[10,10]},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(e.$t(n.toolTipText)),1)]),_:1})]),_:1},8,["data-cy","name","color"])}const rs=Pe(wh,[["render",kh]]),Th={name:"TableSlotBody",components:{PopupEditNumber:Xi,PopupEditText:Zi,BasicCheckBox:Ji,CustomizedCheckBox:es,CustomizedIcon:ts,CustomizedButton:ns,CustomizedBadge:os,IconWithToolTip:rs},props:{tableProps:{type:Object,required:!0},selectionType:{type:String,default:"none"},getCellClass:{type:Function,default:function(){}}},watch:{tableProps(e){this.tablePropsData=e}},emits:["onSaveValuePopupEdit","onUpdateBasicCheckboxValue","onClickButton","onUpdateCustomizedCheckboxValue","onClickIconToolTip"],data(){return{tablePropsData:this.tableProps}},methods:{getColumnValue(e){return!(e.showBasicCheckbox||e.showCustomizedCheckBox||e.showCustomizedIcon||e.showColumButton||e.showBadge||e.showIconWithToolTip||e.showCustomizedButton)},getBtnDisabled(e,t){return t.field==="btnStart"?e.row.btnStartDisabled:t.field==="btnPause"?e.row.btnPauseDisabled:!1},getButtonColor(e,t){return t.btnColor?t.btnColor:t.field==="btnStart"?e.row.btnColorCaseStart:t.field==="btnPause"?e.row.btnColorCasePause:"primary"}}},Oh=["innerHTML"];function xh(e,t,n,o,r,l){const i=a.resolveComponent("PopupEditNumber"),s=a.resolveComponent("PopupEditText"),u=a.resolveComponent("BasicCheckBox"),f=a.resolveComponent("CustomizedCheckBox"),c=a.resolveComponent("CustomizedIcon"),m=a.resolveComponent("CustomizedButton"),g=a.resolveComponent("IconWithToolTip"),h=a.resolveComponent("CustomizedBadge");return a.openBlock(),a.createElementBlock("tr",{class:a.normalizeClass(r.tablePropsData.row.rowBgColor||"bg-main-color")},[n.selectionType!="none"?(a.openBlock(),a.createBlock(Wi,{key:0,id:r.tablePropsData.row.id,"auto-width":""},{default:a.withCtx(()=>[a.createVNode(zt,{modelValue:r.tablePropsData.selected,"onUpdate:modelValue":t[0]||(t[0]=d=>r.tablePropsData.selected=d),size:"sm"},null,8,["modelValue"])]),_:1},8,["id"])):a.createCommentVNode("",!0),(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(r.tablePropsData.cols,d=>(a.openBlock(),a.createBlock(Wi,{key:d.name,class:a.normalizeClass(r.tablePropsData.row.rowBgColor||"bg-main-color"),props:r.tablePropsData},{default:a.withCtx(()=>[l.getColumnValue(d)?(a.openBlock(),a.createElementBlock("span",{key:0,class:a.normalizeClass(n.getCellClass(r.tablePropsData.row,d)),innerHTML:r.tablePropsData.row[d.name]},null,10,Oh)):a.createCommentVNode("",!0),d.editable?(a.openBlock(),a.createBlock(Ae,{key:1,name:"edit",color:"primary",size:"sm",class:"cursor-pointer"})):a.createCommentVNode("",!0),d.editable&&d.popupEditInputtype==="number"?(a.openBlock(),a.createBlock(i,{key:2,model:r.tablePropsData.row[d.name]||"",label:d.label,"data-cy":d.popupEditDataCy+"-"+r.tablePropsData.row.id,showSelectNumberOptions:d.showSelectNumberOptions,popupEditNumberOptions:d.popupEditNumberOptions||[],onSave:b=>{r.tablePropsData.row[d.name]=b,e.$emit(d.popupEditEmit,r.tablePropsData.row)}},null,8,["model","label","data-cy","showSelectNumberOptions","popupEditNumberOptions","onSave"])):a.createCommentVNode("",!0),d.editable&&(d.popupEditInputtype==="text"||d.popupEditInputtype==="textarea")?(a.openBlock(),a.createBlock(s,{key:3,model:r.tablePropsData.row[d.name]||"",label:d.label,"data-cy":d.popupEditDataCy+"-"+r.tablePropsData.row.id,"input-max-length":d.inputMaxLength||20,"input-type":d.popupEditInputtype,onSave:b=>{r.tablePropsData.row[d.name]=b,e.$emit(d.popupEditEmit,r.tablePropsData.row)}},null,8,["model","label","data-cy","input-max-length","input-type","onSave"])):a.createCommentVNode("",!0),d.showBasicCheckbox?(a.openBlock(),a.createBlock(u,{key:4,"table-props":r.tablePropsData,"data-cy":d.checkBoxDataCy+"-"+r.tablePropsData.row.id||"",model:r.tablePropsData.row[d.name],onCheckBoxEmit:b=>{r.tablePropsData.row[d.name]=b,e.$emit(d.checkBoxEmit||"onUpdateBasicCheckboxValue",r.tablePropsData.row)}},null,8,["table-props","data-cy","model","onCheckBoxEmit"])):a.createCommentVNode("",!0),d.showCustomizedCheckBox?(a.openBlock(),a.createBlock(f,{key:5,"table-props":r.tablePropsData,"data-cy":d.checkBoxDataCy+"-"+r.tablePropsData.row.id||"",model:r.tablePropsData.row[d.name],"check-box-color":r.tablePropsData.row[d.name]?d.checkBoxColorCaseTrue:d.checkBoxColorCaseFalse,"check-box-icon-size":"md","checked-icon":d.checkedIcon,"unchecked-icon":d.uncheckedIcon,onCheckBoxEmit:b=>{r.tablePropsData.row[d.name]=b,e.$emit(d.checkBoxEmit||"onUpdateCustomizedCheckboxValue",r.tablePropsData.row)}},null,8,["table-props","data-cy","model","check-box-color","checked-icon","unchecked-icon","onCheckBoxEmit"])):a.createCommentVNode("",!0),d.showCustomizedIcon?(a.openBlock(),a.createBlock(c,{key:6,model:r.tablePropsData.row[d.name],"customized-icon-size":"sm","customized-icon-name":(r.tablePropsData.row[d.name]?d.customizedIconNameCaseTrue:d.customizedIconNameCaseFalse)||"","customized-icon-color":(r.tablePropsData.row[d.name]?d.customizedIconColorCaseTrue:d.customizedIconColorCaseFalse)||""},null,8,["model","customized-icon-name","customized-icon-color"])):a.createCommentVNode("",!0),d.showCustomizedButton||d.showCustomizedButtonWithColText?(a.openBlock(),a.createBlock(m,{key:7,"data-cy":d.colButtonDataCy+"-"+r.tablePropsData.row.id,"btn-color":l.getButtonColor(r.tablePropsData,d),"btn-icon":d.btnIcon||"","btn-disable":l.getBtnDisabled(r.tablePropsData,d),onOnClickButton:()=>{e.$emit("onClickButton",d.btnEmit,r.tablePropsData.row)}},null,8,["data-cy","btn-color","btn-icon","btn-disable","onOnClickButton"])):a.createCommentVNode("",!0),d.showIconWithToolTip?(a.openBlock(),a.createBlock(g,{key:8,"data-cy":d.iconWithToolTipDataCy+"-"+r.tablePropsData.row.id,"icon-color":r.tablePropsData.row.iconWithToolTipColor,"icon-name":r.tablePropsData.row.iconWithToolTipName,"tool-tip-text":r.tablePropsData.row.toolTipText,onOnClickIconToolTip:()=>{e.$emit("onClickIconToolTip",d.iconWithToolTipEmit,r.tablePropsData.row)}},null,8,["data-cy","icon-color","icon-name","tool-tip-text","onOnClickIconToolTip"])):a.createCommentVNode("",!0),d.showBadge?(a.openBlock(),a.createBlock(h,{key:9,"data-cy":d.badgeDataCy+r.tablePropsData.row.id,badgeText:r.tablePropsData.row.badgeText,badgeColor:r.tablePropsData.row.badgeColor,badgeTextColor:d.badgeTextColor||"primary",badgeOutline:d.badgeOutline||!1,badgeRounded:d.badgeRounded||!1,badgeTransparent:d.badgeTransparent||!1},null,8,["data-cy","badgeText","badgeColor","badgeTextColor","badgeOutline","badgeRounded","badgeTransparent"])):a.createCommentVNode("",!0)]),_:2},1032,["class","props"]))),128))],2)}const Nh=Pe(Th,[["render",xh]]),jo=ge({name:"QCardSection",props:{tag:{type:String,default:"div"},horizontal:Boolean},setup(e,{slots:t}){const n=a.computed(()=>`q-card__section q-card__section--${e.horizontal===!0?"horiz row no-wrap":"vert"}`);return()=>a.h(e.tag,{class:n.value},ve(t.default))}}),wn=ge({name:"QCard",props:{...dt,tag:{type:String,default:"div"},square:Boolean,flat:Boolean,bordered:Boolean},setup(e,{slots:t}){const{proxy:{$q:n}}=a.getCurrentInstance(),o=ft(e,n),r=a.computed(()=>"q-card"+(o.value===!0?" q-card--dark q-dark":"")+(e.bordered===!0?" q-card--bordered":"")+(e.square===!0?" q-card--square no-border-radius":"")+(e.flat===!0?" q-card--flat no-shadow":""));return()=>a.h(e.tag,{class:r.value},ve(t.default))}}),Dh={name:"TableSlotGrid",components:{PopupEditNumber:Xi,PopupEditText:Zi,BasicCheckBox:Ji,CustomizedCheckBox:es,CustomizedIcon:ts,CustomizedButton:ns,CustomizedBadge:os,IconWithToolTip:rs},props:{tableProps:{type:Object,required:!0},selectionType:{type:String,default:"none"},popupEditNumberOptions:{type:Array},getCellClass:{type:Function,default:function(){}}},emits:["onSaveValuePopupEdit","onUpdateBasicCheckboxValue","onClickButton","onUpdateCustomizedCheckboxValue","onClickIcon","onClickIconToolTip"],data(){return{tablePropsData:this.tableProps,selected:!1}},watch:{tableProps(e){this.tablePropsData=e}},mounted(){},methods:{getColumnValue(e){return!(e.showBasicCheckbox||e.showCustomizedCheckBox||e.showCustomizedIcon||e.showColumButton||e.showBadge||e.showIconWithToolTip||e.showCustomizedButton)},getBtnDisabled(e,t){return t.field==="btnStart"?e.row.btnStartDisabled:t.field==="btnPause"?e.row.btnPauseDisabled:!1},getButtonColor(e,t){return t.btnColor?t.btnColor:t.field==="btnStart"?e.row.btnColorCaseStart:t.field==="btnPause"?e.row.btnColorCasePause:"primary"}}},Ih=["id"],Ah=["innerHTML"];function Ph(e,t,n,o,r,l){const i=a.resolveComponent("PopupEditNumber"),s=a.resolveComponent("PopupEditText"),u=a.resolveComponent("BasicCheckBox"),f=a.resolveComponent("CustomizedCheckBox"),c=a.resolveComponent("CustomizedIcon"),m=a.resolveComponent("CustomizedButton"),g=a.resolveComponent("IconWithToolTip"),h=a.resolveComponent("CustomizedBadge");return a.openBlock(),a.createElementBlock("div",{id:"card-container-"+r.tablePropsData.row.id,class:a.normalizeClass("q-pa-xs col-xs-12 col-sm-6 col-md-4 col-lg-3 grid-style-transition"),style:a.normalizeStyle(r.tablePropsData.selected?"transform: scale(0.95);":"")},[a.createVNode(wn,{bordered:"",flat:"",square:"",class:a.normalizeClass(r.tablePropsData.selected?e.$q.dark.isActive?"bg-grey-9":"bg-grey-2":r.tablePropsData.row.rowBgColor||"bg-main-color")},{default:a.withCtx(()=>[a.createVNode(jo,{class:"q-py-sm"},{default:a.withCtx(()=>[n.selectionType!="none"?(a.openBlock(),a.createBlock(zt,{key:0,"data-cy":"checkbox-"+r.tablePropsData.row.id,size:"sm",modelValue:r.tablePropsData.selected,"onUpdate:modelValue":t[0]||(t[0]=d=>r.tablePropsData.selected=d),dense:""},null,8,["data-cy","modelValue"])):a.createCommentVNode("",!0)]),_:1}),a.createVNode(Pr,{dense:""},{default:a.withCtx(()=>[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(r.tablePropsData.cols.filter(d=>d.name!=="desc"),d=>(a.openBlock(),a.createBlock(yt,{key:d.name,id:d.name},{default:a.withCtx(()=>[a.createVNode(tt,null,{default:a.withCtx(()=>[a.createVNode(Xe,{class:"itemsFontSize ellipsis text-color-lightGray"},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(d.label),1)]),_:2},1024)]),_:2},1024),a.createVNode(tt,{side:""},{default:a.withCtx(()=>[l.getColumnValue(d)?(a.openBlock(),a.createBlock(Xe,{key:0,class:a.normalizeClass(["itemsFontSize text-color-almostBlack",n.getCellClass(r.tablePropsData.row,d)])},{default:a.withCtx(()=>[a.createElementVNode("span",{innerHTML:r.tablePropsData.row[d.name]},null,8,Ah),d.editable?(a.openBlock(),a.createBlock(Ae,{key:0,name:"edit",color:"primary",size:"sm",class:"cursor-pointer"})):a.createCommentVNode("",!0),d.editable&&d.popupEditInputtype==="number"?(a.openBlock(),a.createBlock(i,{key:1,model:r.tablePropsData.row[d.name]||"",label:d.label,"data-cy":d.popupEditDataCy+"-"+r.tablePropsData.row.id,showSelectNumberOptions:d.showSelectNumberOptions,popupEditNumberOptions:d.popupEditNumberOptions||[],onSave:b=>{r.tablePropsData.row[d.name]=b,e.$emit(d.popupEditEmit,r.tablePropsData.row)}},null,8,["model","label","data-cy","showSelectNumberOptions","popupEditNumberOptions","onSave"])):a.createCommentVNode("",!0),d.editable&&(d.popupEditInputtype==="text"||d.popupEditInputtype==="textarea")?(a.openBlock(),a.createBlock(s,{key:2,model:r.tablePropsData.row[d.name]||"",label:d.label,"data-cy":d.popupEditDataCy+"-"+r.tablePropsData.row.id,"input-max-length":d.inputMaxLength||20,"input-type":d.popupEditInputtype,onSave:b=>{r.tablePropsData.row[d.name]=b,e.$emit(d.popupEditEmit,r.tablePropsData.row)}},null,8,["model","label","data-cy","input-max-length","input-type","onSave"])):a.createCommentVNode("",!0)]),_:2},1032,["class"])):a.createCommentVNode("",!0),a.createVNode(tt,null,{default:a.withCtx(()=>[d.showBasicCheckbox?(a.openBlock(),a.createBlock(u,{key:0,"table-props":r.tablePropsData,"data-cy":d.checkBoxDataCy+"-"+r.tablePropsData.row.id||"",model:r.tablePropsData.row[d.name],onCheckBoxEmit:b=>{r.tablePropsData.row[d.name]=b,e.$emit(d.checkBoxEmit||"onUpdateBasicCheckboxValue",r.tablePropsData.row)}},null,8,["table-props","data-cy","model","onCheckBoxEmit"])):a.createCommentVNode("",!0),d.showCustomizedCheckBox?(a.openBlock(),a.createBlock(f,{key:1,"table-props":r.tablePropsData,"data-cy":d.checkBoxDataCy+"-"+r.tablePropsData.row.id||"",model:r.tablePropsData.row[d.name],"check-box-color":r.tablePropsData.row[d.name]?d.checkBoxColorCaseTrue:d.checkBoxColorCaseFalse,"check-box-icon-size":"lg","checked-icon":d.checkedIcon,"unchecked-icon":d.uncheckedIcon,onCheckBoxEmit:b=>{r.tablePropsData.row[d.name]=b,e.$emit(d.checkBoxEmit||"onUpdateCustomizedCheckboxValue",r.tablePropsData.row)}},null,8,["table-props","data-cy","model","check-box-color","checked-icon","unchecked-icon","onCheckBoxEmit"])):a.createCommentVNode("",!0)]),_:2},1024),a.createVNode(tt,null,{default:a.withCtx(()=>[d.showCustomizedIcon?(a.openBlock(),a.createBlock(c,{key:0,model:r.tablePropsData.row[d.name],"table-props":r.tablePropsData,"customized-icon-size":"sm","customized-icon-name":(r.tablePropsData.row[d.name]?d.customizedIconNameCaseTrue:d.customizedIconNameCaseFalse)||"","customized-icon-color":(r.tablePropsData.row[d.name]?d.customizedIconColorCaseTrue:d.customizedIconColorCaseFalse)||""},null,8,["model","table-props","customized-icon-name","customized-icon-color"])):a.createCommentVNode("",!0)]),_:2},1024),a.createVNode(tt,null,{default:a.withCtx(()=>[d.showCustomizedButton||d.showCustomizedButtonWithColText?(a.openBlock(),a.createBlock(m,{key:0,"data-cy":d.colButtonDataCy+"-"+r.tablePropsData.row.id,"btn-color":l.getButtonColor(r.tablePropsData,d),"btn-icon":d.btnIcon||"","btn-disable":l.getBtnDisabled(r.tablePropsData,d),onOnClickButton:()=>{e.$emit("onClickButton",d.btnEmit,r.tablePropsData.row)}},null,8,["data-cy","btn-color","btn-icon","btn-disable","onOnClickButton"])):a.createCommentVNode("",!0)]),_:2},1024),a.createVNode(tt,null,{default:a.withCtx(()=>[d.showIconWithToolTip?(a.openBlock(),a.createBlock(g,{key:0,"data-cy":d.iconWithToolTipDataCy+"-"+r.tablePropsData.row.id,"icon-color":r.tablePropsData.row.iconWithToolTipColor,"icon-name":r.tablePropsData.row.iconWithToolTipName,"tool-tip-text":r.tablePropsData.row.toolTipText,onOnClickIconToolTip:()=>{e.$emit("onClickIconToolTip",d.iconWithToolTipEmit,r.tablePropsData.row)}},null,8,["data-cy","icon-color","icon-name","tool-tip-text","onOnClickIconToolTip"])):a.createCommentVNode("",!0)]),_:2},1024),a.createVNode(tt,null,{default:a.withCtx(()=>[d.showBadge?(a.openBlock(),a.createBlock(h,{key:0,"data-cy":d.badgeDataCy+r.tablePropsData.row.id,badgeText:r.tablePropsData.row.badgeText,badgeColor:r.tablePropsData.row.badgeColor,badgeTextColor:d.badgeTextColor||"primary",badgeOutline:d.badgeOutline||!1,badgeRounded:d.badgeRounded||!1,badgeTransparent:d.badgeTransparent||!1},null,8,["data-cy","badgeText","badgeColor","badgeTextColor","badgeOutline","badgeRounded","badgeTransparent"])):a.createCommentVNode("",!0)]),_:2},1024)]),_:2},1024)]),_:2},1032,["id"]))),128))]),_:1})]),_:1},8,["class"])],12,Ih)}const Lh=Pe(Dh,[["render",Ph]]),Vh={name:"TableFilter",props:{store:{type:Object,required:!0}},data(){return{localStore:this.store}},mounted(){},methods:{inputFocus(){setTimeout(()=>{this.$refs.filterRef.focus()},10)},cleanFilter(){this.localStore.filterValue=""},setFilterValue(e){this.localStore.filterValue=e}}};function Rh(e,t,n,o,r,l){return a.openBlock(),a.createBlock(da,{ref:"filterRef","data-cy":"input-filter",modelValue:r.localStore.filterValue,"onUpdate:modelValue":[t[0]||(t[0]=i=>r.localStore.filterValue=i),l.setFilterValue],borderless:"",dense:"",debounce:"300",class:"table-filter auto-width",placeholder:"Search",outlined:""},{append:a.withCtx(()=>[r.localStore.filterValue===""?(a.openBlock(),a.createBlock(Ae,{key:0,name:"search",color:"black"})):(a.openBlock(),a.createBlock(Ae,{key:1,name:"clear",class:"cursor-pointer",onClick:l.cleanFilter},null,8,["onClick"]))]),_:1},8,["modelValue","onUpdate:modelValue"])}const Bh=Pe(Vh,[["render",Rh]]),Mh=["text","rect","circle","QBtn","QBadge","QChip","QToolbar","QCheckbox","QRadio","QToggle","QSlider","QRange","QInput","QAvatar"],Fh=["wave","pulse","pulse-x","pulse-y","fade","blink","none"],ke=ge({name:"QSkeleton",props:{...dt,tag:{type:String,default:"div"},type:{type:String,validator:e=>Mh.includes(e),default:"rect"},animation:{type:String,validator:e=>Fh.includes(e),default:"wave"},animationSpeed:{type:[String,Number],default:1500},square:Boolean,bordered:Boolean,size:String,width:String,height:String},setup(e,{slots:t}){const n=a.getCurrentInstance(),o=ft(e,n.proxy.$q),r=a.computed(()=>{const i=e.size!==void 0?[e.size,e.size]:[e.width,e.height];return{"--q-skeleton-speed":`${e.animationSpeed}ms`,width:i[0],height:i[1]}}),l=a.computed(()=>`q-skeleton q-skeleton--${o.value===!0?"dark":"light"} q-skeleton--type-${e.type}`+(e.animation!=="none"?` q-skeleton--anim q-skeleton--anim-${e.animation}`:"")+(e.square===!0?" q-skeleton--square":"")+(e.bordered===!0?" q-skeleton--bordered":""));return()=>a.h(e.tag,{class:l.value,style:r.value},ve(t.default))}}),qh={name:"TableSkeleton",properties:{showSkeleton:{type:Boolean,default:!1}}},$h={class:"text-left",style:{width:"150px"}},Uh={class:"text-right"},Hh={class:"text-right"},zh={class:"text-right"},jh={class:"text-right"},Wh={class:"text-right"},Kh={class:"text-left"},Yh={class:"text-right"},Gh={class:"text-right"},Qh={class:"text-right"},Xh={class:"text-right"},Zh={class:"text-right"};function Jh(e,t,n,o,r,l){return a.openBlock(),a.createElementBlock("div",null,[a.createVNode($l,null,{default:a.withCtx(()=>[a.createElementVNode("thead",null,[a.createElementVNode("tr",null,[a.createElementVNode("th",$h,[a.createVNode(ke,{type:"text"})]),a.createElementVNode("th",Uh,[a.createVNode(ke,{type:"text"})]),a.createElementVNode("th",Hh,[a.createVNode(ke,{type:"text"})]),a.createElementVNode("th",zh,[a.createVNode(ke,{type:"text"})]),a.createElementVNode("th",jh,[a.createVNode(ke,{type:"text"})]),a.createElementVNode("th",Wh,[a.createVNode(ke,{type:"text"})])])]),a.createElementVNode("tbody",null,[(a.openBlock(),a.createElementBlock(a.Fragment,null,a.renderList(10,i=>a.createElementVNode("tr",{key:i},[a.createElementVNode("td",Kh,[a.createVNode(ke,{type:"text",width:"85px"})]),a.createElementVNode("td",Yh,[a.createVNode(ke,{type:"text",width:"50px"})]),a.createElementVNode("td",Gh,[a.createVNode(ke,{type:"text",width:"35px"})]),a.createElementVNode("td",Qh,[a.createVNode(ke,{type:"text",width:"65px"})]),a.createElementVNode("td",Xh,[a.createVNode(ke,{type:"text",width:"25px"})]),a.createElementVNode("td",Zh,[a.createVNode(ke,{type:"text",width:"85px"})])])),64))])]),_:1})])}const eg=Pe(qh,[["render",Jh]]),tg={name:"CardListSkeleton"};function ng(e,t,n,o,r,l){return a.openBlock(),a.createElementBlock("div",null,[(a.openBlock(),a.createElementBlock(a.Fragment,null,a.renderList(2,i=>a.createVNode(yt,{key:i},{default:a.withCtx(()=>[a.createVNode(wn,{style:{width:"100%"}},{default:a.withCtx(()=>[a.createVNode(yt,null,{default:a.withCtx(()=>[a.createVNode(tt,null,{default:a.withCtx(()=>[a.createVNode(Xe,null,{default:a.withCtx(()=>[a.createVNode(ke,{type:"text",width:"60%"})]),_:1}),a.createVNode(Xe,{caption:""},{default:a.withCtx(()=>[a.createVNode(ke,{type:"text",width:"60%"})]),_:1})]),_:1})]),_:1}),a.createVNode(yt,null,{default:a.withCtx(()=>[a.createVNode(tt,null,{default:a.withCtx(()=>[a.createVNode(Xe,null,{default:a.withCtx(()=>[a.createVNode(ke,{type:"text",width:"70%"})]),_:1}),a.createVNode(Xe,{caption:""},{default:a.withCtx(()=>[a.createVNode(ke,{type:"text",width:"70%"})]),_:1})]),_:1})]),_:1}),a.createVNode(yt,null,{default:a.withCtx(()=>[a.createVNode(tt,null,{default:a.withCtx(()=>[a.createVNode(Xe,null,{default:a.withCtx(()=>[a.createVNode(ke,{type:"text",width:"80%"})]),_:1}),a.createVNode(Xe,{caption:""},{default:a.withCtx(()=>[a.createVNode(ke,{type:"text",width:"80%"})]),_:1})]),_:1})]),_:1}),a.createVNode(yt,null,{default:a.withCtx(()=>[a.createVNode(tt,null,{default:a.withCtx(()=>[a.createVNode(Xe,null,{default:a.withCtx(()=>[a.createVNode(ke,{type:"text",width:"90%"})]),_:1}),a.createVNode(Xe,{caption:""},{default:a.withCtx(()=>[a.createVNode(ke,{type:"text",width:"90%"})]),_:1})]),_:1})]),_:1})]),_:1})]),_:2},1024)),64))])}const og=Pe(tg,[["render",ng]]),rg=a.defineComponent({components:{TableSlotHeader:Jm,TableColumnsSelector:nh,TableSlotBody:Nh,TableSlotGrid:Lh,TableFilter:Bh,TableSkeleton:eg,CardListSkeleton:og},props:{columns:{type:Array,required:!0},rows:{type:Array,required:!0},visibleColumns:{type:Array,required:!0},selectionType:{type:String,default:"none"},rowKey:{type:String,default:"id"},tableStyle:{type:String,default:""},popupEditNumberOptions:{type:Array,default:()=>[]},smallDevice:{type:Boolean,required:!0},store:{type:Object,required:!0},tableId:{type:String,default:""},hideColumnsSelector:{type:Boolean,default:!1},hideFilter:{type:Boolean,default:!1},showSkeleton:{type:Boolean},getCellClass:{type:Function,default:function(){}},filterComputedOptions:{type:Object,default:{}},additionalFilterConditions:{type:Function,default:function(){}},additionalSortConditions:{type:Function,default:function(){}}},emits:["onSelectVisibleColumns","onUpdateBasicCheckboxValue","onUpdateCustomizedCheckboxValue","onSaveValuePopupEdit","onClickButton","storeUpdated","deleteItem","openModalWithTable","setItemNotFound","onClickSeeTaskDetails","startMaintenanceTicket","pauseMaintenanceTicket","finishMaintenanceTicket","onRowClick","onClickIconToolTip"],data(){return{selected:[],filter:"",rowsData:[],gridRowsSelected:!1,selectedRows:[],showColumnsSelector:!1,showSearch:!1,loading:!1,forceRender:!1,totalPage:0,pageSize:20,filteredRows:[]}},computed:{getColumnsSelectorVisibility(){return!this.smallDevice||this.showColumnsSelector},getTableInputSearchVisibility(){return!this.smallDevice||this.showSearch},showGridHeader(){return this.selectionType==="multiple"},getTableSkeletonVisibility(){return!this.smallDevice&&this.showSkeleton},getGridSkeletonVisibility(){return this.smallDevice&&this.showSkeleton},filterComputed(){return{search:this.store.filterValue,forceRender:this.forceRender,...this.filterComputedOptions}},pageLength(){return(this.totalPage+1)*this.pageSize}},watch:{rows(e){this.rowsData=e}},mounted(){},methods:{getSelectedString(e){const t=e;if(t===0)return"";const n=t>1?"records":"record";return`${t} ${n} selected`},onSelectVisibleColumns(e){this.$emit("onSelectVisibleColumns",e)},onSaveValuePopupEdit(e){this.$emit("onSaveValuePopupEdit",e)},onUpdateBasicCheckboxValue(e){this.$emit("onUpdateBasicCheckboxValue",e)},onClickButton(e,t){this.$emit(e,t)},onClickIconToolTip(e,t){this.$emit(e,t)},onRowClick(e){this.$emit("onRowClick",e)},deleteItem(e){this.$emit("deleteItem",e)},onUpdateCustomizedCheckboxValue(e){this.$emit("onUpdateCustomizedCheckboxValue",e)},clearTableSelection(){this.selected=[]},toggleSearchVisibility(e){this.showSearch=!this.showSearch,e.lastFilterValue="",e.valueInputFilterTable=""},toogleColumnsSelectorVisibility(){this.showColumnsSelector=!this.showColumnsSelector},filterInputFocus(){setTimeout(()=>{this.$refs.filterInput&&this.$refs.filterInput.inputFocus()},10)},toogleLoading(){this.loading=!this.loading},customSortMethod(e,t,n){let o=[];return this.store.filterValue!==""?o=[...this.filteredRows]:o=[...this.rows],this.additionalSortConditions&&this.additionalSortConditions.toString().replace(/\s+/g,"")!=="function(){}"?o=this.additionalSortConditions(this.filteredRows,e):console.log("else sort"),this.getSortedData(t,o,n),o.slice(0,this.pageLength)},getSortedData(e,t,n){e&&t.sort((o,r)=>{const l=n?r:o,i=n?o:r,s=l[e],u=i[e],f=g=>{const[h,d,b]=g.split("/");return new Date(`${b}-${d}-${h}`)},c=g=>{const[h,d,b]=g.split(":").map(Number);return h*3600+d*60+b},m=g=>parseFloat(g.replace("%",""))/100;if(typeof s=="string"&&typeof u=="string"){const g=f(s),h=f(u);if(!isNaN(g.getTime())&&!isNaN(h.getTime()))return g.getTime()-h.getTime();const d=c(s),b=c(u);if(!isNaN(d)&&!isNaN(b))return d-b;if(s.includes("%")&&u.includes("%")){const _=m(s),p=m(u);return _-p}else return s.localeCompare(u)}else return typeof s=="number"&&typeof u=="number"?s-u:typeof s=="boolean"&&typeof u=="boolean"?(console.log(s,u),s===u?0:s?1:-1):String(s)>String(u)?1:String(s)<String(u)?-1:0})},containsSearchTermInRow(e,t){if(t!==""){const o=Object.values(e).map(r=>(r+"").toLowerCase());for(let r=0;r<o.length;r++)if(o[r].includes(t))return!0}return!1},customFilter(e,t){let n=[];if(t.search!==""){const o=t.search?t.search.toLowerCase():"";for(let r=0;r<this.rows.length;r++)this.containsSearchTermInRow(this.rows[r],o)&&n.push(this.rows[r])}else n=e;return this.additionalFilterConditions&&this.additionalFilterConditions.toString().replace(/\s+/g,"")!=="function(){}"&&(n=this.additionalFilterConditions(this.rows,n)),this.filteredRows=n,n.slice(0,this.pageLength)}}});function ag(e,t,n,o,r,l){const i=a.resolveComponent("TableFilter"),s=a.resolveComponent("TableColumnsSelector"),u=a.resolveComponent("TableSlotHeader"),f=a.resolveComponent("TableSlotBody"),c=a.resolveComponent("TableSlotGrid"),m=a.resolveComponent("TableSkeleton"),g=a.resolveComponent("CardListSkeleton");return a.openBlock(),a.createElementBlock("div",null,[e.showSkeleton?a.createCommentVNode("",!0):(a.openBlock(),a.createBlock(Gm,{key:0,ref:"myTable",selected:e.selected,"onUpdate:selected":t[0]||(t[0]=h=>e.selected=h),class:"my-table",grid:e.smallDevice,style:a.normalizeStyle(e.tableStyle),flat:"","filter-method":e.customFilter,bordered:"",rows:e.rowsData,columns:e.columns,"row-key":e.rowKey,"rows-per-page-options":[0],selection:e.selectionType,"visible-columns":e.visibleColumns,"table-class":"text-grey-9","table-header-class":"main-color",filter:e.filterComputed,"sort-method":e.customSortMethod,separator:"horizontal","binary-state-sort":"","selected-rows-label":e.getSelectedString,loading:e.loading,"pagination.sync":"0","grid-header":e.showGridHeader},{"top-right":a.withCtx(h=>[a.createVNode(xr),e.getTableInputSearchVisibility&&!e.hideFilter?(a.openBlock(),a.createBlock(i,{key:0,ref:"filterInput",class:"q-pl-xs","table-props":h,store:e.store,onInputFocus:e.filterInputFocus},null,8,["table-props","store","onInputFocus"])):a.createCommentVNode("",!0),e.getColumnsSelectorVisibility&&!e.hideColumnsSelector?(a.openBlock(),a.createBlock(s,{key:1,class:"q-pl-xs","table-props":h,columns:e.columns,"visible-columns":e.visibleColumns,onOnSelectVisibleColumns:e.onSelectVisibleColumns},null,8,["table-props","columns","visible-columns","onOnSelectVisibleColumns"])):a.createCommentVNode("",!0)]),header:a.withCtx(h=>[a.createVNode(u,{"table-props":h,"selection-type":e.selectionType,"small-device":e.smallDevice},null,8,["table-props","selection-type","small-device"])]),body:a.withCtx(h=>[e.showSkeleton?a.createCommentVNode("",!0):(a.openBlock(),a.createBlock(f,{key:0,"table-props":h,"selection-type":e.selectionType,getCellClass:e.getCellClass,onOnUpdateBasicCheckboxValue:e.onUpdateBasicCheckboxValue,onOnUpdateCustomizedCheckboxValue:e.onUpdateCustomizedCheckboxValue,onOnSaveValuePopupEdit:e.onSaveValuePopupEdit,onOnClickButton:e.onClickButton,onOnClickIconToolTip:e.onClickIconToolTip,onClick:d=>e.onRowClick(h.row)},null,8,["table-props","selection-type","getCellClass","onOnUpdateBasicCheckboxValue","onOnUpdateCustomizedCheckboxValue","onOnSaveValuePopupEdit","onOnClickButton","onOnClickIconToolTip","onClick"]))]),item:a.withCtx(h=>[e.showSkeleton?a.createCommentVNode("",!0):(a.openBlock(),a.createBlock(c,{key:0,"table-props":h,"selection-type":e.selectionType,"popup-edit-number-options":e.popupEditNumberOptions,getCellClass:e.getCellClass,onOnUpdateCustomizedCheckboxValue:e.onUpdateCustomizedCheckboxValue,onOnUpdateBasicCheckboxValue:e.onUpdateBasicCheckboxValue,onOnSaveValuePopupEdit:e.onSaveValuePopupEdit,onOnClickButton:e.onClickButton,onOnClickIconToolTip:e.onClickIconToolTip,onClick:d=>e.onRowClick(h.row)},null,8,["table-props","selection-type","popup-edit-number-options","getCellClass","onOnUpdateCustomizedCheckboxValue","onOnUpdateBasicCheckboxValue","onOnSaveValuePopupEdit","onOnClickButton","onOnClickIconToolTip","onClick"]))]),_:1},8,["selected","grid","style","filter-method","rows","columns","row-key","selection","visible-columns","filter","sort-method","selected-rows-label","loading","grid-header"])),e.getTableSkeletonVisibility?(a.openBlock(),a.createBlock(m,{key:1,id:"tableSkeleton"})):a.createCommentVNode("",!0),e.getGridSkeletonVisibility?(a.openBlock(),a.createBlock(g,{key:2,id:"cardListSkeleton"})):a.createCommentVNode("",!0)])}const as=Pe(rg,[["render",ag]]),jt=(e,t)=>{e.use(t)},Wt=(e,t,n)=>{e.component(t,n)},lg={install(e){Wt(e,"MyTable",as)}},ig=ge({name:"QBanner",props:{...dt,inlineActions:Boolean,dense:Boolean,rounded:Boolean},setup(e,{slots:t}){const{proxy:{$q:n}}=a.getCurrentInstance(),o=ft(e,n),r=a.computed(()=>"q-banner row items-center"+(e.dense===!0?" q-banner--dense":"")+(o.value===!0?" q-banner--dark q-dark":"")+(e.rounded===!0?" rounded-borders":"")),l=a.computed(()=>`q-banner__actions row items-center justify-end col-${e.inlineActions===!0?"auto":"all"}`);return()=>{const i=[a.h("div",{class:"q-banner__avatar col-auto row items-center self-start"},ve(t.avatar)),a.h("div",{class:"q-banner__content col text-body2"},ve(t.default))],s=ve(t.action);return s!==void 0&&i.push(a.h("div",{class:l.value},s)),a.h("div",{class:r.value+(e.inlineActions===!1&&s!==void 0?" q-banner--top-padding":""),role:"alert"},i)}}}),sg=a.defineComponent({name:"AlertDialog",data(){return{alert:!1,alertMessage:""}},props:{dataCy:{type:String,default:""},persistent:{type:Boolean,default:!0},icon:{type:String,default:"warning"},iconSize:{type:String,default:"md"},iconColor:{type:String,default:"red-8"},btnColor:{type:String,default:"primary"},btnLabel:{type:String,default:"OK"}},emit:["dialogClosed"],methods:{openAlertAndSetMessage(e){this.alert=!0,this.alertMessage=e},closePopup(){this.alert=!1,this.$emit("onPopupClosed")}}}),ug={class:"info"};function cg(e,t,n,o,r,l){return a.openBlock(),a.createBlock(to,{modelValue:e.alert,"onUpdate:modelValue":t[0]||(t[0]=i=>e.alert=i),persistent:e.persistent},{default:a.withCtx(()=>[a.createVNode(ig,{"inline-actions":"","data-cy":"alert"},{avatar:a.withCtx(()=>[a.createVNode(Ae,{name:e.icon,color:e.iconColor,size:e.iconSize},null,8,["name","color","size"])]),action:a.withCtx(()=>[a.createVNode(it,{flat:"",color:e.btnColor,label:e.btnLabel,onClick:e.closePopup,"data-cy":"btn-close-alert"},null,8,["color","label","onClick"])]),default:a.withCtx(()=>[a.createElementVNode("p",ug,a.toDisplayString(e.alertMessage),1)]),_:1})]),_:1},8,["modelValue","persistent"])}const ls=Pe(sg,[["render",cg]]),dg={install(e){Wt(e,"AlertDialog",ls)}},is=ge({name:"QCardActions",props:{...qi,vertical:Boolean},setup(e,{slots:t}){const n=$i(e),o=a.computed(()=>`q-card__actions ${n.value} q-card__actions--${e.vertical===!0?"vert column":"horiz row"}`);return()=>a.h("div",{class:o.value},ve(t.default))}}),fg=a.defineComponent({name:"ConfirmDialog",data(){return{alert:!1,message:""}},props:{dataCy:{type:String,default:""}},emits:["onClickBtnConfirm","onClickBtnCancel"],methods:{openDialogAndSetMessage(e){this.alert=!0,this.message=e},closeAlert(){this.alert=!1},onClickBtnConfirm(){this.closeAlert(),this.$emit("onClickBtnConfirm")},onClickBtnCancel(){this.closeAlert(),this.$emit("onClickBtnCancel")}}}),mg={class:"q-ml-sm text-body1"};function hg(e,t,n,o,r,l){return a.openBlock(),a.createBlock(to,{modelValue:e.alert,"onUpdate:modelValue":t[0]||(t[0]=i=>e.alert=i),persistent:""},{default:a.withCtx(()=>[a.createVNode(wn,{class:"alert-card","data-cy":e.dataCy||"confirm-dialog"},{default:a.withCtx(()=>[a.createVNode(jo,{class:"row items-center"},{default:a.withCtx(()=>[a.createElementVNode("span",mg,a.toDisplayString(e.message),1)]),_:1}),a.createVNode(is,{align:"right"},{default:a.withCtx(()=>[a.createVNode(it,{color:"negative",flat:"",label:e.$t("confirmDialog.cancel"),onClick:e.onClickBtnCancel,"data-cy":"cancel"},null,8,["label","onClick"]),a.createVNode(it,{color:"positive",flat:"",label:e.$t("confirmDialog.confirm"),onClick:e.onClickBtnConfirm,"data-cy":"confirm"},null,8,["label","onClick"])]),_:1})]),_:1},8,["data-cy"])]),_:1},8,["modelValue"])}const ss=Pe(fg,[["render",hg]]),gg={install(e){Wt(e,"ConfirmDialog",ss)}},us=ge({name:"QToolbar",props:{inset:Boolean},setup(e,{slots:t}){const n=a.computed(()=>"q-toolbar row no-wrap items-center"+(e.inset===!0?" q-toolbar--inset":""));return()=>a.h("div",{class:n.value,role:"toolbar"},ve(t.default))}}),pg=ge({name:"QToolbarTitle",props:{shrink:Boolean},setup(e,{slots:t}){const n=a.computed(()=>"q-toolbar__title ellipsis"+(e.shrink===!0?" col-shrink":""));return()=>a.h("div",{class:n.value},ve(t.default))}}),cs=864e5,_g=36e5,fa=6e4,ds="YYYY-MM-DDTHH:mm:ss.SSSZ",bg=/\[((?:[^\]\\]|\\]|\\)*)\]|do|d{1,4}|Mo|M{1,4}|m{1,2}|wo|w{1,2}|Qo|Do|DDDo|D{1,4}|YY(?:YY)?|H{1,2}|h{1,2}|s{1,2}|S{1,3}|Z{1,2}|a{1,2}|[AQExX]/g,yg=/(\[[^\]]*\])|do|d{1,4}|Mo|M{1,4}|m{1,2}|wo|w{1,2}|Qo|Do|DDDo|D{1,4}|YY(?:YY)?|H{1,2}|h{1,2}|s{1,2}|S{1,3}|Z{1,2}|a{1,2}|[AQExX]|([.*+:?^,\s${}()|\\]+)/g,ma={};function vg(e,t){const n="("+t.days.join("|")+")",o=e+n;if(ma[o]!==void 0)return ma[o];const r="("+t.daysShort.join("|")+")",l="("+t.months.join("|")+")",i="("+t.monthsShort.join("|")+")",s={};let u=0;const f=e.replace(yg,m=>{switch(u++,m){case"YY":return s.YY=u,"(-?\\d{1,2})";case"YYYY":return s.YYYY=u,"(-?\\d{1,4})";case"M":return s.M=u,"(\\d{1,2})";case"Mo":return s.M=u++,"(\\d{1,2}(st|nd|rd|th))";case"MM":return s.M=u,"(\\d{2})";case"MMM":return s.MMM=u,i;case"MMMM":return s.MMMM=u,l;case"D":return s.D=u,"(\\d{1,2})";case"Do":return s.D=u++,"(\\d{1,2}(st|nd|rd|th))";case"DD":return s.D=u,"(\\d{2})";case"H":return s.H=u,"(\\d{1,2})";case"HH":return s.H=u,"(\\d{2})";case"h":return s.h=u,"(\\d{1,2})";case"hh":return s.h=u,"(\\d{2})";case"m":return s.m=u,"(\\d{1,2})";case"mm":return s.m=u,"(\\d{2})";case"s":return s.s=u,"(\\d{1,2})";case"ss":return s.s=u,"(\\d{2})";case"S":return s.S=u,"(\\d{1})";case"SS":return s.S=u,"(\\d{2})";case"SSS":return s.S=u,"(\\d{3})";case"A":return s.A=u,"(AM|PM)";case"a":return s.a=u,"(am|pm)";case"aa":return s.aa=u,"(a\\.m\\.|p\\.m\\.)";case"ddd":return r;case"dddd":return n;case"Q":case"d":case"E":return"(\\d{1})";case"do":return u++,"(\\d{1}(st|nd|rd|th))";case"Qo":return"(1st|2nd|3rd|4th)";case"DDD":case"DDDD":return"(\\d{1,3})";case"DDDo":return u++,"(\\d{1,3}(st|nd|rd|th))";case"w":return"(\\d{1,2})";case"wo":return u++,"(\\d{1,2}(st|nd|rd|th))";case"ww":return"(\\d{2})";case"Z":return s.Z=u,"(Z|[+-]\\d{2}:\\d{2})";case"ZZ":return s.ZZ=u,"(Z|[+-]\\d{2}\\d{2})";case"X":return s.X=u,"(-?\\d+)";case"x":return s.x=u,"(-?\\d{4,})";default:return u--,m[0]==="["&&(m=m.substring(1,m.length-1)),m.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}}),c={map:s,regex:new RegExp("^"+f)};return ma[o]=c,c}function fs(e,t){return e!==void 0?e:t!==void 0?t.date:wr.date}function ms(e,t=""){const n=e>0?"-":"+",o=Math.abs(e),r=Math.floor(o/60),l=o%60;return n+ze(r)+t+ze(l)}function Eg(e,t,n){let o=e.getFullYear(),r=e.getMonth();const l=e.getDate();return t.year!==void 0&&(o+=n*t.year,delete t.year),t.month!==void 0&&(r+=n*t.month,delete t.month),e.setDate(1),e.setMonth(2),e.setFullYear(o),e.setMonth(r),e.setDate(Math.min(l,pa(e))),t.date!==void 0&&(e.setDate(e.getDate()+n*t.date),delete t.date),e}function Cg(e,t,n){const o=t.year!==void 0?t.year:e[`get${n}FullYear`](),r=t.month!==void 0?t.month-1:e[`get${n}Month`](),l=new Date(o,r+1,0).getDate(),i=Math.min(l,t.date!==void 0?t.date:e[`get${n}Date`]());return e[`set${n}Date`](1),e[`set${n}Month`](2),e[`set${n}FullYear`](o),e[`set${n}Month`](r),e[`set${n}Date`](i),delete t.year,delete t.month,delete t.date,e}function ha(e,t,n){const o=hs(t),r=new Date(e),l=o.year!==void 0||o.month!==void 0||o.date!==void 0?Eg(r,o,n):r;for(const i in o){const s=cm(i);l[`set${s}`](l[`get${s}`]()+n*o[i])}return l}function hs(e){const t={...e};return e.years!==void 0&&(t.year=e.years,delete t.years),e.months!==void 0&&(t.month=e.months,delete t.months),e.days!==void 0&&(t.date=e.days,delete t.days),e.day!==void 0&&(t.date=e.day,delete t.day),e.hour!==void 0&&(t.hours=e.hour,delete t.hour),e.minute!==void 0&&(t.minutes=e.minute,delete t.minute),e.second!==void 0&&(t.seconds=e.second,delete t.second),e.millisecond!==void 0&&(t.milliseconds=e.millisecond,delete t.millisecond),t}function gs(e,t,n){const o=hs(t),r=n===!0?"UTC":"",l=new Date(e),i=o.year!==void 0||o.month!==void 0||o.date!==void 0?Cg(l,o,r):l;for(const s in o){const u=s.charAt(0).toUpperCase()+s.slice(1);i[`set${r}${u}`](o[s])}return i}function Sg(e,t,n){const o=wg(e,t,n),r=new Date(o.year,o.month===null?null:o.month-1,o.day===null?1:o.day,o.hour,o.minute,o.second,o.millisecond),l=r.getTimezoneOffset();return o.timezoneOffset===null||o.timezoneOffset===l?r:ha(r,{minutes:o.timezoneOffset-l},1)}function wg(e,t,n,o,r){const l={year:null,month:null,day:null,hour:null,minute:null,second:null,millisecond:null,timezoneOffset:null,dateHash:null,timeHash:null};if(e==null||e===""||typeof e!="string")return l;t===void 0&&(t=ds);const i=fs(n,It.props),s=i.months,u=i.monthsShort,{regex:f,map:c}=vg(t,i),m=e.match(f);if(m===null)return l;let g="";if(c.X!==void 0||c.x!==void 0){const h=parseInt(m[c.X!==void 0?c.X:c.x],10);if(isNaN(h)===!0||h<0)return l;const d=new Date(h*(c.X!==void 0?1e3:1));l.year=d.getFullYear(),l.month=d.getMonth()+1,l.day=d.getDate(),l.hour=d.getHours(),l.minute=d.getMinutes(),l.second=d.getSeconds(),l.millisecond=d.getMilliseconds()}else{if(c.YYYY!==void 0)l.year=parseInt(m[c.YYYY],10);else if(c.YY!==void 0){const h=parseInt(m[c.YY],10);l.year=h<0?h:2e3+h}if(c.M!==void 0){if(l.month=parseInt(m[c.M],10),l.month<1||l.month>12)return l}else c.MMM!==void 0?l.month=u.indexOf(m[c.MMM])+1:c.MMMM!==void 0&&(l.month=s.indexOf(m[c.MMMM])+1);if(c.D!==void 0){if(l.day=parseInt(m[c.D],10),l.year===null||l.month===null||l.day<1)return l;const h=new Date(l.year,l.month,0).getDate();if(l.day>h)return l}c.H!==void 0?l.hour=parseInt(m[c.H],10)%24:c.h!==void 0&&(l.hour=parseInt(m[c.h],10)%12,(c.A&&m[c.A]==="PM"||c.a&&m[c.a]==="pm"||c.aa&&m[c.aa]==="p.m.")&&(l.hour+=12),l.hour=l.hour%24),c.m!==void 0&&(l.minute=parseInt(m[c.m],10)%60),c.s!==void 0&&(l.second=parseInt(m[c.s],10)%60),c.S!==void 0&&(l.millisecond=parseInt(m[c.S],10)*10**(3-m[c.S].length)),(c.Z!==void 0||c.ZZ!==void 0)&&(g=c.Z!==void 0?m[c.Z].replace(":",""):m[c.ZZ],l.timezoneOffset=(g[0]==="+"?-1:1)*(60*g.slice(1,3)+1*g.slice(3,5)))}return l.dateHash=ze(l.year,6)+"/"+ze(l.month)+"/"+ze(l.day),l.timeHash=ze(l.hour)+":"+ze(l.minute)+":"+ze(l.second)+g,l}function kg(e){return typeof e=="number"?!0:isNaN(Date.parse(e))===!1}function Tg(e,t){return gs(new Date,e,t)}function Og(e){const t=new Date(e).getDay();return t===0?7:t}function Wo(e){const t=new Date(e.getFullYear(),e.getMonth(),e.getDate());t.setDate(t.getDate()-(t.getDay()+6)%7+3);const n=new Date(t.getFullYear(),0,4);n.setDate(n.getDate()-(n.getDay()+6)%7+3);const o=t.getTimezoneOffset()-n.getTimezoneOffset();t.setHours(t.getHours()-o);const r=(t-n)/(cs*7);return 1+Math.floor(r)}function xg(e){return e.getFullYear()*1e4+e.getMonth()*100+e.getDate()}function ga(e,t){const n=new Date(e);return t===!0?xg(n):n.getTime()}function Ng(e,t,n,o={}){const r=ga(t,o.onlyDate),l=ga(n,o.onlyDate),i=ga(e,o.onlyDate);return(i>r||o.inclusiveFrom===!0&&i===r)&&(i<l||o.inclusiveTo===!0&&i===l)}function Dg(e,t){return ha(e,t,1)}function Ig(e,t){return ha(e,t,-1)}function Pt(e,t,n){const o=new Date(e),r=`set${n===!0?"UTC":""}`;switch(t){case"year":case"years":o[`${r}Month`](0);case"month":case"months":o[`${r}Date`](1);case"day":case"days":case"date":o[`${r}Hours`](0);case"hour":case"hours":o[`${r}Minutes`](0);case"minute":case"minutes":o[`${r}Seconds`](0);case"second":case"seconds":o[`${r}Milliseconds`](0)}return o}function Ag(e,t,n){const o=new Date(e),r=`set${n===!0?"UTC":""}`;switch(t){case"year":case"years":o[`${r}Month`](11);case"month":case"months":o[`${r}Date`](pa(o));case"day":case"days":case"date":o[`${r}Hours`](23);case"hour":case"hours":o[`${r}Minutes`](59);case"minute":case"minutes":o[`${r}Seconds`](59);case"second":case"seconds":o[`${r}Milliseconds`](999)}return o}function Pg(e){let t=new Date(e);return Array.prototype.slice.call(arguments,1).forEach(n=>{t=Math.max(t,new Date(n))}),t}function Lg(e){let t=new Date(e);return Array.prototype.slice.call(arguments,1).forEach(n=>{t=Math.min(t,new Date(n))}),t}function Ko(e,t,n){return(e.getTime()-e.getTimezoneOffset()*fa-(t.getTime()-t.getTimezoneOffset()*fa))/n}function ps(e,t,n="days"){const o=new Date(e),r=new Date(t);switch(n){case"years":case"year":return o.getFullYear()-r.getFullYear();case"months":case"month":return(o.getFullYear()-r.getFullYear())*12+o.getMonth()-r.getMonth();case"days":case"day":case"date":return Ko(Pt(o,"day"),Pt(r,"day"),cs);case"hours":case"hour":return Ko(Pt(o,"hour"),Pt(r,"hour"),_g);case"minutes":case"minute":return Ko(Pt(o,"minute"),Pt(r,"minute"),fa);case"seconds":case"second":return Ko(Pt(o,"second"),Pt(r,"second"),1e3)}}function Yo(e){return ps(e,Pt(e,"year"),"days")+1}function Vg(e){return Oo(e)===!0?"date":typeof e=="number"?"number":"string"}function Rg(e,t,n){const o=new Date(e);if(t){const r=new Date(t);if(o<r)return r}if(n){const r=new Date(n);if(o>r)return r}return o}function Bg(e,t,n){const o=new Date(e),r=new Date(t);if(n===void 0)return o.getTime()===r.getTime();switch(n){case"second":case"seconds":if(o.getSeconds()!==r.getSeconds())return!1;case"minute":case"minutes":if(o.getMinutes()!==r.getMinutes())return!1;case"hour":case"hours":if(o.getHours()!==r.getHours())return!1;case"day":case"days":case"date":if(o.getDate()!==r.getDate())return!1;case"month":case"months":if(o.getMonth()!==r.getMonth())return!1;case"year":case"years":if(o.getFullYear()!==r.getFullYear())return!1;break;default:throw new Error(`date isSameDate unknown unit ${n}`)}return!0}function pa(e){return new Date(e.getFullYear(),e.getMonth()+1,0).getDate()}function kn(e){if(e>=11&&e<=13)return`${e}th`;switch(e%10){case 1:return`${e}st`;case 2:return`${e}nd`;case 3:return`${e}rd`}return`${e}th`}const _s={YY(e,t,n){const o=this.YYYY(e,t,n)%100;return o>=0?ze(o):"-"+ze(Math.abs(o))},YYYY(e,t,n){return n??e.getFullYear()},M(e){return e.getMonth()+1},Mo(e){return kn(e.getMonth()+1)},MM(e){return ze(e.getMonth()+1)},MMM(e,t){return t.monthsShort[e.getMonth()]},MMMM(e,t){return t.months[e.getMonth()]},Q(e){return Math.ceil((e.getMonth()+1)/3)},Qo(e){return kn(this.Q(e))},D(e){return e.getDate()},Do(e){return kn(e.getDate())},DD(e){return ze(e.getDate())},DDD(e){return Yo(e)},DDDo(e){return kn(Yo(e))},DDDD(e){return ze(Yo(e),3)},d(e){return e.getDay()},do(e){return kn(e.getDay())},dd(e,t){return t.days[e.getDay()].slice(0,2)},ddd(e,t){return t.daysShort[e.getDay()]},dddd(e,t){return t.days[e.getDay()]},E(e){return e.getDay()||7},w(e){return Wo(e)},wo(e){return kn(Wo(e))},ww(e){return ze(Wo(e))},H(e){return e.getHours()},HH(e){return ze(e.getHours())},h(e){const t=e.getHours();return t===0?12:t>12?t%12:t},hh(e){return ze(this.h(e))},m(e){return e.getMinutes()},mm(e){return ze(e.getMinutes())},s(e){return e.getSeconds()},ss(e){return ze(e.getSeconds())},S(e){return Math.floor(e.getMilliseconds()/100)},SS(e){return ze(Math.floor(e.getMilliseconds()/10))},SSS(e){return ze(e.getMilliseconds(),3)},A(e){return e.getHours()<12?"AM":"PM"},a(e){return e.getHours()<12?"am":"pm"},aa(e){return e.getHours()<12?"a.m.":"p.m."},Z(e,t,n,o){const r=o??e.getTimezoneOffset();return ms(r,":")},ZZ(e,t,n,o){const r=o??e.getTimezoneOffset();return ms(r)},X(e){return Math.floor(e.getTime()/1e3)},x(e){return e.getTime()}};function Mg(e,t,n,o,r){if(e!==0&&!e||e===1/0||e===-1/0)return;const l=new Date(e);if(isNaN(l))return;t===void 0&&(t=ds);const i=fs(n,It.props);return t.replace(bg,(s,u)=>s in _s?_s[s](l,i,o,r):u===void 0?s:u.split("\\]").join("]"))}function Fg(e){return Oo(e)===!0?new Date(e.getTime()):e}const qg={isValid:kg,extractDate:Sg,buildDate:Tg,getDayOfWeek:Og,getWeekOfYear:Wo,isBetweenDates:Ng,addToDate:Dg,subtractFromDate:Ig,adjustDate:gs,startOfDate:Pt,endOfDate:Ag,getMaxDate:Pg,getMinDate:Lg,getDateDiff:ps,getDayOfYear:Yo,inferDateFormat:Vg,getDateBetween:Rg,isSameDate:Bg,daysInMonth:pa,formatDate:Mg,clone:Fg},$g=a.defineComponent({name:"TaskNavBar",components:{},data(){return{date:qg,showIconSearch:!0,rightDrawerOpen:!1}},props:{logo:{type:String,default:""},title:{type:String,default:"Testing Title"},showBtnBack:{type:Boolean,default:!0},showBtnSearch:{type:Boolean,default:!0},showSkeleton:{type:Boolean,default:!0}},emits:["onClickBtnMenu","onClickBtnSearch","onClickBtnBack"],methods:{onClickBtnMenu(){this.$emit("onClickBtnMenu"),console.log("menu")},onClickBtnSearch(){this.showIconSearch=!this.showIconSearch,this.$emit("onClickBtnSearch"),console.log("search")},onClickBtnBack(){this.$emit("onClickBtnBack"),console.log("back")}}}),Ug={id:"taskNavBar"},Hg={class:"row full-width"},zg={class:"col-7"},jg=["src"],Wg={id:"mobile-title"},Kg={class:"col-5 text-right","data-cy":"back"};function Yg(e,t,n,o,r,l){return a.openBlock(),a.createElementBlock("div",Ug,[a.createVNode(us,{class:"q-toolbar-unset-height"},{default:a.withCtx(()=>[a.createElementVNode("div",Hg,[a.createElementVNode("div",zg,[a.createElementVNode("img",{src:e.logo,class:"logo"},null,8,jg),a.createElementVNode("span",Wg,a.toDisplayString(e.title),1)]),a.createElementVNode("div",Kg,[e.showBtnBack?(a.openBlock(),a.createBlock(Ae,{key:0,size:"md",class:"cursor-pointer",onClick:e.onClickBtnBack},{default:a.withCtx(()=>t[0]||(t[0]=[a.createElementVNode("svg",{class:"text-h4",xmlns:"http://www.w3.org/2000/svg",width:"30",height:"30",viewBox:"0 0 23.648 22.836"},[a.createElementVNode("g",{id:"Arrow_brand","data-name":"Arrow brand",transform:"translate(0 22.836) rotate(-90)"},[a.createElementVNode("path",{id:"Caminho_1066","data-name":"Caminho 1066",d:"M23.648,10.644l-22.323.569L11.42,1.095,10.325,0,0,11.418,10.325,22.836l1.095-1.095-10.1-10.13,22.323.581Z",transform:"translate(22.836) rotate(90)"})])],-1)])),_:1},8,["onClick"])):a.createCommentVNode("",!0),e.showBtnSearch?(a.openBlock(),a.createBlock(Ae,{key:1,color:"primary",name:e.showIconSearch?"search":"search_off",size:"md",class:"q-ml-md cursor-pointer","data-cy":"search",onClick:e.onClickBtnSearch},null,8,["name","onClick"])):a.createCommentVNode("",!0),a.createVNode(Ae,{id:"iconMenu",size:"md",onClick:e.onClickBtnMenu,class:"q-ml-md cursor-pointer","data-cy":"menu"},{default:a.withCtx(()=>t[1]||(t[1]=[a.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",width:"30.448",height:"28.247",viewBox:"0 0 30.448 28.247"},[a.createElementVNode("g",{id:"Componente_11_3","data-name":"Componente 11 – 3",transform:"translate(0 1)"},[a.createElementVNode("path",{id:"Caminho_702","data-name":"Caminho 702",d:"M38.053,40.174H24",transform:"translate(-7.604 -13.177)",fill:"none",stroke:"#1a1311","stroke-miterlimit":"10","stroke-width":"0.5"}),a.createElementVNode("path",{id:"Caminho_703","data-name":"Caminho 703",d:"M45.079,31.913H24",transform:"translate(-14.631 -18.155)",fill:"none",stroke:"#1a1311","stroke-miterlimit":"10","stroke-width":"1"}),a.createElementVNode("path",{id:"Caminho_704","data-name":"Caminho 704",d:"M54.448,23.328H24",transform:"translate(-24 -23.328)",fill:"none",stroke:"#1a1311","stroke-miterlimit":"10","stroke-width":"2"})])],-1)])),_:1},8,["onClick"])])])]),_:1}),a.createVNode(pg,{class:"text-color-almost-black q-pl-none"},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(e.title),1)]),_:1})])}const bs=Pe($g,[["render",Yg]]),Gg={install(e){Wt(e,"TaskNavBar",bs)}},Qg=a.defineComponent({data(){return{alert:!1}},props:{values:{type:Object,required:!0,default:{selected:0,total:0,message:"",class:""}},imgSrc:{type:String,required:!0}},emits:["repeatTask","endTask"],methods:{repeatTask(){this.$emit("repeatTask")},endTask(){this.$emit("endTask")},showConfirmedTaskAnSetValues(e,t){this.alert=!0,this.values.total=e,this.values.selected=t}},mounted(){}}),Xg={class:""},Zg={style:{"text-align":"center"}},Jg={class:"q-mb-md"},ep=["src"],tp={class:"counter"},np={class:"text-color-positive"},op={class:"text-color-almostBlack"},rp={class:"msg-text"},ap={class:"q-mb-md"};function lp(e,t,n,o,r,l){return a.openBlock(),a.createElementBlock("div",Xg,[a.createVNode(to,{"data-cy":"task-confirmed-successfully",modelValue:e.alert,"onUpdate:modelValue":t[0]||(t[0]=i=>e.alert=i),persistent:"",maximized:!0,"transition-show":"slide-up","transition-hide":"slide-down"},{default:a.withCtx(()=>[a.createVNode(wn,{class:a.normalizeClass(e.values.class),id:"confirmed-task"},{default:a.withCtx(()=>[a.createVNode(jo,{class:"q-pa-none full-width flex justify-center items-center",style:{height:"calc(100vh - 100px)"}},{default:a.withCtx(()=>[a.createElementVNode("div",Zg,[a.createElementVNode("div",Jg,[a.createElementVNode("img",{src:e.imgSrc},null,8,ep)]),a.createElementVNode("div",tp,[a.createElementVNode("span",np,a.toDisplayString(e.values.selected),1),a.createElementVNode("span",op,"/"+a.toDisplayString(e.values.total),1)]),a.createElementVNode("div",rp,[a.createElementVNode("div",ap,a.toDisplayString(e.values.message),1),a.createElementVNode("div",null,a.toDisplayString(e.$t("taskConfirmed.repeatTask")),1)])])]),_:1}),a.createVNode(is,{class:"fixed-bottom"},{default:a.withCtx(()=>[a.createVNode(it,{"data-cy":"repeat-task","no-caps":"",square:"",unelevated:"",onClick:e.repeatTask,class:"full-width bg-almostBlack text-color-offWhite q-mb-sm"},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(e.$t("taskConfirmed.repeat")),1)]),_:1},8,["onClick"]),a.createVNode(it,{"data-cy":"end-task","no-caps":"",square:"",unelevated:"",onClick:e.endTask,class:"full-width text-color-almostBlack"},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(e.$t("taskConfirmed.finish")),1)]),_:1},8,["onClick"])]),_:1})]),_:1},8,["class"])]),_:1},8,["modelValue"])])}const ys=Pe(Qg,[["render",lp]]),ip={install(e){Wt(e,"ConfirmedTask",ys)}},sp=a.defineComponent({name:"TableRowsCounter",data(){return{}},props:{counterJson:{type:Array,required:!0}},methods:{}}),up=["data-cy"],cp={style:{"font-size":"12px"}};function dp(e,t,n,o,r,l){return a.openBlock(),a.createElementBlock("div",null,[a.createVNode(us,{class:"q-px-none q-py-none"},{default:a.withCtx(()=>[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(e.counterJson,(i,s)=>(a.openBlock(),a.createElementBlock("div",{key:s,class:"inline q-mr-md"},[a.createElementVNode("span",{"data-cy":i.dataCy,style:{"font-size":"20px","padding-right":"5px"},class:a.normalizeClass(i.extraClasses)},a.toDisplayString(i.qty),11,up),a.createElementVNode("span",cp,a.toDisplayString(e.$t(i.title)),1)]))),128))]),_:1})])}const vs=Pe(sp,[["render",dp]]),fp={install(e){Wt(e,"TableRowsCounter",vs)}},mp={name:"ToolbarSkeleton",props:{smallDevice:{type:Boolean,required:!0}}};function hp(e,t,n,o,r,l){return a.openBlock(),a.createElementBlock("div",null,[a.createVNode(wn,{style:{width:"100%"},class:"q-mb-sm"},{default:a.withCtx(()=>[a.createVNode(yt,null,{default:a.withCtx(()=>[a.createVNode(tt,null,{default:a.withCtx(()=>[a.createVNode(Xe,null,{default:a.withCtx(()=>[a.createVNode(ke,{size:"20px",class:"float-right"}),a.createVNode(ke,{type:"text",width:"100px",height:"50px"}),a.createVNode(ke,{type:"text",width:"250px"})]),_:1})]),_:1})]),_:1}),n.smallDevice?a.createCommentVNode("",!0):(a.openBlock(),a.createBlock(yt,{key:0},{default:a.withCtx(()=>[a.createVNode(tt,null,{default:a.withCtx(()=>[a.createVNode(Xe,null,{default:a.withCtx(()=>[a.createVNode(ke,{type:"QInput",width:"200px",height:"40px",class:"float-left q-mr-md"}),a.createVNode(ke,{type:"QInput",width:"200px",height:"40px",class:"float-left"})]),_:1})]),_:1})]),_:1})),n.smallDevice?a.createCommentVNode("",!0):(a.openBlock(),a.createBlock(yt,{key:1},{default:a.withCtx(()=>[a.createVNode(tt,null,{default:a.withCtx(()=>[a.createVNode(Xe,null,{default:a.withCtx(()=>[a.createVNode(ke,{type:"text",width:"30px"})]),_:1})]),_:1})]),_:1}))]),_:1})])}const Es=Pe(mp,[["render",hp]]),gp={install(e){Wt(e,"NavBarSkeleton",Es)}},pp=ge({name:"QSpace",setup(){const e=a.h("div",{class:"q-space"});return()=>e}}),_p=ge({name:"QBar",props:{...dt,dense:Boolean},setup(e,{slots:t}){const{proxy:{$q:n}}=a.getCurrentInstance(),o=ft(e,n),r=a.computed(()=>`q-bar row no-wrap items-center q-bar--${e.dense===!0?"dense":"standard"} q-bar--${o.value===!0?"dark":"light"}`);return()=>a.h("div",{class:r.value,role:"toolbar"},ve(t.default))}}),bp='<g transform="translate(1 1)" stroke-width="2" fill="none" fill-rule="evenodd"><circle stroke-opacity=".5" cx="18" cy="18" r="18"></circle><path d="M36 18c0-9.94-8.06-18-18-18"><animateTransform attributeName="transform" type="rotate" from="0 18 18" to="360 18 18" dur="1s" repeatCount="indefinite"></animateTransform></path></g>',yp=ge({name:"QSpinnerOval",props:Gl,setup(e){const{cSize:t,classes:n}=Ql(e);return()=>a.h("svg",{class:n.value,stroke:"currentColor",width:t.value,height:t.value,viewBox:"0 0 38 38",xmlns:"http://www.w3.org/2000/svg",innerHTML:bp})}}),vp=a.defineComponent({name:"AlertLabelsWithError",data(){return{alert:!1,labelsErrors:[]}},emit:["retryReadLabelAxios","onCloseDialogLabelsError"],methods:{deleteLabelFromErrorMessage(e){this.labelsErrors.splice(e,1),this.labelsErrors.length===0&&this.onCloseDialogLabelsError()},retryReadLabelAxios(e){this.$emit("retryReadLabelAxios",e)},onCloseDialogLabelsError(){this.alert=!1,this.labelsErrors=[],this.$emit("onCloseDialogLabelsError")},setLabelsSpinner(e,t){for(let n=0;n<this.labelsErrors.length;n++)this.labelsErrors[n].label===e&&(this.labelsErrors[n].spinner=t)},setIconCircleCheck(e){for(let t=0;t<this.labelsErrors.length;t++)this.labelsErrors[t].label===e&&(this.labelsErrors[t].icon="check_circle")}}}),Ep={class:"text-grey-8"},Cp={class:"text-weight-medium q-pr-xs text-color-almostBlack"},Sp={class:"float-left"},wp={class:"float-right"};function kp(e,t,n,o,r,l){return a.openBlock(),a.createElementBlock("div",null,[a.createVNode(to,{modelValue:e.alert,"onUpdate:modelValue":t[0]||(t[0]=i=>e.alert=i),persistent:"","transition-show":"slide-up","transition-hide":"slide-down"},{default:a.withCtx(()=>[a.createVNode(wn,{style:{width:"100%","max-width":"560px","min-width":"250px"},"data-cy":"errors-details"},{default:a.withCtx(()=>[a.createVNode(_p,null,{default:a.withCtx(()=>[a.createVNode(pp),a.createVNode(it,{dense:"",flat:"",icon:"close",onClick:e.onCloseDialogLabelsError,"data-cy":"close-error-details"},null,8,["onClick"])]),_:1}),a.createVNode(jo,{class:"q-pt-md"},{default:a.withCtx(()=>[a.createVNode(Pr,{bordered:"",style:{width:"100%"}},{default:a.withCtx(()=>[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(e.labelsErrors,(i,s)=>(a.openBlock(),a.createBlock(yt,a.mergeProps({class:"border-bottom-darkGrey",key:s,ref_for:!0},i),{default:a.withCtx(()=>[a.createVNode(tt,{top:""},{default:a.withCtx(()=>[a.createVNode(Xe,null,{default:a.withCtx(()=>[a.createElementVNode("span",Ep,[a.createElementVNode("span",Cp,a.toDisplayString(i.label),1),a.withDirectives(a.createVNode(Ae,{color:i.icon==="check_circle"?"green":"red",size:"xs",name:i.icon},null,8,["color","name"]),[[a.vShow,!i.spinner]]),a.withDirectives(a.createVNode(yp,{"data-cy":"spinner",color:"blue",size:"sm"},null,512),[[a.vShow,i.spinner]])])]),_:2},1024),a.withDirectives(a.createVNode(Xe,{class:"q-pt-sm",caption:""},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(i.error),1)]),_:2},1536),[[a.vShow,i.icon==="cancel"]]),a.withDirectives(a.createVNode(Xe,{class:"q-pt-sm q-mt-x"},{default:a.withCtx(()=>[a.createElementVNode("span",Sp,[a.createVNode(it,{flat:"",size:"md",class:"text-blue","data-cy":"retry",onClick:u=>e.retryReadLabelAxios(i.label)},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(e.$t("global.retry")),1)]),_:2},1032,["onClick"])]),a.createElementVNode("span",wp,[a.createVNode(it,{flat:"",round:"",size:"md",color:"secondary",icon:"delete","data-cy":"deleteLabelFromErrorsList",onClick:u=>e.deleteLabelFromErrorMessage(s)},null,8,["onClick"])])]),_:2},1536),[[a.vShow,i.icon==="cancel"]])]),_:2},1024),a.createVNode(xr)]),_:2},1040))),128))]),_:1})]),_:1})]),_:1})]),_:1},8,["modelValue"])])}const Cs=Pe(vp,[["render",kp]]),Tp={install(e){Wt(e,"AlertLabelsWithError",Cs)}};var Op=Object.create,Ss=Object.defineProperty,xp=Object.getOwnPropertyDescriptor,_a=Object.getOwnPropertyNames,Np=Object.getPrototypeOf,Dp=Object.prototype.hasOwnProperty,Ip=(e,t)=>function(){return e&&(t=(0,e[_a(e)[0]])(e=0)),t},Ap=(e,t)=>function(){return t||(0,e[_a(e)[0]])((t={exports:{}}).exports,t),t.exports},Pp=(e,t,n,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of _a(t))!Dp.call(e,r)&&r!==n&&Ss(e,r,{get:()=>t[r],enumerable:!(o=xp(t,r))||o.enumerable});return e},Lp=(e,t,n)=>(n=e!=null?Op(Np(e)):{},Pp(Ss(n,"default",{value:e,enumerable:!0}),e)),ro=Ip({"../../node_modules/.pnpm/tsup@8.3.5_@microsoft+api-extractor@7.48.1_@types+node@22.10.5__jiti@2.4.2_postcss@8.4.49_tsx_s7k37zks4wtn7x2grzma6lrsfa/node_modules/tsup/assets/esm_shims.js"(){}}),Vp=Ap({"../../node_modules/.pnpm/rfdc@1.4.1/node_modules/rfdc/index.js"(e,t){ro(),t.exports=o;function n(l){return l instanceof Buffer?Buffer.from(l):new l.constructor(l.buffer.slice(),l.byteOffset,l.length)}function o(l){if(l=l||{},l.circles)return r(l);const i=new Map;if(i.set(Date,m=>new Date(m)),i.set(Map,(m,g)=>new Map(u(Array.from(m),g))),i.set(Set,(m,g)=>new Set(u(Array.from(m),g))),l.constructorHandlers)for(const m of l.constructorHandlers)i.set(m[0],m[1]);let s=null;return l.proto?c:f;function u(m,g){const h=Object.keys(m),d=new Array(h.length);for(let b=0;b<h.length;b++){const _=h[b],p=m[_];typeof p!="object"||p===null?d[_]=p:p.constructor!==Object&&(s=i.get(p.constructor))?d[_]=s(p,g):ArrayBuffer.isView(p)?d[_]=n(p):d[_]=g(p)}return d}function f(m){if(typeof m!="object"||m===null)return m;if(Array.isArray(m))return u(m,f);if(m.constructor!==Object&&(s=i.get(m.constructor)))return s(m,f);const g={};for(const h in m){if(Object.hasOwnProperty.call(m,h)===!1)continue;const d=m[h];typeof d!="object"||d===null?g[h]=d:d.constructor!==Object&&(s=i.get(d.constructor))?g[h]=s(d,f):ArrayBuffer.isView(d)?g[h]=n(d):g[h]=f(d)}return g}function c(m){if(typeof m!="object"||m===null)return m;if(Array.isArray(m))return u(m,c);if(m.constructor!==Object&&(s=i.get(m.constructor)))return s(m,c);const g={};for(const h in m){const d=m[h];typeof d!="object"||d===null?g[h]=d:d.constructor!==Object&&(s=i.get(d.constructor))?g[h]=s(d,c):ArrayBuffer.isView(d)?g[h]=n(d):g[h]=c(d)}return g}}function r(l){const i=[],s=[],u=new Map;if(u.set(Date,h=>new Date(h)),u.set(Map,(h,d)=>new Map(c(Array.from(h),d))),u.set(Set,(h,d)=>new Set(c(Array.from(h),d))),l.constructorHandlers)for(const h of l.constructorHandlers)u.set(h[0],h[1]);let f=null;return l.proto?g:m;function c(h,d){const b=Object.keys(h),_=new Array(b.length);for(let p=0;p<b.length;p++){const y=b[p],C=h[y];if(typeof C!="object"||C===null)_[y]=C;else if(C.constructor!==Object&&(f=u.get(C.constructor)))_[y]=f(C,d);else if(ArrayBuffer.isView(C))_[y]=n(C);else{const v=i.indexOf(C);v!==-1?_[y]=s[v]:_[y]=d(C)}}return _}function m(h){if(typeof h!="object"||h===null)return h;if(Array.isArray(h))return c(h,m);if(h.constructor!==Object&&(f=u.get(h.constructor)))return f(h,m);const d={};i.push(h),s.push(d);for(const b in h){if(Object.hasOwnProperty.call(h,b)===!1)continue;const _=h[b];if(typeof _!="object"||_===null)d[b]=_;else if(_.constructor!==Object&&(f=u.get(_.constructor)))d[b]=f(_,m);else if(ArrayBuffer.isView(_))d[b]=n(_);else{const p=i.indexOf(_);p!==-1?d[b]=s[p]:d[b]=m(_)}}return i.pop(),s.pop(),d}function g(h){if(typeof h!="object"||h===null)return h;if(Array.isArray(h))return c(h,g);if(h.constructor!==Object&&(f=u.get(h.constructor)))return f(h,g);const d={};i.push(h),s.push(d);for(const b in h){const _=h[b];if(typeof _!="object"||_===null)d[b]=_;else if(_.constructor!==Object&&(f=u.get(_.constructor)))d[b]=f(_,g);else if(ArrayBuffer.isView(_))d[b]=n(_);else{const p=i.indexOf(_);p!==-1?d[b]=s[p]:d[b]=g(_)}}return i.pop(),s.pop(),d}}}});ro(),ro(),ro();var ws=typeof navigator<"u",oe=typeof window<"u"?window:typeof globalThis<"u"?globalThis:typeof global<"u"?global:{};typeof oe.chrome<"u"&&oe.chrome.devtools,ws&&(oe.self,oe.top);var ks;typeof navigator<"u"&&((ks=navigator.userAgent)==null||ks.toLowerCase().includes("electron")),ro();var Rp=Lp(Vp()),Bp=/(?:^|[-_/])(\w)/g;function Mp(e,t){return t?t.toUpperCase():""}function Fp(e){return e&&`${e}`.replace(Bp,Mp)}function qp(e,t){let n=e.replace(/^[a-z]:/i,"").replace(/\\/g,"/");n.endsWith(`index${t}`)&&(n=n.replace(`/index${t}`,t));const o=n.lastIndexOf("/"),r=n.substring(o+1);{const l=r.lastIndexOf(t);return r.substring(0,l)}}var Ts=(0,Rp.default)({circles:!0});const $p={trailing:!0};function Tn(e,t=25,n={}){if(n={...$p,...n},!Number.isFinite(t))throw new TypeError("Expected `wait` to be a finite number");let o,r,l=[],i,s;const u=(f,c)=>(i=Up(e,f,c),i.finally(()=>{if(i=null,n.trailing&&s&&!r){const m=u(f,s);return s=null,m}}),i);return function(...f){return i?(n.trailing&&(s=f),i):new Promise(c=>{const m=!r&&n.leading;clearTimeout(r),r=setTimeout(()=>{r=null;const g=n.leading?o:u(this,f);for(const h of l)h(g);l=[]},t),m?(o=u(this,f),c(o)):l.push(c)})}}async function Up(e,t,n){return await e.apply(t,n)}function ba(e,t={},n){for(const o in e){const r=e[o],l=n?`${n}:${o}`:o;typeof r=="object"&&r!==null?ba(r,t,l):typeof r=="function"&&(t[l]=r)}return t}const Hp={run:e=>e()},zp=()=>Hp,Os=typeof console.createTask<"u"?console.createTask:zp;function jp(e,t){const n=t.shift(),o=Os(n);return e.reduce((r,l)=>r.then(()=>o.run(()=>l(...t))),Promise.resolve())}function Wp(e,t){const n=t.shift(),o=Os(n);return Promise.all(e.map(r=>o.run(()=>r(...t))))}function ya(e,t){for(const n of[...e])n(t)}class Kp{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(t,n,o={}){if(!t||typeof n!="function")return()=>{};const r=t;let l;for(;this._deprecatedHooks[t];)l=this._deprecatedHooks[t],t=l.to;if(l&&!o.allowDeprecated){let i=l.message;i||(i=`${r} hook has been deprecated`+(l.to?`, please use ${l.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(i)||(console.warn(i),this._deprecatedMessages.add(i))}if(!n.name)try{Object.defineProperty(n,"name",{get:()=>"_"+t.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[t]=this._hooks[t]||[],this._hooks[t].push(n),()=>{n&&(this.removeHook(t,n),n=void 0)}}hookOnce(t,n){let o,r=(...l)=>(typeof o=="function"&&o(),o=void 0,r=void 0,n(...l));return o=this.hook(t,r),o}removeHook(t,n){if(this._hooks[t]){const o=this._hooks[t].indexOf(n);o!==-1&&this._hooks[t].splice(o,1),this._hooks[t].length===0&&delete this._hooks[t]}}deprecateHook(t,n){this._deprecatedHooks[t]=typeof n=="string"?{to:n}:n;const o=this._hooks[t]||[];delete this._hooks[t];for(const r of o)this.hook(t,r)}deprecateHooks(t){Object.assign(this._deprecatedHooks,t);for(const n in t)this.deprecateHook(n,t[n])}addHooks(t){const n=ba(t),o=Object.keys(n).map(r=>this.hook(r,n[r]));return()=>{for(const r of o.splice(0,o.length))r()}}removeHooks(t){const n=ba(t);for(const o in n)this.removeHook(o,n[o])}removeAllHooks(){for(const t in this._hooks)delete this._hooks[t]}callHook(t,...n){return n.unshift(t),this.callHookWith(jp,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(Wp,t,...n)}callHookWith(t,n,...o){const r=this._before||this._after?{name:n,args:o,context:{}}:void 0;this._before&&ya(this._before,r);const l=t(n in this._hooks?[...this._hooks[n]]:[],o);return l instanceof Promise?l.finally(()=>{this._after&&r&&ya(this._after,r)}):(this._after&&r&&ya(this._after,r),l)}beforeEach(t){return this._before=this._before||[],this._before.push(t),()=>{if(this._before!==void 0){const n=this._before.indexOf(t);n!==-1&&this._before.splice(n,1)}}}afterEach(t){return this._after=this._after||[],this._after.push(t),()=>{if(this._after!==void 0){const n=this._after.indexOf(t);n!==-1&&this._after.splice(n,1)}}}}function xs(){return new Kp}var Yp=Object.create,Ns=Object.defineProperty,Gp=Object.getOwnPropertyDescriptor,va=Object.getOwnPropertyNames,Qp=Object.getPrototypeOf,Xp=Object.prototype.hasOwnProperty,Zp=(e,t)=>function(){return e&&(t=(0,e[va(e)[0]])(e=0)),t},Ds=(e,t)=>function(){return t||(0,e[va(e)[0]])((t={exports:{}}).exports,t),t.exports},Jp=(e,t,n,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of va(t))!Xp.call(e,r)&&r!==n&&Ns(e,r,{get:()=>t[r],enumerable:!(o=Gp(t,r))||o.enumerable});return e},e_=(e,t,n)=>(n=e!=null?Yp(Qp(e)):{},Jp(Ns(n,"default",{value:e,enumerable:!0}),e)),M=Zp({"../../node_modules/.pnpm/tsup@8.3.5_@microsoft+api-extractor@7.48.1_@types+node@22.10.5__jiti@2.4.2_postcss@8.4.49_tsx_s7k37zks4wtn7x2grzma6lrsfa/node_modules/tsup/assets/esm_shims.js"(){}}),t_=Ds({"../../node_modules/.pnpm/speakingurl@14.0.1/node_modules/speakingurl/lib/speakingurl.js"(e,t){M(),function(n){var o={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"Ae",Å:"A",Æ:"AE",Ç:"C",È:"E",É:"E",Ê:"E",Ë:"E",Ì:"I",Í:"I",Î:"I",Ï:"I",Ð:"D",Ñ:"N",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"Oe",Ő:"O",Ø:"O",Ù:"U",Ú:"U",Û:"U",Ü:"Ue",Ű:"U",Ý:"Y",Þ:"TH",ß:"ss",à:"a",á:"a",â:"a",ã:"a",ä:"ae",å:"a",æ:"ae",ç:"c",è:"e",é:"e",ê:"e",ë:"e",ì:"i",í:"i",î:"i",ï:"i",ð:"d",ñ:"n",ò:"o",ó:"o",ô:"o",õ:"o",ö:"oe",ő:"o",ø:"o",ù:"u",ú:"u",û:"u",ü:"ue",ű:"u",ý:"y",þ:"th",ÿ:"y","ẞ":"SS",ا:"a",أ:"a",إ:"i",آ:"aa",ؤ:"u",ئ:"e",ء:"a",ب:"b",ت:"t",ث:"th",ج:"j",ح:"h",خ:"kh",د:"d",ذ:"th",ر:"r",ز:"z",س:"s",ش:"sh",ص:"s",ض:"dh",ط:"t",ظ:"z",ع:"a",غ:"gh",ف:"f",ق:"q",ك:"k",ل:"l",م:"m",ن:"n",ه:"h",و:"w",ي:"y",ى:"a",ة:"h",ﻻ:"la",ﻷ:"laa",ﻹ:"lai",ﻵ:"laa",گ:"g",چ:"ch",پ:"p",ژ:"zh",ک:"k",ی:"y","َ":"a","ً":"an","ِ":"e","ٍ":"en","ُ":"u","ٌ":"on","ْ":"","٠":"0","١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","۰":"0","۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9",က:"k",ခ:"kh",ဂ:"g",ဃ:"ga",င:"ng",စ:"s",ဆ:"sa",ဇ:"z","စျ":"za",ည:"ny",ဋ:"t",ဌ:"ta",ဍ:"d",ဎ:"da",ဏ:"na",တ:"t",ထ:"ta",ဒ:"d",ဓ:"da",န:"n",ပ:"p",ဖ:"pa",ဗ:"b",ဘ:"ba",မ:"m",ယ:"y",ရ:"ya",လ:"l",ဝ:"w",သ:"th",ဟ:"h",ဠ:"la",အ:"a","ြ":"y","ျ":"ya","ွ":"w","ြွ":"yw","ျွ":"ywa","ှ":"h",ဧ:"e","၏":"-e",ဣ:"i",ဤ:"-i",ဉ:"u",ဦ:"-u",ဩ:"aw","သြော":"aw",ဪ:"aw","၀":"0","၁":"1","၂":"2","၃":"3","၄":"4","၅":"5","၆":"6","၇":"7","၈":"8","၉":"9","္":"","့":"","း":"",č:"c",ď:"d",ě:"e",ň:"n",ř:"r",š:"s",ť:"t",ů:"u",ž:"z",Č:"C",Ď:"D",Ě:"E",Ň:"N",Ř:"R",Š:"S",Ť:"T",Ů:"U",Ž:"Z",ހ:"h",ށ:"sh",ނ:"n",ރ:"r",ބ:"b",ޅ:"lh",ކ:"k",އ:"a",ވ:"v",މ:"m",ފ:"f",ދ:"dh",ތ:"th",ލ:"l",ގ:"g",ޏ:"gn",ސ:"s",ޑ:"d",ޒ:"z",ޓ:"t",ޔ:"y",ޕ:"p",ޖ:"j",ޗ:"ch",ޘ:"tt",ޙ:"hh",ޚ:"kh",ޛ:"th",ޜ:"z",ޝ:"sh",ޞ:"s",ޟ:"d",ޠ:"t",ޡ:"z",ޢ:"a",ޣ:"gh",ޤ:"q",ޥ:"w","ަ":"a","ާ":"aa","ި":"i","ީ":"ee","ު":"u","ޫ":"oo","ެ":"e","ޭ":"ey","ޮ":"o","ޯ":"oa","ް":"",ა:"a",ბ:"b",გ:"g",დ:"d",ე:"e",ვ:"v",ზ:"z",თ:"t",ი:"i",კ:"k",ლ:"l",მ:"m",ნ:"n",ო:"o",პ:"p",ჟ:"zh",რ:"r",ს:"s",ტ:"t",უ:"u",ფ:"p",ქ:"k",ღ:"gh",ყ:"q",შ:"sh",ჩ:"ch",ც:"ts",ძ:"dz",წ:"ts",ჭ:"ch",ხ:"kh",ჯ:"j",ჰ:"h",α:"a",β:"v",γ:"g",δ:"d",ε:"e",ζ:"z",η:"i",θ:"th",ι:"i",κ:"k",λ:"l",μ:"m",ν:"n",ξ:"ks",ο:"o",π:"p",ρ:"r",σ:"s",τ:"t",υ:"y",φ:"f",χ:"x",ψ:"ps",ω:"o",ά:"a",έ:"e",ί:"i",ό:"o",ύ:"y",ή:"i",ώ:"o",ς:"s",ϊ:"i",ΰ:"y",ϋ:"y",ΐ:"i",Α:"A",Β:"B",Γ:"G",Δ:"D",Ε:"E",Ζ:"Z",Η:"I",Θ:"TH",Ι:"I",Κ:"K",Λ:"L",Μ:"M",Ν:"N",Ξ:"KS",Ο:"O",Π:"P",Ρ:"R",Σ:"S",Τ:"T",Υ:"Y",Φ:"F",Χ:"X",Ψ:"PS",Ω:"O",Ά:"A",Έ:"E",Ί:"I",Ό:"O",Ύ:"Y",Ή:"I",Ώ:"O",Ϊ:"I",Ϋ:"Y",ā:"a",ē:"e",ģ:"g",ī:"i",ķ:"k",ļ:"l",ņ:"n",ū:"u",Ā:"A",Ē:"E",Ģ:"G",Ī:"I",Ķ:"k",Ļ:"L",Ņ:"N",Ū:"U",Ќ:"Kj",ќ:"kj",Љ:"Lj",љ:"lj",Њ:"Nj",њ:"nj",Тс:"Ts",тс:"ts",ą:"a",ć:"c",ę:"e",ł:"l",ń:"n",ś:"s",ź:"z",ż:"z",Ą:"A",Ć:"C",Ę:"E",Ł:"L",Ń:"N",Ś:"S",Ź:"Z",Ż:"Z",Є:"Ye",І:"I",Ї:"Yi",Ґ:"G",є:"ye",і:"i",ї:"yi",ґ:"g",ă:"a",Ă:"A",ș:"s",Ș:"S",ț:"t",Ț:"T",ţ:"t",Ţ:"T",а:"a",б:"b",в:"v",г:"g",д:"d",е:"e",ё:"yo",ж:"zh",з:"z",и:"i",й:"i",к:"k",л:"l",м:"m",н:"n",о:"o",п:"p",р:"r",с:"s",т:"t",у:"u",ф:"f",х:"kh",ц:"c",ч:"ch",ш:"sh",щ:"sh",ъ:"",ы:"y",ь:"",э:"e",ю:"yu",я:"ya",А:"A",Б:"B",В:"V",Г:"G",Д:"D",Е:"E",Ё:"Yo",Ж:"Zh",З:"Z",И:"I",Й:"I",К:"K",Л:"L",М:"M",Н:"N",О:"O",П:"P",Р:"R",С:"S",Т:"T",У:"U",Ф:"F",Х:"Kh",Ц:"C",Ч:"Ch",Ш:"Sh",Щ:"Sh",Ъ:"",Ы:"Y",Ь:"",Э:"E",Ю:"Yu",Я:"Ya",ђ:"dj",ј:"j",ћ:"c",џ:"dz",Ђ:"Dj",Ј:"j",Ћ:"C",Џ:"Dz",ľ:"l",ĺ:"l",ŕ:"r",Ľ:"L",Ĺ:"L",Ŕ:"R",ş:"s",Ş:"S",ı:"i",İ:"I",ğ:"g",Ğ:"G",ả:"a",Ả:"A",ẳ:"a",Ẳ:"A",ẩ:"a",Ẩ:"A",đ:"d",Đ:"D",ẹ:"e",Ẹ:"E",ẽ:"e",Ẽ:"E",ẻ:"e",Ẻ:"E",ế:"e",Ế:"E",ề:"e",Ề:"E",ệ:"e",Ệ:"E",ễ:"e",Ễ:"E",ể:"e",Ể:"E",ỏ:"o",ọ:"o",Ọ:"o",ố:"o",Ố:"O",ồ:"o",Ồ:"O",ổ:"o",Ổ:"O",ộ:"o",Ộ:"O",ỗ:"o",Ỗ:"O",ơ:"o",Ơ:"O",ớ:"o",Ớ:"O",ờ:"o",Ờ:"O",ợ:"o",Ợ:"O",ỡ:"o",Ỡ:"O",Ở:"o",ở:"o",ị:"i",Ị:"I",ĩ:"i",Ĩ:"I",ỉ:"i",Ỉ:"i",ủ:"u",Ủ:"U",ụ:"u",Ụ:"U",ũ:"u",Ũ:"U",ư:"u",Ư:"U",ứ:"u",Ứ:"U",ừ:"u",Ừ:"U",ự:"u",Ự:"U",ữ:"u",Ữ:"U",ử:"u",Ử:"ư",ỷ:"y",Ỷ:"y",ỳ:"y",Ỳ:"Y",ỵ:"y",Ỵ:"Y",ỹ:"y",Ỹ:"Y",ạ:"a",Ạ:"A",ấ:"a",Ấ:"A",ầ:"a",Ầ:"A",ậ:"a",Ậ:"A",ẫ:"a",Ẫ:"A",ắ:"a",Ắ:"A",ằ:"a",Ằ:"A",ặ:"a",Ặ:"A",ẵ:"a",Ẵ:"A","⓪":"0","①":"1","②":"2","③":"3","④":"4","⑤":"5","⑥":"6","⑦":"7","⑧":"8","⑨":"9","⑩":"10","⑪":"11","⑫":"12","⑬":"13","⑭":"14","⑮":"15","⑯":"16","⑰":"17","⑱":"18","⑲":"18","⑳":"18","⓵":"1","⓶":"2","⓷":"3","⓸":"4","⓹":"5","⓺":"6","⓻":"7","⓼":"8","⓽":"9","⓾":"10","⓿":"0","⓫":"11","⓬":"12","⓭":"13","⓮":"14","⓯":"15","⓰":"16","⓱":"17","⓲":"18","⓳":"19","⓴":"20","Ⓐ":"A","Ⓑ":"B","Ⓒ":"C","Ⓓ":"D","Ⓔ":"E","Ⓕ":"F","Ⓖ":"G","Ⓗ":"H","Ⓘ":"I","Ⓙ":"J","Ⓚ":"K","Ⓛ":"L","Ⓜ":"M","Ⓝ":"N","Ⓞ":"O","Ⓟ":"P","Ⓠ":"Q","Ⓡ":"R","Ⓢ":"S","Ⓣ":"T","Ⓤ":"U","Ⓥ":"V","Ⓦ":"W","Ⓧ":"X","Ⓨ":"Y","Ⓩ":"Z","ⓐ":"a","ⓑ":"b","ⓒ":"c","ⓓ":"d","ⓔ":"e","ⓕ":"f","ⓖ":"g","ⓗ":"h","ⓘ":"i","ⓙ":"j","ⓚ":"k","ⓛ":"l","ⓜ":"m","ⓝ":"n","ⓞ":"o","ⓟ":"p","ⓠ":"q","ⓡ":"r","ⓢ":"s","ⓣ":"t","ⓤ":"u","ⓦ":"v","ⓥ":"w","ⓧ":"x","ⓨ":"y","ⓩ":"z","“":'"',"”":'"',"‘":"'","’":"'","∂":"d",ƒ:"f","™":"(TM)","©":"(C)",œ:"oe",Œ:"OE","®":"(R)","†":"+","℠":"(SM)","…":"...","˚":"o",º:"o",ª:"a","•":"*","၊":",","။":".",$:"USD","€":"EUR","₢":"BRN","₣":"FRF","£":"GBP","₤":"ITL","₦":"NGN","₧":"ESP","₩":"KRW","₪":"ILS","₫":"VND","₭":"LAK","₮":"MNT","₯":"GRD","₱":"ARS","₲":"PYG","₳":"ARA","₴":"UAH","₵":"GHS","¢":"cent","¥":"CNY",元:"CNY",円:"YEN","﷼":"IRR","₠":"EWE","฿":"THB","₨":"INR","₹":"INR","₰":"PF","₺":"TRY","؋":"AFN","₼":"AZN",лв:"BGN","៛":"KHR","₡":"CRC","₸":"KZT",ден:"MKD",zł:"PLN","₽":"RUB","₾":"GEL"},r=["်","ް"],l={"ာ":"a","ါ":"a","ေ":"e","ဲ":"e","ိ":"i","ီ":"i","ို":"o","ု":"u","ူ":"u","ေါင်":"aung","ော":"aw","ော်":"aw","ေါ":"aw","ေါ်":"aw","်":"်","က်":"et","ိုက်":"aik","ောက်":"auk","င်":"in","ိုင်":"aing","ောင်":"aung","စ်":"it","ည်":"i","တ်":"at","ိတ်":"eik","ုတ်":"ok","ွတ်":"ut","ေတ်":"it","ဒ်":"d","ိုဒ်":"ok","ုဒ်":"ait","န်":"an","ာန်":"an","ိန်":"ein","ုန်":"on","ွန်":"un","ပ်":"at","ိပ်":"eik","ုပ်":"ok","ွပ်":"ut","န်ုပ်":"nub","မ်":"an","ိမ်":"ein","ုမ်":"on","ွမ်":"un","ယ်":"e","ိုလ်":"ol","ဉ်":"in","ံ":"an","ိံ":"ein","ုံ":"on","ައް":"ah","ަށް":"ah"},i={en:{},az:{ç:"c",ə:"e",ğ:"g",ı:"i",ö:"o",ş:"s",ü:"u",Ç:"C",Ə:"E",Ğ:"G",İ:"I",Ö:"O",Ş:"S",Ü:"U"},cs:{č:"c",ď:"d",ě:"e",ň:"n",ř:"r",š:"s",ť:"t",ů:"u",ž:"z",Č:"C",Ď:"D",Ě:"E",Ň:"N",Ř:"R",Š:"S",Ť:"T",Ů:"U",Ž:"Z"},fi:{ä:"a",Ä:"A",ö:"o",Ö:"O"},hu:{ä:"a",Ä:"A",ö:"o",Ö:"O",ü:"u",Ü:"U",ű:"u",Ű:"U"},lt:{ą:"a",č:"c",ę:"e",ė:"e",į:"i",š:"s",ų:"u",ū:"u",ž:"z",Ą:"A",Č:"C",Ę:"E",Ė:"E",Į:"I",Š:"S",Ų:"U",Ū:"U"},lv:{ā:"a",č:"c",ē:"e",ģ:"g",ī:"i",ķ:"k",ļ:"l",ņ:"n",š:"s",ū:"u",ž:"z",Ā:"A",Č:"C",Ē:"E",Ģ:"G",Ī:"i",Ķ:"k",Ļ:"L",Ņ:"N",Š:"S",Ū:"u",Ž:"Z"},pl:{ą:"a",ć:"c",ę:"e",ł:"l",ń:"n",ó:"o",ś:"s",ź:"z",ż:"z",Ą:"A",Ć:"C",Ę:"e",Ł:"L",Ń:"N",Ó:"O",Ś:"S",Ź:"Z",Ż:"Z"},sv:{ä:"a",Ä:"A",ö:"o",Ö:"O"},sk:{ä:"a",Ä:"A"},sr:{љ:"lj",њ:"nj",Љ:"Lj",Њ:"Nj",đ:"dj",Đ:"Dj"},tr:{Ü:"U",Ö:"O",ü:"u",ö:"o"}},s={ar:{"∆":"delta","∞":"la-nihaya","♥":"hob","&":"wa","|":"aw","<":"aqal-men",">":"akbar-men","∑":"majmou","¤":"omla"},az:{},ca:{"∆":"delta","∞":"infinit","♥":"amor","&":"i","|":"o","<":"menys que",">":"mes que","∑":"suma dels","¤":"moneda"},cs:{"∆":"delta","∞":"nekonecno","♥":"laska","&":"a","|":"nebo","<":"mensi nez",">":"vetsi nez","∑":"soucet","¤":"mena"},de:{"∆":"delta","∞":"unendlich","♥":"Liebe","&":"und","|":"oder","<":"kleiner als",">":"groesser als","∑":"Summe von","¤":"Waehrung"},dv:{"∆":"delta","∞":"kolunulaa","♥":"loabi","&":"aai","|":"noonee","<":"ah vure kuda",">":"ah vure bodu","∑":"jumula","¤":"faisaa"},en:{"∆":"delta","∞":"infinity","♥":"love","&":"and","|":"or","<":"less than",">":"greater than","∑":"sum","¤":"currency"},es:{"∆":"delta","∞":"infinito","♥":"amor","&":"y","|":"u","<":"menos que",">":"mas que","∑":"suma de los","¤":"moneda"},fa:{"∆":"delta","∞":"bi-nahayat","♥":"eshgh","&":"va","|":"ya","<":"kamtar-az",">":"bishtar-az","∑":"majmooe","¤":"vahed"},fi:{"∆":"delta","∞":"aarettomyys","♥":"rakkaus","&":"ja","|":"tai","<":"pienempi kuin",">":"suurempi kuin","∑":"summa","¤":"valuutta"},fr:{"∆":"delta","∞":"infiniment","♥":"Amour","&":"et","|":"ou","<":"moins que",">":"superieure a","∑":"somme des","¤":"monnaie"},ge:{"∆":"delta","∞":"usasruloba","♥":"siqvaruli","&":"da","|":"an","<":"naklebi",">":"meti","∑":"jami","¤":"valuta"},gr:{},hu:{"∆":"delta","∞":"vegtelen","♥":"szerelem","&":"es","|":"vagy","<":"kisebb mint",">":"nagyobb mint","∑":"szumma","¤":"penznem"},it:{"∆":"delta","∞":"infinito","♥":"amore","&":"e","|":"o","<":"minore di",">":"maggiore di","∑":"somma","¤":"moneta"},lt:{"∆":"delta","∞":"begalybe","♥":"meile","&":"ir","|":"ar","<":"maziau nei",">":"daugiau nei","∑":"suma","¤":"valiuta"},lv:{"∆":"delta","∞":"bezgaliba","♥":"milestiba","&":"un","|":"vai","<":"mazak neka",">":"lielaks neka","∑":"summa","¤":"valuta"},my:{"∆":"kwahkhyaet","∞":"asaonasme","♥":"akhyait","&":"nhin","|":"tho","<":"ngethaw",">":"kyithaw","∑":"paungld","¤":"ngwekye"},mk:{},nl:{"∆":"delta","∞":"oneindig","♥":"liefde","&":"en","|":"of","<":"kleiner dan",">":"groter dan","∑":"som","¤":"valuta"},pl:{"∆":"delta","∞":"nieskonczonosc","♥":"milosc","&":"i","|":"lub","<":"mniejsze niz",">":"wieksze niz","∑":"suma","¤":"waluta"},pt:{"∆":"delta","∞":"infinito","♥":"amor","&":"e","|":"ou","<":"menor que",">":"maior que","∑":"soma","¤":"moeda"},ro:{"∆":"delta","∞":"infinit","♥":"dragoste","&":"si","|":"sau","<":"mai mic ca",">":"mai mare ca","∑":"suma","¤":"valuta"},ru:{"∆":"delta","∞":"beskonechno","♥":"lubov","&":"i","|":"ili","<":"menshe",">":"bolshe","∑":"summa","¤":"valjuta"},sk:{"∆":"delta","∞":"nekonecno","♥":"laska","&":"a","|":"alebo","<":"menej ako",">":"viac ako","∑":"sucet","¤":"mena"},sr:{},tr:{"∆":"delta","∞":"sonsuzluk","♥":"ask","&":"ve","|":"veya","<":"kucuktur",">":"buyuktur","∑":"toplam","¤":"para birimi"},uk:{"∆":"delta","∞":"bezkinechnist","♥":"lubov","&":"i","|":"abo","<":"menshe",">":"bilshe","∑":"suma","¤":"valjuta"},vn:{"∆":"delta","∞":"vo cuc","♥":"yeu","&":"va","|":"hoac","<":"nho hon",">":"lon hon","∑":"tong","¤":"tien te"}},u=[";","?",":","@","&","=","+","$",",","/"].join(""),f=[";","?",":","@","&","=","+","$",","].join(""),c=[".","!","~","*","'","(",")"].join(""),m=function(_,p){var y="-",C="",v="",O=!0,D={},k,B,I,P,F,N,K,V,J,W,$,z,G,ee,x="";if(typeof _!="string")return"";if(typeof p=="string"&&(y=p),K=s.en,V=i.en,typeof p=="object"){k=p.maintainCase||!1,D=p.custom&&typeof p.custom=="object"?p.custom:D,I=+p.truncate>1&&p.truncate||!1,P=p.uric||!1,F=p.uricNoSlash||!1,N=p.mark||!1,O=!(p.symbols===!1||p.lang===!1),y=p.separator||y,P&&(x+=u),F&&(x+=f),N&&(x+=c),K=p.lang&&s[p.lang]&&O?s[p.lang]:O?s.en:{},V=p.lang&&i[p.lang]?i[p.lang]:p.lang===!1||p.lang===!0?{}:i.en,p.titleCase&&typeof p.titleCase.length=="number"&&Array.prototype.toString.call(p.titleCase)?(p.titleCase.forEach(function(T){D[T+""]=T+""}),B=!0):B=!!p.titleCase,p.custom&&typeof p.custom.length=="number"&&Array.prototype.toString.call(p.custom)&&p.custom.forEach(function(T){D[T+""]=T+""}),Object.keys(D).forEach(function(T){var H;T.length>1?H=new RegExp("\\b"+h(T)+"\\b","gi"):H=new RegExp(h(T),"gi"),_=_.replace(H,D[T])});for($ in D)x+=$}for(x+=y,x=h(x),_=_.replace(/(^\s+|\s+$)/g,""),G=!1,ee=!1,W=0,z=_.length;W<z;W++)$=_[W],d($,D)?G=!1:V[$]?($=G&&V[$].match(/[A-Za-z0-9]/)?" "+V[$]:V[$],G=!1):$ in o?(W+1<z&&r.indexOf(_[W+1])>=0?(v+=$,$=""):ee===!0?($=l[v]+o[$],v=""):$=G&&o[$].match(/[A-Za-z0-9]/)?" "+o[$]:o[$],G=!1,ee=!1):$ in l?(v+=$,$="",W===z-1&&($=l[v]),ee=!0):K[$]&&!(P&&u.indexOf($)!==-1)&&!(F&&f.indexOf($)!==-1)?($=G||C.substr(-1).match(/[A-Za-z0-9]/)?y+K[$]:K[$],$+=_[W+1]!==void 0&&_[W+1].match(/[A-Za-z0-9]/)?y:"",G=!0):(ee===!0?($=l[v]+$,v="",ee=!1):G&&(/[A-Za-z0-9]/.test($)||C.substr(-1).match(/A-Za-z0-9]/))&&($=" "+$),G=!1),C+=$.replace(new RegExp("[^\\w\\s"+x+"_-]","g"),y);return B&&(C=C.replace(/(\w)(\S*)/g,function(T,H,re){var ae=H.toUpperCase()+(re!==null?re:"");return Object.keys(D).indexOf(ae.toLowerCase())<0?ae:ae.toLowerCase()})),C=C.replace(/\s+/g,y).replace(new RegExp("\\"+y+"+","g"),y).replace(new RegExp("(^\\"+y+"+|\\"+y+"+$)","g"),""),I&&C.length>I&&(J=C.charAt(I)===y,C=C.slice(0,I),J||(C=C.slice(0,C.lastIndexOf(y)))),!k&&!B&&(C=C.toLowerCase()),C},g=function(_){return function(y){return m(y,_)}},h=function(_){return _.replace(/[-\\^$*+?.()|[\]{}\/]/g,"\\$&")},d=function(b,_){for(var p in _)if(_[p]===b)return!0};if(typeof t<"u"&&t.exports)t.exports=m,t.exports.createSlug=g;else if(typeof define<"u"&&define.amd)define([],function(){return m});else try{if(n.getSlug||n.createSlug)throw"speakingurl: globals exists /(getSlug|createSlug)/";n.getSlug=m,n.createSlug=g}catch{}}(e)}}),n_=Ds({"../../node_modules/.pnpm/speakingurl@14.0.1/node_modules/speakingurl/index.js"(e,t){M(),t.exports=t_()}});M(),M(),M(),M(),M(),M(),M(),M();function o_(e){var t;const n=e.name||e._componentTag||e.__VUE_DEVTOOLS_COMPONENT_GUSSED_NAME__||e.__name;return n==="index"&&((t=e.__file)!=null&&t.endsWith("index.vue"))?"":n}function r_(e){const t=e.__file;if(t)return Fp(qp(t,".vue"))}function Is(e,t){return e.type.__VUE_DEVTOOLS_COMPONENT_GUSSED_NAME__=t,t}function Ea(e){if(e.__VUE_DEVTOOLS_NEXT_APP_RECORD__)return e.__VUE_DEVTOOLS_NEXT_APP_RECORD__;if(e.root)return e.appContext.app.__VUE_DEVTOOLS_NEXT_APP_RECORD__}function As(e){var t,n;const o=(t=e.subTree)==null?void 0:t.type,r=Ea(e);return r?((n=r==null?void 0:r.types)==null?void 0:n.Fragment)===o:!1}function Go(e){var t,n,o;const r=o_((e==null?void 0:e.type)||{});if(r)return r;if((e==null?void 0:e.root)===e)return"Root";for(const i in(n=(t=e.parent)==null?void 0:t.type)==null?void 0:n.components)if(e.parent.type.components[i]===(e==null?void 0:e.type))return Is(e,i);for(const i in(o=e.appContext)==null?void 0:o.components)if(e.appContext.components[i]===(e==null?void 0:e.type))return Is(e,i);const l=r_((e==null?void 0:e.type)||{});return l||"Anonymous Component"}function a_(e){var t,n,o;const r=(o=(n=(t=e==null?void 0:e.appContext)==null?void 0:t.app)==null?void 0:n.__VUE_DEVTOOLS_NEXT_APP_RECORD_ID__)!=null?o:0,l=e===(e==null?void 0:e.root)?"root":e.uid;return`${r}:${l}`}function Ca(e,t){return t=t||`${e.id}:root`,e.instanceMap.get(t)||e.instanceMap.get(":root")}function l_(){const e={top:0,bottom:0,left:0,right:0,get width(){return e.right-e.left},get height(){return e.bottom-e.top}};return e}var Qo;function i_(e){return Qo||(Qo=document.createRange()),Qo.selectNode(e),Qo.getBoundingClientRect()}function s_(e){const t=l_();if(!e.children)return t;for(let n=0,o=e.children.length;n<o;n++){const r=e.children[n];let l;if(r.component)l=sn(r.component);else if(r.el){const i=r.el;i.nodeType===1||i.getBoundingClientRect?l=i.getBoundingClientRect():i.nodeType===3&&i.data.trim()&&(l=i_(i))}l&&u_(t,l)}return t}function u_(e,t){return(!e.top||t.top<e.top)&&(e.top=t.top),(!e.bottom||t.bottom>e.bottom)&&(e.bottom=t.bottom),(!e.left||t.left<e.left)&&(e.left=t.left),(!e.right||t.right>e.right)&&(e.right=t.right),e}var Ps={top:0,left:0,right:0,bottom:0,width:0,height:0};function sn(e){const t=e.subTree.el;return typeof window>"u"?Ps:As(e)?s_(e.subTree):(t==null?void 0:t.nodeType)===1?t==null?void 0:t.getBoundingClientRect():e.subTree.component?sn(e.subTree.component):Ps}M();function Sa(e){return As(e)?c_(e.subTree):e.subTree?[e.subTree.el]:[]}function c_(e){if(!e.children)return[];const t=[];return e.children.forEach(n=>{n.component?t.push(...Sa(n.component)):n!=null&&n.el&&t.push(n.el)}),t}var Ls="__vue-devtools-component-inspector__",Vs="__vue-devtools-component-inspector__card__",Rs="__vue-devtools-component-inspector__name__",Bs="__vue-devtools-component-inspector__indicator__",Ms={display:"block",zIndex:2147483640,position:"fixed",backgroundColor:"#42b88325",border:"1px solid #42b88350",borderRadius:"5px",transition:"all 0.1s ease-in",pointerEvents:"none"},d_={fontFamily:"Arial, Helvetica, sans-serif",padding:"5px 8px",borderRadius:"4px",textAlign:"left",position:"absolute",left:0,color:"#e9e9e9",fontSize:"14px",fontWeight:600,lineHeight:"24px",backgroundColor:"#42b883",boxShadow:"0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1)"},f_={display:"inline-block",fontWeight:400,fontStyle:"normal",fontSize:"12px",opacity:.7};function On(){return document.getElementById(Ls)}function m_(){return document.getElementById(Vs)}function h_(){return document.getElementById(Bs)}function g_(){return document.getElementById(Rs)}function wa(e){return{left:`${Math.round(e.left*100)/100}px`,top:`${Math.round(e.top*100)/100}px`,width:`${Math.round(e.width*100)/100}px`,height:`${Math.round(e.height*100)/100}px`}}function ka(e){var t;const n=document.createElement("div");n.id=(t=e.elementId)!=null?t:Ls,Object.assign(n.style,{...Ms,...wa(e.bounds),...e.style});const o=document.createElement("span");o.id=Vs,Object.assign(o.style,{...d_,top:e.bounds.top<35?0:"-35px"});const r=document.createElement("span");r.id=Rs,r.innerHTML=`<${e.name}> `;const l=document.createElement("i");return l.id=Bs,l.innerHTML=`${Math.round(e.bounds.width*100)/100} x ${Math.round(e.bounds.height*100)/100}`,Object.assign(l.style,f_),o.appendChild(r),o.appendChild(l),n.appendChild(o),document.body.appendChild(n),n}function Ta(e){const t=On(),n=m_(),o=g_(),r=h_();t&&(Object.assign(t.style,{...Ms,...wa(e.bounds)}),Object.assign(n.style,{top:e.bounds.top<35?0:"-35px"}),o.innerHTML=`<${e.name}> `,r.innerHTML=`${Math.round(e.bounds.width*100)/100} x ${Math.round(e.bounds.height*100)/100}`)}function p_(e){const t=sn(e);if(!t.width&&!t.height)return;const n=Go(e);On()?Ta({bounds:t,name:n}):ka({bounds:t,name:n})}function Fs(){const e=On();e&&(e.style.display="none")}var Oa=null;function xa(e){const t=e.target;if(t){const n=t.__vueParentComponent;if(n&&(Oa=n,n.vnode.el)){const r=sn(n),l=Go(n);On()?Ta({bounds:r,name:l}):ka({bounds:r,name:l})}}}function __(e,t){if(e.preventDefault(),e.stopPropagation(),Oa){const n=a_(Oa);t(n)}}var Xo=null;function b_(){Fs(),window.removeEventListener("mouseover",xa),window.removeEventListener("click",Xo,!0),Xo=null}function y_(){return window.addEventListener("mouseover",xa),new Promise(e=>{function t(n){n.preventDefault(),n.stopPropagation(),__(n,o=>{window.removeEventListener("click",t,!0),Xo=null,window.removeEventListener("mouseover",xa);const r=On();r&&(r.style.display="none"),e(JSON.stringify({id:o}))})}Xo=t,window.addEventListener("click",t,!0)})}function v_(e){const t=Ca(st.value,e.id);if(t){const[n]=Sa(t);if(typeof n.scrollIntoView=="function")n.scrollIntoView({behavior:"smooth"});else{const o=sn(t),r=document.createElement("div"),l={...wa(o),position:"absolute"};Object.assign(r.style,l),document.body.appendChild(r),r.scrollIntoView({behavior:"smooth"}),setTimeout(()=>{document.body.removeChild(r)},2e3)}setTimeout(()=>{const o=sn(t);if(o.width||o.height){const r=Go(t),l=On();l?Ta({...e,name:r,bounds:o}):ka({...e,name:r,bounds:o}),setTimeout(()=>{l&&(l.style.display="none")},1500)}},1200)}}M();var qs,$s;($s=(qs=oe).__VUE_DEVTOOLS_COMPONENT_INSPECTOR_ENABLED__)!=null||(qs.__VUE_DEVTOOLS_COMPONENT_INSPECTOR_ENABLED__=!0);function E_(e){let t=0;const n=setInterval(()=>{oe.__VUE_INSPECTOR__&&(clearInterval(n),t+=30,e()),t>=5e3&&clearInterval(n)},30)}function C_(){const e=oe.__VUE_INSPECTOR__,t=e.openInEditor;e.openInEditor=async(...n)=>{e.disable(),t(...n)}}function S_(){return new Promise(e=>{function t(){C_(),e(oe.__VUE_INSPECTOR__)}oe.__VUE_INSPECTOR__?t():E_(()=>{t()})})}M(),M();function w_(e){return!!(e&&e.__v_isReadonly)}function Us(e){return w_(e)?Us(e.__v_raw):!!(e&&e.__v_isReactive)}function Na(e){return!!(e&&e.__v_isRef===!0)}function ao(e){const t=e&&e.__v_raw;return t?ao(t):e}var k_=class{constructor(){this.refEditor=new T_}set(e,t,n,o){const r=Array.isArray(t)?t:t.split(".");for(;r.length>1;){const s=r.shift();e instanceof Map&&(e=e.get(s)),e instanceof Set?e=Array.from(e.values())[s]:e=e[s],this.refEditor.isRef(e)&&(e=this.refEditor.get(e))}const l=r[0],i=this.refEditor.get(e)[l];o?o(e,l,n):this.refEditor.isRef(i)?this.refEditor.set(i,n):e[l]=n}get(e,t){const n=Array.isArray(t)?t:t.split(".");for(let o=0;o<n.length;o++)if(e instanceof Map?e=e.get(n[o]):e=e[n[o]],this.refEditor.isRef(e)&&(e=this.refEditor.get(e)),!e)return;return e}has(e,t,n=!1){if(typeof e>"u")return!1;const o=Array.isArray(t)?t.slice():t.split("."),r=n?2:1;for(;e&&o.length>r;){const l=o.shift();e=e[l],this.refEditor.isRef(e)&&(e=this.refEditor.get(e))}return e!=null&&Object.prototype.hasOwnProperty.call(e,o[0])}createDefaultSetCallback(e){return(t,n,o)=>{if((e.remove||e.newKey)&&(Array.isArray(t)?t.splice(n,1):ao(t)instanceof Map?t.delete(n):ao(t)instanceof Set?t.delete(Array.from(t.values())[n]):Reflect.deleteProperty(t,n)),!e.remove){const r=t[e.newKey||n];this.refEditor.isRef(r)?this.refEditor.set(r,o):ao(t)instanceof Map?t.set(e.newKey||n,o):ao(t)instanceof Set?t.add(o):t[e.newKey||n]=o}}}},T_=class{set(e,t){if(Na(e))e.value=t;else{if(e instanceof Set&&Array.isArray(t)){e.clear(),t.forEach(r=>e.add(r));return}const n=Object.keys(t);if(e instanceof Map){const r=new Set(e.keys());n.forEach(l=>{e.set(l,Reflect.get(t,l)),r.delete(l)}),r.forEach(l=>e.delete(l));return}const o=new Set(Object.keys(e));n.forEach(r=>{Reflect.set(e,r,Reflect.get(t,r)),o.delete(r)}),o.forEach(r=>Reflect.deleteProperty(e,r))}}get(e){return Na(e)?e.value:e}isRef(e){return Na(e)||Us(e)}};M(),M(),M();var O_="__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS_STATE__";function x_(){if(!ws||typeof localStorage>"u"||localStorage===null)return{recordingState:!1,mouseEventEnabled:!1,keyboardEventEnabled:!1,componentEventEnabled:!1,performanceEventEnabled:!1,selected:""};const e=localStorage.getItem(O_);return e?JSON.parse(e):{recordingState:!1,mouseEventEnabled:!1,keyboardEventEnabled:!1,componentEventEnabled:!1,performanceEventEnabled:!1,selected:""}}M(),M(),M();var Hs,zs;(zs=(Hs=oe).__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS)!=null||(Hs.__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS=[]);var N_=new Proxy(oe.__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS,{get(e,t,n){return Reflect.get(e,t,n)}});function D_(e,t){Ke.timelineLayersState[t.id]=!1,N_.push({...e,descriptorId:t.id,appRecord:Ea(t.app)})}var js,Ws;(Ws=(js=oe).__VUE_DEVTOOLS_KIT_INSPECTOR__)!=null||(js.__VUE_DEVTOOLS_KIT_INSPECTOR__=[]);var Da=new Proxy(oe.__VUE_DEVTOOLS_KIT_INSPECTOR__,{get(e,t,n){return Reflect.get(e,t,n)}}),Ks=Tn(()=>{Nn.hooks.callHook("sendInspectorToClient",Ys())});function I_(e,t){var n,o;Da.push({options:e,descriptor:t,treeFilterPlaceholder:(n=e.treeFilterPlaceholder)!=null?n:"Search tree...",stateFilterPlaceholder:(o=e.stateFilterPlaceholder)!=null?o:"Search state...",treeFilter:"",selectedNodeId:"",appRecord:Ea(t.app)}),Ks()}function Ys(){return Da.filter(e=>e.descriptor.app===st.value.app).filter(e=>e.descriptor.id!=="components").map(e=>{var t;const n=e.descriptor,o=e.options;return{id:o.id,label:o.label,logo:n.logo,icon:`custom-ic-baseline-${(t=o==null?void 0:o.icon)==null?void 0:t.replace(/_/g,"-")}`,packageName:n.packageName,homepage:n.homepage,pluginId:n.id}})}function Zo(e,t){return Da.find(n=>n.options.id===e&&(t?n.descriptor.app===t:!0))}function A_(){const e=xs();e.hook("addInspector",({inspector:o,plugin:r})=>{I_(o,r.descriptor)});const t=Tn(async({inspectorId:o,plugin:r})=>{var l;if(!o||!((l=r==null?void 0:r.descriptor)!=null&&l.app)||Ke.highPerfModeEnabled)return;const i=Zo(o,r.descriptor.app),s={app:r.descriptor.app,inspectorId:o,filter:(i==null?void 0:i.treeFilter)||"",rootNodes:[]};await new Promise(u=>{e.callHookWith(async f=>{await Promise.all(f.map(c=>c(s))),u()},"getInspectorTree")}),e.callHookWith(async u=>{await Promise.all(u.map(f=>f({inspectorId:o,rootNodes:s.rootNodes})))},"sendInspectorTreeToClient")},120);e.hook("sendInspectorTree",t);const n=Tn(async({inspectorId:o,plugin:r})=>{var l;if(!o||!((l=r==null?void 0:r.descriptor)!=null&&l.app)||Ke.highPerfModeEnabled)return;const i=Zo(o,r.descriptor.app),s={app:r.descriptor.app,inspectorId:o,nodeId:(i==null?void 0:i.selectedNodeId)||"",state:null},u={currentTab:`custom-inspector:${o}`};s.nodeId&&await new Promise(f=>{e.callHookWith(async c=>{await Promise.all(c.map(m=>m(s,u))),f()},"getInspectorState")}),e.callHookWith(async f=>{await Promise.all(f.map(c=>c({inspectorId:o,nodeId:s.nodeId,state:s.state})))},"sendInspectorStateToClient")},120);return e.hook("sendInspectorState",n),e.hook("customInspectorSelectNode",({inspectorId:o,nodeId:r,plugin:l})=>{const i=Zo(o,l.descriptor.app);i&&(i.selectedNodeId=r)}),e.hook("timelineLayerAdded",({options:o,plugin:r})=>{D_(o,r.descriptor)}),e.hook("timelineEventAdded",({options:o,plugin:r})=>{var l;const i=["performance","component-event","keyboard","mouse"];Ke.highPerfModeEnabled||!((l=Ke.timelineLayersState)!=null&&l[r.descriptor.id])&&!i.includes(o.layerId)||e.callHookWith(async s=>{await Promise.all(s.map(u=>u(o)))},"sendTimelineEventToClient")}),e.hook("getComponentInstances",async({app:o})=>{const r=o.__VUE_DEVTOOLS_NEXT_APP_RECORD__;if(!r)return null;const l=r.id.toString();return[...r.instanceMap].filter(([s])=>s.split(":")[0]===l).map(([,s])=>s)}),e.hook("getComponentBounds",async({instance:o})=>sn(o)),e.hook("getComponentName",({instance:o})=>Go(o)),e.hook("componentHighlight",({uid:o})=>{const r=st.value.instanceMap.get(o);r&&p_(r)}),e.hook("componentUnhighlight",()=>{Fs()}),e}var Gs,Qs;(Qs=(Gs=oe).__VUE_DEVTOOLS_KIT_APP_RECORDS__)!=null||(Gs.__VUE_DEVTOOLS_KIT_APP_RECORDS__=[]);var Xs,Zs;(Zs=(Xs=oe).__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__)!=null||(Xs.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__={});var Js,eu;(eu=(Js=oe).__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__)!=null||(Js.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__="");var tu,nu;(nu=(tu=oe).__VUE_DEVTOOLS_KIT_CUSTOM_TABS__)!=null||(tu.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__=[]);var ou,ru;(ru=(ou=oe).__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__)!=null||(ou.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__=[]);var un="__VUE_DEVTOOLS_KIT_GLOBAL_STATE__";function P_(){return{connected:!1,clientConnected:!1,vitePluginDetected:!0,appRecords:[],activeAppRecordId:"",tabs:[],commands:[],highPerfModeEnabled:!0,devtoolsClientDetected:{},perfUniqueGroupId:0,timelineLayersState:x_()}}var au,lu;(lu=(au=oe)[un])!=null||(au[un]=P_());var L_=Tn(e=>{Nn.hooks.callHook("devtoolsStateUpdated",{state:e})});Tn((e,t)=>{Nn.hooks.callHook("devtoolsConnectedUpdated",{state:e,oldState:t})});var Jo=new Proxy(oe.__VUE_DEVTOOLS_KIT_APP_RECORDS__,{get(e,t,n){return t==="value"?oe.__VUE_DEVTOOLS_KIT_APP_RECORDS__:oe.__VUE_DEVTOOLS_KIT_APP_RECORDS__[t]}}),st=new Proxy(oe.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__,{get(e,t,n){return t==="value"?oe.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__:t==="id"?oe.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__:oe.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__[t]}});function iu(){L_({...oe[un],appRecords:Jo.value,activeAppRecordId:st.id,tabs:oe.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__,commands:oe.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__})}function V_(e){oe.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__=e,iu()}function R_(e){oe.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__=e,iu()}var Ke=new Proxy(oe[un],{get(e,t){return t==="appRecords"?Jo:t==="activeAppRecordId"?st.id:t==="tabs"?oe.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__:t==="commands"?oe.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__:oe[un][t]},deleteProperty(e,t){return delete e[t],!0},set(e,t,n){return{...oe[un]},e[t]=n,oe[un][t]=n,!0}});function B_(e={}){var t,n,o;const{file:r,host:l,baseUrl:i=window.location.origin,line:s=0,column:u=0}=e;if(r){if(l==="chrome-extension"){const f=r.replace(/\\/g,"\\\\"),c=(n=(t=window.VUE_DEVTOOLS_CONFIG)==null?void 0:t.openInEditorHost)!=null?n:"/";fetch(`${c}__open-in-editor?file=${encodeURI(r)}`).then(m=>{if(!m.ok){const g=`Opening component ${f} failed`;console.log(`%c${g}`,"color:red")}})}else if(Ke.vitePluginDetected){const f=(o=oe.__VUE_DEVTOOLS_OPEN_IN_EDITOR_BASE_URL__)!=null?o:i;oe.__VUE_INSPECTOR__.openInEditor(f,r,s,u)}}}M(),M(),M(),M(),M();var su,uu;(uu=(su=oe).__VUE_DEVTOOLS_KIT_PLUGIN_BUFFER__)!=null||(su.__VUE_DEVTOOLS_KIT_PLUGIN_BUFFER__=[]);var Ia=new Proxy(oe.__VUE_DEVTOOLS_KIT_PLUGIN_BUFFER__,{get(e,t,n){return Reflect.get(e,t,n)}});function Aa(e){const t={};return Object.keys(e).forEach(n=>{t[n]=e[n].defaultValue}),t}function Pa(e){return`__VUE_DEVTOOLS_NEXT_PLUGIN_SETTINGS__${e}__`}function M_(e){var t,n,o;const r=(n=(t=Ia.find(l=>{var i;return l[0].id===e&&!!((i=l[0])!=null&&i.settings)}))==null?void 0:t[0])!=null?n:null;return(o=r==null?void 0:r.settings)!=null?o:null}function cu(e,t){var n,o,r;const l=Pa(e);if(l){const i=localStorage.getItem(l);if(i)return JSON.parse(i)}if(e){const i=(o=(n=Ia.find(s=>s[0].id===e))==null?void 0:n[0])!=null?o:null;return Aa((r=i==null?void 0:i.settings)!=null?r:{})}return Aa(t)}function F_(e,t){const n=Pa(e);localStorage.getItem(n)||localStorage.setItem(n,JSON.stringify(Aa(t)))}function q_(e,t,n){const o=Pa(e),r=localStorage.getItem(o),l=JSON.parse(r||"{}"),i={...l,[t]:n};localStorage.setItem(o,JSON.stringify(i)),Nn.hooks.callHookWith(s=>{s.forEach(u=>u({pluginId:e,key:t,oldValue:l[t],newValue:n,settings:i}))},"setPluginSettings")}M(),M(),M(),M(),M(),M(),M(),M(),M(),M(),M();var du,fu,pt=(fu=(du=oe).__VUE_DEVTOOLS_HOOK)!=null?fu:du.__VUE_DEVTOOLS_HOOK=xs(),$_={vueAppInit(e){pt.hook("app:init",e)},vueAppUnmount(e){pt.hook("app:unmount",e)},vueAppConnected(e){pt.hook("app:connected",e)},componentAdded(e){return pt.hook("component:added",e)},componentEmit(e){return pt.hook("component:emit",e)},componentUpdated(e){return pt.hook("component:updated",e)},componentRemoved(e){return pt.hook("component:removed",e)},setupDevtoolsPlugin(e){pt.hook("devtools-plugin:setup",e)},perfStart(e){return pt.hook("perf:start",e)},perfEnd(e){return pt.hook("perf:end",e)}},mu={on:$_,setupDevToolsPlugin(e,t){return pt.callHook("devtools-plugin:setup",e,t)}},U_=class{constructor({plugin:e,ctx:t}){this.hooks=t.hooks,this.plugin=e}get on(){return{visitComponentTree:e=>{this.hooks.hook("visitComponentTree",e)},inspectComponent:e=>{this.hooks.hook("inspectComponent",e)},editComponentState:e=>{this.hooks.hook("editComponentState",e)},getInspectorTree:e=>{this.hooks.hook("getInspectorTree",e)},getInspectorState:e=>{this.hooks.hook("getInspectorState",e)},editInspectorState:e=>{this.hooks.hook("editInspectorState",e)},inspectTimelineEvent:e=>{this.hooks.hook("inspectTimelineEvent",e)},timelineCleared:e=>{this.hooks.hook("timelineCleared",e)},setPluginSettings:e=>{this.hooks.hook("setPluginSettings",e)}}}notifyComponentUpdate(e){var t;if(Ke.highPerfModeEnabled)return;const n=Ys().find(o=>o.packageName===this.plugin.descriptor.packageName);if(n!=null&&n.id){if(e){const o=[e.appContext.app,e.uid,(t=e.parent)==null?void 0:t.uid,e];pt.callHook("component:updated",...o)}else pt.callHook("component:updated");this.hooks.callHook("sendInspectorState",{inspectorId:n.id,plugin:this.plugin})}}addInspector(e){this.hooks.callHook("addInspector",{inspector:e,plugin:this.plugin}),this.plugin.descriptor.settings&&F_(e.id,this.plugin.descriptor.settings)}sendInspectorTree(e){Ke.highPerfModeEnabled||this.hooks.callHook("sendInspectorTree",{inspectorId:e,plugin:this.plugin})}sendInspectorState(e){Ke.highPerfModeEnabled||this.hooks.callHook("sendInspectorState",{inspectorId:e,plugin:this.plugin})}selectInspectorNode(e,t){this.hooks.callHook("customInspectorSelectNode",{inspectorId:e,nodeId:t,plugin:this.plugin})}visitComponentTree(e){return this.hooks.callHook("visitComponentTree",e)}now(){return Ke.highPerfModeEnabled?0:Date.now()}addTimelineLayer(e){this.hooks.callHook("timelineLayerAdded",{options:e,plugin:this.plugin})}addTimelineEvent(e){Ke.highPerfModeEnabled||this.hooks.callHook("timelineEventAdded",{options:e,plugin:this.plugin})}getSettings(e){return cu(e??this.plugin.descriptor.id,this.plugin.descriptor.settings)}getComponentInstances(e){return this.hooks.callHook("getComponentInstances",{app:e})}getComponentBounds(e){return this.hooks.callHook("getComponentBounds",{instance:e})}getComponentName(e){return this.hooks.callHook("getComponentName",{instance:e})}highlightElement(e){const t=e.__VUE_DEVTOOLS_NEXT_UID__;return this.hooks.callHook("componentHighlight",{uid:t})}unhighlightElement(){return this.hooks.callHook("componentUnhighlight")}},H_=U_;M(),M(),M(),M();var z_="__vue_devtool_undefined__",j_="__vue_devtool_infinity__",W_="__vue_devtool_negative_infinity__",K_="__vue_devtool_nan__";M(),M();var Y_={[z_]:"undefined",[K_]:"NaN",[j_]:"Infinity",[W_]:"-Infinity"};Object.entries(Y_).reduce((e,[t,n])=>(e[n]=t,e),{}),M(),M(),M(),M(),M();var hu,gu;(gu=(hu=oe).__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__)!=null||(hu.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__=new Set);function pu(e,t){return mu.setupDevToolsPlugin(e,t)}function G_(e,t){const[n,o]=e;if(n.app!==t)return;const r=new H_({plugin:{setupFn:o,descriptor:n},ctx:Nn});n.packageName==="vuex"&&r.on.editInspectorState(l=>{r.sendInspectorState(l.inspectorId)}),o(r)}function _u(e,t){oe.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__.has(e)||Ke.highPerfModeEnabled&&!(t!=null&&t.inspectingComponent)||(oe.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__.add(e),Ia.forEach(n=>{G_(n,e)}))}M(),M();var lo="__VUE_DEVTOOLS_ROUTER__",xn="__VUE_DEVTOOLS_ROUTER_INFO__",bu,yu;(yu=(bu=oe)[xn])!=null||(bu[xn]={currentRoute:null,routes:[]});var vu,Eu;(Eu=(vu=oe)[lo])!=null||(vu[lo]={}),new Proxy(oe[xn],{get(e,t){return oe[xn][t]}}),new Proxy(oe[lo],{get(e,t){if(t==="value")return oe[lo]}});function Q_(e){const t=new Map;return((e==null?void 0:e.getRoutes())||[]).filter(n=>!t.has(n.path)&&t.set(n.path,1))}function La(e){return e.map(t=>{let{path:n,name:o,children:r,meta:l}=t;return r!=null&&r.length&&(r=La(r)),{path:n,name:o,children:r,meta:l}})}function X_(e){if(e){const{fullPath:t,hash:n,href:o,path:r,name:l,matched:i,params:s,query:u}=e;return{fullPath:t,hash:n,href:o,path:r,name:l,params:s,query:u,matched:La(i)}}return e}function Z_(e,t){function n(){var o;const r=(o=e.app)==null?void 0:o.config.globalProperties.$router,l=X_(r==null?void 0:r.currentRoute.value),i=La(Q_(r)),s=console.warn;console.warn=()=>{},oe[xn]={currentRoute:l?Ts(l):{},routes:Ts(i)},oe[lo]=r,console.warn=s}n(),mu.on.componentUpdated(Tn(()=>{var o;((o=t.value)==null?void 0:o.app)===e.app&&(n(),!Ke.highPerfModeEnabled&&Nn.hooks.callHook("routerInfoUpdated",{state:oe[xn]}))},200))}function J_(e){return{async getInspectorTree(t){const n={...t,app:st.value.app,rootNodes:[]};return await new Promise(o=>{e.callHookWith(async r=>{await Promise.all(r.map(l=>l(n))),o()},"getInspectorTree")}),n.rootNodes},async getInspectorState(t){const n={...t,app:st.value.app,state:null},o={currentTab:`custom-inspector:${t.inspectorId}`};return await new Promise(r=>{e.callHookWith(async l=>{await Promise.all(l.map(i=>i(n,o))),r()},"getInspectorState")}),n.state},editInspectorState(t){const n=new k_,o={...t,app:st.value.app,set:(r,l=t.path,i=t.state.value,s)=>{n.set(r,l,i,s||n.createDefaultSetCallback(t.state))}};e.callHookWith(r=>{r.forEach(l=>l(o))},"editInspectorState")},sendInspectorState(t){const n=Zo(t);e.callHook("sendInspectorState",{inspectorId:t,plugin:{descriptor:n.descriptor,setupFn:()=>({})}})},inspectComponentInspector(){return y_()},cancelInspectComponentInspector(){return b_()},getComponentRenderCode(t){const n=Ca(st.value,t);if(n)return(n==null?void 0:n.type)instanceof Function?n.type.toString():n.render.toString()},scrollToComponent(t){return v_({id:t})},openInEditor:B_,getVueInspector:S_,toggleApp(t,n){const o=Jo.value.find(r=>r.id===t);o&&(R_(t),V_(o),Z_(o,st),Ks(),_u(o.app,n))},inspectDOM(t){const n=Ca(st.value,t);if(n){const[o]=Sa(n);o&&(oe.__VUE_DEVTOOLS_INSPECT_DOM_TARGET__=o)}},updatePluginSettings(t,n,o){q_(t,n,o)},getPluginSettings(t){return{options:M_(t),values:cu(t)}}}}M();var Cu,Su;(Su=(Cu=oe).__VUE_DEVTOOLS_ENV__)!=null||(Cu.__VUE_DEVTOOLS_ENV__={vitePluginDetected:!1});var wu=A_(),ku,Tu;(Tu=(ku=oe).__VUE_DEVTOOLS_KIT_CONTEXT__)!=null||(ku.__VUE_DEVTOOLS_KIT_CONTEXT__={hooks:wu,get state(){return{...Ke,activeAppRecordId:st.id,activeAppRecord:st.value,appRecords:Jo.value}},api:J_(wu)});var Nn=oe.__VUE_DEVTOOLS_KIT_CONTEXT__;M(),e_(n_());var Ou,xu;(xu=(Ou=oe).__VUE_DEVTOOLS_NEXT_APP_RECORD_INFO__)!=null||(Ou.__VUE_DEVTOOLS_NEXT_APP_RECORD_INFO__={id:0,appIds:new Set}),M();function eb(e){Ke.highPerfModeEnabled=e??!Ke.highPerfModeEnabled,!e&&st.value&&_u(st.value.app)}M(),M(),M();function tb(e){Ke.devtoolsClientDetected={...Ke.devtoolsClientDetected,...e};const t=Object.values(Ke.devtoolsClientDetected).some(Boolean);eb(!t)}var Nu,Du;(Du=(Nu=oe).__VUE_DEVTOOLS_UPDATE_CLIENT_DETECTED__)!=null||(Nu.__VUE_DEVTOOLS_UPDATE_CLIENT_DETECTED__=tb),M(),M(),M(),M(),M(),M(),M();var nb=class{constructor(){this.keyToValue=new Map,this.valueToKey=new Map}set(e,t){this.keyToValue.set(e,t),this.valueToKey.set(t,e)}getByKey(e){return this.keyToValue.get(e)}getByValue(e){return this.valueToKey.get(e)}clear(){this.keyToValue.clear(),this.valueToKey.clear()}},Iu=class{constructor(e){this.generateIdentifier=e,this.kv=new nb}register(e,t){this.kv.getByValue(e)||(t||(t=this.generateIdentifier(e)),this.kv.set(t,e))}clear(){this.kv.clear()}getIdentifier(e){return this.kv.getByValue(e)}getValue(e){return this.kv.getByKey(e)}},ob=class extends Iu{constructor(){super(e=>e.name),this.classToAllowedProps=new Map}register(e,t){typeof t=="object"?(t.allowProps&&this.classToAllowedProps.set(e,t.allowProps),super.register(e,t.identifier)):super.register(e,t)}getAllowedProps(e){return this.classToAllowedProps.get(e)}};M(),M();function rb(e){if("values"in Object)return Object.values(e);const t=[];for(const n in e)e.hasOwnProperty(n)&&t.push(e[n]);return t}function ab(e,t){const n=rb(e);if("find"in n)return n.find(t);const o=n;for(let r=0;r<o.length;r++){const l=o[r];if(t(l))return l}}function Dn(e,t){Object.entries(e).forEach(([n,o])=>t(o,n))}function er(e,t){return e.indexOf(t)!==-1}function Au(e,t){for(let n=0;n<e.length;n++){const o=e[n];if(t(o))return o}}var lb=class{constructor(){this.transfomers={}}register(e){this.transfomers[e.name]=e}findApplicable(e){return ab(this.transfomers,t=>t.isApplicable(e))}findByName(e){return this.transfomers[e]}};M(),M();var ib=e=>Object.prototype.toString.call(e).slice(8,-1),Pu=e=>typeof e>"u",sb=e=>e===null,io=e=>typeof e!="object"||e===null||e===Object.prototype?!1:Object.getPrototypeOf(e)===null?!0:Object.getPrototypeOf(e)===Object.prototype,Va=e=>io(e)&&Object.keys(e).length===0,Kt=e=>Array.isArray(e),ub=e=>typeof e=="string",cb=e=>typeof e=="number"&&!isNaN(e),db=e=>typeof e=="boolean",fb=e=>e instanceof RegExp,so=e=>e instanceof Map,uo=e=>e instanceof Set,Lu=e=>ib(e)==="Symbol",mb=e=>e instanceof Date&&!isNaN(e.valueOf()),hb=e=>e instanceof Error,Vu=e=>typeof e=="number"&&isNaN(e),gb=e=>db(e)||sb(e)||Pu(e)||cb(e)||ub(e)||Lu(e),pb=e=>typeof e=="bigint",_b=e=>e===1/0||e===-1/0,bb=e=>ArrayBuffer.isView(e)&&!(e instanceof DataView),yb=e=>e instanceof URL;M();var Ru=e=>e.replace(/\./g,"\\."),Ra=e=>e.map(String).map(Ru).join("."),co=e=>{const t=[];let n="";for(let r=0;r<e.length;r++){let l=e.charAt(r);if(l==="\\"&&e.charAt(r+1)==="."){n+=".",r++;continue}if(l==="."){t.push(n),n="";continue}n+=l}const o=n;return t.push(o),t};M();function Lt(e,t,n,o){return{isApplicable:e,annotation:t,transform:n,untransform:o}}var Bu=[Lt(Pu,"undefined",()=>null,()=>{}),Lt(pb,"bigint",e=>e.toString(),e=>typeof BigInt<"u"?BigInt(e):(console.error("Please add a BigInt polyfill."),e)),Lt(mb,"Date",e=>e.toISOString(),e=>new Date(e)),Lt(hb,"Error",(e,t)=>{const n={name:e.name,message:e.message};return t.allowedErrorProps.forEach(o=>{n[o]=e[o]}),n},(e,t)=>{const n=new Error(e.message);return n.name=e.name,n.stack=e.stack,t.allowedErrorProps.forEach(o=>{n[o]=e[o]}),n}),Lt(fb,"regexp",e=>""+e,e=>{const t=e.slice(1,e.lastIndexOf("/")),n=e.slice(e.lastIndexOf("/")+1);return new RegExp(t,n)}),Lt(uo,"set",e=>[...e.values()],e=>new Set(e)),Lt(so,"map",e=>[...e.entries()],e=>new Map(e)),Lt(e=>Vu(e)||_b(e),"number",e=>Vu(e)?"NaN":e>0?"Infinity":"-Infinity",Number),Lt(e=>e===0&&1/e===-1/0,"number",()=>"-0",Number),Lt(yb,"URL",e=>e.toString(),e=>new URL(e))];function tr(e,t,n,o){return{isApplicable:e,annotation:t,transform:n,untransform:o}}var Mu=tr((e,t)=>Lu(e)?!!t.symbolRegistry.getIdentifier(e):!1,(e,t)=>["symbol",t.symbolRegistry.getIdentifier(e)],e=>e.description,(e,t,n)=>{const o=n.symbolRegistry.getValue(t[1]);if(!o)throw new Error("Trying to deserialize unknown symbol");return o}),vb=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array,Uint8ClampedArray].reduce((e,t)=>(e[t.name]=t,e),{}),Fu=tr(bb,e=>["typed-array",e.constructor.name],e=>[...e],(e,t)=>{const n=vb[t[1]];if(!n)throw new Error("Trying to deserialize unknown typed array");return new n(e)});function qu(e,t){return e!=null&&e.constructor?!!t.classRegistry.getIdentifier(e.constructor):!1}var $u=tr(qu,(e,t)=>["class",t.classRegistry.getIdentifier(e.constructor)],(e,t)=>{const n=t.classRegistry.getAllowedProps(e.constructor);if(!n)return{...e};const o={};return n.forEach(r=>{o[r]=e[r]}),o},(e,t,n)=>{const o=n.classRegistry.getValue(t[1]);if(!o)throw new Error(`Trying to deserialize unknown class '${t[1]}' - check https://github.com/blitz-js/superjson/issues/116#issuecomment-773996564`);return Object.assign(Object.create(o.prototype),e)}),Uu=tr((e,t)=>!!t.customTransformerRegistry.findApplicable(e),(e,t)=>["custom",t.customTransformerRegistry.findApplicable(e).name],(e,t)=>t.customTransformerRegistry.findApplicable(e).serialize(e),(e,t,n)=>{const o=n.customTransformerRegistry.findByName(t[1]);if(!o)throw new Error("Trying to deserialize unknown custom value");return o.deserialize(e)}),Eb=[$u,Mu,Uu,Fu],Hu=(e,t)=>{const n=Au(Eb,r=>r.isApplicable(e,t));if(n)return{value:n.transform(e,t),type:n.annotation(e,t)};const o=Au(Bu,r=>r.isApplicable(e,t));if(o)return{value:o.transform(e,t),type:o.annotation}},zu={};Bu.forEach(e=>{zu[e.annotation]=e});var Cb=(e,t,n)=>{if(Kt(t))switch(t[0]){case"symbol":return Mu.untransform(e,t,n);case"class":return $u.untransform(e,t,n);case"custom":return Uu.untransform(e,t,n);case"typed-array":return Fu.untransform(e,t,n);default:throw new Error("Unknown transformation: "+t)}else{const o=zu[t];if(!o)throw new Error("Unknown transformation: "+t);return o.untransform(e,n)}};M();var In=(e,t)=>{if(t>e.size)throw new Error("index out of bounds");const n=e.keys();for(;t>0;)n.next(),t--;return n.next().value};function ju(e){if(er(e,"__proto__"))throw new Error("__proto__ is not allowed as a property");if(er(e,"prototype"))throw new Error("prototype is not allowed as a property");if(er(e,"constructor"))throw new Error("constructor is not allowed as a property")}var Sb=(e,t)=>{ju(t);for(let n=0;n<t.length;n++){const o=t[n];if(uo(e))e=In(e,+o);else if(so(e)){const r=+o,l=+t[++n]==0?"key":"value",i=In(e,r);switch(l){case"key":e=i;break;case"value":e=e.get(i);break}}else e=e[o]}return e},Ba=(e,t,n)=>{if(ju(t),t.length===0)return n(e);let o=e;for(let l=0;l<t.length-1;l++){const i=t[l];if(Kt(o)){const s=+i;o=o[s]}else if(io(o))o=o[i];else if(uo(o)){const s=+i;o=In(o,s)}else if(so(o)){if(l===t.length-2)break;const u=+i,f=+t[++l]==0?"key":"value",c=In(o,u);switch(f){case"key":o=c;break;case"value":o=o.get(c);break}}}const r=t[t.length-1];if(Kt(o)?o[+r]=n(o[+r]):io(o)&&(o[r]=n(o[r])),uo(o)){const l=In(o,+r),i=n(l);l!==i&&(o.delete(l),o.add(i))}if(so(o)){const l=+t[t.length-2],i=In(o,l);switch(+r==0?"key":"value"){case"key":{const u=n(i);o.set(u,o.get(i)),u!==i&&o.delete(i);break}case"value":{o.set(i,n(o.get(i)));break}}}return e};function Ma(e,t,n=[]){if(!e)return;if(!Kt(e)){Dn(e,(l,i)=>Ma(l,t,[...n,...co(i)]));return}const[o,r]=e;r&&Dn(r,(l,i)=>{Ma(l,t,[...n,...co(i)])}),t(o,n)}function wb(e,t,n){return Ma(t,(o,r)=>{e=Ba(e,r,l=>Cb(l,o,n))}),e}function kb(e,t){function n(o,r){const l=Sb(e,co(r));o.map(co).forEach(i=>{e=Ba(e,i,()=>l)})}if(Kt(t)){const[o,r]=t;o.forEach(l=>{e=Ba(e,co(l),()=>e)}),r&&Dn(r,n)}else Dn(t,n);return e}var Tb=(e,t)=>io(e)||Kt(e)||so(e)||uo(e)||qu(e,t);function Ob(e,t,n){const o=n.get(e);o?o.push(t):n.set(e,[t])}function xb(e,t){const n={};let o;return e.forEach(r=>{if(r.length<=1)return;t||(r=r.map(s=>s.map(String)).sort((s,u)=>s.length-u.length));const[l,...i]=r;l.length===0?o=i.map(Ra):n[Ra(l)]=i.map(Ra)}),o?Va(n)?[o]:[o,n]:Va(n)?void 0:n}var Wu=(e,t,n,o,r=[],l=[],i=new Map)=>{var s;const u=gb(e);if(!u){Ob(e,r,t);const d=i.get(e);if(d)return o?{transformedValue:null}:d}if(!Tb(e,n)){const d=Hu(e,n),b=d?{transformedValue:d.value,annotations:[d.type]}:{transformedValue:e};return u||i.set(e,b),b}if(er(l,e))return{transformedValue:null};const f=Hu(e,n),c=(s=f==null?void 0:f.value)!=null?s:e,m=Kt(c)?[]:{},g={};Dn(c,(d,b)=>{if(b==="__proto__"||b==="constructor"||b==="prototype")throw new Error(`Detected property ${b}. This is a prototype pollution risk, please remove it from your object.`);const _=Wu(d,t,n,o,[...r,b],[...l,e],i);m[b]=_.transformedValue,Kt(_.annotations)?g[b]=_.annotations:io(_.annotations)&&Dn(_.annotations,(p,y)=>{g[Ru(b)+"."+y]=p})});const h=Va(g)?{transformedValue:m,annotations:f?[f.type]:void 0}:{transformedValue:m,annotations:f?[f.type,g]:g};return u||i.set(e,h),h};M(),M();function Ku(e){return Object.prototype.toString.call(e).slice(8,-1)}function Yu(e){return Ku(e)==="Array"}function Nb(e){if(Ku(e)!=="Object")return!1;const t=Object.getPrototypeOf(e);return!!t&&t.constructor===Object&&t===Object.prototype}function Db(e,t,n,o,r){const l={}.propertyIsEnumerable.call(o,t)?"enumerable":"nonenumerable";l==="enumerable"&&(e[t]=n),r&&l==="nonenumerable"&&Object.defineProperty(e,t,{value:n,enumerable:!1,writable:!0,configurable:!0})}function Fa(e,t={}){if(Yu(e))return e.map(r=>Fa(r,t));if(!Nb(e))return e;const n=Object.getOwnPropertyNames(e),o=Object.getOwnPropertySymbols(e);return[...n,...o].reduce((r,l)=>{if(Yu(t.props)&&!t.props.includes(l))return r;const i=e[l],s=Fa(i,t);return Db(r,l,s,e,t.nonenumerable),r},{})}var Te=class{constructor({dedupe:e=!1}={}){this.classRegistry=new ob,this.symbolRegistry=new Iu(t=>{var n;return(n=t.description)!=null?n:""}),this.customTransformerRegistry=new lb,this.allowedErrorProps=[],this.dedupe=e}serialize(e){const t=new Map,n=Wu(e,t,this,this.dedupe),o={json:n.transformedValue};n.annotations&&(o.meta={...o.meta,values:n.annotations});const r=xb(t,this.dedupe);return r&&(o.meta={...o.meta,referentialEqualities:r}),o}deserialize(e){const{json:t,meta:n}=e;let o=Fa(t);return n!=null&&n.values&&(o=wb(o,n.values,this)),n!=null&&n.referentialEqualities&&(o=kb(o,n.referentialEqualities)),o}stringify(e){return JSON.stringify(this.serialize(e))}parse(e){return this.deserialize(JSON.parse(e))}registerClass(e,t){this.classRegistry.register(e,t)}registerSymbol(e,t){this.symbolRegistry.register(e,t)}registerCustom(e,t){this.customTransformerRegistry.register({name:t,...e})}allowErrorProps(...e){this.allowedErrorProps.push(...e)}};Te.defaultInstance=new Te,Te.serialize=Te.defaultInstance.serialize.bind(Te.defaultInstance),Te.deserialize=Te.defaultInstance.deserialize.bind(Te.defaultInstance),Te.stringify=Te.defaultInstance.stringify.bind(Te.defaultInstance),Te.parse=Te.defaultInstance.parse.bind(Te.defaultInstance),Te.registerClass=Te.defaultInstance.registerClass.bind(Te.defaultInstance),Te.registerSymbol=Te.defaultInstance.registerSymbol.bind(Te.defaultInstance),Te.registerCustom=Te.defaultInstance.registerCustom.bind(Te.defaultInstance),Te.allowErrorProps=Te.defaultInstance.allowErrorProps.bind(Te.defaultInstance),M(),M(),M(),M(),M(),M(),M(),M(),M(),M(),M(),M(),M(),M(),M(),M(),M(),M(),M(),M(),M(),M(),M();var Gu,Qu;(Qu=(Gu=oe).__VUE_DEVTOOLS_KIT_MESSAGE_CHANNELS__)!=null||(Gu.__VUE_DEVTOOLS_KIT_MESSAGE_CHANNELS__=[]);var Xu,Zu;(Zu=(Xu=oe).__VUE_DEVTOOLS_KIT_RPC_CLIENT__)!=null||(Xu.__VUE_DEVTOOLS_KIT_RPC_CLIENT__=null);var Ju,ec;(ec=(Ju=oe).__VUE_DEVTOOLS_KIT_RPC_SERVER__)!=null||(Ju.__VUE_DEVTOOLS_KIT_RPC_SERVER__=null);var tc,nc;(nc=(tc=oe).__VUE_DEVTOOLS_KIT_VITE_RPC_CLIENT__)!=null||(tc.__VUE_DEVTOOLS_KIT_VITE_RPC_CLIENT__=null);var oc,rc;(rc=(oc=oe).__VUE_DEVTOOLS_KIT_VITE_RPC_SERVER__)!=null||(oc.__VUE_DEVTOOLS_KIT_VITE_RPC_SERVER__=null);var ac,lc;(lc=(ac=oe).__VUE_DEVTOOLS_KIT_BROADCAST_RPC_SERVER__)!=null||(ac.__VUE_DEVTOOLS_KIT_BROADCAST_RPC_SERVER__=null),M(),M(),M(),M(),M(),M(),M();/*!
|
|
2
2
|
* pinia v3.0.1
|
|
3
3
|
* (c) 2025 Eduardo San Martin Morote
|
|
4
4
|
* @license MIT
|