1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,467034,(t,e,r)=>{!function(){var t={675:function(t,e){"use strict";e.byteLength=function(t){var e=u(t),r=e[0],n=e[1];return(r+n)*3/4-n},e.toByteArray=function(t){var e,r,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(r=0;r<f;r+=4)e=n[t.charCodeAt(r)]<<18|n[t.charCodeAt(r+1)]<<12|n[t.charCodeAt(r+2)]<<6|n[t.charCodeAt(r+3)],c[l++]=e>>16&255,c[l++]=e>>8&255,c[l++]=255&e;return 2===s&&(e=n[t.charCodeAt(r)]<<2|n[t.charCodeAt(r+1)]>>4,c[l++]=255&e),1===s&&(e=n[t.charCodeAt(r)]<<10|n[t.charCodeAt(r+1)]<<4|n[t.charCodeAt(r+2)]>>2,c[l++]=e>>8&255,c[l++]=255&e),c},e.fromByteArray=function(t){for(var e,n=t.length,i=n%3,o=[],a=0,s=n-i;a<s;a+=16383)o.push(function(t,e,n){for(var i,o=[],a=e;a<n;a+=3)i=(t[a]<<16&0xff0000)+(t[a+1]<<8&65280)+(255&t[a+2]),o.push(r[i>>18&63]+r[i>>12&63]+r[i>>6&63]+r[63&i]);return o.join("")}(t,a,a+16383>s?s:a+16383));return 1===i?o.push(r[(e=t[n-1])>>2]+r[e<<4&63]+"=="):2===i&&o.push(r[(e=(t[n-2]<<8)+t[n-1])>>10]+r[e>>4&63]+r[e<<2&63]+"="),o.join("")};for(var r=[],n=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,s=o.length;a<s;++a)r[a]=o[a],n[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 r=t.indexOf("=");-1===r&&(r=e);var n=r===e?0:4-r%4;return[r,n]}n[45]=62,n[95]=63},72:function(t,e,r){"use strict";var n=r(675),i=r(783),o="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;function a(t){if(t>0x7fffffff)throw RangeError('The value "'+t+'" is invalid for option "size"');var e=new Uint8Array(t);return Object.setPrototypeOf(e,s.prototype),e}function s(t,e,r){if("number"==typeof t){if("string"==typeof e)throw TypeError('The "string" argument must be of type string. Received type number');return l(t)}return u(t,e,r)}function u(t,e,r){if("string"==typeof t){var n=t,i=e;if(("string"!=typeof i||""===i)&&(i="utf8"),!s.isEncoding(i))throw TypeError("Unknown encoding: "+i);var o=0|d(n,i),u=a(o),c=u.write(n,i);return c!==o&&(u=u.slice(0,c)),u}if(ArrayBuffer.isView(t))return f(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(B(t,ArrayBuffer)||t&&B(t.buffer,ArrayBuffer)||"undefined"!=typeof SharedArrayBuffer&&(B(t,SharedArrayBuffer)||t&&B(t.buffer,SharedArrayBuffer)))return function(t,e,r){var n;if(e<0||t.byteLength<e)throw RangeError('"offset" is outside of buffer bounds');if(t.byteLength<e+(r||0))throw RangeError('"length" is outside of buffer bounds');return Object.setPrototypeOf(n=void 0===e&&void 0===r?new Uint8Array(t):void 0===r?new Uint8Array(t,e):new Uint8Array(t,e,r),s.prototype),n}(t,e,r);if("number"==typeof t)throw TypeError('The "value" argument must not be of type number. Received type number');var l=t.valueOf&&t.valueOf();if(null!=l&&l!==t)return s.from(l,e,r);var p=function(t){if(s.isBuffer(t)){var e=0|h(t.length),r=a(e);return 0===r.length||t.copy(r,0,0,e),r}return void 0!==t.length?"number"!=typeof t.length||function(t){return t!=t}(t.length)?a(0):f(t):"Buffer"===t.type&&Array.isArray(t.data)?f(t.data):void 0}(t);if(p)return p;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof t[Symbol.toPrimitive])return s.from(t[Symbol.toPrimitive]("string"),e,r);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}function 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){for(var e=t.length<0?0:0|h(t.length),r=a(e),n=0;n<e;n+=1)r[n]=255&t[n];return r}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{var t=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(t,e),42===t.foo()}catch(t){return!1}}(),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,r){return u(t,e,r)},Object.setPrototypeOf(s.prototype,Uint8Array.prototype),Object.setPrototypeOf(s,Uint8Array),s.alloc=function(t,e,r){return(c(t),t<=0)?a(t):void 0!==e?"string"==typeof r?a(t).fill(e,r):a(t).fill(e):a(t)},s.allocUnsafe=function(t){return l(t)},s.allocUnsafeSlow=function(t){return l(t)};function h(t){if(t>=0x7fffffff)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|t}function d(t,e){if(s.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||B(t,ArrayBuffer))return t.byteLength;if("string"!=typeof t)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var r=t.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===r)return 0;for(var i=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return k(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return S(t).length;default:if(i)return n?-1:k(t).length;e=(""+e).toLowerCase(),i=!0}}function p(t,e,r){var i,o,a,s=!1;if((void 0===e||e<0)&&(e=0),e>this.length||((void 0===r||r>this.length)&&(r=this.length),r<=0||(r>>>=0)<=(e>>>=0)))return"";for(t||(t="utf8");;)switch(t){case"hex":return function(t,e,r){var n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);for(var i="",o=e;o<r;++o)i+=I[t[o]];return i}(this,e,r);case"utf8":case"utf-8":return v(this,e,r);case"ascii":return function(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(127&t[i]);return n}(this,e,r);case"latin1":case"binary":return function(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(t[i]);return n}(this,e,r);case"base64":return i=this,o=e,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(t,e,r){for(var n=t.slice(e,r),i="",o=0;o<n.length;o+=2)i+=String.fromCharCode(n[o]+256*n[o+1]);return i}(this,e,r);default:if(s)throw TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),s=!0}}function y(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}function g(t,e,r,n,i){var o;if(0===t.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:t.length-1),r<0&&(r=t.length+r),r>=t.length)if(i)return -1;else r=t.length-1;else if(r<0)if(!i)return -1;else r=0;if("string"==typeof e&&(e=s.from(e,n)),s.isBuffer(e))return 0===e.length?-1:m(t,e,r,n,i);if("number"==typeof e){if(e&=255,"function"==typeof Uint8Array.prototype.indexOf)if(i)return Uint8Array.prototype.indexOf.call(t,e,r);else return Uint8Array.prototype.lastIndexOf.call(t,e,r);return m(t,[e],r,n,i)}throw TypeError("val must be string, number or Buffer")}function m(t,e,r,n,i){var o,a=1,s=t.length,u=e.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(t.length<2||e.length<2)return -1;a=2,s/=2,u/=2,r/=2}function c(t,e){return 1===a?t[e]:t.readUInt16BE(e*a)}if(i){var l=-1;for(o=r;o<s;
vendor: 12,407 bytes, line 1
1o++)if(c(t,o)===c(e,-1===l?0:o-l)){if(-1===l&&(l=o),o-l+1===u)return l*a}else -1!==l&&(o-=o-l),l=-1}else for(r+u>s&&(r=s-u),o=r;o>=0;o--){for(var f=!0,h=0;h<u;h++)if(c(t,o+h)!==c(e,h)){f=!1;break}if(f)return o}return -1}s.isBuffer=function(t){return null!=t&&!0===t._isBuffer&&t!==s.prototype},s.compare=function(t,e){if(B(t,Uint8Array)&&(t=s.from(t,t.offset,t.byteLength)),B(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;for(var r=t.length,n=e.length,i=0,o=Math.min(r,n);i<o;++i)if(t[i]!==e[i]){r=t[i],n=e[i];break}return r<n?-1:+(n<r)},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){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(r=0,e=0;r<t.length;++r)e+=t[r].length;var r,n=s.allocUnsafe(e),i=0;for(r=0;r<t.length;++r){var o=t[r];if(B(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=d,s.prototype._isBuffer=!0,s.prototype.swap16=function(){var t=this.length;if(t%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<t;e+=2)y(this,e,e+1);return this},s.prototype.swap32=function(){var t=this.length;if(t%4!=0)throw RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<t;e+=4)y(this,e,e+3),y(this,e+1,e+2);return this},s.prototype.swap64=function(){var t=this.length;if(t%8!=0)throw RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<t;e+=8)y(this,e,e+7),y(this,e+1,e+6),y(this,e+2,e+5),y(this,e+3,e+4);return this},s.prototype.toString=function(){var t=this.length;return 0===t?"":0==arguments.length?v(this,0,t):p.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(){var t="",r=e.INSPECT_MAX_BYTES;return t=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(t+=" ... "),"<Buffer "+t+">"},o&&(s.prototype[o]=s.prototype.inspect),s.prototype.compare=function(t,e,r,n,i){if(B(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===r&&(r=t?t.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),e<0||r>t.length||n<0||i>this.length)throw RangeError("out of range index");if(n>=i&&e>=r)return 0;if(n>=i)return -1;if(e>=r)return 1;if(e>>>=0,r>>>=0,n>>>=0,i>>>=0,this===t)return 0;for(var o=i-n,a=r-e,u=Math.min(o,a),c=this.slice(n,i),l=t.slice(e,r),f=0;f<u;++f)if(c[f]!==l[f]){o=c[f],a=l[f];break}return o<a?-1:+(a<o)},s.prototype.includes=function(t,e,r){return -1!==this.indexOf(t,e,r)},s.prototype.indexOf=function(t,e,r){return g(this,t,e,r,!0)},s.prototype.lastIndexOf=function(t,e,r){return g(this,t,e,r,!1)};function v(t,e,r){r=Math.min(t.length,r);for(var n=[],i=e;i<r;){var o,a,s,u,c=t[i],l=null,f=c>239?4:c>223?3:c>191?2:1;if(i+f<=r)switch(f){case 1:c<128&&(l=c);break;case 2:(192&(o=t[i+1]))==128&&(u=(31&c)<<6|63&o)>127&&(l=u);break;case 3:o=t[i+1],a=t[i+2],(192&o)==128&&(192&a)==128&&(u=(15&c)<<12|(63&o)<<6|63&a)>2047&&(u<55296||u>57343)&&(l=u);break;case 4:o=t[i+1],a=t[i+2],s=t[i+3],(192&o)==128&&(192&a)==128&&(192&s)==128&&(u=(15&c)<<18|(63&o)<<12|(63&a)<<6|63&s)>65535&&u<1114112&&(l=u)}null===l?(l=65533,f=1):l>65535&&(l-=65536,n.push(l>>>10&1023|55296),l=56320|1023&l),n.push(l),i+=f}var h=n,d=h.length;if(d<=4096)return String.fromCharCode.apply(String,h);for(var p="",y=0;y<d;)p+=String.fromCharCode.apply(String,h.slice(y,y+=4096));return p}function _(t,e,r){if(t%1!=0||t<0)throw RangeError("offset is not uint");if(t+e>r)throw RangeError("Trying to access beyond buffer length")}function b(t,e,r,n,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(r+n>t.length)throw RangeError("Index out of range")}function w(t,e,r,n,i,o){if(r+n>t.length||r<0)throw RangeError("Index out of range")}function E(t,e,r,n,o){return e*=1,r>>>=0,o||w(t,e,r,4,34028234663852886e22,-34028234663852886e22),i.write(t,e,r,n,23,4),r+4}function T(t,e,r,n,o){return e*=1,r>>>=0,o||w(t,e,r,8,17976931348623157e292,-17976931348623157e292),i.write(t,e,r,n,52,8),r+8}s.prototype.write=function(t,e,r,n){if(void 0===e)n="utf8",r=this.length,e=0;else if(void 0===r&&"string"==typeof e)n=e,r=this.length,e=0;else if(isFinite(e))e>>>=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,u,c,l,f,h=this.length-e;if((void 0===r||r>h)&&(r=h),t.length>0&&(r<0||e<0)||e>this.length)throw RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var d=!1;;)switch(n){case"hex":return function(t,e,r,n){r=Number(r)||0;var i=t.length-r;n?(n=Number(n))>i&&(n=i):n=i;var o=e.length;n>o/2&&(n=o/2);for(var a=0;a<n;++a){var s,u=parseInt(e.substr(2*a,2),16);if((s=u)!=s)break;t[r+a]=u}return a}(this,t,e,r);case"utf8":case"utf-8":return i=e,o=r,x(k(t,this.length-i),this,i,o);case"ascii":return a=e,s=r,x(C(t),this,a,s);case"latin1":case"binary":return function(t,e,r,n){return x(C(e),t,r,n)}(this,t,e,r);case"base64":return u=e,c=r,x(S(t),this,u,c);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return l=e,f=r,x(function(t,e){for(var r,n,i=[],o=0;o<t.length&&!((e-=2)<0);++o)n=(r=t.charCodeAt(o))>>8,i.push(r%256),i.push(n);return i}(t,this.length-l),this,l,f);default:if(d)throw TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),d=!0}},s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},s.prototype.slice=function(t,e){var r=this.length;t=~~t,e=void 0===e?r:~~e,t<0?(t+=r)<0&&(t=0):t>r&&(t=r),e<0?(e+=r)<0&&(e=0):e>r&&(e=r),e<t&&(e=t);var n=this.subarray(t,e);return Object.setPrototypeOf(n,s.prototype),n},s.prototype.readUIntLE=function(t,e,r){t>>>=0,e>>>=0,r||_(t,e,this.length);for(var n=this[t],i=1,o=0;++o<e&&(i*=256);)n+=this[t+o]*i;return n},s.prototype.readUIntBE=function(t,e,r){t>>>=0,e>>>=0,r||_(t,e,this.length);for(var n=this[t+--e],i=1;e>0&&(i*=256);)n+=this[t+--e]*i;return n},s.prototype.readUInt8=function(t,e){return t>>>=0,e||_(t,1,this.length),this[t]},s.prototype.readUInt16LE=function(t,e){return t>>>=0,e||_(t,2,this.length),this[t]|this[t+1]<<8},s.prototype.readUInt16BE=function(t,e){return t>>>=0,e||_(t,2,this.length),this[t]<<8|this[t+1]},s.prototype.readUInt32LE=function(t,e){return t>>>=0,e||_(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+0x1000000*this[t+3]},s.prototype.readUInt32BE=function(t,e){return t>>>=0,e||_(t,4,this.length),0x1000000*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},s.prototype.readIntLE=function(t,e,r){t>>>=0,e>>>=0,r||_(t,e,this.length);for(var n=this[t],i=1,o=0;++o<e&&(i*=256);)n+=this[t+o]*i;return n>=(i*=128)&&(n-=Math.pow(2,8*e)),n},s.prototype.readIntBE=function(t,e,r){t>>>=0,e>>>=0,r||_(t,e,this.length);for(var n=e,i=1,o=this[t+--n];n>0&&(i*=256);)o+=this[t+--n]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*e)),o},s.prototype.readInt8=function(t,e){return(t>>>=0,e||_(t,1,this.length),128&this[t])?-((255-this[t]+1)*1):this[t]},s.prototype.readInt16LE=function(t,e){t>>>=0,e||_(t,2,this.length);var r=this[t]|this[t+1]<<8;return 32768&r?0xffff0000|r:r},s.prototype.readInt16BE=function(t,e){t>>>=0,e||_(t,2,this.length);var r=this[t+1]|this[t]<<8;return 32768&r?0xffff0000|r:r},s.prototype.readInt32LE=function(t,e){return t>>>=0,e||_(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||_(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},s.prototype.readFloatLE=function(t,e){return t>>>=0,e||_(t,4,this.length),i.read(this,t,!0,23,4)},s.prototype.readFloatBE=function(t,e){return t>>>=0,e||_(t,4,this.length),i.read(this,t,!1,23,4)},s.prototype.readDoubleLE=function(t,e){return t>>>=0,e||_(t,8,this.length),i.read(this,t,!0,52,8)},s.prototype.readDoubleBE=function(t,e){return t>>>=0,e||_(t,8,this.length),i.read(this,t,!1,52,8)},s.prototype.writeUIntLE=function(t,e,r,n){if(t*=1,e>>>=0,r>>>=0,!n){var i=Math.pow(2,8*r)-1;b(this,t,e,r,i,0)}var o=1,a=0;for(this[e]=255&t;++a<r&&(o*=256);)this[e+a]=t/o&255;return e+r},s.prototype.writeUIntBE=function(t,e,r,n){if(t*=1,e>>>=0,r>>>=0,!n){var i=Math.pow(2,8*r)-1;b(this,t,e,r,i,0)}var o=r-1,a=1;for(this[e+o]=255&t;--o>=0&&(a*=256);)this[e+o]=t/a&255;return e+r},s.prototype.writeUInt8=function(t,e,r){return t*=1,e>>>=0,r||b(this,t,e,1,255,0),this[e]=255&t,e+1},s.prototype.writeUInt16LE=function(t,e,r){return t*=1,e>>>=0,r||b(this,t,e,2,65535,0),this[e]=255&t,this[e+1]=t>>>8,e+2},s.prototype.writeUInt16BE=function(t,e,r){return t*=1,e>>>=0,r||b(this,t,e,2,65535,0),this[e]=t>>>8,this[e+1]=255&t,e+2},s.prototype.writeUInt32LE=function(t,e,r){return t*=1,e>>>=0,r||b(this,t,e,4,0xffffffff,0),this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t,e+4},s.prototype.writeUInt32BE=function(t,e,r){return t*=1,e>>>=0,r||b(this,t,e,4,0xffffffff,0),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},s.prototype.writeIntLE=function(t,e,r,n){if(t*=1,e>>>=0,!n){var i=Math.pow(2,8*r-1);b(this,t,e,r,i-1,-i)}var o=0,a=1,s=0;for(this[e]=255&t;++o<r&&(a*=256);)t<0&&0===s&&0!==this[e+o-1]&&(s=1),this[e+o]=(t/a|0)-s&255;return e+r},s.prototype.writeIntBE=function(t,e,r,n){if(t*=1,e>>>=0,!n){var i=Math.pow(2,8*r-1);b(this,t,e,r,i-1,-i)}var o=r-1,a=1,s=0;for(this[e+o]=255&t;--o>=0&&(a*=256);)t<0&&0===s&&0!==this[e+o+1]&&(s=1),this[e+o]=(t/a|0)-s&255;return e+r},s.prototype.writeInt8=function(t,e,r){return t*=1,e>>>=0,r||b(this,t,e,1,127,-128),t<0&&(t=255+t+1),this[e]=255&t,e+1},s.prototype.writeInt16LE=function(t,e,r){return t*=1,e>>>=0,r||b(this,t,e,2,32767,-32768),this[e]=255&t,this[e+1]=t>>>8,e+2},s.prototype.writeInt16BE=function(t,e,r){return t*=1,e>>>=0,r||b(this,t,e,2,32767,-32768),this[e]=t>>>8,this[e+1]=255&t,e+2},s.prototype.writeInt32LE=function(t,e,r){return t*=1,e>>>=0,r||b(this,t,e,4,0x7fffffff,-0x80000000),this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24,e+4},s.prototype.writeInt32BE=function(t,e,r){return t*=1,e>>>=0,r||b(this,t,e,4,0x7fffffff,-0x80000000),t<0&&(t=0xffffffff+t+1),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},s.prototype.writeFloatLE=function(t,e,r){return E(this,t,e,!0,r)},s.prototype.writeFloatBE=function(t,e,r){return E(this,t,e,!1,r)},s.prototype.writeDoubleLE=function(t,e,r){return T(this,t,e,!0,r)},s.prototype.writeDoubleBE=function(t,e,r){return T(this,t,e,!1,r)},s.prototype.copy=function(t,e,r,n){if(!s.isBuffer(t))throw TypeError("argument should be a Buffer");if(r||(r=0),n||0===n||(n=this.length),e>=t.length&&(e=t.length),e||(e=0),n>0&&n<r&&(n=r),n===r||0===t.length||0===this.length)return 0;if(e<0)throw RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw RangeError("Index out of range");if(n<0)throw RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),t.length-e<n-r&&(n=t.length-e+r);var i=n-r;if(this===t&&"function"==typeof Uint8Array.prototype.copyWithin)this.copyWithin(e,r,n);else if(this===t&&r<e&&e<n)for(var o=i-1;o>=0;--o)t[o+e]=this[o+r];else Uint8Array.prototype.set.call(t,this.subarray(r,n),e);return i},s.prototype.fill=function(t,e,r,n){if("string"==typeof t){if("string"==typeof e?(n=e,e=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===t.length){var i,o=t.charCodeAt(0);("utf8"===n&&o<128||"latin1"===n)&&(t=o)}}else"number"==typeof t?t&=255:"boolean"==typeof t&&(t=Number(t));if(e<0||this.length<e||this.length<r)throw RangeError("Out of range index");if(r<=e)return this;if(e>>>=0,r=void 0===r?this.length:r>>>0,t||(t=0),"number"==typeof t)for(i=e;i<r;++i)this[i]=t;else{var a=s.isBuffer(t)?t:s.from(t,n),u=a.length;
1if(0===u)throw TypeError('The value "'+t+'" is invalid for argument "value"');for(i=0;i<r-e;++i)this[i+e]=a[i%u]}return this};var A=/[^+/0-9A-Za-z-_]/g;function k(t,e){e=e||1/0;for(var r,n=t.length,i=null,o=[],a=0;a<n;++a){if((r=t.charCodeAt(a))>55295&&r<57344){if(!i){if(r>56319||a+1===n){(e-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(e-=3)>-1&&o.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((e-=1)<0)break;o.push(r)}else if(r<2048){if((e-=2)<0)break;o.push(r>>6|192,63&r|128)}else if(r<65536){if((e-=3)<0)break;o.push(r>>12|224,r>>6&63|128,63&r|128)}else if(r<1114112){if((e-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}else throw Error("Invalid code point")}return o}function C(t){for(var e=[],r=0;r<t.length;++r)e.push(255&t.charCodeAt(r));return e}function S(t){return n.toByteArray(function(t){if((t=(t=t.split("=")[0]).trim().replace(A,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function x(t,e,r,n){for(var i=0;i<n&&!(i+r>=e.length)&&!(i>=t.length);++i)e[i+r]=t[i];return i}function B(t,e){return t instanceof e||null!=t&&null!=t.constructor&&null!=t.constructor.name&&t.constructor.name===e.name}var I=function(){for(var t="0123456789abcdef",e=Array(256),r=0;r<16;++r)for(var n=16*r,i=0;i<16;++i)e[n+i]=t[r]+t[i];return e}()},783:function(t,e){e.read=function(t,e,r,n,i){var o,a,s=8*i-n-1,u=(1<<s)-1,c=u>>1,l=-7,f=r?i-1:0,h=r?-1:1,d=t[e+f];for(f+=h,o=d&(1<<-l)-1,d>>=-l,l+=s;l>0;o=256*o+t[e+f],f+=h,l-=8);for(a=o&(1<<-l)-1,o>>=-l,l+=n;l>0;a=256*a+t[e+f],f+=h,l-=8);if(0===o)o=1-c;else{if(o===u)return a?NaN:1/0*(d?-1:1);a+=Math.pow(2,n),o-=c}return(d?-1:1)*a*Math.pow(2,o-n)},e.write=function(t,e,r,n,i,o){var a,s,u,c=8*o-i-1,l=(1<<c)-1,f=l>>1,h=5960464477539062e-23*(23===i),d=n?0:o-1,p=n?1:-1,y=+(e<0||0===e&&1/e<0);for(isNaN(e=Math.abs(e))||e===1/0?(s=+!!isNaN(e),a=l):(a=Math.floor(Math.log(e)/Math.LN2),e*(u=Math.pow(2,-a))<1&&(a--,u*=2),a+f>=1?e+=h/u:e+=h*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[r+d]=255&s,d+=p,s/=256,i-=8);for(a=a<<i|s,c+=i;c>0;t[r+d]=255&a,d+=p,a/=256,c-=8);t[r+d-p]|=128*y}}},r={};function n(e){var i=r[e];if(void 0!==i)return i.exports;var o=r[e]={exports:{}},a=!0;try{t[e](o,o.exports,n),a=!1}finally{a&&delete r[e]}return o.exports}n.ab="/ROOT/node_modules/next/dist/compiled/buffer/",e.exports=n(72)}()},565410,t=>{"use strict";t.s(["ANALYTICS_EVENTS",()=>r,"DEPRECATED_ANALYTICS_EVENTS",()=>i,"PAGE_VIEW_EVENT",()=>e,"analyticsEventMapping",()=>a,"isAnalyticsEvent",()=>n,"isDeprecatedAnalyticsEvent",()=>o]);let e="docs.content.view",r=[e,"docs.expandable.open","docs.expandable.close","docs.accordion.open","docs.accordion.close","docs.navitem.click","docs.navitem.cta_click","docs.version.change","docs.search.open","docs.search.query","docs.search.close","docs.api_playground.request","docs.search.result_click","docs.code_block.copy","docs.code_block.ask_ai","docs.feedback.thumbs_up","docs.feedback.thumbs_down","docs.footer.powered_by_mintlify_click","docs.assistant.enter","docs.assistant.completed","docs.assistant.shared","docs.assistant.source_click","docs.assistant.web_search_click","docs.assistant.thumbs_up","docs.assistant.thumbs_down","docs.assistant.suggestion_click","docs.assistant.question_option_click","docs.assistant.starter_question_clicked","docs.assistant.errored","docs.assistant.maximize_click","docs.assistant.minimize_click","docs.assistant.copy_response","docs.assistant.ask_ai_on_text_selection","docs.assistant.spam_detected","docs.assistant.attachment_upload","docs.assistant.attachment_rejected","docs.assistant.attachment_limit_exceeded","docs.assistant.contact_form_shown","docs.assistant.contact_support_click","docs.context_menu.copy_page","docs.context_menu.copy_mcp_link","docs.context_menu.ai_provider_click","docs.context_menu.install_mcp_server","docs.context_menu.copy_add_mcp_command","docs.context_menu.download_api_spec","docs.autopilot.suggestion.created","docs.autopilot.suggestion.no_suggestion","mcp.tool_call.search","docs.content.md.view","docs.banner.atlas_signup_click","docs.banner.atlas_claim_click","docs.banner.atlas_share_click","docs.atlas_content.view","docs.search.comparison","preview_widget.file_list.viewed","preview_widget.file.opened","preview_widget.file.editor_opened"];function n(t){return r.includes(t)}let i=["expandable_open","expandable_close","accordion_open","accordion_close","header_nav_item_click","cta_click","
1scroll_to_bottom","search_close","api_playground_call","search_result_click","chat_enter","chat_followup","chat_completed","code_block_copy","chat_shared","thumb_vote","powered_by_mintlify_click","ai_chat_citation_click","ai_chat_feedback_positive_click","ai_chat_feedback_negative_click","ask_ai_code_block","assistant.spam_detected"];function o(t){return i.includes(t)}let a={"docs.expandable.open":"expandable_open","docs.expandable.close":"expandable_close","docs.accordion.open":"accordion_open","docs.accordion.close":"accordion_close","docs.navitem.click":"header_nav_item_click","docs.navitem.cta_click":"cta_click","docs.search.close":"search_close","docs.api_playground.request":"api_playground_call","docs.search.result_click":"search_result_click","docs.code_block.copy":"code_block_copy","docs.code_block.ask_ai":"ask_ai_code_block","docs.footer.powered_by_mintlify_click":"powered_by_mintlify_click","docs.assistant.enter":"chat_enter","docs.assistant.completed":"chat_completed","docs.assistant.shared":"chat_shared","docs.assistant.source_click":"ai_chat_citation_click","docs.assistant.thumbs_up":"ai_chat_feedback_positive_click","docs.assistant.thumbs_down":"ai_chat_feedback_negative_click","docs.assistant.spam_detected":"assistant.spam_detected"}},447939,t=>{"use strict";t.s(["AnalyticsProvider",()=>n,"default",()=>i]);var e=t.i(843476);let r=(0,t.i(271645).createContext)({});function n({value:t,children:n}){return(0,e.jsx)(r.Provider,{value:t??{},children:n})}r.displayName="AnalyticsContext";let i=r},637054,t=>{"use strict";t.s(["isCli",()=>r]);var e=t.i(206558);let r=()=>"cli"===e.NEXT_PUBLIC.ENV},346944,t=>{"use strict";t.s(["useShallow",()=>n],346944);var e=t.i(271645);let r=(t,e)=>{let r=t instanceof Map?t:new Map(t.entries()),n=e instanceof Map?e:new Map(e.entries());if(r.size!==n.size)return!1;for(let[t,e]of r)if(!Object.is(e,n.get(t)))return!1;return!0};function n(t){let n=e.default.useRef(void 0);return e=>{let i=t(e);return!function(t,e){if(Object.is(t,e))return!0;if("object"!=typeof t||null===t||"object"!=typeof e||null===e||Object.getPrototypeOf(t)!==Object.getPrototypeOf(e))return!1;if(Symbol.iterator in t&&Symbol.iterator in e){if("entries"in t&&"entries"in e)return r(t,e);let n=t[Symbol.iterator](),i=e[Symbol.iterator](),o=n.next(),a=i.next();for(;!o.done&&!a.done;){if(!Object.is(o.value,a.value))return!1;o=n.next(),a=i.next()}return!!o.done&&!!a.done}return r({entries:()=>Object.entries(t)},{entries:()=>Object.entries(e)})}(n.current,i)?n.current=i:n.current}}},865420,t=>{"use strict";t.s(["useAnalyticsContext",()=>i]);var e=t.i(447939),r=t.i(565410),n=t.i(271645);let i=t=>{let{analyticsMediator:i}=(0,n.useContext)(e.default);return(0,n.useMemo)(()=>{if(!i)return t=>Promise.resolve();let e=i.createEventListener(t),n=function(t){if(r.analyticsEventMapping.hasOwnProperty(t))return r.analyticsEventMapping[t]}(t);if(n){let t=i.createEventListener(n);return r=>Promise.all([e(r),t(r)])}return e},[i,t])}},955759,(t,e,r)=>{"use strict";var n=t.r(271645),i="function"==typeof Object.is?Object.is:function(t,e){return t===e&&(0!==t||1/t==1/e)||t!=t&&e!=e},o=n.useState,a=n.useEffect,s=n.useLayoutEffect,u=n.useDebugValue;function c(t){var e=t.getSnapshot;t=t.value;try{var r=e();return!i(t,r)}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 r=e(),n=o({inst:{value:r,getSnapshot:e}}),i=n[0].inst,l=n[1];return s(function(){i.value=r,i.getSnapshot=e,c(i)&&l({inst:i})},[t,r,e]),a(function(){return c(i)&&l({inst:i}),t(function(){c(i)&&l({inst:i})})},[t]),u(r),r};r.useSyncExternalStore=void 0!==n.useSyncExternalStore?n.useSyncExternalStore:l},82574,(t,e,r)=>{"use strict";e.exports=t.r(955759)},846726,920028,283599,t=>{"use strict";let e;t.s(["getAiContactUrl",()=>a,"getAiMessageUrl",()=>o,"getAiThumbsFeedbackUrl",()=>s],846726);var r=t.i(206558),n=t.i(637054);let i="/api/assistant";function o({subdomain:t,isAuthenticated:e,v2:o=!1}){if((0,n.isCli)())return`${r.NEXT_PUBLIC.BASE_PATH}/_mintlify/api-public/assistant/${t}/message`;let a=o?"v2/message":"message";if(r.NEXT_PUBLIC.AUTH_ENABLED)if(e)return`${r.NEXT_PUBLIC.BASE_PATH}/_mintlify/api/assistant/${a}`;else return`${r.NEXT_PUBLIC.BASE_PATH}/_mintlify/api-public/assistant/${t}/message`;let s=`${i}/${t}/${a}`;return`${r.NEXT_PUBLIC.AI_MESSAGE_HOST}${s}`}function a({subdomain:t,isAuthenticated:e}){if((0,n.isCli)())return`${r.NEXT_PUBLIC.BASE_PATH}/_mintlify/api-public/assistant/${t}/contact`;if(r.NEXT_PUBLIC.AUTH_ENABLED)if(e)return`${r.NEXT_PUBLIC.BASE_PATH}/_mintlify/api/assistant/contact`;else return`${r.NEXT_PUBLIC.BASE_PATH}/_mintlify/api-public/assistant/${t}/contact`;let o=`${i}/${t}/contact`;return`${r.NEXT_PUBLIC.AI_MESSAGE_HOST}${o}`}function s({subdomain:t,isAuthenticated:e,messageId:n,feedback:o}
1){if(r.NEXT_PUBLIC.AUTH_ENABLED)if(e)return`${r.NEXT_PUBLIC.BASE_PATH}/_mintlify/api/assistant/message/${n}/thumbs-feedback?feedback=${o}`;else return`${r.NEXT_PUBLIC.BASE_PATH}/_mintlify/api-public/assistant/${t}/message/${n}/thumbs-feedback?feedback=${o}`;let a=`${i}/${t}/message/${n}/thumbs-feedback?feedback=${o}`;return`${r.NEXT_PUBLIC.AI_MESSAGE_HOST}${a}`}t.s(["getFilterClause",()=>u],920028);let u=({userGroups:t,version:e,language:r})=>{let n={};return r&&(n.language=r),t&&(n.groups=t),e&&(n.version=e),Object.keys(n).length>0?{filter:n}:{}};t.s(["default",()=>te],283599);var c=t.i(271645),l=t.i(82574),f=Object.prototype.hasOwnProperty;let h=new WeakMap,d=()=>{},p=d(),y=Object,g=t=>t===p,m=(t,e)=>({...t,...e}),v={},_={},b="undefined",w=typeof window!=b,E=typeof document!=b,T=(t,e)=>{let r=h.get(t);return[()=>!g(e)&&t.get(e)||v,n=>{if(!g(e)){let i=t.get(e);e in _||(_[e]=i),r[5](e,m(i,n),i||v)}},r[6],()=>!g(e)&&e in _?_[e]:!g(e)&&t.get(e)||v]},A=!0,[k,C]=w&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[d,d],S={initFocus:t=>(E&&document.addEventListener("visibilitychange",t),k("focus",t),()=>{E&&document.removeEventListener("visibilitychange",t),C("focus",t)}),initReconnect:t=>{let e=()=>{A=!0,t()},r=()=>{A=!1};return k("online",e),k("offline",r),()=>{C("online",e),C("offline",r)}}},x=!c.default.useId,B=!w||"Deno"in globalThis,I=B?c.useEffect:c.useLayoutEffect,O="undefined"!=typeof navigator&&navigator.connection,R=!B&&O&&(["slow-2g","2g"].includes(O.effectiveType)||O.saveData),U=new WeakMap,L=(t,e)=>y.prototype.toString.call(t)===`[object ${e}]`,P=0,M=t=>{let e,r,n=typeof t,i=L(t,"Date"),o=L(t,"RegExp"),a=L(t,"Object");if(y(t)!==t||i||o)e=i?t.toJSON():"symbol"==n?t.toString():"string"==n?JSON.stringify(t):""+t;else{if(e=U.get(t))return e;if(e=++P+"~",U.set(t,e),Array.isArray(t)){for(r=0,e="@";r<t.length;r++)e+=M(t[r])+",";U.set(t,e)}if(a){e="#";let n=y.keys(t).sort();for(;!g(r=n.pop());)g(t[r])||(e+=r+":"+M(t[r])+",");U.set(t,e)}}return e},N=t=>{if("function"==typeof t)try{t=t()}catch(e){t=""}let e=t;return[t="string"==typeof t?t:(Array.isArray(t)?t.length:t)?M(t):"",e]},j=0,$=()=>++j;var V={ERROR_REVALIDATE_EVENT:3,FOCUS_EVENT:0,MUTATE_EVENT:2,RECONNECT_EVENT:1};async function D(...t){let[e,r,n,i]=t,o=m({populateCache:!0,throwOnError:!0},"boolean"==typeof i?{revalidate:i}:i||{}),a=o.populateCache,s=o.rollbackOnError,u=o.optimisticData,c=o.throwOnError;if("function"==typeof r){let t=[];for(let n of e.keys())!/^\$(inf|sub)\$/.test(n)&&r(e.get(n)._k)&&t.push(n);return Promise.all(t.map(l))}return l(r);async function l(r){let i,[l]=N(r);if(!l)return;let[f,d]=T(e,l),[y,m,v,_]=h.get(e),b=()=>{let t=y[l];return("function"==typeof o.revalidate?o.revalidate(f().data,r):!1!==o.revalidate)&&(delete v[l],delete _[l],t&&t[0])?t[0](2).then(()=>f().data):f().data};if(t.length<3)return b();let w=n,E=$();m[l]=[E,0];let A=!g(u),k=f(),C=k.data,S=k._c,x=g(S)?C:S;if(A&&d({data:u="function"==typeof u?u(x,C):u,_c:x}),"function"==typeof w)try{w=w(x)}catch(t){i=t}if(w&&"function"==typeof w.then){let t;if(w=await w.catch(t=>{i=t}),E!==m[l][0]){if(i)throw i;return w}i&&A&&(t=i,"function"==typeof s?s(t):!1!==s)&&(a=!0,d({data:x,_c:p}))}if(a&&!i&&("function"==typeof a?d({data:a(w,x),error:p,_c:p}):d({data:w,error:p,_c:p})),m[l][1]=$(),Promise.resolve(b()).then(()=>{d({_c:p})}),i){if(c)throw i;return}return w}}let F=(t,e)=>{for(let r in t)t[r][0]&&t[r][0](e)},z=(t,e)=>{if(!h.has(t)){let r=m(S,e),n={},i=D.bind(p,t),o=d,a={},s=(t,e)=>{let r=a[t]||[];return a[t]=r,r.push(e),()=>r.splice(r.indexOf(e),1)},u=(e,r,n)=>{t.set(e,r);let i=a[e];if(i)for(let t of i)t(r,n)},c=()=>{if(!h.has(t)&&(h.set(t,[n,{},{},{},i,u,s]),!B)){let e=r.initFocus(setTimeout.bind(p,F.bind(p,n,0))),i=r.initReconnect(setTimeout.bind(p,F.bind(p,n,1)));o=()=>{e&&e(),i&&i(),h.delete(t)}}};return c(),[t,i,c,o]}return[t,h.get(t)[4]]},[X,H]=z(new Map),W=m({onLoadingSlow:d,onSuccess:d,onError:d,onErrorRetry:(t,e,r,n,i)=>{let o=r.errorRetryCount,a=i.retryCount,s=~~((Math.random()+.5)*(1<<(a<8?a:8)))*r.errorRetryInterval;(g(o)||!(a>o))&&setTimeout(n,s,i)},onDiscarded:d,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:R?1e4:5e3,focusThrottleInterval:5e3,dedupingInterval:2e3,loadingTimeout:R?5e3:3e3,compare:function t(e,r){var n,i;if(e===r)return!0;
1if(e&&r&&(n=e.constructor)===r.constructor){if(n===Date)return e.getTime()===r.getTime();if(n===RegExp)return e.toString()===r.toString();if(n===Array){if((i=e.length)===r.length)for(;i--&&t(e[i],r[i]););return -1===i}if(!n||"object"==typeof e){for(n in i=0,e)if(f.call(e,n)&&++i&&!f.call(r,n)||!(n in r)||!t(e[n],r[n]))return!1;return Object.keys(r).length===i}}return e!=e&&r!=r},isPaused:()=>!1,cache:X,mutate:H,fallback:{}},{isOnline:()=>A,isVisible:()=>{let t=E&&document.visibilityState;return g(t)||"hidden"!==t}}),q=(t,e)=>{let r=m(t,e);if(e){let{use:n,fallback:i}=t,{use:o,fallback:a}=e;n&&o&&(r.use=n.concat(o)),i&&a&&(r.fallback=m(i,a))}return r},Y=(0,c.createContext)({}),K=w&&window.__SWR_DEVTOOLS_USE__,G=(K?window.__SWR_DEVTOOLS_USE__:[]).concat(t=>(e,r,n)=>{let i=r&&((...t)=>{let[n]=N(e),[,,,i]=h.get(X);if(n.startsWith("$inf$"))return r(...t);let o=i[n];return g(o)?r(...t):(delete i[n],o)});return t(e,i,n)});K&&(window.__SWR_DEVTOOLS_REACT__=c.default);let J=()=>{},Z=J();new WeakMap;let Q=c.default.use||(t=>{switch(t.status){case"pending":throw t;case"fulfilled":return t.value;case"rejected":throw t.reason;default:throw t.status="pending",t.then(e=>{t.status="fulfilled",t.value=e},e=>{t.status="rejected",t.reason=e}),t}}),tt={dedupe:!0};y.defineProperty(t=>{let{value:e}=t,r=(0,c.useContext)(Y),n="function"==typeof e,i=(0,c.useMemo)(()=>n?e(r):e,[n,r,e]),o=(0,c.useMemo)(()=>n?i:q(r,i),[n,r,i]),a=i&&i.provider,s=(0,c.useRef)(p);a&&!s.current&&(s.current=z(a(o.cache||X),i));let u=s.current;return u&&(o.cache=u[0],o.mutate=u[1]),I(()=>{if(u)return u[2]&&u[2](),u[3]},[]),(0,c.createElement)(Y.Provider,m(t,{value:o}))},"defaultValue",{value:W});let te=(e=(t,e,r)=>{let{cache:n,compare:i,suspense:o,fallbackData:a,revalidateOnMount:s,revalidateIfStale:u,refreshInterval:f,refreshWhenHidden:d,refreshWhenOffline:y,keepPreviousData:v}=r,[_,E,A,k]=h.get(n),[C,S]=N(t),O=(0,c.useRef)(!1),R=(0,c.useRef)(!1),U=(0,c.useRef)(C),L=(0,c.useRef)(e),P=(0,c.useRef)(r),M=()=>P.current.isVisible()&&P.current.isOnline(),[j,F,z,X]=T(n,C),H=(0,c.useRef)({}).current,W=g(a)?g(r.fallback)?p:r.fallback[C]:a,q=(t,e)=>{for(let r in H)if("data"===r){if(!i(t[r],e[r])&&(!g(t[r])||!i(ti,e[r])))return!1}else if(e[r]!==t[r])return!1;return!0},Y=(0,c.useMemo)(()=>{let t=!!C&&!!e&&(g(s)?!P.current.isPaused()&&!o&&!1!==u:s),r=e=>{let r=m(e);return(delete r._k,t)?{isValidating:!0,isLoading:!0,...r}:r},n=j(),i=X(),a=r(n),c=n===i?a:r(i),l=a;return[()=>{let t=r(j());return q(t,l)?(l.data=t.data,l.isLoading=t.isLoading,l.isValidating=t.isValidating,l.error=t.error,l):(l=t,t)},()=>c]},[n,C]),K=(0,l.useSyncExternalStore)((0,c.useCallback)(t=>z(C,(e,r)=>{q(r,e)||t()}),[n,C]),Y[0],Y[1]),G=!O.current,J=_[C]&&_[C].length>0,Z=K.data,te=g(Z)?W&&"function"==typeof W.then?Q(W):W:Z,tr=K.error,tn=(0,c.useRef)(te),ti=v?g(Z)?tn.current:Z:te,to=(!J||!!g(tr))&&(G&&!g(s)?s:!P.current.isPaused()&&(o?!g(te)&&u:g(te)||u)),ta=!!(C&&e&&G&&to),ts=g(K.isValidating)?ta:K.isValidating,tu=g(K.isLoading)?ta:K.isLoading,tc=(0,c.useCallback)(async t=>{let e,n,o=L.current;if(!C||!o||R.current||P.current.isPaused())return!1;let a=!0,s=t||{},u=!A[C]||!s.dedupe,c=()=>x?!R.current&&C===U.current&&O.current:C===U.current,l={isValidating:!1,isLoading:!1},f=()=>{F(l)},h=()=>{let t=A[C];t&&t[1]===n&&delete A[C]},d={isValidating:!0};g(j().data)&&(d.isLoading=!0);try{if(u&&(F(d),r.loadingTimeout&&g(j().data)&&setTimeout(()=>{a&&c()&&P.current.onLoadingSlow(C,r)},r.loadingTimeout),A[C]=[o(S),$()]),[e,n]=A[C],e=await e,u&&setTimeout(h,r.dedupingInterval),!A[C]||A[C][1]!==n)return u&&c()&&P.current.onDiscarded(C),!1;l.error=p;let t=E[C];if(!g(t)&&(n<=t[0]||n<=t[1]||0===t[1]))return f(),u&&c()&&P.current.onDiscarded(C),!1;let s=j().data;l.data=i(s,e)?s:e,u&&c()&&P.current.onSuccess(e,C,r)}catch(r){h();let t=P.current,{shouldRetryOnError:e}=t;!t.isPaused()&&(l.error=r,u&&c())&&(t.onError(r,C,t),(!0===e||"function"==typeof e&&e(r))&&(!P.current.revalidateOnFocus||!P.current.revalidateOnReconnect||M())&&t.onErrorRetry(r,C,t,t=>{let e=_[C];e&&e[0]&&e[0](V.ERROR_REVALIDATE_EVENT,t)},{retryCount:(s.retryCount||0)+1,dedupe:!0}))}return a=!1,f(),!0}
1,[C,n]),tl=(0,c.useCallback)((...t)=>D(n,U.current,...t),[]);if(I(()=>{L.current=e,P.current=r,g(Z)||(tn.current=Z)}),I(()=>{if(!C)return;let t=tc.bind(p,tt),e=0,r=((t,e,r)=>{let n=e[t]||(e[t]=[]);return n.push(r),()=>{let t=n.indexOf(r);t>=0&&(n[t]=n[n.length-1],n.pop())}})(C,_,(r,n={})=>{if(r==V.FOCUS_EVENT){let r=Date.now();P.current.revalidateOnFocus&&r>e&&M()&&(e=r+P.current.focusThrottleInterval,t())}else if(r==V.RECONNECT_EVENT)P.current.revalidateOnReconnect&&M()&&t();else if(r==V.MUTATE_EVENT)return tc();else if(r==V.ERROR_REVALIDATE_EVENT)return tc(n)});return R.current=!1,U.current=C,O.current=!0,F({_k:S}),to&&(g(te)||B?t():(t=>w&&typeof window.requestAnimationFrame!=b?window.requestAnimationFrame(t):setTimeout(t,1))(t)),()=>{R.current=!0,r()}},[C]),I(()=>{let t;function e(){let e="function"==typeof f?f(j().data):f;e&&-1!==t&&(t=setTimeout(r,e))}function r(){!j().error&&(d||P.current.isVisible())&&(y||P.current.isOnline())?tc(tt).then(e):e()}return e(),()=>{t&&(clearTimeout(t),t=-1)}},[f,d,y,C]),(0,c.useDebugValue)(ti),o&&g(te)&&C){if(!x&&B)throw Error("Fallback data is required when using Suspense in SSR.");L.current=e,P.current=r,R.current=!1;let t=k[C];if(g(t)||Q(tl(t)),g(tr)){let t=tc(tt);g(ti)||(t.status="fulfilled",t.value=!0),Q(t)}else throw tr}return{mutate:tl,get data(){return H.data=!0,ti},get error(){return H.error=!0,tr},get isValidating(){return H.isValidating=!0,ts},get isLoading(){return H.isLoading=!0,tu}}},function(...t){let r=m(W,(0,c.useContext)(Y)),[n,i,o]="function"==typeof t[1]?[t[0],t[1],t[2]||{}]:[t[0],null,(null===t[1]?t[2]:t[1])||{}],a=q(r,o),s=e,{use:u}=a,l=(u||[]).concat(G);for(let t=l.length;t--;)s=l[t](s);return s(n,i||a.fetcher||null,a)})},561866,(t,e,r)=>{e.exports=function(t,e){let r;if("function"!=typeof t)throw TypeError(`Expected the first argument to be a \`function\`, got \`${typeof t}\`.`);let n=0;return function(...i){clearTimeout(r);let o=Date.now(),a=e-(o-n);a<=0?(n=o,t.apply(this,i)):r=setTimeout(()=>{n=Date.now(),t.apply(this,i)},a)}}},604780,t=>{"use strict";t.s(["CaptchaProvider",()=>g,"useCaptcha",()=>m],604780);var e=t.i(843476),r=t.i(271645),n=t.i(206558),i=t.i(50270);let o=i.z.enum(["turnstile","hcaptcha"]),a=i.z.object({p:o.nullable().optional(),sk:i.z.string().nullable().optional(),exp:i.z.number().optional()});function s(t){try{let e=t.split(".");if(3!==e.length||!e[1])return null;let r=e[1].replace(/-/g,"+").replace(/_/g,"/"),n=JSON.parse(atob(r));return a.parse(n)}catch{return null}}let u={turnstile:27e4,hcaptcha:1e5},c={turnstile:15e3},l=(0,r.createContext)({prepareForSend:()=>Promise.resolve({trustToken:null,captchaToken:null}),ensureCaptchaScriptLoaded:()=>{},resetWidget:()=>{},getTrustToken:()=>null,refetchConfig:()=>Promise.resolve()}),f=new Map,h=null;window.__hcaptchaOnLoad=()=>{h?.()};let d={turnstile:"https://challenges.cloudflare.com/turnstile/v0/api.js?render=explicit",hcaptcha:"https://js.hcaptcha.com/1/api.js?render=explicit&onload=__hcaptchaOnLoad"};function p(t){switch(t){case"turnstile":return window.turnstile;case"hcaptcha":return window.hcaptcha;default:return}}let y=null;function g({children:t,enabled:i}){let o=function(t){let[e,i]=(0,r.useState)({provider:null,siteKey:null}),o=(0,r.useRef)({provider:null,siteKey:null}),a=(0,r.useRef)(null),u=(0,r.useRef)(null),c=(0,r.useCallback)(async()=>{if(u.current)return u.current;let t=(async()=>{let t=new AbortController,e=setTimeout(()=>t.abort(),1e4);try{let e=await fetch(`${n.NEXT_PUBLIC.BASE_PATH}/_mintlify/assistant/siteconfig`,{signal:t.signal});if(!e.ok)return;let r=await e.text();if(!r)return;let u=s(r);if(!u)return;a.current=r;let c={provider:u.p??null,siteKey:u.sk??null};o.current=c,i(c)}catch{}finally{clearTimeout(e),u.current=null}})();return u.current=t,t},[]),l=(0,r.useCallback)(async()=>{(function(t){if(!t)return!0;let e=s(t);return!e?.exp||1e3*e.exp-Date.now()<12e4})(a.current)&&await c()},[c]);(0,r.useEffect)(()=>{t&&c()},[t,c]);let f=(0,r.useCallback)(()=>a.current,[]),h=(0,r.useCallback)(async()=>!!a.current||(u.current?await u.current:await c(),null!==a.current),[c]);return{...e,configRef:o,getTrustToken:f,refetchIfStale:l,refetch:c,waitForConfig:h}}(i),a=o.configRef,g=(0,r.useRef)(null),m=(0,r.useRef)(null),v=(0,r.useRef)(null),_=(0,r.useRef)(null),b=(0,r.useRef)(null),w=(0,r.useRef)(!1),E=(0,r.useCallback)(()=>
1{if(g.current&&m.current){try{p(m.current)?.remove(g.current)}catch{}g.current=null,m.current=null}},[]),T=(0,r.useCallback)(async()=>{let{provider:t,siteKey:e}=a.current;if(!t||!e)return!1;if(g.current&&m.current===t)return!0;if(_.current)return _.current;g.current&&E();let r=(async()=>{try{await function(t){let e=d[t],r=f.get(e);if(r)return r;let n=new Promise((r,n)=>{if("turnstile"===t&&window.turnstile||"hcaptcha"===t&&window.hcaptcha)return void r();let i=setTimeout(()=>n(Error(`captcha script load timed out for ${t}`)),15e3),o=()=>{clearTimeout(i),r()};"hcaptcha"===t&&(h=o);let a=document.createElement("script");a.src=e,a.async=!0,"turnstile"===t&&(a.onload=o),a.onerror=()=>{var e;return e=Error(`failed to load captcha script for ${t}`),void(clearTimeout(i),n(e))},document.head.appendChild(a)});return n.catch(()=>f.delete(e)),f.set(e,n),n}(t)}catch{return!1}let r=p(t);if(!r)return!1;let n=(y||((y=document.createElement("div")).id="__captcha_container",y.style.position="absolute",y.style.left="-9999px",y.style.top="-9999px",y.style.width="0",y.style.height="0",y.style.overflow="hidden",document.body.appendChild(y)),y);n.innerHTML="";let i={sitekey:e,size:"invisible"};"turnstile"===t&&(i.execution="render");try{g.current=r.render(n,i)}catch{return!1}return m.current=t,!!g.current})();return _.current=r,r.finally(()=>{_.current=null}),r},[a,E]),A=(0,r.useCallback)(()=>{if(!v.current||!m.current)return!0;let t=u[m.current];return Date.now()-v.current.solvedAt>t},[]),k=(0,r.useCallback)(()=>{if(g.current&&m.current){try{p(m.current)?.reset(g.current)}catch{}v.current=null}},[]),C=(0,r.useCallback)(async()=>{let{provider:t}=a.current,e=g.current;if(!t||!e)return null;if(v.current&&!A())return v.current.token;if(b.current)return b.current;let r=(async()=>{let r=null;if("turnstile"===t){var n,i;r=await (n=()=>window.turnstile?.getResponse(e),i=c.turnstile,new Promise(t=>{let e=Date.now()+i,r=()=>{let i=n();return i?void t(i):Date.now()>=e?void t(null):void setTimeout(r,200)};r()}))}else try{let t=await window.hcaptcha?.execute(e,{async:!0});r=t?.response??null}catch{r=null}return r&&(v.current={token:r,solvedAt:Date.now()}),r})();return b.current=r,r.finally(()=>{b.current=null}),r},[a,A]),S=(0,r.useCallback)(async()=>{await o.refetchIfStale(),await o.waitForConfig();let t=o.getTrustToken();if(!t||!a.current.provider)return{trustToken:t,captchaToken:null};if(A()&&k(),!await T())return{trustToken:t,captchaToken:null,captchaError:"widget_render_failed"};let e=await C();return e?{trustToken:t,captchaToken:e}:(k(),{trustToken:t,captchaToken:null,captchaError:"captcha_solve_failed"})},[o,a,T,C,A,k]),{refetchIfStale:x}=o,B=(0,r.useCallback)(()=>{w.current||(w.current=!0,(async()=>{try{await x(),await T()}finally{w.current=!1}})())},[x,T]),I=(0,r.useMemo)(()=>({prepareForSend:S,ensureCaptchaScriptLoaded:B,resetWidget:k,getTrustToken:o.getTrustToken,refetchConfig:o.refetch}),[S,B,k,o.getTrustToken,o.refetch]);return(0,r.useEffect)(()=>()=>{E();let t=document.getElementById("__captcha_container");t?.remove(),y=null},[E]),(0,e.jsx)(l.Provider,{value:I,children:t})}function m(){return(0,r.useContext)(l)}},279183,t=>{"use strict";t.s(["default",()=>e]);let e=(0,t.i(768834).create)((t,e)=>({status:"ready",messages:[],threadId:void 0,threadKey:void 0,conversationVersion:void 0,messageIdToUlid:{},messageIdToComplete:{},setMessageComplete:(e,r)=>t(t=>({messageIdToComplete:{...t.messageIdToComplete,[e]:r}})),messageIdToContext:{},payloadInput:{},pendingContext:void 0,activeStop:void 0,featureUnavailable:{unavailable:!1,type:null,message:""},setFeatureUnavailable:e=>t({featureUnavailable:e}),setThreadId:e=>t({threadId:e}),setThreadKey:e=>t({threadKey:e}),setMessageUlid:(e,r)=>t(t=>({messageIdToUlid:{...t.messageIdToUlid,[e]:r}})),getMessageUlid:t=>e().messageIdToUlid[t],setPayloadInput:e=>t({payloadInput:e}),setPendingContext:e=>t({pendingContext:e}),setMessageContext:(e,r)=>t(t=>({messageIdToContext:{...t.messageIdToContext,[e]:r}})),getMessageContext:t=>e().messageIdToContext[t],pendingAttachments:[],addPendingAttachment:e=>t(t=>({pendingAttachments:[...t.pendingAttachments,e]})),removePendingAttachment:e=>t(t=>({pendingAttachments:t.pendingAttachments.filter(t=>t.id!==e)})),clearPendingAttachments:()=>t({pendingAttachments:[]}),stagedAttachments:void 0,setStagedAttachments:e=>t({stagedAttachments:e}),messageIdToAttachments:{},setMessageAttachments:(e,r)=>t(t=>({messageIdToAttachments:{...t.messageIdToAttachments,[e]:r}})),getMessageAttachments:t=>e().messageIdToAttachments[t],toolCallIdToSelectedOption:{},setSelectedOption:(e,r)=>t(t=>({toolCallIdToSelectedOption:{...t.toolCallIdToSelectedOption,[e]:r}}))}))},135799,t=>{"use strict";t.s(["default",()=>e]);let e=(0,t.i(768834).create)(t=>({messages:[],setMessages:e=>t({messages:e})}))},12358,t=>{"use strict";t.s(["readToolPart",()=>r]);let e=t=>t.startsWith("output-");function r(t){return"dynamic-tool"===t.type?{toolName:t.toolName,toolCallId:t.toolCallId,isResult:"output-available"===t.state,isTerminal:e(t.state),input:t.input,output:"output"in t?t.output:void 0}:t.type.startsWith("tool-")?{toolName:t.type.split("-").slice(1).join("-"),toolCallId:t.toolCallId,isResult:"output-available"===t.state,isTerminal:e(t.state),input:t.input,output:"output"in t?t.output:void 0}:void 0}}]);
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.