@firmer/mesh 0.0.8 → 0.0.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/http/consumer.d.ts +1 -0
- package/dist/mesh.js +790 -779
- package/dist/mesh.umd.cjs +7 -7
- package/dist/mpc/hook.d.ts +3 -1
- package/dist/tool/tool.d.ts +1 -0
- package/package.json +1 -1
package/dist/mesh.umd.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(function(u,q){typeof exports=="object"&&typeof module<"u"?q(exports):typeof define=="function"&&define.amd?define(["exports"],q):(u=typeof globalThis<"u"?globalThis:u||self,q(u.mesh={}))})(this,function(u){"use strict";var Gg=Object.defineProperty;var Wg=(u,q,vt)=>q in u?Gg(u,q,{enumerable:!0,configurable:!0,writable:!0,value:vt}):u[q]=vt;var o=(u,q,vt)=>Wg(u,typeof q!="symbol"?q+"":q,vt);var Ol,
|
|
1
|
+
(function(u,q){typeof exports=="object"&&typeof module<"u"?q(exports):typeof define=="function"&&define.amd?define(["exports"],q):(u=typeof globalThis<"u"?globalThis:u||self,q(u.mesh={}))})(this,function(u){"use strict";var Gg=Object.defineProperty;var Wg=(u,q,vt)=>q in u?Gg(u,q,{enumerable:!0,configurable:!0,writable:!0,value:vt}):u[q]=vt;var o=(u,q,vt)=>Wg(u,typeof q!="symbol"?q+"":q,vt);var Ol,Er,Nr,vi;class q extends Map{computeIfy(e,t){let n=this.get(e);return n||(n=t(e),this.set(e,n)),n}groupBy(e){const t=new q;return this.forEach((n,s)=>t.computeIfy(e(s,n),i=>[]).push(n)),t}map(e){const t=new vt;return this.forEach((n,s)=>t.push(e(s,n))),t}groupKV(e,t){const n=new q;return this.forEach((s,i)=>n.set(e(i),t(i,s))),n}}class vt extends Array{groupBy(e){const t=new q;return this.forEach(n=>t.computeIfy(e(n),s=>new vt).push(n)),t}groupKV(e,t){const n=new q;this.forEach(i=>n.computeIfy(e(i),a=>[]).push(i));const s=new q;return n.forEach((i,a)=>s.set(a,t(a,i))),s}}const jl={},Gr=()=>typeof globalThis=="object"?globalThis:typeof window=="object"?window:typeof global=="object"?global:jl,Ie=class Ie{constructor(e,t){o(this,"name");o(this,"value");this.name=e,this.value=t}cache(){return Gr().meshCache||(Gr().meshCache=new Map),Gr().meshCache}get(){return this.cache().has(this.name)||this.cache().set(this.name,this.value()),this.cache().get(this.name)}set(e){this.cache().set(this.name,e)}};o(Ie,"Name",new Ie("MESH_NAME",()=>"")),o(Ie,"Direct",new Ie("MESH_DIRECT",()=>"")),o(Ie,"Subset",new Ie("MESH_SUBSET",()=>"")),o(Ie,"Mode",new Ie("MESH_MODE",()=>0)),o(Ie,"Proxy",new Ie("MESH_PROXY",()=>"")),o(Ie,"Address",new Ie("MESH_ADDRESS",()=>"")),o(Ie,"Runtime",new Ie("MESH_RUNTIME",()=>"")),o(Ie,"MDC",new Ie("MESH_MDC",()=>"")),o(Ie,"SPA",new Ie("MESH_SPA",()=>"")),o(Ie,"TCP",new Ie("MESH_TCP",()=>"")),o(Ie,"Home",new Ie("MESH_HOME",()=>"")),o(Ie,"DSN",new Ie("MESH_DSN",()=>""));let Wr=Ie;const Be=class Be{constructor(e){o(this,"v",0);this.v=e}matches(e){return(this.v&e)==this.v}enable(){return this.matches(Wr.Mode.get())}value(){return this.v}};o(Be,"Disable",new Be(1)),o(Be,"Failfast",new Be(2)),o(Be,"Nolog",new Be(4)),o(Be,"JsonLogFormat",new Be(8)),o(Be,"PHeader",new Be(16)),o(Be,"Metrics",new Be(32)),o(Be,"Debug",new Be(64)),o(Be,"PermitCirculate",new Be(128)),o(Be,"NoStdColor",new Be(256)),o(Be,"Isolate",new Be(512)),o(Be,"Mock",new Be(1024));let ao=Be;function wl(r){Wr.Mode.set(Wr.Mode.get()|r)}class or{constructor(e){o(this,"raw");o(this,"parameters");o(this,"prototype");o(this,"length");o(this,"arguments");o(this,"caller",()=>{});o(this,"name");o(this,Ol,{});o(this,"apply",(e,t)=>this.raw.apply(e,...t));o(this,"call",(e,...t)=>this.raw.call(e,...t));o(this,"bind",(e,...t)=>this.raw.bind(e,...t));[this.raw,this.parameters]=this.parse(e),this.prototype=this.raw.prototype,this.length=this.raw.length,this.name=this.raw.name,this[Symbol.metadata]=this.raw[Symbol.metadata]||{}}parse(e){return e?Array.isArray(e)?e.length<2?[e[0],[]]:[e[0],e.slice(1).map(t=>Array.isArray(t)?new or(t):t)]:[e,[]]:[Object,[]]}toString(){return this.raw.toString()}[(Ol=Symbol.metadata,Symbol.hasInstance)](e){return this.raw[Symbol.hasInstance](e)}}const wr=class wr{constructor(e,t,n,s,i,a){o(this,"macro");o(this,"name");o(this,"kind");o(this,"traits");o(this,"metadata");o(this,"modifier");this.macro=e,this.name=t,this.kind=n,this.traits=s,this.metadata=i,this.modifier=a}isfunction(){return(this.modifier&wr.FUNCTION)==wr.FUNCTION}isabstract(){return(this.modifier&wr.ABSTRACT)==wr.ABSTRACT}};o(wr,"FUNCTION",1),o(wr,"ABSTRACT",2);let ji=wr;class El{constructor(){o(this,"tinder",new q);o(this,"annotations",new q)}ak(e,t,n){return`${e.name}-${t}-${n.name}`}annotate(e,t,n,s){this.annotations.computeIfy(n,i=>new q).computeIfy(t,i=>new q).set(e,s)}annotated(e){if(this.annotations.get(e))return!0;const n=this.superclass(e,s=>!0);for(let s of n)if(this.annotations.get(s))return!0;return!1}metadata(e,t,n){var a,d,v,P;const s=(d=(a=this.annotations.get(t))==null?void 0:a.get(n))==null?void 0:d.get(e);if(s)return s;const i=this.superclass(t,R=>!0);for(let R of i){const E=(P=(v=this.annotations.get(R))==null?void 0:v.get(n))==null?void 0:P.get(e);if(E)return E}}superclass(e,t){const n=[];let s=e.prototype;for(;s&&s.constructor;)e!=s.constructor&&t(s)&&n.push(s.constructor),s=Object.getPrototypeOf(s);return n}register(e,t,n,s){var v;const i=this.superclass(n,P=>this.metadata(e,P.constructor,P.constructor)),a=n.constructor?0:ji.FUNCTION,d=i.length<1?ji.ABSTRACT:0;i.length<1&&i.push(n);for(let P of i){const R=this.ak(e,t,P);(v=this.tinder.get(R))==null||v.forEach(T=>{T.kind==n&&console.log(`Object of ${P.name} named ${t} has been register already.`)});const E=new ji(e,t,n,i,s,a|d),k=this.tinder.computeIfy(R,T=>new vt);k.push(E),k.sort((T,w)=>T.isabstract()||T.isfunction()?1:w.isabstract()||T.isfunction()?-1:T.metadata.priority&&w.metadata.priority?T.metadata.priority-w.metadata.priority:0)}}unregister(e,t){const n=[];this.tinder.forEach((s,i)=>s.forEach(a=>{a.macro==e&&a.kind==t&&n.push(i)}));for(let s of n)this.tinder.delete(s)}export(e){const t=new q;for(let n of this.tinder.values())for(let s of n){if(s.isfunction()||s.macro!=e)continue;const i=s.kind;for(let a of s.traits)t.computeIfy(a,d=>new q).computeIfy(s.name,d=>new vt).push(i)}return t}providers(e,t){return this.export(e).computeIfy(t,n=>new q).map((n,s)=>s).flatMap(n=>n).filter(n=>n!=t)}provider(e,t,n){const s=this.ak(e,n,t),i=new vt;return this.tinder.computeIfy(s,a=>new vt).forEach(a=>{!a.isfunction()&&!a.isabstract()&&i.push(a.kind)}),i}inspect(e){const t=new q;return Object.entries(Object.getOwnPropertyDescriptors(e.prototype)).filter(n=>n[0]!=="constructor"&&typeof n[1].value=="function").forEach(n=>{t.set(n[0],n[1].value)}),t}}const $e=(()=>{const r=Gr();return r.Ark??(r.Ark=new El),r.Ark})();var xs=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Bs={};/*! *****************************************************************************
|
|
2
2
|
Copyright (C) Microsoft. All rights reserved.
|
|
3
3
|
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
|
4
4
|
this file except in compliance with the License. You may obtain a copy of the
|
|
@@ -11,14 +11,14 @@
|
|
|
11
11
|
|
|
12
12
|
See the Apache Version 2.0 License for specific language governing permissions
|
|
13
13
|
and limitations under the License.
|
|
14
|
-
***************************************************************************** */var Ls;function Nl(){if(Ls)return Bs;Ls=1;var r;return function(e){(function(t){var n=typeof globalThis=="object"?globalThis:typeof xs=="object"?xs:typeof self=="object"?self:typeof this=="object"?this:v(),s=i(e);typeof n.Reflect<"u"&&(s=i(n.Reflect,s)),t(s,n),typeof n.Reflect>"u"&&(n.Reflect=e);function i(j,R){return function(E,D){Object.defineProperty(j,E,{configurable:!0,writable:!0,value:D}),R&&R(E,D)}}function a(){try{return Function("return this;")()}catch{}}function d(){try{return(0,eval)("(function() { return this; })()")}catch{}}function v(){return a()||d()}})(function(t,n){var s=Object.prototype.hasOwnProperty,i=typeof Symbol=="function",a=i&&typeof Symbol.toPrimitive<"u"?Symbol.toPrimitive:"@@toPrimitive",d=i&&typeof Symbol.iterator<"u"?Symbol.iterator:"@@iterator",v=typeof Object.create=="function",j={__proto__:[]}instanceof Array,R=!v&&!j,E={create:v?function(){return _(Object.create(null))}:j?function(){return _({__proto__:null})}:function(){return _({})},has:R?function(l,g){return s.call(l,g)}:function(l,g){return g in l},get:R?function(l,g){return s.call(l,g)?l[g]:void 0}:function(l,g){return l[g]}},D=Object.getPrototypeOf(Function),T=typeof Map=="function"&&typeof Map.prototype.entries=="function"?Map:p(),w=typeof Set=="function"&&typeof Set.prototype.entries=="function"?Set:f(),M=typeof WeakMap=="function"?WeakMap:m(),A=i?Symbol.for("@reflect-metadata:registry"):void 0,X=Ds(),Y=xn(X);function ae(l,g,O,N){if(G(O)){if(!io(l))throw new TypeError;if(!Ar(g))throw new TypeError;return Cs(l,g)}else{if(!io(l))throw new TypeError;if(!Ve(g))throw new TypeError;if(!Ve(N)&&!G(N)&&!ir(N))throw new TypeError;return ir(N)&&(N=void 0),O=ln(O),Ho(l,g,O,N)}}t("decorate",ae);function ot(l,g){function O(N,I){if(!Ve(N))throw new TypeError;if(!G(I)&&!Fs(I))throw new TypeError;Vo(l,g,N,I)}return O}t("metadata",ot);function de(l,g,O,N){if(!Ve(O))throw new TypeError;return G(N)||(N=ln(N)),Vo(l,g,O,N)}t("defineMetadata",de);function tn(l,g,O){if(!Ve(g))throw new TypeError;return G(O)||(O=ln(O)),no(l,g,O)}t("hasMetadata",tn);function yn(l,g,O){if(!Ve(g))throw new TypeError;return G(O)||(O=ln(O)),ro(l,g,O)}t("hasOwnMetadata",yn);function Nr(l,g,O){if(!Ve(g))throw new TypeError;return G(O)||(O=ln(O)),qo(l,g,O)}t("getMetadata",Nr);function Oi(l,g,O){if(!Ve(g))throw new TypeError;return G(O)||(O=ln(O)),zo(l,g,O)}t("getOwnMetadata",Oi);function Is(l,g){if(!Ve(l))throw new TypeError;return G(g)||(g=ln(g)),Go(l,g)}t("getMetadataKeys",Is);function $s(l,g){if(!Ve(l))throw new TypeError;return G(g)||(g=ln(g)),Qe(l,g)}t("getOwnMetadataKeys",$s);function Us(l,g,O){if(!Ve(g))throw new TypeError;if(G(O)||(O=ln(O)),!Ve(g))throw new TypeError;G(O)||(O=ln(O));var N=y(g,O,!1);return G(N)?!1:N.OrdinaryDeleteMetadata(l,g,O)}t("deleteMetadata",Us);function Cs(l,g){for(var O=l.length-1;O>=0;--O){var N=l[O],I=N(g);if(!G(I)&&!ir(I)){if(!Ar(I))throw new TypeError;g=I}}return g}function Ho(l,g,O,N){for(var I=l.length-1;I>=0;--I){var ee=l[I],J=ee(g,O,N);if(!G(J)&&!ir(J)){if(!Ve(J))throw new TypeError;N=J}}return N}function no(l,g,O){var N=ro(l,g,O);if(N)return!0;var I=Yt(g);return ir(I)?!1:no(l,I,O)}function ro(l,g,O){var N=y(g,O,!1);return G(N)?!1:Ri(N.OrdinaryHasOwnMetadata(l,g,O))}function qo(l,g,O){var N=ro(l,g,O);if(N)return zo(l,g,O);var I=Yt(g);if(!ir(I))return qo(l,I,O)}function zo(l,g,O){var N=y(g,O,!1);if(!G(N))return N.OrdinaryGetOwnMetadata(l,g,O)}function Vo(l,g,O,N){var I=y(O,N,!0);I.OrdinaryDefineOwnMetadata(l,g,O,N)}function Go(l,g){var O=Qe(l,g),N=Yt(l);if(N===null)return O;var I=Go(N,g);if(I.length<=0)return O;if(O.length<=0)return I;for(var ee=new w,J=[],ue=0,$=O;ue<$.length;ue++){var C=$[ue],F=ee.has(C);F||(ee.add(C),J.push(C))}for(var k=0,me=I;k<me.length;k++){var C=me[k],F=ee.has(C);F||(ee.add(C),J.push(C))}return J}function Qe(l,g){var O=y(l,g,!1);return O?O.OrdinaryOwnMetadataKeys(l,g):[]}function ft(l){if(l===null)return 1;switch(typeof l){case"undefined":return 0;case"boolean":return 2;case"string":return 3;case"symbol":return 4;case"number":return 5;case"object":return l===null?1:6;default:return 6}}function G(l){return l===void 0}function ir(l){return l===null}function Wo(l){return typeof l=="symbol"}function Ve(l){return typeof l=="object"?l!==null:typeof l=="function"}function Ko(l,g){switch(ft(l)){case 0:return l;case 1:return l;case 2:return l;case 3:return l;case 4:return l;case 5:return l}var O="string",N=Pi(l,a);if(N!==void 0){var I=N.call(l,O);if(Ve(I))throw new TypeError;return I}return Tr(l)}function Tr(l,g){var O,N,I;{var ee=l.toString;if(Sn(ee)){var N=ee.call(l);if(!Ve(N))return N}var O=l.valueOf;if(Sn(O)){var N=O.call(l);if(!Ve(N))return N}}throw new TypeError}function Ri(l){return!!l}function Jo(l){return""+l}function ln(l){var g=Ko(l);return Wo(g)?g:Jo(g)}function io(l){return Array.isArray?Array.isArray(l):l instanceof Object?l instanceof Array:Object.prototype.toString.call(l)==="[object Array]"}function Sn(l){return typeof l=="function"}function Ar(l){return typeof l=="function"}function Fs(l){switch(ft(l)){case 3:return!0;case 4:return!0;default:return!1}}function oo(l,g){return l===g||l!==l&&g!==g}function Pi(l,g){var O=l[g];if(O!=null){if(!Sn(O))throw new TypeError;return O}}function Xo(l){var g=Pi(l,d);if(!Sn(g))throw new TypeError;var O=g.call(l);if(!Ve(O))throw new TypeError;return O}function Yo(l){return l.value}function so(l){var g=l.next();return g.done?!1:g}function zr(l){var g=l.return;g&&g.call(l)}function Yt(l){var g=Object.getPrototypeOf(l);if(typeof l!="function"||l===D||g!==D)return g;var O=l.prototype,N=O&&Object.getPrototypeOf(O);if(N==null||N===Object.prototype)return g;var I=N.constructor;return typeof I!="function"||I===l?g:I}function co(){var l;!G(A)&&typeof n.Reflect<"u"&&!(A in n.Reflect)&&typeof n.Reflect.defineMetadata=="function"&&(l=ks(n.Reflect));var g,O,N,I=new M,ee={registerProvider:J,getProvider:$,setProvider:F};return ee;function J(k){if(!Object.isExtensible(ee))throw new Error("Cannot add provider to a frozen registry.");switch(!0){case l===k:break;case G(g):g=k;break;case g===k:break;case G(O):O=k;break;case O===k:break;default:N===void 0&&(N=new w),N.add(k);break}}function ue(k,me){if(!G(g)){if(g.isProviderFor(k,me))return g;if(!G(O)){if(O.isProviderFor(k,me))return g;if(!G(N))for(var Fe=Xo(N);;){var Ze=so(Fe);if(!Ze)return;var vn=Yo(Ze);if(vn.isProviderFor(k,me))return zr(Fe),vn}}}if(!G(l)&&l.isProviderFor(k,me))return l}function $(k,me){var Fe=I.get(k),Ze;return G(Fe)||(Ze=Fe.get(me)),G(Ze)&&(Ze=ue(k,me),G(Ze)||(G(Fe)&&(Fe=new T,I.set(k,Fe)),Fe.set(me,Ze))),Ze}function C(k){if(G(k))throw new TypeError;return g===k||O===k||!G(N)&&N.has(k)}function F(k,me,Fe){if(!C(Fe))throw new Error("Metadata provider not registered.");var Ze=$(k,me);if(Ze!==Fe){if(!G(Ze))return!1;var vn=I.get(k);G(vn)&&(vn=new T,I.set(k,vn)),vn.set(me,Fe)}return!0}}function Ds(){var l;return!G(A)&&Ve(n.Reflect)&&Object.isExtensible(n.Reflect)&&(l=n.Reflect[A]),G(l)&&(l=co()),!G(A)&&Ve(n.Reflect)&&Object.isExtensible(n.Reflect)&&Object.defineProperty(n.Reflect,A,{enumerable:!1,configurable:!1,writable:!1,value:l}),l}function xn(l){var g=new M,O={isProviderFor:function(C,F){var k=g.get(C);return G(k)?!1:k.has(F)},OrdinaryDefineOwnMetadata:J,OrdinaryHasOwnMetadata:I,OrdinaryGetOwnMetadata:ee,OrdinaryOwnMetadataKeys:ue,OrdinaryDeleteMetadata:$};return X.registerProvider(O),O;function N(C,F,k){var me=g.get(C),Fe=!1;if(G(me)){if(!k)return;me=new T,g.set(C,me),Fe=!0}var Ze=me.get(F);if(G(Ze)){if(!k)return;if(Ze=new T,me.set(F,Ze),!l.setProvider(C,F,O))throw me.delete(F),Fe&&g.delete(C),new Error("Wrong provider for target.")}return Ze}function I(C,F,k){var me=N(F,k,!1);return G(me)?!1:Ri(me.has(C))}function ee(C,F,k){var me=N(F,k,!1);if(!G(me))return me.get(C)}function J(C,F,k,me){var Fe=N(k,me,!0);Fe.set(C,F)}function ue(C,F){var k=[],me=N(C,F,!1);if(G(me))return k;for(var Fe=me.keys(),Ze=Xo(Fe),vn=0;;){var Rl=so(Ze);if(!Rl)return k.length=vn,k;var zg=Yo(Rl);try{k[vn]=zg}catch(Vg){try{zr(Ze)}finally{throw Vg}}vn++}}function $(C,F,k){var me=N(F,k,!1);if(G(me)||!me.delete(C))return!1;if(me.size===0){var Fe=g.get(F);G(Fe)||(Fe.delete(k),Fe.size===0&&g.delete(Fe))}return!0}}function ks(l){var g=l.defineMetadata,O=l.hasOwnMetadata,N=l.getOwnMetadata,I=l.getOwnMetadataKeys,ee=l.deleteMetadata,J=new M,ue={isProviderFor:function($,C){var F=J.get($);return!G(F)&&F.has(C)?!0:I($,C).length?(G(F)&&(F=new w,J.set($,F)),F.add(C),!0):!1},OrdinaryDefineOwnMetadata:g,OrdinaryHasOwnMetadata:O,OrdinaryGetOwnMetadata:N,OrdinaryOwnMetadataKeys:I,OrdinaryDeleteMetadata:ee};return ue}function y(l,g,O){var N=X.getProvider(l,g);if(!G(N))return N;if(O){if(X.setProvider(l,g,Y))return Y;throw new Error("Illegal state.")}}function p(){var l={},g=[],O=function(){function ue($,C,F){this._index=0,this._keys=$,this._values=C,this._selector=F}return ue.prototype["@@iterator"]=function(){return this},ue.prototype[d]=function(){return this},ue.prototype.next=function(){var $=this._index;if($>=0&&$<this._keys.length){var C=this._selector(this._keys[$],this._values[$]);return $+1>=this._keys.length?(this._index=-1,this._keys=g,this._values=g):this._index++,{value:C,done:!1}}return{value:void 0,done:!0}},ue.prototype.throw=function($){throw this._index>=0&&(this._index=-1,this._keys=g,this._values=g),$},ue.prototype.return=function($){return this._index>=0&&(this._index=-1,this._keys=g,this._values=g),{value:$,done:!0}},ue}(),N=function(){function ue(){this._keys=[],this._values=[],this._cacheKey=l,this._cacheIndex=-2}return Object.defineProperty(ue.prototype,"size",{get:function(){return this._keys.length},enumerable:!0,configurable:!0}),ue.prototype.has=function($){return this._find($,!1)>=0},ue.prototype.get=function($){var C=this._find($,!1);return C>=0?this._values[C]:void 0},ue.prototype.set=function($,C){var F=this._find($,!0);return this._values[F]=C,this},ue.prototype.delete=function($){var C=this._find($,!1);if(C>=0){for(var F=this._keys.length,k=C+1;k<F;k++)this._keys[k-1]=this._keys[k],this._values[k-1]=this._values[k];return this._keys.length--,this._values.length--,oo($,this._cacheKey)&&(this._cacheKey=l,this._cacheIndex=-2),!0}return!1},ue.prototype.clear=function(){this._keys.length=0,this._values.length=0,this._cacheKey=l,this._cacheIndex=-2},ue.prototype.keys=function(){return new O(this._keys,this._values,I)},ue.prototype.values=function(){return new O(this._keys,this._values,ee)},ue.prototype.entries=function(){return new O(this._keys,this._values,J)},ue.prototype["@@iterator"]=function(){return this.entries()},ue.prototype[d]=function(){return this.entries()},ue.prototype._find=function($,C){if(!oo(this._cacheKey,$)){this._cacheIndex=-1;for(var F=0;F<this._keys.length;F++)if(oo(this._keys[F],$)){this._cacheIndex=F;break}}return this._cacheIndex<0&&C&&(this._cacheIndex=this._keys.length,this._keys.push($),this._values.push(void 0)),this._cacheIndex},ue}();return N;function I(ue,$){return ue}function ee(ue,$){return $}function J(ue,$){return[ue,$]}}function f(){var l=function(){function g(){this._map=new T}return Object.defineProperty(g.prototype,"size",{get:function(){return this._map.size},enumerable:!0,configurable:!0}),g.prototype.has=function(O){return this._map.has(O)},g.prototype.add=function(O){return this._map.set(O,O),this},g.prototype.delete=function(O){return this._map.delete(O)},g.prototype.clear=function(){this._map.clear()},g.prototype.keys=function(){return this._map.keys()},g.prototype.values=function(){return this._map.keys()},g.prototype.entries=function(){return this._map.entries()},g.prototype["@@iterator"]=function(){return this.keys()},g.prototype[d]=function(){return this.keys()},g}();return l}function m(){var l=16,g=E.create(),O=N();return function(){function $(){this._key=N()}return $.prototype.has=function(C){var F=I(C,!1);return F!==void 0?E.has(F,this._key):!1},$.prototype.get=function(C){var F=I(C,!1);return F!==void 0?E.get(F,this._key):void 0},$.prototype.set=function(C,F){var k=I(C,!0);return k[this._key]=F,this},$.prototype.delete=function(C){var F=I(C,!1);return F!==void 0?delete F[this._key]:!1},$.prototype.clear=function(){this._key=N()},$}();function N(){var $;do $="@@WeakMap@@"+ue();while(E.has(g,$));return g[$]=!0,$}function I($,C){if(!s.call($,O)){if(!C)return;Object.defineProperty($,O,{value:E.create()})}return $[O]}function ee($,C){for(var F=0;F<C;++F)$[F]=Math.random()*255|0;return $}function J($){if(typeof Uint8Array=="function"){var C=new Uint8Array($);return typeof crypto<"u"?crypto.getRandomValues(C):typeof msCrypto<"u"?msCrypto.getRandomValues(C):ee(C,$),C}return ee(new Array($),$)}function ue(){var $=J(l);$[6]=$[6]&79|64,$[8]=$[8]&191|128;for(var C="",F=0;F<l;++F){var k=$[F];(F===4||F===6||F===8)&&(C+="-"),k<16&&(C+="0"),C+=k.toString(16).toLowerCase()}return C}}function _(l){return l.__=void 0,delete l.__,l}})}(r||(r={})),Bs}Nl();class uo{constructor(e,t,n,s,i,a,d,v){o(this,"topic");o(this,"code");o(this,"version");o(this,"proto");o(this,"codec");o(this,"flags");o(this,"timeout");o(this,"meshable");o(this,"traits");this.topic=e,this.code=t,this.version=n,this.proto=s,this.codec=i,this.flags=a,this.timeout=d,this.meshable=v}decorate(e){this.traits=Object.getPrototypeOf(e.prototype).constructor,$e.annotate(uo,e,e,this),$e.register(uo,`${this.topic}.${this.code}`,e,this)}}function Tl(r="",e="",t="1.0.0",n="http2",s="protobuf",i=0,a=3e3,d=!0){const v=new uo(r,e,t,n,s,i,a,d);return v.decorate.bind(v)}class sr{constructor(e,t,n,s){o(this,"value");o(this,"name");o(this,"transparent");o(this,"kind");o(this,"clas");o(this,"index",1e3);this.value=e,this.name=t,this.transparent=n,this.kind=s,this.clas=Object}decorate(e,t,n){this.kind==Object?this.kind=Reflect.getMetadata("design:type",e,t):this.kind=Array.isArray(this.kind)?new or(this.kind):this.kind;const s=Reflect.getMetadata("design:paramtypes",e,t);s&&Array.isArray(s)&&n!=null&&s.length>n&&(this.clas=s[n]),this.kind&&(this.clas==Array||this.clas==Map)&&(this.clas=this.kind),this.index=n||1e3,n!=null?$e.annotate(sr,`${t}:${n}`,e.constructor,this):$e.annotate(sr,t,e.constructor,this)}}function c(r=-1,e="",t=Object,n=!1){const s=new sr(r,e,n,t);return s.decorate.bind(s)}class mn{constructor(e,t,n,s){o(this,"name");o(this,"pattern");o(this,"priority");o(this,"prototype");this.name=e,this.pattern=t,this.priority=n,this.prototype=s}decorate(e){$e.annotate(mn,e,e,this),$e.register(mn,this.name,e,this)}}function B(r="",e="",t=0,n=!1){const s=new mn(r,e,t,n);return s.decorate.bind(s)}class Ge{constructor(e,t,n,s,i,a,d,v,j,R,E,D,T,w){o(this,"name");o(this,"version");o(this,"proto");o(this,"codec");o(this,"flags");o(this,"timeout");o(this,"retries");o(this,"mdc");o(this,"zone");o(this,"cluster");o(this,"cell");o(this,"group");o(this,"address");o(this,"kind");o(this,"retype");o(this,"attributes",new Map);this.name=e,this.version=t,this.proto=n,this.codec=s,this.flags=i,this.timeout=a,this.retries=d,this.mdc=v,this.zone=j,this.cluster=R,this.cell=E,this.group=D,this.address=T,this.retype=w}decorate(e,t,n){if(typeof t=="string"&&this.attributes.set("name",t),!n){this.kind=Reflect.getMetadata("design:type",e,t),$e.annotate(Ge,t,e,this);return}return this.kind=Reflect.getMetadata("design:returntype",e,t),$e.annotate(Ge,n.value,e.constructor,this),n}}function S(r="",e=Object,t=1e4,n="1.0.0",s="grpc",i="json",a=0,d=3,v="",j="",R="",E="",D="",T=""){const w=new Ge(r,n,s,i,a,t,d,v,j,R,E,D,T,e);return w.decorate.bind(w)}var Al=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i};const Ml=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/mg,Il=/([^\s,]+)/g;u.MethodProxy=class{},u.MethodProxy=Al([B("mesh")],u.MethodProxy);class Hs{constructor(e,t,n){o(this,"index");o(this,"name");o(this,"kind");this.index=e,this.name=t,this.kind=n}}class qs{constructor(e,t,n){o(this,"kind");o(this,"name");o(this,"method");this.kind=e,this.name=t,this.method=n}getAnnotation(e){return $e.metadata(e,this.kind,this.method)}getName(){var t;const e=$e.metadata(Ge,this.kind,this.method);return((t=e==null?void 0:e.attributes)==null?void 0:t.get("name"))||this.name}getParameters(){const e=this.method.toString().replace(Ml,""),t=e.slice(e.indexOf("(")+1,e.indexOf(")")).match(Il)||[],n=[];for(let s=0;s<t.length;s++){const i=$e.metadata(sr,this.kind,`${this.getName()}:${s}`);n.push(new Hs(s,(i==null?void 0:i.name)||t[s],(i==null?void 0:i.clas)||Object))}return n}getType(){return this.kind}getReturnType(){var e;return new or((e=$e.metadata(Ge,this.kind,this.method))==null?void 0:e.retype)}getExecutable(){return this.method}getSymbol(){return this.name}invoke(e,t){return this.method(...t)}}class $l{constructor(e,t,n){o(this,"inspector");o(this,"h");o(this,"proxy");this.inspector=e,this.h=t,this.proxy=n}apply(e,t,n){return this.h.invoke(this.proxy,this.inspector,n)}}class Ul{constructor(e,t,n){o(this,"inspectors",new q);o(this,"executables",new q);for(let s of t)this.executables.set(s.getSymbol(),new Proxy(s.getExecutable(),new $l(s,n,this))),this.inspectors.set(s.getSymbol(),s)}getMethods(){return this.inspectors.map((e,t)=>t)}get(e,t,n){return this.executables.get(t)}}class wi{static newProxyInstance(e,t){var n,s,i;return this.proxies.get(e)||this.proxies.set(e,new q),(n=this.proxies.get(e))!=null&&n.get(t)||(s=this.proxies.get(e))==null||s.set(t,new Proxy(e,new Ul(e,this.getMethods(e),t))),(i=this.proxies.get(e))==null?void 0:i.get(t)}static getMethods(e){return this.inspectors.computeIfy(e,t=>$e.inspect(t).map((n,s)=>new qs(t,n,s)))}}o(wi,"proxies",new q),o(wi,"inspectors",new q);const xo=class xo{constructor(e,t){o(this,"name");o(this,"kind");o(this,"prototype");o(this,"priority");this.name=e,this.kind=t,this.prototype=!1,this.priority=1}getIfAbsent(){return this.prototype?this.create():xo.value.computeIfy(this.kind,e=>this.create())}create(){return new this.kind}};o(xo,"value",new q);let Qo=xo,Cl=class{constructor(e,t){o(this,"name","");o(this,"providers",[]);this.name=e,this.providers=t.map(n=>new Qo(e,n)).sort((n,s)=>n.priority-s.priority)}getIfAbsent(){if(this.providers.length<1)throw new Error(`No such provider named ${this.name}`);return this.providers[0].getIfAbsent()}};const Bo=class Bo{constructor(e){o(this,"providers",new q);o(this,"spi");o(this,"fist","");var t;this.spi=e,this.fist=((t=$e.metadata(mn,e,e))==null?void 0:t.name)||""}static load(e){return this.loaders.computeIfy(e,t=>new Bo(e))}defaultName(){return this.fist}getDefault(){return this.get(this.fist)}get(e){const t=this.getInstances().get(e);if(!t)throw new Error(`SPI ${this.spi.name} named ${e} not exist.`);return t.getIfAbsent()}want(e){const t=this.getInstances().get(e);return t?t.getIfAbsent():null}list(){return this.getInstances().map((e,t)=>t.getIfAbsent())}getInstances(){return this.providers.computeIfy("$",e=>$e.providers(mn,this.spi).groupBy(t=>{const n=$e.metadata(mn,t,t);return n&&n.name||""}).groupKV(t=>t,(t,n)=>new Cl(t,n)))}};o(Bo,"loaders",new q);let tt=Bo;class Ei{constructor(e,t,n,s,i,a){o(this,"name");o(this,"version");o(this,"proto");o(this,"codec");o(this,"flags");o(this,"timeout");o(this,"traits");this.name=e,this.version=t,this.proto=n,this.codec=s,this.flags=i,this.timeout=a}decorate(e){this.traits=Object.getPrototypeOf(e.prototype).constructor,$e.annotate(Ei,e,e,this),$e.register(Ei,this.name,e,this)}}function Fl(r="",e="",t="grpc",n="json",s=0,i=1e4){const a=new Ei(r,e,t,n,s,i);return a.decorate.bind(a)}function zs(r){return"getCode"in r&&"getMessage"in r}class oe extends Error{constructor(t,n){super(n);o(this,"code");o(this,"message");this.code=t,this.message=n}getCode(){return this.code}getMessage(){return this.message}}class h{}o(h,"SUCCESS",new oe("E0000000000","请求成功")),o(h,"NOT_FOUND",new oe("E0000000404","请求资源不存在")),o(h,"SYSTEM_ERROR",new oe("E0000000500","系统异常")),o(h,"SERVICE_UNAVAILABLE",new oe("E0000000503","循环请求服务不可达")),o(h,"VALIDATE",new oe("E0000000400","请求非法")),o(h,"UNAUTHORIZED",new oe("E0000000403","请求资源未被授权")),o(h,"UNKNOWN",new oe("E0000000520","未知异常")),o(h,"COMPATIBLE",new oe("E0000000600","系统不兼容")),o(h,"TIMEOUT",new oe("E0000000601","请求超时")),o(h,"NO_PROVIDER",new oe("E0000000602","无服务实例")),o(h,"CRYPT_ERROR",new oe("E0000000603","数字证书校验异常")),o(h,"TOKEN_EXPIRE",new oe("E0000000604","节点授权码已过期")),o(h,"NET_EXPIRE",new oe("E0000000605","节点组网时间已过期")),o(h,"NET_DISABLE",new oe("E0000000606","对方节点已禁用网络")),o(h,"NET_UNAVAILABLE",new oe("E0000000607","网络不通")),o(h,"LICENSE_FORMAT_ERROR",new oe("E0000000608","License非法")),o(h,"LICENSE_EXPIRED",new oe("E0000000609","License已过期")),o(h,"MAX_REPLICAS_LIMIT",new oe("E0000000610","集群副本已达许可上限")),o(h,"MAX_COOP_LIMIT",new oe("E0000000611","合作方链接数已达许可上限")),o(h,"MAX_TENANT_LIMIT",new oe("E0000000612","租户数已达许可上限")),o(h,"MAX_USER_LIMIT",new oe("E0000000613","用户数已达许可上限")),o(h,"URN_NOT_PERMIT",new oe("E0000000614","接口未被许可调用")),o(h,"SIGNATURE_ERROR",new oe("E0000000615","证书签名非法")),o(h,"CRYPT_CODEC_ERROR",new oe("E0000000616","报文编解码异常")),o(h,"NO_SERVICE",new oe("E0000000617","下游版本不匹配服务不存在")),o(h,"NET_NOT_WEAVE",new oe("E0000000618","节点或机构未组网")),o(h,"ADDRESS_ERROR",new oe("E0000000619","地址非法或无法访问")),o(h,"UNEXPECTED_SYNTAX",new oe("E0000000620","规则语法错误")),o(h,"UNKNOWN_SCRIPT",new oe("E0000000621","规则不存在")),o(h,"DATA_ID_ERROR",new oe("E0000000622","数据身份不存在或非法")),o(h,"START_PENDING",new oe("E0000000623","系统启动中")),o(h,"UNEXPECTED_SQL_SYNTAX",new oe("E0000000624","SQL语法错误")),o(h,"NO_DATABASE",new oe("E0000000625","数据库不存在")),o(h,"NO_TRANSACTION",new oe("E0000000626","事务不存在")),o(h,"SQL_EXECUTE_ERROR",new oe("E0000000627","SQL执行异常")),o(h,"DUPLICATE_KEY",new oe("E0000000628","唯一键冲突"));class Ni{static inspect(e){return e instanceof oe?e:(console.log(e),h.SYSTEM_ERROR)}static errorf(e){return e instanceof oe?e:(console.log(e),h.SYSTEM_ERROR)}}var Dl=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i};const Xt=class Xt{constructor(e){o(this,"v");this.v=e}matches(e){return(this.v&e)==this.v}};o(Xt,"Routine",new Xt(1)),o(Xt,"Perform",new Xt(2)),o(Xt,"Defense",new Xt(4)),o(Xt,"Debug",new Xt(8)),o(Xt,"LoadTest",new Xt(16)),o(Xt,"Mock",new Xt(32));let po=Xt;class cr{constructor(e){o(this,"name");this.name=e}}class Vs extends Array{peek(){if(!(this.length<1))return this.at(this.length-1)}}class fo{}const le=class le{constructor(e){o(this,"key");this.key=e}get(e){var s,i,a;const t=(s=e.getAttachments())==null?void 0:s.get(this.key);if(t)return t;const n=(i=e.getAttachments())==null?void 0:i.get(this.key.replace("-","_"));if(n)return n;for(let d of(a=e.getAttachments())==null?void 0:a.entries())if(d[1]&&d[0]&&(d[0].toLowerCase()==this.key||d[0].replace("_","-").toLowerCase()==this.key))return d[1];return""}set(e,t){var n;(n=e.getAttachments())==null||n.set(this.key,t)}};o(le,"MESH_TRACE_ID",new le("mesh-trace-id")),o(le,"MESH_SPAN_ID",new le("mesh-span-id")),o(le,"MESH_TIMESTAMP",new le("mesh-timestamp")),o(le,"MESH_RUN_MODE",new le("mesh-mode")),o(le,"MESH_CONSUMER",new le("mesh-consumer")),o(le,"MESH_PROVIDER",new le("mesh-provider")),o(le,"MESH_URN",new le("mesh-urn")),o(le,"MESH_FROM_INST_ID",new le("mesh-from-inst-id")),o(le,"MESH_FROM_NODE_ID",new le("mesh-from-node-id")),o(le,"MESH_INCOMING_HOST",new le("mesh-incoming-host")),o(le,"MESH_OUTGOING_HOST",new le("mesh-outgoing-host")),o(le,"MESH_INCOMING_PROXY",new le("mesh-incoming-proxy")),o(le,"MESH_OUTGOING_PROXY",new le("mesh-outgoing-proxy")),o(le,"MESH_SUBSET",new le("mesh-subset")),o(le,"MESH_SESSION_ID",new le("mesh-session-id")),o(le,"MESH_VERSION",new le("mesh-version")),o(le,"MESH_TIMEOUT",new le("mesh-timeout"));let yo=le;u.ContextProvider=class{},u.ContextProvider=Dl([B("mesh")],u.ContextProvider);function b(){return tt.load(u.ContextProvider).getDefault().context()}var Pe=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i},je=function(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)},Gs,Ws,Ks,Js;class U{constructor(){o(this,"sid","");o(this,"index",0);o(this,"limit",0);o(this,"factor",{});o(this,"order","")}}Pe([c(0,"sid",String),je("design:type",String)],U.prototype,"sid",void 0),Pe([c(1,"index",Number),je("design:type",Number)],U.prototype,"index",void 0),Pe([c(2,"limit",Number),je("design:type",Number)],U.prototype,"limit",void 0),Pe([c(3,"factor",[Map,String,Object]),je("design:type",typeof(Gs=typeof Record<"u"&&Record)=="function"?Gs:Object)],U.prototype,"factor",void 0),Pe([c(4,"order",String),je("design:type",String)],U.prototype,"order",void 0);class Oe{constructor(){o(this,"sid","");o(this,"index",0);o(this,"limit",0);o(this,"total",0);o(this,"next",!1);o(this,"data",[])}}Pe([c(0,"sid",String),je("design:type",String)],Oe.prototype,"sid",void 0),Pe([c(1,"index",Number),je("design:type",Number)],Oe.prototype,"index",void 0),Pe([c(2,"limit",Number),je("design:type",Number)],Oe.prototype,"limit",void 0),Pe([c(3,"total",Number),je("design:type",Number)],Oe.prototype,"total",void 0),Pe([c(4,"next",Boolean),je("design:type",Boolean)],Oe.prototype,"next",void 0),Pe([c(5,"data",[Array,Object]),je("design:type",Array)],Oe.prototype,"data",void 0);class Ti{constructor(){o(this,"nodeId","");o(this,"nodeName","");o(this,"instId","");o(this,"instName","")}}Pe([c(0,"node_id",String),je("design:type",String)],Ti.prototype,"nodeId",void 0),Pe([c(1,"node_name",String),je("design:type",String)],Ti.prototype,"nodeName",void 0),Pe([c(2,"inst_id",String),je("design:type",String)],Ti.prototype,"instId",void 0),Pe([c(3,"inst_name",String),je("design:type",String)],Ti.prototype,"instName",void 0);class Mr{constructor(){o(this,"status",0);o(this,"createAt");o(this,"updateAt");o(this,"createBy","");o(this,"updateBy","")}}Pe([c(0,"status",Number),je("design:type",Number)],Mr.prototype,"status",void 0),Pe([c(1,"create_at",Date),je("design:type",typeof(Ws=typeof Date<"u"&&Date)=="function"?Ws:Object)],Mr.prototype,"createAt",void 0),Pe([c(2,"update_at",Date),je("design:type",typeof(Ks=typeof Date<"u"&&Date)=="function"?Ks:Object)],Mr.prototype,"updateAt",void 0),Pe([c(3,"create_by",String),je("design:type",String)],Mr.prototype,"createBy",void 0),Pe([c(4,"update_by",String),je("design:type",String)],Mr.prototype,"updateBy",void 0);class xt{constructor(){o(this,"name","");o(this,"pos","");o(this,"text","");o(this,"buff",new Uint8Array)}}Pe([c(0,"name",String),je("design:type",String)],xt.prototype,"name",void 0),Pe([c(1,"pos",String),je("design:type",String)],xt.prototype,"pos",void 0),Pe([c(2,"text",String),je("design:type",String)],xt.prototype,"text",void 0),Pe([c(3,"buff",Uint8Array),je("design:type",typeof(Js=typeof Uint8Array<"u"&&Uint8Array)=="function"?Js:Object)],xt.prototype,"buff",void 0);class He{constructor(){o(this,"topic","");o(this,"code","");o(this,"group","");o(this,"sets","")}}Pe([c(0,"topic",String),je("design:type",String)],He.prototype,"topic",void 0),Pe([c(1,"code",String),je("design:type",String)],He.prototype,"code",void 0),Pe([c(2,"group",String),je("design:type",String)],He.prototype,"group",void 0),Pe([c(3,"sets",String),je("design:type",String)],He.prototype,"sets",void 0);var Ee=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i},Ne=function(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)},Xs,Ys,Qs,Zs,ec;class Ai{constructor(){o(this,"suite","");o(this,"project","");o(this,"name","");o(this,"version","")}}Ee([c(0,"suite",String),Ne("design:type",String)],Ai.prototype,"suite",void 0),Ee([c(1,"project",String),Ne("design:type",String)],Ai.prototype,"project",void 0),Ee([c(2,"name",String),Ne("design:type",String)],Ai.prototype,"name",void 0),Ee([c(3,"version",String),Ne("design:type",String)],Ai.prototype,"version",void 0);class Ot{constructor(){o(this,"name","");o(this,"proto","");o(this,"algo","");o(this,"parties",[]);o(this,"message","")}}Ee([c(0,"name",String),Ne("design:type",String)],Ot.prototype,"name",void 0),Ee([c(1,"proto",String),Ne("design:type",String)],Ot.prototype,"proto",void 0),Ee([c(2,"algo",String),Ne("design:type",String)],Ot.prototype,"algo",void 0),Ee([c(3,"parties",[Array,String]),Ne("design:type",Array)],Ot.prototype,"parties",void 0),Ee([c(4,"message",String),Ne("design:type",String)],Ot.prototype,"message",void 0);class Ir{constructor(){o(this,"suite","");o(this,"csr",new Uint8Array)}}Ee([c(0,"suite",String),Ne("design:type",String)],Ir.prototype,"suite",void 0),Ee([c(1,"csr",Uint8Array),Ne("design:type",typeof(Xs=typeof Uint8Array<"u"&&Uint8Array)=="function"?Xs:Object)],Ir.prototype,"csr",void 0);class ar{constructor(){o(this,"hello",new Ot);o(this,"suite",new Ir);o(this,"local","")}}Ee([c(0,"hello",Ot),Ne("design:type",Ot)],ar.prototype,"hello",void 0),Ee([c(1,"suite",Ir),Ne("design:type",Ir)],ar.prototype,"suite",void 0),Ee([c(2,"local",String),Ne("design:type",String)],ar.prototype,"local",void 0);class Mi extends ar{constructor(){super(...arguments);o(this,"keys",{})}}Ee([c(0,"keys",[Map,String,Uint8Array]),Ne("design:type",typeof(Ys=typeof Record<"u"&&Record)=="function"?Ys:Object)],Mi.prototype,"keys",void 0);class lo{constructor(){o(this,"keys",{})}}Ee([c(0,"keys",[Map,String,Uint8Array]),Ne("design:type",typeof(Qs=typeof Record<"u"&&Record)=="function"?Qs:Object)],lo.prototype,"keys",void 0);class On{constructor(){o(this,"suite","");o(this,"body",new Uint8Array)}}Ee([c(0,"suite",String),Ne("design:type",String)],On.prototype,"suite",void 0),Ee([c(1,"body",Uint8Array),Ne("design:type",typeof(Zs=typeof Uint8Array<"u"&&Uint8Array)=="function"?Zs:Object)],On.prototype,"body",void 0);class Ii extends On{constructor(){super(...arguments);o(this,"reKey",new Uint8Array)}}Ee([c(0,"re_key",Uint8Array),Ne("design:type",typeof(ec=typeof Uint8Array<"u"&&Uint8Array)=="function"?ec:Object)],Ii.prototype,"reKey",void 0);class yt{constructor(){o(this,"code","");o(this,"name","");o(this,"memo","");o(this,"uri","");o(this,"level","");o(this,"nodeId","");o(this,"instId","");o(this,"raw","")}}Ee([c(0,"code",String),Ne("design:type",String)],yt.prototype,"code",void 0),Ee([c(1,"name",String),Ne("design:type",String)],yt.prototype,"name",void 0),Ee([c(2,"memo",String),Ne("design:type",String)],yt.prototype,"memo",void 0),Ee([c(3,"uri",String),Ne("design:type",String)],yt.prototype,"uri",void 0),Ee([c(4,"level",String),Ne("design:type",String)],yt.prototype,"level",void 0),Ee([c(5,"node_id",String),Ne("design:type",String)],yt.prototype,"nodeId",void 0),Ee([c(6,"inst_id",String),Ne("design:type",String)],yt.prototype,"instId",void 0),Ee([c(7,"raw",String),Ne("design:type",String)],yt.prototype,"raw",void 0);var z=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i},V=function(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)},tc,nc,rc;class Bt{constructor(){o(this,"id","");o(this,"name","");o(this,"modal","");o(this,"proto","");o(this,"url","");o(this,"memo","");o(this,"status",0)}}z([c(0,"id",String),V("design:type",String)],Bt.prototype,"id",void 0),z([c(1,"name",String),V("design:type",String)],Bt.prototype,"name",void 0),z([c(2,"modal",String),V("design:type",String)],Bt.prototype,"modal",void 0),z([c(3,"proto",String),V("design:type",String)],Bt.prototype,"proto",void 0),z([c(4,"url",String),V("design:type",String)],Bt.prototype,"url",void 0),z([c(5,"memo",String),V("design:type",String)],Bt.prototype,"memo",void 0),z([c(6,"status",Number),V("design:type",Number)],Bt.prototype,"status",void 0);class Wr extends Bt{constructor(){super(...arguments);o(this,"role","");o(this,"rw",0);o(this,"ww",0);o(this,"failover",!1)}}z([c(0,"role",String),V("design:type",String)],Wr.prototype,"role",void 0),z([c(1,"rw",Number),V("design:type",Number)],Wr.prototype,"rw",void 0),z([c(2,"ww",Number),V("design:type",Number)],Wr.prototype,"ww",void 0),z([c(3,"failover",Boolean),V("design:type",Boolean)],Wr.prototype,"failover",void 0);class st{constructor(){o(this,"id","");o(this,"name","");o(this,"modal","");o(this,"keepalive",0);o(this,"retries",0);o(this,"rwmode",0);o(this,"failover",!1);o(this,"instances",[]);o(this,"status",0);o(this,"url","");o(this,"proto","");o(this,"gfs","")}}z([c(0,"id",String),V("design:type",String)],st.prototype,"id",void 0),z([c(1,"name",String),V("design:type",String)],st.prototype,"name",void 0),z([c(2,"modal",String),V("design:type",String)],st.prototype,"modal",void 0),z([c(3,"keepalive",Number),V("design:type",Number)],st.prototype,"keepalive",void 0),z([c(4,"retries",Number),V("design:type",Number)],st.prototype,"retries",void 0),z([c(5,"rw_mode",Number),V("design:type",Number)],st.prototype,"rwmode",void 0),z([c(6,"failover",Boolean),V("design:type",Boolean)],st.prototype,"failover",void 0),z([c(7,"instances",[Array,Wr]),V("design:type",Array)],st.prototype,"instances",void 0),z([c(8,"status",Number),V("design:type",Number)],st.prototype,"status",void 0),z([c(9,"url",String),V("design:type",String)],st.prototype,"url",void 0),z([c(10,"proto",String),V("design:type",String)],st.prototype,"proto",void 0),z([c(11,"gfs",String),V("design:type",String)],st.prototype,"gfs",void 0);class $r{constructor(){o(this,"id","");o(this,"expr","");o(this,"db","")}}z([c(0,"id",String),V("design:type",String)],$r.prototype,"id",void 0),z([c(1,"expr",String),V("design:type",String)],$r.prototype,"expr",void 0),z([c(2,"db",String),V("design:type",String)],$r.prototype,"db",void 0);class We{constructor(){o(this,"id","");o(this,"name","");o(this,"kind","");o(this,"modal","");o(this,"sid","");o(this,"did","");o(this,"sname","");o(this,"dname","");o(this,"abc","");o(this,"dag","");o(this,"raw","");o(this,"status",0);o(this,"createAt");o(this,"updateAt");o(this,"createBy","");o(this,"updateBy","")}}z([c(0,"id",String),V("design:type",String)],We.prototype,"id",void 0),z([c(1,"name",String),V("design:type",String)],We.prototype,"name",void 0),z([c(2,"kind",String),V("design:type",String)],We.prototype,"kind",void 0),z([c(3,"modal",String),V("design:type",String)],We.prototype,"modal",void 0),z([c(4,"sid",String),V("design:type",String)],We.prototype,"sid",void 0),z([c(5,"did",String),V("design:type",String)],We.prototype,"did",void 0),z([c(6,"s_name",String),V("design:type",String)],We.prototype,"sname",void 0),z([c(7,"d_name",String),V("design:type",String)],We.prototype,"dname",void 0),z([c(8,"abc",String),V("design:type",String)],We.prototype,"abc",void 0),z([c(9,"dag",String),V("design:type",String)],We.prototype,"dag",void 0),z([c(10,"raw",String),V("design:type",String)],We.prototype,"raw",void 0),z([c(11,"status",Number),V("design:type",Number)],We.prototype,"status",void 0),z([c(12,"create_at",Date),V("design:type",typeof(tc=typeof Date<"u"&&Date)=="function"?tc:Object)],We.prototype,"createAt",void 0),z([c(13,"update_at",Date),V("design:type",typeof(nc=typeof Date<"u"&&Date)=="function"?nc:Object)],We.prototype,"updateAt",void 0),z([c(14,"create_by",String),V("design:type",String)],We.prototype,"createBy",void 0),z([c(15,"update_by",String),V("design:type",String)],We.prototype,"updateBy",void 0);class Bn{constructor(){o(this,"id","");o(this,"name","");o(this,"modal","");o(this,"path","");o(this,"size",0);o(this,"lines",0);o(this,"createAt")}}z([c(0,"id",String),V("design:type",String)],Bn.prototype,"id",void 0),z([c(1,"name",String),V("design:type",String)],Bn.prototype,"name",void 0),z([c(2,"modal",String),V("design:type",String)],Bn.prototype,"modal",void 0),z([c(3,"path",String),V("design:type",String)],Bn.prototype,"path",void 0),z([c(4,"size",Number),V("design:type",Number)],Bn.prototype,"size",void 0),z([c(5,"lines",Number),V("design:type",Number)],Bn.prototype,"lines",void 0),z([c(6,"create_at",Date),V("design:type",typeof(rc=typeof Date<"u"&&Date)=="function"?rc:Object)],Bn.prototype,"createAt",void 0);var qe=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i},ze=function(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)},ic,oc,sc;class Rn{constructor(){o(this,"name","");o(this,"icon","");o(this,"version","");o(this,"memo","");o(this,"raw",{})}}qe([c(0,"name",String),ze("design:type",String)],Rn.prototype,"name",void 0),qe([c(1,"icon",String),ze("design:type",String)],Rn.prototype,"icon",void 0),qe([c(2,"version",String),ze("design:type",String)],Rn.prototype,"version",void 0),qe([c(3,"memo",String),ze("design:type",String)],Rn.prototype,"memo",void 0),qe([c(4,"raw",[Map,String,String]),ze("design:type",typeof(ic=typeof Record<"u"&&Record)=="function"?ic:Object)],Rn.prototype,"raw",void 0);class nt{constructor(){o(this,"code","");o(this,"name","");o(this,"scene","");o(this,"mode","");o(this,"plan","");o(this,"appset","");o(this,"memo","");o(this,"srcUri","");o(this,"dstUri","");o(this,"raw","");o(this,"last","");o(this,"size",0);o(this,"status",0);o(this,"createAt");o(this,"updateAt");o(this,"createBy","");o(this,"updateBy","")}}qe([c(0,"code",String),ze("design:type",String)],nt.prototype,"code",void 0),qe([c(1,"name",String),ze("design:type",String)],nt.prototype,"name",void 0),qe([c(2,"scene",String),ze("design:type",String)],nt.prototype,"scene",void 0),qe([c(3,"mode",String),ze("design:type",String)],nt.prototype,"mode",void 0),qe([c(4,"plan",String),ze("design:type",String)],nt.prototype,"plan",void 0),qe([c(5,"appset",String),ze("design:type",String)],nt.prototype,"appset",void 0),qe([c(6,"memo",String),ze("design:type",String)],nt.prototype,"memo",void 0),qe([c(7,"src_uri",String),ze("design:type",String)],nt.prototype,"srcUri",void 0),qe([c(8,"dst_uri",String),ze("design:type",String)],nt.prototype,"dstUri",void 0),qe([c(9,"raw",String),ze("design:type",String)],nt.prototype,"raw",void 0),qe([c(10,"last",String),ze("design:type",String)],nt.prototype,"last",void 0),qe([c(11,"size",Number),ze("design:type",Number)],nt.prototype,"size",void 0),qe([c(12,"status",Number),ze("design:type",Number)],nt.prototype,"status",void 0),qe([c(13,"create_at",Date),ze("design:type",typeof(oc=typeof Date<"u"&&Date)=="function"?oc:Object)],nt.prototype,"createAt",void 0),qe([c(14,"update_at",Date),ze("design:type",typeof(sc=typeof Date<"u"&&Date)=="function"?sc:Object)],nt.prototype,"updateAt",void 0),qe([c(15,"create_by",String),ze("design:type",String)],nt.prototype,"createBy",void 0),qe([c(16,"update_by",String),ze("design:type",String)],nt.prototype,"updateBy",void 0);var Pn=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i},jn=function(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)},cc,ac;class dr{constructor(){o(this,"metadata",{});o(this,"content","");o(this,"timestamp",0)}}Pn([c(0,"metadata",[Map,String,String]),jn("design:type",typeof(cc=typeof Record<"u"&&Record)=="function"?cc:Object)],dr.prototype,"metadata",void 0),Pn([c(1,"content",String),jn("design:type",String)],dr.prototype,"content",void 0),Pn([c(2,"timestamp",Number),jn("design:type",Number)],dr.prototype,"timestamp",void 0);class ur{constructor(){o(this,"queries",{});o(this,"start",0);o(this,"end",0);o(this,"limit",0);o(this,"step","");o(this,"direction","");o(this,"routeKey","")}}Pn([c(0,"queries",[Map,String,String]),jn("design:type",typeof(ac=typeof Record<"u"&&Record)=="function"?ac:Object)],ur.prototype,"queries",void 0),Pn([c(1,"start",Number),jn("design:type",Number)],ur.prototype,"start",void 0),Pn([c(2,"end",Number),jn("design:type",Number)],ur.prototype,"end",void 0),Pn([c(3,"limit",Number),jn("design:type",Number)],ur.prototype,"limit",void 0),Pn([c(4,"step",String),jn("design:type",String)],ur.prototype,"step",void 0),Pn([c(5,"direction",String),jn("design:type",String)],ur.prototype,"direction",void 0),Pn([c(6,"route_key",String),jn("design:type",String)],ur.prototype,"routeKey",void 0);var Rt=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i},Pt=function(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)},dc,uc,pc;class De{constructor(){o(this,"codec","");o(this,"schema","");o(this,"buffer",new Uint8Array)}}Rt([c(0,"codec",String),Pt("design:type",String)],De.prototype,"codec",void 0),Rt([c(1,"schema",String),Pt("design:type",String)],De.prototype,"schema",void 0),Rt([c(2,"buffer",Uint8Array),Pt("design:type",typeof(dc=typeof Uint8Array<"u"&&Uint8Array)=="function"?dc:Object)],De.prototype,"buffer",void 0);class jt{constructor(){o(this,"version","");o(this,"entity",new De);o(this,"timestamp",0);o(this,"duration",0);o(this,"key","")}}Rt([c(0,"version",String),Pt("design:type",String)],jt.prototype,"version",void 0),Rt([c(1,"entity",De),Pt("design:type",De)],jt.prototype,"entity",void 0),Rt([c(2,"timestamp",Number),Pt("design:type",Number)],jt.prototype,"timestamp",void 0),Rt([c(3,"duration",Number),Pt("design:type",Number)],jt.prototype,"duration",void 0),Rt([c(4,"key",String),Pt("design:type",String)],jt.prototype,"key",void 0);class $i{constructor(){o(this,"key","");o(this,"value",new De);o(this,"updateAt")}}Rt([c(0,"key",String),Pt("design:type",String)],$i.prototype,"key",void 0),Rt([c(1,"value",De),Pt("design:type",De)],$i.prototype,"value",void 0),Rt([c(2,"update_at",Date),Pt("design:type",typeof(uc=typeof Date<"u"&&Date)=="function"?uc:Object)],$i.prototype,"updateAt",void 0);class Kr{constructor(){o(this,"mno","");o(this,"kind","");o(this,"mime",new Uint8Array);o(this,"text","")}}Rt([c(0,"mno",String),Pt("design:type",String)],Kr.prototype,"mno",void 0),Rt([c(1,"kind",String),Pt("design:type",String)],Kr.prototype,"kind",void 0),Rt([c(2,"mime",Uint8Array),Pt("design:type",typeof(pc=typeof Uint8Array<"u"&&Uint8Array)=="function"?pc:Object)],Kr.prototype,"mime",void 0),Rt([c(3,"text",String),Pt("design:type",String)],Kr.prototype,"text",void 0);class kl{}var wt=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i},Et=function(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)};class Ln{constructor(){o(this,"zone","");o(this,"cluster","");o(this,"cell","");o(this,"group","");o(this,"address","")}}wt([c(0,"zone",String),Et("design:type",String)],Ln.prototype,"zone",void 0),wt([c(1,"cluster",String),Et("design:type",String)],Ln.prototype,"cluster",void 0),wt([c(2,"cell",String),Et("design:type",String)],Ln.prototype,"cell",void 0),wt([c(3,"group",String),Et("design:type",String)],Ln.prototype,"group",void 0),wt([c(4,"address",String),Et("design:type",String)],Ln.prototype,"address",void 0);class Ke{constructor(){o(this,"mdc","");o(this,"version","");o(this,"name","");o(this,"crt","");o(this,"key","");o(this,"rootCrt","");o(this,"lattice",new Ln);o(this,"nodeID","");o(this,"instID","");o(this,"instName","")}}wt([c(0,"mdc",String),Et("design:type",String)],Ke.prototype,"mdc",void 0),wt([c(1,"version",String),Et("design:type",String)],Ke.prototype,"version",void 0),wt([c(2,"name",String),Et("design:type",String)],Ke.prototype,"name",void 0),wt([c(3,"crt",String),Et("design:type",String)],Ke.prototype,"crt",void 0),wt([c(4,"key",String),Et("design:type",String)],Ke.prototype,"key",void 0),wt([c(5,"root_crt",String),Et("design:type",String)],Ke.prototype,"rootCrt",void 0),wt([c(6,"lattice",Ln),Et("design:type",Ln)],Ke.prototype,"lattice",void 0),wt([c(7,"node_id",String),Et("design:type",String)],Ke.prototype,"nodeID",void 0),wt([c(8,"inst_id",String),Et("design:type",String)],Ke.prototype,"instID",void 0),wt([c(9,"inst_name",String),Et("design:type",String)],Ke.prototype,"instName",void 0);var pr=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i},fr=function(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)};class Nt{constructor(){o(this,"id","")}}pr([c(0,"idc",String),fr("design:type",String)],Nt.prototype,"id",void 0);class yr extends Nt{constructor(){super(...arguments);o(this,"ip","");o(this,"port","");o(this,"host","");o(this,"name","")}}pr([c(0,"ip",String),fr("design:type",String)],yr.prototype,"ip",void 0),pr([c(1,"port",String),fr("design:type",String)],yr.prototype,"port",void 0),pr([c(2,"host",String),fr("design:type",String)],yr.prototype,"host",void 0),pr([c(3,"name",String),fr("design:type",String)],yr.prototype,"name",void 0);class mo{constructor(){o(this,"nodeId","");o(this,"instId","");o(this,"instName","")}}pr([c(0,"node_id",String),fr("design:type",String)],mo.prototype,"nodeId",void 0),pr([c(1,"inst_id",String),fr("design:type",String)],mo.prototype,"instId",void 0),pr([c(2,"inst_name",String),fr("design:type",String)],mo.prototype,"instName",void 0);var lt=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i},mt=function(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)},fc,yc,lc,mc,gc,hc;class gt{constructor(){o(this,"version","");o(this,"tid","");o(this,"sid","");o(this,"eid","");o(this,"mid","");o(this,"timestamp","");o(this,"source",new Nt);o(this,"target",new Nt);o(this,"binding",new He);o(this,"entity",new De)}}lt([c(0,"version",String),mt("design:type",String)],gt.prototype,"version",void 0),lt([c(1,"tid",String),mt("design:type",String)],gt.prototype,"tid",void 0),lt([c(2,"sid",String),mt("design:type",String)],gt.prototype,"sid",void 0),lt([c(3,"eid",String),mt("design:type",String)],gt.prototype,"eid",void 0),lt([c(4,"mid",String),mt("design:type",String)],gt.prototype,"mid",void 0),lt([c(5,"timestamp",String),mt("design:type",String)],gt.prototype,"timestamp",void 0),lt([c(6,"source",Nt),mt("design:type",typeof(fc=typeof Nt<"u"&&Nt)=="function"?fc:Object)],gt.prototype,"source",void 0),lt([c(7,"target",Nt),mt("design:type",typeof(yc=typeof Nt<"u"&&Nt)=="function"?yc:Object)],gt.prototype,"target",void 0),lt([c(8,"binding",He),mt("design:type",typeof(lc=typeof He<"u"&&He)=="function"?lc:Object)],gt.prototype,"binding",void 0),lt([c(9,"entity",De),mt("design:type",typeof(mc=typeof De<"u"&&De)=="function"?mc:Object)],gt.prototype,"entity",void 0);class wn{constructor(){o(this,"taskId","");o(this,"binding",new He);o(this,"status",0);o(this,"createAt",0);o(this,"invokeAt",0);o(this,"entity",new De)}}lt([c(0,"task_id",String),mt("design:type",String)],wn.prototype,"taskId",void 0),lt([c(1,"binding",He),mt("design:type",typeof(gc=typeof He<"u"&&He)=="function"?gc:Object)],wn.prototype,"binding",void 0),lt([c(2,"status",Number),mt("design:type",Number)],wn.prototype,"status",void 0),lt([c(3,"create_at",Number),mt("design:type",Number)],wn.prototype,"createAt",void 0),lt([c(4,"invoke_at",Number),mt("design:type",Number)],wn.prototype,"invokeAt",void 0),lt([c(5,"entity",De),mt("design:type",typeof(hc=typeof De<"u"&&De)=="function"?hc:Object)],wn.prototype,"entity",void 0);var Ue=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i},Ce=function(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)},bc,_c;class Se{constructor(){o(this,"code","");o(this,"name","");o(this,"listen","");o(this,"priority",0);o(this,"kind","");o(this,"mode","");o(this,"proto","");o(this,"filter","");o(this,"matcher","");o(this,"flags","");o(this,"src","");o(this,"dst","");o(this,"host","");o(this,"path","");o(this,"method","");o(this,"query","");o(this,"header","");o(this,"cookie","");o(this,"memo","");o(this,"raw","");o(this,"status",0);o(this,"createAt");o(this,"updateAt");o(this,"createBy","");o(this,"updateBy","")}}Ue([c(0,"code",String),Ce("design:type",String)],Se.prototype,"code",void 0),Ue([c(1,"name",String),Ce("design:type",String)],Se.prototype,"name",void 0),Ue([c(2,"listen",String),Ce("design:type",String)],Se.prototype,"listen",void 0),Ue([c(3,"priority",Number),Ce("design:type",Number)],Se.prototype,"priority",void 0),Ue([c(4,"kind",String),Ce("design:type",String)],Se.prototype,"kind",void 0),Ue([c(5,"mode",String),Ce("design:type",String)],Se.prototype,"mode",void 0),Ue([c(6,"proto",String),Ce("design:type",String)],Se.prototype,"proto",void 0),Ue([c(7,"filter",String),Ce("design:type",String)],Se.prototype,"filter",void 0),Ue([c(8,"matcher",String),Ce("design:type",String)],Se.prototype,"matcher",void 0),Ue([c(9,"flags",String),Ce("design:type",String)],Se.prototype,"flags",void 0),Ue([c(10,"src",String),Ce("design:type",String)],Se.prototype,"src",void 0),Ue([c(11,"dst",String),Ce("design:type",String)],Se.prototype,"dst",void 0),Ue([c(12,"host",String),Ce("design:type",String)],Se.prototype,"host",void 0),Ue([c(13,"path",String),Ce("design:type",String)],Se.prototype,"path",void 0),Ue([c(14,"method",String),Ce("design:type",String)],Se.prototype,"method",void 0),Ue([c(15,"query",String),Ce("design:type",String)],Se.prototype,"query",void 0),Ue([c(16,"header",String),Ce("design:type",String)],Se.prototype,"header",void 0),Ue([c(17,"cookie",String),Ce("design:type",String)],Se.prototype,"cookie",void 0),Ue([c(18,"memo",String),Ce("design:type",String)],Se.prototype,"memo",void 0),Ue([c(19,"raw",String),Ce("design:type",String)],Se.prototype,"raw",void 0),Ue([c(20,"status",Number),Ce("design:type",Number)],Se.prototype,"status",void 0),Ue([c(21,"create_at",Date),Ce("design:type",typeof(bc=typeof Date<"u"&&Date)=="function"?bc:Object)],Se.prototype,"createAt",void 0),Ue([c(22,"update_at",Date),Ce("design:type",typeof(_c=typeof Date<"u"&&Date)=="function"?_c:Object)],Se.prototype,"updateAt",void 0),Ue([c(23,"create_by",String),Ce("design:type",String)],Se.prototype,"createBy",void 0),Ue([c(24,"update_by",String),Ce("design:type",String)],Se.prototype,"updateBy",void 0);var ge=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i},he=function(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)},Sc,vc,Oc,Rc,Pc,jc,wc;class rt{constructor(){o(this,"algo","");o(this,"domain","");o(this,"subject","");o(this,"length",0);o(this,"activeAt");o(this,"expireAt");o(this,"mail","");o(this,"isCA",!1);o(this,"caAlgo","");o(this,"caCert","");o(this,"caKey","");o(this,"ips",[]);o(this,"name","");o(this,"usage",0)}}ge([c(0,"algo",String),he("design:type",String)],rt.prototype,"algo",void 0),ge([c(1,"domain",String),he("design:type",String)],rt.prototype,"domain",void 0),ge([c(2,"subject",String),he("design:type",String)],rt.prototype,"subject",void 0),ge([c(3,"length",Number),he("design:type",Number)],rt.prototype,"length",void 0),ge([c(4,"active_at",Date),he("design:type",typeof(Sc=typeof Date<"u"&&Date)=="function"?Sc:Object)],rt.prototype,"activeAt",void 0),ge([c(5,"expire_at",Date),he("design:type",typeof(vc=typeof Date<"u"&&Date)=="function"?vc:Object)],rt.prototype,"expireAt",void 0),ge([c(6,"mail",String),he("design:type",String)],rt.prototype,"mail",void 0),ge([c(7,"is_ca",Boolean),he("design:type",Boolean)],rt.prototype,"isCA",void 0),ge([c(8,"ca_algo",String),he("design:type",String)],rt.prototype,"caAlgo",void 0),ge([c(9,"ca_cert",String),he("design:type",String)],rt.prototype,"caCert",void 0),ge([c(10,"ca_key",String),he("design:type",String)],rt.prototype,"caKey",void 0),ge([c(11,"ips",[Array,String]),he("design:type",Array)],rt.prototype,"ips",void 0),ge([c(12,"name",String),he("design:type",String)],rt.prototype,"name",void 0),ge([c(13,"usage",Number),he("design:type",Number)],rt.prototype,"usage",void 0);class Lt extends rt{constructor(){super(...arguments);o(this,"crt","");o(this,"key","");o(this,"crl","");o(this,"id","")}}ge([c(0,"crt",String),he("design:type",String)],Lt.prototype,"crt",void 0),ge([c(1,"key",String),he("design:type",String)],Lt.prototype,"key",void 0),ge([c(2,"crl",String),he("design:type",String)],Lt.prototype,"crl",void 0),ge([c(3,"id",String),he("design:type",String)],Lt.prototype,"id",void 0);class Jr{constructor(){o(this,"id","");o(this,"reason",0)}}ge([c(0,"id",String),he("design:type",String)],Jr.prototype,"id",void 0),ge([c(1,"reason",Number),he("design:type",Number)],Jr.prototype,"reason",void 0);class Ur{constructor(){o(this,"id","");o(this,"algo","");o(this,"expireAt")}}ge([c(0,"id",String),he("design:type",String)],Ur.prototype,"id",void 0),ge([c(1,"algo",String),he("design:type",String)],Ur.prototype,"algo",void 0),ge([c(2,"expire_at",Date),he("design:type",typeof(Oc=typeof Date<"u"&&Date)=="function"?Oc:Object)],Ur.prototype,"expireAt",void 0);class Zo{constructor(){o(this,"crts",{});o(this,"roots",{})}}ge([c(0,"crts",[Map,String,Lt]),he("design:type",typeof(Rc=typeof Record<"u"&&Record)=="function"?Rc:Object)],Zo.prototype,"crts",void 0),ge([c(1,"roots",[Map,String,Lt]),he("design:type",typeof(Pc=typeof Record<"u"&&Record)=="function"?Pc:Object)],Zo.prototype,"roots",void 0);class En{constructor(){o(this,"id","");o(this,"algo","");o(this,"length",0);o(this,"name","");o(this,"memo","")}}ge([c(0,"id",String),he("design:type",String)],En.prototype,"id",void 0),ge([c(1,"algo",String),he("design:type",String)],En.prototype,"algo",void 0),ge([c(2,"length",Number),he("design:type",Number)],En.prototype,"length",void 0),ge([c(3,"name",String),he("design:type",String)],En.prototype,"name",void 0),ge([c(4,"memo",String),he("design:type",String)],En.prototype,"memo",void 0);class lr extends En{constructor(){super(...arguments);o(this,"status",0);o(this,"createAt");o(this,"updateAt");o(this,"createBy","");o(this,"updateBy","")}}ge([c(0,"status",Number),he("design:type",Number)],lr.prototype,"status",void 0),ge([c(1,"create_at",Date),he("design:type",typeof(jc=typeof Date<"u"&&Date)=="function"?jc:Object)],lr.prototype,"createAt",void 0),ge([c(2,"update_at",Date),he("design:type",typeof(wc=typeof Date<"u"&&Date)=="function"?wc:Object)],lr.prototype,"updateAt",void 0),ge([c(3,"create_by",String),he("design:type",String)],lr.prototype,"createBy",void 0),ge([c(4,"update_by",String),he("design:type",String)],lr.prototype,"updateBy",void 0);var Ae=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i},Me=function(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)},Ec,Nc;class we{constructor(){o(this,"version","");o(this,"level",0);o(this,"name","");o(this,"createBy","");o(this,"createAt",0);o(this,"activeAt",0);o(this,"factor","");o(this,"signature","");o(this,"muid","");o(this,"server","");o(this,"crt","");o(this,"group",[]);o(this,"replicas",0);o(this,"maxCooperators",0);o(this,"maxTenants",0);o(this,"maxUsers",0);o(this,"maxMills",0);o(this,"whiteURN",[]);o(this,"blackURN",[]);o(this,"superURN",[])}}Ae([c(0,"version",String),Me("design:type",String)],we.prototype,"version",void 0),Ae([c(1,"level",Number),Me("design:type",Number)],we.prototype,"level",void 0),Ae([c(2,"name",String),Me("design:type",String)],we.prototype,"name",void 0),Ae([c(3,"create_by",String),Me("design:type",String)],we.prototype,"createBy",void 0),Ae([c(4,"create_at",Number),Me("design:type",Number)],we.prototype,"createAt",void 0),Ae([c(5,"active_at",Number),Me("design:type",Number)],we.prototype,"activeAt",void 0),Ae([c(6,"factor",String),Me("design:type",String)],we.prototype,"factor",void 0),Ae([c(7,"signature",String),Me("design:type",String)],we.prototype,"signature",void 0),Ae([c(8,"muid",String),Me("design:type",String)],we.prototype,"muid",void 0),Ae([c(9,"server",String),Me("design:type",String)],we.prototype,"server",void 0),Ae([c(10,"crt",String),Me("design:type",String)],we.prototype,"crt",void 0),Ae([c(11,"group",[Array,String]),Me("design:type",Array)],we.prototype,"group",void 0),Ae([c(12,"replicas",Number),Me("design:type",Number)],we.prototype,"replicas",void 0),Ae([c(13,"max_cooperators",Number),Me("design:type",Number)],we.prototype,"maxCooperators",void 0),Ae([c(14,"max_tenants",Number),Me("design:type",Number)],we.prototype,"maxTenants",void 0),Ae([c(15,"max_users",Number),Me("design:type",Number)],we.prototype,"maxUsers",void 0),Ae([c(16,"max_mills",Number),Me("design:type",Number)],we.prototype,"maxMills",void 0),Ae([c(17,"white_urns",[Array,String]),Me("design:type",Array)],we.prototype,"whiteURN",void 0),Ae([c(18,"black_urns",[Array,String]),Me("design:type",Array)],we.prototype,"blackURN",void 0),Ae([c(19,"super_urns",[Array,String]),Me("design:type",Array)],we.prototype,"superURN",void 0);class Xr{constructor(){o(this,"cipher","");o(this,"explain",new we);o(this,"createAt")}}Ae([c(0,"cipher",String),Me("design:type",String)],Xr.prototype,"cipher",void 0),Ae([c(1,"explain",we),Me("design:type",we)],Xr.prototype,"explain",void 0),Ae([c(2,"create_at",Date),Me("design:type",typeof(Ec=typeof Date<"u"&&Date)=="function"?Ec:Object)],Xr.prototype,"createAt",void 0);class Yr{constructor(){o(this,"cipher","");o(this,"explain",new Ke);o(this,"nodeKey","")}}Ae([c(0,"cipher",String),Me("design:type",String)],Yr.prototype,"cipher",void 0),Ae([c(1,"explain",Ke),Me("design:type",typeof(Nc=typeof Ke<"u"&&Ke)=="function"?Nc:Object)],Yr.prototype,"explain",void 0),Ae([c(2,"node_key",String),Me("design:type",String)],Yr.prototype,"nodeKey",void 0);var pe=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i},fe=function(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)},Tc,Ac,Mc;class Qr{constructor(){o(this,"mno","");o(this,"kind","");o(this,"mime",new Uint8Array);o(this,"text","")}}pe([c(0,"mno",String),fe("design:type",String)],Qr.prototype,"mno",void 0),pe([c(1,"kind",String),fe("design:type",String)],Qr.prototype,"kind",void 0),pe([c(2,"mime",Uint8Array),fe("design:type",typeof(Tc=typeof Uint8Array<"u"&&Uint8Array)=="function"?Tc:Object)],Qr.prototype,"mime",void 0),pe([c(3,"text",String),fe("design:type",String)],Qr.prototype,"text",void 0);class mr{constructor(){o(this,"clientId","");o(this,"scope","");o(this,"state","");o(this,"flags",0)}}pe([c(0,"client_id",String),fe("design:type",String)],mr.prototype,"clientId",void 0),pe([c(1,"scope",String),fe("design:type",String)],mr.prototype,"scope",void 0),pe([c(2,"state",String),fe("design:type",String)],mr.prototype,"state",void 0),pe([c(3,"flags",Number),fe("design:type",Number)],mr.prototype,"flags",void 0);class nn{constructor(){o(this,"clientId","");o(this,"authType","");o(this,"accessKey","");o(this,"secretKey","");o(this,"captcha","")}}pe([c(0,"client_id",String),fe("design:type",String)],nn.prototype,"clientId",void 0),pe([c(1,"auth_type",String),fe("design:type",String)],nn.prototype,"authType",void 0),pe([c(2,"access_key",String),fe("design:type",String)],nn.prototype,"accessKey",void 0),pe([c(3,"secret_key",String),fe("design:type",String)],nn.prototype,"secretKey",void 0),pe([c(4,"captcha",String),fe("design:type",String)],nn.prototype,"captcha",void 0);class Hn{constructor(){o(this,"token","");o(this,"kind","");o(this,"expiresAt");o(this,"scope","");o(this,"refreshToken","")}}pe([c(0,"token",String),fe("design:type",String)],Hn.prototype,"token",void 0),pe([c(1,"type",String),fe("design:type",String)],Hn.prototype,"kind",void 0),pe([c(2,"expires_at",Date),fe("design:type",typeof(Ac=typeof Date<"u"&&Date)=="function"?Ac:Object)],Hn.prototype,"expiresAt",void 0),pe([c(3,"scope",String),fe("design:type",String)],Hn.prototype,"scope",void 0),pe([c(4,"refresh_token",String),fe("design:type",String)],Hn.prototype,"refreshToken",void 0);class es{constructor(){o(this,"code","")}}pe([c(0,"code",String),fe("design:type",String)],es.prototype,"code",void 0);class go{constructor(){o(this,"code","");o(this,"redirectURI","")}}pe([c(0,"code",String),fe("design:type",String)],go.prototype,"code",void 0),pe([c(1,"redirect_uri",String),fe("design:type",String)],go.prototype,"redirectURI",void 0);class ho{constructor(){o(this,"clientId","");o(this,"userId","");o(this,"expiresAt",0)}}pe([c(0,"client_id",String),fe("design:type",String)],ho.prototype,"clientId",void 0),pe([c(1,"user_id",String),fe("design:type",String)],ho.prototype,"userId",void 0),pe([c(2,"expires_at",Number),fe("design:type",Number)],ho.prototype,"expiresAt",void 0);class Tt{constructor(){o(this,"token","");o(this,"userid","");o(this,"username","");o(this,"nickname","");o(this,"avatar","");o(this,"mobile","");o(this,"mail","");o(this,"deptId","");o(this,"mdc","");o(this,"instIds",[]);o(this,"attrs",[]);o(this,"raw",{})}}pe([c(0,"token",String),fe("design:type",String)],Tt.prototype,"token",void 0),pe([c(1,"userid",String),fe("design:type",String)],Tt.prototype,"userid",void 0),pe([c(2,"username",String),fe("design:type",String)],Tt.prototype,"username",void 0),pe([c(3,"nickname",String),fe("design:type",String)],Tt.prototype,"nickname",void 0),pe([c(4,"avatar",String),fe("design:type",String)],Tt.prototype,"avatar",void 0),pe([c(5,"mobile",String),fe("design:type",String)],Tt.prototype,"mobile",void 0),pe([c(6,"mail",String),fe("design:type",String)],Tt.prototype,"mail",void 0),pe([c(7,"dept_id",String),fe("design:type",String)],Tt.prototype,"deptId",void 0),pe([c(8,"mdc",String),fe("design:type",String)],Tt.prototype,"mdc",void 0),pe([c(9,"inst_ids",[Array,String]),fe("design:type",Array)],Tt.prototype,"instIds",void 0),pe([c(10,"attrs",[Array,String]),fe("design:type",Array)],Tt.prototype,"attrs",void 0),pe([c(11,"raw",[Map,String,String]),fe("design:type",typeof(Mc=typeof Record<"u"&&Record)=="function"?Mc:Object)],Tt.prototype,"raw",void 0);var Zr=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i},ei=function(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)},Ic,$c;class ts{constructor(){o(this,"arguments",[]);o(this,"attachments",{})}}Zr([c(0,"arguments",[Array,Object]),ei("design:type",Array)],ts.prototype,"arguments",void 0),Zr([c(1,"attachments",[Map,String,String]),ei("design:type",typeof(Ic=typeof Record<"u"&&Record)=="function"?Ic:Object)],ts.prototype,"attachments",void 0);class Ui{constructor(){o(this,"code","");o(this,"message","");o(this,"cause",new xt);o(this,"content")}}Zr([c(0,"code",String),ei("design:type",String)],Ui.prototype,"code",void 0),Zr([c(1,"message",String),ei("design:type",String)],Ui.prototype,"message",void 0),Zr([c(2,"cause",xt),ei("design:type",typeof($c=typeof xt<"u"&&xt)=="function"?$c:Object)],Ui.prototype,"cause",void 0),Zr([c(3,"content",Object),ei("design:type",Object)],Ui.prototype,"content",void 0);var Q=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i},Z=function(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)},Uc,Cc,Fc;class rn{constructor(){o(this,"version","");o(this,"proto","");o(this,"codec","");o(this,"mdc","");o(this,"zone","");o(this,"cluster","");o(this,"cell","");o(this,"group","");o(this,"address","")}}Q([c(0,"version",String),Z("design:type",String)],rn.prototype,"version",void 0),Q([c(1,"proto",String),Z("design:type",String)],rn.prototype,"proto",void 0),Q([c(2,"codec",String),Z("design:type",String)],rn.prototype,"codec",void 0),Q([c(3,"mdc",String),Z("design:type",String)],rn.prototype,"mdc",void 0),Q([c(4,"zone",String),Z("design:type",String)],rn.prototype,"zone",void 0),Q([c(5,"cluster",String),Z("design:type",String)],rn.prototype,"cluster",void 0),Q([c(6,"cell",String),Z("design:type",String)],rn.prototype,"cell",void 0),Q([c(7,"group",String),Z("design:type",String)],rn.prototype,"group",void 0),Q([c(8,"address",String),Z("design:type",String)],rn.prototype,"address",void 0);class Nn extends rn{constructor(){super(...arguments);o(this,"urn","");o(this,"namespace","");o(this,"name","");o(this,"flags",0);o(this,"timeout",0);o(this,"retries",0)}}Q([c(0,"urn",String),Z("design:type",String)],Nn.prototype,"urn",void 0),Q([c(1,"namespace",String),Z("design:type",String)],Nn.prototype,"namespace",void 0),Q([c(2,"name",String),Z("design:type",String)],Nn.prototype,"name",void 0),Q([c(3,"flags",Number),Z("design:type",Number)],Nn.prototype,"flags",void 0),Q([c(4,"timeout",Number),Z("design:type",Number)],Nn.prototype,"timeout",void 0),Q([c(5,"retries",Number),Z("design:type",Number)],Nn.prototype,"retries",void 0);class Ht extends rn{constructor(){super(...arguments);o(this,"urn","");o(this,"namespace","");o(this,"name","");o(this,"flags",0);o(this,"timeout",0);o(this,"retries",0);o(this,"sets","");o(this,"kind","");o(this,"lang","");o(this,"attrs",{})}}Q([c(0,"urn",String),Z("design:type",String)],Ht.prototype,"urn",void 0),Q([c(1,"namespace",String),Z("design:type",String)],Ht.prototype,"namespace",void 0),Q([c(2,"name",String),Z("design:type",String)],Ht.prototype,"name",void 0),Q([c(3,"flags",Number),Z("design:type",Number)],Ht.prototype,"flags",void 0),Q([c(4,"timeout",Number),Z("design:type",Number)],Ht.prototype,"timeout",void 0),Q([c(5,"retries",Number),Z("design:type",Number)],Ht.prototype,"retries",void 0),Q([c(6,"sets",String),Z("design:type",String)],Ht.prototype,"sets",void 0),Q([c(7,"kind",String),Z("design:type",String)],Ht.prototype,"kind",void 0),Q([c(8,"lang",String),Z("design:type",String)],Ht.prototype,"lang",void 0),Q([c(9,"attrs",[Map,String,String]),Z("design:type",typeof(Uc=typeof Record<"u"&&Record)=="function"?Uc:Object)],Ht.prototype,"attrs",void 0);class ns{constructor(){o(this,"references",[]);o(this,"services",[])}}Q([c(0,"references",[Array,Nn]),Z("design:type",Array)],ns.prototype,"references",void 0),Q([c(1,"services",[Array,Ht]),Z("design:type",Array)],ns.prototype,"services",void 0);class ht{constructor(){o(this,"instanceId","");o(this,"name","");o(this,"kind","");o(this,"address","");o(this,"content");o(this,"timestamp",0);o(this,"attachments",{})}}Q([c(0,"instance_id",String),Z("design:type",String)],ht.prototype,"instanceId",void 0),Q([c(1,"name",String),Z("design:type",String)],ht.prototype,"name",void 0),Q([c(2,"kind",String),Z("design:type",String)],ht.prototype,"kind",void 0),Q([c(3,"address",String),Z("design:type",String)],ht.prototype,"address",void 0),Q([c(4,"content",Object),Z("design:type",Object)],ht.prototype,"content",void 0),Q([c(5,"timestamp",Number),Z("design:type",Number)],ht.prototype,"timestamp",void 0),Q([c(6,"attachments",[Map,String,String]),Z("design:type",typeof(Cc=typeof Record<"u"&&Record)=="function"?Cc:Object)],ht.prototype,"attachments",void 0);class on{constructor(){o(this,"name","");o(this,"icon","");o(this,"memo","");o(this,"author","");o(this,"flags",0);o(this,"lang","");o(this,"instanceIds",[]);o(this,"kinds",[]);o(this,"addrs",[]);o(this,"attachments",{})}}Q([c(0,"name",String),Z("design:type",String)],on.prototype,"name",void 0),Q([c(1,"icon",String),Z("design:type",String)],on.prototype,"icon",void 0),Q([c(2,"memo",String),Z("design:type",String)],on.prototype,"memo",void 0),Q([c(3,"author",String),Z("design:type",String)],on.prototype,"author",void 0),Q([c(4,"flags",Number),Z("design:type",Number)],on.prototype,"flags",void 0),Q([c(5,"lang",String),Z("design:type",String)],on.prototype,"lang",void 0),Q([c(6,"instance_ids",[Array,String]),Z("design:type",Array)],on.prototype,"instanceIds",void 0),Q([c(7,"kinds",[Array,String]),Z("design:type",Array)],on.prototype,"kinds",void 0),Q([c(8,"addrs",[Array,String]),Z("design:type",Array)],on.prototype,"addrs",void 0),Q([c(9,"attachments",[Map,String,String]),Z("design:type",typeof(Fc=typeof Record<"u"&&Record)=="function"?Fc:Object)],on.prototype,"attachments",void 0);var L=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i},H=function(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)},Dc,kc,xc;class be{constructor(){o(this,"sid","");o(this,"did","");o(this,"name","");o(this,"kind","");o(this,"pattern","");o(this,"address","");o(this,"memo","");o(this,"rank",0);o(this,"tags","");o(this,"expireAt");o(this,"upstream",0);o(this,"downstream",0);o(this,"requests",0);o(this,"hostRoot","");o(this,"hostCrt","");o(this,"hostKey","");o(this,"guestRoot","");o(this,"sap","");o(this,"skip",!1);o(this,"raw","");o(this,"status",0);o(this,"createAt");o(this,"updateAt");o(this,"createBy","");o(this,"updateBy","")}}L([c(0,"sid",String),H("design:type",String)],be.prototype,"sid",void 0),L([c(1,"did",String),H("design:type",String)],be.prototype,"did",void 0),L([c(2,"name",String),H("design:type",String)],be.prototype,"name",void 0),L([c(3,"kind",String),H("design:type",String)],be.prototype,"kind",void 0),L([c(4,"pattern",String),H("design:type",String)],be.prototype,"pattern",void 0),L([c(5,"address",String),H("design:type",String)],be.prototype,"address",void 0),L([c(6,"memo",String),H("design:type",String)],be.prototype,"memo",void 0),L([c(7,"rank",Number),H("design:type",Number)],be.prototype,"rank",void 0),L([c(8,"tags",String),H("design:type",String)],be.prototype,"tags",void 0),L([c(9,"expire_at",Date),H("design:type",typeof(Dc=typeof Date<"u"&&Date)=="function"?Dc:Object)],be.prototype,"expireAt",void 0),L([c(10,"upstream",Number),H("design:type",Number)],be.prototype,"upstream",void 0),L([c(11,"downstream",Number),H("design:type",Number)],be.prototype,"downstream",void 0),L([c(12,"requests",Number),H("design:type",Number)],be.prototype,"requests",void 0),L([c(13,"host_root",String),H("design:type",String)],be.prototype,"hostRoot",void 0),L([c(14,"host_crt",String),H("design:type",String)],be.prototype,"hostCrt",void 0),L([c(15,"host_key",String),H("design:type",String)],be.prototype,"hostKey",void 0),L([c(16,"guest_root",String),H("design:type",String)],be.prototype,"guestRoot",void 0),L([c(17,"sap",String),H("design:type",String)],be.prototype,"sap",void 0),L([c(18,"skip",Boolean),H("design:type",Boolean)],be.prototype,"skip",void 0),L([c(19,"raw",String),H("design:type",String)],be.prototype,"raw",void 0),L([c(20,"status",Number),H("design:type",Number)],be.prototype,"status",void 0),L([c(21,"create_at",Date),H("design:type",typeof(kc=typeof Date<"u"&&Date)=="function"?kc:Object)],be.prototype,"createAt",void 0),L([c(22,"update_at",Date),H("design:type",typeof(xc=typeof Date<"u"&&Date)=="function"?xc:Object)],be.prototype,"updateAt",void 0),L([c(23,"create_by",String),H("design:type",String)],be.prototype,"createBy",void 0),L([c(24,"update_by",String),H("design:type",String)],be.prototype,"updateBy",void 0);class Qt{constructor(){o(this,"sap","");o(this,"crt","");o(this,"key","");o(this,"cas",[]);o(this,"sni","");o(this,"skip",!1)}}L([c(0,"sap",String),H("design:type",String)],Qt.prototype,"sap",void 0),L([c(1,"crt",String),H("design:type",String)],Qt.prototype,"crt",void 0),L([c(2,"key",String),H("design:type",String)],Qt.prototype,"key",void 0),L([c(3,"cas",[Array,String]),H("design:type",Array)],Qt.prototype,"cas",void 0),L([c(4,"sni",String),H("design:type",String)],Qt.prototype,"sni",void 0),L([c(5,"skip",Boolean),H("design:type",Boolean)],Qt.prototype,"skip",void 0);class qn{constructor(){o(this,"name","");o(this,"matcher","");o(this,"priority",0);o(this,"services",[]);o(this,"filters",[]);o(this,"proxy","");o(this,"option",new Qt)}}L([c(0,"name",String),H("design:type",String)],qn.prototype,"name",void 0),L([c(1,"matcher",String),H("design:type",String)],qn.prototype,"matcher",void 0),L([c(2,"priority",Number),H("design:type",Number)],qn.prototype,"priority",void 0),L([c(3,"services",[Array,String]),H("design:type",Array)],qn.prototype,"services",void 0),L([c(4,"filters",[Array,String]),H("design:type",Array)],qn.prototype,"filters",void 0),L([c(5,"proxy",String),H("design:type",String)],qn.prototype,"proxy",void 0),L([c(6,"option",Qt),H("design:type",Qt)],qn.prototype,"option",void 0);class ti{constructor(){o(this,"name","");o(this,"kind","");o(this,"listen","");o(this,"routes",[]);o(this,"option",new Qt)}}L([c(0,"name",String),H("design:type",String)],ti.prototype,"name",void 0),L([c(1,"kind",String),H("design:type",String)],ti.prototype,"kind",void 0),L([c(2,"listen",String),H("design:type",String)],ti.prototype,"listen",void 0),L([c(3,"routes",[Array,qn]),H("design:type",Array)],ti.prototype,"routes",void 0),L([c(4,"option",Qt),H("design:type",Qt)],ti.prototype,"option",void 0);class bo{constructor(){o(this,"expr","");o(this,"value","")}}L([c(0,"expr",String),H("design:type",String)],bo.prototype,"expr",void 0),L([c(1,"value",String),H("design:type",String)],bo.prototype,"value",void 0);class gr{constructor(){o(this,"name","");o(this,"kind","");o(this,"layer","");o(this,"priority",0);o(this,"status",0);o(this,"memo","");o(this,"matchers",[])}}L([c(0,"name",String),H("design:type",String)],gr.prototype,"name",void 0),L([c(1,"kind",String),H("design:type",String)],gr.prototype,"kind",void 0),L([c(2,"layer",String),H("design:type",String)],gr.prototype,"layer",void 0),L([c(3,"priority",Number),H("design:type",Number)],gr.prototype,"priority",void 0),L([c(4,"status",Number),H("design:type",Number)],gr.prototype,"status",void 0),L([c(5,"memo",String),H("design:type",String)],gr.prototype,"memo",void 0),L([c(6,"matchers",[Array,bo]),H("design:type",Array)],gr.prototype,"matchers",void 0);var Tn=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i},An=function(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)},Bc;class hr{constructor(){o(this,"xid","");o(this,"timeout",0);o(this,"schema","");o(this,"flags",0)}}Tn([c(0,"xid",String),An("design:type",String)],hr.prototype,"xid",void 0),Tn([c(1,"timeout",Number),An("design:type",Number)],hr.prototype,"timeout",void 0),Tn([c(2,"schema",String),An("design:type",String)],hr.prototype,"schema",void 0),Tn([c(3,"flags",Number),An("design:type",Number)],hr.prototype,"flags",void 0);class Mn{constructor(){o(this,"xid","");o(this,"schema","");o(this,"grammar","");o(this,"expr","");o(this,"args",{});o(this,"flags",0)}}Tn([c(0,"xid",String),An("design:type",String)],Mn.prototype,"xid",void 0),Tn([c(1,"schema",String),An("design:type",String)],Mn.prototype,"schema",void 0),Tn([c(2,"grammar",String),An("design:type",String)],Mn.prototype,"grammar",void 0),Tn([c(3,"expr",String),An("design:type",String)],Mn.prototype,"expr",void 0),Tn([c(4,"args",[Map,String,Object]),An("design:type",typeof(Bc=typeof Record<"u"&&Record)=="function"?Bc:Object)],Mn.prototype,"args",void 0),Tn([c(5,"flags",Number),An("design:type",Number)],Mn.prototype,"flags",void 0);var W=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i},K=function(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)},Lc,Hc,qc,zc,Vc,Gc;class zn{constructor(){o(this,"name","");o(this,"macros",{});o(this,"comments",[]);o(this,"kind","");o(this,"value","");o(this,"flags",0);o(this,"usage","")}}W([c(0,"0",String),K("design:type",String)],zn.prototype,"name",void 0),W([c(1,"1",[Map,String,[Map,String,String]]),K("design:type",typeof(Lc=typeof Record<"u"&&Record)=="function"?Lc:Object)],zn.prototype,"macros",void 0),W([c(2,"2",[Array,String]),K("design:type",Array)],zn.prototype,"comments",void 0),W([c(3,"3",String),K("design:type",String)],zn.prototype,"kind",void 0),W([c(4,"4",String),K("design:type",String)],zn.prototype,"value",void 0),W([c(5,"5",Number),K("design:type",Number)],zn.prototype,"flags",void 0),W([c(6,"6",String),K("design:type",String)],zn.prototype,"usage",void 0);class br{constructor(){o(this,"name","");o(this,"comments",[]);o(this,"kind","");o(this,"value","");o(this,"flags",0);o(this,"usage","")}}W([c(0,"0",String),K("design:type",String)],br.prototype,"name",void 0),W([c(1,"1",[Array,String]),K("design:type",Array)],br.prototype,"comments",void 0),W([c(2,"2",String),K("design:type",String)],br.prototype,"kind",void 0),W([c(3,"3",String),K("design:type",String)],br.prototype,"value",void 0),W([c(4,"4",Number),K("design:type",Number)],br.prototype,"flags",void 0),W([c(5,"5",String),K("design:type",String)],br.prototype,"usage",void 0);class Ci{constructor(){o(this,"name","");o(this,"comments",[]);o(this,"kind","")}}W([c(0,"0",String),K("design:type",String)],Ci.prototype,"name",void 0),W([c(1,"1",[Array,String]),K("design:type",Array)],Ci.prototype,"comments",void 0),W([c(2,"2",String),K("design:type",String)],Ci.prototype,"kind",void 0);class gn{constructor(){o(this,"name","");o(this,"macros",{});o(this,"comments",[]);o(this,"modifier",0);o(this,"kind","");o(this,"value","");o(this,"flags",0);o(this,"usage","")}}W([c(0,"0",String),K("design:type",String)],gn.prototype,"name",void 0),W([c(1,"1",[Map,String,[Map,String,String]]),K("design:type",typeof(Hc=typeof Record<"u"&&Record)=="function"?Hc:Object)],gn.prototype,"macros",void 0),W([c(2,"2",[Array,String]),K("design:type",Array)],gn.prototype,"comments",void 0),W([c(3,"3",Number),K("design:type",Number)],gn.prototype,"modifier",void 0),W([c(4,"4",String),K("design:type",String)],gn.prototype,"kind",void 0),W([c(5,"5",String),K("design:type",String)],gn.prototype,"value",void 0),W([c(6,"7",Number),K("design:type",Number)],gn.prototype,"flags",void 0),W([c(7,"8",String),K("design:type",String)],gn.prototype,"usage",void 0);class In{constructor(){o(this,"name","");o(this,"macros",{});o(this,"comments",[]);o(this,"modifier",0);o(this,"parameters",[]);o(this,"returns",[]);o(this,"causes",[])}}W([c(0,"0",String),K("design:type",String)],In.prototype,"name",void 0),W([c(1,"1",[Map,String,[Map,String,String]]),K("design:type",typeof(qc=typeof Record<"u"&&Record)=="function"?qc:Object)],In.prototype,"macros",void 0),W([c(2,"2",[Array,String]),K("design:type",Array)],In.prototype,"comments",void 0),W([c(3,"3",Number),K("design:type",Number)],In.prototype,"modifier",void 0),W([c(4,"4",[Array,zn]),K("design:type",Array)],In.prototype,"parameters",void 0),W([c(5,"5",[Array,br]),K("design:type",Array)],In.prototype,"returns",void 0),W([c(6,"6",[Array,Ci]),K("design:type",Array)],In.prototype,"causes",void 0);class hn{constructor(){o(this,"name","");o(this,"macros",{});o(this,"comments",[]);o(this,"modifier",0);o(this,"variables",[]);o(this,"methods",[]);o(this,"supers",[]);o(this,"traits",[]);o(this,"signature","")}}W([c(0,"0",String),K("design:type",String)],hn.prototype,"name",void 0),W([c(1,"1",[Map,String,[Map,String,String]]),K("design:type",typeof(zc=typeof Record<"u"&&Record)=="function"?zc:Object)],hn.prototype,"macros",void 0),W([c(2,"2",[Array,String]),K("design:type",Array)],hn.prototype,"comments",void 0),W([c(3,"3",Number),K("design:type",Number)],hn.prototype,"modifier",void 0),W([c(4,"4",[Array,gn]),K("design:type",Array)],hn.prototype,"variables",void 0),W([c(5,"5",[Array,In]),K("design:type",Array)],hn.prototype,"methods",void 0),W([c(6,"6",[Array,String]),K("design:type",Array)],hn.prototype,"supers",void 0),W([c(7,"7",[Array,String]),K("design:type",Array)],hn.prototype,"traits",void 0),W([c(8,"8",String),K("design:type",String)],hn.prototype,"signature",void 0);class Vn{constructor(){o(this,"name","");o(this,"pkg","");o(this,"path","");o(this,"imports",{});o(this,"kinds",[]);o(this,"variables",[]);o(this,"methods",[]);o(this,"set",{})}}W([c(0,"0",String),K("design:type",String)],Vn.prototype,"name",void 0),W([c(1,"1",String),K("design:type",String)],Vn.prototype,"pkg",void 0),W([c(2,"2",String),K("design:type",String)],Vn.prototype,"path",void 0),W([c(3,"3",[Map,String,String]),K("design:type",typeof(Vc=typeof Record<"u"&&Record)=="function"?Vc:Object)],Vn.prototype,"imports",void 0),W([c(4,"4",[Array,hn]),K("design:type",Array)],Vn.prototype,"kinds",void 0),W([c(5,"5",[Array,gn]),K("design:type",Array)],Vn.prototype,"variables",void 0),W([c(6,"6",[Array,In]),K("design:type",Array)],Vn.prototype,"methods",void 0),W([c(7,"7",[Map,String,String]),K("design:type",typeof(Gc=typeof Record<"u"&&Record)=="function"?Gc:Object)],Vn.prototype,"set",void 0);var qt=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i},zt=function(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)},Wc,Kc,Jc;class Le extends Mr{constructor(){super(...arguments);o(this,"code","");o(this,"name","");o(this,"kind","");o(this,"lang","");o(this,"flags",0);o(this,"author","");o(this,"version","");o(this,"runtime","");o(this,"memo","");o(this,"icon","");o(this,"doc","");o(this,"dev",new Uint8Array);o(this,"run",new Uint8Array);o(this,"raw",{})}}qt([c(0,"code",String),zt("design:type",String)],Le.prototype,"code",void 0),qt([c(1,"name",String),zt("design:type",String)],Le.prototype,"name",void 0),qt([c(2,"kind",String),zt("design:type",String)],Le.prototype,"kind",void 0),qt([c(3,"lang",String),zt("design:type",String)],Le.prototype,"lang",void 0),qt([c(4,"flags",Number),zt("design:type",Number)],Le.prototype,"flags",void 0),qt([c(5,"author",String),zt("design:type",String)],Le.prototype,"author",void 0),qt([c(6,"version",String),zt("design:type",String)],Le.prototype,"version",void 0),qt([c(7,"runtime",String),zt("design:type",String)],Le.prototype,"runtime",void 0),qt([c(8,"memo",String),zt("design:type",String)],Le.prototype,"memo",void 0),qt([c(9,"icon",String),zt("design:type",String)],Le.prototype,"icon",void 0),qt([c(10,"doc",String),zt("design:type",String)],Le.prototype,"doc",void 0),qt([c(11,"dev",Uint8Array),zt("design:type",typeof(Wc=typeof Uint8Array<"u"&&Uint8Array)=="function"?Wc:Object)],Le.prototype,"dev",void 0),qt([c(12,"run",Uint8Array),zt("design:type",typeof(Kc=typeof Uint8Array<"u"&&Uint8Array)=="function"?Kc:Object)],Le.prototype,"run",void 0),qt([c(13,"raw",[Map,String,String]),zt("design:type",typeof(Jc=typeof Record<"u"&&Record)=="function"?Jc:Object)],Le.prototype,"raw",void 0);class Xc{constructor(e,t,n){o(this,"code");o(this,"text");o(this,"color");this.code=e,this.text=t,this.color=n}}const fn=class fn{constructor(e){o(this,"values");this.values=e}from(e){for(let t of this.values){if(typeof t.code!="number"||typeof e!="number"){if(t.code==e)return t;continue}if(t.code===(t.code&e))return t}return this.values[0]}asMap(){const e=new Map([["",new Xc(0,"全部","")]]);for(const t of this.values)t.code!=0&&e.set(t.text,t);return e}};o(fn,"Route",new fn([{code:1,text:"已连通",color:"green"},{code:2,text:"已禁用",color:"orange"},{code:4,text:"已删除",color:"red"},{code:8,text:"虚拟化",color:"cyan"}])),o(fn,"Datasource",new fn([{code:1,text:"初始化",color:"blue"},{code:2,text:"已禁用",color:"red"},{code:4,text:"已删除",color:"yellow"},{code:8,text:"已发布",color:"green"}])),o(fn,"DTS",new fn([{code:1,text:"暂停",color:"blue"},{code:2,text:"执行",color:"yellow"},{code:4,text:"失败",color:"red"},{code:8,text:"成功",color:"green"}])),o(fn,"Firewalld",new fn([{code:1,text:"初始化",color:"blue"},{code:2,text:"已禁用",color:"red"},{code:4,text:"已删除",color:"yellow"},{code:8,text:"已发布",color:"green"}])),o(fn,"VMC",new fn([{code:1,text:"初始化",color:"blue"},{code:2,text:"已禁用",color:"red"},{code:4,text:"已删除",color:"yellow"},{code:8,text:"已发布",color:"green"}]));let rs=fn;var Gn=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i},Wn=function(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)},Yc;class Fi{constructor(){o(this,"index",0);o(this,"flag",0);o(this,"body",new Uint8Array)}}Gn([c(0,"idx",Number),Wn("design:type",Number)],Fi.prototype,"index",void 0),Gn([c(1,"flag",Number),Wn("design:type",Number)],Fi.prototype,"flag",void 0),Gn([c(2,"body",Uint8Array),Wn("design:type",typeof(Yc=typeof Uint8Array<"u"&&Uint8Array)=="function"?Yc:Object)],Fi.prototype,"body",void 0);class sn extends Fi{constructor(){super(...arguments);o(this,"bucket","");o(this,"src","");o(this,"rid","");o(this,"dst","");o(this,"sni","");o(this,"addr","")}}Gn([c(0,"bucket",String),Wn("design:type",String)],sn.prototype,"bucket",void 0),Gn([c(1,"src",String),Wn("design:type",String)],sn.prototype,"src",void 0),Gn([c(2,"rid",String),Wn("design:type",String)],sn.prototype,"rid",void 0),Gn([c(3,"dst",String),Wn("design:type",String)],sn.prototype,"dst",void 0),Gn([c(4,"sni",String),Wn("design:type",String)],sn.prototype,"sni",void 0),Gn([c(5,"addr",String),Wn("design:type",String)],sn.prototype,"addr",void 0);var Qc=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i},Zc=function(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)},ea;class Di{constructor(){o(this,"version","");o(this,"infos",{})}}Qc([c(0,"version",String),Zc("design:type",String)],Di.prototype,"version",void 0),Qc([c(1,"infos",[Map,String,String]),Zc("design:type",typeof(ea=typeof Record<"u"&&Record)=="function"?ea:Object)],Di.prototype,"infos",void 0);var te=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i},ne=function(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)},ta,na,ra,ia,oa;class ct{constructor(){o(this,"no","");o(this,"name","");o(this,"alias","")}}te([c(0,"no",String),ne("design:type",String)],ct.prototype,"no",void 0),te([c(1,"name",String),ne("design:type",String)],ct.prototype,"name",void 0),te([c(2,"alias",String),ne("design:type",String)],ct.prototype,"alias",void 0);class _r{constructor(){o(this,"bno","");o(this,"cno","");o(this,"context",{});o(this,"applier",new ct)}}te([c(0,"bno",String),ne("design:type",String)],_r.prototype,"bno",void 0),te([c(1,"cno",String),ne("design:type",String)],_r.prototype,"cno",void 0),te([c(2,"context",[Map,String,String]),ne("design:type",typeof(ta=typeof Record<"u"&&Record)=="function"?ta:Object)],_r.prototype,"context",void 0),te([c(3,"applier",ct),ne("design:type",ct)],_r.prototype,"applier",void 0);class pt{constructor(){o(this,"name","");o(this,"alias","");o(this,"attrs",{});o(this,"kind",0);o(this,"group","")}}te([c(0,"name",String),ne("design:type",String)],pt.prototype,"name",void 0),te([c(1,"alias",String),ne("design:type",String)],pt.prototype,"alias",void 0),te([c(2,"attrs",[Map,String,String]),ne("design:type",typeof(na=typeof Record<"u"&&Record)=="function"?na:Object)],pt.prototype,"attrs",void 0),te([c(3,"kind",Number),ne("design:type",Number)],pt.prototype,"kind",void 0),te([c(4,"group",String),ne("design:type",String)],pt.prototype,"group",void 0);class ki{constructor(){o(this,"src","");o(this,"dst","");o(this,"condition","")}}te([c(0,"src",String),ne("design:type",String)],ki.prototype,"src",void 0),te([c(1,"dst",String),ne("design:type",String)],ki.prototype,"dst",void 0),te([c(2,"condition",String),ne("design:type",String)],ki.prototype,"condition",void 0);class Vt{constructor(){o(this,"cno","");o(this,"name","");o(this,"vertices",[]);o(this,"sides",[]);o(this,"status",0);o(this,"maintainer",new ct)}}te([c(0,"cno",String),ne("design:type",String)],Vt.prototype,"cno",void 0),te([c(1,"name",String),ne("design:type",String)],Vt.prototype,"name",void 0),te([c(2,"vertices",[Array,pt]),ne("design:type",Array)],Vt.prototype,"vertices",void 0),te([c(3,"sides",[Array,ki]),ne("design:type",Array)],Vt.prototype,"sides",void 0),te([c(4,"status",Number),ne("design:type",Number)],Vt.prototype,"status",void 0),te([c(5,"maintainer",ct),ne("design:type",ct)],Vt.prototype,"maintainer",void 0);class Kn{constructor(){o(this,"vertex",new pt);o(this,"reviewers",[]);o(this,"status",0);o(this,"context",{})}}te([c(0,"vertex",pt),ne("design:type",pt)],Kn.prototype,"vertex",void 0),te([c(1,"reviewers",[Array,ct]),ne("design:type",Array)],Kn.prototype,"reviewers",void 0),te([c(2,"status",Number),ne("design:type",Number)],Kn.prototype,"status",void 0),te([c(3,"context",[Map,String,String]),ne("design:type",typeof(ra=typeof Record<"u"&&Record)=="function"?ra:Object)],Kn.prototype,"context",void 0);class Cr{constructor(){o(this,"rno","");o(this,"bno","");o(this,"context",{});o(this,"status",0);o(this,"chart",new Vt);o(this,"tasks",[])}}te([c(0,"rno",String),ne("design:type",String)],Cr.prototype,"rno",void 0),te([c(1,"bno",String),ne("design:type",String)],Cr.prototype,"bno",void 0),te([c(2,"context",[Map,String,String]),ne("design:type",typeof(ia=typeof Record<"u"&&Record)=="function"?ia:Object)],Cr.prototype,"context",void 0),te([c(3,"status",Number),ne("design:type",Number)],Cr.prototype,"status",void 0),te([c(4,"chart",Vt),ne("design:type",Vt)],Cr.prototype,"chart",void 0),te([c(5,"tasks",[Array,Kn]),ne("design:type",Array)],Cr.prototype,"tasks",void 0);class Jn{constructor(){o(this,"no","");o(this,"name","");o(this,"status",0);o(this,"workers",[])}}te([c(0,"no",String),ne("design:type",String)],Jn.prototype,"no",void 0),te([c(1,"name",String),ne("design:type",String)],Jn.prototype,"name",void 0),te([c(2,"status",Number),ne("design:type",Number)],Jn.prototype,"status",void 0),te([c(3,"workers",[Array,ct]),ne("design:type",Array)],Jn.prototype,"workers",void 0);class Xn{constructor(){o(this,"rno","");o(this,"bno","");o(this,"cno","");o(this,"context",{});o(this,"vertex",new pt);o(this,"task",new Kn);o(this,"applier",new ct);o(this,"reviewer",new ct)}}te([c(0,"rno",String),ne("design:type",String)],Xn.prototype,"rno",void 0),te([c(1,"bno",String),ne("design:type",String)],Xn.prototype,"bno",void 0),te([c(2,"cno",String),ne("design:type",String)],Xn.prototype,"cno",void 0),te([c(3,"context",[Map,String,String]),ne("design:type",typeof(oa=typeof Record<"u"&&Record)=="function"?oa:Object)],Xn.prototype,"context",void 0),te([c(4,"vertex",pt),ne("design:type",pt)],Xn.prototype,"vertex",void 0),te([c(5,"task",Kn),ne("design:type",Kn)],Xn.prototype,"task",void 0),te([c(6,"applier",ct),ne("design:type",ct)],Xn.prototype,"applier",void 0),te([c(7,"reviewer",ct),ne("design:type",ct)],Xn.prototype,"reviewer",void 0);var Yn=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i},ke=function(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)},Fr=function(r,e){return function(t,n){e(t,n,r)}},sa,ca,aa,da,ua,pa,fa,ya,la,ma;u.Builtin=class{doc(e,t,n=b()){return Promise.reject(h.URN_NOT_PERMIT)}version(e=b()){return Promise.reject(h.URN_NOT_PERMIT)}debug(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}stats(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}fallback(e=b()){return Promise.reject(h.URN_NOT_PERMIT)}dump(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}},Yn([S("${mesh.name}.builtin.doc",String),Fr(0,c(0,"name",String)),Fr(1,c(1,"formatter",String)),ke("design:type",Function),ke("design:paramtypes",[String,String,Object]),ke("design:returntype",typeof(sa=typeof Promise<"u"&&Promise)=="function"?sa:Object)],u.Builtin.prototype,"doc",null),Yn([S("${mesh.name}.builtin.version",Di),ke("design:type",Function),ke("design:paramtypes",[Object]),ke("design:returntype",typeof(ca=typeof Promise<"u"&&Promise)=="function"?ca:Object)],u.Builtin.prototype,"version",null),Yn([S("${mesh.name}.builtin.debug",Object),Fr(0,c(0,"features",[Map,String,String])),ke("design:type",Function),ke("design:paramtypes",[typeof(aa=typeof Record<"u"&&Record)=="function"?aa:Object,Object]),ke("design:returntype",typeof(da=typeof Promise<"u"&&Promise)=="function"?da:Object)],u.Builtin.prototype,"debug",null),Yn([S("${mesh.name}.builtin.stats",[Map,String,String]),Fr(0,c(0,"features",[Array,String])),ke("design:type",Function),ke("design:paramtypes",[Array,Object]),ke("design:returntype",typeof(ua=typeof Promise<"u"&&Promise)=="function"?ua:Object)],u.Builtin.prototype,"stats",null),Yn([S("${mesh.name}.builtin.fallback",Object),ke("design:type",Function),ke("design:paramtypes",[Object]),ke("design:returntype",typeof(pa=typeof Promise<"u"&&Promise)=="function"?pa:Object)],u.Builtin.prototype,"fallback",null),Yn([S("${mesh.name}.builtin.dump",[Map,String,String]),Fr(0,c(0,"names",[Array,String])),ke("design:type",Function),ke("design:paramtypes",[Array,Object]),ke("design:returntype",typeof(fa=typeof Promise<"u"&&Promise)=="function"?fa:Object)],u.Builtin.prototype,"dump",null),u.Builtin=Yn([B("mpi")],u.Builtin);class is{stats(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}debug(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}dump(e=b()){return Promise.reject(h.URN_NOT_PERMIT)}}Yn([Fr(0,c(0,"features",[Array,String])),ke("design:type",Function),ke("design:paramtypes",[Array,Object]),ke("design:returntype",typeof(ya=typeof Promise<"u"&&Promise)=="function"?ya:Object)],is.prototype,"stats",null),Yn([Fr(0,c(0,"features",[Map,String,String])),ke("design:type",Function),ke("design:paramtypes",[typeof(la=typeof Record<"u"&&Record)=="function"?la:Object,Object]),ke("design:returntype",typeof(ma=typeof Promise<"u"&&Promise)=="function"?ma:Object)],is.prototype,"debug",null);var bn=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i},ve=function(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)},At=function(r,e){return function(t,n){e(t,n,r)}},ga,ha,ba,_a,Sa,va,Oa,Ra,Pa,ja,wa,Ea;u.Cache=class{get(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}put(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}remove(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}incr(e,t,n=b()){return Promise.reject(h.URN_NOT_PERMIT)}decr(e,t,n=b()){return Promise.reject(h.URN_NOT_PERMIT)}keys(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}hget(e,t,n=b()){return Promise.reject(h.URN_NOT_PERMIT)}hset(e,t,n=b()){return Promise.reject(h.URN_NOT_PERMIT)}hdel(e,t,n=b()){return Promise.reject(h.URN_NOT_PERMIT)}hkeys(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}},bn([S("mesh.cache.get",jt),At(0,c(0,"key",String)),ve("design:type",Function),ve("design:paramtypes",[String,Object]),ve("design:returntype",typeof(ga=typeof Promise<"u"&&Promise)=="function"?ga:Object)],u.Cache.prototype,"get",null),bn([S("mesh.cache.put",Object),At(0,c(0,"cell",jt)),ve("design:type",Function),ve("design:paramtypes",[typeof(ha=typeof jt<"u"&&jt)=="function"?ha:Object,Object]),ve("design:returntype",typeof(ba=typeof Promise<"u"&&Promise)=="function"?ba:Object)],u.Cache.prototype,"put",null),bn([S("mesh.cache.remove",Object),At(0,c(0,"key",String)),ve("design:type",Function),ve("design:paramtypes",[String,Object]),ve("design:returntype",typeof(_a=typeof Promise<"u"&&Promise)=="function"?_a:Object)],u.Cache.prototype,"remove",null),bn([S("mesh.cache.incr",Number),At(0,c(0,"key",String)),At(1,c(1,"value",Number)),ve("design:type",Function),ve("design:paramtypes",[String,Number,Object]),ve("design:returntype",typeof(Sa=typeof Promise<"u"&&Promise)=="function"?Sa:Object)],u.Cache.prototype,"incr",null),bn([S("mesh.cache.decr",Number),At(0,c(0,"key",String)),At(1,c(1,"value",Number)),ve("design:type",Function),ve("design:paramtypes",[String,Number,Object]),ve("design:returntype",typeof(va=typeof Promise<"u"&&Promise)=="function"?va:Object)],u.Cache.prototype,"decr",null),bn([S("mesh.cache.keys",[Array,String]),At(0,c(0,"pattern",String)),ve("design:type",Function),ve("design:paramtypes",[String,Object]),ve("design:returntype",typeof(Oa=typeof Promise<"u"&&Promise)=="function"?Oa:Object)],u.Cache.prototype,"keys",null),bn([S("mesh.cache.hget",jt),At(0,c(0,"key",String)),At(1,c(1,"name",String)),ve("design:type",Function),ve("design:paramtypes",[String,String,Object]),ve("design:returntype",typeof(Ra=typeof Promise<"u"&&Promise)=="function"?Ra:Object)],u.Cache.prototype,"hget",null),bn([S("mesh.cache.hset",Object),At(0,c(0,"key",String)),At(1,c(1,"cell",jt)),ve("design:type",Function),ve("design:paramtypes",[String,typeof(Pa=typeof jt<"u"&&jt)=="function"?Pa:Object,Object]),ve("design:returntype",typeof(ja=typeof Promise<"u"&&Promise)=="function"?ja:Object)],u.Cache.prototype,"hset",null),bn([S("mesh.cache.hdel",Object),At(0,c(0,"key",String)),At(1,c(1,"name",String)),ve("design:type",Function),ve("design:paramtypes",[String,String,Object]),ve("design:returntype",typeof(wa=typeof Promise<"u"&&Promise)=="function"?wa:Object)],u.Cache.prototype,"hdel",null),bn([S("mesh.cache.hkeys",[Array,String]),At(0,c(0,"key",String)),ve("design:type",Function),ve("design:paramtypes",[String,Object]),ve("design:returntype",typeof(Ea=typeof Promise<"u"&&Promise)=="function"?Ea:Object)],u.Cache.prototype,"hkeys",null),u.Cache=bn([B("mpi")],u.Cache);var bt=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i},se=function(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)},Zt=function(r,e){return function(t,n){e(t,n,r)}},Na,Ta,Aa,Ma,Ia,$a,Ua,Ca,Fa,Da,ka,xa,Ba,La,Ha,qa,za,Va,Ga,Wa,Ka,Ja,Xa,Ya,Qa;u.CipherEconomy=class{handshake(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}collect(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}serve(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}deposit(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}objects(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}keys(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}invoke(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}},bt([S("${mesh.name}.cipher.handshake",String),Zt(0,c(0,"hello",Ot)),se("design:type",Function),se("design:paramtypes",[typeof(Na=typeof Ot<"u"&&Ot)=="function"?Na:Object,Object]),se("design:returntype",typeof(Ta=typeof Promise<"u"&&Promise)=="function"?Ta:Object)],u.CipherEconomy.prototype,"handshake",null),bt([S("${mesh.name}.cipher.collect",Number),Zt(0,c(0,"obj",yt)),se("design:type",Function),se("design:paramtypes",[typeof(Aa=typeof yt<"u"&&yt)=="function"?Aa:Object,Object]),se("design:returntype",typeof(Ma=typeof Promise<"u"&&Promise)=="function"?Ma:Object)],u.CipherEconomy.prototype,"collect",null),bt([S("${mesh.name}.cipher.serve",String),Zt(0,c(0,"suite",String)),se("design:type",Function),se("design:paramtypes",[String,Object]),se("design:returntype",typeof(Ia=typeof Promise<"u"&&Promise)=="function"?Ia:Object)],u.CipherEconomy.prototype,"serve",null),bt([S("mesh.cipher.deposit",String),Zt(0,c(0,"rco",yt)),se("design:type",Function),se("design:paramtypes",[typeof($a=typeof yt<"u"&&yt)=="function"?$a:Object,Object]),se("design:returntype",typeof(Ua=typeof Promise<"u"&&Promise)=="function"?Ua:Object)],u.CipherEconomy.prototype,"deposit",null),bt([S("mesh.cipher.objects",[Oe,yt]),Zt(0,c(0,"idx",U)),se("design:type",Function),se("design:paramtypes",[typeof(Ca=typeof U<"u"&&U)=="function"?Ca:Object,Object]),se("design:returntype",typeof(Fa=typeof Promise<"u"&&Promise)=="function"?Fa:Object)],u.CipherEconomy.prototype,"objects",null),bt([S("${mesh.name}.cipher.keys",[Oe,Lt]),Zt(0,c(0,"idx",U)),se("design:type",Function),se("design:paramtypes",[typeof(Da=typeof U<"u"&&U)=="function"?Da:Object,Object]),se("design:returntype",typeof(ka=typeof Promise<"u"&&Promise)=="function"?ka:Object)],u.CipherEconomy.prototype,"keys",null),bt([S("mesh.cipher.invoke",Uint8Array),Zt(0,c(0,"script",Le)),se("design:type",Function),se("design:paramtypes",[typeof(xa=typeof Le<"u"&&Le)=="function"?xa:Object,Object]),se("design:returntype",typeof(Ba=typeof Promise<"u"&&Promise)=="function"?Ba:Object)],u.CipherEconomy.prototype,"invoke",null),u.CipherEconomy=bt([B("mpi")],u.CipherEconomy),u.CipherProvider=class{suite(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}keygen(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}regen(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}encode(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}decode(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}recode(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}},bt([S("${mesh.name}.cipher.suite",Ir),Zt(0,c(0,"hello",Ot)),se("design:type",Function),se("design:paramtypes",[typeof(La=typeof Ot<"u"&&Ot)=="function"?La:Object,Object]),se("design:returntype",typeof(Ha=typeof Promise<"u"&&Promise)=="function"?Ha:Object)],u.CipherProvider.prototype,"suite",null),bt([S("${mesh.name}.cipher.keygen",lo),Zt(0,c(0,"keygen",ar)),se("design:type",Function),se("design:paramtypes",[typeof(qa=typeof ar<"u"&&ar)=="function"?qa:Object,Object]),se("design:returntype",typeof(za=typeof Promise<"u"&&Promise)=="function"?za:Object)],u.CipherProvider.prototype,"keygen",null),bt([S("${mesh.name}.cipher.regen",lo),Zt(0,c(0,"keygen",Mi)),se("design:type",Function),se("design:paramtypes",[typeof(Va=typeof Mi<"u"&&Mi)=="function"?Va:Object,Object]),se("design:returntype",typeof(Ga=typeof Promise<"u"&&Promise)=="function"?Ga:Object)],u.CipherProvider.prototype,"regen",null),bt([S("${mesh.name}.cipher.encode",Uint8Array),Zt(0,c(0,"explain",On)),se("design:type",Function),se("design:paramtypes",[typeof(Wa=typeof On<"u"&&On)=="function"?Wa:Object,Object]),se("design:returntype",typeof(Ka=typeof Promise<"u"&&Promise)=="function"?Ka:Object)],u.CipherProvider.prototype,"encode",null),bt([S("${mesh.name}.cipher.decode",Uint8Array),Zt(0,c(0,"cipher",On)),se("design:type",Function),se("design:paramtypes",[typeof(Ja=typeof On<"u"&&On)=="function"?Ja:Object,Object]),se("design:returntype",typeof(Xa=typeof Promise<"u"&&Promise)=="function"?Xa:Object)],u.CipherProvider.prototype,"decode",null),bt([S("${mesh.name}.cipher.recode",Uint8Array),Zt(0,c(0,"cipher",Ii)),se("design:type",Function),se("design:paramtypes",[typeof(Ya=typeof Ii<"u"&&Ii)=="function"?Ya:Object,Object]),se("design:returntype",typeof(Qa=typeof Promise<"u"&&Promise)=="function"?Qa:Object)],u.CipherProvider.prototype,"recode",null),u.CipherProvider=bt([B("mpi")],u.CipherProvider),u.ObjectProvider=class{serve(e=b()){return Promise.reject(h.URN_NOT_PERMIT)}},u.ObjectProvider=bt([B("mpi")],u.ObjectProvider);var os=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i},ni=function(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)},xl=function(r,e){return function(t,n){e(t,n,r)}},Za,ed,td;u.Cluster=class{election(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}isLeader(e=b()){return Promise.reject(h.URN_NOT_PERMIT)}},os([S("mesh.cluster.election",Uint8Array),xl(0,c(0,"buff",Uint8Array)),ni("design:type",Function),ni("design:paramtypes",[typeof(Za=typeof Uint8Array<"u"&&Uint8Array)=="function"?Za:Object,Object]),ni("design:returntype",typeof(ed=typeof Promise<"u"&&Promise)=="function"?ed:Object)],u.Cluster.prototype,"election",null),os([S("mesh.cluster.leader",Boolean),ni("design:type",Function),ni("design:paramtypes",[Object]),ni("design:returntype",typeof(td=typeof Promise<"u"&&Promise)=="function"?td:Object)],u.Cluster.prototype,"isLeader",null),u.Cluster=os([B("mpi")],u.Cluster);var xi=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i},cn=function(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)},ri=function(r,e){return function(t,n){e(t,n,r)}},nd,rd,id,od,sd;u.Commercialize=class{sign(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}history(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}issued(e,t,n,s=b()){return Promise.reject(h.URN_NOT_PERMIT)}dump(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}},xi([S("mesh.license.sign",Xr),ri(0,c(0,"lsr",we)),cn("design:type",Function),cn("design:paramtypes",[typeof(nd=typeof we<"u"&&we)=="function"?nd:Object,Object]),cn("design:returntype",typeof(rd=typeof Promise<"u"&&Promise)=="function"?rd:Object)],u.Commercialize.prototype,"sign",null),xi([S("mesh.license.history",[Array,Xr]),ri(0,c(0,"inst_id",String)),cn("design:type",Function),cn("design:paramtypes",[String,Object]),cn("design:returntype",typeof(id=typeof Promise<"u"&&Promise)=="function"?id:Object)],u.Commercialize.prototype,"history",null),xi([S("mesh.net.issued",Yr),ri(0,c(0,"name",String)),ri(1,c(1,"kind",String)),ri(2,c(2,"cname",String)),cn("design:type",Function),cn("design:paramtypes",[String,String,String,Object]),cn("design:returntype",typeof(od=typeof Promise<"u"&&Promise)=="function"?od:Object)],u.Commercialize.prototype,"issued",null),xi([S("mesh.net.dump",[Array,Yr]),ri(0,c(0,"node_id",String)),cn("design:type",Function),cn("design:paramtypes",[String,Object]),cn("design:returntype",typeof(sd=typeof Promise<"u"&&Promise)=="function"?sd:Object)],u.Commercialize.prototype,"dump",null),u.Commercialize=xi([B("mpi")],u.Commercialize);var ii=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i},Mt=function(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)},$n=function(r,e){return function(t,n){e(t,n,r)}},cd,ad,dd,ud,pd,fd,yd,ld,md,gd,hd,bd,_d,Sd,vd;u.Cryptor=class{encrypt(e,t,n=b()){return Promise.reject(h.URN_NOT_PERMIT)}decrypt(e,t,n=b()){return Promise.reject(h.URN_NOT_PERMIT)}hash(e,t,n=b()){return Promise.reject(h.URN_NOT_PERMIT)}sign(e,t,n=b()){return Promise.reject(h.URN_NOT_PERMIT)}verify(e,t,n=b()){return Promise.reject(h.URN_NOT_PERMIT)}},ii([S("mesh.crypt.encrypt",Uint8Array),$n(0,c(0,"buf",Uint8Array)),$n(1,c(1,"keys",[Map,String,Uint8Array])),Mt("design:type",Function),Mt("design:paramtypes",[typeof(cd=typeof Uint8Array<"u"&&Uint8Array)=="function"?cd:Object,typeof(ad=typeof Record<"u"&&Record)=="function"?ad:Object,Object]),Mt("design:returntype",typeof(dd=typeof Promise<"u"&&Promise)=="function"?dd:Object)],u.Cryptor.prototype,"encrypt",null),ii([S("mesh.crypt.decrypt",Uint8Array),$n(0,c(0,"buf",Uint8Array)),$n(1,c(1,"keys",[Map,String,Uint8Array])),Mt("design:type",Function),Mt("design:paramtypes",[typeof(ud=typeof Uint8Array<"u"&&Uint8Array)=="function"?ud:Object,typeof(pd=typeof Record<"u"&&Record)=="function"?pd:Object,Object]),Mt("design:returntype",typeof(fd=typeof Promise<"u"&&Promise)=="function"?fd:Object)],u.Cryptor.prototype,"decrypt",null),ii([S("mesh.crypt.hash",Uint8Array),$n(0,c(0,"buf",Uint8Array)),$n(1,c(1,"keys",[Map,String,Uint8Array])),Mt("design:type",Function),Mt("design:paramtypes",[typeof(yd=typeof Uint8Array<"u"&&Uint8Array)=="function"?yd:Object,typeof(ld=typeof Record<"u"&&Record)=="function"?ld:Object,Object]),Mt("design:returntype",typeof(md=typeof Promise<"u"&&Promise)=="function"?md:Object)],u.Cryptor.prototype,"hash",null),ii([S("mesh.crypt.sign",Uint8Array),$n(0,c(0,"buf",Uint8Array)),$n(1,c(1,"keys",[Map,String,Uint8Array])),Mt("design:type",Function),Mt("design:paramtypes",[typeof(gd=typeof Uint8Array<"u"&&Uint8Array)=="function"?gd:Object,typeof(hd=typeof Record<"u"&&Record)=="function"?hd:Object,Object]),Mt("design:returntype",typeof(bd=typeof Promise<"u"&&Promise)=="function"?bd:Object)],u.Cryptor.prototype,"sign",null),ii([S("mesh.crypt.verify",Boolean),$n(0,c(0,"buf",Uint8Array)),$n(1,c(1,"keys",[Map,String,Uint8Array])),Mt("design:type",Function),Mt("design:paramtypes",[typeof(_d=typeof Uint8Array<"u"&&Uint8Array)=="function"?_d:Object,typeof(Sd=typeof Record<"u"&&Record)=="function"?Sd:Object,Object]),Mt("design:returntype",typeof(vd=typeof Promise<"u"&&Promise)=="function"?vd:Object)],u.Cryptor.prototype,"verify",null),u.Cryptor=ii([B("mpi")],u.Cryptor);var it=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i},x=function(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)},at=function(r,e){return function(t,n){e(t,n,r)}},Od,Rd,Pd,jd,wd,Ed,Nd,Td,Ad,Md,Id,$d,Ud,Cd,Fd,Dd,kd,xd,Bd,Ld,Hd,qd,zd,Vd,Gd,Wd,Kd;u.Daler=class{query(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}saveSource(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}indexSource(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}describeSource(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}removeSource(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}saveCluster(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}indexCluster(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}describeCluster(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}removeCluster(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}deployCluster(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}saveDTS(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}runDTS(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}indexDTS(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}removeDTS(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}indexBinlog(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}tailBinlog(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}redoBinlog(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}removeBinlog(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}},it([S("mesh.daler.ds.query",Object),at(0,c(0,"test",$r)),x("design:type",Function),x("design:paramtypes",[typeof(Od=typeof $r<"u"&&$r)=="function"?Od:Object,Object]),x("design:returntype",typeof(Rd=typeof Promise<"u"&&Promise)=="function"?Rd:Object)],u.Daler.prototype,"query",null),it([S("mesh.daler.ds.save",String),at(0,c(0,"ds",Bt)),x("design:type",Function),x("design:paramtypes",[typeof(Pd=typeof Bt<"u"&&Bt)=="function"?Pd:Object,Object]),x("design:returntype",typeof(jd=typeof Promise<"u"&&Promise)=="function"?jd:Object)],u.Daler.prototype,"saveSource",null),it([S("mesh.daler.ds.index",[Oe,Bt]),at(0,c(0,"idx",U)),x("design:type",Function),x("design:paramtypes",[typeof(wd=typeof U<"u"&&U)=="function"?wd:Object,Object]),x("design:returntype",typeof(Ed=typeof Promise<"u"&&Promise)=="function"?Ed:Object)],u.Daler.prototype,"indexSource",null),it([S("mesh.daler.ds.describe",Bt),at(0,c(0,"id",String)),x("design:type",Function),x("design:paramtypes",[String,Object]),x("design:returntype",typeof(Nd=typeof Promise<"u"&&Promise)=="function"?Nd:Object)],u.Daler.prototype,"describeSource",null),it([S("mesh.daler.ds.remove",Object),at(0,c(0,"id",String)),x("design:type",Function),x("design:paramtypes",[String,Object]),x("design:returntype",typeof(Td=typeof Promise<"u"&&Promise)=="function"?Td:Object)],u.Daler.prototype,"removeSource",null),it([S("mesh.daler.cluster.save",String),at(0,c(0,"cluster",st)),x("design:type",Function),x("design:paramtypes",[typeof(Ad=typeof st<"u"&&st)=="function"?Ad:Object,Object]),x("design:returntype",typeof(Md=typeof Promise<"u"&&Promise)=="function"?Md:Object)],u.Daler.prototype,"saveCluster",null),it([S("mesh.daler.cluster.index",[Oe,st]),at(0,c(0,"idx",U)),x("design:type",Function),x("design:paramtypes",[typeof(Id=typeof U<"u"&&U)=="function"?Id:Object,Object]),x("design:returntype",typeof($d=typeof Promise<"u"&&Promise)=="function"?$d:Object)],u.Daler.prototype,"indexCluster",null),it([S("mesh.daler.cluster.describe",st),at(0,c(0,"id",String)),x("design:type",Function),x("design:paramtypes",[String,Object]),x("design:returntype",typeof(Ud=typeof Promise<"u"&&Promise)=="function"?Ud:Object)],u.Daler.prototype,"describeCluster",null),it([S("mesh.daler.cluster.remove",Object),at(0,c(0,"id",String)),x("design:type",Function),x("design:paramtypes",[String,Object]),x("design:returntype",typeof(Cd=typeof Promise<"u"&&Promise)=="function"?Cd:Object)],u.Daler.prototype,"removeCluster",null),it([S("mesh.daler.cluster.deploy",Object),at(0,c(0,"id",String)),x("design:type",Function),x("design:paramtypes",[String,Object]),x("design:returntype",typeof(Fd=typeof Promise<"u"&&Promise)=="function"?Fd:Object)],u.Daler.prototype,"deployCluster",null),it([S("mesh.daler.dts.save",String),at(0,c(0,"dts",We)),x("design:type",Function),x("design:paramtypes",[typeof(Dd=typeof We<"u"&&We)=="function"?Dd:Object,Object]),x("design:returntype",typeof(kd=typeof Promise<"u"&&Promise)=="function"?kd:Object)],u.Daler.prototype,"saveDTS",null),it([S("mesh.daler.dts.run",Object),at(0,c(0,"id",String)),x("design:type",Function),x("design:paramtypes",[String,Object]),x("design:returntype",typeof(xd=typeof Promise<"u"&&Promise)=="function"?xd:Object)],u.Daler.prototype,"runDTS",null),it([S("mesh.daler.dts.index",[Oe,We]),at(0,c(0,"idx",U)),x("design:type",Function),x("design:paramtypes",[typeof(Bd=typeof U<"u"&&U)=="function"?Bd:Object,Object]),x("design:returntype",typeof(Ld=typeof Promise<"u"&&Promise)=="function"?Ld:Object)],u.Daler.prototype,"indexDTS",null),it([S("mesh.daler.dts.remove",Object),at(0,c(0,"id",String)),x("design:type",Function),x("design:paramtypes",[String,Object]),x("design:returntype",typeof(Hd=typeof Promise<"u"&&Promise)=="function"?Hd:Object)],u.Daler.prototype,"removeDTS",null),it([S("mesh.daler.binlog.index",[Oe,Bn]),at(0,c(0,"idx",U)),x("design:type",Function),x("design:paramtypes",[typeof(qd=typeof U<"u"&&U)=="function"?qd:Object,Object]),x("design:returntype",typeof(zd=typeof Promise<"u"&&Promise)=="function"?zd:Object)],u.Daler.prototype,"indexBinlog",null),it([S("mesh.daler.binlog.tail",[Oe,[Map,String,String]]),at(0,c(0,"idx",U)),x("design:type",Function),x("design:paramtypes",[typeof(Vd=typeof U<"u"&&U)=="function"?Vd:Object,Object]),x("design:returntype",typeof(Gd=typeof Promise<"u"&&Promise)=="function"?Gd:Object)],u.Daler.prototype,"tailBinlog",null),it([S("mesh.daler.binlog.redo",Object),at(0,c(0,"id",String)),x("design:type",Function),x("design:paramtypes",[String,Object]),x("design:returntype",typeof(Wd=typeof Promise<"u"&&Promise)=="function"?Wd:Object)],u.Daler.prototype,"redoBinlog",null),it([S("mesh.daler.binlog.remove",Object),at(0,c(0,"id",String)),x("design:type",Function),x("design:paramtypes",[String,Object]),x("design:returntype",typeof(Kd=typeof Promise<"u"&&Promise)=="function"?Kd:Object)],u.Daler.prototype,"removeBinlog",null),u.Daler=it([B("mpi")],u.Daler);var oi=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i},It=function(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)},Bi=function(r,e){return function(t,n){e(t,n,r)}},Jd,Xd,Yd,Qd,Zd,eu,tu,nu,ru;u.DataHouse=class{writes(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}write(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}read(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}indies(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}tables(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}},oi([S("mesh.dh.writes",Object),Bi(0,c(0,"docs",[Array,dr])),It("design:type",Function),It("design:paramtypes",[Array,Object]),It("design:returntype",typeof(Jd=typeof Promise<"u"&&Promise)=="function"?Jd:Object)],u.DataHouse.prototype,"writes",null),oi([S("mesh.dh.write",Object),Bi(0,c(0,"doc",dr)),It("design:type",Function),It("design:paramtypes",[typeof(Xd=typeof dr<"u"&&dr)=="function"?Xd:Object,Object]),It("design:returntype",typeof(Yd=typeof Promise<"u"&&Promise)=="function"?Yd:Object)],u.DataHouse.prototype,"write",null),oi([S("mesh.dh.read",[Oe,Object]),Bi(0,c(0,"idx",U)),It("design:type",Function),It("design:paramtypes",[typeof(Qd=typeof U<"u"&&U)=="function"?Qd:Object,Object]),It("design:returntype",typeof(Zd=typeof Promise<"u"&&Promise)=="function"?Zd:Object)],u.DataHouse.prototype,"read",null),oi([S("mesh.dh.indies",[Oe,Object]),Bi(0,c(0,"idx",U)),It("design:type",Function),It("design:paramtypes",[typeof(eu=typeof U<"u"&&U)=="function"?eu:Object,Object]),It("design:returntype",typeof(tu=typeof Promise<"u"&&Promise)=="function"?tu:Object)],u.DataHouse.prototype,"indies",null),oi([S("mesh.dh.tables",[Oe,Object]),Bi(0,c(0,"idx",U)),It("design:type",Function),It("design:paramtypes",[typeof(nu=typeof U<"u"&&U)=="function"?nu:Object,Object]),It("design:returntype",typeof(ru=typeof Promise<"u"&&Promise)=="function"?ru:Object)],u.DataHouse.prototype,"tables",null),u.DataHouse=oi([B("mpi")],u.DataHouse);var Un=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i},Te=function(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)},Qn=function(r,e){return function(t,n){e(t,n,r)}},iu,ou,su,cu,au,du,uu,pu,fu,yu,lu,mu;u.Devops=class{init(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}settings(e=b()){return Promise.reject(h.URN_NOT_PERMIT)}setting(e,t,n=b()){return Promise.reject(h.URN_NOT_PERMIT)}indexReplica(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}importReplica(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}removeReplica(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}readReplica(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}replicate(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}recover(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}},Un([S("${mesh.name}.devops.x.init",Object),Qn(0,c(0,"flags",String)),Te("design:type",Function),Te("design:paramtypes",[String,Object]),Te("design:returntype",typeof(iu=typeof Promise<"u"&&Promise)=="function"?iu:Object)],u.Devops.prototype,"init",null),Un([S("${mesh.name}.devops.x.settings",[Map,String,Rn]),Te("design:type",Function),Te("design:paramtypes",[Object]),Te("design:returntype",typeof(ou=typeof Promise<"u"&&Promise)=="function"?ou:Object)],u.Devops.prototype,"settings",null),Un([S("${mesh.name}.devops.x.setting",Object),Qn(0,c(0,"appset",String)),Qn(1,c(1,"setting",Rn)),Te("design:type",Function),Te("design:paramtypes",[String,typeof(su=typeof Rn<"u"&&Rn)=="function"?su:Object,Object]),Te("design:returntype",typeof(cu=typeof Promise<"u"&&Promise)=="function"?cu:Object)],u.Devops.prototype,"setting",null),Un([S("${mesh.name}.devops.replica.index",[Oe,nt]),Qn(0,c(0,"idx",U)),Te("design:type",Function),Te("design:paramtypes",[typeof(au=typeof U<"u"&&U)=="function"?au:Object,Object]),Te("design:returntype",typeof(du=typeof Promise<"u"&&Promise)=="function"?du:Object)],u.Devops.prototype,"indexReplica",null),Un([S("${mesh.name}.devops.replica.import",String),Qn(0,c(0,"raw",Uint8Array)),Te("design:type",Function),Te("design:paramtypes",[typeof(uu=typeof Uint8Array<"u"&&Uint8Array)=="function"?uu:Object,Object]),Te("design:returntype",typeof(pu=typeof Promise<"u"&&Promise)=="function"?pu:Object)],u.Devops.prototype,"importReplica",null),Un([S("${mesh.name}.devops.replica.remove",Object),Qn(0,c(0,"code",String)),Te("design:type",Function),Te("design:paramtypes",[String,Object]),Te("design:returntype",typeof(fu=typeof Promise<"u"&&Promise)=="function"?fu:Object)],u.Devops.prototype,"removeReplica",null),Un([S("${mesh.name}.devops.replica.read",Uint8Array),Qn(0,c(0,"code",String)),Te("design:type",Function),Te("design:paramtypes",[String,Object]),Te("design:returntype",typeof(yu=typeof Promise<"u"&&Promise)=="function"?yu:Object)],u.Devops.prototype,"readReplica",null),Un([S("${mesh.name}.devops.replica.replicate",String),Qn(0,c(0,"appset",String)),Te("design:type",Function),Te("design:paramtypes",[String,Object]),Te("design:returntype",typeof(lu=typeof Promise<"u"&&Promise)=="function"?lu:Object)],u.Devops.prototype,"replicate",null),Un([S("${mesh.name}.devops.replica.recover",Object),Qn(0,c(0,"id",String)),Te("design:type",Function),Te("design:paramtypes",[String,Object]),Te("design:returntype",typeof(mu=typeof Promise<"u"&&Promise)=="function"?mu:Object)],u.Devops.prototype,"recover",null),u.Devops=Un([B("mpi")],u.Devops);var ss=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i},si=function(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)},_o=function(r,e){return function(t,n){e(t,n,r)}},gu,hu,bu;u.Dispatcher=class{invoke(e,t,n=b()){return Promise.reject(h.URN_NOT_PERMIT)}invoke0(e,t,n=b()){return Promise.reject(h.URN_NOT_PERMIT)}},ss([_o(0,c(0,"urn",String)),_o(1,c(1,"param",[Map,String,Object])),si("design:type",Function),si("design:paramtypes",[String,typeof(gu=typeof Record<"u"&&Record)=="function"?gu:Object,Object]),si("design:returntype",typeof(hu=typeof Promise<"u"&&Promise)=="function"?hu:Object)],u.Dispatcher.prototype,"invoke",null),ss([_o(0,c(0,"urn",String)),_o(1,c(1,"param",Object)),si("design:type",Function),si("design:paramtypes",[String,Object,Object]),si("design:returntype",typeof(bu=typeof Promise<"u"&&Promise)=="function"?bu:Object)],u.Dispatcher.prototype,"invoke0",null),u.Dispatcher=ss([B("spi")],u.Dispatcher);var cs=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i},ci=function(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)},_u=function(r,e){return function(t,n){e(t,n,r)}},Su,vu,Ou;u.Endpoint=class{fuzzy(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}},cs([S("${mesh.uname}",Uint8Array),_u(0,c(0,"buff",Uint8Array)),ci("design:type",Function),ci("design:paramtypes",[typeof(Su=typeof Uint8Array<"u"&&Uint8Array)=="function"?Su:Object,Object]),ci("design:returntype",typeof(vu=typeof Promise<"u"&&Promise)=="function"?vu:Object)],u.Endpoint.prototype,"fuzzy",null),u.Endpoint=cs([B("mpi")],u.Endpoint);class Ru{stick(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}}cs([_u(0,c(0,"varg",Object)),ci("design:type",Function),ci("design:paramtypes",[Object,Object]),ci("design:returntype",typeof(Ou=typeof Promise<"u"&&Promise)=="function"?Ou:Object)],Ru.prototype,"stick",null);var Li=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i},an=function(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)},So=function(r,e){return function(t,n){e(t,n,r)}},Pu,ju,wu,Eu,Nu,Tu;u.Firewalld=class{save(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}remove(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}describe(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}index(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}},Li([S("mesh.firewall.save",String),So(0,c(0,"wall",Se)),an("design:type",Function),an("design:paramtypes",[typeof(Pu=typeof Se<"u"&&Se)=="function"?Pu:Object,Object]),an("design:returntype",typeof(ju=typeof Promise<"u"&&Promise)=="function"?ju:Object)],u.Firewalld.prototype,"save",null),Li([S("mesh.firewall.remove",Object),So(0,c(0,"code",String)),an("design:type",Function),an("design:paramtypes",[String,Object]),an("design:returntype",typeof(wu=typeof Promise<"u"&&Promise)=="function"?wu:Object)],u.Firewalld.prototype,"remove",null),Li([S("mesh.firewall.describe",Se),So(0,c(0,"code",String)),an("design:type",Function),an("design:paramtypes",[String,Object]),an("design:returntype",typeof(Eu=typeof Promise<"u"&&Promise)=="function"?Eu:Object)],u.Firewalld.prototype,"describe",null),Li([S("mesh.firewall.index",[Oe,Se]),So(0,c(0,"idx",U)),an("design:type",Function),an("design:paramtypes",[typeof(Nu=typeof U<"u"&&U)=="function"?Nu:Object,Object]),an("design:returntype",typeof(Tu=typeof Promise<"u"&&Promise)=="function"?Tu:Object)],u.Firewalld.prototype,"index",null),u.Firewalld=Li([B("mpi")],u.Firewalld);var as=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i},ai=function(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)},vo=function(r,e){return function(t,n){e(t,n,r)}},Au,Mu,Iu,$u;u.Graph=class{query(e,t,n=b()){return Promise.reject(h.URN_NOT_PERMIT)}exec(e,t,n=b()){return Promise.reject(h.URN_NOT_PERMIT)}},as([S("mesh.graph.query",[Array,[Map,String,Object]]),vo(0,c(0,"expr",String)),vo(1,c(1,"args",[Map,String,Object])),ai("design:type",Function),ai("design:paramtypes",[String,typeof(Au=typeof Record<"u"&&Record)=="function"?Au:Object,Object]),ai("design:returntype",typeof(Mu=typeof Promise<"u"&&Promise)=="function"?Mu:Object)],u.Graph.prototype,"query",null),as([S("mesh.graph.exec",Object),vo(0,c(0,"expr",String)),vo(1,c(1,"args",[Map,String,Object])),ai("design:type",Function),ai("design:paramtypes",[String,typeof(Iu=typeof Record<"u"&&Record)=="function"?Iu:Object,Object]),ai("design:returntype",typeof($u=typeof Promise<"u"&&Promise)=="function"?$u:Object)],u.Graph.prototype,"exec",null),u.Graph=as([B("mpi")],u.Graph);var $t=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i},re=function(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)},Gt=function(r,e){return function(t,n){e(t,n,r)}},Uu,Cu,Fu,Du,ku,xu,Bu,Lu,Hu,qu,zu,Vu,Gu,Wu,Ku,Ju,Xu,Yu,Qu,Zu,ep,tp;u.KMS=class{reset(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}environ(e=b()){return Promise.reject(h.URN_NOT_PERMIT)}issue(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}describe(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}index(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}revoke(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}rotate(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}remove(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}append(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}explain(e,t,n=b()){return Promise.reject(h.URN_NOT_PERMIT)}indexSecret(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}removeSecret(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}describeSecret(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}generateSecret(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}},$t([S("mesh.kms.reset",Object),Gt(0,c(0,"env",Ke)),re("design:type",Function),re("design:paramtypes",[typeof(Uu=typeof Ke<"u"&&Ke)=="function"?Uu:Object,Object]),re("design:returntype",typeof(Cu=typeof Promise<"u"&&Promise)=="function"?Cu:Object)],u.KMS.prototype,"reset",null),$t([S("mesh.kms.environ",Ke),re("design:type",Function),re("design:paramtypes",[Object]),re("design:returntype",typeof(Fu=typeof Promise<"u"&&Promise)=="function"?Fu:Object)],u.KMS.prototype,"environ",null),$t([S("mesh.kms.crt.issue",Lt),Gt(0,c(0,"csr",rt)),re("design:type",Function),re("design:paramtypes",[typeof(Du=typeof rt<"u"&&rt)=="function"?Du:Object,Object]),re("design:returntype",typeof(ku=typeof Promise<"u"&&Promise)=="function"?ku:Object)],u.KMS.prototype,"issue",null),$t([S("mesh.kms.crt.describe",Lt),Gt(0,c(0,"id",String)),re("design:type",Function),re("design:paramtypes",[String,Object]),re("design:returntype",typeof(xu=typeof Promise<"u"&&Promise)=="function"?xu:Object)],u.KMS.prototype,"describe",null),$t([S("mesh.kms.crt.index",[Oe,Lt]),Gt(0,c(0,"idx",U)),re("design:type",Function),re("design:paramtypes",[typeof(Bu=typeof U<"u"&&U)=="function"?Bu:Object,Object]),re("design:returntype",typeof(Lu=typeof Promise<"u"&&Promise)=="function"?Lu:Object)],u.KMS.prototype,"index",null),$t([S("mesh.kms.crt.revoke",Object),Gt(0,c(0,"crr",Jr)),re("design:type",Function),re("design:paramtypes",[typeof(Hu=typeof Jr<"u"&&Jr)=="function"?Hu:Object,Object]),re("design:returntype",typeof(qu=typeof Promise<"u"&&Promise)=="function"?qu:Object)],u.KMS.prototype,"revoke",null),$t([S("mesh.kms.crt.rotate",Object),Gt(0,c(0,"crr",Ur)),re("design:type",Function),re("design:paramtypes",[typeof(zu=typeof Ur<"u"&&Ur)=="function"?zu:Object,Object]),re("design:returntype",typeof(Vu=typeof Promise<"u"&&Promise)=="function"?Vu:Object)],u.KMS.prototype,"rotate",null),$t([S("mesh.kms.crt.remove",Object),Gt(0,c(0,"id",String)),re("design:type",Function),re("design:paramtypes",[String,Object]),re("design:returntype",typeof(Gu=typeof Promise<"u"&&Promise)=="function"?Gu:Object)],u.KMS.prototype,"remove",null),$t([S("mesh.kms.crt.append",Object),Gt(0,c(0,"car",Lt)),re("design:type",Function),re("design:paramtypes",[typeof(Wu=typeof Lt<"u"&&Lt)=="function"?Wu:Object,Object]),re("design:returntype",typeof(Ku=typeof Promise<"u"&&Promise)=="function"?Ku:Object)],u.KMS.prototype,"append",null),$t([S("mesh.kms.crt.explain",String),Gt(0,c(0,"algo",String)),Gt(1,c(1,"keys",String)),re("design:type",Function),re("design:paramtypes",[String,String,Object]),re("design:returntype",typeof(Ju=typeof Promise<"u"&&Promise)=="function"?Ju:Object)],u.KMS.prototype,"explain",null),$t([S("mesh.kms.secret.index",[Oe,lr]),Gt(0,c(0,"idx",U)),re("design:type",Function),re("design:paramtypes",[typeof(Xu=typeof U<"u"&&U)=="function"?Xu:Object,Object]),re("design:returntype",typeof(Yu=typeof Promise<"u"&&Promise)=="function"?Yu:Object)],u.KMS.prototype,"indexSecret",null),$t([S("mesh.kms.secret.remove",Object),Gt(0,c(0,"id",String)),re("design:type",Function),re("design:paramtypes",[String,Object]),re("design:returntype",typeof(Qu=typeof Promise<"u"&&Promise)=="function"?Qu:Object)],u.KMS.prototype,"removeSecret",null),$t([S("mesh.kms.secret.describe",lr),Gt(0,c(0,"id",String)),re("design:type",Function),re("design:paramtypes",[String,Object]),re("design:returntype",typeof(Zu=typeof Promise<"u"&&Promise)=="function"?Zu:Object)],u.KMS.prototype,"describeSecret",null),$t([S("mesh.kms.secret.generate",String),Gt(0,c(0,"csr",En)),re("design:type",Function),re("design:paramtypes",[typeof(ep=typeof En<"u"&&En)=="function"?ep:Object,Object]),re("design:returntype",typeof(tp=typeof Promise<"u"&&Promise)=="function"?tp:Object)],u.KMS.prototype,"generateSecret",null),u.KMS=$t([B("mpi")],u.KMS);var di=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i},Ut=function(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)},ui=function(r,e){return function(t,n){e(t,n,r)}},np,rp,ip,op,sp,cp,ap;u.KV=class{get(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}put(e,t,n=b()){return Promise.reject(h.URN_NOT_PERMIT)}remove(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}keys(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}index(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}},di([S("mesh.kv.get",De),ui(0,c(0,"key",String)),Ut("design:type",Function),Ut("design:paramtypes",[String,Object]),Ut("design:returntype",typeof(np=typeof Promise<"u"&&Promise)=="function"?np:Object)],u.KV.prototype,"get",null),di([S("mesh.kv.put",Object),ui(0,c(0,"key",String)),ui(1,c(1,"value",De)),Ut("design:type",Function),Ut("design:paramtypes",[String,typeof(rp=typeof De<"u"&&De)=="function"?rp:Object,Object]),Ut("design:returntype",typeof(ip=typeof Promise<"u"&&Promise)=="function"?ip:Object)],u.KV.prototype,"put",null),di([S("mesh.kv.remove",Object),ui(0,c(0,"key",String)),Ut("design:type",Function),Ut("design:paramtypes",[String,Object]),Ut("design:returntype",typeof(op=typeof Promise<"u"&&Promise)=="function"?op:Object)],u.KV.prototype,"remove",null),di([S("mesh.kv.keys",[Array,String]),ui(0,c(0,"pattern",String)),Ut("design:type",Function),Ut("design:paramtypes",[String,Object]),Ut("design:returntype",typeof(sp=typeof Promise<"u"&&Promise)=="function"?sp:Object)],u.KV.prototype,"keys",null),di([S("mesh.kv.index",[Oe,$i]),ui(0,c(0,"idx",U)),Ut("design:type",Function),Ut("design:paramtypes",[typeof(cp=typeof U<"u"&&U)=="function"?cp:Object,Object]),Ut("design:returntype",typeof(ap=typeof Promise<"u"&&Promise)=="function"?ap:Object)],u.KV.prototype,"index",null),u.KV=di([B("mpi")],u.KV);var pi=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i},Ct=function(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)},Bl=function(r,e){return function(t,n){e(t,n,r)}},dp,up,pp,fp,yp;u.Licenser=class{imports(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}exports(e=b()){return Promise.reject(h.URN_NOT_PERMIT)}explain(e=b()){return Promise.reject(h.URN_NOT_PERMIT)}verify(e=b()){return Promise.reject(h.URN_NOT_PERMIT)}features(e=b()){return Promise.reject(h.URN_NOT_PERMIT)}},pi([S("mesh.license.imports",Object),Bl(0,c(0,"license",String)),Ct("design:type",Function),Ct("design:paramtypes",[String,Object]),Ct("design:returntype",typeof(dp=typeof Promise<"u"&&Promise)=="function"?dp:Object)],u.Licenser.prototype,"imports",null),pi([S("mesh.license.exports",String),Ct("design:type",Function),Ct("design:paramtypes",[Object]),Ct("design:returntype",typeof(up=typeof Promise<"u"&&Promise)=="function"?up:Object)],u.Licenser.prototype,"exports",null),pi([S("mesh.license.explain",we),Ct("design:type",Function),Ct("design:paramtypes",[Object]),Ct("design:returntype",typeof(pp=typeof Promise<"u"&&Promise)=="function"?pp:Object)],u.Licenser.prototype,"explain",null),pi([S("mesh.license.verify",Number),Ct("design:type",Function),Ct("design:paramtypes",[Object]),Ct("design:returntype",typeof(fp=typeof Promise<"u"&&Promise)=="function"?fp:Object)],u.Licenser.prototype,"verify",null),pi([S("mesh.license.features",[Map,String,String]),Ct("design:type",Function),Ct("design:paramtypes",[Object]),Ct("design:returntype",typeof(yp=typeof Promise<"u"&&Promise)=="function"?yp:Object)],u.Licenser.prototype,"features",null),u.Licenser=pi([B("mpi")],u.Licenser);var Hi=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i},dn=function(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)},fi=function(r,e){return function(t,n){e(t,n,r)}},lp,mp,gp,hp;u.Locker=class{lock(e,t,n=b()){return Promise.reject(h.URN_NOT_PERMIT)}unlock(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}readLock(e,t,n=b()){return Promise.reject(h.URN_NOT_PERMIT)}readUnlock(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}},Hi([S("mesh.locker.w.lock",Boolean),fi(0,c(0,"rid",String)),fi(1,c(1,"timeout",Number)),dn("design:type",Function),dn("design:paramtypes",[String,Number,Object]),dn("design:returntype",typeof(lp=typeof Promise<"u"&&Promise)=="function"?lp:Object)],u.Locker.prototype,"lock",null),Hi([S("mesh.locker.w.unlock",Object),fi(0,c(0,"rid",String)),dn("design:type",Function),dn("design:paramtypes",[String,Object]),dn("design:returntype",typeof(mp=typeof Promise<"u"&&Promise)=="function"?mp:Object)],u.Locker.prototype,"unlock",null),Hi([S("mesh.locker.r.lock",Boolean),fi(0,c(0,"rid",String)),fi(1,c(1,"timeout",Number)),dn("design:type",Function),dn("design:paramtypes",[String,Number,Object]),dn("design:returntype",typeof(gp=typeof Promise<"u"&&Promise)=="function"?gp:Object)],u.Locker.prototype,"readLock",null),Hi([S("mesh.locker.r.unlock",Object),fi(0,c(0,"rid",String)),dn("design:type",Function),dn("design:paramtypes",[String,Object]),dn("design:returntype",typeof(hp=typeof Promise<"u"&&Promise)=="function"?hp:Object)],u.Locker.prototype,"readUnlock",null),u.Locker=Hi([B("mpi")],u.Locker);var en=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i},ye=function(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)},un=function(r,e){return function(t,n){e(t,n,r)}},bp,_p,Sp,vp,Op,Rp,Pp,jp,wp,Ep,Np,Tp,Ap,Mp;u.Network=class{environ(e=b()){return Promise.reject(h.URN_NOT_PERMIT)}accessible(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}refresh(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}route(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}routes(e=b()){return Promise.reject(h.URN_NOT_PERMIT)}disable(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}enable(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}index(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}version(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}exports(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}imports(e,t,n=b()){return Promise.reject(h.URN_NOT_PERMIT)}remove(e,t,n=b()){return Promise.reject(h.URN_NOT_PERMIT)}},en([S("mesh.net.environ",Ke),ye("design:type",Function),ye("design:paramtypes",[Object]),ye("design:returntype",typeof(bp=typeof Promise<"u"&&Promise)=="function"?bp:Object)],u.Network.prototype,"environ",null),en([S("mesh.net.accessible",Boolean),un(0,c(0,"route",be)),ye("design:type",Function),ye("design:paramtypes",[typeof(_p=typeof be<"u"&&be)=="function"?_p:Object,Object]),ye("design:returntype",typeof(Sp=typeof Promise<"u"&&Promise)=="function"?Sp:Object)],u.Network.prototype,"accessible",null),en([S("mesh.net.refresh",Object),un(0,c(0,"routes",[Array,be])),ye("design:type",Function),ye("design:paramtypes",[Array,Object]),ye("design:returntype",typeof(vp=typeof Promise<"u"&&Promise)=="function"?vp:Object)],u.Network.prototype,"refresh",null),en([S("mesh.net.route",be),un(0,c(0,"mdc",String)),ye("design:type",Function),ye("design:paramtypes",[String,Object]),ye("design:returntype",typeof(Op=typeof Promise<"u"&&Promise)=="function"?Op:Object)],u.Network.prototype,"route",null),en([S("mesh.net.routes",[Array,be]),ye("design:type",Function),ye("design:paramtypes",[Object]),ye("design:returntype",typeof(Rp=typeof Promise<"u"&&Promise)=="function"?Rp:Object)],u.Network.prototype,"routes",null),en([S("mesh.net.disable",Object),un(0,c(0,"mdc",String)),ye("design:type",Function),ye("design:paramtypes",[String,Object]),ye("design:returntype",typeof(Pp=typeof Promise<"u"&&Promise)=="function"?Pp:Object)],u.Network.prototype,"disable",null),en([S("mesh.net.enable",Object),un(0,c(0,"mdc",String)),ye("design:type",Function),ye("design:paramtypes",[String,Object]),ye("design:returntype",typeof(jp=typeof Promise<"u"&&Promise)=="function"?jp:Object)],u.Network.prototype,"enable",null),en([S("mesh.net.index",[Oe,be]),un(0,c(0,"index",U)),ye("design:type",Function),ye("design:paramtypes",[typeof(wp=typeof U<"u"&&U)=="function"?wp:Object,Object]),ye("design:returntype",typeof(Ep=typeof Promise<"u"&&Promise)=="function"?Ep:Object)],u.Network.prototype,"index",null),en([S("mesh.net.version",Di),un(0,c(0,"mdc",String)),ye("design:type",Function),ye("design:paramtypes",[String,Object]),ye("design:returntype",typeof(Np=typeof Promise<"u"&&Promise)=="function"?Np:Object)],u.Network.prototype,"version",null),en([S("mesh.net.exports",String),un(0,c(0,"mdc",String)),ye("design:type",Function),ye("design:paramtypes",[String,Object]),ye("design:returntype",typeof(Tp=typeof Promise<"u"&&Promise)=="function"?Tp:Object)],u.Network.prototype,"exports",null),en([S("mesh.net.imports",Object),un(0,c(0,"mdc",String)),un(1,c(1,"crt",String)),ye("design:type",Function),ye("design:paramtypes",[String,String,Object]),ye("design:returntype",typeof(Ap=typeof Promise<"u"&&Promise)=="function"?Ap:Object)],u.Network.prototype,"imports",null),en([S("mesh.net.remove",Object),un(0,c(0,"sid",String)),un(1,c(1,"did",String)),ye("design:type",Function),ye("design:paramtypes",[String,String,Object]),ye("design:returntype",typeof(Mp=typeof Promise<"u"&&Promise)=="function"?Mp:Object)],u.Network.prototype,"remove",null),u.Network=en([B("mpi")],u.Network);var qi=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i},pn=function(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)},Sr=function(r,e){return function(t,n){e(t,n,r)}},Ip,$p,Up,Cp,Fp,Dp;u.Pipeline=class{peek(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}pop(e,t,n=b()){return Promise.reject(h.URN_NOT_PERMIT)}push(e,t,n,s=b()){return Promise.reject(h.URN_NOT_PERMIT)}release(e,t,n=b()){return Promise.reject(h.URN_NOT_PERMIT)}},qi([S("mesh.chan.peek",Uint8Array),Sr(0,c(0,"topic",String)),pn("design:type",Function),pn("design:paramtypes",[String,Object]),pn("design:returntype",typeof(Ip=typeof Promise<"u"&&Promise)=="function"?Ip:Object)],u.Pipeline.prototype,"peek",null),qi([S("mesh.chan.pop",Uint8Array),Sr(0,c(0,"timeout",Number)),Sr(1,c(1,"topic",String)),pn("design:type",Function),pn("design:paramtypes",[Number,String,Object]),pn("design:returntype",typeof($p=typeof Promise<"u"&&Promise)=="function"?$p:Object)],u.Pipeline.prototype,"pop",null),qi([S("mesh.chan.push",Object),Sr(0,c(0,"payload",Uint8Array)),Sr(1,c(1,"metadata",[Map,String,String])),Sr(2,c(2,"topic",String)),pn("design:type",Function),pn("design:paramtypes",[typeof(Up=typeof Uint8Array<"u"&&Uint8Array)=="function"?Up:Object,typeof(Cp=typeof Record<"u"&&Record)=="function"?Cp:Object,String,Object]),pn("design:returntype",typeof(Fp=typeof Promise<"u"&&Promise)=="function"?Fp:Object)],u.Pipeline.prototype,"push",null),qi([S("mesh.chan.release",Object),Sr(0,c(0,"timeout",Number)),Sr(1,c(1,"topic",String)),pn("design:type",Function),pn("design:paramtypes",[Number,String,Object]),pn("design:returntype",typeof(Dp=typeof Promise<"u"&&Promise)=="function"?Dp:Object)],u.Pipeline.prototype,"release",null),u.Pipeline=qi([B("mpi")],u.Pipeline);var ds=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i},yi=function(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)},kp=function(r,e){return function(t,n){e(t,n,r)}},xp,Bp;u.Publisher=class{publish(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}broadcast(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}},ds([S("mesh.queue.publish",[Array,String]),kp(0,c(0,"events",[Array,gt])),yi("design:type",Function),yi("design:paramtypes",[Array,Object]),yi("design:returntype",typeof(xp=typeof Promise<"u"&&Promise)=="function"?xp:Object)],u.Publisher.prototype,"publish",null),ds([S("mesh.queue.multicast",[Array,String]),kp(0,c(0,"events",[Array,gt])),yi("design:type",Function),yi("design:paramtypes",[Array,Object]),yi("design:returntype",typeof(Bp=typeof Promise<"u"&&Promise)=="function"?Bp:Object)],u.Publisher.prototype,"broadcast",null),u.Publisher=ds([B("mpi")],u.Publisher);var li=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i},Ft=function(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)},zi=function(r,e){return function(t,n){e(t,n,r)}},Lp,Hp,qp,zp,Vp,Gp,Wp;u.Registry=class{register(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}registers(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}unregister(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}export(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}appset(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}},li([S("mesh.registry.put",Object),zi(0,c(0,"registration",[ht,Object])),Ft("design:type",Function),Ft("design:paramtypes",[typeof(Lp=typeof ht<"u"&&ht)=="function"?Lp:Object,Object]),Ft("design:returntype",typeof(Hp=typeof Promise<"u"&&Promise)=="function"?Hp:Object)],u.Registry.prototype,"register",null),li([S("mesh.registry.puts",Object),zi(0,c(0,"registrations",[Array,[ht,Object]])),Ft("design:type",Function),Ft("design:paramtypes",[Array,Object]),Ft("design:returntype",typeof(qp=typeof Promise<"u"&&Promise)=="function"?qp:Object)],u.Registry.prototype,"registers",null),li([S("mesh.registry.remove",Object),zi(0,c(0,"registration",[ht,Object])),Ft("design:type",Function),Ft("design:paramtypes",[typeof(zp=typeof ht<"u"&&ht)=="function"?zp:Object,Object]),Ft("design:returntype",typeof(Vp=typeof Promise<"u"&&Promise)=="function"?Vp:Object)],u.Registry.prototype,"unregister",null),li([S("mesh.registry.export",[Array,[ht,Object]]),zi(0,c(0,"kind",String)),Ft("design:type",Function),Ft("design:paramtypes",[String,Object]),Ft("design:returntype",typeof(Gp=typeof Promise<"u"&&Promise)=="function"?Gp:Object)],u.Registry.prototype,"export",null),li([S("mesh.registry.appset",[Array,on]),zi(0,c(0,"kind",String)),Ft("design:type",Function),Ft("design:paramtypes",[String,Object]),Ft("design:returntype",typeof(Wp=typeof Promise<"u"&&Promise)=="function"?Wp:Object)],u.Registry.prototype,"appset",null),u.Registry=li([B("mpi")],u.Registry);var mi=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i},Wt=function(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)},Vi=function(r,e){return function(t,n){e(t,n,r)}},Kp,Jp,Xp,Yp,Qp,Zp,ef;class Gi{with(e,t,n=b()){return Promise.reject(h.URN_NOT_PERMIT)}withMap(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}local(e=b()){return Promise.reject(h.URN_NOT_PERMIT)}any(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}many(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}}mi([Vi(0,c(0,"key",String)),Vi(1,c(1,"value",String)),Wt("design:type",Function),Wt("design:paramtypes",[String,String,Object]),Wt("design:returntype",typeof(Kp=typeof Promise<"u"&&Promise)=="function"?Kp:Object)],Gi.prototype,"with",null),mi([Vi(0,c(0,"attachments",[Map,String,String])),Wt("design:type",Function),Wt("design:paramtypes",[typeof(Jp=typeof Record<"u"&&Record)=="function"?Jp:Object,Object]),Wt("design:returntype",typeof(Xp=typeof Promise<"u"&&Promise)=="function"?Xp:Object)],Gi.prototype,"withMap",null),mi([Vi(0,c(0,"principal",Nt)),Wt("design:type",Function),Wt("design:paramtypes",[typeof(Yp=typeof Nt<"u"&&Nt)=="function"?Yp:Object,Object]),Wt("design:returntype",typeof(Qp=typeof Promise<"u"&&Promise)=="function"?Qp:Object)],Gi.prototype,"any",null),mi([Vi(0,c(0,"principals",[Array,Nt])),Wt("design:type",Function),Wt("design:paramtypes",[Array,Object]),Wt("design:returntype",typeof(Zp=typeof Promise<"u"&&Promise)=="function"?Zp:Object)],Gi.prototype,"many",null);class us{constructor(){o(this,"reference");o(this,"attachments",{})}}mi([c(0,"reference",Object),Wt("design:type",Object)],us.prototype,"reference",void 0),mi([c(1,"attachments",[Map,String,String]),Wt("design:type",typeof(ef=typeof Record<"u"&&Record)=="function"?ef:Object)],us.prototype,"attachments",void 0);var gi=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i},Dt=function(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)},Wi=function(r,e){return function(t,n){e(t,n,r)}},tf,nf,rf,of,sf,cf,af,df;u.Savepoint=class{begin(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}commit(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}rollback(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}execute(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}redo(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}},gi([S("mesh.savepoint.begin",String),Wi(0,c(0,"definition",hr)),Dt("design:type",Function),Dt("design:paramtypes",[typeof(tf=typeof hr<"u"&&hr)=="function"?tf:Object,Object]),Dt("design:returntype",typeof(nf=typeof Promise<"u"&&Promise)=="function"?nf:Object)],u.Savepoint.prototype,"begin",null),gi([S("mesh.savepoint.commit",Object),Wi(0,c(0,"xid",String)),Dt("design:type",Function),Dt("design:paramtypes",[String,Object]),Dt("design:returntype",typeof(rf=typeof Promise<"u"&&Promise)=="function"?rf:Object)],u.Savepoint.prototype,"commit",null),gi([S("mesh.savepoint.rollback",Object),Wi(0,c(0,"xid",String)),Dt("design:type",Function),Dt("design:paramtypes",[String,Object]),Dt("design:returntype",typeof(of=typeof Promise<"u"&&Promise)=="function"?of:Object)],u.Savepoint.prototype,"rollback",null),gi([S("mesh.savepoint.execute",Uint8Array),Wi(0,c(0,"branch",Mn)),Dt("design:type",Function),Dt("design:paramtypes",[typeof(sf=typeof Mn<"u"&&Mn)=="function"?sf:Object,Object]),Dt("design:returntype",typeof(cf=typeof Promise<"u"&&Promise)=="function"?cf:Object)],u.Savepoint.prototype,"execute",null),gi([S("mesh.savepoint.redo",Object),Wi(0,c(0,"commit",Uint8Array)),Dt("design:type",Function),Dt("design:paramtypes",[typeof(af=typeof Uint8Array<"u"&&Uint8Array)=="function"?af:Object,Object]),Dt("design:returntype",typeof(df=typeof Promise<"u"&&Promise)=="function"?df:Object)],u.Savepoint.prototype,"redo",null),u.Savepoint=gi([B("mpi")],u.Savepoint);var Zn=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i},xe=function(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)},Cn=function(r,e){return function(t,n){e(t,n,r)}},uf,pf,ff,yf,lf,mf,gf,hf,bf,_f,Sf,vf;u.Scheduler=class{timeout(e,t,n=b()){return Promise.reject(h.URN_NOT_PERMIT)}cron(e,t,n=b()){return Promise.reject(h.URN_NOT_PERMIT)}period(e,t,n=b()){return Promise.reject(h.URN_NOT_PERMIT)}dump(e=b()){return Promise.reject(h.URN_NOT_PERMIT)}cancel(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}stop(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}emit(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}shutdown(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}},Zn([S("mesh.schedule.timeout",String),Cn(0,c(0,"timeout",wn)),Cn(1,c(1,"duration",Number)),xe("design:type",Function),xe("design:paramtypes",[typeof(uf=typeof wn<"u"&&wn)=="function"?uf:Object,Number,Object]),xe("design:returntype",typeof(pf=typeof Promise<"u"&&Promise)=="function"?pf:Object)],u.Scheduler.prototype,"timeout",null),Zn([S("mesh.schedule.cron",String),Cn(0,c(0,"cron",String)),Cn(1,c(1,"topic",He)),xe("design:type",Function),xe("design:paramtypes",[String,typeof(ff=typeof He<"u"&&He)=="function"?ff:Object,Object]),xe("design:returntype",typeof(yf=typeof Promise<"u"&&Promise)=="function"?yf:Object)],u.Scheduler.prototype,"cron",null),Zn([S("mesh.schedule.period",String),Cn(0,c(0,"duration",Number)),Cn(1,c(1,"topic",He)),xe("design:type",Function),xe("design:paramtypes",[Number,typeof(lf=typeof He<"u"&&He)=="function"?lf:Object,Object]),xe("design:returntype",typeof(mf=typeof Promise<"u"&&Promise)=="function"?mf:Object)],u.Scheduler.prototype,"period",null),Zn([S("mesh.schedule.dump",[Array,String]),xe("design:type",Function),xe("design:paramtypes",[Object]),xe("design:returntype",typeof(gf=typeof Promise<"u"&&Promise)=="function"?gf:Object)],u.Scheduler.prototype,"dump",null),Zn([S("mesh.schedule.cancel",Boolean),Cn(0,c(0,"task_id",String)),xe("design:type",Function),xe("design:paramtypes",[String,Object]),xe("design:returntype",typeof(hf=typeof Promise<"u"&&Promise)=="function"?hf:Object)],u.Scheduler.prototype,"cancel",null),Zn([S("mesh.schedule.stop",Boolean),Cn(0,c(0,"task_id",String)),xe("design:type",Function),xe("design:paramtypes",[String,Object]),xe("design:returntype",typeof(bf=typeof Promise<"u"&&Promise)=="function"?bf:Object)],u.Scheduler.prototype,"stop",null),Zn([S("mesh.schedule.emit",Object),Cn(0,c(0,"topic",He)),xe("design:type",Function),xe("design:paramtypes",[typeof(_f=typeof He<"u"&&He)=="function"?_f:Object,Object]),xe("design:returntype",typeof(Sf=typeof Promise<"u"&&Promise)=="function"?Sf:Object)],u.Scheduler.prototype,"emit",null),Zn([S("mesh.schedule.shutdown",Object),Cn(0,c(0,"duration",Number)),xe("design:type",Function),xe("design:paramtypes",[Number,Object]),xe("design:returntype",typeof(vf=typeof Promise<"u"&&Promise)=="function"?vf:Object)],u.Scheduler.prototype,"shutdown",null),u.Scheduler=Zn([B("mpi")],u.Scheduler);var ps=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i},hi=function(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)},Ki=function(r,e){return function(t,n){e(t,n,r)}},Of,Rf;u.Sequence=class{next(e,t,n=b()){return Promise.reject(h.URN_NOT_PERMIT)}section(e,t,n,s=b()){return Promise.reject(h.URN_NOT_PERMIT)}},ps([S("mesh.sequence.next",String),Ki(0,c(0,"kind",String)),Ki(1,c(1,"length",Number)),hi("design:type",Function),hi("design:paramtypes",[String,Number,Object]),hi("design:returntype",typeof(Of=typeof Promise<"u"&&Promise)=="function"?Of:Object)],u.Sequence.prototype,"next",null),ps([S("mesh.sequence.section",[Array,String]),Ki(0,c(0,"kind",String)),Ki(1,c(1,"size",Number)),Ki(2,c(2,"length",Number)),hi("design:type",Function),hi("design:paramtypes",[String,Number,Number,Object]),hi("design:returntype",typeof(Rf=typeof Promise<"u"&&Promise)=="function"?Rf:Object)],u.Sequence.prototype,"section",null),u.Sequence=ps([B("mpi")],u.Sequence);var Pf=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i},fs=function(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)},Ll=function(r,e){return function(t,n){e(t,n,r)}},jf,wf;u.Subscriber=class{subscribe(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}},Pf([S("mesh.queue.subscribe",Object),Ll(0,c(0,"event",gt)),fs("design:type",Function),fs("design:paramtypes",[typeof(jf=typeof gt<"u"&>)=="function"?jf:Object,Object]),fs("design:returntype",typeof(wf=typeof Promise<"u"&&Promise)=="function"?wf:Object)],u.Subscriber.prototype,"subscribe",null),u.Subscriber=Pf([B("mpi")],u.Subscriber);var kt=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i},ce=function(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)},_t=function(r,e){return function(t,n){e(t,n,r)}},Ef,Nf,Tf,Af,Mf,If,$f,Uf,Cf,Ff,Df,kf,xf,Bf,Lf,Hf,qf;u.Tokenizer=class{captcha(e,t,n=b()){return Promise.reject(h.URN_NOT_PERMIT)}matches(e,t,n=b()){return Promise.reject(h.URN_NOT_PERMIT)}apply(e,t,n=b()){return Promise.reject(h.URN_NOT_PERMIT)}verify(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}quickauth(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}grant(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}accept(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}reject(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}authorize(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}authenticate(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}refresh(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}destroy(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}},kt([S("mesh.captcha.apply",Qr),_t(0,c(0,"kind",String)),_t(1,c(1,"features",[Map,String,String])),ce("design:type",Function),ce("design:paramtypes",[String,typeof(Ef=typeof Record<"u"&&Record)=="function"?Ef:Object,Object]),ce("design:returntype",typeof(Nf=typeof Promise<"u"&&Promise)=="function"?Nf:Object)],u.Tokenizer.prototype,"captcha",null),kt([S("mesh.captcha.match",Boolean),_t(0,c(0,"mno",String)),_t(1,c(1,"value",String)),ce("design:type",Function),ce("design:paramtypes",[String,String,Object]),ce("design:returntype",typeof(Tf=typeof Promise<"u"&&Promise)=="function"?Tf:Object)],u.Tokenizer.prototype,"matches",null),kt([S("mesh.trust.apply",String),_t(0,c(0,"kind",String)),_t(1,c(1,"duration",Number)),ce("design:type",Function),ce("design:paramtypes",[String,Number,Object]),ce("design:returntype",typeof(Af=typeof Promise<"u"&&Promise)=="function"?Af:Object)],u.Tokenizer.prototype,"apply",null),kt([S("mesh.trust.verify",Boolean),_t(0,c(0,"token",String)),ce("design:type",Function),ce("design:paramtypes",[String,Object]),ce("design:returntype",typeof(Mf=typeof Promise<"u"&&Promise)=="function"?Mf:Object)],u.Tokenizer.prototype,"verify",null),kt([S("mesh.auth.quickauth",Hn),_t(0,c(0,"credential",nn)),ce("design:type",Function),ce("design:paramtypes",[typeof(If=typeof nn<"u"&&nn)=="function"?If:Object,Object]),ce("design:returntype",typeof($f=typeof Promise<"u"&&Promise)=="function"?$f:Object)],u.Tokenizer.prototype,"quickauth",null),kt([S("mesh.oauth.grant",es),_t(0,c(0,"grant",mr)),ce("design:type",Function),ce("design:paramtypes",[typeof(Uf=typeof mr<"u"&&mr)=="function"?Uf:Object,Object]),ce("design:returntype",typeof(Cf=typeof Promise<"u"&&Promise)=="function"?Cf:Object)],u.Tokenizer.prototype,"grant",null),kt([S("mesh.oauth.accept",go),_t(0,c(0,"code",String)),ce("design:type",Function),ce("design:paramtypes",[String,Object]),ce("design:returntype",typeof(Ff=typeof Promise<"u"&&Promise)=="function"?Ff:Object)],u.Tokenizer.prototype,"accept",null),kt([S("mesh.oauth.reject",Object),_t(0,c(0,"code",String)),ce("design:type",Function),ce("design:paramtypes",[String,Object]),ce("design:returntype",typeof(Df=typeof Promise<"u"&&Promise)=="function"?Df:Object)],u.Tokenizer.prototype,"reject",null),kt([S("mesh.auth.authorize",Hn),_t(0,c(0,"code",String)),ce("design:type",Function),ce("design:paramtypes",[String,Object]),ce("design:returntype",typeof(kf=typeof Promise<"u"&&Promise)=="function"?kf:Object)],u.Tokenizer.prototype,"authorize",null),kt([S("mesh.oauth.authenticate",Tt),_t(0,c(0,"token",String)),ce("design:type",Function),ce("design:paramtypes",[String,Object]),ce("design:returntype",typeof(xf=typeof Promise<"u"&&Promise)=="function"?xf:Object)],u.Tokenizer.prototype,"authenticate",null),kt([S("mesh.oauth.refresh",Hn),_t(0,c(0,"token",String)),ce("design:type",Function),ce("design:paramtypes",[String,Object]),ce("design:returntype",typeof(Bf=typeof Promise<"u"&&Promise)=="function"?Bf:Object)],u.Tokenizer.prototype,"refresh",null),kt([S("mesh.oauth.destroy",Object),_t(0,c(0,"token",String)),ce("design:type",Function),ce("design:paramtypes",[String,Object]),ce("design:returntype",typeof(Lf=typeof Promise<"u"&&Promise)=="function"?Lf:Object)],u.Tokenizer.prototype,"destroy",null),u.Tokenizer=kt([B("mpi")],u.Tokenizer),u.AuthProvider=class{session(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}},kt([S("${mesh.name}.auth.session",Tt),_t(0,c(0,"credential",nn)),ce("design:type",Function),ce("design:paramtypes",[typeof(Hf=typeof nn<"u"&&nn)=="function"?Hf:Object,Object]),ce("design:returntype",typeof(qf=typeof Promise<"u"&&Promise)=="function"?qf:Object)],u.AuthProvider.prototype,"session",null),u.AuthProvider=kt([B("mpi")],u.AuthProvider);var Dr=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i},dt=function(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)},Fn=function(r,e){return function(t,n){e(t,n,r)}},zf,Vf,Gf,Wf,Kf,Jf,Xf;u.Transporter=class{attach(e,t,n=b()){return Promise.reject(h.URN_NOT_PERMIT)}detach(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}scan(e,t,n,s=b()){return Promise.reject(h.URN_NOT_PERMIT)}write(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}read(e,t,n=b()){return Promise.reject(h.URN_NOT_PERMIT)}clean(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}},Dr([S("${mesh.name}.tcp.attach",String),Fn(0,c(0,"uri",String)),Fn(1,c(1,"pdc",String)),dt("design:type",Function),dt("design:paramtypes",[String,String,Object]),dt("design:returntype",typeof(zf=typeof Promise<"u"&&Promise)=="function"?zf:Object)],u.Transporter.prototype,"attach",null),Dr([S("${mesh.name}.tcp.detach",Object),Fn(0,c(0,"descriptor",String)),dt("design:type",Function),dt("design:paramtypes",[String,Object]),dt("design:returntype",typeof(Vf=typeof Promise<"u"&&Promise)=="function"?Vf:Object)],u.Transporter.prototype,"detach",null),Dr([S("${mesh.name}.tcp.scan",[Array,sn]),Fn(0,c(0,"rid",String)),Fn(1,c(1,"h",Number)),Fn(2,c(2,"limit",Number)),dt("design:type",Function),dt("design:paramtypes",[String,Number,Number,Object]),dt("design:returntype",typeof(Gf=typeof Promise<"u"&&Promise)=="function"?Gf:Object)],u.Transporter.prototype,"scan",null),Dr([S("${mesh.name}.tcp.write",Object),Fn(0,c(0,"packet",sn)),dt("design:type",Function),dt("design:paramtypes",[typeof(Wf=typeof sn<"u"&&sn)=="function"?Wf:Object,Object]),dt("design:returntype",typeof(Kf=typeof Promise<"u"&&Promise)=="function"?Kf:Object)],u.Transporter.prototype,"write",null),Dr([S("${mesh.name}.tcp.read",[Array,sn]),Fn(0,c(0,"bucket",String)),Fn(1,c(1,"limit",Number)),dt("design:type",Function),dt("design:paramtypes",[String,Number,Object]),dt("design:returntype",typeof(Jf=typeof Promise<"u"&&Promise)=="function"?Jf:Object)],u.Transporter.prototype,"read",null),Dr([S("${mesh.name}.tcp.clean",Object),Fn(0,c(0,"buckets",[Array,String])),dt("design:type",Function),dt("design:paramtypes",[Array,Object]),dt("design:returntype",typeof(Xf=typeof Promise<"u"&&Promise)=="function"?Xf:Object)],u.Transporter.prototype,"clean",null),u.Transporter=Dr([B("mpi")],u.Transporter);var vr=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i},Je=function(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)},Or=function(r,e){return function(t,n){e(t,n,r)}},Yf,Qf,Zf,ey,ty,ny,ry,iy;u.FileSystem=class{exist(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}mkdir(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}write(e,t,n=b()){return Promise.reject(h.URN_NOT_PERMIT)}read(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}remove(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}delete(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}list(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}},vr([S("mesh.fs.exist",Boolean),Or(0,c(0,"path",String)),Je("design:type",Function),Je("design:paramtypes",[String,Object]),Je("design:returntype",typeof(Yf=typeof Promise<"u"&&Promise)=="function"?Yf:Object)],u.FileSystem.prototype,"exist",null),vr([S("mesh.fs.mkdir",Object),Or(0,c(0,"path",String)),Je("design:type",Function),Je("design:paramtypes",[String,Object]),Je("design:returntype",typeof(Qf=typeof Promise<"u"&&Promise)=="function"?Qf:Object)],u.FileSystem.prototype,"mkdir",null),vr([S("mesh.fs.write",Object),Or(0,c(0,"path",String)),Or(1,c(1,"buff",Uint8Array)),Je("design:type",Function),Je("design:paramtypes",[String,typeof(Zf=typeof Uint8Array<"u"&&Uint8Array)=="function"?Zf:Object,Object]),Je("design:returntype",typeof(ey=typeof Promise<"u"&&Promise)=="function"?ey:Object)],u.FileSystem.prototype,"write",null),vr([S("mesh.fs.read",Uint8Array),Or(0,c(0,"path",String)),Je("design:type",Function),Je("design:paramtypes",[String,Object]),Je("design:returntype",typeof(ty=typeof Promise<"u"&&Promise)=="function"?ty:Object)],u.FileSystem.prototype,"read",null),vr([S("mesh.fs.remove",Object),Or(0,c(0,"path",String)),Je("design:type",Function),Je("design:paramtypes",[String,Object]),Je("design:returntype",typeof(ny=typeof Promise<"u"&&Promise)=="function"?ny:Object)],u.FileSystem.prototype,"remove",null),vr([S("mesh.fs.delete",Object),Or(0,c(0,"paths",[Array,String])),Je("design:type",Function),Je("design:paramtypes",[Array,Object]),Je("design:returntype",typeof(ry=typeof Promise<"u"&&Promise)=="function"?ry:Object)],u.FileSystem.prototype,"delete",null),vr([S("mesh.fs.ls",Kr),Or(0,c(0,"path",String)),Je("design:type",Function),Je("design:paramtypes",[String,Object]),Je("design:returntype",typeof(iy=typeof Promise<"u"&&Promise)=="function"?iy:Object)],u.FileSystem.prototype,"list",null),u.FileSystem=vr([B("mpi")],u.FileSystem);var kr=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i},ut=function(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)},er=function(r,e){return function(t,n){e(t,n,r)}},oy,sy,cy,ay,dy,uy,py,fy,yy;u.VM=class{compile(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}setup(e,t,n=b()){return Promise.reject(h.URN_NOT_PERMIT)}remove(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}describe(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}exec(e,t,n,s=b()){return Promise.reject(h.URN_NOT_PERMIT)}index(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}},kr([S("mesh.vmc.compile",String),er(0,c(0,"script",Le)),ut("design:type",Function),ut("design:paramtypes",[typeof(oy=typeof Le<"u"&&Le)=="function"?oy:Object,Object]),ut("design:returntype",typeof(sy=typeof Promise<"u"&&Promise)=="function"?sy:Object)],u.VM.prototype,"compile",null),kr([S("mesh.vmc.setup",Object),er(0,c(0,"code",String)),er(1,c(1,"version",String)),ut("design:type",Function),ut("design:paramtypes",[String,String,Object]),ut("design:returntype",typeof(cy=typeof Promise<"u"&&Promise)=="function"?cy:Object)],u.VM.prototype,"setup",null),kr([S("mesh.vmc.remove",Object),er(0,c(0,"code",String)),ut("design:type",Function),ut("design:paramtypes",[String,Object]),ut("design:returntype",typeof(ay=typeof Promise<"u"&&Promise)=="function"?ay:Object)],u.VM.prototype,"remove",null),kr([S("mesh.vmc.describe",Le),er(0,c(0,"code",String)),ut("design:type",Function),ut("design:paramtypes",[String,Object]),ut("design:returntype",typeof(dy=typeof Promise<"u"&&Promise)=="function"?dy:Object)],u.VM.prototype,"describe",null),kr([S("mesh.vmc.exec",String),er(0,c(0,"code",String)),er(1,c(1,"args",[Map,String,String])),er(2,c(2,"dft",String)),ut("design:type",Function),ut("design:paramtypes",[String,typeof(uy=typeof Record<"u"&&Record)=="function"?uy:Object,String,Object]),ut("design:returntype",typeof(py=typeof Promise<"u"&&Promise)=="function"?py:Object)],u.VM.prototype,"exec",null),kr([S("mesh.vmc.index",[Oe,Le]),er(0,c(0,"idx",U)),ut("design:type",Function),ut("design:paramtypes",[typeof(fy=typeof U<"u"&&U)=="function"?fy:Object,Object]),ut("design:returntype",typeof(yy=typeof Promise<"u"&&Promise)=="function"?yy:Object)],u.VM.prototype,"index",null),u.VM=kr([B("mpi")],u.VM);var Rr=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i},Xe=function(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)},xr=function(r,e){return function(t,n){e(t,n,r)}},ly,my,gy,hy,by,_y,Sy,vy,Oy,Ry,Py,jy,wy,Ey;u.Workflow=class{mass(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}groups(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}compile(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}index(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}submit(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}take(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}routines(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}},Rr([S("mesh.workflow.mass",String),xr(0,c(0,"group",Jn)),Xe("design:type",Function),Xe("design:paramtypes",[typeof(ly=typeof Jn<"u"&&Jn)=="function"?ly:Object,Object]),Xe("design:returntype",typeof(my=typeof Promise<"u"&&Promise)=="function"?my:Object)],u.Workflow.prototype,"mass",null),Rr([S("mesh.workflow.groups",[Oe,Jn]),xr(0,c(0,"index",U)),Xe("design:type",Function),Xe("design:paramtypes",[typeof(gy=typeof U<"u"&&U)=="function"?gy:Object,Object]),Xe("design:returntype",typeof(hy=typeof Promise<"u"&&Promise)=="function"?hy:Object)],u.Workflow.prototype,"groups",null),Rr([S("mesh.workflow.compile",String),xr(0,c(0,"chart",Vt)),Xe("design:type",Function),Xe("design:paramtypes",[typeof(by=typeof Vt<"u"&&Vt)=="function"?by:Object,Object]),Xe("design:returntype",typeof(_y=typeof Promise<"u"&&Promise)=="function"?_y:Object)],u.Workflow.prototype,"compile",null),Rr([S("mesh.workflow.index",[Oe,Vt]),xr(0,c(0,"index",U)),Xe("design:type",Function),Xe("design:paramtypes",[typeof(Sy=typeof U<"u"&&U)=="function"?Sy:Object,Object]),Xe("design:returntype",typeof(vy=typeof Promise<"u"&&Promise)=="function"?vy:Object)],u.Workflow.prototype,"index",null),Rr([S("mesh.workflow.submit",String),xr(0,c(0,"intent",_r)),Xe("design:type",Function),Xe("design:paramtypes",[typeof(Oy=typeof _r<"u"&&_r)=="function"?Oy:Object,Object]),Xe("design:returntype",typeof(Ry=typeof Promise<"u"&&Promise)=="function"?Ry:Object)],u.Workflow.prototype,"submit",null),Rr([S("mesh.workflow.take",Object),xr(0,c(0,"vertex",pt)),Xe("design:type",Function),Xe("design:paramtypes",[typeof(Py=typeof pt<"u"&&pt)=="function"?Py:Object,Object]),Xe("design:returntype",typeof(jy=typeof Promise<"u"&&Promise)=="function"?jy:Object)],u.Workflow.prototype,"take",null),Rr([S("mesh.workflow.routines",[Oe,pt]),xr(0,c(0,"index",U)),Xe("design:type",Function),Xe("design:paramtypes",[typeof(wy=typeof U<"u"&&U)=="function"?wy:Object,Object]),Xe("design:returntype",typeof(Ey=typeof Promise<"u"&&Promise)=="function"?Ey:Object)],u.Workflow.prototype,"routines",null),u.Workflow=Rr([B("mpi")],u.Workflow);var Hl=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i};u.Codec=(wr=class{encodeString(e){return this.stringify(this.encode(e))}decodeString(e,t){return this.decode(this.uint8ify(e),t)}},o(wr,"JSON","json"),o(wr,"PROTOBUF","protobuf"),o(wr,"XML","xml"),o(wr,"YAML","yaml"),o(wr,"THRIFT","thrift"),o(wr,"MESH","mesh"),wr),u.Codec=Hl([B(u.Codec.JSON)],u.Codec);var ys={},Ji={},Ny;function ql(){if(Ny)return Ji;Ny=1,Ji.byteLength=d,Ji.toByteArray=j,Ji.fromByteArray=D;for(var r=[],e=[],t=typeof Uint8Array<"u"?Uint8Array:Array,n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,i=n.length;s<i;++s)r[s]=n[s],e[n.charCodeAt(s)]=s;e[45]=62,e[95]=63;function a(T){var w=T.length;if(w%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var M=T.indexOf("=");M===-1&&(M=w);var A=M===w?0:4-M%4;return[M,A]}function d(T){var w=a(T),M=w[0],A=w[1];return(M+A)*3/4-A}function v(T,w,M){return(w+M)*3/4-M}function j(T){var w,M=a(T),A=M[0],X=M[1],Y=new t(v(T,A,X)),ae=0,ot=X>0?A-4:A,de;for(de=0;de<ot;de+=4)w=e[T.charCodeAt(de)]<<18|e[T.charCodeAt(de+1)]<<12|e[T.charCodeAt(de+2)]<<6|e[T.charCodeAt(de+3)],Y[ae++]=w>>16&255,Y[ae++]=w>>8&255,Y[ae++]=w&255;return X===2&&(w=e[T.charCodeAt(de)]<<2|e[T.charCodeAt(de+1)]>>4,Y[ae++]=w&255),X===1&&(w=e[T.charCodeAt(de)]<<10|e[T.charCodeAt(de+1)]<<4|e[T.charCodeAt(de+2)]>>2,Y[ae++]=w>>8&255,Y[ae++]=w&255),Y}function R(T){return r[T>>18&63]+r[T>>12&63]+r[T>>6&63]+r[T&63]}function E(T,w,M){for(var A,X=[],Y=w;Y<M;Y+=3)A=(T[Y]<<16&16711680)+(T[Y+1]<<8&65280)+(T[Y+2]&255),X.push(R(A));return X.join("")}function D(T){for(var w,M=T.length,A=M%3,X=[],Y=16383,ae=0,ot=M-A;ae<ot;ae+=Y)X.push(E(T,ae,ae+Y>ot?ot:ae+Y));return A===1?(w=T[M-1],X.push(r[w>>2]+r[w<<4&63]+"==")):A===2&&(w=(T[M-2]<<8)+T[M-1],X.push(r[w>>10]+r[w>>4&63]+r[w<<2&63]+"=")),X.join("")}return Ji}var Oo={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */var Ty;function zl(){return Ty||(Ty=1,Oo.read=function(r,e,t,n,s){var i,a,d=s*8-n-1,v=(1<<d)-1,j=v>>1,R=-7,E=t?s-1:0,D=t?-1:1,T=r[e+E];for(E+=D,i=T&(1<<-R)-1,T>>=-R,R+=d;R>0;i=i*256+r[e+E],E+=D,R-=8);for(a=i&(1<<-R)-1,i>>=-R,R+=n;R>0;a=a*256+r[e+E],E+=D,R-=8);if(i===0)i=1-j;else{if(i===v)return a?NaN:(T?-1:1)*(1/0);a=a+Math.pow(2,n),i=i-j}return(T?-1:1)*a*Math.pow(2,i-n)},Oo.write=function(r,e,t,n,s,i){var a,d,v,j=i*8-s-1,R=(1<<j)-1,E=R>>1,D=s===23?Math.pow(2,-24)-Math.pow(2,-77):0,T=n?0:i-1,w=n?1:-1,M=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(d=isNaN(e)?1:0,a=R):(a=Math.floor(Math.log(e)/Math.LN2),e*(v=Math.pow(2,-a))<1&&(a--,v*=2),a+E>=1?e+=D/v:e+=D*Math.pow(2,1-E),e*v>=2&&(a++,v/=2),a+E>=R?(d=0,a=R):a+E>=1?(d=(e*v-1)*Math.pow(2,s),a=a+E):(d=e*Math.pow(2,E-1)*Math.pow(2,s),a=0));s>=8;r[t+T]=d&255,T+=w,d/=256,s-=8);for(a=a<<s|d,j+=s;j>0;r[t+T]=a&255,T+=w,a/=256,j-=8);r[t+T-w]|=M*128}),Oo}/*!
|
|
14
|
+
***************************************************************************** */var Ls;function Nl(){if(Ls)return Bs;Ls=1;var r;return function(e){(function(t){var n=typeof globalThis=="object"?globalThis:typeof xs=="object"?xs:typeof self=="object"?self:typeof this=="object"?this:v(),s=i(e);typeof n.Reflect<"u"&&(s=i(n.Reflect,s)),t(s,n),typeof n.Reflect>"u"&&(n.Reflect=e);function i(P,R){return function(E,k){Object.defineProperty(P,E,{configurable:!0,writable:!0,value:k}),R&&R(E,k)}}function a(){try{return Function("return this;")()}catch{}}function d(){try{return(0,eval)("(function() { return this; })()")}catch{}}function v(){return a()||d()}})(function(t,n){var s=Object.prototype.hasOwnProperty,i=typeof Symbol=="function",a=i&&typeof Symbol.toPrimitive<"u"?Symbol.toPrimitive:"@@toPrimitive",d=i&&typeof Symbol.iterator<"u"?Symbol.iterator:"@@iterator",v=typeof Object.create=="function",P={__proto__:[]}instanceof Array,R=!v&&!P,E={create:v?function(){return _(Object.create(null))}:P?function(){return _({__proto__:null})}:function(){return _({})},has:R?function(l,g){return s.call(l,g)}:function(l,g){return g in l},get:R?function(l,g){return s.call(l,g)?l[g]:void 0}:function(l,g){return l[g]}},k=Object.getPrototypeOf(Function),T=typeof Map=="function"&&typeof Map.prototype.entries=="function"?Map:p(),w=typeof Set=="function"&&typeof Set.prototype.entries=="function"?Set:f(),M=typeof WeakMap=="function"?WeakMap:m(),A=i?Symbol.for("@reflect-metadata:registry"):void 0,X=Ds(),Y=xn(X);function ae(l,g,O,N){if(G(O)){if(!io(l))throw new TypeError;if(!Mr(g))throw new TypeError;return Cs(l,g)}else{if(!io(l))throw new TypeError;if(!Ve(g))throw new TypeError;if(!Ve(N)&&!G(N)&&!ir(N))throw new TypeError;return ir(N)&&(N=void 0),O=ln(O),Ho(l,g,O,N)}}t("decorate",ae);function ot(l,g){function O(N,I){if(!Ve(N))throw new TypeError;if(!G(I)&&!Fs(I))throw new TypeError;Vo(l,g,N,I)}return O}t("metadata",ot);function de(l,g,O,N){if(!Ve(O))throw new TypeError;return G(N)||(N=ln(N)),Vo(l,g,O,N)}t("defineMetadata",de);function tn(l,g,O){if(!Ve(g))throw new TypeError;return G(O)||(O=ln(O)),no(l,g,O)}t("hasMetadata",tn);function yn(l,g,O){if(!Ve(g))throw new TypeError;return G(O)||(O=ln(O)),ro(l,g,O)}t("hasOwnMetadata",yn);function Tr(l,g,O){if(!Ve(g))throw new TypeError;return G(O)||(O=ln(O)),qo(l,g,O)}t("getMetadata",Tr);function Oi(l,g,O){if(!Ve(g))throw new TypeError;return G(O)||(O=ln(O)),zo(l,g,O)}t("getOwnMetadata",Oi);function Is(l,g){if(!Ve(l))throw new TypeError;return G(g)||(g=ln(g)),Go(l,g)}t("getMetadataKeys",Is);function $s(l,g){if(!Ve(l))throw new TypeError;return G(g)||(g=ln(g)),Qe(l,g)}t("getOwnMetadataKeys",$s);function Us(l,g,O){if(!Ve(g))throw new TypeError;if(G(O)||(O=ln(O)),!Ve(g))throw new TypeError;G(O)||(O=ln(O));var N=y(g,O,!1);return G(N)?!1:N.OrdinaryDeleteMetadata(l,g,O)}t("deleteMetadata",Us);function Cs(l,g){for(var O=l.length-1;O>=0;--O){var N=l[O],I=N(g);if(!G(I)&&!ir(I)){if(!Mr(I))throw new TypeError;g=I}}return g}function Ho(l,g,O,N){for(var I=l.length-1;I>=0;--I){var ee=l[I],J=ee(g,O,N);if(!G(J)&&!ir(J)){if(!Ve(J))throw new TypeError;N=J}}return N}function no(l,g,O){var N=ro(l,g,O);if(N)return!0;var I=Yt(g);return ir(I)?!1:no(l,I,O)}function ro(l,g,O){var N=y(g,O,!1);return G(N)?!1:Ri(N.OrdinaryHasOwnMetadata(l,g,O))}function qo(l,g,O){var N=ro(l,g,O);if(N)return zo(l,g,O);var I=Yt(g);if(!ir(I))return qo(l,I,O)}function zo(l,g,O){var N=y(g,O,!1);if(!G(N))return N.OrdinaryGetOwnMetadata(l,g,O)}function Vo(l,g,O,N){var I=y(O,N,!0);I.OrdinaryDefineOwnMetadata(l,g,O,N)}function Go(l,g){var O=Qe(l,g),N=Yt(l);if(N===null)return O;var I=Go(N,g);if(I.length<=0)return O;if(O.length<=0)return I;for(var ee=new w,J=[],ue=0,$=O;ue<$.length;ue++){var C=$[ue],F=ee.has(C);F||(ee.add(C),J.push(C))}for(var D=0,me=I;D<me.length;D++){var C=me[D],F=ee.has(C);F||(ee.add(C),J.push(C))}return J}function Qe(l,g){var O=y(l,g,!1);return O?O.OrdinaryOwnMetadataKeys(l,g):[]}function ft(l){if(l===null)return 1;switch(typeof l){case"undefined":return 0;case"boolean":return 2;case"string":return 3;case"symbol":return 4;case"number":return 5;case"object":return l===null?1:6;default:return 6}}function G(l){return l===void 0}function ir(l){return l===null}function Wo(l){return typeof l=="symbol"}function Ve(l){return typeof l=="object"?l!==null:typeof l=="function"}function Ko(l,g){switch(ft(l)){case 0:return l;case 1:return l;case 2:return l;case 3:return l;case 4:return l;case 5:return l}var O="string",N=Pi(l,a);if(N!==void 0){var I=N.call(l,O);if(Ve(I))throw new TypeError;return I}return Ar(l)}function Ar(l,g){var O,N,I;{var ee=l.toString;if(Sn(ee)){var N=ee.call(l);if(!Ve(N))return N}var O=l.valueOf;if(Sn(O)){var N=O.call(l);if(!Ve(N))return N}}throw new TypeError}function Ri(l){return!!l}function Jo(l){return""+l}function ln(l){var g=Ko(l);return Wo(g)?g:Jo(g)}function io(l){return Array.isArray?Array.isArray(l):l instanceof Object?l instanceof Array:Object.prototype.toString.call(l)==="[object Array]"}function Sn(l){return typeof l=="function"}function Mr(l){return typeof l=="function"}function Fs(l){switch(ft(l)){case 3:return!0;case 4:return!0;default:return!1}}function oo(l,g){return l===g||l!==l&&g!==g}function Pi(l,g){var O=l[g];if(O!=null){if(!Sn(O))throw new TypeError;return O}}function Xo(l){var g=Pi(l,d);if(!Sn(g))throw new TypeError;var O=g.call(l);if(!Ve(O))throw new TypeError;return O}function Yo(l){return l.value}function so(l){var g=l.next();return g.done?!1:g}function Vr(l){var g=l.return;g&&g.call(l)}function Yt(l){var g=Object.getPrototypeOf(l);if(typeof l!="function"||l===k||g!==k)return g;var O=l.prototype,N=O&&Object.getPrototypeOf(O);if(N==null||N===Object.prototype)return g;var I=N.constructor;return typeof I!="function"||I===l?g:I}function co(){var l;!G(A)&&typeof n.Reflect<"u"&&!(A in n.Reflect)&&typeof n.Reflect.defineMetadata=="function"&&(l=ks(n.Reflect));var g,O,N,I=new M,ee={registerProvider:J,getProvider:$,setProvider:F};return ee;function J(D){if(!Object.isExtensible(ee))throw new Error("Cannot add provider to a frozen registry.");switch(!0){case l===D:break;case G(g):g=D;break;case g===D:break;case G(O):O=D;break;case O===D:break;default:N===void 0&&(N=new w),N.add(D);break}}function ue(D,me){if(!G(g)){if(g.isProviderFor(D,me))return g;if(!G(O)){if(O.isProviderFor(D,me))return g;if(!G(N))for(var Fe=Xo(N);;){var Ze=so(Fe);if(!Ze)return;var vn=Yo(Ze);if(vn.isProviderFor(D,me))return Vr(Fe),vn}}}if(!G(l)&&l.isProviderFor(D,me))return l}function $(D,me){var Fe=I.get(D),Ze;return G(Fe)||(Ze=Fe.get(me)),G(Ze)&&(Ze=ue(D,me),G(Ze)||(G(Fe)&&(Fe=new T,I.set(D,Fe)),Fe.set(me,Ze))),Ze}function C(D){if(G(D))throw new TypeError;return g===D||O===D||!G(N)&&N.has(D)}function F(D,me,Fe){if(!C(Fe))throw new Error("Metadata provider not registered.");var Ze=$(D,me);if(Ze!==Fe){if(!G(Ze))return!1;var vn=I.get(D);G(vn)&&(vn=new T,I.set(D,vn)),vn.set(me,Fe)}return!0}}function Ds(){var l;return!G(A)&&Ve(n.Reflect)&&Object.isExtensible(n.Reflect)&&(l=n.Reflect[A]),G(l)&&(l=co()),!G(A)&&Ve(n.Reflect)&&Object.isExtensible(n.Reflect)&&Object.defineProperty(n.Reflect,A,{enumerable:!1,configurable:!1,writable:!1,value:l}),l}function xn(l){var g=new M,O={isProviderFor:function(C,F){var D=g.get(C);return G(D)?!1:D.has(F)},OrdinaryDefineOwnMetadata:J,OrdinaryHasOwnMetadata:I,OrdinaryGetOwnMetadata:ee,OrdinaryOwnMetadataKeys:ue,OrdinaryDeleteMetadata:$};return X.registerProvider(O),O;function N(C,F,D){var me=g.get(C),Fe=!1;if(G(me)){if(!D)return;me=new T,g.set(C,me),Fe=!0}var Ze=me.get(F);if(G(Ze)){if(!D)return;if(Ze=new T,me.set(F,Ze),!l.setProvider(C,F,O))throw me.delete(F),Fe&&g.delete(C),new Error("Wrong provider for target.")}return Ze}function I(C,F,D){var me=N(F,D,!1);return G(me)?!1:Ri(me.has(C))}function ee(C,F,D){var me=N(F,D,!1);if(!G(me))return me.get(C)}function J(C,F,D,me){var Fe=N(D,me,!0);Fe.set(C,F)}function ue(C,F){var D=[],me=N(C,F,!1);if(G(me))return D;for(var Fe=me.keys(),Ze=Xo(Fe),vn=0;;){var Rl=so(Ze);if(!Rl)return D.length=vn,D;var zg=Yo(Rl);try{D[vn]=zg}catch(Vg){try{Vr(Ze)}finally{throw Vg}}vn++}}function $(C,F,D){var me=N(F,D,!1);if(G(me)||!me.delete(C))return!1;if(me.size===0){var Fe=g.get(F);G(Fe)||(Fe.delete(D),Fe.size===0&&g.delete(Fe))}return!0}}function ks(l){var g=l.defineMetadata,O=l.hasOwnMetadata,N=l.getOwnMetadata,I=l.getOwnMetadataKeys,ee=l.deleteMetadata,J=new M,ue={isProviderFor:function($,C){var F=J.get($);return!G(F)&&F.has(C)?!0:I($,C).length?(G(F)&&(F=new w,J.set($,F)),F.add(C),!0):!1},OrdinaryDefineOwnMetadata:g,OrdinaryHasOwnMetadata:O,OrdinaryGetOwnMetadata:N,OrdinaryOwnMetadataKeys:I,OrdinaryDeleteMetadata:ee};return ue}function y(l,g,O){var N=X.getProvider(l,g);if(!G(N))return N;if(O){if(X.setProvider(l,g,Y))return Y;throw new Error("Illegal state.")}}function p(){var l={},g=[],O=function(){function ue($,C,F){this._index=0,this._keys=$,this._values=C,this._selector=F}return ue.prototype["@@iterator"]=function(){return this},ue.prototype[d]=function(){return this},ue.prototype.next=function(){var $=this._index;if($>=0&&$<this._keys.length){var C=this._selector(this._keys[$],this._values[$]);return $+1>=this._keys.length?(this._index=-1,this._keys=g,this._values=g):this._index++,{value:C,done:!1}}return{value:void 0,done:!0}},ue.prototype.throw=function($){throw this._index>=0&&(this._index=-1,this._keys=g,this._values=g),$},ue.prototype.return=function($){return this._index>=0&&(this._index=-1,this._keys=g,this._values=g),{value:$,done:!0}},ue}(),N=function(){function ue(){this._keys=[],this._values=[],this._cacheKey=l,this._cacheIndex=-2}return Object.defineProperty(ue.prototype,"size",{get:function(){return this._keys.length},enumerable:!0,configurable:!0}),ue.prototype.has=function($){return this._find($,!1)>=0},ue.prototype.get=function($){var C=this._find($,!1);return C>=0?this._values[C]:void 0},ue.prototype.set=function($,C){var F=this._find($,!0);return this._values[F]=C,this},ue.prototype.delete=function($){var C=this._find($,!1);if(C>=0){for(var F=this._keys.length,D=C+1;D<F;D++)this._keys[D-1]=this._keys[D],this._values[D-1]=this._values[D];return this._keys.length--,this._values.length--,oo($,this._cacheKey)&&(this._cacheKey=l,this._cacheIndex=-2),!0}return!1},ue.prototype.clear=function(){this._keys.length=0,this._values.length=0,this._cacheKey=l,this._cacheIndex=-2},ue.prototype.keys=function(){return new O(this._keys,this._values,I)},ue.prototype.values=function(){return new O(this._keys,this._values,ee)},ue.prototype.entries=function(){return new O(this._keys,this._values,J)},ue.prototype["@@iterator"]=function(){return this.entries()},ue.prototype[d]=function(){return this.entries()},ue.prototype._find=function($,C){if(!oo(this._cacheKey,$)){this._cacheIndex=-1;for(var F=0;F<this._keys.length;F++)if(oo(this._keys[F],$)){this._cacheIndex=F;break}}return this._cacheIndex<0&&C&&(this._cacheIndex=this._keys.length,this._keys.push($),this._values.push(void 0)),this._cacheIndex},ue}();return N;function I(ue,$){return ue}function ee(ue,$){return $}function J(ue,$){return[ue,$]}}function f(){var l=function(){function g(){this._map=new T}return Object.defineProperty(g.prototype,"size",{get:function(){return this._map.size},enumerable:!0,configurable:!0}),g.prototype.has=function(O){return this._map.has(O)},g.prototype.add=function(O){return this._map.set(O,O),this},g.prototype.delete=function(O){return this._map.delete(O)},g.prototype.clear=function(){this._map.clear()},g.prototype.keys=function(){return this._map.keys()},g.prototype.values=function(){return this._map.keys()},g.prototype.entries=function(){return this._map.entries()},g.prototype["@@iterator"]=function(){return this.keys()},g.prototype[d]=function(){return this.keys()},g}();return l}function m(){var l=16,g=E.create(),O=N();return function(){function $(){this._key=N()}return $.prototype.has=function(C){var F=I(C,!1);return F!==void 0?E.has(F,this._key):!1},$.prototype.get=function(C){var F=I(C,!1);return F!==void 0?E.get(F,this._key):void 0},$.prototype.set=function(C,F){var D=I(C,!0);return D[this._key]=F,this},$.prototype.delete=function(C){var F=I(C,!1);return F!==void 0?delete F[this._key]:!1},$.prototype.clear=function(){this._key=N()},$}();function N(){var $;do $="@@WeakMap@@"+ue();while(E.has(g,$));return g[$]=!0,$}function I($,C){if(!s.call($,O)){if(!C)return;Object.defineProperty($,O,{value:E.create()})}return $[O]}function ee($,C){for(var F=0;F<C;++F)$[F]=Math.random()*255|0;return $}function J($){if(typeof Uint8Array=="function"){var C=new Uint8Array($);return typeof crypto<"u"?crypto.getRandomValues(C):typeof msCrypto<"u"?msCrypto.getRandomValues(C):ee(C,$),C}return ee(new Array($),$)}function ue(){var $=J(l);$[6]=$[6]&79|64,$[8]=$[8]&191|128;for(var C="",F=0;F<l;++F){var D=$[F];(F===4||F===6||F===8)&&(C+="-"),D<16&&(C+="0"),C+=D.toString(16).toLowerCase()}return C}}function _(l){return l.__=void 0,delete l.__,l}})}(r||(r={})),Bs}Nl();class uo{constructor(e,t,n,s,i,a,d,v){o(this,"topic");o(this,"code");o(this,"version");o(this,"proto");o(this,"codec");o(this,"flags");o(this,"timeout");o(this,"meshable");o(this,"traits");this.topic=e,this.code=t,this.version=n,this.proto=s,this.codec=i,this.flags=a,this.timeout=d,this.meshable=v}decorate(e){this.traits=Object.getPrototypeOf(e.prototype).constructor,$e.annotate(uo,e,e,this),$e.register(uo,`${this.topic}.${this.code}`,e,this)}}function Tl(r="",e="",t="1.0.0",n="http2",s="protobuf",i=0,a=3e3,d=!0){const v=new uo(r,e,t,n,s,i,a,d);return v.decorate.bind(v)}class sr{constructor(e,t,n,s){o(this,"value");o(this,"name");o(this,"transparent");o(this,"kind");o(this,"clas");o(this,"index",1e3);this.value=e,this.name=t,this.transparent=n,this.kind=s,this.clas=Object}decorate(e,t,n){this.kind==Object?this.kind=Reflect.getMetadata("design:type",e,t):this.kind=Array.isArray(this.kind)?new or(this.kind):this.kind;const s=Reflect.getMetadata("design:paramtypes",e,t);s&&Array.isArray(s)&&n!=null&&s.length>n&&(this.clas=s[n]),this.kind&&(this.clas==Array||this.clas==Map)&&(this.clas=this.kind),this.index=n||1e3,n!=null?$e.annotate(sr,`${t}:${n}`,e.constructor,this):$e.annotate(sr,t,e.constructor,this)}}function c(r=-1,e="",t=Object,n=!1){const s=new sr(r,e,n,t);return s.decorate.bind(s)}class mn{constructor(e,t,n,s){o(this,"name");o(this,"pattern");o(this,"priority");o(this,"prototype");this.name=e,this.pattern=t,this.priority=n,this.prototype=s}decorate(e){$e.annotate(mn,e,e,this),$e.register(mn,this.name,e,this)}}function B(r="",e="",t=0,n=!1){const s=new mn(r,e,t,n);return s.decorate.bind(s)}class Ge{constructor(e,t,n,s,i,a,d,v,P,R,E,k,T,w){o(this,"name");o(this,"version");o(this,"proto");o(this,"codec");o(this,"flags");o(this,"timeout");o(this,"retries");o(this,"mdc");o(this,"zone");o(this,"cluster");o(this,"cell");o(this,"group");o(this,"address");o(this,"kind");o(this,"retype");o(this,"attributes",new Map);this.name=e,this.version=t,this.proto=n,this.codec=s,this.flags=i,this.timeout=a,this.retries=d,this.mdc=v,this.zone=P,this.cluster=R,this.cell=E,this.group=k,this.address=T,this.retype=w}decorate(e,t,n){if(typeof t=="string"&&this.attributes.set("name",t),!n){this.kind=Reflect.getMetadata("design:type",e,t),$e.annotate(Ge,t,e,this);return}return this.kind=Reflect.getMetadata("design:returntype",e,t),$e.annotate(Ge,n.value,e.constructor,this),n}}function S(r="",e=Object,t=1e4,n="1.0.0",s="grpc",i="json",a=0,d=3,v="",P="",R="",E="",k="",T=""){const w=new Ge(r,n,s,i,a,t,d,v,P,R,E,k,T,e);return w.decorate.bind(w)}var Al=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i};const Ml=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/mg,Il=/([^\s,]+)/g;u.MethodProxy=class{},u.MethodProxy=Al([B("mesh")],u.MethodProxy);class Hs{constructor(e,t,n){o(this,"index");o(this,"name");o(this,"kind");this.index=e,this.name=t,this.kind=n}}class qs{constructor(e,t,n){o(this,"kind");o(this,"name");o(this,"method");this.kind=e,this.name=t,this.method=n}getAnnotation(e){return $e.metadata(e,this.kind,this.method)}getName(){var t;const e=$e.metadata(Ge,this.kind,this.method);return((t=e==null?void 0:e.attributes)==null?void 0:t.get("name"))||this.name}getParameters(){const e=this.method.toString().replace(Ml,""),t=e.slice(e.indexOf("(")+1,e.indexOf(")")).match(Il)||[],n=[];for(let s=0;s<t.length;s++){const i=$e.metadata(sr,this.kind,`${this.getName()}:${s}`);n.push(new Hs(s,(i==null?void 0:i.name)||t[s],(i==null?void 0:i.clas)||Object))}return n}getType(){return this.kind}getReturnType(){var e;return new or((e=$e.metadata(Ge,this.kind,this.method))==null?void 0:e.retype)}getExecutable(){return this.method}getSymbol(){return this.name}invoke(e,t){return this.method(...t)}}class $l{constructor(e,t,n){o(this,"inspector");o(this,"h");o(this,"proxy");this.inspector=e,this.h=t,this.proxy=n}apply(e,t,n){return this.h.invoke(this.proxy,this.inspector,n)}}class Ul{constructor(e,t,n){o(this,"inspectors",new q);o(this,"executables",new q);for(let s of t)this.executables.set(s.getSymbol(),new Proxy(s.getExecutable(),new $l(s,n,this))),this.inspectors.set(s.getSymbol(),s)}getMethods(){return this.inspectors.map((e,t)=>t)}get(e,t,n){return this.executables.get(t)}}class wi{static newProxyInstance(e,t){var n,s,i;return this.proxies.get(e)||this.proxies.set(e,new q),(n=this.proxies.get(e))!=null&&n.get(t)||(s=this.proxies.get(e))==null||s.set(t,new Proxy(e,new Ul(e,this.getMethods(e),t))),(i=this.proxies.get(e))==null?void 0:i.get(t)}static getMethods(e){return this.inspectors.computeIfy(e,t=>$e.inspect(t).map((n,s)=>new qs(t,n,s)))}}o(wi,"proxies",new q),o(wi,"inspectors",new q);const xo=class xo{constructor(e,t){o(this,"name");o(this,"kind");o(this,"prototype");o(this,"priority");this.name=e,this.kind=t,this.prototype=!1,this.priority=1}getIfAbsent(){return this.prototype?this.create():xo.value.computeIfy(this.kind,e=>this.create())}create(){return new this.kind}};o(xo,"value",new q);let Qo=xo,Cl=class{constructor(e,t){o(this,"name","");o(this,"providers",[]);this.name=e,this.providers=t.map(n=>new Qo(e,n)).sort((n,s)=>n.priority-s.priority)}getIfAbsent(){if(this.providers.length<1)throw new Error(`No such provider named ${this.name}`);return this.providers[0].getIfAbsent()}};const Bo=class Bo{constructor(e){o(this,"providers",new q);o(this,"spi");o(this,"fist","");var t;this.spi=e,this.fist=((t=$e.metadata(mn,e,e))==null?void 0:t.name)||""}static load(e){return this.loaders.computeIfy(e,t=>new Bo(e))}defaultName(){return this.fist}getDefault(){return this.get(this.fist)}get(e){const t=this.getInstances().get(e);if(!t)throw new Error(`SPI ${this.spi.name} named ${e} not exist.`);return t.getIfAbsent()}want(e){const t=this.getInstances().get(e);return t?t.getIfAbsent():null}list(){return this.getInstances().map((e,t)=>t.getIfAbsent())}getInstances(){return this.providers.computeIfy("$",e=>$e.providers(mn,this.spi).groupBy(t=>{const n=$e.metadata(mn,t,t);return n&&n.name||""}).groupKV(t=>t,(t,n)=>new Cl(t,n)))}};o(Bo,"loaders",new q);let tt=Bo;class Ei{constructor(e,t,n,s,i,a){o(this,"name");o(this,"version");o(this,"proto");o(this,"codec");o(this,"flags");o(this,"timeout");o(this,"traits");this.name=e,this.version=t,this.proto=n,this.codec=s,this.flags=i,this.timeout=a}decorate(e){this.traits=Object.getPrototypeOf(e.prototype).constructor,$e.annotate(Ei,e,e,this),$e.register(Ei,this.name,e,this)}}function Fl(r="",e="",t="grpc",n="json",s=0,i=1e4){const a=new Ei(r,e,t,n,s,i);return a.decorate.bind(a)}function zs(r){return"getCode"in r&&"getMessage"in r}class oe extends Error{constructor(t,n){super(n);o(this,"code");o(this,"message");this.code=t,this.message=n}getCode(){return this.code}getMessage(){return this.message}}class h{}o(h,"SUCCESS",new oe("E0000000000","请求成功")),o(h,"NOT_FOUND",new oe("E0000000404","请求资源不存在")),o(h,"SYSTEM_ERROR",new oe("E0000000500","系统异常")),o(h,"SERVICE_UNAVAILABLE",new oe("E0000000503","循环请求服务不可达")),o(h,"VALIDATE",new oe("E0000000400","请求非法")),o(h,"UNAUTHORIZED",new oe("E0000000403","请求资源未被授权")),o(h,"UNKNOWN",new oe("E0000000520","未知异常")),o(h,"COMPATIBLE",new oe("E0000000600","系统不兼容")),o(h,"TIMEOUT",new oe("E0000000601","请求超时")),o(h,"NO_PROVIDER",new oe("E0000000602","无服务实例")),o(h,"CRYPT_ERROR",new oe("E0000000603","数字证书校验异常")),o(h,"TOKEN_EXPIRE",new oe("E0000000604","节点授权码已过期")),o(h,"NET_EXPIRE",new oe("E0000000605","节点组网时间已过期")),o(h,"NET_DISABLE",new oe("E0000000606","对方节点已禁用网络")),o(h,"NET_UNAVAILABLE",new oe("E0000000607","网络不通")),o(h,"LICENSE_FORMAT_ERROR",new oe("E0000000608","License非法")),o(h,"LICENSE_EXPIRED",new oe("E0000000609","License已过期")),o(h,"MAX_REPLICAS_LIMIT",new oe("E0000000610","集群副本已达许可上限")),o(h,"MAX_COOP_LIMIT",new oe("E0000000611","合作方链接数已达许可上限")),o(h,"MAX_TENANT_LIMIT",new oe("E0000000612","租户数已达许可上限")),o(h,"MAX_USER_LIMIT",new oe("E0000000613","用户数已达许可上限")),o(h,"URN_NOT_PERMIT",new oe("E0000000614","接口未被许可调用")),o(h,"SIGNATURE_ERROR",new oe("E0000000615","证书签名非法")),o(h,"CRYPT_CODEC_ERROR",new oe("E0000000616","报文编解码异常")),o(h,"NO_SERVICE",new oe("E0000000617","下游版本不匹配服务不存在")),o(h,"NET_NOT_WEAVE",new oe("E0000000618","节点或机构未组网")),o(h,"ADDRESS_ERROR",new oe("E0000000619","地址非法或无法访问")),o(h,"UNEXPECTED_SYNTAX",new oe("E0000000620","规则语法错误")),o(h,"UNKNOWN_SCRIPT",new oe("E0000000621","规则不存在")),o(h,"DATA_ID_ERROR",new oe("E0000000622","数据身份不存在或非法")),o(h,"START_PENDING",new oe("E0000000623","系统启动中")),o(h,"UNEXPECTED_SQL_SYNTAX",new oe("E0000000624","SQL语法错误")),o(h,"NO_DATABASE",new oe("E0000000625","数据库不存在")),o(h,"NO_TRANSACTION",new oe("E0000000626","事务不存在")),o(h,"SQL_EXECUTE_ERROR",new oe("E0000000627","SQL执行异常")),o(h,"DUPLICATE_KEY",new oe("E0000000628","唯一键冲突"));class Ni{static inspect(e){return e instanceof oe?e:(console.log(e),h.SYSTEM_ERROR)}static errorf(e){return e instanceof oe?e:(console.log(e),h.SYSTEM_ERROR)}}var Dl=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i};const Xt=class Xt{constructor(e){o(this,"v");this.v=e}matches(e){return(this.v&e)==this.v}};o(Xt,"Routine",new Xt(1)),o(Xt,"Perform",new Xt(2)),o(Xt,"Defense",new Xt(4)),o(Xt,"Debug",new Xt(8)),o(Xt,"LoadTest",new Xt(16)),o(Xt,"Mock",new Xt(32));let po=Xt;class cr{constructor(e){o(this,"name");this.name=e}}class Vs extends Array{peek(){if(!(this.length<1))return this.at(this.length-1)}}class fo{}const le=class le{constructor(e){o(this,"key");this.key=e}get(e){var s,i,a;const t=(s=e.getAttachments())==null?void 0:s.get(this.key);if(t)return t;const n=(i=e.getAttachments())==null?void 0:i.get(this.key.replace("-","_"));if(n)return n;for(let d of(a=e.getAttachments())==null?void 0:a.entries())if(d[1]&&d[0]&&(d[0].toLowerCase()==this.key||d[0].replace("_","-").toLowerCase()==this.key))return d[1];return""}set(e,t){var n;(n=e.getAttachments())==null||n.set(this.key,t)}};o(le,"MESH_TRACE_ID",new le("mesh-trace-id")),o(le,"MESH_SPAN_ID",new le("mesh-span-id")),o(le,"MESH_TIMESTAMP",new le("mesh-timestamp")),o(le,"MESH_RUN_MODE",new le("mesh-mode")),o(le,"MESH_CONSUMER",new le("mesh-consumer")),o(le,"MESH_PROVIDER",new le("mesh-provider")),o(le,"MESH_URN",new le("mesh-urn")),o(le,"MESH_FROM_INST_ID",new le("mesh-from-inst-id")),o(le,"MESH_FROM_NODE_ID",new le("mesh-from-node-id")),o(le,"MESH_INCOMING_HOST",new le("mesh-incoming-host")),o(le,"MESH_OUTGOING_HOST",new le("mesh-outgoing-host")),o(le,"MESH_INCOMING_PROXY",new le("mesh-incoming-proxy")),o(le,"MESH_OUTGOING_PROXY",new le("mesh-outgoing-proxy")),o(le,"MESH_SUBSET",new le("mesh-subset")),o(le,"MESH_SESSION_ID",new le("mesh-session-id")),o(le,"MESH_VERSION",new le("mesh-version")),o(le,"MESH_TIMEOUT",new le("mesh-timeout"));let yo=le;u.ContextProvider=class{},u.ContextProvider=Dl([B("mesh")],u.ContextProvider);function b(){return tt.load(u.ContextProvider).getDefault().context()}var Pe=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i},je=function(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)},Gs,Ws,Ks,Js;class U{constructor(){o(this,"sid","");o(this,"index",0);o(this,"limit",0);o(this,"factor",{});o(this,"order","")}}Pe([c(0,"sid",String),je("design:type",String)],U.prototype,"sid",void 0),Pe([c(1,"index",Number),je("design:type",Number)],U.prototype,"index",void 0),Pe([c(2,"limit",Number),je("design:type",Number)],U.prototype,"limit",void 0),Pe([c(3,"factor",[Map,String,Object]),je("design:type",typeof(Gs=typeof Record<"u"&&Record)=="function"?Gs:Object)],U.prototype,"factor",void 0),Pe([c(4,"order",String),je("design:type",String)],U.prototype,"order",void 0);class Oe{constructor(){o(this,"sid","");o(this,"index",0);o(this,"limit",0);o(this,"total",0);o(this,"next",!1);o(this,"data",[])}}Pe([c(0,"sid",String),je("design:type",String)],Oe.prototype,"sid",void 0),Pe([c(1,"index",Number),je("design:type",Number)],Oe.prototype,"index",void 0),Pe([c(2,"limit",Number),je("design:type",Number)],Oe.prototype,"limit",void 0),Pe([c(3,"total",Number),je("design:type",Number)],Oe.prototype,"total",void 0),Pe([c(4,"next",Boolean),je("design:type",Boolean)],Oe.prototype,"next",void 0),Pe([c(5,"data",[Array,Object]),je("design:type",Array)],Oe.prototype,"data",void 0);class Ti{constructor(){o(this,"nodeId","");o(this,"nodeName","");o(this,"instId","");o(this,"instName","")}}Pe([c(0,"node_id",String),je("design:type",String)],Ti.prototype,"nodeId",void 0),Pe([c(1,"node_name",String),je("design:type",String)],Ti.prototype,"nodeName",void 0),Pe([c(2,"inst_id",String),je("design:type",String)],Ti.prototype,"instId",void 0),Pe([c(3,"inst_name",String),je("design:type",String)],Ti.prototype,"instName",void 0);class Ir{constructor(){o(this,"status",0);o(this,"createAt");o(this,"updateAt");o(this,"createBy","");o(this,"updateBy","")}}Pe([c(0,"status",Number),je("design:type",Number)],Ir.prototype,"status",void 0),Pe([c(1,"create_at",Date),je("design:type",typeof(Ws=typeof Date<"u"&&Date)=="function"?Ws:Object)],Ir.prototype,"createAt",void 0),Pe([c(2,"update_at",Date),je("design:type",typeof(Ks=typeof Date<"u"&&Date)=="function"?Ks:Object)],Ir.prototype,"updateAt",void 0),Pe([c(3,"create_by",String),je("design:type",String)],Ir.prototype,"createBy",void 0),Pe([c(4,"update_by",String),je("design:type",String)],Ir.prototype,"updateBy",void 0);class xt{constructor(){o(this,"name","");o(this,"pos","");o(this,"text","");o(this,"buff",new Uint8Array)}}Pe([c(0,"name",String),je("design:type",String)],xt.prototype,"name",void 0),Pe([c(1,"pos",String),je("design:type",String)],xt.prototype,"pos",void 0),Pe([c(2,"text",String),je("design:type",String)],xt.prototype,"text",void 0),Pe([c(3,"buff",Uint8Array),je("design:type",typeof(Js=typeof Uint8Array<"u"&&Uint8Array)=="function"?Js:Object)],xt.prototype,"buff",void 0);class He{constructor(){o(this,"topic","");o(this,"code","");o(this,"group","");o(this,"sets","")}}Pe([c(0,"topic",String),je("design:type",String)],He.prototype,"topic",void 0),Pe([c(1,"code",String),je("design:type",String)],He.prototype,"code",void 0),Pe([c(2,"group",String),je("design:type",String)],He.prototype,"group",void 0),Pe([c(3,"sets",String),je("design:type",String)],He.prototype,"sets",void 0);var Ee=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i},Ne=function(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)},Xs,Ys,Qs,Zs,ec;class Ai{constructor(){o(this,"suite","");o(this,"project","");o(this,"name","");o(this,"version","")}}Ee([c(0,"suite",String),Ne("design:type",String)],Ai.prototype,"suite",void 0),Ee([c(1,"project",String),Ne("design:type",String)],Ai.prototype,"project",void 0),Ee([c(2,"name",String),Ne("design:type",String)],Ai.prototype,"name",void 0),Ee([c(3,"version",String),Ne("design:type",String)],Ai.prototype,"version",void 0);class Ot{constructor(){o(this,"name","");o(this,"proto","");o(this,"algo","");o(this,"parties",[]);o(this,"message","")}}Ee([c(0,"name",String),Ne("design:type",String)],Ot.prototype,"name",void 0),Ee([c(1,"proto",String),Ne("design:type",String)],Ot.prototype,"proto",void 0),Ee([c(2,"algo",String),Ne("design:type",String)],Ot.prototype,"algo",void 0),Ee([c(3,"parties",[Array,String]),Ne("design:type",Array)],Ot.prototype,"parties",void 0),Ee([c(4,"message",String),Ne("design:type",String)],Ot.prototype,"message",void 0);class $r{constructor(){o(this,"suite","");o(this,"csr",new Uint8Array)}}Ee([c(0,"suite",String),Ne("design:type",String)],$r.prototype,"suite",void 0),Ee([c(1,"csr",Uint8Array),Ne("design:type",typeof(Xs=typeof Uint8Array<"u"&&Uint8Array)=="function"?Xs:Object)],$r.prototype,"csr",void 0);class ar{constructor(){o(this,"hello",new Ot);o(this,"suite",new $r);o(this,"local","")}}Ee([c(0,"hello",Ot),Ne("design:type",Ot)],ar.prototype,"hello",void 0),Ee([c(1,"suite",$r),Ne("design:type",$r)],ar.prototype,"suite",void 0),Ee([c(2,"local",String),Ne("design:type",String)],ar.prototype,"local",void 0);class Mi extends ar{constructor(){super(...arguments);o(this,"keys",{})}}Ee([c(0,"keys",[Map,String,Uint8Array]),Ne("design:type",typeof(Ys=typeof Record<"u"&&Record)=="function"?Ys:Object)],Mi.prototype,"keys",void 0);class lo{constructor(){o(this,"keys",{})}}Ee([c(0,"keys",[Map,String,Uint8Array]),Ne("design:type",typeof(Qs=typeof Record<"u"&&Record)=="function"?Qs:Object)],lo.prototype,"keys",void 0);class On{constructor(){o(this,"suite","");o(this,"body",new Uint8Array)}}Ee([c(0,"suite",String),Ne("design:type",String)],On.prototype,"suite",void 0),Ee([c(1,"body",Uint8Array),Ne("design:type",typeof(Zs=typeof Uint8Array<"u"&&Uint8Array)=="function"?Zs:Object)],On.prototype,"body",void 0);class Ii extends On{constructor(){super(...arguments);o(this,"reKey",new Uint8Array)}}Ee([c(0,"re_key",Uint8Array),Ne("design:type",typeof(ec=typeof Uint8Array<"u"&&Uint8Array)=="function"?ec:Object)],Ii.prototype,"reKey",void 0);class yt{constructor(){o(this,"code","");o(this,"name","");o(this,"memo","");o(this,"uri","");o(this,"level","");o(this,"nodeId","");o(this,"instId","");o(this,"raw","")}}Ee([c(0,"code",String),Ne("design:type",String)],yt.prototype,"code",void 0),Ee([c(1,"name",String),Ne("design:type",String)],yt.prototype,"name",void 0),Ee([c(2,"memo",String),Ne("design:type",String)],yt.prototype,"memo",void 0),Ee([c(3,"uri",String),Ne("design:type",String)],yt.prototype,"uri",void 0),Ee([c(4,"level",String),Ne("design:type",String)],yt.prototype,"level",void 0),Ee([c(5,"node_id",String),Ne("design:type",String)],yt.prototype,"nodeId",void 0),Ee([c(6,"inst_id",String),Ne("design:type",String)],yt.prototype,"instId",void 0),Ee([c(7,"raw",String),Ne("design:type",String)],yt.prototype,"raw",void 0);var z=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i},V=function(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)},tc,nc,rc;class Bt{constructor(){o(this,"id","");o(this,"name","");o(this,"modal","");o(this,"proto","");o(this,"url","");o(this,"memo","");o(this,"status",0)}}z([c(0,"id",String),V("design:type",String)],Bt.prototype,"id",void 0),z([c(1,"name",String),V("design:type",String)],Bt.prototype,"name",void 0),z([c(2,"modal",String),V("design:type",String)],Bt.prototype,"modal",void 0),z([c(3,"proto",String),V("design:type",String)],Bt.prototype,"proto",void 0),z([c(4,"url",String),V("design:type",String)],Bt.prototype,"url",void 0),z([c(5,"memo",String),V("design:type",String)],Bt.prototype,"memo",void 0),z([c(6,"status",Number),V("design:type",Number)],Bt.prototype,"status",void 0);class Kr extends Bt{constructor(){super(...arguments);o(this,"role","");o(this,"rw",0);o(this,"ww",0);o(this,"failover",!1)}}z([c(0,"role",String),V("design:type",String)],Kr.prototype,"role",void 0),z([c(1,"rw",Number),V("design:type",Number)],Kr.prototype,"rw",void 0),z([c(2,"ww",Number),V("design:type",Number)],Kr.prototype,"ww",void 0),z([c(3,"failover",Boolean),V("design:type",Boolean)],Kr.prototype,"failover",void 0);class st{constructor(){o(this,"id","");o(this,"name","");o(this,"modal","");o(this,"keepalive",0);o(this,"retries",0);o(this,"rwmode",0);o(this,"failover",!1);o(this,"instances",[]);o(this,"status",0);o(this,"url","");o(this,"proto","");o(this,"gfs","")}}z([c(0,"id",String),V("design:type",String)],st.prototype,"id",void 0),z([c(1,"name",String),V("design:type",String)],st.prototype,"name",void 0),z([c(2,"modal",String),V("design:type",String)],st.prototype,"modal",void 0),z([c(3,"keepalive",Number),V("design:type",Number)],st.prototype,"keepalive",void 0),z([c(4,"retries",Number),V("design:type",Number)],st.prototype,"retries",void 0),z([c(5,"rw_mode",Number),V("design:type",Number)],st.prototype,"rwmode",void 0),z([c(6,"failover",Boolean),V("design:type",Boolean)],st.prototype,"failover",void 0),z([c(7,"instances",[Array,Kr]),V("design:type",Array)],st.prototype,"instances",void 0),z([c(8,"status",Number),V("design:type",Number)],st.prototype,"status",void 0),z([c(9,"url",String),V("design:type",String)],st.prototype,"url",void 0),z([c(10,"proto",String),V("design:type",String)],st.prototype,"proto",void 0),z([c(11,"gfs",String),V("design:type",String)],st.prototype,"gfs",void 0);class Ur{constructor(){o(this,"id","");o(this,"expr","");o(this,"db","")}}z([c(0,"id",String),V("design:type",String)],Ur.prototype,"id",void 0),z([c(1,"expr",String),V("design:type",String)],Ur.prototype,"expr",void 0),z([c(2,"db",String),V("design:type",String)],Ur.prototype,"db",void 0);class We{constructor(){o(this,"id","");o(this,"name","");o(this,"kind","");o(this,"modal","");o(this,"sid","");o(this,"did","");o(this,"sname","");o(this,"dname","");o(this,"abc","");o(this,"dag","");o(this,"raw","");o(this,"status",0);o(this,"createAt");o(this,"updateAt");o(this,"createBy","");o(this,"updateBy","")}}z([c(0,"id",String),V("design:type",String)],We.prototype,"id",void 0),z([c(1,"name",String),V("design:type",String)],We.prototype,"name",void 0),z([c(2,"kind",String),V("design:type",String)],We.prototype,"kind",void 0),z([c(3,"modal",String),V("design:type",String)],We.prototype,"modal",void 0),z([c(4,"sid",String),V("design:type",String)],We.prototype,"sid",void 0),z([c(5,"did",String),V("design:type",String)],We.prototype,"did",void 0),z([c(6,"s_name",String),V("design:type",String)],We.prototype,"sname",void 0),z([c(7,"d_name",String),V("design:type",String)],We.prototype,"dname",void 0),z([c(8,"abc",String),V("design:type",String)],We.prototype,"abc",void 0),z([c(9,"dag",String),V("design:type",String)],We.prototype,"dag",void 0),z([c(10,"raw",String),V("design:type",String)],We.prototype,"raw",void 0),z([c(11,"status",Number),V("design:type",Number)],We.prototype,"status",void 0),z([c(12,"create_at",Date),V("design:type",typeof(tc=typeof Date<"u"&&Date)=="function"?tc:Object)],We.prototype,"createAt",void 0),z([c(13,"update_at",Date),V("design:type",typeof(nc=typeof Date<"u"&&Date)=="function"?nc:Object)],We.prototype,"updateAt",void 0),z([c(14,"create_by",String),V("design:type",String)],We.prototype,"createBy",void 0),z([c(15,"update_by",String),V("design:type",String)],We.prototype,"updateBy",void 0);class Bn{constructor(){o(this,"id","");o(this,"name","");o(this,"modal","");o(this,"path","");o(this,"size",0);o(this,"lines",0);o(this,"createAt")}}z([c(0,"id",String),V("design:type",String)],Bn.prototype,"id",void 0),z([c(1,"name",String),V("design:type",String)],Bn.prototype,"name",void 0),z([c(2,"modal",String),V("design:type",String)],Bn.prototype,"modal",void 0),z([c(3,"path",String),V("design:type",String)],Bn.prototype,"path",void 0),z([c(4,"size",Number),V("design:type",Number)],Bn.prototype,"size",void 0),z([c(5,"lines",Number),V("design:type",Number)],Bn.prototype,"lines",void 0),z([c(6,"create_at",Date),V("design:type",typeof(rc=typeof Date<"u"&&Date)=="function"?rc:Object)],Bn.prototype,"createAt",void 0);var qe=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i},ze=function(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)},ic,oc,sc;class Rn{constructor(){o(this,"name","");o(this,"icon","");o(this,"version","");o(this,"memo","");o(this,"raw",{})}}qe([c(0,"name",String),ze("design:type",String)],Rn.prototype,"name",void 0),qe([c(1,"icon",String),ze("design:type",String)],Rn.prototype,"icon",void 0),qe([c(2,"version",String),ze("design:type",String)],Rn.prototype,"version",void 0),qe([c(3,"memo",String),ze("design:type",String)],Rn.prototype,"memo",void 0),qe([c(4,"raw",[Map,String,String]),ze("design:type",typeof(ic=typeof Record<"u"&&Record)=="function"?ic:Object)],Rn.prototype,"raw",void 0);class nt{constructor(){o(this,"code","");o(this,"name","");o(this,"scene","");o(this,"mode","");o(this,"plan","");o(this,"appset","");o(this,"memo","");o(this,"srcUri","");o(this,"dstUri","");o(this,"raw","");o(this,"last","");o(this,"size",0);o(this,"status",0);o(this,"createAt");o(this,"updateAt");o(this,"createBy","");o(this,"updateBy","")}}qe([c(0,"code",String),ze("design:type",String)],nt.prototype,"code",void 0),qe([c(1,"name",String),ze("design:type",String)],nt.prototype,"name",void 0),qe([c(2,"scene",String),ze("design:type",String)],nt.prototype,"scene",void 0),qe([c(3,"mode",String),ze("design:type",String)],nt.prototype,"mode",void 0),qe([c(4,"plan",String),ze("design:type",String)],nt.prototype,"plan",void 0),qe([c(5,"appset",String),ze("design:type",String)],nt.prototype,"appset",void 0),qe([c(6,"memo",String),ze("design:type",String)],nt.prototype,"memo",void 0),qe([c(7,"src_uri",String),ze("design:type",String)],nt.prototype,"srcUri",void 0),qe([c(8,"dst_uri",String),ze("design:type",String)],nt.prototype,"dstUri",void 0),qe([c(9,"raw",String),ze("design:type",String)],nt.prototype,"raw",void 0),qe([c(10,"last",String),ze("design:type",String)],nt.prototype,"last",void 0),qe([c(11,"size",Number),ze("design:type",Number)],nt.prototype,"size",void 0),qe([c(12,"status",Number),ze("design:type",Number)],nt.prototype,"status",void 0),qe([c(13,"create_at",Date),ze("design:type",typeof(oc=typeof Date<"u"&&Date)=="function"?oc:Object)],nt.prototype,"createAt",void 0),qe([c(14,"update_at",Date),ze("design:type",typeof(sc=typeof Date<"u"&&Date)=="function"?sc:Object)],nt.prototype,"updateAt",void 0),qe([c(15,"create_by",String),ze("design:type",String)],nt.prototype,"createBy",void 0),qe([c(16,"update_by",String),ze("design:type",String)],nt.prototype,"updateBy",void 0);var Pn=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i},jn=function(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)},cc,ac;class dr{constructor(){o(this,"metadata",{});o(this,"content","");o(this,"timestamp",0)}}Pn([c(0,"metadata",[Map,String,String]),jn("design:type",typeof(cc=typeof Record<"u"&&Record)=="function"?cc:Object)],dr.prototype,"metadata",void 0),Pn([c(1,"content",String),jn("design:type",String)],dr.prototype,"content",void 0),Pn([c(2,"timestamp",Number),jn("design:type",Number)],dr.prototype,"timestamp",void 0);class ur{constructor(){o(this,"queries",{});o(this,"start",0);o(this,"end",0);o(this,"limit",0);o(this,"step","");o(this,"direction","");o(this,"routeKey","")}}Pn([c(0,"queries",[Map,String,String]),jn("design:type",typeof(ac=typeof Record<"u"&&Record)=="function"?ac:Object)],ur.prototype,"queries",void 0),Pn([c(1,"start",Number),jn("design:type",Number)],ur.prototype,"start",void 0),Pn([c(2,"end",Number),jn("design:type",Number)],ur.prototype,"end",void 0),Pn([c(3,"limit",Number),jn("design:type",Number)],ur.prototype,"limit",void 0),Pn([c(4,"step",String),jn("design:type",String)],ur.prototype,"step",void 0),Pn([c(5,"direction",String),jn("design:type",String)],ur.prototype,"direction",void 0),Pn([c(6,"route_key",String),jn("design:type",String)],ur.prototype,"routeKey",void 0);var Rt=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i},Pt=function(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)},dc,uc,pc;class De{constructor(){o(this,"codec","");o(this,"schema","");o(this,"buffer",new Uint8Array)}}Rt([c(0,"codec",String),Pt("design:type",String)],De.prototype,"codec",void 0),Rt([c(1,"schema",String),Pt("design:type",String)],De.prototype,"schema",void 0),Rt([c(2,"buffer",Uint8Array),Pt("design:type",typeof(dc=typeof Uint8Array<"u"&&Uint8Array)=="function"?dc:Object)],De.prototype,"buffer",void 0);class jt{constructor(){o(this,"version","");o(this,"entity",new De);o(this,"timestamp",0);o(this,"duration",0);o(this,"key","")}}Rt([c(0,"version",String),Pt("design:type",String)],jt.prototype,"version",void 0),Rt([c(1,"entity",De),Pt("design:type",De)],jt.prototype,"entity",void 0),Rt([c(2,"timestamp",Number),Pt("design:type",Number)],jt.prototype,"timestamp",void 0),Rt([c(3,"duration",Number),Pt("design:type",Number)],jt.prototype,"duration",void 0),Rt([c(4,"key",String),Pt("design:type",String)],jt.prototype,"key",void 0);class $i{constructor(){o(this,"key","");o(this,"value",new De);o(this,"updateAt")}}Rt([c(0,"key",String),Pt("design:type",String)],$i.prototype,"key",void 0),Rt([c(1,"value",De),Pt("design:type",De)],$i.prototype,"value",void 0),Rt([c(2,"update_at",Date),Pt("design:type",typeof(uc=typeof Date<"u"&&Date)=="function"?uc:Object)],$i.prototype,"updateAt",void 0);class Jr{constructor(){o(this,"mno","");o(this,"kind","");o(this,"mime",new Uint8Array);o(this,"text","")}}Rt([c(0,"mno",String),Pt("design:type",String)],Jr.prototype,"mno",void 0),Rt([c(1,"kind",String),Pt("design:type",String)],Jr.prototype,"kind",void 0),Rt([c(2,"mime",Uint8Array),Pt("design:type",typeof(pc=typeof Uint8Array<"u"&&Uint8Array)=="function"?pc:Object)],Jr.prototype,"mime",void 0),Rt([c(3,"text",String),Pt("design:type",String)],Jr.prototype,"text",void 0);class kl{}var wt=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i},Et=function(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)};class Ln{constructor(){o(this,"zone","");o(this,"cluster","");o(this,"cell","");o(this,"group","");o(this,"address","")}}wt([c(0,"zone",String),Et("design:type",String)],Ln.prototype,"zone",void 0),wt([c(1,"cluster",String),Et("design:type",String)],Ln.prototype,"cluster",void 0),wt([c(2,"cell",String),Et("design:type",String)],Ln.prototype,"cell",void 0),wt([c(3,"group",String),Et("design:type",String)],Ln.prototype,"group",void 0),wt([c(4,"address",String),Et("design:type",String)],Ln.prototype,"address",void 0);class Ke{constructor(){o(this,"mdc","");o(this,"version","");o(this,"name","");o(this,"crt","");o(this,"key","");o(this,"rootCrt","");o(this,"lattice",new Ln);o(this,"nodeID","");o(this,"instID","");o(this,"instName","")}}wt([c(0,"mdc",String),Et("design:type",String)],Ke.prototype,"mdc",void 0),wt([c(1,"version",String),Et("design:type",String)],Ke.prototype,"version",void 0),wt([c(2,"name",String),Et("design:type",String)],Ke.prototype,"name",void 0),wt([c(3,"crt",String),Et("design:type",String)],Ke.prototype,"crt",void 0),wt([c(4,"key",String),Et("design:type",String)],Ke.prototype,"key",void 0),wt([c(5,"root_crt",String),Et("design:type",String)],Ke.prototype,"rootCrt",void 0),wt([c(6,"lattice",Ln),Et("design:type",Ln)],Ke.prototype,"lattice",void 0),wt([c(7,"node_id",String),Et("design:type",String)],Ke.prototype,"nodeID",void 0),wt([c(8,"inst_id",String),Et("design:type",String)],Ke.prototype,"instID",void 0),wt([c(9,"inst_name",String),Et("design:type",String)],Ke.prototype,"instName",void 0);var pr=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i},fr=function(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)};class Nt{constructor(){o(this,"id","")}}pr([c(0,"idc",String),fr("design:type",String)],Nt.prototype,"id",void 0);class yr extends Nt{constructor(){super(...arguments);o(this,"ip","");o(this,"port","");o(this,"host","");o(this,"name","")}}pr([c(0,"ip",String),fr("design:type",String)],yr.prototype,"ip",void 0),pr([c(1,"port",String),fr("design:type",String)],yr.prototype,"port",void 0),pr([c(2,"host",String),fr("design:type",String)],yr.prototype,"host",void 0),pr([c(3,"name",String),fr("design:type",String)],yr.prototype,"name",void 0);class mo{constructor(){o(this,"nodeId","");o(this,"instId","");o(this,"instName","")}}pr([c(0,"node_id",String),fr("design:type",String)],mo.prototype,"nodeId",void 0),pr([c(1,"inst_id",String),fr("design:type",String)],mo.prototype,"instId",void 0),pr([c(2,"inst_name",String),fr("design:type",String)],mo.prototype,"instName",void 0);var lt=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i},mt=function(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)},fc,yc,lc,mc,gc,hc;class gt{constructor(){o(this,"version","");o(this,"tid","");o(this,"sid","");o(this,"eid","");o(this,"mid","");o(this,"timestamp","");o(this,"source",new Nt);o(this,"target",new Nt);o(this,"binding",new He);o(this,"entity",new De)}}lt([c(0,"version",String),mt("design:type",String)],gt.prototype,"version",void 0),lt([c(1,"tid",String),mt("design:type",String)],gt.prototype,"tid",void 0),lt([c(2,"sid",String),mt("design:type",String)],gt.prototype,"sid",void 0),lt([c(3,"eid",String),mt("design:type",String)],gt.prototype,"eid",void 0),lt([c(4,"mid",String),mt("design:type",String)],gt.prototype,"mid",void 0),lt([c(5,"timestamp",String),mt("design:type",String)],gt.prototype,"timestamp",void 0),lt([c(6,"source",Nt),mt("design:type",typeof(fc=typeof Nt<"u"&&Nt)=="function"?fc:Object)],gt.prototype,"source",void 0),lt([c(7,"target",Nt),mt("design:type",typeof(yc=typeof Nt<"u"&&Nt)=="function"?yc:Object)],gt.prototype,"target",void 0),lt([c(8,"binding",He),mt("design:type",typeof(lc=typeof He<"u"&&He)=="function"?lc:Object)],gt.prototype,"binding",void 0),lt([c(9,"entity",De),mt("design:type",typeof(mc=typeof De<"u"&&De)=="function"?mc:Object)],gt.prototype,"entity",void 0);class wn{constructor(){o(this,"taskId","");o(this,"binding",new He);o(this,"status",0);o(this,"createAt",0);o(this,"invokeAt",0);o(this,"entity",new De)}}lt([c(0,"task_id",String),mt("design:type",String)],wn.prototype,"taskId",void 0),lt([c(1,"binding",He),mt("design:type",typeof(gc=typeof He<"u"&&He)=="function"?gc:Object)],wn.prototype,"binding",void 0),lt([c(2,"status",Number),mt("design:type",Number)],wn.prototype,"status",void 0),lt([c(3,"create_at",Number),mt("design:type",Number)],wn.prototype,"createAt",void 0),lt([c(4,"invoke_at",Number),mt("design:type",Number)],wn.prototype,"invokeAt",void 0),lt([c(5,"entity",De),mt("design:type",typeof(hc=typeof De<"u"&&De)=="function"?hc:Object)],wn.prototype,"entity",void 0);var Ue=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i},Ce=function(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)},bc,_c;class Se{constructor(){o(this,"code","");o(this,"name","");o(this,"listen","");o(this,"priority",0);o(this,"kind","");o(this,"mode","");o(this,"proto","");o(this,"filter","");o(this,"matcher","");o(this,"flags","");o(this,"src","");o(this,"dst","");o(this,"host","");o(this,"path","");o(this,"method","");o(this,"query","");o(this,"header","");o(this,"cookie","");o(this,"memo","");o(this,"raw","");o(this,"status",0);o(this,"createAt");o(this,"updateAt");o(this,"createBy","");o(this,"updateBy","")}}Ue([c(0,"code",String),Ce("design:type",String)],Se.prototype,"code",void 0),Ue([c(1,"name",String),Ce("design:type",String)],Se.prototype,"name",void 0),Ue([c(2,"listen",String),Ce("design:type",String)],Se.prototype,"listen",void 0),Ue([c(3,"priority",Number),Ce("design:type",Number)],Se.prototype,"priority",void 0),Ue([c(4,"kind",String),Ce("design:type",String)],Se.prototype,"kind",void 0),Ue([c(5,"mode",String),Ce("design:type",String)],Se.prototype,"mode",void 0),Ue([c(6,"proto",String),Ce("design:type",String)],Se.prototype,"proto",void 0),Ue([c(7,"filter",String),Ce("design:type",String)],Se.prototype,"filter",void 0),Ue([c(8,"matcher",String),Ce("design:type",String)],Se.prototype,"matcher",void 0),Ue([c(9,"flags",String),Ce("design:type",String)],Se.prototype,"flags",void 0),Ue([c(10,"src",String),Ce("design:type",String)],Se.prototype,"src",void 0),Ue([c(11,"dst",String),Ce("design:type",String)],Se.prototype,"dst",void 0),Ue([c(12,"host",String),Ce("design:type",String)],Se.prototype,"host",void 0),Ue([c(13,"path",String),Ce("design:type",String)],Se.prototype,"path",void 0),Ue([c(14,"method",String),Ce("design:type",String)],Se.prototype,"method",void 0),Ue([c(15,"query",String),Ce("design:type",String)],Se.prototype,"query",void 0),Ue([c(16,"header",String),Ce("design:type",String)],Se.prototype,"header",void 0),Ue([c(17,"cookie",String),Ce("design:type",String)],Se.prototype,"cookie",void 0),Ue([c(18,"memo",String),Ce("design:type",String)],Se.prototype,"memo",void 0),Ue([c(19,"raw",String),Ce("design:type",String)],Se.prototype,"raw",void 0),Ue([c(20,"status",Number),Ce("design:type",Number)],Se.prototype,"status",void 0),Ue([c(21,"create_at",Date),Ce("design:type",typeof(bc=typeof Date<"u"&&Date)=="function"?bc:Object)],Se.prototype,"createAt",void 0),Ue([c(22,"update_at",Date),Ce("design:type",typeof(_c=typeof Date<"u"&&Date)=="function"?_c:Object)],Se.prototype,"updateAt",void 0),Ue([c(23,"create_by",String),Ce("design:type",String)],Se.prototype,"createBy",void 0),Ue([c(24,"update_by",String),Ce("design:type",String)],Se.prototype,"updateBy",void 0);var ge=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i},he=function(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)},Sc,vc,Oc,Rc,Pc,jc,wc;class rt{constructor(){o(this,"algo","");o(this,"domain","");o(this,"subject","");o(this,"length",0);o(this,"activeAt");o(this,"expireAt");o(this,"mail","");o(this,"isCA",!1);o(this,"caAlgo","");o(this,"caCert","");o(this,"caKey","");o(this,"ips",[]);o(this,"name","");o(this,"usage",0)}}ge([c(0,"algo",String),he("design:type",String)],rt.prototype,"algo",void 0),ge([c(1,"domain",String),he("design:type",String)],rt.prototype,"domain",void 0),ge([c(2,"subject",String),he("design:type",String)],rt.prototype,"subject",void 0),ge([c(3,"length",Number),he("design:type",Number)],rt.prototype,"length",void 0),ge([c(4,"active_at",Date),he("design:type",typeof(Sc=typeof Date<"u"&&Date)=="function"?Sc:Object)],rt.prototype,"activeAt",void 0),ge([c(5,"expire_at",Date),he("design:type",typeof(vc=typeof Date<"u"&&Date)=="function"?vc:Object)],rt.prototype,"expireAt",void 0),ge([c(6,"mail",String),he("design:type",String)],rt.prototype,"mail",void 0),ge([c(7,"is_ca",Boolean),he("design:type",Boolean)],rt.prototype,"isCA",void 0),ge([c(8,"ca_algo",String),he("design:type",String)],rt.prototype,"caAlgo",void 0),ge([c(9,"ca_cert",String),he("design:type",String)],rt.prototype,"caCert",void 0),ge([c(10,"ca_key",String),he("design:type",String)],rt.prototype,"caKey",void 0),ge([c(11,"ips",[Array,String]),he("design:type",Array)],rt.prototype,"ips",void 0),ge([c(12,"name",String),he("design:type",String)],rt.prototype,"name",void 0),ge([c(13,"usage",Number),he("design:type",Number)],rt.prototype,"usage",void 0);class Lt extends rt{constructor(){super(...arguments);o(this,"crt","");o(this,"key","");o(this,"crl","");o(this,"id","")}}ge([c(0,"crt",String),he("design:type",String)],Lt.prototype,"crt",void 0),ge([c(1,"key",String),he("design:type",String)],Lt.prototype,"key",void 0),ge([c(2,"crl",String),he("design:type",String)],Lt.prototype,"crl",void 0),ge([c(3,"id",String),he("design:type",String)],Lt.prototype,"id",void 0);class Xr{constructor(){o(this,"id","");o(this,"reason",0)}}ge([c(0,"id",String),he("design:type",String)],Xr.prototype,"id",void 0),ge([c(1,"reason",Number),he("design:type",Number)],Xr.prototype,"reason",void 0);class Cr{constructor(){o(this,"id","");o(this,"algo","");o(this,"expireAt")}}ge([c(0,"id",String),he("design:type",String)],Cr.prototype,"id",void 0),ge([c(1,"algo",String),he("design:type",String)],Cr.prototype,"algo",void 0),ge([c(2,"expire_at",Date),he("design:type",typeof(Oc=typeof Date<"u"&&Date)=="function"?Oc:Object)],Cr.prototype,"expireAt",void 0);class Zo{constructor(){o(this,"crts",{});o(this,"roots",{})}}ge([c(0,"crts",[Map,String,Lt]),he("design:type",typeof(Rc=typeof Record<"u"&&Record)=="function"?Rc:Object)],Zo.prototype,"crts",void 0),ge([c(1,"roots",[Map,String,Lt]),he("design:type",typeof(Pc=typeof Record<"u"&&Record)=="function"?Pc:Object)],Zo.prototype,"roots",void 0);class En{constructor(){o(this,"id","");o(this,"algo","");o(this,"length",0);o(this,"name","");o(this,"memo","")}}ge([c(0,"id",String),he("design:type",String)],En.prototype,"id",void 0),ge([c(1,"algo",String),he("design:type",String)],En.prototype,"algo",void 0),ge([c(2,"length",Number),he("design:type",Number)],En.prototype,"length",void 0),ge([c(3,"name",String),he("design:type",String)],En.prototype,"name",void 0),ge([c(4,"memo",String),he("design:type",String)],En.prototype,"memo",void 0);class lr extends En{constructor(){super(...arguments);o(this,"status",0);o(this,"createAt");o(this,"updateAt");o(this,"createBy","");o(this,"updateBy","")}}ge([c(0,"status",Number),he("design:type",Number)],lr.prototype,"status",void 0),ge([c(1,"create_at",Date),he("design:type",typeof(jc=typeof Date<"u"&&Date)=="function"?jc:Object)],lr.prototype,"createAt",void 0),ge([c(2,"update_at",Date),he("design:type",typeof(wc=typeof Date<"u"&&Date)=="function"?wc:Object)],lr.prototype,"updateAt",void 0),ge([c(3,"create_by",String),he("design:type",String)],lr.prototype,"createBy",void 0),ge([c(4,"update_by",String),he("design:type",String)],lr.prototype,"updateBy",void 0);var Ae=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i},Me=function(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)},Ec,Nc;class we{constructor(){o(this,"version","");o(this,"level",0);o(this,"name","");o(this,"createBy","");o(this,"createAt",0);o(this,"activeAt",0);o(this,"factor","");o(this,"signature","");o(this,"muid","");o(this,"server","");o(this,"crt","");o(this,"group",[]);o(this,"replicas",0);o(this,"maxCooperators",0);o(this,"maxTenants",0);o(this,"maxUsers",0);o(this,"maxMills",0);o(this,"whiteURN",[]);o(this,"blackURN",[]);o(this,"superURN",[])}}Ae([c(0,"version",String),Me("design:type",String)],we.prototype,"version",void 0),Ae([c(1,"level",Number),Me("design:type",Number)],we.prototype,"level",void 0),Ae([c(2,"name",String),Me("design:type",String)],we.prototype,"name",void 0),Ae([c(3,"create_by",String),Me("design:type",String)],we.prototype,"createBy",void 0),Ae([c(4,"create_at",Number),Me("design:type",Number)],we.prototype,"createAt",void 0),Ae([c(5,"active_at",Number),Me("design:type",Number)],we.prototype,"activeAt",void 0),Ae([c(6,"factor",String),Me("design:type",String)],we.prototype,"factor",void 0),Ae([c(7,"signature",String),Me("design:type",String)],we.prototype,"signature",void 0),Ae([c(8,"muid",String),Me("design:type",String)],we.prototype,"muid",void 0),Ae([c(9,"server",String),Me("design:type",String)],we.prototype,"server",void 0),Ae([c(10,"crt",String),Me("design:type",String)],we.prototype,"crt",void 0),Ae([c(11,"group",[Array,String]),Me("design:type",Array)],we.prototype,"group",void 0),Ae([c(12,"replicas",Number),Me("design:type",Number)],we.prototype,"replicas",void 0),Ae([c(13,"max_cooperators",Number),Me("design:type",Number)],we.prototype,"maxCooperators",void 0),Ae([c(14,"max_tenants",Number),Me("design:type",Number)],we.prototype,"maxTenants",void 0),Ae([c(15,"max_users",Number),Me("design:type",Number)],we.prototype,"maxUsers",void 0),Ae([c(16,"max_mills",Number),Me("design:type",Number)],we.prototype,"maxMills",void 0),Ae([c(17,"white_urns",[Array,String]),Me("design:type",Array)],we.prototype,"whiteURN",void 0),Ae([c(18,"black_urns",[Array,String]),Me("design:type",Array)],we.prototype,"blackURN",void 0),Ae([c(19,"super_urns",[Array,String]),Me("design:type",Array)],we.prototype,"superURN",void 0);class Yr{constructor(){o(this,"cipher","");o(this,"explain",new we);o(this,"createAt")}}Ae([c(0,"cipher",String),Me("design:type",String)],Yr.prototype,"cipher",void 0),Ae([c(1,"explain",we),Me("design:type",we)],Yr.prototype,"explain",void 0),Ae([c(2,"create_at",Date),Me("design:type",typeof(Ec=typeof Date<"u"&&Date)=="function"?Ec:Object)],Yr.prototype,"createAt",void 0);class Qr{constructor(){o(this,"cipher","");o(this,"explain",new Ke);o(this,"nodeKey","")}}Ae([c(0,"cipher",String),Me("design:type",String)],Qr.prototype,"cipher",void 0),Ae([c(1,"explain",Ke),Me("design:type",typeof(Nc=typeof Ke<"u"&&Ke)=="function"?Nc:Object)],Qr.prototype,"explain",void 0),Ae([c(2,"node_key",String),Me("design:type",String)],Qr.prototype,"nodeKey",void 0);var pe=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i},fe=function(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)},Tc,Ac,Mc;class Zr{constructor(){o(this,"mno","");o(this,"kind","");o(this,"mime",new Uint8Array);o(this,"text","")}}pe([c(0,"mno",String),fe("design:type",String)],Zr.prototype,"mno",void 0),pe([c(1,"kind",String),fe("design:type",String)],Zr.prototype,"kind",void 0),pe([c(2,"mime",Uint8Array),fe("design:type",typeof(Tc=typeof Uint8Array<"u"&&Uint8Array)=="function"?Tc:Object)],Zr.prototype,"mime",void 0),pe([c(3,"text",String),fe("design:type",String)],Zr.prototype,"text",void 0);class mr{constructor(){o(this,"clientId","");o(this,"scope","");o(this,"state","");o(this,"flags",0)}}pe([c(0,"client_id",String),fe("design:type",String)],mr.prototype,"clientId",void 0),pe([c(1,"scope",String),fe("design:type",String)],mr.prototype,"scope",void 0),pe([c(2,"state",String),fe("design:type",String)],mr.prototype,"state",void 0),pe([c(3,"flags",Number),fe("design:type",Number)],mr.prototype,"flags",void 0);class nn{constructor(){o(this,"clientId","");o(this,"authType","");o(this,"accessKey","");o(this,"secretKey","");o(this,"captcha","")}}pe([c(0,"client_id",String),fe("design:type",String)],nn.prototype,"clientId",void 0),pe([c(1,"auth_type",String),fe("design:type",String)],nn.prototype,"authType",void 0),pe([c(2,"access_key",String),fe("design:type",String)],nn.prototype,"accessKey",void 0),pe([c(3,"secret_key",String),fe("design:type",String)],nn.prototype,"secretKey",void 0),pe([c(4,"captcha",String),fe("design:type",String)],nn.prototype,"captcha",void 0);class Hn{constructor(){o(this,"token","");o(this,"kind","");o(this,"expiresAt");o(this,"scope","");o(this,"refreshToken","")}}pe([c(0,"token",String),fe("design:type",String)],Hn.prototype,"token",void 0),pe([c(1,"type",String),fe("design:type",String)],Hn.prototype,"kind",void 0),pe([c(2,"expires_at",Date),fe("design:type",typeof(Ac=typeof Date<"u"&&Date)=="function"?Ac:Object)],Hn.prototype,"expiresAt",void 0),pe([c(3,"scope",String),fe("design:type",String)],Hn.prototype,"scope",void 0),pe([c(4,"refresh_token",String),fe("design:type",String)],Hn.prototype,"refreshToken",void 0);class es{constructor(){o(this,"code","")}}pe([c(0,"code",String),fe("design:type",String)],es.prototype,"code",void 0);class go{constructor(){o(this,"code","");o(this,"redirectURI","")}}pe([c(0,"code",String),fe("design:type",String)],go.prototype,"code",void 0),pe([c(1,"redirect_uri",String),fe("design:type",String)],go.prototype,"redirectURI",void 0);class ho{constructor(){o(this,"clientId","");o(this,"userId","");o(this,"expiresAt",0)}}pe([c(0,"client_id",String),fe("design:type",String)],ho.prototype,"clientId",void 0),pe([c(1,"user_id",String),fe("design:type",String)],ho.prototype,"userId",void 0),pe([c(2,"expires_at",Number),fe("design:type",Number)],ho.prototype,"expiresAt",void 0);class Tt{constructor(){o(this,"token","");o(this,"userid","");o(this,"username","");o(this,"nickname","");o(this,"avatar","");o(this,"mobile","");o(this,"mail","");o(this,"deptId","");o(this,"mdc","");o(this,"instIds",[]);o(this,"attrs",[]);o(this,"raw",{})}}pe([c(0,"token",String),fe("design:type",String)],Tt.prototype,"token",void 0),pe([c(1,"userid",String),fe("design:type",String)],Tt.prototype,"userid",void 0),pe([c(2,"username",String),fe("design:type",String)],Tt.prototype,"username",void 0),pe([c(3,"nickname",String),fe("design:type",String)],Tt.prototype,"nickname",void 0),pe([c(4,"avatar",String),fe("design:type",String)],Tt.prototype,"avatar",void 0),pe([c(5,"mobile",String),fe("design:type",String)],Tt.prototype,"mobile",void 0),pe([c(6,"mail",String),fe("design:type",String)],Tt.prototype,"mail",void 0),pe([c(7,"dept_id",String),fe("design:type",String)],Tt.prototype,"deptId",void 0),pe([c(8,"mdc",String),fe("design:type",String)],Tt.prototype,"mdc",void 0),pe([c(9,"inst_ids",[Array,String]),fe("design:type",Array)],Tt.prototype,"instIds",void 0),pe([c(10,"attrs",[Array,String]),fe("design:type",Array)],Tt.prototype,"attrs",void 0),pe([c(11,"raw",[Map,String,String]),fe("design:type",typeof(Mc=typeof Record<"u"&&Record)=="function"?Mc:Object)],Tt.prototype,"raw",void 0);var ei=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i},ti=function(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)},Ic,$c;class ts{constructor(){o(this,"arguments",[]);o(this,"attachments",{})}}ei([c(0,"arguments",[Array,Object]),ti("design:type",Array)],ts.prototype,"arguments",void 0),ei([c(1,"attachments",[Map,String,String]),ti("design:type",typeof(Ic=typeof Record<"u"&&Record)=="function"?Ic:Object)],ts.prototype,"attachments",void 0);class Ui{constructor(){o(this,"code","");o(this,"message","");o(this,"cause",new xt);o(this,"content")}}ei([c(0,"code",String),ti("design:type",String)],Ui.prototype,"code",void 0),ei([c(1,"message",String),ti("design:type",String)],Ui.prototype,"message",void 0),ei([c(2,"cause",xt),ti("design:type",typeof($c=typeof xt<"u"&&xt)=="function"?$c:Object)],Ui.prototype,"cause",void 0),ei([c(3,"content",Object),ti("design:type",Object)],Ui.prototype,"content",void 0);var Q=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i},Z=function(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)},Uc,Cc,Fc;class rn{constructor(){o(this,"version","");o(this,"proto","");o(this,"codec","");o(this,"mdc","");o(this,"zone","");o(this,"cluster","");o(this,"cell","");o(this,"group","");o(this,"address","")}}Q([c(0,"version",String),Z("design:type",String)],rn.prototype,"version",void 0),Q([c(1,"proto",String),Z("design:type",String)],rn.prototype,"proto",void 0),Q([c(2,"codec",String),Z("design:type",String)],rn.prototype,"codec",void 0),Q([c(3,"mdc",String),Z("design:type",String)],rn.prototype,"mdc",void 0),Q([c(4,"zone",String),Z("design:type",String)],rn.prototype,"zone",void 0),Q([c(5,"cluster",String),Z("design:type",String)],rn.prototype,"cluster",void 0),Q([c(6,"cell",String),Z("design:type",String)],rn.prototype,"cell",void 0),Q([c(7,"group",String),Z("design:type",String)],rn.prototype,"group",void 0),Q([c(8,"address",String),Z("design:type",String)],rn.prototype,"address",void 0);class Nn extends rn{constructor(){super(...arguments);o(this,"urn","");o(this,"namespace","");o(this,"name","");o(this,"flags",0);o(this,"timeout",0);o(this,"retries",0)}}Q([c(0,"urn",String),Z("design:type",String)],Nn.prototype,"urn",void 0),Q([c(1,"namespace",String),Z("design:type",String)],Nn.prototype,"namespace",void 0),Q([c(2,"name",String),Z("design:type",String)],Nn.prototype,"name",void 0),Q([c(3,"flags",Number),Z("design:type",Number)],Nn.prototype,"flags",void 0),Q([c(4,"timeout",Number),Z("design:type",Number)],Nn.prototype,"timeout",void 0),Q([c(5,"retries",Number),Z("design:type",Number)],Nn.prototype,"retries",void 0);class Ht extends rn{constructor(){super(...arguments);o(this,"urn","");o(this,"namespace","");o(this,"name","");o(this,"flags",0);o(this,"timeout",0);o(this,"retries",0);o(this,"sets","");o(this,"kind","");o(this,"lang","");o(this,"attrs",{})}}Q([c(0,"urn",String),Z("design:type",String)],Ht.prototype,"urn",void 0),Q([c(1,"namespace",String),Z("design:type",String)],Ht.prototype,"namespace",void 0),Q([c(2,"name",String),Z("design:type",String)],Ht.prototype,"name",void 0),Q([c(3,"flags",Number),Z("design:type",Number)],Ht.prototype,"flags",void 0),Q([c(4,"timeout",Number),Z("design:type",Number)],Ht.prototype,"timeout",void 0),Q([c(5,"retries",Number),Z("design:type",Number)],Ht.prototype,"retries",void 0),Q([c(6,"sets",String),Z("design:type",String)],Ht.prototype,"sets",void 0),Q([c(7,"kind",String),Z("design:type",String)],Ht.prototype,"kind",void 0),Q([c(8,"lang",String),Z("design:type",String)],Ht.prototype,"lang",void 0),Q([c(9,"attrs",[Map,String,String]),Z("design:type",typeof(Uc=typeof Record<"u"&&Record)=="function"?Uc:Object)],Ht.prototype,"attrs",void 0);class ns{constructor(){o(this,"references",[]);o(this,"services",[])}}Q([c(0,"references",[Array,Nn]),Z("design:type",Array)],ns.prototype,"references",void 0),Q([c(1,"services",[Array,Ht]),Z("design:type",Array)],ns.prototype,"services",void 0);class ht{constructor(){o(this,"instanceId","");o(this,"name","");o(this,"kind","");o(this,"address","");o(this,"content");o(this,"timestamp",0);o(this,"attachments",{})}}Q([c(0,"instance_id",String),Z("design:type",String)],ht.prototype,"instanceId",void 0),Q([c(1,"name",String),Z("design:type",String)],ht.prototype,"name",void 0),Q([c(2,"kind",String),Z("design:type",String)],ht.prototype,"kind",void 0),Q([c(3,"address",String),Z("design:type",String)],ht.prototype,"address",void 0),Q([c(4,"content",Object),Z("design:type",Object)],ht.prototype,"content",void 0),Q([c(5,"timestamp",Number),Z("design:type",Number)],ht.prototype,"timestamp",void 0),Q([c(6,"attachments",[Map,String,String]),Z("design:type",typeof(Cc=typeof Record<"u"&&Record)=="function"?Cc:Object)],ht.prototype,"attachments",void 0);class on{constructor(){o(this,"name","");o(this,"icon","");o(this,"memo","");o(this,"author","");o(this,"flags",0);o(this,"lang","");o(this,"instanceIds",[]);o(this,"kinds",[]);o(this,"addrs",[]);o(this,"attachments",{})}}Q([c(0,"name",String),Z("design:type",String)],on.prototype,"name",void 0),Q([c(1,"icon",String),Z("design:type",String)],on.prototype,"icon",void 0),Q([c(2,"memo",String),Z("design:type",String)],on.prototype,"memo",void 0),Q([c(3,"author",String),Z("design:type",String)],on.prototype,"author",void 0),Q([c(4,"flags",Number),Z("design:type",Number)],on.prototype,"flags",void 0),Q([c(5,"lang",String),Z("design:type",String)],on.prototype,"lang",void 0),Q([c(6,"instance_ids",[Array,String]),Z("design:type",Array)],on.prototype,"instanceIds",void 0),Q([c(7,"kinds",[Array,String]),Z("design:type",Array)],on.prototype,"kinds",void 0),Q([c(8,"addrs",[Array,String]),Z("design:type",Array)],on.prototype,"addrs",void 0),Q([c(9,"attachments",[Map,String,String]),Z("design:type",typeof(Fc=typeof Record<"u"&&Record)=="function"?Fc:Object)],on.prototype,"attachments",void 0);var L=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i},H=function(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)},Dc,kc,xc;class be{constructor(){o(this,"sid","");o(this,"did","");o(this,"name","");o(this,"kind","");o(this,"pattern","");o(this,"address","");o(this,"memo","");o(this,"rank",0);o(this,"tags","");o(this,"expireAt");o(this,"upstream",0);o(this,"downstream",0);o(this,"requests",0);o(this,"hostRoot","");o(this,"hostCrt","");o(this,"hostKey","");o(this,"guestRoot","");o(this,"sap","");o(this,"skip",!1);o(this,"raw","");o(this,"status",0);o(this,"createAt");o(this,"updateAt");o(this,"createBy","");o(this,"updateBy","")}}L([c(0,"sid",String),H("design:type",String)],be.prototype,"sid",void 0),L([c(1,"did",String),H("design:type",String)],be.prototype,"did",void 0),L([c(2,"name",String),H("design:type",String)],be.prototype,"name",void 0),L([c(3,"kind",String),H("design:type",String)],be.prototype,"kind",void 0),L([c(4,"pattern",String),H("design:type",String)],be.prototype,"pattern",void 0),L([c(5,"address",String),H("design:type",String)],be.prototype,"address",void 0),L([c(6,"memo",String),H("design:type",String)],be.prototype,"memo",void 0),L([c(7,"rank",Number),H("design:type",Number)],be.prototype,"rank",void 0),L([c(8,"tags",String),H("design:type",String)],be.prototype,"tags",void 0),L([c(9,"expire_at",Date),H("design:type",typeof(Dc=typeof Date<"u"&&Date)=="function"?Dc:Object)],be.prototype,"expireAt",void 0),L([c(10,"upstream",Number),H("design:type",Number)],be.prototype,"upstream",void 0),L([c(11,"downstream",Number),H("design:type",Number)],be.prototype,"downstream",void 0),L([c(12,"requests",Number),H("design:type",Number)],be.prototype,"requests",void 0),L([c(13,"host_root",String),H("design:type",String)],be.prototype,"hostRoot",void 0),L([c(14,"host_crt",String),H("design:type",String)],be.prototype,"hostCrt",void 0),L([c(15,"host_key",String),H("design:type",String)],be.prototype,"hostKey",void 0),L([c(16,"guest_root",String),H("design:type",String)],be.prototype,"guestRoot",void 0),L([c(17,"sap",String),H("design:type",String)],be.prototype,"sap",void 0),L([c(18,"skip",Boolean),H("design:type",Boolean)],be.prototype,"skip",void 0),L([c(19,"raw",String),H("design:type",String)],be.prototype,"raw",void 0),L([c(20,"status",Number),H("design:type",Number)],be.prototype,"status",void 0),L([c(21,"create_at",Date),H("design:type",typeof(kc=typeof Date<"u"&&Date)=="function"?kc:Object)],be.prototype,"createAt",void 0),L([c(22,"update_at",Date),H("design:type",typeof(xc=typeof Date<"u"&&Date)=="function"?xc:Object)],be.prototype,"updateAt",void 0),L([c(23,"create_by",String),H("design:type",String)],be.prototype,"createBy",void 0),L([c(24,"update_by",String),H("design:type",String)],be.prototype,"updateBy",void 0);class Qt{constructor(){o(this,"sap","");o(this,"crt","");o(this,"key","");o(this,"cas",[]);o(this,"sni","");o(this,"skip",!1)}}L([c(0,"sap",String),H("design:type",String)],Qt.prototype,"sap",void 0),L([c(1,"crt",String),H("design:type",String)],Qt.prototype,"crt",void 0),L([c(2,"key",String),H("design:type",String)],Qt.prototype,"key",void 0),L([c(3,"cas",[Array,String]),H("design:type",Array)],Qt.prototype,"cas",void 0),L([c(4,"sni",String),H("design:type",String)],Qt.prototype,"sni",void 0),L([c(5,"skip",Boolean),H("design:type",Boolean)],Qt.prototype,"skip",void 0);class qn{constructor(){o(this,"name","");o(this,"matcher","");o(this,"priority",0);o(this,"services",[]);o(this,"filters",[]);o(this,"proxy","");o(this,"option",new Qt)}}L([c(0,"name",String),H("design:type",String)],qn.prototype,"name",void 0),L([c(1,"matcher",String),H("design:type",String)],qn.prototype,"matcher",void 0),L([c(2,"priority",Number),H("design:type",Number)],qn.prototype,"priority",void 0),L([c(3,"services",[Array,String]),H("design:type",Array)],qn.prototype,"services",void 0),L([c(4,"filters",[Array,String]),H("design:type",Array)],qn.prototype,"filters",void 0),L([c(5,"proxy",String),H("design:type",String)],qn.prototype,"proxy",void 0),L([c(6,"option",Qt),H("design:type",Qt)],qn.prototype,"option",void 0);class ni{constructor(){o(this,"name","");o(this,"kind","");o(this,"listen","");o(this,"routes",[]);o(this,"option",new Qt)}}L([c(0,"name",String),H("design:type",String)],ni.prototype,"name",void 0),L([c(1,"kind",String),H("design:type",String)],ni.prototype,"kind",void 0),L([c(2,"listen",String),H("design:type",String)],ni.prototype,"listen",void 0),L([c(3,"routes",[Array,qn]),H("design:type",Array)],ni.prototype,"routes",void 0),L([c(4,"option",Qt),H("design:type",Qt)],ni.prototype,"option",void 0);class bo{constructor(){o(this,"expr","");o(this,"value","")}}L([c(0,"expr",String),H("design:type",String)],bo.prototype,"expr",void 0),L([c(1,"value",String),H("design:type",String)],bo.prototype,"value",void 0);class gr{constructor(){o(this,"name","");o(this,"kind","");o(this,"layer","");o(this,"priority",0);o(this,"status",0);o(this,"memo","");o(this,"matchers",[])}}L([c(0,"name",String),H("design:type",String)],gr.prototype,"name",void 0),L([c(1,"kind",String),H("design:type",String)],gr.prototype,"kind",void 0),L([c(2,"layer",String),H("design:type",String)],gr.prototype,"layer",void 0),L([c(3,"priority",Number),H("design:type",Number)],gr.prototype,"priority",void 0),L([c(4,"status",Number),H("design:type",Number)],gr.prototype,"status",void 0),L([c(5,"memo",String),H("design:type",String)],gr.prototype,"memo",void 0),L([c(6,"matchers",[Array,bo]),H("design:type",Array)],gr.prototype,"matchers",void 0);var Tn=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i},An=function(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)},Bc;class hr{constructor(){o(this,"xid","");o(this,"timeout",0);o(this,"schema","");o(this,"flags",0)}}Tn([c(0,"xid",String),An("design:type",String)],hr.prototype,"xid",void 0),Tn([c(1,"timeout",Number),An("design:type",Number)],hr.prototype,"timeout",void 0),Tn([c(2,"schema",String),An("design:type",String)],hr.prototype,"schema",void 0),Tn([c(3,"flags",Number),An("design:type",Number)],hr.prototype,"flags",void 0);class Mn{constructor(){o(this,"xid","");o(this,"schema","");o(this,"grammar","");o(this,"expr","");o(this,"args",{});o(this,"flags",0)}}Tn([c(0,"xid",String),An("design:type",String)],Mn.prototype,"xid",void 0),Tn([c(1,"schema",String),An("design:type",String)],Mn.prototype,"schema",void 0),Tn([c(2,"grammar",String),An("design:type",String)],Mn.prototype,"grammar",void 0),Tn([c(3,"expr",String),An("design:type",String)],Mn.prototype,"expr",void 0),Tn([c(4,"args",[Map,String,Object]),An("design:type",typeof(Bc=typeof Record<"u"&&Record)=="function"?Bc:Object)],Mn.prototype,"args",void 0),Tn([c(5,"flags",Number),An("design:type",Number)],Mn.prototype,"flags",void 0);var W=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i},K=function(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)},Lc,Hc,qc,zc,Vc,Gc;class zn{constructor(){o(this,"name","");o(this,"macros",{});o(this,"comments",[]);o(this,"kind","");o(this,"value","");o(this,"flags",0);o(this,"usage","")}}W([c(0,"0",String),K("design:type",String)],zn.prototype,"name",void 0),W([c(1,"1",[Map,String,[Map,String,String]]),K("design:type",typeof(Lc=typeof Record<"u"&&Record)=="function"?Lc:Object)],zn.prototype,"macros",void 0),W([c(2,"2",[Array,String]),K("design:type",Array)],zn.prototype,"comments",void 0),W([c(3,"3",String),K("design:type",String)],zn.prototype,"kind",void 0),W([c(4,"4",String),K("design:type",String)],zn.prototype,"value",void 0),W([c(5,"5",Number),K("design:type",Number)],zn.prototype,"flags",void 0),W([c(6,"6",String),K("design:type",String)],zn.prototype,"usage",void 0);class br{constructor(){o(this,"name","");o(this,"comments",[]);o(this,"kind","");o(this,"value","");o(this,"flags",0);o(this,"usage","")}}W([c(0,"0",String),K("design:type",String)],br.prototype,"name",void 0),W([c(1,"1",[Array,String]),K("design:type",Array)],br.prototype,"comments",void 0),W([c(2,"2",String),K("design:type",String)],br.prototype,"kind",void 0),W([c(3,"3",String),K("design:type",String)],br.prototype,"value",void 0),W([c(4,"4",Number),K("design:type",Number)],br.prototype,"flags",void 0),W([c(5,"5",String),K("design:type",String)],br.prototype,"usage",void 0);class Ci{constructor(){o(this,"name","");o(this,"comments",[]);o(this,"kind","")}}W([c(0,"0",String),K("design:type",String)],Ci.prototype,"name",void 0),W([c(1,"1",[Array,String]),K("design:type",Array)],Ci.prototype,"comments",void 0),W([c(2,"2",String),K("design:type",String)],Ci.prototype,"kind",void 0);class gn{constructor(){o(this,"name","");o(this,"macros",{});o(this,"comments",[]);o(this,"modifier",0);o(this,"kind","");o(this,"value","");o(this,"flags",0);o(this,"usage","")}}W([c(0,"0",String),K("design:type",String)],gn.prototype,"name",void 0),W([c(1,"1",[Map,String,[Map,String,String]]),K("design:type",typeof(Hc=typeof Record<"u"&&Record)=="function"?Hc:Object)],gn.prototype,"macros",void 0),W([c(2,"2",[Array,String]),K("design:type",Array)],gn.prototype,"comments",void 0),W([c(3,"3",Number),K("design:type",Number)],gn.prototype,"modifier",void 0),W([c(4,"4",String),K("design:type",String)],gn.prototype,"kind",void 0),W([c(5,"5",String),K("design:type",String)],gn.prototype,"value",void 0),W([c(6,"7",Number),K("design:type",Number)],gn.prototype,"flags",void 0),W([c(7,"8",String),K("design:type",String)],gn.prototype,"usage",void 0);class In{constructor(){o(this,"name","");o(this,"macros",{});o(this,"comments",[]);o(this,"modifier",0);o(this,"parameters",[]);o(this,"returns",[]);o(this,"causes",[])}}W([c(0,"0",String),K("design:type",String)],In.prototype,"name",void 0),W([c(1,"1",[Map,String,[Map,String,String]]),K("design:type",typeof(qc=typeof Record<"u"&&Record)=="function"?qc:Object)],In.prototype,"macros",void 0),W([c(2,"2",[Array,String]),K("design:type",Array)],In.prototype,"comments",void 0),W([c(3,"3",Number),K("design:type",Number)],In.prototype,"modifier",void 0),W([c(4,"4",[Array,zn]),K("design:type",Array)],In.prototype,"parameters",void 0),W([c(5,"5",[Array,br]),K("design:type",Array)],In.prototype,"returns",void 0),W([c(6,"6",[Array,Ci]),K("design:type",Array)],In.prototype,"causes",void 0);class hn{constructor(){o(this,"name","");o(this,"macros",{});o(this,"comments",[]);o(this,"modifier",0);o(this,"variables",[]);o(this,"methods",[]);o(this,"supers",[]);o(this,"traits",[]);o(this,"signature","")}}W([c(0,"0",String),K("design:type",String)],hn.prototype,"name",void 0),W([c(1,"1",[Map,String,[Map,String,String]]),K("design:type",typeof(zc=typeof Record<"u"&&Record)=="function"?zc:Object)],hn.prototype,"macros",void 0),W([c(2,"2",[Array,String]),K("design:type",Array)],hn.prototype,"comments",void 0),W([c(3,"3",Number),K("design:type",Number)],hn.prototype,"modifier",void 0),W([c(4,"4",[Array,gn]),K("design:type",Array)],hn.prototype,"variables",void 0),W([c(5,"5",[Array,In]),K("design:type",Array)],hn.prototype,"methods",void 0),W([c(6,"6",[Array,String]),K("design:type",Array)],hn.prototype,"supers",void 0),W([c(7,"7",[Array,String]),K("design:type",Array)],hn.prototype,"traits",void 0),W([c(8,"8",String),K("design:type",String)],hn.prototype,"signature",void 0);class Vn{constructor(){o(this,"name","");o(this,"pkg","");o(this,"path","");o(this,"imports",{});o(this,"kinds",[]);o(this,"variables",[]);o(this,"methods",[]);o(this,"set",{})}}W([c(0,"0",String),K("design:type",String)],Vn.prototype,"name",void 0),W([c(1,"1",String),K("design:type",String)],Vn.prototype,"pkg",void 0),W([c(2,"2",String),K("design:type",String)],Vn.prototype,"path",void 0),W([c(3,"3",[Map,String,String]),K("design:type",typeof(Vc=typeof Record<"u"&&Record)=="function"?Vc:Object)],Vn.prototype,"imports",void 0),W([c(4,"4",[Array,hn]),K("design:type",Array)],Vn.prototype,"kinds",void 0),W([c(5,"5",[Array,gn]),K("design:type",Array)],Vn.prototype,"variables",void 0),W([c(6,"6",[Array,In]),K("design:type",Array)],Vn.prototype,"methods",void 0),W([c(7,"7",[Map,String,String]),K("design:type",typeof(Gc=typeof Record<"u"&&Record)=="function"?Gc:Object)],Vn.prototype,"set",void 0);var qt=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i},zt=function(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)},Wc,Kc,Jc;class Le extends Ir{constructor(){super(...arguments);o(this,"code","");o(this,"name","");o(this,"kind","");o(this,"lang","");o(this,"flags",0);o(this,"author","");o(this,"version","");o(this,"runtime","");o(this,"memo","");o(this,"icon","");o(this,"doc","");o(this,"dev",new Uint8Array);o(this,"run",new Uint8Array);o(this,"raw",{})}}qt([c(0,"code",String),zt("design:type",String)],Le.prototype,"code",void 0),qt([c(1,"name",String),zt("design:type",String)],Le.prototype,"name",void 0),qt([c(2,"kind",String),zt("design:type",String)],Le.prototype,"kind",void 0),qt([c(3,"lang",String),zt("design:type",String)],Le.prototype,"lang",void 0),qt([c(4,"flags",Number),zt("design:type",Number)],Le.prototype,"flags",void 0),qt([c(5,"author",String),zt("design:type",String)],Le.prototype,"author",void 0),qt([c(6,"version",String),zt("design:type",String)],Le.prototype,"version",void 0),qt([c(7,"runtime",String),zt("design:type",String)],Le.prototype,"runtime",void 0),qt([c(8,"memo",String),zt("design:type",String)],Le.prototype,"memo",void 0),qt([c(9,"icon",String),zt("design:type",String)],Le.prototype,"icon",void 0),qt([c(10,"doc",String),zt("design:type",String)],Le.prototype,"doc",void 0),qt([c(11,"dev",Uint8Array),zt("design:type",typeof(Wc=typeof Uint8Array<"u"&&Uint8Array)=="function"?Wc:Object)],Le.prototype,"dev",void 0),qt([c(12,"run",Uint8Array),zt("design:type",typeof(Kc=typeof Uint8Array<"u"&&Uint8Array)=="function"?Kc:Object)],Le.prototype,"run",void 0),qt([c(13,"raw",[Map,String,String]),zt("design:type",typeof(Jc=typeof Record<"u"&&Record)=="function"?Jc:Object)],Le.prototype,"raw",void 0);class Xc{constructor(e,t,n){o(this,"code");o(this,"text");o(this,"color");this.code=e,this.text=t,this.color=n}}const fn=class fn{constructor(e){o(this,"values");this.values=e}from(e){for(let t of this.values){if(typeof t.code!="number"||typeof e!="number"){if(t.code==e)return t;continue}if(t.code===(t.code&e))return t}return this.values[0]}asMap(){const e=new Map([["",new Xc(0,"全部","")]]);for(const t of this.values)t.code!=0&&e.set(t.text,t);return e}};o(fn,"Route",new fn([{code:1,text:"已连通",color:"green"},{code:2,text:"已禁用",color:"orange"},{code:4,text:"已删除",color:"red"},{code:8,text:"虚拟化",color:"cyan"}])),o(fn,"Datasource",new fn([{code:1,text:"初始化",color:"blue"},{code:2,text:"已禁用",color:"red"},{code:4,text:"已删除",color:"yellow"},{code:8,text:"已发布",color:"green"}])),o(fn,"DTS",new fn([{code:1,text:"暂停",color:"blue"},{code:2,text:"执行",color:"yellow"},{code:4,text:"失败",color:"red"},{code:8,text:"成功",color:"green"}])),o(fn,"Firewalld",new fn([{code:1,text:"初始化",color:"blue"},{code:2,text:"已禁用",color:"red"},{code:4,text:"已删除",color:"yellow"},{code:8,text:"已发布",color:"green"}])),o(fn,"VMC",new fn([{code:1,text:"初始化",color:"blue"},{code:2,text:"已禁用",color:"red"},{code:4,text:"已删除",color:"yellow"},{code:8,text:"已发布",color:"green"}]));let rs=fn;var Gn=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i},Wn=function(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)},Yc;class Fi{constructor(){o(this,"index",0);o(this,"flag",0);o(this,"body",new Uint8Array)}}Gn([c(0,"idx",Number),Wn("design:type",Number)],Fi.prototype,"index",void 0),Gn([c(1,"flag",Number),Wn("design:type",Number)],Fi.prototype,"flag",void 0),Gn([c(2,"body",Uint8Array),Wn("design:type",typeof(Yc=typeof Uint8Array<"u"&&Uint8Array)=="function"?Yc:Object)],Fi.prototype,"body",void 0);class sn extends Fi{constructor(){super(...arguments);o(this,"bucket","");o(this,"src","");o(this,"rid","");o(this,"dst","");o(this,"sni","");o(this,"addr","")}}Gn([c(0,"bucket",String),Wn("design:type",String)],sn.prototype,"bucket",void 0),Gn([c(1,"src",String),Wn("design:type",String)],sn.prototype,"src",void 0),Gn([c(2,"rid",String),Wn("design:type",String)],sn.prototype,"rid",void 0),Gn([c(3,"dst",String),Wn("design:type",String)],sn.prototype,"dst",void 0),Gn([c(4,"sni",String),Wn("design:type",String)],sn.prototype,"sni",void 0),Gn([c(5,"addr",String),Wn("design:type",String)],sn.prototype,"addr",void 0);var Qc=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i},Zc=function(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)},ea;class Di{constructor(){o(this,"version","");o(this,"infos",{})}}Qc([c(0,"version",String),Zc("design:type",String)],Di.prototype,"version",void 0),Qc([c(1,"infos",[Map,String,String]),Zc("design:type",typeof(ea=typeof Record<"u"&&Record)=="function"?ea:Object)],Di.prototype,"infos",void 0);var te=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i},ne=function(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)},ta,na,ra,ia,oa;class ct{constructor(){o(this,"no","");o(this,"name","");o(this,"alias","")}}te([c(0,"no",String),ne("design:type",String)],ct.prototype,"no",void 0),te([c(1,"name",String),ne("design:type",String)],ct.prototype,"name",void 0),te([c(2,"alias",String),ne("design:type",String)],ct.prototype,"alias",void 0);class _r{constructor(){o(this,"bno","");o(this,"cno","");o(this,"context",{});o(this,"applier",new ct)}}te([c(0,"bno",String),ne("design:type",String)],_r.prototype,"bno",void 0),te([c(1,"cno",String),ne("design:type",String)],_r.prototype,"cno",void 0),te([c(2,"context",[Map,String,String]),ne("design:type",typeof(ta=typeof Record<"u"&&Record)=="function"?ta:Object)],_r.prototype,"context",void 0),te([c(3,"applier",ct),ne("design:type",ct)],_r.prototype,"applier",void 0);class pt{constructor(){o(this,"name","");o(this,"alias","");o(this,"attrs",{});o(this,"kind",0);o(this,"group","")}}te([c(0,"name",String),ne("design:type",String)],pt.prototype,"name",void 0),te([c(1,"alias",String),ne("design:type",String)],pt.prototype,"alias",void 0),te([c(2,"attrs",[Map,String,String]),ne("design:type",typeof(na=typeof Record<"u"&&Record)=="function"?na:Object)],pt.prototype,"attrs",void 0),te([c(3,"kind",Number),ne("design:type",Number)],pt.prototype,"kind",void 0),te([c(4,"group",String),ne("design:type",String)],pt.prototype,"group",void 0);class ki{constructor(){o(this,"src","");o(this,"dst","");o(this,"condition","")}}te([c(0,"src",String),ne("design:type",String)],ki.prototype,"src",void 0),te([c(1,"dst",String),ne("design:type",String)],ki.prototype,"dst",void 0),te([c(2,"condition",String),ne("design:type",String)],ki.prototype,"condition",void 0);class Vt{constructor(){o(this,"cno","");o(this,"name","");o(this,"vertices",[]);o(this,"sides",[]);o(this,"status",0);o(this,"maintainer",new ct)}}te([c(0,"cno",String),ne("design:type",String)],Vt.prototype,"cno",void 0),te([c(1,"name",String),ne("design:type",String)],Vt.prototype,"name",void 0),te([c(2,"vertices",[Array,pt]),ne("design:type",Array)],Vt.prototype,"vertices",void 0),te([c(3,"sides",[Array,ki]),ne("design:type",Array)],Vt.prototype,"sides",void 0),te([c(4,"status",Number),ne("design:type",Number)],Vt.prototype,"status",void 0),te([c(5,"maintainer",ct),ne("design:type",ct)],Vt.prototype,"maintainer",void 0);class Kn{constructor(){o(this,"vertex",new pt);o(this,"reviewers",[]);o(this,"status",0);o(this,"context",{})}}te([c(0,"vertex",pt),ne("design:type",pt)],Kn.prototype,"vertex",void 0),te([c(1,"reviewers",[Array,ct]),ne("design:type",Array)],Kn.prototype,"reviewers",void 0),te([c(2,"status",Number),ne("design:type",Number)],Kn.prototype,"status",void 0),te([c(3,"context",[Map,String,String]),ne("design:type",typeof(ra=typeof Record<"u"&&Record)=="function"?ra:Object)],Kn.prototype,"context",void 0);class Fr{constructor(){o(this,"rno","");o(this,"bno","");o(this,"context",{});o(this,"status",0);o(this,"chart",new Vt);o(this,"tasks",[])}}te([c(0,"rno",String),ne("design:type",String)],Fr.prototype,"rno",void 0),te([c(1,"bno",String),ne("design:type",String)],Fr.prototype,"bno",void 0),te([c(2,"context",[Map,String,String]),ne("design:type",typeof(ia=typeof Record<"u"&&Record)=="function"?ia:Object)],Fr.prototype,"context",void 0),te([c(3,"status",Number),ne("design:type",Number)],Fr.prototype,"status",void 0),te([c(4,"chart",Vt),ne("design:type",Vt)],Fr.prototype,"chart",void 0),te([c(5,"tasks",[Array,Kn]),ne("design:type",Array)],Fr.prototype,"tasks",void 0);class Jn{constructor(){o(this,"no","");o(this,"name","");o(this,"status",0);o(this,"workers",[])}}te([c(0,"no",String),ne("design:type",String)],Jn.prototype,"no",void 0),te([c(1,"name",String),ne("design:type",String)],Jn.prototype,"name",void 0),te([c(2,"status",Number),ne("design:type",Number)],Jn.prototype,"status",void 0),te([c(3,"workers",[Array,ct]),ne("design:type",Array)],Jn.prototype,"workers",void 0);class Xn{constructor(){o(this,"rno","");o(this,"bno","");o(this,"cno","");o(this,"context",{});o(this,"vertex",new pt);o(this,"task",new Kn);o(this,"applier",new ct);o(this,"reviewer",new ct)}}te([c(0,"rno",String),ne("design:type",String)],Xn.prototype,"rno",void 0),te([c(1,"bno",String),ne("design:type",String)],Xn.prototype,"bno",void 0),te([c(2,"cno",String),ne("design:type",String)],Xn.prototype,"cno",void 0),te([c(3,"context",[Map,String,String]),ne("design:type",typeof(oa=typeof Record<"u"&&Record)=="function"?oa:Object)],Xn.prototype,"context",void 0),te([c(4,"vertex",pt),ne("design:type",pt)],Xn.prototype,"vertex",void 0),te([c(5,"task",Kn),ne("design:type",Kn)],Xn.prototype,"task",void 0),te([c(6,"applier",ct),ne("design:type",ct)],Xn.prototype,"applier",void 0),te([c(7,"reviewer",ct),ne("design:type",ct)],Xn.prototype,"reviewer",void 0);var Yn=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i},ke=function(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)},Dr=function(r,e){return function(t,n){e(t,n,r)}},sa,ca,aa,da,ua,pa,fa,ya,la,ma;u.Builtin=class{doc(e,t,n=b()){return Promise.reject(h.URN_NOT_PERMIT)}version(e=b()){return Promise.reject(h.URN_NOT_PERMIT)}debug(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}stats(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}fallback(e=b()){return Promise.reject(h.URN_NOT_PERMIT)}dump(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}},Yn([S("${mesh.name}.builtin.doc",String),Dr(0,c(0,"name",String)),Dr(1,c(1,"formatter",String)),ke("design:type",Function),ke("design:paramtypes",[String,String,Object]),ke("design:returntype",typeof(sa=typeof Promise<"u"&&Promise)=="function"?sa:Object)],u.Builtin.prototype,"doc",null),Yn([S("${mesh.name}.builtin.version",Di),ke("design:type",Function),ke("design:paramtypes",[Object]),ke("design:returntype",typeof(ca=typeof Promise<"u"&&Promise)=="function"?ca:Object)],u.Builtin.prototype,"version",null),Yn([S("${mesh.name}.builtin.debug",Object),Dr(0,c(0,"features",[Map,String,String])),ke("design:type",Function),ke("design:paramtypes",[typeof(aa=typeof Record<"u"&&Record)=="function"?aa:Object,Object]),ke("design:returntype",typeof(da=typeof Promise<"u"&&Promise)=="function"?da:Object)],u.Builtin.prototype,"debug",null),Yn([S("${mesh.name}.builtin.stats",[Map,String,String]),Dr(0,c(0,"features",[Array,String])),ke("design:type",Function),ke("design:paramtypes",[Array,Object]),ke("design:returntype",typeof(ua=typeof Promise<"u"&&Promise)=="function"?ua:Object)],u.Builtin.prototype,"stats",null),Yn([S("${mesh.name}.builtin.fallback",Object),ke("design:type",Function),ke("design:paramtypes",[Object]),ke("design:returntype",typeof(pa=typeof Promise<"u"&&Promise)=="function"?pa:Object)],u.Builtin.prototype,"fallback",null),Yn([S("${mesh.name}.builtin.dump",[Map,String,String]),Dr(0,c(0,"names",[Array,String])),ke("design:type",Function),ke("design:paramtypes",[Array,Object]),ke("design:returntype",typeof(fa=typeof Promise<"u"&&Promise)=="function"?fa:Object)],u.Builtin.prototype,"dump",null),u.Builtin=Yn([B("mpi")],u.Builtin);class is{stats(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}debug(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}dump(e=b()){return Promise.reject(h.URN_NOT_PERMIT)}}Yn([Dr(0,c(0,"features",[Array,String])),ke("design:type",Function),ke("design:paramtypes",[Array,Object]),ke("design:returntype",typeof(ya=typeof Promise<"u"&&Promise)=="function"?ya:Object)],is.prototype,"stats",null),Yn([Dr(0,c(0,"features",[Map,String,String])),ke("design:type",Function),ke("design:paramtypes",[typeof(la=typeof Record<"u"&&Record)=="function"?la:Object,Object]),ke("design:returntype",typeof(ma=typeof Promise<"u"&&Promise)=="function"?ma:Object)],is.prototype,"debug",null);var bn=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i},ve=function(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)},At=function(r,e){return function(t,n){e(t,n,r)}},ga,ha,ba,_a,Sa,va,Oa,Ra,Pa,ja,wa,Ea;u.Cache=class{get(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}put(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}remove(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}incr(e,t,n=b()){return Promise.reject(h.URN_NOT_PERMIT)}decr(e,t,n=b()){return Promise.reject(h.URN_NOT_PERMIT)}keys(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}hget(e,t,n=b()){return Promise.reject(h.URN_NOT_PERMIT)}hset(e,t,n=b()){return Promise.reject(h.URN_NOT_PERMIT)}hdel(e,t,n=b()){return Promise.reject(h.URN_NOT_PERMIT)}hkeys(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}},bn([S("mesh.cache.get",jt),At(0,c(0,"key",String)),ve("design:type",Function),ve("design:paramtypes",[String,Object]),ve("design:returntype",typeof(ga=typeof Promise<"u"&&Promise)=="function"?ga:Object)],u.Cache.prototype,"get",null),bn([S("mesh.cache.put",Object),At(0,c(0,"cell",jt)),ve("design:type",Function),ve("design:paramtypes",[typeof(ha=typeof jt<"u"&&jt)=="function"?ha:Object,Object]),ve("design:returntype",typeof(ba=typeof Promise<"u"&&Promise)=="function"?ba:Object)],u.Cache.prototype,"put",null),bn([S("mesh.cache.remove",Object),At(0,c(0,"key",String)),ve("design:type",Function),ve("design:paramtypes",[String,Object]),ve("design:returntype",typeof(_a=typeof Promise<"u"&&Promise)=="function"?_a:Object)],u.Cache.prototype,"remove",null),bn([S("mesh.cache.incr",Number),At(0,c(0,"key",String)),At(1,c(1,"value",Number)),ve("design:type",Function),ve("design:paramtypes",[String,Number,Object]),ve("design:returntype",typeof(Sa=typeof Promise<"u"&&Promise)=="function"?Sa:Object)],u.Cache.prototype,"incr",null),bn([S("mesh.cache.decr",Number),At(0,c(0,"key",String)),At(1,c(1,"value",Number)),ve("design:type",Function),ve("design:paramtypes",[String,Number,Object]),ve("design:returntype",typeof(va=typeof Promise<"u"&&Promise)=="function"?va:Object)],u.Cache.prototype,"decr",null),bn([S("mesh.cache.keys",[Array,String]),At(0,c(0,"pattern",String)),ve("design:type",Function),ve("design:paramtypes",[String,Object]),ve("design:returntype",typeof(Oa=typeof Promise<"u"&&Promise)=="function"?Oa:Object)],u.Cache.prototype,"keys",null),bn([S("mesh.cache.hget",jt),At(0,c(0,"key",String)),At(1,c(1,"name",String)),ve("design:type",Function),ve("design:paramtypes",[String,String,Object]),ve("design:returntype",typeof(Ra=typeof Promise<"u"&&Promise)=="function"?Ra:Object)],u.Cache.prototype,"hget",null),bn([S("mesh.cache.hset",Object),At(0,c(0,"key",String)),At(1,c(1,"cell",jt)),ve("design:type",Function),ve("design:paramtypes",[String,typeof(Pa=typeof jt<"u"&&jt)=="function"?Pa:Object,Object]),ve("design:returntype",typeof(ja=typeof Promise<"u"&&Promise)=="function"?ja:Object)],u.Cache.prototype,"hset",null),bn([S("mesh.cache.hdel",Object),At(0,c(0,"key",String)),At(1,c(1,"name",String)),ve("design:type",Function),ve("design:paramtypes",[String,String,Object]),ve("design:returntype",typeof(wa=typeof Promise<"u"&&Promise)=="function"?wa:Object)],u.Cache.prototype,"hdel",null),bn([S("mesh.cache.hkeys",[Array,String]),At(0,c(0,"key",String)),ve("design:type",Function),ve("design:paramtypes",[String,Object]),ve("design:returntype",typeof(Ea=typeof Promise<"u"&&Promise)=="function"?Ea:Object)],u.Cache.prototype,"hkeys",null),u.Cache=bn([B("mpi")],u.Cache);var bt=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i},se=function(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)},Zt=function(r,e){return function(t,n){e(t,n,r)}},Na,Ta,Aa,Ma,Ia,$a,Ua,Ca,Fa,Da,ka,xa,Ba,La,Ha,qa,za,Va,Ga,Wa,Ka,Ja,Xa,Ya,Qa;u.CipherEconomy=class{handshake(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}collect(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}serve(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}deposit(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}objects(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}keys(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}invoke(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}},bt([S("${mesh.name}.cipher.handshake",String),Zt(0,c(0,"hello",Ot)),se("design:type",Function),se("design:paramtypes",[typeof(Na=typeof Ot<"u"&&Ot)=="function"?Na:Object,Object]),se("design:returntype",typeof(Ta=typeof Promise<"u"&&Promise)=="function"?Ta:Object)],u.CipherEconomy.prototype,"handshake",null),bt([S("${mesh.name}.cipher.collect",Number),Zt(0,c(0,"obj",yt)),se("design:type",Function),se("design:paramtypes",[typeof(Aa=typeof yt<"u"&&yt)=="function"?Aa:Object,Object]),se("design:returntype",typeof(Ma=typeof Promise<"u"&&Promise)=="function"?Ma:Object)],u.CipherEconomy.prototype,"collect",null),bt([S("${mesh.name}.cipher.serve",String),Zt(0,c(0,"suite",String)),se("design:type",Function),se("design:paramtypes",[String,Object]),se("design:returntype",typeof(Ia=typeof Promise<"u"&&Promise)=="function"?Ia:Object)],u.CipherEconomy.prototype,"serve",null),bt([S("mesh.cipher.deposit",String),Zt(0,c(0,"rco",yt)),se("design:type",Function),se("design:paramtypes",[typeof($a=typeof yt<"u"&&yt)=="function"?$a:Object,Object]),se("design:returntype",typeof(Ua=typeof Promise<"u"&&Promise)=="function"?Ua:Object)],u.CipherEconomy.prototype,"deposit",null),bt([S("mesh.cipher.objects",[Oe,yt]),Zt(0,c(0,"idx",U)),se("design:type",Function),se("design:paramtypes",[typeof(Ca=typeof U<"u"&&U)=="function"?Ca:Object,Object]),se("design:returntype",typeof(Fa=typeof Promise<"u"&&Promise)=="function"?Fa:Object)],u.CipherEconomy.prototype,"objects",null),bt([S("${mesh.name}.cipher.keys",[Oe,Lt]),Zt(0,c(0,"idx",U)),se("design:type",Function),se("design:paramtypes",[typeof(Da=typeof U<"u"&&U)=="function"?Da:Object,Object]),se("design:returntype",typeof(ka=typeof Promise<"u"&&Promise)=="function"?ka:Object)],u.CipherEconomy.prototype,"keys",null),bt([S("mesh.cipher.invoke",Uint8Array),Zt(0,c(0,"script",Le)),se("design:type",Function),se("design:paramtypes",[typeof(xa=typeof Le<"u"&&Le)=="function"?xa:Object,Object]),se("design:returntype",typeof(Ba=typeof Promise<"u"&&Promise)=="function"?Ba:Object)],u.CipherEconomy.prototype,"invoke",null),u.CipherEconomy=bt([B("mpi")],u.CipherEconomy),u.CipherProvider=class{suite(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}keygen(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}regen(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}encode(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}decode(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}recode(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}},bt([S("${mesh.name}.cipher.suite",$r),Zt(0,c(0,"hello",Ot)),se("design:type",Function),se("design:paramtypes",[typeof(La=typeof Ot<"u"&&Ot)=="function"?La:Object,Object]),se("design:returntype",typeof(Ha=typeof Promise<"u"&&Promise)=="function"?Ha:Object)],u.CipherProvider.prototype,"suite",null),bt([S("${mesh.name}.cipher.keygen",lo),Zt(0,c(0,"keygen",ar)),se("design:type",Function),se("design:paramtypes",[typeof(qa=typeof ar<"u"&&ar)=="function"?qa:Object,Object]),se("design:returntype",typeof(za=typeof Promise<"u"&&Promise)=="function"?za:Object)],u.CipherProvider.prototype,"keygen",null),bt([S("${mesh.name}.cipher.regen",lo),Zt(0,c(0,"keygen",Mi)),se("design:type",Function),se("design:paramtypes",[typeof(Va=typeof Mi<"u"&&Mi)=="function"?Va:Object,Object]),se("design:returntype",typeof(Ga=typeof Promise<"u"&&Promise)=="function"?Ga:Object)],u.CipherProvider.prototype,"regen",null),bt([S("${mesh.name}.cipher.encode",Uint8Array),Zt(0,c(0,"explain",On)),se("design:type",Function),se("design:paramtypes",[typeof(Wa=typeof On<"u"&&On)=="function"?Wa:Object,Object]),se("design:returntype",typeof(Ka=typeof Promise<"u"&&Promise)=="function"?Ka:Object)],u.CipherProvider.prototype,"encode",null),bt([S("${mesh.name}.cipher.decode",Uint8Array),Zt(0,c(0,"cipher",On)),se("design:type",Function),se("design:paramtypes",[typeof(Ja=typeof On<"u"&&On)=="function"?Ja:Object,Object]),se("design:returntype",typeof(Xa=typeof Promise<"u"&&Promise)=="function"?Xa:Object)],u.CipherProvider.prototype,"decode",null),bt([S("${mesh.name}.cipher.recode",Uint8Array),Zt(0,c(0,"cipher",Ii)),se("design:type",Function),se("design:paramtypes",[typeof(Ya=typeof Ii<"u"&&Ii)=="function"?Ya:Object,Object]),se("design:returntype",typeof(Qa=typeof Promise<"u"&&Promise)=="function"?Qa:Object)],u.CipherProvider.prototype,"recode",null),u.CipherProvider=bt([B("mpi")],u.CipherProvider),u.ObjectProvider=class{serve(e=b()){return Promise.reject(h.URN_NOT_PERMIT)}},u.ObjectProvider=bt([B("mpi")],u.ObjectProvider);var os=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i},ri=function(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)},xl=function(r,e){return function(t,n){e(t,n,r)}},Za,ed,td;u.Cluster=class{election(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}isLeader(e=b()){return Promise.reject(h.URN_NOT_PERMIT)}},os([S("mesh.cluster.election",Uint8Array),xl(0,c(0,"buff",Uint8Array)),ri("design:type",Function),ri("design:paramtypes",[typeof(Za=typeof Uint8Array<"u"&&Uint8Array)=="function"?Za:Object,Object]),ri("design:returntype",typeof(ed=typeof Promise<"u"&&Promise)=="function"?ed:Object)],u.Cluster.prototype,"election",null),os([S("mesh.cluster.leader",Boolean),ri("design:type",Function),ri("design:paramtypes",[Object]),ri("design:returntype",typeof(td=typeof Promise<"u"&&Promise)=="function"?td:Object)],u.Cluster.prototype,"isLeader",null),u.Cluster=os([B("mpi")],u.Cluster);var xi=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i},cn=function(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)},ii=function(r,e){return function(t,n){e(t,n,r)}},nd,rd,id,od,sd;u.Commercialize=class{sign(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}history(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}issued(e,t,n,s=b()){return Promise.reject(h.URN_NOT_PERMIT)}dump(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}},xi([S("mesh.license.sign",Yr),ii(0,c(0,"lsr",we)),cn("design:type",Function),cn("design:paramtypes",[typeof(nd=typeof we<"u"&&we)=="function"?nd:Object,Object]),cn("design:returntype",typeof(rd=typeof Promise<"u"&&Promise)=="function"?rd:Object)],u.Commercialize.prototype,"sign",null),xi([S("mesh.license.history",[Array,Yr]),ii(0,c(0,"inst_id",String)),cn("design:type",Function),cn("design:paramtypes",[String,Object]),cn("design:returntype",typeof(id=typeof Promise<"u"&&Promise)=="function"?id:Object)],u.Commercialize.prototype,"history",null),xi([S("mesh.net.issued",Qr),ii(0,c(0,"name",String)),ii(1,c(1,"kind",String)),ii(2,c(2,"cname",String)),cn("design:type",Function),cn("design:paramtypes",[String,String,String,Object]),cn("design:returntype",typeof(od=typeof Promise<"u"&&Promise)=="function"?od:Object)],u.Commercialize.prototype,"issued",null),xi([S("mesh.net.dump",[Array,Qr]),ii(0,c(0,"node_id",String)),cn("design:type",Function),cn("design:paramtypes",[String,Object]),cn("design:returntype",typeof(sd=typeof Promise<"u"&&Promise)=="function"?sd:Object)],u.Commercialize.prototype,"dump",null),u.Commercialize=xi([B("mpi")],u.Commercialize);var oi=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i},Mt=function(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)},$n=function(r,e){return function(t,n){e(t,n,r)}},cd,ad,dd,ud,pd,fd,yd,ld,md,gd,hd,bd,_d,Sd,vd;u.Cryptor=class{encrypt(e,t,n=b()){return Promise.reject(h.URN_NOT_PERMIT)}decrypt(e,t,n=b()){return Promise.reject(h.URN_NOT_PERMIT)}hash(e,t,n=b()){return Promise.reject(h.URN_NOT_PERMIT)}sign(e,t,n=b()){return Promise.reject(h.URN_NOT_PERMIT)}verify(e,t,n=b()){return Promise.reject(h.URN_NOT_PERMIT)}},oi([S("mesh.crypt.encrypt",Uint8Array),$n(0,c(0,"buf",Uint8Array)),$n(1,c(1,"keys",[Map,String,Uint8Array])),Mt("design:type",Function),Mt("design:paramtypes",[typeof(cd=typeof Uint8Array<"u"&&Uint8Array)=="function"?cd:Object,typeof(ad=typeof Record<"u"&&Record)=="function"?ad:Object,Object]),Mt("design:returntype",typeof(dd=typeof Promise<"u"&&Promise)=="function"?dd:Object)],u.Cryptor.prototype,"encrypt",null),oi([S("mesh.crypt.decrypt",Uint8Array),$n(0,c(0,"buf",Uint8Array)),$n(1,c(1,"keys",[Map,String,Uint8Array])),Mt("design:type",Function),Mt("design:paramtypes",[typeof(ud=typeof Uint8Array<"u"&&Uint8Array)=="function"?ud:Object,typeof(pd=typeof Record<"u"&&Record)=="function"?pd:Object,Object]),Mt("design:returntype",typeof(fd=typeof Promise<"u"&&Promise)=="function"?fd:Object)],u.Cryptor.prototype,"decrypt",null),oi([S("mesh.crypt.hash",Uint8Array),$n(0,c(0,"buf",Uint8Array)),$n(1,c(1,"keys",[Map,String,Uint8Array])),Mt("design:type",Function),Mt("design:paramtypes",[typeof(yd=typeof Uint8Array<"u"&&Uint8Array)=="function"?yd:Object,typeof(ld=typeof Record<"u"&&Record)=="function"?ld:Object,Object]),Mt("design:returntype",typeof(md=typeof Promise<"u"&&Promise)=="function"?md:Object)],u.Cryptor.prototype,"hash",null),oi([S("mesh.crypt.sign",Uint8Array),$n(0,c(0,"buf",Uint8Array)),$n(1,c(1,"keys",[Map,String,Uint8Array])),Mt("design:type",Function),Mt("design:paramtypes",[typeof(gd=typeof Uint8Array<"u"&&Uint8Array)=="function"?gd:Object,typeof(hd=typeof Record<"u"&&Record)=="function"?hd:Object,Object]),Mt("design:returntype",typeof(bd=typeof Promise<"u"&&Promise)=="function"?bd:Object)],u.Cryptor.prototype,"sign",null),oi([S("mesh.crypt.verify",Boolean),$n(0,c(0,"buf",Uint8Array)),$n(1,c(1,"keys",[Map,String,Uint8Array])),Mt("design:type",Function),Mt("design:paramtypes",[typeof(_d=typeof Uint8Array<"u"&&Uint8Array)=="function"?_d:Object,typeof(Sd=typeof Record<"u"&&Record)=="function"?Sd:Object,Object]),Mt("design:returntype",typeof(vd=typeof Promise<"u"&&Promise)=="function"?vd:Object)],u.Cryptor.prototype,"verify",null),u.Cryptor=oi([B("mpi")],u.Cryptor);var it=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i},x=function(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)},at=function(r,e){return function(t,n){e(t,n,r)}},Od,Rd,Pd,jd,wd,Ed,Nd,Td,Ad,Md,Id,$d,Ud,Cd,Fd,Dd,kd,xd,Bd,Ld,Hd,qd,zd,Vd,Gd,Wd,Kd;u.Daler=class{query(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}saveSource(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}indexSource(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}describeSource(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}removeSource(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}saveCluster(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}indexCluster(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}describeCluster(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}removeCluster(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}deployCluster(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}saveDTS(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}runDTS(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}indexDTS(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}removeDTS(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}indexBinlog(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}tailBinlog(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}redoBinlog(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}removeBinlog(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}},it([S("mesh.daler.ds.query",Object),at(0,c(0,"test",Ur)),x("design:type",Function),x("design:paramtypes",[typeof(Od=typeof Ur<"u"&&Ur)=="function"?Od:Object,Object]),x("design:returntype",typeof(Rd=typeof Promise<"u"&&Promise)=="function"?Rd:Object)],u.Daler.prototype,"query",null),it([S("mesh.daler.ds.save",String),at(0,c(0,"ds",Bt)),x("design:type",Function),x("design:paramtypes",[typeof(Pd=typeof Bt<"u"&&Bt)=="function"?Pd:Object,Object]),x("design:returntype",typeof(jd=typeof Promise<"u"&&Promise)=="function"?jd:Object)],u.Daler.prototype,"saveSource",null),it([S("mesh.daler.ds.index",[Oe,Bt]),at(0,c(0,"idx",U)),x("design:type",Function),x("design:paramtypes",[typeof(wd=typeof U<"u"&&U)=="function"?wd:Object,Object]),x("design:returntype",typeof(Ed=typeof Promise<"u"&&Promise)=="function"?Ed:Object)],u.Daler.prototype,"indexSource",null),it([S("mesh.daler.ds.describe",Bt),at(0,c(0,"id",String)),x("design:type",Function),x("design:paramtypes",[String,Object]),x("design:returntype",typeof(Nd=typeof Promise<"u"&&Promise)=="function"?Nd:Object)],u.Daler.prototype,"describeSource",null),it([S("mesh.daler.ds.remove",Object),at(0,c(0,"id",String)),x("design:type",Function),x("design:paramtypes",[String,Object]),x("design:returntype",typeof(Td=typeof Promise<"u"&&Promise)=="function"?Td:Object)],u.Daler.prototype,"removeSource",null),it([S("mesh.daler.cluster.save",String),at(0,c(0,"cluster",st)),x("design:type",Function),x("design:paramtypes",[typeof(Ad=typeof st<"u"&&st)=="function"?Ad:Object,Object]),x("design:returntype",typeof(Md=typeof Promise<"u"&&Promise)=="function"?Md:Object)],u.Daler.prototype,"saveCluster",null),it([S("mesh.daler.cluster.index",[Oe,st]),at(0,c(0,"idx",U)),x("design:type",Function),x("design:paramtypes",[typeof(Id=typeof U<"u"&&U)=="function"?Id:Object,Object]),x("design:returntype",typeof($d=typeof Promise<"u"&&Promise)=="function"?$d:Object)],u.Daler.prototype,"indexCluster",null),it([S("mesh.daler.cluster.describe",st),at(0,c(0,"id",String)),x("design:type",Function),x("design:paramtypes",[String,Object]),x("design:returntype",typeof(Ud=typeof Promise<"u"&&Promise)=="function"?Ud:Object)],u.Daler.prototype,"describeCluster",null),it([S("mesh.daler.cluster.remove",Object),at(0,c(0,"id",String)),x("design:type",Function),x("design:paramtypes",[String,Object]),x("design:returntype",typeof(Cd=typeof Promise<"u"&&Promise)=="function"?Cd:Object)],u.Daler.prototype,"removeCluster",null),it([S("mesh.daler.cluster.deploy",Object),at(0,c(0,"id",String)),x("design:type",Function),x("design:paramtypes",[String,Object]),x("design:returntype",typeof(Fd=typeof Promise<"u"&&Promise)=="function"?Fd:Object)],u.Daler.prototype,"deployCluster",null),it([S("mesh.daler.dts.save",String),at(0,c(0,"dts",We)),x("design:type",Function),x("design:paramtypes",[typeof(Dd=typeof We<"u"&&We)=="function"?Dd:Object,Object]),x("design:returntype",typeof(kd=typeof Promise<"u"&&Promise)=="function"?kd:Object)],u.Daler.prototype,"saveDTS",null),it([S("mesh.daler.dts.run",Object),at(0,c(0,"id",String)),x("design:type",Function),x("design:paramtypes",[String,Object]),x("design:returntype",typeof(xd=typeof Promise<"u"&&Promise)=="function"?xd:Object)],u.Daler.prototype,"runDTS",null),it([S("mesh.daler.dts.index",[Oe,We]),at(0,c(0,"idx",U)),x("design:type",Function),x("design:paramtypes",[typeof(Bd=typeof U<"u"&&U)=="function"?Bd:Object,Object]),x("design:returntype",typeof(Ld=typeof Promise<"u"&&Promise)=="function"?Ld:Object)],u.Daler.prototype,"indexDTS",null),it([S("mesh.daler.dts.remove",Object),at(0,c(0,"id",String)),x("design:type",Function),x("design:paramtypes",[String,Object]),x("design:returntype",typeof(Hd=typeof Promise<"u"&&Promise)=="function"?Hd:Object)],u.Daler.prototype,"removeDTS",null),it([S("mesh.daler.binlog.index",[Oe,Bn]),at(0,c(0,"idx",U)),x("design:type",Function),x("design:paramtypes",[typeof(qd=typeof U<"u"&&U)=="function"?qd:Object,Object]),x("design:returntype",typeof(zd=typeof Promise<"u"&&Promise)=="function"?zd:Object)],u.Daler.prototype,"indexBinlog",null),it([S("mesh.daler.binlog.tail",[Oe,[Map,String,String]]),at(0,c(0,"idx",U)),x("design:type",Function),x("design:paramtypes",[typeof(Vd=typeof U<"u"&&U)=="function"?Vd:Object,Object]),x("design:returntype",typeof(Gd=typeof Promise<"u"&&Promise)=="function"?Gd:Object)],u.Daler.prototype,"tailBinlog",null),it([S("mesh.daler.binlog.redo",Object),at(0,c(0,"id",String)),x("design:type",Function),x("design:paramtypes",[String,Object]),x("design:returntype",typeof(Wd=typeof Promise<"u"&&Promise)=="function"?Wd:Object)],u.Daler.prototype,"redoBinlog",null),it([S("mesh.daler.binlog.remove",Object),at(0,c(0,"id",String)),x("design:type",Function),x("design:paramtypes",[String,Object]),x("design:returntype",typeof(Kd=typeof Promise<"u"&&Promise)=="function"?Kd:Object)],u.Daler.prototype,"removeBinlog",null),u.Daler=it([B("mpi")],u.Daler);var si=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i},It=function(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)},Bi=function(r,e){return function(t,n){e(t,n,r)}},Jd,Xd,Yd,Qd,Zd,eu,tu,nu,ru;u.DataHouse=class{writes(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}write(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}read(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}indies(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}tables(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}},si([S("mesh.dh.writes",Object),Bi(0,c(0,"docs",[Array,dr])),It("design:type",Function),It("design:paramtypes",[Array,Object]),It("design:returntype",typeof(Jd=typeof Promise<"u"&&Promise)=="function"?Jd:Object)],u.DataHouse.prototype,"writes",null),si([S("mesh.dh.write",Object),Bi(0,c(0,"doc",dr)),It("design:type",Function),It("design:paramtypes",[typeof(Xd=typeof dr<"u"&&dr)=="function"?Xd:Object,Object]),It("design:returntype",typeof(Yd=typeof Promise<"u"&&Promise)=="function"?Yd:Object)],u.DataHouse.prototype,"write",null),si([S("mesh.dh.read",[Oe,Object]),Bi(0,c(0,"idx",U)),It("design:type",Function),It("design:paramtypes",[typeof(Qd=typeof U<"u"&&U)=="function"?Qd:Object,Object]),It("design:returntype",typeof(Zd=typeof Promise<"u"&&Promise)=="function"?Zd:Object)],u.DataHouse.prototype,"read",null),si([S("mesh.dh.indies",[Oe,Object]),Bi(0,c(0,"idx",U)),It("design:type",Function),It("design:paramtypes",[typeof(eu=typeof U<"u"&&U)=="function"?eu:Object,Object]),It("design:returntype",typeof(tu=typeof Promise<"u"&&Promise)=="function"?tu:Object)],u.DataHouse.prototype,"indies",null),si([S("mesh.dh.tables",[Oe,Object]),Bi(0,c(0,"idx",U)),It("design:type",Function),It("design:paramtypes",[typeof(nu=typeof U<"u"&&U)=="function"?nu:Object,Object]),It("design:returntype",typeof(ru=typeof Promise<"u"&&Promise)=="function"?ru:Object)],u.DataHouse.prototype,"tables",null),u.DataHouse=si([B("mpi")],u.DataHouse);var Un=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i},Te=function(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)},Qn=function(r,e){return function(t,n){e(t,n,r)}},iu,ou,su,cu,au,du,uu,pu,fu,yu,lu,mu;u.Devops=class{init(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}settings(e=b()){return Promise.reject(h.URN_NOT_PERMIT)}setting(e,t,n=b()){return Promise.reject(h.URN_NOT_PERMIT)}indexReplica(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}importReplica(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}removeReplica(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}readReplica(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}replicate(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}recover(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}},Un([S("${mesh.name}.devops.x.init",Object),Qn(0,c(0,"flags",String)),Te("design:type",Function),Te("design:paramtypes",[String,Object]),Te("design:returntype",typeof(iu=typeof Promise<"u"&&Promise)=="function"?iu:Object)],u.Devops.prototype,"init",null),Un([S("${mesh.name}.devops.x.settings",[Map,String,Rn]),Te("design:type",Function),Te("design:paramtypes",[Object]),Te("design:returntype",typeof(ou=typeof Promise<"u"&&Promise)=="function"?ou:Object)],u.Devops.prototype,"settings",null),Un([S("${mesh.name}.devops.x.setting",Object),Qn(0,c(0,"appset",String)),Qn(1,c(1,"setting",Rn)),Te("design:type",Function),Te("design:paramtypes",[String,typeof(su=typeof Rn<"u"&&Rn)=="function"?su:Object,Object]),Te("design:returntype",typeof(cu=typeof Promise<"u"&&Promise)=="function"?cu:Object)],u.Devops.prototype,"setting",null),Un([S("${mesh.name}.devops.replica.index",[Oe,nt]),Qn(0,c(0,"idx",U)),Te("design:type",Function),Te("design:paramtypes",[typeof(au=typeof U<"u"&&U)=="function"?au:Object,Object]),Te("design:returntype",typeof(du=typeof Promise<"u"&&Promise)=="function"?du:Object)],u.Devops.prototype,"indexReplica",null),Un([S("${mesh.name}.devops.replica.import",String),Qn(0,c(0,"raw",Uint8Array)),Te("design:type",Function),Te("design:paramtypes",[typeof(uu=typeof Uint8Array<"u"&&Uint8Array)=="function"?uu:Object,Object]),Te("design:returntype",typeof(pu=typeof Promise<"u"&&Promise)=="function"?pu:Object)],u.Devops.prototype,"importReplica",null),Un([S("${mesh.name}.devops.replica.remove",Object),Qn(0,c(0,"code",String)),Te("design:type",Function),Te("design:paramtypes",[String,Object]),Te("design:returntype",typeof(fu=typeof Promise<"u"&&Promise)=="function"?fu:Object)],u.Devops.prototype,"removeReplica",null),Un([S("${mesh.name}.devops.replica.read",Uint8Array),Qn(0,c(0,"code",String)),Te("design:type",Function),Te("design:paramtypes",[String,Object]),Te("design:returntype",typeof(yu=typeof Promise<"u"&&Promise)=="function"?yu:Object)],u.Devops.prototype,"readReplica",null),Un([S("${mesh.name}.devops.replica.replicate",String),Qn(0,c(0,"appset",String)),Te("design:type",Function),Te("design:paramtypes",[String,Object]),Te("design:returntype",typeof(lu=typeof Promise<"u"&&Promise)=="function"?lu:Object)],u.Devops.prototype,"replicate",null),Un([S("${mesh.name}.devops.replica.recover",Object),Qn(0,c(0,"id",String)),Te("design:type",Function),Te("design:paramtypes",[String,Object]),Te("design:returntype",typeof(mu=typeof Promise<"u"&&Promise)=="function"?mu:Object)],u.Devops.prototype,"recover",null),u.Devops=Un([B("mpi")],u.Devops);var ss=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i},ci=function(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)},_o=function(r,e){return function(t,n){e(t,n,r)}},gu,hu,bu;u.Dispatcher=class{invoke(e,t,n=b()){return Promise.reject(h.URN_NOT_PERMIT)}invoke0(e,t,n=b()){return Promise.reject(h.URN_NOT_PERMIT)}},ss([_o(0,c(0,"urn",String)),_o(1,c(1,"param",[Map,String,Object])),ci("design:type",Function),ci("design:paramtypes",[String,typeof(gu=typeof Record<"u"&&Record)=="function"?gu:Object,Object]),ci("design:returntype",typeof(hu=typeof Promise<"u"&&Promise)=="function"?hu:Object)],u.Dispatcher.prototype,"invoke",null),ss([_o(0,c(0,"urn",String)),_o(1,c(1,"param",Object)),ci("design:type",Function),ci("design:paramtypes",[String,Object,Object]),ci("design:returntype",typeof(bu=typeof Promise<"u"&&Promise)=="function"?bu:Object)],u.Dispatcher.prototype,"invoke0",null),u.Dispatcher=ss([B("spi")],u.Dispatcher);var cs=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i},ai=function(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)},_u=function(r,e){return function(t,n){e(t,n,r)}},Su,vu,Ou;u.Endpoint=class{fuzzy(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}},cs([S("${mesh.uname}",Uint8Array),_u(0,c(0,"buff",Uint8Array)),ai("design:type",Function),ai("design:paramtypes",[typeof(Su=typeof Uint8Array<"u"&&Uint8Array)=="function"?Su:Object,Object]),ai("design:returntype",typeof(vu=typeof Promise<"u"&&Promise)=="function"?vu:Object)],u.Endpoint.prototype,"fuzzy",null),u.Endpoint=cs([B("mpi")],u.Endpoint);class Ru{stick(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}}cs([_u(0,c(0,"varg",Object)),ai("design:type",Function),ai("design:paramtypes",[Object,Object]),ai("design:returntype",typeof(Ou=typeof Promise<"u"&&Promise)=="function"?Ou:Object)],Ru.prototype,"stick",null);var Li=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i},an=function(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)},So=function(r,e){return function(t,n){e(t,n,r)}},Pu,ju,wu,Eu,Nu,Tu;u.Firewalld=class{save(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}remove(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}describe(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}index(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}},Li([S("mesh.firewall.save",String),So(0,c(0,"wall",Se)),an("design:type",Function),an("design:paramtypes",[typeof(Pu=typeof Se<"u"&&Se)=="function"?Pu:Object,Object]),an("design:returntype",typeof(ju=typeof Promise<"u"&&Promise)=="function"?ju:Object)],u.Firewalld.prototype,"save",null),Li([S("mesh.firewall.remove",Object),So(0,c(0,"code",String)),an("design:type",Function),an("design:paramtypes",[String,Object]),an("design:returntype",typeof(wu=typeof Promise<"u"&&Promise)=="function"?wu:Object)],u.Firewalld.prototype,"remove",null),Li([S("mesh.firewall.describe",Se),So(0,c(0,"code",String)),an("design:type",Function),an("design:paramtypes",[String,Object]),an("design:returntype",typeof(Eu=typeof Promise<"u"&&Promise)=="function"?Eu:Object)],u.Firewalld.prototype,"describe",null),Li([S("mesh.firewall.index",[Oe,Se]),So(0,c(0,"idx",U)),an("design:type",Function),an("design:paramtypes",[typeof(Nu=typeof U<"u"&&U)=="function"?Nu:Object,Object]),an("design:returntype",typeof(Tu=typeof Promise<"u"&&Promise)=="function"?Tu:Object)],u.Firewalld.prototype,"index",null),u.Firewalld=Li([B("mpi")],u.Firewalld);var as=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i},di=function(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)},vo=function(r,e){return function(t,n){e(t,n,r)}},Au,Mu,Iu,$u;u.Graph=class{query(e,t,n=b()){return Promise.reject(h.URN_NOT_PERMIT)}exec(e,t,n=b()){return Promise.reject(h.URN_NOT_PERMIT)}},as([S("mesh.graph.query",[Array,[Map,String,Object]]),vo(0,c(0,"expr",String)),vo(1,c(1,"args",[Map,String,Object])),di("design:type",Function),di("design:paramtypes",[String,typeof(Au=typeof Record<"u"&&Record)=="function"?Au:Object,Object]),di("design:returntype",typeof(Mu=typeof Promise<"u"&&Promise)=="function"?Mu:Object)],u.Graph.prototype,"query",null),as([S("mesh.graph.exec",Object),vo(0,c(0,"expr",String)),vo(1,c(1,"args",[Map,String,Object])),di("design:type",Function),di("design:paramtypes",[String,typeof(Iu=typeof Record<"u"&&Record)=="function"?Iu:Object,Object]),di("design:returntype",typeof($u=typeof Promise<"u"&&Promise)=="function"?$u:Object)],u.Graph.prototype,"exec",null),u.Graph=as([B("mpi")],u.Graph);var $t=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i},re=function(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)},Gt=function(r,e){return function(t,n){e(t,n,r)}},Uu,Cu,Fu,Du,ku,xu,Bu,Lu,Hu,qu,zu,Vu,Gu,Wu,Ku,Ju,Xu,Yu,Qu,Zu,ep,tp;u.KMS=class{reset(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}environ(e=b()){return Promise.reject(h.URN_NOT_PERMIT)}issue(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}describe(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}index(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}revoke(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}rotate(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}remove(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}append(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}explain(e,t,n=b()){return Promise.reject(h.URN_NOT_PERMIT)}indexSecret(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}removeSecret(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}describeSecret(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}generateSecret(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}},$t([S("mesh.kms.reset",Object),Gt(0,c(0,"env",Ke)),re("design:type",Function),re("design:paramtypes",[typeof(Uu=typeof Ke<"u"&&Ke)=="function"?Uu:Object,Object]),re("design:returntype",typeof(Cu=typeof Promise<"u"&&Promise)=="function"?Cu:Object)],u.KMS.prototype,"reset",null),$t([S("mesh.kms.environ",Ke),re("design:type",Function),re("design:paramtypes",[Object]),re("design:returntype",typeof(Fu=typeof Promise<"u"&&Promise)=="function"?Fu:Object)],u.KMS.prototype,"environ",null),$t([S("mesh.kms.crt.issue",Lt),Gt(0,c(0,"csr",rt)),re("design:type",Function),re("design:paramtypes",[typeof(Du=typeof rt<"u"&&rt)=="function"?Du:Object,Object]),re("design:returntype",typeof(ku=typeof Promise<"u"&&Promise)=="function"?ku:Object)],u.KMS.prototype,"issue",null),$t([S("mesh.kms.crt.describe",Lt),Gt(0,c(0,"id",String)),re("design:type",Function),re("design:paramtypes",[String,Object]),re("design:returntype",typeof(xu=typeof Promise<"u"&&Promise)=="function"?xu:Object)],u.KMS.prototype,"describe",null),$t([S("mesh.kms.crt.index",[Oe,Lt]),Gt(0,c(0,"idx",U)),re("design:type",Function),re("design:paramtypes",[typeof(Bu=typeof U<"u"&&U)=="function"?Bu:Object,Object]),re("design:returntype",typeof(Lu=typeof Promise<"u"&&Promise)=="function"?Lu:Object)],u.KMS.prototype,"index",null),$t([S("mesh.kms.crt.revoke",Object),Gt(0,c(0,"crr",Xr)),re("design:type",Function),re("design:paramtypes",[typeof(Hu=typeof Xr<"u"&&Xr)=="function"?Hu:Object,Object]),re("design:returntype",typeof(qu=typeof Promise<"u"&&Promise)=="function"?qu:Object)],u.KMS.prototype,"revoke",null),$t([S("mesh.kms.crt.rotate",Object),Gt(0,c(0,"crr",Cr)),re("design:type",Function),re("design:paramtypes",[typeof(zu=typeof Cr<"u"&&Cr)=="function"?zu:Object,Object]),re("design:returntype",typeof(Vu=typeof Promise<"u"&&Promise)=="function"?Vu:Object)],u.KMS.prototype,"rotate",null),$t([S("mesh.kms.crt.remove",Object),Gt(0,c(0,"id",String)),re("design:type",Function),re("design:paramtypes",[String,Object]),re("design:returntype",typeof(Gu=typeof Promise<"u"&&Promise)=="function"?Gu:Object)],u.KMS.prototype,"remove",null),$t([S("mesh.kms.crt.append",Object),Gt(0,c(0,"car",Lt)),re("design:type",Function),re("design:paramtypes",[typeof(Wu=typeof Lt<"u"&&Lt)=="function"?Wu:Object,Object]),re("design:returntype",typeof(Ku=typeof Promise<"u"&&Promise)=="function"?Ku:Object)],u.KMS.prototype,"append",null),$t([S("mesh.kms.crt.explain",String),Gt(0,c(0,"algo",String)),Gt(1,c(1,"keys",String)),re("design:type",Function),re("design:paramtypes",[String,String,Object]),re("design:returntype",typeof(Ju=typeof Promise<"u"&&Promise)=="function"?Ju:Object)],u.KMS.prototype,"explain",null),$t([S("mesh.kms.secret.index",[Oe,lr]),Gt(0,c(0,"idx",U)),re("design:type",Function),re("design:paramtypes",[typeof(Xu=typeof U<"u"&&U)=="function"?Xu:Object,Object]),re("design:returntype",typeof(Yu=typeof Promise<"u"&&Promise)=="function"?Yu:Object)],u.KMS.prototype,"indexSecret",null),$t([S("mesh.kms.secret.remove",Object),Gt(0,c(0,"id",String)),re("design:type",Function),re("design:paramtypes",[String,Object]),re("design:returntype",typeof(Qu=typeof Promise<"u"&&Promise)=="function"?Qu:Object)],u.KMS.prototype,"removeSecret",null),$t([S("mesh.kms.secret.describe",lr),Gt(0,c(0,"id",String)),re("design:type",Function),re("design:paramtypes",[String,Object]),re("design:returntype",typeof(Zu=typeof Promise<"u"&&Promise)=="function"?Zu:Object)],u.KMS.prototype,"describeSecret",null),$t([S("mesh.kms.secret.generate",String),Gt(0,c(0,"csr",En)),re("design:type",Function),re("design:paramtypes",[typeof(ep=typeof En<"u"&&En)=="function"?ep:Object,Object]),re("design:returntype",typeof(tp=typeof Promise<"u"&&Promise)=="function"?tp:Object)],u.KMS.prototype,"generateSecret",null),u.KMS=$t([B("mpi")],u.KMS);var ui=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i},Ut=function(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)},pi=function(r,e){return function(t,n){e(t,n,r)}},np,rp,ip,op,sp,cp,ap;u.KV=class{get(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}put(e,t,n=b()){return Promise.reject(h.URN_NOT_PERMIT)}remove(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}keys(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}index(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}},ui([S("mesh.kv.get",De),pi(0,c(0,"key",String)),Ut("design:type",Function),Ut("design:paramtypes",[String,Object]),Ut("design:returntype",typeof(np=typeof Promise<"u"&&Promise)=="function"?np:Object)],u.KV.prototype,"get",null),ui([S("mesh.kv.put",Object),pi(0,c(0,"key",String)),pi(1,c(1,"value",De)),Ut("design:type",Function),Ut("design:paramtypes",[String,typeof(rp=typeof De<"u"&&De)=="function"?rp:Object,Object]),Ut("design:returntype",typeof(ip=typeof Promise<"u"&&Promise)=="function"?ip:Object)],u.KV.prototype,"put",null),ui([S("mesh.kv.remove",Object),pi(0,c(0,"key",String)),Ut("design:type",Function),Ut("design:paramtypes",[String,Object]),Ut("design:returntype",typeof(op=typeof Promise<"u"&&Promise)=="function"?op:Object)],u.KV.prototype,"remove",null),ui([S("mesh.kv.keys",[Array,String]),pi(0,c(0,"pattern",String)),Ut("design:type",Function),Ut("design:paramtypes",[String,Object]),Ut("design:returntype",typeof(sp=typeof Promise<"u"&&Promise)=="function"?sp:Object)],u.KV.prototype,"keys",null),ui([S("mesh.kv.index",[Oe,$i]),pi(0,c(0,"idx",U)),Ut("design:type",Function),Ut("design:paramtypes",[typeof(cp=typeof U<"u"&&U)=="function"?cp:Object,Object]),Ut("design:returntype",typeof(ap=typeof Promise<"u"&&Promise)=="function"?ap:Object)],u.KV.prototype,"index",null),u.KV=ui([B("mpi")],u.KV);var fi=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i},Ct=function(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)},Bl=function(r,e){return function(t,n){e(t,n,r)}},dp,up,pp,fp,yp;u.Licenser=class{imports(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}exports(e=b()){return Promise.reject(h.URN_NOT_PERMIT)}explain(e=b()){return Promise.reject(h.URN_NOT_PERMIT)}verify(e=b()){return Promise.reject(h.URN_NOT_PERMIT)}features(e=b()){return Promise.reject(h.URN_NOT_PERMIT)}},fi([S("mesh.license.imports",Object),Bl(0,c(0,"license",String)),Ct("design:type",Function),Ct("design:paramtypes",[String,Object]),Ct("design:returntype",typeof(dp=typeof Promise<"u"&&Promise)=="function"?dp:Object)],u.Licenser.prototype,"imports",null),fi([S("mesh.license.exports",String),Ct("design:type",Function),Ct("design:paramtypes",[Object]),Ct("design:returntype",typeof(up=typeof Promise<"u"&&Promise)=="function"?up:Object)],u.Licenser.prototype,"exports",null),fi([S("mesh.license.explain",we),Ct("design:type",Function),Ct("design:paramtypes",[Object]),Ct("design:returntype",typeof(pp=typeof Promise<"u"&&Promise)=="function"?pp:Object)],u.Licenser.prototype,"explain",null),fi([S("mesh.license.verify",Number),Ct("design:type",Function),Ct("design:paramtypes",[Object]),Ct("design:returntype",typeof(fp=typeof Promise<"u"&&Promise)=="function"?fp:Object)],u.Licenser.prototype,"verify",null),fi([S("mesh.license.features",[Map,String,String]),Ct("design:type",Function),Ct("design:paramtypes",[Object]),Ct("design:returntype",typeof(yp=typeof Promise<"u"&&Promise)=="function"?yp:Object)],u.Licenser.prototype,"features",null),u.Licenser=fi([B("mpi")],u.Licenser);var Hi=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i},dn=function(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)},yi=function(r,e){return function(t,n){e(t,n,r)}},lp,mp,gp,hp;u.Locker=class{lock(e,t,n=b()){return Promise.reject(h.URN_NOT_PERMIT)}unlock(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}readLock(e,t,n=b()){return Promise.reject(h.URN_NOT_PERMIT)}readUnlock(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}},Hi([S("mesh.locker.w.lock",Boolean),yi(0,c(0,"rid",String)),yi(1,c(1,"timeout",Number)),dn("design:type",Function),dn("design:paramtypes",[String,Number,Object]),dn("design:returntype",typeof(lp=typeof Promise<"u"&&Promise)=="function"?lp:Object)],u.Locker.prototype,"lock",null),Hi([S("mesh.locker.w.unlock",Object),yi(0,c(0,"rid",String)),dn("design:type",Function),dn("design:paramtypes",[String,Object]),dn("design:returntype",typeof(mp=typeof Promise<"u"&&Promise)=="function"?mp:Object)],u.Locker.prototype,"unlock",null),Hi([S("mesh.locker.r.lock",Boolean),yi(0,c(0,"rid",String)),yi(1,c(1,"timeout",Number)),dn("design:type",Function),dn("design:paramtypes",[String,Number,Object]),dn("design:returntype",typeof(gp=typeof Promise<"u"&&Promise)=="function"?gp:Object)],u.Locker.prototype,"readLock",null),Hi([S("mesh.locker.r.unlock",Object),yi(0,c(0,"rid",String)),dn("design:type",Function),dn("design:paramtypes",[String,Object]),dn("design:returntype",typeof(hp=typeof Promise<"u"&&Promise)=="function"?hp:Object)],u.Locker.prototype,"readUnlock",null),u.Locker=Hi([B("mpi")],u.Locker);var en=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i},ye=function(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)},un=function(r,e){return function(t,n){e(t,n,r)}},bp,_p,Sp,vp,Op,Rp,Pp,jp,wp,Ep,Np,Tp,Ap,Mp;u.Network=class{environ(e=b()){return Promise.reject(h.URN_NOT_PERMIT)}accessible(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}refresh(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}route(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}routes(e=b()){return Promise.reject(h.URN_NOT_PERMIT)}disable(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}enable(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}index(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}version(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}exports(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}imports(e,t,n=b()){return Promise.reject(h.URN_NOT_PERMIT)}remove(e,t,n=b()){return Promise.reject(h.URN_NOT_PERMIT)}},en([S("mesh.net.environ",Ke),ye("design:type",Function),ye("design:paramtypes",[Object]),ye("design:returntype",typeof(bp=typeof Promise<"u"&&Promise)=="function"?bp:Object)],u.Network.prototype,"environ",null),en([S("mesh.net.accessible",Boolean),un(0,c(0,"route",be)),ye("design:type",Function),ye("design:paramtypes",[typeof(_p=typeof be<"u"&&be)=="function"?_p:Object,Object]),ye("design:returntype",typeof(Sp=typeof Promise<"u"&&Promise)=="function"?Sp:Object)],u.Network.prototype,"accessible",null),en([S("mesh.net.refresh",Object),un(0,c(0,"routes",[Array,be])),ye("design:type",Function),ye("design:paramtypes",[Array,Object]),ye("design:returntype",typeof(vp=typeof Promise<"u"&&Promise)=="function"?vp:Object)],u.Network.prototype,"refresh",null),en([S("mesh.net.route",be),un(0,c(0,"mdc",String)),ye("design:type",Function),ye("design:paramtypes",[String,Object]),ye("design:returntype",typeof(Op=typeof Promise<"u"&&Promise)=="function"?Op:Object)],u.Network.prototype,"route",null),en([S("mesh.net.routes",[Array,be]),ye("design:type",Function),ye("design:paramtypes",[Object]),ye("design:returntype",typeof(Rp=typeof Promise<"u"&&Promise)=="function"?Rp:Object)],u.Network.prototype,"routes",null),en([S("mesh.net.disable",Object),un(0,c(0,"mdc",String)),ye("design:type",Function),ye("design:paramtypes",[String,Object]),ye("design:returntype",typeof(Pp=typeof Promise<"u"&&Promise)=="function"?Pp:Object)],u.Network.prototype,"disable",null),en([S("mesh.net.enable",Object),un(0,c(0,"mdc",String)),ye("design:type",Function),ye("design:paramtypes",[String,Object]),ye("design:returntype",typeof(jp=typeof Promise<"u"&&Promise)=="function"?jp:Object)],u.Network.prototype,"enable",null),en([S("mesh.net.index",[Oe,be]),un(0,c(0,"index",U)),ye("design:type",Function),ye("design:paramtypes",[typeof(wp=typeof U<"u"&&U)=="function"?wp:Object,Object]),ye("design:returntype",typeof(Ep=typeof Promise<"u"&&Promise)=="function"?Ep:Object)],u.Network.prototype,"index",null),en([S("mesh.net.version",Di),un(0,c(0,"mdc",String)),ye("design:type",Function),ye("design:paramtypes",[String,Object]),ye("design:returntype",typeof(Np=typeof Promise<"u"&&Promise)=="function"?Np:Object)],u.Network.prototype,"version",null),en([S("mesh.net.exports",String),un(0,c(0,"mdc",String)),ye("design:type",Function),ye("design:paramtypes",[String,Object]),ye("design:returntype",typeof(Tp=typeof Promise<"u"&&Promise)=="function"?Tp:Object)],u.Network.prototype,"exports",null),en([S("mesh.net.imports",Object),un(0,c(0,"mdc",String)),un(1,c(1,"crt",String)),ye("design:type",Function),ye("design:paramtypes",[String,String,Object]),ye("design:returntype",typeof(Ap=typeof Promise<"u"&&Promise)=="function"?Ap:Object)],u.Network.prototype,"imports",null),en([S("mesh.net.remove",Object),un(0,c(0,"sid",String)),un(1,c(1,"did",String)),ye("design:type",Function),ye("design:paramtypes",[String,String,Object]),ye("design:returntype",typeof(Mp=typeof Promise<"u"&&Promise)=="function"?Mp:Object)],u.Network.prototype,"remove",null),u.Network=en([B("mpi")],u.Network);var qi=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i},pn=function(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)},Sr=function(r,e){return function(t,n){e(t,n,r)}},Ip,$p,Up,Cp,Fp,Dp;u.Pipeline=class{peek(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}pop(e,t,n=b()){return Promise.reject(h.URN_NOT_PERMIT)}push(e,t,n,s=b()){return Promise.reject(h.URN_NOT_PERMIT)}release(e,t,n=b()){return Promise.reject(h.URN_NOT_PERMIT)}},qi([S("mesh.chan.peek",Uint8Array),Sr(0,c(0,"topic",String)),pn("design:type",Function),pn("design:paramtypes",[String,Object]),pn("design:returntype",typeof(Ip=typeof Promise<"u"&&Promise)=="function"?Ip:Object)],u.Pipeline.prototype,"peek",null),qi([S("mesh.chan.pop",Uint8Array),Sr(0,c(0,"timeout",Number)),Sr(1,c(1,"topic",String)),pn("design:type",Function),pn("design:paramtypes",[Number,String,Object]),pn("design:returntype",typeof($p=typeof Promise<"u"&&Promise)=="function"?$p:Object)],u.Pipeline.prototype,"pop",null),qi([S("mesh.chan.push",Object),Sr(0,c(0,"payload",Uint8Array)),Sr(1,c(1,"metadata",[Map,String,String])),Sr(2,c(2,"topic",String)),pn("design:type",Function),pn("design:paramtypes",[typeof(Up=typeof Uint8Array<"u"&&Uint8Array)=="function"?Up:Object,typeof(Cp=typeof Record<"u"&&Record)=="function"?Cp:Object,String,Object]),pn("design:returntype",typeof(Fp=typeof Promise<"u"&&Promise)=="function"?Fp:Object)],u.Pipeline.prototype,"push",null),qi([S("mesh.chan.release",Object),Sr(0,c(0,"timeout",Number)),Sr(1,c(1,"topic",String)),pn("design:type",Function),pn("design:paramtypes",[Number,String,Object]),pn("design:returntype",typeof(Dp=typeof Promise<"u"&&Promise)=="function"?Dp:Object)],u.Pipeline.prototype,"release",null),u.Pipeline=qi([B("mpi")],u.Pipeline);var ds=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i},li=function(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)},kp=function(r,e){return function(t,n){e(t,n,r)}},xp,Bp;u.Publisher=class{publish(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}broadcast(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}},ds([S("mesh.queue.publish",[Array,String]),kp(0,c(0,"events",[Array,gt])),li("design:type",Function),li("design:paramtypes",[Array,Object]),li("design:returntype",typeof(xp=typeof Promise<"u"&&Promise)=="function"?xp:Object)],u.Publisher.prototype,"publish",null),ds([S("mesh.queue.multicast",[Array,String]),kp(0,c(0,"events",[Array,gt])),li("design:type",Function),li("design:paramtypes",[Array,Object]),li("design:returntype",typeof(Bp=typeof Promise<"u"&&Promise)=="function"?Bp:Object)],u.Publisher.prototype,"broadcast",null),u.Publisher=ds([B("mpi")],u.Publisher);var mi=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i},Ft=function(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)},zi=function(r,e){return function(t,n){e(t,n,r)}},Lp,Hp,qp,zp,Vp,Gp,Wp;u.Registry=class{register(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}registers(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}unregister(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}export(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}appset(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}},mi([S("mesh.registry.put",Object),zi(0,c(0,"registration",[ht,Object])),Ft("design:type",Function),Ft("design:paramtypes",[typeof(Lp=typeof ht<"u"&&ht)=="function"?Lp:Object,Object]),Ft("design:returntype",typeof(Hp=typeof Promise<"u"&&Promise)=="function"?Hp:Object)],u.Registry.prototype,"register",null),mi([S("mesh.registry.puts",Object),zi(0,c(0,"registrations",[Array,[ht,Object]])),Ft("design:type",Function),Ft("design:paramtypes",[Array,Object]),Ft("design:returntype",typeof(qp=typeof Promise<"u"&&Promise)=="function"?qp:Object)],u.Registry.prototype,"registers",null),mi([S("mesh.registry.remove",Object),zi(0,c(0,"registration",[ht,Object])),Ft("design:type",Function),Ft("design:paramtypes",[typeof(zp=typeof ht<"u"&&ht)=="function"?zp:Object,Object]),Ft("design:returntype",typeof(Vp=typeof Promise<"u"&&Promise)=="function"?Vp:Object)],u.Registry.prototype,"unregister",null),mi([S("mesh.registry.export",[Array,[ht,Object]]),zi(0,c(0,"kind",String)),Ft("design:type",Function),Ft("design:paramtypes",[String,Object]),Ft("design:returntype",typeof(Gp=typeof Promise<"u"&&Promise)=="function"?Gp:Object)],u.Registry.prototype,"export",null),mi([S("mesh.registry.appset",[Array,on]),zi(0,c(0,"kind",String)),Ft("design:type",Function),Ft("design:paramtypes",[String,Object]),Ft("design:returntype",typeof(Wp=typeof Promise<"u"&&Promise)=="function"?Wp:Object)],u.Registry.prototype,"appset",null),u.Registry=mi([B("mpi")],u.Registry);var gi=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i},Wt=function(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)},Vi=function(r,e){return function(t,n){e(t,n,r)}},Kp,Jp,Xp,Yp,Qp,Zp,ef;class Gi{with(e,t,n=b()){return Promise.reject(h.URN_NOT_PERMIT)}withMap(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}local(e=b()){return Promise.reject(h.URN_NOT_PERMIT)}any(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}many(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}}gi([Vi(0,c(0,"key",String)),Vi(1,c(1,"value",String)),Wt("design:type",Function),Wt("design:paramtypes",[String,String,Object]),Wt("design:returntype",typeof(Kp=typeof Promise<"u"&&Promise)=="function"?Kp:Object)],Gi.prototype,"with",null),gi([Vi(0,c(0,"attachments",[Map,String,String])),Wt("design:type",Function),Wt("design:paramtypes",[typeof(Jp=typeof Record<"u"&&Record)=="function"?Jp:Object,Object]),Wt("design:returntype",typeof(Xp=typeof Promise<"u"&&Promise)=="function"?Xp:Object)],Gi.prototype,"withMap",null),gi([Vi(0,c(0,"principal",Nt)),Wt("design:type",Function),Wt("design:paramtypes",[typeof(Yp=typeof Nt<"u"&&Nt)=="function"?Yp:Object,Object]),Wt("design:returntype",typeof(Qp=typeof Promise<"u"&&Promise)=="function"?Qp:Object)],Gi.prototype,"any",null),gi([Vi(0,c(0,"principals",[Array,Nt])),Wt("design:type",Function),Wt("design:paramtypes",[Array,Object]),Wt("design:returntype",typeof(Zp=typeof Promise<"u"&&Promise)=="function"?Zp:Object)],Gi.prototype,"many",null);class us{constructor(){o(this,"reference");o(this,"attachments",{})}}gi([c(0,"reference",Object),Wt("design:type",Object)],us.prototype,"reference",void 0),gi([c(1,"attachments",[Map,String,String]),Wt("design:type",typeof(ef=typeof Record<"u"&&Record)=="function"?ef:Object)],us.prototype,"attachments",void 0);var hi=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i},Dt=function(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)},Wi=function(r,e){return function(t,n){e(t,n,r)}},tf,nf,rf,of,sf,cf,af,df;u.Savepoint=class{begin(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}commit(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}rollback(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}execute(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}redo(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}},hi([S("mesh.savepoint.begin",String),Wi(0,c(0,"definition",hr)),Dt("design:type",Function),Dt("design:paramtypes",[typeof(tf=typeof hr<"u"&&hr)=="function"?tf:Object,Object]),Dt("design:returntype",typeof(nf=typeof Promise<"u"&&Promise)=="function"?nf:Object)],u.Savepoint.prototype,"begin",null),hi([S("mesh.savepoint.commit",Object),Wi(0,c(0,"xid",String)),Dt("design:type",Function),Dt("design:paramtypes",[String,Object]),Dt("design:returntype",typeof(rf=typeof Promise<"u"&&Promise)=="function"?rf:Object)],u.Savepoint.prototype,"commit",null),hi([S("mesh.savepoint.rollback",Object),Wi(0,c(0,"xid",String)),Dt("design:type",Function),Dt("design:paramtypes",[String,Object]),Dt("design:returntype",typeof(of=typeof Promise<"u"&&Promise)=="function"?of:Object)],u.Savepoint.prototype,"rollback",null),hi([S("mesh.savepoint.execute",Uint8Array),Wi(0,c(0,"branch",Mn)),Dt("design:type",Function),Dt("design:paramtypes",[typeof(sf=typeof Mn<"u"&&Mn)=="function"?sf:Object,Object]),Dt("design:returntype",typeof(cf=typeof Promise<"u"&&Promise)=="function"?cf:Object)],u.Savepoint.prototype,"execute",null),hi([S("mesh.savepoint.redo",Object),Wi(0,c(0,"commit",Uint8Array)),Dt("design:type",Function),Dt("design:paramtypes",[typeof(af=typeof Uint8Array<"u"&&Uint8Array)=="function"?af:Object,Object]),Dt("design:returntype",typeof(df=typeof Promise<"u"&&Promise)=="function"?df:Object)],u.Savepoint.prototype,"redo",null),u.Savepoint=hi([B("mpi")],u.Savepoint);var Zn=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i},xe=function(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)},Cn=function(r,e){return function(t,n){e(t,n,r)}},uf,pf,ff,yf,lf,mf,gf,hf,bf,_f,Sf,vf;u.Scheduler=class{timeout(e,t,n=b()){return Promise.reject(h.URN_NOT_PERMIT)}cron(e,t,n=b()){return Promise.reject(h.URN_NOT_PERMIT)}period(e,t,n=b()){return Promise.reject(h.URN_NOT_PERMIT)}dump(e=b()){return Promise.reject(h.URN_NOT_PERMIT)}cancel(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}stop(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}emit(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}shutdown(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}},Zn([S("mesh.schedule.timeout",String),Cn(0,c(0,"timeout",wn)),Cn(1,c(1,"duration",Number)),xe("design:type",Function),xe("design:paramtypes",[typeof(uf=typeof wn<"u"&&wn)=="function"?uf:Object,Number,Object]),xe("design:returntype",typeof(pf=typeof Promise<"u"&&Promise)=="function"?pf:Object)],u.Scheduler.prototype,"timeout",null),Zn([S("mesh.schedule.cron",String),Cn(0,c(0,"cron",String)),Cn(1,c(1,"topic",He)),xe("design:type",Function),xe("design:paramtypes",[String,typeof(ff=typeof He<"u"&&He)=="function"?ff:Object,Object]),xe("design:returntype",typeof(yf=typeof Promise<"u"&&Promise)=="function"?yf:Object)],u.Scheduler.prototype,"cron",null),Zn([S("mesh.schedule.period",String),Cn(0,c(0,"duration",Number)),Cn(1,c(1,"topic",He)),xe("design:type",Function),xe("design:paramtypes",[Number,typeof(lf=typeof He<"u"&&He)=="function"?lf:Object,Object]),xe("design:returntype",typeof(mf=typeof Promise<"u"&&Promise)=="function"?mf:Object)],u.Scheduler.prototype,"period",null),Zn([S("mesh.schedule.dump",[Array,String]),xe("design:type",Function),xe("design:paramtypes",[Object]),xe("design:returntype",typeof(gf=typeof Promise<"u"&&Promise)=="function"?gf:Object)],u.Scheduler.prototype,"dump",null),Zn([S("mesh.schedule.cancel",Boolean),Cn(0,c(0,"task_id",String)),xe("design:type",Function),xe("design:paramtypes",[String,Object]),xe("design:returntype",typeof(hf=typeof Promise<"u"&&Promise)=="function"?hf:Object)],u.Scheduler.prototype,"cancel",null),Zn([S("mesh.schedule.stop",Boolean),Cn(0,c(0,"task_id",String)),xe("design:type",Function),xe("design:paramtypes",[String,Object]),xe("design:returntype",typeof(bf=typeof Promise<"u"&&Promise)=="function"?bf:Object)],u.Scheduler.prototype,"stop",null),Zn([S("mesh.schedule.emit",Object),Cn(0,c(0,"topic",He)),xe("design:type",Function),xe("design:paramtypes",[typeof(_f=typeof He<"u"&&He)=="function"?_f:Object,Object]),xe("design:returntype",typeof(Sf=typeof Promise<"u"&&Promise)=="function"?Sf:Object)],u.Scheduler.prototype,"emit",null),Zn([S("mesh.schedule.shutdown",Object),Cn(0,c(0,"duration",Number)),xe("design:type",Function),xe("design:paramtypes",[Number,Object]),xe("design:returntype",typeof(vf=typeof Promise<"u"&&Promise)=="function"?vf:Object)],u.Scheduler.prototype,"shutdown",null),u.Scheduler=Zn([B("mpi")],u.Scheduler);var ps=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i},bi=function(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)},Ki=function(r,e){return function(t,n){e(t,n,r)}},Of,Rf;u.Sequence=class{next(e,t,n=b()){return Promise.reject(h.URN_NOT_PERMIT)}section(e,t,n,s=b()){return Promise.reject(h.URN_NOT_PERMIT)}},ps([S("mesh.sequence.next",String),Ki(0,c(0,"kind",String)),Ki(1,c(1,"length",Number)),bi("design:type",Function),bi("design:paramtypes",[String,Number,Object]),bi("design:returntype",typeof(Of=typeof Promise<"u"&&Promise)=="function"?Of:Object)],u.Sequence.prototype,"next",null),ps([S("mesh.sequence.section",[Array,String]),Ki(0,c(0,"kind",String)),Ki(1,c(1,"size",Number)),Ki(2,c(2,"length",Number)),bi("design:type",Function),bi("design:paramtypes",[String,Number,Number,Object]),bi("design:returntype",typeof(Rf=typeof Promise<"u"&&Promise)=="function"?Rf:Object)],u.Sequence.prototype,"section",null),u.Sequence=ps([B("mpi")],u.Sequence);var Pf=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i},fs=function(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)},Ll=function(r,e){return function(t,n){e(t,n,r)}},jf,wf;u.Subscriber=class{subscribe(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}},Pf([S("mesh.queue.subscribe",Object),Ll(0,c(0,"event",gt)),fs("design:type",Function),fs("design:paramtypes",[typeof(jf=typeof gt<"u"&>)=="function"?jf:Object,Object]),fs("design:returntype",typeof(wf=typeof Promise<"u"&&Promise)=="function"?wf:Object)],u.Subscriber.prototype,"subscribe",null),u.Subscriber=Pf([B("mpi")],u.Subscriber);var kt=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i},ce=function(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)},_t=function(r,e){return function(t,n){e(t,n,r)}},Ef,Nf,Tf,Af,Mf,If,$f,Uf,Cf,Ff,Df,kf,xf,Bf,Lf,Hf,qf;u.Tokenizer=class{captcha(e,t,n=b()){return Promise.reject(h.URN_NOT_PERMIT)}matches(e,t,n=b()){return Promise.reject(h.URN_NOT_PERMIT)}apply(e,t,n=b()){return Promise.reject(h.URN_NOT_PERMIT)}verify(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}quickauth(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}grant(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}accept(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}reject(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}authorize(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}authenticate(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}refresh(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}destroy(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}},kt([S("mesh.captcha.apply",Zr),_t(0,c(0,"kind",String)),_t(1,c(1,"features",[Map,String,String])),ce("design:type",Function),ce("design:paramtypes",[String,typeof(Ef=typeof Record<"u"&&Record)=="function"?Ef:Object,Object]),ce("design:returntype",typeof(Nf=typeof Promise<"u"&&Promise)=="function"?Nf:Object)],u.Tokenizer.prototype,"captcha",null),kt([S("mesh.captcha.match",Boolean),_t(0,c(0,"mno",String)),_t(1,c(1,"value",String)),ce("design:type",Function),ce("design:paramtypes",[String,String,Object]),ce("design:returntype",typeof(Tf=typeof Promise<"u"&&Promise)=="function"?Tf:Object)],u.Tokenizer.prototype,"matches",null),kt([S("mesh.trust.apply",String),_t(0,c(0,"kind",String)),_t(1,c(1,"duration",Number)),ce("design:type",Function),ce("design:paramtypes",[String,Number,Object]),ce("design:returntype",typeof(Af=typeof Promise<"u"&&Promise)=="function"?Af:Object)],u.Tokenizer.prototype,"apply",null),kt([S("mesh.trust.verify",Boolean),_t(0,c(0,"token",String)),ce("design:type",Function),ce("design:paramtypes",[String,Object]),ce("design:returntype",typeof(Mf=typeof Promise<"u"&&Promise)=="function"?Mf:Object)],u.Tokenizer.prototype,"verify",null),kt([S("mesh.auth.quickauth",Hn),_t(0,c(0,"credential",nn)),ce("design:type",Function),ce("design:paramtypes",[typeof(If=typeof nn<"u"&&nn)=="function"?If:Object,Object]),ce("design:returntype",typeof($f=typeof Promise<"u"&&Promise)=="function"?$f:Object)],u.Tokenizer.prototype,"quickauth",null),kt([S("mesh.oauth.grant",es),_t(0,c(0,"grant",mr)),ce("design:type",Function),ce("design:paramtypes",[typeof(Uf=typeof mr<"u"&&mr)=="function"?Uf:Object,Object]),ce("design:returntype",typeof(Cf=typeof Promise<"u"&&Promise)=="function"?Cf:Object)],u.Tokenizer.prototype,"grant",null),kt([S("mesh.oauth.accept",go),_t(0,c(0,"code",String)),ce("design:type",Function),ce("design:paramtypes",[String,Object]),ce("design:returntype",typeof(Ff=typeof Promise<"u"&&Promise)=="function"?Ff:Object)],u.Tokenizer.prototype,"accept",null),kt([S("mesh.oauth.reject",Object),_t(0,c(0,"code",String)),ce("design:type",Function),ce("design:paramtypes",[String,Object]),ce("design:returntype",typeof(Df=typeof Promise<"u"&&Promise)=="function"?Df:Object)],u.Tokenizer.prototype,"reject",null),kt([S("mesh.auth.authorize",Hn),_t(0,c(0,"code",String)),ce("design:type",Function),ce("design:paramtypes",[String,Object]),ce("design:returntype",typeof(kf=typeof Promise<"u"&&Promise)=="function"?kf:Object)],u.Tokenizer.prototype,"authorize",null),kt([S("mesh.oauth.authenticate",Tt),_t(0,c(0,"token",String)),ce("design:type",Function),ce("design:paramtypes",[String,Object]),ce("design:returntype",typeof(xf=typeof Promise<"u"&&Promise)=="function"?xf:Object)],u.Tokenizer.prototype,"authenticate",null),kt([S("mesh.oauth.refresh",Hn),_t(0,c(0,"token",String)),ce("design:type",Function),ce("design:paramtypes",[String,Object]),ce("design:returntype",typeof(Bf=typeof Promise<"u"&&Promise)=="function"?Bf:Object)],u.Tokenizer.prototype,"refresh",null),kt([S("mesh.oauth.destroy",Object),_t(0,c(0,"token",String)),ce("design:type",Function),ce("design:paramtypes",[String,Object]),ce("design:returntype",typeof(Lf=typeof Promise<"u"&&Promise)=="function"?Lf:Object)],u.Tokenizer.prototype,"destroy",null),u.Tokenizer=kt([B("mpi")],u.Tokenizer),u.AuthProvider=class{session(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}},kt([S("${mesh.name}.auth.session",Tt),_t(0,c(0,"credential",nn)),ce("design:type",Function),ce("design:paramtypes",[typeof(Hf=typeof nn<"u"&&nn)=="function"?Hf:Object,Object]),ce("design:returntype",typeof(qf=typeof Promise<"u"&&Promise)=="function"?qf:Object)],u.AuthProvider.prototype,"session",null),u.AuthProvider=kt([B("mpi")],u.AuthProvider);var kr=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i},dt=function(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)},Fn=function(r,e){return function(t,n){e(t,n,r)}},zf,Vf,Gf,Wf,Kf,Jf,Xf;u.Transporter=class{attach(e,t,n=b()){return Promise.reject(h.URN_NOT_PERMIT)}detach(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}scan(e,t,n,s=b()){return Promise.reject(h.URN_NOT_PERMIT)}write(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}read(e,t,n=b()){return Promise.reject(h.URN_NOT_PERMIT)}clean(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}},kr([S("${mesh.name}.tcp.attach",String),Fn(0,c(0,"uri",String)),Fn(1,c(1,"pdc",String)),dt("design:type",Function),dt("design:paramtypes",[String,String,Object]),dt("design:returntype",typeof(zf=typeof Promise<"u"&&Promise)=="function"?zf:Object)],u.Transporter.prototype,"attach",null),kr([S("${mesh.name}.tcp.detach",Object),Fn(0,c(0,"descriptor",String)),dt("design:type",Function),dt("design:paramtypes",[String,Object]),dt("design:returntype",typeof(Vf=typeof Promise<"u"&&Promise)=="function"?Vf:Object)],u.Transporter.prototype,"detach",null),kr([S("${mesh.name}.tcp.scan",[Array,sn]),Fn(0,c(0,"rid",String)),Fn(1,c(1,"h",Number)),Fn(2,c(2,"limit",Number)),dt("design:type",Function),dt("design:paramtypes",[String,Number,Number,Object]),dt("design:returntype",typeof(Gf=typeof Promise<"u"&&Promise)=="function"?Gf:Object)],u.Transporter.prototype,"scan",null),kr([S("${mesh.name}.tcp.write",Object),Fn(0,c(0,"packet",sn)),dt("design:type",Function),dt("design:paramtypes",[typeof(Wf=typeof sn<"u"&&sn)=="function"?Wf:Object,Object]),dt("design:returntype",typeof(Kf=typeof Promise<"u"&&Promise)=="function"?Kf:Object)],u.Transporter.prototype,"write",null),kr([S("${mesh.name}.tcp.read",[Array,sn]),Fn(0,c(0,"bucket",String)),Fn(1,c(1,"limit",Number)),dt("design:type",Function),dt("design:paramtypes",[String,Number,Object]),dt("design:returntype",typeof(Jf=typeof Promise<"u"&&Promise)=="function"?Jf:Object)],u.Transporter.prototype,"read",null),kr([S("${mesh.name}.tcp.clean",Object),Fn(0,c(0,"buckets",[Array,String])),dt("design:type",Function),dt("design:paramtypes",[Array,Object]),dt("design:returntype",typeof(Xf=typeof Promise<"u"&&Promise)=="function"?Xf:Object)],u.Transporter.prototype,"clean",null),u.Transporter=kr([B("mpi")],u.Transporter);var vr=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i},Je=function(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)},Or=function(r,e){return function(t,n){e(t,n,r)}},Yf,Qf,Zf,ey,ty,ny,ry,iy;u.FileSystem=class{exist(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}mkdir(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}write(e,t,n=b()){return Promise.reject(h.URN_NOT_PERMIT)}read(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}remove(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}delete(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}list(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}},vr([S("mesh.fs.exist",Boolean),Or(0,c(0,"path",String)),Je("design:type",Function),Je("design:paramtypes",[String,Object]),Je("design:returntype",typeof(Yf=typeof Promise<"u"&&Promise)=="function"?Yf:Object)],u.FileSystem.prototype,"exist",null),vr([S("mesh.fs.mkdir",Object),Or(0,c(0,"path",String)),Je("design:type",Function),Je("design:paramtypes",[String,Object]),Je("design:returntype",typeof(Qf=typeof Promise<"u"&&Promise)=="function"?Qf:Object)],u.FileSystem.prototype,"mkdir",null),vr([S("mesh.fs.write",Object),Or(0,c(0,"path",String)),Or(1,c(1,"buff",Uint8Array)),Je("design:type",Function),Je("design:paramtypes",[String,typeof(Zf=typeof Uint8Array<"u"&&Uint8Array)=="function"?Zf:Object,Object]),Je("design:returntype",typeof(ey=typeof Promise<"u"&&Promise)=="function"?ey:Object)],u.FileSystem.prototype,"write",null),vr([S("mesh.fs.read",Uint8Array),Or(0,c(0,"path",String)),Je("design:type",Function),Je("design:paramtypes",[String,Object]),Je("design:returntype",typeof(ty=typeof Promise<"u"&&Promise)=="function"?ty:Object)],u.FileSystem.prototype,"read",null),vr([S("mesh.fs.remove",Object),Or(0,c(0,"path",String)),Je("design:type",Function),Je("design:paramtypes",[String,Object]),Je("design:returntype",typeof(ny=typeof Promise<"u"&&Promise)=="function"?ny:Object)],u.FileSystem.prototype,"remove",null),vr([S("mesh.fs.delete",Object),Or(0,c(0,"paths",[Array,String])),Je("design:type",Function),Je("design:paramtypes",[Array,Object]),Je("design:returntype",typeof(ry=typeof Promise<"u"&&Promise)=="function"?ry:Object)],u.FileSystem.prototype,"delete",null),vr([S("mesh.fs.ls",Jr),Or(0,c(0,"path",String)),Je("design:type",Function),Je("design:paramtypes",[String,Object]),Je("design:returntype",typeof(iy=typeof Promise<"u"&&Promise)=="function"?iy:Object)],u.FileSystem.prototype,"list",null),u.FileSystem=vr([B("mpi")],u.FileSystem);var xr=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i},ut=function(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)},er=function(r,e){return function(t,n){e(t,n,r)}},oy,sy,cy,ay,dy,uy,py,fy,yy;u.VM=class{compile(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}setup(e,t,n=b()){return Promise.reject(h.URN_NOT_PERMIT)}remove(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}describe(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}exec(e,t,n,s=b()){return Promise.reject(h.URN_NOT_PERMIT)}index(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}},xr([S("mesh.vmc.compile",String),er(0,c(0,"script",Le)),ut("design:type",Function),ut("design:paramtypes",[typeof(oy=typeof Le<"u"&&Le)=="function"?oy:Object,Object]),ut("design:returntype",typeof(sy=typeof Promise<"u"&&Promise)=="function"?sy:Object)],u.VM.prototype,"compile",null),xr([S("mesh.vmc.setup",Object),er(0,c(0,"code",String)),er(1,c(1,"version",String)),ut("design:type",Function),ut("design:paramtypes",[String,String,Object]),ut("design:returntype",typeof(cy=typeof Promise<"u"&&Promise)=="function"?cy:Object)],u.VM.prototype,"setup",null),xr([S("mesh.vmc.remove",Object),er(0,c(0,"code",String)),ut("design:type",Function),ut("design:paramtypes",[String,Object]),ut("design:returntype",typeof(ay=typeof Promise<"u"&&Promise)=="function"?ay:Object)],u.VM.prototype,"remove",null),xr([S("mesh.vmc.describe",Le),er(0,c(0,"code",String)),ut("design:type",Function),ut("design:paramtypes",[String,Object]),ut("design:returntype",typeof(dy=typeof Promise<"u"&&Promise)=="function"?dy:Object)],u.VM.prototype,"describe",null),xr([S("mesh.vmc.exec",String),er(0,c(0,"code",String)),er(1,c(1,"args",[Map,String,String])),er(2,c(2,"dft",String)),ut("design:type",Function),ut("design:paramtypes",[String,typeof(uy=typeof Record<"u"&&Record)=="function"?uy:Object,String,Object]),ut("design:returntype",typeof(py=typeof Promise<"u"&&Promise)=="function"?py:Object)],u.VM.prototype,"exec",null),xr([S("mesh.vmc.index",[Oe,Le]),er(0,c(0,"idx",U)),ut("design:type",Function),ut("design:paramtypes",[typeof(fy=typeof U<"u"&&U)=="function"?fy:Object,Object]),ut("design:returntype",typeof(yy=typeof Promise<"u"&&Promise)=="function"?yy:Object)],u.VM.prototype,"index",null),u.VM=xr([B("mpi")],u.VM);var Rr=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i},Xe=function(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)},Br=function(r,e){return function(t,n){e(t,n,r)}},ly,my,gy,hy,by,_y,Sy,vy,Oy,Ry,Py,jy,wy,Ey;u.Workflow=class{mass(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}groups(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}compile(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}index(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}submit(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}take(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}routines(e,t=b()){return Promise.reject(h.URN_NOT_PERMIT)}},Rr([S("mesh.workflow.mass",String),Br(0,c(0,"group",Jn)),Xe("design:type",Function),Xe("design:paramtypes",[typeof(ly=typeof Jn<"u"&&Jn)=="function"?ly:Object,Object]),Xe("design:returntype",typeof(my=typeof Promise<"u"&&Promise)=="function"?my:Object)],u.Workflow.prototype,"mass",null),Rr([S("mesh.workflow.groups",[Oe,Jn]),Br(0,c(0,"index",U)),Xe("design:type",Function),Xe("design:paramtypes",[typeof(gy=typeof U<"u"&&U)=="function"?gy:Object,Object]),Xe("design:returntype",typeof(hy=typeof Promise<"u"&&Promise)=="function"?hy:Object)],u.Workflow.prototype,"groups",null),Rr([S("mesh.workflow.compile",String),Br(0,c(0,"chart",Vt)),Xe("design:type",Function),Xe("design:paramtypes",[typeof(by=typeof Vt<"u"&&Vt)=="function"?by:Object,Object]),Xe("design:returntype",typeof(_y=typeof Promise<"u"&&Promise)=="function"?_y:Object)],u.Workflow.prototype,"compile",null),Rr([S("mesh.workflow.index",[Oe,Vt]),Br(0,c(0,"index",U)),Xe("design:type",Function),Xe("design:paramtypes",[typeof(Sy=typeof U<"u"&&U)=="function"?Sy:Object,Object]),Xe("design:returntype",typeof(vy=typeof Promise<"u"&&Promise)=="function"?vy:Object)],u.Workflow.prototype,"index",null),Rr([S("mesh.workflow.submit",String),Br(0,c(0,"intent",_r)),Xe("design:type",Function),Xe("design:paramtypes",[typeof(Oy=typeof _r<"u"&&_r)=="function"?Oy:Object,Object]),Xe("design:returntype",typeof(Ry=typeof Promise<"u"&&Promise)=="function"?Ry:Object)],u.Workflow.prototype,"submit",null),Rr([S("mesh.workflow.take",Object),Br(0,c(0,"vertex",pt)),Xe("design:type",Function),Xe("design:paramtypes",[typeof(Py=typeof pt<"u"&&pt)=="function"?Py:Object,Object]),Xe("design:returntype",typeof(jy=typeof Promise<"u"&&Promise)=="function"?jy:Object)],u.Workflow.prototype,"take",null),Rr([S("mesh.workflow.routines",[Oe,pt]),Br(0,c(0,"index",U)),Xe("design:type",Function),Xe("design:paramtypes",[typeof(wy=typeof U<"u"&&U)=="function"?wy:Object,Object]),Xe("design:returntype",typeof(Ey=typeof Promise<"u"&&Promise)=="function"?Ey:Object)],u.Workflow.prototype,"routines",null),u.Workflow=Rr([B("mpi")],u.Workflow);var Hl=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i};u.Codec=(Er=class{encodeString(e){return this.stringify(this.encode(e))}decodeString(e,t){return this.decode(this.uint8ify(e),t)}},o(Er,"JSON","json"),o(Er,"PROTOBUF","protobuf"),o(Er,"XML","xml"),o(Er,"YAML","yaml"),o(Er,"THRIFT","thrift"),o(Er,"MESH","mesh"),Er),u.Codec=Hl([B(u.Codec.JSON)],u.Codec);var ys={},Ji={},Ny;function ql(){if(Ny)return Ji;Ny=1,Ji.byteLength=d,Ji.toByteArray=P,Ji.fromByteArray=k;for(var r=[],e=[],t=typeof Uint8Array<"u"?Uint8Array:Array,n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,i=n.length;s<i;++s)r[s]=n[s],e[n.charCodeAt(s)]=s;e[45]=62,e[95]=63;function a(T){var w=T.length;if(w%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var M=T.indexOf("=");M===-1&&(M=w);var A=M===w?0:4-M%4;return[M,A]}function d(T){var w=a(T),M=w[0],A=w[1];return(M+A)*3/4-A}function v(T,w,M){return(w+M)*3/4-M}function P(T){var w,M=a(T),A=M[0],X=M[1],Y=new t(v(T,A,X)),ae=0,ot=X>0?A-4:A,de;for(de=0;de<ot;de+=4)w=e[T.charCodeAt(de)]<<18|e[T.charCodeAt(de+1)]<<12|e[T.charCodeAt(de+2)]<<6|e[T.charCodeAt(de+3)],Y[ae++]=w>>16&255,Y[ae++]=w>>8&255,Y[ae++]=w&255;return X===2&&(w=e[T.charCodeAt(de)]<<2|e[T.charCodeAt(de+1)]>>4,Y[ae++]=w&255),X===1&&(w=e[T.charCodeAt(de)]<<10|e[T.charCodeAt(de+1)]<<4|e[T.charCodeAt(de+2)]>>2,Y[ae++]=w>>8&255,Y[ae++]=w&255),Y}function R(T){return r[T>>18&63]+r[T>>12&63]+r[T>>6&63]+r[T&63]}function E(T,w,M){for(var A,X=[],Y=w;Y<M;Y+=3)A=(T[Y]<<16&16711680)+(T[Y+1]<<8&65280)+(T[Y+2]&255),X.push(R(A));return X.join("")}function k(T){for(var w,M=T.length,A=M%3,X=[],Y=16383,ae=0,ot=M-A;ae<ot;ae+=Y)X.push(E(T,ae,ae+Y>ot?ot:ae+Y));return A===1?(w=T[M-1],X.push(r[w>>2]+r[w<<4&63]+"==")):A===2&&(w=(T[M-2]<<8)+T[M-1],X.push(r[w>>10]+r[w>>4&63]+r[w<<2&63]+"=")),X.join("")}return Ji}var Oo={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */var Ty;function zl(){return Ty||(Ty=1,Oo.read=function(r,e,t,n,s){var i,a,d=s*8-n-1,v=(1<<d)-1,P=v>>1,R=-7,E=t?s-1:0,k=t?-1:1,T=r[e+E];for(E+=k,i=T&(1<<-R)-1,T>>=-R,R+=d;R>0;i=i*256+r[e+E],E+=k,R-=8);for(a=i&(1<<-R)-1,i>>=-R,R+=n;R>0;a=a*256+r[e+E],E+=k,R-=8);if(i===0)i=1-P;else{if(i===v)return a?NaN:(T?-1:1)*(1/0);a=a+Math.pow(2,n),i=i-P}return(T?-1:1)*a*Math.pow(2,i-n)},Oo.write=function(r,e,t,n,s,i){var a,d,v,P=i*8-s-1,R=(1<<P)-1,E=R>>1,k=s===23?Math.pow(2,-24)-Math.pow(2,-77):0,T=n?0:i-1,w=n?1:-1,M=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(d=isNaN(e)?1:0,a=R):(a=Math.floor(Math.log(e)/Math.LN2),e*(v=Math.pow(2,-a))<1&&(a--,v*=2),a+E>=1?e+=k/v:e+=k*Math.pow(2,1-E),e*v>=2&&(a++,v/=2),a+E>=R?(d=0,a=R):a+E>=1?(d=(e*v-1)*Math.pow(2,s),a=a+E):(d=e*Math.pow(2,E-1)*Math.pow(2,s),a=0));s>=8;r[t+T]=d&255,T+=w,d/=256,s-=8);for(a=a<<s|d,P+=s;P>0;r[t+T]=a&255,T+=w,a/=256,P-=8);r[t+T-w]|=M*128}),Oo}/*!
|
|
15
15
|
* The buffer module from node.js, for the browser.
|
|
16
16
|
*
|
|
17
17
|
* @author Feross Aboukhadijeh <https://feross.org>
|
|
18
18
|
* @license MIT
|
|
19
|
-
*/var Ay;function Vl(){return Ay||(Ay=1,function(r){const e=ql(),t=zl(),n=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;r.Buffer=d,r.SlowBuffer=Y,r.INSPECT_MAX_BYTES=50;const s=2147483647;r.kMaxLength=s,d.TYPED_ARRAY_SUPPORT=i(),!d.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function i(){try{const y=new Uint8Array(1),p={foo:function(){return 42}};return Object.setPrototypeOf(p,Uint8Array.prototype),Object.setPrototypeOf(y,p),y.foo()===42}catch{return!1}}Object.defineProperty(d.prototype,"parent",{enumerable:!0,get:function(){if(d.isBuffer(this))return this.buffer}}),Object.defineProperty(d.prototype,"offset",{enumerable:!0,get:function(){if(d.isBuffer(this))return this.byteOffset}});function a(y){if(y>s)throw new RangeError('The value "'+y+'" is invalid for option "size"');const p=new Uint8Array(y);return Object.setPrototypeOf(p,d.prototype),p}function d(y,p,f){if(typeof y=="number"){if(typeof p=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return E(y)}return v(y,p,f)}d.poolSize=8192;function v(y,p,f){if(typeof y=="string")return D(y,p);if(ArrayBuffer.isView(y))return w(y);if(y==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof y);if(Yt(y,ArrayBuffer)||y&&Yt(y.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(Yt(y,SharedArrayBuffer)||y&&Yt(y.buffer,SharedArrayBuffer)))return M(y,p,f);if(typeof y=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const m=y.valueOf&&y.valueOf();if(m!=null&&m!==y)return d.from(m,p,f);const _=A(y);if(_)return _;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof y[Symbol.toPrimitive]=="function")return d.from(y[Symbol.toPrimitive]("string"),p,f);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof y)}d.from=function(y,p,f){return v(y,p,f)},Object.setPrototypeOf(d.prototype,Uint8Array.prototype),Object.setPrototypeOf(d,Uint8Array);function j(y){if(typeof y!="number")throw new TypeError('"size" argument must be of type number');if(y<0)throw new RangeError('The value "'+y+'" is invalid for option "size"')}function R(y,p,f){return j(y),y<=0?a(y):p!==void 0?typeof f=="string"?a(y).fill(p,f):a(y).fill(p):a(y)}d.alloc=function(y,p,f){return R(y,p,f)};function E(y){return j(y),a(y<0?0:X(y)|0)}d.allocUnsafe=function(y){return E(y)},d.allocUnsafeSlow=function(y){return E(y)};function D(y,p){if((typeof p!="string"||p==="")&&(p="utf8"),!d.isEncoding(p))throw new TypeError("Unknown encoding: "+p);const f=ae(y,p)|0;let m=a(f);const _=m.write(y,p);return _!==f&&(m=m.slice(0,_)),m}function T(y){const p=y.length<0?0:X(y.length)|0,f=a(p);for(let m=0;m<p;m+=1)f[m]=y[m]&255;return f}function w(y){if(Yt(y,Uint8Array)){const p=new Uint8Array(y);return M(p.buffer,p.byteOffset,p.byteLength)}return T(y)}function M(y,p,f){if(p<0||y.byteLength<p)throw new RangeError('"offset" is outside of buffer bounds');if(y.byteLength<p+(f||0))throw new RangeError('"length" is outside of buffer bounds');let m;return p===void 0&&f===void 0?m=new Uint8Array(y):f===void 0?m=new Uint8Array(y,p):m=new Uint8Array(y,p,f),Object.setPrototypeOf(m,d.prototype),m}function A(y){if(d.isBuffer(y)){const p=X(y.length)|0,f=a(p);return f.length===0||y.copy(f,0,0,p),f}if(y.length!==void 0)return typeof y.length!="number"||co(y.length)?a(0):T(y);if(y.type==="Buffer"&&Array.isArray(y.data))return T(y.data)}function X(y){if(y>=s)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s.toString(16)+" bytes");return y|0}function Y(y){return+y!=y&&(y=0),d.alloc(+y)}d.isBuffer=function(p){return p!=null&&p._isBuffer===!0&&p!==d.prototype},d.compare=function(p,f){if(Yt(p,Uint8Array)&&(p=d.from(p,p.offset,p.byteLength)),Yt(f,Uint8Array)&&(f=d.from(f,f.offset,f.byteLength)),!d.isBuffer(p)||!d.isBuffer(f))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(p===f)return 0;let m=p.length,_=f.length;for(let l=0,g=Math.min(m,_);l<g;++l)if(p[l]!==f[l]){m=p[l],_=f[l];break}return m<_?-1:_<m?1:0},d.isEncoding=function(p){switch(String(p).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},d.concat=function(p,f){if(!Array.isArray(p))throw new TypeError('"list" argument must be an Array of Buffers');if(p.length===0)return d.alloc(0);let m;if(f===void 0)for(f=0,m=0;m<p.length;++m)f+=p[m].length;const _=d.allocUnsafe(f);let l=0;for(m=0;m<p.length;++m){let g=p[m];if(Yt(g,Uint8Array))l+g.length>_.length?(d.isBuffer(g)||(g=d.from(g)),g.copy(_,l)):Uint8Array.prototype.set.call(_,g,l);else if(d.isBuffer(g))g.copy(_,l);else throw new TypeError('"list" argument must be an Array of Buffers');l+=g.length}return _};function ae(y,p){if(d.isBuffer(y))return y.length;if(ArrayBuffer.isView(y)||Yt(y,ArrayBuffer))return y.byteLength;if(typeof y!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof y);const f=y.length,m=arguments.length>2&&arguments[2]===!0;if(!m&&f===0)return 0;let _=!1;for(;;)switch(p){case"ascii":case"latin1":case"binary":return f;case"utf8":case"utf-8":return Pi(y).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return f*2;case"hex":return f>>>1;case"base64":return so(y).length;default:if(_)return m?-1:Pi(y).length;p=(""+p).toLowerCase(),_=!0}}d.byteLength=ae;function ot(y,p,f){let m=!1;if((p===void 0||p<0)&&(p=0),p>this.length||((f===void 0||f>this.length)&&(f=this.length),f<=0)||(f>>>=0,p>>>=0,f<=p))return"";for(y||(y="utf8");;)switch(y){case"hex":return Vo(this,p,f);case"utf8":case"utf-8":return Ho(this,p,f);case"ascii":return qo(this,p,f);case"latin1":case"binary":return zo(this,p,f);case"base64":return Cs(this,p,f);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Go(this,p,f);default:if(m)throw new TypeError("Unknown encoding: "+y);y=(y+"").toLowerCase(),m=!0}}d.prototype._isBuffer=!0;function de(y,p,f){const m=y[p];y[p]=y[f],y[f]=m}d.prototype.swap16=function(){const p=this.length;if(p%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let f=0;f<p;f+=2)de(this,f,f+1);return this},d.prototype.swap32=function(){const p=this.length;if(p%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let f=0;f<p;f+=4)de(this,f,f+3),de(this,f+1,f+2);return this},d.prototype.swap64=function(){const p=this.length;if(p%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let f=0;f<p;f+=8)de(this,f,f+7),de(this,f+1,f+6),de(this,f+2,f+5),de(this,f+3,f+4);return this},d.prototype.toString=function(){const p=this.length;return p===0?"":arguments.length===0?Ho(this,0,p):ot.apply(this,arguments)},d.prototype.toLocaleString=d.prototype.toString,d.prototype.equals=function(p){if(!d.isBuffer(p))throw new TypeError("Argument must be a Buffer");return this===p?!0:d.compare(this,p)===0},d.prototype.inspect=function(){let p="";const f=r.INSPECT_MAX_BYTES;return p=this.toString("hex",0,f).replace(/(.{2})/g,"$1 ").trim(),this.length>f&&(p+=" ... "),"<Buffer "+p+">"},n&&(d.prototype[n]=d.prototype.inspect),d.prototype.compare=function(p,f,m,_,l){if(Yt(p,Uint8Array)&&(p=d.from(p,p.offset,p.byteLength)),!d.isBuffer(p))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof p);if(f===void 0&&(f=0),m===void 0&&(m=p?p.length:0),_===void 0&&(_=0),l===void 0&&(l=this.length),f<0||m>p.length||_<0||l>this.length)throw new RangeError("out of range index");if(_>=l&&f>=m)return 0;if(_>=l)return-1;if(f>=m)return 1;if(f>>>=0,m>>>=0,_>>>=0,l>>>=0,this===p)return 0;let g=l-_,O=m-f;const N=Math.min(g,O),I=this.slice(_,l),ee=p.slice(f,m);for(let J=0;J<N;++J)if(I[J]!==ee[J]){g=I[J],O=ee[J];break}return g<O?-1:O<g?1:0};function tn(y,p,f,m,_){if(y.length===0)return-1;if(typeof f=="string"?(m=f,f=0):f>2147483647?f=2147483647:f<-2147483648&&(f=-2147483648),f=+f,co(f)&&(f=_?0:y.length-1),f<0&&(f=y.length+f),f>=y.length){if(_)return-1;f=y.length-1}else if(f<0)if(_)f=0;else return-1;if(typeof p=="string"&&(p=d.from(p,m)),d.isBuffer(p))return p.length===0?-1:yn(y,p,f,m,_);if(typeof p=="number")return p=p&255,typeof Uint8Array.prototype.indexOf=="function"?_?Uint8Array.prototype.indexOf.call(y,p,f):Uint8Array.prototype.lastIndexOf.call(y,p,f):yn(y,[p],f,m,_);throw new TypeError("val must be string, number or Buffer")}function yn(y,p,f,m,_){let l=1,g=y.length,O=p.length;if(m!==void 0&&(m=String(m).toLowerCase(),m==="ucs2"||m==="ucs-2"||m==="utf16le"||m==="utf-16le")){if(y.length<2||p.length<2)return-1;l=2,g/=2,O/=2,f/=2}function N(ee,J){return l===1?ee[J]:ee.readUInt16BE(J*l)}let I;if(_){let ee=-1;for(I=f;I<g;I++)if(N(y,I)===N(p,ee===-1?0:I-ee)){if(ee===-1&&(ee=I),I-ee+1===O)return ee*l}else ee!==-1&&(I-=I-ee),ee=-1}else for(f+O>g&&(f=g-O),I=f;I>=0;I--){let ee=!0;for(let J=0;J<O;J++)if(N(y,I+J)!==N(p,J)){ee=!1;break}if(ee)return I}return-1}d.prototype.includes=function(p,f,m){return this.indexOf(p,f,m)!==-1},d.prototype.indexOf=function(p,f,m){return tn(this,p,f,m,!0)},d.prototype.lastIndexOf=function(p,f,m){return tn(this,p,f,m,!1)};function Nr(y,p,f,m){f=Number(f)||0;const _=y.length-f;m?(m=Number(m),m>_&&(m=_)):m=_;const l=p.length;m>l/2&&(m=l/2);let g;for(g=0;g<m;++g){const O=parseInt(p.substr(g*2,2),16);if(co(O))return g;y[f+g]=O}return g}function Oi(y,p,f,m){return zr(Pi(p,y.length-f),y,f,m)}function Is(y,p,f,m){return zr(Xo(p),y,f,m)}function $s(y,p,f,m){return zr(so(p),y,f,m)}function Us(y,p,f,m){return zr(Yo(p,y.length-f),y,f,m)}d.prototype.write=function(p,f,m,_){if(f===void 0)_="utf8",m=this.length,f=0;else if(m===void 0&&typeof f=="string")_=f,m=this.length,f=0;else if(isFinite(f))f=f>>>0,isFinite(m)?(m=m>>>0,_===void 0&&(_="utf8")):(_=m,m=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");const l=this.length-f;if((m===void 0||m>l)&&(m=l),p.length>0&&(m<0||f<0)||f>this.length)throw new RangeError("Attempt to write outside buffer bounds");_||(_="utf8");let g=!1;for(;;)switch(_){case"hex":return Nr(this,p,f,m);case"utf8":case"utf-8":return Oi(this,p,f,m);case"ascii":case"latin1":case"binary":return Is(this,p,f,m);case"base64":return $s(this,p,f,m);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Us(this,p,f,m);default:if(g)throw new TypeError("Unknown encoding: "+_);_=(""+_).toLowerCase(),g=!0}},d.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Cs(y,p,f){return p===0&&f===y.length?e.fromByteArray(y):e.fromByteArray(y.slice(p,f))}function Ho(y,p,f){f=Math.min(y.length,f);const m=[];let _=p;for(;_<f;){const l=y[_];let g=null,O=l>239?4:l>223?3:l>191?2:1;if(_+O<=f){let N,I,ee,J;switch(O){case 1:l<128&&(g=l);break;case 2:N=y[_+1],(N&192)===128&&(J=(l&31)<<6|N&63,J>127&&(g=J));break;case 3:N=y[_+1],I=y[_+2],(N&192)===128&&(I&192)===128&&(J=(l&15)<<12|(N&63)<<6|I&63,J>2047&&(J<55296||J>57343)&&(g=J));break;case 4:N=y[_+1],I=y[_+2],ee=y[_+3],(N&192)===128&&(I&192)===128&&(ee&192)===128&&(J=(l&15)<<18|(N&63)<<12|(I&63)<<6|ee&63,J>65535&&J<1114112&&(g=J))}}g===null?(g=65533,O=1):g>65535&&(g-=65536,m.push(g>>>10&1023|55296),g=56320|g&1023),m.push(g),_+=O}return ro(m)}const no=4096;function ro(y){const p=y.length;if(p<=no)return String.fromCharCode.apply(String,y);let f="",m=0;for(;m<p;)f+=String.fromCharCode.apply(String,y.slice(m,m+=no));return f}function qo(y,p,f){let m="";f=Math.min(y.length,f);for(let _=p;_<f;++_)m+=String.fromCharCode(y[_]&127);return m}function zo(y,p,f){let m="";f=Math.min(y.length,f);for(let _=p;_<f;++_)m+=String.fromCharCode(y[_]);return m}function Vo(y,p,f){const m=y.length;(!p||p<0)&&(p=0),(!f||f<0||f>m)&&(f=m);let _="";for(let l=p;l<f;++l)_+=Ds[y[l]];return _}function Go(y,p,f){const m=y.slice(p,f);let _="";for(let l=0;l<m.length-1;l+=2)_+=String.fromCharCode(m[l]+m[l+1]*256);return _}d.prototype.slice=function(p,f){const m=this.length;p=~~p,f=f===void 0?m:~~f,p<0?(p+=m,p<0&&(p=0)):p>m&&(p=m),f<0?(f+=m,f<0&&(f=0)):f>m&&(f=m),f<p&&(f=p);const _=this.subarray(p,f);return Object.setPrototypeOf(_,d.prototype),_};function Qe(y,p,f){if(y%1!==0||y<0)throw new RangeError("offset is not uint");if(y+p>f)throw new RangeError("Trying to access beyond buffer length")}d.prototype.readUintLE=d.prototype.readUIntLE=function(p,f,m){p=p>>>0,f=f>>>0,m||Qe(p,f,this.length);let _=this[p],l=1,g=0;for(;++g<f&&(l*=256);)_+=this[p+g]*l;return _},d.prototype.readUintBE=d.prototype.readUIntBE=function(p,f,m){p=p>>>0,f=f>>>0,m||Qe(p,f,this.length);let _=this[p+--f],l=1;for(;f>0&&(l*=256);)_+=this[p+--f]*l;return _},d.prototype.readUint8=d.prototype.readUInt8=function(p,f){return p=p>>>0,f||Qe(p,1,this.length),this[p]},d.prototype.readUint16LE=d.prototype.readUInt16LE=function(p,f){return p=p>>>0,f||Qe(p,2,this.length),this[p]|this[p+1]<<8},d.prototype.readUint16BE=d.prototype.readUInt16BE=function(p,f){return p=p>>>0,f||Qe(p,2,this.length),this[p]<<8|this[p+1]},d.prototype.readUint32LE=d.prototype.readUInt32LE=function(p,f){return p=p>>>0,f||Qe(p,4,this.length),(this[p]|this[p+1]<<8|this[p+2]<<16)+this[p+3]*16777216},d.prototype.readUint32BE=d.prototype.readUInt32BE=function(p,f){return p=p>>>0,f||Qe(p,4,this.length),this[p]*16777216+(this[p+1]<<16|this[p+2]<<8|this[p+3])},d.prototype.readBigUInt64LE=xn(function(p){p=p>>>0,Sn(p,"offset");const f=this[p],m=this[p+7];(f===void 0||m===void 0)&&Ar(p,this.length-8);const _=f+this[++p]*2**8+this[++p]*2**16+this[++p]*2**24,l=this[++p]+this[++p]*2**8+this[++p]*2**16+m*2**24;return BigInt(_)+(BigInt(l)<<BigInt(32))}),d.prototype.readBigUInt64BE=xn(function(p){p=p>>>0,Sn(p,"offset");const f=this[p],m=this[p+7];(f===void 0||m===void 0)&&Ar(p,this.length-8);const _=f*2**24+this[++p]*2**16+this[++p]*2**8+this[++p],l=this[++p]*2**24+this[++p]*2**16+this[++p]*2**8+m;return(BigInt(_)<<BigInt(32))+BigInt(l)}),d.prototype.readIntLE=function(p,f,m){p=p>>>0,f=f>>>0,m||Qe(p,f,this.length);let _=this[p],l=1,g=0;for(;++g<f&&(l*=256);)_+=this[p+g]*l;return l*=128,_>=l&&(_-=Math.pow(2,8*f)),_},d.prototype.readIntBE=function(p,f,m){p=p>>>0,f=f>>>0,m||Qe(p,f,this.length);let _=f,l=1,g=this[p+--_];for(;_>0&&(l*=256);)g+=this[p+--_]*l;return l*=128,g>=l&&(g-=Math.pow(2,8*f)),g},d.prototype.readInt8=function(p,f){return p=p>>>0,f||Qe(p,1,this.length),this[p]&128?(255-this[p]+1)*-1:this[p]},d.prototype.readInt16LE=function(p,f){p=p>>>0,f||Qe(p,2,this.length);const m=this[p]|this[p+1]<<8;return m&32768?m|4294901760:m},d.prototype.readInt16BE=function(p,f){p=p>>>0,f||Qe(p,2,this.length);const m=this[p+1]|this[p]<<8;return m&32768?m|4294901760:m},d.prototype.readInt32LE=function(p,f){return p=p>>>0,f||Qe(p,4,this.length),this[p]|this[p+1]<<8|this[p+2]<<16|this[p+3]<<24},d.prototype.readInt32BE=function(p,f){return p=p>>>0,f||Qe(p,4,this.length),this[p]<<24|this[p+1]<<16|this[p+2]<<8|this[p+3]},d.prototype.readBigInt64LE=xn(function(p){p=p>>>0,Sn(p,"offset");const f=this[p],m=this[p+7];(f===void 0||m===void 0)&&Ar(p,this.length-8);const _=this[p+4]+this[p+5]*2**8+this[p+6]*2**16+(m<<24);return(BigInt(_)<<BigInt(32))+BigInt(f+this[++p]*2**8+this[++p]*2**16+this[++p]*2**24)}),d.prototype.readBigInt64BE=xn(function(p){p=p>>>0,Sn(p,"offset");const f=this[p],m=this[p+7];(f===void 0||m===void 0)&&Ar(p,this.length-8);const _=(f<<24)+this[++p]*2**16+this[++p]*2**8+this[++p];return(BigInt(_)<<BigInt(32))+BigInt(this[++p]*2**24+this[++p]*2**16+this[++p]*2**8+m)}),d.prototype.readFloatLE=function(p,f){return p=p>>>0,f||Qe(p,4,this.length),t.read(this,p,!0,23,4)},d.prototype.readFloatBE=function(p,f){return p=p>>>0,f||Qe(p,4,this.length),t.read(this,p,!1,23,4)},d.prototype.readDoubleLE=function(p,f){return p=p>>>0,f||Qe(p,8,this.length),t.read(this,p,!0,52,8)},d.prototype.readDoubleBE=function(p,f){return p=p>>>0,f||Qe(p,8,this.length),t.read(this,p,!1,52,8)};function ft(y,p,f,m,_,l){if(!d.isBuffer(y))throw new TypeError('"buffer" argument must be a Buffer instance');if(p>_||p<l)throw new RangeError('"value" argument is out of bounds');if(f+m>y.length)throw new RangeError("Index out of range")}d.prototype.writeUintLE=d.prototype.writeUIntLE=function(p,f,m,_){if(p=+p,f=f>>>0,m=m>>>0,!_){const O=Math.pow(2,8*m)-1;ft(this,p,f,m,O,0)}let l=1,g=0;for(this[f]=p&255;++g<m&&(l*=256);)this[f+g]=p/l&255;return f+m},d.prototype.writeUintBE=d.prototype.writeUIntBE=function(p,f,m,_){if(p=+p,f=f>>>0,m=m>>>0,!_){const O=Math.pow(2,8*m)-1;ft(this,p,f,m,O,0)}let l=m-1,g=1;for(this[f+l]=p&255;--l>=0&&(g*=256);)this[f+l]=p/g&255;return f+m},d.prototype.writeUint8=d.prototype.writeUInt8=function(p,f,m){return p=+p,f=f>>>0,m||ft(this,p,f,1,255,0),this[f]=p&255,f+1},d.prototype.writeUint16LE=d.prototype.writeUInt16LE=function(p,f,m){return p=+p,f=f>>>0,m||ft(this,p,f,2,65535,0),this[f]=p&255,this[f+1]=p>>>8,f+2},d.prototype.writeUint16BE=d.prototype.writeUInt16BE=function(p,f,m){return p=+p,f=f>>>0,m||ft(this,p,f,2,65535,0),this[f]=p>>>8,this[f+1]=p&255,f+2},d.prototype.writeUint32LE=d.prototype.writeUInt32LE=function(p,f,m){return p=+p,f=f>>>0,m||ft(this,p,f,4,4294967295,0),this[f+3]=p>>>24,this[f+2]=p>>>16,this[f+1]=p>>>8,this[f]=p&255,f+4},d.prototype.writeUint32BE=d.prototype.writeUInt32BE=function(p,f,m){return p=+p,f=f>>>0,m||ft(this,p,f,4,4294967295,0),this[f]=p>>>24,this[f+1]=p>>>16,this[f+2]=p>>>8,this[f+3]=p&255,f+4};function G(y,p,f,m,_){io(p,m,_,y,f,7);let l=Number(p&BigInt(4294967295));y[f++]=l,l=l>>8,y[f++]=l,l=l>>8,y[f++]=l,l=l>>8,y[f++]=l;let g=Number(p>>BigInt(32)&BigInt(4294967295));return y[f++]=g,g=g>>8,y[f++]=g,g=g>>8,y[f++]=g,g=g>>8,y[f++]=g,f}function ir(y,p,f,m,_){io(p,m,_,y,f,7);let l=Number(p&BigInt(4294967295));y[f+7]=l,l=l>>8,y[f+6]=l,l=l>>8,y[f+5]=l,l=l>>8,y[f+4]=l;let g=Number(p>>BigInt(32)&BigInt(4294967295));return y[f+3]=g,g=g>>8,y[f+2]=g,g=g>>8,y[f+1]=g,g=g>>8,y[f]=g,f+8}d.prototype.writeBigUInt64LE=xn(function(p,f=0){return G(this,p,f,BigInt(0),BigInt("0xffffffffffffffff"))}),d.prototype.writeBigUInt64BE=xn(function(p,f=0){return ir(this,p,f,BigInt(0),BigInt("0xffffffffffffffff"))}),d.prototype.writeIntLE=function(p,f,m,_){if(p=+p,f=f>>>0,!_){const N=Math.pow(2,8*m-1);ft(this,p,f,m,N-1,-N)}let l=0,g=1,O=0;for(this[f]=p&255;++l<m&&(g*=256);)p<0&&O===0&&this[f+l-1]!==0&&(O=1),this[f+l]=(p/g>>0)-O&255;return f+m},d.prototype.writeIntBE=function(p,f,m,_){if(p=+p,f=f>>>0,!_){const N=Math.pow(2,8*m-1);ft(this,p,f,m,N-1,-N)}let l=m-1,g=1,O=0;for(this[f+l]=p&255;--l>=0&&(g*=256);)p<0&&O===0&&this[f+l+1]!==0&&(O=1),this[f+l]=(p/g>>0)-O&255;return f+m},d.prototype.writeInt8=function(p,f,m){return p=+p,f=f>>>0,m||ft(this,p,f,1,127,-128),p<0&&(p=255+p+1),this[f]=p&255,f+1},d.prototype.writeInt16LE=function(p,f,m){return p=+p,f=f>>>0,m||ft(this,p,f,2,32767,-32768),this[f]=p&255,this[f+1]=p>>>8,f+2},d.prototype.writeInt16BE=function(p,f,m){return p=+p,f=f>>>0,m||ft(this,p,f,2,32767,-32768),this[f]=p>>>8,this[f+1]=p&255,f+2},d.prototype.writeInt32LE=function(p,f,m){return p=+p,f=f>>>0,m||ft(this,p,f,4,2147483647,-2147483648),this[f]=p&255,this[f+1]=p>>>8,this[f+2]=p>>>16,this[f+3]=p>>>24,f+4},d.prototype.writeInt32BE=function(p,f,m){return p=+p,f=f>>>0,m||ft(this,p,f,4,2147483647,-2147483648),p<0&&(p=4294967295+p+1),this[f]=p>>>24,this[f+1]=p>>>16,this[f+2]=p>>>8,this[f+3]=p&255,f+4},d.prototype.writeBigInt64LE=xn(function(p,f=0){return G(this,p,f,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),d.prototype.writeBigInt64BE=xn(function(p,f=0){return ir(this,p,f,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function Wo(y,p,f,m,_,l){if(f+m>y.length)throw new RangeError("Index out of range");if(f<0)throw new RangeError("Index out of range")}function Ve(y,p,f,m,_){return p=+p,f=f>>>0,_||Wo(y,p,f,4),t.write(y,p,f,m,23,4),f+4}d.prototype.writeFloatLE=function(p,f,m){return Ve(this,p,f,!0,m)},d.prototype.writeFloatBE=function(p,f,m){return Ve(this,p,f,!1,m)};function Ko(y,p,f,m,_){return p=+p,f=f>>>0,_||Wo(y,p,f,8),t.write(y,p,f,m,52,8),f+8}d.prototype.writeDoubleLE=function(p,f,m){return Ko(this,p,f,!0,m)},d.prototype.writeDoubleBE=function(p,f,m){return Ko(this,p,f,!1,m)},d.prototype.copy=function(p,f,m,_){if(!d.isBuffer(p))throw new TypeError("argument should be a Buffer");if(m||(m=0),!_&&_!==0&&(_=this.length),f>=p.length&&(f=p.length),f||(f=0),_>0&&_<m&&(_=m),_===m||p.length===0||this.length===0)return 0;if(f<0)throw new RangeError("targetStart out of bounds");if(m<0||m>=this.length)throw new RangeError("Index out of range");if(_<0)throw new RangeError("sourceEnd out of bounds");_>this.length&&(_=this.length),p.length-f<_-m&&(_=p.length-f+m);const l=_-m;return this===p&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(f,m,_):Uint8Array.prototype.set.call(p,this.subarray(m,_),f),l},d.prototype.fill=function(p,f,m,_){if(typeof p=="string"){if(typeof f=="string"?(_=f,f=0,m=this.length):typeof m=="string"&&(_=m,m=this.length),_!==void 0&&typeof _!="string")throw new TypeError("encoding must be a string");if(typeof _=="string"&&!d.isEncoding(_))throw new TypeError("Unknown encoding: "+_);if(p.length===1){const g=p.charCodeAt(0);(_==="utf8"&&g<128||_==="latin1")&&(p=g)}}else typeof p=="number"?p=p&255:typeof p=="boolean"&&(p=Number(p));if(f<0||this.length<f||this.length<m)throw new RangeError("Out of range index");if(m<=f)return this;f=f>>>0,m=m===void 0?this.length:m>>>0,p||(p=0);let l;if(typeof p=="number")for(l=f;l<m;++l)this[l]=p;else{const g=d.isBuffer(p)?p:d.from(p,_),O=g.length;if(O===0)throw new TypeError('The value "'+p+'" is invalid for argument "value"');for(l=0;l<m-f;++l)this[l+f]=g[l%O]}return this};const Tr={};function Ri(y,p,f){Tr[y]=class extends f{constructor(){super(),Object.defineProperty(this,"message",{value:p.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${y}]`,this.stack,delete this.name}get code(){return y}set code(_){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:_,writable:!0})}toString(){return`${this.name} [${y}]: ${this.message}`}}}Ri("ERR_BUFFER_OUT_OF_BOUNDS",function(y){return y?`${y} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),Ri("ERR_INVALID_ARG_TYPE",function(y,p){return`The "${y}" argument must be of type number. Received type ${typeof p}`},TypeError),Ri("ERR_OUT_OF_RANGE",function(y,p,f){let m=`The value of "${y}" is out of range.`,_=f;return Number.isInteger(f)&&Math.abs(f)>2**32?_=Jo(String(f)):typeof f=="bigint"&&(_=String(f),(f>BigInt(2)**BigInt(32)||f<-(BigInt(2)**BigInt(32)))&&(_=Jo(_)),_+="n"),m+=` It must be ${p}. Received ${_}`,m},RangeError);function Jo(y){let p="",f=y.length;const m=y[0]==="-"?1:0;for(;f>=m+4;f-=3)p=`_${y.slice(f-3,f)}${p}`;return`${y.slice(0,f)}${p}`}function ln(y,p,f){Sn(p,"offset"),(y[p]===void 0||y[p+f]===void 0)&&Ar(p,y.length-(f+1))}function io(y,p,f,m,_,l){if(y>f||y<p){const g=typeof p=="bigint"?"n":"";let O;throw p===0||p===BigInt(0)?O=`>= 0${g} and < 2${g} ** ${(l+1)*8}${g}`:O=`>= -(2${g} ** ${(l+1)*8-1}${g}) and < 2 ** ${(l+1)*8-1}${g}`,new Tr.ERR_OUT_OF_RANGE("value",O,y)}ln(m,_,l)}function Sn(y,p){if(typeof y!="number")throw new Tr.ERR_INVALID_ARG_TYPE(p,"number",y)}function Ar(y,p,f){throw Math.floor(y)!==y?(Sn(y,f),new Tr.ERR_OUT_OF_RANGE("offset","an integer",y)):p<0?new Tr.ERR_BUFFER_OUT_OF_BOUNDS:new Tr.ERR_OUT_OF_RANGE("offset",`>= 0 and <= ${p}`,y)}const Fs=/[^+/0-9A-Za-z-_]/g;function oo(y){if(y=y.split("=")[0],y=y.trim().replace(Fs,""),y.length<2)return"";for(;y.length%4!==0;)y=y+"=";return y}function Pi(y,p){p=p||1/0;let f;const m=y.length;let _=null;const l=[];for(let g=0;g<m;++g){if(f=y.charCodeAt(g),f>55295&&f<57344){if(!_){if(f>56319){(p-=3)>-1&&l.push(239,191,189);continue}else if(g+1===m){(p-=3)>-1&&l.push(239,191,189);continue}_=f;continue}if(f<56320){(p-=3)>-1&&l.push(239,191,189),_=f;continue}f=(_-55296<<10|f-56320)+65536}else _&&(p-=3)>-1&&l.push(239,191,189);if(_=null,f<128){if((p-=1)<0)break;l.push(f)}else if(f<2048){if((p-=2)<0)break;l.push(f>>6|192,f&63|128)}else if(f<65536){if((p-=3)<0)break;l.push(f>>12|224,f>>6&63|128,f&63|128)}else if(f<1114112){if((p-=4)<0)break;l.push(f>>18|240,f>>12&63|128,f>>6&63|128,f&63|128)}else throw new Error("Invalid code point")}return l}function Xo(y){const p=[];for(let f=0;f<y.length;++f)p.push(y.charCodeAt(f)&255);return p}function Yo(y,p){let f,m,_;const l=[];for(let g=0;g<y.length&&!((p-=2)<0);++g)f=y.charCodeAt(g),m=f>>8,_=f%256,l.push(_),l.push(m);return l}function so(y){return e.toByteArray(oo(y))}function zr(y,p,f,m){let _;for(_=0;_<m&&!(_+f>=p.length||_>=y.length);++_)p[_+f]=y[_];return _}function Yt(y,p){return y instanceof p||y!=null&&y.constructor!=null&&y.constructor.name!=null&&y.constructor.name===p.name}function co(y){return y!==y}const Ds=function(){const y="0123456789abcdef",p=new Array(256);for(let f=0;f<16;++f){const m=f*16;for(let _=0;_<16;++_)p[m+_]=y[f]+y[_]}return p}();function xn(y){return typeof BigInt>"u"?ks:y}function ks(){throw new Error("BigInt not supported")}}(ys)),ys}var My=Vl(),Gl=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i};u.JSONCodec=class extends u.Codec{constructor(){super(...arguments);o(this,"encoder",new TextEncoder);o(this,"decoder",new TextDecoder)}decode(t,n){const s=this.decoder.decode(t);if(!n||!n.constructor)return JSON.parse(s);const i=JSON.parse(s);if(typeof i!="object"&&typeof i!="function"||i==null)return i;switch(n.name){case"Object":return i}return this.decorateAny(n,i)}decorateAny(t,n){const s=t instanceof or,i=s?t.raw:t;if(!i)return n;switch(i){case Map:{if(n==null)return{};if(!s||t.parameters.length<1)return n;const a={};for(const d of Object.keys(n))a[this.decorateAny(t.parameters[0],d)]=this.decorateAny(t.parameters[1],n[d]);return a}case Array:return n==null?[]:!s||t.parameters.length<1?n:n.map(a=>this.decorateAny(t.parameters[0],a));case Oe:{if(n==null)return null;const a=new i;if(!s||t.parameters.length<1)return Object.assign(a,n);Object.assign(a,n);const d=[];for(let v of a.data||[])d.push(this.decorateAny(t.parameters[0],v));return a.data=d,a}case String:case Number:case Boolean:case Object:return n;case Date:return n==null||n<1?null:new Date(n);case Uint8Array:return n==null?null:n instanceof Uint8Array?n:My.Buffer.from(n,"base64");default:{if(n==null)return null;const a=new i;for(const d of Object.keys(a)){const v=$e.metadata(sr,i,d);if(!v){Reflect.set(a,d,n[d]);continue}const j=n[d]??n[v.name];Reflect.set(a,d,this.decorateAny(v.kind,j))}return a}}}encode(t){return this.encoder.encode(JSON.stringify(t,(n,s)=>{if(s==null||Array.isArray(s))return s;if(!$e.annotated(s.constructor))return this.encodeAny(s);const i=new Map;for(let d in s){const v=$e.metadata(sr,s.constructor,d);v!=null&&v.name&&v.name.length>0&&v.name!=d&&i.set(d,v.name),((v==null?void 0:v.kind)==Uint8Array||(v==null?void 0:v.kind)==Date||(v==null?void 0:v.kind)==Map)&&Reflect.set(s,d,this.encodeAny(Reflect.get(s,d)))}if(i.size<1)return this.encodeAny(s);const a={};for(let d in s)a[i.get(d)??d]=s[d];return this.encodeAny(a)}))}encodeAny(t){return t instanceof Uint8Array?My.Buffer.from(t).toString("base64"):t instanceof Date?t.getTime():t instanceof Map?Object.fromEntries(t):t}uint8ify(t){return this.encoder.encode(t)}stringify(t){return this.decoder.decode(t)}},u.JSONCodec=Gl([B(u.Codec.JSON)],u.JSONCodec);var Br=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i},Xi=function(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)},Ro;u.Compiler=class{},u.Compiler=Br([B("mesh")],u.Compiler);function Wl(r){return{}}u.TSCompiler=(Er=class extends u.Compiler{compile(e,t){}intype(e){return Ro.parameters.computeIfy(e,t=>{var n;class s{constructor(){o(this,"attachments",new Map)}getAttachments(){return this.attachments}map(){return Object.assign(new Map,this)}setAttachments(a){(a||{}).forEach((d,v)=>this.attachments.set(v,d))}getArguments(){return t.getParameters().map(a=>{var d;return(d=Object.getOwnPropertyDescriptor(this,a.name))==null?void 0:d.value})}setArguments(a){const d=tt.load(u.Codec).getDefault();t.getParameters().forEach((v,j)=>{if(a&&a.length>v.index&&!(a[v.index]instanceof fo)){const R=a[v.index];if(R==null)return;if(R instanceof v.kind&&!(v.kind instanceof or)){Reflect.set(this,v.name,R);return}switch(v.kind){case Map:case Array:case String:case Number:case Boolean:case Object:case Date:case Uint8Array:Reflect.set(this,v.name,R);break;default:const E=d.encode(R),D=d.decode(E,v.kind);Reflect.set(this,v.name,D)}}})}}return Br([c(-1,"attachments",Map),Xi("design:type",typeof(n=typeof Map<"u"&&Map)=="function"?n:Object)],s.prototype,"attachments",void 0),s})}retype(e){return Ro.returns.computeIfy(e,t=>{class n{constructor(){o(this,"code","");o(this,"message","");o(this,"content");o(this,"cause")}getCause(){return this.cause}getCode(){return this.code}getContent(){return this.content}getMessage(){return this.message}setCause(i){this.cause=i}setCode(i){this.code=i}setContent(i){this.content=i}setMessage(i){this.message=i}}return Br([c(0),Xi("design:type",String)],n.prototype,"code",void 0),Br([c(5),Xi("design:type",String)],n.prototype,"message",void 0),Br([c(10,"content",t.getReturnType()),Xi("design:type",Object)],n.prototype,"content",void 0),Br([c(15,"cause",xt),Xi("design:type",Object)],n.prototype,"cause",void 0),n})}},Ro=Er,o(Er,"parameters",new q),o(Er,"returns",new q),Er),u.TSCompiler=Ro=Br([B("mesh")],u.TSCompiler);var Kl=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i};u.Consumer=(vi=class{},o(vi,"HTTP","http"),o(vi,"GRPC","grpc"),o(vi,"TCP","tcp"),o(vi,"MQTT","mqtt"),vi),u.Consumer=Kl([B(u.Consumer.HTTP)],u.Consumer);class Po{constructor(e){o(this,"servers",new vt);o(this,"availableAddrs",new vt);o(this,"relativePath",!1);for(const t of(e||"").split(","))t&&t.trim().length>0&&!this.availableAddrs.includes(t)&&(this.servers.push(new Iy(!0,t)),this.availableAddrs.push(t))}any(){if(this.relativePath)return"";const e=this.availableAddrs;return!e||e.length<1?"":e[Math.floor(Math.random()*e.length)]}relative(e){this.relativePath=e}}class Iy{constructor(e,t){o(this,"available");o(this,"address");this.available=e,this.address=t}}class Jl{constructor(e){o(this,"value");o(this,"fn");this.fn=e}get(){return this.value??(this.value=this.fn()),this.value}}const Lo=class Lo{static substring(e,t,n){return!e||e.length>t+n?"":e.substring(t,t+n)}static repeat(e,t){const n=[];for(let s=0;s<t;++s)n.push(e);return n.join("")}static anyone(...e){for(let t of e)if(t&&t.length>0)return t;return""}static traceId(){return""}static spanId(e,t){return""}static newEntity(e){if(!e)return new De;const t=tt.load(u.Codec),n=new De;return n.codec=t.defaultName(),n.schema="",n.buffer=t.getDefault().encode(e),n}static newCacheEntity(e,t,n){const s=Lo.newEntity(t),i=new jt;return i.version="1.0.0",i.entity=s,i.timestamp=Date.now(),i.duration=n,i.key=e,i}static readObject(e,t){return!e.buffer||e.buffer.length<1?null:tt.load(u.Codec).get(e.codec??u.Codec.JSON).decode(e.buffer,t)}static compareVersion(e,t){if(!e)return-1;if(!t)return 1;const n=e.split("."),s=t.split(".");for(let i=0;i<n.length;i++){if(s.length<=i)return 0;if(s[i]=="*")continue;const a=n[i].localeCompare(s[i]);if(a!=0)return a}return 0}static ofError(e){return new xt}static ofCause(e,t,n){throw new Error}static hexString(e){const t=new TextEncoder().encode(e),n="0123456789abcdef";let s="";for(const i of t){const a=i;s+=n[a>>4],s+=n[a&15]}return s}};o(Lo,"MESH_ADDRESS",new Jl(()=>typeof process<"u"&&process.env.MESH_ADDRESS?new Po(process.env.MESH_ADDRESS):globalThis.window!==void 0?new Po(`${globalThis.location.origin}/`):new Po("http://127.0.0.1:443/")));let _e=Lo;var Xl=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i};class Yi extends fo{constructor(){super(...arguments);o(this,"traceId","");o(this,"spanId","");o(this,"timestamp",0);o(this,"runMode",0);o(this,"urn","");o(this,"consumer",new yr);o(this,"calls",0);o(this,"attachments",new Map);o(this,"attributes",new Map);o(this,"principals",new Vs)}static create(){const t=new Yi;return t.traceId=_e.traceId(),t.spanId=_e.spanId("",0),t.timestamp=new Date().getTime(),t.runMode=0,t.urn="",t.consumer=new yr,t}getAttachments(){return this.attachments}getAttribute(t){return this.attributes.get(t.name)}getAttributes(){return this.attributes}getConsumer(t){return this.consumer}getPrincipals(){return this.principals}getProvider(t){return new yr}getRunMode(){return this.runMode}getSpanId(){return this.spanId}getTimestamp(){return this.timestamp}getTraceId(){return this.traceId}getUrn(){return this.urn}setAttribute(t,n){this.attributes.set(t.name,n)}resume(){this.calls++;const t=new Yi;return t.traceId=this.getTraceId(),t.spanId=_e.spanId(this.getSpanId(),this.calls),t.timestamp=this.getTimestamp(),t.runMode=this.getRunMode(),t.urn=this.getUrn(),t.consumer=this.getConsumer(this),this.getAttachments()&&this.getAttachments().forEach((n,s)=>t.attachments.set(n,s)),this.getAttributes()&&this.getAttributes().forEach((n,s)=>t.attributes.set(n,s)),this.getPrincipals()&&this.getPrincipals().forEach(n=>t.principals.push(n)),t}rewriteContext(t){t.getTraceId()&&(this.traceId=t.getTraceId()),t.getSpanId()&&(this.spanId=t.getSpanId()),t.getTimestamp()&&t.getTimestamp()>0&&(this.timestamp=t.getTimestamp()),t.getRunMode()&&t.getRunMode()>0&&(this.runMode=t.getRunMode()),t.getUrn()&&(this.urn=t.getUrn()),t.getConsumer(this)&&(this.consumer=t.getConsumer(this)),this.getAttachments()&&this.getAttachments().forEach((n,s)=>this.attachments.set(n,s)),this.getAttributes()&&this.getAttributes().forEach((n,s)=>this.attributes.set(n,s)),this.getPrincipals()&&this.getPrincipals().forEach(n=>this.principals.push(n))}rewriteURN(t){this.urn=t}}u.MeshContextProvider=class extends u.ContextProvider{context(){return Yi.create()}},u.MeshContextProvider=Xl([B("mesh")],u.MeshContextProvider);var Yl=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i};u.Eden=class{},u.Eden=Yl([B("mesh")],u.Eden);class et{}o(et,"REMOTE",new cr("mesh.mpc.address")),o(et,"REMOTE_NAME",new cr("mesh.mpc.remote.name")),o(et,"INVOCATION",new cr("mesh.invocation")),o(et,"UNAME",new cr("mesh.mpc.uname")),o(et,"CONSUMER",new cr("mesh.mpc.consumer")),o(et,"CODEC",new cr("mesh.mpc.codec")),o(et,"TIMEOUT",new cr("mesh.mpc.timeout"));class tr{constructor(e,t){o(this,"code");o(this,"name");this.code=e,this.name=t}}const Re=class Re{static ofProto(e){for(let t of Re.PROTO)if(t.code==e)return t;return Re.HTTP}static ofCodec(e){for(let t of Re.CODEC)if(t.code==e)return t;return Re.JSON}static ofName(e){for(let t of Re.PROTO)if(t.name==e)return t;for(let t of Re.CODEC)if(t.name==e)return t;return Re.HTTP}};o(Re,"HTTP",new tr("00",u.Consumer.HTTP)),o(Re,"GRPC",new tr("01",u.Consumer.GRPC)),o(Re,"MQTT",new tr("02",u.Consumer.MQTT)),o(Re,"TCP",new tr("03",u.Consumer.TCP)),o(Re,"JSON",new tr("00",u.Codec.JSON)),o(Re,"PROTOBUF",new tr("01",u.Codec.PROTOBUF)),o(Re,"XML",new tr("02",u.Codec.XML)),o(Re,"THRIFT",new tr("03",u.Codec.THRIFT)),o(Re,"YAML",new tr("04",u.Codec.YAML)),o(Re,"PROTO",[Re.HTTP,Re.GRPC,Re.MQTT,Re.TCP]),o(Re,"CODEC",[Re.JSON,Re.PROTOBUF,Re.XML,Re.THRIFT,Re.YAML]);let Dn=Re;const Ql=r=>{const e=b();return e.setAttribute(et.CONSUMER,tt.load(u.Consumer).get(r)),e},Zl=r=>{const e=b();return e.setAttribute(et.CODEC,tt.load(u.Codec).get(r)),e};class $y{constructor(e,t){o(this,"inspector");o(this,"reference");o(this,"service");this.reference=new Nn,this.reference.urn=t.toString(),this.reference.namespace="",this.reference.name=t.name,this.reference.version=t.flag.version,this.reference.proto=Dn.ofProto(t.flag.proto).name,this.reference.codec=Dn.ofCodec(t.flag.codec).name,this.reference.flags=0,this.reference.timeout=parseInt(yo.MESH_TIMEOUT.get(e))||1e4,this.reference.retries=3,this.reference.mdc=t.mdc,this.reference.zone=t.flag.zone,this.reference.cluster=t.flag.cluster,this.reference.cell=t.flag.cell,this.reference.group=t.flag.group,this.reference.address=t.flag.address,this.service=new Ht,this.inspector=new Uy(t)}inflect(e){return new ls}inspect(e){return this.inspector}intype(e){return ls}reflect(e){return new ms}retype(e){return ms}schema(e){return this.reference}}class Uy{constructor(e){o(this,"urn");this.urn=e}getType(){return Object}getAnnotation(e){}getName(){return this.urn.name}getParameters(){return[]}getReturnType(){return new or(Map)}getExecutable(){return()=>{}}getSymbol(){return this.urn.name}invoke(e,t){}}class ls extends Map{map(){return this}getArguments(){const e=[];return super.forEach((t,n)=>{n!="attachments"&&e.push(t)}),e}getAttachments(){var s;const e=((s=Object.getOwnPropertyDescriptor(this,"attachments"))==null?void 0:s.value)||new Map;if(e instanceof Map)return e;const t=tt.load(u.Codec).get(u.Codec.JSON),n=t.decode(t.encode(e),Map);return this.setAttachments(n),n}setArguments(e){}setAttachments(e){Object.assign(this,{attachments:xt})}}class ms extends Map{getCause(){var n;const e=(n=Object.getOwnPropertyDescriptor(this,"cause"))==null?void 0:n.value;if(!e||e instanceof xt)return e;const t=tt.load(u.Codec).get(u.Codec.JSON);return t.decode(t.encode(e),xt)}getCode(){var e;return(e=Object.getOwnPropertyDescriptor(this,"code"))==null?void 0:e.value}getContent(){var e;return(e=Object.getOwnPropertyDescriptor(this,"content"))==null?void 0:e.value}getMessage(){var e;return((e=Object.getOwnPropertyDescriptor(this,"message"))==null?void 0:e.value)||""}setCause(e){Object.assign(this,{cause:e})}setCode(e){Object.assign(this,{code:e})}setContent(e){Object.assign(this,{content:e})}setMessage(e){Object.assign(this,{message:e})}}var em=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i};const Cy="PROVIDER",jo="CONSUMER";u.Filter=class{},u.Filter=em([B("*")],u.Filter);function gs(r,e){const t=tt.load(u.Filter).list().filter(n=>{const s=$e.metadata(mn,n==null?void 0:n.constructor,n==null?void 0:n.constructor);return!s||s.pattern==""||(s==null?void 0:s.pattern)==e}).sort((n,s)=>{var d,v;const i=((d=$e.metadata(mn,n==null?void 0:n.constructor,n==null?void 0:n.constructor))==null?void 0:d.priority)||0,a=((v=$e.metadata(mn,s==null?void 0:s.constructor,s==null?void 0:s.constructor))==null?void 0:v.priority)||0;return i==a?0:i<a?-1:1});return tm(r,t)}function tm(r,e){let t=r;for(let n=e.length-1;n>=0;n--){let s=e[n],i=t;t=new class{run(a,d){return s.invoke(a,i,d)}}}return t}var nm=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i};class rm{constructor(){o(this,"beforeHooks",new q);o(this,"successHooks",new q);o(this,"failureHooks",new q)}}const bi=()=>{const r=Vr();return r.Mesh??(r.Mesh=new rm),r.Mesh};class im{onBefore(e,t){bi().beforeHooks.set(e,t)}onSuccess(e,t){bi().successHooks.set(e,t)}onFailure(e,t){bi().failureHooks.set(e,t)}before(){return bi().beforeHooks}success(){return bi().successHooks}failure(){return bi().failureHooks}}const wo=new im;u.HookFilter=class extends u.Filter{async invoke(e,t,n){try{for(const[i,a]of wo.before())await a(e,n);const s=await t.run(e,n);for(const[i,a]of wo.success())await a(e,n,s);return s}catch(s){for(const[i,a]of wo.failure())zs(s)?await a(e,n,s):await a(e,n,h.SYSTEM_ERROR);throw s}}},u.HookFilter=nm([B("hook",jo)],u.HookFilter);class Fy{constructor(e,t,n,s){o(this,"proxy");o(this,"inspector");o(this,"parameters");o(this,"execution");this.proxy=e,this.inspector=t,this.parameters=n,this.execution=s}getArguments(e){return this.parameters.getArguments()}getAttachments(e){return this.parameters.getAttachments()}getExecution(e){return this.execution}getInspector(e){return this.inspector}getParameters(e){return this.parameters}getProxy(e){return this.proxy}isAsync(e){return!1}}const rr=class rr{constructor(){o(this,"domain","");o(this,"mdc","");o(this,"flag",new Pr);o(this,"name","")}static from(e){const t=new rr;if(!e)return console.log(`Unresolved urn ${e}`),t;const n=t.asArray(e);return n.length<5?(console.log(`Unresolved urn ${e}`),t):(n.reverse(),t.domain=`${n.splice(1,1).join("")}.${n.splice(0,1).join("")}`,t.mdc=n.splice(0,1).join(""),t.flag=Pr.from(n.splice(0,1).join("")),t.name=n.join("."),t)}static urn(e){const t=new rr;return t.mdc=this.LocalMDC,t.flag=Pr.from("0001000000000000000000000000000000000"),t.name=e,t.domain=this.MESH_DOMAIN,t}proto(e){return this.flag.proto=e,this}codec(e){return this.flag.codec=e,this}toString(){const e=[],t=this.asArray(this.name);return t.reverse(),t.filter(n=>n).forEach(n=>e.push(n)),e.push(this.flag.toString()),e.push(this.mdc),e.push(_e.anyone(this.domain,rr.MESH_DOMAIN)),e.join(".")}asArray(e){const t=e.split("."),n=[],s=[];for(let i of t){if(i.startsWith("${")){s.push(i),s.push(".");continue}if(i.endsWith("}")){s.push(i),n.push(s.join("")),s.splice(0,s.length);continue}n.push(i)}return n}matchName(e){return e?e.endsWith(".*")&&e.startsWith(e.replace(".*","")):!1}resetFlag(e,t){return this.flag.proto=e,this.flag.codec=t,this}};o(rr,"CN","firmer"),o(rr,"MESH_DOMAIN",rr.CN+".tech"),o(rr,"LocalMDC","XX00000000000000");let nr=rr;class Pr{constructor(){o(this,"v","00");o(this,"proto","00");o(this,"codec","00");o(this,"version","000000");o(this,"zone","00");o(this,"cluster","00");o(this,"cell","00");o(this,"group","00");o(this,"address","000000000000");o(this,"port","00000")}static from(e){if(!e)return new Pr;const t=new Pr;return t.v=_e.substring(e,0,2),t.proto=_e.substring(e,2,2),t.codec=_e.substring(e,4,2),t.version=this.reduce(_e.substring(e,6,6),2),t.zone=_e.substring(e,12,2),t.cluster=_e.substring(e,14,2),t.cell=_e.substring(e,16,2),t.group=_e.substring(e,18,2),t.address=this.reduce(_e.substring(e,20,12),3),t.port=this.reduce(_e.substring(e,32,5),5),t}toString(){const e=this.padding(_e.anyone(this.v,""),2),t=this.padding(_e.anyone(this.proto,""),2),n=this.padding(_e.anyone(this.codec,""),2),s=this.paddingChain(_e.anyone(this.version,""),2,3),i=this.padding(_e.anyone(this.zone,""),2),a=this.padding(_e.anyone(this.cluster,""),2),d=this.padding(_e.anyone(this.cell,""),2),v=this.padding(_e.anyone(this.group,""),2),j=this.paddingChain(_e.anyone(this.address,""),3,4),R=this.padding(_e.anyone(this.port,""),5);return`${e}${t}${n}${s}${i}${a}${d}${v}${j}${R}`}padding(e,t){const n=e.replace(".","");return n.length==t?n:n.length<t?_e.repeat("0",t-e.length)+n:e.substring(0,t)}paddingChain(e,t,n){const s=e.split("[.*]"),i=s.map(a=>parseInt(a)?a:"");if(i.length==n)return i.map(a=>this.padding(a,t)).join("");if(i.length<n){for(let a=0;a<n-s.length;a++)i.push("");return i.map(a=>this.padding(a,t)).join("")}return i.slice(0,n).map(a=>this.padding(a,t)).join("")}static reduce(e,t){if(!e)return e;const n=[];for(let s=0;s<e.length;s+=t){let i=!0;for(let a=s;a<s+t;a++)e.charAt(a)!="0"&&(i=!1),i||n.push(e.charAt(a));i&&n.push("0"),n.push(".")}return n.slice(0,n.length-1).join("")}}class Dy{constructor(e){o(this,"placeholder","${mesh.name}");o(this,"macro");o(this,"invoker");this.macro=e,this.invoker=gs(this,jo)}context(e){if(!e||e.length<1)return b();for(let t of e)if(t instanceof fo)return t;return b()}invoke(e,t,n){return new Promise(async(s,i)=>{try{const a=this.context(n),d=this.referExecution(a,t),v=this.rewriteURN(a,d);a.rewriteURN(v),a.setAttribute(et.REMOTE,this.rewriteAddress(a,v));const j=d.inflect(a);j.setArguments(n),j.setAttachments(new Map);const R=new Fy(this,t,j,d);a.setAttribute(et.INVOCATION,R),s(await this.invoker.run(a,R))}catch(a){i(Ni.errorf(a))}})}async run(e,t){const n=this.referExecution(e,t.getInspector(e)),s=tt.load(u.Consumer),i=e.getAttribute(et.CONSUMER)??s.getDefault(),a=_e.anyone(e.getAttribute(et.REMOTE),_e.MESH_ADDRESS.get().any()),d=n.schema(e).codec||Dn.JSON.name,v=tt.load(u.Codec),j=e.getAttribute(et.CODEC)??v.get(d),R=j.encode(t.getParameters(e)),E=Dn.ofName(s.defaultName()).code,D=Dn.ofName(v.defaultName()).code,T=nr.from(e.getUrn()).resetFlag(E,D).toString(),w=await i.consume(e,a,T,n,R);return await this.deserialize(e,n,j,w)}deserialize(e,t,n,s){return new Promise((i,a)=>{try{const d=t.retype(e),v=n.decode(s,d);if(v.getCause()){a(Ni.errorf(v.getCause()));return}if(h.SUCCESS.getCode()!=v.getCode()){a(new oe(v.getCode(),v.getMessage()));return}i(v.getContent())}catch(d){a(Ni.errorf(d))}})}referExecution(e,t){const s=tt.load(u.Eden).getDefault().refer(e,t.getAnnotation(Ge),t.getType(),t);if(s)return s;throw new Error(`Method ${t.getName()} cant be compatible`)}rewriteURN(e,t){var d;const n=(d=e.getPrincipals().peek())==null?void 0:d.id,s=e.getAttribute(et.UNAME),i=e.getAttribute(et.REMOTE_NAME);if(!n&&!s&&!i&&!t.schema(e).urn.includes(this.placeholder))return t.schema(e).urn;const a=nr.from(t.schema(e).urn);return n&&n!=""&&(a.mdc=n),s&&s!=""&&(a.name=s),i&&i!=""&&(a.name=a.name.replace(this.placeholder,i)),a.name.includes(this.placeholder)&&(a.name=a.name.replace(this.placeholder,"mesh")),a.toString()}rewriteAddress(e,t){const n=e.getAttribute(et.REMOTE);return n&&n!=""?n:_e.MESH_ADDRESS.get().any()}}var om=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i},hs;u.ServiceProxy=hs=class extends u.MethodProxy{proxy(e){return hs.proxy(e)}static proxy(e){return this.doProxy(e,S(""))}static doProxy(e,t){return wi.newProxyInstance(e,new Dy(t))}},u.ServiceProxy=hs=om([B("mesh")],u.ServiceProxy);class sm{constructor(e){o(this,"service");this.service=e}run(e,t){return new Promise((n,s)=>{try{const i=[e,...t.getArguments(e)],a=t.getInspector(e).invoke(this.service,i);if(a instanceof Promise){a.then(d=>n(d)).catch(d=>s(d));return}n(a)}catch(i){s(i)}})}}class ky{constructor(e){o(this,"invoker");this.invoker=gs(new sm(e),Cy)}run(e,t){return this.invoker.run(e,t)}}var cm=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i};class am{constructor(e,t,n){o(this,"making");o(this,"kind");o(this,"service");this.making=e,this.kind=t,this.service=n}}class dm{constructor(e,t){o(this,"metadata");o(this,"reference");o(this,"proxy");this.metadata=e,this.reference=t,this.proxy=u.ServiceProxy.doProxy(t,e)}}class um{constructor(e,t,n,s,i){o(this,"urn");o(this,"kind");o(this,"method");o(this,"target");o(this,"resource");o(this,"inspector");o(this,"invoker");o(this,"__intype");o(this,"__retype");this.urn=e,this.kind=t,this.method=n,this.target=s,this.resource=i,this.inspector=n,this.invoker=new ky(s),this.__intype=tt.load(u.Compiler).getDefault().intype(n),this.__retype=tt.load(u.Compiler).getDefault().retype(n)}inflect(e){return new this.__intype}inspect(e){return this.inspector}intype(e){return this.__intype}reflect(e){return new this.__retype}retype(e){return this.__retype}schema(e){return this.resource}}u.MeshEden=class extends u.Eden{constructor(){super(...arguments);o(this,"providers",new q);o(this,"consumers",new q);o(this,"indies",new q);o(this,"services",new q);o(this,"references",new q)}define(t,n,s){return this.makeConsumer(t,n,s).proxy}store(t,n,s){this.providers.set(n,new am(!1,n,s))}infer(t,n){const s=nr.from(n),i=this.makeServiceExecution(this.getEnviron(t)),a=i==null?void 0:i.get(s.name);if(a)return a;for(let d of i.entries())if(s.matchName(d[0]))return d[1];return new $y(t,s)}refer(t,n,s,i){const a=this.makeConsumer(t,n,s),d=this.getEnviron(t),v=this.indies.computeIfy(s,j=>new q).computeIfy(n,j=>{const R=new q;return this.getMethods(t,s).forEach((E,D)=>E.forEach(T=>{const w=this.makeMethodAsReference(d,n,D,T),M=new um(w.urn,s,T,a.proxy,w);this.references.set(w.urn,M),R.set(T,M)})),R}).get(i);if(v)return v;throw new Error(`Method ${i.getName()} cant be compatible`)}inferTypes(t){const n=[];for(let s of this.providers)n.push(s[1].kind);return n}referTypes(t){const n=[];for(let s of this.consumers.keys())n.push(s);return n}makeConsumer(t,n,s){return this.consumers.computeIfy(s,i=>new q).computeIfy(n,i=>new dm(n,s))}makeMethodAsReference(t,n,s,i){var d,v,j,R,E,D,T,w,M,A,X,Y,ae;const a=new Nn;return a.namespace=s.name,a.name=i.getName(),a.version=((d=i.getAnnotation(Ge))==null?void 0:d.version)||"",a.proto=((v=i.getAnnotation(Ge))==null?void 0:v.proto)||"",a.codec=((j=i.getAnnotation(Ge))==null?void 0:j.codec)||"",a.flags=((R=i.getAnnotation(Ge))==null?void 0:R.flags)||0,a.timeout=((E=i.getAnnotation(Ge))==null?void 0:E.timeout)||12e3,a.retries=((D=i.getAnnotation(Ge))==null?void 0:D.retries)||0,a.mdc=((T=i.getAnnotation(Ge))==null?void 0:T.mdc)||"",a.zone=((w=i.getAnnotation(Ge))==null?void 0:w.zone)||"",a.cluster=((M=i.getAnnotation(Ge))==null?void 0:M.cluster)||"",a.cell=((A=i.getAnnotation(Ge))==null?void 0:A.cell)||"",a.group=((X=i.getAnnotation(Ge))==null?void 0:X.group)||"",a.address=((Y=i.getAnnotation(Ge))==null?void 0:Y.address)||"",a.urn=this.getURN(((ae=i.getAnnotation(Ge))==null?void 0:ae.name)||"",Ht,t),a}getURN(t,n,s){const i=new nr;return i.domain=nr.MESH_DOMAIN,i.mdc=_e.anyone(n.mdc,s.mdc),i.name=t,i.flag=this.getURNFlag(n),i.toString()}getURNFlag(t){const n=(t.address||"").split(":"),s=new Pr;return s.v="00",s.proto=Dn.ofName(t.proto).code,s.codec=Dn.ofName(t.codec).code,s.version=t.version,s.zone=t.zone,s.cluster=t.cluster,s.cell=t.cell,s.group=t.group,s.address=n.length>0?n[0]:"",s.port=n.length>1?n[1]:"",s}getMethods(t,n){const s=wi.getMethods(n),i=new q;return i.set(n,s),i}getEnviron(t){const n=new Ke;return n.mdc=nr.LocalMDC,n}makeServiceExecution(t){for(let n of this.providers)n[1].making;return this.services}},u.MeshEden=cm([B("mesh")],u.MeshEden);var pm=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i};const bs="mock";u.MockFilter=class extends u.Filter{async invoke(e,t,n){if(!po.Mock.matches(e.getRunMode())&&!ao.Mock.enable())return await t.run(e,n);const s=tt.load(n.getInspector(e).getType()).want(bs);if(!s)return await t.run(e,n);const i=s[n.getInspector(e).getName()];return!i||typeof i!="function"?await t.run(e,n):await i(n.getArguments(e))}},u.MockFilter=pm([B(bs,jo)],u.MockFilter);var fm=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i};u.Provider=class{},u.Provider=fm([B(u.Consumer.GRPC)],u.Provider);var ym=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i};u.GRPCConsumer=class extends u.Consumer{start(){}close(){}consume(e,t,n,s,i){return Promise.reject(h.URN_NOT_PERMIT)}},u.GRPCConsumer=ym([B(u.Consumer.GRPC)],u.GRPCConsumer);var lm=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i};u.GRPCProvider=class extends u.Provider{start(){}close(){}},u.GRPCProvider=lm([B(u.Consumer.GRPC)],u.GRPCProvider);function xy(r,e){return function(){return r.apply(e,arguments)}}const{toString:mm}=Object.prototype,{getPrototypeOf:_s}=Object,{iterator:Eo,toStringTag:By}=Symbol,No=(r=>e=>{const t=mm.call(e);return r[t]||(r[t]=t.slice(8,-1).toLowerCase())})(Object.create(null)),_n=r=>(r=r.toLowerCase(),e=>No(e)===r),To=r=>e=>typeof e===r,{isArray:_i}=Array,Qi=To("undefined");function gm(r){return r!==null&&!Qi(r)&&r.constructor!==null&&!Qi(r.constructor)&&Kt(r.constructor.isBuffer)&&r.constructor.isBuffer(r)}const Ly=_n("ArrayBuffer");function hm(r){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(r):e=r&&r.buffer&&Ly(r.buffer),e}const bm=To("string"),Kt=To("function"),Hy=To("number"),Ao=r=>r!==null&&typeof r=="object",_m=r=>r===!0||r===!1,Mo=r=>{if(No(r)!=="object")return!1;const e=_s(r);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(By in r)&&!(Eo in r)},Sm=_n("Date"),vm=_n("File"),Om=_n("Blob"),Rm=_n("FileList"),Pm=r=>Ao(r)&&Kt(r.pipe),jm=r=>{let e;return r&&(typeof FormData=="function"&&r instanceof FormData||Kt(r.append)&&((e=No(r))==="formdata"||e==="object"&&Kt(r.toString)&&r.toString()==="[object FormData]"))},wm=_n("URLSearchParams"),[Em,Nm,Tm,Am]=["ReadableStream","Request","Response","Headers"].map(_n),Mm=r=>r.trim?r.trim():r.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Zi(r,e,{allOwnKeys:t=!1}={}){if(r===null||typeof r>"u")return;let n,s;if(typeof r!="object"&&(r=[r]),_i(r))for(n=0,s=r.length;n<s;n++)e.call(null,r[n],n,r);else{const i=t?Object.getOwnPropertyNames(r):Object.keys(r),a=i.length;let d;for(n=0;n<a;n++)d=i[n],e.call(null,r[d],d,r)}}function qy(r,e){e=e.toLowerCase();const t=Object.keys(r);let n=t.length,s;for(;n-- >0;)if(s=t[n],e===s.toLowerCase())return s;return null}const Lr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,zy=r=>!Qi(r)&&r!==Lr;function Ss(){const{caseless:r}=zy(this)&&this||{},e={},t=(n,s)=>{const i=r&&qy(e,s)||s;Mo(e[i])&&Mo(n)?e[i]=Ss(e[i],n):Mo(n)?e[i]=Ss({},n):_i(n)?e[i]=n.slice():e[i]=n};for(let n=0,s=arguments.length;n<s;n++)arguments[n]&&Zi(arguments[n],t);return e}const Im=(r,e,t,{allOwnKeys:n}={})=>(Zi(e,(s,i)=>{t&&Kt(s)?r[i]=xy(s,t):r[i]=s},{allOwnKeys:n}),r),$m=r=>(r.charCodeAt(0)===65279&&(r=r.slice(1)),r),Um=(r,e,t,n)=>{r.prototype=Object.create(e.prototype,n),r.prototype.constructor=r,Object.defineProperty(r,"super",{value:e.prototype}),t&&Object.assign(r.prototype,t)},Cm=(r,e,t,n)=>{let s,i,a;const d={};if(e=e||{},r==null)return e;do{for(s=Object.getOwnPropertyNames(r),i=s.length;i-- >0;)a=s[i],(!n||n(a,r,e))&&!d[a]&&(e[a]=r[a],d[a]=!0);r=t!==!1&&_s(r)}while(r&&(!t||t(r,e))&&r!==Object.prototype);return e},Fm=(r,e,t)=>{r=String(r),(t===void 0||t>r.length)&&(t=r.length),t-=e.length;const n=r.indexOf(e,t);return n!==-1&&n===t},Dm=r=>{if(!r)return null;if(_i(r))return r;let e=r.length;if(!Hy(e))return null;const t=new Array(e);for(;e-- >0;)t[e]=r[e];return t},km=(r=>e=>r&&e instanceof r)(typeof Uint8Array<"u"&&_s(Uint8Array)),xm=(r,e)=>{const n=(r&&r[Eo]).call(r);let s;for(;(s=n.next())&&!s.done;){const i=s.value;e.call(r,i[0],i[1])}},Bm=(r,e)=>{let t;const n=[];for(;(t=r.exec(e))!==null;)n.push(t);return n},Lm=_n("HTMLFormElement"),Hm=r=>r.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(t,n,s){return n.toUpperCase()+s}),Vy=(({hasOwnProperty:r})=>(e,t)=>r.call(e,t))(Object.prototype),qm=_n("RegExp"),Gy=(r,e)=>{const t=Object.getOwnPropertyDescriptors(r),n={};Zi(t,(s,i)=>{let a;(a=e(s,i,r))!==!1&&(n[i]=a||s)}),Object.defineProperties(r,n)},zm=r=>{Gy(r,(e,t)=>{if(Kt(r)&&["arguments","caller","callee"].indexOf(t)!==-1)return!1;const n=r[t];if(Kt(n)){if(e.enumerable=!1,"writable"in e){e.writable=!1;return}e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+t+"'")})}})},Vm=(r,e)=>{const t={},n=s=>{s.forEach(i=>{t[i]=!0})};return _i(r)?n(r):n(String(r).split(e)),t},Gm=()=>{},Wm=(r,e)=>r!=null&&Number.isFinite(r=+r)?r:e;function Km(r){return!!(r&&Kt(r.append)&&r[By]==="FormData"&&r[Eo])}const Jm=r=>{const e=new Array(10),t=(n,s)=>{if(Ao(n)){if(e.indexOf(n)>=0)return;if(!("toJSON"in n)){e[s]=n;const i=_i(n)?[]:{};return Zi(n,(a,d)=>{const v=t(a,s+1);!Qi(v)&&(i[d]=v)}),e[s]=void 0,i}}return n};return t(r,0)},Xm=_n("AsyncFunction"),Ym=r=>r&&(Ao(r)||Kt(r))&&Kt(r.then)&&Kt(r.catch),Wy=((r,e)=>r?setImmediate:e?((t,n)=>(Lr.addEventListener("message",({source:s,data:i})=>{s===Lr&&i===t&&n.length&&n.shift()()},!1),s=>{n.push(s),Lr.postMessage(t,"*")}))(`axios@${Math.random()}`,[]):t=>setTimeout(t))(typeof setImmediate=="function",Kt(Lr.postMessage)),Qm=typeof queueMicrotask<"u"?queueMicrotask.bind(Lr):typeof process<"u"&&process.nextTick||Wy,P={isArray:_i,isArrayBuffer:Ly,isBuffer:gm,isFormData:jm,isArrayBufferView:hm,isString:bm,isNumber:Hy,isBoolean:_m,isObject:Ao,isPlainObject:Mo,isReadableStream:Em,isRequest:Nm,isResponse:Tm,isHeaders:Am,isUndefined:Qi,isDate:Sm,isFile:vm,isBlob:Om,isRegExp:qm,isFunction:Kt,isStream:Pm,isURLSearchParams:wm,isTypedArray:km,isFileList:Rm,forEach:Zi,merge:Ss,extend:Im,trim:Mm,stripBOM:$m,inherits:Um,toFlatObject:Cm,kindOf:No,kindOfTest:_n,endsWith:Fm,toArray:Dm,forEachEntry:xm,matchAll:Bm,isHTMLForm:Lm,hasOwnProperty:Vy,hasOwnProp:Vy,reduceDescriptors:Gy,freezeMethods:zm,toObjectSet:Vm,toCamelCase:Hm,noop:Gm,toFiniteNumber:Wm,findKey:qy,global:Lr,isContextDefined:zy,isSpecCompliantForm:Km,toJSONObject:Jm,isAsyncFn:Xm,isThenable:Ym,setImmediate:Wy,asap:Qm,isIterable:r=>r!=null&&Kt(r[Eo])};function ie(r,e,t,n,s){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=r,this.name="AxiosError",e&&(this.code=e),t&&(this.config=t),n&&(this.request=n),s&&(this.response=s,this.status=s.status?s.status:null)}P.inherits(ie,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:P.toJSONObject(this.config),code:this.code,status:this.status}}});const Ky=ie.prototype,Jy={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(r=>{Jy[r]={value:r}}),Object.defineProperties(ie,Jy),Object.defineProperty(Ky,"isAxiosError",{value:!0}),ie.from=(r,e,t,n,s,i)=>{const a=Object.create(Ky);return P.toFlatObject(r,a,function(v){return v!==Error.prototype},d=>d!=="isAxiosError"),ie.call(a,r.message,e,t,n,s),a.cause=r,a.name=r.name,i&&Object.assign(a,i),a};const Zm=null;function vs(r){return P.isPlainObject(r)||P.isArray(r)}function Xy(r){return P.endsWith(r,"[]")?r.slice(0,-2):r}function Yy(r,e,t){return r?r.concat(e).map(function(s,i){return s=Xy(s),!t&&i?"["+s+"]":s}).join(t?".":""):e}function eg(r){return P.isArray(r)&&!r.some(vs)}const tg=P.toFlatObject(P,{},null,function(e){return/^is[A-Z]/.test(e)});function Io(r,e,t){if(!P.isObject(r))throw new TypeError("target must be an object");e=e||new FormData,t=P.toFlatObject(t,{metaTokens:!0,dots:!1,indexes:!1},!1,function(M,A){return!P.isUndefined(A[M])});const n=t.metaTokens,s=t.visitor||R,i=t.dots,a=t.indexes,v=(t.Blob||typeof Blob<"u"&&Blob)&&P.isSpecCompliantForm(e);if(!P.isFunction(s))throw new TypeError("visitor must be a function");function j(w){if(w===null)return"";if(P.isDate(w))return w.toISOString();if(!v&&P.isBlob(w))throw new ie("Blob is not supported. Use a Buffer instead.");return P.isArrayBuffer(w)||P.isTypedArray(w)?v&&typeof Blob=="function"?new Blob([w]):Buffer.from(w):w}function R(w,M,A){let X=w;if(w&&!A&&typeof w=="object"){if(P.endsWith(M,"{}"))M=n?M:M.slice(0,-2),w=JSON.stringify(w);else if(P.isArray(w)&&eg(w)||(P.isFileList(w)||P.endsWith(M,"[]"))&&(X=P.toArray(w)))return M=Xy(M),X.forEach(function(ae,ot){!(P.isUndefined(ae)||ae===null)&&e.append(a===!0?Yy([M],ot,i):a===null?M:M+"[]",j(ae))}),!1}return vs(w)?!0:(e.append(Yy(A,M,i),j(w)),!1)}const E=[],D=Object.assign(tg,{defaultVisitor:R,convertValue:j,isVisitable:vs});function T(w,M){if(!P.isUndefined(w)){if(E.indexOf(w)!==-1)throw Error("Circular reference detected in "+M.join("."));E.push(w),P.forEach(w,function(X,Y){(!(P.isUndefined(X)||X===null)&&s.call(e,X,P.isString(Y)?Y.trim():Y,M,D))===!0&&T(X,M?M.concat(Y):[Y])}),E.pop()}}if(!P.isObject(r))throw new TypeError("data must be an object");return T(r),e}function Qy(r){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(r).replace(/[!'()~]|%20|%00/g,function(n){return e[n]})}function Os(r,e){this._pairs=[],r&&Io(r,this,e)}const Zy=Os.prototype;Zy.append=function(e,t){this._pairs.push([e,t])},Zy.toString=function(e){const t=e?function(n){return e.call(this,n,Qy)}:Qy;return this._pairs.map(function(s){return t(s[0])+"="+t(s[1])},"").join("&")};function ng(r){return encodeURIComponent(r).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function el(r,e,t){if(!e)return r;const n=t&&t.encode||ng;P.isFunction(t)&&(t={serialize:t});const s=t&&t.serialize;let i;if(s?i=s(e,t):i=P.isURLSearchParams(e)?e.toString():new Os(e,t).toString(n),i){const a=r.indexOf("#");a!==-1&&(r=r.slice(0,a)),r+=(r.indexOf("?")===-1?"?":"&")+i}return r}class tl{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){P.forEach(this.handlers,function(n){n!==null&&e(n)})}}const nl={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},rg={isBrowser:!0,classes:{URLSearchParams:typeof URLSearchParams<"u"?URLSearchParams:Os,FormData:typeof FormData<"u"?FormData:null,Blob:typeof Blob<"u"?Blob:null},protocols:["http","https","file","blob","url","data"]},Rs=typeof window<"u"&&typeof document<"u",Ps=typeof navigator=="object"&&navigator||void 0,ig=Rs&&(!Ps||["ReactNative","NativeScript","NS"].indexOf(Ps.product)<0),og=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",sg=Rs&&window.location.href||"http://localhost",St={...Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Rs,hasStandardBrowserEnv:ig,hasStandardBrowserWebWorkerEnv:og,navigator:Ps,origin:sg},Symbol.toStringTag,{value:"Module"})),...rg};function cg(r,e){return Io(r,new St.classes.URLSearchParams,Object.assign({visitor:function(t,n,s,i){return St.isNode&&P.isBuffer(t)?(this.append(n,t.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},e))}function ag(r){return P.matchAll(/\w+|\[(\w*)]/g,r).map(e=>e[0]==="[]"?"":e[1]||e[0])}function dg(r){const e={},t=Object.keys(r);let n;const s=t.length;let i;for(n=0;n<s;n++)i=t[n],e[i]=r[i];return e}function rl(r){function e(t,n,s,i){let a=t[i++];if(a==="__proto__")return!0;const d=Number.isFinite(+a),v=i>=t.length;return a=!a&&P.isArray(s)?s.length:a,v?(P.hasOwnProp(s,a)?s[a]=[s[a],n]:s[a]=n,!d):((!s[a]||!P.isObject(s[a]))&&(s[a]=[]),e(t,n,s[a],i)&&P.isArray(s[a])&&(s[a]=dg(s[a])),!d)}if(P.isFormData(r)&&P.isFunction(r.entries)){const t={};return P.forEachEntry(r,(n,s)=>{e(ag(n),s,t,0)}),t}return null}function ug(r,e,t){if(P.isString(r))try{return(e||JSON.parse)(r),P.trim(r)}catch(n){if(n.name!=="SyntaxError")throw n}return(t||JSON.stringify)(r)}const eo={transitional:nl,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const n=t.getContentType()||"",s=n.indexOf("application/json")>-1,i=P.isObject(e);if(i&&P.isHTMLForm(e)&&(e=new FormData(e)),P.isFormData(e))return s?JSON.stringify(rl(e)):e;if(P.isArrayBuffer(e)||P.isBuffer(e)||P.isStream(e)||P.isFile(e)||P.isBlob(e)||P.isReadableStream(e))return e;if(P.isArrayBufferView(e))return e.buffer;if(P.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let d;if(i){if(n.indexOf("application/x-www-form-urlencoded")>-1)return cg(e,this.formSerializer).toString();if((d=P.isFileList(e))||n.indexOf("multipart/form-data")>-1){const v=this.env&&this.env.FormData;return Io(d?{"files[]":e}:e,v&&new v,this.formSerializer)}}return i||s?(t.setContentType("application/json",!1),ug(e)):e}],transformResponse:[function(e){const t=this.transitional||eo.transitional,n=t&&t.forcedJSONParsing,s=this.responseType==="json";if(P.isResponse(e)||P.isReadableStream(e))return e;if(e&&P.isString(e)&&(n&&!this.responseType||s)){const a=!(t&&t.silentJSONParsing)&&s;try{return JSON.parse(e)}catch(d){if(a)throw d.name==="SyntaxError"?ie.from(d,ie.ERR_BAD_RESPONSE,this,null,this.response):d}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:St.classes.FormData,Blob:St.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};P.forEach(["delete","get","head","post","put","patch"],r=>{eo.headers[r]={}});const pg=P.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),fg=r=>{const e={};let t,n,s;return r&&r.split(`
|
|
20
|
-
`).forEach(function(a){s=a.indexOf(":"),t=a.substring(0,s).trim().toLowerCase(),n=a.substring(s+1).trim(),!(!t||e[t]&&pg[t])&&(t==="set-cookie"?e[t]?e[t].push(n):e[t]=[n]:e[t]=e[t]?e[t]+", "+n:n)}),e},il=Symbol("internals");function to(r){return r&&String(r).trim().toLowerCase()}function $o(r){return r===!1||r==null?r:
|
|
21
|
-
`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const n=new this(e);return t.forEach(s=>n.set(s)),n}static accessor(e){const n=(this[il]=this[il]={accessors:{}}).accessors,s=this.prototype;function i(a){const d=to(a);n[d]||(gg(s,a),n[d]=!0)}return P.isArray(e)?e.forEach(i):i(e),this}};Jt.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),P.reduceDescriptors(Jt.prototype,({value:r},e)=>{let t=e[0].toUpperCase()+e.slice(1);return{get:()=>r,set(n){this[t]=n}}}),P.freezeMethods(Jt);function ws(r,e){const t=this||eo,n=e||t,s=Jt.from(n.headers);let i=n.data;return P.forEach(r,function(d){i=d.call(t,i,s.normalize(),e?e.status:void 0)}),s.normalize(),i}function ol(r){return!!(r&&r.__CANCEL__)}function Si(r,e,t){ie.call(this,r??"canceled",ie.ERR_CANCELED,e,t),this.name="CanceledError"}P.inherits(Si,ie,{__CANCEL__:!0});function sl(r,e,t){const n=t.config.validateStatus;!t.status||!n||n(t.status)?r(t):e(new ie("Request failed with status code "+t.status,[ie.ERR_BAD_REQUEST,ie.ERR_BAD_RESPONSE][Math.floor(t.status/100)-4],t.config,t.request,t))}function hg(r){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(r);return e&&e[1]||""}function bg(r,e){r=r||10;const t=new Array(r),n=new Array(r);let s=0,i=0,a;return e=e!==void 0?e:1e3,function(v){const j=Date.now(),R=n[i];a||(a=j),t[s]=v,n[s]=j;let E=i,D=0;for(;E!==s;)D+=t[E++],E=E%r;if(s=(s+1)%r,s===i&&(i=(i+1)%r),j-a<e)return;const T=R&&j-R;return T?Math.round(D*1e3/T):void 0}}function _g(r,e){let t=0,n=1e3/e,s,i;const a=(j,R=Date.now())=>{t=R,s=null,i&&(clearTimeout(i),i=null),r.apply(null,j)};return[(...j)=>{const R=Date.now(),E=R-t;E>=n?a(j,R):(s=j,i||(i=setTimeout(()=>{i=null,a(s)},n-E)))},()=>s&&a(s)]}const Uo=(r,e,t=3)=>{let n=0;const s=bg(50,250);return _g(i=>{const a=i.loaded,d=i.lengthComputable?i.total:void 0,v=a-n,j=s(v),R=a<=d;n=a;const E={loaded:a,total:d,progress:d?a/d:void 0,bytes:v,rate:j||void 0,estimated:j&&d&&R?(d-a)/j:void 0,event:i,lengthComputable:d!=null,[e?"download":"upload"]:!0};r(E)},t)},cl=(r,e)=>{const t=r!=null;return[n=>e[0]({lengthComputable:t,total:r,loaded:n}),e[1]]},al=r=>(...e)=>P.asap(()=>r(...e)),Sg=St.hasStandardBrowserEnv?((r,e)=>t=>(t=new URL(t,St.origin),r.protocol===t.protocol&&r.host===t.host&&(e||r.port===t.port)))(new URL(St.origin),St.navigator&&/(msie|trident)/i.test(St.navigator.userAgent)):()=>!0,vg=St.hasStandardBrowserEnv?{write(r,e,t,n,s,i){const a=[r+"="+encodeURIComponent(e)];P.isNumber(t)&&a.push("expires="+new Date(t).toGMTString()),P.isString(n)&&a.push("path="+n),P.isString(s)&&a.push("domain="+s),i===!0&&a.push("secure"),document.cookie=a.join("; ")},read(r){const e=document.cookie.match(new RegExp("(^|;\\s*)("+r+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove(r){this.write(r,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function Og(r){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(r)}function Rg(r,e){return e?r.replace(/\/?\/$/,"")+"/"+e.replace(/^\/+/,""):r}function dl(r,e,t){let n=!Og(e);return r&&(n||t==!1)?Rg(r,e):e}const ul=r=>r instanceof Jt?{...r}:r;function Hr(r,e){e=e||{};const t={};function n(j,R,E,D){return P.isPlainObject(j)&&P.isPlainObject(R)?P.merge.call({caseless:D},j,R):P.isPlainObject(R)?P.merge({},R):P.isArray(R)?R.slice():R}function s(j,R,E,D){if(P.isUndefined(R)){if(!P.isUndefined(j))return n(void 0,j,E,D)}else return n(j,R,E,D)}function i(j,R){if(!P.isUndefined(R))return n(void 0,R)}function a(j,R){if(P.isUndefined(R)){if(!P.isUndefined(j))return n(void 0,j)}else return n(void 0,R)}function d(j,R,E){if(E in e)return n(j,R);if(E in r)return n(void 0,j)}const v={url:i,method:i,data:i,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:d,headers:(j,R,E)=>s(ul(j),ul(R),E,!0)};return P.forEach(Object.keys(Object.assign({},r,e)),function(R){const E=v[R]||s,D=E(r[R],e[R],R);P.isUndefined(D)&&E!==d||(t[R]=D)}),t}const pl=r=>{const e=Hr({},r);let{data:t,withXSRFToken:n,xsrfHeaderName:s,xsrfCookieName:i,headers:a,auth:d}=e;e.headers=a=Jt.from(a),e.url=el(dl(e.baseURL,e.url,e.allowAbsoluteUrls),r.params,r.paramsSerializer),d&&a.set("Authorization","Basic "+btoa((d.username||"")+":"+(d.password?unescape(encodeURIComponent(d.password)):"")));let v;if(P.isFormData(t)){if(St.hasStandardBrowserEnv||St.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if((v=a.getContentType())!==!1){const[j,...R]=v?v.split(";").map(E=>E.trim()).filter(Boolean):[];a.setContentType([j||"multipart/form-data",...R].join("; "))}}if(St.hasStandardBrowserEnv&&(n&&P.isFunction(n)&&(n=n(e)),n||n!==!1&&Sg(e.url))){const j=s&&i&&vg.read(i);j&&a.set(s,j)}return e},Pg=typeof XMLHttpRequest<"u"&&function(r){return new Promise(function(t,n){const s=pl(r);let i=s.data;const a=Jt.from(s.headers).normalize();let{responseType:d,onUploadProgress:v,onDownloadProgress:j}=s,R,E,D,T,w;function M(){T&&T(),w&&w(),s.cancelToken&&s.cancelToken.unsubscribe(R),s.signal&&s.signal.removeEventListener("abort",R)}let A=new XMLHttpRequest;A.open(s.method.toUpperCase(),s.url,!0),A.timeout=s.timeout;function X(){if(!A)return;const ae=Jt.from("getAllResponseHeaders"in A&&A.getAllResponseHeaders()),de={data:!d||d==="text"||d==="json"?A.responseText:A.response,status:A.status,statusText:A.statusText,headers:ae,config:r,request:A};sl(function(yn){t(yn),M()},function(yn){n(yn),M()},de),A=null}"onloadend"in A?A.onloadend=X:A.onreadystatechange=function(){!A||A.readyState!==4||A.status===0&&!(A.responseURL&&A.responseURL.indexOf("file:")===0)||setTimeout(X)},A.onabort=function(){A&&(n(new ie("Request aborted",ie.ECONNABORTED,r,A)),A=null)},A.onerror=function(){n(new ie("Network Error",ie.ERR_NETWORK,r,A)),A=null},A.ontimeout=function(){let ot=s.timeout?"timeout of "+s.timeout+"ms exceeded":"timeout exceeded";const de=s.transitional||nl;s.timeoutErrorMessage&&(ot=s.timeoutErrorMessage),n(new ie(ot,de.clarifyTimeoutError?ie.ETIMEDOUT:ie.ECONNABORTED,r,A)),A=null},i===void 0&&a.setContentType(null),"setRequestHeader"in A&&P.forEach(a.toJSON(),function(ot,de){A.setRequestHeader(de,ot)}),P.isUndefined(s.withCredentials)||(A.withCredentials=!!s.withCredentials),d&&d!=="json"&&(A.responseType=s.responseType),j&&([D,w]=Uo(j,!0),A.addEventListener("progress",D)),v&&A.upload&&([E,T]=Uo(v),A.upload.addEventListener("progress",E),A.upload.addEventListener("loadend",T)),(s.cancelToken||s.signal)&&(R=ae=>{A&&(n(!ae||ae.type?new Si(null,r,A):ae),A.abort(),A=null)},s.cancelToken&&s.cancelToken.subscribe(R),s.signal&&(s.signal.aborted?R():s.signal.addEventListener("abort",R)));const Y=hg(s.url);if(Y&&St.protocols.indexOf(Y)===-1){n(new ie("Unsupported protocol "+Y+":",ie.ERR_BAD_REQUEST,r));return}A.send(i||null)})},jg=(r,e)=>{const{length:t}=r=r?r.filter(Boolean):[];if(e||t){let n=new AbortController,s;const i=function(j){if(!s){s=!0,d();const R=j instanceof Error?j:this.reason;n.abort(R instanceof ie?R:new Si(R instanceof Error?R.message:R))}};let a=e&&setTimeout(()=>{a=null,i(new ie(`timeout ${e} of ms exceeded`,ie.ETIMEDOUT))},e);const d=()=>{r&&(a&&clearTimeout(a),a=null,r.forEach(j=>{j.unsubscribe?j.unsubscribe(i):j.removeEventListener("abort",i)}),r=null)};r.forEach(j=>j.addEventListener("abort",i));const{signal:v}=n;return v.unsubscribe=()=>P.asap(d),v}},wg=function*(r,e){let t=r.byteLength;if(t<e){yield r;return}let n=0,s;for(;n<t;)s=n+e,yield r.slice(n,s),n=s},Eg=async function*(r,e){for await(const t of Ng(r))yield*wg(t,e)},Ng=async function*(r){if(r[Symbol.asyncIterator]){yield*r;return}const e=r.getReader();try{for(;;){const{done:t,value:n}=await e.read();if(t)break;yield n}}finally{await e.cancel()}},fl=(r,e,t,n)=>{const s=Eg(r,e);let i=0,a,d=v=>{a||(a=!0,n&&n(v))};return new ReadableStream({async pull(v){try{const{done:j,value:R}=await s.next();if(j){d(),v.close();return}let E=R.byteLength;if(t){let D=i+=E;t(D)}v.enqueue(new Uint8Array(R))}catch(j){throw d(j),j}},cancel(v){return d(v),s.return()}},{highWaterMark:2})},Co=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",yl=Co&&typeof ReadableStream=="function",Tg=Co&&(typeof TextEncoder=="function"?(r=>e=>r.encode(e))(new TextEncoder):async r=>new Uint8Array(await new Response(r).arrayBuffer())),ll=(r,...e)=>{try{return!!r(...e)}catch{return!1}},Ag=yl&&ll(()=>{let r=!1;const e=new Request(St.origin,{body:new ReadableStream,method:"POST",get duplex(){return r=!0,"half"}}).headers.has("Content-Type");return r&&!e}),ml=64*1024,Es=yl&&ll(()=>P.isReadableStream(new Response("").body)),Fo={stream:Es&&(r=>r.body)};Co&&(r=>{["text","arrayBuffer","blob","formData","stream"].forEach(e=>{!Fo[e]&&(Fo[e]=P.isFunction(r[e])?t=>t[e]():(t,n)=>{throw new ie(`Response type '${e}' is not supported`,ie.ERR_NOT_SUPPORT,n)})})})(new Response);const Mg=async r=>{if(r==null)return 0;if(P.isBlob(r))return r.size;if(P.isSpecCompliantForm(r))return(await new Request(St.origin,{method:"POST",body:r}).arrayBuffer()).byteLength;if(P.isArrayBufferView(r)||P.isArrayBuffer(r))return r.byteLength;if(P.isURLSearchParams(r)&&(r=r+""),P.isString(r))return(await Tg(r)).byteLength},Ig=async(r,e)=>{const t=P.toFiniteNumber(r.getContentLength());return t??Mg(e)},Ns={http:Zm,xhr:Pg,fetch:Co&&(async r=>{let{url:e,method:t,data:n,signal:s,cancelToken:i,timeout:a,onDownloadProgress:d,onUploadProgress:v,responseType:j,headers:R,withCredentials:E="same-origin",fetchOptions:D}=pl(r);j=j?(j+"").toLowerCase():"text";let T=jg([s,i&&i.toAbortSignal()],a),w;const M=T&&T.unsubscribe&&(()=>{T.unsubscribe()});let A;try{if(v&&Ag&&t!=="get"&&t!=="head"&&(A=await Ig(R,n))!==0){let de=new Request(e,{method:"POST",body:n,duplex:"half"}),tn;if(P.isFormData(n)&&(tn=de.headers.get("content-type"))&&R.setContentType(tn),de.body){const[yn,Nr]=cl(A,Uo(al(v)));n=fl(de.body,ml,yn,Nr)}}P.isString(E)||(E=E?"include":"omit");const X="credentials"in Request.prototype;w=new Request(e,{...D,signal:T,method:t.toUpperCase(),headers:R.normalize().toJSON(),body:n,duplex:"half",credentials:X?E:void 0});let Y=await fetch(w);const ae=Es&&(j==="stream"||j==="response");if(Es&&(d||ae&&M)){const de={};["status","statusText","headers"].forEach(Oi=>{de[Oi]=Y[Oi]});const tn=P.toFiniteNumber(Y.headers.get("content-length")),[yn,Nr]=d&&cl(tn,Uo(al(d),!0))||[];Y=new Response(fl(Y.body,ml,yn,()=>{Nr&&Nr(),M&&M()}),de)}j=j||"text";let ot=await Fo[P.findKey(Fo,j)||"text"](Y,r);return!ae&&M&&M(),await new Promise((de,tn)=>{sl(de,tn,{data:ot,headers:Jt.from(Y.headers),status:Y.status,statusText:Y.statusText,config:r,request:w})})}catch(X){throw M&&M(),X&&X.name==="TypeError"&&/Load failed|fetch/i.test(X.message)?Object.assign(new ie("Network Error",ie.ERR_NETWORK,r,w),{cause:X.cause||X}):ie.from(X,X&&X.code,r,w)}})};P.forEach(Ns,(r,e)=>{if(r){try{Object.defineProperty(r,"name",{value:e})}catch{}Object.defineProperty(r,"adapterName",{value:e})}});const gl=r=>`- ${r}`,$g=r=>P.isFunction(r)||r===null||r===!1,hl={getAdapter:r=>{r=P.isArray(r)?r:[r];const{length:e}=r;let t,n;const s={};for(let i=0;i<e;i++){t=r[i];let a;if(n=t,!$g(t)&&(n=Ns[(a=String(t)).toLowerCase()],n===void 0))throw new ie(`Unknown adapter '${a}'`);if(n)break;s[a||"#"+i]=n}if(!n){const i=Object.entries(s).map(([d,v])=>`adapter ${d} `+(v===!1?"is not supported by the environment":"is not available in the build"));let a=e?i.length>1?`since :
|
|
19
|
+
*/var Ay;function Vl(){return Ay||(Ay=1,function(r){const e=ql(),t=zl(),n=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;r.Buffer=d,r.SlowBuffer=Y,r.INSPECT_MAX_BYTES=50;const s=2147483647;r.kMaxLength=s,d.TYPED_ARRAY_SUPPORT=i(),!d.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function i(){try{const y=new Uint8Array(1),p={foo:function(){return 42}};return Object.setPrototypeOf(p,Uint8Array.prototype),Object.setPrototypeOf(y,p),y.foo()===42}catch{return!1}}Object.defineProperty(d.prototype,"parent",{enumerable:!0,get:function(){if(d.isBuffer(this))return this.buffer}}),Object.defineProperty(d.prototype,"offset",{enumerable:!0,get:function(){if(d.isBuffer(this))return this.byteOffset}});function a(y){if(y>s)throw new RangeError('The value "'+y+'" is invalid for option "size"');const p=new Uint8Array(y);return Object.setPrototypeOf(p,d.prototype),p}function d(y,p,f){if(typeof y=="number"){if(typeof p=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return E(y)}return v(y,p,f)}d.poolSize=8192;function v(y,p,f){if(typeof y=="string")return k(y,p);if(ArrayBuffer.isView(y))return w(y);if(y==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof y);if(Yt(y,ArrayBuffer)||y&&Yt(y.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(Yt(y,SharedArrayBuffer)||y&&Yt(y.buffer,SharedArrayBuffer)))return M(y,p,f);if(typeof y=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const m=y.valueOf&&y.valueOf();if(m!=null&&m!==y)return d.from(m,p,f);const _=A(y);if(_)return _;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof y[Symbol.toPrimitive]=="function")return d.from(y[Symbol.toPrimitive]("string"),p,f);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof y)}d.from=function(y,p,f){return v(y,p,f)},Object.setPrototypeOf(d.prototype,Uint8Array.prototype),Object.setPrototypeOf(d,Uint8Array);function P(y){if(typeof y!="number")throw new TypeError('"size" argument must be of type number');if(y<0)throw new RangeError('The value "'+y+'" is invalid for option "size"')}function R(y,p,f){return P(y),y<=0?a(y):p!==void 0?typeof f=="string"?a(y).fill(p,f):a(y).fill(p):a(y)}d.alloc=function(y,p,f){return R(y,p,f)};function E(y){return P(y),a(y<0?0:X(y)|0)}d.allocUnsafe=function(y){return E(y)},d.allocUnsafeSlow=function(y){return E(y)};function k(y,p){if((typeof p!="string"||p==="")&&(p="utf8"),!d.isEncoding(p))throw new TypeError("Unknown encoding: "+p);const f=ae(y,p)|0;let m=a(f);const _=m.write(y,p);return _!==f&&(m=m.slice(0,_)),m}function T(y){const p=y.length<0?0:X(y.length)|0,f=a(p);for(let m=0;m<p;m+=1)f[m]=y[m]&255;return f}function w(y){if(Yt(y,Uint8Array)){const p=new Uint8Array(y);return M(p.buffer,p.byteOffset,p.byteLength)}return T(y)}function M(y,p,f){if(p<0||y.byteLength<p)throw new RangeError('"offset" is outside of buffer bounds');if(y.byteLength<p+(f||0))throw new RangeError('"length" is outside of buffer bounds');let m;return p===void 0&&f===void 0?m=new Uint8Array(y):f===void 0?m=new Uint8Array(y,p):m=new Uint8Array(y,p,f),Object.setPrototypeOf(m,d.prototype),m}function A(y){if(d.isBuffer(y)){const p=X(y.length)|0,f=a(p);return f.length===0||y.copy(f,0,0,p),f}if(y.length!==void 0)return typeof y.length!="number"||co(y.length)?a(0):T(y);if(y.type==="Buffer"&&Array.isArray(y.data))return T(y.data)}function X(y){if(y>=s)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s.toString(16)+" bytes");return y|0}function Y(y){return+y!=y&&(y=0),d.alloc(+y)}d.isBuffer=function(p){return p!=null&&p._isBuffer===!0&&p!==d.prototype},d.compare=function(p,f){if(Yt(p,Uint8Array)&&(p=d.from(p,p.offset,p.byteLength)),Yt(f,Uint8Array)&&(f=d.from(f,f.offset,f.byteLength)),!d.isBuffer(p)||!d.isBuffer(f))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(p===f)return 0;let m=p.length,_=f.length;for(let l=0,g=Math.min(m,_);l<g;++l)if(p[l]!==f[l]){m=p[l],_=f[l];break}return m<_?-1:_<m?1:0},d.isEncoding=function(p){switch(String(p).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},d.concat=function(p,f){if(!Array.isArray(p))throw new TypeError('"list" argument must be an Array of Buffers');if(p.length===0)return d.alloc(0);let m;if(f===void 0)for(f=0,m=0;m<p.length;++m)f+=p[m].length;const _=d.allocUnsafe(f);let l=0;for(m=0;m<p.length;++m){let g=p[m];if(Yt(g,Uint8Array))l+g.length>_.length?(d.isBuffer(g)||(g=d.from(g)),g.copy(_,l)):Uint8Array.prototype.set.call(_,g,l);else if(d.isBuffer(g))g.copy(_,l);else throw new TypeError('"list" argument must be an Array of Buffers');l+=g.length}return _};function ae(y,p){if(d.isBuffer(y))return y.length;if(ArrayBuffer.isView(y)||Yt(y,ArrayBuffer))return y.byteLength;if(typeof y!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof y);const f=y.length,m=arguments.length>2&&arguments[2]===!0;if(!m&&f===0)return 0;let _=!1;for(;;)switch(p){case"ascii":case"latin1":case"binary":return f;case"utf8":case"utf-8":return Pi(y).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return f*2;case"hex":return f>>>1;case"base64":return so(y).length;default:if(_)return m?-1:Pi(y).length;p=(""+p).toLowerCase(),_=!0}}d.byteLength=ae;function ot(y,p,f){let m=!1;if((p===void 0||p<0)&&(p=0),p>this.length||((f===void 0||f>this.length)&&(f=this.length),f<=0)||(f>>>=0,p>>>=0,f<=p))return"";for(y||(y="utf8");;)switch(y){case"hex":return Vo(this,p,f);case"utf8":case"utf-8":return Ho(this,p,f);case"ascii":return qo(this,p,f);case"latin1":case"binary":return zo(this,p,f);case"base64":return Cs(this,p,f);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Go(this,p,f);default:if(m)throw new TypeError("Unknown encoding: "+y);y=(y+"").toLowerCase(),m=!0}}d.prototype._isBuffer=!0;function de(y,p,f){const m=y[p];y[p]=y[f],y[f]=m}d.prototype.swap16=function(){const p=this.length;if(p%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let f=0;f<p;f+=2)de(this,f,f+1);return this},d.prototype.swap32=function(){const p=this.length;if(p%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let f=0;f<p;f+=4)de(this,f,f+3),de(this,f+1,f+2);return this},d.prototype.swap64=function(){const p=this.length;if(p%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let f=0;f<p;f+=8)de(this,f,f+7),de(this,f+1,f+6),de(this,f+2,f+5),de(this,f+3,f+4);return this},d.prototype.toString=function(){const p=this.length;return p===0?"":arguments.length===0?Ho(this,0,p):ot.apply(this,arguments)},d.prototype.toLocaleString=d.prototype.toString,d.prototype.equals=function(p){if(!d.isBuffer(p))throw new TypeError("Argument must be a Buffer");return this===p?!0:d.compare(this,p)===0},d.prototype.inspect=function(){let p="";const f=r.INSPECT_MAX_BYTES;return p=this.toString("hex",0,f).replace(/(.{2})/g,"$1 ").trim(),this.length>f&&(p+=" ... "),"<Buffer "+p+">"},n&&(d.prototype[n]=d.prototype.inspect),d.prototype.compare=function(p,f,m,_,l){if(Yt(p,Uint8Array)&&(p=d.from(p,p.offset,p.byteLength)),!d.isBuffer(p))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof p);if(f===void 0&&(f=0),m===void 0&&(m=p?p.length:0),_===void 0&&(_=0),l===void 0&&(l=this.length),f<0||m>p.length||_<0||l>this.length)throw new RangeError("out of range index");if(_>=l&&f>=m)return 0;if(_>=l)return-1;if(f>=m)return 1;if(f>>>=0,m>>>=0,_>>>=0,l>>>=0,this===p)return 0;let g=l-_,O=m-f;const N=Math.min(g,O),I=this.slice(_,l),ee=p.slice(f,m);for(let J=0;J<N;++J)if(I[J]!==ee[J]){g=I[J],O=ee[J];break}return g<O?-1:O<g?1:0};function tn(y,p,f,m,_){if(y.length===0)return-1;if(typeof f=="string"?(m=f,f=0):f>2147483647?f=2147483647:f<-2147483648&&(f=-2147483648),f=+f,co(f)&&(f=_?0:y.length-1),f<0&&(f=y.length+f),f>=y.length){if(_)return-1;f=y.length-1}else if(f<0)if(_)f=0;else return-1;if(typeof p=="string"&&(p=d.from(p,m)),d.isBuffer(p))return p.length===0?-1:yn(y,p,f,m,_);if(typeof p=="number")return p=p&255,typeof Uint8Array.prototype.indexOf=="function"?_?Uint8Array.prototype.indexOf.call(y,p,f):Uint8Array.prototype.lastIndexOf.call(y,p,f):yn(y,[p],f,m,_);throw new TypeError("val must be string, number or Buffer")}function yn(y,p,f,m,_){let l=1,g=y.length,O=p.length;if(m!==void 0&&(m=String(m).toLowerCase(),m==="ucs2"||m==="ucs-2"||m==="utf16le"||m==="utf-16le")){if(y.length<2||p.length<2)return-1;l=2,g/=2,O/=2,f/=2}function N(ee,J){return l===1?ee[J]:ee.readUInt16BE(J*l)}let I;if(_){let ee=-1;for(I=f;I<g;I++)if(N(y,I)===N(p,ee===-1?0:I-ee)){if(ee===-1&&(ee=I),I-ee+1===O)return ee*l}else ee!==-1&&(I-=I-ee),ee=-1}else for(f+O>g&&(f=g-O),I=f;I>=0;I--){let ee=!0;for(let J=0;J<O;J++)if(N(y,I+J)!==N(p,J)){ee=!1;break}if(ee)return I}return-1}d.prototype.includes=function(p,f,m){return this.indexOf(p,f,m)!==-1},d.prototype.indexOf=function(p,f,m){return tn(this,p,f,m,!0)},d.prototype.lastIndexOf=function(p,f,m){return tn(this,p,f,m,!1)};function Tr(y,p,f,m){f=Number(f)||0;const _=y.length-f;m?(m=Number(m),m>_&&(m=_)):m=_;const l=p.length;m>l/2&&(m=l/2);let g;for(g=0;g<m;++g){const O=parseInt(p.substr(g*2,2),16);if(co(O))return g;y[f+g]=O}return g}function Oi(y,p,f,m){return Vr(Pi(p,y.length-f),y,f,m)}function Is(y,p,f,m){return Vr(Xo(p),y,f,m)}function $s(y,p,f,m){return Vr(so(p),y,f,m)}function Us(y,p,f,m){return Vr(Yo(p,y.length-f),y,f,m)}d.prototype.write=function(p,f,m,_){if(f===void 0)_="utf8",m=this.length,f=0;else if(m===void 0&&typeof f=="string")_=f,m=this.length,f=0;else if(isFinite(f))f=f>>>0,isFinite(m)?(m=m>>>0,_===void 0&&(_="utf8")):(_=m,m=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");const l=this.length-f;if((m===void 0||m>l)&&(m=l),p.length>0&&(m<0||f<0)||f>this.length)throw new RangeError("Attempt to write outside buffer bounds");_||(_="utf8");let g=!1;for(;;)switch(_){case"hex":return Tr(this,p,f,m);case"utf8":case"utf-8":return Oi(this,p,f,m);case"ascii":case"latin1":case"binary":return Is(this,p,f,m);case"base64":return $s(this,p,f,m);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Us(this,p,f,m);default:if(g)throw new TypeError("Unknown encoding: "+_);_=(""+_).toLowerCase(),g=!0}},d.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Cs(y,p,f){return p===0&&f===y.length?e.fromByteArray(y):e.fromByteArray(y.slice(p,f))}function Ho(y,p,f){f=Math.min(y.length,f);const m=[];let _=p;for(;_<f;){const l=y[_];let g=null,O=l>239?4:l>223?3:l>191?2:1;if(_+O<=f){let N,I,ee,J;switch(O){case 1:l<128&&(g=l);break;case 2:N=y[_+1],(N&192)===128&&(J=(l&31)<<6|N&63,J>127&&(g=J));break;case 3:N=y[_+1],I=y[_+2],(N&192)===128&&(I&192)===128&&(J=(l&15)<<12|(N&63)<<6|I&63,J>2047&&(J<55296||J>57343)&&(g=J));break;case 4:N=y[_+1],I=y[_+2],ee=y[_+3],(N&192)===128&&(I&192)===128&&(ee&192)===128&&(J=(l&15)<<18|(N&63)<<12|(I&63)<<6|ee&63,J>65535&&J<1114112&&(g=J))}}g===null?(g=65533,O=1):g>65535&&(g-=65536,m.push(g>>>10&1023|55296),g=56320|g&1023),m.push(g),_+=O}return ro(m)}const no=4096;function ro(y){const p=y.length;if(p<=no)return String.fromCharCode.apply(String,y);let f="",m=0;for(;m<p;)f+=String.fromCharCode.apply(String,y.slice(m,m+=no));return f}function qo(y,p,f){let m="";f=Math.min(y.length,f);for(let _=p;_<f;++_)m+=String.fromCharCode(y[_]&127);return m}function zo(y,p,f){let m="";f=Math.min(y.length,f);for(let _=p;_<f;++_)m+=String.fromCharCode(y[_]);return m}function Vo(y,p,f){const m=y.length;(!p||p<0)&&(p=0),(!f||f<0||f>m)&&(f=m);let _="";for(let l=p;l<f;++l)_+=Ds[y[l]];return _}function Go(y,p,f){const m=y.slice(p,f);let _="";for(let l=0;l<m.length-1;l+=2)_+=String.fromCharCode(m[l]+m[l+1]*256);return _}d.prototype.slice=function(p,f){const m=this.length;p=~~p,f=f===void 0?m:~~f,p<0?(p+=m,p<0&&(p=0)):p>m&&(p=m),f<0?(f+=m,f<0&&(f=0)):f>m&&(f=m),f<p&&(f=p);const _=this.subarray(p,f);return Object.setPrototypeOf(_,d.prototype),_};function Qe(y,p,f){if(y%1!==0||y<0)throw new RangeError("offset is not uint");if(y+p>f)throw new RangeError("Trying to access beyond buffer length")}d.prototype.readUintLE=d.prototype.readUIntLE=function(p,f,m){p=p>>>0,f=f>>>0,m||Qe(p,f,this.length);let _=this[p],l=1,g=0;for(;++g<f&&(l*=256);)_+=this[p+g]*l;return _},d.prototype.readUintBE=d.prototype.readUIntBE=function(p,f,m){p=p>>>0,f=f>>>0,m||Qe(p,f,this.length);let _=this[p+--f],l=1;for(;f>0&&(l*=256);)_+=this[p+--f]*l;return _},d.prototype.readUint8=d.prototype.readUInt8=function(p,f){return p=p>>>0,f||Qe(p,1,this.length),this[p]},d.prototype.readUint16LE=d.prototype.readUInt16LE=function(p,f){return p=p>>>0,f||Qe(p,2,this.length),this[p]|this[p+1]<<8},d.prototype.readUint16BE=d.prototype.readUInt16BE=function(p,f){return p=p>>>0,f||Qe(p,2,this.length),this[p]<<8|this[p+1]},d.prototype.readUint32LE=d.prototype.readUInt32LE=function(p,f){return p=p>>>0,f||Qe(p,4,this.length),(this[p]|this[p+1]<<8|this[p+2]<<16)+this[p+3]*16777216},d.prototype.readUint32BE=d.prototype.readUInt32BE=function(p,f){return p=p>>>0,f||Qe(p,4,this.length),this[p]*16777216+(this[p+1]<<16|this[p+2]<<8|this[p+3])},d.prototype.readBigUInt64LE=xn(function(p){p=p>>>0,Sn(p,"offset");const f=this[p],m=this[p+7];(f===void 0||m===void 0)&&Mr(p,this.length-8);const _=f+this[++p]*2**8+this[++p]*2**16+this[++p]*2**24,l=this[++p]+this[++p]*2**8+this[++p]*2**16+m*2**24;return BigInt(_)+(BigInt(l)<<BigInt(32))}),d.prototype.readBigUInt64BE=xn(function(p){p=p>>>0,Sn(p,"offset");const f=this[p],m=this[p+7];(f===void 0||m===void 0)&&Mr(p,this.length-8);const _=f*2**24+this[++p]*2**16+this[++p]*2**8+this[++p],l=this[++p]*2**24+this[++p]*2**16+this[++p]*2**8+m;return(BigInt(_)<<BigInt(32))+BigInt(l)}),d.prototype.readIntLE=function(p,f,m){p=p>>>0,f=f>>>0,m||Qe(p,f,this.length);let _=this[p],l=1,g=0;for(;++g<f&&(l*=256);)_+=this[p+g]*l;return l*=128,_>=l&&(_-=Math.pow(2,8*f)),_},d.prototype.readIntBE=function(p,f,m){p=p>>>0,f=f>>>0,m||Qe(p,f,this.length);let _=f,l=1,g=this[p+--_];for(;_>0&&(l*=256);)g+=this[p+--_]*l;return l*=128,g>=l&&(g-=Math.pow(2,8*f)),g},d.prototype.readInt8=function(p,f){return p=p>>>0,f||Qe(p,1,this.length),this[p]&128?(255-this[p]+1)*-1:this[p]},d.prototype.readInt16LE=function(p,f){p=p>>>0,f||Qe(p,2,this.length);const m=this[p]|this[p+1]<<8;return m&32768?m|4294901760:m},d.prototype.readInt16BE=function(p,f){p=p>>>0,f||Qe(p,2,this.length);const m=this[p+1]|this[p]<<8;return m&32768?m|4294901760:m},d.prototype.readInt32LE=function(p,f){return p=p>>>0,f||Qe(p,4,this.length),this[p]|this[p+1]<<8|this[p+2]<<16|this[p+3]<<24},d.prototype.readInt32BE=function(p,f){return p=p>>>0,f||Qe(p,4,this.length),this[p]<<24|this[p+1]<<16|this[p+2]<<8|this[p+3]},d.prototype.readBigInt64LE=xn(function(p){p=p>>>0,Sn(p,"offset");const f=this[p],m=this[p+7];(f===void 0||m===void 0)&&Mr(p,this.length-8);const _=this[p+4]+this[p+5]*2**8+this[p+6]*2**16+(m<<24);return(BigInt(_)<<BigInt(32))+BigInt(f+this[++p]*2**8+this[++p]*2**16+this[++p]*2**24)}),d.prototype.readBigInt64BE=xn(function(p){p=p>>>0,Sn(p,"offset");const f=this[p],m=this[p+7];(f===void 0||m===void 0)&&Mr(p,this.length-8);const _=(f<<24)+this[++p]*2**16+this[++p]*2**8+this[++p];return(BigInt(_)<<BigInt(32))+BigInt(this[++p]*2**24+this[++p]*2**16+this[++p]*2**8+m)}),d.prototype.readFloatLE=function(p,f){return p=p>>>0,f||Qe(p,4,this.length),t.read(this,p,!0,23,4)},d.prototype.readFloatBE=function(p,f){return p=p>>>0,f||Qe(p,4,this.length),t.read(this,p,!1,23,4)},d.prototype.readDoubleLE=function(p,f){return p=p>>>0,f||Qe(p,8,this.length),t.read(this,p,!0,52,8)},d.prototype.readDoubleBE=function(p,f){return p=p>>>0,f||Qe(p,8,this.length),t.read(this,p,!1,52,8)};function ft(y,p,f,m,_,l){if(!d.isBuffer(y))throw new TypeError('"buffer" argument must be a Buffer instance');if(p>_||p<l)throw new RangeError('"value" argument is out of bounds');if(f+m>y.length)throw new RangeError("Index out of range")}d.prototype.writeUintLE=d.prototype.writeUIntLE=function(p,f,m,_){if(p=+p,f=f>>>0,m=m>>>0,!_){const O=Math.pow(2,8*m)-1;ft(this,p,f,m,O,0)}let l=1,g=0;for(this[f]=p&255;++g<m&&(l*=256);)this[f+g]=p/l&255;return f+m},d.prototype.writeUintBE=d.prototype.writeUIntBE=function(p,f,m,_){if(p=+p,f=f>>>0,m=m>>>0,!_){const O=Math.pow(2,8*m)-1;ft(this,p,f,m,O,0)}let l=m-1,g=1;for(this[f+l]=p&255;--l>=0&&(g*=256);)this[f+l]=p/g&255;return f+m},d.prototype.writeUint8=d.prototype.writeUInt8=function(p,f,m){return p=+p,f=f>>>0,m||ft(this,p,f,1,255,0),this[f]=p&255,f+1},d.prototype.writeUint16LE=d.prototype.writeUInt16LE=function(p,f,m){return p=+p,f=f>>>0,m||ft(this,p,f,2,65535,0),this[f]=p&255,this[f+1]=p>>>8,f+2},d.prototype.writeUint16BE=d.prototype.writeUInt16BE=function(p,f,m){return p=+p,f=f>>>0,m||ft(this,p,f,2,65535,0),this[f]=p>>>8,this[f+1]=p&255,f+2},d.prototype.writeUint32LE=d.prototype.writeUInt32LE=function(p,f,m){return p=+p,f=f>>>0,m||ft(this,p,f,4,4294967295,0),this[f+3]=p>>>24,this[f+2]=p>>>16,this[f+1]=p>>>8,this[f]=p&255,f+4},d.prototype.writeUint32BE=d.prototype.writeUInt32BE=function(p,f,m){return p=+p,f=f>>>0,m||ft(this,p,f,4,4294967295,0),this[f]=p>>>24,this[f+1]=p>>>16,this[f+2]=p>>>8,this[f+3]=p&255,f+4};function G(y,p,f,m,_){io(p,m,_,y,f,7);let l=Number(p&BigInt(4294967295));y[f++]=l,l=l>>8,y[f++]=l,l=l>>8,y[f++]=l,l=l>>8,y[f++]=l;let g=Number(p>>BigInt(32)&BigInt(4294967295));return y[f++]=g,g=g>>8,y[f++]=g,g=g>>8,y[f++]=g,g=g>>8,y[f++]=g,f}function ir(y,p,f,m,_){io(p,m,_,y,f,7);let l=Number(p&BigInt(4294967295));y[f+7]=l,l=l>>8,y[f+6]=l,l=l>>8,y[f+5]=l,l=l>>8,y[f+4]=l;let g=Number(p>>BigInt(32)&BigInt(4294967295));return y[f+3]=g,g=g>>8,y[f+2]=g,g=g>>8,y[f+1]=g,g=g>>8,y[f]=g,f+8}d.prototype.writeBigUInt64LE=xn(function(p,f=0){return G(this,p,f,BigInt(0),BigInt("0xffffffffffffffff"))}),d.prototype.writeBigUInt64BE=xn(function(p,f=0){return ir(this,p,f,BigInt(0),BigInt("0xffffffffffffffff"))}),d.prototype.writeIntLE=function(p,f,m,_){if(p=+p,f=f>>>0,!_){const N=Math.pow(2,8*m-1);ft(this,p,f,m,N-1,-N)}let l=0,g=1,O=0;for(this[f]=p&255;++l<m&&(g*=256);)p<0&&O===0&&this[f+l-1]!==0&&(O=1),this[f+l]=(p/g>>0)-O&255;return f+m},d.prototype.writeIntBE=function(p,f,m,_){if(p=+p,f=f>>>0,!_){const N=Math.pow(2,8*m-1);ft(this,p,f,m,N-1,-N)}let l=m-1,g=1,O=0;for(this[f+l]=p&255;--l>=0&&(g*=256);)p<0&&O===0&&this[f+l+1]!==0&&(O=1),this[f+l]=(p/g>>0)-O&255;return f+m},d.prototype.writeInt8=function(p,f,m){return p=+p,f=f>>>0,m||ft(this,p,f,1,127,-128),p<0&&(p=255+p+1),this[f]=p&255,f+1},d.prototype.writeInt16LE=function(p,f,m){return p=+p,f=f>>>0,m||ft(this,p,f,2,32767,-32768),this[f]=p&255,this[f+1]=p>>>8,f+2},d.prototype.writeInt16BE=function(p,f,m){return p=+p,f=f>>>0,m||ft(this,p,f,2,32767,-32768),this[f]=p>>>8,this[f+1]=p&255,f+2},d.prototype.writeInt32LE=function(p,f,m){return p=+p,f=f>>>0,m||ft(this,p,f,4,2147483647,-2147483648),this[f]=p&255,this[f+1]=p>>>8,this[f+2]=p>>>16,this[f+3]=p>>>24,f+4},d.prototype.writeInt32BE=function(p,f,m){return p=+p,f=f>>>0,m||ft(this,p,f,4,2147483647,-2147483648),p<0&&(p=4294967295+p+1),this[f]=p>>>24,this[f+1]=p>>>16,this[f+2]=p>>>8,this[f+3]=p&255,f+4},d.prototype.writeBigInt64LE=xn(function(p,f=0){return G(this,p,f,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),d.prototype.writeBigInt64BE=xn(function(p,f=0){return ir(this,p,f,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function Wo(y,p,f,m,_,l){if(f+m>y.length)throw new RangeError("Index out of range");if(f<0)throw new RangeError("Index out of range")}function Ve(y,p,f,m,_){return p=+p,f=f>>>0,_||Wo(y,p,f,4),t.write(y,p,f,m,23,4),f+4}d.prototype.writeFloatLE=function(p,f,m){return Ve(this,p,f,!0,m)},d.prototype.writeFloatBE=function(p,f,m){return Ve(this,p,f,!1,m)};function Ko(y,p,f,m,_){return p=+p,f=f>>>0,_||Wo(y,p,f,8),t.write(y,p,f,m,52,8),f+8}d.prototype.writeDoubleLE=function(p,f,m){return Ko(this,p,f,!0,m)},d.prototype.writeDoubleBE=function(p,f,m){return Ko(this,p,f,!1,m)},d.prototype.copy=function(p,f,m,_){if(!d.isBuffer(p))throw new TypeError("argument should be a Buffer");if(m||(m=0),!_&&_!==0&&(_=this.length),f>=p.length&&(f=p.length),f||(f=0),_>0&&_<m&&(_=m),_===m||p.length===0||this.length===0)return 0;if(f<0)throw new RangeError("targetStart out of bounds");if(m<0||m>=this.length)throw new RangeError("Index out of range");if(_<0)throw new RangeError("sourceEnd out of bounds");_>this.length&&(_=this.length),p.length-f<_-m&&(_=p.length-f+m);const l=_-m;return this===p&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(f,m,_):Uint8Array.prototype.set.call(p,this.subarray(m,_),f),l},d.prototype.fill=function(p,f,m,_){if(typeof p=="string"){if(typeof f=="string"?(_=f,f=0,m=this.length):typeof m=="string"&&(_=m,m=this.length),_!==void 0&&typeof _!="string")throw new TypeError("encoding must be a string");if(typeof _=="string"&&!d.isEncoding(_))throw new TypeError("Unknown encoding: "+_);if(p.length===1){const g=p.charCodeAt(0);(_==="utf8"&&g<128||_==="latin1")&&(p=g)}}else typeof p=="number"?p=p&255:typeof p=="boolean"&&(p=Number(p));if(f<0||this.length<f||this.length<m)throw new RangeError("Out of range index");if(m<=f)return this;f=f>>>0,m=m===void 0?this.length:m>>>0,p||(p=0);let l;if(typeof p=="number")for(l=f;l<m;++l)this[l]=p;else{const g=d.isBuffer(p)?p:d.from(p,_),O=g.length;if(O===0)throw new TypeError('The value "'+p+'" is invalid for argument "value"');for(l=0;l<m-f;++l)this[l+f]=g[l%O]}return this};const Ar={};function Ri(y,p,f){Ar[y]=class extends f{constructor(){super(),Object.defineProperty(this,"message",{value:p.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${y}]`,this.stack,delete this.name}get code(){return y}set code(_){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:_,writable:!0})}toString(){return`${this.name} [${y}]: ${this.message}`}}}Ri("ERR_BUFFER_OUT_OF_BOUNDS",function(y){return y?`${y} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),Ri("ERR_INVALID_ARG_TYPE",function(y,p){return`The "${y}" argument must be of type number. Received type ${typeof p}`},TypeError),Ri("ERR_OUT_OF_RANGE",function(y,p,f){let m=`The value of "${y}" is out of range.`,_=f;return Number.isInteger(f)&&Math.abs(f)>2**32?_=Jo(String(f)):typeof f=="bigint"&&(_=String(f),(f>BigInt(2)**BigInt(32)||f<-(BigInt(2)**BigInt(32)))&&(_=Jo(_)),_+="n"),m+=` It must be ${p}. Received ${_}`,m},RangeError);function Jo(y){let p="",f=y.length;const m=y[0]==="-"?1:0;for(;f>=m+4;f-=3)p=`_${y.slice(f-3,f)}${p}`;return`${y.slice(0,f)}${p}`}function ln(y,p,f){Sn(p,"offset"),(y[p]===void 0||y[p+f]===void 0)&&Mr(p,y.length-(f+1))}function io(y,p,f,m,_,l){if(y>f||y<p){const g=typeof p=="bigint"?"n":"";let O;throw p===0||p===BigInt(0)?O=`>= 0${g} and < 2${g} ** ${(l+1)*8}${g}`:O=`>= -(2${g} ** ${(l+1)*8-1}${g}) and < 2 ** ${(l+1)*8-1}${g}`,new Ar.ERR_OUT_OF_RANGE("value",O,y)}ln(m,_,l)}function Sn(y,p){if(typeof y!="number")throw new Ar.ERR_INVALID_ARG_TYPE(p,"number",y)}function Mr(y,p,f){throw Math.floor(y)!==y?(Sn(y,f),new Ar.ERR_OUT_OF_RANGE("offset","an integer",y)):p<0?new Ar.ERR_BUFFER_OUT_OF_BOUNDS:new Ar.ERR_OUT_OF_RANGE("offset",`>= 0 and <= ${p}`,y)}const Fs=/[^+/0-9A-Za-z-_]/g;function oo(y){if(y=y.split("=")[0],y=y.trim().replace(Fs,""),y.length<2)return"";for(;y.length%4!==0;)y=y+"=";return y}function Pi(y,p){p=p||1/0;let f;const m=y.length;let _=null;const l=[];for(let g=0;g<m;++g){if(f=y.charCodeAt(g),f>55295&&f<57344){if(!_){if(f>56319){(p-=3)>-1&&l.push(239,191,189);continue}else if(g+1===m){(p-=3)>-1&&l.push(239,191,189);continue}_=f;continue}if(f<56320){(p-=3)>-1&&l.push(239,191,189),_=f;continue}f=(_-55296<<10|f-56320)+65536}else _&&(p-=3)>-1&&l.push(239,191,189);if(_=null,f<128){if((p-=1)<0)break;l.push(f)}else if(f<2048){if((p-=2)<0)break;l.push(f>>6|192,f&63|128)}else if(f<65536){if((p-=3)<0)break;l.push(f>>12|224,f>>6&63|128,f&63|128)}else if(f<1114112){if((p-=4)<0)break;l.push(f>>18|240,f>>12&63|128,f>>6&63|128,f&63|128)}else throw new Error("Invalid code point")}return l}function Xo(y){const p=[];for(let f=0;f<y.length;++f)p.push(y.charCodeAt(f)&255);return p}function Yo(y,p){let f,m,_;const l=[];for(let g=0;g<y.length&&!((p-=2)<0);++g)f=y.charCodeAt(g),m=f>>8,_=f%256,l.push(_),l.push(m);return l}function so(y){return e.toByteArray(oo(y))}function Vr(y,p,f,m){let _;for(_=0;_<m&&!(_+f>=p.length||_>=y.length);++_)p[_+f]=y[_];return _}function Yt(y,p){return y instanceof p||y!=null&&y.constructor!=null&&y.constructor.name!=null&&y.constructor.name===p.name}function co(y){return y!==y}const Ds=function(){const y="0123456789abcdef",p=new Array(256);for(let f=0;f<16;++f){const m=f*16;for(let _=0;_<16;++_)p[m+_]=y[f]+y[_]}return p}();function xn(y){return typeof BigInt>"u"?ks:y}function ks(){throw new Error("BigInt not supported")}}(ys)),ys}var My=Vl(),Gl=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i};u.JSONCodec=class extends u.Codec{constructor(){super(...arguments);o(this,"encoder",new TextEncoder);o(this,"decoder",new TextDecoder)}decode(t,n){const s=this.decoder.decode(t);if(!n||!n.constructor)return JSON.parse(s);const i=JSON.parse(s);if(typeof i!="object"&&typeof i!="function"||i==null)return i;switch(n.name){case"Object":return i}return this.decorateAny(n,i)}decorateAny(t,n){const s=t instanceof or,i=s?t.raw:t;if(!i)return n;switch(i){case Map:{if(n==null)return{};if(!s||t.parameters.length<1)return n;const a={};for(const d of Object.keys(n))a[this.decorateAny(t.parameters[0],d)]=this.decorateAny(t.parameters[1],n[d]);return a}case Array:return n==null?[]:!s||t.parameters.length<1?n:n.map(a=>this.decorateAny(t.parameters[0],a));case Oe:{if(n==null)return null;const a=new i;if(!s||t.parameters.length<1)return Object.assign(a,n);Object.assign(a,n);const d=[];for(let v of a.data||[])d.push(this.decorateAny(t.parameters[0],v));return a.data=d,a}case String:case Number:case Boolean:case Object:return n;case Date:return n==null||n<1?null:new Date(n);case Uint8Array:return n==null?null:n instanceof Uint8Array?n:My.Buffer.from(n,"base64");default:{if(n==null)return null;const a=new i;for(const d of Object.keys(a)){const v=$e.metadata(sr,i,d);if(!v){Reflect.set(a,d,n[d]);continue}const P=n[d]??n[v.name];Reflect.set(a,d,this.decorateAny(v.kind,P))}return a}}}encode(t){return this.encoder.encode(JSON.stringify(t,(n,s)=>{if(s==null||Array.isArray(s))return s;if(!$e.annotated(s.constructor))return this.encodeAny(s);const i=new Map;for(let d in s){const v=$e.metadata(sr,s.constructor,d);v!=null&&v.name&&v.name.length>0&&v.name!=d&&i.set(d,v.name),((v==null?void 0:v.kind)==Uint8Array||(v==null?void 0:v.kind)==Date||(v==null?void 0:v.kind)==Map)&&Reflect.set(s,d,this.encodeAny(Reflect.get(s,d)))}if(i.size<1)return this.encodeAny(s);const a={};for(let d in s)a[i.get(d)??d]=s[d];return this.encodeAny(a)}))}encodeAny(t){return t instanceof Uint8Array?My.Buffer.from(t).toString("base64"):t instanceof Date?t.getTime():t instanceof Map?Object.fromEntries(t):t}uint8ify(t){return this.encoder.encode(t)}stringify(t){return this.decoder.decode(t)}},u.JSONCodec=Gl([B(u.Codec.JSON)],u.JSONCodec);var Lr=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i},Xi=function(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)},Ro;u.Compiler=class{},u.Compiler=Lr([B("mesh")],u.Compiler);function Wl(r){return{}}u.TSCompiler=(Nr=class extends u.Compiler{compile(e,t){}intype(e){return Ro.parameters.computeIfy(e,t=>{var n;class s{constructor(){o(this,"attachments",new Map)}getAttachments(){return this.attachments}map(){return Object.assign(new Map,this)}setAttachments(a){(a||{}).forEach((d,v)=>this.attachments.set(v,d))}getArguments(){return t.getParameters().map(a=>{var d;return(d=Object.getOwnPropertyDescriptor(this,a.name))==null?void 0:d.value})}setArguments(a){const d=tt.load(u.Codec).getDefault();t.getParameters().forEach((v,P)=>{if(a&&a.length>v.index&&!(a[v.index]instanceof fo)){const R=a[v.index];if(R==null)return;if(R instanceof v.kind&&!(v.kind instanceof or)){Reflect.set(this,v.name,R);return}switch(v.kind){case Map:case Array:case String:case Number:case Boolean:case Object:case Date:case Uint8Array:Reflect.set(this,v.name,R);break;default:const E=d.encode(R),k=d.decode(E,v.kind);Reflect.set(this,v.name,k)}}})}}return Lr([c(-1,"attachments",Map),Xi("design:type",typeof(n=typeof Map<"u"&&Map)=="function"?n:Object)],s.prototype,"attachments",void 0),s})}retype(e){return Ro.returns.computeIfy(e,t=>{class n{constructor(){o(this,"code","");o(this,"message","");o(this,"content");o(this,"cause")}getCause(){return this.cause}getCode(){return this.code}getContent(){return this.content}getMessage(){return this.message}setCause(i){this.cause=i}setCode(i){this.code=i}setContent(i){this.content=i}setMessage(i){this.message=i}}return Lr([c(0),Xi("design:type",String)],n.prototype,"code",void 0),Lr([c(5),Xi("design:type",String)],n.prototype,"message",void 0),Lr([c(10,"content",t.getReturnType()),Xi("design:type",Object)],n.prototype,"content",void 0),Lr([c(15,"cause",xt),Xi("design:type",Object)],n.prototype,"cause",void 0),n})}},Ro=Nr,o(Nr,"parameters",new q),o(Nr,"returns",new q),Nr),u.TSCompiler=Ro=Lr([B("mesh")],u.TSCompiler);var Kl=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i};u.Consumer=(vi=class{},o(vi,"HTTP","http"),o(vi,"GRPC","grpc"),o(vi,"TCP","tcp"),o(vi,"MQTT","mqtt"),vi),u.Consumer=Kl([B(u.Consumer.HTTP)],u.Consumer);class Po{constructor(e){o(this,"servers",new vt);o(this,"availableAddrs",new vt);o(this,"relativePath",!1);for(const t of(e||"").split(","))t&&t.trim().length>0&&!this.availableAddrs.includes(t)&&(this.servers.push(new Iy(!0,t)),this.availableAddrs.push(t))}any(){if(this.relativePath)return"";const e=this.availableAddrs;return!e||e.length<1?"":e[Math.floor(Math.random()*e.length)]}relative(e){this.relativePath=e}}class Iy{constructor(e,t){o(this,"available");o(this,"address");this.available=e,this.address=t}}class Jl{constructor(e){o(this,"value");o(this,"fn");this.fn=e}get(){return this.value??(this.value=this.fn()),this.value}reset(e){this.value=e}}const Lo=class Lo{static substring(e,t,n){return!e||e.length>t+n?"":e.substring(t,t+n)}static repeat(e,t){const n=[];for(let s=0;s<t;++s)n.push(e);return n.join("")}static anyone(...e){for(let t of e)if(t&&t.length>0)return t;return""}static traceId(){return""}static spanId(e,t){return""}static newEntity(e){if(!e)return new De;const t=tt.load(u.Codec),n=new De;return n.codec=t.defaultName(),n.schema="",n.buffer=t.getDefault().encode(e),n}static newCacheEntity(e,t,n){const s=Lo.newEntity(t),i=new jt;return i.version="1.0.0",i.entity=s,i.timestamp=Date.now(),i.duration=n,i.key=e,i}static readObject(e,t){return!e.buffer||e.buffer.length<1?null:tt.load(u.Codec).get(e.codec??u.Codec.JSON).decode(e.buffer,t)}static compareVersion(e,t){if(!e)return-1;if(!t)return 1;const n=e.split("."),s=t.split(".");for(let i=0;i<n.length;i++){if(s.length<=i)return 0;if(s[i]=="*")continue;const a=n[i].localeCompare(s[i]);if(a!=0)return a}return 0}static ofError(e){return new xt}static ofCause(e,t,n){throw new Error}static hexString(e){const t=new TextEncoder().encode(e),n="0123456789abcdef";let s="";for(const i of t){const a=i;s+=n[a>>4],s+=n[a&15]}return s}};o(Lo,"MESH_ADDRESS",new Jl(()=>typeof process<"u"&&process.env.MESH_ADDRESS?new Po(process.env.MESH_ADDRESS):globalThis.window!==void 0?new Po(`${globalThis.location.origin}/`):new Po("http://127.0.0.1:443/")));let _e=Lo;var Xl=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i};class Yi extends fo{constructor(){super(...arguments);o(this,"traceId","");o(this,"spanId","");o(this,"timestamp",0);o(this,"runMode",0);o(this,"urn","");o(this,"consumer",new yr);o(this,"calls",0);o(this,"attachments",new Map);o(this,"attributes",new Map);o(this,"principals",new Vs)}static create(){const t=new Yi;return t.traceId=_e.traceId(),t.spanId=_e.spanId("",0),t.timestamp=new Date().getTime(),t.runMode=0,t.urn="",t.consumer=new yr,t}getAttachments(){return this.attachments}getAttribute(t){return this.attributes.get(t.name)}getAttributes(){return this.attributes}getConsumer(t){return this.consumer}getPrincipals(){return this.principals}getProvider(t){return new yr}getRunMode(){return this.runMode}getSpanId(){return this.spanId}getTimestamp(){return this.timestamp}getTraceId(){return this.traceId}getUrn(){return this.urn}setAttribute(t,n){this.attributes.set(t.name,n)}resume(){this.calls++;const t=new Yi;return t.traceId=this.getTraceId(),t.spanId=_e.spanId(this.getSpanId(),this.calls),t.timestamp=this.getTimestamp(),t.runMode=this.getRunMode(),t.urn=this.getUrn(),t.consumer=this.getConsumer(this),this.getAttachments()&&this.getAttachments().forEach((n,s)=>t.attachments.set(n,s)),this.getAttributes()&&this.getAttributes().forEach((n,s)=>t.attributes.set(n,s)),this.getPrincipals()&&this.getPrincipals().forEach(n=>t.principals.push(n)),t}rewriteContext(t){t.getTraceId()&&(this.traceId=t.getTraceId()),t.getSpanId()&&(this.spanId=t.getSpanId()),t.getTimestamp()&&t.getTimestamp()>0&&(this.timestamp=t.getTimestamp()),t.getRunMode()&&t.getRunMode()>0&&(this.runMode=t.getRunMode()),t.getUrn()&&(this.urn=t.getUrn()),t.getConsumer(this)&&(this.consumer=t.getConsumer(this)),this.getAttachments()&&this.getAttachments().forEach((n,s)=>this.attachments.set(n,s)),this.getAttributes()&&this.getAttributes().forEach((n,s)=>this.attributes.set(n,s)),this.getPrincipals()&&this.getPrincipals().forEach(n=>this.principals.push(n))}rewriteURN(t){this.urn=t}}u.MeshContextProvider=class extends u.ContextProvider{context(){return Yi.create()}},u.MeshContextProvider=Xl([B("mesh")],u.MeshContextProvider);var Yl=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i};u.Eden=class{},u.Eden=Yl([B("mesh")],u.Eden);class et{}o(et,"REMOTE",new cr("mesh.mpc.address")),o(et,"REMOTE_NAME",new cr("mesh.mpc.remote.name")),o(et,"INVOCATION",new cr("mesh.invocation")),o(et,"UNAME",new cr("mesh.mpc.uname")),o(et,"CONSUMER",new cr("mesh.mpc.consumer")),o(et,"CODEC",new cr("mesh.mpc.codec")),o(et,"TIMEOUT",new cr("mesh.mpc.timeout"));class tr{constructor(e,t){o(this,"code");o(this,"name");this.code=e,this.name=t}}const Re=class Re{static ofProto(e){for(let t of Re.PROTO)if(t.code==e)return t;return Re.HTTP}static ofCodec(e){for(let t of Re.CODEC)if(t.code==e)return t;return Re.JSON}static ofName(e){for(let t of Re.PROTO)if(t.name==e)return t;for(let t of Re.CODEC)if(t.name==e)return t;return Re.HTTP}};o(Re,"HTTP",new tr("00",u.Consumer.HTTP)),o(Re,"GRPC",new tr("01",u.Consumer.GRPC)),o(Re,"MQTT",new tr("02",u.Consumer.MQTT)),o(Re,"TCP",new tr("03",u.Consumer.TCP)),o(Re,"JSON",new tr("00",u.Codec.JSON)),o(Re,"PROTOBUF",new tr("01",u.Codec.PROTOBUF)),o(Re,"XML",new tr("02",u.Codec.XML)),o(Re,"THRIFT",new tr("03",u.Codec.THRIFT)),o(Re,"YAML",new tr("04",u.Codec.YAML)),o(Re,"PROTO",[Re.HTTP,Re.GRPC,Re.MQTT,Re.TCP]),o(Re,"CODEC",[Re.JSON,Re.PROTOBUF,Re.XML,Re.THRIFT,Re.YAML]);let Dn=Re;const Ql=r=>{const e=b();return e.setAttribute(et.CONSUMER,tt.load(u.Consumer).get(r)),e},Zl=r=>{const e=b();return e.setAttribute(et.CODEC,tt.load(u.Codec).get(r)),e};class $y{constructor(e,t){o(this,"inspector");o(this,"reference");o(this,"service");this.reference=new Nn,this.reference.urn=t.toString(),this.reference.namespace="",this.reference.name=t.name,this.reference.version=t.flag.version,this.reference.proto=Dn.ofProto(t.flag.proto).name,this.reference.codec=Dn.ofCodec(t.flag.codec).name,this.reference.flags=0,this.reference.timeout=parseInt(yo.MESH_TIMEOUT.get(e))||1e4,this.reference.retries=3,this.reference.mdc=t.mdc,this.reference.zone=t.flag.zone,this.reference.cluster=t.flag.cluster,this.reference.cell=t.flag.cell,this.reference.group=t.flag.group,this.reference.address=t.flag.address,this.service=new Ht,this.inspector=new Uy(t)}inflect(e){return new ls}inspect(e){return this.inspector}intype(e){return ls}reflect(e){return new ms}retype(e){return ms}schema(e){return this.reference}}class Uy{constructor(e){o(this,"urn");this.urn=e}getType(){return Object}getAnnotation(e){}getName(){return this.urn.name}getParameters(){return[]}getReturnType(){return new or(Map)}getExecutable(){return()=>{}}getSymbol(){return this.urn.name}invoke(e,t){}}class ls extends Map{map(){return this}getArguments(){const e=[];return super.forEach((t,n)=>{n!="attachments"&&e.push(t)}),e}getAttachments(){var s;const e=((s=Object.getOwnPropertyDescriptor(this,"attachments"))==null?void 0:s.value)||new Map;if(e instanceof Map)return e;const t=tt.load(u.Codec).get(u.Codec.JSON),n=t.decode(t.encode(e),Map);return this.setAttachments(n),n}setArguments(e){}setAttachments(e){Object.assign(this,{attachments:xt})}}class ms extends Map{getCause(){var n;const e=(n=Object.getOwnPropertyDescriptor(this,"cause"))==null?void 0:n.value;if(!e||e instanceof xt)return e;const t=tt.load(u.Codec).get(u.Codec.JSON);return t.decode(t.encode(e),xt)}getCode(){var e;return(e=Object.getOwnPropertyDescriptor(this,"code"))==null?void 0:e.value}getContent(){var e;return(e=Object.getOwnPropertyDescriptor(this,"content"))==null?void 0:e.value}getMessage(){var e;return((e=Object.getOwnPropertyDescriptor(this,"message"))==null?void 0:e.value)||""}setCause(e){Object.assign(this,{cause:e})}setCode(e){Object.assign(this,{code:e})}setContent(e){Object.assign(this,{content:e})}setMessage(e){Object.assign(this,{message:e})}}var em=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i};const Cy="PROVIDER",jo="CONSUMER";u.Filter=class{},u.Filter=em([B("*")],u.Filter);function gs(r,e){const t=tt.load(u.Filter).list().filter(n=>{const s=$e.metadata(mn,n==null?void 0:n.constructor,n==null?void 0:n.constructor);return!s||s.pattern==""||(s==null?void 0:s.pattern)==e}).sort((n,s)=>{var d,v;const i=((d=$e.metadata(mn,n==null?void 0:n.constructor,n==null?void 0:n.constructor))==null?void 0:d.priority)||0,a=((v=$e.metadata(mn,s==null?void 0:s.constructor,s==null?void 0:s.constructor))==null?void 0:v.priority)||0;return i==a?0:i<a?-1:1});return tm(r,t)}function tm(r,e){let t=r;for(let n=e.length-1;n>=0;n--){let s=e[n],i=t;t=new class{run(a,d){return s.invoke(a,i,d)}}}return t}var nm=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i};class rm{constructor(){o(this,"beforeHooks",new q);o(this,"successHooks",new q);o(this,"failureHooks",new q)}}const Pr=()=>{const r=Gr();return r.Mesh??(r.Mesh=new rm),r.Mesh};class im{onBefore(e,t){Pr().beforeHooks.set(e,t)}onSuccess(e,t){Pr().successHooks.set(e,t)}onFailure(e,t){Pr().failureHooks.set(e,t)}before(){return Pr().beforeHooks}success(){return Pr().successHooks}failure(){return Pr().failureHooks}}const wo=new im;u.HookFilter=class extends u.Filter{async invoke(e,t,n){try{for(const[i,a]of wo.before())await a(e,n);const s=await t.run(e,n);for(const[i,a]of wo.success())await a(e,n,s);return s}catch(s){for(const[i,a]of wo.failure())zs(s)?await a(e,n,s):await a(e,n,h.SYSTEM_ERROR);throw s}}},u.HookFilter=nm([B("hook",jo)],u.HookFilter);class Fy{constructor(e,t,n,s){o(this,"proxy");o(this,"inspector");o(this,"parameters");o(this,"execution");this.proxy=e,this.inspector=t,this.parameters=n,this.execution=s}getArguments(e){return this.parameters.getArguments()}getAttachments(e){return this.parameters.getAttachments()}getExecution(e){return this.execution}getInspector(e){return this.inspector}getParameters(e){return this.parameters}getProxy(e){return this.proxy}isAsync(e){return!1}}const rr=class rr{constructor(){o(this,"domain","");o(this,"mdc","");o(this,"flag",new jr);o(this,"name","")}static from(e){const t=new rr;if(!e)return console.log(`Unresolved urn ${e}`),t;const n=t.asArray(e);return n.length<5?(console.log(`Unresolved urn ${e}`),t):(n.reverse(),t.domain=`${n.splice(1,1).join("")}.${n.splice(0,1).join("")}`,t.mdc=n.splice(0,1).join(""),t.flag=jr.from(n.splice(0,1).join("")),t.name=n.join("."),t)}static urn(e){const t=new rr;return t.mdc=this.LocalMDC,t.flag=jr.from("0001000000000000000000000000000000000"),t.name=e,t.domain=this.MESH_DOMAIN,t}proto(e){return this.flag.proto=e,this}codec(e){return this.flag.codec=e,this}toString(){const e=[],t=this.asArray(this.name);return t.reverse(),t.filter(n=>n).forEach(n=>e.push(n)),e.push(this.flag.toString()),e.push(this.mdc),e.push(_e.anyone(this.domain,rr.MESH_DOMAIN)),e.join(".")}asArray(e){const t=e.split("."),n=[],s=[];for(let i of t){if(i.startsWith("${")){s.push(i),s.push(".");continue}if(i.endsWith("}")){s.push(i),n.push(s.join("")),s.splice(0,s.length);continue}n.push(i)}return n}matchName(e){return e?e.endsWith(".*")&&e.startsWith(e.replace(".*","")):!1}resetFlag(e,t){return this.flag.proto=e,this.flag.codec=t,this}};o(rr,"CN","firmer"),o(rr,"MESH_DOMAIN",rr.CN+".tech"),o(rr,"LocalMDC","XX00000000000000");let nr=rr;class jr{constructor(){o(this,"v","00");o(this,"proto","00");o(this,"codec","00");o(this,"version","000000");o(this,"zone","00");o(this,"cluster","00");o(this,"cell","00");o(this,"group","00");o(this,"address","000000000000");o(this,"port","00000")}static from(e){if(!e)return new jr;const t=new jr;return t.v=_e.substring(e,0,2),t.proto=_e.substring(e,2,2),t.codec=_e.substring(e,4,2),t.version=this.reduce(_e.substring(e,6,6),2),t.zone=_e.substring(e,12,2),t.cluster=_e.substring(e,14,2),t.cell=_e.substring(e,16,2),t.group=_e.substring(e,18,2),t.address=this.reduce(_e.substring(e,20,12),3),t.port=this.reduce(_e.substring(e,32,5),5),t}toString(){const e=this.padding(_e.anyone(this.v,""),2),t=this.padding(_e.anyone(this.proto,""),2),n=this.padding(_e.anyone(this.codec,""),2),s=this.paddingChain(_e.anyone(this.version,""),2,3),i=this.padding(_e.anyone(this.zone,""),2),a=this.padding(_e.anyone(this.cluster,""),2),d=this.padding(_e.anyone(this.cell,""),2),v=this.padding(_e.anyone(this.group,""),2),P=this.paddingChain(_e.anyone(this.address,""),3,4),R=this.padding(_e.anyone(this.port,""),5);return`${e}${t}${n}${s}${i}${a}${d}${v}${P}${R}`}padding(e,t){const n=e.replace(".","");return n.length==t?n:n.length<t?_e.repeat("0",t-e.length)+n:e.substring(0,t)}paddingChain(e,t,n){const s=e.split("[.*]"),i=s.map(a=>parseInt(a)?a:"");if(i.length==n)return i.map(a=>this.padding(a,t)).join("");if(i.length<n){for(let a=0;a<n-s.length;a++)i.push("");return i.map(a=>this.padding(a,t)).join("")}return i.slice(0,n).map(a=>this.padding(a,t)).join("")}static reduce(e,t){if(!e)return e;const n=[];for(let s=0;s<e.length;s+=t){let i=!0;for(let a=s;a<s+t;a++)e.charAt(a)!="0"&&(i=!1),i||n.push(e.charAt(a));i&&n.push("0"),n.push(".")}return n.slice(0,n.length-1).join("")}}class Dy{constructor(e){o(this,"placeholder","${mesh.name}");o(this,"macro");o(this,"invoker");this.macro=e,this.invoker=gs(this,jo)}context(e){if(!e||e.length<1)return b();for(let t of e)if(t instanceof fo)return t;return b()}invoke(e,t,n){return new Promise(async(s,i)=>{try{const a=this.context(n),d=this.referExecution(a,t),v=this.rewriteURN(a,d);a.rewriteURN(v),a.setAttribute(et.REMOTE,this.rewriteAddress(a,v));const P=d.inflect(a);P.setArguments(n),P.setAttachments(new Map);const R=new Fy(this,t,P,d);a.setAttribute(et.INVOCATION,R),s(await this.invoker.run(a,R))}catch(a){i(Ni.errorf(a))}})}async run(e,t){const n=this.referExecution(e,t.getInspector(e)),s=tt.load(u.Consumer),i=e.getAttribute(et.CONSUMER)??s.getDefault(),a=_e.anyone(e.getAttribute(et.REMOTE),_e.MESH_ADDRESS.get().any()),d=n.schema(e).codec||Dn.JSON.name,v=tt.load(u.Codec),P=e.getAttribute(et.CODEC)??v.get(d),R=P.encode(t.getParameters(e)),E=Dn.ofName(s.defaultName()).code,k=Dn.ofName(v.defaultName()).code,T=nr.from(e.getUrn()).resetFlag(E,k).toString(),w=await i.consume(e,a,T,n,R);return await this.deserialize(e,n,P,w)}deserialize(e,t,n,s){return new Promise((i,a)=>{try{const d=t.retype(e),v=n.decode(s,d);if(v.getCause()){a(Ni.errorf(v.getCause()));return}if(h.SUCCESS.getCode()!=v.getCode()){a(new oe(v.getCode(),v.getMessage()));return}i(v.getContent())}catch(d){a(Ni.errorf(d))}})}referExecution(e,t){const s=tt.load(u.Eden).getDefault().refer(e,t.getAnnotation(Ge),t.getType(),t);if(s)return s;throw new Error(`Method ${t.getName()} cant be compatible`)}rewriteURN(e,t){var d;const n=(d=e.getPrincipals().peek())==null?void 0:d.id,s=e.getAttribute(et.UNAME),i=e.getAttribute(et.REMOTE_NAME);if(!n&&!s&&!i&&!t.schema(e).urn.includes(this.placeholder))return t.schema(e).urn;const a=nr.from(t.schema(e).urn);return n&&n!=""&&(a.mdc=n),s&&s!=""&&(a.name=s),i&&i!=""&&(a.name=a.name.replace(this.placeholder,i)),a.name.includes(this.placeholder)&&(a.name=a.name.replace(this.placeholder,"mesh")),a.toString()}rewriteAddress(e,t){const n=e.getAttribute(et.REMOTE);return n&&n!=""?n:_e.MESH_ADDRESS.get().any()}}var om=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i},hs;u.ServiceProxy=hs=class extends u.MethodProxy{proxy(e){return hs.proxy(e)}static proxy(e){return this.doProxy(e,S(""))}static doProxy(e,t){return wi.newProxyInstance(e,new Dy(t))}},u.ServiceProxy=hs=om([B("mesh")],u.ServiceProxy);class sm{constructor(e){o(this,"service");this.service=e}run(e,t){return new Promise((n,s)=>{try{const i=[e,...t.getArguments(e)],a=t.getInspector(e).invoke(this.service,i);if(a instanceof Promise){a.then(d=>n(d)).catch(d=>s(d));return}n(a)}catch(i){s(i)}})}}class ky{constructor(e){o(this,"invoker");this.invoker=gs(new sm(e),Cy)}run(e,t){return this.invoker.run(e,t)}}var cm=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i};class am{constructor(e,t,n){o(this,"making");o(this,"kind");o(this,"service");this.making=e,this.kind=t,this.service=n}}class dm{constructor(e,t){o(this,"metadata");o(this,"reference");o(this,"proxy");this.metadata=e,this.reference=t,this.proxy=u.ServiceProxy.doProxy(t,e)}}class um{constructor(e,t,n,s,i){o(this,"urn");o(this,"kind");o(this,"method");o(this,"target");o(this,"resource");o(this,"inspector");o(this,"invoker");o(this,"__intype");o(this,"__retype");this.urn=e,this.kind=t,this.method=n,this.target=s,this.resource=i,this.inspector=n,this.invoker=new ky(s),this.__intype=tt.load(u.Compiler).getDefault().intype(n),this.__retype=tt.load(u.Compiler).getDefault().retype(n)}inflect(e){return new this.__intype}inspect(e){return this.inspector}intype(e){return this.__intype}reflect(e){return new this.__retype}retype(e){return this.__retype}schema(e){return this.resource}}u.MeshEden=class extends u.Eden{constructor(){super(...arguments);o(this,"providers",new q);o(this,"consumers",new q);o(this,"indies",new q);o(this,"services",new q);o(this,"references",new q)}define(t,n,s){return this.makeConsumer(t,n,s).proxy}store(t,n,s){this.providers.set(n,new am(!1,n,s))}infer(t,n){const s=nr.from(n),i=this.makeServiceExecution(this.getEnviron(t)),a=i==null?void 0:i.get(s.name);if(a)return a;for(let d of i.entries())if(s.matchName(d[0]))return d[1];return new $y(t,s)}refer(t,n,s,i){const a=this.makeConsumer(t,n,s),d=this.getEnviron(t),v=this.indies.computeIfy(s,P=>new q).computeIfy(n,P=>{const R=new q;return this.getMethods(t,s).forEach((E,k)=>E.forEach(T=>{const w=this.makeMethodAsReference(d,n,k,T),M=new um(w.urn,s,T,a.proxy,w);this.references.set(w.urn,M),R.set(T,M)})),R}).get(i);if(v)return v;throw new Error(`Method ${i.getName()} cant be compatible`)}inferTypes(t){const n=[];for(let s of this.providers)n.push(s[1].kind);return n}referTypes(t){const n=[];for(let s of this.consumers.keys())n.push(s);return n}makeConsumer(t,n,s){return this.consumers.computeIfy(s,i=>new q).computeIfy(n,i=>new dm(n,s))}makeMethodAsReference(t,n,s,i){var d,v,P,R,E,k,T,w,M,A,X,Y,ae;const a=new Nn;return a.namespace=s.name,a.name=i.getName(),a.version=((d=i.getAnnotation(Ge))==null?void 0:d.version)||"",a.proto=((v=i.getAnnotation(Ge))==null?void 0:v.proto)||"",a.codec=((P=i.getAnnotation(Ge))==null?void 0:P.codec)||"",a.flags=((R=i.getAnnotation(Ge))==null?void 0:R.flags)||0,a.timeout=((E=i.getAnnotation(Ge))==null?void 0:E.timeout)||12e3,a.retries=((k=i.getAnnotation(Ge))==null?void 0:k.retries)||0,a.mdc=((T=i.getAnnotation(Ge))==null?void 0:T.mdc)||"",a.zone=((w=i.getAnnotation(Ge))==null?void 0:w.zone)||"",a.cluster=((M=i.getAnnotation(Ge))==null?void 0:M.cluster)||"",a.cell=((A=i.getAnnotation(Ge))==null?void 0:A.cell)||"",a.group=((X=i.getAnnotation(Ge))==null?void 0:X.group)||"",a.address=((Y=i.getAnnotation(Ge))==null?void 0:Y.address)||"",a.urn=this.getURN(((ae=i.getAnnotation(Ge))==null?void 0:ae.name)||"",Ht,t),a}getURN(t,n,s){const i=new nr;return i.domain=nr.MESH_DOMAIN,i.mdc=_e.anyone(n.mdc,s.mdc),i.name=t,i.flag=this.getURNFlag(n),i.toString()}getURNFlag(t){const n=(t.address||"").split(":"),s=new jr;return s.v="00",s.proto=Dn.ofName(t.proto).code,s.codec=Dn.ofName(t.codec).code,s.version=t.version,s.zone=t.zone,s.cluster=t.cluster,s.cell=t.cell,s.group=t.group,s.address=n.length>0?n[0]:"",s.port=n.length>1?n[1]:"",s}getMethods(t,n){const s=wi.getMethods(n),i=new q;return i.set(n,s),i}getEnviron(t){const n=new Ke;return n.mdc=nr.LocalMDC,n}makeServiceExecution(t){for(let n of this.providers)n[1].making;return this.services}},u.MeshEden=cm([B("mesh")],u.MeshEden);var pm=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i};const bs="mock";u.MockFilter=class extends u.Filter{async invoke(e,t,n){if(!po.Mock.matches(e.getRunMode())&&!ao.Mock.enable())return await t.run(e,n);const s=tt.load(n.getInspector(e).getType()).want(bs);if(!s)return await t.run(e,n);const i=s[n.getInspector(e).getName()];return!i||typeof i!="function"?await t.run(e,n):await i(n.getArguments(e))}},u.MockFilter=pm([B(bs,jo)],u.MockFilter);var fm=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i};u.Provider=class{},u.Provider=fm([B(u.Consumer.GRPC)],u.Provider);var ym=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i};u.GRPCConsumer=class extends u.Consumer{start(){}close(){}consume(e,t,n,s,i){return Promise.reject(h.URN_NOT_PERMIT)}},u.GRPCConsumer=ym([B(u.Consumer.GRPC)],u.GRPCConsumer);var lm=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i};u.GRPCProvider=class extends u.Provider{start(){}close(){}},u.GRPCProvider=lm([B(u.Consumer.GRPC)],u.GRPCProvider);function xy(r,e){return function(){return r.apply(e,arguments)}}const{toString:mm}=Object.prototype,{getPrototypeOf:_s}=Object,{iterator:Eo,toStringTag:By}=Symbol,No=(r=>e=>{const t=mm.call(e);return r[t]||(r[t]=t.slice(8,-1).toLowerCase())})(Object.create(null)),_n=r=>(r=r.toLowerCase(),e=>No(e)===r),To=r=>e=>typeof e===r,{isArray:_i}=Array,Qi=To("undefined");function gm(r){return r!==null&&!Qi(r)&&r.constructor!==null&&!Qi(r.constructor)&&Kt(r.constructor.isBuffer)&&r.constructor.isBuffer(r)}const Ly=_n("ArrayBuffer");function hm(r){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(r):e=r&&r.buffer&&Ly(r.buffer),e}const bm=To("string"),Kt=To("function"),Hy=To("number"),Ao=r=>r!==null&&typeof r=="object",_m=r=>r===!0||r===!1,Mo=r=>{if(No(r)!=="object")return!1;const e=_s(r);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(By in r)&&!(Eo in r)},Sm=_n("Date"),vm=_n("File"),Om=_n("Blob"),Rm=_n("FileList"),Pm=r=>Ao(r)&&Kt(r.pipe),jm=r=>{let e;return r&&(typeof FormData=="function"&&r instanceof FormData||Kt(r.append)&&((e=No(r))==="formdata"||e==="object"&&Kt(r.toString)&&r.toString()==="[object FormData]"))},wm=_n("URLSearchParams"),[Em,Nm,Tm,Am]=["ReadableStream","Request","Response","Headers"].map(_n),Mm=r=>r.trim?r.trim():r.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Zi(r,e,{allOwnKeys:t=!1}={}){if(r===null||typeof r>"u")return;let n,s;if(typeof r!="object"&&(r=[r]),_i(r))for(n=0,s=r.length;n<s;n++)e.call(null,r[n],n,r);else{const i=t?Object.getOwnPropertyNames(r):Object.keys(r),a=i.length;let d;for(n=0;n<a;n++)d=i[n],e.call(null,r[d],d,r)}}function qy(r,e){e=e.toLowerCase();const t=Object.keys(r);let n=t.length,s;for(;n-- >0;)if(s=t[n],e===s.toLowerCase())return s;return null}const Hr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,zy=r=>!Qi(r)&&r!==Hr;function Ss(){const{caseless:r}=zy(this)&&this||{},e={},t=(n,s)=>{const i=r&&qy(e,s)||s;Mo(e[i])&&Mo(n)?e[i]=Ss(e[i],n):Mo(n)?e[i]=Ss({},n):_i(n)?e[i]=n.slice():e[i]=n};for(let n=0,s=arguments.length;n<s;n++)arguments[n]&&Zi(arguments[n],t);return e}const Im=(r,e,t,{allOwnKeys:n}={})=>(Zi(e,(s,i)=>{t&&Kt(s)?r[i]=xy(s,t):r[i]=s},{allOwnKeys:n}),r),$m=r=>(r.charCodeAt(0)===65279&&(r=r.slice(1)),r),Um=(r,e,t,n)=>{r.prototype=Object.create(e.prototype,n),r.prototype.constructor=r,Object.defineProperty(r,"super",{value:e.prototype}),t&&Object.assign(r.prototype,t)},Cm=(r,e,t,n)=>{let s,i,a;const d={};if(e=e||{},r==null)return e;do{for(s=Object.getOwnPropertyNames(r),i=s.length;i-- >0;)a=s[i],(!n||n(a,r,e))&&!d[a]&&(e[a]=r[a],d[a]=!0);r=t!==!1&&_s(r)}while(r&&(!t||t(r,e))&&r!==Object.prototype);return e},Fm=(r,e,t)=>{r=String(r),(t===void 0||t>r.length)&&(t=r.length),t-=e.length;const n=r.indexOf(e,t);return n!==-1&&n===t},Dm=r=>{if(!r)return null;if(_i(r))return r;let e=r.length;if(!Hy(e))return null;const t=new Array(e);for(;e-- >0;)t[e]=r[e];return t},km=(r=>e=>r&&e instanceof r)(typeof Uint8Array<"u"&&_s(Uint8Array)),xm=(r,e)=>{const n=(r&&r[Eo]).call(r);let s;for(;(s=n.next())&&!s.done;){const i=s.value;e.call(r,i[0],i[1])}},Bm=(r,e)=>{let t;const n=[];for(;(t=r.exec(e))!==null;)n.push(t);return n},Lm=_n("HTMLFormElement"),Hm=r=>r.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(t,n,s){return n.toUpperCase()+s}),Vy=(({hasOwnProperty:r})=>(e,t)=>r.call(e,t))(Object.prototype),qm=_n("RegExp"),Gy=(r,e)=>{const t=Object.getOwnPropertyDescriptors(r),n={};Zi(t,(s,i)=>{let a;(a=e(s,i,r))!==!1&&(n[i]=a||s)}),Object.defineProperties(r,n)},zm=r=>{Gy(r,(e,t)=>{if(Kt(r)&&["arguments","caller","callee"].indexOf(t)!==-1)return!1;const n=r[t];if(Kt(n)){if(e.enumerable=!1,"writable"in e){e.writable=!1;return}e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+t+"'")})}})},Vm=(r,e)=>{const t={},n=s=>{s.forEach(i=>{t[i]=!0})};return _i(r)?n(r):n(String(r).split(e)),t},Gm=()=>{},Wm=(r,e)=>r!=null&&Number.isFinite(r=+r)?r:e;function Km(r){return!!(r&&Kt(r.append)&&r[By]==="FormData"&&r[Eo])}const Jm=r=>{const e=new Array(10),t=(n,s)=>{if(Ao(n)){if(e.indexOf(n)>=0)return;if(!("toJSON"in n)){e[s]=n;const i=_i(n)?[]:{};return Zi(n,(a,d)=>{const v=t(a,s+1);!Qi(v)&&(i[d]=v)}),e[s]=void 0,i}}return n};return t(r,0)},Xm=_n("AsyncFunction"),Ym=r=>r&&(Ao(r)||Kt(r))&&Kt(r.then)&&Kt(r.catch),Wy=((r,e)=>r?setImmediate:e?((t,n)=>(Hr.addEventListener("message",({source:s,data:i})=>{s===Hr&&i===t&&n.length&&n.shift()()},!1),s=>{n.push(s),Hr.postMessage(t,"*")}))(`axios@${Math.random()}`,[]):t=>setTimeout(t))(typeof setImmediate=="function",Kt(Hr.postMessage)),Qm=typeof queueMicrotask<"u"?queueMicrotask.bind(Hr):typeof process<"u"&&process.nextTick||Wy,j={isArray:_i,isArrayBuffer:Ly,isBuffer:gm,isFormData:jm,isArrayBufferView:hm,isString:bm,isNumber:Hy,isBoolean:_m,isObject:Ao,isPlainObject:Mo,isReadableStream:Em,isRequest:Nm,isResponse:Tm,isHeaders:Am,isUndefined:Qi,isDate:Sm,isFile:vm,isBlob:Om,isRegExp:qm,isFunction:Kt,isStream:Pm,isURLSearchParams:wm,isTypedArray:km,isFileList:Rm,forEach:Zi,merge:Ss,extend:Im,trim:Mm,stripBOM:$m,inherits:Um,toFlatObject:Cm,kindOf:No,kindOfTest:_n,endsWith:Fm,toArray:Dm,forEachEntry:xm,matchAll:Bm,isHTMLForm:Lm,hasOwnProperty:Vy,hasOwnProp:Vy,reduceDescriptors:Gy,freezeMethods:zm,toObjectSet:Vm,toCamelCase:Hm,noop:Gm,toFiniteNumber:Wm,findKey:qy,global:Hr,isContextDefined:zy,isSpecCompliantForm:Km,toJSONObject:Jm,isAsyncFn:Xm,isThenable:Ym,setImmediate:Wy,asap:Qm,isIterable:r=>r!=null&&Kt(r[Eo])};function ie(r,e,t,n,s){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=r,this.name="AxiosError",e&&(this.code=e),t&&(this.config=t),n&&(this.request=n),s&&(this.response=s,this.status=s.status?s.status:null)}j.inherits(ie,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:j.toJSONObject(this.config),code:this.code,status:this.status}}});const Ky=ie.prototype,Jy={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(r=>{Jy[r]={value:r}}),Object.defineProperties(ie,Jy),Object.defineProperty(Ky,"isAxiosError",{value:!0}),ie.from=(r,e,t,n,s,i)=>{const a=Object.create(Ky);return j.toFlatObject(r,a,function(v){return v!==Error.prototype},d=>d!=="isAxiosError"),ie.call(a,r.message,e,t,n,s),a.cause=r,a.name=r.name,i&&Object.assign(a,i),a};const Zm=null;function vs(r){return j.isPlainObject(r)||j.isArray(r)}function Xy(r){return j.endsWith(r,"[]")?r.slice(0,-2):r}function Yy(r,e,t){return r?r.concat(e).map(function(s,i){return s=Xy(s),!t&&i?"["+s+"]":s}).join(t?".":""):e}function eg(r){return j.isArray(r)&&!r.some(vs)}const tg=j.toFlatObject(j,{},null,function(e){return/^is[A-Z]/.test(e)});function Io(r,e,t){if(!j.isObject(r))throw new TypeError("target must be an object");e=e||new FormData,t=j.toFlatObject(t,{metaTokens:!0,dots:!1,indexes:!1},!1,function(M,A){return!j.isUndefined(A[M])});const n=t.metaTokens,s=t.visitor||R,i=t.dots,a=t.indexes,v=(t.Blob||typeof Blob<"u"&&Blob)&&j.isSpecCompliantForm(e);if(!j.isFunction(s))throw new TypeError("visitor must be a function");function P(w){if(w===null)return"";if(j.isDate(w))return w.toISOString();if(!v&&j.isBlob(w))throw new ie("Blob is not supported. Use a Buffer instead.");return j.isArrayBuffer(w)||j.isTypedArray(w)?v&&typeof Blob=="function"?new Blob([w]):Buffer.from(w):w}function R(w,M,A){let X=w;if(w&&!A&&typeof w=="object"){if(j.endsWith(M,"{}"))M=n?M:M.slice(0,-2),w=JSON.stringify(w);else if(j.isArray(w)&&eg(w)||(j.isFileList(w)||j.endsWith(M,"[]"))&&(X=j.toArray(w)))return M=Xy(M),X.forEach(function(ae,ot){!(j.isUndefined(ae)||ae===null)&&e.append(a===!0?Yy([M],ot,i):a===null?M:M+"[]",P(ae))}),!1}return vs(w)?!0:(e.append(Yy(A,M,i),P(w)),!1)}const E=[],k=Object.assign(tg,{defaultVisitor:R,convertValue:P,isVisitable:vs});function T(w,M){if(!j.isUndefined(w)){if(E.indexOf(w)!==-1)throw Error("Circular reference detected in "+M.join("."));E.push(w),j.forEach(w,function(X,Y){(!(j.isUndefined(X)||X===null)&&s.call(e,X,j.isString(Y)?Y.trim():Y,M,k))===!0&&T(X,M?M.concat(Y):[Y])}),E.pop()}}if(!j.isObject(r))throw new TypeError("data must be an object");return T(r),e}function Qy(r){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(r).replace(/[!'()~]|%20|%00/g,function(n){return e[n]})}function Os(r,e){this._pairs=[],r&&Io(r,this,e)}const Zy=Os.prototype;Zy.append=function(e,t){this._pairs.push([e,t])},Zy.toString=function(e){const t=e?function(n){return e.call(this,n,Qy)}:Qy;return this._pairs.map(function(s){return t(s[0])+"="+t(s[1])},"").join("&")};function ng(r){return encodeURIComponent(r).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function el(r,e,t){if(!e)return r;const n=t&&t.encode||ng;j.isFunction(t)&&(t={serialize:t});const s=t&&t.serialize;let i;if(s?i=s(e,t):i=j.isURLSearchParams(e)?e.toString():new Os(e,t).toString(n),i){const a=r.indexOf("#");a!==-1&&(r=r.slice(0,a)),r+=(r.indexOf("?")===-1?"?":"&")+i}return r}class tl{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){j.forEach(this.handlers,function(n){n!==null&&e(n)})}}const nl={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},rg={isBrowser:!0,classes:{URLSearchParams:typeof URLSearchParams<"u"?URLSearchParams:Os,FormData:typeof FormData<"u"?FormData:null,Blob:typeof Blob<"u"?Blob:null},protocols:["http","https","file","blob","url","data"]},Rs=typeof window<"u"&&typeof document<"u",Ps=typeof navigator=="object"&&navigator||void 0,ig=Rs&&(!Ps||["ReactNative","NativeScript","NS"].indexOf(Ps.product)<0),og=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",sg=Rs&&window.location.href||"http://localhost",St={...Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Rs,hasStandardBrowserEnv:ig,hasStandardBrowserWebWorkerEnv:og,navigator:Ps,origin:sg},Symbol.toStringTag,{value:"Module"})),...rg};function cg(r,e){return Io(r,new St.classes.URLSearchParams,Object.assign({visitor:function(t,n,s,i){return St.isNode&&j.isBuffer(t)?(this.append(n,t.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},e))}function ag(r){return j.matchAll(/\w+|\[(\w*)]/g,r).map(e=>e[0]==="[]"?"":e[1]||e[0])}function dg(r){const e={},t=Object.keys(r);let n;const s=t.length;let i;for(n=0;n<s;n++)i=t[n],e[i]=r[i];return e}function rl(r){function e(t,n,s,i){let a=t[i++];if(a==="__proto__")return!0;const d=Number.isFinite(+a),v=i>=t.length;return a=!a&&j.isArray(s)?s.length:a,v?(j.hasOwnProp(s,a)?s[a]=[s[a],n]:s[a]=n,!d):((!s[a]||!j.isObject(s[a]))&&(s[a]=[]),e(t,n,s[a],i)&&j.isArray(s[a])&&(s[a]=dg(s[a])),!d)}if(j.isFormData(r)&&j.isFunction(r.entries)){const t={};return j.forEachEntry(r,(n,s)=>{e(ag(n),s,t,0)}),t}return null}function ug(r,e,t){if(j.isString(r))try{return(e||JSON.parse)(r),j.trim(r)}catch(n){if(n.name!=="SyntaxError")throw n}return(t||JSON.stringify)(r)}const eo={transitional:nl,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const n=t.getContentType()||"",s=n.indexOf("application/json")>-1,i=j.isObject(e);if(i&&j.isHTMLForm(e)&&(e=new FormData(e)),j.isFormData(e))return s?JSON.stringify(rl(e)):e;if(j.isArrayBuffer(e)||j.isBuffer(e)||j.isStream(e)||j.isFile(e)||j.isBlob(e)||j.isReadableStream(e))return e;if(j.isArrayBufferView(e))return e.buffer;if(j.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let d;if(i){if(n.indexOf("application/x-www-form-urlencoded")>-1)return cg(e,this.formSerializer).toString();if((d=j.isFileList(e))||n.indexOf("multipart/form-data")>-1){const v=this.env&&this.env.FormData;return Io(d?{"files[]":e}:e,v&&new v,this.formSerializer)}}return i||s?(t.setContentType("application/json",!1),ug(e)):e}],transformResponse:[function(e){const t=this.transitional||eo.transitional,n=t&&t.forcedJSONParsing,s=this.responseType==="json";if(j.isResponse(e)||j.isReadableStream(e))return e;if(e&&j.isString(e)&&(n&&!this.responseType||s)){const a=!(t&&t.silentJSONParsing)&&s;try{return JSON.parse(e)}catch(d){if(a)throw d.name==="SyntaxError"?ie.from(d,ie.ERR_BAD_RESPONSE,this,null,this.response):d}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:St.classes.FormData,Blob:St.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};j.forEach(["delete","get","head","post","put","patch"],r=>{eo.headers[r]={}});const pg=j.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),fg=r=>{const e={};let t,n,s;return r&&r.split(`
|
|
20
|
+
`).forEach(function(a){s=a.indexOf(":"),t=a.substring(0,s).trim().toLowerCase(),n=a.substring(s+1).trim(),!(!t||e[t]&&pg[t])&&(t==="set-cookie"?e[t]?e[t].push(n):e[t]=[n]:e[t]=e[t]?e[t]+", "+n:n)}),e},il=Symbol("internals");function to(r){return r&&String(r).trim().toLowerCase()}function $o(r){return r===!1||r==null?r:j.isArray(r)?r.map($o):String(r)}function yg(r){const e=Object.create(null),t=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let n;for(;n=t.exec(r);)e[n[1]]=n[2];return e}const lg=r=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(r.trim());function js(r,e,t,n,s){if(j.isFunction(n))return n.call(this,e,t);if(s&&(e=t),!!j.isString(e)){if(j.isString(n))return e.indexOf(n)!==-1;if(j.isRegExp(n))return n.test(e)}}function mg(r){return r.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,t,n)=>t.toUpperCase()+n)}function gg(r,e){const t=j.toCamelCase(" "+e);["get","set","has"].forEach(n=>{Object.defineProperty(r,n+t,{value:function(s,i,a){return this[n].call(this,e,s,i,a)},configurable:!0})})}let Jt=class{constructor(e){e&&this.set(e)}set(e,t,n){const s=this;function i(d,v,P){const R=to(v);if(!R)throw new Error("header name must be a non-empty string");const E=j.findKey(s,R);(!E||s[E]===void 0||P===!0||P===void 0&&s[E]!==!1)&&(s[E||v]=$o(d))}const a=(d,v)=>j.forEach(d,(P,R)=>i(P,R,v));if(j.isPlainObject(e)||e instanceof this.constructor)a(e,t);else if(j.isString(e)&&(e=e.trim())&&!lg(e))a(fg(e),t);else if(j.isObject(e)&&j.isIterable(e)){let d={},v,P;for(const R of e){if(!j.isArray(R))throw TypeError("Object iterator must return a key-value pair");d[P=R[0]]=(v=d[P])?j.isArray(v)?[...v,R[1]]:[v,R[1]]:R[1]}a(d,t)}else e!=null&&i(t,e,n);return this}get(e,t){if(e=to(e),e){const n=j.findKey(this,e);if(n){const s=this[n];if(!t)return s;if(t===!0)return yg(s);if(j.isFunction(t))return t.call(this,s,n);if(j.isRegExp(t))return t.exec(s);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=to(e),e){const n=j.findKey(this,e);return!!(n&&this[n]!==void 0&&(!t||js(this,this[n],n,t)))}return!1}delete(e,t){const n=this;let s=!1;function i(a){if(a=to(a),a){const d=j.findKey(n,a);d&&(!t||js(n,n[d],d,t))&&(delete n[d],s=!0)}}return j.isArray(e)?e.forEach(i):i(e),s}clear(e){const t=Object.keys(this);let n=t.length,s=!1;for(;n--;){const i=t[n];(!e||js(this,this[i],i,e,!0))&&(delete this[i],s=!0)}return s}normalize(e){const t=this,n={};return j.forEach(this,(s,i)=>{const a=j.findKey(n,i);if(a){t[a]=$o(s),delete t[i];return}const d=e?mg(i):String(i).trim();d!==i&&delete t[i],t[d]=$o(s),n[d]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return j.forEach(this,(n,s)=>{n!=null&&n!==!1&&(t[s]=e&&j.isArray(n)?n.join(", "):n)}),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,t])=>e+": "+t).join(`
|
|
21
|
+
`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const n=new this(e);return t.forEach(s=>n.set(s)),n}static accessor(e){const n=(this[il]=this[il]={accessors:{}}).accessors,s=this.prototype;function i(a){const d=to(a);n[d]||(gg(s,a),n[d]=!0)}return j.isArray(e)?e.forEach(i):i(e),this}};Jt.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),j.reduceDescriptors(Jt.prototype,({value:r},e)=>{let t=e[0].toUpperCase()+e.slice(1);return{get:()=>r,set(n){this[t]=n}}}),j.freezeMethods(Jt);function ws(r,e){const t=this||eo,n=e||t,s=Jt.from(n.headers);let i=n.data;return j.forEach(r,function(d){i=d.call(t,i,s.normalize(),e?e.status:void 0)}),s.normalize(),i}function ol(r){return!!(r&&r.__CANCEL__)}function Si(r,e,t){ie.call(this,r??"canceled",ie.ERR_CANCELED,e,t),this.name="CanceledError"}j.inherits(Si,ie,{__CANCEL__:!0});function sl(r,e,t){const n=t.config.validateStatus;!t.status||!n||n(t.status)?r(t):e(new ie("Request failed with status code "+t.status,[ie.ERR_BAD_REQUEST,ie.ERR_BAD_RESPONSE][Math.floor(t.status/100)-4],t.config,t.request,t))}function hg(r){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(r);return e&&e[1]||""}function bg(r,e){r=r||10;const t=new Array(r),n=new Array(r);let s=0,i=0,a;return e=e!==void 0?e:1e3,function(v){const P=Date.now(),R=n[i];a||(a=P),t[s]=v,n[s]=P;let E=i,k=0;for(;E!==s;)k+=t[E++],E=E%r;if(s=(s+1)%r,s===i&&(i=(i+1)%r),P-a<e)return;const T=R&&P-R;return T?Math.round(k*1e3/T):void 0}}function _g(r,e){let t=0,n=1e3/e,s,i;const a=(P,R=Date.now())=>{t=R,s=null,i&&(clearTimeout(i),i=null),r.apply(null,P)};return[(...P)=>{const R=Date.now(),E=R-t;E>=n?a(P,R):(s=P,i||(i=setTimeout(()=>{i=null,a(s)},n-E)))},()=>s&&a(s)]}const Uo=(r,e,t=3)=>{let n=0;const s=bg(50,250);return _g(i=>{const a=i.loaded,d=i.lengthComputable?i.total:void 0,v=a-n,P=s(v),R=a<=d;n=a;const E={loaded:a,total:d,progress:d?a/d:void 0,bytes:v,rate:P||void 0,estimated:P&&d&&R?(d-a)/P:void 0,event:i,lengthComputable:d!=null,[e?"download":"upload"]:!0};r(E)},t)},cl=(r,e)=>{const t=r!=null;return[n=>e[0]({lengthComputable:t,total:r,loaded:n}),e[1]]},al=r=>(...e)=>j.asap(()=>r(...e)),Sg=St.hasStandardBrowserEnv?((r,e)=>t=>(t=new URL(t,St.origin),r.protocol===t.protocol&&r.host===t.host&&(e||r.port===t.port)))(new URL(St.origin),St.navigator&&/(msie|trident)/i.test(St.navigator.userAgent)):()=>!0,vg=St.hasStandardBrowserEnv?{write(r,e,t,n,s,i){const a=[r+"="+encodeURIComponent(e)];j.isNumber(t)&&a.push("expires="+new Date(t).toGMTString()),j.isString(n)&&a.push("path="+n),j.isString(s)&&a.push("domain="+s),i===!0&&a.push("secure"),document.cookie=a.join("; ")},read(r){const e=document.cookie.match(new RegExp("(^|;\\s*)("+r+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove(r){this.write(r,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function Og(r){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(r)}function Rg(r,e){return e?r.replace(/\/?\/$/,"")+"/"+e.replace(/^\/+/,""):r}function dl(r,e,t){let n=!Og(e);return r&&(n||t==!1)?Rg(r,e):e}const ul=r=>r instanceof Jt?{...r}:r;function qr(r,e){e=e||{};const t={};function n(P,R,E,k){return j.isPlainObject(P)&&j.isPlainObject(R)?j.merge.call({caseless:k},P,R):j.isPlainObject(R)?j.merge({},R):j.isArray(R)?R.slice():R}function s(P,R,E,k){if(j.isUndefined(R)){if(!j.isUndefined(P))return n(void 0,P,E,k)}else return n(P,R,E,k)}function i(P,R){if(!j.isUndefined(R))return n(void 0,R)}function a(P,R){if(j.isUndefined(R)){if(!j.isUndefined(P))return n(void 0,P)}else return n(void 0,R)}function d(P,R,E){if(E in e)return n(P,R);if(E in r)return n(void 0,P)}const v={url:i,method:i,data:i,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:d,headers:(P,R,E)=>s(ul(P),ul(R),E,!0)};return j.forEach(Object.keys(Object.assign({},r,e)),function(R){const E=v[R]||s,k=E(r[R],e[R],R);j.isUndefined(k)&&E!==d||(t[R]=k)}),t}const pl=r=>{const e=qr({},r);let{data:t,withXSRFToken:n,xsrfHeaderName:s,xsrfCookieName:i,headers:a,auth:d}=e;e.headers=a=Jt.from(a),e.url=el(dl(e.baseURL,e.url,e.allowAbsoluteUrls),r.params,r.paramsSerializer),d&&a.set("Authorization","Basic "+btoa((d.username||"")+":"+(d.password?unescape(encodeURIComponent(d.password)):"")));let v;if(j.isFormData(t)){if(St.hasStandardBrowserEnv||St.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if((v=a.getContentType())!==!1){const[P,...R]=v?v.split(";").map(E=>E.trim()).filter(Boolean):[];a.setContentType([P||"multipart/form-data",...R].join("; "))}}if(St.hasStandardBrowserEnv&&(n&&j.isFunction(n)&&(n=n(e)),n||n!==!1&&Sg(e.url))){const P=s&&i&&vg.read(i);P&&a.set(s,P)}return e},Pg=typeof XMLHttpRequest<"u"&&function(r){return new Promise(function(t,n){const s=pl(r);let i=s.data;const a=Jt.from(s.headers).normalize();let{responseType:d,onUploadProgress:v,onDownloadProgress:P}=s,R,E,k,T,w;function M(){T&&T(),w&&w(),s.cancelToken&&s.cancelToken.unsubscribe(R),s.signal&&s.signal.removeEventListener("abort",R)}let A=new XMLHttpRequest;A.open(s.method.toUpperCase(),s.url,!0),A.timeout=s.timeout;function X(){if(!A)return;const ae=Jt.from("getAllResponseHeaders"in A&&A.getAllResponseHeaders()),de={data:!d||d==="text"||d==="json"?A.responseText:A.response,status:A.status,statusText:A.statusText,headers:ae,config:r,request:A};sl(function(yn){t(yn),M()},function(yn){n(yn),M()},de),A=null}"onloadend"in A?A.onloadend=X:A.onreadystatechange=function(){!A||A.readyState!==4||A.status===0&&!(A.responseURL&&A.responseURL.indexOf("file:")===0)||setTimeout(X)},A.onabort=function(){A&&(n(new ie("Request aborted",ie.ECONNABORTED,r,A)),A=null)},A.onerror=function(){n(new ie("Network Error",ie.ERR_NETWORK,r,A)),A=null},A.ontimeout=function(){let ot=s.timeout?"timeout of "+s.timeout+"ms exceeded":"timeout exceeded";const de=s.transitional||nl;s.timeoutErrorMessage&&(ot=s.timeoutErrorMessage),n(new ie(ot,de.clarifyTimeoutError?ie.ETIMEDOUT:ie.ECONNABORTED,r,A)),A=null},i===void 0&&a.setContentType(null),"setRequestHeader"in A&&j.forEach(a.toJSON(),function(ot,de){A.setRequestHeader(de,ot)}),j.isUndefined(s.withCredentials)||(A.withCredentials=!!s.withCredentials),d&&d!=="json"&&(A.responseType=s.responseType),P&&([k,w]=Uo(P,!0),A.addEventListener("progress",k)),v&&A.upload&&([E,T]=Uo(v),A.upload.addEventListener("progress",E),A.upload.addEventListener("loadend",T)),(s.cancelToken||s.signal)&&(R=ae=>{A&&(n(!ae||ae.type?new Si(null,r,A):ae),A.abort(),A=null)},s.cancelToken&&s.cancelToken.subscribe(R),s.signal&&(s.signal.aborted?R():s.signal.addEventListener("abort",R)));const Y=hg(s.url);if(Y&&St.protocols.indexOf(Y)===-1){n(new ie("Unsupported protocol "+Y+":",ie.ERR_BAD_REQUEST,r));return}A.send(i||null)})},jg=(r,e)=>{const{length:t}=r=r?r.filter(Boolean):[];if(e||t){let n=new AbortController,s;const i=function(P){if(!s){s=!0,d();const R=P instanceof Error?P:this.reason;n.abort(R instanceof ie?R:new Si(R instanceof Error?R.message:R))}};let a=e&&setTimeout(()=>{a=null,i(new ie(`timeout ${e} of ms exceeded`,ie.ETIMEDOUT))},e);const d=()=>{r&&(a&&clearTimeout(a),a=null,r.forEach(P=>{P.unsubscribe?P.unsubscribe(i):P.removeEventListener("abort",i)}),r=null)};r.forEach(P=>P.addEventListener("abort",i));const{signal:v}=n;return v.unsubscribe=()=>j.asap(d),v}},wg=function*(r,e){let t=r.byteLength;if(t<e){yield r;return}let n=0,s;for(;n<t;)s=n+e,yield r.slice(n,s),n=s},Eg=async function*(r,e){for await(const t of Ng(r))yield*wg(t,e)},Ng=async function*(r){if(r[Symbol.asyncIterator]){yield*r;return}const e=r.getReader();try{for(;;){const{done:t,value:n}=await e.read();if(t)break;yield n}}finally{await e.cancel()}},fl=(r,e,t,n)=>{const s=Eg(r,e);let i=0,a,d=v=>{a||(a=!0,n&&n(v))};return new ReadableStream({async pull(v){try{const{done:P,value:R}=await s.next();if(P){d(),v.close();return}let E=R.byteLength;if(t){let k=i+=E;t(k)}v.enqueue(new Uint8Array(R))}catch(P){throw d(P),P}},cancel(v){return d(v),s.return()}},{highWaterMark:2})},Co=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",yl=Co&&typeof ReadableStream=="function",Tg=Co&&(typeof TextEncoder=="function"?(r=>e=>r.encode(e))(new TextEncoder):async r=>new Uint8Array(await new Response(r).arrayBuffer())),ll=(r,...e)=>{try{return!!r(...e)}catch{return!1}},Ag=yl&&ll(()=>{let r=!1;const e=new Request(St.origin,{body:new ReadableStream,method:"POST",get duplex(){return r=!0,"half"}}).headers.has("Content-Type");return r&&!e}),ml=64*1024,Es=yl&&ll(()=>j.isReadableStream(new Response("").body)),Fo={stream:Es&&(r=>r.body)};Co&&(r=>{["text","arrayBuffer","blob","formData","stream"].forEach(e=>{!Fo[e]&&(Fo[e]=j.isFunction(r[e])?t=>t[e]():(t,n)=>{throw new ie(`Response type '${e}' is not supported`,ie.ERR_NOT_SUPPORT,n)})})})(new Response);const Mg=async r=>{if(r==null)return 0;if(j.isBlob(r))return r.size;if(j.isSpecCompliantForm(r))return(await new Request(St.origin,{method:"POST",body:r}).arrayBuffer()).byteLength;if(j.isArrayBufferView(r)||j.isArrayBuffer(r))return r.byteLength;if(j.isURLSearchParams(r)&&(r=r+""),j.isString(r))return(await Tg(r)).byteLength},Ig=async(r,e)=>{const t=j.toFiniteNumber(r.getContentLength());return t??Mg(e)},Ns={http:Zm,xhr:Pg,fetch:Co&&(async r=>{let{url:e,method:t,data:n,signal:s,cancelToken:i,timeout:a,onDownloadProgress:d,onUploadProgress:v,responseType:P,headers:R,withCredentials:E="same-origin",fetchOptions:k}=pl(r);P=P?(P+"").toLowerCase():"text";let T=jg([s,i&&i.toAbortSignal()],a),w;const M=T&&T.unsubscribe&&(()=>{T.unsubscribe()});let A;try{if(v&&Ag&&t!=="get"&&t!=="head"&&(A=await Ig(R,n))!==0){let de=new Request(e,{method:"POST",body:n,duplex:"half"}),tn;if(j.isFormData(n)&&(tn=de.headers.get("content-type"))&&R.setContentType(tn),de.body){const[yn,Tr]=cl(A,Uo(al(v)));n=fl(de.body,ml,yn,Tr)}}j.isString(E)||(E=E?"include":"omit");const X="credentials"in Request.prototype;w=new Request(e,{...k,signal:T,method:t.toUpperCase(),headers:R.normalize().toJSON(),body:n,duplex:"half",credentials:X?E:void 0});let Y=await fetch(w);const ae=Es&&(P==="stream"||P==="response");if(Es&&(d||ae&&M)){const de={};["status","statusText","headers"].forEach(Oi=>{de[Oi]=Y[Oi]});const tn=j.toFiniteNumber(Y.headers.get("content-length")),[yn,Tr]=d&&cl(tn,Uo(al(d),!0))||[];Y=new Response(fl(Y.body,ml,yn,()=>{Tr&&Tr(),M&&M()}),de)}P=P||"text";let ot=await Fo[j.findKey(Fo,P)||"text"](Y,r);return!ae&&M&&M(),await new Promise((de,tn)=>{sl(de,tn,{data:ot,headers:Jt.from(Y.headers),status:Y.status,statusText:Y.statusText,config:r,request:w})})}catch(X){throw M&&M(),X&&X.name==="TypeError"&&/Load failed|fetch/i.test(X.message)?Object.assign(new ie("Network Error",ie.ERR_NETWORK,r,w),{cause:X.cause||X}):ie.from(X,X&&X.code,r,w)}})};j.forEach(Ns,(r,e)=>{if(r){try{Object.defineProperty(r,"name",{value:e})}catch{}Object.defineProperty(r,"adapterName",{value:e})}});const gl=r=>`- ${r}`,$g=r=>j.isFunction(r)||r===null||r===!1,hl={getAdapter:r=>{r=j.isArray(r)?r:[r];const{length:e}=r;let t,n;const s={};for(let i=0;i<e;i++){t=r[i];let a;if(n=t,!$g(t)&&(n=Ns[(a=String(t)).toLowerCase()],n===void 0))throw new ie(`Unknown adapter '${a}'`);if(n)break;s[a||"#"+i]=n}if(!n){const i=Object.entries(s).map(([d,v])=>`adapter ${d} `+(v===!1?"is not supported by the environment":"is not available in the build"));let a=e?i.length>1?`since :
|
|
22
22
|
`+i.map(gl).join(`
|
|
23
|
-
`):" "+gl(i[0]):"as no adapter specified";throw new ie("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return n},adapters:Ns};function Ts(r){if(r.cancelToken&&r.cancelToken.throwIfRequested(),r.signal&&r.signal.aborted)throw new Si(null,r)}function bl(r){return Ts(r),r.headers=Jt.from(r.headers),r.data=ws.call(r,r.transformRequest),["post","put","patch"].indexOf(r.method)!==-1&&r.headers.setContentType("application/x-www-form-urlencoded",!1),hl.getAdapter(r.adapter||eo.adapter)(r).then(function(n){return Ts(r),n.data=ws.call(r,r.transformResponse,n),n.headers=Jt.from(n.headers),n},function(n){return ol(n)||(Ts(r),n&&n.response&&(n.response.data=ws.call(r,r.transformResponse,n.response),n.response.headers=Jt.from(n.response.headers))),Promise.reject(n)})}const _l="1.9.0",Do={};["object","boolean","number","function","string","symbol"].forEach((r,e)=>{Do[r]=function(n){return typeof n===r||"a"+(e<1?"n ":" ")+r}});const Sl={};Do.transitional=function(e,t,n){function s(i,a){return"[Axios v"+_l+"] Transitional option '"+i+"'"+a+(n?". "+n:"")}return(i,a,d)=>{if(e===!1)throw new ie(s(a," has been removed"+(t?" in "+t:"")),ie.ERR_DEPRECATED);return t&&!Sl[a]&&(Sl[a]=!0,console.warn(s(a," has been deprecated since v"+t+" and will be removed in the near future"))),e?e(i,a,d):!0}},Do.spelling=function(e){return(t,n)=>(console.warn(`${n} is likely a misspelling of ${e}`),!0)};function Ug(r,e,t){if(typeof r!="object")throw new ie("options must be an object",ie.ERR_BAD_OPTION_VALUE);const n=Object.keys(r);let s=n.length;for(;s-- >0;){const i=n[s],a=e[i];if(a){const d=r[i],v=d===void 0||a(d,i,r);if(v!==!0)throw new ie("option "+i+" must be "+v,ie.ERR_BAD_OPTION_VALUE);continue}if(t!==!0)throw new ie("Unknown option "+i,ie.ERR_BAD_OPTION)}}const ko={assertOptions:Ug,validators:Do},kn=ko.validators;let
|
|
24
|
-
`+i):n.stack=i}catch{}}throw n}}_request(e,t){typeof e=="string"?(t=t||{},t.url=e):t=e||{},t=Hr(this.defaults,t);const{transitional:n,paramsSerializer:s,headers:i}=t;n!==void 0&&ko.assertOptions(n,{silentJSONParsing:kn.transitional(kn.boolean),forcedJSONParsing:kn.transitional(kn.boolean),clarifyTimeoutError:kn.transitional(kn.boolean)},!1),s!=null&&(P.isFunction(s)?t.paramsSerializer={serialize:s}:ko.assertOptions(s,{encode:kn.function,serialize:kn.function},!0)),t.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:t.allowAbsoluteUrls=!0),ko.assertOptions(t,{baseUrl:kn.spelling("baseURL"),withXsrfToken:kn.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();let a=i&&P.merge(i.common,i[t.method]);i&&P.forEach(["delete","get","head","post","put","patch","common"],w=>{delete i[w]}),t.headers=Jt.concat(a,i);const d=[];let v=!0;this.interceptors.request.forEach(function(M){typeof M.runWhen=="function"&&M.runWhen(t)===!1||(v=v&&M.synchronous,d.unshift(M.fulfilled,M.rejected))});const j=[];this.interceptors.response.forEach(function(M){j.push(M.fulfilled,M.rejected)});let R,E=0,D;if(!v){const w=[bl.bind(this),void 0];for(w.unshift.apply(w,d),w.push.apply(w,j),D=w.length,R=Promise.resolve(t);E<D;)R=R.then(w[E++],w[E++]);return R}D=d.length;let T=t;for(E=0;E<D;){const w=d[E++],M=d[E++];try{T=w(T)}catch(A){M.call(this,A);break}}try{R=bl.call(this,T)}catch(w){return Promise.reject(w)}for(E=0,D=j.length;E<D;)R=R.then(j[E++],j[E++]);return R}getUri(e){e=Hr(this.defaults,e);const t=dl(e.baseURL,e.url,e.allowAbsoluteUrls);return el(t,e.params,e.paramsSerializer)}};P.forEach(["delete","get","head","options"],function(e){qr.prototype[e]=function(t,n){return this.request(Hr(n||{},{method:e,url:t,data:(n||{}).data}))}}),P.forEach(["post","put","patch"],function(e){function t(n){return function(i,a,d){return this.request(Hr(d||{},{method:e,headers:n?{"Content-Type":"multipart/form-data"}:{},url:i,data:a}))}}qr.prototype[e]=t(),qr.prototype[e+"Form"]=t(!0)});let Cg=class Pl{constructor(e){if(typeof e!="function")throw new TypeError("executor must be a function.");let t;this.promise=new Promise(function(i){t=i});const n=this;this.promise.then(s=>{if(!n._listeners)return;let i=n._listeners.length;for(;i-- >0;)n._listeners[i](s);n._listeners=null}),this.promise.then=s=>{let i;const a=new Promise(d=>{n.subscribe(d),i=d}).then(s);return a.cancel=function(){n.unsubscribe(i)},a},e(function(i,a,d){n.reason||(n.reason=new Si(i,a,d),t(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);t!==-1&&this._listeners.splice(t,1)}toAbortSignal(){const e=new AbortController,t=n=>{e.abort(n)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let e;return{token:new Pl(function(s){e=s}),cancel:e}}};function Fg(r){return function(t){return r.apply(null,t)}}function Dg(r){return P.isObject(r)&&r.isAxiosError===!0}const As={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(As).forEach(([r,e])=>{As[e]=r});function vl(r){const e=new qr(r),t=xy(qr.prototype.request,e);return P.extend(t,qr.prototype,e,{allOwnKeys:!0}),P.extend(t,e,null,{allOwnKeys:!0}),t.create=function(s){return vl(Hr(r,s))},t}const Ye=vl(eo);Ye.Axios=qr,Ye.CanceledError=Si,Ye.CancelToken=Cg,Ye.isCancel=ol,Ye.VERSION=_l,Ye.toFormData=Io,Ye.AxiosError=ie,Ye.Cancel=Ye.CanceledError,Ye.all=function(e){return Promise.all(e)},Ye.spread=Fg,Ye.isAxiosError=Dg,Ye.mergeConfig=Hr,Ye.AxiosHeaders=Jt,Ye.formToJSON=r=>rl(P.isHTMLForm(r)?new FormData(r):r),Ye.getAdapter=hl.getAdapter,Ye.HttpStatusCode=As,Ye.default=Ye;const{Axios:nh,AxiosError:rh,CanceledError:ih,isCancel:oh,CancelToken:sh,VERSION:ch,all:ah,Cancel:dh,isAxiosError:uh,spread:ph,toFormData:fh,AxiosHeaders:yh,HttpStatusCode:lh,formToJSON:mh,getAdapter:gh,mergeConfig:hh}=Ye;var kg=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i};u.HTTPConsumer=class extends u.Consumer{constructor(){super(...arguments);o(this,"timeout",1e4);o(this,"cs",new Map)}getAddr(t){const n=_e.MESH_ADDRESS.get().any();return t.getAttribute(et.REMOTE)??n}async getClient(t){if(!this.cs.has(t)){const n={baseURL:t,timeout:this.timeout,headers:{"Content-Type":"application/json;charset=UTF-8"}};if(globalThis.__vitest_environment__=="node"){const i=await Promise.resolve().then(()=>qg);n.httpsAgent=new i.Agent({rejectUnauthorized:!1})}const s=Ye.create(n);s.interceptors.request.use(i=>i),this.cs.set(t,s)}return this.cs.get(t)}start(){}close(){}async consume(t,n,s,i,a){const d=i.schema(t).timeout??this.timeout,v=t.getAttribute(et.TIMEOUT)??this.timeout,j=tt.load(u.Codec).getDefault(),R=j.decode(a,Object),E=await this.invoke(t,R,Object,s,Math.max(v,d));return j.encode(E)}async invoke(t,n,s,i,a){const d={"mesh-urn":i};t.getAttachments().forEach((E,D)=>{d[E]=D});const v=this.getAddr(t),R=await(await this.getClient(v)).post(`${v}mpc/invoke`,n,{timeout:Math.max(this.timeout,a),headers:d});if(R.status!==200)throw Ni.errorf(R);return R.data}},u.HTTPConsumer=kg([B(u.Consumer.HTTP)],u.HTTPConsumer);class Ms{constructor(){o(this,"name","");o(this,"icon");o(this,"path","");o(this,"describe");o(this,"disable",!1);o(this,"star",!1);o(this,"route");o(this,"children",[]);o(this,"parent");o(this,"attrs")}static abs(e,t=""){if(!e.parent)return`${t}${e.path}`;const n=this.abs(e.parent).replaceAll("/*","");return n==""?`${t}${e.path}`:`${t}${n}${e.path.replaceAll("/*","")}`}static preproc(e){e==null||e.forEach(t=>{var n;(n=t.children)==null||n.forEach(s=>{s.parent=t}),this.preproc((t==null?void 0:t.children)||[])})}static chain(e){return e.parent?[...Ms.chain(e.parent),e]:[]}}class xg extends u.Network{constructor(){super();o(this,"proxy");this.proxy=u.ServiceProxy.proxy(u.Network)}environ(t){return this.proxy.environ(t)}accessible(t,n){return this.proxy.accessible(t)}refresh(t,n){return this.proxy.refresh(t)}route(t,n){return this.proxy.route(t)}routes(t){return this.proxy.routes(t)}disable(t,n){return this.proxy.disable(t)}enable(t,n){return this.proxy.enable(t)}index(t,n){return this.proxy.index(t)}version(t,n){return this.proxy.version(t)}}class Bg{constructor(e,t){o(this,"values",[]);o(this,"filter",(e,t)=>!0);this.values=e||[],this.filter=t}index(e){const t=e.factor||{},n=new Oe;n.index=e.index,n.sid=e.sid||"",n.limit=e.limit,n.total=e.index*e.limit,n.next=!1,n.data=[];const s=n.index*n.limit,i=(n.index+1)*n.limit;for(let a=s;a<this.values.length&&!(s>=this.values.length);a++){const d=this.values[a];n.data.length<e.limit&&s<=n.total&&n.total<i&&n.data.push(d),(!this.filter||this.filter(d,t))&&n.total++}return n.total>i&&(n.next=!0),n}}class Lg{constructor(){o(this,"builtin",u.ServiceProxy.proxy(u.Builtin));o(this,"cache",u.ServiceProxy.proxy(u.Cache));o(this,"cipherEconomy",u.ServiceProxy.proxy(u.CipherEconomy));o(this,"cipherProvider",u.ServiceProxy.proxy(u.CipherProvider));o(this,"cluster",u.ServiceProxy.proxy(u.Cluster));o(this,"commercialize",u.ServiceProxy.proxy(u.Commercialize));o(this,"cryptor",u.ServiceProxy.proxy(u.Cryptor));o(this,"daler",u.ServiceProxy.proxy(u.Daler));o(this,"dataHouse",u.ServiceProxy.proxy(u.DataHouse));o(this,"devops",u.ServiceProxy.proxy(u.Devops));o(this,"endpoint",u.ServiceProxy.proxy(u.Endpoint));o(this,"firewalld",u.ServiceProxy.proxy(u.Firewalld));o(this,"graph",u.ServiceProxy.proxy(u.Graph));o(this,"kms",u.ServiceProxy.proxy(u.KMS));o(this,"kv",u.ServiceProxy.proxy(u.KV));o(this,"licenser",u.ServiceProxy.proxy(u.Licenser));o(this,"locker",u.ServiceProxy.proxy(u.Locker));o(this,"network",u.ServiceProxy.proxy(u.Network));o(this,"pipeline",u.ServiceProxy.proxy(u.Pipeline));o(this,"publisher",u.ServiceProxy.proxy(u.Publisher));o(this,"registry",u.ServiceProxy.proxy(u.Registry));o(this,"savepoint",u.ServiceProxy.proxy(u.Savepoint));o(this,"scheduler",u.ServiceProxy.proxy(u.Scheduler));o(this,"sequence",u.ServiceProxy.proxy(u.Sequence));o(this,"subscriber",u.ServiceProxy.proxy(u.Subscriber));o(this,"tokenizer",u.ServiceProxy.proxy(u.Tokenizer));o(this,"authProvider",u.ServiceProxy.proxy(u.AuthProvider));o(this,"transporter",u.ServiceProxy.proxy(u.Transporter));o(this,"fileSystem",u.ServiceProxy.proxy(u.FileSystem));o(this,"vm",u.ServiceProxy.proxy(u.VM));o(this,"workflow",u.ServiceProxy.proxy(u.Workflow))}}const Hg=new Lg,qg=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"}));u.AccessCode=go,u.AccessGrant=mr,u.AccessID=ho,u.AccessToken=Hn,u.Addrs=Po,u.Appdata=on,u.Argument=Hs,u.Ark=$e,u.Body=De,u.CONSUMER=jo,u.CRL=Ai,u.CacheBody=jt,u.Captcha=Qr,u.Cause=xt,u.CipherEntity=On,u.CipherHello=Ot,u.CipherKey=lo,u.CipherKeygen=ar,u.CipherObject=yt,u.CipherRegen=Mi,u.CipherSuite=Ir,u.CipherTxEntity=Ii,u.Citizen=Ms,u.CommerceEnviron=Yr,u.CommerceLicense=Xr,u.Context=fo,u.Credential=nn,u.CrtRevokeRequest=Jr,u.CrtRotateRequest=Ur,u.DalerBinlog=Bn,u.DalerCluster=st,u.DalerDTSJob=We,u.DalerInstance=Wr,u.DalerSource=Bt,u.DalerTest=$r,u.DataLord=Ti,u.Deque=Vs,u.Document=dr,u.DocumentMetadata=ur,u.DtxBranch=Mn,u.DtxDefinition=hr,u.Dynamic=wi,u.DynamicOption=Qt,u.DynamicRoute=qn,u.DynamicServer=ti,u.EndpointSticker=Ru,u.Entry=$i,u.Env=Gr,u.Environ=Ke,u.Errors=Ni,u.Event=gt,u.FileEntry=Kr,u.FileMirror=Vn,u.Firewall=Se,u.GenericExecution=$y,u.GenericInspector=Uy,u.GenericParameters=ls,u.GenericReturns=ms,u.GrantCode=es,u.Header=yo,u.Hodor=is,u.Hook=wo,u.Idx=sr,u.Inbound=ts,u.Institution=mo,u.Key=cr,u.KeyCsr=rt,u.Keys=Lt,u.Keyset=Zo,u.KindMirror=hn,u.Lattice=Ln,u.License=we,u.Location=yr,u.MPI=Ge,u.MPS=Ei,u.Mani=Mr,u.Matcher=bo,u.Mesh=et,u.MeshCode=oe,u.MeshContext=Yi,u.MeshFlags=Dn,u.MeshNetwork=xg,u.MeshService=Hg,u.Metadata=ns,u.MethodInspector=qs,u.MethodMirror=In,u.Mock=bs,u.Mode=ao,u.MpcStream=us,u.Netlist=gr,u.Outbound=Ui,u.PROVIDER=Cy,u.Packet=sn,u.Page=Oe,u.Paging=U,u.ParameterMirror=zn,u.Payload=Fi,u.Principal=Nt,u.Reference=Nn,u.ReferenceInvokeHandler=Dy,u.Registration=ht,u.RegistrationKind=kl,u.Replica=nt,u.ReturnMirror=br,u.Routable=Gi,u.Route=be,u.RunMode=po,u.SPI=mn,u.Script=Le,u.SecretCsr=En,u.SecretKey=lr,u.Service=Ht,u.ServiceInvocation=Fy,u.ServiceInvokeHandler=ky,u.ServiceLoader=tt,u.Session=Tt,u.Settings=Rn,u.StatefulServer=Iy,u.States=rs,u.Status=h,u.ThrowableMirror=Ci,u.Timeout=wn,u.Tool=_e,u.Topic=He,u.Triplet=Xc,u.Types=or,u.URC=rn,u.URN=nr,u.URNFlag=Pr,u.VTable=Bg,u.VariableMirror=gn,u.Versions=Di,u.WorkChart=Vt,u.WorkContext=Xn,u.WorkGroup=Jn,u.WorkIntent=_r,u.WorkRoutine=Cr,u.WorkSide=ki,u.WorkTask=Kn,u.WorkVertex=pt,u.Worker=ct,u.binding=Tl,u.composite=gs,u.context=b,u.dict=q,u.globalPtr=Vr,u.index=c,u.instanceOfCodeable=zs,u.list=vt,u.mpi=S,u.mps=Fl,u.returnType=Wl,u.spi=B,u.withCodec=Zl,u.withConsumer=Ql,u.withMode=wl,Object.defineProperty(u,Symbol.toStringTag,{value:"Module"})});
|
|
23
|
+
`):" "+gl(i[0]):"as no adapter specified";throw new ie("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return n},adapters:Ns};function Ts(r){if(r.cancelToken&&r.cancelToken.throwIfRequested(),r.signal&&r.signal.aborted)throw new Si(null,r)}function bl(r){return Ts(r),r.headers=Jt.from(r.headers),r.data=ws.call(r,r.transformRequest),["post","put","patch"].indexOf(r.method)!==-1&&r.headers.setContentType("application/x-www-form-urlencoded",!1),hl.getAdapter(r.adapter||eo.adapter)(r).then(function(n){return Ts(r),n.data=ws.call(r,r.transformResponse,n),n.headers=Jt.from(n.headers),n},function(n){return ol(n)||(Ts(r),n&&n.response&&(n.response.data=ws.call(r,r.transformResponse,n.response),n.response.headers=Jt.from(n.response.headers))),Promise.reject(n)})}const _l="1.9.0",Do={};["object","boolean","number","function","string","symbol"].forEach((r,e)=>{Do[r]=function(n){return typeof n===r||"a"+(e<1?"n ":" ")+r}});const Sl={};Do.transitional=function(e,t,n){function s(i,a){return"[Axios v"+_l+"] Transitional option '"+i+"'"+a+(n?". "+n:"")}return(i,a,d)=>{if(e===!1)throw new ie(s(a," has been removed"+(t?" in "+t:"")),ie.ERR_DEPRECATED);return t&&!Sl[a]&&(Sl[a]=!0,console.warn(s(a," has been deprecated since v"+t+" and will be removed in the near future"))),e?e(i,a,d):!0}},Do.spelling=function(e){return(t,n)=>(console.warn(`${n} is likely a misspelling of ${e}`),!0)};function Ug(r,e,t){if(typeof r!="object")throw new ie("options must be an object",ie.ERR_BAD_OPTION_VALUE);const n=Object.keys(r);let s=n.length;for(;s-- >0;){const i=n[s],a=e[i];if(a){const d=r[i],v=d===void 0||a(d,i,r);if(v!==!0)throw new ie("option "+i+" must be "+v,ie.ERR_BAD_OPTION_VALUE);continue}if(t!==!0)throw new ie("Unknown option "+i,ie.ERR_BAD_OPTION)}}const ko={assertOptions:Ug,validators:Do},kn=ko.validators;let zr=class{constructor(e){this.defaults=e||{},this.interceptors={request:new tl,response:new tl}}async request(e,t){try{return await this._request(e,t)}catch(n){if(n instanceof Error){let s={};Error.captureStackTrace?Error.captureStackTrace(s):s=new Error;const i=s.stack?s.stack.replace(/^.+\n/,""):"";try{n.stack?i&&!String(n.stack).endsWith(i.replace(/^.+\n.+\n/,""))&&(n.stack+=`
|
|
24
|
+
`+i):n.stack=i}catch{}}throw n}}_request(e,t){typeof e=="string"?(t=t||{},t.url=e):t=e||{},t=qr(this.defaults,t);const{transitional:n,paramsSerializer:s,headers:i}=t;n!==void 0&&ko.assertOptions(n,{silentJSONParsing:kn.transitional(kn.boolean),forcedJSONParsing:kn.transitional(kn.boolean),clarifyTimeoutError:kn.transitional(kn.boolean)},!1),s!=null&&(j.isFunction(s)?t.paramsSerializer={serialize:s}:ko.assertOptions(s,{encode:kn.function,serialize:kn.function},!0)),t.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:t.allowAbsoluteUrls=!0),ko.assertOptions(t,{baseUrl:kn.spelling("baseURL"),withXsrfToken:kn.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();let a=i&&j.merge(i.common,i[t.method]);i&&j.forEach(["delete","get","head","post","put","patch","common"],w=>{delete i[w]}),t.headers=Jt.concat(a,i);const d=[];let v=!0;this.interceptors.request.forEach(function(M){typeof M.runWhen=="function"&&M.runWhen(t)===!1||(v=v&&M.synchronous,d.unshift(M.fulfilled,M.rejected))});const P=[];this.interceptors.response.forEach(function(M){P.push(M.fulfilled,M.rejected)});let R,E=0,k;if(!v){const w=[bl.bind(this),void 0];for(w.unshift.apply(w,d),w.push.apply(w,P),k=w.length,R=Promise.resolve(t);E<k;)R=R.then(w[E++],w[E++]);return R}k=d.length;let T=t;for(E=0;E<k;){const w=d[E++],M=d[E++];try{T=w(T)}catch(A){M.call(this,A);break}}try{R=bl.call(this,T)}catch(w){return Promise.reject(w)}for(E=0,k=P.length;E<k;)R=R.then(P[E++],P[E++]);return R}getUri(e){e=qr(this.defaults,e);const t=dl(e.baseURL,e.url,e.allowAbsoluteUrls);return el(t,e.params,e.paramsSerializer)}};j.forEach(["delete","get","head","options"],function(e){zr.prototype[e]=function(t,n){return this.request(qr(n||{},{method:e,url:t,data:(n||{}).data}))}}),j.forEach(["post","put","patch"],function(e){function t(n){return function(i,a,d){return this.request(qr(d||{},{method:e,headers:n?{"Content-Type":"multipart/form-data"}:{},url:i,data:a}))}}zr.prototype[e]=t(),zr.prototype[e+"Form"]=t(!0)});let Cg=class Pl{constructor(e){if(typeof e!="function")throw new TypeError("executor must be a function.");let t;this.promise=new Promise(function(i){t=i});const n=this;this.promise.then(s=>{if(!n._listeners)return;let i=n._listeners.length;for(;i-- >0;)n._listeners[i](s);n._listeners=null}),this.promise.then=s=>{let i;const a=new Promise(d=>{n.subscribe(d),i=d}).then(s);return a.cancel=function(){n.unsubscribe(i)},a},e(function(i,a,d){n.reason||(n.reason=new Si(i,a,d),t(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);t!==-1&&this._listeners.splice(t,1)}toAbortSignal(){const e=new AbortController,t=n=>{e.abort(n)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let e;return{token:new Pl(function(s){e=s}),cancel:e}}};function Fg(r){return function(t){return r.apply(null,t)}}function Dg(r){return j.isObject(r)&&r.isAxiosError===!0}const As={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(As).forEach(([r,e])=>{As[e]=r});function vl(r){const e=new zr(r),t=xy(zr.prototype.request,e);return j.extend(t,zr.prototype,e,{allOwnKeys:!0}),j.extend(t,e,null,{allOwnKeys:!0}),t.create=function(s){return vl(qr(r,s))},t}const Ye=vl(eo);Ye.Axios=zr,Ye.CanceledError=Si,Ye.CancelToken=Cg,Ye.isCancel=ol,Ye.VERSION=_l,Ye.toFormData=Io,Ye.AxiosError=ie,Ye.Cancel=Ye.CanceledError,Ye.all=function(e){return Promise.all(e)},Ye.spread=Fg,Ye.isAxiosError=Dg,Ye.mergeConfig=qr,Ye.AxiosHeaders=Jt,Ye.formToJSON=r=>rl(j.isHTMLForm(r)?new FormData(r):r),Ye.getAdapter=hl.getAdapter,Ye.HttpStatusCode=As,Ye.default=Ye;const{Axios:nh,AxiosError:rh,CanceledError:ih,isCancel:oh,CancelToken:sh,VERSION:ch,all:ah,Cancel:dh,isAxiosError:uh,spread:ph,toFormData:fh,AxiosHeaders:yh,HttpStatusCode:lh,formToJSON:mh,getAdapter:gh,mergeConfig:hh}=Ye;var kg=function(r,e,t,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,n);else for(var d=r.length-1;d>=0;d--)(a=r[d])&&(i=(s<3?a(i):s>3?a(e,t,i):a(e,t))||i);return s>3&&i&&Object.defineProperty(e,t,i),i};u.HTTPConsumer=class extends u.Consumer{constructor(){super(...arguments);o(this,"timeout",1e4);o(this,"cs",new Map)}getAddr(t){const n=_e.MESH_ADDRESS.get().any();return t.getAttribute(et.REMOTE)??n}async getClient(t){if(!this.cs.has(t)){const n={baseURL:t,timeout:this.timeout,headers:{"Content-Type":"application/json;charset=UTF-8"}};if(globalThis.__vitest_environment__=="node"){const i=await Promise.resolve().then(()=>qg);n.httpsAgent=new i.Agent({rejectUnauthorized:!1})}const s=Ye.create(n);s.interceptors.request.use(i=>i),this.cs.set(t,s)}return this.cs.get(t)}start(){}close(){}async consume(t,n,s,i,a){const d=i.schema(t).timeout??this.timeout,v=t.getAttribute(et.TIMEOUT)??this.timeout,P=tt.load(u.Codec).getDefault(),R=P.decode(a,Object),E=await this.invoke(t,R,Object,s,Math.max(v,d));return P.encode(E)}async invoke(t,n,s,i,a){const d={"mesh-urn":i};t.getAttachments().forEach((P,R)=>{d[P]=R});const v=this.getAddr(t);return await this.doing(t,v,"mpc/invoke",n,d,Math.max(this.timeout,a))}async doing(t,n,s,i,a,d){const v=Pr();if(v!=null&&v.consumer)return v==null?void 0:v.consumer(t,n,s,i,a,d);const R=await(await this.getClient(n)).post(`${n}${s}`,i,{timeout:Math.max(this.timeout,d),headers:a});if(R.status!==200)throw Ni.errorf(R);return R.data}},u.HTTPConsumer=kg([B(u.Consumer.HTTP)],u.HTTPConsumer);class Ms{constructor(){o(this,"name","");o(this,"icon");o(this,"path","");o(this,"describe");o(this,"disable",!1);o(this,"star",!1);o(this,"route");o(this,"children",[]);o(this,"parent");o(this,"attrs")}static abs(e,t=""){if(!e.parent)return`${t}${e.path}`;const n=this.abs(e.parent).replaceAll("/*","");return n==""?`${t}${e.path}`:`${t}${n}${e.path.replaceAll("/*","")}`}static preproc(e){e==null||e.forEach(t=>{var n;(n=t.children)==null||n.forEach(s=>{s.parent=t}),this.preproc((t==null?void 0:t.children)||[])})}static chain(e){return e.parent?[...Ms.chain(e.parent),e]:[]}}class xg extends u.Network{constructor(){super();o(this,"proxy");this.proxy=u.ServiceProxy.proxy(u.Network)}environ(t){return this.proxy.environ(t)}accessible(t,n){return this.proxy.accessible(t)}refresh(t,n){return this.proxy.refresh(t)}route(t,n){return this.proxy.route(t)}routes(t){return this.proxy.routes(t)}disable(t,n){return this.proxy.disable(t)}enable(t,n){return this.proxy.enable(t)}index(t,n){return this.proxy.index(t)}version(t,n){return this.proxy.version(t)}}class Bg{constructor(e,t){o(this,"values",[]);o(this,"filter",(e,t)=>!0);this.values=e||[],this.filter=t}index(e){const t=e.factor||{},n=new Oe;n.index=e.index,n.sid=e.sid||"",n.limit=e.limit,n.total=e.index*e.limit,n.next=!1,n.data=[];const s=n.index*n.limit,i=(n.index+1)*n.limit;for(let a=s;a<this.values.length&&!(s>=this.values.length);a++){const d=this.values[a];n.data.length<e.limit&&s<=n.total&&n.total<i&&n.data.push(d),(!this.filter||this.filter(d,t))&&n.total++}return n.total>i&&(n.next=!0),n}}class Lg{constructor(){o(this,"builtin",u.ServiceProxy.proxy(u.Builtin));o(this,"cache",u.ServiceProxy.proxy(u.Cache));o(this,"cipherEconomy",u.ServiceProxy.proxy(u.CipherEconomy));o(this,"cipherProvider",u.ServiceProxy.proxy(u.CipherProvider));o(this,"cluster",u.ServiceProxy.proxy(u.Cluster));o(this,"commercialize",u.ServiceProxy.proxy(u.Commercialize));o(this,"cryptor",u.ServiceProxy.proxy(u.Cryptor));o(this,"daler",u.ServiceProxy.proxy(u.Daler));o(this,"dataHouse",u.ServiceProxy.proxy(u.DataHouse));o(this,"devops",u.ServiceProxy.proxy(u.Devops));o(this,"endpoint",u.ServiceProxy.proxy(u.Endpoint));o(this,"firewalld",u.ServiceProxy.proxy(u.Firewalld));o(this,"graph",u.ServiceProxy.proxy(u.Graph));o(this,"kms",u.ServiceProxy.proxy(u.KMS));o(this,"kv",u.ServiceProxy.proxy(u.KV));o(this,"licenser",u.ServiceProxy.proxy(u.Licenser));o(this,"locker",u.ServiceProxy.proxy(u.Locker));o(this,"network",u.ServiceProxy.proxy(u.Network));o(this,"pipeline",u.ServiceProxy.proxy(u.Pipeline));o(this,"publisher",u.ServiceProxy.proxy(u.Publisher));o(this,"registry",u.ServiceProxy.proxy(u.Registry));o(this,"savepoint",u.ServiceProxy.proxy(u.Savepoint));o(this,"scheduler",u.ServiceProxy.proxy(u.Scheduler));o(this,"sequence",u.ServiceProxy.proxy(u.Sequence));o(this,"subscriber",u.ServiceProxy.proxy(u.Subscriber));o(this,"tokenizer",u.ServiceProxy.proxy(u.Tokenizer));o(this,"authProvider",u.ServiceProxy.proxy(u.AuthProvider));o(this,"transporter",u.ServiceProxy.proxy(u.Transporter));o(this,"fileSystem",u.ServiceProxy.proxy(u.FileSystem));o(this,"vm",u.ServiceProxy.proxy(u.VM));o(this,"workflow",u.ServiceProxy.proxy(u.Workflow))}}const Hg=new Lg,qg=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"}));u.AccessCode=go,u.AccessGrant=mr,u.AccessID=ho,u.AccessToken=Hn,u.Addrs=Po,u.Appdata=on,u.Argument=Hs,u.Ark=$e,u.Body=De,u.CONSUMER=jo,u.CRL=Ai,u.CacheBody=jt,u.Captcha=Zr,u.Cause=xt,u.CipherEntity=On,u.CipherHello=Ot,u.CipherKey=lo,u.CipherKeygen=ar,u.CipherObject=yt,u.CipherRegen=Mi,u.CipherSuite=$r,u.CipherTxEntity=Ii,u.Citizen=Ms,u.CommerceEnviron=Qr,u.CommerceLicense=Yr,u.Context=fo,u.Credential=nn,u.CrtRevokeRequest=Xr,u.CrtRotateRequest=Cr,u.DalerBinlog=Bn,u.DalerCluster=st,u.DalerDTSJob=We,u.DalerInstance=Kr,u.DalerSource=Bt,u.DalerTest=Ur,u.DataLord=Ti,u.Deque=Vs,u.Document=dr,u.DocumentMetadata=ur,u.DtxBranch=Mn,u.DtxDefinition=hr,u.Dynamic=wi,u.DynamicOption=Qt,u.DynamicRoute=qn,u.DynamicServer=ni,u.EndpointSticker=Ru,u.Entry=$i,u.Env=Wr,u.Environ=Ke,u.Errors=Ni,u.Event=gt,u.FileEntry=Jr,u.FileMirror=Vn,u.Firewall=Se,u.GenericExecution=$y,u.GenericInspector=Uy,u.GenericParameters=ls,u.GenericReturns=ms,u.GrantCode=es,u.Header=yo,u.Hodor=is,u.Hook=wo,u.Idx=sr,u.Inbound=ts,u.Institution=mo,u.Key=cr,u.KeyCsr=rt,u.Keys=Lt,u.Keyset=Zo,u.KindMirror=hn,u.Lattice=Ln,u.License=we,u.Location=yr,u.MPI=Ge,u.MPS=Ei,u.Mani=Ir,u.Matcher=bo,u.Mesh=et,u.MeshCode=oe,u.MeshContext=Yi,u.MeshFlags=Dn,u.MeshNetwork=xg,u.MeshService=Hg,u.Metadata=ns,u.MethodInspector=qs,u.MethodMirror=In,u.Mock=bs,u.Mode=ao,u.MpcStream=us,u.Netlist=gr,u.Outbound=Ui,u.PROVIDER=Cy,u.Packet=sn,u.Page=Oe,u.Paging=U,u.ParameterMirror=zn,u.Payload=Fi,u.Principal=Nt,u.Reference=Nn,u.ReferenceInvokeHandler=Dy,u.Registration=ht,u.RegistrationKind=kl,u.Replica=nt,u.ReturnMirror=br,u.Routable=Gi,u.Route=be,u.RunMode=po,u.SPI=mn,u.Script=Le,u.SecretCsr=En,u.SecretKey=lr,u.Service=Ht,u.ServiceInvocation=Fy,u.ServiceInvokeHandler=ky,u.ServiceLoader=tt,u.Session=Tt,u.Settings=Rn,u.StatefulServer=Iy,u.States=rs,u.Status=h,u.ThrowableMirror=Ci,u.Timeout=wn,u.Tool=_e,u.Topic=He,u.Triplet=Xc,u.Types=or,u.URC=rn,u.URN=nr,u.URNFlag=jr,u.VTable=Bg,u.VariableMirror=gn,u.Versions=Di,u.WorkChart=Vt,u.WorkContext=Xn,u.WorkGroup=Jn,u.WorkIntent=_r,u.WorkRoutine=Fr,u.WorkSide=ki,u.WorkTask=Kn,u.WorkVertex=pt,u.Worker=ct,u.binding=Tl,u.composite=gs,u.context=b,u.descriptor=Pr,u.dict=q,u.globalPtr=Gr,u.index=c,u.instanceOfCodeable=zs,u.list=vt,u.mpi=S,u.mps=Fl,u.returnType=Wl,u.spi=B,u.withCodec=Zl,u.withConsumer=Ql,u.withMode=wl,Object.defineProperty(u,Symbol.toStringTag,{value:"Module"})});
|