1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3],{165:(t,e)=>{"use strict";e.byteLength=function(t){var e=u(t),n=e[0],r=e[1];return(n+r)*3/4-r},e.toByteArray=function(t){var e,n,o=u(t),a=o[0],s=o[1],c=new i((a+s)*3/4-s),l=0,f=s>0?a-4:a;for(n=0;n<f;n+=4)e=r[t.charCodeAt(n)]<<18|r[t.charCodeAt(n+1)]<<12|r[t.charCodeAt(n+2)]<<6|r[t.charCodeAt(n+3)],c[l++]=e>>16&255,c[l++]=e>>8&255,c[l++]=255&e;return 2===s&&(e=r[t.charCodeAt(n)]<<2|r[t.charCodeAt(n+1)]>>4,c[l++]=255&e),1===s&&(e=r[t.charCodeAt(n)]<<10|r[t.charCodeAt(n+1)]<<4|r[t.charCodeAt(n+2)]>>2,c[l++]=e>>8&255,c[l++]=255&e),c},e.fromByteArray=function(t){for(var e,r=t.length,i=r%3,o=[],a=0,s=r-i;a<s;a+=16383)o.push(function(t,e,r){for(var i,o=[],a=e;a<r;a+=3)o.push(n[(i=(t[a]<<16&0xff0000)+(t[a+1]<<8&65280)+(255&t[a+2]))>>18&63]+n[i>>12&63]+n[i>>6&63]+n[63&i]);return o.join("")}(t,a,a+16383>s?s:a+16383));return 1===i?o.push(n[(e=t[r-1])>>2]+n[e<<4&63]+"=="):2===i&&o.push(n[(e=(t[r-2]<<8)+t[r-1])>>10]+n[e>>4&63]+n[e<<2&63]+"="),o.join("")};for(var n=[],r=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,s=o.length;a<s;++a)n[a]=o[a],r[o.charCodeAt(a)]=a;function u(t){var e=t.length;if(e%4>0)throw Error("Invalid string. Length must be a multiple of 4");var n=t.indexOf("=");-1===n&&(n=e);var r=n===e?0:4-n%4;return[n,r]}r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63},9029:(t,e,n)=>{"use strict";let r=n(165),i=n(66900),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"');let e=new Uint8Array(t);return Object.setPrototypeOf(e,s.prototype),e}function s(t,e,n){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 u(t,e,n)}function u(t,e,n){if("string"==typeof t)return function(t,e){if(("string"!=typeof e||""===e)&&(e="utf8"),!s.isEncoding(e))throw TypeError("Unknown encoding: "+e);let n=0|p(t,e),r=a(n),i=r.write(t,e);return i!==n&&(r=r.slice(0,i)),r}(t,e);if(ArrayBuffer.isView(t))return function(t){if(N(t,Uint8Array)){let e=new Uint8Array(t);return d(e.buffer,e.byteOffset,e.byteLength)}return f(t)}(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(N(t,ArrayBuffer)||t&&N(t.buffer,ArrayBuffer)||"undefined"!=typeof SharedArrayBuffer&&(N(t,SharedArrayBuffer)||t&&N(t.buffer,SharedArrayBuffer)))return d(t,e,n);if("number"==typeof t)throw TypeError('The "value" argument must not be of type number. Received type number');let r=t.valueOf&&t.valueOf();if(null!=r&&r!==t)return s.from(r,e,n);let i=function(t){var e;if(s.isBuffer(t)){let e=0|h(t.length),n=a(e);return 0===n.length||t.copy(n,0,0,e),n}return void 0!==t.length?"number"!=typeof t.length||(e=t.length)!=e?a(0):f(t):"Buffer"===t.type&&Array.isArray(t.data)?f(t.data):void 0}(t);if(i)return i;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof t[Symbol.toPrimitive])return s.from(t[Symbol.toPrimitive]("string"),e,n);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}function c(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 c(t),a(t<0?0:0|h(t))}function f(t){let e=t.length<0?0:0|h(t.length),n=a(e);for(let r=0;r<e;r+=1)n[r]=255&t[r];return n}function d(t,e,n){let r;if(e<0||t.byteLength<e)throw RangeError('"offset" is outside of buffer bounds');if(t.byteLength<e+(n||0))throw RangeError('"length" is outside of buffer bounds');return Object.setPrototypeOf(r=void 0===e&&void 0===n?new Uint8Array(t):void 0===n?new Uint8Array(t,e):new Uint8Array(t,e,n),s.prototype),r}function h(t){if(t>=0x7fffffff)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|t}function p(t,e){if(s.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||N(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);let n=t.length,r=arguments.length>2&&!0===arguments[2];if(!r&&0===n)return 0;let i=!1;for(;;)switch(e){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return U(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return D(t).length;default:if(i)return r?-1:U(t).length;e=(""+e).toLowerCase(),i=!0}}function g(t,e,n){let i=!1;if((void 0===e||e<0)&&(e=0),e>this.length||((void 0===n||n>this.length)&&(n=this.length),n<=0||(n>>>=0)<=(e>>>=0)))return"";for(t||(t="utf8");;)switch(t){case"hex":return function(t,e,n){let r=t.length;(!e||e<0)&&(e=0),(!n||n<0||n>r)&&(n=r);let i="";for(let r=e;r<n;++r)i+=F[t[r]];return i}(this,e,n);case"utf8":case"utf-8":return A(this,e,n);case"ascii":return function(t,e,n){let r="";n=Math.min(t.length,n);for(let i=e;i<n;++i)r+=String.fromCharCode(127&t[i]);return r}(this,e,n);case"latin1":case"binary":return function(t,e,n){let r="";n=Math.min(t.length,n);for(let i=e;i<n;++i)r+=String.fromCharCode(t[i]);return r}(this,e,n);case"base64":var o,a;return o=e,a=n,0===o&&a===this.length?r.fromByteArray(this):r.fromByteArray(this.slice(o,a));case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return function(t,e,n){let r=t.slice(e,n),i="";for(let t=0;t<r.length-1;t+=2)i+=String.fromCharCode(r[t]+256*r[t+1]);return i}(this,e,n);default:if(i)throw TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),i=!0}}function m(t,e,n){let r=t[e];t[e]=t[n],t[n]=r}function v(t,e,n,r,i){var o;if(0===t.length)return -1;if("string"==typeof n?(r=n,n=0):n>0x7fffffff?n=0x7fffffff:n<-0x80000000&&(n=-0x80000000),(o=n=+n)!=o&&(n=i?0:t.length-1),n<0&&(n=t.length+n),n>=t.length){if(i)return -1;n=t.length-1}else if(n<0){if(!i)return -1;n=0}if("string"==typeof e&&(e=s.from(e,r)),s.isBuffer(e))return 0===e.length?-1:y(t,e,n,r,i);if("number"==typeof e)return(e&=255,"function"==typeof Uint8Array.prototype.indexOf)?i?Uint8Array.prototype.indexOf.call(t,e,n):Uint8Array.prototype.lastIndexOf.call(t,e,n):y(t,[e],n,r,i);throw TypeError("val must be string, number or Buffer")}function y(t,e,n,r,i){let o,a=1,s=t.length,u=e.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(t.length<2||e.length<2)return -1;a=2,s/=2,u/=2,n/=2}function c(t,e){return 1===a?t[e]:t.readUInt16BE(e*a)}if(i){let r=-1;for(o=n;o<s;o++)if(c(t,o)===c(e,-1===r?0:o-r)){if(-1===r&&(r=o),o-r+1===u)return r*a}else -1!==r&&(o-=o-r),r=-1}else for(n+u>s&&(n=s-u),o=n;o>=0;o--){let n=!0;for(let r=0;r<u;r++)if(c(t,o+r)!==c(e,r)){n=!1;break}if(n)return o}return -1}function A(t,e,n){n=Math.min(t.length,n);let r=[],i=e;for(;i<n;){let e=t[i],o=null,a=e>239?4:e>223?3:e>191?2:1;if(i+a<=n){let n,r,s,u;switch(a){case 1:e<128&&(o=e);break;case 2:(192&(n=t[i+1]))==128&&(u=(31&e)<<6|63&n)>127&&(o=u);break;case 3:n=t[i+1],r=t[i+2],(192&n)==128&&(192&r)==128&&(u=(15&e)<<12|(63&n)<<6|63&r)>
vendor: 15,508 bytes, line 1
12047&&(u<55296||u>57343)&&(o=u);break;case 4:n=t[i+1],r=t[i+2],s=t[i+3],(192&n)==128&&(192&r)==128&&(192&s)==128&&(u=(15&e)<<18|(63&n)<<12|(63&r)<<6|63&s)>65535&&u<1114112&&(o=u)}}null===o?(o=65533,a=1):o>65535&&(o-=65536,r.push(o>>>10&1023|55296),o=56320|1023&o),r.push(o),i+=a}return function(t){let e=t.length;if(e<=4096)return String.fromCharCode.apply(String,t);let n="",r=0;for(;r<e;)n+=String.fromCharCode.apply(String,t.slice(r,r+=4096));return n}(r)}function w(t,e,n){if(t%1!=0||t<0)throw RangeError("offset is not uint");if(t+e>n)throw RangeError("Trying to access beyond buffer length")}function b(t,e,n,r,i,o){if(!s.isBuffer(t))throw TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<o)throw RangeError('"value" argument is out of bounds');if(n+r>t.length)throw RangeError("Index out of range")}function C(t,e,n,r,i){T(e,r,i,t,n,7);let o=Number(e&BigInt(0xffffffff));t[n++]=o,o>>=8,t[n++]=o,o>>=8,t[n++]=o,o>>=8,t[n++]=o;let a=Number(e>>BigInt(32)&BigInt(0xffffffff));return t[n++]=a,a>>=8,t[n++]=a,a>>=8,t[n++]=a,a>>=8,t[n++]=a,n}function E(t,e,n,r,i){T(e,r,i,t,n,7);let o=Number(e&BigInt(0xffffffff));t[n+7]=o,o>>=8,t[n+6]=o,o>>=8,t[n+5]=o,o>>=8,t[n+4]=o;let a=Number(e>>BigInt(32)&BigInt(0xffffffff));return t[n+3]=a,a>>=8,t[n+2]=a,a>>=8,t[n+1]=a,a>>=8,t[n]=a,n+8}function x(t,e,n,r,i,o){if(n+r>t.length||n<0)throw RangeError("Index out of range")}function S(t,e,n,r,o){return e=+e,n>>>=0,o||x(t,e,n,4,34028234663852886e22,-34028234663852886e22),i.write(t,e,n,r,23,4),n+4}function B(t,e,n,r,o){return e=+e,n>>>=0,o||x(t,e,n,8,17976931348623157e292,-17976931348623157e292),i.write(t,e,n,r,52,8),n+8}e.Buffer=s,e.SlowBuffer=function(t){return+t!=t&&(t=0),s.alloc(+t)},e.INSPECT_MAX_BYTES=50,e.kMaxLength=0x7fffffff,s.TYPED_ARRAY_SUPPORT=function(){try{let 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}}(),s.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(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(t,e,n){return u(t,e,n)},Object.setPrototypeOf(s.prototype,Uint8Array.prototype),Object.setPrototypeOf(s,Uint8Array),s.alloc=function(t,e,n){return(c(t),t<=0)?a(t):void 0!==e?"string"==typeof n?a(t).fill(e,n):a(t).fill(e):a(t)},s.allocUnsafe=function(t){return l(t)},s.allocUnsafeSlow=function(t){return l(t)},s.isBuffer=function(t){return null!=t&&!0===t._isBuffer&&t!==s.prototype},s.compare=function(t,e){if(N(t,Uint8Array)&&(t=s.from(t,t.offset,t.byteLength)),N(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(t)||!s.isBuffer(e))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(t===e)return 0;let n=t.length,r=e.length;for(let i=0,o=Math.min(n,r);i<o;++i)if(t[i]!==e[i]){n=t[i],r=e[i];break}return n<r?-1:r<n?1:0},s.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}},s.concat=function(t,e){let n;if(!Array.isArray(t))throw TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return s.alloc(0);if(void 0===e)for(n=0,e=0;n<t.length;++n)e+=t[n].length;let r=s.allocUnsafe(e),i=0;for(n=0;n<t.length;++n){let e=t[n];if(N(e,Uint8Array))i+e.length>r.length?(s.isBuffer(e)||(e=s.from(e)),e.copy(r,i)):Uint8Array.prototype.set.call(r,e,i);else if(s.isBuffer(e))e.copy(r,i);else throw TypeError('"list" argument must be an Array of Buffers');i+=e.length}return r},s.byteLength=p,s.prototype._isBuffer=!0,s.prototype.swap16=function(){let t=this.length;if(t%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(let e=0;e<t;e+=2)m(this,e,e+1);return this},s.prototype.swap32=function(){let t=this.length;if(t%4!=0)throw RangeError("Buffer size must be a multiple of 32-bits");for(let e=0;e<t;e+=4)m(this,e,e+3),m(this,e+1,e+2);return this},s.prototype.swap64=function(){let t=this.length;if(t%8!=0)throw RangeError("Buffer size must be a multiple of 64-bits");for(let e=0;e<t;e+=8)m(this,e,e+7),m(this,e+1,e+6),m(this,e+2,e+5),m(this,e+3,e+4);return this},s.prototype.toString=function(){let t=this.length;return 0===t?"":0==arguments.length?A(this,0,t):g.apply(this,arguments)},s.prototype.toLocaleString=s.prototype.toString,s.prototype.equals=function(t){if(!s.isBuffer(t))throw TypeError("Argument must be a Buffer");return this===t||0===s.compare(this,t)},s.prototype.inspect=function(){let t="",n=e.INSPECT_MAX_BYTES;return t=this.toString("hex",0,n).replace(/(.{2})/g,"$1 ").trim(),this.length>n&&(t+=" ... "),"<Buffer "+t+">"},o&&(s.prototype[o]=s.prototype.inspect),s.prototype.compare=function(t,e,n,r,i){if(N(t,Uint8Array)&&(t=s.from(t,t.offset,t.byteLength)),!s.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===n&&(n=t?t.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),e<0||n>t.length||r<0||i>this.length)throw RangeError("out of range index");if(r>=i&&e>=n)return 0;if(r>=i)return -1;if(e>=n)return 1;if(e>>>=0,n>>>=0,r>>>=0,i>>>=0,this===t)return 0;let o=i-r,a=n-e,u=Math.min(o,a),c=this.slice(r,i),l=t.slice(e,n);for(let t=0;t<u;++t)if(c[t]!==l[t]){o=c[t],a=l[t];break}return o<a?-1:a<o?1:0},s.prototype.includes=function(t,e,n){return -1!==this.indexOf(t,e,n)},s.prototype.indexOf=function(t,e,n){return v(this,t,e,n,!0)},s.prototype.lastIndexOf=function(t,e,n){return v(this,t,e,n,!1)},s.prototype.write=function(t,e,n,r){var i,o,a,s,u,c,l,f;if(void 0===e)r="utf8",n=this.length,e=0;else if(void 0===n&&"string"==typeof e)r=e,n=this.length,e=0;else if(isFinite(e))e>>>=0,isFinite(n)?(n>>>=0,void 0===r&&(r="utf8")):(r=n,n=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");let d=this.length-e;if((void 0===n||n>d)&&(n=d),t.length>0&&(n<0||e<0)||e>this.length)throw RangeError("Attempt to write outside buffer bounds");r||(r="utf8");let h=!1;for(;;)switch(r){case"hex":return function(t,e,n,r){let i;n=Number(n)||0;let o=t.length-n;r?(r=Number(r))>o&&(r=o):r=o;let a=e.length;for(r>a/2&&(r=a/2),i=0;i<r;++i){let r=parseInt(e.substr(2*i,2),16);if(r!=r)break;t[n+i]=r}return i}(this,t,e,n);case"utf8":case"utf-8":return i=e,o=n,L(U(t,this.length-i),this,i,o);case"ascii":case"latin1":case"binary":return a=e,s=n,L(function(t){let e=[];for(let n=0;n<t.length;++n)e.push(255&t.charCodeAt(n));return e}(t),this,a,s);case"base64":return u=e,c=n,L(D(t),this,u,c);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return l=e,f=n,L(function(t,e){let n,r;let i=[];for(let o=0;o<t.length&&!((e-=2)<0);++o)r=(n=t.charCodeAt(o))>>8,i.push(n%256),i.push(r);return i}(t,this.length-l),this,l,f);default:if(h)throw TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),h=!0}},s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},s.prototype.slice=function(t,e){let n=this.length;t=~~t,e=void 0===e?n:~~e,t<0?(t+=n)<0&&(t=0):t>n&&(t=n),e<0?(e+=n)<0&&(e=0):e>n&&(e=n),e<t&&(e=t);let r=this.subarray(t,e);return Object.setPrototypeOf(r,s.prototype),r},s.prototype.readUintLE=s.prototype.readUIntLE=function(t,e,n){t>>>=0,e>>>=0,n||w(t,e,this.length);let r=this[t],i=1,o=0;for(;++o<e&&(i*=256);)r+=this[t+o]*i;return r},s.prototype.readUintBE=s.prototype.readUIntBE=function(t,e,n){t>>>=0,e>>>=0,n||w(t,e,this.length);let r=this[t+--e],i=1;for(;e>0&&(i*=256);)r+=this[t+--e]*i;return r},s.prototype.readUint8=s.prototype.readUInt8=function(t,e){return t>>>=0,e||w(t,1,this.length),this[t]},s.prototype.readUint16LE=s.prototype.readUInt16LE=function(t,e){return t>>>=0,e||w(t,2,this.length),this[t]|this[t+1]<<8},s.prototype.readUint16BE=s.prototype.readUInt16BE=function(t,e){return t>>>=0,e||w(t,2,this.length),this[t]<<8|this[t+1]},s.prototype.readUint32LE=s.prototype.readUInt32LE=function(t,e){return t>>>=0,e||w(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+0x1000000*this[t+3]},s.prototype.readUint32BE=s.prototype.readUInt32BE=function(t,e){return t>>>=0,e||w(t,4,this.length),0x1000000*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},s.prototype.readBigUInt64LE=j(function(t){M(t>>>=0,"offset");let e=this[t],n=this[t+7];(void 0===e||void 0===n)&&O(t,this.length-8);let r=e+256*this[++t]+65536*this[++t]+0x1000000*this[++t],i=this[++t]+256*this[++t]+65536*this[++t]+0x1000000*n;return BigInt(r)+(BigInt(i)<<BigInt(32))}),s.prototype.readBigUInt64BE=j(function(t){M(t>>>=0,"offset");let e=this[t],n=this[t+7];(void 0===e||void 0===n)&&O(t,this.length-8);let r=0x1000000*e+65536*this[++t]+256*this[++t]+this[++t],i=0x1000000*this[++t]+65536*this[++t]+256*this[++t]+n;return(BigInt(r)<<BigInt(32))+BigInt(i)}),s.prototype.readIntLE=function(t,e,n){t>>>=0,e>>>=0,n||w(t,e,this.length);let r=this[t],i=1,o=0;for(;++o<e&&(i*=256);)r+=this[t+o]*i;return r>=(i*=128)&&(r-=Math.pow(2,8*e)),r},s.prototype.readIntBE=function(t,e,n){t>>>=0,e>>>=0,n||w(t,e,this.length);let r=e,i=1,o=this[t+--r];for(;r>0&&(i*=256);)o+=this[t+--r]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*e)),o},s.prototype.readInt8=function(t,e){return(t>>>=0,e||w(t,1,this.length),128&this[t])?-((255-this[t]+1)*1):this[t]},s.prototype.readInt16LE=function(t,e){t>>>=0,e||w(t,2,this.length);let n=this[t]|this[t+1]<<8;return 32768&n?0xffff0000|n:n},s.prototype.readInt16BE=function(t,e){t>>>=0,e||w(t,2,this.length);let n=this[t+1]|this[t]<<8;return 32768&n?0xffff0000|n:n},s.prototype.readInt32LE=function(t,e){return t>>>=0,e||w(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},s.prototype.readInt32BE=function(t,e){return t>>>=0,e||w(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},s.prototype.readBigInt64LE=j(function(t){M(t>>>=0,"offset");let e=this[t],n=this[t+7];return(void 0===e||void 0===n)&&O(t,this.length-8),(BigInt(this[t+4]+256*this[t+5]+65536*this[t+6]+(n<<24))<<BigInt(32))+BigInt(e+256*this[++t]+65536*this[++t]+0x1000000*this[++t])}),s.prototype.readBigInt64BE=j(function(t){M(t>>>=0,"offset");let e=this[t],n=this[t+7];return(void 0===e||void 0===n)&&O(t,this.length-8),(BigInt((e<<24)+65536*this[++t]+256*this[++t]+this[++t])<<BigInt(32))+BigInt(0x1000000*this[++t]+65536*this[++t]+256*this[++t]+n)}),s.prototype.readFloatLE=function(t,e){return t>>>=0,e||w(t,4,this.length),i.read(this,t,!0,23,4)},s.prototype.readFloatBE=function(t,e){return t>>>=0,e||w(t,4,this.length),i.read(this,t,!1,23,4)},s.prototype.readDoubleLE=function(t,e){return t>>>=0,e||w(t,8,this.length),i.read(this,t,!0,52,8)},s.prototype.readDoubleBE=function(t,e){return t>>>=0,e||w(t,8,this.length),i.read(this,t,!1,52,8)},s.prototype.writeUintLE=s.prototype.writeUIntLE=function(t,e,n,r){if(t=+t,e>>>=0,n>>>=0,!r){let r=Math.pow(2,8*n)-1;b(this,t,e,n,r,0)}let i=1,o=0;for(this[e]=255&t;++o<n&&(i*=256);)this[e+o]=t/i&255;return e+n},s.prototype.writeUintBE=s.prototype.writeUIntBE=function(t,e,n,r){if(t=+t,e>>>=0,n>>>=0,!r){let r=Math.pow(2,8*n)-1;b(this,t,e,n,r,0)}let i=n-1,o=1;for(this[e+i]=255&t;--i>=0&&(o*=256);)this[e+i]=t/o&255;return e+n},s.prototype.writeUint8=s.prototype.writeUInt8=function(t,e,n){return t=+t,e>>>=0,n||b(this,t,e,1,255,0),this[e]=255&t,e+1},s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(t,e,n){return t=+t,e>>>=0,n||b(this,t,e,2,65535,0),this[e]=255&t,this[e+1]=t>>>8,e+2},s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(t,e,n){return t=+t,e>>>=0,n||b(this,t,e,2,65535,0),this[e]=t>>>8,this[e+1]=255&t,e+2},s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(t,e,n){return t=+t,e>>>=0,n||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},s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(t,e,n){return t=+t,e>>>=0,n||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},s.prototype.writeBigUInt64LE=j(function(t,e=0){return C(this,t,e,BigInt(0),BigInt("0xffffffffffffffff"))}),s.prototype.writeBigUInt64BE=j(function(t,e=0){return E(this,t,e,BigInt(0),BigInt("0xffffffffffffffff"))}),s.prototype.writeIntLE=function(t,e,n,r){if(t=+t,e>>>=0,!r){let r=Math.pow(2,8*n-1);b(this,t,e,n,r-1,-r)}let i=0,o=1,a=0;for(this[e]=255&t;++i<n&&(o*=256);)t<0&&0===a&&0!==this[e+i-1]&&(a=1),this[e+i]=(t/o>>0)-a&255;return e+n},s.prototype.writeIntBE=function(t,e,n,r){if(t=+t,e>>>=0,!r){let r=Math.pow(2,8*n-1);b(this,t,e,n,r-1,-r)}let i=n-1,o=1,a=0;for(this[e+i]=255&t;--i>=0&&(o*=256);)t<0&&0===a&&0!==this[e+i+1]&&(a=1),this[e+i]=(t/o>>0)-a&255;return e+n},s.prototype.writeInt8=function(t,e,n){return t=+t,e>>>=0,n||b(this,t,e,1,127,-128),t<0&&(t=255+t+1),this[e]=255&t,e+1},s.prototype.writeInt16LE=function(t,e,n){return t=+t,e>>>=0,n||b(this,t,e,2,32767,-32768),this[e]=255&t,this[e+1]=t>>>8,e+2},s.prototype.writeInt16BE=function(t,e,n){return t=+t,e>>>=0,n||b(this,t,e,2,32767,-32768),this[e]=t>>>8,this[e+1]=255&t,e+2},s.prototype.writeInt32LE=function(t,e,n){return t=+t,e>>>=0,n||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},s.prototype.writeInt32BE=function(t,e,n){return t=+t,e>>>=0,n||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},s.prototype.writeBigInt64LE=j(function(t,e=0){return C(this,t,e,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),s.prototype.writeBigInt64BE=j(function(t,e=0){return E(this,t,e,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),s.prototype.writeFloatLE=function(t,e,n){return S(this,t,e,!0,n)},s.prototype.writeFloatBE=function(t,e,n){return S(this,t,e,!1,n)},s.prototype.writeDoubleLE=function(t,e,n){return B(this,t,e,!0,n)},s.prototype.writeDoubleBE=function(t,e,n){return B(this,t,e,!1,n)},s.prototype.copy=function(t,e,n,r){if(!s.isBuffer(t))throw TypeError("argument should be a Buffer");if(n||(n=0),r||0===r||(r=this.length),e>=t.length&&(e=t.length),e||(e=0),r>0&&r<n&&(r=n),r===n||0===t.length||0===this.length)return 0;if(e<0)throw RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw RangeError("Index out of range");if(r<0)throw RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),t.length-e<r-n&&(r=t.length-e+n);let i=r-n;return this===t&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(e,n,r):Uint8Array.prototype.set.call(t,this.subarray(n,r),e),i},s.prototype.fill=function(t,e,n,r){let i;if("string"==typeof t){if("string"==typeof e?(r=e,e=0,n=this.length):"string"==typeof n&&(r=n,n=this.length),void 0!==r&&"string"!=typeof r)throw TypeError("encoding must be a string");if("string"==typeof r&&!s.isEncoding(r))throw TypeError("Unknown encoding: "+r);if(1===t.length){let e=t.charCodeAt(0);("utf8"===r&&e<128||"latin1"===r)&&(t=e)}}else"number"==typeof t?t&=255:"boolean"==typeof t&&(t=Number(t));if(e<0||this.length<e||this.length<n)throw RangeError("Out of range index");if(n<=e)return this;if(e>>>=0,n=void 0===n?this.length:n>>>0,t||(t=0),"number"==typeof t)for(i=e;i<n;++i)this[i]=t;else{let o=s.isBuffer(t)?t:s.from(t,r),a=o.length;
1if(0===a)throw TypeError('The value "'+t+'" is invalid for argument "value"');for(i=0;i<n-e;++i)this[i+e]=o[i%a]}return this};let I={};function P(t,e,n){I[t]=class extends n{constructor(){super(),Object.defineProperty(this,"message",{value:e.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${t}]`,this.stack,delete this.name}get code(){return t}set code(t){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:t,writable:!0})}toString(){return`${this.name} [${t}]: ${this.message}`}}}function k(t){let e="",n=t.length,r="-"===t[0]?1:0;for(;n>=r+4;n-=3)e=`_${t.slice(n-3,n)}${e}`;return`${t.slice(0,n)}${e}`}function T(t,e,n,r,i,o){if(t>n||t<e){let r;let i="bigint"==typeof e?"n":"";throw r=o>3?0===e||e===BigInt(0)?`>= 0${i} and < 2${i} ** ${(o+1)*8}${i}`:`>= -(2${i} ** ${(o+1)*8-1}${i}) and < 2 ** ${(o+1)*8-1}${i}`:`>= ${e}${i} and <= ${n}${i}`,new I.ERR_OUT_OF_RANGE("value",r,t)}M(i,"offset"),(void 0===r[i]||void 0===r[i+o])&&O(i,r.length-(o+1))}function M(t,e){if("number"!=typeof t)throw new I.ERR_INVALID_ARG_TYPE(e,"number",t)}function O(t,e,n){if(Math.floor(t)!==t)throw M(t,n),new I.ERR_OUT_OF_RANGE(n||"offset","an integer",t);if(e<0)throw new I.ERR_BUFFER_OUT_OF_BOUNDS;throw new I.ERR_OUT_OF_RANGE(n||"offset",`>= ${n?1:0} and <= ${e}`,t)}P("ERR_BUFFER_OUT_OF_BOUNDS",function(t){return t?`${t} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),P("ERR_INVALID_ARG_TYPE",function(t,e){return`The "${t}" argument must be of type number. Received type ${typeof e}`},TypeError),P("ERR_OUT_OF_RANGE",function(t,e,n){let r=`The value of "${t}" is out of range.`,i=n;return Number.isInteger(n)&&Math.abs(n)>0x100000000?i=k(String(n)):"bigint"==typeof n&&(i=String(n),(n>BigInt(2)**BigInt(32)||n<-(BigInt(2)**BigInt(32)))&&(i=k(i)),i+="n"),r+=` It must be ${e}. Received ${i}`},RangeError);let R=/[^+/0-9A-Za-z-_]/g;function U(t,e){let n;e=e||1/0;let r=t.length,i=null,o=[];for(let a=0;a<r;++a){if((n=t.charCodeAt(a))>55295&&n<57344){if(!i){if(n>56319||a+1===r){(e-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(e-=3)>-1&&o.push(239,191,189),i=n;continue}n=(i-55296<<10|n-56320)+65536}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((e-=1)<0)break;o.push(n)}else if(n<2048){if((e-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((e-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else if(n<1114112){if((e-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}else throw Error("Invalid code point")}return o}function D(t){return r.toByteArray(function(t){if((t=(t=t.split("=")[0]).trim().replace(R,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function L(t,e,n,r){let i;for(i=0;i<r&&!(i+n>=e.length)&&!(i>=t.length);++i)e[i+n]=t[i];return i}function N(t,e){return t instanceof e||null!=t&&null!=t.constructor&&null!=t.constructor.name&&t.constructor.name===e.name}let F=function(){let t="0123456789abcdef",e=Array(256);for(let n=0;n<16;++n){let r=16*n;for(let i=0;i<16;++i)e[r+i]=t[n]+t[i]}return e}();function j(t){return"undefined"==typeof BigInt?V:t}function V(){throw Error("BigInt not supported")}},71144:t=>{function e(t,e,n){function r(){var c=Date.now()-s;c<e&&c>=0?i=setTimeout(r,e-c):(i=null,n||(u=t.apply(a,o),a=o=null))}null==e&&(e=100);var i,o,a,s,u,c=function(){a=this,o=arguments,s=Date.now();var c=n&&!i;return i||(i=setTimeout(r,e)),c&&(u=t.apply(a,o),a=o=null),u};return c.clear=function(){i&&(clearTimeout(i),i=null)},c.flush=function(){i&&(u=t.apply(a,o),a=o=null,clearTimeout(i),i=null)},c}e.debounce=e,t.exports=e},72595:(t,e,n)=>{"use strict";n.d(e,{o0:()=>h});var r=n(23088),i=function(t,e,n){if(n||2==arguments.length)for(var r,i=0,o=e.length;i<o;i++)!r&&i in e||(r||(r=Array.prototype.slice.call(e,0,i)),r[i]=e[i]);return t.concat(r||Array.prototype.slice.call(e))},o=function(t,e,n){this.name=t,this.version=e,this.os=n,this.type="browser"},a=function(t){this.version=t,this.type="node",this.name="node",this.os=r.platform},s=function(t,e,n,r){this.name=t,this.version=e,this.os=n,this.bot=r,this.type="bot-device"},u=function(){this.type="bot",this.bot=!0,this.name="bot",this.version=null,this.os=null},c=function(){this.type="react-native",this.name="react-native",this.version=null,this.os=null},l=/(nuhk|curl|Googlebot|Yammybot|Openbot|Slurp|MSNBot|Ask\ Jeeves\/Teoma|ia_archiver)/,f=[["aol",/AOLShield\/([0-9\._]+)/],["edge",/Edge\/([0-9\._]+)/],["edge-ios",/EdgiOS\/([0-9\._]+)/],["yandexbrowser",/YaBrowser\/([0-9\._]+)/],["kakaotalk",/KAKAOTALK\s([0-9\.]+)/],["samsung",/SamsungBrowser\/([0-9\.]+)/],["silk",/\bSilk\/([0-9._-]+)\b/],["miui",/MiuiBrowser\/([0-9\.]+)$/],["beaker",/BeakerBrowser\/([0-9\.]+)/],["edge-chromium",/EdgA?\/([0-9\.]+)/],["chromium-webview",/(?!Chrom.*OPR)wv\).*Chrom(?:e|ium)\/([0-9\.]+)(:?\s|$)/],["chrome",/(?!Chrom.*OPR)Chrom(?:e|ium)\/([0-9\.]+)(:?\s|$)/],["phantomjs",/PhantomJS\/([0-9\.]+)(:?\s|$)/],["crios",/CriOS\/([0-9\.]+)(:?\s|$)/],["firefox",/Firefox\/([0-9\.]+)(?:\s|$)/],["fxios",/FxiOS\/([0-9\.]+)/],["opera-mini",/Opera Mini.*Version\/([0-9\.]+)/],["opera",/Opera\/([0-9\.]+)(?:\s|$)/],["opera",/OPR\/([0-9\.]+)(:?\s|$)/],["pie",/^Microsoft Pocket Internet Explorer\/(\d+\.\d+)$/],["pie",/^Mozilla\/\d\.\d+\s\(compatible;\s(?:MSP?IE|MSInternet Explorer) (\d+\.\d+);.*Windows CE.*\)$/],["netfront",/^Mozilla\/\d\.\d+.*NetFront\/(\d.\d)/],["ie",/Trident\/7\.0.*rv\:([0-9\.]+).*\).*Gecko$/],["ie",/MSIE\s([0-9\.]+);.*Trident\/[4-7].0/],["ie",/MSIE\s(7\.0)/],["bb10",/BB10;
1\sTouch.*Version\/([0-9\.]+)/],["android",/Android\s([0-9\.]+)/],["ios",/Version\/([0-9\._]+).*Mobile.*Safari.*/],["safari",/Version\/([0-9\._]+).*Safari/],["facebook",/FB[AS]V\/([0-9\.]+)/],["instagram",/Instagram\s([0-9\.]+)/],["ios-webview",/AppleWebKit\/([0-9\.]+).*Mobile/],["ios-webview",/AppleWebKit\/([0-9\.]+).*Gecko\)$/],["curl",/^curl\/([0-9\.]+)$/],["searchbot",/alexa|bot|crawl(er|ing)|facebookexternalhit|feedburner|google web preview|nagios|postrank|pingdom|slurp|spider|yahoo!|yandex/]],d=[["iOS",/iP(hone|od|ad)/],["Android OS",/Android/],["BlackBerry OS",/BlackBerry|BB10/],["Windows Mobile",/IEMobile/],["Amazon OS",/Kindle/],["Windows 3.11",/Win16/],["Windows 95",/(Windows 95)|(Win95)|(Windows_95)/],["Windows 98",/(Windows 98)|(Win98)/],["Windows 2000",/(Windows NT 5.0)|(Windows 2000)/],["Windows XP",/(Windows NT 5.1)|(Windows XP)/],["Windows Server 2003",/(Windows NT 5.2)/],["Windows Vista",/(Windows NT 6.0)/],["Windows 7",/(Windows NT 6.1)/],["Windows 8",/(Windows NT 6.2)/],["Windows 8.1",/(Windows NT 6.3)/],["Windows 10",/(Windows NT 10.0)/],["Windows ME",/Windows ME/],["Windows CE",/Windows CE|WinCE|Microsoft Pocket Internet Explorer/],["Open BSD",/OpenBSD/],["Sun OS",/SunOS/],["Chrome OS",/CrOS/],["Linux",/(Linux)|(X11)/],["Mac OS",/(Mac_PowerPC)|(Macintosh)/],["QNX",/QNX/],["BeOS",/BeOS/],["OS/2",/OS\/2/]];function h(t){return t?p(t):"undefined"==typeof document&&"undefined"!=typeof navigator&&"ReactNative"===navigator.product?new c:"undefined"!=typeof navigator?p(navigator.userAgent):void 0!==r&&r.version?new a(r.version.slice(1)):null}function p(t){var e=""!==t&&f.reduce(function(e,n){var r=n[0],i=n[1];if(e)return e;var o=i.exec(t);return!!o&&[r,o]},!1);if(!e)return null;var n=e[0],r=e[1];if("searchbot"===n)return new u;var a=r[1]&&r[1].split(".").join("_").split("_").slice(0,3);a?a.length<3&&(a=i(i([],a,!0),function(t){for(var e=[],n=0;n<t;n++)e.push("0");return e}(3-a.length),!0)):a=[];var c=a.join("."),h=function(t){for(var e=0,n=d.length;e<n;e++){var r=d[e],i=r[0];if(r[1].exec(t))return i}return null}(t),p=l.exec(t);return p&&p[1]?new s(n,c,h,p[1]):new o(n,c,h)}},22222:t=>{"use strict";var e={single_source_shortest_paths:function(t,n,r){var i,o,a,s,u,c,l,f={},d={};d[n]=0;var h=e.PriorityQueue.make();for(h.push(n,0);!h.empty();)for(a in o=(i=h.pop()).value,s=i.cost,u=t[o]||{})u.hasOwnProperty(a)&&(c=s+u[a],l=d[a],(void 0===d[a]||l>c)&&(d[a]=c,h.push(a,c),f[a]=o));if(void 0!==r&&void 0===d[r])throw Error(["Could not find a path from ",n," to ",r,"."].join(""));return f},extract_shortest_path_from_predecessor_list:function(t,e){for(var n=[],r=e;r;)n.push(r),t[r],r=t[r];return n.reverse(),n},find_path:function(t,n,r){var i=e.single_source_shortest_paths(t,n,r);return e.extract_shortest_path_from_predecessor_list(i,r)},PriorityQueue:{make:function(t){var n,r=e.PriorityQueue,i={};for(n in t=t||{},r)r.hasOwnProperty(n)&&(i[n]=r[n]);return i.queue=[],i.sorter=t.sorter||r.default_sorter,i},default_sorter:function(t,e){return t.cost-e.cost},push:function(t,e){this.queue.push({value:t,cost:e}),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return 0===this.queue.length}}};t.exports=e},29852:t=>{"use strict";t.exports=function(t){for(var e=[],n=t.length,r=0;r<n;r++){var i=t.charCodeAt(r);if(i>=55296&&i<=56319&&n>r+1){var o=t.charCodeAt(r+1);o>=56320&&o<=57343&&(i=(i-55296)*1024+o-56320+65536,r+=1)}if(i<128){e.push(i);continue}if(i<2048){e.push(i>>6|192),e.push(63&i|128);continue}if(i<55296||i>=57344&&i<65536){e.push(i>>12|224),e.push(i>>6&63|128),e.push(63&i|128);continue}if(i>=65536&&i<=1114111){e.push(i>>18|240),e.push(i>>12&63|128),e.push(i>>6&63|128),e.push(63&i|128);continue}e.push(239,191,189)}return new Uint8Array(e).buffer}},48756:t=>{"use strict";var e=Object.prototype.hasOwnProperty,n="~";function r(){}function i(t,e,n){this.fn=t,this.context=e,this.once=n||!1}function o(t,e,r,o,a){if("function"!=typeof r)throw TypeError("The listener must be a function");var s=new i(r,o||t,a),u=n?n+e:e;return t._events[u]?t._events[u].fn?t._events[u]=[t._events[u],s]:t._events[u].push(s):(t._events[u]=s,t._eventsCount++),t}function a(t,e){0==--t._eventsCount?t._events=new r:delete t._events[e]}function s(){this._events=new r,this._eventsCount=0}Object.create&&(r.prototype=Object.create(null),new r().__proto__||(n=!1)),s.prototype.eventNames=function(){var t,r,i=[];if(0===this._eventsCount)return i;for(r in t=this._events)e.call(t,r)&&i.push(n?r.slice(1):r);return Object.getOwnPropertySymbols?i.concat(Object.getOwnPropertySymbols(t)):i},s.prototype.listeners=function(t){var e=n?n+t:t,r=this._events[e];if(!r)return[];if(r.fn)return[r.fn];for(var i=0,o=r.length,a=Array(o);i<o;i++)a[i]=r[i].fn;return a},s.prototype.listenerCount=function(t){var e=n?n+t:t,r=this._events[e];return r?r.fn?1:r.length:0},s.prototype.emit=function(t,e,r,i,o,a){var s=n?n+t:t;if(!this._events[s])return!1;var u,c,l=this._events[s],f=arguments.length;
1if(l.fn){switch(l.once&&this.removeListener(t,l.fn,void 0,!0),f){case 1:return l.fn.call(l.context),!0;case 2:return l.fn.call(l.context,e),!0;case 3:return l.fn.call(l.context,e,r),!0;case 4:return l.fn.call(l.context,e,r,i),!0;case 5:return l.fn.call(l.context,e,r,i,o),!0;case 6:return l.fn.call(l.context,e,r,i,o,a),!0}for(c=1,u=Array(f-1);c<f;c++)u[c-1]=arguments[c];l.fn.apply(l.context,u)}else{var d,h=l.length;for(c=0;c<h;c++)switch(l[c].once&&this.removeListener(t,l[c].fn,void 0,!0),f){case 1:l[c].fn.call(l[c].context);break;case 2:l[c].fn.call(l[c].context,e);break;case 3:l[c].fn.call(l[c].context,e,r);break;case 4:l[c].fn.call(l[c].context,e,r,i);break;default:if(!u)for(d=1,u=Array(f-1);d<f;d++)u[d-1]=arguments[d];l[c].fn.apply(l[c].context,u)}}return!0},s.prototype.on=function(t,e,n){return o(this,t,e,n,!1)},s.prototype.once=function(t,e,n){return o(this,t,e,n,!0)},s.prototype.removeListener=function(t,e,r,i){var o=n?n+t:t;if(!this._events[o])return this;if(!e)return a(this,o),this;var s=this._events[o];if(s.fn)s.fn!==e||i&&!s.once||r&&s.context!==r||a(this,o);else{for(var u=0,c=[],l=s.length;u<l;u++)(s[u].fn!==e||i&&!s[u].once||r&&s[u].context!==r)&&c.push(s[u]);c.length?this._events[o]=1===c.length?c[0]:c:a(this,o)}return this},s.prototype.removeAllListeners=function(t){var e;return t?(e=n?n+t:t,this._events[e]&&a(this,e)):(this._events=new r,this._eventsCount=0),this},s.prototype.off=s.prototype.removeListener,s.prototype.addListener=s.prototype.on,s.prefixed=n,s.EventEmitter=s,t.exports=s},73432:(t,e,n)=>{"use strict";n.d(e,{$:()=>r,V:()=>i});var r=function(){},i=function(){}},63052:(t,e,n)=>{"use strict";var r=n(11988),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function u(t){return r.isMemo(t)?a:s[t.$$typeof]||i}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=a;var c=Object.defineProperty,l=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,h=Object.getPrototypeOf,p=Object.prototype;t.exports=function t(e,n,r){if("string"!=typeof n){if(p){var i=h(n);i&&i!==p&&t(e,i,r)}var a=l(n);f&&(a=a.concat(f(n)));for(var s=u(e),g=u(n),m=0;m<a.length;++m){var v=a[m];if(!o[v]&&!(r&&r[v])&&!(g&&g[v])&&!(s&&s[v])){var y=d(n,v);try{c(e,v,y)}catch(t){}}}}return e}},66900:(t,e)=>{e.read=function(t,e,n,r,i){var o,a,s=8*i-r-1,u=(1<<s)-1,c=u>>1,l=-7,f=n?i-1:0,d=n?-1:1,h=t[e+f];for(f+=d,o=h&(1<<-l)-1,h>>=-l,l+=s;l>0;o=256*o+t[e+f],f+=d,l-=8);for(a=o&(1<<-l)-1,o>>=-l,l+=r;l>0;a=256*a+t[e+f],f+=d,l-=8);if(0===o)o=1-c;else{if(o===u)return a?NaN:1/0*(h?-1:1);a+=Math.pow(2,r),o-=c}return(h?-1:1)*a*Math.pow(2,o-r)},e.write=function(t,e,n,r,i,o){var a,s,u,c=8*o-i-1,l=(1<<c)-1,f=l>>1,d=23===i?5960464477539062e-23:0,h=r?0:o-1,p=r?1:-1,g=e<0||0===e&&1/e<0?1:0;for(isNaN(e=Math.abs(e))||e===1/0?(s=isNaN(e)?1:0,a=l):(a=Math.floor(Math.log(e)/Math.LN2),e*(u=Math.pow(2,-a))<1&&(a--,u*=2),a+f>=1?e+=d/u:e+=d*Math.pow(2,1-f),e*u>=2&&(a++,u/=2),a+f>=l?(s=0,a=l):a+f>=1?(s=(e*u-1)*Math.pow(2,i),a+=f):(s=e*Math.pow(2,f-1)*Math.pow(2,i),a=0));i>=8;t[n+h]=255&s,h+=p,s/=256,i-=8);for(a=a<<i|s,c+=i;c>0;t[n+h]=255&a,h+=p,a/=256,c-=8);t[n+h-p]|=128*g}},55399:(t,e,n)=>{let r=n(75153),i=n(44545),o=n(52003),a=n(16586);function s(t,e,n,o,a){let s=[].slice.call(arguments,1),u=s.length,c="function"==typeof s[u-1];if(!c&&!r())throw Error("Callback required as last argument");if(c){if(u<2)throw Error("Too few arguments provided");2===u?(a=n,n=e,e=o=void 0):3===u&&(e.getContext&&void 0===a?(a=o,o=void 0):(a=o,o=n,n=e,e=void 0))}else{if(u<1)throw Error("Too few arguments provided");return 1===u?(n=e,e=o=void 0):2!==u||e.getContext||(o=n,n=e,e=void 0),new Promise(function(r,a){try{let a=i.create(n,o);r(t(a,e,o))}catch(t){a(t)}})}try{let r=i.create(n,o);a(null,t(r,e,o))}catch(t){a(t)}}e.create=i.create,e.toCanvas=s.bind(null,o.render),e.toDataURL=s.bind(null,o.renderToDataURL),e.toString=s.bind(null,function(t,e,n){return a.render(t,n)})},75153:t=>{t.exports=function(){return"function"==typeof Promise&&Promise.prototype&&Promise.prototype.then}},60115:(t,e,n)=>{let r=n(95740).getSymbolSize;e.getRowColCoords=function(t){if(1===t)return[];let e=Math.floor(t/7)+2,n=r(t),i=145===n?26:2*Math.ceil((n-13)/(2*e-2)),o=[n-7];for(let t=1;t<e-1;t++)o[t]=o[t-1]-i;return o.push(6),o.reverse()},e.getPositions=function(t){let n=[],r=e.getRowColCoords(t),i=r.length;for(let t=0;t<i;t++)for(let e=0;e<i;e++)(0!==t||0!==e)&&(0!==t||e!==i-1)&&(t!==i-1||0!==e)&&n.push([r[t],r[e]]);return n}},69607:(t,e,n)=>{let r=n(85752),i=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function o(t){this.mode=r.ALPHANUMERIC,this.data=t}o.getBitsLength=function(t){return 11*Math.floor(t/2)+t%2*6},o.prototype.getLength=function(){return this.data.length},o.prototype.getBitsLength=function(){return o.getBitsLength(this.data.length)},o.prototype.write=function(t){let e;for(e=0;
1e+2<=this.data.length;e+=2){let n=45*i.indexOf(this.data[e]);n+=i.indexOf(this.data[e+1]),t.put(n,11)}this.data.length%2&&t.put(i.indexOf(this.data[e]),6)},t.exports=o},53811:t=>{function e(){this.buffer=[],this.length=0}e.prototype={get:function(t){let e=Math.floor(t/8);return(this.buffer[e]>>>7-t%8&1)==1},put:function(t,e){for(let n=0;n<e;n++)this.putBit((t>>>e-n-1&1)==1)},getLengthInBits:function(){return this.length},putBit:function(t){let e=Math.floor(this.length/8);this.buffer.length<=e&&this.buffer.push(0),t&&(this.buffer[e]|=128>>>this.length%8),this.length++}},t.exports=e},42640:t=>{function e(t){if(!t||t<1)throw Error("BitMatrix size must be defined and greater than 0");this.size=t,this.data=new Uint8Array(t*t),this.reservedBit=new Uint8Array(t*t)}e.prototype.set=function(t,e,n,r){let i=t*this.size+e;this.data[i]=n,r&&(this.reservedBit[i]=!0)},e.prototype.get=function(t,e){return this.data[t*this.size+e]},e.prototype.xor=function(t,e,n){this.data[t*this.size+e]^=n},e.prototype.isReserved=function(t,e){return this.reservedBit[t*this.size+e]},t.exports=e},16772:(t,e,n)=>{let r=n(29852),i=n(85752);function o(t){this.mode=i.BYTE,"string"==typeof t&&(t=r(t)),this.data=new Uint8Array(t)}o.getBitsLength=function(t){return 8*t},o.prototype.getLength=function(){return this.data.length},o.prototype.getBitsLength=function(){return o.getBitsLength(this.data.length)},o.prototype.write=function(t){for(let e=0,n=this.data.length;e<n;e++)t.put(this.data[e],8)},t.exports=o},45992:(t,e,n)=>{let r=n(41549),i=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],o=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430];e.getBlocksCount=function(t,e){switch(e){case r.L:return i[(t-1)*4+0];case r.M:return i[(t-1)*4+1];case r.Q:return i[(t-1)*4+2];case r.H:return i[(t-1)*4+3];default:return}},e.getTotalCodewordsCount=function(t,e){switch(e){case r.L:return o[(t-1)*4+0];case r.M:return o[(t-1)*4+1];case r.Q:return o[(t-1)*4+2];case r.H:return o[(t-1)*4+3];default:return}}},41549:(t,e)=>{e.L={bit:1},e.M={bit:0},e.Q={bit:3},e.H={bit:2},e.isValid=function(t){return t&&void 0!==t.bit&&t.bit>=0&&t.bit<4},e.from=function(t,n){if(e.isValid(t))return t;try{return function(t){if("string"!=typeof t)throw Error("Param is not a string");switch(t.toLowerCase()){case"l":case"low":return e.L;case"m":case"medium":return e.M;case"q":case"quartile":return e.Q;case"h":case"high":return e.H;default:throw Error("Unknown EC Level: "+t)}}(t)}catch(t){return n}}},61352:(t,e,n)=>{let r=n(95740).getSymbolSize;e.getPositions=function(t){let e=r(t);return[[0,0],[e-7,0],[0,e-7]]}},6331:(t,e,n)=>{let r=n(95740),i=r.getBCHDigit(1335);e.getEncodedBits=function(t,e){let n=t.bit<<3|e,o=n<<10;for(;r.getBCHDigit(o)-i>=0;)o^=1335<<r.getBCHDigit(o)-i;return(n<<10|o)^21522}},96347:(t,e)=>{let n=new Uint8Array(512),r=new Uint8Array(256);!function(){let t=1;for(let e=0;e<255;e++)n[e]=t,r[t]=e,256&(t<<=1)&&(t^=285);for(let t=255;t<512;t++)n[t]=n[t-255]}(),e.log=function(t){if(t<1)throw Error("log("+t+")");return r[t]},e.exp=function(t){return n[t]},e.mul=function(t,e){return 0===t||0===e?0:n[r[t]+r[e]]}},48141:(t,e,n)=>{let r=n(85752),i=n(95740);function o(t){this.mode=r.KANJI,this.data=t}o.getBitsLength=function(t){return 13*t},o.prototype.getLength=function(){return this.data.length},o.prototype.getBitsLength=function(){return o.getBitsLength(this.data.length)},o.prototype.write=function(t){let e;for(e=0;e<this.data.length;e++){let n=i.toSJIS(this.data[e]);if(n>=33088&&n<=40956)n-=33088;else if(n>=57408&&n<=60351)n-=49472;else throw Error("Invalid SJIS character: "+this.data[e]+"\nMake sure your charset is UTF-8");n=(n>>>8&255)*192+(255&n),t.put(n,13)}},t.exports=o},62556:(t,e)=>{e.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};let n={N1:3,N2:3,N3:40,N4:10};e.isValid=function(t){return null!=t&&""!==t&&!isNaN(t)&&t>=0&&t<=7},e.from=function(t){return e.isValid(t)?parseInt(t,10):void 0},e.getPenaltyN1=function(t){let e=t.size,r=0,i=0,o=0,a=null,s=null;for(let u=0;u<e;u++){i=o=0,a=s=null;for(let c=0;c<e;c++){let e=t.get(u,c);e===a?i++:(i>=5&&(r+=n.N1+(i-5)),a=e,i=1),(e=t.get(c,u))===s?o++:(o>=5&&(r+=n.N1+(o-5)),s=e,o=1)}i>=5&&(r+=n.N1+(i-5)),o>=5&&(r+=n.N1+(o-5))}return r},e.getPenaltyN2=function(t){let e=t.size,r=0;for(let n=0;n<e-1;n++)for(let i=0;i<e-1;i++){let e=t.get(n,i)+t.get(n,i+1)+t.get(n+1,i)+t.get(n+1,i+1);(4===e||0===e)&&r++}return r*n.N2},e.getPenaltyN3=function(t){let e=t.size,r=0,i=0,o=0;for(let n=0;n<e;n++){i=o=0;for(let a=0;a<e;a++)i=i<<1&2047|t.get(n,a),a>=10&&(1488===i||93===i)&&r++,o=o<<1&2047|t.get(a,n),a>=10&&(1488===o||93===o)&&r++}return r*n.N3},e.getPenaltyN4=function(t){let e=0,r=t.data.length;for(let n=0;n<r;n++)e+=t.data[n];return Math.abs(Math.ceil(100*e/r/5)-10)*n.N4},e.applyMask=function(t,n){let r=n.size;
vendor: 5,241 bytes, line 1
1for(let i=0;i<r;i++)for(let o=0;o<r;o++)n.isReserved(o,i)||n.xor(o,i,function(t,n,r){switch(t){case e.Patterns.PATTERN000:return(n+r)%2==0;case e.Patterns.PATTERN001:return n%2==0;case e.Patterns.PATTERN010:return r%3==0;case e.Patterns.PATTERN011:return(n+r)%3==0;case e.Patterns.PATTERN100:return(Math.floor(n/2)+Math.floor(r/3))%2==0;case e.Patterns.PATTERN101:return n*r%2+n*r%3==0;case e.Patterns.PATTERN110:return(n*r%2+n*r%3)%2==0;case e.Patterns.PATTERN111:return(n*r%3+(n+r)%2)%2==0;default:throw Error("bad maskPattern:"+t)}}(t,o,i))},e.getBestMask=function(t,n){let r=Object.keys(e.Patterns).length,i=0,o=1/0;for(let a=0;a<r;a++){n(a),e.applyMask(a,t);let r=e.getPenaltyN1(t)+e.getPenaltyN2(t)+e.getPenaltyN3(t)+e.getPenaltyN4(t);e.applyMask(a,t),r<o&&(o=r,i=a)}return i}},85752:(t,e,n)=>{let r=n(10116),i=n(95274);e.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},e.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},e.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},e.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},e.MIXED={bit:-1},e.getCharCountIndicator=function(t,e){if(!t.ccBits)throw Error("Invalid mode: "+t);if(!r.isValid(e))throw Error("Invalid version: "+e);return e>=1&&e<10?t.ccBits[0]:e<27?t.ccBits[1]:t.ccBits[2]},e.getBestModeForData=function(t){return i.testNumeric(t)?e.NUMERIC:i.testAlphanumeric(t)?e.ALPHANUMERIC:i.testKanji(t)?e.KANJI:e.BYTE},e.toString=function(t){if(t&&t.id)return t.id;throw Error("Invalid mode")},e.isValid=function(t){return t&&t.bit&&t.ccBits},e.from=function(t,n){if(e.isValid(t))return t;try{return function(t){if("string"!=typeof t)throw Error("Param is not a string");switch(t.toLowerCase()){case"numeric":return e.NUMERIC;case"alphanumeric":return e.ALPHANUMERIC;case"kanji":return e.KANJI;case"byte":return e.BYTE;default:throw Error("Unknown mode: "+t)}}(t)}catch(t){return n}}},58065:(t,e,n)=>{let r=n(85752);function i(t){this.mode=r.NUMERIC,this.data=t.toString()}i.getBitsLength=function(t){return 10*Math.floor(t/3)+(t%3?t%3*3+1:0)},i.prototype.getLength=function(){return this.data.length},i.prototype.getBitsLength=function(){return i.getBitsLength(this.data.length)},i.prototype.write=function(t){let e,n;for(e=0;e+3<=this.data.length;e+=3)n=parseInt(this.data.substr(e,3),10),t.put(n,10);let r=this.data.length-e;r>0&&(n=parseInt(this.data.substr(e),10),t.put(n,3*r+1))},t.exports=i},15565:(t,e,n)=>{let r=n(96347);e.mul=function(t,e){let n=new Uint8Array(t.length+e.length-1);for(let i=0;i<t.length;i++)for(let o=0;o<e.length;o++)n[i+o]^=r.mul(t[i],e[o]);return n},e.mod=function(t,e){let n=new Uint8Array(t);for(;n.length-e.length>=0;){let t=n[0];for(let i=0;i<e.length;i++)n[i]^=r.mul(e[i],t);let i=0;for(;i<n.length&&0===n[i];)i++;n=n.slice(i)}return n},e.generateECPolynomial=function(t){let n=new Uint8Array([1]);for(let i=0;i<t;i++)n=e.mul(n,new Uint8Array([1,r.exp(i)]));return n}},44545:(t,e,n)=>{let r=n(95740),i=n(41549),o=n(53811),a=n(42640),s=n(60115),u=n(61352),c=n(62556),l=n(45992),f=n(16876),d=n(22897),h=n(6331),p=n(85752),g=n(98513);function m(t,e,n){let r,i;let o=t.size,a=h.getEncodedBits(e,n);for(r=0;r<15;r++)i=(a>>r&1)==1,r<6?t.set(r,8,i,!0):r<8?t.set(r+1,8,i,!0):t.set(o-15+r,8,i,!0),r<8?t.set(8,o-r-1,i,!0):r<9?t.set(8,15-r-1+1,i,!0):t.set(8,15-r-1,i,!0);t.set(o-8,8,1,!0)}e.create=function(t,e){let n,h;if(void 0===t||""===t)throw Error("No input text");let v=i.M;return void 0!==e&&(v=i.from(e.errorCorrectionLevel,i.M),n=d.from(e.version),h=c.from(e.maskPattern),e.toSJISFunc&&r.setToSJISFunction(e.toSJISFunc)),function(t,e,n,i){let h;if(Array.isArray(t))h=g.fromArray(t);else if("string"==typeof t){let r=e;if(!r){let e=g.rawSplit(t);r=d.getBestVersionForData(e,n)}h=g.fromString(t,r||40)}else throw Error("Invalid data");let v=d.getBestVersionForData(h,n);if(!v)throw Error("The amount of data is too big to be stored in a QR Code");if(e){if(e<v)throw Error("\nThe chosen QR Code version cannot contain this amount of data.\nMinimum version required to store current data is: "+v+".\n")}else e=v;let y=function(t,e,n){let i=new o;n.forEach(function(e){i.put(e.mode.bit,4),i.put(e.getLength(),p.getCharCountIndicator(e.mode,t)),e.write(i)});let a=(r.getSymbolTotalCodewords(t)-l.getTotalCodewordsCount(t,e))*8;for(i.getLengthInBits()+4<=a&&i.put(0,4);i.getLengthInBits()%8!=0;)i.putBit(0);let s=(a-i.getLengthInBits())/8;for(let t=0;t<s;t++)i.put(t%2?17:236,8);return function(t,e,n){let i,o;let a=r.getSymbolTotalCodewords(e),s=a-l.getTotalCodewordsCount(e,n),u=l.getBlocksCount(e,n),c=a%u,d=u-c,h=Math.floor(a/u),p=Math.floor(s/u),g=p+1,m=h-p,v=new f(m),y=0,A=Array(u),w=Array(u),b=0,C=new Uint8Array(t.buffer);for(let t=0;t<u;t++){let e=t<d?p:g;A[t]=C.slice(y,y+e),w[t]=v.encode(A[t]),y+=e,b=Math.max(b,e)}let E=new Uint8Array(a),x=0;for(i=0;i<b;i++)for(o=0;o<u;o++)i<A[o].length&&(E[x++]=A[o][i]);for(i=0;i<m;i++)for(o=0;o<u;o++)E[x++]=w[o][i];return E}(i,t,e)}(e,n,h),A=new a(r.getSymbolSize(e));return function(t,e){let n=t.size,r=u.getPositions(e);for(let e=0;e<r.length;e++){let i=r[e][0],o=r[e][1];for(let e=-1;e<=7;e++)if(!(i+e<=-1)&&!(n<=i+e))for(let r=-1;r<=7;r++)o+r<=-1||n<=o+r||(e>=0&&e<=6&&(0===r||6===r)||r>=0&&r<=6&&(0===e||6===e)||e>=2&&e<=4&&r>=2&&r<=4?t.set(i+e,o+r,!0,!0):t.set(i+e,o+r,!1,!0))}}(A,e),function(t){let e=t.size;
1for(let n=8;n<e-8;n++){let e=n%2==0;t.set(n,6,e,!0),t.set(6,n,e,!0)}}(A),function(t,e){let n=s.getPositions(e);for(let e=0;e<n.length;e++){let r=n[e][0],i=n[e][1];for(let e=-2;e<=2;e++)for(let n=-2;n<=2;n++)-2===e||2===e||-2===n||2===n||0===e&&0===n?t.set(r+e,i+n,!0,!0):t.set(r+e,i+n,!1,!0)}}(A,e),m(A,n,0),e>=7&&function(t,e){let n,r,i;let o=t.size,a=d.getEncodedBits(e);for(let e=0;e<18;e++)n=Math.floor(e/3),r=e%3+o-8-3,i=(a>>e&1)==1,t.set(n,r,i,!0),t.set(r,n,i,!0)}(A,e),function(t,e){let n=t.size,r=-1,i=n-1,o=7,a=0;for(let s=n-1;s>0;s-=2)for(6===s&&s--;;){for(let n=0;n<2;n++)if(!t.isReserved(i,s-n)){let r=!1;a<e.length&&(r=(e[a]>>>o&1)==1),t.set(i,s-n,r),-1==--o&&(a++,o=7)}if((i+=r)<0||n<=i){i-=r,r=-r;break}}}(A,y),isNaN(i)&&(i=c.getBestMask(A,m.bind(null,A,n))),c.applyMask(i,A),m(A,n,i),{modules:A,version:e,errorCorrectionLevel:n,maskPattern:i,segments:h}}(t,n,v,h)}},16876:(t,e,n)=>{let r=n(15565);function i(t){this.genPoly=void 0,this.degree=t,this.degree&&this.initialize(this.degree)}i.prototype.initialize=function(t){this.degree=t,this.genPoly=r.generateECPolynomial(this.degree)},i.prototype.encode=function(t){if(!this.genPoly)throw Error("Encoder not initialized");let e=new Uint8Array(t.length+this.degree);e.set(t);let n=r.mod(e,this.genPoly),i=this.degree-n.length;if(i>0){let t=new Uint8Array(this.degree);return t.set(n,i),t}return n},t.exports=i},95274:(t,e)=>{let n="[0-9]+",r="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+",i="(?:(?![A-Z0-9 $%*+\\-./:]|"+(r=r.replace(/u/g,"\\u"))+")(?:.|[\r\n]))+";e.KANJI=RegExp(r,"g"),e.BYTE_KANJI=RegExp("[^A-Z0-9 $%*+\\-./:]+","g"),e.BYTE=RegExp(i,"g"),e.NUMERIC=RegExp(n,"g"),e.ALPHANUMERIC=RegExp("[A-Z $%*+\\-./:]+","g");let o=RegExp("^"+r+"$"),a=RegExp("^"+n+"$"),s=RegExp("^[A-Z0-9 $%*+\\-./:]+$");e.testKanji=function(t){return o.test(t)},e.testNumeric=function(t){return a.test(t)},e.testAlphanumeric=function(t){return s.test(t)}},98513:(t,e,n)=>
vendor: 6,933 bytes, line 1
1{let r=n(85752),i=n(58065),o=n(69607),a=n(16772),s=n(48141),u=n(95274),c=n(95740),l=n(22222);function f(t){return unescape(encodeURIComponent(t)).length}function d(t,e,n){let r;let i=[];for(;null!==(r=t.exec(n));)i.push({data:r[0],index:r.index,mode:e,length:r[0].length});return i}function h(t){let e,n;let i=d(u.NUMERIC,r.NUMERIC,t),o=d(u.ALPHANUMERIC,r.ALPHANUMERIC,t);return c.isKanjiModeEnabled()?(e=d(u.BYTE,r.BYTE,t),n=d(u.KANJI,r.KANJI,t)):(e=d(u.BYTE_KANJI,r.BYTE,t),n=[]),i.concat(o,e,n).sort(function(t,e){return t.index-e.index}).map(function(t){return{data:t.data,mode:t.mode,length:t.length}})}function p(t,e){switch(e){case r.NUMERIC:return i.getBitsLength(t);case r.ALPHANUMERIC:return o.getBitsLength(t);case r.KANJI:return s.getBitsLength(t);case r.BYTE:return a.getBitsLength(t)}}function g(t,e){let n;let u=r.getBestModeForData(t);if((n=r.from(e,u))!==r.BYTE&&n.bit<u.bit)throw Error('"'+t+'" cannot be encoded with mode '+r.toString(n)+".\n Suggested mode is: "+r.toString(u));switch(n!==r.KANJI||c.isKanjiModeEnabled()||(n=r.BYTE),n){case r.NUMERIC:return new i(t);case r.ALPHANUMERIC:return new o(t);case r.KANJI:return new s(t);case r.BYTE:return new a(t)}}e.fromArray=function(t){return t.reduce(function(t,e){return"string"==typeof e?t.push(g(e,null)):e.data&&t.push(g(e.data,e.mode)),t},[])},e.fromString=function(t,n){let i=function(t,e){let n={},i={start:{}},o=["start"];for(let a=0;a<t.length;a++){let s=t[a],u=[];for(let t=0;t<s.length;t++){let c=s[t],l=""+a+t;u.push(l),n[l]={node:c,lastCount:0},i[l]={};for(let t=0;t<o.length;t++){let a=o[t];n[a]&&n[a].node.mode===c.mode?(i[a][l]=p(n[a].lastCount+c.length,c.mode)-p(n[a].lastCount,c.mode),n[a].lastCount+=c.length):(n[a]&&(n[a].lastCount=c.length),i[a][l]=p(c.length,c.mode)+4+r.getCharCountIndicator(c.mode,e))}}o=u}for(let t=0;t<o.length;t++)i[o[t]].end=0;return{map:i,table:n}}(function(t){let e=[];for(let n=0;n<t.length;n++){let i=t[n];switch(i.mode){case r.NUMERIC:e.push([i,{data:i.data,mode:r.ALPHANUMERIC,length:i.length},{data:i.data,mode:r.BYTE,length:i.length}]);break;case r.ALPHANUMERIC:e.push([i,{data:i.data,mode:r.BYTE,length:i.length}]);break;case r.KANJI:e.push([i,{data:i.data,mode:r.BYTE,length:f(i.data)}]);break;case r.BYTE:e.push([{data:i.data,mode:r.BYTE,length:f(i.data)}])}}return e}(h(t,c.isKanjiModeEnabled())),n),o=l.find_path(i.map,"start","end"),a=[];for(let t=1;t<o.length-1;t++)a.push(i.table[o[t]].node);return e.fromArray(a.reduce(function(t,e){let n=t.length-1>=0?t[t.length-1]:null;return n&&n.mode===e.mode?t[t.length-1].data+=e.data:t.push(e),t},[]))},e.rawSplit=function(t){return e.fromArray(h(t,c.isKanjiModeEnabled()))}},95740:(t,e)=>{let n;let r=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];e.getSymbolSize=function(t){if(!t)throw Error('"version" cannot be null or undefined');if(t<1||t>40)throw Error('"version" should be in range from 1 to 40');return 4*t+17},e.getSymbolTotalCodewords=function(t){return r[t]},e.getBCHDigit=function(t){let e=0;for(;0!==t;)e++,t>>>=1;return e},e.setToSJISFunction=function(t){if("function"!=typeof t)throw Error('"toSJISFunc" is not a valid function.');n=t},e.isKanjiModeEnabled=function(){return void 0!==n},e.toSJIS=function(t){return n(t)}},10116:(t,e)=>{e.isValid=function(t){return!isNaN(t)&&t>=1&&t<=40}},22897:(t,e,n)=>{let r=n(95740),i=n(45992),o=n(41549),a=n(85752),s=n(10116),u=r.getBCHDigit(7973);function c(t,e){return a.getCharCountIndicator(t,e)+4}e.from=function(t,e){return s.isValid(t)?parseInt(t,10):e},e.getCapacity=function(t,e,n){if(!s.isValid(t))throw Error("Invalid QR Code version");void 0===n&&(n=a.BYTE);let o=(r.getSymbolTotalCodewords(t)-i.getTotalCodewordsCount(t,e))*8;if(n===a.MIXED)return o;let u=o-c(n,t);switch(n){case a.NUMERIC:return Math.floor(u/10*3);case a.ALPHANUMERIC:return Math.floor(u/11*2);case a.KANJI:return Math.floor(u/13);case a.BYTE:default:return Math.floor(u/8)}},e.getBestVersionForData=function(t,n){let r;let i=o.from(n,o.M);if(Array.isArray(t)){if(t.length>1)return function(t,n){for(let r=1;r<=40;r++)if(function(t,e){let n=0;return t.forEach(function(t){let r=c(t.mode,e);n+=r+t.getBitsLength()}),n}(t,r)<=e.getCapacity(r,n,a.MIXED))return r}(t,i);if(0===t.length)return 1;r=t[0]}else r=t;return function(t,n,r){for(let i=1;i<=40;i++)if(n<=e.getCapacity(i,r,t))return i}(r.mode,r.getLength(),i)},e.getEncodedBits=function(t){if(!s.isValid(t)||t<7)throw Error("Invalid QR Code version");let e=t<<12;for(;r.getBCHDigit(e)-u>=0;)e^=7973<<r.getBCHDigit(e)-u;return t<<12|e}},52003:(t,e,n)=>{let r=n(60144);e.render=function(t,e,n){var i;let o=n,a=e;void 0!==o||e&&e.getContext||(o=e,e=void 0),e||(a=function(){try{return document.createElement("canvas")}catch(t){throw Error("You need to specify a canvas element")}}()),o=r.getOptions(o);let s=r.getImageWidth(t.modules.size,o),u=a.getContext("2d"),c=u.createImageData(s,s);return r.qrToImageData(c.data,t,o),i=a,u.clearRect(0,0,i.width,i.height),i.style||(i.style={}),i.height=s,i.width=s,i.style.height=s+"px",i.style.width=s+"px",u.putImageData(c,0,0),a},e.renderToDataURL=function(t,n,r){let i=r;void 0!==i||n&&n.getContext||(i=n,n=void 0),i||(i={});let o=e.render(t,n,i),a=i.type||"image/png",s=i.rendererOpts||{};return o.toDataURL(a,s.quality)}},16586:(t,e,n)=>{let r=n(60144);function i(t,e){let n=t.a/255,r=e+'="'+t.hex+'"';return n<1?r+" "+e+'-opacity="'+n.toFixed(2).slice(1)+'"':r}function o(t,e,n){let r=t+e;return void 0!==n&&(r+=" "+n),r}e.render=function(t,e,n){let a=r.getOptions(e),s=t.modules.size,u=t.modules.data,c=s+2*a.margin,l=a.color.light.a?"<path "+i(a.color.light,"fill")+' d="M0 0h'+c+"v"+c+'H0z"/>':"",f="<path "+i(a.color.dark,"stroke")+' d="'+function(t,e,n){let r="",i=0,a=!1,s=0;for(let u=0;u<t.length;u++){let c=Math.floor(u%e),l=Math.floor(u/e);c||a||(a=!0),t[u]?(s++,u>0&&c>0&&t[u-1]||(r+=a?o("M",c+n,.5+l+n):o("m",i,0),i=0,a=!1),c+1<e&&t[u+1]||(r+=o("h",s),s=0)):i++}return r}(u,s,a.margin)+'"/>',d='<svg xmlns="http://www.w3.org/2000/svg" '+(a.width?'width="'+a.width+'" height="'+a.width+'" ':"")+('viewBox="0 0 '+c)+" "+c+'" shape-rendering="crispEdges">'+l+f+"</svg>\n";return"function"==typeof n&&n(null,d),d}},60144:(t,e)=>{function n(t){if("number"==typeof t&&(t=t.toString()),"string"!=typeof t)throw Error("Color should be defined as hex string");let e=t.slice().replace("#","").split("");if(e.length<3||5===e.length||e.length>8)throw Error("Invalid hex color: "+t);(3===e.length||4===e.length)&&(e=Array.prototype.concat.apply([],e.map(function(t){return[t,t]}))),6===e.length&&e.push("F","F");let n=parseInt(e.join(""),16);return{r:n>>24&255,g:n>>16&255,b:n>>8&255,a:255&n,hex:"#"+e.slice(0,6).join("")}}e.getOptions=function(t){t||(t={}),t.color||(t.color={});let e=void 0===t.margin||null===t.margin||t.margin<0?4:t.margin,r=t.width&&t.width>=21?t.width:void 0,i=t.scale||4;
1return{width:r,scale:r?4:i,margin:e,color:{dark:n(t.color.dark||"#000000ff"),light:n(t.color.light||"#ffffffff")},type:t.type,rendererOpts:t.rendererOpts||{}}},e.getScale=function(t,e){return e.width&&e.width>=t+2*e.margin?e.width/(t+2*e.margin):e.scale},e.getImageWidth=function(t,n){let r=e.getScale(t,n);return Math.floor((t+2*n.margin)*r)},e.qrToImageData=function(t,n,r){let i=n.modules.size,o=n.modules.data,a=e.getScale(i,r),s=Math.floor((i+2*r.margin)*a),u=r.margin*a,c=[r.color.light,r.color.dark];for(let e=0;e<s;e++)for(let n=0;n<s;n++){let l=(e*s+n)*4,f=r.color.light;e>=u&&n>=u&&e<s-u&&n<s-u&&(f=c[o[Math.floor((e-u)/a)*i+Math.floor((n-u)/a)]?1:0]),t[l++]=f.r,t[l++]=f.g,t[l++]=f.b,t[l]=f.a}}},1664:(t,e)=>{"use strict";var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,i=n?Symbol.for("react.portal"):60106,o=n?Symbol.for("react.fragment"):60107,a=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,u=n?Symbol.for("react.provider"):60109,c=n?Symbol.for("react.context"):60110,l=n?Symbol.for("react.async_mode"):60111,f=n?Symbol.for("react.concurrent_mode"):60111,d=n?Symbol.for("react.forward_ref"):60112,h=n?Symbol.for("react.suspense"):60113,p=n?Symbol.for("react.suspense_list"):60120,g=n?Symbol.for("react.memo"):60115,m=n?Symbol.for("react.lazy"):60116,v=n?Symbol.for("react.block"):60121,y=n?Symbol.for("react.fundamental"):60117,A=n?Symbol.for("react.responder"):60118,w=n?Symbol.for("react.scope"):60119;function b(t){if("object"==typeof t&&null!==t){var e=t.$$typeof;switch(e){case r:switch(t=t.type){case l:case f:case o:case s:case a:case h:return t;default:switch(t=t&&t.$$typeof){case c:case d:case m:case g:case u:return t;default:return e}}case i:return e}}}function C(t){return b(t)===f}e.AsyncMode=l,e.ConcurrentMode=f,e.ContextConsumer=c,e.ContextProvider=u,e.Element=r,e.ForwardRef=d,e.Fragment=o,e.Lazy=m,e.Memo=g,e.Portal=i,e.Profiler=s,e.StrictMode=a,e.Suspense=h,e.isAsyncMode=function(t){return C(t)||b(t)===l},e.isConcurrentMode=C,e.isContextConsumer=function(t){return b(t)===c},e.isContextProvider=function(t){return b(t)===u},e.isElement=function(t){return"object"==typeof t&&null!==t&&t.$$typeof===r},e.isForwardRef=function(t){return b(t)===d},e.isFragment=function(t){return b(t)===o},e.isLazy=function(t){return b(t)===m},e.isMemo=function(t){return b(t)===g},e.isPortal=function(t){return b(t)===i},e.isProfiler=function(t){return b(t)===s},e.isStrictMode=function(t){return b(t)===a},e.isSuspense=function(t){return b(t)===h},e.isValidElementType=function(t){return"string"==typeof t||"function"==typeof t||t===o||t===f||t===s||t===a||t===h||t===p||"object"==typeof t&&null!==t&&(t.$$typeof===m||t.$$typeof===g||t.$$typeof===u||t.$$typeof===c||t.$$typeof===d||t.$$typeof===y||t.$$typeof===A||t.$$typeof===w||t.$$typeof===v)},e.typeOf=b},11988:(t,e,n)=>{"use strict";t.exports=n(1664)},58263:(t,e)=>{"use strict";var n,r=Symbol.for("react.element"),i=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),u=Symbol.for("react.provider"),c=Symbol.for("react.context"),l=Symbol.for("react.server_context"),f=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),h=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),g=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen");n=Symbol.for("react.module.reference"),e.isValidElementType=function(t){return"string"==typeof t||"function"==typeof t||t===o||t===s||t===a||t===d||t===h||t===m||"object"==typeof t&&null!==t&&(t.$$typeof===g||t.$$typeof===p||t.$$typeof===u||t.$$typeof===c||t.$$typeof===f||t.$$typeof===n||void 0!==t.getModuleId)},e.typeOf=function(t){if("object"==typeof t&&null!==t){var e=t.$$typeof;switch(e){case r:switch(t=t.type){case o:case s:case a:case d:case h:return t;default:switch(t=t&&t.$$typeof){case l:case c:case f:case g:case p:case u:return t;default:return e}}case i:return e}}}},91155:(t,e,n)=>{"use strict";t.exports=n(58263)},17814:(t,e,n)=>{"use strict";n.d(e,{p:()=>s});var r=n(21749),i=["preEnter","entering","entered","preExit","exiting","exited","unmounted"],o=function(t){return t?6:5},a=function(t,e,n,r,o){clearTimeout(r.current),e(t),n.current=t,o&&o({state:i[t]})},s=function(t){var e,n,s=void 0===t?{}:t,u=s.enter,c=void 0===u||u,l=s.exit,f=void 0===l||l,d=s.preEnter,h=s.preE
1xit,p=s.timeout,g=s.initialEntered,m=s.mountOnEnter,v=s.unmountOnExit,y=s.onChange,A=(0,r.useState)(g?2:o(m)),w=A[0],b=A[1],C=(0,r.useRef)(w),E=(0,r.useRef)();"object"==typeof p?(e=p.enter,n=p.exit):e=n=p;var x=(0,r.useCallback)(function(){var t;switch(C.current){case 1:case 0:t=2;break;case 4:case 3:t=o(v)}void 0!==t&&a(t,b,C,E,y)},[y,v]),S=(0,r.useCallback)(function(t){var r=function t(r){switch(a(r,b,C,E,y),r){case 1:e>=0&&(E.current=setTimeout(x,e));break;case 4:n>=0&&(E.current=setTimeout(x,n));break;case 0:case 3:E.current=setTimeout(function(){return t(r+1)},0)}},i=C.current<=2;"boolean"!=typeof t&&(t=!i),t?i||r(c?d?0:1:2):i&&r(f?h?3:4:o(v))},[x,y,c,f,d,h,e,n,v]);return(0,r.useEffect)(function(){return function(){return clearTimeout(E.current)}},[]),[i[w],S,x]}},33773:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var r=n(21749),i=n(71144),o=n.n(i);function a(t){var e;let{debounce:n,scroll:i,polyfill:a,offsetSize:s}=void 0===t?{debounce:0,scroll:!1,offsetSize:!1}:t,c=a||("undefined"==typeof window?class{}:window.ResizeObserver);if(!c)throw Error("This browser does not support ResizeObserver out of the box. See: https://github.com/react-spring/react-use-measure/#resize-observer-polyfills");let[l,f]=(0,r.useState)({left:0,top:0,width:0,height:0,bottom:0,right:0,x:0,y:0}),d=(0,r.useRef)({element:null,scrollContainers:null,resizeObserver:null,lastBounds:l}),h=n?"number"==typeof n?n:n.scroll:null,p=n?"number"==typeof n?n:n.resize:null,g=(0,r.useRef)(!1);(0,r.useEffect)(()=>(g.current=!0,()=>void(g.current=!1)));let[m,v,y]=(0,r.useMemo)(()=>{let t=()=>{if(!d.current.element)return;let{left:t,top:e,width:n,height:r,bottom:i,right:o,x:a,y:c}=d.current.element.getBoundingClientRect(),l={left:t,top:e,width:n,height:r,bottom:i,right:o,x:a,y:c};d.current.element instanceof HTMLElement&&s&&(l.height=d.current.element.offsetHeight,l.width=d.current.element.offsetWidth),Object.freeze(l),g.current&&!u(d.current.lastBounds,l)&&f(d.current.lastBounds=l)};return[t,p?o()(t,p):t,h?o()(t,h):t]},[f,s,h,p]);function A(){d.current.scrollContainers&&(d.current.scrollContainers.forEach(t=>t.removeEventListener("scroll",y,!0)),d.current.scrollContainers=null),d.current.resizeObserver&&(d.current.resizeObserver.disconnect(),d.current.resizeObserver=null)}function w(){d.current.element&&(d.current.resizeObserver=new c(y),d.current.resizeObserver.observe(d.current.element),i&&d.current.scrollContainers&&d.current.scrollContainers.forEach(t=>t.addEventListener("scroll",y,{capture:!0,passive:!0})))}return e=!!i,(0,r.useEffect)(()=>{if(e)return window.addEventListener("scroll",y,{capture:!0,passive:!0}),()=>void window.removeEventListener("scroll",y,!0)},[y,e]),(0,r.useEffect)(()=>(window.addEventListener("resize",v),()=>void window.removeEventListener("resize",v)),[v]),(0,r.useEffect)(()=>{A(),w()},[i,y,v]),(0,r.useEffect)(()=>A,[]),[t=>{t&&t!==d.current.element&&(A(),d.current.element=t,d.current.scrollContainers=function t(e){let n=[];if(!e||e===document.body)return n;let{overflow:r,overflowX:i,overflowY:o}=window.getComputedStyle(e);return[r,i,o].some(t=>"auto"===t||"scroll"===t)&&n.push(e),[...n,...t(e.parentElement)]}(t),w())},l,m]}let s=["x","y","top","bottom","left","right","width","height"],u=(t,e)=>s.every(n=>t[n]===e[n])},99744:(t,e,n)=>{"use strict";n.d(e,{A:()=>C});var r=function(){if("undefined"!=typeof Map)return Map;function t(t,e){var n=-1;return t.some(function(t,r){return t[0]===e&&(n=r,!0)}),n}return function(){function e(){this.__entries__=[]}return Object.defineProperty(e.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),e.prototype.get=function(e){var n=t(this.__entries__,e),r=this.__entries__[n];return r&&r[1]},e.prototype.set=function(e,n){var r=t(this.__entries__,e);~r?this.__entries__[r][1]=n:this.__entries__.push([e,n])},e.prototype.delete=function(e){var n=this.__entries__,r=t(n,e);~r&&n.splice(r,1)},e.prototype.has=function(e){return!!~t(this.__entries__,e)},e.prototype.clear=function(){this.__entries__.splice(0)},e.prototype.forEach=function(t,e){void 0===e&&(e=null);for(var n=0,r=this.__entries__;n<r.length;n++){var i=r[n];t.call(e,i[1],i[0])}},e}()}(),i="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,o=void 0!==n.g&&n.g.Math===Math?n.g:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),a="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(o):function(t){return setTimeout(function(){return t(Date.now())},1e3/60)},s=["top","right","bottom","left","width","height","size","weight"],u="undefined"!=typeof MutationObserver,c=function(){function t(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(t,e){var n=!1,r=!1,i=0;function o(){n&&(n=!1,t()),r&&u()}function s(){a(o)}function u(){var t=Date.now();if(n){if(t-i<2)return;r=!0}else n=!0,r=!1,setTimeout(s,20);i=t}return u}(this.refresh.bind(this),0)}return t.prototype.addObserver=function(t){~this.observers_.indexOf(t)||this.observers_.push(t),this.connected_||this.connect_()},t.prototype.removeObserver=function(t){var e=this.observers_,n=e.indexOf(t);~n&&e.splice(n,1),!e.length&&this.connected_&&this.disconnect_()},t.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},t.prototype.updateObservers_=function(){var t=this.observers_.filter(function(t){return t.gatherActive(),t.hasActive()});return t.forEach(function(t){return t.broadcastActive()}),t.length>0},t.prototype.connect_=function(){i&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),u?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},t.prototype.disconnect_=function(){i&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},t.prototype.onTransitionEnd_=function(t){var e=t.propertyName,n=void 0===e?"":e;s.some(function(t){return!!~n.indexOf(t)})&&this.refresh()},t.getInstance=function(){return this.instance_||(this.instance_=ne
1w t),this.instance_},t.instance_=null,t}(),l=function(t,e){for(var n=0,r=Object.keys(e);n<r.length;n++){var i=r[n];Object.defineProperty(t,i,{value:e[i],enumerable:!1,writable:!1,configurable:!0})}return t},f=function(t){return t&&t.ownerDocument&&t.ownerDocument.defaultView||o},d=m(0,0,0,0);function h(t){return parseFloat(t)||0}function p(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return e.reduce(function(e,n){return e+h(t["border-"+n+"-width"])},0)}var g="undefined"!=typeof SVGGraphicsElement?function(t){return t instanceof f(t).SVGGraphicsElement}:function(t){return t instanceof f(t).SVGElement&&"function"==typeof t.getBBox};function m(t,e,n,r){return{x:t,y:e,width:n,height:r}}var v=function(){function t(t){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=m(0,0,0,0),this.target=t}return t.prototype.isActive=function(){var t=function(t){if(!i)return d;if(g(t)){var e;return m(0,0,(e=t.getBBox()).width,e.height)}return function(t){var e=t.clientWidth,n=t.clientHeight;if(!e&&!n)return d;var r=f(t).getComputedStyle(t),i=function(t){for(var e={},n=0,r=["top","right","bottom","left"];n<r.length;n++){var i=r[n],o=t["padding-"+i];e[i]=h(o)}return e}(r),o=i.left+i.right,a=i.top+i.bottom,s=h(r.width),u=h(r.height);if("border-box"===r.boxSizing&&(Math.round(s+o)!==e&&(s-=p(r,"left","right")+o),Math.round(u+a)!==n&&(u-=p(r,"top","bottom")+a)),t!==f(t).document.documentElement){var c=Math.round(s+o)-e,l=Math.round(u+a)-n;1!==Math.abs(c)&&(s-=c),1!==Math.abs(l)&&(u-=l)}return m(i.left,i.top,s,u)}(t)}(this.target);return this.contentRect_=t,t.width!==this.broadcastWidth||t.height!==this.broadcastHeight},t.prototype.broadcastRect=function(){var t=this.contentRect_;return this.broadcastWidth=t.width,this.broadcastHeight=t.height,t},t}(),y=function(t,e){var n,r,i,o,a,s=(n=e.x,r=e.y,i=e.width,o=e.height,l(a=Object.create(("undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object).prototype),{x:n,y:r,width:i,height:o,top:r,right:n+i,bottom:o+r,left:n}),a);l(this,{target:t,contentRect:s})},A=function(){function t(t,e,n){if(this.activeObservations_=[],this.observations_=new r,"function"!=typeof t)throw TypeError("The callback provided as parameter 1 is not a function.");this.callback_=t,this.controller_=e,this.callbackCtx_=n}return t.prototype.observe=function(t){if(!arguments.length)throw TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(t instanceof f(t).Element))throw TypeError('parameter 1 is not of type "Element".');var e=this.observations_;e.has(t)||(e.set(t,new v(t)),this.controller_.addObserver(this),this.controller_.refresh())}},t.prototype.unobserve=function(t){if(!arguments.length)throw TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(t instanceof f(t).Element))throw TypeError('parameter 1 is not of type "Element".');var e=this.observations_;e.has(t)&&(e.delete(t),e.size||this.controller_.removeObserver(this))}},t.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},t.prototype.gatherActive=function(){var t=this;this.clearActive(),this.observations_.forEach(function(e){e.isActive()&&t.activeObservations_.push(e)})},t.prototype.broadcastActive=function(){if(this.hasActive()){var t=this.callbackCtx_,e=this.activeObservations_.map(function(t){return new y(t.target,t.broadcastRect())});this.callback_.call(t,e,t),this.clearActive()}},t.prototype.clearActive=function(){this.activeObservations_.splice(0)},t.prototype.hasActive=function(){return this.activeObservations_.length>0},t}(),w="undefined"!=typeof WeakMap?new WeakMap:new r,b=function t(e){if(!(this instanceof t))throw TypeError("Cannot call a class as a function.");if(!arguments.length)throw TypeError("1 argument required, but only 0 present.");var n=new A(e,c.getInstance(),this);w.set(this,n)};["observe","unobserve","disconnect"].forEach(function(t){b.prototype[t]=function(){var e;return(e=w.get(this))[t].apply(e,arguments)}});let C=void 0!==o.ResizeObserver?o.ResizeObserver:b},25414:t=>{t.exports=function(t,e,n,r){var i=n?n.call(r,t,e):void 0;if(void 0!==i)return!!i;if(t===e)return!0;
vendor: 4,962 bytes, line 1
1if("object"!=typeof t||!t||"object"!=typeof e||!e)return!1;var o=Object.keys(t),a=Object.keys(e);if(o.length!==a.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(e),u=0;u<o.length;u++){var c=o[u];if(!s(c))return!1;var l=t[c],f=e[c];if(!1===(i=n?n.call(r,l,f,c):void 0)||void 0===i&&l!==f)return!1}return!0}},85724:(t,e,n)=>{"use strict";n.d(e,{NP:()=>tx,AH:()=>tm,Ay:()=>tP,i7:()=>tI});var r=n(91155),i=n(21749),o=n(25414),a=n.n(o);let s=function(t){function e(t,e,r){var i=e.trim().split(p);e=i;var o=i.length,a=t.length;switch(a){case 0:case 1:var s=0;for(t=0===a?"":t[0]+" ";s<o;++s)e[s]=n(t,e[s],r).trim();break;default:var u=s=0;for(e=[];s<o;++s)for(var c=0;c<a;++c)e[u++]=n(t[c]+" ",i[s],r).trim()}return e}function n(t,e,n){var r=e.charCodeAt(0);switch(33>r&&(r=(e=e.trim()).charCodeAt(0)),r){case 38:return e.replace(g,"$1"+t.trim());case 58:return t.trim()+e.replace(g,"$1"+t.trim());default:if(0<1*n&&0<e.indexOf("\f"))return e.replace(g,(58===t.charCodeAt(0)?"":"$1")+t.trim())}return t+e}function r(t,e,n,o){var a=t+";",s=2*e+3*n+4*o;if(944===s){t=a.indexOf(":",9)+1;var u=a.substring(t,a.length-1).trim();return u=a.substring(0,t).trim()+u+";",1===k||2===k&&i(u,1)?"-webkit-"+u+u:u}if(0===k||2===k&&!i(a,1))return a;switch(s){case 1015:return 97===a.charCodeAt(10)?"-webkit-"+a+a:a;case 951:return 116===a.charCodeAt(3)?"-webkit-"+a+a:a;case 963:return 110===a.charCodeAt(5)?"-webkit-"+a+a:a;case 1009:if(100!==a.charCodeAt(4))break;case 969:case 942:return"-webkit-"+a+a;case 978:return"-webkit-"+a+"-moz-"+a+a;case 1019:case 983:return"-webkit-"+a+"-moz-"+a+"-ms-"+a+a;case 883:if(45===a.charCodeAt(8))return"-webkit-"+a+a;if(0<a.indexOf("image-set(",11))return a.replace(S,"$1-webkit-$2")+a;break;case 932:if(45===a.charCodeAt(4))switch(a.charCodeAt(5)){case 103:return"-webkit-box-"+a.replace("-grow","")+"-webkit-"+a+"-ms-"+a.replace("grow","positive")+a;case 115:return"-webkit-"+a+"-ms-"+a.replace("shrink","negative")+a;case 98:return"-webkit-"+a+"-ms-"+a.replace("basis","preferred-size")+a}return"-webkit-"+a+"-ms-"+a+a;case 964:return"-webkit-"+a+"-ms-flex-"+a+a;case 1023:if(99!==a.charCodeAt(8))break;return"-webkit-box-pack"+(u=a.substring(a.indexOf(":",15)).replace("flex-","").replace("space-between","justify"))+"-webkit-"+a+"-ms-flex-pack"+u+a;case 1005:return d.test(a)?a.replace(f,":-webkit-")+a.replace(f,":-moz-")+a:a;case 1e3:switch(e=(u=a.substring(13).trim()).indexOf("-")+1,u.charCodeAt(0)+u.charCodeAt(e)){case 226:u=a.replace(A,"tb");break;case 232:u=a.replace(A,"tb-rl");break;case 220:u=a.replace(A,"lr");break;default:return a}return"-webkit-"+a+"-ms-"+u+a;case 1017:if(-1===a.indexOf("sticky",9))break;case 975:switch(e=(a=t).length-10,s=(u=(33===a.charCodeAt(e)?a.substring(0,e):a).substring(t.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|u.charCodeAt(7))){case 203:if(111>u.charCodeAt(8))break;case 115:a=a.replace(u,"-webkit-"+u)+";"+a;break;case 207:case 102:a=a.replace(u,"-webkit-"+(102<s?"inline-":"")+"box")+";"+a.replace(u,"-webkit-"+u)+";"+a.replace(u,"-ms-"+u+"box")+";"+a}return a+";";case 938:if(45===a.charCodeAt(5))switch(a.charCodeAt(6)){case 105:return u=a.replace("-items",""),"-webkit-"+a+"-webkit-box-"+u+"-ms-flex-"+u+a;case 115:return"-webkit-"+a+"-ms-flex-item-"+a.replace(C,"")+a;default:return"-webkit-"+a+"-ms-flex-line-pack"+a.replace("align-content","").replace(C,"")+a}break;case 973:case 989:if(45!==a.charCodeAt(3)||122===a.charCodeAt(4))break;case 931:case 953:if(!0===x.test(t))return 115===(u=t.substring(t.indexOf(":")+1)).charCodeAt(0)?r(t.replace("stretch","fill-available"),e,n,o).replace(":fill-available",":stretch"):a.replace(u,"-webkit-"+u)+a.replace(u,"-moz-"+u.replace("fill-",""))+a;break;case 962:if(a="-webkit-"+a+(102===a.charCodeAt(5)?"-ms-"+a:"")+a,211===n+o&&105===a.charCodeAt(13)&&0<a.indexOf("transform",10))return a.substring(0,a.indexOf(";",27)+1).replace(h,"$1-webkit-$2")+a}return a}function i(t,e){var n=t.indexOf(1===e?":":"{"),r=t.substring(0,3!==e?n:10);return n=t.substring(n+1,t.length-1),R(2!==e?r:r.replace(E,"$1"),n,e)}function o(t,e){var n=r(e,e.charCodeAt(0),e.charCodeAt(1),e.charCodeAt(2));return n!==e+";"?n.replace(b," or ($1)").substring(4):"("+e+")"}function a(t,e,n,r,i,o,a,s,c,l){for(var f,d=0,h=e;d<O;++d)switch(f=M[d].call(u,t,h,n,r,i,o,a,s,c,l)){case void 0:case!1:case!0:case null:break;default:h=f}if(h!==e)return h}function s(t){return void 0!==(t=t.prefix)&&(R=null,t?"function"!=typeof t?k=1:(k=2,R=t):k=0),s}function u(t,n){var s=t;if(33>s.charCodeAt(0)&&(s=s.trim()),s=[s],0<O){var u=a(-1,n,s,s,I,B,0,0,0,0);void 0!==u&&"string"==typeof u&&(n=u)}var f=function t(n,s,u,f,d){for(var h,p,g,A,b,C=0,E=0,x=0,S=0,M=0,R=0,D=g=h=0,L=0,N=0,F=0,j=0,V=u.length,Q=V-1,z="",H="",G="",K="";L<V;){if(p=u.charCodeAt(L),L===Q&&0!==E+S+x+C&&(0!==E&&(p=47===E?10:47),S=x=C=0,V++,Q++),0===E+S+x+C){if(L===Q&&(0<N&&(z=z.replace(l,"")),0<z.trim().length)){switch(p){case 32:case 9:case 59:case 13:case 10:break;default:z+=u.charAt(L)}p=59}
vendor: 5,306 bytes, line 1
1switch(p){case 123:for(h=(z=z.trim()).charCodeAt(0),g=1,j=++L;L<V;){switch(p=u.charCodeAt(L)){case 123:g++;break;case 125:g--;break;case 47:switch(p=u.charCodeAt(L+1)){case 42:case 47:t:{for(D=L+1;D<Q;++D)switch(u.charCodeAt(D)){case 47:if(42===p&&42===u.charCodeAt(D-1)&&L+2!==D){L=D+1;break t}break;case 10:if(47===p){L=D+1;break t}}L=D}}break;case 91:p++;case 40:p++;case 34:case 39:for(;L++<Q&&u.charCodeAt(L)!==p;);}if(0===g)break;L++}if(g=u.substring(j,L),0===h&&(h=(z=z.replace(c,"").trim()).charCodeAt(0)),64===h){switch(0<N&&(z=z.replace(l,"")),p=z.charCodeAt(1)){case 100:case 109:case 115:case 45:N=s;break;default:N=T}if(j=(g=t(s,N,g,p,d+1)).length,0<O&&(b=a(3,g,N=e(T,z,F),s,I,B,j,p,d,f),z=N.join(""),void 0!==b&&0===(j=(g=b.trim()).length)&&(p=0,g="")),0<j)switch(p){case 115:z=z.replace(w,o);case 100:case 109:case 45:g=z+"{"+g+"}";break;case 107:g=(z=z.replace(m,"$1 $2"))+"{"+g+"}",g=1===k||2===k&&i("@"+g,3)?"@-webkit-"+g+"@"+g:"@"+g;break;default:g=z+g,112===f&&(H+=g,g="")}else g=""}else g=t(s,e(s,z,F),g,f,d+1);G+=g,g=F=N=D=h=0,z="",p=u.charCodeAt(++L);break;case 125:case 59:if(1<(j=(z=(0<N?z.replace(l,""):z).trim()).length))switch(0===D&&(45===(h=z.charCodeAt(0))||96<h&&123>h)&&(j=(z=z.replace(" ",":")).length),0<O&&void 0!==(b=a(1,z,s,n,I,B,H.length,f,d,f))&&0===(j=(z=b.trim()).length)&&(z="\0\0"),h=z.charCodeAt(0),p=z.charCodeAt(1),h){case 0:break;case 64:if(105===p||99===p){K+=z+u.charAt(L);break}default:58!==z.charCodeAt(j-1)&&(H+=r(z,h,p,z.charCodeAt(2)))}F=N=D=h=0,z="",p=u.charCodeAt(++L)}}switch(p){case 13:case 10:47===E?E=0:0===1+h&&107!==f&&0<z.length&&(N=1,z+="\0"),0<O*U&&a(0,z,s,n,I,B,H.length,f,d,f),B=1,I++;break;case 59:case 125:if(0===E+S+x+C){B++;break}default:switch(B++,A=u.charAt(L),p){case 9:case 32:if(0===S+C+E)switch(M){case 44:case 58:case 9:case 32:A="";break;default:32!==p&&(A=" ")}break;case 0:A="\\0";break;case 12:A="\\f";break;case 11:A="\\v";break;case 38:0===S+E+C&&(N=F=1,A="\f"+A);break;case 108:if(0===S+E+C+P&&0<D)switch(L-D){case 2:112===M&&58===u.charCodeAt(L-3)&&(P=M);case 8:111===R&&(P=R)}break;case 58:0===S+E+C&&(D=L);break;case 44:0===E+x+S+C&&(N=1,A+="\r");break;case 34:case 39:0===E&&(S=S===p?0:0===S?p:S);break;case 91:0===S+E+x&&C++;break;case 93:0===S+E+x&&C--;break;case 41:0===S+E+C&&x--;break;case 40:0===S+E+C&&(0===h&&(2*M+3*R==533||(h=1)),x++);break;case 64:0===E+x+S+C+D+g&&(g=1);break;case 42:case 47:if(!(0<S+C+x))switch(E){case 0:switch(2*p+3*u.charCodeAt(L+1)){case 235:E=47;break;case 220:j=L,E=42}break;case 42:47===p&&42===M&&j+2!==L&&(33===u.charCodeAt(j+2)&&(H+=u.substring(j,L+1)),A="",E=0)}}0===E&&(z+=A)}R=M,M=p,L++}if(0<(j=H.length)){if(N=s,0<O&&void 0!==(b=a(2,H,N,n,I,B,j,f,d,f))&&0===(H=b).length)return K+H+G;if(H=N.join(",")+"{"+H+"}",0!=k*P){switch(2!==k||i(H,2)||(P=0),P){case 111:H=H.replace(y,":-moz-$1")+H;break;case 112:H=H.replace(v,"::-webkit-input-$1")+H.replace(v,"::-moz-$1")+H.replace(v,":-ms-input-$1")+H}P=0}}return K+H+G}(T,s,n,0,0);return 0<O&&void 0!==(u=a(-2,f,s,s,I,B,f.length,0,0,0))&&(f=u),P=0,B=I=1,f}var c=/^\0+/g,l=/[\0\r\f]/g,f=/: */g,d=/zoo|gra/,h=/([,: ])(transform)/g,p=/,\r+?/g,g=/([\t\r\n ])*\f?&/g,m=/@(k\w+)\s*(\S*)\s*/,v=/::(place)/g,y=/:(read-only)/g,A=/[svh]\w+-[tblr]{2}/,w=/\(\s*(.*)\s*\)/g,b=/([\s\S]*?);/g,C=/-self|flex-/g,E=/[^]*?(:[rp][el]a[\w-]+)[^]*/,x=/stretch|:\s*\w+\-(?:conte|avail)/,S=/([^-])(image-set\()/,B=1,I=1,P=0,k=1,T=[],M=[],O=0,R=null,U=0;return u.use=function t(e){switch(e){case void 0:case null:O=M.length=0;break;default:if("function"==typeof e)M[O++]=e;else if("object"==typeof e)for(var n=0,r=e.length;n<r;++n)t(e[n]);else U=0|!!e}return t},u.set=s,void 0!==t&&s(t),u},u={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};var c=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInl
1ine|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,l=function(t){var e=Object.create(null);return function(n){return void 0===e[n]&&(e[n]=t(n)),e[n]}}(function(t){return c.test(t)||111===t.charCodeAt(0)&&110===t.charCodeAt(1)&&91>t.charCodeAt(2)}),f=n(63052),d=n.n(f),h=n(23088);function p(){return(p=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}var g=function(t,e){for(var n=[t[0]],r=0,i=e.length;r<i;r+=1)n.push(e[r],t[r+1]);return n},m=function(t){return null!==t&&"object"==typeof t&&"[object Object]"===(t.toString?t.toString():Object.prototype.toString.call(t))&&!(0,r.typeOf)(t)},v=Object.freeze([]),y=Object.freeze({});function A(t){return"function"==typeof t}function w(t){return t.displayName||t.name||"Component"}function b(t){return t&&"string"==typeof t.styledComponentId}var C=void 0!==h&&void 0!==h.env&&(h.env.REACT_APP_SC_ATTR||h.env.SC_ATTR)||"data-styled",E="undefined"!=typeof window&&"HTMLElement"in window,x=!!("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:void 0!==h&&void 0!==h.env&&(void 0!==h.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==h.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==h.env.REACT_APP_SC_DISABLE_SPEEDY&&h.env.REACT_APP_SC_DISABLE_SPEEDY:void 0!==h.env.SC_DISABLE_SPEEDY&&""!==h.env.SC_DISABLE_SPEEDY&&"false"!==h.env.SC_DISABLE_SPEEDY&&h.env.SC_DISABLE_SPEEDY));function S(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];throw Error("An error occurred. See https://git.io/JUIaE#"+t+" for more information."+(n.length>0?" Args: "+n.join(", "):""))}var B=function(){function t(t){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=t}var e=t.prototype;return e.indexOfGroup=function(t){for(var e=0,n=0;n<t;n++)e+=this.groupSizes[n];return e},e.insertRules=function(t,e){if(t>=this.groupSizes.length){for(var n=this.groupSizes,r=n.length,i=r;t>=i;)(i<<=1)<0&&S(16,""+t);this.groupSizes=new Uint32Array(i),this.groupSizes.set(n),this.length=i;for(var o=r;o<i;o++)this.groupSizes[o]=0}for(var a=this.indexOfGroup(t+1),s=0,u=e.length;s<u;s++)this.tag.insertRule(a,e[s])&&(this.groupSizes[t]++,a++)},e.clearGroup=function(t){if(t<this.length){var e=this.groupSizes[t],n=this.indexOfGroup(t),r=n+e;this.groupSizes[t]=0;for(var i=n;i<r;i++)this.tag.deleteRule(n)}},e.getGroup=function(t){var e="";if(t>=this.length||0===this.groupSizes[t])return e;for(var n=this.groupSizes[t],r=this.indexOfGroup(t),i=r+n,o=r;o<i;o++)e+=this.tag.getRule(o)+"/*!sc*/\n";return e},t}(),I=new Map,P=new Map,k=1,T=function(t){if(I.has(t))return I.get(t);for(;P.has(k);)k++;var e=k++;return I.set(t,e),P.set(e,t),e},M=function(t,e){e>=k&&(k=e+1),I.set(t,e),P.set(e,t)},O="style["+C+'][data-styled-version="5.3.11"]',R=RegExp("^"+C+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),U=function(t,e,n){for(var r,i=n.split(","),o=0,a=i.length;o<a;o++)(r=i[o])&&t.registerName(e,r)},D=function(t,e){for(var n=(e.textContent||"").split("/*!sc*/\n"),r=[],i=0,o=n.length;i<o;i++){var a=n[i].trim();if(a){var s=a.match(R);if(s){var u=0|parseInt(s[1],10),c=s[2];0!==u&&(M(c,u),U(t,c,s[3]),t.getTag().insertRules(u,r)),r.length=0}else r.push(a)}}},L=function(){return n.nc},N=function(t){var e=document.head,n=t||e,r=document.createElement("style"),i=function(t){for(var e=t.childNodes,n=e.length;n>=0;n--){var r=e[n];if(r&&1===r.nodeType&&r.hasAttribute(C))return r}}(n),o=void 0!==i?i.nextSibling:null;r.setAttribute(C,"active"),r.setAttribute("data-styled-version","5.3.11");var a=L();return a&&r.setAttribute("nonce",a),n.insertBefore(r,o),r},F=function(){function t(t){var e=this.element=N(t);e.appendChild(document.createTextNode("")),this.sheet=function(t){if(t.sheet)return t.sheet;for(var e=document.styleSheets,n=0,r=e.length;n<r;n++){var i=e[n];if(i.ownerNode===t)return i}S(17)}(e),this.length=0}var e=t.prototype;return e.insertRule=function(t,e){try{return this.sheet.insertRule(e,t),this.length++,!0}catch(t){return!1}},e.deleteRule=function(t){this.sheet.deleteRule(t),this.length--},e.getRule=function(t){var e=this.sheet.cssRules[t];return void 0!==e&&"string"==typeof e.cssText?e.cssText:""},t}(),j=function(){function t(t){var e=this.element=N(t);this.nodes=e.childNodes,this.length=0}var e=t.prototype;return e.insertRule=function(t,e){if(t<=this.length&&t>=0){var n=document.createTextNode(e),r=this.nodes[t];return this.element.insertBefore(n,r||null),this.length++,!0}return!1},e.deleteRule=function(t){this.element.removeChild(this.nodes[t]),this.length--},e.getRule=function(t){return t<this.length?this.nodes[t].textContent:""},t}(),V=function(){function t(t){this.rules=[],this.length=0}var e=t.prototype;return e.insertRule=function(t,e){return t<=this.length&&(this.rules.splice(t,0,e),this.length++,!0)},e.deleteRule=function(t){this.rules.splice(t,1),this.length--},e.getRule=function(t){return t<this.length?this.rules[t]:""},t}(),Q=E,z={isServer:!E,useCSSOMInjection:!x},H=function(){function t(t,e,n){void 0===t&&(t=y),void 0===e&&(e={}),this.options=p({},z,{},t),this.gs=e,this.names=new Map(n),this.server=!!t.isServer,!this.server&&E&&Q&&(Q=!1,function(t){for(var e=document.querySelectorAll(O),n=0,r=e.length;n<r;n++){var i=e[n];i&&"active"!==i.getAttribute(C)&&(D(t,i),i.parentNode&&i.parentNode.removeChild(i))}}(this))}t.registerId=function(t){return T(t)};var e=t.prototype;return e.reconstructWithOptions=function(e,n){return void 0===n&&(n=!0),new t(p({},this.options,{},e),this.gs,n&&this.names||void 0)},e.allocateGSInstance=function(t){return this.gs[t]=(this.gs[t]||0)+1},e.getTag=function(){var t,e,n,r;return this.tag||(this.tag=(e=(t=this.options).isServer,n=t.useCSSOMInjection,r=t.target,new B(e?new V(r):n?new F(r):new j(r))))},e.hasNameForId=function(t,e){return this.names.has(t)&&this.names.get(t).has(e)},e.registerName=function(t,e){if(T(t),this.names.has(t))this.names.get(t).add(e);else{var n=new Set;n.add(e),this.names.set(t,n)}},e.insertRules=function(t,e,n){this.registerName(t,e),this.getTag().insertRules(T(t),n)},e.clearNames=function(t){this.names.has(t)&&this.names.get(t).clear()},e.clearRules=function(t){this.getTag().clearGroup(T(t)),this.clearNames(t)},e.clearTag=function(){this.tag=void 0},e.toString=function(){return function(t){for(var e=t.getTag(),n=e.length,r="",i=0;i<n;i++){var o,a=(o=i,P.get(o));if(void 0!==a){var s=t.names.get(a),u=e.getGroup(i);if(s&&u&&s.size){var c=C+".g"+i+'[id="'+a+'"]',l="";
1void 0!==s&&s.forEach(function(t){t.length>0&&(l+=t+",")}),r+=""+u+c+'{content:"'+l+'"}/*!sc*/\n'}}}return r}(this)},t}(),G=/(a)(d)/gi,K=function(t){return String.fromCharCode(t+(t>25?39:97))};function J(t){var e,n="";for(e=Math.abs(t);e>52;e=e/52|0)n=K(e%52)+n;return(K(e%52)+n).replace(G,"$1-$2")}var q=function(t,e){for(var n=e.length;n;)t=33*t^e.charCodeAt(--n);return t},Y=function(t){return q(5381,t)};function W(t){for(var e=0;e<t.length;e+=1){var n=t[e];if(A(n)&&!b(n))return!1}return!0}var X=Y("5.3.11"),Z=function(){function t(t,e,n){this.rules=t,this.staticRulesId="",this.isStatic=(void 0===n||n.isStatic)&&W(t),this.componentId=e,this.baseHash=q(X,e),this.baseStyle=n,H.registerId(e)}return t.prototype.generateAndInjectStyles=function(t,e,n){var r=this.componentId,i=[];if(this.baseStyle&&i.push(this.baseStyle.generateAndInjectStyles(t,e,n)),this.isStatic&&!n.hash){if(this.staticRulesId&&e.hasNameForId(r,this.staticRulesId))i.push(this.staticRulesId);else{var o=tp(this.rules,t,e,n).join(""),a=J(q(this.baseHash,o)>>>0);if(!e.hasNameForId(r,a)){var s=n(o,"."+a,void 0,r);e.insertRules(r,a,s)}i.push(a),this.staticRulesId=a}}else{for(var u=this.rules.length,c=q(this.baseHash,n.hash),l="",f=0;f<u;f++){var d=this.rules[f];if("string"==typeof d)l+=d;else if(d){var h=tp(d,t,e,n),p=Array.isArray(h)?h.join(""):h;c=q(c,p+f),l+=p}}if(l){var g=J(c>>>0);if(!e.hasNameForId(r,g)){var m=n(l,"."+g,void 0,r);e.insertRules(r,g,m)}i.push(g)}}return i.join(" ")},t}(),_=/^\s*\/\/.*$/gm,$=[":","[",".","#"];function tt(t){var e,n,r,i,o=void 0===t?y:t,a=o.options,u=void 0===a?y:a,c=o.plugins,l=void 0===c?v:c,f=new s(u),d=[],h=function(t){function e(e){if(e)try{t(e+"}")}catch(t){}}return function(n,r,i,o,a,s,u,c,l,f){switch(n){case 1:if(0===l&&64===r.charCodeAt(0))return t(r+";"),"";break;case 2:if(0===c)return r+"/*|*/";break;case 3:switch(c){case 102:case 112:return t(i[0]+r),"";default:return r+(0===f?"/*|*/":"")}case -2:r.split("/*|*/}").forEach(e)}}}(function(t){d.push(t)}),p=function(t,r,o){return 0===r&&-1!==$.indexOf(o[n.length])||o.match(i)?t:"."+e};function g(t,o,a,s){void 0===s&&(s="&");var u=t.replace(_,""),c=o&&a?a+" "+o+" { "+u+" }":u;return e=s,r=RegExp("\\"+(n=o)+"\\b","g"),i=RegExp("(\\"+n+"\\b){2,}"),f(a||!o?"":o,c)}return f.use([].concat(l,[function(t,e,i){2===t&&i.length&&i[0].lastIndexOf(n)>0&&(i[0]=i[0].replace(r,p))},h,function(t){if(-2===t){var e=d;return d=[],e}}])),g.hash=l.length?l.reduce(function(t,e){return e.name||S(15),q(t,e.name)},5381).toString():"",g}var te=i.createContext(),tn=(te.Consumer,i.createContext()),tr=(tn.Consumer,new H),ti=tt();function to(){return(0,i.useContext)(te)||tr}function ta(t){var e=(0,i.useState)(t.stylisPlugins),n=e[0],r=e[1],o=to(),s=(0,i.useMemo)(function(){var e=o;return t.sheet?e=t.sheet:t.target&&(e=e.reconstructWithOptions({target:t.target},!1)),t.disableCSSOMInjection&&(e=e.reconstructWithOptions({useCSSOMInjection:!1})),e},[t.disableCSSOMInjection,t.sheet,t.target]),u=(0,i.useMemo)(function(){return tt({options:{prefix:!t.disableVendorPrefixes},plugins:n})},[t.disableVendorPrefixes,n]);return(0,i.useEffect)(function(){a()(n,t.stylisPlugins)||r(t.stylisPlugins)},[t.stylisPlugins]),i.createElement(te.Provider,{value:s},i.createElement(tn.Provider,{value:u},t.children))}var ts=function(){function t(t,e){var n=this;this.inject=function(t,e){void 0===e&&(e=ti);var r=n.name+e.hash;t.hasNameForId(n.id,r)||t.insertRules(n.id,r,e(n.rules,r,"@keyframes"))},this.toString=function(){return S(12,String(n.name))},this.name=t,this.id="sc-keyframes-"+t,this.rules=e}return t.prototype.getName=function(t){return void 0===t&&(t=ti),this.name+t.hash},t}(),tu=/([A-Z])/,tc=/([A-Z])/g,tl=/^ms-/,tf=function(t){return"-"+t.toLowerCase()};function td(t){return tu.test(t)?t.replace(tc,tf).replace(tl,"-ms-"):t}var th=function(t){return null==t||!1===t||""===t};function tp(t,e,n,r){if(Array.isArray(t)){for(var i,o=[],a=0,s=t.length;a<s;a+=1)""!==(i=tp(t[a],e,n,r))&&(Array.isArray(i)?o.push.apply(o,i):o.push(i));return o}return th(t)?"":b(t)?"."+t.styledComponentId:A(t)?"function"!=typeof t||t.prototype&&t.prototype.isReactComponent||!e?t:tp(t(e),e,n,r):t instanceof ts?n?(t.inject(n,r),t.getName(r)):t:m(t)?function t(e,n){var r,i=[];for(var o in e)e.hasOwnProperty(o)&&!th(e[o])&&(Array.isArray(e[o])&&e[o].isCss||A(e[o])?i.push(td(o)+":",e[o],";"):m(e[o])?i.push.apply(i,t(e[o],o)):i.push(td(o)+": "+(null==(r=e[o])||"boolean"==typeof r||""===r?"":"number"!=typeof r||0===r||o in u||o.startsWith("--")?String(r).trim():r+"px")+";"));return n?[n+" {"].concat(i,["}"]):i}(t):t.toString()}var tg=function(t){return Array.isArray(t)&&(t.isCss=!0),t};function tm(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return A(t)||m(t)?tg(tp(g(v,[t].concat(n)))):0===n.length&&1===t.length&&"string"==typeof t[0]?t:tg(tp(g(t,n)))}var tv=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,ty=/(^-|-$)/g;function tA(t){return t.replace(tv,"-").replace(ty,"")}var tw=function(t){return J(Y(t)>>>0)};function tb(t){return"string"==typeof t}var tC=function(t){return"function"==typeof t||"object"==typeof t&&null!==t&&!Array.isArray(t)},tE=i.createContext();function tx(t){var e=(0,i.useContext)(tE),n=(0,i.useMemo)(function(){var n;return(n=t.theme)?A(n)?n(e):Array.isArray(n)||"object"!=typeof n?S(8):e?p({},e,{},n):n:S(14)},[t.theme,e]);return t.children?i.createElement(tE.Provider,{value:n},t.children):null}tE.Consumer;var tS={},tB=function(t){return function t(e,n,i){if(void 0===i&&(i=y),!(0,r.isValidElementType)(n))return S(1,String(n));var o=function(){return e(n,i,tm.apply(void 0,arguments))};return o.withConfig=function(r){return t(e,n,p({},i,{},r))},o.attrs=function(r){return t(e,n,p({}
1,i,{attrs:Array.prototype.concat(i.attrs,r).filter(Boolean)}))},o}(function t(e,n,r){var o=b(e),a=!tb(e),s=n.attrs,u=void 0===s?v:s,c=n.componentId,f=void 0===c?(x=n.displayName,S=n.parentComponentId,tS[B="string"!=typeof x?"sc":tA(x)]=(tS[B]||0)+1,I=B+"-"+tw("5.3.11"+B+tS[B]),S?S+"-"+I:I):c,h=n.displayName,g=void 0===h?tb(e)?"styled."+e:"Styled("+w(e)+")":h,m=n.displayName&&n.componentId?tA(n.displayName)+"-"+n.componentId:n.componentId||f,C=o&&e.attrs?Array.prototype.concat(e.attrs,u).filter(Boolean):u,E=n.shouldForwardProp;o&&e.shouldForwardProp&&(E=n.shouldForwardProp?function(t,r,i){return e.shouldForwardProp(t,r,i)&&n.shouldForwardProp(t,r,i)}:e.shouldForwardProp);var x,S,B,I,P,k=new Z(r,m,o?e.componentStyle:void 0),T=k.isStatic&&0===u.length,M=function(t,e){return function(t,e,n,r){var o,a,s,u,c,f,d,h=t.attrs,g=t.componentStyle,m=t.defaultProps,v=t.foldedComponentIds,w=t.shouldForwardProp,b=t.styledComponentId,C=t.target,E=(void 0===(o=(0,i.useContext)(tE),void 0===(a=m)&&(a=y),s=e.theme!==a.theme&&e.theme||o||a.theme||y)&&(s=y),u=p({},e,{theme:s}),c={},h.forEach(function(t){var e,n,r,i=t;for(e in A(i)&&(i=i(u)),i)u[e]=c[e]="className"===e?(n=c[e],r=i[e],n&&r?n+" "+r:n||r):i[e]}),[u,c]),x=E[0],S=E[1],B=(f=to(),d=(0,i.useContext)(tn)||ti,r?g.generateAndInjectStyles(y,f,d):g.generateAndInjectStyles(x,f,d)),I=S.$as||e.$as||S.as||e.as||C,P=tb(I),k=S!==e?p({},e,{},S):e,T={};for(var M in k)"$"!==M[0]&&"as"!==M&&("forwardedAs"===M?T.as=k[M]:(w?w(M,l,I):!P||l(M))&&(T[M]=k[M]));return e.style&&S.style!==e.style&&(T.style=p({},e.style,{},S.style)),T.className=Array.prototype.concat(v,b,B!==b?B:null,e.className,S.className).filter(Boolean).join(" "),T.ref=n,(0,i.createElement)(I,T)}(P,t,e,T)};return M.displayName=g,(P=i.forwardRef(M)).attrs=C,P.componentStyle=k,P.displayName=g,P.shouldForwardProp=E,P.foldedComponentIds=o?Array.prototype.concat(e.foldedComponentIds,e.styledComponentId):v,P.styledComponentId=m,P.target=o?e.target:e,P.withComponent=function(e){var i=n.componentId,o=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)e.indexOf(n=o[r])>=0||(i[n]=t[n]);return i}(n,["componentId"]),a=i&&i+"-"+(tb(e)?e:tA(w(e)));return t(e,p({},o,{attrs:C,componentId:a}),r)},Object.defineProperty(P,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(t){this._foldedDefaultProps=o?function t(e){for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];for(var o=0;o<r.length;o++){var a=r[o];if(tC(a))for(var s in a)"__proto__"!==s&&"constructor"!==s&&"prototype"!==s&&function(e,n,r){var i=e[r];tC(n)&&tC(i)?t(i,n):e[r]=n}(e,a[s],s)}return e}({},e.defaultProps,t):t}}),Object.defineProperty(P,"toString",{value:function(){return"."+P.styledComponentId}}),a&&d()(P,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0,withComponent:!0}),P},t)};function tI(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];var i=tm.apply(void 0,[t].concat(n)).join("");return new ts(tw(i),i)}["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","textPath","tspan"].forEach(function(t){tB[t]=tB(t)}),function(){var t=(function(t,e){this.rules=t,this.componentId=e,this.isStatic=W(t),H.registerId(this.componentId+1)}).prototype;t.createStyles=function(t,e,n,r){var i=r(tp(this.rules,e,n,r).join(""),""),o=this.componentId+t;n.insertRules(o,o,i)},t.removeStyles=function(t,e){e.clearRules(this.componentId+t)},t.renderStyles=function(t,e,n,r){t>2&&H.registerId(this.componentId+t),this.removeStyles(t,n),this.createStyles(t,e,n,r)}}(),function(){var t=(function(){var t=this;this._emitSheetCSS=function(){var e=t.instance.toString();if(!e)return"";var n=L();
1return"<style "+[n&&'nonce="'+n+'"',C+'="true"','data-styled-version="5.3.11"'].filter(Boolean).join(" ")+">"+e+"</style>"},this.getStyleTags=function(){return t.sealed?S(2):t._emitSheetCSS()},this.getStyleElement=function(){if(t.sealed)return S(2);var e,n=((e={})[C]="",e["data-styled-version"]="5.3.11",e.dangerouslySetInnerHTML={__html:t.instance.toString()},e),r=L();return r&&(n.nonce=r),[i.createElement("style",p({},n,{key:"sc-0-0"}))]},this.seal=function(){t.sealed=!0},this.instance=new H({isServer:!0}),this.sealed=!1}).prototype;t.collectStyles=function(t){return this.sealed?S(2):i.createElement(ta,{sheet:this.instance},t)},t.interleaveWithNodeStream=function(t){return S(3)}}();let tP=tB},96172:(t,e,n)=>{"use strict";var r=n(21749),i="function"==typeof Object.is?Object.is:function(t,e){return t===e&&(0!==t||1/t==1/e)||t!=t&&e!=e},o=r.useState,a=r.useEffect,s=r.useLayoutEffect,u=r.useDebugValue;function c(t){var e=t.getSnapshot;t=t.value;try{var n=e();return!i(t,n)}catch(t){return!0}}var l="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(t,e){return e()}:function(t,e){var n=e(),r=o({inst:{value:n,getSnapshot:e}}),i=r[0].inst,l=r[1];return s(function(){i.value=n,i.getSnapshot=e,c(i)&&l({inst:i})},[t,n,e]),a(function(){return c(i)&&l({inst:i}),t(function(){c(i)&&l({inst:i})})},[t]),u(n),n};e.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:l},25387:(t,e,n)=>{"use strict";var r=n(21749),i=n(13105),o="function"==typeof Object.is?Object.is:function(t,e){return t===e&&(0!==t||1/t==1/e)||t!=t&&e!=e},a=i.useSyncExternalStore,s=r.useRef,u=r.useEffect,c=r.useMemo,l=r.useDebugValue;e.useSyncExternalStoreWithSelector=function(t,e,n,r,i){var f=s(null);if(null===f.current){var d={hasValue:!1,value:null};f.current=d}else d=f.current;var h=a(t,(f=c(function(){function t(t){if(!u){if(u=!0,a=t,t=r(t),void 0!==i&&d.hasValue){var e=d.value;if(i(e,t))return s=e}return s=t}if(e=s,o(a,t))return e;var n=r(t);return void 0!==i&&i(e,n)?(a=t,e):(a=t,s=n)}var a,s,u=!1,c=void 0===n?null:n;return[function(){return t(e())},null===c?void 0:function(){return t(c())}]},[e,n,r,i]))[0],f[1]);return u(function(){d.hasValue=!0,d.value=h},[h]),l(h),h}},13105:(t,e,n)=>{"use strict";t.exports=n(96172)},40563:(t,e,n)=>{"use strict";t.exports=n(25387)},84772:(t,e,n)=>{"use strict";n.d(e,{sc:()=>l});var r=n(9550),i=n(93420);class o extends i.Vw{constructor(t,e,n,r){super(),this.blockLen=t,this.outputLen=e,this.padOffset=n,this.isLE=r,this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.buffer=new Uint8Array(t),this.view=(0,i.O8)(this.buffer)}update(t){(0,r.CC)(this);let{view:e,buffer:n,blockLen:o}=this,a=(t=(0,i.ZJ)(t)).length;for(let r=0;r<a;){let s=Math.min(o-this.pos,a-r);if(s===o){let e=(0,i.O8)(t);for(;o<=a-r;r+=o)this.process(e,r);continue}n.set(t.subarray(r,r+s),this.pos),this.pos+=s,r+=s,this.pos===o&&(this.process(e,0),this.pos=0)}return this.length+=t.length,this.roundClean(),this}digestInto(t){(0,r.CC)(this),(0,r.Ht)(t,this),this.finished=!0;let{buffer:e,view:n,blockLen:o,isLE:a}=this,{pos:s}=this;e[s++]=128,this.buffer.subarray(s).fill(0),this.padOffset>o-s&&(this.process(n,0),s=0);for(let t=s;t<o;t++)e[t]=0;!function(t,e,n,r){if("function"==typeof t.setBigUint64)return t.setBigUint64(e,n,r);let i=BigInt(32),o=BigInt(0xffffffff),a=Number(n>>i&o),s=Number(n&o),u=r?4:0,c=r?0:4;t.setUint32(e+u,a,r),t.setUint32(e+c,s,r)}(n,o-8,BigInt(8*this.length),a),this.process(n,0);let u=(0,i.O8)(t),c=this.outputLen;if(c%4)throw Error("_sha2: outputLen should be aligned to 32bit");let l=c/4,f=this.get();if(l>f.length)throw Error("_sha2: outputLen bigger than state");for(let t=0;t<l;t++)u.setUint32(4*t,f[t],a)}digest(){let{buffer:t,outputLen:e}=this;this.digestInto(t);let n=t.slice(0,e);return this.destroy(),n}_cloneInto(t){t||(t=new this.constructor),t.set(...this.get());let{blockLen:e,buffer:n,length:r,finished:i,destroyed:o,pos:a}=this;return t.length=r,t.pos=a,t.finished=i,t.destroyed=o,r%e&&t.buffer.set(n),t}}let a=new Uint32Array([0x428a2f98,0x71374491,0xb5c0fbcf,0xe9b5dba5,0x3956c25b,0x59f111f1,0x923f82a4,0xab1c5ed5,0xd807aa98,0x12835b01,0x243185be,0x550c7dc3,0x72be5d74,0x80deb1fe,0x9bdc06a7,0xc19bf174,0xe49b69c1,0xefbe4786,0xfc19dc6,0x240ca1cc,0x2de92c6f,0x4a7484aa,0x5cb0a9dc,0x76f988da,0x983e5152,0xa831c66d,0xb00327c8,0xbf597fc7,0xc6e00bf3,0xd5a79147,0x6ca6351,0x14292967,0x27b70a85,0x2e1b2138,0x4d2c6dfc,0x53380d13,0x650a7354,0x766a0abb,0x81c2c92e,0x92722c85,0xa2bfe8a1,0xa81a664b,0xc24b8b70,0xc
176c51a3,0xd192e819,0xd6990624,0xf40e3585,0x106aa070,0x19a4c116,0x1e376c08,0x2748774c,0x34b0bcb5,0x391c0cb3,0x4ed8aa4a,0x5b9cca4f,0x682e6ff3,0x748f82ee,0x78a5636f,0x84c87814,0x8cc70208,0x90befffa,0xa4506ceb,0xbef9a3f7,0xc67178f2]),s=new Uint32Array([0x6a09e667,0xbb67ae85,0x3c6ef372,0xa54ff53a,0x510e527f,0x9b05688c,0x1f83d9ab,0x5be0cd19]),u=new Uint32Array(64);class c extends o{constructor(){super(64,32,8,!1),this.A=0|s[0],this.B=0|s[1],this.C=0|s[2],this.D=0|s[3],this.E=0|s[4],this.F=0|s[5],this.G=0|s[6],this.H=0|s[7]}get(){let{A:t,B:e,C:n,D:r,E:i,F:o,G:a,H:s}=this;return[t,e,n,r,i,o,a,s]}set(t,e,n,r,i,o,a,s){this.A=0|t,this.B=0|e,this.C=0|n,this.D=0|r,this.E=0|i,this.F=0|o,this.G=0|a,this.H=0|s}process(t,e){for(let n=0;n<16;n++,e+=4)u[n]=t.getUint32(e,!1);for(let t=16;t<64;t++){let e=u[t-15],n=u[t-2],r=(0,i.Ow)(e,7)^(0,i.Ow)(e,18)^e>>>3,o=(0,i.Ow)(n,17)^(0,i.Ow)(n,19)^n>>>10;u[t]=o+u[t-7]+r+u[t-16]|0}let{A:n,B:r,C:o,D:s,E:c,F:l,G:f,H:d}=this;for(let t=0;t<64;t++){var h,p,g,m;let e=d+((0,i.Ow)(c,6)^(0,i.Ow)(c,11)^(0,i.Ow)(c,25))+((h=c)&l^~h&f)+a[t]+u[t]|0,v=((0,i.Ow)(n,2)^(0,i.Ow)(n,13)^(0,i.Ow)(n,22))+((p=n)&(g=r)^p&(m=o)^g&m)|0;d=f,f=l,l=c,c=s+e|0,s=o,o=r,r=n,n=e+v|0}n=n+this.A|0,r=r+this.B|0,o=o+this.C|0,s=s+this.D|0,c=c+this.E|0,l=l+this.F|0,f=f+this.G|0,d=d+this.H|0,this.set(n,r,o,s,c,l,f,d)}roundClean(){u.fill(0)}destroy(){this.set(0,0,0,0,0,0,0,0),this.buffer.fill(0)}}let l=(0,i.ld)(()=>new c)},1084:(t,e,n)=>{"use strict";n.d(e,{m:()=>u});var r=n(65669),i=n(67149),o=n(42286),a=n(34710),s=n(46691);function u(t={}){let e,c,l,f,d,h,p,g,m;return"3"===t.version||t.headlessMode?(0,r.U)(r=>({id:"coinbaseWalletSDK",name:"Coinbase Wallet",type:u.type,async connect({chainId:t}={}){try{let e=await this.getProvider(),n=(await e.request({method:"eth_requestAccounts"})).map(t=>(0,o.b)(t));l||(l=this.onAccountsChanged.bind(this),e.on("accountsChanged",l)),f||(f=this.onChainChanged.bind(this),e.on("chainChanged",f)),d||(d=this.onDisconnect.bind(this),e.on("disconnect",d));let r=await this.getChainId();if(t&&r!==t){let e=await this.switchChain({chainId:t}).catch(t=>{if(t.code===a.vx.code)throw t;return{id:r}});r=e?.id??r}return{accounts:n,chainId:r}}catch(t){if(/(user closed modal|accounts received is empty|user denied account)/i.test(t.message))throw new a.vx(t);throw t}},async disconnect(){let t=await this.getProvider();l&&(t.removeListener("accountsChanged",l),l=void 0),f&&(t.removeListener("chainChanged",f),f=void 0),d&&(t.removeListener("disconnect",d),d=void 0),t.disconnect(),t.close()},async getAccounts(){let t=await this.getProvider();return(await t.request({method:"eth_accounts"})).map(t=>(0,o.b)(t))},async getChainId(){let t=await this.getProvider();return Number(await t.request({method:"eth_chainId"}))}
1,async getProvider(){if(!c){e=new(await (async()=>{let{default:t}=await Promise.all([n.e(736),n.e(376)]).then(n.t.bind(n,67736,19));return"function"!=typeof t&&"function"==typeof t.default?t.default:t})())({...t,reloadOnDisconnect:!1});let i=e.walletExtension?.getChainId(),o=r.chains.find(e=>t.chainId?e.id===t.chainId:e.id===i)||r.chains[0],a=t.chainId||o?.id,s=t.jsonRpcUrl||o?.rpcUrls.default.http[0];c=e.makeWeb3Provider(s,a)}return c},async isAuthorized(){try{return!!(await this.getAccounts()).length}catch{return!1}},async switchChain({addEthereumChainParameter:t,chainId:e}){let n=r.chains.find(t=>t.id===e);if(!n)throw new a.ch(new i.nk);let o=await this.getProvider();try{return await o.request({method:"wallet_switchEthereumChain",params:[{chainId:(0,s.cK)(n.id)}]}),n}catch(r){if(4902===r.code)try{let r,i;r=t?.blockExplorerUrls?t.blockExplorerUrls:n.blockExplorers?.default.url?[n.blockExplorers?.default.url]:[],i=t?.rpcUrls?.length?t.rpcUrls:[n.rpcUrls.default?.http[0]??""];let a={blockExplorerUrls:r,chainId:(0,s.cK)(e),chainName:t?.chainName??n.name,iconUrls:t?.iconUrls,nativeCurrency:t?.nativeCurrency??n.nativeCurrency,rpcUrls:i};return await o.request({method:"wallet_addEthereumChain",params:[a]}),n}catch(t){throw new a.vx(t)}throw new a.ch(r)}},onAccountsChanged(t){0===t.length?this.onDisconnect():r.emitter.emit("change",{accounts:t.map(t=>(0,o.b)(t))})},onChainChanged(t){let e=Number(t);r.emitter.emit("change",{chainId:e})},async onDisconnect(t){r.emitter.emit("disconnect");let e=await this.getProvider();l&&(e.removeListener("accountsChanged",l),l=void 0),f&&(e.removeListener("chainChanged",f),f=void 0),d&&(e.removeListener("disconnect",d),d=void 0)}})):(0,r.U)(e=>({id:"coinbaseWalletSDK",name:"Coinbase Wallet",rdns:"com.coinbase.wallet",type:u.type,async connect({chainId:t,...e}={}){try{let n=await this.getProvider(),r=(await n.request({method:"eth_requestAccounts",params:"instantOnboarding"in e&&e.instantOnboarding?[{onboarding:"instant"}]:[]})).map(t=>(0,o.b)(t));p||(p=this.onAccountsChanged.bind(this),n.on("accountsChanged",p)),g||(g=this.onChainChanged.bind(this),n.on("chainChanged",g)),m||(m=this.onDisconnect.bind(this),n.on("disconnect",m));let i=await this.getChainId();if(t&&i!==t){let e=await this.switchChain({chainId:t}).catch(t=>{if(t.code===a.vx.code)throw t;return{id:i}});i=e?.id??i}return{accounts:r,chainId:i}}catch(t){if(/(user closed modal|accounts received is empty|user denied account|request rejected)/i.test(t.message))throw new a.vx(t);throw t}},async disconnect(){let t=await this.getProvider();p&&(t.removeListener("accountsChanged",p),p=void 0),g&&(t.removeListener("chainChanged",g),g=void 0),m&&(t.removeListener("disconnect",m),m=void 0),t.disconnect(),t.close?.()},async getAccounts(){let t=await this.getProvider();return(await t.request({method:"eth_accounts"})).map(t=>(0,o.b)(t))},async getChainId(){let t=await this.getProvider();return Number(await t.request({method:"eth_chainId"}))}
1,async getProvider(){if(!h){let r="string"==typeof t.preference?{options:t.preference}:{...t.preference,options:t.preference?.options??"all"},{createCoinbaseWalletSDK:i}=await Promise.all([n.e(990),n.e(102)]).then(n.bind(n,28102));h=i({...t,appChainIds:e.chains.map(t=>t.id),preference:r}).getProvider()}return h},async isAuthorized(){try{return!!(await this.getAccounts()).length}catch{return!1}},async switchChain({addEthereumChainParameter:t,chainId:n}){let r=e.chains.find(t=>t.id===n);if(!r)throw new a.ch(new i.nk);let o=await this.getProvider();try{return await o.request({method:"wallet_switchEthereumChain",params:[{chainId:(0,s.cK)(r.id)}]}),r}catch(e){if(4902===e.code)try{let e,i;e=t?.blockExplorerUrls?t.blockExplorerUrls:r.blockExplorers?.default.url?[r.blockExplorers?.default.url]:[],i=t?.rpcUrls?.length?t.rpcUrls:[r.rpcUrls.default?.http[0]??""];let a={blockExplorerUrls:e,chainId:(0,s.cK)(n),chainName:t?.chainName??r.name,iconUrls:t?.iconUrls,nativeCurrency:t?.nativeCurrency??r.nativeCurrency,rpcUrls:i};return await o.request({method:"wallet_addEthereumChain",params:[a]}),r}catch(t){throw new a.vx(t)}throw new a.ch(e)}},onAccountsChanged(t){0===t.length?this.onDisconnect():e.emitter.emit("change",{accounts:t.map(t=>(0,o.b)(t))})},onChainChanged(t){let n=Number(t);e.emitter.emit("change",{chainId:n})},async onDisconnect(t){e.emitter.emit("disconnect");let n=await this.getProvider();p&&(n.removeListener("accountsChanged",p),p=void 0),g&&(n.removeListener("chainChanged",g),g=void 0),m&&(n.removeListener("disconnect",m),m=void 0)}}))}u.type="coinbaseWallet"},73452:(t,e,n)=>{"use strict";n.d(e,{g:()=>s});var r=n(65669),i=n(76646),o=n(42286),a=n(48452);function s(t={}){let e,u;let{shimDisconnect:c=!1}=t;return(0,r.U)(r=>({id:"safe",name:"Safe",type:s.type,async connect(){let t=await this.getProvider();if(!t)throw new i.N;let e=await this.getAccounts(),n=await this.getChainId();return u||(u=this.onDisconnect.bind(this),t.on("disconnect",u)),c&&await r.storage?.removeItem("safe.disconnected"),{accounts:e,chainId:n}},async disconnect(){let t=await this.getProvider();if(!t)throw new i.N;u&&(t.removeListener("disconnect",u),u=void 0),c&&await r.storage?.setItem("safe.disconnected",!0)},async getAccounts(){let t=await this.getProvider();if(!t)throw new i.N;return(await t.request({method:"eth_accounts"})).map(o.b)}
1,async getProvider(){if("undefined"!=typeof window&&window?.parent!==window){if(!e){let{default:r}=await Promise.all([n.e(965),n.e(857)]).then(n.bind(n,60857)),i=new r(t),o=await (0,a.w)(()=>i.safe.getInfo(),{timeout:t.unstable_getInfoTimeout??10});if(!o)throw Error("Could not load Safe information");e=new(await (async()=>{let t=await Promise.all([n.e(965),n.e(990),n.e(540)]).then(n.t.bind(n,46540,19));return"function"!=typeof t.SafeAppProvider&&"function"==typeof t.default.SafeAppProvider?t.default.SafeAppProvider:t.SafeAppProvider})())(o,i)}return e}},async getChainId(){let t=await this.getProvider();if(!t)throw new i.N;return Number(t.chainId)},async isAuthorized(){try{if(c&&await r.storage?.getItem("safe.disconnected"))return!1;return!!(await this.getAccounts()).length}catch{return!1}},onAccountsChanged(){},onChainChanged(){},onDisconnect(){r.emitter.emit("disconnect")}}))}s.type="safe"},44247:(t,e,n)=>{"use strict";n.d(e,{u:()=>c});var r=n(65669),i=n(76646),o=n(67149),a=n(42286),s=n(34710),u=n(46691);function c(t){let e,l,f,d,h,p,g,m;let v=t.isNewChainsStale??!0;return(0,r.U)(r=>({id:"walletConnect",name:"WalletConnect",type:c.type,async setup(){let t=await this.getProvider().catch(()=>null);t&&(h||(h=this.onConnect.bind(this),t.on("connect",h)),g||(g=this.onSessionDelete.bind(this),t.on("session_delete",g)))},async connect({chainId:t,...e}={}){try{let n=await this.getProvider();if(!n)throw new i.N;p||(p=this.onDisplayUri,n.on("display_uri",p));let o=t;if(!o){let t=await r.storage?.getItem("state")??{};o=r.chains.some(e=>e.id===t.chainId)?t.chainId:r.chains[0]?.id}if(!o)throw Error("No chains found on connector.");let s=await this.isChainsStale();if(n.session&&s&&await n.disconnect(),!n.session||s){let t=r.chains.filter(t=>t.id!==o).map(t=>t.id);await n.connect({optionalChains:[o,...t],..."pairingTopic"in e?{pairingTopic:e.pairingTopic}:{}}),this.setRequestedChainsIds(r.chains.map(t=>t.id))}let u=(await n.enable()).map(t=>(0,a.b)(t)),c=await this.getChainId();return p&&(n.removeListener("display_uri",p),p=void 0),h&&(n.removeListener("connect",h),h=void 0),f||(f=this.onAccountsChanged.bind(this),n.on("accountsChanged",f)),d||(d=this.onChainChanged.bind(this),n.on("chainChanged",d)),m||(m=this.onDisconnect.bind(this),n.on("disconnect",m)),g||(g=this.onSessionDelete.bind(this),n.on("session_delete",g)),{accounts:u,chainId:c}}catch(t){if(/(user rejected|connection request reset)/i.test(t?.message))throw new s.vx(t);throw t}},async disconnect(){let t=await this.getProvider();try{await t?.disconnect()}catch(t){if(!/No matching key/i.test(t.message))throw t}finally{d&&(t?.removeListener("chainChanged",d),d=void 0),m&&(t?.removeListener("disconnect",m),m=void 0),h||(h=this.onConnect.bind(this),t?.on("connect",h)),f&&(t?.removeListener("accountsChanged",f),f=void 0),g&&(t?.removeListener("session_delete",g),g=void 0),this.setRequestedChainsIds([])}},async getAccounts(){return(await this.getProvider()).accounts.map(t=>(0,a.b)(t))},async getProvider({chainId:i}={}){async function o(){let e=r.chains.map(t=>t.id);if(!e.length)return;let{EthereumProvider:i}=await Promise.all([n.e(586),n.e(924),n.e(816)]).then(n.bind(n,72966));return await i.init({...t,disableProviderPing:!0,optionalChains:e,projectId:t.projectId,rpcMap:Object.fromEntries(r.chains.map(t=>{let[e]=function(t){let{chain:e}=t,n=e.rpcUrls.default.http[0];if(!t.transports)return[n];let r=t.transports?.[e.id]?.({chain:e});return(r?.value?.transports||[r]).map(({value:t})=>t?.url||n)}({chain:t,transports:r.transports});return[t.id,e]})),showQrModal:t.showQrModal??!0})}return e||(l||(l=o()),e=await l,e?.events.setMaxListeners(Number.POSITIVE_INFINITY)),i&&await this.switchChain?.({chainId:i}),e},async getChainId(){return(await this.getProvider()).chainId},async isAuthorized(){try{let[t,e]=await Promise.all([this.getAccounts(),this.getProvider()]);if(!t.length)return!1;if(await this.isChainsStale()&&e.session)return await e.disconnect().catch(()=>{}),!1;return!0}catch{return!1}},async switchChain({addEthereumChainParameter:t,chainId:e}){let n=await this.getProvider();if(!n)throw new i.N;let a=r.chains.find(t=>
1t.id===e);if(!a)throw new s.ch(new o.nk);try{await Promise.all([new Promise(t=>{let n=({chainId:i})=>{i===e&&(r.emitter.off("change",n),t())};r.emitter.on("change",n)}),n.request({method:"wallet_switchEthereumChain",params:[{chainId:(0,u.cK)(e)}]})]);let t=await this.getRequestedChainsIds();return this.setRequestedChainsIds([...t,e]),a}catch(r){if(/(user rejected)/i.test(r.message))throw new s.vx(r);try{let r,i;r=t?.blockExplorerUrls?t.blockExplorerUrls:a.blockExplorers?.default.url?[a.blockExplorers?.default.url]:[],i=t?.rpcUrls?.length?t.rpcUrls:[...a.rpcUrls.default.http];let o={blockExplorerUrls:r,chainId:(0,u.cK)(e),chainName:t?.chainName??a.name,iconUrls:t?.iconUrls,nativeCurrency:t?.nativeCurrency??a.nativeCurrency,rpcUrls:i};await n.request({method:"wallet_addEthereumChain",params:[o]});let s=await this.getRequestedChainsIds();return this.setRequestedChainsIds([...s,e]),a}catch(t){throw new s.vx(t)}}},onAccountsChanged(t){0===t.length?this.onDisconnect():r.emitter.emit("change",{accounts:t.map(t=>(0,a.b)(t))})},onChainChanged(t){let e=Number(t);r.emitter.emit("change",{chainId:e})},async onConnect(t){let e=Number(t.chainId),n=await this.getAccounts();r.emitter.emit("connect",{accounts:n,chainId:e})},async onDisconnect(t){this.setRequestedChainsIds([]),r.emitter.emit("disconnect");let e=await this.getProvider();f&&(e.removeListener("accountsChanged",f),f=void 0),d&&(e.removeListener("chainChanged",d),d=void 0),m&&(e.removeListener("disconnect",m),m=void 0),g&&(e.removeListener("session_delete",g),g=void 0),h||(h=this.onConnect.bind(this),e.on("connect",h))},onDisplayUri(t){r.emitter.emit("message",{type:"display_uri",data:t})},onSessionDelete(){this.onDisconnect()},getNamespaceChainsIds:()=>e?e.session?.namespaces.eip155?.accounts?.map(t=>Number.parseInt(t.split(":")[1]||""))??[]:[],async getRequestedChainsIds(){return await r.storage?.getItem(this.requestedChainsStorageKey)??[]},async isChainsStale(){if(!v)return!1;let t=r.chains.map(t=>t.id),e=this.getNamespaceChainsIds();if(e.length&&!e.some(e=>t.includes(e)))return!1;let n=await this.getRequestedChainsIds();return!t.every(t=>n.includes(t))},async setRequestedChainsIds(t){await r.storage?.setItem(this.requestedChainsStorageKey,t)},get requestedChainsStorageKey(){return`${this.id}.requestedChains`}}))}c.type="walletConnect"},85082:(t,e,n)=>{"use strict";function r(t){let e=t.state.current,n=t.state.connections.get(e),r=n?.accounts,i=r?.[0],o=t.chains.find(t=>t.id===n?.chainId),a=t.state.status;switch(a){case"connected":return{address:i,addresses:r,chain:o,chainId:n?.chainId,connector:n?.connector,isConnected:!0,isConnecting:!1,isDisconnected:!1,isReconnecting:!1,status:a};case"reconnecting":return{address:i,addresses:r,chain:o,chainId:n?.chainId,connector:n?.connector,isConnected:!!i,isConnecting:!1,isDisconnected:!1,isReconnecting:!0,status:a};case"connecting":return{address:i,addresses:r,chain:o,chainId:n?.chainId,connector:n?.connector,isConnected:!1,isConnecting:!0,isDisconnected:!1,isReconnecting:!1,status:a};case"disconnected":return{address:void 0,addresses:void 0,chain:void 0,chainId:void 0,connector:void 0,isConnected:!1,isConnecting:!1,isDisconnected:!0,isReconnecting:!1,status:a}}}n.d(e,{s:()=>r})},19711:(t,e,n)=>{"use strict";n.d(e,{F:()=>o});var r=n(26643),i=n(85082);function o(t,e){let{onChange:n}=e;return t.subscribe(()=>(0,i.s)(t),n,{equalityFn(t,e){let{connector:n,...i}=t,{connector:o,...a}=e;return(0,r.b)(i,a)&&n?.id===o?.id&&n?.uid===o?.uid}})}},65669:(t,e,n)=>{"use strict";function r(t){return t}n.d(e,{U:()=>r})},41038:(t,e,n)=>{"use strict";n.d(e,{b:()=>f});var r=n(42286),i=n(34710),o=n(48452),a=n(19085),s=n(46691),u=n(67149),c=n(76646),l=n(65669);function f(t={}){let e,n,p,g;let{shimDisconnect:m=!0,unstable_shimAsyncInject:v}=t;function y(){let e=t.target;if("function"==typeof e){let t=e();if(t)return t}return"object"==typeof e?e:"string"==typeof e?{...d[e]??{id:e,name:`${e[0].toUpperCase()}${e.slice(1)}`,provider:`is${e[0].toUpperCase()}${e.slice(1)}`}}:{id:"injected",name:"Injected",provider:t=>t?.ethereum}}return(0,l.U)(l=>({get icon(){return y().icon},get id(){return y().id},get name(){return y().name},get supportsSimulation(){return!0},type:f.type,async setup(){let n=await this.getProvider();n?.on&&t.target&&(p||(p=this.onConnect.bind(this),n.on("connect",p)),e||(e=this.onAccountsChanged.bind(this),n.on("accountsChanged",e)))},async connect({chainId:o,isReconnecting:a}={}){let s=await this.getProvider();if(!s)throw new c.N;let u=[];
1if(a)u=await this.getAccounts().catch(()=>[]);else if(m)try{let t=await s.request({method:"wallet_requestPermissions",params:[{eth_accounts:{}}]});(u=t[0]?.caveats?.[0]?.value?.map(t=>r.b(t))).length>0&&(u=await this.getAccounts())}catch(t){if(t.code===i.vx.code)throw new i.vx(t);if(t.code===i.qZ.code)throw t}try{u?.length||a||(u=(await s.request({method:"eth_requestAccounts"})).map(t=>(0,r.b)(t))),p&&(s.removeListener("connect",p),p=void 0),e||(e=this.onAccountsChanged.bind(this),s.on("accountsChanged",e)),n||(n=this.onChainChanged.bind(this),s.on("chainChanged",n)),g||(g=this.onDisconnect.bind(this),s.on("disconnect",g));let c=await this.getChainId();if(o&&c!==o){let t=await this.switchChain({chainId:o}).catch(t=>{if(t.code===i.vx.code)throw t;return{id:c}});c=t?.id??c}return m&&await l.storage?.removeItem(`${this.id}.disconnected`),t.target||await l.storage?.setItem("injected.connected",!0),{accounts:u,chainId:c}}catch(t){if(t.code===i.vx.code)throw new i.vx(t);if(t.code===i.qZ.code)throw new i.qZ(t);throw t}},async disconnect(){let e=await this.getProvider();if(!e)throw new c.N;n&&(e.removeListener("chainChanged",n),n=void 0),g&&(e.removeListener("disconnect",g),g=void 0),p||(p=this.onConnect.bind(this),e.on("connect",p));try{await (0,o.w)(()=>e.request({method:"wallet_revokePermissions",params:[{eth_accounts:{}}]}),{timeout:100})}catch{}m&&await l.storage?.setItem(`${this.id}.disconnected`,!0),t.target||await l.storage?.removeItem("injected.connected")},async getAccounts(){let t=await this.getProvider();if(!t)throw new c.N;return(await t.request({method:"eth_accounts"})).map(t=>(0,r.b)(t))},async getChainId(){let t=await this.getProvider();if(!t)throw new c.N;return Number(await t.request({method:"eth_chainId"}))},async getProvider(){let t;if("undefined"==typeof window)return;let e=y();return(t="function"==typeof e.provider?e.provider(window):"string"==typeof e.provider?h(window,e.provider):e.provider)&&!t.removeListener&&("off"in t&&"function"==typeof t.off?t.removeListener=t.off:t.removeListener=()=>{}),t},async isAuthorized(){try{if(m&&await l.storage?.getItem(`${this.id}.disconnected`)||!t.target&&!await l.storage?.getItem("injected.connected"))return!1;if(!await this.getProvider()){if(void 0!==v&&!1!==v){let t=async()=>("undefined"!=typeof window&&window.removeEventListener("ethereum#initialized",t),!!await this.getProvider()),e="number"==typeof v?v:1e3;if(await Promise.race([..."undefined"!=typeof window?[new Promise(e=>window.addEventListener("ethereum#initialized",()=>e(t()),{once:!0}))]:[],new Promise(n=>setTimeout(()=>n(t()),e))]))return!0}throw new c.N}return!!(await (0,a.b)(()=>this.getAccounts())).length}catch{return!1}},async switchChain({addEthereumChainParameter:t,chainId:e}){let n=await this.getProvider();if(!n)throw new c.N;let r=l.chains.find(t=>t.id===e);if(!r)throw new i.ch(new u.nk);let o=new Promise(t=>{let n=r=>{"chainId"in r&&r.chainId===e&&(l.emitter.off("change",n),t())};l.emitter.on("change",n)});try{return await Promise.all([n.request({method:"wallet_switchEthereumChain",params:[{chainId:(0,s.cK)(e)}]}).then(async()=>{await this.getChainId()===e&&l.emitter.emit("change",{chainId:e})}),o]),r}catch(a){if(4902===a.code||a?.data?.originalError?.code===4902)try{let a,u;let{default:c,...f}=r.blockExplorers??{};t?.blockExplorerUrls?a=t.blockExplorerUrls:c&&(a=[c.url,...Object.values(f).map(t=>t.url)]),u=t?.rpcUrls?.length?t.rpcUrls:[r.rpcUrls.default?.http[0]??""];let d={blockExplorerUrls:a,chainId:(0,s.cK)(e),chainName:t?.chainName??r.name,iconUrls:t?.iconUrls,nativeCurrency:t?.nativeCurrency??r.nativeCurrency,rpcUrls:u};return await Promise.all([n.request({method:"wallet_addEthereumChain",params:[d]}).then(async()=>{if(await this.getChainId()===e)l.emitter.emit("change",{chainId:e});else throw new i.vx(Error("User rejected switch after adding network."))}),o]),r}catch(t){throw new i.vx(t)}if(a.code===i.vx.code)throw new i.vx(a);throw new i.ch(a)}},async onAccountsChanged(t){if(0===t.length)this.onDisconnect();else if(l.emitter.listenerCount("connect")){let t=(await this.getChainId()).toString();this.onConnect({chainId:t}),m&&await l.storage?.removeItem(`${this.id}.disconnected`)}else l.emitter.emit("change",{accounts:t.map(t=>(0,r.b)(t))})},onChainChanged(t){let e=Number(t);l.emitter.emit("change",{chainId:e})},async onConnect(t){let r=await this.getAccounts();if(0===r.length)return;let i=Number(t.chainId);l.emitter.emit("connect",{accounts:r,chainId:i});let o=await this.getProvider();o&&(p&&(o.removeListener("connect",p),p=void 0),e||(e=this.onAccountsChanged.bind(this),o.on("accountsChanged",e)),n||(n=this.onChainChanged.bind(this),o.on("chainChanged",n)),g||(g=this.onDisconnect.bind(this),o.on("disconnect",g)))},async onDisconnect(t){let e=await this.getProvider();t&&1013===t.code&&e&&(await this.getAccounts()).length||(l.emitter.emit("disconnect"),e&&(n&&(e.removeListener("chainChanged",n),n=void 0),g&&(e.removeListener("disconnect",g),g=void 0),p||(p=this.onConnect.bind(this),e.on("connect",p))))}}))}f.type="injected";let d={coinbaseWallet:{id:"coinbaseWallet",name:"Coinbase Wallet",provider:t=>t?.coinbaseWalletExtension?t.coinbaseWalletExtension:h(t,"isCoinbaseWallet")},metaMask:{id:"metaMask",name:"MetaMask",provider:t=>h(t,t=>{if(!t.isMetaMask||t.isBraveWallet&&!t._events&&!t._state)return!1;for(let e of["isApexWallet","isAvalanche","isBitKeep","isBlockWallet","isKuCoinWallet","isMathWallet","isOkxWallet","isOKExWallet","isOneInchIOSWallet","isOneInchAndroidWallet","isOpera","isPhantom","isPortal","isRabby","isTokenPocket","isTokenary","isUniswapWallet","isZerion"])if(t[e])return!1;return!0})}
1,phantom:{id:"phantom",name:"Phantom",provider:t=>t?.phantom?.ethereum?t.phantom?.ethereum:h(t,"isPhantom")}};function h(t,e){function n(t){return"function"==typeof e?e(t):"string"!=typeof e||t[e]}let r=t.ethereum;return r?.providers?r.providers.find(t=>n(t)):r&&n(r)?r:void 0}},55130:(t,e,n)=>{"use strict";let r;n.d(e,{Z:()=>b});var i=n(76071);let o=t=>(e,n,r)=>{let i=r.subscribe;return r.subscribe=(t,e,n)=>{let o=t;if(e){let i=(null==n?void 0:n.equalityFn)||Object.is,a=t(r.getState());o=n=>{let r=t(n);if(!i(a,r)){let t=a;e(a=r,t)}},(null==n?void 0:n.fireImmediately)&&e(a,a)}return i(o)},t(e,n,r)},a=t=>e=>{try{let n=t(e);if(n instanceof Promise)return n;return{then:t=>a(t)(n),catch(t){return this}}}catch(t){return{then(t){return this},catch:e=>a(e)(t)}}},s=(t,e)=>(n,r,i)=>{let o,s={storage:function(t,e){let n;try{n=t()}catch(t){return}return{getItem:t=>{var e;let r=t=>null===t?null:JSON.parse(t,void 0),i=null!=(e=n.getItem(t))?e:null;return i instanceof Promise?i.then(r):r(i)},setItem:(t,e)=>n.setItem(t,JSON.stringify(e,void 0)),removeItem:t=>n.removeItem(t)}}(()=>localStorage),partialize:t=>t,version:0,merge:(t,e)=>({...e,...t}),...e},u=!1,c=new Set,l=new Set,f=s.storage;if(!f)return t((...t)=>{console.warn(`[zustand persist middleware] Unable to update item '${s.name}', the given storage is currently unavailable.`),n(...t)},r,i);let d=()=>{let t=s.partialize({...r()});return f.setItem(s.name,{state:t,version:s.version})},h=i.setState;i.setState=(t,e)=>{h(t,e),d()};let p=t((...t)=>{n(...t),d()},r,i);i.getInitialState=()=>p;let g=()=>{var t,e;if(!f)return;u=!1,c.forEach(t=>{var e;return t(null!=(e=r())?e:p)});let i=(null==(e=s.onRehydrateStorage)?void 0:e.call(s,null!=(t=r())?t:p))||void 0;return a(f.getItem.bind(f))(s.name).then(t=>{if(t){if("number"!=typeof t.version||t.version===s.version)return[!1,t.state];if(s.migrate)return[!0,s.migrate(t.state,t.version)];console.error("State loaded from storage couldn't be migrated since no migrate function was provided")}return[!1,void 0]}).then(t=>{var e;let[i,a]=t;if(n(o=s.merge(a,null!=(e=r())?e:p),!0),i)return d()}).then(()=>{null==i||i(o,void 0),o=r(),u=!0,l.forEach(t=>t(o))}).catch(t=>{null==i||i(void 0,t)})};return i.persist={setOptions:t=>{s={...s,...t},t.storage&&(f=t.storage)},clearStorage:()=>{null==f||f.removeItem(s.name)},getOptions:()=>s,rehydrate:()=>g(),hasHydrated:()=>u,onHydrate:t=>(c.add(t),()=>{c.delete(t)}),onFinishHydration:t=>(l.add(t),()=>{l.delete(t)})},s.skipHydration||g(),o||p},u=t=>{let e;let n=new Set,r=(t,r)=>{let i="function"==typeof t?t(e):t;if(!Object.is(i,e)){let t=e;e=(null!=r?r:"object"!=typeof i||null===i)?i:Object.assign({},e,i),n.forEach(n=>n(e,t))}},i=()=>e,o={setState:r,getState:i,getInitialState:()=>a,subscribe:t=>(n.add(t),()=>n.delete(t))},a=e=t(r,i,o);return o},c=t=>t?u(t):u;var l=n(41038),f=n(72979);class d{constructor(t){Object.defineProperty(this,"uid",{enumerable:!0,configurable:!0,writable:!0,value:t}),Object.defineProperty(this,"_emitter",{enumerable:!0,configurable:!0,writable:!0,value:new f.b})}on(t,e){this._emitter.on(t,e)}once(t,e){this._emitter.once(t,e)}off(t,e){this._emitter.off(t,e)}emit(t,...e){let n=e[0];this._emitter.emit(t,{uid:this.uid,...n})}listenerCount(t){return this._emitter.listenerCount(t)}}function h(t,e){return JSON.parse(t,(t,n)=>{let r=n;return r?.__type==="bigint"&&(r=BigInt(r.value)),r?.__type==="Map"&&(r=new Map(r.value)),e?.(t,r)??r})}function p(t,e){return t.slice(0,e).join(".")||"."}function g(t,e){let{length:n}=t;for(let r=0;r<n;++r)if(t[r]===e)return r+1;return 0}function m(t,e,n,r){return JSON.stringify(t,function(t,e){let n="function"==typeof t,r="function"==typeof e,i=[],o=[];return function(a,s){if("object"==typeof s){if(i.length){let t=g(i,this);0===t?i[i.length]=this:(i.splice(t),o.splice(t)),o[o.length]=a;let n=g(i,s);if(0!==n)return r?e.call(this,a,s,p(o,n)):`[ref=${p(o,n)}]`}else i[0]=s,o[0]=a}return n?t.call(this,a,s):s}}((t,n)=>{let r=n;return"bigint"==typeof r&&(r={__type:"bigint",value:n.toString()}),r instanceof Map&&(r={__type:"Map",value:Array.from(n.entries())}),e?.(t,r)??r},r),n??void 0)}let v={getItem:()=>null,setItem:()=>{},removeItem:()=>{}};var y=n(67149);let A=256;var w=n(18791);function b(t){let e;let{multiInjectedProviderDiscovery:n=!0,storage:a=function(t){let{deserialize:e=h,key:n="wagmi",serialize:r=m,storage:i=v}=t;function o(t){return t instanceof Promise?t.then(t=>t).catch(()=>null):t}return{...i,key:n,async getItem(t,r){let a=i.getItem(`${n}.${t}`),s=await o(a);return s?e(s)??null:r??null},async setItem(t,e){let a=`${n}.${t}`;null===e?await o(i.removeItem(a)):await o(i.setItem(a,r(e)))},async removeItem(t){await o(i.removeItem(`${n}.${t}`))}}}({storage:function(){let t="undefined"!=typeof window&&window.localStorage?window.localStorage:v;return{getItem:e=>t.getItem(e),removeItem(e){t.removeItem(e)},setItem(e,n){try{t.setItem(e,n)}catch{}}}}()}),syncConnectedChain:u=!0,ssr:f=!1,...p}=t,g="undefined"!=typeof window&&n?function(){let t=new Set,e=[],n=()=>(function(t){if("undefined"==typeof window)return;let e=e=>t(e.detail);return window.addEventListener("eip6963:announceProvider",e),window.dispatchEvent(new CustomEvent("eip6963:requestProvider")),()=>window.removeEventListener("eip6963:announceProvider",e)})(n=>{e.some(({info:t})=>t.uuid===n.info.uuid)||(e=[...e,n],t.forEach(t=>t(e,{added:[n]})))}),r=n();return{_listeners:()=>t,clear(){t.forEach(t=>t([],{removed:[...e]})),e=[]},destroy(){this.clear(),t.clear(),r?.()},findProvider:({rdns:t})=>e.find(e=>e.info.rdns===t),getProviders:()=>e,reset(){this.clear(),r?.(),r=n()},subscribe:(n,{emitImmediately:r}={})=>(t.add(n),r&&n(e,{added:e}),()=>t.delete(n))}}():void 0,b=c(()=>p.chains),C=c(()=>{let t=[],e=new Set;for(let n of p.connectors??[]){let r=E(n);if(t.push(r),!f&&r.rdns)for(let t of"string"==typeof r.rdns?[r.rdns]:r.rdns)e.add(t)}if(!f&&g)for(let n of g.getProviders())e.has(n.info.rdns)||t.push(E(x(n)));return t});function E(t){let e=new d(function(t=11){if(!r||A+t>512){r="",A=0;for(let t=0;t<256;t++)r+=(256+256*Math.random()|0).toString(16).substring(1)}return r.substring(A,A+++t)}()),n={...t({emitter:e,chains:b.getState(),storage:a,transports:p.transports}),emitter:e,uid:e.uid};return e.on("connect",M),n.setup?.(),n}function x(t){let{info:e}=t,n=t.provider;return(0,l.b)({target:{...e,id:e.rdns,provider:n}})}let S=new Map;function B(){return{chainId:b.getState()[0].id,connections:new Map,current:null,status:"disconnected"}}let I="0.0.0-canary-";e=w.r.startsWith(I)?Number.parseInt(w.r.replace(I,"")):Number.parseInt(w.r.split(".")[0]??"0");let P=c(o(a?s(B,{migrate(t,n){if(n===e)return t;let r=B(),i=k(t,r.chainId);return{...r,chainId:i}},name:"store",partialize:t=>({connections:{__type:"Map",value:Array.from(t.connections.entries()).map(([t,e])=>{let{id:n,name:r,type:i,uid:o}=e.connector;return[t,{...e,connector:{id:n,name:r,type:i,uid:o}}]})},chainId:t.chainId,current:t.current}),merge(t,e){"object"==typeof t&&t&&"status"in t&&delete t.status;let n=k(t,e.chainId);return{...e,...t,chainId:n}},skipHydration:f,storage:a,version:e}):B));function k(t,e){return t&&"object"==typeof t&&"chainId"in t&&"number"==typeof t.chainId&&b.getState().some(e=>e.id===t.chainId)?t.chainId:e}function T(t){P.setState(e=>{let n=e.connections.get(t.uid);return n?{...e,connections:new Map(e.connections).set(t.uid,{accounts:t.accounts??n.accounts,chainId:t.chainId??n.chainId,connector:n.connector})}:e})}function M(t){"connecting"!==P.getState().status&&"reconnecting"!==P.getState().status&&P.setState(e=>{let n=C.getState().find(e=>e.uid===t.uid);return n?(n.emitter.listenerCount("connect")&&n.emitter.off("connect",T),n.emitter.listenerCount("change")||n.emitter.on("change",T),n.emitter.listenerCount("disconnect")||n.emitter.on("disconnect",O),{...e,connections:new Map(e.connections).set(t.uid,{accounts:t.accounts,chainId:t.chainId,connector:n}),current:t.uid,status:"connected"}):e})}function O(t){P.setState(e=>{let n=e.connections.get(t.uid);if(n){let t=n.connector;t.emitter.listenerCount("change")&&n.connector.emitter.off("change",T),t.emitter.listenerCount("disconnect")&&n.connector.emitter.off("disconnect",O),t.emitter.listenerCount("connect")||n.connector.emitter.on("connect",M)}if(e.connections.delete(t.uid),0===e.connections.size)return{...e,connections:new Map,current:null,status:"disconnected"};let r=e.connections.values().next().value;return{...e,connections:new Map(e.connections),current:r.connector.uid}})}return P.setState(B()),u&&P.subscribe(({connections:t,current:e})=>e?t.get(e)?.chainId:void 0,t=>{if(b.getState().some(e=>e.id===t))return P.setState(e=>({...e,chainId:t??e.chainId}))}),g?.subscribe(t=>{let e=new Set,n=new Set;for(let t of C.getState())if(e.add(t.id),t.rdns)for(let e of"string"==typeof t.rdns?[t.rdns]:t.rdns)n.add(e);let r=[];for(let i of t){if(n.has(i.info.rdns))continue;let t=E(x(i));e.has(t.id)||r.push(t)}(!a||P.persist.hasHydrated())&&C.setState(t=>[...t,...r],!0)}),{get chains(){return b.getState()},get connectors(){return C.getState()},storage:a,getClient:function(t={}){let e;let n=t.chainId??P.getState().chainId,r=b.getState().find(t=>
1t.id===n);if(t.chainId&&!r)throw new y.nk;{let t=S.get(P.getState().chainId);if(t&&!r)return t;if(!r)throw new y.nk}{let t=S.get(n);if(t)return t}if(p.client)e=p.client({chain:r});else{let t=r.id,n=b.getState().map(t=>t.id),o={};for(let[e,r]of Object.entries(p))if("chains"!==e&&"client"!==e&&"connectors"!==e&&"transports"!==e){if("object"==typeof r){if(t in r)o[e]=r[t];else{if(n.some(t=>t in r))continue;o[e]=r}}else o[e]=r}e=(0,i.U)({...o,chain:r,batch:o.batch??{multicall:!0},transport:e=>p.transports[t]({...e,connectors:C})})}return S.set(n,e),e},get state(){return P.getState()},setState(t){let e;e="function"==typeof t?t(P.getState()):t;let n=B();"object"!=typeof e&&(e=n),Object.keys(n).some(t=>!(t in e))&&(e=n),P.setState(e,!0)},subscribe:(t,e,n)=>P.subscribe(t,e,n?{...n,fireImmediately:n.emitImmediately}:void 0),_internal:{mipd:g,store:P,ssr:!!f,syncConnectedChain:u,transports:p.transports,chains:{setState(t){let e="function"==typeof t?t(b.getState()):t;if(0!==e.length)return b.setState(e,!0)},subscribe:t=>b.subscribe(t)},connectors:{providerDetailToConnector:x,setup:E,setState:t=>C.setState("function"==typeof t?t(C.getState()):t,!0),subscribe:t=>C.subscribe(t)},events:{change:T,connect:M,disconnect:O}}}}},67149:(t,e,n)=>{"use strict";n.d(e,{HF:()=>c,aj:()=>s,gC:()=>a,nM:()=>o,nk:()=>i,xU:()=>u});var r=n(33428);class i extends r.C{constructor(){super("Chain not configured."),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"ChainNotConfiguredError"})}}class o extends r.C{constructor(){super("Connector already connected."),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"ConnectorAlreadyConnectedError"})}}class a extends r.C{constructor(){super("Connector not connected."),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"ConnectorNotConnectedError"})}}class s extends r.C{constructor({address:t,connector:e}){super(`Account "${t}" not found for connector "${e.name}".`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"ConnectorAccountNotFoundError"})}}class u extends r.C{constructor({connectionChainId:t,connectorChainId:e}){super(`The current chain of the connector (id: ${e}) does not match the connection's chain (id: ${t}).`,{metaMessages:[`Current Chain ID: ${e}`,`Expected Chain ID: ${t}`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"ConnectorChainMismatchError"})}}class c extends r.C{constructor({connector:t}){super(`Connector "${t.name}" unavailable while reconnecting.`,{details:"During the reconnection step, the only connector methods guaranteed to be available are: `id`, `name`, `type`, `uid`. All other methods are not guaranteed to be available until reconnection completes and connectors are fully restored. This error commonly occurs for connectors that asynchronously inject after reconnection has already started."}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"ConnectorUnavailableReconnectingError"})}}},76646:(t,e,n)=>{"use strict";n.d(e,{N:()=>i,V:()=>o});var r=n(33428);class i extends r.C{constructor(){super("Provider not found."),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"ProviderNotFoundError"})}}class o extends r.C{constructor({connector:t}){super(`"${t.name}" does not support programmatic chain switching.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"SwitchChainNotSupportedError"})}}},26643:(t,e,n)=>{"use strict";n.d(e,{b:()=>function t(e,n){if(e===n)return!0;if(e&&n&&"object"==typeof e&&"object"==typeof n){let r,i;if(e.constructor!==n.constructor)return!1;if(Array.isArray(e)&&Array.isArray(n)){if((r=e.length)!==n.length)return!1;for(i=r;0!=i--;)if(!t(e[i],n[i]))return!1;return!0}if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===n.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===n.toString();let o=Object.keys(e);if((r=o.length)!==Object.keys(n).length)return!1;for(i=r;0!=i--;)if(!Object.prototype.hasOwnProperty.call(n,o[i]))return!1;for(i=r;0!=i--;){let r=o[i];if(r&&!t(e[r],n[r]))return!1}return!0}return e!=e&&n!=n}})},72979:(t,e,n)=>{"use strict";n.d(e,{b:()=>r});var r=n(48756)},92709:(t,e,n)=>{"use strict";n.d(e,{N:()=>v});var r=n(11122),i=n(21749),o=n(77324),a=n(90713),s=n(8254);function u(){var t=(0,i.useRef)(!1);return(0,s.E)(function(){return t.current=!0,function(){t.current=!1}},[]),t}var c=n(16485),l=n(42397),f=n(91862),d=function(t){var e=t.children,n=t.initial,o=t.isPresent,a=t.onExitComplete,s=t.custom,u=t.presenceAffectsLayout,d=(0,l.M)(h),p=(0,f.B)(),g=(0,i.useMemo)(function(){return{id:p,initial:n,isPresent:o,custom:s,onExitComplete:function(t){var e,n;d.set(t,!0);try{for(var i=(0,r.Ju)(d.values()),o=i.next();!o.done;o=i.next())if(!o.value)return}catch(t){e={error:t}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(e)throw e.error}}null==a||a()},register:function(t){return d.set(t,!1),function(){return d.delete(t)}}}},u?void 0:[o]);return(0,i.useMemo)(function(){d.forEach(function(t,e){return d.set(e,!1)})},[o]),i.useEffect(function(){o||d.size||null==a||a()},[o]),i.createElement(c.t.Provider,{value:g},e)};function h(){return new Map}var p=n(63021),g=n(13011),m=function(t){return t.key||""},v=function(t){var e,n,c,l,f,h,v=t.children,y=t.custom,A=t.initial,w=void 0===A||A,b=t.onExitComplete,C=t.exitBeforeEnter,E=t.presenceAffectsLayout,x=void 0===E||E,S=(0,r.zs)((e=u(),c=(n=(0,r.zs)((0,i.useState)(0),2))[0],l=n[1],f=(0,i.useCallback)(function(){e.current&&l(c+1)},[c]),[(0,i.useCallback)(function(){return a.Ay.postRender(f)},[f]),c]),1)[0],B=(0,i.useContext)(p.L).forceRender;B&&(S=B);
1var I=u(),P=(h=[],i.Children.forEach(v,function(t){(0,i.isValidElement)(t)&&h.push(t)}),h),k=P,T=new Set,M=(0,i.useRef)(k),O=(0,i.useRef)(new Map).current,R=(0,i.useRef)(!0);if((0,s.E)(function(){R.current=!1,function(t,e){t.forEach(function(t){var n=m(t);e.set(n,t)})}(P,O),M.current=k}),(0,g.l)(function(){R.current=!0,O.clear(),T.clear()}),R.current)return i.createElement(i.Fragment,null,k.map(function(t){return i.createElement(d,{key:m(t),isPresent:!0,initial:!!w&&void 0,presenceAffectsLayout:x},t)}));k=(0,r.fX)([],(0,r.zs)(k),!1);for(var U=M.current.map(m),D=P.map(m),L=U.length,N=0;N<L;N++){var F=U[N];-1===D.indexOf(F)&&T.add(F)}return C&&T.size&&(k=[]),T.forEach(function(t){if(-1===D.indexOf(t)){var e=O.get(t);if(e){var n=U.indexOf(t);k.splice(n,0,i.createElement(d,{key:m(e),isPresent:!1,onExitComplete:function(){O.delete(t),T.delete(t);var e=M.current.findIndex(function(e){return e.key===t});if(M.current.splice(e,1),!T.size){if(M.current=P,!1===I.current)return;S(),b&&b()}},custom:y,presenceAffectsLayout:x},e))}}}),k=k.map(function(t){var e=t.key;return T.has(e)?t:i.createElement(d,{key:m(t),isPresent:!0,presenceAffectsLayout:x},t)}),"production"!==o._&&C&&k.length>1&&console.warn("You're attempting to animate multiple children within AnimatePresence, but its exitBeforeEnter prop is set to true. This will lead to odd visual behaviour."),i.createElement(i.Fragment,null,T.size?k:k.map(function(t){return(0,i.cloneElement)(t)}))}},84075:(t,e,n)=>{"use strict";n.d(e,{x:()=>u});var r=n(11122),i=n(21749),o=n(84156),a=n(46080),s=n(42397);function u(t){var e=t.children,n=t.isValidProp,u=(0,r.Tt)(t,["children","isValidProp"]);n&&(0,a.D)(n),(u=(0,r.Cl)((0,r.Cl)({},(0,i.useContext)(o.Q)),u)).isStatic=(0,s.M)(function(){return u.isStatic});var c=(0,i.useMemo)(function(){return u},[JSON.stringify(u.transition),u.transformPagePoint,u.reducedMotion]);return i.createElement(o.Q.Provider,{value:c},e)}},63021:(t,e,n)=>{"use strict";n.d(e,{L:()=>r});var r=(0,n(21749).createContext)({})},84156:(t,e,n)=>{"use strict";n.d(e,{Q:()=>r});var r=(0,n(21749).createContext)({transformPagePoint:function(t){return t},isStatic:!1,reducedMotion:"never"})},16485:(t,e,n)=>{"use strict";n.d(e,{t:()=>r});var r=(0,n(21749).createContext)(null)},31422:(t,e,n)=>{"use strict";n.d(e,{P:()=>ij});var r,i,o=n(11122),a=n(21749),s=n(77324),u=function(t){return{isEnabled:function(e){return t.some(function(t){return!!e[t]})}}},c={measureLayout:u(["layout","layoutId","drag"]),animation:u(["animate","exit","variants","whileHover","whileTap","whileFocus","whileDrag","whileInView"]),exit:u(["exit"]),drag:u(["drag","dragControls"]),focus:u(["whileFocus"]),hover:u(["whileHover","onHoverStart","onHoverEnd"]),tap:u(["whileTap","onTap","onTapStart","onTapCancel"]),pan:u(["onPan","onPanStart","onPanSessionStart","onPanEnd"]),inView:u(["whileInView","onViewportEnter","onViewportLeave"])},l=n(73432),f=(0,a.createContext)({strict:!1}),d=Object.keys(c),h=d.length,p=n(84156),g=(0,a.createContext)({}),m=n(16485),v=n(8254),y=n(60276),A={current:null},w=!1;function b(t){return"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}function C(t){return Array.isArray(t)}function E(t){return"string"==typeof t||C(t)}function x(t,e,n,r,i){var o;return void 0===r&&(r={}),void 0===i&&(i={}),"function"==typeof e&&(e=e(null!=n?n:t.custom,r,i)),"string"==typeof e&&(e=null===(o=t.variants)||void 0===o?void 0:o[e]),"function"==typeof e&&(e=e(null!=n?n:t.custom,r,i)),e}function S(t,e,n){var r,i,o=t.getProps();return x(o,e,null!=n?n:o.custom,(r={},t.forEachValue(function(t,e){return r[e]=t.get()}),r),(i={},t.forEachValue(function(t,e){return i[e]=t.getVelocity()}),i))}function B(t){var e;return"function"==typeof(null===(e=t.animate)||void 0===e?void 0:e.start)||E(t.initial)||E(t.animate)||E(t.whileHover)||E(t.whileDrag)||E(t.whileTap)||E(t.whileFocus)||E(t.exit)}function I(t){return!!(B(t)||t.variants)}function P(t){return Array.isArray(t)?t.join(" "):t}var k=n(42397),T={hasAnimatedSinceResize:!0,hasEverUpdated:!1},M=1,O=n(63021),R=(0,a.createContext)({}),U=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,o.C6)(e,t),e.prototype.getSnapshotBeforeUpdate=function(){return this.updateProps(),null},e.prototype.componentDidUpdate=function(){},e.prototype.updateProps=function(){var t=this.props,e=t.visualElement,n=t.props;e&&e.setProps(n)},e.prototype.render=function(){return this.props.children},e}(a.Component),D=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","svg","switch","symbol","text","tspan","use","view"];function L(t){if("string"!=typeof t||t.includes("-"));else if(D.indexOf(t)>-1||/[A-Z]/.test(t))return!0;return!1}var N={},F=["","X","Y","Z"],j=["transformPerspective","x","y","z"];function V(t,e){return j.indexOf(t)-j.indexOf(e)}["translate","scale","rotate","skew"].forEach(function(t){return F.forEach(function(e){return j.push(t+e)})});var Q=new Set(j);function z(t){return Q.has(t)}var H=new Set(["originX","originY","originZ"]);function G(t,e){var n=e.layout,r=e.layoutId;return z(t)||H.has(t)||(n||void 0!==r)&&(!!N[t]||"opacity"===t)}var K=function(t){return!!(null!==t&&"object"==typeof t&&t.getVelocity)},J={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"};function q(t){return t.startsWith("--")}let Y=(t,e)=>n=>Math.max(Math.min(n,e),t),W=t=>
1t%1?Number(t.toFixed(5)):t,X=/(-)?([\d]*\.?[\d])+/g,Z=/(#[0-9a-f]{6}|#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))/gi,_=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))$/i;function $(t){return"string"==typeof t}let tt=t=>({test:e=>$(e)&&e.endsWith(t)&&1===e.split(" ").length,parse:parseFloat,transform:e=>`${e}${t}`}),te=tt("deg"),tn=tt("%"),tr=tt("px"),ti=tt("vh"),to=tt("vw"),ta=Object.assign(Object.assign({},tn),{parse:t=>tn.parse(t)/100,transform:t=>tn.transform(100*t)}),ts={test:t=>"number"==typeof t,parse:parseFloat,transform:t=>t},tu=Object.assign(Object.assign({},ts),{transform:Y(0,1)}),tc=Object.assign(Object.assign({},ts),{default:1});var tl=(0,o.Cl)((0,o.Cl)({},ts),{transform:Math.round}),tf={borderWidth:tr,borderTopWidth:tr,borderRightWidth:tr,borderBottomWidth:tr,borderLeftWidth:tr,borderRadius:tr,radius:tr,borderTopLeftRadius:tr,borderTopRightRadius:tr,borderBottomRightRadius:tr,borderBottomLeftRadius:tr,width:tr,maxWidth:tr,height:tr,maxHeight:tr,size:tr,top:tr,right:tr,bottom:tr,left:tr,padding:tr,paddingTop:tr,paddingRight:tr,paddingBottom:tr,paddingLeft:tr,margin:tr,marginTop:tr,marginRight:tr,marginBottom:tr,marginLeft:tr,rotate:te,rotateX:te,rotateY:te,rotateZ:te,scale:tc,scaleX:tc,scaleY:tc,scaleZ:tc,skew:te,skewX:te,skewY:te,distance:tr,translateX:tr,translateY:tr,translateZ:tr,x:tr,y:tr,z:tr,perspective:tr,transformPerspective:tr,opacity:tu,originX:ta,originY:ta,originZ:tr,zIndex:tl,fillOpacity:tu,strokeOpacity:tu,numOctaves:tl};function td(t,e,n,r){var i,o,a,s,u=t.style,c=t.vars,l=t.transform,f=t.transformKeys,d=t.transformOrigin;f.length=0;var h=!1,p=!1,g=!0;for(var m in e){var v=e[m];if(q(m)){c[m]=v;continue}var y=tf[m],A=y&&"number"==typeof v?y.transform(v):v;if(z(m)){if(h=!0,l[m]=A,f.push(m),!g)continue;v!==(null!==(s=y.default)&&void 0!==s?s:0)&&(g=!1)}else H.has(m)?(d[m]=A,p=!0):u[m]=A}h?u.transform=function(t,e,n,r){var i=t.transform,o=t.transformKeys,a=e.enableHardwareAcceleration,s=e.allowTransformNone,u="";o.sort(V);for(var c=!1,l=o.length,f=0;f<l;f++){var d=o[f];u+="".concat(J[d]||d,"(").concat(i[d],") "),"z"===d&&(c=!0)}return!c&&(void 0===a||a)?u+="translateZ(0)":u=u.trim(),r?u=r(i,n?"":u):(void 0===s||s)&&n&&(u="none"),u}(t,n,g,r):r?u.transform=r({},""):!e.transform&&u.transform&&(u.transform="none"),p&&(u.transformOrigin=(i=d.originX,o=d.originY,a=d.originZ,"".concat(void 0===i?"50%":i," ").concat(void 0===o?"50%":o," ").concat(void 0===a?0:a)))}var th=function(){return{style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}}};function tp(t,e,n){for(var r in e)K(e[r])||G(r,n)||(t[r]=e[r])}var tg=n(46080);function tm(t,e,n){return"string"==typeof t?t:tr.transform(e+n*t)}var tv={offset:"stroke-dashoffset",array:"stroke-dasharray"},ty={offset:"strokeDashoffset",array:"strokeDasharray"};function tA(t,e,n,r){var i,a,s,u,c,l,f,d,h,p,g=e.attrX,m=e.attrY,v=e.originX,y=e.originY,A=e.pathLength,w=e.pathSpacing,b=e.pathOffset;td(t,(0,o.Tt)(e,["attrX","attrY","originX","originY","pathLength","pathSpacing","pathOffset"]),n,r),t.attrs=t.style,t.style={};var C=t.attrs,E=t.style,x=t.dimensions;C.transform&&(x&&(E.transform=C.transform),delete C.transform),x&&(void 0!==v||void 0!==y||E.transform)&&(E.transformOrigin=(i=void 0!==v?v:.5,a=void 0!==y?y:.5,s=tm(i,x.x,x.width),u=tm(a,x.y,x.height),"".concat(s," ").concat(u))),void 0!==g&&(C.x=g),void 0!==m&&(C.y=m),void 0!==A&&(f=!1,void 0===(c=void 0===w?1:w)&&(c=1),void 0===(l=void 0===b?0:b)&&(l=0),void 0===f&&(f=!0),C.pathLength=1,C[(d=f?tv:ty).offset]=tr.transform(-l),h=tr.transform(A),p=tr.transform(c),C[d.array]="".concat(h," ").concat(p))}var tw=function(){return(0,o.Cl)((0,o.Cl)({},th()),{attrs:{}})},tb=/([a-z])([A-Z])/g,tC=function(t){return t.replace(tb,"$1-$2").toLowerCase()};function tE(t,e,n,r){var i=e.style,o=e.vars;for(var a in Object.assign(t.style,i,r&&r.getProjectionStyles(n)),o)t.style.setProperty(a,o[a])}var tx=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength"]);function tS(t,e,n,r){for(var i in tE(t,e,void 0,r),e.attrs)t.setAttribute(tx.has(i)?i:tC(i),e.attrs[i])}function tB(t){var e=t.style,n={};for(var r in e)(K(e[r])||G(r,t))&&(n[r]=e[r]);return n}function tI(t){var e=tB(t);for(var n in t)K(t[n])&&(e["x"===n||"y"===n?"attr"+n.toUpperCase():n]=t[n]);return e}function tP(t){return"object"==typeof t&&"function"==typeof t.start}var tk=function(t){return Array.isArray(t)},tT=function(t){return tk(t)?t[t.length-1]||0:t};function tM(t){var e=K(t)?t.get():t;return e&&"object"==typeof e&&e.mix&&e.toValue?e.toValue():e}function tO(t,e,n,r){var i=t.scrapeMotionValuesFromProps,a=t.createRenderState,s=t.onMount,u={latestValues:function(t,e,n,r){var i={},a=(null==n?void 0:n.initial)===!1,s=r(t);for(var u in s)i[u]=tM(s[u]);
1var c=t.initial,l=t.animate,f=B(t),d=I(t);e&&d&&!f&&!1!==t.inherit&&(null!=c||(c=e.initial),null!=l||(l=e.animate));var h=a||!1===c,p=h?l:c;return p&&"boolean"!=typeof p&&!tP(p)&&(Array.isArray(p)?p:[p]).forEach(function(e){var n=x(t,e);if(n){var r=n.transitionEnd;n.transition;var a=(0,o.Tt)(n,["transitionEnd","transition"]);for(var s in a){var u=a[s];if(Array.isArray(u)){var c=h?u.length-1:0;u=u[c]}null!==u&&(i[s]=u)}for(var s in r)i[s]=r[s]}}),i}(e,n,r,i),renderState:a()};return s&&(u.mount=function(t){return s(e,t,u)}),u}var tR=function(t){return function(e,n){var r=(0,a.useContext)(g),i=(0,a.useContext)(m.t);return n?tO(t,e,r,i):(0,k.M)(function(){return tO(t,e,r,i)})}},tU={useVisualState:tR({scrapeMotionValuesFromProps:tI,createRenderState:tw,onMount:function(t,e,n){var r=n.renderState,i=n.latestValues;try{r.dimensions="function"==typeof e.getBBox?e.getBBox():e.getBoundingClientRect()}catch(t){r.dimensions={x:0,y:0,width:0,height:0}}tA(r,i,{enableHardwareAcceleration:!1},t.transformTemplate),tS(e,r)}})},tD={useVisualState:tR({scrapeMotionValuesFromProps:tB,createRenderState:th})};function tL(t,e,n,r){return void 0===r&&(r={passive:!0}),t.addEventListener(e,n,r),function(){return t.removeEventListener(e,n)}}function tN(t,e,n,r){(0,a.useEffect)(function(){var i=t.current;if(n&&i)return tL(i,e,n,r)},[t,e,n,r])}function tF(t){return"undefined"!=typeof PointerEvent&&t instanceof PointerEvent?!("mouse"!==t.pointerType):t instanceof MouseEvent}!function(t){t.Animate="animate",t.Hover="whileHover",t.Tap="whileTap",t.Drag="whileDrag",t.Focus="whileFocus",t.InView="whileInView",t.Exit="exit"}(r||(r={}));var tj={pageX:0,pageY:0};function tV(t,e){var n,r,i;return void 0===e&&(e="page"),{point:t.touches?(void 0===(n=e)&&(n="page"),{x:(r=t.touches[0]||t.changedTouches[0]||tj)[n+"X"],y:r[n+"Y"]}):(void 0===(i=e)&&(i="page"),{x:t[i+"X"],y:t[i+"Y"]})}}var tQ=function(t,e){void 0===e&&(e=!1);var n=function(e){return t(e,tV(e))};return e?function(t){var e=t instanceof MouseEvent;(!e||e&&0===t.button)&&n(t)}:n},tz={pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointercancel:"mousecancel",pointerover:"mouseover",pointerout:"mouseout",pointerenter:"mouseenter",pointerleave:"mouseleave"},tH={pointerdown:"touchstart",pointermove:"touchmove",pointerup:"touchend",pointercancel:"touchcancel"};function tG(t){if(y.B&&null===window.onpointerdown);else if(y.B&&null===window.ontouchstart)return tH[t];else if(y.B&&null===window.onmousedown)return tz[t];return t}function tK(t,e,n,r){return tL(t,tG(e),tQ(n,"pointerdown"===e),r)}function tJ(t,e,n,r){return tN(t,tG(e),n&&tQ(n,"pointerdown"===e),r)}function tq(t){var e=null;return function(){return null===e&&(e=t,function(){e=null})}}var tY=tq("dragHorizontal"),tW=tq("dragVertical");function tX(t){var e=!1;if("y"===t)e=tW();else if("x"===t)e=tY();else{var n=tY(),r=tW();n&&r?e=function(){n(),r()}:(n&&n(),r&&r())}return e}function tZ(){var t=tX(!0);return!t||(t(),!1)}function t_(t,e,n){return function(i,o){var a;!tF(i)||tZ()||(null===(a=t.animationState)||void 0===a||a.setActive(r.Hover,e),null==n||n(i,o))}}var t$=function(t,e){return!!e&&(t===e||t$(t,e.parentElement))},t0=n(13011);let t1=(t,e)=>n=>e(t(n)),t2=(...t)=>t.reduce(t1);var t5=new Set,t3=new WeakMap,t4=new WeakMap,t6=function(t){var e;null===(e=t3.get(t.target))||void 0===e||e(t)},t8=function(t){t.forEach(t6)},t9={some:0,all:1},t7=function(t){return function(e){return t(e),null}},et={inView:t7(function(t){var e=t.visualElement,n=t.whileInView,i=t.onViewportEnter,u=t.onViewportLeave,c=t.viewport,l=void 0===c?{}:c,f=(0,a.useRef)({hasEnteredView:!1,isInView:!1}),d=!!(n||i||u);l.once&&f.current.hasEnteredView&&(d=!1),("undefined"==typeof IntersectionObserver?function(t,e,n,i){var o=i.fallback,u=void 0===o||o;(0,a.useEffect)(function(){if(t&&u){if("production"!==s._){var i;i="IntersectionObserver not available on this device. whileInView animations will trigger on mount.",t5.has(i)||(console.warn(i),t5.add(i))}requestAnimationFrame(function(){e.hasEnteredView=!0;var t,i=n.getProps().onViewportEnter;null==i||i(null),null===(t=n.animationState)||void 0===t||t.setActive(r.InView,!0)})}},[t])}:function(t,e,n,i){var s=i.root,u=i.margin,c=i.amount,l=void 0===c?"some":c,f=i.once;(0,a.useEffect)(function(){if(t){var i,a,c,d,h,p,g,m,v={root:null==s?void 0:s.current,rootMargin:u,threshold:"number"==typeof l?l:t9[l]};return i=n.getInstance(),a=function(t){var i,o=t.isIntersecting;
1if(e.isInView!==o){if(e.isInView=o,f&&!o&&e.hasEnteredView)return;o&&(e.hasEnteredView=!0),null===(i=n.animationState)||void 0===i||i.setActive(r.InView,o);var a=n.getProps(),s=o?a.onViewportEnter:a.onViewportLeave;null==s||s(t)}},c=v.root,d=(0,o.Tt)(v,["root"]),h=c||document,t4.has(h)||t4.set(h,{}),(p=t4.get(h))[g=JSON.stringify(d)]||(p[g]=new IntersectionObserver(t8,(0,o.Cl)({root:c},d))),m=p[g],t3.set(i,a),m.observe(i),function(){t3.delete(i),m.unobserve(i)}}},[t,s,u,l])})(d,f.current,e,l)}),tap:t7(function(t){var e=t.onTap,n=t.onTapStart,i=t.onTapCancel,o=t.whileTap,s=t.visualElement,u=e||n||i||o,c=(0,a.useRef)(!1),l=(0,a.useRef)(null),f={passive:!(n||e||i||m)};function d(){var t;null===(t=l.current)||void 0===t||t.call(l),l.current=null}function h(){var t;return d(),c.current=!1,null===(t=s.animationState)||void 0===t||t.setActive(r.Tap,!1),!tZ()}function p(t,n){h()&&(t$(s.getInstance(),t.target)?null==e||e(t,n):null==i||i(t,n))}function g(t,e){h()&&(null==i||i(t,e))}function m(t,e){var i;d(),c.current||(c.current=!0,l.current=t2(tK(window,"pointerup",p,f),tK(window,"pointercancel",g,f)),null===(i=s.animationState)||void 0===i||i.setActive(r.Tap,!0),null==n||n(t,e))}tJ(s,"pointerdown",u?m:void 0,f),(0,t0.l)(d)}),focus:t7(function(t){var e=t.whileFocus,n=t.visualElement;tN(n,"focus",e?function(){var t;null===(t=n.animationState)||void 0===t||t.setActive(r.Focus,!0)}:void 0),tN(n,"blur",e?function(){var t;null===(t=n.animationState)||void 0===t||t.setActive(r.Focus,!1)}:void 0)}),hover:t7(function(t){var e=t.onHoverStart,n=t.onHoverEnd,r=t.whileHover,i=t.visualElement;tJ(i,"pointerenter",e||r?t_(i,!0,e):void 0,{passive:!e}),tJ(i,"pointerleave",n||r?t_(i,!1,n):void 0,{passive:!n})})},ee=n(91862);function en(){var t=(0,a.useContext)(m.t);if(null===t)return[!0,null];var e=t.isPresent,n=t.onExitComplete,r=t.register,i=(0,ee.B)();return(0,a.useEffect)(function(){return r(i)},[]),!e&&n?[!1,function(){return null==n?void 0:n(i)}]:[!0]}function er(t,e){if(!Array.isArray(e))return!1;var n=e.length;if(n!==t.length)return!1;for(var r=0;r<n;r++)if(e[r]!==t[r])return!1;return!0}let ei=(t,e,n)=>Math.min(Math.max(n,t),e);function eo(t,e){return t*Math.sqrt(1-e*e)}let ea=["duration","bounce"],es=["stiffness","damping","mass"];function eu(t,e){return e.some(e=>void 0!==t[e])}function ec(t){var{from:e=0,to:n=1,restSpeed:r=2,restDelta:i}=t,a=(0,o.Tt)(t,["from","to","restSpeed","restDelta"]);let s={done:!1,value:e},{stiffness:u,damping:c,mass:f,velocity:d,duration:h,isResolvedFromDuration:p}=function(t){let e=Object.assign({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},t);if(!eu(t,es)&&eu(t,ea)){let n=function({duration:t=800,bounce:e=.25,velocity:n=0,mass:r=1}){let i,o;(0,l.$)(t<=1e4,"Spring duration must be 10 seconds or less");let a=1-e;a=ei(.05,1,a),t=ei(.01,10,t/1e3),a<1?(i=e=>{let r=e*a,i=r*t;return .001-(r-n)/eo(e,a)*Math.exp(-i)},o=e=>{let r=e*a*t,o=Math.pow(a,2)*Math.pow(e,2)*t,s=Math.exp(-r),u=eo(Math.pow(e,2),a);return(r*n+n-o)*s*(-i(e)+.001>0?-1:1)/u}):(i=e=>-.001+Math.exp(-e*t)*((e-n)*t+1),o=e=>t*t*(n-e)*Math.exp(-e*t));let s=function(t,e,n){let r=n;for(let n=1;n<12;n++)r-=t(r)/e(r);return r}(i,o,5/t);if(t*=1e3,isNaN(s))return{stiffness:100,damping:10,duration:t};{let e=Math.pow(s,2)*r;return{stiffness:e,damping:2*a*Math.sqrt(r*e),duration:t}}}(t);(e=Object.assign(Object.assign(Object.assign({},e),n),{velocity:0,mass:1})).isResolvedFromDuration=!0}return e}(a),g=el,m=el;function v(){let t=d?-(d/1e3):0,r=n-e,o=c/(2*Math.sqrt(u*f)),a=Math.sqrt(u/f)/1e3;if(void 0===i&&(i=Math.min(Math.abs(n-e)/100,.4)),o<1){let e=eo(a,o);g=i=>n-Math.exp(-o*a*i)*((t+o*a*r)/e*Math.sin(e*i)+r*Math.cos(e*i)),m=n=>{let i=Math.exp(-o*a*n);return o*a*i*(Math.sin(e*n)*(t+o*a*r)/e+r*Math.cos(e*n))-i*(Math.cos(e*n)*(t+o*a*r)-e*r*Math.sin(e*n))}}else if(1===o)g=e=>n-Math.exp(-a*e)*(r+(t+a*r)*e);else{let e=a*Math.sqrt(o*o-1);g=i=>{let s=Math.exp(-o*a*i),u=Math.min(e*i,300);return n-s*((t+o*a*r)*Math.sinh(u)+e*r*Math.cosh(u))/e}}}return v(),{next:t=>{let e=g(t);if(p)s.done=t>=h;else{let o=Math.abs(1e3*m(t))<=r,a=Math.abs(n-e)<=i;s.done=o&&a}return s.value=s.done?n:e,s},flipTarget:()=>{d=-d,[e,n]=[n,e],v()}}}ec.needsInterpolation=(t,e)=>"string"==typeof t||"string"==typeof e;let el=t=>0,ef=(t,e,n)=>{let r=e-t;return 0===r?1:(n-t)/r},ed=(t,e,n)=>-n*t+n*e+t,eh=(t,e)=>n=>!!($(n)&&_.test(n)&&n.startsWith(t)||e&&Object.prototype.hasOwnProperty.call(n,e)),ep=(t,e,n)=>r=>{if(!$(r))return r;let[i,o,a,s]=r.match(X);return{[t]:parseFloat(i),[e]:parseFloat(o),[n]:parseFloat(a),alpha:void 0!==s?parseFloat(s):1}},eg=Y(0,255),em=Object.assign(Object.assign({},ts),{transform:t=>Math.round(eg(t))}),ev={test:eh("rgb","red"),parse:ep("red","green","blue"),transform:({red:t,green:e,blue:n,alpha:r=1})=>"rgba("+em.transform(t)+", "+em.transform(e)+", "+em.transform(n)+", "+W(tu.transform(r))+")"},ey={test:eh("#"),parse:function(t){let e="",n="",r="",i="";return t.length>5?(e=t.substr(1,2),n=t.substr(3,2),r=t.substr(5,2),i=t.substr(7,2)):(e=t.substr(1,1),n=t.substr(2,1),r=t.substr(3,1),i=t.substr(4,1),e+=e,n+=n,r+=r,i+=i),{red:parseInt(e,16),green:parseInt(n,16),blue:parseInt(r,16),alph
1a:i?parseInt(i,16)/255:1}},transform:ev.transform},eA={test:eh("hsl","hue"),parse:ep("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:n,alpha:r=1})=>"hsla("+Math.round(t)+", "+tn.transform(W(e))+", "+tn.transform(W(n))+", "+W(tu.transform(r))+")"};function ew(t,e,n){return(n<0&&(n+=1),n>1&&(n-=1),n<1/6)?t+(e-t)*6*n:n<.5?e:n<2/3?t+(e-t)*(2/3-n)*6:t}function eb({hue:t,saturation:e,lightness:n,alpha:r}){t/=360,n/=100;let i=0,o=0,a=0;if(e/=100){let r=n<.5?n*(1+e):n+e-n*e,s=2*n-r;i=ew(s,r,t+1/3),o=ew(s,r,t),a=ew(s,r,t-1/3)}else i=o=a=n;return{red:Math.round(255*i),green:Math.round(255*o),blue:Math.round(255*a),alpha:r}}let eC=(t,e,n)=>{let r=t*t;return Math.sqrt(Math.max(0,n*(e*e-r)+r))},eE=[ey,ev,eA],ex=t=>eE.find(e=>e.test(t)),eS=t=>`'${t}' is not an animatable color. Use the equivalent color code instead.`,eB=(t,e)=>{let n=ex(t),r=ex(e);(0,l.V)(!!n,eS(t)),(0,l.V)(!!r,eS(e));let i=n.parse(t),o=r.parse(e);n===eA&&(i=eb(i),n=ev),r===eA&&(o=eb(o),r=ev);let a=Object.assign({},i);return t=>{for(let e in a)"alpha"!==e&&(a[e]=eC(i[e],o[e],t));return a.alpha=ed(i.alpha,o.alpha,t),n.transform(a)}},eI={test:t=>ev.test(t)||ey.test(t)||eA.test(t),parse:t=>ev.test(t)?ev.parse(t):eA.test(t)?eA.parse(t):ey.parse(t),transform:t=>$(t)?t:t.hasOwnProperty("red")?ev.transform(t):eA.transform(t)},eP="${c}",ek="${n}";function eT(t){"number"==typeof t&&(t=`${t}`);let e=[],n=0,r=t.match(Z);r&&(n=r.length,t=t.replace(Z,eP),e.push(...r.map(eI.parse)));let i=t.match(X);return i&&(t=t.replace(X,ek),e.push(...i.map(ts.parse))),{values:e,numColors:n,tokenised:t}}function eM(t){return eT(t).values}function eO(t){let{values:e,numColors:n,tokenised:r}=eT(t),i=e.length;return t=>{let e=r;for(let r=0;r<i;r++)e=e.replace(r<n?eP:ek,r<n?eI.transform(t[r]):W(t[r]));return e}}let eR=t=>"number"==typeof t?0:t,eU={test:function(t){var e,n,r,i;return isNaN(t)&&$(t)&&(null!==(n=null===(e=t.match(X))||void 0===e?void 0:e.length)&&void 0!==n?n:0)+(null!==(i=null===(r=t.match(Z))||void 0===r?void 0:r.length)&&void 0!==i?i:0)>0},parse:eM,createTransformer:eO,getAnimatableNone:function(t){let e=eM(t);return eO(t)(e.map(eR))}},eD=t=>"number"==typeof t;function eL(t,e){return eD(t)?n=>ed(t,e,n):eI.test(t)?eB(t,e):eV(t,e)}let eN=(t,e)=>{let n=[...t],r=n.length,i=t.map((t,n)=>eL(t,e[n]));return t=>{for(let e=0;e<r;e++)n[e]=i[e](t);return n}},eF=(t,e)=>{let n=Object.assign(Object.assign({},t),e),r={};for(let i in n)void 0!==t[i]&&void 0!==e[i]&&(r[i]=eL(t[i],e[i]));return t=>{for(let e in r)n[e]=r[e](t);return n}};function ej(t){let e=eU.parse(t),n=e.length,r=0,i=0,o=0;for(let t=0;t<n;t++)r||"number"==typeof e[t]?r++:void 0!==e[t].hue?o++:i++;return{parsed:e,numNumbers:r,numRGB:i,numHSL:o}}let eV=(t,e)=>{let n=eU.createTransformer(e),r=ej(t),i=ej(e);return r.numHSL===i.numHSL&&r.numRGB===i.numRGB&&r.numNumbers>=i.numNumbers?t2(eN(r.parsed,i.parsed),n):((0,l.$)(!0,`Complex values '${t}' and '${e}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),n=>`${n>0?e:t}`)},eQ=(t,e)=>n=>ed(t,e,n);function ez(t,e,{clamp:n=!0,ease:r,mixer:i}={}){let o=t.length;(0,l.V)(o===e.length,"Both input and output ranges must be the same length"),(0,l.V)(!r||!Array.isArray(r)||r.length===o-1,"Array of easing functions must be of length `input.length - 1`, as it applies to the transitions **between** the defined values."),t[0]>t[o-1]&&(t=[].concat(t),e=[].concat(e),t.reverse(),e.reverse());let a=function(t,e,n){var r;let i=[],o=n||("number"==typeof(r=t[0])?eQ:"string"==typeof r?eI.test(r)?eB:eV:Array.isArray(r)?eN:"object"==typeof r?eF:void 0),a=t.length-1;for(let n=0;n<a;n++){let r=o(t[n],t[n+1]);e&&(r=t2(Array.isArray(e)?e[n]:e,r)),i.push(r)}return i}(e,r,i),s=2===o?function([t,e],[n]){return r=>n(ef(t,e,r))}(t,a):function(t,e){let n=t.length,r=n-1;return i=>{let o=0,a=!1;if(i<=t[0]?a=!0:i>=t[r]&&(o=r-1,a=!0),!a){let e=1;for(;e<n&&!(t[e]>i)&&e!==r;e++);o=e-1}let s=ef(t[o],t[o+1],i);return e[o](s)}}(t,a);return n?e=>s(ei(t[0],t[o-1],e)):s}let eH=t=>e=>1-t(1-e),eG=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,eK=t=>e=>e*e*((t+1)*e-t),eJ=4/11,eq=8/11,eY=t=>t,eW=t=>Math.pow(t,2),eX=eH(eW),eZ=eG(eW),e_=t=>1-Math.sin(Math.acos(t)),e$=eH(e_),e0=eG(e$),e1=eK(1.525),e2=eH(e1),e5=eG(e1),e3=(t=>{let e=eK(t);return t=>(t*=2)<1?.5*e(t):.5*(2-Math.pow(2,-10*(t-1)))})(1.525),e4=4356/361,e6=35442/1805,e8=16061/1805,e9=t=>{if(1===t||0===t)return t;let e=t*t;return t<eJ?7.5625*e:t<eq?9.075*e-9.9*t+3.4:t<.9?e4*e-e6*t+e8:10.8*t*t-20.52*t+10.72},e7=eH(e9);function nt({from:t=0,to:e=1,ease:n,offset:r,duration:i=300}){let o={done:!1,value:t},a=Array.isArray(e)?e:[t,e],s=(r&&r.length===a.length?r:function(t){let e=t.length;return t.map((t,n)=>0!==n?n/(e-1):0)}(a)).map(t=>t*i);function u(){return ez(s,a,{ease:Array.isArray(n)?n:a.map(()=>n||eZ).splice(0,a.length-1)})}let c=u();return{next:t=>(o.value=c(t),o.done=t>=i,o),flipTarget:()=>{a.reverse(),c=u()}}}let ne={keyframes:nt,spring:ec,decay:function({velocity:t=0,from:e=0,power:n=.8,timeConstant:r=350,restDelta:i=.5,modifyTarget:o}){let a={done:!1,value:e},s=n*t,u=e+s,c=void 0===o?u:o(u);return c!==u&&(s=c-e),{next:t=>{let e=-s*Math.exp(-t/r);return a.done=!(e>i||e<-i),a.value=a.done?c:c+e,a},flipTarget:()=>{}}}};var nn=n(90713);function nr(t,e,n=0){return t-e-n}let ni=t=>{let e=({delta:e})=>t(e);return{start:()=>nn.Ay.update(e,!0),stop:()=>nn.eO.update(e)}};function no(t){let e,n,r;var i,{from:a,autoplay:s=!0,driver:u=ni,elapsed:c=0,repeat:l=0,repeatType:f="loop",repeatDelay:d=0,onPlay:h,onStop:p,onComplete:g,onRepeat:m,onUpdate:v}=t,y=(0,o.Tt)(t,["from","autoplay","driver","elapsed","repeat","repeatType","repeatDelay","onPlay","onStop","onComplete","onRepeat","onUpdate"]);let{to:A}=y,w=0,b=y.duration,C=!1,E=!0,x=function(t){if(Array.isArray(t.to))return nt;if(ne[t.type])return ne[t.type];let e=new Set(Object.keys(t));if(e.has("ease")||e.has("duration")&&!e.has("dampingRatio"));else if(e.has("dampingRatio")||e.has("stiffness")||e.has("mass")||e.has("damping")||e.has("restSpeed")||e.has("restDelta"))return ec;return nt}(y);(null===(i=x.needsInterpolation)||void 0===i?void 0:i.call(x,a,A))&&(r=ez([0,100],[a,A],{clamp:!1}),a=0,A=100);let S=x(Object.assign(Object.assign({},y),{from:a,to:A}));return s&&(null==h||h(),(e=u(function(t){if(E||(t=-t),c+=t,!C){let t=S.next(Math.max(0,c));n=t.value,r&&(n=r(n)),C=E?t.done:c<=0}if(null==v||v(n),C){if(0===w&&(null!=b||(b=c)),w<l){var i,o;i=c,o=b,(E?i>=o+d:i<=-d)&&(w++,"reverse"===f?c=function(t,e,n=0,r=!0){return r?nr(e+-t,e,n):e-(t-e)+n}(c,b,d,E=w%2==0):(c=nr(c,b,d),"mirror"===f&&S.flipTarget()),C=!1,m&&m())}else e.stop(),g&&g()}})).start()),{stop:()=>{null==p||p(),e.stop()}}}var na=function(t){return 1e3*t};let ns=(t,e)=>1-3*e+3*t,nu=(t,e)=>3*e-6*t,nc=t=>3*t,nl=(t,e,n)=>((ns(e,n)*t+nu(e,n))*t+nc(e))*t,nf=(t,e,n)=>3*ns(e,n)*t*t+2*nu(e,n)*t+nc(e);var nd={linear:eY,easeIn:eW,easeInOut:eZ,easeOut:eX,circIn:e_,circInOut:e0,circOut:e$,backIn:e1,backInOut:e5,backOut:e2,anticipate:e3,bounceIn:e7,bounceInOut:t=>t<.5?.5*(1-e9(1-2*t)):.5*e9(2*t-1)+.5,bounceOut:e9},nh=function(t){if(Array.isArray(t)){(0,l.V)(4===t.length,"Cubic bezier arrays must contain four numerical values.");var e=(0,o.zs)(t,4);return function(t,e,n,r){if(t===e&&n===r)return eY;let i=new Float32Array(11);for(let e=0;e<11;++e)i[e]=nl(.1*e,t,n);return o=>0===o||1===o?o:nl(function(e){let r=0,o=1;for(;10!==o&&i[o]<=e;++o)r+=.1;let a=r+(e-i[--o])/(i[o+1]-i[o])*.1,s=nf(a,t,n);return s>=.001?function(t,e,n,r){for(let i=0;i<8;++i){let i=nf(e,n,r);if(0===i)break;let o=nl(e,n,r)-t;e-=o/i}return e}(e,a,t,n):0===s?a:function(t,e,n,r,i){let o,a;let s=0;do(o=nl(a=e+(n-e)/2,r,i)-t)>0?n=a:e=a;while(Math.abs(o)>1e-7&&++s<10);return a}(e,r,r+.1,t,n)}(o),e,r)}(e[0],e[1],e[2],e[3])}return"string"==typeof t?((0,l.V)(void 0!==nd[t],"Invalid easing type '".concat(t,"'")),nd[t]):t},np=function(t,e){return"zIndex"!==t&&!!("number"==typeof e||Array.isArray(e)||"string"==typeof e&&eU.test(e)&&!e.startsWith("url("))},ng=function(){return{type:"spring",stiffness:500,damping:25,restSpeed:10}},nm=function(t){return{type:"spring",stiffness:550,damping:0===t?2*Math.sqrt(550):30,restSpeed:10}},nv=function(){return{type:"keyframes",ease:"linear",duration:.3}},ny=function(t){return{type:"keyframes",duration:.8,values:t}},nA={x:ng,y:ng,z:ng,rotate:ng,rotateX:ng,rotateY:ng,rotateZ:ng,scaleX:nm,scaleY:nm,scale:nm,opacity:nv,backgroundColor:nv,color:nv,default:nm},nw=function(t,e){var n;return n=tk(e)?ny:nA[t]||nA.default,(0,o.Cl)({to:e},n(e))};let nb=new Set(["brightness","contrast","saturate","opacity"]);function nC(t){let[e,n]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;let[r]=n.match(X)||[];
1if(!r)return t;let i=n.replace(r,""),o=nb.has(e)?1:0;return r!==n&&(o*=100),e+"("+o+i+")"}let nE=/([a-z-]*)\(.*?\)/g,nx=Object.assign(Object.assign({},eU),{getAnimatableNone:t=>{let e=t.match(nE);return e?e.map(nC).join(" "):t}});var nS=(0,o.Cl)((0,o.Cl)({},tf),{color:eI,backgroundColor:eI,outlineColor:eI,fill:eI,stroke:eI,borderColor:eI,borderTopColor:eI,borderRightColor:eI,borderBottomColor:eI,borderLeftColor:eI,filter:nx,WebkitFilter:nx}),nB=function(t){return nS[t]};function nI(t,e){var n,r=nB(t);return r!==nx&&(r=eU),null===(n=r.getAnimatableNone)||void 0===n?void 0:n.call(r,e)}var nP={current:!1},nk=!1;function nT(t){return 0===t||"string"==typeof t&&0===parseFloat(t)&&-1===t.indexOf(" ")}function nM(t){return"number"==typeof t?0:nI("",t)}function nO(t,e){return t[e]||t.default||t}function nR(t,e,n,r){return void 0===r&&(r={}),nP.current&&(r={type:!1}),e.start(function(i){var a,s,u,c,f,d,h,p,g,m,v,y=(c=n,h=null!==(f=(d=nO(r,t)).from)&&void 0!==f?f:e.get(),p=np(t,c),"none"===h&&p&&"string"==typeof c?h=nI(t,c):nT(h)&&"string"==typeof c?h=nM(c):!Array.isArray(c)&&nT(c)&&"string"==typeof h&&(c=nM(h)),g=np(t,h),(0,l.$)(g===p,"You are trying to animate ".concat(t,' from "').concat(h,'" to "').concat(c,'". ').concat(h," is not an animatable value - to enable this animation set ").concat(h," to a value animatable to ").concat(c," via the `style` property.")),g&&p&&!1!==d.type?function(){var n,r,a,s,u,f,p,g,m,v,y,A,w,b={from:h,to:c,velocity:e.getVelocity(),onComplete:i,onUpdate:function(t){return e.set(t)}};return"inertia"===d.type||"decay"===d.type?function({from:t=0,velocity:e=0,min:n,max:r,power:i=.8,timeConstant:o=750,bounceStiffness:a=500,bounceDamping:s=10,restDelta:u=1,modifyTarget:c,driver:l,onUpdate:f,onComplete:d,onStop:h}){let p;function g(t){return void 0!==n&&t<n||void 0!==r&&t>r}function m(t){return void 0===n?r:void 0===r?n:Math.abs(n-t)<Math.abs(r-t)?n:r}function v(t){null==p||p.stop(),p=no(Object.assign(Object.assign({},t),{driver:l,onUpdate:e=>{var n;null==f||f(e),null===(n=t.onUpdate)||void 0===n||n.call(t,e)},onComplete:d,onStop:h}))}function y(t){v(Object.assign({type:"spring",stiffness:a,damping:s,restDelta:u},t))}if(g(t))y({from:t,velocity:e,to:m(t)});else{let r,a,s=i*e+t;void 0!==c&&(s=c(s));let l=m(s),f=l===n?-1:1;v({type:"decay",from:t,velocity:e,timeConstant:o,power:i,restDelta:u,modifyTarget:c,onUpdate:g(s)?t=>{var n,i;r=a,a=t,n=t-r,e=(i=(0,nn.KK)().delta)?1e3/i*n:0,(1===f&&t>l||-1===f&&t<l)&&y({from:t,to:l,velocity:e})}:void 0})}return{stop:()=>null==p?void 0:p.stop()}}((0,o.Cl)((0,o.Cl)({},b),d)):no((0,o.Cl)((0,o.Cl)({},(n=d,r=b,a=t,Array.isArray(r.to)&&(null!==(s=n.duration)&&void 0!==s||(n.duration=.8)),Array.isArray(r.to)&&null===r.to[0]&&(r.to=(0,o.fX)([],(0,o.zs)(r.to),!1),r.to[0]=r.from),(u=n).when,u.delay,u.delayChildren,u.staggerChildren,u.staggerDirection,u.repeat,u.repeatType,u.repeatDelay,u.from,Object.keys((0,o.Tt)(u,["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from"])).length||(n=(0,o.Cl)((0,o.Cl)({},n),nw(a,r.to))),(0,o.Cl)((0,o.Cl)({},r),(p=(f=n).ease,g=f.times,m=f.yoyo,v=f.flip,y=f.loop,A=(0,o.Tt)(f,["ease","times","yoyo","flip","loop"]),w=(0,o.Cl)({},A),g&&(w.offset=g),A.duration&&(w.duration=na(A.duration)),A.repeatDelay&&(w.repeatDelay=na(A.repeatDelay)),p&&(w.ease=Array.isArray(p)&&"number"!=typeof p[0]?p.map(nh):nh(p)),"tween"===A.type&&(w.type="keyframes"),(m||y||v)&&((0,l.$)(!nk,"yoyo, loop and flip have been removed from the API. Replace with repeat and repeatType options."),nk=!0,m?w.repeatType="reverse":y?w.repeatType="loop":v&&(w.repeatType="mirror"),w.repeat=y||m||v||A.repeat),"spring"!==A.type&&(w.type="keyframes"),w)))),{onUpdate:function(t){var e;b.onUpdate(t),null===(e=d.onUpdate)||void 0===e||e.call(d,t)},onComplete:function(){var t;b.onComplete(),null===(t=d.onComplete)||void 0===t||t.call(d)}}))}:function(){var t,n,r=tT(c);return e.set(r),i(),null===(t=null==d?void 0:d.onUpdate)||void 0===t||t.call(d,r),null===(n=null==d?void 0:d.onComplete)||void 0===n||n.call(d),{stop:function(){}}}),A=null!==(u=null!==(s=(nO(a=r,t)||{}).delay)&&void 0!==s?s:a.delay)&&void 0!==u?u:0,w=function(){return v=y()};return A?m=window.setTimeout(w,na(A)):w(),function(){clearTimeout(m),null==v||v.stop()}})}function nU(t,e){-1===t.indexOf(e)&&t.push(e)}function nD(t,e){var n=t.indexOf(e);n>-1&&t.splice(n,1)}var nL=function(){function t(){this.subscriptions=[]}return t.prototype.add=function(t){var e=this;return nU(this.subscriptions,t),function(){return nD(e.subscriptions,t)}},t.prototype.notify=function(t,e,n){var r=this.subscriptions.length;if(r){if(1===r)this.subscriptions[0](t,e,n);else for(var i=0;i<r;i++){var o=this.subscriptions[i];o&&o(t,e,n)}}},t.prototype.getSize=function(){return this.subscriptions.length},t.prototype.clear=function(){this.subscriptions.length=0},t}(),nN=function(){function t(t){var e=this;this.version="6.5.1",this.timeDelta=0,this.lastUpdated=0,this.updateSubscribers=new nL,this.velocityUpdateSubscribers=new nL,this.renderSubscribers=new nL,this.canTrackVelocity=!1,this.updateAndNotify=function(t,n){void 0===n&&(n=!0),e.prev=e.current,e.current=t;var r=(0,nn.KK)(),i=r.delta,o=r.timestamp;e.lastUpdated!==o&&(e.timeDelta=i,e.lastUpdated=o,nn.Ay.postRender(e.scheduleVelocityCheck)),e.prev!==e.current&&e.updateSubscribers.notify(e.current),e.velocityUpdateSubscribers.getSize()&&e.velocityUpdateSubscribers.notify(e.getVelocity()),n&&e.render
1Subscribers.notify(e.current)},this.scheduleVelocityCheck=function(){return nn.Ay.postRender(e.velocityCheck)},this.velocityCheck=function(t){t.timestamp!==e.lastUpdated&&(e.prev=e.current,e.velocityUpdateSubscribers.notify(e.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=t,this.canTrackVelocity=!isNaN(parseFloat(this.current))}return t.prototype.onChange=function(t){return this.updateSubscribers.add(t)},t.prototype.clearListeners=function(){this.updateSubscribers.clear()},t.prototype.onRenderRequest=function(t){return t(this.get()),this.renderSubscribers.add(t)},t.prototype.attach=function(t){this.passiveEffect=t},t.prototype.set=function(t,e){void 0===e&&(e=!0),e&&this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t,e)},t.prototype.get=function(){return this.current},t.prototype.getPrevious=function(){return this.prev},t.prototype.getVelocity=function(){var t,e;return this.canTrackVelocity?(t=parseFloat(this.current)-parseFloat(this.prev),(e=this.timeDelta)?1e3/e*t:0):0},t.prototype.start=function(t){var e=this;return this.stop(),new Promise(function(n){e.hasAnimated=!0,e.stopAnimation=t(n)}).then(function(){return e.clearAnimation()})},t.prototype.stop=function(){this.stopAnimation&&this.stopAnimation(),this.clearAnimation()},t.prototype.isAnimating=function(){return!!this.stopAnimation},t.prototype.clearAnimation=function(){this.stopAnimation=null},t.prototype.destroy=function(){this.updateSubscribers.clear(),this.renderSubscribers.clear(),this.stop()},t}();function nF(t){return new nN(t)}var nj=function(t){return function(e){return e.test(t)}},nV=[ts,tr,tn,te,to,ti,{test:function(t){return"auto"===t},parse:function(t){return t}}],nQ=function(t){return nV.find(nj(t))},nz=(0,o.fX)((0,o.fX)([],(0,o.zs)(nV),!1),[eI,eU],!1);function nH(t,e,n){void 0===n&&(n={});var r,i=S(t,e,n.custom),a=(i||{}).transition,s=void 0===a?t.getDefaultTransition()||{}:a;n.transitionOverride&&(s=n.transitionOverride);var u=i?function(){return nG(t,i,n)}:function(){return Promise.resolve()},c=(null===(r=t.variantChildren)||void 0===r?void 0:r.size)?function(r){void 0===r&&(r=0);var i,a,u,c,l,f,d,h=s.delayChildren;return i=(void 0===h?0:h)+r,a=s.staggerChildren,u=s.staggerDirection,c=n,void 0===i&&(i=0),void 0===a&&(a=0),void 0===u&&(u=1),l=[],f=(t.variantChildren.size-1)*a,d=1===u?function(t){return void 0===t&&(t=0),t*a}:function(t){return void 0===t&&(t=0),f-t*a},Array.from(t.variantChildren).sort(nK).forEach(function(t,n){l.push(nH(t,e,(0,o.Cl)((0,o.Cl)({},c),{delay:i+d(n)})).then(function(){return t.notifyAnimationComplete(e)}))}),Promise.all(l)}:function(){return Promise.resolve()},l=s.when;if(!l)return Promise.all([u(),c(n.delay)]);var f=(0,o.zs)("beforeChildren"===l?[u,c]:[c,u],2),d=f[0],h=f[1];return d().then(h)}function nG(t,e,n){var r,i=void 0===n?{}:n,a=i.delay,s=void 0===a?0:a,u=i.transitionOverride,c=i.type,l=t.makeTargetAnimatable(e),f=l.transition,d=void 0===f?t.getDefaultTransition():f,h=l.transitionEnd,p=(0,o.Tt)(l,["transition","transitionEnd"]);u&&(d=u);var g=[],m=c&&(null===(r=t.animationState)||void 0===r?void 0:r.getState()[c]);for(var v in p){var y=t.getValue(v),A=p[v];if(!(!y||void 0===A||m&&function(t,e){var n=t.protectedKeys,r=t.needsAnimating,i=n.hasOwnProperty(e)&&!0!==r[e];return r[e]=!1,i}(m,v))){var w=(0,o.Cl)({delay:s},d);t.shouldReduceMotion&&z(v)&&(w=(0,o.Cl)((0,o.Cl)({},w),{type:!1,delay:0}));var b=nR(v,y,A,w);g.push(b)}}return Promise.all(g).then(function(){h&&function(t,e){var n=S(t,e),r=n?t.makeTargetAnimatable(n,!1):{},i=r.transitionEnd;r.transition;var a=(0,o.Tt)(r,["transitionEnd","transition"]);for(var s in a=(0,o.Cl)((0,o.Cl)({},a),void 0===i?{}:i)){var u=tT(a[s]);t.hasValue(s)?t.getValue(s).set(u):t.addValue(s,nF(u))}}(t,h)})}function nK(t,e){return t.sortNodePosition(e)}var nJ=[r.Animate,r.InView,r.Focus,r.Hover,r.Tap,r.Drag,r.Exit],nq=(0,o.fX)([],(0,o.zs)(nJ),!1).reverse(),nY=nJ.length;function nW(t){return void 0===t&&(t=!1),{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}var nX={animation:t7(function(t){var e=t.visualElement,n=t.animate;e.animationState||(e.animationState=function(t){var e,n=function(e){return Promise.all(e.map(function(e){return function(t,e,n){if(void 0===n&&(n={}),t.notifyAnimationStart(e),Array.isArray(e)){var r;r=Promise.all(e.map(function(e){return nH(t,e,n)}
1))}else if("string"==typeof e)r=nH(t,e,n);else{var i="function"==typeof e?S(t,e,n.custom):e;r=nG(t,i,n)}return r.then(function(){return t.notifyAnimationComplete(e)})}(t,e.animation,e.options)}))},i=((e={})[r.Animate]=nW(!0),e[r.InView]=nW(),e[r.Hover]=nW(),e[r.Tap]=nW(),e[r.Drag]=nW(),e[r.Focus]=nW(),e[r.Exit]=nW(),e),a={},s=!0,u=function(e,n){var r=S(t,n);if(r){r.transition;var i=r.transitionEnd,a=(0,o.Tt)(r,["transition","transitionEnd"]);e=(0,o.Cl)((0,o.Cl)((0,o.Cl)({},e),a),i)}return e};function c(e,r){for(var c,l=t.getProps(),f=t.getVariantContext(!0)||{},d=[],h=new Set,p={},g=1/0,m=0;m<nY;m++)!function(n){var a,m=nq[n],v=i[m],y=null!==(c=l[m])&&void 0!==c?c:f[m],A=E(y),w=m===r?v.isActive:null;!1===w&&(g=n);var b=y===f[m]&&y!==l[m]&&A;if(b&&s&&t.manuallyAnimateOnMount&&(b=!1),v.protectedKeys=(0,o.Cl)({},p),!(!v.isActive&&null===w||!y&&!v.prevProp||tP(y))&&"boolean"!=typeof y){var x=(a=v.prevProp,"string"==typeof y?y!==a:!!C(y)&&!er(y,a)),S=x||m===r&&v.isActive&&!b&&A||n>g&&A,B=Array.isArray(y)?y:[y],I=B.reduce(u,{});!1===w&&(I={});var P=v.prevResolvedValues,k=void 0===P?{}:P,T=(0,o.Cl)((0,o.Cl)({},k),I),M=function(t){S=!0,h.delete(t),v.needsAnimating[t]=!0};for(var O in T){var R=I[O],U=k[O];p.hasOwnProperty(O)||(R!==U?tk(R)&&tk(U)?!er(R,U)||x?M(O):v.protectedKeys[O]=!0:void 0!==R?M(O):h.add(O):void 0!==R&&h.has(O)?M(O):v.protectedKeys[O]=!0)}v.prevProp=y,v.prevResolvedValues=I,v.isActive&&(p=(0,o.Cl)((0,o.Cl)({},p),I)),s&&t.blockInitialAnimation&&(S=!1),S&&!b&&d.push.apply(d,(0,o.fX)([],(0,o.zs)(B.map(function(t){return{animation:t,options:(0,o.Cl)({type:m},e)}})),!1))}}(m);if(a=(0,o.Cl)({},p),h.size){var v={};h.forEach(function(e){var n=t.getBaseTarget(e);void 0!==n&&(v[e]=n)}),d.push({animation:v})}var y=!!d.length;return s&&!1===l.initial&&!t.manuallyAnimateOnMount&&(y=!1),s=!1,y?n(d):Promise.resolve()}return{isAnimated:function(t){return void 0!==a[t]},animateChanges:c,setActive:function(e,n,r){if(i[e].isActive===n)return Promise.resolve();null===(o=t.variantChildren)||void 0===o||o.forEach(function(t){var r;return null===(r=t.animationState)||void 0===r?void 0:r.setActive(e,n)}),i[e].isActive=n;var o,a=c(r,e);for(var s in i)i[s].protectedKeys={};return a},setAnimateFunction:function(e){n=e(t)},getState:function(){return i}}}(e)),tP(n)&&(0,a.useEffect)(function(){return n.subscribe(e)},[n])}),exit:t7(function(t){var e=t.custom,n=t.visualElement,i=(0,o.zs)(en(),2),s=i[0],u=i[1],c=(0,a.useContext)(m.t);(0,a.useEffect)(function(){n.isPresent=s;var t,i,o=null===(t=n.animationState)||void 0===t?void 0:t.setActive(r.Exit,!s,{custom:null!==(i=null==c?void 0:c.custom)&&void 0!==i?i:e});s||null==o||o.then(u)},[s])})};let nZ=t=>t.hasOwnProperty("x")&&t.hasOwnProperty("y"),n_=t=>nZ(t)&&t.hasOwnProperty("z"),n$=(t,e)=>Math.abs(t-e);function n0(t,e){return eD(t)&&eD(e)?n$(t,e):nZ(t)&&nZ(e)?Math.sqrt(Math.pow(n$(t.x,e.x),2)+Math.pow(n$(t.y,e.y),2)+Math.pow(n_(t)&&n_(e)?n$(t.z,e.z):0,2)):void 0}var n1=function(){function t(t,e,n){var r=this,i=(void 0===n?{}:n).transformPagePoint;if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=function(){if(r.lastMoveEvent&&r.lastMoveEventInfo){var t=n3(r.lastMoveEventInfo,r.history),e=null!==r.startEvent,n=n0(t.offset,{x:0,y:0})>=3;if(e||n){var i=t.point,a=(0,nn.KK)().timestamp;r.history.push((0,o.Cl)((0,o.Cl)({},i),{timestamp:a}));var s=r.handlers,u=s.onStart,c=s.onMove;e||(u&&u(r.lastMoveEvent,t),r.startEvent=r.lastMoveEvent),c&&c(r.lastMoveEvent,t)}}},this.handlePointerMove=function(t,e){if(r.lastMoveEvent=t,r.lastMoveEventInfo=n2(e,r.transformPagePoint),tF(t)&&0===t.buttons){r.handlePointerUp(t,e);return}nn.Ay.update(r.updatePoint,!0)},this.handlePointerUp=function(t,e){r.end();var n=r.handlers,i=n.onEnd,o=n.onSessionEnd,a=n3(n2(e,r.transformPagePoint),r.history);r.startEvent&&i&&i(t,a),o&&o(t,a)},!t.touches||!(t.touches.length>1)){this.handlers=e,this.transformPagePoint=i;var a=n2(tV(t),this.transformPagePoint),s=a.point,u=(0,nn.KK)().timestamp;this.history=[(0,o.Cl)((0,o.Cl)({},s),{timestamp:u})];var c=e.onSessionStart;c&&c(t,n3(a,this.history)),this.removeListeners=t2(tK(window,"pointermove",this.handlePointerMove),tK(window,"pointerup",this.handlePointerUp),tK(window,"pointercancel",this.handlePointerUp))}}return t.prototype.updateHandlers=function(t){this.handlers=t},t.prototype.end=function(){this.removeListeners&&this.removeListeners(),nn.eO.update(this.updatePoint)},t}();function n2(t,e){return e?{point:e(t.point)}:t}function n5(t,e){return{x:t.x-e.x,y:t.y-e.y}}function n3(t,e){var n=t.point;return{point:n,delta:n5(n,n4(e)),offset:n5(n,e[0]),velocity:function(t,e){if(t.length<2)return{x:0,y:0};for(var n=t.length-1,r=null,i=n4(t);n>=0&&(r=t[n],!(i.timestamp-r.timestamp>na(.1)));)n--;if(!r)return{x:0,y:0};var o=(i.timestamp-r.timestamp)/1e3;if(0===o)return{x:0,y:0};var a={x:(i.x-r.x)/o,y:(i.y-r.y)/o};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}(e,0)}}function n4(t){return t[t.length-1]}function n6(t){return t.max-t.min}function n8(t,e,n){return void 0===e&&(e=0),void 0===n&&(n=.01),n0(t,e)<n}function n9(t,e,n,r){void 0===r&&(r=.5),t.origin=r,t.originPoint=ed(e.min,e.max,t.origin),t.scale=n6(n)/n6(e),(n8(t.scale,1,1e-4)||isNaN(t.scale))&&(t.scale=1),t.translate=ed(n.min,n.max,t.origin)-t.originPoint,(n8(t.translate)||isNaN(t.translate))&&(t.translate=0)}function n7(t,e,n,r){n9(t.x,e.x,n.x,null==r?void 0:r.originX),n9(t.y,e.y,n.y,null==r?void 0:r.originY)}function rt(t,e,n){t.min=n.min+e.min,t.max=t.min+n6(e)}function re(t,e,n){t.min=e.min-n.min,t.max=t.min+n6(e)}function rn(t,e,n){re(t.x,e.x,n.x),re(t.y,e.y,n.y)}function rr(t,e,n){return{min:void 0!==e?t.min+e:void 0,max:void 0!==n?t.max+n-(t.max-t.min):void 0}}function ri(t,e){var n,r=e.min-t.min,i=e.max-t.max;return e.max-e.min<t.max-t.min&&(r=(n=(0,o.zs)([i,r],2))[0],i=n[1]),{min:r,max:i}}function ro(t,e,n){return{min:ra(t,e),max:ra(t,n)}}function ra(t,e){var n;return"number"==typeof t?t:null!==(n=t[e])&&void 0!==n?n:0}var rs=function(){return{translate:0,scale:1,origin:0,originPoint:0}},ru=function(){return{x:rs(),y:rs()}},rc=function(){return{min:0,max:0}},rl=function(){return{x:rc(),y:rc()}};function rf(t){return[t("x"),t("y")]}function rd(t){var e=t.top;return{x:{min:t.left,max:t.right},y:{min:e,max:t.bottom}}}function rh(t){return void 0===t||1===t}function rp(t){var e=t.scale,n=t.scaleX,r=t.scaleY;return!rh(e)||!rh(n)||!rh(r)}function rg(t){var e,n;return rp(t)||(e=t.x)&&"0%"!==e||(n=t.y)&&"0%"!==n||t.z||t.rotate||t.rotateX||t.rotateY}function rm(t,e,n,r,i){return void 0!==i&&(t=r+i*(t-r)),r+n*(t-r)+e}function rv(t,e,n,r,i){void 0===e&&(e=0),void 0===n&&(n=1),t.min=rm(t.min,e,n,r,i),t.max=rm(t.max,e,n,r,i)}function ry(t,e){var n=e.x,r=e.y;rv(t.x,n.translate,n.scale,n.originPoint),rv(t.y,r.translate,r.scale,r.originPoint)}function rA(t,e){t.min=t.min+e,t.max=t.max+e}function rw(t,e,n){var r=(0,o.zs)(n,3),i=r[0],a=r[1],s=r[2],u=void 0!==e[s]?e[s]:.5,c=ed(t.min,t.max,u);rv(t,e[i],e[a],c,e.scale)}var rb=["x","scaleX","originX"],rC=["y","scaleY","originY"];function rE(t,e){rw(t.x,e,rb),rw(t.y,e,rC)}function rx(t,e){return rd(function(t,e){if(!e)return t;var n=e({x:t.left,y:t.top}),r=e({x:t.right,y:t.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}(t.getBoundingClientRect(),e))}var rS=new WeakMap,rB=function(){function t(t){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=rl(),this.visualElement=t}return t.prototype.start=function(t,e){var n=this,i=(void 0===e?{}:e).snapToCursor,o=void 0!==i&&i;!1!==this.visualElement.isPresent&&(this.panSession=new n1(t,{onSessionStart:function(t){n.stopAnimation(),o&&n.snapToCursor(tV(t,"page").point)}
1,onStart:function(t,e){var i,o=n.getProps(),a=o.drag,s=o.dragPropagation,u=o.onDragStart;(!a||s||(n.openGlobalLock&&n.openGlobalLock(),n.openGlobalLock=tX(a),n.openGlobalLock))&&(n.isDragging=!0,n.currentDirection=null,n.resolveConstraints(),n.visualElement.projection&&(n.visualElement.projection.isAnimationBlocked=!0,n.visualElement.projection.target=void 0),rf(function(t){var e,r,i=n.getAxisMotionValue(t).get()||0;if(tn.test(i)){var o=null===(r=null===(e=n.visualElement.projection)||void 0===e?void 0:e.layout)||void 0===r?void 0:r.actual[t];o&&(i=n6(o)*(parseFloat(i)/100))}n.originPoint[t]=i}),null==u||u(t,e),null===(i=n.visualElement.animationState)||void 0===i||i.setActive(r.Drag,!0))},onMove:function(t,e){var r=n.getProps(),i=r.dragPropagation,o=r.dragDirectionLock,a=r.onDirectionLock,s=r.onDrag;if(i||n.openGlobalLock){var u,c,l=e.offset;if(o&&null===n.currentDirection){n.currentDirection=(void 0===u&&(u=10),c=null,Math.abs(l.y)>u?c="y":Math.abs(l.x)>u&&(c="x"),c),null!==n.currentDirection&&(null==a||a(n.currentDirection));return}n.updateAxis("x",e.point,l),n.updateAxis("y",e.point,l),n.visualElement.syncRender(),null==s||s(t,e)}},onSessionEnd:function(t,e){return n.stop(t,e)}},{transformPagePoint:this.visualElement.getTransformPagePoint()}))},t.prototype.stop=function(t,e){var n=this.isDragging;if(this.cancel(),n){var r=e.velocity;this.startAnimation(r);var i=this.getProps().onDragEnd;null==i||i(t,e)}},t.prototype.cancel=function(){var t,e;this.isDragging=!1,this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!1),null===(t=this.panSession)||void 0===t||t.end(),this.panSession=void 0,!this.getProps().dragPropagation&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),null===(e=this.visualElement.animationState)||void 0===e||e.setActive(r.Drag,!1)},t.prototype.updateAxis=function(t,e,n){var r=this.getProps().drag;if(n&&rI(t,r,this.currentDirection)){var i,o,a,s,u,c=this.getAxisMotionValue(t),l=this.originPoint[t]+n[t];this.constraints&&this.constraints[t]&&(i=l,o=this.constraints[t],a=this.elastic[t],s=o.min,u=o.max,void 0!==s&&i<s?i=a?ed(s,i,a.min):Math.max(i,s):void 0!==u&&i>u&&(i=a?ed(u,i,a.max):Math.min(i,u)),l=i),c.set(l)}},t.prototype.resolveConstraints=function(){var t,e,n,r,i,o,a=this,s=this.getProps(),u=s.dragConstraints,c=s.dragElastic,l=(this.visualElement.projection||{}).layout,f=this.constraints;u&&b(u)?this.constraints||(this.constraints=this.resolveRefConstraints()):u&&l?this.constraints=(t=l.actual,e=u.top,n=u.left,r=u.bottom,i=u.right,{x:rr(t.x,n,i),y:rr(t.y,e,r)}):this.constraints=!1,this.elastic=(void 0===(o=c)&&(o=.35),!1===o?o=0:!0===o&&(o=.35),{x:ro(o,"left","right"),y:ro(o,"top","bottom")}),f!==this.constraints&&l&&this.constraints&&!this.hasMutatedConstraints&&rf(function(t){if(a.getAxisMotionValue(t)){var e,n,r;a.constraints[t]=(e=l.actual[t],n=a.constraints[t],r={},void 0!==n.min&&(r.min=n.min-e.min),void 0!==n.max&&(r.max=n.max-e.min),r)}})},t.prototype.resolveRefConstraints=function(){var t=this.getProps(),e=t.dragConstraints,n=t.onMeasureDragConstraints;if(!e||!b(e))return!1;var r=e.current;(0,l.V)(null!==r,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");var i=this.visualElement.projection;if(!i||!i.layout)return!1;var o=(s=i.root,u=rx(r,this.visualElement.getTransformPagePoint()),(c=s.scroll)&&(rA(u.x,c.x),rA(u.y,c.y)),u),a={x:ri((f=i.layout.actual).x,o.x),y:ri(f.y,o.y)};if(n){var s,u,c,f,d,h,p,g=n((h=(d=a).x,{top:(p=d.y).min,right:h.max,bottom:p.max,left:h.min}));this.hasMutatedConstraints=!!g,g&&(a=rd(g))}return a},t.prototype.startAnimation=function(t){var e=this,n=this.getProps(),r=n.drag,i=n.dragMomentum,a=n.dragElastic,s=n.dragTransition,u=n.dragSnapToOrigin,c=n.onDragTransitionEnd,l=this.constraints||{};return Promise.all(rf(function(n){if(rI(n,r,e.currentDirection)){var c,f=null!==(c=null==l?void 0:l[n])&&void 0!==c?c:{};u&&(f={min:0,max:0});var d=(0,o.Cl)((0,o.Cl)({type:"inertia",velocity:i?t[n]:0,bounceStiffness:a?200:1e6,bounceDamping:a?40:1e7,timeConstant:750,restDelta:1,restSpeed:10},s),f);return e.startAxisValueAnimation(n,d)}})).then(c)},t.prototype.startAxisValueAnimation=function(t,e){var n=this.getAxisMotionValue(t);return nR(t,n,0,e)},t.prototype.stopAnimation=function(){var t=this;rf(function(e){return t.getAxisMotionValue(e).stop()})},t.prototype.getAxisMotionValue=function(t){var e,n,r="_drag"+t.toUpperCase();return this.visualElement.getProps()[r]||this.visualElement.getValue(t,null!==(n=null===(e=this.visualElement.getProps().initial)||void 0===e?void 0:e[t])&&void 0!==n?n:0)},t.prototype.snapToCursor=function(t){var e=this;rf(function(n){if(rI(n,e.getProps().drag,e.currentDirection)){var r=e.visualElement.projection,i=e.getAxisMotionValue(n);if(r&&r.layout){var o=r.layout.actual[n],a=o.min,s=o.max;i.set(t[n]-ed(a,s,.5))}}})},t.prototype.scalePositionWithinConstraints=function(){var t,e=this,n=this.getProps(),r=n.drag,i=n.dragConstraints,o=this.visualElement.projection;if(b(i)&&o&&this.constraints){this.stopAnimation();var a={x:0,y:0};rf(function(t){var n=e.getAxisMotionValue(t);if(n){var r,i,o,s,u,c=n.get();a[t]=(r={min:c,max:c},i=e.constraints[t],o=.5,s=n6(r),(u=n6(i))>s?o=ef(i.min,i.max-s,r.min):s>u&&(o=ef(r.min,r.max-u,i.min)),ei(0,1,o))}});var s=this.visualElement.getProps().transformTemplate;this.visualElement.getInstance().style.transform=s?s({},""):"none",null===(t=o.root)||void 0===t||t.updateScroll(),o.updateLayout(),this.resolveConstraints(),rf(function(t){if(rI(t,r,null)){var n=e.getAxisMotionValue(t),i=e.constraints[t],o=i.min,s=i.max;n.set(ed(o,s,a[t]))}})}},t.prototype.addListeners=function(){var t,e=this;rS.set(this.visualElement,this);var n=tK(this.visualElement.getInstance(),"pointerdown",function(t){var n=e.getProps(),r=n.drag,i=n.dragListener;r&&(void 0===i||i)&&e.start(t)}),r=function(){b(e.getProps().dragConstraints)&&(e.constraints=e.resolveRefConstraints())},i=this.visualElement.projection,o=i.addEventListener("measure",r);i&&!i.layout&&(null===(t=i.root)||void 0===t||t.updateScroll(),i.updateLayout()),r();var a=tL(window,"resize",function(){return e.scalePositionWithinConstraints()});return i.addEventListener("didUpdate",function(t){var n=t.delta,r=t.hasLayoutChanged;e.isDragging&&r&&(rf(function(t){var r=e.getAxisMotionValue(t);r&&(e.originPoint[t]+=n[t].translate,r.set(r.get()+n[t].translate))}),e.visualElement.syncRender())}),function(){a(),n(),o()}},t.prototype.getProps=function(){var t=this.visualElement.getProps(),e=t.drag,n=t.dragDirectionLock,r=t.dragPropagation,i=t.dragConstraints,a=t.dragElastic,s=t.dragMomentum;return(0,o.Cl)((0,o.Cl)({},t),{drag:void 0!==e&&e,dragDirectionLock:void 0!==n&&n,dragPropagation:void 0!==r&&r,dragConstraints:void 0!==i&&i,dragElastic:void 0===a?.35:a,dragMomentum:void 0===s||s})},t}();function rI(t,e,n){return(!0===e||e===t)&&(null===n||n===t)}var rP={pan:t7(function(t){var e=t.onPan,n=t.onPanStart,r=t.onPanEnd,i=t.onPanSessionStart,o=t.visualElement,s=(0,a.useRef)(null),u=(0,a.useContext)(p.Q).transformPagePoint,c={onSessionStart:i,onStart:n,onMove:e,onEnd:function(t,e){s.current=null,r&&r(t,e)}};(0,a.useEffect)(function(){null!==s.current&&s.current.updateHandlers(c)}
1),tJ(o,"pointerdown",(e||n||r||i)&&function(t){s.current=new n1(t,c,{transformPagePoint:u})}),(0,t0.l)(function(){return s.current&&s.current.end()})}),drag:t7(function(t){var e=t.dragControls,n=t.visualElement,r=(0,k.M)(function(){return new rB(n)});(0,a.useEffect)(function(){return e&&e.subscribe(r)},[r,e]),(0,a.useEffect)(function(){return r.addListeners()},[r])})},rk=["LayoutMeasure","BeforeLayoutMeasure","LayoutUpdate","ViewportBoxUpdate","Update","Render","AnimationComplete","LayoutAnimationComplete","AnimationStart","LayoutAnimationStart","SetAxisTarget","Unmount"],rT=function(t){var e=t.treeType,n=void 0===e?"":e,r=t.build,i=t.getBaseTarget,a=t.makeTargetAnimatable,s=t.measureViewportBox,u=t.render,c=t.readValueFromInstance,l=t.removeValueFromRenderState,f=t.sortNodePosition,d=t.scrapeMotionValuesFromProps;return function(t,e){var h,p,g,m,v,y=t.parent,A=t.props,w=t.presenceId,b=t.blockInitialAnimation,C=t.visualState,x=t.shouldReduceMotion;void 0===e&&(e={});var S=!1,P=C.latestValues,k=C.renderState,T=(h=rk.map(function(){return new nL}),p={},g={clearAllListeners:function(){return h.forEach(function(t){return t.clear()})}
1,updatePropListeners:function(t){rk.forEach(function(e){var n,r="on"+e,i=t[r];null===(n=p[e])||void 0===n||n.call(p),i&&(p[e]=g[r](i))})}},h.forEach(function(t,e){g["on"+rk[e]]=function(e){return t.add(e)},g["notify"+rk[e]]=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return t.notify.apply(t,(0,o.fX)([],(0,o.zs)(e),!1))}}),g),M=new Map,O=new Map,R={},U=(0,o.Cl)({},P);function D(){m&&S&&(L(),u(m,k,A.style,G.projection))}function L(){r(G,k,P,e,A)}function N(){T.notifyUpdate(P)}function F(t,e){var n=e.onChange(function(e){P[t]=e,A.onUpdate&&nn.Ay.update(N,!1,!0)}),r=e.onRenderRequest(G.scheduleRender);O.set(t,function(){n(),r()})}var j=d(A);for(var V in j){var Q=j[V];void 0!==P[V]&&K(Q)&&Q.set(P[V],!1)}var z=B(A),H=I(A),G=(0,o.Cl)((0,o.Cl)({treeType:n,current:null,depth:y?y.depth+1:0,parent:y,children:new Set,presenceId:w,shouldReduceMotion:x,variantChildren:H?new Set:void 0,isVisible:void 0,manuallyAnimateOnMount:!!(null==y?void 0:y.isMounted()),blockInitialAnimation:b,isMounted:function(){return!!m},mount:function(t){S=!0,m=G.current=t,G.projection&&G.projection.mount(t),H&&y&&!z&&(v=null==y?void 0:y.addVariantChild(G)),M.forEach(function(t,e){return F(e,t)}),null==y||y.children.add(G),G.setProps(A)},unmount:function(){var t;null===(t=G.projection)||void 0===t||t.unmount(),nn.eO.update(N),nn.eO.render(D),O.forEach(function(t){return t()}),null==v||v(),null==y||y.children.delete(G),T.clearAllListeners(),m=void 0,S=!1},addVariantChild:function(t){var e,n=G.getClosestVariantNode();if(n)return null===(e=n.variantChildren)||void 0===e||e.add(t),function(){return n.variantChildren.delete(t)}},sortNodePosition:function(t){return f&&n===t.treeType?f(G.getInstance(),t.getInstance()):0},getClosestVariantNode:function(){return H?G:null==y?void 0:y.getClosestVariantNode()},getLayoutId:function(){return A.layoutId},getInstance:function(){return m},getStaticValue:function(t){return P[t]},setStaticValue:function(t,e){return P[t]=e},getLatestValues:function(){return P},setVisibility:function(t){G.isVisible!==t&&(G.isVisible=t,G.scheduleRender())},makeTargetAnimatable:function(t,e){return void 0===e&&(e=!0),a(G,t,A,e)},measureViewportBox:function(){return s(m,A)},addValue:function(t,e){G.hasValue(t)&&G.removeValue(t),M.set(t,e),P[t]=e.get(),F(t,e)},removeValue:function(t){var e;M.delete(t),null===(e=O.get(t))||void 0===e||e(),O.delete(t),delete P[t],l(t,k)},hasValue:function(t){return M.has(t)},getValue:function(t,e){var n=M.get(t);return void 0===n&&void 0!==e&&(n=nF(e),G.addValue(t,n)),n},forEachValue:function(t){return M.forEach(t)},readValue:function(t){var n;return null!==(n=P[t])&&void 0!==n?n:c(m,t,e)},setBaseTarget:function(t,e){U[t]=e},getBaseTarget:function(t){if(i){var e=i(A,t);if(void 0!==e&&!K(e))return e}return U[t]}},T),{build:function(){return L(),k},scheduleRender:function(){nn.Ay.render(D,!1,!0)},syncRender:D,setProps:function(t){(t.transformTemplate||A.transformTemplate)&&G.scheduleRender(),A=t,T.updatePropListeners(t),R=function(t,e,n){var r;for(var i in e){var o=e[i],a=n[i];if(K(o))t.addValue(i,o);else if(K(a))t.addValue(i,nF(o));else if(a!==o){if(t.hasValue(i)){var s=t.getValue(i);s.hasAnimated||s.set(o)}else t.addValue(i,nF(null!==(r=t.getStaticValue(i))&&void 0!==r?r:o))}}for(var i in n)void 0===e[i]&&t.removeValue(i);return e}(G,d(A),R)},getProps:function(){return A},getVariant:function(t){var e;return null===(e=A.variants)||void 0===e?void 0:e[t]},getDefaultTransition:function(){return A.transition},getTransformPagePoint:function(){return A.transformPagePoint},getVariantContext:function(t){if(void 0===t&&(t=!1),t)return null==y?void 0:y.getVariantContext();if(!z){var e=(null==y?void 0:y.getVariantContext())||{};return void 0!==A.initial&&(e.initial=A.initial),e}for(var n={},r=0;r<rO;r++){var i=rM[r],o=A[i];(E(o)||!1===o)&&(n[i]=o)}return n}});return G}},rM=(0,o.fX)(["initial"],(0,o.zs)(nJ),!1),rO=rM.length;function rR(t){return"string"==typeof t&&t.startsWith("var(--")}var rU=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function rD(t,e,n){void 0===n&&(n=1),(0,l.V)(n<=4,'Max CSS variable fallback depth detected in property "'.concat(t,'". This may indicate a circular fallback dependency.'));var r=(0,o.zs)(function(t){var e=rU.exec(t);if(!e)return[,];var n=(0,o.zs)(e,3);return[n[1],n[2]]}(t),2),i=r[0],a=r[1];if(i){var s=window.getComputedStyle(e).getPropertyValue(i);return s?s.trim():rR(a)?rD(a,e,n+1):a}}var rL=new Set(["width","height","top","left","right","bottom","x","y"]),rN=function(t){return rL.has(t)},rF=function(t,e){t.set(e,!1),t.set(e)},rj=function(t){return t===ts||t===tr};!function(t){t.width="width",t.height="height",t.left="left",t.right="right",t.top="top",t.bottom="bottom"}(i||(i={}));var rV=function(t,e){return parseFloat(t.split(", ")[e])},rQ=function(t,e){return function(n,r){var i=r.transform;if("none"===i||!i)return 0;var o=i.match(/^matrix3d\((.+)\)$/);if(o)return rV(o[1],e);var a=i.match(/^matrix\((.+)\)$/);return a?rV(a[1],t):0}},rz=new Set(["x","y","z"]),rH=j.filter(function(t){return!rz.has(t)}),rG={width:function(t,e){var n=t.x,r=e.paddingLeft,i=e.paddingRight;return n.max-n.min-parseFloat(void 0===r?"0":r)-parseFloat(void 0===i?"0":i)},height:function(t,e){var n=t.y,r=e.paddingTop,i=e.paddingBottom;return n.max-n.min-parseFloat(void 0===r?"0":r)-parseFloat(void 0===i?"0":i)},top:function(t,e){return parseFloat(e.top)},left:function(t,e){return parseFloat(e.left)},bottom:function(t,e){var n=t.y;return parseFloat(e.top)+(n.max-n.min)},right:function(t,e){var n=t.x;return parseFloat(e.left)+(n.max-n.min)},x:rQ(4,13),y:rQ(5,14)},rK=function(t,e,n){var r=e.measureViewportBox(),i=getComputedStyle(e.getInstance()),o=i.display,a={};"none"===o&&e.setStaticValue("display",t.display||"block"),n.forEac
1h(function(t){a[t]=rG[t](r,i)}),e.syncRender();var s=e.measureViewportBox();return n.forEach(function(n){rF(e.getValue(n),a[n]),t[n]=rG[n](s,i)}),t},rJ=function(t,e,n,r){void 0===n&&(n={}),void 0===r&&(r={}),e=(0,o.Cl)({},e),r=(0,o.Cl)({},r);var i=Object.keys(e).filter(rN),a=[],s=!1,u=[];if(i.forEach(function(i){var o,c=t.getValue(i);if(t.hasValue(i)){var f=n[i],d=nQ(f),h=e[i];if(tk(h)){var p=h.length,g=null===h[0]?1:0;d=nQ(f=h[g]);for(var m=g;m<p;m++)o?(0,l.V)(nQ(h[m])===o,"All keyframes must be of the same type"):(o=nQ(h[m]),(0,l.V)(o===d||rj(d)&&rj(o),"Keyframes must be of the same dimension as the current value"))}else o=nQ(h);if(d!==o){if(rj(d)&&rj(o)){var v,y=c.get();"string"==typeof y&&c.set(parseFloat(y)),"string"==typeof h?e[i]=parseFloat(h):Array.isArray(h)&&o===tr&&(e[i]=h.map(parseFloat))}else(null==d?void 0:d.transform)&&(null==o?void 0:o.transform)&&(0===f||0===h)?0===f?c.set(o.transform(f)):e[i]=d.transform(h):(s||(v=[],rH.forEach(function(e){var n=t.getValue(e);void 0!==n&&(v.push([e,n.get()]),n.set(e.startsWith("scale")?1:0))}),v.length&&t.syncRender(),a=v,s=!0),u.push(i),r[i]=void 0!==r[i]?r[i]:e[i],rF(c,h))}}}),!u.length)return{target:e,transitionEnd:r};var c=u.indexOf("height")>=0?window.pageYOffset:null,f=rK(e,t,u);return a.length&&a.forEach(function(e){var n=(0,o.zs)(e,2),r=n[0],i=n[1];t.getValue(r).set(i)}),t.syncRender(),null!==c&&window.scrollTo({top:c}),{target:f,transitionEnd:r}},rq=function(t,e,n,r){var i,a,s=function(t,e,n){var r,i=(0,o.Tt)(e,[]),a=t.getInstance();if(!(a instanceof Element))return{target:i,transitionEnd:n};for(var s in n&&(n=(0,o.Cl)({},n)),t.forEachValue(function(t){var e=t.get();if(rR(e)){var n=rD(e,a);n&&t.set(n)}}),i){var u=i[s];if(rR(u)){var c=rD(u,a);c&&(i[s]=c,n&&(null!==(r=n[s])&&void 0!==r||(n[s]=u)))}}return{target:i,transitionEnd:n}}(t,e,r);return i=e=s.target,a=r=s.transitionEnd,Object.keys(i).some(rN)?rJ(t,i,n,a):{target:i,transitionEnd:a}},rY={treeType:"dom",readValueFromInstance:function(t,e){if(z(e)){var n=nB(e);return n&&n.default||0}var r=window.getComputedStyle(t);return(q(e)?r.getPropertyValue(e):r[e])||0},sortNodePosition:function(t,e){return 2&t.compareDocumentPosition(e)?1:-1},getBaseTarget:function(t,e){var n;return null===(n=t.style)||void 0===n?void 0:n[e]},measureViewportBox:function(t,e){return rx(t,e.transformPagePoint)},resetTransform:function(t,e,n){var r=n.transformTemplate;e.style.transform=r?r({},""):"none",t.scheduleRender()},restoreTransform:function(t,e){t.style.transform=e.style.transform},removeValueFromRenderState:function(t,e){var n=e.vars,r=e.style;delete n[t],delete r[t]},makeTargetAnimatable:function(t,e,n,r){var i=n.transformValues;void 0===r&&(r=!0);var a=e.transition,s=e.transitionEnd,u=(0,o.Tt)(e,["transition","transitionEnd"]),c=function(t,e,n){var r,i,o={};for(var a in t)o[a]=null!==(r=function(t,e){if(e)return(e[t]||e.default||e).from}(a,e))&&void 0!==r?r:null===(i=n.getValue(a))||void 0===i?void 0:i.get();return o}(u,a||{},t);if(i&&(s&&(s=i(s)),u&&(u=i(u)),c&&(c=i(c))),r){!function(t,e,n){var r,i,o,a=Object.keys(e).filter(function(e){return!t.hasValue(e)}),s=a.length;if(s)for(var u=0;u<s;u++){var c,l,f,d=a[u],h=e[d],p=null;Array.isArray(h)&&(p=h[0]),null===p&&(p=null!==(i=null!==(r=n[d])&&void 0!==r?r:t.readValue(d))&&void 0!==i?i:e[d]),null!=p&&("string"==typeof p&&(c=p,/^\-?\d*\.?\d+$/.test(c)||(l=p,/^0[^.\s]+$/.test(l)))?p=parseFloat(p):(f=p,!nz.find(nj(f))&&eU.test(h)&&(p=nI(d,h))),t.addValue(d,nF(p)),null!==(o=n[d])&&void 0!==o||(n[d]=p),t.setBaseTarget(d,p))}}(t,u,c);var l=rq(t,u,c,s);s=l.transitionEnd,u=l.target}return(0,o.Cl)({transition:a,transitionEnd:s},u)},scrapeMotionValuesFromProps:tB,build:function(t,e,n,r,i){void 0!==t.isVisible&&(e.style.visibility=t.isVisible?"visible":"hidden"),td(e,n,r,i.transformTemplate)},render:tE},rW=rT(rY),rX=rT((0,o.Cl)((0,o.Cl)({},rY),{getBaseTarget:function(t,e){return t[e]},readValueFromInstance:function(t,e){var n;return z(e)?(null===(n=nB(e))||void 0===n?void 0:n.default)||0:(e=tx.has(e)?e:tC(e),t.getAttribute(e))},scrapeMotionValuesFromProps:tI,build:function(t,e,n,r,i){tA(e,n,r,i.transformTemplate)},render:tS})),rZ=function(t,e){return L(t)?rX(e,{enableHardwareAcceleration:!1}):rW(e,{enableHardwareAcceleration:!0})};function r_(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}var r$={correct:function(t,e){if(!e.target)return t;if("string"==typeof t){if(!tr.test(t))return t;t=parseFloat(t)}var n=r_(t,e.target.x),r=r_(t,e.target.y);return"".concat(n,"% ").concat(r,"%")}},r0="_$css",r1=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,o.C6)(e,t),e.prototype.componentDidMount=function(){var t=this,e=this.props,n=e.visualElement,r=e.layoutGroup,i=e.switchLayoutGroup,a=e.layoutId,s=n.projection;Object.assign(N,r2),s&&((null==r?void 0:r.group)&&r.group.add(s),(null==i?void 0:i.register)&&a&&i.register(s),s.root.didUpdate(),s.addEventListener("animationComplete",function(){t.safeToRemove()}),s.setOptions((0,o.Cl)((0,o.Cl)({},s.options),{onExitComplete:function(){return t.safeToRemove()}}))),T.hasEverUpdated=!0},e.prototype.getSnapshotBeforeUpdate=function(t){var e=this,n=this.props,r=n.layoutDependency,i=n.visualElement,o=n.drag,a=n.isPresent,s=i.projection;return s&&(s.isPresent=a,o||t.layoutDependency!==r||void 0===r?s.willUpdate():this.safeToRemove(),t.isPresent===a||(a?s.promote():s.relegate()||nn.Ay.postRender(function(){var t;(null===(t=s.getStack())||void 0===t?void 0:t.members.length)||e.safeToRemove()}))),null},e.prototype.componentDidUpdate=function(){var t=this.props.visualElement.projection;t&&(t.root.didUpdate(),!t.currentAnimation&&t.isLead()&&this.safeToRemove())},e.prototype.componentWillUnmount=function(){var t=this.props,e=t.visualElement,n=t.layoutGroup,r=t.switchLayoutGroup,i=e.projection;i&&(i.scheduleCheckAfterUnmount(),(null==n?void 0:n.group)&&n.group.remove(i),(null==r?void 0:r.deregister)&&r.deregister(i))},e.prototype.safeToRemove=function(){var t=this.props.safeToRemove;null==t||t()},e.prototype.render=function(){return null},e}(a.Component),r2={borderRadius:(0,o.Cl)((0,o.Cl)({},r$),{applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]}),borderTopLeftRadius:r$,borderTopRightRadius:r$,borderBottomLeftRadius:r$,borderBottomRightRadius:r$,boxShadow:{correct:function(t,e){var n=e.treeScale,r=e.projectionDelta,i=t,o=t.includes("var("),a=[];o&&(t=t.replace(rU,function(t){return a.push(t),r0}));var s=eU.parse(t);if(s.length>5)return i;var u=eU.createTransformer(t),c="number"!=typeof s[0]?1:0,l=r.x.scale*n.x,f=r.y.scale*n.y;s[0+c]/=l,s[1+c]/=f;var d=ed(l,f,.5);
1"number"==typeof s[2+c]&&(s[2+c]/=d),"number"==typeof s[3+c]&&(s[3+c]/=d);var h=u(s);if(o){var p=0;h=h.replace(r0,function(){var t=a[p];return p++,t})}return h}}},r5=["TopLeft","TopRight","BottomLeft","BottomRight"],r3=r5.length,r4=function(t){return"string"==typeof t?parseFloat(t):t},r6=function(t){return"number"==typeof t||tr.test(t)};function r8(t,e){var n;return null!==(n=t[e])&&void 0!==n?n:t.borderRadius}var r9=it(0,.5,e$),r7=it(.5,.95,eY);function it(t,e,n){return function(r){return r<t?0:r>e?1:n(ef(t,e,r))}}function ie(t,e){t.min=e.min,t.max=e.max}function ir(t,e){ie(t.x,e.x),ie(t.y,e.y)}function ii(t,e,n,r,i){return t-=e,t=r+1/n*(t-r),void 0!==i&&(t=r+1/i*(t-r)),t}function io(t,e,n,r,i){var a=(0,o.zs)(n,3),s=a[0],u=a[1],c=a[2];!function(t,e,n,r,i,o,a){if(void 0===e&&(e=0),void 0===n&&(n=1),void 0===r&&(r=.5),void 0===o&&(o=t),void 0===a&&(a=t),tn.test(e)&&(e=parseFloat(e),e=ed(a.min,a.max,e/100)-a.min),"number"==typeof e){var s=ed(o.min,o.max,r);t===o&&(s-=e),t.min=ii(t.min,e,n,s,i),t.max=ii(t.max,e,n,s,i)}}(t,e[s],e[u],e[c],e.scale,r,i)}var ia=["x","scaleX","originX"],is=["y","scaleY","originY"];function iu(t,e,n,r){io(t.x,e,ia,null==n?void 0:n.x,null==r?void 0:r.x),io(t.y,e,is,null==n?void 0:n.y,null==r?void 0:r.y)}function ic(t){return 0===t.translate&&1===t.scale}function il(t){return ic(t.x)&&ic(t.y)}function id(t,e){return t.x.min===e.x.min&&t.x.max===e.x.max&&t.y.min===e.y.min&&t.y.max===e.y.max}var ih=function(){function t(){this.members=[]}return t.prototype.add=function(t){nU(this.members,t),t.scheduleRender()},t.prototype.remove=function(t){if(nD(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){var e=this.members[this.members.length-1];e&&this.promote(e)}},t.prototype.relegate=function(t){var e,n=this.members.findIndex(function(e){return t===e});if(0===n)return!1;for(var r=n;r>=0;r--){var i=this.members[r];if(!1!==i.isPresent){e=i;break}}return!!e&&(this.promote(e),!0)},t.prototype.promote=function(t,e){var n,r=this.lead;t!==r&&(this.prevLead=r,this.lead=t,t.show(),r&&(r.instance&&r.scheduleRender(),t.scheduleRender(),t.resumeFrom=r,e&&(t.resumeFrom.preserveOpacity=!0),r.snapshot&&(t.snapshot=r.snapshot,t.snapshot.latestValues=r.animationValues||r.latestValues,t.snapshot.isShared=!0),(null===(n=t.root)||void 0===n?void 0:n.isUpdating)&&(t.isLayoutDirty=!0),!1===t.options.crossfade&&r.hide()))},t.prototype.exitAnimationComplete=function(){this.members.forEach(function(t){var e,n,r,i,o;null===(n=(e=t.options).onExitComplete)||void 0===n||n.call(e),null===(o=null===(r=t.resumingFrom)||void 0===r?void 0:(i=r.options).onExitComplete)||void 0===o||o.call(i)})},t.prototype.scheduleRender=function(){this.members.forEach(function(t){t.instance&&t.scheduleRender(!1)})},t.prototype.removeLeadSnapshot=function(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)},t}();function ip(t,e,n){var r=t.x.translate/e.x,i=t.y.translate/e.y,o="translate3d(".concat(r,"px, ").concat(i,"px, 0) ");if(o+="scale(".concat(1/e.x,", ").concat(1/e.y,") "),n){var a=n.rotate,s=n.rotateX,u=n.rotateY;a&&(o+="rotate(".concat(a,"deg) ")),s&&(o+="rotateX(".concat(s,"deg) ")),u&&(o+="rotateY(".concat(u,"deg) "))}var c=t.x.scale*e.x,l=t.y.scale*e.y;return"translate3d(0px, 0px, 0) scale(1, 1) scale(1, 1)"===(o+="scale(".concat(c,", ").concat(l,")"))?"none":o}var ig=function(t,e){return t.depth-e.depth},im=function(){function t(){this.children=[],this.isDirty=!1}return t.prototype.add=function(t){nU(this.children,t),this.isDirty=!0},t.prototype.remove=function(t){nD(this.children,t),this.isDirty=!0},t.prototype.forEach=function(t){this.isDirty&&this.children.sort(ig),this.isDirty=!1,this.children.forEach(t)},t}();function iv(t){var e=t.attachResizeListener,n=t.defaultParent,r=t.measureScroll,i=t.checkIsScrollRoot,a=t.resetTransform;return function(){function t(t,e,r){var i=this;void 0===e&&(e={}),void 0===r&&(r=null==n?void 0:n()),this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.potentialNodes=new Map,this.checkUpdateFailed=function(){i.isUpdating&&(i.isUpdating=!1,i.clearAllSnapshots())}
1,this.updateProjection=function(){i.nodes.forEach(ix),i.nodes.forEach(iS)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.id=t,this.latestValues=e,this.root=r?r.root||r:this,this.path=r?(0,o.fX)((0,o.fX)([],(0,o.zs)(r.path),!1),[r],!1):[],this.parent=r,this.depth=r?r.depth+1:0,t&&this.root.registerPotentialNode(t,this);for(var a=0;a<this.path.length;a++)this.path[a].shouldResetTransform=!0;this.root===this&&(this.nodes=new im)}return t.prototype.addEventListener=function(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new nL),this.eventHandlers.get(t).add(e)},t.prototype.notifyListeners=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];var r=this.eventHandlers.get(t);null==r||r.notify.apply(r,(0,o.fX)([],(0,o.zs)(e),!1))},t.prototype.hasListeners=function(t){return this.eventHandlers.has(t)},t.prototype.registerPotentialNode=function(t,e){this.potentialNodes.set(t,e)},t.prototype.mount=function(t,n){var r=this;if(void 0===n&&(n=!1),!this.instance){this.isSVG=t instanceof SVGElement&&"svg"!==t.tagName,this.instance=t;var i=this.options,a=i.layoutId,s=i.layout,u=i.visualElement;if(u&&!u.getInstance()&&u.mount(t),this.root.nodes.add(this),null===(c=this.parent)||void 0===c||c.children.add(this),this.id&&this.root.potentialNodes.delete(this.id),n&&(s||a)&&(this.isLayoutDirty=!0),e){var c,l,f=function(){return r.root.updateBlockedByResize=!1};e(t,function(){r.root.updateBlockedByResize=!0,clearTimeout(l),l=window.setTimeout(f,250),T.hasAnimatedSinceResize&&(T.hasAnimatedSinceResize=!1,r.nodes.forEach(iE))})}a&&this.root.registerSharedNode(a,this),!1!==this.options.animate&&u&&(a||s)&&this.addEventListener("didUpdate",function(t){var e,n,i,a,s,c=t.delta,l=t.hasLayoutChanged,f=t.hasRelativeTargetChanged,d=t.layout;if(r.isTreeAnimationBlocked()){r.target=void 0,r.relativeTarget=void 0;return}var h=null!==(n=null!==(e=r.options.transition)&&void 0!==e?e:u.getDefaultTransition())&&void 0!==n?n:iM,p=u.getProps(),g=p.onLayoutAnimationStart,m=p.onLayoutAnimationComplete,v=!r.targetLayout||!id(r.targetLayout,d)||f,y=!l&&f;if((null===(i=r.resumeFrom)||void 0===i?void 0:i.instance)||y||l&&(v||!r.currentAnimation)){r.resumeFrom&&(r.resumingFrom=r.resumeFrom,r.resumingFrom.resumingFrom=void 0),r.setAnimationOrigin(c,y);var A=(0,o.Cl)((0,o.Cl)({},nO(h,"layout")),{onPlay:g,onComplete:m});u.shouldReduceMotion&&(A.delay=0,A.type=!1),r.startAnimation(A)}else l||0!==r.animationProgress||r.finishAnimation(),r.isLead()&&(null===(s=(a=r.options).onExitComplete)||void 0===s||s.call(a));r.targetLayout=d})}},t.prototype.unmount=function(){var t,e;this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this),null===(t=this.getStack())||void 0===t||t.remove(this),null===(e=this.parent)||void 0===e||e.children.delete(this),this.instance=void 0,nn.eO.preRender(this.updateProjection)},t.prototype.blockUpdate=function(){this.updateManuallyBlocked=!0},t.prototype.unblockUpdate=function(){this.updateManuallyBlocked=!1},t.prototype.isUpdateBlocked=function(){return this.updateManuallyBlocked||this.updateBlockedByResize},t.prototype.isTreeAnimationBlocked=function(){var t;return this.isAnimationBlocked||(null===(t=this.parent)||void 0===t?void 0:t.isTreeAnimationBlocked())||!1},t.prototype.startUpdate=function(){var t;this.isUpdateBlocked()||(this.isUpdating=!0,null===(t=this.nodes)||void 0===t||t.forEach(iB))},t.prototype.willUpdate=function(t){if(void 0===t&&(t=!0),this.root.isUpdateBlocked()){null===(n=(e=this.options).onExitComplete)||void 0===n||n.call(e);return}if(this.root.isUpdating||this.root.startUpdate(),!this.isLayoutDirty){this.isLayoutDirty=!0;for(var e,n,r,i=0;i<this.path.length;i++){var o=this.path[i];o.shouldResetTransform=!0,o.updateScroll()}var a=this.options,s=a.layoutId,u=a.layout;if(void 0!==s||u){var c=null===(r=this.options.visualElement)||void 0===r?void 0:r.getProps().transformTemplate;this.prevTransformTemplateValue=null==c?void 0:c(this.latestValues,""),this.updateSnapshot(),t&&this.notifyListeners("willUpdate")}}},t.prototype.didUpdate=function(){if(this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEac
1h(ib);return}this.isUpdating&&(this.isUpdating=!1,this.potentialNodes.size&&(this.potentialNodes.forEach(iO),this.potentialNodes.clear()),this.nodes.forEach(iC),this.nodes.forEach(iy),this.nodes.forEach(iA),this.clearAllSnapshots(),nn.qX.update(),nn.qX.preRender(),nn.qX.render())},t.prototype.clearAllSnapshots=function(){this.nodes.forEach(iw),this.sharedNodes.forEach(iI)},t.prototype.scheduleUpdateProjection=function(){nn.Ay.preRender(this.updateProjection,!1,!0)},t.prototype.scheduleCheckAfterUnmount=function(){var t=this;nn.Ay.postRender(function(){t.isLayoutDirty?t.root.didUpdate():t.root.checkUpdateFailed()})},t.prototype.updateSnapshot=function(){if(!this.snapshot&&this.instance){var t=this.measure(),e=this.removeTransform(this.removeElementScroll(t));iU(e),this.snapshot={measured:t,layout:e,latestValues:{}}}},t.prototype.updateLayout=function(){if(this.instance&&(this.updateScroll(),this.options.alwaysMeasureLayout&&this.isLead()||this.isLayoutDirty)){if(this.resumeFrom&&!this.resumeFrom.instance)for(var t,e=0;e<this.path.length;e++)this.path[e].updateScroll();var n=this.measure();iU(n);var r=this.layout;this.layout={measured:n,actual:this.removeElementScroll(n)},this.layoutCorrected=rl(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.actual),null===(t=this.options.visualElement)||void 0===t||t.notifyLayoutMeasure(this.layout.actual,null==r?void 0:r.actual)}},t.prototype.updateScroll=function(){this.options.layoutScroll&&this.instance&&(this.isScrollRoot=i(this.instance),this.scroll=r(this.instance))},t.prototype.resetTransform=function(){if(a){var t,e=this.isLayoutDirty||this.shouldResetTransform,n=this.projectionDelta&&!il(this.projectionDelta),r=null===(t=this.options.visualElement)||void 0===t?void 0:t.getProps().transformTemplate,i=null==r?void 0:r(this.latestValues,""),o=i!==this.prevTransformTemplateValue;e&&(n||rg(this.latestValues)||o)&&(a(this.instance,i),this.shouldResetTransform=!1,this.scheduleRender())}},t.prototype.measure=function(){var t=this.options.visualElement;if(!t)return rl();var e=t.measureViewportBox(),n=this.root.scroll;return n&&(rA(e.x,n.x),rA(e.y,n.y)),e},t.prototype.removeElementScroll=function(t){var e=rl();ir(e,t);for(var n=0;n<this.path.length;n++){var r=this.path[n],i=r.scroll,o=r.options,a=r.isScrollRoot;if(r!==this.root&&i&&o.layoutScroll){if(a){ir(e,t);var s=this.root.scroll;s&&(rA(e.x,-s.x),rA(e.y,-s.y))}rA(e.x,i.x),rA(e.y,i.y)}}return e},t.prototype.applyTransform=function(t,e){void 0===e&&(e=!1);var n=rl();ir(n,t);for(var r=0;r<this.path.length;r++){var i=this.path[r];!e&&i.options.layoutScroll&&i.scroll&&i!==i.root&&rE(n,{x:-i.scroll.x,y:-i.scroll.y}),rg(i.latestValues)&&rE(n,i.latestValues)}return rg(this.latestValues)&&rE(n,this.latestValues),n},t.prototype.removeTransform=function(t){var e,n=rl();ir(n,t);for(var r=0;r<this.path.length;r++){var i=this.path[r];if(i.instance&&rg(i.latestValues)){rp(i.latestValues)&&i.updateSnapshot();var o=rl();ir(o,i.measure()),iu(n,i.latestValues,null===(e=i.snapshot)||void 0===e?void 0:e.layout,o)}}return rg(this.latestValues)&&iu(n,this.latestValues),n},t.prototype.setTargetDelta=function(t){this.targetDelta=t,this.root.scheduleUpdateProjection()},t.prototype.setOptions=function(t){var e;this.options=(0,o.Cl)((0,o.Cl)((0,o.Cl)({},this.options),t),{crossfade:null===(e=t.crossfade)||void 0===e||e})},t.prototype.clearMeasurements=function(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1},t.prototype.resolveTargetDelta=function(){var t,e,n,r,i=this.options,o=i.layout,a=i.layoutId;this.layout&&(o||a)&&(!this.targetDelta&&!this.relativeTarget&&(this.relativeParent=this.getClosestProjectingParent(),this.relativeParent&&this.relativeParent.layout&&(this.relativeTarget=rl(),this.relativeTargetOrigin=rl(),rn(this.relativeTargetOrigin,this.layout.actual,this.relativeParent.layout.actual),ir(this.relativeTarget,this.relativeTargetOrigin))),(this.relativeTarget||this.targetDelta)&&((this.target||(this.target=rl(),this.targetWithTransforms=rl()),this.relativeTarget&&this.relativeTargetOrigin&&(null===(r=this.relativeParent)||void 0===r?void 0:r.target))?(t=this.target,e=this.relativeTarget,n=this.relativeParent.target,rt(t.x,e.x,n.x),rt(t.y,e.y,n.y)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.actual):ir(this.target,this.layout.actual),ry(this.target,this.targetDelta)):ir(this.target,this.layout.actual),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,this.relativeParent=this.getClosestProjectingParent(),this.relativeParent&&!!this.relativeParent.resumingFrom==!!this.resumingFrom&&!this.relativeParent.options.layoutScroll&&this.relativeParent.target&&(this.relativeTarget=rl(),this.relativeTargetOrigin=rl(),rn(this.relativeTargetOrigin,this.target,this.relativeParent.target),ir(this.relativeTarget,this.relativeTargetOrigin)))))},t.prototype.getClosestProjectingParent=function(){if(!(!this.parent||rg(this.parent.latestValues)))return(this.parent.relativeTarget||this.parent.targetDelta)&&this.parent.layout?this.parent:this.parent.getClosestProjectingParent()},t.prototype.calcProjection=function(){var t,e=this.options,n=e.layout,r=e.layoutId;if(this.isTreeAnimating=!!((null===(t=this.parent)||void 0===t?void 0:t.isTreeAnimating)||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),this.layout&&(n||r)){var i=this.getLead();ir(this.layoutCorrected,this.layout.actual),function(t,e,n,r){void 0===r&&(r=!1);var i,o,a,s,u=n.length;if(u){e.x=e.y=1;for(var c=0;c<u;c++)s=(a=n[c]).projectionDelta,(null===(o=null===(i=a.instance)||void 0===i?void 0:i.style)||void 0===o?void 0:o.display)!=="contents"&&(r&&a.options.layoutScroll&&a.scroll&&a!==a.root&&rE(t,{x:-a.scroll.x,y:-a.scroll.y}
1),s&&(e.x*=s.x.scale,e.y*=s.y.scale,ry(t,s)),r&&rg(a.latestValues)&&rE(t,a.latestValues))}}(this.layoutCorrected,this.treeScale,this.path,!!this.resumingFrom||this!==i);var o=i.target;if(o){this.projectionDelta||(this.projectionDelta=ru(),this.projectionDeltaWithTransform=ru());var a=this.treeScale.x,s=this.treeScale.y,u=this.projectionTransform;n7(this.projectionDelta,this.layoutCorrected,o,this.latestValues),this.projectionTransform=ip(this.projectionDelta,this.treeScale),(this.projectionTransform!==u||this.treeScale.x!==a||this.treeScale.y!==s)&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",o))}}},t.prototype.hide=function(){this.isVisible=!1},t.prototype.show=function(){this.isVisible=!0},t.prototype.scheduleRender=function(t){var e,n,r;void 0===t&&(t=!0),null===(n=(e=this.options).scheduleRender)||void 0===n||n.call(e),t&&(null===(r=this.getStack())||void 0===r||r.scheduleRender()),this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)},t.prototype.setAnimationOrigin=function(t,e){var n,r=this;void 0===e&&(e=!1);var i=this.snapshot,a=(null==i?void 0:i.latestValues)||{},s=(0,o.Cl)({},this.latestValues),u=ru();this.relativeTarget=this.relativeTargetOrigin=void 0,this.attemptToResolveRelativeTarget=!e;var c=rl(),l=null==i?void 0:i.isShared,f=1>=((null===(n=this.getStack())||void 0===n?void 0:n.members.length)||0),d=!!(l&&!f&&!0===this.options.crossfade&&!this.path.some(iT));this.animationProgress=0,this.mixTargetDelta=function(e){var n,i,o,h=e/1e3;iP(u.x,t.x,h),iP(u.y,t.y,h),r.setTargetDelta(u),r.relativeTarget&&r.relativeTargetOrigin&&r.layout&&(null===(o=r.relativeParent)||void 0===o?void 0:o.layout)&&(rn(c,r.layout.actual,r.relativeParent.layout.actual),n=r.relativeTarget,i=r.relativeTargetOrigin,ik(n.x,i.x,c.x,h),ik(n.y,i.y,c.y,h)),l&&(r.animationValues=s,function(t,e,n,r,i,o){var a,s,u,c;i?(t.opacity=ed(0,null!==(a=n.opacity)&&void 0!==a?a:1,r9(r)),t.opacityExit=ed(null!==(s=e.opacity)&&void 0!==s?s:1,0,r7(r))):o&&(t.opacity=ed(null!==(u=e.opacity)&&void 0!==u?u:1,null!==(c=n.opacity)&&void 0!==c?c:1,r));for(var l=0;l<r3;l++){var f="border".concat(r5[l],"Radius"),d=r8(e,f),h=r8(n,f);(void 0!==d||void 0!==h)&&(d||(d=0),h||(h=0),0===d||0===h||r6(d)===r6(h)?(t[f]=Math.max(ed(r4(d),r4(h),r),0),(tn.test(h)||tn.test(d))&&(t[f]+="%")):t[f]=h)}(e.rotate||n.rotate)&&(t.rotate=ed(e.rotate||0,n.rotate||0,r))}(s,a,r.latestValues,h,d,f)),r.root.scheduleUpdateProjection(),r.scheduleRender(),r.animationProgress=h},this.mixTargetDelta(0)},t.prototype.startAnimation=function(t){var e,n,r=this;this.notifyListeners("animationStart"),null===(e=this.currentAnimation)||void 0===e||e.stop(),this.resumingFrom&&(null===(n=this.resumingFrom.currentAnimation)||void 0===n||n.stop()),this.pendingAnimation&&(nn.eO.update(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=nn.Ay.update(function(){var e,n;T.hasAnimatedSinceResize=!0,r.currentAnimation=(void 0===(e=(0,o.Cl)((0,o.Cl)({},t),{onUpdate:function(e){var n;r.mixTargetDelta(e),null===(n=t.onUpdate)||void 0===n||n.call(t,e)},onComplete:function(){var e;null===(e=t.onComplete)||void 0===e||e.call(t),r.completeAnimation()}}))&&(e={}),nR("",n=K(0)?0:nF(0),1e3,e),{stop:function(){return n.stop()},isAnimating:function(){return n.isAnimating()}}),r.resumingFrom&&(r.resumingFrom.currentAnimation=r.currentAnimation),r.pendingAnimation=void 0})},t.prototype.completeAnimation=function(){var t;this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0),null===(t=this.getStack())||void 0===t||t.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")},t.prototype.finishAnimation=function(){var t;this.currentAnimation&&(null===(t=this.mixTargetDelta)||void 0===t||t.call(this,1e3),this.currentAnimation.stop()),this.completeAnimation()},t.prototype.applyTransformsToTarget=function(){var t=this.getLead(),e=t.targetWithTransforms,n=t.target,r=t.layout,i=t.latestValues;e&&n&&r&&(ir(e,n),rE(e,i),n7(this.projectionDeltaWithTransform,this.layoutCorrected,e,i))},t.prototype.registerSharedNode=function(t,e){var n,r,i;this.sharedNodes.has(t)||this.sharedNodes.set(t,new ih),this.sharedNodes.get(t).add(e),e.promote({transition:null===(n=e.options.initialPromotionConfig)||void 0===n?void 0:n.transition,preserveFollowOpacity:null===(i=null===(r=e.options.initialPromotionConfig)||void 0===r?void 0:r.shouldPreserveFollowOpacity)||void 0===i?void 0:i.call(r,e)})},t.prototype.isLead=function(){var t=this.getStack();return!t||t.lead===this},t.prototype.getLead=function(){var t;return this.options.layoutId&&(null===(t=this.getStack())||void 0===t?void 0:t.lead)||this},t.prototype.getPrevLead=function(){var t;return this.options.layoutId?null===(t=this.getStack())||void 0===t?void 0:t.prevLead:void 0},t.prototype.getStack=function(){var t=this.options.layoutId;if(t)return this.root.sharedNodes.get(t)},t.prototype.promote=function(t){var e=void 0===t?{}:t,n=e.needsReset,r=e.transition,i=e.preserveFollowOpacity,o=this.getStack();o&&o.promote(this,i),n&&(this.projectionDelta=void 0,this.needsReset=!0),r&&this.setOptions({transition:r})},t.prototype.relegate=function(){var t=this.getStack();return!!t&&t.relegate(this)},t.prototype.resetRotation=function(){var t=this.options.visualElement;if(t){for(var e=!1,n={},r=0;r<F.length;r++){var i="rotate"+F[r];t.getStaticValue(i)&&(e=!0,n[i]=t.getStaticValue(i),t.setStaticValue(i,0))}if(e){for(var i in null==t||t.syncRender(),n)t.setStaticValue(i,n[i]);t.scheduleRender()}}},t.prototype.getProjectionStyles=function(t){void 0===t&&(t={});var e,n,r,i,o,a,s={};if(!this.instance||this.isSVG)return s;if(!this.isVisible)return{visibility:"hidden"};s.visibility="";var u=null===(e=this.options.visualElement)||void 0===e?void 0:e.getProps().transformTemplate;if(this.needsReset)return this.needsReset=!1,s.opacity="",s.pointerEvents=tM(t.pointerEvents)||"",s.transform=u?u(this.latestValues,""):"none",s;var c=this.getLead();if(!this.projectionDelta||!this.layout||!c.target){var l={};return this.options.layoutId&&(l.opacity=null!==(n=this.latestValues.opacity)&&void 0!==n?n:1,l.pointerEvents=tM(t.pointerEvents)||""),this.hasProjected&&!rg(this.latestValues)&&(l.transform=u?u({},""):"none",this.hasProjected=!1),l}var f=c.animationValues||c.latestValues;this.applyTransformsToTarget(),s.transform=ip(this.projectionDeltaWithTransform,this.treeScale,f),u&&(s.transform=u(f,s.transform));var d=this.projectionDelta,h=d.x,p=d.y;for(var g in s.transformOrigin="".concat(100*h.origin,"% ").concat(100*p.origin,"% 0"),c.animationValues?s.opacity=c===this?null!==(i=null!==(r=f.opacity)&&void 0!==r?r:this.latestValues.opacity)&&void 0!==i?i:1:this.preserveOpacity?this.latestValues.opacity:f.opacityExit:s.opacity=c===this?null!==(o=f.opacity)&&void 0!==o?o:"":null!==(a=f.opacityExit)&&void 0!==a?a:0,N)if(void 0!==f[g]){var m=N[g],v=m.correct,y=m.applyTo,A=v(f[g],c);if(y)for(var w=y.length,b=0;b<w;b++)s[y[b]]=A;else s[g]=A}return this.options.layoutId&&(s.pointerEvents=c===this?tM(t.pointerEvents)||"":"none"),s},t.prototype.clearSnapshot=function(){this.resumeFrom=this.snapshot=void 0}
1,t.prototype.resetTree=function(){this.root.nodes.forEach(function(t){var e;return null===(e=t.currentAnimation)||void 0===e?void 0:e.stop()}),this.root.nodes.forEach(ib),this.root.sharedNodes.clear()},t}()}function iy(t){t.updateLayout()}function iA(t){var e,n,r,i,o=null!==(n=null===(e=t.resumeFrom)||void 0===e?void 0:e.snapshot)&&void 0!==n?n:t.snapshot;if(t.isLead()&&t.layout&&o&&t.hasListeners("didUpdate")){var a=t.layout,s=a.actual,u=a.measured;"size"===t.options.animationType?rf(function(t){var e=o.isShared?o.measured[t]:o.layout[t],n=n6(e);e.min=s[t].min,e.max=e.min+n}):"position"===t.options.animationType&&rf(function(t){var e=o.isShared?o.measured[t]:o.layout[t],n=n6(s[t]);e.max=e.min+n});var c=ru();n7(c,s,o.layout);var l=ru();o.isShared?n7(l,t.applyTransform(u,!0),o.measured):n7(l,s,o.layout);var f=!il(c),d=!1;if(!t.resumeFrom&&(t.relativeParent=t.getClosestProjectingParent(),t.relativeParent&&!t.relativeParent.resumeFrom)){var h=t.relativeParent,p=h.snapshot,g=h.layout;if(p&&g){var m=rl();rn(m,o.layout,p.layout);var v=rl();rn(v,s,g.actual),id(m,v)||(d=!0)}}t.notifyListeners("didUpdate",{layout:s,snapshot:o,delta:l,layoutDelta:c,hasLayoutChanged:f,hasRelativeTargetChanged:d})}else t.isLead()&&(null===(i=(r=t.options).onExitComplete)||void 0===i||i.call(r));t.options.transition=void 0}function iw(t){t.clearSnapshot()}function ib(t){t.clearMeasurements()}function iC(t){var e=t.options.visualElement;(null==e?void 0:e.getProps().onBeforeLayoutMeasure)&&e.notifyBeforeLayoutMeasure(),t.resetTransform()}function iE(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0}function ix(t){t.resolveTargetDelta()}function iS(t){t.calcProjection()}function iB(t){t.resetRotation()}function iI(t){t.removeLeadSnapshot()}function iP(t,e,n){t.translate=ed(e.translate,0,n),t.scale=ed(e.scale,1,n),t.origin=e.origin,t.originPoint=e.originPoint}function ik(t,e,n,r){t.min=ed(e.min,n.min,r),t.max=ed(e.max,n.max,r)}function iT(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}var iM={duration:.45,ease:[.4,0,.1,1]};function iO(t,e){for(var n=t.root,r=t.path.length-1;r>=0;r--)if(t.path[r].instance){n=t.path[r];break}var i=(n&&n!==t.root?n.instance:document).querySelector('[data-projection-id="'.concat(e,'"]'));i&&t.mount(i,!0)}function iR(t){t.min=Math.round(t.min),t.max=Math.round(t.max)}function iU(t){iR(t.x),iR(t.y)}var iD=iv({attachResizeListener:function(t,e){return tL(t,"resize",e)},measureScroll:function(){return{x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}},checkIsScrollRoot:function(){return!0}}),iL={current:void 0},iN=iv({measureScroll:function(t){return{x:t.scrollLeft,y:t.scrollTop}},defaultParent:function(){if(!iL.current){var t=new iD(0,{});t.mount(window),t.setOptions({layoutScroll:!0}),iL.current=t}return iL.current},resetTransform:function(t,e){t.style.transform=null!=e?e:"none"},checkIsScrollRoot:function(t){return"fixed"===window.getComputedStyle(t).position}}),iF=(0,o.Cl)((0,o.Cl)((0,o.Cl)((0,o.Cl)({},nX),et),rP),{measureLayout:function(t){var e=(0,o.zs)(en(),2),n=e[0],r=e[1],i=(0,a.useContext)(O.L);return a.createElement(r1,(0,o.Cl)({},t,{layoutGroup:i,switchLayoutGroup:(0,a.useContext)(R),isPresent:n,safeToRemove:r}))}}),ij=function(t){function e(e,n){var r,i,u,C,x,S,I;return void 0===n&&(n={}),i=(r=t(e,n)).preloadedFeatures,u=r.createVisualElement,C=r.projectionNodeConstructor,x=r.useRender,S=r.useVisualState,I=r.Component,i&&function(t){for(var e in t)null!==t[e]&&("projectionNodeConstructor"===e?c.projectionNodeConstructor=t[e]:c[e].Component=t[e])}(i),(0,a.forwardRef)(function(t,e){var n,r,D,L,N,F,j,V,Q,z,H,G,K,J,q,Y,W,X,Z,_,$,tt,te,tn,tr,ti,to,ta=(G=t.layoutId,(K=null===(H=(0,a.useContext)(O.L))||void 0===H?void 0:H.id)&&void 0!==G?K+"-"+G:G);t=(0,o.Cl)((0,o.Cl)({},t),{layoutId:ta});var ts=(0,a.useContext)(p.Q),tu=null,tc=(q=(J=function(t,e){if(B(t)){var n=t.initial,r=t.animate;return{initial:!1===n||E(n)?n:void 0,animate:E(r)?r:void 0}}return!1!==t.inherit?e:{}}(t,(0,a.useContext)(g))).initial,Y=J.animate,(0,a.useMemo)(function(){return{initial:q,animate:Y}},[P(q),P(Y)])),tl=ts.isStatic?void 0:(0,k.M)(function(){if(T.hasEverUpdated)return M++}),tf=S(t,ts.isStatic);return!ts.isStatic&&y.B&&(tc.visualElement=(W=(0,o.Cl)((0,o.Cl)({},ts),t),X=u,Z=(0,a.useContext)(f),_=(0,a.useContext)(g).visualElement,$=(0,a.useContext)(m.t),w||function(){if(w=!0,y.B){if(window.matchMedia){var t=window.matchMedia("(prefers-reduced-motion)"),e=function(){return A.current=t.matches};t.addListener(e),e()}else A.current=!1}}(),tt=(0,o.zs)((0,a.useState)(A.current),1)[0],tn="never"!==(te=(0,a.useContext)(p.Q).reducedMotion)&&("always"===te||tt),tr=(0,a.useRef)(void 0),X||
1(X=Z.renderer),!tr.current&&X&&(tr.current=X(I,{visualState:tf,parent:_,props:W,presenceId:null==$?void 0:$.id,blockInitialAnimation:(null==$?void 0:$.initial)===!1,shouldReduceMotion:tn})),ti=tr.current,(0,v.E)(function(){null==ti||ti.syncRender()}),(0,a.useEffect)(function(){var t;null===(t=null==ti?void 0:ti.animationState)||void 0===t||t.animateChanges()}),(0,v.E)(function(){return function(){return null==ti?void 0:ti.notifyUnmount()}},[]),ti),n=t,r=tc.visualElement,D=C||c.projectionNodeConstructor,N=n.layoutId,F=n.layout,j=n.drag,V=n.dragConstraints,Q=n.layoutScroll,z=(0,a.useContext)(R),!D||!r||(null==r?void 0:r.projection)||(r.projection=new D(tl,r.getLatestValues(),null===(L=r.parent)||void 0===L?void 0:L.projection),r.projection.setOptions({layoutId:N,layout:F,alwaysMeasureLayout:!!j||V&&b(V),visualElement:r,scheduleRender:function(){return r.scheduleRender()},animationType:"string"==typeof F?F:"both",initialPromotionConfig:z,layoutScroll:Q})),tu=function(t,e,n){var r=[],i=(0,a.useContext)(f);if(!e)return null;"production"!==s._&&n&&i.strict&&(0,l.V)(!1,"You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.");for(var u=0;u<h;u++){var p=d[u],g=c[p],m=g.isEnabled,v=g.Component;m(t)&&v&&r.push(a.createElement(v,(0,o.Cl)({key:p},t,{visualElement:e})))}return r}(t,tc.visualElement,i)),a.createElement(U,{visualElement:tc.visualElement,props:(0,o.Cl)((0,o.Cl)({},ts),t)},tu,a.createElement(g.Provider,{value:tc},x(I,t,tl,(to=tc.visualElement,(0,a.useCallback)(function(t){var n;t&&(null===(n=tf.mount)||void 0===n||n.call(tf,t)),to&&(t?to.mount(t):to.unmount()),e&&("function"==typeof e?e(t):b(e)&&(e.current=t))},[to])),tf,ts.isStatic,tc.visualElement)))})}if("undefined"==typeof Proxy)return e;var n=new Map;return new Proxy(e,{get:function(t,r){return n.has(r)||n.set(r,e(r)),n.get(r)}})}(function(t,e){var n,r,i;return n=e.forwardMotionProps,r=L(t)?tU:tD,(0,o.Cl)((0,o.Cl)({},r),{preloadedFeatures:iF,useRender:(void 0===(i=void 0!==n&&n)&&(i=!1),function(t,e,n,r,s,u){var c=s.latestValues,l=(L(t)?function(t,e){var n=(0,a.useMemo)(function(){var n=tw();return tA(n,e,{enableHardwareAcceleration:!1},t.transformTemplate),(0,o.Cl)((0,o.Cl)({},n.attrs),{style:(0,o.Cl)({},n.style)})},[e]);if(t.style){var r={};tp(r,t.style,t),n.style=(0,o.Cl)((0,o.Cl)({},r),n.style)}return n}:function(t,e,n){var r,i,s={},u=(tp(r={},t.style||{},t),Object.assign(r,(i=t.transformTemplate,(0,a.useMemo)(function(){var t=th();td(t,e,{enableHardwareAcceleration:!n},i);var r=t.vars,a=t.style;return(0,o.Cl)((0,o.Cl)({},r),a)},[e]))),t.transformValues&&(r=t.transformValues(r)),r);return t.drag&&!1!==t.dragListener&&(s.draggable=!1,u.userSelect=u.WebkitUserSelect=u.WebkitTouchCallout="none",u.touchAction=!0===t.drag?"none":"pan-".concat("x"===t.drag?"y":"x")),s.style=u,s})(e,c,u),f=(0,tg.J)(e,"string"==typeof t,i),d=(0,o.Cl)((0,o.Cl)((0,o.Cl)({},f),l),{ref:r});return n&&(d["data-projection-id"]=n),(0,a.createElement)(t,d)}),createVisualElement:rZ,projectionNodeConstructor:iN,Component:t})})},46080:(t,e,n)=>{"use strict";n.d(e,{J:()=>s,D:()=>a});var r=new Set(["initial","animate","exit","style","variants","transition","transformTemplate","transformValues","custom","inherit","layout","layoutId","layoutDependency","onLayoutAnimationStart","onLayoutAnimationComplete","onLayoutMeasure","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","drag","dragControls","dragListener","dragConstraints","dragDirectionLock","dragSnapToOrigin","_dragX","_dragY","dragElastic","dragMomentum","dragPropagation","dragTransition","whileDrag","onPan","onPanStart","onPanEnd","onPanSessionStart","onTap","onTapStart","onTapCancel","onHoverStart","onHoverEnd","whileFocus","whileTap","whileHover","whileInView","onViewportEnter","onViewportLeave","viewport","layoutScroll"]);function i(t){return r.has(t)}var o=function(t){return!i(t)};function a(t){t&&(o=function(e){return e.startsWith("on")?!i(e):t(e)})}try{a(require("@emotion/is-prop-valid").default)}catch(t){}function s(t,e,n){var r={};for(var a in t)(o(a)||!0===n&&i(a)||!e&&!i(a)||t.draggable&&a.startsWith("onDrag"))&&(r[a]=t[a]);return r}},60276:(t,e,n)=>{"use strict";n.d(e,{B:()=>r});var r="undefined"!=typeof document},77324:(t,e,n)=>{"use strict";n.d(e,{_:()=>i});var r=n(23088),i=(void 0===r||r.env,"production")},42397:(t,e,n)=>{"use strict";n.d(e,{M:()=>i});var r=n(21749);function i(t){var e=(0,r.useRef)(null);return null===e.current&&(e.current=t()),e.current}},91862:(t,e,n)=>{"use strict";n.d(e,{B:()=>a});var r=n(42397),i=0,o=function(){return i++},a=function(){return(0,r.M)(o)}},8254:(t,e,n)=>{"use strict";n.d(e,{E:()=>i});var r=n(21749),i=n(60276).B?r.useLayoutEffect:r.useEffect},13011:(t,e,n)=>{"use strict";n.d(e,{l:()=>i});var r=n(21749);function i(t){return(0,r.useEffect)(function(){return function(){return t()}},[])}},90713:(t,e,n)=>{"use strict";n.d(e,{eO:()=>h,Ay:()=>A,qX:()=>p,KK:()=>y});let r=1/60*1e3,i="undefined"!=typeof performance?()=>performance.now():()=>Date.now(),o="undefined"!=typeof window?t=>window.requestAnimationFrame(t):t=>setTimeout(()=>
1t(i()),r),a=!0,s=!1,u=!1,c={delta:0,timestamp:0},l=["read","update","preRender","render","postRender"],f=l.reduce((t,e)=>(t[e]=function(t){let e=[],n=[],r=0,i=!1,o=!1,a=new WeakSet,s={schedule:(t,o=!1,s=!1)=>{let u=s&&i,c=u?e:n;return o&&a.add(t),-1===c.indexOf(t)&&(c.push(t),u&&i&&(r=e.length)),t},cancel:t=>{let e=n.indexOf(t);-1!==e&&n.splice(e,1),a.delete(t)},process:u=>{if(i){o=!0;return}if(i=!0,[e,n]=[n,e],n.length=0,r=e.length)for(let n=0;n<r;n++){let r=e[n];r(u),a.has(r)&&(s.schedule(r),t())}i=!1,o&&(o=!1,s.process(u))}};return s}(()=>s=!0),t),{}),d=l.reduce((t,e)=>{let n=f[e];return t[e]=(t,e=!1,r=!1)=>(s||v(),n.schedule(t,e,r)),t},{}),h=l.reduce((t,e)=>(t[e]=f[e].cancel,t),{}),p=l.reduce((t,e)=>(t[e]=()=>f[e].process(c),t),{}),g=t=>f[t].process(c),m=t=>{s=!1,c.delta=a?r:Math.max(Math.min(t-c.timestamp,40),1),c.timestamp=t,u=!0,l.forEach(g),u=!1,s&&(a=!1,o(m))},v=()=>{s=!0,a=!0,u||o(m)},y=()=>c,A=d},11122:(t,e,n)=>{"use strict";n.d(e,{C6:()=>i,Cl:()=>o,Ju:()=>s,Tt:()=>a,fX:()=>c,zs:()=>u});var r=function(t,e){return(r=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)};function i(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var o=function(){return(o=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t}).apply(this,arguments)};function a(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);i<r.length;i++)0>e.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n}function s(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function u(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,i,o=n.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(t){i={error:t}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}function c(t,e,n){if(n||2==arguments.length)for(var r,i=0,o=e.length;i<o;i++)!r&&i in e||(r||(r=Array.prototype.slice.call(e,0,i)),r[i]=e[i]);return t.concat(r||Array.prototype.slice.call(e))}Object.create,Object.create,"function"==typeof SuppressedError&&SuppressedError},777:(t,e,n)=>{"use strict";n.d(e,{D:()=>r});let r=(0,n(77491).x)({id:42161,name:"Arbitrum One",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},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}}})},45525:(t,e,n)=>{"use strict";n.d(e,{r:()=>r});let r=(0,n(77491).x)({id:1,name:"Ethereum",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://eth.merkle.io"]}},blockExplorers:{default:{name:"Etherscan",url:"https://etherscan.io",apiUrl:"https://api.etherscan.io/api"}},contracts:{ensRegistry:{address:"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e"},ensUniversalResolver:{address:"0xce01f8eee7E479C928F8919abD53E553a36CeF67",blockCreated:0x125db65},multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:0xdb04c1}}})},88050:(t,e,n)=>{"use strict";n.d(e,{R:()=>V});var r=n(47364);function i(t,e){return({exclude:n,format:r})=>({exclude:n,format:t=>{let i=e(t);if(n)for(let t of n)delete i[t];return{...i,...r(t)}},type:t})}let o={"0x0":"legacy","0x1":"eip2930","0x2":"eip1559","0x3":"eip4844","0x4":"eip7702"};function a(t){let e={...t,blockHash:t.blockHash?t.blockHash:null,blockNumber:t.blockNumber?BigInt(t.blockNumber):null,chainId:t.chainId?(0,r.ME)(t.chainId):void 0,gas:t.gas?BigInt(t.gas):void 0,gasPrice:t.gasPrice?BigInt(t.gasPrice):void 0,maxFeePerBlobGas:t.maxFeePerBlobGas?BigInt(t.maxFeePerBlobGas):void 0,maxFeePerGas:t.maxFeePerGas?BigInt(t.maxFeePerGas):void 0,maxPriorityFeePerGas:t.maxPriorityFeePerGas?BigInt(t.maxPriorityFeePerGas):void 0,nonce:t.nonce?(0,r.ME)(t.nonce):void 0,to:t.to?t.to:null,transactionIndex:t.transactionIndex?Number(t.transactionIndex):null,type:t.type?o[t.type]:void 0,typeHex:t.type?t.type:void 0,value:t.value?BigInt(t.value):void 0,v:t.v?BigInt(t.v):void 0};return t.authorizationList&&(e.authorizationList=t.authorizationList.map(t=>({contractAddress:t.address,chainId:Number(t.chainId),nonce:Number(t.
1nonce),r:t.r,s:t.s,yParity:Number(t.yParity)}))),e.yParity=(()=>{if(t.yParity)return Number(t.yParity);if("bigint"==typeof e.v){if(0n===e.v||27n===e.v)return 0;if(1n===e.v||28n===e.v)return 1;if(e.v>=35n)return e.v%2n===0n?1:0}})(),"legacy"===e.type&&(delete e.accessList,delete e.maxFeePerBlobGas,delete e.maxFeePerGas,delete e.maxPriorityFeePerGas,delete e.yParity),"eip2930"===e.type&&(delete e.maxFeePerBlobGas,delete e.maxFeePerGas,delete e.maxPriorityFeePerGas),"eip1559"===e.type&&delete e.maxFeePerBlobGas,e}let s=i("transaction",a),u=i("block",function(t){let e=(t.transactions??[]).map(t=>"string"==typeof t?t:a(t));return{...t,baseFeePerGas:t.baseFeePerGas?BigInt(t.baseFeePerGas):null,blobGasUsed:t.blobGasUsed?BigInt(t.blobGasUsed):void 0,difficulty:t.difficulty?BigInt(t.difficulty):void 0,excessBlobGas:t.excessBlobGas?BigInt(t.excessBlobGas):void 0,gasLimit:t.gasLimit?BigInt(t.gasLimit):void 0,gasUsed:t.gasUsed?BigInt(t.gasUsed):void 0,hash:t.hash?t.hash:null,logsBloom:t.logsBloom?t.logsBloom:null,nonce:t.nonce?t.nonce:null,number:t.number?BigInt(t.number):null,size:t.size?BigInt(t.size):void 0,timestamp:t.timestamp?BigInt(t.timestamp):void 0,transactions:e,totalDifficulty:t.totalDifficulty?BigInt(t.totalDifficulty):null}}),c={"0x0":"reverted","0x1":"success"},l=i("transactionReceipt",function(t){let e={...t,blockNumber:t.blockNumber?BigInt(t.blockNumber):null,contractAddress:t.contractAddress?t.contractAddress:null,cumulativeGasUsed:t.cumulativeGasUsed?BigInt(t.cumulativeGasUsed):null,effectiveGasPrice:t.effectiveGasPrice?BigInt(t.effectiveGasPrice):null,gasUsed:t.gasUsed?BigInt(t.gasUsed):null,logs:t.logs?t.logs.map(t=>(function(t,{args:e,eventName:n}={}){return{...t,blockHash:t.blockHash?t.blockHash:null,blockNumber:t.blockNumber?BigInt(t.blockNumber):null,logIndex:t.logIndex?Number(t.logIndex):null,transactionHash:t.transactionHash?t.transactionHash:null,transactionIndex:t.transactionIndex?Number(t.transactionIndex):null,...n?{args:e,eventName:n}:{}}})(t)):null,to:t.to?t.to:null,transactionIndex:t.transactionIndex?(0,r.ME)(t.transactionIndex):null,status:t.status?c[t.status]:null,type:t.type?o[t.type]||t.type:null};return t.blobGasPrice&&(e.blobGasPrice=BigInt(t.blobGasPrice)),t.blobGasUsed&&(e.blobGasUsed=BigInt(t.blobGasUsed)),e}),f={block:u({format:t=>({transactions:t.transactions?.map(t=>{if("string"==typeof t)return t;let e=a(t);return"0x7e"===e.typeHex&&(e.isSystemTx=t.isSystemTx,e.mint=t.mint?r.uU(t.mint):void 0,e.sourceHash=t.sourceHash,e.type="deposit"),e}),stateRoot:t.stateRoot})}),transaction:s({format(t){let e={};return"0x7e"===t.type&&(e.isSystemTx=t.isSystemTx,e.mint=t.mint?(0,r.uU)(t.mint):void 0,e.sourceHash=t.sourceHash,e.type="deposit"),e}}),transactionReceipt:l({format:t=>({l1GasPrice:t.l1GasPrice?(0,r.uU)(t.l1GasPrice):null,l1GasUsed:t.l1GasUsed?(0,r.uU)(t.l1GasUsed):null,l1Fee:t.l1Fee?(0,r.uU)(t.l1Fee):null,l1FeeScalar:t.l1FeeScalar?Number(t.l1FeeScalar):null})})};var d=n(56605),h=n(43570),p=n(13152),g=n(46691),m=n(69632),v=n(68733),y=n(78029);function A(t,e="hex"){let n=function t(e){return Array.isArray(e)?function(t){let e=t.reduce((t,e)=>t+e.length,0),n=w(e);return{length:e<=55?1+e:1+n+e,encode(r){for(let{encode:i}of(e<=55?r.pushByte(192+e):(r.pushByte(247+n),1===n?r.pushUint8(e):2===n?r.pushUint16(e):3===n?r.pushUint24(e):r.pushUint32(e)),t))i(r)}}}(e.map(e=>t(e))):function(t){let e="string"==typeof t?(0,y.aT)(t):t,n=w(e.length);return{length:1===e.length&&e[0]<128?1:e.length<=55?1+e.length:1+n+e.length,encode(t){1===e.length&&e[0]<128||(e.length<=55?t.pushByte(128+e.length):(t.pushByte(183+n),1===n?t.pushUint8(e.length):2===n?t.pushUint16(e.length):3===n?t.pushUint24(e.length):t.pushUint32(e.length))),t.pushBytes(e)}}}(e)}(t),r=(0,v.l)(new Uint8Array(n.length));return(n.encode(r),"hex"===e)?(0,g.My)(r.bytes):r.bytes}function w(t){if(t<256)return 1;if(t<65536)return 2;if(t<0x1000000)return 3;if(t<0x100000000)return 4;throw new m.C("Length is too large.")}var b=n(53917);function C(t){let{kzg:e}=t,n=t.to??("string"==typeof t.blobs[0]?"hex":"bytes"),r="string"==typeof t.blobs[0]?t.blobs.map(t=>(0,y.aT)(t)):t.blobs,i=[];for(let t of r)i.push(Uint8Array.from(e.blobToKzgCommitment(t)));return"bytes"===n?i:i.map(t=>(0,g.My)(t))}function E(t){let{kzg:e}=t,n=t.to??("string"==typeof t.blobs[0]?"hex":"bytes"),r="string"==typeof t.blobs[0]?t.blobs.map(t=>(0,y.aT)(t)):t.blobs,i="string"==typeof t.commitments[0]?t.commitments.map(t=>(0,y.aT)(t)):t.commitments,o=[];for(let t=0;t<r.length;t++){let n=r[t],a=i[t];o.push(Uint8Array.from(e.computeBlobKzgProof(n,a)))}return"bytes"===n?o:o.map(t=>(0,g.My)(t))}var x=n(84772),S=n(90065);class B extends m.C{constructor({maxSize:t,size:e}){super("Blob size is too large.",{metaMessages:[`Max: ${t} bytes`,`Given: ${e} bytes`],name:"BlobSizeTooLargeError"})}}class I extends m.C{constructor(){super("Blob data must not be empty.",{name:"EmptyBlobError"})}}class P extends m.C{constructor({hash:t,size:e}){super(`Versioned hash "${t}
1" size is invalid.`,{metaMessages:["Expected: 32",`Received: ${e}`],name:"InvalidVersionedHashSizeError"})}}class k extends m.C{constructor({hash:t,version:e}){super(`Versioned hash "${t}" version is invalid.`,{metaMessages:["Expected: 1",`Received: ${e}`],name:"InvalidVersionedHashVersionError"})}}var T=n(34445),M=n(10664),O=n(5006),R=n(90868),U=n(82531),D=n(626);function L(t){let{chainId:e,maxPriorityFeePerGas:n,maxFeePerGas:r,to:i}=t;if(e<=0)throw new R.qD({chainId:e});if(i&&!(0,h.P)(i))throw new d.M({address:i});if(r&&r>O.Ao)throw new U.BG({maxFeePerGas:r});if(n&&r&&n>r)throw new U.lN({maxFeePerGas:r,maxPriorityFeePerGas:n})}function N(t){if(!t||0===t.length)return[];let e=[];for(let n=0;n<t.length;n++){let{address:r,storageKeys:i}=t[n];for(let t=0;t<i.length;t++)if(i[t].length-2!=64)throw new b.fZ({storageKey:i[t]});if(!(0,h.P)(r,{strict:!1}))throw new d.M({address:r});e.push([r,i])}return e}function F(t,e){let n=e??t,{v:r,yParity:i}=n;if(void 0===n.r||void 0===n.s||void 0===r&&void 0===i)return[];let o=(0,M.B)(n.r),a=(0,M.B)(n.s);return["number"==typeof i?i?(0,g.nj)(1):"0x":0n===r?"0x":1n===r?(0,g.nj)(1):27n===r?"0x":(0,g.nj)(1),"0x00"===o?"0x":o,"0x00"===a?"0x":a]}let j={contracts:{gasPriceOracle:{address:"0x420000000000000000000000000000000000000F"},l1Block:{address:"0x4200000000000000000000000000000000000015"},l2CrossDomainMessenger:{address:"0x4200000000000000000000000000000000000007"},l2Erc721Bridge:{address:"0x4200000000000000000000000000000000000014"},l2StandardBridge:{address:"0x4200000000000000000000000000000000000010"},l2ToL1MessagePasser:{address:"0x4200000000000000000000000000000000000016"}},formatters:f,serializers:{transaction:function(t,e){return"deposit"===t.type||void 0!==t.sourceHash?function(t){!function(t){let{from:e,to:n}=t;if(e&&!(0,h.P)(e))throw new d.M({address:e});if(n&&!(0,h.P)(n))throw new d.M({address:n})}(t);let{sourceHash:e,data:n,from:r,gas:i,isSystemTx:o,mint:a,to:s,value:u}=t,c=[e,r,s??"0x",a?(0,g.nj)(a):"0x",u?(0,g.nj)(u):"0x",i?(0,g.nj)(i):"0x",o?"0x1":"0x",n??"0x"];return(0,p.aP)(["0x7e",A(c)])}(t):function(t,e){let n=function(t){if(t.type)return t.type;if(void 0!==t.authorizationList)return"eip7702";if(void 0!==t.blobs||void 0!==t.blobVersionedHashes||void 0!==t.maxFeePerBlobGas||void 0!==t.sidecars)return"eip4844";if(void 0!==t.maxFeePerGas||void 0!==t.maxPriorityFeePerGas)return"eip1559";if(void 0!==t.gasPrice)return void 0!==t.accessList?"eip2930":"legacy";throw new b.Vg({transaction:t})}(t);return"eip1559"===n?function(t,e){let{chainId:n,gas:r,nonce:i,to:o,value:a,maxFeePerGas:s,maxPriorityFeePerGas:u,accessList:c,data:l}=t;L(t);let f=N(c),d=[(0,g.nj)(n),i?(0,g.nj)(i):"0x",u?(0,g.nj)(u):"0x",s?(0,g.nj)(s):"0x",r?(0,g.nj)(r):"0x",o??"0x",a?(0,g.nj)(a):"0x",l??"0x",f,...F(t,e)];return(0,p.aP)(["0x02",A(d)])}(t,e):"eip2930"===n?function(t,e){let{chainId:n,gas:r,data:i,nonce:o,to:a,value:s,accessList:u,gasPrice:c}=t;!function(t){let{chainId:e,maxPriorityFeePerGas:n,gasPrice:r,maxFeePerGas:i,to:o}=t;if(e<=0)throw new R.qD({chainId:e});if(o&&!(0,h.P)(o))throw new d.M({address:o});if(n||i)throw new m.C("`maxFeePerGas`/`maxPriorityFeePerGas` is not a valid EIP-2930 Transaction attribute.");if(r&&r>O.Ao)throw new U.BG({maxFeePerGas:r})}(t);let l=N(u),f=[(0,g.nj)(n),o?(0,g.nj)(o):"0x",c?(0,g.nj)(c):"0x",r?(0,g.nj)(r):"0x",a??"0x",s?(0,g.nj)(s):"0x",i??"0x",l,...F(t,e)];return(0,p.aP)(["0x01",A(f)])}(t,e):"eip4844"===n?function(t,e){let{chainId:n,gas:i,nonce:o,to:a,value:s,maxFeePerBlobGas:u,maxFeePerGas:c,maxPriorityFeePerGas:l,accessList:f,data:d}=t;!function(t){let{blobVersionedHashes:e}=t;if(e){if(0===e.length)throw new I;for(let t of e){let e=(0,T.E)(t),n=(0,r.ME)((0,D.di)(t,0,1));if(32!==e)throw new P({hash:t,size:e});if(1!==n)throw new k({hash:t,version:n})}}L(t)}(t);let h=t.blobVersionedHashes,m=t.sidecars;if(t.blobs&&(void 0===h||void 0===m)){let e="string"==typeof t.blobs[0]?t.blobs:t.blobs.map(t=>(0,g.My)(t)),n=t.kzg,r=C({blobs:e,kzg:n});if(void 0===h&&(h=function(t){let{commitments:e,version:n}=t,r=t.to??("string"==typeof e[0]?"hex":"bytes"),i=[];for(let t of e)i.push(function(t){let{commitment:e,version:n=1}=t,r=t.to??("string"==typeof e?"hex":"bytes"),i=function(t,e){let n=(0,x.sc)((0,S.q)(t,{strict:!1})?(0,y.ZJ)(t):t);return"bytes"===(e||"hex")?n:(0,g.nj)(n)}(e,"bytes");return i.set([n],0),"bytes"===r?i:(0,g.My)(i)}
1({commitment:t,to:r,version:n}));return i}({commitments:r})),void 0===m){let t=E({blobs:e,commitments:r,kzg:n});m=function(t){let{data:e,kzg:n,to:r}=t,i=t.blobs??function(t){let e=t.to??("string"==typeof t.data?"hex":"bytes"),n="string"==typeof t.data?(0,y.aT)(t.data):t.data,r=(0,T.E)(n);if(!r)throw new I;if(r>761855)throw new B({maxSize:761855,size:r});let i=[],o=!0,a=0;for(;o;){let t=(0,v.l)(new Uint8Array(131072)),e=0;for(;e<4096;){let r=n.slice(a,a+31);if(t.pushByte(0),t.pushBytes(r),r.length<31){t.pushByte(128),o=!1;break}e++,a+=31}i.push(t)}return"bytes"===e?i.map(t=>t.bytes):i.map(t=>(0,g.My)(t.bytes))}({data:e,to:r}),o=t.commitments??C({blobs:i,kzg:n,to:r}),a=t.proofs??E({blobs:i,commitments:o,kzg:n,to:r}),s=[];for(let t=0;t<i.length;t++)s.push({blob:i[t],commitment:o[t],proof:a[t]});return s}({blobs:e,commitments:r,proofs:t})}}let w=N(f),b=[(0,g.nj)(n),o?(0,g.nj)(o):"0x",l?(0,g.nj)(l):"0x",c?(0,g.nj)(c):"0x",i?(0,g.nj)(i):"0x",a??"0x",s?(0,g.nj)(s):"0x",d??"0x",w,u?(0,g.nj)(u):"0x",h??[],...F(t,e)],M=[],O=[],R=[];if(m)for(let t=0;t<m.length;t++){let{blob:e,commitment:n,proof:r}=m[t];M.push(e),O.push(n),R.push(r)}return(0,p.aP)(["0x03",m?A([b,M,O,R]):A(b)])}(t,e):"eip7702"===n?function(t,e){let{authorizationList:n,chainId:r,gas:i,nonce:o,to:a,value:s,maxFeePerGas:u,maxPriorityFeePerGas:c,accessList:l,data:f}=t;!function(t){let{authorizationList:e}=t;if(e)for(let t of e){let{contractAddress:e,chainId:n}=t;if(!(0,h.P)(e))throw new d.M({address:e});if(n<0)throw new R.qD({chainId:n})}L(t)}(t);let m=N(l),v=function(t){if(!t||0===t.length)return[];let e=[];for(let n of t){let{contractAddress:t,chainId:r,nonce:i,...o}=n;e.push([r?(0,g.nj)(r):"0x",t,i?(0,g.nj)(i):"0x",...F({},o)])}return e}(n);return(0,p.aP)(["0x04",A([(0,g.nj)(r),o?(0,g.nj)(o):"0x",c?(0,g.nj)(c):"0x",u?(0,g.nj)(u):"0x",i?(0,g.nj)(i):"0x",a??"0x",s?(0,g.nj)(s):"0x",f??"0x",m,v,...F(t,e)])])}(t,e):function(t,e){let{chainId:n=0,gas:r,data:i,nonce:o,to:a,value:s,gasPrice:u}=t;!function(t){let{chainId:e,maxPriorityFeePerGas:n,gasPrice:r,maxFeePerGas:i,to:o}=t;if(o&&!(0,h.P)(o))throw new d.M({address:o});if(void 0!==e&&e<=0)throw new R.qD({chainId:e});if(n||i)throw new m.C("`maxFeePerGas`/`maxPriorityFeePerGas` is not a valid Legacy Transaction attribute.");if(r&&r>O.Ao)throw new U.BG({maxFeePerGas:r})}(t);let c=[o?(0,g.nj)(o):"0x",u?(0,g.nj)(u):"0x",r?(0,g.nj)(r):"0x",a??"0x",s?(0,g.nj)(s):"0x",i??"0x"];if(e){let t=(()=>{if(e.v>=35n)return(e.v-35n)/2n>0?e.v:27n+(35n===e.v?0n:1n);if(n>0)return BigInt(2*n)+BigInt(35n+e.v-27n);let t=27n+(27n===e.v?0n:1n);if(e.v!==t)throw new b.zW({v:e.v});return t})(),r=(0,M.B)(e.r),i=(0,M.B)(e.s);c=[...c,(0,g.nj)(t),"0x00"===r?"0x":r,"0x00"===i?"0x":i]}else n>0&&(c=[...c,(0,g.nj)(n),"0x","0x"]);return A(c)}(t,e)}(t,e)}}},V=(0,n(77491).x)({...j,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:{...j.contracts,disputeGameFactory:{1:{address:"0xe5965Ab5962eDc7477C8520243A95517CD252fA9"}},l2OutputOracle:{1:{address:"0xdfe97868233d1aa22e815a266982f2cf17685a27"}},multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:4286263},portal:{1:{address:"0xbEb5Fc579115071764c7423A4f12eDde41f106Ed"}},l1StandardBridge:{1:{address:"0x99C9fc46f92E8a1c0deC1b1747d010903E884bE1"}}},sourceId:1})},20607:(t,e,n)=>{"use strict";n.d(e,{n:()=>r});let r=(0,n(77491).x)({id:137,name:"Polygon",nativeCurrency:{name:"POL",symbol:"POL",decimals:18},rpcUrls:{default:{http:["https://polygon-rpc.com"]}},blockExplorers:{default:{name:"PolygonScan",url:"https://polygonscan.com",apiUrl:"https://api.polygonscan.com/api"}},contracts:{multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:0x18938b0}}})},76071:(t,e,n)=>{"use strict";n.d(e,{U:()=>o});var r=n(66530),i=n(57215);function o(t){let{batch:e,cacheTime:n=t.pollingInterval??4e3,ccipRead:o,key:a="base",name:s="Base Client",pollingInterval:u=4e3,type:c="base"}=t,l=t.chain,f=t.account?(0,r.J)(t.account):void 0,{config:d,request:h,value:p}=t.transport({chain:l,pollingInterval:u}
1),g={account:f,batch:e,cacheTime:n,ccipRead:o,chain:l,key:a,name:s,pollingInterval:u,request:h,transport:{...d,...p},type:c,uid:(0,i.L)()};return Object.assign(g,{extend:function t(e){return n=>{let r=n(e);for(let t in g)delete r[t];let i={...e,...r};return Object.assign(i,{extend:t(i)})}}(g)})}},77719:(t,e,n)=>{"use strict";n.d(e,{o:()=>f});var r=n(69632),i=n(36416),o=n(34710),a=n(46691);let s=new(n(60284)).A(8192);var u=n(19085),c=n(9988),l=n(57215);function f({key:t,methods:e,name:n,request:f,retryCount:d=3,retryDelay:h=150,timeout:p,type:g},m){return{config:{key:t,name:n,request:f,retryCount:d,retryDelay:h,timeout:p,type:g},request:function(t,e={}){return async(n,l={})=>{let{dedupe:f=!1,methods:d,retryDelay:h=150,retryCount:p=3,uid:g}={...e,...l},{method:m}=n;if(d?.exclude?.includes(m)||d?.include&&!d.include.includes(m))throw new o.ab(Error("method not supported"),{method:m});let v=f?(0,a.i3)(`${g}.${(0,c.A)(n)}`):void 0;return function(t,{enabled:e=!0,id:n}){if(!e||!n)return t();if(s.get(n))return s.get(n);let r=t().finally(()=>s.delete(n));return s.set(n,r),r}(()=>(0,u.b)(async()=>{try{return await t(n)}catch(t){switch(t.code){case o.XU.code:throw new o.XU(t);case o.CL.code:throw new o.CL(t);case o.Gi.code:throw new o.Gi(t,{method:n.method});case o.D5.code:throw new o.D5(t);case o.bq.code:throw new o.bq(t);case o.Di.code:throw new o.Di(t);case o.hA.code:throw new o.hA(t);case o.qZ.code:throw new o.qZ(t);case o.YW.code:throw new o.YW(t);case o.ab.code:throw new o.ab(t,{method:n.method});case o.s0.code:throw new o.s0(t);case o.xQ.code:throw new o.xQ(t);case o.vx.code:throw new o.vx(t);case o.sV.code:throw new o.sV(t);case o.Sf.code:throw new o.Sf(t);case o.RV.code:throw new o.RV(t);case o.xq.code:throw new o.xq(t);case o.ch.code:throw new o.ch(t);case 5e3:throw new o.vx(t);default:if(t instanceof r.C)throw t;throw new o.MI(t)}}},{delay:({count:t,error:e})=>{if(e&&e instanceof i.Ci){let t=e?.headers?.get("Retry-After");if(t?.match(/\d/))return 1e3*Number.parseInt(t)}return~~(1<<t)*h},retryCount:p,shouldRetry:({error:t})=>"code"in t&&"number"==typeof t.code?-1===t.code||t.code===o.s0.code||t.code===o.bq.code:!(t instanceof i.Ci)||!t.status||403===t.status||408===t.status||413===t.status||429===t.status||500===t.status||502===t.status||503===t.status||504===t.status}),{enabled:f,id:v})}}(f,{methods:e,retryCount:d,retryDelay:h,uid:(0,l.L)()}),value:m}}},99960:(t,e,n)=>{"use strict";n.d(e,{L:()=>f});var r=n(36416),i=n(69632);class o extends i.C{constructor(){super("No URL was provided to the Transport. Please provide a valid RPC URL to the Transport.",{docsPath:"/docs/clients/intro",name:"UrlRequiredError"})}}var a=n(37804),s=n(48452),u=n(9988);let c={current:0,take(){return this.current++},reset(){this.current=0}};var l=n(77719);function f(t,e={}){let{batch:n,fetchOptions:i,key:d="http",methods:h,name:p="HTTP JSON-RPC",onFetchRequest:g,onFetchResponse:m,retryDelay:v}=e;return({chain:f,retryCount:y,timeout:A})=>{let{batchSize:w=1e3,wait:b=0}="object"==typeof n?n:{},C=e.retryCount??y,E=A??e.timeout??1e4,x=t||f?.rpcUrls.default.http[0];if(!x)throw new o;let S=function(t,e={}){return{async request(n){let{body:i,onRequest:o=e.onRequest,onResponse:a=e.onResponse,timeout:l=e.timeout??1e4}=n,f={...e.fetchOptions??{},...n.fetchOptions??{}},{headers:d,method:h,signal:p}=f;try{let e;let n=await (0,s.w)(async({signal:e})=>{let n={...f,body:Array.isArray(i)?(0,u.A)(i.map(t=>({jsonrpc:"2.0",id:t.id??c.take(),...t}))):(0,u.A)({jsonrpc:"2.0",id:i.id??c.take(),...i}),headers:{"Content-Type":"application/json",...d},method:h||"POST",signal:p||(l>0?e:null)},r=new Request(t,n),a=await o?.(r,n)??{...n,url:t};return await fetch(a.url??t,a)},{errorInstance:new r.MU({body:i,url:t}),timeout:l,signal:!0});if(a&&await a(n),n.headers.get("Content-Type")?.startsWith("application/json"))e=await n.json();else{e=await n.text();try{e=JSON.parse(e||"{}")}catch(t){if(n.ok)throw t;e={error:e}}}if(!n.ok)throw new r.Ci({body:i,details:(0,u.A)(e.error)||n.statusText,headers:n.headers,status:n.status,url:t});return e}catch(e){if(e instanceof r.Ci||e instanceof r.MU)throw e;throw new r.Ci({body:i,cause:e,url:t})}}}}(x,{fetchOptions:i,onRequest:g,onResponse:m,timeout:E});return(0,l.o)({key:d,methods:h,name:p,async request({method:t,params:e}){let i={method:t,params:e},{schedule:o}=(0,a.u)({id:x,wait:b,shouldSplitBatch:t=>t.length>w,fn:t=>S.request({body:t}),sort:(t,e)=>t.id-e.id}),s=async t=>n?o(t):[await S.request({body:t})],[{error:u,result:c}]=await s(i);if(u)throw new r.J8({body:i,error:u,url:x});return c}
1,retryCount:C,retryDelay:v,timeout:E,type:"http"},{fetchOptions:i,url:x})}}},77491:(t,e,n)=>{"use strict";function r(t){return{formatters:void 0,fees:void 0,serializers:void 0,...t}}n.d(e,{x:()=>r})},18424:(t,e,n)=>{"use strict";let r,i,o,a,s,u,c,l,f,d,h,p,g,m,v,y;n.d(e,{S:()=>J});let A=new Map([[8217,"apostrophe"],[8260,"fraction slash"],[12539,"middle dot"]]);function w(t){var e;let n;return e=function(t){let e=0;function n(){return t[e++]<<8|t[e++]}let r=n(),i=1,o=[0,1];for(let t=1;t<r;t++)o.push(i+=n());let a=n(),s=e;e+=a;let u=0,c=0;function l(){return 0==u&&(c=c<<8|t[e++],u=8),c>>--u&1}let f=0x80000000-1,d=0;for(let t=0;t<31;t++)d=d<<1|l();let h=[],p=0,g=0x80000000;for(;;){let t=Math.floor(((d-p+1)*i-1)/g),e=0,n=r;for(;n-e>1;){let r=e+n>>>1;t<o[r]?n=r:e=r}if(0==e)break;h.push(e);let a=p+Math.floor(g*o[e]/i),s=p+Math.floor(g*o[e+1]/i)-1;for(;((a^s)&0x40000000)==0;)d=d<<1&f|l(),a=a<<1&f,s=s<<1&f|1;for(;a&~s&0x20000000;)d=0x40000000&d|d<<1&f>>>1|l(),a=a<<1^0x40000000,s=(0x40000000^s)<<1|0x40000001;p=a,g=1+s-a}let m=r-4;return h.map(e=>{switch(e-m){case 3:return m+65792+(t[s++]<<16|t[s++]<<8|t[s++]);case 2:return m+256+(t[s++]<<8|t[s++]);case 1:return m+t[s++];default:return e-1}})}(function(t){let e=[];[..."ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"].forEach((t,n)=>e[t.charCodeAt(0)]=n);let n=t.length,r=new Uint8Array(6*n>>3);for(let i=0,o=0,a=0,s=0;i<n;i++)s=s<<6|e[t.charCodeAt(i)],(a+=6)>=8&&(r[o++]=s>>(a-=8));return r}(t)),n=0,()=>e[n++]}function b(t,e=0){let n=[];for(;;){let r=t(),i=t();if(!i)break;e+=r;for(let t=0;t<i;t++)n.push(e+t);e+=i+1}return n}function C(t){return x(()=>{let e=b(t);if(e.length)return e})}function E(t){let e=[];for(;;){let n=t();if(0==n)break;e.push(function(t,e){let n=1+e(),r=e(),i=x(e);return S(i.length,1+t,e).flatMap((t,e)=>{let[o,...a]=t;return Array(i[e]).fill().map((t,e)=>{let i=e*r;return[o+e*n,a.map(t=>t+i)]})})}(n,t))}for(;;){let n=t()-1;if(n<0)break;e.push(S(1+t(),1+n,t).map(t=>[t[0],t.slice(1)]))}return e.flat()}function x(t){let e=[];for(;;){let n=t(e.length);if(!n)break;e.push(n)}return e}function S(t,e,n){let r=Array(t).fill().map(()=>[]);for(let i=0;i<e;i++)(function(t,e){let n=Array(t);for(let i=0,o=0;i<t;i++){var r;n[i]=o+=1&(r=e())?~r>>1:r>>1}return n})(t,n).forEach((t,e)=>r[e].push(t));return r}function B(t){return`{${t.toString(16).toUpperCase().padStart(2,"0")}}`}function I(t){let e=t.length;if(e<4096)return String.fromCodePoint(...t);let n=[];for(let r=0;r<e;)n.push(String.fromCodePoint(...t.slice(r,r+=4096)));return n.join("")}function P(t,e){let n=t.length,r=n-e.length;for(let i=0;0==r&&i<n;i++)r=t[i]-e[i];return r}function k(t){return t>>24&255}function T(t){return 0xffffff&t}function M(t){return t>=44032&&t<55204}function O(t){r||function(){let t=w("AEUDVgHLCGMATwDUADIAdAAhADQAFAAtABQAIQAPACcADQASAAoAGAAJABIACQARAAUACwAFAAwABQAQAAMABwAEAAoABQAJAAIACgABAAQAFAALAAIACwABAAIAAQAHAAMAAwAEAAsADAAMAAwACwANAA0AAwAKAAkABAAdAAYAZwDTAeYDMwCxCl8B8xhZAqfoC190UGcThgBurwf7PT09Pb09AjgJum8OjDllxHYUKXAPxzq6tABAxgK8ysUvWAgMPT09PT09PSs6LT2HcgWXWwFLoSMEEEl5RFVMKvO0XQ8ExDdJMnIgPi89uj00MsvBXxEPAGPCDwBnQKoEbwRwBHEEcgRzBHQEdQR2BHcEeAR6BHsEfAR+BIAEgfndBQoBYgULAWIFDAFiBNcE2ATZBRAFEQUvBdALFAsVDPcNBw13DYcOMA4xDjMB4BllHI0B2grbAMDpHLkQ7QHVAPRNQQFnGRUEg0yEB2uaJF8AJpIBpob5A
1ERSMAKNoAXqaQLUBMCzEiC+AZ4EWRJJFbEu7QDQLARtEbgECxDwAb/RyAk1AV4nD2cEQQKTAzsAGpobWgAahAGPCrysdy0OAKwAfFIcBAQFUmoA/PtZADkBIadVj2UMUgx5Il4ANQC9vA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12Z7thf4dzN1+Sn+G8QrDA1VKaN4IFxD1rQz9Xq9Coii9S9/hPbTGjyBwFH3H1UdQuz5KsgPDEHua4/kPg2Gp/IIItsaLWBqiT9XH45MiQxSosGJ56H/0F2cjcCFd72l1665RNHURdC3lspI77esfJsl+rXXabkAy7vxDXG/XGGcKpwiKDPFfvMEgjkAHil4Za1F36RnyxxvdIAzvgfH8knukYDck07tc++DP4TdWeI7HXuq5Yl6VVFrUQtf64/dkXewlKZSHQo6YvCSpREB0GDrz+Ys2GfO8nw2SwrYwaf88AifzlPvP17bf1mI3AuccJvAjZIpBmqvharKFAebEjVKfGAwpQjWoXlm9LROsq9bCk1UeQ3CJxJqprzssS/Q04JeS1ReCCubL3J7sx86spkP4eNpp95UF+8K748icIs8vdILFklk9skQqi1So6cx3X906pvy1vz+KipTJ8fiVJxsV5MmT0XwA");for(let[e,n]of(r=new Map(C(t).flatMap((t,e)=>t.map(t=>[t,e+1<<24]))),i=new Set(b(t)),o=new Map,a=new Map,E(t))){if(!i.has(e)&&2==n.length){let[t,r]=n,i=a.get(t);i||(i=new Map,a.set(t,i)),i.set(r,e)}o.set(e,n.reverse())}}();let e=[],n=[],s=!1;function u(t){let n=r.get(t);n&&(s=!0,t|=n),e.push(t)}for(let r of t)for(;;){if(r<128)e.push(r);else if(M(r)){let t=r-44032,e=t/588|0,n=t%588/28|0,i=t%28;u(4352+e),u(4449+n),i>0&&u(4519+i)}else{let t=o.get(r);t?n.push(...t):u(r)}if(!n.length)break;r=n.pop()}if(s&&e.length>1){let t=k(e[0]);for(let n=1;n<e.length;n++){let r=k(e[n]);if(0==r||t<=r){t=r;continue}let i=n-1;for(;;){let n=e[i+1];if(e[i+1]=e[i],e[i]=n,!i||(t=k(e[--i]))<=r)break}t=k(e[n])}}return e}function R(t){return function(t){let e=[],n=[],r=-1,i=0;for(let o of t){let t=k(o),s=T(o);if(-1==r)0==t?r=s:e.push(s);else if(i>0&&i>=t)0==t?(e.push(r,...n),n.length=0,r=s):n.push(s),i=t;else{let o=function(t,e){if(t>=4352&&t<4371&&e>=4449&&e<4470)return 44032+(t-4352)*588+(e-4449)*28;if(M(t)&&e>4519&&e<4547&&(t-44032)%28==0)return t+(e-4519);{let n=a.get(t);return n&&(n=n.get(e))?n:-1}}(r,s);o>=0?r=o:0==i&&0==t?(e.push(r),r=s):(n.push(s),i=t)}}return r>=0&&e.push(r,...n),e}(O(t))}let U=t=>Array.from(t);function D(t,e){return t.P.has(e)||t.Q.has(e)}class L extends Array{get is_emoji(){return!0}}function N(){let t,e;if(s)return;let n=w("AEkU4AngDVgB0QKRAQYBOwDqATEAnwDbAIUApABsAOAAbwCRAEYAiQBPAHYAPgA+ACsANwAlAGMAHwAvACsAJQAWAC8AGwAiACIALwAUACsAEQAiAAsAGwARABcAGAA6ACkALAAsADUAFgAsABEAHQAhAA8AGwAdABUAFgAZAA0ADQAXABAAGQAUABIEqgYJAR4UFjfDBdMAsQCuPwFnAKUBA10jAK5/Ly8vLwE/pwUJ6/0HPwbkMQVXBVgAPSs5APa2EQbIwQuUCkEDyJ4zAsUKLwKOoQKG2D+Ob4kCxcsCg/IBH98JAPKtAUECLY0KP48A4wDiChUAF9S5yAwLPZ0EG3cA/QI5GL0P6wkGKekFBIFnDRsHLQCrAGmR76WcfwBbBpMjBukAGwA7DJMAWxVbqfu75wzbIM8IuykDsRQ7APcta6MAoX0YABcEJdcWAR0AuRnNBPoJIEw3CZcJiB4bVllM44NCABMADAAVAA5rVAAhAA4AR+4V2D3zOVjKleYuChAdX01YPewAEwAMABUADmsgXECXAMPrABsAOQzFABsVW6n7Adq4HB0FWwXiAtCfAsSwCkwcpGUUcxptTPUAuw1nAuEACy00iRfJkQKBewETGwC9DWcC4QALLQFIUCWRTAoDLfsFMgnXaRetAddDAEkrEncCMRYhAusnuTdrADnhAfUlAMcOy7UBG2OBALEFAAUAitNJBRvDHwcXAKgn0QGhKy0DmwBnAQoZPu03dAQYFwCqAccCIQDTKxJzOvNQsAWQOncnNUgF+icFW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18MEdurdagldzfJtjFXlZs7St4QhdPiye6TPh2/ZAQLU/Fip5s7TDEM16KtRWrK9hmxnQ7bmfa/+7pa10Z8WDPK3NuJ+NN/RAbQ5vHx2uX0Lm7/w7cAEH/hvZA+mt7J7zGw7YtQYwnNN6dpgwkGjjrS3yQoeoYt1EnczmtmJfQZWzUlP3Hlg9Wzlr9IH23q3thGth+QNEANFettxKfskkGOlLk8AqoKJ
1wDqOxAa6UzAx07plSSyNBJSGco9zjnC5gGbDoKvsMDuBR6bGRlGzJ+hFsGa/Izt78aI+WZ6dJlZKp4pGISuv9rV0sAS0MWEwCmfauO7oQZMiakHU35LBxiyJoOMddhUWgcZuC8r4Ksvn75TTcQXLJ7kWtYhGuGqPd9dZuFjBWQHNwosXY5snbHFQq72CvHXhIg+shQxycuLOuWYErwCLZeF24b7F78pO7xw4X6lIAR02hUOf5087Rl0nOaeb6CK4i/KA/EZv76ftOWZtjwxslNr0E/u8rWUmnf3amfg6UZmBAluuoj3Dd7UV+9IAJ6iYcDfSJlgmIImohjfIUMJ27z+opj50Ak9af2LCNrWrBJvMovA1OeNO+MF/MwZvnaCxTgG7Cw4QfSPF6AYCGFt21M8PySZFeV3t2Rqqs5JMzMYzGRgq4o+UaKRgBf9GHi/9X9HXA3wxkCsd/UhnHSh2zUVDiraio/6nP4y3XJqs8ABfALAtCYU7DHPMPRjgcM6Ad/HiSXDAbOdSMkvGZPAkHs8wuQTy6X2Ov/JFvcPuKfV3/r9Q28"),r=()=>b(n),i=()=>new Set(r()),o=(t,e)=>e.forEach(e=>t.add(e));s=new Map(E(n)),u=i(),c=r(),l=new Set(r().map(t=>c[t])),c=new Set(c),f=i(),i();let a=C(n),d=n(),A=()=>{let t=new Set;return r().forEach(e=>o(t,a[e])),o(t,r()),t};h=x(t=>{let e=x(n).map(t=>t+96);if(e.length){let r=t>=d;return e[0]-=32,e=I(e),r&&(e=`Restricted[${e}]`),{N:e,P:A(),Q:A(),M:!n(),R:r}}}),p=i(),g=new Map;let S=r().concat(U(p)).sort((t,e)=>t-e);for(let{V:t,M:e}of(S.forEach((t,e)=>{let r=n(),i=S[e]=r?S[e-r]:{V:[],M:new Map};i.V.push(t),p.has(t)||g.set(t,i)}),new Set(g.values()))){let n=[];for(let e of t){let t=h.filter(t=>D(t,e)),r=n.find(({G:e})=>t.some(t=>e.has(t)));r||(r={G:new Set,V:[]},n.push(r)),r.V.push(e),o(r.G,t)}let r=n.flatMap(t=>U(t.G));for(let{G:t,V:i}of n){let n=new Set(r.filter(e=>!t.has(e)));for(let t of i)e.set(t,n)}}m=new Set;let B=new Set,k=t=>m.has(t)?B.add(t):m.add(t);for(let t of h){for(let e of t.P)k(e);for(let e of t.Q)k(e)}for(let t of m)g.has(t)||B.has(t)||g.set(t,1);for(let r of(o(m,O(m).map(T)),v=(t=[],e=b(n),function e({S:n,B:r},i,o){if(!(4&n)||o!==i[i.length-1])for(let a of(2&n&&(o=i[i.length-1]),1&n&&t.push(i),r))for(let t of a.Q)e(a,[...i,t],o)}(function t(r){return{S:n(),B:x(()=>{let r=b(n).map(t=>e[t]);if(r.length)return t(r)}),Q:r}}([]),[]),t).map(t=>L.from(t)).sort(P),y=new Map,v)){let t=[y];for(let e of r){let n=t.map(t=>{let n=t.get(e);return n||(n=new Map,t.set(e,n)),n});65039===e?t.push(...n):t=n}for(let e of t)e.V=r}}function F(t){return(Q(t)?"":`${j(V([t]))} `)+B(t)}function j(t){return`"${t}"\u200E`}function V(t,e=1/0,n=B){var r;let i=[];r=t[0],N(),c.has(r)&&i.push("â"),t.length>e&&(e>>=1,t=[...t.slice(0,e),8230,...t.slice(-e)]);let o=0,a=t.length;for(let e=0;e<a;e++){let r=t[e];Q(r)&&(i.push(I(t.slice(o,e))),i.push(n(r)),o=e+1)}return i.push(I(t.slice(o,a))),i.join("")}function Q(t){return N(),f.has(t)}function z(t){return Error(`disallowed character: ${F(t)}`)}function H(t,e){let n=F(e),r=h.find(t=>t.P.has(e));return r&&(n=`${r.N} ${n}`),Error(`illegal mixture: ${t.N} + ${n}`)}function G(t){return Error(`illegal placement: ${t}`)}function K(t){return t.filter(t=>65039!=t)}function J(t){var e;return(e=function(t,e,n){if(!t)return[];N();let r=0;return t.split(".").map(t=>{let i=function(t){let e=[];for(let n=0,r=t.length;n<r;){let r=t.codePointAt(n);n+=r<65536?1:2,e.push(r)}return e}(t),o={input:i,offset:r};r+=i.length+1;try{let t,r=o.tokens=function(t,e,n){let r=[],i=[];for(t=t.slice().reverse();t.length;){let o=function(t,e){let n,r=y,i=t.length;for(;i&&(r=r.get(t[--i]));){let{V:e}=r;e&&(n=e,t.length=i)}return n}(t);if(o)i.length&&(r.push(e(i)),i=[]),r.push(n(o));else{let e=t.pop();if(m.has(e))i.push(e);else{let t=s.get(e);if(t)i.push(...t);else if(!u.has(e))throw z(e)}}}return i.length&&r.push(e(i)),r}(i,e,n),a=r.length;if(!a)throw Error("empty label");let f=o.output=r.flat();if(!function(t){for(let e=t.lastIndexOf(95);e>0;)if(95!==t[--e])throw Error("underscore allowed only at start")}(f),!(o.emoji=a>1||r[0].is_emoji)&&f.every(t=>t<128))!function(t){if(t.length>=4&&45==t[2]&&45==t[3])throw Error(`invalid label extension: "${I(t.slice(0,4))}"`)}(f),t="ASCII";else{let e=r.flatMap(t=>t.is_emoji?[]:t);if(e.length){if(c.has(f[0]))throw G("leading combining mark");for(let t=1;t<a;t++){let e=r[t];
1if(!e.is_emoji&&c.has(e[0]))throw G(`emoji + combining mark: "${I(r[t-1])} + ${V([e[0]])}"`)}!function(t){let e=t[0],n=A.get(e);if(n)throw G(`leading ${n}`);let r=t.length,i=-1;for(let o=1;o<r;o++){e=t[o];let r=A.get(e);if(r){if(i==o)throw G(`${n} + ${r}`);i=o+1,n=r}}if(i==r)throw G(`trailing ${n}`)}(f);let n=U(new Set(e)),[i]=function(t){let e=h;for(let n of t){let t=e.filter(t=>D(t,n));if(!t.length){if(h.some(t=>D(t,n)))throw H(e[0],n);throw z(n)}if(e=t,1==t.length)break}return e}(n);(function(t,e){for(let n of e)if(!D(t,n))throw H(t,n);if(t.M){let t=O(e).map(T);for(let e=1,n=t.length;e<n;e++)if(l.has(t[e])){let r=e+1;for(let i;r<n&&l.has(i=t[r]);r++)for(let n=e;n<r;n++)if(t[n]==i)throw Error(`duplicate non-spacing marks: ${F(i)}`);if(r-e>4)throw Error(`excessive non-spacing marks: ${j(V(t.slice(e-1,r)))} (${r-e}/4)`);e=r}}})(i,e),function(t,e){let n;let r=[];for(let t of e){let e=g.get(t);if(1===e)return;if(e){let r=e.M.get(t);if(!(n=n?n.filter(t=>r.has(t)):U(r)).length)return}else r.push(t)}if(n){for(let e of n)if(r.every(t=>D(e,t)))throw Error(`whole-script confusable: ${t.N}/${e.N}`)}}(i,n),t=i.N}else t="Emoji"}o.type=t}catch(t){o.error=t}return o})}(t,R,K)).map(({input:t,error:n,output:r})=>{if(n){let r=n.message;throw Error(1==e.length?r:`Invalid label ${j(V(t,63))}: ${r}`)}return I(r)}).join(".")}},19085:(t,e,n)=>{"use strict";n.d(e,{b:()=>i});var r=n(81566);function i(t,{delay:e=100,retryCount:n=2,shouldRetry:o=()=>!0}={}){return new Promise((i,a)=>{let s=async({count:u=0}={})=>{let c=async({error:t})=>{let n="function"==typeof e?e({count:u,error:t}):e;n&&await (0,r.u)(n),s({count:u+1})};try{let e=await t();i(e)}catch(t){if(u<n&&await o({count:u,error:t}))return c({error:t});a(t)}};s()})}},48452:(t,e,n)=>{"use strict";function r(t,{errorInstance:e=Error("timed out"),timeout:n,signal:r}){return new Promise((i,o)=>{(async()=>{let a;try{let s=new AbortController;n>0&&(a=setTimeout(()=>{r?s.abort():o(e)},n)),i(await t({signal:s?.signal||null}))}catch(t){t?.name==="AbortError"&&o(e),o(t)}finally{clearTimeout(a)}})()})}n.d(e,{w:()=>r})},57215:(t,e,n)=>{"use strict";let r;n.d(e,{L:()=>o});let i=256;function o(t=11){if(!r||i+t>512){r="",i=0;for(let t=0;t<256;t++)r+=(256+256*Math.random()|0).toString(16).substring(1)}return r.substring(i,i+++t)}},81566:(t,e,n)=>{"use strict";async function r(t){return new Promise(e=>setTimeout(e,t))}n.d(e,{u:()=>r})},1113:(t,e,n)=>{"use strict";n.d(e,{F:()=>l});var r=n(19711),i=n(85082),o=n(44535),a=n(26643),s=n(21749),u=n(40563);let c=t=>"object"==typeof t&&!Array.isArray(t);function l(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=(0,o.U)(t);return function(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:a.b,i=(0,s.useRef)([]),o=(0,u.useSyncExternalStoreWithSelector)(t,e,n,t=>t,(t,e)=>{if(c(t)&&c(e)&&i.current.length){for(let n of i.current)if(!r(t[n],e[n]))return!1;return!0}return r(t,e)});return(0,s.useMemo)(()=>{if(c(o)){let t={...o},e={};for(let[n,r]of Object.entries(t))e={...e,[n]:{configurable:!1,enumerable:!0,get:()=>(i.current.includes(n)||i.current.push(n),r)}};return Object.defineProperties(t,e),t}return o},[o])}(t=>(0,r.F)(e,{onChange:t}),()=>(0,i.s)(e))}},65183:(t,e,n)=>{"use strict";n.d(e,{U:()=>a});var r=n(19711),i=n(21749),o=n(44535);function a(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{onConnect:e,onDisconnect:n}=t,a=(0,o.U)(t);(0,i.useEffect)(()=>(0,r.F)(a,{onChange(t,r){if(("reconnecting"===r.status||"connecting"===r.status&&void 0===r.address)&&"connected"===t.status){let{address:n,addresses:i,chain:o,chainId:a,connector:s}=t,u="reconnecting"===r.status||void 0===r.status;null==e||e({address:n,addresses:i,chain:o,chainId:a,connector:s,isReconnected:u})}else"connected"===r.status&&"disconnected"===t.status&&(null==n||n())}}),[a,e,n])}},87461:(t,e,n)=>{"use strict";n.d(e,{A:()=>T});var r=n(47364),i=n(10664),o=n(91520),a=n(46691);async function s(t,{address:e,blockNumber:n,blockTag:r="latest"}){let i=n?(0,a.cK)(n):void 0;return BigInt(await t.request({method:"eth_getBalance",params:[e,i||r]}))}var u=n(6715),c=n(52805);function l(t){return"number"==typeof t?t:"wei"===t?0:Math.abs(c.pj[t])}var f=n(13488),d=n(33960),h=n(94911),p=n(69632),g=n(93831),m=n(32850),v=n(63818),y=n(89009),A=n(15743),w=n(56023);async function b(t,e){let{allowFailure:n=!0,batchSize:r,blockNumber:i,blockTag:o,multicallAddress:a,stateOverride:s}=e,u=e.contracts,c=r??("object"==typeof t.batch?.multicall&&t.batch.multicall.batchSize||1024),l=a;if(!l){if(!t.chain)throw Error("client chain not configured. multicallAddress is required.");l=(0,v.M)({blockNumber:i,chain:t.chain,contract:"multicall3"})}let b=[[]],C=0,E=0;for(let t=0;t<u.length;t++){let{abi:e,address:r,args:i,functionName:o}=u[t];try{let t=(0,m.p)({abi:e,args:i,functionName:o});E+=(t.length-2)/2,c>0&&E>c&&b[C].length>
10&&(C++,E=(t.length-2)/2,b[C]=[]),b[C]=[...b[C],{allowFailure:!0,callData:t,target:r}]}catch(a){let t=(0,y.j)(a,{abi:e,address:r,args:i,docsPath:"/docs/contract/multicall",functionName:o});if(!n)throw t;b[C]=[...b[C],{allowFailure:!0,callData:"0x",target:r}]}}let x=await Promise.allSettled(b.map(e=>(0,A.T)(t,w.J,"readContract")({abi:d.v2,address:l,args:[e],blockNumber:i,blockTag:o,functionName:"aggregate3",stateOverride:s}))),S=[];for(let t=0;t<x.length;t++){let e=x[t];if("rejected"===e.status){if(!n)throw e.reason;for(let n=0;n<b[t].length;n++)S.push({status:"failure",error:e.reason,result:void 0});continue}let r=e.value;for(let e=0;e<r.length;e++){let{returnData:i,success:o}=r[e],{callData:a}=b[t][e],{abi:s,address:c,functionName:l,args:d}=u[S.length];try{if("0x"===a)throw new h.O;if(!o)throw new f.$S({data:i});let t=(0,g.e)({abi:s,args:d,data:i,functionName:l});S.push(n?{result:t,status:"success"}:t)}catch(e){let t=(0,y.j)(e,{abi:s,address:c,args:d,docsPath:"/docs/contract/multicall",functionName:l});if(!n)throw t;S.push({error:t,result:void 0,status:"failure"})}}}if(S.length!==u.length)throw new p.C("multicall results mismatch");return S}async function C(t,e){let{allowFailure:n=!0,chainId:r,contracts:i,...o}=e,a=t.getClient({chainId:r});return(0,u.T)(a,b,"multicall")({allowFailure:n,contracts:i,...o})}async function E(t,e){let{allowFailure:n=!0,blockNumber:r,blockTag:i,...o}=e,a=e.contracts;try{let e={};for(let[n,r]of a.entries()){let i=r.chainId??t.state.chainId;e[i]||(e[i]=[]),e[i]?.push({contract:r,index:n})}let s=(await Promise.all(Object.entries(e).map(([e,a])=>C(t,{...o,allowFailure:n,blockNumber:r,blockTag:i,chainId:Number.parseInt(e),contracts:a.map(({contract:t})=>t)})))).flat(),u=Object.values(e).flatMap(t=>t.map(({index:t})=>t));return s.reduce((t,e,n)=>(t&&(t[u[n]]=e),t),[])}catch(o){if(o instanceof f.bG)throw o;let e=()=>a.map(e=>(function(t,e){let{chainId:n,...r}=e,i=t.getClient({chainId:n});return(0,u.T)(i,w.J,"readContract")(r)})(t,{...e,blockNumber:r,blockTag:i}));if(n)return(await Promise.allSettled(e())).map(t=>"fulfilled"===t.status?{result:t.value,status:"success"}:{error:t.reason,result:void 0,status:"failure"});return await Promise.all(e())}}async function x(t,e){let{address:n,blockNumber:a,blockTag:c,chainId:f,token:d,unit:h="ether"}=e;if(d)try{return await S(t,{balanceAddress:n,chainId:f,symbolType:"string",tokenAddress:d})}catch(e){if("ContractFunctionExecutionError"===e.name){let e=await S(t,{balanceAddress:n,chainId:f,symbolType:"bytes32",tokenAddress:d}),o=(0,r.IQ)((0,i.B)(e.symbol,{dir:"right"}));return{...e,symbol:o}}throw e}let p=t.getClient({chainId:f}),g=(0,u.T)(p,s,"getBalance"),m=await g(a?{address:n,blockNumber:a}:{address:n,blockTag:c}),v=t.chains.find(t=>t.id===f)??p.chain;return{decimals:v.nativeCurrency.decimals,formatted:(0,o.J)(m,l(h)),symbol:v.nativeCurrency.symbol,value:m}}async function S(t,e){let{balanceAddress:n,chainId:r,symbolType:i,tokenAddress:a,unit:s}=e,u={abi:[{type:"function",name:"balanceOf",stateMutability:"view",inputs:[{type:"address"}],outputs:[{type:"uint256"}]},{type:"function",name:"decimals",stateMutability:"view",inputs:[],outputs:[{type:"uint8"}]},{type:"function",name:"symbol",stateMutability:"view",inputs:[],outputs:[{type:i}]}],address:a}
1,[c,f,d]=await E(t,{allowFailure:!1,contracts:[{...u,functionName:"balanceOf",args:[n],chainId:r},{...u,functionName:"decimals",chainId:r},{...u,functionName:"symbol",chainId:r}]}),h=(0,o.J)(c??"0",l(s??f));return{decimals:f,formatted:h,symbol:d,value:c}}var B=n(43565),I=n(37321),P=n(97623),k=n(44535);function T(){var t,e;let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{address:r,query:i={}}=n,o=(0,k.U)(n),a=(0,P.i)({config:o}),s=function(t,e={}){return{async queryFn({queryKey:e}){let{address:n,scopeKey:r,...i}=e[1];if(!n)throw Error("address is required");return await x(t,{...i,address:n})??null},queryKey:function(t={}){return["balance",(0,B.xO)(t)]}(e)}}(o,{...n,chainId:null!==(t=n.chainId)&&void 0!==t?t:a}),u=!!(r&&(null===(e=i.enabled)||void 0===e||e));return(0,I.IT)({...i,...s,enabled:u})}},94205:(t,e,n)=>{"use strict";n.d(e,{y:()=>x});var r=n(79254);let i=new Map,o=new Map;async function a(t,{cacheKey:e,cacheTime:n=Number.POSITIVE_INFINITY}){let r=function(t){let e=(t,e)=>({clear:()=>e.delete(t),get:()=>e.get(t),set:n=>e.set(t,n)}),n=e(t,i),r=e(t,o);return{clear:()=>{n.clear(),r.clear()},promise:n,response:r}}(e),a=r.response.get();if(a&&n>0&&new Date().getTime()-a.created.getTime()<n)return a.data;let s=r.promise.get();s||(s=t(),r.promise.set(s));try{let t=await s;return r.response.set({created:new Date,data:t}),t}finally{r.promise.clear()}}let s=t=>`blockNumber.${t}`;async function u(t,{cacheTime:e=t.cacheTime}={}){return BigInt(await a(()=>t.request({method:"eth_blockNumber"}),{cacheKey:s(t.uid),cacheTime:e}))}var c=n(6715),l=n(43565),f=n(37321),d=n(97623),h=n(44535),p=n(47364),g=n(15743);let m=new Map,v=new Map,y=0;function A(t,e,n){let r=++y,i=()=>m.get(t)||[],o=()=>{let e=i();m.set(t,e.filter(t=>t.id!==r))},a=()=>{let e=i();if(!e.some(t=>t.id===r))return;let n=v.get(t);1===e.length&&n&&n(),o()},s=i();if(m.set(t,[...s,{id:r,fns:e}]),s&&s.length>0)return a;let u={};for(let t in e)u[t]=(...e)=>{let n=i();if(0!==n.length)for(let r of n)r.fns[t]?.(...e)};let c=n(u);return"function"==typeof c&&v.set(t,c),a}var w=n(81566),b=n(9988);function C(t,{emitOnBegin:e=!1,emitMissed:n=!1,onBlockNumber:r,onError:i,poll:o,pollingInterval:a=t.pollingInterval}){let s;return(void 0!==o?o:"webSocket"!==t.transport.type&&("fallback"!==t.transport.type||"webSocket"!==t.transport.transports[0].c
1onfig.type))?A((0,b.A)(["watchBlockNumber",t.uid,e,n,a]),{onBlockNumber:r,onError:i},r=>(function(t,{emitOnBegin:e,initialWaitTime:n,interval:r}){let i=!0,o=()=>i=!1;return(async()=>{let a;e&&(a=await t({unpoll:o}));let s=await n?.(a)??r;await (0,w.u)(s);let u=async()=>{i&&(await t({unpoll:o}),await (0,w.u)(r),u())};u()})(),o})(async()=>{try{let e=await (0,g.T)(t,u,"getBlockNumber")({cacheTime:0});if(s){if(e===s)return;if(e-s>1&&n)for(let t=s+1n;t<e;t++)r.onBlockNumber(t,s),s=t}(!s||e>s)&&(r.onBlockNumber(e,s),s=e)}catch(t){r.onError?.(t)}},{emitOnBegin:e,interval:a})):A((0,b.A)(["watchBlockNumber",t.uid,e,n]),{onBlockNumber:r,onError:i},e=>{let n=!0,r=()=>n=!1;return(async()=>{try{let i=(()=>{if("fallback"===t.transport.type){let e=t.transport.transports.find(t=>"webSocket"===t.config.type);return e?e.value:t.transport}return t.transport})(),{unsubscribe:o}=await i.subscribe({params:["newHeads"],onData(t){if(!n)return;let r=(0,p.uU)(t.result?.number);e.onBlockNumber(r,s),s=r},onError(t){e.onError?.(t)}});r=o,n||r()}catch(t){i?.(t)}})(),()=>r()})}var E=n(21749);function x(){var t,e;let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{query:i={},watch:o}=n,a=(0,h.U)(n),s=(0,r.useQueryClient)(),p=(0,d.i)({config:a}),g=null!==(t=n.chainId)&&void 0!==t?t:p,m=function(t,e={}){return{gcTime:0,async queryFn({queryKey:e}){let{scopeKey:n,...r}=e[1];return await function(t,e={}){let{chainId:n,...r}=e,i=t.getClient({chainId:n});return(0,c.T)(i,u,"getBlockNumber")(r)}(t,r)??null},queryKey:function(t={}){return["blockNumber",(0,l.xO)(t)]}(e)}}(a,{...n,chainId:g});return!function(){var t;let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{enabled:n=!0,onBlockNumber:r,config:i,...o}=e,a=(0,h.U)(e),s=(0,d.i)({config:a}),u=null!==(t=e.chainId)&&void 0!==t?t:s;(0,E.useEffect)(()=>{if(n&&r)return function(t,e){let n,r;let{syncConnectedChain:i=t._internal.syncConnectedChain,...o}=e,a=e=>{n&&n();let r=t.getClient({chainId:e});return n=(0,c.T)(r,C,"watchBlockNumber")(o)},s=a(e.chainId);return i&&!e.chainId&&(r=t.subscribe(({chainId:t})=>t,async t=>a(t))),()=>{s?.(),r?.()}}(a,{...o,chainId:u,onBlockNumber:r})},[u,a,n,r,o.onError,o.emitMissed,o.emitOnBegin,o.poll,o.pollingInterval,o.syncConnectedChain])}({...{config:n.config,chainId:n.chainId,..."object"==typeof o?o:{}},enabled:!!((null===(e=i.enabled)||void 0===e||e)&&("object"==typeof o?o.enabled:o)),onBlockNumber(t){s.setQueryData(m.queryKey,t)}}),(0,f.IT)({...i,...m})}},6744:(t,e,n)=>{"use strict";n.d(e,{e:()=>c});var r=n(90013),i=n(67149);async function o(t,e){let n;if((n="function"==typeof e.connector?t._internal.connectors.setup(e.connector):e.connector).uid===t.state.current)throw new i.nM;try{t.setState(t=>({...t,status:"connecting"})),n.emitter.emit("message",{type:"connecting"});let{connector:r,...i}=e,o=await n.connect(i),a=o.accounts;return n.emitter.off("connect",t._internal.events.connect),n.emitter.on("change",t._internal.events.change),n.emitter.on("disconnect",t._internal.events.disconnect),await t.storage?.setItem("recentConnectorId",n.id),t.setState(t=>({...t,connections:new Map(t.connections).set(n.uid,{accounts:a,chainId:o.chainId,connector:n}),current:n.uid,status:"connected"})),{accounts:a,chainId:o.chainId}}catch(e){throw t.setState(t=>({...t,status:t.current?"connected":"disconnected"})),e}}var a=n(21749),s=n(44535),u=n(73440);function c(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{mutation:e}=t,n=(0,s.U)(t),{mutate:i,mutateAsync:c,...l}=(0,r.useMutation)({...e,mutationFn:t=>o(n,t),mutationKey:["connect"]});return(0,a.useEffect)(()=>n.subscribe(t=>{let{status:e}=t;return e},(t,e)=>{"connected"===e&&"disconnected"===t&&l.reset()}),[n,l.reset]),{...l,connect:i,connectAsync:c,connectors:(0,u.U)({config:n})}}},73440:(t,e,n)=>{"use strict";n.d(e,{U:()=>u});var r=n(26643);let i=[];function o(t){let e=t.connectors;return(0,r.b)(i,e)?i:(i=e,e)}var a=n(21749),s=n(44535);function u(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=(0,s.U)(t);return(0,a.useSyncExternalStore)(t=>(function(t,e){let{onChange:n}=e;return t._internal.connectors.subscribe((t,e)=>{n(Object.values(t),e)})})(e,{onChange:t}),()=>o(e),()=>o(e))}},73818:(t,e,n)=>{"use strict";n.d(e,{u:()=>l});var r=n(90013);async function i(t,e={}){let n;if(e.connector)n=e.connector;else{let{connections:e,current:r}=t.state,i=e.get(r);n=i?.connector}let r=t.state.connections;n&&(await n.disconnect(),n.emitter.off("change",t._internal.events.change),n.emitter.off("disconnect",t._internal.events.disconnect),n.emitter.on("connect",t._internal.events.connect),r.delete(n.uid)),t.setState(t=>
1{if(0===r.size)return{...t,connections:new Map,current:null,status:"disconnected"};let e=r.values().next().value;return{...t,connections:new Map(r),current:e.connector.uid}});{let e=t.state.current;if(!e)return;let n=t.state.connections.get(e)?.connector;if(!n)return;await t.storage?.setItem("recentConnectorId",n.id)}}var o=n(44535),a=n(26643);let s=[];function u(t){let e=[...t.state.connections.values()];return"reconnecting"===t.state.status||(0,a.b)(s,e)?s:(s=e,e)}var c=n(21749);function l(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{mutation:e}=t,n=(0,o.U)(t),{mutate:s,mutateAsync:l,...f}=(0,r.useMutation)({...e,mutationFn:t=>i(n,t),mutationKey:["disconnect"]});return{...f,connectors:(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=(0,o.U)(t);return(0,c.useSyncExternalStore)(t=>(function(t,e){let{onChange:n}=e;return t.subscribe(()=>u(t),n,{equalityFn:a.b})})(e,{onChange:t}),()=>u(e),()=>u(e))})({config:n}).map(t=>t.connector),disconnect:s,disconnectAsync:l}}},65281:(t,e,n)=>{"use strict";n.d(e,{S:()=>w});var r=n(33960),i=n(93831),o=n(32850),a=n(63818),s=n(10664),u=n(46691),c=n(86081),l=n(38677),f=n(97594),d=n(15743),h=n(56023);async function p(t,{blockNumber:e,blockTag:n,coinType:p,name:g,gatewayUrls:m,strict:v,universalResolverAddress:y}){let A=y;if(!A){if(!t.chain)throw Error("client chain not configured. universalResolverAddress is required.");A=(0,a.M)({blockNumber:e,chain:t.chain,contract:"ensUniversalResolver"})}try{let a=(0,o.p)({abi:r.Rm,functionName:"addr",...null!=p?{args:[(0,l.k)(g),BigInt(p)]}:{args:[(0,l.k)(g)]}}),c={address:A,abi:r.Ag,functionName:"resolve",args:[(0,u.nj)((0,f.F)(g)),a],blockNumber:e,blockTag:n},v=(0,d.T)(t,h.J,"readContract"),y=m?await v({...c,args:[...c.args,m]}):await v(c);if("0x"===y[0])return null;let w=(0,i.e)({abi:r.Rm,args:null!=p?[(0,l.k)(g),BigInt(p)]:void 0,functionName:"addr",data:y[0]});if("0x"===w||"0x00"===(0,s.B)(w))return null;return w}catch(t){if(v)throw t;if((0,c.J)(t,"resolve"))return null;throw t}}var g=n(6715),m=n(43565),v=n(37321),y=n(97623),A=n(44535);function w(){var t,e;let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{name:r,query:i={}}=n,o=(0,A.U)(n),a=(0,y.i)({config:o}),s=function(t,e={}){return{async queryFn({queryKey:e}){let{name:n,scopeKey:r,...i}=e[1];if(!n)throw Error("name is required");return function(t,e){let{chainId:n,...r}=e,i=t.getClient({chainId:n});return(0,g.T)(i,p,"getEnsAddress")(r)}(t,{...i,name:n})},queryKey:function(t={}){return["ensAddress",(0,m.xO)(t)]}(e)}}(o,{...n,chainId:null!==(t=n.chainId)&&void 0!==t?t:a}),u=!!(r&&(null===(e=i.enabled)||void 0===e||e));return(0,v.IT)({...i,...s,enabled:u})}},6642:(t,e,n)=>{"use strict";n.d(e,{Y:()=>v});var r=n(90013),i=n(66530),o=n(69632);class a extends o.C{constructor({docsPath:t}={}){super("Could not find an Account to execute with this Action.\nPlease provide an Account with the `account` argument on the Action, or by supplying an `account` to the Client.",{docsPath:t,docsSlug:"account",name:"AccountNotFoundError"})}}var s=n(46691);async function u(t,{account:e=t.account,message:n}){if(!e)throw new a({docsPath:"/docs/actions/wallet/signMessage"});let r=(0,i.J)(e);if(r.signMessage)return r.signMessage({message:n});let o="string"==typeof n?(0,s.i3)(n):n.raw instanceof Uint8Array?(0,s.nj)(n.raw):n.raw;return t.request({method:"personal_sign",params:[o,r.address]},{retryCount:0})}var c=n(6715),l=n(76071),f=n(77719),d=n(42286),h=n(67149);async function p(t,e={}){let n;if(e.connector){let{connector:r}=e;if("reconnecting"===t.state.status&&!r.getAccounts&&!r.getChainId)throw new h.HF({connector:r});let[i,o]=await Promise.all([r.getAccounts(),r.getChainId()]);n={accounts:i,chainId:o,connector:r}}else n=t.state.connections.get(t.state.current);if(!n)throw new h.gC;let r=e.chainId??n.chainId,o=await n.connector.getChainId();if(o!==n.chainId)throw new h.xU({connectionChainId:n.chainId,connectorChainId:o});let a=n.connector;if(a.getClient)return a.getClient({chainId:r});let s=(0,i.J)(e.account??n.accounts[0]);if(s.address=(0,d.b)(s.address),e.account&&!n.accounts.some(t=>t.toLowerCase()===s.address.toLowerCase()))throw new h.aj({address:s.address,connector:a});let u=t.chains.find(t=>
1t.id===r),c=await n.connector.getProvider({chainId:r});return(0,l.U)({account:s,chain:u,name:"Connector Client",transport:t=>(function(t,e={}){let{key:n="custom",methods:r,name:i="Custom Provider",retryDelay:o}=e;return({retryCount:a})=>(0,f.o)({key:n,methods:r,name:i,request:t.request.bind(t),retryCount:e.retryCount??a,retryDelay:o,type:"custom"})})(c)({...t,retryCount:0})})}async function g(t,e){let n;let{account:r,connector:i,...o}=e;return n="object"==typeof r&&"local"===r.type?t.getClient():await p(t,{account:r,connector:i}),(0,c.T)(n,u,"signMessage")({...o,...r?{account:r}:{}})}var m=n(44535);function v(){var t;let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{mutation:n}=e,i=(t=(0,m.U)(e),{mutationFn:e=>g(t,e),mutationKey:["signMessage"]}),{mutate:o,mutateAsync:a,...s}=(0,r.useMutation)({...n,...i});return{...s,signMessage:o,signMessageAsync:a}}},54585:(t,e,n)=>{"use strict";n.d(e,{R:()=>d});var r=n(90013),i=n(67149),o=n(76646);async function a(t,e){let{addEthereumChainParameter:n,chainId:r}=e,a=t.state.connections.get(e.connector?.uid??t.state.current);if(a){let t=a.connector;if(!t.switchChain)throw new o.V({connector:t});return await t.switchChain({addEthereumChainParameter:n,chainId:r})}let s=t.chains.find(t=>t.id===r);if(!s)throw new i.nk;return t.setState(t=>({...t,chainId:r})),s}var s=n(26643);let u=[];function c(t){let e=t.chains;return(0,s.b)(u,e)?u:(u=e,e)}var l=n(21749),f=n(44535);function d(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{mutation:e}=t,n=(0,f.U)(t),{mutate:i,mutateAsync:o,...s}=(0,r.useMutation)({...e,mutationFn:t=>a(n,t),mutationKey:["switchChain"]});return{...s,chains:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=(0,f.U)(t);return(0,l.useSyncExternalStore)(t=>(function(t,e){let{onChange:n}=e;return t._internal.chains.subscribe((t,e)=>{n(t,e)})})(e,{onChange:t}),()=>c(e),()=>c(e))}({config:n}),switchChain:i,switchChainAsync:o}}}}]);
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.