gtsoft-snail-job-server/frontend/public/lib/assets/xMenDk_H.js

22 lines
2.0 MiB
JavaScript
Raw Normal View History

var e,t,n=Object.getOwnPropertyNames,o=(e={"assets/xMenDk_H.js"(e,t){function n(e,t){const n=Object.create(null),o=e.split(",");for(let r=0;r<o.length;r++)n[o[r]]=!0;return t?e=>!!n[e.toLowerCase()]:e=>!!n[e]}!function(){const e=document.createElement("link").relList;if(!(e&&e.supports&&e.supports("modulepreload"))){for(const e of document.querySelectorAll('link[rel="modulepreload"]'))t(e);new MutationObserver((e=>{for(const n of e)if("childList"===n.type)for(const e of n.addedNodes)"LINK"===e.tagName&&"modulepreload"===e.rel&&t(e)})).observe(document,{childList:!0,subtree:!0})}function t(e){if(e.ep)return;e.ep=!0;const t=function(e){const t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),"use-credentials"===e.crossOrigin?t.credentials="include":"anonymous"===e.crossOrigin?t.credentials="omit":t.credentials="same-origin",t}(e);fetch(e.href,t)}}();const o={},r=[],i=()=>{},l=()=>!1,a=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),s=e=>e.startsWith("onUpdate:"),c=Object.assign,u=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},d=Object.prototype.hasOwnProperty,p=(e,t)=>d.call(e,t),h=Array.isArray,f=e=>"[object Map]"===S(e),g=e=>"[object Set]"===S(e),m=e=>"function"==typeof e,v=e=>"string"==typeof e,b=e=>"symbol"==typeof e,y=e=>null!==e&&"object"==typeof e,O=e=>(y(e)||m(e))&&m(e.then)&&m(e.catch),w=Object.prototype.toString,S=e=>w.call(e),x=e=>"[object Object]"===S(e),$=e=>v(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,C=n(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),k=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},P=/-(\w)/g,T=k((e=>e.replace(P,((e,t)=>t?t.toUpperCase():"")))),M=/\B([A-Z])/g,I=k((e=>e.replace(M,"-$1").toLowerCase())),E=k((e=>e.charAt(0).toUpperCase()+e.slice(1))),A=k((e=>e?`on${E(e)}`:"")),D=(e,t)=>!Object.is(e,t),R=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},B=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},z=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let j;const N=()=>j||(j="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{});function _(e){if(h(e)){const t={};for(let n=0;n<e.length;n++){const o=e[n],r=v(o)?F(o):_(o);if(r)for(const e in r)t[e]=r[e]}return t}if(v(e)||y(e))return e}const Q=/;(?![^(]*\))/g,L=/:([^]+)/,H=/\/\*[^]*?\*\//g;function F(e){const t={};return e.replace(H,"").split(Q).forEach((e=>{if(e){const n=e.split(L);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}function W(e){let t="";if(v(e))t=e;else if(h(e))for(let n=0;n<e.length;n++){const o=W(e[n]);o&&(t+=o+" ")}else if(y(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const X=n("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function Y(e){return!!e||""===e}const V=e=>v(e)?e:null==e?"":h(e)||y(e)&&(e.toString===w||!m(e.toString))?JSON.stringify(e,Z,2):String(e),Z=(e,t)=>t&&t.__v_isRef?Z(e,t.value):f(t)?{[`Map(${t.size})`]:[...t.entries()].reduce(((e,[t,n],o)=>(e[U(t,o)+" =>"]=n,e)),{})}:g(t)?{[`Set(${t.size})`]:[...t.values()].map((e=>U(e)))}:b(t)?U(t):!y(t)||h(t)||x(t)?t:String(t),U=(e,t="")=>{var n;return b(e)?`Symbol(${null!=(n=e.description)?n:t})`:e};let K;class G{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=K,!e&&K&&(this.index=(K.scopes||(K.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const t=K;try{return K=this,e()}finally{K=t}}}on(){K=this}off(){K=this.parent}stop(e){if(this._active){let t,n;for(t=0,n=this.effects.length;t<n;t++)this.effects[t].stop();for(t=0,n=this.cleanups.length;t<n;t++)this.cleanups[t]();if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].stop(!0);if(!this.detached&&this.parent&&!e){const e=this.parent.scopes.pop();e&&e!==this&&(this.parent.scopes[this.index]=e,e.index=this.index)}this.parent=void 0,this._active=!1}}}function q(e){return new G(e)}f
/*! #__NO_SIDE_EFFECTS__ */function Nn(e,t){return m(e)?(()=>c({name:e.name},t,{setup:e}))():e}const _n=e=>!!e.type.__asyncLoader,Qn=e=>e.type.__isKeepAlive;function Ln(e,t){Fn(e,"a",t)}function Hn(e,t){Fn(e,"da",t)}function Fn(e,t,n=Ir){const o=e.__wdc||(e.__wdc=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}return e()});if(Xn(t,o,n),n){let e=n.parent;for(;e&&e.parent;)Qn(e.parent.vnode)&&Wn(o,t,n,e),e=e.parent}}function Wn(e,t,n,o){const r=Xn(t,e,o,!0);qn((()=>{u(o[t],r)}),n)}function Xn(e,t,n=Ir,o=!1){if(n){const r=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...o)=>{if(n.isUnmounted)return;fe(),Br(n);const r=Dt(t,n,e,o);return zr(),ge(),r});return o?r.unshift(i):r.push(i),i}}const Yn=e=>(t,n=Ir)=>(!Nr||"sp"===e)&&Xn(e,((...e)=>t(...e)),n),Vn=Yn("bm"),Zn=Yn("m"),Un=Yn("bu"),Kn=Yn("u"),Gn=Yn("bum"),qn=Yn("um"),Jn=Yn("sp"),eo=Yn("rtg"),to=Yn("rtc");function no(e,t=Ir){Xn("ec",e,t)}function oo(e,t,n,o){let r;const i=n&&n[o];if(h(e)||v(e)){r=new Array(e.length);for(let n=0,o=e.length;n<o;n++)r[n]=t(e[n],n,void 0,i&&i[n])}else if("number"==typeof e){r=new Array(e);for(let n=0;n<e;n++)r[n]=t(n+1,n,void 0,i&&i[n])}else if(y(e))if(e[Symbol.iterator])r=Array.from(e,((e,n)=>t(e,n,void 0,i&&i[n])));else{const n=Object.keys(e);r=new Array(n.length);for(let o=0,l=n.length;o<l;o++){const l=n[o];r[o]=t(e[l],l,o,i&&i[o])}}else r=[];return n&&(n[o]=r),r}function ro(e,t){for(let n=0;n<t.length;n++){const o=t[n];if(h(o))for(let t=0;t<o.length;t++)e[o[t].name]=o[t].fn;else o&&(e[o.name]=o.key?(...e)=>{const t=o.fn(...e);return t&&(t.key=o.key),t}:o.fn)}return e}function io(e,t,n={},o,r){if(tn.isCE||tn.parent&&_n(tn.parent)&&tn.parent.isCE)return"default"!==t&&(n.name=t),Or("slot",n,o&&o());let i=e[t];i&&i._c&&(i._d=!1),sr();const l=i&&lo(i(n)),a=hr(nr,{key:n.key||l&&l.key||`_${t}`},l||(o?o():[]),l&&1===e._?64:-2);return!r&&a.scopeId&&(a.slotScopeIds=[a.scopeId+"-s"]),i&&i._c&&(i._d=!0),a}function lo(e){return e.some((e=>!fr(e)||e.type!==rr&&!(e.type===nr&&!lo(e.children))))?e:null}const ao=e=>e?jr(e)?Hr(e)||e.proxy:ao(e.parent):null,so=c(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>ao(e.parent),$root:e=>ao(e.root),$emit:e=>e.emit,$options:e=>bo(e),$forceUpdate:e=>e.f||(e.f=()=>Xt(e.update)),$nextTick:e=>e.n||(e.n=Wt.bind(e.proxy)),$watch:e=>wn.bind(e)}),co=(e,t)=>e!==o&&!e.__isScriptSetup&&p(e,t),uo={get({_:e},t){const{ctx:n,setupState:r,data:i,props:l,accessCache:a,type:s,appContext:c}=e;let u;if("$"!==t[0]){const s=a[t];if(void 0!==s)switch(s){case 1:return r[t];case 2:return i[t];case 4:return n[t];case 3:return l[t]}else{if(co(r,t))return a[t]=1,r[t];if(i!==o&&p(i,t))return a[t]=2,i[t];if((u=e.propsOptions[0])&&p(u,t))return a[t]=3,l[t];if(n!==o&&p(n,t))return a[t]=4,n[t];fo&&(a[t]=0)}}const d=so[t];let h,f;return d?("$attrs"===t&&me(e,0,t),d(e)):(h=s.__cssModules)&&(h=h[t])?h:n!==o&&p(n,t)?(a[t]=4,n[t]):(f=c.config.globalProperties,p(f,t)?f[t]:void 0)},set({_:e},t,n){const{data:r,setupState:i,ctx:l}=e;return co(i,t)?(i[t]=n,!0):r!==o&&p(r,t)?(r[t]=n,!0):!(p(e.props,t)||"$"===t[0]&&t.slice(1)in e||(l[t]=n,0))},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:i,propsOptions:l}},a){let s;return!!n[a]||e!==o&&p(e,a)||co(t,a)||(s=l[0])&&p(s,a)||p(r,a)||p(so,a)||p(i.config.globalProperties,a)},defineProperty(e,t,n){return null!=n.get?e._.accessCache[t]=0:p(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function po(){const e=Er();return e.setupContext||(e.setupContext=Lr(e))}function ho(e){return h(e)?e.reduce(((e,t)=>(e[t]=null,e)),{}):e}let fo=!0;function go(e){const t=bo(e),n=e.proxy,o=e.ctx;fo=!1,t.beforeCreate&&mo(t.beforeCreate,e,"bc");const{data:r,computed:l,methods:a,watch:s,provide:c,inject:u,created:d,beforeMount:p,mounted:f,beforeUpdate:g,updated:v,activated:b,deactivated:O,beforeDestroy:w,beforeUnmount:S,destroyed:x,unmounted:$,render:C,renderTracked:k,renderTriggered:P,errorCaptured:T,serverPrefetch:M,expose:I,inheritAttrs:E,components:A,directives:D,filters:R}=t;if(u&&function(e,t,n=i){h(e)&
/*!
* pinia v2.1.7
* (c) 2023 Eduardo San Martin Morote
* @license MIT
*/
let Vi;const Zi=e=>Vi=e,Ui=Symbol();function Ki(e){return e&&"object"==typeof e&&"[object Object]"===Object.prototype.toString.call(e)&&"function"!=typeof e.toJSON}var Gi,qi;(qi=Gi||(Gi={})).direct="direct",qi.patchObject="patch object",qi.patchFunction="patch function";const Ji=()=>{};function el(e,t,n,o=Ji){e.push(t);const r=()=>{const n=e.indexOf(t);n>-1&&(e.splice(n,1),o())};return!n&&J()&&ee(r),r}function tl(e,...t){e.slice().forEach((e=>{e(...t)}))}const nl=e=>e();function ol(e,t){e instanceof Map&&t instanceof Map&&t.forEach(((t,n)=>e.set(n,t))),e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const o=t[n],r=e[n];Ki(r)&&Ki(o)&&e.hasOwnProperty(n)&&!vt(o)&&!at(o)?e[n]=ol(r,o):e[n]=o}return e}const rl=Symbol(),{assign:il}=Object;function ll(e,t,n={},o,r,i){let l;const a=il({actions:{}},n),s={deep:!0};let c,u,d,p=[],h=[];const f=o.state.value[e];let g;function m(t){let n;c=u=!1,"function"==typeof t?(t(o.state.value[e]),n={type:Gi.patchFunction,storeId:e,events:d}):(ol(o.state.value[e],t),n={type:Gi.patchObject,payload:t,storeId:e,events:d});const r=g=Symbol();Wt().then((()=>{g===r&&(c=!0)})),u=!0,tl(p,n,o.state.value[e])}i||f||(o.state.value[e]={}),bt({});const v=i?function(){const{state:e}=n,t=e?e():{};this.$patch((e=>{il(e,t)}))}:Ji;function b(t,n){return function(){Zi(o);const r=Array.from(arguments),i=[],l=[];let a;tl(h,{args:r,name:t,store:y,after:function(e){i.push(e)},onError:function(e){l.push(e)}});try{a=n.apply(this&&this.$id===e?this:y,r)}catch(s){throw tl(l,s),s}return a instanceof Promise?a.then((e=>(tl(i,e),e))).catch((e=>(tl(l,e),Promise.reject(e)))):(tl(i,a),a)}}const y=rt({_p:o,$id:e,$onAction:el.bind(null,h),$patch:m,$reset:v,$subscribe(t,n={}){const r=el(p,t,n.detached,(()=>i())),i=l.run((()=>yn((()=>o.state.value[e]),(o=>{("sync"===n.flush?u:c)&&t({storeId:e,type:Gi.direct,events:d},o)}),il({},s,n))));return r},$dispose:function(){l.stop(),p=[],h=[],o._s.delete(e)}});o._s.set(e,y);const O=(o._a&&o._a.runWithContext||nl)((()=>o._e.run((()=>(l=q()).run(t)))));for(const x in O){const t=O[x];if(vt(t)&&(!vt(S=t)||!S.effect)||at(t))i||(!f||Ki(w=t)&&w.hasOwnProperty(rl)||(vt(t)?t.value=f[x]:ol(t,f[x])),o.state.value[e][x]=t);else if("function"==typeof t){const e=b(x,t);O[x]=e,a.actions[x]=t}}var w,S;return il(y,O),il(dt(y),O),Object.defineProperty(y,"$state",{get:()=>o.state.value[e],set:e=>{m((t=>{il(t,e)}))}}),o._p.forEach((e=>{il(y,l.run((()=>e({store:y,app:o._a,pinia:o,options:a}))))})),f&&i&&n.hydrate&&n.hydrate(y.$state,f),c=!0,u=!0,y}function al(e){return(al="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function sl(e){var t=function(e,t){if("object"!=al(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=al(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==al(t)?t:String(t)}function cl(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function ul(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?cl(Object(n),!0).forEach((function(t){var o,r,i;o=e,r=t,i=n[t],(r=sl(r))in o?Object.defineProperty(o,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):o[r]=i})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):cl(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function dl(){return dl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},dl.apply(this,arguments)}const pl=Array.isArray,hl=e=>null!==e&&"object"==typeof e,fl=/
/**
* @license QR Code generator library (TypeScript)
* Copyright (c) Project Nayuki.
* SPDX-License-Identifier: MIT
*/
var v0,b0;!function(e){class t{static encodeText(n,o){const r=e.QrSegment.makeSegments(n);return t.encodeSegments(r,o)}static encodeBinary(n,o){const r=e.QrSegment.makeBytes(n);return t.encodeSegments([r],o)}static encodeSegments(e,o){let l,a,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,c=arguments.length>3&&void 0!==arguments[3]?arguments[3]:40,u=arguments.length>4&&void 0!==arguments[4]?arguments[4]:-1,d=!(arguments.length>5&&void 0!==arguments[5])||arguments[5];if(!(t.MIN_VERSION<=s&&s<=c&&c<=t.MAX_VERSION)||u<-1||u>7)throw new RangeError("Invalid value");for(l=s;;l++){const n=8*t.getNumDataCodewords(l,o),r=i.getTotalBits(e,l);if(r<=n){a=r;break}if(l>=c)throw new RangeError("Data too long")}for(const n of[t.Ecc.MEDIUM,t.Ecc.QUARTILE,t.Ecc.HIGH])d&&a<=8*t.getNumDataCodewords(l,n)&&(o=n);const p=[];for(const t of e){n(t.mode.modeBits,4,p),n(t.numChars,t.mode.numCharCountBits(l),p);for(const e of t.getData())p.push(e)}r(p.length==a);const h=8*t.getNumDataCodewords(l,o);r(p.length<=h),n(0,Math.min(4,h-p.length),p),n(0,(8-p.length%8)%8,p),r(p.length%8==0);for(let t=236;p.length<h;t^=253)n(t,8,p);const f=[];for(;8*f.length<p.length;)f.push(0);return p.forEach(((e,t)=>f[t>>>3]|=e<<7-(7&t))),new t(l,o,f,u)}constructor(e,n,o,i){if(this.version=e,this.errorCorrectionLevel=n,this.modules=[],this.isFunction=[],e<t.MIN_VERSION||e>t.MAX_VERSION)throw new RangeError("Version value out of range");if(i<-1||i>7)throw new RangeError("Mask value out of range");this.size=4*e+17;const l=[];for(let t=0;t<this.size;t++)l.push(!1);for(let t=0;t<this.size;t++)this.modules.push(l.slice()),this.isFunction.push(l.slice());this.drawFunctionPatterns();const a=this.addEccAndInterleave(o);if(this.drawCodewords(a),-1==i){let e=1e9;for(let t=0;t<8;t++){this.applyMask(t),this.drawFormatBits(t);const n=this.getPenaltyScore();n<e&&(i=t,e=n),this.applyMask(t)}}r(0<=i&&i<=7),this.mask=i,this.applyMask(i),this.drawFormatBits(i),this.isFunction=[]}getModule(e,t){return 0<=e&&e<this.size&&0<=t&&t<this.size&&this.modules[t][e]}getModules(){return this.modules}drawFunctionPatterns(){for(let n=0;n<this.size;n++)this.setFunctionModule(6,n,n%2==0),this.setFunctionModule(n,6,n%2==0);this.drawFinderPattern(3,3),this.drawFinderPattern(this.size-4,3),this.drawFinderPattern(3,this.size-4);const e=this.getAlignmentPatternPositions(),t=e.length;for(let n=0;n<t;n++)for(let o=0;o<t;o++)0==n&&0==o||0==n&&o==t-1||n==t-1&&0==o||this.drawAlignmentPattern(e[n],e[o]);this.drawFormatBits(0),this.drawVersion()}drawFormatBits(e){const t=this.errorCorrectionLevel.formatBits<<3|e;let n=t;for(let o=0;o<10;o++)n=n<<1^1335*(n>>>9);const i=21522^(t<<10|n);r(i>>>15==0);for(let r=0;r<=5;r++)this.setFunctionModule(8,r,o(i,r));this.setFunctionModule(8,7,o(i,6)),this.setFunctionModule(8,8,o(i,7)),this.setFunctionModule(7,8,o(i,8));for(let r=9;r<15;r++)this.setFunctionModule(14-r,8,o(i,r));for(let r=0;r<8;r++)this.setFunctionModule(this.size-1-r,8,o(i,r));for(let r=8;r<15;r++)this.setFunctionModule(8,this.size-15+r,o(i,r));this.setFunctionModule(8,this.size-8,!0)}drawVersion(){if(this.version<7)return;let e=this.version;for(let n=0;n<12;n++)e=e<<1^7973*(e>>>11);const t=this.version<<12|e;r(t>>>18==0);for(let n=0;n<18;n++){const e=o(t,n),r=this.size-11+n%3,i=Math.floor(n/3);this.setFunctionModule(r,i,e),this.setFunctionModule(i,r,e)}}drawFinderPattern(e,t){for(let n=-4;n<=4;n++)for(let o=-4;o<=4;o++){const r=Math.max(Math.abs(o),Math.abs(n)),i=e+o,l=t+n;0<=i&&i<this.size&&0<=l&&l<this.size&&this.setFunctionModule(i,l,2!=r&&4!=r)}}drawAlignmentPattern(e,t){for(let n=-2;n<=2;n++)for(let o=-2;o<=2;o++)this.setFunctionModule(e+o,t+n,1!=Math.max(Math.abs(o),Math.abs(n)))}setFunctionModule(e,t,n){this.modules[t][e]=n,this.isFunction[t][e]=!0}addEccAndInterleave(e){const n=this.version,o=this.errorCorrectionLevel;if(e.length!=t.getNumDataCodewords(n,o))throw new RangeError("Invalid argument");const i=t.NUM_ERROR_CORRECTION_BLOCKS[o.ordinal][n],l=t.ECC_CODEWORDS_PER_BLOCK[o.ordinal][n],a=Math.floor(t.getNumRawDataModules(n)/8),s=i-a%i,c=Math.floor(a/i),u=[],d=t.reedSolomonComputeDivisor(l
/*!
* is-plain-object <https://github.com/jonschlinkert/is-plain-object>
*
* Copyright (c) 2014-2017, Jon Schlinkert.
* Released under the MIT License.
*/
function x1(e){return"[object Object]"===Object.prototype.toString.call(e)}function $1(){return $1=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},$1.apply(this,arguments)}function C1(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)t.indexOf(n=i[o])>=0||(r[n]=e[n]);return r}const k1={silent:!1,logLevel:"warn"},P1=["validator"],T1=Object.prototype,M1=T1.toString,I1=T1.hasOwnProperty,E1=/^\s*function (\w+)/;function A1(e){var t;const n=null!==(t=null==e?void 0:e.type)&&void 0!==t?t:e;if(n){const e=n.toString().match(E1);return e?e[1]:""}return""}const D1=function(e){var t,n;return!1!==x1(e)&&(void 0===(t=e.constructor)||!1!==x1(n=t.prototype)&&!1!==n.hasOwnProperty("isPrototypeOf"))};let R1=e=>e;const B1=(e,t)=>I1.call(e,t),z1=Number.isInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e},j1=Array.isArray||function(e){return"[object Array]"===M1.call(e)},N1=e=>"[object Function]"===M1.call(e),_1=(e,t)=>D1(e)&&B1(e,"_vueTypes_name")&&(!t||e._vueTypes_name===t),Q1=e=>D1(e)&&(B1(e,"type")||["_vueTypes_name","validator","default","required"].some((t=>B1(e,t))));function L1(e,t){return Object.defineProperty(e.bind(t),"__original",{value:e})}function H1(e,t,n=!1){let o,r=!0,i="";o=D1(e)?e:{type:e};const l=_1(o)?o._vueTypes_name+" - ":"";if(Q1(o)&&null!==o.type){if(void 0===o.type||!0===o.type)return r;if(!o.required&&null==t)return r;j1(o.type)?(r=o.type.some((e=>!0===H1(e,t,!0))),i=o.type.map((e=>A1(e))).join(" or ")):(i=A1(o),r="Array"===i?j1(t):"Object"===i?D1(t):"String"===i||"Number"===i||"Boolean"===i||"Function"===i?function(e){if(null==e)return"";const t=e.constructor.toString().match(E1);return t?t[1].replace(/^Async/,""):""}(t)===i:t instanceof o.type)}if(!r){const e=`${l}value "${t}" should be of type "${i}"`;return!1===n?(R1(e),!1):e}if(B1(o,"validator")&&N1(o.validator)){const e=R1,i=[];if(R1=e=>{i.push(e)},r=o.validator(t),R1=e,!r){const e=(i.length>1?"* ":"")+i.join("\n* ");return i.length=0,!1===n?(R1(e),r):e}}return r}function F1(e,t){const n=Object.defineProperties(t,{_vueTypes_name:{value:e,writable:!0},isRequired:{get(){return this.required=!0,this}},def:{value(e){return void 0===e?this.type===Boolean||Array.isArray(this.type)&&this.type.includes(Boolean)?void(this.default=void 0):(B1(this,"default")&&delete this.default,this):N1(e)||!0===H1(this,e,!0)?(this.default=j1(e)?()=>[...e]:D1(e)?()=>Object.assign({},e):e,this):(R1(`${this._vueTypes_name} - invalid default value: "${e}"`),this)}}}),{validator:o}=n;return N1(o)&&(n.validator=L1(o,n)),n}function W1(e,t){const n=F1(e,t);return Object.defineProperty(n,"validate",{value(e){return N1(this.validator)&&R1(`${this._vueTypes_name} - calling .validate() will overwrite the current custom validator function. Validator info:\n${JSON.stringify(this)}`),this.validator=L1(e,this),this}})}function X1(e,t,n){const o=function(e){const t={};return Object.getOwnPropertyNames(e).forEach((n=>{t[n]=Object.getOwnPropertyDescriptor(e,n)})),Object.defineProperties({},t)}(t);if(o._vueTypes_name=e,!D1(n))return o;const{validator:r}=n,i=C1(n,P1);if(N1(r)){let{validator:e}=o;e&&(e=null!==(a=(l=e).__original)&&void 0!==a?a:l),o.validator=L1(e?function(t){return e.call(this,t)&&r.call(this,t)}:r,o)}var l,a;return Object.assign(o,i)}function Y1(e){return e.replace(/^(?!\s*$)/gm," ")}const V1=()=>W1("any",{}),Z1=()=>W1("boolean",{type:Boolean}),U1=()=>W1("string",{type:String}),K1=()=>W1("number",{type:Number}),G1=()=>W1("array",{type:Array}),q1=()=>W1("object",{type:Object});function J1(e,t="custom validation failed"){if("function"!=typeof e)throw new TypeError("[VueTypes error]: You must provide a function as argument");return F1(e.name||"<<anonymous function>>",{type:null,validator(n){const o=e(n);return o||R1(`${this._vueTypes_name} - ${t}`),o}})}function e2(e){if(!j1(e))throw new TypeError("[VueTypes error]: You must provide an array as argument.");const t=`oneOf - value should be one of "${e.