1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[888],{242:function(e,t,n){var r={"./da/common":[7682,682],"./da/common.json":[7682,682],"./de/common":[1545,545],"./de/common.json":[1545,545],"./en/common":[464,464],"./en/common.json":[464,464],"./es/common":[357,357],"./es/common.json":[357,357],"./fr/common":[5167,167],"./fr/common.json":[5167,167],"./no/common":[399,399],"./no/common.json":[399,399],"./sv/common":[6504,504],"./sv/common.json":[6504,504]};function o(e){if(!n.o(r,e))return Promise.resolve().then((function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}));var t=r[e],o=t[0];return n.e(t[1]).then((function(){return n.t(o,19)}))}o.keys=function(){return Object.keys(r)},o.id=242,e.exports=o},1819:function(e,t,n){"use strict";n.d(t,{D:function(){return c}});var r=Object.prototype,o=r.toString,i=r.hasOwnProperty,a=Function.prototype.toString,s=new Map;function c(e,t){try{return u(e,t)}finally{s.clear()}}function u(e,t){if(e===t)return!0;var n=o.call(e);if(n!==o.call(t))return!1;switch(n){case"[object Array]":if(e.length!==t.length)return!1;case"[object Object]":if(p(e,t))return!0;var r=l(e),s=l(t),c=r.length;if(c!==s.length)return!1;for(var f=0;f<c;++f)if(!i.call(t,r[f]))return!1;for(f=0;f<c;++f){var d=r[f];if(!u(e[d],t[d]))return!1}return!0;case"[object Error]":return e.name===t.name&&e.message===t.message;case"[object Number]":if(e!==e)return t!==t;case"[object Boolean]":case"[object Date]":return+e===+t;case"[object RegExp]":case"[object String]":return e=="".concat(t);case"[object Map]":case"[object Set]":if(e.size!==t.size)return!1;if(p(e,t))return!0;for(var g=e.entries(),y="[object Map]"===n;;){var v=g.next();if(v.done)break;var m=v.value,b=m[0],_=m[1];if(!t.has(b))return!1;if(y&&!u(_,t.get(b)))return!1}return!0;case"[object Uint16Array]":case"[object Uint8Array]":case"[object Uint32Array]":case"[object Int32Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object ArrayBuffer]":e=new Uint8Array(e),t=new Uint8Array(t);case"[object DataView]":var T=e.byteLength;if(T===t.byteLength)for(;T--&&e[T]===t[T];);return-1===T;case"[object AsyncFunction]":case"[object GeneratorFunction]":case"[object AsyncGeneratorFunction]":case"[object Function]":var w=a.call(e);return w===a.call(t)&&!function(e,t){var n=e.length-t.length;return n>=0&&e.indexOf(t,n)===n}(w,h)}return!1}function l(e){return Object.keys(e).filter(f,e)}function f(e){return void 0!==this[e]}var h="{ [native code] }";function p(e,t){var n=s.get(e);if(n){if(n.has(t))return!0}else s.set(e,n=new Set);return n.add(t),!1}},3573:function(e,t,n){"use strict";e=n.nmd(e);const r=(e,t)=>(...n)=>`\x1b[${e(...n)+t}m`,o=(e,t)=>(...n)=>{const r=e(...n);return`\x1b[${38+t};5;${r}m`},i=(e,t)=>(...n)=>{const r=e(...n);return`\x1b[${38+t};2;${r[0]};${r[1]};${r[2]}m`},a=e=>e,s=(e,t,n)=>[e,t,n],c=(e,t,n)=>{Object.defineProperty(e,t,{get:()=>{const r=n();return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0}),r},enumerable:!0,configurable:!0})};let u;const l=(e,t,r,o)=>{void 0===u&&(u=n(8449));const i=o?10:0,a={};for(const[n,s]of Object.entries(u)){const o="ansi16"===n?"ansi":n;n===t?a[o]=e(r,i):"object"===typeof s&&(a[o]=e(s[t],i))}return a};Object.defineProperty(e,"exports",{enumerable:!0,get:function(){const e=new Map,t={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};t.color.gray=t.color.blackBright,t.bgColor.bgGray=t.bgColor.bgBlackBright,t.color.grey=t.color.blackBright,t.bgColor.bgGrey=t.bgColor.bgBlackBright;for(const[n,r]of Object.entries(t)){for(const[n,o]of Object.entries(r))t[n]={open:`\x1b[${o[0]}m`,close:`\x1b[${o[1]}m`},r[n]=t[n],e.set(o[0],o[1]);Object.defineProperty(t,n,{value:r,enumerable:!1})}return Object.defineProperty(t,"codes",{value:e,enumerable:!1}),t.color.close="\x1b[39m",t.bgColor.close="\x1b[49m",c(t.color,"ansi",(()=>l(r,"ansi16",a,!1))),c(t.color,"ansi256",(()=>l(o,"ansi256",a,!1))),c(t.color,"ansi16m",(()=>l(i,"rgb",s,!1))),c(t.bgColor,"ansi",(()=>l(r,"ansi16",a,!0))),c(t.bgColor,"ansi256",(()=>l(o,"ansi256",a,!0))),c(t.bgColor,"ansi16m",(()=>l(i,"rgb",s,!0))),t}}
vendor: 7,988 bytes, line 1
1)},2224:function(e,t){"use strict";t.byteLength=function(e){var t=c(e),n=t[0],r=t[1];return 3*(n+r)/4-r},t.toByteArray=function(e){var t,n,i=c(e),a=i[0],s=i[1],u=new o(function(e,t,n){return 3*(t+n)/4-n}(0,a,s)),l=0,f=s>0?a-4:a;for(n=0;n<f;n+=4)t=r[e.charCodeAt(n)]<<18|r[e.charCodeAt(n+1)]<<12|r[e.charCodeAt(n+2)]<<6|r[e.charCodeAt(n+3)],u[l++]=t>>16&255,u[l++]=t>>8&255,u[l++]=255&t;2===s&&(t=r[e.charCodeAt(n)]<<2|r[e.charCodeAt(n+1)]>>4,u[l++]=255&t);1===s&&(t=r[e.charCodeAt(n)]<<10|r[e.charCodeAt(n+1)]<<4|r[e.charCodeAt(n+2)]>>2,u[l++]=t>>8&255,u[l++]=255&t);return u},t.fromByteArray=function(e){for(var t,r=e.length,o=r%3,i=[],a=16383,s=0,c=r-o;s<c;s+=a)i.push(u(e,s,s+a>c?c:s+a));1===o?(t=e[r-1],i.push(n[t>>2]+n[t<<4&63]+"==")):2===o&&(t=(e[r-2]<<8)+e[r-1],i.push(n[t>>10]+n[t>>4&63]+n[t<<2&63]+"="));return i.join("")};for(var n=[],r=[],o="undefined"!==typeof Uint8Array?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,s=i.length;a<s;++a)n[a]=i[a],r[i.charCodeAt(a)]=a;function c(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}function u(e,t,r){for(var o,i,a=[],s=t;s<r;s+=3)o=(e[s]<<16&16711680)+(e[s+1]<<8&65280)+(255&e[s+2]),a.push(n[(i=o)>>18&63]+n[i>>12&63]+n[i>>6&63]+n[63&i]);return a.join("")}r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63},8612:function(e,t,n){"use strict";var r=n(2224),o=n(4201),i="function"===typeof Symbol&&"function"===typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;t.Buffer=c,t.SlowBuffer=function(e){+e!=e&&(e=0);return c.alloc(+e)},t.INSPECT_MAX_BYTES=50;var a=2147483647;function s(e){if(e>a)throw new RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,c.prototype),t}function c(e,t,n){if("number"===typeof e){if("string"===typeof t)throw new TypeError('The "string" argument must be of type string. Received type number');return f(e)}return u(e,t,n)}function u(e,t,n){if("string"===typeof e)return function(e,t){"string"===typeof t&&""!==t||(t="utf8");if(!c.isEncoding(t))throw new TypeError("Unknown encoding: "+t);var n=0|g(e,t),r=s(n),o=r.write(e,t);o!==n&&(r=r.slice(0,o));return r}(e,t);if(ArrayBuffer.isView(e))return function(e){if(U(e,Uint8Array)){var t=new Uint8Array(e);return p(t.buffer,t.byteOffset,t.byteLength)}return h(e)}(e);if(null==e)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(U(e,ArrayBuffer)||e&&U(e.buffer,ArrayBuffer))return p(e,t,n);if("undefined"!==typeof SharedArrayBuffer&&(U(e,SharedArrayBuffer)||e&&U(e.buffer,SharedArrayBuffer)))return p(e,t,n);if("number"===typeof e)throw new TypeError('The "value" argument must not be of type number. Received type number');var r=e.valueOf&&e.valueOf();if(null!=r&&r!==e)return c.from(r,t,n);var o=function(e){if(c.isBuffer(e)){var t=0|d(e.length),n=s(t);return 0===n.length||e.copy(n,0,0,t),n}if(void 0!==e.length)return"number"!==typeof e.length||B(e.length)?s(0):h(e);if("Buffer"===e.type&&Array.isArray(e.data))return h(e.data)}(e);if(o)return o;if("undefined"!==typeof Symbol&&null!=Symbol.toPrimitive&&"function"===typeof e[Symbol.toPrimitive])return c.from(e[Symbol.toPrimitive]("string"),t,n);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function l(e){if("number"!==typeof e)throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function f(e){return l(e),s(e<0?0:0|d(e))}function h(e){for(var t=e.length<0?0:0|d(e.length),n=s(t),r=0;r<t;r+=1)n[r]=255&e[r];return n}function p(e,t,n){if(t<0||e.byteLength<t)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(n||0))throw new RangeError('"length" is outside of buffer bounds');var r;return r=void 0===t&&void 0===n?new Uint8Array(e):void 0===n?new Uint8Array(e,t):new Uint8Array(e,t,n),Object.setPrototypeOf(r,c.prototype),r}function d(e){if(e>=a)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a.toString(16)+" bytes");return 0|e}function g(e,t){if(c.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||U(e,ArrayBuffer))return e.byteLength;if("string"!==typeof e)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var n=e.length,r=arguments.length>2&&!0===arguments[2];if(!r&&0===n)return 0;for(var o=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return L(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return Q(e).length;default:if(o)return r?-1:L(e).length;t=(""+t).toLowerCase(),o=!0}}function y(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return N(this,t,n);case"utf8":case"utf-8":return O(this,t,n);case"ascii":return k(this,t,n);case"latin1":case"binary":return P(this,t,n);case"base64":return x(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return S(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function v(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function m(e,t,n,r,o){if(0===e.length)return-1;if("string"===typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),B(n=+n)&&(n=o?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(o)return-1;n=e.length-1}else if(n<0){if(!o)return-1;n=0}if("string"===typeof t&&(t=c.from(t,r)),c.isBuffer(t))return 0===t.length?-1:b(e,t,n,r,o);if("number"===typeof t)return t&=255,"function"===typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):b(e,[t],n,r,o);throw new TypeError("val must be string, number or Buffer")}function b(e,t,n,r,o){var i,a=1,s=e.length,c=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;a=2,s/=2,c/=2,n/=2}function u(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(o){var l=-1;for(i=n;i<s;i++)if(u(e,i)===u(t,-1===l?0:i-l)){if(-1===l&&(l=i),i-l+1===c)return l*a}else-1!==l&&(i-=i-l),l=-1}else for(n+c>s&&(n=s-c),i=n;i>=0;i--){for(var f=!0,h=0;h<c;h++)if(u(e,i+h)!==u(t,h)){f=!1;break}if(f)return i}return-1}function _(e,t,n,r){n=Number(n)||0;var o=e.length-n;r?(r=Number(r))>o&&(r=o):r=o;var i=t.length;r>i/2&&(r=i/2);for(var a=0;a<r;++a){var s=parseInt(t.substr(2*a,2),16);if(B(s))return a;e[n+a]=s}return a}function T(e,t,n,r){return q(L(t,e.length-n),e,n,r)}function w(e,t,n,r){return q(function(e){for(var t=[],n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}(t),e,n,r)}function E(e,t,n,r){return q(Q(t),e,n,r)}function C(e,t,n,r){return q(function(e,t){for(var n,r,o,i=[],a=0;a<e.length&&!((t-=2)<0);++a)r=(n=e.charCodeAt(a))>>8,o=n%256,i.push(o),i.push(r);return i}(t,e.length-n),e,n,r)}function x(e,t,n){return 0===t&&n===e.length?r.fromByteArray(e):r.fromByteArray(e.slice(t,n))}function O(e,t,n){n=Math.min(e.length,n);for(var r=[],o=t;o<n;){var i,a,s,c,u=e[o],l=null,f=u>239?4:u>223?3:u>191?2:1;if(o+f<=n)switch(f){case 1:u<128&&(l=u);break;case 2:128===(192&(i=e[o+1]))&&(c=(31&u)<<6|63&i)>127&&(l=c);break;case 3:i=e[o+1],a=e[o+2],128===(192&i)&&128===(192&a)&&(c=(15&u)<<12|(63&i)<<6|63&a)>2047&&(c<55296||c>57343)&&(l=c);break;case 4:i=e[o+1],a=e[o+2],s=e[o+3],128===(192&i)&&128===(192&a)&&128===(192&s)&&(c=(15&u)<<18|(63&i)<<12|(63&a)<<6|63&s)>65535&&c<1114112&&(l=c)}null===l?(l=65533,f=1):l>65535&&(l-=65536,r.push(l>>>10&1023|55296),l=56320|1023&l),r.push(l),o+=f}return function(e){var t=e.length;if(t<=I)return String.fromCharCode.apply(String,e);var n="",r=0;for(;r<t;
vendor: 5,250 bytes, line 1
1)n+=String.fromCharCode.apply(String,e.slice(r,r+=I));return n}(r)}t.kMaxLength=a,c.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(n){return!1}}(),c.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(c.prototype,"parent",{enumerable:!0,get:function(){if(c.isBuffer(this))return this.buffer}}),Object.defineProperty(c.prototype,"offset",{enumerable:!0,get:function(){if(c.isBuffer(this))return this.byteOffset}}),c.poolSize=8192,c.from=function(e,t,n){return u(e,t,n)},Object.setPrototypeOf(c.prototype,Uint8Array.prototype),Object.setPrototypeOf(c,Uint8Array),c.alloc=function(e,t,n){return function(e,t,n){return l(e),e<=0?s(e):void 0!==t?"string"===typeof n?s(e).fill(t,n):s(e).fill(t):s(e)}(e,t,n)},c.allocUnsafe=function(e){return f(e)},c.allocUnsafeSlow=function(e){return f(e)},c.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==c.prototype},c.compare=function(e,t){if(U(e,Uint8Array)&&(e=c.from(e,e.offset,e.byteLength)),U(t,Uint8Array)&&(t=c.from(t,t.offset,t.byteLength)),!c.isBuffer(e)||!c.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;for(var n=e.length,r=t.length,o=0,i=Math.min(n,r);o<i;++o)if(e[o]!==t[o]){n=e[o],r=t[o];break}return n<r?-1:r<n?1:0},c.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}},c.concat=function(e,t){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return c.alloc(0);var n;if(void 0===t)for(t=0,n=0;n<e.length;++n)t+=e[n].length;var r=c.allocUnsafe(t),o=0;for(n=0;n<e.length;++n){var i=e[n];if(U(i,Uint8Array))o+i.length>r.length?c.from(i).copy(r,o):Uint8Array.prototype.set.call(r,i,o);else{if(!c.isBuffer(i))throw new TypeError('"list" argument must be an Array of Buffers');i.copy(r,o)}o+=i.length}return r},c.byteLength=g,c.prototype._isBuffer=!0,c.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)v(this,t,t+1);return this},c.prototype.swap32=function(){var e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)v(this,t,t+3),v(this,t+1,t+2);return this},c.prototype.swap64=function(){var e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)v(this,t,t+7),v(this,t+1,t+6),v(this,t+2,t+5),v(this,t+3,t+4);return this},c.prototype.toString=function(){var e=this.length;return 0===e?"":0===arguments.length?O(this,0,e):y.apply(this,arguments)},c.prototype.toLocaleString=c.prototype.toString,c.prototype.equals=function(e){if(!c.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===c.compare(this,e)},c.prototype.inspect=function(){var e="",n=t.INSPECT_MAX_BYTES;return e=this.toString("hex",0,n).replace(/(.{2})/g,"$1 ").trim(),this.length>n&&(e+=" ... "),"<Buffer "+e+">"},i&&(c.prototype[i]=c.prototype.inspect),c.prototype.compare=function(e,t,n,r,o){if(U(e,Uint8Array)&&(e=c.from(e,e.offset,e.byteLength)),!c.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===o&&(o=this.length),t<0||n>e.length||r<0||o>this.length)throw new RangeError("out of range index");if(r>=o&&t>=n)return 0;if(r>=o)return-1;if(t>=n)return 1;if(this===e)return 0;for(var i=(o>>>=0)-(r>>>=0),a=(n>>>=0)-(t>>>=0),s=Math.min(i,a),u=this.slice(r,o),l=e.slice(t,n),f=0;f<s;++f)if(u[f]!==l[f]){i=u[f],a=l[f];break}return i<a?-1:a<i?1:0},c.prototype.includes=function(e,t,n){return-1!==this.indexOf(e,t,n)},c.prototype.indexOf=function(e,t,n){return m(this,e,t,n,!0)},c.prototype.lastIndexOf=function(e,t,n){return m(this,e,t,n,!1)},c.prototype.write=function(e,t,n,r){if(void 0===t)r="utf8",n=this.length,t=0;else if(void 0===n&&"string"===typeof t)r=t,n=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t>>>=0,isFinite(n)?(n>>>=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}var o=this.length-t;if((void 0===n||n>o)&&(n=o),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var i=!1;;)switch(r){case"hex":return _(this,e,t,n);case"utf8":case"utf-8":return T(this,e,t,n);case"ascii":case"latin1":case"binary":return w(this,e,t,n);case"base64":return E(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return C(this,e,t,n);default:if(i)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),i=!0}},c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var I=4096;
vendor: 7,725 bytes, line 1
1function k(e,t,n){var r="";n=Math.min(e.length,n);for(var o=t;o<n;++o)r+=String.fromCharCode(127&e[o]);return r}function P(e,t,n){var r="";n=Math.min(e.length,n);for(var o=t;o<n;++o)r+=String.fromCharCode(e[o]);return r}function N(e,t,n){var r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);for(var o="",i=t;i<n;++i)o+=V[e[i]];return o}function S(e,t,n){for(var r=e.slice(t,n),o="",i=0;i<r.length-1;i+=2)o+=String.fromCharCode(r[i]+256*r[i+1]);return o}function A(e,t,n){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+t>n)throw new RangeError("Trying to access beyond buffer length")}function j(e,t,n,r,o,i){if(!c.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>o||t<i)throw new RangeError('"value" argument is out of bounds');if(n+r>e.length)throw new RangeError("Index out of range")}function R(e,t,n,r,o,i){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function D(e,t,n,r,i){return t=+t,n>>>=0,i||R(e,0,n,4),o.write(e,t,n,r,23,4),n+4}function M(e,t,n,r,i){return t=+t,n>>>=0,i||R(e,0,n,8),o.write(e,t,n,r,52,8),n+8}c.prototype.slice=function(e,t){var n=this.length;(e=~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),(t=void 0===t?n:~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),t<e&&(t=e);var r=this.subarray(e,t);return Object.setPrototypeOf(r,c.prototype),r},c.prototype.readUintLE=c.prototype.readUIntLE=function(e,t,n){e>>>=0,t>>>=0,n||A(e,t,this.length);for(var r=this[e],o=1,i=0;++i<t&&(o*=256);)r+=this[e+i]*o;return r},c.prototype.readUintBE=c.prototype.readUIntBE=function(e,t,n){e>>>=0,t>>>=0,n||A(e,t,this.length);for(var r=this[e+--t],o=1;t>0&&(o*=256);)r+=this[e+--t]*o;return r},c.prototype.readUint8=c.prototype.readUInt8=function(e,t){return e>>>=0,t||A(e,1,this.length),this[e]},c.prototype.readUint16LE=c.prototype.readUInt16LE=function(e,t){return e>>>=0,t||A(e,2,this.length),this[e]|this[e+1]<<8},c.prototype.readUint16BE=c.prototype.readUInt16BE=function(e,t){return e>>>=0,t||A(e,2,this.length),this[e]<<8|this[e+1]},c.prototype.readUint32LE=c.prototype.readUInt32LE=function(e,t){return e>>>=0,t||A(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},c.prototype.readUint32BE=c.prototype.readUInt32BE=function(e,t){return e>>>=0,t||A(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},c.prototype.readIntLE=function(e,t,n){e>>>=0,t>>>=0,n||A(e,t,this.length);for(var r=this[e],o=1,i=0;++i<t&&(o*=256);)r+=this[e+i]*o;return r>=(o*=128)&&(r-=Math.pow(2,8*t)),r},c.prototype.readIntBE=function(e,t,n){e>>>=0,t>>>=0,n||A(e,t,this.length);for(var r=t,o=1,i=this[e+--r];r>0&&(o*=256);)i+=this[e+--r]*o;return i>=(o*=128)&&(i-=Math.pow(2,8*t)),i},c.prototype.readInt8=function(e,t){return e>>>=0,t||A(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},c.prototype.readInt16LE=function(e,t){e>>>=0,t||A(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},c.prototype.readInt16BE=function(e,t){e>>>=0,t||A(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},c.prototype.readInt32LE=function(e,t){return e>>>=0,t||A(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},c.prototype.readInt32BE=function(e,t){return e>>>=0,t||A(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},c.prototype.readFloatLE=function(e,t){return e>>>=0,t||A(e,4,this.length),o.read(this,e,!0,23,4)},c.prototype.readFloatBE=function(e,t){return e>>>=0,t||A(e,4,this.length),o.read(this,e,!1,23,4)},c.prototype.readDoubleLE=function(e,t){return e>>>=0,t||A(e,8,this.length),o.read(this,e,!0,52,8)},c.prototype.readDoubleBE=function(e,t){return e>>>=0,t||A(e,8,this.length),o.read(this,e,!1,52,8)},c.prototype.writeUintLE=c.prototype.writeUIntLE=function(e,t,n,r){(e=+e,t>>>=0,n>>>=0,r)||j(this,e,t,n,Math.pow(2,8*n)-1,0);var o=1,i=0;for(this[t]=255&e;++i<n&&(o*=256);)this[t+i]=e/o&255;return t+n},c.prototype.writeUintBE=c.prototype.writeUIntBE=function(e,t,n,r){(e=+e,t>>>=0,n>>>=0,r)||j(this,e,t,n,Math.pow(2,8*n)-1,0);var o=n-1,i=1;for(this[t+o]=255&e;--o>=0&&(i*=256);)this[t+o]=e/i&255;return t+n},c.prototype.writeUint8=c.prototype.writeUInt8=function(e,t,n){return e=+e,t>>>=0,n||j(this,e,t,1,255,0),this[t]=255&e,t+1},c.prototype.writeUint16LE=c.prototype.writeUInt16LE=function(e,t,n){return e=+e,t>>>=0,n||j(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},c.prototype.writeUint16BE=c.prototype.writeUInt16BE=function(e,t,n){return e=+e,t>>>=0,n||j(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},c.prototype.writeUint32LE=c.prototype.writeUInt32LE=function(e,t,n){return e=+e,t>>>=0,n||j(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},c.prototype.writeUint32BE=c.prototype.writeUInt32BE=function(e,t,n){return e=+e,t>>>=0,n||j(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},c.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t>>>=0,!r){var o=Math.pow(2,8*n-1);j(this,e,t,n,o-1,-o)}var i=0,a=1,s=0;for(this[t]=255&e;++i<n&&(a*=256);)e<0&&0===s&&0!==this[t+i-1]&&(s=1),this[t+i]=(e/a>>0)-s&255;return t+n},c.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t>>>=0,!r){var o=Math.pow(2,8*n-1);j(this,e,t,n,o-1,-o)}var i=n-1,a=1,s=0;for(this[t+i]=255&e;--i>=0&&(a*=256);)e<0&&0===s&&0!==this[t+i+1]&&(s=1),this[t+i]=(e/a>>0)-s&255;return t+n},c.prototype.writeInt8=function(e,t,n){return e=+e,t>>>=0,n||j(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},c.prototype.writeInt16LE=function(e,t,n){return e=+e,t>>>=0,n||j(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},c.prototype.writeInt16BE=function(e,t,n){return e=+e,t>>>=0,n||j(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},c.prototype.writeInt32LE=function(e,t,n){return e=+e,t>>>=0,n||j(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},c.prototype.writeInt32BE=function(e,t,n){return e=+e,t>>>=0,n||j(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},c.prototype.writeFloatLE=function(e,t,n){return D(this,e,t,!0,n)},c.prototype.writeFloatBE=function(e,t,n){return D(this,e,t,!1,n)},c.prototype.writeDoubleLE=function(e,t,n){return M(this,e,t,!0,n)},c.prototype.writeDoubleBE=function(e,t,n){return M(this,e,t,!1,n)},c.prototype.copy=function(e,t,n,r){if(!c.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r<n&&(r=n),r===n)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t<r-n&&(r=e.length-t+n);var o=r-n;return this===e&&"function"===typeof Uint8Array.prototype.copyWithin?this.copyWithin(t,n,r):Uint8Array.prototype.set.call(e,this.subarray(n,r),t),o},c.prototype.fill=function(e,t,n,r){if("string"===typeof e){if("string"===typeof t?(r=t,t=0,n=this.length):"string"===typeof n&&(r=n,n=this.length),void 0!==r&&"string"!==typeof r)throw new TypeError("encoding must be a string");if("string"===typeof r&&!c.isEncoding(r))throw new TypeError("Unknown encoding: "+r);if(1===e.length){var o=e.charCodeAt(0);("utf8"===r&&o<128||"latin1"===r)&&(e=o)}}else"number"===typeof e?e&=255:"boolean"===typeof e&&(e=Number(e));if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;var i;if(t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"===typeof e)for(i=t;i<n;++i)this[i]=e;else{var a=c.isBuffer(e)?e:c.from(e,r),s=a.length;
1if(0===s)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(i=0;i<n-t;++i)this[i+t]=a[i%s]}return this};var F=/[^+/0-9A-Za-z-_]/g;function L(e,t){var n;t=t||1/0;for(var r=e.length,o=null,i=[],a=0;a<r;++a){if((n=e.charCodeAt(a))>55295&&n<57344){if(!o){if(n>56319){(t-=3)>-1&&i.push(239,191,189);continue}if(a+1===r){(t-=3)>-1&&i.push(239,191,189);continue}o=n;continue}if(n<56320){(t-=3)>-1&&i.push(239,191,189),o=n;continue}n=65536+(o-55296<<10|n-56320)}else o&&(t-=3)>-1&&i.push(239,191,189);if(o=null,n<128){if((t-=1)<0)break;i.push(n)}else if(n<2048){if((t-=2)<0)break;i.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;i.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;i.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return i}function Q(e){return r.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(F,"")).length<2)return"";for(;e.length%4!==0;)e+="=";return e}(e))}function q(e,t,n,r){for(var o=0;o<r&&!(o+n>=t.length||o>=e.length);++o)t[o+n]=e[o];return o}function U(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}function B(e){return e!==e}var V=function(){for(var e="0123456789abcdef",t=new Array(256),n=0;n<16;++n)for(var r=16*n,o=0;o<16;++o)t[r+o]=e[n]+e[o];return t}()},9357:function(e,t,n){"use strict";const r=n(3573),{stdout:o,stderr:i}=n(1200),{stringReplaceAll:a,stringEncaseCRLFWithFirstIndex:s}=n(6667),{isArray:c}=Array,u=["ansi","ansi","ansi256","ansi16m"],l=Object.create(null);class f{constructor(e){return h(e)}}const h=e=>{const t={};return((e,t={})=>{if(t.level&&!(Number.isInteger(t.level)&&t.level>=0&&t.level<=3))throw new Error("The `level` option should be an integer from 0 to 3");const n=o?o.level:0;e.level=void 0===t.level?n:t.level})(t,e),t.template=(...e)=>_(t.template,...e),Object.setPrototypeOf(t,p.prototype),Object.setPrototypeOf(t.template,t),t.template.constructor=()=>{throw new Error("`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.")},t.template.Instance=f,t.template};function p(e){return h(e)}for(const[w,E]of Object.entries(r))l[w]={get(){const e=v(this,y(E.open,E.close,this._styler),this._isEmpty);return Object.defineProperty(this,w,{value:e}),e}};l.visible={get(){const e=v(this,this._styler,!0);return Object.defineProperty(this,"visible",{value:e}),e}};const d=["rgb","hex","keyword","hsl","hsv","hwb","ansi","ansi256"];for(const w of d)l[w]={get(){const{level:e}=this;return function(...t){const n=y(r.color[u[e]][w](...t),r.color.close,this._styler);return v(this,n,this._isEmpty)}}};for(const w of d){l["bg"+w[0].toUpperCase()+w.slice(1)]={get(){const{level:e}=this;return function(...t){const n=y(r.bgColor[u[e]][w](...t),r.bgColor.close,this._styler);return v(this,n,this._isEmpty)}}}}const g=Object.defineProperties((()=>{}),{...l,level:{enumerable:!0,get(){return this._generator.level},set(e){this._generator.level=e}}}),y=(e,t,n)=>{let r,o;return void 0===n?(r=e,o=t):(r=n.openAll+e,o=t+n.closeAll),{open:e,close:t,openAll:r,closeAll:o,parent:n}},v=(e,t,n)=>{const r=(...e)=>c(e[0])&&c(e[0].raw)?m(r,_(r,...e)):m(r,1===e.length?""+e[0]:e.join(" "));return Object.setPrototypeOf(r,g),r._generator=e,r._styler=t,r._isEmpty=n,r},m=(e,t)=>{if(e.level<=0||!t)return e._isEmpty?"":t;let n=e._styler;if(void 0===n)return t;const{openAll:r,closeAll:o}=n;if(-1!==t.indexOf("\x1b"))for(;void 0!==n;)t=a(t,n.close,n.open),n=n.parent;const i=t.indexOf("\n");return-1!==i&&(t=s(t,o,r,i)),r+t+o};let b;const _=(e,...t)=>{const[r]=t;if(!c(r)||!c(r.raw))return t.join(" ");const o=t.slice(1),i=[r.raw[0]];for(let n=1;n<r.length;n++)i.push(String(o[n-1]).replace(/[{}\\]/g,"\\$&"),String(r.raw[n]));return void 0===b&&(b=n(8747)),b(e,i.join(""))};Object.defineProperties(p.prototype,l);const T=p();T.supportsColor=o,T.stderr=p({level:i?i.level:0}),T.stderr.supportsColor=i,e.exports=T},8747:function(e){"use strict";const t=/(?:\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,n=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,r=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,o=/\\(u(?:[a-f\d]{4}|{[a-f\d]{1,6}})|x[a-f\d]{2}|.)|([^\\])/gi,i=new Map([["n","\n"],["r","\r"],["t","\t"],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e","\x1b"],["a","\x07"]]);function a(e){const t="u"===e[0],n="{"===e[1];return t&&!n&&5===e.length||"x"===e[0]&&3===e.length?String.fromCharCode(parseInt(e.slice(1),16)):t&&n?String.fromCodePoint(parseInt(e.slice(2,-1),16)):i.get(e)||e}function s(e,t){const n=[],i=t.trim().split(/\s*,\s*/g);let s;for(const c of i){const t=Number(c);if(Number.isNaN(t)){if(!(s=c.match(r)))throw new Error(`Invalid Chalk template style argument: ${c} (in style '${e}')`);n.push(s[2].replace(o,((e,t,n)=>t?a(t):n)))}else n.push(t)}return n}function c(e){n.lastIndex=0;const t=[];let r;for(;null!==(r=n.exec(e));){const e=r[1];if(r[2]){const n=s(e,r[2]);t.push([e].concat(n))}else t.push([e])}return t}function u(e,t){const n={};for(const o of t)for(const e of o.styles)n[e[0]]=o.inverse?null:e.slice(1);let r=e;for(const[o,i]of Object.entries(n))if(Array.isArray(i)){if(!(o in r))throw new Error(`Unknown Chalk style: ${o}`);r=i.length>0?r[o](...i):r[o]}return r}e.exports=(e,n)=>{const r=[],o=[];let i=[];
vendor: 6,384 bytes, line 1
1if(n.replace(t,((t,n,s,l,f,h)=>{if(n)i.push(a(n));else if(l){const t=i.join("");i=[],o.push(0===r.length?t:u(e,r)(t)),r.push({inverse:s,styles:c(l)})}else if(f){if(0===r.length)throw new Error("Found extraneous } in Chalk template literal");o.push(u(e,r)(i.join(""))),i=[],r.pop()}else i.push(h)})),o.push(i.join("")),r.length>0){const e=`Chalk template literal is missing ${r.length} closing bracket${1===r.length?"":"s"} (\`}\`)`;throw new Error(e)}return o.join("")}},6667:function(e){"use strict";e.exports={stringReplaceAll:(e,t,n)=>{let r=e.indexOf(t);if(-1===r)return e;const o=t.length;let i=0,a="";do{a+=e.substr(i,r-i)+t+n,i=r+o,r=e.indexOf(t,i)}while(-1!==r);return a+=e.substr(i),a},stringEncaseCRLFWithFirstIndex:(e,t,n,r)=>{let o=0,i="";do{const a="\r"===e[r-1];i+=e.substr(o,(a?r-1:r)-o)+t+(a?"\r\n":"\n")+n,o=r+1,r=e.indexOf("\n",o)}while(-1!==r);return i+=e.substr(o),i}}},1471:function(e,t){var n;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var i=typeof n;if("string"===i||"number"===i)e.push(n);else if(Array.isArray(n)){if(n.length){var a=o.apply(null,n);a&&e.push(a)}}else if("object"===i){if(n.toString!==Object.prototype.toString&&!n.toString.toString().includes("[native code]")){e.push(n.toString());continue}for(var s in n)r.call(n,s)&&n[s]&&e.push(s)}}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(n=function(){return o}.apply(t,[]))||(e.exports=n)}()},6046:function(e,t,n){const r=n(9821),o={};for(const a of Object.keys(r))o[r[a]]=a;const i={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};e.exports=i;for(const a of Object.keys(i)){if(!("channels"in i[a]))throw new Error("missing channels property: "+a);if(!("labels"in i[a]))throw new Error("missing channel labels property: "+a);if(i[a].labels.length!==i[a].channels)throw new Error("channel and label counts mismatch: "+a);const{channels:e,labels:t}=i[a];delete i[a].channels,delete i[a].labels,Object.defineProperty(i[a],"channels",{value:e}),Object.defineProperty(i[a],"labels",{value:t})}i.rgb.hsl=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,o=Math.min(t,n,r),i=Math.max(t,n,r),a=i-o;let s,c;i===o?s=0:t===i?s=(n-r)/a:n===i?s=2+(r-t)/a:r===i&&(s=4+(t-n)/a),s=Math.min(60*s,360),s<0&&(s+=360);const u=(o+i)/2;return c=i===o?0:u<=.5?a/(i+o):a/(2-i-o),[s,100*c,100*u]},i.rgb.hsv=function(e){let t,n,r,o,i;const a=e[0]/255,s=e[1]/255,c=e[2]/255,u=Math.max(a,s,c),l=u-Math.min(a,s,c),f=function(e){return(u-e)/6/l+.5};return 0===l?(o=0,i=0):(i=l/u,t=f(a),n=f(s),r=f(c),a===u?o=r-n:s===u?o=1/3+t-r:c===u&&(o=2/3+n-t),o<0?o+=1:o>1&&(o-=1)),[360*o,100*i,100*u]},i.rgb.hwb=function(e){const t=e[0],n=e[1];let r=e[2];const o=i.rgb.hsl(e)[0],a=1/255*Math.min(t,Math.min(n,r));return r=1-1/255*Math.max(t,Math.max(n,r)),[o,100*a,100*r]},i.rgb.cmyk=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,o=Math.min(1-t,1-n,1-r);return[100*((1-t-o)/(1-o)||0),100*((1-n-o)/(1-o)||0),100*((1-r-o)/(1-o)||0),100*o]},i.rgb.keyword=function(e){const t=o[e];if(t)return t;let n,i=1/0;for(const o of Object.keys(r)){const t=r[o],c=(s=t,((a=e)[0]-s[0])**2+(a[1]-s[1])**2+(a[2]-s[2])**2);c<i&&(i=c,n=o)}var a,s;return n},i.keyword.rgb=function(e){return r[e]},i.rgb.xyz=function(e){let t=e[0]/255,n=e[1]/255,r=e[2]/255;t=t>.04045?((t+.055)/1.055)**2.4:t/12.92,n=n>.04045?((n+.055)/1.055)**2.4:n/12.92,r=r>.04045?((r+.055)/1.055)**2.4:r/12.92;return[100*(.4124*t+.3576*n+.1805*r),100*(.2126*t+.7152*n+.0722*r),100*(.0193*t+.1192*n+.9505*r)]},i.rgb.lab=function(e){const t=i.rgb.xyz(e);let n=t[0],r=t[1],o=t[2];n/=95.047,r/=100,o/=108.883,n=n>.008856?n**(1/3):7.787*n+16/116,r=r>.008856?r**(1/3):7.787*r+16/116,o=o>.008856?o**(1/3):7.787*o+16/116;return[116*r-16,500*(n-r),200*(r-o)]},i.hsl.rgb=function(e){const t=e[0]/360,n=e[1]/100,r=e[2]/100;let o,i,a;if(0===n)return a=255*r,[a,a,a];o=r<.5?r*(1+n):r+n-r*n;const s=2*r-o,c=[0,0,0];for(let u=0;u<3;u++)i=t+1/3*-(u-1),i<0&&i++,i>1&&i--,a=6*i<1?s+6*(o-s)*i:2*i<1?o:3*i<2?s+(o-s)*(2/3-i)*6:s,c[u]=255*a;return c},i.hsl.hsv=function(e){const t=e[0];let n=e[1]/100,r=e[2]/100,o=n;const i=Math.max(r,.01);r*=2,n*=r<=1?r:2-r,o*=i<=1?i:2-i;return[t,100*(0===r?2*o/(i+o):2*n/(r+n)),100*((r+n)/2)]},i.hsv.rgb=function(e){const t=e[0]/60,n=e[1]/100;let r=e[2]/100;const o=Math.floor(t)%6,i=t-Math.floor(t),a=255*r*(1-n),s=255*r*(1-n*i),c=255*r*(1-n*(1-i));switch(r*=255,o){case 0:return[r,c,a];case 1:return[s,r,a];case 2:return[a,r,c];case 3:return[a,s,r];case 4:return[c,a,r];case 5:return[r,a,s]}},i.hsv.hsl=function(e){const t=e[0],n=e[1]/100,r=e[2]/100,o=Math.max(r,.01);let i,a;a=(2-n)*r;const s=(2-n)*o;return i=n*o,i/=s<=1?s:2-s,i=i||0,a/=2,[t,100*i,100*a]},i.hwb.rgb=function(e){const t=e[0]/360;let n=e[1]/100,r=e[2]/100;const o=n+r;let i;o>1&&(n/=o,r/=o);const a=Math.floor(6*t),s=1-r;i=6*t-a,0!==(1&a)&&(i=1-i);const c=n+i*(s-n);let u,l,f;switch(a){default:case 6:case 0:u=s,l=c,f=n;break;case 1:u=c,l=s,f=n;break;case 2:u=n,l=s,f=c;break;case 3:u=n,l=c,f=s;break;case 4:u=c,l=n,f=s;break;case 5:u=s,l=n,f=c}return[255*u,255*l,255*f]},i.cmyk.rgb=function(e){const t=e[0]/100,n=e[1]/100,r=e[2]/100,o=e[3]/100;return[255*(1-Math.min(1,t*(1-o)+o)),255*(1-Math.min(1,n*(1-o)+o)),255*(1-Math.min(1,r*(1-o)+o))]},i.xyz.rgb=function(e){const t=e[0]/100,n=e[1]/100,r=e[2]/100;let o,i,a;return o=3.2406*t+-1.5372*n+-.4986*r,i=-.9689*t+1.8758*n+.0415*r,a=.0557*t+-.204*n+1.057*r,o=o>.0031308?1.055*o**(1/2.4)-.055:12.92*o,i=i>.0031308?1.055*i**(1/2.4)-.055:12.92*i,a=a>.0031308?1.055*a**(1/2.4)-.055:12.92*a,o=Math.min(Math.max(0,o),1),i=Math.min(Math.max(0,i),1),a=Math.min(Math.max(0,a),1),[255*o,255*i,255*a]},i.xyz.lab=function(e){let t=e[0],n=e[1],r=e[2];t/=95.047,n/=100,r/=108.883,t=t>.008856?t**(1/3):7.787*t+16/116,n=n>.008856?n**(1/3):7.787*n+16/116,r=r>.008856?r**(1/3):7.787*r+16/116;return[116*n-16,500*(t-n),200*(n-r)]},i.lab.xyz=function(e){let t,n,r;n=(e[0]+16)/116,t=e[1]/500+n,r=n-e[2]/200;
vendor: 4,288 bytes, line 1
1const o=n**3,i=t**3,a=r**3;return n=o>.008856?o:(n-16/116)/7.787,t=i>.008856?i:(t-16/116)/7.787,r=a>.008856?a:(r-16/116)/7.787,t*=95.047,n*=100,r*=108.883,[t,n,r]},i.lab.lch=function(e){const t=e[0],n=e[1],r=e[2];let o;o=360*Math.atan2(r,n)/2/Math.PI,o<0&&(o+=360);return[t,Math.sqrt(n*n+r*r),o]},i.lch.lab=function(e){const t=e[0],n=e[1],r=e[2]/360*2*Math.PI;return[t,n*Math.cos(r),n*Math.sin(r)]},i.rgb.ansi16=function(e,t=null){const[n,r,o]=e;let a=null===t?i.rgb.hsv(e)[2]:t;if(a=Math.round(a/50),0===a)return 30;let s=30+(Math.round(o/255)<<2|Math.round(r/255)<<1|Math.round(n/255));return 2===a&&(s+=60),s},i.hsv.ansi16=function(e){return i.rgb.ansi16(i.hsv.rgb(e),e[2])},i.rgb.ansi256=function(e){const t=e[0],n=e[1],r=e[2];if(t===n&&n===r)return t<8?16:t>248?231:Math.round((t-8)/247*24)+232;return 16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5)},i.ansi16.rgb=function(e){let t=e%10;if(0===t||7===t)return e>50&&(t+=3.5),t=t/10.5*255,[t,t,t];const n=.5*(1+~~(e>50));return[(1&t)*n*255,(t>>1&1)*n*255,(t>>2&1)*n*255]},i.ansi256.rgb=function(e){if(e>=232){const t=10*(e-232)+8;return[t,t,t]}let t;e-=16;return[Math.floor(e/36)/5*255,Math.floor((t=e%36)/6)/5*255,t%6/5*255]},i.rgb.hex=function(e){const t=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2]))).toString(16).toUpperCase();return"000000".substring(t.length)+t},i.hex.rgb=function(e){const t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];let n=t[0];3===t[0].length&&(n=n.split("").map((e=>e+e)).join(""));const r=parseInt(n,16);return[r>>16&255,r>>8&255,255&r]},i.rgb.hcg=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,o=Math.max(Math.max(t,n),r),i=Math.min(Math.min(t,n),r),a=o-i;let s,c;return s=a<1?i/(1-a):0,c=a<=0?0:o===t?(n-r)/a%6:o===n?2+(r-t)/a:4+(t-n)/a,c/=6,c%=1,[360*c,100*a,100*s]},i.hsl.hcg=function(e){const t=e[1]/100,n=e[2]/100,r=n<.5?2*t*n:2*t*(1-n);let o=0;return r<1&&(o=(n-.5*r)/(1-r)),[e[0],100*r,100*o]},i.hsv.hcg=function(e){const t=e[1]/100,n=e[2]/100,r=t*n;let o=0;return r<1&&(o=(n-r)/(1-r)),[e[0],100*r,100*o]},i.hcg.rgb=function(e){const t=e[0]/360,n=e[1]/100,r=e[2]/100;if(0===n)return[255*r,255*r,255*r];const o=[0,0,0],i=t%1*6,a=i%1,s=1-a;let c=0;switch(Math.floor(i)){case 0:o[0]=1,o[1]=a,o[2]=0;break;case 1:o[0]=s,o[1]=1,o[2]=0;break;case 2:o[0]=0,o[1]=1,o[2]=a;break;case 3:o[0]=0,o[1]=s,o[2]=1;break;case 4:o[0]=a,o[1]=0,o[2]=1;break;default:o[0]=1,o[1]=0,o[2]=s}return c=(1-n)*r,[255*(n*o[0]+c),255*(n*o[1]+c),255*(n*o[2]+c)]},i.hcg.hsv=function(e){const t=e[1]/100,n=t+e[2]/100*(1-t);let r=0;return n>0&&(r=t/n),[e[0],100*r,100*n]},i.hcg.hsl=function(e){const t=e[1]/100,n=e[2]/100*(1-t)+.5*t;let r=0;return n>0&&n<.5?r=t/(2*n):n>=.5&&n<1&&(r=t/(2*(1-n))),[e[0],100*r,100*n]},i.hcg.hwb=function(e){const t=e[1]/100,n=t+e[2]/100*(1-t);return[e[0],100*(n-t),100*(1-n)]},i.hwb.hcg=function(e){const t=e[1]/100,n=1-e[2]/100,r=n-t;let o=0;return r<1&&(o=(n-r)/(1-r)),[e[0],100*r,100*o]},i.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},i.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},i.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},i.gray.hsl=function(e){return[0,0,e[0]]},i.gray.hsv=i.gray.hsl,i.gray.hwb=function(e){return[0,100,e[0]]},i.gray.cmyk=function(e){return[0,0,0,e[0]]},i.gray.lab=function(e){return[e[0],0,0]},i.gray.hex=function(e){const t=255&Math.round(e[0]/100*255),n=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(n.length)+n},i.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]}},8449:function(e,t,n){const r=n(6046),o=n(6479),i={};Object.keys(r).forEach((e=>{i[e]={},Object.defineProperty(i[e],"channels",{value:r[e].channels}),Object.defineProperty(i[e],"labels",{value:r[e].labels});const t=o(e);Object.keys(t).forEach((n=>{const r=t[n];i[e][n]=function(e){const t=function(...t){const n=t[0];if(void 0===n||null===n)return n;n.length>1&&(t=n);const r=e(t);if("object"===typeof r)for(let e=r.length,o=0;o<e;o++)r[o]=Math.round(r[o]);return r};return"conversion"in e&&(t.conversion=e.conversion),t}(r),i[e][n].raw=function(e){const t=function(...t){const n=t[0];return void 0===n||null===n?n:(n.length>1&&(t=n),e(t))};return"conversion"in e&&(t.conversion=e.conversion),t}(r)}))}
1)),e.exports=i},6479:function(e,t,n){const r=n(6046);function o(e){const t=function(){const e={},t=Object.keys(r);for(let n=t.length,r=0;r<n;r++)e[t[r]]={distance:-1,parent:null};return e}(),n=[e];for(t[e].distance=0;n.length;){const e=n.pop(),o=Object.keys(r[e]);for(let r=o.length,i=0;i<r;i++){const r=o[i],a=t[r];-1===a.distance&&(a.distance=t[e].distance+1,a.parent=e,n.unshift(r))}}return t}function i(e,t){return function(n){return t(e(n))}}function a(e,t){const n=[t[e].parent,e];let o=r[t[e].parent][e],a=t[e].parent;for(;t[a].parent;)n.unshift(t[a].parent),o=i(r[t[a].parent][a],o),a=t[a].parent;return o.conversion=n,o}e.exports=function(e){const t=o(e),n={},r=Object.keys(t);for(let o=r.length,i=0;i<o;i++){const e=r[i];null!==t[e].parent&&(n[e]=a(e,t))}return n}},9821:function(e){"use strict";e.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},6273:function(e,t){"use strict";var n=Object.prototype.toString,r=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;
1function o(e){return-1!==e.indexOf("%")?decodeURIComponent(e):e}function i(e){return encodeURIComponent(e)}function a(e,t){try{return t(e)}catch(n){return e}}},6986:function(e){"use strict";var t=function(e){return function(e){return!!e&&"object"===typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===n}(e)}(e)};var n="function"===typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function r(e,t){return!1!==t.clone&&t.isMergeableObject(e)?c(function(e){return Array.isArray(e)?[]:{}}(e),e,t):e}function o(e,t,n){return e.concat(t).map((function(e){return r(e,n)}))}function i(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return Object.propertyIsEnumerable.call(e,t)})):[]}(e))}function a(e,t){try{return t in e}catch(n){return!1}}function s(e,t,n){var o={};return n.isMergeableObject(e)&&i(e).forEach((function(t){o[t]=r(e[t],n)})),i(t).forEach((function(i){(function(e,t){return a(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))})(e,i)||(a(e,i)&&n.isMergeableObject(t[i])?o[i]=function(e,t){if(!t.customMerge)return c;var n=t.customMerge(e);return"function"===typeof n?n:c}(i,n)(e[i],t[i],n):o[i]=r(t[i],n))})),o}function c(e,n,i){(i=i||{}).arrayMerge=i.arrayMerge||o,i.isMergeableObject=i.isMergeableObject||t,i.cloneUnlessOtherwiseSpecified=r;var a=Array.isArray(n);return a===Array.isArray(e)?a?i.arrayMerge(e,n,i):s(e,n,i):r(n,i)}c.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,n){return c(e,n,t)}),{})};var u=c;e.exports=u},0:function(e,t,n){"use strict";const r=n(7265),o=n(141),i=n(3739);e.exports={XMLParser:o,XMLValidator:r,XMLBuilder:i}},3532:function(e,t){"use strict";const n=":A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",r="["+n+"][:A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*",o=new RegExp("^"+r+"$");t.isExist=function(e){return"undefined"!==typeof e},t.isEmptyObject=function(e){return 0===Object.keys(e).length},t.merge=function(e,t,n){if(t){const r=Object.keys(t),o=r.length;for(let i=0;i<o;i++)e[r[i]]="strict"===n?[t[r[i]]]:t[r[i]]}},t.getValue=function(e){return t.isExist(e)?e:""},t.isName=function(e){const t=o.exec(e);return!(null===t||"undefined"===typeof t)},t.getAllMatches=function(e,t){const n=[];let r=t.exec(e);for(;r;){const o=[];o.startIndex=t.lastIndex-r[0].length;const i=r.length;for(let e=0;e<i;e++)o.push(r[e]);n.push(o),r=t.exec(e)}return n},t.nameRegexp=r},7265:function(e,t,n){"use strict";const r=n(3532),o={allowBooleanAttributes:!1,unpairedTags:[]};function i(e){return" "===e||"\t"===e||"\n"===e||"\r"===e}function a(e,t){const n=t;for(;t<e.length;t++)if("?"!=e[t]&&" "!=e[t]);else{const r=e.substr(n,t-n);if(t>5&&"xml"===r)return h("InvalidXml","XML declaration allowed only at the start of the document.",d(e,t));if("?"==e[t]&&">"==e[t+1]){t++;break}}return t}function s(e,t){if(e.length>t+5&&"-"===e[t+1]&&"-"===e[t+2]){for(t+=3;t<e.length;t++)if("-"===e[t]&&"-"===e[t+1]&&">"===e[t+2]){t+=2;break}}else if(e.length>t+8&&"D"===e[t+1]&&"O"===e[t+2]&&"C"===e[t+3]&&"T"===e[t+4]&&"Y"===e[t+5]&&"P"===e[t+6]&&"E"===e[t+7]){let n=1;for(t+=8;t<e.length;t++)if("<"===e[t])n++;else if(">"===e[t]&&(n--,0===n))break}else if(e.length>t+9&&"["===e[t+1]&&"C"===e[t+2]&&"D"===e[t+3]&&"A"===e[t+4]&&"T"===e[t+5]&&"A"===e[t+6]&&"["===e[t+7])for(t+=8;t<e.length;t++)if("]"===e[t]&&"]"===e[t+1]&&">"===e[t+2]){t+=2;break}return t}t.validate=function(e,t){t=Object.assign({},o,t);const n=[];let u=!1,p=!1;"\ufeff"===e[0]&&(e=e.substr(1));for(let o=0;o<e.length;o++)if("<"===e[o]&&"?"===e[o+1]){if(o+=2,o=a(e,o),o.err)return o}else{if("<"!==e[o]){if(i(e[o]))continue;return h("InvalidChar","char '"+e[o]+"' is not expected.",d(e,o))}{let y=o;if(o++,"!"===e[o]){o=s(e,o);continue}{let v=!1;"/"===e[o]&&(v=!0,o++);let m="";for(;o<e.length&&">"!==e[o]&&" "!==e[o]&&"\t"!==e[o]&&"\n"!==e[o]&&"\r"!==e[o];o++)m+=e[o];if(m=m.trim(),"/"===m[m.length-1]&&(m=m.substring(0,m.length-1),o--),g=m,!r.isName(g)){let t;return t=0===m.trim().length?"Invalid space after '<'.":"Tag '"+m+"' is an invali
1d name.",h("InvalidTag",t,d(e,o))}const b=c(e,o);if(!1===b)return h("InvalidAttr","Attributes for '"+m+"' have open quote.",d(e,o));let _=b.value;if(o=b.index,"/"===_[_.length-1]){const n=o-_.length;_=_.substring(0,_.length-1);const r=l(_,t);if(!0!==r)return h(r.err.code,r.err.msg,d(e,n+r.err.line));u=!0}else if(v){if(!b.tagClosed)return h("InvalidTag","Closing tag '"+m+"' doesn't have proper closing.",d(e,o));if(_.trim().length>0)return h("InvalidTag","Closing tag '"+m+"' can't have attributes or invalid starting.",d(e,y));{const t=n.pop();if(m!==t.tagName){let n=d(e,t.tagStartPos);return h("InvalidTag","Expected closing tag '"+t.tagName+"' (opened in line "+n.line+", col "+n.col+") instead of closing tag '"+m+"'.",d(e,y))}0==n.length&&(p=!0)}}else{const r=l(_,t);if(!0!==r)return h(r.err.code,r.err.msg,d(e,o-_.length+r.err.line));if(!0===p)return h("InvalidXml","Multiple possible root nodes found.",d(e,o));-1!==t.unpairedTags.indexOf(m)||n.push({tagName:m,tagStartPos:y}),u=!0}for(o++;o<e.length;o++)if("<"===e[o]){if("!"===e[o+1]){o++,o=s(e,o);continue}if("?"!==e[o+1])break;if(o=a(e,++o),o.err)return o}else if("&"===e[o]){const t=f(e,o);if(-1==t)return h("InvalidChar","char '&' is not expected.",d(e,o));o=t}else if(!0===p&&!i(e[o]))return h("InvalidXml","Extra text at the end",d(e,o));"<"===e[o]&&o--}}}var g;return u?1==n.length?h("InvalidTag","Unclosed tag '"+n[0].tagName+"'.",d(e,n[0].tagStartPos)):!(n.length>0)||h("InvalidXml","Invalid '"+JSON.stringify(n.map((e=>e.tagName)),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1}):h("InvalidXml","Start tag expected.",1)};function c(e,t){let n="",r="",o=!1;for(;t<e.length;t++){if('"'===e[t]||"'"===e[t])""===r?r=e[t]:r!==e[t]||(r="");else if(">"===e[t]&&""===r){o=!0;break}n+=e[t]}return""===r&&{value:n,index:t,tagClosed:o}}const u=new RegExp("(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['\"])(([\\s\\S])*?)\\5)?","g");function l(e,t){const n=r.getAllMatches(e,u),o={};for(let r=0;r<n.length;r++){if(0===n[r][1].length)return h("InvalidAttr","Attribute '"+n[r][2]+"' has no space in starting.",g(n[r]));if(void 0!==n[r][3]&&void 0===n[r][4])return h("InvalidAttr","Attribute '"+n[r][2]+"' is without value.",g(n[r]));if(void 0===n[r][3]&&!t.allowBooleanAttributes)return h("InvalidAttr","boolean attribute '"+n[r][2]+"' is not allowed.",g(n[r]));const e=n[r][2];if(!p(e))return h("InvalidAttr","Attribute '"+e+"' is an invalid name.",g(n[r]));if(o.hasOwnProperty(e))return h("InvalidAttr","Attribute '"+e+"' is repeated.",g(n[r]));o[e]=1}return!0}function f(e,t){if(";"===e[++t])return-1;if("#"===e[t])return function(e,t){let n=/\d/;for("x"===e[t]&&(t++,n=/[\da-fA-F]/);t<e.length;t++){if(";"===e[t])return t;if(!e[t].match(n))break}return-1}(e,++t);let n=0;for(;t<e.length;t++,n++)if(!(e[t].match(/\w/)&&n<20)){if(";"===e[t])break;return-1}return t}function h(e,t,n){return{err:{code:e,msg:t,line:n.line||n,col:n.col}}}function p(e){return r.isName(e)}function d(e,t){const n=e.substring(0,t).split(/\r?\n/);return{line:n.length,col:n[n.length-1].length+1}}function g(e){return e.startIndex+e[1].length}},3739:function(e,t,n){"use strict";const r=n(7169),o={attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,cdataPropName:!1,format:!1,indentBy:" ",suppressEmptyNode:!1,suppressUnpairedNode:!0,suppressBooleanAttributes:!0,tagValueProcessor:function(e,t){return t},attributeValueProcessor:function(e,t){return t},preserveOrder:!1,commentPropName:!1,unpairedTags:[],entities:[{regex:new RegExp("&","g"),val:"&"},{regex:new RegExp(">","g"),val:">"},{regex:new RegExp("<","g"),val:"<"},{regex:new RegExp("'","g"),val:"'"},{regex:new RegExp('"',"g"),val:"""}],processEntities:!0,stopNodes:[],oneListGroup:!1};function i(e){this.options=Object.assign({},o,e),this.options.ignoreAttributes||this.options.attributesGroupName?this.isAttribute=function(){return!1}:(this.attrPrefixLen=this.options.attributeNamePrefix.length,this.isAttribute=c),this.processTextOrObjNode=a,this.options.format?(this.indentate=s,this.tagEndChar=">\n",this.newLine="\n"):(this.indentate=function(){return""},this.tagEndChar=">",this.newLine="")}function a(e,t,n){const r=this.j2x(e,n+1);return void 0!==e[this.options.textNodeName]&&1===Object.keys(e).length?this.buildTextValNo
1de(e[this.options.textNodeName],t,r.attrStr,n):this.buildObjectNode(r.val,t,r.attrStr,n)}function s(e){return this.options.indentBy.repeat(e)}function c(e){return!!e.startsWith(this.options.attributeNamePrefix)&&e.substr(this.attrPrefixLen)}i.prototype.build=function(e){return this.options.preserveOrder?r(e,this.options):(Array.isArray(e)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1&&(e={[this.options.arrayNodeName]:e}),this.j2x(e,0).val)},i.prototype.j2x=function(e,t){let n="",r="";for(let o in e)if("undefined"===typeof e[o]);else if(null===e[o])"?"===o[0]?r+=this.indentate(t)+"<"+o+"?"+this.tagEndChar:r+=this.indentate(t)+"<"+o+"/"+this.tagEndChar;else if(e[o]instanceof Date)r+=this.buildTextValNode(e[o],o,"",t);else if("object"!==typeof e[o]){const i=this.isAttribute(o);if(i)n+=this.buildAttrPairStr(i,""+e[o]);else if(o===this.options.textNodeName){let t=this.options.tagValueProcessor(o,""+e[o]);r+=this.replaceEntitiesValue(t)}else r+=this.buildTextValNode(e[o],o,"",t)}else if(Array.isArray(e[o])){const n=e[o].length;let i="";for(let a=0;a<n;a++){const n=e[o][a];"undefined"===typeof n||(null===n?"?"===o[0]?r+=this.indentate(t)+"<"+o+"?"+this.tagEndChar:r+=this.indentate(t)+"<"+o+"/"+this.tagEndChar:"object"===typeof n?this.options.oneListGroup?i+=this.j2x(n,t+1).val:i+=this.processTextOrObjNode(n,o,t):i+=this.buildTextValNode(n,o,"",t))}this.options.oneListGroup&&(i=this.buildObjectNode(i,o,"",t)),r+=i}else if(this.options.attributesGroupName&&o===this.options.attributesGroupName){const t=Object.keys(e[o]),r=t.length;for(let i=0;i<r;i++)n+=this.buildAttrPairStr(t[i],""+e[o][t[i]])}else r+=this.processTextOrObjNode(e[o],o,t);return{attrStr:n,val:r}},i.prototype.buildAttrPairStr=function(e,t){return t=this.options.attributeValueProcessor(e,""+t),t=this.replaceEntitiesValue(t),this.options.suppressBooleanAttributes&&"true"===t?" "+e:" "+e+'="'+t+'"'},i.prototype.buildObjectNode=function(e,t,n,r){if(""===e)return"?"===t[0]?this.indentate(r)+"<"+t+n+"?"+this.tagEndChar:this.indentate(r)+"<"+t+n+this.closeTag(t)+this.tagEndChar;{let o="</"+t+this.tagEndChar,i="";return"?"===t[0]&&(i="?",o=""),n&&-1===e.indexOf("<")?this.indentate(r)+"<"+t+n+i+">"+e+o:!1!==this.options.commentPropName&&t===this.options.commentPropName&&0===i.length?this.indentate(r)+`\x3c!--${e}--\x3e`+this.newLine:this.indentate(r)+"<"+t+n+i+this.tagEndChar+e+this.indentate(r)+o}},i.prototype.closeTag=function(e){let t="";return-1!==this.options.unpairedTags.indexOf(e)?this.options.suppressUnpairedNode||(t="/"):t=this.options.suppressEmptyNode?"/":`></${e}`,t},i.prototype.buildTextValNode=function(e,t,n,r){if(!1!==this.options.cdataPropName&&t===this.options.cdataPropName)return this.indentate(r)+`<![CDATA[${e}]]>`+this.newLine;if(!1!==this.options.commentPropName&&t===this.options.commentPropName)return this.indentate(r)+`\x3c!--${e}--\x3e`+this.newLine;if("?"===t[0])return this.indentate(r)+"<"+t+n+"?"+this.tagEndChar;{let o=this.options.tagValueProcessor(t,e);return o=this.replaceEntitiesValue(o),""===o?this.indentate(r)+"<"+t+n+this.closeTag(t)+this.tagEndChar:this.indentate(r)+"<"+t+n+">"+o+"</"+t+this.tagEndChar}},i.prototype.replaceEntitiesValue=function(e){if(e&&e.length>0&&this.options.processEntities)for(let t=0;t<this.options.entities.length;t++){const n=this.options.entities[t];e=e.replace(n.regex,n.val)}return e},e.exports=i},7169:function(e){function t(e,a,s,c){let u="",l=!1;for(let f=0;f<e.length;f++){const h=e[f],p=n(h);let d="";if(d=0===s.length?p:`${s}.${p}`,p===a.textNodeName){let e=h[p];o(d,a)||(e=a.tagValueProcessor(p,e),e=i(e,a)),l&&(u+=c),u+=e,l=!1;continue}if(p===a.cdataPropName){l&&(u+=c),u+=`<![CDATA[${h[p][0][a.textNodeName]}]]>`,l=!1;continue}if(p===a.commentPropName){u+=c+`\x3c!--${h[p][0][a.textNodeName]}--\x3e`,l=!0;continue}if("?"===p[0]){const e=r(h[":@"],a),t="?xml"===p?"":c;let n=h[p][0][a.textNodeName];n=0!==n.length?" "+n:"",u+=t+`<${p}${n}${e}?>`,l=!0;continue}let g=c;""!==g&&(g+=a.indentBy);const y=c+`<${p}${r(h[":@"],a)}`,v=t(h[p],a,d,g);-1!==a.unpairedTags.indexOf(p)?a.suppressUnpairedNode?u+=y+">":u+=y+"/>":v&&0!==v.length||!a.suppressEmptyNode?v&&v.endsWith(">")?u+=y+`>${v}${c}</${p}>`:(u+=y+">",v&&""!==c&&(v.includes("/>")||v.includes("</"))?u+=c+a.indentBy+v+c:u+=v,u+=`</${p}>`):u+=y+"/>",l=!0}return u}function n(e){const t=Object.keys(e);for(let n=0;n<t.length;n++){const e=t[n];if(":@"!==e)return e}}function r(e,t){let n="";if(e&&!t.ignoreAttributes)for(let r in e){let o=t.attributeValueProcessor(r,e[r]);o=i(o,t),!0===o&&t.suppressBooleanAttributes?n+=` ${r.substr(t.attributeNamePrefix.length)}`:n+=` ${r.substr(t.attributeNamePrefix.length)}="${o}"`}return n}function o(e,t){let n=(e=e.substr(0,e.length-t.textNodeName.length-1)).substr(e.lastIndexOf(".")+1);for(let r in t.stopNodes)if(t.stopNodes[r]===e||t.stopNodes[r]==="*."+n)return!0;return!1}function i(e,t){if(e&&e.length>0&&t.processEntities)for(let n=0;n<t.entities.length;n++){const r=t.entities[n];e=e.replace(r.regex,r.val)}return e}e.exports=function(e,n){let r="";return n.format&&n.indentBy.length>0&&(r="\n"),t(e,n,"",r)}},4116:function(e){function t(e,t){let n="";for(;t<e.length&&"'"!==e[t]&&'"'!==e[t];t++)n+=e[t];if(n=n.trim(),-1!==n.indexOf(" "))throw new Error("External entites are not supported");const r=e[t++];let o="";for(;t<e.length&&e[t]!==r;t++)o+=e[t];return[n,o,t]}function n(e,t){return"!"===e[t+1]&&"-"===e[t+2]&&"-"===e[t+3]}function r(e,t){return"!"===e[t+1]&&"E"===e[t+2]&&"N"===e[t+3]&&"T"===e[t+4]&&"I"===e[t+5]&&"T"===e[t+6]&&"Y"===e[t+7]}function o(e,t){return"!"===e[t+1]&&"E"===e[t+2]&&"L"===e[t+3]&&"E"===e[t+4]&&"M"===e[t+5]&&"E"===e[t+6]&&"N"===e[t+7]&&"T"===e[t+8]}function i(e,t){return"!"===e[t+1]&&"A"===e[t+2]&&"T"===e[t+3]&&"T"===e[t+4]&&"L"===e[t+5]&&"I"===e[t+6]&&"S"===e[t+7]&&"T"===e[t+8]}function a(e,t){return"!"===e[t+1]&&"N"===e[t+2]&&"O"===e[t+3]&&"T"===e[t+4]&&"A"===e[t+5]&&"T"===e[t+6]&&"I"===e[t+7]&&"O"===e[t+8]&&"N"===e[t+9]}e.exports=function(e,s){const c={};if("O"!==e[s+3]||"C"!==e[s+4]||"T"!==e[s+5]||"Y"!==e[s+6]||"P"!==e[s+7]||"E"!==e[s+8])throw new Error("Invalid Tag instead of DOCTYPE");{s+=9;let u=1,l=!1,f=!1,h="";for(;s<e.length;s++)if("<"!==e[s]||f)if(">
1"===e[s]){if(f?"-"===e[s-1]&&"-"===e[s-2]&&(f=!1,u--):u--,0===u)break}else"["===e[s]?l=!0:h+=e[s];else{if(l&&r(e,s))s+=7,[entityName,val,s]=t(e,s+1),-1===val.indexOf("&")&&(c[entityName]={regx:RegExp(`&${entityName};`,"g"),val:val});else if(l&&o(e,s))s+=8;else if(l&&i(e,s))s+=8;else if(l&&a(e,s))s+=9;else{if(!n)throw new Error("Invalid DOCTYPE");f=!0}u++,h=""}if(0!==u)throw new Error("Unclosed DOCTYPE")}return{entities:c,i:s}}},8497:function(e,t){const n={preserveOrder:!1,attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,removeNSPrefix:!1,allowBooleanAttributes:!1,parseTagValue:!0,parseAttributeValue:!1,trimValues:!0,cdataPropName:!1,numberParseOptions:{hex:!0,leadingZeros:!0,eNotation:!0},tagValueProcessor:function(e,t){return t},attributeValueProcessor:function(e,t){return t},stopNodes:[],alwaysCreateTextNode:!1,isArray:()=>!1,commentPropName:!1,unpairedTags:[],processEntities:!0,htmlEntities:!1,ignoreDeclaration:!1,ignorePiTags:!1,transformTagName:!1,transformAttributeName:!1,updateTag:function(e,t,n){return e}};t.buildOptions=function(e){return Object.assign({},n,e)},t.defaultOptions=n},5083:function(e,t,n){"use strict";const r=n(3532),o=n(2168),i=n(4116),a=n(231);"<((!\\[CDATA\\[([\\s\\S]*?)(]]>))|((NAME:)?(NAME))([^>]*)>|((\\/)(NAME)\\s*>))([^<]*)".replace(/NAME/g,r.nameRegexp);function s(e){const t=Object.keys(e);for(let n=0;n<t.length;n++){const r=t[n];this.lastEntities[r]={regex:new RegExp("&"+r+";","g"),val:e[r]}}}function c(e,t,n,r,o,i,a){if(void 0!==e&&(this.options.trimValues&&!r&&(e=e.trim()),e.length>0)){a||(e=this.replaceEntitiesValue(e));const r=this.options.tagValueProcessor(t,e,n,o,i);if(null===r||void 0===r)return e;if(typeof r!==typeof e||r!==e)return r;if(this.options.trimValues)return _(e,this.options.parseTagValue,this.options.numberParseOptions);return e.trim()===e?_(e,this.options.parseTagValue,this.options.numberParseOptions):e}}function u(e){if(this.options.removeNSPrefix){const t=e.split(":"),n="/"===e.charAt(0)?"/":"";if("xmlns"===t[0])return"";2===t.length&&(e=n+t[1])}return e}const l=new RegExp("([^\\s=]+)\\s*(=\\s*(['\"])([\\s\\S]*?)\\3)?","gm");function f(e,t,n){if(!this.options.ignoreAttributes&&"string"===typeof e){const n=r.getAllMatches(e,l),o=n.length,i={};for(let e=0;e<o;e++){const r=this.resolveNameSpace(n[e][1]);let o=n[e][4],a=this.options.attributeNamePrefix+r;if(r.length)if(this.options.transformAttributeName&&(a=this.options.transformAttributeName(a)),"__proto__"===a&&(a="#__proto__"),void 0!==o){this.options.trimValues&&(o=o.trim()),o=this.replaceEntitiesValue(o);const e=this.options.attributeValueProcessor(r,o,t);i[a]=null===e||void 0===e?o:typeof e!==typeof o||e!==o?e:_(o,this.options.parseAttributeValue,this.options.numberParseOptions)}else this.options.allowBooleanAttributes&&(i[a]=!0)}if(!Object.keys(i).length)return;if(this.options.attributesGroupName){const e={};return e[this.options.attributesGroupName]=i,e}return i}}const h=function(e){e=e.replace(/\r\n?/g,"\n");const t=new o("!xml");let n=t,r="",a="";for(let s=0;s<e.length;s++){if("<"===e[s])if("/"===e[s+1]){const t=v(e,">",s,"Closing Tag is not closed.");let o=e.substring(s+2,t).trim();if(this.options.removeNSPrefix){const e=o.indexOf(":");-1!==e&&(o=o.substr(e+1))}this.options.transformTagName&&(o=this.options.transformTagName(o)),n&&(r=this.saveTextToParentTag(r,n,a));const i=a.substring(a.lastIndexOf(".")+1);let c=0;i&&-1!==this.options.unpairedTags.indexOf(i)?(c=a.lastIndexOf(".",a.lastIndexOf(".")-1),c<1&&(c=a.lastIndexOf("."))):c=a.lastIndexOf("."),a=a.substring(0,c),n=this.tagsNodeStack.pop(),r="",s=t}else if("?"===e[s+1]){let t=m(e,s,!1,"?>");if(!t)throw new Error("Pi Tag is not closed.");if(r=this.saveTextToParentTag(r,n,a),this.options.ignoreDeclaration&&"?xml"===t.tagName||this.options.ignorePiTags);else{const e=new o(t.tagName);e.add(this.options.textNodeName,""),t.tagName!==t.tagExp&&t.attrExpPresent&&(e[":@"]=this.buildAttributesMap(t.tagExp,a,t.tagName)),this.addChild(n,e,a)}s=t.closeIndex+1}else if("!--"===e.substr(s+1,3)){const t=v(e,"--\x3e",s+4,"Comment is not closed.");if(this.options.commentPropName){const o=e.substring(s+4,t-2);r=this.saveTextToParentTag(r,n,a),n.add(this.options.commentPropName,[{[this.options.textNodeName]:o}])}s=t}else if("!D"===e.substr(s+1,2)){const t=i(e,s);this.docTypeEntities=t.entities,s=t.i}else if("!["===e.substr(s+1,2)){const t=v(e,"]]>",s,"CDATA is not closed.")-2,o=e.substring(s+9,t);if(r=this.saveTextToParentTag(r,n,a),this.options.cdataPropName)n.add(this.options.cdataPropName,[{[this.options.textNodeName]:o}]);else{let e=this.parseTextData(o,n.tagname,a,!0,!1,!0);void 0==e&&(e=""),n.add(this.options.textNodeName,e)}s=t+2}else{let i=m(e,s,this.options.removeNSPrefix),c=i.tagName,u=i.tagExp,l=i.attrExpPresent,f=i.closeIndex;this.options.transformTagName&&(c=this.options.transformTagName(c)),n&&r&&"!xml"!==n.tagname&&(r=this.saveTextToParentTag(r,n,a,!1));const h=n;if(h&&-1!==this.options.unpairedTags.indexOf(h.tagname)&&(n=this.tagsNodeStack.pop(),a=a.substring(0,a.lastIndexOf("."))),c!==t.tagname&&(a+=a?"."+c:c),this.isItStopNode(this.options.stopNodes,a,c)){let t="";if(u.length>0&&u.lastIndexOf("/")===u.length-1)s=i.closeIndex;else if(-1!==this.options.unpairedTags.indexOf(c))s=i.closeIndex;else{const n=this.readStopNodeData(e,c,f+1);if(!n)throw new Error(`Unexpected end of ${c}`);s=n.i,t=n.tagContent}const r=new o(c);c!==u&&l&&(r[":@"]=this.buildAttributesMap(u,a,c)),t&&(t=this.parseTextData(t,c,a,!0,l,!0,!0)),a=a.substr(0,a.lastIndexOf(".")),r.add(this.options.textNodeName,t),this.addChild(n,r,a)}else{if(u.length>0&&u.lastIndexOf("/")===u.length-1){"/"===c[c.length-1]?(c=c.substr(0,c.length-1),u=c):u=u.substr(0,u.length-1),this.options.transformTagName&&(c=this.options.transformTagName(c));const e=new o(c);c!==u&&l&&(e[":@"]=this.buildAttributesMap(u,a,c)),this.addChild(n,e,a),a=a.substr(0,a.lastIndexOf("."))}else{const e=new o(c);this.tagsNodeStack.push(n),c!==u&&l&&(e[":@"]=this.buildAttributesMap(u,a,c)),this.addChild(n,e,a),n=e}r="",s=f}}else r+=e[s]}return t.child};function p(e,t,n){const r=this.options.updateTag(t.tagname,n,t["
1:@"]);!1===r||("string"===typeof r?(t.tagname=r,e.addChild(t)):e.addChild(t))}const d=function(e){if(this.options.processEntities){for(let t in this.docTypeEntities){const n=this.docTypeEntities[t];e=e.replace(n.regx,n.val)}for(let t in this.lastEntities){const n=this.lastEntities[t];e=e.replace(n.regex,n.val)}if(this.options.htmlEntities)for(let t in this.htmlEntities){const n=this.htmlEntities[t];e=e.replace(n.regex,n.val)}e=e.replace(this.ampEntity.regex,this.ampEntity.val)}return e};function g(e,t,n,r){return e&&(void 0===r&&(r=0===Object.keys(t.child).length),void 0!==(e=this.parseTextData(e,t.tagname,n,!1,!!t[":@"]&&0!==Object.keys(t[":@"]).length,r))&&""!==e&&t.add(this.options.textNodeName,e),e=""),e}function y(e,t,n){const r="*."+n;for(const o in e){const n=e[o];if(r===n||t===n)return!0}return!1}function v(e,t,n,r){const o=e.indexOf(t,n);if(-1===o)throw new Error(r);return o+t.length-1}function m(e,t,n,r=">"){const o=function(e,t,n=">"){let r,o="";for(let i=t;i<e.length;i++){let t=e[i];if(r)t===r&&(r="");else if('"'===t||"'"===t)r=t;else if(t===n[0]){if(!n[1])return{data:o,index:i};if(e[i+1]===n[1])return{data:o,index:i}}else"\t"===t&&(t=" ");o+=t}}(e,t+1,r);if(!o)return;let i=o.data;const a=o.index,s=i.search(/\s/);let c=i,u=!0;if(-1!==s&&(c=i.substr(0,s).replace(/\s\s*$/,""),i=i.substr(s+1)),n){const e=c.indexOf(":");-1!==e&&(c=c.substr(e+1),u=c!==o.data.substr(e+1))}return{tagName:c,tagExp:i,closeIndex:a,attrExpPresent:u}}function b(e,t,n){const r=n;let o=1;for(;n<e.length;n++)if("<"===e[n])if("/"===e[n+1]){const i=v(e,">",n,`${t} is not closed`);if(e.substring(n+2,i).trim()===t&&(o--,0===o))return{tagContent:e.substring(r,n),i:i};n=i}else if("?"===e[n+1]){n=v(e,"?>",n+1,"StopNode is not closed.")}else if("!--"===e.substr(n+1,3)){n=v(e,"--\x3e",n+3,"StopNode is not closed.")}else if("!["===e.substr(n+1,2)){n=v(e,"]]>",n,"StopNode is not closed.")-2}else{const r=m(e,n,">");if(r){(r&&r.tagName)===t&&"/"!==r.tagExp[r.tagExp.length-1]&&o++,n=r.closeIndex}}}function _(e,t,n){if(t&&"string"===typeof e){const t=e.trim();return"true"===t||"false"!==t&&a(e,n)}return r.isExist(e)?e:""}e.exports=class{constructor(e){this.options=e,this.currentNode=null,this.tagsNodeStack=[],this.docTypeEntities={},this.lastEntities={apos:{regex:/&(apos|#39|#x27);/g,val:"'"},gt:{regex:/&(gt|#62|#x3E);/g,val:">"},lt:{regex:/&(lt|#60|#x3C);/g,val:"<"},quot:{regex:/&(quot|#34|#x22);/g,val:'"'}},this.ampEntity={regex:/&(amp|#38|#x26);/g,val:"&"},this.htmlEntities={space:{regex:/&(nbsp|#160);/g,val:" "},cent:{regex:/&(cent|#162);/g,val:"\xa2"},pound:{regex:/&(pound|#163);/g,val:"\xa3"},yen:{regex:/&(yen|#165);/g,val:"\xa5"},euro:{regex:/&(euro|#8364);/g,val:"\u20ac"},copyright:{regex:/&(copy|#169);/g,val:"\xa9"},reg:{regex:/&(reg|#174);/g,val:"\xae"},inr:{regex:/&(inr|#8377);/g,val:"\u20b9"}},this.addExternalEntities=s,this.parseXml=h,this.parseTextData=c,this.resolveNameSpace=u,this.buildAttributesMap=f,this.isItStopNode=y,this.replaceEntitiesValue=d,this.readStopNodeData=b,this.saveTextToParentTag=g,this.addChild=p}}},141:function(e,t,n){const{buildOptions:r}=n(8497),o=n(5083),{prettify:i}=n(488),a=n(7265);e.exports=class{constructor(e){this.externalEntities={},this.options=r(e)}parse(e,t){if("string"===typeof e);else{if(!e.toString)throw new Error("XML data is accepted in String or Bytes[] form.");e=e.toString()}if(t){!0===t&&(t={});const n=a.validate(e,t);if(!0!==n)throw Error(`${n.err.msg}:${n.err.line}:${n.err.col}`)}const n=new o(this.options);n.addExternalEntities(this.externalEntities);const r=n.parseXml(e);return this.options.preserveOrder||void 0===r?r:i(r,this.options)}addEntity(e,t){if(-1!==t.indexOf("&"))throw new Error("Entity value can't have '&'");if(-1!==e.indexOf("&")||-1!==e.indexOf(";"))throw new Error("An entity must be set without '&' and ';'. Eg. use '#xD' for '
'");if("&"===t)throw new Error("An entity with value '&' is not permitted");this.externalEntities[e]=t}}},488:function(e,t){"use strict";function n(e,t,a){let s;const c={};for(let u=0;u<e.length;u++){const l=e[u],f=r(l);let h="";if(h=void 0===a?f:a+"."+f,f===t.textNodeName)void 0===s?s=l[f]:s+=""+l[f];else{if(void 0===f)continue;if(l[f]){let e=n(l[f],t,h);const r=i(e,t);l[":@"]?o(e,l[":@"],h,t):1!==Object.keys(e).length||void 0===e[t.textNodeName]||t.alwaysCreateTextNode?0===Object.keys(e).length&&(t.alwaysCreateTextNode?e[t.textNodeName]="":e=""):e=e[t.textNodeName],void 0!==c[f]&&
1c.hasOwnProperty(f)?(Array.isArray(c[f])||(c[f]=[c[f]]),c[f].push(e)):t.isArray(f,h,r)?c[f]=[e]:c[f]=e}}}return"string"===typeof s?s.length>0&&(c[t.textNodeName]=s):void 0!==s&&(c[t.textNodeName]=s),c}function r(e){const t=Object.keys(e);for(let n=0;n<t.length;n++){const e=t[n];if(":@"!==e)return e}}function o(e,t,n,r){if(t){const o=Object.keys(t),i=o.length;for(let a=0;a<i;a++){const i=o[a];r.isArray(i,n+"."+i,!0,!0)?e[i]=[t[i]]:e[i]=t[i]}}}function i(e,t){const{textNodeName:n}=t,r=Object.keys(e).length;return 0===r||!(1!==r||!e[n]&&"boolean"!==typeof e[n]&&0!==e[n])}t.prettify=function(e,t){return n(e,t)}},2168:function(e){"use strict";e.exports=class{constructor(e){this.tagname=e,this.child=[],this[":@"]={}}add(e,t){"__proto__"===e&&(e="#__proto__"),this.child.push({[e]:t})}addChild(e){"__proto__"===e.tagname&&(e.tagname="#__proto__"),e[":@"]&&Object.keys(e[":@"]).length>0?this.child.push({[e.tagname]:e.child,":@":e[":@"]}):this.child.push({[e.tagname]:e.child})}}},4923:function(e,t,n){"use strict";n.d(t,{Ps:function(){return Y}});var r=n(2482);function o(e,t){if(!Boolean(e))throw new Error(null!=t?t:"Unexpected invariant triggered.")}const i=/\r\n|[\n\r]/g;function a(e,t){let n=0,r=1;
1for(const a of e.body.matchAll(i)){if("number"===typeof a.index||o(!1),a.index>=t)break;n=a.index+a[0].length,r+=1}return{line:r,column:t+1-n}}function s(e,t){const n=e.locationOffset.column-1,r="".padStart(n)+e.body,o=t.line-1,i=e.locationOffset.line-1,a=t.line+i,s=1===t.line?n:0,u=t.column+s,l=`${e.name}:${a}:${u}\n`,f=r.split(/\r\n|[\n\r]/g),h=f[o];if(h.length>120){const e=Math.floor(u/80),t=u%80,n=[];for(let r=0;r<h.length;r+=80)n.push(h.slice(r,r+80));return l+c([[`${a} |`,n[0]],...n.slice(1,e+1).map((e=>["|",e])),["|","^".padStart(t)],["|",n[e+1]]])}return l+c([[a-1+" |",f[o-1]],[`${a} |`,h],["|","^".padStart(u)],[`${a+1} |`,f[o+1]]])}function c(e){const t=e.filter((([e,t])=>void 0!==t)),n=Math.max(...t.map((([e])=>e.length)));return t.map((([e,t])=>e.padStart(n)+(t?" "+t:""))).join("\n")}class u extends Error{constructor(e,...t){var n,r,o;const{nodes:i,source:s,positions:c,path:f,originalError:h,extensions:p}=function(e){const t=e[0];return null==t||"kind"in t||"length"in t?{nodes:t,source:e[1],positions:e[2],path:e[3],originalError:e[4],extensions:e[5]}:t}(t);super(e),this.name="GraphQLError",this.path=null!==f&&void 0!==f?f:void 0,this.originalError=null!==h&&void 0!==h?h:void 0,this.nodes=l(Array.isArray(i)?i:i?[i]:void 0);const d=l(null===(n=this.nodes)||void 0===n?void 0:n.map((e=>e.loc)).filter((e=>null!=e)));this.source=null!==s&&void 0!==s?s:null===d||void 0===d||null===(r=d[0])||void 0===r?void 0:r.source,this.positions=null!==c&&void 0!==c?c:null===d||void 0===d?void 0:d.map((e=>e.start)),this.locations=c&&s?c.map((e=>a(s,e))):null===d||void 0===d?void 0:d.map((e=>a(e.source,e.start)));const g="object"==typeof(y=null===h||void 0===h?void 0:h.extensions)&&null!==y?null===h||void 0===h?void 0:h.extensions:void 0;var y;this.extensions=null!==(o=null!==p&&void 0!==p?p:g)&&void 0!==o?o:Object.create(null),Object.defineProperties(this,{message:{writable:!0,enumerable:!0},name:{enumerable:!1},nodes:{enumerable:!1},source:{enumerable:!1},positions:{enumerable:!1},originalError:{enumerable:!1}}),null!==h&&void 0!==h&&h.stack?Object.defineProperty(this,"stack",{value:h.stack,writable:!0,configurable:!0}):Error.captureStackTrace?Error.captureStackTrace(this,u):Object.defineProperty(this,"stack",{value:Error().stack,writable:!0,configurable:!0})}get[Symbol.toStringTag](){return"GraphQLError"}toString(){let e=this.message;if(this.nodes)for(const n of this.nodes)n.loc&&(e+="\n\n"+s((t=n.loc).source,a(t.source,t.start)));else if(this.source&&this.locations)for(const n of this.locations)e+="\n\n"+s(this.source,n);var t;return e}toJSON(){const e={message:this.message};return null!=this.locations&&(e.locations=this.locations),null!=this.path&&(e.path=this.path),null!=this.extensions&&Object.keys(this.extensions).length>0&&(e.extensions=this.extensions),e}}function l(e){return void 0===e||0===e.length?void 0:e}function f(e,t,n){return new u(`Syntax Error: ${n}`,{source:e,positions:[t]})}var h,p=n(2531);!function(e){e.QUERY="QUERY",e.MUTATION="MUTATION",e.SUBSCRIPTION="SUBSCRIPTION",e.FIELD="FIELD",e.FRAGMENT_DEFINITION="FRAGMENT_DEFINITION",e.FRAGMENT_SPREAD="FRAGMENT_SPREAD",e.INLINE_FRAGMENT="INLINE_FRAGMENT",e.VARIABLE_DEFINITION="VARIABLE_DEFINITION",e.SCHEMA="SCHEMA",e.SCALAR="SCALAR",e.OBJECT="OBJECT",e.FIELD_DEFINITION="FIELD_DEFINITION",e.ARGUMENT_DEFINITION="ARGUMENT_DEFINITION",e.INTERFACE="INTERFACE",e.UNION="UNION",e.ENUM="ENUM",e.ENUM_VALUE="ENUM_VALUE",e.INPUT_OBJECT="INPUT_OBJECT",e.INPUT_FIELD_DEFINITION="INPUT_FIELD_DEFINITION"}(h||(h={}));var d,g=n(9992),y=n(8013),v=n(4823);!function(e){e.SOF="<SOF>",e.EOF="<EOF>",e.BANG="!",e.DOLLAR="$",e.AMP="&",e.PAREN_L="(",e.PAREN_R=")",e.SPREAD="...",e.COLON=":",e.EQUALS="=",e.AT="@",e.BRACKET_L="[",e.BRACKET_R="]",e.BRACE_L="{",e.PIPE="|",e.BRACE_R="}",e.NAME="Name",e.INT="Int",e.FLOAT="Float",e.STRING="String",e.BLOCK_STRING="BlockString",e.COMMENT="Comment"}(d||(d={}));class m{constructor(e){const t=new p.WU(d.SOF,0,0,0,0);this.source=e,this.lastToken=t,this.token=t,this.line=1,this.lineStart=0}get[Symbol.toStringTag](){return"Lexer"}advance(){this.lastToken=this.token;return this.token=this.lookahead()}lookahead(){let e=this.token;if(e.kind!==d.EOF)do{if(e.next)e=e.next;else{const t=x(this,e.end);e.next=t,t.prev=e,e=t}}while(e.kind===d.COMMENT);return e}}function b(e){return e>=0&&e<=55295||e>=57344&&e<=1114111}function _(e,t){return T(e.charCodeAt(t))&&w(e.charCodeAt(t+1))}function T(e){return e>=55296&&e<=56319}function w(e){return e>=56320&&e<=57343}function E(e,t){const n=e.source.body.codePointAt(t);if(void 0===n)return d.EOF;if(n>=32&&n<=126){const e=String.fromCodePoint(n);return'"'===e?"'\"'":`"${e}"`}return"U+"+n.toString(16).toUpperCase().padStart(4,"0")}function C(e,t,n,r,o){const i=e.line,a=1+n-e.lineStart;return new p.WU(t,n,r,i,a,o)}function x(e,t){const n=e.source.body,r=n.length;let o=t;for(;o<r;){const t=n.charCodeAt(o);switch(t){case 65279:case 9:case 32:case 44:++o;continue;case 10:++o,++e.line,e.lineStart=o;continue;case 13:10===n.charCodeAt(o+1)?o+=2:++o,++e.line,e.lineStart=o;continue;case 35:return O(e,o);case 33:return C(e,d.BANG,o,o+1);case 36:return C(e,d.DOLLAR,o,o+1);case 38:return C(e,d.AMP,o,o+1);case 40:return C(e,d.PAREN_L,o,o+1);case 41:return C(e,d.PAREN_R,o,o+1);case 46:if(46===n.charCodeAt(o+1)&&46===n.charCodeAt(o+2))return C(e,d.SPREAD,o,o+3);break;case 58:return C(e,d.COLON,o,o+1);case 61:return C(e,d.EQUALS,o,o+1);case 64:return C(e,d.AT,o,o+1);case 91:return C(e,d.BRACKET_L,o,o+1);case 93:return C(e,d.BRACKET_R,o,o+1);case 123:return C(e,d.BRACE_L,o,o+1);case 124:return C(e,d.PIPE,o,o+1);case 125:return C(e,d.BRACE_R,o,o+1);case 34:return 34===n.charCodeAt(o+1)&&34===n.charCodeAt(o+2)?D(e,o):P(e,o)}if((0,v.X1)(t)||45===t)return I(e,o,t);if((0,v.LQ)(t))return M(e,o);throw f(e.source,o,39===t?"Unexpected single quote character ('), did you mean to use a double quote (\")?":b(t)||_(n,o)?`Unexpected character: ${E(e,o)}.`:`Invalid character: ${E(e,o)}.`)}return C(e,d.EOF,r,r)}function O(e,t){const n=e.source.body,r=n.length;let o=t+1;for(;o<r;){const e=n.charCodeAt(o);if(10===e||13===e)break;if(b(e))++o;else{if(!_(n,o))break;o+=2}}return C(e,d.COMMENT,t,o,n.slice(t+1,o))}function I(e,t,n){const r=e.source.body;let o=t,i=n,a=!1;if(45===i&&(i=r.charCodeAt(++o)),48===i){if(i=r.charCodeAt(++o),(0,v.X1)(i))throw f(e.source,o,`Invalid number, unexpected digit after 0: ${E(e,o)}.`)}else o=k(e,o,i),i=r.charCodeAt(o);if(46===i&&(a=!0,i=r.charCodeAt(++o),o=k(e,o,i),i=r.charCodeAt(o)),69!==i&&101!==i||(a=!0,i=r.charCodeAt(++o),43!==i&&45!==i||(i=r.charCodeAt(++o)),o=k(e,o,i),i=r.charCodeAt(o)),46===i||(0,v.LQ)(i))throw f(e.source,o,`Invalid number, expected digit but got: ${E(e,o)}.`);return C(e,a?d.FLOAT:d.INT,t,o,r.slice(t,o))}
vendor: 19,856 bytes, line 1
1function k(e,t,n){if(!(0,v.X1)(n))throw f(e.source,t,`Invalid number, expected digit but got: ${E(e,t)}.`);const r=e.source.body;let o=t+1;for(;(0,v.X1)(r.charCodeAt(o));)++o;return o}function P(e,t){const n=e.source.body,r=n.length;let o=t+1,i=o,a="";for(;o<r;){const r=n.charCodeAt(o);if(34===r)return a+=n.slice(i,o),C(e,d.STRING,t,o+1,a);if(92!==r){if(10===r||13===r)break;if(b(r))++o;else{if(!_(n,o))throw f(e.source,o,`Invalid character within String: ${E(e,o)}.`);o+=2}}else{a+=n.slice(i,o);const t=117===n.charCodeAt(o+1)?123===n.charCodeAt(o+2)?N(e,o):S(e,o):R(e,o);a+=t.value,o+=t.size,i=o}}throw f(e.source,o,"Unterminated string.")}function N(e,t){const n=e.source.body;let r=0,o=3;for(;o<12;){const e=n.charCodeAt(t+o++);if(125===e){if(o<5||!b(r))break;return{value:String.fromCodePoint(r),size:o}}if(r=r<<4|j(e),r<0)break}throw f(e.source,t,`Invalid Unicode escape sequence: "${n.slice(t,t+o)}".`)}function S(e,t){const n=e.source.body,r=A(n,t+2);if(b(r))return{value:String.fromCodePoint(r),size:6};if(T(r)&&92===n.charCodeAt(t+6)&&117===n.charCodeAt(t+7)){const e=A(n,t+8);if(w(e))return{value:String.fromCodePoint(r,e),size:12}}throw f(e.source,t,`Invalid Unicode escape sequence: "${n.slice(t,t+6)}".`)}function A(e,t){return j(e.charCodeAt(t))<<12|j(e.charCodeAt(t+1))<<8|j(e.charCodeAt(t+2))<<4|j(e.charCodeAt(t+3))}function j(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}function R(e,t){const n=e.source.body;switch(n.charCodeAt(t+1)){case 34:return{value:'"',size:2};case 92:return{value:"\\",size:2};case 47:return{value:"/",size:2};case 98:return{value:"\b",size:2};case 102:return{value:"\f",size:2};case 110:return{value:"\n",size:2};case 114:return{value:"\r",size:2};case 116:return{value:"\t",size:2}}throw f(e.source,t,`Invalid character escape sequence: "${n.slice(t,t+2)}".`)}function D(e,t){const n=e.source.body,r=n.length;let o=e.lineStart,i=t+3,a=i,s="";const c=[];for(;i<r;){const r=n.charCodeAt(i);if(34===r&&34===n.charCodeAt(i+1)&&34===n.charCodeAt(i+2)){s+=n.slice(a,i),c.push(s);const r=C(e,d.BLOCK_STRING,t,i+3,(0,y.wv)(c).join("\n"));return e.line+=c.length-1,e.lineStart=o,r}if(92!==r||34!==n.charCodeAt(i+1)||34!==n.charCodeAt(i+2)||34!==n.charCodeAt(i+3))if(10!==r&&13!==r)if(b(r))++i;else{if(!_(n,i))throw f(e.source,i,`Invalid character within String: ${E(e,i)}.`);i+=2}else s+=n.slice(a,i),c.push(s),13===r&&10===n.charCodeAt(i+1)?i+=2:++i,s="",a=i,o=i;else s+=n.slice(a,i),a=i+1,i+=4}throw f(e.source,i,"Unterminated string.")}function M(e,t){const n=e.source.body,r=n.length;let o=t+1;for(;o<r;){const e=n.charCodeAt(o);if(!(0,v.HQ)(e))break;++o}return C(e,d.NAME,t,o,n.slice(t,o))}var F=n(5418);class L{constructor(e,t={}){const n=(0,F.T)(e)?e:new F.H(e);this._lexer=new m(n),this._options=t,this._tokenCounter=0}parseName(){const e=this.expectToken(d.NAME);return this.node(e,{kind:g.h.NAME,value:e.value})}parseDocument(){return this.node(this._lexer.token,{kind:g.h.DOCUMENT,definitions:this.many(d.SOF,this.parseDefinition,d.EOF)})}parseDefinition(){if(this.peek(d.BRACE_L))return this.parseOperationDefinition();const e=this.peekDescription(),t=e?this._lexer.lookahead():this._lexer.token;if(t.kind===d.NAME){switch(t.value){case"schema":return this.parseSchemaDefinition();case"scalar":return this.parseScalarTypeDefinition();case"type":return this.parseObjectTypeDefinition();case"interface":return this.parseInterfaceTypeDefinition();case"union":return this.parseUnionTypeDefinition();case"enum":return this.parseEnumTypeDefinition();case"input":return this.parseInputObjectTypeDefinition();case"directive":return this.parseDirectiveDefinition()}if(e)throw f(this._lexer.source,this._lexer.token.start,"Unexpected description, descriptions are supported only on type definitions.");switch(t.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition();case"extend":return this.parseTypeSystemExtension()}}throw this.unexpected(t)}parseOperationDefinition(){const e=this._lexer.token;if(this.peek(d.BRACE_L))return this.node(e,{kind:g.h.OPERATION_DEFINITION,operation:p.ku.QUERY,name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet()});const t=this.parseOperationType();let n;return this.peek(d.NAME)&&(n=this.parseName()),this.node(e,{kind:g.h.OPERATION_DEFINITION,operation:t,name:n,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseOperationType(){const e=this.expectToken(d.NAME);switch(e.value){case"query":return p.ku.QUERY;case"mutation":return p.ku.MUTATION;case"subscription":return p.ku.SUBSCRIPTION}throw this.unexpected(e)}parseVariableDefinitions(){return this.optionalMany(d.PAREN_L,this.parseVariableDefinition,d.PAREN_R)}parseVariableDefinition(){return this.node(this._lexer.token,{kind:g.h.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(d.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(d.EQUALS)?this.parseConstValueLiteral():void 0,directives:this.parseConstDirectives()})}parseVariable(){const e=this._lexer.token;return this.expectToken(d.DOLLAR),this.node(e,{kind:g.h.VARIABLE,name:this.parseName()})}parseSelectionSet(){return this.node(this._lexer.token,{kind:g.h.SELECTION_SET,selections:this.many(d.BRACE_L,this.parseSelection,d.BRACE_R)})}parseSelection(){return this.peek(d.SPREAD)?this.parseFragment():this.parseField()}parseField(){const e=this._lexer.token,t=this.parseName();let n,r;return this.expectOptionalToken(d.COLON)?(n=t,r=this.parseName()):r=t,this.node(e,{kind:g.h.FIELD,alias:n,name:r,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(d.BRACE_L)?this.parseSelectionSet():void 0})}parseArguments(e){const t=e?this.parseConstArgument:this.parseArgument;return this.optionalMany(d.PAREN_L,t,d.PAREN_R)}parseArgument(e=!1){const t=this._lexer.token,n=this.parseName();return this.expectToken(d.COLON),this.node(t,{kind:g.h.ARGUMENT,name:n,value:this.parseValueLiteral(e)})}parseConstArgument(){return this.parseArgument(!0)}parseFragment(){const e=this._lexer.token;this.expectToken(d.SPREAD);const t=this.expectOptionalKeyword("on");return!t&&this.peek(d.NAME)?this.node(e,{kind:g.h.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1)}):this.node(e,{kind:g.h.INLINE_FRAGMENT,typeCondition:t?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentDefinition(){const e=this._lexer.token;return this.expectKeyword("fragment"),!0===this._options.allowLegacyFragmentVariables?this.node(e,{kind:g.h.FRAGMENT_DEFINITION,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()}):this.node(e,{kind:g.h.FRAGMENT_DEFINITION,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentName(){if("on"===this._lexer.token.value)throw this.unexpected();return this.parseName()}parseValueLiteral(e){const t=this._lexer.token;switch(t.kind){case d.BRACKET_L:return this.parseList(e);case d.BRACE_L:return this.parseObject(e);case d.INT:return this.advanceLexer(),this.node(t,{kind:g.h.INT,value:t.value});case d.FLOAT:return this.advanceLexer(),this.node(t,{kind:g.h.FLOAT,value:t.value});case d.STRING:case d.BLOCK_STRING:return this.parseStringLiteral();case d.NAME:switch(this.advanceLexer(),t.value){case"true":return this.node(t,{kind:g.h.BOOLEAN,value:!0});case"false":return this.node(t,{kind:g.h.BOOLEAN,value:!1});case"null":return this.node(t,{kind:g.h.NULL});default:return this.node(t,{kind:g.h.ENUM,value:t.value})}case d.DOLLAR:if(e){if(this.expectToken(d.DOLLAR),this._lexer.token.kind===d.NAME){const e=this._lexer.token.value;throw f(this._lexer.source,t.start,`Unexpected variable "$${e}" in constant value.`)}throw this.unexpected(t)}return this.parseVariable();default:throw this.unexpected()}}parseConstValueLiteral(){return this.parseValueLiteral(!0)}parseStringLiteral(){const e=this._lexer.token;return this.advanceLexer(),this.node(e,{kind:g.h.STRING,value:e.value,block:e.kind===d.BLOCK_STRING})}parseList(e){return this.node(this._lexer.token,{kind:g.h.LIST,values:this.any(d.BRACKET_L,(()=>this.parseValueLiteral(e)),d.BRACKET_R)})}parseObject(e){return this.node(this._lexer.token,{kind:g.h.OBJECT,fields:this.any(d.BRACE_L,(()=>this.parseObjectField(e)),d.BRACE_R)})}parseObjectField(e){const t=this._lexer.token,n=this.parseName();return this.expectToken(d.COLON),this.node(t,{kind:g.h.OBJECT_FIELD,name:n,value:this.parseValueLiteral(e)})}parseDirectives(e){const t=[];for(;this.peek(d.AT);)t.push(this.parseDirective(e));return t}parseConstDirectives(){return this.parseDirectives(!0)}parseDirective(e){const t=this._lexer.token;return this.expectToken(d.AT),this.node(t,{kind:g.h.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(e)})}parseTypeReference(){const e=this._lexer.token;let t;if(this.expectOptionalToken(d.BRACKET_L)){const n=this.parseTypeReference();this.expectToken(d.BRACKET_R),t=this.node(e,{kind:g.h.LIST_TYPE,type:n})}else t=this.parseNamedType();return this.expectOptionalToken(d.BANG)?this.node(e,{kind:g.h.NON_NULL_TYPE,type:t}):t}parseNamedType(){return this.node(this._lexer.token,{kind:g.h.NAMED_TYPE,name:this.parseName()})}peekDescription(){return this.peek(d.STRING)||this.peek(d.BLOCK_STRING)}parseDescription(){if(this.peekDescription())return this.parseStringLiteral()}parseSchemaDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("schema");const n=this.parseConstDirectives(),r=this.many(d.BRACE_L,this.parseOperationTypeDefinition,d.BRACE_R);return this.node(e,{kind:g.h.SCHEMA_DEFINITION,description:t,directives:n,operationTypes:r})}parseOperationTypeDefinition(){const e=this._lexer.token,t=this.parseOperationType();this.expectToken(d.COLON);const n=this.parseNamedType();return this.node(e,{kind:g.h.OPERATION_TYPE_DEFINITION,operation:t,type:n})}parseScalarTypeDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("scalar");const n=this.parseName(),r=this.parseConstDirectives();return this.node(e,{kind:g.h.SCALAR_TYPE_DEFINITION,description:t,name:n,directives:r})}parseObjectTypeDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("type");const n=this.parseName(),r=this.parseImplementsInterfaces(),o=this.parseConstDirectives(),i=this.parseFieldsDefinition();return this.node(e,{kind:g.h.OBJECT_TYPE_DEFINITION,description:t,name:n,interfaces:r,directives:o,fields:i})}parseImplementsInterfaces(){return this.expectOptionalKeyword("implements")?this.delimitedMany(d.AMP,this.parseNamedType):[]}parseFieldsDefinition(){return this.optionalMany(d.BRACE_L,this.parseFieldDefinition,d.BRACE_R)}parseFieldDefinition(){const e=this._lexer.token,t=this.parseDescription(),n=this.parseName(),r=this.parseArgumentDefs();this.expectToken(d.COLON);const o=this.parseTypeReference(),i=this.parseConstDirectives();return this.node(e,{kind:g.h.FIELD_DEFINITION,description:t,name:n,arguments:r,type:o,directives:i})}parseArgumentDefs(){return this.optionalMany(d.PAREN_L,this.parseInputValueDef,d.PAREN_R)}parseInputValueDef(){const e=this._lexer.token,t=this.parseDescription(),n=this.parseName();this.expectToken(d.COLON);const r=this.parseTypeReference();let o;this.expectOptionalToken(d.EQUALS)&&(o=this.parseConstValueLiteral());const i=this.parseConstDirectives();return this.node(e,{kind:g.h.INPUT_VALUE_DEFINITION,description:t,name:n,type:r,defaultValue:o,directives:i})}parseInterfaceTypeDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("interface");const n=this.parseName(),r=this.parseImplementsInterfaces(),o=this.parseConstDirectives(),i=this.parseFieldsDefinition();return this.node(e,{kind:g.h.INTERFACE_TYPE_DEFINITION,description:t,name:n,interfaces:r,directives:o,fields:i})}parseUnionTypeDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("union");const n=this.parseName(),r=this.parseConstDirectives(),o=this.parseUnionMemberTypes();return this.node(e,{kind:g.h.UNION_TYPE_DEFINITION,description:t,name:n,directives:r,types:o})}parseUnionMemberTypes(){return this.expectOptionalToken(d.EQUALS)?this.delimitedMany(d.PIPE,this.parseNamedType):[]}parseEnumTypeDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("enum");const n=this.parseName(),r=this.parseConstDirectives(),o=this.parseEnumValuesDefinition();return this.node(e,{kind:g.h.ENUM_TYPE_DEFINITION,description:t,name:n,directives:r,values:o})}parseEnumValuesDefinition(){return this.optionalMany(d.BRACE_L,this.parseEnumValueDefinition,d.BRACE_R)}parseEnumValueDefinition(){const e=this._lexer.token,t=this.parseDescription(),n=this.parseEnumValueName(),r=this.parseConstDirectives();return this.node(e,{kind:g.h.ENUM_VALUE_DEFINITION,description:t,name:n,directives:r})}parseEnumValueName(){if("true"===this._lexer.token.value||"false"===this._lexer.token.value||"null"===this._lexer.token.value)throw f(this._lexer.source,this._lexer.token.start,`${Q(this._lexer.token)} is reserved and cannot be used for an enum value.`);return this.parseName()}parseInputObjectTypeDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("input");const n=this.parseName(),r=this.parseConstDirectives(),o=this.parseInputFieldsDefinition();return this.node(e,{kind:g.h.INPUT_OBJECT_TYPE_DEFINITION,description:t,name:n,directives:r,fields:o})}parseInputFieldsDefinition(){return this.optionalMany(d.BRACE_L,this.parseInputValueDef,d.BRACE_R)}parseTypeSystemExtension(){const e=this._lexer.lookahead();if(e.kind===d.NAME)switch(e.value){case"schema":return this.parseSchemaExtension();case"scalar":return this.parseScalarTypeExtension();case"type":return this.parseObjectTypeExtension();case"interface":return this.parseInterfaceTypeExtension();case"union":return this.parseUnionTypeExtension();case"enum":return this.parseEnumTypeExtension();case"input":return this.parseInputObjectTypeExtension()}throw this.unexpected(e)}parseSchemaExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");const t=this.parseConstDirectives(),n=this.optionalMany(d.BRACE_L,this.parseOperationTypeDefinition,d.BRACE_R);if(0===t.length&&0===n.length)throw this.unexpected();return this.node(e,{kind:g.h.SCHEMA_EXTENSION,directives:t,operationTypes:n})}parseScalarTypeExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");const t=this.parseName(),n=this.parseConstDirectives();if(0===n.length)throw this.unexpected();return this.node(e,{kind:g.h.SCALAR_TYPE_EXTENSION,name:t,directives:n})}parseObjectTypeExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");const t=this.parseName(),n=this.parseImplementsInterfaces(),r=this.parseConstDirectives(),o=this.parseFieldsDefinition();if(0===n.length&&0===r.length&&0===o.length)throw this.unexpected();return this.node(e,{kind:g.h.OBJECT_TYPE_EXTENSION,name:t,interfaces:n,directives:r,fields:o})}parseInterfaceTypeExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");const t=this.parseName(),n=this.parseImplementsInterfaces(),r=this.parseConstDirectives(),o=this.parseFieldsDefinition();if(0===n.length&&0===r.length&&0===o.length)throw this.unexpected();return this.node(e,{kind:g.h.INTERFACE_TYPE_EXTENSION,name:t,interfaces:n,directives:r,fields:o})}parseUnionTypeExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");const t=this.parseName(),n=this.parseConstDirectives(),r=this.parseUnionMemberTypes();if(0===n.length&&0===r.length)throw this.unexpected();return this.node(e,{kind:g.h.UNION_TYPE_EXTENSION,name:t,directives:n,types:r})}parseEnumTypeExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");const t=this.parseName(),n=this.parseConstDirectives(),r=this.parseEnumValuesDefinition();if(0===n.length&&0===r.length)throw this.unexpected();return this.node(e,{kind:g.h.ENUM_TYPE_EXTENSION,name:t,directives:n,values:r})}parseInputObjectTypeExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");const t=this.parseName(),n=this.parseConstDirectives(),r=this.parseInputFieldsDefinition();if(0===n.length&&0===r.length)throw this.unexpected();return this.node(e,{kind:g.h.INPUT_OBJECT_TYPE_EXTENSION,name:t,directives:n,fields:r})}parseDirectiveDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("directive"),this.expectToken(d.AT);const n=this.parseName(),r=this.parseArgumentDefs(),o=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");const i=this.parseDirectiveLocations();return this.node(e,{kind:g.h.DIRECTIVE_DEFINITION,description:t,name:n,arguments:r,repeatable:o,locations:i})}parseDirectiveLocations(){return this.delimitedMany(d.PIPE,this.parseDirectiveLocation)}parseDirectiveLocation(){const e=this._lexer.token,t=this.parseName();if(Object.prototype.hasOwnProperty.call(h,t.value))return t;throw this.unexpected(e)}node(e,t){return!0!==this._options.noLocation&&(t.loc=new p.Ye(e,this._lexer.lastToken,this._lexer.source)),t}peek(e){return this._lexer.token.kind===e}expectToken(e){const t=this._lexer.token;if(t.kind===e)return this.advanceLexer(),t;throw f(this._lexer.source,t.start,`Expected ${q(e)}, found ${Q(t)}.`)}expectOptionalToken(e){return this._lexer.token.kind===e&&(this.advanceLexer(),!0)}expectKeyword(e){const t=this._lexer.token;if(t.kind!==d.NAME||t.value!==e)throw f(this._lexer.source,t.start,`Expected "${e}", found ${Q(t)}.`);this.advanceLexer()}expectOptionalKeyword(e){const t=this._lexer.token;return t.kind===d.NAME&&t.value===e&&(this.advanceLexer(),!0)}unexpected(e){const t=null!==e&&void 0!==e?e:this._lexer.token;return f(this._lexer.source,t.start,`Unexpected ${Q(t)}.`)}any(e,t,n){this.expectToken(e);const r=[];for(;!this.expectOptionalToken(n);)r.push(t.call(this));return r}optionalMany(e,t,n){if(this.expectOptionalToken(e)){const e=[];do{e.push(t.call(this))}while(!this.expectOptionalToken(n));return e}return[]}many(e,t,n){this.expectToken(e);const r=[];do{r.push(t.call(this))}while(!this.expectOptionalToken(n));return r}delimitedMany(e,t){this.expectOptionalToken(e);const n=[];do{n.push(t.call(this))}while(this.expectOptionalToken(e));return n}advanceLexer(){const{maxTokens:e}=this._options,t=this._lexer.advance();if(void 0!==e&&t.kind!==d.EOF&&(++this._tokenCounter,this._tokenCounter>e))throw f(this._lexer.source,t.start,`Document contains more that ${e} tokens. Parsing aborted.`)}}function Q(e){const t=e.value;return q(e.kind)+(null!=t?` "${t}"`:"")}function q(e){return function(e){return e===d.BANG||e===d.DOLLAR||e===d.AMP||e===d.PAREN_L||e===d.PAREN_R||e===d.SPREAD||e===d.COLON||e===d.EQUALS||e===d.AT||e===d.BRACKET_L||e===d.BRACKET_R||e===d.BRACE_L||e===d.PIPE||e===d.BRACE_R}(e)?`"${e}"`:e}var U=new Map,B=new Map,V=!0,z=!1;function G(e){return e.replace(/[\s,]+/g," ").trim()}function $(e){var t=new Set,n=[];return e.definitions.forEach((function(e){if("FragmentDefinition"===e.kind){var r=e.name.value,o=G((a=e.loc).source.body.substring(a.start,a.end)),i=B.get(r);i&&!i.has(o)?V&&console.warn("Warning: fragment with name "+r+" already exists.\ngraphql-tag enforces all fragment names across your application to be unique; read more about\nthis in the docs: http://dev.apollodata.com/core/fragments.html#unique-names"):i||B.set(r,i=new Set),i.add(o),t.has(o)||
1(t.add(o),n.push(e))}else n.push(e);var a})),(0,r.__assign)((0,r.__assign)({},e),{definitions:n})}function W(e){var t=G(e);if(!U.has(t)){var n=function(e,t){return new L(e,t).parseDocument()}(e,{experimentalFragmentVariables:z,allowLegacyFragmentVariables:z});if(!n||"Document"!==n.kind)throw new Error("Not a valid GraphQL document.");U.set(t,function(e){var t=new Set(e.definitions);t.forEach((function(e){e.loc&&delete e.loc,Object.keys(e).forEach((function(n){var r=e[n];r&&"object"===typeof r&&t.add(r)}))}));var n=e.loc;return n&&(delete n.startToken,delete n.endToken),e}($(n)))}return U.get(t)}function Y(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];"string"===typeof e&&(e=[e]);var r=e[0];return t.forEach((function(t,n){t&&"Document"===t.kind?r+=t.loc.source.body:r+=t,r+=e[n+1]})),W(r)}var H,K=Y,J=function(){U.clear(),B.clear()},Z=function(){V=!1},X=function(){z=!0},ee=function(){z=!1};(H=Y||(Y={})).gql=K,H.resetCaches=J,H.disableFragmentWarnings=Z,H.enableExperimentalFragmentVariables=X,H.disableExperimentalFragmentVariables=ee,Y.default=Y},4201:function(e,t){t.read=function(e,t,n,r,o){var i,a,s=8*o-r-1,c=(1<<s)-1,u=c>>1,l=-7,f=n?o-1:0,h=n?-1:1,p=e[t+f];for(f+=h,i=p&(1<<-l)-1,p>>=-l,l+=s;l>0;i=256*i+e[t+f],f+=h,l-=8);for(a=i&(1<<-l)-1,i>>=-l,l+=r;l>0;a=256*a+e[t+f],f+=h,l-=8);if(0===i)i=1-u;else{if(i===c)return a?NaN:1/0*(p?-1:1);a+=Math.pow(2,r),i-=u}return(p?-1:1)*a*Math.pow(2,i-r)},t.write=function(e,t,n,r,o,i){var a,s,c,u=8*i-o-1,l=(1<<u)-1,f=l>>1,h=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,p=r?0:i-1,d=r?1:-1,g=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=l):(a=Math.floor(Math.log(t)/Math.LN2),t*(c=Math.pow(2,-a))<1&&(a--,c*=2),(t+=a+f>=1?h/c:h*Math.pow(2,1-f))*c>=2&&(a++,c/=2),a+f>=l?(s=0,a=l):a+f>=1?(s=(t*c-1)*Math.pow(2,o),a+=f):(s=t*Math.pow(2,f-1)*Math.pow(2,o),a=0));o>=8;e[n+p]=255&s,p+=d,s/=256,o-=8);for(a=a<<o|s,u+=o;u>0;e[n+p]=255&a,p+=d,a/=256,u-=8);e[n+p-d]|=128*g}},2210:function(e,t,n){n(8537),e.exports=self.fetch.bind(self)},2854:function(e,t,n){var r=n(9769)(n(387),"DataView");e.exports=r},4709:function(e,t,n){var r=n(9613),o=n(1605),i=n(1075),a=n(7117),s=n(1086);function c(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}c.prototype.clear=r,c.prototype.delete=o,c.prototype.get=i,c.prototype.has=a,c.prototype.set=s,e.exports=c},5399:function(e,t,n){var r=n(9581),o=n(6699),i=n(2254),a=n(7185),s=n(2910);function c(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}c.prototype.clear=r,c.prototype.delete=o,c.prototype.get=i,c.prototype.has=a,c.prototype.set=s,e.exports=c},9323:function(e,t,n){var r=n(9769)(n(387),"Map");e.exports=r},3082:function(e,t,n){var r=n(3356),o=n(9028),i=n(8408),a=n(8264),s=n(4432);function c(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}c.prototype.clear=r,c.prototype.delete=o,c.prototype.get=i,c.prototype.has=a,c.prototype.set=s,e.exports=c},976:function(e,t,n){var r=n(9769)(n(387),"Promise");e.exports=r},1956:function(e,t,n){var r=n(9769)(n(387),"Set");e.exports=r},4765:function(e,t,n){var r=n(3082),o=n(63),i=n(2358);function a(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new r;++t<n;)this.add(e[t])}a.prototype.add=a.prototype.push=o,a.prototype.has=i,e.exports=a},2345:function(e,t,n){var r=n(5399),o=n(2070),i=n(9364),a=n(6767),s=n(1292),c=n(8663);function u(e){var t=this.__data__=new r(e);this.size=t.size}u.prototype.clear=o,u.prototype.delete=i,u.prototype.get=a,u.prototype.has=s,u.prototype.set=c,e.exports=u},9706:function(e,t,n){var r=n(387).Symbol;e.exports=r},4895:function(e,t,n){var r=n(387).Uint8Array;e.exports=r},8274:function(e,t,n){var r=n(9769)(n(387),"WeakMap");e.exports=r},4328:function(e){e.exports=function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}},2155:function(e){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n<r;){var a=e[n];t(a,n,e)&&(i[o++]=a)}return i}}
vendor: 1,062 bytes, line 1
1,5016:function(e,t,n){var r=n(2899),o=n(7100),i=n(2936),a=n(348),s=n(5317),c=n(59),u=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=i(e),l=!n&&o(e),f=!n&&!l&&a(e),h=!n&&!l&&!f&&c(e),p=n||l||f||h,d=p?r(e.length,String):[],g=d.length;for(var y in e)!t&&!u.call(e,y)||p&&("length"==y||f&&("offset"==y||"parent"==y)||h&&("buffer"==y||"byteLength"==y||"byteOffset"==y)||s(y,g))||d.push(y);return d}},1338:function(e){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}},3656:function(e){e.exports=function(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}},2668:function(e){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}},2343:function(e){e.exports=function(e){return e.split("")}},7199:function(e,t,n){var r=n(18),o=n(3178),i=Object.prototype.hasOwnProperty;e.exports=function(e,t,n){var a=e[t];i.call(e,t)&&o(a,n)&&(void 0!==n||t in e)||r(e,t,n)}},38:function(e,t,n){var r=n(3178);e.exports=function(e,t){for(var n=e.length;n--;
vendor: 1,476 bytes, line 1
1)if(r(e[n][0],t))return n;return-1}},18:function(e,t,n){var r=n(492);e.exports=function(e,t,n){"__proto__"==t&&r?r(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},5737:function(e){e.exports=function(e,t,n,r){for(var o=e.length,i=n+(r?1:-1);r?i--:++i<o;)if(t(e[i],i,e))return i;return-1}},5308:function(e,t,n){var r=n(3656),o=n(2936);e.exports=function(e,t,n){var i=t(e);return o(e)?i:r(i,n(e))}},5743:function(e,t,n){var r=n(9706),o=n(4749),i=n(238),a=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":a&&a in Object(e)?o(e):i(e)}},9051:function(e,t,n){var r=n(5737),o=n(5871),i=n(9805);e.exports=function(e,t,n){return t===t?i(e,t,n):r(e,o,n)}},402:function(e,t,n){var r=n(5743),o=n(7057);e.exports=function(e){return o(e)&&"[object Arguments]"==r(e)}},1201:function(e,t,n){var r=n(686),o=n(7057);e.exports=function e(t,n,i,a,s){return t===n||(null==t||null==n||!o(t)&&!o(n)?t!==t&&n!==n:r(t,n,i,a,e,s))}},686:function(e,t,n){var r=n(2345),o=n(8698),i=n(6221),a=n(670),s=n(2115),c=n(2936),u=n(348),l=n(59),f="[object Arguments]",h="[object Array]",p="[object Object]",d=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,g,y,v){var m=c(e),b=c(t),_=m?h:s(e),T=b?h:s(t),w=(_=_==f?p:_)==p,E=(T=T==f?p:T)==p,C=_==T;if(C&&u(e)){if(!u(t))return!1;m=!0,w=!1}if(C&&!w)return v||(v=new r),m||l(e)?o(e,t,n,g,y,v):i(e,t,_,n,g,y,v);if(!(1&n)){var x=w&&d.call(e,"__wrapped__"),O=E&&d.call(t,"__wrapped__");
vendor: 9,775 bytes, line 1
1if(x||O){var I=x?e.value():e,k=O?t.value():t;return v||(v=new r),y(I,k,n,g,v)}}return!!C&&(v||(v=new r),a(e,t,n,g,y,v))}},5871:function(e){e.exports=function(e){return e!==e}},5958:function(e,t,n){var r=n(1178),o=n(5763),i=n(4358),a=n(6281),s=/^\[object .+?Constructor\]$/,c=Function.prototype,u=Object.prototype,l=c.toString,f=u.hasOwnProperty,h=RegExp("^"+l.call(f).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||o(e))&&(r(e)?h:s).test(a(e))}},9914:function(e,t,n){var r=n(5743),o=n(1324),i=n(7057),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,e.exports=function(e){return i(e)&&o(e.length)&&!!a[r(e)]}},1716:function(e,t,n){var r=n(3377),o=n(3199),i=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return o(e);var t=[];for(var n in Object(e))i.call(e,n)&&"constructor"!=n&&t.push(n);return t}},5731:function(e,t,n){var r=n(4358),o=n(3377),i=n(5729),a=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return i(e);var t=o(e),n=[];for(var s in e)("constructor"!=s||!t&&a.call(e,s))&&n.push(s);return n}},8997:function(e,t,n){var r=n(9697),o=n(1425),i=n(5356);e.exports=function(e,t){return i(o(e,t,r),e+"")}},6701:function(e,t,n){var r=n(9412),o=n(492),i=n(9697),a=o?function(e,t){return o(e,"toString",{configurable:!0,enumerable:!1,value:r(t),writable:!0})}:i;e.exports=a},4235:function(e){e.exports=function(e,t,n){var r=-1,o=e.length;t<0&&(t=-t>o?0:o+t),(n=n>o?o:n)<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var i=Array(o);++r<o;)i[r]=e[r+t];return i}},2899:function(e){e.exports=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}},8512:function(e,t,n){var r=n(9706),o=n(1338),i=n(2936),a=n(1123),s=r?r.prototype:void 0,c=s?s.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(i(t))return o(t,e)+"";if(a(t))return c?c.call(t):"";var n=t+"";return"0"==n&&1/t==-Infinity?"-0":n}},43:function(e,t,n){var r=n(1718),o=/^\s+/;e.exports=function(e){return e?e.slice(0,r(e)+1).replace(o,""):e}},2530:function(e){e.exports=function(e){return function(t){return e(t)}}},6114:function(e){e.exports=function(e,t){return e.has(t)}},1096:function(e,t,n){var r=n(4235);e.exports=function(e,t,n){var o=e.length;return n=void 0===n?o:n,!t&&n>=o?e:r(e,t,n)}},4610:function(e,t,n){var r=n(9051);e.exports=function(e,t){for(var n=e.length;n--&&r(t,e[n],0)>-1;);return n}},5648:function(e,t,n){var r=n(9051);e.exports=function(e,t){for(var n=-1,o=e.length;++n<o&&r(t,e[n],0)>-1;);return n}},903:function(e,t,n){var r=n(7199),o=n(18);e.exports=function(e,t,n,i){var a=!n;n||(n={});for(var s=-1,c=t.length;++s<c;){var u=t[s],l=i?i(n[u],e[u],u,n,e):void 0;void 0===l&&(l=e[u]),a?o(n,u,l):r(n,u,l)}return n}},4408:function(e,t,n){var r=n(387)["__core-js_shared__"];e.exports=r},2652:function(e,t,n){var r=n(8997),o=n(5822);e.exports=function(e){return r((function(t,n){var r=-1,i=n.length,a=i>1?n[i-1]:void 0,s=i>2?n[2]:void 0;for(a=e.length>3&&"function"==typeof a?(i--,a):void 0,s&&o(n[0],n[1],s)&&(a=i<3?void 0:a,i=1),t=Object(t);++r<i;){var c=n[r];c&&e(t,c,r,a)}return t}))}},492:function(e,t,n){var r=n(9769),o=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(t){}}();e.exports=o},8698:function(e,t,n){var r=n(4765),o=n(2668),i=n(6114);e.exports=function(e,t,n,a,s,c){var u=1&n,l=e.length,f=t.length;if(l!=f&&!(u&&f>l))return!1;var h=c.get(e),p=c.get(t);if(h&&p)return h==t&&p==e;var d=-1,g=!0,y=2&n?new r:void 0;for(c.set(e,t),c.set(t,e);++d<l;){var v=e[d],m=t[d];if(a)var b=u?a(m,v,d,t,e,c):a(v,m,d,e,t,c);if(void 0!==b){if(b)continue;g=!1;break}if(y){if(!o(t,(function(e,t){if(!i(y,t)&&(v===e||s(v,e,n,a,c)))return y.push(t)}))){g=!1;break}}else if(v!==m&&!s(v,m,n,a,c)){g=!1;break}}return c.delete(e),c.delete(t),g}},6221:function(e,t,n){var r=n(9706),o=n(4895),i=n(3178),a=n(8698),s=n(4582),c=n(952),u=r?r.prototype:void 0,l=u?u.valueOf:void 0;e.exports=function(e,t,n,r,u,f,h){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!f(new o(e),new o(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return i(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var p=s;case"[object Set]":var d=1&r;if(p||(p=c),e.size!=t.size&&!d)return!1;var g=h.get(e);if(g)return g==t;r|=2,h.set(e,t);var y=a(p(e),p(t),r,u,f,h);return h.delete(e),y;case"[object Symbol]":if(l)return l.call(e)==l.call(t)}return!1}},670:function(e,t,n){var r=n(4102),o=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,i,a,s){var c=1&n,u=r(e),l=u.length;if(l!=r(t).length&&!c)return!1;for(var f=l;f--;){var h=u[f];if(!(c?h in t:o.call(t,h)))return!1}var p=s.get(e),d=s.get(t);if(p&&d)return p==t&&d==e;var g=!0;s.set(e,t),s.set(t,e);for(var y=c;++f<l;){var v=e[h=u[f]],m=t[h];if(i)var b=c?i(m,v,h,t,e,s):i(v,m,h,e,t,s);if(!(void 0===b?v===m||a(v,m,n,i,s):b)){g=!1;break}y||(y="constructor"==h)}if(g&&!y){var _=e.constructor,T=t.constructor;_==T||!("constructor"in e)||!("constructor"in t)||"function"==typeof _&&_ instanceof _&&"function"==typeof T&&T instanceof T||(g=!1)}return s.delete(e),s.delete(t),g}},678:function(e,t,n){var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=r},4102:function(e,t,n){var r=n(5308),o=n(754),i=n(2710);e.exports=function(e){return r(e,i,o)}},9977:function(e,t,n){var r=n(7877);e.exports=function(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}},9769:function(e,t,n){var r=n(5958),o=n(591);e.exports=function(e,t){var n=o(e,t);return r(n)?n:void 0}},4749:function(e,t,n){var r=n(9706),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,s=r?r.toStringTag:void 0;e.exports=function(e){var t=i.call(e,s),n=e[s];try{e[s]=void 0;var r=!0}catch(c){}var o=a.call(e);return r&&(t?e[s]=n:delete e[s]),o}},754:function(e,t,n){var r=n(2155),o=n(5482),i=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,s=a?function(e){return null==e?[]:(e=Object(e),r(a(e),(function(t){return i.call(e,t)})))}:o;e.exports=s},2115:function(e,t,n){var r=n(2854),o=n(9323),i=n(976),a=n(1956),s=n(8274),c=n(5743),u=n(6281),l="[object Map]",f="[object Promise]",h="[object Set]",p="[object WeakMap]",d="[object DataView]",g=u(r),y=u(o),v=u(i),m=u(a),b=u(s),_=c;(r&&_(new r(new ArrayBuffer(1)))!=d||o&&_(new o)!=l||i&&_(i.resolve())!=f||a&&_(new a)!=h||s&&_(new s)!=p)&&(_=function(e){var t=c(e),n="[object Object]"==t?e.constructor:void 0,r=n?u(n):"";if(r)switch(r){case g:return d;case y:return l;case v:return f;case m:return h;case b:return p}return t}),e.exports=_},591:function(e){e.exports=function(e,t){return null==e?void 0:e[t]}},2776:function(e){var t=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");e.exports=function(e){return t.test(e)}},9613:function(e,t,n){var r=n(5876);e.exports=function(){this.__data__=r?r(null):{},this.size=0}},1605:function(e){e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},1075:function(e,t,n){var r=n(5876),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(r){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return o.call(t,e)?t[e]:void 0}},7117:function(e,t,n){var r=n(5876),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return r?void 0!==t[e]:o.call(t,e)}},1086:function(e,t,n){var r=n(5876);e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=r&&void 0===t?"__lodash_hash_undefined__":t,this}},5317:function(e){var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,n){var r=typeof e;return!!(n=null==n?9007199254740991:n)&&("number"==r||"symbol"!=r&&t.test(e))&&e>-1&&e%1==0&&e<n}},5822:function(e,t,n){var r=n(3178),o=n(5103),i=n(5317),a=n(4358);e.exports=function(e,t,n){if(!a(n))return!1;var s=typeof t;return!!("number"==s?o(n)&&i(t,n.length):"string"==s&&t in n)&&r(n[t],e)}},7877:function(e){e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},5763:function(e,t,n){var r=n(4408),o=function(){var e=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();e.exports=function(e){return!!o&&o in e}},3377:function(e){var t=Object.prototype;e.exports=function(e){var n=e&&e.constructor;return e===("function"==typeof n&&n.prototype||t)}},9581:function(e){e.exports=function(){this.__data__=[],this.size=0}},6699:function(e,t,n){var r=n(38),o=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=r(t,e);return!(n<0)&&(n==t.length-1?t.pop():o.call(t,n,1),--this.size,!0)}},2254:function(e,t,n){var r=n(38);e.exports=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}},7185:function(e,t,n){var r=n(38);e.exports=function(e){return r(this.__data__,e)>-1}},2910:function(e,t,n){var r=n(38);e.exports=function(e,t){var n=this.__data__,o=r(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}},3356:function(e,t,n){var r=n(4709),o=n(5399),i=n(9323);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(i||o),str
vendor: 5,384 bytes, line 1
1ing:new r}}},9028:function(e,t,n){var r=n(9977);e.exports=function(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}},8408:function(e,t,n){var r=n(9977);e.exports=function(e){return r(this,e).get(e)}},8264:function(e,t,n){var r=n(9977);e.exports=function(e){return r(this,e).has(e)}},4432:function(e,t,n){var r=n(9977);e.exports=function(e,t){var n=r(this,e),o=n.size;return n.set(e,t),this.size+=n.size==o?0:1,this}},4582:function(e){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}},5876:function(e,t,n){var r=n(9769)(Object,"create");e.exports=r},3199:function(e,t,n){var r=n(3942)(Object.keys,Object);e.exports=r},5729:function(e){e.exports=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}},290:function(e,t,n){e=n.nmd(e);var r=n(678),o=t&&!t.nodeType&&t,i=o&&e&&!e.nodeType&&e,a=i&&i.exports===o&&r.process,s=function(){try{var e=i&&i.require&&i.require("util").types;return e||a&&a.binding&&a.binding("util")}catch(t){}}();e.exports=s},238:function(e){var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},3942:function(e){e.exports=function(e,t){return function(n){return e(t(n))}}},1425:function(e,t,n){var r=n(4328),o=Math.max;e.exports=function(e,t,n){return t=o(void 0===t?e.length-1:t,0),function(){for(var i=arguments,a=-1,s=o(i.length-t,0),c=Array(s);++a<s;)c[a]=i[t+a];a=-1;for(var u=Array(t+1);++a<t;)u[a]=i[a];return u[t]=n(c),r(e,this,u)}}},387:function(e,t,n){var r=n(678),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();e.exports=i},63:function(e){e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},2358:function(e){e.exports=function(e){return this.__data__.has(e)}},952:function(e){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}},5356:function(e,t,n){var r=n(6701),o=n(8279)(r);e.exports=o},8279:function(e){var t=Date.now;e.exports=function(e){var n=0,r=0;return function(){var o=t(),i=16-(o-r);if(r=o,i>0){if(++n>=800)return arguments[0]}else n=0;return e.apply(void 0,arguments)}}},2070:function(e,t,n){var r=n(5399);e.exports=function(){this.__data__=new r,this.size=0}},9364:function(e){e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},6767:function(e){e.exports=function(e){return this.__data__.get(e)}},1292:function(e){e.exports=function(e){return this.__data__.has(e)}},8663:function(e,t,n){var r=n(5399),o=n(9323),i=n(3082);e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var a=n.__data__;if(!o||a.length<199)return a.push([e,t]),this.size=++n.size,this;n=this.__data__=new i(a)}return n.set(e,t),this.size=n.size,this}},9805:function(e){e.exports=function(e,t,n){for(var r=n-1,o=e.length;++r<o;)if(e[r]===t)return r;return-1}},8602:function(e,t,n){var r=n(2343),o=n(2776),i=n(5842);e.exports=function(e){return o(e)?i(e):r(e)}},6281:function(e){var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(n){}try{return e+""}catch(n){}}return""}},1718:function(e){var t=/\s/;e.exports=function(e){for(var n=e.length;n--&&t.test(e.charAt(n)););return n}},5842:function(e){var t="[\\ud800-\\udfff]",n="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",r="\\ud83c[\\udffb-\\udfff]",o="[^\\ud800-\\udfff]",i="(?:\\ud83c[\\udde6-\\uddff]){2}",a="[\\ud800-\\udbff][\\udc00-\\udfff]",s="(?:"+n+"|"+r+")"+"?",c="[\\ufe0e\\ufe0f]?",u=c+s+("(?:\\u200d(?:"+[o,i,a].join("|")+")"+c+s+")*"),l="(?:"+[o+n+"?",n,i,a,t].join("|")+")",f=RegExp(r+"(?="+r+")|"+l+u,"g");e.exports=function(e){return e.match(f)||[]}},8183:function(e,t,n){var r=n(903),o=n(2652),i=n(8568),a=o((function(e,t){r(t,i(t),e)}));e.exports=a},6394:function(e,t,n){var r=n(965);e.exports=function(e,t){var n;if("function"!=typeof t)throw new TypeError("Expected a function");return e=r(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=void 0),n}}},9412:function(e){e.exports=function(e){return function(){return e}}},7808:function(e,t,n){var r=n(8997),o=n(3178),i=n(5822),a=n(8568),s=Object.prototype,c=s.hasOwnProperty,u=r((function(e,t){e=Object(e);var n=-1,r=t.length,u=r>2?t[2]:void 0;for(u&&i(t[0],t[1],u)&&(r=1);++n<r;)for(var l=t[n],f=a(l),h=-1,p=f.length;++h<p;){var d=f[h],g=e[d];(void 0===g||o(g,s[d])&&!c.call(e,d))&&(e[d]=l[d])}return e}));e.exports=u},3178:function(e){e.exports=function(e,t){return e===t||e!==e&&t!==t}},8952:function(e,t,n){e.exports=n(8183)},9697:function(e){e.exports=function(e){return e}},7100:function(e,t,n){var r=n(402),o=n(7057),i=Object.prototype,a=i.hasOwnProperty,s=i.propertyIsEnumerable,c=r(function(){return arguments}())?r:function(e){return o(e)&&a.call(e,"callee")&&!s.call(e,"callee")};e.exports=c},2936:function(e){var t=Array.isArray;e.exports=t},5103:function(e,t,n){var r=n(1178),o=n(1324);e.exports=function(e){return null!=e&&o(e.length)&&!r(e)}},8998:function(e,t,n){var r=n(5743),o=n(7057);e.exports=function(e){return!0===e||!1===e||o(e)&&"[object Boolean]"==r(e)}},348:function(e,t,n){e=n.nmd(e);var r=n(387),o=n(4124),i=t&&!t.nodeType&&t,a=i&&e&&!e.nodeType&&e,s=a&&a.exports===i?r.Buffer:void 0,c=(s?s.isBuffer:void 0)||o;e.exports=c},5387:function(e,t,n){var r=n(1716),o=n(2115),i=n(7100),a=n(2936),s=n(5103),c=n(348),u=n(3377),l=n(59),f=Object.prototype.hasOwnProperty;e.exports=function(e){if(null==e)return!0;
1if(s(e)&&(a(e)||"string"==typeof e||"function"==typeof e.splice||c(e)||l(e)||i(e)))return!e.length;var t=o(e);if("[object Map]"==t||"[object Set]"==t)return!e.size;if(u(e))return!r(e).length;for(var n in e)if(f.call(e,n))return!1;return!0}},6717:function(e,t,n){var r=n(1201);e.exports=function(e,t){return r(e,t)}},1178:function(e,t,n){var r=n(5743),o=n(4358);e.exports=function(e){if(!o(e))return!1;var t=r(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},1324:function(e){e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},8051:function(e){e.exports=function(e){return null==e}},7443:function(e,t,n){var r=n(5743),o=n(7057);e.exports=function(e){return"number"==typeof e||o(e)&&"[object Number]"==r(e)}},4358:function(e){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},7057:function(e){e.exports=function(e){return null!=e&&"object"==typeof e}},5848:function(e,t,n){var r=n(5743),o=n(2936),i=n(7057);e.exports=function(e){return"string"==typeof e||!o(e)&&i(e)&&"[object String]"==r(e)}},1123:function(e,t,n){var r=n(5743),o=n(7057);e.exports=function(e){return"symbol"==typeof e||o(e)&&"[object Symbol]"==r(e)}},59:function(e,t,n){var r=n(9914),o=n(2530),i=n(290),a=i&&i.isTypedArray,s=a?o(a):r;e.exports=s},5834:function(e){e.exports=function(e){return void 0===e}},2710:function(e,t,n){var r=n(5016),o=n(1716),i=n(5103);e.exports=function(e){return i(e)?r(e):o(e)}},8568:function(e,t,n){var r=n(5016),o=n(5731),i=n(5103);e.exports=function(e){return i(e)?r(e,!0):o(e)}},3201:function(e,t,n){var r=n(6394);e.exports=function(e){return r(2,e)}},5482:function(e){e.exports=function(){return[]}},4124:function(e){e.exports=function(){return!1}},6442:function(e,t,n){var r=n(8166),o=1/0;e.exports=function(e){return e?(e=r(e))===o||e===-1/0?17976931348623157e292*(e<0?-1:1):e===e?e:0:0===e?e:0}},965:function(e,t,n){var r=n(6442);e.exports=function(e){var t=r(e),n=t%1;return t===t?n?t-n:t:0}},8166:function(e,t,n){var r=n(43),o=n(4358),i=n(1123),a=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,c=/^0o[0-7]+$/i,u=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(i(e))return NaN;if(o(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=o(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=r(e);var n=s.test(e);return n||c.test(e)?u(e.slice(2),n?2:8):a.test(e)?NaN:+e}},1953:function(e,t,n){var r=n(8512);e.exports=function(e){return null==e?"":r(e)}},3748:function(e,t,n){var r=n(8512),o=n(43),i=n(1096),a=n(4610),s=n(5648),c=n(8602),u=n(1953);e.exports=function(e,t,n){if((e=u(e))&&(n||void 0===t))return o(e);if(!e||!(t=r(t)))return e;var l=c(e),f=c(t),h=s(l,f),p=a(l,f)+1;return i(l,h,p).join("")}},69:function(e,t,n){var r=n(8512),o=n(1096),i=n(4610),a=n(8602),s=n(1953),c=n(1718);e.exports=function(e,t,n){if((e=s(e))&&(n||void 0===t))return e.slice(0,c(e)+1);if(!e||!(t=r(t)))return e;var u=a(e),l=i(u,a(t))+1;return o(u,0,l).join("")}},7629:function(e,t,n){"use strict";var r,o=n(6863);"function"===typeof o.createContext&&(r=(0,o.createContext)({t:function(e){return Array.isArray(e)?e[0]:e},lang:""})),t.Z=r},5850:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},r.apply(this,arguments)};function o(e){var t=e.config,n=e.allNamespaces,o=e.pluralRules,u=e.lang,l=t.logger,f=void 0===l?c:l,h=t.allowEmptyStrings,p=void 0===h||h,d=function(e,n){return Array.isArray(e)?e.map((function(e){return d(e,n)})):e instanceof Object?s({obj:e,query:n,config:t,lang:u}):a({text:e,query:n,config:t,lang:u})},g=function(e,a,s){var c;void 0===e&&(e="");var u=Array.isArray(e)?e[0]:e,l=t.nsSeparator,h=void 0===l?":":l,y=t.loggerEnvironment,v=void 0===y?"browser":y,m=function(e,t){if(!t)return{i18nKey:e};var n=e.indexOf(t);return n<0?{i18nKey:e}:{namespace:e.slice(0,n),i18nKey:e.slice(n+t.length)}}(u,h),b=m.i18nKey,_=m.namespace,T=void 0===_?null!==(c=null===s||void 0===s?void 0:s.ns)&&void 0!==c?c:t.defaultNS:_,w=T&&n[T]||{},E=function(e,t,n,r,o){if(!o||"number"!==typeof o.count)return n;var a="".concat(n,"_").concat(o.count);if(void 0!==i(t,a,r))return a;var s="".concat(n,"_").concat(e.select(o.count));if(void 0!==i(t,s,r))return s;var c="".concat(n,".").concat(o.count);if(void 0!==i(t,c,r))return c;var u="".concat(n,".").concat(e.select(o.count));return void 0!==i(t,u,r)?u:n}(o,w,b,t,a),C=i(w,E,t,s),x="object"===typeof C?JSON.parse(JSON.stringify(C)):C,O="undefined"===typeof x||"object"===typeof x&&!Object.keys(x).length||""===x&&!p,I="string"===typeof(null===s||void 0===s?void 0:s.fallback)?[s.fallback]:(null===s||void 0===s?void 0:s.fallback)||[];
1if(!O||"both"!==v&&v!==("undefined"===typeof window?"node":"browser")||f({namespace:T,i18nKey:b}),O&&Array.isArray(I)&&I.length){var k=I[0],P=I.slice(1);if("string"===typeof k)return g(k,a,r(r({},s),{fallback:P}))}return O&&s&&s.hasOwnProperty("default")&&!(null===I||void 0===I?void 0:I.length)?s.default?d(s.default,a):s.default:O?u:d(x,a)};return g}function i(e,t,n,r){void 0===t&&(t=""),void 0===r&&(r={returnObjects:!1});var o=(n||{}).keySeparator,i=void 0===o?".":o,a=i?t.split(i):[t];if(t===i&&r.returnObjects)return e;var s=a.reduce((function(e,t){if("string"===typeof e)return{};var n=e[t];return n||("string"===typeof n?n:{})}),e);return"string"===typeof s||s instanceof Object&&r.returnObjects?s:void 0}function a(e){var t=e.text,n=e.query,r=e.config,o=e.lang;if(!t||!n)return t||"";var i=function(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")},a=r.interpolation||{},s=a.format,c=void 0===s?null:s,u=a.prefix,l=void 0===u?"{{":u,f=a.suffix,h=void 0===f?"}}":f,p=""===h?"":"(?:[\\s,]+([\\w-]*))?\\s*".concat(i(h));return Object.keys(n).reduce((function(e,t){var r=new RegExp("".concat(i(l),"\\s*").concat(t).concat(p),"gm");return e.replace(r,(function(e,r){return r&&c?c(n[t],r,o):n[t]}))}),t)}function s(e){var t=e.obj,n=e.query,r=e.config,o=e.lang;return n&&0!==Object.keys(n).length?(Object.keys(t).forEach((function(e){t[e]instanceof Object&&s({obj:t[e],query:n,config:r,lang:o}),"string"===typeof t[e]&&(t[e]=a({text:t[e],query:n,config:r,lang:o}))})),t):t}function c(e){e.namespace,e.i18nKey}},6279:function(e,t,n){"use strict";n.d(t,{Z:function(){return f}});var r=n(6863),o=function(){return o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},o.apply(this,arguments)};function i(e,t){if("string"!==typeof t)return e;return function(n,r,i){return e(n,r,o({ns:t},i))}}var a=n(7629),s=n(5850),c=function(){return c=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},c.apply(this,arguments)};function u(e){var t=(0,r.useContext)(a.Z);return(0,r.useMemo)((function(){return c(c({},t),{t:i(t.t,e)})}),[t,e])}function l(e){var t=globalThis.__NEXT_TRANSLATE__||{},n=t.lang,r=t.namespaces,o=(globalThis.i18nConfig.localesToIgnore||["default"]).includes(n);return{t:i((0,s.Z)({config:globalThis.i18nConfig,allNamespaces:r,pluralRules:new Intl.PluralRules(o?void 0:n),lang:n}),e),lang:n}}function f(e){return(!!globalThis.__NEXT_TRANSLATE__?l:u)(e)}},7856:function(e,t,n){e.exports=n(1970)},8537:function(e,t){"use strict";t.Headers=self.Headers,t.Request=self.Request,t.Response=self.Response,t.fetch=self.fetch},7220:function(e,t,n){"use strict";var r,o;e.exports=(null==(r=n.g.process)?void 0:r.env)&&"object"===typeof(null==(o=n.g.process)?void 0:o.env)?n.g.process:n(8560)},8560:function(e){!function(){var t={229:function(e){var t,n,r=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function a(e){if(t===setTimeout)return setTimeout(e,0);if((t===o||!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:o}catch(e){t=o}try{n="function"===typeof clearTimeout?clearTimeout:i}catch(e){n=i}}();var s,c=[],u=!1,l=-1;function f(){u&&s&&(u=!1,s.length?c=s.concat(c):l=-1,c.length&&h())}function h(){if(!u){var e=a(f);u=!0;for(var t=c.length;t;){for(s=c,c=[];++l<t;)s&&s[l].run();l=-1,t=c.length}s=null,u=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===i||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(e)}}function p(e,t){this.fun=e,this.array=t}function d(){}r.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];c.push(new p(e,t)),1!==c.length||u||a(h)},p.prototype.run=function(){this.fun.apply(null,this.array)},r.title="browser",r.browser=!0,r.env={},r.argv=[],r.version="",r.versions={},r.on=d,r.addListener=d,r.once=d,r.off=d,r.removeListener=d,r.removeAllListeners=d,r.emit=d,r.prependListener=d,r.prependOnceListener=d,r.listeners=function(e){return[]},r.binding=function(e){throw new Error("process.binding is not supported")},r.cwd=function(){return"/"},r.chdir=function(e){throw new Error("process.chdir is not supported")},r.umask=function(){return 0}}},n={};function r(e){var o=n[e];if(void 0!==o)return o.exports;var i=n[e]={exports:{}},a=!0;try{t[e](i,i.exports,r),a=!1}finally{a&&delete n[e]}return i.exports}r.ab="//";var o=r(229);e.exports=o}()},8624:function(e,t,n){e.exports=n(4522)},614:function(e,t,n){e.exports=n(9463)},7038:function(e,t,n){e.exports=n(2351)},5853:function(e){e.exports=function(e,t,n,r){var o=n?n.call(r,e,t):void 0;if(void 0!==o)return!!o;if(e===t)return!0;
1if("object"!==typeof e||!e||"object"!==typeof t||!t)return!1;var i=Object.keys(e),a=Object.keys(t);if(i.length!==a.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(t),c=0;c<i.length;c++){var u=i[c];if(!s(u))return!1;var l=e[u],f=t[u];if(!1===(o=n?n.call(r,l,f,u):void 0)||void 0===o&&l!==f)return!1}return!0}},231:function(e){const t=/^[-+]?0x[a-fA-F0-9]+$/,n=/^([\-\+])?(0*)(\.[0-9]+([eE]\-?[0-9]+)?|[0-9]+(\.[0-9]+([eE]\-?[0-9]+)?)?)$/;!Number.parseInt&&window.parseInt&&(Number.parseInt=window.parseInt),!Number.parseFloat&&window.parseFloat&&(Number.parseFloat=window.parseFloat);const r={hex:!0,leadingZeros:!0,decimalPoint:".",eNotation:!0};e.exports=function(e,o={}){if(o=Object.assign({},r,o),!e||"string"!==typeof e)return e;let i=e.trim();if(void 0!==o.skipLike&&o.skipLike.test(i))return e;if(o.hex&&t.test(i))return Number.parseInt(i,16);{const t=n.exec(i);if(t){const n=t[1],r=t[2];let a=function(e){if(e&&-1!==e.indexOf("."))return"."===(e=e.replace(/0+$/,""))?e="0":"."===e[0]?e="0"+e:"."===e[e.length-1]&&(e=e.substr(0,e.length-1)),e;return e}(t[3]);const s=t[4]||t[6];if(!o.leadingZeros&&r.length>0&&n&&"."!==i[2])return e;if(!o.leadingZeros&&r.length>0&&!n&&"."!==i[1])return e;{const t=Number(i),c=""+t;return-1!==c.search(/[eE]/)||s?o.eNotation?t:e:-1!==i.indexOf(".")?"0"===c&&""===a||c===a||n&&c==="-"+a?t:e:r?a===c||n+a===c?t:e:i===c||i===n+c?t:e}}return e}}},306:function(e,t,n){"use strict";n.r(t),n.d(t,{ServerStyleSheet:function(){return Kt},StyleSheetConsumer:function(){return Tt},StyleSheetContext:function(){return _t},StyleSheetManager:function(){return Ct},ThemeConsumer:function(){return Dt},ThemeContext:function(){return Rt},ThemeProvider:function(){return Ft},__PRIVATE__:function(){return Jt},createGlobalStyle:function(){return Wt},css:function(){return Bt},default:function(){return Gt},isStyledComponent:function(){return Ve},keyframes:function(){return Yt},styled:function(){return Gt},useTheme:function(){return Mt},version:function(){return ce},withTheme:function(){return Ht}});var r=n(2482),o=n(6863),i=n(5853),a=n.n(i),s="-ms-",c="-moz-",u="-webkit-",l="comm",f="rule",h="decl",p="@keyframes",d=Math.abs,g=String.fromCharCode,y=Object.assign;function v(e){return e.trim()}function m(e,t){return(e=t.exec(e))?e[0]:e}function b(e,t,n){return e.replace(t,n)}function _(e,t){return e.indexOf(t)}function T(e,t){return 0|e.charCodeAt(t)}function w(e,t,n){return e.slice(t,n)}function E(e){return e.length}function C(e){return e.length}function x(e,t){return t.push(e),e}function O(e,t){return e.filter((function(e){return!m(e,t)}))}var I=1,k=1,P=0,N=0,S=0,A="";function j(e,t,n,r,o,i,a,s){return{value:e,root:t,parent:n,type:r,props:o,children:i,line:I,column:k,length:a,return:"",siblings:s}}function R(e,t){return y(j("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function D(e){for(;e.root;)e=R(e.root,{children:[e]});x(e,e.siblings)}function M(){return S=N>0?T(A,--N):0,k--,10===S&&(k=1,I--),S}function F(){return S=N<P?T(A,N++):0,k++,10===S&&(k=1,I++),S}function L(){return T(A,N)}function Q(){return N}function q(e,t){return w(A,e,t)}function U(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function B(e){return I=k=1,P=E(A=e),N=0,[]}function V(e){return A="",e}function z(e){return v(q(N-1,W(91===e?e+2:40===e?e+1:e)))}function G(e){for(;(S=L())&&S<33;)F();return U(e)>2||U(S)>3?"":" "}function $(e,t){for(;--t&&F()&&!(S<48||S>102||S>57&&S<65||S>70&&S<97););return q(e,Q()+(t<6&&32==L()&&32==F()))}function W(e){for(;F();)switch(S){case e:return N;case 34:case 39:34!==e&&39!==e&&W(S);break;case 40:41===e&&W(e);break;case 92:F()}return N}function Y(e,t){for(;F()&&e+S!==57&&(e+S!==84||47!==L()););return"/*"+q(t,N-1)+"*"+g(47===e?e:F())}function H(e){for(;!U(L());)F();return q(e,N)}function K(e,t){for(var n="",r=0;r<e.length;r++)n+=t(e[r],r,e,t)||"";return n}function J(e,t,n,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case h:return e.return=e.return||e.value;case l:return"";case p:return e.return=e.value+"{"+K(e.children,r)+"}";case f:if(!E(e.value=e.props.join(",")))return""}return E(n=K(e.children,r))?e.return=e.value+"{"+n+"}":""}function Z(e,t,n){switch(function(e,t){return 45^T(e,0)?(((t<<2^T(e,0))<<2^T(e,1))<<2^T(e,2))<<2^T(e,3):0}(e,t)){case 5103:return u+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return u+e+e;case 4789:return c+e+e;
vendor: 14,087 bytes, line 1
1case 5349:case 4246:case 4810:case 6968:case 2756:return u+e+c+e+s+e+e;case 5936:switch(T(e,t+11)){case 114:return u+e+s+b(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return u+e+s+b(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return u+e+s+b(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return u+e+s+e+e;case 6165:return u+e+s+"flex-"+e+e;case 5187:return u+e+b(e,/(\w+).+(:[^]+)/,"-webkit-box-$1$2-ms-flex-$1$2")+e;case 5443:return u+e+s+"flex-item-"+b(e,/flex-|-self/g,"")+(m(e,/flex-|baseline/)?"":s+"grid-row-"+b(e,/flex-|-self/g,""))+e;case 4675:return u+e+s+"flex-line-pack"+b(e,/align-content|flex-|-self/g,"")+e;case 5548:return u+e+s+b(e,"shrink","negative")+e;case 5292:return u+e+s+b(e,"basis","preferred-size")+e;case 6060:return u+"box-"+b(e,"-grow","")+u+e+s+b(e,"grow","positive")+e;case 4554:return u+b(e,/([^-])(transform)/g,"$1-webkit-$2")+e;case 6187:return b(b(b(e,/(zoom-|grab)/,u+"$1"),/(image-set)/,u+"$1"),e,"")+e;case 5495:case 3959:return b(e,/(image-set\([^]*)/,u+"$1$`$1");case 4968:return b(b(e,/(.+:)(flex-)?(.*)/,"-webkit-box-pack:$3-ms-flex-pack:$3"),/s.+-b[^;]+/,"justify")+u+e+e;case 4200:if(!m(e,/flex-|baseline/))return s+"grid-column-align"+w(e,t)+e;break;case 2592:case 3360:return s+b(e,"template-","")+e;case 4384:case 3616:return n&&n.some((function(e,n){return t=n,m(e.props,/grid-\w+-end/)}))?~_(e+(n=n[t].value),"span")?e:s+b(e,"-start","")+e+s+"grid-row-span:"+(~_(n,"span")?m(n,/\d+/):+m(n,/\d+/)-+m(e,/\d+/))+";":s+b(e,"-start","")+e;case 4896:case 4128:return n&&n.some((function(e){return m(e.props,/grid-\w+-start/)}))?e:s+b(b(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return b(e,/(.+)-inline(.+)/,u+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(E(e)-1-t>6)switch(T(e,t+1)){case 109:if(45!==T(e,t+4))break;case 102:return b(e,/(.+:)(.+)-([^]+)/,"$1-webkit-$2-$3$1"+c+(108==T(e,t+3)?"$3":"$2-$3"))+e;case 115:return~_(e,"stretch")?Z(b(e,"stretch","fill-available"),t,n)+e:e}break;case 5152:case 5920:return b(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,(function(t,n,r,o,i,a,c){return s+n+":"+r+c+(o?s+n+"-span:"+(i?a:+a-+r)+c:"")+e}));case 4949:if(121===T(e,t+6))return b(e,":",":"+u)+e;break;case 6444:switch(T(e,45===T(e,14)?18:11)){case 120:return b(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+u+(45===T(e,14)?"inline-":"")+"box$3$1"+u+"$2$3$1"+s+"$2box$3")+e;case 100:return b(e,":",":"+s)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return b(e,"scroll-","scroll-snap-")+e}return e}function X(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case h:return void(e.return=Z(e.value,e.length,n));case p:return K([R(e,{value:b(e.value,"@","@"+u)})],r);case f:if(e.length)return function(e,t){return e.map(t).join("")}(n=e.props,(function(t){switch(m(t,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":D(R(e,{props:[b(t,/:(read-\w+)/,":-moz-$1")]})),D(R(e,{props:[t]})),y(e,{props:O(n,r)});break;case"::placeholder":D(R(e,{props:[b(t,/:(plac\w+)/,":-webkit-input-$1")]})),D(R(e,{props:[b(t,/:(plac\w+)/,":-moz-$1")]})),D(R(e,{props:[b(t,/:(plac\w+)/,s+"input-$1")]})),D(R(e,{props:[t]})),y(e,{props:O(n,r)})}return""}))}}function ee(e){return V(te("",null,null,null,[""],e=B(e),0,[0],e))}function te(e,t,n,r,o,i,a,s,c){for(var u=0,l=0,f=a,h=0,p=0,d=0,y=1,v=1,m=1,w=0,C="",O=o,I=i,k=r,P=C;v;)switch(d=w,w=F()){case 40:if(108!=d&&58==T(P,f-1)){-1!=_(P+=b(z(w),"&","&\f"),"&\f")&&(m=-1);break}case 34:case 39:case 91:P+=z(w);break;case 9:case 10:case 13:case 32:P+=G(d);break;case 92:P+=$(Q()-1,7);continue;case 47:switch(L()){case 42:case 47:x(re(Y(F(),Q()),t,n,c),c);break;default:P+="/"}break;case 123*y:s[u++]=E(P)*m;case 125*y:case 59:case 0:switch(w){case 0:case 125:v=0;case 59+l:-1==m&&(P=b(P,/\f/g,"")),p>0&&E(P)-f&&x(p>32?oe(P+";",r,n,f-1,c):oe(b(P," ","")+";",r,n,f-2,c),c);break;case 59:P+=";";default:if(x(k=ne(P,t,n,u,l,o,s,C,O=[],I=[],f,i),i),123===w)if(0===l)te(P,t,k,k,O,i,f,s,I);else switch(99===h&&110===T(P,3)?100:h){case 100:case 108:case 109:case 115:te(e,k,k,r&&x(ne(e,k,k,0,0,o,s,C,o,O=[],f,I),I),o,I,f,s,r?O:I);break;default:te(P,k,k,k,[""],I,0,s,I)}}u=l=p=0,y=m=1,C=P="",f=a;break;case 58:f=1+E(P),p=d;default:if(y<1)if(123==w)--y;else if(125==w&&0==y++&&125==M())continue;switch(P+=g(w),w*y){case 38:m=l>0?1:(P+="\f",-1);break;case 44:s[u++]=(E(P)-1)*m,m=1;break;case 64:45===L()&&(P+=z(F())),h=L(),l=f=E(C=P+=H(Q())),w++;break;case 45:45===d&&2==E(P)&&(y=0)}}return i}function ne(e,t,n,r,o,i,a,s,c,u,l,h){for(var p=o-1,g=0===o?i:[""],y=C(g),m=0,_=0,T=0;m<r;++m)for(var E=0,x=w(e,p+1,p=d(_=a[m])),O=e;E<y;++E)(O=v(_>0?g[E]+" "+x:b(x,/&\f/g,g[E])))&&(c[T++]=O);return j(e,t,n,0===o?f:s,c,u,l,h)}function re(e,t,n,r){return j(e,t,n,l,g(S),w(e,2,-2),0,r)}function oe(e,t,n,r,o){return j(e,t,n,h,w(e,0,r),w(e,r+1,-1),r,o)}var ie={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},ae=n(7220),se="undefined"!=typeof ae&&void 0!==ae.env&&(ae.env.REACT_APP_SC_ATTR||ae.env.SC_ATTR)||"data-styled",ce="6.0.4",ue="undefined"!=typeof window&&"HTMLElement"in window,le=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:"undefined"!=typeof ae&&void 0!==ae.env&&void 0!==ae.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==ae.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==ae.env.REACT_APP_SC_DISABLE_SPEEDY&&ae.env.REACT_APP_SC_DISABLE_SPEEDY:"undefined"!=typeof ae&&void 0!==ae.env&&void 0!==ae.env.SC_DISABLE_SPEEDY&&""!==ae.env.SC_DISABLE_SPEEDY&&("false"!==ae.env.SC_DISABLE_SPEEDY&&ae.env.SC_DISABLE_SPEEDY)),fe={},he=(new Set,Object.freeze([])),pe=Object.freeze({});function de(e,t,n){return void 0===n&&(n=pe),e.theme!==n.theme&&e.theme||t||n.theme}var ge=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),ye=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,ve=/(^-|-$)/g;function me(e){return e.replace(ye,"-").replace(ve,"")}var be=/(a)(d)/gi,_e=function(e){return String.fromCharCode(e+(e>25?39:97))};function Te(e){var t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=_e(t%52)+n;return(_e(t%52)+n).replace(be,"$1-$2")}var we,Ee=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},Ce=function(e){return Ee(5381,e)};function xe(e){return Te(Ce(e)>>>0)}function Oe(e){return"string"==typeof e&&!0}var Ie="function"==typeof Symbol&&Symbol.for,ke=Ie?Symbol.for("react.memo"):60115,Pe=Ie?Symbol.for("react.forward_ref"):60112,Ne={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},Se={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Ae={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},je=((we={})[Pe]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},we[ke]=Ae,we);function Re(e){return("type"in(t=e)&&t.type.$$typeof)===ke?Ae:"$$typeof"in e?je[e.$$typeof]:Ne;var t}var De=Object.defineProperty,Me=Object.getOwnPropertyNames,Fe=Object.getOwnPropertySymbols,Le=Object.getOwnPropertyDescriptor,Qe=Object.getPrototypeOf,qe=Object.prototype;function Ue(e,t,n){if("string"!=typeof t){if(qe){var r=Qe(t);r&&r!==qe&&Ue(e,r,n)}var o=Me(t);Fe&&(o=o.concat(Fe(t)));for(var i=Re(e),a=Re(t),s=0;s<o.length;++s){var c=o[s];if(!(c in Se||n&&n[c]||a&&c in a||i&&c in i)){var u=Le(t,c);try{De(e,c,u)}catch(e){}}}}return e}function Be(e){return"function"==typeof e}function Ve(e){return"object"==typeof e&&"styledComponentId"in e}function ze(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function Ge(e,t){if(0===e.length)return"";for(var n=e[0],r=1;r<e.length;r++)n+=t?t+e[r]:e[r];return n}function $e(e){return null!==e&&"object"==typeof e&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function We(e,t,n){if(void 0===n&&(n=!1),!n&&!$e(e)&&!Array.isArray(e))return t;if(Array.isArray(t))for(var r=0;r<t.length;r++)e[r]=We(e[r],t[r]);else if($e(t))for(var r in t)e[r]=We(e[r],t[r]);return e}function Ye(e,t){Object.defineProperty(e,"toString",{value:t})}function He(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(e," for more information.").concat(t.length>0?" Args: ".concat(t.join(", ")):""))}var Ke=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}return e.prototype.indexOfGroup=function(e){for(var t=0,n=0;n<e;n++)t+=this.groupSizes[n];return t},e.prototype.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var n=this.groupSizes,r=n.length,o=r;e>=o;)if((o<<=1)<0)throw He(16,"".concat(e));this.groupSizes=new Uint32Array(o),this.groupSizes.set(n),this.length=o;for(var i=r;i<o;i++)this.groupSizes[i]=0}for(var a=this.indexOfGroup(e+1),s=(i=0,t.length);i<s;i++)this.tag.insertRule(a,t[i])&&(this.groupSizes[e]++,a++)},e.prototype.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],n=this.indexOfGroup(e),r=n+t;this.groupSizes[e]=0;for(var o=n;o<r;o++)this.tag.deleteRule(n)}},e.prototype.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],r=this.indexOfGroup(e),o=r+n,i=r;i<o;i++)t+="".concat(this.tag.getRule(i)).concat("/*!sc*/\n");return t},e}(),Je=new Map,Ze=new Map,Xe=1,et=function(e){if(Je.has(e))return Je.get(e);for(;Ze.has(Xe);)Xe++;var t=Xe++;return Je.set(e,t),Ze.set(t,e),t},tt=function(e,t){Je.set(e,t),Ze.set(t,e)},nt="style[".concat(se,"][").concat("data-styled-version",'="').concat("6.0.4",'"]'),rt=new RegExp("^".concat(se,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),ot=function(e,t,n){for(var r,o=n.split(","),i=0,a=o.length;i<a;i++)(r=o[i])&&e.registerName(t,r)},it=function(e,t){for(var n,r=(null!==(n=t.textContent)&&void 0!==n?n:"").split("/*!sc*/\n"),o=[],i=0,a=r.length;i<a;i++){var s=r[i].trim();if(s){var c=s.match(rt);if(c){var u=0|parseInt(c[1],10),l=c[2];0!==u&&(tt(l,u),ot(e,l,c[3]),e.getTag().insertRules(u,o)),o.length=0}else o.push(s)}}};function at(){return n.nc}var st=function(e){var t=document.head,n=e||t,r=document.createElement("style"),o=function(e){var t=Array.from(e.querySelectorAll("style[".concat(se,"]")));return t[t.length-1]}(n),i=void 0!==o?o.nextSibling:null;r.setAttribute(se,"active"),r.setAttribute("data-styled-version","6.0.4");var a=at();return a&&r.setAttribute("nonce",a),n.insertBefore(r,i),r},ct=function(){function e(e){this.element=st(e),this.element.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,n=0,r=t.length;n<r;n++){var o=t[n];if(o.ownerNode===e)return o}throw He(17)}(this.element),this.length=0}return e.prototype.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return!1}},e.prototype.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},e.prototype.getRule=function(e){var t=this.sheet.cssRules[e];return t&&t.cssText?t.cssText:""},e}(),ut=function(){function e(e){this.element=st(e),this.nodes=this.element.childNodes,this.length=0}return e.prototype.insertRule=function(e,t){if(e<=this.length&&e>=0){var n=document.createTextNode(t);return this.element.insertBefore(n,this.nodes[e]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},e.prototype.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),lt=function(){function e(e){this.rules=[],this.length=0}return e.prototype.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},e.prototype.deleteRule=function(e){this.rules.splice(e,1),this.length--},e.prototype.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),ft=ue,ht={isServer:!ue,useCSSOMInjection:!le},pt=function(){function e(e,t,n){void 0===e&&(e=pe),void 0===t&&(t={});var o=this;this.options=(0,r.__assign)((0,r.__assign)({},ht),e),this.gs=t,this.names=new Map(n),this.server=!!e.isServer,!this.server&&ue&&ft&&(ft=!1,function(e){for(var t=document.querySelectorAll(nt),n=0,r=t.length;n<r;n++){var o=t[n];o&&"active"!==o.getAttribute(se)&&(it(e,o),o.parentNode&&o.parentNode.removeChild(o))}}(this)),Ye(this,(function(){return function(e){for(var t=e.getTag(),n=t.length,r="",o=function(n){var o=function(e){return Ze.get(e)}(n);if(void 0===o)return"continue";var i=e.names.get(o),a=t.getGroup(n);if(void 0===i||0===a.length)return"continue";var s="".concat(se,".g").concat(n,'[id="').concat(o,'"]'),c="";
1void 0!==i&&i.forEach((function(e){e.length>0&&(c+="".concat(e,","))})),r+="".concat(a).concat(s,'{content:"').concat(c,'"}').concat("/*!sc*/\n")},i=0;i<n;i++)o(i);return r}(o)}))}return e.registerId=function(e){return et(e)},e.prototype.reconstructWithOptions=function(t,n){return void 0===n&&(n=!0),new e((0,r.__assign)((0,r.__assign)({},this.options),t),this.gs,n&&this.names||void 0)},e.prototype.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},e.prototype.getTag=function(){return this.tag||(this.tag=(e=function(e){var t=e.useCSSOMInjection,n=e.target;return e.isServer?new lt(n):t?new ct(n):new ut(n)}(this.options),new Ke(e)));var e},e.prototype.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},e.prototype.registerName=function(e,t){if(et(e),this.names.has(e))this.names.get(e).add(t);else{var n=new Set;n.add(t),this.names.set(e,n)}},e.prototype.insertRules=function(e,t,n){this.registerName(e,t),this.getTag().insertRules(et(e),n)},e.prototype.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},e.prototype.clearRules=function(e){this.getTag().clearGroup(et(e)),this.clearNames(e)},e.prototype.clearTag=function(){this.tag=void 0},e}(),dt=/&/g,gt=/^\s*\/\/.*$/gm;function yt(e,t){return e.map((function(e){return"rule"===e.type&&(e.value="".concat(t," ").concat(e.value),e.value=e.value.replaceAll(",",",".concat(t," ")),e.props=e.props.map((function(e){return"".concat(t," ").concat(e)}))),Array.isArray(e.children)&&"@keyframes"!==e.type&&(e.children=yt(e.children,t)),e}))}function vt(e){var t,n,r,o=void 0===e?pe:e,i=o.options,a=void 0===i?pe:i,s=o.plugins,c=void 0===s?he:s,u=function(e,r,o){return o===n||o.startsWith(n)&&o.endsWith(n)&&o.replaceAll(n,"").length>0?".".concat(t):e},l=c.slice();l.push((function(e){e.type===f&&e.value.includes("&")&&(e.props[0]=e.props[0].replace(dt,n).replace(r,u))})),a.prefix&&l.push(X),l.push(J);var h=function(e,o,i,s){void 0===o&&(o=""),void 0===i&&(i=""),void 0===s&&(s="&"),t=s,n=o,r=new RegExp("\\".concat(n,"\\b"),"g");var c=e.replace(gt,""),u=ee(i||o?"".concat(i," ").concat(o," { ").concat(c," }"):c);a.namespace&&(u=yt(u,a.namespace));var f,h=[];return K(u,function(e){var t=C(e);return function(n,r,o,i){for(var a="",s=0;s<t;s++)a+=e[s](n,r,o,i)||"";return a}}(l.concat((f=function(e){return h.push(e)},function(e){e.root||(e=e.return)&&f(e)})))),h};return h.hash=c.length?c.reduce((function(e,t){return t.name||He(15),Ee(e,t.name)}),5381).toString():"",h}var mt=new pt,bt=vt(),_t=o.createContext({shouldForwardProp:void 0,styleSheet:mt,stylis:bt}),Tt=_t.Consumer,wt=o.createContext(void 0);function Et(){return(0,o.useContext)(_t)}function Ct(e){var t=(0,o.useState)(e.stylisPlugins),n=t[0],r=t[1],i=Et().styleSheet,s=(0,o.useMemo)((function(){var t=i;return e.sheet?t=e.sheet:e.target&&(t=t.reconstructWithOptions({target:e.target},!1)),e.disableCSSOMInjection&&(t=t.reconstructWithOptions({useCSSOMInjection:!1})),t}),[e.disableCSSOMInjection,e.sheet,e.target,i]),c=(0,o.useMemo)((function(){return vt({options:{namespace:e.namespace,prefix:e.enableVendorPrefixes},plugins:n})}),[e.enableVendorPrefixes,e.namespace,n]);return(0,o.useEffect)((function(){a()(n,e.stylisPlugins)||r(e.stylisPlugins)}),[e.stylisPlugins]),o.createElement(_t.Provider,{value:{shouldForwardProp:e.shouldForwardProp,styleSheet:s,stylis:c}},o.createElement(wt.Provider,{value:c},e.children))}var xt=function(){function e(e,t){var n=this;this.inject=function(e,t){void 0===t&&(t=bt);var r=n.name+t.hash;e.hasNameForId(n.id,r)||e.insertRules(n.id,r,t(n.rules,r,"@keyframes"))},this.name=e,this.id="sc-keyframes-".concat(e),this.rules=t,Ye(this,(function(){throw He(12,String(n.name))}))}return e.prototype.getName=function(e){return void 0===e&&(e=bt),this.name+e.hash},e}(),Ot=function(e){return e>="A"&&e<="Z"};function It(e){for(var t="",n=0;n<e.length;n++){var r=e[n];if(1===n&&"-"===r&&"-"===e[0])return e;Ot(r)?t+="-"+r.toLowerCase():t+=r}return t.startsWith("ms-")?"-"+t:t}var kt=function(e){return null==e||!1===e||""===e},Pt=function(e){var t,n,o=[];for(var i in e){var a=e[i];
vendor: 1,283 bytes, line 1
1e.hasOwnProperty(i)&&!kt(a)&&(Array.isArray(a)&&a.isCss||Be(a)?o.push("".concat(It(i),":"),a,";"):$e(a)?o.push.apply(o,(0,r.__spreadArray)((0,r.__spreadArray)(["".concat(i," {")],Pt(a),!1),["}"],!1)):o.push("".concat(It(i),": ").concat((t=i,null==(n=a)||"boolean"==typeof n||""===n?"":"number"!=typeof n||0===n||t in ie||t.startsWith("--")?String(n).trim():"".concat(n,"px")),";")))}return o};function Nt(e,t,n,r){return kt(e)?[]:Ve(e)?[".".concat(e.styledComponentId)]:Be(e)?!Be(o=e)||o.prototype&&o.prototype.isReactComponent||!t?[e]:Nt(e(t),t,n,r):e instanceof xt?n?(e.inject(n,r),[e.getName(r)]):[e]:$e(e)?Pt(e):Array.isArray(e)?Array.prototype.concat.apply(he,e.map((function(e){return Nt(e,t,n,r)}))):[e.toString()];var o}function St(e){for(var t=0;t<e.length;t+=1){var n=e[t];if(Be(n)&&!Ve(n))return!1}return!0}var At=Ce("6.0.4"),jt=function(){function e(e,t,n){this.rules=e,this.staticRulesId="",this.isStatic=(void 0===n||n.isStatic)&&St(e),this.componentId=t,this.baseHash=Ee(At,t),this.baseStyle=n,pt.registerId(t)}return e.prototype.generateAndInjectStyles=function(e,t,n){var r=this.baseStyle?this.baseStyle.generateAndInjectStyles(e,t,n):"";if(this.isStatic&&!n.hash)if(this.staticRulesId&&t.hasNameForId(this.componentId,this.staticRulesId))r=ze(r,this.staticRulesId);
1else{var o=Ge(Nt(this.rules,e,t,n)),i=Te(Ee(this.baseHash,o)>>>0);if(!t.hasNameForId(this.componentId,i)){var a=n(o,".".concat(i),void 0,this.componentId);t.insertRules(this.componentId,i,a)}r=ze(r,i),this.staticRulesId=i}else{for(var s=Ee(this.baseHash,n.hash),c="",u=0;u<this.rules.length;u++){var l=this.rules[u];if("string"==typeof l)c+=l;else if(l){var f=Ge(Nt(l,e,t,n));s=Ee(s,f),c+=f}}if(c){var h=Te(s>>>0);t.hasNameForId(this.componentId,h)||t.insertRules(this.componentId,h,n(c,".".concat(h),void 0,this.componentId)),r=ze(r,h)}}return r},e}(),Rt=o.createContext(void 0),Dt=Rt.Consumer;function Mt(){var e=(0,o.useContext)(Rt);if(!e)throw He(18);return e}function Ft(e){var t=o.useContext(Rt),n=(0,o.useMemo)((function(){return function(e,t){if(!e)throw He(14);if(Be(e))return e(t);if(Array.isArray(e)||"object"!=typeof e)throw He(8);return t?(0,r.__assign)((0,r.__assign)({},t),e):e}(e.theme,t)}),[e.theme,t]);return e.children?o.createElement(Rt.Provider,{value:n},e.children):null}var Lt={};new Set;function Qt(e,t,n){var i=Ve(e),a=e,s=!Oe(e),c=t.attrs,u=void 0===c?he:c,l=t.componentId,f=void 0===l?function(e,t){var n="string"!=typeof e?"sc":me(e);Lt[n]=(Lt[n]||0)+1;var r="".concat(n,"-").concat(xe("6.0.4"+n+Lt[n]));return t?"".concat(t,"-").concat(r):r}(t.displayName,t.parentComponentId):l,h=t.displayName,p=(void 0===h&&function(e){Oe(e)?"styled.".concat(e):"Styled(".concat(function(e){return e.displayName||e.name||"Component"}(e),")")}(e),t.displayName&&t.componentId?"".concat(me(t.displayName),"-").concat(t.componentId):t.componentId||f),d=i&&a.attrs?a.attrs.concat(u).filter(Boolean):u,g=t.shouldForwardProp;if(i&&a.shouldForwardProp){var y=a.shouldForwardProp;if(t.shouldForwardProp){var v=t.shouldForwardProp;g=function(e,t){return y(e,t)&&v(e,t)}}else g=y}var m=new jt(n,p,i?a.componentStyle:void 0);var b=o.forwardRef((function(e,t){return function(e,t,n){var i=e.attrs,a=e.componentStyle,s=e.defaultProps,c=e.foldedComponentIds,u=e.styledComponentId,l=e.target,f=o.useContext(Rt),h=Et(),p=e.shouldForwardProp||h.shouldForwardProp,d=function(e,t,n){for(var o,i=(0,r.__assign)((0,r.__assign)({},t),{className:void 0,theme:n}),a=0;a<e.length;a+=1){var s=Be(o=e[a])?o(i):o;for(var c in s)i[c]="className"===c?ze(i[c],s[c]):"style"===c?(0,r.__assign)((0,r.__assign)({},i[c]),s[c]):s[c]}return t.className&&(i.className=ze(i.className,t.className)),i}(i,t,de(t,f,s)||pe),g=d.as||l,y={};for(var v in d)void 0===d[v]||"$"===v[0]||"as"===v||"theme"===v||("forwardedAs"===v?y.as=d.forwardedAs:p&&!p(v,g)||(y[v]=d[v]));var m=function(e,t){var n=Et();return e.generateAndInjectStyles(t,n.styleSheet,n.stylis)}(a,d),b=ze(c,u);return m&&(b+=" "+m),d.className&&(b+=" "+d.className),y[Oe(g)&&!ge.has(g)?"class":"className"]=b,y.ref=n,(0,o.createElement)(g,y)}(b,e,t)}));return b.attrs=d,b.componentStyle=m,b.shouldForwardProp=g,b.foldedComponentIds=i?ze(a.foldedComponentIds,a.styledComponentId):"",b.styledComponentId=p,b.target=i?a.target:e,Object.defineProperty(b,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(e){this._foldedDefaultProps=i?function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var r=0,o=t;r<o.length;r++)We(e,o[r],!0);return e}({},a.defaultProps,e):e}}),Ye(b,(function(){return".".concat(b.styledComponentId)})),s&&Ue(b,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),b}function qt(e,t){for(var n=[e[0]],r=0,o=t.length;r<o;r+=1)n.push(t[r],e[r+1]);return n}var Ut=function(e){return Object.assign(e,{isCss:!0})};function Bt(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];if(Be(e)||$e(e)){var o=e;return Ut(Nt(qt(he,(0,r.__spreadArray)([o],t,!0))))}var i=e;return 0===t.length&&1===i.length&&"string"==typeof i[0]?Nt(i):Ut(Nt(qt(i,t)))}function Vt(e,t,n){if(void 0===n&&(n=pe),!t)throw He(1,t);var o=function(o){for(var i=[],a=1;a<arguments.length;a++)i[a-1]=arguments[a];return e(t,n,Bt.apply(void 0,(0,r.__spreadArray)([o],i,!1)))};return o.attrs=function(o){return Vt(e,t,(0,r.__assign)((0,r.__assign)({}
1,n),{attrs:Array.prototype.concat(n.attrs,o).filter(Boolean)}))},o.withConfig=function(o){return Vt(e,t,(0,r.__assign)((0,r.__assign)({},n),o))},o}var zt=function(e){return Vt(Qt,e)},Gt=zt;ge.forEach((function(e){Gt[e]=zt(e)}));var $t=function(){function e(e,t){this.rules=e,this.componentId=t,this.isStatic=St(e),pt.registerId(this.componentId+1)}return e.prototype.createStyles=function(e,t,n,r){var o=r(Ge(Nt(this.rules,t,n,r)),""),i=this.componentId+e;n.insertRules(i,i,o)},e.prototype.removeStyles=function(e,t){t.clearRules(this.componentId+e)},e.prototype.renderStyles=function(e,t,n,r){e>2&&pt.registerId(this.componentId+e),this.removeStyles(e,n),this.createStyles(e,t,n,r)},e}();function Wt(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var i=Bt.apply(void 0,(0,r.__spreadArray)([e],t,!1)),a="sc-global-".concat(xe(JSON.stringify(i))),s=new $t(i,a),c=function(e){var t=Et(),n=o.useContext(Rt),r=o.useRef(t.styleSheet.allocateGSInstance(a)).current;return t.styleSheet.server&&u(r,e,t.styleSheet,n,t.stylis),(o.useInsertionEffect||o.useLayoutEffect)((function(){if(!t.styleSheet.server)return u(r,e,t.styleSheet,n,t.stylis),function(){return s.removeStyles(r,t.styleSheet)}}),[r,e,t.styleSheet,n,t.stylis]),null};function u(e,t,n,o,i){if(s.isStatic)s.renderStyles(e,fe,n,i);else{var a=(0,r.__assign)((0,r.__assign)({},t),{theme:de(t,o,c.defaultProps)});s.renderStyles(e,a,n,i)}}return o.memo(c)}function Yt(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var o=Ge(Bt.apply(void 0,(0,r.__spreadArray)([e],t,!1))),i=xe(o);return new xt(i,o)}function Ht(e){return Ue(o.forwardRef((function(t,n){var i=de(t,o.useContext(Rt),e.defaultProps);return o.createElement(e,(0,r.__assign)({},t,{theme:i,ref:n}))})),e)}var Kt=function(){function e(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString(),n=at(),r=Ge([n&&'nonce="'.concat(n,'"'),"".concat(se,'="true"'),"".concat("data-styled-version",'="').concat("6.0.4",'"')].filter(Boolean)," ");return"<style ".concat(r,">").concat(t,"</style>")},this.getStyleTags=function(){if(e.sealed)throw He(2);return e._emitSheetCSS()}
1,this.getStyleElement=function(){var t;if(e.sealed)throw He(2);var n=((t={})[se]="",t["data-styled-version"]="6.0.4",t.dangerouslySetInnerHTML={__html:e.instance.toString()},t),i=at();return i&&(n.nonce=i),[o.createElement("style",(0,r.__assign)({},n,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new pt({isServer:!0}),this.sealed=!1}return e.prototype.collectStyles=function(e){if(this.sealed)throw He(2);return o.createElement(Ct,{sheet:this.instance},e)},e.prototype.interleaveWithNodeStream=function(e){throw He(3)},e}(),Jt={StyleSheet:pt,mainSheet:mt};"__sc-".concat(se,"__")},1200:function(e){"use strict";e.exports={stdout:!1,stderr:!1}},6840:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return n(6574)}])},5760:function(e,t,n){"use strict";n.d(t,{R:function(){return r}});var r=(0,n(6863).createContext)({locale:"",country:""});t.Z=r.Provider},5338:function(e){"use strict";e.exports={locales:["es","fr","de","en","da","sv","no"],defaultLocale:"en",pages:{"*":["common"]},domains:[{domain:"gudog.co.uk",defaultLocale:"en"},{domain:"gudog.fr",defaultLocale:"fr"},{domain:"gudog.com",defaultLocale:"es"},{domain:"gudog.es",defaultLocale:"es-ES",locales:["es"]},{domain:"gudog.de",defaultLocale:"de"},{domain:"gudog.ie",defaultLocale:"en-IE",locales:["en"]},{domain:"gudog.dk",defaultLocale:"da"},{domain:"gudog.se",defaultLocale:"sv"},{domain:"gudog.no",defaultLocale:"no"}]}},3529:function(e,t,n){"use strict";n.d(t,{Y:function(){return c}});var r=n(849),o=n(7856),i=n.n(o),a=n(7038),s=n.n(a),c=i()().publicRuntimeConfig,u=function(e){var t,n=e.id,r=e.events,o=void 0===r?{}:r,i=e.dataLayerName,a=e.preview,s=e.auth;s&&">m_auth=".concat(s),a&&">m_preview=".concat(a);n||(t="GTM Id is required",console.warn("[react-gtm]",t));var c="dataLayer"!=i?"&l="+i:"";return{iframe:'\n <iframe src="https://www.googletagmanager.com/ns.html?id='.concat(n,'>m_cookies_win=x" height="0" width="0" style="display:none;visibility:hidden" id="tag-manager"></iframe>'),script:"\n (function(w,d,s,l,i){\n w[l]=w[l]||[];\n w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js', ".concat(JSON.stringify(o).slice(1,-1),"});\n })(window,document,'script','").concat(i,"','").concat(n,"');"),gtmSrc:"https://www.googletagmanager.com/gtm.js?id=".concat(n).concat(c,">m_cookies_win=x")}},l=c.googleTagManagerConfig,f=u({id:l.gtmId,auth:l.auth,preview:l.preview,dataLayerName:"dataLayer"}),h={initialize:function(){var e=f.iframe,t=f.script,n=f.gtmSrc;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(s(),{children:t}),(0,r.jsx)(s(),{strategy:"afterInteractive",src:n}),(0,r.jsx)("noscript",{dangerouslySetInnerHTML:{__html:e}})]})},dataLayer:function(e){var t=e.dataLayer,n=e.dataLayerName,r=void 0===n?"dataLayer":n,o=window;o[r]&&o[r].push(t)}};t.Z=h},6574:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return L}});var r=n(8314),o=n(4985),i=n(849),a=n(6863),s=n(5338),c=n.n(s),u=n(614),l=n(7629),f=n(5850),h=n(6279),p=function(){return p=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},p.apply(this,arguments)},d=(0,a.createContext)({ns:{},config:{}});function g(e){var t=e.lang,n=e.namespaces,r=void 0===n?{}:n,o=e.children,i=e.config,s=void 0===i?{}:i,c=(0,h.Z)().lang,g=(0,u.useRouter)()||{},y=g.locale,v=g.defaultLocale,m=(0,a.useContext)(d),b=p(p(p({},function(){var e,t;return"undefined"===typeof window?{}:(null===(t=null===(e=window.__NEXT_DATA__)||void 0===e?void 0:e.props)||void 0===t?void 0:t.__namespaces)||{}}()),m.ns),r),_=t||c||y||v||"",T=p(p({},m.config),s),w=(T.localesToIgnore||["default"]).includes(_),E=new Intl.PluralRules(w?void 0:_),C=(0,f.Z)({config:T,allNamespaces:b,pluralRules:E,lang:_});return a.createElement(l.Z.Provider,{value:{lang:_,t:C}},a.createElement(d.Provider,{value:{ns:b,config:T}},o))}var y=function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{c(r.next(e))}catch(t){i(t)}}function s(e){try{c(r.throw(e))}catch(t){i(t)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((r=r.apply(e,t||[])).next())}))},v=function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(s){return function(c){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,s[0]&&(a=0)),a;)try{if(n=1,r&&(o=2&s[0]?r.return:s[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,s[1])).done)return o;switch(r=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===s[0]||2===s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(6===s[0]&&a.label<o[1]){a.label=o[1],o=s;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(s);break}o[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(c){s=[6,c],r=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,c])}}},m=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))};function b(e){return e.reduce((function(e,t){return e.concat(t)}),[])}function _(e,t,n){var r=e.pages,o=void 0===r?{}:r;return y(this,void 0,void 0,(function(){var e,r,i,a,s,c,u,l=this;return v(this,(function(f){switch(f.label){case 0:return e="rgx:",r=function(e){return y(l,void 0,void 0,(function(){return v(this,(function(t){return[2,"function"===typeof e?e(n):e||[]]}))}))},i=Object.keys(o).reduce((function(n,i){return i.substring(0,e.length)===e&&new RegExp(i.replace(e,"")).test(t)&&n.push(r
1(o[i])),n}),[]),a=[[]],[4,r(o["*"])];case 1:return s=[m.apply(void 0,a.concat([f.sent(),!0]))],[4,r(o[t])];case 2:return c=[m.apply(void 0,s.concat([f.sent(),!0]))],u=b,[4,Promise.all(i)];case 3:return[2,m.apply(void 0,c.concat([u.apply(void 0,[f.sent()]),!0]))]}}))}))}var T=n(7220),w=function(){return w=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},w.apply(this,arguments)},E=function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{c(r.next(e))}catch(t){i(t)}}function s(e){try{c(r.throw(e))}catch(t){i(t)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((r=r.apply(e,t||[])).next())}))},C=function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(s){return function(c){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,s[0]&&(a=0)),a;)try{if(n=1,r&&(o=2&s[0]?r.return:s[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,s[1])).done)return o;switch(r=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===s[0]||2===s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(6===s[0]&&a.label<o[1]){a.label=o[1],o=s;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(s);break}o[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(c){s=[6,c],r=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,c])}}};function x(e){var t,r;return void 0===e&&(e={}),E(this,void 0,void 0,(function(){var o,i,a,s,c,u,l;return C(this,(function(f){switch(f.label){case 0:return o=w(w({},("undefined"===typeof window?n.g:window).i18nConfig),e),i=o.localesToIgnore||["default"],a=(null===(t=o.req)||void 0===t?void 0:t.locale)||o.locale||(null===(r=o.router)||void 0===r?void 0:r.locale)||o.defaultLocale||"",o.pathname?i.includes(a)?[2,{__lang:a}]:(o.loaderName||!1===o.loader||console.warn('\ud83d\udea8 [next-translate] You can remove the "loadNamespaces" helper, unless you set "loader: false" in your i18n config file.'),s=function(e){void 0===e&&(e="");return e.length>1&&e.endsWith("/")?e.slice(0,-1):e}(o.pathname.replace(/\/index$/,""))||"/",[4,_(o,s,o)]):(console.warn('\ud83d\udea8 [next-translate] You forgot to pass the "pathname" inside "loadNamespaces" configuration'),[2,{__lang:a}]);case 1:return c=f.sent(),u=function(){return Promise.resolve({})},[4,Promise.all(c.map((function(e){return"function"===typeof o.loadLocaleFrom?o.loadLocaleFrom(a,e).catch((function(){return{}})):u()})))];case 2:return l=f.sent()||[],function(e,t){var n=t.page,r=t.lang,o=t.namespaces;if(!1!==e.logBuild&&"undefined"===typeof window){var i=null==T.env.NODE_DISABLE_COLORS&&null==T.env.NO_COLOR&&"dumb"!==T.env.TERM&&"0"!==T.env.FORCE_COLOR,a=function(e){return i?"\x1b[36m".concat(e,"\x1b[0m"):e};console.log(a("next-translate"),"- compiled page:",a(n),"- locale:",a(r),"- namespaces:",a(o.join(", ")),"- used loader:",a(e.loaderName||"-"))}}(o,{page:s,lang:a,namespaces:c}),[2,{__lang:a,__namespaces:c.reduce((function(e,t,n){return e[t]=l[n]||null,e}),{})}]}}))}))}var O=function(){return O=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},O.apply(this,arguments)},I=function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{c(r.next(e))}catch(t){i(t)}}function s(e){try{c(r.throw(e))}catch(t){i(t)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((r=r.apply(e,t||[])).next())}))},k=function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(s){return function(c){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,s[0]&&(a=0)),a;)try{if(n=1,r&&(o=2&s[0]?r.return:s[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,s[1])).done)return o;switch(r=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===s[0]||2===s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(6===s[0]&&a.label<o[1]){a.label=o[1],o=s;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(s);break}o[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(c){s=[6,c],r=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,c])}}};var P=n(4873),N=JSON.parse('{"CategoryConnection":["RootQueryToCategoryConnection","CategoryToAncestorsCategoryConnection","CategoryToCategoryConnection","PostToCategoryConnection"],"Connection":["RootQueryToCategoryConnection","TermNodeToEnqueuedScriptConnection","TermNodeToEnqueuedStylesheetConnection","CategoryToAncestorsCategoryConnection","CategoryToCategoryConnection","CategoryToContentNodeConnection","ContentTypeToTaxonomyConnection","TaxonomyToContentTypeConnection","ContentTypeToContentNodeConnection","UserToCommentConnection","CommentToCommentConnection","UserToEnqueuedScriptConnection","UserToEnqueuedStylesheetConnection","UserToMediaItemConnection","HierarchicalContentNodeToContentNodeAncestorsConnection","HierarchicalContentNodeToContentNodeChildrenConnection","ContentNodeToEnqueuedScriptConnection","ContentNodeToEnqueuedStylesheetConnection","MediaItemToCommentConnection","UserToPageConnection","PageToCommentConnection","PageToRevisionConnection","UserToPostConnection","PostToCategoryConnection","PostToCommentConnection","PostToPostFormatConnection","PostFormatToContentNodeConnection","PostFormatToPostConnection","PostToRevisionConnection","PostToTagConnection","TagToContentNodeConnection","TagToPostConnection","PostToTermNodeConnection","UserToRevisionsConnection","UserToUserRoleConnection","CategoryToPostConnection","RootQueryToCommentConnection","RootQueryToContentNodeConnection","RootQueryToContentTypeConnection","RootQueryToMediaItemConnection","MenuToMenuItemConnection","MenuItemToMenuItemConnection","RootQueryToMenuItemConnection","RootQueryToMenuConnection","RootQueryToPageConnection","RootQueryToPluginConnection","RootQueryToPostFormatConnection","RootQueryToPostConnection","RootQueryToEnqueuedScriptConnection","RootQueryToEnqueuedStylesheetConnection","RootQueryToRevisionsConnection","RootQueryToTagConnection","RootQueryToTaxonomyConnection","RootQueryToTermNodeConnection","RootQueryToThemeConnection","RootQueryToUserRoleConnection","RootQueryToUserConnection"],"Edge":["TermNodeToEnqueuedScriptConnectionEdge","TermNodeToEnqueuedStylesheetConnectionEdge","CategoryToAncestorsCategoryConnectionEdge","CategoryToCategoryConnectionEdge","ContentNodeToContentTypeConnectionEdge","TaxonomyToContentTypeConnectionEdge","ContentTypeToTaxonomyConnectionEdge","ContentTypeToContentNodeConnectionEdge","ContentNodeToEditLockConnectionEdge","CommentToCommenterConnectionEdge","CommentToContentNodeConnectionEdge","CommentToParentCommentConnectionEdge","CommentToCommentConnectionEdge","UserToCommentConnectionEdge","UserToEnqueuedScriptConnectionEdge","UserToEnqueuedStylesheetConnectionEdge","NodeWithAuthorToUserConnectionEdge","HierarchicalContentNodeToContentNodeAncestorsConnectionEdge","HierarchicalContentNodeToContentNodeChildrenConnectionEdge","ContentNodeToEnqueuedScriptConnectionEdge","ContentNodeToEnqueuedStylesheetConnectionEdge","ContentNodeToEditLastConnectionEdge","HierarchicalContentNodeToParentContentNodeConnectionEdge","MediaItemToCommentConnectionEdge","UserToMediaItemConnectionEdge","NodeWithFeaturedImageToMediaItemConnectionEdge","NodeWithRevisionsToContentNodeConnectionEdge","PageToCommentConnectionEdge","PageToPreviewConnectionEdge","PageToRevisionConnectionEdge","UserToPageConnectionEdge","PostToCategoryConnectionEdge","PostToCommentConnectionEdge","PostFormatToContentNodeConnectionEdge","PostFormatToPostConnectionEdge","PostFormatToTaxonomyConnectionEdge","PostToPostFormatConnectionEdge","PostToPreviewConnectionEdge","PostToRevisionConnectionEdge","TagToContentNodeConnectionEdge","TagToPostConnectionEdge","TagToTaxonomyConnectionEdge","PostToTagConnectionEdge","PostToTermNodeConnectionEdge","UserToPostConnectionEdge","UserToRevisionsConnectionEdge","UserToUserRoleConnectionEdge","CategoryToContentNodeConnectionEdge","CategoryToParentCategoryConnectionEdge","CategoryToPostConnectionEdge","CategoryToTaxonomyConnectionEdge","RootQueryToCategoryConnectionEdge","RootQueryToCommentConnectionEdge","RootQueryToContentNodeConnectionEdge","RootQueryToContentTypeConnectionEdge","RootQueryToMediaItemConnectionEdge","MenuItemToMenuItemConnectionEdge","MenuItemToMenuItemLinkableConnectionEdge","MenuItemToMenuConnectionEdge","MenuToMenuItemConnectionEdge","RootQueryToMenuItemConnectionEdge","RootQueryToMenuConnectionEdge","RootQueryToPageConnectionEdge","RootQueryToPluginConnectionEdge","RootQueryToPostFormatConnectionEdge","RootQueryToPostConnectionEdge","RootQueryToEnqueuedScriptConnectionEdge","RootQueryToEnqueuedStylesheetConnectionEdge","RootQueryToRevisionsConnectionEdge","RootQueryToTagConnectionEdge","RootQueryToTaxonomyConnectionEdge","RootQueryToTermNodeConnectionEdge","RootQueryToThemeConnectionEdge","RootQueryToUserRoleConnectionEdge","RootQueryToUserConnectionEdge"],"Node":["Category","EnqueuedScript","EnqueuedStylesheet","ContentType","Taxonomy","User","Comment","MediaItem","Page","Post","PostFormat","Tag","UserRole","Menu","MenuItem","Plugin","Theme","CommentAuthor"],"PageInfo":["TermNodeToEnqueuedScriptConnectionPageInfo","TermNodeToEnqueuedStylesheetConnectionPageInfo","CategoryToAncestorsCategoryConnectionPageInfo","CategoryToCategoryConnectionPageInfo","TaxonomyToContentTypeConnectionPageInfo","ContentTypeToTaxonomyConnectionPageInfo","ContentTypeToContentNodeConnectionPageInfo","CommentToCommentConnectionPageInfo","UserToCommentConnectionPageInfo","UserToEnqueuedScriptConnectionPageInfo","UserToEnqueuedStylesheetConnectionPageInfo","HierarchicalContentNodeToContentNodeAncestorsConnectionPageInfo","HierarchicalContentNodeToContentNodeChildrenConnectionPageInfo","ContentNodeToEnqueuedScriptConnectionPageInfo","ContentNodeToEnqueuedStylesheetConnectionPageInfo","MediaItemToCommentConnectionPageInfo","UserToMediaItemConnectionPageInfo","PageToCommentConnectionPageInfo","PageToRevisionConnectionPageInfo","UserToPageConnectionPageInfo","PostToCategoryConnectionPageInfo","PostToCommentConnectionPageInfo","PostFormatToContentNodeConnectionPageInfo","PostFormatToPostConnectionPageInfo","PostToPostFormatConnectionPageInfo","PostToRevisionConnectionPageInfo","TagToContentNodeConnectionPageInfo","TagToPostConnectionPageInfo","PostToTagConnectionPageInfo","PostToTermNodeConnectionPageInfo","UserToPostConnectionPageInfo","UserToRevisionsConnectionPageInfo","UserToUserRoleConnectionPageInfo","CategoryToContentNodeConnectionPageInfo","CategoryToPostConnectionPageInfo","RootQueryToCategoryConnectionPageInfo","RootQueryToCommentConnectionPageInfo","RootQueryToContentNodeConnectionPageInfo","RootQueryToContentTypeConnectionPageInfo","RootQueryToMediaItemConnectionPageInfo","MenuItemToMenuItemConnectionPageInfo","MenuToMenuItemConnectionPageInfo","RootQueryToMenuItemConnectionPageInfo","RootQueryToMenuConnectionPageInfo","RootQueryToPageConnectionPageInfo","RootQueryToPluginConnectionPageInfo","RootQueryToPostFormatConnectionPageInfo","RootQueryToPostConnectionPageInfo","RootQueryToEnqueuedScriptConnectionPageInfo","RootQueryToEnqueuedStylesheetConnectionPageInfo","RootQueryToRevisionsConnectionPageInfo","RootQueryToTagConnectionPageInfo","RootQueryToTaxonomyConnectionPageInfo","RootQueryToTermNodeConnectionPageInfo","RootQueryToThemeConnectionPageInfo","RootQueryToUserRoleConnectionPageInfo","RootQueryToUserConnectionPageInfo"],"CategoryConnectionEdge":["CategoryToAncestorsCategoryConnectionEdge","CategoryToCategoryConnectionEdge","PostToCategoryConnectionEdge","CategoryToParentCategoryConnectionEdge","RootQueryToCategoryConnectionEdge"],"TermNode":["Category","PostFormat","Tag"],"UniformResourceIdentifiable":["Category","ContentType","User","MediaItem","Page","Post","PostFormat","Tag"],"EnqueuedScriptConnection":["TermNodeToEnqueuedScriptConnection","UserToEnqueuedScriptConnection","ContentNodeToEnqueuedScriptConnection","RootQueryToEnqueuedScriptConnection"],"EnqueuedScriptConnectionEdge":["TermNodeToEnqueuedScriptConnectionEdge","UserToEnqueuedScriptConnectionEdge","ContentNodeToEnqueuedScriptConnectionEdge","RootQueryToEnqueuedScriptConnectionEdge"],"EnqueuedAsset":["EnqueuedScript","EnqueuedStylesheet"],"EnqueuedScriptConnectionPageInfo":["TermNodeToEnqueuedScriptConnectionPageInfo","UserToEnqueuedScriptConnectionPageInfo","ContentNodeToEnqueuedScriptConnectionPageInfo","RootQueryToEnqueuedScriptConnectionPageInfo"],"WPPageInfo":["TermNodeToEnqueuedScriptConnectionPageInfo","TermNodeToEnqueuedStylesheetConnectionPageInfo","CategoryToAncestorsCategoryConnectionPageInfo","CategoryToCategoryConnectionPageInfo","TaxonomyToContentTypeConnectionPageInfo","ContentTypeToTaxonomyConnectionPageInfo","ContentTypeToContentNodeConnectionPageInfo","CommentToCommentConnectionPageInfo","UserToCommentConnectionPageInfo","UserToEnqueuedScriptConnectionPageInfo","UserToEnqueuedStylesheetConnectionPageInfo","HierarchicalContentNodeToContentNodeAncestorsConnectionPageInfo","HierarchicalContentNodeToContentNodeChildrenConnectionPageInfo","ContentNodeToEnqueuedScriptConnectionPageInfo","ContentNodeToEnqueuedStylesheetConnectionPageInfo","MediaItemToCommentConnectionPageInfo","UserToMediaItemConnectionPageInfo","PageToCommentConnectionPageInfo","PageToRevisionConnectionPageInfo","UserToPageConnectionPageInfo","PostToCategoryConnectionPageInfo","PostToCommentConnectionPageInfo","PostFormatToContentNodeConnectionPageInfo","PostFormatToPostConnectionPageInfo","PostToPostFormatConnectionPageInfo","PostToRevisionConnectionPageInfo","TagToContentNodeConnectionPageInfo","TagToPostConnectionPageInfo","PostToTagConnectionPageInfo","PostToTermNodeConnectionPageInfo","UserToPostConnectionPageInfo","UserToRevisionsConnectionPageInfo","UserToUserRoleConnectionPageInfo","CategoryToContentNodeConnectionPageInfo","CategoryToPostConnectionPageInfo","RootQueryToCategoryConnectionPageInfo","RootQueryToCommentConnectionPageInfo","RootQueryToContentNodeConnectionPageInfo","RootQueryToContentTypeConnectionPageInfo","RootQueryToMediaItemConnectionPageInfo","MenuItemToMenuItemConnectionPageInfo","MenuToMenuItemConnectionPageInfo","RootQueryToMenuItemConnectionPageInfo","RootQueryToMenuConnectionPageInfo","RootQueryToPageConnectionPageInfo","RootQueryToPluginConnectionPageInfo","RootQueryToPostFormatConnectionPageInfo","RootQueryToPostConnectionPageInfo","RootQueryToEnqueuedScriptConnectionPageInfo","RootQueryToEnqueuedStylesheetConnectionPageInfo","RootQueryToRevisionsConnectionPageInfo","RootQueryToTagConnectionPageInfo","RootQueryToTaxonomyConnectionPageInfo","RootQueryToTermNodeConnectionPageInfo","RootQueryToThemeConnectionPageInfo","RootQueryToUserRoleConnectionPageInfo","RootQueryToUserConnectionPageInfo"],"EnqueuedStylesheetConnection":["TermNodeToEnqueuedStylesheetConnection","UserToEnqueuedStylesheetConnection","ContentNodeToEnqueuedStylesheetConnection","RootQueryToEnqueuedStylesheetConnection"],"EnqueuedStylesheetConnectionEdge":["TermNodeToEnqueuedStylesheetConnectionEdge","UserToEnqueuedStylesheetConnectionEdge","ContentNodeToEnqueuedStylesheetConnectionEdge","RootQueryToEnqueuedStylesheetConnectionEdge"],"EnqueuedStylesheetConnectionPageInfo":["TermNodeToEnqueuedStylesheetConnectionPageInfo","UserToEnqueuedStylesheetConnectionPageInfo","ContentNodeToEnqueuedStylesheetConnectionPageInfo","RootQueryToEnqueuedStylesheetConnectionPageInfo"],"DatabaseIdentifier":["Category","User","Comme
1nt","MediaItem","Page","Post","PostFormat","Tag","Menu","MenuItem","CommentAuthor"],"HierarchicalTermNode":["Category"],"HierarchicalNode":["Category","MediaItem","Page"],"MenuItemLinkable":["Category","Page","Post","Tag"],"CategoryConnectionPageInfo":["CategoryToAncestorsCategoryConnectionPageInfo","CategoryToCategoryConnectionPageInfo","PostToCategoryConnectionPageInfo","RootQueryToCategoryConnectionPageInfo"],"ContentNodeConnection":["CategoryToContentNodeConnection","ContentTypeToContentNodeConnection","HierarchicalContentNodeToContentNodeAncestorsConnection","HierarchicalContentNodeToContentNodeChildrenConnection","PostFormatToContentNodeConnection","TagToContentNodeConnection","UserToRevisionsConnection","RootQueryToContentNodeConnection","RootQueryToRevisionsConnection"],"ContentNodeConnectionEdge":["ContentTypeToContentNodeConnectionEdge","CommentToContentNodeConnectionEdge","HierarchicalContentNodeToContentNodeAncestorsConnectionEdge","HierarchicalContentNodeToContentNodeChildrenConnectionEdge","HierarchicalContentNodeToParentContentNodeConnectionEdge","NodeWithRevisionsToContentNodeConnectionEdge","PostFormatToContentNodeConnectionEdge","TagToContentNodeConnectionEdge","UserToRevisionsConnectionEdge","CategoryToContentNodeConnectionEdge","RootQueryToContentNodeConnectionEdge","RootQueryToRevisionsConnectionEdge"],"ContentNode":["MediaItem","Page","Post"],"OneToOneConnection":["ContentNodeToContentTypeConnectionEdge","ContentNodeToEditLockConnectionEdge","CommentToCommenterConnectionEdge","CommentToContentNodeConnectionEdge","CommentToParentCommentConnectionEdge","NodeWithAuthorToUserConnectionEdge","ContentNodeToEditLastConnectionEdge","HierarchicalContentNodeToParentContentNodeConnectionEdge","NodeWithFeaturedImageToMediaItemConnectionEdge","NodeWithRevisionsToContentNodeConnectionEdge","PageToPreviewConnectionEdge","PostFormatToTaxonomyConnectionEdge","PostToPreviewConnectionEdge","TagToTaxonomyConnectionEdge","CategoryToParentCategoryConnectionEdge","CategoryToTaxonomyConnectionEdge","MenuItemToMenuItemLinkableConnectionEdge","MenuItemToMenuConnectionEdge"],"ContentTypeConnectionEdge":["ContentNodeToContentTypeConnectionEdge","TaxonomyToContentTypeConnectionEdge","RootQueryToContentTypeConnectionEdge"],"TaxonomyConnection":["ContentTypeToTaxonomyConnection","RootQueryToTaxonomyConnection"],"TaxonomyConnectionEdge":["ContentTypeToTaxonomyConnectionEdge","PostFormatToTaxonomyConnectionEdge","TagToTaxonomyConnectionEdge","CategoryToTaxonomyConnectionEdge","RootQueryToTaxonomyConnectionEdge"],"ContentTypeConnection":["TaxonomyToContentTypeConnection","RootQueryToContentTypeConnection"],"ContentTypeConnectionPageInfo":["TaxonomyToContentTypeConnectionPageInfo","RootQueryToContentTypeConnectionPageInfo"],"TaxonomyConnectionPageInfo":["ContentTypeToTaxonomyConnectionPageInfo","RootQueryToTaxonomyConnectionPageInfo"],"ContentNodeConnectionPageInfo":["ContentTypeToContentNodeConnectionPageInfo","HierarchicalContentNodeToContentNodeAncestorsConnectionPageInfo","HierarchicalContentNodeToContentNodeChildrenConnectionPageInfo","PostFormatToContentNodeConnectionPageInfo","TagToContentNodeConnectionPageInfo","UserToRevisionsConnectionPageInfo","CategoryToContentNodeConnectionPageInfo","RootQueryToContentNodeConnectionPageInfo","RootQueryToRevisionsConnectionPageInfo"],"UserConnectionEdge":["ContentNodeToEditLockConnectionEdge","NodeWithAuthorToUserConnectionEdge","ContentNodeToEditLastConnectionEdge","RootQueryToUserConnectionEdge"],"Commenter":["User","CommentAuthor"],"CommentConnection":["UserToCommentConnection","CommentToCommentConnection","MediaItemToCommentConnection","PageToCommentConnection","PostToCommentConnection","RootQueryToCommentConnection"],"CommentConnectionEdge":["CommentToParentCommentConnectionEdge","CommentToCommentConnectionEdge","UserToCommentConnectionEdge","MediaItemToCommentConnectionEdge","PageToCommentConnectionEdge","PostToCommentConnectionEdge","RootQueryToCommentConnectionEdge"],"CommenterConnectionEdge":["CommentToCommenterConnectionEdge"],"CommentConnectionPageInfo":["CommentToCommentConnectionPageInfo","UserToCommentConnectionPageInfo","MediaItemToCommentConnectionPageInfo","PageToCommentConnectionPageInfo","PostToCommentConnectionPageInfo","RootQueryToCommentConnectionPageInfo"],"MediaItemConnection":["UserToMediaItemConnection","RootQueryToMediaItemConnection"],"MediaItemConnectionEdge":["UserToMediaItemConnectionEdge","NodeWithFeaturedImageToMediaItemConnectionEdge","RootQueryToMediaItemConnectionEdge"],"NodeWithTemplate":["MediaItem","Page","Post"],"ContentTemplate":["DefaultTemplate","Template_Blank","Template_BlogAlternative"],"NodeWithTitle":["MediaItem","Page","Post"],"NodeWithAuthor":["MediaItem","Page","Post"],"NodeWithComments":["MediaItem","Page","Post"],"HierarchicalContentNode":["MediaItem","Page"],"MediaItemConnectionPageInfo":["UserToMediaItemConnectionPageInfo","RootQueryToMediaItemConnectionPageInfo"],"PageConnection":["UserToPageConnection","PageToRevisionConnection","RootQueryToPageConnection"],"PageConnectionEdge":["PageToPreviewConnectionEdge","PageToRevisionConnectionEdge","UserToPageConnectionEdge","RootQueryToPageConnectionEdge"],"Previewable":["Page","Post"],"NodeWithContentEditor":["Page","Post"],"NodeWithFeaturedImage":["Page","Post"],"NodeWithRevisions":["Page","Post"],"NodeWithPageAttributes":["Page"],"PageConnectionPageInfo":["PageToRevisionConnectionPageInfo","UserToPageConnectionPageInfo","RootQueryToPageConnectionPageInfo"],"PostConnection":["UserToPostConnection","PostFormatToPostConnection","PostToRevisionConnection","TagToPostConnection","CategoryToPostConnection","RootQueryToPostConnection"],"PostConnectionEdge":["PostFormatToPostConnectionEdge","PostToPreviewConnectionEdge","PostToRevisionConnectionEdge","TagToPostConnectionEdge","UserToPostConnectionEdge","CategoryToPostConnectionEdge","RootQueryToPostConnectionEdge"],"NodeWithExcerpt":["Post"],"NodeWithTrackbacks":["Post"],"PostFormatConnection":["PostToPostFormatConnection","RootQueryToPostFormatConnection"],"PostFormatConnectionEdge":["PostToPostFormatConnectionEdge","RootQueryToPostFormatConnectionEdge"],"PostConnectionPageInfo":["PostFormatToPostConnectionPageInfo","PostToRevisionConnectionPageInfo","TagToPostConnectionPageInfo","UserToPostConnectionPageInfo","CategoryToPostConnectionPageInfo","RootQueryToPostConnectionPageInfo"],"PostFormatConnectionPageInfo":["PostToPostFormatConnectionPageInfo","RootQueryToPostFormatConnectionPageInfo"],"TagConnection":["PostToTagConnection","RootQueryToTagConnection"],"TagConnectionEdge":["PostToTagConnectionEdge","RootQueryToTagConnectionEdge"],"TagConnectionPageInfo":["PostToTagConnectionPageInfo","RootQueryToTagConnectionPageInfo"],"TermNodeConnection":["PostToTermNodeConnection","RootQueryToTermNodeConnection"],"TermNodeConnectionEdge":["PostToTermNodeConnectionEdge","RootQueryToTermNodeConnectionEdge"],"TermNodeConnectionPageInfo":["PostToTermNodeConnectionPageInfo","RootQueryToTermNodeConnectionPageInfo"],"UserRoleConnection":["UserToUserRoleConnection","RootQueryToUserRoleConnection"],"
1UserRoleConnectionEdge":["UserToUserRoleConnectionEdge","RootQueryToUserRoleConnectionEdge"],"UserRoleConnectionPageInfo":["UserToUserRoleConnectionPageInfo","RootQueryToUserRoleConnectionPageInfo"],"MenuItemConnection":["MenuToMenuItemConnection","MenuItemToMenuItemConnection","RootQueryToMenuItemConnection"],"MenuItemConnectionEdge":["MenuItemToMenuItemConnectionEdge","MenuToMenuItemConnectionEdge","RootQueryToMenuItemConnectionEdge"],"MenuItemConnectionPageInfo":["MenuItemToMenuItemConnectionPageInfo","MenuToMenuItemConnectionPageInfo","RootQueryToMenuItemConnectionPageInfo"],"MenuItemLinkableConnectionEdge":["MenuItemToMenuItemLinkableConnectionEdge"],"MenuItemObjectUnion":["Post","Page","Category","Tag"],"MenuConnectionEdge":["MenuItemToMenuConnectionEdge","RootQueryToMenuConnectionEdge"],"MenuConnection":["RootQueryToMenuConnection"],"MenuConnectionPageInfo":["RootQueryToMenuConnectionPageInfo"],"PluginConnection":["RootQueryToPluginConnection"],"PluginConnectionEdge":["RootQueryToPluginConnectionEdge"],"PluginConnectionPageInfo":["RootQueryToPluginConnectionPageInfo"],"ThemeConnection":["RootQueryToThemeConnection"],"ThemeConnectionEdge":["RootQueryToThemeConnectionEdge"],"ThemeConnectionPageInfo":["RootQueryToThemeConnectionPageInfo"],"UserConnection":["RootQueryToUserConnection"],"UserConnectionPageInfo":["RootQueryToUserConnectionPageInfo"]}'),S=((0,P.v6)({templates:{},experimentalPlugins:[],experimentalToolbar:!0,possibleTypes:N}),n(5837),n(5880),n(306)),A=n(5760),j=n(7088),R=n(3529),D=n(8624),M=n.n(D);var F=function(e){var t=new URL(e),n=t.searchParams.get("page");return t.origin+function(e){return e.endsWith("/")?e.slice(0,-1):e}(t.pathname)+(n?"?page=".concat(n):"")};var L=function(e,t){var r=this;function o(n){var r,o,i=t.defaultLocale;return a.createElement(g,{lang:(null===(r=n.pageProps)||void 0===r?void 0:r.__lang)||n.__lang||i,namespaces:(null===(o=n.pageProps)||void 0===o?void 0:o.__namespaces)||n.__namespaces,config:t},a.createElement(e,O({},n)))}return void 0===t&&(t={}),t.isLoader||!1===t.loader||console.warn('\ud83d\udea8 [next-translate] You can remove the "appWithI18n" HoC on the _app.js, unless you set "loader: false" in your i18n config file.'),"function"===typeof t.staticsHoc&&t.staticsHoc(o,e),"undefined"===typeof window?n.g.i18nConfig=t:window.i18nConfig=t,t.skipInitialProps||(o.getInitialProps=function(n){return I(r,void 0,void 0,(function(){var r,o,i;return k(this,(function(a){switch(a.label){case 0:return r=O(O({},n.ctx||{}),n||{}),o={pageProps:{}},e.getInitialProps?[4,e.getInitialProps(n)]:[3,2];case 1:o=a.sent()||{},a.label=2;case 2:return i=[O({},o)],[4,x(O(O(O({},r),t),{loaderName:"getInitialProps"}))];case 3:return[2,O.apply(void 0,i.concat([a.sent()]))]}}))}))}),o}((function(e){var t=e.Component,n=e.pageProps,s=(0,u.useRouter)(),c=s.locale,l=function(e){switch(e){case"en":default:return"gb";case"en-IE":return"ie";case"es":return"es";case"fr":return"fr";case"de":return"de";case"da":return"dk";case"sv":return"se";case"no":return"no"}}(c),f=function(e){switch(e){case"en":default:return{domain:"https://gudog.co.uk/blog"};case"en-IE":return{domain:"https://gudog.ie/blog"};case"es":return{domain:"https://gudog.com/blog"};case"fr":return{domain:"https://gudog.fr/blog"};case"de":return{domain:"https://gudog.de/blog"};case"da":return{domain:"https://gudog.dk/blog"};case"no":return{domain:"https://gudog.no/blog"};case"sv":return{domain:"https://gudog.se/blog"}}}("ie"===l?"en":c).domain,h="".concat(f).concat(s.asPath),p={country:l,locale:c};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(M(),{children:[(0,i.jsx)("meta",{content:"width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no",name:"viewport"}),(0,i.jsx)("link",{rel:"icon",href:"/blog/images/favicon.ico"}),(0,i.jsx)("link",{rel:"stylesheet",href:"/blog/fonts/Geomanist.css"}),(0,i.jsx)("link",{rel:"preload",href:"/blog/fonts/Geomanist-Book.woff2",as:"font",crossOrigin:""}),(0,i.jsx)("link",{rel:"preload",href:"/blog/fonts/Geomanist-Medium.woff2",as:"font",crossOrigin:""}),(0,i.jsx)("link",{rel:"preload",href:"/blog/fonts/Geomanist-Regular.woff2",as:"font",crossOrigin:""}),(0,i.jsx)("link",{rel:"canonical",href:F(h)})]}),(0,i.jsx)(P.Ou,{pageProps:n,children:(0,i.jsx)(S.ThemeProvider,{theme:j.Z,children:(0,i.jsxs)(A.Z,{value:p,children:[R.Z.initialize(),(0,a.createElement)(t,(0,o.Z)((0,r.Z)({},n),{key:s.asPath}))]})})})]})}),(0,o.Z)((0,r.Z)({},c()),{isLoader:!0,skipInitialProps:!0,loadLocaleFrom:c().loadLocaleFrom||function(e,t){return n(242)("./".concat(e,"/").concat(t)).then((function(e){return e.default}))}}))},7088:function(e,t,n){"use strict";n.d(t,{Z:function(){return B}});var r=n(8314);function o(){return o=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o.apply(this,arguments)}var i=n(1343);
1function a(e){return a=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},a(e)}var s=n(8909);function c(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function u(e,t,n){return u=c()?Reflect.construct.bind():function(e,t,n){var r=[null];r.push.apply(r,t);var o=new(Function.bind.apply(e,r));return n&&(0,s.Z)(o,n.prototype),o},u.apply(null,arguments)}function l(e){var t="function"===typeof Map?new Map:void 0;return l=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;if("function"!==typeof e)throw new TypeError("Super expression must either be null or a function");if("undefined"!==typeof t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return u(e,arguments,a(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),(0,s.Z)(r,e)},l(e)}var f=function(e){function t(t){return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e.call(this,"An error occurred. See https://github.com/styled-components/polished/blob/main/src/internalHelpers/errors.md#"+t+" for more information.")||this)}return(0,i.Z)(t,e),t}(l(Error));function h(e){return Math.round(255*e)}function p(e,t,n){return h(e)+","+h(t)+","+h(n)}function d(e,t,n,r){if(void 0===r&&(r=p),0===t)return r(n,n,n);var o=(e%360+360)%360/60,i=(1-Math.abs(2*n-1))*t,a=i*(1-Math.abs(o%2-1)),s=0,c=0,u=0;o>=0&&o<1?(s=i,c=a):o>=1&&o<2?(s=a,c=i):o>=2&&o<3?(c=i,u=a):o>=3&&o<4?(c=a,u=i):o>=4&&o<5?(s=a,u=i):o>=5&&o<6&&(s=i,u=a);var l=n-i/2;return r(s+l,c+l,u+l)}var g={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee9
10",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"639",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"};var y=/^#[a-fA-F0-9]{6}$/,v=/^#[a-fA-F0-9]{8}$/,m=/^#[a-fA-F0-9]{3}$/,b=/^#[a-fA-F0-9]{4}$/,_=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,T=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,w=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,E=/^hsl(?:a)?\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i;function C(e){if("string"!==typeof e)throw new f(3);var t=function(e){if("string"!==typeof e)return e;var t=e.toLowerCase();return g[t]?"#"+g[t]:e}(e);if(t.match(y))return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16)};if(t.match(v)){var n=parseFloat((parseInt(""+t[7]+t[8],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16),alph
vendor: 1,098 bytes, line 1
1a:n}}if(t.match(m))return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16)};if(t.match(b)){var r=parseFloat((parseInt(""+t[4]+t[4],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16),alpha:r}}var o=_.exec(t);if(o)return{red:parseInt(""+o[1],10),green:parseInt(""+o[2],10),blue:parseInt(""+o[3],10)};var i=T.exec(t.substring(0,50));if(i)return{red:parseInt(""+i[1],10),green:parseInt(""+i[2],10),blue:parseInt(""+i[3],10),alpha:parseFloat(""+i[4])>1?parseFloat(""+i[4])/100:parseFloat(""+i[4])};var a=w.exec(t);if(a){var s="rgb("+d(parseInt(""+a[1],10),parseInt(""+a[2],10)/100,parseInt(""+a[3],10)/100)+")",c=_.exec(s);if(!c)throw new f(4,t,s);return{red:parseInt(""+c[1],10),green:parseInt(""+c[2],10),blue:parseInt(""+c[3],10)}}var u=E.exec(t.substring(0,50));if(u){var l="rgb("+d(parseInt(""+u[1],10),parseInt(""+u[2],10)/100,parseInt(""+u[3],10)/100)+")",h=_.exec(l);if(!h)throw new f(4,t,l);return{red:parseInt(""+h[1],10),green:parseInt(""+h[2],10),blue:parseInt(""+h[3],10),alph
1a:parseFloat(""+u[4])>1?parseFloat(""+u[4])/100:parseFloat(""+u[4])}}throw new f(5)}function x(e){return function(e){var t,n=e.red/255,r=e.green/255,o=e.blue/255,i=Math.max(n,r,o),a=Math.min(n,r,o),s=(i+a)/2;if(i===a)return void 0!==e.alpha?{hue:0,saturation:0,lightness:s,alpha:e.alpha}:{hue:0,saturation:0,lightness:s};var c=i-a,u=s>.5?c/(2-i-a):c/(i+a);switch(i){case n:t=(r-o)/c+(r<o?6:0);break;case r:t=(o-n)/c+2;break;default:t=(n-r)/c+4}return t*=60,void 0!==e.alpha?{hue:t,saturation:u,lightness:s,alpha:e.alpha}:{hue:t,saturation:u,lightness:s}}(C(e))}var O=function(e){return 7===e.length&&e[1]===e[2]&&e[3]===e[4]&&e[5]===e[6]?"#"+e[1]+e[3]+e[5]:e};function I(e){var t=e.toString(16);return 1===t.length?"0"+t:t}function k(e){return I(Math.round(255*e))}function P(e,t,n){return O("#"+k(e)+k(t)+k(n))}function N(e,t,n){return d(e,t,n,P)}function S(e,t,n){if("number"===typeof e&&"number"===typeof t&&"number"===typeof n)return N(e,t,n);if("object"===typeof e&&void 0===t&&void 0===n)return N(e.hue,e.saturation,e.lightness);throw new f(1)}function A(e,t,n,r){if("number"===typeof e&&"number"===typeof t&&"number"===typeof n&&"number"===typeof r)return r>=1?N(e,t,n):"rgba("+d(e,t,n)+","+r+")";if("object"===typeof e&&void 0===t&&void 0===n&&void 0===r)return e.alpha>=1?N(e.hue,e.saturation,e.lightness):"rgba("+d(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new f(2)}function j(e,t,n){if("number"===typeof e&&"number"===typeof t&&"number"===typeof n)return O("#"+I(e)+I(t)+I(n));if("object"===typeof e&&void 0===t&&void 0===n)return O("#"+I(e.red)+I(e.green)+I(e.blue));throw new f(6)}function R(e,t,n,r){if("string"===typeof e&&"number"===typeof t){var o=C(e);return"rgba("+o.red+","+o.green+","+o.blue+","+t+")"}if("number"===typeof e&&"number"===typeof t&&"number"===typeof n&&"number"===typeof r)return r>=1?j(e,t,n):"rgba("+e+","+t+","+n+","+r+")";if("object"===typeof e&&void 0===t&&void 0===n&&void 0===r)return e.alpha>=1?j(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")";throw new f(7)}function D(e){if("object"!==typeof e)throw new f(8);if(function(e){return"number"===typeof e.red&&"number"===typeof e.green&&"number"===typeof e.blue&&"number"===typeof e.alpha}(e))return R(e);if(function(e){return"number"===typeof e.red&&"number"===typeof e.green&&"number"===typeof e.blue&&("number"!==typeof e.alpha||"undefined"===typeof e.alpha)}(e))return j(e);if(function(e){return"number"===typeof e.hue&&"number"===typeof e.saturation&&"number"===typeof e.lightness&&"number"===typeof e.alpha}(e))return A(e);if(function(e){return"number"===typeof e.hue&&"number"===typeof e.saturation&&"number"===typeof e.lightness&&("number"!==typeof e.alpha||"undefined"===typeof e.alpha)}(e))return S(e);throw new f(8)}function M(e,t,n){return function(){var r=n.concat(Array.prototype.slice.call(arguments));return r.length>=t?e.apply(this,r):M(e,t,r)}}function F(e){return M(e,e.length,[])}function L(e,t,n){return Math.max(e,Math.min(t,n))}function Q(e,t){if("transparent"===t)return t;var n=x(t);return D(o({},n,{lightness:L(0,1,n.lightness+parseFloat(e))}))}var q=F(Q);var U={samoyedWhite:"#ffffff",pugYellow:"#F9B342",inuOrange:"#ED553B",mongrelBrown:"#5B2B2F",labradorBlack:"#010101",springGreen:"#3CB4A0",aquamarine:"#1F8C8D",prusianBlue:"#033243",lightGray:"#EBEBEB",gray:"#DDDDDD",darkGray:"#9A9A9A",errorRed:"#B31412",veryDarkGray:"#181818",successGreen:"#6DD400"};U.primary=U.inuOrange,U.black=U.labradorBlack,U.background=U.samoyedWhite;var B={breakpoints:Object.values({small:576,medium:768,large:992,xlarge:1200}).map((function(e){return"".concat(e,"px")})),colors:(0,r.Z)({},U),fonts:{body:"Geomanist",heading:"inherit",monospace:"Menlo, monospace"},fontSizes:[12,14,16,18,20,24,32,40,48,64,96,136],fontWeights:{body:400,heading:600,bold:500,book:300,regular:400,medium:600},space:[0,8,16,24,32,40,48,56,64,96],text:{h1:{fontWeight:600,fontSize:"40px",lineHeight:1.2},h2:{fontSize:"30px",lineHeight:"36px",fontWeight:600},h3:{fontWeight:500,fontSize:"24px",lineHeight:1},h4_highlight:{fontWeight:500,fontSize:"16px",lineHeight:1.5},h4:{fontWeight:400,fontSize:"16px",lineHeight:1.5},h5:{fontWeight:400,fontSize:"14px",lineHeight:16/14},note:{fontWeight:400,fontSize:"8px",lineHeight:1},heading:{fontFamily:"heading",lineHeight:"heading",fontWeight:"heading"},display:{fontFamily:"heading",fontWeight:"heading",lineHeight:"heading",fontSize:[5,6,7]},caps:{textTransform:"uppercase",letterSpacing:"0.1em"}},buttons:{large:{fontSize:"18px",lineHeight:"24px",px:2,py:0,minHeight:"48px"},primary:{cursor:"pointer",fontWeight:600,color:"background",bg:"primary",borderRadius:"default","&:hover":{bg:q(.1,U.primary)},"&:focus":{outline:"none"},"&:disabled":{bg:q(.2,U.primary)}},secondary:{variant:"buttons.primary",bg:"springGreen","&:hover":{bg:q(.2,U.springGreen)},"&:disabled":{bg:q(.2,U.springGreen)}},terciary:{variant:"buttons.primary",color:"black",bg:"transparent",border:"default","&:hover":{borderColor:"black"},"&:disabled":{color:q(.2,"black"),borderColor:"default"}},link:{variant:"buttons.terciary",border:"0px solid",color:"inuOrange",fontWeight:500,"&:hover":{bg:"transparent"}}},container:{mx:["16px","16px","120px"],my:["40px","40px","24px"],alignItems:["center","center","flex-start"]},mainTitle:{fontSize:"36px !important",lineHeight:"40px !important",fontWeight:"500 !important",textAlign:"left"},title:{fontSize:"24px !important",lineHeight:"32px !important",fontWeight:"500 !important",marginTop:"0 !important",marginBottom:"0 !important"},paragraph:{fontSize:"18px",lineHeight:"30px",fontWeight:400,my:3},description:{fontSize:"16px",lineHeight:"24px",fontWeight:400,color:"darkGray",whiteSpace:"pre-line",mb:0},label:{fontSize:"16px",lineHeight:"20px",fontWeight:600},colToRow:{flexDirection:["column","column","row"]},rowToCol:{flexDirection:["row","row","column"]},fullToHalf:{width:["100%","100%","50%"]},halfToFull:{width:["50%","50%","100%"]}
1,input:{borderColor:"lightGray",borderRadius:"6px",p:"12px","::placeholder":{color:"lightGray"}}}},5837:function(){},5880:function(){},5057:function(e,t,n){"use strict";var r;function o(e){return!!e&&e<7}n.d(t,{I:function(){return r},O:function(){return o}}),function(e){e[e.loading=1]="loading",e[e.setVariables=2]="setVariables",e[e.fetchMore=3]="fetchMore",e[e.refetch=4]="refetch",e[e.poll=6]="poll",e[e.ready=7]="ready",e[e.error=8]="error"}(r||(r={}))},971:function(e,t,n){"use strict";n.d(t,{MS:function(){return s},YG:function(){return i},cA:function(){return c},ls:function(){return a}});var r=n(2482),o=(n(3880),n(9231)),i=Symbol();function a(e){return!!e.extensions&&Array.isArray(e.extensions[i])}function s(e){return e.hasOwnProperty("graphQLErrors")}var c=function(e){function t(n){var i=n.graphQLErrors,a=n.protocolErrors,s=n.clientErrors,c=n.networkError,u=n.errorMessage,l=n.extraInfo,f=e.call(this,u)||this;return f.name="ApolloError",f.graphQLErrors=i||[],f.protocolErrors=a||[],f.clientErrors=s||[],f.networkError=c||null,f.message=u||function(e){var t=(0,r.__spreadArray)((0,r.__spreadArray)((0,r.__spreadArray)([],e.graphQLErrors,!0),e.clientErrors,!0),e.protocolErrors,!0);return e.networkError&&t.push(e.networkError),t.map((function(e){return(0,o.s)(e)&&e.message||"Error message not found."})).join("\n")}(f),f.extraInfo=l,f.__proto__=t.prototype,f}return(0,r.__extends)(t,e),t}(Error)},6551:function(e,t,n){"use strict";n.d(t,{K:function(){return i}});var r=n(6863),o=n(5810).aS?Symbol.for("__APOLLO_CONTEXT__"):"__APOLLO_CONTEXT__";function i(){var e=r.createContext[o];return e||(Object.defineProperty(r.createContext,o,{value:e=r.createContext({}),enumerable:!1,writable:!1,configurable:!0}),e.displayName="ApolloContext"),e}},2192:function(e,t,n){"use strict";n.d(t,{a:function(){return C}});
1var r=n(2482),o=n(3880),i=n(6863),a=n.t(i,2),s=n(5810),c=!1,u=a.useSyncExternalStore||function(e,t,n){var r=t();__DEV__&&!c&&r!==t()&&(c=!0,__DEV__&&o.kG.error("The result of getSnapshot should be cached to avoid an infinite loop"));var a=i.useState({inst:{value:r,getSnapshot:t}}),u=a[0].inst,f=a[1];return s.JC?i.useLayoutEffect((function(){Object.assign(u,{value:r,getSnapshot:t}),l(u)&&f({inst:u})}),[e,r,t]):Object.assign(u,{value:r,getSnapshot:t}),i.useEffect((function(){return l(u)&&f({inst:u}),e((function(){l(u)&&f({inst:u})}))}),[e]),r};function l(e){var t=e.value,n=e.getSnapshot;try{return t!==n()}catch(r){return!0}}var f,h=n(1819),p=n(2511),d=n(6551),g=n(971),y=n(5057);!function(e){e[e.Query=0]="Query",e[e.Mutation=1]="Mutation",e[e.Subscription=2]="Subscription"}(f||(f={}));var v=new Map;function m(e){var t;switch(e){case f.Query:t="Query";break;case f.Mutation:t="Mutation";break;case f.Subscription:t="Subscription"}return t}function b(e,t){var n=function(e){var t,n,r=v.get(e);if(r)return r;__DEV__?(0,o.kG)(!!e&&!!e.kind,"Argument of ".concat(e," passed to parser was not a valid GraphQL ")+"DocumentNode. You may need to use 'graphql-tag' or another method to convert your operation into a document"):(0,o.kG)(!!e&&!!e.kind,33);for(var i=[],a=[],s=[],c=[],u=0,l=e.definitions;u<l.length;u++){var h=l[u];if("FragmentDefinition"!==h.kind){if("OperationDefinition"===h.kind)switch(h.operation){case"query":a.push(h);break;case"mutation":s.push(h);break;case"subscription":c.push(h)}}else i.push(h)}__DEV__?(0,o.kG)(!i.length||a.length||s.length||c.length,"Passing only a fragment to 'graphql' is not yet supported. You must include a query, subscription or mutation as well"):(0,o.kG)(!i.length||a.length||s.length||c.length,34),__DEV__?(0,o.kG)(a.length+s.length+c.length<=1,"react-apollo only supports a query, subscription, or a mutation per HOC. "+"".concat(e," had ").concat(a.length," queries, ").concat(c.length," ")+"subscriptions and ".concat(s.length," mutations. ")+"You can use 'compose' to join multiple operation types to a component"):(0,o.kG)(a.length+s.length+c.length<=1,35),n=a.length?f.Query:f.Mutation,a.length||s.length||(n=f.Subscription);var p=a.length?a:s.length?s:c;__DEV__?(0,o.kG)(1===p.length,"react-apollo only supports one definition per HOC. ".concat(e," had ")+"".concat(p.length," definitions. ")+"You can use 'compose' to join multiple operation types to a component"):(0,o.kG)(1===p.length,36);var d=p[0];t=d.variableDefinitions||[];var g={name:d.name&&"Name"===d.name.kind?d.name.value:"data",type:n,variables:t};return v.set(e,g),g}(e),r=m(t),i=m(n.type);__DEV__?(0,o.kG)(n.type===t,"Running a ".concat(r," requires a graphql ")+"".concat(r,", but a ").concat(i," was used instead.")):(0,o.kG)(n.type===t,37)}var _=n(7043),T=n(420),w=n(3846),E=Object.prototype.hasOwnProperty;function C(e,t){return void 0===t&&(t=Object.create(null)),function(e,t){var n=(0,i.useRef)();n.current&&e===n.current.client&&t===n.current.query||(n.current=new x(e,t,n.current));var r=n.current,o=(0,i.useState)(0),a=(o[0],o[1]);return r.forceUpdate=function(){a((function(e){return e+1}))},r}(function(e){var t=(0,i.useContext)((0,d.K)()),n=e||t.client;return __DEV__?(0,o.kG)(!!n,'Could not find "client" in the context or passed in as an option. Wrap the root component in an <ApolloProvider>, or pass an ApolloClient instance in via options.'):(0,o.kG)(!!n,32),n}(t.client),e).useQuery(t)}var x=function(){function e(e,t,n){this.client=e,this.query=t,this.ssrDisabledResult=(0,_.J)({loading:!0,data:void 0,error:void 0,networkStatus:y.I.loading}),this.skipStandbyResult=(0,_.J)({loading:!1,data:void 0,error:void 0,networkStatus:y.I.ready}),this.toQueryResultCache=new(s.mr?WeakMap:Map),b(t,f.Query);var r=n&&n.result,o=r&&r.data;o&&(this.previousData=o)}return e.prototype.forceUpdate=function(){__DEV__&&o.kG.warn("Calling default no-op implementation of InternalState#forceUpdate")},e.prototype.executeQuery=function(e){var t,n=this;e.query&&Object.assign(this,{query:e.query}),this.watchQueryOptions=this.createWatchQueryOptions(this.queryHookOptions=e);var r=this.observable.reobserveAsConcast(this.getObsQueryOptions());return this.previousData=(null===(t=this.result)||void 0===t?void 0:t.data)||this.previousData,this.result=void 0,this.forceUpdate(),new Promise((function(e){var t;r.subscribe({next:function(e){t=e},error:function(){e(n.toQueryResult(n.observable.getCurrentResult()))},complete:function(){e(n.toQueryResult(t))}})}))},e.prototype.useQuery=function(e){var t=this;this.renderPromises=(0,i.useContext)((0,d.K)()).renderPromises,this.useOptions(e);var n=this.useObservableQuery(),r=u((0,i.useCallback)((function(){if(t.renderPromises)return function(){};var e=function(){var e=t.result,r=n.getCurrentResult();e&&e.loading===r.loading&&e.networkStatus===r.networkStatus&&(0,h.D)(e.data,r.data)||t.setResult(r)},r=function(i){var a=n.last;o.unsubscribe();try{n.resetLastResults(),o=n.subscribe(e,r)}finally{n.last=a}if(!E.call(i,"graphQLErrors"))throw i;var s=t.result;(!s||s&&s.loading||!(0,h.D)(i,s.error))&&t.setResult({data:s&&s.data,error:i,loading:!1,networkStatus:y.I.error})},o=n.subscribe(e,r);return function(){return setTimeout((function(){return o.unsubscribe()}))}}),[n,this.renderPromises,this.client.disableNetworkFetches]),(function(){return t.getCurrentResult()}),(function(){return t.getCurrentResult()}));return this.unsafeHandlePartialRefetch(r),this.toQueryResult(r)},e.prototype.useOptions=function(t){var n,r=this.createWatchQueryOptions(this.queryHookOptions=t),o=this.watchQueryOptions;(0,h.D)(r,o)||(this.watchQueryOptions=r,o&&this.observable&&(this.observable.reobserve(this.getObsQueryOptions()),this.previousData=(null===(n=this.result)||void 0===n?void 0:n.data)||this.previousData,this.result=void 0)),this.onCompleted=t.onCompleted||e.prototype.onCompleted,this.onError=t.onError||e.prototype.onError,!this.renderPromises&&!this.client.disableNetworkFetches||!1!==this.queryHookOptions.ssr||this.queryHookOptions.skip?this.queryHookOptions.skip||"standby"===this.watchQueryOptions.fetchPolicy?this.result=this.skipStandbyResult:this.result!==this.ssrDisabledResult&&this.result!==this.skipStandbyResult||(this.result=void 0):this.result=this.ssrDisabledResult},e.prototype.getObsQueryOptions=function(){var e=[],t=this.client.defaultOptions.watchQuery;return t&&e.push(t),this.queryHookOptions.defaultOptions&&e.push(this.queryHookOptions.defaultOptions),e.push((0,T.o)(this.observable&&this.observable.options,this.watchQueryOptions)),e.reduce(p.J)},e.prototype.createWatchQueryOptions=function(e){var t;void 0===e&&(e={});var n=e.skip,o=(e.ssr,e.onCompleted,e.onError,e.defaultOptions,(0,r.__rest)(e,["skip","ssr","onCompleted","onError","defaultOptions"])),i=Object.assign(o,{query:this.query});if(!this.renderPromises||"network-only"!==i.fetchPolicy&&"cache-and-network"!==i.fetchPolicy||(i.fetchPolicy="cache-first"),i.variables||(i.variables={}),n){var a=i.fetchPolicy,s=void 0===a?this.getDefaultFetchPolicy():a,c=i.initialFetchPolicy,u=void 0===c?s:c;Object.assign(i,{initialFetchPolicy:u,fetchPolicy:"standby"})}else i.fetchPolicy||(i.fetchPolicy=(null===(t=this.observable)||void 0===t?void 0:t.options.initialFetchPolicy)||this.getDefaultFetchPolicy());return i},e.prototype.getDefaultFetchPolicy=function(){var e,t;return(null===(e=this.queryHookOptions.defaultOptions)||void 0===e?void 0:e.fetchPolicy)||(null===(t=this.client.defaultOptions.watchQuery)||void 0===t?void 0:t.fetchPolicy)||"cac
1he-first"},e.prototype.onCompleted=function(e){},e.prototype.onError=function(e){},e.prototype.useObservableQuery=function(){var e=this.observable=this.renderPromises&&this.renderPromises.getSSRObservable(this.watchQueryOptions)||this.observable||this.client.watchQuery(this.getObsQueryOptions());this.obsQueryFields=(0,i.useMemo)((function(){return{refetch:e.refetch.bind(e),reobserve:e.reobserve.bind(e),fetchMore:e.fetchMore.bind(e),updateQuery:e.updateQuery.bind(e),startPolling:e.startPolling.bind(e),stopPolling:e.stopPolling.bind(e),subscribeToMore:e.subscribeToMore.bind(e)}}),[e]);var t=!(!1===this.queryHookOptions.ssr||this.queryHookOptions.skip);return this.renderPromises&&t&&(this.renderPromises.registerSSRObservable(e),e.getCurrentResult().loading&&this.renderPromises.addObservableQueryPromise(e)),e},e.prototype.setResult=function(e){var t=this.result;t&&t.data&&(this.previousData=t.data),this.result=e,this.forceUpdate(),this.handleErrorOrCompleted(e)},e.prototype.handleErrorOrCompleted=function(e){var t=this;if(!e.loading){var n=this.toApolloError(e);Promise.resolve().then((function(){n?t.onError(n):e.data&&t.onCompleted(e.data)})).catch((function(e){__DEV__&&o.kG.warn(e)}))}},e.prototype.toApolloError=function(e){return(0,w.O)(e.errors)?new g.cA({graphQLErrors:e.errors}):e.error},e.prototype.getCurrentResult=function(){return this.result||this.handleErrorOrCompleted(this.result=this.observable.getCurrentResult()),this.result},e.prototype.toQueryResult=function(e){var t=this.toQueryResultCache.get(e);if(t)return t;var n=e.data,o=(e.partial,(0,r.__rest)(e,["data","partial"]));return this.toQueryResultCache.set(e,t=(0,r.__assign)((0,r.__assign)((0,r.__assign)({data:n},o),this.obsQueryFields),{client:this.client,observable:this.observable,variables:this.observable.variables,called:!this.queryHookOptions.skip,previousData:this.previousData})),!t.error&&(0,w.O)(e.errors)&&(t.error=new g.cA({graphQLErrors:e.errors})),t},e.prototype.unsafeHandlePartialRefetch=function(e){!e.partial||!this.queryHookOptions.partialRefetch||e.loading||e.data&&0!==Object.keys(e.data).length||"cache-only"===this.observable.options.fetchPolicy||(Object.assign(e,{loading:!0,networkStatus:y.I.refetch}),this.observable.refetch())},e}()},3846:function(e,t,n){"use strict";n.d(t,{O:function(){return o},k:function(){return r}});var r=Array.isArray;function o(e){return Array.isArray(e)&&e.length>0}},5810:function(e,t,n){"use strict";n.d(t,{DN:function(){return s},JC:function(){return l},aS:function(){return a},mr:function(){return o},sy:function(){return i}});var r=n(3880),o="function"===typeof WeakMap&&"ReactNative"!==(0,r.wY)((function(){return navigator.product})),i="function"===typeof WeakSet,a="function"===typeof Symbol&&"function"===typeof Symbol.for,s=a&&Symbol.asyncIterator,c="function"===typeof(0,r.wY)((function(){return window.document.createElement})),u=(0,r.wY)((function(){return navigator.userAgent.indexOf("jsdom")>=0}))||!1,l=c&&!u},420:function(e,t,n){"use strict";function r(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=Object.create(null);return e.forEach((function(e){e&&Object.keys(e).forEach((function(t){var r=e[t];void 0!==r&&(n[t]=r)}))})),n}n.d(t,{o:function(){return r}})},7043:function(e,t,n){"use strict";n.d(t,{J:function(){return i}});n(3880);var r=n(9231);function o(e){var t=new Set([e]);return t.forEach((function(e){(0,r.s)(e)&&function(e){if(__DEV__&&!Object.isFrozen(e))try{Object.freeze(e)}catch(t){if(t instanceof TypeError)return null;throw t}return e}(e)===e&&Object.getOwnPropertyNames(e).forEach((function(n){(0,r.s)(e[n])&&t.add(e[n])}))})),e}function i(e){return __DEV__&&o(e),e}},2511:function(e,t,n){"use strict";n.d(t,{J:function(){return i}});var r=n(2482),o=n(420);function i(e,t){return(0,o.o)(e,t,t.variables&&{variables:(0,r.__assign)((0,r.__assign)({},e&&e.variables),t.variables)})}},9231:function(e,t,n){"use strict";function r(e){return null!==e&&"object"===typeof e}n.d(t,{s:function(){return r}})},3880:function(e,t,n){"use strict";n.d(t,{ej:function(){return s},kG:function(){return c},wY:function(){return h}});
1var r=n(2482),o="Invariant Violation",i=Object.setPrototypeOf,a=void 0===i?function(e,t){return e.__proto__=t,e}:i,s=function(e){function t(n){void 0===n&&(n=o);var r=e.call(this,"number"===typeof n?o+": "+n+" (see https://github.com/apollographql/invariant-packages)":n)||this;return r.framesToPop=1,r.name=o,a(r,t.prototype),r}return(0,r.__extends)(t,e),t}(Error);function c(e,t){if(!e)throw new s(t)}var u=["debug","log","warn","error","silent"],l=u.indexOf("log");function f(e){return function(){if(u.indexOf(e)>=l){var t=console[e]||console.log;return t.apply(console,arguments)}}}!function(e){e.debug=f("debug"),e.log=f("log"),e.warn=f("warn"),e.error=f("error")}(c||(c={}));function h(e){try{return e()}catch(i){}}var p=h((function(){return globalThis}))||h((function(){return window}))||h((function(){return self}))||h((function(){return global}))||h((function(){return h.constructor("return this")()})),d="__",g=[d,d].join("DEV");var y=function(){try{return Boolean(__DEV__)}catch(i){return Object.defineProperty(p,g,{value:"production"!==h((function(){return"production"})),enumerable:!1,configurable:!0,writable:!0}),p[g]}}(),v=n(7220);function m(e){try{return e()}catch(t){}}var b=m((function(){return globalThis}))||m((function(){return window}))||m((function(){return self}))||m((function(){return global}))||m((function(){return m.constructor("return this")()})),_=!1;function T(){_&&(delete b.process,_=!1)}!b||m((function(){return"production"}))||m((function(){return v}))||(Object.defineProperty(b,"process",{value:{env:{NODE_ENV:"production"}},configurable:!0,enumerable:!1,writable:!0}),_=!0),n(5418).H,T(),__DEV__?c("boolean"===typeof y,y):c("boolean"===typeof y,39)},1343:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(8909);function o(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,(0,r.Z)(e,t)}},8909:function(e,t,n){"use strict";function r(e,t){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},r(e,t)}n.d(t,{Z:function(){return r}})},4873:function(e,t,n){"use strict";n.d(t,{Ou:function(){return bi},a4:function(){return wi},v6:function(){return xo}});var r=n(3880),o=n(6863),i=n(6551),a=function(e){var t=e.client,n=e.children,a=(0,i.K)();return o.createElement(a.Consumer,null,(function(e){return void 0===e&&(e={}),t&&e.client!==t&&(e=Object.assign({},e,{client:t})),__DEV__?(0,r.kG)(e.client,'ApolloProvider was not passed a client instance. Make sure you pass in your client via the "client" prop.'):(0,r.kG)(e.client,29),o.createElement(a.Provider,{value:e},n)}))},s=n(614),c=n(6986),u=n(6717),l=n(2482),f=n(1706),h=n(3274),p=n(2531),d=n(9992);const g=Object.freeze({});function y(e,t,n=p.h8){const r=new Map;for(const f of Object.values(d.h))r.set(f,v(t,f));let o,i,a,s=Array.isArray(e),c=[e],u=-1,l=[],y=e;const m=[],b=[];do{u++;const e=u===c.length,d=e&&0!==l.length;if(e){if(i=0===b.length?void 0:m[m.length-1],y=a,a=b.pop(),d)if(s){y=y.slice();let e=0;for(const[t,n]of l){const r=t-e;null===n?(y.splice(r,1),e++):y[r]=n}}else{y=Object.defineProperties({},Object.getOwnPropertyDescriptors(y));for(const[e,t]of l)y[e]=t}u=o.index,c=o.keys,l=o.edits,s=o.inArray,o=o.prev}else if(a){if(i=s?u:c[u],y=a[i],null===y||void 0===y)continue;m.push(i)}let v;if(!Array.isArray(y)){var _,T;(0,p.UG)(y)||(0,f.a)(!1,`Invalid AST Node: ${(0,h.X)(y)}.`);const n=e?null===(_=r.get(y.kind))||void 0===_?void 0:_.leave:null===(T=r.get(y.kind))||void 0===T?void 0:T.enter;if(v=null===n||void 0===n?void 0:n.call(t,y,i,a,m,b),v===g)break;if(!1===v){if(!e){m.pop();continue}}else if(void 0!==v&&(l.push([i,v]),!e)){if(!(0,p.UG)(v)){m.pop();continue}y=v}}var w;if(void 0===v&&d&&l.push([i,y]),e)m.pop();else o={inArray:s,index:u,keys:c,edits:l,prev:o},s=Array.isArray(y),c=s?y:null!==(w=n[y.kind])&&void 0!==w?w:[],u=-1,l=[],a&&b.push(a),a=y}while(void 0!==o);return 0!==l.length?l[l.length-1][1]:e}function v(e,t){const n=e[t];return"object"===typeof n?n:"function"===typeof n?{enter:n,leave:void 0}:{enter:e.enter,leave:e.leave}}function m(e,t){var n="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"===typeof e)return b(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return b(e,t)}(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function b(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function _(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function T(e,t,n){return t&&_(e.prototype,t),n&&_(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}var w=function(){return"function"===typeof Symbol},E=function(e){return w()&&Boolean(Symbol[e])},C=function(e){return E(e)?Symbol[e]:"@@"+e};w()&&!E("observable")&&(Symbol.observable=Symbol("observable"));var x=C("iterator"),O=C("observable"),I=C("species");function k(e,t){var n=e[t];if(null!=n){if("function"!==typeof n)throw new TypeError(n+" is not a function");return n}}function P(e){var t=e.constructor;return void 0!==t&&null===(t=t[I])&&(t=void 0),void 0!==t?t:Q}function N(e){return e instanceof Q}function S(e){S.log?S.log(e):setTimeout((function(){throw e}))}function A(e){Promise.resolve().then((function(){try{e()}catch(t){S(t)}}))}function j(e){var t=e._cleanup;if(void 0!==t&&(e._cleanup=void 0,t))try{if("function"===typeof t)t();else{var n=k(t,"unsubscribe");n&&n.call(t)}}catch(r){S(r)}}function R(e){e._observer=void 0,e._queue=void 0,e._state="closed"}function D(e,t,n){e._state="running";var r=e._observer;try{var o=k(r,t);switch(t){case"next":o&&o.call(r,n);break;case"error":if(R(e),!o)throw n;o.call(r,n);break;case"complete":R(e),o&&o.call(r)}}catch(i){S(i)}"closed"===e._state?j(e):"running"===e._state&&(e._state="ready")}function M(e,t,n){if("closed"!==e._state){if("buffering"!==e._state)return"ready"!==e._state?(e._state="buffering",e._queue=[{type:t,value:n}],void A((function(){return function(e){var t=e._queue;if(t){e._queue=void 0,e._state="ready";for(var n=0;n<t.length&&(D(e,t[n].type,t[n].value),"closed"!==e._state);++n);}}(e)}))):void D(e,t,n);e._queue.push({type:t,value:n})}}var F=function(){function e(e,t){this._cleanup=void 0,this._observer=e,this._queue=void 0,this._state="initializing";var n=new L(this);try{this._cleanup=t.call(void 0,n)}catch(r){n.error(r)}"initializing"===this._state&&(this._state="ready")}return e.prototype.unsubscribe=function(){"closed"!==this._state&&(R(this),j(this))},T(e,[{key:"closed",get:function(){return"closed"===this._state}}]),e}(),L=function(){function e(e){this._subscription=e}var t=e.prototype;return t.next=function(e){M(this._subscription,"next",e)},t.error=function(e){M(this._subscription,"error",e)},t.complete=function(){M(this._subscription,"complete")},T(e,[{key:"closed",get:function(){return"closed"===this._subscription._state}}]),e}(),Q=function(){function e(t){if(!(this instanceof e))throw new TypeError("Observable cannot be called as a function");if("function"!==typeof t)throw new TypeError("Observable initializer must be a function");this._subscriber=t}var t=e.prototype;return t.subscribe=function(e){return"object"===typeof e&&null!==e||(e={next:e,error:arguments[1],complete:arguments[2]}),new F(e,this._subscriber)},t.forEach=function(e){var t=this;return new Promise((function(n,r){if("function"===typeof e)var o=t.subscribe({next:function(t){try{e(t,i)}catch(n){r(n),o.unsubscribe()}},error:r,complete:n});else r(new TypeError(e+" is not a function"));function i(){o.unsubscribe(),n()}}))},t.map=function(e){var t=this;if("function"!==typeof e)throw new TypeError(e+" is not a function");return new(P(this))((function(n){return t.subscribe({next:function(t){try{t=e(t)}catch(r){return n.error(r)}n.next(t)},error:function(e){n.error(e)},complete:function(){n.complete()}})}))},t.filter=function(e){var t=this;if("function"!==typeof e)throw new TypeError(e+" is not a function");return new(P(this))((function(n){return t.subscribe({next:function(t){try{if(!e(t))return}catch(r){return n.error(r)}n.next(t)},error:function(e){n.error(e)},complete:function(){n.complete()}})}))},t.reduce=function(e){var t=this;if("function"!==typeof e)throw new TypeError(e+" is not a function");var n=P(this),r=arguments.length>1,o=!1,i=arguments[1],a=i;return new n((function(n){return t.subscribe({next:function(t){var i=!o;if(o=!0,!i||r)try{a=e(a,t)}catch(s){return n.error(s)}else a=t},error:function(e){n.error(e)},complete:function(){if(!o&&!r)return n.error(new TypeError("Cannot reduce an empty sequence"));n.next(a),n.complete()}})}))},t.concat=function(){for(var e=this,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var o=P(this);return new o((function(t){var r,i=0;return function e(a){r=a.subscribe({next:function(e){t.next(e)},error:function(e){t.error(e)},complete:function(){i===n.length?(r=void 0,t.complete()):e(o.from(n[i++]))}})}(e),function(){r&&(r.unsubscribe(),r=void 0)}}))},t.flatMap=function(e){var t=this;if("function"!==typeof e)throw new TypeError(e+" is not a function");var n=P(this);return new n((function(r){var o=[],i=t.subscribe({next:function(t){if(e)try{t=e(t)}catch(s){return r.error(s)}var i=n.from(t).subscribe({next:function(e){r.next(e)},error:function(e){r.error(e)},complete:function(){var e=o.indexOf(i);e>=0&&o.splice(e,1),a()}});o.push(i)},error:function(e){r.error(e)},complete:function(){a()}});function a(){i.closed&&0===o.length&&r.complete()}return function(){o.forEach((function(e){return e.unsubscribe()})),i.unsubscribe()}}))},t[O]=function(){return this},e.from=function(t){var n="function"===typeof this?this:e;if(null==t)throw new TypeError(t+" is not an object");var r=k(t,O);
1if(r){var o=r.call(t);if(Object(o)!==o)throw new TypeError(o+" is not an object");return N(o)&&o.constructor===n?o:new n((function(e){return o.subscribe(e)}))}if(E("iterator")&&(r=k(t,x)))return new n((function(e){A((function(){if(!e.closed){for(var n,o=m(r.call(t));!(n=o()).done;){var i=n.value;if(e.next(i),e.closed)return}e.complete()}}))}));if(Array.isArray(t))return new n((function(e){A((function(){if(!e.closed){for(var n=0;n<t.length;++n)if(e.next(t[n]),e.closed)return;e.complete()}}))}));throw new TypeError(t+" is not observable")},e.of=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var o="function"===typeof this?this:e;return new o((function(e){A((function(){if(!e.closed){for(var t=0;t<n.length;++t)if(e.next(n[t]),e.closed)return;e.complete()}}))}))},T(e,null,[{key:I,get:function(){return this}}]),e}();w()&&Object.defineProperty(Q,Symbol("extensions"),{value:{symbol:O,hostReportError:S},configurable:!0});var q=n(9231);function U(e,t){var n=t,o=[];return e.definitions.forEach((function(e){if("OperationDefinition"===e.kind)throw __DEV__?new r.ej("Found a ".concat(e.operation," operation").concat(e.name?" named '".concat(e.name.value,"'"):"",". ")+"No operations are allowed when using a fragment as a query. Only fragments are allowed."):new r.ej(44);"FragmentDefinition"===e.kind&&o.push(e)})),"undefined"===typeof n&&(__DEV__?(0,r.kG)(1===o.length,"Found ".concat(o.length," fragments. `fragmentName` must be provided when there is not exactly 1 fragment.")):(0,r.kG)(1===o.length,45),n=o[0].name.value),(0,l.__assign)((0,l.__assign)({},e),{definitions:(0,l.__spreadArray)([{kind:"OperationDefinition",operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:n}}]}}],e.definitions,!0)})}function B(e){void 0===e&&(e=[]);var t={};return e.forEach((function(e){t[e.name.value]=e})),t}function V(e,t){switch(e.kind){case"InlineFragment":return e;case"FragmentSpread":var n=e.name.value;if("function"===typeof t)return t(n);var o=t&&t[n];return __DEV__?(0,r.kG)(o,"No fragment named ".concat(n)):(0,r.kG)(o,46),o||null;default:return null}}function z(e){return{__ref:String(e)}}function G(e){return Boolean(e&&"object"===typeof e&&"string"===typeof e.__ref)}function $(e,t,n,o){if(function(e){return"IntValue"===e.kind}(n)||function(e){return"FloatValue"===e.kind}(n))e[t.value]=Number(n.value);else if(function(e){return"BooleanValue"===e.kind}(n)||function(e){return"StringValue"===e.kind}(n))e[t.value]=n.value;else if(function(e){return"ObjectValue"===e.kind}(n)){var i={};n.fields.map((function(e){return $(i,e.name,e.value,o)})),e[t.value]=i}else if(function(e){return"Variable"===e.kind}(n)){var a=(o||{})[n.name.value];e[t.value]=a}else if(function(e){return"ListValue"===e.kind}(n))e[t.value]=n.values.map((function(e){var n={};return $(n,t,e,o),n[t.value]}));else if(function(e){return"EnumValue"===e.kind}(n))e[t.value]=n.value;else{if(!function(e){return"NullValue"===e.kind}(n))throw __DEV__?new r.ej('The inline argument "'.concat(t.value,'" of kind "').concat(n.kind,'"')+"is not supported. Use variables instead of inline arguments to overcome this limitation."):new r.ej(55);e[t.value]=null}}var W=["connection","include","skip","client","rest","export"],Y=Object.assign((function(e,t,n){if(t&&n&&n.connection&&n.connection.key){if(n.connection.filter&&n.connection.filter.length>0){var r=n.connection.filter?n.connection.filter:[];r.sort();var o={};return r.forEach((function(e){o[e]=t[e]})),"".concat(n.connection.key,"(").concat(H(o),")")}return n.connection.key}var i=e;if(t){var a=H(t);i+="(".concat(a,")")}return n&&Object.keys(n).forEach((function(e){-1===W.indexOf(e)&&(n[e]&&Object.keys(n[e]).length?i+="@".concat(e,"(").concat(H(n[e]),")"):i+="@".concat(e))})),i}),{setStringify:function(e){var t=H;return H=e,t}}),H=function(e){return JSON.stringify(e,K)};function K(e,t){return(0,q.s)(t)&&!Array.isArray(t)&&(t=Object.keys(t).sort().reduce((function(e,n){return e[n]=t[n],e}),{})),t}function J(e,t){if(e.arguments&&e.arguments.length){var n={};
1return e.arguments.forEach((function(e){var r=e.name,o=e.value;return $(n,r,o,t)})),n}return null}function Z(e){return e.alias?e.alias.value:e.name.value}function X(e,t,n){if("string"===typeof e.__typename)return e.__typename;for(var r=0,o=t.selections;r<o.length;r++){var i=o[r];if(ee(i)){if("__typename"===i.name.value)return e[Z(i)]}else{var a=X(e,V(i,n).selectionSet,n);if("string"===typeof a)return a}}}function ee(e){return"Field"===e.kind}function te(e){__DEV__?(0,r.kG)(e&&"Document"===e.kind,'Expecting a parsed GraphQL document. Perhaps you need to wrap the query string in a "gql" tag? http://docs.apollostack.com/apollo-client/core.html#gql'):(0,r.kG)(e&&"Document"===e.kind,47);var t=e.definitions.filter((function(e){return"FragmentDefinition"!==e.kind})).map((function(e){if("OperationDefinition"!==e.kind)throw __DEV__?new r.ej('Schema type definitions not allowed in queries. Found: "'.concat(e.kind,'"')):new r.ej(48);return e}));return __DEV__?(0,r.kG)(t.length<=1,"Ambiguous GraphQL document: contains ".concat(t.length," operations")):(0,r.kG)(t.length<=1,49),e}function ne(e){return te(e),e.definitions.filter((function(e){return"OperationDefinition"===e.kind}))[0]}function re(e){return e.definitions.filter((function(e){return"OperationDefinition"===e.kind&&!!e.name})).map((function(e){return e.name.value}))[0]||null}function oe(e){return e.definitions.filter((function(e){return"FragmentDefinition"===e.kind}))}function ie(e){var t=ne(e);return __DEV__?(0,r.kG)(t&&"query"===t.operation,"Must contain a query definition."):(0,r.kG)(t&&"query"===t.operation,50),t}function ae(e){var t;te(e);for(var n=0,o=e.definitions;n<o.length;n++){var i=o[n];if("OperationDefinition"===i.kind){var a=i.operation;if("query"===a||"mutation"===a||"subscription"===a)return i}"FragmentDefinition"!==i.kind||t||(t=i)}if(t)return t;throw __DEV__?new r.ej("Expected a parsed GraphQL query with a query, mutation, subscription, or a fragment."):new r.ej(54)}function se(e){var t=Object.create(null),n=e&&e.variableDefinitions;return n&&n.length&&n.forEach((function(e){e.defaultValue&&$(t,e.variable.name,e.defaultValue)})),t}function ce(e,t){return t?t(e):Q.of()}function ue(e){return"function"===typeof e?new he(e):e}function le(e){return e.request.length<=1}var fe=function(e){function t(t,n){var r=e.call(this,t)||this;return r.link=n,r}return(0,l.__extends)(t,e),t}(Error),he=function(){function e(e){e&&(this.request=e)}return e.empty=function(){return new e((function(){return Q.of()}))},e.from=function(t){return 0===t.length?e.empty():t.map(ue).reduce((function(e,t){return e.concat(t)}))},e.split=function(t,n,r){var o=ue(n),i=ue(r||new e(ce));return le(o)&&le(i)?new e((function(e){return t(e)?o.request(e)||Q.of():i.request(e)||Q.of()})):new e((function(e,n){return t(e)?o.request(e,n)||Q.of():i.request(e,n)||Q.of()}))},e.execute=function(e,t){return e.request(function(e,t){var n=(0,l.__assign)({},e);return Object.defineProperty(t,"setContext",{enumerable:!1,value:function(e){n="function"===typeof e?(0,l.__assign)((0,l.__assign)({},n),e(n)):(0,l.__assign)((0,l.__assign)({},n),e)}}),Object.defineProperty(t,"getContext",{enumerable:!1,value:function(){return(0,l.__assign)({},n)}}),t}(t.context,function(e){var t={variables:e.variables||{},extensions:e.extensions||{},operationName:e.operationName,query:e.query};return t.operationName||(t.operationName="string"!==typeof t.query?re(t.query)||void 0:""),t}(function(e){for(var t=["query","operationName","variables","extensions","context"],n=0,o=Object.keys(e);n<o.length;n++){var i=o[n];if(t.indexOf(i)<0)throw __DEV__?new r.ej("illegal argument: ".concat(i)):new r.ej(27)}return e}(t))))||Q.of()},e.concat=function(t,n){var o=ue(t);if(le(o))return __DEV__&&r.kG.warn(new fe("You are calling concat on a terminating link, which will have no effect",o)),o;var i=ue(n);return le(i)?new e((function(e){return o.request(e,(function(e){return i.request(e)||Q.of()}))||Q.of()})):new e((function(e,t){return o.request(e,(function(e){return i.request(e,t)||Q.of()}))||Q.of()}))},e.prototype.split=function(t,n,r){return this.concat(e.split(t,n,r||new e(ce)))},e.prototype.concat=function(t){return e.concat(this,t)},e.prototype.request=function(e,t){throw __DEV__?new r.ej("request is not implemented"):new r.ej(22)},e.prototype.onError=function(e,t){if(t&&t.error)return t.error(e),!1;throw e},e.prototype.setOnError=function(e){return this.onError=e,this},e}();function pe(e,t){var n=e.directives;return!n||!n.length||function(e){var t=[];e&&e.length&&e.forEach((function(e){if(function(e){var t=e.name.value;return"skip"===t||"include"===t}(e)){var n=e.arguments,o=e.name.value;__DEV__?(0,r.kG)(n&&1===n.length,"Incorrect number of arguments for the @".concat(o," directive.")):(0,r.kG)(n&&1===n.length,41);var i=n[0];__DEV__?(0,r.kG)(i.name&&"if"===i.name.value,"Invalid argument for the @".concat(o," directive.")):(0,r.kG)(i.name&&"if"===i.name.value,42);var a=i.value;__DEV__?(0,r.kG)(a&&("Variable"===a.kind||"BooleanValue"===a.kind),"Argument for the @".concat(o," directive must be a variable or a boolean value.")):(0,r.kG)(a&&("Variable"===a.kind||"BooleanValue"===a.kind),43),t.push({directive:e,ifArgument:i})}}));return t}(n).every((function(e){var n=e.directive,o=e.ifArgument,i=!1;return"Variable"===o.value.kind?(i=t&&t[o.value.name.value],__DEV__?(0,r.kG)(void 0!==i,"Invalid variable referenced in @".concat(n.name.value," directive.")):(0,r.kG)(void 0!==i,40)):i=o.value.value,"skip"===n.name.value?!i:i}))}function de(e,t,n){var r=new Set(e),o=r.size;return y(t,{Directive:function(e){if(r.delete(e.name.value)&&(!n||!r.size))return g}}),n?!r.size:r.size<o}function ge(e){return e&&de(["client","export"],e,!0)}var ye=function(e,t){var n;try{n=JSON.stringify(e)}catch(i){var o=__DEV__?new r.ej("Network request failed. ".concat(t," is not serializable: ").concat(i.message)):new r.ej(24);throw o.parseError=i,o}return n},ve=n(5810);function me(e){var t=null,n=null,r=!1,o=[],i=[];
1function a(e){if(!n){if(i.length){var t=i.shift();if(Array.isArray(t)&&t[0])return t[0]({value:e,done:!1})}o.push(e)}}function s(e){n=e,i.slice().forEach((function(t){t[1](e)})),!t||t()}function c(){r=!0,i.slice().forEach((function(e){e[0]({value:void 0,done:!0})})),!t||t()}t=function(){t=null,e.removeListener("data",a),e.removeListener("error",s),e.removeListener("end",c),e.removeListener("finish",c),e.removeListener("close",c)},e.on("data",a),e.on("error",s),e.on("end",c),e.on("finish",c),e.on("close",c);var u={next:function(){return new Promise((function(e,t){return n?t(n):o.length?e({value:o.shift(),done:!1}):r?e({value:void 0,done:!0}):void i.push([e,t])}))}};return ve.DN&&(u[Symbol.asyncIterator]=function(){return this}),u}function be(e){var t={next:function(){return e.read()}};return ve.DN&&(t[Symbol.asyncIterator]=function(){return this}),t}function _e(e){var t=e;if(e.body&&(t=e.body),function(e){return!(!ve.DN||!e[Symbol.asyncIterator])}(t))return function(e){var t,n=e[Symbol.asyncIterator]();return(t={next:function(){return n.next()}})[Symbol.asyncIterator]=function(){return this},t}(t);if(function(e){return!!e.getReader}(t))return be(t.getReader());if(function(e){return!!e.stream}(t))return be(t.stream().getReader());if(function(e){return!!e.arrayBuffer}(t))return function(e){var t=!1,n={next:function(){return t?Promise.resolve({value:void 0,done:!0}):(t=!0,new Promise((function(t,n){e.then((function(e){t({value:e,done:!1})})).catch(n)})))}};return ve.DN&&(n[Symbol.asyncIterator]=function(){return this}),n}(t.arrayBuffer());if(function(e){return!!e.pipe}(t))return me(t);throw new Error("Unknown body type for responseIterator. Please pass a streamable response.")}var Te=function(e,t,n){var r=new Error(n);throw r.name="ServerError",r.response=e,r.statusCode=e.status,r.result=t,r},we=n(971),Ee=n(3846),Ce=Object.prototype.hasOwnProperty;function xe(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return Oe(e)}function Oe(e){var t=e[0]||{},n=e.length;if(n>1)for(var r=new ke,o=1;o<n;++o)t=r.merge(t,e[o]);return t}var Ie=function(e,t,n){return this.merge(e[n],t[n])},ke=function(){function e(e){void 0===e&&(e=Ie),this.reconciler=e,this.isObject=q.s,this.pastCopies=new Set}return e.prototype.merge=function(e,t){for(var n=this,r=[],o=2;o<arguments.length;o++)r[o-2]=arguments[o];return(0,q.s)(t)&&(0,q.s)(e)?(Object.keys(t).forEach((function(o){if(Ce.call(e,o)){var i=e[o];if(t[o]!==i){var a=n.reconciler.apply(n,(0,l.__spreadArray)([e,t,o],r,!1));a!==i&&((e=n.shallowCopyForMerge(e))[o]=a)}}else(e=n.shallowCopyForMerge(e))[o]=t[o]})),e):t},e.prototype.shallowCopyForMerge=function(e){return(0,q.s)(e)&&(this.pastCopies.has(e)||(e=Array.isArray(e)?e.slice(0):(0,l.__assign)({__proto__:Object.getPrototypeOf(e)},e),this.pastCopies.add(e))),e},e}();function Pe(e){return"incremental"in e}function Ne(e){return(0,q.s)(e)&&"payload"in e}function Se(e,t){var n=e,r=new ke;return Pe(t)&&(0,Ee.O)(t.incremental)&&t.incremental.forEach((function(e){for(var t=e.data,o=e.path,i=o.length-1;i>=0;--i){var a=o[i],s=!isNaN(+a)?[]:{};s[a]=t,t=s}n=r.merge(n,t)})),n}var Ae=Object.prototype.hasOwnProperty;function je(e){var t={};return e.split("\n").forEach((function(e){var n=e.indexOf(":");if(n>-1){var r=e.slice(0,n).trim().toLowerCase(),o=e.slice(n+1).trim();t[r]=o}})),t}function Re(e,t){if(e.status>=300){Te(e,function(){try{return JSON.parse(t)}catch(e){return t}}(),"Response not successful: Received status code ".concat(e.status))}try{return JSON.parse(t)}catch(r){var n=r;throw n.name="ServerParseError",n.response=e,n.statusCode=e.status,n.bodyText=t,n}}function De(e,t){var n,r;"AbortError"!==e.name&&(e.result&&e.result.errors&&e.result.data&&(null===(n=t.next)||void 0===n||n.call(t,e.result)),null===(r=t.error)||void 0===r||r.call(t,e))}function Me(e,t,n){var r;(r=t,function(e){return e.text().then((function(t){return Re(e,t)})).then((function(t){return e.status>=300&&Te(e,t,"Response not successful: Received status code ".concat(e.status)),Array.isArray(t)||Ae.call(t,"data")||Ae.call(t,"errors")||Te(e,t,"Server response was missing for query '".concat(Array.isArray(r)?r.map((function(e){return e.operationName})):r.operationName,"'.")),t}))})(e).then((function(e){var t,r;null===(t=n.next)||void 0===t||t.call(n,e),null===(r=n.complete)||void 0===r||r.call(n)})).catch((function(e){return De(e,n)}))}var Fe=n(8013);const Le=/[\x00-\x1f\x22\x5c\x7f-\x9f]/g;function Qe(e){return qe[e.charCodeAt(0)]}const qe=["\\u0000","\\u0001","\\u0002","\\u0003","\\u0004","\\u0005","\\u0006","\\u0007","\\b","\\t","\\n","\\u000B","\\f","\\r","\\u000E","\\u000F","\\u0010","\\u0011","\\u0012","\\u0013","\\u0014","\\u0015","\\u0016","\\u0017","\\u0018","\\u0019","\\u001A","\\u001B","\\u001C","\\u001D","\\u001E","\\u001F","","",'\\"',"","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\\\","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\u007F","\\u0080","\\u0081","\\u0082","\\u0083","\\u0084","\\u0085","\\u0086","\\u0087","\\u0088","\\u0089","\\u008A","\\u008B","\\u008C","\\u008D","\\u008E","\\u008F","\\u0090","\\u0091","\\u0092","\\u0093","\\u0094","\\u0095","\\u0096","\\u0097","\\u0098","\\u0099","\\u009A","\\u009B","\\u009C","\\u009D","\\u009E","\\u009F"];function Ue(e){return y(e,Be)}const Be={Name:{leave:e=>e.value},Variable:{leave:e=>"$"+e.name},Document:{leave:e=>Ve(e.definitions,"\n\n")},OperationDefinition:{leave(e){const t=Ge("(",Ve(e.variableDefinitions,", "),")"),n=Ve([e.operation,Ve([e.name,t]),Ve(e.directives," ")]," ");return("query"===n?"":n+" ")+e.selectionSet}},VariableDefinition:{leave:({variable:e,type:t,defaultValue:n,directives:r})=>e+": "+t+Ge(" = ",n)+Ge(" ",Ve(r," "))},SelectionSet:{leave:({selections:e})=>ze(e)},Field:{leave({alias:e,name:t,arguments:n,directives:r,selectionSet:o}){const i=Ge("",e,": ")+t;let a=i+Ge("(",Ve(n,", "),")");return a.length>80&&(a=i+Ge("(\n",$e(Ve(n,"\n")),"\n)")),Ve([a,Ve(r," "),o]," ")}},Argument:{leave:({name:e,value:t})=>e+": "+t},FragmentSpread:{leave:({name:e,directives:t})=>"..."+e+Ge(" ",Ve(t," "))},InlineFragment:{leave:({typeCondition:e,directives:t,selectionSet:n})=>Ve(["...",Ge("on ",e),Ve(t," "),n]," ")},FragmentDefinition:{leave:({name:e,typeCondition:t,variableDefinitions:n,directives:r,selectionSet:o})=>`fragment ${e}${Ge("(",Ve(n,", "),")")} on ${t} ${Ge("",Ve(r," ")," ")}`+o},IntValue:{leave:({value:e})=>e},FloatValue:{leave:({value:e})=>e}
1,StringValue:{leave:({value:e,block:t})=>t?(0,Fe.LZ)(e):`"${e.replace(Le,Qe)}"`},BooleanValue:{leave:({value:e})=>e?"true":"false"},NullValue:{leave:()=>"null"},EnumValue:{leave:({value:e})=>e},ListValue:{leave:({values:e})=>"["+Ve(e,", ")+"]"},ObjectValue:{leave:({fields:e})=>"{"+Ve(e,", ")+"}"},ObjectField:{leave:({name:e,value:t})=>e+": "+t},Directive:{leave:({name:e,arguments:t})=>"@"+e+Ge("(",Ve(t,", "),")")},NamedType:{leave:({name:e})=>e},ListType:{leave:({type:e})=>"["+e+"]"},NonNullType:{leave:({type:e})=>e+"!"},SchemaDefinition:{leave:({description:e,directives:t,operationTypes:n})=>Ge("",e,"\n")+Ve(["schema",Ve(t," "),ze(n)]," ")},OperationTypeDefinition:{leave:({operation:e,type:t})=>e+": "+t},ScalarTypeDefinition:{leave:({description:e,name:t,directives:n})=>Ge("",e,"\n")+Ve(["scalar",t,Ve(n," ")]," ")},ObjectTypeDefinition:{leave:({description:e,name:t,interfaces:n,directives:r,fields:o})=>Ge("",e,"\n")+Ve(["type",t,Ge("implements ",Ve(n," & ")),Ve(r," "),ze(o)]," ")},FieldDefinition:{leave:({description:e,name:t,arguments:n,type:r,directives:o})=>Ge("",e,"\n")+t+(We(n)?Ge("(\n",$e(Ve(n,"\n")),"\n)"):Ge("(",Ve(n,", "),")"))+": "+r+Ge(" ",Ve(o," "))},InputValueDefinition:{leave:({description:e,name:t,type:n,defaultValue:r,directives:o})=>Ge("",e,"\n")+Ve([t+": "+n,Ge("= ",r),Ve(o," ")]," ")},InterfaceTypeDefinition:{leave:({description:e,name:t,interfaces:n,directives:r,fields:o})=>Ge("",e,"\n")+Ve(["interface",t,Ge("implements ",Ve(n," & ")),Ve(r," "),ze(o)]," ")},UnionTypeDefinition:{leave:({description:e,name:t,directives:n,types:r})=>Ge("",e,"\n")+Ve(["union",t,Ve(n," "),Ge("= ",Ve(r," | "))]," ")},EnumTypeDefinition:{leave:({description:e,name:t,directives:n,values:r})=>Ge("",e,"\n")+Ve(["enum",t,Ve(n," "),ze(r)]," ")},EnumValueDefinition:{leave:({description:e,name:t,directives:n})=>Ge("",e,"\n")+Ve([t,Ve(n," ")]," ")},InputObjectTypeDefinition:{leave:({description:e,name:t,directives:n,fields:r})=>Ge("",e,"\n")+Ve(["input",t,Ve(n," "),ze(r)]," ")},DirectiveDefinition:{leave:({description:e,name:t,arguments:n,repeatable:r,locations:o})=>Ge("",e,"\n")+"directive @"+t+(We(n)?Ge("(\n",$e(Ve(n,"\n")),"\n)"):Ge("(",Ve(n,", "),")"))+(r?" repeatable":"")+" on "+Ve(o," | ")},SchemaExtension:{leave:({directives:e,operationTypes:t})=>Ve(["extend schema",Ve(e," "),ze(t)]," ")},ScalarTypeExtension:{leave:({name:e,directives:t})=>Ve(["extend scalar",e,Ve(t," ")]," ")},ObjectTypeExtension:{leave:({name:e,interfaces:t,directives:n,fields:r})=>Ve(["extend type",e,Ge("implements ",Ve(t," & ")),Ve(n," "),ze(r)]," ")},InterfaceTypeExtension:{leave:({name:e,interfaces:t,directives:n,fields:r})=>Ve(["extend interface",e,Ge("implements ",Ve(t," & ")),Ve(n," "),ze(r)]," ")},UnionTypeExtension:{leave:({name:e,directives:t,types:n})=>Ve(["extend union",e,Ve(t," "),Ge("= ",Ve(n," | "))]," ")},EnumTypeExtension:{leave:({name:e,directives:t,values:n})=>Ve(["extend enum",e,Ve(t," "),ze(n)]," ")},InputObjectTypeExtension:{leave:({name:e,directives:t,fields:n})=>Ve(["extend input",e,Ve(t," "),ze(n)]," ")}};function Ve(e,t=""){var n;return null!==(n=null===e||void 0===e?void 0:e.filter((e=>e)).join(t))&&void 0!==n?n:""}function ze(e){return Ge("{\n",$e(Ve(e,"\n")),"\n}")}function Ge(e,t,n=""){return null!=t&&""!==t?e+t+n:""}function $e(e){return Ge(" ",e.replace(/\n/g,"\n "))}function We(e){var t;return null!==(t=null===e||void 0===e?void 0:e.some((e=>e.includes("\n"))))&&void 0!==t&&t}var Ye={http:{includeQuery:!0,includeExtensions:!1,preserveHeaderCase:!1},headers:{accept:"*/*","content-type":"application/json"},options:{method:"POST"}},He=function(e,t){return t(e)};function Ke(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var o={},i={};n.forEach((function(e){o=(0,l.__assign)((0,l.__assign)((0,l.__assign)({},o),e.options),{headers:(0,l.__assign)((0,l.__assign)({},o.headers),e.headers)}),e.credentials&&(o.credentials=e.credentials),i=(0,l.__assign)((0,l.__assign)({},i),e.http)})),o.headers&&(o.headers=Je(o.headers,i.preserveHeaderCase));var a=e.operationName,s=e.extensions,c=e.variables,u=e.query,f={operationName:a,variables:c};return i.includeExtensions&&(f.extensions=s),i.includeQuery&&(f.query=t(u,Ue)),{options:o,body:f}}function Je(e,t){if(!t){var n=Object.create(null);
1return Object.keys(Object(e)).forEach((function(t){n[t.toLowerCase()]=e[t]})),n}var r=Object.create(null);Object.keys(Object(e)).forEach((function(t){r[t.toLowerCase()]={originalName:t,value:e[t]}}));var o=Object.create(null);return Object.keys(r).forEach((function(e){o[r[e].originalName]=r[e].value})),o}function Ze(e){return new Q((function(t){t.error(e)}))}var Xe=(0,r.wY)((function(){return fetch})),et=function(e){void 0===e&&(e={});var t=e.uri,n=void 0===t?"/graphql":t,o=e.fetch,i=e.print,a=void 0===i?He:i,s=e.includeExtensions,c=e.preserveHeaderCase,u=e.useGETForQueries,f=e.includeUnusedVariables,h=void 0!==f&&f,p=(0,l.__rest)(e,["uri","fetch","print","includeExtensions","preserveHeaderCase","useGETForQueries","includeUnusedVariables"]);__DEV__&&function(e){if(!e&&"undefined"===typeof fetch)throw __DEV__?new r.ej("\n\"fetch\" has not been found globally and no fetcher has been configured. To fix this, install a fetch package (like https://www.npmjs.com/package/cross-fetch), instantiate the fetcher, and pass it into your HttpLink constructor. For example:\n\nimport fetch from 'cross-fetch';\nimport { ApolloClient, HttpLink } from '@apollo/client';\nconst client = new ApolloClient({\n link: new HttpLink({ uri: '/graphql', fetch })\n});\n "):new r.ej(23)}(o||Xe);var d={http:{includeExtensions:s,preserveHeaderCase:c},options:p.fetchOptions,credentials:p.credentials,headers:p.headers};return new he((function(e){var t=function(e,t){return e.getContext().uri||("function"===typeof t?t(e):t||"/graphql")}(e,n),i=e.getContext(),s={};if(i.clientAwareness){var c=i.clientAwareness,f=c.name,p=c.version;f&&(s["apollographql-client-name"]=f),p&&(s["apollographql-client-version"]=p)}var g,v=(0,l.__assign)((0,l.__assign)({},s),i.headers),m={http:i.http,options:i.fetchOptions,credentials:i.credentials,headers:v},b=Ke(e,a,Ye,d,m),_=b.options,T=b.body;if(T.variables&&!h){var w=new Set(Object.keys(T.variables));y(e.query,{Variable:function(e,t,n){n&&"VariableDefinition"!==n.kind&&w.delete(e.name.value)}}),w.size&&(T.variables=(0,l.__assign)({}
1,T.variables),w.forEach((function(e){delete T.variables[e]})))}if(!_.signal){var E=function(){if("undefined"===typeof AbortController)return{controller:!1,signal:!1};var e=new AbortController;return{controller:e,signal:e.signal}}(),C=E.controller,x=E.signal;(g=C)&&(_.signal=x)}var O,I="OperationDefinition"===(O=ae(e.query)).kind&&"subscription"===O.operation,k=de(["defer"],e.query);if(u&&!e.query.definitions.some((function(e){return"OperationDefinition"===e.kind&&"mutation"===e.operation}))&&(_.method="GET"),k||I){_.headers=_.headers||{};var P="multipart/mixed;";I&&k&&__DEV__&&r.kG.warn("Multipart-subscriptions do not support @defer"),I?P+="boundary=graphql;subscriptionSpec=1.0,application/json":k&&(P+="deferSpec=20220824,application/json"),_.headers.accept=P}if("GET"===_.method){var N=function(e,t){var n=[],r=function(e,t){n.push("".concat(e,"=").concat(encodeURIComponent(t)))};if("query"in t&&r("query",t.query),t.operationName&&r("operationName",t.operationName),t.variables){var o=void 0;try{o=ye(t.variables,"Variables map")}catch(A){return{parseError:A}}r("variables",o)}if(t.extensions){var i=void 0;try{i=ye(t.extensions,"Extensions map")}catch(A){return{parseError:A}}r("extensions",i)}var a="",s=e,c=e.indexOf("#");-1!==c&&(a=e.substr(c),s=e.substr(0,c));var u=-1===s.indexOf("?")?"?":"&";return{newURI:s+u+n.join("&")+a}}(t,T),S=N.newURI,A=N.parseError;if(A)return Ze(A);t=S}else try{_.body=ye(T,"Payload")}catch(A){return Ze(A)}return new Q((function(n){return(o||(0,r.wY)((function(){return fetch}))||Xe)(t,_).then((function(t){var r;e.setContext({response:t});var o=null===(r=t.headers)||void 0===r?void 0:r.get("content-type");return null!==o&&/^multipart\/mixed/i.test(o)?function(e,t){var n,r,o,i,a;return(0,l.__awaiter)(this,void 0,void 0,(function(){var s,c,u,f,h,p,d,g,y,v,m,b,_,T,w,E,C,x,O,I,k,P;return(0,l.__generator)(this,(function(N){switch(N.label){case 0:if(void 0===TextDecoder)throw new Error("TextDecoder must be defined in the environment: please import a polyfill.");s=new TextDecoder("utf-8"),c=null===(n=e.headers)||void 0===n?void 0:n.get("content-type"),u="boundary=",f=(null===c||void 0===c?void 0:c.includes(u))?null===c||void 0===c?void 0:c.substring((null===c||void 0===c?void 0:c.indexOf(u))+u.length).replace(/['"]/g,"").replace(/\;(.*)/gm,"").trim():"-",h="--".concat(f),p="",d=_e(e),g=!0,N.label=1;case 1:return g?[4,d.next()]:[3,3];case 2:for(y=N.sent(),v=y.value,m=y.done,b="string"===typeof v?v:s.decode(v),g=!m,_=(p+=b).indexOf(h);_>-1;){if(T=void 0,k=[p.slice(0,_),p.slice(_+h.length)],p=k[1],(T=k[0]).trim()){if(w=T.indexOf("\r\n\r\n"),E=je(T.slice(0,w)),(C=E["content-type"])&&-1===C.toLowerCase().indexOf("application/json"))throw new Error("Unsupported patch content type: application/json is required.");x=T.slice(w);try{O=Re(e,x.replace("\r\n","")),Object.keys(O).length>1||"data"in O||"incremental"in O||"errors"in O||"payload"in O?Ne(O)?(I={},"payload"in O&&(I=(0,l.__assign)({},O.payload)),"errors"in O&&(I=(0,l.__assign)((0,l.__assign)({},I),{extensions:(0,l.__assign)((0,l.__assign)({},"extensions"in I?I.extensions:null),(P={},P[we.YG]=O.errors,P))})),null===(r=t.next)||void 0===r||r.call(t,I)):null===(o=t.next)||void 0===o||o.call(t,O):1===Object.keys(O).length&&"hasNext"in O&&!O.hasNext&&(null===(i=t.complete)||void 0===i||i.call(t))}catch(S){De(S,t)}}_=p.indexOf(h)}return[3,1];case 3:return null===(a=t.complete)||void 0===a||a.call(t),[2]}}))}))}(t,n):Me(t,e,n)}
1)).catch((function(e){return De(e,n)})),function(){g&&g.abort()}}))}))},tt=function(){return Object.create(null)},nt=Array.prototype,rt=nt.forEach,ot=nt.slice,it=function(){function e(e,t){void 0===e&&(e=!0),void 0===t&&(t=tt),this.weakness=e,this.makeData=t}return e.prototype.lookup=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return this.lookupArray(e)},e.prototype.lookupArray=function(e){var t=this;return rt.call(e,(function(e){return t=t.getChildTrie(e)})),t.data||(t.data=this.makeData(ot.call(e)))},e.prototype.getChildTrie=function(t){var n=this.weakness&&function(e){switch(typeof e){case"object":if(null===e)break;case"function":return!0}return!1}(t)?this.weak||(this.weak=new WeakMap):this.strong||(this.strong=new Map),r=n.get(t);return r||n.set(t,r=new e(this.weakness,this.makeData)),r},e}();var at=null,st={},ct=1;function ut(e){try{return e()}catch(t){}}var lt="@wry/context:Slot",ft=ut((function(){return globalThis}))||ut((function(){return n.g}))||Object.create(null),ht=ft[lt]||Array[lt]||function(e){try{Object.defineProperty(ft,lt,{value:e,enumerable:!1,writable:!1,configurable:!0})}finally{return e}}(function(){function e(){this.id=["slot",ct++,Date.now(),Math.random().toString(36).slice(2)].join(":")}return e.prototype.hasValue=function(){for(var e=at;e;e=e.parent)if(this.id in e.slots){var t=e.slots[this.id];if(t===st)break;return e!==at&&(at.slots[this.id]=t),!0}return at&&(at.slots[this.id]=st),!1},e.prototype.getValue=function(){if(this.hasValue())return at.slots[this.id]},e.prototype.withValue=function(e,t,n,r){var o,i=((o={__proto__:null})[this.id]=e,o),a=at;at={parent:a,slots:i};try{return t.apply(r,n)}finally{at=a}},e.bind=function(e){var t=at;return function(){var n=at;try{return at=t,e.apply(this,arguments)}finally{at=n}}},e.noContext=function(e,t,n){if(!at)return e.apply(n,t);var r=at;try{return at=null,e.apply(n,t)}finally{at=r}},e}());ht.bind,ht.noContext;function pt(){}var dt,gt=function(){function e(e,t){void 0===e&&(e=1/0),void 0===t&&(t=pt),this.max=e,this.dispose=t,this.map=new Map,this.newest=null,this.oldest=null}return e.prototype.has=function(e){return this.map.has(e)},e.prototype.get=function(e){var t=this.getNode(e);return t&&t.value},e.prototype.getNode=function(e){var t=this.map.get(e);if(t&&t!==this.newest){var n=t.older,r=t.newer;r&&(r.older=n),n&&(n.newer=r),t.older=this.newest,t.older.newer=t,t.newer=null,this.newest=t,t===this.oldest&&(this.oldest=r)}return t},e.prototype.set=function(e,t){var n=this.getNode(e);return n?n.value=t:(n={key:e,value:t,newer:null,older:this.newest},this.newest&&(this.newest.newer=n),this.newest=n,this.oldest=this.oldest||n,this.map.set(e,n),n.value)},e.prototype.clean=function(){for(;this.oldest&&this.map.size>this.max;)this.delete(this.oldest.key)},e.prototype.delete=function(e){var t=this.map.get(e);return!!t&&(t===this.newest&&(this.newest=t.older),t===this.oldest&&(this.oldest=t.newer),t.newer&&(t.newer.older=t.older),t.older&&(t.older.newer=t.newer),this.map.delete(e),this.dispose(t.value,e),!0)},e}(),yt=new ht,vt=Object.prototype.hasOwnProperty,mt=void 0===(dt=Array.from)?function(e){var t=[];return e.forEach((function(e){return t.push(e)})),t}:dt;function bt(e){var t=e.unsubscribe;"function"===typeof t&&(e.unsubscribe=void 0,t())}var _t=[];function Tt(e,t){if(!e)throw new Error(t||"assertion failure")}function wt(e){switch(e.length){case 0:throw new Error("unknown value");case 1:return e[0];case 2:throw e[1]}}var Et=function(){function e(t){this.fn=t,this.parents=new Set,this.childValues=new Map,this.dirtyChildren=null,this.dirty=!0,this.recomputing=!1,this.value=[],this.deps=null,++e.count}return e.prototype.peek=function(){if(1===this.value.length&&!Ot(this))return Ct(this),this.value[0]},e.prototype.recompute=function(e){return Tt(!this.recomputing,"already recomputing"),Ct(this),Ot(this)?function(e,t){jt(e),yt.withValue(e,xt,[e,t]),function(e,t){if("function"===typeof e.subscribe)try{bt(e),e.unsubscribe=e.subscribe.apply(null,t)}catch(n){return e.setDirty(),!1}return!0}(e,t)&&function(e){if(e.dirty=!1,Ot(e))return;kt(e)}(e);return wt(e.value)}(this,e):wt(this.value)},e.prototype.setDirty=function(){this.dirty||(this.dirty=!0,this.value.length=0,It(this),bt(this))},e.prototype.dispose=function(){var e=this;this.setDirty(),jt(this),Pt(this,(function(t,n){t.setDirty(),Rt(t,e)}))},e.prototype.forget=function(){this.dispose()}
1,e.prototype.dependOn=function(e){e.add(this),this.deps||(this.deps=_t.pop()||new Set),this.deps.add(e)},e.prototype.forgetDeps=function(){var e=this;this.deps&&(mt(this.deps).forEach((function(t){return t.delete(e)})),this.deps.clear(),_t.push(this.deps),this.deps=null)},e.count=0,e}();function Ct(e){var t=yt.getValue();if(t)return e.parents.add(t),t.childValues.has(e)||t.childValues.set(e,[]),Ot(e)?Nt(t,e):St(t,e),t}function xt(e,t){e.recomputing=!0,e.value.length=0;try{e.value[0]=e.fn.apply(null,t)}catch(n){e.value[1]=n}e.recomputing=!1}function Ot(e){return e.dirty||!(!e.dirtyChildren||!e.dirtyChildren.size)}function It(e){Pt(e,Nt)}function kt(e){Pt(e,St)}function Pt(e,t){var n=e.parents.size;if(n)for(var r=mt(e.parents),o=0;o<n;++o)t(r[o],e)}function Nt(e,t){Tt(e.childValues.has(t)),Tt(Ot(t));var n=!Ot(e);if(e.dirtyChildren){if(e.dirtyChildren.has(t))return}else e.dirtyChildren=_t.pop()||new Set;e.dirtyChildren.add(t),n&&It(e)}function St(e,t){Tt(e.childValues.has(t)),Tt(!Ot(t));var n=e.childValues.get(t);0===n.length?e.childValues.set(t,t.value.slice(0)):function(e,t){var n=e.length;return n>0&&n===t.length&&e[n-1]===t[n-1]}(n,t.value)||e.setDirty(),At(e,t),Ot(e)||kt(e)}function At(e,t){var n=e.dirtyChildren;n&&(n.delete(t),0===n.size&&(_t.length<100&&_t.push(n),e.dirtyChildren=null))}function jt(e){e.childValues.size>0&&e.childValues.forEach((function(t,n){Rt(e,n)})),e.forgetDeps(),Tt(null===e.dirtyChildren)}function Rt(e,t){t.parents.delete(e),e.childValues.delete(t),At(e,t)}var Dt={setDirty:!0,dispose:!0,forget:!0};function Mt(e){var t=new Map,n=e&&e.subscribe;function r(e){var r=yt.getValue();if(r){var o=t.get(e);o||t.set(e,o=new Set),r.dependOn(o),"function"===typeof n&&(bt(o),o.unsubscribe=n(e))}}return r.dirty=function(e,n){var r=t.get(e);if(r){var o=n&&vt.call(Dt,n)?n:"setDirty";mt(r).forEach((function(e){return e[o]()})),t.delete(e),bt(r)}},r}function Ft(){var e=new it("function"===typeof WeakMap);return function(){return e.lookupArray(arguments)}}Ft();var Lt=new Set;function Qt(e,t){void 0===t&&(t=Object.create(null));var n=new gt(t.max||Math.pow(2,16),(function(e){return e.dispose()})),r=t.keyArgs,o=t.makeCacheKey||Ft(),i=function(){var i=o.apply(null,r?r.apply(null,arguments):arguments);if(void 0===i)return e.apply(null,arguments);var a=n.get(i);a||(n.set(i,a=new Et(e)),a.subscribe=t.subscribe,a.forget=function(){return n.delete(i)});var s=a.recompute(Array.prototype.slice.call(arguments));return n.set(i,a),Lt.add(n),yt.hasValue()||(Lt.forEach((function(e){return e.clean()})),Lt.clear()),s};function a(e){var t=n.get(e);t&&t.setDirty()}function s(e){var t=n.get(e);if(t)return t.peek()}function c(e){return n.delete(e)}return Object.defineProperty(i,"size",{get:function(){return n.map.size},configurable:!1,enumerable:!1}),i.dirtyKey=a,i.dirty=function(){a(o.apply(null,arguments))},i.peekKey=s,i.peek=function(){return s(o.apply(null,arguments))},i.forgetKey=c,i.forget=function(){return c(o.apply(null,arguments))},i.makeCacheKey=o,i.getKey=r?function(){return o.apply(null,r.apply(null,arguments))}:o,Object.freeze(i)}var qt=n(1819),Ut=function(){function e(){this.getFragmentDoc=Qt(U)}return e.prototype.batch=function(e){var t,n=this,r="string"===typeof e.optimistic?e.optimistic:!1===e.optimistic?null:void 0;return this.performTransaction((function(){return t=e.update(n)}),r),t},e.prototype.recordOptimisticTransaction=function(e,t){this.performTransaction(e,t)},e.prototype.transformDocument=function(e){return e},e.prototype.transformForLink=function(e){return e},e.prototype.identify=function(e){},e.prototype.gc=function(){return[]},e.prototype.modify=function(e){return!1},e.prototype.readQuery=function(e,t){return void 0===t&&(t=!!e.optimistic),this.read((0,l.__assign)((0,l.__assign)({},e),{rootId:e.id||"ROOT_QUERY",optimistic:t}))},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!!e.optimistic),this.read((0,l.__assign)((0,l.__assign)({},e),{query:this.getFragmentDoc(e.fragment,e.fragmentName),rootId:e.id,optimistic:t}))},e.prototype.writeQuery=function(e){var t=e.id,n=e.data,r=(0,l.__rest)(e,["id","data"]);return this.write(Object.assign(r,{dataId:t||"ROOT_QUERY",result:n}))},e.prototype.writeFragment=function(e){var t=e.id,n=e.data,r=e.fragment,o=e.fragmentName,i=(0,l.__rest)(e,["id","data","fragment","fragmentName"]);return this.write(Object.assign(i,{query:this.getFragmentDoc(r,o),dataId:t,result:n}))},e.prototype.updateQuery=function(e,t){return this.batch({update:function(n){var r=n.readQuery(e),o=t(r);return void 0===o||null===o?r:(n.writeQuery((0,l.__assign)((0,l.__assign)({},e),{data:o})),o)}})},e.prototype.updateFragment=function(e,t){return this.batch({update:function(n){var r=n.readFragment(e),o=t(r);return void 0===o||null===o?r:(n.writeFragment((0,l.__assign)((0,l.__assign)({},e),{data:o})),o)}})},e}(),Bt=function(e){function t(n,r,o,i){var a,s=e.call(this,n)||this;if(s.message=n,s.path=r,s.query=o,s.variables=i,Array.isArray(s.path)){s.missing=s.message;for(var c=s.path.length-1;c>=0;--c)s.missing=((a={})[s.path[c]]=s.missing,a)}else s.missing=s.path;return s.__proto__=t.prototype,s}return(0,l.__extends)(t,e),t}(Error),Vt={kind:d.h.FIELD,name:{kind:d.h.NAME,value:"__typename"}};function zt(e,t){return!e||e.selectionSet.selections.every((function(e){return e.kind===d.h.FRAGMENT_SPREAD&&zt(t[e.name.value],t)}))}function Gt(e){return zt(ne(e)||function(e){__DEV__?(0,r.kG)("Document"===e.kind,'Expecting a parsed GraphQL document. Perhaps you need to wrap the query string in a "gql" tag? http://docs.apollostack.com/apollo-client/core.html#gql'):(0,r.kG)("Document"===e.kind,51),__DEV__?(0,r.kG)(e.definitions.length<=1,"Fragment must have exactly one definition."):(0,r.kG)(e.definitions.length<=1,52);var t=e.definitions[0];return __DEV__?(0,r.kG)("FragmentDefinition"===t.kind,"Must be a fragment definition."):(0,r.kG)("FragmentDefinition"===t.kind,53),t}(e),B(oe(e)))?null:e}function $t(e){var t=new Set,n=[];return e.forEach((function(e){e.name?t.add(e.name):e.test&&n.push(e.test)})),function(e){return t.has(e.name.value)||n.some((function(t){return t(e)}))}}function Wt(e){var t=new Map;return function(n){void 0===n&&(n=e);var r=t.get(n);return r||t.set(n,r={variables:new Set,fragmentSpreads:new Set}),r}}function Yt(e,t){for(var n=Wt(""),o=Wt(""),i=function(e){for(var t=0,i=void 0;t<e.length&&(i=e[t]);++t)if(!(0,Ee.k)(i)){if(i.kind===d.h.OPERATION_DEFINITION)return n(i.name&&i.name.value);if(i.kind===d.h.FRAGMENT_DEFINITION)return o(i.name.value)}return __DEV__&&r.kG.error("Could not find operation or fragment"),null},a=0,s=t.definitions.length-1;s>=0;--s)t.definitions[s].kind===d.h.OPERATION_DEFINITION&&++a;var c=$t(e),u=e.some((function(e){return e.remove})),f=function(e){return u&&e&&e.some(c)},h=new Map,p=!1,g={enter:function(e){if(f(e.directives))return p=!0,null}},v=y(t,{Field:g,InlineFragment:g,VariableDefinition:{enter:function(){return!1}},Variable:{enter:function(e,t,n,r,o){var a=i(o);a&&a.variables.add(e.name.value)}},FragmentSpread:{enter:function(e,t,n,r,o){if(f(e.directives))return p=!0,null;var a=i(o);a&&a.fragmentSpreads.add(e.name.value)}},FragmentDefinition:{enter:function(e,t,n,r){h.set(JSON.stringify(r),e)},leave:function(e,t,n,r){return e===h.get(JSON.stringify(r))?e:a>0&&e.selectionSet.selections.every((function(e){return e.kind===d.h.FIELD&&"__typename"===e.name.value}))?(o(e.name.value).removed=!0,p=!0,null):void 0}},Directive:{leave:function(e){if(c(e))return p=!0,null}}});if(!p)return t;var m=function(e){return e.transitiveVars||(e.transitiveVars=new Set(e.variables),e.removed||e.fragmentSpreads.forEach((function(t){m(o(t)).transitiveVars.forEac
1h((function(t){e.transitiveVars.add(t)}))}))),e},b=new Set;v.definitions.forEach((function(e){e.kind===d.h.OPERATION_DEFINITION?m(n(e.name&&e.name.value)).fragmentSpreads.forEach((function(e){b.add(e)})):e.kind!==d.h.FRAGMENT_DEFINITION||0!==a||o(e.name.value).removed||b.add(e.name.value)})),b.forEach((function(e){m(o(e)).fragmentSpreads.forEach((function(e){b.add(e)}))}));var _={enter:function(e){if(t=e.name.value,!b.has(t)||o(t).removed)return null;var t}};return Gt(y(v,{FragmentSpread:_,FragmentDefinition:_,OperationDefinition:{leave:function(e){if(e.variableDefinitions){var t=m(n(e.name&&e.name.value)).transitiveVars;if(t.size<e.variableDefinitions.length)return(0,l.__assign)((0,l.__assign)({},e),{variableDefinitions:e.variableDefinitions.filter((function(e){return t.has(e.variable.name.value)}))})}}}}))}var Ht=Object.assign((function(e){return y(e,{SelectionSet:{enter:function(e,t,n){if(!n||n.kind!==d.h.OPERATION_DEFINITION){var r=e.selections;if(r)if(!r.some((function(e){return ee(e)&&("__typename"===e.name.value||0===e.name.value.lastIndexOf("__",0))}))){var o=n;if(!(ee(o)&&o.directives&&o.directives.some((function(e){return"export"===e.name.value}))))return(0,l.__assign)((0,l.__assign)({},e),{selections:(0,l.__spreadArray)((0,l.__spreadArray)([],r,!0),[Vt],!1)})}}}}})}),{added:function(e){return e===Vt}}),Kt={test:function(e){var t="connection"===e.name.value;return t&&(e.arguments&&e.arguments.some((function(e){return"key"===e.name.value}))||__DEV__&&r.kG.warn("Removing an @connection directive even though it does not have a key. You may want to use the key parameter to specify a store key.")),t}};function Jt(e){return"query"===ae(e).operation?e:y(e,{OperationDefinition:{enter:function(e){return(0,l.__assign)((0,l.__assign)({},e),{operation:"query"})}}})}var Zt=n(420),Xt=n(7043),en=Object.prototype.hasOwnProperty;function tn(e){return null===e||void 0===e}function nn(e,t){var n=e.__typename,r=e.id,o=e._id;if("string"===typeof n&&(t&&(t.keyObject=tn(r)?tn(o)?void 0:{_id:o}:{id:r}),tn(r)&&!tn(o)&&(r=o),!tn(r)))return"".concat(n,":").concat("number"===typeof r||"string"===typeof r?r:JSON.stringify(r))}var rn={dataIdFromObject:nn,addTypename:!0,resultCaching:!0,canonizeResults:!1};function on(e){var t=e.canonizeResults;return void 0===t?rn.canonizeResults:t}var an=/^[_a-z][_0-9a-z]*/i;function sn(e){var t=e.match(an);return t?t[0]:e}function cn(e,t,n){return!!(0,q.s)(t)&&((0,Ee.k)(t)?t.every((function(t){return cn(e,t,n)})):e.selections.every((function(e){if(ee(e)&&pe(e,n)){var r=Z(e);return en.call(t,r)&&(!e.selectionSet||cn(e.selectionSet,t[r],n))}return!0})))}function un(e){return(0,q.s)(e)&&!G(e)&&!(0,Ee.k)(e)}function ln(e,t){var n=B(oe(e));return{fragmentMap:n,lookupFragment:function(e){var r=n[e];return!r&&t&&(r=t.lookup(e)),r||null}}}var fn=Object.create(null),hn=function(){return fn},pn=Object.create(null),dn=function(){function e(e,t){var n=this;this.policies=e,this.group=t,this.data=Object.create(null),this.rootIds=Object.create(null),this.refs=Object.create(null),this.getFieldValue=function(e,t){return(0,Xt.J)(G(e)?n.get(e.__ref,t):e&&e[t])},this.canRead=function(e){return G(e)?n.has(e.__ref):"object"===typeof e},this.toReference=function(e,t){if("string"===typeof e)return z(e);if(G(e))return e;var r=n.policies.identify(e)[0];if(r){var o=z(r);return t&&n.merge(r,e),o}}}return e.prototype.toObject=function(){return(0,l.__assign)({},this.data)},e.prototype.has=function(e){return void 0!==this.lookup(e,!0)},e.prototype.get=function(e,t){if(this.group.depend(e,t),en.call(this.data,e)){var n=this.data[e];if(n&&en.call(n,t))return n[t]}return"__typename"===t&&en.call(this.policies.rootTypenamesById,e)?this.policies.rootTypenamesById[e]:this instanceof mn?this.parent.get(e,t):void 0},e.prototype.lookup=function(e,t){return t&&this.group.depend(e,"__exists"),en.call(this.data,e)?this.data[e]:this instanceof mn?this.parent.lookup(e,t):this.policies.rootTypenamesById[e]?Object.create(null):void 0},e.prototype.merge=function(e,t){var n,o=this;G(e)&&(e=e.__ref),G(t)&&(t=t.__ref);
1var i="string"===typeof e?this.lookup(n=e):e,a="string"===typeof t?this.lookup(n=t):t;if(a){__DEV__?(0,r.kG)("string"===typeof n,"store.merge expects a string ID"):(0,r.kG)("string"===typeof n,1);var s=new ke(_n).merge(i,a);if(this.data[n]=s,s!==i&&(delete this.refs[n],this.group.caching)){var c=Object.create(null);i||(c.__exists=1),Object.keys(a).forEach((function(e){if(!i||i[e]!==s[e]){c[e]=1;var t=sn(e);t===e||o.policies.hasKeyArgs(s.__typename,t)||(c[t]=1),void 0!==s[e]||o instanceof mn||delete s[e]}})),!c.__typename||i&&i.__typename||this.policies.rootTypenamesById[n]!==s.__typename||delete c.__typename,Object.keys(c).forEach((function(e){return o.group.dirty(n,e)}))}}},e.prototype.modify=function(e,t){var n=this,r=this.lookup(e);if(r){var o=Object.create(null),i=!1,a=!0,s={DELETE:fn,INVALIDATE:pn,isReference:G,toReference:this.toReference,canRead:this.canRead,readField:function(t,r){return n.policies.readField("string"===typeof t?{fieldName:t,from:r||z(e)}:t,{store:n})}};if(Object.keys(r).forEach((function(c){var u=sn(c),f=r[c];if(void 0!==f){var h="function"===typeof t?t:t[c]||t[u];if(h){var p=h===hn?fn:h((0,Xt.J)(f),(0,l.__assign)((0,l.__assign)({},s),{fieldName:u,storeFieldName:c,storage:n.getStorage(e,c)}));p===pn?n.group.dirty(e,c):(p===fn&&(p=void 0),p!==f&&(o[c]=p,i=!0,f=p))}void 0!==f&&(a=!1)}})),i)return this.merge(e,o),a&&(this instanceof mn?this.data[e]=void 0:delete this.data[e],this.group.dirty(e,"__exists")),!0}return!1},e.prototype.delete=function(e,t,n){var r,o=this.lookup(e);if(o){var i=this.getFieldValue(o,"__typename"),a=t&&n?this.policies.getStoreFieldName({typename:i,fieldName:t,args:n}):t;return this.modify(e,a?((r={})[a]=hn,r):hn)}return!1},e.prototype.evict=function(e,t){var n=!1;return e.id&&(en.call(this.data,e.id)&&(n=this.delete(e.id,e.fieldName,e.args)),this instanceof mn&&this!==t&&(n=this.parent.evict(e,t)||n),(e.fieldName||n)&&this.group.dirty(e.id,e.fieldName||"__exists")),n},e.prototype.clear=function(){this.replace(null)},e.prototype.extract=function(){var e=this,t=this.toObject(),n=[];return this.getRootIdSet().forEach((function(t){en.call(e.policies.rootTypenamesById,t)||n.push(t)})),n.length&&(t.__META={extraRootIds:n.sort()}),t},e.prototype.replace=function(e){var t=this;if(Object.keys(this.data).forEach((function(n){e&&en.call(e,n)||t.delete(n)})),e){var n=e.__META,r=(0,l.__rest)(e,["__META"]);Object.keys(r).forEach((function(e){t.merge(e,r[e])})),n&&n.extraRootIds.forEach(this.retain,this)}},e.prototype.retain=function(e){return this.rootIds[e]=(this.rootIds[e]||0)+1},e.prototype.release=function(e){if(this.rootIds[e]>0){var t=--this.rootIds[e];return t||delete this.rootIds[e],t}return 0},e.prototype.getRootIdSet=function(e){return void 0===e&&(e=new Set),Object.keys(this.rootIds).forEach(e.add,e),this instanceof mn?this.parent.getRootIdSet(e):Object.keys(this.policies.rootTypenamesById).forEach(e.add,e),e},e.prototype.gc=function(){var e=this,t=this.getRootIdSet(),n=this.toObject();t.forEach((function(r){en.call(n,r)&&(Object.keys(e.findChildRefIds(r)).forEach(t.add,t),delete n[r])}));var r=Object.keys(n);if(r.length){for(var o=this;o instanceof mn;)o=o.parent;r.forEach((function(e){return o.delete(e)}))}return r},e.prototype.findChildRefIds=function(e){if(!en.call(this.refs,e)){var t=this.refs[e]=Object.create(null),n=this.data[e];if(!n)return t;var r=new Set([n]);r.forEach((function(e){G(e)&&(t[e.__ref]=!0),(0,q.s)(e)&&Object.keys(e).forEach((function(t){var n=e[t];(0,q.s)(n)&&r.add(n)}))}))}return this.refs[e]},e.prototype.makeCacheKey=function(){return this.group.keyMaker.lookupArray(arguments)},e}(),gn=function(){function e(e,t){void 0===t&&(t=null),this.caching=e,this.parent=t,this.d=null,this.resetCaching()}return e.prototype.resetCaching=function(){this.d=this.caching?Mt():null,this.keyMaker=new it(ve.mr)}
1,e.prototype.depend=function(e,t){if(this.d){this.d(yn(e,t));var n=sn(t);n!==t&&this.d(yn(e,n)),this.parent&&this.parent.depend(e,t)}},e.prototype.dirty=function(e,t){this.d&&this.d.dirty(yn(e,t),"__exists"===t?"forget":"setDirty")},e}();function yn(e,t){return t+"#"+e}function vn(e,t){Tn(e)&&e.group.depend(t,"__exists")}!function(e){var t=function(e){function t(t){var n=t.policies,r=t.resultCaching,o=void 0===r||r,i=t.seed,a=e.call(this,n,new gn(o))||this;return a.stump=new bn(a),a.storageTrie=new it(ve.mr),i&&a.replace(i),a}return(0,l.__extends)(t,e),t.prototype.addLayer=function(e,t){return this.stump.addLayer(e,t)},t.prototype.removeLayer=function(){return this},t.prototype.getStorage=function(){return this.storageTrie.lookupArray(arguments)},t}(e);e.Root=t}(dn||(dn={}));var mn=function(e){function t(t,n,r,o){var i=e.call(this,n.policies,o)||this;return i.id=t,i.parent=n,i.replay=r,i.group=o,r(i),i}return(0,l.__extends)(t,e),t.prototype.addLayer=function(e,n){return new t(e,this,n,this.group)},t.prototype.removeLayer=function(e){var t=this,n=this.parent.removeLayer(e);return e===this.id?(this.group.caching&&Object.keys(this.data).forEach((function(e){var r=t.data[e],o=n.lookup(e);o?r?r!==o&&Object.keys(r).forEach((function(n){(0,qt.D)(r[n],o[n])||t.group.dirty(e,n)})):(t.group.dirty(e,"__exists"),Object.keys(o).forEach((function(n){t.group.dirty(e,n)}))):t.delete(e)})),n):n===this.parent?this:n.addLayer(this.id,this.replay)},t.prototype.toObject=function(){return(0,l.__assign)((0,l.__assign)({},this.parent.toObject()),this.data)},t.prototype.findChildRefIds=function(t){var n=this.parent.findChildRefIds(t);return en.call(this.data,t)?(0,l.__assign)((0,l.__assign)({},n),e.prototype.findChildRefIds.call(this,t)):n},t.prototype.getStorage=function(){for(var e=this.parent;e.parent;)e=e.parent;return e.getStorage.apply(e,arguments)},t}(dn),bn=function(e){function t(t){return e.call(this,"EntityStore.Stump",t,(function(){}),new gn(t.group.caching,t.group))||this}return(0,l.__extends)(t,e),t.prototype.removeLayer=function(){return this},t.prototype.merge=function(){return this.parent.merge.apply(this.parent,arguments)},t}(mn);function _n(e,t,n){var r=e[n],o=t[n];return(0,qt.D)(r,o)?r:o}function Tn(e){return!!(e instanceof dn&&e.group.caching)}var wn,En,Cn=function(){function e(){this.known=new(ve.sy?WeakSet:Set),this.pool=new it(ve.mr),this.passes=new WeakMap,this.keysByJSON=new Map,this.empty=this.admit({})}return e.prototype.isKnown=function(e){return(0,q.s)(e)&&this.known.has(e)},e.prototype.pass=function(e){if((0,q.s)(e)){var t=function(e){return(0,q.s)(e)?(0,Ee.k)(e)?e.slice(0):(0,l.__assign)({__proto__:Object.getPrototypeOf(e)},e):e}(e);return this.passes.set(t,e),t}return e},e.prototype.admit=function(e){var t=this;if((0,q.s)(e)){var n=this.passes.get(e);if(n)return n;switch(Object.getPrototypeOf(e)){case Array.prototype:if(this.known.has(e))return e;var r=e.map(this.admit,this);return(s=this.pool.lookupArray(r)).array||(this.known.add(s.array=r),__DEV__&&Object.freeze(r)),s.array;case null:case Object.prototype:if(this.known.has(e))return e;var o=Object.getPrototypeOf(e),i=[o],a=this.sortedKeys(e);i.push(a.json);var s,c=i.length;if(a.sorted.forEach((function(n){i.push(t.admit(e[n]))})),!(s=this.pool.lookupArray(i)).object){var u=s.object=Object.create(o);this.known.add(u),a.sorted.forEach((function(e,t){u[e]=i[c+t]})),__DEV__&&Object.freeze(u)}return s.object}}return e},e.prototype.sortedKeys=function(e){var t=Object.keys(e),n=this.pool.lookupArray(t);if(!n.keys){t.sort();var r=JSON.stringify(t);(n.keys=this.keysByJSON.get(r))||this.keysByJSON.set(r,n.keys={sorted:t,json:r})}return n.keys},e}(),xn=Object.assign((function(e){if((0,q.s)(e)){void 0===wn&&On();var t=wn.admit(e),n=En.get(t);return void 0===n&&En.set(t,n=JSON.stringify(t)),n}return JSON.stringify(e)}),{reset:On});function On(){wn=new Cn,En=new(ve.mr?WeakMap:Map)}function In(e){return[e.selectionSet,e.objectOrReference,e.context,e.context.canonizeResults]}var kn=function(){function e(e){var t=this;this.knownResults=new(ve.mr?WeakMap:Map),this.config=(0,Zt.o)(e,{addTypename:!1!==e.addTypename,canonizeResults:on(e)}),this.canon=e.canon||new Cn,this.executeSelectionSet=Qt((function(e){var n,r=e.context.canonizeResults,o=In(e);o[3]=!r;var i=(n=t.executeSelectionSet).peek.apply(n,o);return i?r?(0,l.__assign)((0,l.__assign)({},i),{result:t.canon.admit(i.result)}):i:(vn(e.context.store,e.enclosingRef.__ref),t.execSelectionSetImpl(e))}),{max:this.config.resultCacheMaxSize,keyArgs:In,makeCacheKey:function(e,t,n,r){if(Tn(n.store))return n.store.makeCacheKey(e,G(t)?t.__ref:t,n.varString,r)}}),this.executeSubSelectedArray=Qt((function(e){return vn(e.context.store,e.enclosingRef.__ref),t.execSubSelectedArrayImpl(e)}),{max:this.config.resultCacheMaxSize,makeCacheKey:function(e){var t=e.field,n=e.array,r=e.context;
1if(Tn(r.store))return r.store.makeCacheKey(t,n,r.varString)}})}return e.prototype.resetCanon=function(){this.canon=new Cn},e.prototype.diffQueryAgainstStore=function(e){var t=e.store,n=e.query,r=e.rootId,o=void 0===r?"ROOT_QUERY":r,i=e.variables,a=e.returnPartialData,s=void 0===a||a,c=e.canonizeResults,u=void 0===c?this.config.canonizeResults:c,f=this.config.cache.policies;i=(0,l.__assign)((0,l.__assign)({},se(ie(n))),i);var h,p=z(o),d=this.executeSelectionSet({selectionSet:ae(n).selectionSet,objectOrReference:p,enclosingRef:p,context:(0,l.__assign)({store:t,query:n,policies:f,variables:i,varString:xn(i),canonizeResults:u},ln(n,this.config.fragments))});if(d.missing&&(h=[new Bt(Pn(d.missing),d.missing,n,i)],!s))throw h[0];return{result:d.result,complete:!h,missing:h}},e.prototype.isFresh=function(e,t,n,r){if(Tn(r.store)&&this.knownResults.get(e)===n){var o=this.executeSelectionSet.peek(n,t,r,this.canon.isKnown(e));if(o&&e===o.result)return!0}return!1},e.prototype.execSelectionSetImpl=function(e){var t=this,n=e.selectionSet,o=e.objectOrReference,i=e.enclosingRef,a=e.context;if(G(o)&&!a.policies.rootTypenamesById[o.__ref]&&!a.store.has(o.__ref))return{result:this.canon.empty,missing:"Dangling reference to missing ".concat(o.__ref," object")};var s,c=a.variables,u=a.policies,l=a.store.getFieldValue(o,"__typename"),f=[],h=new ke;function p(e,t){var n;return e.missing&&(s=h.merge(s,((n={})[t]=e.missing,n))),e.result}this.config.addTypename&&"string"===typeof l&&!u.rootIdsByTypename[l]&&f.push({__typename:l});var g=new Set(n.selections);g.forEach((function(e){var n,y;if(pe(e,c))if(ee(e)){var v=u.readField({fieldName:e.name.value,field:e,variables:a.variables,from:o},a),m=Z(e);void 0===v?Ht.added(e)||(s=h.merge(s,((n={})[m]="Can't find field '".concat(e.name.value,"' on ").concat(G(o)?o.__ref+" object":"object "+JSON.stringify(o,null,2)),n))):(0,Ee.k)(v)?v=p(t.executeSubSelectedArray({field:e,array:v,enclosingRef:i,context:a}),m):e.selectionSet?null!=v&&(v=p(t.executeSelectionSet({selectionSet:e.selectionSet,objectOrReference:v,enclosingRef:G(v)?v:i,context:a}),m)):a.canonizeResults&&(v=t.canon.pass(v)),void 0!==v&&f.push(((y={})[m]=v,y))}else{var b=V(e,a.lookupFragment);if(!b&&e.kind===d.h.FRAGMENT_SPREAD)throw __DEV__?new r.ej("No fragment named ".concat(e.name.value)):new r.ej(5);b&&u.fragmentMatches(b,l)&&b.selectionSet.selections.forEach(g.add,g)}}));var y={result:Oe(f),missing:s},v=a.canonizeResults?this.canon.admit(y):(0,Xt.J)(y);return v.result&&this.knownResults.set(v.result,n),v},e.prototype.execSubSelectedArrayImpl=function(e){var t,n=this,o=e.field,i=e.array,a=e.enclosingRef,s=e.context,c=new ke;function u(e,n){var r;return e.missing&&(t=c.merge(t,((r={})[n]=e.missing,r))),e.result}return o.selectionSet&&(i=i.filter(s.store.canRead)),i=i.map((function(e,t){return null===e?null:(0,Ee.k)(e)?u(n.executeSubSelectedArray({field:o,array:e,enclosingRef:a,context:s}),t):o.selectionSet?u(n.executeSelectionSet({selectionSet:o.selectionSet,objectOrReference:e,enclosingRef:G(e)?e:a,context:s}),t):(__DEV__&&function(e,t,n){if(!t.selectionSet){var o=new Set([n]);o.forEach((function(n){(0,q.s)(n)&&(__DEV__?(0,r.kG)(!G(n),"Missing selection set for object of type ".concat(function(e,t){return G(t)?e.get(t.__ref,"__typename"):t&&t.__typename}(e,n)," returned for query field ").concat(t.name.value)):(0,r.kG)(!G(n),6),Object.values(n).forEach(o.add,o))}))}}(s.store,o,e),e)})),{result:s.canonizeResults?this.canon.admit(i):i,missing:t}},e}();function Pn(e){try{JSON.stringify(e,(function(e,t){if("string"===typeof t)throw t;return t}))}catch(t){return t}}var Nn=Object.prototype.toString;function Sn(e){return An(e)}function An(e,t){switch(Nn.call(e)){case"[object Array]":if((t=t||new Map).has(e))return t.get(e);var n=e.slice(0);return t.set(e,n),n.forEach((function(e,r){n[r]=An(e,t)})),n;case"[object Object]":if((t=t||new Map).has(e))return t.get(e);var r=Object.create(Object.getPrototypeOf(e));return t.set(e,r),Object.keys(e).forEach((function(n){r[n]=An(e[n],t)})),r;default:return e}}var jn=new Map;function Rn(e){var t=jn.get(e)||1;return jn.set(e,t+1),"".concat(e,":").concat(t,":").concat(Math.random().toString(36).slice(2))}var Dn=new ht,Mn=new WeakMap;function Fn(e){var t=Mn.get(e);return t||Mn.set(e,t={vars:new Set,dep:Mt()}),t}
1function Ln(e){Fn(e).vars.forEach((function(t){return t.forgetCache(e)}))}function Qn(e){var t=new Set,n=new Set,r=function(i){if(arguments.length>0){if(e!==i){e=i,t.forEach((function(e){Fn(e).dep.dirty(r),qn(e)}));var a=Array.from(n);n.clear(),a.forEach((function(t){return t(e)}))}}else{var s=Dn.getValue();s&&(o(s),Fn(s).dep(r))}return e};r.onNextChange=function(e){return n.add(e),function(){n.delete(e)}};var o=r.attachCache=function(e){return t.add(e),Fn(e).vars.add(r),r};return r.forgetCache=function(e){return t.delete(e)},r}function qn(e){e.broadcastWatches&&e.broadcastWatches()}var Un=Object.create(null);function Bn(e){var t=JSON.stringify(e);return Un[t]||(Un[t]=Object.create(null))}function Vn(e){var t=Bn(e);return t.keyFieldsFn||(t.keyFieldsFn=function(t,n){var o=function(e,t){return n.readField(t,e)},i=n.keyObject=Gn(e,(function(e){var i=Yn(n.storeObject,e,o);return void 0===i&&t!==n.storeObject&&en.call(t,e[0])&&(i=Yn(t,e,Wn)),__DEV__?(0,r.kG)(void 0!==i,"Missing field '".concat(e.join("."),"' while extracting keyFields from ").concat(JSON.stringify(t))):(0,r.kG)(void 0!==i,2),i}));return"".concat(n.typename,":").concat(JSON.stringify(i))})}function zn(e){var t=Bn(e);return t.keyArgsFn||(t.keyArgsFn=function(t,n){var r=n.field,o=n.variables,i=n.fieldName,a=Gn(e,(function(e){var n=e[0],i=n.charAt(0);if("@"!==i)if("$"!==i){if(t)return Yn(t,e)}else{var a=n.slice(1);if(o&&en.call(o,a)){var s=e.slice(0);return s[0]=a,Yn(o,s)}}else if(r&&(0,Ee.O)(r.directives)){var c=n.slice(1),u=r.directives.find((function(e){return e.name.value===c})),l=u&&J(u,o);return l&&Yn(l,e.slice(1))}})),s=JSON.stringify(a);return(t||"{}"!==s)&&(i+=":"+s),i})}function Gn(e,t){var n=new ke;return $n(e).reduce((function(e,r){var o,i=t(r);if(void 0!==i){for(var a=r.length-1;a>=0;--a)(o={})[r[a]]=i,i=o;e=n.merge(e,i)}return e}),Object.create(null))}function $n(e){var t=Bn(e);if(!t.paths){var n=t.paths=[],r=[];e.forEach((function(t,o){(0,Ee.k)(t)?($n(t).forEach((function(e){return n.push(r.concat(e))})),r.length=0):(r.push(t),(0,Ee.k)(e[o+1])||(n.push(r.slice(0)),r.length=0))}))}return t.paths}function Wn(e,t){return e[t]}function Yn(e,t,n){return n=n||Wn,Hn(t.reduce((function e(t,r){return(0,Ee.k)(t)?t.map((function(t){return e(t,r)})):t&&n(t,r)}),e))}function Hn(e){return(0,q.s)(e)?(0,Ee.k)(e)?e.map(Hn):Gn(Object.keys(e).sort(),(function(t){return Yn(e,t)})):e}function Kn(e){return void 0!==e.args?e.args:e.field?J(e.field,e.variables):null}Y.setStringify(xn);var Jn=function(){},Zn=function(e,t){return t.fieldName},Xn=function(e,t,n){return(0,n.mergeObjects)(e,t)},er=function(e,t){return t},tr=function(){function e(e){this.config=e,this.typePolicies=Object.create(null),this.toBeAdded=Object.create(null),this.supertypeMap=new Map,this.fuzzySubtypes=new Map,this.rootIdsByTypename=Object.create(null),this.rootTypenamesById=Object.create(null),this.usingPossibleTypes=!1,this.config=(0,l.__assign)({dataIdFromObject:nn},e),this.cache=this.config.cache,this.setRootTypename("Query"),this.setRootTypename("Mutation"),this.setRootTypename("Subscription"),e.possibleTypes&&this.addPossibleTypes(e.possibleTypes),e.typePolicies&&this.addTypePolicies(e.typePolicies)}return e.prototype.identify=function(e,t){var n,r=this,o=t&&(t.typename||(null===(n=t.storeObject)||void 0===n?void 0:n.__typename))||e.__typename;if(o===this.rootTypenamesById.ROOT_QUERY)return["ROOT_QUERY"];for(var i,a=t&&t.storeObject||e,s=(0,l.__assign)((0,l.__assign)({},t),{typename:o,storeObject:a,readField:t&&t.readField||function(){var e=rr(arguments,a);return r.readField(e,{store:r.cache.data,variables:e.variables})}}),c=o&&this.getTypePolicy(o),u=c&&c.keyFn||this.config.dataIdFromObject;u;){var f=u(e,s);if(!(0,Ee.k)(f)){i=f;break}u=Vn(f)}return i=i?String(i):void 0,s.keyObject?[i,s.keyObject]:[i]},e.prototype.addTypePolicies=function(e){var t=this;Object.keys(e).forEach((function(n){var r=e[n],o=r.queryType,i=r.mutationType,a=r.subscriptionType,s=(0,l.__rest)(r,["queryType","mutationType","subscriptionType"]);o&&t.setRootTypename("Query",n),i&&t.setRootTypename("Mutation",n),a&&t.setRootTypename("Subscription",n),en.call(t.toBeAdded,n)?t.toBeAdded[n].push(s):t.toBeAdded[n]=[s]}))},e.prototype.updateTypePolicy=function(e,t){var n=this,r=this.getTypePolicy(e),o=t.keyFields,i=t.fields;function a(e,t){e.merge="function"===typeof t?t:!0===t?Xn:!1===t?er:e.merge}a(r,t.merge),r.keyFn=!1===o?Jn:(0,Ee.k)(o)?Vn(o):"function"===typeof o?o:r.keyFn,i&&Object.keys(i).forEac
1h((function(t){var r=n.getFieldPolicy(e,t,!0),o=i[t];if("function"===typeof o)r.read=o;else{var s=o.keyArgs,c=o.read,u=o.merge;r.keyFn=!1===s?Zn:(0,Ee.k)(s)?zn(s):"function"===typeof s?s:r.keyFn,"function"===typeof c&&(r.read=c),a(r,u)}r.read&&r.merge&&(r.keyFn=r.keyFn||Zn)}))},e.prototype.setRootTypename=function(e,t){void 0===t&&(t=e);var n="ROOT_"+e.toUpperCase(),o=this.rootTypenamesById[n];t!==o&&(__DEV__?(0,r.kG)(!o||o===e,"Cannot change root ".concat(e," __typename more than once")):(0,r.kG)(!o||o===e,3),o&&delete this.rootIdsByTypename[o],this.rootIdsByTypename[t]=n,this.rootTypenamesById[n]=t)},e.prototype.addPossibleTypes=function(e){var t=this;this.usingPossibleTypes=!0,Object.keys(e).forEach((function(n){t.getSupertypeSet(n,!0),e[n].forEach((function(e){t.getSupertypeSet(e,!0).add(n);var r=e.match(an);r&&r[0]===e||t.fuzzySubtypes.set(e,new RegExp(e))}))}))},e.prototype.getTypePolicy=function(e){var t=this;if(!en.call(this.typePolicies,e)){var n=this.typePolicies[e]=Object.create(null);n.fields=Object.create(null);var r=this.supertypeMap.get(e);r&&r.size&&r.forEach((function(e){var r=t.getTypePolicy(e),o=r.fields,i=(0,l.__rest)(r,["fields"]);Object.assign(n,i),Object.assign(n.fields,o)}))}var o=this.toBeAdded[e];return o&&o.length&&o.splice(0).forEach((function(n){t.updateTypePolicy(e,n)})),this.typePolicies[e]},e.prototype.getFieldPolicy=function(e,t,n){if(e){var r=this.getTypePolicy(e).fields;return r[t]||n&&(r[t]=Object.create(null))}},e.prototype.getSupertypeSet=function(e,t){var n=this.supertypeMap.get(e);return!n&&t&&this.supertypeMap.set(e,n=new Set),n},e.prototype.fragmentMatches=function(e,t,n,o){var i=this;if(!e.typeCondition)return!0;if(!t)return!1;var a=e.typeCondition.name.value;if(t===a)return!0;if(this.usingPossibleTypes&&this.supertypeMap.has(a))for(var s=this.getSupertypeSet(t,!0),c=[s],u=function(e){var t=i.getSupertypeSet(e,!1);t&&t.size&&c.indexOf(t)<0&&c.push(t)},l=!(!n||!this.fuzzySubtypes.size),f=!1,h=0;h<c.length;++h){var p=c[h];if(p.has(a))return s.has(a)||(f&&__DEV__&&r.kG.warn("Inferring subtype ".concat(t," of supertype ").concat(a)),s.add(a)),!0;p.forEach(u),l&&h===c.length-1&&cn(e.selectionSet,n,o)&&(l=!1,f=!0,this.fuzzySubtypes.forEach((function(e,n){var r=t.match(e);r&&r[0]===t&&u(n)})))}return!1},e.prototype.hasKeyArgs=function(e,t){var n=this.getFieldPolicy(e,t,!1);return!(!n||!n.keyFn)},e.prototype.getStoreFieldName=function(e){var t,n=e.typename,r=e.fieldName,o=this.getFieldPolicy(n,r,!1),i=o&&o.keyFn;if(i&&n)for(var a={typename:n,fieldName:r,field:e.field||null,variables:e.variables},s=Kn(e);i;){var c=i(s,a);if(!(0,Ee.k)(c)){t=c||r;break}i=zn(c)}return void 0===t&&(t=e.field?function(e,t){var n=null;e.directives&&(n={},e.directives.forEach((function(e){n[e.name.value]={},e.arguments&&e.arguments.forEach((function(r){var o=r.name,i=r.value;return $(n[e.name.value],o,i,t)}))})));var r=null;return e.arguments&&e.arguments.length&&(r={},e.arguments.forEach((function(e){var n=e.name,o=e.value;return $(r,n,o,t)}))),Y(e.name.value,r,n)}(e.field,e.variables):Y(r,Kn(e))),!1===t?r:r===sn(t)?t:r+":"+t},e.prototype.readField=function(e,t){var n=e.from;if(n&&(e.field||e.fieldName)){if(void 0===e.typename){var r=t.store.getFieldValue(n,"__typename");r&&(e.typename=r)}var o=this.getStoreFieldName(e),i=sn(o),a=t.store.getFieldValue(n,o),s=this.getFieldPolicy(e.typename,i,!1),c=s&&s.read;if(c){var u=nr(this,n,e,t,t.store.getStorage(G(n)?n.__ref:n,o));return Dn.withValue(this.cache,c,[a,u])}return a}},e.prototype.getReadFunction=function(e,t){var n=this.getFieldPolicy(e,t,!1);return n&&n.read},e.prototype.getMergeFunction=function(e,t,n){var r=this.getFieldPolicy(e,t,!1),o=r&&r.merge;return!o&&n&&(o=(r=this.getTypePolicy(n))&&r.merge),o},e.prototype.runMergeFunction=function(e,t,n,r,o){var i=n.field,a=n.typename,s=n.merge;return s===Xn?or(r.store)(e,t):s===er?t:(r.overwrite&&(e=void 0),s(e,t,nr(this,void 0,{typename:a,fieldName:i.name.value,field:i,variables:r.variables},r,o||Object.create(null))))},e}();function nr(e,t,n,r,o){var i=e.getStoreFieldName(n),a=sn(i),s=n.variables||r.variables,c=r.store,u=c.toReference,l=c.canRead;return{args:Kn(n),field:n.field||null,fieldName:a,storeFieldName:i,variables:s,isReference:G,toReference:u,storage:o,cache:e.cache,canRead:l,readField:function(){return e.readField(rr(arguments,t,s),r)},mergeObjects:or(r.store)}}function rr(e,t,n){var o,i=e[0],a=e[1],s=e.length;return"string"===typeof i?o={fieldName:i,from:s>1?a:t}:(o=(0,l.__assign)({},i),en.call(o,"from")||(o.from=t)),__DEV__&&void 0===o.from&&__DEV__&&r.kG.warn("Undefined 'from' passed to readField with arguments ".concat(function(e){var t=Rn("stringifyForDisplay");return JSON.stringify(e,(function(e,n){return void 0===n?t:n})).split(JSON.stringify(t)).join("<undefined>")}(Array.from(e)))),void 0===o.variables&&(o.variables=n),o}function or(e){return function(t,n){if((0,Ee.k)(t)||(0,Ee.k)(n))throw __DEV__?new r.ej("Cannot automatically merge arrays"):new r.ej(4);if((0,q.s)(t)&&(0,q.s)(n)){var o=e.getFieldValue(t,"__typename"),i=e.getFieldValue(n,"__typename");if(o&&i&&o!==i)return n;if(G(t)&&un(n))return e.merge(t.__ref,n),t;if(un(t)&&G(n))return e.merge(t,n.__ref),n;if(un(t)&&un(n))return(0,l.__assign)((0,l.__assign)({},t),n)}return n}}function ir(e,t,n){var r="".concat(t).concat(n),o=e.flavors.get(r);return o||e.flavors.set(r,o=e.clientOnly===t&&e.deferred===n?e:(0,l.__assign)((0,l.__assign)({},e),{clientOnly:t,deferred:n})),o}var ar=function(){function e(e,t,n){this.cache=e,this.reader=t,this.fragments=n}return e.prototype.writeToStore=function(e,t){var n=this,o=t.query,i=t.result,a=t.dataId,s=t.variables,c=t.overwrite,u=ne(o
1),f=new ke;s=(0,l.__assign)((0,l.__assign)({},se(u)),s);var h=(0,l.__assign)((0,l.__assign)({store:e,written:Object.create(null),merge:function(e,t){return f.merge(e,t)},variables:s,varString:xn(s)},ln(o,this.fragments)),{overwrite:!!c,incomingById:new Map,clientOnly:!1,deferred:!1,flavors:new Map}),p=this.processSelectionSet({result:i||Object.create(null),dataId:a,selectionSet:u.selectionSet,mergeTree:{map:new Map},context:h});if(!G(p))throw __DEV__?new r.ej("Could not identify object ".concat(JSON.stringify(i))):new r.ej(7);return h.incomingById.forEach((function(t,o){var i=t.storeObject,a=t.mergeTree,s=t.fieldNodeSet,c=z(o);if(a&&a.map.size){var u=n.applyMerges(a,c,i,h);if(G(u))return;i=u}if(__DEV__&&!h.overwrite){var l=Object.create(null);s.forEach((function(e){e.selectionSet&&(l[e.name.value]=!0)}));Object.keys(i).forEach((function(e){(function(e){return!0===l[sn(e)]})(e)&&!function(e){var t=a&&a.map.get(e);return Boolean(t&&t.info&&t.info.merge)}(e)&&function(e,t,n,o){var i=function(e){var t=o.getFieldValue(e,n);return"object"===typeof t&&t},a=i(e);if(!a)return;var s=i(t);if(!s)return;if(G(a))return;if((0,qt.D)(a,s))return;if(Object.keys(a).every((function(e){return void 0!==o.getFieldValue(s,e)})))return;var c=o.getFieldValue(e,"__typename")||o.getFieldValue(t,"__typename"),u=sn(n),l="".concat(c,".").concat(u);if(hr.has(l))return;hr.add(l);var f=[];
1(0,Ee.k)(a)||(0,Ee.k)(s)||[a,s].forEach((function(e){var t=o.getFieldValue(e,"__typename");"string"!==typeof t||f.includes(t)||f.push(t)}));__DEV__&&r.kG.warn("Cache data may be lost when replacing the ".concat(u," field of a ").concat(c," object.\n\nTo address this problem (which is not a bug in Apollo Client), ").concat(f.length?"either ensure all objects of type "+f.join(" and ")+" have an ID or a custom merge function, or ":"","define a custom merge function for the ").concat(l," field, so InMemoryCache can safely merge these objects:\n\n existing: ").concat(JSON.stringify(a).slice(0,1e3),"\n incoming: ").concat(JSON.stringify(s).slice(0,1e3),"\n\nFor more information about these options, please refer to the documentation:\n\n * Ensuring entity objects have IDs: https://go.apollo.dev/c/generating-unique-identifiers\n * Defining custom merge functions: https://go.apollo.dev/c/merging-non-normalized-objects\n"))}(c,i,e,h.store)}))}e.merge(o,i)})),e.retain(p.__ref),p},e.prototype.processSelectionSet=function(e){var t=this,n=e.dataId,o=e.result,i=e.selectionSet,a=e.context,s=e.mergeTree,c=this.cache.policies,u=Object.create(null),f=n&&c.rootTypenamesById[n]||X(o,i,a.fragmentMap)||n&&a.store.get(n,"__typename");"string"===typeof f&&(u.__typename=f);var h=function(){var e=rr(arguments,u,a.variables);if(G(e.from)){var t=a.incomingById.get(e.from.__ref);if(t){var n=c.readField((0,l.__assign)((0,l.__assign)({},e),{from:t.storeObject}),a);if(void 0!==n)return n}}return c.readField(e,a)},p=new Set;this.flattenFields(i,o,a,f).forEach((function(e,n){var i,a=Z(n),l=o[a];if(p.add(n),void 0!==l){var d=c.getStoreFieldName({typename:f,fieldName:n.name.value,field:n,variables:e.variables}),g=cr(s,d),y=t.processFieldValue(l,n,n.selectionSet?ir(e,!1,!1):e,g),v=void 0;n.selectionSet&&(G(y)||un(y))&&(v=h("__typename",y));var m=c.getMergeFunction(f,n.name.value,v);m?g.info={field:n,typename:f,merge:m}:fr(s,d),u=e.merge(u,((i={})[d]=y,i))}else!__DEV__||e.clientOnly||e.deferred||Ht.added(n)||c.getReadFunction(f,n.name.value)||__DEV__&&r.kG.error("Missing field '".concat(Z(n),"' while writing result ").concat(JSON.stringify(o,null,2)).substring(0,1e3))}));try{var d=c.identify(o,{typename:f,selectionSet:i,fragmentMap:a.fragmentMap,storeObject:u,readField:h}),g=d[0],y=d[1];n=n||g,y&&(u=a.merge(u,y))}catch(_){if(!n)throw _}if("string"===typeof n){var v=z(n),m=a.written[n]||(a.written[n]=[]);if(m.indexOf(i)>=0)return v;if(m.push(i),this.reader&&this.reader.isFresh(o,v,i,a))return v;var b=a.incomingById.get(n);return b?(b.storeObject=a.merge(b.storeObject,u),b.mergeTree=ur(b.mergeTree,s),p.forEach((function(e){return b.fieldNodeSet.add(e)}))):a.incomingById.set(n,{storeObject:u,mergeTree:lr(s)?void 0:s,fieldNodeSet:p}),v}return u},e.prototype.processFieldValue=function(e,t,n,r){var o=this;return t.selectionSet&&null!==e?(0,Ee.k)(e)?e.map((function(e,i){var a=o.processFieldValue(e,t,n,cr(r,i));return fr(r,i),a})):this.processSelectionSet({result:e,selectionSet:t.selectionSet,context:n,mergeTree:r}):__DEV__?Sn(e):e},e.prototype.flattenFields=function(e,t,n,o){void 0===o&&(o=X(t,e,n.fragmentMap));var i=new Map,a=this.cache.policies,s=new it(!1);return function e(c,u){var l=s.lookup(c,u.clientOnly,u.deferred);l.visited||(l.visited=!0,c.selections.forEach((function(s){if(pe(s,n.variables)){var c=u.clientOnly,l=u.deferred;if(c&&l||!(0,Ee.O)(s.directives)||s.directives.forEach((function(e){var t=e.name.value;if("client"===t&&(c=!0),"defer"===t){var r=J(e,n.variables);r&&!1===r.if||(l=!0)}})),ee(s)){var f=i.get(s);f&&(c=c&&f.clientOnly,l=l&&f.deferred),i.set(s,ir(n,c,l))}else{var h=V(s,n.lookupFragment);if(!h&&s.kind===d.h.FRAGMENT_SPREAD)throw __DEV__?new r.ej("No fragment named ".concat(s.name.value)):new r.ej(8);h&&a.fragmentMatches(h,o,t,n.variables)&&e(h.selectionSet,ir(n,c,l))}}})))}(e,n),i},e.prototype.applyMerges=function(e,t,n,o,i){var a,s=this;if(e.map.size&&!G(n)){var c,u=(0,Ee.k)(n)||!G(t)&&!un(t)?void 0:t,f=n;u&&!i&&(i=[G(u)?u.__ref:u]);var h=function(e,t){return(0,Ee.k)(e)?"number"===typeof t?e[t]:void 0:o.store.getFieldValue(e,String(t))};
1e.map.forEach((function(e,t){var n=h(u,t),a=h(f,t);if(void 0!==a){i&&i.push(t);var l=s.applyMerges(e,n,a,o,i);l!==a&&(c=c||new Map).set(t,l),i&&(0,r.kG)(i.pop()===t)}})),c&&(n=(0,Ee.k)(f)?f.slice(0):(0,l.__assign)({},f),c.forEach((function(e,t){n[t]=e})))}return e.info?this.cache.policies.runMergeFunction(t,n,e.info,o,i&&(a=o.store).getStorage.apply(a,i)):n},e}(),sr=[];function cr(e,t){var n=e.map;return n.has(t)||n.set(t,sr.pop()||{map:new Map}),n.get(t)}function ur(e,t){if(e===t||!t||lr(t))return e;if(!e||lr(e))return t;var n=e.info&&t.info?(0,l.__assign)((0,l.__assign)({},e.info),t.info):e.info||t.info,r=e.map.size&&t.map.size,o={info:n,map:r?new Map:e.map.size?e.map:t.map};if(r){var i=new Set(t.map.keys());e.map.forEach((function(e,n){o.map.set(n,ur(e,t.map.get(n))),i.delete(n)})),i.forEach((function(n){o.map.set(n,ur(t.map.get(n),e.map.get(n)))}))}return o}function lr(e){return!e||!(e.info||e.map.size)}function fr(e,t){var n=e.map,r=n.get(t);r&&lr(r)&&(sr.push(r),n.delete(t))}var hr=new Set;var pr=function(e){function t(t){void 0===t&&(t={});var n=e.call(this)||this;return n.watches=new Set,n.typenameDocumentCache=new Map,n.makeVar=Qn,n.txCount=0,n.config=function(e){return(0,Zt.o)(rn,e)}(t),n.addTypename=!!n.config.addTypename,n.policies=new tr({cache:n,dataIdFromObject:n.config.dataIdFromObject,possibleTypes:n.config.possibleTypes,typePolicies:n.config.typePolicies}),n.init(),n}return(0,l.__extends)(t,e),t.prototype.init=function(){var e=this.data=new dn.Root({policies:this.policies,resultCaching:this.config.resultCaching});this.optimisticData=e.stump,this.resetResultCache()},t.prototype.resetResultCache=function(e){var t=this,n=this.storeReader,r=this.config.fragments;this.storeWriter=new ar(this,this.storeReader=new kn({cache:this,addTypename:this.addTypename,resultCacheMaxSize:this.config.resultCacheMaxSize,canonizeResults:on(this.config),canon:e?void 0:n&&n.canon,fragments:r}),r),this.maybeBroadcastWatch=Qt((function(e,n){return t.broadcastWatch(e,n)}),{max:this.config.resultCacheMaxSize,makeCacheKey:function(e){var n=e.optimistic?t.optimisticData:t.data;if(Tn(n)){var r=e.optimistic,o=e.id,i=e.variables;return n.makeCacheKey(e.query,e.callback,xn({optimistic:r,id:o,variables:i}))}}}),new Set([this.data.group,this.optimisticData.group]).forEach((function(e){return e.resetCaching()}))},t.prototype.restore=function(e){return this.init(),e&&this.data.replace(e),this},t.prototype.extract=function(e){return void 0===e&&(e=!1),(e?this.optimisticData:this.data).extract()},t.prototype.read=function(e){var t=e.returnPartialData,n=void 0!==t&&t;try{return this.storeReader.diffQueryAgainstStore((0,l.__assign)((0,l.__assign)({},e),{store:e.optimistic?this.optimisticData:this.data,config:this.config,returnPartialData:n})).result||null}catch(r){if(r instanceof Bt)return null;throw r}},t.prototype.write=function(e){try{return++this.txCount,this.storeWriter.writeToStore(this.data,e)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}},t.prototype.modify=function(e){if(en.call(e,"id")&&!e.id)return!1;var t=e.optimistic?this.optimisticData:this.data;try{return++this.txCount,t.modify(e.id||"ROOT_QUERY",e.fields)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}},t.prototype.diff=function(e){return this.storeReader.diffQueryAgainstStore((0,l.__assign)((0,l.__assign)({},e),{store:e.optimistic?this.optimisticData:this.data,rootId:e.id||"ROOT_QUERY",config:this.config}))},t.prototype.watch=function(e){var t,n=this;return this.watches.size||Fn(t=this).vars.forEach((function(e){return e.attachCache(t)})),this.watches.add(e),e.immediate&&this.maybeBroadcastWatch(e),function(){n.watches.delete(e)&&!n.watches.size&&Ln(n),n.maybeBroadcastWatch.forget(e)}},t.prototype.gc=function(e){xn.reset();var t=this.optimisticData.gc();return e&&!this.txCount&&(e.resetResultCache?this.resetResultCache(e.resetResultIdentities):e.resetResultIdentities&&this.storeReader.resetCanon()),t},t.prototype.retain=function(e,t){return(t?this.optimisticData:this.data).retain(e)},t.prototype.release=function(e,t){return(t?this.optimisticData:this.data).release(e)},t.prototype.identify=function(e){if(G(e))return e.__ref;try{return this.policies.identify(e)[0]}catch(t){__DEV__&&r.kG.warn(t)}},t.prototype.evict=function(e){if(!e.id){if(en.call(e,"id"))return!1;e=(0,l.__assign)((0,l.__assign)({},e),{id:"ROOT_QUERY"})}try{return++this.txCount,this.optimisticData.evict(e,this.data)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}},t.prototype.reset=function(e){var t=this;return this.init(),xn.reset(),e&&e.discardWatches?(this.watches.forEac
1h((function(e){return t.maybeBroadcastWatch.forget(e)})),this.watches.clear(),Ln(this)):this.broadcastWatches(),Promise.resolve()},t.prototype.removeOptimistic=function(e){var t=this.optimisticData.removeLayer(e);t!==this.optimisticData&&(this.optimisticData=t,this.broadcastWatches())},t.prototype.batch=function(e){var t,n=this,r=e.update,o=e.optimistic,i=void 0===o||o,a=e.removeOptimistic,s=e.onWatchUpdated,c=function(e){var o=n,i=o.data,a=o.optimisticData;++n.txCount,e&&(n.data=n.optimisticData=e);try{return t=r(n)}finally{--n.txCount,n.data=i,n.optimisticData=a}},u=new Set;return s&&!this.txCount&&this.broadcastWatches((0,l.__assign)((0,l.__assign)({},e),{onWatchUpdated:function(e){return u.add(e),!1}})),"string"===typeof i?this.optimisticData=this.optimisticData.addLayer(i,c):!1===i?c(this.data):c(),"string"===typeof a&&(this.optimisticData=this.optimisticData.removeLayer(a)),s&&u.size?(this.broadcastWatches((0,l.__assign)((0,l.__assign)({},e),{onWatchUpdated:function(e,t){var n=s.call(this,e,t);return!1!==n&&u.delete(e),n}})),u.size&&u.forEach((function(e){return n.maybeBroadcastWatch.dirty(e)}))):this.broadcastWatches(e),t},t.prototype.performTransaction=function(e,t){return this.batch({update:e,optimistic:t||null!==t})},t.prototype.transformDocument=function(e){if(this.addTypename){var t=this.typenameDocumentCache.get(e);return t||(t=Ht(e),this.typenameDocumentCache.set(e,t),this.typenameDocumentCache.set(t,t)),t}return e},t.prototype.transformForLink=function(e){var t=this.config.fragments;return t?t.transform(e):e},t.prototype.broadcastWatches=function(e){var t=this;this.txCount||this.watches.forEach((function(n){return t.maybeBroadcastWatch(n,e)}))},t.prototype.broadcastWatch=function(e,t){var n=e.lastDiff,r=this.diff(e);t&&(e.optimistic&&"string"===typeof t.optimistic&&(r.fromOptimisticTransaction=!0),t.onWatchUpdated&&!1===t.onWatchUpdated.call(this,e,r,n))||n&&(0,qt.D)(n.result,r.result)||e.callback(e.lastDiff=r,n)},t}(Ut),dr=he.execute,gr=function(e){function t(t){void 0===t&&(t={});var n=e.call(this,et(t).request)||this;return n.options=t,n}return(0,l.__extends)(t,e),t}(he);function yr(e,t,n){return new Q((function(r){var o=r.next,i=r.error,a=r.complete,s=0,c=!1,u={then:function(e){return new Promise((function(t){return t(e())}))}};function l(e,t){return e?function(t){++s;var n=function(){return e(t)};u=u.then(n,n).then((function(e){--s,o&&o.call(r,e),c&&f.complete()}),(function(e){throw--s,e})).catch((function(e){i&&i.call(r,e)}))}:function(e){return t&&t.call(r,e)}}var f={next:l(t,o),error:l(n,i),complete:function(){c=!0,s||a&&a.call(r)}},h=e.subscribe(f);return function(){return h.unsubscribe()}}))}function vr(e){var t=mr(e);return(0,Ee.O)(t)}function mr(e){var t=(0,Ee.O)(e.errors)?e.errors.slice(0):[];return Pe(e)&&(0,Ee.O)(e.incremental)&&e.incremental.forEach((function(e){e.errors&&t.push.apply(t,e.errors)})),t}function br(e,t,n){var r=[];e.forEach((function(e){return e[t]&&r.push(e)})),r.forEach((function(e){return e[t](n)}))}function _r(e){function t(t){Object.defineProperty(e,t,{value:Q})}return ve.aS&&Symbol.species&&t(Symbol.species),t("@@species"),e}function Tr(e){return e&&"function"===typeof e.then}var wr=function(e){function t(t){var n=e.call(this,(function(e){return n.addObserver(e),function(){return n.removeObserver(e)}}))||this;return n.observers=new Set,n.promise=new Promise((function(e,t){n.resolve=e,n.reject=t})),n.handlers={next:function(e){null!==n.sub&&(n.latest=["next",e],n.notify("next",e),br(n.observers,"next",e))},error:function(e){var t=n.sub;null!==t&&(t&&setTimeout((function(){return t.unsubscribe()})),n.sub=null,n.latest=["error",e],n.reject(e),n.notify("error",e),br(n.observers,"error",e))},complete:function(){var e=n,t=e.sub,r=e.sources;if(null!==t){var o=(void 0===r?[]:r).shift();o?Tr(o)?o.then((function(e){return n.sub=e.subscribe(n.handlers)})):n.sub=o.subscribe(n.handlers):(t&&setTimeout((function(){return t.unsubscribe()})),n.sub=null,n.latest&&"next"===n.latest[0]?n.resolve(n.latest[1]):n.resolve(),n.notify("complete"),br(n.observers,"complete"))}}},n.nextResultListeners=new Set,n.cancel=function(e){n.reject(e),n.sources=[],n.handlers.complete()},n.promise.catch((function(e){})),"function"===typeof t&&(t=[new Q(t)]),Tr(t)?t.then((function(e){return n.start(e)}),n.handlers.error):n.start(t),n}return(0,l.__extends)(t,e),t.prototype.start=function(e){void 0===this.sub&&(this.sources=Array.from(e),this.handlers.complete())},t.prototype.deliverLastMessage=function(e){if(this.latest){var t=this.latest[0],n=e[t];n&&n.call(e,this.latest[1]),null===this.sub&&"next"===t&&e.complete&&e.complete()}},t.prototype.addObserver=function(e){this.observers.has(e)||(this.deliverLastMessage(e),this.observers.add(e))},t.prototype.removeObserver=function(e){this.observers.delete(e)&&this.observers.size<1&&this.handlers.complete()},t.prototype.notify=function(e,t){var n=this.nextResultListeners;
1n.size&&(this.nextResultListeners=new Set,n.forEach((function(n){return n(e,t)})))},t.prototype.beforeNext=function(e){var t=!1;this.nextResultListeners.add((function(n,r){t||(t=!0,e(n,r))}))},t}(Q);_r(wr);var Er=n(5057),Cr=Object.assign,xr=Object.hasOwnProperty,Or=function(e){function t(t){var n=t.queryManager,r=t.queryInfo,o=t.options,i=e.call(this,(function(e){try{var n=e._subscription._observer;n&&!n.error&&(n.error=kr)}catch(t){}var r=!i.observers.size;i.observers.add(e);var o=i.last;return o&&o.error?e.error&&e.error(o.error):o&&o.result&&e.next&&e.next(o.result),r&&i.reobserve().catch((function(){})),function(){i.observers.delete(e)&&!i.observers.size&&i.tearDownQuery()}}))||this;i.observers=new Set,i.subscriptions=new Set,i.queryInfo=r,i.queryManager=n,i.isTornDown=!1;var a=n.defaultOptions.watchQuery,s=(void 0===a?{}:a).fetchPolicy,c=void 0===s?"cache-first":s,u=o.fetchPolicy,f=void 0===u?c:u,h=o.initialFetchPolicy,p=void 0===h?"standby"===f?c:f:h;i.options=(0,l.__assign)((0,l.__assign)({},o),{initialFetchPolicy:p,fetchPolicy:f}),i.queryId=r.queryId||n.generateQueryId();var d=ne(i.query);return i.queryName=d&&d.name&&d.name.value,i}return(0,l.__extends)(t,e),Object.defineProperty(t.prototype,"query",{get:function(){return this.queryManager.transform(this.options.query).document},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"variables",{get:function(){return this.options.variables},enumerable:!1,configurable:!0}),t.prototype.result=function(){var e=this;return new Promise((function(t,n){var r={next:function(n){t(n),e.observers.delete(r),e.observers.size||e.queryManager.removeQuery(e.queryId),setTimeout((function(){o.unsubscribe()}),0)},error:n},o=e.subscribe(r)}))},t.prototype.getCurrentResult=function(e){void 0===e&&(e=!0);var t=this.getLastResult(!0),n=this.queryInfo.networkStatus||t&&t.networkStatus||Er.I.ready,r=(0,l.__assign)((0,l.__assign)({},t),{loading:(0,Er.O)(n),networkStatus:n}),o=this.options.fetchPolicy,i=void 0===o?"cache-first":o;if("network-only"===i||"no-cache"===i||"standby"===i||this.queryManager.transform(this.options.query).hasForcedResolvers);else{var a=this.queryInfo.getDiff();(a.complete||this.options.returnPartialData)&&(r.data=a.result),(0,qt.D)(r.data,{})&&(r.data=void 0),a.complete?(delete r.partial,!a.complete||r.networkStatus!==Er.I.loading||"cache-first"!==i&&"cache-only"!==i||(r.networkStatus=Er.I.ready,r.loading=!1)):r.partial=!0,!__DEV__||a.complete||this.options.partialRefetch||r.loading||r.data||r.error||Pr(a.missing)}return e&&this.updateLastResult(r),r},t.prototype.isDifferentFromLastResult=function(e,t){return!this.last||!(0,qt.D)(this.last.result,e)||t&&!(0,qt.D)(this.last.variables,t)},t.prototype.getLast=function(e,t){var n=this.last;if(n&&n[e]&&(!t||(0,qt.D)(n.variables,this.variables)))return n[e]},t.prototype.getLastResult=function(e){return this.getLast("result",e)},t.prototype.getLastError=function(e){return this.getLast("error",e)},t.prototype.resetLastResults=function(){delete this.last,this.isTornDown=!1},t.prototype.resetQueryStoreErrors=function(){this.queryManager.resetErrors(this.queryId)},t.prototype.refetch=function(e){var t,n={pollInterval:0},o=this.options.fetchPolicy;if(n.fetchPolicy="cache-and-network"===o?o:"no-cache"===o?"no-cache":"network-only",__DEV__&&e&&xr.call(e,"variables")){var i=ie(this.query),a=i.variableDefinitions;a&&a.some((function(e){return"variables"===e.variable.name.value}))||__DEV__&&r.kG.warn("Called refetch(".concat(JSON.stringify(e),") for query ").concat((null===(t=i.name)||void 0===t?void 0:t.value)||JSON.stringify(i),", which does not declare a $variables variable.\nDid you mean to call refetch(variables) instead of refetch({ variables })?"))}return e&&!(0,qt.D)(this.options.variables,e)&&(n.variables=this.options.variables=(0,l.__assign)((0,l.__assign)({},this.options.variables),e)),this.queryInfo.resetLastWrite(),this.reobserve(n,Er.I.refetch)},t.prototype.fetchMore=function(e){var t=this,n=(0,l.__assign)((0,l.__assign)({},e.query?e:(0,l.__assign)((0,l.__assign)((0,l.__assign)((0,l.__assign)({},this.options),{query:this.query}),e),{variables:(0,l.__assign)((0,l.__assign)({},this.options.variables),e.variables)})),{fetchPolicy:"no-cache"}),r=this.queryManager.generateQueryId(),o=this.queryInfo,i=o.networkStatus;o.networkStatus=Er.I.fetchMore,n.notifyOnNetworkStatusChange&&this.observe();var a=new Set;return this.queryManager.fetchQuery(r,n,Er.I.fetchMore).then((function(s){return t.queryManager.removeQuery(r),o.networkStatus===Er.I.fetchMore&&(o.networkStatus=i),t.queryManager.cache.batch({update:function(r){var o=e.updateQuery;o?r.updateQuery({query:t.query,variables:t.variables,returnPartialData:!0,optimistic:!1},(function(e){return o(e,{fetchMoreResult:s.data,variables:n.variables})})):r.writeQuery({query:n.query,variables:n.variables,data:s.data})},onWatchUpdated:function(e){a.add(e.query)}}),s})).finally((function(){a.has(t.query)||Ir(t)}))},t.prototype.subscribeToMore=function(e){var t=this,n=this.queryManager.startGraphQLSubscription({query:e.document,variables:e.variables,context:e.context}).subscribe({next:function(n){var r=e.updateQuery;r&&t.updateQuery((function(e,t){var o=t.variables;return r(e,{subscriptionData:n,variables:o})}))},error:function(t){e.onError?e.onError(t):__DEV__&&r.kG.error("Unhandled GraphQL subscription error",t)}});return this.subscriptions.add(n),function(){t.subscriptions.delete(n)&&n.unsubscribe()}},t.prototype.setOptions=function(e){return this.reobserve(e)},t.prototype.setVariables=function(e){return(0,qt.D)(this.variables,e)?this.observers.size?this.result():Promise.resolve():(this.options.variables=e,this.observers.size?this.reobserve({fetchPolicy:this.options.initialFetchPolicy,variables:e},Er.I.setVariables):Promise.resolve())},t.prototype.updateQuery=function(e){var t=this.queryManager,n=e(t.cache.diff({query:this.options.query,variables:this.variables,returnPartialData:!0,optimistic:!1}).result,{variables:this.variables});n&&(t.cache.writeQuery({query:this.options.query,data:n,variables:this.variables}),t.broadcastQueries())},t.prototype.startPolling=function(e){this.options.pollInterval=e,this.updatePolling()},t.prototype.stopPolling=function(){this.options.pollInterval=0,this.updatePolling()},t.prototype.applyNextFetchPolicy=function(e,t){if(t.nextFetchPolicy){var n=t.fetchPolicy,r=void 0===n?"cache-first":n,o=t.initialFetchPolicy,i=void 0===o?r:o;"standby"===r||("function"===typeof t.nextFetchPolicy?t.fetchPolicy=t.nextFetchPolicy(r,{reason:e,options:t,observable:this,initialFetchPolicy:i}):t.fetchPolicy="variables-changed"===e?i:t.nextFetchPolicy)}return t.fetchPolicy},t.prototype.fetch=function(e,t){return this.queryManager.setObservableQuery(this),this.queryManager.fetchConcastWithInfo(this.queryId,e,t)},t.prototype.updatePolling=function(){var e=this;if(!this.queryManager.ssrMode){var t=this.pollingInfo,n=this.options.pollInterval;if(n){if(!t||t.interval!==n){__DEV__?(0,r.kG)(n,"Attempted to start a polling query without a polling interval."):(0,r.kG)(n,13),(t||(this.pollingInfo={})).interval=n;var o=function(){e.pollingInfo&&((0,Er.O)(e.queryInfo.networkStatus)?i():e.reobserve({fetchPolicy:"no-cache"===e.options.initialFetchPolicy?"no-cache":"network-only"},Er.I.poll).then(i,i))},i=function(){var t=e.pollingInfo;t&&(clearTimeout(t.timeout),t.timeout=setTimeout(o,t.interval))};i()}}else t&&(clearTimeout(t.timeout),delete this.pollingInfo)}},t.prototype.updateLastResult=function(e,t){return void 0===t&&(t=this.variables),this.last=(0,l.__assign)((0,l.__assign)({},this.last),{result:this.queryManager.assumeImmutableResults?e:Sn(e),variables:t}),(0,Ee.O)(e.errors)||delete this.last.error,this.last},t.prototype.reobserveAsConcast=function(e,t){var n=this;this.isTornDown=!1;var r=t===Er.I.refetch||t===Er.I.fetchMore||t===Er.I.poll,o=this.options.variables,i=this.options.fetchPolicy,a=(0,Zt.o)(this.options,e||{}),s=r?a:Cr(this.options,a);r||(this.updatePolling(),e&&e.variables&&!(0,qt.D)(e.variables,o)&&"standby"!==s.fetchPolicy&&s.fetchPolicy===i&&(this.applyNextFetchPolicy("variables-changed",s),void 0===t&&(t=Er.I.setVariables)));var c=s.variables&&(0,l.__assign)({},s.variables),u=this.fetch(s,t),f=u.concast,h=u.fromLink,p={next:function(e){n.reportResult(e,c)},error:function(e){n.reportError(e,c)}};return!r&&h&&(this.concast&&this.observer&&this.concast.removeObserver(this.observer),this.concast=f,this.observer=p),f.addObserver(p),f},t.prototype.reobserve=function(e,t){return this.reobserveAsConcast(e,t).promise},t.prototype.observe=function(){this.reportResult(this.getCurrentResult(!1),this.variables)},t.prototype.reportResult=function(e,t){var n=this.getLastError();(n||this.isDifferentFromLastResult(e,t))&&((n||!e.partial||this.options.returnPartialData)&&this.updateLastResult(e,t),br(this.observers,"next",e))},t.prototype.reportError=function(e,t){var n=(0,l.__assign)((0,l.__assign)({},this.getLastResult()),{error:e,errors:e.graphQLErrors,networkStatus:Er.I.error,loading:!1});this.updateLastResult(n,t),br(this.observers,"error",this.last.error=e)},t.prototype.hasObservers=function(){return this.observers.size>0},t.prototype.tearDownQuery=function(){this.isTornDown||(this.concast&&this.observer&&(this.concast.removeObserver(this.observer),delete this.concast,delete this.observer),this.stopPolling(),this.subscriptions.forEach((function(e){return e.unsubscribe()})),this.subscriptions.clear(),this.queryManager.stopQuery(this.queryId),this.observers.clear(),this.isTornDown=!0)},t}(Q);function Ir(e){var t=e.options,n=t.fetchPolicy,r=t.nextFetchPolicy;return"cache-and-network"===n||"network-only"===n?e.reobserve({fetchPolicy:"cache-first",nextFetchPolicy:function(){return this.nextFetchPolicy=r,"function"===typeof r?r.apply(this,arguments):n}}):e.reobserve()}function kr(e){__DEV__&&r.kG.error("Unhandled error",e.message,e.stack)}function Pr(e){__DEV__&&e&&__DEV__&&r.kG.debug("Missing cache result fields: ".concat(JSON.stringify(e)),e)}function Nr(e){return e.kind===d.h.FIELD||e.kind===d.h.FRAGMENT_SPREAD||e.kind===d.h.INLINE_FRAGMENT}_r(Or);var Sr=function(){function e(e){var t=e.cache,n=e.client,r=e.resolvers,o=e.fragmentMatcher;this.selectionsToResolveCache=new WeakMap,this.cache=t,n&&(this.client=n),r&&this.addResolvers(r),o&&this.setFragmentMatcher(o)}return e.prototype.addResolvers=function(e){var t=this;this.resolvers=this.resolvers||{},Array.isArray(e)?e.forEach((function(e){t.resolvers=xe(t.resolvers,e)})):this.resolvers=xe(this.resolvers,e)},e.prototype.setResolvers=function(e){this.resolvers={},this.addResolvers(e)},e.prototype.getResolvers=function(){return this.resolvers||{}},e.prototype.runResolvers=function(e){var t=e.document,n=e.remoteResult,r=e.context,o=e.variables,i=e.onlyRunForcedResolvers,a=void 0!==i&&i;return(0,l.__awaiter)(this,void 0,void 0,(function(){return(0,l.__generator)(this,(function(e){return t?[2,this.resolveDocument(t,n.data,r,o,this.fragmentMatcher,a).then((function(e){return(0,l.__assign)((0,l.__assign)({},n),{data:e.result})}))]:[2,n]}))}))},e.prototype.setFragmentMatcher=function(e){this.fragmentMatcher=e},e.prototype.getFragmentMatcher=function(){return this.fragmentMatcher},e.prototype.clientQuery=function(e){return de(["client"],e)&&this.resolvers?e:null},e.prototype.serverQuery=function(e){return function(e){return te(e),Yt([{test:function(e){return"client"===e.name.value},remove:!0}],e)}(e)},e.prototype.prepareContext=function(e){var t=this.cache;return(0,l.__assign)((0,l.__assign)({},e),{cache:t,getCacheKey:function(e){return t.identify(e)}})},e.prototype.addExportedVariables=function(e,t,n){return void 0===t&&(t={}),void 0===n&&(n={}),(0,l.__awaiter)(this,void 0,void 0,(function(){return(0,l.__generator)(this,(function(r){return e?[2,this.resolveDocument(e,this.buildRootValueFromCache(e,t)||{},this.prepareContext(n),t).then((function(e){return(0,l.__assign)((0,l.__assign)({},t),e.exportedVariables)}))]:[2,(0,l.__assign)({},t)]}))}))},e.prototype.shouldForceResolvers=function(e){var t=!1;return y(e,{Directive:{enter:function(e){if("client"===e.name.value&&e.arguments&&(t=e.arguments.some((function(e){return"always"===e.name.value&&"BooleanValue"===e.value.kind&&!0===e.value.value}))))return g}}}),t},e.prototype.buildRootValueFromCache=function(e,t){return this.cache.diff({query:Jt(e),variables:t,returnPartialData:!0,optimistic:!1}).result},e.prototype.resolveDocument=function(e,t,n,r,o,i){return void 0===n&&(n={}),void 0===r&&(r={}),void 0===o&&(o=function(){return!0}),void 0===i&&(i=!1),(0,l.__awaiter)(this,void 0,void 0,(function(){var a,s,c,u,f,h,p,d,g,y;return(0,l.__generator)(this,(function(v){return a=ae(e),s=oe(e),c=B(s),u=this.collectSelectionsToResolve(a,c),f=a.operation,h=f?f.charAt(0).toUpperCase()+f.slice(1):"Query",d=(p=this).cache,g=p.client,y={fragmentMap:c,context:(0,l.__assign)((0,l.__assign)({}
1,n),{cache:d,client:g}),variables:r,fragmentMatcher:o,defaultOperationType:h,exportedVariables:{},selectionsToResolve:u,onlyRunForcedResolvers:i},!1,[2,this.resolveSelectionSet(a.selectionSet,false,t,y).then((function(e){return{result:e,exportedVariables:y.exportedVariables}}))]}))}))},e.prototype.resolveSelectionSet=function(e,t,n,o){return(0,l.__awaiter)(this,void 0,void 0,(function(){var i,a,s,c,u,f=this;return(0,l.__generator)(this,(function(h){return i=o.fragmentMap,a=o.context,s=o.variables,c=[n],u=function(e){return(0,l.__awaiter)(f,void 0,void 0,(function(){var u,f;return(0,l.__generator)(this,(function(l){return(t||o.selectionsToResolve.has(e))&&pe(e,s)?ee(e)?[2,this.resolveField(e,t,n,o).then((function(t){var n;"undefined"!==typeof t&&c.push(((n={})[Z(e)]=t,n))}))]:(!function(e){return"InlineFragment"===e.kind}(e)?(u=i[e.name.value],__DEV__?(0,r.kG)(u,"No fragment named ".concat(e.name.value)):(0,r.kG)(u,11)):u=e,u&&u.typeCondition&&(f=u.typeCondition.name.value,o.fragmentMatcher(n,f,a))?[2,this.resolveSelectionSet(u.selectionSet,t,n,o).then((function(e){c.push(e)}))]:[2]):[2]}))}))},[2,Promise.all(e.selections.map(u)).then((function(){return Oe(c)}))]}))}))},e.prototype.resolveField=function(e,t,n,r){return(0,l.__awaiter)(this,void 0,void 0,(function(){var o,i,a,s,c,u,f,h,p,d=this;return(0,l.__generator)(this,(function(l){return n?(o=r.variables,i=e.name.value,a=Z(e),s=i!==a,c=n[a]||n[i],u=Promise.resolve(c),r.onlyRunForcedResolvers&&!this.shouldForceResolvers(e)||(f=n.__typename||r.defaultOperationType,(h=this.resolvers&&this.resolvers[f])&&(p=h[s?i:a])&&(u=Promise.resolve(Dn.withValue(this.cache,p,[n,J(e,o),r.context,{field:e,fragmentMap:r.fragmentMap}])))),[2,u.then((function(n){var o,i;if(void 0===n&&(n=c),e.directives&&e.directives.forEach((function(e){"export"===e.name.value&&e.arguments&&e.arguments.forEach((function(e){"as"===e.name.value&&"StringValue"===e.value.kind&&(r.exportedVariables[e.value.value]=n)}))})),!e.selectionSet)return n;if(null==n)return n;var a=null!==(i=null===(o=e.directives)||void 0===o?void 0:o.some((function(e){return"client"===e.name.value})))&&void 0!==i&&i;return Array.isArray(n)?d.resolveSubSelectedArray(e,t||a,n,r):e.selectionSet?d.resolveSelectionSet(e.selectionSet,t||a,n,r):void 0}))]):[2,null]}))}))},e.prototype.resolveSubSelectedArray=function(e,t,n,r){var o=this;return Promise.all(n.map((function(n){return null===n?null:Array.isArray(n)?o.resolveSubSelectedArray(e,t,n,r):e.selectionSet?o.resolveSelectionSet(e.selectionSet,t,n,r):void 0})))},e.prototype.collectSelectionsToResolve=function(e,t){var n=function(e){return!Array.isArray(e)},o=this.selectionsToResolveCache;return function e(i){if(!o.has(i)){var a=new Set;o.set(i,a),y(i,{Directive:function(e,t,r,o,i){"client"===e.name.value&&i.forEach((function(e){n(e)&&Nr(e)&&a.add(e)}))},FragmentSpread:function(o,i,s,c,u){var l=t[o.name.value];__DEV__?(0,r.kG)(l,"No fragment named ".concat(o.name.value)):(0,r.kG)(l,12);var f=e(l);f.size>0&&(u.forEach((function(e){n(e)&&Nr(e)&&a.add(e)})),a.add(o),f.forEach((function(e){a.add(e)})))}})}return o.get(i)}(e)},e}(),Ar=new(ve.mr?WeakMap:Map);function jr(e,t){var n=e[t];"function"===typeof n&&(e[t]=function(){return Ar.set(e,(Ar.get(e)+1)%1e15),n.apply(this,arguments)})}function Rr(e){e.notifyTimeout&&(clearTimeout(e.notifyTimeout),e.notifyTimeout=void 0)}var Dr=function(){function e(e,t){void 0===t&&(t=e.generateQueryId()),this.queryId=t,this.listeners=new Set,this.document=null,this.lastRequestId=1,this.subscriptions=new Set,this.stopped=!1,this.dirty=!1,this.observableQuery=null;var n=this.cache=e.cache;Ar.has(n)||(Ar.set(n,0),jr(n,"evict"),jr(n,"modify"),jr(n,"reset"))}return e.prototype.init=function(e){var t=e.networkStatus||Er.I.loading;return this.variables&&this.networkStatus!==Er.I.loading&&!(0,qt.D)(this.variables,e.variables)&&(t=Er.I.setVariables),(0,qt.D)(e.variables,this.variables)||(this.lastDiff=void 0),Object.assign(this,{document:e.document,variables:e.variables,networkError:null,graphQLErrors:this.graphQLErrors||[],networkStatus:t}),e.observableQuery&&this.setObservableQuery(e.observableQuery),e.lastRequestId&&(this.lastRequestId=e.lastRequestId),this},e.prototype.reset=function(){Rr(this),this.dirty=!1},e.prototype.getDiff=function(e){void 0===e&&(e=this.variables);var t=this.getDiffOptions(e);if(this.lastDiff&&(0,qt.D)(t,this.lastDiff.options))return this.lastDiff.diff;this.updateWatch(this.variables=e);var n=this.observableQuery;if(n&&"no-cache"===n.options.fetchPolicy)return{complete:!1};var r=this.cache.diff(t);return this.updateLastDiff(r,t),r},e.prototype.updateLastDiff=function(e,t){this.lastDiff=e?{diff:e,options:t||this.getDiffOptions()}:void 0},e.prototype.getDiffOptions=function(e){var t;return void 0===e&&(e=this.variables),{query:this.document,variables:e,returnPartialData:!0,optimistic:!0,canonizeResults:null===(t=this.observableQuery)||void 0===t?void 0:t.options.canonizeResults}},e.prototype.setDiff=function(e){var t=this,n=this.lastDiff&&this.lastDiff.diff;this.updateLastDiff(e),this.dirty||(0,qt.D)(n&&n.result,e&&e.result)||(this.dirty=!0,this.notifyTimeout||(this.notifyTimeout=setTimeout((function(){return t.notify()}),0)))},e.prototype.setObservableQuery=function(e){var t=this;e!==this.observableQuery&&(this.oqListener&&this.listeners.delete(this.oqListener),this.observableQuery=e,e?(e.queryInfo=this,this.listeners.add(this.oqListener=function(){t.getDiff().fromOptimisticTransaction?e.observe():Ir(e)}
1)):delete this.oqListener)},e.prototype.notify=function(){var e=this;Rr(this),this.shouldNotify()&&this.listeners.forEach((function(t){return t(e)})),this.dirty=!1},e.prototype.shouldNotify=function(){if(!this.dirty||!this.listeners.size)return!1;if((0,Er.O)(this.networkStatus)&&this.observableQuery){var e=this.observableQuery.options.fetchPolicy;if("cache-only"!==e&&"cache-and-network"!==e)return!1}return!0},e.prototype.stop=function(){if(!this.stopped){this.stopped=!0,this.reset(),this.cancel(),this.cancel=e.prototype.cancel,this.subscriptions.forEach((function(e){return e.unsubscribe()}));var t=this.observableQuery;t&&t.stopPolling()}},e.prototype.cancel=function(){},e.prototype.updateWatch=function(e){var t=this;void 0===e&&(e=this.variables);var n=this.observableQuery;if(!n||"no-cache"!==n.options.fetchPolicy){var r=(0,l.__assign)((0,l.__assign)({},this.getDiffOptions(e)),{watcher:this,callback:function(e){return t.setDiff(e)}});this.lastWatch&&(0,qt.D)(r,this.lastWatch)||(this.cancel(),this.cancel=this.cache.watch(this.lastWatch=r))}},e.prototype.resetLastWrite=function(){this.lastWrite=void 0},e.prototype.shouldWrite=function(e,t){var n=this.lastWrite;return!(n&&n.dmCount===Ar.get(this.cache)&&(0,qt.D)(t,n.variables)&&(0,qt.D)(e.data,n.result.data))},e.prototype.markResult=function(e,t,n,r){var o=this,i=new ke,a=(0,Ee.O)(e.errors)?e.errors.slice(0):[];if(this.reset(),"incremental"in e&&(0,Ee.O)(e.incremental)){var s=Se(this.getDiff().result,e);e.data=s}else if("hasNext"in e&&e.hasNext){var c=this.getDiff();e.data=i.merge(c.result,e.data)}this.graphQLErrors=a,"no-cache"===n.fetchPolicy?this.updateLastDiff({result:e.data,complete:!0},this.getDiffOptions(n.variables)):0!==r&&(Mr(e,n.errorPolicy)?this.cache.performTransaction((function(i){if(o.shouldWrite(e,n.variables))i.writeQuery({query:t,data:e.data,variables:n.variables,overwrite:1===r}),o.lastWrite={result:e,variables:n.variables,dmCount:Ar.get(o.cache)};else if(o.lastDiff&&o.lastDiff.diff.complete)return void(e.data=o.lastDiff.diff.result);var a=o.getDiffOptions(n.variables),s=i.diff(a);o.stopped||o.updateWatch(n.variables),o.updateLastDiff(s,a),s.complete&&(e.data=s.result)})):this.lastWrite=void 0)},e.prototype.markReady=function(){return this.networkError=null,this.networkStatus=Er.I.ready},e.prototype.markError=function(e){return this.networkStatus=Er.I.error,this.lastWrite=void 0,this.reset(),e.graphQLErrors&&(this.graphQLErrors=e.graphQLErrors),e.networkError&&(this.networkError=e.networkError),e},e}();function Mr(e,t){void 0===t&&(t="none");var n="ignore"===t||"all"===t,r=!vr(e);return!r&&n&&e.data&&(r=!0),r}var Fr=Object.prototype.hasOwnProperty,Lr=function(){function e(e){var t=e.cache,n=e.link,r=e.defaultOptions,o=e.queryDeduplication,i=void 0!==o&&o,a=e.onBroadcast,s=e.ssrMode,c=void 0!==s&&s,u=e.clientAwareness,l=void 0===u?{}:u,f=e.localState,h=e.assumeImmutableResults;this.clientAwareness={},this.queries=new Map,this.fetchCancelFns=new Map,this.transformCache=new(ve.mr?WeakMap:Map),this.queryIdCounter=1,this.requestIdCounter=1,this.mutationIdCounter=1,this.inFlightLinkObservables=new Map,this.cache=t,this.link=n,this.defaultOptions=r||Object.create(null),this.queryDeduplication=i,this.clientAwareness=l,this.localState=f||new Sr({cache:t}),this.ssrMode=c,this.assumeImmutableResults=!!h,(this.onBroadcast=a)&&(this.mutationStore=Object.create(null))}return e.prototype.stop=function(){var e=this;this.queries.forEach((function(t,n){e.stopQueryNoBroadcast(n)})),this.cancelPendingFetches(__DEV__?new r.ej("QueryManager stopped while query was in flight"):new r.ej(14))},e.prototype.cancelPendingFetches=function(e){this.fetchCancelFns.forEach((function(t){return t(e)})),this.fetchCancelFns.clear()},e.prototype.mutate=function(e){var t,n,o=e.mutation,i=e.variables,a=e.optimisticResponse,s=e.updateQueries,c=e.refetchQueries,u=void 0===c?[]:c,f=e.awaitRefetchQueries,h=void 0!==f&&f,p=e.update,d=e.onQueryUpdated,g=e.fetchPolicy,y=void 0===g?(null===(t=this.defaultOptions.mutate)||void 0===t?void 0:t.fetchPolicy)||"network-only":g,v=e.errorPolicy,m=void 0===v?(null===(n=this.defaultOptions.mutate)||void 0===n?void 0:n.errorPolicy)||"none":v,b=e.keepRootFields,_=e.context;return(0,l.__awaiter)(this,void 0,void 0,(function(){var e,t,n,c,f,g;return(0,l.__generator)(this,(function(v){switch(v.label){case 0:return __DEV__?(0,r.kG)(o,"mutation option is required. You must specify your GraphQL document in the mutation option."):(0,r.kG)(o,15),__DEV__?(0,r.kG)("network-only"===y||"no-cache"===y,"Mutations supp
1ort only 'network-only' or 'no-cache' fetchPolicy strings. The default `network-only` behavior automatically writes mutation results to the cache. Passing `no-cache` skips the cache write."):(0,r.kG)("network-only"===y||"no-cache"===y,16),e=this.generateMutationId(),t=this.transform(o),n=t.document,c=t.hasClientExports,o=this.cache.transformForLink(n),i=this.getVariables(o,i),c?[4,this.localState.addExportedVariables(o,i,_)]:[3,2];case 1:i=v.sent(),v.label=2;case 2:return f=this.mutationStore&&(this.mutationStore[e]={mutation:o,variables:i,loading:!0,error:null}),a&&this.markMutationOptimistic(a,{mutationId:e,document:o,variables:i,fetchPolicy:y,errorPolicy:m,context:_,updateQueries:s,update:p,keepRootFields:b}),this.broadcastQueries(),g=this,[2,new Promise((function(t,n){return yr(g.getObservableFromLink(o,(0,l.__assign)((0,l.__assign)({},_),{optimisticResponse:a}),i,!1),(function(t){if(vr(t)&&"none"===m)throw new we.cA({graphQLErrors:mr(t)});f&&(f.loading=!1,f.error=null);var n=(0,l.__assign)({},t);return"function"===typeof u&&(u=u(n)),"ignore"===m&&vr(n)&&delete n.errors,g.markMutationResult({mutationId:e,result:n,document:o,variables:i,fetchPolicy:y,errorPolicy:m,context:_,update:p,updateQueries:s,awaitRefetchQueries:h,refetchQueries:u,removeOptimistic:a?e:void 0,onQueryUpdated:d,keepRootFields:b})})).subscribe({next:function(e){g.broadcastQueries(),"hasNext"in e&&!1!==e.hasNext||t(e)},error:function(t){f&&(f.loading=!1,f.error=t),a&&g.cache.removeOptimistic(e),g.broadcastQueries(),n(t instanceof we.cA?t:new we.cA({networkError:t}))}})}))]}}))}))},e.prototype.markMutationResult=function(e,t){var n=this;void 0===t&&(t=this.cache);var r=e.result,o=[],i="no-cache"===e.fetchPolicy;if(!i&&Mr(r,e.errorPolicy)){if(Pe(r)||o.push({result:r.data,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables}),Pe(r)&&(0,Ee.O)(r.incremental)){var a=t.diff({id:"ROOT_MUTATION",query:this.transform(e.document).asQuery,variables:e.variables,optimistic:!1,returnPartialData:!0}),s=void 0;a.result&&(s=Se(a.result,r)),"undefined"!==typeof s&&(r.data=s,o.push({result:s,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables}))}var c=e.updateQueries;c&&this.queries.forEach((function(e,i){var a=e.observableQuery,s=a&&a.queryName;if(s&&Fr.call(c,s)){var u=c[s],l=n.queries.get(i),f=l.document,h=l.variables,p=t.diff({query:f,variables:h,returnPartialData:!0,optimistic:!1}),d=p.result;if(p.complete&&d){var g=u(d,{mutationResult:r,queryName:f&&re(f)||void 0,queryVariables:h});g&&o.push({result:g,dataId:"ROOT_QUERY",query:f,variables:h})}}}))}if(o.length>0||e.refetchQueries||e.update||e.onQueryUpdated||e.removeOptimistic){var u=[];if(this.refetchQueries({updateCache:function(t){i||o.forEach((function(e){return t.write(e)}));var a,s=e.update,c=!(Pe(a=r)||function(e){return"hasNext"in e&&"data"in e}(a))||Pe(r)&&!r.hasNext;if(s){if(!i){var u=t.diff({id:"ROOT_MUTATION",query:n.transform(e.document).asQuery,variables:e.variables,optimistic:!1,returnPartialData:!0});u.complete&&("incremental"in(r=(0,l.__assign)((0,l.__assign)({},r),{data:u.result}))&&delete r.incremental,"hasNext"in r&&delete r.hasNext)}c&&s(t,r,{context:e.context,variables:e.variables})}i||e.keepRootFields||!c||t.modify({id:"ROOT_MUTATION",fields:function(e,t){var n=t.fieldName,r=t.DELETE;return"__typename"===n?e:r}})},include:e.refetchQueries,optimistic:!1,removeOptimistic:e.removeOptimistic,onQueryUpdated:e.onQueryUpdated||null}).forEach((function(e){return u.push(e)})),e.awaitRefetchQueries||e.onQueryUpdated)return Promise.all(u).then((function(){return r}))}return Promise.resolve(r)},e.prototype.markMutationOptimistic=function(e,t){var n=this,o="function"===typeof e?e(t.variables):e;return this.cache.recordOptimisticTransaction((function(e){try{n.markMutationResult((0,l.__assign)((0,l.__assign)({},t),{result:{data:o}}),e)}catch(i){__DEV__&&r.kG.error(i)}}),t.mutationId)},e.prototype.fetchQuery=function(e,t,n){return this.fetchQueryObservable(e,t,n).promise},e.prototype.getQueryStore=function(){var e=Object.create(null);return this.queries.forEach((function(t,n){e[n]={variables:t.variables,networkStatus:t.networkStatus,networkError:t.networkError,graphQLErrors:t.graphQLErrors}})),e},e.prototype.resetErrors=function(e){var t=this.queries.get(e);t&&(t.networkError=void 0,t.graphQLErrors=[])},e.prototype.transform=function(e){var t=this.transformCache;if(!t.has(e)){var n=this.cache.transformDocument(e),r=Yt([Kt],te(n)),o=this.localState.clientQuery(n),i=r&&this.localState.serverQuery(r),a={document:n,hasClientExports:ge(n),hasForcedResolvers:this.localState.shouldForceResolvers(n),clientQuery:o,serverQuery:i,defaultVars:se(ne(n)),asQuery:(0,l.__assign)((0,l.__assign)({},n),{definitions:n.definitions.map((function(e){return"OperationDefinition"===e.kind&&"query"!==e.operation?(0,l.__assign)((0,l.__assign)({},e),{operation:"query"}):e}))})},s=function(e){e&&!t.has(e)&&t.set(e,a)};s(e),s(n),s(o),s(i)}return t.get(e)},e.prototype.getVariables=function(e,t){return(0,l.__assign)((0,l.__assign)({},this.transform(e).defaultVars),t)},e.prototype.watchQuery=function(e){"undefined"===typeof(e=(0,l.__assign)((0,l.__assign)({},e),{variables:this.getVariables(e.query,e.variables)})).notifyOnNetworkStatusChange&&(e.notifyOnNetworkStatusChange=!1);var t=new Dr(this),n=new Or({queryManager:this,queryInfo:t,options:e});return this.queries.set(n.queryId,t),t.init({document:n.query,observableQuery:n,variables:n.variables}),n},e.prototype.query=function(e,t){var n=this;return void 0===t&&(t=this.generateQueryId()),__DEV__?(0,r.kG)(e.query,"query option is required. You must specify your GraphQL document in the query option."):(0,r.kG)(e.query,17),__DEV__?(0,r.kG)("Document"===e.query.kind,'You must wrap the query string in a "gql" tag.'):(0,r.kG)("Document"===e.query.kind,18),__DEV__?(0,r.kG)(!e.returnPartialData,"returnPartialData option only supported on watchQuery."):(0,r.kG)(!e.returnPartialData,19),__DEV__?(0,r.kG)(!e.pollInterval,"pollInterval option only supported on watchQuery."):(0,r.kG)(!e.pollInterval,20),this.fetchQuery(t,e).finally((function(){return n.stopQuery(t)}))},e.prototype.generateQueryId=function(){return String(this.queryIdCounter++)},e.prototype.generateRequestId=function(){return this.requestIdCounter++},e.prototype.generateMutationId=function(){return String(this.mutationIdCounter++)},e.prototype.stopQueryInStore=function(e){this.stopQueryInStoreNoBroadcast(e),this.broadcastQueries()},e.prototype.stopQueryInStoreNoBroadcast=function(e){var t=this.queries.get(e);t&&t.stop()},e.prototype.clearStore=function(e){return void 0===e&&(e={discardWatches:!0}),this.cancelPendingFetches(__DEV__?new r.ej("Store reset while query was in flight (not completed in link chain)"):new r.ej(21)),this.queries.forEac
1h((function(e){e.observableQuery?e.networkStatus=Er.I.loading:e.stop()})),this.mutationStore&&(this.mutationStore=Object.create(null)),this.cache.reset(e)},e.prototype.getObservableQueries=function(e){var t=this;void 0===e&&(e="active");var n=new Map,o=new Map,i=new Set;return Array.isArray(e)&&e.forEach((function(e){var n;"string"===typeof e?o.set(e,!1):(n=e,(0,q.s)(n)&&"Document"===n.kind&&Array.isArray(n.definitions)?o.set(t.transform(e).document,!1):(0,q.s)(e)&&e.query&&i.add(e))})),this.queries.forEach((function(t,r){var i=t.observableQuery,a=t.document;if(i){if("all"===e)return void n.set(r,i);var s=i.queryName;if("standby"===i.options.fetchPolicy||"active"===e&&!i.hasObservers())return;("active"===e||s&&o.has(s)||a&&o.has(a))&&(n.set(r,i),s&&o.set(s,!0),a&&o.set(a,!0))}})),i.size&&i.forEach((function(e){var o=Rn("legacyOneTimeQuery"),i=t.getQuery(o).init({document:e.query,variables:e.variables}),a=new Or({queryManager:t,queryInfo:i,options:(0,l.__assign)((0,l.__assign)({},e),{fetchPolicy:"network-only"})});(0,r.kG)(a.queryId===o),i.setObservableQuery(a),n.set(o,a)})),__DEV__&&o.size&&o.forEach((function(e,t){e||__DEV__&&r.kG.warn("Unknown query ".concat("string"===typeof t?"named ":"").concat(JSON.stringify(t,null,2)," requested in refetchQueries options.include array"))})),n},e.prototype.reFetchObservableQueries=function(e){var t=this;void 0===e&&(e=!1);var n=[];return this.getObservableQueries(e?"all":"active").forEach((function(r,o){var i=r.options.fetchPolicy;r.resetLastResults(),(e||"standby"!==i&&"cache-only"!==i)&&n.push(r.refetch()),t.getQuery(o).setDiff(null)})),this.broadcastQueries(),Promise.all(n)},e.prototype.setObservableQuery=function(e){this.getQuery(e.queryId).setObservableQuery(e)},e.prototype.startGraphQLSubscription=function(e){var t=this,n=e.query,r=e.fetchPolicy,o=e.errorPolicy,i=e.variables,a=e.context,s=void 0===a?{}:a;n=this.transform(n).document,i=this.getVariables(n,i);var c=function(e){return t.getObservableFromLink(n,s,e).map((function(i){"no-cache"!==r&&(Mr(i,o)&&t.cache.write({query:n,result:i.data,dataId:"ROOT_SUBSCRIPTION",variables:e}),t.broadcastQueries());var a=vr(i),s=(0,we.ls)(i);if(a||s){var c={};throw a&&(c.graphQLErrors=i.errors),s&&(c.protocolErrors=i.extensions[we.YG]),new we.cA(c)}return i}))};if(this.transform(n).hasClientExports){var u=this.localState.addExportedVariables(n,i,s).then(c);return new Q((function(e){var t=null;return u.then((function(n){return t=n.subscribe(e)}),e.error),function(){return t&&t.unsubscribe()}}))}return c(i)},e.prototype.stopQuery=function(e){this.stopQueryNoBroadcast(e),this.broadcastQueries()},e.prototype.stopQueryNoBroadcast=function(e){this.stopQueryInStoreNoBroadcast(e),this.removeQuery(e)},e.prototype.removeQuery=function(e){this.fetchCancelFns.delete(e),this.queries.has(e)&&(this.getQuery(e).stop(),this.queries.delete(e))},e.prototype.broadcastQueries=function(){this.onBroadcast&&this.onBroadcast(),this.queries.forEach((function(e){return e.notify()}))},e.prototype.getLocalState=function(){return this.localState},e.prototype.getObservableFromLink=function(e,t,n,r){var o,i,a=this;void 0===r&&(r=null!==(o=null===t||void 0===t?void 0:t.queryDeduplication)&&void 0!==o?o:this.queryDeduplication);var s=this.transform(e).serverQuery;if(s){var c=this.inFlightLinkObservables,u=this.link,f={query:s,variables:n,operationName:re(s)||void 0,context:this.prepareContext((0,l.__assign)((0,l.__assign)({},t),{forceFetch:!r}))};if(t=f.context,r){var h=c.get(s)||new Map;c.set(s,h);var p=xn(n);if(!(i=h.get(p))){var d=new wr([dr(u,f)]);h.set(p,i=d),d.beforeNext((function(){h.delete(p)&&h.size<1&&c.delete(s)}))}}else i=new wr([dr(u,f)])}else i=new wr([Q.of({data:{}})]),t=this.prepareContext(t);var g=this.transform(e).clientQuery;return g&&(i=yr(i,(function(e){return a.localState.runResolvers({document:g,remoteResult:e,context:t,variables:n})}))),i},e.prototype.getResultsFromLink=function(e,t,n){var r=e.lastRequestId=this.generateRequestId(),o=this.cache.transformForLink(this.transform(e.document).document);return yr(this.getObservableFromLink(o,n.context,n.variables),(function(i){var a=mr(i),s=a.length>0;if(r>
1=e.lastRequestId){if(s&&"none"===n.errorPolicy)throw e.markError(new we.cA({graphQLErrors:a}));e.markResult(i,o,n,t),e.markReady()}var c={data:i.data,loading:!1,networkStatus:Er.I.ready};return s&&"ignore"!==n.errorPolicy&&(c.errors=a,c.networkStatus=Er.I.error),c}),(function(t){var n=(0,we.MS)(t)?t:new we.cA({networkError:t});throw r>=e.lastRequestId&&e.markError(n),n}))},e.prototype.fetchQueryObservable=function(e,t,n){return this.fetchConcastWithInfo(e,t,n).concast},e.prototype.fetchConcastWithInfo=function(e,t,n){var r=this;void 0===n&&(n=Er.I.loading);var o,i,a=this.transform(t.query).document,s=this.getVariables(a,t.variables),c=this.getQuery(e),u=this.defaultOptions.watchQuery,l=t.fetchPolicy,f=void 0===l?u&&u.fetchPolicy||"cache-first":l,h=t.errorPolicy,p=void 0===h?u&&u.errorPolicy||"none":h,d=t.returnPartialData,g=void 0!==d&&d,y=t.notifyOnNetworkStatusChange,v=void 0!==y&&y,m=t.context,b=void 0===m?{}:m,_=Object.assign({},t,{query:a,variables:s,fetchPolicy:f,errorPolicy:p,returnPartialData:g,notifyOnNetworkStatusChange:v,context:b}),T=function(e){_.variables=e;var o=r.fetchQueryByPolicy(c,_,n);return"standby"!==_.fetchPolicy&&o.sources.length>0&&c.observableQuery&&c.observableQuery.applyNextFetchPolicy("after-fetch",t),o},w=function(){return r.fetchCancelFns.delete(e)};if(this.fetchCancelFns.set(e,(function(e){w(),setTimeout((function(){return o.cancel(e)}))})),this.transform(_.query).hasClientExports)o=new wr(this.localState.addExportedVariables(_.query,_.variables,_.context).then(T).then((function(e){return e.sources}))),i=!0;else{var E=T(_.variables);i=E.fromLink,o=new wr(E.sources)}return o.promise.then(w,w),{concast:o,fromLink:i}},e.prototype.refetchQueries=function(e){var t=this,n=e.updateCache,r=e.include,o=e.optimistic,i=void 0!==o&&o,a=e.removeOptimistic,s=void 0===a?i?Rn("refetchQueries"):void 0:a,c=e.onQueryUpdated,u=new Map;r&&this.getObservableQueries(r).forEach((function(e,n){u.set(n,{oq:e,lastDiff:t.getQuery(n).getDiff()})}));var l=new Map;return n&&this.cache.batch({update:n,optimistic:i&&s||!1,removeOptimistic:s,onWatchUpdated:function(e,t,n){var r=e.watcher instanceof Dr&&e.watcher.observableQuery;if(r){if(c){u.delete(r.queryId);var o=c(r,t,n);return!0===o&&(o=r.refetch()),!1!==o&&l.set(r,o),o}null!==c&&u.set(r.queryId,{oq:r,lastDiff:n,diff:t})}}}),u.size&&u.forEach((function(e,n){var r,o=e.oq,i=e.lastDiff,a=e.diff;if(c){if(!a){var s=o.queryInfo;s.reset(),a=s.getDiff()}r=c(o,a,i)}c&&!0!==r||(r=o.refetch()),!1!==r&&l.set(o,r),n.indexOf("legacyOneTimeQuery")>=0&&t.stopQueryNoBroadcast(n)})),s&&this.cache.removeOptimistic(s),l},e.prototype.fetchQueryByPolicy=function(e,t,n){var r=this,o=t.query,i=t.variables,a=t.fetchPolicy,s=t.refetchWritePolicy,c=t.errorPolicy,u=t.returnPartialData,f=t.context,h=t.notifyOnNetworkStatusChange,p=e.networkStatus;e.init({document:this.transform(o).document,variables:i,networkStatus:n});var d=function(){return e.getDiff(i)},g=function(t,n){void 0===n&&(n=e.networkStatus||Er.I.loading);var a=t.result;!__DEV__||u||(0,qt.D)(a,{})||Pr(t.missing);var s=function(e){return Q.of((0,l.__assign)({data:e,loading:(0,Er.O)(n),networkStatus:n},t.complete?null:{partial:!0}))};return a&&r.transform(o).hasForcedResolvers?r.localState.runResolvers({document:o,remoteResult:{data:a},context:f,variables:i,onlyRunForcedResolvers:!0}).then((function(e){return s(e.data||void 0)})):"none"===c&&n===Er.I.refetch&&Array.isArray(t.missing)?s(void 0):s(a)},y="no-cache"===a?0:n===Er.I.refetch&&"merge"!==s?1:2,v=function(){return r.getResultsFromLink(e,y,{variables:i,context:f,fetchPolicy:a,errorPolicy:c})},m=h&&"number"===typeof p&&p!==n&&(0,Er.O)(n);switch(a){default:case"cache-first":return(b=d()).complete?{fromLink:!1,sources:[g(b,e.markReady())]}:u||m?{fromLink:!0,sources:[g(b),v()]}:{fromLink:!0,sources:[v()]};case"cache-and-network":var b;return(b=d()).complete||u||m?{fromLink:!0,sources:[g(b),v()]}:{fromLink:!0,sources:[v()]};case"cache-only":return{fromLink:!1,sources:[g(d(),e.markReady())]};case"network-only":return m?{fromLink:!0,sources:[g(d()),v()]}:{fromLink:!0,sources:[v()]};case"no-cache":return m?{fromLink:!0,sources:[g(e.getDiff()),v()]}:{fromLink:!0,sources:[v()]};case"standby":return{fromLink:!1,sources:[]}}},e.prototype.getQuery=function(e){return e&&!this.queries.has(e)&&this.queries.set(e,new Dr(this,e)),this.queries.get(e)},e.prototype.prepareContext=function(e){void 0===e&&(e={});var t=this.localState.prepareContext(e);return(0,l.__assign)((0,l.__assign)({},t),{clientAwareness:this.clientAwareness})},e}(),Qr=n(2511),qr=!1,Ur=function(){function e(e){var t=this;this.resetStoreCallbacks=[],this.clearStoreCallbacks=[];var n=e.uri,o=e.credentials,i=e.headers,a=e.cache,s=e.ssrMode,c=void 0!==s&&s,u=e.ssrForceFetchDelay,l=void 0===u?0:u,f=e.connectToDevTools,h=void 0===f?"object"===typeof window&&!window.__APOLLO_CLIENT__&&__DEV__:f,p=e.queryDeduplication,d=void 0===p||p,g=e.defaultOptions,y=e.assumeImmutableResults,v=void 0!==y&&y,m=e.resolvers,b=e.typeDefs,_=e.fragmentMatcher,T=e.name,w=e.version,E=e.link;if(E||(E=n?new gr({uri:n,credentials:o,headers:i}):he.empty()),!a)throw __DEV__?new r.ej("To initialize Apollo Client, you must specify a 'cache' property in the options object. \nFor more information, please visit: https://go.apollo.dev/c/docs"):new r.ej(9);if(this.link=E,this.cache=a,this.disableNetworkFetches=c||l>0,this.queryDeduplication=d,this.defaultOptions=g||Object.create(null),this.typeDefs=b,l&&setTimeout((function(){return t.disableNetworkFetches=!1}),l),this.watchQuery=this.watchQuery.bind(this),this.query=this.query.bind(this),this.mutate=this.mutate.bind(this),this.resetStore=this.resetStore.bind(this),this.reFetchObservableQueries=this.reFetchObservableQueries.bind(this),h&&"object"===typeof window&&(window.__APOLLO_CLIENT__=this),!qr&&h&&__DEV__&&(qr=!0,"undefined"!==typeof window&&window.document&&window.top===window.self&&!window.__APOLLO_DEVTOOLS_GLOBAL_HOOK__)){var C=window.navigator,x=C&&C.userAgent,O=void 0;"string"===typeof x&&(x.indexOf("Chrome/")>-1?O="https://chrome.google.com/webstore/detail/apollo-client-developer-t/jdkknkkbebbapilgoeccciglkfbmbnfm":x.indexOf("Firefox/")>-1&&(O="https://addons.mozilla.org/en-US/firefox/addon/apollo-developer-tools/")),O&&__DEV__&&r.kG.log("Download the Apollo DevTools for a better development experience: "+O)}this.version="3.7.12",this.localState=new Sr({cache:a,client:this,resolvers:m,fragmentMatcher:_}),this.queryManager=new Lr({cache:this.cache,link:this.link,defaultOptions:this.defaultOptions,queryDeduplication:d,ssrMode:c,clientAwareness:{name:T,version:w},localState:this.localState,assumeImmutableResults:v,onBroadcast:h?function(){t.devToolsHookCb&&t.devToolsHookCb({action:{},state:{queries:t.queryManager.getQueryStore(),mutations:t.queryManager.mutationStore||{}},dataWithOptimisticResults:t.cache.extract(!0)})}:void 0})}return e.prototype.stop=function(){this.queryManager.stop()},e.prototype.watchQuery=function(e){return this.defaultOptions.watchQuery&&(e=(0,Qr.J)(this.defaultOptions.watchQuery,e)),!this.disableNetworkFetches||"network-only"!==e.fetchPolicy&&"cache-and-network"!==e.fetchPolicy||(e=(0,l.__assign)((0,l.__assign)({},e),{fetchPolicy:"cache-first"})),this.queryManager.watchQuery(e)},e.prototype.query=function(e){return this.defaultOptions.query&&(e=(0,Qr.J)(this.defaultOptions.query,e)),__DEV__?(0,r.kG)("cache-and-network"!==e.fetchPolicy,"The cache-and-network fetchPolicy does not work with client.query, because client.query can only return a single result. Please use client.watchQuery to receive multiple results from the cache and the network, or consider using a different fetchPolicy, such as cache-first or network-only."):(0,r.kG)("cache-and-network"!==e.fetchPolicy,10),this.disableNetworkFetches&&"network-only"===e.fetchPolicy&&(e=(0,l.__assign)((0,l.__assign)({},e),{fetchPolicy:"cache-first"})),this.queryManager.query(e)},e.prototype.mutate=function(e){return this.defaultOptions.mutate&&(e=(0,Qr.J)(this.defaultOptions.mutate,e)),this.queryManager.mutate(e)},e.prototype.subscribe=function(e){return this.queryManager.startGraphQLSubscription(e)},e.prototype.readQuery=function(e,t){return void 0===t&&(t=!1),this.cache.readQuery(e,t)},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!1),this.cache.readFragment(e,t)},e.prototype.writeQuery=function(e){var t=this.cache.writeQuery(e);return!1!==e.broadcast&&this.queryManager.broadcastQueries(),t},e.prototype.writeFragment=function(e){var t=this.cache.writeFragment(e);return!1!==e.broadcast&&this.queryManager.broadcastQueries(),t},e.prototype.__actionHookForDevTools=function(e){this.devToolsHookCb=e},e.prototype.__requestRaw=function(e){return dr(this.link,e)},e.prototype.resetStore=function(){var e=this;return Promise.resolve().then((function(){return e.queryManager.clearStore({discardWatches:!1})})).then((function(){return Promise.all(e.resetStoreCallbacks.map((function(e){return e()})))})).then((function(){return e.reFetchObservableQueries()}))},e.prototype.clearStore=function(){var e=this;return Promise.resolve().then((function(){return e.queryManager.clearStore({discardWatches:!0})})).then((function(){return Promise.all(e.clearStoreCallbacks.map((function(e){return e()})))}))},e.prototype.onResetStore=function(e){var t=this;return this.resetStoreCallbacks.push(e),function(){t.resetStoreCallbacks=t.resetStoreCallbacks.filter((function(t){return t!==e}))}},e.prototype.onClearStore=function(e){var t=this;return this.clearStoreCallbacks.push(e),function(){t.clearStoreCallbacks=t.clearStoreCallbacks.filter((function(t){return t!==e}))}},e.prototype.reFetchObservableQueries=function(e){return this.queryManager.reFetchObservableQueries(e)},e.prototype.refetchQueries=function(e){var t=this.queryManager.refetchQueries(e),n=[],o=[];t.forEach((function(e,t){n.push(t),o.push(e)}));var i=Promise.all(o);return i.queries=n,i.results=o,i.catch((function(e){__DEV__&&r.kG.debug("In client.refetchQueries, Promise.all promise rejected with error ".concat(e))})),i},e.prototype.getObservableQueries=function(e){return void 0===e&&(e="active"),this.queryManager.getObservableQueries(e)},e.prototype.extract=function(e){return this.cache.extract(e)},e.prototype.restore=function(e){return this.cache.restore(e)},e.prototype.addResolvers=function(e){this.localState.addResolvers(e)},e.prototype.setResolvers=function(e){this.localState.setResolvers(e)},e.prototype.getResolvers=function(){return this.localState.getResolvers()},e.prototype.setLocalStateFragmentMatcher=function(e){this.localState.setFragmentMatcher(e)},e.prototype.setLink=function(e){this.link=this.queryManager.link=e},e}();var Br=n(7808),Vr=n(8952),zr=n(5848),Gr=n(3201);var $r=function(e){return"string"!==typeof e||""===e?(console.error("The namespace must be a non-empty string."),!1):!!/^[a-zA-Z][a-zA-Z0-9_.\-\/]*$/.test(e)||(console.error("The namespace can only contain numbers, letters, dashes, periods, underscores and slashes."),!1)};var Wr=function(e){return"string"!==typeof e||""===e?(console.error("The hook name must be a non-empty string."),!1):/^__/.test(e)?(console.error("The hook name cannot begin with `__`."),!1):!!/^[a-zA-Z][a-zA-Z0-9_.-]*$/.test(e)||(console.error("The hook name can only contain numbers, letters, dashes, periods and underscores."),!1)};var Yr=function(e,t){return function(n,r,o){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:10;const a=e[t];if(!Wr(n))return;if(!$r(r))return;if("function"!==typeof o)return void console.error("The hook callback must be a function.");
1if("number"!==typeof i)return void console.error("If specified, the hook priority must be a number.");const s={callback:o,priority:i,namespace:r};if(a[n]){const e=a[n].handlers;let t;for(t=e.length;t>0&&!(i>=e[t-1].priority);t--);t===e.length?e[t]=s:e.splice(t,0,s),a.__current.forEach((e=>{e.name===n&&e.currentIndex>=t&&e.currentIndex++}))}else a[n]={handlers:[s],runs:0};"hookAdded"!==n&&e.doAction("hookAdded",n,r,o,i)}};var Hr=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return function(r,o){const i=e[t];if(!Wr(r))return;if(!n&&!$r(o))return;if(!i[r])return 0;let a=0;if(n)a=i[r].handlers.length,i[r]={runs:i[r].runs,handlers:[]};else{const e=i[r].handlers;for(let t=e.length-1;t>=0;t--)e[t].namespace===o&&(e.splice(t,1),a++,i.__current.forEach((e=>{e.name===r&&e.currentIndex>=t&&e.currentIndex--})))}return"hookRemoved"!==r&&e.doAction("hookRemoved",r,o),a}};var Kr=function(e,t){return function(n,r){const o=e[t];return"undefined"!==typeof r?n in o&&o[n].handlers.some((e=>e.namespace===r)):n in o}};var Jr=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return function(r){const o=e[t];o[r]||(o[r]={handlers:[],runs:0}),o[r].runs++;const i=o[r].handlers;for(var a=arguments.length,s=new Array(a>1?a-1:0),c=1;c<a;c++)s[c-1]=arguments[c];if(!i||!i.length)return n?s[0]:void 0;const u={name:r,currentIndex:0};for(o.__current.push(u);u.currentIndex<i.length;){const e=i[u.currentIndex].callback.apply(null,s);n&&(s[0]=e),u.currentIndex++}return o.__current.pop(),n?s[0]:void 0}};var Zr=function(e,t){return function(){var n,r;const o=e[t];return null!==(n=null===(r=o.__current[o.__current.length-1])||void 0===r?void 0:r.name)&&void 0!==n?n:null}};var Xr=function(e,t){return function(n){const r=e[t];return"undefined"===typeof n?"undefined"!==typeof r.__current[0]:!!r.__current[0]&&n===r.__current[0].name}};var eo=function(e,t){return function(n){const r=e[t];if(Wr(n))return r[n]&&r[n].runs?r[n].runs:0}};class to{constructor(){this.actions=Object.create(null),this.actions.__current=[],this.filters=Object.create(null),this.filters.__current=[],this.addAction=Yr(this,"actions"),this.addFilter=Yr(this,"filters"),this.removeAction=Hr(this,"actions"),this.removeFilter=Hr(this,"filters"),this.hasAction=Kr(this,"actions"),this.hasFilter=Kr(this,"filters"),this.removeAllActions=Hr(this,"actions",!0),this.removeAllFilters=Hr(this,"filters",!0),this.doAction=Jr(this,"actions"),this.applyFilters=Jr(this,"filters",!0),this.currentAction=Zr(this,"actions"),this.currentFilter=Zr(this,"filters"),this.doingAction=Xr(this,"actions"),this.doingFilter=Xr(this,"filters"),this.didAction=eo(this,"actions"),this.didFilter=eo(this,"filters")}}var no=function(){return new to};const ro=no(),{addAction:oo,addFilter:io,removeAction:ao,removeFilter:so,hasAction:co,hasFilter:uo,removeAllActions:lo,removeAllFilters:fo,doAction:ho,applyFilters:po,currentAction:go,currentFilter:yo,doingAction:vo,doingFilter:mo,didAction:bo,didFilter:_o,actions:To,filters:wo}=ro,Eo=no();let Co;function xo(e){return Gr((()=>{Co=e;const{experimentalPlugins:t}=e;null===t||void 0===t||t.forEach((e=>{var t;null===(t=null===e||void 0===e?void 0:e.apply)||void 0===t||t.call(e,Eo)}))}))()}function Oo(){return function(e){const t=Br({},e,{loginPagePath:"/login",experimentalToolbar:!1});return Object.keys(t).forEach((e=>{const n=e,r=t[n];zr(r)&&(t[n]=r.trim())})),Vr(t,{})}(Co)}var Io=n(3748);function ko(e=""){let t=Io("https://blog.gudog.co.uk/","/");return t=Eo.applyFilters("wpUrl",t,{}),e?`${t}/${e}`:t}function Po(){const e=ko();let t=`${e}/graphql`;return t=Eo.applyFilters("graphqlEndpoint",t,{wpUrl:e}),t}n(2210);var No=n(5103),So=n(5387),Ao=n(5834);n(8612).Buffer;const jo=/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/;function Ro(e){if(!e)return;const t=jo.exec(e);return!No(t)||So(t)||Ao(t[4])&&"/"!==e[0]?void 0:{href:t[0],protocol:t[1],baseUrl:`${t[1]}${t[3]}`,host:t[4],pathname:t[5],search:t[6],hash:t[8]}}function Do(e,t){if(!zr(e)||!zr(t)||So(e)||So(t))return"";const n=Ro(e);if(Ao(n)||!zr(n.search))return"";let r=n.search;"?"===r[0]&&(r=r.substring(1));const o=r.split("&");for(let i=0;i<o.length;i+=1){const e=o[i].split("=");if(decodeURIComponent(e[0])===t)return decodeURIComponent(e[1])}return""}var Mo=n(9357);n(7220);Mo.bold.whiteBright,Mo.cyan,Mo.yellow,Mo.red,Mo.blueBright,Mo.magenta.italic;let Fo,Lo;function Qo(){return null===Lo||void 0===Lo?void 0:Lo.token}function qo(e,t){"undefined"!==typeof window&&(Lo={token:e,expiration:t})}function Uo(){const e=Math.floor(Date.now()/1e3),t=null===Lo||void 0===Lo?void 0:Lo.expiration;if(void 0===t)return;var n;n=setTimeout((()=>{Vo()}),1e3*(t-e-60)),Fo=n}function Bo(){void 0!==Fo&&clearTimeout(Fo)}async function Vo(e){let t="/api/faust/auth/token";zr(e)&&e.length>0&&(t+=`?code=${e}`);try{const e=await fetch(t,{method:"GET",headers:{"Content-Type":"application/json"}}),n=await e.json();return e.ok?(qo(n.accessToken,n.accessTokenExpiration),Bo(),Uo(),n.accessToken):(qo(void 0,void 0),null)}catch(n){return qo(void 0,void 0),null}}async function zo(e){const t=ko(),{redirectUri:n,loginPageUri:r}=e||{},o="undefined"!==typeof window?Do(window.location.href,"code"):void 0,i={};zr(n)&&(i.redirect=`${t}/generate?redirect_uri=${encodeURIComponent(n)}`),zr(r)&&(i.login=r);return await Vo(o)?(o&&window.history.replaceState({},document.title,function(e,t){const n=e.split("?");if(n.length>=2){const e=`${encodeURIComponent(t)}=`,r=n[1].split(/[&;]/g);for(let t=r.length;t-- >0;)-1!==r[t].lastIndexOf(e,0)&&r.splice(t,1);return n[0]+(r.length>0?`?${r.join("&")}`:"")}return e}(window.location.href,"code")),!0):i}const Go="undefined"!==typeof window?window.__APOLLO_STATE__:{};let $o,Wo;function Yo(e=!1){const{possibleTypes:t}=Oo();let n={possibleTypes:t,typePolicies:{RootQuery:{queryType:!0},RootMutation:{mutationType:!0}}};n=Eo.applyFilters("apolloClientInMemoryCacheOptions",n,{});const r=et({uri:Po()}),o=(i=(e,{headers:t})=>{const n=Qo();return{headers:Object.assign(Object.assign({},t),{authorization:n?`Bearer ${n}`:""})}},new he((function(e,t){var n=(0,l.__rest)(e,[]);return new Q((function(r){var o,a=!1;return Promise.resolve(n).then((function(t){return i(t,e.getContext())})).then(e.setContext).then((function(){a||(o=t(e).subscribe({next:r.next.bind(r),error:r.error.bind(r),complete:r.complete.bind(r)}))}
1)).catch(r.error.bind(r)),function(){a=!0,o&&o.unsubscribe()}}))})));var i;let a={ssrMode:"undefined"===typeof window,connectToDevTools:"undefined"!==typeof window,link:e?o.concat(r):r,cache:new pr(n).restore(Go)};return a=Eo.applyFilters("apolloClientOptions",a,{}),new Ur(a)}function Ho(e=null){const t=null!==$o&&void 0!==$o?$o:Yo();if(e){const n=t.extract(),r=c(n,e,{arrayMerge:(e,t)=>[...t,...e.filter((e=>t.every((t=>!u(e,t)))))]});t.cache.restore(r)}return"undefined"===typeof window||$o||($o=t),t}function Ko(e=""){const t=ko("wp-admin");return e?`${t}/${e}`:t}function Jo({seedNode:e}){if(void 0===e||(null===e||void 0===e?void 0:e.isFrontPage)||(null===e||void 0===e?void 0:e.isPostsPage))return null;const t=(null===e||void 0===e?void 0:e.__typename)||"",n=Ko(`post.php?post=${(null===e||void 0===e?void 0:e.databaseId)||""}&action=edit`);return o.createElement(di,{href:n},"Edit ",t)}const Zo={backgroundImage:"url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0MDAgNDAwIj48cGF0aCBmaWxsPSIjRTEwMDk4IiBkPSJNNTcuNDY4IDMwMi42NmwtMTQuMzc2LTguMyAxNjAuMTUtMjc3LjM4IDE0LjM3NiA4LjN6Ii8+PHBhdGggZmlsbD0iI0UxMDA5OCIgZD0iTTM5LjggMjcyLjJoMzIwLjN2MTYuNkgzOS44eiIvPjxwYXRoIGZpbGw9IiNFMTAwOTgiIGQ9Ik0yMDYuMzQ4IDM3NC4wMjZsLTE2MC4yMS05Mi41IDguMy0xNC4zNzYgMTYwLjIxIDkyLjV6TTM0NS41MjIgMTMyLjk0N2wtMTYwLjIxLTkyLjUgOC4zLTE0LjM3NiAxNjAuMjEgOTIuNXoiLz48cGF0aCBmaWxsPSIjRTEwMDk4IiBkPSJNNTQuNDgyIDEzMi44ODNsLTguMy0xNC4zNzUgMTYwLjIxLTkyLjUgOC4zIDE0LjM3NnoiLz48cGF0aCBmaWxsPSIjRTEwMDk4IiBkPSJNMzQyLjU2OCAzMDIuNjYzbC0xNjAuMTUtMjc3LjM4IDE0LjM3Ni04LjMgMTYwLjE1IDI3Ny4zOHpNNTIuNSAxMDcuNWgxNi42djE4NUg1Mi41ek0zMzAuOSAxMDcuNWgxNi42djE4NWgtMTYuNnoiLz48cGF0aCBmaWxsPSIjRTEwMDk4IiBkPSJNMjAzLjUyMiAzNjdsLTcuMjUtMTIuNTU4IDEzOS4zNC04MC40NSA3LjI1IDEyLjU1N3oiLz48cGF0aCBmaWxsPSIjRTEwMDk4IiBkPSJNMzY5LjUgMjk3LjljLTkuNiAxNi43LTMxIDIyLjQtNDcuNyAxMi44LTE2LjctOS42LTIyLjQtMzEtMTIuOC00Ny43IDkuNi0xNi43IDMxLTIyLjQgNDcuNy0xMi44IDE2LjggOS43IDIyLjUgMzEgMTIuOCA0Ny43TTkwLjkgMTM3Yy05LjYgMTYuNy0zMSAyMi40LTQ3LjcgMTIuOC0xNi43LTkuNi0yMi40LTMxLTEyLjgtNDcuNyA5LjYtMTYuNyAzMS0yMi40IDQ3LjctMTIuOCAxNi43IDkuNyAyMi40IDMxIDEyLjggNDcuN00zMC41IDI5Ny45Yy05LjYtMTYuNy0zLjktMzggMTIuOC00Ny43IDE2LjctOS42IDM4LTMuOSA0Ny43IDEyLjggOS42IDE2LjcgMy45IDM4LTEyLjggNDcuNy0xNi44IDkuNi0zOC4xIDMuOS00Ny43LTEyLjhNMzA5LjEgMTM3Yy05LjYtMTYuNy0zLjktMzggMTIuOC00Ny43IDE2LjctOS42IDM4LTMuOSA0Ny43IDEyLjggOS42IDE2LjcgMy45IDM4LTEyLjggNDcuNy0xNi43IDkuNi0zOC4xIDMuOS00Ny43LTEyLjhNMjAwIDM5NS44Yy0xOS4zIDAtMzQuOS0xNS42LTM0LjktMzQuOSAwLTE5LjMgMTUuNi0zNC45IDM0LjktMzQuOSAxOS4zIDAgMzQuOSAxNS42IDM0LjkgMzQuOSAwIDE5LjItMTUuNiAzNC45LTM0LjkgMzQuOU0yMDAgNzRjLTE5LjMgMC0zNC45LTE1LjYtMzQuOS0zNC45IDAtMTkuMyAxNS42LTM0LjkgMzQuOS0zNC45IDE5LjMgMCAzNC45IDE1LjYgMzQuOSAzNC45IDAgMTkuMy0xNS42IDM0LjktMzQuOSAzNC45Ii8+PC9zdmc+')",float:"left",width:"22px",height:"22px",marginLeft:"5px",marginTop:"5px",marginRight:"5px"};function Xo({url:e=Ko("admin.php?page=graphiql-ide"),title:t="GraphiQL IDE"}){return o.createElement(di,{href:e},o.createElement("span",{className:"custom-icon",style:Zo}),t)}var ei=n(2192),ti=n(4923);function ni(e){const t=Br(e,{strategy:"redirect",shouldRedirect:!1});if("local"===t.strategy&&!t.loginPageUrl)throw new Error('useAuth: Local strategies must specify the "loginPageUrl"');const[n,r]=(0,o.useState)(null),[i,a]=(0,o.useState)(!1),[s,c]=(0,o.useState)(null);return(0,o.useEffect)((()=>{const e={redirectUri:window.location.href};"local"===t.strategy&&(e.loginPageUri=`/${Io(t.loginPageUrl,"/")}?redirect_uri=${encodeURIComponent(window.location.href)}`),(async()=>{const n=await zo(e);r(!0===n),!0!==n&&(null===n||void 0===n?void 0:n.login)&&"local"===t.strategy&&c(n.login),!0!==n&&(null===n||void 0===n?void 0:n.redirect)&&"redirect"===t.strategy&&c(n.redirect),a(!0)})()}),[]),(0,o.useEffect)((()=>{t.shouldRedirect&&i&&!1===n&&s&&setTimeout((()=>{window.location.assign(s)}),200)}),[i,n,s,t]),{isAuthenticated:n,isReady:i,loginUrl:s}}function ri(){var e,t,n,r,i,a,s;const c=function(){const e=null!==Wo&&void 0!==Wo?Wo:Yo(!0);return Wo||(Wo=e),e}(),{logout:u}=function(){const[e,t]=(0,o.useState)(void 0),[n,r]=(0,o.useState)(!1);return{error:e,logout:async function(e){r(!0);const n=await fetch("/api/faust/auth/logout",{method:"POST"});if(!n.ok)return t(n),void r(!1);e?window.location.assign(e):window.location.reload(),r(!1)},loading:n}}(),{data:l,loading:f}=(0,ei.a)(ti.Ps` 2 { 3 viewer { 4 name 5 username 6 avatar26: avatar(size: 26) { 7 url 8 } 9 avatar52: avatar(size: 52) { 10 url 11 } 12 avatar64: avatar(size: 64) { 13 url 14 } 15 avatar128: avatar(size: 128) { 16 url 17 } 18 } 19 } 20 `,{client:c});return f?o.createElement(hi,null):o.createElement(o.Fragment,null,o.createElement(di,{"aria-haspopup":"true",href:Ko("profile.php")},"Howdy, ",o.createElement("span",{className:"display-name"},null===(e=null===l||void 0===l?void 0:l.viewer)||void 0===e?void 0:e.name),o.createElement("img",{alt:"",src:null===(t=null===l||void 0===l?void 0:l.viewer)||void 0===t?void 0:t.avatar26.url,srcSet:`${null===(n=null===l||void 0===l?void 0:l.viewer)||void 0===n?void 0:n.avatar52.url} 2x`,className:"avatar avatar-26 photo",height:"26",width:"26",loading:"lazy",decoding:"async"})),o.createElement(mi,null,o.createElement(yi,{id:"wp-admin-bar-user-actions"},o.createElement("li",{id:"wp-admin-bar-user-info"},o.createElement(di,{tabIndex:-1,href:Ko("profile.php")},o.createElement("img",{alt:"",src:null===(r=null===l||void 0===l?void 0:l.viewer)||void 0===r?void 0:r.avatar64.url,srcSet:`${null===(i=null===l||void 0===l?void 0:l.viewer)||void 0===i?void 0:i.avatar128.url} 2x`,className:"avatar avatar-64 photo",height:"64",width:"64",loading:"lazy",decoding:"async"}),o.createElement("span",{className:"display-name"},null===(a=null===l||void 0===l?void 0:l.viewer)||void 0===a?void 0:a.name),o.createElement("span",{className:"username"},null===(s=null===l||void 0===l?void 0:l.viewer)||void 0===s?void 0:s.username))),o.createElement("li",{id:"wp-admin-bar-edit-profile"},o.createElement(di,{href:Ko("profile.php")},"Edit Profile")),o.createElement("li",{id:"wp-admin-bar-logout"},o.createElement(di,{href:"",handleClick:()=>u()},"Log Out")))))}function oi(){const{isAuthenticated:e,isReady:t}=ni({strategy:"redirect",shouldRedirect:!1});return t?!0===e?o.createElement(ri,null):null:o.createElement(hi,null)}var ii=n(1471),ai=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};function si(e){return e?`wp-admin-bar-${e}`:""}function ci(e){var{id:t="",children:n,additionalClassNames:r=""}=e,i=ai(e,["id","children","additionalClassNames"]);const[a,s]=(0,o.useState)(!1);return o.createElement("li",Object.assign({id:si(t),className:ii("menupop",{hover:a},r),onMouseEnter:()=>{s(!0)},onMouseLeave:()=>{s(!1)}},i),n)}function ui({url:e=Ko(),title:t="WordPress"}){return o.createElement(di,{href:e},t)}var li=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};function fi({seedNode:e}){const t=(0,o.useMemo)((()=>[{id:"site-name",location:"primary",component:o.createElement(ui,null)},{id:"edit",location:"primary",component:o.createElement(Jo,{seedNode:e})},{id:"graphiql",location:"primary",component:o.createElement(Xo,null)},{id:"my-account",location:"secondary",component:o.createElement(oi,null),additionalClassNames:"with-avatar"}]),[e]),[n,r]=(0,o.useState)(t),{isAuthenticated:i}=ni();(0,o.useEffect)((()=>
20{if(!i)return;const n=Eo.applyFilters("toolbarNodes",t,{seedNode:e});if(new Set(n.map((e=>e.id))).size<n.length)throw new Error("Toolbar Nodes must have unique keys.");r(n)}),[t,e,i]),(0,o.useEffect)((()=>{if(i)return null===document||void 0===document||document.body.classList.add("admin-bar"),()=>{null===document||void 0===document||document.body.classList.remove("admin-bar")}}),[i]);const a=n.filter((({location:e})=>"primary"===e)),s=n.filter((({location:e})=>"secondary"===e));return!0!==i?null:o.createElement("div",{id:"wpadminbar",className:"nojq"},o.createElement("div",{id:"wp-toolbar",className:"quicklinks",role:"navigation","aria-label":"Toolbar"},o.createElement("ul",{id:"wp-admin-bar-root-default",className:"ab-top-menu","aria-label":"primary toolbar menu items"},a.map((e=>{var{component:t,id:n}=e,r=li(e,["component","id"]);return o.createElement(ci,Object.assign({key:n,id:n},r),t)}))),o.createElement("ul",{id:"wp-admin-bar-top-secondary",className:"ab-top-secondary ab-top-menu","aria-label":"secondary toolbar menu items"},s.map((e=>{var{component:t,id:n}=e,r=li(e,["component","id"]);return o.createElement(ci,Object.assign({key:n,id:n},r),t)})))))}function hi(){return o.createElement("div",{className:"toolbar-node-skeleton-wrapper"},o.createElement("div",{"aria-hidden":"true",className:"toolbar-node-skeleton"}))}var pi=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};function di(e){var{href:t,handleClick:n,children:r}=e,i=pi(e,["href","handleClick","children"]);return o.createElement("a",Object.assign({role:"menuitem",tabIndex:0,className:"ab-item",onClick:n,onKeyDown:n,href:t},i),r)}var gi=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};function yi(e){var{secondary:t,children:n}=e,r=gi(e,["secondary","children"]);return o.createElement("ul",Object.assign({className:ii("ab-submenu",{"ab-sub-secondary":t})},r),n)}var vi=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};function mi(e){var{children:t}=e,n=vi(e,["children"]);return o.createElement("div",Object.assign({className:"ab-sub-wrapper"},n),t)}function bi(e){const{pageProps:t,children:n}=e,{experimentalToolbar:r}=Oo(),i=(0,s.useRouter)(),c=function(e){const t=e.__APOLLO_STATE__;return(0,o.useMemo)((()=>Ho(t)),[t])}(t);return o.createElement(a,{client:c},r&&o.createElement(fi,{key:`faust-toolbar-${i.asPath}`,seedNode:t.__SEED_NODE__}),n)}function _i(e,t){if(!e)return null;const n=function(e){var t,n,r,o,i,a,s,c,u,l,f,h,p,d,g,y,v;let m=[];if(e.isFrontPage&&m.push("front-page"),e.isPostsPage&&m.push("home"),"ContentType"===e.__typename&&!1===e.isPostsPage&&(e.name&&m.push(`archive-${e.name}`),m.push("archive")),e.isTermNode){const{taxonomyName:t}=e;switch(t){case"category":e.slug&&m.push(`category-${e.slug}`),e.databaseId&&m.push(`category-${e.databaseId}`),m.push("category");break;case"post_tag":e.slug&&m.push(`tag-${e.slug}`),e.databaseId&&m.push(`tag-${e.databaseId}`),m.push("tag");break;default:t&&(e.slug&&m.push(`taxonomy-${t}-${e.slug}`),e.databaseId&&m.push(`taxonomy-${t}-${e.databaseId}`),m.push(`taxonomy-${t}`)),m.push("taxonomy")}m.push("archive")}return e.userId&&(e.name&&m.push(`author-${null===(t=e.name)||void 0===t?void 0:t.toLocaleLowerCase()}`),m.push(`author-${e.userId}`),m.push("author"),m.push("archive")),e.isContentNode&&("page"!==(null===(r=null===(n=null===e||void 0===e?void 0:e.contentType)||void 0===n?void 0:n.node)||void 0===r?void 0:r.name)&&"post"!==(null===(i=null===(o=null===e||void 0===e?void 0:e.contentType)||void 0===o?void 0:o.node)||void 0===i?void 0:i.name)&&((null===(s=null===(a=e.contentType)||void 0===a?void 0:a.node)||void 0===s?void 0:s.name)&&e.slug&&m.push(`
20single-${null===(u=null===(c=e.contentType)||void 0===c?void 0:c.node)||void 0===u?void 0:u.name}-${e.slug}`),(null===(f=null===(l=e.contentType)||void 0===l?void 0:l.node)||void 0===f?void 0:f.name)&&m.push(`single-${null===(p=null===(h=e.contentType)||void 0===h?void 0:h.node)||void 0===p?void 0:p.name}`)),"page"===(null===(g=null===(d=null===e||void 0===e?void 0:e.contentType)||void 0===d?void 0:d.node)||void 0===g?void 0:g.name)&&(e.slug&&m.push(`page-${e.slug}`),e.databaseId&&m.push(`page-${e.databaseId}`),m.push("page")),"post"===(null===(v=null===(y=null===e||void 0===e?void 0:e.contentType)||void 0===y?void 0:y.node)||void 0===v?void 0:v.name)&&(e.slug&&m.push(`single-${e.contentType.node.name}-${e.slug}`),m.push(`single-${e.contentType.node.name}`),m.push("single")),m.push("singular")),m.push("index"),m=Eo.applyFilters("possibleTemplatesList",m,{seedNode:e}),m}(e);for(let r=0;r<n.length;r++){const e=n[r];if(t[e])return t[e]}return null}const Ti=ti.Ps` 21 query GetNodeByUri($uri: String!) { 22 node: nodeByUri(uri: $uri) { 23 ...NodeByUri 24 } 25 } 26 27 fragment NodeByUri on UniformResourceIdentifiable { 28 __typename 29 uri 30 id 31 ...DatabaseIdentifier 32 ...ContentType 33 ...User 34 ...TermNode 35 ...ContentNode 36 ...MediaItem 37 ...Page 38 } 39 40 fragment DatabaseIdentifier on DatabaseIdentifier { 41 databaseId 42 } 43 44 fragment MediaItem on MediaItem { 45 id 46 mimeType 47 } 48 49 fragment ContentType on ContentType { 50 name 51 isFrontPage 52 53 # This is currently broken. The home page (blog page) can not be 54 # resolved when set to a custom page until the below issue is resolved. 55 # Link: https://github.com/wp-graphql/wp-graphql/issues/2514 56 isPostsPage 57 } 58 59 fragment Page on Page { 60 isFrontPage 61 isPostsPage 62 } 63 64 fragment TermNode on TermNode { 65 isTermNode 66 slug 67 taxonomyName 68 } 69 70 fragment ContentNode on ContentNode { 71 isContentNode 72 slug 73 contentType { 74 node { 75 name 76 } 77 } 78 template { 79 templateName 80 } 81 } 82 83 fragment User on User { 84 name 85 userId 86 databaseId 87 } 88`;function wi(e){const{templates:t}=Oo();if(!t)throw new Error("Templates are required. Please add them to your config.");const{__SEED_NODE__:n,__TEMPLATE_QUERY_DATA__:r}=e,[i,a]=(0,o.useState)(n),s=_i(i,t),[c,u]=(0,o.useState)(r),[l,f]=(0,o.useState)(null===s),[h,p]=(0,o.useState)(!r&&null),[d,g]=(0,o.useState)(null);if((0,o.useEffect)((()=>{window&&p(window.location.search.includes("preview=true"))}),[]),(0,o.useEffect)((()=>{null!==h&&!1!==h&&(async()=>{const e=await zo({redirectUri:window.location.href});!0!==e&&(null===e||void 0===e?void 0:e.redirect)&&window.location.replace(e.redirect),g(e)})()}),[h]),(0,o.useEffect)((()=>{null!==h&&(!0===h&&!0!==d||(async()=>{var e;const t=Ho();let n=window.location.href.replace(window.location.origin,"");if(h&&(n=Do(window.location.href,"previewPathname"),""===n))throw new Error('The URL must contain the proper "previewPathname" query param for previews.');let r={query:Ti,variables:{uri:n}};if(h&&(r=Object.assign(Object.assign({},r),{context:{headers:{Authorization:`bearer ${Qo()}`}}})),!i){f(!0);const n=await t.query(r),o=null===(e=null===n||void 0===n?void 0:n.data)||void 0===e?void 0:e.node;a(o)}})())}),[i,h,d]),(0,o.useEffect)((()=>{null!==h&&(!0===h&&!0!==d||(async()=>{const e=Ho();if(s&&(null===s||void 0===s?void 0:s.query)&&i&&!c){f(!0);let t={query:null===s||void 0===s?void 0:s.query,variables:(null===s||void 0===s?void 0:s.variables)?null===s||void 0===s?void 0:s.variables(i,{asPreview:h}):void 0};h&&(t=Object.assign(Object.assign({},t),{context:{headers:{Authorization:`bearer ${Qo()}`}}}));const n=await e.query(t);u(n.data),f(!1)}})())}),[c,s,i,h,d]),!s)return null;const y=s;return o.createElement(y,Object.assign(Object.assign({},e),{data:c,loading:l}),null)}n(8998),n(4358);n(6273);n(8051),n(7443),n(7220);n(69);n(1178);n(2936),n(0);ti.Ps` 89 mutation GenerateAuthorizationCode( 90 $email: String 91 $username: String 92 $password: String! 93 ) { 94 generateAuthorizationCode( 95 input: { email: $email, username: $username, password: $password } 96 ) { 97 code 98 error 99 } 100 } 101`},7589:function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{Z:function(){return r}})},8314:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(7589);function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},o=Object.keys(n);
101"function"===typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),o.forEach((function(t){(0,r.Z)(e,t,n[t])}))}return e}},4985:function(e,t,n){"use strict";function r(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})),e}n.d(t,{Z:function(){return r}})},1706:function(e,t,n){"use strict";function r(e,t){if(!Boolean(e))throw new Error(t)}n.d(t,{a:function(){return r}})},3274:function(e,t,n){"use strict";n.d(t,{X:function(){return r}});function r(e){return o(e,[])}function o(e,t){switch(typeof e){case"string":return JSON.stringify(e);case"function":return e.name?`[function ${e.name}]`:"[function]";case"object":return function(e,t){if(null===e)return"null";if(t.includes(e))return"[Circular]";const n=[...t,e];if(function(e){return"function"===typeof e.toJSON}(e)){const t=e.toJSON();if(t!==e)return"string"===typeof t?t:o(t,n)}else if(Array.isArray(e))return function(e,t){if(0===e.length)return"[]";if(t.length>2)return"[Array]";const n=Math.min(10,e.length),r=e.length-n,i=[];for(let a=0;a<n;++a)i.push(o(e[a],t));1===r?i.push("... 1 more item"):r>1&&i.push(`... ${r} more items`);return"["+i.join(", ")+"]"}(e,n);return function(e,t){const n=Object.entries(e);if(0===n.length)return"{}";if(t.length>2)return"["+function(e){const t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if("Object"===t&&"function"===typeof e.constructor){const t=e.constructor.name;if("string"===typeof t&&""!==t)return t}return t}(e)+"]";const r=n.map((([e,n])=>e+": "+o(n,t)));return"{ "+r.join(", ")+" }"}(e,n)}(e,t);default:return String(e)}}},2531:function(e,t,n){"use strict";n.d(t,{UG:function(){return s},WU:function(){return o},Ye:function(){return r},h8:function(){return i},ku:function(){return c}});class r{constructor(e,t,n){this.start=e.start,this.end=t.end,this.startToken=e,this.endToken=t,this.source=n}get[Symbol.toStringTag](){return"Location"}toJSON(){return{start:this.start,end:this.end}}}class o{constructor(e,t,n,r,o,i){this.kind=e,this.start=t,this.end=n,this.line=r,this.column=o,this.value=i,this.prev=null,this.next=null}get[Symbol.toStringTag](){return"Token"}toJSON(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}}}const i={Name:[],Document:["definitions"],OperationDefinition:["name","variableDefinitions","directives","selectionSet"],VariableDefinition:["variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["description","directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","interfaces","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","interfaces","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"]},a=new Set(Object.keys(i));function s(e){const t=null===e||void 0===e?void 0:e.kind;return"string"===typeof t&&a.has(t)}var c;!function(e){e.QUERY="query",e.MUTATION="mutation",e.SUBSCRIPTION="subscription"}(c||(c={}))},8013:function(e,t,n){"use strict";n.d(t,{LZ:function(){return a},wv:function(){return o}});var r=n(4823);function o(e){var t;let n=Number.MAX_SAFE_INTEGER,r=null,o=-1;for(let s=0;s<e.length;++s){var a;const t=e[s],c=i(t);c!==t.length&&(r=null!==(a=r)&&void 0!==a?a:s,o=s,0!==s&&c<n&&(n=c))}return e.map(((e,t)=>0===t?e:e.slice(n))).slice(null!==(t=r)&&void 0!==t?t:0,o+1)}function i(e){let t=0;for(;t<e.length&&(0,r.FD)(e.charCodeAt(t));)++t;return t}function a(e,t){const n=e.replace(/"""/g,'\\"""'),o=n.split(/\r\n|[\n\r]/g),i=1===o.length,a=o.length>1&&o.slice(1).every((e=>0===e.length||(0,r.FD)(e.charCodeAt(0)))),s=n.endsWith('\\"""'),c=e.endsWith('"')&&!s,u=e.endsWith("\\"),l=c||u,f=!(null!==t&&void 0!==t&&t.minimize)&&(!i||e.length>70||l||a||s);let h="";const p=i&&(0,r.FD)(e.charCodeAt(0));return(f&&!p||a)&&(h+="\n"),h+=n,(f||l)&&(h+="\n"),'"""'+h+'"""'}},4823:function(e,t,n){"use strict";function r(e){return 9===e||32===e}function o(e){return e>=48&&e<=57}function i(e){return e>=97&&e<=122||e>=65&&e<=90}function a(e){return i(e)||95===e}function s(e){return i(e)||o(e)||95===e}n.d(t,{FD:function(){return r},HQ:function(){return s},LQ:function(){return a},X1:function(){return o}})},9992:function(e,t,n){"use strict";var r;n.d(t,{h:function(){return r}}),function(e){e.NAME="Name",e.DOCUMENT="Document",e.OPERATION_DEFINITION="OperationDefinition",e.VARIABLE_DEFINITION="VariableDefinition",e.SELECTION_SET="SelectionSet",e.FIELD="Field",e.ARGUMENT="Argument",e.FRAGMENT_SPREAD="FragmentSpread",e.INLINE_FRAGMENT="InlineFragment",e.FRAGMENT_DEFINITION="FragmentDefinition",e.VARIABLE="Variable",e.INT="IntValue",e.FLOAT="FloatValue",e.STRING="Str
101ingValue",e.BOOLEAN="BooleanValue",e.NULL="NullValue",e.ENUM="EnumValue",e.LIST="ListValue",e.OBJECT="ObjectValue",e.OBJECT_FIELD="ObjectField",e.DIRECTIVE="Directive",e.NAMED_TYPE="NamedType",e.LIST_TYPE="ListType",e.NON_NULL_TYPE="NonNullType",e.SCHEMA_DEFINITION="SchemaDefinition",e.OPERATION_TYPE_DEFINITION="OperationTypeDefinition",e.SCALAR_TYPE_DEFINITION="ScalarTypeDefinition",e.OBJECT_TYPE_DEFINITION="ObjectTypeDefinition",e.FIELD_DEFINITION="FieldDefinition",e.INPUT_VALUE_DEFINITION="InputValueDefinition",e.INTERFACE_TYPE_DEFINITION="InterfaceTypeDefinition",e.UNION_TYPE_DEFINITION="UnionTypeDefinition",e.ENUM_TYPE_DEFINITION="EnumTypeDefinition",e.ENUM_VALUE_DEFINITION="EnumValueDefinition",e.INPUT_OBJECT_TYPE_DEFINITION="InputObjectTypeDefinition",e.DIRECTIVE_DEFINITION="DirectiveDefinition",e.SCHEMA_EXTENSION="SchemaExtension",e.SCALAR_TYPE_EXTENSION="ScalarTypeExtension",e.OBJECT_TYPE_EXTENSION="ObjectTypeExtension",e.INTERFACE_TYPE_EXTENSION="InterfaceTypeExtension",e.UNION_TYPE_EXTENSION="UnionTypeExtension",e.ENUM_TYPE_EXTENSION="EnumTypeExtension",e.INPUT_OBJECT_TYPE_EXTENSION="InputObjectTypeExtension"}(r||(r={}))},5418:function(e,t,n){"use strict";n.d(t,{H:function(){return a},T:function(){return s}});var r=n(1706),o=n(3274);const i=function(e,t){return e instanceof t};class a{constructor(e,t="GraphQL request",n={line:1,column:1}){"string"===typeof e||(0,r.a)(!1,`Body must be a string. Received: ${(0,o.X)(e)}.`),this.body=e,this.name=t,this.locationOffset=n,this.locationOffset.line>0||(0,r.a)(!1,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||(0,r.a)(!1,"column in locationOffset is 1-indexed and must be positive.")}get[Symbol.toStringTag](){return"Source"}}function s(e){return i(e,a)}}},function(e){var t=function(t){return e(e.s=t)};e.O(0,[774,179],(function(){return t(6840),t(9463)}));var n=e.O();_N_E=n}]); 102//# sourceMappingURL=_app-b293b3de14e57a88.js.map
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.