1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="b40ef3e1-39f3-c949-8caa-454d0f479cbc")}catch(e){}}(); 2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,221168,(e,t,r)=>{var a={872:function(e,t){"use strict";t.byteLength=function(e){var t=c(e),r=t[0],a=t[1];return(r+a)*3/4-a},t.toByteArray=function(e){var t,r,n=c(e),o=n[0],s=n[1],u=new i((o+s)*3/4-s),f=0,l=s>0?o-4:o;for(r=0;r<l;r+=4)t=a[e.charCodeAt(r)]<<18|a[e.charCodeAt(r+1)]<<12|a[e.charCodeAt(r+2)]<<6|a[e.charCodeAt(r+3)],u[f++]=t>>16&255,u[f++]=t>>8&255,u[f++]=255&t;return 2===s&&(t=a[e.charCodeAt(r)]<<2|a[e.charCodeAt(r+1)]>>4,u[f++]=255&t),1===s&&(t=a[e.charCodeAt(r)]<<10|a[e.charCodeAt(r+1)]<<4|a[e.charCodeAt(r+2)]>>2,u[f++]=t>>8&255,u[f++]=255&t),u},t.fromByteArray=function(e){for(var t,a=e.length,i=a%3,n=[],o=0,s=a-i;o<s;o+=16383)n.push(function(e,t,a){for(var i,n=[],o=t;o<a;o+=3)i=(e[o]<<16&0xff0000)+(e[o+1]<<8&65280)+(255&e[o+2]),n.push(r[i>>18&63]+r[i>>12&63]+r[i>>6&63]+r[63&i]);return n.join("")}(e,o,o+16383>s?s:o+16383));return 1===i?n.push(r[(t=e[a-1])>>2]+r[t<<4&63]+"=="):2===i&&n.push(r[(t=(e[a-2]<<8)+e[a-1])>>10]+r[t>>4&63]+r[t<<2&63]+"="),n.join("")};for(var r=[],a=[],i="u">typeof Uint8Array?Uint8Array:Array,n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",o=0,s=n.length;o<s;++o)r[o]=n[o],a[n.charCodeAt(o)]=o;function c(e){var t=e.length;if(t%4>0)throw Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");-1===r&&(r=t);var a=r===t?0:4-r%4;return[r,a]}a[45]=62,a[95]=63},230:function(e,t,r){"use strict";var a=r(872),i=r(321),n="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;function o(e){if(e>0x7fffffff)throw RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,s.prototype),t}function s(e,t,r){if("number"==typeof e){if("string"==typeof t)throw TypeError('The "string" argument must be of type string. Received type number');return f(e)}return c(e,t,r)}function c(e,t,r){if("string"==typeof e){var a=e,i=t;if(("string"!=typeof i||""===i)&&(i="utf8"),!s.isEncoding(i))throw TypeError("Unknown encoding: "+i);var n=0|p(a,i),c=o(n),u=c.write(a,i);return u!==n&&(c=c.slice(0,u)),c}if(ArrayBuffer.isView(e))return l(e);if(null==e)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(T(e,ArrayBuffer)||e&&T(e.buffer,ArrayBuffer)||"u">typeof SharedArrayBuffer&&(T(e,SharedArrayBuffer)||e&&T(e.buffer,SharedArrayBuffer)))return function(e,t,r){var a;if(t<0||e.byteLength<t)throw RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(r||0))throw RangeError('"length" is outside of buffer bounds');return Object.setPrototypeOf(a=void 0===t&&void 0===r?new Uint8Array(e):void 0===r?new Uint8Array(e,t):new Uint8Array(e,t,r),s.prototype),a}(e,t,r);if("number"==typeof e)throw TypeError('The "value" argument must not be of type number. Received type number');var f=e.valueOf&&e.valueOf();if(null!=f&&f!==e)return s.from(f,t,r);var m=function(e){if(s.isBuffer(e)){var t=0|d(e.length),r=o(t);return 0===r.length||e.copy(r,0,0,t),r}return void 0!==e.length?"number"!=typeof e.length||function(e){return e!=e}(e.length)?o(0):l(e):"Buffer"===e.type&&Array.isArray(e.data)?l(e.data):void 0}(e);if(m)return m;if("u">typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return s.from(e[Symbol.toPrimitive]("string"),t,r);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function u(e){if("number"!=typeof e)throw TypeError('"size" argument must be of type number');if(e<0)throw RangeError('The value "'+e+'" is invalid for option "size"')}function f(e){return u(e),o(e<0?0:0|d(e))}function l(e){for(var t=e.length<0?0:0|d(e.length),r=o(t),a=0;a<t;a+=1)r[a]=255&e[a];return r}t.Buffer=s,t.SlowBuffer=function(e){return+e!=e&&(e=0),s.alloc(+e)}
vendor: 16,232 bytes, line 2
2,t.INSPECT_MAX_BYTES=50,t.kMaxLength=0x7fffffff,s.TYPED_ARRAY_SUPPORT=function(){try{var e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}(),!s.TYPED_ARRAY_SUPPORT&&"u">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(s.prototype,"parent",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.buffer}}),Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.byteOffset}}),s.poolSize=8192,s.from=function(e,t,r){return c(e,t,r)},Object.setPrototypeOf(s.prototype,Uint8Array.prototype),Object.setPrototypeOf(s,Uint8Array),s.alloc=function(e,t,r){return(u(e),e<=0)?o(e):void 0!==t?"string"==typeof r?o(e).fill(t,r):o(e).fill(t):o(e)},s.allocUnsafe=function(e){return f(e)},s.allocUnsafeSlow=function(e){return f(e)};function d(e){if(e>=0x7fffffff)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|e}function p(e,t){if(s.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||T(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var r=e.length,a=arguments.length>2&&!0===arguments[2];if(!a&&0===r)return 0;for(var i=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return P(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return C(e).length;default:if(i)return a?-1:P(e).length;t=(""+t).toLowerCase(),i=!0}}function m(e,t,r){var i,n,o,s=!1;if((void 0===t||t<0)&&(t=0),t>this.length||((void 0===r||r>this.length)&&(r=this.length),r<=0||(r>>>=0)<=(t>>>=0)))return"";for(e||(e="utf8");;)switch(e){case"hex":return function(e,t,r){var a=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>a)&&(r=a);for(var i="",n=t;n<r;++n)i+=G[e[n]];return i}(this,t,r);case"utf8":case"utf-8":return b(this,t,r);case"ascii":return function(e,t,r){var a="";r=Math.min(e.length,r);for(var i=t;i<r;++i)a+=String.fromCharCode(127&e[i]);return a}(this,t,r);case"latin1":case"binary":return function(e,t,r){var a="";r=Math.min(e.length,r);for(var i=t;i<r;++i)a+=String.fromCharCode(e[i]);return a}(this,t,r);case"base64":return i=this,n=t,o=r,0===n&&o===i.length?a.fromByteArray(i):a.fromByteArray(i.slice(n,o));case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return function(e,t,r){for(var a=e.slice(t,r),i="",n=0;n<a.length;n+=2)i+=String.fromCharCode(a[n]+256*a[n+1]);return i}(this,t,r);default:if(s)throw TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),s=!0}}function h(e,t,r){var a=e[t];e[t]=e[r],e[r]=a}function y(e,t,r,a,i){var n;if(0===e.length)return -1;if("string"==typeof r?(a=r,r=0):r>0x7fffffff?r=0x7fffffff:r<-0x80000000&&(r=-0x80000000),(n=r*=1)!=n&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length)if(i)return -1;else r=e.length-1;else if(r<0)if(!i)return -1;else r=0;if("string"==typeof t&&(t=s.from(t,a)),s.isBuffer(t))return 0===t.length?-1:g(e,t,r,a,i);if("number"==typeof t){if(t&=255,"function"==typeof Uint8Array.prototype.indexOf)if(i)return Uint8Array.prototype.indexOf.call(e,t,r);else return Uint8Array.prototype.lastIndexOf.call(e,t,r);return g(e,[t],r,a,i)}throw TypeError("val must be string, number or Buffer")}function g(e,t,r,a,i){var n,o=1,s=e.length,c=t.length;if(void 0!==a&&("ucs2"===(a=String(a).toLowerCase())||"ucs-2"===a||"utf16le"===a||"utf-16le"===a)){if(e.length<2||t.length<2)return -1;o=2,s/=2,c/=2,r/=2}function u(e,t){return 1===o?e[t]:e.readUInt16BE(t*o)}if(i){var f=-1;for(n=r;n<s;n++)if(u(e,n)===u(t,-1===f?0:n-f)){if(-1===f&&(f=n),n-f+1===c)return f*o}else -1!==f&&(n-=n-f),f=-1}else for(r+c>s&&(r=s-c),n=r;n>=0;n--){for(var l=!0,d=0;d<c;d++)if(u(e,n+d)!==u(t,d)){l=!1;break}if(l)return n}return -1}s.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==s.prototype},s.compare=function(e,t){if(T(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),T(t,Uint8Array)&&(t=s.from(t,t.offset,t.byteLength)),!s.isBuffer(e)||!s.isBuffer(t))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;for(var r=e.length,a=t.length,i=0,n=Math.min(r,a);i<n;++i)if(e[i]!==t[i]){r=e[i],a=t[i];break}return r<a?-1:+(a<r)},s.isEncoding=function(e){switch(String(e).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}},s.concat=function(e,t){if(!Array.isArray(e))throw TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return s.alloc(0);if(void 0===t)for(r=0,t=0;r<e.length;++r)t+=e[r].length;var r,a=s.allocUnsafe(t),i=0;for(r=0;r<e.length;++r){var n=e[r];if(T(n,Uint8Array)&&(n=s.from(n)),!s.isBuffer(n))throw TypeError('"list" argument must be an Array of Buffers');n.copy(a,i),i+=n.length}return a},s.byteLength=p,s.prototype._isBuffer=!0,s.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)h(this,t,t+1);return this},s.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)h(this,t,t+3),h(this,t+1,t+2);return this},s.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)h(this,t,t+7),h(this,t+1,t+6),h(this,t+2,t+5),h(this,t+3,t+4);return this},s.prototype.toString=function(){var e=this.length;return 0===e?"":0==arguments.length?b(this,0,e):m.apply(this,arguments)},s.prototype.toLocaleString=s.prototype.toString,s.prototype.equals=function(e){if(!s.isBuffer(e))throw TypeError("Argument must be a Buffer");return this===e||0===s.compare(this,e)},s.prototype.inspect=function(){var e="",r=t.INSPECT_MAX_BYTES;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"},n&&(s.prototype[n]=s.prototype.inspect),s.prototype.compare=function(e,t,r,a,i){if(T(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(e))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===a&&(a=0),void 0===i&&(i=this.length),t<0||r>e.length||a<0||i>this.length)throw RangeError("out of range index");if(a>=i&&t>=r)return 0;if(a>=i)return -1;if(t>=r)return 1;if(t>>>=0,r>>>=0,a>>>=0,i>>>=0,this===e)return 0;for(var n=i-a,o=r-t,c=Math.min(n,o),u=this.slice(a,i),f=e.slice(t,r),l=0;l<c;++l)if(u[l]!==f[l]){n=u[l],o=f[l];break}return n<o?-1:+(o<n)},s.prototype.includes=function(e,t,r){return -1!==this.indexOf(e,t,r)},s.prototype.indexOf=function(e,t,r){return y(this,e,t,r,!0)},s.prototype.lastIndexOf=function(e,t,r){return y(this,e,t,r,!1)};function b(e,t,r){r=Math.min(e.length,r);for(var a=[],i=t;i<r;){var n,o,s,c,u=e[i],f=null,l=u>239?4:u>223?3:u>191?2:1;if(i+l<=r)switch(l){case 1:u<128&&(f=u);break;case 2:(192&(n=e[i+1]))==128&&(c=(31&u)<<6|63&n)>127&&(f=c);break;case 3:n=e[i+1],o=e[i+2],(192&n)==128&&(192&o)==128&&(c=(15&u)<<12|(63&n)<<6|63&o)>2047&&(c<55296||c>57343)&&(f=c);break;case 4:n=e[i+1],o=e[i+2],s=e[i+3],(192&n)==128&&(192&o)==128&&(192&s)==128&&(c=(15&u)<<18|(63&n)<<12|(63&o)<<6|63&s)>65535&&c<1114112&&(f=c)}null===f?(f=65533,l=1):f>65535&&(f-=65536,a.push(f>>>10&1023|55296),f=56320|1023&f),a.push(f),i+=l}var d=a,p=d.length;if(p<=4096)return String.fromCharCode.apply(String,d);for(var m="",h=0;h<p;)m+=String.fromCharCode.apply(String,d.slice(h,h+=4096));return m}function v(e,t,r){if(e%1!=0||e<0)throw RangeError("offset is not uint");if(e+t>r)throw RangeError("Trying to access beyond buffer length")}function x(e,t,r,a,i,n){if(!s.isBuffer(e))throw TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<n)throw RangeError('"value" argument is out of bounds');if(r+a>e.length)throw RangeError("Index out of range")}function w(e,t,r,a,i,n){if(r+a>e.length||r<0)throw RangeError("Index out of range")}function E(e,t,r,a,n){return t*=1,r>>>=0,n||w(e,t,r,4,34028234663852886e22,-34028234663852886e22),i.write(e,t,r,a,23,4),r+4}function B(e,t,r,a,n){return t*=1,r>>>=0,n||w(e,t,r,8,17976931348623157e292,-17976931348623157e292),i.write(e,t,r,a,52,8),r+8}s.prototype.write=function(e,t,r,a){if(void 0===t)a="utf8",r=this.length,t=0;else if(void 0===r&&"string"==typeof t)a=t,r=this.length,t=0;else if(isFinite(t))t>>>=0,isFinite(r)?(r>>>=0,void 0===a&&(a="utf8")):(a=r,r=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var i,n,o,s,c,u,f,l,d=this.length-t;if((void 0===r||r>d)&&(r=d),e.length>0&&(r<0||t<0)||t>this.length)throw RangeError("Attempt to write outside buffer bounds");a||(a="utf8");for(var p=!1;;)switch(a){case"hex":return function(e,t,r,a){r=Number(r)||0;var i=e.length-r;a?(a=Number(a))>i&&(a=i):a=i;var n=t.length;a>n/2&&(a=n/2);for(var o=0;o<a;++o){var s,c=parseInt(t.substr(2*o,2),16);if((s=c)!=s)break;e[r+o]=c}return o}(this,e,t,r);case"utf8":case"utf-8":return i=t,n=r,U(P(e,this.length-i),this,i,n);case"ascii":return o=t,s=r,U(A(e),this,o,s);case"latin1":case"binary":return function(e,t,r,a){return U(A(t),e,r,a)}(this,e,t,r);case"base64":return c=t,u=r,U(C(e),this,c,u);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return f=t,l=r,U(function(e,t){for(var r,a,i=[],n=0;n<e.length&&!((t-=2)<0);++n)a=(r=e.charCodeAt(n))>>8,i.push(r%256),i.push(a);return i}(e,this.length-f),this,f,l);default:if(p)throw TypeError("Unknown encoding: "+a);a=(""+a).toLowerCase(),p=!0}},s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},s.prototype.slice=function(e,t){var r=this.length;e=~~e,t=void 0===t?r:~~t,e<0?(e+=r)<0&&(e=0):e>r&&(e=r),t<0?(t+=r)<0&&(t=0):t>r&&(t=r),t<e&&(t=e);var a=this.subarray(e,t);return Object.setPrototypeOf(a,s.prototype),a},s.prototype.readUIntLE=function(e,t,r){e>>>=0,t>>>=0,r||v(e,t,this.length);for(var a=this[e],i=1,n=0;++n<t&&(i*=256);)a+=this[e+n]*i;return a},s.prototype.readUIntBE=function(e,t,r){e>>>=0,t>>>=0,r||v(e,t,this.length);for(var a=this[e+--t],i=1;t>0&&(i*=256);)a+=this[e+--t]*i;return a},s.prototype.readUInt8=function(e,t){return e>>>=0,t||v(e,1,this.length),this[e]},s.prototype.readUInt16LE=function(e,t){return e>>>=0,t||v(e,2,this.length),this[e]|this[e+1]<<8},s.prototype.readUInt16BE=function(e,t){return e>>>=0,t||v(e,2,this.length),this[e]<<8|this[e+1]},s.prototype.readUInt32LE=function(e,t){return e>>>=0,t||v(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+0x1000000*this[e+3]},s.prototype.readUInt32BE=function(e,t){return e>>>=0,t||v(e,4,this.length),0x1000000*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},s.prototype.readIntLE=function(e,t,r){e>>>=0,t>>>=0,r||v(e,t,this.length);for(var a=this[e],i=1,n=0;++n<t&&(i*=256);)a+=this[e+n]*i;return a>=(i*=128)&&(a-=Math.pow(2,8*t)),a},s.prototype.readIntBE=function(e,t,r){e>>>=0,t>>>=0,r||v(e,t,this.length);for(var a=t,i=1,n=this[e+--a];a>0&&(i*=256);)n+=this[e+--a]*i;return n>=(i*=128)&&(n-=Math.pow(2,8*t)),n},s.prototype.readInt8=function(e,t){return(e>>>=0,t||v(e,1,this.length),128&this[e])?-((255-this[e]+1)*1):this[e]},s.prototype.readInt16LE=function(e,t){e>>>=0,t||v(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?0xffff0000|r:r},s.prototype.readInt16BE=function(e,t){e>>>=0,t||v(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?0xffff0000|r:r},s.prototype.readInt32LE=function(e,t){return e>>>=0,t||v(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},s.prototype.readInt32BE=function(e,t){return e>>>=0,t||v(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},s.prototype.readFloatLE=function(e,t){return e>>>=0,t||v(e,4,this.length),i.read(this,e,!0,23,4)},s.prototype.readFloatBE=function(e,t){return e>>>=0,t||v(e,4,this.length),i.read(this,e,!1,23,4)},s.prototype.readDoubleLE=function(e,t){return e>>>=0,t||v(e,8,this.length),i.read(this,e,!0,52,8)},s.prototype.readDoubleBE=function(e,t){return e>>>=0,t||v(e,8,this.length),i.read(this,e,!1,52,8)},s.prototype.writeUIntLE=function(e,t,r,a){if(e*=1,t>>>=0,r>>>=0,!a){var i=Math.pow(2,8*r)-1;x(this,e,t,r,i,0)}var n=1,o=0;for(this[t]=255&e;++o<r&&(n*=256);)this[t+o]=e/n&255;return t+r},s.prototype.writeUIntBE=function(e,t,r,a){if(e*=1,t>>>=0,r>>>=0,!a){var i=Math.pow(2,8*r)-1;x(this,e,t,r,i,0)}var n=r-1,o=1;for(this[t+n]=255&e;--n>=0&&(o*=256);)this[t+n]=e/o&255;return t+r},s.prototype.writeUInt8=function(e,t,r){return e*=1,t>>>=0,r||x(this,e,t,1,255,0),this[t]=255&e,t+1},s.prototype.writeUInt16LE=function(e,t,r){return e*=1,t>>>=0,r||x(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},s.prototype.writeUInt16BE=function(e,t,r){return e*=1,t>>>=0,r||x(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},s.prototype.writeUInt32LE=function(e,t,r){return e*=1,t>>>=0,r||x(this,e,t,4,0xffffffff,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},s.prototype.writeUInt32BE=function(e,t,r){return e*=1,t>>>=0,r||x(this,e,t,4,0xffffffff,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},s.prototype.writeIntLE=function(e,t,r,a){if(e*=1,t>>>=0,!a){var i=Math.pow(2,8*r-1);x(this,e,t,r,i-1,-i)}var n=0,o=1,s=0;for(this[t]=255&e;++n<r&&(o*=256);)e<0&&0===s&&0!==this[t+n-1]&&(s=1),this[t+n]=(e/o|0)-s&255;return t+r},s.prototype.writeIntBE=function(e,t,r,a){if(e*=1,t>>>=0,!a){var i=Math.pow(2,8*r-1);x(this,e,t,r,i-1,-i)}var n=r-1,o=1,s=0;for(this[t+n]=255&e;--n>=0&&(o*=256);)e<0&&0===s&&0!==this[t+n+1]&&(s=1),this[t+n]=(e/o|0)-s&255;return t+r},s.prototype.writeInt8=function(e,t,r){return e*=1,t>>>=0,r||x(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},s.prototype.writeInt16LE=function(e,t,r){return e*=1,t>>>=0,r||x(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},s.prototype.writeInt16BE=function(e,t,r){return e*=1,t>>>=0,r||x(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},s.prototype.writeInt32LE=function(e,t,r){return e*=1,t>>>=0,r||x(this,e,t,4,0x7fffffff,-0x80000000),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},s.prototype.writeInt32BE=function(e,t,r){return e*=1,t>>>=0,r||x(this,e,t,4,0x7fffffff,-0x80000000),e<0&&(e=0xffffffff+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},s.prototype.writeFloatLE=function(e,t,r){return E(this,e,t,!0,r)},s.prototype.writeFloatBE=function(e,t,r){return E(this,e,t,!1,r)},s.prototype.writeDoubleLE=function(e,t,r){return B(this,e,t,!0,r)},s.prototype.writeDoubleBE=function(e,t,r){return B(this,e,t,!1,r)},s.prototype.copy=function(e,t,r,a){if(!s.isBuffer(e))throw TypeError("argument should be a Buffer");if(r||(r=0),a||0===a||(a=this.length),t>=e.length&&(t=e.length),t||(t=0),a>0&&a<r&&(a=r),a===r||0===e.length||0===this.length)return 0;if(t<0)throw RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw RangeError("Index out of range");if(a<0)throw RangeError("sourceEnd out of bounds");a>this.length&&(a=this.length),e.length-t<a-r&&(a=e.length-t+r);var i=a-r;if(this===e&&"function"==typeof Uint8Array.prototype.copyWithin)this.copyWithin(t,r,a);else if(this===e&&r<t&&t<a)for(var n=i-1;n>=0;--n)e[n+t]=this[n+r];else Uint8Array.prototype.set.call(e,this.subarray(r,a),t);return i},s.prototype.fill=function(e,t,r,a){if("string"==typeof e){if("string"==typeof t?(a=t,t=0,r=this.length):"string"==typeof r&&(a=r,r=this.length),void 0!==a&&"string"!=typeof a)throw TypeError("encoding must be a string");if("string"==typeof a&&!s.isEncoding(a))throw TypeError("Unknown encoding: "+a);if(1===e.length){var i,n=e.charCodeAt(0);("utf8"===a&&n<128||"latin1"===a)&&(e=n)}}else"number"==typeof e?e&=255:"boolean"==typeof e&&(e=Number(e));if(t<0||this.length<t||this.length<r)throw RangeError("Out of range index");if(r<=t)return this;if(t>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(i=t;i<r;++i)this[i]=e;else{var o=s.isBuffer(e)?e:s.from(e,a),c=o.length;
2if(0===c)throw TypeError('The value "'+e+'" is invalid for argument "value"');for(i=0;i<r-t;++i)this[i+t]=o[i%c]}return this};var O=/[^+/0-9A-Za-z-_]/g;function P(e,t){t=t||1/0;for(var r,a=e.length,i=null,n=[],o=0;o<a;++o){if((r=e.charCodeAt(o))>55295&&r<57344){if(!i){if(r>56319||o+1===a){(t-=3)>-1&&n.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&n.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(t-=3)>-1&&n.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;n.push(r)}else if(r<2048){if((t-=2)<0)break;n.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;n.push(r>>12|224,r>>6&63|128,63&r|128)}else if(r<1114112){if((t-=4)<0)break;n.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}else throw Error("Invalid code point")}return n}function A(e){for(var t=[],r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}function C(e){return a.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(O,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function U(e,t,r,a){for(var i=0;i<a&&!(i+r>=t.length)&&!(i>=e.length);++i)t[i+r]=e[i];return i}function T(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}var G=function(){for(var e="0123456789abcdef",t=Array(256),r=0;r<16;++r)for(var a=16*r,i=0;i<16;++i)t[a+i]=e[r]+e[i];return t}()},321:function(e,t){t.read=function(e,t,r,a,i){var n,o,s=8*i-a-1,c=(1<<s)-1,u=c>>1,f=-7,l=r?i-1:0,d=r?-1:1,p=e[t+l];for(l+=d,n=p&(1<<-f)-1,p>>=-f,f+=s;f>0;n=256*n+e[t+l],l+=d,f-=8);for(o=n&(1<<-f)-1,n>>=-f,f+=a;f>0;o=256*o+e[t+l],l+=d,f-=8);if(0===n)n=1-u;else{if(n===c)return o?NaN:1/0*(p?-1:1);o+=Math.pow(2,a),n-=u}return(p?-1:1)*o*Math.pow(2,n-a)},t.write=function(e,t,r,a,i,n){var o,s,c,u=8*n-i-1,f=(1<<u)-1,l=f>>1,d=5960464477539062e-23*(23===i),p=a?0:n-1,m=a?1:-1,h=+(t<0||0===t&&1/t<0);for(isNaN(t=Math.abs(t))||t===1/0?(s=+!!isNaN(t),o=f):(o=Math.floor(Math.log(t)/Math.LN2),t*(c=Math.pow(2,-o))<1&&(o--,c*=2),o+l>=1?t+=d/c:t+=d*Math.pow(2,1-l),t*c>=2&&(o++,c/=2),o+l>=f?(s=0,o=f):o+l>=1?(s=(t*c-1)*Math.pow(2,i),o+=l):(s=t*Math.pow(2,l-1)*Math.pow(2,i),o=0));i>=8;e[r+p]=255&s,p+=m,s/=256,i-=8);for(o=o<<i|s,u+=i;u>0;e[r+p]=255&o,p+=m,o/=256,u-=8);e[r+p-m]|=128*h}}},i={};function n(e){var t=i[e];if(void 0!==t)return t.exports;var r=i[e]={exports:{}},o=!0;try{a[e](r,r.exports,n),o=!1}finally{o&&delete i[e]}return r.exports}n.ab="/ROOT/node_modules/next/dist/compiled/buffer/",t.exports=n(230)},629897,e=>{"use strict";e.s(["estimateUserOperationGas",()=>u]);var t=e.i(475999),r=e.i(497065),a=e.i(524760),i=e.i(217316),n=e.i(353166),o=e.i(834762),s=e.i(879790),c=e.i(128552);async function u(e,u){let{account:f=e.account,entryPointAddress:l,stateOverride:d}=u;if(!f&&!u.sender)throw new r.AccountNotFoundError;let p=f?(0,t.parseAccount)(f):void 0,m=(0,i.serializeStateOverride)(d),h=p?await (0,a.getAction)(e,c.prepareUserOperation,"prepareUserOperation")({...u,parameters:["authorization","factory","fees","nonce","paymaster","signature"]}):u;try{let t=[(0,s.formatUserOperationRequest)(h),l??p?.entryPoint?.address],r=await e.request({method:"eth_estimateUserOperationGas",params:m?[...t,m]:[...t]});return(0,o.formatUserOperationGas)(r)}catch(t){let e=u.calls;throw(0,n.getUserOperationError)(t,{...h,...e?{calls:e}:{}})}}},128552,e=>{"use strict";e.s(["prepareUserOperation",()=>p]);var t=e.i(475999),r=e.i(187838),a=e.i(670010),i=e.i(730623),n=e.i(497065),o=e.i(217266),s=e.i(749578),c=e.i(524760),u=e.i(470218),f=e.i(245794),l=e.i(629897);let d=["factory","fees","gas","paymaster","nonce","signature","authorization"];async function p(e,p){let m,{account:h=e.account,dataSuffix:y="string"==typeof e.dataSuffix?e.dataSuffix:e.dataSuffix?.value,parameters:g=d,stateOverride:b}=p;if(!h)throw new n.AccountNotFoundError;let v=(0,t.parseAccount)(h),x=p.paymaster??e?.paymaster,w="string"==typeof x?x:void 0,{getPaymasterStubData:E,getPaymasterData:B}=(()=>{if(!0===x)return{getPaymasterStubData:t=>(0,c.getAction)(e,f.getPaymasterStubData,"getPaymasterStubData")(t),getPaymasterData:t=>(0,c.getAction)(e,u.getPaymasterData,"getPaymasterData")(t)};if("object"==typeof x){let{getPaymasterStubData:e,getPaymasterData:t}=x;return{getPaymasterStubData:t&&e?e:t,getPaymasterData:t&&e?t:void 0}}return{getPaymasterStubData:void 0,getPaymasterData:void 0}})(),O=p.paymasterContext?p.paymasterContext:e?.paymasterContext,P={...p,paymaster:w,sender:v.address},[A,C,U,T,G]=await Promise.all([(async()=>p.calls?v.encodeCalls(p.calls.map(e=>e.abi?{data:(0,o.encodeFunctionData)(e),to:e.to,value:e.value}:e)):p.callData)(),(async()=>
2{if(!g.includes("factory"))return;if(p.initCode)return{initCode:p.initCode};if(p.factory&&p.factoryData)return{factory:p.factory,factoryData:p.factoryData};let{factory:e,factoryData:t}=await v.getFactoryArgs();return"0.6"===v.entryPoint.version?{initCode:e&&t?(0,s.concat)([e,t]):void 0}:{factory:e,factoryData:t}})(),(async()=>{if(g.includes("fees")){if("bigint"==typeof p.maxFeePerGas&&"bigint"==typeof p.maxPriorityFeePerGas)return P;if(e?.userOperation?.estimateFeesPerGas){let t=await e.userOperation.estimateFeesPerGas({account:v,bundlerClient:e,userOperation:P});return{...P,...t}}try{let t=e.client??e,r=await (0,c.getAction)(t,a.estimateFeesPerGas,"estimateFeesPerGas")({chain:t.chain,type:"eip1559"});return{maxFeePerGas:"bigint"==typeof p.maxFeePerGas?p.maxFeePerGas:BigInt(2n*r.maxFeePerGas),maxPriorityFeePerGas:"bigint"==typeof p.maxPriorityFeePerGas?p.maxPriorityFeePerGas:BigInt(2n*r.maxPriorityFeePerGas)}}catch{return}}})(),(async()=>{if(g.includes("nonce"))return"bigint"==typeof p.nonce?p.nonce:v.getNonce()})(),(async()=>{if(g.includes("authorization")){if("object"==typeof p.authorization)return p.authorization;if(v.authorization&&!await v.isDeployed())return{...await (0,r.prepareAuthorization)(v.client,v.authorization),r:"0xfffffffffffffffffffffffffffffff000000000000000000000000000000000",s:"0x7aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",yParity:1}}})()]);async function S(){return m||(e.chain?e.chain.id:m=await (0,c.getAction)(e,i.getChainId,"getChainId")({}))}void 0!==A&&(P.callData=y?(0,s.concat)([A,y]):A),void 0!==C&&(P={...P,...C}),void 0!==U&&(P={...P,...U}),void 0!==T&&(P.nonce=T),void 0!==G&&(P.authorization=G),g.includes("signature")&&(void 0!==p.signature?P.signature=p.signature:P.signature=await v.getStubSignature(P)),"0.6"!==v.entryPoint.version||P.initCode||(P.initCode="0x");let D=!1;if(g.includes("paymaster")&&E&&!w&&!p.paymasterAndData){let{isFinal:e=!1,sponsor:t,...r}=await E({chainId:await S(),entryPointAddress:v.entryPoint.address,context:O,...P});D=e,P={...P,...r}}if("0.6"!==v.entryPoint.version||P.paymasterAndData||(P.paymasterAndData="0x"),g.includes("gas")){if(v.userOperation?.estimateGas){let e=await v.userOperation.estimateGas(P);P={...P,...e}}if(void 0===P.callGasLimit||void 0===P.preVerificationGas||void 0===P.verificationGasLimit||P.paymaster&&void 0===P.paymasterPostOpGasLimit||P.paymaster&&void 0===P.paymasterVerificationGasLimit){let t=await (0,c.getAction)(e,l.estimateUserOperationGas,"estimateUserOperationGas")({account:v,callGasLimit:0n,preVerificationGas:0n,verificationGasLimit:0n,stateOverride:b,...P.paymaster?{paymasterPostOpGasLimit:0n,paymasterVerificationGasLimit:0n}:{},...P});P={...P,callGasLimit:P.callGasLimit??t.callGasLimit,preVerificationGas:P.preVerificationGas??t.preVerificationGas,verificationGasLimit:P.verificationGasLimit??t.verificationGasLimit,paymasterPostOpGasLimit:P.paymasterPostOpGasLimit??t.paymasterPostOpGasLimit,paymasterVerificationGasLimit:P.paymasterVerificationGasLimit??t.paymasterVerificationGasLimit}}}if(g.includes("paymaster")&&B&&!w&&!p.paymasterAndData&&!D){let e=await B({chainId:await S(),entryPointAddress:v.entryPoint.address,context:O,...P});P={...P,...e}}return delete P.calls,delete P.parameters,delete P.paymasterContext,"string"!=typeof P.paymaster&&delete P.paymaster,P}},252805,e=>{"use strict";var t=e.i(475999),r=e.i(497065),a=e.i(524760),i=e.i(353166),n=e.i(879790),o=e.i(128552);async function s(e,s){let{account:c=e.account,entryPointAddress:u}=s;if(!c&&!s.sender)throw new r.AccountNotFoundError;let f=c?(0,t.parseAccount)(c):void 0,l=f?await (0,a.getAction)(e,o.prepareUserOperation,"prepareUserOperation")(s):s,d=s.signature||await f?.signUserOperation?.(l),p=(0,n.formatUserOperationRequest)({...l,signature:d});try{return await e.request({method:"eth_sendUserOperation",params:[p,u??f?.entryPoint?.address]},{retryCount:0})}catch(t){let e=s.calls;throw(0,i.getUserOperationError)(t,{...l,...e?{calls:e}:{},signature:d})}}e.s(["sendUserOperation",0,s])},353166,396959,e=>{"use strict";var t=e.i(421910),r=e.i(611753),a=e.i(648206),i=t;class n extends i.BaseError{constructor({cause:e}){super("Smart Account is not deployed.",{cause:e,metaMessages:["This could arise when:","- No `factory`/`factoryData` or `initCode` properties are provided for Smart Account deployment.","- An incorrect `sender` address is provided."],name:"AccountNotDeployedError"})}}Object.defineProperty(n,"message",{enumerable:!0,configurable:!0,writable:!0,value:/aa20/});class o extends i.BaseError{constructor({cause:e,data:t,message:r}={}){const a=r?.replace("execution reverted: ","")?.replace("execution reverted","");super(`Execution reverted ${a?`with reason: ${a}`:"for an unknown reason"}.`,{cause:e,name:"ExecutionRevertedError"}),Object.defineProperty(this,"data",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.data=t}}Object.defineProperty(o,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32521}),Object.defineProperty(o,"message",{enumerable:!0,configurable:!0,writable:!0,value:/execution reverted/});class s extends i.BaseError{constructor({cause:e}){super("Failed to send funds to beneficiary.",{cause:e,name:"FailedToSendToBeneficiaryError"})}}Object.defineProperty(s,"message",{enumerable:!0,configurable:!0,writable:!0,value:/aa91/});class c extends i.BaseError{constructor({cause:e}){super("Gas value overflowed.",{cause:e,metaMessages:["This could arise when:","- one of the gas values exceeded 2**120 (uint120)"].filter(
vendor: 4,113 bytes, line 2
2Boolean),name:"GasValuesOverflowError"})}}Object.defineProperty(c,"message",{enumerable:!0,configurable:!0,writable:!0,value:/aa94/});class u extends i.BaseError{constructor({cause:e}){super("The `handleOps` function was called by the Bundler with a gas limit too low.",{cause:e,name:"HandleOpsOutOfGasError"})}}Object.defineProperty(u,"message",{enumerable:!0,configurable:!0,writable:!0,value:/aa95/});class f extends i.BaseError{constructor({cause:e,factory:t,factoryData:r,initCode:a}){super("Failed to simulate deployment for Smart Account.",{cause:e,metaMessages:["This could arise when:","- Invalid `factory`/`factoryData` or `initCode` properties are present","- Smart Account deployment execution ran out of gas (low `verificationGasLimit` value)","- Smart Account deployment execution reverted with an error\n",t&&`factory: ${t}`,r&&`factoryData: ${r}`,a&&`initCode: ${a}`].filter(Boolean),name:"InitCodeFailedError"})}}Object.defineProperty(f,"message",{enumerable:!0,configurable:!0,writable:!0,value:/aa13/});class l extends i.BaseError{constructor({cause:e,factory:t,factoryData:r,initCode:a}){super("Smart Account initialization implementation did not create an account.",{cause:e,metaMessages:["This could arise when:","- `factory`/`factoryData` or `initCode` properties are invalid","- Smart Account initialization implementation is incorrect\n",t&&`factory: ${t}`,r&&`factoryData: ${r}`,a&&`initCode: ${a}`].filter(Boolean),name:"InitCodeMustCreateSenderError"})}}Object.defineProperty(l,"message",{enumerable:!0,configurable:!0,writable:!0,value:/aa15/});class d extends i.BaseError{constructor({cause:e,factory:t,factoryData:r,initCode:a,sender:i}){super("Smart Account initialization implementation does not return the expected sender.",{cause:e,metaMessages:["This could arise when:","Smart Account initialization implementation does not return a sender address\n",t&&`factory: ${t}`,r&&`factoryData: ${r}`,a&&`initCode: ${a}`,i&&`sender: ${i}`].filter(Boolean),name:"InitCodeMustReturnSenderError"})}}Object.defineProperty(d,"message",{enumerable:!0,configurable:!0,writable:!0,value:/aa14/});class p extends i.BaseError{constructor({cause:e}){super("Smart Account does not have sufficient funds to execute the User Operation.",{cause:e,metaMessages:["This could arise when:","- the Smart Account does not have sufficient funds to cover the required prefund, or","- a Paymaster was not provided"].filter(Boolean),name:"InsufficientPrefundError"})}}Object.defineProperty(p,"message",{enumerable:!0,configurable:!0,writable:!0,value:/aa21/});class m extends i.BaseError{constructor({cause:e}){super("Bundler attempted to call an invalid function on the EntryPoint.",{cause:e,name:"InternalCallOnlyError"})}}Object.defineProperty(m,"message",{enumerable:!0,configurable:!0,writable:!0,value:/aa92/});class h extends i.BaseError{constructor({cause:e}){super("Bundler used an invalid aggregator for handling aggregated User Operations.",{cause:e,name:"InvalidAggregatorError"})}}Object.defineProperty(h,"message",{enumerable:!0,configurable:!0,writable:!0,value:/aa96/});class y extends i.BaseError{constructor({cause:e,nonce:t}){super("Invalid Smart Account nonce used for User Operation.",{cause:e,metaMessages:[t&&`nonce: ${t}`].filter(Boolean),name:"InvalidAccountNonceError"})}}Object.defineProperty(y,"message",{enumerable:!0,configurable:!0,writable:!0,value:/aa25/});class g extends i.BaseError{constructor({cause:e}){super("Bundler has not set a beneficiary address.",{cause:e,name:"InvalidBeneficiaryError"})}}Object.defineProperty(g,"message",{enumerable:!0,configurable:!0,writable:!0,value:/aa90/});class b extends i.BaseError{constructor({cause:e}){super("Invalid fields set on User Operation.",{cause:e,name:"InvalidFieldsError"})}}Object.defineProperty(b,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32602});class v extends i.BaseError{constructor({cause:e,paymasterAndData:t}){super("Paymaster properties provided are invalid.",{cause:e,metaMessages:["This could arise when:","- the `paymasterAndData` property is of an incorrect length\n",t&&`paymasterAndData: ${t}
2`].filter(Boolean),name:"InvalidPaymasterAndDataError"})}}Object.defineProperty(v,"message",{enumerable:!0,configurable:!0,writable:!0,value:/aa93/});class x extends i.BaseError{constructor({cause:e}){super("Paymaster deposit for the User Operation is too low.",{cause:e,metaMessages:["This could arise when:","- the Paymaster has deposited less than the expected amount via the `deposit` function"].filter(Boolean),name:"PaymasterDepositTooLowError"})}}Object.defineProperty(x,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32508}),Object.defineProperty(x,"message",{enumerable:!0,configurable:!0,writable:!0,value:/aa31/});class w extends i.BaseError{constructor({cause:e}){super("The `validatePaymasterUserOp` function on the Paymaster reverted.",{cause:e,name:"PaymasterFunctionRevertedError"})}}Object.defineProperty(w,"message",{enumerable:!0,configurable:!0,writable:!0,value:/aa33/});class E extends i.BaseError{constructor({cause:e}){super("The Paymaster contract has not been deployed.",{cause:e,name:"PaymasterNotDeployedError"})}}Object.defineProperty(E,"message",{enumerable:!0,configurable:!0,writable:!0,value:/aa30/});class B extends i.BaseError{constructor({cause:e}){super("UserOperation rejected because paymaster (or signature aggregator) is throttled/banned.",{cause:e,name:"PaymasterRateLimitError"})}}Object.defineProperty(B,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32504});class O extends i.BaseError{constructor({cause:e}){super("UserOperation rejected because paymaster (or signature aggregator) stake or unstake-delay is too low.",{cause:e,name:"PaymasterStakeTooLowError"})}}Object.defineProperty(O,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32505});class P extends i.BaseError{constructor({cause:e}){super("Paymaster `postOp` function reverted.",{cause:e,name:"PaymasterPostOpFunctionRevertedError"})}}Object.defineProperty(P,"message",{enumerable:!0,configurable:!0,writable:!0,value:/aa50/});class A extends i.BaseError{constructor({cause:e,factory:t,factoryData:r,initCode:a}){super("Smart Account has already been deployed.",{cause:e,metaMessages:["Remove the following properties and try again:",t&&"`factory`",r&&"`factoryData`",a&&"`initCode`"].filter(Boolean),name:"SenderAlreadyConstructedError"})}}Object.defineProperty(A,"message",{enumerable:!0,configurable:!0,writable:!0,value:/aa10/});class C extends i.BaseError{constructor({cause:e}){super("UserOperation rejected because account signature check failed (or paymaster signature, if the paymaster uses its data as signature).",{cause:e,name:"SignatureCheckFailedError"})}}Object.defineProperty(C,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32507});class U extends i.BaseError{constructor({cause:e}){super("The `validateUserOp` function on the Smart Account reverted.",{cause:e,name:"SmartAccountFunctionRevertedError"})}}Object.defineProperty(U,"message",{enumerable:!0,configurable:!0,writable:!0,value:/aa23/});class T extends i.BaseError{constructor({cause:e}){super("UserOperation rejected because account specified unsupported signature aggregator.",{cause:e,name:"UnsupportedSignatureAggregatorError"})}}Object.defineProperty(T,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32506});class G extends i.BaseError{constructor({cause:e}){super("User Operation expired.",{cause:e,metaMessages:["This could arise when:","- the `validAfter` or `validUntil` values returned from `validateUserOp` on the Smart Account are not satisfied"].filter(Boolean),name:"UserOperationExpiredError"})}}Object.defineProperty(G,"message",{enumerable:!0,configurable:!0,writable:!0,value:/aa22/});class S extends i.BaseError{constructor({cause:e}){super("Paymaster for User Operation expired.",{cause:e,metaMessages:["This could arise when:","- the `validAfter` or `validUntil` values returned from `validatePaymasterUserOp` on the Paymaster are not satisfied"].filter(Boolean),name:"UserOperationPaymasterExpiredError"})}}Object.defineProperty(S,"message",{enumerable:!0,configurable:!0,writable:!0,value:/aa32/});class D extends i.BaseError{constructor({cause:e}
2){super("Signature provided for the User Operation is invalid.",{cause:e,metaMessages:["This could arise when:","- the `signature` for the User Operation is incorrectly computed, and unable to be verified by the Smart Account"].filter(Boolean),name:"UserOperationSignatureError"})}}Object.defineProperty(D,"message",{enumerable:!0,configurable:!0,writable:!0,value:/aa24/});class L extends i.BaseError{constructor({cause:e}){super("Signature provided for the User Operation is invalid.",{cause:e,metaMessages:["This could arise when:","- the `signature` for the User Operation is incorrectly computed, and unable to be verified by the Paymaster"].filter(Boolean),name:"UserOperationPaymasterSignatureError"})}}Object.defineProperty(L,"message",{enumerable:!0,configurable:!0,writable:!0,value:/aa34/});class F extends i.BaseError{constructor({cause:e}){super("User Operation rejected by EntryPoint's `simulateValidation` during account creation or validation.",{cause:e,name:"UserOperationRejectedByEntryPointError"})}}Object.defineProperty(F,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32500});class k extends i.BaseError{constructor({cause:e}){super("User Operation rejected by Paymaster's `validatePaymasterUserOp`.",{cause:e,name:"UserOperationRejectedByPaymasterError"})}}Object.defineProperty(k,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32501});class I extends i.BaseError{constructor({cause:e}){super("User Operation rejected with op code validation error.",{cause:e,name:"UserOperationRejectedByOpCodeError"})}}Object.defineProperty(I,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32502});class j extends i.BaseError{constructor({cause:e}){super("UserOperation out of time-range: either wallet or paymaster returned a time-range, and it is already expired (or will expire soon).",{cause:e,name:"UserOperationOutOfTimeRangeError"})}}Object.defineProperty(j,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32503});class R extends i.BaseError{constructor({cause:e}){super(`An error occurred while executing user operation: ${e?.shortMessage}`,{cause:e,name:"UnknownBundlerError"})}}class M extends i.BaseError{constructor({cause:e}){super("User Operation verification gas limit exceeded.",{cause:e,metaMessages:["This could arise when:","- the gas used for verification exceeded the `verificationGasLimit`"].filter(Boolean),name:"VerificationGasLimitExceededError"})}}Object.defineProperty(M,"message",{enumerable:!0,configurable:!0,writable:!0,value:/aa40/});class z extends i.BaseError{constructor({cause:e}){super("User Operation verification gas limit is too low.",{cause:e,metaMessages:["This could arise when:","- the `verificationGasLimit` is too low to verify the User Operation"].filter(Boolean),name:"VerificationGasLimitTooLowError"})}}Object.defineProperty(z,"message",{enumerable:!0,configurable:!0,writable:!0,value:/aa41/});var H=t,V=e.i(368813),N=e.i(668879);class $ extends H.BaseError{constructor(e,{callData:t,callGasLimit:r,docsPath:a,factory:i,factoryData:n,initCode:o,maxFeePerGas:s,maxPriorityFeePerGas:c,nonce:u,paymaster:f,paymasterAndData:l,paymasterData:d,paymasterPostOpGasLimit:p,paymasterVerificationGasLimit:m,preVerificationGas:h,sender:y,signature:g,verificationGasLimit:b}){const v=(0,V.prettyPrint)({callData:t,callGasLimit:r,factory:i,factoryData:n,initCode:o,maxFeePerGas:void 0!==s&&`${(0,N.formatGwei)(s)} gwei`,maxPriorityFeePerGas:void 0!==c&&`${(0,N.formatGwei)(c)} gwei`,nonce:u,paymaster:f,paymasterAndData:l,paymasterData:d,paymasterPostOpGasLimit:p,paymasterVerificationGasLimit:m,preVerificationGas:h,sender:y,signature:g,verificationGasLimit:b});super(e.shortMessage,{cause:e,docsPath:a,metaMessages:[...e.metaMessages?[...e.metaMessages," "]:[],"Request Arguments:",v].filter(
2Boolean),name:"UserOperationExecutionError"}),Object.defineProperty(this,"cause",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.cause=e}}class _ extends H.BaseError{constructor({hash:e}){super(`User Operation receipt with hash "${e}" could not be found. The User Operation may not have been processed yet.`,{name:"UserOperationReceiptNotFoundError"})}}class q extends H.BaseError{constructor({hash:e}){super(`User Operation with hash "${e}" could not be found.`,{name:"UserOperationNotFoundError"})}}class Y extends H.BaseError{constructor({hash:e}){super(`Timed out while waiting for User Operation with hash "${e}" to be confirmed.`,{name:"WaitForUserOperationReceiptTimeoutError"})}}e.s(["UserOperationExecutionError",0,$,"UserOperationNotFoundError",0,q,"UserOperationReceiptNotFoundError",0,_,"WaitForUserOperationReceiptTimeoutError",0,Y],396959);let W=[o,b,x,B,O,C,T,j,F,k,I];e.s(["getUserOperationError",0,function(e,{calls:i,docsPath:H,...V}){return new $((()=>{let H=function(e,t){let r=(e.details||"").toLowerCase();if(n.message.test(r))return new n({cause:e});if(s.message.test(r))return new s({cause:e});if(c.message.test(r))return new c({cause:e});if(u.message.test(r))return new u({cause:e});if(f.message.test(r))return new f({cause:e,factory:t.factory,factoryData:t.factoryData,initCode:t.initCode});if(l.message.test(r))return new l({cause:e,factory:t.factory,factoryData:t.factoryData,initCode:t.initCode});if(d.message.test(r))return new d({cause:e,factory:t.factory,factoryData:t.factoryData,initCode:t.initCode,sender:t.sender});if(p.message.test(r))return new p({cause:e});if(m.message.test(r))return new m({cause:e});if(y.message.test(r))return new y({cause:e,nonce:t.nonce});if(h.message.test(r))return new h({cause:e});if(g.message.test(r))return new g({cause:e});if(v.message.test(r))return new v({cause:e});if(x.message.test(r))return new x({cause:e});if(w.message.test(r))return new w({cause:e});if(E.message.test(r))return new E({cause:e});if(P.message.test(r))return new P({cause:e});if(U.message.test(r))return new U({cause:e});if(A.message.test(r))return new A({cause:e,factory:t.factory,factoryData:t.factoryData,initCode:t.initCode});if(G.message.test(r))return new G({cause:e});if(S.message.test(r))return new S({cause:e});if(L.message.test(r))return new L({cause:e});if(D.message.test(r))return new D({cause:e});if(M.message.test(r))return new M({cause:e});if(z.message.test(r))return new z({cause:e});let a=e.walk(e=>W.some(t=>t.code===e.code));if(a){if(a.code===o.code)return new o({cause:e,data:a.data,message:a.details});if(a.code===b.code)return new b({cause:e});
2if(a.code===x.code)return new x({cause:e});if(a.code===B.code)return new B({cause:e});if(a.code===O.code)return new O({cause:e});if(a.code===C.code)return new C({cause:e});if(a.code===T.code)return new T({cause:e});if(a.code===j.code)return new j({cause:e});if(a.code===F.code)return new F({cause:e});if(a.code===k.code)return new k({cause:e});if(a.code===I.code)return new I({cause:e})}return new R({cause:e})}(e,V);if(i&&H instanceof o){let e,n=(H.walk(r=>{if("string"==typeof r.data||"string"==typeof r.data?.revertData||!(r instanceof t.BaseError)&&"string"==typeof r.message){let t=(r.data?.revertData||r.data||r.message).match?.(/(0x[A-Za-z0-9]*)/);if(t)return e=t[1],!0}return!1}),e),o=i?.filter(e=>e.abi);if(n&&o.length>0)return function(e){let{calls:t,revertData:i}=e,{abi:n,functionName:o,args:s,to:c}=(()=>{let e=t?.filter(e=>!!e.abi);if(1===e.length)return e[0];let r=e.filter(e=>{try{return!!(0,a.decodeErrorResult)({abi:e.abi,data:i})}catch{return!1}});return 1===r.length?r[0]:{abi:[],functionName:e.reduce((e,t)=>`${e?`${e} | `:""}${t.functionName}`,""),args:void 0,to:void 0}})(),u="0x"===i?new r.ContractFunctionZeroDataError({functionName:o}):new r.ContractFunctionRevertedError({abi:n,data:i,functionName:o});return new r.ContractFunctionExecutionError(u,{abi:n,args:s,contractAddress:c,functionName:o})}({calls:o,revertData:n})}return H})(),{docsPath:H,...V})}],353166)},834762,e=>{"use strict";e.s(["formatUserOperationGas",0,function(e){let t={};return e.callGasLimit&&(t.callGasLimit=BigInt(e.callGasLimit)),e.preVerificationGas&&(t.preVerificationGas=BigInt(e.preVerificationGas)),e.verificationGasLimit&&(t.verificationGasLimit=BigInt(e.verificationGasLimit)),e.paymasterPostOpGasLimit&&(t.paymasterPostOpGasLimit=BigInt(e.paymasterPostOpGasLimit)),e.paymasterVerificationGasLimit&&(t.paymasterVerificationGasLimit=BigInt(e.paymasterVerificationGasLimit)),t}])},879790,470218,245794,e=>{"use strict";var t=e.i(470482),r=e.i(451371);function a(e){var a;let i={};return void 0!==e.callData&&(i.callData=e.callData),void 0!==e.callGasLimit&&(i.callGasLimit=(0,t.numberToHex)(e.callGasLimit)),void 0!==e.factory&&(i.factory=e.factory),void 0!==e.factoryData&&(i.factoryData=e.factoryData),void 0!==e.initCode&&(i.initCode=e.initCode),void 0!==e.maxFeePerGas&&(i.maxFeePerGas=(0,t.numberToHex)(e.maxFeePerGas)),void 0!==e.maxPriorityFeePerGas&&(i.maxPriorityFeePerGas=(0,t.numberToHex)(e.maxPriorityFeePerGas)),void 0!==e.nonce&&(i.nonce=(0,t.numberToHex)(e.nonce)),void 0!==e.paymaster&&(i.paymaster=e.paymaster),void 0!==e.paymasterAndData&&(i.paymasterAndData=e.paymasterAndData||"0x"),void 0!==e.paymasterData&&(i.paymasterData=e.paymasterData),void 0!==e.paymasterPostOpGasLimit&&(i.paymasterPostOpGasLimit=(0,t.numberToHex)(e.paymasterPostOpGasLimit)),void 0!==e.paymasterSignature&&(i.paymasterSignature=e.paymasterSignature),void 0!==e.paymasterVerificationGasLimit&&(i.paymasterVerificationGasLimit=(0,t.numberToHex)(e.paymasterVerificationGasLimit)),void 0!==e.preVerificationGas&&(i.preVerificationGas=(0,t.numberToHex)(e.preVerificationGas)),void 0!==e.sender&&(i.sender=e.sender),void 0!==e.signature&&(i.signature=e.signature),void 0!==e.verificationGasLimit&&(i.verificationGasLimit=(0,t.numberToHex)(e.verificationGasLimit)),void 0!==e.authorization&&(i.eip7702Auth={address:(a=e.authorization).address,chainId:(0,t.numberToHex)(a.chainId),nonce:(0,t.numberToHex)(a.nonce),r:a.r?(0,t.numberToHex)(BigInt(a.r),{size:32}):(0,r.pad)("0x",{size:32}),s:a.s?(0,t.numberToHex)(BigInt(a.s),{size:32}):(0,r.pad)("0x",{size:32}),yParity:a.yParity?(0,t.numberToHex)(a.yParity,{size:1}):(0,r.pad)("0x",{size:32})}),i}e.s(["formatUserOperationRequest",0,a],879790);var i=e.i(324076);async function n(e,r){let{chainId:n,entryPointAddress:o,context:s,...c}=r,u=a(c),{paymasterPostOpGasLimit:f,paymasterVerificationGasLimit:l,...d}=await e.request({method:"pm_getPaymasterData",params:[{...u,callGasLimit:u.callGasLimit??"0x0",verificationGasLimit:u.verificationGasLimit??"0x0",preVerificationGas:u.preVerificationGas??"0x0"},o,(0,t.numberToHex)(n),s]});return{...d,...f&&{paymasterPostOpGasLimit:(0,i.hexToBigInt)(f)},...l&&{paymasterVerificationGasLimit:(0,i.hexToBigInt)(l)}}}async function o(e,r){let{chainId:n,entryPointAddress:o,context:s,...c}=r,u=a(c),{paymasterPostOpGasLimit:f,paymasterVerificationGasLimit:l,...d}=await e.request({method:"pm_getPaymasterStubData",params:[{...u,callGasLimit:u.callGasLimit??"0x0",verificationGasLimit:u.verificationGasLimit??"0x0",preVerificationGas:u.preVerificationGas??"0x0"},o,(0,t.numberToHex)(n),s]});return{...d,...f&&{paymasterPostOpGasLimit:(0,i.hexToBigInt)(f)},...l&&{paymasterVerificationGasLimit:(0,i.hexToBigInt)(l)}}}e.s(["getPaymasterData",0,n],470218),e.s(["getPaymasterStubData",0,o],245794)},899425,338582,e=>{"use strict";var t=e.i(60499);let r=(0,t.defineChain)({id:42161,name:"Arbitrum One",nativeCurrency:{name:"Ether",symbol
2:"ETH",decimals:18},blockTime:250,rpcUrls:{default:{http:["https://arb1.arbitrum.io/rpc"]}},blockExplorers:{default:{name:"Arbiscan",url:"https://arbiscan.io",apiUrl:"https://api.arbiscan.io/api"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:7654707}}});e.s(["arbitrum",0,r],899425);let a=(0,t.defineChain)({id:43114,name:"Avalanche",blockTime:1700,nativeCurrency:{decimals:18,name:"Avalanche",symbol:"AVAX"},rpcUrls:{default:{http:["https://api.avax.network/ext/bc/C/rpc"]}},blockExplorers:{default:{name:"SnowTrace",url:"https://snowtrace.io",apiUrl:"https://api.snowtrace.io"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:0xb5b35e}}});e.s(["avalanche",0,a],338582)},364476,505102,173651,352261,323209,e=>{"use strict";let t={gasPriceOracle:{address:"0x420000000000000000000000000000000000000F"},l1Block:{address:"0x4200000000000000000000000000000000000015"},l2CrossDomainMessenger:{address:"0x4200000000000000000000000000000000000007"},l2Erc721Bridge:{address:"0x4200000000000000000000000000000000000014"},l2StandardBridge:{address:"0x4200000000000000000000000000000000000010"},l2ToL1MessagePasser:{address:"0x4200000000000000000000000000000000000016"}};e.s(["contracts",0,t],505102);var r=e.i(324076),a=e.i(998938),i=e.i(282690),n=e.i(487255);let o={block:(0,a.defineBlock)({format:e=>({transactions:e.transactions?.map(e=>{if("string"==typeof e)return e;let t=(0,i.formatTransaction)(e);return"0x7e"===t.typeHex&&(t.isSystemTx=e.isSystemTx,t.mint=e.mint?(0,r.hexToBigInt)(e.mint):void 0,t.sourceHash=e.sourceHash,t.type="deposit"),t}),stateRoot:e.stateRoot})}),transaction:(0,i.defineTransaction)({format(e){let t={};return"0x7e"===e.type&&(t.isSystemTx=e.isSystemTx,t.mint=e.mint?(0,r.hexToBigInt)(e.mint):void 0,t.sourceHash=e.sourceHash,t.type="deposit"),t}}),transactionReceipt:(0,n.defineTransactionReceipt)({format:e=>({l1GasPrice:e.l1GasPrice?(0,r.hexToBigInt)(e.l1GasPrice):null,l1GasUsed:e.l1GasUsed?(0,r.hexToBigInt)(e.l1GasUsed):null,l1Fee:e.l1Fee?(0,r.hexToBigInt)(e.l1Fee):null,l1FeeScalar:e.l1FeeScalar?Number(e.l1FeeScalar):null})})};e.s(["formatters",0,o],173651);var s=e.i(163246),c=e.i(770498),u=e.i(749578),f=e.i(470482),l=e.i(571891),d=e.i(294891);function p(e,t){var r;return"deposit"===(r=e).type||void 0!==r.sourceHash?function(e){!function(e){let{from:t,to:r}=e;if(t&&!(0,c.isAddress)(t))throw new s.InvalidAddressError({address:t});if(r&&!(0,c.isAddress)(r))throw new s.InvalidAddressError({address:r})}(e);let{sourceHash:t,data:r,from:a,gas:i,isSystemTx:n,mint:o,to:d,value:p}=e,m=[t,a,d??"0x",o?(0,f.toHex)(o):"0x",p?(0,f.toHex)(p):"0x",i?(0,f.toHex)(i):"0x",n?"0x1":"0x",r??"0x"];return(0,u.concatHex)(["0x7e",(0,l.toRlp)(m)])}(e):(0,d.serializeTransaction)(e,t)}let m={transaction:p};e.s(["serializeTransaction",0,p,"serializers",0,m],352261);let h={blockTime:2e3,contracts:t,formatters:o,serializers:m};e.s(["chainConfig",0,h],323209);var y=e.i(60499);let g=(0,y.defineChain)({...h,id:8453,name:"Base",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://mainnet.base.org"]}},blockExplorers:{default:{name:"Basescan",url:"https://basescan.org",apiUrl:"https://api.basescan.org/api"}},contracts:{...h.contracts,disputeGameFactory:{1:{address:"0x43edB88C4B80fDD2AdFF2412A7BebF9dF42cB40e"}},l2OutputOracle:{1:{address:"0x56315b90c40730925ec5485cf004d835058518A0"}},multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:5022},portal:{1:{address:"0x49048044D57e1C92A77f79988d21Fa8fAF74E97e",blockCreated:0x10ac19f}},l1StandardBridge:{1:{address:"0x3154Cf16ccdb4C6d922629664174b904d80F2C35",blockCreated:0x10ac19f}}},sourceId:1}),b=(0,y.defineChain)({...g,experimental_preconfirmationTime:200,rpcUrls:{default:{http:["https://mainnet-preconf.base.org"]}}});e.s(["base",0,g,"basePreconf",0,b],364476)},763842,e=>{"use strict";var t=e.i(323209),r=e.i(60499);let a=(0,r.defineChain)({...t.chainConfig,id:84532,network:"base-sepolia",name:"Base Sepolia",nativeCurrency:{name:"Sepolia Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://sepolia.base.org"]}},blockExplorers:{default:{name:"Basescan",url:"https://sepolia.basescan.org",apiUrl:"https://api-sepolia.basescan.org/api"}},contracts:{...t.chainConfig.contracts,disputeGameFactory:{0xaa36a7:{address:"0xd6E6dBf4F7EA0ac412fD8b65ED297e64BB7a06E1"}},l2OutputOracle:{0xaa36a7:{address:"0x84457ca9D0163FbC4bbfe4Dfbb20ba46e48DF254"}},portal:{0xaa36a7:{address:"0x49f53e41452c74589e85ca1677426ba426459e85",blockCreated:4446677}},l1StandardBridge:{0xaa36a7:{address:"0xfd0Bf71F60660E2f608ed56e1659C450eB113120",blockCreated:4446677}},multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:1059647}},testnet:!0,sourceId:0xaa36a7}),i=(0,r.defineChain)({...a,experimental_preconfirmationTime:200,rpcUrls:{default:{http:["https://sepolia-preconf.base.org"]}}});e.s(["baseSepolia",0,a,"baseSepoliaPreconf",0,i])},162387,e=>{"use strict";let t=(0,e.i(60499).defineChain)({id:56,name:"BNB Smart Chain",blockTime:750,nativeCurrency:{decimals:18,name:"BNB",symbol:"BNB"},rpcUrls:{default:{http:["https://56.rpc.thirdweb.com"]}},blockExplorers:{default:{name:"BscScan",url:"https://bscscan.com",apiUrl:"https://api.bscscan.com/api"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:0xf2f12c}}});e.s(["bsc",0,t])},775732,790688,e=>{"use strict";var t=e.i(60499);let r=(0,t.defineChain)({id:1,name:"Ethereum",nativeCurrency:{name:"Ether",symbol
2:"ETH",decimals:18},blockTime:12e3,rpcUrls:{default:{http:["https://eth.merkle.io"]}},blockExplorers:{default:{name:"Etherscan",url:"https://etherscan.io",apiUrl:"https://api.etherscan.io/api"}},contracts:{ensUniversalResolver:{address:"0xeeeeeeee14d718c2b47d9923deab1335e144eeee",blockCreated:0x16041f6},multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:0xdb04c1}}});e.s(["mainnet",0,r],775732);var a=e.i(323209);let i=(0,t.defineChain)({...a.chainConfig,id:10,name:"OP Mainnet",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://mainnet.optimism.io"]}},blockExplorers:{default:{name:"Optimism Explorer",url:"https://optimistic.etherscan.io",apiUrl:"https://api-optimistic.etherscan.io/api"}},contracts:{...a.chainConfig.contracts,disputeGameFactory:{1:{address:"0xe5965Ab5962eDc7477C8520243A95517CD252fA9"}},l2OutputOracle:{1:{address:"0xdfe97868233d1aa22e815a266982f2cf17685a27"}},multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:4286263},portal:{1:{address:"0xbEb5Fc579115071764c7423A4f12eDde41f106Ed"}},l1StandardBridge:{1:{address:"0x99C9fc46f92E8a1c0deC1b1747d010903E884bE1"}}},sourceId:1});e.s(["optimism",0,i],790688)},888775,e=>{"use strict";var t=e.i(323209);let r=(0,e.i(60499).defineChain)({...t.chainConfig,id:0xaa37dc,name:"OP Sepolia",nativeCurrency:{name:"Sepolia Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://sepolia.optimism.io"]}},blockExplorers:{default:{name:"Blockscout",url:"https://optimism-sepolia.blockscout.com",apiUrl:"https://optimism-sepolia.blockscout.com/api"}},contracts:{...t.chainConfig.contracts,disputeGameFactory:{0xaa36a7:{address:"0x05F9613aDB30026FFd634f38e5C4dFd30a197Fa1"}},l2OutputOracle:{0xaa36a7:{address:"0x90E9c4f8a994a250F6aEfd61CAFb4F2e895D458F"}},multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:1620204},portal:{0xaa36a7:{address:"0x16Fc5058F25648194471939df75CF27A2fdC48BC"}},l1StandardBridge:{0xaa36a7:{address:"0xFBb0621E0B23b5478B630BD55a5f21f67730B0F1"}}},testnet:!0,sourceId:0xaa36a7});e.s(["optimismSepolia",0,r])},666593,e=>{"use strict";let t=(0,e.i(60499).defineChain)({id:137,name:"Polygon",blockTime:2e3,nativeCurrency:{name:"POL",symbol:"POL",decimals:18},rpcUrls:{default:{http:["https://polygon.drpc.org"]}},blockExplorers:{default:{name:"PolygonScan",url:"https://polygonscan.com",apiUrl:"https://api.etherscan.io/v2/api"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:0x18938b0}}});e.s(["polygon",0,t])},398839,339877,911726,575536,e=>{"use strict";var t=e.i(323209);let r=(0,e.i(60499).defineChain)({...t.chainConfig,id:7777777,name:"Zora",nativeCurrency:{decimals:18,name:"Ether",symbol:"ETH"},rpcUrls:{default:{http:["https://rpc.zora.energy"],webSocket:["wss://rpc.zora.energy"]}},blockExplorers:{default:{name:"Explorer",url:"https://explorer.zora.energy",apiUrl:"https://explorer.zora.energy/api"}},contracts:{...t.chainConfig.contracts,disputeGameFactory:{1:{address:"0xB0F15106fa1e473Ddb39790f197275BC979Aa37e"}},l2OutputOracle:{1:{address:"0x9E6204F750cD866b299594e2aC9eA824E2e5f95c"}},multicall3:{address:"0xcA11bde05977b3631167028862bE2a173976CA11",blockCreated:5882},portal:{1:{address:"0x1a0ad011913A150f69f6A19DF447A0CfD9551054"}},l1StandardBridge:{1:{address:"0x3e2Ea9B92B7E48A52296fD261dc26fd995284631"}}},sourceId:1});e.s(["zora",0,r],398839),e.s(["entryPoint06Address",0,"0x5FF137D4b0FDCD49DcA30c7CF57E578a026d2789","entryPoint07Address",0,"0x0000000071727De22E5E9d8BAf0edAc6f37da032"],339877);var a=e.i(999818),i=e.i(82149),n=e.i(872130),o=e.i(749578);function s(e,t={}){let{forHash:r}=t,{authorization:a,factory:i,factoryData:n}=e;return r&&("0x7702"===i||"0x7702000000000000000000000000000000000000"===i)?a?(0,o.concat)([a.address,n??"0x"]):"0x7702000000000000000000000000000000000000":i?(0,o.concat)([i,n??"0x"]):"0x"}var c=e.i(451371),u=e.i(38859),f=e.i(470482);
2let l="0x22e325a297439656";function d(e,t={}){let{callGasLimit:r,callData:a,maxPriorityFeePerGas:i,maxFeePerGas:n,paymaster:p,paymasterData:m,paymasterPostOpGasLimit:h,paymasterSignature:y,paymasterVerificationGasLimit:g,sender:b,signature:v="0x",verificationGasLimit:x}=e,w=(0,o.concat)([(0,c.pad)((0,f.numberToHex)(x||0n),{size:16}),(0,c.pad)((0,f.numberToHex)(r||0n),{size:16})]),E=s(e,t),B=(0,o.concat)([(0,c.pad)((0,f.numberToHex)(i||0n),{size:16}),(0,c.pad)((0,f.numberToHex)(n||0n),{size:16})]),O=e.nonce??0n;return{accountGasLimits:w,callData:a,initCode:E,gasFees:B,nonce:O,paymasterAndData:p?(0,o.concat)([p,(0,c.pad)((0,f.numberToHex)(g||0n),{size:16}),(0,c.pad)((0,f.numberToHex)(h||0n),{size:16}),m||"0x",...y?t.forHash?[l]:[y,(0,c.pad)((0,f.numberToHex)((0,u.size)(y)),{size:2}),l]:[]]):"0x",preVerificationGas:e.preVerificationGas??0n,sender:b,signature:v}}let p={PackedUserOperation:[{type:"address",name:"sender"},{type:"uint256",name:"nonce"},{type:"bytes",name:"initCode"},{type:"bytes",name:"callData"},{type:"bytes32",name:"accountGasLimits"},{type:"uint256",name:"preVerificationGas"},{type:"bytes32",name:"gasFees"},{type:"bytes",name:"paymasterAndData"}]};e.s(["getUserOperationHash",0,function(e){let{chainId:t,entryPointAddress:r,entryPointVersion:o}=e,c=e.userOperation,{authorization:u,callData:f="0x",callGasLimit:l,maxFeePerGas:m,maxPriorityFeePerGas:h,nonce:y,paymasterAndData:g="0x",preVerificationGas:b,sender:v,verificationGasLimit:x}=c;if("0.8"===o||"0.9"===o)return(0,n.hashTypedData)(function(e){let{chainId:t,entryPointAddress:r,userOperation:a}=e;return{types:p,primaryType:"PackedUserOperation",domain:{name:"ERC4337",version:"1",chainId:t,verifyingContract:r},message:d(a,{forHash:!0})}}({chainId:t,entryPointAddress:r,userOperation:c}));let w=(()=>{if("0.6"===o){let e=s({authorization:u,factory:c.initCode?.slice(0,42),factoryData:c.initCode?.slice(42)},{forHash:!0});return(0,a.encodeAbiParameters)([{type:"address"},{type:"uint256"},{type:"bytes32"},{type:"bytes32"},{type:"uint256"},{type:"uint256"},{type:"uint256"},{type:"uint256"},{type:"uint256"},{type:"bytes32"}],[v,y,(0,i.keccak256)(e),(0,i.keccak256)(f),l,x,b,m,h,(0,i.keccak256)(g)])}if("0.7"===o){let e=d(c,{forHash:!0});return(0,a.encodeAbiParameters)([{type:"address"},{type:"uint256"},{type:"bytes32"},{type:"bytes32"},{type:"bytes32"},{type:"uint256"},{type:"bytes32"},{type:"bytes32"}],[e.sender,e.nonce,(0,i.keccak256)(e.initCode),(0,i.keccak256)(e.callData),e.accountGasLimits,e.preVerificationGas,e.gasFees,(0,i.keccak256)(e.paymasterAndData)])}throw Error(`entryPointVersion "${o}" not supported.`)})();return(0,i.keccak256)((0,a.encodeAbiParameters)([{type:"bytes32"},{type:"address"},{type:"uint256"}],[(0,i.keccak256)(w),r,BigInt(t)]))}],911726);var m=e.i(996371),h=e.i(26531),y=e.i(172632),g=e.i(524760),b=e.i(828017),v=e.i(771598);async function x(e){let{extend:t,nonceKeyManager:r=(0,b.createNonceManager)({source:{get:()=>Date.now(),set(){}}}),...a}=e,i=!1,n=await e.getAddress();return{...t,...a,address:n,async getFactoryArgs(){return"isDeployed"in this&&await this.isDeployed()?{factory:void 0,factoryData:void 0}:e.getFactoryArgs()},async getNonce(t){let a=t?.key??BigInt(await r.consume({address:n,chainId:e.client.chain.id,client:e.client}));return e.getNonce?await e.getNonce({...t,key:a}):await (0,y.readContract)(e.client,{abi:(0,m.parseAbi)(["function getNonce(address, uint192) pure returns (uint256)"]),address:e.entryPoint.address,functionName:"getNonce",args:[n,a]})},isDeployed:async()=>!!i||(i=!!await (0,g.getAction)(e.client,h.getCode,"getCode")({address:n})),...e.sign?{async sign(t){let[{factory:r,factoryData:a},i]=await Promise.all([this.getFactoryArgs(),e.sign(t)]);return r&&a?(0,v.serializeErc6492Signature)({address:r,data:a,signature:i}):i}}:{},async signMessage(t){let[{factory:r,factoryData:a},i]=await Promise.all([this.getFactoryArgs(),e.signMessage(t)]);return r&&a&&"0x7702"!==r?(0,v.serializeErc6492Signature)({address:r,data:a,signature:i}):i},async signTypedData(t){let[{factory:r,factoryData:a},i]=await Promise.all([this.getFactoryArgs(),e.signTypedData(t)]);return r&&a&&"0x7702"!==r?(0,v.serializeErc6492Signature)({address:r,data:a,signature:i}):i},type:"smart"}}e.s(["toSmartAccount",0,x],575536)}]); 3 4//# debugId=b40ef3e1-39f3-c949-8caa-454d0f479cbc
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.