agenttwin 0.3.22 → 0.3.24
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/api.js +1335 -729
- package/dist/dashboard/assets/next/static/chunks/{1250-7571b1a697f6bb4a.js → 1250-a3c859fd20517500.js} +1 -1
- package/dist/dashboard/assets/next/static/chunks/{2743-a0efd6f4aeb11cc5.js → 2743-72610a5d5a3f8462.js} +1 -1
- package/dist/dashboard/assets/next/static/chunks/5663-2ba656663ac4643f.js +1 -0
- package/dist/dashboard/assets/next/static/chunks/app/v2/page-fc4df4912ce3af44.js +1 -0
- package/dist/dashboard/assets/next/static/chunks/{webpack-be6e526fd530c797.js → webpack-ecd761d72719adb3.js} +1 -1
- package/dist/dashboard/index.html +2 -2
- package/dist/engine.js +2025 -1415
- package/dist/gateway.js +1411 -807
- package/dist/twins/catalog.json +20 -18
- package/dist/twins/engine/v2/agenttwin-clock.mjs +2 -0
- package/dist/twins/engine/v2/chunks/{4CPL6MPF.mjs → 52CMXHSV.mjs} +1 -1
- package/dist/twins/engine/v2/chunks/B2VTT7PF.mjs +2 -0
- package/dist/twins/engine/{v3/chunks/2CHBP57N.mjs → v2/chunks/HZDHKUD5.mjs} +1 -1
- package/dist/twins/engine/v2/chunks/IVRB2YOK.mjs +8 -0
- package/dist/twins/engine/v2/chunks/{YSJQQVUM.mjs → MPX7J53E.mjs} +1 -1
- package/dist/twins/engine/v2/chunks/{SQSP35HM.mjs → RFZW5KCO.mjs} +1 -1
- package/dist/twins/engine/v2/react-dom_client.mjs +1 -1
- package/dist/twins/engine/v2/react-dom_server.mjs +1 -1
- package/dist/twins/engine/v2/react.mjs +1 -1
- package/dist/twins/engine/v2/react_jsx-runtime.mjs +1 -1
- package/dist/twins/engine/v2/volter_world-core.mjs +103 -109
- package/dist/twins/engine/v2/volter_world-core_app-route.mjs +1 -1
- package/dist/twins/engine/v2/volter_world-core_network-policy.mjs +1 -1
- package/dist/twins/engine/v3/agenttwin-clock.mjs +2 -0
- package/dist/twins/engine/v3/chunks/{MFH2VZPP.mjs → 2EG5AD6A.mjs} +1 -1
- package/dist/twins/engine/v3/chunks/{C46M5U3Q.mjs → 5QGCNQS3.mjs} +1 -1
- package/dist/twins/engine/v3/chunks/{O7HGPMXG.mjs → 5WNKAVCT.mjs} +1 -1
- package/dist/twins/engine/v3/chunks/7D6PDVOF.mjs +11 -0
- package/dist/twins/engine/v3/chunks/B2VTT7PF.mjs +2 -0
- package/dist/twins/engine/v3/chunks/{N5BL5RDF.mjs → F72NFZTW.mjs} +131 -140
- package/dist/twins/engine/v3/chunks/{TY4LDBVH.mjs → GY2CTF2C.mjs} +1 -1
- package/dist/twins/engine/v3/chunks/{MWCO5UV3.mjs → GZESXXB2.mjs} +1 -1
- package/dist/twins/engine/{v2/chunks/2CHBP57N.mjs → v3/chunks/HZDHKUD5.mjs} +1 -1
- package/dist/twins/engine/v3/chunks/{WPATONSC.mjs → IC6JHXCF.mjs} +1 -1
- package/dist/twins/engine/v3/chunks/{5PWRY4UK.mjs → JLOGZJDO.mjs} +1 -1
- package/dist/twins/engine/v3/chunks/{2YSSPA5O.mjs → K7NBWSIY.mjs} +1 -1
- package/dist/twins/engine/v3/chunks/{WGUCFQK6.mjs → T4VKXHGB.mjs} +1 -1
- package/dist/twins/engine/v3/chunks/{AWOWH2H5.mjs → UAP25HWH.mjs} +1 -1
- package/dist/twins/engine/v3/chunks/{VDIRUSCM.mjs → UKHKF3CP.mjs} +1 -1
- package/dist/twins/engine/v3/chunks/{PLB7HTON.mjs → VJIL5WLL.mjs} +1 -1
- package/dist/twins/engine/v3/chunks/{7XRKSFFJ.mjs → ZIV3ZV6R.mjs} +1 -1
- package/dist/twins/engine/v3/react_jsx-runtime.mjs +1 -1
- package/dist/twins/engine/v3/volter_world-core.mjs +1 -1
- package/dist/twins/engine/v3/volter_world-ui.mjs +1 -1
- package/dist/twins/packs/ahrefs/NOTICE +1 -1
- package/dist/twins/packs/ai-gateway/NOTICE +1 -1
- package/dist/twins/packs/airtable/NOTICE +1 -1
- package/dist/twins/packs/algolia/NOTICE +1 -1
- package/dist/twins/packs/ambientcg/NOTICE +1 -1
- package/dist/twins/packs/anthropic/NOTICE +1 -1
- package/dist/twins/packs/assemblyai/NOTICE +1 -1
- package/dist/twins/packs/aws/NOTICE +1 -1
- package/dist/twins/packs/azure/NOTICE +1 -1
- package/dist/twins/packs/azureformrecognizer/NOTICE +1 -1
- package/dist/twins/packs/bitly/NOTICE +1 -1
- package/dist/twins/packs/bluesky/NOTICE +1 -1
- package/dist/twins/packs/calcom/NOTICE +1 -1
- package/dist/twins/packs/clerk/NOTICE +1 -1
- package/dist/twins/packs/cloudflare/NOTICE +1 -1
- package/dist/twins/packs/cohere/NOTICE +1 -1
- package/dist/twins/packs/datadog/NOTICE +1 -1
- package/dist/twins/packs/deepinfra/NOTICE +1 -1
- package/dist/twins/packs/deepseek/NOTICE +1 -1
- package/dist/twins/packs/discord/NOTICE +1 -1
- package/dist/twins/packs/duckduckgo/NOTICE +1 -1
- package/dist/twins/packs/dynadot/NOTICE +1 -1
- package/dist/twins/packs/e2b/NOTICE +1 -1
- package/dist/twins/packs/elevenlabs/NOTICE +1 -1
- package/dist/twins/packs/expo/NOTICE +1 -1
- package/dist/twins/packs/fal/NOTICE +1 -1
- package/dist/twins/packs/figma/NOTICE +1 -1
- package/dist/twins/packs/firecrawl/NOTICE +1 -1
- package/dist/twins/packs/fireworks/NOTICE +1 -1
- package/dist/twins/packs/fly/NOTICE +1 -1
- package/dist/twins/packs/gcs/NOTICE +1 -1
- package/dist/twins/packs/gemini/NOTICE +1 -1
- package/dist/twins/packs/github/NOTICE +1 -1
- package/dist/twins/packs/github/index.mjs +1 -1
- package/dist/twins/packs/googleads/NOTICE +1 -1
- package/dist/twins/packs/googlemaps/NOTICE +1 -1
- package/dist/twins/packs/googleoauth/NOTICE +1 -1
- package/dist/twins/packs/hackernews/NOTICE +1 -1
- package/dist/twins/packs/huggingface/NOTICE +1 -1
- package/dist/twins/packs/inngest/NOTICE +1 -1
- package/dist/twins/packs/inngest/index.mjs +1 -1
- package/dist/twins/packs/instagram/NOTICE +1 -1
- package/dist/twins/packs/jira/NOTICE +1 -1
- package/dist/twins/packs/langfuse/NOTICE +1 -1
- package/dist/twins/packs/linear/NOTICE +1 -1
- package/dist/twins/packs/linear/index.mjs +1 -1
- package/dist/twins/packs/linkedin/NOTICE +1 -1
- package/dist/twins/packs/livekit/NOTICE +1 -1
- package/dist/twins/packs/mailgun/NOTICE +1 -1
- package/dist/twins/packs/mapbox/NOTICE +1 -1
- package/dist/twins/packs/merge/NOTICE +1 -1
- package/dist/twins/packs/mistral/NOTICE +1 -1
- package/dist/twins/packs/mixpanel/NOTICE +1 -1
- package/dist/twins/packs/mongodb/NOTICE +1 -1
- package/dist/twins/packs/moonshot/NOTICE +1 -1
- package/dist/twins/packs/notion/NOTICE +1 -1
- package/dist/twins/packs/npm-registry/NOTICE +1 -1
- package/dist/twins/packs/oa-treasury/NOTICE +1 -1
- package/dist/twins/packs/openai/NOTICE +1 -1
- package/dist/twins/packs/openrouter/NOTICE +1 -1
- package/dist/twins/packs/openweather/NOTICE +1 -1
- package/dist/twins/packs/paypal/NOTICE +1 -1
- package/dist/twins/packs/pinecone/NOTICE +1 -1
- package/dist/twins/packs/plain/NOTICE +1 -1
- package/dist/twins/packs/plain/index.mjs +1 -1
- package/dist/twins/packs/planetscale/NOTICE +1 -1
- package/dist/twins/packs/polar/NOTICE +1 -1
- package/dist/twins/packs/polyhaven/NOTICE +1 -1
- package/dist/twins/packs/postmark/NOTICE +1 -1
- package/dist/twins/packs/reddit/NOTICE +1 -1
- package/dist/twins/packs/redis/NOTICE +1 -1
- package/dist/twins/packs/replicate/NOTICE +1 -1
- package/dist/twins/packs/resend/NOTICE +1 -1
- package/dist/twins/packs/runhuman/NOTICE +1 -1
- package/dist/twins/packs/scrapecreators/NOTICE +1 -1
- package/dist/twins/packs/segment/NOTICE +1 -1
- package/dist/twins/packs/sendblue/NOTICE +1 -1
- package/dist/twins/packs/sendgrid/NOTICE +1 -1
- package/dist/twins/packs/sentry/NOTICE +1 -1
- package/dist/twins/packs/sigstore/NOTICE +1 -1
- package/dist/twins/packs/slack/NOTICE +1 -1
- package/dist/twins/packs/smtp/NOTICE +1 -1
- package/dist/twins/packs/snowflake/NOTICE +1 -1
- package/dist/twins/packs/stigg/NOTICE +1 -1
- package/dist/twins/packs/stigg/index.mjs +1 -1
- package/dist/twins/packs/stream/NOTICE +1 -1
- package/dist/twins/packs/stripe/NOTICE +1 -1
- package/dist/twins/packs/supabase/NOTICE +1 -1
- package/dist/twins/packs/supermemory/NOTICE +1 -1
- package/dist/twins/packs/svix/NOTICE +1 -1
- package/dist/twins/packs/tavily/NOTICE +1 -1
- package/dist/twins/packs/telegram/NOTICE +1 -1
- package/dist/twins/packs/temporal/NOTICE +1 -1
- package/dist/twins/packs/temporal/index.mjs +1 -1
- package/dist/twins/packs/tiktok/NOTICE +1 -1
- package/dist/twins/packs/tinybird/NOTICE +1 -1
- package/dist/twins/packs/togetherai/NOTICE +1 -1
- package/dist/twins/packs/tremendous/NOTICE +1 -1
- package/dist/twins/packs/tripo/NOTICE +1 -1
- package/dist/twins/packs/tunnel/NOTICE +1 -1
- package/dist/twins/packs/twelvelabs/NOTICE +1 -1
- package/dist/twins/packs/twilio/NOTICE +1 -1
- package/dist/twins/packs/twitch/NOTICE +1 -1
- package/dist/twins/packs/upstash/NOTICE +1 -1
- package/dist/twins/packs/upstashvector/NOTICE +1 -1
- package/dist/twins/packs/vercel/NOTICE +1 -1
- package/dist/twins/packs/veriff/NOTICE +1 -1
- package/dist/twins/packs/vgauth/NOTICE +1 -1
- package/dist/twins/packs/vital/NOTICE +1 -1
- package/dist/twins/packs/volteridentity/NOTICE +1 -1
- package/dist/twins/packs/webrisk/NOTICE +1 -1
- package/dist/twins/packs/worldlabs/NOTICE +1 -1
- package/dist/twins/packs/x/NOTICE +1 -1
- package/dist/twins/packs/xai/NOTICE +1 -1
- package/dist/twins/packs/xidentity/NOTICE +1 -1
- package/dist/twins/packs/xidentity/index.mjs +1 -1
- package/dist/twins/packs/youtube/NOTICE +1 -1
- package/dist/worker.js +1518 -180
- package/dist/world-host.js +797 -263
- package/package.json +2 -2
- package/dist/dashboard/assets/next/static/chunks/5663-403316746afad10e.js +0 -1
- package/dist/dashboard/assets/next/static/chunks/app/v2/page-3e86fffabfa87d88.js +0 -1
- package/dist/twins/engine/v2/chunks/OYLYKZGD.mjs +0 -2
- package/dist/twins/engine/v3/chunks/OYLYKZGD.mjs +0 -2
- /package/dist/dashboard/assets/next/static/{8f121VqXS9LLPMmYd1SRn → ztFPFZw3-M7E56BfRipIn}/_buildManifest.js +0 -0
- /package/dist/dashboard/assets/next/static/{8f121VqXS9LLPMmYd1SRn → ztFPFZw3-M7E56BfRipIn}/_ssgManifest.js +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import{createRequire as __atReq}from'node:module';const require=__atReq(import.meta.url);
|
|
2
|
-
var cs=Object.create;var Lo=Object.defineProperty;var fs=Object.getOwnPropertyDescriptor;var ys=Object.getOwnPropertyNames;var ms=Object.getPrototypeOf,Es=Object.prototype.hasOwnProperty;var Po=(o=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(o,{get:(e,t)=>(typeof require<"u"?require:e)[t]}):o)(function(o){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+o+'" is not supported')});var N=(o,e)=>()=>(e||o((e={exports:{}}).exports,e),e.exports);var hs=(o,e,t,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of ys(e))!Es.call(o,n)&&n!==t&&Lo(o,n,{get:()=>e[n],enumerable:!(i=fs(e,n))||i.enumerable});return o};var gs=(o,e,t)=>(t=o!=null?cs(ms(o)):{},hs(e||!o||!o.__esModule?Lo(t,"default",{value:o,enumerable:!0}):t,o));var ki=N((qp,Uo)=>{"use strict";Uo.exports=_s;function _s(o,e){for(var t=new Array(arguments.length-1),i=0,n=2,r=!0;n<arguments.length;)t[i++]=arguments[n++];return new Promise(function(p,a){t[i]=function(u){if(r)if(r=!1,u)a(u);else{for(var f=new Array(arguments.length-1),c=0;c<f.length;)f[c++]=arguments[c];p.apply(null,f)}};try{o.apply(e||null,t)}catch(d){r&&(r=!1,a(d))}})}});var Bo=N(qo=>{"use strict";var Yt=qo;Yt.length=function(e){var t=e.length;if(!t)return 0;for(var i=0;--t%4>1&&e.charAt(t)==="=";)++i;return Math.ceil(e.length*3)/4-i};var ct=new Array(64),Mo=new Array(123);for(De=0;De<64;)Mo[ct[De]=De<26?De+65:De<52?De+71:De<62?De-4:De-59|43]=De++;var De;Yt.encode=function(e,t,i){for(var n=null,r=[],s=0,p=0,a;t<i;){var d=e[t++];switch(p){case 0:r[s++]=ct[d>>2],a=(d&3)<<4,p=1;break;case 1:r[s++]=ct[a|d>>4],a=(d&15)<<2,p=2;break;case 2:r[s++]=ct[a|d>>6],r[s++]=ct[d&63],p=0;break}s>8191&&((n||(n=[])).push(String.fromCharCode.apply(String,r)),s=0)}return p&&(r[s++]=ct[a],r[s++]=61,p===1&&(r[s++]=61)),n?(s&&n.push(String.fromCharCode.apply(String,r.slice(0,s))),n.join("")):String.fromCharCode.apply(String,r.slice(0,s))};var Fo="invalid encoding";Yt.decode=function(e,t,i){for(var n=i,r=0,s,p=0;p<e.length;){var a=e.charCodeAt(p++);if(a===61&&r>1)break;if((a=Mo[a])===void 0)throw Error(Fo);switch(r){case 0:s=a,r=1;break;case 1:t[i++]=s<<2|(a&48)>>4,s=a,r=2;break;case 2:t[i++]=(s&15)<<4|(a&60)>>2,s=a,r=3;break;case 3:t[i++]=(s&3)<<6|a,r=0;break}}if(r===1)throw Error(Fo);return i-n};Yt.test=function(e){return/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/.test(e)}});var Yo=N((Vp,Vo)=>{"use strict";Vo.exports=Kt;function Kt(){this._listeners=Object.create(null)}Kt.prototype.on=function(e,t,i){return(this._listeners[e]||(this._listeners[e]=[])).push({fn:t,ctx:i||this}),this};Kt.prototype.off=function(e,t){if(e===void 0)this._listeners=Object.create(null);else if(t===void 0)this._listeners[e]=[];else{var i=this._listeners[e];if(!i)return this;for(var n=0;n<i.length;)i[n].fn===t?i.splice(n,1):++n}return this};Kt.prototype.emit=function(e){var t=this._listeners[e];if(t){for(var i=[],n=1;n<arguments.length;)i.push(arguments[n++]);for(n=0;n<t.length;)t[n].fn.apply(t[n++].ctx,i)}return this}});var jo=N((Yp,$o)=>{"use strict";$o.exports=Ko(Ko);function Ko(o){return typeof Float32Array<"u"?(function(){var e=new Float32Array([-0]),t=new Uint8Array(e.buffer),i=t[3]===128;function n(a,d,u){e[0]=a,d[u]=t[0],d[u+1]=t[1],d[u+2]=t[2],d[u+3]=t[3]}function r(a,d,u){e[0]=a,d[u]=t[3],d[u+1]=t[2],d[u+2]=t[1],d[u+3]=t[0]}o.writeFloatLE=i?n:r,o.writeFloatBE=i?r:n;function s(a,d){return t[0]=a[d],t[1]=a[d+1],t[2]=a[d+2],t[3]=a[d+3],e[0]}function p(a,d){return t[3]=a[d],t[2]=a[d+1],t[1]=a[d+2],t[0]=a[d+3],e[0]}o.readFloatLE=i?s:p,o.readFloatBE=i?p:s})():(function(){function e(i,n,r,s){var p=n<0?1:0;if(p&&(n=-n),n===0)i(1/n>0?0:2147483648,r,s);else if(isNaN(n))i(2143289344,r,s);else if(n>34028234663852886e22)i((p<<31|2139095040)>>>0,r,s);else if(n<11754943508222875e-54)i((p<<31|Math.round(n/1401298464324817e-60))>>>0,r,s);else{var a=Math.floor(Math.log(n)/Math.LN2),d=Math.round(n*Math.pow(2,-a)*8388608)&8388607;i((p<<31|a+127<<23|d)>>>0,r,s)}}o.writeFloatLE=e.bind(null,Ho),o.writeFloatBE=e.bind(null,Go);function t(i,n,r){var s=i(n,r),p=(s>>31)*2+1,a=s>>>23&255,d=s&8388607;return a===255?d?NaN:p*(1/0):a===0?p*1401298464324817e-60*d:p*Math.pow(2,a-150)*(d+8388608)}o.readFloatLE=t.bind(null,Qo),o.readFloatBE=t.bind(null,Xo)})(),typeof Float64Array<"u"?(function(){var e=new Float64Array([-0]),t=new Uint8Array(e.buffer),i=t[7]===128;function n(a,d,u){e[0]=a,d[u]=t[0],d[u+1]=t[1],d[u+2]=t[2],d[u+3]=t[3],d[u+4]=t[4],d[u+5]=t[5],d[u+6]=t[6],d[u+7]=t[7]}function r(a,d,u){e[0]=a,d[u]=t[7],d[u+1]=t[6],d[u+2]=t[5],d[u+3]=t[4],d[u+4]=t[3],d[u+5]=t[2],d[u+6]=t[1],d[u+7]=t[0]}o.writeDoubleLE=i?n:r,o.writeDoubleBE=i?r:n;function s(a,d){return t[0]=a[d],t[1]=a[d+1],t[2]=a[d+2],t[3]=a[d+3],t[4]=a[d+4],t[5]=a[d+5],t[6]=a[d+6],t[7]=a[d+7],e[0]}function p(a,d){return t[7]=a[d],t[6]=a[d+1],t[5]=a[d+2],t[4]=a[d+3],t[3]=a[d+4],t[2]=a[d+5],t[1]=a[d+6],t[0]=a[d+7],e[0]}o.readDoubleLE=i?s:p,o.readDoubleBE=i?p:s})():(function(){function e(i,n,r,s,p,a){var d=s<0?1:0;if(d&&(s=-s),s===0)i(0,p,a+n),i(1/s>0?0:2147483648,p,a+r);else if(isNaN(s))i(0,p,a+n),i(2146959360,p,a+r);else if(s>17976931348623157e292)i(0,p,a+n),i((d<<31|2146435072)>>>0,p,a+r);else{var u;if(s<22250738585072014e-324)u=s/5e-324,i(u>>>0,p,a+n),i((d<<31|u/4294967296)>>>0,p,a+r);else{var f=Math.floor(Math.log(s)/Math.LN2);f===1024&&(f=1023),u=s*Math.pow(2,-f),i(u*4503599627370496>>>0,p,a+n),i((d<<31|f+1023<<20|u*1048576&1048575)>>>0,p,a+r)}}}o.writeDoubleLE=e.bind(null,Ho,0,4),o.writeDoubleBE=e.bind(null,Go,4,0);function t(i,n,r,s,p){var a=i(s,p+n),d=i(s,p+r),u=(d>>31)*2+1,f=d>>>20&2047,c=4294967296*(d&1048575)+a;return f===2047?c?NaN:u*(1/0):f===0?u*5e-324*c:u*Math.pow(2,f-1075)*(c+4503599627370496)}o.readDoubleLE=t.bind(null,Qo,0,4),o.readDoubleBE=t.bind(null,Xo,4,0)})(),o}function Ho(o,e,t){e[t]=o&255,e[t+1]=o>>>8&255,e[t+2]=o>>>16&255,e[t+3]=o>>>24}function Go(o,e,t){e[t]=o>>>24,e[t+1]=o>>>16&255,e[t+2]=o>>>8&255,e[t+3]=o&255}function Qo(o,e){return(o[e]|o[e+1]<<8|o[e+2]<<16|o[e+3]<<24)>>>0}function Xo(o,e){return(o[e]<<24|o[e+1]<<16|o[e+2]<<8|o[e+3])>>>0}});var zo=N(Jo=>{"use strict";var Ii=Jo,Ai=65533;Ii.length=function(e){for(var t=0,i=0,n=0;n<e.length;++n)i=e.charCodeAt(n),i<128?t+=1:i<2048?t+=2:(i&64512)===55296&&(e.charCodeAt(n+1)&64512)===56320?(++n,t+=4):t+=3;return t};Ii.read=function(e,t,i){if(i-t<1)return"";for(var n=null,r=[],s=0,p,a,d,u;t<i;)p=e[t++],p<=127?r[s++]=p:p>=192&&p<224?(d=(p&31)<<6|e[t++]&63,r[s++]=d>=128?d:Ai):p>=224&&p<240?(u=(p&15)<<12|(e[t++]&63)<<6|e[t++]&63,r[s++]=u>=2048?u:Ai):p>=240&&(a=(p&7)<<18|(e[t++]&63)<<12|(e[t++]&63)<<6|e[t++]&63,a<65536||a>1114111?r[s++]=Ai:(a-=65536,r[s++]=55296+(a>>10),r[s++]=56320+(a&1023))),s>8191&&((n||(n=[])).push(String.fromCharCode.apply(String,r.slice(0,s))),s=0);return n?(s&&n.push(String.fromCharCode.apply(String,r.slice(0,s))),n.join("")):String.fromCharCode.apply(String,r.slice(0,s))};Ii.write=function(e,t,i){for(var n=i,r,s,p=0;p<e.length;++p)r=e.charCodeAt(p),r<128?t[i++]=r:r<2048?(t[i++]=r>>6|192,t[i++]=r&63|128):(r&64512)===55296&&((s=e.charCodeAt(p+1))&64512)===56320?(r=65536+((r&1023)<<10)+(s&1023),++p,t[i++]=r>>18|240,t[i++]=r>>12&63|128,t[i++]=r>>6&63|128,t[i++]=r&63|128):(t[i++]=r>>12|224,t[i++]=r>>6&63|128,t[i++]=r&63|128);return i-n}});var en=N((Hp,Zo)=>{"use strict";Zo.exports=vs;function vs(o,e,t){var i=t||8192,n=i>>>1,r=null,s=i;return function(a){if(a<1||a>n)return o(a);s+a>i&&(r=o(i),s=0);var d=e.call(r,s,s+=a);return s&7&&(s=(s|7)+1),d}}});var on=N((Gp,tn)=>{"use strict";tn.exports=de;var kt=We();function de(o,e){this.lo=o>>>0,this.hi=e>>>0}var nt=de.zero=new de(0,0);nt.toNumber=function(){return 0};nt.zzEncode=nt.zzDecode=function(){return this};nt.length=function(){return 1};var ws=de.zeroHash="\0\0\0\0\0\0\0\0";de.fromNumber=function(e){if(e===0)return nt;var t=e<0;t&&(e=-e);var i=e>>>0,n=(e-i)/4294967296>>>0;return t&&(n=~n>>>0,i=~i>>>0,++i>4294967295&&(i=0,++n>4294967295&&(n=0))),new de(i,n)};de.from=function(e){if(typeof e=="number")return de.fromNumber(e);if(kt.isString(e))if(kt.Long)e=kt.Long.fromString(e);else return de.fromNumber(parseInt(e,10));return e.low||e.high?new de(e.low>>>0,e.high>>>0):nt};de.prototype.toNumber=function(e){if(!e&&this.hi>>>31){var t=~this.lo+1>>>0,i=~this.hi>>>0;return t||(i=i+1>>>0),-(t+i*4294967296)}return this.lo+this.hi*4294967296};de.prototype.toLong=function(e){return kt.Long?new kt.Long(this.lo|0,this.hi|0,!!e):{low:this.lo|0,high:this.hi|0,unsigned:!!e}};var Je=String.prototype.charCodeAt;de.fromHash=function(e){return e===ws?nt:new de((Je.call(e,0)|Je.call(e,1)<<8|Je.call(e,2)<<16|Je.call(e,3)<<24)>>>0,(Je.call(e,4)|Je.call(e,5)<<8|Je.call(e,6)<<16|Je.call(e,7)<<24)>>>0)};de.prototype.toHash=function(){return String.fromCharCode(this.lo&255,this.lo>>>8&255,this.lo>>>16&255,this.lo>>>24,this.hi&255,this.hi>>>8&255,this.hi>>>16&255,this.hi>>>24)};de.prototype.zzEncode=function(){var e=this.hi>>31;return this.hi=((this.hi<<1|this.lo>>>31)^e)>>>0,this.lo=(this.lo<<1^e)>>>0,this};de.prototype.zzDecode=function(){var e=-(this.lo&1);return this.lo=((this.lo>>>1|this.hi<<31)^e)>>>0,this.hi=(this.hi>>>1^e)>>>0,this};de.prototype.length=function(){var e=this.lo,t=(this.lo>>>28|this.hi<<4)>>>0,i=this.hi>>>24;return i===0?t===0?e<16384?e<128?1:2:e<2097152?3:4:t<16384?t<128?5:6:t<2097152?7:8:i<128?9:10}});var nn=N((At,Ri)=>{(function(o,e){function t(i){return i.default||i}typeof define=="function"&&define.amd?define([],function(){var i={};return e(i),t(i)}):typeof At=="object"?(e(At),typeof Ri=="object"&&(Ri.exports=t(At))):(function(){var i={};e(i),o.Long=t(i)})()})(typeof globalThis<"u"?globalThis:typeof self<"u"?self:At,function(o){"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.default=void 0;var e=null;try{e=new WebAssembly.Instance(new WebAssembly.Module(new Uint8Array([0,97,115,109,1,0,0,0,1,13,2,96,0,1,127,96,4,127,127,127,127,1,127,3,7,6,0,1,1,1,1,1,6,6,1,127,1,65,0,11,7,50,6,3,109,117,108,0,1,5,100,105,118,95,115,0,2,5,100,105,118,95,117,0,3,5,114,101,109,95,115,0,4,5,114,101,109,95,117,0,5,8,103,101,116,95,104,105,103,104,0,0,10,191,1,6,4,0,35,0,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,126,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,127,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,128,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,129,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,130,34,4,66,32,135,167,36,0,32,4,167,11])),{}).exports}catch{}function t(E,l,w){this.low=E|0,this.high=l|0,this.unsigned=!!w}t.prototype.__isLong__,Object.defineProperty(t.prototype,"__isLong__",{value:!0});function i(E){return(E&&E.__isLong__)===!0}function n(E){var l=Math.clz32(E&-E);return E?31-l:l}t.isLong=i;var r={},s={};function p(E,l){var w,P,W;return l?(E>>>=0,(W=0<=E&&E<256)&&(P=s[E],P)?P:(w=d(E,0,!0),W&&(s[E]=w),w)):(E|=0,(W=-128<=E&&E<128)&&(P=r[E],P)?P:(w=d(E,E<0?-1:0,!1),W&&(r[E]=w),w))}t.fromInt=p;function a(E,l){if(isNaN(E))return l?v:j;if(l){if(E<0)return v;if(E>=O)return ie}else{if(E<=-M)return G;if(E+1>=M)return me}return E<0?a(-E,l).neg():d(E%A|0,E/A|0,l)}t.fromNumber=a;function d(E,l,w){return new t(E,l,w)}t.fromBits=d;var u=Math.pow;function f(E,l,w){if(E.length===0)throw Error("empty string");if(typeof l=="number"?(w=l,l=!1):l=!!l,E==="NaN"||E==="Infinity"||E==="+Infinity"||E==="-Infinity")return l?v:j;if(w=w||10,w<2||36<w)throw RangeError("radix");var P;if((P=E.indexOf("-"))>0)throw Error("interior hyphen");if(P===0)return f(E.substring(1),l,w).neg();for(var W=a(u(w,8)),K=j,oe=0;oe<E.length;oe+=8){var Ee=Math.min(8,E.length-oe),ge=parseInt(E.substring(oe,oe+Ee),w);if(Ee<8){var pe=a(u(w,Ee));K=K.mul(pe).add(a(ge))}else K=K.mul(W),K=K.add(a(ge))}return K.unsigned=l,K}t.fromString=f;function c(E,l){return typeof E=="number"?a(E,l):typeof E=="string"?f(E,l):d(E.low,E.high,typeof l=="boolean"?l:E.unsigned)}t.fromValue=c;var T=65536,h=1<<24,A=T*T,O=A*A,M=O/2,V=p(h),j=p(0);t.ZERO=j;var v=p(0,!0);t.UZERO=v;var x=p(1);t.ONE=x;var L=p(1,!0);t.UONE=L;var J=p(-1);t.NEG_ONE=J;var me=d(-1,2147483647,!1);t.MAX_VALUE=me;var ie=d(-1,-1,!0);t.MAX_UNSIGNED_VALUE=ie;var G=d(0,-2147483648,!1);t.MIN_VALUE=G;var g=t.prototype;g.toInt=function(){return this.unsigned?this.low>>>0:this.low},g.toNumber=function(){return this.unsigned?(this.high>>>0)*A+(this.low>>>0):this.high*A+(this.low>>>0)},g.toString=function(l){if(l=l||10,l<2||36<l)throw RangeError("radix");if(this.isZero())return"0";if(this.isNegative())if(this.eq(G)){var w=a(l),P=this.div(w),W=P.mul(w).sub(this);return P.toString(l)+W.toInt().toString(l)}else return"-"+this.neg().toString(l);for(var K=a(u(l,6),this.unsigned),oe=this,Ee="";;){var ge=oe.div(K),pe=oe.sub(ge.mul(K)).toInt()>>>0,B=pe.toString(l);if(oe=ge,oe.isZero())return B+Ee;for(;B.length<6;)B="0"+B;Ee=""+B+Ee}},g.getHighBits=function(){return this.high},g.getHighBitsUnsigned=function(){return this.high>>>0},g.getLowBits=function(){return this.low},g.getLowBitsUnsigned=function(){return this.low>>>0},g.getNumBitsAbs=function(){if(this.isNegative())return this.eq(G)?64:this.neg().getNumBitsAbs();for(var l=this.high!=0?this.high:this.low,w=31;w>0&&(l&1<<w)==0;w--);return this.high!=0?w+33:w+1},g.isSafeInteger=function(){var l=this.high>>21;return l?this.unsigned?!1:l===-1&&!(this.low===0&&this.high===-2097152):!0},g.isZero=function(){return this.high===0&&this.low===0},g.eqz=g.isZero,g.isNegative=function(){return!this.unsigned&&this.high<0},g.isPositive=function(){return this.unsigned||this.high>=0},g.isOdd=function(){return(this.low&1)===1},g.isEven=function(){return(this.low&1)===0},g.equals=function(l){return i(l)||(l=c(l)),this.unsigned!==l.unsigned&&this.high>>>31===1&&l.high>>>31===1?!1:this.high===l.high&&this.low===l.low},g.eq=g.equals,g.notEquals=function(l){return!this.eq(l)},g.neq=g.notEquals,g.ne=g.notEquals,g.lessThan=function(l){return this.comp(l)<0},g.lt=g.lessThan,g.lessThanOrEqual=function(l){return this.comp(l)<=0},g.lte=g.lessThanOrEqual,g.le=g.lessThanOrEqual,g.greaterThan=function(l){return this.comp(l)>0},g.gt=g.greaterThan,g.greaterThanOrEqual=function(l){return this.comp(l)>=0},g.gte=g.greaterThanOrEqual,g.ge=g.greaterThanOrEqual,g.compare=function(l){if(i(l)||(l=c(l)),this.eq(l))return 0;var w=this.isNegative(),P=l.isNegative();return w&&!P?-1:!w&&P?1:this.unsigned?l.high>>>0>this.high>>>0||l.high===this.high&&l.low>>>0>this.low>>>0?-1:1:this.sub(l).isNegative()?-1:1},g.comp=g.compare,g.negate=function(){return!this.unsigned&&this.eq(G)?G:this.not().add(x)},g.neg=g.negate,g.add=function(l){i(l)||(l=c(l));var w=this.high>>>16,P=this.high&65535,W=this.low>>>16,K=this.low&65535,oe=l.high>>>16,Ee=l.high&65535,ge=l.low>>>16,pe=l.low&65535,B=0,Te=0,te=0,_e=0;return _e+=K+pe,te+=_e>>>16,_e&=65535,te+=W+ge,Te+=te>>>16,te&=65535,Te+=P+Ee,B+=Te>>>16,Te&=65535,B+=w+oe,B&=65535,d(te<<16|_e,B<<16|Te,this.unsigned)},g.subtract=function(l){return i(l)||(l=c(l)),this.add(l.neg())},g.sub=g.subtract,g.multiply=function(l){if(this.isZero())return this;if(i(l)||(l=c(l)),e){var w=e.mul(this.low,this.high,l.low,l.high);return d(w,e.get_high(),this.unsigned)}if(l.isZero())return this.unsigned?v:j;if(this.eq(G))return l.isOdd()?G:j;if(l.eq(G))return this.isOdd()?G:j;if(this.isNegative())return l.isNegative()?this.neg().mul(l.neg()):this.neg().mul(l).neg();if(l.isNegative())return this.mul(l.neg()).neg();if(this.lt(V)&&l.lt(V))return a(this.toNumber()*l.toNumber(),this.unsigned);var P=this.high>>>16,W=this.high&65535,K=this.low>>>16,oe=this.low&65535,Ee=l.high>>>16,ge=l.high&65535,pe=l.low>>>16,B=l.low&65535,Te=0,te=0,_e=0,He=0;return He+=oe*B,_e+=He>>>16,He&=65535,_e+=K*B,te+=_e>>>16,_e&=65535,_e+=oe*pe,te+=_e>>>16,_e&=65535,te+=W*B,Te+=te>>>16,te&=65535,te+=K*pe,Te+=te>>>16,te&=65535,te+=oe*ge,Te+=te>>>16,te&=65535,Te+=P*B+W*pe+K*ge+oe*Ee,Te&=65535,d(_e<<16|He,Te<<16|te,this.unsigned)},g.mul=g.multiply,g.divide=function(l){if(i(l)||(l=c(l)),l.isZero())throw Error("division by zero");if(e){if(!this.unsigned&&this.high===-2147483648&&l.low===-1&&l.high===-1)return this;var w=(this.unsigned?e.div_u:e.div_s)(this.low,this.high,l.low,l.high);return d(w,e.get_high(),this.unsigned)}if(this.isZero())return this.unsigned?v:j;var P,W,K;if(this.unsigned){if(l.unsigned||(l=l.toUnsigned()),l.gt(this))return v;if(l.gt(this.shru(1)))return L;K=v}else{if(this.eq(G)){if(l.eq(x)||l.eq(J))return G;if(l.eq(G))return x;var oe=this.shr(1);return P=oe.div(l).shl(1),P.eq(j)?l.isNegative()?x:J:(W=this.sub(l.mul(P)),K=P.add(W.div(l)),K)}else if(l.eq(G))return this.unsigned?v:j;if(this.isNegative())return l.isNegative()?this.neg().div(l.neg()):this.neg().div(l).neg();if(l.isNegative())return this.div(l.neg()).neg();K=j}for(W=this;W.gte(l);){P=Math.max(1,Math.floor(W.toNumber()/l.toNumber()));for(var Ee=Math.ceil(Math.log(P)/Math.LN2),ge=Ee<=48?1:u(2,Ee-48),pe=a(P),B=pe.mul(l);B.isNegative()||B.gt(W);)P-=ge,pe=a(P,this.unsigned),B=pe.mul(l);pe.isZero()&&(pe=x),K=K.add(pe),W=W.sub(B)}return K},g.div=g.divide,g.modulo=function(l){if(i(l)||(l=c(l)),e){var w=(this.unsigned?e.rem_u:e.rem_s)(this.low,this.high,l.low,l.high);return d(w,e.get_high(),this.unsigned)}return this.sub(this.div(l).mul(l))},g.mod=g.modulo,g.rem=g.modulo,g.not=function(){return d(~this.low,~this.high,this.unsigned)},g.countLeadingZeros=function(){return this.high?Math.clz32(this.high):Math.clz32(this.low)+32},g.clz=g.countLeadingZeros,g.countTrailingZeros=function(){return this.low?n(this.low):n(this.high)+32},g.ctz=g.countTrailingZeros,g.and=function(l){return i(l)||(l=c(l)),d(this.low&l.low,this.high&l.high,this.unsigned)},g.or=function(l){return i(l)||(l=c(l)),d(this.low|l.low,this.high|l.high,this.unsigned)},g.xor=function(l){return i(l)||(l=c(l)),d(this.low^l.low,this.high^l.high,this.unsigned)},g.shiftLeft=function(l){return i(l)&&(l=l.toInt()),(l&=63)===0?this:l<32?d(this.low<<l,this.high<<l|this.low>>>32-l,this.unsigned):d(0,this.low<<l-32,this.unsigned)},g.shl=g.shiftLeft,g.shiftRight=function(l){return i(l)&&(l=l.toInt()),(l&=63)===0?this:l<32?d(this.low>>>l|this.high<<32-l,this.high>>l,this.unsigned):d(this.high>>l-32,this.high>=0?0:-1,this.unsigned)},g.shr=g.shiftRight,g.shiftRightUnsigned=function(l){return i(l)&&(l=l.toInt()),(l&=63)===0?this:l<32?d(this.low>>>l|this.high<<32-l,this.high>>>l,this.unsigned):l===32?d(this.high,0,this.unsigned):d(this.high>>>l-32,0,this.unsigned)},g.shru=g.shiftRightUnsigned,g.shr_u=g.shiftRightUnsigned,g.rotateLeft=function(l){var w;return i(l)&&(l=l.toInt()),(l&=63)===0?this:l===32?d(this.high,this.low,this.unsigned):l<32?(w=32-l,d(this.low<<l|this.high>>>w,this.high<<l|this.low>>>w,this.unsigned)):(l-=32,w=32-l,d(this.high<<l|this.low>>>w,this.low<<l|this.high>>>w,this.unsigned))},g.rotl=g.rotateLeft,g.rotateRight=function(l){var w;return i(l)&&(l=l.toInt()),(l&=63)===0?this:l===32?d(this.high,this.low,this.unsigned):l<32?(w=32-l,d(this.high<<w|this.low>>>l,this.low<<w|this.high>>>l,this.unsigned)):(l-=32,w=32-l,d(this.low<<w|this.high>>>l,this.high<<w|this.low>>>l,this.unsigned))},g.rotr=g.rotateRight,g.toSigned=function(){return this.unsigned?d(this.low,this.high,!1):this},g.toUnsigned=function(){return this.unsigned?this:d(this.low,this.high,!0)},g.toBytes=function(l){return l?this.toBytesLE():this.toBytesBE()},g.toBytesLE=function(){var l=this.high,w=this.low;return[w&255,w>>>8&255,w>>>16&255,w>>>24,l&255,l>>>8&255,l>>>16&255,l>>>24]},g.toBytesBE=function(){var l=this.high,w=this.low;return[l>>>24,l>>>16&255,l>>>8&255,l&255,w>>>24,w>>>16&255,w>>>8&255,w&255]},t.fromBytes=function(l,w,P){return P?t.fromBytesLE(l,w):t.fromBytesBE(l,w)},t.fromBytesLE=function(l,w){return new t(l[0]|l[1]<<8|l[2]<<16|l[3]<<24,l[4]|l[5]<<8|l[6]<<16|l[7]<<24,w)},t.fromBytesBE=function(l,w){return new t(l[4]<<24|l[5]<<16|l[6]<<8|l[7],l[0]<<24|l[1]<<16|l[2]<<8|l[3],w)},typeof BigInt=="function"&&(t.fromBigInt=function(l,w){var P=Number(BigInt.asIntN(32,l)),W=Number(BigInt.asIntN(32,l>>BigInt(32)));return d(P,W,w)},t.fromValue=function(l,w){return typeof l=="bigint"?t.fromBigInt(l,w):c(l,w)},g.toBigInt=function(){var l=BigInt(this.low>>>0),w=BigInt(this.unsigned?this.high>>>0:this.high);return w<<BigInt(32)|l});var Oe=o.default=t})});var We=N(Oi=>{"use strict";var b=Oi;b.asPromise=ki();b.base64=Bo();b.EventEmitter=Yo();b.float=jo();b.utf8=zo();b.pool=en();b.LongBits=on();function rn(o){return o==="__proto__"||o==="prototype"||o==="constructor"}b.isUnsafeProperty=rn;b.isNode=!!(typeof global<"u"&&global&&global.process&&global.process.versions&&global.process.versions.node);b.global=b.isNode&&global||typeof window<"u"&&window||typeof self<"u"&&self||Oi;b.emptyArray=Object.freeze?Object.freeze([]):[];b.emptyObject=Object.freeze?Object.freeze({}):{};b.isInteger=Number.isInteger||function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e};b.isString=function(e){return typeof e=="string"||e instanceof String};b.isObject=function(e){return e&&typeof e=="object"};b.isset=b.isSet=function(e,t){var i=e[t];return i!=null&&Object.hasOwnProperty.call(e,t)?typeof i!="object"||(Array.isArray(i)?i.length:Object.keys(i).length)>0:!1};b.Buffer=(function(){try{var o=b.global.Buffer;return o.prototype.utf8Write?o:null}catch{return null}})();b._Buffer_from=null;b._Buffer_allocUnsafe=null;b.newBuffer=function(e){return typeof e=="number"?b.Buffer?b._Buffer_allocUnsafe(e):new b.Array(e):b.Buffer?b._Buffer_from(e):typeof Uint8Array>"u"?e:new Uint8Array(e)};b.Array=typeof Uint8Array<"u"?Uint8Array:Array;b.Long=b.global.dcodeIO&&b.global.dcodeIO.Long||b.global.Long||(function(){try{var o=nn();return o&&o.isLong?o:null}catch{return null}})();b.key2Re=/^true|false|0|1$/;b.key32Re=/^-?(?:0|[1-9][0-9]*)$/;b.key64Re=/^(?:[\\x00-\\xff]{8}|-?(?:0|[1-9][0-9]*))$/;b.longToHash=function(e){return e?b.LongBits.from(e).toHash():b.LongBits.zeroHash};b.longFromHash=function(e,t){var i=b.LongBits.fromHash(e);return b.Long?b.Long.fromBits(i.lo,i.hi,t):i.toNumber(!!t)};function sn(o){var e=typeof arguments[arguments.length-1]=="boolean",t=e?arguments.length-1:arguments.length;e=e&&arguments[arguments.length-1];for(var i=1;i<t;++i){var n=arguments[i];if(n)for(var r=Object.keys(n),s=0;s<r.length;++s)!rn(r[s])&&(o[r[s]]===void 0||!e)&&(o[r[s]]=n[r[s]])}return o}b.merge=sn;b.nestingLimit=32;b.recursionLimit=100;b.makeProp=function(e,t){Object.defineProperty(e,t,{enumerable:!0,configurable:!0,writable:!0})};b.lcFirst=function(e){return e.charAt(0).toLowerCase()+e.substring(1)};function an(o){function e(t,i){if(!(this instanceof e))return new e(t,i);Object.defineProperty(this,"message",{get:function(){return t}}),Error.captureStackTrace?Error.captureStackTrace(this,e):Object.defineProperty(this,"stack",{value:new Error().stack||""}),i&&sn(this,i)}return e.prototype=Object.create(Error.prototype,{constructor:{value:e,writable:!0,enumerable:!1,configurable:!0},name:{get:function(){return o},set:void 0,enumerable:!1,configurable:!0},toString:{value:function(){return this.name+": "+this.message},writable:!0,enumerable:!1,configurable:!0}}),e}b.newError=an;b.ProtocolError=an("ProtocolError");b.oneOfGetter=function(e){for(var t={},i=0;i<e.length;++i)t[e[i]]=1;return function(){for(var n=Object.keys(this),r=n.length-1;r>-1;--r)if(t[n[r]]===1&&this[n[r]]!==void 0&&this[n[r]]!==null)return n[r]}};b.oneOfSetter=function(e){return function(t){for(var i=0;i<e.length;++i)e[i]!==t&&delete this[e[i]]}};b.toJSONOptions={longs:String,enums:String,bytes:String,json:!0};b._configure=function(){var o=b.Buffer;if(!o){b._Buffer_from=b._Buffer_allocUnsafe=null;return}b._Buffer_from=o.from!==Uint8Array.from&&o.from||function(t,i){return new o(t,i)},b._Buffer_allocUnsafe=o.allocUnsafe||function(t){return new o(t)}}});var Gt=N((Xp,un)=>{"use strict";un.exports=q;var be=We(),bi,Ht=be.LongBits,pn=be.base64,dn=be.utf8;function It(o,e,t){this.fn=o,this.len=e,this.next=void 0,this.val=t}function Ci(){}function ks(o){this.head=o.head,this.tail=o.tail,this.len=o.len,this.next=o.states}function q(){this.len=0,this.head=new It(Ci,0,0),this.tail=this.head,this.states=null}var ln=function(){return be.Buffer?function(){return(q.create=function(){return new bi})()}:function(){return new q}};q.create=ln();q.alloc=function(e){return new be.Array(e)};be.Array!==Array&&(q.alloc=be.pool(q.alloc,be.Array.prototype.subarray));q.prototype._push=function(e,t,i){return this.tail=this.tail.next=new It(e,t,i),this.len+=t,this};function Ni(o,e,t){e[t]=o&255}function As(o,e,t){for(;o>127;)e[t++]=o&127|128,o>>>=7;e[t]=o}function Di(o,e){this.len=o,this.next=void 0,this.val=e}Di.prototype=Object.create(It.prototype);Di.prototype.fn=As;q.prototype.uint32=function(e){return this.len+=(this.tail=this.tail.next=new Di((e=e>>>0)<128?1:e<16384?2:e<2097152?3:e<268435456?4:5,e)).len,this};q.prototype.int32=function(e){return(e|=0)<0?this._push(Wi,10,Ht.fromNumber(e)):this.uint32(e)};q.prototype.sint32=function(e){return this.uint32((e<<1^e>>31)>>>0)};function Wi(o,e,t){for(var i=o.lo,n=o.hi;n;)e[t++]=i&127|128,i=(i>>>7|n<<25)>>>0,n>>>=7;for(;i>127;)e[t++]=i&127|128,i=i>>>7;e[t++]=i}q.prototype.uint64=function(e){var t=Ht.from(e);return this._push(Wi,t.length(),t)};q.prototype.int64=q.prototype.uint64;q.prototype.sint64=function(e){var t=Ht.from(e).zzEncode();return this._push(Wi,t.length(),t)};q.prototype.bool=function(e){return this._push(Ni,1,e?1:0)};function Si(o,e,t){e[t]=o&255,e[t+1]=o>>>8&255,e[t+2]=o>>>16&255,e[t+3]=o>>>24}q.prototype.fixed32=function(e){return this._push(Si,4,e>>>0)};q.prototype.sfixed32=q.prototype.fixed32;q.prototype.fixed64=function(e){var t=Ht.from(e);return this._push(Si,4,t.lo)._push(Si,4,t.hi)};q.prototype.sfixed64=q.prototype.fixed64;q.prototype.float=function(e){return this._push(be.float.writeFloatLE,4,e)};q.prototype.double=function(e){return this._push(be.float.writeDoubleLE,8,e)};var Is=be.Array.prototype.set?function(e,t,i){t.set(e,i)}:function(e,t,i){for(var n=0;n<e.length;++n)t[i+n]=e[n]};q.prototype.bytes=function(e){var t=e.length>>>0;if(!t)return this._push(Ni,1,0);if(be.isString(e)){var i=q.alloc(t=pn.length(e));pn.decode(e,i,0),e=i}return this.uint32(t)._push(Is,t,e)};q.prototype.string=function(e){var t=dn.length(e);return t?this.uint32(t)._push(dn.write,t,e):this._push(Ni,1,0)};q.prototype.fork=function(){return this.states=new ks(this),this.head=this.tail=new It(Ci,0,0),this.len=0,this};q.prototype.reset=function(){return this.states?(this.head=this.states.head,this.tail=this.states.tail,this.len=this.states.len,this.states=this.states.next):(this.head=this.tail=new It(Ci,0,0),this.len=0),this};q.prototype.ldelim=function(){var e=this.head,t=this.tail,i=this.len;return this.reset().uint32(i),i&&(this.tail.next=e.next,this.tail=t,this.len+=i),this};q.prototype.finish=function(){for(var e=this.head.next,t=this.constructor.alloc(this.len),i=0;e;)e.fn(e.val,t,i),i+=e.len,e=e.next;return t};q._configure=function(o){bi=o,q.create=ln(),bi._configure()}});var yn=N(($p,fn)=>{"use strict";fn.exports=Me;var cn=Gt();(Me.prototype=Object.create(cn.prototype)).constructor=Me;var ze=We();function Me(){cn.call(this)}Me._configure=function(){Me.alloc=ze._Buffer_allocUnsafe,Me.writeBytesBuffer=ze.Buffer&&ze.Buffer.prototype instanceof Uint8Array&&ze.Buffer.prototype.set.name==="set"?function(e,t,i){t.set(e,i)}:function(e,t,i){if(e.copy)e.copy(t,i,0,e.length);else for(var n=0;n<e.length;)t[i++]=e[n++]}};Me.prototype.bytes=function(e){ze.isString(e)&&(e=ze._Buffer_from(e,"base64"));var t=e.length>>>0;return this.uint32(t),t&&this._push(Me.writeBytesBuffer,t,e),this};function Rs(o,e,t){o.length<40?ze.utf8.write(o,e,t):e.utf8Write?e.utf8Write(o,t):e.write(o,t)}Me.prototype.string=function(e){var t=ze.Buffer.byteLength(e);return this.uint32(t),t&&this._push(Rs,t,e),this};Me._configure()});var Xt=N((jp,Tn)=>{"use strict";Tn.exports=z;var Se=We(),Li,hn=Se.LongBits,Os=Se.utf8;function we(o,e){return RangeError("index out of range: "+o.pos+" + "+(e||1)+" > "+o.len)}function z(o){this.buf=o,this.pos=0,this.len=o.length}var mn=typeof Uint8Array<"u"?function(e){if(e instanceof Uint8Array||Array.isArray(e))return new z(e);throw Error("illegal buffer")}:function(e){if(Array.isArray(e))return new z(e);throw Error("illegal buffer")},gn=function(){return Se.Buffer?function(t){return(z.create=function(n){return Se.Buffer.isBuffer(n)?new Li(n):mn(n)})(t)}:mn};z.create=gn();z.prototype._slice=Se.Array.prototype.subarray||Se.Array.prototype.slice;function bs(o){for(var e=0,t=0;t<4;++t){if(o.pos>=o.len)throw we(o);var i=o.buf[o.pos++];if(e=(e|(i&127)<<t*7)>>>0,i<128)return e}throw we(o)}z.prototype.uint32=(function(){var e=4294967295;return function(){if(this.len-this.pos<5){if(this.pos>=this.len)throw we(this);if(this.buf[this.pos]>=128)return bs(this)}if(e=(this.buf[this.pos]&127)>>>0,this.buf[this.pos++]<128||(e=(e|(this.buf[this.pos]&127)<<7)>>>0,this.buf[this.pos++]<128)||(e=(e|(this.buf[this.pos]&127)<<14)>>>0,this.buf[this.pos++]<128)||(e=(e|(this.buf[this.pos]&127)<<21)>>>0,this.buf[this.pos++]<128)||(e=(e|(this.buf[this.pos]&15)<<28)>>>0,this.buf[this.pos++]<128))return e;if((this.pos+=5)>this.len)throw this.pos=this.len,we(this,10);return e}})();z.prototype.int32=function(){return this.uint32()|0};z.prototype.sint32=function(){var e=this.uint32();return e>>>1^-(e&1)|0};function xi(){var o=new hn(0,0),e=0;if(this.len-this.pos>4){for(;e<4;++e)if(o.lo=(o.lo|(this.buf[this.pos]&127)<<e*7)>>>0,this.buf[this.pos++]<128)return o;if(o.lo=(o.lo|(this.buf[this.pos]&127)<<28)>>>0,o.hi=(o.hi|(this.buf[this.pos]&127)>>4)>>>0,this.buf[this.pos++]<128)return o;e=0}else{for(;e<3;++e){if(this.pos>=this.len)throw we(this);if(o.lo=(o.lo|(this.buf[this.pos]&127)<<e*7)>>>0,this.buf[this.pos++]<128)return o}return o.lo=(o.lo|(this.buf[this.pos++]&127)<<e*7)>>>0,o}if(this.len-this.pos>4){for(;e<5;++e)if(o.hi=(o.hi|(this.buf[this.pos]&127)<<e*7+3)>>>0,this.buf[this.pos++]<128)return o}else for(;e<5;++e){if(this.pos>=this.len)throw we(this);if(o.hi=(o.hi|(this.buf[this.pos]&127)<<e*7+3)>>>0,this.buf[this.pos++]<128)return o}throw Error("invalid varint encoding")}z.prototype.bool=function(){return this.uint32()!==0};function Qt(o,e){return(o[e-4]|o[e-3]<<8|o[e-2]<<16|o[e-1]<<24)>>>0}z.prototype.fixed32=function(){if(this.pos+4>this.len)throw we(this,4);return Qt(this.buf,this.pos+=4)};z.prototype.sfixed32=function(){if(this.pos+4>this.len)throw we(this,4);return Qt(this.buf,this.pos+=4)|0};function En(){if(this.pos+8>this.len)throw we(this,8);return new hn(Qt(this.buf,this.pos+=4),Qt(this.buf,this.pos+=4))}z.prototype.float=function(){if(this.pos+4>this.len)throw we(this,4);var e=Se.float.readFloatLE(this.buf,this.pos);return this.pos+=4,e};z.prototype.double=function(){if(this.pos+8>this.len)throw we(this,4);var e=Se.float.readDoubleLE(this.buf,this.pos);return this.pos+=8,e};z.prototype.bytes=function(){var e=this.uint32(),t=this.pos,i=this.pos+e;if(i>this.len)throw we(this,e);if(this.pos+=e,Array.isArray(this.buf))return this.buf.slice(t,i);if(t===i){var n=Se.Buffer;return n?n.alloc(0):new this.buf.constructor(0)}return this._slice.call(this.buf,t,i)};z.prototype.string=function(){var e=this.bytes();return Os.read(e,0,e.length)};z.prototype.skip=function(e){if(typeof e=="number"){if(this.pos+e>this.len)throw we(this,e);this.pos+=e}else do if(this.pos>=this.len)throw we(this);while(this.buf[this.pos++]&128);return this};z.recursionLimit=Se.recursionLimit;z.prototype.skipType=function(o,e){if(e===void 0&&(e=0),e>z.recursionLimit)throw Error("maximum nesting depth exceeded");switch(o){case 0:this.skip();break;case 1:this.skip(8);break;case 2:this.skip(this.uint32());break;case 3:for(;(o=this.uint32()&7)!==4;)this.skipType(o,e+1);break;case 5:this.skip(4);break;default:throw Error("invalid wire type "+o+" at offset "+this.pos)}return this};z._configure=function(o){Li=o,z.create=gn(),Li._configure();var e=Se.Long?"toLong":"toNumber";Se.merge(z.prototype,{int64:function(){return xi.call(this)[e](!1)},uint64:function(){return xi.call(this)[e](!0)},sint64:function(){return xi.call(this).zzDecode()[e](!1)},fixed64:function(){return En.call(this)[e](!0)},sfixed64:function(){return En.call(this)[e](!1)}})}});var kn=N((Jp,wn)=>{"use strict";wn.exports=rt;var vn=Xt();(rt.prototype=Object.create(vn.prototype)).constructor=rt;var _n=We();function rt(o){vn.call(this,o)}rt._configure=function(){_n.Buffer&&(rt.prototype._slice=_n.Buffer.prototype.slice)};rt.prototype.string=function(){var e=this.uint32();return this.buf.utf8Slice?this.buf.utf8Slice(this.pos,this.pos=Math.min(this.pos+e,this.len)):this.buf.toString("utf-8",this.pos,this.pos=Math.min(this.pos+e,this.len))};rt._configure()});var In=N((zp,An)=>{"use strict";An.exports=Rt;var Pi=We();(Rt.prototype=Object.create(Pi.EventEmitter.prototype)).constructor=Rt;function Rt(o,e,t){if(typeof o!="function")throw TypeError("rpcImpl must be a function");Pi.EventEmitter.call(this),this.rpcImpl=o,this.requestDelimited=!!e,this.responseDelimited=!!t}Rt.prototype.rpcCall=function o(e,t,i,n,r){if(!n)throw TypeError("request must be specified");var s=this;if(!r)return Pi.asPromise(o,s,e,t,i,n);if(!s.rpcImpl){setTimeout(function(){r(Error("already ended"))},0);return}try{return s.rpcImpl(e,t[s.requestDelimited?"encodeDelimited":"encode"](n).finish(),function(a,d){if(a)return s.emit("error",a,e),r(a);if(d===null){s.end(!0);return}if(!(d instanceof i))try{d=i[s.responseDelimited?"decodeDelimited":"decode"](d)}catch(u){return s.emit("error",u,e),r(u)}return s.emit("data",d,e),r(null,d)})}catch(p){s.emit("error",p,e),setTimeout(function(){r(p)},0);return}};Rt.prototype.end=function(e){return this.rpcImpl&&(e||this.rpcImpl(null,null,null),this.rpcImpl=null,this.emit("end").off()),this}});var Ui=N(Rn=>{"use strict";var Ss=Rn;Ss.Service=In()});var Fi=N((ed,On)=>{"use strict";On.exports=Object.create(null)});var Cn=N(Sn=>{"use strict";var ke=Sn;ke.build="minimal";ke.Writer=Gt();ke.BufferWriter=yn();ke.Reader=Xt();ke.BufferReader=kn();ke.util=We();ke.rpc=Ui();ke.roots=Fi();ke.configure=bn;function bn(){ke.util._configure(),ke.Writer._configure(ke.BufferWriter),ke.Reader._configure(ke.BufferReader)}bn()});var Dn=N((id,Nn)=>{"use strict";Nn.exports=Mi;var Cs=/^(?:do|if|in|for|let|new|try|var|case|else|enum|eval|false|null|this|true|void|with|break|catch|class|const|super|throw|while|yield|delete|export|import|public|return|static|switch|typeof|default|extends|finally|package|private|continue|debugger|function|arguments|interface|protected|implements|instanceof)$/;function Mi(o,e){typeof o=="string"&&(e=o,o=void 0);var t=[];function i(r){if(typeof r!="string"){var s=n();if(Mi.verbose&&console.log("codegen: "+s),s="return "+s,r){for(var p=Object.keys(r),a=new Array(p.length+1),d=new Array(p.length),u=0;u<p.length;)a[u]=p[u],d[u]=r[p[u++]];return a[u]=s,Function.apply(null,a).apply(null,d)}return Function(s)()}for(var f=new Array(arguments.length-1),c=0;c<f.length;)f[c]=arguments[++c];if(c=0,r=r.replace(/%([%dfijs])/g,function(h,A){var O=f[c++];switch(A){case"d":case"f":return String(Number(O));case"i":return String(Math.floor(O));case"j":return JSON.stringify(O);case"s":return String(O)}return"%"}),c!==f.length)throw Error("parameter count mismatch");return t.push(r),i}function n(r){return"function "+Ns(r||e)+"("+(o&&o.join(",")||"")+`){
|
|
2
|
+
var cs=Object.create;var Lo=Object.defineProperty;var fs=Object.getOwnPropertyDescriptor;var ys=Object.getOwnPropertyNames;var ms=Object.getPrototypeOf,Es=Object.prototype.hasOwnProperty;var Po=(o=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(o,{get:(e,t)=>(typeof require<"u"?require:e)[t]}):o)(function(o){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+o+'" is not supported')});var N=(o,e)=>()=>{try{return e||o((e={exports:{}}).exports,e),e.exports}catch(t){throw e=0,t}};var hs=(o,e,t,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of ys(e))!Es.call(o,n)&&n!==t&&Lo(o,n,{get:()=>e[n],enumerable:!(i=fs(e,n))||i.enumerable});return o};var gs=(o,e,t)=>(t=o!=null?cs(ms(o)):{},hs(e||!o||!o.__esModule?Lo(t,"default",{value:o,enumerable:!0}):t,o));var ki=N((qp,Uo)=>{"use strict";Uo.exports=_s;function _s(o,e){for(var t=new Array(arguments.length-1),i=0,n=2,r=!0;n<arguments.length;)t[i++]=arguments[n++];return new Promise(function(p,a){t[i]=function(u){if(r)if(r=!1,u)a(u);else{for(var f=new Array(arguments.length-1),c=0;c<f.length;)f[c++]=arguments[c];p.apply(null,f)}};try{o.apply(e||null,t)}catch(d){r&&(r=!1,a(d))}})}});var Bo=N(qo=>{"use strict";var Yt=qo;Yt.length=function(e){var t=e.length;if(!t)return 0;for(var i=0;--t%4>1&&e.charAt(t)==="=";)++i;return Math.ceil(e.length*3)/4-i};var ct=new Array(64),Mo=new Array(123);for(De=0;De<64;)Mo[ct[De]=De<26?De+65:De<52?De+71:De<62?De-4:De-59|43]=De++;var De;Yt.encode=function(e,t,i){for(var n=null,r=[],s=0,p=0,a;t<i;){var d=e[t++];switch(p){case 0:r[s++]=ct[d>>2],a=(d&3)<<4,p=1;break;case 1:r[s++]=ct[a|d>>4],a=(d&15)<<2,p=2;break;case 2:r[s++]=ct[a|d>>6],r[s++]=ct[d&63],p=0;break}s>8191&&((n||(n=[])).push(String.fromCharCode.apply(String,r)),s=0)}return p&&(r[s++]=ct[a],r[s++]=61,p===1&&(r[s++]=61)),n?(s&&n.push(String.fromCharCode.apply(String,r.slice(0,s))),n.join("")):String.fromCharCode.apply(String,r.slice(0,s))};var Fo="invalid encoding";Yt.decode=function(e,t,i){for(var n=i,r=0,s,p=0;p<e.length;){var a=e.charCodeAt(p++);if(a===61&&r>1)break;if((a=Mo[a])===void 0)throw Error(Fo);switch(r){case 0:s=a,r=1;break;case 1:t[i++]=s<<2|(a&48)>>4,s=a,r=2;break;case 2:t[i++]=(s&15)<<4|(a&60)>>2,s=a,r=3;break;case 3:t[i++]=(s&3)<<6|a,r=0;break}}if(r===1)throw Error(Fo);return i-n};Yt.test=function(e){return/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/.test(e)}});var Yo=N((Vp,Vo)=>{"use strict";Vo.exports=Kt;function Kt(){this._listeners=Object.create(null)}Kt.prototype.on=function(e,t,i){return(this._listeners[e]||(this._listeners[e]=[])).push({fn:t,ctx:i||this}),this};Kt.prototype.off=function(e,t){if(e===void 0)this._listeners=Object.create(null);else if(t===void 0)this._listeners[e]=[];else{var i=this._listeners[e];if(!i)return this;for(var n=0;n<i.length;)i[n].fn===t?i.splice(n,1):++n}return this};Kt.prototype.emit=function(e){var t=this._listeners[e];if(t){for(var i=[],n=1;n<arguments.length;)i.push(arguments[n++]);for(n=0;n<t.length;)t[n].fn.apply(t[n++].ctx,i)}return this}});var jo=N((Yp,$o)=>{"use strict";$o.exports=Ko(Ko);function Ko(o){return typeof Float32Array<"u"?(function(){var e=new Float32Array([-0]),t=new Uint8Array(e.buffer),i=t[3]===128;function n(a,d,u){e[0]=a,d[u]=t[0],d[u+1]=t[1],d[u+2]=t[2],d[u+3]=t[3]}function r(a,d,u){e[0]=a,d[u]=t[3],d[u+1]=t[2],d[u+2]=t[1],d[u+3]=t[0]}o.writeFloatLE=i?n:r,o.writeFloatBE=i?r:n;function s(a,d){return t[0]=a[d],t[1]=a[d+1],t[2]=a[d+2],t[3]=a[d+3],e[0]}function p(a,d){return t[3]=a[d],t[2]=a[d+1],t[1]=a[d+2],t[0]=a[d+3],e[0]}o.readFloatLE=i?s:p,o.readFloatBE=i?p:s})():(function(){function e(i,n,r,s){var p=n<0?1:0;if(p&&(n=-n),n===0)i(1/n>0?0:2147483648,r,s);else if(isNaN(n))i(2143289344,r,s);else if(n>34028234663852886e22)i((p<<31|2139095040)>>>0,r,s);else if(n<11754943508222875e-54)i((p<<31|Math.round(n/1401298464324817e-60))>>>0,r,s);else{var a=Math.floor(Math.log(n)/Math.LN2),d=Math.round(n*Math.pow(2,-a)*8388608)&8388607;i((p<<31|a+127<<23|d)>>>0,r,s)}}o.writeFloatLE=e.bind(null,Ho),o.writeFloatBE=e.bind(null,Go);function t(i,n,r){var s=i(n,r),p=(s>>31)*2+1,a=s>>>23&255,d=s&8388607;return a===255?d?NaN:p*(1/0):a===0?p*1401298464324817e-60*d:p*Math.pow(2,a-150)*(d+8388608)}o.readFloatLE=t.bind(null,Qo),o.readFloatBE=t.bind(null,Xo)})(),typeof Float64Array<"u"?(function(){var e=new Float64Array([-0]),t=new Uint8Array(e.buffer),i=t[7]===128;function n(a,d,u){e[0]=a,d[u]=t[0],d[u+1]=t[1],d[u+2]=t[2],d[u+3]=t[3],d[u+4]=t[4],d[u+5]=t[5],d[u+6]=t[6],d[u+7]=t[7]}function r(a,d,u){e[0]=a,d[u]=t[7],d[u+1]=t[6],d[u+2]=t[5],d[u+3]=t[4],d[u+4]=t[3],d[u+5]=t[2],d[u+6]=t[1],d[u+7]=t[0]}o.writeDoubleLE=i?n:r,o.writeDoubleBE=i?r:n;function s(a,d){return t[0]=a[d],t[1]=a[d+1],t[2]=a[d+2],t[3]=a[d+3],t[4]=a[d+4],t[5]=a[d+5],t[6]=a[d+6],t[7]=a[d+7],e[0]}function p(a,d){return t[7]=a[d],t[6]=a[d+1],t[5]=a[d+2],t[4]=a[d+3],t[3]=a[d+4],t[2]=a[d+5],t[1]=a[d+6],t[0]=a[d+7],e[0]}o.readDoubleLE=i?s:p,o.readDoubleBE=i?p:s})():(function(){function e(i,n,r,s,p,a){var d=s<0?1:0;if(d&&(s=-s),s===0)i(0,p,a+n),i(1/s>0?0:2147483648,p,a+r);else if(isNaN(s))i(0,p,a+n),i(2146959360,p,a+r);else if(s>17976931348623157e292)i(0,p,a+n),i((d<<31|2146435072)>>>0,p,a+r);else{var u;if(s<22250738585072014e-324)u=s/5e-324,i(u>>>0,p,a+n),i((d<<31|u/4294967296)>>>0,p,a+r);else{var f=Math.floor(Math.log(s)/Math.LN2);f===1024&&(f=1023),u=s*Math.pow(2,-f),i(u*4503599627370496>>>0,p,a+n),i((d<<31|f+1023<<20|u*1048576&1048575)>>>0,p,a+r)}}}o.writeDoubleLE=e.bind(null,Ho,0,4),o.writeDoubleBE=e.bind(null,Go,4,0);function t(i,n,r,s,p){var a=i(s,p+n),d=i(s,p+r),u=(d>>31)*2+1,f=d>>>20&2047,c=4294967296*(d&1048575)+a;return f===2047?c?NaN:u*(1/0):f===0?u*5e-324*c:u*Math.pow(2,f-1075)*(c+4503599627370496)}o.readDoubleLE=t.bind(null,Qo,0,4),o.readDoubleBE=t.bind(null,Xo,4,0)})(),o}function Ho(o,e,t){e[t]=o&255,e[t+1]=o>>>8&255,e[t+2]=o>>>16&255,e[t+3]=o>>>24}function Go(o,e,t){e[t]=o>>>24,e[t+1]=o>>>16&255,e[t+2]=o>>>8&255,e[t+3]=o&255}function Qo(o,e){return(o[e]|o[e+1]<<8|o[e+2]<<16|o[e+3]<<24)>>>0}function Xo(o,e){return(o[e]<<24|o[e+1]<<16|o[e+2]<<8|o[e+3])>>>0}});var zo=N(Jo=>{"use strict";var Ii=Jo,Ai=65533;Ii.length=function(e){for(var t=0,i=0,n=0;n<e.length;++n)i=e.charCodeAt(n),i<128?t+=1:i<2048?t+=2:(i&64512)===55296&&(e.charCodeAt(n+1)&64512)===56320?(++n,t+=4):t+=3;return t};Ii.read=function(e,t,i){if(i-t<1)return"";for(var n=null,r=[],s=0,p,a,d,u;t<i;)p=e[t++],p<=127?r[s++]=p:p>=192&&p<224?(d=(p&31)<<6|e[t++]&63,r[s++]=d>=128?d:Ai):p>=224&&p<240?(u=(p&15)<<12|(e[t++]&63)<<6|e[t++]&63,r[s++]=u>=2048?u:Ai):p>=240&&(a=(p&7)<<18|(e[t++]&63)<<12|(e[t++]&63)<<6|e[t++]&63,a<65536||a>1114111?r[s++]=Ai:(a-=65536,r[s++]=55296+(a>>10),r[s++]=56320+(a&1023))),s>8191&&((n||(n=[])).push(String.fromCharCode.apply(String,r.slice(0,s))),s=0);return n?(s&&n.push(String.fromCharCode.apply(String,r.slice(0,s))),n.join("")):String.fromCharCode.apply(String,r.slice(0,s))};Ii.write=function(e,t,i){for(var n=i,r,s,p=0;p<e.length;++p)r=e.charCodeAt(p),r<128?t[i++]=r:r<2048?(t[i++]=r>>6|192,t[i++]=r&63|128):(r&64512)===55296&&((s=e.charCodeAt(p+1))&64512)===56320?(r=65536+((r&1023)<<10)+(s&1023),++p,t[i++]=r>>18|240,t[i++]=r>>12&63|128,t[i++]=r>>6&63|128,t[i++]=r&63|128):(t[i++]=r>>12|224,t[i++]=r>>6&63|128,t[i++]=r&63|128);return i-n}});var en=N((Hp,Zo)=>{"use strict";Zo.exports=vs;function vs(o,e,t){var i=t||8192,n=i>>>1,r=null,s=i;return function(a){if(a<1||a>n)return o(a);s+a>i&&(r=o(i),s=0);var d=e.call(r,s,s+=a);return s&7&&(s=(s|7)+1),d}}});var on=N((Gp,tn)=>{"use strict";tn.exports=de;var kt=We();function de(o,e){this.lo=o>>>0,this.hi=e>>>0}var nt=de.zero=new de(0,0);nt.toNumber=function(){return 0};nt.zzEncode=nt.zzDecode=function(){return this};nt.length=function(){return 1};var ws=de.zeroHash="\0\0\0\0\0\0\0\0";de.fromNumber=function(e){if(e===0)return nt;var t=e<0;t&&(e=-e);var i=e>>>0,n=(e-i)/4294967296>>>0;return t&&(n=~n>>>0,i=~i>>>0,++i>4294967295&&(i=0,++n>4294967295&&(n=0))),new de(i,n)};de.from=function(e){if(typeof e=="number")return de.fromNumber(e);if(kt.isString(e))if(kt.Long)e=kt.Long.fromString(e);else return de.fromNumber(parseInt(e,10));return e.low||e.high?new de(e.low>>>0,e.high>>>0):nt};de.prototype.toNumber=function(e){if(!e&&this.hi>>>31){var t=~this.lo+1>>>0,i=~this.hi>>>0;return t||(i=i+1>>>0),-(t+i*4294967296)}return this.lo+this.hi*4294967296};de.prototype.toLong=function(e){return kt.Long?new kt.Long(this.lo|0,this.hi|0,!!e):{low:this.lo|0,high:this.hi|0,unsigned:!!e}};var Je=String.prototype.charCodeAt;de.fromHash=function(e){return e===ws?nt:new de((Je.call(e,0)|Je.call(e,1)<<8|Je.call(e,2)<<16|Je.call(e,3)<<24)>>>0,(Je.call(e,4)|Je.call(e,5)<<8|Je.call(e,6)<<16|Je.call(e,7)<<24)>>>0)};de.prototype.toHash=function(){return String.fromCharCode(this.lo&255,this.lo>>>8&255,this.lo>>>16&255,this.lo>>>24,this.hi&255,this.hi>>>8&255,this.hi>>>16&255,this.hi>>>24)};de.prototype.zzEncode=function(){var e=this.hi>>31;return this.hi=((this.hi<<1|this.lo>>>31)^e)>>>0,this.lo=(this.lo<<1^e)>>>0,this};de.prototype.zzDecode=function(){var e=-(this.lo&1);return this.lo=((this.lo>>>1|this.hi<<31)^e)>>>0,this.hi=(this.hi>>>1^e)>>>0,this};de.prototype.length=function(){var e=this.lo,t=(this.lo>>>28|this.hi<<4)>>>0,i=this.hi>>>24;return i===0?t===0?e<16384?e<128?1:2:e<2097152?3:4:t<16384?t<128?5:6:t<2097152?7:8:i<128?9:10}});var nn=N((At,Ri)=>{(function(o,e){function t(i){return i.default||i}typeof define=="function"&&define.amd?define([],function(){var i={};return e(i),t(i)}):typeof At=="object"?(e(At),typeof Ri=="object"&&(Ri.exports=t(At))):(function(){var i={};e(i),o.Long=t(i)})()})(typeof globalThis<"u"?globalThis:typeof self<"u"?self:At,function(o){"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.default=void 0;var e=null;try{e=new WebAssembly.Instance(new WebAssembly.Module(new Uint8Array([0,97,115,109,1,0,0,0,1,13,2,96,0,1,127,96,4,127,127,127,127,1,127,3,7,6,0,1,1,1,1,1,6,6,1,127,1,65,0,11,7,50,6,3,109,117,108,0,1,5,100,105,118,95,115,0,2,5,100,105,118,95,117,0,3,5,114,101,109,95,115,0,4,5,114,101,109,95,117,0,5,8,103,101,116,95,104,105,103,104,0,0,10,191,1,6,4,0,35,0,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,126,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,127,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,128,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,129,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,130,34,4,66,32,135,167,36,0,32,4,167,11])),{}).exports}catch{}function t(E,l,w){this.low=E|0,this.high=l|0,this.unsigned=!!w}t.prototype.__isLong__,Object.defineProperty(t.prototype,"__isLong__",{value:!0});function i(E){return(E&&E.__isLong__)===!0}function n(E){var l=Math.clz32(E&-E);return E?31-l:l}t.isLong=i;var r={},s={};function p(E,l){var w,P,W;return l?(E>>>=0,(W=0<=E&&E<256)&&(P=s[E],P)?P:(w=d(E,0,!0),W&&(s[E]=w),w)):(E|=0,(W=-128<=E&&E<128)&&(P=r[E],P)?P:(w=d(E,E<0?-1:0,!1),W&&(r[E]=w),w))}t.fromInt=p;function a(E,l){if(isNaN(E))return l?v:j;if(l){if(E<0)return v;if(E>=O)return ie}else{if(E<=-M)return G;if(E+1>=M)return me}return E<0?a(-E,l).neg():d(E%A|0,E/A|0,l)}t.fromNumber=a;function d(E,l,w){return new t(E,l,w)}t.fromBits=d;var u=Math.pow;function f(E,l,w){if(E.length===0)throw Error("empty string");if(typeof l=="number"?(w=l,l=!1):l=!!l,E==="NaN"||E==="Infinity"||E==="+Infinity"||E==="-Infinity")return l?v:j;if(w=w||10,w<2||36<w)throw RangeError("radix");var P;if((P=E.indexOf("-"))>0)throw Error("interior hyphen");if(P===0)return f(E.substring(1),l,w).neg();for(var W=a(u(w,8)),K=j,oe=0;oe<E.length;oe+=8){var Ee=Math.min(8,E.length-oe),ge=parseInt(E.substring(oe,oe+Ee),w);if(Ee<8){var pe=a(u(w,Ee));K=K.mul(pe).add(a(ge))}else K=K.mul(W),K=K.add(a(ge))}return K.unsigned=l,K}t.fromString=f;function c(E,l){return typeof E=="number"?a(E,l):typeof E=="string"?f(E,l):d(E.low,E.high,typeof l=="boolean"?l:E.unsigned)}t.fromValue=c;var T=65536,h=1<<24,A=T*T,O=A*A,M=O/2,V=p(h),j=p(0);t.ZERO=j;var v=p(0,!0);t.UZERO=v;var x=p(1);t.ONE=x;var L=p(1,!0);t.UONE=L;var J=p(-1);t.NEG_ONE=J;var me=d(-1,2147483647,!1);t.MAX_VALUE=me;var ie=d(-1,-1,!0);t.MAX_UNSIGNED_VALUE=ie;var G=d(0,-2147483648,!1);t.MIN_VALUE=G;var g=t.prototype;g.toInt=function(){return this.unsigned?this.low>>>0:this.low},g.toNumber=function(){return this.unsigned?(this.high>>>0)*A+(this.low>>>0):this.high*A+(this.low>>>0)},g.toString=function(l){if(l=l||10,l<2||36<l)throw RangeError("radix");if(this.isZero())return"0";if(this.isNegative())if(this.eq(G)){var w=a(l),P=this.div(w),W=P.mul(w).sub(this);return P.toString(l)+W.toInt().toString(l)}else return"-"+this.neg().toString(l);for(var K=a(u(l,6),this.unsigned),oe=this,Ee="";;){var ge=oe.div(K),pe=oe.sub(ge.mul(K)).toInt()>>>0,B=pe.toString(l);if(oe=ge,oe.isZero())return B+Ee;for(;B.length<6;)B="0"+B;Ee=""+B+Ee}},g.getHighBits=function(){return this.high},g.getHighBitsUnsigned=function(){return this.high>>>0},g.getLowBits=function(){return this.low},g.getLowBitsUnsigned=function(){return this.low>>>0},g.getNumBitsAbs=function(){if(this.isNegative())return this.eq(G)?64:this.neg().getNumBitsAbs();for(var l=this.high!=0?this.high:this.low,w=31;w>0&&(l&1<<w)==0;w--);return this.high!=0?w+33:w+1},g.isSafeInteger=function(){var l=this.high>>21;return l?this.unsigned?!1:l===-1&&!(this.low===0&&this.high===-2097152):!0},g.isZero=function(){return this.high===0&&this.low===0},g.eqz=g.isZero,g.isNegative=function(){return!this.unsigned&&this.high<0},g.isPositive=function(){return this.unsigned||this.high>=0},g.isOdd=function(){return(this.low&1)===1},g.isEven=function(){return(this.low&1)===0},g.equals=function(l){return i(l)||(l=c(l)),this.unsigned!==l.unsigned&&this.high>>>31===1&&l.high>>>31===1?!1:this.high===l.high&&this.low===l.low},g.eq=g.equals,g.notEquals=function(l){return!this.eq(l)},g.neq=g.notEquals,g.ne=g.notEquals,g.lessThan=function(l){return this.comp(l)<0},g.lt=g.lessThan,g.lessThanOrEqual=function(l){return this.comp(l)<=0},g.lte=g.lessThanOrEqual,g.le=g.lessThanOrEqual,g.greaterThan=function(l){return this.comp(l)>0},g.gt=g.greaterThan,g.greaterThanOrEqual=function(l){return this.comp(l)>=0},g.gte=g.greaterThanOrEqual,g.ge=g.greaterThanOrEqual,g.compare=function(l){if(i(l)||(l=c(l)),this.eq(l))return 0;var w=this.isNegative(),P=l.isNegative();return w&&!P?-1:!w&&P?1:this.unsigned?l.high>>>0>this.high>>>0||l.high===this.high&&l.low>>>0>this.low>>>0?-1:1:this.sub(l).isNegative()?-1:1},g.comp=g.compare,g.negate=function(){return!this.unsigned&&this.eq(G)?G:this.not().add(x)},g.neg=g.negate,g.add=function(l){i(l)||(l=c(l));var w=this.high>>>16,P=this.high&65535,W=this.low>>>16,K=this.low&65535,oe=l.high>>>16,Ee=l.high&65535,ge=l.low>>>16,pe=l.low&65535,B=0,Te=0,te=0,_e=0;return _e+=K+pe,te+=_e>>>16,_e&=65535,te+=W+ge,Te+=te>>>16,te&=65535,Te+=P+Ee,B+=Te>>>16,Te&=65535,B+=w+oe,B&=65535,d(te<<16|_e,B<<16|Te,this.unsigned)},g.subtract=function(l){return i(l)||(l=c(l)),this.add(l.neg())},g.sub=g.subtract,g.multiply=function(l){if(this.isZero())return this;if(i(l)||(l=c(l)),e){var w=e.mul(this.low,this.high,l.low,l.high);return d(w,e.get_high(),this.unsigned)}if(l.isZero())return this.unsigned?v:j;if(this.eq(G))return l.isOdd()?G:j;if(l.eq(G))return this.isOdd()?G:j;if(this.isNegative())return l.isNegative()?this.neg().mul(l.neg()):this.neg().mul(l).neg();if(l.isNegative())return this.mul(l.neg()).neg();if(this.lt(V)&&l.lt(V))return a(this.toNumber()*l.toNumber(),this.unsigned);var P=this.high>>>16,W=this.high&65535,K=this.low>>>16,oe=this.low&65535,Ee=l.high>>>16,ge=l.high&65535,pe=l.low>>>16,B=l.low&65535,Te=0,te=0,_e=0,He=0;return He+=oe*B,_e+=He>>>16,He&=65535,_e+=K*B,te+=_e>>>16,_e&=65535,_e+=oe*pe,te+=_e>>>16,_e&=65535,te+=W*B,Te+=te>>>16,te&=65535,te+=K*pe,Te+=te>>>16,te&=65535,te+=oe*ge,Te+=te>>>16,te&=65535,Te+=P*B+W*pe+K*ge+oe*Ee,Te&=65535,d(_e<<16|He,Te<<16|te,this.unsigned)},g.mul=g.multiply,g.divide=function(l){if(i(l)||(l=c(l)),l.isZero())throw Error("division by zero");if(e){if(!this.unsigned&&this.high===-2147483648&&l.low===-1&&l.high===-1)return this;var w=(this.unsigned?e.div_u:e.div_s)(this.low,this.high,l.low,l.high);return d(w,e.get_high(),this.unsigned)}if(this.isZero())return this.unsigned?v:j;var P,W,K;if(this.unsigned){if(l.unsigned||(l=l.toUnsigned()),l.gt(this))return v;if(l.gt(this.shru(1)))return L;K=v}else{if(this.eq(G)){if(l.eq(x)||l.eq(J))return G;if(l.eq(G))return x;var oe=this.shr(1);return P=oe.div(l).shl(1),P.eq(j)?l.isNegative()?x:J:(W=this.sub(l.mul(P)),K=P.add(W.div(l)),K)}else if(l.eq(G))return this.unsigned?v:j;if(this.isNegative())return l.isNegative()?this.neg().div(l.neg()):this.neg().div(l).neg();if(l.isNegative())return this.div(l.neg()).neg();K=j}for(W=this;W.gte(l);){P=Math.max(1,Math.floor(W.toNumber()/l.toNumber()));for(var Ee=Math.ceil(Math.log(P)/Math.LN2),ge=Ee<=48?1:u(2,Ee-48),pe=a(P),B=pe.mul(l);B.isNegative()||B.gt(W);)P-=ge,pe=a(P,this.unsigned),B=pe.mul(l);pe.isZero()&&(pe=x),K=K.add(pe),W=W.sub(B)}return K},g.div=g.divide,g.modulo=function(l){if(i(l)||(l=c(l)),e){var w=(this.unsigned?e.rem_u:e.rem_s)(this.low,this.high,l.low,l.high);return d(w,e.get_high(),this.unsigned)}return this.sub(this.div(l).mul(l))},g.mod=g.modulo,g.rem=g.modulo,g.not=function(){return d(~this.low,~this.high,this.unsigned)},g.countLeadingZeros=function(){return this.high?Math.clz32(this.high):Math.clz32(this.low)+32},g.clz=g.countLeadingZeros,g.countTrailingZeros=function(){return this.low?n(this.low):n(this.high)+32},g.ctz=g.countTrailingZeros,g.and=function(l){return i(l)||(l=c(l)),d(this.low&l.low,this.high&l.high,this.unsigned)},g.or=function(l){return i(l)||(l=c(l)),d(this.low|l.low,this.high|l.high,this.unsigned)},g.xor=function(l){return i(l)||(l=c(l)),d(this.low^l.low,this.high^l.high,this.unsigned)},g.shiftLeft=function(l){return i(l)&&(l=l.toInt()),(l&=63)===0?this:l<32?d(this.low<<l,this.high<<l|this.low>>>32-l,this.unsigned):d(0,this.low<<l-32,this.unsigned)},g.shl=g.shiftLeft,g.shiftRight=function(l){return i(l)&&(l=l.toInt()),(l&=63)===0?this:l<32?d(this.low>>>l|this.high<<32-l,this.high>>l,this.unsigned):d(this.high>>l-32,this.high>=0?0:-1,this.unsigned)},g.shr=g.shiftRight,g.shiftRightUnsigned=function(l){return i(l)&&(l=l.toInt()),(l&=63)===0?this:l<32?d(this.low>>>l|this.high<<32-l,this.high>>>l,this.unsigned):l===32?d(this.high,0,this.unsigned):d(this.high>>>l-32,0,this.unsigned)},g.shru=g.shiftRightUnsigned,g.shr_u=g.shiftRightUnsigned,g.rotateLeft=function(l){var w;return i(l)&&(l=l.toInt()),(l&=63)===0?this:l===32?d(this.high,this.low,this.unsigned):l<32?(w=32-l,d(this.low<<l|this.high>>>w,this.high<<l|this.low>>>w,this.unsigned)):(l-=32,w=32-l,d(this.high<<l|this.low>>>w,this.low<<l|this.high>>>w,this.unsigned))},g.rotl=g.rotateLeft,g.rotateRight=function(l){var w;return i(l)&&(l=l.toInt()),(l&=63)===0?this:l===32?d(this.high,this.low,this.unsigned):l<32?(w=32-l,d(this.high<<w|this.low>>>l,this.low<<w|this.high>>>l,this.unsigned)):(l-=32,w=32-l,d(this.low<<w|this.high>>>l,this.high<<w|this.low>>>l,this.unsigned))},g.rotr=g.rotateRight,g.toSigned=function(){return this.unsigned?d(this.low,this.high,!1):this},g.toUnsigned=function(){return this.unsigned?this:d(this.low,this.high,!0)},g.toBytes=function(l){return l?this.toBytesLE():this.toBytesBE()},g.toBytesLE=function(){var l=this.high,w=this.low;return[w&255,w>>>8&255,w>>>16&255,w>>>24,l&255,l>>>8&255,l>>>16&255,l>>>24]},g.toBytesBE=function(){var l=this.high,w=this.low;return[l>>>24,l>>>16&255,l>>>8&255,l&255,w>>>24,w>>>16&255,w>>>8&255,w&255]},t.fromBytes=function(l,w,P){return P?t.fromBytesLE(l,w):t.fromBytesBE(l,w)},t.fromBytesLE=function(l,w){return new t(l[0]|l[1]<<8|l[2]<<16|l[3]<<24,l[4]|l[5]<<8|l[6]<<16|l[7]<<24,w)},t.fromBytesBE=function(l,w){return new t(l[4]<<24|l[5]<<16|l[6]<<8|l[7],l[0]<<24|l[1]<<16|l[2]<<8|l[3],w)},typeof BigInt=="function"&&(t.fromBigInt=function(l,w){var P=Number(BigInt.asIntN(32,l)),W=Number(BigInt.asIntN(32,l>>BigInt(32)));return d(P,W,w)},t.fromValue=function(l,w){return typeof l=="bigint"?t.fromBigInt(l,w):c(l,w)},g.toBigInt=function(){var l=BigInt(this.low>>>0),w=BigInt(this.unsigned?this.high>>>0:this.high);return w<<BigInt(32)|l});var Oe=o.default=t})});var We=N(Oi=>{"use strict";var b=Oi;b.asPromise=ki();b.base64=Bo();b.EventEmitter=Yo();b.float=jo();b.utf8=zo();b.pool=en();b.LongBits=on();function rn(o){return o==="__proto__"||o==="prototype"||o==="constructor"}b.isUnsafeProperty=rn;b.isNode=!!(typeof global<"u"&&global&&global.process&&global.process.versions&&global.process.versions.node);b.global=b.isNode&&global||typeof window<"u"&&window||typeof self<"u"&&self||Oi;b.emptyArray=Object.freeze?Object.freeze([]):[];b.emptyObject=Object.freeze?Object.freeze({}):{};b.isInteger=Number.isInteger||function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e};b.isString=function(e){return typeof e=="string"||e instanceof String};b.isObject=function(e){return e&&typeof e=="object"};b.isset=b.isSet=function(e,t){var i=e[t];return i!=null&&Object.hasOwnProperty.call(e,t)?typeof i!="object"||(Array.isArray(i)?i.length:Object.keys(i).length)>0:!1};b.Buffer=(function(){try{var o=b.global.Buffer;return o.prototype.utf8Write?o:null}catch{return null}})();b._Buffer_from=null;b._Buffer_allocUnsafe=null;b.newBuffer=function(e){return typeof e=="number"?b.Buffer?b._Buffer_allocUnsafe(e):new b.Array(e):b.Buffer?b._Buffer_from(e):typeof Uint8Array>"u"?e:new Uint8Array(e)};b.Array=typeof Uint8Array<"u"?Uint8Array:Array;b.Long=b.global.dcodeIO&&b.global.dcodeIO.Long||b.global.Long||(function(){try{var o=nn();return o&&o.isLong?o:null}catch{return null}})();b.key2Re=/^true|false|0|1$/;b.key32Re=/^-?(?:0|[1-9][0-9]*)$/;b.key64Re=/^(?:[\\x00-\\xff]{8}|-?(?:0|[1-9][0-9]*))$/;b.longToHash=function(e){return e?b.LongBits.from(e).toHash():b.LongBits.zeroHash};b.longFromHash=function(e,t){var i=b.LongBits.fromHash(e);return b.Long?b.Long.fromBits(i.lo,i.hi,t):i.toNumber(!!t)};function sn(o){var e=typeof arguments[arguments.length-1]=="boolean",t=e?arguments.length-1:arguments.length;e=e&&arguments[arguments.length-1];for(var i=1;i<t;++i){var n=arguments[i];if(n)for(var r=Object.keys(n),s=0;s<r.length;++s)!rn(r[s])&&(o[r[s]]===void 0||!e)&&(o[r[s]]=n[r[s]])}return o}b.merge=sn;b.nestingLimit=32;b.recursionLimit=100;b.makeProp=function(e,t){Object.defineProperty(e,t,{enumerable:!0,configurable:!0,writable:!0})};b.lcFirst=function(e){return e.charAt(0).toLowerCase()+e.substring(1)};function an(o){function e(t,i){if(!(this instanceof e))return new e(t,i);Object.defineProperty(this,"message",{get:function(){return t}}),Error.captureStackTrace?Error.captureStackTrace(this,e):Object.defineProperty(this,"stack",{value:new Error().stack||""}),i&&sn(this,i)}return e.prototype=Object.create(Error.prototype,{constructor:{value:e,writable:!0,enumerable:!1,configurable:!0},name:{get:function(){return o},set:void 0,enumerable:!1,configurable:!0},toString:{value:function(){return this.name+": "+this.message},writable:!0,enumerable:!1,configurable:!0}}),e}b.newError=an;b.ProtocolError=an("ProtocolError");b.oneOfGetter=function(e){for(var t={},i=0;i<e.length;++i)t[e[i]]=1;return function(){for(var n=Object.keys(this),r=n.length-1;r>-1;--r)if(t[n[r]]===1&&this[n[r]]!==void 0&&this[n[r]]!==null)return n[r]}};b.oneOfSetter=function(e){return function(t){for(var i=0;i<e.length;++i)e[i]!==t&&delete this[e[i]]}};b.toJSONOptions={longs:String,enums:String,bytes:String,json:!0};b._configure=function(){var o=b.Buffer;if(!o){b._Buffer_from=b._Buffer_allocUnsafe=null;return}b._Buffer_from=o.from!==Uint8Array.from&&o.from||function(t,i){return new o(t,i)},b._Buffer_allocUnsafe=o.allocUnsafe||function(t){return new o(t)}}});var Gt=N((Xp,un)=>{"use strict";un.exports=q;var be=We(),bi,Ht=be.LongBits,pn=be.base64,dn=be.utf8;function It(o,e,t){this.fn=o,this.len=e,this.next=void 0,this.val=t}function Ci(){}function ks(o){this.head=o.head,this.tail=o.tail,this.len=o.len,this.next=o.states}function q(){this.len=0,this.head=new It(Ci,0,0),this.tail=this.head,this.states=null}var ln=function(){return be.Buffer?function(){return(q.create=function(){return new bi})()}:function(){return new q}};q.create=ln();q.alloc=function(e){return new be.Array(e)};be.Array!==Array&&(q.alloc=be.pool(q.alloc,be.Array.prototype.subarray));q.prototype._push=function(e,t,i){return this.tail=this.tail.next=new It(e,t,i),this.len+=t,this};function Ni(o,e,t){e[t]=o&255}function As(o,e,t){for(;o>127;)e[t++]=o&127|128,o>>>=7;e[t]=o}function Di(o,e){this.len=o,this.next=void 0,this.val=e}Di.prototype=Object.create(It.prototype);Di.prototype.fn=As;q.prototype.uint32=function(e){return this.len+=(this.tail=this.tail.next=new Di((e=e>>>0)<128?1:e<16384?2:e<2097152?3:e<268435456?4:5,e)).len,this};q.prototype.int32=function(e){return(e|=0)<0?this._push(Wi,10,Ht.fromNumber(e)):this.uint32(e)};q.prototype.sint32=function(e){return this.uint32((e<<1^e>>31)>>>0)};function Wi(o,e,t){for(var i=o.lo,n=o.hi;n;)e[t++]=i&127|128,i=(i>>>7|n<<25)>>>0,n>>>=7;for(;i>127;)e[t++]=i&127|128,i=i>>>7;e[t++]=i}q.prototype.uint64=function(e){var t=Ht.from(e);return this._push(Wi,t.length(),t)};q.prototype.int64=q.prototype.uint64;q.prototype.sint64=function(e){var t=Ht.from(e).zzEncode();return this._push(Wi,t.length(),t)};q.prototype.bool=function(e){return this._push(Ni,1,e?1:0)};function Si(o,e,t){e[t]=o&255,e[t+1]=o>>>8&255,e[t+2]=o>>>16&255,e[t+3]=o>>>24}q.prototype.fixed32=function(e){return this._push(Si,4,e>>>0)};q.prototype.sfixed32=q.prototype.fixed32;q.prototype.fixed64=function(e){var t=Ht.from(e);return this._push(Si,4,t.lo)._push(Si,4,t.hi)};q.prototype.sfixed64=q.prototype.fixed64;q.prototype.float=function(e){return this._push(be.float.writeFloatLE,4,e)};q.prototype.double=function(e){return this._push(be.float.writeDoubleLE,8,e)};var Is=be.Array.prototype.set?function(e,t,i){t.set(e,i)}:function(e,t,i){for(var n=0;n<e.length;++n)t[i+n]=e[n]};q.prototype.bytes=function(e){var t=e.length>>>0;if(!t)return this._push(Ni,1,0);if(be.isString(e)){var i=q.alloc(t=pn.length(e));pn.decode(e,i,0),e=i}return this.uint32(t)._push(Is,t,e)};q.prototype.string=function(e){var t=dn.length(e);return t?this.uint32(t)._push(dn.write,t,e):this._push(Ni,1,0)};q.prototype.fork=function(){return this.states=new ks(this),this.head=this.tail=new It(Ci,0,0),this.len=0,this};q.prototype.reset=function(){return this.states?(this.head=this.states.head,this.tail=this.states.tail,this.len=this.states.len,this.states=this.states.next):(this.head=this.tail=new It(Ci,0,0),this.len=0),this};q.prototype.ldelim=function(){var e=this.head,t=this.tail,i=this.len;return this.reset().uint32(i),i&&(this.tail.next=e.next,this.tail=t,this.len+=i),this};q.prototype.finish=function(){for(var e=this.head.next,t=this.constructor.alloc(this.len),i=0;e;)e.fn(e.val,t,i),i+=e.len,e=e.next;return t};q._configure=function(o){bi=o,q.create=ln(),bi._configure()}});var yn=N(($p,fn)=>{"use strict";fn.exports=Me;var cn=Gt();(Me.prototype=Object.create(cn.prototype)).constructor=Me;var ze=We();function Me(){cn.call(this)}Me._configure=function(){Me.alloc=ze._Buffer_allocUnsafe,Me.writeBytesBuffer=ze.Buffer&&ze.Buffer.prototype instanceof Uint8Array&&ze.Buffer.prototype.set.name==="set"?function(e,t,i){t.set(e,i)}:function(e,t,i){if(e.copy)e.copy(t,i,0,e.length);else for(var n=0;n<e.length;)t[i++]=e[n++]}};Me.prototype.bytes=function(e){ze.isString(e)&&(e=ze._Buffer_from(e,"base64"));var t=e.length>>>0;return this.uint32(t),t&&this._push(Me.writeBytesBuffer,t,e),this};function Rs(o,e,t){o.length<40?ze.utf8.write(o,e,t):e.utf8Write?e.utf8Write(o,t):e.write(o,t)}Me.prototype.string=function(e){var t=ze.Buffer.byteLength(e);return this.uint32(t),t&&this._push(Rs,t,e),this};Me._configure()});var Xt=N((jp,Tn)=>{"use strict";Tn.exports=z;var Se=We(),Li,hn=Se.LongBits,Os=Se.utf8;function we(o,e){return RangeError("index out of range: "+o.pos+" + "+(e||1)+" > "+o.len)}function z(o){this.buf=o,this.pos=0,this.len=o.length}var mn=typeof Uint8Array<"u"?function(e){if(e instanceof Uint8Array||Array.isArray(e))return new z(e);throw Error("illegal buffer")}:function(e){if(Array.isArray(e))return new z(e);throw Error("illegal buffer")},gn=function(){return Se.Buffer?function(t){return(z.create=function(n){return Se.Buffer.isBuffer(n)?new Li(n):mn(n)})(t)}:mn};z.create=gn();z.prototype._slice=Se.Array.prototype.subarray||Se.Array.prototype.slice;function bs(o){for(var e=0,t=0;t<4;++t){if(o.pos>=o.len)throw we(o);var i=o.buf[o.pos++];if(e=(e|(i&127)<<t*7)>>>0,i<128)return e}throw we(o)}z.prototype.uint32=(function(){var e=4294967295;return function(){if(this.len-this.pos<5){if(this.pos>=this.len)throw we(this);if(this.buf[this.pos]>=128)return bs(this)}if(e=(this.buf[this.pos]&127)>>>0,this.buf[this.pos++]<128||(e=(e|(this.buf[this.pos]&127)<<7)>>>0,this.buf[this.pos++]<128)||(e=(e|(this.buf[this.pos]&127)<<14)>>>0,this.buf[this.pos++]<128)||(e=(e|(this.buf[this.pos]&127)<<21)>>>0,this.buf[this.pos++]<128)||(e=(e|(this.buf[this.pos]&15)<<28)>>>0,this.buf[this.pos++]<128))return e;if((this.pos+=5)>this.len)throw this.pos=this.len,we(this,10);return e}})();z.prototype.int32=function(){return this.uint32()|0};z.prototype.sint32=function(){var e=this.uint32();return e>>>1^-(e&1)|0};function xi(){var o=new hn(0,0),e=0;if(this.len-this.pos>4){for(;e<4;++e)if(o.lo=(o.lo|(this.buf[this.pos]&127)<<e*7)>>>0,this.buf[this.pos++]<128)return o;if(o.lo=(o.lo|(this.buf[this.pos]&127)<<28)>>>0,o.hi=(o.hi|(this.buf[this.pos]&127)>>4)>>>0,this.buf[this.pos++]<128)return o;e=0}else{for(;e<3;++e){if(this.pos>=this.len)throw we(this);if(o.lo=(o.lo|(this.buf[this.pos]&127)<<e*7)>>>0,this.buf[this.pos++]<128)return o}return o.lo=(o.lo|(this.buf[this.pos++]&127)<<e*7)>>>0,o}if(this.len-this.pos>4){for(;e<5;++e)if(o.hi=(o.hi|(this.buf[this.pos]&127)<<e*7+3)>>>0,this.buf[this.pos++]<128)return o}else for(;e<5;++e){if(this.pos>=this.len)throw we(this);if(o.hi=(o.hi|(this.buf[this.pos]&127)<<e*7+3)>>>0,this.buf[this.pos++]<128)return o}throw Error("invalid varint encoding")}z.prototype.bool=function(){return this.uint32()!==0};function Qt(o,e){return(o[e-4]|o[e-3]<<8|o[e-2]<<16|o[e-1]<<24)>>>0}z.prototype.fixed32=function(){if(this.pos+4>this.len)throw we(this,4);return Qt(this.buf,this.pos+=4)};z.prototype.sfixed32=function(){if(this.pos+4>this.len)throw we(this,4);return Qt(this.buf,this.pos+=4)|0};function En(){if(this.pos+8>this.len)throw we(this,8);return new hn(Qt(this.buf,this.pos+=4),Qt(this.buf,this.pos+=4))}z.prototype.float=function(){if(this.pos+4>this.len)throw we(this,4);var e=Se.float.readFloatLE(this.buf,this.pos);return this.pos+=4,e};z.prototype.double=function(){if(this.pos+8>this.len)throw we(this,4);var e=Se.float.readDoubleLE(this.buf,this.pos);return this.pos+=8,e};z.prototype.bytes=function(){var e=this.uint32(),t=this.pos,i=this.pos+e;if(i>this.len)throw we(this,e);if(this.pos+=e,Array.isArray(this.buf))return this.buf.slice(t,i);if(t===i){var n=Se.Buffer;return n?n.alloc(0):new this.buf.constructor(0)}return this._slice.call(this.buf,t,i)};z.prototype.string=function(){var e=this.bytes();return Os.read(e,0,e.length)};z.prototype.skip=function(e){if(typeof e=="number"){if(this.pos+e>this.len)throw we(this,e);this.pos+=e}else do if(this.pos>=this.len)throw we(this);while(this.buf[this.pos++]&128);return this};z.recursionLimit=Se.recursionLimit;z.prototype.skipType=function(o,e){if(e===void 0&&(e=0),e>z.recursionLimit)throw Error("maximum nesting depth exceeded");switch(o){case 0:this.skip();break;case 1:this.skip(8);break;case 2:this.skip(this.uint32());break;case 3:for(;(o=this.uint32()&7)!==4;)this.skipType(o,e+1);break;case 5:this.skip(4);break;default:throw Error("invalid wire type "+o+" at offset "+this.pos)}return this};z._configure=function(o){Li=o,z.create=gn(),Li._configure();var e=Se.Long?"toLong":"toNumber";Se.merge(z.prototype,{int64:function(){return xi.call(this)[e](!1)},uint64:function(){return xi.call(this)[e](!0)},sint64:function(){return xi.call(this).zzDecode()[e](!1)},fixed64:function(){return En.call(this)[e](!0)},sfixed64:function(){return En.call(this)[e](!1)}})}});var kn=N((Jp,wn)=>{"use strict";wn.exports=rt;var vn=Xt();(rt.prototype=Object.create(vn.prototype)).constructor=rt;var _n=We();function rt(o){vn.call(this,o)}rt._configure=function(){_n.Buffer&&(rt.prototype._slice=_n.Buffer.prototype.slice)};rt.prototype.string=function(){var e=this.uint32();return this.buf.utf8Slice?this.buf.utf8Slice(this.pos,this.pos=Math.min(this.pos+e,this.len)):this.buf.toString("utf-8",this.pos,this.pos=Math.min(this.pos+e,this.len))};rt._configure()});var In=N((zp,An)=>{"use strict";An.exports=Rt;var Pi=We();(Rt.prototype=Object.create(Pi.EventEmitter.prototype)).constructor=Rt;function Rt(o,e,t){if(typeof o!="function")throw TypeError("rpcImpl must be a function");Pi.EventEmitter.call(this),this.rpcImpl=o,this.requestDelimited=!!e,this.responseDelimited=!!t}Rt.prototype.rpcCall=function o(e,t,i,n,r){if(!n)throw TypeError("request must be specified");var s=this;if(!r)return Pi.asPromise(o,s,e,t,i,n);if(!s.rpcImpl){setTimeout(function(){r(Error("already ended"))},0);return}try{return s.rpcImpl(e,t[s.requestDelimited?"encodeDelimited":"encode"](n).finish(),function(a,d){if(a)return s.emit("error",a,e),r(a);if(d===null){s.end(!0);return}if(!(d instanceof i))try{d=i[s.responseDelimited?"decodeDelimited":"decode"](d)}catch(u){return s.emit("error",u,e),r(u)}return s.emit("data",d,e),r(null,d)})}catch(p){s.emit("error",p,e),setTimeout(function(){r(p)},0);return}};Rt.prototype.end=function(e){return this.rpcImpl&&(e||this.rpcImpl(null,null,null),this.rpcImpl=null,this.emit("end").off()),this}});var Ui=N(Rn=>{"use strict";var Ss=Rn;Ss.Service=In()});var Fi=N((ed,On)=>{"use strict";On.exports=Object.create(null)});var Cn=N(Sn=>{"use strict";var ke=Sn;ke.build="minimal";ke.Writer=Gt();ke.BufferWriter=yn();ke.Reader=Xt();ke.BufferReader=kn();ke.util=We();ke.rpc=Ui();ke.roots=Fi();ke.configure=bn;function bn(){ke.util._configure(),ke.Writer._configure(ke.BufferWriter),ke.Reader._configure(ke.BufferReader)}bn()});var Dn=N((id,Nn)=>{"use strict";Nn.exports=Mi;var Cs=/^(?:do|if|in|for|let|new|try|var|case|else|enum|eval|false|null|this|true|void|with|break|catch|class|const|super|throw|while|yield|delete|export|import|public|return|static|switch|typeof|default|extends|finally|package|private|continue|debugger|function|arguments|interface|protected|implements|instanceof)$/;function Mi(o,e){typeof o=="string"&&(e=o,o=void 0);var t=[];function i(r){if(typeof r!="string"){var s=n();if(Mi.verbose&&console.log("codegen: "+s),s="return "+s,r){for(var p=Object.keys(r),a=new Array(p.length+1),d=new Array(p.length),u=0;u<p.length;)a[u]=p[u],d[u]=r[p[u++]];return a[u]=s,Function.apply(null,a).apply(null,d)}return Function(s)()}for(var f=new Array(arguments.length-1),c=0;c<f.length;)f[c]=arguments[++c];if(c=0,r=r.replace(/%([%dfijs])/g,function(h,A){var O=f[c++];switch(A){case"d":case"f":return String(Number(O));case"i":return String(Math.floor(O));case"j":return JSON.stringify(O);case"s":return String(O)}return"%"}),c!==f.length)throw Error("parameter count mismatch");return t.push(r),i}function n(r){return"function "+Ns(r||e)+"("+(o&&o.join(",")||"")+`){
|
|
3
3
|
`+t.join(`
|
|
4
4
|
`)+`
|
|
5
5
|
}`}return i.toString=n,i}Mi.verbose=!1;function Ns(o){return!o||(o=String(o).replace(/[^\w$]/g,""),!o)?"":(/^\d/.test(o)&&(o="_"+o),Cs.test(o)?o+"_":o)}});var xn=N((od,Wn)=>{"use strict";var ft=null;try{ft=Po("fs"),(!ft||!ft.readFile||!ft.readFileSync)&&(ft=null)}catch{}Wn.exports=ft});var Pn=N((nd,Ln)=>{"use strict";Ln.exports=Ot;var Ds=ki(),qi=xn();function Ot(o,e,t){return typeof e=="function"?(t=e,e={}):e||(e={}),t?!e.xhr&&qi&&qi.readFile?qi.readFile(o,function(n,r){return n&&typeof XMLHttpRequest<"u"?Ot.xhr(o,e,t):n?t(n):t(null,e.binary?r:r.toString("utf8"))}):Ot.xhr(o,e,t):Ds(Ot,this,o,e)}Ot.xhr=function(e,t,i){var n=new XMLHttpRequest;n.onreadystatechange=function(){if(n.readyState===4){if(n.status!==0&&n.status!==200)return i(Error("status "+n.status));if(t.binary){var s=n.response;if(!s){s=[];for(var p=0;p<n.responseText.length;++p)s.push(n.responseText.charCodeAt(p)&255)}return i(null,typeof Uint8Array<"u"?new Uint8Array(s):s)}return i(null,n.responseText)}},t.binary&&("overrideMimeType"in n&&n.overrideMimeType("text/plain; charset=x-user-defined"),n.responseType="arraybuffer"),n.open("GET",e),n.send()}});var Mn=N(Fn=>{"use strict";var Vi=Fn,Un=Vi.isAbsolute=function(e){return/^(?:\/|\w+:)/.test(e)},Bi=Vi.normalize=function(e){e=e.replace(/\\/g,"/").replace(/\/{2,}/g,"/");var t=e.split("/"),i=Un(e),n="";i&&(n=t.shift()+"/");for(var r=0;r<t.length;)t[r]===".."?r>0&&t[r-1]!==".."?t.splice(--r,2):i?t.splice(r,1):++r:t[r]==="."?t.splice(r,1):++r;return n+t.join("/")};Vi.resolve=function(e,t,i){return i||(t=Bi(t)),Un(t)?t:(i||(e=Bi(e)),(e=e.replace(/(?:\/|^)[^/]+$/,"")).length?Bi(e+"/"+t):t)}});var Bn=N(qn=>{"use strict";var Yi=qn;Yi.numberRe=/^(?![eE])[0-9]*(?:\.[0-9]*)?(?:[eE][+-]?[0-9]+)?$/;Yi.typeRefRe=/^(?:\.?[a-zA-Z_][a-zA-Z_0-9]*)(?:\.[a-zA-Z_][a-zA-Z_0-9]*)*$/;Yi.reservedRe=/^(?:do|if|in|for|let|new|try|var|case|else|enum|eval|false|null|this|true|void|with|break|catch|class|const|super|throw|while|yield|delete|export|import|public|return|static|switch|typeof|default|extends|finally|package|private|continue|debugger|function|arguments|interface|protected|implements|instanceof)$/});var Yn=N((ad,Vn)=>{"use strict";var yt=null;try{yt=Po("fs"),(!yt||!yt.readFile||!yt.readFileSync)&&(yt=null)}catch{}Vn.exports=yt});var Et=N((pd,Gn)=>{"use strict";Gn.exports=U;var $t=et();((U.prototype=Object.create($t.prototype)).constructor=U).className="Namespace";var Ki=Ze(),at=le(),Ws=dt(),st,mt,pt;U.fromJSON=function(e,t,i){return i=at.checkDepth(i),new U(e,t.options).addJSON(t.nested,i)};function Kn(o,e){if(o&&o.length){for(var t={},i=0;i<o.length;++i)t[o[i].name]=o[i].toJSON(e);return t}}U.arrayToJSON=Kn;U.isReservedId=function(e,t){if(e){for(var i=0;i<e.length;++i)if(typeof e[i]!="string"&&e[i][0]<=t&&e[i][1]>t)return!0}return!1};U.isReservedName=function(e,t){if(e){for(var i=0;i<e.length;++i)if(e[i]===t)return!0}return!1};function U(o,e){$t.call(this,o,e),this.nested=void 0,this._nestedArray=null,this._lookupCache=Object.create(null),this._needsRecursiveFeatureResolution=!0,this._needsRecursiveResolve=!0}function Hn(o){o._nestedArray=null,o._lookupCache=Object.create(null);for(var e=o;e=e.parent;)e._lookupCache=Object.create(null);return o}Object.defineProperty(U.prototype,"nestedArray",{get:function(){return this._nestedArray||(this._nestedArray=at.toArray(this.nested))}});U.prototype.toJSON=function(e){return at.toObject(["options",this.options,"nested",Kn(this.nestedArray,e)])};U.prototype.addJSON=function(e,t){t=at.checkDepth(t);var i=this;if(e)for(var n=Object.keys(e),r=0,s;r<n.length;++r)s=e[n[r]],i.add((s.fields!==void 0?st.fromJSON:s.values!==void 0?pt.fromJSON:s.methods!==void 0?mt.fromJSON:s.id!==void 0?Ki.fromJSON:U.fromJSON)(n[r],s,t+1));return this};U.prototype.get=function(e){return this.nested&&Object.prototype.hasOwnProperty.call(this.nested,e)?this.nested[e]:null};U.prototype.getEnum=function(e){if(this.nested&&Object.prototype.hasOwnProperty.call(this.nested,e)&&this.nested[e]instanceof pt)return this.nested[e].values;throw Error("no such enum: "+e)};U.prototype.add=function(e){if(!(e instanceof Ki&&e.extend!==void 0||e instanceof st||e instanceof Ws||e instanceof pt||e instanceof mt||e instanceof U))throw TypeError("object must be a valid nested object");if(e.name==="__proto__")return this;if(!this.nested)this.nested={};else{var t=this.get(e.name);if(t)if(t instanceof U&&e instanceof U&&!(t instanceof st||t instanceof mt)){for(var i=t.nestedArray,n=0;n<i.length;++n)e.add(i[n]);this.remove(t),this.nested||(this.nested={}),e.setOptions(t.options,!0)}else throw Error("duplicate name '"+e.name+"' in "+this)}this.nested[e.name]=e,this instanceof st||this instanceof mt||this instanceof pt||this instanceof Ki||e._edition||(e._edition=e._defaultEdition),this._needsRecursiveFeatureResolution=!0,this._needsRecursiveResolve=!0;for(var r=this;r=r.parent;)r._needsRecursiveFeatureResolution=!0,r._needsRecursiveResolve=!0;return e.onAdd(this),Hn(this)};U.prototype.remove=function(e){if(!(e instanceof $t))throw TypeError("object must be a ReflectionObject");if(e.parent!==this)throw Error(e+" is not a member of "+this);return delete this.nested[e.name],Object.keys(this.nested).length||(this.nested=void 0),e.onRemove(this),Hn(this)};U.prototype.define=function(e,t){if(at.isString(e))e=e.split(".");else if(!Array.isArray(e))throw TypeError("illegal path");if(e&&e.length&&e[0]==="")throw Error("path must be relative");if(e.length>at.recursionLimit)throw Error("max depth exceeded");for(var i=this;e.length>0;){var n=e.shift();if(i.nested&&i.nested[n]){if(i=i.nested[n],!(i instanceof U))throw Error("path conflicts with non-namespace objects")}else i.add(i=new U(n))}return t&&i.addJSON(t),i};U.prototype.resolveAll=function(){if(!this._needsRecursiveResolve)return this;this._resolveFeaturesRecursive(this._edition);var e=this.nestedArray,t=0;for(this.resolve();t<e.length;)e[t]instanceof U?e[t++].resolveAll():e[t++].resolve();return this._needsRecursiveResolve=!1,this};U.prototype._resolveFeaturesRecursive=function(e){return this._needsRecursiveFeatureResolution?(this._needsRecursiveFeatureResolution=!1,e=this._edition||e,$t.prototype._resolveFeaturesRecursive.call(this,e),this.nestedArray.forEach(t=>{t._resolveFeaturesRecursive(e)}),this):this};U.prototype.lookup=function(e,t,i){if(typeof t=="boolean"?(i=t,t=void 0):t&&!Array.isArray(t)&&(t=[t]),at.isString(e)&&e.length){if(e===".")return this.root;e=e.split(".")}else if(!e.length)return this;var n=e.join(".");if(e[0]==="")return this.root.lookup(e.slice(1),t);var r=this.root._fullyQualifiedObjects&&this.root._fullyQualifiedObjects["."+n];if(r&&(!t||t.indexOf(r.constructor)>-1)||(r=this._lookupImpl(e,n),r&&(!t||t.indexOf(r.constructor)>-1)))return r;if(i)return null;for(var s=this;s.parent;){if(r=s.parent._lookupImpl(e,n),r&&(!t||t.indexOf(r.constructor)>-1))return r;s=s.parent}return null};U.prototype._lookupImpl=function(e,t){if(Object.prototype.hasOwnProperty.call(this._lookupCache,t))return this._lookupCache[t];var i=this.get(e[0]),n=null;if(i)e.length===1?n=i:i instanceof U&&(e=e.slice(1),n=i._lookupImpl(e,e.join(".")));else for(var r=0;r<this.nestedArray.length;++r)if(this._nestedArray[r]instanceof U&&(i=this._nestedArray[r]._lookupImpl(e,t))){n=i;break}return this._lookupCache[t]=n,n};U.prototype.lookupType=function(e){var t=this.lookup(e,[st]);if(!t)throw Error("no such type: "+e);return t};U.prototype.lookupEnum=function(e){var t=this.lookup(e,[pt]);if(!t)throw Error("no such Enum '"+e+"' in "+this);return t};U.prototype.lookupTypeOrEnum=function(e){var t=this.lookup(e,[st,pt]);if(!t)throw Error("no such Type or Enum '"+e+"' in "+this);return t};U.prototype.lookupService=function(e){var t=this.lookup(e,[mt]);if(!t)throw Error("no such Service '"+e+"' in "+this);return t};U._configure=function(o,e,t){st=o,mt=e,pt=t}});var jt=N((dd,Qn)=>{"use strict";Qn.exports=Ge;var Hi=Ze();((Ge.prototype=Object.create(Hi.prototype)).constructor=Ge).className="MapField";var xs=lt(),bt=le();function Ge(o,e,t,i,n,r){if(Hi.call(this,o,e,i,void 0,void 0,n,r),!bt.isString(t))throw TypeError("keyType must be a string");this.keyType=t,this.resolvedKeyType=null,this.map=!0}Ge.fromJSON=function(e,t){return new Ge(e,t.id,t.keyType,t.type,t.options,t.comment)};Ge.prototype.toJSON=function(e){var t=e?!!e.keepComments:!1;return bt.toObject(["keyType",this.keyType,"type",this.type,"id",this.id,"extend",this.extend,"options",this.options,"comment",t?this.comment:void 0])};Ge.prototype.resolve=function(){if(this.resolved)return this;if(xs.mapKey[this.keyType]===void 0)throw Error("invalid key type: "+this.keyType);return Hi.prototype.resolve.call(this)};Ge.d=function(e,t,i){return typeof i=="function"?i=bt.decorateType(i).name:i&&typeof i=="object"&&(i=bt.decorateEnum(i).name),function(r,s){bt.decorateType(r.constructor).add(new Ge(s,e,t,i))}}});var Jt=N((ld,Xn)=>{"use strict";Xn.exports=ut;var Gi=et();((ut.prototype=Object.create(Gi.prototype)).constructor=ut).className="Method";var ht=le();function ut(o,e,t,i,n,r,s,p,a){if(ht.isObject(n)?(s=n,n=r=void 0):ht.isObject(r)&&(s=r,r=void 0),!(e===void 0||ht.isString(e)))throw TypeError("type must be a string");if(!ht.isString(t))throw TypeError("requestType must be a string");if(!ht.isString(i))throw TypeError("responseType must be a string");Gi.call(this,o,s),this.type=e||"rpc",this.requestType=t,this.requestStream=n?!0:void 0,this.responseType=i,this.responseStream=r?!0:void 0,this.resolvedRequestType=null,this.resolvedResponseType=null,this.comment=p,this.parsedOptions=a}ut.fromJSON=function(e,t){return new ut(e,t.type,t.requestType,t.responseType,t.requestStream,t.responseStream,t.options,t.comment,t.parsedOptions)};ut.prototype.toJSON=function(e){var t=e?!!e.keepComments:!1;return ht.toObject(["type",this.type!=="rpc"&&this.type||void 0,"requestType",this.requestType,"requestStream",this.requestStream,"responseType",this.responseType,"responseStream",this.responseStream,"options",this.options,"comment",t?this.comment:void 0,"parsedOptions",this.parsedOptions])};ut.prototype.resolve=function(){return this.resolved?this:(this.resolvedRequestType=this.parent.lookupType(this.requestType),this.resolvedResponseType=this.parent.lookupType(this.responseType),Gi.prototype.resolve.call(this))}});var Zt=N((ud,Jn)=>{"use strict";Jn.exports=Ae;var Qe=Et();((Ae.prototype=Object.create(Qe.prototype)).constructor=Ae).className="Service";var Qi=Jt(),zt=le(),$n=Ui();function Ae(o,e){Qe.call(this,o,e),this.methods={},this._methodsArray=null}Ae.fromJSON=function(e,t,i){i=zt.checkDepth(i);var n=new Ae(e,t.options);if(t.methods)for(var r=Object.keys(t.methods),s=0;s<r.length;++s)n.add(Qi.fromJSON(r[s],t.methods[r[s]]));return t.nested&&n.addJSON(t.nested,i),t.edition&&(n._edition=t.edition),n.comment=t.comment,n._defaultEdition="proto3",n};Ae.prototype.toJSON=function(e){var t=Qe.prototype.toJSON.call(this,e),i=e?!!e.keepComments:!1;return zt.toObject(["edition",this._editionToJSON(),"options",t&&t.options||void 0,"methods",Qe.arrayToJSON(this.methodsArray,e)||{},"nested",t&&t.nested||void 0,"comment",i?this.comment:void 0])};Object.defineProperty(Ae.prototype,"methodsArray",{get:function(){return this._methodsArray||(this._methodsArray=zt.toArray(this.methods))}});function jn(o){return o._methodsArray=null,o}Ae.prototype.get=function(e){return Object.prototype.hasOwnProperty.call(this.methods,e)?this.methods[e]:Qe.prototype.get.call(this,e)};Ae.prototype.resolveAll=function(){if(!this._needsRecursiveResolve)return this;Qe.prototype.resolve.call(this);for(var e=this.methodsArray,t=0;t<e.length;++t)e[t].resolve();return this};Ae.prototype._resolveFeaturesRecursive=function(e){return this._needsRecursiveFeatureResolution?(e=this._edition||e,Qe.prototype._resolveFeaturesRecursive.call(this,e),this.methodsArray.forEach(t=>{t._resolveFeaturesRecursive(e)}),this):this};Ae.prototype.add=function(e){if(this.get(e.name))throw Error("duplicate name '"+e.name+"' in "+this);return e instanceof Qi?e.name==="__proto__"?this:(this.methods[e.name]=e,e.parent=this,jn(this)):Qe.prototype.add.call(this,e)};Ae.prototype.remove=function(e){if(e instanceof Qi){if(this.methods[e.name]!==e)throw Error(e+" is not a member of "+this);return delete this.methods[e.name],e.parent=null,jn(this)}return Qe.prototype.remove.call(this,e)};Ae.prototype.create=function(e,t,i){for(var n=new $n.Service(e,t,i),r=0,s;r<this.methodsArray.length;++r){var p=zt.lcFirst((s=this._methodsArray[r]).resolve().name).replace(/[^$\w_]/g,"");n[p]=(function(a,d,u){return function(c,T){return $n.Service.prototype.rpcCall.call(this,a,d,u,c,T)}})(s,s.resolvedRequestType.ctor,s.resolvedResponseType.ctor)}return n}});var ei=N((cd,zn)=>{"use strict";zn.exports=qe;var Ls=We();function qe(o){if(o)for(var e=Object.keys(o),t=0;t<e.length;++t){var i=e[t];i!=="__proto__"&&(this[i]=o[i])}}qe.create=function(e){return this.$type.create(e)};qe.encode=function(e,t){return this.$type.encode(e,t)};qe.encodeDelimited=function(e,t){return this.$type.encodeDelimited(e,t)};qe.decode=function(e){return this.$type.decode(e)};qe.decodeDelimited=function(e){return this.$type.decodeDelimited(e)};qe.verify=function(e){return this.$type.verify(e)};qe.fromObject=function(e){return this.$type.fromObject(e)};qe.toObject=function(e,t){return this.$type.toObject(e,t)};qe.prototype.toJSON=function(){return this.$type.toObject(this,Ls.toJSONOptions)}});var Xi=N((fd,er)=>{"use strict";er.exports=Fs;var Ps=xe(),Xe=lt(),Zn=le();function Us(o){return"missing required '"+o.name+"'"}function Fs(o){for(var e=Zn.codegen(["r","l","e","n"],o.name+"$decode")("if(!(r instanceof Reader))")("r=Reader.create(r)")("if(n===undefined)n=0")("if(n>Reader.recursionLimit)")('throw Error("maximum nesting depth exceeded")')("var c,m"+(o.fieldsArray.filter(function(p){return p.map}).length?",k,value":""))("if(l===undefined)")("c=r.len")("else{")("c=r.pos+l")("if(c>r.len)")('throw RangeError("index out of range")')("l=r.len")("r.len=c")("}")("m=new this.ctor")("while(r.pos<c){")("var t=r.uint32()")("if(t===e)")("break")("switch(t>>>3){"),t=0;t<o.fieldsArray.length;++t){var i=o._fieldsArray[t].resolve(),n=i.resolvedType instanceof Ps?"int32":i.type,r="m"+Zn.safeProp(i.name);e("case %i: {",i.id),i.map?(e("if(%s===util.emptyObject)",r)("%s={}",r)("var c2=r.uint32()+r.pos")("if(c2>r.len)")('throw RangeError("index out of range")')("r.len=c2"),Xe.defaults[i.keyType]!==void 0?e("k=%j",Xe.defaults[i.keyType]):e("k=null"),Xe.defaults[n]!==void 0?e("value=%j",Xe.defaults[n]):e("value=null"),e("while(r.pos<c2){")("var tag2=r.uint32()")("switch(tag2>>>3){")("case 1: k=r.%s(); break",i.keyType)("case 2:"),Xe.basic[n]===void 0?e("value=types[%i].decode(r,r.uint32(),undefined,n+1)",t):e("value=r.%s()",n),e("break")("default:")("r.skipType(tag2&7,n)")("break")("}")("}")("if(r.pos!==c2)")('throw RangeError("index out of range")')("r.len=c"),Xe.long[i.keyType]!==void 0?e('%s[typeof k==="object"?util.longToHash(k):k]=value',r):(i.keyType==="string"&&e('if(k==="__proto__")')("util.makeProp(%s,k)",r),e("%s[k]=value",r))):i.repeated?(e("if(!(%s&&%s.length))",r,r)("%s=[]",r),Xe.packed[n]!==void 0&&e("if((t&7)===2){")("var c2=r.uint32()+r.pos")("if(c2>r.len)")('throw RangeError("index out of range")')("r.len=c2")("while(r.pos<c2)")("%s.push(r.%s())",r,n)("if(r.pos!==c2)")('throw RangeError("index out of range")')("r.len=c")("}else"),Xe.basic[n]===void 0?e(i.delimited?"%s.push(types[%i].decode(r,undefined,((t&~7)|4),n+1))":"%s.push(types[%i].decode(r,r.uint32(),undefined,n+1))",r,t):e("%s.push(r.%s())",r,n)):Xe.basic[n]===void 0?e(i.delimited?"%s=types[%i].decode(r,undefined,((t&~7)|4),n+1)":"%s=types[%i].decode(r,r.uint32(),undefined,n+1)",r,t):e("%s=r.%s()",r,n),e("break")("}")}for(e("default:")("r.skipType(t&7,n)")("break")("}")("}"),e("if(l!==undefined){")("if(r.pos!==c)")('throw RangeError("index out of range")')("r.len=l")("}"),t=0;t<o._fieldsArray.length;++t){var s=o._fieldsArray[t];s.required&&e("if(!Object.hasOwnProperty.call(m,%j))",s.name)("throw util.ProtocolError(%j,{instance:m})",Us(s))}return e("return m")}});var Ji=N((yd,tr)=>{"use strict";tr.exports=Bs;var Ms=xe(),$i=le();function Ce(o,e){return o.name+": "+e+(o.repeated&&e!=="array"?"[]":o.map&&e!=="object"?"{k:"+o.keyType+"}":"")+" expected"}function ji(o,e,t,i){if(e.resolvedType)if(e.resolvedType instanceof Ms){o("switch(%s){",i)("default:")("return%j",Ce(e,"enum value"));for(var n=Object.keys(e.resolvedType.values),r=0;r<n.length;++r)o("case %i:",e.resolvedType.values[n[r]]);o("break")("}")}else o("{")("var e=types[%i].verify(%s,n+1);",t,i)("if(e)")("return%j+e",e.name+".")("}");else switch(e.type){case"int32":case"uint32":case"sint32":case"fixed32":case"sfixed32":o("if(!util.isInteger(%s))",i)("return%j",Ce(e,"integer"));break;case"int64":case"uint64":case"sint64":case"fixed64":case"sfixed64":o("if(!util.isInteger(%s)&&!(%s&&util.isInteger(%s.low)&&util.isInteger(%s.high)))",i,i,i,i)("return%j",Ce(e,"integer|Long"));break;case"float":case"double":o('if(typeof %s!=="number")',i)("return%j",Ce(e,"number"));break;case"bool":o('if(typeof %s!=="boolean")',i)("return%j",Ce(e,"boolean"));break;case"string":o("if(!util.isString(%s))",i)("return%j",Ce(e,"string"));break;case"bytes":o('if(!(%s&&typeof %s.length==="number"||util.isString(%s)))',i,i,i)("return%j",Ce(e,"buffer"));break}return o}function qs(o,e,t){switch(e.keyType){case"int32":case"uint32":case"sint32":case"fixed32":case"sfixed32":o("if(!util.key32Re.test(%s))",t)("return%j",Ce(e,"integer key"));break;case"int64":case"uint64":case"sint64":case"fixed64":case"sfixed64":o("if(!util.key64Re.test(%s))",t)("return%j",Ce(e,"integer|Long key"));break;case"bool":o("if(!util.key2Re.test(%s))",t)("return%j",Ce(e,"boolean key"));break}return o}function Bs(o){var e=$i.codegen(["m","n"],o.name+"$verify")('if(typeof m!=="object"||m===null)')("return%j","object expected")("if(n===undefined)n=0")("if(n>util.recursionLimit)")("return%j","maximum nesting depth exceeded"),t=o.oneofsArray,i={};t.length&&e("var p={}");for(var n=0;n<o.fieldsArray.length;++n){var r=o._fieldsArray[n].resolve(),s="m"+$i.safeProp(r.name);if(r.optional&&e("if(%s!=null&&Object.hasOwnProperty.call(m,%j)){",s,r.name),r.map)e("if(!util.isObject(%s))",s)("return%j",Ce(r,"object"))("var k=Object.keys(%s)",s)("for(var i=0;i<k.length;++i){"),qs(e,r,"k[i]"),ji(e,r,n,s+"[k[i]]")("}");else if(r.repeated)e("if(!Array.isArray(%s))",s)("return%j",Ce(r,"array"))("for(var i=0;i<%s.length;++i){",s),ji(e,r,n,s+"[i]")("}");else{if(r.partOf){var p=$i.safeProp(r.partOf.name);i[r.partOf.name]===1&&e("if(p%s===1)",p)("return%j",r.partOf.name+": multiple values"),i[r.partOf.name]=1,e("p%s=1",p)}ji(e,r,n,s)}r.optional&&e("}")}return e("return null")}});var eo=N(or=>{"use strict";var ir=or,St=xe(),Be=le();function zi(o,e,t,i){var n=!1;if(e.resolvedType)if(e.resolvedType instanceof St){o("switch(d%s){",i);for(var r=e.resolvedType.values,s=Object.keys(r),p=0;p<s.length;++p)r[s[p]]===e.typeDefault&&!n&&(o("default:")('if(typeof(d%s)==="number"){m%s=d%s;break}',i,i,i),e.repeated||o("break"),n=!0),o("case%j:",s[p])("case %i:",r[s[p]])("m%s=%j",i,r[s[p]])("break");o("}")}else o("if(!util.isObject(d%s))",i)("throw TypeError(%j)",e.fullName+": object expected")("m%s=types[%i].fromObject(d%s,n+1)",i,t,i);else{var a=!1;switch(e.type){case"double":case"float":o("m%s=Number(d%s)",i,i);break;case"uint32":case"fixed32":o("m%s=d%s>>>0",i,i);break;case"int32":case"sint32":case"sfixed32":o("m%s=d%s|0",i,i);break;case"uint64":case"fixed64":a=!0;case"int64":case"sint64":case"sfixed64":o("if(util.Long)")("m%s=util.Long.fromValue(d%s,%j)",i,i,a)('else if(typeof d%s==="string")',i)("m%s=parseInt(d%s,10)",i,i)('else if(typeof d%s==="number")',i)("m%s=d%s",i,i)('else if(typeof d%s==="object")',i)("m%s=new util.LongBits(d%s.low>>>0,d%s.high>>>0).toNumber(%s)",i,i,i,a?"true":"");break;case"bytes":o('if(typeof d%s==="string")',i)("util.base64.decode(d%s,m%s=util.newBuffer(util.base64.length(d%s)),0)",i,i,i)("else if(d%s.length >= 0)",i)("m%s=d%s",i,i);break;case"string":o("m%s=String(d%s)",i,i);break;case"bool":o("m%s=Boolean(d%s)",i,i);break}}return o}ir.fromObject=function(e){var t=e.fieldsArray,i=Be.codegen(["d","n"],e.name+"$fromObject")("if(d instanceof this.ctor)")("return d");if(!t.length)return i("return new this.ctor");i("if(!util.isObject(d))")("throw TypeError(%j)",e.fullName+": object expected")("if(n===undefined)n=0")("if(n>util.recursionLimit)")('throw Error("maximum nesting depth exceeded")'),i("var m=new this.ctor");for(var n=0;n<t.length;++n){var r=t[n].resolve(),s=Be.safeProp(r.name);r.map?(i("if(d%s){",s)("if(!util.isObject(d%s))",s)("throw TypeError(%j)",r.fullName+": object expected")("m%s={}",s)("for(var ks=Object.keys(d%s),i=0;i<ks.length;++i){",s),i('if(ks[i]==="__proto__")')("util.makeProp(m%s,ks[i])",s),zi(i,r,n,s+"[ks[i]]")("}")("}")):r.repeated?(i("if(d%s){",s)("if(!Array.isArray(d%s))",s)("throw TypeError(%j)",r.fullName+": array expected")("m%s=[]",s)("for(var i=0;i<d%s.length;++i){",s),zi(i,r,n,s+"[i]")("}")("}")):(r.resolvedType instanceof St||i("if(d%s!=null){",s),zi(i,r,n,s),r.resolvedType instanceof St||i("}"))}return i("return m")};function Zi(o,e,t,i){if(e.resolvedType)e.resolvedType instanceof St?o("d%s=o.enums===String?(types[%i].values[m%s]===undefined?m%s:types[%i].values[m%s]):m%s",i,t,i,i,t,i,i):o("d%s=types[%i].toObject(m%s,o,q+1)",i,t,i);else{var n=!1;switch(e.type){case"double":case"float":o("d%s=o.json&&!isFinite(m%s)?String(m%s):m%s",i,i,i,i);break;case"uint64":case"fixed64":n=!0;case"int64":case"sint64":case"sfixed64":o('if(typeof BigInt!=="undefined"&&o.longs===BigInt)')('d%s=typeof m%s==="number"?BigInt(m%s):util.Long.fromBits(m%s.low>>>0,m%s.high>>>0,%j).toBigInt()',i,i,i,i,i,n)('else if(typeof m%s==="number")',i)("d%s=o.longs===String?String(m%s):m%s",i,i,i)("else")("d%s=o.longs===String?util.Long.prototype.toString.call(m%s):o.longs===Number?new util.LongBits(m%s.low>>>0,m%s.high>>>0).toNumber(%s):m%s",i,i,i,i,n?"true":"",i);break;case"bytes":o("d%s=o.bytes===String?util.base64.encode(m%s,0,m%s.length):o.bytes===Array?Array.prototype.slice.call(m%s):m%s",i,i,i,i,i);break;default:o("d%s=m%s",i,i);break}}return o}ir.toObject=function(e){var t=e.fieldsArray.slice().sort(Be.compareFieldsById);if(!t.length)return Be.codegen()("return {}");for(var i=Be.codegen(["m","o","q"],e.name+"$toObject")("if(!o)")("o={}")("if(q===undefined)q=0")("if(q>util.recursionLimit)")('throw Error("max depth exceeded")')("var d={}"),n=[],r=[],s=[],p=0;p<t.length;++p)t[p].partOf||(t[p].resolve().repeated?n:t[p].map?r:s).push(t[p]);if(n.length){for(i("if(o.arrays||o.defaults){"),p=0;p<n.length;++p)i("d%s=[]",Be.safeProp(n[p].name));i("}")}if(r.length){for(i("if(o.objects||o.defaults){"),p=0;p<r.length;++p)i("d%s={}",Be.safeProp(r[p].name));i("}")}if(s.length){for(i("if(o.defaults){"),p=0;p<s.length;++p){var a=s[p],d=Be.safeProp(a.name);if(a.resolvedType instanceof St)i("d%s=o.enums===String?%j:%j",d,a.resolvedType.valuesById[a.typeDefault],a.typeDefault);else if(a.long)i("if(util.Long){")("var n=new util.Long(%i,%i,%j)",a.typeDefault.low,a.typeDefault.high,a.typeDefault.unsigned)('d%s=o.longs===String?n.toString():o.longs===Number?n.toNumber():typeof BigInt!=="undefined"&&o.longs===BigInt?n.toBigInt():n',d)("}else")('d%s=o.longs===String?%j:typeof BigInt!=="undefined"&&o.longs===BigInt?BigInt(%j):%i',d,a.typeDefault.toString(),a.typeDefault.toString(),a.typeDefault.toNumber());else if(a.bytes){var u=Array.prototype.slice.call(a.typeDefault);i("if(o.bytes===String)d%s=%j",d,String.fromCharCode.apply(String,a.typeDefault))("else{")("d%s=%j",d,u)("if(o.bytes!==Array)d%s=util.newBuffer(d%s)",d,d)("}")}else i("d%s=%j",d,a.typeDefault)}i("}")}var f=!1;for(p=0;p<t.length;++p){var a=t[p],c=e._fieldsArray.indexOf(a),d=Be.safeProp(a.name);a.map?(f||(f=!0,i("var ks2")),i("if(m%s&&(ks2=Object.keys(m%s)).length){",d,d)("d%s={}",d)("for(var j=0;j<ks2.length;++j){"),i('if(ks2[j]==="__proto__")')("util.makeProp(d%s,ks2[j])",d),Zi(i,a,c,d+"[ks2[j]]")("}")):a.repeated?(i("if(m%s&&m%s.length){",d,d)("d%s=[]",d)("for(var j=0;j<m%s.length;++j){",d),Zi(i,a,c,d+"[j]")("}")):(i("if(m%s!=null&&Object.hasOwnProperty.call(m,%j)){",d,a.name),Zi(i,a,c,d),a.partOf&&i("if(o.oneofs)")("d%s=%j",Be.safeProp(a.partOf.name),a.name)),i("}")}return i("return d")}});var to=N(rr=>{"use strict";var Vs=rr,Ys=ei(),nr=We();Vs[".google.protobuf.Any"]={fromObject:function(o,e){if(e===void 0&&(e=0),e>nr.recursionLimit)throw Error("max depth exceeded");if(o&&o["@type"]){var t=o["@type"].substring(o["@type"].lastIndexOf("/")+1),i=this.lookup(t);if(i){var n=o["@type"].charAt(0)==="."?o["@type"].slice(1):o["@type"];return n.indexOf("/")===-1&&(n="/"+n),this.create({type_url:n,value:i.encode(i.fromObject(o,e+1)).finish()})}}return this.fromObject(o,e)},toObject:function(o,e,t){if(t===void 0&&(t=0),t>nr.recursionLimit)throw Error("max depth exceeded");var i="type.googleapis.com/",n="",r="";if(e&&e.json&&o.type_url&&o.value){r=o.type_url.substring(o.type_url.lastIndexOf("/")+1),n=o.type_url.substring(0,o.type_url.lastIndexOf("/")+1);var s=this.lookup(r);s&&(o=s.decode(o.value,void 0,void 0,t+1))}if(!(o instanceof this.ctor)&&o instanceof Ys){var p=o.$type.toObject(o,e,t+1),a=o.$type.fullName[0]==="."?o.$type.fullName.slice(1):o.$type.fullName;return n===""&&(n=i),r=n+a,p["@type"]=r,p}return this.toObject(o,e,t)}}});var oi=N((hd,ar)=>{"use strict";ar.exports=H;var Ne=Et();((H.prototype=Object.create(Ne.prototype)).constructor=H).className="Type";var Ks=xe(),no=dt(),ti=Ze(),Hs=jt(),Gs=Zt(),io=ei(),oo=Xt(),Qs=Gt(),fe=le(),Xs=ro(),$s=Xi(),js=Ji(),sr=eo(),Js=to();function H(o,e){o=o.replace(/\W/g,""),Ne.call(this,o,e),this.fields={},this.oneofs=void 0,this.extensions=void 0,this.reserved=void 0,this.group=void 0,this._fieldsById=null,this._fieldsArray=null,this._oneofsArray=null,this._ctor=null}Object.defineProperties(H.prototype,{fieldsById:{get:function(){if(this._fieldsById)return this._fieldsById;this._fieldsById={};for(var o=Object.keys(this.fields),e=0;e<o.length;++e){var t=this.fields[o[e]],i=t.id;if(this._fieldsById[i])throw Error("duplicate id "+i+" in "+this);this._fieldsById[i]=t}return this._fieldsById}},fieldsArray:{get:function(){return this._fieldsArray||(this._fieldsArray=fe.toArray(this.fields))}},oneofsArray:{get:function(){return this._oneofsArray||(this._oneofsArray=fe.toArray(this.oneofs))}},ctor:{get:function(){return this._ctor||(this.ctor=H.generateConstructor(this)())},set:function(o){var e=o.prototype;e instanceof io||((o.prototype=new io).constructor=o,fe.merge(o.prototype,e)),o.$type=o.prototype.$type=this,fe.merge(o,io,!0),this._ctor=o;for(var t=0;t<this.fieldsArray.length;++t)this._fieldsArray[t].resolve();var i={};for(t=0;t<this.oneofsArray.length;++t)i[this._oneofsArray[t].resolve().name]={get:fe.oneOfGetter(this._oneofsArray[t].oneof),set:fe.oneOfSetter(this._oneofsArray[t].oneof)};t&&Object.defineProperties(o.prototype,i)}}});H.generateConstructor=function(e){for(var t=fe.codegen(["p"],e.name),i=0,n;i<e.fieldsArray.length;++i)(n=e._fieldsArray[i]).map?t("this%s={}",fe.safeProp(n.name)):n.repeated&&t("this%s=[]",fe.safeProp(n.name));return t('if(p)for(var ks=Object.keys(p),i=0;i<ks.length;++i)if(p[ks[i]]!=null&&ks[i]!=="__proto__")')("this[ks[i]]=p[ks[i]]")};function ii(o){return o._fieldsById=o._fieldsArray=o._oneofsArray=null,delete o.encode,delete o.decode,delete o.verify,o}H.fromJSON=function(e,t,i){if(i===void 0&&(i=0),i>fe.nestingLimit)throw Error("max depth exceeded");var n=new H(e,t.options);n.extensions=t.extensions,n.reserved=t.reserved;for(var r=Object.keys(t.fields),s=0;s<r.length;++s)n.add((typeof t.fields[r[s]].keyType<"u"?Hs.fromJSON:ti.fromJSON)(r[s],t.fields[r[s]]));if(t.oneofs)for(r=Object.keys(t.oneofs),s=0;s<r.length;++s)n.add(no.fromJSON(r[s],t.oneofs[r[s]]));if(t.nested)for(r=Object.keys(t.nested),s=0;s<r.length;++s){var p=t.nested[r[s]];n.add((p.id!==void 0?ti.fromJSON:p.fields!==void 0?H.fromJSON:p.values!==void 0?Ks.fromJSON:p.methods!==void 0?Gs.fromJSON:Ne.fromJSON)(r[s],p,i+1))}return t.extensions&&t.extensions.length&&(n.extensions=t.extensions),t.reserved&&t.reserved.length&&(n.reserved=t.reserved),t.group&&(n.group=!0),t.comment&&(n.comment=t.comment),t.edition&&(n._edition=t.edition),n._defaultEdition="proto3",n};H.prototype.toJSON=function(e){var t=Ne.prototype.toJSON.call(this,e),i=e?!!e.keepComments:!1;return fe.toObject(["edition",this._editionToJSON(),"options",t&&t.options||void 0,"oneofs",Ne.arrayToJSON(this.oneofsArray,e),"fields",Ne.arrayToJSON(this.fieldsArray.filter(function(n){return!n.declaringField}),e)||{},"extensions",this.extensions&&this.extensions.length?this.extensions:void 0,"reserved",this.reserved&&this.reserved.length?this.reserved:void 0,"group",this.group||void 0,"nested",t&&t.nested||void 0,"comment",i?this.comment:void 0])};H.prototype.resolveAll=function(){if(!this._needsRecursiveResolve)return this;Ne.prototype.resolveAll.call(this);var e=this.oneofsArray;for(i=0;i<e.length;)e[i++].resolve();for(var t=this.fieldsArray,i=0;i<t.length;)t[i++].resolve();return this};H.prototype._resolveFeaturesRecursive=function(e){return this._needsRecursiveFeatureResolution?(e=this._edition||e,Ne.prototype._resolveFeaturesRecursive.call(this,e),this.oneofsArray.forEach(t=>{t._resolveFeatures(e)}),this.fieldsArray.forEach(t=>{t._resolveFeatures(e)}),this):this};H.prototype.get=function(e){return Object.prototype.hasOwnProperty.call(this.fields,e)?this.fields[e]:this.oneofs&&Object.prototype.hasOwnProperty.call(this.oneofs,e)?this.oneofs[e]:this.nested&&Object.prototype.hasOwnProperty.call(this.nested,e)?this.nested[e]:null};H.prototype.add=function(e){if(this.get(e.name))throw Error("duplicate name '"+e.name+"' in "+this);if(e instanceof ti&&e.extend===void 0){if(this._fieldsById?this._fieldsById[e.id]:this.fieldsById[e.id])throw Error("duplicate id "+e.id+" in "+this);if(this.isReservedId(e.id))throw Error("id "+e.id+" is reserved in "+this);if(this.isReservedName(e.name)||e.name.charAt(0)==="$")throw Error("name '"+e.name+"' is reserved in "+this);return e.name==="__proto__"?this:(e.parent&&e.parent.remove(e),this.fields[e.name]=e,e.message=this,e.onAdd(this),ii(this))}if(e instanceof no){if(e.name.charAt(0)==="$")throw Error("name '"+e.name+"' is reserved in "+this);return e.name==="__proto__"?this:(this.oneofs||(this.oneofs={}),this.oneofs[e.name]=e,e.onAdd(this),ii(this))}return Ne.prototype.add.call(this,e)};H.prototype.remove=function(e){if(e instanceof ti&&e.extend===void 0){if(!this.fields||this.fields[e.name]!==e)throw Error(e+" is not a member of "+this);return delete this.fields[e.name],e.parent=null,e.onRemove(this),ii(this)}if(e instanceof no){if(!this.oneofs||this.oneofs[e.name]!==e)throw Error(e+" is not a member of "+this);return delete this.oneofs[e.name],e.parent=null,e.onRemove(this),ii(this)}return Ne.prototype.remove.call(this,e)};H.prototype.isReservedId=function(e){return Ne.isReservedId(this.reserved,e)};H.prototype.isReservedName=function(e){return Ne.isReservedName(this.reserved,e)};H.prototype.create=function(e){return new this.ctor(e)};H.prototype.setup=function(){for(var e=this.fullName,t=[],i=0;i<this.fieldsArray.length;++i)t.push(this._fieldsArray[i].resolve().resolvedType);this.encode=Xs(this)({Writer:Qs,types:t,util:fe}),this.decode=$s(this)({Reader:oo,types:t,util:fe}),this.verify=js(this)({types:t,util:fe}),this.fromObject=sr.fromObject(this)({types:t,util:fe}),this.toObject=sr.toObject(this)({types:t,util:fe});var n=Js[e];if(n){var r=Object.create(this);r.fromObject=this.fromObject,this.fromObject=n.fromObject.bind(r),r.toObject=this.toObject,this.toObject=n.toObject.bind(r)}return this};H.prototype.encode=function(e,t){return this.setup().encode.apply(this,arguments)};H.prototype.encodeDelimited=function(e,t){return this.encode(e,t&&t.len?t.fork():t).ldelim()};H.prototype.decode=function(e,t,i,n){return this.setup().decode(e,t,i,n)};H.prototype.decodeDelimited=function(e){return e instanceof oo||(e=oo.create(e)),this.decode(e,e.uint32())};H.prototype.verify=function(e,t){return this.setup().verify(e,t)};H.prototype.fromObject=function(e,t){return this.setup().fromObject(e,t)};H.prototype.toObject=function(e,t){return this.setup().toObject.apply(this,arguments)};H.d=function(e){return function(i){fe.decorateType(i,e)}}});var ai=N((gd,lr)=>{"use strict";lr.exports=Ie;var si=Et();((Ie.prototype=Object.create(si.prototype)).constructor=Ie).className="Root";var ni=Ze(),so=xe(),zs=dt(),Ve=le(),ao,po,Ct;function Ie(o){si.call(this,"",o),this.deferred=[],this.files=[],this._edition="proto2",this._fullyQualifiedObjects={}}Ie.fromJSON=function(e,t,i){return i=Ve.checkDepth(i),t||(t=new Ie),e.options&&t.setOptions(e.options),t.addJSON(e.nested,i).resolveAll()};Ie.prototype.resolvePath=Ve.path.resolve;Ie.prototype.fetch=Ve.fetch;function dr(){}Ie.prototype.load=function o(e,t,i){typeof t=="function"&&(i=t,t=void 0);var n=this;if(!i)return Ve.asPromise(o,n,e,t);var r=i===dr;function s(T,h){if(i){if(r)throw T;h&&h.resolveAll();var A=i;i=null,A(T,h)}}function p(T){var h=T.lastIndexOf("google/protobuf/");if(h>-1){var A=T.substring(h);if(A in Ct)return A}return null}function a(T,h,A){A===void 0&&(A=0);try{if(A>Ve.recursionLimit)throw Error("max depth exceeded");if(Ve.isString(h)&&h.charAt(0)==="{"&&(h=JSON.parse(h)),!Ve.isString(h))n.setOptions(h.options).addJSON(h.nested);else{po.filename=T;var O=po(h,n,t),M,V=0;if(O.imports)for(;V<O.imports.length;++V)(M=p(O.imports[V])||n.resolvePath(T,O.imports[V]))&&d(M,!1,A+1);if(O.weakImports)for(V=0;V<O.weakImports.length;++V)(M=p(O.weakImports[V])||n.resolvePath(T,O.weakImports[V]))&&d(M,!0,A+1)}}catch(j){s(j)}!r&&!u&&s(null,n)}function d(T,h,A){if(A===void 0&&(A=0),T=p(T)||T,!(n.files.indexOf(T)>-1)){if(n.files.push(T),T in Ct){r?a(T,Ct[T],A):(++u,setTimeout(function(){--u,a(T,Ct[T],A)}));return}if(r){var O;try{O=Ve.fs.readFileSync(T).toString("utf8")}catch(M){h||s(M);return}a(T,O,A)}else++u,n.fetch(T,function(M,V){if(--u,!!i){if(M){h?u||s(null,n):s(M);return}a(T,V,A)}})}}var u=0;Ve.isString(e)&&(e=[e]);for(var f=0,c;f<e.length;++f)(c=n.resolvePath("",e[f]))&&d(c);return r?(n.resolveAll(),n):(u||s(null,n),n)};Ie.prototype.loadSync=function(e,t){if(!Ve.isNode)throw Error("not supported");return this.load(e,t,dr)};Ie.prototype.resolveAll=function(){if(!this._needsRecursiveResolve)return this;if(this.deferred.length)throw Error("unresolvable extensions: "+this.deferred.map(function(e){return"'extend "+e.extend+"' in "+e.parent.fullName}).join(", "));return si.prototype.resolveAll.call(this)};var ri=/^[A-Z]/;function pr(o,e){var t=e.parent.lookup(e.extend);if(t){var i=new ni(e.fullName,e.id,e.type,e.rule,void 0,e.options);return t.get(i.name)||(i.declaringField=e,e.extensionField=i,t.add(i)),!0}return!1}Ie.prototype._handleAdd=function(e){if(e instanceof ni)e.extend!==void 0&&!e.extensionField&&(pr(this,e)||this.deferred.push(e));else if(e instanceof so)ri.test(e.name)&&(e.parent[e.name]=e.values);else if(!(e instanceof zs)){if(e instanceof ao)for(var t=0;t<this.deferred.length;)pr(this,this.deferred[t])?this.deferred.splice(t,1):++t;for(var i=0;i<e.nestedArray.length;++i)this._handleAdd(e._nestedArray[i]);ri.test(e.name)&&(e.parent[e.name]=e)}(e instanceof ao||e instanceof so||e instanceof ni)&&(this._fullyQualifiedObjects[e.fullName]=e)};Ie.prototype._handleRemove=function(e){if(e instanceof ni){if(e.extend!==void 0)if(e.extensionField)e.extensionField.parent.remove(e.extensionField),e.extensionField=null;else{var t=this.deferred.indexOf(e);t>-1&&this.deferred.splice(t,1)}}else if(e instanceof so)ri.test(e.name)&&delete e.parent[e.name];else if(e instanceof si){for(var i=0;i<e.nestedArray.length;++i)this._handleRemove(e._nestedArray[i]);ri.test(e.name)&&delete e.parent[e.name]}delete this._fullyQualifiedObjects[e.fullName]};Ie._configure=function(o,e,t){ao=o,po=e,Ct=t}});var le=N((Td,fr)=>{"use strict";var $=fr.exports=We(),ur=Fi(),lo,uo;$.codegen=Dn();$.fetch=Pn();$.path=Mn();$.patterns=Bn();var cr=$.patterns.reservedRe;$.fs=Yn();$.checkDepth=function(e){if(e===void 0&&(e=0),e>$.recursionLimit)throw Error("max depth exceeded");return e};$.toArray=function(e){if(e){for(var t=Object.keys(e),i=new Array(t.length),n=0;n<t.length;)i[n]=e[t[n++]];return i}return[]};$.toObject=function(e){for(var t={},i=0;i<e.length;){var n=e[i++],r=e[i++];r!==void 0&&(t[n]=r)}return t};$.isReserved=function(e){return cr.test(e)};$.safeProp=function(e){return!/^[$\w_]+$/.test(e)||cr.test(e)?"["+JSON.stringify(e)+"]":"."+e};$.ucFirst=function(e){return e.charAt(0).toUpperCase()+e.substring(1)};var Zs=/_([a-z])/g;$.camelCase=function(e){return e.substring(0,1)+e.substring(1).replace(Zs,function(t,i){return i.toUpperCase()})};$.compareFieldsById=function(e,t){return e.id-t.id};$.decorateType=function(e,t){if(e.$type)return t&&e.$type.name!==t&&($.decorateRoot.remove(e.$type),e.$type.name=t,$.decorateRoot.add(e.$type)),e.$type;lo||(lo=oi());var i=new lo(t||e.name);return $.decorateRoot.add(i),i.ctor=e,Object.defineProperty(e,"$type",{value:i,enumerable:!1}),Object.defineProperty(e.prototype,"$type",{value:i,enumerable:!1}),i};var ea=0;$.decorateEnum=function(e){if(e.$type)return e.$type;uo||(uo=xe());var t=new uo("Enum"+ea++,e);return $.decorateRoot.add(t),Object.defineProperty(e,"$type",{value:t,enumerable:!1}),t};$.setProperty=function(e,t,i,n){function r(s,p,a){var d=p.shift();if($.isUnsafeProperty(d))return s;if(p.length>0)s[d]=r(s[d]||{},p,a);else{var u=s[d];if(u&&n)return s;u&&(a=[].concat(u).concat(a)),s[d]=a}return s}if(typeof e!="object")throw TypeError("dst must be an object");if(!t)throw TypeError("path must be specified");if(t=t.split("."),t.length>$.recursionLimit)throw Error("max depth exceeded");return r(e,t,i)};Object.defineProperty($,"decorateRoot",{get:function(){return ur.decorated||(ur.decorated=new(ai()))}})});var lt=N(yr=>{"use strict";var Nt=yr,ta=le(),ia=["double","float","int32","uint32","sint32","fixed32","sfixed32","int64","uint64","sint64","fixed64","sfixed64","bool","string","bytes"];function Dt(o,e){var t=0,i=Object.create(null);for(e|=0;t<o.length;)i[ia[t+e]]=o[t++];return i}Nt.basic=Dt([1,5,0,0,0,5,5,0,0,0,1,1,0,2,2]);Nt.defaults=Dt([0,0,0,0,0,0,0,0,0,0,0,0,!1,"",ta.emptyArray,null]);Nt.long=Dt([0,0,0,1,1],7);Nt.mapKey=Dt([0,0,0,5,5,0,0,0,1,1,0,2],2);Nt.packed=Dt([1,5,0,0,0,5,5,0,0,0,1,1,0])});var Ze=N((vd,Er)=>{"use strict";Er.exports=ue;var xt=et();((ue.prototype=Object.create(xt.prototype)).constructor=ue).className="Field";var mr=xe(),co=lt(),ne=le(),Wt,oa=/^required|optional|repeated$/;ue.fromJSON=function(e,t){var i=new ue(e,t.id,t.type,t.rule,t.extend,t.options,t.comment);return t.edition&&(i._edition=t.edition),i._defaultEdition="proto3",i};function ue(o,e,t,i,n,r,s){if(ne.isObject(i)?(s=n,r=i,i=n=void 0):ne.isObject(n)&&(s=r,r=n,n=void 0),xt.call(this,o,r),!ne.isInteger(e)||e<0)throw TypeError("id must be a non-negative integer");if(!ne.isString(t))throw TypeError("type must be a string");if(i!==void 0&&!oa.test(i=i.toString().toLowerCase()))throw TypeError("rule must be a string rule");if(n!==void 0&&!ne.isString(n))throw TypeError("extend must be a string");i==="proto3_optional"&&(i="optional"),this.rule=i&&i!=="optional"?i:void 0,this.type=t,this.id=e,this.extend=n||void 0,this.repeated=i==="repeated",this.map=!1,this.message=null,this.partOf=null,this.typeDefault=null,this.defaultValue=null,this.long=ne.Long?co.long[t]!==void 0:!1,this.bytes=t==="bytes",this.resolvedType=null,this.extensionField=null,this.declaringField=null,this.comment=s}Object.defineProperty(ue.prototype,"required",{get:function(){return this._features.field_presence==="LEGACY_REQUIRED"}});Object.defineProperty(ue.prototype,"optional",{get:function(){return!this.required}});Object.defineProperty(ue.prototype,"delimited",{get:function(){return this.resolvedType instanceof Wt&&this._features.message_encoding==="DELIMITED"}});Object.defineProperty(ue.prototype,"packed",{get:function(){return this._features.repeated_field_encoding==="PACKED"}});Object.defineProperty(ue.prototype,"hasPresence",{get:function(){return this.repeated||this.map?!1:this.partOf||this.declaringField||this.extensionField||this._features.field_presence!=="IMPLICIT"}});ue.prototype.setOption=function(e,t,i){return xt.prototype.setOption.call(this,e,t,i)};ue.prototype.toJSON=function(e){var t=e?!!e.keepComments:!1;return ne.toObject(["edition",this._editionToJSON(),"rule",this.rule!=="optional"&&this.rule||void 0,"type",this.type,"id",this.id,"extend",this.extend,"options",this.options,"comment",t?this.comment:void 0])};ue.prototype.resolve=function(){if(this.resolved)return this;if((this.typeDefault=co.defaults[this.type])===void 0?(this.resolvedType=(this.declaringField?this.declaringField.parent:this.parent).lookupTypeOrEnum(this.type),this.resolvedType instanceof Wt?this.typeDefault=null:this.typeDefault=this.resolvedType.values[Object.keys(this.resolvedType.values)[0]]):this.options&&this.options.proto3_optional&&(this.typeDefault=null),this.options&&this.options.default!=null&&(this.typeDefault=this.options.default,this.resolvedType instanceof mr&&typeof this.typeDefault=="string"&&(this.typeDefault=this.resolvedType.values[this.typeDefault])),this.options&&(this.options.packed!==void 0&&this.resolvedType&&!(this.resolvedType instanceof mr)&&delete this.options.packed,Object.keys(this.options).length||(this.options=void 0)),this.long)this.typeDefault=ne.Long.fromNumber(this.typeDefault,this.type==="uint64"||this.type==="fixed64"),Object.freeze&&Object.freeze(this.typeDefault);else if(this.bytes&&typeof this.typeDefault=="string"){var e;ne.base64.test(this.typeDefault)?ne.base64.decode(this.typeDefault,e=ne.newBuffer(ne.base64.length(this.typeDefault)),0):ne.utf8.write(this.typeDefault,e=ne.newBuffer(ne.utf8.length(this.typeDefault)),0),this.typeDefault=e}return this.map?this.defaultValue=ne.emptyObject:this.repeated?this.defaultValue=ne.emptyArray:this.defaultValue=this.typeDefault,this.parent instanceof Wt&&(this.parent.ctor.prototype[this.name]=this.defaultValue),xt.prototype.resolve.call(this)};ue.prototype._inferLegacyProtoFeatures=function(e){if(e!=="proto2"&&e!=="proto3")return{};var t={};if(this.rule==="required"&&(t.field_presence="LEGACY_REQUIRED"),this.parent&&co.defaults[this.type]===void 0){var i=this.parent.get(this.type.split(".").pop());i&&i instanceof Wt&&i.group&&(t.message_encoding="DELIMITED")}return this.getOption("packed")===!0?t.repeated_field_encoding="PACKED":this.getOption("packed")===!1&&(t.repeated_field_encoding="EXPANDED"),t};ue.prototype._resolveFeatures=function(e){return xt.prototype._resolveFeatures.call(this,this._edition||e)};ue.d=function(e,t,i,n){return typeof t=="function"?t=ne.decorateType(t).name:t&&typeof t=="object"&&(t=ne.decorateEnum(t).name),function(s,p){ne.decorateType(s.constructor).add(new ue(p,e,t,i,{default:n}))}};ue._configure=function(e){Wt=e}});var dt=N((wd,Tr)=>{"use strict";Tr.exports=Re;var di=et();((Re.prototype=Object.create(di.prototype)).constructor=Re).className="OneOf";var hr=Ze(),pi=le();function Re(o,e,t,i){if(Array.isArray(e)||(t=e,e=void 0),di.call(this,o,t),!(e===void 0||Array.isArray(e)))throw TypeError("fieldNames must be an Array");this.oneof=e||[],this.fieldsArray=[],this.comment=i}Re.fromJSON=function(e,t){return new Re(e,t.oneof,t.options,t.comment)};Re.prototype.toJSON=function(e){var t=e?!!e.keepComments:!1;return pi.toObject(["options",this.options,"oneof",this.oneof,"comment",t?this.comment:void 0])};function gr(o){if(o.parent)for(var e=0;e<o.fieldsArray.length;++e)o.fieldsArray[e].parent||o.parent.add(o.fieldsArray[e])}Re.prototype.add=function(e){if(!(e instanceof hr))throw TypeError("field must be a Field");return e.parent&&e.parent!==this.parent&&e.parent.remove(e),this.oneof.push(e.name),this.fieldsArray.push(e),e.partOf=this,gr(this),this};Re.prototype.remove=function(e){if(!(e instanceof hr))throw TypeError("field must be a Field");var t=this.fieldsArray.indexOf(e);if(t<0)throw Error(e+" is not a member of "+this);return this.fieldsArray.splice(t,1),t=this.oneof.indexOf(e.name),t>-1&&this.oneof.splice(t,1),e.partOf=null,this};Re.prototype.onAdd=function(e){di.prototype.onAdd.call(this,e);for(var t=this,i=0;i<this.oneof.length;++i){var n=e.get(this.oneof[i]);n&&!n.partOf&&(n.partOf=t,t.fieldsArray.push(n))}gr(this)};Re.prototype.onRemove=function(e){for(var t=0,i;t<this.fieldsArray.length;++t)(i=this.fieldsArray[t]).parent&&i.parent.remove(i);di.prototype.onRemove.call(this,e)};Object.defineProperty(Re.prototype,"isProto3Optional",{get:function(){if(this.fieldsArray==null||this.fieldsArray.length!==1)return!1;var o=this.fieldsArray[0];return o.options!=null&&o.options.proto3_optional===!0}});Re.d=function(){for(var e=new Array(arguments.length),t=0;t<arguments.length;)e[t]=arguments[t++];return function(n,r){pi.decorateType(n.constructor).add(new Re(r,e)),Object.defineProperty(n,r,{get:pi.oneOfGetter(e),set:pi.oneOfSetter(e)})}}});var et=N((kd,_r)=>{"use strict";_r.exports=ye;ye.className="ReflectionObject";var na=dt(),Le=le(),li,ra={enum_type:"OPEN",field_presence:"EXPLICIT",json_format:"ALLOW",message_encoding:"LENGTH_PREFIXED",repeated_field_encoding:"PACKED",utf8_validation:"VERIFY"},sa={enum_type:"CLOSED",field_presence:"EXPLICIT",json_format:"LEGACY_BEST_EFFORT",message_encoding:"LENGTH_PREFIXED",repeated_field_encoding:"EXPANDED",utf8_validation:"NONE"},aa={enum_type:"OPEN",field_presence:"IMPLICIT",json_format:"ALLOW",message_encoding:"LENGTH_PREFIXED",repeated_field_encoding:"PACKED",utf8_validation:"VERIFY"};function ye(o,e){if(!Le.isString(o))throw TypeError("name must be a string");if(e&&!Le.isObject(e))throw TypeError("options must be an object");this.options=e,this.parsedOptions=null,this.name=o,this._edition=null,this._defaultEdition="proto2",this._features={},this._featuresResolved=!1,this.parent=null,this.resolved=!1,this.comment=null,this.filename=null}Object.defineProperties(ye.prototype,{root:{get:function(){for(var o=this;o.parent!==null;)o=o.parent;return o}},fullName:{get:function(){for(var o=[this.name],e=this.parent;e;)o.unshift(e.name),e=e.parent;return o.join(".")}}});ye.prototype.toJSON=function(){throw Error()};ye.prototype.onAdd=function(e){this.parent&&this.parent!==e&&this.parent.remove(this),this.parent=e,this.resolved=!1;var t=e.root;t instanceof li&&t._handleAdd(this)};ye.prototype.onRemove=function(e){var t=e.root;t instanceof li&&t._handleRemove(this),this.parent=null,this.resolved=!1};ye.prototype.resolve=function(){return this.resolved?this:(this.root instanceof li&&(this.resolved=!0),this)};ye.prototype._resolveFeaturesRecursive=function(e){return this._resolveFeatures(this._edition||e)};ye.prototype._resolveFeatures=function(e){if(!this._featuresResolved){var t={};if(!e)throw new Error("Unknown edition for "+this.fullName);var i=Le.merge({},this.options&&this.options.features,this._inferLegacyProtoFeatures(e));if(this._edition){if(e==="proto2")t=Object.assign({},sa);else if(e==="proto3")t=Object.assign({},aa);else if(e==="2023")t=Object.assign({},ra);else throw new Error("Unknown edition: "+e);this._features=Le.merge(t,i),this._featuresResolved=!0;return}if(this.partOf instanceof na){var n=Le.merge({},this.partOf._features);this._features=Le.merge(n,i)}else if(!this.declaringField)if(this.parent){var r=Le.merge({},this.parent._features);this._features=Le.merge(r,i)}else throw new Error("Unable to find a parent for "+this.fullName);this.extensionField&&(this.extensionField._features=this._features),this._featuresResolved=!0}};ye.prototype._inferLegacyProtoFeatures=function(){return{}};ye.prototype.getOption=function(e){if(this.options)return this.options[e]};ye.prototype.setOption=function(e,t,i){return e==="__proto__"?this:(this.options||(this.options={}),/^features\./.test(e)?Le.setProperty(this.options,e,t,i):(!i||this.options[e]===void 0)&&(this.getOption(e)!==t&&(this.resolved=!1),this.options[e]=t),this)};ye.prototype.setParsedOption=function(e,t,i){if(e==="__proto__")return this;this.parsedOptions||(this.parsedOptions=[]);var n=this.parsedOptions;if(i){var r=n.find(function(a){return Object.prototype.hasOwnProperty.call(a,e)});if(r){var s=r[e];Le.setProperty(s,i,t)}else r={},r[e]=Le.setProperty({},i,t),n.push(r)}else{var p={};p[e]=t,n.push(p)}return this};ye.prototype.setOptions=function(e,t){if(e)for(var i=Object.keys(e),n=0;n<i.length;++n)this.setOption(i[n],e[i[n]],t);return this};ye.prototype.toString=function(){var e=this.constructor.className,t=this.fullName;return t.length?e+" "+t:e};ye.prototype._editionToJSON=function(){if(!(!this._edition||this._edition==="proto3"))return this._edition};ye._configure=function(o){li=o}});var xe=N((Ad,wr)=>{"use strict";wr.exports=Pe;var fo=et();((Pe.prototype=Object.create(fo.prototype)).constructor=Pe).className="Enum";var vr=Et(),gt=le();function Pe(o,e,t,i,n,r){if(fo.call(this,o,t),e&&typeof e!="object")throw TypeError("values must be an object");if(this.valuesById={},this.values=Object.create(this.valuesById),this.comment=i,this.comments=n||{},this.valuesOptions=r,this._valuesFeatures={},this.reserved=void 0,e)for(var s=Object.keys(e),p=0;p<s.length;++p)s[p]!=="__proto__"&&typeof e[s[p]]=="number"&&(this.valuesById[this.values[s[p]]=e[s[p]]]=s[p])}Pe.prototype._resolveFeatures=function(e){return e=this._edition||e,fo.prototype._resolveFeatures.call(this,e),Object.keys(this.values).forEach(t=>{var i=gt.merge({},this._features);this._valuesFeatures[t]=gt.merge(i,this.valuesOptions&&this.valuesOptions[t]&&this.valuesOptions[t].features||{})}),this};Pe.fromJSON=function(e,t){var i=new Pe(e,t.values,t.options,t.comment,t.comments);return i.reserved=t.reserved,t.edition&&(i._edition=t.edition),i._defaultEdition="proto3",i};Pe.prototype.toJSON=function(e){var t=e?!!e.keepComments:!1;return gt.toObject(["edition",this._editionToJSON(),"options",this.options,"valuesOptions",this.valuesOptions,"values",this.values,"reserved",this.reserved&&this.reserved.length?this.reserved:void 0,"comment",t?this.comment:void 0,"comments",t?this.comments:void 0])};Pe.prototype.add=function(e,t,i,n){if(!gt.isString(e))throw TypeError("name must be a string");if(!gt.isInteger(t))throw TypeError("id must be an integer");if(e==="__proto__")return this;if(this.values[e]!==void 0)throw Error("duplicate name '"+e+"' in "+this);if(this.isReservedId(t))throw Error("id "+t+" is reserved in "+this);if(this.isReservedName(e))throw Error("name '"+e+"' is reserved in "+this);if(this.valuesById[t]!==void 0){if(!(this.options&&this.options.allow_alias))throw Error("duplicate id "+t+" in "+this);this.values[e]=t}else this.valuesById[this.values[e]=t]=e;return n&&(this.valuesOptions===void 0&&(this.valuesOptions={}),this.valuesOptions[e]=n||null),this.comments[e]=i||null,this};Pe.prototype.remove=function(e){if(!gt.isString(e))throw TypeError("name must be a string");var t=this.values[e];if(t==null)throw Error("name '"+e+"' does not exist in "+this);return delete this.valuesById[t],delete this.values[e],delete this.comments[e],this.valuesOptions&&delete this.valuesOptions[e],this};Pe.prototype.isReservedId=function(e){return vr.isReservedId(this.reserved,e)};Pe.prototype.isReservedName=function(e){return vr.isReservedName(this.reserved,e)}});var ro=N((Id,Ar)=>{"use strict";Ar.exports=da;var pa=xe(),yo=lt(),mo=le();function kr(o,e,t,i){return e.delimited?o("types[%i].encode(%s,w.uint32(%i),q+1).uint32(%i)",t,i,(e.id<<3|3)>>>0,(e.id<<3|4)>>>0):o("types[%i].encode(%s,w.uint32(%i).fork(),q+1).ldelim()",t,i,(e.id<<3|2)>>>0)}function da(o){for(var e=mo.codegen(["m","w","q"],o.name+"$encode")("if(!w)")("w=Writer.create()")("if(q===undefined)q=0")("if(q>util.recursionLimit)")('throw Error("max depth exceeded")'),t,i,n=o.fieldsArray.slice().sort(mo.compareFieldsById),t=0;t<n.length;++t){var r=n[t].resolve(),s=o._fieldsArray.indexOf(r),p=r.resolvedType instanceof pa?"int32":r.type,a=yo.basic[p];i="m"+mo.safeProp(r.name),r.map?(e("if(%s!=null&&Object.hasOwnProperty.call(m,%j)){",i,r.name)("for(var ks=Object.keys(%s),i=0;i<ks.length;++i){",i)("w.uint32(%i).fork().uint32(%i).%s(ks[i])",(r.id<<3|2)>>>0,8|yo.mapKey[r.keyType],r.keyType),a===void 0?e("types[%i].encode(%s[ks[i]],w.uint32(18).fork(),q+1).ldelim().ldelim()",s,i):e(".uint32(%i).%s(%s[ks[i]]).ldelim()",16|a,p,i),e("}")("}")):r.repeated?(e("if(%s!=null&&%s.length){",i,i),r.packed&&yo.packed[p]!==void 0?e("w.uint32(%i).fork()",(r.id<<3|2)>>>0)("for(var i=0;i<%s.length;++i)",i)("w.%s(%s[i])",p,i)("w.ldelim()"):(e("for(var i=0;i<%s.length;++i)",i),a===void 0?kr(e,r,s,i+"[i]"):e("w.uint32(%i).%s(%s[i])",(r.id<<3|a)>>>0,p,i)),e("}")):(r.optional&&e("if(%s!=null&&Object.hasOwnProperty.call(m,%j))",i,r.name),a===void 0?kr(e,r,s,i):e("w.uint32(%i).%s(%s)",(r.id<<3|a)>>>0,p,i))}return e("return w")}});var Rr=N((Rd,Ir)=>{"use strict";var F=Ir.exports=Cn();F.build="light";function la(o,e,t){return typeof e=="function"?(t=e,e=new F.Root):e||(e=new F.Root),e.load(o,t)}F.load=la;function ua(o,e){return e||(e=new F.Root),e.loadSync(o)}F.loadSync=ua;F.encoder=ro();F.decoder=Xi();F.verifier=Ji();F.converter=eo();F.ReflectionObject=et();F.Namespace=Et();F.Root=ai();F.Enum=xe();F.Type=oi();F.Field=Ze();F.OneOf=dt();F.MapField=jt();F.Service=Zt();F.Method=Jt();F.Message=ei();F.wrappers=to();F.types=lt();F.util=le();F.ReflectionObject._configure(F.Root);F.Namespace._configure(F.Type,F.Service,F.Enum);F.Root._configure(F.Type);F.Field._configure(F.Type)});var ho=N((Od,Sr)=>{"use strict";Sr.exports=br;var Eo=/[\s{}=;:[\],'"()<>]/g,ca=/(?:"([^"\\]*(?:\\.[^"\\]*)*)")/g,fa=/(?:'([^'\\]*(?:\\.[^'\\]*)*)')/g,ya=/^ *[*/]+ */,ma=/^\s*\*?\/*/,Ea=/\n/g,ha=/\s/,ga=/\\(.?)/g,Ta={0:"\0",r:"\r",n:`
|
|
@@ -4,4 +4,4 @@ Contains @volter/twin-tiktok 1.0.0 by Volter (https://github.com/volter-ai),
|
|
|
4
4
|
licensed under the Apache License, Version 2.0 (see LICENSE).
|
|
5
5
|
|
|
6
6
|
Modified by AgentTwin: bundled and minified into one file; only code reachable from the pack's
|
|
7
|
-
fetch factory is included; shared modules are imported from the AgentTwin twin engine.
|
|
7
|
+
fetch factory is included; shared modules are imported from the AgentTwin twin engine; the engine world clock supports an async-local per-run override.
|
|
@@ -4,4 +4,4 @@ Contains @volter/twin-tinybird 1.0.2 by Volter (https://github.com/volter-ai),
|
|
|
4
4
|
licensed under the Apache License, Version 2.0 (see LICENSE).
|
|
5
5
|
|
|
6
6
|
Modified by AgentTwin: bundled and minified into one file; only code reachable from the pack's
|
|
7
|
-
fetch factory is included; shared modules are imported from the AgentTwin twin engine.
|
|
7
|
+
fetch factory is included; shared modules are imported from the AgentTwin twin engine; the engine world clock supports an async-local per-run override.
|
|
@@ -4,4 +4,4 @@ Contains @volter/twin-togetherai 0.1.37 by Volter (https://github.com/volter-ai)
|
|
|
4
4
|
licensed under the Apache License, Version 2.0 (see LICENSE).
|
|
5
5
|
|
|
6
6
|
Modified by AgentTwin: bundled and minified into one file; only code reachable from the pack's
|
|
7
|
-
fetch factory is included; shared modules are imported from the AgentTwin twin engine.
|
|
7
|
+
fetch factory is included; shared modules are imported from the AgentTwin twin engine; the engine world clock supports an async-local per-run override.
|
|
@@ -4,4 +4,4 @@ Contains @volter/twin-tremendous 1.0.1 by Volter (https://github.com/volter-ai),
|
|
|
4
4
|
licensed under the Apache License, Version 2.0 (see LICENSE).
|
|
5
5
|
|
|
6
6
|
Modified by AgentTwin: bundled and minified into one file; only code reachable from the pack's
|
|
7
|
-
fetch factory is included; shared modules are imported from the AgentTwin twin engine.
|
|
7
|
+
fetch factory is included; shared modules are imported from the AgentTwin twin engine; the engine world clock supports an async-local per-run override.
|
|
@@ -4,4 +4,4 @@ Contains @volter/twin-tripo 1.0.0 by Volter (https://github.com/volter-ai),
|
|
|
4
4
|
licensed under the Apache License, Version 2.0 (see LICENSE).
|
|
5
5
|
|
|
6
6
|
Modified by AgentTwin: bundled and minified into one file; only code reachable from the pack's
|
|
7
|
-
fetch factory is included; shared modules are imported from the AgentTwin twin engine.
|
|
7
|
+
fetch factory is included; shared modules are imported from the AgentTwin twin engine; the engine world clock supports an async-local per-run override.
|
|
@@ -4,4 +4,4 @@ Contains @volter/twin-tunnel 1.0.1 by Volter (https://github.com/volter-ai),
|
|
|
4
4
|
licensed under the Apache License, Version 2.0 (see LICENSE).
|
|
5
5
|
|
|
6
6
|
Modified by AgentTwin: bundled and minified into one file; only code reachable from the pack's
|
|
7
|
-
fetch factory is included; shared modules are imported from the AgentTwin twin engine.
|
|
7
|
+
fetch factory is included; shared modules are imported from the AgentTwin twin engine; the engine world clock supports an async-local per-run override.
|
|
@@ -4,4 +4,4 @@ Contains @volter/twin-twelvelabs 0.1.37 by Volter (https://github.com/volter-ai)
|
|
|
4
4
|
licensed under the Apache License, Version 2.0 (see LICENSE).
|
|
5
5
|
|
|
6
6
|
Modified by AgentTwin: bundled and minified into one file; only code reachable from the pack's
|
|
7
|
-
fetch factory is included; shared modules are imported from the AgentTwin twin engine.
|
|
7
|
+
fetch factory is included; shared modules are imported from the AgentTwin twin engine; the engine world clock supports an async-local per-run override.
|
|
@@ -4,4 +4,4 @@ Contains @volter/twin-twilio 0.1.37 by Volter (https://github.com/volter-ai),
|
|
|
4
4
|
licensed under the Apache License, Version 2.0 (see LICENSE).
|
|
5
5
|
|
|
6
6
|
Modified by AgentTwin: bundled and minified into one file; only code reachable from the pack's
|
|
7
|
-
fetch factory is included; shared modules are imported from the AgentTwin twin engine.
|
|
7
|
+
fetch factory is included; shared modules are imported from the AgentTwin twin engine; the engine world clock supports an async-local per-run override.
|
|
@@ -4,4 +4,4 @@ Contains @volter/twin-twitch 1.0.1 by Volter (https://github.com/volter-ai),
|
|
|
4
4
|
licensed under the Apache License, Version 2.0 (see LICENSE).
|
|
5
5
|
|
|
6
6
|
Modified by AgentTwin: bundled and minified into one file; only code reachable from the pack's
|
|
7
|
-
fetch factory is included; shared modules are imported from the AgentTwin twin engine.
|
|
7
|
+
fetch factory is included; shared modules are imported from the AgentTwin twin engine; the engine world clock supports an async-local per-run override.
|
|
@@ -4,4 +4,4 @@ Contains @volter/twin-upstash 1.0.3 by Volter (https://github.com/volter-ai),
|
|
|
4
4
|
licensed under the Apache License, Version 2.0 (see LICENSE).
|
|
5
5
|
|
|
6
6
|
Modified by AgentTwin: bundled and minified into one file; only code reachable from the pack's
|
|
7
|
-
fetch factory is included; shared modules are imported from the AgentTwin twin engine.
|
|
7
|
+
fetch factory is included; shared modules are imported from the AgentTwin twin engine; the engine world clock supports an async-local per-run override.
|
|
@@ -4,4 +4,4 @@ Contains @volter/twin-upstashvector 0.1.37 by Volter (https://github.com/volter-
|
|
|
4
4
|
licensed under the Apache License, Version 2.0 (see LICENSE).
|
|
5
5
|
|
|
6
6
|
Modified by AgentTwin: bundled and minified into one file; only code reachable from the pack's
|
|
7
|
-
fetch factory is included; shared modules are imported from the AgentTwin twin engine.
|
|
7
|
+
fetch factory is included; shared modules are imported from the AgentTwin twin engine; the engine world clock supports an async-local per-run override.
|
|
@@ -4,4 +4,4 @@ Contains @volter/twin-vercel 1.0.0 by Volter (https://github.com/volter-ai),
|
|
|
4
4
|
licensed under the Apache License, Version 2.0 (see LICENSE).
|
|
5
5
|
|
|
6
6
|
Modified by AgentTwin: bundled and minified into one file; only code reachable from the pack's
|
|
7
|
-
fetch factory is included; shared modules are imported from the AgentTwin twin engine.
|
|
7
|
+
fetch factory is included; shared modules are imported from the AgentTwin twin engine; the engine world clock supports an async-local per-run override.
|
|
@@ -4,4 +4,4 @@ Contains @volter/twin-veriff 0.1.37 by Volter (https://github.com/volter-ai),
|
|
|
4
4
|
licensed under the Apache License, Version 2.0 (see LICENSE).
|
|
5
5
|
|
|
6
6
|
Modified by AgentTwin: bundled and minified into one file; only code reachable from the pack's
|
|
7
|
-
fetch factory is included; shared modules are imported from the AgentTwin twin engine.
|
|
7
|
+
fetch factory is included; shared modules are imported from the AgentTwin twin engine; the engine world clock supports an async-local per-run override.
|
|
@@ -4,4 +4,4 @@ Contains @volter/twin-vgauth 1.0.0 by Volter (https://github.com/volter-ai),
|
|
|
4
4
|
licensed under the Apache License, Version 2.0 (see LICENSE).
|
|
5
5
|
|
|
6
6
|
Modified by AgentTwin: bundled and minified into one file; only code reachable from the pack's
|
|
7
|
-
fetch factory is included; shared modules are imported from the AgentTwin twin engine.
|
|
7
|
+
fetch factory is included; shared modules are imported from the AgentTwin twin engine; the engine world clock supports an async-local per-run override.
|
|
@@ -4,4 +4,4 @@ Contains @volter/twin-vital 0.1.37 by Volter (https://github.com/volter-ai),
|
|
|
4
4
|
licensed under the Apache License, Version 2.0 (see LICENSE).
|
|
5
5
|
|
|
6
6
|
Modified by AgentTwin: bundled and minified into one file; only code reachable from the pack's
|
|
7
|
-
fetch factory is included; shared modules are imported from the AgentTwin twin engine.
|
|
7
|
+
fetch factory is included; shared modules are imported from the AgentTwin twin engine; the engine world clock supports an async-local per-run override.
|
|
@@ -4,4 +4,4 @@ Contains @volter/twin-volteridentity 1.0.1 by Volter (https://github.com/volter-
|
|
|
4
4
|
licensed under the Apache License, Version 2.0 (see LICENSE).
|
|
5
5
|
|
|
6
6
|
Modified by AgentTwin: bundled and minified into one file; only code reachable from the pack's
|
|
7
|
-
fetch factory is included; shared modules are imported from the AgentTwin twin engine.
|
|
7
|
+
fetch factory is included; shared modules are imported from the AgentTwin twin engine; the engine world clock supports an async-local per-run override.
|
|
@@ -4,4 +4,4 @@ Contains @volter/twin-webrisk 1.0.0 by Volter (https://github.com/volter-ai),
|
|
|
4
4
|
licensed under the Apache License, Version 2.0 (see LICENSE).
|
|
5
5
|
|
|
6
6
|
Modified by AgentTwin: bundled and minified into one file; only code reachable from the pack's
|
|
7
|
-
fetch factory is included; shared modules are imported from the AgentTwin twin engine.
|
|
7
|
+
fetch factory is included; shared modules are imported from the AgentTwin twin engine; the engine world clock supports an async-local per-run override.
|
|
@@ -4,4 +4,4 @@ Contains @volter/twin-worldlabs 1.0.0 by Volter (https://github.com/volter-ai),
|
|
|
4
4
|
licensed under the Apache License, Version 2.0 (see LICENSE).
|
|
5
5
|
|
|
6
6
|
Modified by AgentTwin: bundled and minified into one file; only code reachable from the pack's
|
|
7
|
-
fetch factory is included; shared modules are imported from the AgentTwin twin engine.
|
|
7
|
+
fetch factory is included; shared modules are imported from the AgentTwin twin engine; the engine world clock supports an async-local per-run override.
|
|
@@ -4,4 +4,4 @@ Contains @volter/twin-x 1.0.6 by Volter (https://github.com/volter-ai),
|
|
|
4
4
|
licensed under the Apache License, Version 2.0 (see LICENSE).
|
|
5
5
|
|
|
6
6
|
Modified by AgentTwin: bundled and minified into one file; only code reachable from the pack's
|
|
7
|
-
fetch factory is included; shared modules are imported from the AgentTwin twin engine.
|
|
7
|
+
fetch factory is included; shared modules are imported from the AgentTwin twin engine; the engine world clock supports an async-local per-run override.
|
|
@@ -4,4 +4,4 @@ Contains @volter/twin-xai 1.0.0 by Volter (https://github.com/volter-ai),
|
|
|
4
4
|
licensed under the Apache License, Version 2.0 (see LICENSE).
|
|
5
5
|
|
|
6
6
|
Modified by AgentTwin: bundled and minified into one file; only code reachable from the pack's
|
|
7
|
-
fetch factory is included; shared modules are imported from the AgentTwin twin engine.
|
|
7
|
+
fetch factory is included; shared modules are imported from the AgentTwin twin engine; the engine world clock supports an async-local per-run override.
|
|
@@ -4,5 +4,5 @@ Contains @volter/twin-xidentity 0.1.37 by Volter (https://github.com/volter-ai),
|
|
|
4
4
|
licensed under the Apache License, Version 2.0 (see LICENSE).
|
|
5
5
|
|
|
6
6
|
Modified by AgentTwin: bundled and minified into one file; only code reachable from the pack's
|
|
7
|
-
fetch factory is included; shared modules are imported from the AgentTwin twin engine.
|
|
7
|
+
fetch factory is included; shared modules are imported from the AgentTwin twin engine; the engine world clock supports an async-local per-run override.
|
|
8
8
|
The upstream package declares Apache-2.0 but ships no LICENSE file; LICENSE is the license's standard text.
|