1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,221168,(e,t,r)=>{var n={872:function(e,t){"use strict";t.byteLength=function(e){var t=f(e),r=t[0],n=t[1];return(r+n)*3/4-n},t.toByteArray=function(e){var t,r,o=f(e),a=o[0],s=o[1],u=new i((a+s)*3/4-s),c=0,d=s>0?a-4:a;for(r=0;r<d;r+=4)t=n[e.charCodeAt(r)]<<18|n[e.charCodeAt(r+1)]<<12|n[e.charCodeAt(r+2)]<<6|n[e.charCodeAt(r+3)],u[c++]=t>>16&255,u[c++]=t>>8&255,u[c++]=255&t;return 2===s&&(t=n[e.charCodeAt(r)]<<2|n[e.charCodeAt(r+1)]>>4,u[c++]=255&t),1===s&&(t=n[e.charCodeAt(r)]<<10|n[e.charCodeAt(r+1)]<<4|n[e.charCodeAt(r+2)]>>2,u[c++]=t>>8&255,u[c++]=255&t),u},t.fromByteArray=function(e){for(var t,n=e.length,i=n%3,o=[],a=0,s=n-i;a<s;a+=16383)o.push(function(e,t,n){for(var i,o=[],a=t;a<n;a+=3)i=(e[a]<<16&0xff0000)+(e[a+1]<<8&65280)+(255&e[a+2]),o.push(r[i>>18&63]+r[i>>12&63]+r[i>>6&63]+r[63&i]);return o.join("")}(e,a,a+16383>s?s:a+16383));return 1===i?o.push(r[(t=e[n-1])>>2]+r[t<<4&63]+"=="):2===i&&o.push(r[(t=(e[n-2]<<8)+e[n-1])>>10]+r[t>>4&63]+r[t<<2&63]+"="),o.join("")};for(var r=[],n=[],i="u">typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,s=o.length;a<s;++a)r[a]=o[a],n[o.charCodeAt(a)]=a;function f(e){var t=e.length;if(t%4>0)throw Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");-1===r&&(r=t);var n=r===t?0:4-r%4;return[r,n]}n[45]=62,n[95]=63},230:function(e,t,r){"use strict";var n=r(872),i=r(321),o="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;function a(e){if(e>0x7fffffff)throw RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,s.prototype),t}function s(e,t,r){if("number"==typeof e){if("string"==typeof t)throw TypeError('The "string" argument must be of type string. Received type number');return c(e)}return f(e,t,r)}function f(e,t,r){if("string"==typeof e){var n=e,i=t;if(("string"!=typeof i||""===i)&&(i="utf8"),!s.isEncoding(i))throw TypeError("Unknown encoding: "+i);var o=0|h(n,i),f=a(o),u=f.write(n,i);return u!==o&&(f=f.slice(0,u)),f}if(ArrayBuffer.isView(e))return d(e);if(null==e)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(N(e,ArrayBuffer)||e&&N(e.buffer,ArrayBuffer)||"u">typeof SharedArrayBuffer&&(N(e,SharedArrayBuffer)||e&&N(e.buffer,SharedArrayBuffer)))return function(e,t,r){var n;if(t<0||e.byteLength<t)throw RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(r||0))throw RangeError('"length" is outside of buffer bounds');return Object.setPrototypeOf(n=void 0===t&&void 0===r?new Uint8Array(e):void 0===r?new Uint8Array(e,t):new Uint8Array(e,t,r),s.prototype),n}(e,t,r);if("number"==typeof e)throw TypeError('The "value" argument must not be of type number. Received type number');var c=e.valueOf&&e.valueOf();if(null!=c&&c!==e)return s.from(c,t,r);var p=function(e){if(s.isBuffer(e)){var t=0|l(e.length),r=a(t);return 0===r.length||e.copy(r,0,0,t),r}return void 0!==e.length?"number"!=typeof e.length||function(e){return e!=e}(e.length)?a(0):d(e):"Buffer"===e.type&&Array.isArray(e.data)?d(e.data):void 0}(e);if(p)return p;if("u">typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return s.from(e[Symbol.toPrimitive]("string"),t,r);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function u(e){if("number"!=typeof e)throw TypeError('"size" argument must be of type number');if(e<0)throw RangeError('The value "'+e+'" is invalid for option "size"')}function c(e){return u(e),a(e<0?0:0|l(e))}function d(e){for(var t=e.length<0?0:0|l(e.length),r=a(t),n=0;n<t;n+=1)r[n]=255&e[n];return r}t.Buffer=s,t.SlowBuffer=function(e){return+e!=e&&(e=0),s.alloc(+e)},t.INSPECT_MAX_BYTES=50,t.kMaxLength=0x7fffffff,s.TYPED_ARRAY_SUPPORT=function(){try{var e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}(),!s.TYPED_ARRAY_SUPPORT&&"u">typeof console&&"function"==typeof console.error&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.buffer}}),Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.byteOffset}}),s.poolSize=8192,s.from=function(e,t,r){return f(e,t,r)},Object.setPrototypeOf(s.prototype,Uint8Array.prototype),Object.setPrototypeOf(s,Uint8Array),s.alloc=function(e,t,r){return(u(e),e<=0)?a(e):void 0!==t?"string"==typeof r?a(e).fill(t,r):a(e).fill(t):a(e)},s.allocUnsafe=function(e){return c(e)},s.allocUnsafeSlow=function(e){return c(e)};function l(e){if(e>=0x7fffffff)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|e}function h(e,t){if(s.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||N(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var r=e.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===r)return 0;for(var i=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return A(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return O(e).length;default:if(i)return n?-1:A(e).length;t=(""+t).toLowerCase(),i=!0}}function p(e,t,r){var i,o,a,s=!1;if((void 0===t||t<0)&&(t=0),t>this.length||((void 0===r||r>this.length)&&(r=this.length),r<=0||(r>>>=0)<=(t>>>=0)))return"";for(e||(e="utf8");;)switch(e){case"hex":return function(e,t,r){var n=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>n)&&(r=n);for(var i="",o=t;o<r;++o)i+=x[e[o]];return i}(this,t,r);case"utf8":case"utf-8":return v(this,t,r);case"ascii":return function(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(127&e[i]);return n}(this,t,r);case"latin1":case"binary":return function(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(e[i]);return n}(this,t,r);case"base64":return i=this,o=t,a=r,0===o&&a===i.length?n.fromByteArray(i):n.fromByteArray(i.slice(o,a));case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return function(e,t,r){for(var n=e.slice(t,r),i="",o=0;o<n.length;o+=2)i+=String.fromCharCode(n[o]+256*n[o+1]);return i}(this,t,r);default:if(s)throw TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),s=!0}}function g(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function y(e,t,r,n,i){var o;if(0===e.length)return -1;if("string"==typeof r?(n=r,r=0):r>0x7fffffff?r=0x7fffffff:r<-0x80000000&&(r=-0x80000000),(o=r*=1)!=o&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length)if(i)return -1;else r=e.length-1;else if(r<0)if(!i)return -1;else r=0;if("string"==typeof t&&(t=s.from(t,n)),s.isBuffer(t))return 0===t.length?-1:b(e,t,r,n,i);if("number"==typeof t){if(t&=255,"function"==typeof Uint8Array.prototype.indexOf)if(i)return Uint8Array.prototype.indexOf.call(e,t,r);else return Uint8Array.prototype.lastIndexOf.call(e,t,r);return b(e,[t],r,n,i)}throw TypeError("val must be string, number or Buffer")}function b(e,t,r,n,i){var o,a=1,s=e.length,f=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return -1;a=2,s/=2,f/=2,r/=2}function u(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(i){var c=-1;for(o=r;o<s;
vendor: 12,407 bytes, line 1
1o++)if(u(e,o)===u(t,-1===c?0:o-c)){if(-1===c&&(c=o),o-c+1===f)return c*a}else -1!==c&&(o-=o-c),c=-1}else for(r+f>s&&(r=s-f),o=r;o>=0;o--){for(var d=!0,l=0;l<f;l++)if(u(e,o+l)!==u(t,l)){d=!1;break}if(d)return o}return -1}s.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==s.prototype},s.compare=function(e,t){if(N(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),N(t,Uint8Array)&&(t=s.from(t,t.offset,t.byteLength)),!s.isBuffer(e)||!s.isBuffer(t))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;for(var r=e.length,n=t.length,i=0,o=Math.min(r,n);i<o;++i)if(e[i]!==t[i]){r=e[i],n=t[i];break}return r<n?-1:+(n<r)},s.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},s.concat=function(e,t){if(!Array.isArray(e))throw TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return s.alloc(0);if(void 0===t)for(r=0,t=0;r<e.length;++r)t+=e[r].length;var r,n=s.allocUnsafe(t),i=0;for(r=0;r<e.length;++r){var o=e[r];if(N(o,Uint8Array)&&(o=s.from(o)),!s.isBuffer(o))throw TypeError('"list" argument must be an Array of Buffers');o.copy(n,i),i+=o.length}return n},s.byteLength=h,s.prototype._isBuffer=!0,s.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)g(this,t,t+1);return this},s.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)g(this,t,t+3),g(this,t+1,t+2);return this},s.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)g(this,t,t+7),g(this,t+1,t+6),g(this,t+2,t+5),g(this,t+3,t+4);return this},s.prototype.toString=function(){var e=this.length;return 0===e?"":0==arguments.length?v(this,0,e):p.apply(this,arguments)},s.prototype.toLocaleString=s.prototype.toString,s.prototype.equals=function(e){if(!s.isBuffer(e))throw TypeError("Argument must be a Buffer");return this===e||0===s.compare(this,e)},s.prototype.inspect=function(){var e="",r=t.INSPECT_MAX_BYTES;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"},o&&(s.prototype[o]=s.prototype.inspect),s.prototype.compare=function(e,t,r,n,i){if(N(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(e))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),t<0||r>e.length||n<0||i>this.length)throw RangeError("out of range index");if(n>=i&&t>=r)return 0;if(n>=i)return -1;if(t>=r)return 1;if(t>>>=0,r>>>=0,n>>>=0,i>>>=0,this===e)return 0;for(var o=i-n,a=r-t,f=Math.min(o,a),u=this.slice(n,i),c=e.slice(t,r),d=0;d<f;++d)if(u[d]!==c[d]){o=u[d],a=c[d];break}return o<a?-1:+(a<o)},s.prototype.includes=function(e,t,r){return -1!==this.indexOf(e,t,r)},s.prototype.indexOf=function(e,t,r){return y(this,e,t,r,!0)},s.prototype.lastIndexOf=function(e,t,r){return y(this,e,t,r,!1)};function v(e,t,r){r=Math.min(e.length,r);for(var n=[],i=t;i<r;){var o,a,s,f,u=e[i],c=null,d=u>239?4:u>223?3:u>191?2:1;if(i+d<=r)switch(d){case 1:u<128&&(c=u);break;case 2:(192&(o=e[i+1]))==128&&(f=(31&u)<<6|63&o)>127&&(c=f);break;case 3:o=e[i+1],a=e[i+2],(192&o)==128&&(192&a)==128&&(f=(15&u)<<12|(63&o)<<6|63&a)>2047&&(f<55296||f>57343)&&(c=f);break;case 4:o=e[i+1],a=e[i+2],s=e[i+3],(192&o)==128&&(192&a)==128&&(192&s)==128&&(f=(15&u)<<18|(63&o)<<12|(63&a)<<6|63&s)>65535&&f<1114112&&(c=f)}null===c?(c=65533,d=1):c>65535&&(c-=65536,n.push(c>>>10&1023|55296),c=56320|1023&c),n.push(c),i+=d}var l=n,h=l.length;if(h<=4096)return String.fromCharCode.apply(String,l);for(var p="",g=0;g<h;)p+=String.fromCharCode.apply(String,l.slice(g,g+=4096));return p}function m(e,t,r){if(e%1!=0||e<0)throw RangeError("offset is not uint");if(e+t>r)throw RangeError("Trying to access beyond buffer length")}function E(e,t,r,n,i,o){if(!s.isBuffer(e))throw TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<o)throw RangeError('"value" argument is out of bounds');if(r+n>e.length)throw RangeError("Index out of range")}function w(e,t,r,n,i,o){if(r+n>e.length||r<0)throw RangeError("Index out of range")}function _(e,t,r,n,o){return t*=1,r>>>=0,o||w(e,t,r,4,34028234663852886e22,-34028234663852886e22),i.write(e,t,r,n,23,4),r+4}function S(e,t,r,n,o){return t*=1,r>>>=0,o||w(e,t,r,8,17976931348623157e292,-17976931348623157e292),i.write(e,t,r,n,52,8),r+8}s.prototype.write=function(e,t,r,n){if(void 0===t)n="utf8",r=this.length,t=0;else if(void 0===r&&"string"==typeof t)n=t,r=this.length,t=0;else if(isFinite(t))t>>>=0,isFinite(r)?(r>>>=0,void 0===n&&(n="utf8")):(n=r,r=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var i,o,a,s,f,u,c,d,l=this.length-t;if((void 0===r||r>l)&&(r=l),e.length>0&&(r<0||t<0)||t>this.length)throw RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var h=!1;;)switch(n){case"hex":return function(e,t,r,n){r=Number(r)||0;var i=e.length-r;n?(n=Number(n))>i&&(n=i):n=i;var o=t.length;n>o/2&&(n=o/2);for(var a=0;a<n;++a){var s,f=parseInt(t.substr(2*a,2),16);if((s=f)!=s)break;e[r+a]=f}return a}(this,e,t,r);case"utf8":case"utf-8":return i=t,o=r,I(A(e,this.length-i),this,i,o);case"ascii":return a=t,s=r,I(T(e),this,a,s);case"latin1":case"binary":return function(e,t,r,n){return I(T(t),e,r,n)}(this,e,t,r);case"base64":return f=t,u=r,I(O(e),this,f,u);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return c=t,d=r,I(function(e,t){for(var r,n,i=[],o=0;o<e.length&&!((t-=2)<0);++o)n=(r=e.charCodeAt(o))>>8,i.push(r%256),i.push(n);return i}(e,this.length-c),this,c,d);default:if(h)throw TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),h=!0}},s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},s.prototype.slice=function(e,t){var r=this.length;e=~~e,t=void 0===t?r:~~t,e<0?(e+=r)<0&&(e=0):e>r&&(e=r),t<0?(t+=r)<0&&(t=0):t>r&&(t=r),t<e&&(t=e);var n=this.subarray(e,t);return Object.setPrototypeOf(n,s.prototype),n},s.prototype.readUIntLE=function(e,t,r){e>>>=0,t>>>=0,r||m(e,t,this.length);for(var n=this[e],i=1,o=0;++o<t&&(i*=256);)n+=this[e+o]*i;return n},s.prototype.readUIntBE=function(e,t,r){e>>>=0,t>>>=0,r||m(e,t,this.length);for(var n=this[e+--t],i=1;t>0&&(i*=256);)n+=this[e+--t]*i;return n},s.prototype.readUInt8=function(e,t){return e>>>=0,t||m(e,1,this.length),this[e]},s.prototype.readUInt16LE=function(e,t){return e>>>=0,t||m(e,2,this.length),this[e]|this[e+1]<<8},s.prototype.readUInt16BE=function(e,t){return e>>>=0,t||m(e,2,this.length),this[e]<<8|this[e+1]},s.prototype.readUInt32LE=function(e,t){return e>>>=0,t||m(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+0x1000000*this[e+3]},s.prototype.readUInt32BE=function(e,t){return e>>>=0,t||m(e,4,this.length),0x1000000*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},s.prototype.readIntLE=function(e,t,r){e>>>=0,t>>>=0,r||m(e,t,this.length);for(var n=this[e],i=1,o=0;++o<t&&(i*=256);)n+=this[e+o]*i;return n>=(i*=128)&&(n-=Math.pow(2,8*t)),n},s.prototype.readIntBE=function(e,t,r){e>>>=0,t>>>=0,r||m(e,t,this.length);for(var n=t,i=1,o=this[e+--n];n>0&&(i*=256);)o+=this[e+--n]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*t)),o},s.prototype.readInt8=function(e,t){return(e>>>=0,t||m(e,1,this.length),128&this[e])?-((255-this[e]+1)*1):this[e]},s.prototype.readInt16LE=function(e,t){e>>>=0,t||m(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?0xffff0000|r:r},s.prototype.readInt16BE=function(e,t){e>>>=0,t||m(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?0xffff0000|r:r},s.prototype.readInt32LE=function(e,t){return e>>>=0,t||m(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},s.prototype.readInt32BE=function(e,t){return e>>>=0,t||m(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},s.prototype.readFloatLE=function(e,t){return e>>>=0,t||m(e,4,this.length),i.read(this,e,!0,23,4)},s.prototype.readFloatBE=function(e,t){return e>>>=0,t||m(e,4,this.length),i.read(this,e,!1,23,4)},s.prototype.readDoubleLE=function(e,t){return e>>>=0,t||m(e,8,this.length),i.read(this,e,!0,52,8)},s.prototype.readDoubleBE=function(e,t){return e>>>=0,t||m(e,8,this.length),i.read(this,e,!1,52,8)},s.prototype.writeUIntLE=function(e,t,r,n){if(e*=1,t>>>=0,r>>>=0,!n){var i=Math.pow(2,8*r)-1;E(this,e,t,r,i,0)}var o=1,a=0;for(this[t]=255&e;++a<r&&(o*=256);)this[t+a]=e/o&255;return t+r},s.prototype.writeUIntBE=function(e,t,r,n){if(e*=1,t>>>=0,r>>>=0,!n){var i=Math.pow(2,8*r)-1;E(this,e,t,r,i,0)}var o=r-1,a=1;for(this[t+o]=255&e;--o>=0&&(a*=256);)this[t+o]=e/a&255;return t+r},s.prototype.writeUInt8=function(e,t,r){return e*=1,t>>>=0,r||E(this,e,t,1,255,0),this[t]=255&e,t+1},s.prototype.writeUInt16LE=function(e,t,r){return e*=1,t>>>=0,r||E(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},s.prototype.writeUInt16BE=function(e,t,r){return e*=1,t>>>=0,r||E(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},s.prototype.writeUInt32LE=function(e,t,r){return e*=1,t>>>=0,r||E(this,e,t,4,0xffffffff,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},s.prototype.writeUInt32BE=function(e,t,r){return e*=1,t>>>=0,r||E(this,e,t,4,0xffffffff,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},s.prototype.writeIntLE=function(e,t,r,n){if(e*=1,t>>>=0,!n){var i=Math.pow(2,8*r-1);E(this,e,t,r,i-1,-i)}var o=0,a=1,s=0;for(this[t]=255&e;++o<r&&(a*=256);)e<0&&0===s&&0!==this[t+o-1]&&(s=1),this[t+o]=(e/a|0)-s&255;return t+r},s.prototype.writeIntBE=function(e,t,r,n){if(e*=1,t>>>=0,!n){var i=Math.pow(2,8*r-1);E(this,e,t,r,i-1,-i)}var o=r-1,a=1,s=0;for(this[t+o]=255&e;--o>=0&&(a*=256);)e<0&&0===s&&0!==this[t+o+1]&&(s=1),this[t+o]=(e/a|0)-s&255;return t+r},s.prototype.writeInt8=function(e,t,r){return e*=1,t>>>=0,r||E(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},s.prototype.writeInt16LE=function(e,t,r){return e*=1,t>>>=0,r||E(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},s.prototype.writeInt16BE=function(e,t,r){return e*=1,t>>>=0,r||E(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},s.prototype.writeInt32LE=function(e,t,r){return e*=1,t>>>=0,r||E(this,e,t,4,0x7fffffff,-0x80000000),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},s.prototype.writeInt32BE=function(e,t,r){return e*=1,t>>>=0,r||E(this,e,t,4,0x7fffffff,-0x80000000),e<0&&(e=0xffffffff+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},s.prototype.writeFloatLE=function(e,t,r){return _(this,e,t,!0,r)},s.prototype.writeFloatBE=function(e,t,r){return _(this,e,t,!1,r)},s.prototype.writeDoubleLE=function(e,t,r){return S(this,e,t,!0,r)},s.prototype.writeDoubleBE=function(e,t,r){return S(this,e,t,!1,r)},s.prototype.copy=function(e,t,r,n){if(!s.isBuffer(e))throw TypeError("argument should be a Buffer");if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n<r&&(n=r),n===r||0===e.length||0===this.length)return 0;if(t<0)throw RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw RangeError("Index out of range");if(n<0)throw RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t<n-r&&(n=e.length-t+r);var i=n-r;if(this===e&&"function"==typeof Uint8Array.prototype.copyWithin)this.copyWithin(t,r,n);else if(this===e&&r<t&&t<n)for(var o=i-1;o>=0;--o)e[o+t]=this[o+r];else Uint8Array.prototype.set.call(e,this.subarray(r,n),t);return i},s.prototype.fill=function(e,t,r,n){if("string"==typeof e){if("string"==typeof t?(n=t,t=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),void 0!==n&&"string"!=typeof n)throw TypeError("encoding must be a string");if("string"==typeof n&&!s.isEncoding(n))throw TypeError("Unknown encoding: "+n);if(1===e.length){var i,o=e.charCodeAt(0);("utf8"===n&&o<128||"latin1"===n)&&(e=o)}}else"number"==typeof e?e&=255:"boolean"==typeof e&&(e=Number(e));if(t<0||this.length<t||this.length<r)throw RangeError("Out of range index");if(r<=t)return this;if(t>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(i=t;i<r;++i)this[i]=e;else{var a=s.isBuffer(e)?e:s.from(e,n),f=a.length;
1if(0===f)throw TypeError('The value "'+e+'" is invalid for argument "value"');for(i=0;i<r-t;++i)this[i+t]=a[i%f]}return this};var C=/[^+/0-9A-Za-z-_]/g;function A(e,t){t=t||1/0;for(var r,n=e.length,i=null,o=[],a=0;a<n;++a){if((r=e.charCodeAt(a))>55295&&r<57344){if(!i){if(r>56319||a+1===n){(t-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&o.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;o.push(r)}else if(r<2048){if((t-=2)<0)break;o.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;o.push(r>>12|224,r>>6&63|128,63&r|128)}else if(r<1114112){if((t-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}else throw Error("Invalid code point")}return o}function T(e){for(var t=[],r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}function O(e){return n.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(C,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function I(e,t,r,n){for(var i=0;i<n&&!(i+r>=t.length)&&!(i>=e.length);++i)t[i+r]=e[i];return i}function N(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}var x=function(){for(var e="0123456789abcdef",t=Array(256),r=0;r<16;++r)for(var n=16*r,i=0;i<16;++i)t[n+i]=e[r]+e[i];return t}()},321:function(e,t){t.read=function(e,t,r,n,i){var o,a,s=8*i-n-1,f=(1<<s)-1,u=f>>1,c=-7,d=r?i-1:0,l=r?-1:1,h=e[t+d];for(d+=l,o=h&(1<<-c)-1,h>>=-c,c+=s;c>0;o=256*o+e[t+d],d+=l,c-=8);for(a=o&(1<<-c)-1,o>>=-c,c+=n;c>0;a=256*a+e[t+d],d+=l,c-=8);if(0===o)o=1-u;else{if(o===f)return a?NaN:1/0*(h?-1:1);a+=Math.pow(2,n),o-=u}return(h?-1:1)*a*Math.pow(2,o-n)},t.write=function(e,t,r,n,i,o){var a,s,f,u=8*o-i-1,c=(1<<u)-1,d=c>>1,l=5960464477539062e-23*(23===i),h=n?0:o-1,p=n?1:-1,g=+(t<0||0===t&&1/t<0);for(isNaN(t=Math.abs(t))||t===1/0?(s=+!!isNaN(t),a=c):(a=Math.floor(Math.log(t)/Math.LN2),t*(f=Math.pow(2,-a))<1&&(a--,f*=2),a+d>=1?t+=l/f:t+=l*Math.pow(2,1-d),t*f>=2&&(a++,f/=2),a+d>=c?(s=0,a=c):a+d>=1?(s=(t*f-1)*Math.pow(2,i),a+=d):(s=t*Math.pow(2,d-1)*Math.pow(2,i),a=0));i>=8;e[r+h]=255&s,h+=p,s/=256,i-=8);for(a=a<<i|s,u+=i;u>0;e[r+h]=255&a,h+=p,a/=256,u-=8);e[r+h-p]|=128*g}}},i={};function o(e){var t=i[e];if(void 0!==t)return t.exports;var r=i[e]={exports:{}},a=!0;try{n[e](r,r.exports,o),a=!1}finally{a&&delete i[e]}return r.exports}o.ab="/ROOT/node_modules/next/dist/compiled/buffer/",t.exports=o(230)},965396,e=>{"use strict";var t,r,n,i,o={},a=function(){if(t)return o;t=1,o.parse=function(e,t){if("string"!=typeof e)throw TypeError("argument str must be a string");var n={},i=e.length;if(i<2)return n;var o=t&&t.decode||c,a=0,s=0,d=0;do{if(-1===(s=e.indexOf("=",a)))break;if(-1===(d=e.indexOf(";",a)))d=i;else if(s>d){a=e.lastIndexOf(";",s-1)+1;continue}var l=f(e,a,s),h=u(e,s,l),p=e.slice(l,h);if(!r.call(n,p)){var g=f(e,s+1,d),y=u(e,d,g);34===e.charCodeAt(g)&&34===e.charCodeAt(y-1)&&(g++,y--);var b=e.slice(g,y);n[p]=function(e,t){try{return t(e)}catch(t){return e}}(b,o)}a=d+1}while(a<i)return n},o.serialize=function(t,r,o){var f=o&&o.encode||encodeURIComponent;if("function"!=typeof f)throw TypeError("option encode is invalid");if(!n.test(t))throw TypeError("argument name is invalid");var u=f(r);if(!i.test(u))throw TypeError("argument val is invalid");var c=t+"="+u;if(!o)return c;if(null!=o.maxAge){var d=Math.floor(o.maxAge);if(!isFinite(d))throw TypeError("option maxAge is invalid");c+="; Max-Age="+d}if(o.domain){if(!a.test(o.domain))throw TypeError("option domain is invalid");c+="; Domain="+o.domain}if(o.path){if(!s.test(o.path))throw TypeError("option path is invalid");c+="; Path="+o.path}if(o.expires){var l,h=o.expires;if(l=h,"[object Date]"!==e.call(l)||isNaN(h.valueOf()))throw TypeError("option expires is invali
1d");c+="; Expires="+h.toUTCString()}if(o.httpOnly&&(c+="; HttpOnly"),o.secure&&(c+="; Secure"),o.partitioned&&(c+="; Partitioned"),o.priority)switch("string"==typeof o.priority?o.priority.toLowerCase():o.priority){case"low":c+="; Priority=Low";break;case"medium":c+="; Priority=Medium";break;case"high":c+="; Priority=High";break;default:throw TypeError("option priority is invalid")}if(o.sameSite)switch("string"==typeof o.sameSite?o.sameSite.toLowerCase():o.sameSite){case!0:case"strict":c+="; SameSite=Strict";break;case"lax":c+="; SameSite=Lax";break;case"none":c+="; SameSite=None";break;default:throw TypeError("option sameSite is invalid")}return c};var e=Object.prototype.toString,r=Object.prototype.hasOwnProperty,n=/^[!#$%&'*+\-.^_`|~0-9A-Za-z]+$/,i=/^("?)[\u0021\u0023-\u002B\u002D-\u003A\u003C-\u005B\u005D-\u007E]*\1$/,a=/^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i,s=/^[\u0020-\u003A\u003D-\u007E]*$/;function f(e,t,r){do{var n=e.charCodeAt(t);if(32!==n&&9!==n)return t}while(++t<r)return r}function u(e,t,r){for(;t>r;){var n=e.charCodeAt(--t);if(32!==n&&9!==n)return t+1}return r}
1function c(e){return -1!==e.indexOf("%")?decodeURIComponent(e):e}return o}();function s(e,t={}){var r;let n=(r=e)&&"j"===r[0]&&":"===r[1]?r.substr(2):r;if(!t.doNotParse)try{return JSON.parse(n)}catch(e){}return e}class f{constructor(t,r={}){this.changeListeners=[],this.HAS_DOCUMENT_COOKIE=!1,this.update=()=>{if(!this.HAS_DOCUMENT_COOKIE)return;let e=this.cookies;this.cookies=a.parse(document.cookie),this._checkChanges(e)};const n="u"<typeof document?"":document.cookie;this.cookies=function(e){return"string"==typeof e?a.parse(e):"object"==typeof e&&null!==e?e:{}}(t||n),this.defaultSetOptions=r,this.HAS_DOCUMENT_COOKIE=function(){let t=e.g.TEST_HAS_DOCUMENT_COOKIE;return"boolean"==typeof t?t:"object"==typeof document&&"string"==typeof document.cookie}()}_emitChange(e){for(let t=0;t<this.changeListeners.length;++t)this.changeListeners[t](e)}_checkChanges(e){new Set(Object.keys(e).concat(Object.keys(this.cookies))).forEach(t=>{e[t]!==this.cookies[t]&&this._emitChange({name:t,value:s(this.cookies[t])})})}_startPolling(){this.pollingInterval=setInterval(this.update,300)}_stopPolling(){this.pollingInterval&&clearInterval(this.pollingInterval)}get(e,t={}){return t.doNotUpdate||this.update(),s(this.cookies[e],t)}getAll(e={}){e.doNotUpdate||this.update();let t={};for(let r in this.cookies)t[r]=s(this.cookies[r],e);return t}set(e,t,r){r=r?Object.assign(Object.assign({},this.defaultSetOptions),r):this.defaultSetOptions;let n="string"==typeof t?t:JSON.stringify(t);this.cookies=Object.assign(Object.assign({},this.cookies),{[e]:n}),this.HAS_DOCUMENT_COOKIE&&(document.cookie=a.serialize(e,n,r)),this._emitChange({name:e,value:t,options:r})}remove(e,t){let r=t=Object.assign(Object.assign(Object.assign({},this.defaultSetOptions),t),{expires:new Date(1970,1,1,0,0,1),maxAge:0});this.cookies=Object.assign({},this.cookies),delete this.cookies[e],this.HAS_DOCUMENT_COOKIE&&(document.cookie=a.serialize(e,"",r)),this._emitChange({name:e,value:void 0,options:t})}addChangeListener(e){this.changeListeners.push(e),this.HAS_DOCUMENT_COOKIE&&1===this.changeListeners.length&&("object"==typeof window&&"cookieStore"in window?window.cookieStore.addEventListener("change",this.update):this._startPolling())}removeChangeListener(e){let t=this.changeListeners.indexOf(e);t>=0&&this.changeListeners.splice(t,1),this.HAS_DOCUMENT_COOKIE&&0===this.changeListeners.length&&("object"==typeof window&&"cookieStore"in window?window.cookieStore.removeEventListener("change",this.update):this._stopPolling())}}var u=e.i(191788);let c=u.createContext(new f),{Provider:d,Consumer:l}=c;class h extends u.Component{constructor(e){super(e),e.cookies?this.cookies=e.cookies:this.cookies=new f(void 0,e.defaultSetOptions)}render(){return u.createElement(d,{value:this.cookies},this.props.children)}}"function"==typeof SuppressedError&&SuppressedError;var p={exports:{}},g={};!function(){if(!i){i=1;var e=(n||(n=1,p.exports=function(){if(r)return g;r=1;var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,i=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,a=e?Symbol.for("react.profiler"):60114,s=e?Symbol.for("react.provider"):60109,f=e?Symbol.for("react.context"):60110,u=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,d=e?Symbol.for("react.forward_ref"):60112,l=e?Symbol.for("react.suspense"):60113,h=e?Symbol.for("react.suspense_list"):60120,p=e?Symbol.for("react.memo"):60115,y=e?Symbol.for("react.lazy"):60116,b=e?Symbol.for("react.block"):60121,v=e?Symbol.for("react.fundamental"):60117,m=e?Symbol.for("react.responder"):60118,E=e?Symbol.for("react.scope"):60119;function w(e){if("object"==typeof e&&null!==e){var r=e.$$typeof;switch(r){case t:switch(e=e.type){case u:case c:case i:case a:case o:case l:return e;default:switch(e=e&&e.$$typeof){case f:case d:case y:case p:case s:return e;default:return r}}case n:return r}}}function _(e){return w(e)===c}return g.AsyncMode=u,g.ConcurrentMode=c,g.ContextConsumer=f,g.ContextProvider=s,g.Element=t,g.ForwardRef=d,g.Fragment=i,g.Lazy=y,g.Memo=p,g.Portal=n,g.Profiler=a,g.StrictMode=o,g.Suspense=l,g.isAsyncMode=function(e){return _(e)||w(e)===u},g.isConcurrentMode=_,g.isContextConsumer=function(e){return w(e)===f},g.isContextProvider=function(e){return w(e)===s},g.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},g.isForwardRef=function(e){return w(e)===d},g.isFragment=function(e){return w(e)===i},g.isLazy=function(e){return w(e)===y},g.isMemo=function(e){return w(e)===p},g.isPortal=function(e){return w(e)===n},g.isProfiler=function(e){return w(e)===a},g.isStrictMode=function(e){return w(e)===o},g.isSuspense=function(e){return w(e)===l},g.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===c||e===a||e===o||e===l||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===y||e.$$typeof===p||e.$$typeof===s||e.$$typeof===f||e.$$typeof===d||e.$$typeof===v||e.$$typeof===m||e.$$typeof===E||e.$$typeof===b)},g.typeOf=w,g}
1()),p.exports),t={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={};s[e.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[e.Memo]=a;Object.getOwnPropertyNames,Object.getOwnPropertySymbols,Object.getOwnPropertyDescriptor,Object.getPrototypeOf,Object.prototype}}(),e.s(["CookiesProvider",0,h,"useCookies",0,function(e,t){let r=(0,u.useContext)(c);if(!r)throw Error("Missing <CookiesProvider>");let n=Object.assign(Object.assign({},{doNotUpdate:!0}),t),[i,o]=(0,u.useState)(()=>r.getAll(n));return"u">typeof window&&void 0!==window.document&&void 0!==window.document.createElement&&(0,u.useLayoutEffect)(()=>{function t(){let t=r.getAll(n);(function(e,t,r){if(!e)return!0;for(let n of e)if(t[n]!==r[n])return!0;return!1})(e||null,t,i)&&o(t)}return r.addChangeListener(t),()=>{r.removeChangeListener(t)}},[r,i]),[i,(0,u.useMemo)(()=>r.set.bind(r),[r]),(0,u.useMemo)(()=>r.remove.bind(r),[r]),(0,u.useMemo)(()=>r.update.bind(r),[r])]}],965396)}
1,147300,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){console.warn("[react-gtm]",e)}},456003,(e,t,r)=>{"use strict";var n,i=(n=e.r(147300))&&n.__esModule?n:{default:n};t.exports={tags:function(e){var t=e.id,r=e.events,n=e.dataLayer,o=e.dataLayerName,a=e.preview,s=">m_auth="+e.auth,f=">m_preview="+a;t||(0,i.default)("GTM Id is required");var u="\n (function(w,d,s,l,i){w[l]=w[l]||[];\n w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js', "+JSON.stringify(r).slice(1,-1)+"});\n var f=d.getElementsByTagName(s)[0],j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';\n j.async=true;j.src='https://www.googletagmanager.com/gtm.js?id='+i+dl+'"+s+f+">m_cookies_win=x';\n f.parentNode.insertBefore(j,f);\n })(window,document,'script','"+o+"','"+t+"');";return{iframe:'\n <iframe src="https://www.googletagmanager.com/ns.html?id='+t+s+f+'>m_cookies_win=x"\n height="0" width="0" style="display:none;visibility:hidden" id="tag-manager"></iframe>',script:u,dataLayerVar:this.dataLayer(n,o)}},dataLayer:function(e,t){return"\n window."+t+" = window."+t+" || [];\n window."+t+".push("+JSON.stringify(e)+")"}}},221663,(e,t,r)=>{"use strict";var n,i=(n=e.r(456003))&&n.__esModule?n:{default:n};t.exports={dataScript:function(e){var t=document.createElement("script");return t.innerHTML=e,t},gtm:function(e){var t=i.default.tags(e);return{noScript:function(){var e=document.createElement("noscript");return e.innerHTML=t.iframe,e},script:function(){var e=document.createElement("script");return e.innerHTML=t.script,e},dataScript:this.dataScript(t.dataLayerVar)}},initialize:function(e){var t=e.gtmId,r=e.events,n=e.dataLayer,i=e.dataLayerName,o=e.auth,a=e.preview,s=this.gtm({id:t,events:void 0===r?{}:r,dataLayer:n||void 0,dataLayerName:void 0===i?"dataLayer":i,auth:void 0===o?"":o,preview:void 0===a?"":a});n&&document.head.appendChild(s.dataScript),document.head.insertBefore(s.script(),document.head.childNodes[0]),document.body.insertBefore(s.noScript(),document.body.childNodes[0])},dataLayer:function(e){var t=e.dataLayer,r=e.dataLayerName,n=void 0===r?"dataLayer":r;if(window[n])return window[n].push(t);var o=i.default.dataLayer(t,n),a=this.dataScript(o);document.head.insertBefore(a,document.head.childNodes[0])}}},830746,(e,t,r)=>{"use strict";var n;t.exports=((n=e.r(221663))&&n.__esModule?n:{default:n}).default},608890,716320,152545,e=>{"use strict";var t=e.i(191788);let r=(0,t.createContext)({hasDismissedCookieNotificationBar:!1,setHasDismissedCookieNotificationBar:void 0,cookieControl:null,setCookieControl:void 0});e.s(["AnalyticsContext",0,r,"default",0,r],716320);var n=e.i(391398);e.s(["AnalyticsContextProvider",0,({children:e})=>{let[i,o]=(0,t.useState)(!1),[a,s]=(0,t.useState)(null);return(0,n.jsx)(r.Provider,{value:{hasDismissedCookieNotificationBar:i,setHasDismissedCookieNotificationBar:o,cookieControl:a,setCookieControl:s},children:e})}],152545),e.s([],608890)},855242,185072,e=>{"use strict";var t=e.i(391398),r=e.i(191788);let n={xxsmallMax:"(max-width: 413px)",xsmallMax:"(max-width: 511px)",smallMax:"(max-width: 767px)",smallMin:"(min-width: 768px)",mediumMax:"(max-width: 1023px)",mediumMin:"(min-width: 1024px)",largeMin:"(min-width: 1200px)",xsmallMinMediumMax:"(min-width: 512px) and (max-width: 1023px)",xxLargeMin:"(min-width: 1500px)",landscape:"(orientation: landscape)",portrait:"(orientation: portrait)",minHeight:"(min-height: 30em)"},i=(0,r.createContext)({});i.displayName="BreakpointContext",e.s(["default",0,({children:e})=>{let[o,a]=(0,r.useState)({});return(0,r.useEffect)(()=>{let e={},t=Object.keys(n),r=!1,i=({media:e,matches:t})=>{a(r=>{let i=Object.keys(n).find(t=>n[t]===e);return{...r,[i]:t}})};if(window&&window.matchMedia){let o={};t.forEach(t=>{if("string"==typeof n[t]){var r;e[t]=window.matchMedia(n[t]),r=e[t],void 0!==r.addEventListener&&r.addEventListener("change",i),r.addListener(i),o[t]=e[t].matches}else o[t]=!1}),a(o),r=!0}return()=>{r&&t.forEach(t=>{var r;"string"==typeof n[t]&&(r=e[t],void 0!==r.removeEventListener&&r.removeEventListener("change",i
1),r.removeListener(i))})}},[]),(0,t.jsx)(i.Provider,{value:o,children:e})},"useBreakpointContext",0,function(){let e=(0,r.useContext)(i);if(void 0===e)throw Error("useBreakpointContext must be used within a BreakpointProvider");return e}],185072),e.s([],855242)},193834,274743,e=>{"use strict";var t=e.i(391398),r=e.i(191788);let n=(0,r.createContext)(void 0),i=(0,r.createContext)(void 0);n.displayName="InpageNavContext",e.s(["default",0,({children:e})=>{let[o,a]=(0,r.useState)(""),[s,f]=(0,r.useState)(""),[u,c]=(0,r.useState)(!1),[d,l]=(0,r.useState)(!1),h=(0,r.useCallback)(e=>a(e),[]),p=(0,r.useCallback)(e=>f(e),[]),g=(0,r.useCallback)(e=>l(e),[]),y=(0,r.useCallback)(e=>c(t=>"function"==typeof e?e(t):e),[]),b=(0,r.useMemo)(()=>({active:o,setActive:h}),[o,h]),v=(0,r.useMemo)(()=>({inpageNavFocus:s,isInpageNavOpen:u,isInPageNavVisible:d,setInpageNavFocus:p,setIsInPageNavVisible:g,toggleInpageNav:y}),[s,u,d,p,g,y]);return(0,t.jsx)(i.Provider,{value:b,children:(0,t.jsx)(n.Provider,{value:v,children:e})})},"useActiveLinkContext",0,function(){let e=(0,r.useContext)(i);if(void 0===e)throw Error("useActiveLinkContext must be used within an InpageNavProvider");return e},"useInpageNavContext",0,function(){let e=(0,r.useContext)(n);if(void 0===e)throw Error("useInpageNavContext must be used within an InpageNavProvider");return e}],274743),e.s([],193834)},802488,e=>{"use strict";var t=e.i(391398),r=e.i(191788);let n=(0,r.createContext)({layoutContextPosition:void 0,setLayoutContext:()=>{},isSiteAlertActive:!1,setIsSiteAlertActive:()=>{},hasFinalTintedPanel:!1,setHasFinalTintedPanel:()=>{}});n.displayName="LayoutContext",e.s(["default",0,({children:e})=>{let[i,o]=(0,r.useState)(null),[a,s]=(0,r.useState)({layoutContextPosition:void 0,setLayoutContext:e=>s(t=>({...t,layoutContextPosition:e})),setIsSiteAlertActive:e=>s(t=>({...t,isSiteAlertActive:e})),isSiteAlertActive:!1,setHasFinalTintedPanel:e=>s(t=>({...t,hasFinalTintedPanel:e})),hasFinalTintedPanel:!1});return(0,t.jsx)(n.Provider,{value:a,children:e})},"useLayoutContext",0,()=>{let e=(0,r.useContext)(n);if(void 0===e)throw Error("useLayoutContext must be used within a LayoutContextProvider");return e}])},286349,681643,634674,132003,e=>{"use strict";var t=e.i(391398),r=e.i(191788),n=e.i(591381);let i=(0,r.createContext)(void 0);i.displayName="NavContext",e.s(["default",0,({children:e})=>{let[o,a]=(0,r.useState)({isNavActive:!1,navLinks:n.default,toggleNav:e=>a(t=>({...t,isNavActive:e}))});return(0,t.jsx)(i.Provider,{value:o,children:e})},"useNavContext",0,function(){let e=(0,r.useContext)(i);if(void 0===e)throw Error("useNavContext must be used within a NavProvider");return e}],681643),e.s([],286349);let o=(0,r.createContext)({isPortalOpen:!1,setIsPortalOpen:()=>{}});o.displayName="PortalContext",e.s(["default",0,({children:e})=>{let[n,i]=(0,r.useState)({isPortalOpen:!1,setIsPortalOpen:e=>i(t=>({...t,isPortalOpen:e}))});return(0,t.jsx)(o.Provider,{value:n,children:e})},"usePortalContext",0,function(){let e=(0,r.useContext)(o);if(void 0===e)throw Error("usePortalContext must be used within a PortalProvider");return e}],634674),e.s([],132003)},516575,445529,e=>{"use strict";var t=e.i(391398),r=e.i(191788);let n=(0,r.createContext)({isSearchActive:!1,toggleSearch:()=>{}});n.displayName="SearchPaneContext",e.s(["SearchPaneContextProvider",0,({children:e})=>{let[i,o]=(0,r.useState)({isSearchActive:!1,toggleSearch:e=>o(t=>({...t,isSearchActive:e}))});return(0,t.jsx)(n.Provider,{value:i,children:e})},"default",0,n],445529),e.s([],516575)},591381,(e,t,r)=>{t.exports=[{id:"07ff62b6-373d-4a11-8d12-4443a125b527",title:"Research funding",description:"We fund research around the world, across a broad range of disciplines, to understand life, health and wellbeing and to deliver equitable health solutions.",parent:"",url:"/research-funding",aliases:["/grant-funding"],changed:"2025-02-25T16:45:50+00:00",section:"one",childNodes:[{id:"27056272-ebfe-4beb-9d91-61ef04ceb86c",title:"Find a funding opportunity",parent:"07ff62b6-373d-4a11-8d12-4443a125b527",url:"/research-funding/schemes",aliases:["/grant-funding/schemes"],changed:"2025-02-09T09:59:28+00:00",section:"two",childNodes:[]},{id:"113c418b-fad0-4bd4-9932-b5b5fc11449d",title:"Funding guidance",parent:"07ff62b6-373d-4a11-8d12-4443a125b527",url:"/research-funding/guidance",aliases:["/grant-funding/guidance"],changed:"2025-02-25T15:47:59+00:00",section:"two",childNodes:[{id:"31af99be-61d6-4406-916f-e5dd32ba3808",title:"Prepare to apply",url:"/research-funding/guidance/prepare-to-apply",aliases:["/grant-funding/guidance/prepare-to-apply"],parent:"113c418b-fad0-4bd4-9932-b5b5fc11449d",section:"three"},{id:"1236cc85-25d9-4d4f-b392-56914f6b2237",title:"Funding policies and grant conditions",url:"/research-funding/guidance/policies-grant-conditions",aliases:["/grant-funding/guidance/policies-grant-conditions"],parent:"113c418b-fad0-4bd4-9932-b5b5fc11449d",section:"three"}]},{id:"2988a2af-de17-43c1-bfa6-db000c739133",title:"Our funding portfolio",parent:"07ff62b6-373d-4a11-8d12-4443a125b527",url:"/research-funding/funding-portfolio",aliases:["/grant-funding/funding-portfolio"],changed:"2025-02-25T16:22:30+00:00",section:"three",childNodes:[{id:"a8840d8b-a8e5-488b-ba6a-4963f6c4e17a",t
1itle:"Funded grants",url:"/research-funding/funding-portfolio/funded-grants",aliases:["/grant-funding/funding-portfolio/funded-grants"],parent:"2988a2af-de17-43c1-bfa6-db000c739133",section:"three"},{id:"9fc74c7f-ff10-4c4a-ba65-9c79f9b5746f",title:"Major initiatives",url:"/research-funding/funding-portfolio/major-initiatives",aliases:["/grant-funding/funding-portfolio/major-initiatives"],parent:"2988a2af-de17-43c1-bfa6-db000c739133",section:"three"}]}]},{id:"61e155aa-f834-4a8c-8a55-1c4d28ebdc30",title:"Engagement and advocacy",description:"We work with communities, governments and partners across the world to advocate for evidence-based health policies that support the communities most affected.",parent:"",url:"/engagement-and-advocacy",changed:"2025-02-25T16:45:50+00:00",section:"one",childNodes:[{id:"8328ec6d-2182-426a-8c18-a5803dfd2846",title:"Engaging people",parent:"61e155aa-f834-4a8c-8a55-1c4d28ebdc30",url:"/engagement-and-advocacy/engaging-people",changed:"2025-02-25T16:40:22+00:00",section:"two",childNodes:[{id:"1cbf452a-ecc7-4762-9ea9-4fa976cf70ab",title:"Wellcome Collection",url:"/engagement-and-advocacy/engaging-people/wellcome-collection",parent:"8328ec6d-2182-426a-8c18-a5803dfd2846",section:"two"},{id:"66d632c4-bae7-41d3-8be5-bd1eb3c75ee5",title:"Wellcome Global Monitor",url:"/engagement-and-advocacy/engaging-people/wellcome-global-monitor",parent:"8328ec6d-2182-426a-8c18-a5803dfd2846",section:"two"}]},{id:"df808c9d-6137-4aba-8329-86da589cf38d",title:"Advocacy and partnerships",parent:"61e155aa-f834-4a8c-8a55-1c4d28ebdc30",url:"/engagement-and-advocacy/advocacy-and-partnerships",changed:"2025-02-25T16:39:58+00:00",section:"three",childNodes:[{id:"c60ffb7c-3583-4cfe-a6b0-6c163f429bd8",title:"Science Policy Labs",url:"/engagement-and-advocacy/advocacy-and-partnerships/science-policy-labs",parent:"df808c9d-6137-4aba-8329-86da589cf38d",section:"three"}]}]},{id:"d5c8ee36-4732-4d90-bbf4-6a9314b86040",title:"Our priorities",description:"We're bringing together expertise from across science, innovation and society to generate new knowledge and find equitable solutions to improve life, health and wellbeing.",parent:"",url:"/our-priorities",changed:"2025-02-25T16:45:50+00:00",section:"one",childNodes:[{id:"53b67355-d152-4b09-9611-071993c37340",title:"Climate and Health",parent:"d5c8ee36-4732-4d90-bbf4-6a9314b86040",url:"/our-priorities/climate-and-health",changed:"2025-02-25T16:25:20+00:00",section:"two",childNodes:[]},{id:"35f77398-dbd9-4a25-bcf8-d73fba20d6e7",title:"Infectious Disease",parent:"d5c8ee36-4732-4d90-bbf4-6a9314b86040",url:"/our-priorities/infectious-disease",changed:"2025-02-25T16:25:20+00:00",section:"two",childNodes:[]},{id:"42b78e82-510c-4211-9f04-6de5565ef957",title:"Mental Health",parent:"d5c8ee36-4732-4d90-bbf4-6a9314b86040",url:"/our-priorities/mental-health",changed:"2025-02-25T16:25:20+00:00",section:"two",childNodes:[]},{id:"10b34121-7286-4380-a61d-9abc574a64ce",title:"Discovery Research",parent:"d5c8ee36-4732-4d90-bbf4-6a9314b86040",url:"/our-priorities/discovery-research",changed:"2025-02-25T16:25:20+00:00",section:"two",childNodes:[]},{id:"4ed8de74-672d-4dbd-be27-c8ee9c8c8cb7",title:"Our strategy",parent:"d5c8ee36-4732-4d90-bbf4-6a9314b86040",url:"/our-priorities/strategy",changed:"2025-02-25T16:26:07+00:00",section:"three",childNodes:[{id:"6b2dbe37-462d-4e3b-a955-efa91515714f",title:"Equity",url:"/our-priorities/strategy/diversity-and-inclusion",parent:"4ed8de74-672d-4dbd-be27-c8ee9c8c8cb7",section:"three"},{id:"eeadbbc2-9461-479e-afb7-dc4209bf8c9e",title:"Sustainability",url:"/our-priorities/strategy/sustainability-addressing-our-environmental-impacts",parent:"4ed8de74-672d-4dbd-be27-c8ee9c8c8cb7",section:"three"}]}]},{id:"6276bffe-1ada-4670-987c-2a4717c5baa6",title:"Insights and impact",description:"Read our insights to learn more about our activities and impact supporting our mission.",parent:"",url:"/insights",additionalLink:{url:"/impact",text:"Explore our impact"},changed:"2025-02-25T16:45:50+00:00",section:"one",childNodes:[{id:"9f614a8f-8679-499f-89e0-a353abcc09a5",title:"Articles",parent:"6276bffe-1ada-4670-987c-2a4717c5baa6",url:"/insights/articles",changed:"2025-02-25T16:45:50+00:00",section:"two",childNodes:[]},{id:"b44eb556-858f-43ea-9802-164a7dd14b8d",title:"Reports",parent:"6276bffe-1ada-4670-987c-2a4717c5baa6",url:"/insights/reports",aliases:["/reports"],changed:"2025-02-25T16:45:50+00:00",section:"two",childNodes:[]},{id:"c44eb556-858f-43ea-9802-164a7dd14b8c",title:"Podcast",parent:"6276bffe-1ada-4670-987c-2a4717c5baa6",url:"/insights/podcast",changed:"2025-02-15T17:00:00+00:00",section:"two",childNodes:[]}
1,{id:"4be6bfd4-051f-4072-b1d6-767d83b069c3",title:"Newsletters",parent:"6276bffe-1ada-4670-987c-2a4717c5baa6",url:"/insights/newsletters",changed:"2025-02-05T15:20:00+00:00",section:"two",childNodes:[]}]},{id:"3f4d5b02-ac43-4d3b-b6e5-c0f9f64e9259",title:"About us",description:"We are a charitable foundation with a vision of a healthier future for everyone.",parent:"",url:"/about-us",changed:"2025-02-25T16:45:50+00:00",section:"one",childNodes:[{id:"8aa2e0c7-7cfa-45a3-a04a-1588dee76ed7",title:"Our people",parent:"3f4d5b02-ac43-4d3b-b6e5-c0f9f64e9259",url:"/about-us/our-people",changed:"2025-02-25T16:45:50+00:00",section:"two",childNodes:[{id:"8e543d07-37eb-4a8f-9f39-34f19f3475b4",title:"Our governance",url:"/about-us/our-people/governance",parent:"8aa2e0c7-7cfa-45a3-a04a-1588dee76ed7",section:"three"},{id:"a65dfe74-1455-4173-824d-3f540e5b1bc5",title:"Our teams",url:"/about-us/our-people/our-teams",parent:"8aa2e0c7-7cfa-45a3-a04a-1588dee76ed7",section:"three"}]},{id:"9242d4fa-28a6-4922-903e-b79a3c03cf6e",title:"Work with us",parent:"3f4d5b02-ac43-4d3b-b6e5-c0f9f64e9259",url:"/about-us/work-with-us",changed:"2025-02-25T16:39:28+00:00",section:"three",childNodes:[{id:"9bc22613-8728-4dae-9f3a-89d57934a0b8",title:"Jobs",url:"/about-us/work-with-us/jobs",aliases:["/jobs"],parent:"9242d4fa-28a6-4922-903e-b79a3c03cf6e",section:"three"},{id:"c8bfaad2-ab90-4e8d-94a0-c90202af41e9",title:"Contract opportunities",url:"/about-us/work-with-us/contract-opportunities",parent:"9242d4fa-28a6-4922-903e-b79a3c03cf6e",section:"three"}]},{id:"a8b8f0b3-6c52-4ced-a619-c40b330362f2",title:"Our history",parent:"3f4d5b02-ac43-4d3b-b6e5-c0f9f64e9259",url:"/about-us/history-wellcome",changed:"2025-02-25T16:39:28+00:00",section:"four",childNodes:[]},{id:"613a4544-87d4-4bb6-bdb8-de45682d0080",title:"How we are funded",parent:"3f4d5b02-ac43-4d3b-b6e5-c0f9f64e9259",url:"/about-us/investments",changed:"2025-02-25T16:39:28+00:00",section:"four",childNodes:[]},{id:"ea36b07e-67e5-4ffd-a388-fda09a9ef9a7",title:"Media queries",parent:"3f4d5b02-ac43-4d3b-b6e5-c0f9f64e9259",url:"/about-us/media-queries",changed:"2025-02-25T16:39:28+00:00",section:"four",childNodes:[]},{id:"9d23012c-acb3-48d8-af41-7d95ff2dfbd3",title:"Contact us",parent:"3f4d5b02-ac43-4d3b-b6e5-c0f9f64e9259",url:"/about-us/contact-us",changed:"2025-02-25T16:45:50+00:00",section:"four",childNodes:[]}]}]},258641,e=>{"use strict";var t=e.i(350461);e.i(221168);var r=e.i(191788);function n(){return{NEXT_PUBLIC_API_DOMAIN:t.default.env.NEXT_PUBLIC_API_DOMAIN||"",NEXT_PUBLIC_SITE_DOMAIN:t.default.env.NEXT_PUBLIC_SITE_DOMAIN||"",NEXT_PUBLIC_ZENDESK_LIVE_CHAT_KEY:t.default.env.NEXT_PUBLIC_ZENDESK_LIVE_CHAT_KEY||"",NEXT_PUBLIC_SENTRY_DSN:t.default.env.NEXT_PUBLIC_SENTRY_DSN||"",NEXT_PUBLIC_SALESFORCE_ORG_ID:t.default.env.NEXT_PUBLIC_SALESFORCE_ORG_ID||"",NEXT_PUBLIC_CIVIC_API_KEY:t.default.env.NEXT_PUBLIC_CIVIC_API_KEY||"",GOOGLE_SITE_VERIFICATION:t.default.env.GOOGLE_SITE_VERIFICATION||"",PAGES_ENDPOINT:t.default.env.PAGES_ENDPOINT||"",GOOGLE_RECAPTCHA_SECRET_KEY:t.default.env.GOOGLE_RECAPTCHA_SECRET_KEY||"",NEXT_PROTECTED_API_USERNAME:t.default.env.NEXT_PROTECTED_API_USERNAME||"",NEXT_PROTECTED_API_PASSWORD:t.default.env.NEXT_PROTECTED_API_PASSWORD||"",AWS_SES_REGION:t.default.env.AWS_SES_REGION||"",AWS_SES_ID:t.default.env.AWS_SES_ID||"",AWS_SES_SECRET:t.default.env.AWS_SES_SECRET||"",AWS_SES_SMTP_SERVER:t.default.env.AWS_SES_SMTP_SERVER||"",SALESFORCE_WEB_TO_CASE_URL:t.default.env.SALESFORCE_WEB_TO_CASE_URL||"",SALESFORCE_TARGET_OBJECT:t.default.env.SALESFORCE_TARGET_OBJECT||"",ZENDESK_API_DOMAIN:t.default.env.ZENDESK_API_DOMAIN||"",ZENDESK_OAUTH_TOKEN:t.default.env.ZENDESK_OAUTH_TOKEN||"",DRUPAL_PREVIEW_CLIENT_ID:t.default.env.DRUPAL_PREVIEW_CLIENT_ID||"",DRUPAL_PREVIEW_CLIENT_SECRET:t.default.env.DRUPAL_PREVIEW_CLIENT_SECRET||"",NEXT_PUBLIC_API_DOMAIN_USERNAME:t.default.env.NEXT_PUBLIC_API_DOMAIN_USERNAME||"",NEXT_PUBLIC_API_DOMAIN_PASSWORD:t.default.env.NEXT_PUBLIC_API_DOMAIN_PASSWORD||""}}let i=["NEXT_PUBLIC_API_DOMAIN","NEXT_PUBLIC_SITE_DOMAIN","NEXT_PUBLIC_ZENDESK_LIVE_CHAT_KEY","NEXT_PUBLIC_SENTRY_DSN","NEXT_PUBLIC_SALESFORCE_ORG_ID","NEXT_PUBLIC_CIVIC_API_KEY","GOOGLE_SITE_VERIFICATION"];function o(){var e;let t;return window.__PUBLIC_CONFIG__?window.__PUBLIC_CONFIG__:(e=n(),t={}
1,i.forEach(r=>{t[r]=e[r]}),t)}let a=null;e.s(["getBuildTimeConfig",0,function(){return{NEXT_PUBLIC_GTM_ID_MULTIPLE:"GTM-MCC62JK",NEXT_PUBLIC_GOOGLE_RECAPTCHA_SITE_KEY:"6Le6FuIZAAAAAMWFCxjA1alelZB8SSs0B_u8EEMk",NEXT_PUBLIC_SCHEMA_SOURCE:"local"}},"getPublicConfig",0,o,"getRuntimeConfig",0,n,"resolveCmsApiUrl",0,function(e){let t=o().NEXT_PUBLIC_API_DOMAIN,r=t&&e.startsWith(t)?e.slice(t.length):e;return`/api/cms-proxy?target=${encodeURIComponent(r)}`},"usePublicConfig",0,function(){let[e,t]=(0,r.useState)(o()),[n,i]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{let e=!0,r=r=>{e&&(r&&t(r),i(!0))};return(!a&&(a=fetch("/api/public-config").then(e=>e.json()).catch(()=>null)),a).then(r).catch(()=>r(null)),()=>{e=!1}},[]),{...e,isLoaded:n}},"useRunOnceConfigLoaded",0,function(e,t,n){let i=(0,r.useRef)(!1);(0,r.useEffect)(()=>{e&&!i.current&&(i.current=!0,t())},[e,...n])}])}]);
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.