@mythpe/quasar-ui-qui 0.5.41 → 0.5.42

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.
@@ -1 +1 @@
1
- Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});var e=Object.create,t=Object.defineProperty,r=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,n=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,i=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t),e=null),t.exports),s=(e,r)=>{let o={};for(var n in e)t(o,n,{get:e[n],enumerable:!0});return r||t(o,Symbol.toStringTag,{value:"Module"}),o},l=(i,s,l)=>(l=null!=i?e(n(i)):{},((e,n,i,s)=>{if(n&&"object"==typeof n||"function"==typeof n)for(var l,p=o(n),c=0,u=p.length;c<u;c++)l=p[c],a.call(e,l)||l===i||t(e,l,{get:(e=>n[e]).bind(null,l),enumerable:!(s=r(n,l))||s.enumerable});return e})(!s&&i&&i.__esModule?l:t(l,"default",{value:i,enumerable:!0}),i));let p=require("vue"),c=require("axios");c=l(c,1);let u=require("quasar"),f=require("vue-i18n"),y=require("@vee-validate/rules"),d=require("@vee-validate/i18n"),m=require("vee-validate");var g=Symbol.for("_m__m-container"),h="gutter",b=()=>{const e=(0,p.inject)(Et);if(!e)throw new Error(`Plugin [${Bt}] is not provided`);const t=(0,p.computed)(()=>e.conf.theme.btn),r=(0,p.computed)(()=>e.conf.theme.input);return e.make({btnStyle:t,inputStyle:r})},v={class:"q-dialog-plugin m-dialog__wrapper"},w=(0,p.defineComponent)({name:"MDialog",__name:"MDialog",props:{slide:{type:Boolean,default:!1},from:{default:"left"}},emits:[...u.useDialogPluginComponent.emits],setup(e){const t={left:"right",right:"left",up:"down",down:"up"},r=(0,p.computed)(()=>`slide-${e.from}`),o=(0,p.computed)(()=>`slide-${t[e.from]}`),{conf:n}=b(),{dialogRef:a,onDialogHide:i}=(0,u.useDialogPluginComponent)();return(t,s)=>((0,p.openBlock)(),(0,p.createBlock)((0,p.unref)(u.QDialog),(0,p.mergeProps)({ref_key:"dialogRef",ref:a,"transition-hide":t.$q.screen.lt.md||e.slide?r.value:"fade","transition-show":t.$q.screen.lt.md||e.slide?o.value:"fade",class:"m-dialog"},(0,p.unref)(n).componentsProps.dialog,{onHide:(0,p.unref)(i)}),{default:(0,p.withCtx)(()=>[(0,p.createElementVNode)("div",v,[(0,p.renderSlot)(t.$slots,"default")])]),_:3},16,["transition-hide","transition-show","onHide"]))}}),S=(e,t=10)=>{const{lighten:r}=u.colors;return r(e,-1*t)},x=(e,t=10)=>{const{lighten:r}=u.colors;return r(e,t)},C=(e,t,r)=>{let o;if((t instanceof File||t instanceof Blob)&&r){const o=t instanceof File?t.name:r;e.append(r,t,o)}else for(const n in t)if(o=t[n],null!=o&&"object"==typeof o){const t=r?r+"["+n+"]":n;Array.isArray(o)&&o.length<1?e.append(`${n}`,""):C(e,o,t)}else!0===o&&(o=1),!1===o&&(o=0),null==o&&(o=""),r?e.append(r+"["+n+"]",o):e.append(n,o);return e},A=e=>(t,r)=>(r??"")+(r&&e?"/":"")+(e??"")+(e&&t?"/":"")+(t??""),k=(e,t,r)=>(0,u.openURL)(e,t,r),O=e=>{const t=e instanceof Window?e.document?.body?.getBoundingClientRect():e?.getBoundingClientRect?.();return!!t&&(t.top>=0&&t.left>=0&&t.bottom<=window.innerHeight+t.height&&t.right<=window.innerWidth+t.width)},P=async(e,t)=>{await(0,p.nextTick)();const{getScrollTarget:r,setVerticalScrollPosition:o,getVerticalScrollPosition:n}=u.scroll,a="string"==typeof e?document.querySelector(e):e;if(!a)return;await(0,p.nextTick)();const{target:i}=t||{},s=r(a,("string"==typeof i?document.querySelector(i):i)||window.document.documentElement),l=n(s),c=t?.duration||1e3;let f,y=a;try{do{if(f=y.getBoundingClientRect().top,0===f&&!y.parentElement){f=y.scrollTop;break}if(0!==f&&y.parentElement)break;y=y.parentElement}while(y)}catch(Be){console.log(Be),f="offsetTop"in a&&a?.offsetTop||0}const d=f+l-(100+(t?.offset||0));O(a)||o(s,d,c)},$=(e="",t="",r)=>{let o="number"!=typeof e?parseFloat(e):e;isNaN(o)&&(o=0);const n={minimumFractionDigits:2,maximumFractionDigits:2,...r||{}};return`${o.toLocaleString("en-US",n)} ${t}`.trim()},B=e=>[...new Set(e)],_="myth-",E={sar:"M699.62,1113.02h0c-20.06,44.48-33.32,92.75-38.4,143.37l424.51-90.24c20.06-44.47,33.31-92.75,38.4-143.37l-424.51,90.24Z&&M1085.73,895.8c20.06-44.47,33.32-92.75,38.4-143.37l-330.68,70.33v-135.2l292.27-62.11c20.06-44.47,33.32-92.75,38.4-143.37l-330.68,70.27V66.13c-50.67,28.45-95.67,66.32-132.25,110.99v403.35l-132.25,28.11V0c-50.67,28.44-95.67,66.32-132.25,110.99v525.69l-295.91,62.88c-20.06,44.47-33.33,92.75-38.42,143.37l334.33-71.05v170.26l-358.3,76.14c-20.06,44.47-33.32,92.75-38.4,143.37l375.04-79.7c30.53-6.35,56.77-24.4,73.83-49.24l68.78-101.97v-.02c7.14-10.55,11.3-23.27,11.3-36.97v-149.98l132.25-28.11v270.4l424.53-90.28Z|0 0 1124.14 1256.39"},j=i((e,t)=>{var r,o;r=e,o=function(){var e=[],t=[],r={},o={},n={};function a(e){return"string"==typeof e?new RegExp("^"+e+"$","i"):e}function i(e,t){return e===t?t:e===e.toLowerCase()?t.toLowerCase():e===e.toUpperCase()?t.toUpperCase():e[0]===e[0].toUpperCase()?t.charAt(0).toUpperCase()+t.substr(1).toLowerCase():t.toLowerCase()}function s(e,t){return e.replace(t[0],function(r,o){var n,a,s=(n=t[1],a=arguments,n.replace(/\$(\d{1,2})/g,function(e,t){return a[t]||""}));return i(""===r?e[o-1]:r,s)})}function l(e,t,o){if(!e.length||r.hasOwnProperty(e))return t;for(var n=o.length;n--;){var a=o[n];if(a[0].test(t))return s(t,a)}return t}function p(e,t,r){return function(o){var n=o.toLowerCase();return t.hasOwnProperty(n)?i(o,n):e.hasOwnProperty(n)?i(o,e[n]):l(n,o,r)}}function c(e,t,r,o){return function(o){var n=o.toLowerCase();return!!t.hasOwnProperty(n)||!e.hasOwnProperty(n)&&l(n,n,r)===n}}function u(e,t,r){return(r?t+" ":"")+(1===t?u.singular(e):u.plural(e))}return u.plural=p(n,o,e),u.isPlural=c(n,o,e),u.singular=p(o,n,t),u.isSingular=c(o,n,t),u.addPluralRule=function(t,r){e.push([a(t),r])},u.addSingularRule=function(e,r){t.push([a(e),r])},u.addUncountableRule=function(e){"string"!=typeof e?(u.addPluralRule(e,"$0"),u.addSingularRule(e,"$0")):r[e.toLowerCase()]=!0},u.addIrregularRule=function(e,t){t=t.toLowerCase(),e=e.toLowerCase(),n[e]=t,o[t]=e},[["I","we"],["me","us"],["he","they"],["she","they"],["them","them"],["myself","ourselves"],["yourself","yourselves"],["itself","themselves"],["herself","themselves"],["himself","themselves"],["themself","themselves"],["is","are"],["was","were"],["has","have"],["this","these"],["that","those"],["echo","echoes"],["dingo","dingoes"],["volcano","volcanoes"],["tornado","tornadoes"],["torpedo","torpedoes"],["genus","genera"],["viscus","viscera"],["stigma","stigmata"],["stoma","stomata"],["dogma","dogmata"],["lemma","lemmata"],["schema","schemata"],["anathema","anathemata"],["ox","oxen"],["axe","axes"],["die","dice"],["yes","yeses"],["foot","feet"],["eave","eaves"],["goose","geese"],["tooth","teeth"],["quiz","quizzes"],["human","humans"],["proof","proofs"],["carve","carves"],["valve","valves"],["looey","looies"],["thief","thieves"],["groove","grooves"],["pickaxe","pickaxes"],["passerby","passersby"]].forEach(function(e){return u.addIrregularRule(e[0],e[1])}),[[/s?$/i,"s"],[/[^\u0000-\u007F]$/i,"$0"],[/([^aeiou]ese)$/i,"$1"],[/(ax|test)is$/i,"$1es"],[/(alias|[^aou]us|t[lm]as|gas|ris)$/i,"$1es"],[/(e[mn]u)s?$/i,"$1s"],[/([^l]ias|[aeiou]las|[ejzr]as|[iu]am)$/i,"$1"],[/(alumn|syllab|vir|radi|nucle|fung|cact|stimul|termin|bacill|foc|uter|loc|strat)(?:us|i)$/i,"$1i"],[/(alumn|alg|vertebr)(?:a|ae)$/i,"$1ae"],[/(seraph|cherub)(?:im)?$/i,"$1im"],[/(her|at|gr)o$/i,"$1oes"],[/(agend|addend|millenni|dat|extrem|bacteri|desiderat|strat|candelabr|errat|ov|symposi|curricul|automat|quor)(?:a|um)$/i,"$1a"],[/(apheli|hyperbat|periheli|asyndet|noumen|phenomen|criteri|organ|prolegomen|hedr|automat)(?:a|on)$/i,"$1a"],[/sis$/i,"ses"],[/(?:(kni|wi|li)fe|(ar|l|ea|eo|oa|hoo)f)$/i,"$1$2ves"],[/([^aeiouy]|qu)y$/i,"$1ies"],[/([^ch][ieo][ln])ey$/i,"$1ies"],[/(x|ch|ss|sh|zz)$/i,"$1es"],[/(matr|cod|mur|sil|vert|ind|append)(?:ix|ex)$/i,"$1ices"],[/\b((?:tit)?m|l)(?:ice|ouse)$/i,"$1ice"],[/(pe)(?:rson|ople)$/i,"$1ople"],[/(child)(?:ren)?$/i,"$1ren"],[/eaux$/i,"$0"],[/m[ae]n$/i,"men"],["thou","you"]].forEach(function(e){return u.addPluralRule(e[0],e[1])}),[[/s$/i,""],[/(ss)$/i,"$1"],[/(wi|kni|(?:after|half|high|low|mid|non|night|[^\w]|^)li)ves$/i,"$1fe"],[/(ar|(?:wo|[ae])l|[eo][ao])ves$/i,"$1f"],[/ies$/i,"y"],[/\b([pl]|zomb|(?:neck|cross)?t|coll|faer|food|gen|goon|group|lass|talk|goal|cut)ies$/i,"$1ie"],[/\b(mon|smil)ies$/i,"$1ey"],[/\b((?:tit)?m|l)ice$/i,"$1ouse"],[/(seraph|cherub)im$/i,"$1"],[/(x|ch|ss|sh|zz|tto|go|cho|alias|[^aou]us|t[lm]as|gas|(?:her|at|gr)o|[aeiou]ris)(?:es)?$/i,"$1"],[/(analy|diagno|parenthe|progno|synop|the|empha|cri|ne)(?:sis|ses)$/i,"$1sis"],[/(movie|twelve|abuse|e[mn]u)s$/i,"$1"],[/(test)(?:is|es)$/i,"$1is"],[/(alumn|syllab|vir|radi|nucle|fung|cact|stimul|termin|bacill|foc|uter|loc|strat)(?:us|i)$/i,"$1us"],[/(agend|addend|millenni|dat|extrem|bacteri|desiderat|strat|candelabr|errat|ov|symposi|curricul|quor)a$/i,"$1um"],[/(apheli|hyperbat|periheli|asyndet|noumen|phenomen|criteri|organ|prolegomen|hedr|automat)a$/i,"$1on"],[/(alumn|alg|vertebr)ae$/i,"$1a"],[/(cod|mur|sil|vert|ind)ices$/i,"$1ex"],[/(matr|append)ices$/i,"$1ix"],[/(pe)(rson|ople)$/i,"$1rson"],[/(child)ren$/i,"$1"],[/(eau)x?$/i,"$1"],[/men$/i,"man"]].forEach(function(e){return u.addSingularRule(e[0],e[1])}),["adulthood","advice","agenda","aid","aircraft","alcohol","ammo","analytics","anime","athletics","audio","bison","blood","bream","buffalo","butter","carp","cash","chassis","chess","clothing","cod","commerce","cooperation","corps","debris","diabetes","digestion","elk","energy","equipment","excretion","expertise","firmware","flounder","fun","gallows","garbage","graffiti","hardware","headquarters","health","herpes","highjinks","homework","housework","information","jeans","justice","kudos","labour","literature","machinery","mackerel","mail","media","mews","moose","music","mud","manga","news","only","personnel","pike","plankton","pliers","police","pollution","premises","rain","research","rice","salmon","scissors","series","sewage","shambles","shrimp","software","species","staff","swine","tennis","traffic","transportation","trout","tuna","wealth","welfare","whiting","wildebeest","wildlife","you",/pok[eé]mon$/i,/[^aeiou]ese$/i,/deer$/i,/fish$/i,/measles$/i,/o[iu]s$/i,/pox$/i,/sheep$/i].forEach(u.addUncountableRule),u},"function"==typeof require&&"object"==typeof e&&"object"==typeof t?t.exports=o():"function"==typeof define&&define.amd?define(function(){return o()}):r.pluralize=o()}),M=l(j(),1),T=/([\p{Ll}\d])(\p{Lu})/gu,F=/(\p{Lu})([\p{Lu}][\p{Ll}])/gu,R=/(\d)\p{Ll}|(\p{L})\d/u,D=/[^\p{L}\d]+/giu,L="$1\0$2";function I(e){let t=e.trim();t=t.replace(T,L).replace(F,L),t=t.replace(D,"\0");let r=0,o=t.length;for(;"\0"===t.charAt(r);)r++;if(r===o)return[];for(;"\0"===t.charAt(o-1);)o--;return t.slice(r,o).split(/\0/g)}function N(e){const t=I(e);for(let r=0;r<t.length;r++){const e=t[r],o=R.exec(e);if(o){const n=o.index+(o[1]??o[2]).length;t.splice(r,1,e.slice(0,n),e.slice(n))}}return t}function U(e,t){const[r,o,n]=J(e,t);return r+o.map(W(t?.locale)).join(t?.delimiter??" ")+n}function Q(e,t){const[r,o,n]=J(e,t),a=W(t?.locale),i=H(t?.locale),s=t?.mergeAmbiguousCharacters?G(a,i):K(a,i);return r+o.map((e,t)=>0===t?a(e):s(e,t)).join(t?.delimiter??"")+n}function q(e,t){const[r,o,n]=J(e,t),a=W(t?.locale),i=H(t?.locale),s=t?.mergeAmbiguousCharacters?G(a,i):K(a,i);return r+o.map(s).join(t?.delimiter??"")+n}function z(e,t){return U(e,{delimiter:"-",...t})}function V(e,t){return U(e,{delimiter:"_",...t})}function W(e){return!1===e?e=>e.toLowerCase():t=>t.toLocaleLowerCase(e)}function H(e){return!1===e?e=>e.toUpperCase():t=>t.toLocaleUpperCase(e)}function G(e,t){return r=>`${t(r[0])}${e(r.slice(1))}`}function K(e,t){return(r,o)=>{const n=r[0];return(o>0&&n>="0"&&n<="9"?"_"+n:t(n))+e(r.slice(1))}}function J(e,t={}){const r=t.split??(t.separateNumbers?N:I),o=t.prefixCharacters??"",n=t.suffixCharacters??"";let a=0,i=e.length;for(;a<e.length;){const t=e.charAt(a);if(!o.includes(t))break;a++}for(;i>a;){const t=i-1,r=e.charAt(t);if(!n.includes(r))break;i=t}return[e.slice(0,a),r(e.slice(a,i)),e.slice(i)]}var{plural:X,singular:Z}=M.default,Y=e=>null==e?"":e.toString().replace(/٠/g,"0").replace(/١/g,"1").replace(/٢/g,"2").replace(/٣/g,"3").replace(/٤/g,"4").replace(/٥/g,"5").replace(/٦/g,"6").replace(/٧/g,"7").replace(/٨/g,"8").replace(/٩/g,"9"),ee=e=>null==e||""===e?"":Y(e).replace(/,/g,""),{testPattern:te}=u.patterns,re={float:e=>null==e||u.is.number(parseInt(e))&&!isNaN(parseInt(e))&&e?.toString().split(".")?.length<=2&&/(\d)+/g.test(e)&&!/[a-zA-Z]/.test(e),date:e=>/^-?[\d]+-[0-1]\d-[0-3]\d$/.test(e),time:e=>te.time(e),fulltime:e=>te.fulltime(e),timeOrFulltime:e=>te.timeOrFulltime(e),hexColor:e=>te.hexColor(e),hexaColor:e=>te.hexaColor(e),hexOrHexaColor:e=>te.hexOrHexaColor(e),rgbColor:e=>te.rgbColor(e),rgbaColor:e=>te.rgbaColor(e),rgbOrRgbaColor:e=>te.rgbOrRgbaColor(e),hexOrRgbColor:e=>te.hexOrRgbColor(e),hexaOrRgbaColor:e=>te.hexaOrRgbaColor(e),color:e=>!e||te.anyColor(e),requiredColor:e=>te.anyColor(e)},{getPaletteColor:oe}=u.colors,ne={class:"q-dialog-plugin m-dialog__wrapper"},ae={class:"row items-center"},ie=["src"],se=(0,p.defineComponent)({name:"MDialogFrame",__name:"MDialogFrame",props:{url:{},height:{},noDownload:{type:Boolean},iframeProps:{},image:{type:Boolean},imageProps:{}},emits:[...u.useDialogPluginComponent.emits],setup(e){const t=e,{__:r,conf:o}=b(),{dialogRef:n,onDialogHide:a,onDialogOK:i}=(0,u.useDialogPluginComponent)(),s=(0,u.useQuasar)(),l=(0,p.computed)({get:()=>s.loading.isActive,set:e=>e?s.loading.show():s.loading.hide()}),c=(0,p.computed)(()=>t.url||null),f=()=>{l.value&&(l.value=!1)};return(t,y)=>{const d=(0,p.resolveComponent)("q-btn");return(0,p.openBlock)(),(0,p.createBlock)((0,p.unref)(u.QDialog),(0,p.mergeProps)({ref_key:"dialogRef",ref:n,class:"m-dialog",maximized:"","no-shake":"","transition-hide":"fade","transition-show":"fade"},(0,p.unref)(o).componentsProps.dialog,{onHide:(0,p.unref)(a)}),{default:(0,p.withCtx)(()=>[(0,p.createElementVNode)("div",ne,[(0,p.createVNode)((0,p.unref)(u.QCard),{flat:"",square:""},{default:(0,p.withCtx)(()=>[(0,p.createVNode)((0,p.unref)(u.QCardSection),{style:{"max-height":"80px"}},{default:(0,p.withCtx)(()=>[(0,p.createElementVNode)("div",ae,[e.noDownload?(0,p.createCommentVNode)("",!0):((0,p.openBlock)(),(0,p.createBlock)(d,{key:0,label:(0,p.unref)(r)("labels.download"),icon:"ion-ios-open",onClick:y[0]||(y[0]=e=>{c.value&&k(c.value)})},null,8,["label"])),(0,p.createVNode)((0,p.unref)(u.QSpace)),(0,p.createVNode)(d,{flat:"",icon:"close",padding:"3px",onClick:y[1]||(y[1]=e=>{i()})})])]),_:1}),(0,p.createVNode)((0,p.unref)(u.QSeparator)),(0,p.createElementVNode)("div",{style:(0,p.normalizeStyle)({height:(0,p.unref)(s).screen.height-70+"px"}),class:"content-center m-dialog__content"},[(0,p.renderSlot)(t.$slots,"default",{},()=>[c.value?((0,p.openBlock)(),(0,p.createElementBlock)(p.Fragment,{key:0},[e.image?((0,p.openBlock)(),(0,p.createBlock)((0,p.unref)(u.QImg),(0,p.mergeProps)({key:0,height:e.height??"80%",src:c.value,class:"m-dialog__img",fit:"contain","no-spinner":"",style:{"max-height":"100%"}},e.imageProps,{onError:y[2]||(y[2]=e=>f()),onLoad:y[3]||(y[3]=e=>f())}),{loading:(0,p.withCtx)(()=>[(0,p.createVNode)((0,p.unref)(u.QSkeleton),{height:"100%",width:"100%"})]),_:1},16,["height","src"])):((0,p.openBlock)(),(0,p.createElementBlock)("iframe",(0,p.mergeProps)({key:1,src:c.value,style:`width: 100%; border: 0; height: ${e.height??"99%"}`,class:"m-dialog__iframe"},e.iframeProps,{onLoad:y[4]||(y[4]=e=>l.value=!1)}),null,16,ie))],64)):(0,p.createCommentVNode)("",!0)])],4)]),_:3})])]),_:3},16,["onHide"])}}}),le=()=>({container:(0,p.inject)(g,{})});function pe(e){const t=(0,p.toValue)(e),r=e=>{if("in"===e&&t.enterActiveClass)return`animated ${t.enterActiveClass}`;if("out"===e&&t.leaveActiveClass)return`animated ${t.leaveActiveClass}`;if("appear"===e&&t.appearActiveClass)return`animated ${t.appearActiveClass}`;const r=t[e];if(!r)return;const o=["animated",r],n=[`${e}Slower`,`${e}Slow`,`${e}Fast`,`${e}Faster`];for(const s of n)t[s]&&o.push(s.replace(e,"").toLowerCase());const a=t[`${e}Delay`]||!1;a&&(!0===a&&o.push("delay-1s"),"number"!=typeof a&&"string"!=typeof a||o.push(`delay-${a}s`));const i=t[`${e}Repeat`]||!1;return i&&(!0===i&&o.push("repeat"),"number"!=typeof i&&"string"!=typeof i||o.push(`repeat-${i}`)),o.join(" ")};return{getClasses:r,computedProps:(0,p.computed)(()=>{const e={enterActiveClass:r("in"),leaveActiveClass:r("out"),appearActiveClass:r("appear"),appear:!t.noAppear,css:!t.noCss};for(const t of["in","inSlower","inSlow","inFast","inFaster","inDelay","inRepeat","out","outSlower","outSlow","outFast","outFaster","outDelay","outRepeat","appearSlower","appearSlow","appearFast","appearFaster","appearDelay","appearRepeat","noAppear","noCss"])delete e[t];return e})}}var ce=(0,p.defineComponent)({name:"MBtn",__name:"MBtn",props:{label:{default:()=>{}},spinner:{default:()=>{}},loading:{type:Boolean,default:!1},nativeLabel:{type:Boolean,default:!1},noStyle:{type:Boolean,default:!1}},setup(e){const t={QSpinner:u.QSpinner,QSpinnerAudio:u.QSpinnerAudio,QSpinnerBall:u.QSpinnerBall,QSpinnerBars:u.QSpinnerBars,QSpinnerBox:u.QSpinnerBox,QSpinnerClock:u.QSpinnerClock,QSpinnerComment:u.QSpinnerComment,QSpinnerCube:u.QSpinnerCube,QSpinnerDots:u.QSpinnerDots,QSpinnerFacebook:u.QSpinnerFacebook,QSpinnerGears:u.QSpinnerGears,QSpinnerGrid:u.QSpinnerGrid,QSpinnerHearts:u.QSpinnerHearts,QSpinnerHourglass:u.QSpinnerHourglass,QSpinnerInfinity:u.QSpinnerInfinity,QSpinnerIos:u.QSpinnerIos,QSpinnerOrbit:u.QSpinnerOrbit,QSpinnerOval:u.QSpinnerOval,QSpinnerPie:u.QSpinnerPie,QSpinnerPuff:u.QSpinnerPuff,QSpinnerRadio:u.QSpinnerRadio,QSpinnerRings:u.QSpinnerRings,QSpinnerTail:u.QSpinnerTail},{__:r,conf:o,btnStyle:n}=b(),a=(0,p.computed)(()=>void 0!==e.spinner?e.spinner:o.theme.loadingOptions?.type),i=(0,p.computed)(()=>{if(a.value)return"spinner"===a.value?t.QSpinner:t[q(`q-spinner-${a.value}`)]}),s=(0,p.computed)(()=>o.theme.loadingOptions?.size),l=(0,p.computed)(()=>o.theme.loadingOptions?.color),c=(0,p.computed)(()=>!0===e.nativeLabel?null===e.label||void 0===e.label?void 0:String(e.label):void 0!==e.label&&null!==e.label?r(String(e.label)):void 0),f=(0,p.computed)(()=>({...e.noStyle?{}:(0,p.toValue)(n),...o.componentsProps.btn||{},ariaLabel:c.value}));return(t,r)=>((0,p.openBlock)(),(0,p.createBlock)((0,p.unref)(u.QBtn),(0,p.mergeProps)({label:c.value,loading:e.loading,class:"m-btn"},f.value),(0,p.createSlots)({_:2},[t.$slots.loading?{name:"loading",fn:(0,p.withCtx)(()=>[(0,p.renderSlot)(t.$slots,"loading")]),key:"0"}:a.value&&i.value?{name:"loading",fn:(0,p.withCtx)(()=>[((0,p.openBlock)(),(0,p.createBlock)((0,p.resolveDynamicComponent)(i.value),{color:l.value,size:s.value},null,8,["color","size"]))]),key:"1"}:void 0,t.$slots.default?{name:"default",fn:(0,p.withCtx)(()=>[(0,p.renderSlot)(t.$slots,"default")]),key:"2"}:void 0]),1040,["label","loading"]))}}),ue=(0,p.defineComponent)({name:"MBlock",__name:"MBlock",props:{tag:{default:"div"},size:{default:()=>{}},rounded:{type:Boolean,default:()=>{}},shadow:{default:()=>{}}},setup(e){const{container:t}=le(),{conf:r}=b(),o=(0,p.computed)(()=>void 0!==e.size?e.size:t.size??r.theme.gutterSize??"md"),n=(0,p.computed)(()=>void 0!==e.rounded?e.rounded:t.rounded??r.theme.rounded??!1),a=(0,p.computed)(()=>void 0!==e.shadow?e.shadow:t.shadow??r.theme.shadow??void 0);return(t,r)=>((0,p.openBlock)(),(0,p.createBlock)((0,p.resolveDynamicComponent)(e.tag),{class:(0,p.normalizeClass)([{[`q-pa-${o.value}`]:o.value&&"none"!==o.value,"rounded-borders":n.value,[`shadow-${a.value||""}`]:a.value&&"none"!==a.value},"m-block"])},{default:(0,p.withCtx)(()=>[(0,p.renderSlot)(t.$slots,"default")]),_:3},8,["class"]))}}),fe=(0,p.defineComponent)({name:"MCol",__name:"MCol",props:{name:{},tag:{},auto:{type:Boolean},shrink:{type:Boolean},grow:{type:Boolean},col:{type:[Boolean,String,Number]},xs:{type:[Boolean,String,Number]},sm:{type:[Boolean,String,Number]},md:{type:[Boolean,String,Number]},lg:{type:[Boolean,String,Number]},xl:{type:[Boolean,String,Number]},xxl:{type:[Boolean,String,Number]}},setup(e){const t=e,r=(0,p.computed)(()=>{const e=["m-col"];t.auto&&e.push("col-auto"),t.shrink&&e.push("col-shrink"),t.grow&&e.push("col-grow"),"grow"===t.col?e.push("col-grow"):"shrink"===t.col?e.push("col-shrink"):"string"!=typeof t.col&&"number"!=typeof t.col||t.col?.toString()?.trim()?.length>0&&!e.includes(`col-${t.col}`)&&e.push(`col-${t.col}`);for(const r of["xs","sm","md","lg","xl","xxl"])t[r]&&"boolean"!=typeof t[r]&&(e.includes(`col-${r}-${t[r]}`)||e.push(`col-${r}-${t[r]}`));return 1===e.length&&!1!==t.col&&void 0!==t.col&&e.push("col"),B(e)});return(t,o)=>((0,p.openBlock)(),(0,p.createBlock)((0,p.resolveDynamicComponent)(e.tag??"div"),{class:(0,p.normalizeClass)(r.value),"data-input-name":e.name??void 0},{default:(0,p.withCtx)(()=>[(0,p.renderSlot)(t.$slots,"default")]),_:3},8,["class","data-input-name"]))}}),ye=(0,p.defineComponent)({name:"MGrid",__name:"MGrid",props:{tag:{default:"div"},gridType:{default:"row"},size:{default:()=>{}},type:{default:()=>{}}},setup(e){const{container:t}=le(),{conf:r}=b(),o=(0,p.computed)(()=>void 0!==e.size?e.size:t?.size??r.theme.gutterSize??"md"),n=(0,p.computed)(()=>void 0!==e.type?e.type:t?.type??r.theme.gutterType??"gutter"),a=(0,p.computed)(()=>`q${"col"===e.type?"-col":""}-gutter`);return(t,r)=>((0,p.openBlock)(),(0,p.createBlock)((0,p.resolveDynamicComponent)(e.tag),{class:(0,p.normalizeClass)({"m-row row":"row"===e.gridType,"m-column column":"column"===e.gridType,[`${a.value}-${o.value}`]:!!n.value&&"none"!==n.value})},{default:(0,p.withCtx)(()=>[(0,p.renderSlot)(t.$slots,"default")]),_:3},8,["class"]))}}),de=(0,p.defineComponent)({name:"MColumn",__name:"MColumn",props:{size:{default:()=>{}},type:{default:()=>{}}},setup:e=>(t,r)=>((0,p.openBlock)(),(0,p.createBlock)(ye,{size:e.size,type:e.type,"grid-type":"column"},{default:(0,p.withCtx)(()=>[(0,p.renderSlot)(t.$slots,"default")]),_:3},8,["size","type"]))}),me=(0,p.defineComponent)({name:"MContainer",__name:"MContainer",props:{tag:{default:"div"},size:{default:()=>"md"},type:{default:()=>h},dense:{type:Boolean,default:()=>{}},fluid:{type:Boolean,default:()=>{}},rounded:{type:Boolean,default:()=>{}},shadow:{default:()=>{}}},setup(e){const{conf:t}=b(),r=(0,p.computed)(()=>"md"!==e.size?e.size:t.theme.gutterSize??"md"),o=(0,p.computed)(()=>"gutter"!==e.type?e.type:t.theme.gutterType??"gutter"),n=(0,p.computed)(()=>e.rounded??t.theme.rounded??!1),a=(0,p.computed)(()=>e.dense??t.theme.dense??!1),i=(0,p.computed)(()=>e.fluid??t.theme.fluid??!1);return(0,p.provide)(g,(0,p.reactive)({gutterSize:r,gutterType:o,rounded:n,dense:a,fluid:i,shadow:(0,p.computed)(()=>e.shadow??t.theme.shadow??void 0)})),(t,o)=>((0,p.openBlock)(),(0,p.createBlock)((0,p.resolveDynamicComponent)(e.tag),{class:(0,p.normalizeClass)([{"m-container__fluid":!!i.value,"m-container__dense":!!a.value,"q-pa-none":"none"===r.value,[`q-pa-${r.value||""}`]:r.value&&"none"!==r.value},"m-container"])},{default:(0,p.withCtx)(()=>[(0,p.renderSlot)(t.$slots,"default")]),_:3},8,["class"]))}}),ge={class:"col-auto m-help-row__icon-wrapper"},he={key:0,class:"col m-help-row__text-wrapper"},be=["textContent"],ve=(0,p.defineComponent)({name:"MHelpRow",__name:"MHelpRow",props:{tag:{default:"div"},text:{default:""},icon:{default:()=>{}},tooltip:{type:Boolean,default:!1}},setup(e){const{__:t}=b();return(r,o)=>{const n=(0,p.resolveComponent)("MTooltip");return e.text||e.tooltip?((0,p.openBlock)(),(0,p.createBlock)((0,p.resolveDynamicComponent)(e.tag),{key:0,class:"row m-help-row"},{default:(0,p.withCtx)(()=>[(0,p.createElementVNode)("div",ge,[(0,p.createVNode)((0,p.unref)(u.QIcon),{class:(0,p.normalizeClass)([{"cursor-pointer":e.tooltip},"m-help-row__icon"]),left:!!e.text&&!e.tooltip,name:e.icon??"ion-ios-information-circle-outline",size:"19px"},{default:(0,p.withCtx)(()=>[e.tooltip?((0,p.openBlock)(),(0,p.createBlock)(n,{key:0,anchor:"center end",class:"bg-transparent text-black text-justify m-help-row__tooltip",self:"center start","transition-hide":"jump-right","transition-show":"jump-left"},{default:(0,p.withCtx)(()=>[(0,p.createVNode)((0,p.unref)(u.QCard),(0,p.normalizeProps)((0,p.guardReactiveProps)({style:{maxWidth:"280px"}})),{default:(0,p.withCtx)(()=>[(0,p.createVNode)((0,p.unref)(u.QCardSection),(0,p.normalizeProps)((0,p.guardReactiveProps)({style:{fontSize:"13px"}})),{default:(0,p.withCtx)(()=>[(0,p.createTextVNode)((0,p.toDisplayString)((0,p.unref)(t)(e.text)),1)]),_:1},16)]),_:1},16)]),_:1})):(0,p.createCommentVNode)("",!0)]),_:1},8,["class","left","name"])]),!e.tooltip&&e.text?((0,p.openBlock)(),(0,p.createElementBlock)("div",he,[(0,p.createElementVNode)("div",{textContent:(0,p.toDisplayString)((0,p.unref)(t)(e.text))},null,8,be)])):(0,p.createCommentVNode)("",!0)]),_:1})):(0,p.createCommentVNode)("",!0)}}}),we=(0,p.defineComponent)({name:"MInnerLoading",__name:"MInnerLoading",props:{showing:{type:Boolean,default:!1},label:{default:()=>{}},labelClass:{default:()=>{}},labelStyle:{default:"font-size: 1.1em"},color:{default:"primary"}},setup(e){const{__:t}=b();return(r,o)=>((0,p.openBlock)(),(0,p.createBlock)((0,p.unref)(u.QInnerLoading),{color:e.color,label:(0,p.unref)(t)(e.label??"labels.plz_wait"),"label-class":e.labelClass,"label-style":e.labelStyle,showing:e.showing,class:"m-inner-loading"},(0,p.createSlots)({_:2},[void 0!==r.$slots.default?{name:"default",fn:(0,p.withCtx)(()=>[(0,p.renderSlot)(r.$slots,"default")]),key:"0"}:void 0]),1032,["color","label","label-class","label-style","showing"]))}}),Se=(0,p.defineComponent)({name:"MRow",__name:"MRow",props:{size:{default:()=>{}},type:{default:()=>{}}},setup:e=>(t,r)=>((0,p.openBlock)(),(0,p.createBlock)(ye,{size:e.size,type:e.type,"grid-type":"row"},{default:(0,p.withCtx)(()=>[(0,p.renderSlot)(t.$slots,"default")]),_:3},8,["size","type"]))}),xe=(0,p.defineComponent)({name:"MTooltip",__name:"MTooltip",setup:e=>(e,t)=>((0,p.openBlock)(),(0,p.createBlock)((0,p.unref)(u.QTooltip),{class:"m-tooltip","transition-hide":"scale","transition-show":"scale"},{default:(0,p.withCtx)(()=>[(0,p.renderSlot)(e.$slots,"default")]),_:3}))}),Ce=(0,p.defineComponent)({name:"MTransition",__name:"MTransition",props:{in:{},inSlower:{type:Boolean},inSlow:{type:Boolean},inFast:{type:Boolean},inFaster:{type:Boolean},inDelay:{type:[Boolean,String,Number]},inRepeat:{type:[Boolean,String,Number]},out:{},outSlower:{type:Boolean},outSlow:{type:Boolean},outFast:{type:Boolean},outFaster:{type:Boolean},outDelay:{type:[Boolean,String,Number]},outRepeat:{type:[Boolean,String,Number]},appear:{},appearSlower:{type:Boolean},appearSlow:{type:Boolean},appearFast:{type:Boolean},appearFaster:{type:Boolean},appearDelay:{type:[Boolean,String,Number]},appearRepeat:{type:[Boolean,String,Number]},noAppear:{type:Boolean},noCss:{type:Boolean},name:{},type:{},css:{type:Boolean},duration:{},enterFromClass:{},enterActiveClass:{},enterToClass:{},appearFromClass:{},appearActiveClass:{},appearToClass:{},leaveFromClass:{},leaveActiveClass:{},leaveToClass:{},mode:{},persisted:{type:Boolean},onBeforeEnter:{type:[Function,Array]},onEnter:{type:[Function,Array]},onAfterEnter:{type:[Function,Array]},onEnterCancelled:{type:[Function,Array]},onBeforeLeave:{type:[Function,Array]},onLeave:{type:[Function,Array]},onAfterLeave:{type:[Function,Array]},onLeaveCancelled:{type:[Function,Array]},onBeforeAppear:{type:[Function,Array]},onAppear:{type:[Function,Array]},onAfterAppear:{type:[Function,Array]},onAppearCancelled:{type:[Function,Array]}},setup(e){const t=e,{computedProps:r}=pe(()=>t);return(e,t)=>((0,p.openBlock)(),(0,p.createBlock)(p.Transition,(0,p.normalizeProps)((0,p.guardReactiveProps)((0,p.unref)(r))),{default:(0,p.withCtx)(()=>[(0,p.renderSlot)(e.$slots,"default")]),_:3},16))}}),Ae=(0,p.defineComponent)({name:"MTransitionGroup",__name:"MTransitionGroup",props:{in:{},inSlower:{type:Boolean},inSlow:{type:Boolean},inFast:{type:Boolean},inFaster:{type:Boolean},inDelay:{type:[Boolean,String,Number]},inRepeat:{type:[Boolean,String,Number]},out:{},outSlower:{type:Boolean},outSlow:{type:Boolean},outFast:{type:Boolean},outFaster:{type:Boolean},outDelay:{type:[Boolean,String,Number]},outRepeat:{type:[Boolean,String,Number]},appear:{},appearSlower:{type:Boolean},appearSlow:{type:Boolean},appearFast:{type:Boolean},appearFaster:{type:Boolean},appearDelay:{type:[Boolean,String,Number]},appearRepeat:{type:[Boolean,String,Number]},noAppear:{type:Boolean},noCss:{type:Boolean},name:{},type:{},css:{type:Boolean},duration:{},enterFromClass:{},enterActiveClass:{},enterToClass:{},appearFromClass:{},appearActiveClass:{},appearToClass:{},leaveFromClass:{},leaveActiveClass:{},leaveToClass:{},persisted:{type:Boolean},onBeforeEnter:{type:[Function,Array]},onEnter:{type:[Function,Array]},onAfterEnter:{type:[Function,Array]},onEnterCancelled:{type:[Function,Array]},onBeforeLeave:{type:[Function,Array]},onLeave:{type:[Function,Array]},onAfterLeave:{type:[Function,Array]},onLeaveCancelled:{type:[Function,Array]},onBeforeAppear:{type:[Function,Array]},onAppear:{type:[Function,Array]},onAfterAppear:{type:[Function,Array]},onAppearCancelled:{type:[Function,Array]},tag:{},moveClass:{}},setup(e){const{computedProps:t}=pe(e);return(e,r)=>((0,p.openBlock)(),(0,p.createBlock)(p.TransitionGroup,(0,p.normalizeProps)((0,p.guardReactiveProps)((0,p.unref)(t))),{default:(0,p.withCtx)(()=>[(0,p.renderSlot)(e.$slots,"default")]),_:3},16))}}),ke=(0,p.defineComponent)({name:"MSarIcon",inheritAttrs:!1,__name:"MSarIcon",setup:e=>(e,t)=>((0,p.openBlock)(),(0,p.createBlock)((0,p.unref)(u.QIcon),(0,p.mergeProps)({class:"m-sar-icon"},{...e.$attrs,name:"myth-sar"}),{default:(0,p.withCtx)(()=>[(0,p.renderSlot)(e.$slots,"default")]),_:3},16))}),Oe=(0,p.defineComponent)({name:"MSarString",__name:"MSarString",props:{tag:{default:"span"},text:{default:()=>{}},string:{type:Boolean,default:!1},format:{default:()=>{}},digits:{default:()=>{}},symbol:{type:Boolean,default:()=>{}}},setup(e){const{te:t}=(0,f.useI18n)({useScope:"global"}),{__:r,conf:o}=b(),n=(0,p.computed)(()=>void 0!==e.symbol?e.symbol?"﷼":"":void 0!==o.componentsProps?.sarString?.symbol&&o.componentsProps.sarString?.symbol?"﷼":""),a=(0,u.useQuasar)(),i=(0,p.computed)(()=>{const o=void 0!==e.text&&null!==e.text?String(e.text).trim():"";if(0===o.length)return;const i=void 0!==e.digits?parseInt(String(e.digits),10):2,s=isNaN(i)?2:i,l={minimumFractionDigits:s,maximumFractionDigits:s,...e.format};let p=o;e.string&&(t(`labels.${o}`)?p=r(`labels.${o}`):t(o)&&(p=r(o)));const c=Number(p);return isNaN(c)||""===p?a.lang.rtl?`${p} ${n.value}`.trim():`${n.value} ${p}`.trim():a.lang.rtl?$(c,n.value,l):`${n.value} ${$(c,n.value,l)}`.trim()});return(t,r)=>((0,p.openBlock)(),(0,p.createBlock)((0,p.resolveDynamicComponent)(e.tag),{class:"sar-font m-sar-string"},{default:(0,p.withCtx)(()=>[(0,p.renderSlot)(t.$slots,"default",{},()=>[(0,p.createTextVNode)((0,p.toDisplayString)(i.value),1)])]),_:3}))}});function Pe(){return Pe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)({}).hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},Pe.apply(null,arguments)}var $e={strings:["These are the default values...","You know what you should do?","Use your own!","Have a great day!"],stringsElement:null,typeSpeed:0,startDelay:0,backSpeed:0,smartBackspace:!0,shuffle:!1,backDelay:700,shouldBackspace:!0,fadeOut:!1,fadeOutClass:"typed-fade-out",fadeOutDelay:500,loop:!1,loopCount:1/0,showCursor:!0,cursorChar:"|",autoInsertCss:!0,attr:null,bindInputFocusEvents:!1,contentType:"html",onBegin:function(e){},onComplete:function(e){},preStringTyped:function(e,t){},onStringTyped:function(e,t){},onLastStringBackspaced:function(e){},onTypingPaused:function(e,t){},onTypingResumed:function(e,t){},onReset:function(e){},onStop:function(e,t){},onStart:function(e,t){},onDestroy:function(e){}},Be=new(function(){function e(){}var t=e.prototype;return t.load=function(e,t,r){if(e.el="string"==typeof r?document.querySelector(r):r,e.options=Pe({},$e,t),e.isInput="input"===e.el.tagName.toLowerCase(),e.attr=e.options.attr,e.bindInputFocusEvents=e.options.bindInputFocusEvents,e.showCursor=!e.isInput&&e.options.showCursor,e.cursorChar=e.options.cursorChar,e.cursorBlinking=!0,e.elContent=e.attr?e.el.getAttribute(e.attr):e.el.textContent,e.contentType=e.options.contentType,e.typeSpeed=e.options.typeSpeed,e.startDelay=e.options.startDelay,e.backSpeed=e.options.backSpeed,e.smartBackspace=e.options.smartBackspace,e.backDelay=e.options.backDelay,e.shouldBackspace=e.options.shouldBackspace,e.fadeOut=e.options.fadeOut,e.fadeOutClass=e.options.fadeOutClass,e.fadeOutDelay=e.options.fadeOutDelay,e.isPaused=!1,e.strings=e.options.strings.map(function(e){return e.trim()}),e.stringsElement="string"==typeof e.options.stringsElement?document.querySelector(e.options.stringsElement):e.options.stringsElement,e.stringsElement){e.strings=[],e.stringsElement.style.cssText="clip: rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px;";var o=Array.prototype.slice.apply(e.stringsElement.children),n=o.length;if(n)for(var a=0;a<n;a+=1)e.strings.push(o[a].innerHTML.trim())}for(var i in e.strPos=0,e.currentElContent=this.getCurrentElContent(e),e.currentElContent&&e.currentElContent.length>0&&(e.strPos=e.currentElContent.length-1,e.strings.unshift(e.currentElContent)),e.sequence=[],e.strings)e.sequence[i]=i;e.arrayPos=0,e.stopNum=0,e.loop=e.options.loop,e.loopCount=e.options.loopCount,e.curLoop=0,e.shuffle=e.options.shuffle,e.pause={status:!1,typewrite:!0,curString:"",curStrPos:0},e.typingComplete=!1,e.autoInsertCss=e.options.autoInsertCss,e.autoInsertCss&&(this.appendCursorAnimationCss(e),this.appendFadeOutAnimationCss(e))},t.getCurrentElContent=function(e){return e.attr?e.el.getAttribute(e.attr):e.isInput?e.el.value:"html"===e.contentType?e.el.innerHTML:e.el.textContent},t.appendCursorAnimationCss=function(e){var t="data-typed-js-cursor-css";if(e.showCursor&&!document.querySelector("["+t+"]")){var r=document.createElement("style");r.setAttribute(t,"true"),r.innerHTML="\n .typed-cursor{\n opacity: 1;\n }\n .typed-cursor.typed-cursor--blink{\n animation: typedjsBlink 0.7s infinite;\n -webkit-animation: typedjsBlink 0.7s infinite;\n animation: typedjsBlink 0.7s infinite;\n }\n @keyframes typedjsBlink{\n 50% { opacity: 0.0; }\n }\n @-webkit-keyframes typedjsBlink{\n 0% { opacity: 1; }\n 50% { opacity: 0.0; }\n 100% { opacity: 1; }\n }\n ",document.body.appendChild(r)}},t.appendFadeOutAnimationCss=function(e){var t="data-typed-fadeout-js-css";if(e.fadeOut&&!document.querySelector("["+t+"]")){var r=document.createElement("style");r.setAttribute(t,"true"),r.innerHTML="\n .typed-fade-out{\n opacity: 0;\n transition: opacity .25s;\n }\n .typed-cursor.typed-cursor--blink.typed-fade-out{\n -webkit-animation: 0;\n animation: 0;\n }\n ",document.body.appendChild(r)}},e}()),_e=new(function(){function e(){}var t=e.prototype;return t.typeHtmlChars=function(e,t,r){if("html"!==r.contentType)return t;var o=e.substring(t).charAt(0);if("<"===o||"&"===o){var n;for(n="<"===o?">":";";e.substring(t+1).charAt(0)!==n&&!(1+ ++t>e.length););t++}return t},t.backSpaceHtmlChars=function(e,t,r){if("html"!==r.contentType)return t;var o=e.substring(t).charAt(0);if(">"===o||";"===o){var n;for(n=">"===o?"<":"&";e.substring(t-1).charAt(0)!==n&&!(--t<0););t--}return t},e}()),Ee=function(){function e(e,t){Be.load(this,t,e),this.begin()}var t=e.prototype;return t.toggle=function(){this.pause.status?this.start():this.stop()},t.stop=function(){this.typingComplete||this.pause.status||(this.toggleBlinking(!0),this.pause.status=!0,this.options.onStop(this.arrayPos,this))},t.start=function(){this.typingComplete||this.pause.status&&(this.pause.status=!1,this.pause.typewrite?this.typewrite(this.pause.curString,this.pause.curStrPos):this.backspace(this.pause.curString,this.pause.curStrPos),this.options.onStart(this.arrayPos,this))},t.destroy=function(){this.reset(!1),this.options.onDestroy(this)},t.reset=function(e){void 0===e&&(e=!0),clearInterval(this.timeout),this.replaceText(""),this.cursor&&this.cursor.parentNode&&(this.cursor.parentNode.removeChild(this.cursor),this.cursor=null),this.strPos=0,this.arrayPos=0,this.curLoop=0,e&&(this.insertCursor(),this.options.onReset(this),this.begin())},t.append=function(e){var t=this,r=this.strings[this.strings.length-1];this.strings.push(e),this.sequence=this.strings.map(function(e,t){return t}),this.typingComplete&&(this.timeout=this.shouldBackspace?setTimeout(function(){t.backspace(r,r.length-1)},this.backDelay):setTimeout(function(){t.arrayPos++,t.typewrite(t.strings[t.sequence[t.arrayPos]],0)},this.backDelay))},t.begin=function(){var e=this;this.options.onBegin(this),this.typingComplete=!1,this.shuffleStringsIfNeeded(),this.insertCursor(),this.bindInputFocusEvents&&this.bindFocusEvents(),this.timeout=setTimeout(function(){0===e.strPos?e.typewrite(e.strings[e.sequence[e.arrayPos]],e.strPos):e.backspace(e.strings[e.sequence[e.arrayPos]],e.strPos)},this.startDelay)},t.typewrite=function(e,t){var r=this;this.fadeOut&&this.el.classList.contains(this.fadeOutClass)&&(this.el.classList.remove(this.fadeOutClass),this.cursor&&this.cursor.classList.remove(this.fadeOutClass));var o=this.humanizer(this.typeSpeed),n=1;!0!==this.pause.status?this.timeout=setTimeout(function(){t=_e.typeHtmlChars(e,t,r);var o=0,a=e.substring(t);if("^"===a.charAt(0)&&/^\^\d+/.test(a)){var i=1;i+=(a=/\d+/.exec(a)[0]).length,o=parseInt(a),r.temporaryPause=!0,r.options.onTypingPaused(r.arrayPos,r),e=e.substring(0,t)+e.substring(t+i),r.toggleBlinking(!0)}if("`"===a.charAt(0)){for(;"`"!==e.substring(t+n).charAt(0)&&(n++,!(t+n>e.length)););var s=e.substring(0,t),l=e.substring(s.length+1,t+n),p=e.substring(t+n+1);e=s+l+p,n--}r.timeout=setTimeout(function(){r.toggleBlinking(!1),t>=e.length?r.doneTyping(e,t):r.keepTyping(e,t,n),r.temporaryPause&&(r.temporaryPause=!1,r.options.onTypingResumed(r.arrayPos,r))},o)},o):this.setPauseStatus(e,t,!0)},t.keepTyping=function(e,t,r){if(0===t&&(this.toggleBlinking(!1),this.options.preStringTyped(this.arrayPos,this)),this.shouldBackspace){var o=e.substring(0,t+=r);this.replaceText(o)}else{var n=e.substring(t,t+r);t+=r,this.replaceText(n)}this.typewrite(e,t)},t.doneTyping=function(e,t){var r=this;this.options.onStringTyped(this.arrayPos,this),this.toggleBlinking(!0),this.isFinalString()&&(this.complete(),!1===this.loop||this.curLoop===this.loopCount)||(this.timeout=this.shouldBackspace?setTimeout(function(){r.backspace(e,t)},this.backDelay):setTimeout(function(){r.arrayPos++,r.typewrite(r.strings[r.sequence[r.arrayPos]],0)},this.backDelay))},t.backspace=function(e,t){var r=this;if(!0!==this.pause.status){if(this.fadeOut)return this.initFadeOut();this.toggleBlinking(!1);var o=this.humanizer(this.backSpeed);this.timeout=setTimeout(function(){t=_e.backSpaceHtmlChars(e,t,r);var o=e.substring(0,t);if(r.replaceText(o),r.smartBackspace){var n=r.strings[r.sequence[r.arrayPos+1]];r.stopNum=n&&o===n.substring(0,t)?t:0}t>r.stopNum?(t--,r.backspace(e,t)):t<=r.stopNum&&(r.isFinalString()?r.lastStringBackspaced():(r.arrayPos++,r.typewrite(r.strings[r.sequence[r.arrayPos]],t)))},o)}else this.setPauseStatus(e,t,!1)},t.isFinalString=function(){return this.arrayPos===this.strings.length-1},t.lastStringBackspaced=function(){this.arrayPos=0,this.options.onLastStringBackspaced(),this.loop&&(this.shuffleStringsIfNeeded(),this.begin())},t.complete=function(){this.options.onComplete(this),this.loop?this.curLoop++:this.typingComplete=!0},t.setPauseStatus=function(e,t,r){this.pause.typewrite=r,this.pause.curString=e,this.pause.curStrPos=t},t.toggleBlinking=function(e){this.cursor&&(this.pause.status||this.cursorBlinking!==e&&(this.cursorBlinking=e,e?this.cursor.classList.add("typed-cursor--blink"):this.cursor.classList.remove("typed-cursor--blink")))},t.humanizer=function(e){return Math.round(Math.random()*e/2)+e},t.shuffleStringsIfNeeded=function(){this.shuffle&&(this.sequence=this.sequence.sort(function(){return Math.random()-.5}))},t.initFadeOut=function(){var e=this;return this.el.className+=" "+this.fadeOutClass,this.cursor&&(this.cursor.className+=" "+this.fadeOutClass),setTimeout(function(){e.arrayPos++,e.replaceText(""),e.strings.length>e.arrayPos?e.typewrite(e.strings[e.sequence[e.arrayPos]],0):(e.typewrite(e.strings[0],0),e.arrayPos=0)},this.fadeOutDelay)},t.replaceText=function(e){this.attr?this.el.setAttribute(this.attr,e):this.isInput?this.el.value=e:"html"===this.contentType?this.shouldBackspace?this.el.innerHTML=e:this.el.innerHTML+=e:this.el.textContent=e},t.bindFocusEvents=function(){var e=this;this.isInput&&(this.el.addEventListener("focus",function(t){e.stop()}),this.el.addEventListener("blur",function(t){e.el.value&&0!==e.el.value.length||e.start()}))},t.insertCursor=function(){this.showCursor&&(this.cursor||(this.cursor=document.createElement("span"),this.cursor.className="typed-cursor",this.cursor.setAttribute("aria-hidden",!0),this.cursor.innerHTML=this.cursorChar,this.el.parentNode&&this.el.parentNode.insertBefore(this.cursor,this.el.nextSibling)))},e}(),je=(0,p.defineComponent)({name:"MTypingString",inheritAttrs:!1,__name:"MTypingString",props:{name:{},tag:{default:"span"},string:{},loop:{type:Boolean,default:!1},speed:{default:300},backDelay:{default:()=>{}},fadeOut:{type:Boolean},options:{default:()=>({})}},setup(e,{expose:t}){const r=(0,p.computed)(()=>`typed-content-${e.name}`),o=(0,p.computed)(()=>({loop:e.loop,typeSpeed:parseInt(e.speed?.toString?.()),backDelay:void 0!==e.backDelay&&parseInt(e.backDelay?.toString?.())||void 0,fadeOut:e.fadeOut,strings:"string"==typeof e.string?[e.string]:e.string||void 0,...e.options})),n=(0,p.ref)(),a=(0,p.ref)(),i=()=>{if(n.value)try{n.value.destroy()}catch(Be){console.log(Be)}};return(0,p.watchEffect)(()=>{if(a.value&&e.string){const t=document.getElementById(r.value);try{t&&(e=>{try{i(),n.value=new Ee(`#${r.value}`,(0,p.toValue)(e))}catch(Be){console.log(Be)}})((0,p.toValue)(o))}catch(Be){console.log(Be),t&&(t.innerHTML="string"==typeof e.string?e.string:e.string.join("<br />"))}}}),(0,p.onBeforeUnmount)(()=>i()),t({typed:n,typedRef:a}),(t,o)=>((0,p.openBlock)(),(0,p.createBlock)((0,p.resolveDynamicComponent)(e.tag),{id:r.value,ref_key:"typedRef",ref:a,class:"m-typing-string"},null,8,["id"]))}}),Me=je,Te=s({MBlock:()=>ue,MBtn:()=>ce,MCol:()=>fe,MColumn:()=>de,MContainer:()=>me,MDialog:()=>w,MDialogFrame:()=>se,MGrid:()=>ye,MHelpRow:()=>ve,MInnerLoading:()=>we,MRow:()=>Se,MSarIcon:()=>ke,MSarString:()=>Oe,MTooltip:()=>xe,MTransition:()=>Ce,MTransitionGroup:()=>Ae,MTypingString:()=>Me,default:()=>Fe}),Fe={},Re=i((e,t)=>{t.exports=TypeError}),De=i((e,t)=>{t.exports={}}),Le=i((e,t)=>{var r="function"==typeof Map&&Map.prototype,o=Object.getOwnPropertyDescriptor&&r?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,n=r&&o&&"function"==typeof o.get?o.get:null,a=r&&Map.prototype.forEach,i="function"==typeof Set&&Set.prototype,s=Object.getOwnPropertyDescriptor&&i?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,l=i&&s&&"function"==typeof s.get?s.get:null,p=i&&Set.prototype.forEach,c="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,u="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,f="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,y=Boolean.prototype.valueOf,d=Object.prototype.toString,m=Function.prototype.toString,g=String.prototype.match,h=String.prototype.slice,b=String.prototype.replace,v=String.prototype.toUpperCase,w=String.prototype.toLowerCase,S=RegExp.prototype.test,x=Array.prototype.concat,C=Array.prototype.join,A=Array.prototype.slice,k=Math.floor,O="function"==typeof BigInt?BigInt.prototype.valueOf:null,P=Object.getOwnPropertySymbols,$="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,B="function"==typeof Symbol&&"object"==typeof Symbol.iterator,_="function"==typeof Symbol&&Symbol.toStringTag&&(typeof Symbol.toStringTag===B||"symbol")?Symbol.toStringTag:null,E=Object.prototype.propertyIsEnumerable,j=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function M(e,t){if(e===1/0||e===-1/0||e!=e||e&&e>-1e3&&e<1e3||S.call(/e/,t))return t;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof e){var o=e<0?-k(-e):k(e);if(o!==e){var n=String(o),a=h.call(t,n.length+1);return b.call(n,r,"$&_")+"."+b.call(b.call(a,/([0-9]{3})/g,"$&_"),/_$/,"")}}return b.call(t,r,"$&_")}var T=De(),F=T.custom,R=z(F)?F:null,D={__proto__:null,double:'"',single:"'"},L={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};function I(e,t,r){var o=D[r.quoteStyle||t];return o+e+o}function N(e){return b.call(String(e),/"/g,"&quot;")}function U(e){return!_||!("object"==typeof e&&(_ in e||void 0!==e[_]))}function Q(e){return"[object Array]"===H(e)&&U(e)}function q(e){return"[object RegExp]"===H(e)&&U(e)}function z(e){if(B)return e&&"object"==typeof e&&e instanceof Symbol;if("symbol"==typeof e)return!0;if(!e||"object"!=typeof e||!$)return!1;try{return $.call(e),!0}catch(Be){}return!1}t.exports=function e(t,r,o,i){var s=r||{};if(W(s,"quoteStyle")&&!W(D,s.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(W(s,"maxStringLength")&&("number"==typeof s.maxStringLength?s.maxStringLength<0&&s.maxStringLength!==1/0:null!==s.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var d=!W(s,"customInspect")||s.customInspect;if("boolean"!=typeof d&&"symbol"!==d)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(W(s,"indent")&&null!==s.indent&&"\t"!==s.indent&&!(parseInt(s.indent,10)===s.indent&&s.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(W(s,"numericSeparator")&&"boolean"!=typeof s.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var v=s.numericSeparator;if(void 0===t)return"undefined";if(null===t)return"null";if("boolean"==typeof t)return t?"true":"false";if("string"==typeof t)return K(t,s);if("number"==typeof t){if(0===t)return 1/0/t>0?"0":"-0";var S=String(t);return v?M(t,S):S}if("bigint"==typeof t){var k=String(t)+"n";return v?M(t,k):k}var P=void 0===s.depth?5:s.depth;if(void 0===o&&(o=0),o>=P&&P>0&&"object"==typeof t)return Q(t)?"[Array]":"[Object]";var F,L=function(e,t){var r;if("\t"===e.indent)r="\t";else{if(!("number"==typeof e.indent&&e.indent>0))return null;r=C.call(Array(e.indent+1)," ")}return{base:r,prev:C.call(Array(t+1),r)}}(s,o);if(void 0===i)i=[];else if(G(i,t)>=0)return"[Circular]";function V(t,r,n){if(r&&(i=A.call(i)).push(r),n){var a={depth:s.depth};return W(s,"quoteStyle")&&(a.quoteStyle=s.quoteStyle),e(t,a,o+1,i)}return e(t,s,o+1,i)}if("function"==typeof t&&!q(t)){var J=function(e){if(e.name)return e.name;var t=g.call(m.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}(t),re=te(t,V);return"[Function"+(J?": "+J:" (anonymous)")+"]"+(re.length>0?" { "+C.call(re,", ")+" }":"")}if(z(t)){var oe=B?b.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):$.call(t);return"object"!=typeof t||B?oe:X(oe)}if((F=t)&&"object"==typeof F&&("undefined"!=typeof HTMLElement&&F instanceof HTMLElement||"string"==typeof F.nodeName&&"function"==typeof F.getAttribute)){for(var ne="<"+w.call(String(t.nodeName)),ae=t.attributes||[],ie=0;ie<ae.length;ie++)ne+=" "+ae[ie].name+"="+I(N(ae[ie].value),"double",s);return ne+=">",t.childNodes&&t.childNodes.length&&(ne+="..."),ne+="</"+w.call(String(t.nodeName))+">"}if(Q(t)){if(0===t.length)return"[]";var se=te(t,V);return L&&!function(e){for(var t=0;t<e.length;t++)if(G(e[t],"\n")>=0)return!1;return!0}(se)?"["+ee(se,L)+"]":"[ "+C.call(se,", ")+" ]"}if(function(e){return"[object Error]"===H(e)&&U(e)}(t)){var le=te(t,V);return"cause"in Error.prototype||!("cause"in t)||E.call(t,"cause")?0===le.length?"["+String(t)+"]":"{ ["+String(t)+"] "+C.call(le,", ")+" }":"{ ["+String(t)+"] "+C.call(x.call("[cause]: "+V(t.cause),le),", ")+" }"}if("object"==typeof t&&d){if(R&&"function"==typeof t[R]&&T)return T(t,{depth:P-o});if("symbol"!==d&&"function"==typeof t.inspect)return t.inspect()}if(function(e){if(!n||!e||"object"!=typeof e)return!1;try{n.call(e);try{l.call(e)}catch(ne){return!0}return e instanceof Map}catch(Be){}return!1}(t)){var pe=[];return a&&a.call(t,function(e,r){pe.push(V(r,t,!0)+" => "+V(e,t))}),Y("Map",n.call(t),pe,L)}if(function(e){if(!l||!e||"object"!=typeof e)return!1;try{l.call(e);try{n.call(e)}catch(t){return!0}return e instanceof Set}catch(Be){}return!1}(t)){var ce=[];return p&&p.call(t,function(e){ce.push(V(e,t))}),Y("Set",l.call(t),ce,L)}if(function(e){if(!c||!e||"object"!=typeof e)return!1;try{c.call(e,c);try{u.call(e,u)}catch(ne){return!0}return e instanceof WeakMap}catch(Be){}return!1}(t))return Z("WeakMap");if(function(e){if(!u||!e||"object"!=typeof e)return!1;try{u.call(e,u);try{c.call(e,c)}catch(ne){return!0}return e instanceof WeakSet}catch(Be){}return!1}(t))return Z("WeakSet");if(function(e){if(!f||!e||"object"!=typeof e)return!1;try{return f.call(e),!0}catch(Be){}return!1}(t))return Z("WeakRef");if(function(e){return"[object Number]"===H(e)&&U(e)}(t))return X(V(Number(t)));if(function(e){if(!e||"object"!=typeof e||!O)return!1;try{return O.call(e),!0}catch(Be){}return!1}(t))return X(V(O.call(t)));if(function(e){return"[object Boolean]"===H(e)&&U(e)}(t))return X(y.call(t));if(function(e){return"[object String]"===H(e)&&U(e)}(t))return X(V(String(t)));if("undefined"!=typeof window&&t===window)return"{ [object Window] }";if("undefined"!=typeof globalThis&&t===globalThis||"undefined"!=typeof global&&t===global)return"{ [object globalThis] }";if(!function(e){return"[object Date]"===H(e)&&U(e)}(t)&&!q(t)){var ue=te(t,V),fe=j?j(t)===Object.prototype:t instanceof Object||t.constructor===Object,ye=t instanceof Object?"":"null prototype",de=!fe&&_&&Object(t)===t&&_ in t?h.call(H(t),8,-1):ye?"Object":"",me=(fe||"function"!=typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"")+(de||ye?"["+C.call(x.call([],de||[],ye||[]),": ")+"] ":"");return 0===ue.length?me+"{}":L?me+"{"+ee(ue,L)+"}":me+"{ "+C.call(ue,", ")+" }"}return String(t)};var V=Object.prototype.hasOwnProperty||function(e){return e in this};function W(e,t){return V.call(e,t)}function H(e){return d.call(e)}function G(e,t){if(e.indexOf)return e.indexOf(t);for(var r=0,o=e.length;r<o;r++)if(e[r]===t)return r;return-1}function K(e,t){if(e.length>t.maxStringLength){var r=e.length-t.maxStringLength,o="... "+r+" more character"+(r>1?"s":"");return K(h.call(e,0,t.maxStringLength),t)+o}var n=L[t.quoteStyle||"single"];return n.lastIndex=0,I(b.call(b.call(e,n,"\\$1"),/[\x00-\x1f]/g,J),"single",t)}function J(e){var t=e.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return r?"\\"+r:"\\x"+(t<16?"0":"")+v.call(t.toString(16))}function X(e){return"Object("+e+")"}function Z(e){return e+" { ? }"}function Y(e,t,r,o){return e+" ("+t+") {"+(o?ee(r,o):C.call(r,", "))+"}"}function ee(e,t){if(0===e.length)return"";var r="\n"+t.prev+t.base;return r+C.call(e,","+r)+"\n"+t.prev}function te(e,t){var r=Q(e),o=[];if(r){o.length=e.length;for(var n=0;n<e.length;n++)o[n]=W(e,n)?t(e[n],e):""}var a,i="function"==typeof P?P(e):[];if(B){a={};for(var s=0;s<i.length;s++)a["$"+i[s]]=i[s]}for(var l in e)W(e,l)&&(r&&String(Number(l))===l&&l<e.length||B&&a["$"+l]instanceof Symbol||(S.call(/[^\w$]/,l)?o.push(t(l,e)+": "+t(e[l],e)):o.push(l+": "+t(e[l],e))));if("function"==typeof P)for(var p=0;p<i.length;p++)E.call(e,i[p])&&o.push("["+t(i[p])+"]: "+t(e[i[p]],e));return o}}),Ie=i((e,t)=>{var r=Le(),o=Re(),n=function(e,t,r){for(var o,n=e;null!=(o=n.next);n=o)if(o.key===t)return n.next=o.next,r||(o.next=e.next,e.next=o),o};t.exports=function(){var e,t={assert:function(e){if(!t.has(e))throw new o("Side channel does not contain "+r(e))},delete:function(t){var r=function(e,t){if(e)return n(e,t,!0)}(e,t);return r&&e&&!e.next&&(e=void 0),!!r},get:function(t){return function(e,t){if(e){var r=n(e,t);return r&&r.value}}(e,t)},has:function(t){return function(e,t){return!!e&&!!n(e,t)}(e,t)},set:function(t,r){e||(e={next:void 0}),function(e,t,r){var o=n(e,t);o?o.value=r:e.next={key:t,next:e.next,value:r}}(e,t,r)}};return t}}),Ne=i((e,t)=>{t.exports=Object}),Ue=i((e,t)=>{t.exports=Error}),Qe=i((e,t)=>{t.exports=EvalError}),qe=i((e,t)=>{t.exports=RangeError}),ze=i((e,t)=>{t.exports=ReferenceError}),Ve=i((e,t)=>{t.exports=SyntaxError}),We=i((e,t)=>{t.exports=URIError}),He=i((e,t)=>{t.exports=Math.abs}),Ge=i((e,t)=>{t.exports=Math.floor}),Ke=i((e,t)=>{t.exports=Math.max}),Je=i((e,t)=>{t.exports=Math.min}),Xe=i((e,t)=>{t.exports=Math.pow}),Ze=i((e,t)=>{t.exports=Math.round}),Ye=i((e,t)=>{t.exports=Number.isNaN||function(e){return e!=e}}),et=i((e,t)=>{var r=Ye();t.exports=function(e){return r(e)||0===e?e:e<0?-1:1}}),tt=i((e,t)=>{t.exports=Object.getOwnPropertyDescriptor}),rt=i((e,t)=>{var r=tt();if(r)try{r([],"length")}catch(Be){r=null}t.exports=r}),ot=i((e,t)=>{var r=Object.defineProperty||!1;if(r)try{r({},"a",{value:1})}catch(Be){r=!1}t.exports=r}),nt=i((e,t)=>{t.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),r=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(var o in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var n=Object.getOwnPropertySymbols(e);if(1!==n.length||n[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var a=Object.getOwnPropertyDescriptor(e,t);if(42!==a.value||!0!==a.enumerable)return!1}return!0}}),at=i((e,t)=>{var r="undefined"!=typeof Symbol&&Symbol,o=nt();t.exports=function(){return"function"==typeof r&&("function"==typeof Symbol&&("symbol"==typeof r("foo")&&("symbol"==typeof Symbol("bar")&&o())))}}),it=i((e,t)=>{t.exports="undefined"!=typeof Reflect&&Reflect.getPrototypeOf||null}),st=i((e,t)=>{var r=Ne();t.exports=r.getPrototypeOf||null}),lt=i((e,t)=>{var r=Object.prototype.toString,o=Math.max,n=function(e,t){for(var r=[],o=0;o<e.length;o+=1)r[o]=e[o];for(var n=0;n<t.length;n+=1)r[n+e.length]=t[n];return r};t.exports=function(e){var t=this;if("function"!=typeof t||"[object Function]"!==r.apply(t))throw new TypeError("Function.prototype.bind called on incompatible "+t);for(var a,i=function(e,t){for(var r=[],o=t||0,n=0;o<e.length;o+=1,n+=1)r[n]=e[o];return r}(arguments,1),s=o(0,t.length-i.length),l=[],p=0;p<s;p++)l[p]="$"+p;if(a=Function("binder","return function ("+function(e,t){for(var r="",o=0;o<e.length;o+=1)r+=e[o],o+1<e.length&&(r+=t);return r}(l,",")+"){ return binder.apply(this,arguments); }")(function(){if(this instanceof a){var r=t.apply(this,n(i,arguments));return Object(r)===r?r:this}return t.apply(e,n(i,arguments))}),t.prototype){var c=function(){};c.prototype=t.prototype,a.prototype=new c,c.prototype=null}return a}}),pt=i((e,t)=>{var r=lt();t.exports=Function.prototype.bind||r}),ct=i((e,t)=>{t.exports=Function.prototype.call}),ut=i((e,t)=>{t.exports=Function.prototype.apply}),ft=i((e,t)=>{t.exports="undefined"!=typeof Reflect&&Reflect&&Reflect.apply}),yt=i((e,t)=>{var r=pt(),o=ut(),n=ct(),a=ft();t.exports=a||r.call(n,o)}),dt=i((e,t)=>{var r=pt(),o=Re(),n=ct(),a=yt();t.exports=function(e){if(e.length<1||"function"!=typeof e[0])throw new o("a function is required");return a(r,n,e)}}),mt=i((e,t)=>{var r,o=dt(),n=rt();try{r=[].__proto__===Array.prototype}catch(Be){if(!Be||"object"!=typeof Be||!("code"in Be)||"ERR_PROTO_ACCESS"!==Be.code)throw Be}var a=!!r&&n&&n(Object.prototype,"__proto__"),i=Object,s=i.getPrototypeOf;t.exports=a&&"function"==typeof a.get?o([a.get]):"function"==typeof s&&function(e){return s(null==e?e:i(e))}}),gt=i((e,t)=>{var r=it(),o=st(),n=mt();t.exports=r?function(e){return r(e)}:o?function(e){if(!e||"object"!=typeof e&&"function"!=typeof e)throw new TypeError("getProto: not an object");return o(e)}:n?function(e){return n(e)}:null}),ht=i((e,t)=>{var r=Function.prototype.call,o=Object.prototype.hasOwnProperty,n=pt();t.exports=n.call(r,o)}),bt=i((e,t)=>{var r,o=Ne(),n=Ue(),a=Qe(),i=qe(),s=ze(),l=Ve(),p=Re(),c=We(),u=He(),f=Ge(),y=Ke(),d=Je(),m=Xe(),g=Ze(),h=et(),b=Function,v=function(e){try{return b('"use strict"; return ('+e+").constructor;")()}catch(Be){}},w=rt(),S=ot(),x=function(){throw new p},C=w?function(){try{return x}catch(e){try{return w(arguments,"callee").get}catch(t){return x}}}():x,A=at()(),k=gt(),O=st(),P=it(),$=ut(),B=ct(),_={},E="undefined"!=typeof Uint8Array&&k?k(Uint8Array):r,j={__proto__:null,"%AggregateError%":"undefined"==typeof AggregateError?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?r:ArrayBuffer,"%ArrayIteratorPrototype%":A&&k?k([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":_,"%AsyncGenerator%":_,"%AsyncGeneratorFunction%":_,"%AsyncIteratorPrototype%":_,"%Atomics%":"undefined"==typeof Atomics?r:Atomics,"%BigInt%":"undefined"==typeof BigInt?r:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?r:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?r:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":n,"%eval%":eval,"%EvalError%":a,"%Float16Array%":"undefined"==typeof Float16Array?r:Float16Array,"%Float32Array%":"undefined"==typeof Float32Array?r:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?r:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?r:FinalizationRegistry,"%Function%":b,"%GeneratorFunction%":_,"%Int8Array%":"undefined"==typeof Int8Array?r:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?r:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":A&&k?k(k([][Symbol.iterator]())):r,"%JSON%":"object"==typeof JSON?JSON:r,"%Map%":"undefined"==typeof Map?r:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&A&&k?k((new Map)[Symbol.iterator]()):r,"%Math%":Math,"%Number%":Number,"%Object%":o,"%Object.getOwnPropertyDescriptor%":w,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?r:Promise,"%Proxy%":"undefined"==typeof Proxy?r:Proxy,"%RangeError%":i,"%ReferenceError%":s,"%Reflect%":"undefined"==typeof Reflect?r:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?r:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&A&&k?k((new Set)[Symbol.iterator]()):r,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":A&&k?k(""[Symbol.iterator]()):r,"%Symbol%":A?Symbol:r,"%SyntaxError%":l,"%ThrowTypeError%":C,"%TypedArray%":E,"%TypeError%":p,"%Uint8Array%":"undefined"==typeof Uint8Array?r:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?r:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?r:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?r:Uint32Array,"%URIError%":c,"%WeakMap%":"undefined"==typeof WeakMap?r:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?r:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?r:WeakSet,"%Function.prototype.call%":B,"%Function.prototype.apply%":$,"%Object.defineProperty%":S,"%Object.getPrototypeOf%":O,"%Math.abs%":u,"%Math.floor%":f,"%Math.max%":y,"%Math.min%":d,"%Math.pow%":m,"%Math.round%":g,"%Math.sign%":h,"%Reflect.getPrototypeOf%":P};if(k)try{null.error}catch(Be){j["%Error.prototype%"]=k(k(Be))}var M=function e(t){var r;if("%AsyncFunction%"===t)r=v("async function () {}");else if("%GeneratorFunction%"===t)r=v("function* () {}");else if("%AsyncGeneratorFunction%"===t)r=v("async function* () {}");else if("%AsyncGenerator%"===t){var o=e("%AsyncGeneratorFunction%");o&&(r=o.prototype)}else if("%AsyncIteratorPrototype%"===t){var n=e("%AsyncGenerator%");n&&k&&(r=k(n.prototype))}return j[t]=r,r},T={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},F=pt(),R=ht(),D=F.call(B,Array.prototype.concat),L=F.call($,Array.prototype.splice),I=F.call(B,String.prototype.replace),N=F.call(B,String.prototype.slice),U=F.call(B,RegExp.prototype.exec),Q=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,q=/\\(\\)?/g,z=function(e,t){var r,o=e;if(R(T,o)&&(o="%"+(r=T[o])[0]+"%"),R(j,o)){var n=j[o];if(n===_&&(n=M(o)),void 0===n&&!t)throw new p("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:r,name:o,value:n}}throw new l("intrinsic "+e+" does not exist!")};t.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new p("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new p('"allowMissing" argument must be a boolean');if(null===U(/^%?[^%]*%?$/,e))throw new l("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var r=function(e){var t=N(e,0,1),r=N(e,-1);if("%"===t&&"%"!==r)throw new l("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==t)throw new l("invalid intrinsic syntax, expected opening `%`");var o=[];return I(e,Q,function(e,t,r,n){o[o.length]=r?I(n,q,"$1"):t||e}),o}(e),o=r.length>0?r[0]:"",n=z("%"+o+"%",t),a=n.name,i=n.value,s=!1,c=n.alias;c&&(o=c[0],L(r,D([0,1],c)));for(var u=1,f=!0;u<r.length;u+=1){var y=r[u],d=N(y,0,1),m=N(y,-1);if(('"'===d||"'"===d||"`"===d||'"'===m||"'"===m||"`"===m)&&d!==m)throw new l("property names with quotes must have matching quotes");if("constructor"!==y&&f||(s=!0),R(j,a="%"+(o+="."+y)+"%"))i=j[a];else if(null!=i){if(!(y in i)){if(!t)throw new p("base intrinsic for "+e+" exists, but the property is not available.");return}if(w&&u+1>=r.length){var g=w(i,y);i=(f=!!g)&&"get"in g&&!("originalValue"in g.get)?g.get:i[y]}else f=R(i,y),i=i[y];f&&!s&&(j[a]=i)}}return i}}),vt=i((e,t)=>{var r=bt(),o=dt(),n=o([r("%String.prototype.indexOf%")]);t.exports=function(e,t){var a=r(e,!!t);return"function"==typeof a&&n(e,".prototype.")>-1?o([a]):a}}),wt=i((e,t)=>{var r=bt(),o=vt(),n=Le(),a=Re(),i=r("%Map%",!0),s=o("Map.prototype.get",!0),l=o("Map.prototype.set",!0),p=o("Map.prototype.has",!0),c=o("Map.prototype.delete",!0),u=o("Map.prototype.size",!0);t.exports=!!i&&function(){var e,t={assert:function(e){if(!t.has(e))throw new a("Side channel does not contain "+n(e))},delete:function(t){if(e){var r=c(e,t);return 0===u(e)&&(e=void 0),r}return!1},get:function(t){if(e)return s(e,t)},has:function(t){return!!e&&p(e,t)},set:function(t,r){e||(e=new i),l(e,t,r)}};return t}}),St=i((e,t)=>{var r=bt(),o=vt(),n=Le(),a=wt(),i=Re(),s=r("%WeakMap%",!0),l=o("WeakMap.prototype.get",!0),p=o("WeakMap.prototype.set",!0),c=o("WeakMap.prototype.has",!0),u=o("WeakMap.prototype.delete",!0);t.exports=s?function(){var e,t,r={assert:function(e){if(!r.has(e))throw new i("Side channel does not contain "+n(e))},delete:function(r){if(s&&r&&("object"==typeof r||"function"==typeof r)){if(e)return u(e,r)}else if(a&&t)return t.delete(r);return!1},get:function(r){return s&&r&&("object"==typeof r||"function"==typeof r)&&e?l(e,r):t&&t.get(r)},has:function(r){return s&&r&&("object"==typeof r||"function"==typeof r)&&e?c(e,r):!!t&&t.has(r)},set:function(r,o){s&&r&&("object"==typeof r||"function"==typeof r)?(e||(e=new s),p(e,r,o)):a&&(t||(t=a()),t.set(r,o))}};return r}:a}),xt=i((e,t)=>{var r=Re(),o=Le(),n=Ie(),a=wt(),i=St()||a||n;t.exports=function(){var e,t={assert:function(e){if(!t.has(e))throw new r("Side channel does not contain "+o(e))},delete:function(t){return!!e&&e.delete(t)},get:function(t){return e&&e.get(t)},has:function(t){return!!e&&e.has(t)},set:function(t,r){e||(e=i()),e.set(t,r)}};return t}}),Ct=i((e,t)=>{var r=String.prototype.replace,o=/%20/g,n="RFC1738",a="RFC3986";t.exports={default:a,formatters:{RFC1738:function(e){return r.call(e,o,"+")},RFC3986:function(e){return String(e)}},RFC1738:n,RFC3986:a}}),At=i((e,t)=>{var r=Ct(),o=xt(),n=Object.prototype.hasOwnProperty,a=Array.isArray,i=o(),s=function(e,t){return i.set(e,t),e},l=function(e){return i.has(e)},p=function(e){return i.get(e)},c=function(e,t){i.set(e,t)},u=function(){for(var e=[],t=0;t<256;++t)e[e.length]="%"+((t<16?"0":"")+t.toString(16)).toUpperCase();return e}(),f=function(e,t){for(var r=t&&t.plainObjects?{__proto__:null}:{},o=0;o<e.length;++o)void 0!==e[o]&&(r[o]=e[o]);return r},y=1024;t.exports={arrayToObject:f,assign:function(e,t){return Object.keys(t).reduce(function(e,r){return e[r]=t[r],e},e)},combine:function(e,t,r,o){if(l(e)){var n=p(e)+1;return e[n]=t,c(e,n),e}var a=[].concat(e,t);return a.length>r?s(f(a,{plainObjects:o}),a.length-1):a},compact:function(e){for(var t=[{obj:{o:e},prop:"o"}],r=[],o=0;o<t.length;++o)for(var n=t[o],i=n.obj[n.prop],s=Object.keys(i),l=0;l<s.length;++l){var p=s[l],c=i[p];"object"==typeof c&&null!==c&&-1===r.indexOf(c)&&(t[t.length]={obj:i,prop:p},r[r.length]=c)}return function(e){for(;e.length>1;){var t=e.pop(),r=t.obj[t.prop];if(a(r)){for(var o=[],n=0;n<r.length;++n)void 0!==r[n]&&(o[o.length]=r[n]);t.obj[t.prop]=o}}}(t),e},decode:function(e,t,r){var o=e.replace(/\+/g," ");if("iso-8859-1"===r)return o.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(o)}catch(Be){return o}},encode:function(e,t,o,n,a){if(0===e.length)return e;var i=e;if("symbol"==typeof e?i=Symbol.prototype.toString.call(e):"string"!=typeof e&&(i=String(e)),"iso-8859-1"===o)return escape(i).replace(/%u[0-9a-f]{4}/gi,function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"});for(var s="",l=0;l<i.length;l+=y){for(var p=i.length>=y?i.slice(l,l+y):i,c=[],f=0;f<p.length;++f){var d=p.charCodeAt(f);45===d||46===d||95===d||126===d||d>=48&&d<=57||d>=65&&d<=90||d>=97&&d<=122||a===r.RFC1738&&(40===d||41===d)?c[c.length]=p.charAt(f):d<128?c[c.length]=u[d]:d<2048?c[c.length]=u[192|d>>6]+u[128|63&d]:d<55296||d>=57344?c[c.length]=u[224|d>>12]+u[128|d>>6&63]+u[128|63&d]:(f+=1,d=65536+((1023&d)<<10|1023&p.charCodeAt(f)),c[c.length]=u[240|d>>18]+u[128|d>>12&63]+u[128|d>>6&63]+u[128|63&d])}s+=c.join("")}return s},isBuffer:function(e){return!(!e||"object"!=typeof e)&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},isOverflow:l,isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},markOverflow:s,maybeMap:function(e,t){if(a(e)){for(var r=[],o=0;o<e.length;o+=1)r[r.length]=t(e[o]);return r}return t(e)},merge:function e(t,r,o){if(!r)return t;if("object"!=typeof r&&"function"!=typeof r){if(a(t)){var i=t.length;if(o&&"number"==typeof o.arrayLimit&&i>o.arrayLimit)return s(f(t.concat(r),o),i);t[i]=r}else{if(!t||"object"!=typeof t)return[t,r];if(l(t)){var u=p(t)+1;t[u]=r,c(t,u)}else{if(o&&o.strictMerge)return[t,r];(o&&(o.plainObjects||o.allowPrototypes)||!n.call(Object.prototype,r))&&(t[r]=!0)}}return t}if(!t||"object"!=typeof t){if(l(r)){for(var y=Object.keys(r),d=o&&o.plainObjects?{__proto__:null,0:t}:{0:t},m=0;m<y.length;m++){d[parseInt(y[m],10)+1]=r[y[m]]}return s(d,p(r)+1)}var g=[t].concat(r);return o&&"number"==typeof o.arrayLimit&&g.length>o.arrayLimit?s(f(g,o),g.length-1):g}var h=t;return a(t)&&!a(r)&&(h=f(t,o)),a(t)&&a(r)?(r.forEach(function(r,a){if(n.call(t,a)){var i=t[a];i&&"object"==typeof i&&r&&"object"==typeof r?t[a]=e(i,r,o):t[t.length]=r}else t[a]=r}),t):Object.keys(r).reduce(function(t,a){var i=r[a];if(n.call(t,a)?t[a]=e(t[a],i,o):t[a]=i,l(r)&&!l(t)&&s(t,p(r)),l(t)){var u=parseInt(a,10);String(u)===a&&u>=0&&u>p(t)&&c(t,u)}return t},h)}}}),kt=i((e,t)=>{var r=xt(),o=At(),n=Ct(),a=Object.prototype.hasOwnProperty,i={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},s=Array.isArray,l=Array.prototype.push,p=function(e,t){l.apply(e,s(t)?t:[t])},c=Date.prototype.toISOString,u=n.default,f={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,commaRoundTrip:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:o.encode,encodeValuesOnly:!1,filter:void 0,format:u,formatter:n.formatters[u],indices:!1,serializeDate:function(e){return c.call(e)},skipNulls:!1,strictNullHandling:!1},y={},d=function e(t,n,a,i,l,c,u,d,m,g,h,b,v,w,S,x,C,A){for(var k,O=t,P=A,$=0,B=!1;void 0!==(P=P.get(y))&&!B;){var _=P.get(t);if($+=1,void 0!==_){if(_===$)throw new RangeError("Cyclic object value");B=!0}void 0===P.get(y)&&($=0)}if("function"==typeof g?O=g(n,O):O instanceof Date?O=v(O):"comma"===a&&s(O)&&(O=o.maybeMap(O,function(e){return e instanceof Date?v(e):e})),null===O){if(c)return S(m&&!x?m(n,f.encoder,C,"key",w):n);O=""}if("string"==typeof(k=O)||"number"==typeof k||"boolean"==typeof k||"symbol"==typeof k||"bigint"==typeof k||o.isBuffer(O))return m?[S(x?n:m(n,f.encoder,C,"key",w))+"="+S(m(O,f.encoder,C,"value",w))]:[S(n)+"="+S(String(O))];var E,j=[];if(void 0===O)return j;if("comma"===a&&s(O))x&&m&&(O=o.maybeMap(O,function(e){return null==e?e:m(e)})),E=[{value:O.length>0?O.join(",")||null:void 0}];else if(s(g))E=g;else{var M=Object.keys(O);E=h?M.sort(h):M}var T=d?String(n).replace(/\./g,"%2E"):String(n),F=i&&s(O)&&1===O.length?T+"[]":T;if(l&&s(O)&&0===O.length)return F+"[]";for(var R=0;R<E.length;++R){var D=E[R],L="object"==typeof D&&D&&void 0!==D.value?D.value:O[D];if(!u||null!==L){var I=b&&d?String(D).replace(/\./g,"%2E"):String(D),N=s(O)?"function"==typeof a?a(F,I):F:F+(b?"."+I:"["+I+"]");A.set(t,$);var U=r();U.set(y,A),p(j,e(L,N,a,i,l,c,u,d,"comma"===a&&x&&s(O)?null:m,g,h,b,v,w,S,x,C,U))}}return j};t.exports=function(e,t){var o,l=e,c=function(e){if(!e)return f;if(void 0!==e.allowEmptyArrays&&"boolean"!=typeof e.allowEmptyArrays)throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(void 0!==e.encodeDotInKeys&&"boolean"!=typeof e.encodeDotInKeys)throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(null!==e.encoder&&void 0!==e.encoder&&"function"!=typeof e.encoder)throw new TypeError("Encoder has to be a function.");var t=e.charset||f.charset;if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var r=n.default;if(void 0!==e.format){if(!a.call(n.formatters,e.format))throw new TypeError("Unknown format option provided.");r=e.format}var o,l=n.formatters[r],p=f.filter;if(("function"==typeof e.filter||s(e.filter))&&(p=e.filter),o=e.arrayFormat in i?e.arrayFormat:"indices"in e?e.indices?"indices":"repeat":f.arrayFormat,"commaRoundTrip"in e&&"boolean"!=typeof e.commaRoundTrip)throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var c=void 0===e.allowDots?!0===e.encodeDotInKeys||f.allowDots:!!e.allowDots;return{addQueryPrefix:"boolean"==typeof e.addQueryPrefix?e.addQueryPrefix:f.addQueryPrefix,allowDots:c,allowEmptyArrays:"boolean"==typeof e.allowEmptyArrays?!!e.allowEmptyArrays:f.allowEmptyArrays,arrayFormat:o,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:f.charsetSentinel,commaRoundTrip:!!e.commaRoundTrip,delimiter:void 0===e.delimiter?f.delimiter:e.delimiter,encode:"boolean"==typeof e.encode?e.encode:f.encode,encodeDotInKeys:"boolean"==typeof e.encodeDotInKeys?e.encodeDotInKeys:f.encodeDotInKeys,encoder:"function"==typeof e.encoder?e.encoder:f.encoder,encodeValuesOnly:"boolean"==typeof e.encodeValuesOnly?e.encodeValuesOnly:f.encodeValuesOnly,filter:p,format:r,formatter:l,serializeDate:"function"==typeof e.serializeDate?e.serializeDate:f.serializeDate,skipNulls:"boolean"==typeof e.skipNulls?e.skipNulls:f.skipNulls,sort:"function"==typeof e.sort?e.sort:null,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:f.strictNullHandling}}(t);"function"==typeof c.filter?l=(0,c.filter)("",l):s(c.filter)&&(o=c.filter);var u=[];if("object"!=typeof l||null===l)return"";var y=i[c.arrayFormat],m="comma"===y&&c.commaRoundTrip;o||(o=Object.keys(l)),c.sort&&o.sort(c.sort);for(var g=r(),h=0;h<o.length;++h){var b=o[h];if(null!=b){var v=l[b];c.skipNulls&&null===v||p(u,d(v,b,y,m,c.allowEmptyArrays,c.strictNullHandling,c.skipNulls,c.encodeDotInKeys,c.encode?c.encoder:null,c.filter,c.sort,c.allowDots,c.serializeDate,c.format,c.formatter,c.encodeValuesOnly,c.charset,g))}}var w=u.join(c.delimiter),S=!0===c.addQueryPrefix?"?":"";return c.charsetSentinel&&("iso-8859-1"===c.charset?S+="utf8=%26%2310003%3B"+c.delimiter:S+="utf8=%E2%9C%93"+c.delimiter),w.length>0?S+w:""}}),Ot=i((e,t)=>{var r=At(),o=Object.prototype.hasOwnProperty,n=Array.isArray,a={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:r.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictDepth:!1,strictMerge:!0,strictNullHandling:!1,throwOnLimitExceeded:!1},i=function(e){return e.replace(/&#(\d+);/g,function(e,t){return String.fromCharCode(parseInt(t,10))})},s=function(e,t,r){if(e&&"string"==typeof e&&t.comma&&e.indexOf(",")>-1)return e.split(",");if(t.throwOnLimitExceeded&&r>=t.arrayLimit)throw new RangeError("Array limit exceeded. Only "+t.arrayLimit+" element"+(1===t.arrayLimit?"":"s")+" allowed in an array.");return e},l=function(e,t,n,a){if(e){var i=function(e,t){var r=t.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e;if(t.depth<=0){if(!t.plainObjects&&o.call(Object.prototype,r)&&!t.allowPrototypes)return;return[r]}var n=[],a=r.indexOf("["),i=a>=0?r.slice(0,a):r;if(i){if(!t.plainObjects&&o.call(Object.prototype,i)&&!t.allowPrototypes)return;n[n.length]=i}for(var s=r.length,l=a,p=0;l>=0&&p<t.depth;){for(var c=1,u=l+1,f=-1;u<s&&f<0;){var y=r.charCodeAt(u);91===y?c+=1:93===y&&0==(c-=1)&&(f=u),u+=1}if(f<0)return n[n.length]="["+r.slice(l)+"]",n;var d=r.slice(l,f+1),m=d.slice(1,-1);if(!t.plainObjects&&o.call(Object.prototype,m)&&!t.allowPrototypes)return;n[n.length]=d,p+=1,l=r.indexOf("[",f+1)}if(l>=0){if(!0===t.strictDepth)throw new RangeError("Input depth exceeded depth option of "+t.depth+" and strictDepth is true");n[n.length]="["+r.slice(l)+"]"}return n}(e,n);if(i)return function(e,t,o,n){var a=0;if(e.length>0&&"[]"===e[e.length-1]){var i=e.slice(0,-1).join("");a=Array.isArray(t)&&t[i]?t[i].length:0}for(var l=n?t:s(t,o,a),p=e.length-1;p>=0;--p){var c,u=e[p];if("[]"===u&&o.parseArrays)c=r.isOverflow(l)?l:o.allowEmptyArrays&&(""===l||o.strictNullHandling&&null===l)?[]:r.combine([],l,o.arrayLimit,o.plainObjects);else{c=o.plainObjects?{__proto__:null}:{};var f="["===u.charAt(0)&&"]"===u.charAt(u.length-1)?u.slice(1,-1):u,y=o.decodeDotInKeys?f.replace(/%2E/g,"."):f,d=parseInt(y,10),m=!isNaN(d)&&u!==y&&String(d)===y&&d>=0&&o.parseArrays;if(o.parseArrays||""!==y)if(m&&d<o.arrayLimit)(c=[])[d]=l;else{if(m&&o.throwOnLimitExceeded)throw new RangeError("Array limit exceeded. Only "+o.arrayLimit+" element"+(1===o.arrayLimit?"":"s")+" allowed in an array.");m?(c[d]=l,r.markOverflow(c,d)):"__proto__"!==y&&(c[y]=l)}else c={0:l}}l=c}return l}(i,t,n,a)}};t.exports=function(e,t){var p=function(e){if(!e)return a;if(void 0!==e.allowEmptyArrays&&"boolean"!=typeof e.allowEmptyArrays)throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(void 0!==e.decodeDotInKeys&&"boolean"!=typeof e.decodeDotInKeys)throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(null!==e.decoder&&void 0!==e.decoder&&"function"!=typeof e.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");if(void 0!==e.throwOnLimitExceeded&&"boolean"!=typeof e.throwOnLimitExceeded)throw new TypeError("`throwOnLimitExceeded` option must be a boolean");var t=void 0===e.charset?a.charset:e.charset,o=void 0===e.duplicates?a.duplicates:e.duplicates;if("combine"!==o&&"first"!==o&&"last"!==o)throw new TypeError("The duplicates option must be either combine, first, or last");return{allowDots:void 0===e.allowDots?!0===e.decodeDotInKeys||a.allowDots:!!e.allowDots,allowEmptyArrays:"boolean"==typeof e.allowEmptyArrays?!!e.allowEmptyArrays:a.allowEmptyArrays,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:a.allowPrototypes,allowSparse:"boolean"==typeof e.allowSparse?e.allowSparse:a.allowSparse,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:a.arrayLimit,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:a.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:a.comma,decodeDotInKeys:"boolean"==typeof e.decodeDotInKeys?e.decodeDotInKeys:a.decodeDotInKeys,decoder:"function"==typeof e.decoder?e.decoder:a.decoder,delimiter:"string"==typeof e.delimiter||r.isRegExp(e.delimiter)?e.delimiter:a.delimiter,depth:"number"==typeof e.depth||!1===e.depth?+e.depth:a.depth,duplicates:o,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:a.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:a.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:a.plainObjects,strictDepth:"boolean"==typeof e.strictDepth?!!e.strictDepth:a.strictDepth,strictMerge:"boolean"==typeof e.strictMerge?!!e.strictMerge:a.strictMerge,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:a.strictNullHandling,throwOnLimitExceeded:"boolean"==typeof e.throwOnLimitExceeded&&e.throwOnLimitExceeded}}(t);if(""===e||null==e)return p.plainObjects?{__proto__:null}:{};for(var c="string"==typeof e?function(e,t){var l={__proto__:null},p=t.ignoreQueryPrefix?e.replace(/^\?/,""):e;p=p.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var c=t.parameterLimit===1/0?void 0:t.parameterLimit,u=p.split(t.delimiter,t.throwOnLimitExceeded&&void 0!==c?c+1:c);if(t.throwOnLimitExceeded&&void 0!==c&&u.length>c)throw new RangeError("Parameter limit exceeded. Only "+c+" parameter"+(1===c?"":"s")+" allowed.");var f,y=-1,d=t.charset;if(t.charsetSentinel)for(f=0;f<u.length;++f)0===u[f].indexOf("utf8=")&&("utf8=%E2%9C%93"===u[f]?d="utf-8":"utf8=%26%2310003%3B"===u[f]&&(d="iso-8859-1"),y=f,f=u.length);for(f=0;f<u.length;++f)if(f!==y){var m,g,h=u[f],b=h.indexOf("]="),v=-1===b?h.indexOf("="):b+1;if(-1===v?(m=t.decoder(h,a.decoder,d,"key"),g=t.strictNullHandling?null:""):null!==(m=t.decoder(h.slice(0,v),a.decoder,d,"key"))&&(g=r.maybeMap(s(h.slice(v+1),t,n(l[m])?l[m].length:0),function(e){return t.decoder(e,a.decoder,d,"value")})),g&&t.interpretNumericEntities&&"iso-8859-1"===d&&(g=i(String(g))),h.indexOf("[]=")>-1&&(g=n(g)?[g]:g),t.comma&&n(g)&&g.length>t.arrayLimit){if(t.throwOnLimitExceeded)throw new RangeError("Array limit exceeded. Only "+t.arrayLimit+" element"+(1===t.arrayLimit?"":"s")+" allowed in an array.");g=r.combine([],g,t.arrayLimit,t.plainObjects)}if(null!==m){var w=o.call(l,m);w&&("combine"===t.duplicates||h.indexOf("[]=")>-1)?l[m]=r.combine(l[m],g,t.arrayLimit,t.plainObjects):w&&"last"!==t.duplicates||(l[m]=g)}}return l}(e,p):e,u=p.plainObjects?{__proto__:null}:{},f=Object.keys(c),y=0;y<f.length;++y){var d=f[y],m=l(d,c[d],p,"string"==typeof e);u=r.merge(u,m,p)}return!0===p.allowSparse?u:r.compact(u)}}),Pt=l(i((e,t)=>{var r=kt(),o=Ot(),n=Ct();t.exports={formats:n,parse:o,stringify:r}})(),1),$t="MyTh",Bt="@mythpe/quasar-ui-qui",_t="0.5.40",Et=Symbol.for("_MYTH_APP_"),jt=Symbol.for("myth.global_instance"),Mt="ar",Tt=e=>{if("application/json"===e.headers?.["content-type"]){const t=e?.data?.data;e._data=e?.data?.data??{},e._list=t&&Array.isArray(t)?t:[],e._message=e?.data?.message||"",e._meta=e?.data?.meta||{},e._success=Boolean(e?.data?.success),e._errors=e?.data?.errors??{}}return e},Ft=e=>{e=e||{};const t=e?.response?.status??0;401===t&&process.env.DEBUGGING&&console.log(`[${Bt}] onRejected Func Not authorized`,e),403===t&&process.env.DEBUGGING&&console.log(`[${Bt}] onRejected Func No permissions`,e);const r=e?.response?.data;return e._data=r?.data??{},e._list=[],e._message=r?.message??null,e._meta=r?.meta??null,e._success=!!r?.success,e._errors=r?.errors??{},e._message||(e._message=e.message||""),Promise.reject(e)};(0,f.createI18n)({legacy:!1,locale:"ar",messages:{}});var Rt=_t,Dt={version:Rt};exports.DEFAULT_GRID_SIZE="md",exports.DEFAULT_GRID_TYPE=h,exports.MBlock=ue,exports.MBtn=ce,exports.MCol=fe,exports.MColumn=de,exports.MContainer=me,exports.MContainerInjectionKey=g,exports.MDialog=w,exports.MDialogFrame=se,exports.MGrid=ye,exports.MHelpRow=ve,exports.MInnerLoading=we,exports.MRow=Se,exports.MSarIcon=ke,exports.MSarString=Oe,exports.MTooltip=xe,exports.MTransition=Ce,exports.MTransitionGroup=Ae,exports.MTypingString=Me,exports.Stub=(e,t)=>{const r=A(e);return{async index(e){const o=r();return t().get(o,e)},async staticIndex(r){const o="Static"+(e?`/${e}`:"");return t().get(o,r)},export:async(e,o)=>t().post(r("Export"),e,o),exampleUrl:async e=>t().get(r("ExampleUrl"),e),async store(e,o){const n=r(),a=new FormData;return e&&C(a,e),t().post(n,a,o)},async show(e,o){const n=r(e);return t().get(n,o)},async staticShow(r,o){const n=`Static${e?`/${e}`:""}/${r}`;return t().get(n,o)},async update(e,o,n){const a=r(e),i=new FormData;return i.append("_method","put"),o&&C(i,o),t().post(a,i,n)},async clone(e,o,n){const a=r(`${e}/Clone`),i=new FormData;return o&&C(i,o),t().post(a,i,n)},async destroy(e,o){const n=r(e);return t().delete(n,o)},async destroyAll(e,o){const n=r("DestroyAll");return t().post(n,{ids:e||[]},o)},getUploadAttachmentsUrl:e=>r(`${e}/Attachment/Upload`),async uploadAttachments(e,o,n){const a=r(`${e}/Attachment/Upload`);return t().post(a,o,n)},async deleteAttachment(e,o,n){const a=r(`${e}/Attachment/${o}/Delete`);return t().delete(a,n)},async updateAttachment(e,o,n,a){const i=r(`${e}/Attachment/${o}/Update`);return t().post(i,n,a)}}},exports.StubUrl=A,exports.appendArray=C,exports.calculateAspectRatio=(e,t)=>{e=Number(e),t=Number(t);const r=(e,t)=>0===t?e:r(t,e%t),o=r(e,t);return[e/t,`${e/o}:${t/o}`]},exports.camelCase=Q,exports.colorIsDark=e=>{const{luminosity:t}=u.colors;return t(e)<.5},exports.colorStyle=(e,t=!1)=>{if(!e)return"";let r=e;return e.startsWith("#")||"transparent"===e||(r=oe(e)),`${t?"background-color":"color"}: ${r};`},exports.convertToArabicNumbers=e=>{const t={0:"٠",1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩"};return e.toString().split("").map(e=>t[e]||e).join("")},exports.copyText=async e=>{const t=null!=e?String(e):"";return await(0,u.copyToClipboard)(t),t},exports.createMyth=e=>{const t={ar:"ar",en:"en-GB",...e?.mapQuasarLanguages},r=process.env.DEBUGGING,o=e.quasarLanguageFiles?.()||{},n=(0,p.ref)(e.locale||Mt),a=e?.availableLocales||[n.value];a.length&&a.includes(Mt)||a.push(Mt),a.includes(n.value)||a.push(n.value);const i=(0,p.ref)(a),s=e=>(e=(0,p.toValue)(e),e=e?.toString?.()?.toLowerCase?.()?.slice(0,2)||n.value,i.value.includes(e)?e:Mt),l=(0,p.ref)(e.apiUrl||process.env.API_URL||""),g=(0,p.reactive)({appName:e.appName||"MyTh",pageTitle:"",metaTags:{meta:{ogTitle:{property:"og:title",content:process.env.PRODUCT_NAME||"MyTh"},keywords:{name:"keywords",content:process.env.PRODUCT_KEYWORDS||"MyTh"},author:{name:"author",content:process.env.PRODUCT_AUTHOR||"MyTh"},description:{name:"description",content:process.env.PRODUCT_DESCRIPTION||"MyTh"},robots:{name:"robots",content:"index, follow"}},link:{icon:{type:"image/png",rel:"icon",href:process.env.PRODUCT_FAVICON||"/favicon.png"}}},theme:{...e?.theme},componentsProps:{...e?.componentsProps},apiUrl:l,locale:n,availableLocales:i}),h=e.i18nOptions||{},b=h.messages||{};delete h.messages;const v=(0,f.createI18n)({legacy:!1,locale:n.value,fallbackLocale:n.value,availableLocales:i.value,fallbackWarn:r,missingWarn:r,messages:b,...h}),w=(0,p.shallowReactive)({api:c.default.create({baseURL:l.value}),apiServices:{...e.apiServices},i18n:v,ssrContext:null}),S=(e,...t)=>{const r=(0,p.toValue)(e)??"",o=r.startsWith(":")&&r.endsWith(":"),n=r.startsWith("{'")&&r.endsWith("'}");if((o||n)&&r.length>2)return(o?r.slice(1,-1):r.slice(2,-2))??"";const a=[r,`attributes.${r}`],i=w.i18n.global.t;for(const s of a)if(w.i18n.global.te(s))return i(s,...t);return i(r,...t)},x=(e,t)=>{null==(t=(0,p.toValue)(t))?delete w.api.defaults.headers.common[e]:w.api.defaults.headers.common[e]=t},C=async e=>{e=(0,p.toValue)(e);const r=s(e);if(r===(s(u.Lang.props?.isoName)||n.value))return;const a=e=>`../../node_modules/quasar/lang/${e}.js`;try{let n=o[a(e)]??o[a(r)]??o[a(t[e])]??o[a(t[r])];n&&("function"==typeof n&&(n=await n(),n=n.default||n),process.env.SERVER&&w.ssrContext?u.Lang.set(n,w.ssrContext):u.Lang.set(n)),process.env.CLIENT&&document?.querySelector?.("html")?.setAttribute("lang",r)}catch(Be){console.error("setQuasarLocale",Be)}},A=e=>{e=(0,p.toValue)(e),(0,d.setLocale)(e)},k=e=>{x("X-App-Locale",e)},O={initApiConfig:e=>{const t=(0,p.toValue)(e?.apiUrl);if(t&&(g.apiUrl=t,w.api.defaults.baseURL=t),w.api.interceptors.response.use(Tt,Ft),w.api.interceptors.request.use(e=>(x("X-App-Locale",n.value),e)),w.api.defaults.paramsSerializer=e=>Pt.default.stringify(e,{arrayFormat:"indices",encoder:e=>!0===e||"true"===e?1:!1===e||"false"===e?0:e}),w.api.defaults.headers.common.Accept="application/json",x("X-Requested-With","XMLHttpRequest"),x("X-App","MyTh"),x("X-App-Mode",process.env.MODE||"None"),x("X-App-Version",process.env.VERSION||"1.0.0"),x("X-App-Build",process.env.BUILD||"1"),e?.headers)for(const r in e?.headers)x(r,e?.headers[r])},loadApiFiles:async e=>{let t={};for(const r in e){const o=r.substring(r.lastIndexOf("/")+1,r.lastIndexOf("."));let n=e[r];if("function"==typeof n&&(n=await n()),"index"===o){t=n.default||n;break}t[o]=n.default||n}w.apiServices=t},setMetaTags:async e=>{e=(0,p.toValue)(e),Object.assign(g.metaTags,e)},setLocale:async(e,t)=>{e=(0,p.toValue)(e),t?.onlyLocale||(w.i18n.global.locale.value!==e&&(w.i18n.global.locale.value=e,A(e)),k(e),await C(e)),g.locale!==e&&(g.locale=e)},apiService:e=>{const t=(0,p.toValue)(e).split(".");let r=w.apiServices;for(const o of t)r=r?.[o];return r},setQuasarLocale:C,setVeeLocale:A,setI18nLocale:e=>{e=(0,p.toValue)(e),w.i18n.global.locale.value=e},setApiHeader:x,setApiBearerToken:e=>{(e=(0,p.toValue)(e))?w.api.defaults.headers.common.Authorization=`Bearer ${e}`:delete w.api.defaults.headers.common.Authorization},setApiLanguage:k,__:S,getPageTitle:(e,t)=>{const r=(0,p.toValue)(e)||"";if(!r)return"";t??=2;const o=Z(r),n=q(r),a=V(r),i=Q(r),s=z(r),l=X(r),c=B([r,o,n,a,i,s,l,q(l),V(l),Q(l),z(l)]),u=B(["routes","attributes"]);for(const p of u)for(const e of c)if(w.i18n.global.te(`${p}.${e}`))return S(`${p}.${e}`,t);return S(r)}};e.bootApiFiles&&(async e=>{await O.loadApiFiles(e).catch(e=>console.error(`[${$t}]: Error loading API files:`,e))})(e.bootApiFiles());const P=(0,p.ref)(!1),$={get version(){return _t},get name(){return Bt},get api(){return w.api},get apiUrl(){return(0,p.computed)(()=>g.apiUrl).value},set apiUrl(e){g.apiUrl=e,w.api.defaults.baseURL=e},get apiServices(){return w.apiServices},set apiServices(e){w.apiServices=e},get i18n(){return w.i18n},get ssrContext(){return w.ssrContext},...O,conf:g,make(e){return{...this,...e}}},_=$.make();return globalThis[jt]=$.make(),$.make({install:async(t,r)=>{if(P.value)return void console.warn(`${Bt} is already installed. Skipping installation.`);r?.ssrContext&&(w.ssrContext=r.ssrContext),t.use(w.i18n),[...Object.entries(y.all)].forEach(([e,t])=>(0,m.defineRule)(e,t)),(0,m.configure)({bails:!0,generateMessage:(0,d.localize)({ar:b.ar?.validation||{},en:b.en?.validation||{}}),...e.veeValidateConfig}),O.initApiConfig({headers:e.apiHeaders}),t.provide(Et,_),t.config.globalProperties.$myth=_,Object.entries(Te).forEach(([e,r])=>{void 0===t.component(e)&&t.component(e,r)});const o=t.config.globalProperties;if(o?.$q){const e=o.$q.iconMapFn;o.$q.iconMapFn=t=>{if(t.startsWith("myth-")){const e=Q(t.slice(5));if(e&&e in E&&E[e])return{icon:E[e]}}if("function"==typeof e)return e(t)}}P.value=!0},installed:P,shallowConfig:w,config:g})},exports.darkenColor=S,exports.default=Dt,exports.detectWebPlatform=()=>{let e=navigator.userAgent||navigator.vendor;return e=e?e.toLowerCase():"",/ipad|iphone|ipod/g.test(e)?"ios":/android/i.test(e)?"android":"other"},exports.dimension=e=>{if(!e)return null;const t=e=>null!=e,r=t(e.ratio)?"string"==typeof e.ratio?parseFloat(e.ratio):e.ratio:void 0,o=t(e.height)?"string"==typeof e.height?parseFloat(e.height):e.height:void 0,n=t(e.width)?"string"==typeof e.width?parseFloat(e.width):e.width:void 0;return t(n)&&t(o)?0===o?null:n/o:t(r)&&t(o)?r*o:t(r)&&t(n)?0===r?null:n/r:null},exports.downloadFromResponse=(e,t)=>new Promise((r,o)=>{const n=e=>o(e??{status:!1,code:"unknown"}),a=e=>r({status:!0,response:e});try{if(!e)return void n({code:"no_response"});if(e?.data?.data?.url){const r=e?.data?.data?.url;if(t)return t(r,e),void a(e);const o=document.createElement("a");return o.setAttribute("href",r),o.setAttribute("target","_blank"),document.body.appendChild(o),o.click(),void a(e)}const r=(e.headers["content-disposition"]||"").split("filename=").pop().replace(/^"+|"+$/g,"");if(!r)return void n({code:"no_file_name"});const o=new Blob([e.data]),i=window.URL.createObjectURL(o),s=document.createElement("a");if(!s||!i)return void n({code:"no_file_url"});s.href=i,s.setAttribute("download",r),document.body.appendChild(s),s.click(),a(e),setTimeout(()=>{try{document.body.removeChild(s),URL.revokeObjectURL(i)}catch(Be){console.log(Be),Be?.message&&alert(Be.message)}},3e3)}catch(Be){console.log(Be),n(Be)}}),exports.flipChoice=e=>{const t={};for(const r in e)if(Object.prototype.hasOwnProperty.call(e,r)){const o=e[r].split("|");o.length>=2?t[r]=[o[1],o[0]].join("|"):t[r]=e[r]}return t},exports.formatMoney=$,exports.fromArabicNumber=Y,exports.iconSet=_,exports.icons=E,exports.isElementInViewport=O,exports.isKsaMobile=e=>{if(!e)return!1;const t=Y(e).trim();return 10===t.length&&t.startsWith("05")||9===t.length&&t.startsWith("5")},exports.kebabCase=z,exports.lightenColor=x,exports.makeUrl=e=>{if("/"===(e=e||"").slice(0,1)&&(e=e.slice(1)),window){const t=window.location;return`${t.protocol}//${t.host}/${e}`}return`//${e}`},exports.mythInjectionKey=Et,exports.mythPackageName=Bt,exports.mythPluginName=$t,exports.nl2br=(e,t=!1)=>{if(!e)return"";const r=t?"<br />":"<br>";return e.toString().replace(/(\r\n|\n\r|\r|\n)/g,r)},exports.openWindow=k,exports.pascalCase=q,exports.plural=X,exports.prettyPrint=e=>JSON.stringify(e,null,3).replace(/&/g,"&amp;").replace(/\\"/g,"&quot;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/^( *)("[\w]+": )?("[^"]*"|[\w.+-]*)?([,[{])?$/gm,(e,t,r,o,n)=>{let a=t||"";return r&&(a=a+'<span class="json-key" style="color: brown">'+r.replace(/[": ]/g,"")+"</span>: "),o&&(a=a+(o.startsWith('"')?'<span class="json-string" style="color: olive">':'<span class="json-value" style="color: navy">')+o+"</span>"),a+(n||"")}),exports.scrollToBottom=async(e,t,r)=>{const{setVerticalScrollPosition:o,getScrollHeight:n}=u.scroll;e||(e=window);const a=e&&"string"==typeof e?document.querySelector(e)||window:e;o(a,r=r||n(a),t=t||600)},exports.scrollToElement=P,exports.scrollToElementFromErrors=async(e,t,r)=>{if(!e)return;const o=Object.entries(e),n=o.map(([e])=>e);let a=[];if(o.length>0&&(a=Array.from(document.body.querySelectorAll("[data-input-name].m-input__error")||[]).filter(e=>n.includes(e?.getAttribute("data-input-name")))),a.length>0)for(const i of a){const e=o.find(e=>e[0]===i.getAttribute("data-input-name"));if(e?.[1]){const t=e[0];await P(i||`[name='${t}']`,{target:r});break}}else for(const[i,s]of o)if((s&&Array.isArray(s)?s[0]:s)?.toString?.()?.length){if(t)await P(t,{target:r});else{const e=`[data-input-name='${i}']`;await P(document.querySelector(e)||`[name='${i}']`,{target:r})}break}},exports.setCss=(e,t,r)=>{if((0,u.setCssVar)(e,t,r||document.documentElement),"primary"===e){const e=x(t,50),r=S(t,10);(0,u.setCssVar)("scrollbar-track",e),(0,u.setCssVar)("scrollbar-hover",r)}},exports.shuffle=e=>{const t=[...e||[]];for(let r=t.length-1;r>0;r--){const e=Math.floor(Math.random()*(r+1));[t[r],t[e]]=[t[e],t[r]]}return t},exports.singular=Z,exports.snakeCase=V,exports.sortNumberFormatted=(e,t)=>(parseFloat(ee(e).replace(/[^\d.]/g,""))||0)-(parseFloat(ee(t).replace(/[^\d.]/g,""))||0),exports.strBefore=(e,t="_to_string")=>e?e.slice(-t.length)===t?e.slice(0,e.length-t.length):e:"",exports.toAlphaNumerals=(e,t={})=>{const{uppercase:r=!0,startFromZero:o=!1}=t,n=parseInt(e?.toString()||"0",10)||0;if(n<=0&&!o)return"";if(o&&0===n)return r?"A":"a";let a=o?n+1:n,i="";for(;a>0;){a--;const e=a%26+(r?65:97);i=String.fromCharCode(e)+i,a=Math.floor(a/26)}return i},exports.toNumber=ee,exports.toNumberFormat=(e=null,t)=>{if(null==e||""===e)return"";const r=ee(e).split("."),o=/(\d+)(\d{3})/;for(;o.test(r[0]);)r[0]=r[0].replace(o,"$1,$2");let n=r.join(".");return t&&(n=`${n} ${t}`),n},exports.ucFirst=e=>{if(!e)return"";const t=e.toString();return t.charAt(0).toUpperCase()+t.slice(1).toLowerCase()},exports.uniq=B,exports.uniqBy=(e,t)=>{const r=new Set;return e.filter(e=>{if(!e)return!1;const o=e[t];return!r.has(o)&&(r.add(o),!0)})},exports.useContainer=le,exports.useMyth=b,exports.useMythMeta=e=>{const{conf:t}=b();(0,u.useMeta)(()=>{const r=(0,p.toValue)(t).pageTitle||"",o=(0,p.toValue)(e)||{},n=(0,p.toValue)(t).appName,a=(0,p.toValue)(t).metaTags||{},{...i}=o;return{title:r,titleTemplate:e=>e?e.toLowerCase()===n.toLowerCase()?n:`${n} | ${e}`:n,...(0,u.extend)(!0,{},a,i)}})},exports.useTransition=pe,exports.veeRules=re,exports.version=Rt,exports.wordsToSingle=(e,t)=>{if(e&&"ar"===t?.toString()?.toLowerCase()){const t=e.split(" ");for(let e=0;e<t.length;e++)t[e].startsWith("ال")||(t[e]="ال"+t[e]),t[e].endsWith("ي")||(t[e]+="ي");return t.join(" ")}return e},exports.wordsWithThe=(e,t)=>{if(e&&"ar"===t?.toString()?.toLowerCase()){const t=e.split(" ");if(t[t.length-1].startsWith("ال"))return e;for(let e=0;e<t.length;e++)!t[e].startsWith("ال")&&t[e].length>0&&(t[e]="ال"+t[e]);return t.join(" ")}return e},exports.wordsWithoutThe=(e,t)=>{if(e&&"ar"===t?.toString()?.toLowerCase()){const t=e.split(" ");for(let e=0;e<t.length;e++)t[e].startsWith("ال")&&(t[e]=t[e].slice(2));return t.join(" ")}return e};
1
+ Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});var e=Object.create,t=Object.defineProperty,r=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,n=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,i=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t),e=null),t.exports),l=(e,r)=>{let o={};for(var n in e)t(o,n,{get:e[n],enumerable:!0});return r||t(o,Symbol.toStringTag,{value:"Module"}),o},s=(i,l,s)=>(s=null!=i?e(n(i)):{},((e,n,i,l)=>{if(n&&"object"==typeof n||"function"==typeof n)for(var s,p=o(n),u=0,c=p.length;u<c;u++)s=p[u],a.call(e,s)||s===i||t(e,s,{get:(e=>n[e]).bind(null,s),enumerable:!(l=r(n,s))||l.enumerable});return e})(!l&&i&&i.__esModule?s:t(s,"default",{value:i,enumerable:!0}),i));let p=require("vue"),u=require("axios");u=s(u,1);let c=require("quasar"),d=require("vue-i18n"),f=require("vee-validate"),y=require("@vee-validate/rules"),m=require("@vee-validate/i18n");var g=Symbol.for("_m__m-container"),h="gutter",v=()=>{const e=(0,p.inject)(Ut);if(!e)throw new Error(`Plugin [${Vt}] is not provided`);const t=(0,p.computed)(()=>e.conf.theme.btn),r=(0,p.computed)(()=>e.conf.theme.input);return e.make({btnStyle:t,inputStyle:r})},b={class:"q-dialog-plugin m-dialog__wrapper"},w=(0,p.defineComponent)({name:"MDialog",__name:"MDialog",props:{slide:{type:Boolean,default:!1},from:{default:"left"}},emits:[...c.useDialogPluginComponent.emits],setup(e){const t={left:"right",right:"left",up:"down",down:"up"},r=(0,p.computed)(()=>`slide-${e.from}`),o=(0,p.computed)(()=>`slide-${t[e.from]}`),{conf:n}=v(),{dialogRef:a,onDialogHide:i}=(0,c.useDialogPluginComponent)();return(t,l)=>((0,p.openBlock)(),(0,p.createBlock)((0,p.unref)(c.QDialog),(0,p.mergeProps)({ref_key:"dialogRef",ref:a,"transition-hide":t.$q.screen.lt.md||e.slide?r.value:"fade","transition-show":t.$q.screen.lt.md||e.slide?o.value:"fade",class:"m-dialog"},(0,p.unref)(n).componentsProps.MDialog,{onHide:(0,p.unref)(i)}),{default:(0,p.withCtx)(()=>[(0,p.createElementVNode)("div",b,[(0,p.renderSlot)(t.$slots,"default")])]),_:3},16,["transition-hide","transition-show","onHide"]))}}),S=(e,t=10)=>{const{lighten:r}=c.colors;return r(e,-1*t)},x=(e,t=10)=>{const{lighten:r}=c.colors;return r(e,t)},C=(e,t,r)=>{let o;if((t instanceof File||t instanceof Blob)&&r){const o=t instanceof File?t.name:r;e.append(r,t,o)}else for(const n in t)if(o=t[n],null!=o&&"object"==typeof o){const t=r?r+"["+n+"]":n;Array.isArray(o)&&o.length<1?e.append(`${n}`,""):C(e,o,t)}else!0===o&&(o=1),!1===o&&(o=0),null==o&&(o=""),r?e.append(r+"["+n+"]",o):e.append(n,o);return e},A=e=>(t,r)=>(r??"")+(r&&e?"/":"")+(e??"")+(e&&t?"/":"")+(t??""),k=(e,t,r)=>(0,c.openURL)(e,t,r),B=e=>{const t=e instanceof Window?e.document?.body?.getBoundingClientRect():e?.getBoundingClientRect?.();return!!t&&(t.top>=0&&t.left>=0&&t.bottom<=window.innerHeight+t.height&&t.right<=window.innerWidth+t.width)},P=async(e,t)=>{await(0,p.nextTick)();const{getScrollTarget:r,setVerticalScrollPosition:o,getVerticalScrollPosition:n}=c.scroll,a="string"==typeof e?document.querySelector(e):e;if(!a)return;await(0,p.nextTick)();const{target:i}=t||{},l=r(a,("string"==typeof i?document.querySelector(i):i)||window.document.documentElement),s=n(l),u=t?.duration||1e3;let d,f=a;try{do{if(d=f.getBoundingClientRect().top,0===d&&!f.parentElement){d=f.scrollTop;break}if(0!==d&&f.parentElement)break;f=f.parentElement}while(f)}catch(Ie){console.log(Ie),d="offsetTop"in a&&a?.offsetTop||0}const y=d+s-(100+(t?.offset||0));B(a)||o(l,y,u)},_=(e="",t="",r)=>{let o="number"!=typeof e?parseFloat(e):e;isNaN(o)&&(o=0);const n={minimumFractionDigits:2,maximumFractionDigits:2,...r||{}};return`${o.toLocaleString("en-US",n)} ${t}`.trim()},O=e=>[...new Set(e)],$="myth-",M={sar:"M699.62,1113.02h0c-20.06,44.48-33.32,92.75-38.4,143.37l424.51-90.24c20.06-44.47,33.31-92.75,38.4-143.37l-424.51,90.24Z&&M1085.73,895.8c20.06-44.47,33.32-92.75,38.4-143.37l-330.68,70.33v-135.2l292.27-62.11c20.06-44.47,33.32-92.75,38.4-143.37l-330.68,70.27V66.13c-50.67,28.45-95.67,66.32-132.25,110.99v403.35l-132.25,28.11V0c-50.67,28.44-95.67,66.32-132.25,110.99v525.69l-295.91,62.88c-20.06,44.47-33.33,92.75-38.42,143.37l334.33-71.05v170.26l-358.3,76.14c-20.06,44.47-33.32,92.75-38.4,143.37l375.04-79.7c30.53-6.35,56.77-24.4,73.83-49.24l68.78-101.97v-.02c7.14-10.55,11.3-23.27,11.3-36.97v-149.98l132.25-28.11v270.4l424.53-90.28Z|0 0 1124.14 1256.39"},E=i((e,t)=>{var r,o;r=e,o=function(){var e=[],t=[],r={},o={},n={};function a(e){return"string"==typeof e?new RegExp("^"+e+"$","i"):e}function i(e,t){return e===t?t:e===e.toLowerCase()?t.toLowerCase():e===e.toUpperCase()?t.toUpperCase():e[0]===e[0].toUpperCase()?t.charAt(0).toUpperCase()+t.substr(1).toLowerCase():t.toLowerCase()}function l(e,t){return e.replace(t[0],function(r,o){var n,a,l=(n=t[1],a=arguments,n.replace(/\$(\d{1,2})/g,function(e,t){return a[t]||""}));return i(""===r?e[o-1]:r,l)})}function s(e,t,o){if(!e.length||r.hasOwnProperty(e))return t;for(var n=o.length;n--;){var a=o[n];if(a[0].test(t))return l(t,a)}return t}function p(e,t,r){return function(o){var n=o.toLowerCase();return t.hasOwnProperty(n)?i(o,n):e.hasOwnProperty(n)?i(o,e[n]):s(n,o,r)}}function u(e,t,r,o){return function(o){var n=o.toLowerCase();return!!t.hasOwnProperty(n)||!e.hasOwnProperty(n)&&s(n,n,r)===n}}function c(e,t,r){return(r?t+" ":"")+(1===t?c.singular(e):c.plural(e))}return c.plural=p(n,o,e),c.isPlural=u(n,o,e),c.singular=p(o,n,t),c.isSingular=u(o,n,t),c.addPluralRule=function(t,r){e.push([a(t),r])},c.addSingularRule=function(e,r){t.push([a(e),r])},c.addUncountableRule=function(e){"string"!=typeof e?(c.addPluralRule(e,"$0"),c.addSingularRule(e,"$0")):r[e.toLowerCase()]=!0},c.addIrregularRule=function(e,t){t=t.toLowerCase(),e=e.toLowerCase(),n[e]=t,o[t]=e},[["I","we"],["me","us"],["he","they"],["she","they"],["them","them"],["myself","ourselves"],["yourself","yourselves"],["itself","themselves"],["herself","themselves"],["himself","themselves"],["themself","themselves"],["is","are"],["was","were"],["has","have"],["this","these"],["that","those"],["echo","echoes"],["dingo","dingoes"],["volcano","volcanoes"],["tornado","tornadoes"],["torpedo","torpedoes"],["genus","genera"],["viscus","viscera"],["stigma","stigmata"],["stoma","stomata"],["dogma","dogmata"],["lemma","lemmata"],["schema","schemata"],["anathema","anathemata"],["ox","oxen"],["axe","axes"],["die","dice"],["yes","yeses"],["foot","feet"],["eave","eaves"],["goose","geese"],["tooth","teeth"],["quiz","quizzes"],["human","humans"],["proof","proofs"],["carve","carves"],["valve","valves"],["looey","looies"],["thief","thieves"],["groove","grooves"],["pickaxe","pickaxes"],["passerby","passersby"]].forEach(function(e){return c.addIrregularRule(e[0],e[1])}),[[/s?$/i,"s"],[/[^\u0000-\u007F]$/i,"$0"],[/([^aeiou]ese)$/i,"$1"],[/(ax|test)is$/i,"$1es"],[/(alias|[^aou]us|t[lm]as|gas|ris)$/i,"$1es"],[/(e[mn]u)s?$/i,"$1s"],[/([^l]ias|[aeiou]las|[ejzr]as|[iu]am)$/i,"$1"],[/(alumn|syllab|vir|radi|nucle|fung|cact|stimul|termin|bacill|foc|uter|loc|strat)(?:us|i)$/i,"$1i"],[/(alumn|alg|vertebr)(?:a|ae)$/i,"$1ae"],[/(seraph|cherub)(?:im)?$/i,"$1im"],[/(her|at|gr)o$/i,"$1oes"],[/(agend|addend|millenni|dat|extrem|bacteri|desiderat|strat|candelabr|errat|ov|symposi|curricul|automat|quor)(?:a|um)$/i,"$1a"],[/(apheli|hyperbat|periheli|asyndet|noumen|phenomen|criteri|organ|prolegomen|hedr|automat)(?:a|on)$/i,"$1a"],[/sis$/i,"ses"],[/(?:(kni|wi|li)fe|(ar|l|ea|eo|oa|hoo)f)$/i,"$1$2ves"],[/([^aeiouy]|qu)y$/i,"$1ies"],[/([^ch][ieo][ln])ey$/i,"$1ies"],[/(x|ch|ss|sh|zz)$/i,"$1es"],[/(matr|cod|mur|sil|vert|ind|append)(?:ix|ex)$/i,"$1ices"],[/\b((?:tit)?m|l)(?:ice|ouse)$/i,"$1ice"],[/(pe)(?:rson|ople)$/i,"$1ople"],[/(child)(?:ren)?$/i,"$1ren"],[/eaux$/i,"$0"],[/m[ae]n$/i,"men"],["thou","you"]].forEach(function(e){return c.addPluralRule(e[0],e[1])}),[[/s$/i,""],[/(ss)$/i,"$1"],[/(wi|kni|(?:after|half|high|low|mid|non|night|[^\w]|^)li)ves$/i,"$1fe"],[/(ar|(?:wo|[ae])l|[eo][ao])ves$/i,"$1f"],[/ies$/i,"y"],[/\b([pl]|zomb|(?:neck|cross)?t|coll|faer|food|gen|goon|group|lass|talk|goal|cut)ies$/i,"$1ie"],[/\b(mon|smil)ies$/i,"$1ey"],[/\b((?:tit)?m|l)ice$/i,"$1ouse"],[/(seraph|cherub)im$/i,"$1"],[/(x|ch|ss|sh|zz|tto|go|cho|alias|[^aou]us|t[lm]as|gas|(?:her|at|gr)o|[aeiou]ris)(?:es)?$/i,"$1"],[/(analy|diagno|parenthe|progno|synop|the|empha|cri|ne)(?:sis|ses)$/i,"$1sis"],[/(movie|twelve|abuse|e[mn]u)s$/i,"$1"],[/(test)(?:is|es)$/i,"$1is"],[/(alumn|syllab|vir|radi|nucle|fung|cact|stimul|termin|bacill|foc|uter|loc|strat)(?:us|i)$/i,"$1us"],[/(agend|addend|millenni|dat|extrem|bacteri|desiderat|strat|candelabr|errat|ov|symposi|curricul|quor)a$/i,"$1um"],[/(apheli|hyperbat|periheli|asyndet|noumen|phenomen|criteri|organ|prolegomen|hedr|automat)a$/i,"$1on"],[/(alumn|alg|vertebr)ae$/i,"$1a"],[/(cod|mur|sil|vert|ind)ices$/i,"$1ex"],[/(matr|append)ices$/i,"$1ix"],[/(pe)(rson|ople)$/i,"$1rson"],[/(child)ren$/i,"$1"],[/(eau)x?$/i,"$1"],[/men$/i,"man"]].forEach(function(e){return c.addSingularRule(e[0],e[1])}),["adulthood","advice","agenda","aid","aircraft","alcohol","ammo","analytics","anime","athletics","audio","bison","blood","bream","buffalo","butter","carp","cash","chassis","chess","clothing","cod","commerce","cooperation","corps","debris","diabetes","digestion","elk","energy","equipment","excretion","expertise","firmware","flounder","fun","gallows","garbage","graffiti","hardware","headquarters","health","herpes","highjinks","homework","housework","information","jeans","justice","kudos","labour","literature","machinery","mackerel","mail","media","mews","moose","music","mud","manga","news","only","personnel","pike","plankton","pliers","police","pollution","premises","rain","research","rice","salmon","scissors","series","sewage","shambles","shrimp","software","species","staff","swine","tennis","traffic","transportation","trout","tuna","wealth","welfare","whiting","wildebeest","wildlife","you",/pok[eé]mon$/i,/[^aeiou]ese$/i,/deer$/i,/fish$/i,/measles$/i,/o[iu]s$/i,/pox$/i,/sheep$/i].forEach(c.addUncountableRule),c},"function"==typeof require&&"object"==typeof e&&"object"==typeof t?t.exports=o():"function"==typeof define&&define.amd?define(function(){return o()}):r.pluralize=o()}),j=s(E(),1),I=/([\p{Ll}\d])(\p{Lu})/gu,N=/(\p{Lu})([\p{Lu}][\p{Ll}])/gu,T=/(\d)\p{Ll}|(\p{L})\d/u,F=/[^\p{L}\d]+/giu,D="$1\0$2";function R(e){let t=e.trim();t=t.replace(I,D).replace(N,D),t=t.replace(F,"\0");let r=0,o=t.length;for(;"\0"===t.charAt(r);)r++;if(r===o)return[];for(;"\0"===t.charAt(o-1);)o--;return t.slice(r,o).split(/\0/g)}function L(e){const t=R(e);for(let r=0;r<t.length;r++){const e=t[r],o=T.exec(e);if(o){const n=o.index+(o[1]??o[2]).length;t.splice(r,1,e.slice(0,n),e.slice(n))}}return t}function V(e,t){const[r,o,n]=J(e,t);return r+o.map(W(t?.locale)).join(t?.delimiter??" ")+n}function q(e,t){const[r,o,n]=J(e,t),a=W(t?.locale),i=H(t?.locale),l=t?.mergeAmbiguousCharacters?G(a,i):K(a,i);return r+o.map((e,t)=>0===t?a(e):l(e,t)).join(t?.delimiter??"")+n}function U(e,t){const[r,o,n]=J(e,t),a=W(t?.locale),i=H(t?.locale),l=t?.mergeAmbiguousCharacters?G(a,i):K(a,i);return r+o.map(l).join(t?.delimiter??"")+n}function Q(e,t){return V(e,{delimiter:"-",...t})}function z(e,t){return V(e,{delimiter:"_",...t})}function W(e){return!1===e?e=>e.toLowerCase():t=>t.toLocaleLowerCase(e)}function H(e){return!1===e?e=>e.toUpperCase():t=>t.toLocaleUpperCase(e)}function G(e,t){return r=>`${t(r[0])}${e(r.slice(1))}`}function K(e,t){return(r,o)=>{const n=r[0];return(o>0&&n>="0"&&n<="9"?"_"+n:t(n))+e(r.slice(1))}}function J(e,t={}){const r=t.split??(t.separateNumbers?L:R),o=t.prefixCharacters??"",n=t.suffixCharacters??"";let a=0,i=e.length;for(;a<e.length;){const t=e.charAt(a);if(!o.includes(t))break;a++}for(;i>a;){const t=i-1,r=e.charAt(t);if(!n.includes(r))break;i=t}return[e.slice(0,a),r(e.slice(a,i)),e.slice(i)]}var{plural:X,singular:Z}=j.default,Y=e=>null==e?"":e.toString().replace(/٠/g,"0").replace(/١/g,"1").replace(/٢/g,"2").replace(/٣/g,"3").replace(/٤/g,"4").replace(/٥/g,"5").replace(/٦/g,"6").replace(/٧/g,"7").replace(/٨/g,"8").replace(/٩/g,"9"),ee=e=>null==e||""===e?"":Y(e).replace(/,/g,""),{testPattern:te}=c.patterns,re={float:e=>null==e||c.is.number(parseInt(e))&&!isNaN(parseInt(e))&&e?.toString().split(".")?.length<=2&&/(\d)+/g.test(e)&&!/[a-zA-Z]/.test(e),date:e=>/^-?[\d]+-[0-1]\d-[0-3]\d$/.test(e),time:e=>te.time(e),fulltime:e=>te.fulltime(e),timeOrFulltime:e=>te.timeOrFulltime(e),hexColor:e=>te.hexColor(e),hexaColor:e=>te.hexaColor(e),hexOrHexaColor:e=>te.hexOrHexaColor(e),rgbColor:e=>te.rgbColor(e),rgbaColor:e=>te.rgbaColor(e),rgbOrRgbaColor:e=>te.rgbOrRgbaColor(e),hexOrRgbColor:e=>te.hexOrRgbColor(e),hexaOrRgbaColor:e=>te.hexaOrRgbaColor(e),color:e=>!e||te.anyColor(e),requiredColor:e=>te.anyColor(e)},{getPaletteColor:oe}=c.colors,ne=async e=>{const t=null!=e?String(e):"";return await(0,c.copyToClipboard)(t),t},ae={class:"q-dialog-plugin m-dialog__wrapper"},ie={class:"row items-center"},le=["src"],se=(0,p.defineComponent)({name:"MDialogFrame",__name:"MDialogFrame",props:{url:{},height:{},noDownload:{type:Boolean},iframeProps:{},image:{type:Boolean},imageProps:{}},emits:[...c.useDialogPluginComponent.emits],setup(e){const t=e,{__:r,conf:o}=v(),{dialogRef:n,onDialogHide:a,onDialogOK:i}=(0,c.useDialogPluginComponent)(),l=(0,c.useQuasar)(),s=(0,p.computed)({get:()=>l.loading.isActive,set:e=>e?l.loading.show():l.loading.hide()}),u=(0,p.computed)(()=>t.url||null),d=()=>{s.value&&(s.value=!1)};return(t,f)=>{const y=(0,p.resolveComponent)("q-btn");return(0,p.openBlock)(),(0,p.createBlock)((0,p.unref)(c.QDialog),(0,p.mergeProps)({ref_key:"dialogRef",ref:n,class:"m-dialog",maximized:"","no-shake":"","transition-hide":"fade","transition-show":"fade"},(0,p.unref)(o).componentsProps.MDialog,{onHide:(0,p.unref)(a)}),{default:(0,p.withCtx)(()=>[(0,p.createElementVNode)("div",ae,[(0,p.createVNode)((0,p.unref)(c.QCard),{flat:"",square:""},{default:(0,p.withCtx)(()=>[(0,p.createVNode)((0,p.unref)(c.QCardSection),{style:{"max-height":"80px"}},{default:(0,p.withCtx)(()=>[(0,p.createElementVNode)("div",ie,[e.noDownload?(0,p.createCommentVNode)("",!0):((0,p.openBlock)(),(0,p.createBlock)(y,{key:0,label:(0,p.unref)(r)("labels.download"),icon:"ion-ios-open",onClick:f[0]||(f[0]=e=>{u.value&&k(u.value)})},null,8,["label"])),(0,p.createVNode)((0,p.unref)(c.QSpace)),(0,p.createVNode)(y,{flat:"",icon:"close",padding:"3px",onClick:f[1]||(f[1]=e=>{i()})})])]),_:1}),(0,p.createVNode)((0,p.unref)(c.QSeparator)),(0,p.createElementVNode)("div",{style:(0,p.normalizeStyle)({height:(0,p.unref)(l).screen.height-70+"px"}),class:"content-center m-dialog__content"},[(0,p.renderSlot)(t.$slots,"default",{},()=>[u.value?((0,p.openBlock)(),(0,p.createElementBlock)(p.Fragment,{key:0},[e.image?((0,p.openBlock)(),(0,p.createBlock)((0,p.unref)(c.QImg),(0,p.mergeProps)({key:0,height:e.height??"80%",src:u.value,class:"m-dialog__img",fit:"contain","no-spinner":"",style:{"max-height":"100%"}},e.imageProps,{onError:f[2]||(f[2]=e=>d()),onLoad:f[3]||(f[3]=e=>d())}),{loading:(0,p.withCtx)(()=>[(0,p.createVNode)((0,p.unref)(c.QSkeleton),{height:"100%",width:"100%"})]),_:1},16,["height","src"])):((0,p.openBlock)(),(0,p.createElementBlock)("iframe",(0,p.mergeProps)({key:1,src:u.value,style:`width: 100%; border: 0; height: ${e.height??"99%"}`,class:"m-dialog__iframe"},e.iframeProps,{onLoad:f[4]||(f[4]=e=>s.value=!1)}),null,16,le))],64)):(0,p.createCommentVNode)("",!0)])],4)]),_:3})])]),_:3},16,["onHide"])}}}),pe=(e,t={})=>{const{messages:r,locale:o,te:n}=(0,d.useI18n)({useScope:"global"}),{__:a,conf:i}=v();t=(0,p.computed)(()=>(0,p.toValue)(t)||{});const l=(0,p.computed)(()=>(0,p.toValue)(e)),s=(0,p.computed)(()=>(0,p.toValue)(t.value.choose)??!1),u=(0,p.computed)(()=>(0,p.toValue)(t.value.props)||{}),f=(0,p.computed)(()=>u.value?.name||""),y=(0,p.computed)(()=>i.componentsProps[l.value]||{}),m=(0,p.computed)(()=>(0,p.toValue)(t.value.attrs)||{}),g=(0,p.computed)(()=>(0,c.extend)(!0,{...(0,p.toValue)(t.value.defaultProps)},y.value,u.value)),h=(0,p.computed)(()=>(0,c.extend)(!0,{},g.value,m.value)),b=(0,p.computed)(()=>{if(!("topLabel"in h.value))return!1;const e=h.value.topLabel;return!0===e||"string"==typeof e}),w=(0,p.ref)({}),S=/\[['"]?([^'"]+)['"]?\]/g,x=(0,p.computed)(()=>{let e=(h.value.label??f.value??"").toString();const t=e.replace(S,".$1").split(".");for(let r=t.length-1;r>=0;r--){const o=t[r].trim();if(o&&"*"!==o&&isNaN(Number(o))){e=o;break}}return e}),C=(0,p.computed)(()=>{const e=x.value;if(!e)return;if(n(e))return a(e);const t=e.split(".").pop()??"";return n(t)?a(t):t}),A=(0,p.computed)(()=>{if(!1!==h.value.placeholder){if(void 0===h.value.placeholder){const e=h.value.choice??s.value,t="string"==typeof e&&e.length>0?e:!0===e?"enter":"choose";return"enter"!==t&&"choose"!==t&&n(t)?a(t):C.value?a(`replace.${t}`,{name:C.value}):void 0}return h.value.placeholder?a(h.value.placeholder)??h.value.placeholder:void 0}}),k=(0,p.computed)(()=>{const e=h.value.autocomplete??void 0;if(void 0!==e){if(!0===e||""===e){const e=Q(x.value);return"last-name"===e?"family-name":e}if(!1===e)return"off";if("string"==typeof e&&e.length>0)return Q(e)}}),B=(0,p.computed)(()=>{const e=[],t=h.value;return t.accept&&("string"==typeof t.accept?e.push(t.accept):Array.isArray(t.accept)?e.push(...t.accept):"object"==typeof t.accept&&e.push(...Object.values(t.accept))),t.images&&("string"==typeof t.images&&t.images.length>0?e.push(t.images):e.push("image/png","image/jpg","image/jpeg","image/webp")),t.svg&&("string"==typeof t.svg&&t.svg.length>0?e.push(t.svg):e.push("image/svg+xml")),t.video&&("string"==typeof t.video&&t.video.length>0?e.push(t.video):e.push("video/*")),t.audio&&("string"==typeof t.audio&&t.audio.length>0?e.push(t.audio):e.push("audio/*")),t.pdf&&("string"==typeof t.pdf&&t.pdf.length>0?e.push(t.pdf):e.push("application/pdf")),t.excel&&("string"==typeof t.excel&&t.excel.length>0?e.push(t.excel):e.push(".xls",".xlsx",".xlsm",".xlsb","application/vnd.ms-excel","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","application/vnd.ms-excel.sheet.macroEnabled.12","application/vnd.ms-excel.sheet.binary.macroEnabled.12","application/vnd.ms-excel.template.macroEnabled.12","application/vnd.openxmlformats-officedocument.spreadsheetml.template","application/vnd.ms-excel.addin.macroEnabled.12")),e}),P=e=>!isNaN(e)&&!isNaN(parseFloat(e)),_=e=>{if(!e)return{};let t={};const r="string"==typeof e?e.split("|"):Array.isArray(e)?e:[e];for(const o of r){if(!o)continue;if("object"==typeof o&&!Array.isArray(o)){t={...t,...o};continue}Array.isArray(o)&&(t={...t,...o});const[e,r]=o.split(":");e&&(t[e]=!r||(/,/g.test(r)?r.split(",").map(e=>P(e)?parseInt(e):e):P(r)?parseInt(r):r))}return t.color&&h.value.required&&(t.requiredColor=t.color,delete t.color),t},$=["required","email","numeric","integer","float","color",...Object.keys(re)],M=r.value?.[o.value]?.validation?.messages||{};return{mergedProps:g,mergedAttrs:h,inputRules:(0,p.computed)(()=>{if(h.value.viewMode)return{};const e={..._((0,p.toValue)(h.value.rules))},t=O([...$,...Object.keys(M)]);for(const r of t){if(["mobile","_default","default"].includes(r))continue;const t=[r,z(r),q(r),Q(r)];e:for(const o of t)for(const t of[m.value,u.value]){const n=t;if(o in n&&(!0===n[o]||""===n[o])){if("MAvatarViewer"===l.value&&"required"===o)break e;e[z(r)]=!0===n[o]||""===n[o]||n[o];break e}}}return Object.values(e).filter(e=>!!e).length>0?e:void 0}),accepts:B,hasTopLabel:b,getLabel:C,getPlaceholder:A,getAutocompleteAttribute:k,getProp:(e,t=void 0)=>{const r=(0,p.toValue)(e);return h.value[r]??t},attrs:(0,p.computed)(()=>({...m.value,...w.value})),theme:w}},ue=()=>({container:(0,p.inject)(g,{})});function ce(e){const t=(0,p.toValue)(e),r=e=>{if("in"===e&&t.enterActiveClass)return`animated ${t.enterActiveClass}`;if("out"===e&&t.leaveActiveClass)return`animated ${t.leaveActiveClass}`;if("appear"===e&&t.appearActiveClass)return`animated ${t.appearActiveClass}`;const r=t[e];if(!r)return;const o=["animated",r],n=[`${e}Slower`,`${e}Slow`,`${e}Fast`,`${e}Faster`];for(const l of n)t[l]&&o.push(l.replace(e,"").toLowerCase());const a=t[`${e}Delay`]||!1;a&&(!0===a&&o.push("delay-1s"),"number"!=typeof a&&"string"!=typeof a||o.push(`delay-${a}s`));const i=t[`${e}Repeat`]||!1;return i&&(!0===i&&o.push("repeat"),"number"!=typeof i&&"string"!=typeof i||o.push(`repeat-${i}`)),o.join(" ")};return{getClasses:r,computedProps:(0,p.computed)(()=>{const e={enterActiveClass:r("in"),leaveActiveClass:r("out"),appearActiveClass:r("appear"),appear:!t.noAppear,css:!t.noCss};for(const t of["in","inSlower","inSlow","inFast","inFaster","inDelay","inRepeat","out","outSlower","outSlow","outFast","outFaster","outDelay","outRepeat","appearSlower","appearSlow","appearFast","appearFaster","appearDelay","appearRepeat","noAppear","noCss"])delete e[t];return e})}}var de=(0,p.defineComponent)({name:"MBtn",__name:"MBtn",props:{label:{default:()=>{}},spinner:{default:()=>{}},loading:{type:Boolean,default:!1},nativeLabel:{type:Boolean,default:!1},noStyle:{type:Boolean,default:!1}},setup(e){const t={QSpinner:c.QSpinner,QSpinnerAudio:c.QSpinnerAudio,QSpinnerBall:c.QSpinnerBall,QSpinnerBars:c.QSpinnerBars,QSpinnerBox:c.QSpinnerBox,QSpinnerClock:c.QSpinnerClock,QSpinnerComment:c.QSpinnerComment,QSpinnerCube:c.QSpinnerCube,QSpinnerDots:c.QSpinnerDots,QSpinnerFacebook:c.QSpinnerFacebook,QSpinnerGears:c.QSpinnerGears,QSpinnerGrid:c.QSpinnerGrid,QSpinnerHearts:c.QSpinnerHearts,QSpinnerHourglass:c.QSpinnerHourglass,QSpinnerInfinity:c.QSpinnerInfinity,QSpinnerIos:c.QSpinnerIos,QSpinnerOrbit:c.QSpinnerOrbit,QSpinnerOval:c.QSpinnerOval,QSpinnerPie:c.QSpinnerPie,QSpinnerPuff:c.QSpinnerPuff,QSpinnerRadio:c.QSpinnerRadio,QSpinnerRings:c.QSpinnerRings,QSpinnerTail:c.QSpinnerTail},{__:r,conf:o,btnStyle:n}=v(),a=(0,p.computed)(()=>void 0!==e.spinner?e.spinner:o.theme.loadingOptions?.type),i=(0,p.computed)(()=>{if(a.value)return"spinner"===a.value?t.QSpinner:t[U(`q-spinner-${a.value}`)]}),l=(0,p.computed)(()=>o.theme.loadingOptions?.size),s=(0,p.computed)(()=>o.theme.loadingOptions?.color),u=(0,p.computed)(()=>!0===e.nativeLabel?null===e.label||void 0===e.label?void 0:String(e.label):void 0!==e.label&&null!==e.label?r(String(e.label)):void 0),d=(0,p.computed)(()=>({...e.noStyle?{}:(0,p.toValue)(n),...o.componentsProps.MBtn||{},ariaLabel:u.value}));return(t,r)=>((0,p.openBlock)(),(0,p.createBlock)((0,p.unref)(c.QBtn),(0,p.mergeProps)({label:u.value,loading:e.loading,class:"m-btn"},d.value),(0,p.createSlots)({_:2},[t.$slots.loading?{name:"loading",fn:(0,p.withCtx)(()=>[(0,p.renderSlot)(t.$slots,"loading")]),key:"0"}:a.value&&i.value?{name:"loading",fn:(0,p.withCtx)(()=>[((0,p.openBlock)(),(0,p.createBlock)((0,p.resolveDynamicComponent)(i.value),{color:s.value,size:l.value},null,8,["color","size"]))]),key:"1"}:void 0,t.$slots.default?{name:"default",fn:(0,p.withCtx)(()=>[(0,p.renderSlot)(t.$slots,"default")]),key:"2"}:void 0]),1040,["label","loading"]))}}),fe=(0,p.defineComponent)({name:"MHiddenInput",inheritAttrs:!1,__name:"MHiddenInput",props:(0,p.mergeModels)({name:{},rules:{},required:{type:Boolean},fieldOptions:{}},{modelValue:{required:!1,default:void 0},modelModifiers:{}}),emits:["update:modelValue"],setup(e,{expose:t}){const r=e;(0,p.useModel)(e,"modelValue");const o=(0,p.getCurrentInstance)()?.type?.name||"",n=(0,p.useAttrs)(),{inputRules:a,getLabel:i}=pe(()=>o,()=>({props:r,attrs:n})),l=(0,f.useField)(()=>r.name,a,{syncVModel:!0,label:i,validateOnValueUpdate:!1,validateOnMount:!1,controlled:!0,...(0,p.computed)(()=>(0,p.toValue)(r.fieldOptions)||{}).value}),{value:s}=l;return t(l),(t,r)=>(0,p.withDirectives)(((0,p.openBlock)(),(0,p.createElementBlock)("input",(0,p.mergeProps)({"onUpdate:modelValue":r[0]||(r[0]=e=>(0,p.isRef)(s)?s.value=e:null),class:"hidden"},{...t.$attrs,type:"text",hidden:!0,name:e.name}),null,16)),[[p.vModelDynamic,(0,p.unref)(s)]])}}),ye=(0,p.defineComponent)({name:"MBlock",__name:"MBlock",props:{tag:{default:"div"},size:{default:()=>{}},rounded:{type:Boolean,default:()=>{}},shadow:{default:()=>{}}},setup(e){const{container:t}=ue(),{conf:r}=v(),o=(0,p.computed)(()=>void 0!==e.size?e.size:t.size??r.theme.gutterSize??"md"),n=(0,p.computed)(()=>void 0!==e.rounded?e.rounded:t.rounded??r.theme.rounded??!1),a=(0,p.computed)(()=>void 0!==e.shadow?e.shadow:t.shadow??r.theme.shadow??void 0);return(t,r)=>((0,p.openBlock)(),(0,p.createBlock)((0,p.resolveDynamicComponent)(e.tag),{class:(0,p.normalizeClass)([{[`q-pa-${o.value}`]:o.value&&"none"!==o.value,"rounded-borders":n.value,[`shadow-${a.value||""}`]:a.value&&"none"!==a.value},"m-block"])},{default:(0,p.withCtx)(()=>[(0,p.renderSlot)(t.$slots,"default")]),_:3},8,["class"]))}}),me=(0,p.defineComponent)({name:"MCol",__name:"MCol",props:{name:{},tag:{},auto:{type:Boolean},shrink:{type:Boolean},grow:{type:Boolean},col:{type:[Boolean,null,String,Number]},xs:{type:[Boolean,null,String,Number]},sm:{type:[Boolean,null,String,Number]},md:{type:[Boolean,null,String,Number]},lg:{type:[Boolean,null,String,Number]},xl:{type:[Boolean,null,String,Number]},xxl:{type:[Boolean,null,String,Number]}},setup(e){const t=e,r=["xs","sm","md","lg","xl"],o=(0,p.computed)(()=>{const e=(0,p.toValue)(t),o=["m-col"];e.auto&&o.push("col-auto"),e.shrink&&o.push("col-shrink"),e.grow&&o.push("col-grow");for(const t of r)e[t]&&"boolean"!=typeof e[t]&&(o.includes(`col-${t}-${e[t]}`)||o.push(`col-${t}-${e[t]}`));if(!1===e.col)return O(o);const n=["auto","grow","shrink"];if(n.includes(e.col))for(const t of n)o.includes(`col-${t}`)||o.push(`col-${t}`);else"string"!=typeof e.col&&"number"!=typeof e.col||e.col?.toString()?.trim()?.length>0&&!o.includes(`col-${e.col}`)&&o.push(`col-${e.col}`);return 1===o.length&&void 0!==e.col&&o.push("col"),O(o)});return(t,r)=>((0,p.openBlock)(),(0,p.createBlock)((0,p.resolveDynamicComponent)(e.tag??"div"),{class:(0,p.normalizeClass)(o.value),"data-input-name":e.name??void 0},{default:(0,p.withCtx)(()=>[(0,p.renderSlot)(t.$slots,"default")]),_:3},8,["class","data-input-name"]))}}),ge=(0,p.defineComponent)({name:"MGrid",__name:"MGrid",props:{tag:{default:"div"},gridType:{default:"row"},size:{default:()=>{}},type:{default:()=>{}}},setup(e){const{container:t}=ue(),{conf:r}=v(),o=(0,p.computed)(()=>void 0!==e.size?e.size:t?.size??r.theme.gutterSize??"md"),n=(0,p.computed)(()=>void 0!==e.type?e.type:t?.type??r.theme.gutterType??"gutter"),a=(0,p.computed)(()=>`q${"col"===e.type?"-col":""}-gutter`);return(t,r)=>((0,p.openBlock)(),(0,p.createBlock)((0,p.resolveDynamicComponent)(e.tag),{class:(0,p.normalizeClass)({"m-row row":"row"===e.gridType,"m-column column":"column"===e.gridType,[`${a.value}-${o.value}`]:!!n.value&&"none"!==n.value})},{default:(0,p.withCtx)(()=>[(0,p.renderSlot)(t.$slots,"default")]),_:3},8,["class"]))}}),he=(0,p.defineComponent)({name:"MColumn",__name:"MColumn",props:{size:{default:()=>{}},type:{default:()=>{}}},setup:e=>(t,r)=>((0,p.openBlock)(),(0,p.createBlock)(ge,{size:e.size,type:e.type,"grid-type":"column"},{default:(0,p.withCtx)(()=>[(0,p.renderSlot)(t.$slots,"default")]),_:3},8,["size","type"]))}),ve=(0,p.defineComponent)({name:"MContainer",__name:"MContainer",props:{tag:{default:"div"},size:{default:()=>"md"},type:{default:()=>h},dense:{type:Boolean,default:()=>{}},fluid:{type:Boolean,default:()=>{}},rounded:{type:Boolean,default:()=>{}},shadow:{default:()=>{}}},setup(e){const{conf:t}=v(),r=(0,p.computed)(()=>"md"!==e.size?e.size:t.theme.gutterSize??"md"),o=(0,p.computed)(()=>"gutter"!==e.type?e.type:t.theme.gutterType??"gutter"),n=(0,p.computed)(()=>e.rounded??t.theme.rounded??!1),a=(0,p.computed)(()=>e.dense??t.theme.dense??!1),i=(0,p.computed)(()=>e.fluid??t.theme.fluid??!1);return(0,p.provide)(g,(0,p.reactive)({gutterSize:r,gutterType:o,rounded:n,dense:a,fluid:i,shadow:(0,p.computed)(()=>e.shadow??t.theme.shadow??void 0)})),(t,o)=>((0,p.openBlock)(),(0,p.createBlock)((0,p.resolveDynamicComponent)(e.tag),{class:(0,p.normalizeClass)([{"m-container__fluid":!!i.value,"m-container__dense":!!a.value,"q-pa-none":"none"===r.value,[`q-pa-${r.value||""}`]:r.value&&"none"!==r.value},"m-container"])},{default:(0,p.withCtx)(()=>[(0,p.renderSlot)(t.$slots,"default")]),_:3},8,["class"]))}}),be=(0,p.defineComponent)({name:"MTooltip",inheritAttrs:!1,__name:"MTooltip",props:{modelValue:{type:[Boolean,null],required:!1,default:void 0},modelModifiers:{}},emits:["update:modelValue"],setup(e){const t=(0,p.getCurrentInstance)(),r=(0,p.computed)(()=>t?.type?.name||""),o=(0,p.useModel)(e,"modelValue"),{conf:n}=v();return(e,t)=>((0,p.openBlock)(),(0,p.createBlock)((0,p.unref)(c.QTooltip),(0,p.mergeProps)({modelValue:o.value,"onUpdate:modelValue":t[0]||(t[0]=e=>o.value=e),class:"m-tooltip","transition-hide":"scale","transition-show":"scale"},{...(0,p.unref)(n).componentsProps[r.value],...e.$attrs}),{default:(0,p.withCtx)(()=>[(0,p.renderSlot)(e.$slots,"default")]),_:3},16,["modelValue"]))}}),we={class:"col-auto m-help-row__icon-wrapper"},Se={key:0,class:"col m-help-row__text-wrapper"},xe=["textContent"],Ce=(0,p.defineComponent)({name:"MHelpRow",__name:"MHelpRow",props:{tag:{default:"div"},text:{default:""},icon:{default:()=>{}},tooltip:{type:Boolean,default:!1}},setup(e){const{__:t}=v();return(r,o)=>e.text||e.tooltip?((0,p.openBlock)(),(0,p.createBlock)((0,p.resolveDynamicComponent)(e.tag),{key:0,class:"row m-help-row"},{default:(0,p.withCtx)(()=>[(0,p.createElementVNode)("div",we,[(0,p.createVNode)((0,p.unref)(c.QIcon),{class:(0,p.normalizeClass)([{"cursor-pointer":e.tooltip},"m-help-row__icon"]),left:!!e.text&&!e.tooltip,name:e.icon??"ion-ios-information-circle-outline",size:"19px"},{default:(0,p.withCtx)(()=>[e.tooltip?((0,p.openBlock)(),(0,p.createBlock)((0,p.unref)(be),{key:0,anchor:"center end",class:"bg-transparent text-black text-justify m-help-row__tooltip",self:"center start","transition-hide":"jump-right","transition-show":"jump-left"},{default:(0,p.withCtx)(()=>[(0,p.createVNode)((0,p.unref)(c.QCard),(0,p.normalizeProps)((0,p.guardReactiveProps)({style:{maxWidth:"280px"}})),{default:(0,p.withCtx)(()=>[(0,p.createVNode)((0,p.unref)(c.QCardSection),(0,p.normalizeProps)((0,p.guardReactiveProps)({style:{fontSize:"13px"}})),{default:(0,p.withCtx)(()=>[(0,p.createTextVNode)((0,p.toDisplayString)((0,p.unref)(t)(e.text)),1)]),_:1},16)]),_:1},16)]),_:1})):(0,p.createCommentVNode)("",!0)]),_:1},8,["class","left","name"])]),!e.tooltip&&e.text?((0,p.openBlock)(),(0,p.createElementBlock)("div",Se,[(0,p.createElementVNode)("div",{class:"m-help-row__text-content",textContent:(0,p.toDisplayString)((0,p.unref)(t)(e.text))},null,8,xe)])):(0,p.createCommentVNode)("",!0)]),_:1})):(0,p.createCommentVNode)("",!0)}}),Ae=(0,p.defineComponent)({name:"MInnerLoading",__name:"MInnerLoading",props:{showing:{type:Boolean,default:!1},label:{default:()=>{}},labelClass:{default:()=>{}},labelStyle:{default:"font-size: 1.1em"},color:{default:"primary"}},setup(e){const{__:t,conf:r}=v(),o=(0,p.getCurrentInstance)(),n=(0,p.computed)(()=>o?.type?.name||"");return(o,a)=>((0,p.openBlock)(),(0,p.createBlock)((0,p.unref)(c.QInnerLoading),(0,p.mergeProps)({color:e.color,label:(0,p.unref)(t)(e.label??"labels.plz_wait"),"label-class":e.labelClass,"label-style":e.labelStyle,showing:e.showing,class:"m-inner-loading"},(0,p.unref)(r).componentsProps[n.value]),(0,p.createSlots)({_:2},[void 0!==o.$slots.default?{name:"default",fn:(0,p.withCtx)(()=>[(0,p.renderSlot)(o.$slots,"default")]),key:"0"}:void 0]),1040,["color","label","label-class","label-style","showing"]))}}),ke=(0,p.defineComponent)({name:"MRow",__name:"MRow",props:{size:{default:()=>{}},type:{default:()=>{}}},setup:e=>(t,r)=>((0,p.openBlock)(),(0,p.createBlock)(ge,{size:e.size,type:e.type,"grid-type":"row"},{default:(0,p.withCtx)(()=>[(0,p.renderSlot)(t.$slots,"default")]),_:3},8,["size","type"]))}),Be=(0,p.defineComponent)({name:"MInputWrapper",__name:"MInputWrapper",props:{required:{type:Boolean},error:{type:Boolean},viewMode:{type:Boolean},tag:{},auto:{type:Boolean},shrink:{type:Boolean},grow:{type:Boolean},col:{type:[Boolean,null,String,Number]},xs:{type:[Boolean,null,String,Number]},sm:{type:[Boolean,null,String,Number]},md:{type:[Boolean,null,String,Number]},lg:{type:[Boolean,null,String,Number]},xl:{type:[Boolean,null,String,Number]},xxl:{type:[Boolean,null,String,Number]},name:{}},setup(e,{expose:t}){const r=(0,p.getCurrentInstance)()?.type?.name||"",o=e,n=(0,p.computed)(()=>o.name??""),a=(0,p.useAttrs)(),{mergedProps:i}=pe(()=>r,()=>({props:o,attrs:a})),{__:l}=v();return t({}),(t,r)=>((0,p.openBlock)(),(0,p.createBlock)((0,p.unref)(me),(0,p.mergeProps)({class:[{"m-input__col--required":e.required,"m-input__col--error":e.error,"m-input__col--view-mode":e.viewMode},"m-input-wrapper m-input__col"]},{...(0,p.unref)(i),name:n.value}),{default:(0,p.withCtx)(()=>[(0,p.renderSlot)(t.$slots,"default")]),_:3},16,["class"]))}}),Pe=Be,_e={class:"m-input__top-label__content"},Oe=(0,p.defineComponent)({name:"MInputLabel",__name:"MInputLabel",props:{tag:{},field:{},label:{}},setup(e){const{__:t,conf:r}=v(),o=(0,p.getCurrentInstance)(),n=(0,p.computed)(()=>o?.type?.name||"");return(o,a)=>((0,p.openBlock)(),(0,p.createBlock)((0,p.resolveDynamicComponent)(e.tag??"div"),(0,p.mergeProps)({class:[{"m-input__top-label--invalid":!e.field?.meta?.valid&&e.field?.meta?.dirty},"row items-center m-input__top-label"]},(0,p.unref)(r).componentsProps[n.value]),{default:(0,p.withCtx)(()=>[(0,p.renderSlot)(o.$slots,"before"),(0,p.createElementVNode)("div",_e,[(0,p.renderSlot)(o.$slots,"default",{},()=>[(0,p.createTextVNode)((0,p.toDisplayString)(void 0!==e.label?(0,p.unref)(t)(e.label):e.field?.label),1)])])]),_:3},16,["class"]))}}),$e=(0,p.defineComponent)({name:"MSarIcon",inheritAttrs:!1,__name:"MSarIcon",setup(e){const{conf:t}=v();return(e,r)=>((0,p.openBlock)(),(0,p.createBlock)((0,p.unref)(c.QIcon),(0,p.mergeProps)({class:"m-sar-icon"},{...e.$attrs,...(0,p.unref)(t).componentsProps.MSarIcon,name:"myth-sar"}),{default:(0,p.withCtx)(()=>[(0,p.renderSlot)(e.$slots,"default")]),_:3},16))}}),Me=(0,p.defineComponent)({name:"MSarString",__name:"MSarString",props:{tag:{default:"span"},text:{default:()=>{}},string:{type:Boolean,default:!1},format:{default:()=>{}},digits:{default:()=>{}},symbol:{type:Boolean,default:()=>{}}},setup(e){const{te:t}=(0,d.useI18n)({useScope:"global"}),{__:r,conf:o}=v(),n=(0,p.computed)(()=>void 0!==e.symbol?e.symbol?"﷼":"":void 0!==o.componentsProps.MSarString?.symbol&&o.componentsProps.MSarString.symbol?"﷼":""),a=(0,c.useQuasar)(),i=(0,p.computed)(()=>{const o=void 0!==e.text&&null!==e.text?String(e.text).trim():"";if(0===o.length)return;const i=void 0!==e.digits?parseInt(String(e.digits),10):2,l=isNaN(i)?2:i,s={minimumFractionDigits:l,maximumFractionDigits:l,...e.format};let p=o;e.string&&(t(`labels.${o}`)?p=r(`labels.${o}`):t(o)&&(p=r(o)));const u=Number(p);return isNaN(u)||""===p?a.lang.rtl?`${p} ${n.value}`.trim():`${n.value} ${p}`.trim():a.lang.rtl?_(u,n.value,s):`${n.value} ${_(u,n.value,s)}`.trim()});return(t,r)=>((0,p.openBlock)(),(0,p.createBlock)((0,p.resolveDynamicComponent)(e.tag),(0,p.mergeProps)({class:"sar-font m-sar-string"},(0,p.unref)(o).componentsProps.MSarString),{default:(0,p.withCtx)(()=>[(0,p.renderSlot)(t.$slots,"default",{},()=>[(0,p.createTextVNode)((0,p.toDisplayString)(i.value),1)])]),_:3},16))}});function Ee(){return Ee=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)({}).hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},Ee.apply(null,arguments)}var je={strings:["These are the default values...","You know what you should do?","Use your own!","Have a great day!"],stringsElement:null,typeSpeed:0,startDelay:0,backSpeed:0,smartBackspace:!0,shuffle:!1,backDelay:700,shouldBackspace:!0,fadeOut:!1,fadeOutClass:"typed-fade-out",fadeOutDelay:500,loop:!1,loopCount:1/0,showCursor:!0,cursorChar:"|",autoInsertCss:!0,attr:null,bindInputFocusEvents:!1,contentType:"html",onBegin:function(e){},onComplete:function(e){},preStringTyped:function(e,t){},onStringTyped:function(e,t){},onLastStringBackspaced:function(e){},onTypingPaused:function(e,t){},onTypingResumed:function(e,t){},onReset:function(e){},onStop:function(e,t){},onStart:function(e,t){},onDestroy:function(e){}},Ie=new(function(){function e(){}var t=e.prototype;return t.load=function(e,t,r){if(e.el="string"==typeof r?document.querySelector(r):r,e.options=Ee({},je,t),e.isInput="input"===e.el.tagName.toLowerCase(),e.attr=e.options.attr,e.bindInputFocusEvents=e.options.bindInputFocusEvents,e.showCursor=!e.isInput&&e.options.showCursor,e.cursorChar=e.options.cursorChar,e.cursorBlinking=!0,e.elContent=e.attr?e.el.getAttribute(e.attr):e.el.textContent,e.contentType=e.options.contentType,e.typeSpeed=e.options.typeSpeed,e.startDelay=e.options.startDelay,e.backSpeed=e.options.backSpeed,e.smartBackspace=e.options.smartBackspace,e.backDelay=e.options.backDelay,e.shouldBackspace=e.options.shouldBackspace,e.fadeOut=e.options.fadeOut,e.fadeOutClass=e.options.fadeOutClass,e.fadeOutDelay=e.options.fadeOutDelay,e.isPaused=!1,e.strings=e.options.strings.map(function(e){return e.trim()}),e.stringsElement="string"==typeof e.options.stringsElement?document.querySelector(e.options.stringsElement):e.options.stringsElement,e.stringsElement){e.strings=[],e.stringsElement.style.cssText="clip: rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px;";var o=Array.prototype.slice.apply(e.stringsElement.children),n=o.length;if(n)for(var a=0;a<n;a+=1)e.strings.push(o[a].innerHTML.trim())}for(var i in e.strPos=0,e.currentElContent=this.getCurrentElContent(e),e.currentElContent&&e.currentElContent.length>0&&(e.strPos=e.currentElContent.length-1,e.strings.unshift(e.currentElContent)),e.sequence=[],e.strings)e.sequence[i]=i;e.arrayPos=0,e.stopNum=0,e.loop=e.options.loop,e.loopCount=e.options.loopCount,e.curLoop=0,e.shuffle=e.options.shuffle,e.pause={status:!1,typewrite:!0,curString:"",curStrPos:0},e.typingComplete=!1,e.autoInsertCss=e.options.autoInsertCss,e.autoInsertCss&&(this.appendCursorAnimationCss(e),this.appendFadeOutAnimationCss(e))},t.getCurrentElContent=function(e){return e.attr?e.el.getAttribute(e.attr):e.isInput?e.el.value:"html"===e.contentType?e.el.innerHTML:e.el.textContent},t.appendCursorAnimationCss=function(e){var t="data-typed-js-cursor-css";if(e.showCursor&&!document.querySelector("["+t+"]")){var r=document.createElement("style");r.setAttribute(t,"true"),r.innerHTML="\n .typed-cursor{\n opacity: 1;\n }\n .typed-cursor.typed-cursor--blink{\n animation: typedjsBlink 0.7s infinite;\n -webkit-animation: typedjsBlink 0.7s infinite;\n animation: typedjsBlink 0.7s infinite;\n }\n @keyframes typedjsBlink{\n 50% { opacity: 0.0; }\n }\n @-webkit-keyframes typedjsBlink{\n 0% { opacity: 1; }\n 50% { opacity: 0.0; }\n 100% { opacity: 1; }\n }\n ",document.body.appendChild(r)}},t.appendFadeOutAnimationCss=function(e){var t="data-typed-fadeout-js-css";if(e.fadeOut&&!document.querySelector("["+t+"]")){var r=document.createElement("style");r.setAttribute(t,"true"),r.innerHTML="\n .typed-fade-out{\n opacity: 0;\n transition: opacity .25s;\n }\n .typed-cursor.typed-cursor--blink.typed-fade-out{\n -webkit-animation: 0;\n animation: 0;\n }\n ",document.body.appendChild(r)}},e}()),Ne=new(function(){function e(){}var t=e.prototype;return t.typeHtmlChars=function(e,t,r){if("html"!==r.contentType)return t;var o=e.substring(t).charAt(0);if("<"===o||"&"===o){var n;for(n="<"===o?">":";";e.substring(t+1).charAt(0)!==n&&!(1+ ++t>e.length););t++}return t},t.backSpaceHtmlChars=function(e,t,r){if("html"!==r.contentType)return t;var o=e.substring(t).charAt(0);if(">"===o||";"===o){var n;for(n=">"===o?"<":"&";e.substring(t-1).charAt(0)!==n&&!(--t<0););t--}return t},e}()),Te=function(){function e(e,t){Ie.load(this,t,e),this.begin()}var t=e.prototype;return t.toggle=function(){this.pause.status?this.start():this.stop()},t.stop=function(){this.typingComplete||this.pause.status||(this.toggleBlinking(!0),this.pause.status=!0,this.options.onStop(this.arrayPos,this))},t.start=function(){this.typingComplete||this.pause.status&&(this.pause.status=!1,this.pause.typewrite?this.typewrite(this.pause.curString,this.pause.curStrPos):this.backspace(this.pause.curString,this.pause.curStrPos),this.options.onStart(this.arrayPos,this))},t.destroy=function(){this.reset(!1),this.options.onDestroy(this)},t.reset=function(e){void 0===e&&(e=!0),clearInterval(this.timeout),this.replaceText(""),this.cursor&&this.cursor.parentNode&&(this.cursor.parentNode.removeChild(this.cursor),this.cursor=null),this.strPos=0,this.arrayPos=0,this.curLoop=0,e&&(this.insertCursor(),this.options.onReset(this),this.begin())},t.append=function(e){var t=this,r=this.strings[this.strings.length-1];this.strings.push(e),this.sequence=this.strings.map(function(e,t){return t}),this.typingComplete&&(this.timeout=this.shouldBackspace?setTimeout(function(){t.backspace(r,r.length-1)},this.backDelay):setTimeout(function(){t.arrayPos++,t.typewrite(t.strings[t.sequence[t.arrayPos]],0)},this.backDelay))},t.begin=function(){var e=this;this.options.onBegin(this),this.typingComplete=!1,this.shuffleStringsIfNeeded(),this.insertCursor(),this.bindInputFocusEvents&&this.bindFocusEvents(),this.timeout=setTimeout(function(){0===e.strPos?e.typewrite(e.strings[e.sequence[e.arrayPos]],e.strPos):e.backspace(e.strings[e.sequence[e.arrayPos]],e.strPos)},this.startDelay)},t.typewrite=function(e,t){var r=this;this.fadeOut&&this.el.classList.contains(this.fadeOutClass)&&(this.el.classList.remove(this.fadeOutClass),this.cursor&&this.cursor.classList.remove(this.fadeOutClass));var o=this.humanizer(this.typeSpeed),n=1;!0!==this.pause.status?this.timeout=setTimeout(function(){t=Ne.typeHtmlChars(e,t,r);var o=0,a=e.substring(t);if("^"===a.charAt(0)&&/^\^\d+/.test(a)){var i=1;i+=(a=/\d+/.exec(a)[0]).length,o=parseInt(a),r.temporaryPause=!0,r.options.onTypingPaused(r.arrayPos,r),e=e.substring(0,t)+e.substring(t+i),r.toggleBlinking(!0)}if("`"===a.charAt(0)){for(;"`"!==e.substring(t+n).charAt(0)&&(n++,!(t+n>e.length)););var l=e.substring(0,t),s=e.substring(l.length+1,t+n),p=e.substring(t+n+1);e=l+s+p,n--}r.timeout=setTimeout(function(){r.toggleBlinking(!1),t>=e.length?r.doneTyping(e,t):r.keepTyping(e,t,n),r.temporaryPause&&(r.temporaryPause=!1,r.options.onTypingResumed(r.arrayPos,r))},o)},o):this.setPauseStatus(e,t,!0)},t.keepTyping=function(e,t,r){if(0===t&&(this.toggleBlinking(!1),this.options.preStringTyped(this.arrayPos,this)),this.shouldBackspace){var o=e.substring(0,t+=r);this.replaceText(o)}else{var n=e.substring(t,t+r);t+=r,this.replaceText(n)}this.typewrite(e,t)},t.doneTyping=function(e,t){var r=this;this.options.onStringTyped(this.arrayPos,this),this.toggleBlinking(!0),this.isFinalString()&&(this.complete(),!1===this.loop||this.curLoop===this.loopCount)||(this.timeout=this.shouldBackspace?setTimeout(function(){r.backspace(e,t)},this.backDelay):setTimeout(function(){r.arrayPos++,r.typewrite(r.strings[r.sequence[r.arrayPos]],0)},this.backDelay))},t.backspace=function(e,t){var r=this;if(!0!==this.pause.status){if(this.fadeOut)return this.initFadeOut();this.toggleBlinking(!1);var o=this.humanizer(this.backSpeed);this.timeout=setTimeout(function(){t=Ne.backSpaceHtmlChars(e,t,r);var o=e.substring(0,t);if(r.replaceText(o),r.smartBackspace){var n=r.strings[r.sequence[r.arrayPos+1]];r.stopNum=n&&o===n.substring(0,t)?t:0}t>r.stopNum?(t--,r.backspace(e,t)):t<=r.stopNum&&(r.isFinalString()?r.lastStringBackspaced():(r.arrayPos++,r.typewrite(r.strings[r.sequence[r.arrayPos]],t)))},o)}else this.setPauseStatus(e,t,!1)},t.isFinalString=function(){return this.arrayPos===this.strings.length-1},t.lastStringBackspaced=function(){this.arrayPos=0,this.options.onLastStringBackspaced(),this.loop&&(this.shuffleStringsIfNeeded(),this.begin())},t.complete=function(){this.options.onComplete(this),this.loop?this.curLoop++:this.typingComplete=!0},t.setPauseStatus=function(e,t,r){this.pause.typewrite=r,this.pause.curString=e,this.pause.curStrPos=t},t.toggleBlinking=function(e){this.cursor&&(this.pause.status||this.cursorBlinking!==e&&(this.cursorBlinking=e,e?this.cursor.classList.add("typed-cursor--blink"):this.cursor.classList.remove("typed-cursor--blink")))},t.humanizer=function(e){return Math.round(Math.random()*e/2)+e},t.shuffleStringsIfNeeded=function(){this.shuffle&&(this.sequence=this.sequence.sort(function(){return Math.random()-.5}))},t.initFadeOut=function(){var e=this;return this.el.className+=" "+this.fadeOutClass,this.cursor&&(this.cursor.className+=" "+this.fadeOutClass),setTimeout(function(){e.arrayPos++,e.replaceText(""),e.strings.length>e.arrayPos?e.typewrite(e.strings[e.sequence[e.arrayPos]],0):(e.typewrite(e.strings[0],0),e.arrayPos=0)},this.fadeOutDelay)},t.replaceText=function(e){this.attr?this.el.setAttribute(this.attr,e):this.isInput?this.el.value=e:"html"===this.contentType?this.shouldBackspace?this.el.innerHTML=e:this.el.innerHTML+=e:this.el.textContent=e},t.bindFocusEvents=function(){var e=this;this.isInput&&(this.el.addEventListener("focus",function(t){e.stop()}),this.el.addEventListener("blur",function(t){e.el.value&&0!==e.el.value.length||e.start()}))},t.insertCursor=function(){this.showCursor&&(this.cursor||(this.cursor=document.createElement("span"),this.cursor.className="typed-cursor",this.cursor.setAttribute("aria-hidden",!0),this.cursor.innerHTML=this.cursorChar,this.el.parentNode&&this.el.parentNode.insertBefore(this.cursor,this.el.nextSibling)))},e}(),Fe=(0,p.defineComponent)({name:"MTypingString",__name:"MTypingString",props:{name:{},tag:{default:"span"},string:{},loop:{type:Boolean,default:!1},speed:{default:300},backDelay:{default:()=>{}},fadeOut:{type:Boolean},options:{default:()=>({})}},setup(e,{expose:t}){const{conf:r}=v(),o=(0,p.computed)(()=>`typed-content-${e.name}`),n=(0,p.computed)(()=>({loop:e.loop,typeSpeed:parseInt(e.speed?.toString?.()),backDelay:void 0!==e.backDelay&&parseInt(e.backDelay?.toString?.())||void 0,fadeOut:e.fadeOut,strings:"string"==typeof e.string?[e.string]:e.string||void 0,...e.options})),a=(0,p.ref)(),i=(0,p.ref)(),l=()=>{if(a.value)try{a.value.destroy()}catch(Ie){console.log(Ie)}};return(0,p.watchEffect)(()=>{if(i.value&&e.string){const t=document.getElementById(o.value);try{t&&(e=>{try{l(),a.value=new Te(`#${o.value}`,(0,p.toValue)(e))}catch(Ie){console.log(Ie)}})((0,p.toValue)(n))}catch(Ie){console.log(Ie),t&&(t.innerHTML="string"==typeof e.string?e.string:e.string.join("<br />"))}}}),(0,p.onBeforeUnmount)(()=>l()),t({typed:a,typedRef:i}),(t,n)=>((0,p.openBlock)(),(0,p.createBlock)((0,p.resolveDynamicComponent)(e.tag),(0,p.mergeProps)({id:o.value,ref_key:"typedRef",ref:i,class:"m-typing-string"},(0,p.unref)(r).componentsProps.MTypingString),null,16,["id"]))}}),De=Fe,Re={class:"self-center full-width no-outline",tabindex:"0"},Le=(0,p.defineComponent)({name:"MInputFieldControl",__name:"MInputFieldControl",setup:e=>(e,t)=>((0,p.openBlock)(),(0,p.createElementBlock)("div",Re,[(0,p.renderSlot)(e.$slots,"default")]))}),Ve={key:0,class:"m-input__caption"},qe=(0,p.defineComponent)({name:"MInput",inheritAttrs:!1,__name:"MInput",props:(0,p.mergeModels)({name:{},auto:{type:Boolean},col:{type:[Boolean,null,String,Number]},xs:{type:[Boolean,null,String,Number]},sm:{type:[Boolean,null,String,Number]},md:{type:[Boolean,null,String,Number]},lg:{type:[Boolean,null,String,Number]},xl:{type:[Boolean,null,String,Number]},label:{},caption:{},hint:{},placeholder:{},help:{},required:{type:Boolean},rules:{},viewMode:{type:Boolean},viewModeValue:{},viewModeKey:{},autocomplete:{type:[Boolean,String]},topLabel:{type:Boolean},fieldOptions:{},clearable:{type:Boolean},email:{type:Boolean},float:{type:Boolean},sar:{type:Boolean},prependIcon:{},prependIconProps:{},appendIcon:{},appendIconProps:{},copy:{type:Boolean},type:{},ltr:{type:Boolean},rtl:{type:Boolean},inputClass:{},viewModeClass:{type:[Boolean,null,String,Object,Array]}},{modelValue:{required:!1,default:void 0},modelModifiers:{}}),emits:["update:modelValue"],setup(e,{expose:t}){const r=e;(0,p.useModel)(e,"modelValue");const o=(0,c.useQuasar)(),{__:n,conf:a}=v(),i=(0,p.getCurrentInstance)()?.type?.name||"",l=(0,p.useAttrs)(),{theme:s,hasTopLabel:u,getLabel:d,getPlaceholder:y,getAutocompleteAttribute:m,inputRules:g}=pe(()=>i,()=>({props:r,attrs:l})),h=(0,f.useField)(()=>r.name,g,{syncVModel:!0,label:d,...(0,p.toValue)(r.fieldOptions)}),{value:b,errorMessage:w,handleChange:S,handleBlur:x}=h,C={blur:e=>x(e,!0),"update:modelValue":e=>S(e,!!w.value)},A=(0,p.useTemplateRef)("input"),k=(0,p.computed)(()=>{if(!r.sar)return null;let e=_("");r.viewModeValue?.toString?.()?.length>0&&(e=r.viewModeValue),b.value?.toString?.()?.length&&(e=b.value);try{return _(e)}catch(Ie){return console.warn(Ie),"0.00"}}),B=(0,f.useFieldValue)(()=>r.viewModeKey||r.name),P=(0,p.computed)(()=>void 0!==r.viewModeValue?r.viewModeValue:r.viewModeKey?B.value:r.viewModeValue??b.value),O=(0,p.computed)(()=>{const e=[r.inputClass];return r.ltr&&e.push("ltr"),r.rtl&&e.push("rtl"),e}),$=(0,p.computed)(()=>!!r.rtl||!r.ltr&&o.lang.rtl);return t({focus:()=>{A?.value?.focus?.()},select:()=>{A?.value?.select?.()},input:A,field:h}),(t,r)=>{const o=(0,p.resolveComponent)("q-icon"),i=(0,p.resolveComponent)("q-tooltip"),l=(0,p.resolveComponent)("q-btn");return(0,p.openBlock)(),(0,p.createBlock)((0,p.unref)(Pe),{error:!!(0,p.unref)(w),name:e.name,required:e.required,"view-mode":e.viewMode},{default:(0,p.withCtx)(()=>[(0,p.renderSlot)(t.$slots,"top-input",(0,p.normalizeProps)((0,p.guardReactiveProps)((0,p.unref)(h)))),(0,p.renderSlot)(t.$slots,"top-label",(0,p.normalizeProps)((0,p.guardReactiveProps)((0,p.unref)(h))),()=>[(0,p.unref)(u)?((0,p.openBlock)(),(0,p.createBlock)((0,p.unref)(Oe),{key:0,field:(0,p.unref)(h)},{default:(0,p.withCtx)(()=>[e.help?((0,p.openBlock)(),(0,p.createBlock)((0,p.unref)(Ce),{key:0,text:e.help,class:"q-ml-sm",tooltip:""},null,8,["text"])):(0,p.createCommentVNode)("",!0)]),_:1},8,["field"])):(0,p.createCommentVNode)("",!0)]),(0,p.renderSlot)(t.$slots,"caption",{},()=>[e.caption?((0,p.openBlock)(),(0,p.createElementBlock)("div",Ve,(0,p.toDisplayString)((0,p.unref)(n)(e.caption)),1)):(0,p.createCommentVNode)("",!0)]),((0,p.openBlock)(),(0,p.createBlock)((0,p.resolveDynamicComponent)(e.viewMode?(0,p.unref)(c.QField):(0,p.unref)(c.QInput)),(0,p.mergeProps)({ref_key:"input",ref:A,class:["m-input",{"m-input__sar":e.sar}]},{...t.$attrs,...(0,p.unref)(s),...e.viewMode?{...(0,p.unref)(a).componentsProps.field,stackLabel:!0}:(0,p.unref)(a).componentsProps.input,autocomplete:(0,p.unref)(m)||void 0,clearable:!e.viewMode&&e.clearable,error:!!(0,p.unref)(w),errorMessage:(0,p.unref)(w),hint:e.hint?(0,p.unref)(n)(e.hint):void 0,label:(0,p.unref)(u)?void 0:(0,p.unref)(d)||void 0,modelValue:(0,p.unref)(b),placeholder:(0,p.unref)(y),type:e.type,inputClass:O.value},(0,p.toHandlers)(C)),(0,p.createSlots)({_:2},[e.prependIcon?{name:"prepend",fn:(0,p.withCtx)(()=>[(0,p.createVNode)(o,(0,p.mergeProps)({name:e.prependIcon},e.prependIconProps),null,16,["name"])]),key:"0"}:!e.sar||e.viewMode||$.value?void 0:{name:"prepend",fn:(0,p.withCtx)(()=>[(0,p.createVNode)((0,p.unref)($e))]),key:"1"},e.appendIcon?{name:"append",fn:(0,p.withCtx)(()=>[(0,p.createVNode)(o,(0,p.mergeProps)({name:e.appendIcon},e.appendIconProps),null,16,["name"])]),key:"2"}:e.sar&&!e.viewMode&&$.value?{name:"append",fn:(0,p.withCtx)(()=>[(0,p.createVNode)((0,p.unref)($e))]),key:"3"}:e.copy&&P.value&&e.viewMode?{name:"append",fn:(0,p.withCtx)(()=>[(0,p.createVNode)(l,{flat:"",icon:"ion-copy",round:"",size:"sm",onClick:r[0]||(r[0]=e=>(0,p.unref)(ne)(P.value))},{default:(0,p.withCtx)(()=>[P.value?((0,p.openBlock)(),(0,p.createBlock)(i,{key:0},{default:(0,p.withCtx)(()=>[(0,p.createTextVNode)((0,p.toDisplayString)((0,p.unref)(n)("labels.copy")),1)]),_:1})):(0,p.createCommentVNode)("",!0)]),_:1})]),key:"4"}:void 0,e.viewMode?{name:"control",fn:(0,p.withCtx)(()=>[(0,p.renderSlot)(t.$slots,"control",{},()=>[(0,p.createVNode)((0,p.unref)(Le),{class:(0,p.normalizeClass)(e.viewModeClass)},{default:(0,p.withCtx)(()=>[e.sar?((0,p.openBlock)(),(0,p.createBlock)((0,p.unref)(Me),{key:0,text:k.value},null,8,["text"])):((0,p.openBlock)(),(0,p.createElementBlock)(p.Fragment,{key:1},[(0,p.createTextVNode)((0,p.toDisplayString)(P.value),1)],64))]),_:1},8,["class"])])]),key:"5"}:void 0,(0,p.renderList)(t.$slots,(e,r)=>({name:r,fn:(0,p.withCtx)(()=>[(0,p.renderSlot)(t.$slots,r)])}))]),1040,["class"])),(0,p.renderSlot)(t.$slots,"help",(0,p.normalizeProps)((0,p.guardReactiveProps)((0,p.unref)(h))),()=>[!(0,p.unref)(u)&&e.help?((0,p.openBlock)(),(0,p.createBlock)((0,p.unref)(Ce),{key:0,text:e.help},null,8,["text"])):(0,p.createCommentVNode)("",!0)]),(0,p.renderSlot)(t.$slots,"bottom-input",(0,p.normalizeProps)((0,p.guardReactiveProps)((0,p.unref)(h))))]),_:3},8,["error","name","required","view-mode"])}}}),Ue=qe,Qe=(0,p.defineComponent)({name:"MTransition",__name:"MTransition",props:{in:{},inSlower:{type:Boolean},inSlow:{type:Boolean},inFast:{type:Boolean},inFaster:{type:Boolean},inDelay:{type:[Boolean,String,Number]},inRepeat:{type:[Boolean,String,Number]},out:{},outSlower:{type:Boolean},outSlow:{type:Boolean},outFast:{type:Boolean},outFaster:{type:Boolean},outDelay:{type:[Boolean,String,Number]},outRepeat:{type:[Boolean,String,Number]},appear:{},appearSlower:{type:Boolean},appearSlow:{type:Boolean},appearFast:{type:Boolean},appearFaster:{type:Boolean},appearDelay:{type:[Boolean,String,Number]},appearRepeat:{type:[Boolean,String,Number]},noAppear:{type:Boolean},noCss:{type:Boolean},name:{},type:{},css:{type:Boolean},duration:{},enterFromClass:{},enterActiveClass:{},enterToClass:{},appearFromClass:{},appearActiveClass:{},appearToClass:{},leaveFromClass:{},leaveActiveClass:{},leaveToClass:{},mode:{},persisted:{type:Boolean},onBeforeEnter:{type:[Function,Array]},onEnter:{type:[Function,Array]},onAfterEnter:{type:[Function,Array]},onEnterCancelled:{type:[Function,Array]},onBeforeLeave:{type:[Function,Array]},onLeave:{type:[Function,Array]},onAfterLeave:{type:[Function,Array]},onLeaveCancelled:{type:[Function,Array]},onBeforeAppear:{type:[Function,Array]},onAppear:{type:[Function,Array]},onAfterAppear:{type:[Function,Array]},onAppearCancelled:{type:[Function,Array]}},setup(e){const t=e,{computedProps:r}=ce(()=>t);return(e,t)=>((0,p.openBlock)(),(0,p.createBlock)(p.Transition,(0,p.normalizeProps)((0,p.guardReactiveProps)((0,p.unref)(r))),{default:(0,p.withCtx)(()=>[(0,p.renderSlot)(e.$slots,"default")]),_:3},16))}}),ze=(0,p.defineComponent)({name:"MTransitionGroup",__name:"MTransitionGroup",props:{in:{},inSlower:{type:Boolean},inSlow:{type:Boolean},inFast:{type:Boolean},inFaster:{type:Boolean},inDelay:{type:[Boolean,String,Number]},inRepeat:{type:[Boolean,String,Number]},out:{},outSlower:{type:Boolean},outSlow:{type:Boolean},outFast:{type:Boolean},outFaster:{type:Boolean},outDelay:{type:[Boolean,String,Number]},outRepeat:{type:[Boolean,String,Number]},appear:{},appearSlower:{type:Boolean},appearSlow:{type:Boolean},appearFast:{type:Boolean},appearFaster:{type:Boolean},appearDelay:{type:[Boolean,String,Number]},appearRepeat:{type:[Boolean,String,Number]},noAppear:{type:Boolean},noCss:{type:Boolean},name:{},type:{},css:{type:Boolean},duration:{},enterFromClass:{},enterActiveClass:{},enterToClass:{},appearFromClass:{},appearActiveClass:{},appearToClass:{},leaveFromClass:{},leaveActiveClass:{},leaveToClass:{},persisted:{type:Boolean},onBeforeEnter:{type:[Function,Array]},onEnter:{type:[Function,Array]},onAfterEnter:{type:[Function,Array]},onEnterCancelled:{type:[Function,Array]},onBeforeLeave:{type:[Function,Array]},onLeave:{type:[Function,Array]},onAfterLeave:{type:[Function,Array]},onLeaveCancelled:{type:[Function,Array]},onBeforeAppear:{type:[Function,Array]},onAppear:{type:[Function,Array]},onAfterAppear:{type:[Function,Array]},onAppearCancelled:{type:[Function,Array]},tag:{},moveClass:{}},setup(e){const{computedProps:t}=ce(e);return(e,r)=>((0,p.openBlock)(),(0,p.createBlock)(p.TransitionGroup,(0,p.normalizeProps)((0,p.guardReactiveProps)((0,p.unref)(t))),{default:(0,p.withCtx)(()=>[(0,p.renderSlot)(e.$slots,"default")]),_:3},16))}}),We=l({MBlock:()=>ye,MBtn:()=>de,MCol:()=>me,MColumn:()=>he,MContainer:()=>ve,MDialog:()=>w,MDialogFrame:()=>se,MGrid:()=>ge,MHelpRow:()=>Ce,MHiddenInput:()=>fe,MInnerLoading:()=>Ae,MInput:()=>Ue,MInputFieldControl:()=>Le,MInputLabel:()=>Oe,MInputWrapper:()=>Pe,MRow:()=>ke,MSarIcon:()=>$e,MSarString:()=>Me,MTooltip:()=>be,MTransition:()=>Qe,MTransitionGroup:()=>ze,MTypingString:()=>De,default:()=>He}),He={},Ge=i((e,t)=>{t.exports=TypeError}),Ke=i((e,t)=>{t.exports={}}),Je=i((e,t)=>{var r="function"==typeof Map&&Map.prototype,o=Object.getOwnPropertyDescriptor&&r?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,n=r&&o&&"function"==typeof o.get?o.get:null,a=r&&Map.prototype.forEach,i="function"==typeof Set&&Set.prototype,l=Object.getOwnPropertyDescriptor&&i?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,s=i&&l&&"function"==typeof l.get?l.get:null,p=i&&Set.prototype.forEach,u="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,c="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,d="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,f=Boolean.prototype.valueOf,y=Object.prototype.toString,m=Function.prototype.toString,g=String.prototype.match,h=String.prototype.slice,v=String.prototype.replace,b=String.prototype.toUpperCase,w=String.prototype.toLowerCase,S=RegExp.prototype.test,x=Array.prototype.concat,C=Array.prototype.join,A=Array.prototype.slice,k=Math.floor,B="function"==typeof BigInt?BigInt.prototype.valueOf:null,P=Object.getOwnPropertySymbols,_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,O="function"==typeof Symbol&&"object"==typeof Symbol.iterator,$="function"==typeof Symbol&&Symbol.toStringTag&&(typeof Symbol.toStringTag===O||"symbol")?Symbol.toStringTag:null,M=Object.prototype.propertyIsEnumerable,E=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function j(e,t){if(e===1/0||e===-1/0||e!=e||e&&e>-1e3&&e<1e3||S.call(/e/,t))return t;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof e){var o=e<0?-k(-e):k(e);if(o!==e){var n=String(o),a=h.call(t,n.length+1);return v.call(n,r,"$&_")+"."+v.call(v.call(a,/([0-9]{3})/g,"$&_"),/_$/,"")}}return v.call(t,r,"$&_")}var I=Ke(),N=I.custom,T=Q(N)?N:null,F={__proto__:null,double:'"',single:"'"},D={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};function R(e,t,r){var o=F[r.quoteStyle||t];return o+e+o}function L(e){return v.call(String(e),/"/g,"&quot;")}function V(e){return!$||!("object"==typeof e&&($ in e||void 0!==e[$]))}function q(e){return"[object Array]"===H(e)&&V(e)}function U(e){return"[object RegExp]"===H(e)&&V(e)}function Q(e){if(O)return e&&"object"==typeof e&&e instanceof Symbol;if("symbol"==typeof e)return!0;if(!e||"object"!=typeof e||!_)return!1;try{return _.call(e),!0}catch(Ie){}return!1}t.exports=function e(t,r,o,i){var l=r||{};if(W(l,"quoteStyle")&&!W(F,l.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(W(l,"maxStringLength")&&("number"==typeof l.maxStringLength?l.maxStringLength<0&&l.maxStringLength!==1/0:null!==l.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var y=!W(l,"customInspect")||l.customInspect;if("boolean"!=typeof y&&"symbol"!==y)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(W(l,"indent")&&null!==l.indent&&"\t"!==l.indent&&!(parseInt(l.indent,10)===l.indent&&l.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(W(l,"numericSeparator")&&"boolean"!=typeof l.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var b=l.numericSeparator;if(void 0===t)return"undefined";if(null===t)return"null";if("boolean"==typeof t)return t?"true":"false";if("string"==typeof t)return K(t,l);if("number"==typeof t){if(0===t)return 1/0/t>0?"0":"-0";var S=String(t);return b?j(t,S):S}if("bigint"==typeof t){var k=String(t)+"n";return b?j(t,k):k}var P=void 0===l.depth?5:l.depth;if(void 0===o&&(o=0),o>=P&&P>0&&"object"==typeof t)return q(t)?"[Array]":"[Object]";var N,D=function(e,t){var r;if("\t"===e.indent)r="\t";else{if(!("number"==typeof e.indent&&e.indent>0))return null;r=C.call(Array(e.indent+1)," ")}return{base:r,prev:C.call(Array(t+1),r)}}(l,o);if(void 0===i)i=[];else if(G(i,t)>=0)return"[Circular]";function z(t,r,n){if(r&&(i=A.call(i)).push(r),n){var a={depth:l.depth};return W(l,"quoteStyle")&&(a.quoteStyle=l.quoteStyle),e(t,a,o+1,i)}return e(t,l,o+1,i)}if("function"==typeof t&&!U(t)){var J=function(e){if(e.name)return e.name;var t=g.call(m.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}(t),re=te(t,z);return"[Function"+(J?": "+J:" (anonymous)")+"]"+(re.length>0?" { "+C.call(re,", ")+" }":"")}if(Q(t)){var oe=O?v.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):_.call(t);return"object"!=typeof t||O?oe:X(oe)}if((N=t)&&"object"==typeof N&&("undefined"!=typeof HTMLElement&&N instanceof HTMLElement||"string"==typeof N.nodeName&&"function"==typeof N.getAttribute)){for(var ne="<"+w.call(String(t.nodeName)),ae=t.attributes||[],ie=0;ie<ae.length;ie++)ne+=" "+ae[ie].name+"="+R(L(ae[ie].value),"double",l);return ne+=">",t.childNodes&&t.childNodes.length&&(ne+="..."),ne+="</"+w.call(String(t.nodeName))+">"}if(q(t)){if(0===t.length)return"[]";var le=te(t,z);return D&&!function(e){for(var t=0;t<e.length;t++)if(G(e[t],"\n")>=0)return!1;return!0}(le)?"["+ee(le,D)+"]":"[ "+C.call(le,", ")+" ]"}if(function(e){return"[object Error]"===H(e)&&V(e)}(t)){var se=te(t,z);return"cause"in Error.prototype||!("cause"in t)||M.call(t,"cause")?0===se.length?"["+String(t)+"]":"{ ["+String(t)+"] "+C.call(se,", ")+" }":"{ ["+String(t)+"] "+C.call(x.call("[cause]: "+z(t.cause),se),", ")+" }"}if("object"==typeof t&&y){if(T&&"function"==typeof t[T]&&I)return I(t,{depth:P-o});if("symbol"!==y&&"function"==typeof t.inspect)return t.inspect()}if(function(e){if(!n||!e||"object"!=typeof e)return!1;try{n.call(e);try{s.call(e)}catch(ne){return!0}return e instanceof Map}catch(Ie){}return!1}(t)){var pe=[];return a&&a.call(t,function(e,r){pe.push(z(r,t,!0)+" => "+z(e,t))}),Y("Map",n.call(t),pe,D)}if(function(e){if(!s||!e||"object"!=typeof e)return!1;try{s.call(e);try{n.call(e)}catch(t){return!0}return e instanceof Set}catch(Ie){}return!1}(t)){var ue=[];return p&&p.call(t,function(e){ue.push(z(e,t))}),Y("Set",s.call(t),ue,D)}if(function(e){if(!u||!e||"object"!=typeof e)return!1;try{u.call(e,u);try{c.call(e,c)}catch(ne){return!0}return e instanceof WeakMap}catch(Ie){}return!1}(t))return Z("WeakMap");if(function(e){if(!c||!e||"object"!=typeof e)return!1;try{c.call(e,c);try{u.call(e,u)}catch(ne){return!0}return e instanceof WeakSet}catch(Ie){}return!1}(t))return Z("WeakSet");if(function(e){if(!d||!e||"object"!=typeof e)return!1;try{return d.call(e),!0}catch(Ie){}return!1}(t))return Z("WeakRef");if(function(e){return"[object Number]"===H(e)&&V(e)}(t))return X(z(Number(t)));if(function(e){if(!e||"object"!=typeof e||!B)return!1;try{return B.call(e),!0}catch(Ie){}return!1}(t))return X(z(B.call(t)));if(function(e){return"[object Boolean]"===H(e)&&V(e)}(t))return X(f.call(t));if(function(e){return"[object String]"===H(e)&&V(e)}(t))return X(z(String(t)));if("undefined"!=typeof window&&t===window)return"{ [object Window] }";if("undefined"!=typeof globalThis&&t===globalThis||"undefined"!=typeof global&&t===global)return"{ [object globalThis] }";if(!function(e){return"[object Date]"===H(e)&&V(e)}(t)&&!U(t)){var ce=te(t,z),de=E?E(t)===Object.prototype:t instanceof Object||t.constructor===Object,fe=t instanceof Object?"":"null prototype",ye=!de&&$&&Object(t)===t&&$ in t?h.call(H(t),8,-1):fe?"Object":"",me=(de||"function"!=typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"")+(ye||fe?"["+C.call(x.call([],ye||[],fe||[]),": ")+"] ":"");return 0===ce.length?me+"{}":D?me+"{"+ee(ce,D)+"}":me+"{ "+C.call(ce,", ")+" }"}return String(t)};var z=Object.prototype.hasOwnProperty||function(e){return e in this};function W(e,t){return z.call(e,t)}function H(e){return y.call(e)}function G(e,t){if(e.indexOf)return e.indexOf(t);for(var r=0,o=e.length;r<o;r++)if(e[r]===t)return r;return-1}function K(e,t){if(e.length>t.maxStringLength){var r=e.length-t.maxStringLength,o="... "+r+" more character"+(r>1?"s":"");return K(h.call(e,0,t.maxStringLength),t)+o}var n=D[t.quoteStyle||"single"];return n.lastIndex=0,R(v.call(v.call(e,n,"\\$1"),/[\x00-\x1f]/g,J),"single",t)}function J(e){var t=e.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return r?"\\"+r:"\\x"+(t<16?"0":"")+b.call(t.toString(16))}function X(e){return"Object("+e+")"}function Z(e){return e+" { ? }"}function Y(e,t,r,o){return e+" ("+t+") {"+(o?ee(r,o):C.call(r,", "))+"}"}function ee(e,t){if(0===e.length)return"";var r="\n"+t.prev+t.base;return r+C.call(e,","+r)+"\n"+t.prev}function te(e,t){var r=q(e),o=[];if(r){o.length=e.length;for(var n=0;n<e.length;n++)o[n]=W(e,n)?t(e[n],e):""}var a,i="function"==typeof P?P(e):[];if(O){a={};for(var l=0;l<i.length;l++)a["$"+i[l]]=i[l]}for(var s in e)W(e,s)&&(r&&String(Number(s))===s&&s<e.length||O&&a["$"+s]instanceof Symbol||(S.call(/[^\w$]/,s)?o.push(t(s,e)+": "+t(e[s],e)):o.push(s+": "+t(e[s],e))));if("function"==typeof P)for(var p=0;p<i.length;p++)M.call(e,i[p])&&o.push("["+t(i[p])+"]: "+t(e[i[p]],e));return o}}),Xe=i((e,t)=>{var r=Je(),o=Ge(),n=function(e,t,r){for(var o,n=e;null!=(o=n.next);n=o)if(o.key===t)return n.next=o.next,r||(o.next=e.next,e.next=o),o};t.exports=function(){var e,t={assert:function(e){if(!t.has(e))throw new o("Side channel does not contain "+r(e))},delete:function(t){var r=function(e,t){if(e)return n(e,t,!0)}(e,t);return r&&e&&!e.next&&(e=void 0),!!r},get:function(t){return function(e,t){if(e){var r=n(e,t);return r&&r.value}}(e,t)},has:function(t){return function(e,t){return!!e&&!!n(e,t)}(e,t)},set:function(t,r){e||(e={next:void 0}),function(e,t,r){var o=n(e,t);o?o.value=r:e.next={key:t,next:e.next,value:r}}(e,t,r)}};return t}}),Ze=i((e,t)=>{t.exports=Object}),Ye=i((e,t)=>{t.exports=Error}),et=i((e,t)=>{t.exports=EvalError}),tt=i((e,t)=>{t.exports=RangeError}),rt=i((e,t)=>{t.exports=ReferenceError}),ot=i((e,t)=>{t.exports=SyntaxError}),nt=i((e,t)=>{t.exports=URIError}),at=i((e,t)=>{t.exports=Math.abs}),it=i((e,t)=>{t.exports=Math.floor}),lt=i((e,t)=>{t.exports=Math.max}),st=i((e,t)=>{t.exports=Math.min}),pt=i((e,t)=>{t.exports=Math.pow}),ut=i((e,t)=>{t.exports=Math.round}),ct=i((e,t)=>{t.exports=Number.isNaN||function(e){return e!=e}}),dt=i((e,t)=>{var r=ct();t.exports=function(e){return r(e)||0===e?e:e<0?-1:1}}),ft=i((e,t)=>{t.exports=Object.getOwnPropertyDescriptor}),yt=i((e,t)=>{var r=ft();if(r)try{r([],"length")}catch(Ie){r=null}t.exports=r}),mt=i((e,t)=>{var r=Object.defineProperty||!1;if(r)try{r({},"a",{value:1})}catch(Ie){r=!1}t.exports=r}),gt=i((e,t)=>{t.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),r=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(var o in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var n=Object.getOwnPropertySymbols(e);if(1!==n.length||n[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var a=Object.getOwnPropertyDescriptor(e,t);if(42!==a.value||!0!==a.enumerable)return!1}return!0}}),ht=i((e,t)=>{var r="undefined"!=typeof Symbol&&Symbol,o=gt();t.exports=function(){return"function"==typeof r&&("function"==typeof Symbol&&("symbol"==typeof r("foo")&&("symbol"==typeof Symbol("bar")&&o())))}}),vt=i((e,t)=>{t.exports="undefined"!=typeof Reflect&&Reflect.getPrototypeOf||null}),bt=i((e,t)=>{var r=Ze();t.exports=r.getPrototypeOf||null}),wt=i((e,t)=>{var r=Object.prototype.toString,o=Math.max,n=function(e,t){for(var r=[],o=0;o<e.length;o+=1)r[o]=e[o];for(var n=0;n<t.length;n+=1)r[n+e.length]=t[n];return r};t.exports=function(e){var t=this;if("function"!=typeof t||"[object Function]"!==r.apply(t))throw new TypeError("Function.prototype.bind called on incompatible "+t);for(var a,i=function(e,t){for(var r=[],o=t||0,n=0;o<e.length;o+=1,n+=1)r[n]=e[o];return r}(arguments,1),l=o(0,t.length-i.length),s=[],p=0;p<l;p++)s[p]="$"+p;if(a=Function("binder","return function ("+function(e,t){for(var r="",o=0;o<e.length;o+=1)r+=e[o],o+1<e.length&&(r+=t);return r}(s,",")+"){ return binder.apply(this,arguments); }")(function(){if(this instanceof a){var r=t.apply(this,n(i,arguments));return Object(r)===r?r:this}return t.apply(e,n(i,arguments))}),t.prototype){var u=function(){};u.prototype=t.prototype,a.prototype=new u,u.prototype=null}return a}}),St=i((e,t)=>{var r=wt();t.exports=Function.prototype.bind||r}),xt=i((e,t)=>{t.exports=Function.prototype.call}),Ct=i((e,t)=>{t.exports=Function.prototype.apply}),At=i((e,t)=>{t.exports="undefined"!=typeof Reflect&&Reflect&&Reflect.apply}),kt=i((e,t)=>{var r=St(),o=Ct(),n=xt(),a=At();t.exports=a||r.call(n,o)}),Bt=i((e,t)=>{var r=St(),o=Ge(),n=xt(),a=kt();t.exports=function(e){if(e.length<1||"function"!=typeof e[0])throw new o("a function is required");return a(r,n,e)}}),Pt=i((e,t)=>{var r,o=Bt(),n=yt();try{r=[].__proto__===Array.prototype}catch(Ie){if(!Ie||"object"!=typeof Ie||!("code"in Ie)||"ERR_PROTO_ACCESS"!==Ie.code)throw Ie}var a=!!r&&n&&n(Object.prototype,"__proto__"),i=Object,l=i.getPrototypeOf;t.exports=a&&"function"==typeof a.get?o([a.get]):"function"==typeof l&&function(e){return l(null==e?e:i(e))}}),_t=i((e,t)=>{var r=vt(),o=bt(),n=Pt();t.exports=r?function(e){return r(e)}:o?function(e){if(!e||"object"!=typeof e&&"function"!=typeof e)throw new TypeError("getProto: not an object");return o(e)}:n?function(e){return n(e)}:null}),Ot=i((e,t)=>{var r=Function.prototype.call,o=Object.prototype.hasOwnProperty,n=St();t.exports=n.call(r,o)}),$t=i((e,t)=>{var r,o=Ze(),n=Ye(),a=et(),i=tt(),l=rt(),s=ot(),p=Ge(),u=nt(),c=at(),d=it(),f=lt(),y=st(),m=pt(),g=ut(),h=dt(),v=Function,b=function(e){try{return v('"use strict"; return ('+e+").constructor;")()}catch(Ie){}},w=yt(),S=mt(),x=function(){throw new p},C=w?function(){try{return x}catch(e){try{return w(arguments,"callee").get}catch(t){return x}}}():x,A=ht()(),k=_t(),B=bt(),P=vt(),_=Ct(),O=xt(),$={},M="undefined"!=typeof Uint8Array&&k?k(Uint8Array):r,E={__proto__:null,"%AggregateError%":"undefined"==typeof AggregateError?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?r:ArrayBuffer,"%ArrayIteratorPrototype%":A&&k?k([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":$,"%AsyncGenerator%":$,"%AsyncGeneratorFunction%":$,"%AsyncIteratorPrototype%":$,"%Atomics%":"undefined"==typeof Atomics?r:Atomics,"%BigInt%":"undefined"==typeof BigInt?r:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?r:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?r:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":n,"%eval%":eval,"%EvalError%":a,"%Float16Array%":"undefined"==typeof Float16Array?r:Float16Array,"%Float32Array%":"undefined"==typeof Float32Array?r:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?r:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?r:FinalizationRegistry,"%Function%":v,"%GeneratorFunction%":$,"%Int8Array%":"undefined"==typeof Int8Array?r:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?r:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":A&&k?k(k([][Symbol.iterator]())):r,"%JSON%":"object"==typeof JSON?JSON:r,"%Map%":"undefined"==typeof Map?r:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&A&&k?k((new Map)[Symbol.iterator]()):r,"%Math%":Math,"%Number%":Number,"%Object%":o,"%Object.getOwnPropertyDescriptor%":w,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?r:Promise,"%Proxy%":"undefined"==typeof Proxy?r:Proxy,"%RangeError%":i,"%ReferenceError%":l,"%Reflect%":"undefined"==typeof Reflect?r:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?r:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&A&&k?k((new Set)[Symbol.iterator]()):r,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":A&&k?k(""[Symbol.iterator]()):r,"%Symbol%":A?Symbol:r,"%SyntaxError%":s,"%ThrowTypeError%":C,"%TypedArray%":M,"%TypeError%":p,"%Uint8Array%":"undefined"==typeof Uint8Array?r:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?r:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?r:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?r:Uint32Array,"%URIError%":u,"%WeakMap%":"undefined"==typeof WeakMap?r:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?r:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?r:WeakSet,"%Function.prototype.call%":O,"%Function.prototype.apply%":_,"%Object.defineProperty%":S,"%Object.getPrototypeOf%":B,"%Math.abs%":c,"%Math.floor%":d,"%Math.max%":f,"%Math.min%":y,"%Math.pow%":m,"%Math.round%":g,"%Math.sign%":h,"%Reflect.getPrototypeOf%":P};if(k)try{null.error}catch(Ie){E["%Error.prototype%"]=k(k(Ie))}var j=function e(t){var r;if("%AsyncFunction%"===t)r=b("async function () {}");else if("%GeneratorFunction%"===t)r=b("function* () {}");else if("%AsyncGeneratorFunction%"===t)r=b("async function* () {}");else if("%AsyncGenerator%"===t){var o=e("%AsyncGeneratorFunction%");o&&(r=o.prototype)}else if("%AsyncIteratorPrototype%"===t){var n=e("%AsyncGenerator%");n&&k&&(r=k(n.prototype))}return E[t]=r,r},I={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},N=St(),T=Ot(),F=N.call(O,Array.prototype.concat),D=N.call(_,Array.prototype.splice),R=N.call(O,String.prototype.replace),L=N.call(O,String.prototype.slice),V=N.call(O,RegExp.prototype.exec),q=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,U=/\\(\\)?/g,Q=function(e,t){var r,o=e;if(T(I,o)&&(o="%"+(r=I[o])[0]+"%"),T(E,o)){var n=E[o];if(n===$&&(n=j(o)),void 0===n&&!t)throw new p("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:r,name:o,value:n}}throw new s("intrinsic "+e+" does not exist!")};t.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new p("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new p('"allowMissing" argument must be a boolean');if(null===V(/^%?[^%]*%?$/,e))throw new s("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var r=function(e){var t=L(e,0,1),r=L(e,-1);if("%"===t&&"%"!==r)throw new s("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==t)throw new s("invalid intrinsic syntax, expected opening `%`");var o=[];return R(e,q,function(e,t,r,n){o[o.length]=r?R(n,U,"$1"):t||e}),o}(e),o=r.length>0?r[0]:"",n=Q("%"+o+"%",t),a=n.name,i=n.value,l=!1,u=n.alias;u&&(o=u[0],D(r,F([0,1],u)));for(var c=1,d=!0;c<r.length;c+=1){var f=r[c],y=L(f,0,1),m=L(f,-1);if(('"'===y||"'"===y||"`"===y||'"'===m||"'"===m||"`"===m)&&y!==m)throw new s("property names with quotes must have matching quotes");if("constructor"!==f&&d||(l=!0),T(E,a="%"+(o+="."+f)+"%"))i=E[a];else if(null!=i){if(!(f in i)){if(!t)throw new p("base intrinsic for "+e+" exists, but the property is not available.");return}if(w&&c+1>=r.length){var g=w(i,f);i=(d=!!g)&&"get"in g&&!("originalValue"in g.get)?g.get:i[f]}else d=T(i,f),i=i[f];d&&!l&&(E[a]=i)}}return i}}),Mt=i((e,t)=>{var r=$t(),o=Bt(),n=o([r("%String.prototype.indexOf%")]);t.exports=function(e,t){var a=r(e,!!t);return"function"==typeof a&&n(e,".prototype.")>-1?o([a]):a}}),Et=i((e,t)=>{var r=$t(),o=Mt(),n=Je(),a=Ge(),i=r("%Map%",!0),l=o("Map.prototype.get",!0),s=o("Map.prototype.set",!0),p=o("Map.prototype.has",!0),u=o("Map.prototype.delete",!0),c=o("Map.prototype.size",!0);t.exports=!!i&&function(){var e,t={assert:function(e){if(!t.has(e))throw new a("Side channel does not contain "+n(e))},delete:function(t){if(e){var r=u(e,t);return 0===c(e)&&(e=void 0),r}return!1},get:function(t){if(e)return l(e,t)},has:function(t){return!!e&&p(e,t)},set:function(t,r){e||(e=new i),s(e,t,r)}};return t}}),jt=i((e,t)=>{var r=$t(),o=Mt(),n=Je(),a=Et(),i=Ge(),l=r("%WeakMap%",!0),s=o("WeakMap.prototype.get",!0),p=o("WeakMap.prototype.set",!0),u=o("WeakMap.prototype.has",!0),c=o("WeakMap.prototype.delete",!0);t.exports=l?function(){var e,t,r={assert:function(e){if(!r.has(e))throw new i("Side channel does not contain "+n(e))},delete:function(r){if(l&&r&&("object"==typeof r||"function"==typeof r)){if(e)return c(e,r)}else if(a&&t)return t.delete(r);return!1},get:function(r){return l&&r&&("object"==typeof r||"function"==typeof r)&&e?s(e,r):t&&t.get(r)},has:function(r){return l&&r&&("object"==typeof r||"function"==typeof r)&&e?u(e,r):!!t&&t.has(r)},set:function(r,o){l&&r&&("object"==typeof r||"function"==typeof r)?(e||(e=new l),p(e,r,o)):a&&(t||(t=a()),t.set(r,o))}};return r}:a}),It=i((e,t)=>{var r=Ge(),o=Je(),n=Xe(),a=Et(),i=jt()||a||n;t.exports=function(){var e,t={assert:function(e){if(!t.has(e))throw new r("Side channel does not contain "+o(e))},delete:function(t){return!!e&&e.delete(t)},get:function(t){return e&&e.get(t)},has:function(t){return!!e&&e.has(t)},set:function(t,r){e||(e=i()),e.set(t,r)}};return t}}),Nt=i((e,t)=>{var r=String.prototype.replace,o=/%20/g,n="RFC1738",a="RFC3986";t.exports={default:a,formatters:{RFC1738:function(e){return r.call(e,o,"+")},RFC3986:function(e){return String(e)}},RFC1738:n,RFC3986:a}}),Tt=i((e,t)=>{var r=Nt(),o=It(),n=Object.prototype.hasOwnProperty,a=Array.isArray,i=o(),l=function(e,t){return i.set(e,t),e},s=function(e){return i.has(e)},p=function(e){return i.get(e)},u=function(e,t){i.set(e,t)},c=function(){for(var e=[],t=0;t<256;++t)e[e.length]="%"+((t<16?"0":"")+t.toString(16)).toUpperCase();return e}(),d=function(e,t){for(var r=t&&t.plainObjects?{__proto__:null}:{},o=0;o<e.length;++o)void 0!==e[o]&&(r[o]=e[o]);return r},f=1024;t.exports={arrayToObject:d,assign:function(e,t){return Object.keys(t).reduce(function(e,r){return e[r]=t[r],e},e)},combine:function(e,t,r,o){if(s(e)){var n=p(e)+1;return e[n]=t,u(e,n),e}var a=[].concat(e,t);return a.length>r?l(d(a,{plainObjects:o}),a.length-1):a},compact:function(e){for(var t=[{obj:{o:e},prop:"o"}],r=[],o=0;o<t.length;++o)for(var n=t[o],i=n.obj[n.prop],l=Object.keys(i),s=0;s<l.length;++s){var p=l[s],u=i[p];"object"==typeof u&&null!==u&&-1===r.indexOf(u)&&(t[t.length]={obj:i,prop:p},r[r.length]=u)}return function(e){for(;e.length>1;){var t=e.pop(),r=t.obj[t.prop];if(a(r)){for(var o=[],n=0;n<r.length;++n)void 0!==r[n]&&(o[o.length]=r[n]);t.obj[t.prop]=o}}}(t),e},decode:function(e,t,r){var o=e.replace(/\+/g," ");if("iso-8859-1"===r)return o.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(o)}catch(Ie){return o}},encode:function(e,t,o,n,a){if(0===e.length)return e;var i=e;if("symbol"==typeof e?i=Symbol.prototype.toString.call(e):"string"!=typeof e&&(i=String(e)),"iso-8859-1"===o)return escape(i).replace(/%u[0-9a-f]{4}/gi,function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"});for(var l="",s=0;s<i.length;s+=f){for(var p=i.length>=f?i.slice(s,s+f):i,u=[],d=0;d<p.length;++d){var y=p.charCodeAt(d);45===y||46===y||95===y||126===y||y>=48&&y<=57||y>=65&&y<=90||y>=97&&y<=122||a===r.RFC1738&&(40===y||41===y)?u[u.length]=p.charAt(d):y<128?u[u.length]=c[y]:y<2048?u[u.length]=c[192|y>>6]+c[128|63&y]:y<55296||y>=57344?u[u.length]=c[224|y>>12]+c[128|y>>6&63]+c[128|63&y]:(d+=1,y=65536+((1023&y)<<10|1023&p.charCodeAt(d)),u[u.length]=c[240|y>>18]+c[128|y>>12&63]+c[128|y>>6&63]+c[128|63&y])}l+=u.join("")}return l},isBuffer:function(e){return!(!e||"object"!=typeof e)&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},isOverflow:s,isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},markOverflow:l,maybeMap:function(e,t){if(a(e)){for(var r=[],o=0;o<e.length;o+=1)r[r.length]=t(e[o]);return r}return t(e)},merge:function e(t,r,o){if(!r)return t;if("object"!=typeof r&&"function"!=typeof r){if(a(t)){var i=t.length;if(o&&"number"==typeof o.arrayLimit&&i>o.arrayLimit)return l(d(t.concat(r),o),i);t[i]=r}else{if(!t||"object"!=typeof t)return[t,r];if(s(t)){var c=p(t)+1;t[c]=r,u(t,c)}else{if(o&&o.strictMerge)return[t,r];(o&&(o.plainObjects||o.allowPrototypes)||!n.call(Object.prototype,r))&&(t[r]=!0)}}return t}if(!t||"object"!=typeof t){if(s(r)){for(var f=Object.keys(r),y=o&&o.plainObjects?{__proto__:null,0:t}:{0:t},m=0;m<f.length;m++){y[parseInt(f[m],10)+1]=r[f[m]]}return l(y,p(r)+1)}var g=[t].concat(r);return o&&"number"==typeof o.arrayLimit&&g.length>o.arrayLimit?l(d(g,o),g.length-1):g}var h=t;return a(t)&&!a(r)&&(h=d(t,o)),a(t)&&a(r)?(r.forEach(function(r,a){if(n.call(t,a)){var i=t[a];i&&"object"==typeof i&&r&&"object"==typeof r?t[a]=e(i,r,o):t[t.length]=r}else t[a]=r}),t):Object.keys(r).reduce(function(t,a){var i=r[a];if(n.call(t,a)?t[a]=e(t[a],i,o):t[a]=i,s(r)&&!s(t)&&l(t,p(r)),s(t)){var c=parseInt(a,10);String(c)===a&&c>=0&&c>p(t)&&u(t,c)}return t},h)}}}),Ft=i((e,t)=>{var r=It(),o=Tt(),n=Nt(),a=Object.prototype.hasOwnProperty,i={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},l=Array.isArray,s=Array.prototype.push,p=function(e,t){s.apply(e,l(t)?t:[t])},u=Date.prototype.toISOString,c=n.default,d={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,commaRoundTrip:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:o.encode,encodeValuesOnly:!1,filter:void 0,format:c,formatter:n.formatters[c],indices:!1,serializeDate:function(e){return u.call(e)},skipNulls:!1,strictNullHandling:!1},f={},y=function e(t,n,a,i,s,u,c,y,m,g,h,v,b,w,S,x,C,A){for(var k,B=t,P=A,_=0,O=!1;void 0!==(P=P.get(f))&&!O;){var $=P.get(t);if(_+=1,void 0!==$){if($===_)throw new RangeError("Cyclic object value");O=!0}void 0===P.get(f)&&(_=0)}if("function"==typeof g?B=g(n,B):B instanceof Date?B=b(B):"comma"===a&&l(B)&&(B=o.maybeMap(B,function(e){return e instanceof Date?b(e):e})),null===B){if(u)return S(m&&!x?m(n,d.encoder,C,"key",w):n);B=""}if("string"==typeof(k=B)||"number"==typeof k||"boolean"==typeof k||"symbol"==typeof k||"bigint"==typeof k||o.isBuffer(B))return m?[S(x?n:m(n,d.encoder,C,"key",w))+"="+S(m(B,d.encoder,C,"value",w))]:[S(n)+"="+S(String(B))];var M,E=[];if(void 0===B)return E;if("comma"===a&&l(B))x&&m&&(B=o.maybeMap(B,function(e){return null==e?e:m(e)})),M=[{value:B.length>0?B.join(",")||null:void 0}];else if(l(g))M=g;else{var j=Object.keys(B);M=h?j.sort(h):j}var I=y?String(n).replace(/\./g,"%2E"):String(n),N=i&&l(B)&&1===B.length?I+"[]":I;if(s&&l(B)&&0===B.length)return N+"[]";for(var T=0;T<M.length;++T){var F=M[T],D="object"==typeof F&&F&&void 0!==F.value?F.value:B[F];if(!c||null!==D){var R=v&&y?String(F).replace(/\./g,"%2E"):String(F),L=l(B)?"function"==typeof a?a(N,R):N:N+(v?"."+R:"["+R+"]");A.set(t,_);var V=r();V.set(f,A),p(E,e(D,L,a,i,s,u,c,y,"comma"===a&&x&&l(B)?null:m,g,h,v,b,w,S,x,C,V))}}return E};t.exports=function(e,t){var o,s=e,u=function(e){if(!e)return d;if(void 0!==e.allowEmptyArrays&&"boolean"!=typeof e.allowEmptyArrays)throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(void 0!==e.encodeDotInKeys&&"boolean"!=typeof e.encodeDotInKeys)throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(null!==e.encoder&&void 0!==e.encoder&&"function"!=typeof e.encoder)throw new TypeError("Encoder has to be a function.");var t=e.charset||d.charset;if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var r=n.default;if(void 0!==e.format){if(!a.call(n.formatters,e.format))throw new TypeError("Unknown format option provided.");r=e.format}var o,s=n.formatters[r],p=d.filter;if(("function"==typeof e.filter||l(e.filter))&&(p=e.filter),o=e.arrayFormat in i?e.arrayFormat:"indices"in e?e.indices?"indices":"repeat":d.arrayFormat,"commaRoundTrip"in e&&"boolean"!=typeof e.commaRoundTrip)throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var u=void 0===e.allowDots?!0===e.encodeDotInKeys||d.allowDots:!!e.allowDots;return{addQueryPrefix:"boolean"==typeof e.addQueryPrefix?e.addQueryPrefix:d.addQueryPrefix,allowDots:u,allowEmptyArrays:"boolean"==typeof e.allowEmptyArrays?!!e.allowEmptyArrays:d.allowEmptyArrays,arrayFormat:o,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:d.charsetSentinel,commaRoundTrip:!!e.commaRoundTrip,delimiter:void 0===e.delimiter?d.delimiter:e.delimiter,encode:"boolean"==typeof e.encode?e.encode:d.encode,encodeDotInKeys:"boolean"==typeof e.encodeDotInKeys?e.encodeDotInKeys:d.encodeDotInKeys,encoder:"function"==typeof e.encoder?e.encoder:d.encoder,encodeValuesOnly:"boolean"==typeof e.encodeValuesOnly?e.encodeValuesOnly:d.encodeValuesOnly,filter:p,format:r,formatter:s,serializeDate:"function"==typeof e.serializeDate?e.serializeDate:d.serializeDate,skipNulls:"boolean"==typeof e.skipNulls?e.skipNulls:d.skipNulls,sort:"function"==typeof e.sort?e.sort:null,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:d.strictNullHandling}}(t);"function"==typeof u.filter?s=(0,u.filter)("",s):l(u.filter)&&(o=u.filter);var c=[];if("object"!=typeof s||null===s)return"";var f=i[u.arrayFormat],m="comma"===f&&u.commaRoundTrip;o||(o=Object.keys(s)),u.sort&&o.sort(u.sort);for(var g=r(),h=0;h<o.length;++h){var v=o[h];if(null!=v){var b=s[v];u.skipNulls&&null===b||p(c,y(b,v,f,m,u.allowEmptyArrays,u.strictNullHandling,u.skipNulls,u.encodeDotInKeys,u.encode?u.encoder:null,u.filter,u.sort,u.allowDots,u.serializeDate,u.format,u.formatter,u.encodeValuesOnly,u.charset,g))}}var w=c.join(u.delimiter),S=!0===u.addQueryPrefix?"?":"";return u.charsetSentinel&&("iso-8859-1"===u.charset?S+="utf8=%26%2310003%3B"+u.delimiter:S+="utf8=%E2%9C%93"+u.delimiter),w.length>0?S+w:""}}),Dt=i((e,t)=>{var r=Tt(),o=Object.prototype.hasOwnProperty,n=Array.isArray,a={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:r.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictDepth:!1,strictMerge:!0,strictNullHandling:!1,throwOnLimitExceeded:!1},i=function(e){return e.replace(/&#(\d+);/g,function(e,t){return String.fromCharCode(parseInt(t,10))})},l=function(e,t,r){if(e&&"string"==typeof e&&t.comma&&e.indexOf(",")>-1)return e.split(",");if(t.throwOnLimitExceeded&&r>=t.arrayLimit)throw new RangeError("Array limit exceeded. Only "+t.arrayLimit+" element"+(1===t.arrayLimit?"":"s")+" allowed in an array.");return e},s=function(e,t,n,a){if(e){var i=function(e,t){var r=t.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e;if(t.depth<=0){if(!t.plainObjects&&o.call(Object.prototype,r)&&!t.allowPrototypes)return;return[r]}var n=[],a=r.indexOf("["),i=a>=0?r.slice(0,a):r;if(i){if(!t.plainObjects&&o.call(Object.prototype,i)&&!t.allowPrototypes)return;n[n.length]=i}for(var l=r.length,s=a,p=0;s>=0&&p<t.depth;){for(var u=1,c=s+1,d=-1;c<l&&d<0;){var f=r.charCodeAt(c);91===f?u+=1:93===f&&0==(u-=1)&&(d=c),c+=1}if(d<0)return n[n.length]="["+r.slice(s)+"]",n;var y=r.slice(s,d+1),m=y.slice(1,-1);if(!t.plainObjects&&o.call(Object.prototype,m)&&!t.allowPrototypes)return;n[n.length]=y,p+=1,s=r.indexOf("[",d+1)}if(s>=0){if(!0===t.strictDepth)throw new RangeError("Input depth exceeded depth option of "+t.depth+" and strictDepth is true");n[n.length]="["+r.slice(s)+"]"}return n}(e,n);if(i)return function(e,t,o,n){var a=0;if(e.length>0&&"[]"===e[e.length-1]){var i=e.slice(0,-1).join("");a=Array.isArray(t)&&t[i]?t[i].length:0}for(var s=n?t:l(t,o,a),p=e.length-1;p>=0;--p){var u,c=e[p];if("[]"===c&&o.parseArrays)u=r.isOverflow(s)?s:o.allowEmptyArrays&&(""===s||o.strictNullHandling&&null===s)?[]:r.combine([],s,o.arrayLimit,o.plainObjects);else{u=o.plainObjects?{__proto__:null}:{};var d="["===c.charAt(0)&&"]"===c.charAt(c.length-1)?c.slice(1,-1):c,f=o.decodeDotInKeys?d.replace(/%2E/g,"."):d,y=parseInt(f,10),m=!isNaN(y)&&c!==f&&String(y)===f&&y>=0&&o.parseArrays;if(o.parseArrays||""!==f)if(m&&y<o.arrayLimit)(u=[])[y]=s;else{if(m&&o.throwOnLimitExceeded)throw new RangeError("Array limit exceeded. Only "+o.arrayLimit+" element"+(1===o.arrayLimit?"":"s")+" allowed in an array.");m?(u[y]=s,r.markOverflow(u,y)):"__proto__"!==f&&(u[f]=s)}else u={0:s}}s=u}return s}(i,t,n,a)}};t.exports=function(e,t){var p=function(e){if(!e)return a;if(void 0!==e.allowEmptyArrays&&"boolean"!=typeof e.allowEmptyArrays)throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(void 0!==e.decodeDotInKeys&&"boolean"!=typeof e.decodeDotInKeys)throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(null!==e.decoder&&void 0!==e.decoder&&"function"!=typeof e.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");if(void 0!==e.throwOnLimitExceeded&&"boolean"!=typeof e.throwOnLimitExceeded)throw new TypeError("`throwOnLimitExceeded` option must be a boolean");var t=void 0===e.charset?a.charset:e.charset,o=void 0===e.duplicates?a.duplicates:e.duplicates;if("combine"!==o&&"first"!==o&&"last"!==o)throw new TypeError("The duplicates option must be either combine, first, or last");return{allowDots:void 0===e.allowDots?!0===e.decodeDotInKeys||a.allowDots:!!e.allowDots,allowEmptyArrays:"boolean"==typeof e.allowEmptyArrays?!!e.allowEmptyArrays:a.allowEmptyArrays,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:a.allowPrototypes,allowSparse:"boolean"==typeof e.allowSparse?e.allowSparse:a.allowSparse,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:a.arrayLimit,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:a.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:a.comma,decodeDotInKeys:"boolean"==typeof e.decodeDotInKeys?e.decodeDotInKeys:a.decodeDotInKeys,decoder:"function"==typeof e.decoder?e.decoder:a.decoder,delimiter:"string"==typeof e.delimiter||r.isRegExp(e.delimiter)?e.delimiter:a.delimiter,depth:"number"==typeof e.depth||!1===e.depth?+e.depth:a.depth,duplicates:o,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:a.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:a.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:a.plainObjects,strictDepth:"boolean"==typeof e.strictDepth?!!e.strictDepth:a.strictDepth,strictMerge:"boolean"==typeof e.strictMerge?!!e.strictMerge:a.strictMerge,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:a.strictNullHandling,throwOnLimitExceeded:"boolean"==typeof e.throwOnLimitExceeded&&e.throwOnLimitExceeded}}(t);if(""===e||null==e)return p.plainObjects?{__proto__:null}:{};for(var u="string"==typeof e?function(e,t){var s={__proto__:null},p=t.ignoreQueryPrefix?e.replace(/^\?/,""):e;p=p.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var u=t.parameterLimit===1/0?void 0:t.parameterLimit,c=p.split(t.delimiter,t.throwOnLimitExceeded&&void 0!==u?u+1:u);if(t.throwOnLimitExceeded&&void 0!==u&&c.length>u)throw new RangeError("Parameter limit exceeded. Only "+u+" parameter"+(1===u?"":"s")+" allowed.");var d,f=-1,y=t.charset;if(t.charsetSentinel)for(d=0;d<c.length;++d)0===c[d].indexOf("utf8=")&&("utf8=%E2%9C%93"===c[d]?y="utf-8":"utf8=%26%2310003%3B"===c[d]&&(y="iso-8859-1"),f=d,d=c.length);for(d=0;d<c.length;++d)if(d!==f){var m,g,h=c[d],v=h.indexOf("]="),b=-1===v?h.indexOf("="):v+1;if(-1===b?(m=t.decoder(h,a.decoder,y,"key"),g=t.strictNullHandling?null:""):null!==(m=t.decoder(h.slice(0,b),a.decoder,y,"key"))&&(g=r.maybeMap(l(h.slice(b+1),t,n(s[m])?s[m].length:0),function(e){return t.decoder(e,a.decoder,y,"value")})),g&&t.interpretNumericEntities&&"iso-8859-1"===y&&(g=i(String(g))),h.indexOf("[]=")>-1&&(g=n(g)?[g]:g),t.comma&&n(g)&&g.length>t.arrayLimit){if(t.throwOnLimitExceeded)throw new RangeError("Array limit exceeded. Only "+t.arrayLimit+" element"+(1===t.arrayLimit?"":"s")+" allowed in an array.");g=r.combine([],g,t.arrayLimit,t.plainObjects)}if(null!==m){var w=o.call(s,m);w&&("combine"===t.duplicates||h.indexOf("[]=")>-1)?s[m]=r.combine(s[m],g,t.arrayLimit,t.plainObjects):w&&"last"!==t.duplicates||(s[m]=g)}}return s}(e,p):e,c=p.plainObjects?{__proto__:null}:{},d=Object.keys(u),f=0;f<d.length;++f){var y=d[f],m=s(y,u[y],p,"string"==typeof e);c=r.merge(c,m,p)}return!0===p.allowSparse?c:r.compact(c)}}),Rt=s(i((e,t)=>{var r=Ft(),o=Dt(),n=Nt();t.exports={formats:n,parse:o,stringify:r}})(),1),Lt="MyTh",Vt="@mythpe/quasar-ui-qui",qt="0.5.42",Ut=Symbol.for("_MYTH_APP_"),Qt=Symbol.for("myth.global_instance"),zt="ar",Wt=e=>{if("application/json"===e.headers?.["content-type"]){const t=e?.data?.data;e._data=e?.data?.data??{},e._list=t&&Array.isArray(t)?t:[],e._message=e?.data?.message||"",e._meta=e?.data?.meta||{},e._success=Boolean(e?.data?.success),e._errors=e?.data?.errors??{}}return e},Ht=e=>{e=e||{};const t=e?.response?.status??0;401===t&&process.env.DEBUGGING&&console.log(`[${Vt}] onRejected Func Not authorized`,e),403===t&&process.env.DEBUGGING&&console.log(`[${Vt}] onRejected Func No permissions`,e);const r=e?.response?.data;return e._data=r?.data??{},e._list=[],e._message=r?.message??null,e._meta=r?.meta??null,e._success=!!r?.success,e._errors=r?.errors??{},e._message||(e._message=e.message||""),Promise.reject(e)};(0,d.createI18n)({legacy:!1,locale:"ar",messages:{}});var Gt=qt,Kt={version:Gt};exports.DEFAULT_GRID_SIZE="md",exports.DEFAULT_GRID_TYPE=h,exports.MBlock=ye,exports.MBtn=de,exports.MCol=me,exports.MColumn=he,exports.MContainer=ve,exports.MContainerInjectionKey=g,exports.MDialog=w,exports.MDialogFrame=se,exports.MGrid=ge,exports.MHelpRow=Ce,exports.MHiddenInput=fe,exports.MInnerLoading=Ae,exports.MInput=Ue,exports.MInputFieldControl=Le,exports.MInputLabel=Oe,exports.MInputWrapper=Pe,exports.MRow=ke,exports.MSarIcon=$e,exports.MSarString=Me,exports.MTooltip=be,exports.MTransition=Qe,exports.MTransitionGroup=ze,exports.MTypingString=De,exports.Stub=(e,t)=>{const r=A(e);return{async index(e){const o=r();return t().get(o,e)},async staticIndex(r){const o="Static"+(e?`/${e}`:"");return t().get(o,r)},export:async(e,o)=>t().post(r("Export"),e,o),exampleUrl:async e=>t().get(r("ExampleUrl"),e),async store(e,o){const n=r(),a=new FormData;return e&&C(a,e),t().post(n,a,o)},async show(e,o){const n=r(e);return t().get(n,o)},async staticShow(r,o){const n=`Static${e?`/${e}`:""}/${r}`;return t().get(n,o)},async update(e,o,n){const a=r(e),i=new FormData;return i.append("_method","put"),o&&C(i,o),t().post(a,i,n)},async clone(e,o,n){const a=r(`${e}/Clone`),i=new FormData;return o&&C(i,o),t().post(a,i,n)},async destroy(e,o){const n=r(e);return t().delete(n,o)},async destroyAll(e,o){const n=r("DestroyAll");return t().post(n,{ids:e||[]},o)},getUploadAttachmentsUrl:e=>r(`${e}/Attachment/Upload`),async uploadAttachments(e,o,n){const a=r(`${e}/Attachment/Upload`);return t().post(a,o,n)},async deleteAttachment(e,o,n){const a=r(`${e}/Attachment/${o}/Delete`);return t().delete(a,n)},async updateAttachment(e,o,n,a){const i=r(`${e}/Attachment/${o}/Update`);return t().post(i,n,a)}}},exports.StubUrl=A,exports.appendArray=C,exports.calculateAspectRatio=(e,t)=>{e=Number(e),t=Number(t);const r=(e,t)=>0===t?e:r(t,e%t),o=r(e,t);return[e/t,`${e/o}:${t/o}`]},exports.camelCase=q,exports.colorIsDark=e=>{const{luminosity:t}=c.colors;return t(e)<.5},exports.colorStyle=(e,t=!1)=>{if(!e)return"";let r=e;return e.startsWith("#")||"transparent"===e||(r=oe(e)),`${t?"background-color":"color"}: ${r};`},exports.convertToArabicNumbers=e=>{const t={0:"٠",1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩"};return e.toString().split("").map(e=>t[e]||e).join("")},exports.copyText=ne,exports.createMyth=e=>{e=e||{};const t={ar:"ar",en:"en-GB",...e?.mapQuasarLanguages},r=process.env.DEBUGGING,o=e.quasarLanguageFiles?.()||{},n=(0,p.ref)(e.locale||zt),a=e?.availableLocales||[n.value];a.length&&a.includes(zt)||a.push(zt),a.includes(n.value)||a.push(n.value);const i=(0,p.ref)(a),l=e=>(e=(0,p.toValue)(e),e=e?.toString?.()?.toLowerCase?.()?.slice(0,2)||n.value,i.value.includes(e)?e:zt),s=(0,p.ref)(e.apiUrl||process.env.API_URL||""),g=(0,p.ref)(c.Dark.mode??"auto"),h=(0,p.reactive)({appName:e.appName??"MyTh",dark:g,pageTitle:"",metaTags:{meta:{ogTitle:{property:"og:title",content:process.env.PRODUCT_NAME||"MyTh"},keywords:{name:"keywords",content:process.env.PRODUCT_KEYWORDS||"MyTh"},author:{name:"author",content:process.env.PRODUCT_AUTHOR||"MyTh"},description:{name:"description",content:process.env.PRODUCT_DESCRIPTION||"MyTh"},robots:{name:"robots",content:"index, follow"}},link:{icon:{type:"image/png",rel:"icon",href:process.env.PRODUCT_FAVICON||"/favicon.png"}}},theme:{...e?.theme},componentsProps:{...e?.componentsProps},apiUrl:s,locale:n,availableLocales:i}),v=e.i18nOptions||{},b=v.messages||{};delete v.messages;const w=(0,d.createI18n)({legacy:!1,locale:n.value,fallbackLocale:n.value,availableLocales:i.value,fallbackWarn:r,missingWarn:r,messages:b,...v}),S=(0,p.shallowReactive)({api:u.default.create({baseURL:s.value}),apiServices:{...e.apiServices},i18n:w,ssrContext:null}),x=(e,...t)=>{const r=(0,p.toValue)(e)??"",o=r.startsWith(":")&&r.endsWith(":"),n=r.startsWith("{'")&&r.endsWith("'}");if((o||n)&&r.length>2)return(o?r.slice(1,-1):r.slice(2,-2))??"";const a=[r,`attributes.${r}`],i=S.i18n.global.t,l=S.i18n.global.te;for(const s of a)if(l(s))return i(s,...t);return i(r,...t)},C=(e,t)=>{null==(t=(0,p.toValue)(t))?delete S.api.defaults.headers.common[e]:S.api.defaults.headers.common[e]=t},A=async e=>{e=(0,p.toValue)(e);const r=l(e);if(r===(l(c.Lang.props?.isoName)||n.value))return;const a=e=>`../../node_modules/quasar/lang/${e}.js`;try{let n=o[a(e)]??o[a(r)]??o[a(t[e])]??o[a(t[r])];n&&("function"==typeof n&&(n=await n(),n=n.default||n),process.env.SERVER&&S.ssrContext?c.Lang.set(n,S.ssrContext):c.Lang.set(n)),process.env.CLIENT&&document?.querySelector?.("html")?.setAttribute("lang",r)}catch(Ie){console.error("setQuasarLocale",Ie)}},k=e=>{e=(0,p.toValue)(e),(0,m.setLocale)(e)},B=e=>{C("X-App-Locale",e)},P={setAppName:e=>{e=(0,p.toValue)(e),h.appName=e||""},setPageTitle:e=>{e=(0,p.toValue)(e),h.pageTitle=e??""},setDark:e=>{e=(0,p.toValue)(e)??"auto",c.Dark.set(e),h.dark!==e&&(h.dark=e)},toggleDark:()=>{c.Dark.toggle();const e=(0,p.toValue)(c.Dark.isActive);h.dark!==e&&(h.dark=e)},initApiConfig:e=>{const t=(0,p.toValue)(e?.apiUrl);if(t&&(h.apiUrl=t,S.api.defaults.baseURL=t),S.api.interceptors.response.use(Wt,Ht),S.api.interceptors.request.use(e=>(C("X-App-Locale",n.value),e)),S.api.defaults.paramsSerializer=e=>Rt.default.stringify(e,{arrayFormat:"indices",encoder:e=>!0===e||"true"===e?1:!1===e||"false"===e?0:e}),S.api.defaults.headers.common.Accept="application/json",C("X-Requested-With","XMLHttpRequest"),C("X-App","MyTh"),C("X-App-Mode",process.env.MODE||"None"),C("X-App-Version",process.env.VERSION||"1.0.0"),C("X-App-Build",process.env.BUILD||"1"),e?.headers)for(const r in e?.headers)C(r,e?.headers[r])},loadApiFiles:async e=>{let t={};for(const r in e){const o=r.substring(r.lastIndexOf("/")+1,r.lastIndexOf("."));let n=e[r];if("function"==typeof n&&(n=await n()),"index"===o){t=n.default||n;break}t[o]=n.default||n}S.apiServices=t},setMetaTags:async e=>{e=(0,p.toValue)(e),Object.assign(h.metaTags,e)},setTheme:e=>{h.theme=(0,p.toValue)(e)},setApiUrl:e=>{e=(0,p.toValue)(e),h.apiUrl=e,S.api.defaults.baseURL=e},setApiServices:e=>{S.apiServices=(0,p.toValue)(e)},setComponentsProps:e=>{h.componentsProps=(0,p.toValue)(e)},setComponentProps:(e,t)=>{const r=(0,p.toValue)(e);h.componentsProps[r]??={},Object.assign(h.componentsProps[r],(0,p.toValue)(t))},setLocale:async e=>{e=(0,p.toValue)(e),S.i18n.global.locale.value!==e&&(S.i18n.global.locale.value=e,k(e)),B(e),A(e).then(()=>{h.locale!==e&&setTimeout(()=>{h.locale=e},90)}).catch(e=>{process.env.DEBUGGING&&console.error("Error setting locale:",e)})},apiService:e=>{const t=(0,p.toValue)(e).split(".");let r=S.apiServices;for(const o of t)r=r?.[o];return r},setQuasarLocale:A,setVeeLocale:k,setI18nLocale:e=>{e=(0,p.toValue)(e),S.i18n.global.locale.value=e},setApiHeader:C,setApiBearerToken:e=>{(e=(0,p.toValue)(e))?S.api.defaults.headers.common.Authorization=`Bearer ${e}`:delete S.api.defaults.headers.common.Authorization},setApiLanguage:B,__:x,getPageTitle:(e,t)=>{const r=(0,p.toValue)(e)||"";if(!r)return"";t??=2;const o=Z(r),n=U(r),a=z(r),i=q(r),l=Q(r),s=X(r),u=O([r,o,n,a,i,l,s,U(s),z(s),q(s),Q(s)]),c=O(["routes","attributes"]),d=S.i18n.global.te;for(const p of c)for(const e of u)if(d(`${p}.${e}`))return x(`${p}.${e}`,t);return x(r)}};e.bootApiFiles&&(async e=>{await P.loadApiFiles(e).catch(e=>console.error(`[${Lt}]: Error loading API files:`,e))})(e.bootApiFiles());const _=(0,p.ref)(!1),$={get version(){return qt},get name(){return Vt},shallowConfig:S,conf:h,installed:_,...P,make(e){return{...this,...e}}},E=$.make();return globalThis[Qt]=$.make(),$.make({install:async(t,r)=>{if(_.value)return void console.warn(`${Vt} is already installed. Skipping installation.`);r?.ssrContext&&(S.ssrContext=r.ssrContext),t.use(S.i18n),[...Object.entries(y.all)].forEach(([e,t])=>(0,f.defineRule)(e,t)),(0,f.configure)({bails:!0,generateMessage:(0,m.localize)({ar:b.ar?.validation||{},en:b.en?.validation||{}}),...e.veeValidateConfig}),P.initApiConfig({headers:e.apiHeaders}),t.provide(Ut,E),t.config.globalProperties.$myth=E,Object.entries(We).forEach(([e,r])=>{"default"!==e&&r&&void 0===t.component(e)&&t.component(e,r)});const o=t.config.globalProperties;if(o?.$q){const e=o.$q.iconMapFn;o.$q.iconMapFn=t=>{if(t.startsWith("myth-")){const e=q(t.slice(5));if(e&&e in M&&M[e])return{icon:M[e]}}if("function"==typeof e)return e(t)}}_.value=!0},shallowConfig:S,conf:h})},exports.darkenColor=S,exports.default=Kt,exports.detectWebPlatform=()=>{let e=navigator.userAgent||navigator.vendor;return e=e?e.toLowerCase():"",/ipad|iphone|ipod/g.test(e)?"ios":/android/i.test(e)?"android":"other"},exports.dimension=e=>{if(!e)return null;const t=e=>null!=e,r=t(e.ratio)?"string"==typeof e.ratio?parseFloat(e.ratio):e.ratio:void 0,o=t(e.height)?"string"==typeof e.height?parseFloat(e.height):e.height:void 0,n=t(e.width)?"string"==typeof e.width?parseFloat(e.width):e.width:void 0;return t(n)&&t(o)?0===o?null:n/o:t(r)&&t(o)?r*o:t(r)&&t(n)?0===r?null:n/r:null},exports.downloadFromResponse=(e,t)=>new Promise((r,o)=>{const n=e=>o(e??{status:!1,code:"unknown"}),a=e=>r({status:!0,response:e});try{if(!e)return void n({code:"no_response"});if(e?.data?.data?.url){const r=e?.data?.data?.url;if(t)return t(r,e),void a(e);const o=document.createElement("a");return o.setAttribute("href",r),o.setAttribute("target","_blank"),document.body.appendChild(o),o.click(),void a(e)}const r=(e.headers["content-disposition"]||"").split("filename=").pop().replace(/^"+|"+$/g,"");if(!r)return void n({code:"no_file_name"});const o=new Blob([e.data]),i=window.URL.createObjectURL(o),l=document.createElement("a");if(!l||!i)return void n({code:"no_file_url"});l.href=i,l.setAttribute("download",r),document.body.appendChild(l),l.click(),a(e),setTimeout(()=>{try{document.body.removeChild(l),URL.revokeObjectURL(i)}catch(Ie){console.log(Ie),Ie?.message&&alert(Ie.message)}},3e3)}catch(Ie){console.log(Ie),n(Ie)}}),exports.flipChoice=e=>{const t={};for(const r in e)if(Object.prototype.hasOwnProperty.call(e,r)){const o=e[r].split("|");o.length>=2?t[r]=[o[1],o[0]].join("|"):t[r]=e[r]}return t},exports.formatMoney=_,exports.fromArabicNumber=Y,exports.iconSet=$,exports.icons=M,exports.isElementInViewport=B,exports.isKsaMobile=e=>{if(!e)return!1;const t=Y(e).trim();return 10===t.length&&t.startsWith("05")||9===t.length&&t.startsWith("5")},exports.kebabCase=Q,exports.lightenColor=x,exports.makeUrl=e=>{if("/"===(e=e||"").slice(0,1)&&(e=e.slice(1)),window){const t=window.location;return`${t.protocol}//${t.host}/${e}`}return`//${e}`},exports.mythInjectionKey=Ut,exports.mythPackageName=Vt,exports.mythPluginName=Lt,exports.nl2br=(e,t=!1)=>{if(!e)return"";const r=t?"<br />":"<br>";return e.toString().replace(/(\r\n|\n\r|\r|\n)/g,r)},exports.openWindow=k,exports.pascalCase=U,exports.plural=X,exports.prettyPrint=e=>JSON.stringify(e,null,3).replace(/&/g,"&amp;").replace(/\\"/g,"&quot;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/^( *)("[\w]+": )?("[^"]*"|[\w.+-]*)?([,[{])?$/gm,(e,t,r,o,n)=>{let a=t||"";return r&&(a=a+'<span class="json-key" style="color: brown">'+r.replace(/[": ]/g,"")+"</span>: "),o&&(a=a+(o.startsWith('"')?'<span class="json-string" style="color: olive">':'<span class="json-value" style="color: navy">')+o+"</span>"),a+(n||"")}),exports.scrollToBottom=async(e,t,r)=>{const{setVerticalScrollPosition:o,getScrollHeight:n}=c.scroll;e||(e=window);const a=e&&"string"==typeof e?document.querySelector(e)||window:e;o(a,r=r||n(a),t=t||600)},exports.scrollToElement=P,exports.scrollToElementFromErrors=async(e,t,r)=>{if(!e)return;const o=Object.entries(e),n=o.map(([e])=>e);let a=[];if(o.length>0&&(a=Array.from(document.body.querySelectorAll("[data-input-name].m-input__error")||[]).filter(e=>n.includes(e?.getAttribute("data-input-name")))),a.length>0)for(const i of a){const e=o.find(e=>e[0]===i.getAttribute("data-input-name"));if(e?.[1]){const t=e[0];await P(i||`[name='${t}']`,{target:r});break}}else for(const[i,l]of o)if((l&&Array.isArray(l)?l[0]:l)?.toString?.()?.length){if(t)await P(t,{target:r});else{const e=`[data-input-name='${i}']`;await P(document.querySelector(e)||`[name='${i}']`,{target:r})}break}},exports.setCss=(e,t,r)=>{if((0,c.setCssVar)(e,t,r||document.documentElement),"primary"===e){const e=x(t,50),r=S(t,10);(0,c.setCssVar)("scrollbar-track",e),(0,c.setCssVar)("scrollbar-hover",r)}},exports.shuffle=e=>{const t=[...e||[]];for(let r=t.length-1;r>0;r--){const e=Math.floor(Math.random()*(r+1));[t[r],t[e]]=[t[e],t[r]]}return t},exports.singular=Z,exports.snakeCase=z,exports.sortNumberFormatted=(e,t)=>(parseFloat(ee(e).replace(/[^\d.]/g,""))||0)-(parseFloat(ee(t).replace(/[^\d.]/g,""))||0),exports.strBefore=(e,t="_to_string")=>e?e.slice(-t.length)===t?e.slice(0,e.length-t.length):e:"",exports.toAlphaNumerals=(e,t={})=>{const{uppercase:r=!0,startFromZero:o=!1}=t,n=parseInt(e?.toString()||"0",10)||0;if(n<=0&&!o)return"";if(o&&0===n)return r?"A":"a";let a=o?n+1:n,i="";for(;a>0;){a--;const e=a%26+(r?65:97);i=String.fromCharCode(e)+i,a=Math.floor(a/26)}return i},exports.toNumber=ee,exports.toNumberFormat=(e=null,t)=>{if(null==e||""===e)return"";const r=ee(e).split("."),o=/(\d+)(\d{3})/;for(;o.test(r[0]);)r[0]=r[0].replace(o,"$1,$2");let n=r.join(".");return t&&(n=`${n} ${t}`),n},exports.ucFirst=e=>{if(!e)return"";const t=e.toString();return t.charAt(0).toUpperCase()+t.slice(1).toLowerCase()},exports.uniq=O,exports.uniqBy=(e,t)=>{const r=new Set;return e.filter(e=>{if(!e)return!1;const o=e[t];return!r.has(o)&&(r.add(o),!0)})},exports.useComponent=pe,exports.useContainer=ue,exports.useMyth=v,exports.useMythMeta=e=>{const{conf:t}=v();(0,c.useMeta)(()=>{const r=(0,p.toValue)(t).pageTitle||"",o=(0,p.toValue)(e)||{},n=(0,p.toValue)(t).appName,a=(0,p.toValue)(t).metaTags||{},{...i}=o;return{title:r,titleTemplate:e=>e?e.toLowerCase()===n.toLowerCase()?n:`${n} | ${e}`:n,...(0,c.extend)(!0,{},a,i)}})},exports.useTransition=ce,exports.veeRules=re,exports.version=Gt,exports.wordsToSingle=(e,t)=>{if(e&&"ar"===t?.toString()?.toLowerCase()){const t=e.split(" ");for(let e=0;e<t.length;e++)t[e].startsWith("ال")||(t[e]="ال"+t[e]),t[e].endsWith("ي")||(t[e]+="ي");return t.join(" ")}return e},exports.wordsWithThe=(e,t)=>{if(e&&"ar"===t?.toString()?.toLowerCase()){const t=e.split(" ");if(t[t.length-1].startsWith("ال"))return e;for(let e=0;e<t.length;e++)!t[e].startsWith("ال")&&t[e].length>0&&(t[e]="ال"+t[e]);return t.join(" ")}return e},exports.wordsWithoutThe=(e,t)=>{if(e&&"ar"===t?.toString()?.toLowerCase()){const t=e.split(" ");for(let e=0;e<t.length;e++)t[e].startsWith("ال")&&(t[e]=t[e].slice(2));return t.join(" ")}return e};