1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[888],{9742:function(e,t){"use strict";t.byteLength=function(e){var t=u(e),r=t[0],n=t[1];return(r+n)*3/4-n},t.toByteArray=function(e){var t,r,i=u(e),s=i[0],a=i[1],c=new o((s+a)*3/4-a),l=0,f=a>0?s-4:s;for(r=0;r<f;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)],c[l++]=t>>16&255,c[l++]=t>>8&255,c[l++]=255&t;return 2===a&&(t=n[e.charCodeAt(r)]<<2|n[e.charCodeAt(r+1)]>>4,c[l++]=255&t),1===a&&(t=n[e.charCodeAt(r)]<<10|n[e.charCodeAt(r+1)]<<4|n[e.charCodeAt(r+2)]>>2,c[l++]=t>>8&255,c[l++]=255&t),c},t.fromByteArray=function(e){for(var t,n=e.length,o=n%3,i=[],s=0,a=n-o;s<a;s+=16383)i.push(function(e,t,n){for(var o,i=[],s=t;s<n;s+=3)i.push(r[(o=(e[s]<<16&16711680)+(e[s+1]<<8&65280)+(255&e[s+2]))>>18&63]+r[o>>12&63]+r[o>>6&63]+r[63&o]);return i.join("")}(e,s,s+16383>a?a:s+16383));return 1===o?i.push(r[(t=e[n-1])>>2]+r[t<<4&63]+"=="):2===o&&i.push(r[(t=(e[n-2]<<8)+e[n-1])>>10]+r[t>>4&63]+r[t<<2&63]+"="),i.join("")};for(var r=[],n=[],o="undefined"!=typeof Uint8Array?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,a=i.length;s<a;++s)r[s]=i[s],n[i.charCodeAt(s)]=s;function u(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["-".charCodeAt(0)]=62,n["_".charCodeAt(0)]=63},8764:function(e,t,r){"use strict";/*! 2 * The buffer module from node.js, for the browser. 3 * 4 * @author Feross Aboukhadijeh <https://feross.org> 5 * @license MIT 6 */var n=r(9742),o=r(645),i="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;function s(e){if(e>2147483647)throw RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,a.prototype),t}function a(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 l(e)}return u(e,t,r)}function u(e,t,r){if("string"==typeof e)return function(e,t){if(("string"!=typeof t||""===t)&&(t="utf8"),!a.isEncoding(t))throw TypeError("Unknown encoding: "+t);var r=0|d(e,t),n=s(r),o=n.write(e,t);return o!==r&&(n=n.slice(0,o)),n}(e,t);if(ArrayBuffer.isView(e))return function(e){if(j(e,Uint8Array)){var t=new Uint8Array(e);return h(t.buffer,t.byteOffset,t.byteLength)}return f(e)}(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(j(e,ArrayBuffer)||e&&j(e.buffer,ArrayBuffer)||"undefined"!=typeof SharedArrayBuffer&&(j(e,SharedArrayBuffer)||e&&j(e.buffer,SharedArrayBuffer)))return h(e,t,r);if("number"==typeof e)throw TypeError('The "value" argument must not be of type number. Received type number');var n=e.valueOf&&e.valueOf();if(null!=n&&n!==e)return a.from(n,t,r);var o=function(e){if(a.isBuffer(e)){var t,r=0|p(e.length),n=s(r);return 0===n.length||e.copy(n,0,0,r),n}return void 0!==e.length?"number"!=typeof e.length||(t=e.length)!=t?s(0):f(e):"Buffer"===e.type&&Array.isArray(e.data)?f(e.data):void 0}(e);if(o)return o;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return a.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 c(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 l(e){return c(e),s(e<0?0:0|p(e))}function f(e){for(var t=e.length<0?0:0|p(e.length),r=s(t),n=0;n<t;n+=1)r[n]=255&e[n];return r}function h(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),a.prototype),n}function p(e){if(e>=2147483647)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|e}function d(e,t){if(a.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||j(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 o=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return x(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return T(e).length;default:if(o)return n?-1:x(e).length;t=(""+t).toLowerCase(),o=!0}}function y(e,t,r){var o,i,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 o="",i=t;i<r;++i)o+=A[e[i]];return o}(this,t,r);case"utf8":case"utf-8":return b(this,t,r);case"ascii":return function(e,t,r){var n="";r=Math.min(e.length,r);for(var o=t;o<r;++o)n+=String.fromCharCode(127&e[o]);return n}(this,t,r);case"latin1":case"binary":return function(e,t,r){var n="";r=Math.min(e.length,r);for(var o=t;o<r;++o)n+=String.fromCharCode(e[o]);return n}(this,t,r);case"base64":return o=t,i=r,0===o&&i===this.length?n.fromByteArray(this):n.fromByteArray(this.slice(o,i));case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return function(e,t,r){for(var n=e.slice(t,r),o="",i=0;i<n.length-1;i+=2)o+=String.fromCharCode(n[i]+256*n[i+1]);return o}(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 m(e,t,r,n,o){var i;if(0===e.length)return -1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),(i=r=+r)!=i&&(r=o?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(o)return -1;r=e.length-1}
vendor: 14,466 bytes, line 6
6else if(r<0){if(!o)return -1;r=0}if("string"==typeof t&&(t=a.from(t,n)),a.isBuffer(t))return 0===t.length?-1:v(e,t,r,n,o);if("number"==typeof t)return(t&=255,"function"==typeof Uint8Array.prototype.indexOf)?o?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):v(e,[t],r,n,o);throw TypeError("val must be string, number or Buffer")}function v(e,t,r,n,o){var i,s=1,a=e.length,u=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;s=2,a/=2,u/=2,r/=2}function c(e,t){return 1===s?e[t]:e.readUInt16BE(t*s)}if(o){var l=-1;for(i=r;i<a;i++)if(c(e,i)===c(t,-1===l?0:i-l)){if(-1===l&&(l=i),i-l+1===u)return l*s}else -1!==l&&(i-=i-l),l=-1}else for(r+u>a&&(r=a-u),i=r;i>=0;i--){for(var f=!0,h=0;h<u;h++)if(c(e,i+h)!==c(t,h)){f=!1;break}if(f)return i}return -1}function b(e,t,r){r=Math.min(e.length,r);for(var n=[],o=t;o<r;){var i,s,a,u,c=e[o],l=null,f=c>239?4:c>223?3:c>191?2:1;if(o+f<=r)switch(f){case 1:c<128&&(l=c);break;case 2:(192&(i=e[o+1]))==128&&(u=(31&c)<<6|63&i)>127&&(l=u);break;case 3:i=e[o+1],s=e[o+2],(192&i)==128&&(192&s)==128&&(u=(15&c)<<12|(63&i)<<6|63&s)>2047&&(u<55296||u>57343)&&(l=u);break;case 4:i=e[o+1],s=e[o+2],a=e[o+3],(192&i)==128&&(192&s)==128&&(192&a)==128&&(u=(15&c)<<18|(63&i)<<12|(63&s)<<6|63&a)>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),o+=f}return function(e){var t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);for(var r="",n=0;n<t;)r+=String.fromCharCode.apply(String,e.slice(n,n+=4096));return r}(n)}function w(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 C(e,t,r,n,o,i){if(!a.isBuffer(e))throw TypeError('"buffer" argument must be a Buffer instance');if(t>o||t<i)throw RangeError('"value" argument is out of bounds');if(r+n>e.length)throw RangeError("Index out of range")}function _(e,t,r,n,o,i){if(r+n>e.length||r<0)throw RangeError("Index out of range")}function E(e,t,r,n,i){return t=+t,r>>>=0,i||_(e,t,r,4,34028234663852886e22,-34028234663852886e22),o.write(e,t,r,n,23,4),r+4}function S(e,t,r,n,i){return t=+t,r>>>=0,i||_(e,t,r,8,17976931348623157e292,-17976931348623157e292),o.write(e,t,r,n,52,8),r+8}t.lW=a,t.h2=50,a.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}}(),a.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(a.prototype,"parent",{enumerable:!0,get:function(){if(a.isBuffer(this))return this.buffer}}),Object.defineProperty(a.prototype,"offset",{enumerable:!0,get:function(){if(a.isBuffer(this))return this.byteOffset}}),a.poolSize=8192,a.from=function(e,t,r){return u(e,t,r)},Object.setPrototypeOf(a.prototype,Uint8Array.prototype),Object.setPrototypeOf(a,Uint8Array),a.alloc=function(e,t,r){return(c(e),e<=0)?s(e):void 0!==t?"string"==typeof r?s(e).fill(t,r):s(e).fill(t):s(e)},a.allocUnsafe=function(e){return l(e)},a.allocUnsafeSlow=function(e){return l(e)},a.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==a.prototype},a.compare=function(e,t){if(j(e,Uint8Array)&&(e=a.from(e,e.offset,e.byteLength)),j(t,Uint8Array)&&(t=a.from(t,t.offset,t.byteLength)),!a.isBuffer(e)||!a.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,o=0,i=Math.min(r,n);o<i;++o)if(e[o]!==t[o]){r=e[o],n=t[o];break}return r<n?-1:n<r?1:0},a.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}},a.concat=function(e,t){if(!Array.isArray(e))throw TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return a.alloc(0);if(void 0===t)for(r=0,t=0;r<e.length;++r)t+=e[r].length;var r,n=a.allocUnsafe(t),o=0;for(r=0;r<e.length;++r){var i=e[r];if(j(i,Uint8Array))o+i.length>n.length?a.from(i).copy(n,o):Uint8Array.prototype.set.call(n,i,o);else if(a.isBuffer(i))i.copy(n,o);else throw TypeError('"list" argument must be an Array of Buffers');o+=i.length}return n},a.byteLength=d,a.prototype._isBuffer=!0,a.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},a.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},a.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},a.prototype.toString=function(){var e=this.length;return 0===e?"":0==arguments.length?b(this,0,e):y.apply(this,arguments)},a.prototype.toLocaleString=a.prototype.toString,a.prototype.equals=function(e){if(!a.isBuffer(e))throw TypeError("Argument must be a Buffer");return this===e||0===a.compare(this,e)},a.prototype.inspect=function(){var e="",r=t.h2;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"},i&&(a.prototype[i]=a.prototype.inspect),a.prototype.compare=function(e,t,r,n,o){if(j(e,Uint8Array)&&(e=a.from(e,e.offset,e.byteLength)),!a.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===o&&(o=this.length),t<0||r>e.length||n<0||o>this.length)throw RangeError("out of range index");if(n>=o&&t>=r)return 0;if(n>=o)return -1;if(t>=r)return 1;if(t>>>=0,r>>>=0,n>>>=0,o>>>=0,this===e)return 0;for(var i=o-n,s=r-t,u=Math.min(i,s),c=this.slice(n,o),l=e.slice(t,r),f=0;f<u;++f)if(c[f]!==l[f]){i=c[f],s=l[f];break}return i<s?-1:s<i?1:0},a.prototype.includes=function(e,t,r){return -1!==this.indexOf(e,t,r)},a.prototype.indexOf=function(e,t,r){return m(this,e,t,r,!0)},a.prototype.lastIndexOf=function(e,t,r){return m(this,e,t,r,!1)},a.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 o,i,s,a,u,c,l,f,h=this.length-t;if((void 0===r||r>h)&&(r=h),e.length>0&&(r<0||t<0)||t>this.length)throw RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var p=!1;;)switch(n){case"hex":return function(e,t,r,n){r=Number(r)||0;var o=e.length-r;n?(n=Number(n))>o&&(n=o):n=o;var i=t.length;n>i/2&&(n=i/2);for(var s=0;s<n;++s){var a=parseInt(t.substr(2*s,2),16);if(a!=a)break;e[r+s]=a}return s}(this,e,t,r);case"utf8":case"utf-8":return o=t,i=r,k(x(e,this.length-o),this,o,i);case"ascii":case"latin1":case"binary":return s=t,a=r,k(function(e){for(var t=[],r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}(e),this,s,a);case"base64":return u=t,c=r,k(T(e),this,u,c);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return l=t,f=r,k(function(e,t){for(var r,n,o=[],i=0;i<e.length&&!((t-=2)<0);++i)n=(r=e.charCodeAt(i))>>8,o.push(r%256),o.push(n);return o}(e,this.length-l),this,l,f);default:if(p)throw TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),p=!0}},a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},a.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,a.prototype),n},a.prototype.readUintLE=a.prototype.readUIntLE=function(e,t,r){e>>>=0,t>>>=0,r||w(e,t,this.length);for(var n=this[e],o=1,i=0;++i<t&&(o*=256);)n+=this[e+i]*o;return n},a.prototype.readUintBE=a.prototype.readUIntBE=function(e,t,r){e>>>=0,t>>>=0,r||w(e,t,this.length);for(var n=this[e+--t],o=1;t>0&&(o*=256);)n+=this[e+--t]*o;return n},a.prototype.readUint8=a.prototype.readUInt8=function(e,t){return e>>>=0,t||w(e,1,this.length),this[e]},a.prototype.readUint16LE=a.prototype.readUInt16LE=function(e,t){return e>>>=0,t||w(e,2,this.length),this[e]|this[e+1]<<8},a.prototype.readUint16BE=a.prototype.readUInt16BE=function(e,t){return e>>>=0,t||w(e,2,this.length),this[e]<<8|this[e+1]},a.prototype.readUint32LE=a.prototype.readUInt32LE=function(e,t){return e>>>=0,t||w(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},a.prototype.readUint32BE=a.prototype.readUInt32BE=function(e,t){return e>>>=0,t||w(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},a.prototype.readIntLE=function(e,t,r){e>>>=0,t>>>=0,r||w(e,t,this.length);for(var n=this[e],o=1,i=0;++i<t&&(o*=256);)n+=this[e+i]*o;return n>=(o*=128)&&(n-=Math.pow(2,8*t)),n},a.prototype.readIntBE=function(e,t,r){e>>>=0,t>>>=0,r||w(e,t,this.length);for(var n=t,o=1,i=this[e+--n];n>0&&(o*=256);)i+=this[e+--n]*o;return i>=(o*=128)&&(i-=Math.pow(2,8*t)),i},a.prototype.readInt8=function(e,t){return(e>>>=0,t||w(e,1,this.length),128&this[e])?-((255-this[e]+1)*1):this[e]},a.prototype.readInt16LE=function(e,t){e>>>=0,t||w(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},a.prototype.readInt16BE=function(e,t){e>>>=0,t||w(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},a.prototype.readInt32LE=function(e,t){return e>>>=0,t||w(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},a.prototype.readInt32BE=function(e,t){return e>>>=0,t||w(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},a.prototype.readFloatLE=function(e,t){return e>>>=0,t||w(e,4,this.length),o.read(this,e,!0,23,4)},a.prototype.readFloatBE=function(e,t){return e>>>=0,t||w(e,4,this.length),o.read(this,e,!1,23,4)},a.prototype.readDoubleLE=function(e,t){return e>>>=0,t||w(e,8,this.length),o.read(this,e,!0,52,8)},a.prototype.readDoubleBE=function(e,t){return e>>>=0,t||w(e,8,this.length),o.read(this,e,!1,52,8)},a.prototype.writeUintLE=a.prototype.writeUIntLE=function(e,t,r,n){if(e=+e,t>>>=0,r>>>=0,!n){var o=Math.pow(2,8*r)-1;C(this,e,t,r,o,0)}var i=1,s=0;for(this[t]=255&e;++s<r&&(i*=256);)this[t+s]=e/i&255;return t+r},a.prototype.writeUintBE=a.prototype.writeUIntBE=function(e,t,r,n){if(e=+e,t>>>=0,r>>>=0,!n){var o=Math.pow(2,8*r)-1;C(this,e,t,r,o,0)}var i=r-1,s=1;for(this[t+i]=255&e;--i>=0&&(s*=256);)this[t+i]=e/s&255;return t+r},a.prototype.writeUint8=a.prototype.writeUInt8=function(e,t,r){return e=+e,t>>>=0,r||C(this,e,t,1,255,0),this[t]=255&e,t+1},a.prototype.writeUint16LE=a.prototype.writeUInt16LE=function(e,t,r){return e=+e,t>>>=0,r||C(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},a.prototype.writeUint16BE=a.prototype.writeUInt16BE=function(e,t,r){return e=+e,t>>>=0,r||C(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},a.prototype.writeUint32LE=a.prototype.writeUInt32LE=function(e,t,r){return e=+e,t>>>=0,r||C(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},a.prototype.writeUint32BE=a.prototype.writeUInt32BE=function(e,t,r){return e=+e,t>>>=0,r||C(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},a.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t>>>=0,!n){var o=Math.pow(2,8*r-1);C(this,e,t,r,o-1,-o)}var i=0,s=1,a=0;for(this[t]=255&e;++i<r&&(s*=256);)e<0&&0===a&&0!==this[t+i-1]&&(a=1),this[t+i]=(e/s>>0)-a&255;return t+r},a.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t>>>=0,!n){var o=Math.pow(2,8*r-1);C(this,e,t,r,o-1,-o)}var i=r-1,s=1,a=0;for(this[t+i]=255&e;--i>=0&&(s*=256);)e<0&&0===a&&0!==this[t+i+1]&&(a=1),this[t+i]=(e/s>>0)-a&255;return t+r},a.prototype.writeInt8=function(e,t,r){return e=+e,t>>>=0,r||C(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},a.prototype.writeInt16LE=function(e,t,r){return e=+e,t>>>=0,r||C(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},a.prototype.writeInt16BE=function(e,t,r){return e=+e,t>>>=0,r||C(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},a.prototype.writeInt32LE=function(e,t,r){return e=+e,t>>>=0,r||C(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},a.prototype.writeInt32BE=function(e,t,r){return e=+e,t>>>=0,r||C(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},a.prototype.writeFloatLE=function(e,t,r){return E(this,e,t,!0,r)},a.prototype.writeFloatBE=function(e,t,r){return E(this,e,t,!1,r)},a.prototype.writeDoubleLE=function(e,t,r){return S(this,e,t,!0,r)},a.prototype.writeDoubleBE=function(e,t,r){return S(this,e,t,!1,r)},a.prototype.copy=function(e,t,r,n){if(!a.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 o=n-r;return this===e&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(t,r,n):Uint8Array.prototype.set.call(e,this.subarray(r,n),t),o},a.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&&!a.isEncoding(n))throw TypeError("Unknown encoding: "+n);if(1===e.length){var o,i=e.charCodeAt(0);("utf8"===n&&i<128||"latin1"===n)&&(e=i)}}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(o=t;o<r;++o)this[o]=e;else{var s=a.isBuffer(e)?e:a.from(e,n),u=s.length;
6if(0===u)throw TypeError('The value "'+e+'" is invalid for argument "value"');for(o=0;o<r-t;++o)this[o+t]=s[o%u]}return this};var O=/[^+/0-9A-Za-z-_]/g;function x(e,t){t=t||1/0;for(var r,n=e.length,o=null,i=[],s=0;s<n;++s){if((r=e.charCodeAt(s))>55295&&r<57344){if(!o){if(r>56319||s+1===n){(t-=3)>-1&&i.push(239,191,189);continue}o=r;continue}if(r<56320){(t-=3)>-1&&i.push(239,191,189),o=r;continue}r=(o-55296<<10|r-56320)+65536}else o&&(t-=3)>-1&&i.push(239,191,189);if(o=null,r<128){if((t-=1)<0)break;i.push(r)}else if(r<2048){if((t-=2)<0)break;i.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;i.push(r>>12|224,r>>6&63|128,63&r|128)}else if(r<1114112){if((t-=4)<0)break;i.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}else throw Error("Invalid code point")}return i}function T(e){return n.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(O,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function k(e,t,r,n){for(var o=0;o<n&&!(o+r>=t.length)&&!(o>=e.length);++o)t[o+r]=e[o];return o}function j(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}var A=function(){for(var e="0123456789abcdef",t=Array(256),r=0;r<16;++r)for(var n=16*r,o=0;o<16;++o)t[n+o]=e[r]+e[o];return t}()},2350:function(){},1227:function(e,t,r){let n;var o=r(4155);t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;let r="color: "+this.color;t.splice(1,0,r,"color: inherit");let n=0,o=0;t[0].replace(/%[a-zA-Z%]/g,e=>{"%%"!==e&&(n++,"%c"===e&&(o=n))}),t.splice(o,0,r)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(e){}return!e&&void 0!==o&&"env"in o&&(e=o.env.DEBUG),e},t.useColors=function(){return"undefined"!=typeof window&&!!window.process&&("renderer"===window.process.type||!!window.process.__nwjs)||!("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&("undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(n=!1,()=>{n||(n=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=r(2447)(t);let{formatters:i}=e.exports;i.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},2447:function(e,t,r){e.exports=function(e){function t(e){let r,o,i;let s=null;function a(...e){if(!a.enabled)return;let n=a,o=Number(new Date),i=o-(r||o);n.diff=i,n.prev=r,n.curr=o,r=o,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let s=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,(r,o)=>{if("%%"===r)return"%";s++;let i=t.formatters[o];if("function"==typeof i){let t=e[s];r=i.call(n,t),e.splice(s,1),s--}return r}),t.formatArgs.call(n,e);let u=n.log||t.log;u.apply(n,e)}return a.namespace=e,a.useColors=t.useColors(),a.color=t.selectColor(e),a.extend=n,a.destroy=t.destroy,Object.defineProperty(a,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==s?s:(o!==t.namespaces&&(o=t.namespaces,i=t.enabled(e)),i),set
6:e=>{s=e}}),"function"==typeof t.init&&t.init(a),a}function n(e,r){let n=t(this.namespace+(void 0===r?":":r)+e);return n.log=this.log,n}function o(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){return e instanceof Error?e.stack||e.message:e},t.disable=function(){let e=[...t.names.map(o),...t.skips.map(o).map(e=>"-"+e)].join(",");return t.enable(""),e},t.enable=function(e){let r;t.save(e),t.namespaces=e,t.names=[],t.skips=[];let n=("string"==typeof e?e:"").split(/[\s,]+/),o=n.length;for(r=0;r<o;r++)n[r]&&("-"===(e=n[r].replace(/\*/g,".*?"))[0]?t.skips.push(RegExp("^"+e.slice(1)+"$")):t.names.push(RegExp("^"+e+"$")))},t.enabled=function(e){let r,n;if("*"===e[e.length-1])return!0;for(r=0,n=t.skips.length;r<n;r++)if(t.skips[r].test(e))return!1;for(r=0,n=t.names.length;r<n;r++)if(t.names[r].test(e))return!0;return!1},t.humanize=r(7824),t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach(r=>{t[r]=e[r]}),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let r=0;for(let t=0;t<e.length;t++)r=(r<<5)-r+e.charCodeAt(t)|0;return t.colors[Math.abs(r)%t.colors.length]},t.enable(t.load()),t}},7288:function(e,t,r){"use strict";function n(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];let o=e.length-1;return e.slice(0,o).reduce((e,t,n)=>e+t+r[n],"")+e[o]}r.d(t,{Z:function(){return n}})},645:function(e,t){/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */t.read=function(e,t,r,n,o){var i,s,a=8*o-n-1,u=(1<<a)-1,c=u>>1,l=-7,f=r?o-1:0,h=r?-1:1,p=e[t+f];for(f+=h,i=p&(1<<-l)-1,p>>=-l,l+=a;l>0;i=256*i+e[t+f],f+=h,l-=8);for(s=i&(1<<-l)-1,i>>=-l,l+=n;l>0;s=256*s+e[t+f],f+=h,l-=8);if(0===i)i=1-c;else{if(i===u)return s?NaN:(p?-1:1)*(1/0);s+=Math.pow(2,n),i-=c}return(p?-1:1)*s*Math.pow(2,i-n)},t.write=function(e,t,r,n,o,i){var s,a,u,c=8*i-o-1,l=(1<<c)-1,f=l>>1,h=23===o?5960464477539062e-23:0,p=n?0:i-1,d=n?1:-1,y=t<0||0===t&&1/t<0?1:0;for(isNaN(t=Math.abs(t))||t===1/0?(a=isNaN(t)?1:0,s=l):(s=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-s))<1&&(s--,u*=2),s+f>=1?t+=h/u:t+=h*Math.pow(2,1-f),t*u>=2&&(s++,u/=2),s+f>=l?(a=0,s=l):s+f>=1?(a=(t*u-1)*Math.pow(2,o),s+=f):(a=t*Math.pow(2,f-1)*Math.pow(2,o),s=0));o>=8;e[r+p]=255&a,p+=d,a/=256,o-=8);for(s=s<<o|a,c+=o;c>0;e[r+p]=255&s,p+=d,s/=256,c-=8);e[r+p-d]|=128*y}},6808:function(e,t,r){var n,o;void 0!==(n="function"==typeof(o=function(){function e(){for(var e=0,t={};e<arguments.length;e++){var r=arguments[e];for(var n in r)t[n]=r[n]}return t}function t(e){return e.replace(/(%[0-9A-Z]{2}
6)+/g,decodeURIComponent)}return function r(n){function o(){}function i(t,r,i){if("undefined"!=typeof document){"number"==typeof(i=e({path:"/"},o.defaults,i)).expires&&(i.expires=new Date(new Date*1+864e5*i.expires)),i.expires=i.expires?i.expires.toUTCString():"";try{var s=JSON.stringify(r);/^[\{\[]/.test(s)&&(r=s)}catch(e){}r=n.write?n.write(r,t):encodeURIComponent(String(r)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),t=encodeURIComponent(String(t)).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent).replace(/[\(\)]/g,escape);var a="";for(var u in i)i[u]&&(a+="; "+u,!0!==i[u]&&(a+="="+i[u].split(";")[0]));return document.cookie=t+"="+r+a}}function s(e,r){if("undefined"!=typeof document){for(var o={},i=document.cookie?document.cookie.split("; "):[],s=0;s<i.length;s++){var a=i[s].split("="),u=a.slice(1).join("=");r||'"'!==u.charAt(0)||(u=u.slice(1,-1));try{var c=t(a[0]);if(u=(n.read||n)(u,c)||t(u),r)try{u=JSON.parse(u)}catch(e){}if(o[c]=u,e===c)break}catch(e){}}return e?o[e]:o}}return o.set=i,o.get=function(e){return s(e,!1)},o.getJSON=function(e){return s(e,!0)},o.remove=function(t,r){i(t,"",e(r,{expires:-1}))},o.defaults={},o.withConverter=r,o}(function(){})})?o.call(t,r,t,e):o)&&(e.exports=n),e.exports=o()},7824:function(e){function t(e,t,r,n){return Math.round(e/r)+" "+n+(t>=1.5*r?"s":"")}e.exports=function(e,r){r=r||{};var n,o,i=typeof e;if("string"===i&&e.length>0)return function(e){if(!((e=String(e)).length>100)){var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(t){var r=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*r;case"weeks":case"week":case"w":return 6048e5*r;case"days":case"day":case"d":return 864e5*r;case"hours":case"hour":case"hrs":case"hr":case"h":return 36e5*r;case"minutes":case"minute":case"mins":case"min":case"m":return 6e4*r;case"seconds":case"second":case"secs":case"sec":case"s":return 1e3*r;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return r;default:return}}}}(e);if("number"===i&&isFinite(e))return r.long?(n=Math.abs(e))>=864e5?t(e,n,864e5,"day"):n>=36e5?t(e,n,36e5,"hour"):n>=6e4?t(e,n,6e4,"minute"):n>=1e3?t(e,n,1e3,"second"):e+" ms":(o=Math.abs(e))>=864e5?Math.round(e/864e5)+"d":o>=36e5?Math.round(e/36e5)+"h":o>=6e4?Math.round(e/6e4)+"m":o>=1e3?Math.round(e/1e3)+"s":e+"ms";throw Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},6840:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return r(8477)}])},1210:function(e,t){"use strict";function r(e,t,r,n){return!1}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getDomainLocale",{enumerable:!0,get:function(){return r}}),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},8418:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return C}});let n=r(4788),o=r(8754),i=r(224),s=o._(r(7294)),a=r(3297),u=r(4634),c=r(4611),l=r(3794),f=r(2725),h=r(3462),p=r(1018),d=r(7190),y=r(1210),g=r(8684),m=new Set;function v(e,t,r,n,o){if(o||(0,u.isLocalURL)(t)){if(!n.bypassPrefetchedCheck){let o=void 0!==n.locale?n.locale:"locale"in e?e.locale:void 0,i=t+"%"+r+"%"+o;if(m.has(i))return;m.add(i)}Promise.resolve(e.prefetch(t,r,n)).catch(e=>{})}}function b(e){return"string"==typeof e?e:(0,c.formatUrl)(e)}let w=s.default.forwardRef(function(e,t){let r,o;let{href:c,as:m,children:w,prefetch:C,passHref:_,replace:E,shallow:S,scroll:O,locale:x,onClick:T,onMouseEnter:k,onTouchStart:j,legacyBehavior:A=!1}=e,I=i._(e,["href","as","children","prefetch","passHref","replace","shallow","scroll","locale","onClick","onMouseEnter","onTouchStart","legacyBehavior"]);r=w,A&&("string"==typeof r||"number"==typeof r)&&(r=s.default.createElement("a",null,r));let B=!1!==C,R=s.default.useContext(h.RouterContext),F=s.default.useContext(p.AppRouterContext),U=null!=R?R:F,M=!R,{href:P,as:N}=s.default.useMemo(()=>
6{if(!R){let e=b(c);return{href:e,as:m?b(m):e}}let[e,t]=(0,a.resolveHref)(R,c,!0);return{href:e,as:m?(0,a.resolveHref)(R,m):t||e}},[R,c,m]),L=s.default.useRef(P),D=s.default.useRef(N);A&&(o=s.default.Children.only(r));let z=A?o&&"object"==typeof o&&o.ref:t,[q,W,H]=(0,d.useIntersection)({rootMargin:"200px"}),V=s.default.useCallback(e=>{(D.current!==N||L.current!==P)&&(H(),D.current=N,L.current=P),q(e),z&&("function"==typeof z?z(e):"object"==typeof z&&(z.current=e))},[N,z,P,H,q]);s.default.useEffect(()=>{U&&W&&B&&v(U,P,N,{locale:x},M)},[N,P,W,x,B,null==R?void 0:R.locale,U,M]);let $={ref:V,onClick(e){A||"function"!=typeof T||T(e),A&&o.props&&"function"==typeof o.props.onClick&&o.props.onClick(e),U&&!e.defaultPrevented&&function(e,t,r,n,o,i,a,c,l,f){let{nodeName:h}=e.currentTarget,p="A"===h.toUpperCase();if(p&&(function(e){let t=e.currentTarget,r=t.getAttribute("target");return r&&"_self"!==r||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which}(e)||!l&&!(0,u.isLocalURL)(r)))return;e.preventDefault();let d=()=>{"beforePopState"in t?t[o?"replace":"push"](r,n,{shallow:i,locale:c,scroll:a}):t[o?"replace":"push"](n||r,{forceOptimisticNavigation:!f})};l?s.default.startTransition(d):d()}(e,U,P,N,E,S,O,x,M,B)},onMouseEnter(e){A||"function"!=typeof k||k(e),A&&o.props&&"function"==typeof o.props.onMouseEnter&&o.props.onMouseEnter(e),U&&(B||!M)&&v(U,P,N,{locale:x,priority:!0,bypassPrefetchedCheck:!0},M)},onTouchStart(e){A||"function"!=typeof j||j(e),A&&o.props&&"function"==typeof o.props.onTouchStart&&o.props.onTouchStart(e),U&&(B||!M)&&v(U,P,N,{locale:x,priority:!0,bypassPrefetchedCheck:!0},M)}};if((0,l.isAbsoluteUrl)(N))$.href=N;else if(!A||_||"a"===o.type&&!("href"in o.props)){let e=void 0!==x?x:null==R?void 0:R.locale,t=(null==R?void 0:R.isLocaleDomain)&&(0,y.getDomainLocale)(N,e,null==R?void 0:R.locales,null==R?void 0:R.domainLocales);$.href=t||(0,g.addBasePath)((0,f.addLocale)(N,e,null==R?void 0:R.defaultLocale))}return A?s.default.cloneElement(o,$):s.default.createElement("a",n._({},I,$),r)}),C=w;("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},7190:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useIntersection",{enumerable:!0,get:function(){return u}});let n=r(7294),o=r(9311),i="function"==typeof IntersectionObserver,s=new Map,a=[];function u(e){let{rootRef:t,rootMargin:r,disabled:u}=e,c=u||!i,[l,f]=(0,n.useState)(!1),h=(0,n.useRef)(null),p=(0,n.useCallback)(e=>{h.current=e},[]);(0,n.useEffect)(()=>{if(i){if(c||l)return;let e=h.current;if(e&&e.tagName){let n=function(e,t,r){let{id:n,observer:o,elements:i}=function(e){let t;let r={root:e.root||null,margin:e.rootMargin||""},n=a.find(e=>e.root===r.root&&e.margin===r.margin);if(n&&(t=s.get(n)))return t;let o=new Map,i=new IntersectionObserver(e=>{e.forEach(e=>{let t=o.get(e.target),r=e.isIntersecting||e.intersectionRatio>0;t&&r&&t(r)})},e);return t={id:r,observer:i,elements:o},a.push(r),s.set(r,t),t}(r);return i.set(e,t),o.observe(e),function(){if(i.delete(e),o.unobserve(e),0===i.size){o.disconnect(),s.delete(n);let e=a.findIndex(e=>e.root===n.root&&e.margin===n.margin);e>-1&&a.splice(e,1)}}}(e,e=>e&&f(e),{root:null==t?void 0:t.current,rootMargin:r});return n}}else if(!l){let e=(0,o.requestIdleCallback)(()=>f(!0));return()=>(0,o.cancelIdleCallback)(e)}},[c,r,t,l,h.current]);let d=(0,n.useCallback)(()=>{f(!1)},[]);return[p,l,d]}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},1045:function(e,t,r){var n=r(4155);r(2350);var o=r(7294),i=o&&"object"==typeof o&&"default"in o?o:{default:o};function s(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var a=void 0!==n&&n.env&&!0,u=function(e){return"[object String]"===Object.prototype.toString.call(e)},c=function(){function e(e){var t=void 0===e?{}:e,r=t.name,n=void 0===r?"stylesheet":r,o=t.optimizeForSpeed,i=void 0===o?a:o;l(u(n),"`name` must be a string"),this._name=n,this._deletedRulePlaceholder="#"+n+"-deleted-rule____{}",l("boolean"==typeof i,"`optimizeForSpeed` must be a boolean"),this._optimizeForSpeed=i,this._serverSheet=void 0,this._tags=[],this._injected=!1,this._rulesCount=0;var s=document.querySelector('meta[property="csp-nonce"]');this._nonce=s?s.getAttribute("content"):null}var t,r=e.prototype;return r.setOptimizeForSpeed=function(e){l("boolean"==typeof e,"`setOptimizeForSpeed` accepts a boolean"),l(0===this._rulesCount,"optimizeForSpeed cannot be when rules have already been inserted"),this.flush(),this._optimizeForSpeed=e,this.inject()},r.isOptimizeForSpeed=function(){return this._optimizeForSpeed},r.inject=function(){var e=this;if(l(!this._injected,"sheet already injected"),this._injected=!0,this._optimizeForSpeed){this._tags[0]=this.makeStyleTag(this._name),this._optimizeForSpeed="insertRule"in this.get
6Sheet(),this._optimizeForSpeed||(a||console.warn("StyleSheet: optimizeForSpeed mode not supported falling back to standard mode."),this.flush(),this._injected=!0);return}this._serverSheet={cssRules:[],insertRule:function(t,r){return"number"==typeof r?e._serverSheet.cssRules[r]={cssText:t}:e._serverSheet.cssRules.push({cssText:t}),r},deleteRule:function(t){e._serverSheet.cssRules[t]=null}}},r.getSheetForTag=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]},r.getSheet=function(){return this.getSheetForTag(this._tags[this._tags.length-1])},r.insertRule=function(e,t){if(l(u(e),"`insertRule` accepts only strings"),this._optimizeForSpeed){var r=this.getSheet();"number"!=typeof t&&(t=r.cssRules.length);try{r.insertRule(e,t)}catch(t){return a||console.warn("StyleSheet: illegal rule: \n\n"+e+"\n\nSee https://stackoverflow.com/q/20007992 for more info"),-1}}else{var n=this._tags[t];this._tags.push(this.makeStyleTag(this._name,e,n))}return this._rulesCount++},r.replaceRule=function(e,t){if(this._optimizeForSpeed){var r=this.getSheet();if(t.trim()||(t=this._deletedRulePlaceholder),!r.cssRules[e])return e;r.deleteRule(e);try{r.insertRule(t,e)}catch(n){a||console.warn("StyleSheet: illegal rule: \n\n"+t+"\n\nSee https://stackoverflow.com/q/20007992 for more info"),r.insertRule(this._deletedRulePlaceholder,e)}}else{var n=this._tags[e];l(n,"old rule at index `"+e+"` not found"),n.textContent=t}return e},r.deleteRule=function(e){if(this._optimizeForSpeed)this.replaceRule(e,"");else{var t=this._tags[e];l(t,"rule at index `"+e+"` not found"),t.parentNode.removeChild(t),this._tags[e]=null}},r.flush=function(){this._injected=!1,this._rulesCount=0,this._tags.forEac
6h(function(e){return e&&e.parentNode.removeChild(e)}),this._tags=[]},r.cssRules=function(){var e=this;return this._tags.reduce(function(t,r){return r?t=t.concat(Array.prototype.map.call(e.getSheetForTag(r).cssRules,function(t){return t.cssText===e._deletedRulePlaceholder?null:t})):t.push(null),t},[])},r.makeStyleTag=function(e,t,r){t&&l(u(t),"makeStyleTag accepts only strings as second parameter");var n=document.createElement("style");this._nonce&&n.setAttribute("nonce",this._nonce),n.type="text/css",n.setAttribute("data-"+e,""),t&&n.appendChild(document.createTextNode(t));var o=document.head||document.getElementsByTagName("head")[0];return r?o.insertBefore(n,r):o.appendChild(n),n},s(e.prototype,[{key:"length",get:function(){return this._rulesCount}}]),t&&s(e,t),e}();function l(e,t){if(!e)throw Error("StyleSheet: "+t+".")}var f=function(e){for(var t=5381,r=e.length;r;)t=33*t^e.charCodeAt(--r);return t>>>0},h={};function p(e,t){if(!t)return"jsx-"+e;var r=String(t),n=e+r;return h[n]||(h[n]="jsx-"+f(e+"-"+r)),h[n]}function d(e,t){var r=e+t;return h[r]||(h[r]=t.replace(/__jsx-style-dynamic-selector/g,e)),h[r]}var y=function(){function e(e){var t=void 0===e?{}:e,r=t.styleSheet,n=void 0===r?null:r,o=t.optimizeForSpeed,i=void 0!==o&&o;this._sheet=n||new c({name:"styled-jsx",optimizeForSpeed:i}),this._sheet.inject(),n&&"boolean"==typeof i&&(this._sheet.setOptimizeForSpeed(i),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed()),this._fromServer=void 0,this._indices={},this._instancesCounts={}}var t=e.prototype;return t.add=function(e){var t=this;void 0===this._optimizeForSpeed&&(this._optimizeForSpeed=Array.isArray(e.children),this._sheet.setOptimizeForSpeed(this._optimizeForSpeed),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed()),this._fromServer||(this._fromServer=this.selectFromServer(),this._instancesCounts=Object.keys(this._fromServer).reduce(function(e,t){return e[t]=0,e},{}));var r=this.getIdAndRules(e),n=r.styleId,o=r.rules;if(n in this._instancesCounts){this._instancesCounts[n]+=1;return}var i=o.map(function(e){return t._sheet.insertRule(e)}).filter(function(e){return -1!==e});this._indices[n]=i,this._instancesCounts[n]=1},t.remove=function(e){var t=this,r=this.getIdAndRules(e).styleId;if(function(e,t){if(!e)throw Error("StyleSheetRegistry: "+t+".")}(r in this._instancesCounts,"styleId: `"+r+"` not found"),this._instancesCounts[r]-=1,this._instancesCounts[r]<1){var n=this._fromServer&&this._fromServer[r];n?(n.parentNode.removeChild(n),delete this._fromServer[r]):(this._indices[r].forEach(function(e){return t._sheet.deleteRule(e)}),delete this._indices[r]),delete this._instancesCounts[r]}},t.update=function(e,t){this.add(t),this.remove(e)},t.flush=function(){this._sheet.flush(),this._sheet.inject(),this._fromServer=void 0,this._indices={},this._instancesCounts={}},t.cssRules=function(){var e=this,t=this._fromServer?Object.keys(this._fromServer).map(function(t){return[t,e._fromServer[t]]}):[],r=this._sheet.cssRules();return t.concat(Object.keys(this._indices).map(function(t){return[t,e._indices[t].map(function(e){return r[e].cssText}).join(e._optimizeForSpeed?"":"\n")]}).filter(function(e){return!!e[1]}))},t.styles=function(e){var t,r;return t=this.cssRules(),void 0===(r=e)&&(r={}),t.map(function(e){var t=e[0],n=e[1];return i.default.createElement("style",{id:"__"+t,key:"__"+t,nonce:r.nonce?r.nonce:void 0,dangerouslySetInnerHTML:{__html:n}})})},t.getIdAndRules=function(e){var t=e.children,r=e.dynamic,n=e.id;if(r){var o=p(n,r);return{styleId:o,rules:Array.isArray(t)?t.map(function(e){return d(o,e)}):[d(o,t)]}}return{styleId:p(n),rules:Array.isArray(t)?t:[t]}},t.selectFromServer=function(){return Array.prototype.slice.call(document.querySelectorAll('[id^="__jsx-"]')).reduce(function(e,t){return e[t.id.slice(2)]=t,e},{})},e}(),g=o.createContext(null);g.displayName="StyleSheetContext";var m=i.default.useInsertionEffect||i.default.useLayoutEffect,v=new y;function b(e){var t=v||o.useContext(g);return t&&m(function(){return t.add(e),function(){t.remove(e)}},[e.id,String(e.dynamic)]),null}b.dynamic=function(e){return e.map(function(e){return p(e[0],e[1])}).join(" ")},t.style=b},357:function(e,t,r){"use strict";e.exports=r(1045).style},8477:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return z}});var n,o,i=r(5893),s=r(3614),a=r.n(s),u=r(2630),c=r.n(u),l=r(357),f=r.n(l),h=r(7294),p=()=>{window.va||(window.va=function(...e){(window.vaq=window.vaq||[]).push(e)})};function d(){return"development"===(window.vam||"production")}function y({beforeSend:e,debug:t=!0,mode:r="auto"}){return(0,h.useEffect)(()=>{!function(e={debug:!0}){var t;if(!("undefined"!=typeof window))return;(function(e="auto"){if("auto"===e){window.vam="production";return}window.vam=e})(e.mode),p(),e.beforeSend&&(null==(t=window.va)||t.call(window,"beforeSend",e.beforeSend));let r=d()?"https://va.vercel-scripts.com/v1/script.debug.js":"/_vercel/insights/script.
6js";if(document.head.querySelector(`script[src*="${r}"]`))return;let n=document.createElement("script");n.src=r,n.defer=!0,n.setAttribute("data-sdkn","@vercel/analytics"),n.setAttribute("data-sdkv","1.0.0"),d()&&!1===e.debug&&n.setAttribute("data-debug","false"),document.head.appendChild(n)}({beforeSend:e,debug:t,mode:r})},[e,t,r]),null}var g=r(1163);let m=e=>{window.dataLayer.push({event:"pageview",page:e})};var v=r(4298),b=r.n(v);let w="GTM-WQFB6FLC",C=()=>w?(0,i.jsx)(b(),{id:"google-tag-manager",strategy:"afterInteractive",children:"\n (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':\n new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],\n j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=\n 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);\n })(window,document,'script','dataLayer', '".concat(w,"');\n ")}):null;var _=r(1664),E=r.n(_),S=r(6808),O=r.n(S),x=function(e){var t=e.condition,r=e.wrapper,n=e.children;return t?r(n):n};function T(){return(T=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function k(e,t){return(k=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}var j={TOP:"top",BOTTOM:"bottom",NONE:"none"};(n=o||(o={})).STRICT="strict",n.LAX="lax",n.NONE="none";var A={HIDDEN:"hidden",SHOW:"show",BY_COOKIE_VALUE:"byCookieValue"},I="CookieConsent",B=["children"],R={disableStyles:!1,hideOnAccept:!0,hideOnDecline:!0,location:j.BOTTOM,visible:A.BY_COOKIE_VALUE,onAccept:function(e){},onDecline:function(){},cookieName:I,cookieValue:"true",declineCookieValue:"false",setDeclineCookie:!0,buttonText:"I understand",declineButtonText:"I decline",debug:!1,expires:365,containerClasses:"CookieConsent",contentClasses:"",buttonClasses:"",buttonWrapperClasses:"",declineButtonClasses:"",buttonId:"rcc-confirm-button",declineButtonId:"rcc-decline-button",extraCookieOptions:{},disableButtonStyles:!1,enableDeclineButton:!1,flipButtons:!1,sameSite:o.LAX,ButtonComponent:function(e){var t=e.children,r=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,B);return h.createElement("button",Object.assign({},r),t)},overlay:!1,overlayClasses:"",onOverlayClick:function(){},acceptOnOverlayClick:!1,ariaAcceptLabel:"Accept cookies",ariaDeclineLabel:"Decline cookies",acceptOnScroll:!1,acceptOnScrollPercentage:25,customContentAttributes:{},customContainerAttributes:{},customButtonProps:{},customDeclineButtonProps:{},customButtonWrapperAttributes:{},style:{},buttonStyle:{},declineButtonStyle:{},contentStyle:{},overlayStyle:{}},F={visible:!1,style:{alignItems:"baseline",background:"#353535",color:"white",display:"flex",flexWrap:"wrap",justifyContent:"space-between",left:"0",position:"fixed",width:"100%",zIndex:"999"},buttonStyle:{background:"#ffd42d",border:"0",borderRadius:"0px",boxShadow:"none",color:"black",cursor:"pointer",flex:"0 0 auto",padding:"5px 10px",margin:"15px"},declineButtonStyle:{background:"#c12a2a",border:"0",borderRadius:"0px",boxShadow:"none",color:"#e5e5e5",cursor:"pointer",flex:"0 0 auto",padding:"5px 10px",margin:"15px"},contentStyle:{flex:"1 0 300px",margin:"15px"},overlayStyle:{position:"fixed",left:0,top:0,width:"100%",height:"100%",zIndex:"999",backgroundColor:"rgba(0,0,0,0.3)"}},U=function(e){void 0===e&&(e=I);var t=O().get(e);return void 0===t?O().get(M(e)):t},M=function(e){return e+"-legacy"},P=function(e){function t(){var t;return t=e.apply(this,arguments)||this,t.state=F,t.handleScroll=function(){var e=t.props.acceptOnScrollPercentage,r=document.documentElement,n=document.body,o="scrollTop",i="scrollHeight";(r[o]||n[o])/((r[i]||n[i])-r.clientHeight)*100>e&&t.accept(!0)},t.removeScrollListener=function(){t.props.acceptOnScroll&&window.removeEventListener("scroll",t.handleScroll)},t}(r=t).prototype=Object.create(e.prototype),r.prototype.constructor=r,k(r,e);var r,n=t.prototype;return n.componentDidMount=function(){var e=this.props.debug;(void 0===this.getCookieValue()||e)&&(this.setState({visible:!0}),this.props.acceptOnScroll&&window.addEventListener("scroll",this.handleScroll,{passive:!0}))},n.componentWillUnmount=function(){this.removeScrollListener()},n.accept=function(e){void 0===e&&(e=!1);var t,r=this.props,n=r.cookieName,o=r.cookieValue,i=r.hideOnAccept,s=r.onAccept;this.setCookie(n,o),s(null!=(t=e)&&t),i&&(this.setState({visible:!1}),this.removeScrollListener())},n.overlayClick=function(){var e=this.props,t=e.acceptOnOverlayClick,r=e.onOverlayClick;t&&this.accept(),r()},n.decline=function(){var e=this.props,t=e.cookieName,r=e.declineCookieValue,n=e.hideOnDecline,o=e.onDecline;e.setDeclineCookie&&this.setCookie(t,r),o(),n&&this.setState({visible:!1})},n.setCookie=function(e,t){var r=this.props,n=r.extraCookieOptions,i=r.expires,s=r.sameSite,a=this.props.cookieSecurity;void 0===a&&(a=!window.location||"https:"===window.location.protocol);var u=T({expires:i},n,{sameSite:s,secure:a});s===o.NONE&&O().set(M(e),t,u),O().set(e,t,u)},n.getCookieValue=function(){return U(this.props.cookieName)},n.render=function(){var e=this;switch(this.props.visible){case A.HIDDEN:return null;case A.BY_COOKIE_VALUE:if(!this.state.visible)return null}var t=this.props,r=t.location,n=t.style,o=t.buttonStyle,i=t.declineButtonStyle,s=t.contentStyle,a=t.disableStyles,u=t.buttonText,c=t.declineButtonText,l=t.containerClasses,f=t.contentClasses,p=t.buttonClasse
6s,d=t.buttonWrapperClasses,y=t.declineButtonClasses,g=t.buttonId,m=t.declineButtonId,v=t.disableButtonStyles,b=t.enableDeclineButton,w=t.flipButtons,C=t.ButtonComponent,_=t.overlay,E=t.overlayClasses,S=t.overlayStyle,O=t.ariaAcceptLabel,k=t.ariaDeclineLabel,I=t.customContainerAttributes,B=t.customContentAttributes,R=t.customButtonProps,F=t.customDeclineButtonProps,U=t.customButtonWrapperAttributes,M={},P={},N={},L={},D={};switch(a?(M=Object.assign({},n),P=Object.assign({},o),N=Object.assign({},i),L=Object.assign({},s),D=Object.assign({},S)):(M=Object.assign({},T({},this.state.style,n)),L=Object.assign({},T({},this.state.contentStyle,s)),D=Object.assign({},T({},this.state.overlayStyle,S)),v?(P=Object.assign({},o),N=Object.assign({},i)):(P=Object.assign({},T({},this.state.buttonStyle,o)),N=Object.assign({},T({},this.state.declineButtonStyle,i)))),r){case j.TOP:M.top="0";break;case j.BOTTOM:M.bottom="0"}var z=[];return b&&z.push(h.createElement(C,Object.assign({key:"declineButton",style:N,className:y,id:m,"aria-label":k,onClick:function(){e.decline()}},F),c)),z.push(h.createElement(C,Object.assign({key:"acceptButton",style:P,className:p,id:g,"aria-label":O,onClick:function(){e.accept()}},R),u)),w&&z.reverse(),h.createElement(x,{condition:_,wrapper:function(t){return h.createElement("div",{style:D,className:E,onClick:function(){e.overlayClick()}},t)}},h.createElement("div",Object.assign({className:""+l,style:M},I),h.createElement("div",Object.assign({style:L,className:f},B),this.props.children),h.createElement("div",Object.assign({className:""+d},U),z.map(function(e){return e}))))},t}(h.Component);P.defaultProps=R;var N=r(3218),L=r(7117);let D=()=>{let[e,t]=(0,h.useState)({});return((0,h.useEffect)(()=>{let e=async()=>{let e=await N.Lp.fetch(L.yf);t(e)};e()},[]),(null==e?void 0:e.boolvalue)===!1)?null:(0,i.jsx)("div",{className:"flex w-1/3 p-10",children:(0,i.jsxs)(P,{enableDeclineButton:!1,flipButtons:!0,location:"bottom",buttonText:"OK",cookieName:"KapraCookieConsent",style:{background:"#181818",width:"100%"},buttonStyle:{color:"#000",fontSize:"15px"},declineButtonStyle:{margin:"10px 10px 10px 0"},expires:450,children:[(0,i.jsx)("span",{className:"h font-millik",children:null==e?void 0:e.shortvalue}),(0,i.jsx)("p",{children:null==e?void 0:e.longvalue}),(0,i.jsx)(E(),{href:"/empresa/politica-cookies",children:(0,i.jsx)("span",{className:"my-4 text-blue-500 underline",children:"M\xe1s informaci\xf3n"})})]})})};r(5759);var z=function(e){let{Component:t,pageProps:r}=e,n=(0,g.useRouter)();return(0,h.useEffect)(()=>(n.events.on("routeChangeComplete",m),()=>{n.events.off("routeChangeComplete",m)}),[n.events]),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(C,{}),(0,i.jsx)(f(),{id:"762bcd201fe4ad08",dynamic:[c().style.fontFamily,a().style.fontFamily],children:":root{--font-millik:".concat(c().style.fontFamily,";--font-inter:").concat(a().style.fontFamily,"}")}),(0,i.jsx)(t,{...r,className:f().dynamic([["762bcd201fe4ad08",[c().style.fontFamily,a().style.fontFamily]]])+" "+(r&&null!=r.className&&r.className||"")}),(0,i.jsx)(D,{}),(0,i.jsx)(y,{})]})}},3218:function(e,t,r){"use strict";r.d(t,{Lp:function(){return rO},gx:function(){return r_},Sx:function(){return rC},he:function(){return rS}});let n="undefined"!=typeof navigator&&"ReactNative"===navigator.product,o={timeout:n?6e4:12e4};function i(e){let t="string"==typeof e?Object.assign({url:e},o):Object.assign({},o,e),r=new URL(t.url,"http://localhost");if(t.timeout=function e(t){if(!1===t||0===t)return!1;if(t.connect||t.socket)return t;let r=Number(t);return isNaN(r)?e(o.timeout):{connect:r,socket:r}}(t.timeout),t.query){for(let[e,n]of Object.entries(t.query))if(void 0!==n){if(Array.isArray(n))for(let t of n)r.searchParams.append(e,t);else r.searchParams.append(e,n)}}return t.method=t.body&&!t.method?"POST":(t.method||"GET").toUpperCase(),t.url="http://localhost"===r.origin?"".concat(r.pathname,"?").concat(r.searchParams):r.toString(),t}let s=/^https?:\/\//i;function a(e){if(!s.test(e.url))throw Error('"'.concat(e.url,'" is not a valid URL'))}var u,c,l,f,h,p,d,y,g,m,v,b,w,C,_,E,S,O,x,T,k,j,A,I,B,R,F,U,M,P=r(4947),N=e=>function(t,r){let n="onError"===t,o=r;for(var i=arguments.length,s=Array(i>2?i-2:0),a=2;a<i;a++)s[a-2]=arguments[a];for(let r=0;r<e[t].length;r++){let i=e[t][r];if(o=i(o,...s),n&&!o)break}return o};let L=["request","response","progress","error","abort"],D=["processOptions","validateOptions","interceptRequest","finalizeOptions","onRequest","onResponse","onError","onReturn","onHeaders"];var z=(e,t,r)=>{if(!t.has(e))throw TypeError("Cannot "+r)},q=(e,t,r)=>(z(e,t,"read from private field"),r?r.call(e):t.get(e)),W=(e,t,r)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,r)},H=(e,t,r,n)=>(z(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r);u=new WeakMap,c=new WeakMap,l=new WeakMap,f=new WeakMap,h=new WeakMap;let V="function"==typeof XMLHttpRequest?"xhr":"fetch",$="xhr"===V?XMLHttpRequest:class{constructor(){this.readyState=0,this.responseType="",W(this,u,void 0),W(this,c,void 0),W(this,l,void 0),W(this,f,{}),W(this,h,void 0)}open(e,t,r){H(this,u,e),H(this,c,t),H(this,l,""),this.readyState=1,this.onreadystatechange(),H(this,h,void 0)}abort(){q(this,h)&&q(this,h).abort()}getAllResponseHeaders(){return q(this,l)}setRequestHeader(e,t){q(this,f)[e]=t}send(e){let t="arraybuffer"!==this.responseType,r={method:q(this,u),headers:q(this,f),body:e};"function"==typeof AbortController&&(H(this,h,new AbortController),"undefined"!=typeof EventTarget&&q(this,h).signal instanceof EventTarget&&(r.signal=q(this,h).signal)),"undefined"!=typeof document&&(r.credentials=this.withCredentials?"include":"omit"),fetch(q(this,c),r).then(e=>
6(e.headers.forEach((e,t)=>{H(this,l,q(this,l)+"".concat(t,": ").concat(e,"\r\n"))}),this.status=e.status,this.statusText=e.statusText,this.readyState=3,t?e.text():e.arrayBuffer())).then(e=>{"string"==typeof e?this.responseText=e:this.response=e,this.readyState=4,this.onreadystatechange()}).catch(e=>{var t;if("AbortError"===e.name){this.onabort();return}null==(t=this.onerror)||t.call(this,e)})}};var Z=(e,t)=>{let r=e.options,n=e.applyMiddleware("finalizeOptions",r),o={},i=e.applyMiddleware("interceptRequest",void 0,{adapter:V,context:e});if(i){let e=setTimeout(t,0,null,i),r=()=>clearTimeout(e);return{abort:r}}let s=new $,a=n.headers,u=n.timeout,c=!1,l=!1,f=!1;if(s.onerror=d,s.ontimeout=d,s.onabort=()=>{p(!0),c=!0},s.onreadystatechange=()=>{u&&(p(),o.socket=setTimeout(()=>h("ESOCKETTIMEDOUT"),u.socket)),c||4!==s.readyState||0===s.status||function(){if(!c&&!l&&!f){if(0===s.status){d(Error("Unknown XHR error"));return}p(),l=!0,t(null,{body:s.response||(""===s.responseType||"text"===s.responseType?s.responseText:""),url:n.url,method:n.method,headers:P(s.getAllResponseHeaders()),statusCode:s.status,statusMessage:s.statusText})}}()},s.open(n.method,n.url,!0),s.withCredentials=!!n.withCredentials,a&&s.setRequestHeader)for(let e in a)a.hasOwnProperty(e)&&s.setRequestHeader(e,a[e]);return n.rawBody&&(s.responseType="arraybuffer"),e.applyMiddleware("onRequest",{options:n,adapter:V,request:s,context:e}),s.send(n.body||null),u&&(o.connect=setTimeout(()=>h("ETIMEDOUT"),u.connect)),{abort:function(){c=!0,s&&s.abort()}};function h(t){f=!0,s.abort();let r=Error("ESOCKETTIMEDOUT"===t?"Socket timed out on request to ".concat(n.url):"Connection timed out on request to ".concat(n.url));r.code=t,e.channels.error.publish(r)}function p(e){(e||c||s.readyState>=2&&o.connect)&&clearTimeout(o.connect),o.socket&&clearTimeout(o.socket)}function d(e){if(l)return;p(!0),l=!0,s=null;let r=e||Error("Network error while attempting to reach ".concat(n.url));r.isNetworkError=!0,r.request=n,t(r)}};let J=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Z;return function e(t,r){let n=[],o=D.reduce((e,t)=>(e[t]=e[t]||[],e),{processOptions:[i],validateOptions:[a]});function s(e){let t=L.reduce((e,t)=>(e[t]=function(){let e=Object.create(null),t=0;return{publish:function(t){for(let r in e)e[r](t)},subscribe:function(r){let n=t++;return e[n]=r,function(){delete e[n]}}}}(),e),{}),n=N(o),i=n("processOptions",e);n("validateOptions",i);let s={options:i,channels:t,applyMiddleware:n},a=null,u=t.request.subscribe(e=>{a=r(e,(r,o)=>(function(e,r,o){let i=e,s=r;if(!i)try{s=n("onResponse",r,o)}catch(e){s=null,i=e}(i=i&&n("onError",i,o))?t.error.publish(i):s&&t.response.publish(s)})(r,o,e))});t.abort.subscribe(()=>{u(),a&&a.abort()});let c=n("onReturn",t,s);return c===t&&t.request.publish(s),c}return s.use=function(e){if(!e)throw Error("Tried to add middleware that resolved to falsey value");if("function"==typeof e)throw Error("Tried to add middleware that was a function. It probably expects you to pass options to it.");if(e.onReturn&&o.onReturn.length>0)throw Error("Tried to add new middleware with `onReturn` handler, but another handler has already been registered for this event");return D.forEach(t=>{e[t]&&o[t].push(e[t])}),n.push(e),s},s.clone=function(){return e(n,r)},t.forEach(s.use),s}(e,t)};/*! 7 * is-plain-object <https://github.com/jonschlinkert/is-plain-object> 8 * 9 * Copyright (c) 2014-2017, Jon Schlinkert. 10 * Released under the MIT License. 11 */function Y(e){return"[object Object]"===Object.prototype.toString.call(e)}r(1227);var K=r(8764).lW;Object.prototype.hasOwnProperty;let G=void 0===K?()=>!1:e=>K.isBuffer(e),X=["boolean","string","number"];var Q="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};let ee=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.implementation||Promise;if(!t)throw Error("`Promise` is not available in global scope, and no implementation was passed");return{onReturn:(r,n)=>new t((t,o)=>{let i=n.options.cancelToken;i&&i.promise.then(e=>{r.abort.publish(e),o(e)}),r.error.subscribe(o),r.response.subscribe(r=>{t(e.onlyBody?r.body:r)}),setTimeout(()=>{try{r.request.publish(n)}catch(e){o(e)}}
11,0)})}};class et{constructor(e){this.__CANCEL__=!0,this.message=e}toString(){return"Cancel".concat(this.message?": ".concat(this.message):"")}}let er=class{constructor(e){if("function"!=typeof e)throw TypeError("executor must be a function.");let t=null;this.promise=new Promise(e=>{t=e}),e(e=>{this.reason||(this.reason=new et(e),t(this.reason))})}},en=er;en.source=()=>{let e;let t=new er(t=>{e=t});return{token:t,cancel:e}};let eo=e=>!!(e&&(null==e?void 0:e.__CANCEL__));ee.Cancel=et,ee.CancelToken=en,ee.isCancel=eo;var ei=(e,t,r)=>("GET"===r.method||"HEAD"===r.method)&&(e.isNetworkError||!1);let es=e=>null!==e&&"object"==typeof e&&"function"==typeof e.pipe;var ea=e=>{let t=e.maxRetries||5,r=e.retryDelay||eu,n=e.shouldRetry;return{onError:(e,o)=>{let i=o.options,s=i.maxRetries||t,a=i.shouldRetry||n,u=i.attemptNumber||0;if(es(i.body)||!a(e,u,i)||u>=s)return e;let c=Object.assign({},o,{options:Object.assign({},i,{attemptNumber:u+1})});return setTimeout(()=>o.channels.request.publish(c),r(u)),null}}};function eu(e){return 100*Math.pow(2,e)+100*Math.random()}let ec=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return ea({shouldRetry:ei,...e})};ec.shouldRetry=ei;var el=function(e,t){return(el=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)};function ef(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}el(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}function eh(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function ep(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)s.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return s}function ed(e,t,r){if(r||2==arguments.length)for(var n,o=0,i=t.length;o<i;o++)!n&&o in t||(n||(n=Array.prototype.slice.call(t,0,o)),n[o]=t[o]);return e.concat(n||Array.prototype.slice.call(t))}function ey(e){return"function"==typeof e}function eg(e){var t=e(function(e){Error.call(e),e.stack=Error().stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}var em=eg(function(e){return function(t){e(this),this.message=t?t.length+" errors occurred during unsubscription:\n"+t.map(function(e,t){return t+1+") "+e.toString()}).join("\n "):"",this.name="UnsubscriptionError",this.errors=t}});function ev(e,t){if(e){var r=e.indexOf(t);0<=r&&e.splice(r,1)}}var eb=function(){var e;function t(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}return t.prototype.unsubscribe=function(){if(!this.closed){this.closed=!0;var e,t,r,n,o,i=this._parentage;if(i){if(this._parentage=null,Array.isArray(i))try{for(var s=eh(i),a=s.next();!a.done;a=s.next())a.value.remove(this)}catch(t){e={error:t}}finally{try{a&&!a.done&&(t=s.return)&&t.call(s)}finally{if(e)throw e.error}}else i.remove(this)}var u=this.initialTeardown;if(ey(u))try{u()}catch(e){o=e instanceof em?e.errors:[e]}var c=this._finalizers;if(c){this._finalizers=null;try{for(var l=eh(c),f=l.next();!f.done;f=l.next()){var h=f.value;try{eC(h)}catch(e){o=null!=o?o:[],e instanceof em?o=ed(ed([],ep(o)),ep(e.errors)):o.push(e)}}}catch(e){r={error:e}}finally{try{f&&!f.done&&(n=l.return)&&n.call(l)}finally{if(r)throw r.error}}}if(o)throw new em(o)}},t.prototype.add=function(e){var r;if(e&&e!==this){if(this.closed)eC(e);else{if(e instanceof t){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=null!==(r=this._finalizers)&&void 0!==r?r:[]).push(e)}}},t.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},t.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},t.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&ev(t,e)},t.prototype.remove=function(e){var r=this._finalizers;r&&ev(r,e),e instanceof t&&e._removeParent(this)},t.EMPTY=((e=new t).closed=!0,e),t}();function ew(e){return e instanceof eb||e&&"closed"in e&&ey(e.remove)&&ey(e.add)&&ey(e.unsubscribe)}function eC(e){ey(e)?e():e.unsubscribe()}eb.EMPTY;var e_={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNext
11Context:!1},eE={setTimeout:function(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var o=eE.delegate;return(null==o?void 0:o.setTimeout)?o.setTimeout.apply(o,ed([e,t],ep(r))):setTimeout.apply(void 0,ed([e,t],ep(r)))},clearTimeout:function(e){var t=eE.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function eS(){}var eO=ex("C",void 0,void 0);function ex(e,t,r){return{kind:e,value:t,error:r}}var eT=null,ek=function(e){function t(t){var r=e.call(this)||this;return r.isStopped=!1,t?(r.destination=t,ew(t)&&t.add(r)):r.destination=eU,r}return ef(t,e),t.create=function(e,t,r){return new eB(e,t,r)},t.prototype.next=function(e){this.isStopped?eF(ex("N",e,void 0),this):this._next(e)},t.prototype.error=function(e){this.isStopped?eF(ex("E",void 0,e),this):(this.isStopped=!0,this._error(e))},t.prototype.complete=function(){this.isStopped?eF(eO,this):(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(e){this.destination.next(e)},t.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(eb),ej=Function.prototype.bind;function eA(e,t){return ej.call(e,t)}var eI=function(){function e(e){this.partialObserver=e}return e.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(e){eR(e)}},e.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){eR(e)}else eR(e)},e.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){eR(e)}},e}(),eB=function(e){function t(t,r,n){var o,i,s=e.call(this)||this;return ey(t)||!t?o={next:null!=t?t:void 0,error:null!=r?r:void 0,complete:null!=n?n:void 0}:s&&e_.useDeprecatedNextContext?((i=Object.create(t)).unsubscribe=function(){return s.unsubscribe()},o={next:t.next&&eA(t.next,i),error:t.error&&eA(t.error,i),complete:t.complete&&eA(t.complete,i)}):o=t,s.destination=new eI(o),s}return ef(t,e),t}(ek);function eR(e){e_.useDeprecatedSynchronousErrorHandling?e_.useDeprecatedSynchronousErrorHandling&&eT&&(eT.errorThrown=!0,eT.error=e):eE.setTimeout(function(){var t=e_.onUnhandledError;if(t)t(e);else throw e})}function eF(e,t){var r=e_.onStoppedNotification;r&&eE.setTimeout(function(){return r(e,t)})}var eU={closed:!0,next:eS,error:function(e){throw e},complete:eS},eM="function"==typeof Symbol&&Symbol.observable||"@@observable";function eP(e){return e}var eN=function(){function e(e){e&&(this._subscribe=e)}return e.prototype.lift=function(t){var r=new e;return r.source=this,r.operator=t,r},e.prototype.subscribe=function(e,t,r){var n,o=this,i=(n=e)&&n instanceof ek||n&&ey(n.next)&&ey(n.error)&&ey(n.complete)&&ew(n)?e:new eB(e,t,r);return function(e){if(e_.useDeprecatedSynchronousErrorHandling){var t=!eT;if(t&&(eT={errorThrown:!1,error:null}),e(),t){var r=eT,n=r.errorThrown,o=r.error;if(eT=null,n)throw o}}else e()}(function(){var e=o.operator,t=o.source;i.add(e?e.call(i,t):t?o._subscribe(i):o._trySubscribe(i))}),i},e.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(t){e.error(t)}},e.prototype.forEach=function(e,t){var r=this;return new(t=eL(t))(function(t,n){var o=new eB({next:function(t){try{e(t)}catch(e){n(e),o.unsubscribe()}},error:n,complete:t});r.subscribe(o)})},e.prototype._subscribe=function(e){var t;return null===(t=this.source)||void 0===t?void 0:t.subscribe(e)},e.prototype[eM]=function(){return this},e.prototype.pipe=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return(0===e.length?eP:1===e.length?e[0]:function(t){return e.reduce(function(e,t){return t(e)},t)})(this)},e.prototype.toPromise=function(e){var t=this;return new(e=eL(e))(function(e,r){var n;t.subscribe(function(e){return n=e},function(e){return r(e)},function(){return e(n)})})},e.create=function(t){return new e(t)},e}();function eL(e){var t;return null!==(t=null!=e?e:e_.Promise)&&void 0!==t?t:Promise}var eD=eg(function(e){return function(){e(this),this.name="EmptyError",this.message="no elements in sequence"}});function ez(e,t){var r="object"==typeof t;return new Promise(function(n,o){var i,s=!1;e.subscribe({next:function(e){i=e,s=!0},error:o,complete:function(){s?n(i):r?n(t.defaultValue):o(new eD)}})})}function eq(e){return function(t){if(ey(null==t?void 0:t.lift))return t.lift(function(t){try{return e(t,this)}catch(e){this.error(e)}});throw TypeError("Unable to lift unknown Observable type")}}var eW=function(e){function t(t,r,n,o,i,s){var a=e.call(this,t)||this;return a.onFinalize=i,a.shouldUnsubscribe=s,a._next=r?function(e){try{r(e)}catch(e){t.error(e)}}:e.prototype._next,a._error=o?function(e){try{o(e)}catch(e){t.error(e)}finally{this.unsubscribe()}}:e.prototype._error,a._complete=n?function(){try{n()}catch(e){t.error(e)}finally{this.unsubscribe()}}:e.prototype._complete,a}return ef(t,e),t.prototype.unsubscribe=function(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var r=this.closed;e.prototype.unsubscribe.call(this),r||null===(t=this.onFinalize)||void 0===t||t.call(this)}},t}(ek);function eH(e,t){return eq(function(r,n){var o=0;r.subscribe(new eW(n,function(r){n.next(e.call(t,r,o++))},void 0,void 0,void 0))})}function eV(e,t){return eq(function(r,n){var o=0;r.subscribe(new eW(n,function(r){return e.call(t,r,o++)&&n.next(r)},void 0,void 0,void 0))})}
11class e$ extends Error{constructor(e){let t=eJ(e);super(t.message),this.statusCode=400,Object.assign(this,t)}}class eZ extends Error{constructor(e){let t=eJ(e);super(t.message),this.statusCode=500,Object.assign(this,t)}}function eJ(e){let t=e.body,r={response:e,statusCode:e.statusCode,responseBody:function(e,t){let r=(t.headers["content-type"]||"").toLowerCase(),n=-1!==r.indexOf("application/json");return n?JSON.stringify(e,null,2):e}(t,e),message:"",details:void 0};if(t.error&&t.message)return r.message="".concat(t.error," - ").concat(t.message),r;if(eY(t)&&eY(t.error)&&"mutationError"===t.error.type&&"string"==typeof t.error.description){let e=t.error.items||[],n=e.slice(0,5).map(e=>{var t;return null==(t=e.error)?void 0:t.description}).filter(Boolean),o=n.length?":\n- ".concat(n.join("\n- ")):"";return e.length>5&&(o+="\n...and ".concat(e.length-5," more")),r.message="".concat(t.error.description).concat(o),r.details=t.error,r}return t.error&&t.error.description?(r.message=t.error.description,r.details=t.error,r):(r.message=t.error||t.message||function(e){let t=e.statusMessage?" ".concat(e.statusMessage):"";return"".concat(e.method,"-request to ").concat(e.url," resulted in HTTP ").concat(e.statusCode).concat(t)}(e),r)}function eY(e){return"object"==typeof e&&null!==e&&!Array.isArray(e)}let eK={onResponse:e=>{if(e.statusCode>=500)throw new eZ(e);if(e.statusCode>=400)throw new e$(e);return e}},eG={onResponse:e=>{let t=e.headers["x-sanity-warning"],r=Array.isArray(t)?t:[t];return r.filter(Boolean).forEach(e=>console.warn(e)),e}};function eX(e){if("string"==typeof e||Array.isArray(e))return{id:e};if("object"==typeof e&&null!==e&&"query"in e&&"string"==typeof e.query)return"params"in e&&"object"==typeof e.params&&null!==e.params?{query:e.query,params:e.params}:{query:e.query};throw Error("Unknown selection - must be one of:\n\n".concat("* Document ID (<docId>)\n* Array of document IDs\n* Object containing `query`"))}let eQ=["image","file"],e0=["before","after","replace"],e1=e=>{if(!/^(~[a-z0-9]{1}[-\w]{0,63}|[a-z0-9]{1}[-\w]{0,63})$/.test(e))throw Error("Datasets can only contain lowercase characters, numbers, underscores and dashes, and start with tilde, and be maximum 64 characters")},e2=e=>{if(!/^[-a-z0-9]+$/i.test(e))throw Error("`projectId` can only contain only a-z, 0-9 and dashes")},e3=e=>{if(-1===eQ.indexOf(e))throw Error("Invalid asset type: ".concat(e,". Must be one of ").concat(eQ.join(", ")))},e6=(e,t)=>{if(null===t||"object"!=typeof t||Array.isArray(t))throw Error("".concat(e,"() takes an object of properties"))},e5=(e,t)=>{if("string"!=typeof t||!/^[a-z0-9_][a-z0-9_.-]{0,127}$/i.test(t)||t.includes(".."))throw Error("".concat(e,'(): "').concat(t,'" is not a valid document ID'))},e8=(e,t)=>{if(!t._id)throw Error("".concat(e,'() requires that the document contains an ID ("_id" property)'));e5(e,t._id)},e4=(e,t,r)=>{let n="insert(at, selector, items)";if(-1===e0.indexOf(e)){let e=e0.map(e=>'"'.concat(e,'"')).join(", ");throw Error("".concat(n,' takes an "at"-argument which is one of: ').concat(e))}if("string"!=typeof t)throw Error("".concat(n,' takes a "selector"-argument which must be a string'));if(!Array.isArray(r))throw Error("".concat(n,' takes an "items"-argument which must be an array'))},e9=e=>{if(!e.dataset)throw Error("`dataset` must be provided to perform queries");return e.dataset||""},e7=e=>{if("string"!=typeof e||!/^[a-z0-9._-]{1,75}$/i.test(e))throw Error("Tag can only contain alphanumeric characters, underscores, dashes and dots, and be between one and 75 characters long.");return e},te=e=>{let{query:t,params:r={},options:n={}}=e,o=new URLSearchParams,{tag:i,...s}=n;for(let[e,n]of(i&&o.set("tag",i),o.set("query",t),Object.entries(r)))o.set("$".concat(e),JSON.stringify(n));for(let[e,t]of Object.entries(s))t&&o.set(e,"".concat(t));return"?".concat(o)};var tt=(e,t,r)=>{if(!t.has(e))throw TypeError("Cannot "+r)},tr=(e,t,r)=>(tt(e,t,"read from private field"),r?r.call(e):t.get(e)),tn=(e,t,r)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,r)},to=(e,t,r,n)=>(tt(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r);class ti{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.selection=e,this.operations=t}set(e){return this._assign("set",e)}setIfMissing(e){return this._assign("setIfMissing",e)}diffMatchPatch(e){return e6("diffMatchPatch",e),this._assign("diffMatchPatch",e)}unset(e){if(!Array.isArray(e))throw Error("unset(attrs) takes an array of attributes to unset, non-array given");return this.operations=Object.assign({},this.operations,{unset:e}),this}inc(e){return this._assign("inc",e)}dec(e){return this._assign("dec",e)}insert(e,t,r){return e4(e,t,r),this._assign("insert",{[e]:t,items:r})}append(e,t){return this.insert("after","".concat(e,"[-1]"),t)}prepend(e,t){return this.insert("before","".concat(e,"[0]"),t)}splice(e,t,r,n){let o=t<0?t-1:t,i=void 0===r||-1===r?-1:Math.max(0,t+r),s="".concat(e,"[").concat(o,":").concat(o<0&&i>=0?"":i,"]");return this.insert("replace",s,n||[])}ifRevisionId(e){return this.operations.ifRevisionID=e,this}serialize(){return{...eX(this.selection),...this.operations}}toJSON(){return this.serialize()}reset(){return this.operations={},this}_assign(e,t){let r=!(arguments.length>2)||void 0===arguments[2]||arguments[2];return e6(e,t),this.operations=Object.assign({},this.operations,{[e]:Object.assign({},r&&this.operations[e]||{},t)}),this}_set(e,t){return this._assign(e,t,!1)}}let ts=class extends ti{constructor(e,t,r){super(e,t),tn(this,p,void 0),to(this,p,r)}clone(){return new ts(this.selection,{...this.operations},tr(this,p))}commit(e){if(!tr(this,p))throw Error("No `client` passed to patch, either provide one or pass the patch to a clients `mutate()` method");let t="string"==typeof this.selection,r=Object.assign({returnFirst:t,returnDocuments:!0},e);return tr(this,p).mutate({patch:this.serialize()},r)}};p=new WeakMap;let ta=class extends ti{constructor(e,t,r){super(e,t),tn(this,d,void 0),to(this,d,r)}clone(){return new ta(this.selection,{...this.operations},tr(this,d))}commit(e){if(!tr(this,d))throw Error("No `client` passed to patch, either provide one or pass the patch to a clients `mutate()` method");let t="string"==typeof this.selection,r=Object.assign({returnFirst:t,returnDocuments:!0},e);return tr(this,d).mutate({patch:this.serialize()},r)}};d=new WeakMap;var tu=(e,t,r)=>{if(!t.has(e))throw TypeError("Cannot "+r)},tc=(e,t,r)=>(tu(e,t,"read from private field"),r?r.call(e):t.get(e)),tl=(e,t,r)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,r)},tf=(e,t,r,n)=>(tu(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r);let th={returnDocuments:!1};class tp{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;this.operations=e,this.trxId=t}create(e){return e6("create",e),this._add({create:e})}createIfNotExists(e){let t="createIfNotExists";return e6(t,e),e8(t,e),this._add({[t]:e})}createOrReplace(e){let t="createOrReplace";return e6(t,e),e8(t,e),this._add({[t]:e})}delete(e){return e5("delete",e),this._add({delete:{id:e}})}transactionId(e){return e?(this.trxId=e,this):this.trxId}serialize(){return[...this.operations]}toJSON(){return this.serialize()}reset(){return this.operations=[],this}_add(e){return this.operations.push(e),this}}let td=class extends tp{constructor(e,t,r){super(e,r),tl(this,y,void 0),tf(this,y,t)}clone(){return new td([...this.operations],tc(this,y),this.trxId)}commit(e){if(!tc(this,y))throw Error("No `client` passed to transaction, either provide one or pass the transaction to a clients `mutate()` method");return tc(this,y).mutate(this.serialize(),Object.assign({transactionId:this.trxId},th,e||{}))}patch(e,t){if("string"!=typeof e&&e instanceof ta)return this._add({patch:e.serialize()});if("function"==typeof t){let r=t(new ta(e,{},tc(this,y)));if(!(r instanceof ta))throw Error("function passed to `patch()` must return the patch");return this._add({patch:r.serialize()})}return this._add({patch:{id:e,...t}})}};y=new WeakMap;let ty=class extends tp{constructor(e,t,r){super(e,r),tl(this,g,void 0),tf(this,g,t)}clone(){return new ty([...this.operations],tc(this,g),this.trxId)}commit(e){if(!tc(this,g))throw Error("No `client` passed to transaction, either provide one or pass the transaction to a clients `mutate()` method");return tc(this,g).mutate(this.serialize(),Object.assign({transactionId:this.trxId},th,e||{}))}patch(e,t){if("string"!=typeof e&&e instanceof ts)return this._add({patch:e.serialize()});if("function"==typeof t){let r=t(new ts(e,{},tc(this,g)));if(!(r instanceof ts))throw Error("function passed to `patch()` must return the patch");return this._add({patch:r.serialize()})}return this._add({patch:{id:e,...t}})}};g=new WeakMap;let tg=(e,t)=>!1===e?void 0:void 0===e?t:e,tm=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{dryRun:e.dryRun,returnIds:!0,returnDocuments:tg(e.returnDocuments,!0),visibility:e.visibility||"sync",autoGenerateArrayKeys:e.autoGenerateArrayKeys,skipCrossDatasetReferenceValidation:e.skipCrossDatasetReferenceValidation}},tv=e=>"response"===e.type,tb=e=>e.body,tw=(e,t)=>e.reduce((e,r)=>(e[t(r)]=r,e),Object.create(null));function tC(e,t,r,n){let o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},i=!1===o.filterResponse?e=>e:e=>e.result;return tk(e,t,"query",{query:r,params:n},o).pipe(eH(i))}function t_(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o={uri:tB(e,"doc",r),json:!0,tag:n.tag};return tA(e,t,o).pipe(eV(tv),eH(e=>e.body.documents&&e.body.documents[0]))}function tE(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o={uri:tB(e,"doc",r.join(",")),json:!0,tag:n.tag};return tA(e,t,o).pipe(eV(tv),eH(e=>{let t=tw(e.body.documents||[],e=>e._id);return r.map(e=>t[e]||null)}))}function tS(e,t,r,n){return e8("createIfNotExists",r),tj(e,t,r,"createIfNotExists",n)}function tO(e,t,r,n){return e8("createOrReplace",r),tj(e,t,r,"createOrReplace",n
11)}function tx(e,t,r,n){return tk(e,t,"mutate",{mutations:[{delete:eX(r)}]},n)}function tT(e,t,r,n){let o;o=r instanceof ta||r instanceof ts?{patch:r.serialize()}:r instanceof td||r instanceof ty?r.serialize():r;let i=Array.isArray(o)?o:[o],s=n&&n.transactionId||void 0;return tk(e,t,"mutate",{mutations:i,transactionId:s},n)}function tk(e,t,r,n){let o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},i="mutate"===r,s=i?"":te(n),a=!i&&s.length<11264,u=o.returnFirst,{timeout:c,token:l,tag:f,headers:h}=o,p=tB(e,r,a?s:""),d={method:a?"GET":"POST",uri:p,json:!0,body:a?void 0:n,query:i&&tm(o),timeout:c,headers:h,token:l,tag:f,canUseCdn:"query"===r,signal:o.signal};return tA(e,t,d).pipe(eV(tv),eH(tb),eH(e=>{if(!i)return e;let t=e.results||[];if(o.returnDocuments)return u?t[0]&&t[0].document:t.map(e=>e.document);let r=u?t[0]&&t[0].id:t.map(e=>e.id);return{transactionId:e.transactionId,results:t,[u?"documentId":"documentIds"]:r}}))}function tj(e,t,r,n){let o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},i=Object.assign({returnFirst:!0,returnDocuments:!0},o);return tk(e,t,"mutate",{mutations:[{[n]:r}]},i)}function tA(e,t,r){var n;let o=r.url||r.uri,i=e.config(),s=void 0===r.canUseCdn?["GET","HEAD"].indexOf(r.method||"GET")>=0&&0===o.indexOf("/data/"):r.canUseCdn,a=i.useCdn&&s,u=r.tag&&i.requestTagPrefix?[i.requestTagPrefix,r.tag].join("."):r.tag||i.requestTagPrefix;u&&(r.query={tag:e7(u),...r.query});let c=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r={},n=t.token||e.token;n&&(r.Authorization="Bearer ".concat(n)),t.useGlobalApi||e.useProjectHostname||!e.projectId||(r["X-Sanity-Project-ID"]=e.projectId);let o=!!(void 0===t.withCredentials?e.token||e.withCredentials:t.withCredentials),i=void 0===t.timeout?e.timeout:t.timeout;return Object.assign({},t,{headers:Object.assign({},r,t.headers||{}),timeout:void 0===i?3e5:i,proxy:t.proxy||e.proxy,json:!0,withCredentials:o})}(i,Object.assign({},r,{url:tR(e,o,a)})),l=new eN(e=>t(c,i.requester).subscribe(e));return r.signal?l.pipe((n=r.signal,e=>new eN(t=>{let r=()=>t.error(function(e){var t,r;if(tF)return new DOMException(null!=(t=null==e?void 0:e.reason)?t:"The operation was aborted.","AbortError");let n=Error(null!=(r=null==e?void 0:e.reason)?r:"The operation was aborted.");return n.name="AbortError",n}(n));if(n&&n.aborted){r();return}let o=e.subscribe(t);return n.addEventListener("abort",r),()=>{n.removeEventListener("abort",r),o.unsubscribe()}}))):l}function tI(e,t,r){let n=tA(e,t,r).pipe(eV(e=>"response"===e.type),eH(e=>e.body));return n}function tB(e,t,r){let n=e.config(),o=e9(n),i="/".concat(t,"/").concat(o),s=r?"".concat(i,"/").concat(r):i;return"/data".concat(s).replace(/\/($|\?)/,"$1")}function tR(e,t){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],{url:n,cdnUrl:o}=e.config();return"".concat(r?o:n,"/").concat(t.replace(/^\//,""))}let tF=!!globalThis.DOMException;var tU=(e,t,r)=>{if(!t.has(e))throw TypeError("Cannot "+r)},tM=(e,t,r)=>(tU(e,t,"read from private field"),r?r.call(e):t.get(e)),tP=(e,t,r)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,r)}
11,tN=(e,t,r,n)=>(tU(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r);class tL{constructor(e,t){tP(this,m,void 0),tP(this,v,void 0),tN(this,m,e),tN(this,v,t)}upload(e,t,r){return tz(tM(this,m),tM(this,v),e,t,r)}}m=new WeakMap,v=new WeakMap;class tD{constructor(e,t){tP(this,b,void 0),tP(this,w,void 0),tN(this,b,e),tN(this,w,t)}upload(e,t,r){let n=tz(tM(this,b),tM(this,w),e,t,r);return ez(n.pipe(eV(e=>"response"===e.type),eH(e=>e.body.document)))}}function tz(e,t,r,n){let o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};e3(r);let i=o.extract||void 0;i&&!i.length&&(i=["none"]);let s=e9(e.config()),a="undefined"!=typeof File&&n instanceof File?Object.assign({filename:!1===o.preserveFilename?void 0:n.name,contentType:n.type},o):o,{tag:u,label:c,title:l,description:f,creditLine:h,filename:p,source:d}=a,y={label:c,title:l,description:f,filename:p,meta:i,creditLine:h};return d&&(y.sourceId=d.id,y.sourceName=d.name,y.sourceUrl=d.url),tA(e,t,{tag:u,method:"POST",timeout:a.timeout||0,uri:"/assets/".concat("image"===r?"images":"files","/").concat(s),headers:a.contentType?{"Content-Type":a.contentType}:{},query:y,body:n})}function tq(e){return"https://www.sanity.io/help/"+e}b=new WeakMap,w=new WeakMap;let tW=e=>{var t;let r,n;return t=function(){for(var t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];return console.warn(e.join(" "),...r)},n=!1,function(){return n||(r=t(...arguments),n=!0),r}},tH=tW(["You are not using the Sanity CDN. That means your data is always fresh, but the CDN is faster and","cheaper. Think about it! For more info, see ".concat(tq("js-client-cdn-configuration")," "),"To hide this warning, please set the `useCdn` option to either `true` or `false` when creating","the client."]),tV=tW(["You have configured Sanity client to use a token in the browser. This may cause unintentional security issues.","See ".concat(tq("js-client-browser-token")," for more information and how to hide this warning.")]),t$=tW(["Using the Sanity client without specifying an API version is deprecated.","See ".concat(tq("js-client-api-version"))]);tW(["The default export of @sanity/client has been deprecated. Use the named export `createClient` instead"]);let tZ={apiHost:"https://api.sanity.io",apiVersion:"1",useProjectHostname:!0},tJ=["localhost","127.0.0.1","0.0.0.0"],tY=e=>-1!==tJ.indexOf(e),tK=function(e){if("1"===e||"X"===e)return;let t=new Date(e),r=/^\d{4}-\d{2}-\d{2}$/.test(e)&&t instanceof Date&&t.getTime()>0;if(!r)throw Error("Invalid API version string, expected `1` or date in format `YYYY-MM-DD`")},tG=(e,t)=>{let r=Object.assign({},t,e);r.apiVersion||t$();let n=Object.assign({},tZ,r),o=n.useProjectHostname;if("undefined"==typeof Promise){let e=tq("js-client-promise-polyfill");throw Error("No native Promise-implementation found, polyfill needed - see ".concat(e))}if(o&&!n.projectId)throw Error("Configuration must contain `projectId`");let i="undefined"!=typeof window&&window.location&&window.location.hostname,s=i&&tY(window.location.hostname);i&&s&&n.token&&!0!==n.ignoreBrowserTokenWarning?tV():void 0===n.useCdn&&tH(),o&&e2(n.projectId),n.dataset&&e1(n.dataset),"requestTagPrefix"in n&&(n.requestTagPrefix=n.requestTagPrefix?e7(n.requestTagPrefix).replace(/\.+$/,""):void 0),n.apiVersion="".concat(n.apiVersion).replace(/^v/,""),n.isDefaultApi=n.apiHost===tZ.apiHost,n.useCdn=!!n.useCdn&&!n.withCredentials,tK(n.apiVersion);let a=n.apiHost.split("://",2),u=a[0],c=a[1],l=n.isDefaultApi?"apicdn.sanity.io":c;return n.useProjectHostname?(n.url="".concat(u,"://").concat(n.projectId,".").concat(c,"/v").concat(n.apiVersion),n.cdnUrl="".concat(u,"://").concat(n.projectId,".").concat(l,"/v").concat(n.apiVersion)):(n.url="".concat(n.apiHost,"/v").concat(n.apiVersion),n.cdnUrl=n.url),n};var tX=(e,t)=>Object.keys(t).concat(Object.keys(e)).reduce((r,n)=>(r[n]=void 0===e[n]?t[n]:e[n],r),{});let tQ=(e,t)=>t.reduce((t,r)=>(void 0===e[r]||(t[r]=e[r]),t),{}),t0=["includePreviousRevision","includeResult","visibility","effectFormat","tag"],t1={includeResult:!0};function t2(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{url:o,token:i,withCredentials:s,requestTagPrefix:a}=this.config(),u=n.tag&&a?[a,n.tag].join("."):n.tag,c={...tX(n,t1),tag:u},l=tQ(c,t0),f=te({query:e,params:t,options:{tag:u,...l}}),h="".concat(o).concat(tB(this,"listen",f));if(h.length>14800)return new eN(e=>e.error(Error("Query too large for listener")));let p=c.events?c.events:["mutation"],d=-1!==p.indexOf("reconnect"),y={};return(i||s)&&(y.withCredentials=!0),i&&(y.headers={Authorization:"Bearer ".concat(i)}),new eN(e=>{let t,n;l().then(e=>{t=e}).catch(t=>{e.error(t),g()});let o=!1;function i(){!o&&(d&&e.next({type:"reconnect"}),o||t.readyState!==t.CLOSED||(c(),clearTimeout(n),n=setTimeout(f,100)))}function s(t){e.error(function(e){if(e instanceof Error)return e;let t=t3(e);return t instanceof Error?t:Error(t.error?t.error.description?t.error.description:"string"==typeof t.error?t.error:JSON.stringify(t.error,null,2):t.message||"Unknown listener error")}(t))}function a(t){let r=t3(t);return r instanceof Error?e.error(r):e.next(r)}function u(){o=!0,c(),e.complete()}function c(){t&&(t.removeEventListener("error",i),t.removeEventListener("channelError",s),t.removeEventListener("disconnect",u),p.forEach(e
11=>t.removeEventListener(e,a)),t.close())}async function l(){let{default:e}=await r.e(699).then(r.t.bind(r,3699,19)),t=new e(h,y);return t.addEventListener("error",i),t.addEventListener("channelError",s),t.addEventListener("disconnect",u),p.forEach(e=>t.addEventListener(e,a)),t}function f(){l().then(e=>{t=e}).catch(t=>{e.error(t),g()})}function g(){o=!0,c()}return g})}function t3(e){try{let t=e.data&&JSON.parse(e.data)||{};return Object.assign({type:e.type},t)}catch(e){return e}}var t6=(e,t,r)=>{if(!t.has(e))throw TypeError("Cannot "+r)},t5=(e,t,r)=>(t6(e,t,"read from private field"),r?r.call(e):t.get(e)),t8=(e,t,r)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,r)},t4=(e,t,r,n)=>(t6(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r);class t9{constructor(e,t){t8(this,C,void 0),t8(this,_,void 0),t4(this,C,e),t4(this,_,t)}create(e,t){return re(t5(this,C),t5(this,_),"PUT",e,t)}edit(e,t){return re(t5(this,C),t5(this,_),"PATCH",e,t)}delete(e){return re(t5(this,C),t5(this,_),"DELETE",e)}list(){return tI(t5(this,C),t5(this,_),{uri:"/datasets"})}}C=new WeakMap,_=new WeakMap;class t7{constructor(e,t){t8(this,E,void 0),t8(this,S,void 0),t4(this,E,e),t4(this,S,t)}create(e,t){return ez(re(t5(this,E),t5(this,S),"PUT",e,t))}edit(e,t){return ez(re(t5(this,E),t5(this,S),"PATCH",e,t))}delete(e){return ez(re(t5(this,E),t5(this,S),"DELETE",e))}list(){return ez(tI(t5(this,E),t5(this,S),{uri:"/datasets"}))}}function re(e,t,r,n,o){return e1(n),tI(e,t,{method:r,uri:"/datasets/".concat(n),body:o})}E=new WeakMap,S=new WeakMap;var rt=(e,t,r)=>{if(!t.has(e))throw TypeError("Cannot "+r)},rr=(e,t,r)=>(rt(e,t,"read from private field"),r?r.call(e):t.get(e)),rn=(e,t,r)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,r)},ro=(e,t,r,n)=>(rt(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r);class ri{constructor(e,t){rn(this,O,void 0),rn(this,x,void 0),ro(this,O,e),ro(this,x,t)}list(){return tI(rr(this,O),rr(this,x),{uri:"/projects"})}getById(e){return tI(rr(this,O),rr(this,x),{uri:"/projects/".concat(e)})}}O=new WeakMap,x=new WeakMap;class rs{constructor(e,t){rn(this,T,void 0),rn(this,k,void 0),ro(this,T,e),ro(this,k,t)}list(){return ez(tI(rr(this,T),rr(this,k),{uri:"/projects"}))}getById(e){return ez(tI(rr(this,T),rr(this,k),{uri:"/projects/".concat(e)}))}}T=new WeakMap,k=new WeakMap;var ra=(e,t,r)=>{if(!t.has(e))throw TypeError("Cannot "+r)},ru=(e,t,r)=>(ra(e,t,"read from private field"),r?r.call(e):t.get(e)),rc=(e,t,r)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,r)},rl=(e,t,r,n)=>(ra(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r);class rf{constructor(e,t){rc(this,j,void 0),rc(this,A,void 0),rl(this,j,e),rl(this,A,t)}getById(e){return tI(ru(this,j),ru(this,A),{uri:"/users/".concat(e)})}}j=new WeakMap,A=new WeakMap;class rh{constructor(e,t){rc(this,I,void 0),rc(this,B,void 0),rl(this,I,e),rl(this,B,t)}getById(e){return ez(tI(ru(this,I),ru(this,B),{uri:"/users/".concat(e)}))}}I=new WeakMap,B=new WeakMap;var rp=(e,t,r)=>{if(!t.has(e))throw TypeError("Cannot "+r)},rd=(e,t,r)=>(rp(e,t,"read from private field"),r?r.call(e):t.get(e)),ry=(e,t,r)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,r)},rg=(e,t,r,n)=>(rp(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r);let rm=class{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:tZ;ry(this,R,void 0),ry(this,F,void 0),this.listen=t2,this.config(t),rg(this,F,e),this.assets=new tL(this,rd(this,F)),this.datasets=new t9(this,rd(this,F)),this.projects=new ri(this,rd(this,F)),this.users=new rf(this,rd(this,F))}clone(){return new rm(rd(this,F),this.config())}config(e){if(void 0===e)return{...rd(this,R)};if(rd(this,R)&&!1===rd(this,R).allowReconfigure)throw Error("Existing client instance cannot be reconfigured - use `withConfig(newConfig)` to return a new client");return rg(this,R,tG(e,rd(this,R)||{})),this}withConfig(e){return new rm(rd(this,F),{...this.config(),...e})}fetch(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return tC(this,rd(this,F),e,t,r)}getDocument(e,t){return t_(this,rd(this,F),e,t)}getDocuments(e,t){return tE(this,rd(this,F),e,t)}create(e,t){return tj(this,rd(this,F),e,"create",t)}createIfNotExists(e,t){return tS(this,rd(this,F),e,t)}createOrReplace(e,t){return tO(this,rd(this,F),e,t)}delete(e,t){return tx(this,rd(this,F),e,t)}mutate(e,t){return tT(this,rd(this,F),e,t)}patch(e,t){return new ts(e,t,this)}transaction(e){return new ty(e,this)}request(e){return tI(this,rd(this,F),e)}getUrl(e,t){return tR(this,e,t)}getDataUrl(e,t){return tB(this,e,t)}};R=new WeakMap,F=new WeakMap;let rv=class{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:tZ;ry(this,U,void 0),ry(this,M,void 0),this.listen=t2,this.config(t),rg(this,M,e),this.assets=new tD(this,rd(this,M)),this.datasets=new t7(this,rd(this,M)),this.projects=new rs(this,rd(this,M)),this.users=new rh(this,rd(this,M)),this.observable=new rm(e,t)}clone(){return new rv(rd(this,M),this.config())}config(e){if(void 0===e)return{...rd(this,U)};if(rd(this,U)&&!1===rd(this,U).allowReconfigure)throw Error("Existing client instance cannot be reconfigured - use `withConfig(newConfig)` to return a new client");return this.observable&&this.observable.config(e),rg(this,U,tG(e,rd(this,U)||{})),this}withConfig(e){return new rv(rd(this,M),{...this.config(),...e})}fetch(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return ez(tC(this,rd(this,M),e,t,r))}getDocument(e,t){return ez(t_(this,rd(this,M),e,t))}getDocuments(e,t){return ez(tE(this,rd(this,M),e,t))}create(e,t){return ez(tj(this,rd(this,M),e,"create",t))}createIfNotExists(e,t){return ez(tS(this,rd(this,M),e,t))}createOrReplace(e,t){return ez(tO(this,rd(this,M),e,t))}delete(e,t){return ez(tx(this,rd(this,M),e,t))}mutate(e,t){return ez(tT(this,rd(this,M),e,t))}patch(e,t){return new ta(e,t,this)}transaction(e){return new td(e,this)}request(e){return ez(tI(this,rd(this,M),e))}dataRequest(e,t,r){return ez(tk(this,rd(this,M),e,t,r))}getUrl(e,t){return tR(this,e,t)}getDataUrl(e,t){return tB(this,e,t)}};U=new WeakMap,M=new WeakMap;let rb=function(e){var t;let r=J([...e,eG,{processOptions:e=>{var t,r;let n=e.body;if(!n)return e;let o="function"==typeof n.pipe,i=!o&&!G(n)&&(-1!==X.indexOf(typeof n)||Array.isArray(n)||
11!1!==Y(n)&&(void 0===(t=n.constructor)||!1!==Y(r=t.prototype)&&!1!==r.hasOwnProperty("isPrototypeOf")));return i?Object.assign({},e,{body:JSON.stringify(e.body),headers:Object.assign({},e.headers,{"Content-Type":"application/json"})}):e}},{onResponse:e=>{let r=e.headers["content-type"]||"",n=t&&t.force||-1!==r.indexOf("application/json");return e.body&&r&&n?Object.assign({},e,{body:function(e){try{return JSON.parse(e)}catch(e){throw e.message="Failed to parsed response body as JSON: ".concat(e.message),e}}(e.body)}):e},processOptions:e=>Object.assign({},e,{headers:Object.assign({Accept:"application/json"},e.headers)})},{onRequest:e=>{if("xhr"!==e.adapter)return;let t=e.request,r=e.context;function n(e){return t=>{let n=t.lengthComputable?t.loaded/t.total*100:-1;r.channels.progress.publish({stage:e,percent:n,total:t.total,loaded:t.loaded,lengthComputable:t.lengthComputable})}}"upload"in t&&"onprogress"in t.upload&&(t.upload.onprogress=n("upload")),"onprogress"in t&&(t.onprogress=n("download"))}},eK,function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.implementation||Q.Observable;if(!t)throw Error("`Observable` is not available in global scope, and no implementation was passed");return{onReturn:(e,r)=>new t(t=>(e.error.subscribe(e=>t.error(e)),e.progress.subscribe(e=>t.next(Object.assign({type:"progress"},e))),e.response.subscribe(e=>{t.next(Object.assign({type:"response"},e)),t.complete()}),e.request.publish(r),()=>e.abort.publish()))}}({implementation:eN})]);function n(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r;return t({maxRedirects:0,...e})}return n.defaultRequester=r,n}([]);rb.defaultRequester,r(5502);var rw=r(4155);let rC="h23dtn7p",r_="production",rE="true"===rw.env.NEXT_PUBLIC_SANITY_USE_CDN,rS={projectId:rC,dataset:r_,apiVersion:"2022-11-15",useCdn:rE},rO=new rv(rb,rS)},7117:function(e,t,r){"use strict";r.d(t,{Cx:function(){return f},hb:function(){return c},yf:function(){return l}});var n=r(2729),o=r(7288);function i(){let e=(0,n._)(['\n*[_type == "settings" && title == "KAI"][0] {\n ...,\n "bloques": bloques[] -> {\n _type,\n (_type == "bloquesimple") => {\n title,\n body\n },\n (_type == "bloque") => {\n slug{current},\n "bodyBloque": body[]{ children[0]{ text }\n } \n }\n }\n}\n']);return i=function(){return e},e}function s(){let e=(0,n._)(['\n *[_type == "settings" && title == "Contact footer"][0] {\n ...,\n }\n']);return s=function(){return e},e}function a(){let e=(0,n._)(['\n *[_type == "settings" && title == "Cookies"][0] {\n ...,\n }\n']);return a=function(){return e},e}function u(){let e=(0,n._)(['\n*[_type == "settings" && title == "Twitch online"] {\n ...\n }\n']);return u=function(){return e},e}(0,o.Z)(i());let c=(0,o.Z)(s()),l=(0,o.Z)(a()),f=(0,o.Z)(u())},5502:function(e,t,r){"use strict";r.d(t,{bI:function(){return v},et:function(){return b},wx:function(){return _}});var n=r(2729),o=r(7288);function i(){let e=(0,n._)(['\n ...,\n _id,\n title,\n date,\n shortBody,\n body,\n mainImage {\n asset-> {\n _id,\n url\n }\n },\n "slug": slug.current,\n "author": author->{name, image { asset -> { _id, url } } },\n']);return i=function(){return e},e}function s(){let e=(0,n._)(['*[_type == "settings"][0]']);return s=function(){return e},e}function a(){let e=(0,n._)(['\n*[_type == "post"] | order(date desc, _updatedAt desc) {\n ',"\n}"]);return a=function(){return e},e}function u(){let e=(0,n._)(['\n{\n "post": *[_type == "post" && slug.current == $slug] | order(_updatedAt desc) [0] {\n content,\n ','\n },\n "morePosts": *[_type == "post" && slug.current != $slug && publishedAt < now()] | order(date desc, _updatedAt desc) [0...$limit] {\n content,\n ',"\n }\n}"]);return u=function(){return e},e}function c(){let e=(0,n._)(['\n*[_type == "post" && defined(slug.current)][].slug.current\n']);return c=function(){return e},e}function l(){let e=(0,n._)(['\n*[_type == "post" && slug.current == $slug][0] {\n ',"\n}\n"]);return l=function(){return e},e}function f(){let e=(0,n._)(['\n *[_type == "post" && publishedAt < now()] | order(publishedAt desc) {\n _id,\n title,\n publishedAt,\n slug {\n current\n },\n shortBody,\n body,\n category {\n title\n },\n mainImage {\n asset-> {\n _id,\n url\n }\n }\n }\n']);return f=function(){return e},e}function h(){let e=(0,n._)(["\n*[_type == \"post\" && slug.current == $slug][0] {\n ...,\n _id,\n title,\n slug {\n current\n },\n seo {\n ...,\n \"image\": image.asset-> {\n url\n },\n },\n shortBody,\n body[] {\n ...,\n (_type == 'blockCallout') => {\n links[0] {\n ...,\n (_type == 'linkInternal') => {\n reference -> {\n _type,\n slug { current }\n }\n },\n },\n },\n },\n author-> {\n name,\n image {\n asset-> {\n _id,\n url\n }\n }\n },\n categories[0]-> {\n title\n },\n mainImage {\n asset-> {\n _id,\n url\n }\n }\n}\n"]);return h=function(){return e},e}function p(){let e=(0,n._)(['\n *[_type == "page" && string::startsWith(slug.current, $slug)][].slug.current\n']);return p=function(){return e},e}function d(){let e=(0,n._)(["\n callToAction {\n links[0] {\n ...,\n (_type == 'linkInternal') => {\n reference -> {\n _type,\n slug {\n current\n },\n },\n },\n }\n },\n"]);return d=function(){return e},e}function y(){let e=(0,n._)(["\n _id,\n _type,\n title,\n styleclass,\n component,\n marqueeMobile,\n slug { current },\n body[] {\n ...,\n (_type == 'blockImages') => {\n ...,\n modules[] {\n ...,\n ","\n }\n },\n (_type == 'blockCallout') => {\n links[0] {\n ...,\n (_type == 'linkInternal') => {\n reference -> {\n _type,\n slug { current }\n }\n },\n },\n },\n }\n"]);return y=function(){return e},e}function g(){let e=(0,n._)(['\n*[_type == "page" && slug.current == $slug][0] {\n _id,\n _type,\n title,\n seo {\n ...,\n "image": image.asset-> {\n url\n },\n },\n styleclass,\n slug { current },\n herosection[]->{\n // ...,\n _id,\n _type,\n name,\n bgBrightness,\n heroStyle,\n stylelayout,\n styleclass,\n styleimg,\n slug { current },\n video {\n ...,\n mux {\n ...,\n asset-> {\n playbackId\n }\n }\n },\n image {\n asset-> {\n url\n }\n },\n smallimage {\n asset-> {\n url\n }\n },\n bloques[]-> {\n ...,\n ',"\n },\n },\n sections[]-> {\n _id,\n _type,\n title,\n sectionStyle,\n stylelayout,\n styleclasstitle,\n styleclass,\n slug { current },\n linkCollection-> {\n slug {\n _type,\n current\n }\n },\n collections[]-> {\n // ...,\n _id,\n styleclass,\n slug,\n (_type == 'page') => {\n _id,\n _type,\n title,\n image,\n shortBody,\n slug {\n current\n }\n },\n (_type == 'author') => {\n name,\n cargo,\n bio,\n linkedIn,\n tiktok,\n instagram,\n twitter,\n youtube,\n image {\n asset-> {\n url\n }\n },\n },\n },\n bloques[]-> {\n _id,\n _type,\n title,\n styleclass,\n component,\n marqueeMobile,\n slug { current },\n body[] {\n ...,\n (_type == 'blockCallout') => {\n links[0] {\n ...,\n (_type == 'linkInternal') => {\n reference -> {\n _type,\n slug { current }\n }\n },\n },\n },\n (_type == 'blockImages') => {\n modules[] {\n ...,\n ","\n image {\n asset-> {\n extension,\n url\n }\n }\n }\n },\n }\n },\n }\n}\n"]);return g=function(){return e},e}let m=(0,o.Z)(i());(0,o.Z)(s()),(0,o.Z)(a(),m),(0,o.Z)(u(),m,m),(0,o.Z)(c()),(0,o.Z)(l(),m);let v=(0,o.Z)(f()),b=(0,o.Z)(h());(0,o.Z)(p());let w=(0,o.Z)(d()),C=(0,o.Z)(y(),w),_=(0,o.Z)(g(),C,w)},5759:function(){},3614:function(e){e.exports={style:{fontFamily:"'__Inter_0ec1f4', '__Inter_Fallback_0ec1f4'",fontStyle:"normal"},className:"__className_0ec1f4",variable:"__variable_0ec1f4"}},2630:function(e){e.exports={style:{fontFamily:"'__myFont_dfd88f', '__myFont_Fallback_dfd88f'"},className:"__className_dfd88f",variable:"__variable_dfd88f"}},1664:function(e,t,r){e.exports=r(8418)},1163:function(e,t,r){e.exports=r(387)},4298:function(e,t,r){e.exports=r(699)},4947:function(e){var t=function(e){return e.replace(/^\s+|\s+$/g,"")};e.exports=function(e){if(!e)return{};for(var r={},n=t(e).split("\n"),o=0;o<n.length;o++){var i,s=n[o],a=s.indexOf(":"),u=t(s.slice(0,a)).toLowerCase(),c=t(s.slice(a+1));void 0===r[u]?r[u]=c:(i=r[u],"[object Array]"===Object.prototype.toString.call(i))?r[u].push(c):r[u]=[r[u],c]}return r}},4155:function(e){var t,r,n,o=e.exports={};function i(){throw Error("setTimeout has not been defined")}function s(){throw Error("clearTimeout has not been defined")}function a(e){if(t===setTimeout)return setTimeout(e,0);if((t===i||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(r){try{return t.call(null,e,0)}catch(r){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:i}catch(e){t=i}try{r="function"==typeof clearTimeout?clearTimeout:s}
11catch(e){r=s}}();var u=[],c=!1,l=-1;function f(){c&&n&&(c=!1,n.length?u=n.concat(u):l=-1,u.length&&h())}function h(){if(!c){var e=a(f);c=!0;for(var t=u.length;t;){for(n=u,u=[];++l<t;)n&&n[l].run();l=-1,t=u.length}n=null,c=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===s||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function p(e,t){this.fun=e,this.array=t}function d(){}o.nextTick=function(e){var t=Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];u.push(new p(e,t)),1!==u.length||c||a(h)},p.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=d,o.addListener=d,o.once=d,o.off=d,o.removeListener=d,o.removeAllListeners=d,o.emit=d,o.prependListener=d,o.prependOnceListener=d,o.listeners=function(e){return[]},o.binding=function(e){throw Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw Error("process.chdir is not supported")},o.umask=function(){return 0}},2729:function(e,t,r){"use strict";function n(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}r.d(t,{_:function(){return n}})}},function(e){var t=function(t){return e(e.s=t)};e.O(0,[774,179],function(){return t(6840),t(387)}),_N_E=e.O()}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.