PageSourceSearch

https://jetporter.com/chunk-HWXOIIBX.js

js jetporter.com collected 2026-10-08 10:38:28 UTC 100,482 bytes, 17 lines download raw bytes

vendor: 6,330 bytes, line 1
1import{a as Dn,b as xe,c as ve,h as yn,m as En,n as Vt,o as xn,t as qt}from"./chunk-MKHTXU3Y.js";import{a as C,b as ct,e as ss,f as Y,g as ne,i as ft,j as lt,l as y}from"./chunk-E77BULOG.js";var Ke={};ne(Ke,{__assign:()=>Yt,__asyncDelegator:()=>Os,__asyncGenerator:()=>_s,__asyncValues:()=>Us,__await:()=>je,__awaiter:()=>As,__classPrivateFieldGet:()=>Ms,__classPrivateFieldSet:()=>Ps,__createBinding:()=>Fs,__decorate:()=>Es,__exportStar:()=>Cs,__extends:()=>Ds,__generator:()=>Ss,__importDefault:()=>Rs,__importStar:()=>Ns,__makeTemplateObject:()=>Ts,__metadata:()=>vs,__param:()=>xs,__read:()=>Cn,__rest:()=>ys,__spread:()=>Is,__spreadArrays:()=>Bs,__values:()=>Jt});function Ds(e,t){Gt(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}function ys(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r}function Es(e,t,r,n){var o=arguments.length,i=o<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,r,n);else for(var f=e.length-1;f>=0;f--)(a=e[f])&&(i=(o<3?a(i):o>3?a(t,r,i):a(t,r))||i);return o>3&&i&&Object.defineProperty(t,r,i),i}function xs(e,t){return function(r,n){t(r,n,e)}}function vs(e,t){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(e,t)}function As(e,t,r,n){function o(i){return i instanceof r?i:new r(function(a){a(i)})}return new(r||(r=Promise))(function(i,a){function f(s){try{d(n.next(s))}catch(c){a(c)}}function u(s){try{d(n.throw(s))}catch(c){a(c)}}function d(s){s.done?i(s.value):o(s.value).then(f,u)}d((n=n.apply(e,t||[])).next())})}function Ss(e,t){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,o,i,a;return a={next:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function f(d){return function(s){return u([d,s])}}function u(d){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,o&&(i=d[0]&2?o.return:d[0]?o.throw||((i=o.return)&&i.call(o),0):o.next)&&!(i=i.call(o,d[1])).done)return i;switch(o=0,i&&(d=[d[0]&2,i.value]),d[0]){case 0:case 1:i=d;break;case 4:return r.label++,{value:d[1],done:!1};case 5:r.label++,o=d[1],d=[0];continue;case 7:d=r.ops.pop(),r.trys.pop();continue;default:if(i=r.trys,!(i=i.length>0&&i[i.length-1])&&(d[0]===6||d[0]===2)){r=0;continue}if(d[0]===3&&(!i||d[1]>i[0]&&d[1]<i[3])){r.label=d[1];break}if(d[0]===6&&r.label<i[1]){r.label=i[1],i=d;break}if(i&&r.label<i[2]){r.label=i[2],r.ops.push(d);break}i[2]&&r.ops.pop(),r.trys.pop();continue}d=t.call(e,r)}catch(s){d=[6,s],o=0}finally{n=i=0}if(d[0]&5)throw d[1];return{value:d[0]?d[1]:void 0,done:!0}}}function Fs(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}function Cs(e,t){for(var r in e)r!=="default"&&!t.hasOwnProperty(r)&&(t[r]=e[r])}function Jt(e){var t=typeof Symbol=="function"&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function Cn(e,t){var r=typeof Symbol=="function"&&e[Symbol.iterator];if(!r)return e;var n=r.call(e),o,i=[],a;try{for(;(t===void 0||t-- >0)&&!(o=n.next()).done;)i.push(o.value)}catch(f){a={error:f}}finally{try{o&&!o.done&&(r=n.return)&&r.call(n)}finally{if(a)throw a.error}}return i}function Is(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(Cn(arguments[t]));return e}function Bs(){for(var e=0,t=0,r=arguments.length;t<r;t++)e+=arguments[t].length;for(var n=Array(e),o=0,t=0;t<r;t++)for(var i=arguments[t],a=0,f=i.length;a<f;a++,o++)n[o]=i[a];return n}function je(e){return this instanceof je?(this.v=e,this):new je(e)}function _s(e,t,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=r.apply(e,t||[]),o,i=[];return o={},a("next"),a("throw"),a("return"),o[Symbol.asyncIterator]=function(){return this},o;function a(l){n[l]&&(o[l]=function(p){return new Promise(function(h,b){i.push([l,p,h,b])>1||f(l,p)})})}function f(l,p){try{u(n[l](p))}catch(h){c(i[0][3],h)}}function u(l){l.value instanceof je?Promise.resolve(l.value.v).then(d,s):c(i[0][2],l)}function d(l){f("next",l)}function s(l){f("throw",l)}function c(l,p){l(p),i.shift(),i.length&&f(i[0][0],i[0][1])}}function Os(e){var t,r;return t={},n("next"),n("throw",function(o){throw o}),n("return"),t[Symbol.iterator]=function(){return this},t;function n(o,i){t[o]=e[o]?function(a){return(r=!r)?{value:je(e[o](a)),done:o==="return"}:i?i(a):a}:i}}function Us(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],r;return t?t.call(e):(e=typeof Jt=="function"?Jt(e):e[Symbol.iterator](),r={},n("next"),n("throw"),n("return"),r[Symbol.asyncIterator]=function(){return this},r);function n(i){r[i]=e[i]&&function(a){return new Promise(function(f,u){a=e[i](a),o(f,u,a.done,a.value)})}}function o(i,a,f,u){Promise.resolve(u).then(function(d){i({value:d,done:f})},a)}}function Ts(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}function Ns(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function Rs(e){return e&&e.__esModule?e:{default:e}}function Ms(e,t){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return t.get(e)}function Ps(e,t,r){if(!t.has(e))throw new TypeError("attempted to set private field on non-instance");return t.set(e,r),r}var Gt,Yt,$e=ss(()=>{"use strict";Gt=function(e,t){return Gt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var o in n)n.hasOwnProperty(o)&&(r[o]=n[o])},Gt(e,t)};Yt=function(){return Yt=Object.assign||function(t){for(var r,n=1,o=arguments.length;n<o;n++){r=arguments[n];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i])}return t},Yt.apply(this,arguments)}});var In=Y(dt=>{"use strict";
1Object.defineProperty(dt,"__esModule",{value:!0});dt.delay=void 0;function ks(e){return new Promise(t=>{setTimeout(()=>{t(!0)},e)})}dt.delay=ks});var Bn=Y(Oe=>{"use strict";Object.defineProperty(Oe,"__esModule",{value:!0});Oe.ONE_THOUSAND=Oe.ONE_HUNDRED=void 0;Oe.ONE_HUNDRED=100;Oe.ONE_THOUSAND=1e3});var _n=Y(D=>{"use strict";Object.defineProperty(D,"__esModule",{value:!0});D.ONE_YEAR=D.FOUR_WEEKS=D.THREE_WEEKS=D.TWO_WEEKS=D.ONE_WEEK=D.THIRTY_DAYS=D.SEVEN_DAYS=D.FIVE_DAYS=D.THREE_DAYS=D.ONE_DAY=D.TWENTY_FOUR_HOURS=D.TWELVE_HOURS=D.SIX_HOURS=D.THREE_HOURS=D.ONE_HOUR=D.SIXTY_MINUTES=D.THIRTY_MINUTES=D.TEN_MINUTES=D.FIVE_MINUTES=D.ONE_MINUTE=D.SIXTY_SECONDS=D.THIRTY_SECONDS=D.TEN_SECONDS=D.FIVE_SECONDS=D.ONE_SECOND=void 0;D.ONE_SECOND=1;D.FIVE_SECONDS=5;D.TEN_SECONDS=10;D.THIRTY_SECONDS=30;D.SIXTY_SECONDS=60;D.ONE_MINUTE=D.SIXTY_SECONDS;D.FIVE_MINUTES=D.ONE_MINUTE*5;D.TEN_MINUTES=D.ONE_MINUTE*10;D.THIRTY_MINUTES=D.ONE_MINUTE*30;D.SIXTY_MINUTES=D.ONE_MINUTE*60;D.ONE_HOUR=D.SIXTY_MINUTES;D.THREE_HOURS=D.ONE_HOUR*3;D.SIX_HOURS=D.ONE_HOUR*6;D.TWELVE_HOURS=D.ONE_HOUR*12;D.TWENTY_FOUR_HOURS=D.ONE_HOUR*24;D.ONE_DAY=D.TWENTY_FOUR_HOURS;D.THREE_DAYS=D.ONE_DAY*3;D.FIVE_DAYS=D.ONE_DAY*5;D.SEVEN_DAYS=D.ONE_DAY*7;D.THIRTY_DAYS=D.ONE_DAY*30;D.ONE_WEEK=D.SEVEN_DAYS;D.TWO_WEEKS=D.ONE_WEEK*2;D.THREE_WEEKS=D.ONE_WEEK*3;D.FOUR_WEEKS=D.ONE_WEEK*4;D.ONE_YEAR=D.ONE_DAY*365});var Xt=Y(ht=>{"use strict";Object.defineProperty(ht,"__esModule",{value:!0});var On=($e(),lt(Ke));On.__exportStar(Bn(),ht);On.__exportStar(_n(),ht)});var Tn=Y(Ue=>{"use strict";Object.defineProperty(Ue,"__esModule",{value:!0});Ue.fromMiliseconds=Ue.toMiliseconds=void 0;var Un=Xt();function Ls(e){return e*Un.ONE_THOUSAND}Ue.toMiliseconds=Ls;function zs(e){return Math.floor(e/Un.ONE_THOUSAND)}Ue.fromMiliseconds=zs});var Rn=Y(pt=>{"use strict";Object.defineProperty(pt,"__esModule",{value:!0});var Nn=($e(),lt(Ke));Nn.__exportStar(In(),pt);Nn.__exportStar(Tn(),pt)});var Mn=Y(Ve=>{"use strict";Object.defineProperty(Ve,"__esModule",{value:!0});Ve.Watch=void 0;var bt=class{constructor(){this.timestamps=new Map}start(t){if(this.timestamps.has(t))throw new Error(`Watch already started for label: ${t}`);this.timestamps.set(t,{started:Date.now()})}stop(t){let r=this.get(t);if(typeof r.elapsed<"u")throw new Error(`Watch already stopped for label: ${t}`);let n=Date.now()-r.started;this.timestamps.set(t,{started:r.started,elapsed:n})}get(t){let r=this.timestamps.get(t);if(typeof r>"u")throw new Error(`No timestamp found for label: ${t}`);return r}elapsed(t){let r=this.get(t);return r.elapsed||Date.now()-r.started}};Ve.Watch=bt;Ve.default=bt});var Pn=Y(gt=>{"use strict";Object.defineProperty(gt,"__esModule",{value:!0});gt.IWatch=void 0;var Zt=class{};gt.IWatch=Zt});var kn=Y(Qt=>{"use strict";Object.defineProperty(Qt,"__esModule",{value:!0});var Ws=($e(),lt(Ke));Ws.__exportStar(Pn(),Qt)});var er=Y(Te=>{"use strict";Object.defineProperty(Te,"__esModule",{value:!0});var wt=($e(),lt(Ke));wt.__exportStar(Rn(),Te);wt.__exportStar(Mn(),Te);wt.__exportStar(kn(),Te);wt.__exportStar(Xt(),Te)});var Ln=Y(L=>{"use strict";Object.defineProperty(L,"__esModule",{value:!0});L.getLocalStorage=L.getLocalStorageOrThrow=L.getCrypto=L.getCryptoOrThrow=L.getLocation=L.getLocationOrThrow=L.getNavigator=L.getNavigatorOrThrow=L.getDocument=L.getDocumentOrThrow=L.getFromWindowOrThrow=L.getFromWindow=void 0;function Ae(e){let t;return typeof window<"u"&&typeof window[e]<"u"&&(t=window[e]),t}L.getFromWindow=Ae;function Ne(e){let t=Ae(e);if(!t)throw new Error(`${e} is not defined in Window`);return t}L.getFromWindowOrThrow=Ne;function Hs(){return Ne("document")}L.getDocumentOrThrow=Hs;function js(){return Ae("document")}L.getDocument=js;function Ks(){return Ne("navigator")}L.getNavigatorOrThrow=Ks;function $s(){return Ae("navigator")}L.getNavigator=$s;function Vs(){return Ne("location")}L.getLocationOrThrow=Vs;function qs(){return Ae("location")}L.getLocation=qs;function Gs(){return Ne("crypto")}L.getCryptoOrThrow=Gs;function Ys(){return Ae("crypto")}L.getCrypto=Ys;function Js(){return Ne("localStorage")}L.getLocalStorageOrThrow=Js;function Xs(){return Ae("localStorage")}
1L.getLocalStorage=Xs});var Qs=Y(mt=>{"use strict";Object.defineProperty(mt,"__esModule",{value:!0});mt.getWindowMetadata=void 0;var zn=Ln();function Zs(){let e,t;try{e=zn.getDocumentOrThrow(),t=zn.getLocationOrThrow()}catch{return null}function r(){let c=e.getElementsByTagName("link"),l=[];for(let p=0;p<c.length;p++){let h=c[p],b=h.getAttribute("rel");if(b&&b.toLowerCase().indexOf("icon")>-1){let g=h.getAttribute("href");if(g)if(g.toLowerCase().indexOf("https:")===-1&&g.toLowerCase().indexOf("http:")===-1&&g.indexOf("//")!==0){let x=t.protocol+"//"+t.host;if(g.indexOf("/")===0)x+=g;else{let v=t.pathname.split("/");v.pop();let w=v.join("/");x+=w+"/"+g}l.push(x)}else if(g.indexOf("//")===0){let x=t.protocol+g;l.push(x)}else l.push(g)}}return l}function n(...c){let l=e.getElementsByTagName("meta");for(let p=0;p<l.length;p++){let h=l[p],b=["itemprop","property","name"].map(g=>h.getAttribute(g)).filter(g=>g?c.includes(g):!1);if(b.length&&b){let g=h.getAttribute("content");if(g)return g}}return""}function o(){let c=n("name","og:site_name","og:title","twitter:title");return c||(c=e.title),c}function i(){return n("description","og:description","twitter:description","keywords")}let a=o(),f=i(),u=t.origin,d=r();return{description:f,url:u,icons:d,name:a}}mt.getWindowMetadata=Zs});var Zr=Y((mh,fi)=>{"use strict";var el="Input must be an string, Buffer or Uint8Array";function tl(e){let t;if(e instanceof Uint8Array)t=e;else if(typeof e=="string")t=new TextEncoder().encode(e);else throw new Error(el);return t}function rl(e){return Array.prototype.map.call(e,function(t){return(t<16?"0":"")+t.toString(16)}).join("")}function Pt(e){return(4294967296+e).toString(16).substring(1)}function nl(e,t,r){let n=`
2`+e+" = ";for(let o=0;o<t.length;o+=2){if(r===32)n+=Pt(t[o]).toUpperCase(),n+=" ",n+=Pt(t[o+1]).toUpperCase();else if(r===64)n+=Pt(t[o+1]).toUpperCase(),n+=Pt(t[o]).toUpperCase();else throw new Error("Invalid size "+r);o%6===4?n+=`
3`+new Array(e.length+4).join(" "):o<t.length-2&&(n+=" ")}console.log(n)}function ol(e,t,r){let n=new Date().getTime(),o=new Uint8Array(t);for(let a=0;a<t;a++)o[a]=a%256;let i=new Date().getTime();console.log("Generated random input in "+(i-n)+"ms"),n=i;for(let a=0;a<r;a++){let f=e(o),u=new Date().getTime(),d=u-n;n=u,console.log("Hashed in "+d+"ms: "+f.substring(0,20)+"..."),console.log(Math.round(t/(1<<20)/(d/1e3)*100)/100+" MB PER SECOND")}}fi.exports={normalizeInput:tl,toHex:rl,debugPrint:nl,testSpeed:ol}});var Di=Y((Dh,mi)=>{"use strict";var Lt=Zr();function kt(e,t,r){let n=e[t]+e[r],o=e[t+1]+e[r+1];n>=4294967296&&o++,e[t]=n,e[t+1]=o}function li(e,t,r,n){let o=e[t]+r;r<0&&(o+=4294967296);let i=e[t+1]+n;o>=4294967296&&i++,e[t]=o,e[t+1]=i}function di(e,t){return e[t]^e[t+1]<<8^e[t+2]<<16^e[t+3]<<24}function we(e,t,r,n,o,i){let a=tt[o],f=tt[o+1],u=tt[i],d=tt[i+1];kt(I,e,t),li(I,e,a,f);let s=I[n]^I[e],c=I[n+1]^I[e+1];I[n]=c,I[n+1]=s,kt(I,r,n),s=I[t]^I[r],c=I[t+1]^I[r+1],I[t]=s>>>24^c<<8,I[t+1]=c>>>24^s<<8,kt(I,e,t),li(I,e,u,d),s=I[n]^I[e],c=I[n+1]^I[e+1],I[n]=s>>>16^c<<16,I[n+1]=c>>>16^s<<16,kt(I,r,n),s=I[t]^I[r],c=I[t+1]^I[r+1],I[t]=c>>>31^s<<1,I[t+1]=s>>>31^c<<1}var hi=new Uint32Array([4089235720,1779033703,2227873595,3144134277,4271175723,1013904242,1595750129,2773480762,2917565137,1359893119,725511199,2600822924,4215389547,528734635,327033209,1541459225]),il=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,14,10,4,8,9,15,13,6,1,12,0,2,11,7,5,3,11,8,12,0,5,2,15,13,10,14,3,6,7,1,9,4,7,9,3,1,13,12,11,14,2,6,5,10,4,0,15,8,9,0,5,7,2,4,10,15,14,1,11,12,6,8,3,13,2,12,6,10,0,11,8,3,4,13,7,5,15,14,1,9,12,5,1,15,14,13,4,10,0,7,6,3,9,2,8,11,13,11,7,14,12,1,3,9,5,0,15,4,8,6,2,10,6,15,14,9,11,3,0,8,12,2,13,7,1,4,10,5,10,2,8,4,7,6,1,5,15,11,9,14,3,12,13,0,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,14,10,4,8,9,15,13,6,1,12,0,2,11,7,5,3],Z=new Uint8Array(il.map(function(e){return e*2})),I=new Uint32Array(32),tt=new Uint32Array(32);function pi(e,t){let r=0;for(r=0;r<16;r++)I[r]=e.h[r],I[r+16]=hi[r];for(I[24]=I[24]^e.t,I[25]=I[25]^e.t/4294967296,t&&(I[28]=~I[28],I[29]=~I[29]),r=0;r<32;r++)tt[r]=di(e.b,4*r);for(r=0;r<12;r++)we(0,8,16,24,Z[r*16+0],Z[r*16+1]),we(2,10,18,26,Z[r*16+2],Z[r*16+3]),we(4,12,20,28,Z[r*16+4],Z[r*16+5]),we(6,14,22,30,Z[r*16+6],Z[r*16+7]),we(0,10,20,30,Z[r*16+8],Z[r*16+9]),we(2,12,22,24,Z[r*16+10],Z[r*16+11]),we(4,14,16,26,Z[r*16+12],Z[r*16+13]),we(6,8,18,28,Z[r*16+14],Z[r*16+15]);for(r=0;r<16;r++)e.h[r]=e.h[r]^I[r]^I[r+16]}var me=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]);function bi(e,t,r,n){if(e===0||e>64)throw new Error("Illegal output length, expected 0 < length <= 64");if(t&&t.length>64)throw new Error("Illegal key, expected Uint8Array with 0 < length <= 64");if(r&&r.length!==16)throw new Error("Illegal salt, expected Uint8Array with length is 16");if(n&&n.length!==16)throw new Error("Illegal personal, expected Uint8Array with length is 16");let o={b:new Uint8Array(128),h:new Uint32Array(16),t:0,c:0,outlen:e};me.fill(0),me[0]=e,t&&(me[1]=t.length),me[2]=1,me[3]=1,r&&me.set(r,32),n&&me.set(n,48);for(let i=0;i<16;i++)o.h[i]=hi[i]^di(me,i*4);return t&&(Qr(o,t),o.c=128),o}function Qr(e,t){for(let r=0;r<t.length;r++)e.c===128&&(e.t+=e.c,pi(e,!1),e.c=0),e.b[e.c++]=t[r]}function gi(e){for(e.t+=e.c;e.c<128;)e.b[e.c++]=0;pi(e,!0);let t=new Uint8Array(e.outlen);for(let r=0;r<e.outlen;r++)t[r]=e.h[r>>2]>>8*(r&3);return t}function wi(e,t,r,n,o){r=r||64,e=Lt.normalizeInput(e),n&&(n=Lt.normalizeInput(n)),o&&(o=Lt.normalizeInput(o));let i=bi(r,t,n,o);return Qr(i,e),gi(i)}function sl(e,t,r,n,o){let i=wi(e,t,r,n,o);return Lt.toHex(i)}mi.exports={blake2b:wi,blake2bHex:sl,blake2bInit:bi,blake2bUpdate:Qr,blake2bFinal:gi}});var Ci=Y((yh,Fi)=>{"use strict";var yi=Zr();function al(e,t){return e[t]^e[t+1]<<8^e[t+2]<<16^e[t+3]<<24}function De(e,t,r,n,o,i){T[e]=T[e]+T[t]+o,T[n]=zt(T[n]^T[e],16),T[r]=T[r]+T[n],T[t]=zt(T[t]^T[r],12),T[e]=T[e]+T[t]+i,T[n]=zt(T[n]^T[e],8),T[r]=T[r]+T[n],T[t]=zt(T[t]^T[r],7)}function zt(e,t){return e>>>t^e<<32-t}var Ei=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),Q=new Uint8Array([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,14,10,4,8,9,15,13,6,1,12,0,2,11,7,5,3,11,8,12,0,5,2,15,13,10,14,3,6,7,1,9,4,7,9,3,1,13,12,11,14,2,6,5,10,4,0,15,8,9,0,5,7,2,4,10,15,14,1,11,12,6,8,3,13,2,12,6,10,0,11,8,3,4,13,7,5,15,14,1,9,12,5,1,15,14,13,4,10,0,7,
36,3,9,2,8,11,13,11,7,14,12,1,3,9,5,0,15,4,8,6,2,10,6,15,14,9,11,3,0,8,12,2,13,7,1,4,10,5,10,2,8,4,7,6,1,5,15,11,9,14,3,12,13,0]),T=new Uint32Array(16),X=new Uint32Array(16);function xi(e,t){let r=0;for(r=0;r<8;r++)T[r]=e.h[r],T[r+8]=Ei[r];for(T[12]^=e.t,T[13]^=e.t/4294967296,t&&(T[14]=~T[14]),r=0;r<16;r++)X[r]=al(e.b,4*r);for(r=0;r<10;r++)De(0,4,8,12,X[Q[r*16+0]],X[Q[r*16+1]]),De(1,5,9,13,X[Q[r*16+2]],X[Q[r*16+3]]),De(2,6,10,14,X[Q[r*16+4]],X[Q[r*16+5]]),De(3,7,11,15,X[Q[r*16+6]],X[Q[r*16+7]]),De(0,5,10,15,X[Q[r*16+8]],X[Q[r*16+9]]),De(1,6,11,12,X[Q[r*16+10]],X[Q[r*16+11]]),De(2,7,8,13,X[Q[r*16+12]],X[Q[r*16+13]]),De(3,4,9,14,X[Q[r*16+14]],X[Q[r*16+15]]);for(r=0;r<8;r++)e.h[r]^=T[r]^T[r+8]}function vi(e,t){if(!(e>0&&e<=32))throw new Error("Incorrect output length, should be in [1, 32]");let r=t?t.length:0;if(t&&!(r>0&&r<=32))throw new Error("Incorrect key length, should be in [1, 32]");let n={h:new Uint32Array(Ei),b:new Uint8Array(64),c:0,t:0,outlen:e};return n.h[0]^=16842752^r<<8^e,r>0&&(en(n,t),n.c=64),n}function en(e,t){for(let r=0;r<t.length;r++)e.c===64&&(e.t+=e.c,xi(e,!1),e.c=0),e.b[e.c++]=t[r]}function Ai(e){for(e.t+=e.c;e.c<64;)e.b[e.c++]=0;xi(e,!0);let t=new Uint8Array(e.outlen);for(let r=0;r<e.outlen;r++)t[r]=e.h[r>>2]>>8*(r&3)&255;return t}function Si(e,t,r){r=r||32,e=yi.normalizeInput(e);let n=vi(r,t);return en(n,e),Ai(n)}function ul(e,t,r){let n=Si(e,t,r);return yi.toHex(n)}Fi.exports={blake2s:Si,blake2sHex:ul,blake2sInit:vi,blake2sUpdate:en,blake2sFinal:Ai}});var cl=Y((Eh,Ii)=>{"use strict";var rt=Di(),nt=Ci();Ii.exports={blake2b:rt.blake2b,blake2bHex:rt.blake2bHex,blake2bInit:rt.blake2bInit,blake2bUpdate:rt.blake2bUpdate,blake2bFinal:rt.blake2bFinal,blake2s:nt.blake2s,blake2sHex:nt.blake2sHex,blake2sInit:nt.blake2sInit,blake2sUpdate:nt.blake2sUpdate,blake2sFinal:nt.blake2sFinal}});var qi=Y((Hh,Vi)=>{"use strict";Vi.exports=function(){throw new Error("ws does not work in the browser. Browser clients must use the native WebSocket object")}});var vn=function(e,t,r){if(r||arguments.length===2)for(var n=0,o=t.length,i;n<o;n++)(i||!(n in t))&&(i||(i=Array.prototype.slice.call(t,0,n)),i[n]=t[n]);return e.concat(i||Array.prototype.slice.call(t))},as=(function(){function e(t,r,n){this.name=t,this.version=r,this.os=n,this.type="browser"}return e})();var us=(function(){function e(t){this.version=t,this.type="node",this.name="node",this.os=process.platform}return e})();var cs=(function(){function e(t,r,n,o){this.name=t,this.version=r,this.os=n,this.bot=o,this.type="bot-device"}return e})();var fs=(function(){function e(){this.type="bot",this.bot=!0,this.name="bot",this.version=null,this.os=null}return e})();var ls=(function(){function e(){this.type="react-native",this.name="react-native",this.version=null,this.os=null}return e})();var ds=/alexa|bot|crawl(er|ing)|facebookexternalhit|feedburner|google web preview|nagios|postrank|pingdom|slurp|spider|yahoo!|yandex/,hs=/(nuhk|curl|Googlebot|Yammybot|Openbot|Slurp|MSNBot|Ask\ Jeeves\/Teoma|ia_archiver)/,An=3,ps=[["aol",/AOLShield\/([0-9\._]+)/],["edge",/Edge\/([0-9\._]+)/],["edge-ios",/EdgiOS\/([0-9\._]+)/],["yandexbrowser",/YaBrowser\/([0-9\._]+)/],["kakaotalk",/KAKAOTALK\s([0-9\.]+)/],["samsung",/SamsungBrowser\/([0-9\.]+)/],["silk",/\bSilk\/([0-9._-]+)\b/],["miui",/MiuiBrowser\/([0-9\.]+)$/],["beaker",/BeakerBrowser\/([0-9\.]+)/],["edge-chromium",/EdgA?\/([0-9\.]+)/],["chromium-webview",/(?!Chrom.*OPR)wv\).*Chrom(?:e|ium)\/([0-9\.]+)(:?\s|$)/],["chrome",/(?!Chrom.*OPR)Chrom(?:e|ium)\/([0-9\.]+)(:?\s|$)/],["phantomjs",/PhantomJS\/([0-9\.]+)(:?\s|$)/],["crios",/CriOS\/([0-9\.]+)(:?\s|$)/],["firefox",/Firefox\/([0-9\.]+)(?:\s|$)/],["fxios",/FxiOS\/([0-9\.]+)/],["opera-mini",/Opera Mini.*Version\/([0-9\.]+)/],["opera",/Opera\/([0-9\.]+)(?:\s|$)/],["opera",/OPR\/([0-9\.]+)(:?\s|$)/],["pie",/^Microsoft Pocket Internet Explorer\/(\d+\.\d+)$/],["pie",/^Mozilla\/\d\.\d+\s\(compatible;\s(?:MSP?IE|MSInternet Explorer) (\d+\.\d+);.*Windows CE.*\)$/],["netfront",/^Mozilla\/\d\.\d+.*NetFront\/(\d.\d)/],["ie",/Trident\/7\.0.*rv\:([0-9\.]+).*\).*Gecko$/],["ie",/MSIE\s([0-9\.]+);.*Trident\/[4-7].0/],["ie",/MSIE\s(7\.0)/],["bb10",/BB10;
3\sTouch.*Version\/([0-9\.]+)/],["android",/Android\s([0-9\.]+)/],["ios",/Version\/([0-9\._]+).*Mobile.*Safari.*/],["safari",/Version\/([0-9\._]+).*Safari/],["facebook",/FB[AS]V\/([0-9\.]+)/],["instagram",/Instagram\s([0-9\.]+)/],["ios-webview",/AppleWebKit\/([0-9\.]+).*Mobile/],["ios-webview",/AppleWebKit\/([0-9\.]+).*Gecko\)$/],["curl",/^curl\/([0-9\.]+)$/],["searchbot",ds]],Sn=[["iOS",/iP(hone|od|ad)/],["Android OS",/Android/],["BlackBerry OS",/BlackBerry|BB10/],["Windows Mobile",/IEMobile/],["Amazon OS",/Kindle/],["Windows 3.11",/Win16/],["Windows 95",/(Windows 95)|(Win95)|(Windows_95)/],["Windows 98",/(Windows 98)|(Win98)/],["Windows 2000",/(Windows NT 5.0)|(Windows 2000)/],["Windows XP",/(Windows NT 5.1)|(Windows XP)/],["Windows Server 2003",/(Windows NT 5.2)/],["Windows Vista",/(Windows NT 6.0)/],["Windows 7",/(Windows NT 6.1)/],["Windows 8",/(Windows NT 6.2)/],["Windows 8.1",/(Windows NT 6.3)/],["Windows 10",/(Windows NT 10.0)/],["Windows ME",/Windows ME/],["Windows CE",/Windows CE|WinCE|Microsoft Pocket Internet Explorer/],["Open BSD",/OpenBSD/],["Sun OS",/SunOS/],["Chrome OS",/CrOS/],["Linux",/(Linux)|(X11)/],["Mac OS",/(Mac_PowerPC)|(Macintosh)/],["QNX",/QNX/],["BeOS",/BeOS/],["OS/2",/OS\/2/]];function Rl(e){return e?Fn(e):typeof document>"u"&&typeof navigator<"u"&&navigator.product==="ReactNative"?new ls:typeof navigator<"u"?Fn(navigator.userAgent):ws()}function bs(e){return e!==""&&ps.reduce(function(t,r){var n=r[0],o=r[1];if(t)return t;var i=o.exec(e);return!!i&&[n,i]},!1)}function Fn(e){var t=bs(e);if(!t)return null;var r=t[0],n=t[1];if(r==="searchbot")return new fs;var o=n[1]&&n[1].split(".").join("_").split("_").slice(0,3);o?o.length<An&&(o=vn(vn([],o,!0),ms(An-o.length),!0)):o=[];var i=o.join("."),a=gs(e),f=hs.exec(e);return f&&f[1]?new cs(r,i,a,f[1]):new as(r,i,a)}function gs(e){for(var t=0,r=Sn.length;t<r;t++){var n=Sn[t],o=n[0],i=n[1],a=i.exec(e);if(a)return o}return null}function ws(){var e=typeof process<"u"&&process.version;return e?new us(process.version.slice(1)):null}function ms(e){for(var t=[],r=0;r<e;r++)t.push("0");return t}function jn(e){return e instanceof Uint8Array||ArrayBuffer.isView(e)&&e.constructor.name==="Uint8Array"}function Kn(e,t){return Array.isArray(t)?t.length===0?!0:e?t.every(r=>typeof r=="string"):t.every(r=>Number.isSafeInteger(r)):!1}function Dt(e,t){if(typeof t!="string")throw new Error(`${e}: string expected`);return!0}function qe(e){if(!Number.isSafeInteger(e))throw new Error(`invalid integer: ${e}`)}function yt(e){if(!Array.isArray(e))throw new Error("array expected")}function Et(e,t){if(!Kn(!0,t))throw new Error(`${e}: array of strings expected`)}function $n(e,t){if(!Kn(!1,t))throw new Error(`${e}: array of numbers expected`)}function Vn(...e){let t=i=>i,r=(i,a)=>f=>i(a(f)),n=e.map(i=>i.encode).reduceRight(r,t),o=e.map(i=>i.decode).reduce(r,t);return{encode:n,decode:o}}function qn(e){let t=typeof e=="string"?e.split(""):e,r=t.length;Et("alphabet",t);let n=new Map(t.map((o,i)=>[o,i]));return{encode:o=>(yt(o),o.map(i=>{if(!Number.isSafeInteger(i)||i<0||i>=r)throw new Error(`alphabet.encode: digit index outside alphabet "${i}". Allowed: ${e}`);return t[i]})),decode:o=>(yt(o),o.map(i=>{Dt("alphabet.decode",i);let a=n.get(i);if(a===void 0)throw new Error(`Unknown letter: "${i}". Allowed: ${e}`);return a}))}}function Gn(e=""){return Dt("join",e),{encode:t=>(Et("join.decode",t),t.join(e)),decode:t=>(Dt("join.decode",t),t.split(e))}}function ea(e,t="="){return qe(e),Dt("padding",t),{encode(r){for(Et("padding.encode",r);r.length*e%8;)r.push(t);return r},decode(r){Et("padding.decode",r);let n=r.length;if(n*e%8)throw new Error("padding: invalid, string should have whole number of bytes");for(;n>0&&r[n-1]===t;n--)if((n-1)*e%8===0)throw new Error("padding: invalid, string has too much padding");return r.slice(0,n)}}}function Wn(e,t,r){if(t<2)throw new Error(`convertRadix: invalid from=${t}, base cannot be less than 2`);if(r<2)throw new Error(`convertRadix: invalid to=${r}, base cannot be less than 2`);if(yt(e),!e.length)return[];let n=0,o=[],i=Array.from(e,f=>{if(qe(f),f<0||f>=t)throw new Error(`invalid integer: ${f}`);return f}),a=i.length;for(;;){let f=0,u=!0;for(let d=n;d<a;d++){let s=i[d],c=t*f,l=c+s;if(!Number.isSafeInteger(l)||c/t!==f||l-s!==c)throw new Error("convertRadix: carry overflow");let p=l/r;f=l%r;let h=Math.floor(p);if(i[d]=h,!Number.isSafeInteger(h)||h*r+f!==l)throw new Error("convertRadix: carry overflow");if(u)h?u=!1:n=d;else continue}if(o.push(f),u)break}for(let f=0;f<e.length-1&&e[f]===0;f++)o.push(0);return o.reverse()}var Yn=(e,t)=>t===0?e:Yn(t,e%t),xt=(e,t)=>
3e+(t-Yn(e,t)),tr=(()=>{let e=[];for(let t=0;t<40;t++)e.push(2**t);return e})();function Hn(e,t,r,n){if(yt(e),t<=0||t>32)throw new Error(`convertRadix2: wrong from=${t}`);if(r<=0||r>32)throw new Error(`convertRadix2: wrong to=${r}`);if(xt(t,r)>32)throw new Error(`convertRadix2: carry overflow from=${t} to=${r} carryBits=${xt(t,r)}`);let o=0,i=0,a=tr[t],f=tr[r]-1,u=[];for(let d of e){if(qe(d),d>=a)throw new Error(`convertRadix2: invalid data word=${d} from=${t}`);if(o=o<<t|d,i+t>32)throw new Error(`convertRadix2: carry overflow pos=${i} from=${t}`);for(i+=t;i>=r;i-=r)u.push((o>>i-r&f)>>>0);let s=tr[i];if(s===void 0)throw new Error("invalid carry");o&=s-1}if(o=o<<r-i&f,!n&&i>=t)throw new Error("Excess padding");if(!n&&o>0)throw new Error(`Non-zero padding: ${o}`);return n&&i>0&&u.push(o>>>0),u}function ta(e){qe(e);let t=2**8;return{encode:r=>{if(!jn(r))throw new Error("radix.encode input should be Uint8Array");return Wn(Array.from(r),t,e)},decode:r=>($n("radix.decode",r),Uint8Array.from(Wn(r,e,t)))}}function ra(e,t=!1){if(qe(e),e<=0||e>32)throw new Error("radix2: bits should be in (0..32]");if(xt(8,e)>32||xt(e,8)>32)throw new Error("radix2: carry overflow");return{encode:r=>{if(!jn(r))throw new Error("radix2.encode input should be Uint8Array");return Hn(Array.from(r),8,e,!t)},decode:r=>($n("radix2.decode",r),Uint8Array.from(Hn(r,e,8,t)))}}var Yl=Vn(ra(5),qn("ABCDEFGHIJKLMNOPQRSTUVWXYZ234567"),ea(5),Gn(""));var na=e=>Vn(ta(58),qn(e),Gn("")),Jl=na("123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz");var bo=ft(er());function oa(e){return e instanceof Uint8Array||ArrayBuffer.isView(e)&&e.constructor.name==="Uint8Array"}function go(e,...t){if(!oa(e))throw new Error("Uint8Array expected");if(t.length>0&&!t.includes(e.length))throw new Error("Uint8Array expected of length "+t+", got length="+e.length)}function Jn(e,t=!0){if(e.destroyed)throw new Error("Hash instance has been destroyed");if(t&&e.finished)throw new Error("Hash#digest() has already been called")}function ia(e,t){go(e);let r=t.outputLen;if(e.length<r)throw new Error("digestInto() expects output buffer of length at least "+r)}var Re=typeof globalThis=="object"&&"crypto"in globalThis?globalThis.crypto:void 0;var rr=e=>new DataView(e.buffer,e.byteOffset,e.byteLength);function sa(e){if(typeof e!="string")throw new Error("utf8ToBytes expected string, got "+typeof e);return new Uint8Array(new TextEncoder().encode(e))}function wo(e){return typeof e=="string"&&(e=sa(e)),go(e),e}var fr=class{clone(){return this._cloneInto()}};function aa(e){let t=n=>e().update(wo(n)).digest(),r=e();return t.outputLen=r.outputLen,t.blockLen=r.blockLen,t.create=()=>e(),t}function mo(e=32){if(Re&&typeof Re.getRandomValues=="function")return Re.getRandomValues(new Uint8Array(e));if(Re&&typeof Re.randomBytes=="function")return Re.randomBytes(e);throw new Error("crypto.getRandomValues must be defined")}function ua(e,t,r,n){if(typeof e.setBigUint64=="function")return e.setBigUint64(t,r,n);let o=BigInt(32),i=BigInt(4294967295),a=Number(r>>o&i),f=Number(r&i),u=n?4:0,d=n?0:4;e.setUint32(t+u,a,n),e.setUint32(t+d,f,n)}var lr=class extends fr{constructor(t,r,n,o){super(),this.blockLen=t,this.outputLen=r,this.padOffset=n,this.isLE=o,this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.buffer=new Uint8Array(t),this.view=rr(this.buffer)}update(t){Jn(this);let{view:r,buffer:n,blockLen:o}=this;t=wo(t);let i=t.length;for(let a=0;a<i;){let f=Math.min(o-this.pos,i-a);if(f===o){let u=rr(t);for(;o<=i-a;a+=o)this.process(u,a);continue}n.set(t.subarray(a,a+f),this.pos),this.pos+=f,a+=f,this.pos===o&&(this.process(r,0),this.pos=0)}return this.length+=t.length,this.roundClean(),this}digestInto(t){Jn(this),ia(t,this),this.finished=!0;let{buffer:r,view:n,blockLen:o,isLE:i}=this,{pos:a}=this;r[a++]=128,this.buffer.subarray(a).fill(0),this.padOffset>o-a&&(this.process(n,0),a=0);for(let c=a;c<o;c++)r[c]=0;ua(n,o-8,BigInt(this.length*8),i),this.process(n,0);let f=rr(t),u=this.outputLen;if(u%4)throw new Error("_sha2: outputLen should be aligned to 32bit");let d=u/4,s=this.get();if(d>s.length)throw new Error("_sha2: outputLen bigger than state");for(let c=0;c<d;c++)f.setUint32(4*c,s[c],i)}digest(){let{buffer:t,outputLen:r}=this;this.digestInto(t);let n=t.slice(0,r);return this.destroy(),n}_cloneInto(t){t||(t=new this.constructor),t.set(...this.get());let{blockLen:r,buffer:n,length:o,finished:i,destroyed:a,pos:f}=this;
3return t.length=o,t.pos=f,t.finished=i,t.destroyed=a,o%r&&t.buffer.set(n),t}},vt=BigInt(2**32-1),dr=BigInt(32);function Do(e,t=!1){return t?{h:Number(e&vt),l:Number(e>>dr&vt)}:{h:Number(e>>dr&vt)|0,l:Number(e&vt)|0}}function ca(e,t=!1){let r=new Uint32Array(e.length),n=new Uint32Array(e.length);for(let o=0;o<e.length;o++){let{h:i,l:a}=Do(e[o],t);[r[o],n[o]]=[i,a]}return[r,n]}var fa=(e,t)=>BigInt(e>>>0)<<dr|BigInt(t>>>0),la=(e,t,r)=>e>>>r,da=(e,t,r)=>e<<32-r|t>>>r,ha=(e,t,r)=>e>>>r|t<<32-r,pa=(e,t,r)=>e<<32-r|t>>>r,ba=(e,t,r)=>e<<64-r|t>>>r-32,ga=(e,t,r)=>e>>>r-32|t<<64-r,wa=(e,t)=>t,ma=(e,t)=>e,Da=(e,t,r)=>e<<r|t>>>32-r,ya=(e,t,r)=>t<<r|e>>>32-r,Ea=(e,t,r)=>t<<r-32|e>>>64-r,xa=(e,t,r)=>e<<r-32|t>>>64-r;function va(e,t,r,n){let o=(t>>>0)+(n>>>0);return{h:e+r+(o/2**32|0)|0,l:o|0}}var Aa=(e,t,r)=>(e>>>0)+(t>>>0)+(r>>>0),Sa=(e,t,r,n)=>t+r+n+(e/2**32|0)|0,Fa=(e,t,r,n)=>(e>>>0)+(t>>>0)+(r>>>0)+(n>>>0),Ca=(e,t,r,n,o)=>t+r+n+o+(e/2**32|0)|0,Ia=(e,t,r,n,o)=>(e>>>0)+(t>>>0)+(r>>>0)+(n>>>0)+(o>>>0),Ba=(e,t,r,n,o,i)=>t+r+n+o+i+(e/2**32|0)|0,B={fromBig:Do,split:ca,toBig:fa,shrSH:la,shrSL:da,rotrSH:ha,rotrSL:pa,rotrBH:ba,rotrBL:ga,rotr32H:wa,rotr32L:ma,rotlSH:Da,rotlSL:ya,rotlBH:Ea,rotlBL:xa,add:va,add3L:Aa,add3H:Sa,add4L:Fa,add4H:Ca,add5H:Ba,add5L:Ia},[_a,Oa]=B.split(["0x428a2f98d728ae22","0x7137449123ef65cd","0xb5c0fbcfec4d3b2f","0xe9b5dba58189dbbc","0x3956c25bf348b538","0x59f111f1b605d019","0x923f82a4af194f9b","0xab1c5ed5da6d8118","0xd807aa98a3030242","0x12835b0145706fbe","0x243185be4ee4b28c","0x550c7dc3d5ffb4e2","0x72be5d74f27b896f","0x80deb1fe3b1696b1","0x9bdc06a725c71235","0xc19bf174cf692694","0xe49b69c19ef14ad2","0xefbe4786384f25e3","0x0fc19dc68b8cd5b5","0x240ca1cc77ac9c65","0x2de92c6f592b0275","0x4a7484aa6ea6e483","0x5cb0a9dcbd41fbd4","0x76f988da831153b5","0x983e5152ee66dfab","0xa831c66d2db43210","0xb00327c898fb213f","0xbf597fc7beef0ee4","0xc6e00bf33da88fc2","0xd5a79147930aa725","0x06ca6351e003826f","0x142929670a0e6e70","0x27b70a8546d22ffc","0x2e1b21385c26c926","0x4d2c6dfc5ac42aed","0x53380d139d95b3df","0x650a73548baf63de","0x766a0abb3c77b2a8","0x81c2c92e47edaee6","0x92722c851482353b","0xa2bfe8a14cf10364","0xa81a664bbc423001","0xc24b8b70d0f89791","0xc76c51a30654be30","0xd192e819d6ef5218","0xd69906245565a910","0xf40e3585
35771202a","0x106aa07032bbd1b8","0x19a4c116b8d2d0c8","0x1e376c085141ab53","0x2748774cdf8eeb99","0x34b0bcb5e19b48a8","0x391c0cb3c5c95a63","0x4ed8aa4ae3418acb","0x5b9cca4f7763e373","0x682e6ff3d6b2b8a3","0x748f82ee5defb2fc","0x78a5636f43172f60","0x84c87814a1f0ab72","0x8cc702081a6439ec","0x90befffa23631e28","0xa4506cebde82bde9","0xbef9a3f7b2c67915","0xc67178f2e372532b","0xca273eceea26619c","0xd186b8c721c0c207","0xeada7dd6cde0eb1e","0xf57d4f7fee6ed178","0x06f067aa72176fba","0x0a637dc5a2c898a6","0x113f9804bef90dae","0x1b710b35131c471b","0x28db77f523047d84","0x32caab7b40c72493","0x3c9ebe0a15c9bebc","0x431d67c49c100d4c","0x4cc5d4becb3e42b6","0x597f299cfc657e2a","0x5fcb6fab3ad6faec","0x6c44198c4a475817"].map(e=>BigInt(e))),pe=new Uint32Array(80),be=new Uint32Array(80),hr=class extends lr{constructor(){super(128,64,16,!1),this.Ah=1779033703,this.Al=-205731576,this.Bh=-1150833019,this.Bl=-2067093701,this.Ch=1013904242,this.Cl=-23791573,this.Dh=-1521486534,this.Dl=1595750129,this.Eh=1359893119,this.El=-1377402159,this.Fh=-1694144372,this.Fl=725511199,this.Gh=528734635,this.Gl=-79577749,this.Hh=1541459225,this.Hl=327033209}get(){let{Ah:t,Al:r,Bh:n,Bl:o,Ch:i,Cl:a,Dh:f,Dl:u,Eh:d,El:s,Fh:c,Fl:l,Gh:p,Gl:h,Hh:b,Hl:g}=this;return[t,r,n,o,i,a,f,u,d,s,c,l,p,h,b,g]}set(t,r,n,o,i,a,f,u,d,s,c,l,p,h,b,g){this.Ah=t|0,this.Al=r|0,this.Bh=n|0,this.Bl=o|0,this.Ch=i|0,this.Cl=a|0,this.Dh=f|0,this.Dl=u|0,this.Eh=d|0,this.El=s|0,this.Fh=c|0,this.Fl=l|0,this.Gh=p|0,this.Gl=h|0,this.Hh=b|0,this.Hl=g|0}process(t,r){for(let w=0;w<16;w++,r+=4)pe[w]=t.getUint32(r),be[w]=t.getUint32(r+=4);for(let w=16;w<80;w++){let A=pe[w-15]|0,_=be[w-15]|0,M=B.rotrSH(A,_,1)^B.rotrSH(A,_,8)^B.shrSH(A,_,7),R=B.rotrSL(A,_,1)^B.rotrSL(A,_,8)^B.shrSL(A,_,7),O=pe[w-2]|0,z=be[w-2]|0,Be=B.rotrSH(O,z,19)^B.rotrBH(O,z,61)^B.shrSH(O,z,6),ye=B.rotrSL(O,z,19)^B.rotrBL(O,z,61)^B.shrSL(O,z,6),_e=B.add4L(R,ye,be[w-7],be[w-16]),He=B.add4H(_e,M,Be,pe[w-7],pe[w-16]);pe[w]=He|0,be[w]=_e|0}let{Ah:n,Al:o,Bh:i,Bl:a,Ch:f,Cl:u,Dh:d,Dl:s,Eh:c,El:l,Fh:p,Fl:h,Gh:b,Gl:g,Hh:x,Hl:v}=this;for(let w=0;w<80;w++){let A=B.rotrSH(c,l,14)^B.rotrSH(c,l,18)^B.rotrBH(c,l,41),_=B.rotrSL(c,l,14)^B.rotrSL(c,l,18)^B.rotrBL(c,l,41),M=c&p^~c&b,R=l&h^~l&g,O=B.add5L(v,_,R,Oa[w],be[w]),z=B.add5H(O,x,A,M,_a[w],pe[w]),Be=O|0,ye=B.rotrSH(n,o,28)^B.rotrBH(n,o,34)^B.rotrBH(n,o,39),_e=B.rotrSL(n,o,28)^B.rotrBL(n,o,34)^B.rotrBL(n,o,39),He=n&i^n&f^i&f,Kt=o&a^o&u^a&u;x=b|0,v=g|0,b=p|0,g=h|0,p=c|0,h=l|0,{h:c,l}=B.add(d|0,s|0,z|0,Be|0),d=f|0,s=u|0,f=i|0,u=a|0,i=n|0,a=o|0;let S=B.add3L(Be,_e,Kt);n=B.add3H(S,z,ye,He),o=S|0}({h:n,l:o}=B.add(this.Ah|0,this.Al|0,n|0,o|0)),{h:i,l:a}=B.add(this.Bh|0,this.Bl|0,i|0,a|0),{h:f,l:u}=B.add(this.Ch|0,this.Cl|0,f|0,u|0),{h:d,l:s}=B.add(this.Dh|0,this.Dl|0,d|0,s|0),{h:c,l}=B.add(this.Eh|0,this.El|0,c|0,l|0),{h:p,l:h}=B.add(this.Fh|0,this.Fl|0,p|0,h|0),{h:b,l:g}=B.add(this.Gh|0,this.Gl|0,b|0,g|0),{h:x,l:v}=B.add(this.Hh|0,this.Hl|0,x|0,v|0),this.set(n,o,i,a,f,u,d,s,c,l,p,h,b,g,x,v)}roundClean(){pe.fill(0),be.fill(0)}destroy(){this.buffer.fill(0),this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)}},Ua=aa(()=>new hr);var Ar=BigInt(0),yo=BigInt(1),Ta=BigInt(2);function Sr(e){return e instanceof Uint8Array||ArrayBuffer.isView(e)&&e.constructor.name==="Uint8Array"}function Fr(e){if(!Sr(e))throw new Error("Uint8Array expected")}function nr(e,t){if(typeof t!="boolean")throw new Error(e+" boolean expected, got "+t)}var Na=Array.from({length:256},(e,t)=>t.toString(16).padStart(2,"0"));function Cr(e){Fr(e);let t="";for(let r=0;r<e.length;r++)t+=Na[e[r]];return t}function Eo(e){if(typeof e!="string")throw new Error("hex string expected, got "+typeof e);return e===""?Ar:BigInt("0x"+e)}var fe={_0:48,_9:57,A:65,F:70,a:97,f:102};function Xn(e){if(e>=fe._0&&e<=fe._9)return e-fe._0;if(e>=fe.A&&e<=fe.F)return e-(fe.A-10);if(e>=fe.a&&e<=fe.f)return e-(fe.a-10)}function xo(e){if(typeof e!="string")throw new Error("hex string expected, got "+typeof e);let t=e.length,r=t/2;if(t%2)throw new Error("hex string expected, got unpadded hex of length "+t);let n=new Uint8Array(r);for(let o=0,i=0;o<r;o++,i+=2){let a=Xn(e.charCodeAt(i)),f=Xn(e.charCodeAt(i+1));if(a===void 0||f===void 0){let u=e[i]+e[i+1];throw new Error('hex string expected, got non-hex character "'+u+'" at index '+i)}n[o]=a*16+f}return n}function Ra(e){return Eo(Cr(e))}function Ft(e){return Fr(e),Eo(Cr(Uint8Array.from(e).reverse()))}function vo(e,t){return xo(e.toString(16).padStart(t*2,"0"))}function pr(e,t){return vo(e,t).reverse()}function le(e,t,r){let n;if(typeof t=="string")try{n=xo(t)}catch(i){throw new Error(e+" must be hex string or Uint8Array, cause: "+i)}else if(Sr(t))n=Uint8Array.from(t);else throw new Error(e+" must be hex string or Uint8Array");let o=n.length;if(typeof r=="number"&&o!==r)throw new Error(e+" of length "+r+" expected, got "+o);return n}function Zn(...e){let t=0;for(let n=0;n<e.length;n++){let o=e[n];Fr(o),t+=o.length}let r=new Uint8Array(t);for(let n=0,o=0;n<e.length;n++){let i=e[n];r.set(i,o),o+=i.length}return r}var or=e=>typeof e=="bigint"&&Ar<=e;function Ma(e,t,r){return or(e)&&or(t)&&or(r)&&t<=e&&e<r}function Ge(e,t,r,n){if(!Ma(t,r,n))throw new Error("expected valid "+e+": "+r+" <= n < "+n+", got "+t)}function Pa(e){let t;for(t=0;e>Ar;e>>=yo,t+=1);return t}var ka=e=>(Ta<<BigInt(e-1))-yo,La={bigint:e=>typeof e=="bigint",function:e=>typeof e=="function",boolean:e=>typeof e=="boolean",string:e=>typeof e=="string",stringOrUint8Array:e=>typeof e=="string"||Sr(e),isSafeInteger:e=>Number.isSafeInteger(e),array:e=>Array.isArray(e),field:(e,t)=>t.Fp.isValid(e),hash:e=>typeof e=="function"&&Number.isSafeInteger(e.outputLen)};function Ir(e,t,r={}){let n=(o,i,a)=>{let f=La[i];if(typeof f!="function")throw new Error("invalid validator function");let u=e[o];if(!(a&&u===void 0)&&!f(u,e))throw new Error("param "+String(o)+" is invali
3d. Expected "+i+", got "+u)};for(let[o,i]of Object.entries(t))n(o,i,!1);for(let[o,i]of Object.entries(r))n(o,i,!0);return e}function Qn(e){let t=new WeakMap;return(r,...n)=>{let o=t.get(r);if(o!==void 0)return o;let i=e(r,...n);return t.set(r,i),i}}var q=BigInt(0),K=BigInt(1),Se=BigInt(2),za=BigInt(3),br=BigInt(4),eo=BigInt(5),to=BigInt(8);function $(e,t){let r=e%t;return r>=q?r:t+r}function Wa(e,t,r){if(t<q)throw new Error("invalid exponent, negatives unsupported");if(r<=q)throw new Error("invalid modulus");if(r===K)return q;let n=K;for(;t>q;)t&K&&(n=n*e%r),e=e*e%r,t>>=K;return n}function se(e,t,r){let n=e;for(;t-- >q;)n*=n,n%=r;return n}function ro(e,t){if(e===q)throw new Error("invert: expected non-zero number");if(t<=q)throw new Error("invert: expected positive modulus, got "+t);let r=$(e,t),n=t,o=q,i=K;for(;r!==q;){let a=n/r,f=n%r,u=o-i*a;n=r,r=f,o=i,i=u}if(n!==K)throw new Error("invert: does not exist");return $(o,t)}function Ha(e){let t=(e-K)/Se,r,n,o;for(r=e-K,n=0;r%Se===q;r/=Se,n++);for(o=Se;o<e&&Wa(o,t,e)!==e-K;o++)if(o>1e3)throw new Error("Cannot find square root: likely non-prime P");if(n===1){let a=(e+K)/br;return function(f,u){let d=f.pow(u,a);if(!f.eql(f.sqr(d),u))throw new Error("Cannot find square root");return d}}let i=(r+K)/Se;return function(a,f){if(a.pow(f,t)===a.neg(a.ONE))throw new Error("Cannot find square root");let u=n,d=a.pow(a.mul(a.ONE,o),r),s=a.pow(f,i),c=a.pow(f,r);for(;!a.eql(c,a.ONE);){if(a.eql(c,a.ZERO))return a.ZERO;let l=1;for(let h=a.sqr(c);l<u&&!a.eql(h,a.ONE);l++)h=a.sqr(h);let p=a.pow(d,K<<BigInt(u-l-1));d=a.sqr(p),s=a.mul(s,p),c=a.mul(c,d),u=l}return s}}function ja(e){if(e%br===za){let t=(e+K)/br;return function(r,n){let o=r.pow(n,t);if(!r.eql(r.sqr(o),n))throw new Error("Cannot find square root");return o}}if(e%to===eo){let t=(e-eo)/to;return function(r,n){let o=r.mul(n,Se),i=r.pow(o,t),a=r.mul(n,i),f=r.mul(r.mul(a,Se),i),u=r.mul(a,r.sub(f,r.ONE));if(!r.eql(r.sqr(u),n))throw new Error("Cannot find square root");return u}}return Ha(e)}var Ka=(e,t)=>($(e,t)&K)===K,$a=["create","isValid","is0","neg","inv","sqrt","sqr","eql","add","sub","mul","pow","div","addN","subN","mulN","sqrN"];function Va(e){let t={ORDER:"bigint",MASK:"bigint",BYTES:"isSafeInteger",BITS:"isSafeInteger"},r=$a.reduce((n,o)=>(n[o]="function",n),t);return Ir(e,r)}function qa(e,t,r){if(r<q)throw new Error("invalid exponent, negatives unsupported");if(r===q)return e.ONE;if(r===K)return t;let n=e.ONE,o=t;for(;r>q;)r&K&&(n=e.mul(n,o)),o=e.sqr(o),r>>=K;return n}function Ga(e,t){let r=new Array(t.length),n=t.reduce((i,a,f)=>e.is0(a)?i:(r[f]=i,e.mul(i,a)),e.ONE),o=e.inv(n);return t.reduceRight((i,a,f)=>e.is0(a)?i:(r[f]=e.mul(i,r[f]),e.mul(i,a)),o),r}function Ao(e,t){let r=t!==void 0?t:e.toString(2).length,n=Math.ceil(r/8);return{nBitLength:r,nByteLength:n}}function So(e,t,r=!1,n={}){if(e<=q)throw new Error("invalid field: expected ORDER > 0, got "+e);let{nBitLength:o,nByteLength:i}=Ao(e,t);if(i>2048)throw new Error("invalid field: expected ORDER of <= 2048 bytes");let a,f=Object.freeze({ORDER:e,isLE:r,BITS:o,BYTES:i,MASK:ka(o),ZERO:q,ONE:K,create:u=>$(u,e),isValid:u=>{if(typeof u!="bigint")throw new Error("invalid field element: expected bigint, got "+typeof u);return q<=u&&u<e},is0:u=>u===q,isOdd:u=>(u&K)===K,neg:u=>$(-u,e),eql:(u,d)=>u===d,sqr:u=>$(u*u,e),add:(u,d)=>$(u+d,e),sub:(u,d)=>$(u-d,e),mul:(u,d)=>$(u*d,e),pow:(u,d)=>qa(f,u,d),div:(u,d)=>$(u*ro(d,e),e),sqrN:u=>u*u,addN:(u,d)=>u+d,subN:(u,d)=>u-d,mulN:(u,d)=>u*d,inv:u=>ro(u,e),sqrt:n.sqrt||(u=>(a||(a=ja(e)),a(f,u))),invertBatch:u=>Ga(f,u),cmov:(u,d,s)=>s?d:u,toBytes:u=>r?pr(u,i):vo(u,i),fromBytes:u=>{if(u.length!==i)throw new Error("Field.fromBytes: expected "+i+" bytes, got "+u.length);return r?Ft(u):Ra(u)}});return Object.freeze(f)}var no=BigInt(0),At=BigInt(1);function ir(e,t){let r=t.negate();return e?r:t}function Fo(e,t){if(!Number.isSafeInteger(e)||e<=0||e>t)throw new Error("invalid window size, expected [1.."+t+"], got W="+e)}function sr(e,t){Fo(e,t);let r=Math.ceil(t/e)+1,n=2**(e-1);return{windows:r,windowSize:n}}function Ya(e,t){if(!Array.isArray(e))throw new Error("array expected");e.forEach((r,n)=>{if(!(r instanceof t))throw new Error("invalid point at index "+n)})}function Ja(e,t){if(!Array.isArray(e))throw new Error("array of scalars expected");e.forEach((r,n)=>{if(!t.isValid(r))throw new Error("invalid scalar at index "+n)})}var ar=new WeakMap,Co=new WeakMap;function ur(e){return Co.get(e)||1}function Xa(e,t){return{constTimeNegate:ir,hasPrecomputes(r){return ur(r)!==1},unsafeLadder(r,n,o=e.ZERO){let i=r;for(;n>no;)n&At&&(o=o.add(i)),i=i.double(),n>>=At;return o},precomputeWindow(r,n){let{windows:o,windowSize:i}
vendor: 6,489 bytes, line 3
3=sr(n,t),a=[],f=r,u=f;for(let d=0;d<o;d++){u=f,a.push(u);for(let s=1;s<i;s++)u=u.add(f),a.push(u);f=u.double()}return a},wNAF(r,n,o){let{windows:i,windowSize:a}=sr(r,t),f=e.ZERO,u=e.BASE,d=BigInt(2**r-1),s=2**r,c=BigInt(r);for(let l=0;l<i;l++){let p=l*a,h=Number(o&d);o>>=c,h>a&&(h-=s,o+=At);let b=p,g=p+Math.abs(h)-1,x=l%2!==0,v=h<0;h===0?u=u.add(ir(x,n[b])):f=f.add(ir(v,n[g]))}return{p:f,f:u}},wNAFUnsafe(r,n,o,i=e.ZERO){let{windows:a,windowSize:f}=sr(r,t),u=BigInt(2**r-1),d=2**r,s=BigInt(r);for(let c=0;c<a;c++){let l=c*f;if(o===no)break;let p=Number(o&u);if(o>>=s,p>f&&(p-=d,o+=At),p===0)continue;let h=n[l+Math.abs(p)-1];p<0&&(h=h.negate()),i=i.add(h)}return i},getPrecomputes(r,n,o){let i=ar.get(n);return i||(i=this.precomputeWindow(n,r),r!==1&&ar.set(n,o(i))),i},wNAFCached(r,n,o){let i=ur(r);return this.wNAF(i,this.getPrecomputes(i,r,o),n)},wNAFCachedUnsafe(r,n,o,i){let a=ur(r);return a===1?this.unsafeLadder(r,n,i):this.wNAFUnsafe(a,this.getPrecomputes(a,r,o),n,i)},setWindowSize(r,n){Fo(n,t),Co.set(r,n),ar.delete(r)}}}function Za(e,t,r,n){if(Ya(r,e),Ja(n,t),r.length!==n.length)throw new Error("arrays of points and scalars must have equal length");let o=e.ZERO,i=Pa(BigInt(r.length)),a=i>12?i-3:i>4?i-2:i?2:1,f=(1<<a)-1,u=new Array(f+1).fill(o),d=Math.floor((t.BITS-1)/a)*a,s=o;for(let c=d;c>=0;c-=a){u.fill(o);for(let p=0;p<n.length;p++){let h=n[p],b=Number(h>>BigInt(c)&BigInt(f));u[b]=u[b].add(r[p])}let l=o;for(let p=u.length-1,h=o;p>0;p--)h=h.add(u[p]),l=l.add(h);if(s=s.add(l),c!==0)for(let p=0;p<a;p++)s=s.double()}return s}function Qa(e){return Va(e.Fp),Ir(e,{n:"bigint",h:"bigint",Gx:"field",Gy:"field"},{nBitLength:"isSafeInteger",nByteLength:"isSafeInteger"}),Object.freeze(ct(C(C({},Ao(e.n,e.nBitLength)),e),{p:e.Fp.ORDER}))}var ie=BigInt(0),re=BigInt(1),St=BigInt(2),eu=BigInt(8),tu={zip215:!0};function ru(e){let t=Qa(e);return Ir(e,{hash:"function",a:"bigint",d:"bigint",randomBytes:"function"},{adjustScalarBytes:"function",domain:"function",uvRatio:"function",mapToCurve:"function"}),Object.freeze(C({},t))}function nu(e){let t=ru(e),{Fp:r,n,prehash:o,hash:i,randomBytes:a,nByteLength:f,h:u}=t,d=St<<BigInt(f*8)-re,s=r.create,c=So(t.n,t.nBitLength),l=t.uvRatio||((S,m)=>{try{return{isValid:!0,value:r.sqrt(S*r.inv(m))}}catch{return{isValid:!1,value:ie}}}),p=t.adjustScalarBytes||(S=>S),h=t.domain||((S,m,E)=>{if(nr("phflag",E),m.length||E)throw new Error("Contexts/pre-hash are not supported");return S});function b(S,m){Ge("coordinate "+S,m,ie,d)}function g(S){if(!(S instanceof w))throw new Error("ExtendedPoint expected")}let x=Qn((S,m)=>{let{ex:E,ey:F,ez:U}=S,N=S.is0();m==null&&(m=N?eu:r.inv(U));let P=s(E*m),W=s(F*m),k=s(U*m);if(N)return{x:ie,y:re};if(k!==re)throw new Error("invZ was invalid");return{x:P,y:W}}),v=Qn(S=>{let{a:m,d:E}=t;if(S.is0())throw new Error("bad point: ZERO");let{ex:F,ey:U,ez:N,et:P}=S,W=s(F*F),k=s(U*U),H=s(N*N),G=s(H*H),te=s(W*m),ue=s(H*s(te+k)),ce=s(G+s(E*s(W*k)));if(ue!==ce)throw new Error("bad point: equation left != right (1)");let oe=s(F*U),he=s(N*P);if(oe!==he)throw new Error("bad point: equation left != right (2)");return!0});class w{constructor(m,E,F,U){this.ex=m,this.ey=E,this.ez=F,this.et=U,b("x",m),b("y",E),b("z",F),b("t",U),Object.freeze(this)}get x(){return this.toAffine().x}get y(){return this.toAffine().y}static fromAffine(m){if(m instanceof w)throw new Error("extended point not allowed");let{x:E,y:F}=m||{};return b("x",E),b("y",F),new w(E,F,re,s(E*F))}static normalizeZ(m){let E=r.invertBatch(m.map(F=>F.ez));return m.map((F,U)=>F.toAffine(E[U])).map(w.fromAffine)}static msm(m,E){return Za(w,c,m,E)}_setWindowSize(m){M.setWindowSize(this,m)}assertValidity(){v(this)}equals(m){g(m);let{ex:E,ey:F,ez:U}=this,{ex:N,ey:P,ez:W}=m,k=s(E*W),H=s(N*U),G=s(F*W),te=s(P*U);return k===H&&G===te}is0(){return this.equals(w.ZERO)}negate(){return new w(s(-this.ex),this.ey,this.ez,s(-this.et))}double(){let{a:m}=t,{ex:E,ey:F,ez:U}=this,N=s(E*E),P=s(F*F),W=s(St*s(U*U)),k=s(m*N),H=E+F,G=s(s(H*H)-N-P),te=k+P,ue=te-W,ce=k-P,oe=s(G*ue),he=s(te*ce),Ee=s(G*ce),ut=s(ue*te);return new w(oe,he,ut,Ee)}add(m){g(m);let{a:E,d:F}=t,{ex:U,ey:N,ez:P,et:W}=this,{ex:k,ey:H,ez:G,et:te}=m;if(E===BigInt(-1)){let dn=s((N-U)*(H+k)),hn=s((N+U)*(H-k)),$t=s(hn-dn);if($t===ie)return this.double();let pn=s(P*St*te),bn=s(W*St*G),gn=bn+pn,wn=hn+dn,mn=bn-pn,rs=s(gn*$t),ns=s(wn*mn),os=s(gn*mn),is=s($t*wn);return new w(rs,ns,is,os)}let ue=s(U*k),ce=s(N*H),oe=s(W*F*te),he=s(P*G),Ee=s((U+N)*(k+H)-ue-ce),ut=he-oe,fn=he+oe,ln=s(ce-E*ue),Zi=s(Ee*ut),Qi=s(fn*ln),es=s(Ee*ln),ts=s(ut*fn);return new w(Zi,Qi,ts,es)}subtract(m){return this.add(m.negate())}wNAF(m){return M.wNAFCached(this,m,w.normalizeZ)}multiply(m){let E=m;Ge("scalar",E,re,n);let{p:F,f:U}=this.wNAF(E);return w.normalizeZ([F,U])[0]}multiplyUnsafe(m,E=w.ZERO){let F=m;return Ge("scalar",F,ie,n),F===ie?_:this.is0()||F===re?this:M.wNAFCachedUnsafe(this,F,w.normalizeZ,E)}isSmallOrder(){return this.multiplyUnsafe(u).is0()}isTorsionFree(){return M.unsafeLadder(this,n).is0()}toAffine(m){return x(this,m)}clearCofactor(){let{h:m}=t;return m===re?this:this.multiplyUnsafe(m)}static fromHex(m,E=!1){let{d:F,a:U}=t,N=r.BYTES;m=le("pointHex",m,N),nr("zip215",E);let P=m.slice(),W=m[N-1];P[N-1]=W&-129;let k=Ft(P),H=E?d:r.ORDER;Ge("pointHex.y",k,ie,H);let G=s(k*k),te=s(G-re),ue=s(F*G-U),{isValid:ce,value:oe}=l(te,ue);if(!ce)throw new Error("Point.fromHex: invalid y coordinate");let he=(oe&re)===re,Ee=(W&128)!==0;if(!E&&oe===ie&&Ee)throw new Error("Point.fromHex: x=0 and x_0=1");return Ee!==he&&(oe=s(-oe)),w.fromAffine({x:oe,y:k})}static fromPrivateKey(m){return z(m).point}toRawBytes(){let{x:m,y:E}=this.toAffine(),F=pr(E,r.BYTES);return F[F.length-1]|=m&re?128:0,F}toHex(){return Cr(this.toRawBytes())}}w.BASE=new w(t.Gx,t.Gy,re,s(t.Gx*t.Gy)),w.ZERO=new w(ie,re,re,ie);let{BASE:A,ZERO:_}=w,M=Xa(w,f*8);function R(S){return $(S,n)}function O(S){return R(Ft(S))}function z(S){let m=r.BYTES;S=le("private key",S,m);let E=le("hashed private key",i(S),2*m),F=p(E.slice(0,m)),U=E.slice(m,2*m),N=O(F),P=A.multiply(N),W=P.toRawBytes();return{head:F,prefix:U,scalar:N,point:P,pointBytes:W}}function Be(S){return z(S).pointBytes}function ye(S=new Uint8Array,...m){let E=Zn(...m);return O(i(h(E,le("context",S),!!o)))}function _e(S,m,E={}){S=le("message",S),o&&(S=o(S));let{prefix:F,scalar:U,pointBytes:N}=z(m),P=ye(E.context,F,S),W=A.multiply(P).toRawBytes(),k=ye(E.context,W,N,S),H=R(P+k*U);Ge("signature.s",H,ie,n);let G=Zn(W,pr(H,r.BYTES));return le("result",G,r.BYTES*2)}let He=tu;
vendor: 4,956 bytes, line 3
3function Kt(S,m,E,F=He){let{context:U,zip215:N}=F,P=r.BYTES;S=le("signature",S,2*P),m=le("message",m),E=le("publicKey",E,P),N!==void 0&&nr("zip215",N),o&&(m=o(m));let W=Ft(S.slice(P,2*P)),k,H,G;try{k=w.fromHex(E,N),H=w.fromHex(S.slice(0,P),N),G=A.multiplyUnsafe(W)}catch{return!1}if(!N&&k.isSmallOrder())return!1;let te=ye(U,H.toRawBytes(),k.toRawBytes(),m);return H.add(k.multiplyUnsafe(te)).subtract(G).clearCofactor().equals(w.ZERO)}return A._setWindowSize(8),{CURVE:t,getPublicKey:Be,sign:_e,verify:Kt,ExtendedPoint:w,utils:{getExtendedPublicKey:z,randomPrivateKey:()=>a(r.BYTES),precompute(S=8,m=w.BASE){return m._setWindowSize(S),m.multiply(BigInt(3)),m}}}}BigInt(0),BigInt(1);var Br=BigInt("57896044618658097711785492504343953926634992332820282019728792003956564819949"),oo=BigInt("19681161376707505956807079304988542015446066515923890162744021073123829784752");BigInt(0);var ou=BigInt(1),io=BigInt(2);BigInt(3);var iu=BigInt(5),su=BigInt(8);function au(e){let t=BigInt(10),r=BigInt(20),n=BigInt(40),o=BigInt(80),i=Br,a=e*e%i*e%i,f=se(a,io,i)*a%i,u=se(f,ou,i)*e%i,d=se(u,iu,i)*u%i,s=se(d,t,i)*d%i,c=se(s,r,i)*s%i,l=se(c,n,i)*c%i,p=se(l,o,i)*l%i,h=se(p,o,i)*l%i,b=se(h,t,i)*d%i;return{pow_p_5_8:se(b,io,i)*e%i,b2:a}}function uu(e){return e[0]&=248,e[31]&=127,e[31]|=64,e}function cu(e,t){let r=Br,n=$(t*t*t,r),o=$(n*n*t,r),i=au(e*o).pow_p_5_8,a=$(e*n*i,r),f=$(t*a*a,r),u=a,d=$(a*oo,r),s=f===e,c=f===$(-e,r),l=f===$(-e*oo,r);return s&&(a=u),(c||l)&&(a=d),Ka(a,r)&&(a=$(-a,r)),{isValid:s||c,value:a}}var fu=So(Br,void 0,!0),lu={a:BigInt(-1),d:BigInt("37095705934669439343138083508754565189542113879843219016388785533085940283555"),Fp:fu,n:BigInt("7237005577332262213973186563042994240857116359379907606001950938285454250989"),h:su,Gx:BigInt("15112221349535400772501151409588531511454012693041857206046113283949847762202"),Gy:BigInt("46316835694926478169428394003475163141307993866256225615783033603165251855960"),hash:Ua,randomBytes:mo,adjustScalarBytes:uu,uvRatio:cu},Io=nu(lu),du="EdDSA",hu="JWT",Ct=".",Bt="base64url",Bo="utf8",_o="utf8",pu=":",bu="did",gu="key",so="base58btc",wu="z",mu="K36";var Du=32;function _r(e){return globalThis.Buffer!=null?new Uint8Array(e.buffer,e.byteOffset,e.byteLength):e}function Oo(e=0){return globalThis.Buffer!=null&&globalThis.Buffer.allocUnsafe!=null?_r(globalThis.Buffer.allocUnsafe(e)):new Uint8Array(e)}function Uo(e,t){t||(t=e.reduce((o,i)=>o+i.length,0));let r=Oo(t),n=0;for(let o of e)r.set(o,n),n+=o.length;return _r(r)}function yu(e,t){if(e.length>=255)throw new TypeError("Alphabet too long");for(var r=new Uint8Array(256),n=0;n<r.length;n++)r[n]=255;for(var o=0;o<e.length;o++){var i=e.charAt(o),a=i.charCodeAt(0);if(r[a]!==255)throw new TypeError(i+" is ambiguous");r[a]=o}var f=e.length,u=e.charAt(0),d=Math.log(f)/Math.log(256),s=Math.log(256)/Math.log(f);function c(h){if(h instanceof Uint8Array||(ArrayBuffer.isView(h)?h=new Uint8Array(h.buffer,h.byteOffset,h.byteLength):Array.isArray(h)&&(h=Uint8Array.from(h))),!(h instanceof Uint8Array))throw new TypeError("Expected Uint8Array");if(h.length===0)return"";for(var b=0,g=0,x=0,v=h.length;x!==v&&h[x]===0;)x++,b++;for(var w=(v-x)*s+1>>>0,A=new Uint8Array(w);x!==v;){for(var _=h[x],M=0,R=w-1;(_!==0||M<g)&&R!==-1;R--,M++)_+=256*A[R]>>>0,A[R]=_%f>>>0,_=_/f>>>0;if(_!==0)throw new Error("Non-zero carry");g=M,x++}for(var O=w-g;O!==w&&A[O]===0;)O++;for(var z=u.repeat(b);O<w;++O)z+=e.charAt(A[O]);return z}function l(h){if(typeof h!="string")throw new TypeError("Expected String");if(h.length===0)return new Uint8Array;var b=0;if(h[b]!==" "){for(var g=0,x=0;h[b]===u;)g++,b++;for(var v=(h.length-b)*d+1>>>0,w=new Uint8Array(v);h[b];){var A=r[h.charCodeAt(b)];if(A===255)return;for(var _=0,M=v-1;(A!==0||_<x)&&M!==-1;M--,_++)A+=f*w[M]>>>0,w[M]=A%256>>>0,A=A/256>>>0;if(A!==0)throw new Error("Non-zero carry");x=_,b++}if(h[b]!==" "){for(var R=v-x;R!==v&&w[R]===0;)R++;for(var O=new Uint8Array(g+(v-R)),z=g;R!==v;)O[z++]=w[R++];return O}}}function p(h){var b=l(h);if(b)return b;throw new Error(`Non-${t} character`)}return{encode:c,decodeUnsafe:l,decode:p}}var Eu=yu,xu=Eu,To=e=>{if(e instanceof Uint8Array&&e.constructor.name==="Uint8Array")return e;if(e instanceof ArrayBuffer)return new Uint8Array(e);if(ArrayBuffer.isView(e))return new Uint8Array(e.buffer,e.byteOffset,e.byteLength);throw new Error("Unknown type, must be binary type")},vu=e=>new TextEncoder().encode(e),Au=e=>new TextDecoder().decode(e),gr=class{constructor(t,r,n){this.name=t,this.prefix=r,this.baseEncode=n}encode(t){if(t instanceof Uint8Array)return`${this.prefix}${this.baseEncode(t)}`;throw Error("Unknown type, must be binary type")}},wr=class{constructor(t,r,n){if(this.name=t,this.prefix=r,r.codePointAt(0)===void 0)throw new Error("Invalid prefix character");this.prefixCodePoint=r.codePointAt(0),this.baseDecode=n}decode(t){if(typeof t=="string"){if(t.codePointAt(0)!==this.prefixCodePoint)throw Error(`Unable to decode multibase string ${JSON.stringify(t)}, ${this.name}
3 decoder only supports inputs prefixed with ${this.prefix}`);return this.baseDecode(t.slice(this.prefix.length))}else throw Error("Can only multibase decode strings")}or(t){return No(this,t)}},mr=class{constructor(t){this.decoders=t}or(t){return No(this,t)}decode(t){let r=t[0],n=this.decoders[r];if(n)return n.decode(t);throw RangeError(`Unable to decode multibase string ${JSON.stringify(t)}, only inputs prefixed with ${Object.keys(this.decoders)} are supported`)}},No=(e,t)=>new mr(C(C({},e.decoders||{[e.prefix]:e}),t.decoders||{[t.prefix]:t})),Dr=class{constructor(t,r,n,o){this.name=t,this.prefix=r,this.baseEncode=n,this.baseDecode=o,this.encoder=new gr(t,r,n),this.decoder=new wr(t,r,o)}encode(t){return this.encoder.encode(t)}decode(t){return this.decoder.decode(t)}},_t=({name:e,prefix:t,encode:r,decode:n})=>new Dr(e,t,r,n),Ye=({prefix:e,name:t,alphabet:r})=>{let{encode:n,decode:o}=xu(r,t);return _t({prefix:e,name:t,encode:n,decode:i=>To(o(i))})},Su=(e,t,r,n)=>{let o={};for(let s=0;s<t.length;++s)o[t[s]]=s;let i=e.length;for(;e[i-1]==="=";)--i;let a=new Uint8Array(i*r/8|0),f=0,u=0,d=0;for(let s=0;s<i;++s){let c=o[e[s]];if(c===void 0)throw new SyntaxError(`Non-${n} character`);u=u<<r|c,f+=r,f>=8&&(f-=8,a[d++]=255&u>>f)}if(f>=r||255&u<<8-f)throw new SyntaxError("Unexpected end of data");return a},Fu=(e,t,r)=>{let n=t[t.length-1]==="=",o=(1<<r)-1,i="",a=0,f=0;for(let u=0;u<e.length;++u)for(f=f<<8|e[u],a+=8;a>r;)a-=r,i+=t[o&f>>a];if(a&&(i+=t[o&f<<r-a]),n)for(;i.length*r&7;)i+="=";return i},J=({name:e,prefix:t,bitsPerChar:r,alphabet:n})=>_t({prefix:t,name:e,encode(o){return Fu(o,n,r)},decode(o){return Su(o,n,r,e)}}),Cu=_t({prefix:"\0",name:"identity",encode:e=>Au(e),decode:e=>vu(e)}),Iu=Object.freeze({__proto__:null,identity:Cu}),Bu=J({prefix:"0",name:"base2",alphabet:"01",bitsPerChar:1}),_u=Object.freeze({__proto__:null,base2:Bu}),Ou=J({prefix:"7",name:"base8",alphabet:"01234567",bitsPerChar:3}),Uu=Object.freeze({__proto__:null,base8:Ou}),Tu=Ye({prefix:"9",name:"base10",alphabet:"0123456789"}),Nu=Object.freeze({__proto__:null,base10:Tu}),Ru=J({prefix:"f",name:"base16",alphabet:"0123456789abcdef",bitsPerChar:4}),Mu=J({prefix:"F",name:"base16upper",alphabet:"0123456789ABCDEF",bitsPerChar:4}),Pu=Object.freeze({__proto__:null,base16:Ru,base16upper:Mu}),ku=J({prefix:"b",name:"base32",alphabet:"abcdefghijklmnopqrstuvwxyz234567",bitsPerChar:5}),Lu=J({prefix:"B",name:"base32upper",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZ234567",bitsPerChar:5}),zu=J({prefix:"c",name:"base32pad",alphabet:"abcdefghijklmnopqrstuvwxyz234567=",bitsPerChar:5}),Wu=J({prefix:"C",name:"base32padupper",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZ234567=",bitsPerChar:5}),Hu=J({prefix:"v",name:"base32hex",alphabet:"0123456789abcdefghijklmnopqrstuv",bitsPerChar:5}),ju=J({prefix:"V",name:"base32hexupper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUV",bitsPerChar:5}),Ku=J({prefix:"t",name:"base32hexpad",alphabet:"0123456789abcdefghijklmnopqrstuv=",bitsPerChar:5}),$u=J({prefix:"T",name:"base32hexpadupper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUV=",bitsPerChar:5}),Vu=J({prefix:"h",name:"base32z",alphabet:"ybndrfg8ejkmcpqxot1uwisza345h769",bitsPerChar:5}),qu=Object.freeze({__proto__:null,base32:ku,base32upper:Lu,base32pad:zu,base32padupper:Wu,base32hex:Hu,base32hexupper:ju,base32hexpad:Ku,base32hexpadupper:$u,base32z:Vu}),Gu=Ye({prefix:"k",name:"base36",alphabet:"0123456789abcdefghijklmnopqrstuvwxyz"}),Yu=Ye({prefix:"K",name:"base36upper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"}),Ju=Object.freeze({__proto__:null,base36:Gu,base36upper:Yu}),Xu=Ye({name:"base58btc",prefix:"z",alphabet:"123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"}),Zu=Ye({name:"base58flickr",prefix:"Z",alphabet:"123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ"}),Qu=Object.freeze({__proto__:null,base58btc:Xu,base58flickr:Zu}),ec=J({prefix:"m",name:"base64",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",bitsPerChar:6}),tc=J({prefix:"M",name:"base64pad",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",bitsPerChar:6}),rc=J({prefix:"u",name:"base64url",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_",bitsPerChar:6}),nc=J({prefix:"U",name:"base64urlpad",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_=",bitsPerChar:6}),oc=Object.freeze({__proto__:null,base64:ec,base64pad:tc,base64url:rc,base64urlpad:nc}),Ro
vendor: 2,242 bytes, line 3
3=Array.from("\u{1F680}\u{1FA90}\u2604\u{1F6F0}\u{1F30C}\u{1F311}\u{1F312}\u{1F313}\u{1F314}\u{1F315}\u{1F316}\u{1F317}\u{1F318}\u{1F30D}\u{1F30F}\u{1F30E}\u{1F409}\u2600\u{1F4BB}\u{1F5A5}\u{1F4BE}\u{1F4BF}\u{1F602}\u2764\u{1F60D}\u{1F923}\u{1F60A}\u{1F64F}\u{1F495}\u{1F62D}\u{1F618}\u{1F44D}\u{1F605}\u{1F44F}\u{1F601}\u{1F525}\u{1F970}\u{1F494}\u{1F496}\u{1F499}\u{1F622}\u{1F914}\u{1F606}\u{1F644}\u{1F4AA}\u{1F609}\u263A\u{1F44C}\u{1F917}\u{1F49C}\u{1F614}\u{1F60E}\u{1F607}\u{1F339}\u{1F926}\u{1F389}\u{1F49E}\u270C\u2728\u{1F937}\u{1F631}\u{1F60C}\u{1F338}\u{1F64C}\u{1F60B}\u{1F497}\u{1F49A}\u{1F60F}\u{1F49B}\u{1F642}\u{1F493}\u{1F929}\u{1F604}\u{1F600}\u{1F5A4}\u{1F603}\u{1F4AF}\u{1F648}\u{1F447}\u{1F3B6}\u{1F612}\u{1F92D}\u2763\u{1F61C}\u{1F48B}\u{1F440}\u{1F62A}\u{1F611}\u{1F4A5}\u{1F64B}\u{1F61E}\u{1F629}\u{1F621}\u{1F92A}\u{1F44A}\u{1F973}\u{1F625}\u{1F924}\u{1F449}\u{1F483}\u{1F633}\u270B\u{1F61A}\u{1F61D}\u{1F634}\u{1F31F}\u{1F62C}\u{1F643}\u{1F340}\u{1F337}\u{1F63B}\u{1F613}\u2B50\u2705\u{1F97A}\u{1F308}\u{1F608}\u{1F918}\u{1F4A6}\u2714\u{1F623}\u{1F3C3}\u{1F490}\u2639\u{1F38A}\u{1F498}\u{1F620}\u261D\u{1F615}\u{1F33A}\u{1F382}\u{1F33B}\u{1F610}\u{1F595}\u{1F49D}\u{1F64A}\u{1F639}\u{1F5E3}\u{1F4AB}\u{1F480}\u{1F451}\u{1F3B5}\u{1F91E}\u{1F61B}\u{1F534}\u{1F624}\u{1F33C}\u{1F62B}\u26BD\u{1F919}\u2615\u{1F3C6}\u{1F92B}\u{1F448}\u{1F62E}\u{1F646}\u{1F37B}\u{1F343}\u{1F436}\u{1F481}\u{1F632}\u{1F33F}\u{1F9E1}\u{1F381}\u26A1\u{1F31E}\u{1F388}\u274C\u270A\u{1F44B}\u{1F630}\u{1F928}\u{1F636}\u{1F91D}\u{1F6B6}\u{1F4B0}\u{1F353}\u{1F4A2}\u{1F91F}\u{1F641}\u{1F6A8}\u{1F4A8}\u{1F92C}\u2708\u{1F380}\u{1F37A}\u{1F913}\u{1F619}\u{1F49F}\u{1F331}\u{1F616}\u{1F476}\u{1F974}\u25B6\u27A1\u2753\u{1F48E}\u{1F4B8}\u2B07\u{1F628}\u{1F31A}\u{1F98B}\u{1F637}\u{1F57A}\u26A0\u{1F645}\u{1F61F}\u{1F635}\u{1F44E}\u{1F932}\u{1F920}\u{1F927}\u{1F4CC}\u{1F535}\u{1F485}\u{1F9D0}\u{1F43E}\u{1F352}\u{1F617}\u{1F911}\u{1F30A}\u{1F92F}\u{1F437}\u260E\u{1F4A7}\u{1F62F}\u{1F486}\u{1F446}\u{1F3A4}\u{1F647}\u{1F351}\u2744\u{1F334}\u{1F4A3}\u{1F438}\u{1F48C}\u{1F4CD}\u{1F940}\u{1F922}\u{1F445}\u{1F4A1}\u{1F4A9}\u{1F450}\u{1F4F8}\u{1F47B}\u{1F910}\u{1F92E}\u{1F3BC}\u{1F975}\u{1F6A9}\u{1F34E}\u{1F34A}\u{1F47C}\u{1F48D}\u{1F4E3}\u{1F942}"),
3ic=Ro.reduce((e,t,r)=>(e[r]=t,e),[]),sc=Ro.reduce((e,t,r)=>(e[t.codePointAt(0)]=r,e),[]);function ac(e){return e.reduce((t,r)=>(t+=ic[r],t),"")}function uc(e){let t=[];for(let r of e){let n=sc[r.codePointAt(0)];if(n===void 0)throw new Error(`Non-base256emoji character: ${r}`);t.push(n)}return new Uint8Array(t)}var cc=_t({prefix:"\u{1F680}",name:"base256emoji",encode:ac,decode:uc}),fc=Object.freeze({__proto__:null,base256emoji:cc}),lc=Mo,ao=128,dc=127,hc=~dc,pc=Math.pow(2,31);function Mo(e,t,r){t=t||[],r=r||0;for(var n=r;e>=pc;)t[r++]=e&255|ao,e/=128;for(;e&hc;)t[r++]=e&255|ao,e>>>=7;return t[r]=e|0,Mo.bytes=r-n+1,t}var bc=yr,gc=128,uo=127;function yr(e,n){var r=0,n=n||0,o=0,i=n,a,f=e.length;do{if(i>=f)throw yr.bytes=0,new RangeError("Could not decode varint");a=e[i++],r+=o<28?(a&uo)<<o:(a&uo)*Math.pow(2,o),o+=7}while(a>=gc);return yr.bytes=i-n,r}var wc=Math.pow(2,7),mc=Math.pow(2,14),Dc=Math.pow(2,21),yc=Math.pow(2,28),Ec=Math.pow(2,35),xc=Math.pow(2,42),vc=Math.pow(2,49),Ac=Math.pow(2,56),Sc=Math.pow(2,63),Fc=function(e){return e<wc?1:e<mc?2:e<Dc?3:e<yc?4:e<Ec?5:e<xc?6:e<vc?7:e<Ac?8:e<Sc?9:10},Cc={encode:lc,decode:bc,encodingLength:Fc},Po=Cc,co=(e,t,r=0)=>(Po.encode(e,t,r),t),fo=e=>Po.encodingLength(e),Er=(e,t)=>{let r=t.byteLength,n=fo(e),o=n+fo(r),i=new Uint8Array(o+r);return co(e,i,0),co(r,i,n),i.set(t,o),new xr(e,r,t,i)},xr=class{constructor(t,r,n,o){this.code=t,this.size=r,this.digest=n,this.bytes=o}},ko=({name:e,code:t,encode:r})=>new vr(e,t,r),vr=class{constructor(t,r,n){this.name=t,this.code=r,this.encode=n}digest(t){if(t instanceof Uint8Array){let r=this.encode(t);return r instanceof Uint8Array?Er(this.code,r):r.then(n=>Er(this.code,n))}else throw Error("Unknown type, must be binary type")}},Lo=e=>t=>y(null,null,function*(){return new Uint8Array(yield crypto.subtle.digest(e,t))}),Ic=ko({name:"sha2-256",code:18,encode:Lo("SHA-256")}),Bc=ko({name:"sha2-512",code:19,encode:Lo("SHA-512")}),_c=Object.freeze({__proto__:null,sha256:Ic,sha512:Bc}),zo=0,Oc="identity",Wo=To,Uc=e=>Er(zo,Wo(e)),Tc={code:zo,name:Oc,encode:Wo,digest:Uc},Nc=Object.freeze({__proto__:null,identity:Tc});new TextEncoder,new TextDecoder;var lo=C(C(C(C(C(C(C(C(C(C({},Iu),_u),Uu),Nu),Pu),qu),Ju),Qu),oc),fc);C(C({},_c),Nc);function Ho(e,t,r,n){return{name:e,prefix:t,encoder:{name:e,prefix:t,encode:r},decoder:{decode:n}}}var ho=Ho("utf8","u",e=>"u"+new TextDecoder("utf8").decode(e),e=>new TextEncoder().encode(e.substring(1))),cr=Ho("ascii","a",e=>{let t="a";for(let r=0;r<e.length;r++)t+=String.fromCharCode(e[r]);return t},e=>{e=e.substring(1);let t=Oo(e.length);for(let r=0;r<e.length;r++)t[r]=e.charCodeAt(r);return t}),jo=C({utf8:ho,"utf-8":ho,hex:lo.base16,latin1:cr,ascii:cr,binary:cr},lo);function Ot(e,t="utf8"){let r=jo[t];if(!r)throw new Error(`Unsupported encoding "${t}"`);return(t==="utf8"||t==="utf-8")&&globalThis.Buffer!=null&&globalThis.Buffer.from!=null?globalThis.Buffer.from(e.buffer,e.byteOffset,e.byteLength).toString("utf8"):r.encoder.encode(e).substring(1)}function Me(e,t="utf8"){let r=jo[t];if(!r)throw new Error(`Unsupported encoding "${t}"`);return(t==="utf8"||t==="utf-8")&&globalThis.Buffer!=null&&globalThis.Buffer.from!=null?_r(globalThis.Buffer.from(e,"utf-8")):r.decoder.decode(`${r.prefix}${e}`)}function po(e){return xe(Ot(Me(e,Bt),Bo))}function It(e){return Ot(Me(ve(e),Bo),Bt)}function Rc(e){let t=Me(mu,so),r=wu+Ot(Uo([t,e]),so);return[bu,gu,r].join(pu)}function Mc(e){return Ot(e,Bt)}function Pc(e){return Me(e,Bt)}function kc(e){return Me([It(e.header),It(e.payload)].join(Ct),_o)}function Lc(e){return[It(e.header),It(e.payload),Mc(e.signature)].join(Ct)}function Ql(e){let t=e.split(Ct),r=po(t[0]),n=po(t[1]),o=Pc(t[2]),i=Me(t.slice(0,2).join(Ct),_o);return{header:r,payload:n,signature:o,data:i}}function ed(e=mo(Du)){let t=Io.getPublicKey(e);return{secretKey:Uo([e,t]),publicKey:t}}function td(i,a,f,u){return y(this,arguments,function*(e,t,r,n,o=(0,bo.fromMiliseconds)(Date.now())){let d={alg:du,typ:hu},s=Rc(n.publicKey),c=o+r,l={iss:s,sub:e,aud:t,iat:o,exp:c},p=kc({header:d,payload:l}),h=Io.sign(p,n.secretKey.slice(0,32));return Lc({header:d,payload:l,signature:h})})}function Fe(e){return globalThis.Buffer!=null?new Uint8Array(e.buffer,e.byteOffset,e.byteLength):e}function Je(e=0){return globalThis.Buffer!=null&&globalThis.Buffer.allocUnsafe!=null?Fe(globalThis.Buffer.allocUnsafe(e)):new Uint8Array(e)}function zc(e,t){t||(t=e.reduce((o,i)=>o+i.length,0));let r=Je(t),n=0;for(let o of e)r.set(o,n),n+=o.length;return Fe(r)}var Rr={};ne(Rr,{identity:()=>Vc});function Wc(e,t){if(e.length>=255)throw new TypeError("Alphabet too long");
3for(var r=new Uint8Array(256),n=0;n<r.length;n++)r[n]=255;for(var o=0;o<e.length;o++){var i=e.charAt(o),a=i.charCodeAt(0);if(r[a]!==255)throw new TypeError(i+" is ambiguous");r[a]=o}var f=e.length,u=e.charAt(0),d=Math.log(f)/Math.log(256),s=Math.log(256)/Math.log(f);function c(h){if(h instanceof Uint8Array||(ArrayBuffer.isView(h)?h=new Uint8Array(h.buffer,h.byteOffset,h.byteLength):Array.isArray(h)&&(h=Uint8Array.from(h))),!(h instanceof Uint8Array))throw new TypeError("Expected Uint8Array");if(h.length===0)return"";for(var b=0,g=0,x=0,v=h.length;x!==v&&h[x]===0;)x++,b++;for(var w=(v-x)*s+1>>>0,A=new Uint8Array(w);x!==v;){for(var _=h[x],M=0,R=w-1;(_!==0||M<g)&&R!==-1;R--,M++)_+=256*A[R]>>>0,A[R]=_%f>>>0,_=_/f>>>0;if(_!==0)throw new Error("Non-zero carry");g=M,x++}for(var O=w-g;O!==w&&A[O]===0;)O++;for(var z=u.repeat(b);O<w;++O)z+=e.charAt(A[O]);return z}function l(h){if(typeof h!="string")throw new TypeError("Expected String");if(h.length===0)return new Uint8Array;var b=0;if(h[b]!==" "){for(var g=0,x=0;h[b]===u;)g++,b++;for(var v=(h.length-b)*d+1>>>0,w=new Uint8Array(v);h[b];){var A=r[h.charCodeAt(b)];if(A===255)return;for(var _=0,M=v-1;(A!==0||_<x)&&M!==-1;M--,_++)A+=f*w[M]>>>0,w[M]=A%256>>>0,A=A/256>>>0;if(A!==0)throw new Error("Non-zero carry");x=_,b++}if(h[b]!==" "){for(var R=v-x;R!==v&&w[R]===0;)R++;for(var O=new Uint8Array(g+(v-R)),z=g;R!==v;)O[z++]=w[R++];return O}}}function p(h){var b=l(h);if(b)return b;throw new Error(`Non-${t} character`)}return{encode:c,decodeUnsafe:l,decode:p}}var Hc=Wc,jc=Hc,Ko=jc;var ld=new Uint8Array(0);var $o=(e,t)=>{if(e===t)return!0;if(e.byteLength!==t.byteLength)return!1;for(let r=0;r<e.byteLength;r++)if(e[r]!==t[r])return!1;return!0},de=e=>{if(e instanceof Uint8Array&&e.constructor.name==="Uint8Array")return e;if(e instanceof ArrayBuffer)return new Uint8Array(e);if(ArrayBuffer.isView(e))return new Uint8Array(e.buffer,e.byteOffset,e.byteLength);throw new Error("Unknown type, must be binary type")};var Vo=e=>new TextEncoder().encode(e),qo=e=>new TextDecoder().decode(e);var Or=class{constructor(t,r,n){this.name=t,this.prefix=r,this.baseEncode=n}encode(t){if(t instanceof Uint8Array)return`${this.prefix}${this.baseEncode(t)}`;throw Error("Unknown type, must be binary type")}},Ur=class{constructor(t,r,n){if(this.name=t,this.prefix=r,r.codePointAt(0)===void 0)throw new Error("Invalid prefix character");this.prefixCodePoint=r.codePointAt(0),this.baseDecode=n}decode(t){if(typeof t=="string"){if(t.codePointAt(0)!==this.prefixCodePoint)throw Error(`Unable to decode multibase string ${JSON.stringify(t)}, ${this.name} decoder only supports inputs prefixed with ${this.prefix}`);return this.baseDecode(t.slice(this.prefix.length))}else throw Error("Can only multibase decode strings")}or(t){return Yo(this,t)}},Tr=class{constructor(t){this.decoders=t}or(t){return Yo(this,t)}decode(t){let r=t[0],n=this.decoders[r];if(n)return n.decode(t);throw RangeError(`Unable to decode multibase string ${JSON.stringify(t)}, only inputs prefixed with ${Object.keys(this.decoders)} are supported`)}},Yo=(e,t)=>new Tr(C(C({},e.decoders||{[e.prefix]:e}),t.decoders||{[t.prefix]:t})),Nr=class{constructor(t,r,n,o){this.name=t,this.prefix=r,this.baseEncode=n,this.baseDecode=o,this.encoder=new Or(t,r,n),this.decoder=new Ur(t,r,o)}encode(t){return this.encoder.encode(t)}decode(t){return this.decoder.decode(t)}},Pe=({name:e,prefix:t,encode:r,decode:n})=>new Nr(e,t,r,n),ge=({prefix:e,name:t,alphabet:r})=>{let{encode:n,decode:o}=Ko(r,t);return Pe({prefix:e,name:t,encode:n,decode:i=>de(o(i))})},Kc=(e,t,r,n)=>{let o={};for(let s=0;s<t.length;++s)o[t[s]]=s;let i=e.length;for(;e[i-1]==="=";)--i;let a=new Uint8Array(i*r/8|0),f=0,u=0,d=0;for(let s=0;s<i;++s){let c=o[e[s]];if(c===void 0)throw new SyntaxError(`Non-${n} character`);u=u<<r|c,f+=r,f>=8&&(f-=8,a[d++]=255&u>>f)}if(f>=r||255&u<<8-f)throw new SyntaxError("Unexpected end of data");return a},$c=(e,t,r)=>{let n=t[t.length-1]==="=",o=(1<<r)-1,i="",a=0,f=0;for(let u=0;u<e.length;++u)for(f=f<<8|e[u],a+=8;a>r;)a-=r,i+=t[o&f>>a];if(a&&(i+=t[o&f<<r-a]),n)for(;i.length*r&7;)i+="=";return i},j=({name:e,prefix:t,bitsPerChar:r,alphabet:n})=>Pe({prefix:t,name:e,encode(o){return $c(o,n,r)},decode(o){return Kc(o,n,r,e)}});var Vc=Pe({prefix:"\0",name:"identity",encode:e=>qo(e),decode:e=>Vo(e)});var Mr={};ne(Mr,{base2:()=>qc});var qc=j({prefix:"0",name:"base2",alphabet:"01",bitsPerChar:1});var Pr={};ne(Pr,{base8:()=>Gc});var Gc=j({prefix:"7",name:"base8",alphabet:"01234567",bitsPerChar:3});var kr={};ne(kr,{base10:()=>Yc});var Yc=ge({prefix:"9",name:"base10",alphabet:"0123456789"});var Lr={};ne(Lr,{base16:()=>Jc,base16upper:()=>Xc});var Jc=j({prefix:"f",name:"base16",alphabet:"0123456789abcdef",bitsPerChar:4}),Xc=j({prefix:"F",name:"base16upper",alphabet:"0123456789ABCDEF",bitsPerChar:4});var zr={};ne(zr,{base32:()=>ke,base32hex:()=>tf,base32hexpad:()=>nf,base32hexpadupper:()=>of,base32hexupper:()=>rf,base32pad:()=>Qc,base32padupper:()=>ef,base32upper:()=>Zc,base32z:()=>sf});var ke=j({prefix:"b",name:"base32",alphabet:"abcdefghijklmnopqrstuvwxyz234567",bitsPerChar:5}),Zc=j({prefix:"B",name:"base32upper",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZ234567",bitsPerChar:5}),Qc=j({prefix:"c",name:"base32pad",alphabet:"abcdefghijklmnopqrstuvwxyz234567=",bitsPerChar:5}),ef=j({prefix:"C",name:"base32padupper",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZ234567=",bitsPerChar:5}),tf=j({prefix:"v",name:"base32hex",alphabet:"0123456789abcdefghijklmnopqrstuv",bitsPerChar:5}),rf=j({prefix:"V",name:"base32hexupper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUV",bitsPerChar:5}),nf=j({prefix:"t",name:"base32hexpad",alphabet:"0123456789abcdefghijklmnopqrstuv=",bitsPerChar:5}),of=j({prefix:"T",name:"base32hexpadupper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUV=",bitsPerChar:5}),sf=j({prefix:"h",name:"base32z",alphabet:"ybndrfg8ejkmcpqxot1uwisza345h769",bitsPerChar:5});var Wr={};ne(Wr,{base36:()=>af,base36upper:()=>uf});var af=ge({prefix:"k",name:"base36",alphabet:"0123456789abcdefghijklmnopqrstuvwxyz"}),uf=ge({prefix:"K",name:"base36upper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"});var Hr={};ne(Hr,{base58btc:()=>ae,base58flickr:()=>cf});var ae=ge({name:"base58btc",prefix:"z",alphabet:"123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"}),cf=ge({name:"base58flickr",prefix:"Z",alphabet:"123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ"});var jr={};ne(jr,{base64:()=>ff,base64pad:()=>lf,base64url:()=>df,base64urlpad:()=>hf});var ff=j({prefix:"m",name:"base64",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
3+/",bitsPerChar:6}),lf=j({prefix:"M",name:"base64pad",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",bitsPerChar:6}),df=j({prefix:"u",name:"base64url",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_",bitsPerChar:6}),hf=j({prefix:"U",name:"base64urlpad",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_=",bitsPerChar:6});var Kr={};ne(Kr,{base256emoji:()=>mf});var Jo=Array.from("\u{1F680}\u{1FA90}\u2604\u{1F6F0}\u{1F30C}\u{1F311}\u{1F312}\u{1F313}\u{1F314}\u{1F315}\u{1F316}\u{1F317}\u{1F318}\u{1F30D}\u{1F30F}\u{1F30E}\u{1F409}\u2600\u{1F4BB}\u{1F5A5}\u{1F4BE}\u{1F4BF}\u{1F602}\u2764\u{1F60D}\u{1F923}\u{1F60A}\u{1F64F}\u{1F495}\u{1F62D}\u{1F618}\u{1F44D}\u{1F605}\u{1F44F}\u{1F601}\u{1F525}\u{1F970}\u{1F494}\u{1F496}\u{1F499}\u{1F622}\u{1F914}\u{1F606}\u{1F644}\u{1F4AA}\u{1F609}\u263A\u{1F44C}\u{1F917}\u{1F49C}\u{1F614}\u{1F60E}\u{1F607}\u{1F339}\u{1F926}\u{1F389}\u{1F49E}\u270C\u2728\u{1F937}\u{1F631}\u{1F60C}\u{1F338}\u{1F64C}\u{1F60B}\u{1F497}\u{1F49A}\u{1F60F}\u{1F49B}\u{1F642}\u{1F493}\u{1F929}\u{1F604}\u{1F600}\u{1F5A4}\u{1F603}\u{1F4AF}\u{1F648}\u{1F447}\u{1F3B6}\u{1F612}\u{1F92D}\u2763\u{1F61C}\u{1F48B}\u{1F440}\u{1F62A}\u{1F611}\u{1F4A5}\u{1F64B}\u{1F61E}\u{1F629}\u{1F621}\u{1F92A}\u{1F44A}\u{1F973}\u{1F625}\u{1F924}\u{1F449}\u{1F483}\u{1F633}\u270B\u{1F61A}\u{1F61D}\u{1F634}\u{1F31F}\u{1F62C}\u{1F643}\u{1F340}\u{1F337}\u{1F63B}\u{1F613}\u2B50\u2705\u{1F97A}\u{1F308}\u{1F608}\u{1F918}\u{1F4A6}\u2714\u{1F623}\u{1F3C3}\u{1F490}\u2639\u{1F38A}\u{1F498}\u{1F620}\u261D\u{1F615}\u{1F33A}\u{1F382}\u{1F33B}\u{1F610}\u{1F595}\u{1F49D}\u{1F64A}\u{1F639}\u{1F5E3}\u{1F4AB}\u{1F480}\u{1F451}\u{1F3B5}\u{1F91E}\u{1F61B}\u{1F534}\u{1F624}\u{1F33C}\u{1F62B}\u26BD\u{1F919}\u2615\u{1F3C6}\u{1F92B}\u{1F448}\u{1F62E}\u{1F646}\u{1F37B}\u{1F343}\u{1F436}\u{1F481}\u{1F632}\u{1F33F}\u{1F9E1}\u{1F381}\u26A1\u{1F31E}\u{1F388}\u274C\u270A\u{1F44B}\u{1F630}\u{1F928}\u{1F636}\u{1F91D}\u{1F6B6}\u{1F4B0}\u{1F353}\u{1F4A2}\u{1F91F}\u{1F641}\u{1F6A8}\u{1F4A8}\u{1F92C}\u2708\u{1F380}\u{1F37A}\u{1F913}\u{1F619}\u{1F49F}\u{1F331}\u{1F616}\u{1F476}\u{1F974}\u25B6\u27A1\u2753\u{1F48E}\u{1F4B8}\u2B07\u{1F628}\u{1F31A}\u{1F98B}\u{1F637}
3\u{1F57A}\u26A0\u{1F645}\u{1F61F}\u{1F635}\u{1F44E}\u{1F932}\u{1F920}\u{1F927}\u{1F4CC}\u{1F535}\u{1F485}\u{1F9D0}\u{1F43E}\u{1F352}\u{1F617}\u{1F911}\u{1F30A}\u{1F92F}\u{1F437}\u260E\u{1F4A7}\u{1F62F}\u{1F486}\u{1F446}\u{1F3A4}\u{1F647}\u{1F351}\u2744\u{1F334}\u{1F4A3}\u{1F438}\u{1F48C}\u{1F4CD}\u{1F940}\u{1F922}\u{1F445}\u{1F4A1}\u{1F4A9}\u{1F450}\u{1F4F8}\u{1F47B}\u{1F910}\u{1F92E}\u{1F3BC}\u{1F975}\u{1F6A9}\u{1F34E}\u{1F34A}\u{1F47C}\u{1F48D}\u{1F4E3}\u{1F942}"),pf=Jo.reduce((e,t,r)=>(e[r]=t,e),[]),bf=Jo.reduce((e,t,r)=>(e[t.codePointAt(0)]=r,e),[]);function gf(e){return e.reduce((t,r)=>(t+=pf[r],t),"")}function wf(e){let t=[];for(let r of e){let n=bf[r.codePointAt(0)];if(n===void 0)throw new Error(`Non-base256emoji character: ${r}`);t.push(n)}return new Uint8Array(t)}var mf=Pe({prefix:"\u{1F680}",name:"base256emoji",encode:gf,decode:wf});var Gr={};ne(Gr,{sha256:()=>Pf,sha512:()=>kf});var Df=Qo,Xo=128,yf=127,Ef=~yf,xf=Math.pow(2,31);function Qo(e,t,r){t=t||[],r=r||0;for(var n=r;e>=xf;)t[r++]=e&255|Xo,e/=128;for(;e&Ef;)t[r++]=e&255|Xo,e>>>=7;return t[r]=e|0,Qo.bytes=r-n+1,t}var vf=$r,Af=128,Zo=127;function $r(e,n){var r=0,n=n||0,o=0,i=n,a,f=e.length;do{if(i>=f)throw $r.bytes=0,new RangeError("Could not decode varint");a=e[i++],r+=o<28?(a&Zo)<<o:(a&Zo)*Math.pow(2,o),o+=7}while(a>=Af);return $r.bytes=i-n,r}var Sf=Math.pow(2,7),Ff=Math.pow(2,14),Cf=Math.pow(2,21),If=Math.pow(2,28),Bf=Math.pow(2,35),_f=Math.pow(2,42),Of=M
3ath.pow(2,49),Uf=Math.pow(2,56),Tf=Math.pow(2,63),Nf=function(e){return e<Sf?1:e<Ff?2:e<Cf?3:e<If?4:e<Bf?5:e<_f?6:e<Of?7:e<Uf?8:e<Tf?9:10},Rf={encode:Df,decode:vf,encodingLength:Nf},Mf=Rf,Xe=Mf;var Ze=(e,t=0)=>[Xe.decode(e,t),Xe.decode.bytes],Le=(e,t,r=0)=>(Xe.encode(e,t,r),t),ze=e=>Xe.encodingLength(e);var Ce=(e,t)=>{let r=t.byteLength,n=ze(e),o=n+ze(r),i=new Uint8Array(o+r);return Le(e,i,0),Le(r,i,n),i.set(t,o),new We(e,r,t,i)},ei=e=>{let t=de(e),[r,n]=Ze(t),[o,i]=Ze(t.subarray(n)),a=t.subarray(n+i);if(a.byteLength!==o)throw new Error("Incorrect length");return new We(r,o,a,t)},ti=(e,t)=>e===t?!0:e.code===t.code&&e.size===t.size&&$o(e.bytes,t.bytes),We=class{constructor(t,r,n,o){this.code=t,this.size=r,this.digest=n,this.bytes=o}};var qr=({name:e,code:t,encode:r})=>new Vr(e,t,r),Vr=class{constructor(t,r,n){this.name=t,this.code=r,this.encode=n}digest(t){if(t instanceof Uint8Array){let r=this.encode(t);return r instanceof Uint8Array?Ce(this.code,r):r.then(n=>Ce(this.code,n))}else throw Error("Unknown type, must be binary type")}};var ni=e=>t=>y(null,null,function*(){return new Uint8Array(yield crypto.subtle.digest(e,t))}),Pf=qr({name:"sha2-256",code:18,encode:ni("SHA-256")}),kf=qr({name:"sha2-512",code:19,encode:ni("SHA-512")});var Yr={};ne(Yr,{identity:()=>Wf});var oi=0,Lf="identity",ii=de,zf=e=>Ce(oi,ii(e)),Wf={code:oi,name:Lf,encode:ii,digest:zf};var Nd=new TextEncoder,Rd=new TextDecoder;var Rt=class e{constructor(t,r,n,o){this.code=r,this.version=t,this.multihash=n,this.bytes=o,this.byteOffset=o.byteOffset,this.byteLength=o.byteLength,this.asCID=this,this._baseCache=new Map,Object.defineProperties(this,{byteOffset:Nt,byteLength:Nt,code:Tt,version:Tt,multihash:Tt,bytes:Tt,_baseCache:Nt,asCID:Nt})}toV0(){switch(this.version){case 0:return this;default:{let{code:t,multihash:r}=this;if(t!==et)throw new Error("Cannot convert a non dag-pb CID to CIDv0");if(r.code!==qf)throw new Error("Cannot convert non sha2-256 multihash CID to CIDv0");return e.createV0(r)}}}toV1(){switch(this.version){case 0:{let{code:t,digest:r}=this.multihash,n=Ce(t,r);return e.createV1(this.code,n)}case 1:return this;default:throw Error(`Can not convert CID version ${this.version} to version 0. This is a bug please report`)}}equals(t){return t&&this.code===t.code&&this.version===t.version&&ti(this.multihash,t.multihash)}toString(t){let{bytes:r,version:n,_baseCache:o}=this;switch(n){case 0:return $f(r,o,t||ae.encoder);default:return Vf(r,o,t||ke.encoder)}}toJSON(){return{code:this.code,version:this.version,hash:this.multihash.bytes}}get[Symbol.toStringTag](){return"CID"}[Symbol.for("nodejs.util.inspect.custom")](){return"CID("+this.toString()+")"}static isCID(t){return Yf(/^0\.0/,Jf),!!(t&&(t[ai]||t.asCID===t))}get toBaseEncodedString(){throw new Error("Deprecated, use .toString()")}get codec(){throw new Error('"codec" property is deprecated, use integer "code" property instead')}get buffer(){throw new Error("Deprecated .buffer property, use .bytes to get Uint8Array instead")}get multibaseName(){throw new Error('"multibaseName" property is deprecated')}get prefix(){throw new Error('"prefix" property is deprecated')}static asCID(t){if(t instanceof e)return t;if(t!=null&&t.asCID===t){let{version:r,code:n,multihash:o,bytes:i}=t;return new e(r,n,o,i||si(r,n,o.bytes))}else if(t!=null&&t[ai]===!0){let{version:r,multihash:n,code:o}=t,i=ei(n);return e.create(r,o,i)}else return null}static create(t,r,n){if(typeof r!="number")throw new Error("String codecs are no longer supported");switch(t){case 0:{if(r!==et)throw new Error(`Version 0 CID must use dag-pb (code: ${et}) block encoding`);return new e(t,r,n,n.bytes)}case 1:{let o=si(t,r,n.bytes);return new e(t,r,n,o)}default:throw new Error("Invalid version")}}static createV0(t){return e.create(0,et,t)}static createV1(t,r){return e.create(1,t,r)}static decode(t){let[r,n]=e.decodeFirst(t);if(n.length)throw new Error("Incorrect length");return r}static decodeFirst(t){let r=e.inspectBytes(t),n=r.size-r.multihashSize,o=de(t.subarray(n,n+r.multihashSize));if(o.byteLength!==r.multihashSize)throw new Error("Incorrect length");let i=o.subarray(r.multihashSize-r.digestSize),a=new We(r.multihashCode,r.digestSize,i,o);return[r.version===0?e.createV0(a):e.createV1(r.codec,a),t.subarray(r.size)]}static inspectBytes(t){let r=0,n=()=>{let[c,l]=Ze(t.subarray(r));return r+=l,c},o=n(),i=et;if(o===18?(o=0,r=0):o===1&&(i=n()),o!==0&&o!==1)throw new RangeError(`Invalid CID version ${o}`);let a=r,f=n(),u=n(),d=r+u,s=d-a;return{version:o,codec:i,multihashCode:f,digestSize:u,multihashSize:s,size:d}}static parse(t,r){let[n,o]=Kf(t,r),i=e.decode(o);return i._baseCache.set(n,t),i}},Kf=(e,t)=>
3{switch(e[0]){case"Q":{let r=t||ae;return[ae.prefix,r.decode(`${ae.prefix}${e}`)]}case ae.prefix:{let r=t||ae;return[ae.prefix,r.decode(e)]}case ke.prefix:{let r=t||ke;return[ke.prefix,r.decode(e)]}default:{if(t==null)throw Error("To parse non base32 or base58btc encoded CID multibase decoder must be provided");return[e[0],t.decode(e)]}}},$f=(e,t,r)=>{let{prefix:n}=r;if(n!==ae.prefix)throw Error(`Cannot string encode V0 in ${r.name} encoding`);let o=t.get(n);if(o==null){let i=r.encode(e).slice(1);return t.set(n,i),i}else return o},Vf=(e,t,r)=>{let{prefix:n}=r,o=t.get(n);if(o==null){let i=r.encode(e);return t.set(n,i),i}else return o},et=112,qf=18,si=(e,t,r)=>{let n=ze(e),o=n+ze(t),i=new Uint8Array(o+r.byteLength);return Le(e,i,0),Le(t,i,n),i.set(r,o),i},ai=Symbol.for("@ipld/js-cid/CID"),Tt={writable:!1,configurable:!1,enumerable:!0},Nt={writable:!1,enumerable:!1,configurable:!1},Gf="0.0.0-dev",Yf=(e,t)=>{if(e.test(Gf))console.warn(t);else throw new Error(t)},Jf=`CID.isCID(v) is deprecated and will be removed in the next major release.
4Following code pattern:
5
6if (CID.isCID(value)) {
7  doSomethingWithCID(value)
8}
9
10Is replaced with:
11
12const cid = CID.asCID(value)
13if (cid) {
14  // Make sure to use cid instead of value
15  doSomethingWithCID(cid)
16}
17`;var Jr=C(C(C(C(C(C(C(C(C(C({},Rr),Mr),Pr),kr),Lr),zr),Wr),Hr),jr),Kr),jd=C(C({},Gr),Yr);function ci(e,t,r,n){return{name:e,prefix:t,encoder:{name:e,prefix:t,encode:r},decoder:{decode:n}}}var ui=ci("utf8","u",e=>"u"+new TextDecoder("utf8").decode(e),e=>new TextEncoder().encode(e.substring(1))),Xr=ci("ascii","a",e=>{let t="a";for(let r=0;r<e.length;r++)t+=String.fromCharCode(e[r]);return t},e=>{e=e.substring(1);let t=Je(e.length);for(let r=0;r<e.length;r++)t[r]=e.charCodeAt(r);return t}),Xf=C({utf8:ui,"utf-8":ui,hex:Jr.base16,latin1:Xr,ascii:Xr,binary:Xr},Jr),Mt=Xf;function Zf(e,t="utf8"){let r=Mt[t];if(!r)throw new Error(`Unsupported encoding "${t}"`);return(t==="utf8"||t==="utf-8")&&globalThis.Buffer!=null&&globalThis.Buffer.from!=null?Fe(globalThis.Buffer.from(e,"utf-8")):r.decoder.decode(`${r.prefix}${e}`)}function Qf(e,t="utf8"){let r=Mt[t];if(!r)throw new Error(`Unsupported encoding "${t}"`);return(t==="utf8"||t==="utf-8")&&globalThis.Buffer!=null&&globalThis.Buffer.from!=null?globalThis.Buffer.from(e.buffer,e.byteOffset,e.byteLength).toString("utf8"):r.encoder.encode(e).substring(1)}var gh={waku:{publish:"waku_publish",batchPublish:"waku_batchPublish",subscribe:"waku_subscribe",batchSubscribe:"waku_batchSubscribe",subscription:"waku_subscription",unsubscribe:"waku_unsubscribe",batchUnsubscribe:"waku_batchUnsubscribe",batchFetchMessages:"waku_batchFetchMessages"},irn:{publish:"irn_publish",batchPublish:"irn_batchPublish",subscribe:"irn_subscribe",batchSubscribe:"irn_batchSubscribe",subscription:"irn_subscription",unsubscribe:"irn_unsubscribe",batchUnsubscribe:"irn_batchUnsubscribe",batchFetchMessages:"irn_batchFetchMessages"},iridium:{publish:"iridium_publish",batchPublish:"iridium_batchPublish",subscribe:"iridium_subscribe",batchSubscribe:"iridium_batchSubscribe",subscription:"iridium_subscription",unsubscribe:"iridium_unsubscribe",batchUnsubscribe:"iridium_batchUnsubscribe",batchFetchMessages:"iridium_batchFetchMessages"}};var Wt=class{};var Oi=ft(Dn()),Ht=ft(er());var tn=class extends Wt{constructor(t){super()}},Bi=Ht.FIVE_SECONDS,fl={pulse:"heartbeat_pulse"},_i=class e extends tn{constructor(t){super(t),this.events=new Oi.EventEmitter,this.interval=Bi,this.interval=t?.interval||Bi}static init(t){return y(this,null,function*(){let r=new e(t);return yield r.init(),r})}init(){return y(this,null,function*(){yield this.initialize()})}stop(){clearInterval(this.intervalRef)}on(t,r){this.events.on(t,r)}once(t,r){this.events.once(t,r)}off(t,r){this.events.off(t,r)}removeListener(t,r){this.events.removeListener(t,r)}initialize(){return y(this,null,function*(){this.intervalRef=setInterval(()=>this.pulse(),(0,Ht.toMiliseconds)(this.interval))})}pulse(){this.events.emit(fl.pulse)}};var ll=/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,dl=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,hl=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function pl(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){bl(e);return}return t}function bl(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function ot(e,t={}){if(typeof e!="string")return e;if(e[0]==='"'&&e[e.length-1]==='"'&&e.indexOf("\\")===-1)return e.slice(1,-1);let r=e.trim();if(r.length<=9)switch(r.toLowerCase()){case"true":return!0;case"false":return!1;case"undefined":return;case"null":return null;case"nan":return Number.NaN;case"infinity":return Number.POSITIVE_INFINITY;case"-infinity":return Number.NEGATIVE_INFINITY}if(!hl.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(ll.test(e)||dl.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,pl)}return JSON.parse(e)}catch(n){if(t.strict)throw n;return e}}function gl(e){return!e||typeof e.then!="function"?Promise.resolve(e):e}function V(e,...t){try{return gl(e(...t))}catch(r){return Promise.reject(r)}}function wl(e){let t=typeof e;return e===null||t!=="object"&&t!=="function"}function ml(e){let t=Object.getPrototypeOf(e);return!t||t.isPrototypeOf(Object)}function it(e){if(wl(e))return String(e);if(ml(e)||Array.isArray(e))return JSON.stringify(e);if(typeof e.toJSON=="function")return it(e.toJSON());throw new Error("[unstorage] Cannot stringify value!")}var rn="base64:";function Ui(e){return typeof e=="string"?e:rn+yl(e)}function Ti(e){return typeof e!="string"||!e.startsWith(rn)?e:Dl(e.slice(rn.length))}function Dl(e){return globalThis.Buffer?Buffer.from(e,"base64"):Uint8Array.from(globalThis.atob(e),t=>t.codePointAt(0))}function yl(e){return globalThis.Buffer?Buffer.from(e).toString("base64"):globalThis.btoa(String.fromCodePoint(...e))}function ee(e){return e&&e.split("?")[0]?.replace(/[/\\]/g,":").replace(/:+/g,":").replace(/^:|:$/g,"")||""}function Ni(...e){return ee(e.join(":"))}function st(e){return e=ee(e),e?e+":":""}function Ri(e,t){if(t===void 0)return!0;let r=0,n=e.indexOf(":");for(;n>-1;)r++,n=e.indexOf(":",n+1);return r<=t}function Mi(e,t){return t?e.startsWith(t)&&e[e.length-1]!=="$":e[e.length-1]!=="$"}var El="memory",xl=()=>{let e=new Map;return{name:El,getInstance:()=>e,hasItem(t){return e.has(t)},getItem(t){return e.get(t)??null},getItemRaw(t){return e.get(t)??null},setItem(t,r){e.set(t,r)},setItemRaw(t,r){e.set(t,r)},removeItem(t){e.delete(t)},getKeys(){return[...e.keys()]},clear(){e.clear()},dispose(){e.clear()}}};function Li(e={}){let t={mounts:{"":e.driver||xl()},mountpoints:[""],watching:!1,watchListeners:[],unwatch:{}}
17,r=s=>{for(let c of t.mountpoints)if(s.startsWith(c))return{base:c,relativeKey:s.slice(c.length),driver:t.mounts[c]};return{base:"",relativeKey:s,driver:t.mounts[""]}},n=(s,c)=>t.mountpoints.filter(l=>l.startsWith(s)||c&&s.startsWith(l)).map(l=>({relativeBase:s.length>l.length?s.slice(l.length):void 0,mountpoint:l,driver:t.mounts[l]})),o=(s,c)=>{if(t.watching){c=ee(c);for(let l of t.watchListeners)l(s,c)}},i=()=>y(null,null,function*(){if(!t.watching){t.watching=!0;for(let s in t.mounts)t.unwatch[s]=yield Pi(t.mounts[s],o,s)}}),a=()=>y(null,null,function*(){if(t.watching){for(let s in t.unwatch)yield t.unwatch[s]();t.unwatch={},t.watching=!1}}),f=(s,c,l)=>{let p=new Map,h=b=>{let g=p.get(b.base);return g||(g={driver:b.driver,base:b.base,items:[]},p.set(b.base,g)),g};for(let b of s){let g=typeof b=="string",x=ee(g?b:b.key),v=g?void 0:b.value,w=g||!b.options?c:C(C({},c),b.options),A=r(x);h(A).items.push({key:x,value:v,relativeKey:A.relativeKey,options:w})}return Promise.all([...p.values()].map(b=>l(b))).then(b=>b.flat())},u={hasItem(s,c={}){s=ee(s);let{relativeKey:l,driver:p}=r(s);return V(p.hasItem,l,c)},getItem(s,c={}){s=ee(s);let{relativeKey:l,driver:p}=r(s);return V(p.getItem,l,c).then(h=>ot(h))},getItems(s,c={}){return f(s,c,l=>l.driver.getItems?V(l.driver.getItems,l.items.map(p=>({key:p.relativeKey,options:p.options})),c).then(p=>p.map(h=>({key:Ni(l.base,h.key),value:ot(h.value)}))):Promise.all(l.items.map(p=>V(l.driver.getItem,p.relativeKey,p.options).then(h=>({key:p.key,value:ot(h)})))))},getItemRaw(s,c={}){s=ee(s);let{relativeKey:l,driver:p}=r(s);return p.getItemRaw?V(p.getItemRaw,l,c):V(p.getItem,l,c).then(h=>Ti(h))},setItem(p,h){return y(this,arguments,function*(s,c,l={}){if(c===void 0)return u.removeItem(s);s=ee(s);let{relativeKey:b,driver:g}=r(s);g.setItem&&(yield V(g.setItem,b,it(c),l),g.watch||o("update",s))})},setItems(s,c){return y(this,null,function*(){yield f(s,c,l=>y(null,null,function*(){if(l.driver.setItems)return V(l.driver.setItems,l.items.map(p=>({key:p.relativeKey,value:it(p.value),options:p.options})),c);l.driver.setItem&&(yield Promise.all(l.items.map(p=>V(l.driver.setItem,p.relativeKey,it(p.value),p.options))))}))})},setItemRaw(p,h){return y(this,arguments,function*(s,c,l={}){if(c===void 0)return u.removeItem(s,l);s=ee(s);let{relativeKey:b,driver:g}=r(s);if(g.setItemRaw)yield V(g.setItemRaw,b,c,l);else if(g.setItem)yield V(g.setItem,b,Ui(c),l);else return;g.watch||o("update",s)})},removeItem(l){return y(this,arguments,function*(s,c={}){typeof c=="boolean"&&(c={removeMeta:c}),s=ee(s);let{relativeKey:p,driver:h}=r(s);h.removeItem&&(yield V(h.removeItem,p,c),(c.removeMeta||c.removeMata)&&(yield V(h.removeItem,p+"$",c)),h.watch||o("remove",s))})},getMeta(l){return y(this,arguments,function*(s,c={}){typeof c=="boolean"&&(c={nativeOnly:c}),s=ee(s);let{relativeKey:p,driver:h}=r(s),b=Object.create(null);if(h.getMeta&&Object.assign(b,yield V(h.getMeta,p,c)),!c.nativeOnly){let g=yield V(h.getItem,p+"$",c).then(x=>ot(x));g&&typeof g=="object"&&(typeof g.atime=="string"&&(g.atime=new Date(g.atime)),typeof g.mtime=="string"&&(g.mtime=new Date(g.mtime)),Object.assign(b,g))}return b})},setMeta(s,c,l={}){return this.setItem(s+"$",c,l)},removeMeta(s,c={}){return this.removeItem(s+"$",c)},getKeys(l){return y(this,arguments,function*(s,c={}){s=st(s);let p=n(s,!0),h=[],b=[],g=!0;for(let v of p){v.driver.flags?.maxDepth||(g=!1);let w=yield V(v.driver.getKeys,v.relativeBase,c);for(let A of w){let _=v.mountpoint+ee(A);h.some(M=>_.startsWith(M))||b.push(_)}h=[v.mountpoint,...h.filter(A=>!A.startsWith(v.mountpoint))]}let x=c.maxDepth!==void 0&&!g;return b.filter(v=>(!x||Ri(v,c.maxDepth))&&Mi(v,s))})},clear(l){return y(this,arguments,function*(s,c={}){s=st(s),yield Promise.all(n(s,!1).map(p=>y(null,null,function*(){if(p.driver.clear)return V(p.driver.clear,p.relativeBase,c);if(p.driver.removeItem){let h=yield p.driver.getKeys(p.relativeBase||"",c);return Promise.all(h.map(b=>p.driver.removeItem(b,c)))}})))})},dispose(){return y(this,null,function*(){yield Promise.all(Object.values(t.mounts).map(s=>ki(s)))})},watch(s){return y(this,null,function*(){return yield i(),t.watchListeners.push(s),()=>y(null,null,function*(){t.watchListeners=t.watchListeners.filter(c=>c!==s),t.watchListeners.length===0&&(yield a())})})},unwatch(){return y(this,null,function*(){t.watchListeners=[],yield a()})},mount(s,c){if(s=st(s),s&&t.mounts[s])throw new Error(`already mounted at ${s}`);return s&&(t.mountpoints.push(s),t.mountpoints.sort((l,p)=>p.length-l.length)),t.mounts[s]=c,t.watching&&Promise.resolve(Pi(c,o,s)).then(l=>{t.unwatch[s]=l}).catch(console.error),u},unmount(s,c=!0){return y(this,null,function*(){s=st(s),!(!s||!t.mounts[s])&&(t.watching&&s in t.unwatch&&(t.unwatch[s]?.(),delete t.unwatch[s]),c&&(yield ki(t.mounts[s])),t.mountpoints=t.mountpoints.filter(l=>l!==s),delete t.mounts[s])})},getMount(s=""){s=ee(s)+":";let c=r(s);return{driver:c.driver,base:c.base}},getMounts(s="",c={}){return s=ee(s),n(s,c.parents).map(p=>
17({driver:p.driver,base:p.mountpoint}))},keys:(s,c={})=>u.getKeys(s,c),get:(s,c={})=>u.getItem(s,c),set:(s,c,l={})=>u.setItem(s,c,l),has:(s,c={})=>u.hasItem(s,c),del:(s,c={})=>u.removeItem(s,c),remove:(s,c={})=>u.removeItem(s,c)};return u}function Pi(e,t,r){return e.watch?e.watch((n,o)=>t(n,r+o)):()=>{}}function ki(e){return y(this,null,function*(){typeof e.dispose=="function"&&(yield V(e.dispose))})}function Ie(e){return new Promise((t,r)=>{e.oncomplete=e.onsuccess=()=>t(e.result),e.onabort=e.onerror=()=>r(e.error)})}function on(e,t){let r=indexedDB.open(e);r.onupgradeneeded=()=>r.result.createObjectStore(t);let n=Ie(r);return(o,i)=>n.then(a=>i(a.transaction(t,o).objectStore(t)))}var nn;function at(){return nn||(nn=on("keyval-store","keyval")),nn}function sn(e,t=at()){return t("readonly",r=>Ie(r.get(e)))}function zi(e,t,r=at()){return r("readwrite",n=>(n.put(t,e),Ie(n.transaction)))}function Wi(e,t=at()){return t("readwrite",r=>(r.delete(e),Ie(r.transaction)))}function Hi(e=at()){return e("readwrite",t=>(t.clear(),Ie(t.transaction)))}function vl(e,t){return e.openCursor().onsuccess=function(){this.result&&(t(this.result),this.result.continue())},Ie(e.transaction)}function ji(e=at()){return e("readonly",t=>{if(t.getAllKeys)return Ie(t.getAllKeys());let r=[];return vl(t,n=>r.push(n.key)).then(()=>r)})}var Al="idb-keyval",Sl=(e={})=>{let t=e.base&&e.base.length>0?`${e.base}:`:"",r=i=>t+i,n;return e.dbName&&e.storeName&&(n=on(e.dbName,e.storeName)),{name:Al,options:e,hasItem(i){return y(this,null,function*(){return!(typeof(yield sn(r(i),n))>"u")})},getItem(i){return y(this,null,function*(){return(yield sn(r(i),n))??null})},setItem(i,a){return zi(r(i),a,n)},removeItem(i){return Wi(r(i),n)},getKeys(){return ji(n)},clear(){return Hi(n)}}},Fl="WALLET_CONNECT_V2_INDEXED_DB",Cl="keyvaluestorage",un=class{constructor(){this.indexedDb=Li({driver:Sl({dbName:Fl,storeName:Cl})})}getKeys(){return y(this,null,function*(){return this.indexedDb.getKeys()})}getEntries(){return y(this,null,function*(){return(yield this.indexedDb.getItems(yield this.indexedDb.getKeys())).map(t=>[t.key,t.value])})}getItem(t){return y(this,null,function*(){let r=yield this.indexedDb.getItem(t);if(r!==null)return r})}setItem(t,r){return y(this,null,function*(){yield this.indexedDb.setItem(t,ve(r))})}removeItem(t){return y(this,null,function*(){yield this.indexedDb.removeItem(t)})}},an=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},jt={exports:{}};(function(){let e;function t(){}e=t,e.prototype.getItem=function(r){return this.hasOwnProperty(r)?String(this[r]):null},e.prototype.setItem=function(r,n){this[r]=String(n)},e.prototype.removeItem=function(r){delete this[r]},e.prototype.clear=function(){let r=this;Object.keys(r).forEach(function(n){r[n]=void 0,delete r[n]})},e.prototype.key=function(r){return r=r||0,Object.keys(this)[r]},e.prototype.__defineGetter__("length",function(){return Object.keys(this).length}),typeof an<"u"&&an.localStorage?jt.exports=an.localStorage:typeof window<"u"&&window.localStorage?jt.exports=window.localStorage:jt.exports=new t})();function Il(e){var t;return[e[0],xe((t=e[1])!=null?t:"")]}var cn=class{constructor(){this.localStorage=jt.exports}getKeys(){return y(this,null,function*(){return Object.keys(this.localStorage)})}getEntries(){return y(this,null,function*(){return Object.entries(this.localStorage).map(Il)})}getItem(t){return y(this,null,function*(){let r=this.localStorage.getItem(t);if(r!==null)return xe(r)})}setItem(t,r){return y(this,null,function*(){this.localStorage.setItem(t,ve(r))})}removeItem(t){return y(this,null,function*(){this.localStorage.removeItem(t)})}},Bl="wc_storage_version",Ki=1,_l=(e,t,r)=>y(null,null,function*(){let n=Bl,o=yield t.getItem(n);if(o&&o>=Ki){r(t);return}let i=yield e.getKeys();if(!i.length){r(t);return}let a=[];for(;i.length;){let f=i.shift();if(!f)continue;let u=f.toLowerCase();if(u.includes("wc@")||u.includes("walletconnect")||u.includes("wc_")||u.includes("wallet_connect")){let d=yield e.getItem(f);yield t.setItem(f,d),a.push(f)}}yield t.setItem(n,Ki),r(t),Ol(e,a)}),Ol=(e,t)=>
17y(null,null,function*(){t.length&&t.forEach(r=>y(null,null,function*(){yield e.removeItem(r)}))}),$i=class{constructor(){this.initialized=!1,this.setInitialized=r=>{this.storage=r,this.initialized=!0};let t=new cn;this.storage=t;try{let r=new un;_l(t,r,this.setInitialized)}catch{this.initialized=!0}}getKeys(){return y(this,null,function*(){return yield this.initialize(),this.storage.getKeys()})}getEntries(){return y(this,null,function*(){return yield this.initialize(),this.storage.getEntries()})}getItem(t){return y(this,null,function*(){return yield this.initialize(),this.storage.getItem(t)})}setItem(t,r){return y(this,null,function*(){return yield this.initialize(),this.storage.setItem(t,r)})}removeItem(t){return y(this,null,function*(){return yield this.initialize(),this.storage.removeItem(t)})}initialize(){return y(this,null,function*(){this.initialized||(yield new Promise(t=>{let r=setInterval(()=>{this.initialized&&(clearInterval(r),t())},20)}))})}};var Xi=ft(Dn());var Ul=()=>typeof WebSocket<"u"?WebSocket:typeof global<"u"&&typeof global.WebSocket<"u"?global.WebSocket:typeof window<"u"&&typeof window.WebSocket<"u"?window.WebSocket:typeof self<"u"&&typeof self.WebSocket<"u"?self.WebSocket:qi(),Tl=()=>typeof WebSocket<"u"||typeof global<"u"&&typeof global.WebSocket<"u"||typeof window<"u"&&typeof window.WebSocket<"u"||typeof self<"u"&&typeof self.WebSocket<"u",Gi=e=>e.split("?")[0],Yi=10,Nl=Ul(),Ji=class{constructor(t){if(this.url=t,this.events=new Xi.EventEmitter,this.registering=!1,!Vt(t))throw new Error(`Provided URL is not compatible with WebSocket connection: ${t}`);this.url=t}get connected(){return typeof this.socket<"u"}get connecting(){return this.registering}on(t,r){this.events.on(t,r)}once(t,r){this.events.once(t,r)}off(t,r){this.events.off(t,r)}removeListener(t,r){this.events.removeListener(t,r)}open(){return y(this,arguments,function*(t=this.url){yield this.register(t)})}close(){return y(this,null,function*(){return new Promise((t,r)=>{if(typeof this.socket>"u"){r(new Error("Connection already closed"));return}this.socket.onclose=n=>{this.onClose(n),t()},this.socket.close()})})}send(t){return y(this,null,function*(){typeof this.socket>"u"&&(this.socket=yield this.register());try{this.socket.send(ve(t))}catch(r){this.onError(t.id,r)}})}register(t=this.url){if(!Vt(t))throw new Error(`Provided URL is not compatible with WebSocket connection: ${t}`);if(this.registering){let r=this.events.getMaxListeners();return(this.events.listenerCount("register_error")>=r||this.events.listenerCount("open")>=r)&&this.events.setMaxListeners(r+1),new Promise((n,o)=>{this.events.once("register_error",i=>{this.resetMaxListeners(),o(i)}),this.events.once("open",()=>{if(this.resetMaxListeners(),typeof this.socket>"u")return o(new Error("WebSocket connection is missing or invalid"));n(this.socket)})})}return this.url=t,this.registering=!0,new Promise((r,n)=>{let o=(0,qt.isReactNative)()?void 0:{rejectUnauthorized:!xn(t)},i=new Nl(t,[],o);Tl()?i.onerror=a=>{let f=a;n(this.emitError(f.error))}:i.on("error",a=>{n(this.emitError(a))}),i.onopen=()=>{this.onOpen(i),r(i)}})}onOpen(t){t.onmessage=r=>this.onPayload(r),t.onclose=r=>this.onClose(r),this.socket=t,this.registering=!1,this.events.emit("open")}onClose(t){this.socket=void 0,this.registering=!1,this.events.emit("close",t)}onPayload(t){if(typeof t.data>"u")return;let r=typeof t.data=="string"?xe(t.data):t.data;this.events.emit("payload",r)}onError(t,r){let n=this.parseError(r),o=n.message||n.toString(),i=En(t,o);this.events.emit("payload",i)}parseError(t,r=this.url){return yn(t,Gi(r),"WS")}resetMaxListeners(){this.events.getMaxListeners()>Yi&&this.events.setMaxListeners(Yi)}emitError(t){let r=this.parseError(new Error(t?.message||`WebSocket connection failed for host: ${Gi(this.url)}`));return this.events.emit("register_error",r),r}};export{Rl as a,er as b,Ln as c,Qs as d,Yl as e,Jl as f,Rc as g,Ql as h,ed as i,td as j,zc as k,Zf as l,Qf as m,gh as n,cl as o,Wt as p,fl as q,_i as r,$i as s,Ji as t};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.