quasar 2.15.3 → 2.15.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (140) hide show
  1. package/dist/api/AppFullscreen.json +1 -1
  2. package/dist/icon-set/bootstrap-icons.umd.prod.js +1 -1
  3. package/dist/icon-set/eva-icons.umd.prod.js +1 -1
  4. package/dist/icon-set/fontawesome-v5-pro.umd.prod.js +1 -1
  5. package/dist/icon-set/fontawesome-v5.umd.prod.js +1 -1
  6. package/dist/icon-set/fontawesome-v6-pro.umd.prod.js +1 -1
  7. package/dist/icon-set/fontawesome-v6.umd.prod.js +1 -1
  8. package/dist/icon-set/ionicons-v4.umd.prod.js +1 -1
  9. package/dist/icon-set/line-awesome.umd.prod.js +1 -1
  10. package/dist/icon-set/material-icons-outlined.umd.prod.js +1 -1
  11. package/dist/icon-set/material-icons-round.umd.prod.js +1 -1
  12. package/dist/icon-set/material-icons-sharp.umd.prod.js +1 -1
  13. package/dist/icon-set/material-icons.umd.prod.js +1 -1
  14. package/dist/icon-set/material-symbols-outlined.umd.prod.js +1 -1
  15. package/dist/icon-set/material-symbols-rounded.umd.prod.js +1 -1
  16. package/dist/icon-set/material-symbols-sharp.umd.prod.js +1 -1
  17. package/dist/icon-set/mdi-v3.umd.prod.js +1 -1
  18. package/dist/icon-set/mdi-v4.umd.prod.js +1 -1
  19. package/dist/icon-set/mdi-v5.umd.prod.js +1 -1
  20. package/dist/icon-set/mdi-v6.umd.prod.js +1 -1
  21. package/dist/icon-set/mdi-v7.umd.prod.js +1 -1
  22. package/dist/icon-set/svg-bootstrap-icons.umd.prod.js +1 -1
  23. package/dist/icon-set/svg-eva-icons.umd.prod.js +1 -1
  24. package/dist/icon-set/svg-fontawesome-v5.umd.prod.js +1 -1
  25. package/dist/icon-set/svg-fontawesome-v6.umd.prod.js +1 -1
  26. package/dist/icon-set/svg-ionicons-v4.umd.prod.js +1 -1
  27. package/dist/icon-set/svg-ionicons-v5.umd.prod.js +1 -1
  28. package/dist/icon-set/svg-ionicons-v6.umd.prod.js +1 -1
  29. package/dist/icon-set/svg-line-awesome.umd.prod.js +1 -1
  30. package/dist/icon-set/svg-material-icons-outlined.umd.prod.js +1 -1
  31. package/dist/icon-set/svg-material-icons-round.umd.prod.js +1 -1
  32. package/dist/icon-set/svg-material-icons-sharp.umd.prod.js +1 -1
  33. package/dist/icon-set/svg-material-icons.umd.prod.js +1 -1
  34. package/dist/icon-set/svg-material-symbols-outlined.umd.prod.js +1 -1
  35. package/dist/icon-set/svg-material-symbols-rounded.umd.prod.js +1 -1
  36. package/dist/icon-set/svg-material-symbols-sharp.umd.prod.js +1 -1
  37. package/dist/icon-set/svg-mdi-v6.umd.prod.js +1 -1
  38. package/dist/icon-set/svg-mdi-v7.umd.prod.js +1 -1
  39. package/dist/icon-set/svg-themify.umd.prod.js +1 -1
  40. package/dist/icon-set/themify.umd.prod.js +1 -1
  41. package/dist/lang/ar-TN.umd.prod.js +1 -1
  42. package/dist/lang/ar.umd.prod.js +1 -1
  43. package/dist/lang/az-Latn.umd.prod.js +1 -1
  44. package/dist/lang/bg.umd.prod.js +1 -1
  45. package/dist/lang/bn.umd.prod.js +1 -1
  46. package/dist/lang/ca.umd.prod.js +1 -1
  47. package/dist/lang/cs.umd.prod.js +1 -1
  48. package/dist/lang/da.umd.prod.js +1 -1
  49. package/dist/lang/de-CH.umd.prod.js +1 -1
  50. package/dist/lang/de-DE.umd.prod.js +1 -1
  51. package/dist/lang/de.umd.prod.js +1 -1
  52. package/dist/lang/el.umd.prod.js +1 -1
  53. package/dist/lang/en-GB.umd.prod.js +1 -1
  54. package/dist/lang/en-US.umd.prod.js +1 -1
  55. package/dist/lang/eo.umd.prod.js +1 -1
  56. package/dist/lang/es.umd.prod.js +1 -1
  57. package/dist/lang/et.umd.prod.js +1 -1
  58. package/dist/lang/eu.umd.prod.js +1 -1
  59. package/dist/lang/fa-IR.umd.prod.js +1 -1
  60. package/dist/lang/fa.umd.prod.js +1 -1
  61. package/dist/lang/fi.umd.prod.js +1 -1
  62. package/dist/lang/fr.umd.prod.js +1 -1
  63. package/dist/lang/gn.umd.prod.js +1 -1
  64. package/dist/lang/he.umd.prod.js +1 -1
  65. package/dist/lang/hi.umd.prod.js +1 -1
  66. package/dist/lang/hr.umd.prod.js +1 -1
  67. package/dist/lang/hu.umd.prod.js +1 -1
  68. package/dist/lang/id.umd.prod.js +1 -1
  69. package/dist/lang/is.umd.prod.js +1 -1
  70. package/dist/lang/it.umd.prod.js +1 -1
  71. package/dist/lang/ja.umd.prod.js +1 -1
  72. package/dist/lang/kk.umd.prod.js +1 -1
  73. package/dist/lang/km.umd.prod.js +1 -1
  74. package/dist/lang/ko-KR.umd.prod.js +1 -1
  75. package/dist/lang/kur-CKB.umd.prod.js +1 -1
  76. package/dist/lang/lt.umd.prod.js +1 -1
  77. package/dist/lang/lu.umd.prod.js +1 -1
  78. package/dist/lang/lv.umd.prod.js +1 -1
  79. package/dist/lang/mk.umd.prod.js +1 -1
  80. package/dist/lang/ml.umd.prod.js +1 -1
  81. package/dist/lang/mm.umd.prod.js +1 -1
  82. package/dist/lang/ms-MY.umd.prod.js +1 -1
  83. package/dist/lang/ms.umd.prod.js +1 -1
  84. package/dist/lang/my.umd.prod.js +1 -1
  85. package/dist/lang/nb-NO.umd.prod.js +1 -1
  86. package/dist/lang/nl.umd.prod.js +1 -1
  87. package/dist/lang/pl.umd.prod.js +1 -1
  88. package/dist/lang/pt-BR.umd.prod.js +1 -1
  89. package/dist/lang/pt.umd.prod.js +1 -1
  90. package/dist/lang/ro.umd.prod.js +1 -1
  91. package/dist/lang/ru.umd.prod.js +1 -1
  92. package/dist/lang/sk.umd.prod.js +1 -1
  93. package/dist/lang/sl.umd.prod.js +1 -1
  94. package/dist/lang/sm.umd.prod.js +1 -1
  95. package/dist/lang/sr-CYR.umd.prod.js +1 -1
  96. package/dist/lang/sr.umd.prod.js +1 -1
  97. package/dist/lang/sv.umd.prod.js +1 -1
  98. package/dist/lang/ta.umd.prod.js +1 -1
  99. package/dist/lang/th.umd.prod.js +1 -1
  100. package/dist/lang/tl.umd.prod.js +1 -1
  101. package/dist/lang/tr.umd.prod.js +1 -1
  102. package/dist/lang/ug.umd.prod.js +1 -1
  103. package/dist/lang/uk.umd.prod.js +1 -1
  104. package/dist/lang/uz-Cyrl.umd.prod.js +1 -1
  105. package/dist/lang/uz-Latn.umd.prod.js +1 -1
  106. package/dist/lang/vi.umd.prod.js +1 -1
  107. package/dist/lang/zh-CN.umd.prod.js +1 -1
  108. package/dist/lang/zh-TW.umd.prod.js +1 -1
  109. package/dist/quasar.cjs.prod.js +3 -3
  110. package/dist/quasar.esm.js +8 -7
  111. package/dist/quasar.esm.prod.js +3 -3
  112. package/dist/quasar.sass +1 -1
  113. package/dist/quasar.umd.js +8 -7
  114. package/dist/quasar.umd.prod.js +3 -3
  115. package/dist/web-types/web-types.json +1 -1
  116. package/package.json +3 -3
  117. package/src/components/toolbar/QToolbar.test.js +45 -0
  118. package/src/components/toolbar/QToolbarTitle.test.js +45 -0
  119. package/src/composables/use-interval/use-interval.test.js +173 -0
  120. package/src/composables/use-render-cache/use-render-cache.js +2 -2
  121. package/src/composables/use-render-cache/use-render-cache.test.js +73 -0
  122. package/src/composables/use-split-attrs/use-split-attrs.test.js +55 -0
  123. package/src/composables/use-tick/use-tick.test.js +118 -0
  124. package/src/composables/use-timeout/use-timeout.test.js +169 -0
  125. package/src/plugins/addressbar/AddressbarColor.test.js +53 -0
  126. package/src/plugins/app-fullscreen/AppFullscreen.json +3 -1
  127. package/src/plugins/app-fullscreen/AppFullscreen.test.js +206 -0
  128. package/src/plugins/app-fullscreen/test/mock-fullscreen.js +43 -0
  129. package/src/plugins/app-visibility/AppVisibility.test.js +45 -0
  130. package/src/plugins/dark/Dark.test.js +158 -0
  131. package/src/plugins/platform/Platform.js +2 -1
  132. package/src/plugins/private.body/Body.test.js +28 -0
  133. package/src/plugins/private.history/History.test.js +38 -0
  134. package/src/plugins/screen/Screen.test.js +453 -0
  135. package/src/utils/css-var/get-css-var.test.js +12 -0
  136. package/src/utils/css-var/set-css-var.test.js +18 -0
  137. package/src/utils/dom/dom.test.js +222 -0
  138. package/src/utils/private.render/render.test.js +187 -0
  139. package/src/utils/private.selection/selection.test.js +40 -0
  140. package/src/utils/private.vm/vm.test.js +175 -0
@@ -1,10 +1,10 @@
1
1
  /*!
2
- * Quasar Framework v2.15.3
2
+ * Quasar Framework v2.15.4
3
3
  * (c) 2015-present Razvan Stoenescu
4
4
  * Released under the MIT License.
5
5
  */
6
6
 
7
- (()=>{var uv=Object.create;var bl=Object.defineProperty;var sv=Object.getOwnPropertyDescriptor;var cv=Object.getOwnPropertyNames;var dv=Object.getPrototypeOf,fv=Object.prototype.hasOwnProperty;var ku=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),jr=(e,t)=>{for(var o in t)bl(e,o,{get:t[o],enumerable:!0})},mv=(e,t,o,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of cv(t))!fv.call(e,n)&&n!==o&&bl(e,n,{get:()=>t[n],enumerable:!(r=sv(t,n))||r.enumerable});return e};var qu=(e,t,o)=>(o=e!=null?uv(dv(e)):{},mv(t||!e||!e.__esModule?bl(o,"default",{value:e,enumerable:!0}):o,e));var ju=ku((N0,Nu)=>{Nu.exports={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"},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,o)=>e+"-"+t+" of "+o,columns:"Columns"},editor:{url:"URL",bold:"Bold",italic:"Italic",strikethrough:"Strikethrough",underline:"Underline",unorderedList:"Unordered List",orderedList:"Ordered List",subscript:"Subscript",superscript:"Superscript",hyperlink:"Hyperlink",toggleFullscreen:"Toggle Fullscreen",quote:"Quote",left:"Left align",center:"Center align",right:"Right align",justify:"Justify align",print:"Print",outdent:"Decrease indentation",indent:"Increase indentation",removeFormat:"Remove formatting",formatting:"Formatting",fontSize:"Font Size",align:"Align",hr:"Insert Horizontal Rule",undo:"Undo",redo:"Redo",heading1:"Heading 1",heading2:"Heading 2",heading3:"Heading 3",heading4:"Heading 4",heading5:"Heading 5",heading6:"Heading 6",paragraph:"Paragraph",code:"Code",size1:"Very small",size2:"A bit small",size3:"Normal",size4:"Medium-large",size5:"Big",size6:"Very big",size7:"Maximum",defaultFont:"Default Font",viewSource:"View Source"},tree:{noNodes:"No nodes available",noResults:"No matching nodes found"}}});var Wu=ku((K0,Ku)=>{Ku.exports={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"}}});var{h:i,ref:q,computed:s,watch:W,isRef:Tu,toRaw:so,unref:Mu,reactive:Uo,shallowReactive:Ru,nextTick:$e,onActivated:Qt,onDeactivated:Pt,onBeforeMount:Hn,onMounted:Ne,onBeforeUnmount:Se,onUnmounted:Qn,onBeforeUpdate:To,onUpdated:Pu,inject:ht,provide:Nt,getCurrentInstance:U,markRaw:Ur,Transition:lt,TransitionGroup:Au,KeepAlive:xi,Teleport:$u,useSSRContext:h0,withDirectives:Et,vShow:_i,defineComponent:Eu,createApp:Bu}=window.Vue;function st(e,t,o,r){return Object.defineProperty(e,t,{get:o,set:r,enumerable:!0}),e}function Ci(e,t){for(let o in t)st(e,o,t[o]);return e}var xt=q(!1),yl;function vv(e,t){let o=/(edg|edge|edga|edgios)\/([\w.]+)/.exec(e)||/(opr)[\/]([\w.]+)/.exec(e)||/(vivaldi)[\/]([\w.]+)/.exec(e)||/(chrome|crios)[\/]([\w.]+)/.exec(e)||/(version)(applewebkit)[\/]([\w.]+).*(safari)[\/]([\w.]+)/.exec(e)||/(webkit)[\/]([\w.]+).*(version)[\/]([\w.]+).*(safari)[\/]([\w.]+)/.exec(e)||/(firefox|fxios)[\/]([\w.]+)/.exec(e)||/(webkit)[\/]([\w.]+)/.exec(e)||/(opera)(?:.*version|)[\/]([\w.]+)/.exec(e)||[];return{browser:o[5]||o[3]||o[1]||"",version:o[4]||o[2]||"0",platform:t[0]||""}}function gv(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)||[]}var Fu="ontouchstart"in window||window.navigator.maxTouchPoints>0;function hv(e){let t=e.toLowerCase(),o=gv(t),r=vv(t,o),n={};r.browser&&(n[r.browser]=!0,n.version=r.version,n.versionNumber=parseInt(r.version,10)),r.platform&&(n[r.platform]=!0);let a=n.android||n.ios||n.bb||n.blackberry||n.ipad||n.iphone||n.ipod||n.kindle||n.playbook||n.silk||n["windows phone"];if(a===!0||t.indexOf("mobile")!==-1?n.mobile=!0:n.desktop=!0,n["windows phone"]&&(n.winphone=!0,delete n["windows phone"]),n.edga||n.edgios||n.edg?(n.edge=!0,r.browser="edge"):n.crios?(n.chrome=!0,r.browser="chrome"):n.fxios?(n.firefox=!0,r.browser="firefox"):(n.ipod||n.ipad||n.iphone)&&(n.ios=!0),n.vivaldi&&(r.browser="vivaldi",n.vivaldi=!0),(n.chrome||n.opr||n.safari||n.vivaldi||n.mobile===!0&&n.ios!==!0&&a!==!0)&&(n.webkit=!0),n.opr&&(r.browser="opera",n.opera=!0),n.safari&&(n.blackberry||n.bb?(r.browser="blackberry",n.blackberry=!0):n.playbook?(r.browser="playbook",n.playbook=!0):n.android?(r.browser="android",n.android=!0):n.kindle?(r.browser="kindle",n.kindle=!0):n.silk&&(r.browser="silk",n.silk=!0)),n.name=r.browser,n.platform=r.platform,t.indexOf("electron")!==-1)n.electron=!0;else if(document.location.href.indexOf("-extension://")!==-1)n.bex=!0;else{if(window.Capacitor!==void 0?(n.capacitor=!0,n.nativeMobile=!0,n.nativeMobileWrapper="capacitor"):(window._cordovaNative!==void 0||window.cordova!==void 0)&&(n.cordova=!0,n.nativeMobile=!0,n.nativeMobileWrapper="cordova"),xt.value===!0&&(yl={is:{...n}}),Fu===!0&&n.mac===!0&&(n.desktop===!0&&n.safari===!0||n.nativeMobile===!0&&n.android!==!0&&n.ios!==!0&&n.ipad!==!0)){delete n.mac,delete n.desktop;let l=Math.min(window.innerHeight,window.innerWidth)>414?"ipad":"iphone";Object.assign(n,{mobile:!0,ios:!0,platform:l,[l]:!0})}n.mobile!==!0&&window.navigator.userAgentData&&window.navigator.userAgentData.mobile&&(delete n.desktop,n.mobile=!0)}return n}var Lu=navigator.userAgent||navigator.vendor||window.opera,pv={has:{touch:!1,webStorage:!1},within:{iframe:!1}},Re={userAgent:Lu,is:hv(Lu),has:{touch:Fu},within:{iframe:window.self!==window.top}},Sl={install(e){let{$q:t}=e;xt.value===!0?(e.onSSRHydrated.push(()=>{Object.assign(t.platform,Re),xt.value=!1}),t.platform=Uo(this)):t.platform=this}};{let e;st(Re.has,"webStorage",()=>{if(e!==void 0)return e;try{if(window.localStorage)return e=!0,!0}catch{}return e=!1,!1}),Object.assign(Sl,Re),xt.value===!0&&(Object.assign(Sl,yl,pv),yl=null)}var Mo=Sl;function $(e){return Ur(Eu(e))}function At(e){return Ur(e)}var jt=(e,t)=>{let o=Uo(e);for(let r in e)st(t,r,()=>o[r],n=>{o[r]=n});return t};var et={hasPassive:!1,passiveCapture:!0,notPassiveCapture:!0};try{let e=Object.defineProperty({},"passive",{get(){Object.assign(et,{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 We(){}function Ko(e){return e.button===0}function bv(e){return e.button===1}function yv(e){return e.button===2}function _t(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 xl(e){if(e.path)return e.path;if(e.composedPath)return e.composedPath();let t=[],o=e.target;for(;o;){if(t.push(o),o.tagName==="HTML")return t.push(document),t.push(window),t;o=o.parentElement}}var Sv=40,xv=800;function _v(e){let t=e.deltaX,o=e.deltaY;if((t||o)&&e.deltaMode){let r=e.deltaMode===1?Sv:xv;t*=r,o*=r}return e.shiftKey&&!t&&([o,t]=[t,o]),{x:t,y:o}}function it(e){e.stopPropagation()}function ft(e){e.cancelable!==!1&&e.preventDefault()}function qe(e){e.cancelable!==!1&&e.preventDefault(),e.stopPropagation()}function Wo(e,t){if(e===void 0||t===!0&&e.__dragPrevented===!0)return;let o=t===!0?r=>{r.__dragPrevented=!0,r.addEventListener("dragstart",ft,et.notPassiveCapture)}:r=>{delete r.__dragPrevented,r.removeEventListener("dragstart",ft,et.notPassiveCapture)};e.querySelectorAll("a, img").forEach(o)}function dt(e,t,o){let r=`__q_${t}_evt`;e[r]=e[r]!==void 0?e[r].concat(o):o,o.forEach(n=>{n[0].addEventListener(n[1],e[n[2]],et[n[3]])})}function qt(e,t){let o=`__q_${t}_evt`;e[o]!==void 0&&(e[o].forEach(r=>{r[0].removeEventListener(r[1],e[r[2]],et[r[3]])}),e[o]=void 0)}var Du={listenOpts:et,leftClick:Ko,middleClick:bv,rightClick:yv,position:_t,getEventPath:xl,getMouseWheelDistance:_v,stop:it,prevent:ft,stopAndPrevent:qe,preventDraggable:Wo};function Zt(e,t=250,o){let r=null;function n(){let a=arguments,l=()=>{r=null,o!==!0&&e.apply(this,a)};r!==null?clearTimeout(r):o===!0&&e.apply(this,a),r=setTimeout(l,t)}return n.cancel=()=>{r!==null&&clearTimeout(r)},n}var _l=["sm","md","lg","xl"],{passive:Vu}=et,wi=jt({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:We,setDebounce:We,install({$q:e,onSSRHydrated:t}){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}let{visualViewport:o}=window,r=o||window,n=document.scrollingElement||document.documentElement,a=o===void 0||Re.is.mobile===!0?()=>[Math.max(window.innerWidth,n.clientWidth),Math.max(window.innerHeight,n.clientHeight)]:()=>[o.width*o.scale+window.innerWidth-n.clientWidth,o.height*o.scale+window.innerHeight-n.clientHeight],l=e.config.screen!==void 0&&e.config.screen.bodyClasses===!0;this.__update=h=>{let[v,m]=a();if(m!==this.height&&(this.height=m),v!==this.width)this.width=v;else if(h!==!0)return;let g=this.sizes;this.gt.xs=v>=g.sm,this.gt.sm=v>=g.md,this.gt.md=v>=g.lg,this.gt.lg=v>=g.xl,this.lt.sm=v<g.sm,this.lt.md=v<g.md,this.lt.lg=v<g.lg,this.lt.xl=v<g.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,g=this.xs===!0&&"xs"||this.sm===!0&&"sm"||this.md===!0&&"md"||this.lg===!0&&"lg"||"xl",g!==this.name&&(l===!0&&(document.body.classList.remove(`screen--${this.name}`),document.body.classList.add(`screen--${g}`)),this.name=g)};let u,d={},f=16;this.setSizes=h=>{_l.forEach(v=>{h[v]!==void 0&&(d[v]=h[v])})},this.setDebounce=h=>{f=h};let c=()=>{let h=getComputedStyle(document.body);h.getPropertyValue("--q-size-sm")&&_l.forEach(v=>{this.sizes[v]=parseInt(h.getPropertyValue(`--q-size-${v}`),10)}),this.setSizes=v=>{_l.forEach(m=>{v[m]&&(this.sizes[m]=v[m])}),this.__update(!0)},this.setDebounce=v=>{u!==void 0&&r.removeEventListener("resize",u,Vu),u=v>0?Zt(this.__update,v):this.__update,r.addEventListener("resize",u,Vu)},this.setDebounce(f),Object.keys(d).length!==0?(this.setSizes(d),d=void 0):this.__update(),l===!0&&this.name==="xs"&&document.body.classList.add("screen--xs")};xt.value===!0?t.push(c):c()}});var Ut=jt({isActive:!1,mode:!1},{__media:void 0,set(e){Ut.mode=e,e==="auto"?(Ut.__media===void 0&&(Ut.__media=window.matchMedia("(prefers-color-scheme: dark)"),Ut.__updateMedia=()=>{Ut.set("auto")},Ut.__media.addListener(Ut.__updateMedia)),e=Ut.__media.matches):Ut.__media!==void 0&&(Ut.__media.removeListener(Ut.__updateMedia),Ut.__media=void 0),Ut.isActive=e===!0,document.body.classList.remove(`body--${e===!0?"light":"dark"}`),document.body.classList.add(`body--${e===!0?"dark":"light"}`)},toggle(){Ut.set(Ut.isActive===!1)},install({$q:e,ssrContext:t}){let{dark:o}=e.config;e.dark=this,this.__installed!==!0&&this.set(o!==void 0?o:!1)}}),ki=Ut;function Kr(e,t,o=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(!(o instanceof Element))throw new TypeError("Expected a DOM element");o.style.setProperty(`--q-${e}`,t)}var zu=!1;function Ou(e){zu=e.isComposing===!0}function no(e){return zu===!0||e!==Object(e)||e.isComposing===!0||e.qKeyEvent===!0}function Tt(e,t){return no(e)===!0?!1:[].concat(t).includes(e.keyCode)}function Iu(e){if(e.ios===!0)return"ios";if(e.android===!0)return"android"}function Cv({is:e,has:t,within:o},r){let n=[e.desktop===!0?"desktop":"mobile",`${t.touch===!1?"no-":""}touch`];if(e.mobile===!0){let a=Iu(e);a!==void 0&&n.push("platform-"+a)}if(e.nativeMobile===!0){let a=e.nativeMobileWrapper;n.push(a),n.push("native-mobile"),e.ios===!0&&(r[a]===void 0||r[a].iosStatusBarPadding!==!1)&&n.push("q-ios-padding")}else e.electron===!0?n.push("electron"):e.bex===!0&&n.push("bex");return o.iframe===!0&&n.push("within-iframe"),n}function wv(){let{is:e}=Re,t=document.body.className,o=new Set(t.replace(/ {2}/g," ").split(" "));if(e.nativeMobile!==!0&&e.electron!==!0&&e.bex!==!0){if(e.desktop===!0)o.delete("mobile"),o.delete("platform-ios"),o.delete("platform-android"),o.add("desktop");else if(e.mobile===!0){o.delete("desktop"),o.add("mobile"),o.delete("platform-ios"),o.delete("platform-android");let n=Iu(e);n!==void 0&&o.add(`platform-${n}`)}}Re.has.touch===!0&&(o.delete("no-touch"),o.add("touch")),Re.within.iframe===!0&&o.add("within-iframe");let r=Array.from(o).join(" ");t!==r&&(document.body.className=r)}function kv(e){for(let t in e)Kr(t,e[t])}var Hu={install(e){if(this.__installed!==!0){if(xt.value===!0)wv();else{let{$q:t}=e;t.config.brand!==void 0&&kv(t.config.brand);let o=Cv(Re,t.config);document.body.classList.add.apply(document.body.classList,o)}Re.is.ios===!0&&document.body.addEventListener("touchstart",We),window.addEventListener("keydown",Ou,!0)}}};var Qu=()=>!0;function qv(e){return typeof e=="string"&&e!==""&&e!=="/"&&e!=="#/"}function Tv(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 Mv(e){if(e.backButtonExit===!1)return()=>!1;if(e.backButtonExit==="*")return Qu;let t=["#/"];return Array.isArray(e.backButtonExit)===!0&&t.push(...e.backButtonExit.filter(qv).map(Tv)),()=>t.includes(window.location.hash)}var on={__history:[],add:We,remove:We,install({$q:e}){if(this.__installed===!0)return;let{cordova:t,capacitor:o}=Re.is;if(t!==!0&&o!==!0)return;let r=e.config[t===!0?"cordova":"capacitor"];if(r!==void 0&&r.backButton===!1||o===!0&&(window.Capacitor===void 0||window.Capacitor.Plugins.App===void 0))return;this.add=l=>{l.condition===void 0&&(l.condition=Qu),this.__history.push(l)},this.remove=l=>{let u=this.__history.indexOf(l);u>=0&&this.__history.splice(u,1)};let n=Mv(Object.assign({backButtonExit:!0},r)),a=()=>{if(this.__history.length){let l=this.__history[this.__history.length-1];l.condition()===!0&&(this.__history.pop(),l.handler())}else n()===!0?navigator.app.exitApp():window.history.back()};t===!0?document.addEventListener("deviceready",()=>{document.addEventListener("backbutton",a,!1)}):window.Capacitor.Plugins.App.addListener("backButton",a)}};var Wr=qu(ju());function Uu(){let e=Array.isArray(navigator.languages)===!0&&navigator.languages.length!==0?navigator.languages[0]:navigator.language;if(typeof e=="string")return e.split(/[-_]/).map((t,o)=>o===0?t.toLowerCase():o>1||t.length<4?t.toUpperCase():t[0].toUpperCase()+t.slice(1).toLowerCase()).join("-")}var xn=jt({__qLang:{}},{getLocale:Uu,set(e=Wr.default,t){let o={...e,rtl:e.rtl===!0,getLocale:Uu};if(o.set=xn.set,xn.__langConfig===void 0||xn.__langConfig.noHtmlAttrs!==!0){let r=document.documentElement;r.setAttribute("dir",o.rtl===!0?"rtl":"ltr"),r.setAttribute("lang",o.isoName)}Object.assign(xn.__qLang,o)},install({$q:e,lang:t,ssrContext:o}){e.lang=xn.__qLang,xn.__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(r){return Reflect.ownKeys(r).filter(n=>n!=="set"&&n!=="getLocale")}}),this.set(t||Wr.default))}}),Yo=xn;var Yu=qu(Wu()),Cl=jt({iconMapFn:null,__qIconSet:{}},{set(e,t){let o={...e};o.set=Cl.set,Object.assign(Cl.__qIconSet,o)},install({$q:e,iconSet:t,ssrContext:o}){e.config.iconMapFn!==void 0&&(this.iconMapFn=e.config.iconMapFn),e.iconSet=this.__qIconSet,st(e,"iconMapFn",()=>this.iconMapFn,r=>{this.iconMapFn=r}),this.__installed===!0?t!==void 0&&this.set(t):(this.props=new Proxy(this.__qIconSet,{get(){return Reflect.get(...arguments)},ownKeys(r){return Reflect.ownKeys(r).filter(n=>n!=="set")}}),this.set(t||Yu.default))}}),Nn=Cl;var qi="_q_",Ti="_q_t_",Mi="_q_s_",Jt="_q_l_",Ri="_q_pc_",Pi="_q_f_",Xo="_q_fo_",Ai="_q_tabs_",$i="_q_u_";function Je(){}var jn={},wl=!1;function Xu(){wl=!0}function Kt(e,t){if(e===t)return!0;if(e!==null&&t!==null&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;let o,r;if(e.constructor===Array){if(o=e.length,o!==t.length)return!1;for(r=o;r--!==0;)if(Kt(e[r],t[r])!==!0)return!1;return!0}if(e.constructor===Map){if(e.size!==t.size)return!1;let a=e.entries();for(r=a.next();r.done!==!0;){if(t.has(r.value[0])!==!0)return!1;r=a.next()}for(a=e.entries(),r=a.next();r.done!==!0;){if(Kt(r.value[1],t.get(r.value[0]))!==!0)return!1;r=a.next()}return!0}if(e.constructor===Set){if(e.size!==t.size)return!1;let a=e.entries();for(r=a.next();r.done!==!0;){if(t.has(r.value[0])!==!0)return!1;r=a.next()}return!0}if(e.buffer!=null&&e.buffer.constructor===ArrayBuffer){if(o=e.length,o!==t.length)return!1;for(r=o;r--!==0;)if(e[r]!==t[r])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===t.toString();let n=Object.keys(e).filter(a=>e[a]!==void 0);if(o=n.length,o!==Object.keys(t).filter(a=>t[a]!==void 0).length)return!1;for(r=o;r--!==0;){let a=n[r];if(Kt(e[a],t[a])!==!0)return!1}return!0}return e!==e&&t!==t}function ct(e){return e!==null&&typeof e=="object"&&Array.isArray(e)!==!0}function Go(e){return Object.prototype.toString.call(e)==="[object Date]"}function kl(e){return Object.prototype.toString.call(e)==="[object RegExp]"}function co(e){return typeof e=="number"&&isFinite(e)}var Gu={deepEqual:Kt,object:ct,date:Go,regexp:kl,number:co};var Zu=[Mo,Hu,ki,wi,on,Yo,Nn];function nn(e,t){let o=Bu(e);o.config.globalProperties=t.config.globalProperties;let{reload:r,...n}=t._context;return Object.assign(o._context,n),o}function Ju(e,t){t.forEach(o=>{o.install(e),o.__installed=!0})}function Rv(e,t,o){e.config.globalProperties.$q=o.$q,e.provide(qi,o.$q),Ju(o,Zu),t.components!==void 0&&Object.values(t.components).forEach(r=>{ct(r)===!0&&r.name!==void 0&&e.component(r.name,r)}),t.directives!==void 0&&Object.values(t.directives).forEach(r=>{ct(r)===!0&&r.name!==void 0&&e.directive(r.name,r)}),t.plugins!==void 0&&Ju(o,Object.values(t.plugins).filter(r=>typeof r.install=="function"&&Zu.includes(r)===!1)),xt.value===!0&&(o.$q.onSSRHydrated=()=>{o.onSSRHydrated.forEach(r=>{r()}),o.$q.onSSRHydrated=()=>{}})}var es=function(e,t={}){let o={version:"2.15.3"};wl===!1?(t.config!==void 0&&Object.assign(jn,t.config),o.config={...jn},Xu()):o.config=t.config||{},Rv(e,t,{parentApp:e,$q:o,lang:t.lang,iconSet:t.iconSet,onSSRHydrated:[]})};var tl={};jr(tl,{QAjaxBar:()=>Bi,QAvatar:()=>Fi,QBadge:()=>cs,QBanner:()=>ds,QBar:()=>fs,QBreadcrumbs:()=>gs,QBreadcrumbsEl:()=>ys,QBtn:()=>Ie,QBtnDropdown:()=>Wi,QBtnGroup:()=>or,QBtnToggle:()=>zs,QCard:()=>pr,QCardActions:()=>Yi,QCardSection:()=>So,QCarousel:()=>Is,QCarouselControl:()=>Qs,QCarouselSlide:()=>Hs,QChatMessage:()=>Ns,QCheckbox:()=>zo,QChip:()=>Tr,QCircularProgress:()=>Mr,QColor:()=>oc,QDate:()=>hc,QDialog:()=>Ho,QDrawer:()=>wc,QEditor:()=>Bc,QExpansionItem:()=>Lc,QFab:()=>Fc,QFabAction:()=>Vc,QField:()=>qa,QFile:()=>Ic,QFooter:()=>Hc,QForm:()=>Qc,QFormChildMixin:()=>Nc,QHeader:()=>jc,QIcon:()=>Pe,QImg:()=>Uc,QInfiniteScroll:()=>Kc,QInnerLoading:()=>Wc,QInput:()=>Dr,QIntersection:()=>nd,QItem:()=>Qo,QItemLabel:()=>Fn,QItemSection:()=>oo,QKnob:()=>id,QLayout:()=>ld,QLinearProgress:()=>Na,QList:()=>La,QMarkupTable:()=>Fa,QMenu:()=>Lo,QNoSsr:()=>ud,QOptionGroup:()=>za,QPage:()=>cd,QPageContainer:()=>dd,QPageScroller:()=>fd,QPageSticky:()=>md,QPagination:()=>vd,QParallax:()=>gd,QPopupEdit:()=>hd,QPopupProxy:()=>pd,QPullToRefresh:()=>yd,QRadio:()=>Da,QRange:()=>Sd,QRating:()=>xd,QResizeObserver:()=>to,QResponsive:()=>_d,QRouteTab:()=>$f,QScrollArea:()=>qd,QScrollObserver:()=>Vr,QSelect:()=>Ka,QSeparator:()=>io,QSkeleton:()=>Ad,QSlideItem:()=>Ed,QSlideTransition:()=>gn,QSlider:()=>Zo,QSpace:()=>Bd,QSpinner:()=>wt,QSpinnerAudio:()=>Ld,QSpinnerBall:()=>Fd,QSpinnerBars:()=>Dd,QSpinnerBox:()=>Vd,QSpinnerClock:()=>zd,QSpinnerComment:()=>Od,QSpinnerCube:()=>Id,QSpinnerDots:()=>Hd,QSpinnerFacebook:()=>Qd,QSpinnerGears:()=>Nd,QSpinnerGrid:()=>jd,QSpinnerHearts:()=>Ud,QSpinnerHourglass:()=>Kd,QSpinnerInfinity:()=>Wd,QSpinnerIos:()=>Yd,QSpinnerOrbit:()=>Xd,QSpinnerOval:()=>Gd,QSpinnerPie:()=>Zd,QSpinnerPuff:()=>Jd,QSpinnerRadio:()=>ef,QSpinnerRings:()=>tf,QSpinnerTail:()=>of,QSplitter:()=>nf,QStep:()=>lf,QStepper:()=>uf,QStepperNavigation:()=>sf,QTab:()=>cn,QTabPanel:()=>Pr,QTabPanels:()=>ua,QTable:()=>Rf,QTabs:()=>ai,QTd:()=>Af,QTh:()=>Ya,QTime:()=>Ef,QTimeline:()=>Bf,QTimelineEntry:()=>Lf,QToggle:()=>Va,QToolbar:()=>Ff,QToolbarTitle:()=>Df,QTooltip:()=>_a,QTr:()=>Pf,QTree:()=>Vf,QUploader:()=>Qf,QUploaderAddTrigger:()=>Nf,QVideo:()=>jf,QVirtualScroll:()=>Ga});var ts=["B","KB","MB","GB","TB","PB"];function Un(e,t=1){let o=0;for(;parseInt(e,10)>=1024&&o<ts.length-1;)e/=1024,++o;return`${e.toFixed(t)}${ts[o]}`}function ql(e){return e.charAt(0).toUpperCase()+e.slice(1)}function ot(e,t,o){return o<=t?t:Math.min(o,Math.max(t,e))}function _n(e,t,o){if(o<=t)return t;let r=o-t+1,n=t+(e-t)%r;return n<t&&(n=r+n),n===0?0:n}function nt(e,t=2,o="0"){if(e==null)return e;let r=""+e;return r.length>=t?r:new Array(t-r.length+1).join(o)+r}var os={humanStorageSize:Un,capitalize:ql,between:ot,normalizeToInterval:_n,pad:nt};var Tl=XMLHttpRequest,ns=Tl.prototype.open,Pv=["top","right","bottom","left"],Ei=[],Yr=0;function Av({p:e,pos:t,active:o,horiz:r,reverse:n,dir:a}){let l=1,u=1;return r===!0?(n===!0&&(l=-1),t==="bottom"&&(u=-1),{transform:`translate3d(${l*(e-100)}%,${o?0:u*-200}%,0)`}):(n===!0&&(u=-1),t==="right"&&(l=-1),{transform:`translate3d(${o?0:a*l*-200}%,${u*(e-100)}%,0)`})}function $v(e,t){return typeof t!="number"&&(e<25?t=Math.random()*3+3:e<65?t=Math.random()*3:e<85?t=Math.random()*2:e<99?t=.6:t=0),ot(e+t,0,100)}function Ev(e){Yr++,Ei.push(e),!(Yr>1)&&(Tl.prototype.open=function(t,o){let r=[],n=()=>{Ei.forEach(l=>{(l.hijackFilter.value===null||l.hijackFilter.value(o)===!0)&&(l.start(),r.push(l.stop))})},a=()=>{r.forEach(l=>{l()})};this.addEventListener("loadstart",n,{once:!0}),this.addEventListener("loadend",a,{once:!0}),ns.apply(this,arguments)})}function Bv(e){Ei=Ei.filter(t=>t.start!==e),Yr=Math.max(0,Yr-1),Yr===0&&(Tl.prototype.open=ns)}var Bi=$({name:"QAjaxBar",props:{position:{type:String,default:"top",validator:e=>Pv.includes(e)},size:{type:String,default:"2px"},color:String,skipHijack:Boolean,reverse:Boolean,hijackFilter:Function},emits:["start","stop"],setup(e,{emit:t}){let{proxy:o}=U(),r=q(0),n=q(!1),a=q(!0),l=0,u=null,d,f=s(()=>`q-loading-bar q-loading-bar--${e.position}`+(e.color!==void 0?` bg-${e.color}`:"")+(a.value===!0?"":" no-transition")),c=s(()=>e.position==="top"||e.position==="bottom"),h=s(()=>c.value===!0?"height":"width"),v=s(()=>{let b=n.value,p=Av({p:r.value,pos:e.position,active:b,horiz:c.value,reverse:o.$q.lang.rtl===!0&&["top","bottom"].includes(e.position)?e.reverse===!1:e.reverse,dir:o.$q.lang.rtl===!0?-1:1});return p[h.value]=e.size,p.opacity=b?1:0,p}),m=s(()=>n.value===!0?{role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":r.value}:{"aria-hidden":"true"});function g(b=300){let p=d;return d=Math.max(0,b)||0,l++,l>1?(p===0&&b>0?k():u!==null&&p>0&&b<=0&&(clearTimeout(u),u=null),l):(u!==null&&clearTimeout(u),t("start"),r.value=0,u=setTimeout(()=>{u=null,a.value=!0,b>0&&k()},n._value===!0?500:1),n._value!==!0&&(n.value=!0,a.value=!1),l)}function x(b){return l>0&&(r.value=$v(r.value,b)),l}function y(){if(l=Math.max(0,l-1),l>0)return l;u!==null&&(clearTimeout(u),u=null),t("stop");let b=()=>{a.value=!0,r.value=100,u=setTimeout(()=>{u=null,n.value=!1},1e3)};return r.value===0?u=setTimeout(b,1):b(),l}function k(){r.value<100&&(u=setTimeout(()=>{u=null,x(),k()},d))}let S;return Ne(()=>{e.skipHijack!==!0&&(S=!0,Ev({start:g,stop:y,hijackFilter:s(()=>e.hijackFilter||null)}))}),Se(()=>{u!==null&&clearTimeout(u),S===!0&&Bv(g)}),Object.assign(o,{start:g,stop:y,increment:x}),()=>i("div",{class:f.value,style:v.value,...m.value})}});var Li={xs:18,sm:24,md:32,lg:38,xl:46},Ft={size:String};function Dt(e,t=Li){return s(()=>e.size!==void 0?{fontSize:e.size in t?`${t[e.size]}px`:e.size}:null)}function re(e,t){return e!==void 0&&e()||t}function Ro(e,t){if(e!==void 0){let o=e();if(o!=null)return o.slice()}return t}function Ge(e,t){return e!==void 0?t.concat(e()):t}function Kn(e,t){return e===void 0?t:t!==void 0?t.concat(e()):e()}function Mt(e,t,o,r,n,a){t.key=r+n;let l=i(e,t,o);return n===!0?Et(l,a()):l}var rs="0 0 24 24",is=e=>e,Ml=e=>`ionicons ${e}`,ls={"mdi-":e=>`mdi ${e}`,"icon-":is,"bt-":e=>`bt ${e}`,"eva-":e=>`eva ${e}`,"ion-md":Ml,"ion-ios":Ml,"ion-logo":Ml,"iconfont ":is,"ti-":e=>`themify-icon ${e}`,"bi-":e=>`bootstrap-icons ${e}`},us={o_:"-outlined",r_:"-round",s_:"-sharp"},ss={sym_o_:"-outlined",sym_r_:"-rounded",sym_s_:"-sharp"},Lv=new RegExp("^("+Object.keys(ls).join("|")+")"),Fv=new RegExp("^("+Object.keys(us).join("|")+")"),as=new RegExp("^("+Object.keys(ss).join("|")+")"),Dv=/^[Mm]\s?[-+]?\.?\d/,Vv=/^img:/,zv=/^svguse:/,Ov=/^ion-/,Iv=/^(fa-(sharp|solid|regular|light|brands|duotone|thin)|[lf]a[srlbdk]?) /,Pe=$({name:"QIcon",props:{...Ft,tag:{type:String,default:"i"},name:String,color:String,left:Boolean,right:Boolean},setup(e,{slots:t}){let{proxy:{$q:o}}=U(),r=Dt(e),n=s(()=>"q-icon"+(e.left===!0?" on-left":"")+(e.right===!0?" on-right":"")+(e.color!==void 0?` text-${e.color}`:"")),a=s(()=>{let l,u=e.name;if(u==="none"||!u)return{none:!0};if(o.iconMapFn!==null){let c=o.iconMapFn(u);if(c!==void 0)if(c.icon!==void 0){if(u=c.icon,u==="none"||!u)return{none:!0}}else return{cls:c.cls,content:c.content!==void 0?c.content:" "}}if(Dv.test(u)===!0){let[c,h=rs]=u.split("|");return{svg:!0,viewBox:h,nodes:c.split("&&").map(v=>{let[m,g,x]=v.split("@@");return i("path",{style:g,d:m,transform:x})})}}if(Vv.test(u)===!0)return{img:!0,src:u.substring(4)};if(zv.test(u)===!0){let[c,h=rs]=u.split("|");return{svguse:!0,src:c.substring(7),viewBox:h}}let d=" ",f=u.match(Lv);if(f!==null)l=ls[f[1]](u);else if(Iv.test(u)===!0)l=u;else if(Ov.test(u)===!0)l=`ionicons ion-${o.platform.is.ios===!0?"ios":"md"}${u.substring(3)}`;else if(as.test(u)===!0){l="notranslate material-symbols";let c=u.match(as);c!==null&&(u=u.substring(6),l+=ss[c[1]]),d=u}else{l="notranslate material-icons";let c=u.match(Fv);c!==null&&(u=u.substring(2),l+=us[c[1]]),d=u}return{cls:l,content:d}});return()=>{let l={class:n.value,style:r.value,"aria-hidden":"true",role:"presentation"};return a.value.none===!0?i(e.tag,l,re(t.default)):a.value.img===!0?i(e.tag,l,Ge(t.default,[i("img",{src:a.value.src})])):a.value.svg===!0?i(e.tag,l,Ge(t.default,[i("svg",{viewBox:a.value.viewBox||"0 0 24 24"},a.value.nodes)])):a.value.svguse===!0?i(e.tag,l,Ge(t.default,[i("svg",{viewBox:a.value.viewBox},[i("use",{"xlink:href":a.value.src})])])):(a.value.cls!==void 0&&(l.class+=" "+a.value.cls),i(e.tag,l,Ge(t.default,[a.value.content])))}}});var Fi=$({name:"QAvatar",props:{...Ft,fontSize:String,color:String,textColor:String,icon:String,square:Boolean,rounded:Boolean},setup(e,{slots:t}){let o=Dt(e),r=s(()=>"q-avatar"+(e.color?` bg-${e.color}`:"")+(e.textColor?` text-${e.textColor} q-chip--colored`:"")+(e.square===!0?" q-avatar--square":e.rounded===!0?" rounded-borders":"")),n=s(()=>e.fontSize?{fontSize:e.fontSize}:null);return()=>{let a=e.icon!==void 0?[i(Pe,{name:e.icon})]:void 0;return i("div",{class:r.value,style:o.value},[i("div",{class:"q-avatar__content row flex-center overflow-hidden",style:n.value},Kn(t.default,a))])}}});var Hv=["top","middle","bottom"],cs=$({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=>Hv.includes(e)}},setup(e,{slots:t}){let o=s(()=>e.align!==void 0?{verticalAlign:e.align}:null),r=s(()=>{let n=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}`:"")+(n!==void 0?` text-${n}`:"")+(e.floating===!0?" q-badge--floating":"")+(e.rounded===!0?" q-badge--rounded":"")+(e.transparent===!0?" q-badge--transparent":"")});return()=>i("div",{class:r.value,style:o.value,role:"status","aria-label":e.label},Ge(t.default,e.label!==void 0?[e.label]:[]))}});var _e={dark:{type:Boolean,default:null}};function Ce(e,t){return s(()=>e.dark===null?t.dark.isActive:e.dark)}var ds=$({name:"QBanner",props:{..._e,inlineActions:Boolean,dense:Boolean,rounded:Boolean},setup(e,{slots:t}){let{proxy:{$q:o}}=U(),r=Ce(e,o),n=s(()=>"q-banner row items-center"+(e.dense===!0?" q-banner--dense":"")+(r.value===!0?" q-banner--dark q-dark":"")+(e.rounded===!0?" rounded-borders":"")),a=s(()=>`q-banner__actions row items-center justify-end col-${e.inlineActions===!0?"auto":"all"}`);return()=>{let l=[i("div",{class:"q-banner__avatar col-auto row items-center self-start"},re(t.avatar)),i("div",{class:"q-banner__content col text-body2"},re(t.default))],u=re(t.action);return u!==void 0&&l.push(i("div",{class:a.value},u)),i("div",{class:n.value+(e.inlineActions===!1&&u!==void 0?" q-banner--top-padding":""),role:"alert"},l)}}});var fs=$({name:"QBar",props:{..._e,dense:Boolean},setup(e,{slots:t}){let{proxy:{$q:o}}=U(),r=Ce(e,o),n=s(()=>`q-bar row no-wrap items-center q-bar--${e.dense===!0?"dense":"standard"} q-bar--${r.value===!0?"dark":"light"}`);return()=>i("div",{class:n.value,role:"toolbar"},re(t.default))}});var ms={left:"start",center:"center",right:"end",between:"between",around:"around",evenly:"evenly",stretch:"stretch"},Qv=Object.keys(ms),Wn={align:{type:String,validator:e=>Qv.includes(e)}};function Yn(e){return s(()=>{let t=e.align===void 0?e.vertical===!0?"stretch":"left":e.align;return`${e.vertical===!0?"items":"justify"}-${ms[t]}`})}function Xr(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 vs(e,t){typeof t.type=="symbol"?Array.isArray(t.children)===!0&&t.children.forEach(o=>{vs(e,o)}):e.add(t)}function Xn(e){let t=new Set;return e.forEach(o=>{vs(t,o)}),Array.from(t)}function Gn(e){return e.appContext.config.globalProperties.$router!==void 0}function Wt(e){return e.isUnmounted===!0||e.isDeactivated===!0}var Nv=["",!0],gs=$({name:"QBreadcrumbs",props:{...Wn,separator:{type:String,default:"/"},separatorColor:String,activeColor:{type:String,default:"primary"},gutter:{type:String,validator:e=>["none","xs","sm","md","lg","xl"].includes(e),default:"sm"}},setup(e,{slots:t}){let o=Yn(e),r=s(()=>`flex items-center ${o.value}${e.gutter==="none"?"":` q-gutter-${e.gutter}`}`),n=s(()=>e.separatorColor?` text-${e.separatorColor}`:""),a=s(()=>` text-${e.activeColor}`);return()=>{if(t.default===void 0)return;let l=Xn(re(t.default));if(l.length===0)return;let u=1,d=[],f=l.filter(h=>h.type!==void 0&&h.type.name==="QBreadcrumbsEl").length,c=t.separator!==void 0?t.separator:()=>e.separator;return l.forEach(h=>{if(h.type!==void 0&&h.type.name==="QBreadcrumbsEl"){let v=u<f,m=h.props!==null&&Nv.includes(h.props.disable),g=(v===!0?"":" q-breadcrumbs--last")+(m!==!0&&v===!0?a.value:"");u++,d.push(i("div",{class:`flex items-center${g}`},[h])),v===!0&&d.push(i("div",{class:"q-breadcrumbs__separator"+n.value},c()))}else d.push(h)}),i("div",{class:"q-breadcrumbs"},[i("div",{class:r.value},d)])}}});function hs(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}function ps(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function jv(e,t){for(let o in t){let r=t[o],n=e[o];if(typeof r=="string"){if(r!==n)return!1}else if(Array.isArray(n)===!1||n.length!==r.length||r.some((a,l)=>a!==n[l]))return!1}return!0}function bs(e,t){return Array.isArray(t)===!0?e.length===t.length&&e.every((o,r)=>o===t[r]):e.length===1&&e[0]===t}function Uv(e,t){return Array.isArray(e)===!0?bs(e,t):Array.isArray(t)===!0?bs(t,e):e===t}function Kv(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(let o in e)if(Uv(e[o],t[o])===!1)return!1;return!0}var yo={to:[String,Object],replace:Boolean,exact:Boolean,activeClass:{type:String,default:"q-router-link--active"},exactActiveClass:{type:String,default:"q-router-link--exact-active"},href:String,target:String,disable:Boolean};function rn({fallbackTag:e,useDisableForRouterLinkProps:t=!0}={}){let o=U(),{props:r,proxy:n,emit:a}=o,l=Gn(o),u=s(()=>r.disable!==!0&&r.href!==void 0),d=t===!0?s(()=>l===!0&&r.disable!==!0&&u.value!==!0&&r.to!==void 0&&r.to!==null&&r.to!==""):s(()=>l===!0&&u.value!==!0&&r.to!==void 0&&r.to!==null&&r.to!==""),f=s(()=>d.value===!0?S(r.to):null),c=s(()=>f.value!==null),h=s(()=>u.value===!0||c.value===!0),v=s(()=>r.type==="a"||h.value===!0?"a":r.tag||e||"div"),m=s(()=>u.value===!0?{href:r.href,target:r.target}:c.value===!0?{href:f.value.href,target:r.target}:{}),g=s(()=>{if(c.value===!1)return-1;let{matched:_}=f.value,{length:E}=_,L=_[E-1];if(L===void 0)return-1;let V=n.$route.matched;if(V.length===0)return-1;let F=V.findIndex(ps.bind(null,L));if(F!==-1)return F;let B=hs(_[E-2]);return E>1&&hs(L)===B&&V[V.length-1].path!==B?V.findIndex(ps.bind(null,_[E-2])):F}),x=s(()=>c.value===!0&&g.value!==-1&&jv(n.$route.params,f.value.params)),y=s(()=>x.value===!0&&g.value===n.$route.matched.length-1&&Kv(n.$route.params,f.value.params)),k=s(()=>c.value===!0?y.value===!0?` ${r.exactActiveClass} ${r.activeClass}`:r.exact===!0?"":x.value===!0?` ${r.activeClass}`:"":"");function S(_){try{return n.$router.resolve(_)}catch{}return null}function b(_,{returnRouterError:E,to:L=r.to,replace:V=r.replace}={}){if(r.disable===!0)return _.preventDefault(),Promise.resolve(!1);if(_.metaKey||_.altKey||_.ctrlKey||_.shiftKey||_.button!==void 0&&_.button!==0||r.target==="_blank")return Promise.resolve(!1);_.preventDefault();let F=n.$router[V===!0?"replace":"push"](L);return E===!0?F:F.then(()=>{}).catch(()=>{})}function p(_){if(c.value===!0){let E=L=>b(_,L);a("click",_,E),_.defaultPrevented!==!0&&E()}else a("click",_)}return{hasRouterLink:c,hasHrefLink:u,hasLink:h,linkTag:v,resolvedLink:f,linkIsActive:x,linkIsExactActive:y,linkClass:k,linkAttrs:m,getLink:S,navigateToRouterLink:b,navigateOnClick:p}}var ys=$({name:"QBreadcrumbsEl",props:{...yo,label:String,icon:String,tag:{type:String,default:"span"}},emits:["click"],setup(e,{slots:t}){let{linkTag:o,linkAttrs:r,linkClass:n,navigateOnClick:a}=rn(),l=s(()=>({class:"q-breadcrumbs__el q-link flex inline items-center relative-position "+(e.disable!==!0?"q-link--focusable"+n.value:"q-breadcrumbs__el--disable"),...r.value,onClick:a})),u=s(()=>"q-breadcrumbs__el-icon"+(e.label!==void 0?" q-breadcrumbs__el-icon--with-label":""));return()=>{let d=[];return e.icon!==void 0&&d.push(i(Pe,{class:u.value,name:e.icon})),e.label!==void 0&&d.push(e.label),i(o.value,{...l.value},Ge(t.default,d))}}});var Ke={size:{type:[Number,String],default:"1em"},color:String};function je(e){return{cSize:s(()=>e.size in Li?`${Li[e.size]}px`:e.size),classes:s(()=>"q-spinner"+(e.color?` text-${e.color}`:""))}}var wt=$({name:"QSpinner",props:{...Ke,thickness:{type:Number,default:5}},setup(e){let{cSize:t,classes:o}=je(e);return()=>i("svg",{class:o.value+" q-spinner-mat",width:t.value,height:t.value,viewBox:"25 25 50 50"},[i("circle",{class:"path",cx:"50",cy:"50",r:"20",fill:"none",stroke:"currentColor","stroke-width":e.thickness,"stroke-miterlimit":"10"})])}});function Cn(e){if(e===window)return{top:0,left:0};let{top:t,left:o}=e.getBoundingClientRect();return{top:t,left:o}}function Wv(e,t){return window.getComputedStyle(e).getPropertyValue(t)}function Po(e){return e===window?window.innerHeight:e.getBoundingClientRect().height}function Yv(e){return e===window?window.innerWidth:e.getBoundingClientRect().width}function wn(e,t){let o=e.style;for(let r in t)o[r]=t[r]}function Xv(e,t){e.forEach(o=>wn(o,t))}function Gv(e){if(typeof e=="function"){if(document.readyState!=="loading")return e();document.addEventListener("DOMContentLoaded",e,!1)}}function Ss(e){if(e==null)return;if(typeof e=="string")try{return document.querySelector(e)||void 0}catch{return}let t=Mu(e);if(t)return t.$el||t}function Di(e,t){if(e==null||e.contains(t)===!0)return!0;for(let o=e.nextElementSibling;o!==null;o=o.nextElementSibling)if(o.contains(t))return!0;return!1}var xs={offset:Cn,style:Wv,height:Po,width:Yv,css:wn,cssBatch:Xv,ready:Gv};function Zn(e,t=250){let o=!1,r;return function(){return o===!1&&(o=!0,setTimeout(()=>{o=!1},t),r=e.apply(this,arguments)),r}}function _s(e,t,o,r){o.modifiers.stop===!0&&it(e);let n=o.modifiers.color,a=o.modifiers.center;a=a===!0||r===!0;let l=document.createElement("span"),u=document.createElement("span"),d=_t(e),{left:f,top:c,width:h,height:v}=t.getBoundingClientRect(),m=Math.sqrt(h*h+v*v),g=m/2,x=`${(h-m)/2}px`,y=a?x:`${d.left-f-g}px`,k=`${(v-m)/2}px`,S=a?k:`${d.top-c-g}px`;u.className="q-ripple__inner",wn(u,{height:`${m}px`,width:`${m}px`,transform:`translate3d(${y},${S},0) scale3d(.2,.2,1)`,opacity:0}),l.className=`q-ripple${n?" text-"+n:""}`,l.setAttribute("dir","ltr"),l.appendChild(u),t.appendChild(l);let b=()=>{l.remove(),clearTimeout(p)};o.abort.push(b);let p=setTimeout(()=>{u.classList.add("q-ripple__inner--enter"),u.style.transform=`translate3d(${x},${k},0) scale3d(1,1,1)`,u.style.opacity=.2,p=setTimeout(()=>{u.classList.remove("q-ripple__inner--enter"),u.classList.add("q-ripple__inner--leave"),u.style.opacity=0,p=setTimeout(()=>{l.remove(),o.abort.splice(o.abort.indexOf(b),1)},275)},250)},50)}function Cs(e,{modifiers:t,value:o,arg:r}){let n=Object.assign({},e.cfg.ripple,t,o);e.modifiers={early:n.early===!0,stop:n.stop===!0,center:n.center===!0,color:n.color||r,keyCodes:[].concat(n.keyCodes||13)}}var Ao=At({name:"ripple",beforeMount(e,t){let o=t.instance.$.appContext.config.globalProperties.$q.config||{};if(o.ripple===!1)return;let r={cfg:o,enabled:t.value!==!1,modifiers:{},abort:[],start(n){r.enabled===!0&&n.qSkipRipple!==!0&&n.type===(r.modifiers.early===!0?"pointerdown":"click")&&_s(n,e,r,n.qKeyEvent===!0)},keystart:Zn(n=>{r.enabled===!0&&n.qSkipRipple!==!0&&Tt(n,r.modifiers.keyCodes)===!0&&n.type===`key${r.modifiers.early===!0?"down":"up"}`&&_s(n,e,r,!0)},300)};Cs(r,t),e.__qripple=r,dt(r,"main",[[e,"pointerdown","start","passive"],[e,"click","start","passive"],[e,"keydown","keystart","passive"],[e,"keyup","keystart","passive"]])},updated(e,t){if(t.oldValue!==t.value){let o=e.__qripple;o!==void 0&&(o.enabled=t.value!==!1,o.enabled===!0&&Object(t.value)===t.value&&Cs(o,t))}},beforeUnmount(e){let t=e.__qripple;t!==void 0&&(t.abort.forEach(o=>{o()}),qt(t,"main"),delete e._qripple)}});var Gr={none:0,xs:4,sm:8,md:16,lg:24,xl:32},Zv={xs:8,sm:10,md:14,lg:20,xl:24},Jv=["button","submit","reset"],eg=/[^\s]\/[^\s]/,Rl=["flat","outline","push","unelevated"];function Vi(e,t){return e.flat===!0?"flat":e.outline===!0?"outline":e.push===!0?"push":e.unelevated===!0?"unelevated":t}function zi(e){let t=Vi(e);return t!==void 0?{[t]:!0}:{}}var Zr={...Ft,...yo,type:{type:String,default:"button"},label:[Number,String],icon:String,iconRight:String,...Rl.reduce((e,t)=>(e[t]=Boolean)&&e,{}),square:Boolean,round: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:{...Wn.align,default:"center"},stack:Boolean,stretch:Boolean,loading:{type:Boolean,default:null},disable:Boolean};function ws(e){let t=Dt(e,Zv),o=Yn(e),{hasRouterLink:r,hasLink:n,linkTag:a,linkAttrs:l,navigateOnClick:u}=rn({fallbackTag:"button"}),d=s(()=>{let y=e.fab===!1&&e.fabMini===!1?t.value:{};return e.padding!==void 0?Object.assign({},y,{padding:e.padding.split(/\s+/).map(k=>k in Gr?Gr[k]+"px":k).join(" "),minWidth:"0",minHeight:"0"}):y}),f=s(()=>e.rounded===!0||e.fab===!0||e.fabMini===!0),c=s(()=>e.disable!==!0&&e.loading!==!0),h=s(()=>c.value===!0?e.tabindex||0:-1),v=s(()=>Vi(e,"standard")),m=s(()=>{let y={tabindex:h.value};return n.value===!0?Object.assign(y,l.value):Jv.includes(e.type)===!0&&(y.type=e.type),a.value==="a"?(e.disable===!0?y["aria-disabled"]="true":y.href===void 0&&(y.role="button"),r.value!==!0&&eg.test(e.type)===!0&&(y.type=e.type)):e.disable===!0&&(y.disabled="",y["aria-disabled"]="true"),e.loading===!0&&e.percentage!==void 0&&Object.assign(y,{role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":e.percentage}),y}),g=s(()=>{let y;e.color!==void 0?e.flat===!0||e.outline===!0?y=`text-${e.textColor||e.color}`:y=`bg-${e.color} text-${e.textColor||"white"}`:e.textColor&&(y=`text-${e.textColor}`);let k=e.round===!0?"round":`rectangle${f.value===!0?" q-btn--rounded":e.square===!0?" q-btn--square":""}`;return`q-btn--${v.value} q-btn--${k}`+(y!==void 0?" "+y:"")+(c.value===!0?" q-btn--actionable q-focusable q-hoverable":e.disable===!0?" disabled":"")+(e.fab===!0?" q-btn--fab":e.fabMini===!0?" q-btn--fab-mini":"")+(e.noCaps===!0?" q-btn--no-uppercase":"")+(e.dense===!0?" q-btn--dense":"")+(e.stretch===!0?" no-border-radius self-stretch":"")+(e.glossy===!0?" glossy":"")+(e.square?" q-btn--square":"")}),x=s(()=>o.value+(e.stack===!0?" column":" row")+(e.noWrap===!0?" no-wrap text-no-wrap":"")+(e.loading===!0?" q-btn__content--hidden":""));return{classes:g,style:d,innerClasses:x,attributes:m,hasLink:n,linkTag:a,navigateOnClick:u,isActionable:c}}var{passiveCapture:fo}=et,Jn=null,er=null,tr=null,Ie=$({name:"QBtn",props:{...Zr,percentage:Number,darkPercentage:Boolean,onTouchstart:[Function,Array]},emits:["click","keydown","mousedown","keyup"],setup(e,{slots:t,emit:o}){let{proxy:r}=U(),{classes:n,style:a,innerClasses:l,attributes:u,hasLink:d,linkTag:f,navigateOnClick:c,isActionable:h}=ws(e),v=q(null),m=q(null),g=null,x,y=null,k=s(()=>e.label!==void 0&&e.label!==null&&e.label!==""),S=s(()=>e.disable===!0||e.ripple===!1?!1:{keyCodes:d.value===!0?[13,32]:[13],...e.ripple===!0?{}:e.ripple}),b=s(()=>({center:e.round})),p=s(()=>{let M=Math.max(0,Math.min(100,e.percentage));return M>0?{transition:"transform 0.6s",transform:`translateX(${M-100}%)`}:{}}),_=s(()=>{if(e.loading===!0)return{onMousedown:C,onTouchstart:C,onClick:C,onKeydown:C,onKeyup:C};if(h.value===!0){let M={onClick:L,onKeydown:V,onMousedown:B};if(r.$q.platform.has.touch===!0){let X=e.onTouchstart!==void 0?"":"Passive";M[`onTouchstart${X}`]=F}return M}return{onClick:qe}}),E=s(()=>({ref:v,class:"q-btn q-btn-item non-selectable no-outline "+n.value,style:a.value,...u.value,..._.value}));function L(M){if(v.value!==null){if(M!==void 0){if(M.defaultPrevented===!0)return;let X=document.activeElement;if(e.type==="submit"&&X!==document.body&&v.value.contains(X)===!1&&X.contains(v.value)===!1){v.value.focus();let Y=()=>{document.removeEventListener("keydown",qe,!0),document.removeEventListener("keyup",Y,fo),v.value!==null&&v.value.removeEventListener("blur",Y,fo)};document.addEventListener("keydown",qe,!0),document.addEventListener("keyup",Y,fo),v.value.addEventListener("blur",Y,fo)}}c(M)}}function V(M){v.value!==null&&(o("keydown",M),Tt(M,[13,32])===!0&&er!==v.value&&(er!==null&&R(),M.defaultPrevented!==!0&&(v.value.focus(),er=v.value,v.value.classList.add("q-btn--active"),document.addEventListener("keyup",D,!0),v.value.addEventListener("blur",D,fo)),qe(M)))}function F(M){v.value!==null&&(o("touchstart",M),M.defaultPrevented!==!0&&(Jn!==v.value&&(Jn!==null&&R(),Jn=v.value,g=M.target,g.addEventListener("touchcancel",D,fo),g.addEventListener("touchend",D,fo)),x=!0,y!==null&&clearTimeout(y),y=setTimeout(()=>{y=null,x=!1},200)))}function B(M){v.value!==null&&(M.qSkipRipple=x===!0,o("mousedown",M),M.defaultPrevented!==!0&&tr!==v.value&&(tr!==null&&R(),tr=v.value,v.value.classList.add("q-btn--active"),document.addEventListener("mouseup",D,fo)))}function D(M){if(v.value!==null&&!(M!==void 0&&M.type==="blur"&&document.activeElement===v.value)){if(M!==void 0&&M.type==="keyup"){if(er===v.value&&Tt(M,[13,32])===!0){let X=new MouseEvent("click",M);X.qKeyEvent=!0,M.defaultPrevented===!0&&ft(X),M.cancelBubble===!0&&it(X),v.value.dispatchEvent(X),qe(M),M.qKeyEvent=!0}o("keyup",M)}R()}}function R(M){let X=m.value;M!==!0&&(Jn===v.value||tr===v.value)&&X!==null&&X!==document.activeElement&&(X.setAttribute("tabindex",-1),X.focus()),Jn===v.value&&(g!==null&&(g.removeEventListener("touchcancel",D,fo),g.removeEventListener("touchend",D,fo)),Jn=g=null),tr===v.value&&(document.removeEventListener("mouseup",D,fo),tr=null),er===v.value&&(document.removeEventListener("keyup",D,!0),v.value!==null&&v.value.removeEventListener("blur",D,fo),er=null),v.value!==null&&v.value.classList.remove("q-btn--active")}function C(M){qe(M),M.qSkipRipple=!0}return Se(()=>{R(!0)}),Object.assign(r,{click:M=>{h.value===!0&&L(M)}}),()=>{let M=[];e.icon!==void 0&&M.push(i(Pe,{name:e.icon,left:e.stack!==!0&&k.value===!0,role:"img","aria-hidden":"true"})),k.value===!0&&M.push(i("span",{class:"block"},[e.label])),M=Ge(t.default,M),e.iconRight!==void 0&&e.round===!1&&M.push(i(Pe,{name:e.iconRight,right:e.stack!==!0&&k.value===!0,role:"img","aria-hidden":"true"}));let X=[i("span",{class:"q-focus-helper",ref:m})];return e.loading===!0&&e.percentage!==void 0&&X.push(i("span",{class:"q-btn__progress absolute-full overflow-hidden"+(e.darkPercentage===!0?" q-btn__progress--dark":"")},[i("span",{class:"q-btn__progress-indicator fit block",style:p.value})])),X.push(i("span",{class:"q-btn__content text-center col items-center q-anchor--skip "+l.value},M)),e.loading!==null&&X.push(i(lt,{name:"q-transition--fade"},()=>e.loading===!0?[i("span",{key:"loading",class:"absolute-full flex flex-center"},t.loading!==void 0?t.loading():[i(wt)])]:null)),Et(i(f.value,E.value,X),[[Ao,S.value,void 0,b.value]])}}});var or=$({name:"QBtnGroup",props:{unelevated:Boolean,outline:Boolean,flat:Boolean,rounded:Boolean,square:Boolean,push:Boolean,stretch:Boolean,glossy:Boolean,spread:Boolean},setup(e,{slots:t}){let o=s(()=>{let r=["unelevated","outline","flat","rounded","square","push","stretch","glossy"].filter(n=>e[n]===!0).map(n=>`q-btn-group--${n}`).join(" ");return`q-btn-group row no-wrap${r.length!==0?" "+r:""}`+(e.spread===!0?" q-btn-group--spread":" inline")});return()=>i("div",{class:o.value},re(t.default))}});function Ot(){if(window.getSelection!==void 0){let e=window.getSelection();e.empty!==void 0?e.empty():e.removeAllRanges!==void 0&&(e.removeAllRanges(),Mo.is.mobile!==!0&&e.addRange(document.createRange()))}else document.selection!==void 0&&document.selection.empty()}var nr={target:{default:!0},noParentEvent:Boolean,contextMenu:Boolean};function rr({showing:e,avoidEmit:t,configureAnchorEl:o}){let{props:r,proxy:n,emit:a}=U(),l=q(null),u=null;function d(m){return l.value===null?!1:m===void 0||m.touches===void 0||m.touches.length<=1}let f={};o===void 0&&(Object.assign(f,{hide(m){n.hide(m)},toggle(m){n.toggle(m),m.qAnchorHandled=!0},toggleKey(m){Tt(m,13)===!0&&f.toggle(m)},contextClick(m){n.hide(m),ft(m),$e(()=>{n.show(m),m.qAnchorHandled=!0})},prevent:ft,mobileTouch(m){if(f.mobileCleanup(m),d(m)!==!0)return;n.hide(m),l.value.classList.add("non-selectable");let g=m.target;dt(f,"anchor",[[g,"touchmove","mobileCleanup","passive"],[g,"touchend","mobileCleanup","passive"],[g,"touchcancel","mobileCleanup","passive"],[l.value,"contextmenu","prevent","notPassive"]]),u=setTimeout(()=>{u=null,n.show(m),m.qAnchorHandled=!0},300)},mobileCleanup(m){l.value.classList.remove("non-selectable"),u!==null&&(clearTimeout(u),u=null),e.value===!0&&m!==void 0&&Ot()}}),o=function(m=r.contextMenu){if(r.noParentEvent===!0||l.value===null)return;let g;m===!0?n.$q.platform.is.mobile===!0?g=[[l.value,"touchstart","mobileTouch","passive"]]:g=[[l.value,"mousedown","hide","passive"],[l.value,"contextmenu","contextClick","notPassive"]]:g=[[l.value,"click","toggle","passive"],[l.value,"keyup","toggleKey","passive"]],dt(f,"anchor",g)});function c(){qt(f,"anchor")}function h(m){for(l.value=m;l.value.classList.contains("q-anchor--skip");)l.value=l.value.parentNode;o()}function v(){if(r.target===!1||r.target===""||n.$el.parentNode===null)l.value=null;else if(r.target===!0)h(n.$el.parentNode);else{let m=r.target;if(typeof r.target=="string")try{m=document.querySelector(r.target)}catch{m=void 0}m!=null?(l.value=m.$el||m,o()):(l.value=null,console.error(`Anchor: target "${r.target}" not found`))}}return W(()=>r.contextMenu,m=>{l.value!==null&&(c(),o(m))}),W(()=>r.target,()=>{l.value!==null&&c(),v()}),W(()=>r.noParentEvent,m=>{l.value!==null&&(m===!0?c():o())}),Ne(()=>{v(),t!==!0&&r.modelValue===!0&&l.value===null&&a("update:modelValue",!1)}),Se(()=>{u!==null&&clearTimeout(u),c()}),{anchorEl:l,canShow:d,anchorEvents:f}}function Oi(e,t){let o=q(null),r;function n(u,d){let f=`${d!==void 0?"add":"remove"}EventListener`,c=d!==void 0?d:r;u!==window&&u[f]("scroll",c,et.passive),window[f]("scroll",c,et.passive),r=d}function a(){o.value!==null&&(n(o.value),o.value=null)}let l=W(()=>e.noParentEvent,()=>{o.value!==null&&(a(),t())});return Se(l),{localScrollTarget:o,unconfigureScrollTarget:a,changeScrollEvent:n}}var mo={modelValue:{type:Boolean,default:null},"onUpdate:modelValue":[Function,Array]},vo=["beforeShow","show","beforeHide","hide"];function go({showing:e,canShow:t,hideOnRouteChange:o,handleShow:r,handleHide:n,processOnMount:a}){let l=U(),{props:u,emit:d,proxy:f}=l,c;function h(S){e.value===!0?g(S):v(S)}function v(S){if(u.disable===!0||S!==void 0&&S.qAnchorHandled===!0||t!==void 0&&t(S)!==!0)return;let b=u["onUpdate:modelValue"]!==void 0;b===!0&&(d("update:modelValue",!0),c=S,$e(()=>{c===S&&(c=void 0)})),(u.modelValue===null||b===!1)&&m(S)}function m(S){e.value!==!0&&(e.value=!0,d("beforeShow",S),r!==void 0?r(S):d("show",S))}function g(S){if(u.disable===!0)return;let b=u["onUpdate:modelValue"]!==void 0;b===!0&&(d("update:modelValue",!1),c=S,$e(()=>{c===S&&(c=void 0)})),(u.modelValue===null||b===!1)&&x(S)}function x(S){e.value!==!1&&(e.value=!1,d("beforeHide",S),n!==void 0?n(S):d("hide",S))}function y(S){u.disable===!0&&S===!0?u["onUpdate:modelValue"]!==void 0&&d("update:modelValue",!1):S===!0!==e.value&&(S===!0?m:x)(c)}W(()=>u.modelValue,y),o!==void 0&&Gn(l)===!0&&W(()=>f.$route.fullPath,()=>{o.value===!0&&e.value===!0&&g()}),a===!0&&Ne(()=>{y(u.modelValue)});let k={show:v,hide:g,toggle:h};return Object.assign(f,k),k}var kn=[],Jr=[];function ks(e){Jr=Jr.filter(t=>t!==e)}function qs(e){ks(e),Jr.push(e)}function Pl(e){ks(e),Jr.length===0&&kn.length!==0&&(kn[kn.length-1](),kn=[])}function ho(e){Jr.length===0?e():kn.push(e)}function Ts(e){kn=kn.filter(t=>t!==e)}var ir=[],ei=[],tg=1,an=document.body;function $o(e,t){let o=document.createElement("div");if(o.id=t!==void 0?`q-portal--${t}--${tg++}`:e,jn.globalNodes!==void 0){let r=jn.globalNodes.class;r!==void 0&&(o.className=r)}return an.appendChild(o),ir.push(o),ei.push(t),o}function ar(e){let t=ir.indexOf(e);ir.splice(t,1),ei.splice(t,1),e.remove()}function Ms(e){if(e===an)return;if(an=e,an===document.body||ei.reduce((o,r)=>r==="dialog"?o+1:o,0)<2){ir.forEach(o=>{o.contains(an)===!1&&an.appendChild(o)});return}let t=ei.lastIndexOf("dialog");for(let o=0;o<ir.length;o++){let r=ir[o];(o===t||ei[o]!=="dialog")&&r.contains(an)===!1&&an.appendChild(r)}}var ln=[];function Rs(e){return ln.find(t=>t.contentEl!==null&&t.contentEl.contains(e))}function Al(e,t){do{if(e.$options.name==="QMenu"){if(e.hide(t),e.$props.separateClosePopup===!0)return Xr(e)}else if(e.__qPortal===!0){let o=Xr(e);return o!==void 0&&o.$options.name==="QPopupProxy"?(e.hide(t),o):e}e=Xr(e)}while(e!=null)}function Ps(e,t,o){for(;o!==0&&e!==void 0&&e!==null;){if(e.__qPortal===!0){if(o--,e.$options.name==="QMenu"){e=Al(e,t);continue}e.hide(t)}e=Xr(e)}}var og=$({name:"QPortal",setup(e,{slots:t}){return()=>t.default()}});function ng(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 lr(e,t,o,r){let n=q(!1),a=q(!1),l=null,u={},d=r==="dialog"&&ng(e);function f(h){if(h===!0){Pl(u),a.value=!0;return}a.value=!1,n.value===!1&&(d===!1&&l===null&&(l=$o(!1,r)),n.value=!0,ln.push(e.proxy),qs(u))}function c(h){if(a.value=!1,h!==!0)return;Pl(u),n.value=!1;let v=ln.indexOf(e.proxy);v!==-1&&ln.splice(v,1),l!==null&&(ar(l),l=null)}return Qn(()=>{c(!0)}),e.proxy.__qPortal=!0,st(e.proxy,"contentEl",()=>t.value),{showPortal:f,hidePortal:c,portalIsActive:n,portalIsAccessible:a,renderPortal:()=>d===!0?o():n.value===!0?[i($u,{to:l},i(og,o))]:void 0}}var Eo={transitionShow:{type:String,default:"fade"},transitionHide:{type:String,default:"fade"},transitionDuration:{type:[String,Number],default:300}};function un(e,t=()=>{},o=()=>{}){return{transitionProps:s(()=>{let r=`q-transition--${e.transitionShow||t()}`,n=`q-transition--${e.transitionHide||o()}`;return{appear:!0,enterFromClass:`${r}-enter-from`,enterActiveClass:`${r}-enter-active`,enterToClass:`${r}-enter-to`,leaveFromClass:`${n}-leave-from`,leaveActiveClass:`${n}-leave-active`,leaveToClass:`${n}-leave-to`}}),transitionStyle:s(()=>`--q-transition-duration: ${e.transitionDuration}ms`)}}function po(){let e,t=U();function o(){e=void 0}return Pt(o),Se(o),{removeTick:o,registerTick(r){e=r,$e(()=>{e===r&&(Wt(t)===!1&&e(),e=void 0)})}}}function Yt(){let e=null,t=U();function o(){e!==null&&(clearTimeout(e),e=null)}return Pt(o),Se(o),{removeTimeout:o,registerTimeout(r,n){o(e),Wt(t)===!1&&(e=setTimeout(()=>{e=null,r()},n))}}}var rg=[null,document,document.body,document.scrollingElement,document.documentElement];function Bt(e,t){let o=Ss(t);if(o===void 0){if(e==null)return window;o=e.closest(".scroll,.scroll-y,.overflow-auto")}return rg.includes(o)?window:o}function ur(e){return(e===window?document.body:e).scrollHeight}function ig(e){return(e===window?document.body:e).scrollWidth}function eo(e){return e===window?window.pageYOffset||window.scrollY||document.body.scrollTop||0:e.scrollTop}function sn(e){return e===window?window.pageXOffset||window.scrollX||document.body.scrollLeft||0:e.scrollLeft}function Bl(e,t,o=0){let r=arguments[3]===void 0?performance.now():arguments[3],n=eo(e);if(o<=0){n!==t&&$l(e,t);return}requestAnimationFrame(a=>{let l=a-r,u=n+(t-n)/Math.max(l,o)*l;$l(e,u),u!==t&&Bl(e,t,o-l,a)})}function Ll(e,t,o=0){let r=arguments[3]===void 0?performance.now():arguments[3],n=sn(e);if(o<=0){n!==t&&El(e,t);return}requestAnimationFrame(a=>{let l=a-r,u=n+(t-n)/Math.max(l,o)*l;El(e,u),u!==t&&Ll(e,t,o-l,a)})}function $l(e,t){if(e===window){window.scrollTo(window.pageXOffset||window.scrollX||document.body.scrollLeft||0,t);return}e.scrollTop=t}function El(e,t){if(e===window){window.scrollTo(t,window.pageYOffset||window.scrollY||document.body.scrollTop||0);return}e.scrollLeft=t}function Bo(e,t,o){if(o){Bl(e,t,o);return}$l(e,t)}function ti(e,t,o){if(o){Ll(e,t,o);return}El(e,t)}var Ii;function qn(){if(Ii!==void 0)return Ii;let e=document.createElement("p"),t=document.createElement("div");wn(e,{width:"100%",height:"200px"}),wn(t,{position:"absolute",top:"0px",left:"0px",visibility:"hidden",width:"200px",height:"150px",overflow:"hidden"}),t.appendChild(e),document.body.appendChild(t);let o=e.offsetWidth;t.style.overflow="scroll";let r=e.offsetWidth;return o===r&&(r=t.clientWidth),t.remove(),Ii=o-r,Ii}function Fl(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"]))}var As={getScrollTarget:Bt,getScrollHeight:ur,getScrollWidth:ig,getVerticalScrollPosition:eo,getHorizontalScrollPosition:sn,animVerticalScrollTo:Bl,animHorizontalScrollTo:Ll,setVerticalScrollPosition:Bo,setHorizontalScrollPosition:ti,getScrollbarWidth:qn,hasScrollbar:Fl};var Tn=[],sr;function ag(e){sr=e.keyCode===27}function lg(){sr===!0&&(sr=!1)}function ug(e){sr===!0&&(sr=!1,Tt(e,27)===!0&&Tn[Tn.length-1](e))}function $s(e){window[e]("keydown",ag),window[e]("blur",lg),window[e]("keyup",ug),sr=!1}function Hi(e){Re.is.desktop===!0&&(Tn.push(e),Tn.length===1&&$s("addEventListener"))}function cr(e){let t=Tn.indexOf(e);t!==-1&&(Tn.splice(t,1),Tn.length===0&&$s("removeEventListener"))}var Mn=[];function Es(e){Mn[Mn.length-1](e)}function dr(e){Re.is.desktop===!0&&(Mn.push(e),Mn.length===1&&document.body.addEventListener("focusin",Es))}function Rn(e){let t=Mn.indexOf(e);t!==-1&&(Mn.splice(t,1),Mn.length===0&&document.body.removeEventListener("focusin",Es))}var fr=null,{notPassiveCapture:Qi}=et,Pn=[];function Ni(e){fr!==null&&(clearTimeout(fr),fr=null);let t=e.target;if(t===void 0||t.nodeType===8||t.classList.contains("no-pointer-events")===!0)return;let o=ln.length-1;for(;o>=0;){let r=ln[o].$;if(r.type.name==="QTooltip"){o--;continue}if(r.type.name!=="QDialog")break;if(r.props.seamless!==!0)return;o--}for(let r=Pn.length-1;r>=0;r--){let n=Pn[r];if((n.anchorEl.value===null||n.anchorEl.value.contains(t)===!1)&&(t===document.body||n.innerRef.value!==null&&n.innerRef.value.contains(t)===!1))e.qClickOutside=!0,n.onClickOutside(e);else return}}function ji(e){Pn.push(e),Pn.length===1&&(document.addEventListener("mousedown",Ni,Qi),document.addEventListener("touchstart",Ni,Qi))}function mr(e){let t=Pn.findIndex(o=>o===e);t!==-1&&(Pn.splice(t,1),Pn.length===0&&(fr!==null&&(clearTimeout(fr),fr=null),document.removeEventListener("mousedown",Ni,Qi),document.removeEventListener("touchstart",Ni,Qi)))}var Bs,Ls;function vr(e){let 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 Ui(e){return e?!(e.length!==2||typeof e[0]!="number"||typeof e[1]!="number"):!0}var Vl={"start#ltr":"left","start#rtl":"right","end#ltr":"right","end#rtl":"left"};["left","middle","right"].forEach(e=>{Vl[`${e}#ltr`]=e,Vl[`${e}#rtl`]=e});function gr(e,t){let o=e.split(" ");return{vertical:o[0],horizontal:Vl[`${o[1]}#${t===!0?"rtl":"ltr"}`]}}function sg(e,t){let{top:o,left:r,right:n,bottom:a,width:l,height:u}=e.getBoundingClientRect();return t!==void 0&&(o-=t[1],r-=t[0],a+=t[1],n+=t[0],l+=t[0],u+=t[1]),{top:o,bottom:a,height:u,left:r,right:n,width:l,middle:r+(n-r)/2,center:o+(a-o)/2}}function cg(e,t,o){let{top:r,left:n}=e.getBoundingClientRect();return r+=t.top,n+=t.left,o!==void 0&&(r+=o[1],n+=o[0]),{top:r,bottom:r+1,height:1,left:n,right:n+1,width:1,middle:n,center:r}}function dg(e,t){return{top:0,center:t/2,bottom:t,left:0,middle:e/2,right:e}}function Fs(e,t,o,r){return{top:e[o.vertical]-t[r.vertical],left:e[o.horizontal]-t[r.horizontal]}}function oi(e,t=0){if(e.targetEl===null||e.anchorEl===null||t>5)return;if(e.targetEl.offsetHeight===0||e.targetEl.offsetWidth===0){setTimeout(()=>{oi(e,t+1)},10);return}let{targetEl:o,offset:r,anchorEl:n,anchorOrigin:a,selfOrigin:l,absoluteOffset:u,fit:d,cover:f,maxHeight:c,maxWidth:h}=e;if(Re.is.ios===!0&&window.visualViewport!==void 0){let E=document.body.style,{offsetLeft:L,offsetTop:V}=window.visualViewport;L!==Bs&&(E.setProperty("--q-pe-left",L+"px"),Bs=L),V!==Ls&&(E.setProperty("--q-pe-top",V+"px"),Ls=V)}let{scrollLeft:v,scrollTop:m}=o,g=u===void 0?sg(n,f===!0?[0,0]:r):cg(n,u,r);Object.assign(o.style,{top:0,left:0,minWidth:null,minHeight:null,maxWidth:h||"100vw",maxHeight:c||"100vh",visibility:"visible"});let{offsetWidth:x,offsetHeight:y}=o,{elWidth:k,elHeight:S}=d===!0||f===!0?{elWidth:Math.max(g.width,x),elHeight:f===!0?Math.max(g.height,y):y}:{elWidth:x,elHeight:y},b={maxWidth:h,maxHeight:c};(d===!0||f===!0)&&(b.minWidth=g.width+"px",f===!0&&(b.minHeight=g.height+"px")),Object.assign(o.style,b);let p=dg(k,S),_=Fs(g,p,a,l);if(u===void 0||r===void 0)Dl(_,g,p,a,l);else{let{top:E,left:L}=_;Dl(_,g,p,a,l);let V=!1;if(_.top!==E){V=!0;let F=2*r[1];g.center=g.top-=F,g.bottom-=F+2}if(_.left!==L){V=!0;let F=2*r[0];g.middle=g.left-=F,g.right-=F+2}V===!0&&(_=Fs(g,p,a,l),Dl(_,g,p,a,l))}b={top:_.top+"px",left:_.left+"px"},_.maxHeight!==void 0&&(b.maxHeight=_.maxHeight+"px",g.height>_.maxHeight&&(b.minHeight=b.maxHeight)),_.maxWidth!==void 0&&(b.maxWidth=_.maxWidth+"px",g.width>_.maxWidth&&(b.minWidth=b.maxWidth)),Object.assign(o.style,b),o.scrollTop!==m&&(o.scrollTop=m),o.scrollLeft!==v&&(o.scrollLeft=v)}function Dl(e,t,o,r,n){let a=o.bottom,l=o.right,u=qn(),d=window.innerHeight-u,f=document.body.clientWidth;if(e.top<0||e.top+a>d)if(n.vertical==="center")e.top=t[r.vertical]>d/2?Math.max(0,d-a):0,e.maxHeight=Math.min(a,d);else if(t[r.vertical]>d/2){let c=Math.min(d,r.vertical==="center"?t.center:r.vertical===n.vertical?t.bottom:t.top);e.maxHeight=Math.min(a,c),e.top=Math.max(0,c-a)}else e.top=Math.max(0,r.vertical==="center"?t.center:r.vertical===n.vertical?t.top:t.bottom),e.maxHeight=Math.min(a,d-e.top);if(e.left<0||e.left+l>f)if(e.maxWidth=Math.min(l,f),n.horizontal==="middle")e.left=t[r.horizontal]>f/2?Math.max(0,f-l):0;else if(t[r.horizontal]>f/2){let c=Math.min(f,r.horizontal==="middle"?t.middle:r.horizontal===n.horizontal?t.right:t.left);e.maxWidth=Math.min(l,c),e.left=Math.max(0,c-e.maxWidth)}else e.left=Math.max(0,r.horizontal==="middle"?t.middle:r.horizontal===n.horizontal?t.left:t.right),e.maxWidth=Math.min(l,f-e.left)}var Lo=$({name:"QMenu",inheritAttrs:!1,props:{...nr,...mo,..._e,...Eo,persistent:Boolean,autoClose:Boolean,separateClosePopup:Boolean,noRouteDismiss:Boolean,noRefocus:Boolean,noFocus:Boolean,fit:Boolean,cover:Boolean,square:Boolean,anchor:{type:String,validator:vr},self:{type:String,validator:vr},offset:{type:Array,validator:Ui},scrollTarget:{default:void 0},touchPosition:Boolean,maxHeight:{type:String,default:null},maxWidth:{type:String,default:null}},emits:[...vo,"click","escapeKey"],setup(e,{slots:t,emit:o,attrs:r}){let n=null,a,l,u,d=U(),{proxy:f}=d,{$q:c}=f,h=q(null),v=q(!1),m=s(()=>e.persistent!==!0&&e.noRouteDismiss!==!0),g=Ce(e,c),{registerTick:x,removeTick:y}=po(),{registerTimeout:k}=Yt(),{transitionProps:S,transitionStyle:b}=un(e),{localScrollTarget:p,changeScrollEvent:_,unconfigureScrollTarget:E}=Oi(e,K),{anchorEl:L,canShow:V}=rr({showing:v}),{hide:F}=go({showing:v,canShow:V,handleShow:ce,handleHide:I,hideOnRouteChange:m,processOnMount:!0}),{showPortal:B,hidePortal:D,renderPortal:R}=lr(d,h,ae,"menu"),C={anchorEl:L,innerRef:h,onClickOutside(H){if(e.persistent!==!0&&v.value===!0)return F(H),(H.type==="touchstart"||H.target.classList.contains("q-dialog__backdrop"))&&qe(H),!0}},M=s(()=>gr(e.anchor||(e.cover===!0?"center middle":"bottom start"),c.lang.rtl)),X=s(()=>e.cover===!0?M.value:gr(e.self||"top start",c.lang.rtl)),Y=s(()=>(e.square===!0?" q-menu--square":"")+(g.value===!0?" q-menu--dark q-dark":"")),T=s(()=>e.autoClose===!0?{onClick:N}:{}),j=s(()=>v.value===!0&&e.persistent!==!0);W(j,H=>{H===!0?(Hi(P),ji(C)):(cr(P),mr(C))});function J(){ho(()=>{let H=h.value;H&&H.contains(document.activeElement)!==!0&&(H=H.querySelector("[autofocus][tabindex], [data-autofocus][tabindex]")||H.querySelector("[autofocus] [tabindex], [data-autofocus] [tabindex]")||H.querySelector("[autofocus], [data-autofocus]")||H,H.focus({preventScroll:!0}))})}function ce(H){if(n=e.noRefocus===!1?document.activeElement:null,dr(le),B(),K(),a=void 0,H!==void 0&&(e.touchPosition||e.contextMenu)){let me=_t(H);if(me.left!==void 0){let{top:Me,left:G}=L.value.getBoundingClientRect();a={left:me.left-G,top:me.top-Me}}}l===void 0&&(l=W(()=>c.screen.width+"|"+c.screen.height+"|"+e.self+"|"+e.anchor+"|"+c.lang.rtl,O)),e.noFocus!==!0&&document.activeElement.blur(),x(()=>{O(),e.noFocus!==!0&&J()}),k(()=>{c.platform.is.ios===!0&&(u=e.autoClose,h.value.click()),O(),B(!0),o("show",H)},e.transitionDuration)}function I(H){y(),D(),w(!0),n!==null&&(H===void 0||H.qClickOutside!==!0)&&(((H&&H.type.indexOf("key")===0?n.closest('[tabindex]:not([tabindex^="-"])'):void 0)||n).focus(),n=null),k(()=>{D(!0),o("hide",H)},e.transitionDuration)}function w(H){a=void 0,l!==void 0&&(l(),l=void 0),(H===!0||v.value===!0)&&(Rn(le),E(),mr(C),cr(P)),H!==!0&&(n=null)}function K(){(L.value!==null||e.scrollTarget!==void 0)&&(p.value=Bt(L.value,e.scrollTarget),_(p.value,O))}function N(H){u!==!0?(Al(f,H),o("click",H)):u=!1}function le(H){j.value===!0&&e.noFocus!==!0&&Di(h.value,H.target)!==!0&&J()}function P(H){o("escapeKey"),F(H)}function O(){oi({targetEl:h.value,offset:e.offset,anchorEl:L.value,anchorOrigin:M.value,selfOrigin:X.value,absoluteOffset:a,fit:e.fit,cover:e.cover,maxHeight:e.maxHeight,maxWidth:e.maxWidth})}function ae(){return i(lt,S.value,()=>v.value===!0?i("div",{role:"menu",...r,ref:h,tabindex:-1,class:["q-menu q-position-engine scroll"+Y.value,r.class],style:[r.style,b.value],...T.value},re(t.default)):null)}return Se(w),Object.assign(f,{focus:J,updatePosition:O}),R}});var zl,Ki=0,It=new Array(256);for(let e=0;e<256;e++)It[e]=(e+256).toString(16).substring(1);var fg=(()=>{let 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=>{let o=new Uint8Array(t);return e.getRandomValues(o),o}}return t=>{let o=[];for(let r=t;r>0;r--)o.push(Math.floor(Math.random()*256));return o}})(),Ds=4096;function Fo(){(zl===void 0||Ki+16>Ds)&&(Ki=0,zl=fg(Ds));let e=Array.prototype.slice.call(zl,Ki,Ki+=16);return e[6]=e[6]&15|64,e[8]=e[8]&63|128,It[e[0]]+It[e[1]]+It[e[2]]+It[e[3]]+"-"+It[e[4]]+It[e[5]]+"-"+It[e[6]]+It[e[7]]+"-"+It[e[8]]+It[e[9]]+"-"+It[e[10]]+It[e[11]]+It[e[12]]+It[e[13]]+It[e[14]]+It[e[15]]}function mg(e){return e??null}function Vs(e,t){return e??(t===!0?`f_${Fo()}`:null)}function Do({getValue:e,required:t=!0}={}){if(xt.value===!0){let o=e!==void 0?q(mg(e())):q(null);return t===!0&&o.value===null&&Ne(()=>{o.value=`f_${Fo()}`}),e!==void 0&&W(e,r=>{o.value=Vs(r,t)}),o}return e!==void 0?s(()=>Vs(e(),t)):q(`f_${Fo()}`)}var vg=Object.keys(Zr);function gg(e){return vg.reduce((t,o)=>{let r=e[o];return r!==void 0&&(t[o]=r),t},{})}var Wi=$({name:"QBtnDropdown",props:{...Zr,...Eo,modelValue:Boolean,split:Boolean,dropdownIcon:String,contentClass:[Array,String,Object],contentStyle:[Array,String,Object],cover:Boolean,persistent:Boolean,noRouteDismiss:Boolean,autoClose:Boolean,menuAnchor:{type:String,default:"bottom end"},menuSelf:{type:String,default:"top end"},menuOffset:Array,disableMainBtn:Boolean,disableDropdown:Boolean,noIconAnimation:Boolean,toggleAriaLabel:String},emits:["update:modelValue","click","beforeShow","show","beforeHide","hide"],setup(e,{slots:t,emit:o}){let{proxy:r}=U(),n=q(e.modelValue),a=q(null),l=Do(),u=s(()=>{let p={"aria-expanded":n.value===!0?"true":"false","aria-haspopup":"true","aria-controls":l.value,"aria-label":e.toggleAriaLabel||r.$q.lang.label[n.value===!0?"collapse":"expand"](e.label)};return(e.disable===!0||e.split===!1&&e.disableMainBtn===!0||e.disableDropdown===!0)&&(p["aria-disabled"]="true"),p}),d=s(()=>"q-btn-dropdown__arrow"+(n.value===!0&&e.noIconAnimation===!1?" rotate-180":"")+(e.split===!1?" q-btn-dropdown__arrow-container":"")),f=s(()=>zi(e)),c=s(()=>gg(e));W(()=>e.modelValue,p=>{a.value!==null&&a.value[p?"show":"hide"]()}),W(()=>e.split,b);function h(p){n.value=!0,o("beforeShow",p)}function v(p){o("show",p),o("update:modelValue",!0)}function m(p){n.value=!1,o("beforeHide",p)}function g(p){o("hide",p),o("update:modelValue",!1)}function x(p){o("click",p)}function y(p){it(p),b(),o("click",p)}function k(p){a.value!==null&&a.value.toggle(p)}function S(p){a.value!==null&&a.value.show(p)}function b(p){a.value!==null&&a.value.hide(p)}return Object.assign(r,{show:S,hide:b,toggle:k}),Ne(()=>{e.modelValue===!0&&S()}),()=>{let p=[i(Pe,{class:d.value,name:e.dropdownIcon||r.$q.iconSet.arrow.dropdown})];return e.disableDropdown!==!0&&p.push(i(Lo,{ref:a,id:l.value,class:e.contentClass,style:e.contentStyle,cover:e.cover,fit:!0,persistent:e.persistent,noRouteDismiss:e.noRouteDismiss,autoClose:e.autoClose,anchor:e.menuAnchor,self:e.menuSelf,offset:e.menuOffset,separateClosePopup:!0,transitionShow:e.transitionShow,transitionHide:e.transitionHide,transitionDuration:e.transitionDuration,onBeforeShow:h,onShow:v,onBeforeHide:m,onHide:g},t.default)),e.split===!1?i(Ie,{class:"q-btn-dropdown q-btn-dropdown--simple",...c.value,...u.value,disable:e.disable===!0||e.disableMainBtn===!0,noWrap:!0,round:!1,onClick:x},{default:()=>re(t.label,[]).concat(p),loading:t.loading}):i(or,{class:"q-btn-dropdown q-btn-dropdown--split no-wrap q-btn-item",rounded:e.rounded,square:e.square,...f.value,glossy:e.glossy,stretch:e.stretch},()=>[i(Ie,{class:"q-btn-dropdown--current",...c.value,disable:e.disable===!0||e.disableMainBtn===!0,noWrap:!0,round:!1,onClick:y},{default:t.label,loading:t.loading}),i(Ie,{class:"q-btn-dropdown__arrow-container q-anchor--skip",...u.value,...f.value,disable:e.disable===!0||e.disableDropdown===!0,rounded:e.rounded,color:e.color,textColor:e.textColor,dense:e.dense,size:e.size,padding:e.padding,ripple:e.ripple},()=>p)])}}});var kt={name:String};function Vo(e){return s(()=>({type:"hidden",name:e.name,value:e.modelValue}))}function Xt(e={}){return(t,o,r)=>{t[o](i("input",{class:"hidden"+(r||""),...e.value}))}}function hr(e){return s(()=>e.name||e.for)}var zs=$({name:"QBtnToggle",props:{...kt,modelValue:{required:!0},options:{type:Array,required:!0,validator:e=>e.every(t=>("label"in t||"icon"in t||"slot"in t)&&"value"in t)},color:String,textColor:String,toggleColor:{type:String,default:"primary"},toggleTextColor:String,outline:Boolean,flat:Boolean,unelevated:Boolean,rounded:Boolean,push:Boolean,glossy:Boolean,size:String,padding:String,noCaps:Boolean,noWrap:Boolean,dense:Boolean,readonly:Boolean,disable:Boolean,stack:Boolean,stretch:Boolean,spread:Boolean,clearable:Boolean,ripple:{type:[Boolean,Object],default:!0}},emits:["update:modelValue","clear","click"],setup(e,{slots:t,emit:o}){let r=s(()=>e.options.find(v=>v.value===e.modelValue)!==void 0),n=s(()=>({type:"hidden",name:e.name,value:e.modelValue})),a=Xt(n),l=s(()=>zi(e)),u=s(()=>({rounded:e.rounded,dense:e.dense,...l.value})),d=s(()=>e.options.map((v,m)=>{let{attrs:g,value:x,slot:y,...k}=v;return{slot:y,props:{key:m,"aria-pressed":x===e.modelValue?"true":"false",...g,...k,...u.value,disable:e.disable===!0||k.disable===!0,color:x===e.modelValue?c(k,"toggleColor"):c(k,"color"),textColor:x===e.modelValue?c(k,"toggleTextColor"):c(k,"textColor"),noCaps:c(k,"noCaps")===!0,noWrap:c(k,"noWrap")===!0,size:c(k,"size"),padding:c(k,"padding"),ripple:c(k,"ripple"),stack:c(k,"stack")===!0,stretch:c(k,"stretch")===!0,onClick(S){f(x,v,S)}}}}));function f(v,m,g){e.readonly!==!0&&(e.modelValue===v?e.clearable===!0&&(o("update:modelValue",null,null),o("clear")):o("update:modelValue",v,m),o("click",g))}function c(v,m){return v[m]===void 0?e[m]:v[m]}function h(){let v=d.value.map(m=>i(Ie,m.props,m.slot!==void 0?t[m.slot]:void 0));return e.name!==void 0&&e.disable!==!0&&r.value===!0&&a(v,"push"),Ge(t.default,v)}return()=>i(or,{class:"q-btn-toggle",...l.value,rounded:e.rounded,stretch:e.stretch,glossy:e.glossy,spread:e.spread},h)}});var pr=$({name:"QCard",props:{..._e,tag:{type:String,default:"div"},square:Boolean,flat:Boolean,bordered:Boolean},setup(e,{slots:t}){let{proxy:{$q:o}}=U(),r=Ce(e,o),n=s(()=>"q-card"+(r.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()=>i(e.tag,{class:n.value},re(t.default))}});var So=$({name:"QCardSection",props:{tag:{type:String,default:"div"},horizontal:Boolean},setup(e,{slots:t}){let o=s(()=>`q-card__section q-card__section--${e.horizontal===!0?"horiz row no-wrap":"vert"}`);return()=>i(e.tag,{class:o.value},re(t.default))}});var Yi=$({name:"QCardActions",props:{...Wn,vertical:Boolean},setup(e,{slots:t}){let o=Yn(e),r=s(()=>`q-card__actions ${o.value} q-card__actions--${e.vertical===!0?"vert column":"horiz row"}`);return()=>i("div",{class:r.value},re(t.default))}});var Ol={left:!0,right:!0,up:!0,down:!0,horizontal:!0,vertical:!0},hg=Object.keys(Ol);Ol.all=!0;function br(e){let t={};for(let o of hg)e[o]===!0&&(t[o]=!0);return Object.keys(t).length===0?Ol:(t.horizontal===!0?t.left=t.right=!0:t.left===!0&&t.right===!0&&(t.horizontal=!0),t.vertical===!0?t.up=t.down=!0:t.up===!0&&t.down===!0&&(t.vertical=!0),t.horizontal===!0&&t.vertical===!0&&(t.all=!0),t)}var pg=["INPUT","TEXTAREA"];function yr(e,t){return t.event===void 0&&e.target!==void 0&&e.target.draggable!==!0&&typeof t.handler=="function"&&pg.includes(e.target.nodeName.toUpperCase())===!1&&(e.qClonedBy===void 0||e.qClonedBy.indexOf(t.uid)===-1)}function bg(e){let t=[.06,6,50];return typeof e=="string"&&e.length&&e.split(":").forEach((o,r)=>{let n=parseFloat(o);n&&(t[r]=n)}),t}var Xi=At({name:"touch-swipe",beforeMount(e,{value:t,arg:o,modifiers:r}){if(r.mouse!==!0&&Re.has.touch!==!0)return;let n=r.mouseCapture===!0?"Capture":"",a={handler:t,sensitivity:bg(o),direction:br(r),noop:We,mouseStart(l){yr(l,a)&&Ko(l)&&(dt(a,"temp",[[document,"mousemove","move",`notPassive${n}`],[document,"mouseup","end","notPassiveCapture"]]),a.start(l,!0))},touchStart(l){if(yr(l,a)){let u=l.target;dt(a,"temp",[[u,"touchmove","move","notPassiveCapture"],[u,"touchcancel","end","notPassiveCapture"],[u,"touchend","end","notPassiveCapture"]]),a.start(l)}},start(l,u){Re.is.firefox===!0&&Wo(e,!0);let d=_t(l);a.event={x:d.left,y:d.top,time:Date.now(),mouse:u===!0,dir:!1}},move(l){if(a.event===void 0)return;if(a.event.dir!==!1){qe(l);return}let u=Date.now()-a.event.time;if(u===0)return;let d=_t(l),f=d.left-a.event.x,c=Math.abs(f),h=d.top-a.event.y,v=Math.abs(h);if(a.event.mouse!==!0){if(c<a.sensitivity[1]&&v<a.sensitivity[1]){a.end(l);return}}else if(window.getSelection().toString()!==""){a.end(l);return}else if(c<a.sensitivity[2]&&v<a.sensitivity[2])return;let m=c/u,g=v/u;a.direction.vertical===!0&&c<v&&c<100&&g>a.sensitivity[0]&&(a.event.dir=h<0?"up":"down"),a.direction.horizontal===!0&&c>v&&v<100&&m>a.sensitivity[0]&&(a.event.dir=f<0?"left":"right"),a.direction.up===!0&&c<v&&h<0&&c<100&&g>a.sensitivity[0]&&(a.event.dir="up"),a.direction.down===!0&&c<v&&h>0&&c<100&&g>a.sensitivity[0]&&(a.event.dir="down"),a.direction.left===!0&&c>v&&f<0&&v<100&&m>a.sensitivity[0]&&(a.event.dir="left"),a.direction.right===!0&&c>v&&f>0&&v<100&&m>a.sensitivity[0]&&(a.event.dir="right"),a.event.dir!==!1?(qe(l),a.event.mouse===!0&&(document.body.classList.add("no-pointer-events--children"),document.body.classList.add("non-selectable"),Ot(),a.styleCleanup=x=>{a.styleCleanup=void 0,document.body.classList.remove("non-selectable");let y=()=>{document.body.classList.remove("no-pointer-events--children")};x===!0?setTimeout(y,50):y()}),a.handler({evt:l,touch:a.event.mouse!==!0,mouse:a.event.mouse,direction:a.event.dir,duration:u,distance:{x:c,y:v}})):a.end(l)},end(l){a.event!==void 0&&(qt(a,"temp"),Re.is.firefox===!0&&Wo(e,!1),a.styleCleanup!==void 0&&a.styleCleanup(!0),l!==void 0&&a.event.dir!==!1&&qe(l),a.event=void 0)}};if(e.__qtouchswipe=a,r.mouse===!0){let l=r.mouseCapture===!0||r.mousecapture===!0?"Capture":"";dt(a,"main",[[e,"mousedown","mouseStart",`passive${l}`]])}Re.has.touch===!0&&dt(a,"main",[[e,"touchstart","touchStart",`passive${r.capture===!0?"Capture":""}`],[e,"touchmove","noop","notPassiveCapture"]])},updated(e,t){let o=e.__qtouchswipe;o!==void 0&&(t.oldValue!==t.value&&(typeof t.value!="function"&&o.end(),o.handler=t.value),o.direction=br(t.modifiers))},beforeUnmount(e){let t=e.__qtouchswipe;t!==void 0&&(qt(t,"main"),qt(t,"temp"),Re.is.firefox===!0&&Wo(e,!1),t.styleCleanup!==void 0&&t.styleCleanup(),delete e.__qtouchswipe)}});function bo(){let e=Object.create(null);return{getCache:(t,o)=>e[t]===void 0?e[t]=typeof o=="function"?o():o:e[t],setCache(t,o){e[t]=o},hasCache(t){return e.hasOwnProperty(t)},clearCache(t){t!==void 0?delete e[t]:e={}}}}var Sr={name:{required:!0},disable:Boolean},Os={setup(e,{slots:t}){return()=>i("div",{class:"q-panel scroll",role:"tabpanel"},re(t.default))}},xr={modelValue:{required:!0},animated:Boolean,infinite:Boolean,swipeable:Boolean,vertical:Boolean,transitionPrev:String,transitionNext:String,transitionDuration:{type:[String,Number],default:300},keepAlive:Boolean,keepAliveInclude:[String,Array,RegExp],keepAliveExclude:[String,Array,RegExp],keepAliveMax:Number},_r=["update:modelValue","beforeTransition","transition"];function Cr(){let{props:e,emit:t,proxy:o}=U(),{getCache:r}=bo(),n,a,l=q(null),u=q(null);function d(C){let M=e.vertical===!0?"up":"left";L((o.$q.lang.rtl===!0?-1:1)*(C.direction===M?1:-1))}let f=s(()=>[[Xi,d,void 0,{horizontal:e.vertical!==!0,vertical:e.vertical,mouse:!0}]]),c=s(()=>e.transitionPrev||`slide-${e.vertical===!0?"down":"right"}`),h=s(()=>e.transitionNext||`slide-${e.vertical===!0?"up":"left"}`),v=s(()=>`--q-transition-duration: ${e.transitionDuration}ms`),m=s(()=>typeof e.modelValue=="string"||typeof e.modelValue=="number"?e.modelValue:String(e.modelValue)),g=s(()=>({include:e.keepAliveInclude,exclude:e.keepAliveExclude,max:e.keepAliveMax})),x=s(()=>e.keepAliveInclude!==void 0||e.keepAliveExclude!==void 0);W(()=>e.modelValue,(C,M)=>{let X=b(C)===!0?p(C):-1;a!==!0&&E(X===-1?0:X<p(M)?-1:1),l.value!==X&&(l.value=X,t("beforeTransition",C,M),$e(()=>{t("transition",C,M)}))});function y(){L(1)}function k(){L(-1)}function S(C){t("update:modelValue",C)}function b(C){return C!=null&&C!==""}function p(C){return n.findIndex(M=>M.props.name===C&&M.props.disable!==""&&M.props.disable!==!0)}function _(){return n.filter(C=>C.props.disable!==""&&C.props.disable!==!0)}function E(C){let M=C!==0&&e.animated===!0&&l.value!==-1?"q-transition--"+(C===-1?c.value:h.value):null;u.value!==M&&(u.value=M)}function L(C,M=l.value){let X=M+C;for(;X!==-1&&X<n.length;){let Y=n[X];if(Y!==void 0&&Y.props.disable!==""&&Y.props.disable!==!0){E(C),a=!0,t("update:modelValue",Y.props.name),setTimeout(()=>{a=!1});return}X+=C}e.infinite===!0&&n.length!==0&&M!==-1&&M!==n.length&&L(C,C===-1?n.length:-1)}function V(){let C=p(e.modelValue);return l.value!==C&&(l.value=C),!0}function F(){let C=b(e.modelValue)===!0&&V()&&n[l.value];return e.keepAlive===!0?[i(xi,g.value,[i(x.value===!0?r(m.value,()=>({...Os,name:m.value})):Os,{key:m.value,style:v.value},()=>C)])]:[i("div",{class:"q-panel scroll",style:v.value,key:m.value,role:"tabpanel"},[C])]}function B(){if(n.length!==0)return e.animated===!0?[i(lt,{name:u.value},F)]:F()}function D(C){return n=Xn(re(C.default,[])).filter(M=>M.props!==null&&M.props.slot===void 0&&b(M.props.name)===!0),n.length}function R(){return n}return Object.assign(o,{next:y,previous:k,goTo:S}),{panelIndex:l,panelDirectives:f,updatePanelsList:D,updatePanelIndex:V,getPanelContent:B,getEnabledPanels:_,getPanels:R,isValidPanelName:b,keepAliveProps:g,needsUniqueKeepAliveWrapper:x,goToPanelByOffset:L,goToPanel:S,nextPanel:y,previousPanel:k}}var ni=0,wr={fullscreen:Boolean,noRouteFullscreenExit:Boolean},kr=["update:fullscreen","fullscreen"];function qr(){let e=U(),{props:t,emit:o,proxy:r}=e,n,a,l,u=q(!1);Gn(e)===!0&&W(()=>r.$route.fullPath,()=>{t.noRouteFullscreenExit!==!0&&c()}),W(()=>t.fullscreen,h=>{u.value!==h&&d()}),W(u,h=>{o("update:fullscreen",h),o("fullscreen",h)});function d(){u.value===!0?c():f()}function f(){u.value!==!0&&(u.value=!0,l=r.$el.parentNode,l.replaceChild(a,r.$el),document.body.appendChild(r.$el),ni++,ni===1&&document.body.classList.add("q-body--fullscreen-mixin"),n={handler:c},on.add(n))}function c(){u.value===!0&&(n!==void 0&&(on.remove(n),n=void 0),l.replaceChild(r.$el,a),u.value=!1,ni=Math.max(0,ni-1),ni===0&&(document.body.classList.remove("q-body--fullscreen-mixin"),r.$el.scrollIntoView!==void 0&&setTimeout(()=>{r.$el.scrollIntoView()})))}return Hn(()=>{a=document.createElement("span")}),Ne(()=>{t.fullscreen===!0&&f()}),Se(c),Object.assign(r,{toggleFullscreen:d,setFullscreen:f,exitFullscreen:c}),{inFullscreen:u,toggleFullscreen:d}}var yg=["top","right","bottom","left"],Sg=["regular","flat","outline","push","unelevated"],Is=$({name:"QCarousel",props:{..._e,...xr,...wr,transitionPrev:{type:String,default:"fade"},transitionNext:{type:String,default:"fade"},height:String,padding:Boolean,controlColor:String,controlTextColor:String,controlType:{type:String,validator:e=>Sg.includes(e),default:"flat"},autoplay:[Number,Boolean],arrows:Boolean,prevIcon:String,nextIcon:String,navigation:Boolean,navigationPosition:{type:String,validator:e=>yg.includes(e)},navigationIcon:String,navigationActiveIcon:String,thumbnails:Boolean},emits:[...kr,..._r],setup(e,{slots:t}){let{proxy:{$q:o}}=U(),r=Ce(e,o),n=null,a,{updatePanelsList:l,getPanelContent:u,panelDirectives:d,goToPanel:f,previousPanel:c,nextPanel:h,getEnabledPanels:v,panelIndex:m}=Cr(),{inFullscreen:g}=qr(),x=s(()=>g.value!==!0&&e.height!==void 0?{height:e.height}:{}),y=s(()=>e.vertical===!0?"vertical":"horizontal"),k=s(()=>`q-carousel q-panel-parent q-carousel--with${e.padding===!0?"":"out"}-padding`+(g.value===!0?" fullscreen":"")+(r.value===!0?" q-carousel--dark q-dark":"")+(e.arrows===!0?` q-carousel--arrows-${y.value}`:"")+(e.navigation===!0?` q-carousel--navigation-${_.value}`:"")),S=s(()=>{let B=[e.prevIcon||o.iconSet.carousel[e.vertical===!0?"up":"left"],e.nextIcon||o.iconSet.carousel[e.vertical===!0?"down":"right"]];return e.vertical===!1&&o.lang.rtl===!0?B.reverse():B}),b=s(()=>e.navigationIcon||o.iconSet.carousel.navigationIcon),p=s(()=>e.navigationActiveIcon||b.value),_=s(()=>e.navigationPosition||(e.vertical===!0?"right":"bottom")),E=s(()=>({color:e.controlColor,textColor:e.controlTextColor,round:!0,[e.controlType]:!0,dense:!0}));W(()=>e.modelValue,()=>{e.autoplay&&L()}),W(()=>e.autoplay,B=>{B?L():n!==null&&(clearTimeout(n),n=null)});function L(){let B=co(e.autoplay)===!0?Math.abs(e.autoplay):5e3;n!==null&&clearTimeout(n),n=setTimeout(()=>{n=null,B>=0?h():c()},B)}Ne(()=>{e.autoplay&&L()}),Se(()=>{n!==null&&clearTimeout(n)});function V(B,D){return i("div",{class:`q-carousel__control q-carousel__navigation no-wrap absolute flex q-carousel__navigation--${B} q-carousel__navigation--${_.value}`+(e.controlColor!==void 0?` text-${e.controlColor}`:"")},[i("div",{class:"q-carousel__navigation-inner flex flex-center no-wrap"},v().map(D))])}function F(){let B=[];if(e.navigation===!0){let D=t["navigation-icon"]!==void 0?t["navigation-icon"]:C=>i(Ie,{key:"nav"+C.name,class:`q-carousel__navigation-icon q-carousel__navigation-icon--${C.active===!0?"":"in"}active`,...C.btnProps,onClick:C.onClick}),R=a-1;B.push(V("buttons",(C,M)=>{let X=C.props.name,Y=m.value===M;return D({index:M,maxIndex:R,name:X,active:Y,btnProps:{icon:Y===!0?p.value:b.value,size:"sm",...E.value},onClick:()=>{f(X)}})}))}else if(e.thumbnails===!0){let D=e.controlColor!==void 0?` text-${e.controlColor}`:"";B.push(V("thumbnails",R=>{let C=R.props;return i("img",{key:"tmb#"+C.name,class:`q-carousel__thumbnail q-carousel__thumbnail--${C.name===e.modelValue?"":"in"}active`+D,src:C.imgSrc||C["img-src"],onClick:()=>{f(C.name)}})}))}return e.arrows===!0&&m.value>=0&&((e.infinite===!0||m.value>0)&&B.push(i("div",{key:"prev",class:`q-carousel__control q-carousel__arrow q-carousel__prev-arrow q-carousel__prev-arrow--${y.value} absolute flex flex-center`},[i(Ie,{icon:S.value[0],...E.value,onClick:c})])),(e.infinite===!0||m.value<a-1)&&B.push(i("div",{key:"next",class:`q-carousel__control q-carousel__arrow q-carousel__next-arrow q-carousel__next-arrow--${y.value} absolute flex flex-center`},[i(Ie,{icon:S.value[1],...E.value,onClick:h})]))),Ge(t.control,B)}return()=>(a=l(t),i("div",{class:k.value,style:x.value},[Mt("div",{class:"q-carousel__slides-container"},u(),"sl-cont",e.swipeable,()=>d.value)].concat(F())))}});var Hs=$({name:"QCarouselSlide",props:{...Sr,imgSrc:String},setup(e,{slots:t}){let o=s(()=>e.imgSrc?{backgroundImage:`url("${e.imgSrc}")`}:{});return()=>i("div",{class:"q-carousel__slide",style:o.value},re(t.default))}});var Qs=$({name:"QCarouselControl",props:{position:{type:String,default:"bottom-right",validator:e=>["top-right","top-left","bottom-right","bottom-left","top","right","bottom","left"].includes(e)},offset:{type:Array,default:()=>[18,18],validator:e=>e.length===2}},setup(e,{slots:t}){let o=s(()=>`q-carousel__control absolute absolute-${e.position}`),r=s(()=>({margin:`${e.offset[1]}px ${e.offset[0]}px`}));return()=>i("div",{class:o.value,style:r.value},re(t.default))}});var Ns=$({name:"QChatMessage",props:{sent:Boolean,label:String,bgColor:String,textColor:String,name:String,avatar:String,text:Array,stamp:String,size:String,labelHtml:Boolean,nameHtml:Boolean,textHtml:Boolean,stampHtml:Boolean},setup(e,{slots:t}){let o=s(()=>e.sent===!0?"sent":"received"),r=s(()=>`q-message-text-content q-message-text-content--${o.value}`+(e.textColor!==void 0?` text-${e.textColor}`:"")),n=s(()=>`q-message-text q-message-text--${o.value}`+(e.bgColor!==void 0?` text-${e.bgColor}`:"")),a=s(()=>"q-message-container row items-end no-wrap"+(e.sent===!0?" reverse":"")),l=s(()=>e.size!==void 0?`col-${e.size}`:""),u=s(()=>({msg:e.textHtml===!0?"innerHTML":"textContent",stamp:e.stampHtml===!0?"innerHTML":"textContent",name:e.nameHtml===!0?"innerHTML":"textContent",label:e.labelHtml===!0?"innerHTML":"textContent"}));function d(c){return t.stamp!==void 0?[c,i("div",{class:"q-message-stamp"},t.stamp())]:e.stamp?[c,i("div",{class:"q-message-stamp",[u.value.stamp]:e.stamp})]:[c]}function f(c,h){let v=h===!0?c.length>1?m=>m:m=>i("div",[m]):m=>i("div",{[u.value.msg]:m});return c.map((m,g)=>i("div",{key:g,class:n.value},[i("div",{class:r.value},d(v(m)))]))}return()=>{let c=[];t.avatar!==void 0?c.push(t.avatar()):e.avatar!==void 0&&c.push(i("img",{class:`q-message-avatar q-message-avatar--${o.value}`,src:e.avatar,"aria-hidden":"true"}));let h=[];t.name!==void 0?h.push(i("div",{class:`q-message-name q-message-name--${o.value}`},t.name())):e.name!==void 0&&h.push(i("div",{class:`q-message-name q-message-name--${o.value}`,[u.value.name]:e.name})),t.default!==void 0?h.push(f(Xn(t.default()),!0)):e.text!==void 0&&h.push(f(e.text)),c.push(i("div",{class:l.value},h));let v=[];return t.label!==void 0?v.push(i("div",{class:"q-message-label"},t.label())):e.label!==void 0&&v.push(i("div",{class:"q-message-label",[u.value.label]:e.label})),v.push(i("div",{class:a.value},c)),i("div",{class:`q-message q-message-${o.value}`},v)}}});function Gi(e,t){let o=q(null),r=s(()=>e.disable===!0?null:i("span",{ref:o,class:"no-outline",tabindex:-1}));function n(a){let l=t.value;a!==void 0&&a.type.indexOf("key")===0?l!==null&&document.activeElement!==l&&l.contains(document.activeElement)===!0&&l.focus():o.value!==null&&(a===void 0||l!==null&&l.contains(a.target)===!0)&&o.value.focus()}return{refocusTargetEl:r,refocusTarget:n}}var Zi={xs:30,sm:35,md:40,lg:50,xl:60};var Ji={..._e,...Ft,...kt,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]},ea=["update:modelValue"];function ta(e,t){let{props:o,slots:r,emit:n,proxy:a}=U(),{$q:l}=a,u=Ce(o,l),d=q(null),{refocusTargetEl:f,refocusTarget:c}=Gi(o,d),h=Dt(o,Zi),v=s(()=>o.val!==void 0&&Array.isArray(o.modelValue)),m=s(()=>{let R=so(o.val);return v.value===!0?o.modelValue.findIndex(C=>so(C)===R):-1}),g=s(()=>v.value===!0?m.value!==-1:so(o.modelValue)===so(o.trueValue)),x=s(()=>v.value===!0?m.value===-1:so(o.modelValue)===so(o.falseValue)),y=s(()=>g.value===!1&&x.value===!1),k=s(()=>o.disable===!0?-1:o.tabindex||0),S=s(()=>`q-${e} cursor-pointer no-outline row inline no-wrap items-center`+(o.disable===!0?" disabled":"")+(u.value===!0?` q-${e}--dark`:"")+(o.dense===!0?` q-${e}--dense`:"")+(o.leftLabel===!0?" reverse":"")),b=s(()=>{let R=g.value===!0?"truthy":x.value===!0?"falsy":"indet",C=o.color!==void 0&&(o.keepColor===!0||(e==="toggle"?g.value===!0:x.value!==!0))?` text-${o.color}`:"";return`q-${e}__inner relative-position non-selectable q-${e}__inner--${R}${C}`}),p=s(()=>{let R={type:"checkbox"};return o.name!==void 0&&Object.assign(R,{".checked":g.value,"^checked":g.value===!0?"checked":void 0,name:o.name,value:v.value===!0?o.val:o.trueValue}),R}),_=Xt(p),E=s(()=>{let R={tabindex:k.value,role:e==="toggle"?"switch":"checkbox","aria-label":o.label,"aria-checked":y.value===!0?"mixed":g.value===!0?"true":"false"};return o.disable===!0&&(R["aria-disabled"]="true"),R});function L(R){R!==void 0&&(qe(R),c(R)),o.disable!==!0&&n("update:modelValue",V(),R)}function V(){if(v.value===!0){if(g.value===!0){let R=o.modelValue.slice();return R.splice(m.value,1),R}return o.modelValue.concat([o.val])}if(g.value===!0){if(o.toggleOrder!=="ft"||o.toggleIndeterminate===!1)return o.falseValue}else if(x.value===!0){if(o.toggleOrder==="ft"||o.toggleIndeterminate===!1)return o.trueValue}else return o.toggleOrder!=="ft"?o.trueValue:o.falseValue;return o.indeterminateValue}function F(R){(R.keyCode===13||R.keyCode===32)&&qe(R)}function B(R){(R.keyCode===13||R.keyCode===32)&&L(R)}let D=t(g,y);return Object.assign(a,{toggle:L}),()=>{let R=D();o.disable!==!0&&_(R,"unshift",` q-${e}__native absolute q-ma-none q-pa-none`);let C=[i("div",{class:b.value,style:h.value,"aria-hidden":"true"},R)];f.value!==null&&C.push(f.value);let M=o.label!==void 0?Ge(r.default,[o.label]):re(r.default);return M!==void 0&&C.push(i("div",{class:`q-${e}__label q-anchor--skip`},M)),i("div",{ref:d,class:S.value,...E.value,onClick:L,onKeydown:F,onKeyup:B},C)}}var xg=i("div",{key:"svg",class:"q-checkbox__bg absolute"},[i("svg",{class:"q-checkbox__svg fit absolute-full",viewBox:"0 0 24 24"},[i("path",{class:"q-checkbox__truthy",fill:"none",d:"M1.73,12.91 8.1,19.28 22.79,4.59"}),i("path",{class:"q-checkbox__indet",d:"M4,14H20V10H4"})])]),zo=$({name:"QCheckbox",props:Ji,emits:ea,setup(e){function t(o,r){let n=s(()=>(o.value===!0?e.checkedIcon:r.value===!0?e.indeterminateIcon:e.uncheckedIcon)||null);return()=>n.value!==null?[i("div",{key:"icon",class:"q-checkbox__icon-container absolute-full flex flex-center no-wrap"},[i(Pe,{class:"q-checkbox__icon",name:n.value})])]:[xg]}return ta("checkbox",t)}});var _g={xs:8,sm:10,md:14,lg:20,xl:24},Tr=$({name:"QChip",props:{..._e,...Ft,dense:Boolean,icon:String,iconRight:String,iconRemove:String,iconSelected:String,label:[String,Number],color:String,textColor:String,modelValue:{type:Boolean,default:!0},selected:{type:Boolean,default:null},square:Boolean,outline:Boolean,clickable:Boolean,removable:Boolean,removeAriaLabel:String,tabindex:[String,Number],disable:Boolean,ripple:{type:[Boolean,Object],default:!0}},emits:["update:modelValue","update:selected","remove","click"],setup(e,{slots:t,emit:o}){let{proxy:{$q:r}}=U(),n=Ce(e,r),a=Dt(e,_g),l=s(()=>e.selected===!0||e.icon!==void 0),u=s(()=>e.selected===!0?e.iconSelected||r.iconSet.chip.selected:e.icon),d=s(()=>e.iconRemove||r.iconSet.chip.remove),f=s(()=>e.disable===!1&&(e.clickable===!0||e.selected!==null)),c=s(()=>{let y=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}`:"")+(y?` text-${y} 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":"")+(n.value===!0?" q-chip--dark q-dark":"")}),h=s(()=>{let y=e.disable===!0?{tabindex:-1,"aria-disabled":"true"}:{tabindex:e.tabindex||0},k={...y,role:"button","aria-hidden":"false","aria-label":e.removeAriaLabel||r.lang.label.remove};return{chip:y,remove:k}});function v(y){y.keyCode===13&&m(y)}function m(y){e.disable||(o("update:selected",!e.selected),o("click",y))}function g(y){(y.keyCode===void 0||y.keyCode===13)&&(qe(y),e.disable===!1&&(o("update:modelValue",!1),o("remove")))}function x(){let y=[];f.value===!0&&y.push(i("div",{class:"q-focus-helper"})),l.value===!0&&y.push(i(Pe,{class:"q-chip__icon q-chip__icon--left",name:u.value}));let k=e.label!==void 0?[i("div",{class:"ellipsis"},[e.label])]:void 0;return y.push(i("div",{class:"q-chip__content col row no-wrap items-center q-anchor--skip"},Kn(t.default,k))),e.iconRight&&y.push(i(Pe,{class:"q-chip__icon q-chip__icon--right",name:e.iconRight})),e.removable===!0&&y.push(i(Pe,{class:"q-chip__icon q-chip__icon--remove cursor-pointer",name:d.value,...h.value.remove,onClick:g,onKeyup:g})),y}return()=>{if(e.modelValue===!1)return;let y={class:c.value,style:a.value};return f.value===!0&&Object.assign(y,h.value.chip,{onClick:m,onKeyup:v}),Mt("div",y,x(),"ripple",e.ripple!==!1&&e.disable!==!0,()=>[[Ao,e.ripple]])}}});var ri={...Ft,min:{type:Number,default:0},max:{type:Number,default:100},color:String,centerColor:String,trackColor:String,fontSize:String,rounded:Boolean,thickness:{type:Number,default:.2,validator:e=>e>=0&&e<=1},angle:{type:Number,default:0},showValue:Boolean,reverse:Boolean,instantFeedback:Boolean};var Il=50,js=2*Il,Us=js*Math.PI,Cg=Math.round(Us*1e3)/1e3,Mr=$({name:"QCircularProgress",props:{...ri,value:{type:Number,default:0},animationSpeed:{type:[String,Number],default:600},indeterminate:Boolean},setup(e,{slots:t}){let{proxy:{$q:o}}=U(),r=Dt(e),n=s(()=>{let m=(o.lang.rtl===!0?-1:1)*e.angle;return{transform:e.reverse!==(o.lang.rtl===!0)?`scale3d(-1, 1, 1) rotate3d(0, 0, 1, ${-90-m}deg)`:`rotate3d(0, 0, 1, ${m-90}deg)`}}),a=s(()=>e.instantFeedback!==!0&&e.indeterminate!==!0?{transition:`stroke-dashoffset ${e.animationSpeed}ms ease 0s, stroke ${e.animationSpeed}ms ease`}:""),l=s(()=>js/(1-e.thickness/2)),u=s(()=>`${l.value/2} ${l.value/2} ${l.value} ${l.value}`),d=s(()=>ot(e.value,e.min,e.max)),f=s(()=>e.max-e.min),c=s(()=>e.thickness/2*l.value),h=s(()=>{let m=(e.max-d.value)/f.value,g=e.rounded===!0&&d.value<e.max&&m<.25?c.value/2*(1-m/.25):0;return Us*m+g});function v({thickness:m,offset:g,color:x,cls:y,rounded:k}){return i("circle",{class:"q-circular-progress__"+y+(x!==void 0?` text-${x}`:""),style:a.value,fill:"transparent",stroke:"currentColor","stroke-width":m,"stroke-dasharray":Cg,"stroke-dashoffset":g,"stroke-linecap":k,cx:l.value,cy:l.value,r:Il})}return()=>{let m=[];e.centerColor!==void 0&&e.centerColor!=="transparent"&&m.push(i("circle",{class:`q-circular-progress__center text-${e.centerColor}`,fill:"currentColor",r:Il-c.value/2,cx:l.value,cy:l.value})),e.trackColor!==void 0&&e.trackColor!=="transparent"&&m.push(v({cls:"track",thickness:c.value,offset:0,color:e.trackColor})),m.push(v({cls:"circle",thickness:c.value,offset:h.value,color:e.color,rounded:e.rounded===!0?"round":void 0}));let g=[i("svg",{class:"q-circular-progress__svg",style:n.value,viewBox:u.value,"aria-hidden":"true"},m)];return e.showValue===!0&&g.push(i("div",{class:"q-circular-progress__text absolute-full row flex-center content-center",style:{fontSize:e.fontSize}},t.default!==void 0?t.default():[i("div",d.value)])),i("div",{class:`q-circular-progress q-circular-progress--${e.indeterminate===!0?"in":""}determinate`,style:r.value,role:"progressbar","aria-valuemin":e.min,"aria-valuemax":e.max,"aria-valuenow":e.indeterminate===!0?void 0:d.value},Kn(t.internal,g))}}});function Hl(e,t,o){let r=_t(e),n,a=r.left-t.event.x,l=r.top-t.event.y,u=Math.abs(a),d=Math.abs(l),f=t.direction;f.horizontal===!0&&f.vertical!==!0?n=a<0?"left":"right":f.horizontal!==!0&&f.vertical===!0?n=l<0?"up":"down":f.up===!0&&l<0?(n="up",u>d&&(f.left===!0&&a<0?n="left":f.right===!0&&a>0&&(n="right"))):f.down===!0&&l>0?(n="down",u>d&&(f.left===!0&&a<0?n="left":f.right===!0&&a>0&&(n="right"))):f.left===!0&&a<0?(n="left",u<d&&(f.up===!0&&l<0?n="up":f.down===!0&&l>0&&(n="down"))):f.right===!0&&a>0&&(n="right",u<d&&(f.up===!0&&l<0?n="up":f.down===!0&&l>0&&(n="down")));let c=!1;if(n===void 0&&o===!1){if(t.event.isFirst===!0||t.event.lastDir===void 0)return{};n=t.event.lastDir,c=!0,n==="left"||n==="right"?(r.left-=a,u=0,a=0):(r.top-=l,d=0,l=0)}return{synthetic:c,payload:{evt:e,touch:t.event.mouse!==!0,mouse:t.event.mouse===!0,position:r,direction:n,isFirst:t.event.isFirst,isFinal:o===!0,duration:Date.now()-t.event.time,distance:{x:u,y:d},offset:{x:a,y:l},delta:{x:r.left-t.event.lastX,y:r.top-t.event.lastY}}}}var wg=0,Rt=At({name:"touch-pan",beforeMount(e,{value:t,modifiers:o}){if(o.mouse!==!0&&Re.has.touch!==!0)return;function r(a,l){o.mouse===!0&&l===!0?qe(a):(o.stop===!0&&it(a),o.prevent===!0&&ft(a))}let n={uid:"qvtp_"+wg++,handler:t,modifiers:o,direction:br(o),noop:We,mouseStart(a){yr(a,n)&&Ko(a)&&(dt(n,"temp",[[document,"mousemove","move","notPassiveCapture"],[document,"mouseup","end","passiveCapture"]]),n.start(a,!0))},touchStart(a){if(yr(a,n)){let l=a.target;dt(n,"temp",[[l,"touchmove","move","notPassiveCapture"],[l,"touchcancel","end","passiveCapture"],[l,"touchend","end","passiveCapture"]]),n.start(a)}},start(a,l){if(Re.is.firefox===!0&&Wo(e,!0),n.lastEvt=a,l===!0||o.stop===!0){if(n.direction.all!==!0&&(l!==!0||n.modifiers.mouseAllDir!==!0&&n.modifiers.mousealldir!==!0)){let f=a.type.indexOf("mouse")!==-1?new MouseEvent(a.type,a):new TouchEvent(a.type,a);a.defaultPrevented===!0&&ft(f),a.cancelBubble===!0&&it(f),Object.assign(f,{qKeyEvent:a.qKeyEvent,qClickOutside:a.qClickOutside,qAnchorHandled:a.qAnchorHandled,qClonedBy:a.qClonedBy===void 0?[n.uid]:a.qClonedBy.concat(n.uid)}),n.initialEvent={target:a.target,event:f}}it(a)}let{left:u,top:d}=_t(a);n.event={x:u,y:d,time:Date.now(),mouse:l===!0,detected:!1,isFirst:!0,isFinal:!1,lastX:u,lastY:d}},move(a){if(n.event===void 0)return;let l=_t(a),u=l.left-n.event.x,d=l.top-n.event.y;if(u===0&&d===0)return;n.lastEvt=a;let f=n.event.mouse===!0,c=()=>{r(a,f);let m;o.preserveCursor!==!0&&o.preservecursor!==!0&&(m=document.documentElement.style.cursor||"",document.documentElement.style.cursor="grabbing"),f===!0&&document.body.classList.add("no-pointer-events--children"),document.body.classList.add("non-selectable"),Ot(),n.styleCleanup=g=>{if(n.styleCleanup=void 0,m!==void 0&&(document.documentElement.style.cursor=m),document.body.classList.remove("non-selectable"),f===!0){let x=()=>{document.body.classList.remove("no-pointer-events--children")};g!==void 0?setTimeout(()=>{x(),g()},50):x()}else g!==void 0&&g()}};if(n.event.detected===!0){n.event.isFirst!==!0&&r(a,n.event.mouse);let{payload:m,synthetic:g}=Hl(a,n,!1);m!==void 0&&(n.handler(m)===!1?n.end(a):(n.styleCleanup===void 0&&n.event.isFirst===!0&&c(),n.event.lastX=m.position.left,n.event.lastY=m.position.top,n.event.lastDir=g===!0?void 0:m.direction,n.event.isFirst=!1));return}if(n.direction.all===!0||f===!0&&(n.modifiers.mouseAllDir===!0||n.modifiers.mousealldir===!0)){c(),n.event.detected=!0,n.move(a);return}let h=Math.abs(u),v=Math.abs(d);h!==v&&(n.direction.horizontal===!0&&h>v||n.direction.vertical===!0&&h<v||n.direction.up===!0&&h<v&&d<0||n.direction.down===!0&&h<v&&d>0||n.direction.left===!0&&h>v&&u<0||n.direction.right===!0&&h>v&&u>0?(n.event.detected=!0,n.move(a)):n.end(a,!0))},end(a,l){if(n.event!==void 0){if(qt(n,"temp"),Re.is.firefox===!0&&Wo(e,!1),l===!0)n.styleCleanup!==void 0&&n.styleCleanup(),n.event.detected!==!0&&n.initialEvent!==void 0&&n.initialEvent.target.dispatchEvent(n.initialEvent.event);else if(n.event.detected===!0){n.event.isFirst===!0&&n.handler(Hl(a===void 0?n.lastEvt:a,n).payload);let{payload:u}=Hl(a===void 0?n.lastEvt:a,n,!0),d=()=>{n.handler(u)};n.styleCleanup!==void 0?n.styleCleanup(d):d()}n.event=void 0,n.initialEvent=void 0,n.lastEvt=void 0}}};if(e.__qtouchpan=n,o.mouse===!0){let a=o.mouseCapture===!0||o.mousecapture===!0?"Capture":"";dt(n,"main",[[e,"mousedown","mouseStart",`passive${a}`]])}Re.has.touch===!0&&dt(n,"main",[[e,"touchstart","touchStart",`passive${o.capture===!0?"Capture":""}`],[e,"touchmove","noop","notPassiveCapture"]])},updated(e,t){let o=e.__qtouchpan;o!==void 0&&(t.oldValue!==t.value&&(typeof value!="function"&&o.end(),o.handler=t.value),o.direction=br(t.modifiers))},beforeUnmount(e){let t=e.__qtouchpan;t!==void 0&&(t.event!==void 0&&t.end(),qt(t,"main"),qt(t,"temp"),Re.is.firefox===!0&&Wo(e,!1),t.styleCleanup!==void 0&&t.styleCleanup(),delete e.__qtouchpan)}});var Ks="q-slider__marker-labels",kg=e=>({value:e}),qg=({marker:e})=>i("div",{key:e.value,style:e.style,class:e.classes},e.label),ii=[34,37,40,33,39,38],oa={..._e,...kt,min:{type:Number,default:0},max:{type:Number,default:100},innerMin:Number,innerMax:Number,step:{type:Number,default:1,validator:e=>e>=0},snap:Boolean,vertical:Boolean,reverse:Boolean,hideSelection:Boolean,color:String,markerLabelsClass:String,label:Boolean,labelColor:String,labelTextColor:String,labelAlways:Boolean,switchLabelSide:Boolean,markers:[Boolean,Number],markerLabels:[Boolean,Array,Object,Function],switchMarkerLabelsSide:Boolean,trackImg:String,trackColor:String,innerTrackImg:String,innerTrackColor:String,selectionColor:String,selectionImg:String,thumbSize:{type:String,default:"20px"},trackSize:{type:String,default:"4px"},disable:Boolean,readonly:Boolean,dense:Boolean,tabindex:[String,Number],thumbColor:String,thumbPath:{type:String,default:"M 4, 10 a 6,6 0 1,0 12,0 a 6,6 0 1,0 -12,0"}},na=["pan","update:modelValue","change"];function ra({updateValue:e,updatePosition:t,getDragging:o,formAttrs:r}){let{props:n,emit:a,slots:l,proxy:{$q:u}}=U(),d=Ce(n,u),f=Xt(r),c=q(!1),h=q(!1),v=q(!1),m=q(!1),g=s(()=>n.vertical===!0?"--v":"--h"),x=s(()=>"-"+(n.switchLabelSide===!0?"switched":"standard")),y=s(()=>n.vertical===!0?n.reverse===!0:n.reverse!==(u.lang.rtl===!0)),k=s(()=>isNaN(n.innerMin)===!0||n.innerMin<n.min?n.min:n.innerMin),S=s(()=>isNaN(n.innerMax)===!0||n.innerMax>n.max?n.max:n.innerMax),b=s(()=>n.disable!==!0&&n.readonly!==!0&&k.value<S.value),p=s(()=>{if(n.step===0)return ie=>ie;let Z=(String(n.step).trim().split(".")[1]||"").length;return ie=>parseFloat(ie.toFixed(Z))}),_=s(()=>n.step===0?1:n.step),E=s(()=>b.value===!0?n.tabindex||0:-1),L=s(()=>n.max-n.min),V=s(()=>S.value-k.value),F=s(()=>Me(k.value)),B=s(()=>Me(S.value)),D=s(()=>n.vertical===!0?y.value===!0?"bottom":"top":y.value===!0?"right":"left"),R=s(()=>n.vertical===!0?"height":"width"),C=s(()=>n.vertical===!0?"width":"height"),M=s(()=>n.vertical===!0?"vertical":"horizontal"),X=s(()=>{let Z={role:"slider","aria-valuemin":k.value,"aria-valuemax":S.value,"aria-orientation":M.value,"data-step":n.step};return n.disable===!0?Z["aria-disabled"]="true":n.readonly===!0&&(Z["aria-readonly"]="true"),Z}),Y=s(()=>`q-slider q-slider${g.value} q-slider--${c.value===!0?"":"in"}active inline no-wrap `+(n.vertical===!0?"row":"column")+(n.disable===!0?" disabled":" q-slider--enabled"+(b.value===!0?" q-slider--editable":""))+(v.value==="both"?" q-slider--focus":"")+(n.label||n.labelAlways===!0?" q-slider--label":"")+(n.labelAlways===!0?" q-slider--label-always":"")+(d.value===!0?" q-slider--dark":"")+(n.dense===!0?" q-slider--dense q-slider--dense"+g.value:""));function T(Z){let ie="q-slider__"+Z;return`${ie} ${ie}${g.value} ${ie}${g.value}${x.value}`}function j(Z){let ie="q-slider__"+Z;return`${ie} ${ie}${g.value}`}let J=s(()=>{let Z=n.selectionColor||n.color;return"q-slider__selection absolute"+(Z!==void 0?` text-${Z}`:"")}),ce=s(()=>j("markers")+" absolute overflow-hidden"),I=s(()=>j("track-container")),w=s(()=>T("pin")),K=s(()=>T("label")),N=s(()=>T("text-container")),le=s(()=>T("marker-labels-container")+(n.markerLabelsClass!==void 0?` ${n.markerLabelsClass}`:"")),P=s(()=>"q-slider__track relative-position no-outline"+(n.trackColor!==void 0?` bg-${n.trackColor}`:"")),O=s(()=>{let Z={[C.value]:n.trackSize};return n.trackImg!==void 0&&(Z.backgroundImage=`url(${n.trackImg}) !important`),Z}),ae=s(()=>"q-slider__inner absolute"+(n.innerTrackColor!==void 0?` bg-${n.innerTrackColor}`:"")),H=s(()=>{let Z=B.value-F.value,ie={[D.value]:`${100*F.value}%`,[R.value]:Z===0?"2px":`${100*Z}%`};return n.innerTrackImg!==void 0&&(ie.backgroundImage=`url(${n.innerTrackImg}) !important`),ie});function me(Z){let{min:ie,max:Ae,step:Ue}=n,ke=ie+Z*(Ae-ie);if(Ue>0){let tt=(ke-k.value)%Ue;ke+=(Math.abs(tt)>=Ue/2?(tt<0?-1:1)*Ue:0)-tt}return ke=p.value(ke),ot(ke,k.value,S.value)}function Me(Z){return L.value===0?0:(Z-n.min)/L.value}function G(Z,ie){let Ae=_t(Z),Ue=n.vertical===!0?ot((Ae.top-ie.top)/ie.height,0,1):ot((Ae.left-ie.left)/ie.width,0,1);return ot(y.value===!0?1-Ue:Ue,F.value,B.value)}let de=s(()=>co(n.markers)===!0?n.markers:_.value),ge=s(()=>{let Z=[],ie=de.value,Ae=n.max,Ue=n.min;do Z.push(Ue),Ue+=ie;while(Ue<Ae);return Z.push(Ae),Z}),we=s(()=>{let Z=` ${Ks}${g.value}-`;return Ks+`${Z}${n.switchMarkerLabelsSide===!0?"switched":"standard"}${Z}${y.value===!0?"rtl":"ltr"}`}),Le=s(()=>n.markerLabels===!1?null:He(n.markerLabels).map((Z,ie)=>({index:ie,value:Z.value,label:Z.label||Z.value,classes:we.value+(Z.classes!==void 0?" "+Z.classes:""),style:{...Qe(Z.value),...Z.style||{}}}))),fe=s(()=>({markerList:Le.value,markerMap:ue.value,classes:we.value,getStyle:Qe})),Fe=s(()=>{let Z=V.value===0?"2px":100*de.value/V.value;return{...H.value,backgroundSize:n.vertical===!0?`2px ${Z}%`:`${Z}% 2px`}});function He(Z){if(Z===!1)return null;if(Z===!0)return ge.value.map(kg);if(typeof Z=="function")return ge.value.map(Ae=>{let Ue=Z(Ae);return ct(Ue)===!0?{...Ue,value:Ae}:{value:Ae,label:Ue}});let ie=({value:Ae})=>Ae>=n.min&&Ae<=n.max;return Array.isArray(Z)===!0?Z.map(Ae=>ct(Ae)===!0?Ae:{value:Ae}).filter(ie):Object.keys(Z).map(Ae=>{let Ue=Z[Ae],ke=Number(Ae);return ct(Ue)===!0?{...Ue,value:ke}:{value:ke,label:Ue}}).filter(ie)}function Qe(Z){return{[D.value]:`${100*(Z-n.min)/L.value}%`}}let ue=s(()=>{if(n.markerLabels===!1)return null;let Z={};return Le.value.forEach(ie=>{Z[ie.value]=ie}),Z});function ve(){if(l["marker-label-group"]!==void 0)return l["marker-label-group"](fe.value);let Z=l["marker-label"]||qg;return Le.value.map(ie=>Z({marker:ie,...fe.value}))}let ee=s(()=>[[Rt,be,void 0,{[M.value]:!0,prevent:!0,stop:!0,mouse:!0,mouseAllDir:!0}]]);function be(Z){Z.isFinal===!0?(m.value!==void 0&&(t(Z.evt),Z.touch===!0&&e(!0),m.value=void 0,a("pan","end")),c.value=!1,v.value=!1):Z.isFirst===!0?(m.value=o(Z.evt),t(Z.evt),e(),c.value=!0,a("pan","start")):(t(Z.evt),e())}function De(){v.value=!1}function ze(Z){t(Z,o(Z)),e(),h.value=!0,c.value=!0,document.addEventListener("mouseup",Ve,!0)}function Ve(){h.value=!1,c.value=!1,e(!0),De(),document.removeEventListener("mouseup",Ve,!0)}function at(Z){t(Z,o(Z)),e(!0)}function mt(Z){ii.includes(Z.keyCode)&&e(!0)}function vt(Z){if(n.vertical===!0)return null;let ie=u.lang.rtl!==n.reverse?1-Z:Z;return{transform:`translateX(calc(${2*ie-1} * ${n.thumbSize} / 2 + ${50-100*ie}%))`}}function oe(Z){let ie=s(()=>h.value===!1&&(v.value===Z.focusValue||v.value==="both")?" q-slider--focus":""),Ae=s(()=>`q-slider__thumb q-slider__thumb${g.value} q-slider__thumb${g.value}-${y.value===!0?"rtl":"ltr"} absolute non-selectable`+ie.value+(Z.thumbColor.value!==void 0?` text-${Z.thumbColor.value}`:"")),Ue=s(()=>({width:n.thumbSize,height:n.thumbSize,[D.value]:`${100*Z.ratio.value}%`,zIndex:v.value===Z.focusValue?2:void 0})),ke=s(()=>Z.labelColor.value!==void 0?` text-${Z.labelColor.value}`:""),tt=s(()=>vt(Z.ratio.value)),pt=s(()=>"q-slider__text"+(Z.labelTextColor.value!==void 0?` text-${Z.labelTextColor.value}`:""));return()=>{let yt=[i("svg",{class:"q-slider__thumb-shape absolute-full",viewBox:"0 0 20 20","aria-hidden":"true"},[i("path",{d:n.thumbPath})]),i("div",{class:"q-slider__focus-ring fit"})];return(n.label===!0||n.labelAlways===!0)&&(yt.push(i("div",{class:w.value+" absolute fit no-pointer-events"+ke.value},[i("div",{class:K.value,style:{minWidth:n.thumbSize}},[i("div",{class:N.value,style:tt.value},[i("span",{class:pt.value},Z.label.value)])])])),n.name!==void 0&&n.disable!==!0&&f(yt,"push")),i("div",{class:Ae.value,style:Ue.value,...Z.getNodeData()},yt)}}function se(Z,ie,Ae,Ue){let ke=[];n.innerTrackColor!=="transparent"&&ke.push(i("div",{key:"inner",class:ae.value,style:H.value})),n.selectionColor!=="transparent"&&ke.push(i("div",{key:"selection",class:J.value,style:Z.value})),n.markers!==!1&&ke.push(i("div",{key:"marker",class:ce.value,style:Fe.value})),Ue(ke);let tt=[Mt("div",{key:"trackC",class:I.value,tabindex:ie.value,...Ae.value},[i("div",{class:P.value,style:O.value},ke)],"slide",b.value,()=>ee.value)];if(n.markerLabels!==!1){let pt=n.switchMarkerLabelsSide===!0?"unshift":"push";tt[pt](i("div",{key:"markerL",class:le.value},ve()))}return tt}return Se(()=>{document.removeEventListener("mouseup",Ve,!0)}),{state:{active:c,focus:v,preventFocus:h,dragging:m,editable:b,classes:Y,tabindex:E,attributes:X,roundValueFn:p,keyStep:_,trackLen:L,innerMin:k,innerMinRatio:F,innerMax:S,innerMaxRatio:B,positionProp:D,sizeProp:R,isReversed:y},methods:{onActivate:ze,onMobileClick:at,onBlur:De,onKeyup:mt,getContent:se,getThumbRenderFn:oe,convertRatioToModel:me,convertModelToRatio:Me,getDraggingRatio:G}}}var Tg=()=>({}),Zo=$({name:"QSlider",props:{...oa,modelValue:{required:!0,default:null,validator:e=>typeof e=="number"||e===null},labelValue:[String,Number]},emits:na,setup(e,{emit:t}){let{proxy:{$q:o}}=U(),{state:r,methods:n}=ra({updateValue:g,updatePosition:y,getDragging:x,formAttrs:Vo(e)}),a=q(null),l=q(0),u=q(0);function d(){u.value=e.modelValue===null?r.innerMin.value:ot(e.modelValue,r.innerMin.value,r.innerMax.value)}W(()=>`${e.modelValue}|${r.innerMin.value}|${r.innerMax.value}`,d),d();let f=s(()=>n.convertModelToRatio(u.value)),c=s(()=>r.active.value===!0?l.value:f.value),h=s(()=>{let b={[r.positionProp.value]:`${100*r.innerMinRatio.value}%`,[r.sizeProp.value]:`${100*(c.value-r.innerMinRatio.value)}%`};return e.selectionImg!==void 0&&(b.backgroundImage=`url(${e.selectionImg}) !important`),b}),v=n.getThumbRenderFn({focusValue:!0,getNodeData:Tg,ratio:c,label:s(()=>e.labelValue!==void 0?e.labelValue:u.value),thumbColor:s(()=>e.thumbColor||e.color),labelColor:s(()=>e.labelColor),labelTextColor:s(()=>e.labelTextColor)}),m=s(()=>r.editable.value!==!0?{}:o.platform.is.mobile===!0?{onClick:n.onMobileClick}:{onMousedown:n.onActivate,onFocus:k,onBlur:n.onBlur,onKeydown:S,onKeyup:n.onKeyup});function g(b){u.value!==e.modelValue&&t("update:modelValue",u.value),b===!0&&t("change",u.value)}function x(){return a.value.getBoundingClientRect()}function y(b,p=r.dragging.value){let _=n.getDraggingRatio(b,p);u.value=n.convertRatioToModel(_),l.value=e.snap!==!0||e.step===0?_:n.convertModelToRatio(u.value)}function k(){r.focus.value=!0}function S(b){if(!ii.includes(b.keyCode))return;qe(b);let p=([34,33].includes(b.keyCode)?10:1)*r.keyStep.value,_=([34,37,40].includes(b.keyCode)?-1:1)*(r.isReversed.value===!0?-1:1)*(e.vertical===!0?-1:1)*p;u.value=ot(r.roundValueFn.value(u.value+_),r.innerMin.value,r.innerMax.value),g()}return()=>{let b=n.getContent(h,r.tabindex,m,p=>{p.push(v())});return i("div",{ref:a,class:r.classes.value+(e.modelValue===null?" q-slider--no-value":""),...r.attributes.value,"aria-valuenow":e.modelValue},b)}}});function Rr(){let e=q(!xt.value);return e.value===!1&&Ne(()=>{e.value=!0}),{isHydrated:e}}var Ys=typeof ResizeObserver<"u",Ws=Ys===!0?{}:{style:"display:block;position:absolute;top:0;left:0;right:0;bottom:0;height:100%;width:100%;overflow:hidden;pointer-events:none;z-index:-1;",url:"about:blank"},to=$({name:"QResizeObserver",props:{debounce:{type:[String,Number],default:100}},emits:["resize"],setup(e,{emit:t}){let o=null,r,n={width:-1,height:-1};function a(d){d===!0||e.debounce===0||e.debounce==="0"?l():o===null&&(o=setTimeout(l,e.debounce))}function l(){if(o!==null&&(clearTimeout(o),o=null),r){let{offsetWidth:d,offsetHeight:f}=r;(d!==n.width||f!==n.height)&&(n={width:d,height:f},t("resize",n))}}let{proxy:u}=U();if(u.trigger=a,Ys===!0){let d,f=c=>{r=u.$el.parentNode,r?(d=new ResizeObserver(a),d.observe(r),l()):c!==!0&&$e(()=>{f(!0)})};return Ne(()=>{f()}),Se(()=>{o!==null&&clearTimeout(o),d!==void 0&&(d.disconnect!==void 0?d.disconnect():r&&d.unobserve(r))}),We}else{let c=function(){o!==null&&(clearTimeout(o),o=null),f!==void 0&&(f.removeEventListener!==void 0&&f.removeEventListener("resize",a,et.passive),f=void 0)},h=function(){c(),r&&r.contentDocument&&(f=r.contentDocument.defaultView,f.addEventListener("resize",a,et.passive),l())},{isHydrated:d}=Rr(),f;return Ne(()=>{$e(()=>{r=u.$el,r&&h()})}),Se(c),()=>{if(d.value===!0)return i("object",{class:"q--avoid-card-border",style:Ws.style,tabindex:-1,type:"text/html",data:Ws.url,"aria-hidden":"true",onLoad:h})}}}});var An=!1;{let e=document.createElement("div");e.setAttribute("dir","rtl"),Object.assign(e.style,{width:"1px",height:"1px",overflow:"auto"});let t=document.createElement("div");Object.assign(t.style,{width:"1000px",height:"1px"}),document.body.appendChild(e),e.appendChild(t),e.scrollLeft=-1e3,An=e.scrollLeft>=0,e.remove()}function Mg(e,t,o){let r=o===!0?["left","right"]:["top","bottom"];return`absolute-${t===!0?r[0]:r[1]}${e?` text-${e}`:""}`}var Rg=["left","center","right","justify"],ai=$({name:"QTabs",props:{modelValue:[Number,String],align:{type:String,default:"center",validator:e=>Rg.includes(e)},breakpoint:{type:[String,Number],default:600},vertical:Boolean,shrink:Boolean,stretch:Boolean,activeClass:String,activeColor:String,activeBgColor:String,indicatorColor:String,leftIcon:String,rightIcon:String,outsideArrows:Boolean,mobileArrows:Boolean,switchIndicator:Boolean,narrowIndicator:Boolean,inlineLabel:Boolean,noCaps:Boolean,dense:Boolean,contentClass:String,"onUpdate:modelValue":[Function,Array]},setup(e,{slots:t,emit:o}){let{proxy:r}=U(),{$q:n}=r,{registerTick:a}=po(),{registerTick:l}=po(),{registerTick:u}=po(),{registerTimeout:d,removeTimeout:f}=Yt(),{registerTimeout:c,removeTimeout:h}=Yt(),v=q(null),m=q(null),g=q(e.modelValue),x=q(!1),y=q(!0),k=q(!1),S=q(!1),b=[],p=q(0),_=q(!1),E=null,L=null,V,F=s(()=>({activeClass:e.activeClass,activeColor:e.activeColor,activeBgColor:e.activeBgColor,indicatorClass:Mg(e.indicatorColor,e.switchIndicator,e.vertical),narrowIndicator:e.narrowIndicator,inlineLabel:e.inlineLabel,noCaps:e.noCaps})),B=s(()=>{let ue=p.value,ve=g.value;for(let ee=0;ee<ue;ee++)if(b[ee].name.value===ve)return!0;return!1}),D=s(()=>`q-tabs__content--align-${x.value===!0?"left":S.value===!0?"justify":e.align}`),R=s(()=>`q-tabs row no-wrap items-center q-tabs--${x.value===!0?"":"not-"}scrollable q-tabs--${e.vertical===!0?"vertical":"horizontal"} q-tabs__arrows--${e.outsideArrows===!0?"outside":"inside"} q-tabs--mobile-with${e.mobileArrows===!0?"":"out"}-arrows`+(e.dense===!0?" q-tabs--dense":"")+(e.shrink===!0?" col-shrink":"")+(e.stretch===!0?" self-stretch":"")),C=s(()=>"q-tabs__content scroll--mobile row no-wrap items-center self-stretch hide-scrollbar relative-position "+D.value+(e.contentClass!==void 0?` ${e.contentClass}`:"")),M=s(()=>e.vertical===!0?{container:"height",content:"offsetHeight",scroll:"scrollHeight"}:{container:"width",content:"offsetWidth",scroll:"scrollWidth"}),X=s(()=>e.vertical!==!0&&n.lang.rtl===!0),Y=s(()=>An===!1&&X.value===!0);W(X,w),W(()=>e.modelValue,ue=>{T({name:ue,setCurrent:!0,skipEmit:!0})}),W(()=>e.outsideArrows,j);function T({name:ue,setCurrent:ve,skipEmit:ee}){g.value!==ue&&(ee!==!0&&e["onUpdate:modelValue"]!==void 0&&o("update:modelValue",ue),(ve===!0||e["onUpdate:modelValue"]===void 0)&&(ce(g.value,ue),g.value=ue))}function j(){a(()=>{J({width:v.value.offsetWidth,height:v.value.offsetHeight})})}function J(ue){if(M.value===void 0||m.value===null)return;let ve=ue[M.value.container],ee=Math.min(m.value[M.value.scroll],Array.prototype.reduce.call(m.value.children,(De,ze)=>De+(ze[M.value.content]||0),0)),be=ve>0&&ee>ve;x.value=be,be===!0&&l(w),S.value=ve<parseInt(e.breakpoint,10)}function ce(ue,ve){let ee=ue!=null&&ue!==""?b.find(De=>De.name.value===ue):null,be=ve!=null&&ve!==""?b.find(De=>De.name.value===ve):null;if(ee&&be){let De=ee.tabIndicatorRef.value,ze=be.tabIndicatorRef.value;E!==null&&(clearTimeout(E),E=null),De.style.transition="none",De.style.transform="none",ze.style.transition="none",ze.style.transform="none";let Ve=De.getBoundingClientRect(),at=ze.getBoundingClientRect();ze.style.transform=e.vertical===!0?`translate3d(0,${Ve.top-at.top}px,0) scale3d(1,${at.height?Ve.height/at.height:1},1)`:`translate3d(${Ve.left-at.left}px,0,0) scale3d(${at.width?Ve.width/at.width:1},1,1)`,u(()=>{E=setTimeout(()=>{E=null,ze.style.transition="transform .25s cubic-bezier(.4, 0, .2, 1)",ze.style.transform="none"},70)})}be&&x.value===!0&&I(be.rootRef.value)}function I(ue){let{left:ve,width:ee,top:be,height:De}=m.value.getBoundingClientRect(),ze=ue.getBoundingClientRect(),Ve=e.vertical===!0?ze.top-be:ze.left-ve;if(Ve<0){m.value[e.vertical===!0?"scrollTop":"scrollLeft"]+=Math.floor(Ve),w();return}Ve+=e.vertical===!0?ze.height-De:ze.width-ee,Ve>0&&(m.value[e.vertical===!0?"scrollTop":"scrollLeft"]+=Math.ceil(Ve),w())}function w(){let ue=m.value;if(ue===null)return;let ve=ue.getBoundingClientRect(),ee=e.vertical===!0?ue.scrollTop:Math.abs(ue.scrollLeft);X.value===!0?(y.value=Math.ceil(ee+ve.width)<ue.scrollWidth-1,k.value=ee>0):(y.value=ee>0,k.value=e.vertical===!0?Math.ceil(ee+ve.height)<ue.scrollHeight:Math.ceil(ee+ve.width)<ue.scrollWidth)}function K(ue){L!==null&&clearInterval(L),L=setInterval(()=>{H(ue)===!0&&P()},5)}function N(){K(Y.value===!0?Number.MAX_SAFE_INTEGER:0)}function le(){K(Y.value===!0?0:Number.MAX_SAFE_INTEGER)}function P(){L!==null&&(clearInterval(L),L=null)}function O(ue,ve){let ee=Array.prototype.filter.call(m.value.children,at=>at===ve||at.matches&&at.matches(".q-tab.q-focusable")===!0),be=ee.length;if(be===0)return;if(ue===36)return I(ee[0]),ee[0].focus(),!0;if(ue===35)return I(ee[be-1]),ee[be-1].focus(),!0;let De=ue===(e.vertical===!0?38:37),ze=ue===(e.vertical===!0?40:39),Ve=De===!0?-1:ze===!0?1:void 0;if(Ve!==void 0){let at=X.value===!0?-1:1,mt=ee.indexOf(ve)+Ve*at;return mt>=0&&mt<be&&(I(ee[mt]),ee[mt].focus({preventScroll:!0})),!0}}let ae=s(()=>Y.value===!0?{get:ue=>Math.abs(ue.scrollLeft),set:(ue,ve)=>{ue.scrollLeft=-ve}}:e.vertical===!0?{get:ue=>ue.scrollTop,set:(ue,ve)=>{ue.scrollTop=ve}}:{get:ue=>ue.scrollLeft,set:(ue,ve)=>{ue.scrollLeft=ve}});function H(ue){let ve=m.value,{get:ee,set:be}=ae.value,De=!1,ze=ee(ve),Ve=ue<ze?-1:1;return ze+=Ve*5,ze<0?(De=!0,ze=0):(Ve===-1&&ze<=ue||Ve===1&&ze>=ue)&&(De=!0,ze=ue),be(ve,ze),w(),De}function me(ue,ve){for(let ee in ue)if(ue[ee]!==ve[ee])return!1;return!0}function Me(){let ue=null,ve={matchedLen:0,queryDiff:9999,hrefLen:0},ee=b.filter(Ve=>Ve.routeData!==void 0&&Ve.routeData.hasRouterLink.value===!0),{hash:be,query:De}=r.$route,ze=Object.keys(De).length;for(let Ve of ee){let at=Ve.routeData.exact.value===!0;if(Ve.routeData[at===!0?"linkIsExactActive":"linkIsActive"].value!==!0)continue;let{hash:mt,query:vt,matched:oe,href:se}=Ve.routeData.resolvedLink.value,Z=Object.keys(vt).length;if(at===!0){if(mt!==be||Z!==ze||me(De,vt)===!1)continue;ue=Ve.name.value;break}if(mt!==""&&mt!==be||Z!==0&&me(vt,De)===!1)continue;let ie={matchedLen:oe.length,queryDiff:ze-Z,hrefLen:se.length-mt.length};if(ie.matchedLen>ve.matchedLen){ue=Ve.name.value,ve=ie;continue}else if(ie.matchedLen!==ve.matchedLen)continue;if(ie.queryDiff<ve.queryDiff)ue=Ve.name.value,ve=ie;else if(ie.queryDiff!==ve.queryDiff)continue;ie.hrefLen>ve.hrefLen&&(ue=Ve.name.value,ve=ie)}ue===null&&b.some(Ve=>Ve.routeData===void 0&&Ve.name.value===g.value)===!0||T({name:ue,setCurrent:!0})}function G(ue){if(f(),_.value!==!0&&v.value!==null&&ue.target&&typeof ue.target.closest=="function"){let ve=ue.target.closest(".q-tab");ve&&v.value.contains(ve)===!0&&(_.value=!0,x.value===!0&&I(ve))}}function de(){d(()=>{_.value=!1},30)}function ge(){Fe.avoidRouteWatcher===!1?c(Me):h()}function we(){if(V===void 0){let ue=W(()=>r.$route.fullPath,ge);V=()=>{ue(),V=void 0}}}function Le(ue){b.push(ue),p.value++,j(),ue.routeData===void 0||r.$route===void 0?c(()=>{if(x.value===!0){let ve=g.value,ee=ve!=null&&ve!==""?b.find(be=>be.name.value===ve):null;ee&&I(ee.rootRef.value)}}):(we(),ue.routeData.hasRouterLink.value===!0&&ge())}function fe(ue){b.splice(b.indexOf(ue),1),p.value--,j(),V!==void 0&&ue.routeData!==void 0&&(b.every(ve=>ve.routeData===void 0)===!0&&V(),ge())}let Fe={currentModel:g,tabProps:F,hasFocus:_,hasActiveTab:B,registerTab:Le,unregisterTab:fe,verifyRouteModel:ge,updateModel:T,onKbdNavigate:O,avoidRouteWatcher:!1};Nt(Ai,Fe);function He(){E!==null&&clearTimeout(E),P(),V!==void 0&&V()}let Qe;return Se(He),Pt(()=>{Qe=V!==void 0,He()}),Qt(()=>{Qe===!0&&we(),j()}),()=>i("div",{ref:v,class:R.value,role:"tablist",onFocusin:G,onFocusout:de},[i(to,{onResize:J}),i("div",{ref:m,class:C.value,onScroll:w},re(t.default)),i(Pe,{class:"q-tabs__arrow q-tabs__arrow--left absolute q-tab__icon"+(y.value===!0?"":" q-tabs__arrow--faded"),name:e.leftIcon||n.iconSet.tabs[e.vertical===!0?"up":"left"],onMousedownPassive:N,onTouchstartPassive:N,onMouseupPassive:P,onMouseleavePassive:P,onTouchendPassive:P}),i(Pe,{class:"q-tabs__arrow q-tabs__arrow--right absolute q-tab__icon"+(k.value===!0?"":" q-tabs__arrow--faded"),name:e.rightIcon||n.iconSet.tabs[e.vertical===!0?"down":"right"],onMousedownPassive:le,onTouchstartPassive:le,onMouseupPassive:P,onMouseleavePassive:P,onTouchendPassive:P})])}});var Pg=0,ia=["click","keydown"],aa={icon:String,label:[Number,String],alert:[Boolean,String],alertIcon:String,name:{type:[Number,String],default:()=>`t_${Pg++}`},noCaps:Boolean,tabindex:[String,Number],disable:Boolean,contentClass:String,ripple:{type:[Boolean,Object],default:!0}};function la(e,t,o,r){let n=ht(Ai,Je);if(n===Je)return console.error("QTab/QRouteTab component needs to be child of QTabs"),Je;let{proxy:a}=U(),l=q(null),u=q(null),d=q(null),f=s(()=>e.disable===!0||e.ripple===!1?!1:Object.assign({keyCodes:[13,32],early:!0},e.ripple===!0?{}:e.ripple)),c=s(()=>n.currentModel.value===e.name),h=s(()=>"q-tab relative-position self-stretch flex flex-center text-center"+(c.value===!0?" q-tab--active"+(n.tabProps.value.activeClass?" "+n.tabProps.value.activeClass:"")+(n.tabProps.value.activeColor?` text-${n.tabProps.value.activeColor}`:"")+(n.tabProps.value.activeBgColor?` bg-${n.tabProps.value.activeBgColor}`:""):" q-tab--inactive")+(e.icon&&e.label&&n.tabProps.value.inlineLabel===!1?" q-tab--full":"")+(e.noCaps===!0||n.tabProps.value.noCaps===!0?" q-tab--no-caps":"")+(e.disable===!0?" disabled":" q-focusable q-hoverable cursor-pointer")+(r!==void 0?r.linkClass.value:"")),v=s(()=>"q-tab__content self-stretch flex-center relative-position q-anchor--skip non-selectable "+(n.tabProps.value.inlineLabel===!0?"row no-wrap q-tab__content--inline":"column")+(e.contentClass!==void 0?` ${e.contentClass}`:"")),m=s(()=>e.disable===!0||n.hasFocus.value===!0||c.value===!1&&n.hasActiveTab.value===!0?-1:e.tabindex||0);function g(b,p){if(p!==!0&&l.value!==null&&l.value.focus(),e.disable===!0){r!==void 0&&r.hasRouterLink.value===!0&&qe(b);return}if(r===void 0){n.updateModel({name:e.name}),o("click",b);return}if(r.hasRouterLink.value===!0){let _=(E={})=>{let L,V=E.to===void 0||Kt(E.to,e.to)===!0?n.avoidRouteWatcher=Fo():null;return r.navigateToRouterLink(b,{...E,returnRouterError:!0}).catch(F=>{L=F}).then(F=>{if(V===n.avoidRouteWatcher&&(n.avoidRouteWatcher=!1,L===void 0&&(F===void 0||F.message!==void 0&&F.message.startsWith("Avoided redundant navigation")===!0)&&n.updateModel({name:e.name})),E.returnRouterError===!0)return L!==void 0?Promise.reject(L):F})};o("click",b,_),b.defaultPrevented!==!0&&_();return}o("click",b)}function x(b){Tt(b,[13,32])?g(b,!0):no(b)!==!0&&b.keyCode>=35&&b.keyCode<=40&&b.altKey!==!0&&b.metaKey!==!0&&n.onKbdNavigate(b.keyCode,a.$el)===!0&&qe(b),o("keydown",b)}function y(){let b=n.tabProps.value.narrowIndicator,p=[],_=i("div",{ref:d,class:["q-tab__indicator",n.tabProps.value.indicatorClass]});e.icon!==void 0&&p.push(i(Pe,{class:"q-tab__icon",name:e.icon})),e.label!==void 0&&p.push(i("div",{class:"q-tab__label"},e.label)),e.alert!==!1&&p.push(e.alertIcon!==void 0?i(Pe,{class:"q-tab__alert-icon",color:e.alert!==!0?e.alert:void 0,name:e.alertIcon}):i("div",{class:"q-tab__alert"+(e.alert!==!0?` text-${e.alert}`:"")})),b===!0&&p.push(_);let E=[i("div",{class:"q-focus-helper",tabindex:-1,ref:l}),i("div",{class:v.value},Ge(t.default,p))];return b===!1&&E.push(_),E}let k={name:s(()=>e.name),rootRef:u,tabIndicatorRef:d,routeData:r};Se(()=>{n.unregisterTab(k)}),Ne(()=>{n.registerTab(k)});function S(b,p){let _={ref:u,class:h.value,tabindex:m.value,role:"tab","aria-selected":c.value===!0?"true":"false","aria-disabled":e.disable===!0?"true":void 0,onClick:g,onKeydown:x,...p};return Et(i(b,_,y()),[[Ao,f.value]])}return{renderTab:S,$tabs:n}}var cn=$({name:"QTab",props:aa,emits:ia,setup(e,{slots:t,emit:o}){let{renderTab:r}=la(e,t,o);return()=>r("div")}});var ua=$({name:"QTabPanels",props:{...xr,..._e},emits:_r,setup(e,{slots:t}){let o=U(),r=Ce(e,o.proxy.$q),{updatePanelsList:n,getPanelContent:a,panelDirectives:l}=Cr(),u=s(()=>"q-tab-panels q-panel-parent"+(r.value===!0?" q-tab-panels--dark q-dark":""));return()=>(n(t),Mt("div",{class:u.value},a(),"pan",e.swipeable,()=>l.value))}});var Pr=$({name:"QTabPanel",props:Sr,setup(e,{slots:t}){return()=>i("div",{class:"q-tab-panel",role:"tabpanel"},re(t.default))}});var Xs=/^#[0-9a-fA-F]{3}([0-9a-fA-F]{3})?$/,Gs=/^#[0-9a-fA-F]{4}([0-9a-fA-F]{4})?$/,Zs=/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/,sa=/^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])\)$/,ca=/^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)\)$/,$n={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=>Xs.test(e),hexaColor:e=>Gs.test(e),hexOrHexaColor:e=>Zs.test(e),rgbColor:e=>sa.test(e),rgbaColor:e=>ca.test(e),rgbOrRgbaColor:e=>sa.test(e)||ca.test(e),hexOrRgbColor:e=>Xs.test(e)||sa.test(e),hexaOrRgbaColor:e=>Gs.test(e)||ca.test(e),anyColor:e=>Zs.test(e)||sa.test(e)||ca.test(e)},Js={testPattern:$n};var Ag=/^rgb(a)?\((\d{1,3}),(\d{1,3}),(\d{1,3}),?([01]?\.?\d*?)?\)$/;function En({r:e,g:t,b:o,a:r}){let n=r!==void 0;if(e=Math.round(e),t=Math.round(t),o=Math.round(o),e>255||t>255||o>255||n&&r>100)throw new TypeError("Expected 3 numbers below 256 (and optionally one below 100)");return r=n?(Math.round(255*r/100)|256).toString(16).slice(1):"","#"+(o|t<<8|e<<16|1<<24).toString(16).slice(1)+r}function Ql({r:e,g:t,b:o,a:r}){return`rgb${r!==void 0?"a":""}(${e},${t},${o}${r!==void 0?","+r/100:""})`}function da(e){if(typeof e!="string")throw new TypeError("Expected a string");e=e.replace(/^#/,""),e.length===3?e=e[0]+e[0]+e[1]+e[1]+e[2]+e[2]:e.length===4&&(e=e[0]+e[0]+e[1]+e[1]+e[2]+e[2]+e[3]+e[3]);let t=parseInt(e,16);return e.length>6?{r:t>>24&255,g:t>>16&255,b:t>>8&255,a:Math.round((t&255)/2.55)}:{r:t>>16,g:t>>8&255,b:t&255}}function fa({h:e,s:t,v:o,a:r}){let n,a,l;t=t/100,o=o/100,e=e/360;let u=Math.floor(e*6),d=e*6-u,f=o*(1-t),c=o*(1-d*t),h=o*(1-(1-d)*t);switch(u%6){case 0:n=o,a=h,l=f;break;case 1:n=c,a=o,l=f;break;case 2:n=f,a=o,l=h;break;case 3:n=f,a=c,l=o;break;case 4:n=h,a=f,l=o;break;case 5:n=o,a=f,l=c;break}return{r:Math.round(n*255),g:Math.round(a*255),b:Math.round(l*255),a:r}}function li({r:e,g:t,b:o,a:r}){let n=Math.max(e,t,o),a=Math.min(e,t,o),l=n-a,u=n===0?0:l/n,d=n/255,f;switch(n){case a:f=0;break;case e:f=t-o+l*(t<o?6:0),f/=6*l;break;case t:f=o-e+l*2,f/=6*l;break;case o:f=e-t+l*4,f/=6*l;break}return{h:Math.round(f*360),s:Math.round(u*100),v:Math.round(d*100),a:r}}function Oo(e){if(typeof e!="string")throw new TypeError("Expected a string");let t=e.replace(/ /g,""),o=Ag.exec(t);if(o===null)return da(t);let r={r:Math.min(255,parseInt(o[2],10)),g:Math.min(255,parseInt(o[3],10)),b:Math.min(255,parseInt(o[4],10))};if(o[1]){let n=parseFloat(o[5]);r.a=Math.min(1,isNaN(n)===!0?1:n)*100}return r}function $g(e,t){if(typeof e!="string")throw new TypeError("Expected a string as color");if(typeof t!="number")throw new TypeError("Expected a numeric percent");let o=Oo(e),r=t<0?0:255,n=Math.abs(t)/100,a=o.r,l=o.g,u=o.b;return"#"+(16777216+(Math.round((r-a)*n)+a)*65536+(Math.round((r-l)*n)+l)*256+(Math.round((r-u)*n)+u)).toString(16).slice(1)}function Nl(e){if(typeof e!="string"&&(!e||e.r===void 0))throw new TypeError("Expected a string or a {r, g, b} object as color");let t=typeof e=="string"?Oo(e):e,o=t.r/255,r=t.g/255,n=t.b/255,a=o<=.03928?o/12.92:Math.pow((o+.055)/1.055,2.4),l=r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4),u=n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4);return .2126*a+.7152*l+.0722*u}function Eg(e){if(typeof e!="string"&&(!e||e.r===void 0))throw new TypeError("Expected a string or a {r, g, b} object as color");let t=typeof e=="string"?Oo(e):e;return(t.r*299+t.g*587+t.b*114)/1e3}function Bg(e,t){if(typeof e!="string"&&(!e||e.r===void 0))throw new TypeError("Expected a string or a {r, g, b[, a]} object as fgColor");if(typeof t!="string"&&(!t||t.r===void 0))throw new TypeError("Expected a string or a {r, g, b[, a]} object as bgColor");let o=typeof e=="string"?Oo(e):e,r=o.r/255,n=o.g/255,a=o.b/255,l=o.a!==void 0?o.a/100:1,u=typeof t=="string"?Oo(t):t,d=u.r/255,f=u.g/255,c=u.b/255,h=u.a!==void 0?u.a/100:1,v=l+h*(1-l),m=Math.round((r*l+d*h*(1-l))/v*255),g=Math.round((n*l+f*h*(1-l))/v*255),x=Math.round((a*l+c*h*(1-l))/v*255),y={r:m,g,b:x,a:Math.round(v*100)};return typeof e=="string"?En(y):y}function Lg(e,t){if(typeof e!="string")throw new TypeError("Expected a string as color");if(t===void 0||t<-1||t>1)throw new TypeError("Expected offset to be between -1 and 1");let{r:o,g:r,b:n,a}=Oo(e),l=a!==void 0?a/100:0;return En({r:o,g:r,b:n,a:Math.round(Math.min(1,Math.max(0,l+t))*100)})}function Fg(e){if(typeof e!="string")throw new TypeError("Expected a string as color");let t=document.createElement("div");t.className=`text-${e} invisible fixed no-pointer-events`,document.body.appendChild(t);let o=getComputedStyle(t).getPropertyValue("color");return t.remove(),En(Oo(o))}var ec={rgbToHex:En,hexToRgb:da,hsvToRgb:fa,rgbToHsv:li,textToRgb:Oo,lighten:$g,luminosity:Nl,brightness:Eg,blend:Bg,changeAlpha:Lg,getPaletteColor:Fg};var Dg=["rgb(255,204,204)","rgb(255,230,204)","rgb(255,255,204)","rgb(204,255,204)","rgb(204,255,230)","rgb(204,255,255)","rgb(204,230,255)","rgb(204,204,255)","rgb(230,204,255)","rgb(255,204,255)","rgb(255,153,153)","rgb(255,204,153)","rgb(255,255,153)","rgb(153,255,153)","rgb(153,255,204)","rgb(153,255,255)","rgb(153,204,255)","rgb(153,153,255)","rgb(204,153,255)","rgb(255,153,255)","rgb(255,102,102)","rgb(255,179,102)","rgb(255,255,102)","rgb(102,255,102)","rgb(102,255,179)","rgb(102,255,255)","rgb(102,179,255)","rgb(102,102,255)","rgb(179,102,255)","rgb(255,102,255)","rgb(255,51,51)","rgb(255,153,51)","rgb(255,255,51)","rgb(51,255,51)","rgb(51,255,153)","rgb(51,255,255)","rgb(51,153,255)","rgb(51,51,255)","rgb(153,51,255)","rgb(255,51,255)","rgb(255,0,0)","rgb(255,128,0)","rgb(255,255,0)","rgb(0,255,0)","rgb(0,255,128)","rgb(0,255,255)","rgb(0,128,255)","rgb(0,0,255)","rgb(128,0,255)","rgb(255,0,255)","rgb(245,0,0)","rgb(245,123,0)","rgb(245,245,0)","rgb(0,245,0)","rgb(0,245,123)","rgb(0,245,245)","rgb(0,123,245)","rgb(0,0,245)","rgb(123,0,245)","rgb(245,0,245)","rgb(214,0,0)","rgb(214,108,0)","rgb(214,214,0)","rgb(0,214,0)","rgb(0,214,108)","rgb(0,214,214)","rgb(0,108,214)","rgb(0,0,214)","rgb(108,0,214)","rgb(214,0,214)","rgb(163,0,0)","rgb(163,82,0)","rgb(163,163,0)","rgb(0,163,0)","rgb(0,163,82)","rgb(0,163,163)","rgb(0,82,163)","rgb(0,0,163)","rgb(82,0,163)","rgb(163,0,163)","rgb(92,0,0)","rgb(92,46,0)","rgb(92,92,0)","rgb(0,92,0)","rgb(0,92,46)","rgb(0,92,92)","rgb(0,46,92)","rgb(0,0,92)","rgb(46,0,92)","rgb(92,0,92)","rgb(255,255,255)","rgb(205,205,205)","rgb(178,178,178)","rgb(153,153,153)","rgb(127,127,127)","rgb(102,102,102)","rgb(76,76,76)","rgb(51,51,51)","rgb(25,25,25)","rgb(0,0,0)"],tc="M5 5 h10 v10 h-10 v-10 z",Vg="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAAH0lEQVQoU2NkYGAwZkAFZ5G5jPRRgOYEVDeB3EBjBQBOZwTVugIGyAAAAABJRU5ErkJggg==",oc=$({name:"QColor",props:{..._e,...kt,modelValue:String,defaultValue:String,defaultView:{type:String,default:"spectrum",validator:e=>["spectrum","tune","palette"].includes(e)},formatModel:{type:String,default:"auto",validator:e=>["auto","hex","rgb","hexa","rgba"].includes(e)},palette:Array,noHeader:Boolean,noHeaderTabs:Boolean,noFooter:Boolean,square:Boolean,flat:Boolean,bordered:Boolean,disable:Boolean,readonly:Boolean},emits:["update:modelValue","change"],setup(e,{emit:t}){let{proxy:o}=U(),{$q:r}=o,n=Ce(e,r),{getCache:a}=bo(),l=q(null),u=q(null),d=s(()=>e.formatModel==="auto"?null:e.formatModel.indexOf("hex")!==-1),f=s(()=>e.formatModel==="auto"?null:e.formatModel.indexOf("a")!==-1),c=q(e.formatModel==="auto"?e.modelValue===void 0||e.modelValue===null||e.modelValue===""||e.modelValue.startsWith("#")?"hex":"rgb":e.formatModel.startsWith("hex")?"hex":"rgb"),h=q(e.defaultView),v=q(R(e.modelValue||e.defaultValue)),m=s(()=>e.disable!==!0&&e.readonly!==!0),g=s(()=>e.modelValue===void 0||e.modelValue===null||e.modelValue===""||e.modelValue.startsWith("#")),x=s(()=>d.value!==null?d.value:g.value),y=s(()=>({type:"hidden",name:e.name,value:v.value[x.value===!0?"hex":"rgb"]})),k=Xt(y),S=s(()=>f.value!==null?f.value:v.value.a!==void 0),b=s(()=>({backgroundColor:v.value.rgb||"#000"})),p=s(()=>`q-color-picker__header-content q-color-picker__header-content--${(v.value.a!==void 0&&v.value.a<65?!0:Nl(v.value)>.4)?"light":"dark"}`),_=s(()=>({background:`hsl(${v.value.h},100%,50%)`})),E=s(()=>({top:`${100-v.value.v}%`,[r.lang.rtl===!0?"right":"left"]:`${v.value.s}%`})),L=s(()=>e.palette!==void 0&&e.palette.length!==0?e.palette:Dg),V=s(()=>"q-color-picker"+(e.bordered===!0?" q-color-picker--bordered":"")+(e.square===!0?" q-color-picker--square no-border-radius":"")+(e.flat===!0?" q-color-picker--flat no-shadow":"")+(e.disable===!0?" disabled":"")+(n.value===!0?" q-color-picker--dark q-dark":"")),F=s(()=>e.disable===!0?{"aria-disabled":"true"}:{}),B=s(()=>[[Rt,J,void 0,{prevent:!0,stop:!0,mouse:!0}]]);W(()=>e.modelValue,G=>{let de=R(G||e.defaultValue);de.hex!==v.value.hex&&(v.value=de)}),W(()=>e.defaultValue,G=>{if(!e.modelValue&&G){let de=R(G);de.hex!==v.value.hex&&(v.value=de)}});function D(G,de){v.value.hex=En(G),v.value.rgb=Ql(G),v.value.r=G.r,v.value.g=G.g,v.value.b=G.b,v.value.a=G.a;let ge=v.value[x.value===!0?"hex":"rgb"];t("update:modelValue",ge),de===!0&&t("change",ge)}function R(G){let de=f.value!==void 0?f.value:e.formatModel==="auto"?null:e.formatModel.indexOf("a")!==-1;if(typeof G!="string"||G.length===0||$n.anyColor(G.replace(/ /g,""))!==!0)return{h:0,s:0,v:0,r:0,g:0,b:0,a:de===!0?100:void 0,hex:void 0,rgb:void 0};let ge=Oo(G);return de===!0&&ge.a===void 0&&(ge.a=100),ge.hex=En(ge),ge.rgb=Ql(ge),Object.assign(ge,li(ge))}function C(G,de,ge){let we=l.value;if(we===null)return;let Le=we.clientWidth,fe=we.clientHeight,Fe=we.getBoundingClientRect(),He=Math.min(Le,Math.max(0,G-Fe.left));r.lang.rtl===!0&&(He=Le-He);let Qe=Math.min(fe,Math.max(0,de-Fe.top)),ue=Math.round(100*He/Le),ve=Math.round(100*Math.max(0,Math.min(1,-(Qe/fe)+1))),ee=fa({h:v.value.h,s:ue,v:ve,a:S.value===!0?v.value.a:void 0});v.value.s=ue,v.value.v=ve,D(ee,ge)}function M(G,de){let ge=Math.round(G),we=fa({h:ge,s:v.value.s,v:v.value.v,a:S.value===!0?v.value.a:void 0});v.value.h=ge,D(we,de)}function X(G){M(G,!0)}function Y(G,de,ge,we,Le){if(we!==void 0&&it(we),!/^[0-9]+$/.test(G)){Le===!0&&o.$forceUpdate();return}let fe=Math.floor(Number(G));if(fe<0||fe>ge){Le===!0&&o.$forceUpdate();return}let Fe={r:de==="r"?fe:v.value.r,g:de==="g"?fe:v.value.g,b:de==="b"?fe:v.value.b,a:S.value===!0?de==="a"?fe:v.value.a:void 0};if(de!=="a"){let He=li(Fe);v.value.h=He.h,v.value.s=He.s,v.value.v=He.v}if(D(Fe,Le),we!==void 0&&Le!==!0&&we.target.selectionEnd!==void 0){let He=we.target.selectionEnd;$e(()=>{we.target.setSelectionRange(He,He)})}}function T(G,de){let ge,we=G.target.value;if(it(G),c.value==="hex"){if(we.length!==(S.value===!0?9:7)||!/^#[0-9A-Fa-f]+$/.test(we))return!0;ge=da(we)}else{let fe;if(we.endsWith(")"))if(S.value!==!0&&we.startsWith("rgb(")){if(fe=we.substring(4,we.length-1).split(",").map(Fe=>parseInt(Fe,10)),fe.length!==3||!/^rgb\([0-9]{1,3},[0-9]{1,3},[0-9]{1,3}\)$/.test(we))return!0}else if(S.value===!0&&we.startsWith("rgba(")){if(fe=we.substring(5,we.length-1).split(","),fe.length!==4||!/^rgba\([0-9]{1,3},[0-9]{1,3},[0-9]{1,3},(0|0\.[0-9]+[1-9]|0\.[1-9]+|1)\)$/.test(we))return!0;for(let He=0;He<3;He++){let Qe=parseInt(fe[He],10);if(Qe<0||Qe>255)return!0;fe[He]=Qe}let Fe=parseFloat(fe[3]);if(Fe<0||Fe>1)return!0;fe[3]=Fe}else return!0;else return!0;if(fe[0]<0||fe[0]>255||fe[1]<0||fe[1]>255||fe[2]<0||fe[2]>255||S.value===!0&&(fe[3]<0||fe[3]>1))return!0;ge={r:fe[0],g:fe[1],b:fe[2],a:S.value===!0?fe[3]*100:void 0}}let Le=li(ge);if(v.value.h=Le.h,v.value.s=Le.s,v.value.v=Le.v,D(ge,de),de!==!0){let fe=G.target.selectionEnd;$e(()=>{G.target.setSelectionRange(fe,fe)})}}function j(G){let de=R(G),ge={r:de.r,g:de.g,b:de.b,a:de.a};ge.a===void 0&&(ge.a=v.value.a),v.value.h=de.h,v.value.s=de.s,v.value.v=de.v,D(ge,!0)}function J(G){G.isFinal?C(G.position.left,G.position.top,!0):ce(G)}let ce=Zn(G=>{C(G.position.left,G.position.top)},20);function I(G){C(G.pageX-window.pageXOffset,G.pageY-window.pageYOffset,!0)}function w(G){C(G.pageX-window.pageXOffset,G.pageY-window.pageYOffset)}function K(G){u.value!==null&&(u.value.$el.style.opacity=G?1:0)}function N(G){c.value=G}function le(){let G=[];return e.noHeaderTabs!==!0&&G.push(i(ai,{class:"q-color-picker__header-tabs",modelValue:c.value,dense:!0,align:"justify","onUpdate:modelValue":N},()=>[i(cn,{label:"HEX"+(S.value===!0?"A":""),name:"hex",ripple:!1}),i(cn,{label:"RGB"+(S.value===!0?"A":""),name:"rgb",ripple:!1})])),G.push(i("div",{class:"q-color-picker__header-banner row flex-center no-wrap"},[i("input",{class:"fit",value:v.value[c.value],...m.value!==!0?{readonly:!0}:{},...a("topIn",{onInput:de=>{K(T(de)===!0)},onChange:it,onBlur:de=>{T(de,!0)===!0&&o.$forceUpdate(),K(!1)}})}),i(Pe,{ref:u,class:"q-color-picker__error-icon absolute no-pointer-events",name:r.iconSet.type.negative})])),i("div",{class:"q-color-picker__header relative-position overflow-hidden"},[i("div",{class:"q-color-picker__header-bg absolute-full"}),i("div",{class:p.value,style:b.value},G)])}function P(){return i(ua,{modelValue:h.value,animated:!0},()=>[i(Pr,{class:"q-color-picker__spectrum-tab overflow-hidden",name:"spectrum"},H),i(Pr,{class:"q-pa-md q-color-picker__tune-tab",name:"tune"},me),i(Pr,{class:"q-color-picker__palette-tab",name:"palette"},Me)])}function O(G){h.value=G}function ae(){return i("div",{class:"q-color-picker__footer relative-position overflow-hidden"},[i(ai,{class:"absolute-full",modelValue:h.value,dense:!0,align:"justify","onUpdate:modelValue":O},()=>[i(cn,{icon:r.iconSet.colorPicker.spectrum,name:"spectrum",ripple:!1}),i(cn,{icon:r.iconSet.colorPicker.tune,name:"tune",ripple:!1}),i(cn,{icon:r.iconSet.colorPicker.palette,name:"palette",ripple:!1})])])}function H(){let G={ref:l,class:"q-color-picker__spectrum non-selectable relative-position cursor-pointer"+(m.value!==!0?" readonly":""),style:_.value,...m.value===!0?{onClick:I,onMousedown:w}:{}},de=[i("div",{style:{paddingBottom:"100%"}}),i("div",{class:"q-color-picker__spectrum-white absolute-full"}),i("div",{class:"q-color-picker__spectrum-black absolute-full"}),i("div",{class:"absolute",style:E.value},[v.value.hex!==void 0?i("div",{class:"q-color-picker__spectrum-circle"}):null])],ge=[i(Zo,{class:"q-color-picker__hue non-selectable",modelValue:v.value.h,min:0,max:360,trackSize:"8px",innerTrackColor:"transparent",selectionColor:"transparent",readonly:m.value!==!0,thumbPath:tc,"onUpdate:modelValue":M,onChange:X})];return S.value===!0&&ge.push(i(Zo,{class:"q-color-picker__alpha non-selectable",modelValue:v.value.a,min:0,max:100,trackSize:"8px",trackColor:"white",innerTrackColor:"transparent",selectionColor:"transparent",trackImg:Vg,readonly:m.value!==!0,hideSelection:!0,thumbPath:tc,...a("alphaSlide",{"onUpdate:modelValue":we=>Y(we,"a",100),onChange:we=>Y(we,"a",100,void 0,!0)})})),[Mt("div",G,de,"spec",m.value,()=>B.value),i("div",{class:"q-color-picker__sliders"},ge)]}function me(){return[i("div",{class:"row items-center no-wrap"},[i("div","R"),i(Zo,{modelValue:v.value.r,min:0,max:255,color:"red",dark:n.value,readonly:m.value!==!0,...a("rSlide",{"onUpdate:modelValue":G=>Y(G,"r",255),onChange:G=>Y(G,"r",255,void 0,!0)})}),i("input",{value:v.value.r,maxlength:3,readonly:m.value!==!0,onChange:it,...a("rIn",{onInput:G=>Y(G.target.value,"r",255,G),onBlur:G=>Y(G.target.value,"r",255,G,!0)})})]),i("div",{class:"row items-center no-wrap"},[i("div","G"),i(Zo,{modelValue:v.value.g,min:0,max:255,color:"green",dark:n.value,readonly:m.value!==!0,...a("gSlide",{"onUpdate:modelValue":G=>Y(G,"g",255),onChange:G=>Y(G,"g",255,void 0,!0)})}),i("input",{value:v.value.g,maxlength:3,readonly:m.value!==!0,onChange:it,...a("gIn",{onInput:G=>Y(G.target.value,"g",255,G),onBlur:G=>Y(G.target.value,"g",255,G,!0)})})]),i("div",{class:"row items-center no-wrap"},[i("div","B"),i(Zo,{modelValue:v.value.b,min:0,max:255,color:"blue",readonly:m.value!==!0,dark:n.value,...a("bSlide",{"onUpdate:modelValue":G=>Y(G,"b",255),onChange:G=>Y(G,"b",255,void 0,!0)})}),i("input",{value:v.value.b,maxlength:3,readonly:m.value!==!0,onChange:it,...a("bIn",{onInput:G=>Y(G.target.value,"b",255,G),onBlur:G=>Y(G.target.value,"b",255,G,!0)})})]),S.value===!0?i("div",{class:"row items-center no-wrap"},[i("div","A"),i(Zo,{modelValue:v.value.a,color:"grey",readonly:m.value!==!0,dark:n.value,...a("aSlide",{"onUpdate:modelValue":G=>Y(G,"a",100),onChange:G=>Y(G,"a",100,void 0,!0)})}),i("input",{value:v.value.a,maxlength:3,readonly:m.value!==!0,onChange:it,...a("aIn",{onInput:G=>Y(G.target.value,"a",100,G),onBlur:G=>Y(G.target.value,"a",100,G,!0)})})]):null]}function Me(){let G=de=>i("div",{class:"q-color-picker__cube col-auto",style:{backgroundColor:de},...m.value===!0?a("palette#"+de,{onClick:()=>{j(de)}}):{}});return[i("div",{class:"row items-center q-color-picker__palette-rows"+(m.value===!0?" q-color-picker__palette-rows--editable":"")},L.value.map(G))]}return()=>{let G=[P()];return e.name!==void 0&&e.disable!==!0&&k(G,"push"),e.noHeader!==!0&&G.unshift(le()),e.noFooter!==!0&&G.push(ae()),i("div",{class:V.value,...F.value},G)}}});var dn=[-61,9,38,199,426,686,756,818,1111,1181,1210,1635,2060,2097,2192,2262,2324,2394,2456,3178];function nc(e,t,o){return Object.prototype.toString.call(e)==="[object Date]"&&(o=e.getDate(),t=e.getMonth()+1,e=e.getFullYear()),Hg(Ul(e,t,o))}function jl(e,t,o){return ic(Ig(e,t,o))}function zg(e){return Og(e)===0}function Ar(e,t){return t<=6?31:t<=11||zg(e)?30:29}function Og(e){let t=dn.length,o=dn[0],r,n,a,l,u;if(e<o||e>=dn[t-1])throw new Error("Invalid Jalaali year "+e);for(u=1;u<t&&(r=dn[u],n=r-o,!(e<r));u+=1)o=r;return l=e-o,n-l<6&&(l=l-n+Ct(n+4,33)*33),a=ro(ro(l+1,33)-1,4),a===-1&&(a=4),a}function rc(e,t){let o=dn.length,r=e+621,n=-14,a=dn[0],l,u,d,f,c;if(e<a||e>=dn[o-1])throw new Error("Invalid Jalaali year "+e);for(c=1;c<o&&(l=dn[c],u=l-a,!(e<l));c+=1)n=n+Ct(u,33)*8+Ct(ro(u,33),4),a=l;f=e-a,n=n+Ct(f,33)*8+Ct(ro(f,33)+3,4),ro(u,33)===4&&u-f===4&&(n+=1);let h=Ct(r,4)-Ct((Ct(r,100)+1)*3,4)-150,v=20+n-h;return t||(u-f<6&&(f=f-u+Ct(u+4,33)*33),d=ro(ro(f+1,33)-1,4),d===-1&&(d=4)),{leap:d,gy:r,march:v}}function Ig(e,t,o){let r=rc(e,!0);return Ul(r.gy,3,r.march)+(t-1)*31-Ct(t,7)*(t-7)+o-1}function Hg(e){let t=ic(e).gy,o=t-621,r,n,a,l=rc(o,!1),u=Ul(t,3,l.march);if(a=e-u,a>=0){if(a<=185)return n=1+Ct(a,31),r=ro(a,31)+1,{jy:o,jm:n,jd:r};a-=186}else o-=1,a+=179,l.leap===1&&(a+=1);return n=7+Ct(a,30),r=ro(a,30)+1,{jy:o,jm:n,jd:r}}function Ul(e,t,o){let r=Ct((e+Ct(t-8,6)+100100)*1461,4)+Ct(153*ro(t+9,12)+2,5)+o-34840408;return r=r-Ct(Ct(e+100100+Ct(t-8,6),100)*3,4)+752,r}function ic(e){let t=4*e+139361631;t=t+Ct(Ct(4*e+183187720,146097)*3,4)*4-3908;let o=Ct(ro(t,1461),4)*5+308,r=Ct(ro(o,153),5)+1,n=ro(Ct(o,153),12)+1;return{gy:Ct(t,1461)-100100+Ct(8-n,6),gm:n,gd:r}}function Ct(e,t){return~~(e/t)}function ro(e,t){return e-~~(e/t)*t}var Qg=["gregorian","persian"],ma={modelValue:{required:!0},mask:{type:String},locale:Object,calendar:{type:String,validator:e=>Qg.includes(e),default:"gregorian"},landscape:Boolean,color:String,textColor:String,square:Boolean,flat:Boolean,bordered:Boolean,readonly:Boolean,disable:Boolean},va=["update:modelValue"];function xo(e){return e.year+"/"+nt(e.month)+"/"+nt(e.day)}function ga(e,t){let o=s(()=>e.disable!==!0&&e.readonly!==!0),r=s(()=>o.value===!0?0:-1),n=s(()=>{let u=[];return e.color!==void 0&&u.push(`bg-${e.color}`),e.textColor!==void 0&&u.push(`text-${e.textColor}`),u.join(" ")});function a(){return e.locale!==void 0?{...t.lang.date,...e.locale}:t.lang.date}function l(u){let d=new Date,f=u===!0?null:0;if(e.calendar==="persian"){let c=nc(d);return{year:c.jy,month:c.jm,day:c.jd}}return{year:d.getFullYear(),month:d.getMonth()+1,day:d.getDate(),hour:f,minute:f,second:f,millisecond:f}}return{editable:o,tabindex:r,headerClass:n,getLocale:a,getCurrentDate:l}}var sc=864e5,Ng=36e5,Yl=6e4,cc="YYYY-MM-DDTHH:mm:ss.SSSZ",jg=/\[((?:[^\]\\]|\\]|\\)*)\]|d{1,4}|M{1,4}|m{1,2}|w{1,2}|Qo|Do|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,Ug=/(\[[^\]]*\])|d{1,4}|M{1,4}|m{1,2}|w{1,2}|Qo|Do|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,Kl={};function Kg(e,t){let o="("+t.days.join("|")+")",r=e+o;if(Kl[r]!==void 0)return Kl[r];let n="("+t.daysShort.join("|")+")",a="("+t.months.join("|")+")",l="("+t.monthsShort.join("|")+")",u={},d=0,f=e.replace(Ug,h=>{switch(d++,h){case"YY":return u.YY=d,"(-?\\d{1,2})";case"YYYY":return u.YYYY=d,"(-?\\d{1,4})";case"M":return u.M=d,"(\\d{1,2})";case"MM":return u.M=d,"(\\d{2})";case"MMM":return u.MMM=d,l;case"MMMM":return u.MMMM=d,a;case"D":return u.D=d,"(\\d{1,2})";case"Do":return u.D=d++,"(\\d{1,2}(st|nd|rd|th))";case"DD":return u.D=d,"(\\d{2})";case"H":return u.H=d,"(\\d{1,2})";case"HH":return u.H=d,"(\\d{2})";case"h":return u.h=d,"(\\d{1,2})";case"hh":return u.h=d,"(\\d{2})";case"m":return u.m=d,"(\\d{1,2})";case"mm":return u.m=d,"(\\d{2})";case"s":return u.s=d,"(\\d{1,2})";case"ss":return u.s=d,"(\\d{2})";case"S":return u.S=d,"(\\d{1})";case"SS":return u.S=d,"(\\d{2})";case"SSS":return u.S=d,"(\\d{3})";case"A":return u.A=d,"(AM|PM)";case"a":return u.a=d,"(am|pm)";case"aa":return u.aa=d,"(a\\.m\\.|p\\.m\\.)";case"ddd":return n;case"dddd":return o;case"Q":case"d":case"E":return"(\\d{1})";case"Qo":return"(1st|2nd|3rd|4th)";case"DDD":case"DDDD":return"(\\d{1,3})";case"w":return"(\\d{1,2})";case"ww":return"(\\d{2})";case"Z":return u.Z=d,"(Z|[+-]\\d{2}:\\d{2})";case"ZZ":return u.ZZ=d,"(Z|[+-]\\d{2}\\d{2})";case"X":return u.X=d,"(-?\\d+)";case"x":return u.x=d,"(-?\\d{4,})";default:return d--,h[0]==="["&&(h=h.substring(1,h.length-1)),h.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}}),c={map:u,regex:new RegExp("^"+f)};return Kl[r]=c,c}function dc(e,t){return e!==void 0?e:t!==void 0?t.date:Wr.default.date}function ac(e,t=""){let o=e>0?"-":"+",r=Math.abs(e),n=Math.floor(r/60),a=r%60;return o+nt(n)+t+nt(a)}function Wg(e,t,o){let r=e.getFullYear(),n=e.getMonth(),a=e.getDate();return t.year!==void 0&&(r+=o*t.year,delete t.year),t.month!==void 0&&(n+=o*t.month,delete t.month),e.setDate(1),e.setMonth(2),e.setFullYear(r),e.setMonth(n),e.setDate(Math.min(a,Jl(e))),t.date!==void 0&&(e.setDate(e.getDate()+o*t.date),delete t.date),e}function Yg(e,t,o){let r=t.year!==void 0?t.year:e[`get${o}FullYear`](),n=t.month!==void 0?t.month-1:e[`get${o}Month`](),a=new Date(r,n+1,0).getDate(),l=Math.min(a,t.date!==void 0?t.date:e[`get${o}Date`]());return e[`set${o}Date`](1),e[`set${o}Month`](2),e[`set${o}FullYear`](r),e[`set${o}Month`](n),e[`set${o}Date`](l),delete t.year,delete t.month,delete t.date,e}function Zl(e,t,o){let r=fc(t),n=new Date(e),a=r.year!==void 0||r.month!==void 0||r.date!==void 0?Wg(n,r,o):n;for(let l in r){let u=ql(l);a[`set${u}`](a[`get${u}`]()+o*r[l])}return a}function fc(e){let 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 mc(e,t,o){let r=fc(t),n=o===!0?"UTC":"",a=new Date(e),l=r.year!==void 0||r.month!==void 0||r.date!==void 0?Yg(a,r,n):a;for(let u in r){let d=u.charAt(0).toUpperCase()+u.slice(1);l[`set${n}${d}`](r[u])}return l}function Xg(e,t,o){let r=fn(e,t,o),n=new Date(r.year,r.month===null?null:r.month-1,r.day===null?1:r.day,r.hour,r.minute,r.second,r.millisecond),a=n.getTimezoneOffset();return r.timezoneOffset===null||r.timezoneOffset===a?n:Zl(n,{minutes:r.timezoneOffset-a},1)}function fn(e,t,o,r,n){let a={year:null,month:null,day:null,hour:null,minute:null,second:null,millisecond:null,timezoneOffset:null,dateHash:null,timeHash:null};if(n!==void 0&&Object.assign(a,n),e==null||e===""||typeof e!="string")return a;t===void 0&&(t=cc);let l=dc(o,Yo.props),u=l.months,d=l.monthsShort,{regex:f,map:c}=Kg(t,l),h=e.match(f);if(h===null)return a;let v="";if(c.X!==void 0||c.x!==void 0){let m=parseInt(h[c.X!==void 0?c.X:c.x],10);if(isNaN(m)===!0||m<0)return a;let g=new Date(m*(c.X!==void 0?1e3:1));a.year=g.getFullYear(),a.month=g.getMonth()+1,a.day=g.getDate(),a.hour=g.getHours(),a.minute=g.getMinutes(),a.second=g.getSeconds(),a.millisecond=g.getMilliseconds()}else{if(c.YYYY!==void 0)a.year=parseInt(h[c.YYYY],10);else if(c.YY!==void 0){let m=parseInt(h[c.YY],10);a.year=m<0?m:2e3+m}if(c.M!==void 0){if(a.month=parseInt(h[c.M],10),a.month<1||a.month>12)return a}else c.MMM!==void 0?a.month=d.indexOf(h[c.MMM])+1:c.MMMM!==void 0&&(a.month=u.indexOf(h[c.MMMM])+1);if(c.D!==void 0){if(a.day=parseInt(h[c.D],10),a.year===null||a.month===null||a.day<1)return a;let m=r!=="persian"?new Date(a.year,a.month,0).getDate():Ar(a.year,a.month);if(a.day>m)return a}c.H!==void 0?a.hour=parseInt(h[c.H],10)%24:c.h!==void 0&&(a.hour=parseInt(h[c.h],10)%12,(c.A&&h[c.A]==="PM"||c.a&&h[c.a]==="pm"||c.aa&&h[c.aa]==="p.m.")&&(a.hour+=12),a.hour=a.hour%24),c.m!==void 0&&(a.minute=parseInt(h[c.m],10)%60),c.s!==void 0&&(a.second=parseInt(h[c.s],10)%60),c.S!==void 0&&(a.millisecond=parseInt(h[c.S],10)*10**(3-h[c.S].length)),(c.Z!==void 0||c.ZZ!==void 0)&&(v=c.Z!==void 0?h[c.Z].replace(":",""):h[c.ZZ],a.timezoneOffset=(v[0]==="+"?-1:1)*(60*v.slice(1,3)+1*v.slice(3,5)))}return a.dateHash=nt(a.year,6)+"/"+nt(a.month)+"/"+nt(a.day),a.timeHash=nt(a.hour)+":"+nt(a.minute)+":"+nt(a.second)+v,a}function Gg(e){return typeof e=="number"?!0:isNaN(Date.parse(e))===!1}function Zg(e,t){return mc(new Date,e,t)}function Jg(e){let t=new Date(e).getDay();return t===0?7:t}function Xl(e){let t=new Date(e.getFullYear(),e.getMonth(),e.getDate());t.setDate(t.getDate()-(t.getDay()+6)%7+3);let o=new Date(t.getFullYear(),0,4);o.setDate(o.getDate()-(o.getDay()+6)%7+3);let r=t.getTimezoneOffset()-o.getTimezoneOffset();t.setHours(t.getHours()-r);let n=(t-o)/(sc*7);return 1+Math.floor(n)}function eh(e){return e.getFullYear()*1e4+e.getMonth()*100+e.getDate()}function Wl(e,t){let o=new Date(e);return t===!0?eh(o):o.getTime()}function th(e,t,o,r={}){let n=Wl(t,r.onlyDate),a=Wl(o,r.onlyDate),l=Wl(e,r.onlyDate);return(l>n||r.inclusiveFrom===!0&&l===n)&&(l<a||r.inclusiveTo===!0&&l===a)}function oh(e,t){return Zl(e,t,1)}function nh(e,t){return Zl(e,t,-1)}function Io(e,t,o){let r=new Date(e),n=`set${o===!0?"UTC":""}`;switch(t){case"year":case"years":r[`${n}Month`](0);case"month":case"months":r[`${n}Date`](1);case"day":case"days":case"date":r[`${n}Hours`](0);case"hour":case"hours":r[`${n}Minutes`](0);case"minute":case"minutes":r[`${n}Seconds`](0);case"second":case"seconds":r[`${n}Milliseconds`](0)}return r}function rh(e,t,o){let r=new Date(e),n=`set${o===!0?"UTC":""}`;switch(t){case"year":case"years":r[`${n}Month`](11);case"month":case"months":r[`${n}Date`](Jl(r));case"day":case"days":case"date":r[`${n}Hours`](23);case"hour":case"hours":r[`${n}Minutes`](59);case"minute":case"minutes":r[`${n}Seconds`](59);case"second":case"seconds":r[`${n}Milliseconds`](999)}return r}function ih(e){let t=new Date(e);return Array.prototype.slice.call(arguments,1).forEach(o=>{t=Math.max(t,new Date(o))}),t}function ah(e){let t=new Date(e);return Array.prototype.slice.call(arguments,1).forEach(o=>{t=Math.min(t,new Date(o))}),t}function ha(e,t,o){return(e.getTime()-e.getTimezoneOffset()*Yl-(t.getTime()-t.getTimezoneOffset()*Yl))/o}function pa(e,t,o="days"){let r=new Date(e),n=new Date(t);switch(o){case"years":case"year":return r.getFullYear()-n.getFullYear();case"months":case"month":return(r.getFullYear()-n.getFullYear())*12+r.getMonth()-n.getMonth();case"days":case"day":case"date":return ha(Io(r,"day"),Io(n,"day"),sc);case"hours":case"hour":return ha(Io(r,"hour"),Io(n,"hour"),Ng);case"minutes":case"minute":return ha(Io(r,"minute"),Io(n,"minute"),Yl);case"seconds":case"second":return ha(Io(r,"second"),Io(n,"second"),1e3)}}function Gl(e){return pa(e,Io(e,"year"),"days")+1}function lh(e){return Go(e)===!0?"date":typeof e=="number"?"number":"string"}function uh(e,t,o){let r=new Date(e);if(t){let n=new Date(t);if(r<n)return n}if(o){let n=new Date(o);if(r>n)return n}return r}function sh(e,t,o){let r=new Date(e),n=new Date(t);if(o===void 0)return r.getTime()===n.getTime();switch(o){case"second":case"seconds":if(r.getSeconds()!==n.getSeconds())return!1;case"minute":case"minutes":if(r.getMinutes()!==n.getMinutes())return!1;case"hour":case"hours":if(r.getHours()!==n.getHours())return!1;case"day":case"days":case"date":if(r.getDate()!==n.getDate())return!1;case"month":case"months":if(r.getMonth()!==n.getMonth())return!1;case"year":case"years":if(r.getFullYear()!==n.getFullYear())return!1;break;default:throw new Error(`date isSameDate unknown unit ${o}`)}return!0}function Jl(e){return new Date(e.getFullYear(),e.getMonth()+1,0).getDate()}function lc(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`}var uc={YY(e,t,o){let r=this.YYYY(e,t,o)%100;return r>=0?nt(r):"-"+nt(Math.abs(r))},YYYY(e,t,o){return o??e.getFullYear()},M(e){return e.getMonth()+1},MM(e){return nt(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 lc(this.Q(e))},D(e){return e.getDate()},Do(e){return lc(e.getDate())},DD(e){return nt(e.getDate())},DDD(e){return Gl(e)},DDDD(e){return nt(Gl(e),3)},d(e){return e.getDay()},dd(e,t){return this.dddd(e,t).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 Xl(e)},ww(e){return nt(Xl(e))},H(e){return e.getHours()},HH(e){return nt(e.getHours())},h(e){let t=e.getHours();return t===0?12:t>12?t%12:t},hh(e){return nt(this.h(e))},m(e){return e.getMinutes()},mm(e){return nt(e.getMinutes())},s(e){return e.getSeconds()},ss(e){return nt(e.getSeconds())},S(e){return Math.floor(e.getMilliseconds()/100)},SS(e){return nt(Math.floor(e.getMilliseconds()/10))},SSS(e){return nt(e.getMilliseconds(),3)},A(e){return this.H(e)<12?"AM":"PM"},a(e){return this.H(e)<12?"am":"pm"},aa(e){return this.H(e)<12?"a.m.":"p.m."},Z(e,t,o,r){let n=r??e.getTimezoneOffset();return ac(n,":")},ZZ(e,t,o,r){let n=r??e.getTimezoneOffset();return ac(n)},X(e){return Math.floor(e.getTime()/1e3)},x(e){return e.getTime()}};function ui(e,t,o,r,n){if(e!==0&&!e||e===1/0||e===-1/0)return;let a=new Date(e);if(isNaN(a))return;t===void 0&&(t=cc);let l=dc(o,Yo.props);return t.replace(jg,(u,d)=>u in uc?uc[u](a,l,r,n):d===void 0?u:d.split("\\]").join("]"))}function ch(e){return Go(e)===!0?new Date(e.getTime()):e}var vc={isValid:Gg,extractDate:Xg,buildDate:Zg,getDayOfWeek:Jg,getWeekOfYear:Xl,isBetweenDates:th,addToDate:oh,subtractFromDate:nh,adjustDate:mc,startOfDate:Io,endOfDate:rh,getMaxDate:ih,getMinDate:ah,getDateDiff:pa,getDayOfYear:Gl,inferDateFormat:lh,getDateBetween:uh,isSameDate:sh,daysInMonth:Jl,formatDate:ui,clone:ch};var Bn=20,dh=["Calendar","Years","Months"],gc=e=>dh.includes(e),eu=e=>/^-?[\d]+\/[0-1]\d$/.test(e),$r=" \u2014 ";function mn(e){return e.year+"/"+nt(e.month)}var hc=$({name:"QDate",props:{...ma,...kt,..._e,multiple:Boolean,range:Boolean,title:String,subtitle:String,mask:{default:"YYYY/MM/DD"},defaultYearMonth:{type:String,validator:eu},yearsInMonthView:Boolean,events:[Array,Function],eventColor:[String,Function],emitImmediately:Boolean,options:[Array,Function],navigationMinYearMonth:{type:String,validator:eu},navigationMaxYearMonth:{type:String,validator:eu},noUnset:Boolean,firstDayOfWeek:[String,Number],todayBtn:Boolean,minimal:Boolean,defaultView:{type:String,default:"Calendar",validator:gc}},emits:[...va,"rangeStart","rangeEnd","navigation"],setup(e,{slots:t,emit:o}){let{proxy:r}=U(),{$q:n}=r,a=Ce(e,n),{getCache:l}=bo(),{tabindex:u,headerClass:d,getLocale:f,getCurrentDate:c}=ga(e,n),h,v=Vo(e),m=Xt(v),g=q(null),x=q(at()),y=q(f()),k=s(()=>at()),S=s(()=>f()),b=s(()=>c()),p=q(vt(x.value,y.value)),_=q(e.defaultView),E=n.lang.rtl===!0?"right":"left",L=q(E.value),V=q(E.value),F=p.value.year,B=q(F-F%Bn-(F<0?Bn:0)),D=q(null),R=s(()=>{let A=e.landscape===!0?"landscape":"portrait";return`q-date q-date--${A} q-date--${A}-${e.minimal===!0?"minimal":"standard"}`+(a.value===!0?" q-date--dark q-dark":"")+(e.bordered===!0?" q-date--bordered":"")+(e.square===!0?" q-date--square no-border-radius":"")+(e.flat===!0?" q-date--flat no-shadow":"")+(e.disable===!0?" disabled":e.readonly===!0?" q-date--readonly":"")}),C=s(()=>e.color||"primary"),M=s(()=>e.textColor||"white"),X=s(()=>e.emitImmediately===!0&&e.multiple!==!0&&e.range!==!0),Y=s(()=>Array.isArray(e.modelValue)===!0?e.modelValue:e.modelValue!==null&&e.modelValue!==void 0?[e.modelValue]:[]),T=s(()=>Y.value.filter(A=>typeof A=="string").map(A=>mt(A,x.value,y.value)).filter(A=>A.dateHash!==null&&A.day!==null&&A.month!==null&&A.year!==null)),j=s(()=>{let A=Q=>mt(Q,x.value,y.value);return Y.value.filter(Q=>ct(Q)===!0&&Q.from!==void 0&&Q.to!==void 0).map(Q=>({from:A(Q.from),to:A(Q.to)})).filter(Q=>Q.from.dateHash!==null&&Q.to.dateHash!==null&&Q.from.dateHash<Q.to.dateHash)}),J=s(()=>e.calendar!=="persian"?A=>new Date(A.year,A.month-1,A.day):A=>{let Q=jl(A.year,A.month,A.day);return new Date(Q.gy,Q.gm-1,Q.gd)}),ce=s(()=>e.calendar==="persian"?xo:(A,Q,te)=>ui(new Date(A.year,A.month-1,A.day,A.hour,A.minute,A.second,A.millisecond),Q===void 0?x.value:Q,te===void 0?y.value:te,A.year,A.timezoneOffset)),I=s(()=>T.value.length+j.value.reduce((A,Q)=>A+1+pa(J.value(Q.to),J.value(Q.from)),0)),w=s(()=>{if(e.title!==void 0&&e.title!==null&&e.title.length!==0)return e.title;if(D.value!==null){let te=D.value.init,he=J.value(te);return y.value.daysShort[he.getDay()]+", "+y.value.monthsShort[te.month-1]+" "+te.day+$r+"?"}if(I.value===0)return $r;if(I.value>1)return`${I.value} ${y.value.pluralDay}`;let A=T.value[0],Q=J.value(A);return isNaN(Q.valueOf())===!0?$r:y.value.headerTitle!==void 0?y.value.headerTitle(Q,A):y.value.daysShort[Q.getDay()]+", "+y.value.monthsShort[A.month-1]+" "+A.day}),K=s(()=>T.value.concat(j.value.map(Q=>Q.from)).sort((Q,te)=>Q.year-te.year||Q.month-te.month)[0]),N=s(()=>T.value.concat(j.value.map(Q=>Q.to)).sort((Q,te)=>te.year-Q.year||te.month-Q.month)[0]),le=s(()=>{if(e.subtitle!==void 0&&e.subtitle!==null&&e.subtitle.length!==0)return e.subtitle;if(I.value===0)return $r;if(I.value>1){let A=K.value,Q=N.value,te=y.value.monthsShort;return te[A.month-1]+(A.year!==Q.year?" "+A.year+$r+te[Q.month-1]+" ":A.month!==Q.month?$r+te[Q.month-1]:"")+" "+Q.year}return T.value[0].year}),P=s(()=>{let A=[n.iconSet.datetime.arrowLeft,n.iconSet.datetime.arrowRight];return n.lang.rtl===!0?A.reverse():A}),O=s(()=>e.firstDayOfWeek!==void 0?Number(e.firstDayOfWeek):y.value.firstDayOfWeek),ae=s(()=>{let A=y.value.daysShort,Q=O.value;return Q>0?A.slice(Q,7).concat(A.slice(0,Q)):A}),H=s(()=>{let A=p.value;return e.calendar!=="persian"?new Date(A.year,A.month,0).getDate():Ar(A.year,A.month)}),me=s(()=>typeof e.eventColor=="function"?e.eventColor:()=>e.eventColor),Me=s(()=>{if(e.navigationMinYearMonth===void 0)return null;let A=e.navigationMinYearMonth.split("/");return{year:parseInt(A[0],10),month:parseInt(A[1],10)}}),G=s(()=>{if(e.navigationMaxYearMonth===void 0)return null;let A=e.navigationMaxYearMonth.split("/");return{year:parseInt(A[0],10),month:parseInt(A[1],10)}}),de=s(()=>{let A={month:{prev:!0,next:!0},year:{prev:!0,next:!0}};return Me.value!==null&&Me.value.year>=p.value.year&&(A.year.prev=!1,Me.value.year===p.value.year&&Me.value.month>=p.value.month&&(A.month.prev=!1)),G.value!==null&&G.value.year<=p.value.year&&(A.year.next=!1,G.value.year===p.value.year&&G.value.month<=p.value.month&&(A.month.next=!1)),A}),ge=s(()=>{let A={};return T.value.forEach(Q=>{let te=mn(Q);A[te]===void 0&&(A[te]=[]),A[te].push(Q.day)}),A}),we=s(()=>{let A={};return j.value.forEach(Q=>{let te=mn(Q.from),he=mn(Q.to);if(A[te]===void 0&&(A[te]=[]),A[te].push({from:Q.from.day,to:te===he?Q.to.day:void 0,range:Q}),te<he){let pe,{year:rt,month:Be}=Q.from,Ze=Be<12?{year:rt,month:Be+1}:{year:rt+1,month:1};for(;(pe=mn(Ze))<=he;)A[pe]===void 0&&(A[pe]=[]),A[pe].push({from:void 0,to:pe===he?Q.to.day:void 0,range:Q}),Ze.month++,Ze.month>12&&(Ze.year++,Ze.month=1)}}),A}),Le=s(()=>{if(D.value===null)return;let{init:A,initHash:Q,final:te,finalHash:he}=D.value,[pe,rt]=Q<=he?[A,te]:[te,A],Be=mn(pe),Ze=mn(rt);if(Be!==fe.value&&Ze!==fe.value)return;let ut={};return Be===fe.value?(ut.from=pe.day,ut.includeFrom=!0):ut.from=1,Ze===fe.value?(ut.to=rt.day,ut.includeTo=!0):ut.to=H.value,ut}),fe=s(()=>mn(p.value)),Fe=s(()=>{let A={};if(e.options===void 0){for(let te=1;te<=H.value;te++)A[te]=!0;return A}let Q=typeof e.options=="function"?e.options:te=>e.options.includes(te);for(let te=1;te<=H.value;te++){let he=fe.value+"/"+nt(te);A[te]=Q(he)}return A}),He=s(()=>{let A={};if(e.events===void 0)for(let Q=1;Q<=H.value;Q++)A[Q]=!1;else{let Q=typeof e.events=="function"?e.events:te=>e.events.includes(te);for(let te=1;te<=H.value;te++){let he=fe.value+"/"+nt(te);A[te]=Q(he)===!0&&me.value(he)}}return A}),Qe=s(()=>{let A,Q,{year:te,month:he}=p.value;if(e.calendar!=="persian")A=new Date(te,he-1,1),Q=new Date(te,he-1,0).getDate();else{let pe=jl(te,he,1);A=new Date(pe.gy,pe.gm-1,pe.gd);let rt=he-1,Be=te;rt===0&&(rt=12,Be--),Q=Ar(Be,rt)}return{days:A.getDay()-O.value-1,endDay:Q}}),ue=s(()=>{let A=[],{days:Q,endDay:te}=Qe.value,he=Q<0?Q+7:Q;if(he<6)for(let Be=te-he;Be<=te;Be++)A.push({i:Be,fill:!0});let pe=A.length;for(let Be=1;Be<=H.value;Be++){let Ze={i:Be,event:He.value[Be],classes:[]};Fe.value[Be]===!0&&(Ze.in=!0,Ze.flat=!0),A.push(Ze)}if(ge.value[fe.value]!==void 0&&ge.value[fe.value].forEach(Be=>{let Ze=pe+Be-1;Object.assign(A[Ze],{selected:!0,unelevated:!0,flat:!1,color:C.value,textColor:M.value})}),we.value[fe.value]!==void 0&&we.value[fe.value].forEach(Be=>{if(Be.from!==void 0){let Ze=pe+Be.from-1,ut=pe+(Be.to||H.value)-1;for(let uo=Ze;uo<=ut;uo++)Object.assign(A[uo],{range:Be.range,unelevated:!0,color:C.value,textColor:M.value});Object.assign(A[Ze],{rangeFrom:!0,flat:!1}),Be.to!==void 0&&Object.assign(A[ut],{rangeTo:!0,flat:!1})}else if(Be.to!==void 0){let Ze=pe+Be.to-1;for(let ut=pe;ut<=Ze;ut++)Object.assign(A[ut],{range:Be.range,unelevated:!0,color:C.value,textColor:M.value});Object.assign(A[Ze],{flat:!1,rangeTo:!0})}else{let Ze=pe+H.value-1;for(let ut=pe;ut<=Ze;ut++)Object.assign(A[ut],{range:Be.range,unelevated:!0,color:C.value,textColor:M.value})}}),Le.value!==void 0){let Be=pe+Le.value.from-1,Ze=pe+Le.value.to-1;for(let ut=Be;ut<=Ze;ut++)A[ut].color=C.value,A[ut].editRange=!0;Le.value.includeFrom===!0&&(A[Be].editRangeFrom=!0),Le.value.includeTo===!0&&(A[Ze].editRangeTo=!0)}p.value.year===b.value.year&&p.value.month===b.value.month&&(A[pe+b.value.day-1].today=!0);let rt=A.length%7;if(rt>0){let Be=7-rt;for(let Ze=1;Ze<=Be;Ze++)A.push({i:Ze,fill:!0})}return A.forEach(Be=>{let Ze="q-date__calendar-item ";Be.fill===!0?Ze+="q-date__calendar-item--fill":(Ze+=`q-date__calendar-item--${Be.in===!0?"in":"out"}`,Be.range!==void 0&&(Ze+=` q-date__range${Be.rangeTo===!0?"-to":Be.rangeFrom===!0?"-from":""}`),Be.editRange===!0&&(Ze+=` q-date__edit-range${Be.editRangeFrom===!0?"-from":""}${Be.editRangeTo===!0?"-to":""}`),(Be.range!==void 0||Be.editRange===!0)&&(Ze+=` text-${Be.color}`)),Be.classes=Ze}),A}),ve=s(()=>e.disable===!0?{"aria-disabled":"true"}:{});W(()=>e.modelValue,A=>{if(h===A)h=0;else{let Q=vt(x.value,y.value);tt(Q.year,Q.month,Q)}}),W(_,()=>{g.value!==null&&r.$el.contains(document.activeElement)===!0&&g.value.focus()}),W(()=>p.value.year+"|"+p.value.month,()=>{o("navigation",{year:p.value.year,month:p.value.month})}),W(k,A=>{ne(A,y.value,"mask"),x.value=A}),W(S,A=>{ne(x.value,A,"locale"),y.value=A});function ee(){let{year:A,month:Q,day:te}=b.value,he={...p.value,year:A,month:Q,day:te},pe=ge.value[mn(he)];(pe===void 0||pe.includes(he.day)===!1)&&jo(he),ze(he.year,he.month)}function be(A){gc(A)===!0&&(_.value=A)}function De(A,Q){["month","year"].includes(A)&&(A==="month"?se:Z)(Q===!0?-1:1)}function ze(A,Q){_.value="Calendar",tt(A,Q)}function Ve(A,Q){if(e.range===!1||!A){D.value=null;return}let te=Object.assign({...p.value},A),he=Q!==void 0?Object.assign({...p.value},Q):te;D.value={init:te,initHash:xo(te),final:he,finalHash:xo(he)},ze(te.year,te.month)}function at(){return e.calendar==="persian"?"YYYY/MM/DD":e.mask}function mt(A,Q,te){return fn(A,Q,te,e.calendar,{hour:0,minute:0,second:0,millisecond:0})}function vt(A,Q){let te=Array.isArray(e.modelValue)===!0?e.modelValue:e.modelValue?[e.modelValue]:[];if(te.length===0)return oe();let he=te[te.length-1],pe=mt(he.from!==void 0?he.from:he,A,Q);return pe.dateHash===null?oe():pe}function oe(){let A,Q;if(e.defaultYearMonth!==void 0){let te=e.defaultYearMonth.split("/");A=parseInt(te[0],10),Q=parseInt(te[1],10)}else{let te=b.value!==void 0?b.value:c();A=te.year,Q=te.month}return{year:A,month:Q,day:1,hour:0,minute:0,second:0,millisecond:0,dateHash:A+"/"+nt(Q)+"/01"}}function se(A){let Q=p.value.year,te=Number(p.value.month)+A;te===13?(te=1,Q++):te===0&&(te=12,Q--),tt(Q,te),X.value===!0&&yt("month")}function Z(A){let Q=Number(p.value.year)+A;tt(Q,p.value.month),X.value===!0&&yt("year")}function ie(A){tt(A,p.value.month),_.value=e.defaultView==="Years"?"Months":"Calendar",X.value===!0&&yt("year")}function Ae(A){tt(p.value.year,A),_.value="Calendar",X.value===!0&&yt("month")}function Ue(A,Q){let te=ge.value[Q];(te!==void 0&&te.includes(A.day)===!0?qo:jo)(A)}function ke(A){return{year:A.year,month:A.month,day:A.day}}function tt(A,Q,te){if(Me.value!==null&&A<=Me.value.year&&((Q<Me.value.month||A<Me.value.year)&&(Q=Me.value.month),A=Me.value.year),G.value!==null&&A>=G.value.year&&((Q>G.value.month||A>G.value.year)&&(Q=G.value.month),A=G.value.year),te!==void 0){let{hour:pe,minute:rt,second:Be,millisecond:Ze,timezoneOffset:ut,timeHash:uo}=te;Object.assign(p.value,{hour:pe,minute:rt,second:Be,millisecond:Ze,timezoneOffset:ut,timeHash:uo})}let he=A+"/"+nt(Q)+"/01";he!==p.value.dateHash&&(L.value=p.value.dateHash<he==(n.lang.rtl!==!0)?"left":"right",A!==p.value.year&&(V.value=L.value),$e(()=>{B.value=A-A%Bn-(A<0?Bn:0),Object.assign(p.value,{year:A,month:Q,day:1,dateHash:he})}))}function pt(A,Q,te){let he=A!==null&&A.length===1&&e.multiple===!1?A[0]:A;h=he;let{reason:pe,details:rt}=Gt(Q,te);o("update:modelValue",he,pe,rt)}function yt(A){let Q=T.value[0]!==void 0&&T.value[0].dateHash!==null?{...T.value[0]}:{...p.value};$e(()=>{Q.year=p.value.year,Q.month=p.value.month;let te=e.calendar!=="persian"?new Date(Q.year,Q.month,0).getDate():Ar(Q.year,Q.month);Q.day=Math.min(Math.max(1,Q.day),te);let he=lo(Q);h=he;let{details:pe}=Gt("",Q);o("update:modelValue",he,A,pe)})}function Gt(A,Q){return Q.from!==void 0?{reason:`${A}-range`,details:{...ke(Q.target),from:ke(Q.from),to:ke(Q.to)}}:{reason:`${A}-day`,details:ke(Q)}}function lo(A,Q,te){return A.from!==void 0?{from:ce.value(A.from,Q,te),to:ce.value(A.to,Q,te)}:ce.value(A,Q,te)}function jo(A){let Q;if(e.multiple===!0)if(A.from!==void 0){let te=xo(A.from),he=xo(A.to),pe=T.value.filter(Be=>Be.dateHash<te||Be.dateHash>he),rt=j.value.filter(({from:Be,to:Ze})=>Ze.dateHash<te||Be.dateHash>he);Q=pe.concat(rt).concat(A).map(Be=>lo(Be))}else{let te=Y.value.slice();te.push(lo(A)),Q=te}else Q=lo(A);pt(Q,"add",A)}function qo(A){if(e.noUnset===!0)return;let Q=null;if(e.multiple===!0&&Array.isArray(e.modelValue)===!0){let te=lo(A);A.from!==void 0?Q=e.modelValue.filter(he=>he.from!==void 0?he.from!==te.from&&he.to!==te.to:!0):Q=e.modelValue.filter(he=>he!==te),Q.length===0&&(Q=null)}pt(Q,"remove",A)}function ne(A,Q,te){let he=T.value.concat(j.value).map(pe=>lo(pe,A,Q)).filter(pe=>pe.from!==void 0?pe.from.dateHash!==null&&pe.to.dateHash!==null:pe.dateHash!==null);o("update:modelValue",(e.multiple===!0?he:he[0])||null,te)}function ye(){if(e.minimal!==!0)return i("div",{class:"q-date__header "+d.value},[i("div",{class:"relative-position"},[i(lt,{name:"q-transition--fade"},()=>i("div",{key:"h-yr-"+le.value,class:"q-date__header-subtitle q-date__header-link "+(_.value==="Years"?"q-date__header-link--active":"cursor-pointer"),tabindex:u.value,...l("vY",{onClick(){_.value="Years"},onKeyup(A){A.keyCode===13&&(_.value="Years")}})},[le.value]))]),i("div",{class:"q-date__header-title relative-position flex no-wrap"},[i("div",{class:"relative-position col"},[i(lt,{name:"q-transition--fade"},()=>i("div",{key:"h-sub"+w.value,class:"q-date__header-title-label q-date__header-link "+(_.value==="Calendar"?"q-date__header-link--active":"cursor-pointer"),tabindex:u.value,...l("vC",{onClick(){_.value="Calendar"},onKeyup(A){A.keyCode===13&&(_.value="Calendar")}})},[w.value]))]),e.todayBtn===!0?i(Ie,{class:"q-date__header-today self-start",icon:n.iconSet.datetime.today,flat:!0,size:"sm",round:!0,tabindex:u.value,onClick:ee}):null])])}function Ee({label:A,type:Q,key:te,dir:he,goTo:pe,boundaries:rt,cls:Be}){return[i("div",{class:"row items-center q-date__arrow"},[i(Ie,{round:!0,dense:!0,size:"sm",flat:!0,icon:P.value[0],tabindex:u.value,disable:rt.prev===!1,...l("go-#"+Q,{onClick(){pe(-1)}})})]),i("div",{class:"relative-position overflow-hidden flex flex-center"+Be},[i(lt,{name:"q-transition--jump-"+he},()=>i("div",{key:te},[i(Ie,{flat:!0,dense:!0,noCaps:!0,label:A,tabindex:u.value,...l("view#"+Q,{onClick:()=>{_.value=Q}})})]))]),i("div",{class:"row items-center q-date__arrow"},[i(Ie,{round:!0,dense:!0,size:"sm",flat:!0,icon:P.value[1],tabindex:u.value,disable:rt.next===!1,...l("go+#"+Q,{onClick(){pe(1)}})})])]}let Oe={Calendar:()=>[i("div",{key:"calendar-view",class:"q-date__view q-date__calendar"},[i("div",{class:"q-date__navigation row items-center no-wrap"},Ee({label:y.value.months[p.value.month-1],type:"Months",key:p.value.month,dir:L.value,goTo:se,boundaries:de.value.month,cls:" col"}).concat(Ee({label:p.value.year,type:"Years",key:p.value.year,dir:V.value,goTo:Z,boundaries:de.value.year,cls:""}))),i("div",{class:"q-date__calendar-weekdays row items-center no-wrap"},ae.value.map(A=>i("div",{class:"q-date__calendar-item"},[i("div",A)]))),i("div",{class:"q-date__calendar-days-container relative-position overflow-hidden"},[i(lt,{name:"q-transition--slide-"+L.value},()=>i("div",{key:fe.value,class:"q-date__calendar-days fit"},ue.value.map(A=>i("div",{class:A.classes},[A.in===!0?i(Ie,{class:A.today===!0?"q-date__today":"",dense:!0,flat:A.flat,unelevated:A.unelevated,color:A.color,textColor:A.textColor,label:A.i,tabindex:u.value,...l("day#"+A.i,{onClick:()=>{Ye(A.i)},onMouseover:()=>{St(A.i)}})},A.event!==!1?()=>i("div",{class:"q-date__event bg-"+A.event}):null):i("div",""+A.i)]))))])])],Months(){let A=p.value.year===b.value.year,Q=he=>Me.value!==null&&p.value.year===Me.value.year&&Me.value.month>he||G.value!==null&&p.value.year===G.value.year&&G.value.month<he,te=y.value.monthsShort.map((he,pe)=>{let rt=p.value.month===pe+1;return i("div",{class:"q-date__months-item flex flex-center"},[i(Ie,{class:A===!0&&b.value.month===pe+1?"q-date__today":null,flat:rt!==!0,label:he,unelevated:rt,color:rt===!0?C.value:null,textColor:rt===!0?M.value:null,tabindex:u.value,disable:Q(pe+1),...l("month#"+pe,{onClick:()=>{Ae(pe+1)}})})])});return e.yearsInMonthView===!0&&te.unshift(i("div",{class:"row no-wrap full-width"},[Ee({label:p.value.year,type:"Years",key:p.value.year,dir:V.value,goTo:Z,boundaries:de.value.year,cls:" col"})])),i("div",{key:"months-view",class:"q-date__view q-date__months flex flex-center"},te)},Years(){let A=B.value,Q=A+Bn,te=[],he=pe=>Me.value!==null&&Me.value.year>pe||G.value!==null&&G.value.year<pe;for(let pe=A;pe<=Q;pe++){let rt=p.value.year===pe;te.push(i("div",{class:"q-date__years-item flex flex-center"},[i(Ie,{key:"yr"+pe,class:b.value.year===pe?"q-date__today":null,flat:!rt,label:pe,dense:!0,unelevated:rt,color:rt===!0?C.value:null,textColor:rt===!0?M.value:null,tabindex:u.value,disable:he(pe),...l("yr#"+pe,{onClick:()=>{ie(pe)}})})]))}return i("div",{class:"q-date__view q-date__years flex flex-center"},[i("div",{class:"col-auto"},[i(Ie,{round:!0,dense:!0,flat:!0,icon:P.value[0],tabindex:u.value,disable:he(A),...l("y-",{onClick:()=>{B.value-=Bn}})})]),i("div",{class:"q-date__years-content col self-stretch row items-center"},te),i("div",{class:"col-auto"},[i(Ie,{round:!0,dense:!0,flat:!0,icon:P.value[1],tabindex:u.value,disable:he(Q),...l("y+",{onClick:()=>{B.value+=Bn}})})])])}};function Ye(A){let Q={...p.value,day:A};if(e.range===!1){Ue(Q,fe.value);return}if(D.value===null){let te=ue.value.find(pe=>pe.fill!==!0&&pe.i===A);if(e.noUnset!==!0&&te.range!==void 0){qo({target:Q,from:te.range.from,to:te.range.to});return}if(te.selected===!0){qo(Q);return}let he=xo(Q);D.value={init:Q,initHash:he,final:Q,finalHash:he},o("rangeStart",ke(Q))}else{let te=D.value.initHash,he=xo(Q),pe=te<=he?{from:D.value.init,to:Q}:{from:Q,to:D.value.init};D.value=null,jo(te===he?Q:{target:Q,...pe}),o("rangeEnd",{from:ke(pe.from),to:ke(pe.to)})}}function St(A){if(D.value!==null){let Q={...p.value,day:A};Object.assign(D.value,{final:Q,finalHash:xo(Q)})}}return Object.assign(r,{setToday:ee,setView:be,offsetCalendar:De,setCalendarTo:ze,setEditingRange:Ve}),()=>{let A=[i("div",{class:"q-date__content col relative-position"},[i(lt,{name:"q-transition--fade"},Oe[_.value])])],Q=re(t.default);return Q!==void 0&&A.push(i("div",{class:"q-date__actions"},Q)),e.name!==void 0&&e.disable!==!0&&m(A,"push"),i("div",{class:R.value,...ve.value},[ye(),i("div",{ref:g,class:"q-date__main col column",tabindex:-1},A)])}}});function ba(e,t,o){let r;function n(){r!==void 0&&(on.remove(r),r=void 0)}return Se(()=>{e.value===!0&&n()}),{removeFromHistory:n,addToHistory(){r={condition:()=>o.value===!0,handler:t},on.add(r)}}}var si=0,tu,ou,ci,nu=!1,pc,bc,yc,Ln=null;function fh(e){mh(e)&&qe(e)}function mh(e){if(e.target===document.body||e.target.classList.contains("q-layout__backdrop"))return!0;let t=xl(e),o=e.shiftKey&&!e.deltaX,r=!o&&Math.abs(e.deltaX)<=Math.abs(e.deltaY),n=o||r?e.deltaY:e.deltaX;for(let a=0;a<t.length;a++){let l=t[a];if(Fl(l,r))return r?n<0&&l.scrollTop===0?!0:n>0&&l.scrollTop+l.clientHeight===l.scrollHeight:n<0&&l.scrollLeft===0?!0:n>0&&l.scrollLeft+l.clientWidth===l.scrollWidth}return!0}function Sc(e){e.target===document&&(document.scrollingElement.scrollTop=document.scrollingElement.scrollTop)}function ya(e){nu!==!0&&(nu=!0,requestAnimationFrame(()=>{nu=!1;let{height:t}=e.target,{clientHeight:o,scrollTop:r}=document.scrollingElement;(ci===void 0||t!==window.innerHeight)&&(ci=o-t,document.scrollingElement.scrollTop=r),r>ci&&(document.scrollingElement.scrollTop-=Math.ceil((r-ci)/8))}))}function xc(e){let t=document.body,o=window.visualViewport!==void 0;if(e==="add"){let{overflowY:r,overflowX:n}=window.getComputedStyle(t);tu=sn(window),ou=eo(window),pc=t.style.left,bc=t.style.top,yc=window.location.href,t.style.left=`-${tu}px`,t.style.top=`-${ou}px`,n!=="hidden"&&(n==="scroll"||t.scrollWidth>window.innerWidth)&&t.classList.add("q-body--force-scrollbar-x"),r!=="hidden"&&(r==="scroll"||t.scrollHeight>window.innerHeight)&&t.classList.add("q-body--force-scrollbar-y"),t.classList.add("q-body--prevent-scroll"),document.qScrollPrevented=!0,Re.is.ios===!0&&(o===!0?(window.scrollTo(0,0),window.visualViewport.addEventListener("resize",ya,et.passiveCapture),window.visualViewport.addEventListener("scroll",ya,et.passiveCapture),window.scrollTo(0,0)):window.addEventListener("scroll",Sc,et.passiveCapture))}Re.is.desktop===!0&&Re.is.mac===!0&&window[`${e}EventListener`]("wheel",fh,et.notPassive),e==="remove"&&(Re.is.ios===!0&&(o===!0?(window.visualViewport.removeEventListener("resize",ya,et.passiveCapture),window.visualViewport.removeEventListener("scroll",ya,et.passiveCapture)):window.removeEventListener("scroll",Sc,et.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=pc,t.style.top=bc,window.location.href===yc&&window.scrollTo(tu,ou),ci=void 0)}function di(e){let t="add";if(e===!0){if(si++,Ln!==null){clearTimeout(Ln),Ln=null;return}if(si>1)return}else{if(si===0||(si--,si>0))return;if(t="remove",Re.is.ios===!0&&Re.is.nativeMobile===!0){Ln!==null&&clearTimeout(Ln),Ln=setTimeout(()=>{xc(t),Ln=null},100);return}}xc(t)}function Sa(){let e;return{preventBodyScroll(t){t!==e&&(e!==void 0||t===!0)&&(e=t,di(t))}}}var xa=0,vh={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"},_c={standard:["scale","scale"],top:["slide-down","slide-up"],bottom:["slide-up","slide-down"],right:["slide-left","slide-right"],left:["slide-right","slide-left"]},Ho=$({name:"QDialog",inheritAttrs:!1,props:{...mo,...Eo,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=>e==="standard"||["top","bottom","left","right"].includes(e)}},emits:[...vo,"shake","click","escapeKey"],setup(e,{slots:t,emit:o,attrs:r}){let n=U(),a=q(null),l=q(!1),u=q(!1),d=null,f=null,c,h,v=s(()=>e.persistent!==!0&&e.noRouteDismiss!==!0&&e.seamless!==!0),{preventBodyScroll:m}=Sa(),{registerTimeout:g}=Yt(),{registerTick:x,removeTick:y}=po(),{transitionProps:k,transitionStyle:S}=un(e,()=>_c[e.position][0],()=>_c[e.position][1]),b=s(()=>S.value+(e.backdropFilter!==void 0?`;backdrop-filter:${e.backdropFilter};-webkit-backdrop-filter:${e.backdropFilter}`:"")),{showPortal:p,hidePortal:_,portalIsAccessible:E,renderPortal:L}=lr(n,a,le,"dialog"),{hide:V}=go({showing:l,hideOnRouteChange:v,handleShow:X,handleHide:Y,processOnMount:!0}),{addToHistory:F,removeFromHistory:B}=ba(l,V,v),D=s(()=>`q-dialog__inner flex no-pointer-events q-dialog__inner--${e.maximized===!0?"maximized":"minimized"} q-dialog__inner--${e.position} ${vh[e.position]}`+(u.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":"")),R=s(()=>l.value===!0&&e.seamless!==!0),C=s(()=>e.autoClose===!0?{onClick:w}:{}),M=s(()=>[`q-dialog fullscreen no-pointer-events q-dialog--${R.value===!0?"modal":"seamless"}`,r.class]);W(()=>e.maximized,P=>{l.value===!0&&I(P)}),W(R,P=>{m(P),P===!0?(dr(N),Hi(J)):(Rn(N),cr(J))});function X(P){F(),f=e.noRefocus===!1&&document.activeElement!==null?document.activeElement:null,I(e.maximized),p(),u.value=!0,e.noFocus!==!0?(document.activeElement!==null&&document.activeElement.blur(),x(T)):y(),g(()=>{if(n.proxy.$q.platform.is.ios===!0){if(e.seamless!==!0&&document.activeElement){let{top:O,bottom:ae}=document.activeElement.getBoundingClientRect(),{innerHeight:H}=window,me=window.visualViewport!==void 0?window.visualViewport.height:H;O>0&&ae>me/2&&(document.scrollingElement.scrollTop=Math.min(document.scrollingElement.scrollHeight-me,ae>=H?1/0:Math.ceil(document.scrollingElement.scrollTop+ae-me/2))),document.activeElement.scrollIntoView()}h=!0,a.value.click(),h=!1}p(!0),u.value=!1,o("show",P)},e.transitionDuration)}function Y(P){y(),B(),ce(!0),u.value=!0,_(),f!==null&&(((P&&P.type.indexOf("key")===0?f.closest('[tabindex]:not([tabindex^="-"])'):void 0)||f).focus(),f=null),g(()=>{_(!0),u.value=!1,o("hide",P)},e.transitionDuration)}function T(P){ho(()=>{let O=a.value;if(O!==null){if(P!==void 0){let ae=O.querySelector(P);if(ae!==null){ae.focus({preventScroll:!0});return}}O.contains(document.activeElement)!==!0&&(O=O.querySelector("[autofocus][tabindex], [data-autofocus][tabindex]")||O.querySelector("[autofocus] [tabindex], [data-autofocus] [tabindex]")||O.querySelector("[autofocus], [data-autofocus]")||O,O.focus({preventScroll:!0}))}})}function j(P){P&&typeof P.focus=="function"?P.focus({preventScroll:!0}):T(),o("shake");let O=a.value;O!==null&&(O.classList.remove("q-animate--scale"),O.classList.add("q-animate--scale"),d!==null&&clearTimeout(d),d=setTimeout(()=>{d=null,a.value!==null&&(O.classList.remove("q-animate--scale"),T())},170))}function J(){e.seamless!==!0&&(e.persistent===!0||e.noEscDismiss===!0?e.maximized!==!0&&e.noShake!==!0&&j():(o("escapeKey"),V()))}function ce(P){d!==null&&(clearTimeout(d),d=null),(P===!0||l.value===!0)&&(I(!1),e.seamless!==!0&&(m(!1),Rn(N),cr(J))),P!==!0&&(f=null)}function I(P){P===!0?c!==!0&&(xa<1&&document.body.classList.add("q-body--dialog"),xa++,c=!0):c===!0&&(xa<2&&document.body.classList.remove("q-body--dialog"),xa--,c=!1)}function w(P){h!==!0&&(V(P),o("click",P))}function K(P){e.persistent!==!0&&e.noBackdropDismiss!==!0?V(P):e.noShake!==!0&&j()}function N(P){e.allowFocusOutside!==!0&&E.value===!0&&Di(a.value,P.target)!==!0&&T('[tabindex]:not([tabindex="-1"])')}Object.assign(n.proxy,{focus:T,shake:j,__updateRefocusTarget(P){f=P||null}}),Se(ce);function le(){return i("div",{role:"dialog","aria-modal":R.value===!0?"true":"false",...r,class:M.value},[i(lt,{name:"q-transition--fade",appear:!0},()=>R.value===!0?i("div",{class:"q-dialog__backdrop fixed-full",style:b.value,"aria-hidden":"true",tabindex:-1,onClick:K}):null),i(lt,k.value,()=>l.value===!0?i("div",{ref:a,class:D.value,style:S.value,tabindex:-1,...C.value},re(t.default)):null)])}return L}});var Cc=150,wc=$({name:"QDrawer",inheritAttrs:!1,props:{...mo,..._e,side:{type:String,default:"left",validator:e=>["left","right"].includes(e)},width:{type:Number,default:300},mini:Boolean,miniToOverlay:Boolean,miniWidth:{type:Number,default:57},noMiniAnimation:Boolean,breakpoint:{type:Number,default:1023},showIfAbove:Boolean,behavior:{type:String,validator:e=>["default","desktop","mobile"].includes(e),default:"default"},bordered:Boolean,elevated:Boolean,overlay:Boolean,persistent:Boolean,noSwipeOpen:Boolean,noSwipeClose:Boolean,noSwipeBackdrop:Boolean},emits:[...vo,"onLayout","miniState"],setup(e,{slots:t,emit:o,attrs:r}){let n=U(),{proxy:{$q:a}}=n,l=Ce(e,a),{preventBodyScroll:u}=Sa(),{registerTimeout:d,removeTimeout:f}=Yt(),c=ht(Jt,Je);if(c===Je)return console.error("QDrawer needs to be child of QLayout"),Je;let h,v=null,m,g=q(e.behavior==="mobile"||e.behavior!=="desktop"&&c.totalWidth.value<=e.breakpoint),x=s(()=>e.mini===!0&&g.value!==!0),y=s(()=>x.value===!0?e.miniWidth:e.width),k=q(e.showIfAbove===!0&&g.value===!1?!0:e.modelValue===!0),S=s(()=>e.persistent!==!0&&(g.value===!0||ce.value===!0));function b(ee,be){if(L(),ee!==!1&&c.animate(),de(0),g.value===!0){let De=c.instances[Y.value];De!==void 0&&De.belowBreakpoint===!0&&De.hide(!1),ge(1),c.isContainer.value!==!0&&u(!0)}else ge(0),ee!==!1&&we(!1);d(()=>{ee!==!1&&we(!0),be!==!0&&o("show",ee)},Cc)}function p(ee,be){V(),ee!==!1&&c.animate(),ge(0),de(D.value*y.value),He(),be!==!0?d(()=>{o("hide",ee)},Cc):f()}let{show:_,hide:E}=go({showing:k,hideOnRouteChange:S,handleShow:b,handleHide:p}),{addToHistory:L,removeFromHistory:V}=ba(k,E,S),F={belowBreakpoint:g,hide:E},B=s(()=>e.side==="right"),D=s(()=>(a.lang.rtl===!0?-1:1)*(B.value===!0?1:-1)),R=q(0),C=q(!1),M=q(!1),X=q(y.value*D.value),Y=s(()=>B.value===!0?"left":"right"),T=s(()=>k.value===!0&&g.value===!1&&e.overlay===!1?e.miniToOverlay===!0?e.miniWidth:y.value:0),j=s(()=>e.overlay===!0||e.miniToOverlay===!0||c.view.value.indexOf(B.value?"R":"L")!==-1||a.platform.is.ios===!0&&c.isContainer.value===!0),J=s(()=>e.overlay===!1&&k.value===!0&&g.value===!1),ce=s(()=>e.overlay===!0&&k.value===!0&&g.value===!1),I=s(()=>"fullscreen q-drawer__backdrop"+(k.value===!1&&C.value===!1?" hidden":"")),w=s(()=>({backgroundColor:`rgba(0,0,0,${R.value*.4})`})),K=s(()=>B.value===!0?c.rows.value.top[2]==="r":c.rows.value.top[0]==="l"),N=s(()=>B.value===!0?c.rows.value.bottom[2]==="r":c.rows.value.bottom[0]==="l"),le=s(()=>{let ee={};return c.header.space===!0&&K.value===!1&&(j.value===!0?ee.top=`${c.header.offset}px`:c.header.space===!0&&(ee.top=`${c.header.size}px`)),c.footer.space===!0&&N.value===!1&&(j.value===!0?ee.bottom=`${c.footer.offset}px`:c.footer.space===!0&&(ee.bottom=`${c.footer.size}px`)),ee}),P=s(()=>{let ee={width:`${y.value}px`,transform:`translateX(${X.value}px)`};return g.value===!0?ee:Object.assign(ee,le.value)}),O=s(()=>"q-drawer__content fit "+(c.isContainer.value!==!0?"scroll":"overflow-auto")),ae=s(()=>`q-drawer q-drawer--${e.side}`+(M.value===!0?" q-drawer--mini-animate":"")+(e.bordered===!0?" q-drawer--bordered":"")+(l.value===!0?" q-drawer--dark q-dark":"")+(C.value===!0?" no-transition":k.value===!0?"":" q-layout--prevent-focus")+(g.value===!0?" fixed q-drawer--on-top q-drawer--mobile q-drawer--top-padding":` q-drawer--${x.value===!0?"mini":"standard"}`+(j.value===!0||J.value!==!0?" fixed":"")+(e.overlay===!0||e.miniToOverlay===!0?" q-drawer--on-top":"")+(K.value===!0?" q-drawer--top-padding":""))),H=s(()=>{let ee=a.lang.rtl===!0?e.side:Y.value;return[[Rt,fe,void 0,{[ee]:!0,mouse:!0}]]}),me=s(()=>{let ee=a.lang.rtl===!0?Y.value:e.side;return[[Rt,Fe,void 0,{[ee]:!0,mouse:!0}]]}),Me=s(()=>{let ee=a.lang.rtl===!0?Y.value:e.side;return[[Rt,Fe,void 0,{[ee]:!0,mouse:!0,mouseAllDir:!0}]]});function G(){ue(g,e.behavior==="mobile"||e.behavior!=="desktop"&&c.totalWidth.value<=e.breakpoint)}W(g,ee=>{ee===!0?(h=k.value,k.value===!0&&E(!1)):e.overlay===!1&&e.behavior!=="mobile"&&h!==!1&&(k.value===!0?(de(0),ge(0),He()):_(!1))}),W(()=>e.side,(ee,be)=>{c.instances[be]===F&&(c.instances[be]=void 0,c[be].space=!1,c[be].offset=0),c.instances[ee]=F,c[ee].size=y.value,c[ee].space=J.value,c[ee].offset=T.value}),W(c.totalWidth,()=>{(c.isContainer.value===!0||document.qScrollPrevented!==!0)&&G()}),W(()=>e.behavior+e.breakpoint,G),W(c.isContainer,ee=>{k.value===!0&&u(ee!==!0),ee===!0&&G()}),W(c.scrollbarWidth,()=>{de(k.value===!0?0:void 0)}),W(T,ee=>{Qe("offset",ee)}),W(J,ee=>{o("onLayout",ee),Qe("space",ee)}),W(B,()=>{de()}),W(y,ee=>{de(),ve(e.miniToOverlay,ee)}),W(()=>e.miniToOverlay,ee=>{ve(ee,y.value)}),W(()=>a.lang.rtl,()=>{de()}),W(()=>e.mini,()=>{e.noMiniAnimation||e.modelValue===!0&&(Le(),c.animate())}),W(x,ee=>{o("miniState",ee)});function de(ee){ee===void 0?$e(()=>{ee=k.value===!0?0:y.value,de(D.value*ee)}):(c.isContainer.value===!0&&B.value===!0&&(g.value===!0||Math.abs(ee)===y.value)&&(ee+=D.value*c.scrollbarWidth.value),X.value=ee)}function ge(ee){R.value=ee}function we(ee){let be=ee===!0?"remove":c.isContainer.value!==!0?"add":"";be!==""&&document.body.classList[be]("q-body--drawer-toggle")}function Le(){v!==null&&clearTimeout(v),n.proxy&&n.proxy.$el&&n.proxy.$el.classList.add("q-drawer--mini-animate"),M.value=!0,v=setTimeout(()=>{v=null,M.value=!1,n&&n.proxy&&n.proxy.$el&&n.proxy.$el.classList.remove("q-drawer--mini-animate")},150)}function fe(ee){if(k.value!==!1)return;let be=y.value,De=ot(ee.distance.x,0,be);if(ee.isFinal===!0){De>=Math.min(75,be)===!0?_():(c.animate(),ge(0),de(D.value*be)),C.value=!1;return}de((a.lang.rtl===!0?B.value!==!0:B.value)?Math.max(be-De,0):Math.min(0,De-be)),ge(ot(De/be,0,1)),ee.isFirst===!0&&(C.value=!0)}function Fe(ee){if(k.value!==!0)return;let be=y.value,De=ee.direction===e.side,ze=(a.lang.rtl===!0?De!==!0:De)?ot(ee.distance.x,0,be):0;if(ee.isFinal===!0){Math.abs(ze)<Math.min(75,be)===!0?(c.animate(),ge(1),de(0)):E(),C.value=!1;return}de(D.value*ze),ge(ot(1-ze/be,0,1)),ee.isFirst===!0&&(C.value=!0)}function He(){u(!1),we(!0)}function Qe(ee,be){c.update(e.side,ee,be)}function ue(ee,be){ee.value!==be&&(ee.value=be)}function ve(ee,be){Qe("size",ee===!0?e.miniWidth:be)}return c.instances[e.side]=F,ve(e.miniToOverlay,y.value),Qe("space",J.value),Qe("offset",T.value),e.showIfAbove===!0&&e.modelValue!==!0&&k.value===!0&&e["onUpdate:modelValue"]!==void 0&&o("update:modelValue",!0),Ne(()=>{o("onLayout",J.value),o("miniState",x.value),h=e.showIfAbove===!0;let ee=()=>{(k.value===!0?b:p)(!1,!0)};if(c.totalWidth.value!==0){$e(ee);return}m=W(c.totalWidth,()=>{m(),m=void 0,k.value===!1&&e.showIfAbove===!0&&g.value===!1?_(!1):ee()})}),Se(()=>{m!==void 0&&m(),v!==null&&(clearTimeout(v),v=null),k.value===!0&&He(),c.instances[e.side]===F&&(c.instances[e.side]=void 0,Qe("size",0),Qe("offset",0),Qe("space",!1))}),()=>{let ee=[];g.value===!0&&(e.noSwipeOpen===!1&&ee.push(Et(i("div",{key:"open",class:`q-drawer__opener fixed-${e.side}`,"aria-hidden":"true"}),H.value)),ee.push(Mt("div",{ref:"backdrop",class:I.value,style:w.value,"aria-hidden":"true",onClick:E},void 0,"backdrop",e.noSwipeBackdrop!==!0&&k.value===!0,()=>Me.value)));let be=x.value===!0&&t.mini!==void 0,De=[i("div",{...r,key:""+be,class:[O.value,r.class]},be===!0?t.mini():re(t.default))];return e.elevated===!0&&k.value===!0&&De.push(i("div",{class:"q-layout__shadow absolute-full overflow-hidden no-pointer-events"})),ee.push(Mt("aside",{ref:"content",class:ae.value,style:P.value},De,"contentclose",e.noSwipeClose!==!0&&g.value===!0,()=>me.value)),i("div",{class:"q-drawer-container"},ee)}}});function kc(e,t){if(t&&e===t)return null;let o=e.nodeName.toLowerCase();if(["div","li","ul","ol","blockquote"].includes(o)===!0)return e;let r=window.getComputedStyle?window.getComputedStyle(e):e.currentStyle,n=r.display;return n==="block"||n==="table"?e:kc(e.parentNode)}function ru(e,t,o){return!e||e===document.body?!1:o===!0&&e===t||(t===document?document.body:t).contains(e.parentNode)}function qc(e,t,o){if(o||(o=document.createRange(),o.selectNode(e),o.setStart(e,0)),t.count===0)o.setEnd(e,t.count);else if(t.count>0)if(e.nodeType===Node.TEXT_NODE)e.textContent.length<t.count?t.count-=e.textContent.length:(o.setEnd(e,t.count),t.count=0);else for(let r=0;t.count!==0&&r<e.childNodes.length;r++)o=qc(e.childNodes[r],t,o);return o}var gh=/^https?:\/\//,fi=class{constructor(t,o){this.el=t,this.eVm=o,this._range=null}get selection(){if(this.el){let t=document.getSelection();if(ru(t.anchorNode,this.el,!0)&&ru(t.focusNode,this.el,!0))return t}return null}get hasSelection(){return this.selection!==null?this.selection.toString().length!==0:!1}get range(){let t=this.selection;return t!==null&&t.rangeCount?t.getRangeAt(0):this._range}get parent(){let t=this.range;if(t!==null){let o=t.startContainer;return o.nodeType===document.ELEMENT_NODE?o:o.parentNode}return null}get blockParent(){let t=this.parent;return t!==null?kc(t,this.el):null}save(t=this.range){t!==null&&(this._range=t)}restore(t=this._range){let o=document.createRange(),r=document.getSelection();t!==null?(o.setStart(t.startContainer,t.startOffset),o.setEnd(t.endContainer,t.endOffset),r.removeAllRanges(),r.addRange(o)):(r.selectAllChildren(this.el),r.collapseToEnd())}savePosition(){let t=-1,o,r=document.getSelection(),n=this.el.parentNode;if(r.focusNode&&ru(r.focusNode,n))for(o=r.focusNode,t=r.focusOffset;o&&o!==n;)o!==this.el&&o.previousSibling?(o=o.previousSibling,t+=o.textContent.length):o=o.parentNode;this.savedPos=t}restorePosition(t=0){if(this.savedPos>0&&this.savedPos<t){let o=window.getSelection(),r=qc(this.el,{count:this.savedPos});r&&(r.collapse(!1),o.removeAllRanges(),o.addRange(r))}}hasParent(t,o){let r=o?this.parent:this.blockParent;return r!==null?r.nodeName.toLowerCase()===t.toLowerCase():!1}hasParents(t,o,r=this.parent){return r===null?!1:t.includes(r.nodeName.toLowerCase())===!0?!0:o===!0?this.hasParents(t,o,r.parentNode):!1}is(t,o){if(this.selection===null)return!1;switch(t){case"formatBlock":return o==="DIV"&&this.parent===this.el||this.hasParent(o,o==="PRE");case"link":return this.hasParent("A",!0);case"fontSize":return document.queryCommandValue(t)===o;case"fontName":let r=document.queryCommandValue(t);return r===`"${o}"`||r===o;case"fullscreen":return this.eVm.inFullscreen.value;case"viewsource":return this.eVm.isViewingSource.value;case void 0:return!1;default:let n=document.queryCommandState(t);return o!==void 0?n===o:n}}getParentAttribute(t){return this.parent!==null?this.parent.getAttribute(t):null}can(t){if(t==="outdent")return this.hasParents(["blockquote","li"],!0);if(t==="indent")return this.hasParents(["li"],!0);if(t==="link")return this.selection!==null||this.is("link")}apply(t,o,r=We){if(t==="formatBlock")["BLOCKQUOTE","H1","H2","H3","H4","H5","H6"].includes(o)&&this.is(t,o)&&(t="outdent",o=null),o==="PRE"&&this.is(t,"PRE")&&(o="P");else if(t==="print"){r();let n=window.open();n.document.write(`
7
+ (()=>{var uv=Object.create;var bl=Object.defineProperty;var sv=Object.getOwnPropertyDescriptor;var cv=Object.getOwnPropertyNames;var dv=Object.getPrototypeOf,fv=Object.prototype.hasOwnProperty;var ku=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),jr=(e,t)=>{for(var o in t)bl(e,o,{get:t[o],enumerable:!0})},mv=(e,t,o,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of cv(t))!fv.call(e,n)&&n!==o&&bl(e,n,{get:()=>t[n],enumerable:!(r=sv(t,n))||r.enumerable});return e};var qu=(e,t,o)=>(o=e!=null?uv(dv(e)):{},mv(t||!e||!e.__esModule?bl(o,"default",{value:e,enumerable:!0}):o,e));var ju=ku((N0,Nu)=>{Nu.exports={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"},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,o)=>e+"-"+t+" of "+o,columns:"Columns"},editor:{url:"URL",bold:"Bold",italic:"Italic",strikethrough:"Strikethrough",underline:"Underline",unorderedList:"Unordered List",orderedList:"Ordered List",subscript:"Subscript",superscript:"Superscript",hyperlink:"Hyperlink",toggleFullscreen:"Toggle Fullscreen",quote:"Quote",left:"Left align",center:"Center align",right:"Right align",justify:"Justify align",print:"Print",outdent:"Decrease indentation",indent:"Increase indentation",removeFormat:"Remove formatting",formatting:"Formatting",fontSize:"Font Size",align:"Align",hr:"Insert Horizontal Rule",undo:"Undo",redo:"Redo",heading1:"Heading 1",heading2:"Heading 2",heading3:"Heading 3",heading4:"Heading 4",heading5:"Heading 5",heading6:"Heading 6",paragraph:"Paragraph",code:"Code",size1:"Very small",size2:"A bit small",size3:"Normal",size4:"Medium-large",size5:"Big",size6:"Very big",size7:"Maximum",defaultFont:"Default Font",viewSource:"View Source"},tree:{noNodes:"No nodes available",noResults:"No matching nodes found"}}});var Wu=ku((K0,Ku)=>{Ku.exports={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"}}});var{h:i,ref:q,computed:s,watch:W,isRef:Tu,toRaw:so,unref:Mu,reactive:Uo,shallowReactive:Ru,nextTick:$e,onActivated:Qt,onDeactivated:Pt,onBeforeMount:Hn,onMounted:Ne,onBeforeUnmount:Se,onUnmounted:Qn,onBeforeUpdate:To,onUpdated:Pu,inject:ht,provide:Nt,getCurrentInstance:U,markRaw:Ur,Transition:lt,TransitionGroup:Au,KeepAlive:xi,Teleport:$u,useSSRContext:h0,withDirectives:Et,vShow:_i,defineComponent:Eu,createApp:Bu}=window.Vue;function st(e,t,o,r){return Object.defineProperty(e,t,{get:o,set:r,enumerable:!0}),e}function Ci(e,t){for(let o in t)st(e,o,t[o]);return e}var xt=q(!1),yl;function vv(e,t){let o=/(edg|edge|edga|edgios)\/([\w.]+)/.exec(e)||/(opr)[\/]([\w.]+)/.exec(e)||/(vivaldi)[\/]([\w.]+)/.exec(e)||/(chrome|crios)[\/]([\w.]+)/.exec(e)||/(version)(applewebkit)[\/]([\w.]+).*(safari)[\/]([\w.]+)/.exec(e)||/(webkit)[\/]([\w.]+).*(version)[\/]([\w.]+).*(safari)[\/]([\w.]+)/.exec(e)||/(firefox|fxios)[\/]([\w.]+)/.exec(e)||/(webkit)[\/]([\w.]+)/.exec(e)||/(opera)(?:.*version|)[\/]([\w.]+)/.exec(e)||[];return{browser:o[5]||o[3]||o[1]||"",version:o[4]||o[2]||"0",platform:t[0]||""}}function gv(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)||[]}var Fu="ontouchstart"in window||window.navigator.maxTouchPoints>0;function hv(e){let t=e.toLowerCase(),o=gv(t),r=vv(t,o),n={};r.browser&&(n[r.browser]=!0,n.version=r.version,n.versionNumber=parseInt(r.version,10)),r.platform&&(n[r.platform]=!0);let a=n.android||n.ios||n.bb||n.blackberry||n.ipad||n.iphone||n.ipod||n.kindle||n.playbook||n.silk||n["windows phone"];if(a===!0||t.indexOf("mobile")!==-1?n.mobile=!0:n.desktop=!0,n["windows phone"]&&(n.winphone=!0,delete n["windows phone"]),n.edga||n.edgios||n.edg?(n.edge=!0,r.browser="edge"):n.crios?(n.chrome=!0,r.browser="chrome"):n.fxios&&(n.firefox=!0,r.browser="firefox"),(n.ipod||n.ipad||n.iphone)&&(n.ios=!0),n.vivaldi&&(r.browser="vivaldi",n.vivaldi=!0),(n.chrome||n.opr||n.safari||n.vivaldi||n.mobile===!0&&n.ios!==!0&&a!==!0)&&(n.webkit=!0),n.opr&&(r.browser="opera",n.opera=!0),n.safari&&(n.blackberry||n.bb?(r.browser="blackberry",n.blackberry=!0):n.playbook?(r.browser="playbook",n.playbook=!0):n.android?(r.browser="android",n.android=!0):n.kindle?(r.browser="kindle",n.kindle=!0):n.silk&&(r.browser="silk",n.silk=!0)),n.name=r.browser,n.platform=r.platform,t.indexOf("electron")!==-1)n.electron=!0;else if(document.location.href.indexOf("-extension://")!==-1)n.bex=!0;else{if(window.Capacitor!==void 0?(n.capacitor=!0,n.nativeMobile=!0,n.nativeMobileWrapper="capacitor"):(window._cordovaNative!==void 0||window.cordova!==void 0)&&(n.cordova=!0,n.nativeMobile=!0,n.nativeMobileWrapper="cordova"),xt.value===!0&&(yl={is:{...n}}),Fu===!0&&n.mac===!0&&(n.desktop===!0&&n.safari===!0||n.nativeMobile===!0&&n.android!==!0&&n.ios!==!0&&n.ipad!==!0)){delete n.mac,delete n.desktop;let l=Math.min(window.innerHeight,window.innerWidth)>414?"ipad":"iphone";Object.assign(n,{mobile:!0,ios:!0,platform:l,[l]:!0})}n.mobile!==!0&&window.navigator.userAgentData&&window.navigator.userAgentData.mobile&&(delete n.desktop,n.mobile=!0)}return n}var Lu=navigator.userAgent||navigator.vendor||window.opera,pv={has:{touch:!1,webStorage:!1},within:{iframe:!1}},Re={userAgent:Lu,is:hv(Lu),has:{touch:Fu},within:{iframe:window.self!==window.top}},Sl={install(e){let{$q:t}=e;xt.value===!0?(e.onSSRHydrated.push(()=>{Object.assign(t.platform,Re),xt.value=!1}),t.platform=Uo(this)):t.platform=this}};{let e;st(Re.has,"webStorage",()=>{if(e!==void 0)return e;try{if(window.localStorage)return e=!0,!0}catch{}return e=!1,!1}),Object.assign(Sl,Re),xt.value===!0&&(Object.assign(Sl,yl,pv),yl=null)}var Mo=Sl;function $(e){return Ur(Eu(e))}function At(e){return Ur(e)}var jt=(e,t)=>{let o=Uo(e);for(let r in e)st(t,r,()=>o[r],n=>{o[r]=n});return t};var et={hasPassive:!1,passiveCapture:!0,notPassiveCapture:!0};try{let e=Object.defineProperty({},"passive",{get(){Object.assign(et,{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 We(){}function Ko(e){return e.button===0}function bv(e){return e.button===1}function yv(e){return e.button===2}function _t(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 xl(e){if(e.path)return e.path;if(e.composedPath)return e.composedPath();let t=[],o=e.target;for(;o;){if(t.push(o),o.tagName==="HTML")return t.push(document),t.push(window),t;o=o.parentElement}}var Sv=40,xv=800;function _v(e){let t=e.deltaX,o=e.deltaY;if((t||o)&&e.deltaMode){let r=e.deltaMode===1?Sv:xv;t*=r,o*=r}return e.shiftKey&&!t&&([o,t]=[t,o]),{x:t,y:o}}function it(e){e.stopPropagation()}function ft(e){e.cancelable!==!1&&e.preventDefault()}function qe(e){e.cancelable!==!1&&e.preventDefault(),e.stopPropagation()}function Wo(e,t){if(e===void 0||t===!0&&e.__dragPrevented===!0)return;let o=t===!0?r=>{r.__dragPrevented=!0,r.addEventListener("dragstart",ft,et.notPassiveCapture)}:r=>{delete r.__dragPrevented,r.removeEventListener("dragstart",ft,et.notPassiveCapture)};e.querySelectorAll("a, img").forEach(o)}function dt(e,t,o){let r=`__q_${t}_evt`;e[r]=e[r]!==void 0?e[r].concat(o):o,o.forEach(n=>{n[0].addEventListener(n[1],e[n[2]],et[n[3]])})}function qt(e,t){let o=`__q_${t}_evt`;e[o]!==void 0&&(e[o].forEach(r=>{r[0].removeEventListener(r[1],e[r[2]],et[r[3]])}),e[o]=void 0)}var Du={listenOpts:et,leftClick:Ko,middleClick:bv,rightClick:yv,position:_t,getEventPath:xl,getMouseWheelDistance:_v,stop:it,prevent:ft,stopAndPrevent:qe,preventDraggable:Wo};function Zt(e,t=250,o){let r=null;function n(){let a=arguments,l=()=>{r=null,o!==!0&&e.apply(this,a)};r!==null?clearTimeout(r):o===!0&&e.apply(this,a),r=setTimeout(l,t)}return n.cancel=()=>{r!==null&&clearTimeout(r)},n}var _l=["sm","md","lg","xl"],{passive:Vu}=et,wi=jt({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:We,setDebounce:We,install({$q:e,onSSRHydrated:t}){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}let{visualViewport:o}=window,r=o||window,n=document.scrollingElement||document.documentElement,a=o===void 0||Re.is.mobile===!0?()=>[Math.max(window.innerWidth,n.clientWidth),Math.max(window.innerHeight,n.clientHeight)]:()=>[o.width*o.scale+window.innerWidth-n.clientWidth,o.height*o.scale+window.innerHeight-n.clientHeight],l=e.config.screen!==void 0&&e.config.screen.bodyClasses===!0;this.__update=h=>{let[v,m]=a();if(m!==this.height&&(this.height=m),v!==this.width)this.width=v;else if(h!==!0)return;let g=this.sizes;this.gt.xs=v>=g.sm,this.gt.sm=v>=g.md,this.gt.md=v>=g.lg,this.gt.lg=v>=g.xl,this.lt.sm=v<g.sm,this.lt.md=v<g.md,this.lt.lg=v<g.lg,this.lt.xl=v<g.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,g=this.xs===!0&&"xs"||this.sm===!0&&"sm"||this.md===!0&&"md"||this.lg===!0&&"lg"||"xl",g!==this.name&&(l===!0&&(document.body.classList.remove(`screen--${this.name}`),document.body.classList.add(`screen--${g}`)),this.name=g)};let u,d={},f=16;this.setSizes=h=>{_l.forEach(v=>{h[v]!==void 0&&(d[v]=h[v])})},this.setDebounce=h=>{f=h};let c=()=>{let h=getComputedStyle(document.body);h.getPropertyValue("--q-size-sm")&&_l.forEach(v=>{this.sizes[v]=parseInt(h.getPropertyValue(`--q-size-${v}`),10)}),this.setSizes=v=>{_l.forEach(m=>{v[m]&&(this.sizes[m]=v[m])}),this.__update(!0)},this.setDebounce=v=>{u!==void 0&&r.removeEventListener("resize",u,Vu),u=v>0?Zt(this.__update,v):this.__update,r.addEventListener("resize",u,Vu)},this.setDebounce(f),Object.keys(d).length!==0?(this.setSizes(d),d=void 0):this.__update(),l===!0&&this.name==="xs"&&document.body.classList.add("screen--xs")};xt.value===!0?t.push(c):c()}});var Ut=jt({isActive:!1,mode:!1},{__media:void 0,set(e){Ut.mode=e,e==="auto"?(Ut.__media===void 0&&(Ut.__media=window.matchMedia("(prefers-color-scheme: dark)"),Ut.__updateMedia=()=>{Ut.set("auto")},Ut.__media.addListener(Ut.__updateMedia)),e=Ut.__media.matches):Ut.__media!==void 0&&(Ut.__media.removeListener(Ut.__updateMedia),Ut.__media=void 0),Ut.isActive=e===!0,document.body.classList.remove(`body--${e===!0?"light":"dark"}`),document.body.classList.add(`body--${e===!0?"dark":"light"}`)},toggle(){Ut.set(Ut.isActive===!1)},install({$q:e,ssrContext:t}){let{dark:o}=e.config;e.dark=this,this.__installed!==!0&&this.set(o!==void 0?o:!1)}}),ki=Ut;function Kr(e,t,o=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(!(o instanceof Element))throw new TypeError("Expected a DOM element");o.style.setProperty(`--q-${e}`,t)}var zu=!1;function Ou(e){zu=e.isComposing===!0}function no(e){return zu===!0||e!==Object(e)||e.isComposing===!0||e.qKeyEvent===!0}function Tt(e,t){return no(e)===!0?!1:[].concat(t).includes(e.keyCode)}function Iu(e){if(e.ios===!0)return"ios";if(e.android===!0)return"android"}function Cv({is:e,has:t,within:o},r){let n=[e.desktop===!0?"desktop":"mobile",`${t.touch===!1?"no-":""}touch`];if(e.mobile===!0){let a=Iu(e);a!==void 0&&n.push("platform-"+a)}if(e.nativeMobile===!0){let a=e.nativeMobileWrapper;n.push(a),n.push("native-mobile"),e.ios===!0&&(r[a]===void 0||r[a].iosStatusBarPadding!==!1)&&n.push("q-ios-padding")}else e.electron===!0?n.push("electron"):e.bex===!0&&n.push("bex");return o.iframe===!0&&n.push("within-iframe"),n}function wv(){let{is:e}=Re,t=document.body.className,o=new Set(t.replace(/ {2}/g," ").split(" "));if(e.nativeMobile!==!0&&e.electron!==!0&&e.bex!==!0){if(e.desktop===!0)o.delete("mobile"),o.delete("platform-ios"),o.delete("platform-android"),o.add("desktop");else if(e.mobile===!0){o.delete("desktop"),o.add("mobile"),o.delete("platform-ios"),o.delete("platform-android");let n=Iu(e);n!==void 0&&o.add(`platform-${n}`)}}Re.has.touch===!0&&(o.delete("no-touch"),o.add("touch")),Re.within.iframe===!0&&o.add("within-iframe");let r=Array.from(o).join(" ");t!==r&&(document.body.className=r)}function kv(e){for(let t in e)Kr(t,e[t])}var Hu={install(e){if(this.__installed!==!0){if(xt.value===!0)wv();else{let{$q:t}=e;t.config.brand!==void 0&&kv(t.config.brand);let o=Cv(Re,t.config);document.body.classList.add.apply(document.body.classList,o)}Re.is.ios===!0&&document.body.addEventListener("touchstart",We),window.addEventListener("keydown",Ou,!0)}}};var Qu=()=>!0;function qv(e){return typeof e=="string"&&e!==""&&e!=="/"&&e!=="#/"}function Tv(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 Mv(e){if(e.backButtonExit===!1)return()=>!1;if(e.backButtonExit==="*")return Qu;let t=["#/"];return Array.isArray(e.backButtonExit)===!0&&t.push(...e.backButtonExit.filter(qv).map(Tv)),()=>t.includes(window.location.hash)}var on={__history:[],add:We,remove:We,install({$q:e}){if(this.__installed===!0)return;let{cordova:t,capacitor:o}=Re.is;if(t!==!0&&o!==!0)return;let r=e.config[t===!0?"cordova":"capacitor"];if(r!==void 0&&r.backButton===!1||o===!0&&(window.Capacitor===void 0||window.Capacitor.Plugins.App===void 0))return;this.add=l=>{l.condition===void 0&&(l.condition=Qu),this.__history.push(l)},this.remove=l=>{let u=this.__history.indexOf(l);u>=0&&this.__history.splice(u,1)};let n=Mv(Object.assign({backButtonExit:!0},r)),a=()=>{if(this.__history.length){let l=this.__history[this.__history.length-1];l.condition()===!0&&(this.__history.pop(),l.handler())}else n()===!0?navigator.app.exitApp():window.history.back()};t===!0?document.addEventListener("deviceready",()=>{document.addEventListener("backbutton",a,!1)}):window.Capacitor.Plugins.App.addListener("backButton",a)}};var Wr=qu(ju());function Uu(){let e=Array.isArray(navigator.languages)===!0&&navigator.languages.length!==0?navigator.languages[0]:navigator.language;if(typeof e=="string")return e.split(/[-_]/).map((t,o)=>o===0?t.toLowerCase():o>1||t.length<4?t.toUpperCase():t[0].toUpperCase()+t.slice(1).toLowerCase()).join("-")}var xn=jt({__qLang:{}},{getLocale:Uu,set(e=Wr.default,t){let o={...e,rtl:e.rtl===!0,getLocale:Uu};if(o.set=xn.set,xn.__langConfig===void 0||xn.__langConfig.noHtmlAttrs!==!0){let r=document.documentElement;r.setAttribute("dir",o.rtl===!0?"rtl":"ltr"),r.setAttribute("lang",o.isoName)}Object.assign(xn.__qLang,o)},install({$q:e,lang:t,ssrContext:o}){e.lang=xn.__qLang,xn.__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(r){return Reflect.ownKeys(r).filter(n=>n!=="set"&&n!=="getLocale")}}),this.set(t||Wr.default))}}),Yo=xn;var Yu=qu(Wu()),Cl=jt({iconMapFn:null,__qIconSet:{}},{set(e,t){let o={...e};o.set=Cl.set,Object.assign(Cl.__qIconSet,o)},install({$q:e,iconSet:t,ssrContext:o}){e.config.iconMapFn!==void 0&&(this.iconMapFn=e.config.iconMapFn),e.iconSet=this.__qIconSet,st(e,"iconMapFn",()=>this.iconMapFn,r=>{this.iconMapFn=r}),this.__installed===!0?t!==void 0&&this.set(t):(this.props=new Proxy(this.__qIconSet,{get(){return Reflect.get(...arguments)},ownKeys(r){return Reflect.ownKeys(r).filter(n=>n!=="set")}}),this.set(t||Yu.default))}}),Nn=Cl;var qi="_q_",Ti="_q_t_",Mi="_q_s_",Jt="_q_l_",Ri="_q_pc_",Pi="_q_f_",Xo="_q_fo_",Ai="_q_tabs_",$i="_q_u_";function Je(){}var jn={},wl=!1;function Xu(){wl=!0}function Kt(e,t){if(e===t)return!0;if(e!==null&&t!==null&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;let o,r;if(e.constructor===Array){if(o=e.length,o!==t.length)return!1;for(r=o;r--!==0;)if(Kt(e[r],t[r])!==!0)return!1;return!0}if(e.constructor===Map){if(e.size!==t.size)return!1;let a=e.entries();for(r=a.next();r.done!==!0;){if(t.has(r.value[0])!==!0)return!1;r=a.next()}for(a=e.entries(),r=a.next();r.done!==!0;){if(Kt(r.value[1],t.get(r.value[0]))!==!0)return!1;r=a.next()}return!0}if(e.constructor===Set){if(e.size!==t.size)return!1;let a=e.entries();for(r=a.next();r.done!==!0;){if(t.has(r.value[0])!==!0)return!1;r=a.next()}return!0}if(e.buffer!=null&&e.buffer.constructor===ArrayBuffer){if(o=e.length,o!==t.length)return!1;for(r=o;r--!==0;)if(e[r]!==t[r])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===t.toString();let n=Object.keys(e).filter(a=>e[a]!==void 0);if(o=n.length,o!==Object.keys(t).filter(a=>t[a]!==void 0).length)return!1;for(r=o;r--!==0;){let a=n[r];if(Kt(e[a],t[a])!==!0)return!1}return!0}return e!==e&&t!==t}function ct(e){return e!==null&&typeof e=="object"&&Array.isArray(e)!==!0}function Go(e){return Object.prototype.toString.call(e)==="[object Date]"}function kl(e){return Object.prototype.toString.call(e)==="[object RegExp]"}function co(e){return typeof e=="number"&&isFinite(e)}var Gu={deepEqual:Kt,object:ct,date:Go,regexp:kl,number:co};var Zu=[Mo,Hu,ki,wi,on,Yo,Nn];function nn(e,t){let o=Bu(e);o.config.globalProperties=t.config.globalProperties;let{reload:r,...n}=t._context;return Object.assign(o._context,n),o}function Ju(e,t){t.forEach(o=>{o.install(e),o.__installed=!0})}function Rv(e,t,o){e.config.globalProperties.$q=o.$q,e.provide(qi,o.$q),Ju(o,Zu),t.components!==void 0&&Object.values(t.components).forEach(r=>{ct(r)===!0&&r.name!==void 0&&e.component(r.name,r)}),t.directives!==void 0&&Object.values(t.directives).forEach(r=>{ct(r)===!0&&r.name!==void 0&&e.directive(r.name,r)}),t.plugins!==void 0&&Ju(o,Object.values(t.plugins).filter(r=>typeof r.install=="function"&&Zu.includes(r)===!1)),xt.value===!0&&(o.$q.onSSRHydrated=()=>{o.onSSRHydrated.forEach(r=>{r()}),o.$q.onSSRHydrated=()=>{}})}var es=function(e,t={}){let o={version:"2.15.4"};wl===!1?(t.config!==void 0&&Object.assign(jn,t.config),o.config={...jn},Xu()):o.config=t.config||{},Rv(e,t,{parentApp:e,$q:o,lang:t.lang,iconSet:t.iconSet,onSSRHydrated:[]})};var tl={};jr(tl,{QAjaxBar:()=>Bi,QAvatar:()=>Fi,QBadge:()=>cs,QBanner:()=>ds,QBar:()=>fs,QBreadcrumbs:()=>gs,QBreadcrumbsEl:()=>ys,QBtn:()=>Ie,QBtnDropdown:()=>Wi,QBtnGroup:()=>or,QBtnToggle:()=>zs,QCard:()=>pr,QCardActions:()=>Yi,QCardSection:()=>So,QCarousel:()=>Is,QCarouselControl:()=>Qs,QCarouselSlide:()=>Hs,QChatMessage:()=>Ns,QCheckbox:()=>zo,QChip:()=>Tr,QCircularProgress:()=>Mr,QColor:()=>oc,QDate:()=>hc,QDialog:()=>Ho,QDrawer:()=>wc,QEditor:()=>Bc,QExpansionItem:()=>Lc,QFab:()=>Fc,QFabAction:()=>Vc,QField:()=>qa,QFile:()=>Ic,QFooter:()=>Hc,QForm:()=>Qc,QFormChildMixin:()=>Nc,QHeader:()=>jc,QIcon:()=>Pe,QImg:()=>Uc,QInfiniteScroll:()=>Kc,QInnerLoading:()=>Wc,QInput:()=>Dr,QIntersection:()=>nd,QItem:()=>Qo,QItemLabel:()=>Fn,QItemSection:()=>oo,QKnob:()=>id,QLayout:()=>ld,QLinearProgress:()=>Na,QList:()=>La,QMarkupTable:()=>Fa,QMenu:()=>Lo,QNoSsr:()=>ud,QOptionGroup:()=>za,QPage:()=>cd,QPageContainer:()=>dd,QPageScroller:()=>fd,QPageSticky:()=>md,QPagination:()=>vd,QParallax:()=>gd,QPopupEdit:()=>hd,QPopupProxy:()=>pd,QPullToRefresh:()=>yd,QRadio:()=>Da,QRange:()=>Sd,QRating:()=>xd,QResizeObserver:()=>to,QResponsive:()=>_d,QRouteTab:()=>$f,QScrollArea:()=>qd,QScrollObserver:()=>Vr,QSelect:()=>Ka,QSeparator:()=>io,QSkeleton:()=>Ad,QSlideItem:()=>Ed,QSlideTransition:()=>gn,QSlider:()=>Zo,QSpace:()=>Bd,QSpinner:()=>wt,QSpinnerAudio:()=>Ld,QSpinnerBall:()=>Fd,QSpinnerBars:()=>Dd,QSpinnerBox:()=>Vd,QSpinnerClock:()=>zd,QSpinnerComment:()=>Od,QSpinnerCube:()=>Id,QSpinnerDots:()=>Hd,QSpinnerFacebook:()=>Qd,QSpinnerGears:()=>Nd,QSpinnerGrid:()=>jd,QSpinnerHearts:()=>Ud,QSpinnerHourglass:()=>Kd,QSpinnerInfinity:()=>Wd,QSpinnerIos:()=>Yd,QSpinnerOrbit:()=>Xd,QSpinnerOval:()=>Gd,QSpinnerPie:()=>Zd,QSpinnerPuff:()=>Jd,QSpinnerRadio:()=>ef,QSpinnerRings:()=>tf,QSpinnerTail:()=>of,QSplitter:()=>nf,QStep:()=>lf,QStepper:()=>uf,QStepperNavigation:()=>sf,QTab:()=>cn,QTabPanel:()=>Pr,QTabPanels:()=>ua,QTable:()=>Rf,QTabs:()=>ai,QTd:()=>Af,QTh:()=>Ya,QTime:()=>Ef,QTimeline:()=>Bf,QTimelineEntry:()=>Lf,QToggle:()=>Va,QToolbar:()=>Ff,QToolbarTitle:()=>Df,QTooltip:()=>_a,QTr:()=>Pf,QTree:()=>Vf,QUploader:()=>Qf,QUploaderAddTrigger:()=>Nf,QVideo:()=>jf,QVirtualScroll:()=>Ga});var ts=["B","KB","MB","GB","TB","PB"];function Un(e,t=1){let o=0;for(;parseInt(e,10)>=1024&&o<ts.length-1;)e/=1024,++o;return`${e.toFixed(t)}${ts[o]}`}function ql(e){return e.charAt(0).toUpperCase()+e.slice(1)}function ot(e,t,o){return o<=t?t:Math.min(o,Math.max(t,e))}function _n(e,t,o){if(o<=t)return t;let r=o-t+1,n=t+(e-t)%r;return n<t&&(n=r+n),n===0?0:n}function nt(e,t=2,o="0"){if(e==null)return e;let r=""+e;return r.length>=t?r:new Array(t-r.length+1).join(o)+r}var os={humanStorageSize:Un,capitalize:ql,between:ot,normalizeToInterval:_n,pad:nt};var Tl=XMLHttpRequest,ns=Tl.prototype.open,Pv=["top","right","bottom","left"],Ei=[],Yr=0;function Av({p:e,pos:t,active:o,horiz:r,reverse:n,dir:a}){let l=1,u=1;return r===!0?(n===!0&&(l=-1),t==="bottom"&&(u=-1),{transform:`translate3d(${l*(e-100)}%,${o?0:u*-200}%,0)`}):(n===!0&&(u=-1),t==="right"&&(l=-1),{transform:`translate3d(${o?0:a*l*-200}%,${u*(e-100)}%,0)`})}function $v(e,t){return typeof t!="number"&&(e<25?t=Math.random()*3+3:e<65?t=Math.random()*3:e<85?t=Math.random()*2:e<99?t=.6:t=0),ot(e+t,0,100)}function Ev(e){Yr++,Ei.push(e),!(Yr>1)&&(Tl.prototype.open=function(t,o){let r=[],n=()=>{Ei.forEach(l=>{(l.hijackFilter.value===null||l.hijackFilter.value(o)===!0)&&(l.start(),r.push(l.stop))})},a=()=>{r.forEach(l=>{l()})};this.addEventListener("loadstart",n,{once:!0}),this.addEventListener("loadend",a,{once:!0}),ns.apply(this,arguments)})}function Bv(e){Ei=Ei.filter(t=>t.start!==e),Yr=Math.max(0,Yr-1),Yr===0&&(Tl.prototype.open=ns)}var Bi=$({name:"QAjaxBar",props:{position:{type:String,default:"top",validator:e=>Pv.includes(e)},size:{type:String,default:"2px"},color:String,skipHijack:Boolean,reverse:Boolean,hijackFilter:Function},emits:["start","stop"],setup(e,{emit:t}){let{proxy:o}=U(),r=q(0),n=q(!1),a=q(!0),l=0,u=null,d,f=s(()=>`q-loading-bar q-loading-bar--${e.position}`+(e.color!==void 0?` bg-${e.color}`:"")+(a.value===!0?"":" no-transition")),c=s(()=>e.position==="top"||e.position==="bottom"),h=s(()=>c.value===!0?"height":"width"),v=s(()=>{let b=n.value,p=Av({p:r.value,pos:e.position,active:b,horiz:c.value,reverse:o.$q.lang.rtl===!0&&["top","bottom"].includes(e.position)?e.reverse===!1:e.reverse,dir:o.$q.lang.rtl===!0?-1:1});return p[h.value]=e.size,p.opacity=b?1:0,p}),m=s(()=>n.value===!0?{role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":r.value}:{"aria-hidden":"true"});function g(b=300){let p=d;return d=Math.max(0,b)||0,l++,l>1?(p===0&&b>0?k():u!==null&&p>0&&b<=0&&(clearTimeout(u),u=null),l):(u!==null&&clearTimeout(u),t("start"),r.value=0,u=setTimeout(()=>{u=null,a.value=!0,b>0&&k()},n._value===!0?500:1),n._value!==!0&&(n.value=!0,a.value=!1),l)}function x(b){return l>0&&(r.value=$v(r.value,b)),l}function y(){if(l=Math.max(0,l-1),l>0)return l;u!==null&&(clearTimeout(u),u=null),t("stop");let b=()=>{a.value=!0,r.value=100,u=setTimeout(()=>{u=null,n.value=!1},1e3)};return r.value===0?u=setTimeout(b,1):b(),l}function k(){r.value<100&&(u=setTimeout(()=>{u=null,x(),k()},d))}let S;return Ne(()=>{e.skipHijack!==!0&&(S=!0,Ev({start:g,stop:y,hijackFilter:s(()=>e.hijackFilter||null)}))}),Se(()=>{u!==null&&clearTimeout(u),S===!0&&Bv(g)}),Object.assign(o,{start:g,stop:y,increment:x}),()=>i("div",{class:f.value,style:v.value,...m.value})}});var Li={xs:18,sm:24,md:32,lg:38,xl:46},Ft={size:String};function Dt(e,t=Li){return s(()=>e.size!==void 0?{fontSize:e.size in t?`${t[e.size]}px`:e.size}:null)}function re(e,t){return e!==void 0&&e()||t}function Ro(e,t){if(e!==void 0){let o=e();if(o!=null)return o.slice()}return t}function Ge(e,t){return e!==void 0?t.concat(e()):t}function Kn(e,t){return e===void 0?t:t!==void 0?t.concat(e()):e()}function Mt(e,t,o,r,n,a){t.key=r+n;let l=i(e,t,o);return n===!0?Et(l,a()):l}var rs="0 0 24 24",is=e=>e,Ml=e=>`ionicons ${e}`,ls={"mdi-":e=>`mdi ${e}`,"icon-":is,"bt-":e=>`bt ${e}`,"eva-":e=>`eva ${e}`,"ion-md":Ml,"ion-ios":Ml,"ion-logo":Ml,"iconfont ":is,"ti-":e=>`themify-icon ${e}`,"bi-":e=>`bootstrap-icons ${e}`},us={o_:"-outlined",r_:"-round",s_:"-sharp"},ss={sym_o_:"-outlined",sym_r_:"-rounded",sym_s_:"-sharp"},Lv=new RegExp("^("+Object.keys(ls).join("|")+")"),Fv=new RegExp("^("+Object.keys(us).join("|")+")"),as=new RegExp("^("+Object.keys(ss).join("|")+")"),Dv=/^[Mm]\s?[-+]?\.?\d/,Vv=/^img:/,zv=/^svguse:/,Ov=/^ion-/,Iv=/^(fa-(sharp|solid|regular|light|brands|duotone|thin)|[lf]a[srlbdk]?) /,Pe=$({name:"QIcon",props:{...Ft,tag:{type:String,default:"i"},name:String,color:String,left:Boolean,right:Boolean},setup(e,{slots:t}){let{proxy:{$q:o}}=U(),r=Dt(e),n=s(()=>"q-icon"+(e.left===!0?" on-left":"")+(e.right===!0?" on-right":"")+(e.color!==void 0?` text-${e.color}`:"")),a=s(()=>{let l,u=e.name;if(u==="none"||!u)return{none:!0};if(o.iconMapFn!==null){let c=o.iconMapFn(u);if(c!==void 0)if(c.icon!==void 0){if(u=c.icon,u==="none"||!u)return{none:!0}}else return{cls:c.cls,content:c.content!==void 0?c.content:" "}}if(Dv.test(u)===!0){let[c,h=rs]=u.split("|");return{svg:!0,viewBox:h,nodes:c.split("&&").map(v=>{let[m,g,x]=v.split("@@");return i("path",{style:g,d:m,transform:x})})}}if(Vv.test(u)===!0)return{img:!0,src:u.substring(4)};if(zv.test(u)===!0){let[c,h=rs]=u.split("|");return{svguse:!0,src:c.substring(7),viewBox:h}}let d=" ",f=u.match(Lv);if(f!==null)l=ls[f[1]](u);else if(Iv.test(u)===!0)l=u;else if(Ov.test(u)===!0)l=`ionicons ion-${o.platform.is.ios===!0?"ios":"md"}${u.substring(3)}`;else if(as.test(u)===!0){l="notranslate material-symbols";let c=u.match(as);c!==null&&(u=u.substring(6),l+=ss[c[1]]),d=u}else{l="notranslate material-icons";let c=u.match(Fv);c!==null&&(u=u.substring(2),l+=us[c[1]]),d=u}return{cls:l,content:d}});return()=>{let l={class:n.value,style:r.value,"aria-hidden":"true",role:"presentation"};return a.value.none===!0?i(e.tag,l,re(t.default)):a.value.img===!0?i(e.tag,l,Ge(t.default,[i("img",{src:a.value.src})])):a.value.svg===!0?i(e.tag,l,Ge(t.default,[i("svg",{viewBox:a.value.viewBox||"0 0 24 24"},a.value.nodes)])):a.value.svguse===!0?i(e.tag,l,Ge(t.default,[i("svg",{viewBox:a.value.viewBox},[i("use",{"xlink:href":a.value.src})])])):(a.value.cls!==void 0&&(l.class+=" "+a.value.cls),i(e.tag,l,Ge(t.default,[a.value.content])))}}});var Fi=$({name:"QAvatar",props:{...Ft,fontSize:String,color:String,textColor:String,icon:String,square:Boolean,rounded:Boolean},setup(e,{slots:t}){let o=Dt(e),r=s(()=>"q-avatar"+(e.color?` bg-${e.color}`:"")+(e.textColor?` text-${e.textColor} q-chip--colored`:"")+(e.square===!0?" q-avatar--square":e.rounded===!0?" rounded-borders":"")),n=s(()=>e.fontSize?{fontSize:e.fontSize}:null);return()=>{let a=e.icon!==void 0?[i(Pe,{name:e.icon})]:void 0;return i("div",{class:r.value,style:o.value},[i("div",{class:"q-avatar__content row flex-center overflow-hidden",style:n.value},Kn(t.default,a))])}}});var Hv=["top","middle","bottom"],cs=$({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=>Hv.includes(e)}},setup(e,{slots:t}){let o=s(()=>e.align!==void 0?{verticalAlign:e.align}:null),r=s(()=>{let n=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}`:"")+(n!==void 0?` text-${n}`:"")+(e.floating===!0?" q-badge--floating":"")+(e.rounded===!0?" q-badge--rounded":"")+(e.transparent===!0?" q-badge--transparent":"")});return()=>i("div",{class:r.value,style:o.value,role:"status","aria-label":e.label},Ge(t.default,e.label!==void 0?[e.label]:[]))}});var _e={dark:{type:Boolean,default:null}};function Ce(e,t){return s(()=>e.dark===null?t.dark.isActive:e.dark)}var ds=$({name:"QBanner",props:{..._e,inlineActions:Boolean,dense:Boolean,rounded:Boolean},setup(e,{slots:t}){let{proxy:{$q:o}}=U(),r=Ce(e,o),n=s(()=>"q-banner row items-center"+(e.dense===!0?" q-banner--dense":"")+(r.value===!0?" q-banner--dark q-dark":"")+(e.rounded===!0?" rounded-borders":"")),a=s(()=>`q-banner__actions row items-center justify-end col-${e.inlineActions===!0?"auto":"all"}`);return()=>{let l=[i("div",{class:"q-banner__avatar col-auto row items-center self-start"},re(t.avatar)),i("div",{class:"q-banner__content col text-body2"},re(t.default))],u=re(t.action);return u!==void 0&&l.push(i("div",{class:a.value},u)),i("div",{class:n.value+(e.inlineActions===!1&&u!==void 0?" q-banner--top-padding":""),role:"alert"},l)}}});var fs=$({name:"QBar",props:{..._e,dense:Boolean},setup(e,{slots:t}){let{proxy:{$q:o}}=U(),r=Ce(e,o),n=s(()=>`q-bar row no-wrap items-center q-bar--${e.dense===!0?"dense":"standard"} q-bar--${r.value===!0?"dark":"light"}`);return()=>i("div",{class:n.value,role:"toolbar"},re(t.default))}});var ms={left:"start",center:"center",right:"end",between:"between",around:"around",evenly:"evenly",stretch:"stretch"},Qv=Object.keys(ms),Wn={align:{type:String,validator:e=>Qv.includes(e)}};function Yn(e){return s(()=>{let t=e.align===void 0?e.vertical===!0?"stretch":"left":e.align;return`${e.vertical===!0?"items":"justify"}-${ms[t]}`})}function Xr(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 vs(e,t){typeof t.type=="symbol"?Array.isArray(t.children)===!0&&t.children.forEach(o=>{vs(e,o)}):e.add(t)}function Xn(e){let t=new Set;return e.forEach(o=>{vs(t,o)}),Array.from(t)}function Gn(e){return e.appContext.config.globalProperties.$router!==void 0}function Wt(e){return e.isUnmounted===!0||e.isDeactivated===!0}var Nv=["",!0],gs=$({name:"QBreadcrumbs",props:{...Wn,separator:{type:String,default:"/"},separatorColor:String,activeColor:{type:String,default:"primary"},gutter:{type:String,validator:e=>["none","xs","sm","md","lg","xl"].includes(e),default:"sm"}},setup(e,{slots:t}){let o=Yn(e),r=s(()=>`flex items-center ${o.value}${e.gutter==="none"?"":` q-gutter-${e.gutter}`}`),n=s(()=>e.separatorColor?` text-${e.separatorColor}`:""),a=s(()=>` text-${e.activeColor}`);return()=>{if(t.default===void 0)return;let l=Xn(re(t.default));if(l.length===0)return;let u=1,d=[],f=l.filter(h=>h.type!==void 0&&h.type.name==="QBreadcrumbsEl").length,c=t.separator!==void 0?t.separator:()=>e.separator;return l.forEach(h=>{if(h.type!==void 0&&h.type.name==="QBreadcrumbsEl"){let v=u<f,m=h.props!==null&&Nv.includes(h.props.disable),g=(v===!0?"":" q-breadcrumbs--last")+(m!==!0&&v===!0?a.value:"");u++,d.push(i("div",{class:`flex items-center${g}`},[h])),v===!0&&d.push(i("div",{class:"q-breadcrumbs__separator"+n.value},c()))}else d.push(h)}),i("div",{class:"q-breadcrumbs"},[i("div",{class:r.value},d)])}}});function hs(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}function ps(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function jv(e,t){for(let o in t){let r=t[o],n=e[o];if(typeof r=="string"){if(r!==n)return!1}else if(Array.isArray(n)===!1||n.length!==r.length||r.some((a,l)=>a!==n[l]))return!1}return!0}function bs(e,t){return Array.isArray(t)===!0?e.length===t.length&&e.every((o,r)=>o===t[r]):e.length===1&&e[0]===t}function Uv(e,t){return Array.isArray(e)===!0?bs(e,t):Array.isArray(t)===!0?bs(t,e):e===t}function Kv(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(let o in e)if(Uv(e[o],t[o])===!1)return!1;return!0}var yo={to:[String,Object],replace:Boolean,exact:Boolean,activeClass:{type:String,default:"q-router-link--active"},exactActiveClass:{type:String,default:"q-router-link--exact-active"},href:String,target:String,disable:Boolean};function rn({fallbackTag:e,useDisableForRouterLinkProps:t=!0}={}){let o=U(),{props:r,proxy:n,emit:a}=o,l=Gn(o),u=s(()=>r.disable!==!0&&r.href!==void 0),d=t===!0?s(()=>l===!0&&r.disable!==!0&&u.value!==!0&&r.to!==void 0&&r.to!==null&&r.to!==""):s(()=>l===!0&&u.value!==!0&&r.to!==void 0&&r.to!==null&&r.to!==""),f=s(()=>d.value===!0?S(r.to):null),c=s(()=>f.value!==null),h=s(()=>u.value===!0||c.value===!0),v=s(()=>r.type==="a"||h.value===!0?"a":r.tag||e||"div"),m=s(()=>u.value===!0?{href:r.href,target:r.target}:c.value===!0?{href:f.value.href,target:r.target}:{}),g=s(()=>{if(c.value===!1)return-1;let{matched:_}=f.value,{length:E}=_,L=_[E-1];if(L===void 0)return-1;let V=n.$route.matched;if(V.length===0)return-1;let F=V.findIndex(ps.bind(null,L));if(F!==-1)return F;let B=hs(_[E-2]);return E>1&&hs(L)===B&&V[V.length-1].path!==B?V.findIndex(ps.bind(null,_[E-2])):F}),x=s(()=>c.value===!0&&g.value!==-1&&jv(n.$route.params,f.value.params)),y=s(()=>x.value===!0&&g.value===n.$route.matched.length-1&&Kv(n.$route.params,f.value.params)),k=s(()=>c.value===!0?y.value===!0?` ${r.exactActiveClass} ${r.activeClass}`:r.exact===!0?"":x.value===!0?` ${r.activeClass}`:"":"");function S(_){try{return n.$router.resolve(_)}catch{}return null}function b(_,{returnRouterError:E,to:L=r.to,replace:V=r.replace}={}){if(r.disable===!0)return _.preventDefault(),Promise.resolve(!1);if(_.metaKey||_.altKey||_.ctrlKey||_.shiftKey||_.button!==void 0&&_.button!==0||r.target==="_blank")return Promise.resolve(!1);_.preventDefault();let F=n.$router[V===!0?"replace":"push"](L);return E===!0?F:F.then(()=>{}).catch(()=>{})}function p(_){if(c.value===!0){let E=L=>b(_,L);a("click",_,E),_.defaultPrevented!==!0&&E()}else a("click",_)}return{hasRouterLink:c,hasHrefLink:u,hasLink:h,linkTag:v,resolvedLink:f,linkIsActive:x,linkIsExactActive:y,linkClass:k,linkAttrs:m,getLink:S,navigateToRouterLink:b,navigateOnClick:p}}var ys=$({name:"QBreadcrumbsEl",props:{...yo,label:String,icon:String,tag:{type:String,default:"span"}},emits:["click"],setup(e,{slots:t}){let{linkTag:o,linkAttrs:r,linkClass:n,navigateOnClick:a}=rn(),l=s(()=>({class:"q-breadcrumbs__el q-link flex inline items-center relative-position "+(e.disable!==!0?"q-link--focusable"+n.value:"q-breadcrumbs__el--disable"),...r.value,onClick:a})),u=s(()=>"q-breadcrumbs__el-icon"+(e.label!==void 0?" q-breadcrumbs__el-icon--with-label":""));return()=>{let d=[];return e.icon!==void 0&&d.push(i(Pe,{class:u.value,name:e.icon})),e.label!==void 0&&d.push(e.label),i(o.value,{...l.value},Ge(t.default,d))}}});var Ke={size:{type:[Number,String],default:"1em"},color:String};function je(e){return{cSize:s(()=>e.size in Li?`${Li[e.size]}px`:e.size),classes:s(()=>"q-spinner"+(e.color?` text-${e.color}`:""))}}var wt=$({name:"QSpinner",props:{...Ke,thickness:{type:Number,default:5}},setup(e){let{cSize:t,classes:o}=je(e);return()=>i("svg",{class:o.value+" q-spinner-mat",width:t.value,height:t.value,viewBox:"25 25 50 50"},[i("circle",{class:"path",cx:"50",cy:"50",r:"20",fill:"none",stroke:"currentColor","stroke-width":e.thickness,"stroke-miterlimit":"10"})])}});function Cn(e){if(e===window)return{top:0,left:0};let{top:t,left:o}=e.getBoundingClientRect();return{top:t,left:o}}function Wv(e,t){return window.getComputedStyle(e).getPropertyValue(t)}function Po(e){return e===window?window.innerHeight:e.getBoundingClientRect().height}function Yv(e){return e===window?window.innerWidth:e.getBoundingClientRect().width}function wn(e,t){let o=e.style;for(let r in t)o[r]=t[r]}function Xv(e,t){e.forEach(o=>wn(o,t))}function Gv(e){if(typeof e=="function"){if(document.readyState!=="loading")return e();document.addEventListener("DOMContentLoaded",e,!1)}}function Ss(e){if(e==null)return;if(typeof e=="string")try{return document.querySelector(e)||void 0}catch{return}let t=Mu(e);if(t)return t.$el||t}function Di(e,t){if(e==null||e.contains(t)===!0)return!0;for(let o=e.nextElementSibling;o!==null;o=o.nextElementSibling)if(o.contains(t))return!0;return!1}var xs={offset:Cn,style:Wv,height:Po,width:Yv,css:wn,cssBatch:Xv,ready:Gv};function Zn(e,t=250){let o=!1,r;return function(){return o===!1&&(o=!0,setTimeout(()=>{o=!1},t),r=e.apply(this,arguments)),r}}function _s(e,t,o,r){o.modifiers.stop===!0&&it(e);let n=o.modifiers.color,a=o.modifiers.center;a=a===!0||r===!0;let l=document.createElement("span"),u=document.createElement("span"),d=_t(e),{left:f,top:c,width:h,height:v}=t.getBoundingClientRect(),m=Math.sqrt(h*h+v*v),g=m/2,x=`${(h-m)/2}px`,y=a?x:`${d.left-f-g}px`,k=`${(v-m)/2}px`,S=a?k:`${d.top-c-g}px`;u.className="q-ripple__inner",wn(u,{height:`${m}px`,width:`${m}px`,transform:`translate3d(${y},${S},0) scale3d(.2,.2,1)`,opacity:0}),l.className=`q-ripple${n?" text-"+n:""}`,l.setAttribute("dir","ltr"),l.appendChild(u),t.appendChild(l);let b=()=>{l.remove(),clearTimeout(p)};o.abort.push(b);let p=setTimeout(()=>{u.classList.add("q-ripple__inner--enter"),u.style.transform=`translate3d(${x},${k},0) scale3d(1,1,1)`,u.style.opacity=.2,p=setTimeout(()=>{u.classList.remove("q-ripple__inner--enter"),u.classList.add("q-ripple__inner--leave"),u.style.opacity=0,p=setTimeout(()=>{l.remove(),o.abort.splice(o.abort.indexOf(b),1)},275)},250)},50)}function Cs(e,{modifiers:t,value:o,arg:r}){let n=Object.assign({},e.cfg.ripple,t,o);e.modifiers={early:n.early===!0,stop:n.stop===!0,center:n.center===!0,color:n.color||r,keyCodes:[].concat(n.keyCodes||13)}}var Ao=At({name:"ripple",beforeMount(e,t){let o=t.instance.$.appContext.config.globalProperties.$q.config||{};if(o.ripple===!1)return;let r={cfg:o,enabled:t.value!==!1,modifiers:{},abort:[],start(n){r.enabled===!0&&n.qSkipRipple!==!0&&n.type===(r.modifiers.early===!0?"pointerdown":"click")&&_s(n,e,r,n.qKeyEvent===!0)},keystart:Zn(n=>{r.enabled===!0&&n.qSkipRipple!==!0&&Tt(n,r.modifiers.keyCodes)===!0&&n.type===`key${r.modifiers.early===!0?"down":"up"}`&&_s(n,e,r,!0)},300)};Cs(r,t),e.__qripple=r,dt(r,"main",[[e,"pointerdown","start","passive"],[e,"click","start","passive"],[e,"keydown","keystart","passive"],[e,"keyup","keystart","passive"]])},updated(e,t){if(t.oldValue!==t.value){let o=e.__qripple;o!==void 0&&(o.enabled=t.value!==!1,o.enabled===!0&&Object(t.value)===t.value&&Cs(o,t))}},beforeUnmount(e){let t=e.__qripple;t!==void 0&&(t.abort.forEach(o=>{o()}),qt(t,"main"),delete e._qripple)}});var Gr={none:0,xs:4,sm:8,md:16,lg:24,xl:32},Zv={xs:8,sm:10,md:14,lg:20,xl:24},Jv=["button","submit","reset"],eg=/[^\s]\/[^\s]/,Rl=["flat","outline","push","unelevated"];function Vi(e,t){return e.flat===!0?"flat":e.outline===!0?"outline":e.push===!0?"push":e.unelevated===!0?"unelevated":t}function zi(e){let t=Vi(e);return t!==void 0?{[t]:!0}:{}}var Zr={...Ft,...yo,type:{type:String,default:"button"},label:[Number,String],icon:String,iconRight:String,...Rl.reduce((e,t)=>(e[t]=Boolean)&&e,{}),square:Boolean,round: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:{...Wn.align,default:"center"},stack:Boolean,stretch:Boolean,loading:{type:Boolean,default:null},disable:Boolean};function ws(e){let t=Dt(e,Zv),o=Yn(e),{hasRouterLink:r,hasLink:n,linkTag:a,linkAttrs:l,navigateOnClick:u}=rn({fallbackTag:"button"}),d=s(()=>{let y=e.fab===!1&&e.fabMini===!1?t.value:{};return e.padding!==void 0?Object.assign({},y,{padding:e.padding.split(/\s+/).map(k=>k in Gr?Gr[k]+"px":k).join(" "),minWidth:"0",minHeight:"0"}):y}),f=s(()=>e.rounded===!0||e.fab===!0||e.fabMini===!0),c=s(()=>e.disable!==!0&&e.loading!==!0),h=s(()=>c.value===!0?e.tabindex||0:-1),v=s(()=>Vi(e,"standard")),m=s(()=>{let y={tabindex:h.value};return n.value===!0?Object.assign(y,l.value):Jv.includes(e.type)===!0&&(y.type=e.type),a.value==="a"?(e.disable===!0?y["aria-disabled"]="true":y.href===void 0&&(y.role="button"),r.value!==!0&&eg.test(e.type)===!0&&(y.type=e.type)):e.disable===!0&&(y.disabled="",y["aria-disabled"]="true"),e.loading===!0&&e.percentage!==void 0&&Object.assign(y,{role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":e.percentage}),y}),g=s(()=>{let y;e.color!==void 0?e.flat===!0||e.outline===!0?y=`text-${e.textColor||e.color}`:y=`bg-${e.color} text-${e.textColor||"white"}`:e.textColor&&(y=`text-${e.textColor}`);let k=e.round===!0?"round":`rectangle${f.value===!0?" q-btn--rounded":e.square===!0?" q-btn--square":""}`;return`q-btn--${v.value} q-btn--${k}`+(y!==void 0?" "+y:"")+(c.value===!0?" q-btn--actionable q-focusable q-hoverable":e.disable===!0?" disabled":"")+(e.fab===!0?" q-btn--fab":e.fabMini===!0?" q-btn--fab-mini":"")+(e.noCaps===!0?" q-btn--no-uppercase":"")+(e.dense===!0?" q-btn--dense":"")+(e.stretch===!0?" no-border-radius self-stretch":"")+(e.glossy===!0?" glossy":"")+(e.square?" q-btn--square":"")}),x=s(()=>o.value+(e.stack===!0?" column":" row")+(e.noWrap===!0?" no-wrap text-no-wrap":"")+(e.loading===!0?" q-btn__content--hidden":""));return{classes:g,style:d,innerClasses:x,attributes:m,hasLink:n,linkTag:a,navigateOnClick:u,isActionable:c}}var{passiveCapture:fo}=et,Jn=null,er=null,tr=null,Ie=$({name:"QBtn",props:{...Zr,percentage:Number,darkPercentage:Boolean,onTouchstart:[Function,Array]},emits:["click","keydown","mousedown","keyup"],setup(e,{slots:t,emit:o}){let{proxy:r}=U(),{classes:n,style:a,innerClasses:l,attributes:u,hasLink:d,linkTag:f,navigateOnClick:c,isActionable:h}=ws(e),v=q(null),m=q(null),g=null,x,y=null,k=s(()=>e.label!==void 0&&e.label!==null&&e.label!==""),S=s(()=>e.disable===!0||e.ripple===!1?!1:{keyCodes:d.value===!0?[13,32]:[13],...e.ripple===!0?{}:e.ripple}),b=s(()=>({center:e.round})),p=s(()=>{let M=Math.max(0,Math.min(100,e.percentage));return M>0?{transition:"transform 0.6s",transform:`translateX(${M-100}%)`}:{}}),_=s(()=>{if(e.loading===!0)return{onMousedown:C,onTouchstart:C,onClick:C,onKeydown:C,onKeyup:C};if(h.value===!0){let M={onClick:L,onKeydown:V,onMousedown:B};if(r.$q.platform.has.touch===!0){let X=e.onTouchstart!==void 0?"":"Passive";M[`onTouchstart${X}`]=F}return M}return{onClick:qe}}),E=s(()=>({ref:v,class:"q-btn q-btn-item non-selectable no-outline "+n.value,style:a.value,...u.value,..._.value}));function L(M){if(v.value!==null){if(M!==void 0){if(M.defaultPrevented===!0)return;let X=document.activeElement;if(e.type==="submit"&&X!==document.body&&v.value.contains(X)===!1&&X.contains(v.value)===!1){v.value.focus();let Y=()=>{document.removeEventListener("keydown",qe,!0),document.removeEventListener("keyup",Y,fo),v.value!==null&&v.value.removeEventListener("blur",Y,fo)};document.addEventListener("keydown",qe,!0),document.addEventListener("keyup",Y,fo),v.value.addEventListener("blur",Y,fo)}}c(M)}}function V(M){v.value!==null&&(o("keydown",M),Tt(M,[13,32])===!0&&er!==v.value&&(er!==null&&R(),M.defaultPrevented!==!0&&(v.value.focus(),er=v.value,v.value.classList.add("q-btn--active"),document.addEventListener("keyup",D,!0),v.value.addEventListener("blur",D,fo)),qe(M)))}function F(M){v.value!==null&&(o("touchstart",M),M.defaultPrevented!==!0&&(Jn!==v.value&&(Jn!==null&&R(),Jn=v.value,g=M.target,g.addEventListener("touchcancel",D,fo),g.addEventListener("touchend",D,fo)),x=!0,y!==null&&clearTimeout(y),y=setTimeout(()=>{y=null,x=!1},200)))}function B(M){v.value!==null&&(M.qSkipRipple=x===!0,o("mousedown",M),M.defaultPrevented!==!0&&tr!==v.value&&(tr!==null&&R(),tr=v.value,v.value.classList.add("q-btn--active"),document.addEventListener("mouseup",D,fo)))}function D(M){if(v.value!==null&&!(M!==void 0&&M.type==="blur"&&document.activeElement===v.value)){if(M!==void 0&&M.type==="keyup"){if(er===v.value&&Tt(M,[13,32])===!0){let X=new MouseEvent("click",M);X.qKeyEvent=!0,M.defaultPrevented===!0&&ft(X),M.cancelBubble===!0&&it(X),v.value.dispatchEvent(X),qe(M),M.qKeyEvent=!0}o("keyup",M)}R()}}function R(M){let X=m.value;M!==!0&&(Jn===v.value||tr===v.value)&&X!==null&&X!==document.activeElement&&(X.setAttribute("tabindex",-1),X.focus()),Jn===v.value&&(g!==null&&(g.removeEventListener("touchcancel",D,fo),g.removeEventListener("touchend",D,fo)),Jn=g=null),tr===v.value&&(document.removeEventListener("mouseup",D,fo),tr=null),er===v.value&&(document.removeEventListener("keyup",D,!0),v.value!==null&&v.value.removeEventListener("blur",D,fo),er=null),v.value!==null&&v.value.classList.remove("q-btn--active")}function C(M){qe(M),M.qSkipRipple=!0}return Se(()=>{R(!0)}),Object.assign(r,{click:M=>{h.value===!0&&L(M)}}),()=>{let M=[];e.icon!==void 0&&M.push(i(Pe,{name:e.icon,left:e.stack!==!0&&k.value===!0,role:"img","aria-hidden":"true"})),k.value===!0&&M.push(i("span",{class:"block"},[e.label])),M=Ge(t.default,M),e.iconRight!==void 0&&e.round===!1&&M.push(i(Pe,{name:e.iconRight,right:e.stack!==!0&&k.value===!0,role:"img","aria-hidden":"true"}));let X=[i("span",{class:"q-focus-helper",ref:m})];return e.loading===!0&&e.percentage!==void 0&&X.push(i("span",{class:"q-btn__progress absolute-full overflow-hidden"+(e.darkPercentage===!0?" q-btn__progress--dark":"")},[i("span",{class:"q-btn__progress-indicator fit block",style:p.value})])),X.push(i("span",{class:"q-btn__content text-center col items-center q-anchor--skip "+l.value},M)),e.loading!==null&&X.push(i(lt,{name:"q-transition--fade"},()=>e.loading===!0?[i("span",{key:"loading",class:"absolute-full flex flex-center"},t.loading!==void 0?t.loading():[i(wt)])]:null)),Et(i(f.value,E.value,X),[[Ao,S.value,void 0,b.value]])}}});var or=$({name:"QBtnGroup",props:{unelevated:Boolean,outline:Boolean,flat:Boolean,rounded:Boolean,square:Boolean,push:Boolean,stretch:Boolean,glossy:Boolean,spread:Boolean},setup(e,{slots:t}){let o=s(()=>{let r=["unelevated","outline","flat","rounded","square","push","stretch","glossy"].filter(n=>e[n]===!0).map(n=>`q-btn-group--${n}`).join(" ");return`q-btn-group row no-wrap${r.length!==0?" "+r:""}`+(e.spread===!0?" q-btn-group--spread":" inline")});return()=>i("div",{class:o.value},re(t.default))}});function Ot(){if(window.getSelection!==void 0){let e=window.getSelection();e.empty!==void 0?e.empty():e.removeAllRanges!==void 0&&(e.removeAllRanges(),Mo.is.mobile!==!0&&e.addRange(document.createRange()))}else document.selection!==void 0&&document.selection.empty()}var nr={target:{default:!0},noParentEvent:Boolean,contextMenu:Boolean};function rr({showing:e,avoidEmit:t,configureAnchorEl:o}){let{props:r,proxy:n,emit:a}=U(),l=q(null),u=null;function d(m){return l.value===null?!1:m===void 0||m.touches===void 0||m.touches.length<=1}let f={};o===void 0&&(Object.assign(f,{hide(m){n.hide(m)},toggle(m){n.toggle(m),m.qAnchorHandled=!0},toggleKey(m){Tt(m,13)===!0&&f.toggle(m)},contextClick(m){n.hide(m),ft(m),$e(()=>{n.show(m),m.qAnchorHandled=!0})},prevent:ft,mobileTouch(m){if(f.mobileCleanup(m),d(m)!==!0)return;n.hide(m),l.value.classList.add("non-selectable");let g=m.target;dt(f,"anchor",[[g,"touchmove","mobileCleanup","passive"],[g,"touchend","mobileCleanup","passive"],[g,"touchcancel","mobileCleanup","passive"],[l.value,"contextmenu","prevent","notPassive"]]),u=setTimeout(()=>{u=null,n.show(m),m.qAnchorHandled=!0},300)},mobileCleanup(m){l.value.classList.remove("non-selectable"),u!==null&&(clearTimeout(u),u=null),e.value===!0&&m!==void 0&&Ot()}}),o=function(m=r.contextMenu){if(r.noParentEvent===!0||l.value===null)return;let g;m===!0?n.$q.platform.is.mobile===!0?g=[[l.value,"touchstart","mobileTouch","passive"]]:g=[[l.value,"mousedown","hide","passive"],[l.value,"contextmenu","contextClick","notPassive"]]:g=[[l.value,"click","toggle","passive"],[l.value,"keyup","toggleKey","passive"]],dt(f,"anchor",g)});function c(){qt(f,"anchor")}function h(m){for(l.value=m;l.value.classList.contains("q-anchor--skip");)l.value=l.value.parentNode;o()}function v(){if(r.target===!1||r.target===""||n.$el.parentNode===null)l.value=null;else if(r.target===!0)h(n.$el.parentNode);else{let m=r.target;if(typeof r.target=="string")try{m=document.querySelector(r.target)}catch{m=void 0}m!=null?(l.value=m.$el||m,o()):(l.value=null,console.error(`Anchor: target "${r.target}" not found`))}}return W(()=>r.contextMenu,m=>{l.value!==null&&(c(),o(m))}),W(()=>r.target,()=>{l.value!==null&&c(),v()}),W(()=>r.noParentEvent,m=>{l.value!==null&&(m===!0?c():o())}),Ne(()=>{v(),t!==!0&&r.modelValue===!0&&l.value===null&&a("update:modelValue",!1)}),Se(()=>{u!==null&&clearTimeout(u),c()}),{anchorEl:l,canShow:d,anchorEvents:f}}function Oi(e,t){let o=q(null),r;function n(u,d){let f=`${d!==void 0?"add":"remove"}EventListener`,c=d!==void 0?d:r;u!==window&&u[f]("scroll",c,et.passive),window[f]("scroll",c,et.passive),r=d}function a(){o.value!==null&&(n(o.value),o.value=null)}let l=W(()=>e.noParentEvent,()=>{o.value!==null&&(a(),t())});return Se(l),{localScrollTarget:o,unconfigureScrollTarget:a,changeScrollEvent:n}}var mo={modelValue:{type:Boolean,default:null},"onUpdate:modelValue":[Function,Array]},vo=["beforeShow","show","beforeHide","hide"];function go({showing:e,canShow:t,hideOnRouteChange:o,handleShow:r,handleHide:n,processOnMount:a}){let l=U(),{props:u,emit:d,proxy:f}=l,c;function h(S){e.value===!0?g(S):v(S)}function v(S){if(u.disable===!0||S!==void 0&&S.qAnchorHandled===!0||t!==void 0&&t(S)!==!0)return;let b=u["onUpdate:modelValue"]!==void 0;b===!0&&(d("update:modelValue",!0),c=S,$e(()=>{c===S&&(c=void 0)})),(u.modelValue===null||b===!1)&&m(S)}function m(S){e.value!==!0&&(e.value=!0,d("beforeShow",S),r!==void 0?r(S):d("show",S))}function g(S){if(u.disable===!0)return;let b=u["onUpdate:modelValue"]!==void 0;b===!0&&(d("update:modelValue",!1),c=S,$e(()=>{c===S&&(c=void 0)})),(u.modelValue===null||b===!1)&&x(S)}function x(S){e.value!==!1&&(e.value=!1,d("beforeHide",S),n!==void 0?n(S):d("hide",S))}function y(S){u.disable===!0&&S===!0?u["onUpdate:modelValue"]!==void 0&&d("update:modelValue",!1):S===!0!==e.value&&(S===!0?m:x)(c)}W(()=>u.modelValue,y),o!==void 0&&Gn(l)===!0&&W(()=>f.$route.fullPath,()=>{o.value===!0&&e.value===!0&&g()}),a===!0&&Ne(()=>{y(u.modelValue)});let k={show:v,hide:g,toggle:h};return Object.assign(f,k),k}var kn=[],Jr=[];function ks(e){Jr=Jr.filter(t=>t!==e)}function qs(e){ks(e),Jr.push(e)}function Pl(e){ks(e),Jr.length===0&&kn.length!==0&&(kn[kn.length-1](),kn=[])}function ho(e){Jr.length===0?e():kn.push(e)}function Ts(e){kn=kn.filter(t=>t!==e)}var ir=[],ei=[],tg=1,an=document.body;function $o(e,t){let o=document.createElement("div");if(o.id=t!==void 0?`q-portal--${t}--${tg++}`:e,jn.globalNodes!==void 0){let r=jn.globalNodes.class;r!==void 0&&(o.className=r)}return an.appendChild(o),ir.push(o),ei.push(t),o}function ar(e){let t=ir.indexOf(e);ir.splice(t,1),ei.splice(t,1),e.remove()}function Ms(e){if(e===an)return;if(an=e,an===document.body||ei.reduce((o,r)=>r==="dialog"?o+1:o,0)<2){ir.forEach(o=>{o.contains(an)===!1&&an.appendChild(o)});return}let t=ei.lastIndexOf("dialog");for(let o=0;o<ir.length;o++){let r=ir[o];(o===t||ei[o]!=="dialog")&&r.contains(an)===!1&&an.appendChild(r)}}var ln=[];function Rs(e){return ln.find(t=>t.contentEl!==null&&t.contentEl.contains(e))}function Al(e,t){do{if(e.$options.name==="QMenu"){if(e.hide(t),e.$props.separateClosePopup===!0)return Xr(e)}else if(e.__qPortal===!0){let o=Xr(e);return o!==void 0&&o.$options.name==="QPopupProxy"?(e.hide(t),o):e}e=Xr(e)}while(e!=null)}function Ps(e,t,o){for(;o!==0&&e!==void 0&&e!==null;){if(e.__qPortal===!0){if(o--,e.$options.name==="QMenu"){e=Al(e,t);continue}e.hide(t)}e=Xr(e)}}var og=$({name:"QPortal",setup(e,{slots:t}){return()=>t.default()}});function ng(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 lr(e,t,o,r){let n=q(!1),a=q(!1),l=null,u={},d=r==="dialog"&&ng(e);function f(h){if(h===!0){Pl(u),a.value=!0;return}a.value=!1,n.value===!1&&(d===!1&&l===null&&(l=$o(!1,r)),n.value=!0,ln.push(e.proxy),qs(u))}function c(h){if(a.value=!1,h!==!0)return;Pl(u),n.value=!1;let v=ln.indexOf(e.proxy);v!==-1&&ln.splice(v,1),l!==null&&(ar(l),l=null)}return Qn(()=>{c(!0)}),e.proxy.__qPortal=!0,st(e.proxy,"contentEl",()=>t.value),{showPortal:f,hidePortal:c,portalIsActive:n,portalIsAccessible:a,renderPortal:()=>d===!0?o():n.value===!0?[i($u,{to:l},i(og,o))]:void 0}}var Eo={transitionShow:{type:String,default:"fade"},transitionHide:{type:String,default:"fade"},transitionDuration:{type:[String,Number],default:300}};function un(e,t=()=>{},o=()=>{}){return{transitionProps:s(()=>{let r=`q-transition--${e.transitionShow||t()}`,n=`q-transition--${e.transitionHide||o()}`;return{appear:!0,enterFromClass:`${r}-enter-from`,enterActiveClass:`${r}-enter-active`,enterToClass:`${r}-enter-to`,leaveFromClass:`${n}-leave-from`,leaveActiveClass:`${n}-leave-active`,leaveToClass:`${n}-leave-to`}}),transitionStyle:s(()=>`--q-transition-duration: ${e.transitionDuration}ms`)}}function po(){let e,t=U();function o(){e=void 0}return Pt(o),Se(o),{removeTick:o,registerTick(r){e=r,$e(()=>{e===r&&(Wt(t)===!1&&e(),e=void 0)})}}}function Yt(){let e=null,t=U();function o(){e!==null&&(clearTimeout(e),e=null)}return Pt(o),Se(o),{removeTimeout:o,registerTimeout(r,n){o(e),Wt(t)===!1&&(e=setTimeout(()=>{e=null,r()},n))}}}var rg=[null,document,document.body,document.scrollingElement,document.documentElement];function Bt(e,t){let o=Ss(t);if(o===void 0){if(e==null)return window;o=e.closest(".scroll,.scroll-y,.overflow-auto")}return rg.includes(o)?window:o}function ur(e){return(e===window?document.body:e).scrollHeight}function ig(e){return(e===window?document.body:e).scrollWidth}function eo(e){return e===window?window.pageYOffset||window.scrollY||document.body.scrollTop||0:e.scrollTop}function sn(e){return e===window?window.pageXOffset||window.scrollX||document.body.scrollLeft||0:e.scrollLeft}function Bl(e,t,o=0){let r=arguments[3]===void 0?performance.now():arguments[3],n=eo(e);if(o<=0){n!==t&&$l(e,t);return}requestAnimationFrame(a=>{let l=a-r,u=n+(t-n)/Math.max(l,o)*l;$l(e,u),u!==t&&Bl(e,t,o-l,a)})}function Ll(e,t,o=0){let r=arguments[3]===void 0?performance.now():arguments[3],n=sn(e);if(o<=0){n!==t&&El(e,t);return}requestAnimationFrame(a=>{let l=a-r,u=n+(t-n)/Math.max(l,o)*l;El(e,u),u!==t&&Ll(e,t,o-l,a)})}function $l(e,t){if(e===window){window.scrollTo(window.pageXOffset||window.scrollX||document.body.scrollLeft||0,t);return}e.scrollTop=t}function El(e,t){if(e===window){window.scrollTo(t,window.pageYOffset||window.scrollY||document.body.scrollTop||0);return}e.scrollLeft=t}function Bo(e,t,o){if(o){Bl(e,t,o);return}$l(e,t)}function ti(e,t,o){if(o){Ll(e,t,o);return}El(e,t)}var Ii;function qn(){if(Ii!==void 0)return Ii;let e=document.createElement("p"),t=document.createElement("div");wn(e,{width:"100%",height:"200px"}),wn(t,{position:"absolute",top:"0px",left:"0px",visibility:"hidden",width:"200px",height:"150px",overflow:"hidden"}),t.appendChild(e),document.body.appendChild(t);let o=e.offsetWidth;t.style.overflow="scroll";let r=e.offsetWidth;return o===r&&(r=t.clientWidth),t.remove(),Ii=o-r,Ii}function Fl(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"]))}var As={getScrollTarget:Bt,getScrollHeight:ur,getScrollWidth:ig,getVerticalScrollPosition:eo,getHorizontalScrollPosition:sn,animVerticalScrollTo:Bl,animHorizontalScrollTo:Ll,setVerticalScrollPosition:Bo,setHorizontalScrollPosition:ti,getScrollbarWidth:qn,hasScrollbar:Fl};var Tn=[],sr;function ag(e){sr=e.keyCode===27}function lg(){sr===!0&&(sr=!1)}function ug(e){sr===!0&&(sr=!1,Tt(e,27)===!0&&Tn[Tn.length-1](e))}function $s(e){window[e]("keydown",ag),window[e]("blur",lg),window[e]("keyup",ug),sr=!1}function Hi(e){Re.is.desktop===!0&&(Tn.push(e),Tn.length===1&&$s("addEventListener"))}function cr(e){let t=Tn.indexOf(e);t!==-1&&(Tn.splice(t,1),Tn.length===0&&$s("removeEventListener"))}var Mn=[];function Es(e){Mn[Mn.length-1](e)}function dr(e){Re.is.desktop===!0&&(Mn.push(e),Mn.length===1&&document.body.addEventListener("focusin",Es))}function Rn(e){let t=Mn.indexOf(e);t!==-1&&(Mn.splice(t,1),Mn.length===0&&document.body.removeEventListener("focusin",Es))}var fr=null,{notPassiveCapture:Qi}=et,Pn=[];function Ni(e){fr!==null&&(clearTimeout(fr),fr=null);let t=e.target;if(t===void 0||t.nodeType===8||t.classList.contains("no-pointer-events")===!0)return;let o=ln.length-1;for(;o>=0;){let r=ln[o].$;if(r.type.name==="QTooltip"){o--;continue}if(r.type.name!=="QDialog")break;if(r.props.seamless!==!0)return;o--}for(let r=Pn.length-1;r>=0;r--){let n=Pn[r];if((n.anchorEl.value===null||n.anchorEl.value.contains(t)===!1)&&(t===document.body||n.innerRef.value!==null&&n.innerRef.value.contains(t)===!1))e.qClickOutside=!0,n.onClickOutside(e);else return}}function ji(e){Pn.push(e),Pn.length===1&&(document.addEventListener("mousedown",Ni,Qi),document.addEventListener("touchstart",Ni,Qi))}function mr(e){let t=Pn.findIndex(o=>o===e);t!==-1&&(Pn.splice(t,1),Pn.length===0&&(fr!==null&&(clearTimeout(fr),fr=null),document.removeEventListener("mousedown",Ni,Qi),document.removeEventListener("touchstart",Ni,Qi)))}var Bs,Ls;function vr(e){let 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 Ui(e){return e?!(e.length!==2||typeof e[0]!="number"||typeof e[1]!="number"):!0}var Vl={"start#ltr":"left","start#rtl":"right","end#ltr":"right","end#rtl":"left"};["left","middle","right"].forEach(e=>{Vl[`${e}#ltr`]=e,Vl[`${e}#rtl`]=e});function gr(e,t){let o=e.split(" ");return{vertical:o[0],horizontal:Vl[`${o[1]}#${t===!0?"rtl":"ltr"}`]}}function sg(e,t){let{top:o,left:r,right:n,bottom:a,width:l,height:u}=e.getBoundingClientRect();return t!==void 0&&(o-=t[1],r-=t[0],a+=t[1],n+=t[0],l+=t[0],u+=t[1]),{top:o,bottom:a,height:u,left:r,right:n,width:l,middle:r+(n-r)/2,center:o+(a-o)/2}}function cg(e,t,o){let{top:r,left:n}=e.getBoundingClientRect();return r+=t.top,n+=t.left,o!==void 0&&(r+=o[1],n+=o[0]),{top:r,bottom:r+1,height:1,left:n,right:n+1,width:1,middle:n,center:r}}function dg(e,t){return{top:0,center:t/2,bottom:t,left:0,middle:e/2,right:e}}function Fs(e,t,o,r){return{top:e[o.vertical]-t[r.vertical],left:e[o.horizontal]-t[r.horizontal]}}function oi(e,t=0){if(e.targetEl===null||e.anchorEl===null||t>5)return;if(e.targetEl.offsetHeight===0||e.targetEl.offsetWidth===0){setTimeout(()=>{oi(e,t+1)},10);return}let{targetEl:o,offset:r,anchorEl:n,anchorOrigin:a,selfOrigin:l,absoluteOffset:u,fit:d,cover:f,maxHeight:c,maxWidth:h}=e;if(Re.is.ios===!0&&window.visualViewport!==void 0){let E=document.body.style,{offsetLeft:L,offsetTop:V}=window.visualViewport;L!==Bs&&(E.setProperty("--q-pe-left",L+"px"),Bs=L),V!==Ls&&(E.setProperty("--q-pe-top",V+"px"),Ls=V)}let{scrollLeft:v,scrollTop:m}=o,g=u===void 0?sg(n,f===!0?[0,0]:r):cg(n,u,r);Object.assign(o.style,{top:0,left:0,minWidth:null,minHeight:null,maxWidth:h||"100vw",maxHeight:c||"100vh",visibility:"visible"});let{offsetWidth:x,offsetHeight:y}=o,{elWidth:k,elHeight:S}=d===!0||f===!0?{elWidth:Math.max(g.width,x),elHeight:f===!0?Math.max(g.height,y):y}:{elWidth:x,elHeight:y},b={maxWidth:h,maxHeight:c};(d===!0||f===!0)&&(b.minWidth=g.width+"px",f===!0&&(b.minHeight=g.height+"px")),Object.assign(o.style,b);let p=dg(k,S),_=Fs(g,p,a,l);if(u===void 0||r===void 0)Dl(_,g,p,a,l);else{let{top:E,left:L}=_;Dl(_,g,p,a,l);let V=!1;if(_.top!==E){V=!0;let F=2*r[1];g.center=g.top-=F,g.bottom-=F+2}if(_.left!==L){V=!0;let F=2*r[0];g.middle=g.left-=F,g.right-=F+2}V===!0&&(_=Fs(g,p,a,l),Dl(_,g,p,a,l))}b={top:_.top+"px",left:_.left+"px"},_.maxHeight!==void 0&&(b.maxHeight=_.maxHeight+"px",g.height>_.maxHeight&&(b.minHeight=b.maxHeight)),_.maxWidth!==void 0&&(b.maxWidth=_.maxWidth+"px",g.width>_.maxWidth&&(b.minWidth=b.maxWidth)),Object.assign(o.style,b),o.scrollTop!==m&&(o.scrollTop=m),o.scrollLeft!==v&&(o.scrollLeft=v)}function Dl(e,t,o,r,n){let a=o.bottom,l=o.right,u=qn(),d=window.innerHeight-u,f=document.body.clientWidth;if(e.top<0||e.top+a>d)if(n.vertical==="center")e.top=t[r.vertical]>d/2?Math.max(0,d-a):0,e.maxHeight=Math.min(a,d);else if(t[r.vertical]>d/2){let c=Math.min(d,r.vertical==="center"?t.center:r.vertical===n.vertical?t.bottom:t.top);e.maxHeight=Math.min(a,c),e.top=Math.max(0,c-a)}else e.top=Math.max(0,r.vertical==="center"?t.center:r.vertical===n.vertical?t.top:t.bottom),e.maxHeight=Math.min(a,d-e.top);if(e.left<0||e.left+l>f)if(e.maxWidth=Math.min(l,f),n.horizontal==="middle")e.left=t[r.horizontal]>f/2?Math.max(0,f-l):0;else if(t[r.horizontal]>f/2){let c=Math.min(f,r.horizontal==="middle"?t.middle:r.horizontal===n.horizontal?t.right:t.left);e.maxWidth=Math.min(l,c),e.left=Math.max(0,c-e.maxWidth)}else e.left=Math.max(0,r.horizontal==="middle"?t.middle:r.horizontal===n.horizontal?t.left:t.right),e.maxWidth=Math.min(l,f-e.left)}var Lo=$({name:"QMenu",inheritAttrs:!1,props:{...nr,...mo,..._e,...Eo,persistent:Boolean,autoClose:Boolean,separateClosePopup:Boolean,noRouteDismiss:Boolean,noRefocus:Boolean,noFocus:Boolean,fit:Boolean,cover:Boolean,square:Boolean,anchor:{type:String,validator:vr},self:{type:String,validator:vr},offset:{type:Array,validator:Ui},scrollTarget:{default:void 0},touchPosition:Boolean,maxHeight:{type:String,default:null},maxWidth:{type:String,default:null}},emits:[...vo,"click","escapeKey"],setup(e,{slots:t,emit:o,attrs:r}){let n=null,a,l,u,d=U(),{proxy:f}=d,{$q:c}=f,h=q(null),v=q(!1),m=s(()=>e.persistent!==!0&&e.noRouteDismiss!==!0),g=Ce(e,c),{registerTick:x,removeTick:y}=po(),{registerTimeout:k}=Yt(),{transitionProps:S,transitionStyle:b}=un(e),{localScrollTarget:p,changeScrollEvent:_,unconfigureScrollTarget:E}=Oi(e,K),{anchorEl:L,canShow:V}=rr({showing:v}),{hide:F}=go({showing:v,canShow:V,handleShow:ce,handleHide:I,hideOnRouteChange:m,processOnMount:!0}),{showPortal:B,hidePortal:D,renderPortal:R}=lr(d,h,ae,"menu"),C={anchorEl:L,innerRef:h,onClickOutside(H){if(e.persistent!==!0&&v.value===!0)return F(H),(H.type==="touchstart"||H.target.classList.contains("q-dialog__backdrop"))&&qe(H),!0}},M=s(()=>gr(e.anchor||(e.cover===!0?"center middle":"bottom start"),c.lang.rtl)),X=s(()=>e.cover===!0?M.value:gr(e.self||"top start",c.lang.rtl)),Y=s(()=>(e.square===!0?" q-menu--square":"")+(g.value===!0?" q-menu--dark q-dark":"")),T=s(()=>e.autoClose===!0?{onClick:N}:{}),j=s(()=>v.value===!0&&e.persistent!==!0);W(j,H=>{H===!0?(Hi(P),ji(C)):(cr(P),mr(C))});function J(){ho(()=>{let H=h.value;H&&H.contains(document.activeElement)!==!0&&(H=H.querySelector("[autofocus][tabindex], [data-autofocus][tabindex]")||H.querySelector("[autofocus] [tabindex], [data-autofocus] [tabindex]")||H.querySelector("[autofocus], [data-autofocus]")||H,H.focus({preventScroll:!0}))})}function ce(H){if(n=e.noRefocus===!1?document.activeElement:null,dr(le),B(),K(),a=void 0,H!==void 0&&(e.touchPosition||e.contextMenu)){let me=_t(H);if(me.left!==void 0){let{top:Me,left:G}=L.value.getBoundingClientRect();a={left:me.left-G,top:me.top-Me}}}l===void 0&&(l=W(()=>c.screen.width+"|"+c.screen.height+"|"+e.self+"|"+e.anchor+"|"+c.lang.rtl,O)),e.noFocus!==!0&&document.activeElement.blur(),x(()=>{O(),e.noFocus!==!0&&J()}),k(()=>{c.platform.is.ios===!0&&(u=e.autoClose,h.value.click()),O(),B(!0),o("show",H)},e.transitionDuration)}function I(H){y(),D(),w(!0),n!==null&&(H===void 0||H.qClickOutside!==!0)&&(((H&&H.type.indexOf("key")===0?n.closest('[tabindex]:not([tabindex^="-"])'):void 0)||n).focus(),n=null),k(()=>{D(!0),o("hide",H)},e.transitionDuration)}function w(H){a=void 0,l!==void 0&&(l(),l=void 0),(H===!0||v.value===!0)&&(Rn(le),E(),mr(C),cr(P)),H!==!0&&(n=null)}function K(){(L.value!==null||e.scrollTarget!==void 0)&&(p.value=Bt(L.value,e.scrollTarget),_(p.value,O))}function N(H){u!==!0?(Al(f,H),o("click",H)):u=!1}function le(H){j.value===!0&&e.noFocus!==!0&&Di(h.value,H.target)!==!0&&J()}function P(H){o("escapeKey"),F(H)}function O(){oi({targetEl:h.value,offset:e.offset,anchorEl:L.value,anchorOrigin:M.value,selfOrigin:X.value,absoluteOffset:a,fit:e.fit,cover:e.cover,maxHeight:e.maxHeight,maxWidth:e.maxWidth})}function ae(){return i(lt,S.value,()=>v.value===!0?i("div",{role:"menu",...r,ref:h,tabindex:-1,class:["q-menu q-position-engine scroll"+Y.value,r.class],style:[r.style,b.value],...T.value},re(t.default)):null)}return Se(w),Object.assign(f,{focus:J,updatePosition:O}),R}});var zl,Ki=0,It=new Array(256);for(let e=0;e<256;e++)It[e]=(e+256).toString(16).substring(1);var fg=(()=>{let 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=>{let o=new Uint8Array(t);return e.getRandomValues(o),o}}return t=>{let o=[];for(let r=t;r>0;r--)o.push(Math.floor(Math.random()*256));return o}})(),Ds=4096;function Fo(){(zl===void 0||Ki+16>Ds)&&(Ki=0,zl=fg(Ds));let e=Array.prototype.slice.call(zl,Ki,Ki+=16);return e[6]=e[6]&15|64,e[8]=e[8]&63|128,It[e[0]]+It[e[1]]+It[e[2]]+It[e[3]]+"-"+It[e[4]]+It[e[5]]+"-"+It[e[6]]+It[e[7]]+"-"+It[e[8]]+It[e[9]]+"-"+It[e[10]]+It[e[11]]+It[e[12]]+It[e[13]]+It[e[14]]+It[e[15]]}function mg(e){return e??null}function Vs(e,t){return e??(t===!0?`f_${Fo()}`:null)}function Do({getValue:e,required:t=!0}={}){if(xt.value===!0){let o=e!==void 0?q(mg(e())):q(null);return t===!0&&o.value===null&&Ne(()=>{o.value=`f_${Fo()}`}),e!==void 0&&W(e,r=>{o.value=Vs(r,t)}),o}return e!==void 0?s(()=>Vs(e(),t)):q(`f_${Fo()}`)}var vg=Object.keys(Zr);function gg(e){return vg.reduce((t,o)=>{let r=e[o];return r!==void 0&&(t[o]=r),t},{})}var Wi=$({name:"QBtnDropdown",props:{...Zr,...Eo,modelValue:Boolean,split:Boolean,dropdownIcon:String,contentClass:[Array,String,Object],contentStyle:[Array,String,Object],cover:Boolean,persistent:Boolean,noRouteDismiss:Boolean,autoClose:Boolean,menuAnchor:{type:String,default:"bottom end"},menuSelf:{type:String,default:"top end"},menuOffset:Array,disableMainBtn:Boolean,disableDropdown:Boolean,noIconAnimation:Boolean,toggleAriaLabel:String},emits:["update:modelValue","click","beforeShow","show","beforeHide","hide"],setup(e,{slots:t,emit:o}){let{proxy:r}=U(),n=q(e.modelValue),a=q(null),l=Do(),u=s(()=>{let p={"aria-expanded":n.value===!0?"true":"false","aria-haspopup":"true","aria-controls":l.value,"aria-label":e.toggleAriaLabel||r.$q.lang.label[n.value===!0?"collapse":"expand"](e.label)};return(e.disable===!0||e.split===!1&&e.disableMainBtn===!0||e.disableDropdown===!0)&&(p["aria-disabled"]="true"),p}),d=s(()=>"q-btn-dropdown__arrow"+(n.value===!0&&e.noIconAnimation===!1?" rotate-180":"")+(e.split===!1?" q-btn-dropdown__arrow-container":"")),f=s(()=>zi(e)),c=s(()=>gg(e));W(()=>e.modelValue,p=>{a.value!==null&&a.value[p?"show":"hide"]()}),W(()=>e.split,b);function h(p){n.value=!0,o("beforeShow",p)}function v(p){o("show",p),o("update:modelValue",!0)}function m(p){n.value=!1,o("beforeHide",p)}function g(p){o("hide",p),o("update:modelValue",!1)}function x(p){o("click",p)}function y(p){it(p),b(),o("click",p)}function k(p){a.value!==null&&a.value.toggle(p)}function S(p){a.value!==null&&a.value.show(p)}function b(p){a.value!==null&&a.value.hide(p)}return Object.assign(r,{show:S,hide:b,toggle:k}),Ne(()=>{e.modelValue===!0&&S()}),()=>{let p=[i(Pe,{class:d.value,name:e.dropdownIcon||r.$q.iconSet.arrow.dropdown})];return e.disableDropdown!==!0&&p.push(i(Lo,{ref:a,id:l.value,class:e.contentClass,style:e.contentStyle,cover:e.cover,fit:!0,persistent:e.persistent,noRouteDismiss:e.noRouteDismiss,autoClose:e.autoClose,anchor:e.menuAnchor,self:e.menuSelf,offset:e.menuOffset,separateClosePopup:!0,transitionShow:e.transitionShow,transitionHide:e.transitionHide,transitionDuration:e.transitionDuration,onBeforeShow:h,onShow:v,onBeforeHide:m,onHide:g},t.default)),e.split===!1?i(Ie,{class:"q-btn-dropdown q-btn-dropdown--simple",...c.value,...u.value,disable:e.disable===!0||e.disableMainBtn===!0,noWrap:!0,round:!1,onClick:x},{default:()=>re(t.label,[]).concat(p),loading:t.loading}):i(or,{class:"q-btn-dropdown q-btn-dropdown--split no-wrap q-btn-item",rounded:e.rounded,square:e.square,...f.value,glossy:e.glossy,stretch:e.stretch},()=>[i(Ie,{class:"q-btn-dropdown--current",...c.value,disable:e.disable===!0||e.disableMainBtn===!0,noWrap:!0,round:!1,onClick:y},{default:t.label,loading:t.loading}),i(Ie,{class:"q-btn-dropdown__arrow-container q-anchor--skip",...u.value,...f.value,disable:e.disable===!0||e.disableDropdown===!0,rounded:e.rounded,color:e.color,textColor:e.textColor,dense:e.dense,size:e.size,padding:e.padding,ripple:e.ripple},()=>p)])}}});var kt={name:String};function Vo(e){return s(()=>({type:"hidden",name:e.name,value:e.modelValue}))}function Xt(e={}){return(t,o,r)=>{t[o](i("input",{class:"hidden"+(r||""),...e.value}))}}function hr(e){return s(()=>e.name||e.for)}var zs=$({name:"QBtnToggle",props:{...kt,modelValue:{required:!0},options:{type:Array,required:!0,validator:e=>e.every(t=>("label"in t||"icon"in t||"slot"in t)&&"value"in t)},color:String,textColor:String,toggleColor:{type:String,default:"primary"},toggleTextColor:String,outline:Boolean,flat:Boolean,unelevated:Boolean,rounded:Boolean,push:Boolean,glossy:Boolean,size:String,padding:String,noCaps:Boolean,noWrap:Boolean,dense:Boolean,readonly:Boolean,disable:Boolean,stack:Boolean,stretch:Boolean,spread:Boolean,clearable:Boolean,ripple:{type:[Boolean,Object],default:!0}},emits:["update:modelValue","clear","click"],setup(e,{slots:t,emit:o}){let r=s(()=>e.options.find(v=>v.value===e.modelValue)!==void 0),n=s(()=>({type:"hidden",name:e.name,value:e.modelValue})),a=Xt(n),l=s(()=>zi(e)),u=s(()=>({rounded:e.rounded,dense:e.dense,...l.value})),d=s(()=>e.options.map((v,m)=>{let{attrs:g,value:x,slot:y,...k}=v;return{slot:y,props:{key:m,"aria-pressed":x===e.modelValue?"true":"false",...g,...k,...u.value,disable:e.disable===!0||k.disable===!0,color:x===e.modelValue?c(k,"toggleColor"):c(k,"color"),textColor:x===e.modelValue?c(k,"toggleTextColor"):c(k,"textColor"),noCaps:c(k,"noCaps")===!0,noWrap:c(k,"noWrap")===!0,size:c(k,"size"),padding:c(k,"padding"),ripple:c(k,"ripple"),stack:c(k,"stack")===!0,stretch:c(k,"stretch")===!0,onClick(S){f(x,v,S)}}}}));function f(v,m,g){e.readonly!==!0&&(e.modelValue===v?e.clearable===!0&&(o("update:modelValue",null,null),o("clear")):o("update:modelValue",v,m),o("click",g))}function c(v,m){return v[m]===void 0?e[m]:v[m]}function h(){let v=d.value.map(m=>i(Ie,m.props,m.slot!==void 0?t[m.slot]:void 0));return e.name!==void 0&&e.disable!==!0&&r.value===!0&&a(v,"push"),Ge(t.default,v)}return()=>i(or,{class:"q-btn-toggle",...l.value,rounded:e.rounded,stretch:e.stretch,glossy:e.glossy,spread:e.spread},h)}});var pr=$({name:"QCard",props:{..._e,tag:{type:String,default:"div"},square:Boolean,flat:Boolean,bordered:Boolean},setup(e,{slots:t}){let{proxy:{$q:o}}=U(),r=Ce(e,o),n=s(()=>"q-card"+(r.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()=>i(e.tag,{class:n.value},re(t.default))}});var So=$({name:"QCardSection",props:{tag:{type:String,default:"div"},horizontal:Boolean},setup(e,{slots:t}){let o=s(()=>`q-card__section q-card__section--${e.horizontal===!0?"horiz row no-wrap":"vert"}`);return()=>i(e.tag,{class:o.value},re(t.default))}});var Yi=$({name:"QCardActions",props:{...Wn,vertical:Boolean},setup(e,{slots:t}){let o=Yn(e),r=s(()=>`q-card__actions ${o.value} q-card__actions--${e.vertical===!0?"vert column":"horiz row"}`);return()=>i("div",{class:r.value},re(t.default))}});var Ol={left:!0,right:!0,up:!0,down:!0,horizontal:!0,vertical:!0},hg=Object.keys(Ol);Ol.all=!0;function br(e){let t={};for(let o of hg)e[o]===!0&&(t[o]=!0);return Object.keys(t).length===0?Ol:(t.horizontal===!0?t.left=t.right=!0:t.left===!0&&t.right===!0&&(t.horizontal=!0),t.vertical===!0?t.up=t.down=!0:t.up===!0&&t.down===!0&&(t.vertical=!0),t.horizontal===!0&&t.vertical===!0&&(t.all=!0),t)}var pg=["INPUT","TEXTAREA"];function yr(e,t){return t.event===void 0&&e.target!==void 0&&e.target.draggable!==!0&&typeof t.handler=="function"&&pg.includes(e.target.nodeName.toUpperCase())===!1&&(e.qClonedBy===void 0||e.qClonedBy.indexOf(t.uid)===-1)}function bg(e){let t=[.06,6,50];return typeof e=="string"&&e.length&&e.split(":").forEach((o,r)=>{let n=parseFloat(o);n&&(t[r]=n)}),t}var Xi=At({name:"touch-swipe",beforeMount(e,{value:t,arg:o,modifiers:r}){if(r.mouse!==!0&&Re.has.touch!==!0)return;let n=r.mouseCapture===!0?"Capture":"",a={handler:t,sensitivity:bg(o),direction:br(r),noop:We,mouseStart(l){yr(l,a)&&Ko(l)&&(dt(a,"temp",[[document,"mousemove","move",`notPassive${n}`],[document,"mouseup","end","notPassiveCapture"]]),a.start(l,!0))},touchStart(l){if(yr(l,a)){let u=l.target;dt(a,"temp",[[u,"touchmove","move","notPassiveCapture"],[u,"touchcancel","end","notPassiveCapture"],[u,"touchend","end","notPassiveCapture"]]),a.start(l)}},start(l,u){Re.is.firefox===!0&&Wo(e,!0);let d=_t(l);a.event={x:d.left,y:d.top,time:Date.now(),mouse:u===!0,dir:!1}},move(l){if(a.event===void 0)return;if(a.event.dir!==!1){qe(l);return}let u=Date.now()-a.event.time;if(u===0)return;let d=_t(l),f=d.left-a.event.x,c=Math.abs(f),h=d.top-a.event.y,v=Math.abs(h);if(a.event.mouse!==!0){if(c<a.sensitivity[1]&&v<a.sensitivity[1]){a.end(l);return}}else if(window.getSelection().toString()!==""){a.end(l);return}else if(c<a.sensitivity[2]&&v<a.sensitivity[2])return;let m=c/u,g=v/u;a.direction.vertical===!0&&c<v&&c<100&&g>a.sensitivity[0]&&(a.event.dir=h<0?"up":"down"),a.direction.horizontal===!0&&c>v&&v<100&&m>a.sensitivity[0]&&(a.event.dir=f<0?"left":"right"),a.direction.up===!0&&c<v&&h<0&&c<100&&g>a.sensitivity[0]&&(a.event.dir="up"),a.direction.down===!0&&c<v&&h>0&&c<100&&g>a.sensitivity[0]&&(a.event.dir="down"),a.direction.left===!0&&c>v&&f<0&&v<100&&m>a.sensitivity[0]&&(a.event.dir="left"),a.direction.right===!0&&c>v&&f>0&&v<100&&m>a.sensitivity[0]&&(a.event.dir="right"),a.event.dir!==!1?(qe(l),a.event.mouse===!0&&(document.body.classList.add("no-pointer-events--children"),document.body.classList.add("non-selectable"),Ot(),a.styleCleanup=x=>{a.styleCleanup=void 0,document.body.classList.remove("non-selectable");let y=()=>{document.body.classList.remove("no-pointer-events--children")};x===!0?setTimeout(y,50):y()}),a.handler({evt:l,touch:a.event.mouse!==!0,mouse:a.event.mouse,direction:a.event.dir,duration:u,distance:{x:c,y:v}})):a.end(l)},end(l){a.event!==void 0&&(qt(a,"temp"),Re.is.firefox===!0&&Wo(e,!1),a.styleCleanup!==void 0&&a.styleCleanup(!0),l!==void 0&&a.event.dir!==!1&&qe(l),a.event=void 0)}};if(e.__qtouchswipe=a,r.mouse===!0){let l=r.mouseCapture===!0||r.mousecapture===!0?"Capture":"";dt(a,"main",[[e,"mousedown","mouseStart",`passive${l}`]])}Re.has.touch===!0&&dt(a,"main",[[e,"touchstart","touchStart",`passive${r.capture===!0?"Capture":""}`],[e,"touchmove","noop","notPassiveCapture"]])},updated(e,t){let o=e.__qtouchswipe;o!==void 0&&(t.oldValue!==t.value&&(typeof t.value!="function"&&o.end(),o.handler=t.value),o.direction=br(t.modifiers))},beforeUnmount(e){let t=e.__qtouchswipe;t!==void 0&&(qt(t,"main"),qt(t,"temp"),Re.is.firefox===!0&&Wo(e,!1),t.styleCleanup!==void 0&&t.styleCleanup(),delete e.__qtouchswipe)}});function bo(){let e=Object.create(null);return{getCache:(t,o)=>e[t]===void 0?e[t]=typeof o=="function"?o():o:e[t],setCache(t,o){e[t]=o},hasCache(t){return Object.hasOwnProperty.call(e,t)},clearCache(t){t!==void 0?delete e[t]:e=Object.create(null)}}}var Sr={name:{required:!0},disable:Boolean},Os={setup(e,{slots:t}){return()=>i("div",{class:"q-panel scroll",role:"tabpanel"},re(t.default))}},xr={modelValue:{required:!0},animated:Boolean,infinite:Boolean,swipeable:Boolean,vertical:Boolean,transitionPrev:String,transitionNext:String,transitionDuration:{type:[String,Number],default:300},keepAlive:Boolean,keepAliveInclude:[String,Array,RegExp],keepAliveExclude:[String,Array,RegExp],keepAliveMax:Number},_r=["update:modelValue","beforeTransition","transition"];function Cr(){let{props:e,emit:t,proxy:o}=U(),{getCache:r}=bo(),n,a,l=q(null),u=q(null);function d(C){let M=e.vertical===!0?"up":"left";L((o.$q.lang.rtl===!0?-1:1)*(C.direction===M?1:-1))}let f=s(()=>[[Xi,d,void 0,{horizontal:e.vertical!==!0,vertical:e.vertical,mouse:!0}]]),c=s(()=>e.transitionPrev||`slide-${e.vertical===!0?"down":"right"}`),h=s(()=>e.transitionNext||`slide-${e.vertical===!0?"up":"left"}`),v=s(()=>`--q-transition-duration: ${e.transitionDuration}ms`),m=s(()=>typeof e.modelValue=="string"||typeof e.modelValue=="number"?e.modelValue:String(e.modelValue)),g=s(()=>({include:e.keepAliveInclude,exclude:e.keepAliveExclude,max:e.keepAliveMax})),x=s(()=>e.keepAliveInclude!==void 0||e.keepAliveExclude!==void 0);W(()=>e.modelValue,(C,M)=>{let X=b(C)===!0?p(C):-1;a!==!0&&E(X===-1?0:X<p(M)?-1:1),l.value!==X&&(l.value=X,t("beforeTransition",C,M),$e(()=>{t("transition",C,M)}))});function y(){L(1)}function k(){L(-1)}function S(C){t("update:modelValue",C)}function b(C){return C!=null&&C!==""}function p(C){return n.findIndex(M=>M.props.name===C&&M.props.disable!==""&&M.props.disable!==!0)}function _(){return n.filter(C=>C.props.disable!==""&&C.props.disable!==!0)}function E(C){let M=C!==0&&e.animated===!0&&l.value!==-1?"q-transition--"+(C===-1?c.value:h.value):null;u.value!==M&&(u.value=M)}function L(C,M=l.value){let X=M+C;for(;X!==-1&&X<n.length;){let Y=n[X];if(Y!==void 0&&Y.props.disable!==""&&Y.props.disable!==!0){E(C),a=!0,t("update:modelValue",Y.props.name),setTimeout(()=>{a=!1});return}X+=C}e.infinite===!0&&n.length!==0&&M!==-1&&M!==n.length&&L(C,C===-1?n.length:-1)}function V(){let C=p(e.modelValue);return l.value!==C&&(l.value=C),!0}function F(){let C=b(e.modelValue)===!0&&V()&&n[l.value];return e.keepAlive===!0?[i(xi,g.value,[i(x.value===!0?r(m.value,()=>({...Os,name:m.value})):Os,{key:m.value,style:v.value},()=>C)])]:[i("div",{class:"q-panel scroll",style:v.value,key:m.value,role:"tabpanel"},[C])]}function B(){if(n.length!==0)return e.animated===!0?[i(lt,{name:u.value},F)]:F()}function D(C){return n=Xn(re(C.default,[])).filter(M=>M.props!==null&&M.props.slot===void 0&&b(M.props.name)===!0),n.length}function R(){return n}return Object.assign(o,{next:y,previous:k,goTo:S}),{panelIndex:l,panelDirectives:f,updatePanelsList:D,updatePanelIndex:V,getPanelContent:B,getEnabledPanels:_,getPanels:R,isValidPanelName:b,keepAliveProps:g,needsUniqueKeepAliveWrapper:x,goToPanelByOffset:L,goToPanel:S,nextPanel:y,previousPanel:k}}var ni=0,wr={fullscreen:Boolean,noRouteFullscreenExit:Boolean},kr=["update:fullscreen","fullscreen"];function qr(){let e=U(),{props:t,emit:o,proxy:r}=e,n,a,l,u=q(!1);Gn(e)===!0&&W(()=>r.$route.fullPath,()=>{t.noRouteFullscreenExit!==!0&&c()}),W(()=>t.fullscreen,h=>{u.value!==h&&d()}),W(u,h=>{o("update:fullscreen",h),o("fullscreen",h)});function d(){u.value===!0?c():f()}function f(){u.value!==!0&&(u.value=!0,l=r.$el.parentNode,l.replaceChild(a,r.$el),document.body.appendChild(r.$el),ni++,ni===1&&document.body.classList.add("q-body--fullscreen-mixin"),n={handler:c},on.add(n))}function c(){u.value===!0&&(n!==void 0&&(on.remove(n),n=void 0),l.replaceChild(r.$el,a),u.value=!1,ni=Math.max(0,ni-1),ni===0&&(document.body.classList.remove("q-body--fullscreen-mixin"),r.$el.scrollIntoView!==void 0&&setTimeout(()=>{r.$el.scrollIntoView()})))}return Hn(()=>{a=document.createElement("span")}),Ne(()=>{t.fullscreen===!0&&f()}),Se(c),Object.assign(r,{toggleFullscreen:d,setFullscreen:f,exitFullscreen:c}),{inFullscreen:u,toggleFullscreen:d}}var yg=["top","right","bottom","left"],Sg=["regular","flat","outline","push","unelevated"],Is=$({name:"QCarousel",props:{..._e,...xr,...wr,transitionPrev:{type:String,default:"fade"},transitionNext:{type:String,default:"fade"},height:String,padding:Boolean,controlColor:String,controlTextColor:String,controlType:{type:String,validator:e=>Sg.includes(e),default:"flat"},autoplay:[Number,Boolean],arrows:Boolean,prevIcon:String,nextIcon:String,navigation:Boolean,navigationPosition:{type:String,validator:e=>yg.includes(e)},navigationIcon:String,navigationActiveIcon:String,thumbnails:Boolean},emits:[...kr,..._r],setup(e,{slots:t}){let{proxy:{$q:o}}=U(),r=Ce(e,o),n=null,a,{updatePanelsList:l,getPanelContent:u,panelDirectives:d,goToPanel:f,previousPanel:c,nextPanel:h,getEnabledPanels:v,panelIndex:m}=Cr(),{inFullscreen:g}=qr(),x=s(()=>g.value!==!0&&e.height!==void 0?{height:e.height}:{}),y=s(()=>e.vertical===!0?"vertical":"horizontal"),k=s(()=>`q-carousel q-panel-parent q-carousel--with${e.padding===!0?"":"out"}-padding`+(g.value===!0?" fullscreen":"")+(r.value===!0?" q-carousel--dark q-dark":"")+(e.arrows===!0?` q-carousel--arrows-${y.value}`:"")+(e.navigation===!0?` q-carousel--navigation-${_.value}`:"")),S=s(()=>{let B=[e.prevIcon||o.iconSet.carousel[e.vertical===!0?"up":"left"],e.nextIcon||o.iconSet.carousel[e.vertical===!0?"down":"right"]];return e.vertical===!1&&o.lang.rtl===!0?B.reverse():B}),b=s(()=>e.navigationIcon||o.iconSet.carousel.navigationIcon),p=s(()=>e.navigationActiveIcon||b.value),_=s(()=>e.navigationPosition||(e.vertical===!0?"right":"bottom")),E=s(()=>({color:e.controlColor,textColor:e.controlTextColor,round:!0,[e.controlType]:!0,dense:!0}));W(()=>e.modelValue,()=>{e.autoplay&&L()}),W(()=>e.autoplay,B=>{B?L():n!==null&&(clearTimeout(n),n=null)});function L(){let B=co(e.autoplay)===!0?Math.abs(e.autoplay):5e3;n!==null&&clearTimeout(n),n=setTimeout(()=>{n=null,B>=0?h():c()},B)}Ne(()=>{e.autoplay&&L()}),Se(()=>{n!==null&&clearTimeout(n)});function V(B,D){return i("div",{class:`q-carousel__control q-carousel__navigation no-wrap absolute flex q-carousel__navigation--${B} q-carousel__navigation--${_.value}`+(e.controlColor!==void 0?` text-${e.controlColor}`:"")},[i("div",{class:"q-carousel__navigation-inner flex flex-center no-wrap"},v().map(D))])}function F(){let B=[];if(e.navigation===!0){let D=t["navigation-icon"]!==void 0?t["navigation-icon"]:C=>i(Ie,{key:"nav"+C.name,class:`q-carousel__navigation-icon q-carousel__navigation-icon--${C.active===!0?"":"in"}active`,...C.btnProps,onClick:C.onClick}),R=a-1;B.push(V("buttons",(C,M)=>{let X=C.props.name,Y=m.value===M;return D({index:M,maxIndex:R,name:X,active:Y,btnProps:{icon:Y===!0?p.value:b.value,size:"sm",...E.value},onClick:()=>{f(X)}})}))}else if(e.thumbnails===!0){let D=e.controlColor!==void 0?` text-${e.controlColor}`:"";B.push(V("thumbnails",R=>{let C=R.props;return i("img",{key:"tmb#"+C.name,class:`q-carousel__thumbnail q-carousel__thumbnail--${C.name===e.modelValue?"":"in"}active`+D,src:C.imgSrc||C["img-src"],onClick:()=>{f(C.name)}})}))}return e.arrows===!0&&m.value>=0&&((e.infinite===!0||m.value>0)&&B.push(i("div",{key:"prev",class:`q-carousel__control q-carousel__arrow q-carousel__prev-arrow q-carousel__prev-arrow--${y.value} absolute flex flex-center`},[i(Ie,{icon:S.value[0],...E.value,onClick:c})])),(e.infinite===!0||m.value<a-1)&&B.push(i("div",{key:"next",class:`q-carousel__control q-carousel__arrow q-carousel__next-arrow q-carousel__next-arrow--${y.value} absolute flex flex-center`},[i(Ie,{icon:S.value[1],...E.value,onClick:h})]))),Ge(t.control,B)}return()=>(a=l(t),i("div",{class:k.value,style:x.value},[Mt("div",{class:"q-carousel__slides-container"},u(),"sl-cont",e.swipeable,()=>d.value)].concat(F())))}});var Hs=$({name:"QCarouselSlide",props:{...Sr,imgSrc:String},setup(e,{slots:t}){let o=s(()=>e.imgSrc?{backgroundImage:`url("${e.imgSrc}")`}:{});return()=>i("div",{class:"q-carousel__slide",style:o.value},re(t.default))}});var Qs=$({name:"QCarouselControl",props:{position:{type:String,default:"bottom-right",validator:e=>["top-right","top-left","bottom-right","bottom-left","top","right","bottom","left"].includes(e)},offset:{type:Array,default:()=>[18,18],validator:e=>e.length===2}},setup(e,{slots:t}){let o=s(()=>`q-carousel__control absolute absolute-${e.position}`),r=s(()=>({margin:`${e.offset[1]}px ${e.offset[0]}px`}));return()=>i("div",{class:o.value,style:r.value},re(t.default))}});var Ns=$({name:"QChatMessage",props:{sent:Boolean,label:String,bgColor:String,textColor:String,name:String,avatar:String,text:Array,stamp:String,size:String,labelHtml:Boolean,nameHtml:Boolean,textHtml:Boolean,stampHtml:Boolean},setup(e,{slots:t}){let o=s(()=>e.sent===!0?"sent":"received"),r=s(()=>`q-message-text-content q-message-text-content--${o.value}`+(e.textColor!==void 0?` text-${e.textColor}`:"")),n=s(()=>`q-message-text q-message-text--${o.value}`+(e.bgColor!==void 0?` text-${e.bgColor}`:"")),a=s(()=>"q-message-container row items-end no-wrap"+(e.sent===!0?" reverse":"")),l=s(()=>e.size!==void 0?`col-${e.size}`:""),u=s(()=>({msg:e.textHtml===!0?"innerHTML":"textContent",stamp:e.stampHtml===!0?"innerHTML":"textContent",name:e.nameHtml===!0?"innerHTML":"textContent",label:e.labelHtml===!0?"innerHTML":"textContent"}));function d(c){return t.stamp!==void 0?[c,i("div",{class:"q-message-stamp"},t.stamp())]:e.stamp?[c,i("div",{class:"q-message-stamp",[u.value.stamp]:e.stamp})]:[c]}function f(c,h){let v=h===!0?c.length>1?m=>m:m=>i("div",[m]):m=>i("div",{[u.value.msg]:m});return c.map((m,g)=>i("div",{key:g,class:n.value},[i("div",{class:r.value},d(v(m)))]))}return()=>{let c=[];t.avatar!==void 0?c.push(t.avatar()):e.avatar!==void 0&&c.push(i("img",{class:`q-message-avatar q-message-avatar--${o.value}`,src:e.avatar,"aria-hidden":"true"}));let h=[];t.name!==void 0?h.push(i("div",{class:`q-message-name q-message-name--${o.value}`},t.name())):e.name!==void 0&&h.push(i("div",{class:`q-message-name q-message-name--${o.value}`,[u.value.name]:e.name})),t.default!==void 0?h.push(f(Xn(t.default()),!0)):e.text!==void 0&&h.push(f(e.text)),c.push(i("div",{class:l.value},h));let v=[];return t.label!==void 0?v.push(i("div",{class:"q-message-label"},t.label())):e.label!==void 0&&v.push(i("div",{class:"q-message-label",[u.value.label]:e.label})),v.push(i("div",{class:a.value},c)),i("div",{class:`q-message q-message-${o.value}`},v)}}});function Gi(e,t){let o=q(null),r=s(()=>e.disable===!0?null:i("span",{ref:o,class:"no-outline",tabindex:-1}));function n(a){let l=t.value;a!==void 0&&a.type.indexOf("key")===0?l!==null&&document.activeElement!==l&&l.contains(document.activeElement)===!0&&l.focus():o.value!==null&&(a===void 0||l!==null&&l.contains(a.target)===!0)&&o.value.focus()}return{refocusTargetEl:r,refocusTarget:n}}var Zi={xs:30,sm:35,md:40,lg:50,xl:60};var Ji={..._e,...Ft,...kt,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]},ea=["update:modelValue"];function ta(e,t){let{props:o,slots:r,emit:n,proxy:a}=U(),{$q:l}=a,u=Ce(o,l),d=q(null),{refocusTargetEl:f,refocusTarget:c}=Gi(o,d),h=Dt(o,Zi),v=s(()=>o.val!==void 0&&Array.isArray(o.modelValue)),m=s(()=>{let R=so(o.val);return v.value===!0?o.modelValue.findIndex(C=>so(C)===R):-1}),g=s(()=>v.value===!0?m.value!==-1:so(o.modelValue)===so(o.trueValue)),x=s(()=>v.value===!0?m.value===-1:so(o.modelValue)===so(o.falseValue)),y=s(()=>g.value===!1&&x.value===!1),k=s(()=>o.disable===!0?-1:o.tabindex||0),S=s(()=>`q-${e} cursor-pointer no-outline row inline no-wrap items-center`+(o.disable===!0?" disabled":"")+(u.value===!0?` q-${e}--dark`:"")+(o.dense===!0?` q-${e}--dense`:"")+(o.leftLabel===!0?" reverse":"")),b=s(()=>{let R=g.value===!0?"truthy":x.value===!0?"falsy":"indet",C=o.color!==void 0&&(o.keepColor===!0||(e==="toggle"?g.value===!0:x.value!==!0))?` text-${o.color}`:"";return`q-${e}__inner relative-position non-selectable q-${e}__inner--${R}${C}`}),p=s(()=>{let R={type:"checkbox"};return o.name!==void 0&&Object.assign(R,{".checked":g.value,"^checked":g.value===!0?"checked":void 0,name:o.name,value:v.value===!0?o.val:o.trueValue}),R}),_=Xt(p),E=s(()=>{let R={tabindex:k.value,role:e==="toggle"?"switch":"checkbox","aria-label":o.label,"aria-checked":y.value===!0?"mixed":g.value===!0?"true":"false"};return o.disable===!0&&(R["aria-disabled"]="true"),R});function L(R){R!==void 0&&(qe(R),c(R)),o.disable!==!0&&n("update:modelValue",V(),R)}function V(){if(v.value===!0){if(g.value===!0){let R=o.modelValue.slice();return R.splice(m.value,1),R}return o.modelValue.concat([o.val])}if(g.value===!0){if(o.toggleOrder!=="ft"||o.toggleIndeterminate===!1)return o.falseValue}else if(x.value===!0){if(o.toggleOrder==="ft"||o.toggleIndeterminate===!1)return o.trueValue}else return o.toggleOrder!=="ft"?o.trueValue:o.falseValue;return o.indeterminateValue}function F(R){(R.keyCode===13||R.keyCode===32)&&qe(R)}function B(R){(R.keyCode===13||R.keyCode===32)&&L(R)}let D=t(g,y);return Object.assign(a,{toggle:L}),()=>{let R=D();o.disable!==!0&&_(R,"unshift",` q-${e}__native absolute q-ma-none q-pa-none`);let C=[i("div",{class:b.value,style:h.value,"aria-hidden":"true"},R)];f.value!==null&&C.push(f.value);let M=o.label!==void 0?Ge(r.default,[o.label]):re(r.default);return M!==void 0&&C.push(i("div",{class:`q-${e}__label q-anchor--skip`},M)),i("div",{ref:d,class:S.value,...E.value,onClick:L,onKeydown:F,onKeyup:B},C)}}var xg=i("div",{key:"svg",class:"q-checkbox__bg absolute"},[i("svg",{class:"q-checkbox__svg fit absolute-full",viewBox:"0 0 24 24"},[i("path",{class:"q-checkbox__truthy",fill:"none",d:"M1.73,12.91 8.1,19.28 22.79,4.59"}),i("path",{class:"q-checkbox__indet",d:"M4,14H20V10H4"})])]),zo=$({name:"QCheckbox",props:Ji,emits:ea,setup(e){function t(o,r){let n=s(()=>(o.value===!0?e.checkedIcon:r.value===!0?e.indeterminateIcon:e.uncheckedIcon)||null);return()=>n.value!==null?[i("div",{key:"icon",class:"q-checkbox__icon-container absolute-full flex flex-center no-wrap"},[i(Pe,{class:"q-checkbox__icon",name:n.value})])]:[xg]}return ta("checkbox",t)}});var _g={xs:8,sm:10,md:14,lg:20,xl:24},Tr=$({name:"QChip",props:{..._e,...Ft,dense:Boolean,icon:String,iconRight:String,iconRemove:String,iconSelected:String,label:[String,Number],color:String,textColor:String,modelValue:{type:Boolean,default:!0},selected:{type:Boolean,default:null},square:Boolean,outline:Boolean,clickable:Boolean,removable:Boolean,removeAriaLabel:String,tabindex:[String,Number],disable:Boolean,ripple:{type:[Boolean,Object],default:!0}},emits:["update:modelValue","update:selected","remove","click"],setup(e,{slots:t,emit:o}){let{proxy:{$q:r}}=U(),n=Ce(e,r),a=Dt(e,_g),l=s(()=>e.selected===!0||e.icon!==void 0),u=s(()=>e.selected===!0?e.iconSelected||r.iconSet.chip.selected:e.icon),d=s(()=>e.iconRemove||r.iconSet.chip.remove),f=s(()=>e.disable===!1&&(e.clickable===!0||e.selected!==null)),c=s(()=>{let y=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}`:"")+(y?` text-${y} 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":"")+(n.value===!0?" q-chip--dark q-dark":"")}),h=s(()=>{let y=e.disable===!0?{tabindex:-1,"aria-disabled":"true"}:{tabindex:e.tabindex||0},k={...y,role:"button","aria-hidden":"false","aria-label":e.removeAriaLabel||r.lang.label.remove};return{chip:y,remove:k}});function v(y){y.keyCode===13&&m(y)}function m(y){e.disable||(o("update:selected",!e.selected),o("click",y))}function g(y){(y.keyCode===void 0||y.keyCode===13)&&(qe(y),e.disable===!1&&(o("update:modelValue",!1),o("remove")))}function x(){let y=[];f.value===!0&&y.push(i("div",{class:"q-focus-helper"})),l.value===!0&&y.push(i(Pe,{class:"q-chip__icon q-chip__icon--left",name:u.value}));let k=e.label!==void 0?[i("div",{class:"ellipsis"},[e.label])]:void 0;return y.push(i("div",{class:"q-chip__content col row no-wrap items-center q-anchor--skip"},Kn(t.default,k))),e.iconRight&&y.push(i(Pe,{class:"q-chip__icon q-chip__icon--right",name:e.iconRight})),e.removable===!0&&y.push(i(Pe,{class:"q-chip__icon q-chip__icon--remove cursor-pointer",name:d.value,...h.value.remove,onClick:g,onKeyup:g})),y}return()=>{if(e.modelValue===!1)return;let y={class:c.value,style:a.value};return f.value===!0&&Object.assign(y,h.value.chip,{onClick:m,onKeyup:v}),Mt("div",y,x(),"ripple",e.ripple!==!1&&e.disable!==!0,()=>[[Ao,e.ripple]])}}});var ri={...Ft,min:{type:Number,default:0},max:{type:Number,default:100},color:String,centerColor:String,trackColor:String,fontSize:String,rounded:Boolean,thickness:{type:Number,default:.2,validator:e=>e>=0&&e<=1},angle:{type:Number,default:0},showValue:Boolean,reverse:Boolean,instantFeedback:Boolean};var Il=50,js=2*Il,Us=js*Math.PI,Cg=Math.round(Us*1e3)/1e3,Mr=$({name:"QCircularProgress",props:{...ri,value:{type:Number,default:0},animationSpeed:{type:[String,Number],default:600},indeterminate:Boolean},setup(e,{slots:t}){let{proxy:{$q:o}}=U(),r=Dt(e),n=s(()=>{let m=(o.lang.rtl===!0?-1:1)*e.angle;return{transform:e.reverse!==(o.lang.rtl===!0)?`scale3d(-1, 1, 1) rotate3d(0, 0, 1, ${-90-m}deg)`:`rotate3d(0, 0, 1, ${m-90}deg)`}}),a=s(()=>e.instantFeedback!==!0&&e.indeterminate!==!0?{transition:`stroke-dashoffset ${e.animationSpeed}ms ease 0s, stroke ${e.animationSpeed}ms ease`}:""),l=s(()=>js/(1-e.thickness/2)),u=s(()=>`${l.value/2} ${l.value/2} ${l.value} ${l.value}`),d=s(()=>ot(e.value,e.min,e.max)),f=s(()=>e.max-e.min),c=s(()=>e.thickness/2*l.value),h=s(()=>{let m=(e.max-d.value)/f.value,g=e.rounded===!0&&d.value<e.max&&m<.25?c.value/2*(1-m/.25):0;return Us*m+g});function v({thickness:m,offset:g,color:x,cls:y,rounded:k}){return i("circle",{class:"q-circular-progress__"+y+(x!==void 0?` text-${x}`:""),style:a.value,fill:"transparent",stroke:"currentColor","stroke-width":m,"stroke-dasharray":Cg,"stroke-dashoffset":g,"stroke-linecap":k,cx:l.value,cy:l.value,r:Il})}return()=>{let m=[];e.centerColor!==void 0&&e.centerColor!=="transparent"&&m.push(i("circle",{class:`q-circular-progress__center text-${e.centerColor}`,fill:"currentColor",r:Il-c.value/2,cx:l.value,cy:l.value})),e.trackColor!==void 0&&e.trackColor!=="transparent"&&m.push(v({cls:"track",thickness:c.value,offset:0,color:e.trackColor})),m.push(v({cls:"circle",thickness:c.value,offset:h.value,color:e.color,rounded:e.rounded===!0?"round":void 0}));let g=[i("svg",{class:"q-circular-progress__svg",style:n.value,viewBox:u.value,"aria-hidden":"true"},m)];return e.showValue===!0&&g.push(i("div",{class:"q-circular-progress__text absolute-full row flex-center content-center",style:{fontSize:e.fontSize}},t.default!==void 0?t.default():[i("div",d.value)])),i("div",{class:`q-circular-progress q-circular-progress--${e.indeterminate===!0?"in":""}determinate`,style:r.value,role:"progressbar","aria-valuemin":e.min,"aria-valuemax":e.max,"aria-valuenow":e.indeterminate===!0?void 0:d.value},Kn(t.internal,g))}}});function Hl(e,t,o){let r=_t(e),n,a=r.left-t.event.x,l=r.top-t.event.y,u=Math.abs(a),d=Math.abs(l),f=t.direction;f.horizontal===!0&&f.vertical!==!0?n=a<0?"left":"right":f.horizontal!==!0&&f.vertical===!0?n=l<0?"up":"down":f.up===!0&&l<0?(n="up",u>d&&(f.left===!0&&a<0?n="left":f.right===!0&&a>0&&(n="right"))):f.down===!0&&l>0?(n="down",u>d&&(f.left===!0&&a<0?n="left":f.right===!0&&a>0&&(n="right"))):f.left===!0&&a<0?(n="left",u<d&&(f.up===!0&&l<0?n="up":f.down===!0&&l>0&&(n="down"))):f.right===!0&&a>0&&(n="right",u<d&&(f.up===!0&&l<0?n="up":f.down===!0&&l>0&&(n="down")));let c=!1;if(n===void 0&&o===!1){if(t.event.isFirst===!0||t.event.lastDir===void 0)return{};n=t.event.lastDir,c=!0,n==="left"||n==="right"?(r.left-=a,u=0,a=0):(r.top-=l,d=0,l=0)}return{synthetic:c,payload:{evt:e,touch:t.event.mouse!==!0,mouse:t.event.mouse===!0,position:r,direction:n,isFirst:t.event.isFirst,isFinal:o===!0,duration:Date.now()-t.event.time,distance:{x:u,y:d},offset:{x:a,y:l},delta:{x:r.left-t.event.lastX,y:r.top-t.event.lastY}}}}var wg=0,Rt=At({name:"touch-pan",beforeMount(e,{value:t,modifiers:o}){if(o.mouse!==!0&&Re.has.touch!==!0)return;function r(a,l){o.mouse===!0&&l===!0?qe(a):(o.stop===!0&&it(a),o.prevent===!0&&ft(a))}let n={uid:"qvtp_"+wg++,handler:t,modifiers:o,direction:br(o),noop:We,mouseStart(a){yr(a,n)&&Ko(a)&&(dt(n,"temp",[[document,"mousemove","move","notPassiveCapture"],[document,"mouseup","end","passiveCapture"]]),n.start(a,!0))},touchStart(a){if(yr(a,n)){let l=a.target;dt(n,"temp",[[l,"touchmove","move","notPassiveCapture"],[l,"touchcancel","end","passiveCapture"],[l,"touchend","end","passiveCapture"]]),n.start(a)}},start(a,l){if(Re.is.firefox===!0&&Wo(e,!0),n.lastEvt=a,l===!0||o.stop===!0){if(n.direction.all!==!0&&(l!==!0||n.modifiers.mouseAllDir!==!0&&n.modifiers.mousealldir!==!0)){let f=a.type.indexOf("mouse")!==-1?new MouseEvent(a.type,a):new TouchEvent(a.type,a);a.defaultPrevented===!0&&ft(f),a.cancelBubble===!0&&it(f),Object.assign(f,{qKeyEvent:a.qKeyEvent,qClickOutside:a.qClickOutside,qAnchorHandled:a.qAnchorHandled,qClonedBy:a.qClonedBy===void 0?[n.uid]:a.qClonedBy.concat(n.uid)}),n.initialEvent={target:a.target,event:f}}it(a)}let{left:u,top:d}=_t(a);n.event={x:u,y:d,time:Date.now(),mouse:l===!0,detected:!1,isFirst:!0,isFinal:!1,lastX:u,lastY:d}},move(a){if(n.event===void 0)return;let l=_t(a),u=l.left-n.event.x,d=l.top-n.event.y;if(u===0&&d===0)return;n.lastEvt=a;let f=n.event.mouse===!0,c=()=>{r(a,f);let m;o.preserveCursor!==!0&&o.preservecursor!==!0&&(m=document.documentElement.style.cursor||"",document.documentElement.style.cursor="grabbing"),f===!0&&document.body.classList.add("no-pointer-events--children"),document.body.classList.add("non-selectable"),Ot(),n.styleCleanup=g=>{if(n.styleCleanup=void 0,m!==void 0&&(document.documentElement.style.cursor=m),document.body.classList.remove("non-selectable"),f===!0){let x=()=>{document.body.classList.remove("no-pointer-events--children")};g!==void 0?setTimeout(()=>{x(),g()},50):x()}else g!==void 0&&g()}};if(n.event.detected===!0){n.event.isFirst!==!0&&r(a,n.event.mouse);let{payload:m,synthetic:g}=Hl(a,n,!1);m!==void 0&&(n.handler(m)===!1?n.end(a):(n.styleCleanup===void 0&&n.event.isFirst===!0&&c(),n.event.lastX=m.position.left,n.event.lastY=m.position.top,n.event.lastDir=g===!0?void 0:m.direction,n.event.isFirst=!1));return}if(n.direction.all===!0||f===!0&&(n.modifiers.mouseAllDir===!0||n.modifiers.mousealldir===!0)){c(),n.event.detected=!0,n.move(a);return}let h=Math.abs(u),v=Math.abs(d);h!==v&&(n.direction.horizontal===!0&&h>v||n.direction.vertical===!0&&h<v||n.direction.up===!0&&h<v&&d<0||n.direction.down===!0&&h<v&&d>0||n.direction.left===!0&&h>v&&u<0||n.direction.right===!0&&h>v&&u>0?(n.event.detected=!0,n.move(a)):n.end(a,!0))},end(a,l){if(n.event!==void 0){if(qt(n,"temp"),Re.is.firefox===!0&&Wo(e,!1),l===!0)n.styleCleanup!==void 0&&n.styleCleanup(),n.event.detected!==!0&&n.initialEvent!==void 0&&n.initialEvent.target.dispatchEvent(n.initialEvent.event);else if(n.event.detected===!0){n.event.isFirst===!0&&n.handler(Hl(a===void 0?n.lastEvt:a,n).payload);let{payload:u}=Hl(a===void 0?n.lastEvt:a,n,!0),d=()=>{n.handler(u)};n.styleCleanup!==void 0?n.styleCleanup(d):d()}n.event=void 0,n.initialEvent=void 0,n.lastEvt=void 0}}};if(e.__qtouchpan=n,o.mouse===!0){let a=o.mouseCapture===!0||o.mousecapture===!0?"Capture":"";dt(n,"main",[[e,"mousedown","mouseStart",`passive${a}`]])}Re.has.touch===!0&&dt(n,"main",[[e,"touchstart","touchStart",`passive${o.capture===!0?"Capture":""}`],[e,"touchmove","noop","notPassiveCapture"]])},updated(e,t){let o=e.__qtouchpan;o!==void 0&&(t.oldValue!==t.value&&(typeof value!="function"&&o.end(),o.handler=t.value),o.direction=br(t.modifiers))},beforeUnmount(e){let t=e.__qtouchpan;t!==void 0&&(t.event!==void 0&&t.end(),qt(t,"main"),qt(t,"temp"),Re.is.firefox===!0&&Wo(e,!1),t.styleCleanup!==void 0&&t.styleCleanup(),delete e.__qtouchpan)}});var Ks="q-slider__marker-labels",kg=e=>({value:e}),qg=({marker:e})=>i("div",{key:e.value,style:e.style,class:e.classes},e.label),ii=[34,37,40,33,39,38],oa={..._e,...kt,min:{type:Number,default:0},max:{type:Number,default:100},innerMin:Number,innerMax:Number,step:{type:Number,default:1,validator:e=>e>=0},snap:Boolean,vertical:Boolean,reverse:Boolean,hideSelection:Boolean,color:String,markerLabelsClass:String,label:Boolean,labelColor:String,labelTextColor:String,labelAlways:Boolean,switchLabelSide:Boolean,markers:[Boolean,Number],markerLabels:[Boolean,Array,Object,Function],switchMarkerLabelsSide:Boolean,trackImg:String,trackColor:String,innerTrackImg:String,innerTrackColor:String,selectionColor:String,selectionImg:String,thumbSize:{type:String,default:"20px"},trackSize:{type:String,default:"4px"},disable:Boolean,readonly:Boolean,dense:Boolean,tabindex:[String,Number],thumbColor:String,thumbPath:{type:String,default:"M 4, 10 a 6,6 0 1,0 12,0 a 6,6 0 1,0 -12,0"}},na=["pan","update:modelValue","change"];function ra({updateValue:e,updatePosition:t,getDragging:o,formAttrs:r}){let{props:n,emit:a,slots:l,proxy:{$q:u}}=U(),d=Ce(n,u),f=Xt(r),c=q(!1),h=q(!1),v=q(!1),m=q(!1),g=s(()=>n.vertical===!0?"--v":"--h"),x=s(()=>"-"+(n.switchLabelSide===!0?"switched":"standard")),y=s(()=>n.vertical===!0?n.reverse===!0:n.reverse!==(u.lang.rtl===!0)),k=s(()=>isNaN(n.innerMin)===!0||n.innerMin<n.min?n.min:n.innerMin),S=s(()=>isNaN(n.innerMax)===!0||n.innerMax>n.max?n.max:n.innerMax),b=s(()=>n.disable!==!0&&n.readonly!==!0&&k.value<S.value),p=s(()=>{if(n.step===0)return ie=>ie;let Z=(String(n.step).trim().split(".")[1]||"").length;return ie=>parseFloat(ie.toFixed(Z))}),_=s(()=>n.step===0?1:n.step),E=s(()=>b.value===!0?n.tabindex||0:-1),L=s(()=>n.max-n.min),V=s(()=>S.value-k.value),F=s(()=>Me(k.value)),B=s(()=>Me(S.value)),D=s(()=>n.vertical===!0?y.value===!0?"bottom":"top":y.value===!0?"right":"left"),R=s(()=>n.vertical===!0?"height":"width"),C=s(()=>n.vertical===!0?"width":"height"),M=s(()=>n.vertical===!0?"vertical":"horizontal"),X=s(()=>{let Z={role:"slider","aria-valuemin":k.value,"aria-valuemax":S.value,"aria-orientation":M.value,"data-step":n.step};return n.disable===!0?Z["aria-disabled"]="true":n.readonly===!0&&(Z["aria-readonly"]="true"),Z}),Y=s(()=>`q-slider q-slider${g.value} q-slider--${c.value===!0?"":"in"}active inline no-wrap `+(n.vertical===!0?"row":"column")+(n.disable===!0?" disabled":" q-slider--enabled"+(b.value===!0?" q-slider--editable":""))+(v.value==="both"?" q-slider--focus":"")+(n.label||n.labelAlways===!0?" q-slider--label":"")+(n.labelAlways===!0?" q-slider--label-always":"")+(d.value===!0?" q-slider--dark":"")+(n.dense===!0?" q-slider--dense q-slider--dense"+g.value:""));function T(Z){let ie="q-slider__"+Z;return`${ie} ${ie}${g.value} ${ie}${g.value}${x.value}`}function j(Z){let ie="q-slider__"+Z;return`${ie} ${ie}${g.value}`}let J=s(()=>{let Z=n.selectionColor||n.color;return"q-slider__selection absolute"+(Z!==void 0?` text-${Z}`:"")}),ce=s(()=>j("markers")+" absolute overflow-hidden"),I=s(()=>j("track-container")),w=s(()=>T("pin")),K=s(()=>T("label")),N=s(()=>T("text-container")),le=s(()=>T("marker-labels-container")+(n.markerLabelsClass!==void 0?` ${n.markerLabelsClass}`:"")),P=s(()=>"q-slider__track relative-position no-outline"+(n.trackColor!==void 0?` bg-${n.trackColor}`:"")),O=s(()=>{let Z={[C.value]:n.trackSize};return n.trackImg!==void 0&&(Z.backgroundImage=`url(${n.trackImg}) !important`),Z}),ae=s(()=>"q-slider__inner absolute"+(n.innerTrackColor!==void 0?` bg-${n.innerTrackColor}`:"")),H=s(()=>{let Z=B.value-F.value,ie={[D.value]:`${100*F.value}%`,[R.value]:Z===0?"2px":`${100*Z}%`};return n.innerTrackImg!==void 0&&(ie.backgroundImage=`url(${n.innerTrackImg}) !important`),ie});function me(Z){let{min:ie,max:Ae,step:Ue}=n,ke=ie+Z*(Ae-ie);if(Ue>0){let tt=(ke-k.value)%Ue;ke+=(Math.abs(tt)>=Ue/2?(tt<0?-1:1)*Ue:0)-tt}return ke=p.value(ke),ot(ke,k.value,S.value)}function Me(Z){return L.value===0?0:(Z-n.min)/L.value}function G(Z,ie){let Ae=_t(Z),Ue=n.vertical===!0?ot((Ae.top-ie.top)/ie.height,0,1):ot((Ae.left-ie.left)/ie.width,0,1);return ot(y.value===!0?1-Ue:Ue,F.value,B.value)}let de=s(()=>co(n.markers)===!0?n.markers:_.value),ge=s(()=>{let Z=[],ie=de.value,Ae=n.max,Ue=n.min;do Z.push(Ue),Ue+=ie;while(Ue<Ae);return Z.push(Ae),Z}),we=s(()=>{let Z=` ${Ks}${g.value}-`;return Ks+`${Z}${n.switchMarkerLabelsSide===!0?"switched":"standard"}${Z}${y.value===!0?"rtl":"ltr"}`}),Le=s(()=>n.markerLabels===!1?null:He(n.markerLabels).map((Z,ie)=>({index:ie,value:Z.value,label:Z.label||Z.value,classes:we.value+(Z.classes!==void 0?" "+Z.classes:""),style:{...Qe(Z.value),...Z.style||{}}}))),fe=s(()=>({markerList:Le.value,markerMap:ue.value,classes:we.value,getStyle:Qe})),Fe=s(()=>{let Z=V.value===0?"2px":100*de.value/V.value;return{...H.value,backgroundSize:n.vertical===!0?`2px ${Z}%`:`${Z}% 2px`}});function He(Z){if(Z===!1)return null;if(Z===!0)return ge.value.map(kg);if(typeof Z=="function")return ge.value.map(Ae=>{let Ue=Z(Ae);return ct(Ue)===!0?{...Ue,value:Ae}:{value:Ae,label:Ue}});let ie=({value:Ae})=>Ae>=n.min&&Ae<=n.max;return Array.isArray(Z)===!0?Z.map(Ae=>ct(Ae)===!0?Ae:{value:Ae}).filter(ie):Object.keys(Z).map(Ae=>{let Ue=Z[Ae],ke=Number(Ae);return ct(Ue)===!0?{...Ue,value:ke}:{value:ke,label:Ue}}).filter(ie)}function Qe(Z){return{[D.value]:`${100*(Z-n.min)/L.value}%`}}let ue=s(()=>{if(n.markerLabels===!1)return null;let Z={};return Le.value.forEach(ie=>{Z[ie.value]=ie}),Z});function ve(){if(l["marker-label-group"]!==void 0)return l["marker-label-group"](fe.value);let Z=l["marker-label"]||qg;return Le.value.map(ie=>Z({marker:ie,...fe.value}))}let ee=s(()=>[[Rt,be,void 0,{[M.value]:!0,prevent:!0,stop:!0,mouse:!0,mouseAllDir:!0}]]);function be(Z){Z.isFinal===!0?(m.value!==void 0&&(t(Z.evt),Z.touch===!0&&e(!0),m.value=void 0,a("pan","end")),c.value=!1,v.value=!1):Z.isFirst===!0?(m.value=o(Z.evt),t(Z.evt),e(),c.value=!0,a("pan","start")):(t(Z.evt),e())}function De(){v.value=!1}function ze(Z){t(Z,o(Z)),e(),h.value=!0,c.value=!0,document.addEventListener("mouseup",Ve,!0)}function Ve(){h.value=!1,c.value=!1,e(!0),De(),document.removeEventListener("mouseup",Ve,!0)}function at(Z){t(Z,o(Z)),e(!0)}function mt(Z){ii.includes(Z.keyCode)&&e(!0)}function vt(Z){if(n.vertical===!0)return null;let ie=u.lang.rtl!==n.reverse?1-Z:Z;return{transform:`translateX(calc(${2*ie-1} * ${n.thumbSize} / 2 + ${50-100*ie}%))`}}function oe(Z){let ie=s(()=>h.value===!1&&(v.value===Z.focusValue||v.value==="both")?" q-slider--focus":""),Ae=s(()=>`q-slider__thumb q-slider__thumb${g.value} q-slider__thumb${g.value}-${y.value===!0?"rtl":"ltr"} absolute non-selectable`+ie.value+(Z.thumbColor.value!==void 0?` text-${Z.thumbColor.value}`:"")),Ue=s(()=>({width:n.thumbSize,height:n.thumbSize,[D.value]:`${100*Z.ratio.value}%`,zIndex:v.value===Z.focusValue?2:void 0})),ke=s(()=>Z.labelColor.value!==void 0?` text-${Z.labelColor.value}`:""),tt=s(()=>vt(Z.ratio.value)),pt=s(()=>"q-slider__text"+(Z.labelTextColor.value!==void 0?` text-${Z.labelTextColor.value}`:""));return()=>{let yt=[i("svg",{class:"q-slider__thumb-shape absolute-full",viewBox:"0 0 20 20","aria-hidden":"true"},[i("path",{d:n.thumbPath})]),i("div",{class:"q-slider__focus-ring fit"})];return(n.label===!0||n.labelAlways===!0)&&(yt.push(i("div",{class:w.value+" absolute fit no-pointer-events"+ke.value},[i("div",{class:K.value,style:{minWidth:n.thumbSize}},[i("div",{class:N.value,style:tt.value},[i("span",{class:pt.value},Z.label.value)])])])),n.name!==void 0&&n.disable!==!0&&f(yt,"push")),i("div",{class:Ae.value,style:Ue.value,...Z.getNodeData()},yt)}}function se(Z,ie,Ae,Ue){let ke=[];n.innerTrackColor!=="transparent"&&ke.push(i("div",{key:"inner",class:ae.value,style:H.value})),n.selectionColor!=="transparent"&&ke.push(i("div",{key:"selection",class:J.value,style:Z.value})),n.markers!==!1&&ke.push(i("div",{key:"marker",class:ce.value,style:Fe.value})),Ue(ke);let tt=[Mt("div",{key:"trackC",class:I.value,tabindex:ie.value,...Ae.value},[i("div",{class:P.value,style:O.value},ke)],"slide",b.value,()=>ee.value)];if(n.markerLabels!==!1){let pt=n.switchMarkerLabelsSide===!0?"unshift":"push";tt[pt](i("div",{key:"markerL",class:le.value},ve()))}return tt}return Se(()=>{document.removeEventListener("mouseup",Ve,!0)}),{state:{active:c,focus:v,preventFocus:h,dragging:m,editable:b,classes:Y,tabindex:E,attributes:X,roundValueFn:p,keyStep:_,trackLen:L,innerMin:k,innerMinRatio:F,innerMax:S,innerMaxRatio:B,positionProp:D,sizeProp:R,isReversed:y},methods:{onActivate:ze,onMobileClick:at,onBlur:De,onKeyup:mt,getContent:se,getThumbRenderFn:oe,convertRatioToModel:me,convertModelToRatio:Me,getDraggingRatio:G}}}var Tg=()=>({}),Zo=$({name:"QSlider",props:{...oa,modelValue:{required:!0,default:null,validator:e=>typeof e=="number"||e===null},labelValue:[String,Number]},emits:na,setup(e,{emit:t}){let{proxy:{$q:o}}=U(),{state:r,methods:n}=ra({updateValue:g,updatePosition:y,getDragging:x,formAttrs:Vo(e)}),a=q(null),l=q(0),u=q(0);function d(){u.value=e.modelValue===null?r.innerMin.value:ot(e.modelValue,r.innerMin.value,r.innerMax.value)}W(()=>`${e.modelValue}|${r.innerMin.value}|${r.innerMax.value}`,d),d();let f=s(()=>n.convertModelToRatio(u.value)),c=s(()=>r.active.value===!0?l.value:f.value),h=s(()=>{let b={[r.positionProp.value]:`${100*r.innerMinRatio.value}%`,[r.sizeProp.value]:`${100*(c.value-r.innerMinRatio.value)}%`};return e.selectionImg!==void 0&&(b.backgroundImage=`url(${e.selectionImg}) !important`),b}),v=n.getThumbRenderFn({focusValue:!0,getNodeData:Tg,ratio:c,label:s(()=>e.labelValue!==void 0?e.labelValue:u.value),thumbColor:s(()=>e.thumbColor||e.color),labelColor:s(()=>e.labelColor),labelTextColor:s(()=>e.labelTextColor)}),m=s(()=>r.editable.value!==!0?{}:o.platform.is.mobile===!0?{onClick:n.onMobileClick}:{onMousedown:n.onActivate,onFocus:k,onBlur:n.onBlur,onKeydown:S,onKeyup:n.onKeyup});function g(b){u.value!==e.modelValue&&t("update:modelValue",u.value),b===!0&&t("change",u.value)}function x(){return a.value.getBoundingClientRect()}function y(b,p=r.dragging.value){let _=n.getDraggingRatio(b,p);u.value=n.convertRatioToModel(_),l.value=e.snap!==!0||e.step===0?_:n.convertModelToRatio(u.value)}function k(){r.focus.value=!0}function S(b){if(!ii.includes(b.keyCode))return;qe(b);let p=([34,33].includes(b.keyCode)?10:1)*r.keyStep.value,_=([34,37,40].includes(b.keyCode)?-1:1)*(r.isReversed.value===!0?-1:1)*(e.vertical===!0?-1:1)*p;u.value=ot(r.roundValueFn.value(u.value+_),r.innerMin.value,r.innerMax.value),g()}return()=>{let b=n.getContent(h,r.tabindex,m,p=>{p.push(v())});return i("div",{ref:a,class:r.classes.value+(e.modelValue===null?" q-slider--no-value":""),...r.attributes.value,"aria-valuenow":e.modelValue},b)}}});function Rr(){let e=q(!xt.value);return e.value===!1&&Ne(()=>{e.value=!0}),{isHydrated:e}}var Ys=typeof ResizeObserver<"u",Ws=Ys===!0?{}:{style:"display:block;position:absolute;top:0;left:0;right:0;bottom:0;height:100%;width:100%;overflow:hidden;pointer-events:none;z-index:-1;",url:"about:blank"},to=$({name:"QResizeObserver",props:{debounce:{type:[String,Number],default:100}},emits:["resize"],setup(e,{emit:t}){let o=null,r,n={width:-1,height:-1};function a(d){d===!0||e.debounce===0||e.debounce==="0"?l():o===null&&(o=setTimeout(l,e.debounce))}function l(){if(o!==null&&(clearTimeout(o),o=null),r){let{offsetWidth:d,offsetHeight:f}=r;(d!==n.width||f!==n.height)&&(n={width:d,height:f},t("resize",n))}}let{proxy:u}=U();if(u.trigger=a,Ys===!0){let d,f=c=>{r=u.$el.parentNode,r?(d=new ResizeObserver(a),d.observe(r),l()):c!==!0&&$e(()=>{f(!0)})};return Ne(()=>{f()}),Se(()=>{o!==null&&clearTimeout(o),d!==void 0&&(d.disconnect!==void 0?d.disconnect():r&&d.unobserve(r))}),We}else{let c=function(){o!==null&&(clearTimeout(o),o=null),f!==void 0&&(f.removeEventListener!==void 0&&f.removeEventListener("resize",a,et.passive),f=void 0)},h=function(){c(),r&&r.contentDocument&&(f=r.contentDocument.defaultView,f.addEventListener("resize",a,et.passive),l())},{isHydrated:d}=Rr(),f;return Ne(()=>{$e(()=>{r=u.$el,r&&h()})}),Se(c),()=>{if(d.value===!0)return i("object",{class:"q--avoid-card-border",style:Ws.style,tabindex:-1,type:"text/html",data:Ws.url,"aria-hidden":"true",onLoad:h})}}}});var An=!1;{let e=document.createElement("div");e.setAttribute("dir","rtl"),Object.assign(e.style,{width:"1px",height:"1px",overflow:"auto"});let t=document.createElement("div");Object.assign(t.style,{width:"1000px",height:"1px"}),document.body.appendChild(e),e.appendChild(t),e.scrollLeft=-1e3,An=e.scrollLeft>=0,e.remove()}function Mg(e,t,o){let r=o===!0?["left","right"]:["top","bottom"];return`absolute-${t===!0?r[0]:r[1]}${e?` text-${e}`:""}`}var Rg=["left","center","right","justify"],ai=$({name:"QTabs",props:{modelValue:[Number,String],align:{type:String,default:"center",validator:e=>Rg.includes(e)},breakpoint:{type:[String,Number],default:600},vertical:Boolean,shrink:Boolean,stretch:Boolean,activeClass:String,activeColor:String,activeBgColor:String,indicatorColor:String,leftIcon:String,rightIcon:String,outsideArrows:Boolean,mobileArrows:Boolean,switchIndicator:Boolean,narrowIndicator:Boolean,inlineLabel:Boolean,noCaps:Boolean,dense:Boolean,contentClass:String,"onUpdate:modelValue":[Function,Array]},setup(e,{slots:t,emit:o}){let{proxy:r}=U(),{$q:n}=r,{registerTick:a}=po(),{registerTick:l}=po(),{registerTick:u}=po(),{registerTimeout:d,removeTimeout:f}=Yt(),{registerTimeout:c,removeTimeout:h}=Yt(),v=q(null),m=q(null),g=q(e.modelValue),x=q(!1),y=q(!0),k=q(!1),S=q(!1),b=[],p=q(0),_=q(!1),E=null,L=null,V,F=s(()=>({activeClass:e.activeClass,activeColor:e.activeColor,activeBgColor:e.activeBgColor,indicatorClass:Mg(e.indicatorColor,e.switchIndicator,e.vertical),narrowIndicator:e.narrowIndicator,inlineLabel:e.inlineLabel,noCaps:e.noCaps})),B=s(()=>{let ue=p.value,ve=g.value;for(let ee=0;ee<ue;ee++)if(b[ee].name.value===ve)return!0;return!1}),D=s(()=>`q-tabs__content--align-${x.value===!0?"left":S.value===!0?"justify":e.align}`),R=s(()=>`q-tabs row no-wrap items-center q-tabs--${x.value===!0?"":"not-"}scrollable q-tabs--${e.vertical===!0?"vertical":"horizontal"} q-tabs__arrows--${e.outsideArrows===!0?"outside":"inside"} q-tabs--mobile-with${e.mobileArrows===!0?"":"out"}-arrows`+(e.dense===!0?" q-tabs--dense":"")+(e.shrink===!0?" col-shrink":"")+(e.stretch===!0?" self-stretch":"")),C=s(()=>"q-tabs__content scroll--mobile row no-wrap items-center self-stretch hide-scrollbar relative-position "+D.value+(e.contentClass!==void 0?` ${e.contentClass}`:"")),M=s(()=>e.vertical===!0?{container:"height",content:"offsetHeight",scroll:"scrollHeight"}:{container:"width",content:"offsetWidth",scroll:"scrollWidth"}),X=s(()=>e.vertical!==!0&&n.lang.rtl===!0),Y=s(()=>An===!1&&X.value===!0);W(X,w),W(()=>e.modelValue,ue=>{T({name:ue,setCurrent:!0,skipEmit:!0})}),W(()=>e.outsideArrows,j);function T({name:ue,setCurrent:ve,skipEmit:ee}){g.value!==ue&&(ee!==!0&&e["onUpdate:modelValue"]!==void 0&&o("update:modelValue",ue),(ve===!0||e["onUpdate:modelValue"]===void 0)&&(ce(g.value,ue),g.value=ue))}function j(){a(()=>{J({width:v.value.offsetWidth,height:v.value.offsetHeight})})}function J(ue){if(M.value===void 0||m.value===null)return;let ve=ue[M.value.container],ee=Math.min(m.value[M.value.scroll],Array.prototype.reduce.call(m.value.children,(De,ze)=>De+(ze[M.value.content]||0),0)),be=ve>0&&ee>ve;x.value=be,be===!0&&l(w),S.value=ve<parseInt(e.breakpoint,10)}function ce(ue,ve){let ee=ue!=null&&ue!==""?b.find(De=>De.name.value===ue):null,be=ve!=null&&ve!==""?b.find(De=>De.name.value===ve):null;if(ee&&be){let De=ee.tabIndicatorRef.value,ze=be.tabIndicatorRef.value;E!==null&&(clearTimeout(E),E=null),De.style.transition="none",De.style.transform="none",ze.style.transition="none",ze.style.transform="none";let Ve=De.getBoundingClientRect(),at=ze.getBoundingClientRect();ze.style.transform=e.vertical===!0?`translate3d(0,${Ve.top-at.top}px,0) scale3d(1,${at.height?Ve.height/at.height:1},1)`:`translate3d(${Ve.left-at.left}px,0,0) scale3d(${at.width?Ve.width/at.width:1},1,1)`,u(()=>{E=setTimeout(()=>{E=null,ze.style.transition="transform .25s cubic-bezier(.4, 0, .2, 1)",ze.style.transform="none"},70)})}be&&x.value===!0&&I(be.rootRef.value)}function I(ue){let{left:ve,width:ee,top:be,height:De}=m.value.getBoundingClientRect(),ze=ue.getBoundingClientRect(),Ve=e.vertical===!0?ze.top-be:ze.left-ve;if(Ve<0){m.value[e.vertical===!0?"scrollTop":"scrollLeft"]+=Math.floor(Ve),w();return}Ve+=e.vertical===!0?ze.height-De:ze.width-ee,Ve>0&&(m.value[e.vertical===!0?"scrollTop":"scrollLeft"]+=Math.ceil(Ve),w())}function w(){let ue=m.value;if(ue===null)return;let ve=ue.getBoundingClientRect(),ee=e.vertical===!0?ue.scrollTop:Math.abs(ue.scrollLeft);X.value===!0?(y.value=Math.ceil(ee+ve.width)<ue.scrollWidth-1,k.value=ee>0):(y.value=ee>0,k.value=e.vertical===!0?Math.ceil(ee+ve.height)<ue.scrollHeight:Math.ceil(ee+ve.width)<ue.scrollWidth)}function K(ue){L!==null&&clearInterval(L),L=setInterval(()=>{H(ue)===!0&&P()},5)}function N(){K(Y.value===!0?Number.MAX_SAFE_INTEGER:0)}function le(){K(Y.value===!0?0:Number.MAX_SAFE_INTEGER)}function P(){L!==null&&(clearInterval(L),L=null)}function O(ue,ve){let ee=Array.prototype.filter.call(m.value.children,at=>at===ve||at.matches&&at.matches(".q-tab.q-focusable")===!0),be=ee.length;if(be===0)return;if(ue===36)return I(ee[0]),ee[0].focus(),!0;if(ue===35)return I(ee[be-1]),ee[be-1].focus(),!0;let De=ue===(e.vertical===!0?38:37),ze=ue===(e.vertical===!0?40:39),Ve=De===!0?-1:ze===!0?1:void 0;if(Ve!==void 0){let at=X.value===!0?-1:1,mt=ee.indexOf(ve)+Ve*at;return mt>=0&&mt<be&&(I(ee[mt]),ee[mt].focus({preventScroll:!0})),!0}}let ae=s(()=>Y.value===!0?{get:ue=>Math.abs(ue.scrollLeft),set:(ue,ve)=>{ue.scrollLeft=-ve}}:e.vertical===!0?{get:ue=>ue.scrollTop,set:(ue,ve)=>{ue.scrollTop=ve}}:{get:ue=>ue.scrollLeft,set:(ue,ve)=>{ue.scrollLeft=ve}});function H(ue){let ve=m.value,{get:ee,set:be}=ae.value,De=!1,ze=ee(ve),Ve=ue<ze?-1:1;return ze+=Ve*5,ze<0?(De=!0,ze=0):(Ve===-1&&ze<=ue||Ve===1&&ze>=ue)&&(De=!0,ze=ue),be(ve,ze),w(),De}function me(ue,ve){for(let ee in ue)if(ue[ee]!==ve[ee])return!1;return!0}function Me(){let ue=null,ve={matchedLen:0,queryDiff:9999,hrefLen:0},ee=b.filter(Ve=>Ve.routeData!==void 0&&Ve.routeData.hasRouterLink.value===!0),{hash:be,query:De}=r.$route,ze=Object.keys(De).length;for(let Ve of ee){let at=Ve.routeData.exact.value===!0;if(Ve.routeData[at===!0?"linkIsExactActive":"linkIsActive"].value!==!0)continue;let{hash:mt,query:vt,matched:oe,href:se}=Ve.routeData.resolvedLink.value,Z=Object.keys(vt).length;if(at===!0){if(mt!==be||Z!==ze||me(De,vt)===!1)continue;ue=Ve.name.value;break}if(mt!==""&&mt!==be||Z!==0&&me(vt,De)===!1)continue;let ie={matchedLen:oe.length,queryDiff:ze-Z,hrefLen:se.length-mt.length};if(ie.matchedLen>ve.matchedLen){ue=Ve.name.value,ve=ie;continue}else if(ie.matchedLen!==ve.matchedLen)continue;if(ie.queryDiff<ve.queryDiff)ue=Ve.name.value,ve=ie;else if(ie.queryDiff!==ve.queryDiff)continue;ie.hrefLen>ve.hrefLen&&(ue=Ve.name.value,ve=ie)}ue===null&&b.some(Ve=>Ve.routeData===void 0&&Ve.name.value===g.value)===!0||T({name:ue,setCurrent:!0})}function G(ue){if(f(),_.value!==!0&&v.value!==null&&ue.target&&typeof ue.target.closest=="function"){let ve=ue.target.closest(".q-tab");ve&&v.value.contains(ve)===!0&&(_.value=!0,x.value===!0&&I(ve))}}function de(){d(()=>{_.value=!1},30)}function ge(){Fe.avoidRouteWatcher===!1?c(Me):h()}function we(){if(V===void 0){let ue=W(()=>r.$route.fullPath,ge);V=()=>{ue(),V=void 0}}}function Le(ue){b.push(ue),p.value++,j(),ue.routeData===void 0||r.$route===void 0?c(()=>{if(x.value===!0){let ve=g.value,ee=ve!=null&&ve!==""?b.find(be=>be.name.value===ve):null;ee&&I(ee.rootRef.value)}}):(we(),ue.routeData.hasRouterLink.value===!0&&ge())}function fe(ue){b.splice(b.indexOf(ue),1),p.value--,j(),V!==void 0&&ue.routeData!==void 0&&(b.every(ve=>ve.routeData===void 0)===!0&&V(),ge())}let Fe={currentModel:g,tabProps:F,hasFocus:_,hasActiveTab:B,registerTab:Le,unregisterTab:fe,verifyRouteModel:ge,updateModel:T,onKbdNavigate:O,avoidRouteWatcher:!1};Nt(Ai,Fe);function He(){E!==null&&clearTimeout(E),P(),V!==void 0&&V()}let Qe;return Se(He),Pt(()=>{Qe=V!==void 0,He()}),Qt(()=>{Qe===!0&&we(),j()}),()=>i("div",{ref:v,class:R.value,role:"tablist",onFocusin:G,onFocusout:de},[i(to,{onResize:J}),i("div",{ref:m,class:C.value,onScroll:w},re(t.default)),i(Pe,{class:"q-tabs__arrow q-tabs__arrow--left absolute q-tab__icon"+(y.value===!0?"":" q-tabs__arrow--faded"),name:e.leftIcon||n.iconSet.tabs[e.vertical===!0?"up":"left"],onMousedownPassive:N,onTouchstartPassive:N,onMouseupPassive:P,onMouseleavePassive:P,onTouchendPassive:P}),i(Pe,{class:"q-tabs__arrow q-tabs__arrow--right absolute q-tab__icon"+(k.value===!0?"":" q-tabs__arrow--faded"),name:e.rightIcon||n.iconSet.tabs[e.vertical===!0?"down":"right"],onMousedownPassive:le,onTouchstartPassive:le,onMouseupPassive:P,onMouseleavePassive:P,onTouchendPassive:P})])}});var Pg=0,ia=["click","keydown"],aa={icon:String,label:[Number,String],alert:[Boolean,String],alertIcon:String,name:{type:[Number,String],default:()=>`t_${Pg++}`},noCaps:Boolean,tabindex:[String,Number],disable:Boolean,contentClass:String,ripple:{type:[Boolean,Object],default:!0}};function la(e,t,o,r){let n=ht(Ai,Je);if(n===Je)return console.error("QTab/QRouteTab component needs to be child of QTabs"),Je;let{proxy:a}=U(),l=q(null),u=q(null),d=q(null),f=s(()=>e.disable===!0||e.ripple===!1?!1:Object.assign({keyCodes:[13,32],early:!0},e.ripple===!0?{}:e.ripple)),c=s(()=>n.currentModel.value===e.name),h=s(()=>"q-tab relative-position self-stretch flex flex-center text-center"+(c.value===!0?" q-tab--active"+(n.tabProps.value.activeClass?" "+n.tabProps.value.activeClass:"")+(n.tabProps.value.activeColor?` text-${n.tabProps.value.activeColor}`:"")+(n.tabProps.value.activeBgColor?` bg-${n.tabProps.value.activeBgColor}`:""):" q-tab--inactive")+(e.icon&&e.label&&n.tabProps.value.inlineLabel===!1?" q-tab--full":"")+(e.noCaps===!0||n.tabProps.value.noCaps===!0?" q-tab--no-caps":"")+(e.disable===!0?" disabled":" q-focusable q-hoverable cursor-pointer")+(r!==void 0?r.linkClass.value:"")),v=s(()=>"q-tab__content self-stretch flex-center relative-position q-anchor--skip non-selectable "+(n.tabProps.value.inlineLabel===!0?"row no-wrap q-tab__content--inline":"column")+(e.contentClass!==void 0?` ${e.contentClass}`:"")),m=s(()=>e.disable===!0||n.hasFocus.value===!0||c.value===!1&&n.hasActiveTab.value===!0?-1:e.tabindex||0);function g(b,p){if(p!==!0&&l.value!==null&&l.value.focus(),e.disable===!0){r!==void 0&&r.hasRouterLink.value===!0&&qe(b);return}if(r===void 0){n.updateModel({name:e.name}),o("click",b);return}if(r.hasRouterLink.value===!0){let _=(E={})=>{let L,V=E.to===void 0||Kt(E.to,e.to)===!0?n.avoidRouteWatcher=Fo():null;return r.navigateToRouterLink(b,{...E,returnRouterError:!0}).catch(F=>{L=F}).then(F=>{if(V===n.avoidRouteWatcher&&(n.avoidRouteWatcher=!1,L===void 0&&(F===void 0||F.message!==void 0&&F.message.startsWith("Avoided redundant navigation")===!0)&&n.updateModel({name:e.name})),E.returnRouterError===!0)return L!==void 0?Promise.reject(L):F})};o("click",b,_),b.defaultPrevented!==!0&&_();return}o("click",b)}function x(b){Tt(b,[13,32])?g(b,!0):no(b)!==!0&&b.keyCode>=35&&b.keyCode<=40&&b.altKey!==!0&&b.metaKey!==!0&&n.onKbdNavigate(b.keyCode,a.$el)===!0&&qe(b),o("keydown",b)}function y(){let b=n.tabProps.value.narrowIndicator,p=[],_=i("div",{ref:d,class:["q-tab__indicator",n.tabProps.value.indicatorClass]});e.icon!==void 0&&p.push(i(Pe,{class:"q-tab__icon",name:e.icon})),e.label!==void 0&&p.push(i("div",{class:"q-tab__label"},e.label)),e.alert!==!1&&p.push(e.alertIcon!==void 0?i(Pe,{class:"q-tab__alert-icon",color:e.alert!==!0?e.alert:void 0,name:e.alertIcon}):i("div",{class:"q-tab__alert"+(e.alert!==!0?` text-${e.alert}`:"")})),b===!0&&p.push(_);let E=[i("div",{class:"q-focus-helper",tabindex:-1,ref:l}),i("div",{class:v.value},Ge(t.default,p))];return b===!1&&E.push(_),E}let k={name:s(()=>e.name),rootRef:u,tabIndicatorRef:d,routeData:r};Se(()=>{n.unregisterTab(k)}),Ne(()=>{n.registerTab(k)});function S(b,p){let _={ref:u,class:h.value,tabindex:m.value,role:"tab","aria-selected":c.value===!0?"true":"false","aria-disabled":e.disable===!0?"true":void 0,onClick:g,onKeydown:x,...p};return Et(i(b,_,y()),[[Ao,f.value]])}return{renderTab:S,$tabs:n}}var cn=$({name:"QTab",props:aa,emits:ia,setup(e,{slots:t,emit:o}){let{renderTab:r}=la(e,t,o);return()=>r("div")}});var ua=$({name:"QTabPanels",props:{...xr,..._e},emits:_r,setup(e,{slots:t}){let o=U(),r=Ce(e,o.proxy.$q),{updatePanelsList:n,getPanelContent:a,panelDirectives:l}=Cr(),u=s(()=>"q-tab-panels q-panel-parent"+(r.value===!0?" q-tab-panels--dark q-dark":""));return()=>(n(t),Mt("div",{class:u.value},a(),"pan",e.swipeable,()=>l.value))}});var Pr=$({name:"QTabPanel",props:Sr,setup(e,{slots:t}){return()=>i("div",{class:"q-tab-panel",role:"tabpanel"},re(t.default))}});var Xs=/^#[0-9a-fA-F]{3}([0-9a-fA-F]{3})?$/,Gs=/^#[0-9a-fA-F]{4}([0-9a-fA-F]{4})?$/,Zs=/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/,sa=/^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])\)$/,ca=/^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)\)$/,$n={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=>Xs.test(e),hexaColor:e=>Gs.test(e),hexOrHexaColor:e=>Zs.test(e),rgbColor:e=>sa.test(e),rgbaColor:e=>ca.test(e),rgbOrRgbaColor:e=>sa.test(e)||ca.test(e),hexOrRgbColor:e=>Xs.test(e)||sa.test(e),hexaOrRgbaColor:e=>Gs.test(e)||ca.test(e),anyColor:e=>Zs.test(e)||sa.test(e)||ca.test(e)},Js={testPattern:$n};var Ag=/^rgb(a)?\((\d{1,3}),(\d{1,3}),(\d{1,3}),?([01]?\.?\d*?)?\)$/;function En({r:e,g:t,b:o,a:r}){let n=r!==void 0;if(e=Math.round(e),t=Math.round(t),o=Math.round(o),e>255||t>255||o>255||n&&r>100)throw new TypeError("Expected 3 numbers below 256 (and optionally one below 100)");return r=n?(Math.round(255*r/100)|256).toString(16).slice(1):"","#"+(o|t<<8|e<<16|1<<24).toString(16).slice(1)+r}function Ql({r:e,g:t,b:o,a:r}){return`rgb${r!==void 0?"a":""}(${e},${t},${o}${r!==void 0?","+r/100:""})`}function da(e){if(typeof e!="string")throw new TypeError("Expected a string");e=e.replace(/^#/,""),e.length===3?e=e[0]+e[0]+e[1]+e[1]+e[2]+e[2]:e.length===4&&(e=e[0]+e[0]+e[1]+e[1]+e[2]+e[2]+e[3]+e[3]);let t=parseInt(e,16);return e.length>6?{r:t>>24&255,g:t>>16&255,b:t>>8&255,a:Math.round((t&255)/2.55)}:{r:t>>16,g:t>>8&255,b:t&255}}function fa({h:e,s:t,v:o,a:r}){let n,a,l;t=t/100,o=o/100,e=e/360;let u=Math.floor(e*6),d=e*6-u,f=o*(1-t),c=o*(1-d*t),h=o*(1-(1-d)*t);switch(u%6){case 0:n=o,a=h,l=f;break;case 1:n=c,a=o,l=f;break;case 2:n=f,a=o,l=h;break;case 3:n=f,a=c,l=o;break;case 4:n=h,a=f,l=o;break;case 5:n=o,a=f,l=c;break}return{r:Math.round(n*255),g:Math.round(a*255),b:Math.round(l*255),a:r}}function li({r:e,g:t,b:o,a:r}){let n=Math.max(e,t,o),a=Math.min(e,t,o),l=n-a,u=n===0?0:l/n,d=n/255,f;switch(n){case a:f=0;break;case e:f=t-o+l*(t<o?6:0),f/=6*l;break;case t:f=o-e+l*2,f/=6*l;break;case o:f=e-t+l*4,f/=6*l;break}return{h:Math.round(f*360),s:Math.round(u*100),v:Math.round(d*100),a:r}}function Oo(e){if(typeof e!="string")throw new TypeError("Expected a string");let t=e.replace(/ /g,""),o=Ag.exec(t);if(o===null)return da(t);let r={r:Math.min(255,parseInt(o[2],10)),g:Math.min(255,parseInt(o[3],10)),b:Math.min(255,parseInt(o[4],10))};if(o[1]){let n=parseFloat(o[5]);r.a=Math.min(1,isNaN(n)===!0?1:n)*100}return r}function $g(e,t){if(typeof e!="string")throw new TypeError("Expected a string as color");if(typeof t!="number")throw new TypeError("Expected a numeric percent");let o=Oo(e),r=t<0?0:255,n=Math.abs(t)/100,a=o.r,l=o.g,u=o.b;return"#"+(16777216+(Math.round((r-a)*n)+a)*65536+(Math.round((r-l)*n)+l)*256+(Math.round((r-u)*n)+u)).toString(16).slice(1)}function Nl(e){if(typeof e!="string"&&(!e||e.r===void 0))throw new TypeError("Expected a string or a {r, g, b} object as color");let t=typeof e=="string"?Oo(e):e,o=t.r/255,r=t.g/255,n=t.b/255,a=o<=.03928?o/12.92:Math.pow((o+.055)/1.055,2.4),l=r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4),u=n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4);return .2126*a+.7152*l+.0722*u}function Eg(e){if(typeof e!="string"&&(!e||e.r===void 0))throw new TypeError("Expected a string or a {r, g, b} object as color");let t=typeof e=="string"?Oo(e):e;return(t.r*299+t.g*587+t.b*114)/1e3}function Bg(e,t){if(typeof e!="string"&&(!e||e.r===void 0))throw new TypeError("Expected a string or a {r, g, b[, a]} object as fgColor");if(typeof t!="string"&&(!t||t.r===void 0))throw new TypeError("Expected a string or a {r, g, b[, a]} object as bgColor");let o=typeof e=="string"?Oo(e):e,r=o.r/255,n=o.g/255,a=o.b/255,l=o.a!==void 0?o.a/100:1,u=typeof t=="string"?Oo(t):t,d=u.r/255,f=u.g/255,c=u.b/255,h=u.a!==void 0?u.a/100:1,v=l+h*(1-l),m=Math.round((r*l+d*h*(1-l))/v*255),g=Math.round((n*l+f*h*(1-l))/v*255),x=Math.round((a*l+c*h*(1-l))/v*255),y={r:m,g,b:x,a:Math.round(v*100)};return typeof e=="string"?En(y):y}function Lg(e,t){if(typeof e!="string")throw new TypeError("Expected a string as color");if(t===void 0||t<-1||t>1)throw new TypeError("Expected offset to be between -1 and 1");let{r:o,g:r,b:n,a}=Oo(e),l=a!==void 0?a/100:0;return En({r:o,g:r,b:n,a:Math.round(Math.min(1,Math.max(0,l+t))*100)})}function Fg(e){if(typeof e!="string")throw new TypeError("Expected a string as color");let t=document.createElement("div");t.className=`text-${e} invisible fixed no-pointer-events`,document.body.appendChild(t);let o=getComputedStyle(t).getPropertyValue("color");return t.remove(),En(Oo(o))}var ec={rgbToHex:En,hexToRgb:da,hsvToRgb:fa,rgbToHsv:li,textToRgb:Oo,lighten:$g,luminosity:Nl,brightness:Eg,blend:Bg,changeAlpha:Lg,getPaletteColor:Fg};var Dg=["rgb(255,204,204)","rgb(255,230,204)","rgb(255,255,204)","rgb(204,255,204)","rgb(204,255,230)","rgb(204,255,255)","rgb(204,230,255)","rgb(204,204,255)","rgb(230,204,255)","rgb(255,204,255)","rgb(255,153,153)","rgb(255,204,153)","rgb(255,255,153)","rgb(153,255,153)","rgb(153,255,204)","rgb(153,255,255)","rgb(153,204,255)","rgb(153,153,255)","rgb(204,153,255)","rgb(255,153,255)","rgb(255,102,102)","rgb(255,179,102)","rgb(255,255,102)","rgb(102,255,102)","rgb(102,255,179)","rgb(102,255,255)","rgb(102,179,255)","rgb(102,102,255)","rgb(179,102,255)","rgb(255,102,255)","rgb(255,51,51)","rgb(255,153,51)","rgb(255,255,51)","rgb(51,255,51)","rgb(51,255,153)","rgb(51,255,255)","rgb(51,153,255)","rgb(51,51,255)","rgb(153,51,255)","rgb(255,51,255)","rgb(255,0,0)","rgb(255,128,0)","rgb(255,255,0)","rgb(0,255,0)","rgb(0,255,128)","rgb(0,255,255)","rgb(0,128,255)","rgb(0,0,255)","rgb(128,0,255)","rgb(255,0,255)","rgb(245,0,0)","rgb(245,123,0)","rgb(245,245,0)","rgb(0,245,0)","rgb(0,245,123)","rgb(0,245,245)","rgb(0,123,245)","rgb(0,0,245)","rgb(123,0,245)","rgb(245,0,245)","rgb(214,0,0)","rgb(214,108,0)","rgb(214,214,0)","rgb(0,214,0)","rgb(0,214,108)","rgb(0,214,214)","rgb(0,108,214)","rgb(0,0,214)","rgb(108,0,214)","rgb(214,0,214)","rgb(163,0,0)","rgb(163,82,0)","rgb(163,163,0)","rgb(0,163,0)","rgb(0,163,82)","rgb(0,163,163)","rgb(0,82,163)","rgb(0,0,163)","rgb(82,0,163)","rgb(163,0,163)","rgb(92,0,0)","rgb(92,46,0)","rgb(92,92,0)","rgb(0,92,0)","rgb(0,92,46)","rgb(0,92,92)","rgb(0,46,92)","rgb(0,0,92)","rgb(46,0,92)","rgb(92,0,92)","rgb(255,255,255)","rgb(205,205,205)","rgb(178,178,178)","rgb(153,153,153)","rgb(127,127,127)","rgb(102,102,102)","rgb(76,76,76)","rgb(51,51,51)","rgb(25,25,25)","rgb(0,0,0)"],tc="M5 5 h10 v10 h-10 v-10 z",Vg="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAAH0lEQVQoU2NkYGAwZkAFZ5G5jPRRgOYEVDeB3EBjBQBOZwTVugIGyAAAAABJRU5ErkJggg==",oc=$({name:"QColor",props:{..._e,...kt,modelValue:String,defaultValue:String,defaultView:{type:String,default:"spectrum",validator:e=>["spectrum","tune","palette"].includes(e)},formatModel:{type:String,default:"auto",validator:e=>["auto","hex","rgb","hexa","rgba"].includes(e)},palette:Array,noHeader:Boolean,noHeaderTabs:Boolean,noFooter:Boolean,square:Boolean,flat:Boolean,bordered:Boolean,disable:Boolean,readonly:Boolean},emits:["update:modelValue","change"],setup(e,{emit:t}){let{proxy:o}=U(),{$q:r}=o,n=Ce(e,r),{getCache:a}=bo(),l=q(null),u=q(null),d=s(()=>e.formatModel==="auto"?null:e.formatModel.indexOf("hex")!==-1),f=s(()=>e.formatModel==="auto"?null:e.formatModel.indexOf("a")!==-1),c=q(e.formatModel==="auto"?e.modelValue===void 0||e.modelValue===null||e.modelValue===""||e.modelValue.startsWith("#")?"hex":"rgb":e.formatModel.startsWith("hex")?"hex":"rgb"),h=q(e.defaultView),v=q(R(e.modelValue||e.defaultValue)),m=s(()=>e.disable!==!0&&e.readonly!==!0),g=s(()=>e.modelValue===void 0||e.modelValue===null||e.modelValue===""||e.modelValue.startsWith("#")),x=s(()=>d.value!==null?d.value:g.value),y=s(()=>({type:"hidden",name:e.name,value:v.value[x.value===!0?"hex":"rgb"]})),k=Xt(y),S=s(()=>f.value!==null?f.value:v.value.a!==void 0),b=s(()=>({backgroundColor:v.value.rgb||"#000"})),p=s(()=>`q-color-picker__header-content q-color-picker__header-content--${(v.value.a!==void 0&&v.value.a<65?!0:Nl(v.value)>.4)?"light":"dark"}`),_=s(()=>({background:`hsl(${v.value.h},100%,50%)`})),E=s(()=>({top:`${100-v.value.v}%`,[r.lang.rtl===!0?"right":"left"]:`${v.value.s}%`})),L=s(()=>e.palette!==void 0&&e.palette.length!==0?e.palette:Dg),V=s(()=>"q-color-picker"+(e.bordered===!0?" q-color-picker--bordered":"")+(e.square===!0?" q-color-picker--square no-border-radius":"")+(e.flat===!0?" q-color-picker--flat no-shadow":"")+(e.disable===!0?" disabled":"")+(n.value===!0?" q-color-picker--dark q-dark":"")),F=s(()=>e.disable===!0?{"aria-disabled":"true"}:{}),B=s(()=>[[Rt,J,void 0,{prevent:!0,stop:!0,mouse:!0}]]);W(()=>e.modelValue,G=>{let de=R(G||e.defaultValue);de.hex!==v.value.hex&&(v.value=de)}),W(()=>e.defaultValue,G=>{if(!e.modelValue&&G){let de=R(G);de.hex!==v.value.hex&&(v.value=de)}});function D(G,de){v.value.hex=En(G),v.value.rgb=Ql(G),v.value.r=G.r,v.value.g=G.g,v.value.b=G.b,v.value.a=G.a;let ge=v.value[x.value===!0?"hex":"rgb"];t("update:modelValue",ge),de===!0&&t("change",ge)}function R(G){let de=f.value!==void 0?f.value:e.formatModel==="auto"?null:e.formatModel.indexOf("a")!==-1;if(typeof G!="string"||G.length===0||$n.anyColor(G.replace(/ /g,""))!==!0)return{h:0,s:0,v:0,r:0,g:0,b:0,a:de===!0?100:void 0,hex:void 0,rgb:void 0};let ge=Oo(G);return de===!0&&ge.a===void 0&&(ge.a=100),ge.hex=En(ge),ge.rgb=Ql(ge),Object.assign(ge,li(ge))}function C(G,de,ge){let we=l.value;if(we===null)return;let Le=we.clientWidth,fe=we.clientHeight,Fe=we.getBoundingClientRect(),He=Math.min(Le,Math.max(0,G-Fe.left));r.lang.rtl===!0&&(He=Le-He);let Qe=Math.min(fe,Math.max(0,de-Fe.top)),ue=Math.round(100*He/Le),ve=Math.round(100*Math.max(0,Math.min(1,-(Qe/fe)+1))),ee=fa({h:v.value.h,s:ue,v:ve,a:S.value===!0?v.value.a:void 0});v.value.s=ue,v.value.v=ve,D(ee,ge)}function M(G,de){let ge=Math.round(G),we=fa({h:ge,s:v.value.s,v:v.value.v,a:S.value===!0?v.value.a:void 0});v.value.h=ge,D(we,de)}function X(G){M(G,!0)}function Y(G,de,ge,we,Le){if(we!==void 0&&it(we),!/^[0-9]+$/.test(G)){Le===!0&&o.$forceUpdate();return}let fe=Math.floor(Number(G));if(fe<0||fe>ge){Le===!0&&o.$forceUpdate();return}let Fe={r:de==="r"?fe:v.value.r,g:de==="g"?fe:v.value.g,b:de==="b"?fe:v.value.b,a:S.value===!0?de==="a"?fe:v.value.a:void 0};if(de!=="a"){let He=li(Fe);v.value.h=He.h,v.value.s=He.s,v.value.v=He.v}if(D(Fe,Le),we!==void 0&&Le!==!0&&we.target.selectionEnd!==void 0){let He=we.target.selectionEnd;$e(()=>{we.target.setSelectionRange(He,He)})}}function T(G,de){let ge,we=G.target.value;if(it(G),c.value==="hex"){if(we.length!==(S.value===!0?9:7)||!/^#[0-9A-Fa-f]+$/.test(we))return!0;ge=da(we)}else{let fe;if(we.endsWith(")"))if(S.value!==!0&&we.startsWith("rgb(")){if(fe=we.substring(4,we.length-1).split(",").map(Fe=>parseInt(Fe,10)),fe.length!==3||!/^rgb\([0-9]{1,3},[0-9]{1,3},[0-9]{1,3}\)$/.test(we))return!0}else if(S.value===!0&&we.startsWith("rgba(")){if(fe=we.substring(5,we.length-1).split(","),fe.length!==4||!/^rgba\([0-9]{1,3},[0-9]{1,3},[0-9]{1,3},(0|0\.[0-9]+[1-9]|0\.[1-9]+|1)\)$/.test(we))return!0;for(let He=0;He<3;He++){let Qe=parseInt(fe[He],10);if(Qe<0||Qe>255)return!0;fe[He]=Qe}let Fe=parseFloat(fe[3]);if(Fe<0||Fe>1)return!0;fe[3]=Fe}else return!0;else return!0;if(fe[0]<0||fe[0]>255||fe[1]<0||fe[1]>255||fe[2]<0||fe[2]>255||S.value===!0&&(fe[3]<0||fe[3]>1))return!0;ge={r:fe[0],g:fe[1],b:fe[2],a:S.value===!0?fe[3]*100:void 0}}let Le=li(ge);if(v.value.h=Le.h,v.value.s=Le.s,v.value.v=Le.v,D(ge,de),de!==!0){let fe=G.target.selectionEnd;$e(()=>{G.target.setSelectionRange(fe,fe)})}}function j(G){let de=R(G),ge={r:de.r,g:de.g,b:de.b,a:de.a};ge.a===void 0&&(ge.a=v.value.a),v.value.h=de.h,v.value.s=de.s,v.value.v=de.v,D(ge,!0)}function J(G){G.isFinal?C(G.position.left,G.position.top,!0):ce(G)}let ce=Zn(G=>{C(G.position.left,G.position.top)},20);function I(G){C(G.pageX-window.pageXOffset,G.pageY-window.pageYOffset,!0)}function w(G){C(G.pageX-window.pageXOffset,G.pageY-window.pageYOffset)}function K(G){u.value!==null&&(u.value.$el.style.opacity=G?1:0)}function N(G){c.value=G}function le(){let G=[];return e.noHeaderTabs!==!0&&G.push(i(ai,{class:"q-color-picker__header-tabs",modelValue:c.value,dense:!0,align:"justify","onUpdate:modelValue":N},()=>[i(cn,{label:"HEX"+(S.value===!0?"A":""),name:"hex",ripple:!1}),i(cn,{label:"RGB"+(S.value===!0?"A":""),name:"rgb",ripple:!1})])),G.push(i("div",{class:"q-color-picker__header-banner row flex-center no-wrap"},[i("input",{class:"fit",value:v.value[c.value],...m.value!==!0?{readonly:!0}:{},...a("topIn",{onInput:de=>{K(T(de)===!0)},onChange:it,onBlur:de=>{T(de,!0)===!0&&o.$forceUpdate(),K(!1)}})}),i(Pe,{ref:u,class:"q-color-picker__error-icon absolute no-pointer-events",name:r.iconSet.type.negative})])),i("div",{class:"q-color-picker__header relative-position overflow-hidden"},[i("div",{class:"q-color-picker__header-bg absolute-full"}),i("div",{class:p.value,style:b.value},G)])}function P(){return i(ua,{modelValue:h.value,animated:!0},()=>[i(Pr,{class:"q-color-picker__spectrum-tab overflow-hidden",name:"spectrum"},H),i(Pr,{class:"q-pa-md q-color-picker__tune-tab",name:"tune"},me),i(Pr,{class:"q-color-picker__palette-tab",name:"palette"},Me)])}function O(G){h.value=G}function ae(){return i("div",{class:"q-color-picker__footer relative-position overflow-hidden"},[i(ai,{class:"absolute-full",modelValue:h.value,dense:!0,align:"justify","onUpdate:modelValue":O},()=>[i(cn,{icon:r.iconSet.colorPicker.spectrum,name:"spectrum",ripple:!1}),i(cn,{icon:r.iconSet.colorPicker.tune,name:"tune",ripple:!1}),i(cn,{icon:r.iconSet.colorPicker.palette,name:"palette",ripple:!1})])])}function H(){let G={ref:l,class:"q-color-picker__spectrum non-selectable relative-position cursor-pointer"+(m.value!==!0?" readonly":""),style:_.value,...m.value===!0?{onClick:I,onMousedown:w}:{}},de=[i("div",{style:{paddingBottom:"100%"}}),i("div",{class:"q-color-picker__spectrum-white absolute-full"}),i("div",{class:"q-color-picker__spectrum-black absolute-full"}),i("div",{class:"absolute",style:E.value},[v.value.hex!==void 0?i("div",{class:"q-color-picker__spectrum-circle"}):null])],ge=[i(Zo,{class:"q-color-picker__hue non-selectable",modelValue:v.value.h,min:0,max:360,trackSize:"8px",innerTrackColor:"transparent",selectionColor:"transparent",readonly:m.value!==!0,thumbPath:tc,"onUpdate:modelValue":M,onChange:X})];return S.value===!0&&ge.push(i(Zo,{class:"q-color-picker__alpha non-selectable",modelValue:v.value.a,min:0,max:100,trackSize:"8px",trackColor:"white",innerTrackColor:"transparent",selectionColor:"transparent",trackImg:Vg,readonly:m.value!==!0,hideSelection:!0,thumbPath:tc,...a("alphaSlide",{"onUpdate:modelValue":we=>Y(we,"a",100),onChange:we=>Y(we,"a",100,void 0,!0)})})),[Mt("div",G,de,"spec",m.value,()=>B.value),i("div",{class:"q-color-picker__sliders"},ge)]}function me(){return[i("div",{class:"row items-center no-wrap"},[i("div","R"),i(Zo,{modelValue:v.value.r,min:0,max:255,color:"red",dark:n.value,readonly:m.value!==!0,...a("rSlide",{"onUpdate:modelValue":G=>Y(G,"r",255),onChange:G=>Y(G,"r",255,void 0,!0)})}),i("input",{value:v.value.r,maxlength:3,readonly:m.value!==!0,onChange:it,...a("rIn",{onInput:G=>Y(G.target.value,"r",255,G),onBlur:G=>Y(G.target.value,"r",255,G,!0)})})]),i("div",{class:"row items-center no-wrap"},[i("div","G"),i(Zo,{modelValue:v.value.g,min:0,max:255,color:"green",dark:n.value,readonly:m.value!==!0,...a("gSlide",{"onUpdate:modelValue":G=>Y(G,"g",255),onChange:G=>Y(G,"g",255,void 0,!0)})}),i("input",{value:v.value.g,maxlength:3,readonly:m.value!==!0,onChange:it,...a("gIn",{onInput:G=>Y(G.target.value,"g",255,G),onBlur:G=>Y(G.target.value,"g",255,G,!0)})})]),i("div",{class:"row items-center no-wrap"},[i("div","B"),i(Zo,{modelValue:v.value.b,min:0,max:255,color:"blue",readonly:m.value!==!0,dark:n.value,...a("bSlide",{"onUpdate:modelValue":G=>Y(G,"b",255),onChange:G=>Y(G,"b",255,void 0,!0)})}),i("input",{value:v.value.b,maxlength:3,readonly:m.value!==!0,onChange:it,...a("bIn",{onInput:G=>Y(G.target.value,"b",255,G),onBlur:G=>Y(G.target.value,"b",255,G,!0)})})]),S.value===!0?i("div",{class:"row items-center no-wrap"},[i("div","A"),i(Zo,{modelValue:v.value.a,color:"grey",readonly:m.value!==!0,dark:n.value,...a("aSlide",{"onUpdate:modelValue":G=>Y(G,"a",100),onChange:G=>Y(G,"a",100,void 0,!0)})}),i("input",{value:v.value.a,maxlength:3,readonly:m.value!==!0,onChange:it,...a("aIn",{onInput:G=>Y(G.target.value,"a",100,G),onBlur:G=>Y(G.target.value,"a",100,G,!0)})})]):null]}function Me(){let G=de=>i("div",{class:"q-color-picker__cube col-auto",style:{backgroundColor:de},...m.value===!0?a("palette#"+de,{onClick:()=>{j(de)}}):{}});return[i("div",{class:"row items-center q-color-picker__palette-rows"+(m.value===!0?" q-color-picker__palette-rows--editable":"")},L.value.map(G))]}return()=>{let G=[P()];return e.name!==void 0&&e.disable!==!0&&k(G,"push"),e.noHeader!==!0&&G.unshift(le()),e.noFooter!==!0&&G.push(ae()),i("div",{class:V.value,...F.value},G)}}});var dn=[-61,9,38,199,426,686,756,818,1111,1181,1210,1635,2060,2097,2192,2262,2324,2394,2456,3178];function nc(e,t,o){return Object.prototype.toString.call(e)==="[object Date]"&&(o=e.getDate(),t=e.getMonth()+1,e=e.getFullYear()),Hg(Ul(e,t,o))}function jl(e,t,o){return ic(Ig(e,t,o))}function zg(e){return Og(e)===0}function Ar(e,t){return t<=6?31:t<=11||zg(e)?30:29}function Og(e){let t=dn.length,o=dn[0],r,n,a,l,u;if(e<o||e>=dn[t-1])throw new Error("Invalid Jalaali year "+e);for(u=1;u<t&&(r=dn[u],n=r-o,!(e<r));u+=1)o=r;return l=e-o,n-l<6&&(l=l-n+Ct(n+4,33)*33),a=ro(ro(l+1,33)-1,4),a===-1&&(a=4),a}function rc(e,t){let o=dn.length,r=e+621,n=-14,a=dn[0],l,u,d,f,c;if(e<a||e>=dn[o-1])throw new Error("Invalid Jalaali year "+e);for(c=1;c<o&&(l=dn[c],u=l-a,!(e<l));c+=1)n=n+Ct(u,33)*8+Ct(ro(u,33),4),a=l;f=e-a,n=n+Ct(f,33)*8+Ct(ro(f,33)+3,4),ro(u,33)===4&&u-f===4&&(n+=1);let h=Ct(r,4)-Ct((Ct(r,100)+1)*3,4)-150,v=20+n-h;return t||(u-f<6&&(f=f-u+Ct(u+4,33)*33),d=ro(ro(f+1,33)-1,4),d===-1&&(d=4)),{leap:d,gy:r,march:v}}function Ig(e,t,o){let r=rc(e,!0);return Ul(r.gy,3,r.march)+(t-1)*31-Ct(t,7)*(t-7)+o-1}function Hg(e){let t=ic(e).gy,o=t-621,r,n,a,l=rc(o,!1),u=Ul(t,3,l.march);if(a=e-u,a>=0){if(a<=185)return n=1+Ct(a,31),r=ro(a,31)+1,{jy:o,jm:n,jd:r};a-=186}else o-=1,a+=179,l.leap===1&&(a+=1);return n=7+Ct(a,30),r=ro(a,30)+1,{jy:o,jm:n,jd:r}}function Ul(e,t,o){let r=Ct((e+Ct(t-8,6)+100100)*1461,4)+Ct(153*ro(t+9,12)+2,5)+o-34840408;return r=r-Ct(Ct(e+100100+Ct(t-8,6),100)*3,4)+752,r}function ic(e){let t=4*e+139361631;t=t+Ct(Ct(4*e+183187720,146097)*3,4)*4-3908;let o=Ct(ro(t,1461),4)*5+308,r=Ct(ro(o,153),5)+1,n=ro(Ct(o,153),12)+1;return{gy:Ct(t,1461)-100100+Ct(8-n,6),gm:n,gd:r}}function Ct(e,t){return~~(e/t)}function ro(e,t){return e-~~(e/t)*t}var Qg=["gregorian","persian"],ma={modelValue:{required:!0},mask:{type:String},locale:Object,calendar:{type:String,validator:e=>Qg.includes(e),default:"gregorian"},landscape:Boolean,color:String,textColor:String,square:Boolean,flat:Boolean,bordered:Boolean,readonly:Boolean,disable:Boolean},va=["update:modelValue"];function xo(e){return e.year+"/"+nt(e.month)+"/"+nt(e.day)}function ga(e,t){let o=s(()=>e.disable!==!0&&e.readonly!==!0),r=s(()=>o.value===!0?0:-1),n=s(()=>{let u=[];return e.color!==void 0&&u.push(`bg-${e.color}`),e.textColor!==void 0&&u.push(`text-${e.textColor}`),u.join(" ")});function a(){return e.locale!==void 0?{...t.lang.date,...e.locale}:t.lang.date}function l(u){let d=new Date,f=u===!0?null:0;if(e.calendar==="persian"){let c=nc(d);return{year:c.jy,month:c.jm,day:c.jd}}return{year:d.getFullYear(),month:d.getMonth()+1,day:d.getDate(),hour:f,minute:f,second:f,millisecond:f}}return{editable:o,tabindex:r,headerClass:n,getLocale:a,getCurrentDate:l}}var sc=864e5,Ng=36e5,Yl=6e4,cc="YYYY-MM-DDTHH:mm:ss.SSSZ",jg=/\[((?:[^\]\\]|\\]|\\)*)\]|d{1,4}|M{1,4}|m{1,2}|w{1,2}|Qo|Do|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,Ug=/(\[[^\]]*\])|d{1,4}|M{1,4}|m{1,2}|w{1,2}|Qo|Do|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,Kl={};function Kg(e,t){let o="("+t.days.join("|")+")",r=e+o;if(Kl[r]!==void 0)return Kl[r];let n="("+t.daysShort.join("|")+")",a="("+t.months.join("|")+")",l="("+t.monthsShort.join("|")+")",u={},d=0,f=e.replace(Ug,h=>{switch(d++,h){case"YY":return u.YY=d,"(-?\\d{1,2})";case"YYYY":return u.YYYY=d,"(-?\\d{1,4})";case"M":return u.M=d,"(\\d{1,2})";case"MM":return u.M=d,"(\\d{2})";case"MMM":return u.MMM=d,l;case"MMMM":return u.MMMM=d,a;case"D":return u.D=d,"(\\d{1,2})";case"Do":return u.D=d++,"(\\d{1,2}(st|nd|rd|th))";case"DD":return u.D=d,"(\\d{2})";case"H":return u.H=d,"(\\d{1,2})";case"HH":return u.H=d,"(\\d{2})";case"h":return u.h=d,"(\\d{1,2})";case"hh":return u.h=d,"(\\d{2})";case"m":return u.m=d,"(\\d{1,2})";case"mm":return u.m=d,"(\\d{2})";case"s":return u.s=d,"(\\d{1,2})";case"ss":return u.s=d,"(\\d{2})";case"S":return u.S=d,"(\\d{1})";case"SS":return u.S=d,"(\\d{2})";case"SSS":return u.S=d,"(\\d{3})";case"A":return u.A=d,"(AM|PM)";case"a":return u.a=d,"(am|pm)";case"aa":return u.aa=d,"(a\\.m\\.|p\\.m\\.)";case"ddd":return n;case"dddd":return o;case"Q":case"d":case"E":return"(\\d{1})";case"Qo":return"(1st|2nd|3rd|4th)";case"DDD":case"DDDD":return"(\\d{1,3})";case"w":return"(\\d{1,2})";case"ww":return"(\\d{2})";case"Z":return u.Z=d,"(Z|[+-]\\d{2}:\\d{2})";case"ZZ":return u.ZZ=d,"(Z|[+-]\\d{2}\\d{2})";case"X":return u.X=d,"(-?\\d+)";case"x":return u.x=d,"(-?\\d{4,})";default:return d--,h[0]==="["&&(h=h.substring(1,h.length-1)),h.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}}),c={map:u,regex:new RegExp("^"+f)};return Kl[r]=c,c}function dc(e,t){return e!==void 0?e:t!==void 0?t.date:Wr.default.date}function ac(e,t=""){let o=e>0?"-":"+",r=Math.abs(e),n=Math.floor(r/60),a=r%60;return o+nt(n)+t+nt(a)}function Wg(e,t,o){let r=e.getFullYear(),n=e.getMonth(),a=e.getDate();return t.year!==void 0&&(r+=o*t.year,delete t.year),t.month!==void 0&&(n+=o*t.month,delete t.month),e.setDate(1),e.setMonth(2),e.setFullYear(r),e.setMonth(n),e.setDate(Math.min(a,Jl(e))),t.date!==void 0&&(e.setDate(e.getDate()+o*t.date),delete t.date),e}function Yg(e,t,o){let r=t.year!==void 0?t.year:e[`get${o}FullYear`](),n=t.month!==void 0?t.month-1:e[`get${o}Month`](),a=new Date(r,n+1,0).getDate(),l=Math.min(a,t.date!==void 0?t.date:e[`get${o}Date`]());return e[`set${o}Date`](1),e[`set${o}Month`](2),e[`set${o}FullYear`](r),e[`set${o}Month`](n),e[`set${o}Date`](l),delete t.year,delete t.month,delete t.date,e}function Zl(e,t,o){let r=fc(t),n=new Date(e),a=r.year!==void 0||r.month!==void 0||r.date!==void 0?Wg(n,r,o):n;for(let l in r){let u=ql(l);a[`set${u}`](a[`get${u}`]()+o*r[l])}return a}function fc(e){let 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 mc(e,t,o){let r=fc(t),n=o===!0?"UTC":"",a=new Date(e),l=r.year!==void 0||r.month!==void 0||r.date!==void 0?Yg(a,r,n):a;for(let u in r){let d=u.charAt(0).toUpperCase()+u.slice(1);l[`set${n}${d}`](r[u])}return l}function Xg(e,t,o){let r=fn(e,t,o),n=new Date(r.year,r.month===null?null:r.month-1,r.day===null?1:r.day,r.hour,r.minute,r.second,r.millisecond),a=n.getTimezoneOffset();return r.timezoneOffset===null||r.timezoneOffset===a?n:Zl(n,{minutes:r.timezoneOffset-a},1)}function fn(e,t,o,r,n){let a={year:null,month:null,day:null,hour:null,minute:null,second:null,millisecond:null,timezoneOffset:null,dateHash:null,timeHash:null};if(n!==void 0&&Object.assign(a,n),e==null||e===""||typeof e!="string")return a;t===void 0&&(t=cc);let l=dc(o,Yo.props),u=l.months,d=l.monthsShort,{regex:f,map:c}=Kg(t,l),h=e.match(f);if(h===null)return a;let v="";if(c.X!==void 0||c.x!==void 0){let m=parseInt(h[c.X!==void 0?c.X:c.x],10);if(isNaN(m)===!0||m<0)return a;let g=new Date(m*(c.X!==void 0?1e3:1));a.year=g.getFullYear(),a.month=g.getMonth()+1,a.day=g.getDate(),a.hour=g.getHours(),a.minute=g.getMinutes(),a.second=g.getSeconds(),a.millisecond=g.getMilliseconds()}else{if(c.YYYY!==void 0)a.year=parseInt(h[c.YYYY],10);else if(c.YY!==void 0){let m=parseInt(h[c.YY],10);a.year=m<0?m:2e3+m}if(c.M!==void 0){if(a.month=parseInt(h[c.M],10),a.month<1||a.month>12)return a}else c.MMM!==void 0?a.month=d.indexOf(h[c.MMM])+1:c.MMMM!==void 0&&(a.month=u.indexOf(h[c.MMMM])+1);if(c.D!==void 0){if(a.day=parseInt(h[c.D],10),a.year===null||a.month===null||a.day<1)return a;let m=r!=="persian"?new Date(a.year,a.month,0).getDate():Ar(a.year,a.month);if(a.day>m)return a}c.H!==void 0?a.hour=parseInt(h[c.H],10)%24:c.h!==void 0&&(a.hour=parseInt(h[c.h],10)%12,(c.A&&h[c.A]==="PM"||c.a&&h[c.a]==="pm"||c.aa&&h[c.aa]==="p.m.")&&(a.hour+=12),a.hour=a.hour%24),c.m!==void 0&&(a.minute=parseInt(h[c.m],10)%60),c.s!==void 0&&(a.second=parseInt(h[c.s],10)%60),c.S!==void 0&&(a.millisecond=parseInt(h[c.S],10)*10**(3-h[c.S].length)),(c.Z!==void 0||c.ZZ!==void 0)&&(v=c.Z!==void 0?h[c.Z].replace(":",""):h[c.ZZ],a.timezoneOffset=(v[0]==="+"?-1:1)*(60*v.slice(1,3)+1*v.slice(3,5)))}return a.dateHash=nt(a.year,6)+"/"+nt(a.month)+"/"+nt(a.day),a.timeHash=nt(a.hour)+":"+nt(a.minute)+":"+nt(a.second)+v,a}function Gg(e){return typeof e=="number"?!0:isNaN(Date.parse(e))===!1}function Zg(e,t){return mc(new Date,e,t)}function Jg(e){let t=new Date(e).getDay();return t===0?7:t}function Xl(e){let t=new Date(e.getFullYear(),e.getMonth(),e.getDate());t.setDate(t.getDate()-(t.getDay()+6)%7+3);let o=new Date(t.getFullYear(),0,4);o.setDate(o.getDate()-(o.getDay()+6)%7+3);let r=t.getTimezoneOffset()-o.getTimezoneOffset();t.setHours(t.getHours()-r);let n=(t-o)/(sc*7);return 1+Math.floor(n)}function eh(e){return e.getFullYear()*1e4+e.getMonth()*100+e.getDate()}function Wl(e,t){let o=new Date(e);return t===!0?eh(o):o.getTime()}function th(e,t,o,r={}){let n=Wl(t,r.onlyDate),a=Wl(o,r.onlyDate),l=Wl(e,r.onlyDate);return(l>n||r.inclusiveFrom===!0&&l===n)&&(l<a||r.inclusiveTo===!0&&l===a)}function oh(e,t){return Zl(e,t,1)}function nh(e,t){return Zl(e,t,-1)}function Io(e,t,o){let r=new Date(e),n=`set${o===!0?"UTC":""}`;switch(t){case"year":case"years":r[`${n}Month`](0);case"month":case"months":r[`${n}Date`](1);case"day":case"days":case"date":r[`${n}Hours`](0);case"hour":case"hours":r[`${n}Minutes`](0);case"minute":case"minutes":r[`${n}Seconds`](0);case"second":case"seconds":r[`${n}Milliseconds`](0)}return r}function rh(e,t,o){let r=new Date(e),n=`set${o===!0?"UTC":""}`;switch(t){case"year":case"years":r[`${n}Month`](11);case"month":case"months":r[`${n}Date`](Jl(r));case"day":case"days":case"date":r[`${n}Hours`](23);case"hour":case"hours":r[`${n}Minutes`](59);case"minute":case"minutes":r[`${n}Seconds`](59);case"second":case"seconds":r[`${n}Milliseconds`](999)}return r}function ih(e){let t=new Date(e);return Array.prototype.slice.call(arguments,1).forEach(o=>{t=Math.max(t,new Date(o))}),t}function ah(e){let t=new Date(e);return Array.prototype.slice.call(arguments,1).forEach(o=>{t=Math.min(t,new Date(o))}),t}function ha(e,t,o){return(e.getTime()-e.getTimezoneOffset()*Yl-(t.getTime()-t.getTimezoneOffset()*Yl))/o}function pa(e,t,o="days"){let r=new Date(e),n=new Date(t);switch(o){case"years":case"year":return r.getFullYear()-n.getFullYear();case"months":case"month":return(r.getFullYear()-n.getFullYear())*12+r.getMonth()-n.getMonth();case"days":case"day":case"date":return ha(Io(r,"day"),Io(n,"day"),sc);case"hours":case"hour":return ha(Io(r,"hour"),Io(n,"hour"),Ng);case"minutes":case"minute":return ha(Io(r,"minute"),Io(n,"minute"),Yl);case"seconds":case"second":return ha(Io(r,"second"),Io(n,"second"),1e3)}}function Gl(e){return pa(e,Io(e,"year"),"days")+1}function lh(e){return Go(e)===!0?"date":typeof e=="number"?"number":"string"}function uh(e,t,o){let r=new Date(e);if(t){let n=new Date(t);if(r<n)return n}if(o){let n=new Date(o);if(r>n)return n}return r}function sh(e,t,o){let r=new Date(e),n=new Date(t);if(o===void 0)return r.getTime()===n.getTime();switch(o){case"second":case"seconds":if(r.getSeconds()!==n.getSeconds())return!1;case"minute":case"minutes":if(r.getMinutes()!==n.getMinutes())return!1;case"hour":case"hours":if(r.getHours()!==n.getHours())return!1;case"day":case"days":case"date":if(r.getDate()!==n.getDate())return!1;case"month":case"months":if(r.getMonth()!==n.getMonth())return!1;case"year":case"years":if(r.getFullYear()!==n.getFullYear())return!1;break;default:throw new Error(`date isSameDate unknown unit ${o}`)}return!0}function Jl(e){return new Date(e.getFullYear(),e.getMonth()+1,0).getDate()}function lc(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`}var uc={YY(e,t,o){let r=this.YYYY(e,t,o)%100;return r>=0?nt(r):"-"+nt(Math.abs(r))},YYYY(e,t,o){return o??e.getFullYear()},M(e){return e.getMonth()+1},MM(e){return nt(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 lc(this.Q(e))},D(e){return e.getDate()},Do(e){return lc(e.getDate())},DD(e){return nt(e.getDate())},DDD(e){return Gl(e)},DDDD(e){return nt(Gl(e),3)},d(e){return e.getDay()},dd(e,t){return this.dddd(e,t).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 Xl(e)},ww(e){return nt(Xl(e))},H(e){return e.getHours()},HH(e){return nt(e.getHours())},h(e){let t=e.getHours();return t===0?12:t>12?t%12:t},hh(e){return nt(this.h(e))},m(e){return e.getMinutes()},mm(e){return nt(e.getMinutes())},s(e){return e.getSeconds()},ss(e){return nt(e.getSeconds())},S(e){return Math.floor(e.getMilliseconds()/100)},SS(e){return nt(Math.floor(e.getMilliseconds()/10))},SSS(e){return nt(e.getMilliseconds(),3)},A(e){return this.H(e)<12?"AM":"PM"},a(e){return this.H(e)<12?"am":"pm"},aa(e){return this.H(e)<12?"a.m.":"p.m."},Z(e,t,o,r){let n=r??e.getTimezoneOffset();return ac(n,":")},ZZ(e,t,o,r){let n=r??e.getTimezoneOffset();return ac(n)},X(e){return Math.floor(e.getTime()/1e3)},x(e){return e.getTime()}};function ui(e,t,o,r,n){if(e!==0&&!e||e===1/0||e===-1/0)return;let a=new Date(e);if(isNaN(a))return;t===void 0&&(t=cc);let l=dc(o,Yo.props);return t.replace(jg,(u,d)=>u in uc?uc[u](a,l,r,n):d===void 0?u:d.split("\\]").join("]"))}function ch(e){return Go(e)===!0?new Date(e.getTime()):e}var vc={isValid:Gg,extractDate:Xg,buildDate:Zg,getDayOfWeek:Jg,getWeekOfYear:Xl,isBetweenDates:th,addToDate:oh,subtractFromDate:nh,adjustDate:mc,startOfDate:Io,endOfDate:rh,getMaxDate:ih,getMinDate:ah,getDateDiff:pa,getDayOfYear:Gl,inferDateFormat:lh,getDateBetween:uh,isSameDate:sh,daysInMonth:Jl,formatDate:ui,clone:ch};var Bn=20,dh=["Calendar","Years","Months"],gc=e=>dh.includes(e),eu=e=>/^-?[\d]+\/[0-1]\d$/.test(e),$r=" \u2014 ";function mn(e){return e.year+"/"+nt(e.month)}var hc=$({name:"QDate",props:{...ma,...kt,..._e,multiple:Boolean,range:Boolean,title:String,subtitle:String,mask:{default:"YYYY/MM/DD"},defaultYearMonth:{type:String,validator:eu},yearsInMonthView:Boolean,events:[Array,Function],eventColor:[String,Function],emitImmediately:Boolean,options:[Array,Function],navigationMinYearMonth:{type:String,validator:eu},navigationMaxYearMonth:{type:String,validator:eu},noUnset:Boolean,firstDayOfWeek:[String,Number],todayBtn:Boolean,minimal:Boolean,defaultView:{type:String,default:"Calendar",validator:gc}},emits:[...va,"rangeStart","rangeEnd","navigation"],setup(e,{slots:t,emit:o}){let{proxy:r}=U(),{$q:n}=r,a=Ce(e,n),{getCache:l}=bo(),{tabindex:u,headerClass:d,getLocale:f,getCurrentDate:c}=ga(e,n),h,v=Vo(e),m=Xt(v),g=q(null),x=q(at()),y=q(f()),k=s(()=>at()),S=s(()=>f()),b=s(()=>c()),p=q(vt(x.value,y.value)),_=q(e.defaultView),E=n.lang.rtl===!0?"right":"left",L=q(E.value),V=q(E.value),F=p.value.year,B=q(F-F%Bn-(F<0?Bn:0)),D=q(null),R=s(()=>{let A=e.landscape===!0?"landscape":"portrait";return`q-date q-date--${A} q-date--${A}-${e.minimal===!0?"minimal":"standard"}`+(a.value===!0?" q-date--dark q-dark":"")+(e.bordered===!0?" q-date--bordered":"")+(e.square===!0?" q-date--square no-border-radius":"")+(e.flat===!0?" q-date--flat no-shadow":"")+(e.disable===!0?" disabled":e.readonly===!0?" q-date--readonly":"")}),C=s(()=>e.color||"primary"),M=s(()=>e.textColor||"white"),X=s(()=>e.emitImmediately===!0&&e.multiple!==!0&&e.range!==!0),Y=s(()=>Array.isArray(e.modelValue)===!0?e.modelValue:e.modelValue!==null&&e.modelValue!==void 0?[e.modelValue]:[]),T=s(()=>Y.value.filter(A=>typeof A=="string").map(A=>mt(A,x.value,y.value)).filter(A=>A.dateHash!==null&&A.day!==null&&A.month!==null&&A.year!==null)),j=s(()=>{let A=Q=>mt(Q,x.value,y.value);return Y.value.filter(Q=>ct(Q)===!0&&Q.from!==void 0&&Q.to!==void 0).map(Q=>({from:A(Q.from),to:A(Q.to)})).filter(Q=>Q.from.dateHash!==null&&Q.to.dateHash!==null&&Q.from.dateHash<Q.to.dateHash)}),J=s(()=>e.calendar!=="persian"?A=>new Date(A.year,A.month-1,A.day):A=>{let Q=jl(A.year,A.month,A.day);return new Date(Q.gy,Q.gm-1,Q.gd)}),ce=s(()=>e.calendar==="persian"?xo:(A,Q,te)=>ui(new Date(A.year,A.month-1,A.day,A.hour,A.minute,A.second,A.millisecond),Q===void 0?x.value:Q,te===void 0?y.value:te,A.year,A.timezoneOffset)),I=s(()=>T.value.length+j.value.reduce((A,Q)=>A+1+pa(J.value(Q.to),J.value(Q.from)),0)),w=s(()=>{if(e.title!==void 0&&e.title!==null&&e.title.length!==0)return e.title;if(D.value!==null){let te=D.value.init,he=J.value(te);return y.value.daysShort[he.getDay()]+", "+y.value.monthsShort[te.month-1]+" "+te.day+$r+"?"}if(I.value===0)return $r;if(I.value>1)return`${I.value} ${y.value.pluralDay}`;let A=T.value[0],Q=J.value(A);return isNaN(Q.valueOf())===!0?$r:y.value.headerTitle!==void 0?y.value.headerTitle(Q,A):y.value.daysShort[Q.getDay()]+", "+y.value.monthsShort[A.month-1]+" "+A.day}),K=s(()=>T.value.concat(j.value.map(Q=>Q.from)).sort((Q,te)=>Q.year-te.year||Q.month-te.month)[0]),N=s(()=>T.value.concat(j.value.map(Q=>Q.to)).sort((Q,te)=>te.year-Q.year||te.month-Q.month)[0]),le=s(()=>{if(e.subtitle!==void 0&&e.subtitle!==null&&e.subtitle.length!==0)return e.subtitle;if(I.value===0)return $r;if(I.value>1){let A=K.value,Q=N.value,te=y.value.monthsShort;return te[A.month-1]+(A.year!==Q.year?" "+A.year+$r+te[Q.month-1]+" ":A.month!==Q.month?$r+te[Q.month-1]:"")+" "+Q.year}return T.value[0].year}),P=s(()=>{let A=[n.iconSet.datetime.arrowLeft,n.iconSet.datetime.arrowRight];return n.lang.rtl===!0?A.reverse():A}),O=s(()=>e.firstDayOfWeek!==void 0?Number(e.firstDayOfWeek):y.value.firstDayOfWeek),ae=s(()=>{let A=y.value.daysShort,Q=O.value;return Q>0?A.slice(Q,7).concat(A.slice(0,Q)):A}),H=s(()=>{let A=p.value;return e.calendar!=="persian"?new Date(A.year,A.month,0).getDate():Ar(A.year,A.month)}),me=s(()=>typeof e.eventColor=="function"?e.eventColor:()=>e.eventColor),Me=s(()=>{if(e.navigationMinYearMonth===void 0)return null;let A=e.navigationMinYearMonth.split("/");return{year:parseInt(A[0],10),month:parseInt(A[1],10)}}),G=s(()=>{if(e.navigationMaxYearMonth===void 0)return null;let A=e.navigationMaxYearMonth.split("/");return{year:parseInt(A[0],10),month:parseInt(A[1],10)}}),de=s(()=>{let A={month:{prev:!0,next:!0},year:{prev:!0,next:!0}};return Me.value!==null&&Me.value.year>=p.value.year&&(A.year.prev=!1,Me.value.year===p.value.year&&Me.value.month>=p.value.month&&(A.month.prev=!1)),G.value!==null&&G.value.year<=p.value.year&&(A.year.next=!1,G.value.year===p.value.year&&G.value.month<=p.value.month&&(A.month.next=!1)),A}),ge=s(()=>{let A={};return T.value.forEach(Q=>{let te=mn(Q);A[te]===void 0&&(A[te]=[]),A[te].push(Q.day)}),A}),we=s(()=>{let A={};return j.value.forEach(Q=>{let te=mn(Q.from),he=mn(Q.to);if(A[te]===void 0&&(A[te]=[]),A[te].push({from:Q.from.day,to:te===he?Q.to.day:void 0,range:Q}),te<he){let pe,{year:rt,month:Be}=Q.from,Ze=Be<12?{year:rt,month:Be+1}:{year:rt+1,month:1};for(;(pe=mn(Ze))<=he;)A[pe]===void 0&&(A[pe]=[]),A[pe].push({from:void 0,to:pe===he?Q.to.day:void 0,range:Q}),Ze.month++,Ze.month>12&&(Ze.year++,Ze.month=1)}}),A}),Le=s(()=>{if(D.value===null)return;let{init:A,initHash:Q,final:te,finalHash:he}=D.value,[pe,rt]=Q<=he?[A,te]:[te,A],Be=mn(pe),Ze=mn(rt);if(Be!==fe.value&&Ze!==fe.value)return;let ut={};return Be===fe.value?(ut.from=pe.day,ut.includeFrom=!0):ut.from=1,Ze===fe.value?(ut.to=rt.day,ut.includeTo=!0):ut.to=H.value,ut}),fe=s(()=>mn(p.value)),Fe=s(()=>{let A={};if(e.options===void 0){for(let te=1;te<=H.value;te++)A[te]=!0;return A}let Q=typeof e.options=="function"?e.options:te=>e.options.includes(te);for(let te=1;te<=H.value;te++){let he=fe.value+"/"+nt(te);A[te]=Q(he)}return A}),He=s(()=>{let A={};if(e.events===void 0)for(let Q=1;Q<=H.value;Q++)A[Q]=!1;else{let Q=typeof e.events=="function"?e.events:te=>e.events.includes(te);for(let te=1;te<=H.value;te++){let he=fe.value+"/"+nt(te);A[te]=Q(he)===!0&&me.value(he)}}return A}),Qe=s(()=>{let A,Q,{year:te,month:he}=p.value;if(e.calendar!=="persian")A=new Date(te,he-1,1),Q=new Date(te,he-1,0).getDate();else{let pe=jl(te,he,1);A=new Date(pe.gy,pe.gm-1,pe.gd);let rt=he-1,Be=te;rt===0&&(rt=12,Be--),Q=Ar(Be,rt)}return{days:A.getDay()-O.value-1,endDay:Q}}),ue=s(()=>{let A=[],{days:Q,endDay:te}=Qe.value,he=Q<0?Q+7:Q;if(he<6)for(let Be=te-he;Be<=te;Be++)A.push({i:Be,fill:!0});let pe=A.length;for(let Be=1;Be<=H.value;Be++){let Ze={i:Be,event:He.value[Be],classes:[]};Fe.value[Be]===!0&&(Ze.in=!0,Ze.flat=!0),A.push(Ze)}if(ge.value[fe.value]!==void 0&&ge.value[fe.value].forEach(Be=>{let Ze=pe+Be-1;Object.assign(A[Ze],{selected:!0,unelevated:!0,flat:!1,color:C.value,textColor:M.value})}),we.value[fe.value]!==void 0&&we.value[fe.value].forEach(Be=>{if(Be.from!==void 0){let Ze=pe+Be.from-1,ut=pe+(Be.to||H.value)-1;for(let uo=Ze;uo<=ut;uo++)Object.assign(A[uo],{range:Be.range,unelevated:!0,color:C.value,textColor:M.value});Object.assign(A[Ze],{rangeFrom:!0,flat:!1}),Be.to!==void 0&&Object.assign(A[ut],{rangeTo:!0,flat:!1})}else if(Be.to!==void 0){let Ze=pe+Be.to-1;for(let ut=pe;ut<=Ze;ut++)Object.assign(A[ut],{range:Be.range,unelevated:!0,color:C.value,textColor:M.value});Object.assign(A[Ze],{flat:!1,rangeTo:!0})}else{let Ze=pe+H.value-1;for(let ut=pe;ut<=Ze;ut++)Object.assign(A[ut],{range:Be.range,unelevated:!0,color:C.value,textColor:M.value})}}),Le.value!==void 0){let Be=pe+Le.value.from-1,Ze=pe+Le.value.to-1;for(let ut=Be;ut<=Ze;ut++)A[ut].color=C.value,A[ut].editRange=!0;Le.value.includeFrom===!0&&(A[Be].editRangeFrom=!0),Le.value.includeTo===!0&&(A[Ze].editRangeTo=!0)}p.value.year===b.value.year&&p.value.month===b.value.month&&(A[pe+b.value.day-1].today=!0);let rt=A.length%7;if(rt>0){let Be=7-rt;for(let Ze=1;Ze<=Be;Ze++)A.push({i:Ze,fill:!0})}return A.forEach(Be=>{let Ze="q-date__calendar-item ";Be.fill===!0?Ze+="q-date__calendar-item--fill":(Ze+=`q-date__calendar-item--${Be.in===!0?"in":"out"}`,Be.range!==void 0&&(Ze+=` q-date__range${Be.rangeTo===!0?"-to":Be.rangeFrom===!0?"-from":""}`),Be.editRange===!0&&(Ze+=` q-date__edit-range${Be.editRangeFrom===!0?"-from":""}${Be.editRangeTo===!0?"-to":""}`),(Be.range!==void 0||Be.editRange===!0)&&(Ze+=` text-${Be.color}`)),Be.classes=Ze}),A}),ve=s(()=>e.disable===!0?{"aria-disabled":"true"}:{});W(()=>e.modelValue,A=>{if(h===A)h=0;else{let Q=vt(x.value,y.value);tt(Q.year,Q.month,Q)}}),W(_,()=>{g.value!==null&&r.$el.contains(document.activeElement)===!0&&g.value.focus()}),W(()=>p.value.year+"|"+p.value.month,()=>{o("navigation",{year:p.value.year,month:p.value.month})}),W(k,A=>{ne(A,y.value,"mask"),x.value=A}),W(S,A=>{ne(x.value,A,"locale"),y.value=A});function ee(){let{year:A,month:Q,day:te}=b.value,he={...p.value,year:A,month:Q,day:te},pe=ge.value[mn(he)];(pe===void 0||pe.includes(he.day)===!1)&&jo(he),ze(he.year,he.month)}function be(A){gc(A)===!0&&(_.value=A)}function De(A,Q){["month","year"].includes(A)&&(A==="month"?se:Z)(Q===!0?-1:1)}function ze(A,Q){_.value="Calendar",tt(A,Q)}function Ve(A,Q){if(e.range===!1||!A){D.value=null;return}let te=Object.assign({...p.value},A),he=Q!==void 0?Object.assign({...p.value},Q):te;D.value={init:te,initHash:xo(te),final:he,finalHash:xo(he)},ze(te.year,te.month)}function at(){return e.calendar==="persian"?"YYYY/MM/DD":e.mask}function mt(A,Q,te){return fn(A,Q,te,e.calendar,{hour:0,minute:0,second:0,millisecond:0})}function vt(A,Q){let te=Array.isArray(e.modelValue)===!0?e.modelValue:e.modelValue?[e.modelValue]:[];if(te.length===0)return oe();let he=te[te.length-1],pe=mt(he.from!==void 0?he.from:he,A,Q);return pe.dateHash===null?oe():pe}function oe(){let A,Q;if(e.defaultYearMonth!==void 0){let te=e.defaultYearMonth.split("/");A=parseInt(te[0],10),Q=parseInt(te[1],10)}else{let te=b.value!==void 0?b.value:c();A=te.year,Q=te.month}return{year:A,month:Q,day:1,hour:0,minute:0,second:0,millisecond:0,dateHash:A+"/"+nt(Q)+"/01"}}function se(A){let Q=p.value.year,te=Number(p.value.month)+A;te===13?(te=1,Q++):te===0&&(te=12,Q--),tt(Q,te),X.value===!0&&yt("month")}function Z(A){let Q=Number(p.value.year)+A;tt(Q,p.value.month),X.value===!0&&yt("year")}function ie(A){tt(A,p.value.month),_.value=e.defaultView==="Years"?"Months":"Calendar",X.value===!0&&yt("year")}function Ae(A){tt(p.value.year,A),_.value="Calendar",X.value===!0&&yt("month")}function Ue(A,Q){let te=ge.value[Q];(te!==void 0&&te.includes(A.day)===!0?qo:jo)(A)}function ke(A){return{year:A.year,month:A.month,day:A.day}}function tt(A,Q,te){if(Me.value!==null&&A<=Me.value.year&&((Q<Me.value.month||A<Me.value.year)&&(Q=Me.value.month),A=Me.value.year),G.value!==null&&A>=G.value.year&&((Q>G.value.month||A>G.value.year)&&(Q=G.value.month),A=G.value.year),te!==void 0){let{hour:pe,minute:rt,second:Be,millisecond:Ze,timezoneOffset:ut,timeHash:uo}=te;Object.assign(p.value,{hour:pe,minute:rt,second:Be,millisecond:Ze,timezoneOffset:ut,timeHash:uo})}let he=A+"/"+nt(Q)+"/01";he!==p.value.dateHash&&(L.value=p.value.dateHash<he==(n.lang.rtl!==!0)?"left":"right",A!==p.value.year&&(V.value=L.value),$e(()=>{B.value=A-A%Bn-(A<0?Bn:0),Object.assign(p.value,{year:A,month:Q,day:1,dateHash:he})}))}function pt(A,Q,te){let he=A!==null&&A.length===1&&e.multiple===!1?A[0]:A;h=he;let{reason:pe,details:rt}=Gt(Q,te);o("update:modelValue",he,pe,rt)}function yt(A){let Q=T.value[0]!==void 0&&T.value[0].dateHash!==null?{...T.value[0]}:{...p.value};$e(()=>{Q.year=p.value.year,Q.month=p.value.month;let te=e.calendar!=="persian"?new Date(Q.year,Q.month,0).getDate():Ar(Q.year,Q.month);Q.day=Math.min(Math.max(1,Q.day),te);let he=lo(Q);h=he;let{details:pe}=Gt("",Q);o("update:modelValue",he,A,pe)})}function Gt(A,Q){return Q.from!==void 0?{reason:`${A}-range`,details:{...ke(Q.target),from:ke(Q.from),to:ke(Q.to)}}:{reason:`${A}-day`,details:ke(Q)}}function lo(A,Q,te){return A.from!==void 0?{from:ce.value(A.from,Q,te),to:ce.value(A.to,Q,te)}:ce.value(A,Q,te)}function jo(A){let Q;if(e.multiple===!0)if(A.from!==void 0){let te=xo(A.from),he=xo(A.to),pe=T.value.filter(Be=>Be.dateHash<te||Be.dateHash>he),rt=j.value.filter(({from:Be,to:Ze})=>Ze.dateHash<te||Be.dateHash>he);Q=pe.concat(rt).concat(A).map(Be=>lo(Be))}else{let te=Y.value.slice();te.push(lo(A)),Q=te}else Q=lo(A);pt(Q,"add",A)}function qo(A){if(e.noUnset===!0)return;let Q=null;if(e.multiple===!0&&Array.isArray(e.modelValue)===!0){let te=lo(A);A.from!==void 0?Q=e.modelValue.filter(he=>he.from!==void 0?he.from!==te.from&&he.to!==te.to:!0):Q=e.modelValue.filter(he=>he!==te),Q.length===0&&(Q=null)}pt(Q,"remove",A)}function ne(A,Q,te){let he=T.value.concat(j.value).map(pe=>lo(pe,A,Q)).filter(pe=>pe.from!==void 0?pe.from.dateHash!==null&&pe.to.dateHash!==null:pe.dateHash!==null);o("update:modelValue",(e.multiple===!0?he:he[0])||null,te)}function ye(){if(e.minimal!==!0)return i("div",{class:"q-date__header "+d.value},[i("div",{class:"relative-position"},[i(lt,{name:"q-transition--fade"},()=>i("div",{key:"h-yr-"+le.value,class:"q-date__header-subtitle q-date__header-link "+(_.value==="Years"?"q-date__header-link--active":"cursor-pointer"),tabindex:u.value,...l("vY",{onClick(){_.value="Years"},onKeyup(A){A.keyCode===13&&(_.value="Years")}})},[le.value]))]),i("div",{class:"q-date__header-title relative-position flex no-wrap"},[i("div",{class:"relative-position col"},[i(lt,{name:"q-transition--fade"},()=>i("div",{key:"h-sub"+w.value,class:"q-date__header-title-label q-date__header-link "+(_.value==="Calendar"?"q-date__header-link--active":"cursor-pointer"),tabindex:u.value,...l("vC",{onClick(){_.value="Calendar"},onKeyup(A){A.keyCode===13&&(_.value="Calendar")}})},[w.value]))]),e.todayBtn===!0?i(Ie,{class:"q-date__header-today self-start",icon:n.iconSet.datetime.today,flat:!0,size:"sm",round:!0,tabindex:u.value,onClick:ee}):null])])}function Ee({label:A,type:Q,key:te,dir:he,goTo:pe,boundaries:rt,cls:Be}){return[i("div",{class:"row items-center q-date__arrow"},[i(Ie,{round:!0,dense:!0,size:"sm",flat:!0,icon:P.value[0],tabindex:u.value,disable:rt.prev===!1,...l("go-#"+Q,{onClick(){pe(-1)}})})]),i("div",{class:"relative-position overflow-hidden flex flex-center"+Be},[i(lt,{name:"q-transition--jump-"+he},()=>i("div",{key:te},[i(Ie,{flat:!0,dense:!0,noCaps:!0,label:A,tabindex:u.value,...l("view#"+Q,{onClick:()=>{_.value=Q}})})]))]),i("div",{class:"row items-center q-date__arrow"},[i(Ie,{round:!0,dense:!0,size:"sm",flat:!0,icon:P.value[1],tabindex:u.value,disable:rt.next===!1,...l("go+#"+Q,{onClick(){pe(1)}})})])]}let Oe={Calendar:()=>[i("div",{key:"calendar-view",class:"q-date__view q-date__calendar"},[i("div",{class:"q-date__navigation row items-center no-wrap"},Ee({label:y.value.months[p.value.month-1],type:"Months",key:p.value.month,dir:L.value,goTo:se,boundaries:de.value.month,cls:" col"}).concat(Ee({label:p.value.year,type:"Years",key:p.value.year,dir:V.value,goTo:Z,boundaries:de.value.year,cls:""}))),i("div",{class:"q-date__calendar-weekdays row items-center no-wrap"},ae.value.map(A=>i("div",{class:"q-date__calendar-item"},[i("div",A)]))),i("div",{class:"q-date__calendar-days-container relative-position overflow-hidden"},[i(lt,{name:"q-transition--slide-"+L.value},()=>i("div",{key:fe.value,class:"q-date__calendar-days fit"},ue.value.map(A=>i("div",{class:A.classes},[A.in===!0?i(Ie,{class:A.today===!0?"q-date__today":"",dense:!0,flat:A.flat,unelevated:A.unelevated,color:A.color,textColor:A.textColor,label:A.i,tabindex:u.value,...l("day#"+A.i,{onClick:()=>{Ye(A.i)},onMouseover:()=>{St(A.i)}})},A.event!==!1?()=>i("div",{class:"q-date__event bg-"+A.event}):null):i("div",""+A.i)]))))])])],Months(){let A=p.value.year===b.value.year,Q=he=>Me.value!==null&&p.value.year===Me.value.year&&Me.value.month>he||G.value!==null&&p.value.year===G.value.year&&G.value.month<he,te=y.value.monthsShort.map((he,pe)=>{let rt=p.value.month===pe+1;return i("div",{class:"q-date__months-item flex flex-center"},[i(Ie,{class:A===!0&&b.value.month===pe+1?"q-date__today":null,flat:rt!==!0,label:he,unelevated:rt,color:rt===!0?C.value:null,textColor:rt===!0?M.value:null,tabindex:u.value,disable:Q(pe+1),...l("month#"+pe,{onClick:()=>{Ae(pe+1)}})})])});return e.yearsInMonthView===!0&&te.unshift(i("div",{class:"row no-wrap full-width"},[Ee({label:p.value.year,type:"Years",key:p.value.year,dir:V.value,goTo:Z,boundaries:de.value.year,cls:" col"})])),i("div",{key:"months-view",class:"q-date__view q-date__months flex flex-center"},te)},Years(){let A=B.value,Q=A+Bn,te=[],he=pe=>Me.value!==null&&Me.value.year>pe||G.value!==null&&G.value.year<pe;for(let pe=A;pe<=Q;pe++){let rt=p.value.year===pe;te.push(i("div",{class:"q-date__years-item flex flex-center"},[i(Ie,{key:"yr"+pe,class:b.value.year===pe?"q-date__today":null,flat:!rt,label:pe,dense:!0,unelevated:rt,color:rt===!0?C.value:null,textColor:rt===!0?M.value:null,tabindex:u.value,disable:he(pe),...l("yr#"+pe,{onClick:()=>{ie(pe)}})})]))}return i("div",{class:"q-date__view q-date__years flex flex-center"},[i("div",{class:"col-auto"},[i(Ie,{round:!0,dense:!0,flat:!0,icon:P.value[0],tabindex:u.value,disable:he(A),...l("y-",{onClick:()=>{B.value-=Bn}})})]),i("div",{class:"q-date__years-content col self-stretch row items-center"},te),i("div",{class:"col-auto"},[i(Ie,{round:!0,dense:!0,flat:!0,icon:P.value[1],tabindex:u.value,disable:he(Q),...l("y+",{onClick:()=>{B.value+=Bn}})})])])}};function Ye(A){let Q={...p.value,day:A};if(e.range===!1){Ue(Q,fe.value);return}if(D.value===null){let te=ue.value.find(pe=>pe.fill!==!0&&pe.i===A);if(e.noUnset!==!0&&te.range!==void 0){qo({target:Q,from:te.range.from,to:te.range.to});return}if(te.selected===!0){qo(Q);return}let he=xo(Q);D.value={init:Q,initHash:he,final:Q,finalHash:he},o("rangeStart",ke(Q))}else{let te=D.value.initHash,he=xo(Q),pe=te<=he?{from:D.value.init,to:Q}:{from:Q,to:D.value.init};D.value=null,jo(te===he?Q:{target:Q,...pe}),o("rangeEnd",{from:ke(pe.from),to:ke(pe.to)})}}function St(A){if(D.value!==null){let Q={...p.value,day:A};Object.assign(D.value,{final:Q,finalHash:xo(Q)})}}return Object.assign(r,{setToday:ee,setView:be,offsetCalendar:De,setCalendarTo:ze,setEditingRange:Ve}),()=>{let A=[i("div",{class:"q-date__content col relative-position"},[i(lt,{name:"q-transition--fade"},Oe[_.value])])],Q=re(t.default);return Q!==void 0&&A.push(i("div",{class:"q-date__actions"},Q)),e.name!==void 0&&e.disable!==!0&&m(A,"push"),i("div",{class:R.value,...ve.value},[ye(),i("div",{ref:g,class:"q-date__main col column",tabindex:-1},A)])}}});function ba(e,t,o){let r;function n(){r!==void 0&&(on.remove(r),r=void 0)}return Se(()=>{e.value===!0&&n()}),{removeFromHistory:n,addToHistory(){r={condition:()=>o.value===!0,handler:t},on.add(r)}}}var si=0,tu,ou,ci,nu=!1,pc,bc,yc,Ln=null;function fh(e){mh(e)&&qe(e)}function mh(e){if(e.target===document.body||e.target.classList.contains("q-layout__backdrop"))return!0;let t=xl(e),o=e.shiftKey&&!e.deltaX,r=!o&&Math.abs(e.deltaX)<=Math.abs(e.deltaY),n=o||r?e.deltaY:e.deltaX;for(let a=0;a<t.length;a++){let l=t[a];if(Fl(l,r))return r?n<0&&l.scrollTop===0?!0:n>0&&l.scrollTop+l.clientHeight===l.scrollHeight:n<0&&l.scrollLeft===0?!0:n>0&&l.scrollLeft+l.clientWidth===l.scrollWidth}return!0}function Sc(e){e.target===document&&(document.scrollingElement.scrollTop=document.scrollingElement.scrollTop)}function ya(e){nu!==!0&&(nu=!0,requestAnimationFrame(()=>{nu=!1;let{height:t}=e.target,{clientHeight:o,scrollTop:r}=document.scrollingElement;(ci===void 0||t!==window.innerHeight)&&(ci=o-t,document.scrollingElement.scrollTop=r),r>ci&&(document.scrollingElement.scrollTop-=Math.ceil((r-ci)/8))}))}function xc(e){let t=document.body,o=window.visualViewport!==void 0;if(e==="add"){let{overflowY:r,overflowX:n}=window.getComputedStyle(t);tu=sn(window),ou=eo(window),pc=t.style.left,bc=t.style.top,yc=window.location.href,t.style.left=`-${tu}px`,t.style.top=`-${ou}px`,n!=="hidden"&&(n==="scroll"||t.scrollWidth>window.innerWidth)&&t.classList.add("q-body--force-scrollbar-x"),r!=="hidden"&&(r==="scroll"||t.scrollHeight>window.innerHeight)&&t.classList.add("q-body--force-scrollbar-y"),t.classList.add("q-body--prevent-scroll"),document.qScrollPrevented=!0,Re.is.ios===!0&&(o===!0?(window.scrollTo(0,0),window.visualViewport.addEventListener("resize",ya,et.passiveCapture),window.visualViewport.addEventListener("scroll",ya,et.passiveCapture),window.scrollTo(0,0)):window.addEventListener("scroll",Sc,et.passiveCapture))}Re.is.desktop===!0&&Re.is.mac===!0&&window[`${e}EventListener`]("wheel",fh,et.notPassive),e==="remove"&&(Re.is.ios===!0&&(o===!0?(window.visualViewport.removeEventListener("resize",ya,et.passiveCapture),window.visualViewport.removeEventListener("scroll",ya,et.passiveCapture)):window.removeEventListener("scroll",Sc,et.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=pc,t.style.top=bc,window.location.href===yc&&window.scrollTo(tu,ou),ci=void 0)}function di(e){let t="add";if(e===!0){if(si++,Ln!==null){clearTimeout(Ln),Ln=null;return}if(si>1)return}else{if(si===0||(si--,si>0))return;if(t="remove",Re.is.ios===!0&&Re.is.nativeMobile===!0){Ln!==null&&clearTimeout(Ln),Ln=setTimeout(()=>{xc(t),Ln=null},100);return}}xc(t)}function Sa(){let e;return{preventBodyScroll(t){t!==e&&(e!==void 0||t===!0)&&(e=t,di(t))}}}var xa=0,vh={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"},_c={standard:["scale","scale"],top:["slide-down","slide-up"],bottom:["slide-up","slide-down"],right:["slide-left","slide-right"],left:["slide-right","slide-left"]},Ho=$({name:"QDialog",inheritAttrs:!1,props:{...mo,...Eo,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=>e==="standard"||["top","bottom","left","right"].includes(e)}},emits:[...vo,"shake","click","escapeKey"],setup(e,{slots:t,emit:o,attrs:r}){let n=U(),a=q(null),l=q(!1),u=q(!1),d=null,f=null,c,h,v=s(()=>e.persistent!==!0&&e.noRouteDismiss!==!0&&e.seamless!==!0),{preventBodyScroll:m}=Sa(),{registerTimeout:g}=Yt(),{registerTick:x,removeTick:y}=po(),{transitionProps:k,transitionStyle:S}=un(e,()=>_c[e.position][0],()=>_c[e.position][1]),b=s(()=>S.value+(e.backdropFilter!==void 0?`;backdrop-filter:${e.backdropFilter};-webkit-backdrop-filter:${e.backdropFilter}`:"")),{showPortal:p,hidePortal:_,portalIsAccessible:E,renderPortal:L}=lr(n,a,le,"dialog"),{hide:V}=go({showing:l,hideOnRouteChange:v,handleShow:X,handleHide:Y,processOnMount:!0}),{addToHistory:F,removeFromHistory:B}=ba(l,V,v),D=s(()=>`q-dialog__inner flex no-pointer-events q-dialog__inner--${e.maximized===!0?"maximized":"minimized"} q-dialog__inner--${e.position} ${vh[e.position]}`+(u.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":"")),R=s(()=>l.value===!0&&e.seamless!==!0),C=s(()=>e.autoClose===!0?{onClick:w}:{}),M=s(()=>[`q-dialog fullscreen no-pointer-events q-dialog--${R.value===!0?"modal":"seamless"}`,r.class]);W(()=>e.maximized,P=>{l.value===!0&&I(P)}),W(R,P=>{m(P),P===!0?(dr(N),Hi(J)):(Rn(N),cr(J))});function X(P){F(),f=e.noRefocus===!1&&document.activeElement!==null?document.activeElement:null,I(e.maximized),p(),u.value=!0,e.noFocus!==!0?(document.activeElement!==null&&document.activeElement.blur(),x(T)):y(),g(()=>{if(n.proxy.$q.platform.is.ios===!0){if(e.seamless!==!0&&document.activeElement){let{top:O,bottom:ae}=document.activeElement.getBoundingClientRect(),{innerHeight:H}=window,me=window.visualViewport!==void 0?window.visualViewport.height:H;O>0&&ae>me/2&&(document.scrollingElement.scrollTop=Math.min(document.scrollingElement.scrollHeight-me,ae>=H?1/0:Math.ceil(document.scrollingElement.scrollTop+ae-me/2))),document.activeElement.scrollIntoView()}h=!0,a.value.click(),h=!1}p(!0),u.value=!1,o("show",P)},e.transitionDuration)}function Y(P){y(),B(),ce(!0),u.value=!0,_(),f!==null&&(((P&&P.type.indexOf("key")===0?f.closest('[tabindex]:not([tabindex^="-"])'):void 0)||f).focus(),f=null),g(()=>{_(!0),u.value=!1,o("hide",P)},e.transitionDuration)}function T(P){ho(()=>{let O=a.value;if(O!==null){if(P!==void 0){let ae=O.querySelector(P);if(ae!==null){ae.focus({preventScroll:!0});return}}O.contains(document.activeElement)!==!0&&(O=O.querySelector("[autofocus][tabindex], [data-autofocus][tabindex]")||O.querySelector("[autofocus] [tabindex], [data-autofocus] [tabindex]")||O.querySelector("[autofocus], [data-autofocus]")||O,O.focus({preventScroll:!0}))}})}function j(P){P&&typeof P.focus=="function"?P.focus({preventScroll:!0}):T(),o("shake");let O=a.value;O!==null&&(O.classList.remove("q-animate--scale"),O.classList.add("q-animate--scale"),d!==null&&clearTimeout(d),d=setTimeout(()=>{d=null,a.value!==null&&(O.classList.remove("q-animate--scale"),T())},170))}function J(){e.seamless!==!0&&(e.persistent===!0||e.noEscDismiss===!0?e.maximized!==!0&&e.noShake!==!0&&j():(o("escapeKey"),V()))}function ce(P){d!==null&&(clearTimeout(d),d=null),(P===!0||l.value===!0)&&(I(!1),e.seamless!==!0&&(m(!1),Rn(N),cr(J))),P!==!0&&(f=null)}function I(P){P===!0?c!==!0&&(xa<1&&document.body.classList.add("q-body--dialog"),xa++,c=!0):c===!0&&(xa<2&&document.body.classList.remove("q-body--dialog"),xa--,c=!1)}function w(P){h!==!0&&(V(P),o("click",P))}function K(P){e.persistent!==!0&&e.noBackdropDismiss!==!0?V(P):e.noShake!==!0&&j()}function N(P){e.allowFocusOutside!==!0&&E.value===!0&&Di(a.value,P.target)!==!0&&T('[tabindex]:not([tabindex="-1"])')}Object.assign(n.proxy,{focus:T,shake:j,__updateRefocusTarget(P){f=P||null}}),Se(ce);function le(){return i("div",{role:"dialog","aria-modal":R.value===!0?"true":"false",...r,class:M.value},[i(lt,{name:"q-transition--fade",appear:!0},()=>R.value===!0?i("div",{class:"q-dialog__backdrop fixed-full",style:b.value,"aria-hidden":"true",tabindex:-1,onClick:K}):null),i(lt,k.value,()=>l.value===!0?i("div",{ref:a,class:D.value,style:S.value,tabindex:-1,...C.value},re(t.default)):null)])}return L}});var Cc=150,wc=$({name:"QDrawer",inheritAttrs:!1,props:{...mo,..._e,side:{type:String,default:"left",validator:e=>["left","right"].includes(e)},width:{type:Number,default:300},mini:Boolean,miniToOverlay:Boolean,miniWidth:{type:Number,default:57},noMiniAnimation:Boolean,breakpoint:{type:Number,default:1023},showIfAbove:Boolean,behavior:{type:String,validator:e=>["default","desktop","mobile"].includes(e),default:"default"},bordered:Boolean,elevated:Boolean,overlay:Boolean,persistent:Boolean,noSwipeOpen:Boolean,noSwipeClose:Boolean,noSwipeBackdrop:Boolean},emits:[...vo,"onLayout","miniState"],setup(e,{slots:t,emit:o,attrs:r}){let n=U(),{proxy:{$q:a}}=n,l=Ce(e,a),{preventBodyScroll:u}=Sa(),{registerTimeout:d,removeTimeout:f}=Yt(),c=ht(Jt,Je);if(c===Je)return console.error("QDrawer needs to be child of QLayout"),Je;let h,v=null,m,g=q(e.behavior==="mobile"||e.behavior!=="desktop"&&c.totalWidth.value<=e.breakpoint),x=s(()=>e.mini===!0&&g.value!==!0),y=s(()=>x.value===!0?e.miniWidth:e.width),k=q(e.showIfAbove===!0&&g.value===!1?!0:e.modelValue===!0),S=s(()=>e.persistent!==!0&&(g.value===!0||ce.value===!0));function b(ee,be){if(L(),ee!==!1&&c.animate(),de(0),g.value===!0){let De=c.instances[Y.value];De!==void 0&&De.belowBreakpoint===!0&&De.hide(!1),ge(1),c.isContainer.value!==!0&&u(!0)}else ge(0),ee!==!1&&we(!1);d(()=>{ee!==!1&&we(!0),be!==!0&&o("show",ee)},Cc)}function p(ee,be){V(),ee!==!1&&c.animate(),ge(0),de(D.value*y.value),He(),be!==!0?d(()=>{o("hide",ee)},Cc):f()}let{show:_,hide:E}=go({showing:k,hideOnRouteChange:S,handleShow:b,handleHide:p}),{addToHistory:L,removeFromHistory:V}=ba(k,E,S),F={belowBreakpoint:g,hide:E},B=s(()=>e.side==="right"),D=s(()=>(a.lang.rtl===!0?-1:1)*(B.value===!0?1:-1)),R=q(0),C=q(!1),M=q(!1),X=q(y.value*D.value),Y=s(()=>B.value===!0?"left":"right"),T=s(()=>k.value===!0&&g.value===!1&&e.overlay===!1?e.miniToOverlay===!0?e.miniWidth:y.value:0),j=s(()=>e.overlay===!0||e.miniToOverlay===!0||c.view.value.indexOf(B.value?"R":"L")!==-1||a.platform.is.ios===!0&&c.isContainer.value===!0),J=s(()=>e.overlay===!1&&k.value===!0&&g.value===!1),ce=s(()=>e.overlay===!0&&k.value===!0&&g.value===!1),I=s(()=>"fullscreen q-drawer__backdrop"+(k.value===!1&&C.value===!1?" hidden":"")),w=s(()=>({backgroundColor:`rgba(0,0,0,${R.value*.4})`})),K=s(()=>B.value===!0?c.rows.value.top[2]==="r":c.rows.value.top[0]==="l"),N=s(()=>B.value===!0?c.rows.value.bottom[2]==="r":c.rows.value.bottom[0]==="l"),le=s(()=>{let ee={};return c.header.space===!0&&K.value===!1&&(j.value===!0?ee.top=`${c.header.offset}px`:c.header.space===!0&&(ee.top=`${c.header.size}px`)),c.footer.space===!0&&N.value===!1&&(j.value===!0?ee.bottom=`${c.footer.offset}px`:c.footer.space===!0&&(ee.bottom=`${c.footer.size}px`)),ee}),P=s(()=>{let ee={width:`${y.value}px`,transform:`translateX(${X.value}px)`};return g.value===!0?ee:Object.assign(ee,le.value)}),O=s(()=>"q-drawer__content fit "+(c.isContainer.value!==!0?"scroll":"overflow-auto")),ae=s(()=>`q-drawer q-drawer--${e.side}`+(M.value===!0?" q-drawer--mini-animate":"")+(e.bordered===!0?" q-drawer--bordered":"")+(l.value===!0?" q-drawer--dark q-dark":"")+(C.value===!0?" no-transition":k.value===!0?"":" q-layout--prevent-focus")+(g.value===!0?" fixed q-drawer--on-top q-drawer--mobile q-drawer--top-padding":` q-drawer--${x.value===!0?"mini":"standard"}`+(j.value===!0||J.value!==!0?" fixed":"")+(e.overlay===!0||e.miniToOverlay===!0?" q-drawer--on-top":"")+(K.value===!0?" q-drawer--top-padding":""))),H=s(()=>{let ee=a.lang.rtl===!0?e.side:Y.value;return[[Rt,fe,void 0,{[ee]:!0,mouse:!0}]]}),me=s(()=>{let ee=a.lang.rtl===!0?Y.value:e.side;return[[Rt,Fe,void 0,{[ee]:!0,mouse:!0}]]}),Me=s(()=>{let ee=a.lang.rtl===!0?Y.value:e.side;return[[Rt,Fe,void 0,{[ee]:!0,mouse:!0,mouseAllDir:!0}]]});function G(){ue(g,e.behavior==="mobile"||e.behavior!=="desktop"&&c.totalWidth.value<=e.breakpoint)}W(g,ee=>{ee===!0?(h=k.value,k.value===!0&&E(!1)):e.overlay===!1&&e.behavior!=="mobile"&&h!==!1&&(k.value===!0?(de(0),ge(0),He()):_(!1))}),W(()=>e.side,(ee,be)=>{c.instances[be]===F&&(c.instances[be]=void 0,c[be].space=!1,c[be].offset=0),c.instances[ee]=F,c[ee].size=y.value,c[ee].space=J.value,c[ee].offset=T.value}),W(c.totalWidth,()=>{(c.isContainer.value===!0||document.qScrollPrevented!==!0)&&G()}),W(()=>e.behavior+e.breakpoint,G),W(c.isContainer,ee=>{k.value===!0&&u(ee!==!0),ee===!0&&G()}),W(c.scrollbarWidth,()=>{de(k.value===!0?0:void 0)}),W(T,ee=>{Qe("offset",ee)}),W(J,ee=>{o("onLayout",ee),Qe("space",ee)}),W(B,()=>{de()}),W(y,ee=>{de(),ve(e.miniToOverlay,ee)}),W(()=>e.miniToOverlay,ee=>{ve(ee,y.value)}),W(()=>a.lang.rtl,()=>{de()}),W(()=>e.mini,()=>{e.noMiniAnimation||e.modelValue===!0&&(Le(),c.animate())}),W(x,ee=>{o("miniState",ee)});function de(ee){ee===void 0?$e(()=>{ee=k.value===!0?0:y.value,de(D.value*ee)}):(c.isContainer.value===!0&&B.value===!0&&(g.value===!0||Math.abs(ee)===y.value)&&(ee+=D.value*c.scrollbarWidth.value),X.value=ee)}function ge(ee){R.value=ee}function we(ee){let be=ee===!0?"remove":c.isContainer.value!==!0?"add":"";be!==""&&document.body.classList[be]("q-body--drawer-toggle")}function Le(){v!==null&&clearTimeout(v),n.proxy&&n.proxy.$el&&n.proxy.$el.classList.add("q-drawer--mini-animate"),M.value=!0,v=setTimeout(()=>{v=null,M.value=!1,n&&n.proxy&&n.proxy.$el&&n.proxy.$el.classList.remove("q-drawer--mini-animate")},150)}function fe(ee){if(k.value!==!1)return;let be=y.value,De=ot(ee.distance.x,0,be);if(ee.isFinal===!0){De>=Math.min(75,be)===!0?_():(c.animate(),ge(0),de(D.value*be)),C.value=!1;return}de((a.lang.rtl===!0?B.value!==!0:B.value)?Math.max(be-De,0):Math.min(0,De-be)),ge(ot(De/be,0,1)),ee.isFirst===!0&&(C.value=!0)}function Fe(ee){if(k.value!==!0)return;let be=y.value,De=ee.direction===e.side,ze=(a.lang.rtl===!0?De!==!0:De)?ot(ee.distance.x,0,be):0;if(ee.isFinal===!0){Math.abs(ze)<Math.min(75,be)===!0?(c.animate(),ge(1),de(0)):E(),C.value=!1;return}de(D.value*ze),ge(ot(1-ze/be,0,1)),ee.isFirst===!0&&(C.value=!0)}function He(){u(!1),we(!0)}function Qe(ee,be){c.update(e.side,ee,be)}function ue(ee,be){ee.value!==be&&(ee.value=be)}function ve(ee,be){Qe("size",ee===!0?e.miniWidth:be)}return c.instances[e.side]=F,ve(e.miniToOverlay,y.value),Qe("space",J.value),Qe("offset",T.value),e.showIfAbove===!0&&e.modelValue!==!0&&k.value===!0&&e["onUpdate:modelValue"]!==void 0&&o("update:modelValue",!0),Ne(()=>{o("onLayout",J.value),o("miniState",x.value),h=e.showIfAbove===!0;let ee=()=>{(k.value===!0?b:p)(!1,!0)};if(c.totalWidth.value!==0){$e(ee);return}m=W(c.totalWidth,()=>{m(),m=void 0,k.value===!1&&e.showIfAbove===!0&&g.value===!1?_(!1):ee()})}),Se(()=>{m!==void 0&&m(),v!==null&&(clearTimeout(v),v=null),k.value===!0&&He(),c.instances[e.side]===F&&(c.instances[e.side]=void 0,Qe("size",0),Qe("offset",0),Qe("space",!1))}),()=>{let ee=[];g.value===!0&&(e.noSwipeOpen===!1&&ee.push(Et(i("div",{key:"open",class:`q-drawer__opener fixed-${e.side}`,"aria-hidden":"true"}),H.value)),ee.push(Mt("div",{ref:"backdrop",class:I.value,style:w.value,"aria-hidden":"true",onClick:E},void 0,"backdrop",e.noSwipeBackdrop!==!0&&k.value===!0,()=>Me.value)));let be=x.value===!0&&t.mini!==void 0,De=[i("div",{...r,key:""+be,class:[O.value,r.class]},be===!0?t.mini():re(t.default))];return e.elevated===!0&&k.value===!0&&De.push(i("div",{class:"q-layout__shadow absolute-full overflow-hidden no-pointer-events"})),ee.push(Mt("aside",{ref:"content",class:ae.value,style:P.value},De,"contentclose",e.noSwipeClose!==!0&&g.value===!0,()=>me.value)),i("div",{class:"q-drawer-container"},ee)}}});function kc(e,t){if(t&&e===t)return null;let o=e.nodeName.toLowerCase();if(["div","li","ul","ol","blockquote"].includes(o)===!0)return e;let r=window.getComputedStyle?window.getComputedStyle(e):e.currentStyle,n=r.display;return n==="block"||n==="table"?e:kc(e.parentNode)}function ru(e,t,o){return!e||e===document.body?!1:o===!0&&e===t||(t===document?document.body:t).contains(e.parentNode)}function qc(e,t,o){if(o||(o=document.createRange(),o.selectNode(e),o.setStart(e,0)),t.count===0)o.setEnd(e,t.count);else if(t.count>0)if(e.nodeType===Node.TEXT_NODE)e.textContent.length<t.count?t.count-=e.textContent.length:(o.setEnd(e,t.count),t.count=0);else for(let r=0;t.count!==0&&r<e.childNodes.length;r++)o=qc(e.childNodes[r],t,o);return o}var gh=/^https?:\/\//,fi=class{constructor(t,o){this.el=t,this.eVm=o,this._range=null}get selection(){if(this.el){let t=document.getSelection();if(ru(t.anchorNode,this.el,!0)&&ru(t.focusNode,this.el,!0))return t}return null}get hasSelection(){return this.selection!==null?this.selection.toString().length!==0:!1}get range(){let t=this.selection;return t!==null&&t.rangeCount?t.getRangeAt(0):this._range}get parent(){let t=this.range;if(t!==null){let o=t.startContainer;return o.nodeType===document.ELEMENT_NODE?o:o.parentNode}return null}get blockParent(){let t=this.parent;return t!==null?kc(t,this.el):null}save(t=this.range){t!==null&&(this._range=t)}restore(t=this._range){let o=document.createRange(),r=document.getSelection();t!==null?(o.setStart(t.startContainer,t.startOffset),o.setEnd(t.endContainer,t.endOffset),r.removeAllRanges(),r.addRange(o)):(r.selectAllChildren(this.el),r.collapseToEnd())}savePosition(){let t=-1,o,r=document.getSelection(),n=this.el.parentNode;if(r.focusNode&&ru(r.focusNode,n))for(o=r.focusNode,t=r.focusOffset;o&&o!==n;)o!==this.el&&o.previousSibling?(o=o.previousSibling,t+=o.textContent.length):o=o.parentNode;this.savedPos=t}restorePosition(t=0){if(this.savedPos>0&&this.savedPos<t){let o=window.getSelection(),r=qc(this.el,{count:this.savedPos});r&&(r.collapse(!1),o.removeAllRanges(),o.addRange(r))}}hasParent(t,o){let r=o?this.parent:this.blockParent;return r!==null?r.nodeName.toLowerCase()===t.toLowerCase():!1}hasParents(t,o,r=this.parent){return r===null?!1:t.includes(r.nodeName.toLowerCase())===!0?!0:o===!0?this.hasParents(t,o,r.parentNode):!1}is(t,o){if(this.selection===null)return!1;switch(t){case"formatBlock":return o==="DIV"&&this.parent===this.el||this.hasParent(o,o==="PRE");case"link":return this.hasParent("A",!0);case"fontSize":return document.queryCommandValue(t)===o;case"fontName":let r=document.queryCommandValue(t);return r===`"${o}"`||r===o;case"fullscreen":return this.eVm.inFullscreen.value;case"viewsource":return this.eVm.isViewingSource.value;case void 0:return!1;default:let n=document.queryCommandState(t);return o!==void 0?n===o:n}}getParentAttribute(t){return this.parent!==null?this.parent.getAttribute(t):null}can(t){if(t==="outdent")return this.hasParents(["blockquote","li"],!0);if(t==="indent")return this.hasParents(["li"],!0);if(t==="link")return this.selection!==null||this.is("link")}apply(t,o,r=We){if(t==="formatBlock")["BLOCKQUOTE","H1","H2","H3","H4","H5","H6"].includes(o)&&this.is(t,o)&&(t="outdent",o=null),o==="PRE"&&this.is(t,"PRE")&&(o="P");else if(t==="print"){r();let n=window.open();n.document.write(`
8
8
  <!doctype html>
9
9
  <html>
10
10
  <head>
@@ -124,4 +124,4 @@
124
124
  ${lo}
125
125
 
126
126
  ${ne}
127
- `,document.head.appendChild(Ae);let ye="normal";B.style.animation=`${a.duration}ms ${a.easing} ${a.delay}ms ${ye} ${a.fill} ${ie}-from`,D!==void 0&&(D.style.animation=`${a.duration}ms ${a.easing} ${a.delay}ms ${ye} ${a.fill} ${ie}-from-tween`),w.style.animation=`${a.duration}ms ${a.easing} ${a.delay}ms ${ye} ${a.fill} ${ie}-to`,C.style.animation=`${a.duration}ms ${a.easing} ${a.delay}ms ${ye} ${a.fill} ${ie}`;let Ee=Oe=>{Oe===Object(Oe)&&Oe.animationName!==ie||(C.removeEventListener("animationend",Ee),C.removeEventListener("animationcancel",Ee),Z(),Ae.remove())};l.qMorphCancel=()=>{l.qMorphCancel=void 0,o=!0,Ee()},C.qMorphCancel=()=>{C.qMorphCancel=void 0,o=!0,Ee()},C.addEventListener("animationend",Ee),C.addEventListener("animationcancel",Ee),t=Oe=>o===!0||!C||!B||!w?!1:Oe===!0?(Ee(),!0):(r=r!==!0,ye=ye==="normal"?"reverse":"normal",B.style.animationDirection=ye,D.style.animationDirection=ye,w.style.animationDirection=ye,C.style.animationDirection=ye,!0)}};a.waitFor>0||a.waitFor==="transitionend"||a.waitFor===Object(a.waitFor)&&typeof a.waitFor.then=="function"?(a.waitFor>0?new Promise(ce=>setTimeout(ce,a.waitFor)):a.waitFor==="transitionend"?new Promise(ce=>{let I=()=>{w!==null&&(clearTimeout(w),w=null),C&&(C.removeEventListener("transitionend",I),C.removeEventListener("transitioncancel",I)),ce()},w=setTimeout(I,400);C.addEventListener("transitionend",I),C.addEventListener("transitioncancel",I)}):a.waitFor).then(j).catch(()=>{typeof C.qMorphCancel=="function"&&C.qMorphCancel()}):j()};return typeof e.onToggle=="function"&&e.onToggle(),requestAnimationFrame(R),C=>t(C)}var nl={},Ep=["duration","delay","easing","fill","classes","style","duration","resize","useCSS","hideFromClone","keepToClone","tween","tweenFromOpacity","tweenToOpacity","waitFor","onEnd"],Bp=["resize","useCSS","hideFromClone","keepToClone","tween"];function Hr(e,t){e.clsAction!==t&&(e.clsAction=t,e.el.classList[t]("q-morph--invisible"))}function om(e){if(e.animating===!0||e.queue.length<2)return;let[t,o]=e.queue;e.animating=!0,t.animating=!0,o.animating=!0,Hr(t,"remove"),Hr(o,"remove");let r=gi({from:t.el,to:o.el,onToggle(){Hr(t,"add"),Hr(o,"remove")},...o.opts,onEnd(n,a){o.opts.onEnd!==void 0&&o.opts.onEnd(n,a),a!==!0&&(t.animating=!1,o.animating=!1,e.animating=!1,e.cancel=void 0,e.queue.shift(),om(e))}});e.cancel=()=>{r(!0),e.cancel=void 0}}function nm(e,t){let o=t.opts;Bp.forEach(r=>{o[r]=e[r]===!0})}function Lp(e,t){let o=typeof e=="string"&&e.length!==0?e.split(":"):[];t.name=o[0],t.group=o[1],Object.assign(t.opts,{duration:isNaN(o[2])===!0?300:parseFloat(o[2]),waitFor:o[3]})}function Fp(e,t){e.group!==void 0&&(t.group=e.group),e.name!==void 0&&(t.name=e.name);let o=t.opts;Ep.forEach(r=>{e[r]!==void 0&&(o[r]=e[r])})}function Dp(e,t){if(t.name===e){let o=nl[t.group];o===void 0?(nl[t.group]={name:t.group,model:e,queue:[t],animating:!1},Hr(t,"remove")):o.model!==e&&(o.model=e,o.queue.push(t),o.animating===!1&&o.queue.length===2&&om(o));return}t.animating===!1&&Hr(t,"add")}function tm(e,t){let o;Object(t)===t?(o=""+t.model,Fp(t,e),nm(t,e)):o=""+t,o!==e.model?(e.model=o,Dp(o,e)):e.animating===!1&&e.clsAction!==void 0&&e.el.classList[e.clsAction]("q-morph--invisible")}var rm=At({name:"morph",mounted(e,t){let o={el:e,animating:!1,opts:{}};nm(t.modifiers,o),Lp(t.arg,o),tm(o,t.value),e.__qmorph=o},updated(e,t){tm(e.__qmorph,t.value)},beforeUnmount(e){let t=e.__qmorph,o=nl[t.group];o!==void 0&&o.queue.indexOf(t)!==-1&&(o.queue=o.queue.filter(n=>n!==t),o.queue.length===0&&(o.cancel!==void 0&&o.cancel(),delete nl[t.group])),t.clsAction==="add"&&e.classList.remove("q-morph--invisible"),delete e.__qmorph}});var Vp={childList:!0,subtree:!0,attributes:!0,characterData:!0,attributeOldValue:!0,characterDataOldValue:!0};function im(e,t,o){t.handler=o,t.observer!==void 0&&t.observer.disconnect(),t.observer=new MutationObserver(r=>{typeof t.handler=="function"&&(t.handler(r)===!1||t.once===!0)&&am(e)}),t.observer.observe(e,t.opts)}function am(e){let t=e.__qmutation;t!==void 0&&(t.observer!==void 0&&t.observer.disconnect(),delete e.__qmutation)}var lm=At({name:"mutation",mounted(e,{modifiers:{once:t,...o},value:r}){let n={once:t,opts:Object.keys(o).length===0?Vp:o};im(e,n,r),e.__qmutation=n},updated(e,{oldValue:t,value:o}){let r=e.__qmutation;r!==void 0&&t!==o&&im(e,r,o)},beforeUnmount:am});var{passive:rl}=et;function um(e,{value:t,oldValue:o}){if(typeof t!="function"){e.scrollTarget.removeEventListener("scroll",e.scroll,rl);return}e.handler=t,typeof o!="function"&&(e.scrollTarget.addEventListener("scroll",e.scroll,rl),e.scroll())}var sm=At({name:"scroll-fire",mounted(e,t){let o={scrollTarget:Bt(e),scroll:Zt(()=>{let r,n;o.scrollTarget===window?(n=e.getBoundingClientRect().bottom,r=window.innerHeight):(n=Cn(e).top+Po(e),r=Cn(o.scrollTarget).top+Po(o.scrollTarget)),n>0&&n<r&&(o.scrollTarget.removeEventListener("scroll",o.scroll,rl),o.handler(e))},25)};um(o,t),e.__qscrollfire=o},updated(e,t){t.value!==t.oldValue&&um(e.__qscrollfire,t)},beforeUnmount(e){let t=e.__qscrollfire;t.scrollTarget.removeEventListener("scroll",t.scroll,rl),t.scroll.cancel(),delete e.__qscrollfire}});function cm(e,{value:t,oldValue:o}){if(typeof t!="function"){e.scrollTarget.removeEventListener("scroll",e.scroll,et.passive);return}e.handler=t,typeof o!="function"&&e.scrollTarget.addEventListener("scroll",e.scroll,et.passive)}var dm=At({name:"scroll",mounted(e,t){let o={scrollTarget:Bt(e),scroll(){o.handler(eo(o.scrollTarget),sn(o.scrollTarget))}};cm(o,t),e.__qscroll=o},updated(e,t){e.__qscroll!==void 0&&t.oldValue!==t.value&&cm(e.__qscroll,t)},beforeUnmount(e){let t=e.__qscroll;t.scrollTarget.removeEventListener("scroll",t.scroll,et.passive),delete e.__qscroll}});var fm=At({name:"touch-hold",beforeMount(e,t){let{modifiers:o}=t;if(o.mouse!==!0&&Re.has.touch!==!0)return;let r={handler:t.value,noop:We,mouseStart(a){typeof r.handler=="function"&&Ko(a)===!0&&(dt(r,"temp",[[document,"mousemove","move","passiveCapture"],[document,"click","end","notPassiveCapture"]]),r.start(a,!0))},touchStart(a){if(a.target!==void 0&&typeof r.handler=="function"){let l=a.target;dt(r,"temp",[[l,"touchmove","move","passiveCapture"],[l,"touchcancel","end","notPassiveCapture"],[l,"touchend","end","notPassiveCapture"]]),r.start(a)}},start(a,l){r.origin=_t(a);let u=Date.now();Re.is.mobile===!0&&(document.body.classList.add("non-selectable"),Ot(),r.styleCleanup=d=>{r.styleCleanup=void 0;let f=()=>{document.body.classList.remove("non-selectable")};d===!0?(Ot(),setTimeout(f,10)):f()}),r.triggered=!1,r.sensitivity=l===!0?r.mouseSensitivity:r.touchSensitivity,r.timer=setTimeout(()=>{r.timer=void 0,Ot(),r.triggered=!0,r.handler({evt:a,touch:l!==!0,mouse:l===!0,position:r.origin,duration:Date.now()-u})},r.duration)},move(a){let{top:l,left:u}=_t(a);r.timer!==void 0&&(Math.abs(u-r.origin.left)>=r.sensitivity||Math.abs(l-r.origin.top)>=r.sensitivity)&&(clearTimeout(r.timer),r.timer=void 0)},end(a){qt(r,"temp"),r.styleCleanup!==void 0&&r.styleCleanup(r.triggered),r.triggered===!0?a!==void 0&&qe(a):r.timer!==void 0&&(clearTimeout(r.timer),r.timer=void 0)}},n=[600,5,7];if(typeof t.arg=="string"&&t.arg.length!==0&&t.arg.split(":").forEach((a,l)=>{let u=parseInt(a,10);u&&(n[l]=u)}),[r.duration,r.touchSensitivity,r.mouseSensitivity]=n,e.__qtouchhold=r,o.mouse===!0){let a=o.mouseCapture===!0||o.mousecapture===!0?"Capture":"";dt(r,"main",[[e,"mousedown","mouseStart",`passive${a}`]])}Re.has.touch===!0&&dt(r,"main",[[e,"touchstart","touchStart",`passive${o.capture===!0?"Capture":""}`],[e,"touchend","noop","notPassiveCapture"]])},updated(e,t){let o=e.__qtouchhold;o!==void 0&&t.oldValue!==t.value&&(typeof t.value!="function"&&o.end(),o.handler=t.value)},beforeUnmount(e){let t=e.__qtouchhold;t!==void 0&&(qt(t,"main"),qt(t,"temp"),t.timer!==void 0&&clearTimeout(t.timer),t.styleCleanup!==void 0&&t.styleCleanup(),delete e.__qtouchhold)}});var mm={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},zp=new RegExp(`^([\\d+]+|${Object.keys(mm).join("|")})$`,"i");function Op(e,t){let{top:o,left:r}=_t(e);return Math.abs(r-t.left)>=7||Math.abs(o-t.top)>=7}var vm=At({name:"touch-repeat",beforeMount(e,{modifiers:t,value:o,arg:r}){let n=Object.keys(t).reduce((d,f)=>{if(zp.test(f)===!0){let c=isNaN(parseInt(f,10))?mm[f.toLowerCase()]:parseInt(f,10);c>=0&&d.push(c)}return d},[]);if(t.mouse!==!0&&Re.has.touch!==!0&&n.length===0)return;let a=typeof r=="string"&&r.length!==0?r.split(":").map(d=>parseInt(d,10)):[0,600,300],l=a.length-1,u={keyboard:n,handler:o,noop:We,mouseStart(d){u.event===void 0&&typeof u.handler=="function"&&Ko(d)===!0&&(dt(u,"temp",[[document,"mousemove","move","passiveCapture"],[document,"click","end","notPassiveCapture"]]),u.start(d,!0))},keyboardStart(d){if(typeof u.handler=="function"&&Tt(d,n)===!0){if((a[0]===0||u.event!==void 0)&&(qe(d),e.focus(),u.event!==void 0))return;dt(u,"temp",[[document,"keyup","end","notPassiveCapture"],[document,"click","end","notPassiveCapture"]]),u.start(d,!1,!0)}},touchStart(d){if(d.target!==void 0&&typeof u.handler=="function"){let f=d.target;dt(u,"temp",[[f,"touchmove","move","passiveCapture"],[f,"touchcancel","end","notPassiveCapture"],[f,"touchend","end","notPassiveCapture"]]),u.start(d)}},start(d,f,c){c!==!0&&(u.origin=_t(d));function h(m){u.styleCleanup=void 0,document.documentElement.style.cursor="";let g=()=>{document.body.classList.remove("non-selectable")};m===!0?(Ot(),setTimeout(g,10)):g()}Re.is.mobile===!0&&(document.body.classList.add("non-selectable"),Ot(),u.styleCleanup=h),u.event={touch:f!==!0&&c!==!0,mouse:f===!0,keyboard:c===!0,startTime:Date.now(),repeatCount:0};let v=()=>{if(u.timer=void 0,u.event===void 0)return;u.event.repeatCount===0&&(u.event.evt=d,c===!0?u.event.keyCode=d.keyCode:u.event.position=_t(d),Re.is.mobile!==!0&&(document.documentElement.style.cursor="pointer",document.body.classList.add("non-selectable"),Ot(),u.styleCleanup=h)),u.event.duration=Date.now()-u.event.startTime,u.event.repeatCount+=1,u.handler(u.event);let m=l<u.event.repeatCount?l:u.event.repeatCount;u.timer=setTimeout(v,a[m])};a[0]===0?v():u.timer=setTimeout(v,a[0])},move(d){u.event!==void 0&&u.timer!==void 0&&Op(d,u.origin)===!0&&(clearTimeout(u.timer),u.timer=void 0)},end(d){u.event!==void 0&&(u.styleCleanup!==void 0&&u.styleCleanup(!0),d!==void 0&&u.event.repeatCount>0&&qe(d),qt(u,"temp"),u.timer!==void 0&&(clearTimeout(u.timer),u.timer=void 0),u.event=void 0)}};if(e.__qtouchrepeat=u,t.mouse===!0){let d=t.mouseCapture===!0||t.mousecapture===!0?"Capture":"";dt(u,"main",[[e,"mousedown","mouseStart",`passive${d}`]])}if(Re.has.touch===!0&&dt(u,"main",[[e,"touchstart","touchStart",`passive${t.capture===!0?"Capture":""}`],[e,"touchend","noop","passiveCapture"]]),n.length!==0){let d=t.keyCapture===!0||t.keycapture===!0?"Capture":"";dt(u,"main",[[e,"keydown","keyboardStart",`notPassive${d}`]])}},updated(e,{oldValue:t,value:o}){let r=e.__qtouchrepeat;r!==void 0&&t!==o&&(typeof o!="function"&&r.end(),r.handler=o)},beforeUnmount(e){let t=e.__qtouchrepeat;t!==void 0&&(t.timer!==void 0&&clearTimeout(t.timer),qt(t,"main"),qt(t,"temp"),t.styleCleanup!==void 0&&t.styleCleanup(),delete e.__qtouchrepeat)}});var gl={};jr(gl,{AddressbarColor:()=>gm,AppFullscreen:()=>ym,AppVisibility:()=>xm,BottomSheet:()=>wm,Cookies:()=>Pm,Dark:()=>ki,Dialog:()=>$m,IconSet:()=>Nn,Lang:()=>Yo,Loading:()=>Fm,LoadingBar:()=>Dm,LocalStorage:()=>Wm,Meta:()=>Om,Notify:()=>jm,Platform:()=>Mo,Screen:()=>wi,SessionStorage:()=>Gm});function hi(e,t=document.body){if(typeof e!="string")throw new TypeError("Expected a string as propName");if(!(t instanceof Element))throw new TypeError("Expected a DOM element");return getComputedStyle(t).getPropertyValue(`--q-${e}`).trim()||null}var al;function Ip(){return Re.is.winphone?"msapplication-navbutton-color":Re.is.safari?"apple-mobile-web-app-status-bar-style":"theme-color"}function Hp(e){let t=document.getElementsByTagName("META");for(let o in t)if(t[o].name===e)return t[o]}function Qp(e){al===void 0&&(al=Ip());let t=Hp(al),o=t===void 0;o&&(t=document.createElement("meta"),t.setAttribute("name",al)),t.setAttribute("content",e),o&&document.head.appendChild(t)}var gm={set:Re.is.mobile===!0&&(Re.is.nativeMobile===!0||Re.is.winphone===!0||Re.is.safari===!0||Re.is.webkit===!0||Re.is.vivaldi===!0)?e=>{let t=e||hi("primary");Re.is.nativeMobile===!0&&window.StatusBar?window.StatusBar.backgroundColorByHexString(t):Qp(t)}:We,install({$q:e}){e.addressbarColor=this,e.config.addressbarColor&&this.set(e.config.addressbarColor)}};var pi={};function Np(e){Object.assign(Ht,{request:e,exit:e,toggle:e})}function pm(){return document.fullscreenElement||document.mozFullScreenElement||document.webkitFullscreenElement||document.msFullscreenElement||null}function bm(){let e=Ht.activeEl=Ht.isActive===!1?null:pm();Ms(e===null||e===document.documentElement?document.body:e)}function jp(){Ht.isActive=Ht.isActive===!1,bm()}function hm(e,t){try{let o=e[t]();return o===void 0?Promise.resolve():o}catch(o){return Promise.reject(o)}}var Ht=jt({isActive:!1,activeEl:null},{isCapable:!1,install({$q:e}){e.fullscreen=this}});pi.request=["requestFullscreen","msRequestFullscreen","mozRequestFullScreen","webkitRequestFullscreen"].find(e=>document.documentElement[e]!==void 0),Ht.isCapable=pi.request!==void 0,Ht.isCapable===!1?Np(()=>Promise.reject("Not capable")):(Object.assign(Ht,{request(e){let t=e||document.documentElement,{activeEl:o}=Ht;return t===o?Promise.resolve():(o!==null&&t.contains(o)===!0?Ht.exit():Promise.resolve()).finally(()=>hm(t,pi.request))},exit(){return Ht.isActive===!0?hm(document,pi.exit):Promise.resolve()},toggle(e){return Ht.isActive===!0?Ht.exit():Ht.request(e)}}),pi.exit=["exitFullscreen","msExitFullscreen","mozCancelFullScreen","webkitExitFullscreen"].find(e=>document[e]),Ht.isActive=!!pm(),Ht.isActive===!0&&bm(),["onfullscreenchange","onmsfullscreenchange","onwebkitfullscreenchange"].forEach(e=>{document[e]=jp}));var ym=Ht;var Sm=jt({appVisible:!0},{install({$q:e}){st(e,"appVisible",()=>this.appVisible)}});{let e,t;if(typeof document.hidden<"u"?(e="hidden",t="visibilitychange"):typeof document.msHidden<"u"?(e="msHidden",t="msvisibilitychange"):typeof document.webkitHidden<"u"&&(e="webkitHidden",t="webkitvisibilitychange"),t&&typeof document[e]<"u"){let o=()=>{Sm.appVisible=!document[e]};document.addEventListener(t,o,!1)}}var xm=Sm;var _m=$({name:"BottomSheetComponent",props:{..._e,title:String,message:String,actions:Array,grid:Boolean,cardClass:[String,Array,Object],cardStyle:[String,Array,Object]},emits:["ok","hide"],setup(e,{emit:t}){let{proxy:o}=U(),r=Ce(e,o.$q),n=q(null);function a(){n.value.show()}function l(){n.value.hide()}function u(m){t("ok",m),l()}function d(){t("hide")}function f(){return e.actions.map(m=>{let g=m.avatar||m.img;return m.label===void 0?i(io,{class:"col-all",dark:r.value}):i("div",{class:["q-bottom-sheet__item q-hoverable q-focusable cursor-pointer relative-position",m.class],style:m.style,tabindex:0,role:"listitem",onClick(){u(m)},onKeyup(x){x.keyCode===13&&u(m)}},[i("div",{class:"q-focus-helper"}),m.icon?i(Pe,{name:m.icon,color:m.color}):g?i("img",{class:m.avatar?"q-bottom-sheet__avatar":"",src:g}):i("div",{class:"q-bottom-sheet__empty-icon"}),i("div",m.label)])})}function c(){return e.actions.map(m=>{let g=m.avatar||m.img;return m.label===void 0?i(io,{spaced:!0,dark:r.value}):i(Qo,{class:["q-bottom-sheet__item",m.classes],style:m.style,tabindex:0,clickable:!0,dark:r.value,onClick(){u(m)}},()=>[i(oo,{avatar:!0},()=>m.icon?i(Pe,{name:m.icon,color:m.color}):g?i("img",{class:m.avatar?"q-bottom-sheet__avatar":"",src:g}):null),i(oo,()=>m.label)])})}function h(){let m=[];return e.title&&m.push(i(So,{class:"q-dialog__title"},()=>e.title)),e.message&&m.push(i(So,{class:"q-dialog__message"},()=>e.message)),m.push(e.grid===!0?i("div",{class:"row items-stretch justify-start",role:"list"},f()):i("div",{role:"list"},c())),m}function v(){return[i(pr,{class:[`q-bottom-sheet q-bottom-sheet--${e.grid===!0?"grid":"list"}`+(r.value===!0?" q-bottom-sheet--dark q-dark":""),e.cardClass],style:e.cardStyle},h)]}return Object.assign(o,{show:a,hide:l}),()=>i(Ho,{ref:n,position:"bottom",onHide:d},v)}});function Cm(e,t){for(let o in t)o!=="spinner"&&Object(t[o])===t[o]?(e[o]=Object(e[o])!==e[o]?{}:{...e[o]},Cm(e[o],t[o])):e[o]=t[o]}function ll(e,t,o){return r=>{let n,a,l=t===!0&&r.component!==void 0;if(l===!0){let{component:S,componentProps:b}=r;n=typeof S=="string"?o.component(S):S,a=b||{}}else{let{class:S,style:b,...p}=r;n=e,a=p,S!==void 0&&(p.cardClass=S),b!==void 0&&(p.cardStyle=b)}let u,d=!1,f=q(null),c=$o(!1,"dialog"),h=S=>{if(f.value!==null&&f.value[S]!==void 0){f.value[S]();return}let b=u.$.subTree;if(b&&b.component){if(b.component.proxy&&b.component.proxy[S]){b.component.proxy[S]();return}if(b.component.subTree&&b.component.subTree.component&&b.component.subTree.component.proxy&&b.component.subTree.component.proxy[S]){b.component.subTree.component.proxy[S]();return}}console.error("[Quasar] Incorrectly defined Dialog component")},v=[],m=[],g={onOk(S){return v.push(S),g},onCancel(S){return m.push(S),g},onDismiss(S){return v.push(S),m.push(S),g},hide(){return h("hide"),g},update(S){if(u!==null){if(l===!0)Object.assign(a,S);else{let{class:b,style:p,..._}=S;b!==void 0&&(_.cardClass=b),p!==void 0&&(_.cardStyle=p),Cm(a,_)}u.$forceUpdate()}return g}},x=S=>{d=!0,v.forEach(b=>{b(S)})},y=()=>{k.unmount(c),ar(c),k=null,u=null,d!==!0&&m.forEach(S=>{S()})},k=nn({name:"QGlobalDialog",setup:()=>()=>i(n,{...a,ref:f,onOk:x,onHide:y,onVnodeMounted(...S){typeof a.onVnodeMounted=="function"&&a.onVnodeMounted(...S),$e(()=>h("show"))}})},o);return u=k.mount(c),g}}var wm={install({$q:e,parentApp:t}){e.bottomSheet=this.create=ll(_m,!1,t)}};function km(e){return encodeURIComponent(e)}function qm(e){return decodeURIComponent(e)}function Up(e){return km(e===Object(e)?JSON.stringify(e):""+e)}function Kp(e){if(e==="")return e;e.indexOf('"')===0&&(e=e.slice(1,-1).replace(/\\"/g,'"').replace(/\\\\/g,"\\")),e=qm(e.replace(/\+/g," "));try{let t=JSON.parse(e);(t===Object(t)||Array.isArray(t)===!0)&&(e=t)}catch{}return e}function Tm(e){let t=new Date;return t.setMilliseconds(t.getMilliseconds()+e),t.toUTCString()}function Wp(e){let t=0,o=e.match(/(\d+)d/),r=e.match(/(\d+)h/),n=e.match(/(\d+)m/),a=e.match(/(\d+)s/);return o&&(t+=o[1]*864e5),r&&(t+=r[1]*36e5),n&&(t+=n[1]*6e4),a&&(t+=a[1]*1e3),t===0?e:Tm(t)}function Mm(e,t,o={},r){let n,a;o.expires!==void 0&&(Object.prototype.toString.call(o.expires)==="[object Date]"?n=o.expires.toUTCString():typeof o.expires=="string"?n=Wp(o.expires):(a=parseFloat(o.expires),n=isNaN(a)===!1?Tm(a*864e5):o.expires));let l=`${km(e)}=${Up(t)}`,u=[l,n!==void 0?"; Expires="+n:"",o.path?"; Path="+o.path:"",o.domain?"; Domain="+o.domain:"",o.sameSite?"; SameSite="+o.sameSite:"",o.httpOnly?"; HttpOnly":"",o.secure?"; Secure":"",o.other?"; "+o.other:""].join("");if(r){r.req.qCookies?r.req.qCookies.push(u):r.req.qCookies=[u],r.res.setHeader("Set-Cookie",r.req.qCookies);let d=r.req.headers.cookie||"";if(n!==void 0&&a<0){let f=ul(e,r);f!==void 0&&(d=d.replace(`${e}=${f}; `,"").replace(`; ${e}=${f}`,"").replace(`${e}=${f}`,""))}else d=d?`${l}; ${d}`:u;r.req.headers.cookie=d}else document.cookie=u}function ul(e,t){let o=t?t.req.headers:document,r=o.cookie?o.cookie.split("; "):[],n=r.length,a=e?null:{},l=0,u,d,f;for(;l<n;l++)if(u=r[l].split("="),d=qm(u.shift()),f=u.join("="),!e)a[d]=f;else if(e===d){a=Kp(f);break}return a}function Yp(e,t,o){Mm(e,"",{expires:-1,...t},o)}function Xp(e,t){return ul(e,t)!==null}function Gp(e){return{get:t=>ul(t,e),set:(t,o,r)=>Mm(t,o,r,e),has:t=>Xp(t,e),remove:(t,o)=>Yp(t,o,e),getAll:()=>ul(null,e)}}var Rm={install({$q:e,ssrContext:t}){e.cookies=this}};Object.assign(Rm,Gp());var Pm=Rm;var Am=$({name:"DialogPluginComponent",props:{..._e,title:String,message:String,prompt:Object,options:Object,progress:[Boolean,Object],html:Boolean,ok:{type:[String,Object,Boolean],default:!0},cancel:[String,Object,Boolean],focus:{type:String,default:"ok",validator:e=>["ok","cancel","none"].includes(e)},stackButtons:Boolean,color:String,cardClass:[String,Array,Object],cardStyle:[String,Array,Object]},emits:["ok","hide"],setup(e,{emit:t}){let{proxy:o}=U(),{$q:r}=o,n=Ce(e,r),a=q(null),l=q(e.prompt!==void 0?e.prompt.model:e.options!==void 0?e.options.model:void 0),u=s(()=>"q-dialog-plugin"+(n.value===!0?" q-dialog-plugin--dark q-dark":"")+(e.progress!==!1?" q-dialog-plugin--progress":"")),d=s(()=>e.color||(n.value===!0?"amber":"primary")),f=s(()=>e.progress===!1?null:ct(e.progress)===!0?{component:e.progress.spinner||wt,props:{color:e.progress.color||d.value}}:{component:wt,props:{color:d.value}}),c=s(()=>e.prompt!==void 0||e.options!==void 0),h=s(()=>{if(c.value!==!0)return{};let{model:M,isValid:X,items:Y,...T}=e.prompt!==void 0?e.prompt:e.options;return T}),v=s(()=>ct(e.ok)===!0||e.ok===!0?r.lang.label.ok:e.ok),m=s(()=>ct(e.cancel)===!0||e.cancel===!0?r.lang.label.cancel:e.cancel),g=s(()=>e.prompt!==void 0?e.prompt.isValid!==void 0&&e.prompt.isValid(l.value)!==!0:e.options!==void 0?e.options.isValid!==void 0&&e.options.isValid(l.value)!==!0:!1),x=s(()=>({color:d.value,label:v.value,ripple:!1,disable:g.value,...ct(e.ok)===!0?e.ok:{flat:!0},"data-autofocus":e.focus==="ok"&&c.value!==!0||void 0,onClick:b})),y=s(()=>({color:d.value,label:m.value,ripple:!1,...ct(e.cancel)===!0?e.cancel:{flat:!0},"data-autofocus":e.focus==="cancel"&&c.value!==!0||void 0,onClick:p}));W(()=>e.prompt&&e.prompt.model,E),W(()=>e.options&&e.options.model,E);function k(){a.value.show()}function S(){a.value.hide()}function b(){t("ok",so(l.value)),S()}function p(){S()}function _(){t("hide")}function E(M){l.value=M}function L(M){g.value!==!0&&e.prompt.type!=="textarea"&&Tt(M,13)===!0&&b()}function V(M,X){return e.html===!0?i(So,{class:M,innerHTML:X}):i(So,{class:M},()=>X)}function F(){return[i(Dr,{color:d.value,dense:!0,autofocus:!0,dark:n.value,...h.value,modelValue:l.value,"onUpdate:modelValue":E,onKeyup:L})]}function B(){return[i(za,{color:d.value,options:e.options.items,dark:n.value,...h.value,modelValue:l.value,"onUpdate:modelValue":E})]}function D(){let M=[];return e.cancel&&M.push(i(Ie,y.value)),e.ok&&M.push(i(Ie,x.value)),i(Yi,{class:e.stackButtons===!0?"items-end":"",vertical:e.stackButtons,align:"right"},()=>M)}function R(){let M=[];return e.title&&M.push(V("q-dialog__title",e.title)),e.progress!==!1&&M.push(i(So,{class:"q-dialog__progress"},()=>i(f.value.component,f.value.props))),e.message&&M.push(V("q-dialog__message",e.message)),e.prompt!==void 0?M.push(i(So,{class:"scroll q-dialog-plugin__form"},F)):e.options!==void 0&&M.push(i(io,{dark:n.value}),i(So,{class:"scroll q-dialog-plugin__form"},B),i(io,{dark:n.value})),(e.ok||e.cancel)&&M.push(D()),M}function C(){return[i(pr,{class:[u.value,e.cardClass],style:e.cardStyle,dark:n.value},R)]}return Object.assign(o,{show:k,hide:S}),()=>i(Ho,{ref:a,onHide:_},C)}});var $m={install({$q:e,parentApp:t}){e.dialog=this.create=ll(Am,!0,t)}};var Qr,mu,Em=0,zn=null,Vt={},On={},Bm={group:"__default_quasar_group__",delay:0,message:!1,html:!1,spinnerSize:80,spinnerColor:"",messageColor:"",backgroundColor:"",boxClass:"",spinner:wt,customClass:""},Lm={...Bm};function Zp(e){if(e&&e.group!==void 0&&On[e.group]!==void 0)return Object.assign(On[e.group],e);let t=ct(e)===!0&&e.ignoreDefaults===!0?{...Bm,...e}:{...Lm,...e};return On[t.group]=t,t}var Co=jt({isActive:!1},{show(e){Vt=Zp(e);let{group:t}=Vt;return Co.isActive=!0,Qr!==void 0?(Vt.uid=Em,mu.$forceUpdate()):(Vt.uid=++Em,zn!==null&&clearTimeout(zn),zn=setTimeout(()=>{zn=null;let o=$o("q-loading");Qr=nn({name:"QLoading",setup(){Ne(()=>{di(!0)});function r(){Co.isActive!==!0&&Qr!==void 0&&(di(!1),Qr.unmount(o),ar(o),Qr=void 0,mu=void 0)}function n(){if(Co.isActive!==!0)return null;let a=[i(Vt.spinner,{class:"q-loading__spinner",color:Vt.spinnerColor,size:Vt.spinnerSize})];return Vt.message&&a.push(i("div",{class:"q-loading__message"+(Vt.messageColor?` text-${Vt.messageColor}`:""),[Vt.html===!0?"innerHTML":"textContent"]:Vt.message})),i("div",{class:"q-loading fullscreen flex flex-center z-max "+Vt.customClass.trim(),key:Vt.uid},[i("div",{class:"q-loading__backdrop"+(Vt.backgroundColor?` bg-${Vt.backgroundColor}`:"")}),i("div",{class:"q-loading__box column items-center "+Vt.boxClass},a)])}return()=>i(lt,{name:"q-transition--fade",appear:!0,onAfterLeave:r},n)}},Co.__parentApp),mu=Qr.mount(o)},Vt.delay)),o=>{if(o===void 0||Object(o)!==o){Co.hide(t);return}Co.show({...o,group:t})}},hide(e){if(Co.isActive===!0){if(e===void 0)On={};else{if(On[e]===void 0)return;{delete On[e];let t=Object.keys(On);if(t.length!==0){let o=t[t.length-1];Co.show({group:o});return}}}zn!==null&&(clearTimeout(zn),zn=null),Co.isActive=!1}},setDefaults(e){ct(e)===!0&&Object.assign(Lm,e)},install({$q:e,parentApp:t}){e.loading=this,Co.__parentApp=t,e.config.loading!==void 0&&this.setDefaults(e.config.loading)}}),Fm=Co;var sl=q(null),vu=jt({isActive:!1},{start:We,stop:We,increment:We,setDefaults:We,install({$q:e,parentApp:t}){if(e.loadingBar=this,this.__installed===!0){e.config.loadingBar!==void 0&&this.setDefaults(e.config.loadingBar);return}let o=q(e.config.loadingBar!==void 0?{...e.config.loadingBar}:{});function r(){vu.isActive=!0}function n(){vu.isActive=!1}let a=$o("q-loading-bar");nn({name:"LoadingBar",devtools:{hide:!0},setup:()=>()=>i(Bi,{...o.value,onStart:r,onStop:n,ref:sl})},t).mount(a),Object.assign(this,{start(l){sl.value.start(l)},stop(){sl.value.stop()},increment(){sl.value.increment.apply(null,arguments)},setDefaults(l){ct(l)===!0&&Object.assign(o.value,l)}})}}),Dm=vu;var cl=null,gu,wo=[];function Jp(e){e.title&&(e.title=e.titleTemplate?e.titleTemplate(e.title):e.title,delete e.titleTemplate),[["meta","content"],["link","href"]].forEach(t=>{let o=e[t[0]],r=t[1];for(let n in o){let a=o[n];a.template&&(Object.keys(a).length===1?delete o[n]:(a[r]=a.template(a[r]||""),delete a.template))}})}function e0(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!0;for(let o in e)if(e[o]!==t[o])return!0}function Vm(e){return["class","style"].includes(e)===!1}function zm(e){return["lang","dir"].includes(e)===!1}function t0(e,t){let o={},r={};return e===void 0?{add:t,remove:r}:(e.title!==t.title&&(o.title=t.title),["meta","link","script","htmlAttr","bodyAttr"].forEach(n=>{let a=e[n],l=t[n];if(r[n]=[],a==null){o[n]=l;return}o[n]={};for(let u in a)l.hasOwnProperty(u)===!1&&r[n].push(u);for(let u in l)a.hasOwnProperty(u)===!1?o[n][u]=l[u]:e0(a[u],l[u])===!0&&(r[n].push(u),o[n][u]=l[u])}),{add:o,remove:r})}function o0({add:e,remove:t}){e.title&&(document.title=e.title),Object.keys(t).length!==0&&(["meta","link","script"].forEach(o=>{t[o].forEach(r=>{document.head.querySelector(`${o}[data-qmeta="${r}"]`).remove()})}),t.htmlAttr.filter(zm).forEach(o=>{document.documentElement.removeAttribute(o)}),t.bodyAttr.filter(Vm).forEach(o=>{document.body.removeAttribute(o)})),["meta","link","script"].forEach(o=>{let r=e[o];for(let n in r){let a=document.createElement(o);for(let l in r[n])l!=="innerHTML"&&a.setAttribute(l,r[n][l]);a.setAttribute("data-qmeta",n),o==="script"&&(a.innerHTML=r[n].innerHTML||""),document.head.appendChild(a)}}),Object.keys(e.htmlAttr).filter(zm).forEach(o=>{document.documentElement.setAttribute(o,e.htmlAttr[o]||"")}),Object.keys(e.bodyAttr).filter(Vm).forEach(o=>{document.body.setAttribute(o,e.bodyAttr[o]||"")})}function n0(){cl=null;let e={title:"",titleTemplate:null,meta:{},link:{},script:{},htmlAttr:{},bodyAttr:{}};for(let t=0;t<wo.length;t++){let{active:o,val:r}=wo[t];o===!0&&vn(!0,e,r)}Jp(e),o0(t0(gu,e)),gu=e}function ao(){cl!==null&&clearTimeout(cl),cl=setTimeout(n0,50)}var Om={install(e){this.__installed!==!0&&xt.value===!0&&(gu=window.__Q_META__,document.getElementById("qmeta-init").remove())}};var r0=0,dl={},fl={},ko={},Hm={},i0=/^\s*$/,Qm=[],a0=[void 0,null,!0,!1,""],hu=["top-left","top-right","bottom-left","bottom-right","top","bottom","left","right","center"],l0=["top-left","top-right","bottom-left","bottom-right"],Nr={positive:{icon:e=>e.iconSet.type.positive,color:"positive"},negative:{icon:e=>e.iconSet.type.negative,color:"negative"},warning:{icon:e=>e.iconSet.type.warning,color:"warning",textColor:"dark"},info:{icon:e=>e.iconSet.type.info,color:"info"},ongoing:{group:!1,timeout:0,spinner:!0,color:"grey-8"}};function Nm(e,t,o){if(!e)return bi("parameter required");let r,n={textColor:"white"};if(e.ignoreDefaults!==!0&&Object.assign(n,dl),ct(e)===!1&&(n.type&&Object.assign(n,Nr[n.type]),e={message:e}),Object.assign(n,Nr[e.type||n.type],e),typeof n.icon=="function"&&(n.icon=n.icon(t)),n.spinner?(n.spinner===!0&&(n.spinner=wt),n.spinner=Ur(n.spinner)):n.spinner=!1,n.meta={hasMedia:!!(n.spinner!==!1||n.icon||n.avatar),hasText:Im(n.message)||Im(n.caption)},n.position){if(hu.includes(n.position)===!1)return bi("wrong position",e)}else n.position="bottom";if(a0.includes(n.timeout)===!0)n.timeout=5e3;else{let d=Number(n.timeout);if(isNaN(d)||d<0)return bi("wrong timeout",e);n.timeout=Number.isFinite(d)?d:0}n.timeout===0?n.progress=!1:n.progress===!0&&(n.meta.progressClass="q-notification__progress"+(n.progressClass?` ${n.progressClass}`:""),n.meta.progressStyle={animationDuration:`${n.timeout+1e3}ms`});let a=(Array.isArray(e.actions)===!0?e.actions:[]).concat(e.ignoreDefaults!==!0&&Array.isArray(dl.actions)===!0?dl.actions:[]).concat(Nr[e.type]!==void 0&&Array.isArray(Nr[e.type].actions)===!0?Nr[e.type].actions:[]),{closeBtn:l}=n;if(l&&a.push({label:typeof l=="string"?l:t.lang.label.close}),n.actions=a.map(({handler:d,noDismiss:f,...c})=>({flat:!0,...c,onClick:typeof d=="function"?()=>{d(),f!==!0&&u()}:()=>{u()}})),n.multiLine===void 0&&(n.multiLine=n.actions.length>1),Object.assign(n.meta,{class:`q-notification row items-stretch q-notification--${n.multiLine===!0?"multi-line":"standard"}`+(n.color!==void 0?` bg-${n.color}`:"")+(n.textColor!==void 0?` text-${n.textColor}`:"")+(n.classes!==void 0?` ${n.classes}`:""),wrapperClass:"q-notification__wrapper col relative-position border-radius-inherit "+(n.multiLine===!0?"column no-wrap justify-center":"row items-center"),contentClass:"q-notification__content row items-center"+(n.multiLine===!0?"":" col"),leftClass:n.meta.hasText===!0?"additional":"single",attrs:{role:"alert",...n.attrs}}),n.group===!1?(n.group=void 0,n.meta.group=void 0):((n.group===void 0||n.group===!0)&&(n.group=[n.message,n.caption,n.multiline].concat(n.actions.map(d=>`${d.label}*${d.icon}`)).join("|")),n.meta.group=n.group+"|"+n.position),n.actions.length===0?n.actions=void 0:n.meta.actionsClass="q-notification__actions row items-center "+(n.multiLine===!0?"justify-end":"col-auto")+(n.meta.hasMedia===!0?" q-notification__actions--with-media":""),o!==void 0){o.notif.meta.timer&&(clearTimeout(o.notif.meta.timer),o.notif.meta.timer=void 0),n.meta.uid=o.notif.meta.uid;let d=ko[n.position].value.indexOf(o.notif);ko[n.position].value[d]=n}else{let d=fl[n.meta.group];if(d===void 0){if(n.meta.uid=r0++,n.meta.badge=1,["left","right","center"].indexOf(n.position)!==-1)ko[n.position].value.splice(Math.floor(ko[n.position].value.length/2),0,n);else{let f=n.position.indexOf("top")!==-1?"unshift":"push";ko[n.position].value[f](n)}n.group!==void 0&&(fl[n.meta.group]=n)}else{if(d.meta.timer&&(clearTimeout(d.meta.timer),d.meta.timer=void 0),n.badgePosition!==void 0){if(l0.includes(n.badgePosition)===!1)return bi("wrong badgePosition",e)}else n.badgePosition=`top-${n.position.indexOf("left")!==-1?"right":"left"}`;n.meta.uid=d.meta.uid,n.meta.badge=d.meta.badge+1,n.meta.badgeClass=`q-notification__badge q-notification__badge--${n.badgePosition}`+(n.badgeColor!==void 0?` bg-${n.badgeColor}`:"")+(n.badgeTextColor!==void 0?` text-${n.badgeTextColor}`:"")+(n.badgeClass?` ${n.badgeClass}`:"");let f=ko[n.position].value.indexOf(d);ko[n.position].value[f]=fl[n.meta.group]=n}}let u=()=>{u0(n),r=void 0};if(n.timeout>0&&(n.meta.timer=setTimeout(()=>{n.meta.timer=void 0,u()},n.timeout+1e3)),n.group!==void 0)return d=>{d!==void 0?bi("trying to update a grouped one which is forbidden",e):u()};if(r={dismiss:u,config:e,notif:n},o!==void 0){Object.assign(o,r);return}return d=>{if(r!==void 0)if(d===void 0)r.dismiss();else{let f=Object.assign({},r.config,d,{group:!1,position:n.position});Nm(f,t,r)}}}function u0(e){e.meta.timer&&(clearTimeout(e.meta.timer),e.meta.timer=void 0);let t=ko[e.position].value.indexOf(e);if(t!==-1){e.group!==void 0&&delete fl[e.meta.group];let o=Qm[""+e.meta.uid];if(o){let{width:r,height:n}=getComputedStyle(o);o.style.left=`${o.offsetLeft}px`,o.style.width=r,o.style.height=n}ko[e.position].value.splice(t,1),typeof e.onDismiss=="function"&&e.onDismiss()}}function Im(e){return e!=null&&i0.test(e)!==!0}function bi(e,t){return console.error(`Notify: ${e}`,t),!1}function s0(){return $({name:"QNotifications",devtools:{hide:!0},setup(){return()=>i("div",{class:"q-notifications"},hu.map(e=>i(Au,{key:e,class:Hm[e],tag:"div",name:`q-notification--${e}`},()=>ko[e].value.map(t=>{let o=t.meta,r=[];if(o.hasMedia===!0&&(t.spinner!==!1?r.push(i(t.spinner,{class:"q-notification__spinner q-notification__spinner--"+o.leftClass,color:t.spinnerColor,size:t.spinnerSize})):t.icon?r.push(i(Pe,{class:"q-notification__icon q-notification__icon--"+o.leftClass,name:t.icon,color:t.iconColor,size:t.iconSize,role:"img"})):t.avatar&&r.push(i(Fi,{class:"q-notification__avatar q-notification__avatar--"+o.leftClass},()=>i("img",{src:t.avatar,"aria-hidden":"true"})))),o.hasText===!0){let a,l={class:"q-notification__message col"};if(t.html===!0)l.innerHTML=t.caption?`<div>${t.message}</div><div class="q-notification__caption">${t.caption}</div>`:t.message;else{let u=[t.message];a=t.caption?[i("div",u),i("div",{class:"q-notification__caption"},[t.caption])]:u}r.push(i("div",l,a))}let n=[i("div",{class:o.contentClass},r)];return t.progress===!0&&n.push(i("div",{key:`${o.uid}|p|${o.badge}`,class:o.progressClass,style:o.progressStyle})),t.actions!==void 0&&n.push(i("div",{class:o.actionsClass},t.actions.map(a=>i(Ie,a)))),o.badge>1&&n.push(i("div",{key:`${o.uid}|${o.badge}`,class:t.meta.badgeClass,style:t.badgeStyle},[o.badge])),i("div",{ref:a=>{Qm[""+o.uid]=a},key:o.uid,class:o.class,...o.attrs},[i("div",{class:o.wrapperClass},n)])}))))}})}var jm={setDefaults(e){ct(e)===!0&&Object.assign(dl,e)},registerType(e,t){ct(t)===!0&&(Nr[e]=t)},install({$q:e,parentApp:t}){if(e.notify=this.create=o=>Nm(o,e),e.notify.setDefaults=this.setDefaults,e.notify.registerType=this.registerType,e.config.notify!==void 0&&this.setDefaults(e.config.notify),this.__installed!==!0){hu.forEach(r=>{ko[r]=q([]);let n=["left","center","right"].includes(r)===!0?"center":r.indexOf("top")!==-1?"top":"bottom",a=r.indexOf("left")!==-1?"start":r.indexOf("right")!==-1?"end":"center",l=["left","right"].includes(r)?`items-${r==="left"?"start":"end"} justify-center`:r==="center"?"flex-center":`items-${a}`;Hm[r]=`q-notifications__list q-notifications__list--${n} fixed column no-wrap ${l}`});let o=$o("q-notify");nn(s0(),t).mount(o)}}};function c0(e){return Go(e)===!0?"__q_date|"+e.getTime():kl(e)===!0?"__q_expr|"+e.source:typeof e=="number"?"__q_numb|"+e:typeof e=="boolean"?"__q_bool|"+(e?"1":"0"):typeof e=="string"?"__q_strn|"+e:typeof e=="function"?"__q_strn|"+e.toString():e===Object(e)?"__q_objt|"+JSON.stringify(e):e}function d0(e){if(e.length<9)return e;let o=e.substring(0,8),r=e.substring(9);switch(o){case"__q_date":let n=Number(r);return new Date(Number.isNaN(n)===!0?r:n);case"__q_expr":return new RegExp(r);case"__q_numb":return Number(r);case"__q_bool":return r==="1";case"__q_strn":return""+r;case"__q_objt":return JSON.parse(r);default:return e}}function ml(){let e=()=>null;return{has:()=>!1,hasItem:()=>!1,getLength:()=>0,getItem:e,getIndex:e,getKey:e,getAll:()=>{},getAllKeys:()=>[],set:We,setItem:We,remove:We,removeItem:We,clear:We,isEmpty:()=>!0}}function vl(e){let t=window[e+"Storage"],o=l=>{let u=t.getItem(l);return u?d0(u):null},r=l=>t.getItem(l)!==null,n=(l,u)=>{t.setItem(l,c0(u))},a=l=>{t.removeItem(l)};return{has:r,hasItem:r,getLength:()=>t.length,getItem:o,getIndex:l=>l<t.length?o(t.key(l)):null,getKey:l=>l<t.length?t.key(l):null,getAll:()=>{let l,u={},d=t.length;for(let f=0;f<d;f++)l=t.key(f),u[l]=o(l);return u},getAllKeys:()=>{let l=[],u=t.length;for(let d=0;d<u;d++)l.push(t.key(d));return l},set:n,setItem:n,remove:a,removeItem:a,clear:()=>{t.clear()},isEmpty:()=>t.length===0}}var Um=Re.has.webStorage===!1?ml():vl("local"),Km={install({$q:e}){e.localStorage=Um}};Object.assign(Km,Um);var Wm=Km;var Ym=Re.has.webStorage===!1?ml():vl("session"),Xm={install({$q:e}){e.sessionStorage=Ym}};Object.assign(Xm,Ym);var Gm=Xm;var bu={};jr(bu,{EventBus:()=>yi,clone:()=>en,colors:()=>ec,copyToClipboard:()=>Zm,createMetaMixin:()=>Jm,createUploaderComponent:()=>el,date:()=>vc,debounce:()=>Zt,dom:()=>xs,event:()=>Du,exportFile:()=>tv,extend:()=>vn,format:()=>os,frameDebounce:()=>zr,getCssVar:()=>hi,is:()=>Gu,morph:()=>gi,noop:()=>We,openURL:()=>nv,patterns:()=>Js,runSequentialPromises:()=>pu,scroll:()=>As,setCssVar:()=>Kr,throttle:()=>Zn,uid:()=>Fo});function f0(e){let t=document.createElement("textarea");t.value=e,t.contentEditable="true",t.style.position="fixed";let o=()=>{};dr(o),document.body.appendChild(t),t.focus(),t.select();let r=document.execCommand("copy");return t.remove(),Rn(o),r}function Zm(e){return navigator.clipboard!==void 0?navigator.clipboard.writeText(e):new Promise((t,o)=>{let r=f0(e);r?t(!0):o(r)})}var Jm=e=>{let t={activated(){this.__qMeta.active=!0,ao()},deactivated(){this.__qMeta.active=!1,ao()},unmounted(){wo.splice(wo.indexOf(this.__qMeta),1),ao(),this.__qMeta=void 0}};return typeof e=="function"?Object.assign(t,{computed:{__qMetaOptions(){return e.call(this)||{}}},watch:{__qMetaOptions(o){this.__qMeta.val=o,this.__qMeta.active===!0&&ao()}},created(){this.__qMeta={active:!0,val:this.__qMetaOptions},wo.push(this.__qMeta),ao()}}):t.created=function(){this.__qMeta={active:!0,val:e},wo.push(this.__qMeta),ao()},t};var yi=class{constructor(){this.__stack={}}on(t,o,r){return(this.__stack[t]||(this.__stack[t]=[])).push({fn:o,ctx:r}),this}once(t,o,r){let n=(...a)=>{this.off(t,n),o.apply(r,a)};return n.__callback=o,this.on(t,n,r)}emit(t){let o=this.__stack[t];if(o!==void 0){let r=[].slice.call(arguments,1);o.forEach(n=>{n.fn.apply(n.ctx,r)})}return this}off(t,o){let r=this.__stack[t];if(r===void 0)return this;if(o===void 0)return delete this.__stack[t],this;let n=r.filter(a=>a.fn!==o&&a.fn.__callback!==o);return n.length!==0?this.__stack[t]=n:delete this.__stack[t],this}};function ev(e){setTimeout(()=>{window.URL.revokeObjectURL(e.href)},1e4),e.remove()}function tv(e,t,o={}){let{mimeType:r,byteOrderMark:n,encoding:a}=typeof o=="string"?{mimeType:o}:o,l=a!==void 0?new TextEncoder(a).encode([t]):t,u=n!==void 0?[n,l]:[l],d=new Blob(u,{type:r||"application/octet-stream"}),f=document.createElement("a");f.href=window.URL.createObjectURL(d),f.setAttribute("download",e),typeof f.download>"u"&&f.setAttribute("target","_blank"),f.classList.add("hidden"),f.style.position="fixed",document.body.appendChild(f);try{return f.click(),ev(f),!0}catch(c){return ev(f),c}}function m0(e){let t=Object.assign({noopener:!0},e),o=[];for(let r in t){let n=t[r];n===!0?o.push(r):(co(n)||typeof n=="string"&&n!=="")&&o.push(r+"="+n)}return o.join(",")}function ov(e,t,o){let r=window.open;if(Mo.is.cordova===!0){if(cordova!==void 0&&cordova.InAppBrowser!==void 0&&cordova.InAppBrowser.open!==void 0)r=cordova.InAppBrowser.open;else if(navigator!==void 0&&navigator.app!==void 0)return navigator.app.loadUrl(e,{openExternal:!0})}let n=r(e,"_blank",m0(o));if(n)return Mo.is.desktop&&n.focus(),n;t&&t()}var nv=(e,t,o)=>{if(Mo.is.ios===!0&&window.SafariViewController!==void 0){window.SafariViewController.isAvailable(r=>{r?window.SafariViewController.show({url:e},We,t):ov(e,t,o)});return}return ov(e,t,o)};function v0(e){let t=Array.isArray(e);if(t===!0){let n=e.length;return{isList:t,totalJobs:n,resultAggregator:Array(n).fill(null)}}let o=Object.keys(e),r={};return o.forEach(n=>{r[n]=null}),{isList:t,totalJobs:o.length,resultAggregator:r,resultKeys:o}}function pu(e,{threadsNumber:t=1,abortOnFail:o=!0}={}){let r=-1,n=!1,{isList:a,totalJobs:l,resultAggregator:u,resultKeys:d}=v0(e),f=()=>new Promise((h,v)=>{function m(){let g=++r;if(n===!0||g>=l){h();return}let x=a===!0?g:d[g];e[x](u).then(y=>{if(n===!0){h();return}u[x]={key:x,status:"fulfilled",value:y},setTimeout(m)}).catch(y=>{if(n===!0){h();return}let k={key:x,status:"rejected",reason:y};if(u[x]=k,o===!0){n=!0,v({...k,resultAggregator:u});return}setTimeout(m)})}m()}),c=Array(t).fill(f());return Promise.all(c).then(()=>u)}var Su={};jr(Su,{useDialogPluginComponent:()=>Si,useFormChild:()=>ka,useHydration:()=>Rr,useId:()=>Do,useInterval:()=>av,useMeta:()=>iv,useQuasar:()=>yu,useRenderCache:()=>bo,useSplitAttrs:()=>Er,useTick:()=>po,useTimeout:()=>Yt});function Si(){let{emit:e,proxy:t}=U(),o=q(null);function r(){o.value.show()}function n(){o.value.hide()}function a(u){e("ok",u),n()}function l(){e("hide")}return Object.assign(t,{show:r,hide:n}),{dialogRef:o,onDialogHide:l,onDialogOK:a,onDialogCancel:n}}var rv=["ok","hide"];Si.emits=rv;Si.emitsObject=Ja(rv);function iv(e){{let t={active:!0};if(typeof e=="function"){let o=s(e);t.val=o.value,W(o,r=>{t.val=r,t.active===!0&&ao()})}else t.val=e;wo.push(t),ao(),Qt(()=>{t.active=!0,ao()}),Pt(()=>{t.active=!1,ao()}),Qn(()=>{wo.splice(wo.indexOf(t),1),ao()})}}function yu(){return ht(qi)}function av(){let e=null,t=U();function o(){e!==null&&(clearInterval(e),e=null)}return Pt(o),Se(o),{removeInterval:o,registerInterval(r,n){o(e),Wt(t)===!1&&(e=setInterval(r,n))}}}window.Vue===void 0&&console.error("[ Quasar ] Vue is required to run. Please add a script tag for it before loading Quasar.");window.Quasar={version:"2.15.3",install(e,t){es(e,{components:tl,directives:il,plugins:gl,...t})},lang:Yo,iconSet:Nn,...tl,...il,...gl,...Su,...bu};})();
127
+ `,document.head.appendChild(Ae);let ye="normal";B.style.animation=`${a.duration}ms ${a.easing} ${a.delay}ms ${ye} ${a.fill} ${ie}-from`,D!==void 0&&(D.style.animation=`${a.duration}ms ${a.easing} ${a.delay}ms ${ye} ${a.fill} ${ie}-from-tween`),w.style.animation=`${a.duration}ms ${a.easing} ${a.delay}ms ${ye} ${a.fill} ${ie}-to`,C.style.animation=`${a.duration}ms ${a.easing} ${a.delay}ms ${ye} ${a.fill} ${ie}`;let Ee=Oe=>{Oe===Object(Oe)&&Oe.animationName!==ie||(C.removeEventListener("animationend",Ee),C.removeEventListener("animationcancel",Ee),Z(),Ae.remove())};l.qMorphCancel=()=>{l.qMorphCancel=void 0,o=!0,Ee()},C.qMorphCancel=()=>{C.qMorphCancel=void 0,o=!0,Ee()},C.addEventListener("animationend",Ee),C.addEventListener("animationcancel",Ee),t=Oe=>o===!0||!C||!B||!w?!1:Oe===!0?(Ee(),!0):(r=r!==!0,ye=ye==="normal"?"reverse":"normal",B.style.animationDirection=ye,D.style.animationDirection=ye,w.style.animationDirection=ye,C.style.animationDirection=ye,!0)}};a.waitFor>0||a.waitFor==="transitionend"||a.waitFor===Object(a.waitFor)&&typeof a.waitFor.then=="function"?(a.waitFor>0?new Promise(ce=>setTimeout(ce,a.waitFor)):a.waitFor==="transitionend"?new Promise(ce=>{let I=()=>{w!==null&&(clearTimeout(w),w=null),C&&(C.removeEventListener("transitionend",I),C.removeEventListener("transitioncancel",I)),ce()},w=setTimeout(I,400);C.addEventListener("transitionend",I),C.addEventListener("transitioncancel",I)}):a.waitFor).then(j).catch(()=>{typeof C.qMorphCancel=="function"&&C.qMorphCancel()}):j()};return typeof e.onToggle=="function"&&e.onToggle(),requestAnimationFrame(R),C=>t(C)}var nl={},Ep=["duration","delay","easing","fill","classes","style","duration","resize","useCSS","hideFromClone","keepToClone","tween","tweenFromOpacity","tweenToOpacity","waitFor","onEnd"],Bp=["resize","useCSS","hideFromClone","keepToClone","tween"];function Hr(e,t){e.clsAction!==t&&(e.clsAction=t,e.el.classList[t]("q-morph--invisible"))}function om(e){if(e.animating===!0||e.queue.length<2)return;let[t,o]=e.queue;e.animating=!0,t.animating=!0,o.animating=!0,Hr(t,"remove"),Hr(o,"remove");let r=gi({from:t.el,to:o.el,onToggle(){Hr(t,"add"),Hr(o,"remove")},...o.opts,onEnd(n,a){o.opts.onEnd!==void 0&&o.opts.onEnd(n,a),a!==!0&&(t.animating=!1,o.animating=!1,e.animating=!1,e.cancel=void 0,e.queue.shift(),om(e))}});e.cancel=()=>{r(!0),e.cancel=void 0}}function nm(e,t){let o=t.opts;Bp.forEach(r=>{o[r]=e[r]===!0})}function Lp(e,t){let o=typeof e=="string"&&e.length!==0?e.split(":"):[];t.name=o[0],t.group=o[1],Object.assign(t.opts,{duration:isNaN(o[2])===!0?300:parseFloat(o[2]),waitFor:o[3]})}function Fp(e,t){e.group!==void 0&&(t.group=e.group),e.name!==void 0&&(t.name=e.name);let o=t.opts;Ep.forEach(r=>{e[r]!==void 0&&(o[r]=e[r])})}function Dp(e,t){if(t.name===e){let o=nl[t.group];o===void 0?(nl[t.group]={name:t.group,model:e,queue:[t],animating:!1},Hr(t,"remove")):o.model!==e&&(o.model=e,o.queue.push(t),o.animating===!1&&o.queue.length===2&&om(o));return}t.animating===!1&&Hr(t,"add")}function tm(e,t){let o;Object(t)===t?(o=""+t.model,Fp(t,e),nm(t,e)):o=""+t,o!==e.model?(e.model=o,Dp(o,e)):e.animating===!1&&e.clsAction!==void 0&&e.el.classList[e.clsAction]("q-morph--invisible")}var rm=At({name:"morph",mounted(e,t){let o={el:e,animating:!1,opts:{}};nm(t.modifiers,o),Lp(t.arg,o),tm(o,t.value),e.__qmorph=o},updated(e,t){tm(e.__qmorph,t.value)},beforeUnmount(e){let t=e.__qmorph,o=nl[t.group];o!==void 0&&o.queue.indexOf(t)!==-1&&(o.queue=o.queue.filter(n=>n!==t),o.queue.length===0&&(o.cancel!==void 0&&o.cancel(),delete nl[t.group])),t.clsAction==="add"&&e.classList.remove("q-morph--invisible"),delete e.__qmorph}});var Vp={childList:!0,subtree:!0,attributes:!0,characterData:!0,attributeOldValue:!0,characterDataOldValue:!0};function im(e,t,o){t.handler=o,t.observer!==void 0&&t.observer.disconnect(),t.observer=new MutationObserver(r=>{typeof t.handler=="function"&&(t.handler(r)===!1||t.once===!0)&&am(e)}),t.observer.observe(e,t.opts)}function am(e){let t=e.__qmutation;t!==void 0&&(t.observer!==void 0&&t.observer.disconnect(),delete e.__qmutation)}var lm=At({name:"mutation",mounted(e,{modifiers:{once:t,...o},value:r}){let n={once:t,opts:Object.keys(o).length===0?Vp:o};im(e,n,r),e.__qmutation=n},updated(e,{oldValue:t,value:o}){let r=e.__qmutation;r!==void 0&&t!==o&&im(e,r,o)},beforeUnmount:am});var{passive:rl}=et;function um(e,{value:t,oldValue:o}){if(typeof t!="function"){e.scrollTarget.removeEventListener("scroll",e.scroll,rl);return}e.handler=t,typeof o!="function"&&(e.scrollTarget.addEventListener("scroll",e.scroll,rl),e.scroll())}var sm=At({name:"scroll-fire",mounted(e,t){let o={scrollTarget:Bt(e),scroll:Zt(()=>{let r,n;o.scrollTarget===window?(n=e.getBoundingClientRect().bottom,r=window.innerHeight):(n=Cn(e).top+Po(e),r=Cn(o.scrollTarget).top+Po(o.scrollTarget)),n>0&&n<r&&(o.scrollTarget.removeEventListener("scroll",o.scroll,rl),o.handler(e))},25)};um(o,t),e.__qscrollfire=o},updated(e,t){t.value!==t.oldValue&&um(e.__qscrollfire,t)},beforeUnmount(e){let t=e.__qscrollfire;t.scrollTarget.removeEventListener("scroll",t.scroll,rl),t.scroll.cancel(),delete e.__qscrollfire}});function cm(e,{value:t,oldValue:o}){if(typeof t!="function"){e.scrollTarget.removeEventListener("scroll",e.scroll,et.passive);return}e.handler=t,typeof o!="function"&&e.scrollTarget.addEventListener("scroll",e.scroll,et.passive)}var dm=At({name:"scroll",mounted(e,t){let o={scrollTarget:Bt(e),scroll(){o.handler(eo(o.scrollTarget),sn(o.scrollTarget))}};cm(o,t),e.__qscroll=o},updated(e,t){e.__qscroll!==void 0&&t.oldValue!==t.value&&cm(e.__qscroll,t)},beforeUnmount(e){let t=e.__qscroll;t.scrollTarget.removeEventListener("scroll",t.scroll,et.passive),delete e.__qscroll}});var fm=At({name:"touch-hold",beforeMount(e,t){let{modifiers:o}=t;if(o.mouse!==!0&&Re.has.touch!==!0)return;let r={handler:t.value,noop:We,mouseStart(a){typeof r.handler=="function"&&Ko(a)===!0&&(dt(r,"temp",[[document,"mousemove","move","passiveCapture"],[document,"click","end","notPassiveCapture"]]),r.start(a,!0))},touchStart(a){if(a.target!==void 0&&typeof r.handler=="function"){let l=a.target;dt(r,"temp",[[l,"touchmove","move","passiveCapture"],[l,"touchcancel","end","notPassiveCapture"],[l,"touchend","end","notPassiveCapture"]]),r.start(a)}},start(a,l){r.origin=_t(a);let u=Date.now();Re.is.mobile===!0&&(document.body.classList.add("non-selectable"),Ot(),r.styleCleanup=d=>{r.styleCleanup=void 0;let f=()=>{document.body.classList.remove("non-selectable")};d===!0?(Ot(),setTimeout(f,10)):f()}),r.triggered=!1,r.sensitivity=l===!0?r.mouseSensitivity:r.touchSensitivity,r.timer=setTimeout(()=>{r.timer=void 0,Ot(),r.triggered=!0,r.handler({evt:a,touch:l!==!0,mouse:l===!0,position:r.origin,duration:Date.now()-u})},r.duration)},move(a){let{top:l,left:u}=_t(a);r.timer!==void 0&&(Math.abs(u-r.origin.left)>=r.sensitivity||Math.abs(l-r.origin.top)>=r.sensitivity)&&(clearTimeout(r.timer),r.timer=void 0)},end(a){qt(r,"temp"),r.styleCleanup!==void 0&&r.styleCleanup(r.triggered),r.triggered===!0?a!==void 0&&qe(a):r.timer!==void 0&&(clearTimeout(r.timer),r.timer=void 0)}},n=[600,5,7];if(typeof t.arg=="string"&&t.arg.length!==0&&t.arg.split(":").forEach((a,l)=>{let u=parseInt(a,10);u&&(n[l]=u)}),[r.duration,r.touchSensitivity,r.mouseSensitivity]=n,e.__qtouchhold=r,o.mouse===!0){let a=o.mouseCapture===!0||o.mousecapture===!0?"Capture":"";dt(r,"main",[[e,"mousedown","mouseStart",`passive${a}`]])}Re.has.touch===!0&&dt(r,"main",[[e,"touchstart","touchStart",`passive${o.capture===!0?"Capture":""}`],[e,"touchend","noop","notPassiveCapture"]])},updated(e,t){let o=e.__qtouchhold;o!==void 0&&t.oldValue!==t.value&&(typeof t.value!="function"&&o.end(),o.handler=t.value)},beforeUnmount(e){let t=e.__qtouchhold;t!==void 0&&(qt(t,"main"),qt(t,"temp"),t.timer!==void 0&&clearTimeout(t.timer),t.styleCleanup!==void 0&&t.styleCleanup(),delete e.__qtouchhold)}});var mm={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},zp=new RegExp(`^([\\d+]+|${Object.keys(mm).join("|")})$`,"i");function Op(e,t){let{top:o,left:r}=_t(e);return Math.abs(r-t.left)>=7||Math.abs(o-t.top)>=7}var vm=At({name:"touch-repeat",beforeMount(e,{modifiers:t,value:o,arg:r}){let n=Object.keys(t).reduce((d,f)=>{if(zp.test(f)===!0){let c=isNaN(parseInt(f,10))?mm[f.toLowerCase()]:parseInt(f,10);c>=0&&d.push(c)}return d},[]);if(t.mouse!==!0&&Re.has.touch!==!0&&n.length===0)return;let a=typeof r=="string"&&r.length!==0?r.split(":").map(d=>parseInt(d,10)):[0,600,300],l=a.length-1,u={keyboard:n,handler:o,noop:We,mouseStart(d){u.event===void 0&&typeof u.handler=="function"&&Ko(d)===!0&&(dt(u,"temp",[[document,"mousemove","move","passiveCapture"],[document,"click","end","notPassiveCapture"]]),u.start(d,!0))},keyboardStart(d){if(typeof u.handler=="function"&&Tt(d,n)===!0){if((a[0]===0||u.event!==void 0)&&(qe(d),e.focus(),u.event!==void 0))return;dt(u,"temp",[[document,"keyup","end","notPassiveCapture"],[document,"click","end","notPassiveCapture"]]),u.start(d,!1,!0)}},touchStart(d){if(d.target!==void 0&&typeof u.handler=="function"){let f=d.target;dt(u,"temp",[[f,"touchmove","move","passiveCapture"],[f,"touchcancel","end","notPassiveCapture"],[f,"touchend","end","notPassiveCapture"]]),u.start(d)}},start(d,f,c){c!==!0&&(u.origin=_t(d));function h(m){u.styleCleanup=void 0,document.documentElement.style.cursor="";let g=()=>{document.body.classList.remove("non-selectable")};m===!0?(Ot(),setTimeout(g,10)):g()}Re.is.mobile===!0&&(document.body.classList.add("non-selectable"),Ot(),u.styleCleanup=h),u.event={touch:f!==!0&&c!==!0,mouse:f===!0,keyboard:c===!0,startTime:Date.now(),repeatCount:0};let v=()=>{if(u.timer=void 0,u.event===void 0)return;u.event.repeatCount===0&&(u.event.evt=d,c===!0?u.event.keyCode=d.keyCode:u.event.position=_t(d),Re.is.mobile!==!0&&(document.documentElement.style.cursor="pointer",document.body.classList.add("non-selectable"),Ot(),u.styleCleanup=h)),u.event.duration=Date.now()-u.event.startTime,u.event.repeatCount+=1,u.handler(u.event);let m=l<u.event.repeatCount?l:u.event.repeatCount;u.timer=setTimeout(v,a[m])};a[0]===0?v():u.timer=setTimeout(v,a[0])},move(d){u.event!==void 0&&u.timer!==void 0&&Op(d,u.origin)===!0&&(clearTimeout(u.timer),u.timer=void 0)},end(d){u.event!==void 0&&(u.styleCleanup!==void 0&&u.styleCleanup(!0),d!==void 0&&u.event.repeatCount>0&&qe(d),qt(u,"temp"),u.timer!==void 0&&(clearTimeout(u.timer),u.timer=void 0),u.event=void 0)}};if(e.__qtouchrepeat=u,t.mouse===!0){let d=t.mouseCapture===!0||t.mousecapture===!0?"Capture":"";dt(u,"main",[[e,"mousedown","mouseStart",`passive${d}`]])}if(Re.has.touch===!0&&dt(u,"main",[[e,"touchstart","touchStart",`passive${t.capture===!0?"Capture":""}`],[e,"touchend","noop","passiveCapture"]]),n.length!==0){let d=t.keyCapture===!0||t.keycapture===!0?"Capture":"";dt(u,"main",[[e,"keydown","keyboardStart",`notPassive${d}`]])}},updated(e,{oldValue:t,value:o}){let r=e.__qtouchrepeat;r!==void 0&&t!==o&&(typeof o!="function"&&r.end(),r.handler=o)},beforeUnmount(e){let t=e.__qtouchrepeat;t!==void 0&&(t.timer!==void 0&&clearTimeout(t.timer),qt(t,"main"),qt(t,"temp"),t.styleCleanup!==void 0&&t.styleCleanup(),delete e.__qtouchrepeat)}});var gl={};jr(gl,{AddressbarColor:()=>gm,AppFullscreen:()=>ym,AppVisibility:()=>xm,BottomSheet:()=>wm,Cookies:()=>Pm,Dark:()=>ki,Dialog:()=>$m,IconSet:()=>Nn,Lang:()=>Yo,Loading:()=>Fm,LoadingBar:()=>Dm,LocalStorage:()=>Wm,Meta:()=>Om,Notify:()=>jm,Platform:()=>Mo,Screen:()=>wi,SessionStorage:()=>Gm});function hi(e,t=document.body){if(typeof e!="string")throw new TypeError("Expected a string as propName");if(!(t instanceof Element))throw new TypeError("Expected a DOM element");return getComputedStyle(t).getPropertyValue(`--q-${e}`).trim()||null}var al;function Ip(){return Re.is.winphone?"msapplication-navbutton-color":Re.is.safari?"apple-mobile-web-app-status-bar-style":"theme-color"}function Hp(e){let t=document.getElementsByTagName("META");for(let o in t)if(t[o].name===e)return t[o]}function Qp(e){al===void 0&&(al=Ip());let t=Hp(al),o=t===void 0;o&&(t=document.createElement("meta"),t.setAttribute("name",al)),t.setAttribute("content",e),o&&document.head.appendChild(t)}var gm={set:Re.is.mobile===!0&&(Re.is.nativeMobile===!0||Re.is.winphone===!0||Re.is.safari===!0||Re.is.webkit===!0||Re.is.vivaldi===!0)?e=>{let t=e||hi("primary");Re.is.nativeMobile===!0&&window.StatusBar?window.StatusBar.backgroundColorByHexString(t):Qp(t)}:We,install({$q:e}){e.addressbarColor=this,e.config.addressbarColor&&this.set(e.config.addressbarColor)}};var pi={};function Np(e){Object.assign(Ht,{request:e,exit:e,toggle:e})}function pm(){return document.fullscreenElement||document.mozFullScreenElement||document.webkitFullscreenElement||document.msFullscreenElement||null}function bm(){let e=Ht.activeEl=Ht.isActive===!1?null:pm();Ms(e===null||e===document.documentElement?document.body:e)}function jp(){Ht.isActive=Ht.isActive===!1,bm()}function hm(e,t){try{let o=e[t]();return o===void 0?Promise.resolve():o}catch(o){return Promise.reject(o)}}var Ht=jt({isActive:!1,activeEl:null},{isCapable:!1,install({$q:e}){e.fullscreen=this}});pi.request=["requestFullscreen","msRequestFullscreen","mozRequestFullScreen","webkitRequestFullscreen"].find(e=>document.documentElement[e]!==void 0),Ht.isCapable=pi.request!==void 0,Ht.isCapable===!1?Np(()=>Promise.reject("Not capable")):(Object.assign(Ht,{request(e){let t=e||document.documentElement,{activeEl:o}=Ht;return t===o?Promise.resolve():(o!==null&&t.contains(o)===!0?Ht.exit():Promise.resolve()).finally(()=>hm(t,pi.request))},exit(){return Ht.isActive===!0?hm(document,pi.exit):Promise.resolve()},toggle(e){return Ht.isActive===!0?Ht.exit():Ht.request(e)}}),pi.exit=["exitFullscreen","msExitFullscreen","mozCancelFullScreen","webkitExitFullscreen"].find(e=>document[e]),Ht.isActive=!!pm(),Ht.isActive===!0&&bm(),["onfullscreenchange","onmsfullscreenchange","onwebkitfullscreenchange"].forEach(e=>{document[e]=jp}));var ym=Ht;var Sm=jt({appVisible:!0},{install({$q:e}){st(e,"appVisible",()=>this.appVisible)}});{let e,t;if(typeof document.hidden<"u"?(e="hidden",t="visibilitychange"):typeof document.msHidden<"u"?(e="msHidden",t="msvisibilitychange"):typeof document.webkitHidden<"u"&&(e="webkitHidden",t="webkitvisibilitychange"),t&&typeof document[e]<"u"){let o=()=>{Sm.appVisible=!document[e]};document.addEventListener(t,o,!1)}}var xm=Sm;var _m=$({name:"BottomSheetComponent",props:{..._e,title:String,message:String,actions:Array,grid:Boolean,cardClass:[String,Array,Object],cardStyle:[String,Array,Object]},emits:["ok","hide"],setup(e,{emit:t}){let{proxy:o}=U(),r=Ce(e,o.$q),n=q(null);function a(){n.value.show()}function l(){n.value.hide()}function u(m){t("ok",m),l()}function d(){t("hide")}function f(){return e.actions.map(m=>{let g=m.avatar||m.img;return m.label===void 0?i(io,{class:"col-all",dark:r.value}):i("div",{class:["q-bottom-sheet__item q-hoverable q-focusable cursor-pointer relative-position",m.class],style:m.style,tabindex:0,role:"listitem",onClick(){u(m)},onKeyup(x){x.keyCode===13&&u(m)}},[i("div",{class:"q-focus-helper"}),m.icon?i(Pe,{name:m.icon,color:m.color}):g?i("img",{class:m.avatar?"q-bottom-sheet__avatar":"",src:g}):i("div",{class:"q-bottom-sheet__empty-icon"}),i("div",m.label)])})}function c(){return e.actions.map(m=>{let g=m.avatar||m.img;return m.label===void 0?i(io,{spaced:!0,dark:r.value}):i(Qo,{class:["q-bottom-sheet__item",m.classes],style:m.style,tabindex:0,clickable:!0,dark:r.value,onClick(){u(m)}},()=>[i(oo,{avatar:!0},()=>m.icon?i(Pe,{name:m.icon,color:m.color}):g?i("img",{class:m.avatar?"q-bottom-sheet__avatar":"",src:g}):null),i(oo,()=>m.label)])})}function h(){let m=[];return e.title&&m.push(i(So,{class:"q-dialog__title"},()=>e.title)),e.message&&m.push(i(So,{class:"q-dialog__message"},()=>e.message)),m.push(e.grid===!0?i("div",{class:"row items-stretch justify-start",role:"list"},f()):i("div",{role:"list"},c())),m}function v(){return[i(pr,{class:[`q-bottom-sheet q-bottom-sheet--${e.grid===!0?"grid":"list"}`+(r.value===!0?" q-bottom-sheet--dark q-dark":""),e.cardClass],style:e.cardStyle},h)]}return Object.assign(o,{show:a,hide:l}),()=>i(Ho,{ref:n,position:"bottom",onHide:d},v)}});function Cm(e,t){for(let o in t)o!=="spinner"&&Object(t[o])===t[o]?(e[o]=Object(e[o])!==e[o]?{}:{...e[o]},Cm(e[o],t[o])):e[o]=t[o]}function ll(e,t,o){return r=>{let n,a,l=t===!0&&r.component!==void 0;if(l===!0){let{component:S,componentProps:b}=r;n=typeof S=="string"?o.component(S):S,a=b||{}}else{let{class:S,style:b,...p}=r;n=e,a=p,S!==void 0&&(p.cardClass=S),b!==void 0&&(p.cardStyle=b)}let u,d=!1,f=q(null),c=$o(!1,"dialog"),h=S=>{if(f.value!==null&&f.value[S]!==void 0){f.value[S]();return}let b=u.$.subTree;if(b&&b.component){if(b.component.proxy&&b.component.proxy[S]){b.component.proxy[S]();return}if(b.component.subTree&&b.component.subTree.component&&b.component.subTree.component.proxy&&b.component.subTree.component.proxy[S]){b.component.subTree.component.proxy[S]();return}}console.error("[Quasar] Incorrectly defined Dialog component")},v=[],m=[],g={onOk(S){return v.push(S),g},onCancel(S){return m.push(S),g},onDismiss(S){return v.push(S),m.push(S),g},hide(){return h("hide"),g},update(S){if(u!==null){if(l===!0)Object.assign(a,S);else{let{class:b,style:p,..._}=S;b!==void 0&&(_.cardClass=b),p!==void 0&&(_.cardStyle=p),Cm(a,_)}u.$forceUpdate()}return g}},x=S=>{d=!0,v.forEach(b=>{b(S)})},y=()=>{k.unmount(c),ar(c),k=null,u=null,d!==!0&&m.forEach(S=>{S()})},k=nn({name:"QGlobalDialog",setup:()=>()=>i(n,{...a,ref:f,onOk:x,onHide:y,onVnodeMounted(...S){typeof a.onVnodeMounted=="function"&&a.onVnodeMounted(...S),$e(()=>h("show"))}})},o);return u=k.mount(c),g}}var wm={install({$q:e,parentApp:t}){e.bottomSheet=this.create=ll(_m,!1,t)}};function km(e){return encodeURIComponent(e)}function qm(e){return decodeURIComponent(e)}function Up(e){return km(e===Object(e)?JSON.stringify(e):""+e)}function Kp(e){if(e==="")return e;e.indexOf('"')===0&&(e=e.slice(1,-1).replace(/\\"/g,'"').replace(/\\\\/g,"\\")),e=qm(e.replace(/\+/g," "));try{let t=JSON.parse(e);(t===Object(t)||Array.isArray(t)===!0)&&(e=t)}catch{}return e}function Tm(e){let t=new Date;return t.setMilliseconds(t.getMilliseconds()+e),t.toUTCString()}function Wp(e){let t=0,o=e.match(/(\d+)d/),r=e.match(/(\d+)h/),n=e.match(/(\d+)m/),a=e.match(/(\d+)s/);return o&&(t+=o[1]*864e5),r&&(t+=r[1]*36e5),n&&(t+=n[1]*6e4),a&&(t+=a[1]*1e3),t===0?e:Tm(t)}function Mm(e,t,o={},r){let n,a;o.expires!==void 0&&(Object.prototype.toString.call(o.expires)==="[object Date]"?n=o.expires.toUTCString():typeof o.expires=="string"?n=Wp(o.expires):(a=parseFloat(o.expires),n=isNaN(a)===!1?Tm(a*864e5):o.expires));let l=`${km(e)}=${Up(t)}`,u=[l,n!==void 0?"; Expires="+n:"",o.path?"; Path="+o.path:"",o.domain?"; Domain="+o.domain:"",o.sameSite?"; SameSite="+o.sameSite:"",o.httpOnly?"; HttpOnly":"",o.secure?"; Secure":"",o.other?"; "+o.other:""].join("");if(r){r.req.qCookies?r.req.qCookies.push(u):r.req.qCookies=[u],r.res.setHeader("Set-Cookie",r.req.qCookies);let d=r.req.headers.cookie||"";if(n!==void 0&&a<0){let f=ul(e,r);f!==void 0&&(d=d.replace(`${e}=${f}; `,"").replace(`; ${e}=${f}`,"").replace(`${e}=${f}`,""))}else d=d?`${l}; ${d}`:u;r.req.headers.cookie=d}else document.cookie=u}function ul(e,t){let o=t?t.req.headers:document,r=o.cookie?o.cookie.split("; "):[],n=r.length,a=e?null:{},l=0,u,d,f;for(;l<n;l++)if(u=r[l].split("="),d=qm(u.shift()),f=u.join("="),!e)a[d]=f;else if(e===d){a=Kp(f);break}return a}function Yp(e,t,o){Mm(e,"",{expires:-1,...t},o)}function Xp(e,t){return ul(e,t)!==null}function Gp(e){return{get:t=>ul(t,e),set:(t,o,r)=>Mm(t,o,r,e),has:t=>Xp(t,e),remove:(t,o)=>Yp(t,o,e),getAll:()=>ul(null,e)}}var Rm={install({$q:e,ssrContext:t}){e.cookies=this}};Object.assign(Rm,Gp());var Pm=Rm;var Am=$({name:"DialogPluginComponent",props:{..._e,title:String,message:String,prompt:Object,options:Object,progress:[Boolean,Object],html:Boolean,ok:{type:[String,Object,Boolean],default:!0},cancel:[String,Object,Boolean],focus:{type:String,default:"ok",validator:e=>["ok","cancel","none"].includes(e)},stackButtons:Boolean,color:String,cardClass:[String,Array,Object],cardStyle:[String,Array,Object]},emits:["ok","hide"],setup(e,{emit:t}){let{proxy:o}=U(),{$q:r}=o,n=Ce(e,r),a=q(null),l=q(e.prompt!==void 0?e.prompt.model:e.options!==void 0?e.options.model:void 0),u=s(()=>"q-dialog-plugin"+(n.value===!0?" q-dialog-plugin--dark q-dark":"")+(e.progress!==!1?" q-dialog-plugin--progress":"")),d=s(()=>e.color||(n.value===!0?"amber":"primary")),f=s(()=>e.progress===!1?null:ct(e.progress)===!0?{component:e.progress.spinner||wt,props:{color:e.progress.color||d.value}}:{component:wt,props:{color:d.value}}),c=s(()=>e.prompt!==void 0||e.options!==void 0),h=s(()=>{if(c.value!==!0)return{};let{model:M,isValid:X,items:Y,...T}=e.prompt!==void 0?e.prompt:e.options;return T}),v=s(()=>ct(e.ok)===!0||e.ok===!0?r.lang.label.ok:e.ok),m=s(()=>ct(e.cancel)===!0||e.cancel===!0?r.lang.label.cancel:e.cancel),g=s(()=>e.prompt!==void 0?e.prompt.isValid!==void 0&&e.prompt.isValid(l.value)!==!0:e.options!==void 0?e.options.isValid!==void 0&&e.options.isValid(l.value)!==!0:!1),x=s(()=>({color:d.value,label:v.value,ripple:!1,disable:g.value,...ct(e.ok)===!0?e.ok:{flat:!0},"data-autofocus":e.focus==="ok"&&c.value!==!0||void 0,onClick:b})),y=s(()=>({color:d.value,label:m.value,ripple:!1,...ct(e.cancel)===!0?e.cancel:{flat:!0},"data-autofocus":e.focus==="cancel"&&c.value!==!0||void 0,onClick:p}));W(()=>e.prompt&&e.prompt.model,E),W(()=>e.options&&e.options.model,E);function k(){a.value.show()}function S(){a.value.hide()}function b(){t("ok",so(l.value)),S()}function p(){S()}function _(){t("hide")}function E(M){l.value=M}function L(M){g.value!==!0&&e.prompt.type!=="textarea"&&Tt(M,13)===!0&&b()}function V(M,X){return e.html===!0?i(So,{class:M,innerHTML:X}):i(So,{class:M},()=>X)}function F(){return[i(Dr,{color:d.value,dense:!0,autofocus:!0,dark:n.value,...h.value,modelValue:l.value,"onUpdate:modelValue":E,onKeyup:L})]}function B(){return[i(za,{color:d.value,options:e.options.items,dark:n.value,...h.value,modelValue:l.value,"onUpdate:modelValue":E})]}function D(){let M=[];return e.cancel&&M.push(i(Ie,y.value)),e.ok&&M.push(i(Ie,x.value)),i(Yi,{class:e.stackButtons===!0?"items-end":"",vertical:e.stackButtons,align:"right"},()=>M)}function R(){let M=[];return e.title&&M.push(V("q-dialog__title",e.title)),e.progress!==!1&&M.push(i(So,{class:"q-dialog__progress"},()=>i(f.value.component,f.value.props))),e.message&&M.push(V("q-dialog__message",e.message)),e.prompt!==void 0?M.push(i(So,{class:"scroll q-dialog-plugin__form"},F)):e.options!==void 0&&M.push(i(io,{dark:n.value}),i(So,{class:"scroll q-dialog-plugin__form"},B),i(io,{dark:n.value})),(e.ok||e.cancel)&&M.push(D()),M}function C(){return[i(pr,{class:[u.value,e.cardClass],style:e.cardStyle,dark:n.value},R)]}return Object.assign(o,{show:k,hide:S}),()=>i(Ho,{ref:a,onHide:_},C)}});var $m={install({$q:e,parentApp:t}){e.dialog=this.create=ll(Am,!0,t)}};var Qr,mu,Em=0,zn=null,Vt={},On={},Bm={group:"__default_quasar_group__",delay:0,message:!1,html:!1,spinnerSize:80,spinnerColor:"",messageColor:"",backgroundColor:"",boxClass:"",spinner:wt,customClass:""},Lm={...Bm};function Zp(e){if(e&&e.group!==void 0&&On[e.group]!==void 0)return Object.assign(On[e.group],e);let t=ct(e)===!0&&e.ignoreDefaults===!0?{...Bm,...e}:{...Lm,...e};return On[t.group]=t,t}var Co=jt({isActive:!1},{show(e){Vt=Zp(e);let{group:t}=Vt;return Co.isActive=!0,Qr!==void 0?(Vt.uid=Em,mu.$forceUpdate()):(Vt.uid=++Em,zn!==null&&clearTimeout(zn),zn=setTimeout(()=>{zn=null;let o=$o("q-loading");Qr=nn({name:"QLoading",setup(){Ne(()=>{di(!0)});function r(){Co.isActive!==!0&&Qr!==void 0&&(di(!1),Qr.unmount(o),ar(o),Qr=void 0,mu=void 0)}function n(){if(Co.isActive!==!0)return null;let a=[i(Vt.spinner,{class:"q-loading__spinner",color:Vt.spinnerColor,size:Vt.spinnerSize})];return Vt.message&&a.push(i("div",{class:"q-loading__message"+(Vt.messageColor?` text-${Vt.messageColor}`:""),[Vt.html===!0?"innerHTML":"textContent"]:Vt.message})),i("div",{class:"q-loading fullscreen flex flex-center z-max "+Vt.customClass.trim(),key:Vt.uid},[i("div",{class:"q-loading__backdrop"+(Vt.backgroundColor?` bg-${Vt.backgroundColor}`:"")}),i("div",{class:"q-loading__box column items-center "+Vt.boxClass},a)])}return()=>i(lt,{name:"q-transition--fade",appear:!0,onAfterLeave:r},n)}},Co.__parentApp),mu=Qr.mount(o)},Vt.delay)),o=>{if(o===void 0||Object(o)!==o){Co.hide(t);return}Co.show({...o,group:t})}},hide(e){if(Co.isActive===!0){if(e===void 0)On={};else{if(On[e]===void 0)return;{delete On[e];let t=Object.keys(On);if(t.length!==0){let o=t[t.length-1];Co.show({group:o});return}}}zn!==null&&(clearTimeout(zn),zn=null),Co.isActive=!1}},setDefaults(e){ct(e)===!0&&Object.assign(Lm,e)},install({$q:e,parentApp:t}){e.loading=this,Co.__parentApp=t,e.config.loading!==void 0&&this.setDefaults(e.config.loading)}}),Fm=Co;var sl=q(null),vu=jt({isActive:!1},{start:We,stop:We,increment:We,setDefaults:We,install({$q:e,parentApp:t}){if(e.loadingBar=this,this.__installed===!0){e.config.loadingBar!==void 0&&this.setDefaults(e.config.loadingBar);return}let o=q(e.config.loadingBar!==void 0?{...e.config.loadingBar}:{});function r(){vu.isActive=!0}function n(){vu.isActive=!1}let a=$o("q-loading-bar");nn({name:"LoadingBar",devtools:{hide:!0},setup:()=>()=>i(Bi,{...o.value,onStart:r,onStop:n,ref:sl})},t).mount(a),Object.assign(this,{start(l){sl.value.start(l)},stop(){sl.value.stop()},increment(){sl.value.increment.apply(null,arguments)},setDefaults(l){ct(l)===!0&&Object.assign(o.value,l)}})}}),Dm=vu;var cl=null,gu,wo=[];function Jp(e){e.title&&(e.title=e.titleTemplate?e.titleTemplate(e.title):e.title,delete e.titleTemplate),[["meta","content"],["link","href"]].forEach(t=>{let o=e[t[0]],r=t[1];for(let n in o){let a=o[n];a.template&&(Object.keys(a).length===1?delete o[n]:(a[r]=a.template(a[r]||""),delete a.template))}})}function e0(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!0;for(let o in e)if(e[o]!==t[o])return!0}function Vm(e){return["class","style"].includes(e)===!1}function zm(e){return["lang","dir"].includes(e)===!1}function t0(e,t){let o={},r={};return e===void 0?{add:t,remove:r}:(e.title!==t.title&&(o.title=t.title),["meta","link","script","htmlAttr","bodyAttr"].forEach(n=>{let a=e[n],l=t[n];if(r[n]=[],a==null){o[n]=l;return}o[n]={};for(let u in a)l.hasOwnProperty(u)===!1&&r[n].push(u);for(let u in l)a.hasOwnProperty(u)===!1?o[n][u]=l[u]:e0(a[u],l[u])===!0&&(r[n].push(u),o[n][u]=l[u])}),{add:o,remove:r})}function o0({add:e,remove:t}){e.title&&(document.title=e.title),Object.keys(t).length!==0&&(["meta","link","script"].forEach(o=>{t[o].forEach(r=>{document.head.querySelector(`${o}[data-qmeta="${r}"]`).remove()})}),t.htmlAttr.filter(zm).forEach(o=>{document.documentElement.removeAttribute(o)}),t.bodyAttr.filter(Vm).forEach(o=>{document.body.removeAttribute(o)})),["meta","link","script"].forEach(o=>{let r=e[o];for(let n in r){let a=document.createElement(o);for(let l in r[n])l!=="innerHTML"&&a.setAttribute(l,r[n][l]);a.setAttribute("data-qmeta",n),o==="script"&&(a.innerHTML=r[n].innerHTML||""),document.head.appendChild(a)}}),Object.keys(e.htmlAttr).filter(zm).forEach(o=>{document.documentElement.setAttribute(o,e.htmlAttr[o]||"")}),Object.keys(e.bodyAttr).filter(Vm).forEach(o=>{document.body.setAttribute(o,e.bodyAttr[o]||"")})}function n0(){cl=null;let e={title:"",titleTemplate:null,meta:{},link:{},script:{},htmlAttr:{},bodyAttr:{}};for(let t=0;t<wo.length;t++){let{active:o,val:r}=wo[t];o===!0&&vn(!0,e,r)}Jp(e),o0(t0(gu,e)),gu=e}function ao(){cl!==null&&clearTimeout(cl),cl=setTimeout(n0,50)}var Om={install(e){this.__installed!==!0&&xt.value===!0&&(gu=window.__Q_META__,document.getElementById("qmeta-init").remove())}};var r0=0,dl={},fl={},ko={},Hm={},i0=/^\s*$/,Qm=[],a0=[void 0,null,!0,!1,""],hu=["top-left","top-right","bottom-left","bottom-right","top","bottom","left","right","center"],l0=["top-left","top-right","bottom-left","bottom-right"],Nr={positive:{icon:e=>e.iconSet.type.positive,color:"positive"},negative:{icon:e=>e.iconSet.type.negative,color:"negative"},warning:{icon:e=>e.iconSet.type.warning,color:"warning",textColor:"dark"},info:{icon:e=>e.iconSet.type.info,color:"info"},ongoing:{group:!1,timeout:0,spinner:!0,color:"grey-8"}};function Nm(e,t,o){if(!e)return bi("parameter required");let r,n={textColor:"white"};if(e.ignoreDefaults!==!0&&Object.assign(n,dl),ct(e)===!1&&(n.type&&Object.assign(n,Nr[n.type]),e={message:e}),Object.assign(n,Nr[e.type||n.type],e),typeof n.icon=="function"&&(n.icon=n.icon(t)),n.spinner?(n.spinner===!0&&(n.spinner=wt),n.spinner=Ur(n.spinner)):n.spinner=!1,n.meta={hasMedia:!!(n.spinner!==!1||n.icon||n.avatar),hasText:Im(n.message)||Im(n.caption)},n.position){if(hu.includes(n.position)===!1)return bi("wrong position",e)}else n.position="bottom";if(a0.includes(n.timeout)===!0)n.timeout=5e3;else{let d=Number(n.timeout);if(isNaN(d)||d<0)return bi("wrong timeout",e);n.timeout=Number.isFinite(d)?d:0}n.timeout===0?n.progress=!1:n.progress===!0&&(n.meta.progressClass="q-notification__progress"+(n.progressClass?` ${n.progressClass}`:""),n.meta.progressStyle={animationDuration:`${n.timeout+1e3}ms`});let a=(Array.isArray(e.actions)===!0?e.actions:[]).concat(e.ignoreDefaults!==!0&&Array.isArray(dl.actions)===!0?dl.actions:[]).concat(Nr[e.type]!==void 0&&Array.isArray(Nr[e.type].actions)===!0?Nr[e.type].actions:[]),{closeBtn:l}=n;if(l&&a.push({label:typeof l=="string"?l:t.lang.label.close}),n.actions=a.map(({handler:d,noDismiss:f,...c})=>({flat:!0,...c,onClick:typeof d=="function"?()=>{d(),f!==!0&&u()}:()=>{u()}})),n.multiLine===void 0&&(n.multiLine=n.actions.length>1),Object.assign(n.meta,{class:`q-notification row items-stretch q-notification--${n.multiLine===!0?"multi-line":"standard"}`+(n.color!==void 0?` bg-${n.color}`:"")+(n.textColor!==void 0?` text-${n.textColor}`:"")+(n.classes!==void 0?` ${n.classes}`:""),wrapperClass:"q-notification__wrapper col relative-position border-radius-inherit "+(n.multiLine===!0?"column no-wrap justify-center":"row items-center"),contentClass:"q-notification__content row items-center"+(n.multiLine===!0?"":" col"),leftClass:n.meta.hasText===!0?"additional":"single",attrs:{role:"alert",...n.attrs}}),n.group===!1?(n.group=void 0,n.meta.group=void 0):((n.group===void 0||n.group===!0)&&(n.group=[n.message,n.caption,n.multiline].concat(n.actions.map(d=>`${d.label}*${d.icon}`)).join("|")),n.meta.group=n.group+"|"+n.position),n.actions.length===0?n.actions=void 0:n.meta.actionsClass="q-notification__actions row items-center "+(n.multiLine===!0?"justify-end":"col-auto")+(n.meta.hasMedia===!0?" q-notification__actions--with-media":""),o!==void 0){o.notif.meta.timer&&(clearTimeout(o.notif.meta.timer),o.notif.meta.timer=void 0),n.meta.uid=o.notif.meta.uid;let d=ko[n.position].value.indexOf(o.notif);ko[n.position].value[d]=n}else{let d=fl[n.meta.group];if(d===void 0){if(n.meta.uid=r0++,n.meta.badge=1,["left","right","center"].indexOf(n.position)!==-1)ko[n.position].value.splice(Math.floor(ko[n.position].value.length/2),0,n);else{let f=n.position.indexOf("top")!==-1?"unshift":"push";ko[n.position].value[f](n)}n.group!==void 0&&(fl[n.meta.group]=n)}else{if(d.meta.timer&&(clearTimeout(d.meta.timer),d.meta.timer=void 0),n.badgePosition!==void 0){if(l0.includes(n.badgePosition)===!1)return bi("wrong badgePosition",e)}else n.badgePosition=`top-${n.position.indexOf("left")!==-1?"right":"left"}`;n.meta.uid=d.meta.uid,n.meta.badge=d.meta.badge+1,n.meta.badgeClass=`q-notification__badge q-notification__badge--${n.badgePosition}`+(n.badgeColor!==void 0?` bg-${n.badgeColor}`:"")+(n.badgeTextColor!==void 0?` text-${n.badgeTextColor}`:"")+(n.badgeClass?` ${n.badgeClass}`:"");let f=ko[n.position].value.indexOf(d);ko[n.position].value[f]=fl[n.meta.group]=n}}let u=()=>{u0(n),r=void 0};if(n.timeout>0&&(n.meta.timer=setTimeout(()=>{n.meta.timer=void 0,u()},n.timeout+1e3)),n.group!==void 0)return d=>{d!==void 0?bi("trying to update a grouped one which is forbidden",e):u()};if(r={dismiss:u,config:e,notif:n},o!==void 0){Object.assign(o,r);return}return d=>{if(r!==void 0)if(d===void 0)r.dismiss();else{let f=Object.assign({},r.config,d,{group:!1,position:n.position});Nm(f,t,r)}}}function u0(e){e.meta.timer&&(clearTimeout(e.meta.timer),e.meta.timer=void 0);let t=ko[e.position].value.indexOf(e);if(t!==-1){e.group!==void 0&&delete fl[e.meta.group];let o=Qm[""+e.meta.uid];if(o){let{width:r,height:n}=getComputedStyle(o);o.style.left=`${o.offsetLeft}px`,o.style.width=r,o.style.height=n}ko[e.position].value.splice(t,1),typeof e.onDismiss=="function"&&e.onDismiss()}}function Im(e){return e!=null&&i0.test(e)!==!0}function bi(e,t){return console.error(`Notify: ${e}`,t),!1}function s0(){return $({name:"QNotifications",devtools:{hide:!0},setup(){return()=>i("div",{class:"q-notifications"},hu.map(e=>i(Au,{key:e,class:Hm[e],tag:"div",name:`q-notification--${e}`},()=>ko[e].value.map(t=>{let o=t.meta,r=[];if(o.hasMedia===!0&&(t.spinner!==!1?r.push(i(t.spinner,{class:"q-notification__spinner q-notification__spinner--"+o.leftClass,color:t.spinnerColor,size:t.spinnerSize})):t.icon?r.push(i(Pe,{class:"q-notification__icon q-notification__icon--"+o.leftClass,name:t.icon,color:t.iconColor,size:t.iconSize,role:"img"})):t.avatar&&r.push(i(Fi,{class:"q-notification__avatar q-notification__avatar--"+o.leftClass},()=>i("img",{src:t.avatar,"aria-hidden":"true"})))),o.hasText===!0){let a,l={class:"q-notification__message col"};if(t.html===!0)l.innerHTML=t.caption?`<div>${t.message}</div><div class="q-notification__caption">${t.caption}</div>`:t.message;else{let u=[t.message];a=t.caption?[i("div",u),i("div",{class:"q-notification__caption"},[t.caption])]:u}r.push(i("div",l,a))}let n=[i("div",{class:o.contentClass},r)];return t.progress===!0&&n.push(i("div",{key:`${o.uid}|p|${o.badge}`,class:o.progressClass,style:o.progressStyle})),t.actions!==void 0&&n.push(i("div",{class:o.actionsClass},t.actions.map(a=>i(Ie,a)))),o.badge>1&&n.push(i("div",{key:`${o.uid}|${o.badge}`,class:t.meta.badgeClass,style:t.badgeStyle},[o.badge])),i("div",{ref:a=>{Qm[""+o.uid]=a},key:o.uid,class:o.class,...o.attrs},[i("div",{class:o.wrapperClass},n)])}))))}})}var jm={setDefaults(e){ct(e)===!0&&Object.assign(dl,e)},registerType(e,t){ct(t)===!0&&(Nr[e]=t)},install({$q:e,parentApp:t}){if(e.notify=this.create=o=>Nm(o,e),e.notify.setDefaults=this.setDefaults,e.notify.registerType=this.registerType,e.config.notify!==void 0&&this.setDefaults(e.config.notify),this.__installed!==!0){hu.forEach(r=>{ko[r]=q([]);let n=["left","center","right"].includes(r)===!0?"center":r.indexOf("top")!==-1?"top":"bottom",a=r.indexOf("left")!==-1?"start":r.indexOf("right")!==-1?"end":"center",l=["left","right"].includes(r)?`items-${r==="left"?"start":"end"} justify-center`:r==="center"?"flex-center":`items-${a}`;Hm[r]=`q-notifications__list q-notifications__list--${n} fixed column no-wrap ${l}`});let o=$o("q-notify");nn(s0(),t).mount(o)}}};function c0(e){return Go(e)===!0?"__q_date|"+e.getTime():kl(e)===!0?"__q_expr|"+e.source:typeof e=="number"?"__q_numb|"+e:typeof e=="boolean"?"__q_bool|"+(e?"1":"0"):typeof e=="string"?"__q_strn|"+e:typeof e=="function"?"__q_strn|"+e.toString():e===Object(e)?"__q_objt|"+JSON.stringify(e):e}function d0(e){if(e.length<9)return e;let o=e.substring(0,8),r=e.substring(9);switch(o){case"__q_date":let n=Number(r);return new Date(Number.isNaN(n)===!0?r:n);case"__q_expr":return new RegExp(r);case"__q_numb":return Number(r);case"__q_bool":return r==="1";case"__q_strn":return""+r;case"__q_objt":return JSON.parse(r);default:return e}}function ml(){let e=()=>null;return{has:()=>!1,hasItem:()=>!1,getLength:()=>0,getItem:e,getIndex:e,getKey:e,getAll:()=>{},getAllKeys:()=>[],set:We,setItem:We,remove:We,removeItem:We,clear:We,isEmpty:()=>!0}}function vl(e){let t=window[e+"Storage"],o=l=>{let u=t.getItem(l);return u?d0(u):null},r=l=>t.getItem(l)!==null,n=(l,u)=>{t.setItem(l,c0(u))},a=l=>{t.removeItem(l)};return{has:r,hasItem:r,getLength:()=>t.length,getItem:o,getIndex:l=>l<t.length?o(t.key(l)):null,getKey:l=>l<t.length?t.key(l):null,getAll:()=>{let l,u={},d=t.length;for(let f=0;f<d;f++)l=t.key(f),u[l]=o(l);return u},getAllKeys:()=>{let l=[],u=t.length;for(let d=0;d<u;d++)l.push(t.key(d));return l},set:n,setItem:n,remove:a,removeItem:a,clear:()=>{t.clear()},isEmpty:()=>t.length===0}}var Um=Re.has.webStorage===!1?ml():vl("local"),Km={install({$q:e}){e.localStorage=Um}};Object.assign(Km,Um);var Wm=Km;var Ym=Re.has.webStorage===!1?ml():vl("session"),Xm={install({$q:e}){e.sessionStorage=Ym}};Object.assign(Xm,Ym);var Gm=Xm;var bu={};jr(bu,{EventBus:()=>yi,clone:()=>en,colors:()=>ec,copyToClipboard:()=>Zm,createMetaMixin:()=>Jm,createUploaderComponent:()=>el,date:()=>vc,debounce:()=>Zt,dom:()=>xs,event:()=>Du,exportFile:()=>tv,extend:()=>vn,format:()=>os,frameDebounce:()=>zr,getCssVar:()=>hi,is:()=>Gu,morph:()=>gi,noop:()=>We,openURL:()=>nv,patterns:()=>Js,runSequentialPromises:()=>pu,scroll:()=>As,setCssVar:()=>Kr,throttle:()=>Zn,uid:()=>Fo});function f0(e){let t=document.createElement("textarea");t.value=e,t.contentEditable="true",t.style.position="fixed";let o=()=>{};dr(o),document.body.appendChild(t),t.focus(),t.select();let r=document.execCommand("copy");return t.remove(),Rn(o),r}function Zm(e){return navigator.clipboard!==void 0?navigator.clipboard.writeText(e):new Promise((t,o)=>{let r=f0(e);r?t(!0):o(r)})}var Jm=e=>{let t={activated(){this.__qMeta.active=!0,ao()},deactivated(){this.__qMeta.active=!1,ao()},unmounted(){wo.splice(wo.indexOf(this.__qMeta),1),ao(),this.__qMeta=void 0}};return typeof e=="function"?Object.assign(t,{computed:{__qMetaOptions(){return e.call(this)||{}}},watch:{__qMetaOptions(o){this.__qMeta.val=o,this.__qMeta.active===!0&&ao()}},created(){this.__qMeta={active:!0,val:this.__qMetaOptions},wo.push(this.__qMeta),ao()}}):t.created=function(){this.__qMeta={active:!0,val:e},wo.push(this.__qMeta),ao()},t};var yi=class{constructor(){this.__stack={}}on(t,o,r){return(this.__stack[t]||(this.__stack[t]=[])).push({fn:o,ctx:r}),this}once(t,o,r){let n=(...a)=>{this.off(t,n),o.apply(r,a)};return n.__callback=o,this.on(t,n,r)}emit(t){let o=this.__stack[t];if(o!==void 0){let r=[].slice.call(arguments,1);o.forEach(n=>{n.fn.apply(n.ctx,r)})}return this}off(t,o){let r=this.__stack[t];if(r===void 0)return this;if(o===void 0)return delete this.__stack[t],this;let n=r.filter(a=>a.fn!==o&&a.fn.__callback!==o);return n.length!==0?this.__stack[t]=n:delete this.__stack[t],this}};function ev(e){setTimeout(()=>{window.URL.revokeObjectURL(e.href)},1e4),e.remove()}function tv(e,t,o={}){let{mimeType:r,byteOrderMark:n,encoding:a}=typeof o=="string"?{mimeType:o}:o,l=a!==void 0?new TextEncoder(a).encode([t]):t,u=n!==void 0?[n,l]:[l],d=new Blob(u,{type:r||"application/octet-stream"}),f=document.createElement("a");f.href=window.URL.createObjectURL(d),f.setAttribute("download",e),typeof f.download>"u"&&f.setAttribute("target","_blank"),f.classList.add("hidden"),f.style.position="fixed",document.body.appendChild(f);try{return f.click(),ev(f),!0}catch(c){return ev(f),c}}function m0(e){let t=Object.assign({noopener:!0},e),o=[];for(let r in t){let n=t[r];n===!0?o.push(r):(co(n)||typeof n=="string"&&n!=="")&&o.push(r+"="+n)}return o.join(",")}function ov(e,t,o){let r=window.open;if(Mo.is.cordova===!0){if(cordova!==void 0&&cordova.InAppBrowser!==void 0&&cordova.InAppBrowser.open!==void 0)r=cordova.InAppBrowser.open;else if(navigator!==void 0&&navigator.app!==void 0)return navigator.app.loadUrl(e,{openExternal:!0})}let n=r(e,"_blank",m0(o));if(n)return Mo.is.desktop&&n.focus(),n;t&&t()}var nv=(e,t,o)=>{if(Mo.is.ios===!0&&window.SafariViewController!==void 0){window.SafariViewController.isAvailable(r=>{r?window.SafariViewController.show({url:e},We,t):ov(e,t,o)});return}return ov(e,t,o)};function v0(e){let t=Array.isArray(e);if(t===!0){let n=e.length;return{isList:t,totalJobs:n,resultAggregator:Array(n).fill(null)}}let o=Object.keys(e),r={};return o.forEach(n=>{r[n]=null}),{isList:t,totalJobs:o.length,resultAggregator:r,resultKeys:o}}function pu(e,{threadsNumber:t=1,abortOnFail:o=!0}={}){let r=-1,n=!1,{isList:a,totalJobs:l,resultAggregator:u,resultKeys:d}=v0(e),f=()=>new Promise((h,v)=>{function m(){let g=++r;if(n===!0||g>=l){h();return}let x=a===!0?g:d[g];e[x](u).then(y=>{if(n===!0){h();return}u[x]={key:x,status:"fulfilled",value:y},setTimeout(m)}).catch(y=>{if(n===!0){h();return}let k={key:x,status:"rejected",reason:y};if(u[x]=k,o===!0){n=!0,v({...k,resultAggregator:u});return}setTimeout(m)})}m()}),c=Array(t).fill(f());return Promise.all(c).then(()=>u)}var Su={};jr(Su,{useDialogPluginComponent:()=>Si,useFormChild:()=>ka,useHydration:()=>Rr,useId:()=>Do,useInterval:()=>av,useMeta:()=>iv,useQuasar:()=>yu,useRenderCache:()=>bo,useSplitAttrs:()=>Er,useTick:()=>po,useTimeout:()=>Yt});function Si(){let{emit:e,proxy:t}=U(),o=q(null);function r(){o.value.show()}function n(){o.value.hide()}function a(u){e("ok",u),n()}function l(){e("hide")}return Object.assign(t,{show:r,hide:n}),{dialogRef:o,onDialogHide:l,onDialogOK:a,onDialogCancel:n}}var rv=["ok","hide"];Si.emits=rv;Si.emitsObject=Ja(rv);function iv(e){{let t={active:!0};if(typeof e=="function"){let o=s(e);t.val=o.value,W(o,r=>{t.val=r,t.active===!0&&ao()})}else t.val=e;wo.push(t),ao(),Qt(()=>{t.active=!0,ao()}),Pt(()=>{t.active=!1,ao()}),Qn(()=>{wo.splice(wo.indexOf(t),1),ao()})}}function yu(){return ht(qi)}function av(){let e=null,t=U();function o(){e!==null&&(clearInterval(e),e=null)}return Pt(o),Se(o),{removeInterval:o,registerInterval(r,n){o(e),Wt(t)===!1&&(e=setInterval(r,n))}}}window.Vue===void 0&&console.error("[ Quasar ] Vue is required to run. Please add a script tag for it before loading Quasar.");window.Quasar={version:"2.15.4",install(e,t){es(e,{components:tl,directives:il,plugins:gl,...t})},lang:Yo,iconSet:Nn,...tl,...il,...gl,...Su,...bu};})();