1var e=BigInt(2**32-1),t=BigInt(32);function n(n,r=!1){return r?{h:Number(n&e),l:Number(n>>t&e)}:{h:Number(n>>t&e)|0,l:Number(n&e)|0}}function r(e,t=!1){let r=e.length,i=new Uint32Array(r),a=new Uint32Array(r);for(let o=0;o<r;o++){let{h:r,l:s}=n(e[o],t);[i[o],a[o]]=[r,s]}return[i,a]}var i=(e,t,n)=>e>>>n,a=(e,t,n)=>e<<32-n|t>>>n,o=(e,t,n)=>e>>>n|t<<32-n,s=(e,t,n)=>e<<32-n|t>>>n,c=(e,t,n)=>e<<64-n|t>>>n-32,l=(e,t,n)=>e>>>n-32|t<<64-n,u=(e,t,n)=>e<<n|t>>>32-n,ee=(e,t,n)=>t<<n|e>>>32-n,te=(e,t,n)=>t<<n-32|e>>>64-n,d=(e,t,n)=>e<<n-32|t>>>64-n;function f(e,t,n,r){let i=(t>>>0)+(r>>>0);return{h:e+n+(i/2**32|0)|0,l:i|0}}var p=(e,t,n)=>(e>>>0)+(t>>>0)+(n>>>0),m=(e,t,n,r)=>t+n+r+(e/2**32|0)|0,h=(e,t,n,r)=>(e>>>0)+(t>>>0)+(n>>>0)+(r>>>0),g=(e,t,n,r,i)=>t+n+r+i+(e/2**32|0)|0,_=(e,t,n,r,i)=>(e>>>0)+(t>>>0)+(n>>>0)+(r>>>0)+(i>>>0),v=(e,t,n,r,i,a)=>t+n+r+i+a+(e/2**32|0)|0,y=typeof globalThis==`object`&&`crypto`in globalThis?globalThis.crypto:void 0;function b(e){return e instanceof Uint8Array||ArrayBuffer.isView(e)&&e.constructor.name===`Uint8Array`}function x(e){if(!Number.isSafeInteger(e)||e<0)throw Error(`positive integer expected, got `+e)}function S(e,...t){if(!b(e))throw Error(`Uint8Array expected`);if(t.length>0&&!t.includes(e.length))throw Error(`Uint8Array expected of length `+t+`, got length=`+e.length)}function ne(e){if(typeof e!=`function`||typeof e.create!=`function`)throw Error(`Hash should be wrapped by utils.createHasher`);x(e.outputLen),x(e.blockLen)}function re(e,t=!0){if(e.destroyed)throw Error(`Hash instance has been destroyed`);if(t&&e.finished)throw Error(`Hash#digest() has already been called`)}function ie(e,t){S(e);let n=t.outputLen;if(e.length<n)throw Error(`digestInto() expects output buffer of length at least `+n)}function ae(e){return new Uint32Array(e.buffer,e.byteOffset,Math.floor(e.byteLength/4))}function oe(...e){for(let t=0;t<e.length;t++)e[t].fill(0)}function se(e){return new DataView(e.buffer,e.byteOffset,e.byteLength)}function C(e,t){return e<<32-t|e>>>t}var w=new Uint8Array(new Uint32Array([287454020]).buffer)[0]===68;function T(e){return e<<24&4278190080|e<<8&16711680|e>>>8&65280|e>>>24&255}function E(e){for(let t=0;t<e.length;t++)e[t]=T(e[t]);return e}var D=w?e=>e:E;typeof Uint8Array.from([]).toHex==`function`&&Uint8Array.fromHex;function O(e){if(typeof e!=`string`)throw Error(`string expected`);return new Uint8Array(new TextEncoder().encode(e))}function k(e){return typeof e==`string`&&(e=O(e)),S(e),e}function A(...e){let t=0;for(let n=0;n<e.length;n++){let r=e[n];S(r),t+=r.length}let n=new Uint8Array(t);for(let t=0,r=0;t<e.length;t++){let i=e[t];n.set(i,r),r+=i.length}return n}var j=class{};function M(e){let t=t=>e().update(k(t)).digest(),n=e();return t.outputLen=n.outputLen,t.blockLen=n.blockLen,t.create=()=>e(),t}function N(e){let t=(t,n)=>e(n).update(k(t)).digest(),n=e({});return t.outputLen=n.outputLen,t.blockLen=n.blockLen,t.create=t=>e(t),t}function P(e=32){if(y&&typeof y.getRandomValues==`function`)return y.getRandomValues(new Uint8Array(e));if(y&&typeof y.randomBytes==`function`)return Uint8Array.from(y.randomBytes(e));throw Error(`crypto.getRandomValues must be defined`)}var F=BigInt(0),I=BigInt(1);function L(e){return e instanceof Uint8Array||ArrayBuffer.isView(e)&&e.constructor.name===`Uint8Array`}function R(e){if(!L(e))throw Error(`Uint8Array expected`)}function z(e,t){if(typeof t!=`boolean`)throw Error(e+` boolean expected, got `+t)}function B(e){let t=e.toString(16);return t.length&1?`0`+t:t}function V(e){if(typeof e!=`string`)throw Error(`hex string expected, got `+typeof e);return e===``?F:BigInt(`0x`+e)}var H=typeof Uint8Array.from([]).toHex==`function`&&typeof Uint8Array.fromHex==`function`,ce=Array.from({length:256},(e,t)=>t.toString(16).padStart(2,`0`));function U(e){if(R(e),H)return e.toHex();let t=``;for(let n=0;n<e.length;n++)t+=ce[e[n]];return t}var W={_0:48,_9:57,A:65,F:70,a:97,f:102};function G(e){if(e>=W._0&&e<=W._9)return e-W._0;if(e>=W.A&&e<=W.F)return e-(W.A-10);if(e>=W.a&&e<=W.f)return e-(W.a-10)}function K(e){if(typeof e!=`string`)throw Error(`hex string expected, got `+typeof e);if(H)return Uint8Array.fromHex(e);let t=e.length,n=t/2;if(t%2)throw Error(`hex string expected, got unpadded hex of length `+t);let r=new Uint8Array(n);for(let t=0,i=0;t<n;t++,i+=2){let n=G(e.charCodeAt(i)),a=G(e.charCodeAt(i+1));if(n===void 0||a===void 0){let t=e[i]+e[i+1];throw Error(`hex string expected, got non-hex character "`+t+`" at index `+i)}r[t]=n*16+a}return r}function le(e){return V(U(e))}function ue(e){return R(e),V(U(Uint8Array.from(e).reverse()))}function q(e,t){return K(e.toString(16).padStart(t*2,`0`))}function de(e,t){return q(e,t).reverse()}function fe(e,t,n){let r;if(typeof t==`string`)try{r=K(t)}catch(t){throw Error(e+` must be hex string or Uint8Array, cause: `+t)}else if(L(t))r=Uint8Array.from(t);else throw Error(e+` must be hex string or Uint8Array`);let i=r.length;
1if(typeof n==`number`&&i!==n)throw Error(e+` of length `+n+` expected, got `+i);return r}function J(...e){let t=0;for(let n=0;n<e.length;n++){let r=e[n];R(r),t+=r.length}let n=new Uint8Array(t);for(let t=0,r=0;t<e.length;t++){let i=e[t];n.set(i,r),r+=i.length}return n}function pe(e){if(typeof e!=`string`)throw Error(`string expected`);return new Uint8Array(new TextEncoder().encode(e))}var Y=e=>typeof e==`bigint`&&F<=e;function X(e,t,n){return Y(e)&&Y(t)&&Y(n)&&t<=e&&e<n}function me(e,t,n,r){if(!X(t,n,r))throw Error(`expected valid `+e+`: `+n+` <= n < `+r+`, got `+t)}function he(e){let t;for(t=0;e>F;e>>=I,t+=1);return t}var ge=e=>(I<<BigInt(e))-I,Z=e=>new Uint8Array(e),Q=e=>Uint8Array.from(e);function $(e,t,n){if(typeof e!=`number`||e<2)throw Error(`hashLen must be a number`);if(typeof t!=`number`||t<2)throw Error(`qByteLen must be a number`);if(typeof n!=`function`)throw Error(`hmacFn must be a function`);let r=Z(e),i=Z(e),a=0,o=()=>{r.fill(1),i.fill(0),a=0},s=(...e)=>n(i,r,...e),c=(e=Z(0))=>{i=s(Q([0]),e),r=s(),e.length!==0&&(i=s(Q([1]),e),r=s())},l=()=>{if(a++>=1e3)throw Error(`drbg: tried 1000 values`);let e=0,n=[];for(;e<t;){r=s();let t=r.slice();n.push(t),e+=r.length}return J(...n)};return(e,t)=>{o(),c(e);let n;for(;!(n=t(l()));)c();return o(),n}}var _e={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`||L(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 ve(e,t,n={}){let r=(t,n,r)=>{let i=_e[n];if(typeof i!=`function`)throw Error(`invalid validator function`);let a=e[t];if(!(r&&a===void 0)&&!i(a,e))throw Error(`param `+String(t)+` is invalid. Expected `+n+`, got `+a)};for(let[e,n]of Object.entries(t))r(e,n,!1);for(let[e,t]of Object.entries(n))r(e,t,!0);return e}function ye(e){let t=new WeakMap;return(n,...r)=>{let i=t.get(n);if(i!==void 0)return i;let a=e(n,...r);return t.set(n,a),a}}export{a as $,se as A,g as B,re as C,oe as D,ie as E,k as F,d as G,v as H,ae as I,c as J,u as K,f as L,P as M,C as N,A as O,D as P,i as Q,m as R,S,x as T,_ as U,h as V,te as W,o as X,l as Y,s as Z,de as _,ge as a,ve as b,ue as c,fe as d,r as et,K as f,q as g,ye as h,he as i,N as j,M as k,J as l,L as m,z as n,U as o,X as p,ee as q,R as r,le as s,me as t,$ as u,B as v,ne as w,j as x,pe as y,p as z};
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.