Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

vue-request

Package Overview
Dependencies
Maintainers
2
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-request - npm Package Compare versions

Comparing version 1.0.0-beta.6 to 1.0.0-beta.7

7

CHANGELOG.md

@@ -0,1 +1,8 @@

# [1.0.0-beta.6](https://github.com/attojs/vue-request/compare/v1.0.0-beta.5...v1.0.0-beta.6) (2020-12-31)
### Refactor
- add `isServer` to be compatible with node env [4f1c797](https://github.com/AttoJS/vue-request/commit/4f1c7971bed7eb45c68a1d9ae89a2134a29cd7aa)
- modify the default value of `cacheTime` to 10 minutes [a56ecb0](https://github.com/AttoJS/vue-request/commit/a56ecb012dea93996bf61a2bc4228cd7a7f98a42)
# [1.0.0-beta.5](https://github.com/attojs/vue-request/compare/v1.0.0-beta.4...v1.0.0-beta.5) (2020-12-14)

@@ -2,0 +9,0 @@

@@ -0,1 +1,8 @@

# [1.0.0-beta.6](https://github.com/attojs/vue-request/compare/v1.0.0-beta.5...v1.0.0-beta.6) (2020-12-31)
### Refactor
- 添加 `isServer` 用于兼容 node 环境 [4f1c797](https://github.com/AttoJS/vue-request/commit/4f1c7971bed7eb45c68a1d9ae89a2134a29cd7aa)
- 修改 `cacheTime` 默认值为 10 分钟 [a56ecb0](https://github.com/AttoJS/vue-request/commit/a56ecb012dea93996bf61a2bc4228cd7a7f98a42)
# [1.0.0-beta.5](https://github.com/attojs/vue-request/compare/v1.0.0-beta.4...v1.0.0-beta.5) (2020-12-14)

@@ -2,0 +9,0 @@

1

dist/types/core/utils/index.d.ts

@@ -9,2 +9,3 @@ import { RefObject, UnRef } from './types';

export declare const isNil: (val: unknown) => boolean;
export declare const isServer: boolean;
export declare const isDocumentVisibility: () => boolean;

@@ -11,0 +12,0 @@ export declare const isOnline: () => boolean;

2

dist/vue-request.min.js

@@ -1,1 +0,1 @@

!function(t,e){"use strict";var r="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function n(t,e,r){return t(r={path:e,exports:{},require:function(t,e){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(null==e&&r.path)}},r.exports),r.exports}var o=function(t){return t&&t.Math==Math&&t},i=o("object"==typeof globalThis&&globalThis)||o("object"==typeof window&&window)||o("object"==typeof self&&self)||o("object"==typeof r&&r)||function(){return this}()||Function("return this")(),a=function(t){try{return!!t()}catch(t){return!0}},u=!a((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),c={}.propertyIsEnumerable,f=Object.getOwnPropertyDescriptor,l={f:f&&!c.call({1:2},1)?function(t){var e=f(this,t);return!!e&&e.enumerable}:c},s=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},v={}.toString,p=function(t){return v.call(t).slice(8,-1)},d="".split,h=a((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==p(t)?d.call(t,""):Object(t)}:Object,y=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t},g=function(t){return h(y(t))},m=function(t){return"object"==typeof t?null!==t:"function"==typeof t},b=function(t,e){if(!m(t))return t;var r,n;if(e&&"function"==typeof(r=t.toString)&&!m(n=r.call(t)))return n;if("function"==typeof(r=t.valueOf)&&!m(n=r.call(t)))return n;if(!e&&"function"==typeof(r=t.toString)&&!m(n=r.call(t)))return n;throw TypeError("Can't convert object to primitive value")},w={}.hasOwnProperty,O=function(t,e){return w.call(t,e)},S=i.document,E=m(S)&&m(S.createElement),j=function(t){return E?S.createElement(t):{}},x=!u&&!a((function(){return 7!=Object.defineProperty(j("div"),"a",{get:function(){return 7}}).a})),T=Object.getOwnPropertyDescriptor,A={f:u?T:function(t,e){if(t=g(t),e=b(e,!0),x)try{return T(t,e)}catch(t){}if(O(t,e))return s(!l.f.call(t,e),t[e])}},P=/#|\.prototype\./,L=function(t,e){var r=R[I(t)];return r==k||r!=_&&("function"==typeof e?a(e):!!e)},I=L.normalize=function(t){return String(t).replace(P,".").toLowerCase()},R=L.data={},_=L.NATIVE="N",k=L.POLYFILL="P",N=L,C={},D=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t},M=function(t,e,r){if(D(t),void 0===e)return t;switch(r){case 0:return function(){return t.call(e)};case 1:return function(r){return t.call(e,r)};case 2:return function(r,n){return t.call(e,r,n)};case 3:return function(r,n,o){return t.call(e,r,n,o)}}return function(){return t.apply(e,arguments)}},F=function(t){if(!m(t))throw TypeError(String(t)+" is not an object");return t},G=Object.defineProperty,W={f:u?G:function(t,e,r){if(F(t),e=b(e,!0),F(r),x)try{return G(t,e,r)}catch(t){}if("get"in r||"set"in r)throw TypeError("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},q=u?function(t,e,r){return W.f(t,e,s(1,r))}:function(t,e,r){return t[e]=r,t},z=A.f,U=function(t){var e=function(e,r,n){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,r)}return new t(e,r,n)}return t.apply(this,arguments)};return e.prototype=t.prototype,e},V=function(t,e){var r,n,o,a,u,c,f,l,s=t.target,v=t.global,p=t.stat,d=t.proto,h=v?i:p?i[s]:(i[s]||{}).prototype,y=v?C:C[s]||(C[s]={}),g=y.prototype;for(o in e)r=!N(v?o:s+(p?".":"#")+o,t.forced)&&h&&O(h,o),u=y[o],r&&(c=t.noTargetGet?(l=z(h,o))&&l.value:h[o]),a=r&&c?c:e[o],r&&typeof u==typeof a||(f=t.bind&&r?M(a,i):t.wrap&&r?U(a):d&&"function"==typeof a?M(Function.call,a):a,(t.sham||a&&a.sham||u&&u.sham)&&q(f,"sham",!0),y[o]=f,d&&(O(C,n=s+"Prototype")||q(C,n,{}),C[n][o]=a,t.real&&g&&!g[o]&&q(g,o,a)))},K=function(t){return Object(y(t))},H=Math.ceil,B=Math.floor,Q=function(t){return isNaN(t=+t)?0:(t>0?B:H)(t)},Y=Math.min,$=function(t){return t>0?Y(Q(t),9007199254740991):0},J=Math.max,X=Math.min,Z=function(t,e){var r=Q(t);return r<0?J(r+e,0):X(r,e)},tt=function(t){return function(e,r,n){var o,i=g(e),a=$(i.length),u=Z(n,a);if(t&&r!=r){for(;a>u;)if((o=i[u++])!=o)return!0}else for(;a>u;u++)if((t||u in i)&&i[u]===r)return t||u||0;return!t&&-1}},et={includes:tt(!0),indexOf:tt(!1)},rt={},nt=et.indexOf,ot=function(t,e){var r,n=g(t),o=0,i=[];for(r in n)!O(rt,r)&&O(n,r)&&i.push(r);for(;e.length>o;)O(n,r=e[o++])&&(~nt(i,r)||i.push(r));return i},it=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],at=Object.keys||function(t){return ot(t,it)},ut=a((function(){at(1)}));V({target:"Object",stat:!0,forced:ut},{keys:function(t){return at(K(t))}});var ct=C.Object.keys,ft=ct,lt={},st="__core-js_shared__",vt=i[st]||function(t,e){try{q(i,t,e)}catch(r){i[t]=e}return e}(st,{}),pt=Function.toString;"function"!=typeof vt.inspectSource&&(vt.inspectSource=function(t){return pt.call(t)});var dt,ht,yt,gt=vt.inspectSource,mt=i.WeakMap,bt="function"==typeof mt&&/native code/.test(gt(mt)),wt=n((function(t){(t.exports=function(t,e){return vt[t]||(vt[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.7.0",mode:"pure",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})})),Ot=0,St=Math.random(),Et=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++Ot+St).toString(36)},jt=wt("keys"),xt=function(t){return jt[t]||(jt[t]=Et(t))},Tt=i.WeakMap;if(bt){var At=vt.state||(vt.state=new Tt),Pt=At.get,Lt=At.has,It=At.set;dt=function(t,e){return e.facade=t,It.call(At,t,e),e},ht=function(t){return Pt.call(At,t)||{}},yt=function(t){return Lt.call(At,t)}}else{var Rt=xt("state");rt[Rt]=!0,dt=function(t,e){return e.facade=t,q(t,Rt,e),e},ht=function(t){return O(t,Rt)?t[Rt]:{}},yt=function(t){return O(t,Rt)}}var _t,kt,Nt,Ct={set:dt,get:ht,has:yt,enforce:function(t){return yt(t)?ht(t):dt(t,{})},getterFor:function(t){return function(e){var r;if(!m(e)||(r=ht(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return r}}},Dt=!a((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})),Mt=xt("IE_PROTO"),Ft=Object.prototype,Gt=Dt?Object.getPrototypeOf:function(t){return t=K(t),O(t,Mt)?t[Mt]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?Ft:null},Wt=!!Object.getOwnPropertySymbols&&!a((function(){return!String(Symbol())})),qt=Wt&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,zt=wt("wks"),Ut=i.Symbol,Vt=qt?Ut:Ut&&Ut.withoutSetter||Et,Kt=function(t){return O(zt,t)||(Wt&&O(Ut,t)?zt[t]=Ut[t]:zt[t]=Vt("Symbol."+t)),zt[t]},Ht=(Kt("iterator"),!1);[].keys&&("next"in(Nt=[].keys())?(kt=Gt(Gt(Nt)))!==Object.prototype&&(_t=kt):Ht=!0),null==_t&&(_t={});var Bt,Qt={IteratorPrototype:_t,BUGGY_SAFARI_ITERATORS:Ht},Yt=u?Object.defineProperties:function(t,e){F(t);for(var r,n=at(e),o=n.length,i=0;o>i;)W.f(t,r=n[i++],e[r]);return t},$t=function(t){return"function"==typeof t?t:void 0},Jt=function(t,e){return arguments.length<2?$t(C[t])||$t(i[t]):C[t]&&C[t][e]||i[t]&&i[t][e]},Xt=Jt("document","documentElement"),Zt=xt("IE_PROTO"),te=function(){},ee=function(t){return"<script>"+t+"</"+"script>"},re=function(){try{Bt=document.domain&&new ActiveXObject("htmlfile")}catch(t){}var t,e;re=Bt?function(t){t.write(ee("")),t.close();var e=t.parentWindow.Object;return t=null,e}(Bt):((e=j("iframe")).style.display="none",Xt.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(ee("document.F=Object")),t.close(),t.F);for(var r=it.length;r--;)delete re.prototype[it[r]];return re()};rt[Zt]=!0;var ne=Object.create||function(t,e){var r;return null!==t?(te.prototype=F(t),r=new te,te.prototype=null,r[Zt]=t):r=re(),void 0===e?r:Yt(r,e)},oe={};oe[Kt("toStringTag")]="z";var ie="[object z]"===String(oe),ae=Kt("toStringTag"),ue="Arguments"==p(function(){return arguments}()),ce=ie?p:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),ae))?r:ue?p(e):"Object"==(n=p(e))&&"function"==typeof e.callee?"Arguments":n},fe=ie?{}.toString:function(){return"[object "+ce(this)+"]"},le=W.f,se=Kt("toStringTag"),ve=function(t,e,r,n){if(t){var o=r?t:t.prototype;O(o,se)||le(o,se,{configurable:!0,value:e}),n&&!ie&&q(o,"toString",fe)}},pe=Qt.IteratorPrototype,de=function(){return this},he=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(r,[]),e=r instanceof Array}catch(t){}return function(r,n){return F(r),function(t){if(!m(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype")}(n),e?t.call(r,n):r.__proto__=n,r}}():void 0),ye=function(t,e,r,n){n&&n.enumerable?t[e]=r:q(t,e,r)},ge=Qt.IteratorPrototype,me=Qt.BUGGY_SAFARI_ITERATORS,be=Kt("iterator"),we="keys",Oe="values",Se="entries",Ee=function(){return this},je=function(t,e,r,n,o,i,a){!function(t,e,r){var n=e+" Iterator";t.prototype=ne(pe,{next:s(1,r)}),ve(t,n,!1,!0),lt[n]=de}(r,e,n);var u,c,f,l=function(t){if(t===o&&y)return y;if(!me&&t in d)return d[t];switch(t){case we:case Oe:case Se:return function(){return new r(this,t)}}return function(){return new r(this)}},v=e+" Iterator",p=!1,d=t.prototype,h=d[be]||d["@@iterator"]||o&&d[o],y=!me&&h||l(o),g="Array"==e&&d.entries||h;if(g&&(u=Gt(g.call(new t)),ge!==Object.prototype&&u.next&&(ve(u,v,!0,!0),lt[v]=Ee)),o==Oe&&h&&h.name!==Oe&&(p=!0,y=function(){return h.call(this)}),a&&d[be]!==y&&q(d,be,y),lt[e]=y,o)if(c={values:l(Oe),keys:i?y:l(we),entries:l(Se)},a)for(f in c)(me||p||!(f in d))&&ye(d,f,c[f]);else V({target:e,proto:!0,forced:me||p},c);return c},xe="Array Iterator",Te=Ct.set,Ae=Ct.getterFor(xe);je(Array,"Array",(function(t,e){Te(this,{type:xe,target:g(t),index:0,kind:e})}),(function(){var t=Ae(this),e=t.target,r=t.kind,n=t.index++;return!e||n>=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==r?{value:n,done:!1}:"values"==r?{value:e[n],done:!1}:{value:[n,e[n]],done:!1}}),"values");lt.Arguments=lt.Array;var Pe=Kt("toStringTag");for(var Le in{CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}){var Ie=i[Le],Re=Ie&&Ie.prototype;Re&&ce(Re)!==Pe&&q(Re,Pe,Le),lt[Le]=lt.Array}var _e=Array.isArray||function(t){return"Array"==p(t)},ke=Kt("species"),Ne=function(t,e){var r;return _e(t)&&("function"!=typeof(r=t.constructor)||r!==Array&&!_e(r.prototype)?m(r)&&null===(r=r[ke])&&(r=void 0):r=void 0),new(void 0===r?Array:r)(0===e?0:e)},Ce=[].push,De=function(t){var e=1==t,r=2==t,n=3==t,o=4==t,i=6==t,a=5==t||i;return function(u,c,f,l){for(var s,v,p=K(u),d=h(p),y=M(c,f,3),g=$(d.length),m=0,b=l||Ne,w=e?b(u,g):r?b(u,0):void 0;g>m;m++)if((a||m in d)&&(v=y(s=d[m],m,p),t))if(e)w[m]=v;else if(v)switch(t){case 3:return!0;case 5:return s;case 6:return m;case 2:Ce.call(w,s)}else if(o)return!1;return i?-1:n||o?o:w}},Me={forEach:De(0),map:De(1),filter:De(2),some:De(3),every:De(4),find:De(5),findIndex:De(6)},Fe=function(t,e){var r=[][t];return!!r&&a((function(){r.call(null,e||function(){throw 1},1)}))},Ge=Object.defineProperty,We={},qe=function(t){throw t},ze=function(t,e){if(O(We,t))return We[t];e||(e={});var r=[][t],n=!!O(e,"ACCESSORS")&&e.ACCESSORS,o=O(e,0)?e[0]:qe,i=O(e,1)?e[1]:void 0;return We[t]=!!r&&!a((function(){if(n&&!u)return!0;var t={length:-1};n?Ge(t,1,{enumerable:!0,get:qe}):t[1]=1,r.call(t,o,i)}))},Ue=Me.forEach,Ve=Fe("forEach"),Ke=ze("forEach"),He=Ve&&Ke?[].forEach:function(t){return Ue(this,t,arguments.length>1?arguments[1]:void 0)};V({target:"Array",proto:!0,forced:[].forEach!=He},{forEach:He});var Be,Qe,Ye=function(t){return C[t+"Prototype"]},$e=Ye("Array").forEach,Je=Array.prototype,Xe={DOMTokenList:!0,NodeList:!0},Ze=function(t){var e=t.forEach;return t===Je||t instanceof Array&&e===Je.forEach||Xe.hasOwnProperty(ce(t))?$e:e},tr=function(t,e,r){var n=b(e);n in t?W.f(t,n,s(0,r)):t[n]=r},er=Jt("navigator","userAgent")||"",rr=i.process,nr=rr&&rr.versions,or=nr&&nr.v8;or?Qe=(Be=or.split("."))[0]+Be[1]:er&&(!(Be=er.match(/Edge\/(\d+)/))||Be[1]>=74)&&(Be=er.match(/Chrome\/(\d+)/))&&(Qe=Be[1]);var ir=Qe&&+Qe,ar=Kt("species"),ur=function(t){return ir>=51||!a((function(){var e=[];return(e.constructor={})[ar]=function(){return{foo:1}},1!==e[t](Boolean).foo}))},cr=Kt("isConcatSpreadable"),fr=9007199254740991,lr="Maximum allowed index exceeded",sr=ir>=51||!a((function(){var t=[];return t[cr]=!1,t.concat()[0]!==t})),vr=ur("concat"),pr=function(t){if(!m(t))return!1;var e=t[cr];return void 0!==e?!!e:_e(t)};V({target:"Array",proto:!0,forced:!sr||!vr},{concat:function(t){var e,r,n,o,i,a=K(this),u=Ne(a,0),c=0;for(e=-1,n=arguments.length;e<n;e++)if(pr(i=-1===e?a:arguments[e])){if(c+(o=$(i.length))>fr)throw TypeError(lr);for(r=0;r<o;r++,c++)r in i&&tr(u,c,i[r])}else{if(c>=fr)throw TypeError(lr);tr(u,c++,i)}return u.length=c,u}});var dr=it.concat("length","prototype"),hr={f:Object.getOwnPropertyNames||function(t){return ot(t,dr)}},yr=hr.f,gr={}.toString,mr="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],br={f:function(t){return mr&&"[object Window]"==gr.call(t)?function(t){try{return yr(t)}catch(t){return mr.slice()}}(t):yr(g(t))}},wr={f:Object.getOwnPropertySymbols},Or={f:Kt},Sr=W.f,Er=function(t){var e=C.Symbol||(C.Symbol={});O(e,t)||Sr(e,t,{value:Or.f(t)})},jr=Me.forEach,xr=xt("hidden"),Tr="Symbol",Ar=Kt("toPrimitive"),Pr=Ct.set,Lr=Ct.getterFor(Tr),Ir=Object.prototype,Rr=i.Symbol,_r=Jt("JSON","stringify"),kr=A.f,Nr=W.f,Cr=br.f,Dr=l.f,Mr=wt("symbols"),Fr=wt("op-symbols"),Gr=wt("string-to-symbol-registry"),Wr=wt("symbol-to-string-registry"),qr=wt("wks"),zr=i.QObject,Ur=!zr||!zr.prototype||!zr.prototype.findChild,Vr=u&&a((function(){return 7!=ne(Nr({},"a",{get:function(){return Nr(this,"a",{value:7}).a}})).a}))?function(t,e,r){var n=kr(Ir,e);n&&delete Ir[e],Nr(t,e,r),n&&t!==Ir&&Nr(Ir,e,n)}:Nr,Kr=function(t,e){var r=Mr[t]=ne(Rr.prototype);return Pr(r,{type:Tr,tag:t,description:e}),u||(r.description=e),r},Hr=qt?function(t){return"symbol"==typeof t}:function(t){return Object(t)instanceof Rr},Br=function(t,e,r){t===Ir&&Br(Fr,e,r),F(t);var n=b(e,!0);return F(r),O(Mr,n)?(r.enumerable?(O(t,xr)&&t[xr][n]&&(t[xr][n]=!1),r=ne(r,{enumerable:s(0,!1)})):(O(t,xr)||Nr(t,xr,s(1,{})),t[xr][n]=!0),Vr(t,n,r)):Nr(t,n,r)},Qr=function(t,e){F(t);var r=g(e),n=at(r).concat(Xr(r));return jr(n,(function(e){u&&!Yr.call(r,e)||Br(t,e,r[e])})),t},Yr=function(t){var e=b(t,!0),r=Dr.call(this,e);return!(this===Ir&&O(Mr,e)&&!O(Fr,e))&&(!(r||!O(this,e)||!O(Mr,e)||O(this,xr)&&this[xr][e])||r)},$r=function(t,e){var r=g(t),n=b(e,!0);if(r!==Ir||!O(Mr,n)||O(Fr,n)){var o=kr(r,n);return!o||!O(Mr,n)||O(r,xr)&&r[xr][n]||(o.enumerable=!0),o}},Jr=function(t){var e=Cr(g(t)),r=[];return jr(e,(function(t){O(Mr,t)||O(rt,t)||r.push(t)})),r},Xr=function(t){var e=t===Ir,r=Cr(e?Fr:g(t)),n=[];return jr(r,(function(t){!O(Mr,t)||e&&!O(Ir,t)||n.push(Mr[t])})),n};if(Wt||(ye((Rr=function(){if(this instanceof Rr)throw TypeError("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,e=Et(t),r=function(t){this===Ir&&r.call(Fr,t),O(this,xr)&&O(this[xr],e)&&(this[xr][e]=!1),Vr(this,e,s(1,t))};return u&&Ur&&Vr(Ir,e,{configurable:!0,set:r}),Kr(e,t)}).prototype,"toString",(function(){return Lr(this).tag})),ye(Rr,"withoutSetter",(function(t){return Kr(Et(t),t)})),l.f=Yr,W.f=Br,A.f=$r,hr.f=br.f=Jr,wr.f=Xr,Or.f=function(t){return Kr(Kt(t),t)},u&&Nr(Rr.prototype,"description",{configurable:!0,get:function(){return Lr(this).description}})),V({global:!0,wrap:!0,forced:!Wt,sham:!Wt},{Symbol:Rr}),jr(at(qr),(function(t){Er(t)})),V({target:Tr,stat:!0,forced:!Wt},{for:function(t){var e=String(t);if(O(Gr,e))return Gr[e];var r=Rr(e);return Gr[e]=r,Wr[r]=e,r},keyFor:function(t){if(!Hr(t))throw TypeError(t+" is not a symbol");if(O(Wr,t))return Wr[t]},useSetter:function(){Ur=!0},useSimple:function(){Ur=!1}}),V({target:"Object",stat:!0,forced:!Wt,sham:!u},{create:function(t,e){return void 0===e?ne(t):Qr(ne(t),e)},defineProperty:Br,defineProperties:Qr,getOwnPropertyDescriptor:$r}),V({target:"Object",stat:!0,forced:!Wt},{getOwnPropertyNames:Jr,getOwnPropertySymbols:Xr}),V({target:"Object",stat:!0,forced:a((function(){wr.f(1)}))},{getOwnPropertySymbols:function(t){return wr.f(K(t))}}),_r){var Zr=!Wt||a((function(){var t=Rr();return"[null]"!=_r([t])||"{}"!=_r({a:t})||"{}"!=_r(Object(t))}));V({target:"JSON",stat:!0,forced:Zr},{stringify:function(t,e,r){for(var n,o=[t],i=1;arguments.length>i;)o.push(arguments[i++]);if(n=e,(m(e)||void 0!==t)&&!Hr(t))return _e(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!Hr(e))return e}),o[1]=e,_r.apply(null,o)}})}Rr.prototype[Ar]||q(Rr.prototype,Ar,Rr.prototype.valueOf),ve(Rr,Tr),rt[xr]=!0,Er("asyncIterator"),Er("hasInstance"),Er("isConcatSpreadable"),Er("iterator"),Er("match"),Er("matchAll"),Er("replace"),Er("search"),Er("species"),Er("split"),Er("toPrimitive"),Er("toStringTag"),Er("unscopables"),ve(i.JSON,"JSON",!0);var tn=C.Symbol,en=tn,rn={},nn=en("GLOBAL_OPTIONS_PROVIDE_KEY"),on=e.defineComponent({name:"RequestConfig",props:{config:{type:Object,required:!0}},setup:function(t,r){var n=r.slots,o=t.config;return e.provide(nn,o),function(){var t;return null===(t=n.default)||void 0===t?void 0:t.call(n)}}}),an=Kt("iterator"),un=Array.prototype,cn=function(t){return void 0!==t&&(lt.Array===t||un[an]===t)},fn=Kt("iterator"),ln=function(t){if(null!=t)return t[fn]||t["@@iterator"]||lt[ce(t)]},sn=function(t){var e=t.return;if(void 0!==e)return F(e.call(t)).value},vn=function(t,e){this.stopped=t,this.result=e},pn=function(t,e,r){var n,o,i,a,u,c,f,l=r&&r.that,s=!(!r||!r.AS_ENTRIES),v=!(!r||!r.IS_ITERATOR),p=!(!r||!r.INTERRUPTED),d=M(e,l,1+s+p),h=function(t){return n&&sn(n),new vn(!0,t)},y=function(t){return s?(F(t),p?d(t[0],t[1],h):d(t[0],t[1])):p?d(t,h):d(t)};if(v)n=t;else{if("function"!=typeof(o=ln(t)))throw TypeError("Target is not iterable");if(cn(o)){for(i=0,a=$(t.length);a>i;i++)if((u=y(t[i]))&&u instanceof vn)return u;return new vn(!1)}n=o.call(t)}for(c=n.next;!(f=c.call(n)).done;){try{u=y(f.value)}catch(t){throw sn(n),t}if("object"==typeof u&&u&&u instanceof vn)return u}return new vn(!1)},dn=function(t,e){var r=this;if(!(r instanceof dn))return new dn(t,e);he&&(r=he(new Error(void 0),Gt(r))),void 0!==e&&q(r,"message",String(e));var n=[];return pn(t,n.push,{that:n}),q(r,"errors",n),r};dn.prototype=ne(Error.prototype,{constructor:s(5,dn),message:s(5,""),name:s(5,"AggregateError")}),V({global:!0},{AggregateError:dn});var hn=i.Promise,yn=function(t,e,r){for(var n in e)r&&r.unsafe&&t[n]?t[n]=e[n]:ye(t,n,e[n],r);return t},gn=Kt("species"),mn=function(t){var e=Jt(t),r=W.f;u&&e&&!e[gn]&&r(e,gn,{configurable:!0,get:function(){return this}})},bn=function(t,e,r){if(!(t instanceof e))throw TypeError("Incorrect "+(r?r+" ":"")+"invocation");return t},wn=Kt("iterator"),On=!1;try{var Sn=0,En={next:function(){return{done:!!Sn++}},return:function(){On=!0}};En[wn]=function(){return this},Array.from(En,(function(){throw 2}))}catch(t){}var jn,xn,Tn,An=function(t,e){if(!e&&!On)return!1;var r=!1;try{var n={};n[wn]=function(){return{next:function(){return{done:r=!0}}}},t(n)}catch(t){}return r},Pn=Kt("species"),Ln=function(t,e){var r,n=F(t).constructor;return void 0===n||null==(r=F(n)[Pn])?e:D(r)},In=/(iphone|ipod|ipad).*applewebkit/i.test(er),Rn="process"==p(i.process),_n=i.location,kn=i.setImmediate,Nn=i.clearImmediate,Cn=i.process,Dn=i.MessageChannel,Mn=i.Dispatch,Fn=0,Gn={},Wn="onreadystatechange",qn=function(t){if(Gn.hasOwnProperty(t)){var e=Gn[t];delete Gn[t],e()}},zn=function(t){return function(){qn(t)}},Un=function(t){qn(t.data)},Vn=function(t){i.postMessage(t+"",_n.protocol+"//"+_n.host)};kn&&Nn||(kn=function(t){for(var e=[],r=1;arguments.length>r;)e.push(arguments[r++]);return Gn[++Fn]=function(){("function"==typeof t?t:Function(t)).apply(void 0,e)},jn(Fn),Fn},Nn=function(t){delete Gn[t]},Rn?jn=function(t){Cn.nextTick(zn(t))}:Mn&&Mn.now?jn=function(t){Mn.now(zn(t))}:Dn&&!In?(Tn=(xn=new Dn).port2,xn.port1.onmessage=Un,jn=M(Tn.postMessage,Tn,1)):i.addEventListener&&"function"==typeof postMessage&&!i.importScripts&&_n&&"file:"!==_n.protocol&&!a(Vn)?(jn=Vn,i.addEventListener("message",Un,!1)):jn=Wn in j("script")?function(t){Xt.appendChild(j("script")).onreadystatechange=function(){Xt.removeChild(this),qn(t)}}:function(t){setTimeout(zn(t),0)});var Kn,Hn,Bn,Qn,Yn,$n,Jn,Xn,Zn={set:kn,clear:Nn},to=A.f,eo=Zn.set,ro=i.MutationObserver||i.WebKitMutationObserver,no=i.document,oo=i.process,io=i.Promise,ao=to(i,"queueMicrotask"),uo=ao&&ao.value;uo||(Kn=function(){var t,e;for(Rn&&(t=oo.domain)&&t.exit();Hn;){e=Hn.fn,Hn=Hn.next;try{e()}catch(t){throw Hn?Qn():Bn=void 0,t}}Bn=void 0,t&&t.enter()},!In&&!Rn&&ro&&no?(Yn=!0,$n=no.createTextNode(""),new ro(Kn).observe($n,{characterData:!0}),Qn=function(){$n.data=Yn=!Yn}):io&&io.resolve?(Jn=io.resolve(void 0),Xn=Jn.then,Qn=function(){Xn.call(Jn,Kn)}):Qn=Rn?function(){oo.nextTick(Kn)}:function(){eo.call(i,Kn)});var co,fo,lo,so=uo||function(t){var e={fn:t,next:void 0};Bn&&(Bn.next=e),Hn||(Hn=e,Qn()),Bn=e},vo=function(t){var e,r;this.promise=new t((function(t,n){if(void 0!==e||void 0!==r)throw TypeError("Bad Promise constructor");e=t,r=n})),this.resolve=D(e),this.reject=D(r)},po={f:function(t){return new vo(t)}},ho=function(t,e){if(F(t),m(e)&&e.constructor===t)return e;var r=po.f(t);return(0,r.resolve)(e),r.promise},yo=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}},go=Zn.set,mo=Kt("species"),bo="Promise",wo=Ct.get,Oo=Ct.set,So=Ct.getterFor(bo),Eo=hn,jo=i.TypeError,xo=i.document,To=i.process,Ao=(Jt("fetch"),po.f),Po=Ao,Lo=!!(xo&&xo.createEvent&&i.dispatchEvent),Io="function"==typeof PromiseRejectionEvent,Ro="unhandledrejection",_o=N(bo,(function(){if(!(gt(Eo)!==String(Eo))){if(66===ir)return!0;if(!Rn&&!Io)return!0}if(!Eo.prototype.finally)return!0;if(ir>=51&&/native code/.test(Eo))return!1;var t=Eo.resolve(1),e=function(t){t((function(){}),(function(){}))};return(t.constructor={})[mo]=e,!(t.then((function(){}))instanceof e)})),ko=_o||!An((function(t){Eo.all(t).catch((function(){}))})),No=function(t){var e;return!(!m(t)||"function"!=typeof(e=t.then))&&e},Co=function(t,e){if(!t.notified){t.notified=!0;var r=t.reactions;so((function(){for(var n=t.value,o=1==t.state,i=0;r.length>i;){var a,u,c,f=r[i++],l=o?f.ok:f.fail,s=f.resolve,v=f.reject,p=f.domain;try{l?(o||(2===t.rejection&&Go(t),t.rejection=1),!0===l?a=n:(p&&p.enter(),a=l(n),p&&(p.exit(),c=!0)),a===f.promise?v(jo("Promise-chain cycle")):(u=No(a))?u.call(a,s,v):s(a)):v(n)}catch(t){p&&!c&&p.exit(),v(t)}}t.reactions=[],t.notified=!1,e&&!t.rejection&&Mo(t)}))}},Do=function(t,e,r){var n,o;Lo?((n=xo.createEvent("Event")).promise=e,n.reason=r,n.initEvent(t,!1,!0),i.dispatchEvent(n)):n={promise:e,reason:r},!Io&&(o=i["on"+t])?o(n):t===Ro&&function(t,e){var r=i.console;r&&r.error&&(1===arguments.length?r.error(t):r.error(t,e))}("Unhandled promise rejection",r)},Mo=function(t){go.call(i,(function(){var e,r=t.facade,n=t.value;if(Fo(t)&&(e=yo((function(){Rn?To.emit("unhandledRejection",n,r):Do(Ro,r,n)})),t.rejection=Rn||Fo(t)?2:1,e.error))throw e.value}))},Fo=function(t){return 1!==t.rejection&&!t.parent},Go=function(t){go.call(i,(function(){var e=t.facade;Rn?To.emit("rejectionHandled",e):Do("rejectionhandled",e,t.value)}))},Wo=function(t,e,r){return function(n){t(e,n,r)}},qo=function(t,e,r){t.done||(t.done=!0,r&&(t=r),t.value=e,t.state=2,Co(t,!0))},zo=function(t,e,r){if(!t.done){t.done=!0,r&&(t=r);try{if(t.facade===e)throw jo("Promise can't be resolved itself");var n=No(e);n?so((function(){var r={done:!1};try{n.call(e,Wo(zo,r,t),Wo(qo,r,t))}catch(e){qo(r,e,t)}})):(t.value=e,t.state=1,Co(t,!1))}catch(e){qo({done:!1},e,t)}}};_o&&(Eo=function(t){bn(this,Eo,bo),D(t),co.call(this);var e=wo(this);try{t(Wo(zo,e),Wo(qo,e))}catch(t){qo(e,t)}},(co=function(t){Oo(this,{type:bo,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=yn(Eo.prototype,{then:function(t,e){var r=So(this),n=Ao(Ln(this,Eo));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=Rn?To.domain:void 0,r.parent=!0,r.reactions.push(n),0!=r.state&&Co(r,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),fo=function(){var t=new co,e=wo(t);this.promise=t,this.resolve=Wo(zo,e),this.reject=Wo(qo,e)},po.f=Ao=function(t){return t===Eo||t===lo?new fo(t):Po(t)}),V({global:!0,wrap:!0,forced:_o},{Promise:Eo}),ve(Eo,bo,!1,!0),mn(bo),lo=Jt(bo),V({target:bo,stat:!0,forced:_o},{reject:function(t){var e=Ao(this);return e.reject.call(void 0,t),e.promise}}),V({target:bo,stat:!0,forced:!0},{resolve:function(t){return ho(this===lo?Eo:this,t)}}),V({target:bo,stat:!0,forced:ko},{all:function(t){var e=this,r=Ao(e),n=r.resolve,o=r.reject,i=yo((function(){var r=D(e.resolve),i=[],a=0,u=1;pn(t,(function(t){var c=a++,f=!1;i.push(void 0),u++,r.call(e,t).then((function(t){f||(f=!0,i[c]=t,--u||n(i))}),o)})),--u||n(i)}));return i.error&&o(i.value),r.promise},race:function(t){var e=this,r=Ao(e),n=r.reject,o=yo((function(){var o=D(e.resolve);pn(t,(function(t){o.call(e,t).then(r.resolve,n)}))}));return o.error&&n(o.value),r.promise}}),V({target:"Promise",stat:!0},{allSettled:function(t){var e=this,r=po.f(e),n=r.resolve,o=r.reject,i=yo((function(){var r=D(e.resolve),o=[],i=0,a=1;pn(t,(function(t){var u=i++,c=!1;o.push(void 0),a++,r.call(e,t).then((function(t){c||(c=!0,o[u]={status:"fulfilled",value:t},--a||n(o))}),(function(t){c||(c=!0,o[u]={status:"rejected",reason:t},--a||n(o))}))})),--a||n(o)}));return i.error&&o(i.value),r.promise}});var Uo="No one promise resolved";V({target:"Promise",stat:!0},{any:function(t){var e=this,r=po.f(e),n=r.resolve,o=r.reject,i=yo((function(){var r=D(e.resolve),i=[],a=0,u=1,c=!1;pn(t,(function(t){var f=a++,l=!1;i.push(void 0),u++,r.call(e,t).then((function(t){l||c||(c=!0,n(t))}),(function(t){l||c||(l=!0,i[f]=t,--u||o(new(Jt("AggregateError"))(i,Uo)))}))})),--u||o(new(Jt("AggregateError"))(i,Uo))}));return i.error&&o(i.value),r.promise}});var Vo=!!hn&&a((function(){hn.prototype.finally.call({then:function(){}},(function(){}))}));V({target:"Promise",proto:!0,real:!0,forced:Vo},{finally:function(t){var e=Ln(this,Jt("Promise")),r="function"==typeof t;return this.then(r?function(r){return ho(e,t()).then((function(){return r}))}:t,r?function(r){return ho(e,t()).then((function(){throw r}))}:t)}});var Ko=function(t){return function(e,r){var n,o,i=String(y(e)),a=Q(r),u=i.length;return a<0||a>=u?t?"":void 0:(n=i.charCodeAt(a))<55296||n>56319||a+1===u||(o=i.charCodeAt(a+1))<56320||o>57343?t?i.charAt(a):n:t?i.slice(a,a+2):o-56320+(n-55296<<10)+65536}},Ho={codeAt:Ko(!1),charAt:Ko(!0)}.charAt,Bo="String Iterator",Qo=Ct.set,Yo=Ct.getterFor(Bo);je(String,"String",(function(t){Qo(this,{type:Bo,string:String(t),index:0})}),(function(){var t,e=Yo(this),r=e.string,n=e.index;return n>=r.length?{value:void 0,done:!0}:(t=Ho(r,n),e.index+=t.length,{value:t,done:!1})}));var $o=C.Promise,Jo=$o,Xo=et.indexOf,Zo=[].indexOf,ti=!!Zo&&1/[1].indexOf(1,-0)<0,ei=Fe("indexOf"),ri=ze("indexOf",{ACCESSORS:!0,1:0});V({target:"Array",proto:!0,forced:ti||!ei||!ri},{indexOf:function(t){return ti?Zo.apply(this,arguments)||0:Xo(this,t,arguments.length>1?arguments[1]:void 0)}});var ni=Ye("Array").indexOf,oi=Array.prototype,ii=function(t){var e=t.indexOf;return t===oi||t instanceof Array&&e===oi.indexOf?ni:e},ai=C.Object.getOwnPropertySymbols,ui=ai,ci=ct;var fi=function(t,e){if(null==t)return{};var r,n,o={},i=ci(t);for(n=0;n<i.length;n++)r=i[n],ii(e).call(e,r)>=0||(o[r]=t[r]);return o};var li=function(t,e){if(null==t)return{};var r,n,o=fi(t,e);if(ui){var i=ui(t);for(n=0;n<i.length;n++)r=i[n],ii(e).call(e,r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o};V({target:"Object",stat:!0,forced:!u,sham:!u},{defineProperty:W.f});var si=n((function(t){var e=C.Object,r=t.exports=function(t,r,n){return e.defineProperty(t,r,n)};e.defineProperty.sham&&(r.sham=!0)})),vi=si;V({target:"Object",stat:!0,forced:!u,sham:!u},{defineProperties:Yt});var pi=n((function(t){var e=C.Object,r=t.exports=function(t,r){return e.defineProperties(t,r)};e.defineProperties.sham&&(r.sham=!0)})),di=Jt("Reflect","ownKeys")||function(t){var e=hr.f(F(t)),r=wr.f;return r?e.concat(r(t)):e};V({target:"Object",stat:!0,sham:!u},{getOwnPropertyDescriptors:function(t){for(var e,r,n=g(t),o=A.f,i=di(n),a={},u=0;i.length>u;)void 0!==(r=o(n,e=i[u++]))&&tr(a,e,r);return a}});var hi=C.Object.getOwnPropertyDescriptors,yi=A.f,gi=a((function(){yi(1)}));V({target:"Object",stat:!0,forced:!u||gi,sham:!u},{getOwnPropertyDescriptor:function(t,e){return yi(g(t),e)}});var mi=n((function(t){var e=C.Object,r=t.exports=function(t,r){return e.getOwnPropertyDescriptor(t,r)};e.getOwnPropertyDescriptor.sham&&(r.sham=!0)})),bi=Me.filter,wi=ur("filter"),Oi=ze("filter");V({target:"Array",proto:!0,forced:!wi||!Oi},{filter:function(t){return bi(this,t,arguments.length>1?arguments[1]:void 0)}});var Si=Ye("Array").filter,Ei=Array.prototype,ji=function(t){var e=t.filter;return t===Ei||t instanceof Array&&e===Ei.filter?Si:e},xi=ai;V({target:"Array",stat:!0},{isArray:_e});var Ti=C.Array.isArray;var Ai=function(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n};var Pi=function(t){if(Ti(t))return Ai(t)},Li=function(t,e,r,n){try{return n?e(F(r)[0],r[1]):e(r)}catch(e){throw sn(t),e}},Ii=!An((function(t){Array.from(t)}));V({target:"Array",stat:!0,forced:Ii},{from:function(t){var e,r,n,o,i,a,u=K(t),c="function"==typeof this?this:Array,f=arguments.length,l=f>1?arguments[1]:void 0,s=void 0!==l,v=ln(u),p=0;if(s&&(l=M(l,f>2?arguments[2]:void 0,2)),null==v||c==Array&&cn(v))for(r=new c(e=$(u.length));e>p;p++)a=s?l(u[p],p):u[p],tr(r,p,a);else for(i=(o=v.call(u)).next,r=new c;!(n=i.call(o)).done;p++)a=s?Li(o,l,[n.value,p],!0):n.value,tr(r,p,a);return r.length=p,r}});var Ri=C.Array.from,_i=Kt("iterator"),ki=function(t){var e=Object(t);return void 0!==e[_i]||"@@iterator"in e||lt.hasOwnProperty(ce(e))};Er("asyncDispose"),Er("dispose"),Er("observable"),Er("patternMatch"),Er("replaceAll");var Ni=tn;var Ci=function(t){if(void 0!==Ni&&ki(Object(t)))return Ri(t)},Di=ur("slice"),Mi=ze("slice",{ACCESSORS:!0,0:0,1:2}),Fi=Kt("species"),Gi=[].slice,Wi=Math.max;V({target:"Array",proto:!0,forced:!Di||!Mi},{slice:function(t,e){var r,n,o,i=g(this),a=$(i.length),u=Z(t,a),c=Z(void 0===e?a:e,a);if(_e(i)&&("function"!=typeof(r=i.constructor)||r!==Array&&!_e(r.prototype)?m(r)&&null===(r=r[Fi])&&(r=void 0):r=void 0,r===Array||void 0===r))return Gi.call(i,u,c);for(n=new(void 0===r?Array:r)(Wi(c-u,0)),o=0;u<c;u++,o++)u in i&&tr(n,o,i[u]);return n.length=o,n}});var qi=Ye("Array").slice,zi=Array.prototype,Ui=function(t){var e=t.slice;return t===zi||t instanceof Array&&e===zi.slice?qi:e},Vi=Ui;var Ki=function(t,e){var r;if(t){if("string"==typeof t)return Ai(t,e);var n=Vi(r=Object.prototype.toString.call(t)).call(r,8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Ri(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ai(t,e):void 0}};var Hi=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")};var Bi=function(t){return Pi(t)||Ci(t)||Ki(t)||Hi()},Qi=si;var Yi=function(t,e,r){return e in t?Qi(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t},$i=[].slice,Ji=/MSIE .\./.test(er),Xi=function(t){return function(e,r){var n=arguments.length>2,o=n?$i.call(arguments,2):void 0;return t(n?function(){("function"==typeof e?e:Function(e)).apply(this,o)}:e,r)}};V({global:!0,bind:!0,forced:Ji},{setTimeout:Xi(i.setTimeout),setInterval:Xi(i.setInterval)});var Zi=C.setTimeout,ta=Or.f("iterator"),ea=n((function(t){function e(r){return t.exports=e="function"==typeof Ni&&"symbol"==typeof ta?function(t){return typeof t}:function(t){return t&&"function"==typeof Ni&&t.constructor===Ni&&t!==Ni.prototype?"symbol":typeof t},e(r)}t.exports=e}));var ra=function(t){var e=ea(t);return null!=t&&("object"==e||"function"==e)},na="object"==ea(r)&&r&&r.Object===Object&&r,oa="object"==("undefined"==typeof self?"undefined":ea(self))&&self&&self.Object===Object&&self,ia=na||oa||Function("return this")(),aa=function(){return ia.Date.now()},ua=Ui,ca="\t\n\v\f\r                 \u2028\u2029\ufeff",fa="["+ca+"]",la=RegExp("^"+fa+fa+"*"),sa=RegExp(fa+fa+"*$"),va=function(t){return function(e){var r=String(y(e));return 1&t&&(r=r.replace(la,"")),2&t&&(r=r.replace(sa,"")),r}},pa={start:va(1),end:va(2),trim:va(3)}.trim,da=i.parseInt,ha=/^[+-]?0[Xx]/,ya=8!==da(ca+"08")||22!==da(ca+"0x16")?function(t,e){var r=pa(String(t));return da(r,e>>>0||(ha.test(r)?16:10))}:da;V({global:!0,forced:parseInt!=ya},{parseInt:ya});var ga=C.parseInt,ma=ia.Symbol,ba=Object.prototype,wa=ba.hasOwnProperty,Oa=ba.toString,Sa=ma?ma.toStringTag:void 0;var Ea=function(t){var e=wa.call(t,Sa),r=t[Sa];try{t[Sa]=void 0;var n=!0}catch(t){}var o=Oa.call(t);return n&&(e?t[Sa]=r:delete t[Sa]),o},ja=Object.prototype.toString;var xa=function(t){return ja.call(t)},Ta=ma?ma.toStringTag:void 0;var Aa=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":Ta&&Ta in Object(t)?Ea(t):xa(t)};var Pa=function(t){return null!=t&&"object"==ea(t)};var La=function(t){return"symbol"==ea(t)||Pa(t)&&"[object Symbol]"==Aa(t)},Ia=/^\s+|\s+$/g,Ra=/^[-+]0x[0-9a-f]+$/i,_a=/^0b[01]+$/i,ka=/^0o[0-7]+$/i,Na=ga;var Ca=function(t){if("number"==typeof t)return t;if(La(t))return NaN;if(ra(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=ra(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(Ia,"");var r=_a.test(t);return r||ka.test(t)?Na(ua(t).call(t,2),r?2:8):Ra.test(t)?NaN:+t},Da=Math.max,Ma=Math.min;var Fa=function(t,e,r){var n,o,i,a,u,c,f=0,l=!1,s=!1,v=!0;if("function"!=typeof t)throw new TypeError("Expected a function");function p(e){var r=n,i=o;return n=o=void 0,f=e,a=t.apply(i,r)}function d(t){return f=t,u=Zi(y,e),l?p(t):a}function h(t){var r=t-c;return void 0===c||r>=e||r<0||s&&t-f>=i}function y(){var t=aa();if(h(t))return g(t);u=Zi(y,function(t){var r=e-(t-c);return s?Ma(r,i-(t-f)):r}(t))}function g(t){return u=void 0,v&&n?p(t):(n=o=void 0,a)}function m(){var t=aa(),r=h(t);if(n=arguments,o=this,c=t,r){if(void 0===u)return d(c);if(s)return clearTimeout(u),u=Zi(y,e),p(c)}return void 0===u&&(u=Zi(y,e)),a}return e=Ca(e)||0,ra(r)&&(l=!!r.leading,i=(s="maxWait"in r)?Da(Ca(r.maxWait)||0,e):i,v="trailing"in r?!!r.trailing:v),m.cancel=function(){void 0!==u&&clearTimeout(u),f=0,n=c=o=u=void 0},m.flush=function(){return void 0===u?a:g(aa())},m};var Ga=function(t,e,r){var n=!0,o=!0;if("function"!=typeof t)throw new TypeError("Expected a function");return ra(r)&&(n="leading"in r?!!r.leading:n,o="trailing"in r?!!r.trailing:o),Fa(t,e,{leading:n,maxWait:e,trailing:o})},Wa=[].reverse,qa=[1,2];V({target:"Array",proto:!0,forced:String(qa)===String(qa.reverse())},{reverse:function(){return _e(this)&&(this.length=this.length),Wa.call(this)}});var za=Ye("Array").reverse,Ua=Array.prototype,Va=function(t){var e=t.reverse;return t===Ua||t instanceof Array&&e===Ua.reverse?za:e};V({target:"Object",stat:!0},{setPrototypeOf:he});var Ka=C.Object.setPrototypeOf,Ha=a((function(){Gt(1)}));V({target:"Object",stat:!0,forced:Ha,sham:!Dt},{getPrototypeOf:function(t){return Gt(K(t))}});var Ba=C.Object.getPrototypeOf;V({target:"Object",stat:!0,sham:!u},{create:ne});var Qa=C.Object,Ya=function(t,e){return Qa.create(t,e)},$a=n((function(t){var e=function(t){var e,r=Object.prototype,n=r.hasOwnProperty,o="function"==typeof en?en:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag";function c(t,e,r){return vi(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(t){c=function(t,e,r){return t[e]=r}}function f(t,e,r,n){var o=e&&e.prototype instanceof y?e:y,i=Ya(o.prototype),a=new A(n||[]);return i._invoke=function(t,e,r){var n=s;return function(o,i){if(n===p)throw new Error("Generator is already running");if(n===d){if("throw"===o)throw i;return L()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var u=j(a,r);if(u){if(u===h)continue;return u}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===s)throw n=d,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=p;var c=l(t,e,r);if("normal"===c.type){if(n=r.done?d:v,c.arg===h)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n=d,r.method="throw",r.arg=c.arg)}}}(t,r,a),i}function l(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=f;var s="suspendedStart",v="suspendedYield",p="executing",d="completed",h={};function y(){}function g(){}function m(){}var b={};b[i]=function(){return this};var w=Ba&&Ba(Ba(P([])));w&&w!==r&&n.call(w,i)&&(b=w);var O=m.prototype=y.prototype=Ya(b);function S(t){var e;Ze(e=["next","throw","return"]).call(e,(function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function E(t,e){function r(o,i,a,u){var c=l(t[o],t,i);if("throw"!==c.type){var f=c.arg,s=f.value;return s&&"object"===ea(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,u)}),(function(t){r("throw",t,a,u)})):e.resolve(s).then((function(t){f.value=t,a(f)}),(function(t){return r("throw",t,a,u)}))}u(c.arg)}var o;this._invoke=function(t,n){function i(){return new e((function(e,o){r(t,n,e,o)}))}return o=o?o.then(i,i):i()}}function j(t,r){var n=t.iterator[r.method];if(n===e){if(r.delegate=null,"throw"===r.method){if(t.iterator.return&&(r.method="return",r.arg=e,j(t,r),"throw"===r.method))return h;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return h}var o=l(n,t.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,h;var i=o.arg;return i?i.done?(r[t.resultName]=i.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,h):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,h)}function x(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function A(t){this.tryEntries=[{tryLoc:"root"}],Ze(t).call(t,x,this),this.reset(!0)}function P(t){if(t){var r=t[i];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,a=function r(){for(;++o<t.length;)if(n.call(t,o))return r.value=t[o],r.done=!1,r;return r.value=e,r.done=!0,r};return a.next=a}}return{next:L}}function L(){return{value:e,done:!0}}return g.prototype=O.constructor=m,m.constructor=g,g.displayName=c(m,u,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===g||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Ka?Ka(t,m):(t.__proto__=m,c(t,u,"GeneratorFunction")),t.prototype=Ya(O),t},t.awrap=function(t){return{__await:t}},S(E.prototype),E.prototype[a]=function(){return this},t.AsyncIterator=E,t.async=function(e,r,n,o,i){void 0===i&&(i=Jo);var a=new E(f(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},S(O),c(O,u,"Generator"),O[i]=function(){return this},O.toString=function(){return"[object Generator]"},t.keys=function(t){var e=[];for(var r in t)e.push(r);return Va(e).call(e),function r(){for(;e.length;){var n=e.pop();if(n in t)return r.value=n,r.done=!1,r}return r.done=!0,r}},t.values=P,A.prototype={constructor:A,reset:function(t){var r;if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,Ze(r=this.tryEntries).call(r,T),!t)for(var o in this)"t"===o.charAt(0)&&n.call(this,o)&&!isNaN(+ua(o).call(o,1))&&(this[o]=e)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function o(n,o){return u.type="throw",u.arg=t,r.next=n,o&&(r.method="next",r.arg=e),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=n.call(a,"catchLoc"),f=n.call(a,"finallyLoc");if(c&&f){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!f)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,h):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),h},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),h}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:P(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),h}},t}(t.exports);try{regeneratorRuntime=e}catch(t){Function("r","regeneratorRuntime = r")(e)}}));V({target:"Promise",stat:!0},{try:function(t){var e=po.f(this),r=yo(t);return(r.error?e.reject:e.resolve)(r.value),e.promise}});var Ja=$o;function Xa(t,e,r,n,o,i,a){try{var u=t[i](a),c=u.value}catch(t){return void r(t)}u.done?e(c):Ja.resolve(c).then(n,o)}var Za,tu=function(t){return function(){var e=this,r=arguments;return new Ja((function(n,o){var i=t.apply(e,r);function a(t){Xa(i,n,o,a,u,"next",t)}function u(t){Xa(i,n,o,a,u,"throw",t)}a(void 0)}))}},eu=Object.prototype.toString,ru=function(t){return eu.call(t)},nu=function(t){return"[object String]"===ru(t)},ou=function(t){return"[object Object]"===ru(t)},iu=function(t){return t instanceof Jo},au=function(t){return t instanceof Function},uu=function(t){return null==t},cu=function(){var t,e;return"visible"===(null===(t=window)||void 0===t||null===(e=t.document)||void 0===e?void 0:e.visibilityState)},fu=function(){var t,e,r;return null===(t=null===(e=window)||void 0===e||null===(r=e.navigator)||void 0===r?void 0:r.onLine)||void 0===t||t},lu=Jo.resolve(null),su=function(){var t=tu($a.mark((function t(){var e,r=arguments;return $a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,fetch.apply(void 0,r);case 2:if(!(e=t.sent).ok){t.next=5;break}return t.abrupt("return",e.json());case 5:throw new Error(e.statusText);case 6:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),vu=function(t,r,n){var o,i,a,u,c,f=r.initialAutoRunFlag,l=r.initialData,s=r.loadingDelay,v=r.pollingInterval,p=r.debounceInterval,d=r.throttleInterval,h=r.pollingWhenHidden,y=r.pollingWhenOffline,g=r.errorRetryCount,m=r.errorRetryInterval,b=r.stopPollingWhenHiddenOrOffline,w=r.updateCache,O=r.formatResult,S=r.onSuccess,E=r.onError,j=0,x=e.ref(null!==(o=null==n?void 0:n.loading)&&void 0!==o&&o),T=e.ref(null!==(i=null==n?void 0:n.data)&&void 0!==i?i:l),A=e.ref(null==n?void 0:n.error),P=e.ref(null!==(a=null==n?void 0:n.params)&&void 0!==a?a:[]),L=(u={loading:x,data:T,error:A,params:P},c=[function(t){return w(t)}],function(t){var r;Ze(r=ft(t)).call(r,(function(e){u[e].value=t[e]})),e.nextTick((function(){Ze(c).call(c,(function(t){return t(u)}))}))}),I=function(){j=0},R=e.ref(0),_=e.ref(),k=e.ref(),N=e.ref(),C=function(){_.value&&_.value(),N.value&&N.value(),k.value&&k.value()},D=function(){var t;return s&&(t=Zi(L,s,{loading:!0})),function(){return t&&clearTimeout(t)}},M=function(t){if(!A.value||0===g){var e;if(!uu(v)&&v>=0){if(!h&&!cu()||!y&&!fu())return void(b.value=!0);e=Zi(t,v)}return function(){return e&&clearTimeout(e)}}},F=function(t){var e,r=-1===g,n=j<g;return A.value&&(r||n)&&(r||(j+=1),e=Zi(t,m)),function(){return e&&clearTimeout(e)}},G=function e(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];L({loading:!s,params:n}),N.value=D(),R.value+=1;var i=R.value;return t.apply(void 0,n).then((function(t){if(i===R.value){var e=O?O(t):t;return L({data:e,loading:!1,error:void 0}),S&&S(e,n),I(),e}return lu})).catch((function(t){return i===R.value&&(L({data:void 0,loading:!1,error:t}),E&&E(t,n),console.error(t)),lu})).finally((function(){i===R.value&&(N.value(),k.value=F((function(){return e.apply(void 0,n)})),_.value=M((function(){return e.apply(void 0,n)})))}))},W=!uu(p)&&Fa(G,p),q=!uu(d)&&Ga(G,d),z=function(){return C(),!f.value&&W?(W.apply(void 0,arguments),lu):q?(q.apply(void 0,arguments),lu):(I(),G.apply(void 0,arguments))};return{loading:x,data:T,error:A,params:P,run:z,cancel:function(){R.value+=1,L({loading:!1}),W&&W.cancel(),q&&q.cancel(),C()},refresh:function(){return z.apply(void 0,Bi(P.value))},mutate:function(t){var e=au(t)?t(T.value):t;L({data:e})}}},pu=!a((function(){return Object.isExtensible(Object.preventExtensions({}))})),du=n((function(t){var e=W.f,r=Et("meta"),n=0,o=Object.isExtensible||function(){return!0},i=function(t){e(t,r,{value:{objectID:"O"+ ++n,weakData:{}}})},a=t.exports={REQUIRED:!1,fastKey:function(t,e){if(!m(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!O(t,r)){if(!o(t))return"F";if(!e)return"E";i(t)}return t[r].objectID},getWeakData:function(t,e){if(!O(t,r)){if(!o(t))return!0;if(!e)return!1;i(t)}return t[r].weakData},onFreeze:function(t){return pu&&a.REQUIRED&&o(t)&&!O(t,r)&&i(t),t}};rt[r]=!0})),hu=W.f,yu=Me.forEach,gu=Ct.set,mu=Ct.getterFor,bu=function(t,e,r){var n,o=-1!==t.indexOf("Map"),c=-1!==t.indexOf("Weak"),f=o?"set":"add",l=i[t],s=l&&l.prototype,v={};if(u&&"function"==typeof l&&(c||s.forEach&&!a((function(){(new l).entries().next()})))){n=e((function(e,r){gu(bn(e,n,t),{type:t,collection:new l}),null!=r&&pn(r,e[f],{that:e,AS_ENTRIES:o})}));var p=mu(t);yu(["add","clear","delete","forEach","get","has","set","keys","values","entries"],(function(t){var e="add"==t||"set"==t;!(t in s)||c&&"clear"==t||q(n.prototype,t,(function(r,n){var o=p(this).collection;if(!e&&c&&!m(r))return"get"==t&&void 0;var i=o[t](0===r?0:r,n);return e?this:i}))})),c||hu(n.prototype,"size",{configurable:!0,get:function(){return p(this).collection.size}})}else n=r.getConstructor(e,t,o,f),du.REQUIRED=!0;return ve(n,t,!1,!0),v[t]=n,V({global:!0,forced:!0},v),c||r.setStrong(n,t,o),n},wu=W.f,Ou=du.fastKey,Su=Ct.set,Eu=Ct.getterFor,ju={getConstructor:function(t,e,r,n){var o=t((function(t,i){bn(t,o,e),Su(t,{type:e,index:ne(null),first:void 0,last:void 0,size:0}),u||(t.size=0),null!=i&&pn(i,t[n],{that:t,AS_ENTRIES:r})})),i=Eu(e),a=function(t,e,r){var n,o,a=i(t),f=c(t,e);return f?f.value=r:(a.last=f={index:o=Ou(e,!0),key:e,value:r,previous:n=a.last,next:void 0,removed:!1},a.first||(a.first=f),n&&(n.next=f),u?a.size++:t.size++,"F"!==o&&(a.index[o]=f)),t},c=function(t,e){var r,n=i(t),o=Ou(e);if("F"!==o)return n.index[o];for(r=n.first;r;r=r.next)if(r.key==e)return r};return yn(o.prototype,{clear:function(){for(var t=i(this),e=t.index,r=t.first;r;)r.removed=!0,r.previous&&(r.previous=r.previous.next=void 0),delete e[r.index],r=r.next;t.first=t.last=void 0,u?t.size=0:this.size=0},delete:function(t){var e=this,r=i(e),n=c(e,t);if(n){var o=n.next,a=n.previous;delete r.index[n.index],n.removed=!0,a&&(a.next=o),o&&(o.previous=a),r.first==n&&(r.first=o),r.last==n&&(r.last=a),u?r.size--:e.size--}return!!n},forEach:function(t){for(var e,r=i(this),n=M(t,arguments.length>1?arguments[1]:void 0,3);e=e?e.next:r.first;)for(n(e.value,e.key,this);e&&e.removed;)e=e.previous},has:function(t){return!!c(this,t)}}),yn(o.prototype,r?{get:function(t){var e=c(this,t);return e&&e.value},set:function(t,e){return a(this,0===t?0:t,e)}}:{add:function(t){return a(this,t=0===t?0:t,t)}}),u&&wu(o.prototype,"size",{get:function(){return i(this).size}}),o},setStrong:function(t,e,r){var n=e+" Iterator",o=Eu(e),i=Eu(n);je(t,e,(function(t,e){Su(this,{type:n,target:t,state:o(t),kind:e,last:void 0})}),(function(){for(var t=i(this),e=t.kind,r=t.last;r&&r.removed;)r=r.previous;return t.target&&(t.last=r=r?r.next:t.state.first)?"keys"==e?{value:r.key,done:!1}:"values"==e?{value:r.value,done:!1}:{value:[r.key,r.value],done:!1}:(t.target=void 0,{value:void 0,done:!0})}),r?"entries":"values",!r,!0),mn(e)}},xu=(bu("Map",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),ju),new(0,C.Map)),Tu=function(t){if(!uu(t)){var e=xu.get(t);if(e)return{data:e.data,cacheTime:e.cacheTime}}},Au=(bu("Set",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),ju),C.Set),Pu=new Au,Lu=new Au,Iu=new Au,Ru=function(t,e){var r;switch(t){case"FOCUS_LISTENER":r=Pu;break;case"RECONNECT_LISTENER":r=Iu;break;case"VISIBLE_LISTENER":r=Lu}if(!r.has(e))return r.add(e),function(){r.delete(e)}},_u=function(t){Ze(t).call(t,(function(t){t()}))};function ku(t,e){var r=ft(t);if(xi){var n=xi(t);e&&(n=ji(n).call(n,(function(e){return mi(t,e).enumerable}))),r.push.apply(r,n)}return r}function Nu(t){for(var e=1;e<arguments.length;e++){var r,n=null!=arguments[e]?arguments[e]:{};if(e%2)Ze(r=ku(Object(n),!0)).call(r,(function(e){Yi(t,e,n[e])}));else if(hi)pi(t,hi(n));else{var o;Ze(o=ku(Object(n))).call(o,(function(e){vi(t,e,mi(n,e))}))}}return t}!("undefined"==typeof window)&&null!==(Za=window)&&void 0!==Za&&Za.addEventListener&&(window.addEventListener("visibilitychange",(function(){cu()&&_u(Lu)}),!1),window.addEventListener("focus",(function(){return _u(Pu)}),!1),window.addEventListener("online",(function(){return _u(Iu)}),!1));var Cu="__QUERY_DEFAULT_KEY__";function Du(t,r){var n=e.inject(nn,{}),o=Nu(Nu(Nu({},rn),n),r),i=o.initialData,a=o.pollingInterval,u=o.debounceInterval,c=o.throttleInterval,f=o.cacheKey,l=o.defaultParams,s=void 0===l?[]:l,v=o.manual,p=void 0!==v&&v,d=o.ready,h=void 0===d?e.ref(!0):d,y=o.refreshDeps,g=void 0===y?[]:y,m=o.loadingDelay,b=void 0===m?0:m,w=o.pollingWhenHidden,O=void 0!==w&&w,S=o.pollingWhenOffline,E=void 0!==S&&S,j=o.refreshOnWindowFocus,x=void 0!==j&&j,T=o.refocusTimespan,A=void 0===T?5e3:T,P=o.cacheTime,L=void 0===P?6e5:P,I=o.staleTime,R=void 0===I?0:I,_=o.errorRetryCount,k=void 0===_?0:_,N=o.errorRetryInterval,C=void 0===N?0:N,D=o.queryKey,M=o.formatResult,F=o.onSuccess,G=o.onError,W=e.ref(!1),q=e.ref(!1),z=[],U=function(t){t&&z.push(t)},V={initialAutoRunFlag:q,initialData:i,loadingDelay:b,pollingInterval:a,debounceInterval:u,throttleInterval:c,pollingWhenHidden:O,pollingWhenOffline:E,stopPollingWhenHiddenOrOffline:W,cacheKey:f,errorRetryCount:k,errorRetryInterval:C,updateCache:function(t){var r,n;if(f){var o=null===(r=Tu(f))||void 0===r?void 0:r.data,i=null==o?void 0:o.queries,a=function(t){var r,n={};return Ze(r=ft(t)).call(r,(function(r){n[r]=e.unref(t[r])})),n}(t),u=null!==(n=null==D?void 0:D.apply(void 0,Bi(t.params.value)))&&void 0!==n?n:Cu;!function(t,e,r){var n=xu.get(t);null!=n&&n.timer&&clearTimeout(n.timer);var o=Zi((function(){return xu.delete(t)}),r);xu.set(t,{data:e,timer:o,cacheTime:(new Date).getTime()})}(f,{queries:Nu(Nu({},i),{},Yi({},u,Nu(Nu({},null==i?void 0:i[u]),a))),latestQueriesKey:u},L)}},formatResult:M,onSuccess:F,onError:G},K=e.ref(!1),H=e.ref(),B=e.ref(),Q=e.ref(),Y=e.shallowReactive(Yi({},Cu,vu(t,V))),$=e.ref(Cu),J=e.computed((function(){return Y[$.value]}));if(e.watchEffect((function(){K.value=J.value.loading.value,H.value=J.value.data.value,B.value=J.value.error.value,Q.value=J.value.params.value}),{flush:"sync"}),f){var X,Z,tt=Tu(f);if(null!=tt&&null!==(X=tt.data)&&void 0!==X&&X.queries)Ze(Z=ft(tt.data.queries)).call(Z,(function(e){var r=tt.data.queries[e];Y[e]=vu(t,V,{loading:r.loading,params:r.params,data:r.data,error:r.error})})),tt.data.latestQueriesKey&&($.value=tt.data.latestQueriesKey)}var et=e.ref(),rt=e.ref(!1),nt=function(){for(var e,r,n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];if(!h.value&&!rt.value)return et.value=o,lu;var a=null!==(e=null==D?void 0:D.apply(void 0,o))&&void 0!==e?e:Cu;return Y[a]||(Y[a]=vu(t,V)),$.value=a,(r=J.value).run.apply(r,o)};if(!p){var ot;q.value=!0;var it,at=Tu(f),ut=null!==(ot=null==at?void 0:at.data.queries)&&void 0!==ot?ot:{},ct=at&&(-1===R||at.cacheTime+R>(new Date).getTime()),lt=ft(ut).length>0;if(!ct)if(lt)Ze(it=ft(Y)).call(it,(function(t){var e;null===(e=Y[t])||void 0===e||e.refresh()}));else nt.apply(void 0,Bi(s));q.value=!1}var st=e.ref();st.value=e.watch(h,(function(t){rt.value=!0,t&&et.value&&(nt.apply(void 0,Bi(et.value)),st.value())}),{flush:"sync"}),g.length&&e.watch(g,(function(){!p&&J.value.refresh()}));var vt=function(){W.value&&(O||cu())&&(E||fu())&&(J.value.refresh(),W.value=!1)};O||U(Ru("VISIBLE_LISTENER",vt)),E||U(Ru("RECONNECT_LISTENER",vt));var pt,dt,ht,yt=(pt=J.value.refresh,dt=A,ht=!1,function(){ht||(ht=!0,pt.apply(void 0,arguments),Zi((function(){ht=!1}),dt))});return x&&(U(Ru("VISIBLE_LISTENER",yt)),U(Ru("FOCUS_LISTENER",yt))),e.onUnmounted((function(){Ze(z).call(z,(function(t){return t()}))})),{loading:K,data:H,error:B,params:Q,cancel:J.value.cancel,refresh:J.value.refresh,mutate:J.value.mutate,run:nt,queries:Y}}t.RequestConfig=on,t.setGlobalOptions=function(t){var e;Ze(e=ft(t)).call(e,(function(e){rn[e]=t[e]}))},t.useRequest=function(t,e){var r;if(au(t))r=function(){var e,r=t.apply(void 0,arguments);if(iu(r))e=r;else if(ou(r)){var n=r.url,o=li(r,["url"]);e=su(n,o)}else{if(!nu(r))throw new Error("Unknown service type");e=su(r)}return new Jo((function(t,r){e.then(t).catch(r)}))};else if(ou(t)){var n=t.url,o=li(t,["url"]);r=function(){return su(n,o)}}else{if(!nu(t))throw Error("Unknown service type");r=function(){return su(t)}}return Du(r,null!=e?e:{})},Object.defineProperty(t,"__esModule",{value:!0})}(this.VueRequest=this.VueRequest||{},Vue);
!function(t,e){"use strict";var r="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function n(t,e,r){return t(r={path:e,exports:{},require:function(t,e){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(null==e&&r.path)}},r.exports),r.exports}var o=function(t){return t&&t.Math==Math&&t},i=o("object"==typeof globalThis&&globalThis)||o("object"==typeof window&&window)||o("object"==typeof self&&self)||o("object"==typeof r&&r)||function(){return this}()||Function("return this")(),a=function(t){try{return!!t()}catch(t){return!0}},u=!a((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),c={}.propertyIsEnumerable,f=Object.getOwnPropertyDescriptor,l={f:f&&!c.call({1:2},1)?function(t){var e=f(this,t);return!!e&&e.enumerable}:c},s=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},v={}.toString,p=function(t){return v.call(t).slice(8,-1)},d="".split,h=a((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==p(t)?d.call(t,""):Object(t)}:Object,y=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t},g=function(t){return h(y(t))},m=function(t){return"object"==typeof t?null!==t:"function"==typeof t},b=function(t,e){if(!m(t))return t;var r,n;if(e&&"function"==typeof(r=t.toString)&&!m(n=r.call(t)))return n;if("function"==typeof(r=t.valueOf)&&!m(n=r.call(t)))return n;if(!e&&"function"==typeof(r=t.toString)&&!m(n=r.call(t)))return n;throw TypeError("Can't convert object to primitive value")},w={}.hasOwnProperty,O=function(t,e){return w.call(t,e)},S=i.document,E=m(S)&&m(S.createElement),j=function(t){return E?S.createElement(t):{}},x=!u&&!a((function(){return 7!=Object.defineProperty(j("div"),"a",{get:function(){return 7}}).a})),T=Object.getOwnPropertyDescriptor,A={f:u?T:function(t,e){if(t=g(t),e=b(e,!0),x)try{return T(t,e)}catch(t){}if(O(t,e))return s(!l.f.call(t,e),t[e])}},P=/#|\.prototype\./,L=function(t,e){var r=R[I(t)];return r==k||r!=_&&("function"==typeof e?a(e):!!e)},I=L.normalize=function(t){return String(t).replace(P,".").toLowerCase()},R=L.data={},_=L.NATIVE="N",k=L.POLYFILL="P",N=L,C={},M=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t},D=function(t,e,r){if(M(t),void 0===e)return t;switch(r){case 0:return function(){return t.call(e)};case 1:return function(r){return t.call(e,r)};case 2:return function(r,n){return t.call(e,r,n)};case 3:return function(r,n,o){return t.call(e,r,n,o)}}return function(){return t.apply(e,arguments)}},F=function(t){if(!m(t))throw TypeError(String(t)+" is not an object");return t},G=Object.defineProperty,W={f:u?G:function(t,e,r){if(F(t),e=b(e,!0),F(r),x)try{return G(t,e,r)}catch(t){}if("get"in r||"set"in r)throw TypeError("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},q=u?function(t,e,r){return W.f(t,e,s(1,r))}:function(t,e,r){return t[e]=r,t},z=A.f,U=function(t){var e=function(e,r,n){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,r)}return new t(e,r,n)}return t.apply(this,arguments)};return e.prototype=t.prototype,e},V=function(t,e){var r,n,o,a,u,c,f,l,s=t.target,v=t.global,p=t.stat,d=t.proto,h=v?i:p?i[s]:(i[s]||{}).prototype,y=v?C:C[s]||(C[s]={}),g=y.prototype;for(o in e)r=!N(v?o:s+(p?".":"#")+o,t.forced)&&h&&O(h,o),u=y[o],r&&(c=t.noTargetGet?(l=z(h,o))&&l.value:h[o]),a=r&&c?c:e[o],r&&typeof u==typeof a||(f=t.bind&&r?D(a,i):t.wrap&&r?U(a):d&&"function"==typeof a?D(Function.call,a):a,(t.sham||a&&a.sham||u&&u.sham)&&q(f,"sham",!0),y[o]=f,d&&(O(C,n=s+"Prototype")||q(C,n,{}),C[n][o]=a,t.real&&g&&!g[o]&&q(g,o,a)))},K=function(t){return Object(y(t))},H=Math.ceil,B=Math.floor,Q=function(t){return isNaN(t=+t)?0:(t>0?B:H)(t)},Y=Math.min,$=function(t){return t>0?Y(Q(t),9007199254740991):0},J=Math.max,X=Math.min,Z=function(t,e){var r=Q(t);return r<0?J(r+e,0):X(r,e)},tt=function(t){return function(e,r,n){var o,i=g(e),a=$(i.length),u=Z(n,a);if(t&&r!=r){for(;a>u;)if((o=i[u++])!=o)return!0}else for(;a>u;u++)if((t||u in i)&&i[u]===r)return t||u||0;return!t&&-1}},et={includes:tt(!0),indexOf:tt(!1)},rt={},nt=et.indexOf,ot=function(t,e){var r,n=g(t),o=0,i=[];for(r in n)!O(rt,r)&&O(n,r)&&i.push(r);for(;e.length>o;)O(n,r=e[o++])&&(~nt(i,r)||i.push(r));return i},it=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],at=Object.keys||function(t){return ot(t,it)},ut=a((function(){at(1)}));V({target:"Object",stat:!0,forced:ut},{keys:function(t){return at(K(t))}});var ct=C.Object.keys,ft=ct,lt={},st="__core-js_shared__",vt=i[st]||function(t,e){try{q(i,t,e)}catch(r){i[t]=e}return e}(st,{}),pt=Function.toString;"function"!=typeof vt.inspectSource&&(vt.inspectSource=function(t){return pt.call(t)});var dt,ht,yt,gt=vt.inspectSource,mt=i.WeakMap,bt="function"==typeof mt&&/native code/.test(gt(mt)),wt=n((function(t){(t.exports=function(t,e){return vt[t]||(vt[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.7.0",mode:"pure",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})})),Ot=0,St=Math.random(),Et=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++Ot+St).toString(36)},jt=wt("keys"),xt=function(t){return jt[t]||(jt[t]=Et(t))},Tt=i.WeakMap;if(bt){var At=vt.state||(vt.state=new Tt),Pt=At.get,Lt=At.has,It=At.set;dt=function(t,e){return e.facade=t,It.call(At,t,e),e},ht=function(t){return Pt.call(At,t)||{}},yt=function(t){return Lt.call(At,t)}}else{var Rt=xt("state");rt[Rt]=!0,dt=function(t,e){return e.facade=t,q(t,Rt,e),e},ht=function(t){return O(t,Rt)?t[Rt]:{}},yt=function(t){return O(t,Rt)}}var _t,kt,Nt,Ct={set:dt,get:ht,has:yt,enforce:function(t){return yt(t)?ht(t):dt(t,{})},getterFor:function(t){return function(e){var r;if(!m(e)||(r=ht(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return r}}},Mt=!a((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})),Dt=xt("IE_PROTO"),Ft=Object.prototype,Gt=Mt?Object.getPrototypeOf:function(t){return t=K(t),O(t,Dt)?t[Dt]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?Ft:null},Wt=!!Object.getOwnPropertySymbols&&!a((function(){return!String(Symbol())})),qt=Wt&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,zt=wt("wks"),Ut=i.Symbol,Vt=qt?Ut:Ut&&Ut.withoutSetter||Et,Kt=function(t){return O(zt,t)||(Wt&&O(Ut,t)?zt[t]=Ut[t]:zt[t]=Vt("Symbol."+t)),zt[t]},Ht=(Kt("iterator"),!1);[].keys&&("next"in(Nt=[].keys())?(kt=Gt(Gt(Nt)))!==Object.prototype&&(_t=kt):Ht=!0),null==_t&&(_t={});var Bt,Qt={IteratorPrototype:_t,BUGGY_SAFARI_ITERATORS:Ht},Yt=u?Object.defineProperties:function(t,e){F(t);for(var r,n=at(e),o=n.length,i=0;o>i;)W.f(t,r=n[i++],e[r]);return t},$t=function(t){return"function"==typeof t?t:void 0},Jt=function(t,e){return arguments.length<2?$t(C[t])||$t(i[t]):C[t]&&C[t][e]||i[t]&&i[t][e]},Xt=Jt("document","documentElement"),Zt=xt("IE_PROTO"),te=function(){},ee=function(t){return"<script>"+t+"</"+"script>"},re=function(){try{Bt=document.domain&&new ActiveXObject("htmlfile")}catch(t){}var t,e;re=Bt?function(t){t.write(ee("")),t.close();var e=t.parentWindow.Object;return t=null,e}(Bt):((e=j("iframe")).style.display="none",Xt.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(ee("document.F=Object")),t.close(),t.F);for(var r=it.length;r--;)delete re.prototype[it[r]];return re()};rt[Zt]=!0;var ne=Object.create||function(t,e){var r;return null!==t?(te.prototype=F(t),r=new te,te.prototype=null,r[Zt]=t):r=re(),void 0===e?r:Yt(r,e)},oe={};oe[Kt("toStringTag")]="z";var ie="[object z]"===String(oe),ae=Kt("toStringTag"),ue="Arguments"==p(function(){return arguments}()),ce=ie?p:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),ae))?r:ue?p(e):"Object"==(n=p(e))&&"function"==typeof e.callee?"Arguments":n},fe=ie?{}.toString:function(){return"[object "+ce(this)+"]"},le=W.f,se=Kt("toStringTag"),ve=function(t,e,r,n){if(t){var o=r?t:t.prototype;O(o,se)||le(o,se,{configurable:!0,value:e}),n&&!ie&&q(o,"toString",fe)}},pe=Qt.IteratorPrototype,de=function(){return this},he=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(r,[]),e=r instanceof Array}catch(t){}return function(r,n){return F(r),function(t){if(!m(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype")}(n),e?t.call(r,n):r.__proto__=n,r}}():void 0),ye=function(t,e,r,n){n&&n.enumerable?t[e]=r:q(t,e,r)},ge=Qt.IteratorPrototype,me=Qt.BUGGY_SAFARI_ITERATORS,be=Kt("iterator"),we="keys",Oe="values",Se="entries",Ee=function(){return this},je=function(t,e,r,n,o,i,a){!function(t,e,r){var n=e+" Iterator";t.prototype=ne(pe,{next:s(1,r)}),ve(t,n,!1,!0),lt[n]=de}(r,e,n);var u,c,f,l=function(t){if(t===o&&y)return y;if(!me&&t in d)return d[t];switch(t){case we:case Oe:case Se:return function(){return new r(this,t)}}return function(){return new r(this)}},v=e+" Iterator",p=!1,d=t.prototype,h=d[be]||d["@@iterator"]||o&&d[o],y=!me&&h||l(o),g="Array"==e&&d.entries||h;if(g&&(u=Gt(g.call(new t)),ge!==Object.prototype&&u.next&&(ve(u,v,!0,!0),lt[v]=Ee)),o==Oe&&h&&h.name!==Oe&&(p=!0,y=function(){return h.call(this)}),a&&d[be]!==y&&q(d,be,y),lt[e]=y,o)if(c={values:l(Oe),keys:i?y:l(we),entries:l(Se)},a)for(f in c)(me||p||!(f in d))&&ye(d,f,c[f]);else V({target:e,proto:!0,forced:me||p},c);return c},xe="Array Iterator",Te=Ct.set,Ae=Ct.getterFor(xe);je(Array,"Array",(function(t,e){Te(this,{type:xe,target:g(t),index:0,kind:e})}),(function(){var t=Ae(this),e=t.target,r=t.kind,n=t.index++;return!e||n>=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==r?{value:n,done:!1}:"values"==r?{value:e[n],done:!1}:{value:[n,e[n]],done:!1}}),"values");lt.Arguments=lt.Array;var Pe=Kt("toStringTag");for(var Le in{CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}){var Ie=i[Le],Re=Ie&&Ie.prototype;Re&&ce(Re)!==Pe&&q(Re,Pe,Le),lt[Le]=lt.Array}var _e=Array.isArray||function(t){return"Array"==p(t)},ke=Kt("species"),Ne=function(t,e){var r;return _e(t)&&("function"!=typeof(r=t.constructor)||r!==Array&&!_e(r.prototype)?m(r)&&null===(r=r[ke])&&(r=void 0):r=void 0),new(void 0===r?Array:r)(0===e?0:e)},Ce=[].push,Me=function(t){var e=1==t,r=2==t,n=3==t,o=4==t,i=6==t,a=5==t||i;return function(u,c,f,l){for(var s,v,p=K(u),d=h(p),y=D(c,f,3),g=$(d.length),m=0,b=l||Ne,w=e?b(u,g):r?b(u,0):void 0;g>m;m++)if((a||m in d)&&(v=y(s=d[m],m,p),t))if(e)w[m]=v;else if(v)switch(t){case 3:return!0;case 5:return s;case 6:return m;case 2:Ce.call(w,s)}else if(o)return!1;return i?-1:n||o?o:w}},De={forEach:Me(0),map:Me(1),filter:Me(2),some:Me(3),every:Me(4),find:Me(5),findIndex:Me(6)},Fe=function(t,e){var r=[][t];return!!r&&a((function(){r.call(null,e||function(){throw 1},1)}))},Ge=Object.defineProperty,We={},qe=function(t){throw t},ze=function(t,e){if(O(We,t))return We[t];e||(e={});var r=[][t],n=!!O(e,"ACCESSORS")&&e.ACCESSORS,o=O(e,0)?e[0]:qe,i=O(e,1)?e[1]:void 0;return We[t]=!!r&&!a((function(){if(n&&!u)return!0;var t={length:-1};n?Ge(t,1,{enumerable:!0,get:qe}):t[1]=1,r.call(t,o,i)}))},Ue=De.forEach,Ve=Fe("forEach"),Ke=ze("forEach"),He=Ve&&Ke?[].forEach:function(t){return Ue(this,t,arguments.length>1?arguments[1]:void 0)};V({target:"Array",proto:!0,forced:[].forEach!=He},{forEach:He});var Be,Qe,Ye=function(t){return C[t+"Prototype"]},$e=Ye("Array").forEach,Je=Array.prototype,Xe={DOMTokenList:!0,NodeList:!0},Ze=function(t){var e=t.forEach;return t===Je||t instanceof Array&&e===Je.forEach||Xe.hasOwnProperty(ce(t))?$e:e},tr=function(t,e,r){var n=b(e);n in t?W.f(t,n,s(0,r)):t[n]=r},er=Jt("navigator","userAgent")||"",rr=i.process,nr=rr&&rr.versions,or=nr&&nr.v8;or?Qe=(Be=or.split("."))[0]+Be[1]:er&&(!(Be=er.match(/Edge\/(\d+)/))||Be[1]>=74)&&(Be=er.match(/Chrome\/(\d+)/))&&(Qe=Be[1]);var ir=Qe&&+Qe,ar=Kt("species"),ur=function(t){return ir>=51||!a((function(){var e=[];return(e.constructor={})[ar]=function(){return{foo:1}},1!==e[t](Boolean).foo}))},cr=Kt("isConcatSpreadable"),fr=9007199254740991,lr="Maximum allowed index exceeded",sr=ir>=51||!a((function(){var t=[];return t[cr]=!1,t.concat()[0]!==t})),vr=ur("concat"),pr=function(t){if(!m(t))return!1;var e=t[cr];return void 0!==e?!!e:_e(t)};V({target:"Array",proto:!0,forced:!sr||!vr},{concat:function(t){var e,r,n,o,i,a=K(this),u=Ne(a,0),c=0;for(e=-1,n=arguments.length;e<n;e++)if(pr(i=-1===e?a:arguments[e])){if(c+(o=$(i.length))>fr)throw TypeError(lr);for(r=0;r<o;r++,c++)r in i&&tr(u,c,i[r])}else{if(c>=fr)throw TypeError(lr);tr(u,c++,i)}return u.length=c,u}});var dr=it.concat("length","prototype"),hr={f:Object.getOwnPropertyNames||function(t){return ot(t,dr)}},yr=hr.f,gr={}.toString,mr="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],br={f:function(t){return mr&&"[object Window]"==gr.call(t)?function(t){try{return yr(t)}catch(t){return mr.slice()}}(t):yr(g(t))}},wr={f:Object.getOwnPropertySymbols},Or={f:Kt},Sr=W.f,Er=function(t){var e=C.Symbol||(C.Symbol={});O(e,t)||Sr(e,t,{value:Or.f(t)})},jr=De.forEach,xr=xt("hidden"),Tr="Symbol",Ar=Kt("toPrimitive"),Pr=Ct.set,Lr=Ct.getterFor(Tr),Ir=Object.prototype,Rr=i.Symbol,_r=Jt("JSON","stringify"),kr=A.f,Nr=W.f,Cr=br.f,Mr=l.f,Dr=wt("symbols"),Fr=wt("op-symbols"),Gr=wt("string-to-symbol-registry"),Wr=wt("symbol-to-string-registry"),qr=wt("wks"),zr=i.QObject,Ur=!zr||!zr.prototype||!zr.prototype.findChild,Vr=u&&a((function(){return 7!=ne(Nr({},"a",{get:function(){return Nr(this,"a",{value:7}).a}})).a}))?function(t,e,r){var n=kr(Ir,e);n&&delete Ir[e],Nr(t,e,r),n&&t!==Ir&&Nr(Ir,e,n)}:Nr,Kr=function(t,e){var r=Dr[t]=ne(Rr.prototype);return Pr(r,{type:Tr,tag:t,description:e}),u||(r.description=e),r},Hr=qt?function(t){return"symbol"==typeof t}:function(t){return Object(t)instanceof Rr},Br=function(t,e,r){t===Ir&&Br(Fr,e,r),F(t);var n=b(e,!0);return F(r),O(Dr,n)?(r.enumerable?(O(t,xr)&&t[xr][n]&&(t[xr][n]=!1),r=ne(r,{enumerable:s(0,!1)})):(O(t,xr)||Nr(t,xr,s(1,{})),t[xr][n]=!0),Vr(t,n,r)):Nr(t,n,r)},Qr=function(t,e){F(t);var r=g(e),n=at(r).concat(Xr(r));return jr(n,(function(e){u&&!Yr.call(r,e)||Br(t,e,r[e])})),t},Yr=function(t){var e=b(t,!0),r=Mr.call(this,e);return!(this===Ir&&O(Dr,e)&&!O(Fr,e))&&(!(r||!O(this,e)||!O(Dr,e)||O(this,xr)&&this[xr][e])||r)},$r=function(t,e){var r=g(t),n=b(e,!0);if(r!==Ir||!O(Dr,n)||O(Fr,n)){var o=kr(r,n);return!o||!O(Dr,n)||O(r,xr)&&r[xr][n]||(o.enumerable=!0),o}},Jr=function(t){var e=Cr(g(t)),r=[];return jr(e,(function(t){O(Dr,t)||O(rt,t)||r.push(t)})),r},Xr=function(t){var e=t===Ir,r=Cr(e?Fr:g(t)),n=[];return jr(r,(function(t){!O(Dr,t)||e&&!O(Ir,t)||n.push(Dr[t])})),n};if(Wt||(ye((Rr=function(){if(this instanceof Rr)throw TypeError("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,e=Et(t),r=function(t){this===Ir&&r.call(Fr,t),O(this,xr)&&O(this[xr],e)&&(this[xr][e]=!1),Vr(this,e,s(1,t))};return u&&Ur&&Vr(Ir,e,{configurable:!0,set:r}),Kr(e,t)}).prototype,"toString",(function(){return Lr(this).tag})),ye(Rr,"withoutSetter",(function(t){return Kr(Et(t),t)})),l.f=Yr,W.f=Br,A.f=$r,hr.f=br.f=Jr,wr.f=Xr,Or.f=function(t){return Kr(Kt(t),t)},u&&Nr(Rr.prototype,"description",{configurable:!0,get:function(){return Lr(this).description}})),V({global:!0,wrap:!0,forced:!Wt,sham:!Wt},{Symbol:Rr}),jr(at(qr),(function(t){Er(t)})),V({target:Tr,stat:!0,forced:!Wt},{for:function(t){var e=String(t);if(O(Gr,e))return Gr[e];var r=Rr(e);return Gr[e]=r,Wr[r]=e,r},keyFor:function(t){if(!Hr(t))throw TypeError(t+" is not a symbol");if(O(Wr,t))return Wr[t]},useSetter:function(){Ur=!0},useSimple:function(){Ur=!1}}),V({target:"Object",stat:!0,forced:!Wt,sham:!u},{create:function(t,e){return void 0===e?ne(t):Qr(ne(t),e)},defineProperty:Br,defineProperties:Qr,getOwnPropertyDescriptor:$r}),V({target:"Object",stat:!0,forced:!Wt},{getOwnPropertyNames:Jr,getOwnPropertySymbols:Xr}),V({target:"Object",stat:!0,forced:a((function(){wr.f(1)}))},{getOwnPropertySymbols:function(t){return wr.f(K(t))}}),_r){var Zr=!Wt||a((function(){var t=Rr();return"[null]"!=_r([t])||"{}"!=_r({a:t})||"{}"!=_r(Object(t))}));V({target:"JSON",stat:!0,forced:Zr},{stringify:function(t,e,r){for(var n,o=[t],i=1;arguments.length>i;)o.push(arguments[i++]);if(n=e,(m(e)||void 0!==t)&&!Hr(t))return _e(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!Hr(e))return e}),o[1]=e,_r.apply(null,o)}})}Rr.prototype[Ar]||q(Rr.prototype,Ar,Rr.prototype.valueOf),ve(Rr,Tr),rt[xr]=!0,Er("asyncIterator"),Er("hasInstance"),Er("isConcatSpreadable"),Er("iterator"),Er("match"),Er("matchAll"),Er("replace"),Er("search"),Er("species"),Er("split"),Er("toPrimitive"),Er("toStringTag"),Er("unscopables"),ve(i.JSON,"JSON",!0);var tn=C.Symbol,en=tn,rn={},nn=en("GLOBAL_OPTIONS_PROVIDE_KEY"),on=e.defineComponent({name:"RequestConfig",props:{config:{type:Object,required:!0}},setup:function(t,r){var n=r.slots,o=t.config;return e.provide(nn,o),function(){var t;return null===(t=n.default)||void 0===t?void 0:t.call(n)}}}),an=Kt("iterator"),un=Array.prototype,cn=function(t){return void 0!==t&&(lt.Array===t||un[an]===t)},fn=Kt("iterator"),ln=function(t){if(null!=t)return t[fn]||t["@@iterator"]||lt[ce(t)]},sn=function(t){var e=t.return;if(void 0!==e)return F(e.call(t)).value},vn=function(t,e){this.stopped=t,this.result=e},pn=function(t,e,r){var n,o,i,a,u,c,f,l=r&&r.that,s=!(!r||!r.AS_ENTRIES),v=!(!r||!r.IS_ITERATOR),p=!(!r||!r.INTERRUPTED),d=D(e,l,1+s+p),h=function(t){return n&&sn(n),new vn(!0,t)},y=function(t){return s?(F(t),p?d(t[0],t[1],h):d(t[0],t[1])):p?d(t,h):d(t)};if(v)n=t;else{if("function"!=typeof(o=ln(t)))throw TypeError("Target is not iterable");if(cn(o)){for(i=0,a=$(t.length);a>i;i++)if((u=y(t[i]))&&u instanceof vn)return u;return new vn(!1)}n=o.call(t)}for(c=n.next;!(f=c.call(n)).done;){try{u=y(f.value)}catch(t){throw sn(n),t}if("object"==typeof u&&u&&u instanceof vn)return u}return new vn(!1)},dn=function(t,e){var r=this;if(!(r instanceof dn))return new dn(t,e);he&&(r=he(new Error(void 0),Gt(r))),void 0!==e&&q(r,"message",String(e));var n=[];return pn(t,n.push,{that:n}),q(r,"errors",n),r};dn.prototype=ne(Error.prototype,{constructor:s(5,dn),message:s(5,""),name:s(5,"AggregateError")}),V({global:!0},{AggregateError:dn});var hn=i.Promise,yn=function(t,e,r){for(var n in e)r&&r.unsafe&&t[n]?t[n]=e[n]:ye(t,n,e[n],r);return t},gn=Kt("species"),mn=function(t){var e=Jt(t),r=W.f;u&&e&&!e[gn]&&r(e,gn,{configurable:!0,get:function(){return this}})},bn=function(t,e,r){if(!(t instanceof e))throw TypeError("Incorrect "+(r?r+" ":"")+"invocation");return t},wn=Kt("iterator"),On=!1;try{var Sn=0,En={next:function(){return{done:!!Sn++}},return:function(){On=!0}};En[wn]=function(){return this},Array.from(En,(function(){throw 2}))}catch(t){}var jn,xn,Tn,An=function(t,e){if(!e&&!On)return!1;var r=!1;try{var n={};n[wn]=function(){return{next:function(){return{done:r=!0}}}},t(n)}catch(t){}return r},Pn=Kt("species"),Ln=function(t,e){var r,n=F(t).constructor;return void 0===n||null==(r=F(n)[Pn])?e:M(r)},In=/(iphone|ipod|ipad).*applewebkit/i.test(er),Rn="process"==p(i.process),_n=i.location,kn=i.setImmediate,Nn=i.clearImmediate,Cn=i.process,Mn=i.MessageChannel,Dn=i.Dispatch,Fn=0,Gn={},Wn="onreadystatechange",qn=function(t){if(Gn.hasOwnProperty(t)){var e=Gn[t];delete Gn[t],e()}},zn=function(t){return function(){qn(t)}},Un=function(t){qn(t.data)},Vn=function(t){i.postMessage(t+"",_n.protocol+"//"+_n.host)};kn&&Nn||(kn=function(t){for(var e=[],r=1;arguments.length>r;)e.push(arguments[r++]);return Gn[++Fn]=function(){("function"==typeof t?t:Function(t)).apply(void 0,e)},jn(Fn),Fn},Nn=function(t){delete Gn[t]},Rn?jn=function(t){Cn.nextTick(zn(t))}:Dn&&Dn.now?jn=function(t){Dn.now(zn(t))}:Mn&&!In?(Tn=(xn=new Mn).port2,xn.port1.onmessage=Un,jn=D(Tn.postMessage,Tn,1)):i.addEventListener&&"function"==typeof postMessage&&!i.importScripts&&_n&&"file:"!==_n.protocol&&!a(Vn)?(jn=Vn,i.addEventListener("message",Un,!1)):jn=Wn in j("script")?function(t){Xt.appendChild(j("script")).onreadystatechange=function(){Xt.removeChild(this),qn(t)}}:function(t){setTimeout(zn(t),0)});var Kn,Hn,Bn,Qn,Yn,$n,Jn,Xn,Zn={set:kn,clear:Nn},to=A.f,eo=Zn.set,ro=i.MutationObserver||i.WebKitMutationObserver,no=i.document,oo=i.process,io=i.Promise,ao=to(i,"queueMicrotask"),uo=ao&&ao.value;uo||(Kn=function(){var t,e;for(Rn&&(t=oo.domain)&&t.exit();Hn;){e=Hn.fn,Hn=Hn.next;try{e()}catch(t){throw Hn?Qn():Bn=void 0,t}}Bn=void 0,t&&t.enter()},!In&&!Rn&&ro&&no?(Yn=!0,$n=no.createTextNode(""),new ro(Kn).observe($n,{characterData:!0}),Qn=function(){$n.data=Yn=!Yn}):io&&io.resolve?(Jn=io.resolve(void 0),Xn=Jn.then,Qn=function(){Xn.call(Jn,Kn)}):Qn=Rn?function(){oo.nextTick(Kn)}:function(){eo.call(i,Kn)});var co,fo,lo,so=uo||function(t){var e={fn:t,next:void 0};Bn&&(Bn.next=e),Hn||(Hn=e,Qn()),Bn=e},vo=function(t){var e,r;this.promise=new t((function(t,n){if(void 0!==e||void 0!==r)throw TypeError("Bad Promise constructor");e=t,r=n})),this.resolve=M(e),this.reject=M(r)},po={f:function(t){return new vo(t)}},ho=function(t,e){if(F(t),m(e)&&e.constructor===t)return e;var r=po.f(t);return(0,r.resolve)(e),r.promise},yo=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}},go=Zn.set,mo=Kt("species"),bo="Promise",wo=Ct.get,Oo=Ct.set,So=Ct.getterFor(bo),Eo=hn,jo=i.TypeError,xo=i.document,To=i.process,Ao=(Jt("fetch"),po.f),Po=Ao,Lo=!!(xo&&xo.createEvent&&i.dispatchEvent),Io="function"==typeof PromiseRejectionEvent,Ro="unhandledrejection",_o=N(bo,(function(){if(!(gt(Eo)!==String(Eo))){if(66===ir)return!0;if(!Rn&&!Io)return!0}if(!Eo.prototype.finally)return!0;if(ir>=51&&/native code/.test(Eo))return!1;var t=Eo.resolve(1),e=function(t){t((function(){}),(function(){}))};return(t.constructor={})[mo]=e,!(t.then((function(){}))instanceof e)})),ko=_o||!An((function(t){Eo.all(t).catch((function(){}))})),No=function(t){var e;return!(!m(t)||"function"!=typeof(e=t.then))&&e},Co=function(t,e){if(!t.notified){t.notified=!0;var r=t.reactions;so((function(){for(var n=t.value,o=1==t.state,i=0;r.length>i;){var a,u,c,f=r[i++],l=o?f.ok:f.fail,s=f.resolve,v=f.reject,p=f.domain;try{l?(o||(2===t.rejection&&Go(t),t.rejection=1),!0===l?a=n:(p&&p.enter(),a=l(n),p&&(p.exit(),c=!0)),a===f.promise?v(jo("Promise-chain cycle")):(u=No(a))?u.call(a,s,v):s(a)):v(n)}catch(t){p&&!c&&p.exit(),v(t)}}t.reactions=[],t.notified=!1,e&&!t.rejection&&Do(t)}))}},Mo=function(t,e,r){var n,o;Lo?((n=xo.createEvent("Event")).promise=e,n.reason=r,n.initEvent(t,!1,!0),i.dispatchEvent(n)):n={promise:e,reason:r},!Io&&(o=i["on"+t])?o(n):t===Ro&&function(t,e){var r=i.console;r&&r.error&&(1===arguments.length?r.error(t):r.error(t,e))}("Unhandled promise rejection",r)},Do=function(t){go.call(i,(function(){var e,r=t.facade,n=t.value;if(Fo(t)&&(e=yo((function(){Rn?To.emit("unhandledRejection",n,r):Mo(Ro,r,n)})),t.rejection=Rn||Fo(t)?2:1,e.error))throw e.value}))},Fo=function(t){return 1!==t.rejection&&!t.parent},Go=function(t){go.call(i,(function(){var e=t.facade;Rn?To.emit("rejectionHandled",e):Mo("rejectionhandled",e,t.value)}))},Wo=function(t,e,r){return function(n){t(e,n,r)}},qo=function(t,e,r){t.done||(t.done=!0,r&&(t=r),t.value=e,t.state=2,Co(t,!0))},zo=function(t,e,r){if(!t.done){t.done=!0,r&&(t=r);try{if(t.facade===e)throw jo("Promise can't be resolved itself");var n=No(e);n?so((function(){var r={done:!1};try{n.call(e,Wo(zo,r,t),Wo(qo,r,t))}catch(e){qo(r,e,t)}})):(t.value=e,t.state=1,Co(t,!1))}catch(e){qo({done:!1},e,t)}}};_o&&(Eo=function(t){bn(this,Eo,bo),M(t),co.call(this);var e=wo(this);try{t(Wo(zo,e),Wo(qo,e))}catch(t){qo(e,t)}},(co=function(t){Oo(this,{type:bo,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=yn(Eo.prototype,{then:function(t,e){var r=So(this),n=Ao(Ln(this,Eo));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=Rn?To.domain:void 0,r.parent=!0,r.reactions.push(n),0!=r.state&&Co(r,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),fo=function(){var t=new co,e=wo(t);this.promise=t,this.resolve=Wo(zo,e),this.reject=Wo(qo,e)},po.f=Ao=function(t){return t===Eo||t===lo?new fo(t):Po(t)}),V({global:!0,wrap:!0,forced:_o},{Promise:Eo}),ve(Eo,bo,!1,!0),mn(bo),lo=Jt(bo),V({target:bo,stat:!0,forced:_o},{reject:function(t){var e=Ao(this);return e.reject.call(void 0,t),e.promise}}),V({target:bo,stat:!0,forced:!0},{resolve:function(t){return ho(this===lo?Eo:this,t)}}),V({target:bo,stat:!0,forced:ko},{all:function(t){var e=this,r=Ao(e),n=r.resolve,o=r.reject,i=yo((function(){var r=M(e.resolve),i=[],a=0,u=1;pn(t,(function(t){var c=a++,f=!1;i.push(void 0),u++,r.call(e,t).then((function(t){f||(f=!0,i[c]=t,--u||n(i))}),o)})),--u||n(i)}));return i.error&&o(i.value),r.promise},race:function(t){var e=this,r=Ao(e),n=r.reject,o=yo((function(){var o=M(e.resolve);pn(t,(function(t){o.call(e,t).then(r.resolve,n)}))}));return o.error&&n(o.value),r.promise}}),V({target:"Promise",stat:!0},{allSettled:function(t){var e=this,r=po.f(e),n=r.resolve,o=r.reject,i=yo((function(){var r=M(e.resolve),o=[],i=0,a=1;pn(t,(function(t){var u=i++,c=!1;o.push(void 0),a++,r.call(e,t).then((function(t){c||(c=!0,o[u]={status:"fulfilled",value:t},--a||n(o))}),(function(t){c||(c=!0,o[u]={status:"rejected",reason:t},--a||n(o))}))})),--a||n(o)}));return i.error&&o(i.value),r.promise}});var Uo="No one promise resolved";V({target:"Promise",stat:!0},{any:function(t){var e=this,r=po.f(e),n=r.resolve,o=r.reject,i=yo((function(){var r=M(e.resolve),i=[],a=0,u=1,c=!1;pn(t,(function(t){var f=a++,l=!1;i.push(void 0),u++,r.call(e,t).then((function(t){l||c||(c=!0,n(t))}),(function(t){l||c||(l=!0,i[f]=t,--u||o(new(Jt("AggregateError"))(i,Uo)))}))})),--u||o(new(Jt("AggregateError"))(i,Uo))}));return i.error&&o(i.value),r.promise}});var Vo=!!hn&&a((function(){hn.prototype.finally.call({then:function(){}},(function(){}))}));V({target:"Promise",proto:!0,real:!0,forced:Vo},{finally:function(t){var e=Ln(this,Jt("Promise")),r="function"==typeof t;return this.then(r?function(r){return ho(e,t()).then((function(){return r}))}:t,r?function(r){return ho(e,t()).then((function(){throw r}))}:t)}});var Ko=function(t){return function(e,r){var n,o,i=String(y(e)),a=Q(r),u=i.length;return a<0||a>=u?t?"":void 0:(n=i.charCodeAt(a))<55296||n>56319||a+1===u||(o=i.charCodeAt(a+1))<56320||o>57343?t?i.charAt(a):n:t?i.slice(a,a+2):o-56320+(n-55296<<10)+65536}},Ho={codeAt:Ko(!1),charAt:Ko(!0)}.charAt,Bo="String Iterator",Qo=Ct.set,Yo=Ct.getterFor(Bo);je(String,"String",(function(t){Qo(this,{type:Bo,string:String(t),index:0})}),(function(){var t,e=Yo(this),r=e.string,n=e.index;return n>=r.length?{value:void 0,done:!0}:(t=Ho(r,n),e.index+=t.length,{value:t,done:!1})}));var $o=C.Promise,Jo=$o,Xo=et.indexOf,Zo=[].indexOf,ti=!!Zo&&1/[1].indexOf(1,-0)<0,ei=Fe("indexOf"),ri=ze("indexOf",{ACCESSORS:!0,1:0});V({target:"Array",proto:!0,forced:ti||!ei||!ri},{indexOf:function(t){return ti?Zo.apply(this,arguments)||0:Xo(this,t,arguments.length>1?arguments[1]:void 0)}});var ni=Ye("Array").indexOf,oi=Array.prototype,ii=function(t){var e=t.indexOf;return t===oi||t instanceof Array&&e===oi.indexOf?ni:e},ai=C.Object.getOwnPropertySymbols,ui=ai,ci=ct;var fi=function(t,e){if(null==t)return{};var r,n,o={},i=ci(t);for(n=0;n<i.length;n++)r=i[n],ii(e).call(e,r)>=0||(o[r]=t[r]);return o};var li=function(t,e){if(null==t)return{};var r,n,o=fi(t,e);if(ui){var i=ui(t);for(n=0;n<i.length;n++)r=i[n],ii(e).call(e,r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o};V({target:"Object",stat:!0,forced:!u,sham:!u},{defineProperty:W.f});var si=n((function(t){var e=C.Object,r=t.exports=function(t,r,n){return e.defineProperty(t,r,n)};e.defineProperty.sham&&(r.sham=!0)})),vi=si;V({target:"Object",stat:!0,forced:!u,sham:!u},{defineProperties:Yt});var pi=n((function(t){var e=C.Object,r=t.exports=function(t,r){return e.defineProperties(t,r)};e.defineProperties.sham&&(r.sham=!0)})),di=Jt("Reflect","ownKeys")||function(t){var e=hr.f(F(t)),r=wr.f;return r?e.concat(r(t)):e};V({target:"Object",stat:!0,sham:!u},{getOwnPropertyDescriptors:function(t){for(var e,r,n=g(t),o=A.f,i=di(n),a={},u=0;i.length>u;)void 0!==(r=o(n,e=i[u++]))&&tr(a,e,r);return a}});var hi=C.Object.getOwnPropertyDescriptors,yi=A.f,gi=a((function(){yi(1)}));V({target:"Object",stat:!0,forced:!u||gi,sham:!u},{getOwnPropertyDescriptor:function(t,e){return yi(g(t),e)}});var mi=n((function(t){var e=C.Object,r=t.exports=function(t,r){return e.getOwnPropertyDescriptor(t,r)};e.getOwnPropertyDescriptor.sham&&(r.sham=!0)})),bi=De.filter,wi=ur("filter"),Oi=ze("filter");V({target:"Array",proto:!0,forced:!wi||!Oi},{filter:function(t){return bi(this,t,arguments.length>1?arguments[1]:void 0)}});var Si=Ye("Array").filter,Ei=Array.prototype,ji=function(t){var e=t.filter;return t===Ei||t instanceof Array&&e===Ei.filter?Si:e},xi=ai;V({target:"Array",stat:!0},{isArray:_e});var Ti=C.Array.isArray;var Ai=function(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n};var Pi=function(t){if(Ti(t))return Ai(t)},Li=function(t,e,r,n){try{return n?e(F(r)[0],r[1]):e(r)}catch(e){throw sn(t),e}},Ii=!An((function(t){Array.from(t)}));V({target:"Array",stat:!0,forced:Ii},{from:function(t){var e,r,n,o,i,a,u=K(t),c="function"==typeof this?this:Array,f=arguments.length,l=f>1?arguments[1]:void 0,s=void 0!==l,v=ln(u),p=0;if(s&&(l=D(l,f>2?arguments[2]:void 0,2)),null==v||c==Array&&cn(v))for(r=new c(e=$(u.length));e>p;p++)a=s?l(u[p],p):u[p],tr(r,p,a);else for(i=(o=v.call(u)).next,r=new c;!(n=i.call(o)).done;p++)a=s?Li(o,l,[n.value,p],!0):n.value,tr(r,p,a);return r.length=p,r}});var Ri=C.Array.from,_i=Kt("iterator"),ki=function(t){var e=Object(t);return void 0!==e[_i]||"@@iterator"in e||lt.hasOwnProperty(ce(e))};Er("asyncDispose"),Er("dispose"),Er("observable"),Er("patternMatch"),Er("replaceAll");var Ni=tn;var Ci=function(t){if(void 0!==Ni&&ki(Object(t)))return Ri(t)},Mi=ur("slice"),Di=ze("slice",{ACCESSORS:!0,0:0,1:2}),Fi=Kt("species"),Gi=[].slice,Wi=Math.max;V({target:"Array",proto:!0,forced:!Mi||!Di},{slice:function(t,e){var r,n,o,i=g(this),a=$(i.length),u=Z(t,a),c=Z(void 0===e?a:e,a);if(_e(i)&&("function"!=typeof(r=i.constructor)||r!==Array&&!_e(r.prototype)?m(r)&&null===(r=r[Fi])&&(r=void 0):r=void 0,r===Array||void 0===r))return Gi.call(i,u,c);for(n=new(void 0===r?Array:r)(Wi(c-u,0)),o=0;u<c;u++,o++)u in i&&tr(n,o,i[u]);return n.length=o,n}});var qi=Ye("Array").slice,zi=Array.prototype,Ui=function(t){var e=t.slice;return t===zi||t instanceof Array&&e===zi.slice?qi:e},Vi=Ui;var Ki=function(t,e){var r;if(t){if("string"==typeof t)return Ai(t,e);var n=Vi(r=Object.prototype.toString.call(t)).call(r,8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Ri(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ai(t,e):void 0}};var Hi=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")};var Bi=function(t){return Pi(t)||Ci(t)||Ki(t)||Hi()},Qi=si;var Yi=function(t,e,r){return e in t?Qi(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t},$i=[].slice,Ji=/MSIE .\./.test(er),Xi=function(t){return function(e,r){var n=arguments.length>2,o=n?$i.call(arguments,2):void 0;return t(n?function(){("function"==typeof e?e:Function(e)).apply(this,o)}:e,r)}};V({global:!0,bind:!0,forced:Ji},{setTimeout:Xi(i.setTimeout),setInterval:Xi(i.setInterval)});var Zi=C.setTimeout,ta=Or.f("iterator"),ea=n((function(t){function e(r){return t.exports=e="function"==typeof Ni&&"symbol"==typeof ta?function(t){return typeof t}:function(t){return t&&"function"==typeof Ni&&t.constructor===Ni&&t!==Ni.prototype?"symbol":typeof t},e(r)}t.exports=e}));var ra=function(t){var e=ea(t);return null!=t&&("object"==e||"function"==e)},na="object"==ea(r)&&r&&r.Object===Object&&r,oa="object"==("undefined"==typeof self?"undefined":ea(self))&&self&&self.Object===Object&&self,ia=na||oa||Function("return this")(),aa=function(){return ia.Date.now()},ua=Ui,ca="\t\n\v\f\r                 \u2028\u2029\ufeff",fa="["+ca+"]",la=RegExp("^"+fa+fa+"*"),sa=RegExp(fa+fa+"*$"),va=function(t){return function(e){var r=String(y(e));return 1&t&&(r=r.replace(la,"")),2&t&&(r=r.replace(sa,"")),r}},pa={start:va(1),end:va(2),trim:va(3)}.trim,da=i.parseInt,ha=/^[+-]?0[Xx]/,ya=8!==da(ca+"08")||22!==da(ca+"0x16")?function(t,e){var r=pa(String(t));return da(r,e>>>0||(ha.test(r)?16:10))}:da;V({global:!0,forced:parseInt!=ya},{parseInt:ya});var ga=C.parseInt,ma=ia.Symbol,ba=Object.prototype,wa=ba.hasOwnProperty,Oa=ba.toString,Sa=ma?ma.toStringTag:void 0;var Ea=function(t){var e=wa.call(t,Sa),r=t[Sa];try{t[Sa]=void 0;var n=!0}catch(t){}var o=Oa.call(t);return n&&(e?t[Sa]=r:delete t[Sa]),o},ja=Object.prototype.toString;var xa=function(t){return ja.call(t)},Ta=ma?ma.toStringTag:void 0;var Aa=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":Ta&&Ta in Object(t)?Ea(t):xa(t)};var Pa=function(t){return null!=t&&"object"==ea(t)};var La=function(t){return"symbol"==ea(t)||Pa(t)&&"[object Symbol]"==Aa(t)},Ia=/^\s+|\s+$/g,Ra=/^[-+]0x[0-9a-f]+$/i,_a=/^0b[01]+$/i,ka=/^0o[0-7]+$/i,Na=ga;var Ca=function(t){if("number"==typeof t)return t;if(La(t))return NaN;if(ra(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=ra(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(Ia,"");var r=_a.test(t);return r||ka.test(t)?Na(ua(t).call(t,2),r?2:8):Ra.test(t)?NaN:+t},Ma=Math.max,Da=Math.min;var Fa=function(t,e,r){var n,o,i,a,u,c,f=0,l=!1,s=!1,v=!0;if("function"!=typeof t)throw new TypeError("Expected a function");function p(e){var r=n,i=o;return n=o=void 0,f=e,a=t.apply(i,r)}function d(t){return f=t,u=Zi(y,e),l?p(t):a}function h(t){var r=t-c;return void 0===c||r>=e||r<0||s&&t-f>=i}function y(){var t=aa();if(h(t))return g(t);u=Zi(y,function(t){var r=e-(t-c);return s?Da(r,i-(t-f)):r}(t))}function g(t){return u=void 0,v&&n?p(t):(n=o=void 0,a)}function m(){var t=aa(),r=h(t);if(n=arguments,o=this,c=t,r){if(void 0===u)return d(c);if(s)return clearTimeout(u),u=Zi(y,e),p(c)}return void 0===u&&(u=Zi(y,e)),a}return e=Ca(e)||0,ra(r)&&(l=!!r.leading,i=(s="maxWait"in r)?Ma(Ca(r.maxWait)||0,e):i,v="trailing"in r?!!r.trailing:v),m.cancel=function(){void 0!==u&&clearTimeout(u),f=0,n=c=o=u=void 0},m.flush=function(){return void 0===u?a:g(aa())},m};var Ga=function(t,e,r){var n=!0,o=!0;if("function"!=typeof t)throw new TypeError("Expected a function");return ra(r)&&(n="leading"in r?!!r.leading:n,o="trailing"in r?!!r.trailing:o),Fa(t,e,{leading:n,maxWait:e,trailing:o})},Wa=[].reverse,qa=[1,2];V({target:"Array",proto:!0,forced:String(qa)===String(qa.reverse())},{reverse:function(){return _e(this)&&(this.length=this.length),Wa.call(this)}});var za=Ye("Array").reverse,Ua=Array.prototype,Va=function(t){var e=t.reverse;return t===Ua||t instanceof Array&&e===Ua.reverse?za:e};V({target:"Object",stat:!0},{setPrototypeOf:he});var Ka=C.Object.setPrototypeOf,Ha=a((function(){Gt(1)}));V({target:"Object",stat:!0,forced:Ha,sham:!Mt},{getPrototypeOf:function(t){return Gt(K(t))}});var Ba=C.Object.getPrototypeOf;V({target:"Object",stat:!0,sham:!u},{create:ne});var Qa=C.Object,Ya=function(t,e){return Qa.create(t,e)},$a=n((function(t){var e=function(t){var e,r=Object.prototype,n=r.hasOwnProperty,o="function"==typeof en?en:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag";function c(t,e,r){return vi(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(t){c=function(t,e,r){return t[e]=r}}function f(t,e,r,n){var o=e&&e.prototype instanceof y?e:y,i=Ya(o.prototype),a=new A(n||[]);return i._invoke=function(t,e,r){var n=s;return function(o,i){if(n===p)throw new Error("Generator is already running");if(n===d){if("throw"===o)throw i;return L()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var u=j(a,r);if(u){if(u===h)continue;return u}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===s)throw n=d,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=p;var c=l(t,e,r);if("normal"===c.type){if(n=r.done?d:v,c.arg===h)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n=d,r.method="throw",r.arg=c.arg)}}}(t,r,a),i}function l(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=f;var s="suspendedStart",v="suspendedYield",p="executing",d="completed",h={};function y(){}function g(){}function m(){}var b={};b[i]=function(){return this};var w=Ba&&Ba(Ba(P([])));w&&w!==r&&n.call(w,i)&&(b=w);var O=m.prototype=y.prototype=Ya(b);function S(t){var e;Ze(e=["next","throw","return"]).call(e,(function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function E(t,e){function r(o,i,a,u){var c=l(t[o],t,i);if("throw"!==c.type){var f=c.arg,s=f.value;return s&&"object"===ea(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,u)}),(function(t){r("throw",t,a,u)})):e.resolve(s).then((function(t){f.value=t,a(f)}),(function(t){return r("throw",t,a,u)}))}u(c.arg)}var o;this._invoke=function(t,n){function i(){return new e((function(e,o){r(t,n,e,o)}))}return o=o?o.then(i,i):i()}}function j(t,r){var n=t.iterator[r.method];if(n===e){if(r.delegate=null,"throw"===r.method){if(t.iterator.return&&(r.method="return",r.arg=e,j(t,r),"throw"===r.method))return h;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return h}var o=l(n,t.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,h;var i=o.arg;return i?i.done?(r[t.resultName]=i.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,h):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,h)}function x(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function A(t){this.tryEntries=[{tryLoc:"root"}],Ze(t).call(t,x,this),this.reset(!0)}function P(t){if(t){var r=t[i];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,a=function r(){for(;++o<t.length;)if(n.call(t,o))return r.value=t[o],r.done=!1,r;return r.value=e,r.done=!0,r};return a.next=a}}return{next:L}}function L(){return{value:e,done:!0}}return g.prototype=O.constructor=m,m.constructor=g,g.displayName=c(m,u,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===g||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Ka?Ka(t,m):(t.__proto__=m,c(t,u,"GeneratorFunction")),t.prototype=Ya(O),t},t.awrap=function(t){return{__await:t}},S(E.prototype),E.prototype[a]=function(){return this},t.AsyncIterator=E,t.async=function(e,r,n,o,i){void 0===i&&(i=Jo);var a=new E(f(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},S(O),c(O,u,"Generator"),O[i]=function(){return this},O.toString=function(){return"[object Generator]"},t.keys=function(t){var e=[];for(var r in t)e.push(r);return Va(e).call(e),function r(){for(;e.length;){var n=e.pop();if(n in t)return r.value=n,r.done=!1,r}return r.done=!0,r}},t.values=P,A.prototype={constructor:A,reset:function(t){var r;if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,Ze(r=this.tryEntries).call(r,T),!t)for(var o in this)"t"===o.charAt(0)&&n.call(this,o)&&!isNaN(+ua(o).call(o,1))&&(this[o]=e)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function o(n,o){return u.type="throw",u.arg=t,r.next=n,o&&(r.method="next",r.arg=e),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=n.call(a,"catchLoc"),f=n.call(a,"finallyLoc");if(c&&f){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!f)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,h):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),h},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),h}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:P(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),h}},t}(t.exports);try{regeneratorRuntime=e}catch(t){Function("r","regeneratorRuntime = r")(e)}}));V({target:"Promise",stat:!0},{try:function(t){var e=po.f(this),r=yo(t);return(r.error?e.reject:e.resolve)(r.value),e.promise}});var Ja=$o;function Xa(t,e,r,n,o,i,a){try{var u=t[i](a),c=u.value}catch(t){return void r(t)}u.done?e(c):Ja.resolve(c).then(n,o)}var Za,tu=function(t){return function(){var e=this,r=arguments;return new Ja((function(n,o){var i=t.apply(e,r);function a(t){Xa(i,n,o,a,u,"next",t)}function u(t){Xa(i,n,o,a,u,"throw",t)}a(void 0)}))}},eu=Object.prototype.toString,ru=function(t){return eu.call(t)},nu=function(t){return"[object String]"===ru(t)},ou=function(t){return"[object Object]"===ru(t)},iu=function(t){return t instanceof Jo},au=function(t){return t instanceof Function},uu=function(t){return null==t},cu="undefined"==typeof window,fu=function(){var t,e;return!cu&&"visible"===(null===(t=window)||void 0===t||null===(e=t.document)||void 0===e?void 0:e.visibilityState)},lu=function(){var t,e,r;return null===(t=!cu&&(null===(e=window)||void 0===e||null===(r=e.navigator)||void 0===r?void 0:r.onLine))||void 0===t||t},su=Jo.resolve(null),vu=function(){var t=tu($a.mark((function t(){var e,r=arguments;return $a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,fetch.apply(void 0,r);case 2:if(!(e=t.sent).ok){t.next=5;break}return t.abrupt("return",e.json());case 5:throw new Error(e.statusText);case 6:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),pu=function(t,r,n){var o,i,a,u,c,f=r.initialAutoRunFlag,l=r.initialData,s=r.loadingDelay,v=r.pollingInterval,p=r.debounceInterval,d=r.throttleInterval,h=r.pollingWhenHidden,y=r.pollingWhenOffline,g=r.errorRetryCount,m=r.errorRetryInterval,b=r.stopPollingWhenHiddenOrOffline,w=r.updateCache,O=r.formatResult,S=r.onSuccess,E=r.onError,j=e.ref(0),x=e.ref(null!==(o=null==n?void 0:n.loading)&&void 0!==o&&o),T=e.ref(null!==(i=null==n?void 0:n.data)&&void 0!==i?i:l),A=e.ref(null==n?void 0:n.error),P=e.ref(null!==(a=null==n?void 0:n.params)&&void 0!==a?a:[]),L=(u={loading:x,data:T,error:A,params:P},c=[function(t){return w(t)}],function(t){var r;Ze(r=ft(t)).call(r,(function(e){u[e].value=t[e]})),e.nextTick((function(){Ze(c).call(c,(function(t){return t(u)}))}))}),I=function(){j.value=0},R=e.ref(0),_=e.ref(),k=e.ref(),N=e.ref(),C=function(){_.value&&_.value(),N.value&&N.value(),k.value&&k.value()},M=function(){var t;return s&&(t=Zi(L,s,{loading:!0})),function(){return t&&clearTimeout(t)}},D=function(t){if(!A.value||0===g){var e;if(!uu(v)&&v>=0){if(!h&&!fu()||!y&&!lu())return void(b.value=!0);e=Zi(t,v)}return function(){return e&&clearTimeout(e)}}},F=e.computed((function(){if(m)return m;return 1e3*Math.floor(Math.random()*Math.pow(2,Math.min(j.value,9))+1)})),G=function(t){var e,r=-1===g,n=j.value<g;return A.value&&(r||n)&&(r||(j.value+=1),e=Zi(t,F.value)),function(){return e&&clearTimeout(e)}},W=function e(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];L({loading:!s,params:n}),N.value=M(),R.value+=1;var i=R.value;return t.apply(void 0,n).then((function(t){if(i===R.value){var e=O?O(t):t;return L({data:e,loading:!1,error:void 0}),S&&S(e,n),I(),e}return su})).catch((function(t){return i===R.value&&(L({data:void 0,loading:!1,error:t}),E&&E(t,n),console.error(t)),su})).finally((function(){i===R.value&&(N.value(),k.value=G((function(){return e.apply(void 0,n)})),_.value=D((function(){return e.apply(void 0,n)})))}))},q=!uu(p)&&Fa(W,p),z=!uu(d)&&Ga(W,d),U=function(){return C(),!f.value&&q?(q.apply(void 0,arguments),su):z?(z.apply(void 0,arguments),su):(I(),W.apply(void 0,arguments))};return{loading:x,data:T,error:A,params:P,run:U,cancel:function(){R.value+=1,L({loading:!1}),q&&q.cancel(),z&&z.cancel(),C()},refresh:function(){return U.apply(void 0,Bi(P.value))},mutate:function(t){var e=au(t)?t(T.value):t;L({data:e})}}},du=!a((function(){return Object.isExtensible(Object.preventExtensions({}))})),hu=n((function(t){var e=W.f,r=Et("meta"),n=0,o=Object.isExtensible||function(){return!0},i=function(t){e(t,r,{value:{objectID:"O"+ ++n,weakData:{}}})},a=t.exports={REQUIRED:!1,fastKey:function(t,e){if(!m(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!O(t,r)){if(!o(t))return"F";if(!e)return"E";i(t)}return t[r].objectID},getWeakData:function(t,e){if(!O(t,r)){if(!o(t))return!0;if(!e)return!1;i(t)}return t[r].weakData},onFreeze:function(t){return du&&a.REQUIRED&&o(t)&&!O(t,r)&&i(t),t}};rt[r]=!0})),yu=W.f,gu=De.forEach,mu=Ct.set,bu=Ct.getterFor,wu=function(t,e,r){var n,o=-1!==t.indexOf("Map"),c=-1!==t.indexOf("Weak"),f=o?"set":"add",l=i[t],s=l&&l.prototype,v={};if(u&&"function"==typeof l&&(c||s.forEach&&!a((function(){(new l).entries().next()})))){n=e((function(e,r){mu(bn(e,n,t),{type:t,collection:new l}),null!=r&&pn(r,e[f],{that:e,AS_ENTRIES:o})}));var p=bu(t);gu(["add","clear","delete","forEach","get","has","set","keys","values","entries"],(function(t){var e="add"==t||"set"==t;!(t in s)||c&&"clear"==t||q(n.prototype,t,(function(r,n){var o=p(this).collection;if(!e&&c&&!m(r))return"get"==t&&void 0;var i=o[t](0===r?0:r,n);return e?this:i}))})),c||yu(n.prototype,"size",{configurable:!0,get:function(){return p(this).collection.size}})}else n=r.getConstructor(e,t,o,f),hu.REQUIRED=!0;return ve(n,t,!1,!0),v[t]=n,V({global:!0,forced:!0},v),c||r.setStrong(n,t,o),n},Ou=W.f,Su=hu.fastKey,Eu=Ct.set,ju=Ct.getterFor,xu={getConstructor:function(t,e,r,n){var o=t((function(t,i){bn(t,o,e),Eu(t,{type:e,index:ne(null),first:void 0,last:void 0,size:0}),u||(t.size=0),null!=i&&pn(i,t[n],{that:t,AS_ENTRIES:r})})),i=ju(e),a=function(t,e,r){var n,o,a=i(t),f=c(t,e);return f?f.value=r:(a.last=f={index:o=Su(e,!0),key:e,value:r,previous:n=a.last,next:void 0,removed:!1},a.first||(a.first=f),n&&(n.next=f),u?a.size++:t.size++,"F"!==o&&(a.index[o]=f)),t},c=function(t,e){var r,n=i(t),o=Su(e);if("F"!==o)return n.index[o];for(r=n.first;r;r=r.next)if(r.key==e)return r};return yn(o.prototype,{clear:function(){for(var t=i(this),e=t.index,r=t.first;r;)r.removed=!0,r.previous&&(r.previous=r.previous.next=void 0),delete e[r.index],r=r.next;t.first=t.last=void 0,u?t.size=0:this.size=0},delete:function(t){var e=this,r=i(e),n=c(e,t);if(n){var o=n.next,a=n.previous;delete r.index[n.index],n.removed=!0,a&&(a.next=o),o&&(o.previous=a),r.first==n&&(r.first=o),r.last==n&&(r.last=a),u?r.size--:e.size--}return!!n},forEach:function(t){for(var e,r=i(this),n=D(t,arguments.length>1?arguments[1]:void 0,3);e=e?e.next:r.first;)for(n(e.value,e.key,this);e&&e.removed;)e=e.previous},has:function(t){return!!c(this,t)}}),yn(o.prototype,r?{get:function(t){var e=c(this,t);return e&&e.value},set:function(t,e){return a(this,0===t?0:t,e)}}:{add:function(t){return a(this,t=0===t?0:t,t)}}),u&&Ou(o.prototype,"size",{get:function(){return i(this).size}}),o},setStrong:function(t,e,r){var n=e+" Iterator",o=ju(e),i=ju(n);je(t,e,(function(t,e){Eu(this,{type:n,target:t,state:o(t),kind:e,last:void 0})}),(function(){for(var t=i(this),e=t.kind,r=t.last;r&&r.removed;)r=r.previous;return t.target&&(t.last=r=r?r.next:t.state.first)?"keys"==e?{value:r.key,done:!1}:"values"==e?{value:r.value,done:!1}:{value:[r.key,r.value],done:!1}:(t.target=void 0,{value:void 0,done:!0})}),r?"entries":"values",!r,!0),mn(e)}},Tu=(wu("Map",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),xu),new(0,C.Map)),Au=function(t){if(!uu(t)){var e=Tu.get(t);if(e)return{data:e.data,cacheTime:e.cacheTime}}},Pu=(wu("Set",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),xu),C.Set),Lu=new Pu,Iu=new Pu,Ru=new Pu,_u=function(t,e){var r;switch(t){case"FOCUS_LISTENER":r=Lu;break;case"RECONNECT_LISTENER":r=Ru;break;case"VISIBLE_LISTENER":r=Iu}if(!r.has(e))return r.add(e),function(){r.delete(e)}},ku=function(t){Ze(t).call(t,(function(t){t()}))};function Nu(t,e){var r=ft(t);if(xi){var n=xi(t);e&&(n=ji(n).call(n,(function(e){return mi(t,e).enumerable}))),r.push.apply(r,n)}return r}function Cu(t){for(var e=1;e<arguments.length;e++){var r,n=null!=arguments[e]?arguments[e]:{};if(e%2)Ze(r=Nu(Object(n),!0)).call(r,(function(e){Yi(t,e,n[e])}));else if(hi)pi(t,hi(n));else{var o;Ze(o=Nu(Object(n))).call(o,(function(e){vi(t,e,mi(n,e))}))}}return t}!cu&&null!==(Za=window)&&void 0!==Za&&Za.addEventListener&&(window.addEventListener("visibilitychange",(function(){fu()&&ku(Iu)}),!1),window.addEventListener("focus",(function(){return ku(Lu)}),!1),window.addEventListener("online",(function(){return ku(Ru)}),!1));var Mu="__QUERY_DEFAULT_KEY__";function Du(t,r){var n=e.inject(nn,{}),o=Cu(Cu(Cu({},rn),n),r),i=o.initialData,a=o.pollingInterval,u=o.debounceInterval,c=o.throttleInterval,f=o.cacheKey,l=o.defaultParams,s=void 0===l?[]:l,v=o.manual,p=void 0!==v&&v,d=o.ready,h=void 0===d?e.ref(!0):d,y=o.refreshDeps,g=void 0===y?[]:y,m=o.loadingDelay,b=void 0===m?0:m,w=o.pollingWhenHidden,O=void 0!==w&&w,S=o.pollingWhenOffline,E=void 0!==S&&S,j=o.refreshOnWindowFocus,x=void 0!==j&&j,T=o.refocusTimespan,A=void 0===T?5e3:T,P=o.cacheTime,L=void 0===P?6e5:P,I=o.staleTime,R=void 0===I?0:I,_=o.errorRetryCount,k=void 0===_?0:_,N=o.errorRetryInterval,C=void 0===N?0:N,M=o.queryKey,D=o.formatResult,F=o.onSuccess,G=o.onError,W=e.ref(!1),q=e.ref(!1),z=[],U=function(t){t&&z.push(t)},V={initialAutoRunFlag:q,initialData:i,loadingDelay:b,pollingInterval:a,debounceInterval:u,throttleInterval:c,pollingWhenHidden:O,pollingWhenOffline:E,stopPollingWhenHiddenOrOffline:W,cacheKey:f,errorRetryCount:k,errorRetryInterval:C,updateCache:function(t){var r,n;if(f){var o=null===(r=Au(f))||void 0===r?void 0:r.data,i=null==o?void 0:o.queries,a=function(t){var r,n={};return Ze(r=ft(t)).call(r,(function(r){n[r]=e.unref(t[r])})),n}(t),u=null!==(n=null==M?void 0:M.apply(void 0,Bi(t.params.value)))&&void 0!==n?n:Mu;!function(t,e,r){var n=Tu.get(t);null!=n&&n.timer&&clearTimeout(n.timer);var o=Zi((function(){return Tu.delete(t)}),r);Tu.set(t,{data:e,timer:o,cacheTime:(new Date).getTime()})}(f,{queries:Cu(Cu({},i),{},Yi({},u,Cu(Cu({},null==i?void 0:i[u]),a))),latestQueriesKey:u},L)}},formatResult:D,onSuccess:F,onError:G},K=e.ref(!1),H=e.ref(),B=e.ref(),Q=e.ref(),Y=e.shallowReactive(Yi({},Mu,pu(t,V))),$=e.ref(Mu),J=e.computed((function(){return Y[$.value]}));if(e.watchEffect((function(){K.value=J.value.loading.value,H.value=J.value.data.value,B.value=J.value.error.value,Q.value=J.value.params.value}),{flush:"sync"}),f){var X,Z,tt=Au(f);if(null!=tt&&null!==(X=tt.data)&&void 0!==X&&X.queries)Ze(Z=ft(tt.data.queries)).call(Z,(function(e){var r=tt.data.queries[e];Y[e]=pu(t,V,{loading:r.loading,params:r.params,data:r.data,error:r.error})})),tt.data.latestQueriesKey&&($.value=tt.data.latestQueriesKey)}var et=e.ref(),rt=e.ref(!1),nt=function(){for(var e,r,n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];if(!h.value&&!rt.value)return et.value=o,su;var a=null!==(e=null==M?void 0:M.apply(void 0,o))&&void 0!==e?e:Mu;return Y[a]||(Y[a]=pu(t,V)),$.value=a,(r=J.value).run.apply(r,o)};if(!p){var ot;q.value=!0;var it,at=Au(f),ut=null!==(ot=null==at?void 0:at.data.queries)&&void 0!==ot?ot:{},ct=at&&(-1===R||at.cacheTime+R>(new Date).getTime()),lt=ft(ut).length>0;if(!ct)if(lt)Ze(it=ft(Y)).call(it,(function(t){var e;null===(e=Y[t])||void 0===e||e.refresh()}));else nt.apply(void 0,Bi(s));q.value=!1}var st=e.ref();st.value=e.watch(h,(function(t){rt.value=!0,t&&et.value&&(nt.apply(void 0,Bi(et.value)),st.value())}),{flush:"sync"}),g.length&&e.watch(g,(function(){!p&&J.value.refresh()}));var vt=function(){W.value&&(O||fu())&&(E||lu())&&(J.value.refresh(),W.value=!1)};O||U(_u("VISIBLE_LISTENER",vt)),E||U(_u("RECONNECT_LISTENER",vt));var pt,dt,ht,yt=(pt=J.value.refresh,dt=A,ht=!1,function(){ht||(ht=!0,pt.apply(void 0,arguments),Zi((function(){ht=!1}),dt))});return x&&(U(_u("VISIBLE_LISTENER",yt)),U(_u("FOCUS_LISTENER",yt))),e.onUnmounted((function(){Ze(z).call(z,(function(t){return t()}))})),{loading:K,data:H,error:B,params:Q,cancel:J.value.cancel,refresh:J.value.refresh,mutate:J.value.mutate,run:nt,queries:Y}}t.RequestConfig=on,t.setGlobalOptions=function(t){var e;Ze(e=ft(t)).call(e,(function(e){rn[e]=t[e]}))},t.useRequest=function(t,e){var r;if(au(t))r=function(){var e,r=t.apply(void 0,arguments);if(iu(r))e=r;else if(ou(r)){var n=r.url,o=li(r,["url"]);e=vu(n,o)}else{if(!nu(r))throw new Error("Unknown service type");e=vu(r)}return new Jo((function(t,r){e.then(t).catch(r)}))};else if(ou(t)){var n=t.url,o=li(t,["url"]);r=function(){return vu(n,o)}}else{if(!nu(t))throw Error("Unknown service type");r=function(){return vu(t)}}return Du(r,null!=e?e:{})},Object.defineProperty(t,"__esModule",{value:!0})}(this.VueRequest=this.VueRequest||{},Vue);
{
"name": "vue-request",
"version": "1.0.0-beta.6",
"version": "1.0.0-beta.7",
"description": "A request library for Vue 3",

@@ -5,0 +5,0 @@ "license": "MIT",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc