(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,67034,(t,e,r)=>{var i={675:function(t,e){"use strict";e.byteLength=function(t){var e=s(t),r=e[0],i=e[1];return(r+i)*3/4-i},e.toByteArray=function(t){var e,r,o=s(t),a=o[0],f=o[1],u=new n((a+f)*3/4-f),l=0,h=f>0?a-4:a;for(r=0;r<h;r+=4)e=i[t.charCodeAt(r)]<<18|i[t.charCodeAt(r+1)]<<12|i[t.charCodeAt(r+2)]<<6|i[t.charCodeAt(r+3)],u[l++]=e>>16&255,u[l++]=e>>8&255,u[l++]=255&e;return 2===f&&(e=i[t.charCodeAt(r)]<<2|i[t.charCodeAt(r+1)]>>4,u[l++]=255&e),1===f&&(e=i[t.charCodeAt(r)]<<10|i[t.charCodeAt(r+1)]<<4|i[t.charCodeAt(r+2)]>>2,u[l++]=e>>8&255,u[l++]=255&e),u},e.fromByteArray=function(t){for(var e,i=t.length,n=i%3,o=[],a=0,f=i-n;a<f;a+=16383)o.push(function(t,e,i){for(var n,o=[],a=e;a<i;a+=3)n=(t[a]<<16&0xff0000)+(t[a+1]<<8&65280)+(255&t[a+2]),o.push(r[n>>18&63]+r[n>>12&63]+r[n>>6&63]+r[63&n]);return o.join("")}(t,a,a+16383>f?f:a+16383));return 1===n?o.push(r[(e=t[i-1])>>2]+r[e<<4&63]+"=="):2===n&&o.push(r[(e=(t[i-2]<<8)+t[i-1])>>10]+r[e>>4&63]+r[e<<2&63]+"="),o.join("")};for(var r=[],i=[],n="undefined"!=typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,f=o.length;a<f;++a)r[a]=o[a],i[o.charCodeAt(a)]=a;function s(t){var e=t.length;if(e%4>0)throw Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");-1===r&&(r=e);var i=r===e?0:4-r%4;return[r,i]}i[45]=62,i[95]=63},72:function(t,e,r){"use strict";var i=r(675),n=r(783),o="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;function a(t){if(t>0x7fffffff)throw RangeError('The value "'+t+'" is invalid for option "size"');var e=new Uint8Array(t);return Object.setPrototypeOf(e,f.prototype),e}function f(t,e,r){if("number"==typeof t){if("string"==typeof e)throw TypeError('The "string" argument must be of type string. Received type number');return l(t)}return s(t,e,r)}function s(t,e,r){if("string"==typeof t){var i=t,n=e;if(("string"!=typeof n||""===n)&&(n="utf8"),!f.isEncoding(n))throw TypeError("Unknown encoding: "+n);var o=0|p(i,n),s=a(o),u=s.write(i,n);return u!==o&&(s=s.slice(0,u)),s}if(ArrayBuffer.isView(t))return h(t);if(null==t)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(R(t,ArrayBuffer)||t&&R(t.buffer,ArrayBuffer)||"undefined"!=typeof SharedArrayBuffer&&(R(t,SharedArrayBuffer)||t&&R(t.buffer,SharedArrayBuffer)))return function(t,e,r){var i;if(e<0||t.byteLength<e)throw RangeError('"offset" is outside of buffer bounds');if(t.byteLength<e+(r||0))throw RangeError('"length" is outside of buffer bounds');return Object.setPrototypeOf(i=void 0===e&&void 0===r?new Uint8Array(t):void 0===r?new Uint8Array(t,e):new Uint8Array(t,e,r),f.prototype),i}(t,e,r);if("number"==typeof t)throw TypeError('The "value" argument must not be of type number. Received type number');var l=t.valueOf&&t.valueOf();if(null!=l&&l!==t)return f.from(l,e,r);var d=function(t){if(f.isBuffer(t)){var e=0|c(t.length),r=a(e);return 0===r.length||t.copy(r,0,0,e),r}return void 0!==t.length?"number"!=typeof t.length||function(t){return t!=t}(t.length)?a(0):h(t):"Buffer"===t.type&&Array.isArray(t.data)?h(t.data):void 0}(t);if(d)return d;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof t[Symbol.toPrimitive])return f.from(t[Symbol.toPrimitive]("string"),e,r);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}function u(t){if("number"!=typeof t)throw TypeError('"size" argument must be of type number');if(t<0)throw RangeError('The value "'+t+'" is invalid for option "size"')}function l(t){return u(t),a(t<0?0:0|c(t))}function h(t){for(var e=t.length<0?0:0|c(t.length),r=a(e),i=0;i<e;i+=1)r[i]=255&t[i];return r}e.Buffer=f,e.SlowBuffer=function(t){return+t!=t&&(t=0),f.alloc(+t)},e.INSPECT_MAX_BYTES=50,e.kMaxLength=0x7fffffff,f.TYPED_ARRAY_SUPPORT=function(){try{var t=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(t,e),42===t.foo()}catch(t){return!1}}(),f.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(f.prototype,"parent",{enumerable:!0,get:function(){if(f.isBuffer(this))return this.buffer}}),Object.defineProperty(f.prototype,"offset",{enumerable:!0,get:function(){if(f.isBuffer(this))return this.byteOffset}}),f.poolSize=8192,f.from=function(t,e,r){return s(t,e,r)},Object.setPrototypeOf(f.prototype,Uint8Array.prototype),Object.setPrototypeOf(f,Uint8Array),f.alloc=function(t,e,r){return(u(t),t<=0)?a(t):void 0!==e?"string"==typeof r?a(t).fill(e,r):a(t).fill(e):a(t)},f.allocUnsafe=function(t){return l(t)},f.allocUnsafeSlow=function(t){return l(t)};function c(t){if(t>=0x7fffffff)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|t}function p(t,e){if(f.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||R(t,ArrayBuffer))return t.byteLength;if("string"!=typeof t)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var r=t.length,i=arguments.length>2&&!0===arguments[2];if(!i&&0===r)return 0;for(var n=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return B(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return P(t).length;default:if(n)return i?-1:B(t).length;e=(""+e).toLowerCase(),n=!0}}function d(t,e,r){var n,o,a,f=!1;if((void 0===e||e<0)&&(e=0),e>this.length||((void 0===r||r>this.length)&&(r=this.length),r<=0||(r>>>=0)<=(e>>>=0)))return"";for(t||(t="utf8");;)switch(t){case"hex":return function(t,e,r){var i=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>i)&&(r=i);for(var n="",o=e;o<r;++o)n+=O[t[o]];return n}(this,e,r);case"utf8":case"utf-8":return T(this,e,r);case"ascii":return function(t,e,r){var i="";r=Math.min(t.length,r);for(var n=e;n<r;++n)i+=String.fromCharCode(127&t[n]);return i}(this,e,r);case"latin1":case"binary":return function(t,e,r){var i="";r=Math.min(t.length,r);for(var n=e;n<r;++n)i+=String.fromCharCode(t[n]);return i}(this,e,r);case"base64":return n=this,o=e,a=r,0===o&&a===n.length?i.fromByteArray(n):i.fromByteArray(n.slice(o,a));case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return function(t,e,r){for(var i=t.slice(e,r),n="",o=0;o<i.length;o+=2)n+=String.fromCharCode(i[o]+256*i[o+1]);return n}(this,e,r);default:if(f)throw TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),f=!0}}function y(t,e,r){var i=t[e];t[e]=t[r],t[r]=i}function g(t,e,r,i,n){var o;if(0===t.length)return -1;if("string"==typeof r?(i=r,r=0):r>0x7fffffff?r=0x7fffffff:r<-0x80000000&&(r=-0x80000000),(o=r*=1)!=o&&(r=n?0:t.length-1),r<0&&(r=t.length+r),r>=t.length)if(n)return -1;else r=t.length-1;else if(r<0)if(!n)return -1;else r=0;if("string"==typeof e&&(e=f.from(e,i)),f.isBuffer(e))return 0===e.length?-1:v(t,e,r,i,n);if("number"==typeof e){if(e&=255,"function"==typeof Uint8Array.prototype.indexOf)if(n)return Uint8Array.prototype.indexOf.call(t,e,r);else return Uint8Array.prototype.lastIndexOf.call(t,e,r);return v(t,[e],r,i,n)}throw TypeError("val must be string, number or Buffer")}function v(t,e,r,i,n){var o,a=1,f=t.length,s=e.length;if(void 0!==i&&("ucs2"===(i=String(i).toLowerCase())||"ucs-2"===i||"utf16le"===i||"utf-16le"===i)){if(t.length<2||e.length<2)return -1;a=2,f/=2,s/=2,r/=2}function u(t,e){return 1===a?t[e]:t.readUInt16BE(e*a)}if(n){var l=-1;for(o=r;o<f;o++)if(u(t,o)===u(e,-1===l?0:o-l)){if(-1===l&&(l=o),o-l+1===s)return l*a}else -1!==l&&(o-=o-l),l=-1}else for(r+s>f&&(r=f-s),o=r;o>=0;o--){for(var h=!0,c=0;c<s;c++)if(u(t,o+c)!==u(e,c)){h=!1;break}if(h)return o}return -1}f.isBuffer=function(t){return null!=t&&!0===t._isBuffer&&t!==f.prototype},f.compare=function(t,e){if(R(t,Uint8Array)&&(t=f.from(t,t.offset,t.byteLength)),R(e,Uint8Array)&&(e=f.from(e,e.offset,e.byteLength)),!f.isBuffer(t)||!f.isBuffer(e))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(t===e)return 0;for(var r=t.length,i=e.length,n=0,o=Math.min(r,i);n<o;++n)if(t[n]!==e[n]){r=t[n],i=e[n];break}return r<i?-1:+(i<r)},f.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},f.concat=function(t,e){if(!Array.isArray(t))throw TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return f.alloc(0);if(void 0===e)for(r=0,e=0;r<t.length;++r)e+=t[r].length;var r,i=f.allocUnsafe(e),n=0;for(r=0;r<t.length;++r){var o=t[r];if(R(o,Uint8Array)&&(o=f.from(o)),!f.isBuffer(o))throw TypeError('"list" argument must be an Array of Buffers');o.copy(i,n),n+=o.length}return i},f.byteLength=p,f.prototype._isBuffer=!0,f.prototype.swap16=function(){var t=this.length;if(t%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<t;e+=2)y(this,e,e+1);return this},f.prototype.swap32=function(){var t=this.length;if(t%4!=0)throw RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<t;e+=4)y(this,e,e+3),y(this,e+1,e+2);return this},f.prototype.swap64=function(){var t=this.length;if(t%8!=0)throw RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<t;e+=8)y(this,e,e+7),y(this,e+1,e+6),y(this,e+2,e+5),y(this,e+3,e+4);return this},f.prototype.toString=function(){var t=this.length;return 0===t?"":0==arguments.length?T(this,0,t):d.apply(this,arguments)},f.prototype.toLocaleString=f.prototype.toString,f.prototype.equals=function(t){if(!f.isBuffer(t))throw TypeError("Argument must be a Buffer");return this===t||0===f.compare(this,t)},f.prototype.inspect=function(){var t="",r=e.INSPECT_MAX_BYTES;return t=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(t+=" ... "),"<Buffer "+t+">"},o&&(f.prototype[o]=f.prototype.inspect),f.prototype.compare=function(t,e,r,i,n){if(R(t,Uint8Array)&&(t=f.from(t,t.offset,t.byteLength)),!f.isBuffer(t))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof t);if(void 0===e&&(e=0),void 0===r&&(r=t?t.length:0),void 0===i&&(i=0),void 0===n&&(n=this.length),e<0||r>t.length||i<0||n>this.length)throw RangeError("out of range index");if(i>=n&&e>=r)return 0;if(i>=n)return -1;if(e>=r)return 1;if(e>>>=0,r>>>=0,i>>>=0,n>>>=0,this===t)return 0;for(var o=n-i,a=r-e,s=Math.min(o,a),u=this.slice(i,n),l=t.slice(e,r),h=0;h<s;++h)if(u[h]!==l[h]){o=u[h],a=l[h];break}return o<a?-1:+(a<o)},f.prototype.includes=function(t,e,r){return -1!==this.indexOf(t,e,r)},f.prototype.indexOf=function(t,e,r){return g(this,t,e,r,!0)},f.prototype.lastIndexOf=function(t,e,r){return g(this,t,e,r,!1)};function T(t,e,r){r=Math.min(t.length,r);for(var i=[],n=e;n<r;){var o,a,f,s,u=t[n],l=null,h=u>239?4:u>223?3:u>191?2:1;if(n+h<=r)switch(h){case 1:u<128&&(l=u);break;case 2:(192&(o=t[n+1]))==128&&(s=(31&u)<<6|63&o)>127&&(l=s);break;case 3:o=t[n+1],a=t[n+2],(192&o)==128&&(192&a)==128&&(s=(15&u)<<12|(63&o)<<6|63&a)>2047&&(s<55296||s>57343)&&(l=s);break;case 4:o=t[n+1],a=t[n+2],f=t[n+3],(192&o)==128&&(192&a)==128&&(192&f)==128&&(s=(15&u)<<18|(63&o)<<12|(63&a)<<6|63&f)>65535&&s<1114112&&(l=s)}null===l?(l=65533,h=1):l>65535&&(l-=65536,i.push(l>>>10&1023|55296),l=56320|1023&l),i.push(l),n+=h}var c=i,p=c.length;if(p<=4096)return String.fromCharCode.apply(String,c);for(var d="",y=0;y<p;)d+=String.fromCharCode.apply(String,c.slice(y,y+=4096));return d}function E(t,e,r){if(t%1!=0||t<0)throw RangeError("offset is not uint");if(t+e>r)throw RangeError("Trying to access beyond buffer length")}function b(t,e,r,i,n,o){if(!f.isBuffer(t))throw TypeError('"buffer" argument must be a Buffer instance');if(e>n||e<o)throw RangeError('"value" argument is out of bounds');if(r+i>t.length)throw RangeError("Index out of range")}function S(t,e,r,i,n,o){if(r+i>t.length||r<0)throw RangeError("Index out of range")}function m(t,e,r,i,o){return e*=1,r>>>=0,o||S(t,e,r,4,34028234663852886e22,-34028234663852886e22),n.write(t,e,r,i,23,4),r+4}function A(t,e,r,i,o){return e*=1,r>>>=0,o||S(t,e,r,8,17976931348623157e292,-17976931348623157e292),n.write(t,e,r,i,52,8),r+8}f.prototype.write=function(t,e,r,i){if(void 0===e)i="utf8",r=this.length,e=0;else if(void 0===r&&"string"==typeof e)i=e,r=this.length,e=0;else if(isFinite(e))e>>>=0,isFinite(r)?(r>>>=0,void 0===i&&(i="utf8")):(i=r,r=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var n,o,a,f,s,u,l,h,c=this.length-e;if((void 0===r||r>c)&&(r=c),t.length>0&&(r<0||e<0)||e>this.length)throw RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var p=!1;;)switch(i){case"hex":return function(t,e,r,i){r=Number(r)||0;var n=t.length-r;i?(i=Number(i))>n&&(i=n):i=n;var o=e.length;i>o/2&&(i=o/2);for(var a=0;a<i;++a){var f,s=parseInt(e.substr(2*a,2),16);if((f=s)!=f)break;t[r+a]=s}return a}(this,t,e,r);case"utf8":case"utf-8":return n=e,o=r,I(B(t,this.length-n),this,n,o);case"ascii":return a=e,f=r,I(w(t),this,a,f);case"latin1":case"binary":return function(t,e,r,i){return I(w(e),t,r,i)}(this,t,e,r);case"base64":return s=e,u=r,I(P(t),this,s,u);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return l=e,h=r,I(function(t,e){for(var r,i,n=[],o=0;o<t.length&&!((e-=2)<0);++o)i=(r=t.charCodeAt(o))>>8,n.push(r%256),n.push(i);return n}(t,this.length-l),this,l,h);default:if(p)throw TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),p=!0}},f.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},f.prototype.slice=function(t,e){var r=this.length;t=~~t,e=void 0===e?r:~~e,t<0?(t+=r)<0&&(t=0):t>r&&(t=r),e<0?(e+=r)<0&&(e=0):e>r&&(e=r),e<t&&(e=t);var i=this.subarray(t,e);return Object.setPrototypeOf(i,f.prototype),i},f.prototype.readUIntLE=function(t,e,r){t>>>=0,e>>>=0,r||E(t,e,this.length);for(var i=this[t],n=1,o=0;++o<e&&(n*=256);)i+=this[t+o]*n;return i},f.prototype.readUIntBE=function(t,e,r){t>>>=0,e>>>=0,r||E(t,e,this.length);for(var i=this[t+--e],n=1;e>0&&(n*=256);)i+=this[t+--e]*n;return i},f.prototype.readUInt8=function(t,e){return t>>>=0,e||E(t,1,this.length),this[t]},f.prototype.readUInt16LE=function(t,e){return t>>>=0,e||E(t,2,this.length),this[t]|this[t+1]<<8},f.prototype.readUInt16BE=function(t,e){return t>>>=0,e||E(t,2,this.length),this[t]<<8|this[t+1]},f.prototype.readUInt32LE=function(t,e){return t>>>=0,e||E(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+0x1000000*this[t+3]},f.prototype.readUInt32BE=function(t,e){return t>>>=0,e||E(t,4,this.length),0x1000000*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},f.prototype.readIntLE=function(t,e,r){t>>>=0,e>>>=0,r||E(t,e,this.length);for(var i=this[t],n=1,o=0;++o<e&&(n*=256);)i+=this[t+o]*n;return i>=(n*=128)&&(i-=Math.pow(2,8*e)),i},f.prototype.readIntBE=function(t,e,r){t>>>=0,e>>>=0,r||E(t,e,this.length);for(var i=e,n=1,o=this[t+--i];i>0&&(n*=256);)o+=this[t+--i]*n;return o>=(n*=128)&&(o-=Math.pow(2,8*e)),o},f.prototype.readInt8=function(t,e){return(t>>>=0,e||E(t,1,this.length),128&this[t])?-((255-this[t]+1)*1):this[t]},f.prototype.readInt16LE=function(t,e){t>>>=0,e||E(t,2,this.length);var r=this[t]|this[t+1]<<8;return 32768&r?0xffff0000|r:r},f.prototype.readInt16BE=function(t,e){t>>>=0,e||E(t,2,this.length);var r=this[t+1]|this[t]<<8;return 32768&r?0xffff0000|r:r},f.prototype.readInt32LE=function(t,e){return t>>>=0,e||E(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},f.prototype.readInt32BE=function(t,e){return t>>>=0,e||E(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},f.prototype.readFloatLE=function(t,e){return t>>>=0,e||E(t,4,this.length),n.read(this,t,!0,23,4)},f.prototype.readFloatBE=function(t,e){return t>>>=0,e||E(t,4,this.length),n.read(this,t,!1,23,4)},f.prototype.readDoubleLE=function(t,e){return t>>>=0,e||E(t,8,this.length),n.read(this,t,!0,52,8)},f.prototype.readDoubleBE=function(t,e){return t>>>=0,e||E(t,8,this.length),n.read(this,t,!1,52,8)},f.prototype.writeUIntLE=function(t,e,r,i){if(t*=1,e>>>=0,r>>>=0,!i){var n=Math.pow(2,8*r)-1;b(this,t,e,r,n,0)}var o=1,a=0;for(this[e]=255&t;++a<r&&(o*=256);)this[e+a]=t/o&255;return e+r},f.prototype.writeUIntBE=function(t,e,r,i){if(t*=1,e>>>=0,r>>>=0,!i){var n=Math.pow(2,8*r)-1;b(this,t,e,r,n,0)}var o=r-1,a=1;for(this[e+o]=255&t;--o>=0&&(a*=256);)this[e+o]=t/a&255;return e+r},f.prototype.writeUInt8=function(t,e,r){return t*=1,e>>>=0,r||b(this,t,e,1,255,0),this[e]=255&t,e+1},f.prototype.writeUInt16LE=function(t,e,r){return t*=1,e>>>=0,r||b(this,t,e,2,65535,0),this[e]=255&t,this[e+1]=t>>>8,e+2},f.prototype.writeUInt16BE=function(t,e,r){return t*=1,e>>>=0,r||b(this,t,e,2,65535,0),this[e]=t>>>8,this[e+1]=255&t,e+2},f.prototype.writeUInt32LE=function(t,e,r){return t*=1,e>>>=0,r||b(this,t,e,4,0xffffffff,0),this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t,e+4},f.prototype.writeUInt32BE=function(t,e,r){return t*=1,e>>>=0,r||b(this,t,e,4,0xffffffff,0),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},f.prototype.writeIntLE=function(t,e,r,i){if(t*=1,e>>>=0,!i){var n=Math.pow(2,8*r-1);b(this,t,e,r,n-1,-n)}var o=0,a=1,f=0;for(this[e]=255&t;++o<r&&(a*=256);)t<0&&0===f&&0!==this[e+o-1]&&(f=1),this[e+o]=(t/a|0)-f&255;return e+r},f.prototype.writeIntBE=function(t,e,r,i){if(t*=1,e>>>=0,!i){var n=Math.pow(2,8*r-1);b(this,t,e,r,n-1,-n)}var o=r-1,a=1,f=0;for(this[e+o]=255&t;--o>=0&&(a*=256);)t<0&&0===f&&0!==this[e+o+1]&&(f=1),this[e+o]=(t/a|0)-f&255;return e+r},f.prototype.writeInt8=function(t,e,r){return t*=1,e>>>=0,r||b(this,t,e,1,127,-128),t<0&&(t=255+t+1),this[e]=255&t,e+1},f.prototype.writeInt16LE=function(t,e,r){return t*=1,e>>>=0,r||b(this,t,e,2,32767,-32768),this[e]=255&t,this[e+1]=t>>>8,e+2},f.prototype.writeInt16BE=function(t,e,r){return t*=1,e>>>=0,r||b(this,t,e,2,32767,-32768),this[e]=t>>>8,this[e+1]=255&t,e+2},f.prototype.writeInt32LE=function(t,e,r){return t*=1,e>>>=0,r||b(this,t,e,4,0x7fffffff,-0x80000000),this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24,e+4},f.prototype.writeInt32BE=function(t,e,r){return t*=1,e>>>=0,r||b(this,t,e,4,0x7fffffff,-0x80000000),t<0&&(t=0xffffffff+t+1),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},f.prototype.writeFloatLE=function(t,e,r){return m(this,t,e,!0,r)},f.prototype.writeFloatBE=function(t,e,r){return m(this,t,e,!1,r)},f.prototype.writeDoubleLE=function(t,e,r){return A(this,t,e,!0,r)},f.prototype.writeDoubleBE=function(t,e,r){return A(this,t,e,!1,r)},f.prototype.copy=function(t,e,r,i){if(!f.isBuffer(t))throw TypeError("argument should be a Buffer");if(r||(r=0),i||0===i||(i=this.length),e>=t.length&&(e=t.length),e||(e=0),i>0&&i<r&&(i=r),i===r||0===t.length||0===this.length)return 0;if(e<0)throw RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw RangeError("Index out of range");if(i<0)throw RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),t.length-e<i-r&&(i=t.length-e+r);var n=i-r;if(this===t&&"function"==typeof Uint8Array.prototype.copyWithin)this.copyWithin(e,r,i);else if(this===t&&r<e&&e<i)for(var o=n-1;o>=0;--o)t[o+e]=this[o+r];else Uint8Array.prototype.set.call(t,this.subarray(r,i),e);return n},f.prototype.fill=function(t,e,r,i){if("string"==typeof t){if("string"==typeof e?(i=e,e=0,r=this.length):"string"==typeof r&&(i=r,r=this.length),void 0!==i&&"string"!=typeof i)throw TypeError("encoding must be a string");if("string"==typeof i&&!f.isEncoding(i))throw TypeError("Unknown encoding: "+i);if(1===t.length){var n,o=t.charCodeAt(0);("utf8"===i&&o<128||"latin1"===i)&&(t=o)}}else"number"==typeof t?t&=255:"boolean"==typeof t&&(t=Number(t));if(e<0||this.length<e||this.length<r)throw RangeError("Out of range index");if(r<=e)return this;if(e>>>=0,r=void 0===r?this.length:r>>>0,t||(t=0),"number"==typeof t)for(n=e;n<r;++n)this[n]=t;else{var a=f.isBuffer(t)?t:f.from(t,i),s=a.length;if(0===s)throw TypeError('The value "'+t+'" is invalid for argument "value"');for(n=0;n<r-e;++n)this[n+e]=a[n%s]}return this};var C=/[^+/0-9A-Za-z-_]/g;function B(t,e){e=e||1/0;for(var r,i=t.length,n=null,o=[],a=0;a<i;++a){if((r=t.charCodeAt(a))>55295&&r<57344){if(!n){if(r>56319||a+1===i){(e-=3)>-1&&o.push(239,191,189);continue}n=r;continue}if(r<56320){(e-=3)>-1&&o.push(239,191,189),n=r;continue}r=(n-55296<<10|r-56320)+65536}else n&&(e-=3)>-1&&o.push(239,191,189);if(n=null,r<128){if((e-=1)<0)break;o.push(r)}else if(r<2048){if((e-=2)<0)break;o.push(r>>6|192,63&r|128)}else if(r<65536){if((e-=3)<0)break;o.push(r>>12|224,r>>6&63|128,63&r|128)}else if(r<1114112){if((e-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}else throw Error("Invalid code point")}return o}function w(t){for(var e=[],r=0;r<t.length;++r)e.push(255&t.charCodeAt(r));return e}function P(t){return i.toByteArray(function(t){if((t=(t=t.split("=")[0]).trim().replace(C,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function I(t,e,r,i){for(var n=0;n<i&&!(n+r>=e.length)&&!(n>=t.length);++n)e[n+r]=t[n];return n}function R(t,e){return t instanceof e||null!=t&&null!=t.constructor&&null!=t.constructor.name&&t.constructor.name===e.name}var O=function(){for(var t="0123456789abcdef",e=Array(256),r=0;r<16;++r)for(var i=16*r,n=0;n<16;++n)e[i+n]=t[r]+t[n];return e}()},783:function(t,e){e.read=function(t,e,r,i,n){var o,a,f=8*n-i-1,s=(1<<f)-1,u=s>>1,l=-7,h=r?n-1:0,c=r?-1:1,p=t[e+h];for(h+=c,o=p&(1<<-l)-1,p>>=-l,l+=f;l>0;o=256*o+t[e+h],h+=c,l-=8);for(a=o&(1<<-l)-1,o>>=-l,l+=i;l>0;a=256*a+t[e+h],h+=c,l-=8);if(0===o)o=1-u;else{if(o===s)return a?NaN:1/0*(p?-1:1);a+=Math.pow(2,i),o-=u}return(p?-1:1)*a*Math.pow(2,o-i)},e.write=function(t,e,r,i,n,o){var a,f,s,u=8*o-n-1,l=(1<<u)-1,h=l>>1,c=5960464477539062e-23*(23===n),p=i?0:o-1,d=i?1:-1,y=+(e<0||0===e&&1/e<0);for(isNaN(e=Math.abs(e))||e===1/0?(f=+!!isNaN(e),a=l):(a=Math.floor(Math.log(e)/Math.LN2),e*(s=Math.pow(2,-a))<1&&(a--,s*=2),a+h>=1?e+=c/s:e+=c*Math.pow(2,1-h),e*s>=2&&(a++,s/=2),a+h>=l?(f=0,a=l):a+h>=1?(f=(e*s-1)*Math.pow(2,n),a+=h):(f=e*Math.pow(2,h-1)*Math.pow(2,n),a=0));n>=8;t[r+p]=255&f,p+=d,f/=256,n-=8);for(a=a<<n|f,u+=n;u>0;t[r+p]=255&a,p+=d,a/=256,u-=8);t[r+p-d]|=128*y}}},n={};function o(t){var e=n[t];if(void 0!==e)return e.exports;var r=n[t]={exports:{}},a=!0;try{i[t](r,r.exports,o),a=!1}finally{a&&delete n[t]}return r.exports}o.ab="/ROOT/node_modules/next/dist/compiled/buffer/",e.exports=o(72)},72903,t=>{"use strict";t.i(56734);var e=t.i(77654),r=t.i(74284),i=t.i(23311),n=t.i(1362),o=t.i(12477),a=t.i(75496);t.s(["LockingScript",()=>i.default,"OP",()=>e.default,"P2PKH",()=>a.P2PKH,"PushDrop",()=>a.PushDrop,"RPuzzle",()=>a.RPuzzle,"Script",()=>r.default,"Spend",()=>o.default,"UnlockingScript",()=>n.default])},94546,37257,t=>{"use strict";t.i(80213);var e=t.i(77681),r=t.i(44287),i=t.i(94610),n=t.i(78097),o=t.i(83612),a=t.i(16826);t.s(["ATOMIC_BEEF",()=>o.ATOMIC_BEEF,"BEEF_V1",()=>o.BEEF_V1,"BEEF_V2",()=>o.BEEF_V2,"Beef",()=>o.Beef,"BeefParty",()=>a.default,"BeefTx",()=>n.default,"MerklePath",()=>r.default,"TX_DATA_FORMAT",()=>o.TX_DATA_FORMAT,"Transaction",()=>e.default,"isBroadcastFailure",()=>i.isBroadcastFailure,"isBroadcastResponse",()=>i.isBroadcastResponse],94546),t.i(27594);var f=t.i(46112);t.s(["SatoshisPerKilobyte",()=>f.default],37257)},23407,t=>{"use strict";t.i(67056);var e=t.i(21227),r=t.i(57157),i=t.i(4153),n=t.i(19464);t.s(["ARC",()=>e.default,"Teranode",()=>i.default,"WhatsOnChainBroadcaster",()=>r.default,"defaultBroadcaster",()=>n.defaultBroadcaster])},12714,t=>{"use strict";t.i(37823);var e=t.i(26407),r=t.i(19873),i=t.i(89175),n=t.i(39081);t.s(["FetchHttpClient",()=>n.FetchHttpClient,"NodejsHttpClient",()=>i.NodejsHttpClient,"binaryHttpClient",()=>r.binaryHttpClient,"defaultHttpClient",()=>e.defaultHttpClient])},45453,t=>{"use strict";t.i(54717);var e=t.i(75105),r=t.i(2115),i=t.i(9307),n=t.i(53364),o=t.i(49490);t.s(["BSM",0,e,"ECIES",()=>n.default,"HD",()=>r.default,"Mnemonic",()=>i.default,"fromUtxo",()=>o.default])},44270,t=>{"use strict";t.i(51185);var e=t.i(34421),r=t.i(72903);t.i(75496);var i=t.i(94546),n=t.i(37257),o=t.i(23407);t.i(47196);var a=t.i(57374),f=t.i(98242);t.s(["WhatsOnChain",()=>a.default,"defaultChainTracker",()=>f.defaultChainTracker],87178),t.i(87178);var s=t.i(12714);t.i(26312);var u=t.i(74568),l=t.i(9037);t.s(["EncryptedMessage",0,l,"SignedMessage",0,u],94974),t.i(94974);var h=t.i(45453);t.i(49677);var c=t.i(14918);t.s(["TOTP",()=>c.TOTP],45730),t.i(45730),t.i(22347);var p=t.i(76285),d=t.i(43151),y=t.i(64609),g=t.i(30902),v=t.i(11990),T=t.i(39923),E=t.i(26896);t.i(91275);var b=t.i(78605),S=t.i(11102);t.i(79707),t.i(53228);var m=t.i(32553),A=t.i(47466),C=t.i(57641),B=t.i(49007),w=t.i(92074);t.s(["HTTPWalletJSON",()=>B.default,"HTTPWalletWire",()=>C.default,"ReactNativeWebView",()=>w.default,"WalletWireProcessor",()=>A.default,"WalletWireTransceiver",()=>m.default,"WindowCWISubstrate",()=>b.default,"XDM",()=>S.default],30085),t.i(30085),t.s(["CachedKeyDeriver",()=>y.default,"HTTPWalletJSON",()=>B.default,"HTTPWalletWire",()=>C.default,"KeyDeriver",()=>d.KeyDeriver,"ProtoWallet",()=>g.default,"ReactNativeWebView",()=>w.default,"SecurityLevels",()=>p.SecurityLevels,"WERR_REVIEW_ACTIONS",()=>E.default,"WalletClient",()=>v.default,"WalletError",()=>T.WalletError,"WalletErrors",()=>T.default,"WalletWireProcessor",()=>A.default,"WalletWireTransceiver",()=>m.default,"WindowCWISubstrate",()=>b.default,"XDM",()=>S.default,"walletErrors",()=>T.walletErrors],96921),t.i(96921),t.i(19942),t.i(84188);var P=t.i(55135),I=t.i(13068),R=t.i(78367),O=t.i(38877);t.s(["Certificate",()=>P.default,"CompletedProtoWallet",()=>O.CompletedProtoWallet,"MasterCertificate",()=>I.MasterCertificate,"VerifiableCertificate",()=>R.VerifiableCertificate],36753),t.i(36753);var _=t.i(35244),U=t.i(40291);t.i(82439),t.i(57483);var L=t.i(2152),N=t.i(63951),F=t.i(15262),W=t.i(20893);t.s(["createNonce",()=>N.createNonce,"getVerifiableCertificates",()=>F.getVerifiableCertificates,"validateCertificates",()=>W.validateCertificates,"verifyNonce",()=>L.verifyNonce],91184),t.i(91184),t.i(68973);var M=t.i(87402);t.s(["AuthFetch",()=>M.AuthFetch],14598),t.i(14598),t.i(84771);var D=t.i(51452);t.s(["SimplifiedFetchTransport",()=>D.SimplifiedFetchTransport],96721),t.i(96721),t.s(["AuthFetch",()=>M.AuthFetch,"Certificate",()=>P.default,"CompletedProtoWallet",()=>O.CompletedProtoWallet,"MasterCertificate",()=>I.MasterCertificate,"Peer",()=>_.Peer,"SessionManager",()=>U.SessionManager,"SimplifiedFetchTransport",()=>D.SimplifiedFetchTransport,"VerifiableCertificate",()=>R.VerifiableCertificate,"createNonce",()=>N.createNonce,"getVerifiableCertificates",()=>F.getVerifiableCertificates,"validateCertificates",()=>W.validateCertificates,"verifyNonce",()=>L.verifyNonce],81510),t.i(81510),t.i(94735);var x=t.i(78647),H=t.i(88489),k=t.i(45046);t.s(["DEFAULT_SLAP_TRACKERS",()=>x.DEFAULT_SLAP_TRACKERS,"DEFAULT_TESTNET_SLAP_TRACKERS",()=>x.DEFAULT_TESTNET_SLAP_TRACKERS,"HTTPSOverlayBroadcastFacilitator",()=>H.HTTPSOverlayBroadcastFacilitator,"HTTPSOverlayLookupFacilitator",()=>x.HTTPSOverlayLookupFacilitator,"LookupResolver",()=>x.default,"OverlayAdminTokenTemplate",()=>k.default,"SHIPBroadcaster",()=>H.default,"SHIPCast",()=>H.default,"TopicBroadcaster",()=>H.default],34924),t.i(34924),t.i(51130);var K=t.i(67827),V=t.i(62047),z=t.i(8882);t.s(["StorageDownloader",()=>z.StorageDownloader,"StorageUploader",()=>V.StorageUploader,"StorageUtils",0,K],70832),t.i(70832),t.i(44039);var j=t.i(85611),Y=t.i(31191);t.s(["DEFAULT_IDENTITY_CLIENT_OPTIONS",()=>Y.DEFAULT_IDENTITY_CLIENT_OPTIONS,"IdentityClient",()=>j.IdentityClient,"KNOWN_IDENTITY_TYPES",()=>Y.KNOWN_IDENTITY_TYPES,"defaultIdentity",()=>Y.defaultIdentity],38363),t.i(38363),t.i(29381);var X=t.i(11116);t.i(79105),t.s(["RegistryClient",()=>X.RegistryClient,"deserializeWalletProtocol",()=>X.deserializeWalletProtocol],36703),t.i(36703),t.i(43006);var J=t.i(52879);t.s(["LocalKVStore",()=>J.default],12894),t.i(12894),t.s(["ARC",()=>o.ARC,"ATOMIC_BEEF",()=>i.ATOMIC_BEEF,"AuthFetch",()=>M.AuthFetch,"BEEF_V1",()=>i.BEEF_V1,"BEEF_V2",()=>i.BEEF_V2,"BSM",()=>h.BSM,"Beef",()=>i.Beef,"BeefParty",()=>i.BeefParty,"BeefTx",()=>i.BeefTx,"BigNumber",()=>e.BigNumber,"CachedKeyDeriver",()=>y.default,"Certificate",()=>P.default,"CompletedProtoWallet",()=>O.CompletedProtoWallet,"Curve",()=>e.Curve,"DEFAULT_IDENTITY_CLIENT_OPTIONS",()=>Y.DEFAULT_IDENTITY_CLIENT_OPTIONS,"DEFAULT_SLAP_TRACKERS",()=>x.DEFAULT_SLAP_TRACKERS,"DEFAULT_TESTNET_SLAP_TRACKERS",()=>x.DEFAULT_TESTNET_SLAP_TRACKERS,"DRBG",()=>e.DRBG,"ECDSA",()=>e.ECDSA,"ECIES",()=>h.ECIES,"EncryptedMessage",()=>l,"FetchHttpClient",()=>s.FetchHttpClient,"HD",()=>h.HD,"HTTPSOverlayBroadcastFacilitator",()=>H.HTTPSOverlayBroadcastFacilitator,"HTTPSOverlayLookupFacilitator",()=>x.HTTPSOverlayLookupFacilitator,"HTTPWalletJSON",()=>B.default,"HTTPWalletWire",()=>C.default,"Hash",()=>e.Hash,"IdentityClient",()=>j.IdentityClient,"KNOWN_IDENTITY_TYPES",()=>Y.KNOWN_IDENTITY_TYPES,"KeyDeriver",()=>d.KeyDeriver,"KeyShares",()=>e.KeyShares,"LocalKVStore",()=>J.default,"LockingScript",()=>r.LockingScript,"LookupResolver",()=>x.default,"MasterCertificate",()=>I.MasterCertificate,"MerklePath",()=>i.MerklePath,"Mnemonic",()=>h.Mnemonic,"NodejsHttpClient",()=>s.NodejsHttpClient,"OP",()=>r.OP,"OverlayAdminTokenTemplate",()=>k.default,"P2PKH",()=>r.P2PKH,"Peer",()=>_.Peer,"Point",()=>e.Point,"PointInFiniteField",()=>e.PointInFiniteField,"Polynomial",()=>e.Polynomial,"PrivateKey",()=>e.PrivateKey,"ProtoWallet",()=>g.default,"PublicKey",()=>e.PublicKey,"PushDrop",()=>r.PushDrop,"RPuzzle",()=>r.RPuzzle,"Random",()=>e.Random,"ReactNativeWebView",()=>w.default,"RegistryClient",()=>X.RegistryClient,"SHIPBroadcaster",()=>H.default,"SHIPCast",()=>H.default,"SatoshisPerKilobyte",()=>n.SatoshisPerKilobyte,"Schnorr",()=>e.Schnorr,"Script",()=>r.Script,"SecurityLevels",()=>p.SecurityLevels,"SessionManager",()=>U.SessionManager,"Signature",()=>e.Signature,"SignedMessage",()=>u,"SimplifiedFetchTransport",()=>D.SimplifiedFetchTransport,"Spend",()=>r.Spend,"StorageDownloader",()=>z.StorageDownloader,"StorageUploader",()=>V.StorageUploader,"StorageUtils",()=>K,"SymmetricKey",()=>e.SymmetricKey,"TOTP",()=>c.TOTP,"TX_DATA_FORMAT",()=>i.TX_DATA_FORMAT,"Teranode",()=>o.Teranode,"TopicBroadcaster",()=>H.default,"Transaction",()=>i.Transaction,"TransactionSignature",()=>e.TransactionSignature,"UnlockingScript",()=>r.UnlockingScript,"Utils",()=>e.Utils,"VerifiableCertificate",()=>R.VerifiableCertificate,"WERR_REVIEW_ACTIONS",()=>E.default,"WalletClient",()=>v.default,"WalletError",()=>T.WalletError,"WalletErrors",()=>T.default,"WalletWireProcessor",()=>A.default,"WalletWireTransceiver",()=>m.default,"WhatsOnChain",()=>a.default,"WhatsOnChainBroadcaster",()=>o.WhatsOnChainBroadcaster,"WindowCWISubstrate",()=>b.default,"XDM",()=>S.default,"binaryHttpClient",()=>s.binaryHttpClient,"createNonce",()=>N.createNonce,"defaultBroadcaster",()=>o.defaultBroadcaster,"defaultChainTracker",()=>f.defaultChainTracker,"defaultHttpClient",()=>s.defaultHttpClient,"defaultIdentity",()=>Y.defaultIdentity,"deserializeWalletProtocol",()=>X.deserializeWalletProtocol,"fromUtxo",()=>h.fromUtxo,"getVerifiableCertificates",()=>F.getVerifiableCertificates,"isBroadcastFailure",()=>i.isBroadcastFailure,"isBroadcastResponse",()=>i.isBroadcastResponse,"validateCertificates",()=>W.validateCertificates,"verifyNonce",()=>L.verifyNonce,"walletErrors",()=>T.walletErrors],44270)}]);