1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[888],{8751:function(e,t,n){"use strict";n.d(t,{g7:function(){return u}});var r=null,i={},o=1,a="@wry/context:Slot",s=Array,u=s[a]||function(){var e=function(){function e(){this.id=["slot",o++,Date.now(),Math.random().toString(36).slice(2)].join(":")}return e.prototype.hasValue=function(){for(var e=r;e;e=e.parent)if(this.id in e.slots){var t=e.slots[this.id];if(t===i)break;return e!==r&&(r.slots[this.id]=t),!0}return r&&(r.slots[this.id]=i),!1},e.prototype.getValue=function(){if(this.hasValue())return r.slots[this.id]},e.prototype.withValue=function(e,t,n,i){var o,a=((o={__proto__:null})[this.id]=e,o),s=r;r={parent:s,slots:a};try{return t.apply(i,n)}finally{r=s}},e.bind=function(e){var t=r;return function(){var n=r;try{return r=t,e.apply(this,arguments)}finally{r=n}}},e.noContext=function(e,t,n){if(!r)return e.apply(n,t);var i=r;try{return r=null,e.apply(n,t)}finally{r=i}},e}();try{Object.defineProperty(s,a,{value:s[a]=e,enumerable:!1,writable:!1,configurable:!1})}finally{return e}}();u.bind,u.noContext},2152:function(e,t,n){"use strict";n.d(t,{D:function(){return u}});var r=Object.prototype,i=r.toString,o=r.hasOwnProperty,a=Function.prototype.toString,s=new Map;function u(e,t){try{return c(e,t)}finally{s.clear()}}function c(e,t){if(e===t)return!0;var n=i.call(e);if(n!==i.call(t))return!1;switch(n){case"[object Array]":if(e.length!==t.length)return!1;case"[object Object]":if(d(e,t))return!0;var r=l(e),s=l(t),u=r.length;if(u!==s.length)return!1;for(var f=0;f<u;++f)if(!o.call(t,r[f]))return!1;for(f=0;f<u;++f){var h=r[f];if(!c(e[h],t[h]))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==""+t;case"[object Map]":case"[object Set]":if(e.size!==t.size)return!1;if(d(e,t))return!0;for(var v=e.entries(),y="[object Map]"===n;;){var m=v.next();if(m.done)break;var g=m.value,b=g[0],w=g[1];if(!t.has(b))return!1;if(y&&!c(w,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 x=e.byteLength;if(x===t.byteLength)for(;x--&&e[x]===t[x];);return-1===x;case"[object AsyncFunction]":case"[object GeneratorFunction]":case"[object AsyncGeneratorFunction]":case"[object Function]":var _=a.call(e);return _===a.call(t)&&!function(e,t){var n=e.length-t.length;return n>=0&&e.indexOf(t,n)===n}(_,p)}return!1}function l(e){return Object.keys(e).filter(f,e)}function f(e){return void 0!==this[e]}var p="{ [native code] }";function d(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}},657:function(e,t,n){"use strict";n.d(t,{B:function(){return s}});var r=function(){return Object.create(null)},i=Array.prototype,o=i.forEach,a=i.slice,s=function(){function e(e,t){void 0===e&&(e=!0),void 0===t&&(t=r),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 o.call(e,(function(e){return t=t.getChildTrie(e)})),t.data||(t.data=this.makeData(a.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}()},6010:function(e,t,n){"use strict";function r(e){var t,n,i="";if("string"===typeof e||"number"===typeof e)i+=e;else if("object"===typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=r(e[t]))&&(i&&(i+=" "),i+=n);else for(t in e)e[t]&&(i&&(i+=" "),i+=t);return i}function i(){for(var e,t,n=0,i="";n<arguments.length;)(e=arguments[n++])&&(t=r(e))&&(i&&(i+=" "),i+=t);return i}n.d(t,{Z:function(){return i}})},6716:function(e,t,n){"use strict";var r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.Z=d;var i=c(n(361)),o=c(n(2492)),a=c(n(7043)),s=c(n(7361)),u=c(n(5377));
1function c(e){return e&&e.__esModule?e:{default:e}}function l(e,t,n){if(!e||"object"!==("undefined"===typeof e?"undefined":r(e)))return e;if(e.hasOwnProperty("$value"))return l(e.$value,t,n);for(var i=e instanceof Array?[]:{},o=Object.keys(e),a=0,s=o.length;a<s;++a){var u=o[a];if("$meta"!==u&&"$id"!==u){var c=l(f(e[u],t,n),t,n);void 0!==c&&(i[u]=c)}}return i}function f(e,t,n){if(!e||"object"!==("undefined"===typeof e?"undefined":r(e))||!e.$filter&&!e.$value)return e;if(e.$value)return p(f(e.$value,t,n),e.$base);var i=e.$filter,o=(0,s.default)(t,i);if(void 0!==o)if(e.$range){for(var a=0;a<e.$range.length;++a)if(o<=e.$range[a].limit)return(0,u.default)(n,i,e,e.$range[a]),f(e.$range[a].value,t,n)}else if(void 0!==e[o])return(0,u.default)(n,i,e,o),p(f(e[o],t,n),e.$base);if(e.hasOwnProperty("$default"))return(0,u.default)(n,i,e,"$default"),p(f(e.$default,t,n),e.$base);(0,u.default)(n,i,e)}function p(e,t){return t=t||{},"object"===("undefined"===typeof e?"undefined":r(e))&&Array.isArray(t)===Array.isArray(e)?Array.isArray(t)&&Array.isArray(e)?(0,a.default)((0,i.default)(t),(0,i.default)(e)):(0,o.default)((0,i.default)(t),(0,i.default)(e)):e}function d(e){this.load(e||{})}d.prototype.load=function(e){var t=d.validate(e);if(t)throw t;this._tree=(0,i.default)(e)},d.prototype.get=function(e,t,n){return l(this._get(e,t,n),t,n)},d.prototype._get=function(e,t,n){t=t||{};var i=[];if("/"!==e&&e.replace(/\/(\w+)/g,(function(e,t){return i.push(t),""})))return;for(var o=f(this._tree,t,n),a=0;a<i.length&&o;++a){if("object"!==("undefined"===typeof o?"undefined":r(o))){o=void 0;break}o=f(o[i[a]],t,n)}return o},d.prototype.meta=function(e,t){var n=this._get(e,t);return"object"===("undefined"===typeof n?"undefined":r(n))?n.$meta:void 0},d.validate=function(e,t){t=t||"";var n=function(e){var n=new Error(e);return n.path=t||"/",n};if(null===e||void 0===e||"object"!==("undefined"===typeof e?"undefined":r(e)))return null;if(e instanceof Error||e instanceof Date||e instanceof RegExp)return n("Invalid node object type");for(var i={},o=Object.keys(e),a=0;a<o.length;++a){var s=o[a];if("$"===s[0])if("$filter"===s){i.filter=!0;var u=e[s];if(!u)return n("Invalid empty filter value");if("string"!==typeof u)return n("Filter value must be a string");if(!u.match(/^\w+(?:\.\w+)*$/))return n("Invalid filter value "+e[s])}else if("$range"===s){if(i.range=!0,e.$range instanceof Array===!1)return n("Range value must be an array");if(!e.$range.length)return n("Range must include at least one value");for(var c=void 0,l=0;l<e.$range.length;++l){var f=e.$range[l];if("object"!==("undefined"===typeof f?"undefined":r(f)))return n("Invalid range entry type");if(!f.hasOwnProperty("limit"))return n("Range entry missing limit");if("number"!==typeof f.limit)return n("Range limit must be a number");if(void 0!==c&&f.limit<=c)return n("Range entries not sorted in ascending order - "+f.limit+" cannot come after "+c);if(c=f.limit,!f.hasOwnProperty("value"))return n("Range entry missing value");var p=d.validate(f.value,t+"/$range["+f.limit+"]");if(p)return p}}else if("$default"===s){i.default=!0;var h=d.validate(e.$default,t+"/$default");if(h)return h}else if("$base"===s)i.base=!0;else if("$meta"===s)i.meta=!0;else if("$id"===s){if(!e.$id||"string"!==typeof e.$id)return n("Id value must be a non-empty string");i.id=!0}else{if("$value"!==s)return n("Unknown $ directive "+s);i.value=!0;var v=d.validate(e.$value,t+"/$value");if(v)return v}else{i.key=!0;var y=e[s],m=d.validate(y,t+"/"+s);if(m)return m}}return i.value&&(i.key||i.range||i.default||i.filter)?n("Value directive can only be used with meta or nothing"):i.default&&!i.filter?n("Default value without a filter"):!i.filter||i.default||i.key||i.range?i.filter&&i.default&&!i.key&&!i.range?n("Filter with only a default"):i.range&&!i.filter?n("Range without a filter"):i.range&&i.key?n("Range with non-ranged values"):null:n("Filter without any values")}},5377:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=function(e,t,r,i){if(!e)return;var o={filter:t};i&&("object"===("undefined"===typeof i?"undefined":n(i))?i.id?o.valueId=i.id:o.valueId="object"===n(i.value)?"[object]":i.value.toString():o.valueId=i.toString());r&&r.$id&&(o.filterId=r.$id);e.push(o)}},1227:function(e,t,n){var r=n(3454);t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const n="color: "+this.color;t.splice(1,0,n,"color: inherit");let r=0,i=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(r++,"%c"===e&&(i=r))})),t.splice(i,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(n){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(n){}!e&&"undefined"!==typeof r&&"env"in r&&(e=r.env.DEBUG);return e},t.useColors=function(){if("undefined"!==typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;
1if("undefined"!==typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!==typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!==typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!==typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!==typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=n(2447)(t);const{formatters:i}=e.exports;i.j=function(e){try{return JSON.stringify(e)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}}},2447:function(e,t,n){e.exports=function(e){function t(e){let n,i,o,a=null;function s(...e){if(!s.enabled)return;const r=s,i=Number(new Date),o=i-(n||i);r.diff=o,r.prev=n,r.curr=i,n=i,e[0]=t.coerce(e[0]),"string"!==typeof e[0]&&e.unshift("%O");let a=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,((n,i)=>{if("%%"===n)return"%";a++;const o=t.formatters[i];if("function"===typeof o){const t=e[a];n=o.call(r,t),e.splice(a,1),a--}return n})),t.formatArgs.call(r,e);(r.log||t.log).apply(r,e)}return s.namespace=e,s.useColors=t.useColors(),s.color=t.selectColor(e),s.extend=r,s.destroy=t.destroy,Object.defineProperty(s,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==a?a:(i!==t.namespaces&&(i=t.namespaces,o=t.enabled(e)),o),set:e=>{a=e}}),"function"===typeof t.init&&t.init(s),s}function r(e,n){const r=t(this.namespace+("undefined"===typeof n?":":n)+e);return r.log=this.log,r}function i(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},t.disable=function(){const e=[...t.names.map(i),...t.skips.map(i).map((e=>"-"+e))].join(",");return t.enable(""),e},t.enable=function(e){let n;t.save(e),t.namespaces=e,t.names=[],t.skips=[];const r=("string"===typeof e?e:"").split(/[\s,]+/),i=r.length;for(n=0;n<i;n++)r[n]&&("-"===(e=r[n].replace(/\*/g,".*?"))[0]?t.skips.push(new RegExp("^"+e.slice(1)+"$")):t.names.push(new RegExp("^"+e+"$")))},t.enabled=function(e){if("*"===e[e.length-1])return!0;let n,r;for(n=0,r=t.skips.length;n<r;n++)if(t.skips[n].test(e))return!1;for(n=0,r=t.names.length;n<r;n++)if(t.names[n].test(e))return!0;return!1},t.humanize=n(7824),t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach((n=>{t[n]=e[n]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let n=0;for(let t=0;t<e.length;t++)n=(n<<5)-n+e.charCodeAt(t),n|=0;return t.colors[Math.abs(n)%t.colors.length]},t.enable(t.load()),t}},7283:function(e,t,n){"use strict";n.d(t,{Ps:function(){return J}});var r=n(655);function i(e,t){if(!Boolean(e))throw new Error(null!=t?t:"Unexpected invariant triggered.")}const o=/\r\n|[\n\r]/g;function a(e,t){let n=0,r=1;for(const a of e.body.matchAll(o)){if("number"===typeof a.index||i(!1),a.index>=t)break;n=a.index+a[0].length,r+=1}return{line:r,column:t+1-n}}function s(e){return u(e.source,a(e.source,e.start))}function u(e,t){const n=e.locationOffset.column-1,r="".padStart(n)+e.body,i=t.line-1,o=e.locationOffset.line-1,a=t.line+o,s=1===t.line?n:0,u=t.column+s,l=`${e.name}:${a}:${u}\n`,f=r.split(/\r\n|[\n\r]/g),p=f[i];if(p.length>120){const e=Math.floor(u/80),t=u%80,n=[];for(let r=0;r<p.length;r+=80)n.push(p.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[i-1]],[`${a} |`,p],["|","^".padStart(u)],[`${a+1} |`,f[i+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")}
1class l extends Error{constructor(e,...t){var n,r,i;const{nodes:o,source:s,positions:u,path:c,originalError:p,extensions:d}=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!==c&&void 0!==c?c:void 0,this.originalError=null!==p&&void 0!==p?p:void 0,this.nodes=f(Array.isArray(o)?o:o?[o]:void 0);const h=f(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===h||void 0===h||null===(r=h[0])||void 0===r?void 0:r.source,this.positions=null!==u&&void 0!==u?u:null===h||void 0===h?void 0:h.map((e=>e.start)),this.locations=u&&s?u.map((e=>a(s,e))):null===h||void 0===h?void 0:h.map((e=>a(e.source,e.start)));const v="object"==typeof(y=null===p||void 0===p?void 0:p.extensions)&&null!==y?null===p||void 0===p?void 0:p.extensions:void 0;var y;this.extensions=null!==(i=null!==d&&void 0!==d?d:v)&&void 0!==i?i: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!==p&&void 0!==p&&p.stack?Object.defineProperty(this,"stack",{value:p.stack,writable:!0,configurable:!0}):Error.captureStackTrace?Error.captureStackTrace(this,l):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 t of this.nodes)t.loc&&(e+="\n\n"+s(t.loc));else if(this.source&&this.locations)for(const t of this.locations)e+="\n\n"+u(this.source,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 f(e){return void 0===e||0===e.length?void 0:e}function p(e,t,n){return new l(`Syntax Error: ${n}`,{source:e,positions:[t]})}var d=n(2380);let h;!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 v=n(7359),y=n(7392),m=n(8297);let g;!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"}(g||(g={}));class b{constructor(e){const t=new d.WU(g.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!==g.EOF)do{if(e.next)e=e.next;else{const t=C(this,e.end);e.next=t,t.prev=e,e=t}}while(e.kind===g.COMMENT);return e}}function w(e){return e>=0&&e<=55295||e>=57344&&e<=1114111}function x(e,t){return _(e.charCodeAt(t))&&E(e.charCodeAt(t+1))}function _(e){return e>=55296&&e<=56319}function E(e){return e>=56320&&e<=57343}function O(e,t){const n=e.source.body.codePointAt(t);if(void 0===n)return g.EOF;if(n>=32&&n<=126){const e=String.fromCodePoint(n);return'"'===e?"'\"'":`"${e}"`}return"U+"+n.toString(16).toUpperCase().padStart(4,"0")}function k(e,t,n,r,i){const o=e.line,a=1+n-e.lineStart;return new d.WU(t,n,r,o,a,i)}function C(e,t){const n=e.source.body,r=n.length;let i=t;for(;i<r;){const t=n.charCodeAt(i);switch(t){case 65279:case 9:case 32:case 44:++i;continue;case 10:++i,++e.line,e.lineStart=i;continue;case 13:10===n.charCodeAt(i+1)?i+=2:++i,++e.line,e.lineStart=i;continue;case 35:return S(e,i);case 33:return k(e,g.BANG,i,i+1);case 36:return k(e,g.DOLLAR,i,i+1);case 38:return k(e,g.AMP,i,i+1);case 40:return k(e,g.PAREN_L,i,i+1);case 41:return k(e,g.PAREN_R,i,i+1);case 46:if(46===n.charCodeAt(i+1)&&46===n.charCodeAt(i+2))return k(e,g.SPREAD,i,i+3);break;case 58:return k(e,g.COLON,i,i+1);case 61:return k(e,g.EQUALS,i,i+1);case 64:return k(e,g.AT,i,i+1);case 91:return k(e,g.BRACKET_L,i,i+1);case 93:return k(e,g.BRACKET_R,i,i+1);case 123:return k(e,g.BRACE_L,i,i+1);case 124:return k(e,g.PIPE,i,i+1);case 125:return k(e,g.BRACE_R,i,i+1);case 34:return 34===n.charCodeAt(i+1)&&34===n.charCodeAt(i+2)?F(e,i):A(e,i)}if((0,m.X1)(t)||45===t)return T(e,i,t);if((0,m.LQ)(t))return M(e,i);throw p(e.source,i,39===t?"Unexpected single quote character ('), did you mean to use a double quote (\")?":w(t)||x(n,i)?`Unexpected character: ${O(e,i)}.`:`Invalid character: ${O(e,i)}.`)}return k(e,g.EOF,r,r)}function S(e,t){const n=e.source.body,r=n.length;let i=t+1;for(;i<r;){const e=n.charCodeAt(i);if(10===e||13===e)break;if(w(e))++i;else{if(!x(n,i))break;i+=2}}return k(e,g.COMMENT,t,i,n.slice(t+1,i))}function T(e,t,n){const r=e.source.body;let i=t,o=n,a=!1;if(45===o&&(o=r.charCodeAt(++i)),48===o){if(o=r.charCodeAt(++i),(0,m.X1)(o))throw p(e.source,i,`Invalid number, unexpected digit after 0: ${O(e,i)}.`)}else i=j(e,i,o),o=r.charCodeAt(i);if(46===o&&(a=!0,o=r.charCodeAt(++i),i=j(e,i,o),o=r.charCodeAt(i)),69!==o&&101!==o||(a=!0,o=r.charCodeAt(++i),43!==o&&45!==o||(o=r.charCodeAt(++i)),i=j(e,i,o),o=r.charCodeAt(i)),46===o||(0,m.LQ)(o))throw p(e.source,i,`Invalid number, expected digit but got: ${O(e,i)}.`);return k(e,a?g.FLOAT:g.INT,t,i,r.slice(t,i))}function j(e,t,n){if(!(0,m.X1)(n))throw p(e.source,t,`Invalid number, expected digit but got: ${O(e,t)}.`);const r=e.source.body;let i=t+1;for(;(0,m.X1)(r.charCodeAt(i));)++i;return i}function A(e,t){const n=e.source.body,r=n.length;let i=t+1,o=i,a="";for(;i<r;){const r=n.charCodeAt(i);if(34===r)return a+=n.slice(o,i),k(e,g.STRING,t,i+1,a);if(92!==r){if(10===r||13===r)break;
vendor: 14,938 bytes, line 1
1if(w(r))++i;else{if(!x(n,i))throw p(e.source,i,`Invalid character within String: ${O(e,i)}.`);i+=2}}else{a+=n.slice(o,i);const t=117===n.charCodeAt(i+1)?123===n.charCodeAt(i+2)?D(e,i):P(e,i):N(e,i);a+=t.value,i+=t.size,o=i}}throw p(e.source,i,"Unterminated string.")}function D(e,t){const n=e.source.body;let r=0,i=3;for(;i<12;){const e=n.charCodeAt(t+i++);if(125===e){if(i<5||!w(r))break;return{value:String.fromCodePoint(r),size:i}}if(r=r<<4|R(e),r<0)break}throw p(e.source,t,`Invalid Unicode escape sequence: "${n.slice(t,t+i)}".`)}function P(e,t){const n=e.source.body,r=I(n,t+2);if(w(r))return{value:String.fromCodePoint(r),size:6};if(_(r)&&92===n.charCodeAt(t+6)&&117===n.charCodeAt(t+7)){const e=I(n,t+8);if(E(e))return{value:String.fromCodePoint(r,e),size:12}}throw p(e.source,t,`Invalid Unicode escape sequence: "${n.slice(t,t+6)}".`)}function I(e,t){return R(e.charCodeAt(t))<<12|R(e.charCodeAt(t+1))<<8|R(e.charCodeAt(t+2))<<4|R(e.charCodeAt(t+3))}function R(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}function N(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 p(e.source,t,`Invalid character escape sequence: "${n.slice(t,t+2)}".`)}function F(e,t){const n=e.source.body,r=n.length;let i=e.lineStart,o=t+3,a=o,s="";const u=[];for(;o<r;){const r=n.charCodeAt(o);if(34===r&&34===n.charCodeAt(o+1)&&34===n.charCodeAt(o+2)){s+=n.slice(a,o),u.push(s);const r=k(e,g.BLOCK_STRING,t,o+3,(0,y.wv)(u).join("\n"));return e.line+=u.length-1,e.lineStart=i,r}if(92!==r||34!==n.charCodeAt(o+1)||34!==n.charCodeAt(o+2)||34!==n.charCodeAt(o+3))if(10!==r&&13!==r)if(w(r))++o;else{if(!x(n,o))throw p(e.source,o,`Invalid character within String: ${O(e,o)}.`);o+=2}else s+=n.slice(a,o),u.push(s),13===r&&10===n.charCodeAt(o+1)?o+=2:++o,s="",a=o,i=o;else s+=n.slice(a,o),a=o+1,o+=4}throw p(e.source,o,"Unterminated string.")}function M(e,t){const n=e.source.body,r=n.length;let i=t+1;for(;i<r;){const e=n.charCodeAt(i);if(!(0,m.HQ)(e))break;++i}return k(e,g.NAME,t,i,n.slice(t,i))}var V=n(1270);class L{constructor(e,t){const n=(0,V.T)(e)?e:new V.H(e);this._lexer=new b(n),this._options=t}parseName(){const e=this.expectToken(g.NAME);return this.node(e,{kind:v.h.NAME,value:e.value})}parseDocument(){return this.node(this._lexer.token,{kind:v.h.DOCUMENT,definitions:this.many(g.SOF,this.parseDefinition,g.EOF)})}parseDefinition(){if(this.peek(g.BRACE_L))return this.parseOperationDefinition();const e=this.peekDescription(),t=e?this._lexer.lookahead():this._lexer.token;if(t.kind===g.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 p(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(g.BRACE_L))return this.node(e,{kind:v.h.OPERATION_DEFINITION,operation:d.ku.QUERY,name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet()});const t=this.parseOperationType();let n;return this.peek(g.NAME)&&(n=this.parseName()),this.node(e,{kind:v.h.OPERATION_DEFINITION,operation:t,name:n,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseOperationType(){const e=this.expectToken(g.NAME);switch(e.value){case"query":return d.ku.QUERY;case"mutation":return d.ku.MUTATION;case"subscription":return d.ku.SUBSCRIPTION}throw this.unexpected(e)}parseVariableDefinitions(){return this.optionalMany(g.PAREN_L,this.parseVariableDefinition,g.PAREN_R)}parseVariableDefinition(){return this.node(this._lexer.token,{kind:v.h.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(g.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(g.EQUALS)?this.parseConstValueLiteral():void 0,directives:this.parseConstDirectives()})}parseVariable(){const e=this._lexer.token;return this.expectToken(g.DOLLAR),this.node(e,{kind:v.h.VARIABLE,name:this.parseName()})}parseSelectionSet(){return this.node(this._lexer.token,{kind:v.h.SELECTION_SET,selections:this.many(g.BRACE_L,this.parseSelection,g.BRACE_R)})}parseSelection(){return this.peek(g.SPREAD)?this.parseFragment():this.parseField()}parseField(){const e=this._lexer.token,t=this.parseName();let n,r;return this.expectOptionalToken(g.COLON)?(n=t,r=this.parseName()):r=t,this.node(e,{kind:v.h.FIELD,alias:n,name:r,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(g.BRACE_L)?this.parseSelectionSet():void 0})}parseArguments(e){const t=e?this.parseConstArgument:this.parseArgument;return this.optionalMany(g.PAREN_L,t,g.PAREN_R)}parseArgument(e=!1){const t=this._lexer.token,n=this.parseName();return this.expectToken(g.COLON),this.node(t,{kind:v.h.ARGUMENT,name:n,value:this.parseValueLiteral(e)})}parseConstArgument(){return this.parseArgument(!0)}parseFragment(){const e=this._lexer.token;this.expectToken(g.SPREAD);const t=this.expectOptionalKeyword("on");return!t&&this.peek(g.NAME)?this.node(e,{kind:v.h.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1)}):this.node(e,{kind:v.h.INLINE_FRAGMENT,typeCondition:t?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentDefinition(){var e;const t=this._lexer.token;return this.expectKeyword("fragment"),!0===(null===(e=this._options)||void 0===e?void 0:e.allowLegacyFragmentVariables)?this.node(t,{kind:v.h.FRAGMENT_DEFINITION,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()}):this.node(t,{kind:v.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 g.BRACKET_L:return this.parseList(e);case g.BRACE_L:return this.parseObject(e);case g.INT:return this._lexer.advance(),this.node(t,{kind:v.h.INT,value:t.value});case g.FLOAT:return this._lexer.advance(),this.node(t,{kind:v.h.FLOAT,value:t.value});case g.STRING:case g.BLOCK_STRING:return this.parseStringLiteral();case g.NAME:switch(this._lexer.advance(),t.value){case"true":return this.node(t,{kind:v.h.BOOLEAN,value:!0});case"false":return this.node(t,{kind:v.h.BOOLEAN,value:!1});case"null":return this.node(t,{kind:v.h.NULL});default:return this.node(t,{kind:v.h.ENUM,value:t.value})}case g.DOLLAR:if(e){if(this.expectToken(g.DOLLAR),this._lexer.token.kind===g.NAME){const e=this._lexer.token.value;throw p(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._lexer.advance(),this.node(e,{kind:v.h.STRING,value:e.value,block:e.kind===g.BLOCK_STRING})}parseList(e){return this.node(this._lexer.token,{kind:v.h.LIST,values:this.any(g.BRACKET_L,(()=>this.parseValueLiteral(e)),g.BRACKET_R)})}parseObject(e){return this.node(this._lexer.token,{kind:v.h.OBJECT,fields:this.any(g.BRACE_L,(()=>this.parseObjectField(e)),g.BRACE_R)})}parseObjectField(e){const t=this._lexer.token,n=this.parseName();return this.expectToken(g.COLON),this.node(t,{kind:v.h.OBJECT_FIELD,name:n,value:this.parseValueLiteral(e)})}parseDirectives(e){const t=[];for(;this.peek(g.AT);)t.push(this.parseDirective(e));return t}parseConstDirectives(){return this.parseDirectives(!0)}parseDirective(e){const t=this._lexer.token;return this.expectToken(g.AT),this.node(t,{kind:v.h.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(e)})}parseTypeReference(){const e=this._lexer.token;let t;if(this.expectOptionalToken(g.BRACKET_L)){const n=this.parseTypeReference();this.expectToken(g.BRACKET_R),t=this.node(e,{kind:v.h.LIST_TYPE,type:n})}else t=this.parseNamedType();return this.expectOptionalToken(g.BANG)?this.node(e,{kind:v.h.NON_NULL_TYPE,type:t}):t}parseNamedType(){return this.node(this._lexer.token,{kind:v.h.NAMED_TYPE,name:this.parseName()})}peekDescription(){return this.peek(g.STRING)||this.peek(g.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(g.BRACE_L,this.parseOperationTypeDefinition,g.BRACE_R);return this.node(e,{kind:v.h.SCHEMA_DEFINITION,description:t,directives:n,operationTypes:r})}parseOperationTypeDefinition(){const e=this._lexer.token,t=this.parseOperationType();this.expectToken(g.COLON);const n=this.parseNamedType();return this.node(e,{kind:v.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:v.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(),i=this.parseConstDirectives(),o=this.parseFieldsDefinition();return this.node(e,{kind:v.h.OBJECT_TYPE_DEFINITION,description:t,name:n,interfaces:r,directives:i,fields:o})}parseImplementsInterfaces(){return this.expectOptionalKeyword("implements")?this.delimitedMany(g.AMP,this.parseNamedType):[]}parseFieldsDefinition(){return this.optionalMany(g.BRACE_L,this.parseFieldDefinition,g.BRACE_R)}parseFieldDefinition(){const e=this._lexer.token,t=this.parseDescription(),n=this.parseName(),r=this.parseArgumentDefs();this.expectToken(g.COLON);const i=this.parseTypeReference(),o=this.parseConstDirectives();return this.node(e,{kind:v.h.FIELD_DEFINITION,description:t,name:n,arguments:r,type:i,directives:o})}parseArgumentDefs(){return this.optionalMany(g.PAREN_L,this.parseInputValueDef,g.PAREN_R)}parseInputValueDef(){const e=this._lexer.token,t=this.parseDescription(),n=this.parseName();this.expectToken(g.COLON);const r=this.parseTypeReference();let i;this.expectOptionalToken(g.EQUALS)&&(i=this.parseConstValueLiteral());const o=this.parseConstDirectives();return this.node(e,{kind:v.h.INPUT_VALUE_DEFINITION,description:t,name:n,type:r,defaultValue:i,directives:o})}parseInterfaceTypeDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("interface");const n=this.parseName(),r=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),o=this.parseFieldsDefinition();return this.node(e,{kind:v.h.INTERFACE_TYPE_DEFINITION,description:t,name:n,interfaces:r,directives:i,fields:o})}parseUnionTypeDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("union");const n=this.parseName(),r=this.parseConstDirectives(),i=this.parseUnionMemberTypes();return this.node(e,{kind:v.h.UNION_TYPE_DEFINITION,description:t,name:n,directives:r,types:i})}parseUnionMemberTypes(){return this.expectOptionalToken(g.EQUALS)?this.delimitedMany(g.PIPE,this.parseNamedType):[]}parseEnumTypeDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("enum");const n=this.parseName(),r=this.parseConstDirectives(),i=this.parseEnumValuesDefinition();return this.node(e,{kind:v.h.ENUM_TYPE_DEFINITION,description:t,name:n,directives:r,values:i})}parseEnumValuesDefinition(){return this.optionalMany(g.BRACE_L,this.parseEnumValueDefinition,g.BRACE_R)}parseEnumValueDefinition(){const e=this._lexer.token,t=this.parseDescription(),n=this.parseEnumValueName(),r=this.parseConstDirectives();return this.node(e,{kind:v.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 p(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(),i=this.parseInputFieldsDefinition();return this.node(e,{kind:v.h.INPUT_OBJECT_TYPE_DEFINITION,description:t,name:n,directives:r,fields:i})}parseInputFieldsDefinition(){return this.optionalMany(g.BRACE_L,this.parseInputValueDef,g.BRACE_R)}parseTypeSystemExtension(){const e=this._lexer.lookahead();if(e.kind===g.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(g.BRACE_L,this.parseOperationTypeDefinition,g.BRACE_R);if(0===t.length&&0===n.length)throw this.unexpected();return this.node(e,{kind:v.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:v.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(),i=this.parseFieldsDefinition();if(0===n.length&&0===r.length&&0===i.length)throw this.unexpected();
1return this.node(e,{kind:v.h.OBJECT_TYPE_EXTENSION,name:t,interfaces:n,directives:r,fields:i})}parseInterfaceTypeExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");const t=this.parseName(),n=this.parseImplementsInterfaces(),r=this.parseConstDirectives(),i=this.parseFieldsDefinition();if(0===n.length&&0===r.length&&0===i.length)throw this.unexpected();return this.node(e,{kind:v.h.INTERFACE_TYPE_EXTENSION,name:t,interfaces:n,directives:r,fields:i})}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:v.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:v.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:v.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(g.AT);const n=this.parseName(),r=this.parseArgumentDefs(),i=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");const o=this.parseDirectiveLocations();return this.node(e,{kind:v.h.DIRECTIVE_DEFINITION,description:t,name:n,arguments:r,repeatable:i,locations:o})}parseDirectiveLocations(){return this.delimitedMany(g.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){var n;return!0!==(null===(n=this._options)||void 0===n?void 0:n.noLocation)&&(t.loc=new d.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._lexer.advance(),t;throw p(this._lexer.source,t.start,`Expected ${B(e)}, found ${q(t)}.`)}expectOptionalToken(e){return this._lexer.token.kind===e&&(this._lexer.advance(),!0)}expectKeyword(e){const t=this._lexer.token;if(t.kind!==g.NAME||t.value!==e)throw p(this._lexer.source,t.start,`Expected "${e}", found ${q(t)}.`);this._lexer.advance()}expectOptionalKeyword(e){const t=this._lexer.token;return t.kind===g.NAME&&t.value===e&&(this._lexer.advance(),!0)}unexpected(e){const t=null!==e&&void 0!==e?e:this._lexer.token;return p(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}}function q(e){const t=e.value;return B(e.kind)+(null!=t?` "${t}"`:"")}function B(e){return function(e){return e===g.BANG||e===g.DOLLAR||e===g.AMP||e===g.PAREN_L||e===g.PAREN_R||e===g.SPREAD||e===g.COLON||e===g.EQUALS||e===g.AT||e===g.BRACKET_L||e===g.BRACKET_R||e===g.BRACE_L||e===g.PIPE||e===g.BRACE_R}(e)?`"${e}"`:e}var U=new Map,Q=new Map,G=!0,z=!1;function $(e){return e.replace(/[\s,]+/g," ").trim()}function Y(e){var t=new Set,n=[];return e.definitions.forEach((function(e){if("FragmentDefinition"===e.kind){var r=e.name.value,i=$((a=e.loc).source.body.substring(a.start,a.end)),o=Q.get(r);o&&!o.has(i)?G&&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"):o||Q.set(r,o=new Set),o.add(i),t.has(i)||(t.add(i),n.push(e))}else n.push(e);var a})),(0,r.pi)((0,r.pi)({},e),{definitions:n})}function W(e){var t=$(e);
1if(!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}(Y(n)))}return U.get(t)}function J(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 K,Z=J,H=function(){U.clear(),Q.clear()},X=function(){G=!1},ee=function(){z=!0},te=function(){z=!1};(K=J||(J={})).gql=Z,K.resetCaches=H,K.disableFragmentWarnings=X,K.enableExperimentalFragmentVariables=ee,K.disableExperimentalFragmentVariables=te,J.default=J},8552:function(e,t,n){var r=n(852)(n(5639),"DataView");e.exports=r},1989:function(e,t,n){var r=n(1789),i=n(401),o=n(7667),a=n(1327),s=n(1866);function u(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])}}u.prototype.clear=r,u.prototype.delete=i,u.prototype.get=o,u.prototype.has=a,u.prototype.set=s,e.exports=u},8407:function(e,t,n){var r=n(7040),i=n(4125),o=n(2117),a=n(7518),s=n(4705);function u(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])}}u.prototype.clear=r,u.prototype.delete=i,u.prototype.get=o,u.prototype.has=a,u.prototype.set=s,e.exports=u},7071:function(e,t,n){var r=n(852)(n(5639),"Map");e.exports=r},3369:function(e,t,n){var r=n(4785),i=n(1285),o=n(6e3),a=n(9916),s=n(5265);function u(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])}}u.prototype.clear=r,u.prototype.delete=i,u.prototype.get=o,u.prototype.has=a,u.prototype.set=s,e.exports=u},3818:function(e,t,n){var r=n(852)(n(5639),"Promise");e.exports=r},8525:function(e,t,n){var r=n(852)(n(5639),"Set");e.exports=r},6384:function(e,t,n){var r=n(8407),i=n(7465),o=n(3779),a=n(7599),s=n(4758),u=n(4309);function c(e){var t=this.__data__=new r(e);this.size=t.size}c.prototype.clear=i,c.prototype.delete=o,c.prototype.get=a,c.prototype.has=s,c.prototype.set=u,e.exports=c},2705:function(e,t,n){var r=n(5639).Symbol;e.exports=r},1149:function(e,t,n){var r=n(5639).Uint8Array;e.exports=r},577:function(e,t,n){var r=n(852)(n(5639),"WeakMap");e.exports=r},6874: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)}},7412:function(e){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}},4963:function(e){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,i=0,o=[];++n<r;){var a=e[n];t(a,n,e)&&(o[i++]=a)}return o}},4636:function(e,t,n){var r=n(2545),i=n(5694),o=n(1469),a=n(4144),s=n(5776),u=n(6719),c=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=o(e),l=!n&&i(e),f=!n&&!l&&a(e),p=!n&&!l&&!f&&u(e),d=n||l||f||p,h=d?r(e.length,String):[],v=h.length;for(var y in e)!t&&!c.call(e,y)||d&&("length"==y||f&&("offset"==y||"parent"==y)||p&&("buffer"==y||"byteLength"==y||"byteOffset"==y)||s(y,v))||h.push(y);return h}},9932:function(e){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}},2488:function(e){e.exports=function(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}},6556:function(e,t,n){var r=n(9465),i=n(7813);e.exports=function(e,t,n){(void 0!==n&&!i(e[t],n)||void 0===n&&!(t in e))&&r(e,t,n)}},4865:function(e,t,n){var r=n(9465),i=n(7813),o=Object.prototype.hasOwnProperty;e.exports=function(e,t,n){var a=e[t];o.call(e,t)&&i(a,n)&&(void 0!==n||t in e)||r(e,t,n)}},8470:function(e,t,n){var r=n(7813);e.exports=function(e,t){for(var n=e.length;n--;
vendor: 4,487 bytes, line 1
1)if(r(e[n][0],t))return n;return-1}},4037:function(e,t,n){var r=n(8363),i=n(3674);e.exports=function(e,t){return e&&r(t,i(t),e)}},3886:function(e,t,n){var r=n(8363),i=n(1704);e.exports=function(e,t){return e&&r(t,i(t),e)}},9465:function(e,t,n){var r=n(8777);e.exports=function(e,t,n){"__proto__"==t&&r?r(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},5990:function(e,t,n){var r=n(6384),i=n(7412),o=n(4865),a=n(4037),s=n(3886),u=n(4626),c=n(278),l=n(8805),f=n(1911),p=n(8234),d=n(6904),h=n(4160),v=n(3824),y=n(9148),m=n(8517),g=n(1469),b=n(4144),w=n(6688),x=n(3218),_=n(2928),E=n(3674),O=n(1704),k="[object Arguments]",C="[object Function]",S="[object Object]",T={};T[k]=T["[object Array]"]=T["[object ArrayBuffer]"]=T["[object DataView]"]=T["[object Boolean]"]=T["[object Date]"]=T["[object Float32Array]"]=T["[object Float64Array]"]=T["[object Int8Array]"]=T["[object Int16Array]"]=T["[object Int32Array]"]=T["[object Map]"]=T["[object Number]"]=T[S]=T["[object RegExp]"]=T["[object Set]"]=T["[object String]"]=T["[object Symbol]"]=T["[object Uint8Array]"]=T["[object Uint8ClampedArray]"]=T["[object Uint16Array]"]=T["[object Uint32Array]"]=!0,T["[object Error]"]=T[C]=T["[object WeakMap]"]=!1,e.exports=function e(t,n,j,A,D,P){var I,R=1&n,N=2&n,F=4&n;if(j&&(I=D?j(t,A,D,P):j(t)),void 0!==I)return I;if(!x(t))return t;var M=g(t);if(M){if(I=v(t),!R)return c(t,I)}else{var V=h(t),L=V==C||"[object GeneratorFunction]"==V;if(b(t))return u(t,R);if(V==S||V==k||L&&!D){if(I=N||L?{}:m(t),!R)return N?f(t,s(I,t)):l(t,a(I,t))}else{if(!T[V])return D?t:{};I=y(t,V,R)}}P||(P=new r);var q=P.get(t);if(q)return q;P.set(t,I),_(t)?t.forEach((function(r){I.add(e(r,n,j,r,t,P))})):w(t)&&t.forEach((function(r,i){I.set(i,e(r,n,j,i,t,P))}));var B=M?void 0:(F?N?d:p:N?O:E)(t);return i(B||t,(function(r,i){B&&(r=t[i=r]),o(I,i,e(r,n,j,i,t,P))})),I}},3118:function(e,t,n){var r=n(3218),i=Object.create,o=function(){function e(){}return function(t){if(!r(t))return{};if(i)return i(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();e.exports=o},1078:function(e,t,n){var r=n(2488),i=n(7285);e.exports=function e(t,n,o,a,s){var u=-1,c=t.length;for(o||(o=i),s||(s=[]);++u<c;){var l=t[u];n>0&&o(l)?n>1?e(l,n-1,o,a,s):r(s,l):a||(s[s.length]=l)}return s}},6224:function(e,t,n){var r=n(5063)();e.exports=r},7786:function(e,t,n){var r=n(1811),i=n(327);e.exports=function(e,t){for(var n=0,o=(t=r(t,e)).length;null!=e&&n<o;)e=e[i(t[n++])];return n&&n==o?e:void 0}},8866:function(e,t,n){var r=n(2488),i=n(1469);e.exports=function(e,t,n){var o=t(e);return i(e)?o:r(o,n(e))}},4239:function(e,t,n){var r=n(2705),i=n(9607),o=n(2333),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)?i(e):o(e)}},9454:function(e,t,n){var r=n(4239),i=n(7005);e.exports=function(e){return i(e)&&"[object Arguments]"==r(e)}},5588:function(e,t,n){var r=n(4160),i=n(7005);e.exports=function(e){return i(e)&&"[object Map]"==r(e)}},8458:function(e,t,n){var r=n(3560),i=n(5346),o=n(3218),a=n(346),s=/^\[object .+?Constructor\]$/,u=Function.prototype,c=Object.prototype,l=u.toString,f=c.hasOwnProperty,p=RegExp("^"+l.call(f).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!o(e)||i(e))&&(r(e)?p:s).test(a(e))}},9221:function(e,t,n){var r=n(4160),i=n(7005);e.exports=function(e){return i(e)&&"[object Set]"==r(e)}},8749:function(e,t,n){var r=n(4239),i=n(1780),o=n(7005),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 o(e)&&i(e.length)&&!!a[r(e)]}},280:function(e,t,n){var r=n(5726),i=n(6916),o=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return i(e);var t=[];for(var n in Object(e))o.call(e,n)&&"constructor"!=n&&t.push(n);return t}},313:function(e,t,n){var r=n(3218),i=n(5726),o=n(3498),a=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return o(e);var t=i(e),n=[];
vendor: 8,453 bytes, line 1
1for(var s in e)("constructor"!=s||!t&&a.call(e,s))&&n.push(s);return n}},2980:function(e,t,n){var r=n(6384),i=n(6556),o=n(6224),a=n(9783),s=n(3218),u=n(1704),c=n(6390);e.exports=function e(t,n,l,f,p){t!==n&&o(n,(function(o,u){if(p||(p=new r),s(o))a(t,n,u,l,e,f,p);else{var d=f?f(c(t,u),o,u+"",t,n,p):void 0;void 0===d&&(d=o),i(t,u,d)}}),u)}},9783:function(e,t,n){var r=n(6556),i=n(4626),o=n(7133),a=n(278),s=n(8517),u=n(5694),c=n(1469),l=n(9246),f=n(4144),p=n(3560),d=n(3218),h=n(8630),v=n(6719),y=n(6390),m=n(9881);e.exports=function(e,t,n,g,b,w,x){var _=y(e,n),E=y(t,n),O=x.get(E);if(O)r(e,n,O);else{var k=w?w(_,E,n+"",e,t,x):void 0,C=void 0===k;if(C){var S=c(E),T=!S&&f(E),j=!S&&!T&&v(E);k=E,S||T||j?c(_)?k=_:l(_)?k=a(_):T?(C=!1,k=i(E,!0)):j?(C=!1,k=o(E,!0)):k=[]:h(E)||u(E)?(k=_,u(_)?k=m(_):d(_)&&!p(_)||(k=s(E))):C=!1}C&&(x.set(E,k),b(k,E,g,w,x),x.delete(E)),r(e,n,k)}}},5976:function(e,t,n){var r=n(6557),i=n(5357),o=n(61);e.exports=function(e,t){return o(i(e,t,r),e+"")}},6560:function(e,t,n){var r=n(5703),i=n(8777),o=n(6557),a=i?function(e,t){return i(e,"toString",{configurable:!0,enumerable:!1,value:r(t),writable:!0})}:o;e.exports=a},2545:function(e){e.exports=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}},531:function(e,t,n){var r=n(2705),i=n(9932),o=n(1469),a=n(3448),s=r?r.prototype:void 0,u=s?s.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(o(t))return i(t,e)+"";if(a(t))return u?u.call(t):"";var n=t+"";return"0"==n&&1/t==-Infinity?"-0":n}},1717:function(e){e.exports=function(e){return function(t){return e(t)}}},1811:function(e,t,n){var r=n(1469),i=n(5403),o=n(5514),a=n(9833);e.exports=function(e,t){return r(e)?e:i(e,t)?[e]:o(a(e))}},4318:function(e,t,n){var r=n(1149);e.exports=function(e){var t=new e.constructor(e.byteLength);return new r(t).set(new r(e)),t}},4626:function(e,t,n){e=n.nmd(e);var r=n(5639),i=t&&!t.nodeType&&t,o=i&&e&&!e.nodeType&&e,a=o&&o.exports===i?r.Buffer:void 0,s=a?a.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var n=e.length,r=s?s(n):new e.constructor(n);return e.copy(r),r}},7157:function(e,t,n){var r=n(4318);e.exports=function(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}},3147:function(e){var t=/\w*$/;e.exports=function(e){var n=new e.constructor(e.source,t.exec(e));return n.lastIndex=e.lastIndex,n}},419:function(e,t,n){var r=n(2705),i=r?r.prototype:void 0,o=i?i.valueOf:void 0;e.exports=function(e){return o?Object(o.call(e)):{}}},7133:function(e,t,n){var r=n(4318);e.exports=function(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}},278:function(e){e.exports=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}},8363:function(e,t,n){var r=n(4865),i=n(9465);e.exports=function(e,t,n,o){var a=!n;n||(n={});for(var s=-1,u=t.length;++s<u;){var c=t[s],l=o?o(n[c],e[c],c,n,e):void 0;void 0===l&&(l=e[c]),a?i(n,c,l):r(n,c,l)}return n}},8805:function(e,t,n){var r=n(8363),i=n(9551);e.exports=function(e,t){return r(e,i(e),t)}},1911:function(e,t,n){var r=n(8363),i=n(1442);e.exports=function(e,t){return r(e,i(e),t)}},4429:function(e,t,n){var r=n(5639)["__core-js_shared__"];e.exports=r},1463:function(e,t,n){var r=n(5976),i=n(6612);e.exports=function(e){return r((function(t,n){var r=-1,o=n.length,a=o>1?n[o-1]:void 0,s=o>2?n[2]:void 0;for(a=e.length>3&&"function"==typeof a?(o--,a):void 0,s&&i(n[0],n[1],s)&&(a=o<3?void 0:a,o=1),t=Object(t);++r<o;){var u=n[r];u&&e(t,u,r,a)}return t}))}},5063:function(e){e.exports=function(e){return function(t,n,r){for(var i=-1,o=Object(t),a=r(t),s=a.length;s--;){var u=a[e?s:++i];if(!1===n(o[u],u,o))break}return t}}},8777:function(e,t,n){var r=n(852),i=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(t){}}();e.exports=i},1957:function(e,t,n){var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=r},8234:function(e,t,n){var r=n(8866),i=n(9551),o=n(3674);e.exports=function(e){return r(e,o,i)}},6904:function(e,t,n){var r=n(8866),i=n(1442),o=n(1704);e.exports=function(e){return r(e,o,i)}},5050:function(e,t,n){var r=n(7019);e.exports=function(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}},852:function(e,t,n){var r=n(8458),i=n(7801);e.exports=function(e,t){var n=i(e,t);return r(n)?n:void 0}},5924:function(e,t,n){var r=n(5569)(Object.getPrototypeOf,Object);e.exports=r},9607:function(e,t,n){var r=n(2705),i=Object.prototype,o=i.hasOwnProperty,a=i.toString,s=r?r.toStringTag:void 0;e.exports=function(e){var t=o.call(e,s),n=e[s];try{e[s]=void 0;var r=!0}catch(u){}var i=a.call(e);return r&&(t?e[s]=n:delete e[s]),i}},9551:function(e,t,n){var r=n(4963),i=n(479),o=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,s=a?function(e){return null==e?[]:(e=Object(e),r(a(e),(function(t){return o.call(e,t)})))}:i;e.exports=s},1442:function(e,t,n){var r=n(2488),i=n(5924),o=n(9551),a=n(479),s=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)r(t,o(e)),e=i(e);return t}:a;e.exports=s},4160:function(e,t,n){var r=n(8552),i=n(7071),o=n(3818),a=n(8525),s=n(577),u=n(4239),c=n(346),l="[object Map]",f="[object Promise]",p="[object Set]",d="[object WeakMap]",h="[object DataView]",v=c(r),y=c(i),m=c(o),g=c(a),b=c(s),w=u;(r&&w(new r(new ArrayBuffer(1)))!=h||i&&w(new i)!=l||o&&w(o.resolve())!=f||a&&w(new a)!=p||s&&w(new s)!=d)&&(w=function(e){var t=u(e),n="[object Object]"==t?e.constructor:void 0,r=n?c(n):"";if(r)switch(r){case v:return h;case y:return l;case m:return f;case g:return p;case b:return d}return t}),e.exports=w},7801:function(e){e.exports=function(e,t){return null==e?void 0:e[t]}},1789:function(e,t,n){var r=n(4536);e.exports=function(){this.__data__=r?r(null):{},this.size=0}},401:function(e){e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},7667:function(e,t,n){var r=n(4536),i=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 i.call(t,e)?t[e]:void 0}},1327:function(e,t,n){var r=n(4536),i=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return r?void 0!==t[e]:i.call(t,e)}},1866:function(e,t,n){var r=n(4536);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}},3824:function(e){var t=Object.prototype.hasOwnProperty;e.exports=function(e){var n=e.length,r=new e.constructor(n);return n&&"string"==typeof e[0]&&t.call(e,"index")&&(r.index=e.index,r.input=e.input),r}},9148:function(e,t,n){var r=n(4318),i=n(7157),o=n(3147),a=n(419),s=n(7133);e.exports=function(e,t,n){var u=e.constructor;switch(t){case"[object ArrayBuffer]":return r(e);case"[object Boolean]":case"[object Date]":return new u(+e);case"[object DataView]":return i(e,n);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return s(e,n);case"[object Map]":case"[object Set]":return new u;case"[object Number]":case"[object String]":return new u(e);case"[object RegExp]":return o(e);case"[object Symbol]":return a(e)}}},8517:function(e,t,n){var r=n(3118),i=n(5924),o=n(5726);e.exports=function(e){return"function"!=typeof e.constructor||o(e)?{}:r(i(e))}},7285:function(e,t,n){var r=n(2705),i=n(5694),o=n(1469),a=r?r.isConcatSpreadable:void 0;e.exports=function(e){return o(e)||i(e)||!!(a&&e&&e[a])}},5776: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}},6612:function(e,t,n){var r=n(7813),i=n(8612),o=n(5776),a=n(3218);e.exports=function(e,t,n){if(!a(n))return!1;var s=typeof t;return!!("number"==s?i(n)&&o(t,n.length):"string"==s&&t in n)&&r(n[t],e)}},5403:function(e,t,n){var r=n(1469),i=n(3448),o=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;e.exports=function(e,t){if(r(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!i(e))||(a.test(e)||!o.test(e)||null!=t&&e in Object(t))}},7019:function(e){e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},5346:function(e,t,n){var r=n(4429),i=function(){var e=/[^.]+$/.exec(r&&r.ke
1ys&&r.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();e.exports=function(e){return!!i&&i in e}},5726:function(e){var t=Object.prototype;e.exports=function(e){var n=e&&e.constructor;return e===("function"==typeof n&&n.prototype||t)}},7040:function(e){e.exports=function(){this.__data__=[],this.size=0}},4125:function(e,t,n){var r=n(8470),i=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=r(t,e);return!(n<0)&&(n==t.length-1?t.pop():i.call(t,n,1),--this.size,!0)}},2117:function(e,t,n){var r=n(8470);e.exports=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}},7518:function(e,t,n){var r=n(8470);e.exports=function(e){return r(this.__data__,e)>-1}},4705:function(e,t,n){var r=n(8470);e.exports=function(e,t){var n=this.__data__,i=r(n,e);return i<0?(++this.size,n.push([e,t])):n[i][1]=t,this}},4785:function(e,t,n){var r=n(1989),i=n(8407),o=n(7071);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(o||i),string:new r}}},1285:function(e,t,n){var r=n(5050);e.exports=function(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}},6e3:function(e,t,n){var r=n(5050);e.exports=function(e){return r(this,e).get(e)}},9916:function(e,t,n){var r=n(5050);e.exports=function(e){return r(this,e).has(e)}},5265:function(e,t,n){var r=n(5050);e.exports=function(e,t){var n=r(this,e),i=n.size;return n.set(e,t),this.size+=n.size==i?0:1,this}},4523:function(e,t,n){var r=n(8306);e.exports=function(e){var t=r(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}},4536:function(e,t,n){var r=n(852)(Object,"create");e.exports=r},6916:function(e,t,n){var r=n(5569)(Object.keys,Object);e.exports=r},3498:function(e){e.exports=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}},1167:function(e,t,n){e=n.nmd(e);var r=n(1957),i=t&&!t.nodeType&&t,o=i&&e&&!e.nodeType&&e,a=o&&o.exports===i&&r.process,s=function(){try{var e=o&&o.require&&o.require("util").types;return e||a&&a.binding&&a.binding("util")}catch(t){}}();e.exports=s},2333:function(e){var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},5569:function(e){e.exports=function(e,t){return function(n){return e(t(n))}}},5357:function(e,t,n){var r=n(6874),i=Math.max;e.exports=function(e,t,n){return t=i(void 0===t?e.length-1:t,0),function(){for(var o=arguments,a=-1,s=i(o.length-t,0),u=Array(s);++a<s;)u[a]=o[t+a];a=-1;for(var c=Array(t+1);++a<t;)c[a]=o[a];return c[t]=n(u),r(e,this,c)}}},5639:function(e,t,n){var r=n(1957),i="object"==typeof self&&self&&self.Object===Object&&self,o=r||i||Function("return this")();e.exports=o},6390:function(e){e.exports=function(e,t){if(("constructor"!==t||"function"!==typeof e[t])&&"__proto__"!=t)return e[t]}},61:function(e,t,n){var r=n(6560),i=n(1275)(r);e.exports=i},1275:function(e){var t=Date.now;e.exports=function(e){var n=0,r=0;return function(){var i=t(),o=16-(i-r);if(r=i,o>0){if(++n>=800)return arguments[0]}else n=0;return e.apply(void 0,arguments)}}},7465:function(e,t,n){var r=n(8407);e.exports=function(){this.__data__=new r,this.size=0}},3779:function(e){e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},7599:function(e){e.exports=function(e){return this.__data__.get(e)}},4758:function(e){e.exports=function(e){return this.__data__.has(e)}},4309:function(e,t,n){var r=n(8407),i=n(7071),o=n(3369);e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var a=n.__data__;if(!i||a.length<199)return a.push([e,t]),this.size=++n.size,this;n=this.__data__=new o(a)}return n.set(e,t),this.size=n.size,this}},5514:function(e,t,n){var r=n(4523),i=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/\\(\\)?/g,a=r((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(i,(function(e,n,r,i){t.push(r?i.replace(o,"$1"):n||e)})),t}));e.exports=a},327:function(e,t,n){var r=n(3448);e.exports=function(e){if("string"==typeof e||r(e))return e;var t=e+"";return"0"==t&&1/e==-Infinity?"-0":t}},346: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""}},361:function(e,t,n){var r=n(5990);e.exports=function(e){return r(e,5)}},7043:function(e,t,n){var r=n(2488),i=n(1078),o=n(278),a=n(1469);e.exports=function(){var e=arguments.length;if(!e)return[];for(var t=Array(e-1),n=arguments[0],s=e;s--;)t[s-1]=arguments[s];return r(a(n)?o(n):[n],i(t,1))}},5703:function(e){e.exports=function(e){return function(){return e}}},7813:function(e){e.exports=function(e,t){return e===t||e!==e&&t!==t}},7361:function(e,t,n){var r=n(7786);e.exports=function(e,t,n){var i=null==e?void 0:r(e,t);return void 0===i?n:i}},6557:function(e){e.exports=function(e){return e}},5694:function(e,t,n){var r=n(9454),i=n(7005),o=Object.prototype,a=o.hasOwnProperty,s=o.propertyIsEnumerable,u=r(function(){return arguments}())?r:function(e){return i(e)&&a.call(e,"callee")&&!s.call(e,"callee")};e.exports=u},1469:function(e){var t=Array.isArray;e.exports=t},8612:function(e,t,n){var r=n(3560),i=n(1780);e.exports=function(e){return null!=e&&i(e.length)&&!r(e)}},9246:function(e,t,n){var r=n(8612),i=n(7005);e.exports=function(e){return i(e)&&r(e)}},4144:function(e,t,n){e=n.nmd(e);var r=n(5639),i=n(5062),o=t&&!t.nodeType&&t,a=o&&e&&!e.nodeType&&e,s=a&&a.exports===o?r.Buffer:void 0,u=(s?s.isBuffer:void 0)||i;e.exports=u},3560:function(e,t,n){var r=n(4239),i=n(3218);e.exports=function(e){if(!i(e))return!1;var t=r(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},1780:function(e){e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},6688:function(e,t,n){var r=n(5588),i=n(1717),o=n(1167),a=o&&o.isMap,s=a?i(a):r;e.exports=s},3218:function(e){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},7005:function(e){e.exports=function(e){return null!=e&&"object"==typeof e}},8630:function(e,t,n){var r=n(4239),i=n(5924),o=n(7005),a=Function.prototype,s=Object.prototype,u=a.toString,c=s.hasOwnProperty,l=u.call(Object);e.exports=function(e){if(!o(e)||"[object Object]"!=r(e))return!1;var t=i(e);if(null===t)return!0;var n=c.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&u.call(n)==l}},2928:function(e,t,n){var r=n(9221),i=n(1717),o=n(1167),a=o&&o.isSet,s=a?i(a):r;e.exports=s},3448:function(e,t,n){var r=n(4239),i=n(7005);e.exports=function(e){return"symbol"==typeof e||i(e)&&"[object Symbol]"==r(e)}},6719:function(e,t,n){var r=n(8749),i=n(1717),o=n(1167),a=o&&o.isTypedArray,s=a?i(a):r;e.exports=s},3674:function(e,t,n){var r=n(4636),i=n(280),o=n(8612);e.exports=function(e){return o(e)?r(e):i(e)}},1704:function(e,t,n){var r=n(4636),i=n(313),o=n(8612);e.exports=function(e){return o(e)?r(e,!0):i(e)}},8306:function(e,t,n){var r=n(3369);function i(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=e.apply(this,r);return n.cache=o.set(i,a)||o,a};return n.cache=new(i.Cache||r),n}i.Cache=r,e.exports=i},2492:function(e,t,n){var r=n(2980),i=n(1463)((function(e,t,n){r(e,t,n)}));e.exports=i},479:function(e){e.exports=function(){return[]}},5062:function(e){e.exports=function(){return!1}},9881:function(e,t,n){var r=n(8363),i=n(1704);e.exports=function(e){return r(e,i(e))}},9833:function(e,t,n){var r=n(531);e.exports=function(e){return null==e?"":r(e)}},7824:function(e){var t=1e3,n=60*t,r=60*n,i=24*r,o=7*i,a=365.25*i;function s(e,t,n,r){var i=t>=1.5*n;return Math.round(e/n)+" "+r+(i?"s":"")}e.exports=function(e,u){u=u||{};var c=typeof e;if("string"===c&&e.length>0)return function(e){if((e=String(e)).length>100)return;var s=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!s)return;var u=parseFloat(s[1]);switch((s[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return u*a;case"weeks":case"week":case"w":return u*o;case"days":case"day":case"d":return u*i;case"hours":case"hour":case"hrs":case"hr":case"h":return u*r;case"minutes":case"minute":case"mins":case"min":case"m":return u*n;case"seconds":case"second":case"secs":case"sec":case"s":return u*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return u;default:return}}(e);if("number"===c&&isFinite(e))return u.long?function(e){var o=Math.abs(e);if(o>=i)return s(e,o,i,"day");if(o>=r)return s(e,o,r,"hour");if(o>=n)return s(e,o,n,"minute");
1if(o>=t)return s(e,o,t,"second");return e+" ms"}(e):function(e){var o=Math.abs(e);if(o>=i)return Math.round(e/i)+"d";if(o>=r)return Math.round(e/r)+"h";if(o>=n)return Math.round(e/n)+"m";if(o>=t)return Math.round(e/t)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},9332:function(e,t,n){"use strict";var r=o(n(2962)),i=o(n(9793));function o(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},n=t.ga,o=t.fbq;return function(t){var a=[];return n&&a.push((0,r.default)(n,e)),o&&a.push((0,i.default)(o,e)),a.reduce((function(e,t){return t(e)}),t)}}},1147:function(e,t,n){e.exports=n(9332)},8279:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.init=function(e){a&&!window.FB_INITIALIZED&&e&&o.default.init(e)},t.pageview=function(){o.default.pageView()},t.event=function e(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:"",n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};t&&0===Object.keys(n).length&&o.default.event(e,n)},t.exception=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:"",t=!!(1<arguments.length&&void 0!==arguments[1])&&arguments[1];e&&o.default.trackCustom("Error",{description:e,fatal:t})};var r,i=n(1767),o=(r=i)&&r.__esModule?r:{default:r};var a="undefined"!=typeof window},1489:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(7294),o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(8279));function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function u(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function c(){return"localhost"===location.hostname}t.default=function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},n=t.router;return function(t){var l=function(l){function f(){return a(this,f),s(this,(f.__proto__||Object.getPrototypeOf(f)).apply(this,arguments))}return u(f,l),r(f,[{key:"componentDidMount",value:function(){c()||!1||(o.init(e),o.pageview(),n&&n.events&&"function"==typeof n.events.on&&n.events.on("routeChangeComplete",(function(){o.pageview()})))}},{key:"render",value:function(){return(0,i.createElement)(t,this.props)}}]),f}(i.Component);return t.getInitialProps&&(l.getInitialProps=t.getInitialProps),l}}},9793:function(e,t,n){e.exports=n(1489)},5093:function(e,t,n){"use strict";var r,i=(r=n(1227))&&r.__esModule?r:{default:r};Object.defineProperty(t,"__esModule",{value:!0}),t.init=function(e){o("Analytics init triggered for ".concat(e))},t.pageview=function(){o("Pageview triggered for ".concat(window.location.pathname))},t.event=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:"",t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"";o("Event for category ".concat(e," and action ").concat(t," triggered"))},t.exception=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:"",t=!!(1<arguments.length&&void 0!==arguments[1])&&arguments[1];o("".concat(t?"Fatal exception":"Exception"," with description ").concat(e))};var o=(0,i.default)("analytics")},5046:function(e,t,n){"use strict";var r,i=(r=n(8719))&&r.__esModule?r:{default:r};Object.defineProperty(t,"__esModule",{value:!0}),t.init=function(e){o&&!window.GA_INITIALIZED&&e&&i.default.initialize(e)},t.pageview=function(){i.default.set({page:window.location.pathname}),i.default.pageview(window.location.pathname)},t.event=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:"",t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"";e&&t&&i.default.event({category:e,action:t})},t.exception=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:"",t=!!(1<arguments.length&&void 0!==arguments[1])&&arguments[1];e&&i.default.exception({description:e,fatal:t})};var o="undefined"!=typeof window},6030:function(e,t,n){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(7294),i=a(n(5046)),o=a(n(5093));function a(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};r.get||r.set?Object.defineProperty(t,n,r):t[n]=e[n]}return t.default=e,t}function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}function u(e){for(var t=1;t<arguments.length;t++){var n=null==arguments[t]?{}:arguments[t],r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){m(e,t,n[t])}))}return e}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}function f(e,t,n){return t&&l(e.prototype,t),n&&l(e,n),e}function p(e,t){return!t||"object"!==s(t)&&"function"!=typeof t?y(e):t}function d(e){return d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},d(e)}function h(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&v(e,t)}function v(e,t){return v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},v(e,t)}function y(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function m(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function g(e){return location.hostname===e}t.default=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{},a=n.localhost,s=void 0===a?"localhost":a;return function(n){var a=function(a){function l(){var e,t;c(this,l);for(var n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];return m(y(y(t=p(this,(e=d(l)).call.apply(e,[this].concat(r))))),"state",{analytics:void 0}),t}return h(l,a),f(l,[{key:"componentDidMount",value:function(){var n=g(s)||!1?o:i;n.init(e),n.pageview();var r=t.onRouteChangeComplete;t.onRouteChangeComplete=function(){"function"==typeof r&&r(),n.pageview()},this.setState({analytics:n})}},{key:"render",value:function(){return(0,r.createElement)(n,u({},this.props,{analytics:this.state.analytics}))}}]),l}(r.Component);return n.getInitialProps&&(a.getInitialProps=n.getInitialProps),a}}},2962:function(e,t,n){e.exports=n(6030)},2627:function(e,t,n){"use strict";var r;function i(e,t){if(void 0===t&&(t={}),"function"!==typeof e)throw new Error("[withApollo] requires a function that returns an ApolloClient");return e(t)}Object.defineProperty(t,"__esModule",{value:!0}),n(3144),t.default=function(e,t){if(!e)throw new Error("[withApollo] the first param is missing and is required to get the ApolloClient");return"undefined"===typeof window?i(e,t):(r||(r=i(e,t)),r)}},4763:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=r(n(9673));t.withApollo=i.default;var o=n(2627);t.initApollo=o.default,t.default=i.default},9673:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},r.apply(this,arguments)},i=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{u(r.next(e))}catch(t){o(t)}}function s(e){try{u(r.throw(e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((r=r.apply(e,t||[])).next())}))},o=this&&this.__generator||function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;
1function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}},a=this&&this.__rest||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 i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var u=s(n(7294)),c=s(n(2627));t.default=function(e,t){var n=this;return void 0===t&&(t={}),function(s,l){void 0===l&&(l={});var f,p=s.getInitialProps,d="getDataFromTree"in l?l.getDataFromTree:t.getDataFromTree,h=l.render||t.render,v=l.onError||t.onError;function y(t){var n,i=t.apollo,o=t.apolloState,l=t.router,f=a(t,["apollo","apolloState","router"]),p=i||c.default(e,{initialState:null===(n=o)||void 0===n?void 0:n.data,router:l});return h?h({Page:s,props:r(r({},f),{apollo:p})}):u.default.createElement(s,r({},f,{apollo:p}))}return y.displayName="WithApollo("+(((f=s).displayName||f.name||"Unknown")+")"),(p||d)&&(y.getInitialProps=function(t){return i(n,void 0,void 0,(function(){var n,i,a,s,l,f,h,y,m,g;return o(this,(function(o){switch(o.label){case 0:return n="Component"in t?t.ctx:t,i="Component"in t?t.router:void 0,a=t.AppTree,s=n.req?n.req.headers:{},l=c.default(e,{ctx:n,headers:s,router:i}),f={},h={},p?(n.apolloClient=l,[4,p(t)]):[3,2];case 1:h=o.sent(),o.label=2;case 2:if("undefined"!==typeof window)return[3,7];if(n.res&&(n.res.headersSent||n.res.finished))return[2,h];if(!d)return[3,7];o.label=3;case 3:return o.trys.push([3,5,,6]),y=r(r({},h),{apolloState:f,apollo:l}),m="Component"in t?y:{pageProps:y},[4,d(u.default.createElement(a,r({},m)))];case 4:return o.sent(),[3,6];case 5:return g=o.sent(),v&&v(g,n),[3,6];case 6:f.data=l.cache.extract(),o.label=7;case 7:return l.toJSON=function(){return null},[2,r(r({},h),{apolloState:f,apollo:l})]}}))}))}),y}}},3144:function(e){"use strict";var t=self.fetch.bind(self);e.exports=t,e.exports.default=e.exports},3454:function(e,t,n){"use strict";var r,i;e.exports=(null===(r=n.g.process)||void 0===r?void 0:r.env)&&"object"===typeof(null===(i=n.g.process)||void 0===i?void 0:i.env)?n.g.process:n(7663)},6363:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return n(4577)}])},7605:function(e,t,n){"use strict";n.d(t,{Vq:function(){return a},Zm:function(){return s},yu:function(){return u},ZZ:function(){return c},LK:function(){return l},RZ:function(){return f},yZ:function(){return p}});var r=n(5893);function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){i(e,t,n[t])}))}return e}var a=function(){return(0,r.jsxs)("svg",{width:"25",height:"24",viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("g",{clipPath:"url(#clip0_111_726)",children:(0,r.jsx)("path",{d:"M12.5 0C10.1266 0 7.80656 0.703788 5.83317 2.02236C3.85978 3.34094 2.3217 5.21509 1.41345 7.4078C0.505199 9.60051 0.267559 12.0133 0.730582 14.3411C1.19361 16.6689 2.3365 18.8071 4.01473 20.4853C5.69296 22.1635 7.83116 23.3064 10.1589 23.7694C12.4867 24.2324 14.8995 23.9948 17.0922 23.0866C19.2849 22.1783 21.1591 20.6402 22.4777 18.6668C23.7962 16.6935 24.5 14.3734 24.5 12C24.5 8.8174 23.2357 5.76516 20.9853 3.51472C18.7349 1.26428 15.6826 0 12.5 0V0ZM15.9137 7.80947C15.9137 8.03526 15.819 8.12526 15.5979 8.12526C15.1732 8.12526 14.7484 8.12526 14.3253 8.14263C13.9021 8.16 13.6716 8.35263 13.6716 8.79474C13.6621 9.26842 13.6716 9.73263 13.6716 10.2158H15.489C15.7479 10.2158 15.8363
110.3042 15.8363 10.5647C15.8363 11.1963 15.8363 11.8311 15.8363 12.4689C15.8363 12.7263 15.7542 12.8068 15.4937 12.8084H13.6558V17.9463C13.6558 18.2211 13.5705 18.3079 13.299 18.3079H11.3221C11.0837 18.3079 10.9905 18.2147 10.9905 17.9763V12.8163H9.42107C9.17475 12.8163 9.08633 12.7263 9.08633 12.4784C9.08633 11.8395 9.08633 11.2011 9.08633 10.5632C9.08633 10.3168 9.17949 10.2237 9.42264 10.2237H10.9905V8.84211C10.9719 8.22151 11.1208 7.60737 11.4216 7.06421C11.7342 6.51585 12.2352 6.09957 12.8316 5.89263C13.2186 5.75181 13.6277 5.68123 14.0395 5.68421H15.5916C15.8142 5.68421 15.9074 5.78211 15.9074 6C15.9153 6.60789 15.9153 7.20947 15.9137 7.80947Z",fill:"white"})}),(0,r.jsx)("defs",{children:(0,r.jsx)("clipPath",{id:"clip0_111_726",children:(0,r.jsx)("rect",{width:"24",height:"24",fill:"white",transform:"translate(0.5)"})})})]})},s=function(){return(0,r.jsxs)("svg",{width:"25",height:"24",viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("g",{clipPath:"url(#clip0_111_730)",children:(0,r.jsx)("path",{d:"M12.5 0C5.88323 0 0.5 5.38323 0.5 12C0.5 18.6163 5.88323 24 12.5 24C19.1163 24 24.5 18.6163 24.5 12C24.5 5.38323 19.1173 0 12.5 0ZM17.8533 9.25352C17.8586 9.37243 17.8615 9.49231 17.8615 9.61218C17.8615 13.2621 15.0841 17.4693 10.0025 17.4693C8.44264 17.4693 6.99061 17.0135 5.76867 16.2294C5.98473 16.2551 6.20466 16.2681 6.42749 16.2681C7.72194 16.2681 8.91247 15.8263 9.85793 15.0858C8.64952 15.0636 7.62914 14.265 7.27773 13.1673C7.44594 13.1992 7.61947 13.2171 7.79687 13.2171C8.0487 13.2171 8.29328 13.1842 8.52481 13.1209C7.2613 12.8676 6.30955 11.7515 6.30955 10.4126C6.30955 10.401 6.30955 10.3889 6.31004 10.3778C6.68223 10.5842 7.10807 10.7089 7.5605 10.723C6.81999 10.2285 6.33227 9.38258 6.33227 8.42455C6.33227 7.91799 6.4681 7.44333 6.70591 7.03537C8.06755 8.70684 10.1035 9.80601 12.3985 9.92202C12.3511 9.71949 12.3274 9.50922 12.3274 9.29219C12.3274 7.76718 13.5639 6.53025 15.0889 6.53025C15.8835 6.53025 16.6004 6.8657 17.105 7.40224C17.7348 7.2785 18.3245 7.04938 18.8596 6.73181C18.6518 7.3771 18.2153 7.91799 17.6435 8.26021C18.2027 8.19351 18.7364 8.0456 19.2299 7.82567C18.8616 8.37863 18.3932 8.86538 17.8533 9.25352Z",fill:"white"})}),(0,r.jsx)("defs",{children:(0,r.jsx)("clipPath",{id:"clip0_111_730",children:(0,r.jsx)("rect",{width:"24",height:"24",fill:"white",transform:"translate(0.5)"})})})]})},u=function(){return(0,r.jsxs)("svg",{width:"25",height:"24",viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsxs)("g",{clipPath:"url(#clip0_111_741)",children:[(0,r.jsx)("path",{d:"M12.5 14.4609C13.8591 14.4609 14.9609 13.3591 14.9609 12C14.9609 10.6409 13.8591 9.53906 12.5 9.53906C11.1409 9.53906 10.0391 10.6409 10.0391 12C10.0391 13.3591 11.1409 14.4609 12.5 14.4609Z",fill:"white"}),(0,r.jsx)("path",{d:"M12.5 0.28125C6.02792 0.28125 0.78125 5.52792 0.78125 12C0.78125 18.4721 6.02792 23.7188 12.5 23.7188C18.9721 23.7188 24.2188 18.4721 24.2188 12C24.2188 5.52792 18.9721 0.28125 12.5 0.28125ZM19.7402 14.9784C19.684 16.0926 19.3709 17.1912 18.559 17.9945C17.7392 18.8055 16.6353 19.1076 15.5105 19.1633H9.48959C8.36459 19.1076 7.26087 18.8056 6.44108 17.9945C5.62911 17.1912 5.31608 16.0926 5.25983 14.9784V9.02156C5.31608 7.90744 5.62916 6.80878 6.44108 6.00544C7.26087 5.1945 8.36473 4.89234 9.48959 4.8367H15.5104C16.6354 4.89234 17.7391 5.19436 18.5589 6.00544C19.3709 6.80878 19.6839 7.90744 19.7402 9.02156L19.7402 14.9784Z",fill:"white"}),(0,r.jsx)("path",{d:"M15.4347 6.19374C13.9682 6.15352 11.0329 6.15352 9.56636 6.19374C8.80319 6.21469 7.93802 6.40468 7.39427 6.98546C6.82924 7.58916 6.61572 8.31854 6.59407 9.13449C6.556 10.5666 6.59407 14.8651 6.59407 14.8651C6.61886 15.6809 6.82924 16.4104 7.39427 17.0141C7.93802 17.5951 8.80319 17.7849 9.56636 17.8058C11.0329 17.846 13.9682 17.846 15.4347 17.8058C16.1979 17.7849 17.0631 17.5949 17.6068 17.0141C18.1719 16.4104 18.3854 15.681 18.407 14.8651V9.13449C18.3854 8.31854 18.1719 7.58916 17.6068 6.98546C17.0629 6.40449 16.1977 6.21469 15.4347 6.19374ZM12.5004 15.8142C11.7459 15.8142 11.0084 15.5905 10.3812 15.1714C9.75388 14.7522 9.26497 14.1565 8.97627 13.4595C8.68756 12.7625 8.61202 11.9955 8.7592 11.2556C8.90638 10.5157 9.26968 9.83601 9.80314 9.30255C10.3366 8.76909 11.0163 8.40579 11.7562 8.25861C12.4961 8.11143 13.2631 8.18697 13.9601 8.47568C14.6571 8.76438 15.2528 9.25329 15.672 9.88058C16.0911 10.5079 16.3148 11.2453 16.3148 11.9998C16.3148 13.0114 15.9129 13.9817 15.1976 14.697C14.4822 15.4124 13.512 15.8142 12.5004 15.8142ZM16.331 8.97268C16.1802 8.97264 16.0327 8.92787 15.9072 8.84402C15.7818 8.76017 15.6841 8.64101 15.6263 8.5016C15.5686 8.3622 15.5536 8.20881 15.583 8.06084C15.6125 7.91287 15.6851 7.77695 15.7918 7.67028C15.8985 7.5636 16.0345 7.49096 16.1825 7.46154C16.3304 7.43212 16.4838 7.44724 16.6232 7.50498C16.7626 7.56273 16.8817 7.66051 16.9656 7.78597C17.0494 7.91142 17.0941 8.05891 17.0941 8.20979C17.0941 8.30999 17.0744 8.40921 17.036 8.50178C16.9977 8.59435 16.9415 8.67846 16.8706 8.7493C16.7997 8.82014 16.7156 8.87633 16.623 8.91466C16.5305 8.95299 16.4312 8.9727 16.331 8.97268Z",fill:"white"})]}),(0,r.jsx)("defs",{children:(0,r.jsx)("clipPath",{id:"clip0_111_741",children:(0,r.jsx)("rect",{width:"24",height:"24",fill:"white",transform:"translate(0.5)"})})})]})},c=function(){return(0,r.jsxs)("svg",{width:"25",height:"24",viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("g",{clipPath:"url(#clip0_111_734)",children:(0,r.jsx)("path",{d:"M12.5 0C5.87299 0 0.5 5.37299 0.5 12C0.5 18.627 5.87299 24 12.5 24C19.1279 24 24.5 18.627 24.5 12C24.5 5.37299 19.1279 0 12.5 0ZM17.666 17.4588C17.4902 17.7558 17.1152 17.877 16.7942 17.7354C16.7285 17.706 16.6691 17.6688 16.6075 17.6337C15.4159 16.9257 14.132 16.4883 12.7657 16.2801C11.9272 16.152 11.0846 16.1073 10.2373 16.1403C9.14264 16.1835 8.06205 16.3338 6.99225 16.5729C6.88397 16.5954 6.77293 16.6176 6.66313 16.6188C6.33131 16.6227 6.05234 16.3874 5.99381 16.068C5.93229 15.732 6.09998 15.4155 6.409 15.2916C6.47498 15.264 6.54459 15.2477 6.61273 15.2331C7.48783 15.0357 8.37102 14.8875 9.26504 14.8122C9.76426 14.769 10.2649 14.7528 10.765 14.7243C12.2441 14.7399 13.6919 14.9403 15.0961 15.4158C15.8716 15.6756 16.6117 16.0143 17.314 16.4334C17.3755 16.4685 17.437 16.5036 17.4928 16.5468C17.7755 16.7628 17.8496 17.1534 17.666 17.4588ZM19.0439 14.3964C18.7949 14.8065 18.2792 14.9334 17.8496 14.6901C17.6063 14.5554 17.3672 14.4108 17.1191 14.2848C15.9833 13.7055 14.7791 13.3305 13.529 13.0944C12.5672 12.9129 11.5949 12.8229 10.5632 12.819C9.27717 12.825 7.96133 12.984 6.67467 13.3638C6.46619 13.4262 6.25584 13.4322 6.04977 13.347C5.71584 13.2132 5.49834 12.8775 5.50977 12.5238C5.52236 12.1539 5.74795 11.8323 6.10408 11.724C6.46736 11.6115 6.83516 11.5161 7.20447 11.4351C8.11619 11.232 9.03957 11.1255 9.97197 11.0904C11.9793 11.0142 13.9413 11.2731 15.8535 11.8872C16.8213 12.1959 17.7477 12.6021 18.621 13.1226C18.6642 13.149 18.708 13.1745 18.7512 13.2009C19.2068 13.4805 19.2617 14.0412 19.0439 14.3964ZM19.1777 11.2137C18.6914 10.9392 18.1955 10.6903 17.6777 10.4832C16.6493 10.071 15.584 9.79477 14.4944 9.60217C13.7366 9.46834 12.974 9.37957 12.2054 9.33369C11.4071 9.2857 10.6088 9.28002 9.80838 9.32109C8.8925 9.36908 7.98377 9.46957 7.08676 9.66311C6.75617 9.73418 6.42916 9.82512 6.10156 9.91301C5.90023 9.96674 5.70318 9.97359 5.50273 9.91389C5.06533 9.78697 4.76416 9.3934 4.75092 8.93531C4.73773 8.48801 5.01312 8.07404 5.44572 7.93154C5.7616 7.82807 6.0868 7.74492 6.41264 7.67086C7.21695 7.48424 8.03234 7.36904 8.85465 7.29498C9.72764 7.21488 10.6027 7.18939 11.4781 7.214C13.6346 7.27553 15.7486 7.59199 17.7955 8.29793C18.6296 8.58592 19.4323 8.94322 20.1961 9.38871C20.4685 9.54803 20.6512 9.7715 20.7205 10.0802C20.737 10.1546 20.7409 10.2318 20.7508 10.3058C20.747 11.1201 19.8926 11.619 19.1777 11.2137Z",fill:"white"})}),(0,r.jsx)("defs",{children:(0,r.jsx)("clipPath",{id:"clip0_111_734",children:(0,r.jsx)("rect",{width:"24",height:"24",fill:"white",transform:"translate(0.5)"})})})]})},l=function(){return(0,r.jsxs)("svg",{width:"25",height:"24",viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsxs)("g",{clipPath:"url(#clip0_111_738)",children:[(0,r.jsx)("path",{d:"M11.0054 14.2483L14.9088 12.0001L11.0054 9.75195V14.2483Z",fill:"white"}),(0,r.jsx)("path",{d:"M12.5 0C5.8736 0 0.5 5.3736 0.5 12C0.5 18.6264 5.8736 24 12.5 24C19.1264 24 24.5 18.6264 24.5 12C24.5 5.3736 19.1264 0 12.5 0ZM19.9982 12.0123C19.9982 12.0123 19.9982 14.4459 19.6895 15.6194C19.5164 16.2618 19.0099 16.7682 18.3676 16.9411C17.1941 17.25 12.5 17.25 12.5 17.25C12.5 17.25 7.81818 17.25 6.63239 16.9288C5.99005 16.756 5.48358 16.2493 5.31055 15.607C5.00165 14.4459 5.00165 12 5.00165 12C5.00165 12 5.00165 9.56653 5.31055 8.39301C5.4834 7.75067 6.00232 7.23175 6.63239 7.0589C7.80591 6.75 12.5 6.75 12.5 6.75C12.5 6.75 17.1941 6.75 18.3676 7.07117C19.0099 7.24402 19.5164 7.75067 19.6895 8.39301C20.0106 9.56653 19.9982 12.0123 19.9982 12.0123Z",fill:"white"})]}),(0,r.jsx)("defs",{children:(0,r.jsx)("clipPath",{id:"clip0_111_738",children:(0,r.jsx)("rect",{width:"24",height:"24",fill:"white",transform:"translate(0.5)"})})})]})},f=function(e){return(0,r.jsx)("svg",o({},e,{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{d:"M5.22657 2.58921V11.1061C4.73097 10.664 4.07791 10.3949 3.36307 10.3949C1.81776 10.3949 0.560547 11.6521 0.560547 13.1974C0.560547 14.7428 1.81776 16 3.36307 16C4.90647 16 6.16238 14.7459 6.16557 13.2033H6.16563V6.35858L14.5018 4.24543V8.84526C14.0062 8.40317 13.3531 8.13402 12.6383 8.13402C11.093 8.13402 9.83574 9.39123 9.83574 10.9365C9.83574 12.4819 11.093 13.7391 12.6383 13.7391C14.1836 13.7391 15.4408 12.4819 15.4408 10.9365V0L5.22657 2.58921Z",fill:"white"})}))},p=function(e){return(0,r.jsxs)("svg",o({},e,{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("path",{d:"M20.5713 3.0877C20.3303 2.82792 20.0035 2.68201 19.6628 2.68201C19.322 2.68201 18.9953 2.82792 18.7542 3.0877C18.5134 3.34781 18.3782 3.70039 18.3782 4.068C18.3782 4.43562 18.5134 4.7882 18.7542 5.
10483C19.597 5.95244 20.2658 7.02742 20.7222 8.21142C21.1786 9.39542 21.4135 10.6651 21.4135 11.9474C21.4135 13.2297 21.1786 14.4994 20.7222 15.6834C20.2658 16.8674 19.597 17.9424 18.7542 18.8465C18.5134 19.1066 18.3782 19.4592 18.3782 19.8268C18.3782 20.1944 18.5134 20.547 18.7542 20.8071C18.9953 21.0669 19.322 21.2128 19.6628 21.2128C20.0035 21.2128 20.3303 21.0669 20.5713 20.8071C21.6567 19.6479 22.5183 18.268 23.1063 16.7473C23.6943 15.2266 23.997 13.5952 23.997 11.9474C23.997 10.2996 23.6943 8.66824 23.1063 7.14751C22.5183 5.62679 21.6567 4.24692 20.5713 3.0877Z",fill:"white"}),(0,r.jsx)("path",{d:"M17.7258 8.0446C17.5214 7.77474 17.2302 7.59782 16.9103 7.54905C16.5904 7.50028 16.2653 7.58323 15.9995 7.78139C15.7337 7.97956 15.5468 8.27842 15.476 8.61851C15.4052 8.9586 15.4556 9.31499 15.6173 9.61678C16.0529 10.3031 16.286 11.1155 16.286 11.9473C16.286 12.7791 16.0529 13.5915 15.6173 14.2778C15.4419 14.5726 15.378 14.9286 15.4386 15.2727C15.4991 15.6167 15.6797 15.9227 15.943 16.1275C16.2173 16.3122 16.5461 16.3787 16.8638 16.3136C17.1816 16.2484 17.4649 16.0565 17.6573 15.776C18.3946 14.6301 18.7897 13.2684 18.7897 11.8733C18.7897 10.4783 18.3946 9.11658 17.6573 7.97062L17.7258 8.0446Z",fill:"white"}),(0,r.jsx)("path",{d:"M11.4686 0.849609C10.9737 0.853584 10.493 1.02861 10.0971 1.34901L5.26286 7.17532C5.1767 7.26919 5.05958 7.32239 4.93714 7.32329H3C2.20574 7.32815 1.44529 7.67073 0.883652 8.27671C0.322016 8.88268 0.00450017 9.70317 0 10.5601L0 13.3346C0.00450017 14.1915 0.322016 15.012 0.883652 15.618C1.44529 16.224 2.20574 16.5666 3 16.5714H4.93714C5.05958 16.5723 5.1767 16.6255 5.26286 16.7194L10.0971 22.5457C10.493 22.8661 10.9737 23.0411 11.4686 23.0451C12.0642 23.0451 12.6354 22.7898 13.0565 22.3354C13.4777 21.881 13.7143 21.2647 13.7143 20.6221V3.27262C13.7143 2.63 13.4777 2.01369 13.0565 1.55929C12.6354 1.10489 12.0642 0.849609 11.4686 0.849609Z",fill:"white"})]}))}},3073:function(e,t,n){"use strict";var r=n(6716);function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){i(e,t,n[t])}))}return e}var a="production",s=new r.Z({analytics:{ga:"UA-165699546-3",fbq:"616372483142470"},apollo:{http:{uri:{$filter:"env",xdevelopment:"http://localhost:3921/graphql",$default:"https://api.roundhillmusic.com/graphql"}}},env:a,favicon:"https://rhm-assets.s3.us-east-2.amazonaws.com/u/2021/06/favicon.png",mediaUrls:{s3:["https://s3-us-east-2.amazonaws.com/rhm-assets","https://rhm-assets.s3.us-east-2.amazonaws.com"],imgix:"https://rhm-assets.imgix.net"},opengraph:{url:"https://roundhillrecords.com",image:"https://rhm-assets.s3.us-east-2.amazonaws.com/u/2022/04/rhr-facebook.png",defaultTitle:"Round Hill Records",description:"Sound Hill takes a hands-on approach to searching for and optimizing assets in the Neighboring Rights space by utilizing our worldwide network of relationships with international collection societies"},storeUrl:"https://store.roundhillrecords.com/",shopify:{domain:"round-hill-records.myshopify.com",storefrontAccessToken:"0671089ce699156905c6f63cf0564ae9"}});t.Z=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return s.get(e,o({env:a},t))}("/")},4577:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return Be}});var r=n(5893),i=n(9008),o=n(4298),a=n(1163),s=n(9613),u=n(7294),c=n(5317),l=function(e){var t=e.client,n=e.children,r=(0,c.K)();return u.createElement(r.Consumer,null,(function(e){return void 0===e&&(e={}),t&&e.client!==t&&(e=Object.assign({},e,{client:t})),__DEV__?(0,s.kG)(e.client,'ApolloProvider was not passed a client instance. Make sure you pass in your client via the "client" prop.'):(0,s.kG)(e.client,26),u.createElement(r.Provider,{value:e},n)}))},f=n(655);var p=function(){function e(){this.queryPromises=new Map,this.queryInfoTrie=new Map,this.stopped=!1}return e.prototype.stop=function(){this.stopped||(this.queryPromises.clear(),this.queryInfoTrie.clear(),this.stopped=!0)},e.prototype.registerSSRObservable=function(e,t){this.stopped||(this.lookupQueryInfo(t).observable=e)},e.prototype.getSSRObservable=function(e){return this.lookupQueryInfo(e).observable},e.prototype.addQueryPromise=function(e,t){if(!this.stopped&&!this.lookupQueryInfo(e.getOptions()).seen)return this.queryPromises.set(e.getOptions(),new Promise((function(t){t(e.fetchData())}))),null;return t()},e.prototype.hasPromises=function(){return this.queryPromises.size>0},e.prototype.consumeAndAwaitPromises=function(){var e=this,t=[];
1return this.queryPromises.forEach((function(n,r){e.lookupQueryInfo(r).seen=!0,t.push(n)})),this.queryPromises.clear(),Promise.all(t)},e.prototype.lookupQueryInfo=function(e){var t=this.queryInfoTrie,n=e.query,r=e.variables,i=t.get(n)||new Map;t.has(n)||t.set(n,i);var o=JSON.stringify(r),a=i.get(o)||{seen:!1,observable:null};return i.has(o)||i.set(o,a),a},e}();var d=n(1147),h=n(4763),v=n.n(h),y=n(3073),m=n(4925),g=n(507),b=n(2152),w=n(3361),x=function(){function e(){this.getFragmentDoc=(0,g.re)(w.Yk)}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.identify=function(e){},e.prototype.gc=function(){return[]},e.prototype.modify=function(e){return!1},e.prototype.transformForLink=function(e){return e},e.prototype.readQuery=function(e,t){return void 0===t&&(t=!!e.optimistic),this.read((0,f.pi)((0,f.pi)({},e),{rootId:e.id||"ROOT_QUERY",optimistic:t}))},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!!e.optimistic),this.read((0,f.pi)((0,f.pi)({},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,f._T)(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,i=e.fragmentName,o=(0,f._T)(e,["id","data","fragment","fragmentName"]);return this.write(Object.assign(o,{query:this.getFragmentDoc(r,i),dataId:t,result:n}))},e.prototype.updateQuery=function(e,t){return this.batch({update:function(n){var r=n.readQuery(e),i=t(r);return void 0===i||null===i?r:(n.writeQuery((0,f.pi)((0,f.pi)({},e),{data:i})),i)}})},e.prototype.updateFragment=function(e,t){return this.batch({update:function(n){var r=n.readFragment(e),i=t(r);return void 0===i||null===i?r:(n.writeFragment((0,f.pi)((0,f.pi)({},e),{data:i})),i)}})},e}(),_=function(e,t,n,r){this.message=e,this.path=t,this.query=n,this.variables=r},E=n(1761),O=n(6982),k=n(320),C=n(3712),S=n(6765),T=n(182),j=n(9065),A=n(3154);function D(e){var t=new Set([e]);return t.forEach((function(e){(0,A.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,A.s)(e[n])&&t.add(e[n])}))})),e}function P(e){return __DEV__&&D(e),e}var I=n(657),R=n(9641),N=Object.create(null),F=function(){return N},M=Object.create(null),V=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 P((0,E.Yk)(e)?n.get(e.__ref,t):e&&e[t])},this.canRead=function(e){return(0,E.Yk)(e)?n.has(e.__ref):"object"===typeof e},this.toReference=function(e,t){if("string"===typeof e)return(0,E.kQ)(e);if((0,E.Yk)(e))return e;var r=n.policies.identify(e)[0];if(r){var i=(0,E.kQ)(r);return t&&n.merge(r,e),i}}}return e.prototype.toObject=function(){return(0,f.pi)({},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),R.RI.call(this.data,e)){var n=this.data[e];if(n&&R.RI.call(n,t))return n[t]}return"__typename"===t&&R.RI.call(this.policies.rootTypenamesById,e)?this.policies.rootTypenamesById[e]:this instanceof U?this.parent.get(e,t):void 0},e.prototype.lookup=function(e,t){return t&&this.group.depend(e,"__exists"),R.RI.call(this.data,e)?this.data[e]:this instanceof U?this.parent.lookup(e,t):this.policies.rootTypenamesById[e]?Object.create(null):void 0},e.prototype.merge=function(e,t){var n,r=this;(0,E.Yk)(e)&&(e=e.__ref),(0,E.Yk)(t)&&(t=t.__ref);var i="string"===typeof e?this.lookup(n=e):e,o="string"===typeof t?this.lookup(n=t):t;if(o){__DEV__?(0,s.kG)("string"===typeof n,"store.merge expects a string ID"):(0,s.kG)("string"===typeof n,1);var a=new T.w0(G).merge(i,o);if(this.data[n]=a,a!==i&&(delete this.refs[n],this.group.caching)){var u=Object.create(null);
1i||(u.__exists=1),Object.keys(o).forEach((function(e){if(!i||i[e]!==a[e]){u[e]=1;var t=(0,R.E_)(e);t===e||r.policies.hasKeyArgs(a.__typename,t)||(u[t]=1),void 0!==a[e]||r instanceof U||delete a[e]}})),!u.__typename||i&&i.__typename||this.policies.rootTypenamesById[n]!==a.__typename||delete u.__typename,Object.keys(u).forEach((function(e){return r.group.dirty(n,e)}))}}},e.prototype.modify=function(e,t){var n=this,r=this.lookup(e);if(r){var i=Object.create(null),o=!1,a=!0,s={DELETE:N,INVALIDATE:M,isReference:E.Yk,toReference:this.toReference,canRead:this.canRead,readField:function(t,r){return n.policies.readField("string"===typeof t?{fieldName:t,from:r||(0,E.kQ)(e)}:t,{store:n})}};if(Object.keys(r).forEach((function(u){var c=(0,R.E_)(u),l=r[u];if(void 0!==l){var p="function"===typeof t?t:t[u]||t[c];if(p){var d=p===F?N:p(P(l),(0,f.pi)((0,f.pi)({},s),{fieldName:c,storeFieldName:u,storage:n.getStorage(e,u)}));d===M?n.group.dirty(e,u):(d===N&&(d=void 0),d!==l&&(i[u]=d,o=!0,l=d))}void 0!==l&&(a=!1)}})),o)return this.merge(e,i),a&&(this instanceof U?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,i=this.lookup(e);if(i){var o=this.getFieldValue(i,"__typename"),a=t&&n?this.policies.getStoreFieldName({typename:o,fieldName:t,args:n}):t;return this.modify(e,a?((r={})[a]=F,r):F)}return!1},e.prototype.evict=function(e,t){var n=!1;return e.id&&(R.RI.call(this.data,e.id)&&(n=this.delete(e.id,e.fieldName,e.args)),this instanceof U&&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){R.RI.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&&R.RI.call(e,n)||t.delete(n)})),e){var n=e.__META,r=(0,f._T)(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 U?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){R.RI.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 i=this;i instanceof U;)i=i.parent;r.forEach((function(e){return i.delete(e)}))}return r},e.prototype.findChildRefIds=function(e){if(!R.RI.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){(0,E.Yk)(e)&&(t[e.__ref]=!0),(0,A.s)(e)&&Object.keys(e).forEach((function(t){var n=e[t];(0,A.s)(n)&&r.add(n)}))}))}return this.refs[e]},e.prototype.makeCacheKey=function(){return this.group.keyMaker.lookupArray(arguments)},e}(),L=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?(0,g.dP)():null,this.keyMaker=new I.B(k.mr)}
1,e.prototype.depend=function(e,t){if(this.d){this.d(q(e,t));var n=(0,R.E_)(t);n!==t&&this.d(q(e,n)),this.parent&&this.parent.depend(e,t)}},e.prototype.dirty=function(e,t){this.d&&this.d.dirty(q(e,t),"__exists"===t?"forget":"setDirty")},e}();function q(e,t){return t+"#"+e}function B(e,t){z(e)&&e.group.depend(t,"__exists")}!function(e){var t=function(e){function t(t){var n=t.policies,r=t.resultCaching,i=void 0===r||r,o=t.seed,a=e.call(this,n,new L(i))||this;return a.stump=new Q(a),a.storageTrie=new I.B(k.mr),o&&a.replace(o),a}return(0,f.ZT)(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}(V||(V={}));var U=function(e){function t(t,n,r,i){var o=e.call(this,n.policies,i)||this;return o.id=t,o.parent=n,o.replay=r,o.group=i,r(o),o}return(0,f.ZT)(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],i=n.lookup(e);i?r?r!==i&&Object.keys(r).forEach((function(n){(0,b.D)(r[n],i[n])||t.group.dirty(e,n)}
1)):(t.group.dirty(e,"__exists"),Object.keys(i).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,f.pi)((0,f.pi)({},this.parent.toObject()),this.data)},t.prototype.findChildRefIds=function(t){var n=this.parent.findChildRefIds(t);return R.RI.call(this.data,t)?(0,f.pi)((0,f.pi)({},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}(V),Q=function(e){function t(t){return e.call(this,"EntityStore.Stump",t,(function(){}),new L(t.group.caching,t.group))||this}return(0,f.ZT)(t,e),t.prototype.removeLayer=function(){return this},t.prototype.merge=function(){return this.parent.merge.apply(this.parent,arguments)},t}(U);function G(e,t,n){var r=e[n],i=t[n];return(0,b.D)(r,i)?r:i}function z(e){return!!(e instanceof V&&e.group.caching)}var $=n(900);function Y(e){return[e.selectionSet,e.objectOrReference,e.context,e.context.canonizeResults]}var W=function(){function e(e){var t=this;this.knownResults=new(k.mr?WeakMap:Map),this.config=(0,C.o)(e,{addTypename:!1!==e.addTypename,canonizeResults:(0,R.lg)(e)}),this.canon=e.canon||new $.h,this.executeSelectionSet=(0,g.re)((function(e){var n,r=e.context.canonizeResults,i=Y(e);i[3]=!r;var o=(n=t.executeSelectionSet).peek.apply(n,i);return o?r?(0,f.pi)((0,f.pi)({},o),{result:t.canon.admit(o.result)}):o:(B(e.context.store,e.enclosingRef.__ref),t.execSelectionSetImpl(e))}),{max:this.config.resultCacheMaxSize,keyArgs:Y,makeCacheKey:function(e,t,n,r){if(z(n.store))return n.store.makeCacheKey(e,(0,E.Yk)(t)?t.__ref:t,n.varString,r)}}),this.executeSubSelectedArray=(0,g.re)((function(e){return B(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;if(z(r.store))return r.store.makeCacheKey(t,n,r.varString)}})}return e.prototype.resetCanon=function(){this.canon=new $.h},e.prototype.diffQueryAgainstStore=function(e){var t=e.store,n=e.query,r=e.rootId,i=void 0===r?"ROOT_QUERY":r,o=e.variables,a=e.returnPartialData,s=void 0===a||a,u=e.canonizeResults,c=void 0===u?this.config.canonizeResults:u,l=this.config.cache.policies;o=(0,f.pi)((0,f.pi)({},(0,S.O4)((0,S.iW)(n))),o);var p,d=(0,E.kQ)(i),h=new T.w0,v=this.executeSelectionSet({selectionSet:(0,S.p$)(n).selectionSet,objectOrReference:d,enclosingRef:d,context:{store:t,query:n,policies:l,variables:o,varString:(0,$.B)(o),canonizeResults:c,fragmentMap:(0,w.F)((0,S.kU)(n)),merge:function(e,t){return h.merge(e,t)}}});if(v.missing&&(p=[new _(J(v.missing),v.missing,n,o)],!s))throw p[0];return{result:v.result,complete:!p,missing:p}},e.prototype.isFresh=function(e,t,n,r){if(z(r.store)&&this.knownResults.get(e)===n){var i=this.executeSelectionSet.peek(n,t,r,this.canon.isKnown(e));if(i&&e===i.result)return!0}return!1},e.prototype.execSelectionSetImpl=function(e){var t=this,n=e.selectionSet,r=e.objectOrReference,i=e.enclosingRef,o=e.context;if((0,E.Yk)(r)&&!o.policies.rootTypenamesById[r.__ref]&&!o.store.has(r.__ref))return{result:this.canon.empty,missing:"Dangling reference to missing ".concat(r.__ref," object")};var a,s=o.variables,u=o.policies,c=o.store.getFieldValue(r,"__typename"),l={};function f(e,t){var n;return e.missing&&(a=o.merge(a,((n={})[t]=e.missing,n))),e.result}this.config.addTypename&&"string"===typeof c&&!u.rootIdsByTypename[c]&&(l={__typename:c});var p=new Set(n.selections);p.forEach((function(e){var n,d;if((0,j.LZ)(e,s))if((0,E.My)(e)){var h=u.readField({fieldName:e.name.value,field:e,variables:o.variables,from:r},o),v=(0,E.u2)(e);void 0===h?O.Gw.added(e)||(a=o.merge(a,((n={})[v]="Can't find field '".concat(e.name.value,"' on ").concat((0,E.Yk)(r)?r.__ref+" object":"object "+JSON.stringify(r,null,2)),n))):(0,R.kJ)(h)?h=f(t.executeSubSelectedArray({field:e,array:h,enclosingRef:i,context:o}),v):e.selectionSet?null!=h&&(h=f(t.executeSelectionSet({selectionSet:e.selectionSet,objectOrReference:h,enclosingRef:(0,E.Yk)(h)?h:i,context:o}),v)):o.canonizeResults&&(h=t.canon.pass(h)),void 0!==h&&(l=o.merge(l,((d={})[v]=h,d)))}else{var y=(0,w.hi)(e,o.fragmentMap);y&&u.fragmentMatches(y,c)&&y.selectionSet.selections.forEach(p.add,p)}}));var d={result:l,missing:a},h=o.canonizeResults?this.canon.admit(d):P(d);return h.result&&this.knownResults.set(h.result,n),h},e.prototype.execSubSelectedArrayImpl=function(e){var t,n=this,r=e.field,i=e.array,o=e.enclosingRef,a=e.context;function u(e,n){var r;return e.missing&&(t=a.merge(t,((r={})[n]=e.missing,r))),e.result}return r.selectionSet&&(i=i.filter(a.store.canRead)),i=i.map((function(e,t){return null===e?null:(0,R.kJ)(e)?u(n.executeSubSelectedArray({field:r,array:e,enclosingRef:o,context:a}),t):r.selectionSet?u(n.executeSelectionSet({selectionSet:r.selectionSet,objectOrReference:e,enclosingRef:(0,E.Yk)(e)?e:o,context:a}),t):(__DEV__&&function(e,t,n){if(!t.selectionSet){var r=new Set([n]);r.forEach((function(n){(0,A.s)(n)&&(__DEV__?(0,s.kG)(!(0,E.Yk)(n),"Missing selection set for object of type ".concat((0,R.jp)(e,n)," returned for query field ").concat(t.name.value)):(0,s.kG)(!(0,E.Yk)(n),5),Object.values(n).forEac
1h(r.add,r))}))}}(a.store,r,e),e)})),{result:a.canonizeResults?this.canon.admit(i):i,missing:t}},e}();function J(e){try{JSON.stringify(e,(function(e,t){if("string"===typeof t)throw t;return t}))}catch(t){return t}}var K=n(9487),Z=n(2651),H=n(897);var X=n(6438),ee=Object.create(null);function te(e){var t=JSON.stringify(e);return ee[t]||(ee[t]=Object.create(null))}function ne(e){var t=te(e);return t.keyFieldsFn||(t.keyFieldsFn=function(t,n){var r=function(e,t){return n.readField(t,e)},i=n.keyObject=ie(e,(function(e){var i=se(n.storeObject,e,r);return void 0===i&&t!==n.storeObject&&R.RI.call(t,e[0])&&(i=se(t,e,ae)),__DEV__?(0,s.kG)(void 0!==i,"Missing field '".concat(e.join("."),"' while extracting keyFields from ").concat(JSON.stringify(t))):(0,s.kG)(void 0!==i,2),i}));return"".concat(n.typename,":").concat(JSON.stringify(i))})}function re(e){var t=te(e);return t.keyArgsFn||(t.keyArgsFn=function(t,n){var r=n.field,i=n.variables,o=n.fieldName,a=ie(e,(function(e){var n=e[0],o=n.charAt(0);if("@"!==o)if("$"!==o){if(t)return se(t,e)}else{var a=n.slice(1);if(i&&R.RI.call(i,a)){var s=e.slice(0);return s[0]=a,se(i,s)}}else if(r&&(0,Z.O)(r.directives)){var u=n.slice(1),c=r.directives.find((function(e){return e.name.value===u})),l=c&&(0,E.NC)(c,i);return l&&se(l,e.slice(1))}})),s=JSON.stringify(a);return(t||"{}"!==s)&&(o+=":"+s),o})}function ie(e,t){var n=new T.w0;return oe(e).reduce((function(e,r){var i,o=t(r);if(void 0!==o){for(var a=r.length-1;a>=0;--a)(i={})[r[a]]=o,o=i;e=n.merge(e,o)}return e}),Object.create(null))}function oe(e){var t=te(e);if(!t.paths){var n=t.paths=[],r=[];e.forEach((function(t,i){(0,R.kJ)(t)?(oe(t).forEach((function(e){return n.push(r.concat(e))})),r.length=0):(r.push(t),(0,R.kJ)(e[i+1])||(n.push(r.slice(0)),r.length=0))}))}return t.paths}function ae(e,t){return e[t]}function se(e,t,n){return n=n||ae,ue(t.reduce((function e(t,r){return(0,R.kJ)(t)?t.map((function(t){return e(t,r)})):t&&n(t,r)}),e))}function ue(e){return(0,A.s)(e)?(0,R.kJ)(e)?e.map(ue):ie(Object.keys(e).sort(),(function(t){return se(e,t)})):e}function ce(e){return void 0!==e.args?e.args:e.field?(0,E.NC)(e.field,e.variables):null}E.PT.setStringify($.B);var le=function(){},fe=function(e,t){return t.fieldName},pe=function(e,t,n){return(0,n.mergeObjects)(e,t)},de=function(e,t){return t},he=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,f.pi)({dataIdFromObject:R.uG},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,i=t&&(t.typename||(null===(n=t.storeObject)||void 0===n?void 0:n.__typename))||e.__typename;if(i===this.rootTypenamesById.ROOT_QUERY)return["ROOT_QUERY"];for(var o,a=t&&t.storeObject||e,s=(0,f.pi)((0,f.pi)({},t),{typename:i,storeObject:a,readField:t&&t.readField||function(){var e=ye(arguments,a);return r.readField(e,{store:r.cache.data,variables:e.variables})}}),u=i&&this.getTypePolicy(i),c=u&&u.keyFn||this.config.dataIdFromObject;c;){var l=c(e,s);if(!(0,R.kJ)(l)){o=l;break}c=ne(l)}return o=o?String(o):void 0,s.keyObject?[o,s.keyObject]:[o]},e.prototype.addTypePolicies=function(e){var t=this;Object.keys(e).forEach((function(n){var r=e[n],i=r.queryType,o=r.mutationType,a=r.subscriptionType,s=(0,f._T)(r,["queryType","mutationType","subscriptionType"]);i&&t.setRootTypename("Query",n),o&&t.setRootTypename("Mutation",n),a&&t.setRootTypename("Subscription",n),R.RI.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),i=t.keyFields,o=t.fields;function a(e,t){e.merge="function"===typeof t?t:!0===t?pe:!1===t?de:e.merge}a(r,t.merge),r.keyFn=!1===i?le:(0,R.kJ)(i)?ne(i):"function"===typeof i?i:r.keyFn,o&&Object.keys(o).forEac
1h((function(t){var r=n.getFieldPolicy(e,t,!0),i=o[t];if("function"===typeof i)r.read=i;else{var s=i.keyArgs,u=i.read,c=i.merge;r.keyFn=!1===s?fe:(0,R.kJ)(s)?re(s):"function"===typeof s?s:r.keyFn,"function"===typeof u&&(r.read=u),a(r,c)}r.read&&r.merge&&(r.keyFn=r.keyFn||fe)}))},e.prototype.setRootTypename=function(e,t){void 0===t&&(t=e);var n="ROOT_"+e.toUpperCase(),r=this.rootTypenamesById[n];t!==r&&(__DEV__?(0,s.kG)(!r||r===e,"Cannot change root ".concat(e," __typename more than once")):(0,s.kG)(!r||r===e,3),r&&delete this.rootIdsByTypename[r],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(R.$O);r&&r[0]===e||t.fuzzySubtypes.set(e,new RegExp(e))}))}))},e.prototype.getTypePolicy=function(e){var t=this;if(!R.RI.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),i=r.fields,o=(0,f._T)(r,["fields"]);Object.assign(n,o),Object.assign(n.fields,i)}))}var i=this.toBeAdded[e];return i&&i.length&&i.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,r){var i=this;if(!e.typeCondition)return!0;if(!t)return!1;var o=e.typeCondition.name.value;if(t===o)return!0;if(this.usingPossibleTypes&&this.supertypeMap.has(o))for(var a=this.getSupertypeSet(t,!0),u=[a],c=function(e){var t=i.getSupertypeSet(e,!1);t&&t.size&&u.indexOf(t)<0&&u.push(t)},l=!(!n||!this.fuzzySubtypes.size),f=!1,p=0;p<u.length;++p){var d=u[p];if(d.has(o))return a.has(o)||(f&&__DEV__&&s.kG.warn("Inferring subtype ".concat(t," of supertype ").concat(o)),a.add(o)),!0;d.forEach(c),l&&p===u.length-1&&(0,R.RC)(e.selectionSet,n,r)&&(l=!1,f=!0,this.fuzzySubtypes.forEach((function(e,n){var r=t.match(e);r&&r[0]===t&&c(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,i=this.getFieldPolicy(n,r,!1),o=i&&i.keyFn;if(o&&n)for(var a={typename:n,fieldName:r,field:e.field||null,variables:e.variables},s=ce(e);o;){var u=o(s,a);if(!(0,R.kJ)(u)){t=u||r;break}o=re(u)}return void 0===t&&(t=e.field?(0,E.vf)(e.field,e.variables):(0,E.PT)(r,ce(e))),!1===t?r:r===(0,R.E_)(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 i=this.getStoreFieldName(e),o=(0,R.E_)(i),a=t.store.getFieldValue(n,i),s=this.getFieldPolicy(e.typename,o,!1),u=s&&s.read;if(u){var c=ve(this,n,e,t,t.store.getStorage((0,E.Yk)(n)?n.__ref:n,i));return X.ab.withValue(this.cache,u,[a,c])}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),i=r&&r.merge;return!i&&n&&(i=(r=this.getTypePolicy(n))&&r.merge),i},e.prototype.runMergeFunction=function(e,t,n,r,i){var o=n.field,a=n.typename,s=n.merge;return s===pe?me(r.store)(e,t):s===de?t:(r.overwrite&&(e=void 0),s(e,t,ve(this,void 0,{typename:a,fieldName:o.name.value,field:o,variables:r.variables},r,i||Object.create(null))))},e}();function ve(e,t,n,r,i){var o=e.getStoreFieldName(n),a=(0,R.E_)(o),s=n.variables||r.variables,u=r.store,c=u.toReference,l=u.canRead;return{args:ce(n),field:n.field||null,fieldName:a,storeFieldName:o,variables:s,isReference:E.Yk,toReference:c,storage:i,cache:e.cache,canRead:l,readField:function(){return e.readField(ye(arguments,t,r),r)},mergeObjects:me(r.store)}}function ye(e,t,n){var r,i=e[0],o=e[1],a=e.length;return"string"===typeof i?r={fieldName:i,from:a>1?o:t}:(r=(0,f.pi)({},i),R.RI.call(r,"from")||(r.from=t)),__DEV__&&void 0===r.from&&__DEV__&&s.kG.warn("Undefined 'from' passed to readField with arguments ".concat(function(e){var t=(0,H.X)("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===r.variables&&(r.variables=n),r}function me(e){return function(t,n){if((0,R.kJ)(t)||(0,R.kJ)(n))throw __DEV__?new s.ej("Cannot automatically merge arrays"):new s.ej(4);if((0,A.s)(t)&&(0,A.s)(n)){var r=e.getFieldValue(t,"__typename"),i=e.getFieldValue(n,"__typename");if(r&&i&&r!==i)return n;if((0,E.Yk)(t)&&(0,R.j)(n))return e.merge(t.__ref,n),t;if((0,R.j)(t)&&(0,E.Yk)(n))return e.merge(t,n.__ref),n;if((0,R.j)(t)&&(0,R.j)(n))return(0,f.pi)((0,f.pi)({},t),n)}return n}}function ge(e,t,n){var r="".concat(t).concat(n),i=e.flavors.get(r);return i||e.flavors.set(r,i=e.clientOnly===t&&e.deferred===n?e:(0,f.pi)((0,f.pi)({},e),{clientOnly:t,deferred:n})),i}var be=function(){function e(e,t){this.cache=e,this.reader=t}return e.prototype.writeToStore=function(e,t){var n=this,r=t.query,i=t.result,o=t.dataId,a=t.variables,u=t.overwrite,c=(0,S.$H)(r),l=(0,R.ig)();a=(0,f.pi)((0,f.pi)({},(0,S.O4)(c)),a);var p={store:e,written:Object.create(null),merge:function(e,t){return l.merge(e,t)},variables:a,varString:(0,$.B)(a),fragmentMap:(0,w.F)((0,S.kU)(r)),overwrite:!!u,incomingById:new Map,clientOnly:!1,deferred:!1,flavors:new Map},d=this.processSelectionSet({result:i||Object.create(null),dataId:o,selectionSet:c.selectionSet,mergeTree:{map:new Map},context:p});if(!(0,E.Yk)(d))throw __DEV__?new s.ej("Could not identify object ".concat(JSON.stringify(i))):new s.ej(6);
1return p.incomingById.forEach((function(t,r){var i=t.storeObject,o=t.mergeTree,a=t.fieldNodeSet,u=(0,E.kQ)(r);if(o&&o.map.size){var c=n.applyMerges(o,u,i,p);if((0,E.Yk)(c))return;i=c}if(__DEV__&&!p.overwrite){var l=Object.create(null);a.forEach((function(e){e.selectionSet&&(l[e.name.value]=!0)}));Object.keys(i).forEach((function(e){(function(e){return!0===l[(0,R.E_)(e)]})(e)&&!function(e){var t=o&&o.map.get(e);return Boolean(t&&t.info&&t.info.merge)}(e)&&function(e,t,n,r){var i=function(e){var t=r.getFieldValue(e,n);return"object"===typeof t&&t},o=i(e);if(!o)return;var a=i(t);if(!a)return;if((0,E.Yk)(o))return;if((0,b.D)(o,a))return;if(Object.keys(o).every((function(e){return void 0!==r.getFieldValue(a,e)})))return;var u=r.getFieldValue(e,"__typename")||r.getFieldValue(t,"__typename"),c=(0,R.E_)(n),l="".concat(u,".").concat(c);if(ke.has(l))return;ke.add(l);var f=[];(0,R.kJ)(o)||(0,R.kJ)(a)||[o,a].forEach((function(e){var t=r.getFieldValue(e,"__typename");"string"!==typeof t||f.includes(t)||f.push(t)}));__DEV__&&s.kG.warn("Cache data may be lost when replacing the ".concat(c," field of a ").concat(u," 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(o).slice(0,1e3),"\n incoming: ").concat(JSON.stringify(a).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"))}(u,i,e,p.store)}))}e.merge(r,i)})),e.retain(d.__ref),d},e.prototype.processSelectionSet=function(e){var t=this,n=e.dataId,r=e.result,i=e.selectionSet,o=e.context,a=e.mergeTree,u=this.cache.policies,c=Object.create(null),l=n&&u.rootTypenamesById[n]||(0,E.qw)(r,i,o.fragmentMap)||n&&o.store.get(n,"__typename");"string"===typeof l&&(c.__typename=l);var p=function(){var e=ye(arguments,c,o.variables);if((0,E.Yk)(e.from)){var t=o.incomingById.get(e.from.__ref);if(t){var n=u.readField((0,f.pi)((0,f.pi)({},e),{from:t.storeObject}),o);if(void 0!==n)return n}}return u.readField(e,o)},d=new Set;this.flattenFields(i,r,o,l).forEach((function(e,n){var i,o=(0,E.u2)(n),f=r[o];if(d.add(n),void 0!==f){var h=u.getStoreFieldName({typename:l,fieldName:n.name.value,field:n,variables:e.variables}),v=xe(a,h),y=t.processFieldValue(f,n,n.selectionSet?ge(e,!1,!1):e,v),m=void 0;n.selectionSet&&((0,E.Yk)(y)||(0,R.j)(y))&&(m=p("__typename",y));var g=u.getMergeFunction(l,n.name.value,m);g?v.info={field:n,typename:l,merge:g}:Oe(a,h),c=e.merge(c,((i={})[h]=y,i))}else!__DEV__||e.clientOnly||e.deferred||O.Gw.added(n)||u.getReadFunction(l,n.name.value)||__DEV__&&s.kG.error("Missing field '".concat((0,E.u2)(n),"' while writing result ").concat(JSON.stringify(r,null,2)).substring(0,1e3))}));try{var h=u.identify(r,{typename:l,selectionSet:i,fragmentMap:o.fragmentMap,storeObject:c,readField:p}),v=h[0],y=h[1];n=n||v,y&&(c=o.merge(c,y))}catch(w){if(!n)throw w}if("string"===typeof n){var m=(0,E.kQ)(n),g=o.written[n]||(o.written[n]=[]);if(g.indexOf(i)>=0)return m;if(g.push(i),this.reader&&this.reader.isFresh(r,m,i,o))return m;var b=o.incomingById.get(n);return b?(b.storeObject=o.merge(b.storeObject,c),b.mergeTree=_e(b.mergeTree,a),d.forEach((function(e){return b.fieldNodeSet.add(e)}))):o.incomingById.set(n,{storeObject:c,mergeTree:Ee(a)?void 0:a,fieldNodeSet:d}),m}return c},e.prototype.processFieldValue=function(e,t,n,r){var i=this;return t.selectionSet&&null!==e?(0,R.kJ)(e)?e.map((function(e,o){var a=i.processFieldValue(e,t,n,xe(r,o));return Oe(r,o),a})):this.processSelectionSet({result:e,selectionSet:t.selectionSet,context:n,mergeTree:r}):__DEV__?(0,K.X)(e):e},e.prototype.flattenFields=function(e,t,n,r){void 0===r&&(r=(0,E.qw)(t,e,n.fragmentMap));var i=new Map,o=this.cache.policies,a=new I.B(!1);return function e(s,u){var c=a.lookup(s,u.clientOnly,u.deferred);
1c.visited||(c.visited=!0,s.selections.forEach((function(a){if((0,j.LZ)(a,n.variables)){var s=u.clientOnly,c=u.deferred;if(s&&c||!(0,Z.O)(a.directives)||a.directives.forEach((function(e){var t=e.name.value;if("client"===t&&(s=!0),"defer"===t){var r=(0,E.NC)(e,n.variables);r&&!1===r.if||(c=!0)}})),(0,E.My)(a)){var l=i.get(a);l&&(s=s&&l.clientOnly,c=c&&l.deferred),i.set(a,ge(n,s,c))}else{var f=(0,w.hi)(a,n.fragmentMap);f&&o.fragmentMatches(f,r,t,n.variables)&&e(f.selectionSet,ge(n,s,c))}}})))}(e,n),i},e.prototype.applyMerges=function(e,t,n,r,i){var o,a=this;if(e.map.size&&!(0,E.Yk)(n)){var u,c=(0,R.kJ)(n)||!(0,E.Yk)(t)&&!(0,R.j)(t)?void 0:t,l=n;c&&!i&&(i=[(0,E.Yk)(c)?c.__ref:c]);var p=function(e,t){return(0,R.kJ)(e)?"number"===typeof t?e[t]:void 0:r.store.getFieldValue(e,String(t))};e.map.forEach((function(e,t){var n=p(c,t),o=p(l,t);if(void 0!==o){i&&i.push(t);var f=a.applyMerges(e,n,o,r,i);f!==o&&(u=u||new Map).set(t,f),i&&(0,s.kG)(i.pop()===t)}})),u&&(n=(0,R.kJ)(l)?l.slice(0):(0,f.pi)({},l),u.forEach((function(e,t){n[t]=e})))}return e.info?this.cache.policies.runMergeFunction(t,n,e.info,r,i&&(o=r.store).getStorage.apply(o,i)):n},e}(),we=[];function xe(e,t){var n=e.map;return n.has(t)||n.set(t,we.pop()||{map:new Map}),n.get(t)}function _e(e,t){if(e===t||!t||Ee(t))return e;if(!e||Ee(e))return t;var n=e.info&&t.info?(0,f.pi)((0,f.pi)({},e.info),t.info):e.info||t.info,r=e.map.size&&t.map.size,i={info:n,map:r?new Map:e.map.size?e.map:t.map};if(r){var o=new Set(t.map.keys());e.map.forEach((function(e,n){i.map.set(n,_e(e,t.map.get(n))),o.delete(n)})),o.forEach((function(n){i.map.set(n,_e(t.map.get(n),e.map.get(n)))}))}return i}function Ee(e){return!e||!(e.info||e.map.size)}function Oe(e,t){var n=e.map,r=n.get(t);r&&Ee(r)&&(we.push(r),n.delete(t))}var ke=new Set;var Ce=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=X.QS,n.txCount=0,n.config=(0,R.jS)(t),n.addTypename=!!n.config.addTypename,n.policies=new he({cache:n,dataIdFromObject:n.config.dataIdFromObject,possibleTypes:n.config.possibleTypes,typePolicies:n.config.typePolicies}),n.init(),n}return(0,f.ZT)(t,e),t.prototype.init=function(){var e=this.data=new V.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;this.storeWriter=new be(this,this.storeReader=new W({cache:this,addTypename:this.addTypename,resultCacheMaxSize:this.config.resultCacheMaxSize,canonizeResults:(0,R.lg)(this.config),canon:e?void 0:n&&n.canon})),this.maybeBroadcastWatch=(0,g.re)((function(e,n){return t.broadcastWatch(e,n)}),{max:this.config.resultCacheMaxSize,makeCacheKey:function(e){var n=e.optimistic?t.optimisticData:t.data;if(z(n)){var r=e.optimistic,i=e.rootId,o=e.variables;return n.makeCacheKey(e.query,e.callback,(0,$.B)({optimistic:r,rootId:i,variables:o}))}}}),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,f.pi)((0,f.pi)({},e),{store:e.optimistic?this.optimisticData:this.data,config:this.config,returnPartialData:n})).result||null}catch(r){if(r instanceof _)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(R.RI.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,f.pi)((0,f.pi)({},e),{store:e.optimistic?this.optimisticData:this.data,rootId:e.id||"ROOT_QUERY",config:this.config}))},t.prototype.watch=function(e){var t=this;return this.watches.size||(0,X._v)(this),this.watches.add(e),e.immediate&&this.maybeBroadcastWatch(e),function(){t.watches.delete(e)&&!t.watches.size&&(0,X.li)(t),t.maybeBroadcastWatch.forget(e)}},t.prototype.gc=function(e){$.B.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((0,E.Yk)(e))return e.__ref;try{return this.policies.identify(e)[0]}catch(t){__DEV__&&s.kG.warn(t)}},t.prototype.evict=function(e){if(!e.id){if(R.RI.call(e,"id"))return!1;e=(0,f.pi)((0,f.pi)({},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(),$.B.reset(),e&&e.discardWatches?(this.watches.forEac
1h((function(e){return t.maybeBroadcastWatch.forget(e)})),this.watches.clear(),(0,X.li)(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,i=e.optimistic,o=void 0===i||i,a=e.removeOptimistic,s=e.onWatchUpdated,u=function(e){var i=n,o=i.data,a=i.optimisticData;++n.txCount,e&&(n.data=n.optimisticData=e);try{return t=r(n)}finally{--n.txCount,n.data=o,n.optimisticData=a}},c=new Set;return s&&!this.txCount&&this.broadcastWatches((0,f.pi)((0,f.pi)({},e),{onWatchUpdated:function(e){return c.add(e),!1}})),"string"===typeof o?this.optimisticData=this.optimisticData.addLayer(o,u):!1===o?u(this.data):u(),"string"===typeof a&&(this.optimisticData=this.optimisticData.removeLayer(a)),s&&c.size?(this.broadcastWatches((0,f.pi)((0,f.pi)({},e),{onWatchUpdated:function(e,t){var n=s.call(this,e,t);return!1!==n&&c.delete(e),n}})),c.size&&c.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=(0,O.Gw)(e),this.typenameDocumentCache.set(e,t),this.typenameDocumentCache.set(t,t)),t}return 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,b.D)(n.result,r.result)||e.callback(e.lastDiff=r,n)},t}(x),Se=!1;window.__NEXT_DATA__.apolloState;var Te=n(7283),je=n(3056),Ae=n(9218),De=n(7592),Pe=n(6010);var Ie=n(7605);function Re(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 Ne(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(u){s=!0,i=u}finally{try{a||null==n.return||n.return()}finally{if(s)throw i}}return o}}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return Re(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(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Re(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Fe(){var e,t,n=(e=["\n query GetPlaylist {\n roundHillRecordsSettings {\n options {\n playlisturl\n }\n }\n }\n"],t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}})));return Fe=function(){return n},n}var Me=(0,Te.Ps)(Fe()),Ve=function(){var e=(0,u.useState)(!1),t=e[0],n=e[1],i=(0,je.a)(Me).data,o=null===i||void 0===i?void 0:i.roundHillRecordsSettings.options.playlisturl,a=Ne(function(e,t){void 0===t&&(t=!0);var n=(0,u.useRef)(e),r=(0,u.useState)(null),i=r[0],o=r[1],a=(0,u.useCallback)((function(e){i&&!i.contains(e.target)&&n.current(e)}),[i]);(0,u.useEffect)((function(){n.current=e}));var s=(0,u.useCallback)((function(e){o(e)}),[]);return(0,u.useEffect)((function(){if(t)return document.addEventListener("click",a,!0),document.addEventListener("ontouchstart",a,!0),function(){document.removeEventListener("click",a,!0),document.removeEventListener("ontouchstart",a,!0)}}),[t,a]),[s]}((function(){t&&n(!1)})),1),s=a[0];return o?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("button",{type:"button",onClick:function(){return n(!0)},className:"fixed right-6 bottom-6 z-30 flex h-12 w-12 items-center justify-center rounded-full border-2 border-white bg-pink-500 shadow-2xl md:right-12 md:bottom-12 md:h-16 md:w-16",children:(0,r.jsx)(Ie.yZ,{className:"h-6 w-6 md:h-7 md:w-7"})}),(0,r.jsx)(De.E.div,{ref:s,initial:!1,animate:{x:t?0:50,opacity:t?1:0},className:(0,Pe.Z)("fixed right-6 bottom-20 z-30 shadow-2xl md:bottom-32 md:right-12",!t&&"pointer-events-none"),children:(0,r.jsx)(Ae.Z,{uri:o,theme:"black"})})]}):null};n(7107);function Le(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function qe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){Le(e,t,n[t])}))}return e}var Be=v()((function(e){var t=e.initialState;return new m.f({ssrMode:Se,uri:y.Z.apollo.http.uri,cache:(new Ce).restore(t||{})})}))((0,d.default)(a.default,y.Z.analytics)((function(e){var t=e.Component,n=e.pageProps,a=e.apollo;return(0,r.jsxs)(l,{client:a,children:[(0,r.jsxs)(i.default,{children:[(0,r.jsx)("meta",{charSet:"utf-8"}),(0,r.jsx)("meta",{name:"language",content:"english"}),(0,r.jsx)("meta",{httpEquiv:"content-type",content:"text/html"}),(0,r.jsx)("meta",{name:"robots",content:"index,follow"}),(0,r.jsx)("meta",{name:"distribution",content:"web"}),(0,r.jsx)("meta",{name:"viewport",content:"width=device-width, minimum-scale=1, initial-scale=1.0"}),(0,r.jsx)("meta",{name:"theme-color",content:"#000"}),(0,r.jsx)("link",{rel:"shortcut icon",href:"/favicon.png"})]}),(0,r.jsx)(t,qe({},n)),(0,r.jsx)(Ve,{}),(0,r.jsx)(o.default,{src:"https://static.klaviyo.com/onsite/js/klaviyo.js?company_id=UUmzdn"}),(0,r.jsx)(o.default,{src:"https://umami.globobeet.org/script.js","data-website-id":"9d7ba758-9df9-43ca-99a7-c8592f2417bb"})]})})),{getDataFromTree:function(e,t){return void 0===t&&(t={}),function(e){var t=e.tree,n=e.context,r=void 0===n?{}:n,i=e.renderFunction,o=void 0===i?require("react-dom/server").renderToStaticMarkup:i,a=new p;function s(){var e=(0,c.K)();return new Promise((function(n){var i=u.createElement(e.Provider,{value:(0,f.pi)((0,f.pi)({},r),{renderPromises:a})},t);n(o(i))})).then((function(e){return a.hasPromises()?a.consumeAndAwaitPromises().then(s):e})).finally((function(){a.stop()}))}return Promise.resolve().then(s)}({tree:e,context:t,renderFunction:require("react-dom/server").renderToStaticMarkup})}})},7107:function(){},7663:function(e){!function(){var t={162:function(e){var t,n,r=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function a(e){if(t===setTimeout)return setTimeout(e,0);if((t===i||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(r){try{return t.call(null,e,0)}catch(r){return t.call(this,e,0)}}}!function(){try{t="function"===typeof setTimeout?setTimeout:i}catch(e){t=i}try{n="function"===typeof clearTimeout?clearTimeout:o}catch(e){n=o}}();var s,u=[],c=!1,l=-1;function f(){c&&s&&(c=!1,s.length?u=s.concat(u):l=-1,u.length&&p())}function p(){if(!c){var e=a(f);c=!0;for(var t=u.length;t;){for(s=u,u=[];++l<t;)s&&s[l].run();l=-1,t=u.length}s=null,c=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===o||!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 d(e,t){this.fun=e,this.array=t}function h(){}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];u.push(new d(e,t)),1!==u.length||c||a(p)},d.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=h,r.addListener=h,r.once=h,r.off=h,r.removeListener=h,r.removeAllListeners=h,r.emit=h,r.prependListener=h,r.prependOnceListener=h,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 i=n[e];if(void 0!==i)return i.exports;var o=n[e]={exports:{}},a=!0;try{t[e](o,o.exports,r),a=!1}finally{a&&delete n[e]}return o.exports}r.ab="//";var i=r(162);e.exports=i}()},9008:function(e,t,n){e.exports=n(3121)},1163:function(e,t,n){e.exports=n(880)},4298:function(e,t,n){e.exports=n(3573)},507:function(e,t,n){"use strict";n.d(t,{dP:function(){return T},re:function(){return D}});var r=n(657),i=n(8751);function o(){}var a,s=function(){function e(e,t){void 0===e&&(e=1/0),void 0===t&&(t=o),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);
1return 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}(),u=new i.g7,c=Object.prototype.hasOwnProperty,l=void 0===(a=Array.from)?function(e){var t=[];return e.forEach((function(e){return t.push(e)})),t}:a;function f(e){var t=e.unsubscribe;"function"===typeof t&&(e.unsubscribe=void 0,t())}var p=[];function d(e,t){if(!e)throw new Error(t||"assertion failure")}function h(e){switch(e.length){case 0:throw new Error("unknown value");case 1:return e[0];case 2:throw e[1]}}var v=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&&!g(this))return y(this),this.value[0]},e.prototype.recompute=function(e){return d(!this.recomputing,"already recomputing"),y(this),g(this)?function(e,t){k(e),u.withValue(e,m,[e,t]),function(e,t){if("function"===typeof e.subscribe)try{f(e),e.unsubscribe=e.subscribe.apply(null,t)}catch(n){return e.setDirty(),!1}return!0}(e,t)&&function(e){if(e.dirty=!1,g(e))return;w(e)}(e);return h(e.value)}(this,e):h(this.value)},e.prototype.setDirty=function(){this.dirty||(this.dirty=!0,this.value.length=0,b(this),f(this))},e.prototype.dispose=function(){var e=this;this.setDirty(),k(this),x(this,(function(t,n){t.setDirty(),C(t,e)}))},e.prototype.forget=function(){this.dispose()}
1,e.prototype.dependOn=function(e){e.add(this),this.deps||(this.deps=p.pop()||new Set),this.deps.add(e)},e.prototype.forgetDeps=function(){var e=this;this.deps&&(l(this.deps).forEach((function(t){return t.delete(e)})),this.deps.clear(),p.push(this.deps),this.deps=null)},e.count=0,e}();function y(e){var t=u.getValue();if(t)return e.parents.add(t),t.childValues.has(e)||t.childValues.set(e,[]),g(e)?_(t,e):E(t,e),t}function m(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 g(e){return e.dirty||!(!e.dirtyChildren||!e.dirtyChildren.size)}function b(e){x(e,_)}function w(e){x(e,E)}function x(e,t){var n=e.parents.size;if(n)for(var r=l(e.parents),i=0;i<n;++i)t(r[i],e)}function _(e,t){d(e.childValues.has(t)),d(g(t));var n=!g(e);if(e.dirtyChildren){if(e.dirtyChildren.has(t))return}else e.dirtyChildren=p.pop()||new Set;e.dirtyChildren.add(t),n&&b(e)}function E(e,t){d(e.childValues.has(t)),d(!g(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(),O(e,t),g(e)||w(e)}function O(e,t){var n=e.dirtyChildren;n&&(n.delete(t),0===n.size&&(p.length<100&&p.push(n),e.dirtyChildren=null))}function k(e){e.childValues.size>0&&e.childValues.forEach((function(t,n){C(e,n)})),e.forgetDeps(),d(null===e.dirtyChildren)}function C(e,t){t.parents.delete(e),e.childValues.delete(t),O(e,t)}var S={setDirty:!0,dispose:!0,forget:!0};function T(e){var t=new Map,n=e&&e.subscribe;function r(e){var r=u.getValue();if(r){var i=t.get(e);i||t.set(e,i=new Set),r.dependOn(i),"function"===typeof n&&(f(i),i.unsubscribe=n(e))}}return r.dirty=function(e,n){var r=t.get(e);if(r){var i=n&&c.call(S,n)?n:"setDirty";l(r).forEach((function(e){return e[i]()})),t.delete(e),f(r)}},r}function j(){var e=new r.B("function"===typeof WeakMap);return function(){return e.lookupArray(arguments)}}j();var A=new Set;function D(e,t){void 0===t&&(t=Object.create(null));var n=new s(t.max||Math.pow(2,16),(function(e){return e.dispose()})),r=t.keyArgs,i=t.makeCacheKey||j(),o=function(){var o=i.apply(null,r?r.apply(null,arguments):arguments);if(void 0===o)return e.apply(null,arguments);var a=n.get(o);a||(n.set(o,a=new v(e)),a.subscribe=t.subscribe,a.forget=function(){return n.delete(o)});var s=a.recompute(Array.prototype.slice.call(arguments));return n.set(o,a),A.add(n),u.hasValue()||(A.forEach((function(e){return e.clean()})),A.clear()),s};function a(e){var t=n.get(e);t&&t.setDirty()}function c(e){var t=n.get(e);if(t)return t.peek()}function l(e){return n.delete(e)}return Object.defineProperty(o,"size",{get:function(){return n.map.size},configurable:!1,enumerable:!1}),o.dirtyKey=a,o.dirty=function(){a(i.apply(null,arguments))},o.peekKey=c,o.peek=function(){return c(i.apply(null,arguments))},o.forgetKey=l,o.forget=function(){return l(i.apply(null,arguments))},o.makeCacheKey=i,o.getKey=r?function(){return i.apply(null,r.apply(null,arguments))}:i,Object.freeze(o)}},2703:function(e,t,n){"use strict";var r=n(414);function i(){}function o(){}o.resetWarningCache=i,e.exports=function(){function e(e,t,n,i,o,a){if(a!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:i}
1;return n.PropTypes=n,n}},5697:function(e,t,n){e.exports=n(2703)()},414:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},1767:function(e){e.exports=function(e){function t(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,t),i.l=!0,i.exports}var n={};return t.m=e,t.c=n,t.i=function(e){return e},t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=1)}([function(e,t,n){"use strict";function r(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}Object.defineProperty(t,"__esModule",{value:!0});var i=!1,o=!1,a=function(){return i||console.warn("Pixel not initialized before using call ReactPixel.init with required params"),i},s=function(){for(var e,t=arguments.length,n=Array(t),i=0;i<t;i++)n[i]=arguments[i];(e=console).info.apply(e,r(["[react-facebook-pixel]"].concat(n)))},u={autoConfig:!0,debug:!1};t.default={init:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:u;!function(e,t,n,r,i,o,a){e.fbq||(i=e.fbq=function(){i.callMethod?i.callMethod.apply(i,arguments):i.queue.push(arguments)},e._fbq||(e._fbq=i),i.push=i,i.loaded=!0,i.version="2.0",i.queue=[],(o=t.createElement(n)).async=!0,o.src=r,(a=t.getElementsByTagName(n)[0]).parentNode.insertBefore(o,a))}(window,document,"script","https://connect.facebook.net/en_US/fbevents.js"),e?(!1===n.autoConfig&&fbq("set","autoConfig",!1,e),fbq("init",e,t),i=!0,o=n.debug):console.warn("Please insert pixel id for initializing")},pageView:function(){a()&&(fbq("track","PageView"),o&&s("called fbq('track', 'PageView');"))},track:function(e,t){a()&&(fbq("track",e,t),o&&(s("called fbq('track', '"+e+"');"),t&&s("with data",t)))},trackCustom:function(e,t){a()&&(fbq("trackCustom",e,t),o&&(s("called fbq('trackCustom', '"+e+"');"),t&&s("with data",t)))},fbq:function(e){function t(){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(){if(a()){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];fbq.apply(void 0,t),o&&(s("called fbq('"+t.slice(0,2).join("', '")+"')"),t[2]&&s("with data",t[2]))}}))}},function(e,t,n){e.exports=n(0)}])},8719:function(e,t,n){"use strict";n.r(t),n.d(t,{OutboundLink:function(){return de},default:function(){return he},event:function(){return ue},exception:function(){return ce},ga:function(){return ne},initialize:function(){return te},modalview:function(){return ae},outboundLink:function(){return fe},pageview:function(){return oe},plugin:function(){return le},send:function(){return ie},set:function(){return re},testModeAPI:function(){return pe},timing:function(){return se}});var r={};n.r(r),n.d(r,{default:function(){return H},event:function(){return Y},exception:function(){return W},ga:function(){return B},initialize:function(){return q},modalview:function(){return z},outboundLink:function(){return K},pageview:function(){return G},plugin:function(){return J},send:function(){return Q},set:function(){return U},testModeAPI:function(){return Z},timing:function(){return $}});var i=n(7294),o=n(5697),a=n.n(o);function s(e){console.warn("[react-ga]",e)}function u(e){return u="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function c(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}function l(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(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 d(e,t){return!t||"object"!==u(t)&&"function"!==typeof t?v(e):t}
1function h(e){return h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},h(e)}function v(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y(e,t){return y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},y(e,t)}function m(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var g="_blank",b=function(e){function t(){var e,n;f(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return m(v(n=d(this,(e=h(t)).call.apply(e,[this].concat(i)))),"handleClick",(function(e){var r=n.props,i=r.target,o=r.eventLabel,a=r.to,s=r.onClick,u=r.trackerNames,c={label:o},l=i!==g,f=!(e.ctrlKey||e.shiftKey||e.metaKey||1===e.button);l&&f?(e.preventDefault(),t.trackLink(c,(function(){window.location.href=a}),u)):t.trackLink(c,(function(){}),u),s&&s(e)})),n}var n,r,o;return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&y(e,t)}(t,e),n=t,r=[{key:"render",value:function(){var e=this.props,t=e.to,n=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(n,!0).forEach((function(t){m(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},l(e,["to"]),{href:t,onClick:this.handleClick});return this.props.target===g&&(n.rel="noopener noreferrer"),delete n.eventLabel,delete n.trackerNames,i.createElement("a",n)}}],r&&p(n.prototype,r),o&&p(n,o),t}(i.Component);function w(e){return e.replace(/^\s+|\s+$/g,"")}m(b,"trackLink",(function(){s("ga tracking not enabled")})),m(b,"propTypes",{eventLabel:a().string.isRequired,target:a().string,to:a().string,onClick:a().func,trackerNames:a().arrayOf(a().string)}),m(b,"defaultProps",{target:null,to:null,onClick:null,trackerNames:null});var x=/^(a|an|and|as|at|but|by|en|for|if|in|nor|of|on|or|per|the|to|vs?\.?|via)$/i;function _(e,t){return function(e){return"string"===typeof e&&-1!==e.indexOf("@")}(e)?(s("This arg looks like an email address, redacting."),"REDACTED (Potential Email Address)"):t?w(e).replace(/[A-Za-z0-9\u00C0-\u00FF]+[^\s-]*/g,(function(e,t,n){return t>0&&t+e.length!==n.length&&e.search(x)>-1&&":"!==n.charAt(t-2)&&("-"!==n.charAt(t+e.length)||"-"===n.charAt(t-1))&&n.charAt(t-1).search(/[^\s-]/)<0?e.toLowerCase():e.substr(1).search(/[A-Z]|\../)>-1?e:e.charAt(0).toUpperCase()+e.substr(1)})):e}function E(e){console.info("[react-ga]",e)}var O=[],k={calls:O,ga:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];O.push([].concat(t))},resetCalls:function(){O.length=0}};function C(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function S(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}function T(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function j(e){return j="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},j(e)}function A(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var D="undefined"===typeof window||"undefined"===typeof document,P=!1,I=!0,R=!1,N=!0,F=function(){var e;return R?k.ga.apply(k,arguments):!D&&(window.ga?(e=window).ga.apply(e,arguments):s("ReactGA.initialize must be called first or GoogleAnalytics should be loaded manually"))};function M(e){return _(e,I)}function V(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var i=n[0];"string"===typeof i?(!N&&Array.isArray(e)||F.apply(void 0,n),Array.isArray(e)&&e.forEach((function(e){F.apply(void 0,A(["".concat(e,".").concat(i)].concat(n.slice(1))))}))):s("ga command must be a string")}function L(e,t){e?t&&(t.debug&&!0===t.debug&&(P=!0),!1===t.titleCase&&(I=!1),t.useExistingGa)||(t&&t.gaOptions?F("create",e,t.gaOptions):F("create",e,"auto")):s("gaTrackingID is required in initialize()")}function q(e,t){if(t&&!0===t.testMode)R=!0;else{if(D)return!1;t&&!0===t.standardImplementation||function(e){var t,n,r,i,o,a,s,u="https://www.google-analytics.com/analytics.js";e&&e.gaAddress?u=e.gaAddress:e&&e.debug&&(u="https://www.google-analytics.com/analytics_debug.js"),t=window,n=document,r="script",i=u,o="ga",t.GoogleAnalyticsObject=o,t.ga=t.ga||function(){(t.ga.q=t.ga.q||[]).push(arguments)},t.ga.l=1*new Date,a=n.createElement(r),s=n.getElementsByTagName(r)[0],a.async=1,a.src=i,s.parentNode.insertBefore(a,s)}(t)}return N=!t||"boolean"!==typeof t.alwaysSendToDefaultTracker||t.alwaysSendToDefaultTracker,Array.isArray(e)?e.forEach((function(e){"object"===j(e)?L(e.trackingId,e):s("All configs must be an object")})):L(e,t),!0}function B(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.length>0&&(F.apply(void 0,t),P&&(E("called ga('arguments');"),E("with arguments: ".concat(JSON.stringify(t))))),window.ga}function U(e,t){e?"object"===j(e)?(0===Object.keys(e).length&&s("empty `fieldsObject` given to .set()"),V(t,"
1set",e),P&&(E("called ga('set', fieldsObject);"),E("with fieldsObject: ".concat(JSON.stringify(e))))):s("Expected `fieldsObject` arg to be an Object"):s("`fieldsObject` is required in .set()")}function Q(e,t){V(t,"send",e),P&&(E("called ga('send', fieldObject);"),E("with fieldObject: ".concat(JSON.stringify(e))),E("with trackers: ".concat(JSON.stringify(t))))}function G(e,t,n){if(e){var r=w(e);if(""!==r){var i={};if(n&&(i.title=n),V(t,"send",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?S(n,!0).forEach((function(t){T(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):S(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({hitType:"pageview",page:r},i)),P){E("called ga('send', 'pageview', path);");var o="";n&&(o=" and title: ".concat(n)),E("with path: ".concat(r).concat(o))}}else s("path cannot be an empty string in .pageview()")}else s("path is required in .pageview()")}function z(e,t){if(e){var n,r="/"===(n=w(e)).substring(0,1)?n.substring(1):n;if(""!==r){var i="/modal/".concat(r);V(t,"send","pageview",i),P&&(E("called ga('send', 'pageview', path);"),E("with path: ".concat(i)))}else s("modalName cannot be an empty string or a single / in .modalview()")}else s("modalName is required in .modalview(modalName)")}function $(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.category,n=e.variable,r=e.value,i=e.label,o=arguments.length>1?arguments[1]:void 0;if(t&&n&&r&&"number"===typeof r){var a={hitType:"timing",timingCategory:M(t),timingVar:M(n),timingValue:r};i&&(a.timingLabel=M(i)),Q(a,o)}else s("args.category, args.variable AND args.value are required in timing() AND args.value has to be a number")}function Y(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.category,n=e.action,r=e.label,i=e.value,o=e.nonInteraction,a=e.transport,u=C(e,["category","action","label","value","nonInteraction","transport"]),c=arguments.length>1?arguments[1]:void 0;if(t&&n){var l={hitType:"event",eventCategory:M(t),eventAction:M(n)};r&&(l.eventLabel=M(r)),"undefined"!==typeof i&&("number"!==typeof i?s("Expected `args.value` arg to be a Number."):l.eventValue=i),"undefined"!==typeof o&&("boolean"!==typeof o?s("`args.nonInteraction` must be a boolean."):l.nonInteraction=o),"undefined"!==typeof a&&("string"!==typeof a?s("`args.transport` must be a string."):(-1===["beacon","xhr","image"].indexOf(a)&&s("`args.transport` must be either one of these values: `beacon`, `xhr` or `image`"),l.transport=a)),Object.keys(u).filter((function(e){return"dimension"===e.substr(0,"dimension".length)})).forEach((function(e){l[e]=u[e]})),Object.keys(u).filter((function(e){return"metric"===e.substr(0,"metric".length)})).forEach((function(e){l[e]=u[e]})),Q(l,c)}else s("args.category AND args.action are required in event()")}function W(e,t){var n=e.description,r=e.fatal,i={hitType:"exception"};n&&(i.exDescription=M(n)),"undefined"!==typeof r&&("boolean"!==typeof r?s("`args.fatal` must be a boolean."):i.exFatal=r),Q(i,t)}var J={require:function(e,t,n){if(e){var r=w(e);if(""!==r){var i=n?"".concat(n,".require"):"require";if(t){if("object"!==j(t))return void s("Expected `options` arg to be an Object");0===Object.keys(t).length&&s("Empty `options` given to .require()"),B(i,r,t),P&&E("called ga('require', '".concat(r,"', ").concat(JSON.stringify(t)))}else B(i,r),P&&E("called ga('require', '".concat(r,"');"))}else s("`name` cannot be an empty string in .require()")}else s("`name` is required in .require()")},execute:function(e,t){var n,r;if(1===(arguments.length<=2?0:arguments.length-2)?n=arguments.length<=2?void 0:arguments[2]:(r=arguments.length<=2?void 0:arguments[2],n=arguments.length<=3?void 0:arguments[3]),"string"!==typeof e)s("Expected `pluginName` arg to be a String.");else if("string"!==typeof t)s("Expected `action` arg to be a String.");else{var i="".concat(e,":").concat(t);n=n||null,r&&n?(B(i,r,n),P&&(E("called ga('".concat(i,"');")),E('actionType: "'.concat(r,'" with payload: ').concat(JSON.stringify(n))))):n?(B(i,n),P&&(E("called ga('".concat(i,"');")),E("with payload: ".concat(JSON.stringify(n))))):(B(i),P&&E("called ga('".concat(i,"');")))}}};function K(e,t,n){if("function"===typeof t)if(e&&e.label){var r={hitType:"event",eventCategory:"Outbound",eventAction:"Click",eventLabel:M(e.label)},i=!1,o=setTimeout((function(){i=!0,t()}),250);r.hitCallback=function(){clearTimeout(o),i||t()},Q(r,n)}else s("args.label is required in outboundLink()");else s("hitCallback function is required")}var Z=k,H={initialize:q,ga:B,set:U,send:Q,pageview:G,modalview:z,timing:$,event:Y,exception:W,plugin:J,outboundLink:K,testModeAPI:k};function X(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}function ee(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var te=q,ne=B,re=U,ie=Q,oe=G,ae=z,se=$,ue=Y,ce=W,le=J,fe=K,pe=Z;b.origTrackLink=b.trackLink,b.trackLink=K;var de=b,he=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?X(n,!0).forEach((function(t){ee(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):X(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},r,{OutboundLink:de})},9218:function(e,t,n){"use strict";var r=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(7294),o=s(i),a=s(n(5697));function s(e){return e&&e.__esModule?e:{default:e}}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}var l=a.default.oneOfType([a.default.number,a.default.string]),f={large:{width:300,height:380},compact:{width:300,height:80}},p=function(e){function t(){return u(this,t),c(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"render",value:function(){var e=this.props,t=e.uri,n=e.view,r=e.theme,i=this.props.size;return"string"===typeof i&&(i=f[i]),o.default.createElement("iframe",{title:"Spotify",className:"SpotifyPlayer",src:"https://embed.spotify.com/?uri="+t+"&view="+n+"&theme="+r,width:i.width,height:i.height,frameBorder:"0",allowtransparency:"true"})}}]),t}(i.Component);p.propTypes={uri:a.default.string.isRequired,size:a.default.oneOfType([a.default.oneOf(["large","compact"]),a.default.shape({width:l,height:l})]),view:a.default.oneOf(["list","coverart"]),theme:a.default.oneOf(["black","white"])},p.defaultProps={size:"large",view:"list",theme:"black"},t.Z=p},655:function(e,t,n){"use strict";n.d(t,{ZT:function(){return i},pi:function(){return o},_T:function(){return a},mG:function(){return s},Jh:function(){return u},XA:function(){return c},CR:function(){return l},ev:function(){return f}});var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)};function i(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var o=function(){return o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},o.apply(this,arguments)};function a(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 i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}function s(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{u(r.next(e))}catch(t){o(t)}}function s(e){try{u(r.throw(e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((r=r.apply(e,t||[])).next())}))}function u(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}}Object.create;function c(e){var t="function"===typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);
1if(e&&"number"===typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function l(e,t){var n="function"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(s){i={error:s}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}function f(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}Object.create},9641:function(e,t,n){"use strict";n.d(t,{RI:function(){return u},uG:function(){return c},jS:function(){return f},lg:function(){return p},jp:function(){return d},$O:function(){return h},E_:function(){return v},RC:function(){return y},j:function(){return m},ig:function(){return g},kJ:function(){return b}});var r=n(3712),i=n(1761),o=n(3154),a=n(9065),s=n(182),u=Object.prototype.hasOwnProperty;function c(e,t){var n=e.__typename,r=e.id,i=e._id;if("string"===typeof n&&(t&&(t.keyObject=void 0!==r?{id:r}:void 0!==i?{_id:i}:void 0),void 0===r&&(r=i),void 0!==r))return"".concat(n,":").concat("number"===typeof r||"string"===typeof r?r:JSON.stringify(r))}var l={dataIdFromObject:c,addTypename:!0,resultCaching:!0,canonizeResults:!1};function f(e){return(0,r.o)(l,e)}function p(e){var t=e.canonizeResults;return void 0===t?l.canonizeResults:t}function d(e,t){return(0,i.Yk)(t)?e.get(t.__ref,"__typename"):t&&t.__typename}var h=/^[_a-z][_0-9a-z]*/i;function v(e){var t=e.match(h);return t?t[0]:e}function y(e,t,n){return!!(0,o.s)(t)&&(b(t)?t.every((function(t){return y(e,t,n)})):e.selections.every((function(e){if((0,i.My)(e)&&(0,a.LZ)(e,n)){var r=(0,i.u2)(e);return u.call(t,r)&&(!e.selectionSet||y(e.selectionSet,t[r],n))}return!0})))}function m(e){return(0,o.s)(e)&&!(0,i.Yk)(e)&&!b(e)}function g(){return new s.w0}var b=function(e){return Array.isArray(e)}},900:function(e,t,n){"use strict";n.d(t,{h:function(){return l},B:function(){return f}});var r=n(655),i=(n(9613),n(657)),o=n(3154),a=n(320),s=n(9641);var u,c,l=function(){function e(){this.known=new(a.sy?WeakSet:Set),this.pool=new i.B(a.mr),this.passes=new WeakMap,this.keysByJSON=new Map,this.empty=this.admit({})}return e.prototype.isKnown=function(e){return(0,o.s)(e)&&this.known.has(e)},e.prototype.pass=function(e){if((0,o.s)(e)){var t=function(e){return(0,o.s)(e)?(0,s.kJ)(e)?e.slice(0):(0,r.pi)({__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,o.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(u=this.pool.lookupArray(r)).array||(this.known.add(u.array=r),__DEV__&&Object.freeze(r)),u.array;case null:case Object.prototype:if(this.known.has(e))return e;var i=Object.getPrototypeOf(e),a=[i],s=this.sortedKeys(e);a.push(s.json);var u,c=a.length;if(s.sorted.forEach((function(n){a.push(t.admit(e[n]))})),!(u=this.pool.lookupArray(a)).object){var l=u.object=Object.create(i);this.known.add(l),s.sorted.forEach((function(e,t){l[e]=a[c+t]})),__DEV__&&Object.freeze(l)}return u.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}(),f=Object.assign((function(e){if((0,o.s)(e)){void 0===u&&p();var t=u.admit(e),n=c.get(t);return void 0===n&&c.set(t,n=JSON.stringify(t)),n}return JSON.stringify(e)}),{reset:p});function p(){u=new l,c=new(a.mr?WeakMap:Map)}},6438:function(e,t,n){"use strict";n.d(t,{ab:function(){return i},li:function(){return s},_v:function(){return u},QS:function(){return c}});var r=n(507),i=new(n(8751).g7),o=new WeakMap;function a(e){var t=o.get(e);return t||o.set(e,t={vars:new Set,dep:(0,r.dP)()}),t}function s(e){a(e).vars.forEach((function(t){return t.forgetCache(e)}))}
vendor: 6,566 bytes, line 1
1function u(e){a(e).vars.forEach((function(t){return t.attachCache(e)}))}function c(e){var t=new Set,n=new Set,r=function(s){if(arguments.length>0){if(e!==s){e=s,t.forEach((function(e){a(e).dep.dirty(r),l(e)}));var u=Array.from(n);n.clear(),u.forEach((function(t){return t(e)}))}}else{var c=i.getValue();c&&(o(c),a(c).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),a(e).vars.add(r),r};return r.forgetCache=function(e){return t.delete(e)},r}function l(e){e.broadcastWatches&&e.broadcastWatches()}},4925:function(e,t,n){"use strict";n.d(t,{f:function(){return Be},J:function(){return qe}});var r=n(655),i=n(9613);function o(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 a(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 a(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 a(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 s(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 u(e,t,n){return t&&s(e.prototype,t),n&&s(e,n),e}var c=function(){return"function"===typeof Symbol},l=function(e){return c()&&Boolean(Symbol[e])},f=function(e){return l(e)?Symbol[e]:"@@"+e};c()&&!l("observable")&&(Symbol.observable=Symbol("observable"));var p=f("iterator"),d=f("observable"),h=f("species");function v(e,t){var n=e[t];if(null!=n){if("function"!==typeof n)throw new TypeError(n+" is not a function");return n}}function y(e){var t=e.constructor;return void 0!==t&&null===(t=t[h])&&(t=void 0),void 0!==t?t:C}function m(e){return e instanceof C}function g(e){g.log?g.log(e):setTimeout((function(){throw e}))}function b(e){Promise.resolve().then((function(){try{e()}catch(t){g(t)}}))}function w(e){var t=e._cleanup;if(void 0!==t&&(e._cleanup=void 0,t))try{if("function"===typeof t)t();else{var n=v(t,"unsubscribe");n&&n.call(t)}}catch(r){g(r)}}function x(e){e._observer=void 0,e._queue=void 0,e._state="closed"}function _(e,t,n){e._state="running";var r=e._observer;try{var i=v(r,t);switch(t){case"next":i&&i.call(r,n);break;case"error":if(x(e),!i)throw n;i.call(r,n);break;case"complete":x(e),i&&i.call(r)}}catch(o){g(o)}"closed"===e._state?w(e):"running"===e._state&&(e._state="ready")}function E(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 b((function(){return function(e){var t=e._queue;if(t){e._queue=void 0,e._state="ready";for(var n=0;n<t.length&&(_(e,t[n].type,t[n].value),"closed"!==e._state);++n);}}(e)}))):void _(e,t,n);e._queue.push({type:t,value:n})}}var O=function(){function e(e,t){this._cleanup=void 0,this._observer=e,this._queue=void 0,this._state="initializing";var n=new k(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&&(x(this),w(this))},u(e,[{key:"closed",get:function(){return"closed"===this._state}}]),e}(),k=function(){function e(e){this._subscription=e}var t=e.prototype;return t.next=function(e){E(this._subscription,"next",e)},t.error=function(e){E(this._subscription,"error",e)},t.complete=function(){E(this._subscription,"complete")},u(e,[{key:"closed",get:function(){return"closed"===this._subscription._state}}]),e}(),C=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 O(e,this._subscriber)},t.forEach=function(e){var t=this;return new Promise((function(n,r){if("function"===typeof e)var i=t.subscribe({next:function(t){try{e(t,o)}catch(n){r(n),i.unsubscribe()}},error:r,complete:n});else r(new TypeError(e+" is not a function"));function o(){i.unsubscribe(),n()}}))},t.map=function(e){var t=this;if("function"!==typeof e)throw new TypeError(e+" is not a function");return new(y(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(y(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=y(this),r=arguments.length>1,i=!1,o=arguments[1],a=o;return new n((function(n){return t.subscribe({next:function(t){var o=!i;if(i=!0,!o||r)try{a=e(a,t)}catch(s){return n.error(s)}else a=t},error:function(e){n.error(e)},complete:function(){if(!i&&!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 i=y(this);return new i((function(t){var r,o=0;return function e(a){r=a.subscribe({next:function(e){t.next(e)},error:function(e){t.error(e)},complete:function(){o===n.length?(r=void 0,t.complete()):e(i.from(n[o++]))}})}(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=y(this);return new n((function(r){var i=[],o=t.subscribe({next:function(t){if(e)try{t=e(t)}catch(s){return r.error(s)}var o=n.from(t).subscribe({next:function(e){r.next(e)},error:function(e){r.error(e)},complete:function(){var e=i.indexOf(o);e>=0&&i.splice(e,1),a()}});i.push(o)},error:function(e){r.error(e)},complete:function(){a()}});function a(){o.closed&&0===i.length&&r.complete()}
1return function(){i.forEach((function(e){return e.unsubscribe()})),o.unsubscribe()}}))},t[d]=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=v(t,d);if(r){var i=r.call(t);if(Object(i)!==i)throw new TypeError(i+" is not an object");return m(i)&&i.constructor===n?i:new n((function(e){return i.subscribe(e)}))}if(l("iterator")&&(r=v(t,p)))return new n((function(e){b((function(){if(!e.closed){for(var n,i=o(r.call(t));!(n=i()).done;){var a=n.value;if(e.next(a),e.closed)return}e.complete()}}))}));if(Array.isArray(t))return new n((function(e){b((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 i="function"===typeof this?this:e;return new i((function(e){b((function(){if(!e.closed){for(var t=0;t<n.length;++t)if(e.next(n[t]),e.closed)return;e.complete()}}))}))},u(e,null,[{key:h,get:function(){return this}}]),e}();c()&&Object.defineProperty(C,Symbol("extensions"),{value:{symbol:d,hostReportError:g},configurable:!0});var S=n(6765);function T(e,t){return t?t(e):C.of()}function j(e){return"function"===typeof e?new P(e):e}function A(e){return e.request.length<=1}var D=function(e){function t(t,n){var r=e.call(this,t)||this;return r.link=n,r}return(0,r.ZT)(t,e),t}(Error),P=function(){function e(e){e&&(this.request=e)}return e.empty=function(){return new e((function(){return C.of()}))},e.from=function(t){return 0===t.length?e.empty():t.map(j).reduce((function(e,t){return e.concat(t)}))},e.split=function(t,n,r){var i=j(n),o=j(r||new e(T));return A(i)&&A(o)?new e((function(e){return t(e)?i.request(e)||C.of():o.request(e)||C.of()})):new e((function(e,n){return t(e)?i.request(e,n)||C.of():o.request(e,n)||C.of()}))},e.execute=function(e,t){return e.request(function(e,t){var n=(0,r.pi)({},e);return Object.defineProperty(t,"setContext",{enumerable:!1,value:function(e){n="function"===typeof e?(0,r.pi)((0,r.pi)({},n),e(n)):(0,r.pi)((0,r.pi)({},n),e)}}),Object.defineProperty(t,"getContext",{enumerable:!1,value:function(){return(0,r.pi)({},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?(0,S.rY)(t.query)||void 0:""),t}(function(e){for(var t=["query","operationName","variables","extensions","context"],n=0,r=Object.keys(e);n<r.length;n++){var o=r[n];if(t.indexOf(o)<0)throw __DEV__?new i.ej("illegal argument: ".concat(o)):new i.ej(24)}return e}(t))))||C.of()},e.concat=function(t,n){var r=j(t);if(A(r))return __DEV__&&i.kG.warn(new D("You are calling concat on a terminating link, which will have no effect",r)),r;var o=j(n);return A(o)?new e((function(e){return r.request(e,(function(e){return o.request(e)||C.of()}))||C.of()})):new e((function(e,t){return r.request(e,(function(e){return o.request(e,t)||C.of()}))||C.of()}))},e.prototype.split=function(t,n,r){return this.concat(e.split(t,n,r||new e(T)))},e.prototype.concat=function(t){return e.concat(this,t)},e.prototype.request=function(e,t){throw __DEV__?new i.ej("request is not implemented"):new i.ej(19)},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}(),I=P.execute,R=n(3712),N=n(7304),F=function(e,t){var n;try{n=JSON.stringify(e)}catch(o){var r=__DEV__?new i.ej("Network request failed. ".concat(t," is not serializable: ").concat(o.message)):new i.ej(21);throw r.parseError=o,r}return n},M=function(e,t,n){var r=new Error(n);throw r.name="ServerError",r.response=e,r.statusCode=e.status,r.result=t,r},V=Object.prototype.hasOwnProperty;var L=n(7392);const q=/[\x00-\x1f\x22\x5c\x7f-\x9f]/g;function B(e){return U[e.charCodeAt(0)]}const U=["\\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 Q(e){return(0,N.Vn)(e,G)}const G={Name:{leave:e=>e.value},Variable:{leave:e=>"$"+e.name},Document:{leave:e=>z(e.definitions,"\n\n")},OperationDefinition:{leave(e){const t=Y("(",z(e.variableDefinitions,", "),")"),n=z([e.operation,z([e.name,t]),z(e.directives," ")]," ");return("query"===n?"":n+" ")+e.selectionSet}},VariableDefinition:{leave:({variable:e,type:t,defaultValue:n,directives:r})=>e+": "+t+Y(" = ",n)+Y(" ",z(r," "))},SelectionSet:{leave:({selections:e})=>$(e)},Field:{leave({alias:e,name:t,arguments:n,directives:r,selectionSet:i}){const o=Y("",e,": ")+t;let a=o+Y("(",z(n,", "),")");return a.length>80&&(a=o+Y("(\n",W(z(n,"\n")),"\n)")),z([a,z(r," "),i]," ")}},Argument:{leave:({name:e,value:t})=>e+": "+t},FragmentSpread:{leave:({name:e,directives:t})=>"..."+e+Y(" ",z(t," "))},InlineFragment:{leave:({typeCondition:e,directives:t,selectionSet:n})=>z(["...",Y("on ",e),z(t," "),n]," ")},FragmentDefinition:{leave:({name:e,typeCondition:t,variableDefinitions:n,directives:r,selectionSet:i})=>`fragment ${e}${Y("(",z(n,", "),")")} on ${t} ${Y("",z(r," ")," ")}`+i},IntValue:{leave:({value:e})=>e},FloatValue:{leave:({value:e})=>e}
1,StringValue:{leave:({value:e,block:t})=>t?(0,L.LZ)(e):`"${e.replace(q,B)}"`},BooleanValue:{leave:({value:e})=>e?"true":"false"},NullValue:{leave:()=>"null"},EnumValue:{leave:({value:e})=>e},ListValue:{leave:({values:e})=>"["+z(e,", ")+"]"},ObjectValue:{leave:({fields:e})=>"{"+z(e,", ")+"}"},ObjectField:{leave:({name:e,value:t})=>e+": "+t},Directive:{leave:({name:e,arguments:t})=>"@"+e+Y("(",z(t,", "),")")},NamedType:{leave:({name:e})=>e},ListType:{leave:({type:e})=>"["+e+"]"},NonNullType:{leave:({type:e})=>e+"!"},SchemaDefinition:{leave:({description:e,directives:t,operationTypes:n})=>Y("",e,"\n")+z(["schema",z(t," "),$(n)]," ")},OperationTypeDefinition:{leave:({operation:e,type:t})=>e+": "+t},ScalarTypeDefinition:{leave:({description:e,name:t,directives:n})=>Y("",e,"\n")+z(["scalar",t,z(n," ")]," ")},ObjectTypeDefinition:{leave:({description:e,name:t,interfaces:n,directives:r,fields:i})=>Y("",e,"\n")+z(["type",t,Y("implements ",z(n," & ")),z(r," "),$(i)]," ")},FieldDefinition:{leave:({description:e,name:t,arguments:n,type:r,directives:i})=>Y("",e,"\n")+t+(J(n)?Y("(\n",W(z(n,"\n")),"\n)"):Y("(",z(n,", "),")"))+": "+r+Y(" ",z(i," "))},InputValueDefinition:{leave:({description:e,name:t,type:n,defaultValue:r,directives:i})=>Y("",e,"\n")+z([t+": "+n,Y("= ",r),z(i," ")]," ")},InterfaceTypeDefinition:{leave:({description:e,name:t,interfaces:n,directives:r,fields:i})=>Y("",e,"\n")+z(["interface",t,Y("implements ",z(n," & ")),z(r," "),$(i)]," ")},UnionTypeDefinition:{leave:({description:e,name:t,directives:n,types:r})=>Y("",e,"\n")+z(["union",t,z(n," "),Y("= ",z(r," | "))]," ")},EnumTypeDefinition:{leave:({description:e,name:t,directives:n,values:r})=>Y("",e,"\n")+z(["enum",t,z(n," "),$(r)]," ")},EnumValueDefinition:{leave:({description:e,name:t,directives:n})=>Y("",e,"\n")+z([t,z(n," ")]," ")},InputObjectTypeDefinition:{leave:({description:e,name:t,directives:n,fields:r})=>Y("",e,"\n")+z(["input",t,z(n," "),$(r)]," ")},DirectiveDefinition:{leave:({description:e,name:t,arguments:n,repeatable:r,locations:i})=>Y("",e,"\n")+"directive @"+t+(J(n)?Y("(\n",W(z(n,"\n")),"\n)"):Y("(",z(n,", "),")"))+(r?" repeatable":"")+" on "+z(i," | ")},SchemaExtension:{leave:({directives:e,operationTypes:t})=>z(["extend schema",z(e," "),$(t)]," ")},ScalarTypeExtension:{leave:({name:e,directives:t})=>z(["extend scalar",e,z(t," ")]," ")},ObjectTypeExtension:{leave:({name:e,interfaces:t,directives:n,fields:r})=>z(["extend type",e,Y("implements ",z(t," & ")),z(n," "),$(r)]," ")},InterfaceTypeExtension:{leave:({name:e,interfaces:t,directives:n,fields:r})=>z(["extend interface",e,Y("implements ",z(t," & ")),z(n," "),$(r)]," ")},UnionTypeExtension:{leave:({name:e,directives:t,types:n})=>z(["extend union",e,z(t," "),Y("= ",z(n," | "))]," ")},EnumTypeExtension:{leave:({name:e,directives:t,values:n})=>z(["extend enum",e,z(t," "),$(n)]," ")},InputObjectTypeExtension:{leave:({name:e,directives:t,fields:n})=>z(["extend input",e,z(t," "),$(n)]," ")}};function z(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 $(e){return Y("{\n",W(z(e,"\n")),"\n}")}function Y(e,t,n=""){return null!=t&&""!==t?e+t+n:""}function W(e){return Y(" ",e.replace(/\n/g,"\n "))}function J(e){var t;return null!==(t=null===e||void 0===e?void 0:e.some((e=>e.includes("\n"))))&&void 0!==t&&t}var K={http:{includeQuery:!0,includeExtensions:!1},headers:{accept:"*/*","content-type":"application/json"},options:{method:"POST"}},Z=function(e,t){return t(e)};function H(e,t){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];var o={},a={};n.forEach((function(e){o=(0,r.pi)((0,r.pi)((0,r.pi)({},o),e.options),{headers:(0,r.pi)((0,r.pi)({},o.headers),X(e.headers))}),e.credentials&&(o.credentials=e.credentials),a=(0,r.pi)((0,r.pi)({},a),e.http)}));var s=e.operationName,u=e.extensions,c=e.variables,l=e.query,f={operationName:s,variables:c};return a.includeExtensions&&(f.extensions=u),a.includeQuery&&(f.query=t(l,Q)),{options:o,body:f}}function X(e){if(e){var t=Object.create(null);
1return Object.keys(Object(e)).forEach((function(n){t[n.toLowerCase()]=e[n]})),t}return e}function ee(e){return new C((function(t){t.error(e)}))}var te=(0,i.wY)((function(){return fetch})),ne=function(e){void 0===e&&(e={});var t=e.uri,n=void 0===t?"/graphql":t,o=e.fetch,a=e.print,s=void 0===a?Z:a,u=e.includeExtensions,c=e.useGETForQueries,l=e.includeUnusedVariables,f=void 0!==l&&l,p=(0,r._T)(e,["uri","fetch","print","includeExtensions","useGETForQueries","includeUnusedVariables"]);__DEV__&&function(e){if(!e&&"undefined"===typeof fetch)throw __DEV__?new i.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 i.ej(20)}(o||te);var d={http:{includeExtensions:u},options:p.fetchOptions,credentials:p.credentials,headers:p.headers};return new P((function(e){var t=function(e,t){return e.getContext().uri||("function"===typeof t?t(e):t||"/graphql")}(e,n),a=e.getContext(),u={};if(a.clientAwareness){var l=a.clientAwareness,p=l.name,h=l.version;p&&(u["apollographql-client-name"]=p),h&&(u["apollographql-client-version"]=h)}var v,y=(0,r.pi)((0,r.pi)({},u),a.headers),m={http:a.http,options:a.fetchOptions,credentials:a.credentials,headers:y},g=H(e,s,K,d,m),b=g.options,w=g.body;if(w.variables&&!f){var x=new Set(Object.keys(w.variables));(0,N.Vn)(e.query,{Variable:function(e,t,n){n&&"VariableDefinition"!==n.kind&&x.delete(e.name.value)}}),x.size&&(w.variables=(0,r.pi)({},w.variables),x.forEach((function(e){delete w.variables[e]})))}if(!b.signal){var _=function(){if("undefined"===typeof AbortController)return{controller:!1,signal:!1};var e=new AbortController;return{controller:e,signal:e.signal}}(),E=_.controller,O=_.signal;(v=E)&&(b.signal=O)}if(c&&!e.query.definitions.some((function(e){return"OperationDefinition"===e.kind&&"mutation"===e.operation}))&&(b.method="GET"),"GET"===b.method){var k=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 i=void 0;try{i=F(t.variables,"Variables map")}catch(T){return{parseError:T}}r("variables",i)}if(t.extensions){var o=void 0;try{o=F(t.extensions,"Extensions map")}catch(T){return{parseError:T}}r("extensions",o)}var a="",s=e,u=e.indexOf("#");-1!==u&&(a=e.substr(u),s=e.substr(0,u));var c=-1===s.indexOf("?")?"?":"&";return{newURI:s+c+n.join("&")+a}}(t,w),S=k.newURI,T=k.parseError;if(T)return ee(T);t=S}else try{b.body=F(w,"Payload")}catch(T){return ee(T)}return new C((function(n){var r;return(o||(0,i.wY)((function(){return fetch}))||te)(t,b).then((function(t){return e.setContext({response:t}),t})).then((r=e,function(e){return e.text().then((function(t){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}})).then((function(t){return e.status>=300&&M(e,t,"Response not successful: Received status code ".concat(e.status)),Array.isArray(t)||V.call(t,"data")||V.call(t,"errors")||M(e,t,"Server response was missing for query '".concat(Array.isArray(r)?r.map((function(e){return e.operationName})):r.operationName,"'.")),t}))})).then((function(e){return n.next(e),n.complete(),e})).catch((function(e){"AbortError"!==e.name&&(e.result&&e.result.errors&&e.result.data&&n.next(e.result),n.error(e))})),function(){v&&v.abort()}}))}))},re=function(e){function t(t){void 0===t&&(t={});var n=e.call(this,ne(t).request)||this;return n.options=t,n}return(0,r.ZT)(t,e),t}(P),ie=n(2152),oe=n(900),ae=n(320);function se(e,t,n){return new C((function(r){var i=r.next,o=r.error,a=r.complete,s=0,u=!1,c={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)};c=c.then(n,n).then((function(e){--s,i&&i.call(r,e),u&&f.complete()}),(function(e){throw--s,e})).catch((function(e){o&&o.call(r,e)}))}:function(e){return t&&t.call(r,e)}}var f={next:l(t,i),error:l(n,o),complete:function(){u=!0,s||a&&a.call(r)}},p=e.subscribe(f);return function(){return p.unsubscribe()}}))}function ue(e){return e.errors&&e.errors.length>0||!1}
1var ce=n(6982),le=n(9065),fe=n(1761),pe=n(3154),de=n(897);function he(e,t,n){var r=[];e.forEach((function(e){return e[t]&&r.push(e)})),r.forEach((function(e){return e[t](n)}))}function ve(e){function t(t){Object.defineProperty(e,t,{value:C})}return ae.aS&&Symbol.species&&t(Symbol.species),t("@@species"),e}function ye(e){return e&&"function"===typeof e.then}var me=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.addCount=0,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],he(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),he(n.observers,"error",e))},complete:function(){if(null!==n.sub){var e=n.sources.shift();e?ye(e)?e.then((function(e){return n.sub=e.subscribe(n.handlers)})):n.sub=e.subscribe(n.handlers):(n.sub=null,n.latest&&"next"===n.latest[0]?n.resolve(n.latest[1]):n.resolve(),he(n.observers,"complete"))}}},n.cancel=function(e){n.reject(e),n.sources=[],n.handlers.complete()},n.promise.catch((function(e){})),"function"===typeof t&&(t=[new C(t)]),ye(t)?t.then((function(e){return n.start(e)}),n.handlers.error):n.start(t),n}return(0,r.ZT)(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),++this.addCount)},t.prototype.removeObserver=function(e,t){this.observers.delete(e)&&--this.addCount<1&&!t&&this.handlers.error(new Error("Observable cancelled prematurely"))},t.prototype.cleanup=function(e){var t=this,n=!1,r=function(){n||(n=!0,t.observers.delete(i),e())},i={next:r,error:r,complete:r},o=this.addCount;this.addObserver(i),this.addCount=o},t}(C);ve(me);var ge=n(2651),be=n(990),we=n(1644),xe=n(9487),_e=Object.assign,Ee=Object.hasOwnProperty,Oe=!1,ke=function(e){function t(t){var n=t.queryManager,r=t.queryInfo,i=t.options,o=e.call(this,(function(e){try{var n=e._subscription._observer;n&&!n.error&&(n.error=Ce)}catch(t){}var r=!o.observers.size;o.observers.add(e);var i=o.last;return i&&i.error?e.error&&e.error(i.error):i&&i.result&&e.next&&e.next(i.result),r&&o.reobserve().catch((function(){})),function(){o.observers.delete(e)&&!o.observers.size&&o.tearDownQuery()}}))||this;o.observers=new Set,o.subscriptions=new Set,o.isTornDown=!1,o.options=i,o.queryId=r.queryId||n.generateQueryId();var a=(0,S.$H)(i.query);return o.queryName=a&&a.name&&a.name.value,o.initialFetchPolicy=i.fetchPolicy||"cache-first",o.queryManager=n,o.queryInfo=r,o}return(0,r.ZT)(t,e),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(){i.unsubscribe()}),0)},error:n},i=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||we.I.ready,i=(0,r.pi)((0,r.pi)({},t),{loading:(0,we.O)(n),networkStatus:n}),o=this.options.fetchPolicy,a=void 0===o?"cache-first":o;if("network-only"===a||"no-cache"===a||"standby"===a||this.queryManager.transform(this.options.query).hasForcedResolvers);else{var s=this.queryInfo.getDiff();(s.complete||this.options.returnPartialData)&&(i.data=s.result),(0,ie.D)(i.data,{})&&(i.data=void 0),s.complete?(delete i.partial,!s.complete||i.networkStatus!==we.I.loading||"cache-first"!==a&&"cache-only"!==a||(i.networkStatus=we.I.ready,i.loading=!1)):i.partial=!0,!__DEV__||s.complete||this.options.partialRefetch||i.loading||i.data||i.error||Se(s.missing)}return e&&this.updateLastResult(i),i},t.prototype.isDifferentFromLastResult=function(e){return!this.last||!(0,ie.D)(this.last.result,e)},t.prototype.getLast=function(e,t){var n=this.last;if(n&&n[e]&&(!t||(0,ie.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&&Ee.call(e,"variables")){var a=(0,S.iW)(this.options.query),s=a.variableDefinitions;s&&s.some((function(e){return"variables"===e.variable.name.value}))||__DEV__&&i.kG.warn("Called refetch(".concat(JSON.stringify(e),") for query ").concat((null===(t=a.name)||void 0===t?void 0:t.value)||JSON.stringify(a),", which does not declare a $variables variable.\nDid you mean to call refetch(variables) instead of refetch({ variables })?"))}return e&&!(0,ie.D)(this.options.variables,e)&&(n.variables=this.options.variables=(0,r.pi)((0,r.pi)({},this.options.variables),e)),this.queryInfo.resetLastWrite(),this.reobserve(n,we.I.refetch)},t.prototype.fetchMore=function(e){var t=this,n=(0,r.pi)((0,r.pi)({},e.query?e:(0,r.pi)((0,r.pi)((0,r.pi)({},this.options),e),{variables:(0,r.pi)((0,r.pi)({},this.options.variables),e.variables)})),{fetchPolicy:"no-cache"}),o=this.queryManager.generateQueryId();return n.notifyOnNetworkStatusChange&&(this.queryInfo.networkStatus=we.I.fetchMore,this.observe()),this.queryManager.fetchQuery(o,n,we.I.fetchMore).then((function(r){var o=r.data,a=e.updateQuery;return a?(__DEV__&&!Oe&&(__DEV__&&i.kG.warn("The updateQuery callback for fetchMore is deprecated, and will be removed\nin the next major version of Apollo Client.\n\nPlease convert updateQuery functions to field policies with appropriate\nread and merge functions, or use/adapt a helper function (such as\nconcatPagination, offsetLimitPagination, or relayStylePagination) from\n@apollo/client/utilities.\n\nThe field policy system handles pagination more effectively than a\nhand-written updateQuery function, and
1you only need to define the policy\nonce, rather than every time you call fetchMore."),Oe=!0),t.updateQuery((function(e){return a(e,{fetchMoreResult:o,variables:n.variables})}))):t.queryManager.cache.writeQuery({query:n.query,variables:n.variables,data:o}),r})).finally((function(){t.queryManager.stopQuery(o),t.reobserve()}))},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 i=t.variables;return r(e,{subscriptionData:n,variables:i})}))},error:function(t){e.onError?e.onError(t):__DEV__&&i.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,ie.D)(this.variables,e)?this.observers.size?this.result():Promise.resolve():(this.options.variables=e,this.observers.size?this.reobserve({fetchPolicy:this.initialFetchPolicy,variables:e},we.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.fetch=function(e,t){return this.queryManager.setObservableQuery(this),this.queryManager.fetchQueryObservable(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,i.kG)(n,"Attempted to start a polling query without a polling interval."):(0,i.kG)(n,10),(t||(this.pollingInfo={})).interval=n;var r=function(){e.pollingInfo&&((0,we.O)(e.queryInfo.networkStatus)?o():e.reobserve({fetchPolicy:"network-only"},we.I.poll).then(o,o))},o=function(){var t=e.pollingInfo;t&&(clearTimeout(t.timeout),t.timeout=setTimeout(r,t.interval))};o()}}else t&&(clearTimeout(t.timeout),delete this.pollingInfo)}},t.prototype.updateLastResult=function(e,t){return void 0===t&&(t=this.variables),this.last=(0,r.pi)((0,r.pi)({},this.last),{result:this.queryManager.assumeImmutableResults?e:(0,xe.X)(e),variables:t}),(0,ge.O)(e.errors)||delete this.last.error,this.last},t.prototype.reobserve=function(e,t){var n=this;this.isTornDown=!1;var i=t===we.I.refetch||t===we.I.fetchMore||t===we.I.poll,o=this.options.variables,a=i?(0,R.o)(this.options,e):_e(this.options,(0,R.o)(e));i||(this.updatePolling(),e&&e.variables&&!e.fetchPolicy&&!(0,ie.D)(e.variables,o)&&(a.fetchPolicy=this.initialFetchPolicy,void 0===t&&(t=we.I.setVariables)));var s=a.variables&&(0,r.pi)({},a.variables),u=this.fetch(a,t),c={next:function(e){n.reportResult(e,s)},error:function(e){n.reportError(e,s)}};return i||(this.concast&&this.observer&&this.concast.removeObserver(this.observer,!0),this.concast=u,this.observer=c),u.addObserver(c),u.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))&&((n||!e.partial||this.options.returnPartialData)&&this.updateLastResult(e,t),he(this.observers,"next",e))},t.prototype.reportError=function(e,t){var n=(0,r.pi)((0,r.pi)({},this.getLastResult()),{error:e,errors:e.graphQLErrors,networkStatus:we.I.error,loading:!1});this.updateLastResult(n,t),he(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}(C);function Ce(e){__DEV__&&i.kG.error("Unhandled error",e.message,e.stack)}function Se(e){__DEV__&&e&&__DEV__&&i.kG.debug("Missing cache result fields: ".concat(JSON.stringify(e)),e)}ve(ke);var Te=n(182),je=n(3361),Ae=n(6438),De=function(){function e(e){var t=e.cache,n=e.client,r=e.resolvers,i=e.fragmentMatcher;this.cache=t,n&&(this.client=n),r&&this.addResolvers(r),i&&this.setFragmentMatcher(i)}return e.prototype.addResolvers=function(e){var t=this;this.resolvers=this.resolvers||{},Array.isArray(e)?e.forEach((function(e){t.resolvers=(0,Te.Ee)(t.resolvers,e)})):this.resolvers=(0,Te.Ee)(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,i=e.context,o=e.variables,a=e.onlyRunForcedResolvers,s=void 0!==a&&a;return(0,r.mG)(this,void 0,void 0,(function(){return(0,r.Jh)(this,(function(e){return t?[2,this.resolveDocument(t,n.data,i,o,this.fragmentMatcher,s).then((function(e){return(0,r.pi)((0,r.pi)({},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(0,le.FS)(["client"],e)&&this.resolvers?e:null},e.prototype.serverQuery=function(e){return(0,ce.ob)(e)},e.prototype.prepareContext=function(e){var t=this.cache;return(0,r.pi)((0,r.pi)({},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,r.mG)(this,void 0,void 0,(function(){return(0,r.Jh)(this,(function(i){return e?[2,this.resolveDocument(e,this.buildRootValueFromCache(e,t)||{},this.prepareContext(n),t).then((function(e){return(0,r.pi)((0,r.pi)({},t),e.exportedVariables)}))]:[2,(0,r.pi)({},t)]}))}))},e.prototype.shouldForceResolvers=function(e){var t=!1;return(0,N.Vn)(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 N.$_}}}),t},e.prototype.buildRootValueFromCache=function(e,t){return this.cache.diff({query:(0,ce.aL)(e),variables:t,returnPartialData:!0,optimistic:!1}).result},e.prototype.resolveDocument=function(e,t,n,i,o,a){return void 0===n&&(n={}),void 0===i&&(i={}),void 0===o&&(o=function(){return!0}),void 0===a&&(a=!1),(0,r.mG)(this,void 0,void 0,(function(){var s,u,c,l,f,p,d,h,v;return(0,r.Jh)(this,(function(y){return s=(0,S.p$)(e),u=(0,S.kU)(e),c=(0,je.F)(u),l=s.operation,f=l?l.charAt(0).toUpperCase()+l.slice(1):"Query",d=(p=this).cache,h=p.client,v={fragmentMap:c,context:(0,r.pi)((0,r.pi)({}
1,n),{cache:d,client:h}),variables:i,fragmentMatcher:o,defaultOperationType:f,exportedVariables:{},onlyRunForcedResolvers:a},[2,this.resolveSelectionSet(s.selectionSet,t,v).then((function(e){return{result:e,exportedVariables:v.exportedVariables}}))]}))}))},e.prototype.resolveSelectionSet=function(e,t,n){return(0,r.mG)(this,void 0,void 0,(function(){var o,a,s,u,c,l=this;return(0,r.Jh)(this,(function(f){return o=n.fragmentMap,a=n.context,s=n.variables,u=[t],c=function(e){return(0,r.mG)(l,void 0,void 0,(function(){var c,l;return(0,r.Jh)(this,(function(r){return(0,le.LZ)(e,s)?(0,fe.My)(e)?[2,this.resolveField(e,t,n).then((function(t){var n;"undefined"!==typeof t&&u.push(((n={})[(0,fe.u2)(e)]=t,n))}))]:((0,fe.Ao)(e)?c=e:(c=o[e.name.value],__DEV__?(0,i.kG)(c,"No fragment named ".concat(e.name.value)):(0,i.kG)(c,9)),c&&c.typeCondition&&(l=c.typeCondition.name.value,n.fragmentMatcher(t,l,a))?[2,this.resolveSelectionSet(c.selectionSet,t,n).then((function(e){u.push(e)}))]:[2]):[2]}))}))},[2,Promise.all(e.selections.map(c)).then((function(){return(0,Te.bw)(u)}))]}))}))},e.prototype.resolveField=function(e,t,n){return(0,r.mG)(this,void 0,void 0,(function(){var i,o,a,s,u,c,l,f,p,d=this;return(0,r.Jh)(this,(function(r){return i=n.variables,o=e.name.value,a=(0,fe.u2)(e),s=o!==a,u=t[a]||t[o],c=Promise.resolve(u),n.onlyRunForcedResolvers&&!this.shouldForceResolvers(e)||(l=t.__typename||n.defaultOperationType,(f=this.resolvers&&this.resolvers[l])&&(p=f[s?o:a])&&(c=Promise.resolve(Ae.ab.withValue(this.cache,p,[t,(0,fe.NC)(e,i),n.context,{field:e,fragmentMap:n.fragmentMap}])))),[2,c.then((function(t){return void 0===t&&(t=u),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&&(n.exportedVariables[e.value.value]=t)}))})),e.selectionSet?null==t?t:Array.isArray(t)?d.resolveSubSelectedArray(e,t,n):e.selectionSet?d.resolveSelectionSet(e.selectionSet,t,n):void 0:t}))]}))}))},e.prototype.resolveSubSelectedArray=function(e,t,n){var r=this;return Promise.all(t.map((function(t){return null===t?null:Array.isArray(t)?r.resolveSubSelectedArray(e,t,n):e.selectionSet?r.resolveSelectionSet(e.selectionSet,t,n):void 0})))},e}(),Pe=new(ae.mr?WeakMap:Map);function Ie(e,t){var n=e[t];"function"===typeof n&&(e[t]=function(){return Pe.set(e,(Pe.get(e)+1)%1e15),n.apply(this,arguments)})}function Re(e){e.notifyTimeout&&(clearTimeout(e.notifyTimeout),e.notifyTimeout=void 0)}var Ne=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;Pe.has(n)||(Pe.set(n,0),Ie(n,"evict"),Ie(n,"modify"),Ie(n,"reset"))}return e.prototype.init=function(e){var t=e.networkStatus||we.I.loading;return this.variables&&this.networkStatus!==we.I.loading&&!(0,ie.D)(this.variables,e.variables)&&(t=we.I.setVariables),(0,ie.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(){Re(this),this.lastDiff=void 0,this.dirty=!1},e.prototype.getDiff=function(e){void 0===e&&(e=this.variables);var t=this.getDiffOptions(e);if(this.lastDiff&&(0,ie.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,ie.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():e.reobserve()})):delete this.oqListener)},e.prototype.notify=function(){var e=this;
1Re(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,we.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 i=(0,r.pi)((0,r.pi)({},this.getDiffOptions(e)),{watcher:this,callback:function(e){return t.setDiff(e)}});this.lastWatch&&(0,ie.D)(i,this.lastWatch)||(this.cancel(),this.cancel=this.cache.watch(this.lastWatch=i))}},e.prototype.resetLastWrite=function(){this.lastWrite=void 0},e.prototype.shouldWrite=function(e,t){var n=this.lastWrite;return!(n&&n.dmCount===Pe.get(this.cache)&&(0,ie.D)(t,n.variables)&&(0,ie.D)(e.data,n.result.data))},e.prototype.markResult=function(e,t,n){var r=this;this.graphQLErrors=(0,ge.O)(e.errors)?e.errors:[],this.reset(),"no-cache"===t.fetchPolicy?this.updateLastDiff({result:e.data,complete:!0},this.getDiffOptions(t.variables)):0!==n&&(Fe(e,t.errorPolicy)?this.cache.performTransaction((function(i){if(r.shouldWrite(e,t.variables))i.writeQuery({query:r.document,data:e.data,variables:t.variables,overwrite:1===n}),r.lastWrite={result:e,variables:t.variables,dmCount:Pe.get(r.cache)};else if(r.lastDiff&&r.lastDiff.diff.complete)return void(e.data=r.lastDiff.diff.result);var o=r.getDiffOptions(t.variables),a=i.diff(o);r.stopped||r.updateWatch(t.variables),r.updateLastDiff(a,o),a.complete&&(e.data=a.result)})):this.lastWrite=void 0)},e.prototype.markReady=function(){return this.networkError=null,this.networkStatus=we.I.ready},e.prototype.markError=function(e){return this.networkStatus=we.I.error,this.lastWrite=void 0,this.reset(),e.graphQLErrors&&(this.graphQLErrors=e.graphQLErrors),e.networkError&&(this.networkError=e.networkError),e},e}();function Fe(e,t){void 0===t&&(t="none");var n="ignore"===t||"all"===t,r=!ue(e);return!r&&n&&e.data&&(r=!0),r}var Me=Object.prototype.hasOwnProperty,Ve=function(){function e(e){var t=e.cache,n=e.link,r=e.queryDeduplication,i=void 0!==r&&r,o=e.onBroadcast,a=e.ssrMode,s=void 0!==a&&a,u=e.clientAwareness,c=void 0===u?{}:u,l=e.localState,f=e.assumeImmutableResults;this.clientAwareness={},this.queries=new Map,this.fetchCancelFns=new Map,this.transformCache=new(ae.mr?WeakMap:Map),this.queryIdCounter=1,this.requestIdCounter=1,this.mutationIdCounter=1,this.inFlightLinkObservables=new Map,this.cache=t,this.link=n,this.queryDeduplication=i,this.clientAwareness=c,this.localState=l||new De({cache:t}),this.ssrMode=s,this.assumeImmutableResults=!!f,(this.onBroadcast=o)&&(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 i.ej("QueryManager stopped while query was in flight"):new i.ej(11))},e.prototype.cancelPendingFetches=function(e){this.fetchCancelFns.forEach((function(t){return t(e)})),this.fetchCancelFns.clear()},e.prototype.mutate=function(e){var t=e.mutation,n=e.variables,o=e.optimisticResponse,a=e.updateQueries,s=e.refetchQueries,u=void 0===s?[]:s,c=e.awaitRefetchQueries,l=void 0!==c&&c,f=e.update,p=e.onQueryUpdated,d=e.errorPolicy,h=void 0===d?"none":d,v=e.fetchPolicy,y=void 0===v?"network-only":v,m=e.keepRootFields,g=e.context;return(0,r.mG)(this,void 0,void 0,(function(){var e,s,c;return(0,r.Jh)(this,(function(d){switch(d.label){case 0:return __DEV__?(0,i.kG)(t,"mutation option is required. You must specify your GraphQL document in the mutation option."):(0,i.kG)(t,12),__DEV__?(0,i.kG)("network-only"===y||"no-cache"===y,"Mutations support 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,i.kG)("network-only"===y||"no-cache"===y,13),e=this.generateMutationId(),t=this.transform(t).document,n=this.getVariables(t,n),this.transform(t).hasCl
1ientExports?[4,this.localState.addExportedVariables(t,n,g)]:[3,2];case 1:n=d.sent(),d.label=2;case 2:return s=this.mutationStore&&(this.mutationStore[e]={mutation:t,variables:n,loading:!0,error:null}),o&&this.markMutationOptimistic(o,{mutationId:e,document:t,variables:n,fetchPolicy:y,errorPolicy:h,context:g,updateQueries:a,update:f,keepRootFields:m}),this.broadcastQueries(),c=this,[2,new Promise((function(i,d){return se(c.getObservableFromLink(t,(0,r.pi)((0,r.pi)({},g),{optimisticResponse:o}),n,!1),(function(i){if(ue(i)&&"none"===h)throw new be.c({graphQLErrors:i.errors});s&&(s.loading=!1,s.error=null);var d=(0,r.pi)({},i);return"function"===typeof u&&(u=u(d)),"ignore"===h&&ue(d)&&delete d.errors,c.markMutationResult({mutationId:e,result:d,document:t,variables:n,fetchPolicy:y,errorPolicy:h,context:g,update:f,updateQueries:a,awaitRefetchQueries:l,refetchQueries:u,removeOptimistic:o?e:void 0,onQueryUpdated:p,keepRootFields:m})})).subscribe({next:function(e){c.broadcastQueries(),i(e)},error:function(t){s&&(s.loading=!1,s.error=t),o&&c.cache.removeOptimistic(e),c.broadcastQueries(),d(t instanceof be.c?t:new be.c({networkError:t}))}})}))]}}))}))},e.prototype.markMutationResult=function(e,t){var n=this;void 0===t&&(t=this.cache);var i=e.result,o=[],a="no-cache"===e.fetchPolicy;if(!a&&Fe(i,e.errorPolicy)){o.push({result:i.data,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables});var s=e.updateQueries;s&&this.queries.forEach((function(e,r){var a=e.observableQuery,u=a&&a.queryName;if(u&&Me.call(s,u)){var c=s[u],l=n.queries.get(r),f=l.document,p=l.variables,d=t.diff({query:f,variables:p,returnPartialData:!0,optimistic:!1}),h=d.result;if(d.complete&&h){var v=c(h,{mutationResult:i,queryName:f&&(0,S.rY)(f)||void 0,queryVariables:p});v&&o.push({result:v,dataId:"ROOT_QUERY",query:f,variables:p})}}}))}if(o.length>0||e.refetchQueries||e.update||e.onQueryUpdated||e.removeOptimistic){var u=[];if(this.refetchQueries({updateCache:function(t){a||o.forEach((function(e){return t.write(e)}));var s=e.update;if(s){if(!a){var u=t.diff({id:"ROOT_MUTATION",query:n.transform(e.document).asQuery,variables:e.variables,optimistic:!1,returnPartialData:!0});u.complete&&(i=(0,r.pi)((0,r.pi)({},i),{data:u.result}))}s(t,i,{context:e.context,variables:e.variables})}a||e.keepRootFields||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 i}))}return Promise.resolve(i)},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,r.pi)((0,r.pi)({},t),{result:{data:o}}),e)}catch(a){__DEV__&&i.kG.error(a)}}),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),i=(0,ce.Fo)(this.cache.transformForLink(n)),o=this.localState.clientQuery(n),a=i&&this.localState.serverQuery(i),s={document:n,hasClientExports:(0,le.mj)(n),hasForcedResolvers:this.localState.shouldForceResolvers(n),clientQuery:o,serverQuery:a,defaultVars:(0,S.O4)((0,S.$H)(n)),asQuery:(0,r.pi)((0,r.pi)({},n),{definitions:n.definitions.map((function(e){return"OperationDefinition"===e.kind&&"query"!==e.operation?(0,r.pi)((0,r.pi)({},e),{operation:"query"}):e}))})},u=function(e){e&&!t.has(e)&&t.set(e,s)};u(e),u(n),u(o),u(a)}return t.get(e)},e.prototype.getVariables=function(e,t){return(0,r.pi)((0,r.pi)({},this.transform(e).defaultVars),t)},e.prototype.watchQuery=function(e){"undefined"===typeof(e=(0,r.pi)((0,r.pi)({},e),{variables:this.getVariables(e.query,e.variables)})).notifyOnNetworkStatusChange&&(e.notifyOnNetworkStatusChange=!1);var t=new Ne(this),n=new ke({queryManager:this,queryInfo:t,options:e});return this.queries.set(n.queryId,t),t.init({document:e.query,observableQuery:n,variables:e.variables}),n},e.prototype.query=function(e,t){var n=this;return void 0===t&&(t=this.generateQueryId()),__DEV__?(0,i.kG)(e.query,"query option is required. You must specify your GraphQL document in the query option."):(0,i.kG)(e.query,14),__DEV__?(0,i.kG)("Document"===e.query.kind,'You must wrap the query string in a "gql" tag.'):(0,i.kG)("Document"===e.query.kind,15),__DEV__?(0,i.kG)(!e.returnPartialData,"returnPartialData option only supported on watchQuery."):(0,i.kG)(!e.returnPartialData,16),__DEV__?(0,i.kG)(!e.pollInterval,"pollInterval option only supported on watchQuery."):(0,i.kG)(!e.pollInterval,17),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 i.ej("Store reset while query was in flight (not completed in link chain)"):new i.ej(18)),this.queries.forEac
1h((function(e){e.observableQuery?e.networkStatus=we.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,a=new Set;return Array.isArray(e)&&e.forEach((function(e){"string"===typeof e?o.set(e,!1):(0,fe.JW)(e)?o.set(t.transform(e).document,!1):(0,pe.s)(e)&&e.query&&a.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))}})),a.size&&a.forEach((function(e){var o=(0,de.X)("legacyOneTimeQuery"),a=t.getQuery(o).init({document:e.query,variables:e.variables}),s=new ke({queryManager:t,queryInfo:a,options:(0,r.pi)((0,r.pi)({},e),{fetchPolicy:"network-only"})});(0,i.kG)(s.queryId===o),a.setObservableQuery(s),n.set(o,s)})),__DEV__&&o.size&&o.forEach((function(e,t){e||__DEV__&&i.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,i){var o=r.options.fetchPolicy;r.resetLastResults(),(e||"standby"!==o&&"cache-only"!==o)&&n.push(r.refetch()),t.getQuery(i).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,i=e.errorPolicy,o=e.variables,a=e.context,s=void 0===a?{}:a;n=this.transform(n).document,o=this.getVariables(n,o);var u=function(e){return t.getObservableFromLink(n,s,e).map((function(o){if("no-cache"!==r&&(Fe(o,i)&&t.cache.write({query:n,result:o.data,dataId:"ROOT_SUBSCRIPTION",variables:e}),t.broadcastQueries()),ue(o))throw new be.c({graphQLErrors:o.errors});return o}))};if(this.transform(n).hasClientExports){var c=this.localState.addExportedVariables(n,o,s).then(u);return new C((function(e){var t=null;return c.then((function(n){return t=n.subscribe(e)}),e.error),function(){return t&&t.unsubscribe()}}))}return u(o)},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.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,i){var o,a,s=this;void 0===i&&(i=null!==(o=null===t||void 0===t?void 0:t.queryDeduplication)&&void 0!==o?o:this.queryDeduplication);var u=this.transform(e).serverQuery;if(u){var c=this.inFlightLinkObservables,l=this.link,f={query:u,variables:n,operationName:(0,S.rY)(u)||void 0,context:this.prepareContext((0,r.pi)((0,r.pi)({},t),{forceFetch:!i}))};if(t=f.context,i){var p=c.get(u)||new Map;c.set(u,p);var d=(0,oe.B)(n);if(!(a=p.get(d))){var h=new me([I(l,f)]);p.set(d,a=h),h.cleanup((function(){p.delete(d)&&p.size<1&&c.delete(u)}))}}else a=new me([I(l,f)])}else a=new me([C.of({data:{}})]),t=this.prepareContext(t);var v=this.transform(e).clientQuery;return v&&(a=se(a,(function(e){return s.localState.runResolvers({document:v,remoteResult:e,context:t,variables:n})}))),a},e.prototype.getResultsFromLink=function(e,t,n){var r=e.lastRequestId=this.generateRequestId();return se(this.getObservableFromLink(e.document,n.context,n.variables),(function(i){var o=(0,ge.O)(i.errors);if(r>=e.lastRequestId){if(o&&"none"===n.errorPolicy)throw e.markError(new be.c({graphQLErrors:i.errors}));e.markResult(i,n,t),e.markReady()}var a={data:i.data,loading:!1,networkStatus:e.networkStatus||we.I.ready};return o&&"ignore"!==n.errorPolicy&&(a.errors=i.errors),a}),(function(t){var n=(0,be.M)(t)?t:new be.c({networkError:t});throw r>=e.lastRequestId&&e.markError(n),n}))},e.prototype.fetchQueryObservable=function(e,t,n){var r=this;void 0===n&&(n=we.I.loading);var i=this.transform(t.query).document,o=this.getVariables(i,t.variables),a=this.getQuery(e),s=t.fetchPolicy,u=void 0===s?"cache-first":s,c=t.errorPolicy,l=void 0===c?"none":c,f=t.returnPartialData,p=void 0!==f&&f,d=t.notifyOnNetworkStatusChange,h=void 0!==d&&d,v=t.context,y=void 0===v?{}:v,m=Object.assign({},t,{query:i,variables:o,fetchPolicy:u,errorPolicy:l,returnPartialData:p,notifyOnNetworkStatusChange:h,context:y}),g=function(e){return m.variables=e,r.fetchQueryByPolicy(a,m,n)};this.fetchCancelFns.set(e,(function(e){setTimeout((function(){return b.cancel(e)}))}));var b=new me(this.transform(m.query).hasClientExports?this.localState.addExportedVariables(m.query,m.variables,m.context).then(g):g(m.variables));return b.cleanup((function(){r.fetchCancelFns.delete(e),function(e){var t=e.fetchPolicy,n=void 0===t?"cache-first":t,r=e.nextFetchPolicy;r&&(e.fetchPolicy="function"===typeof r?r.call(e,n):r)}
1(t)})),b},e.prototype.refetchQueries=function(e){var t=this,n=e.updateCache,r=e.include,i=e.optimistic,o=void 0!==i&&i,a=e.removeOptimistic,s=void 0===a?o?(0,de.X)("refetchQueries"):void 0:a,u=e.onQueryUpdated,c=new Map;r&&this.getObservableQueries(r).forEach((function(e,n){c.set(n,{oq:e,lastDiff:t.getQuery(n).getDiff()})}));var l=new Map;return n&&this.cache.batch({update:n,optimistic:o&&s||!1,removeOptimistic:s,onWatchUpdated:function(e,t,n){var r=e.watcher instanceof Ne&&e.watcher.observableQuery;if(r){if(u){c.delete(r.queryId);var i=u(r,t,n);return!0===i&&(i=r.refetch()),!1!==i&&l.set(r,i),i}null!==u&&c.set(r.queryId,{oq:r,lastDiff:n,diff:t})}}}),c.size&&c.forEach((function(e,n){var r,i=e.oq,o=e.lastDiff,a=e.diff;if(u){if(!a){var s=i.queryInfo;s.reset(),a=s.getDiff()}r=u(i,a,o)}u&&!0!==r||(r=i.refetch()),!1!==r&&l.set(i,r),n.indexOf("legacyOneTimeQuery")>=0&&t.stopQueryNoBroadcast(n)})),s&&this.cache.removeOptimistic(s),l},e.prototype.fetchQueryByPolicy=function(e,t,n){var i=this,o=t.query,a=t.variables,s=t.fetchPolicy,u=t.refetchWritePolicy,c=t.errorPolicy,l=t.returnPartialData,f=t.context,p=t.notifyOnNetworkStatusChange,d=e.networkStatus;e.init({document:o,variables:a,networkStatus:n});var h=function(){return e.getDiff(a)},v=function(t,n){void 0===n&&(n=e.networkStatus||we.I.loading);var s=t.result;!__DEV__||l||(0,ie.D)(s,{})||Se(t.missing);var u=function(e){return C.of((0,r.pi)({data:e,loading:(0,we.O)(n),networkStatus:n},t.complete?null:{partial:!0}))};return s&&i.transform(o).hasForcedResolvers?i.localState.runResolvers({document:o,remoteResult:{data:s},context:f,variables:a,onlyRunForcedResolvers:!0}).then((function(e){return u(e.data||void 0)})):u(s)},y="no-cache"===s?0:n===we.I.refetch&&"merge"!==u?1:2,m=function(){return i.getResultsFromLink(e,y,{variables:a,context:f,fetchPolicy:s,errorPolicy:c})},g=p&&"number"===typeof d&&d!==n&&(0,we.O)(n);switch(s){default:case"cache-first":return(b=h()).complete?[v(b,e.markReady())]:l||g?[v(b),m()]:[m()];case"cache-and-network":var b;return(b=h()).complete||l||g?[v(b),m()]:[m()];case"cache-only":return[v(h(),e.markReady())];case"network-only":return g?[v(h()),m()]:[m()];case"no-cache":return g?[v(e.getDiff()),m()]:[m()];case"standby":return[]}},e.prototype.getQuery=function(e){return e&&!this.queries.has(e)&&this.queries.set(e,new Ne(this,e)),this.queries.get(e)},e.prototype.prepareContext=function(e){void 0===e&&(e={});var t=this.localState.prepareContext(e);return(0,r.pi)((0,r.pi)({},t),{clientAwareness:this.clientAwareness})},e}(),Le=!1;function qe(e,t){return(0,R.o)(e,t,t.variables&&{variables:(0,r.pi)((0,r.pi)({},e.variables),t.variables)})}var Be=function(){function e(e){var t=this;this.defaultOptions={},this.resetStoreCallbacks=[],this.clearStoreCallbacks=[];var n=e.uri,r=e.credentials,o=e.headers,a=e.cache,s=e.ssrMode,u=void 0!==s&&s,c=e.ssrForceFetchDelay,l=void 0===c?0:c,f=e.connectToDevTools,p=void 0===f?"object"===typeof window&&!window.__APOLLO_CLIENT__&&__DEV__:f,d=e.queryDeduplication,h=void 0===d||d,v=e.defaultOptions,y=e.assumeImmutableResults,m=void 0!==y&&y,g=e.resolvers,b=e.typeDefs,w=e.fragmentMatcher,x=e.name,_=e.version,E=e.link;if(E||(E=n?new re({uri:n,credentials:r,headers:o}):P.empty()),!a)throw __DEV__?new i.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 i.ej(7);if(this.link=E,this.cache=a,this.disableNetworkFetches=u||l>0,this.queryDeduplication=h,this.defaultOptions=v||{},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),p&&"object"===typeof window&&(window.__APOLLO_CLIENT__=this),!Le&&__DEV__&&(Le=!0,"undefined"!==typeof window&&window.document&&window.top===window.self&&!window.__APOLLO_DEVTOOLS_GLOBAL_HOOK__)){var O=window.navigator,k=O&&O.userAgent,C=void 0;"string"===typeof k&&(k.indexOf("Chrome/")>-1?C="https://chrome.google.com/webstore/detail/apollo-client-developer-t/jdkknkkbebbapilgoeccciglkfbmbnfm":k.indexOf("Firefox/")>-1&&(C="https://addons.mozilla.org/en-US/firefox/addon/apollo-developer-tools/")),C&&__DEV__&&i.kG.log("Download the Apollo DevTools for a better development experience: "+C)}this.version="3.5.10",this.localState=new De({cache:a,client:this,resolvers:g,fragmentMatcher:w}),this.queryManager=new Ve({cache:this.cache,link:this.link,queryDeduplication:h,ssrMode:u,clientAwareness:{name:x,version:_},localState:this.localState,assumeImmutableResults:m,onBroadcast:p?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=qe(this.defaultOptions.watchQuery,e)),!this.disableNetworkFetches||"network-only"!==e.fetchPolicy&&"cache-and-network"!==e.fetchPolicy||(e=(0,r.pi)((0,r.pi)({},e),{fetchPolicy:"cache-first"})),this.queryManager.watchQuery(e)},e.prototype.query=function(e){return this.defaultOptions.query&&(e=qe(this.defaultOptions.query,e)),__DEV__?(0,i.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,i.kG)("cache-and-network"!==e.fetchPolicy,8),this.disableNetworkFetches&&"network-only"===e.fetchPolicy&&(e=(0,r.pi)((0,r.pi)({},e),{fetchPolicy:"cache-first"})),this.queryManager.query(e)},e.prototype.mutate=function(e){return this.defaultOptions.mutate&&(e=qe(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){this.cache.writeQuery(e),this.queryManager.broadcastQueries()},e.prototype.writeFragment=function(e){this.cache.writeFragment(e),this.queryManager.broadcastQueries()},e.prototype.__actionHookForDevTools=function(e){this.devToolsHookCb=e},e.prototype.__requestRaw=function(e){return I(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=[],r=[];t.forEach((function(e,t){n.push(t),r.push(e)}));var o=Promise.all(r);return o.queries=n,o.results=r,o.catch((function(e){__DEV__&&i.kG.debug("In client.refetchQueries, Promise.all promise rejected with error ".concat(e))})),o},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}()},1644:function(e,t,n){"use strict";var r;function i(e){return!!e&&e<7}n.d(t,{I:function(){return r},O:function(){return i}}),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={}))},990:function(e,t,n){"use strict";n.d(t,{M:function(){return o},c:function(){return a}});var r=n(655),i=(n(9613),n(2651));function o(e){return e.hasOwnProperty("graphQLErrors")}var a=function(e){function t(n){var r=n.graphQLErrors,o=n.clientErrors,a=n.networkError,s=n.errorMessage,u=n.extraInfo,c=e.call(this,s)||this;return c.graphQLErrors=r||[],c.clientErrors=o||[],c.networkError=a||null,c.message=s||function(e){var t="";return((0,i.O)(e.graphQLErrors)||(0,i.O)(e.clientErrors))&&(e.graphQLErrors||[]).concat(e.clientErrors||[]).forEac
1h((function(e){var n=e?e.message:"Error message not found.";t+="".concat(n,"\n")})),e.networkError&&(t+="".concat(e.networkError.message,"\n")),t=t.replace(/\n$/,"")}(c),c.extraInfo=u,c.__proto__=t.prototype,c}return(0,r.ZT)(t,e),t}(Error)},5317:function(e,t,n){"use strict";n.d(t,{K:function(){return o}});var r=n(7294),i=n(320).aS?Symbol.for("__APOLLO_CONTEXT__"):"__APOLLO_CONTEXT__";function o(){var e=r.createContext[i];return e||(Object.defineProperty(r.createContext,i,{value:e=r.createContext({}),enumerable:!1,writable:!1,configurable:!0}),e.displayName="ApolloContext"),e}},3056:function(e,t,n){"use strict";n.d(t,{a:function(){return v}});var r,i=n(655),o=n(7294),a=n(2152),s=n(4925),u=n(5317),c=n(990),l=n(1644),f=n(9613);!function(e){e[e.Query=0]="Query",e[e.Mutation=1]="Mutation",e[e.Subscription=2]="Subscription"}(r||(r={}));var p=new Map;function d(e){var t;switch(e){case r.Query:t="Query";break;case r.Mutation:t="Mutation";break;case r.Subscription:t="Subscription"}return t}function h(e,t){var n=function(e){var t,n,i=p.get(e);if(i)return i;__DEV__?(0,f.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,f.kG)(!!e&&!!e.kind,30);var o=e.definitions.filter((function(e){return"FragmentDefinition"===e.kind})),a=e.definitions.filter((function(e){return"OperationDefinition"===e.kind&&"query"===e.operation})),s=e.definitions.filter((function(e){return"OperationDefinition"===e.kind&&"mutation"===e.operation})),u=e.definitions.filter((function(e){return"OperationDefinition"===e.kind&&"subscription"===e.operation}));__DEV__?(0,f.kG)(!o.length||a.length||s.length||u.length,"Passing only a fragment to 'graphql' is not yet supported. You must include a query, subscription or mutation as well"):(0,f.kG)(!o.length||a.length||s.length||u.length,31),__DEV__?(0,f.kG)(a.length+s.length+u.length<=1,"react-apollo only supports a query, subscription, or a mutation per HOC. "+"".concat(e," had ").concat(a.length," queries, ").concat(u.length," ")+"subscriptions and ".concat(s.length," mutations. ")+"You can use 'compose' to join multiple operation types to a component"):(0,f.kG)(a.length+s.length+u.length<=1,32),n=a.length?r.Query:r.Mutation,a.length||s.length||(n=r.Subscription);var c=a.length?a:s.length?s:u;__DEV__?(0,f.kG)(1===c.length,"react-apollo only supports one definition per HOC. ".concat(e," had ")+"".concat(c.length," definitions. ")+"You can use 'compose' to join multiple operation types to a component"):(0,f.kG)(1===c.length,33);var l=c[0];t=l.variableDefinitions||[];var d={name:l.name&&"Name"===l.name.kind?l.name.value:"data",type:n,variables:t};return p.set(e,d),d}(e),i=d(t),o=d(n.type);__DEV__?(0,f.kG)(n.type===t,"Running a ".concat(i," requires a graphql ")+"".concat(i,", but a ").concat(o," was used instead.")):(0,f.kG)(n.type===t,34)}function v(e,t){var n,s=(0,o.useContext)((0,u.K)()),p=function(e){var t=(0,o.useContext)((0,u.K)()),n=e||t.client;return __DEV__?(0,f.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,f.kG)(!!n,29),n}(null===t||void 0===t?void 0:t.client),d=p.defaultOptions.watchQuery;h(e,r.Query);var v,m=(0,o.useState)((function(){var n=y(e,t,d),r=null;return s.renderPromises&&(r=s.renderPromises.getSSRObservable(n)),r||(r=p.watchQuery(n),s.renderPromises&&s.renderPromises.registerSSRObservable(r,n)),s.renderPromises&&!1!==(null===t||void 0===t?void 0:t.ssr)&&!(null===t||void 0===t?void 0:t.skip)&&r.getCurrentResult().loading&&s.renderPromises.addQueryPromise({getOptions:function(){return y(e,t,d)},fetchData:function(){return new Promise((function(e){var t=r.subscribe({next:function(n){n.loading||(e(),t.unsubscribe())},error:function(){e(),t.unsubscribe()},complete:function(){e()}})}))}},(function(){return null})),r})),g=m[0],b=m[1],w=(0,o.useState)((function(){var e,n,r=g.getCurrentResult();return!r.loading&&t&&(r.error?null===(e=t.onError)||void 0===e||e.call(t,r.error):r.data&&(null===(n=t.onCompleted)||void 0===n||n.call(t,r.data))),r})),x=w[0],_=w[1],E=(0,o.useRef)({client:p,query:e,options:t,result:x,previousData:void 0,watchQueryOptions:y(e,t,d)});(0,o.useEffect)((function(){var n,r,i,o=y(e,t,d);
1if(E.current.client===p&&(0,a.D)(E.current.query,e))(0,a.D)(E.current.watchQueryOptions,o)||(g.setOptions(o).catch((function(){})),i=g.getCurrentResult(),E.current.watchQueryOptions=o);else{var s=p.watchQuery(o);b(s),i=s.getCurrentResult()}if(i){var u=E.current.result;u.data&&(E.current.previousData=u.data),_(E.current.result=i),!i.loading&&t&&(i.error?null===(n=t.onError)||void 0===n||n.call(t,i.error):i.data&&(null===(r=t.onCompleted)||void 0===r||r.call(t,i.data)))}Object.assign(E.current,{client:p,query:e})}),[g,p,e,t]),(0,o.useEffect)((function(){if(!s.renderPromises){var e=g.subscribe(t,(function n(r){var i,o,s=g.last;e.unsubscribe();try{g.resetLastResults(),e=g.subscribe(t,n)}finally{g.last=s}if(!r.hasOwnProperty("graphQLErrors"))throw r;var u=E.current.result;(u&&u.loading||!(0,a.D)(r,u.error))&&(_(E.current.result={data:u.data,error:r,loading:!1,networkStatus:l.I.error}),null===(o=null===(i=E.current.options)||void 0===i?void 0:i.onError)||void 0===o||o.call(i,r))}));return function(){return e.unsubscribe()}}function t(){var e,t,n=E.current.result,r=g.getCurrentResult();n&&n.loading===r.loading&&n.networkStatus===r.networkStatus&&(0,a.D)(n.data,r.data)||(n.data&&(E.current.previousData=n.data),_(E.current.result=r),r.loading||null===(t=null===(e=E.current.options)||void 0===e?void 0:e.onCompleted)||void 0===t||t.call(e,r.data))}}),[g,s.renderPromises,p.disableNetworkFetches]),v=(n=x).partial,x=(0,i._T)(n,["partial"]),!v||!(null===t||void 0===t?void 0:t.partialRefetch)||x.loading||x.data&&0!==Object.keys(x.data).length||"cache-only"===g.options.fetchPolicy||(x=(0,i.pi)((0,i.pi)({},x),{loading:!0,networkStatus:l.I.refetch}),g.refetch()),s.renderPromises&&!1!==(null===t||void 0===t?void 0:t.ssr)&&!(null===t||void 0===t?void 0:t.skip)&&x.loading&&g.setOptions(y(e,t,d)).catch((function(){})),Object.assign(E.current,{options:t}),(s.renderPromises||p.disableNetworkFetches)&&!1===(null===t||void 0===t?void 0:t.ssr)?x=E.current.result={loading:!0,data:void 0,error:void 0,networkStatus:l.I.loading}:((null===t||void 0===t?void 0:t.skip)||"standby"===(null===t||void 0===t?void 0:t.fetchPolicy))&&(x={loading:!1,data:void 0,error:void 0,networkStatus:l.I.ready}),x.errors&&x.errors.length&&(x=(0,i.pi)((0,i.pi)({},x),{error:x.error||new c.c({graphQLErrors:x.errors})}));var O=(0,o.useMemo)((function(){return{refetch:g.refetch.bind(g),fetchMore:g.fetchMore.bind(g),updateQuery:g.updateQuery.bind(g),startPolling:g.startPolling.bind(g),stopPolling:g.stopPolling.bind(g),subscribeToMore:g.subscribeToMore.bind(g)}}),[g]);return(0,i.pi)((0,i.pi)((0,i.pi)({},O),{variables:y(e,t,d).variables,client:p,called:!0,previousData:E.current.previousData}),x)}function y(e,t,n){var r;void 0===t&&(t={});var o=t.skip,a=(t.ssr,t.onCompleted,t.onError,t.displayName,(0,i._T)(t,["skip","ssr","onCompleted","onError","displayName"])),u=(0,i.pi)({query:e},a);return n&&(u=(0,s.J)(n,u)),o?u.fetchPolicy="standby":(!(null===(r=u.context)||void 0===r?void 0:r.renderPromises)||"network-only"!==u.fetchPolicy&&"cache-and-network"!==u.fetchPolicy)&&u.fetchPolicy||(u.fetchPolicy="cache-first"),u.variables||(u.variables={}),u}},2651:function(e,t,n){"use strict";function r(e){return Array.isArray(e)&&e.length>0}n.d(t,{O:function(){return r}})},320:function(e,t,n){"use strict";n.d(t,{mr:function(){return r},sy:function(){return i},aS:function(){return o}});var r="function"===typeof WeakMap&&!("object"===typeof navigator&&"ReactNative"===navigator.product),i="function"===typeof WeakSet,o="function"===typeof Symbol&&"function"===typeof Symbol.for},9487:function(e,t,n){"use strict";n.d(t,{X:function(){return i}});var r=Object.prototype.toString;function i(e){return o(e)}function o(e,t){switch(r.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]=o(e,t)})),n;case"[object Object]":if((t=t||new Map).has(e))return t.get(e);var i=Object.create(Object.getPrototypeOf(e));return t.set(e,i),Object.keys(e).forEach((function(n){i[n]=o(e[n],t)})),i;default:return e}}},3712: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)}))}
1)),n}n.d(t,{o:function(){return r}})},897:function(e,t,n){"use strict";n.d(t,{X:function(){return i}});var r=new Map;function i(e){var t=r.get(e)||1;return r.set(e,t+1),"".concat(e,":").concat(t,":").concat(Math.random().toString(36).slice(2))}},182:function(e,t,n){"use strict";n.d(t,{Ee:function(){return a},bw:function(){return s},w0:function(){return c}});var r=n(655),i=n(3154),o=Object.prototype.hasOwnProperty;function a(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return s(e)}function s(e){var t=e[0]||{},n=e.length;if(n>1)for(var r=new c,i=1;i<n;++i)t=r.merge(t,e[i]);return t}var u=function(e,t,n){return this.merge(e[n],t[n])},c=function(){function e(e){void 0===e&&(e=u),this.reconciler=e,this.isObject=i.s,this.pastCopies=new Set}return e.prototype.merge=function(e,t){for(var n=this,a=[],s=2;s<arguments.length;s++)a[s-2]=arguments[s];return(0,i.s)(t)&&(0,i.s)(e)?(Object.keys(t).forEach((function(i){if(o.call(e,i)){var s=e[i];if(t[i]!==s){var u=n.reconciler.apply(n,(0,r.ev)([e,t,i],a,!1));u!==s&&((e=n.shallowCopyForMerge(e))[i]=u)}}else(e=n.shallowCopyForMerge(e))[i]=t[i]})),e):t},e.prototype.shallowCopyForMerge=function(e){if((0,i.s)(e)){if(this.pastCopies.has(e)){if(!Object.isFrozen(e))return e;this.pastCopies.delete(e)}e=Array.isArray(e)?e.slice(0):(0,r.pi)({__proto__:Object.getPrototypeOf(e)},e),this.pastCopies.add(e)}return e},e}()},3154:function(e,t,n){"use strict";function r(e){return null!==e&&"object"===typeof e}n.d(t,{s:function(){return r}})},9613:function(e,t,n){"use strict";n.d(t,{ej:function(){return s},kG:function(){return u},wY:function(){return p}});var r=n(655),i="Invariant Violation",o=Object.setPrototypeOf,a=void 0===o?function(e,t){return e.__proto__=t,e}:o,s=function(e){function t(n){void 0===n&&(n=i);var r=e.call(this,"number"===typeof n?i+": "+n+" (see https://github.com/apollographql/invariant-packages)":n)||this;return r.framesToPop=1,r.name=i,a(r,t.prototype),r}return(0,r.ZT)(t,e),t}(Error);function u(e,t){if(!e)throw new s(t)}var c=["debug","log","warn","error","silent"],l=c.indexOf("log");function f(e){return function(){if(c.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")}(u||(u={}));function p(e){try{return e()}catch(o){}}var d=p((function(){return globalThis}))||p((function(){return window}))||p((function(){return self}))||p((function(){return global}))||p((function(){return p.constructor("return this")()})),h="__",v=[h,h].join("DEV");var y=function(){try{return Boolean(__DEV__)}catch(o){return Object.defineProperty(d,v,{value:"production"!==p((function(){return"production"})),enumerable:!1,configurable:!0,writable:!0}),d[v]}}(),m=n(3454);function g(e){try{return e()}catch(t){}}var b=g((function(){return globalThis}))||g((function(){return window}))||g((function(){return self}))||g((function(){return n.g}))||g((function(){return g.constructor("return this")()})),w=!1;function x(){w&&(delete b.process,w=!1)}!b||g((function(){return"production"}))||g((function(){return m}))||(Object.defineProperty(b,"process",{value:{env:{NODE_ENV:"production"}},configurable:!0,enumerable:!1,writable:!0}),w=!0),n(1270).H,x(),__DEV__?u("boolean"===typeof y,y):u("boolean"===typeof y,36)},9065:function(e,t,n){"use strict";n.d(t,{LZ:function(){return o},FS:function(){return a},mj:function(){return s}});var r=n(9613),i=n(7304);function o(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,i=e.name.value;__DEV__?(0,r.kG)(n&&1===n.length,"Incorrect number of arguments for the @".concat(i," directive.")):(0,r.kG)(n&&1===n.length,38);var o=n[0];__DEV__?(0,r.kG)(o.name&&"if"===o.name.value,"Invalid argument for the @".concat(i," directive.")):(0,r.kG)(o.name&&"if"===o.name.value,39);var a=o.value;__DEV__?(0,r.kG)(a&&("Variable"===a.kind||"BooleanValue"===a.kind),"Argument for the @".concat(i," directive must be a variable or a boolean value.")):(0,r.kG)(a&&("Variable"===a.kind||"BooleanValue"===a.kind),40),t.push({directive:e,ifArgument:o})}}));return t}(n).every((function(e){var n=e.directive,i=e.ifArgument,o=!1;return"Variable"===i.value.kind?(o=t&&t[i.value.name.value],__DEV__?(0,r.kG)(void 0!==o,"Invalid variable referenced in @".concat(n.name.value," directive.")):(0,r.kG)(void 0!==o,37)):o=i.value.value,"skip"===n.name.value?!o:o}))}function a(e,t){return function(e){var t=[];return(0,i.Vn)(e,{Directive:function(e){t.push(e.name.value)}}),t}(t).some((function(t){return e.indexOf(t)>-1}))}function s(e){return e&&a(["client"],e)&&a(["export"],e)}},3361:function(e,t,n){"use strict";n.d(t,{Yk:function(){return o},F:function(){return a},hi:function(){return s}});var r=n(655),i=n(9613);function o(e,t){var n=t,o=[];return e.definitions.forEach((function(e){if("OperationDefinition"===e.kind)throw __DEV__?new i.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 i.ej(41);"FragmentDefinition"===e.kind&&o.push(e)})),"undefined"===typeof n&&(__DEV__?(0,i.kG)(1===o.length,"Found ".concat(o.length," fragments. `fragmentName` must be provided when there is not exactly 1 fragment.")):(0,i.kG)(1===o.length,42),n=o[0].name.value),(0,r.pi)((0,r.pi)({},e),{definitions:(0,r.ev)([{kind:"OperationDefinition",operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:n}}]}}],e.definitions,!0)})}function a(e){void 0===e&&(e=[]);var t={};return e.forEach((function(e){t[e.name.value]=e})),t}function s(e,t){switch(e.kind){case"InlineFragment":return e;case"FragmentSpread":var n=t&&t[e.name.value];return __DEV__?(0,i.kG)(n,"No fragment named ".concat(e.name.value,".")):(0,i.kG)(n,43),n;default:return null}}},6765:function(e,t,n){"use strict";n.d(t,{A$:function(){return o},$H:function(){return a},rY:function(){return s},kU:function(){return u},iW:function(){return c},pD:function(){return l},p$:function(){return f},O4:function(){return p}});var r=n(9613),i=n(1761);function o(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,44);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(45);return e}));return __DEV__?(0,r.kG)(t.length<=1,"Ambiguous GraphQL document: contains ".concat(t.length," operations")):(0,r.kG)(t.length<=1,46),e}function a(e){return o(e),e.definitions.filter((function(e){return"OperationDefinition"===e.kind}))[0]}function s(e){return e.definitions.filter((function(e){return"OperationDefinition"===e.kind&&e.name})).map((function(e){return e.name.value}))[0]||null}function u(e){return e.definitions.filter((function(e){return"FragmentDefinition"===e.kind}))}function c(e){var t=a(e);return __DEV__?(0,r.kG)(t&&"query"===t.operation,"Must contain a query definition."):(0,r.kG)(t&&"query"===t.operation,47),t}function l(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,48),__DEV__?(0,r.kG)(e.definitions.length<=1,"Fragment must have exactly one definition."):(0,r.kG)(e.definitions.length<=1,49);var t=e.definitions[0];return __DEV__?(0,r.kG)("FragmentDefinition"===t.kind,"Must be a fragment definition."):(0,r.kG)("FragmentDefinition"===t.kind,50),t}function f(e){var t;o(e);for(var n=0,i=e.definitions;n<i.length;n++){var a=i[n];if("OperationDefinition"===a.kind){var s=a.operation;if("query"===s||"mutation"===s||"subscription"===s)return a}"FragmentDefinition"!==a.kind||t||(t=a)}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(51)}function p(e){var t=Object.create(null),n=e&&e.variableDefinitions;
1return n&&n.length&&n.forEach((function(e){e.defaultValue&&(0,i.vb)(t,e.variable.name,e.defaultValue)})),t}},1761:function(e,t,n){"use strict";n.d(t,{kQ:function(){return a},Yk:function(){return s},JW:function(){return u},vb:function(){return c},vf:function(){return l},PT:function(){return p},NC:function(){return v},u2:function(){return y},qw:function(){return m},My:function(){return g},Ao:function(){return b}});var r=n(9613),i=n(3154),o=n(3361);function a(e){return{__ref:String(e)}}function s(e){return Boolean(e&&"object"===typeof e&&"string"===typeof e.__ref)}function u(e){return(0,i.s)(e)&&"Document"===e.kind&&Array.isArray(e.definitions)}function c(e,t,n,i){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 o={};n.fields.map((function(e){return c(o,e.name,e.value,i)})),e[t.value]=o}else if(function(e){return"Variable"===e.kind}(n)){var a=(i||{})[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 c(n,t,e,i),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(52);e[t.value]=null}}function l(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 i=r.name,o=r.value;return c(n[e.name.value],i,o,t)}))})));var r=null;return e.arguments&&e.arguments.length&&(r={},e.arguments.forEach((function(e){var n=e.name,i=e.value;return c(r,n,i,t)}))),p(e.name.value,r,n)}var f=["connection","include","skip","client","rest","export"],p=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 i={};return r.forEach((function(e){i[e]=t[e]})),"".concat(n.connection.key,"(").concat(d(i),")")}return n.connection.key}var o=e;if(t){var a=d(t);o+="(".concat(a,")")}return n&&Object.keys(n).forEach((function(e){-1===f.indexOf(e)&&(n[e]&&Object.keys(n[e]).length?o+="@".concat(e,"(").concat(d(n[e]),")"):o+="@".concat(e))})),o}),{setStringify:function(e){var t=d;return d=e,t}}),d=function(e){return JSON.stringify(e,h)};function h(e,t){return(0,i.s)(t)&&!Array.isArray(t)&&(t=Object.keys(t).sort().reduce((function(e,n){return e[n]=t[n],e}),{})),t}function v(e,t){if(e.arguments&&e.arguments.length){var n={};return e.arguments.forEach((function(e){var r=e.name,i=e.value;return c(n,r,i,t)})),n}return null}function y(e){return e.alias?e.alias.value:e.name.value}function m(e,t,n){if("string"===typeof e.__typename)return e.__typename;for(var r=0,i=t.selections;r<i.length;r++){var a=i[r];if(g(a)){if("__typename"===a.name.value)return e[y(a)]}else{var s=m(e,(0,o.hi)(a,n).selectionSet,n);if("string"===typeof s)return s}}}function g(e){return"Field"===e.kind}function b(e){return"InlineFragment"===e.kind}},6982:function(e,t,n){"use strict";n.d(t,{Gw:function(){return v},aL:function(){return b},ob:function(){return w},Fo:function(){return m}});var r=n(655),i=n(9613),o=n(7304),a=n(6765);function s(e,t,n){var r=0;return e.forEach((function(n,i){t.call(this,n,i,e)&&(e[r++]=n)}),n),e.length=r,e}var u=n(1761),c=n(3361),l={kind:"Field",name:{kind:"Name",value:"__typename"}};function f(e,t){return e.selectionSet.selections.every((function(e){return"FragmentSpread"===e.kind&&f(t[e.name.value],t)}))}function p(e){return f((0,a.$H)(e)||(0,a.pD)(e),(0,c.F)((0,a.kU)(e)))?null:e}function d(e){return function(t){return e.some((function(e){return e.name&&e.name===t.name.value||e.test&&e.test(t)}))}}function h(e,t){var n=Object.create(null),i=[],a=Object.create(null),u=[],c=p((0,o.Vn)(t,{Variable:{enter:function(e,t,r){"VariableDefinition"!==r.kind&&(n[e.name.value]=!0)}},Field:{enter:function(t){if(e&&t.directives&&(e.some((function(e){return e.remove}))&&t.directives&&t.directives.some(d(e))))return t.arguments&&t.arguments.forEac
1h((function(e){"Variable"===e.value.kind&&i.push({name:e.value.name.value})})),t.selectionSet&&g(t.selectionSet).forEach((function(e){u.push({name:e.name.value})})),null}},FragmentSpread:{enter:function(e){a[e.name.value]=!0}},Directive:{enter:function(t){if(d(e)(t))return null}}}));return c&&s(i,(function(e){return!!e.name&&!n[e.name]})).length&&(c=function(e,t){var n=function(e){return function(t){return e.some((function(e){return t.value&&"Variable"===t.value.kind&&t.value.name&&(e.name===t.value.name.value||e.test&&e.test(t))}))}}(e);return p((0,o.Vn)(t,{OperationDefinition:{enter:function(t){return(0,r.pi)((0,r.pi)({},t),{variableDefinitions:t.variableDefinitions?t.variableDefinitions.filter((function(t){return!e.some((function(e){return e.name===t.variable.name.value}))})):[]})}},Field:{enter:function(t){if(e.some((function(e){return e.remove}))){var r=0;if(t.arguments&&t.arguments.forEach((function(e){n(e)&&(r+=1)})),1===r)return null}}},Argument:{enter:function(e){if(n(e))return null}}}))}(i,c)),c&&s(u,(function(e){return!!e.name&&!a[e.name]})).length&&(c=function(e,t){function n(t){if(e.some((function(e){return e.name===t.name.value})))return null}return p((0,o.Vn)(t,{FragmentSpread:{enter:n},FragmentDefinition:{enter:n}}))}(u,c)),c}var v=Object.assign((function(e){return(0,o.Vn)((0,a.A$)(e),{SelectionSet:{enter:function(e,t,n){if(!n||"OperationDefinition"!==n.kind){var i=e.selections;if(i)if(!i.some((function(e){return(0,u.My)(e)&&("__typename"===e.name.value||0===e.name.value.lastIndexOf("__",0))}))){var o=n;if(!((0,u.My)(o)&&o.directives&&o.directives.some((function(e){return"export"===e.name.value}))))return(0,r.pi)((0,r.pi)({},e),{selections:(0,r.ev)((0,r.ev)([],i,!0),[l],!1)})}}}}})}),{added:function(e){return e===l}}),y={test:function(e){var t="connection"===e.name.value;return t&&(e.arguments&&e.arguments.some((function(e){return"key"===e.name.value}))||__DEV__&&i.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 m(e){return h([y],(0,a.A$)(e))}function g(e){var t=[];return e.selections.forEach((function(e){((0,u.My)(e)||(0,u.Ao)(e))&&e.selectionSet?g(e.selectionSet).forEach((function(e){return t.push(e)})):"FragmentSpread"===e.kind&&t.push(e)})),t}function b(e){return"query"===(0,a.p$)(e).operation?e:(0,o.Vn)(e,{OperationDefinition:{enter:function(e){return(0,r.pi)((0,r.pi)({},e),{operation:"query"})}}})}function w(e){(0,a.A$)(e);var t=h([{test:function(e){return"client"===e.name.value},remove:!0}],e);return t&&(t=(0,o.Vn)(t,{FragmentDefinition:{enter:function(e){if(e.selectionSet&&e.selectionSet.selections.every((function(e){return(0,u.My)(e)&&"__typename"===e.name.value})))return null}}})),t}},5364:function(e,t,n){"use strict";n.d(t,{p:function(){return r}});var r=(0,n(7294).createContext)({})},240:function(e,t,n){"use strict";n.d(t,{O:function(){return r}});var r=(0,n(7294).createContext)(null)},7592:function(e,t,n){"use strict";n.d(t,{E:function(){return ia}});var r=n(655),i=n(7294),o=function(e){return{isEnabled:function(t){return e.some((function(e){return!!t[e]}))}}},a={measureLayout:o(["layout","layoutId","drag"]),animation:o(["animate","exit","variants","whileHover","whileTap","whileFocus","whileDrag","whileInView"]),exit:o(["exit"]),drag:o(["drag","dragControls"]),focus:o(["whileFocus"]),hover:o(["whileHover","onHoverStart","onHoverEnd"]),tap:o(["whileTap","onTap","onTapStart","onTapCancel"]),pan:o(["onPan","onPanStart","onPanSessionStart","onPanEnd"]),inView:o(["whileInView","onViewportEnter","onViewportLeave"])};var s=(0,i.createContext)({strict:!1}),u=Object.keys(a),c=u.length;var l=(0,i.createContext)({transformPagePoint:function(e){return e},isStatic:!1,reducedMotion:"never"}),f=(0,i.createContext)({});var p=n(240),d=n(8868),h=n(1741),v={current:null},y=!1;function m(){return!y&&function(){if(y=!0,h.j)if(window.matchMedia){var e=window.matchMedia("(prefers-reduced-motion)"),t=function(){return v.current=e.matches};e.addListener(t),t()}else v.current=!1}(),(0,r.CR)((0,i.useState)(v.current),1)[0]}function g(e,t,n,r){var o=(0,i.useContext)(s),a=(0,i.useContext)(f).visualElement,u=(0,i.useContext)(p.O),c=function(){var e=m(),t=(0,i.useContext)(l).reducedMotion;return"never"!==t&&("always"===t||e)}(),h=(0,i.useRef)(void 0);r||(r=o.renderer),!h.current&&r&&(h.current=r(e,{visualState:t,parent:a,props:n,presenceId:null===u||void 0===u?void 0:u.id,blockInitialAnimation:!1===(null===u||void 0===u?void 0:u.initial),shouldReduceMotion:c}));var v=h.current;return(0,d.L)((function(){null===v||void 0===v||v.syncRender()})),(0,i.useEffect)((function(){var e;null===(e=null===v||void 0===v?void 0:v.animationState)||void 0===e||e.animateChanges()})),(0,d.L)((function(){return function(){return null===v||void 0===v?void 0:v.notifyUnmount()}}),[]),v}function b(e){return"object"===typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}function w(e){return Array.isArray(e)}function x(e){return"string"===typeof e||w(e)}function _(e,t,n,r,i){var o;return void 0===r&&(r={}),void 0===i&&(i={}),"function"===typeof t&&(t=t(null!==n&&void 0!==n?n:e.custom,r,i
1)),"string"===typeof t&&(t=null===(o=e.variants)||void 0===o?void 0:o[t]),"function"===typeof t&&(t=t(null!==n&&void 0!==n?n:e.custom,r,i)),t}function E(e,t,n){var r=e.getProps();return _(r,t,null!==n&&void 0!==n?n:r.custom,function(e){var t={};return e.forEachValue((function(e,n){return t[n]=e.get()})),t}(e),function(e){var t={};return e.forEachValue((function(e,n){return t[n]=e.getVelocity()})),t}(e))}function O(e){var t;return"function"===typeof(null===(t=e.animate)||void 0===t?void 0:t.start)||x(e.initial)||x(e.animate)||x(e.whileHover)||x(e.whileDrag)||x(e.whileTap)||x(e.whileFocus)||x(e.exit)}function k(e){return Boolean(O(e)||e.variants)}function C(e){var t=function(e,t){if(O(e)){var n=e.initial,r=e.animate;return{initial:!1===n||x(n)?n:void 0,animate:x(r)?r:void 0}}return!1!==e.inherit?t:{}}(e,(0,i.useContext)(f)),n=t.initial,r=t.animate;return(0,i.useMemo)((function(){return{initial:n,animate:r}}),[S(n),S(r)])}function S(e){return Array.isArray(e)?e.join(" "):e}var T=n(6681),j=n(4735);const A=(e,t,n)=>-n*e+n*t+e;function D(e,t){return t?e*(1e3/t):0}function P(e,t){-1===e.indexOf(t)&&e.push(t)}function I(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)}var R=function(){function e(){this.subscriptions=[]}return e.prototype.add=function(e){var t=this;return P(this.subscriptions,e),function(){return I(t.subscriptions,e)}},e.prototype.notify=function(e,t,n){var r=this.subscriptions.length;if(r)if(1===r)this.subscriptions[0](e,t,n);else for(var i=0;i<r;i++){var o=this.subscriptions[i];o&&o(e,t,n)}},e.prototype.getSize=function(){return this.subscriptions.length},e.prototype.clear=function(){this.subscriptions.length=0},e}(),N=function(){function e(e){var t,n=this;this.timeDelta=0,this.lastUpdated=0,this.updateSubscribers=new R,this.velocityUpdateSubscribers=new R,this.renderSubscribers=new R,this.canTrackVelocity=!1,this.updateAndNotify=function(e,t){void 0===t&&(t=!0),n.prev=n.current,n.current=e;var r=(0,j.$B)(),i=r.delta,o=r.timestamp;n.lastUpdated!==o&&(n.timeDelta=i,n.lastUpdated=o,j.ZP.postRender(n.scheduleVelocityCheck)),n.prev!==n.current&&n.updateSubscribers.notify(n.current),n.velocityUpdateSubscribers.getSize()&&n.velocityUpdateSubscribers.notify(n.getVelocity()),t&&n.renderSubscribers.notify(n.current)},this.scheduleVelocityCheck=function(){return j.ZP.postRender(n.velocityCheck)},this.velocityCheck=function(e){e.timestamp!==n.lastUpdated&&(n.prev=n.current,n.velocityUpdateSubscribers.notify(n.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=e,this.canTrackVelocity=(t=this.current,!isNaN(parseFloat(t)))}return e.prototype.onChange=function(e){return this.updateSubscribers.add(e)},e.prototype.clearListeners=function(){this.updateSubscribers.clear()},e.prototype.onRenderRequest=function(e){return e(this.get()),this.renderSubscribers.add(e)},e.prototype.attach=function(e){this.passiveEffect=e},e.prototype.set=function(e,t){void 0===t&&(t=!0),t&&this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e,t)},e.prototype.get=function(){return this.current},e.prototype.getPrevious=function(){return this.prev},e.prototype.getVelocity=function(){return this.canTrackVelocity?D(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0},e.prototype.start=function(e){var t=this;return this.stop(),new Promise((function(n){t.hasAnimated=!0,t.stopAnimation=e(n)})).then((function(){return t.clearAnimation()}))},e.prototype.stop=function(){this.stopAnimation&&this.stopAnimation(),this.clearAnimation()},e.prototype.isAnimating=function(){return!!this.stopAnimation},e.prototype.clearAnimation=function(){this.stopAnimation=null},e.prototype.destroy=function(){this.updateSubscribers.clear(),this.renderSubscribers.clear(),this.stop()},e}();function F(e){return new N(e)}var M=function(e){return Boolean(null!==e&&"object"===typeof e&&e.getVelocity)};const V=(e,t,n)=>Math.min(Math.max(n,e),t),L=.001;function q({duration:e=800,bounce:t=.25,velocity:n=0,mass:r=1}){let i,o,a=1-t;a=V(.05,1,a),e=V(.01,10,e/1e3),a<1?(i=t=>{const r=t*a,i=r*e,o=r-n,s=B(t,a),u=Math.exp(-i);return L-o/s*u},o=t=>{const r=t*a*e,o=r*n+n,s=Math.pow(a,2)*Math.pow(t,2)*e,u=Math.exp(-r),c=B(Math.pow(t,2),a);return(-i(t)+L>0?-1:1)*((o-s)*u)/c}):(i=t=>Math.exp(-t*e)*((t-n)*e+1)-.001,o=t=>Math.exp(-t*e)*(e*e*(n-t)));const s=function(e,t,n){let r=n;for(let i=1;i<12;i++)r-=e(r)/t(r);return r}(i,o,5/e);if(e*=1e3,isNaN(s))return{stiffness:100,damping:10,duration:e};{const t=Math.pow(s,2)*r;
vendor: 4,624 bytes, line 1
1return{stiffness:t,damping:2*a*Math.sqrt(r*t),duration:e}}}function B(e,t){return e*Math.sqrt(1-t*t)}const U=["duration","bounce"],Q=["stiffness","damping","mass"];function G(e,t){return t.some((t=>void 0!==e[t]))}function z(e){var{from:t=0,to:n=1,restSpeed:i=2,restDelta:o}=e,a=(0,r._T)(e,["from","to","restSpeed","restDelta"]);const s={done:!1,value:t};let{stiffness:u,damping:c,mass:l,velocity:f,duration:p,isResolvedFromDuration:d}=function(e){let t=Object.assign({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},e);if(!G(e,Q)&&G(e,U)){const n=q(e);t=Object.assign(Object.assign(Object.assign({},t),n),{velocity:0,mass:1}),t.isResolvedFromDuration=!0}return t}(a),h=$,v=$;function y(){const e=f?-f/1e3:0,r=n-t,i=c/(2*Math.sqrt(u*l)),a=Math.sqrt(u/l)/1e3;if(void 0===o&&(o=Math.min(Math.abs(n-t)/100,.4)),i<1){const t=B(a,i);h=o=>{const s=Math.exp(-i*a*o);return n-s*((e+i*a*r)/t*Math.sin(t*o)+r*Math.cos(t*o))},v=n=>{const o=Math.exp(-i*a*n);return i*a*o*(Math.sin(t*n)*(e+i*a*r)/t+r*Math.cos(t*n))-o*(Math.cos(t*n)*(e+i*a*r)-t*r*Math.sin(t*n))}}else if(1===i)h=t=>n-Math.exp(-a*t)*(r+(e+a*r)*t);else{const t=a*Math.sqrt(i*i-1);h=o=>{const s=Math.exp(-i*a*o),u=Math.min(t*o,300);return n-s*((e+i*a*r)*Math.sinh(u)+t*r*Math.cosh(u))/t}}}return y(),{next:e=>{const t=h(e);if(d)s.done=e>=p;else{const r=1e3*v(e),a=Math.abs(r)<=i,u=Math.abs(n-t)<=o;s.done=a&&u}return s.value=s.done?n:t,s},flipTarget:()=>{f=-f,[t,n]=[n,t],y()}}}z.needsInterpolation=(e,t)=>"string"===typeof e||"string"===typeof t;const $=e=>0,Y=(e,t,n)=>{const r=t-e;return 0===r?1:(n-e)/r},W=(e,t)=>n=>Math.max(Math.min(n,t),e),J=e=>e%1?Number(e.toFixed(5)):e,K=/(-)?([\d]*\.?[\d])+/g,Z=/(#[0-9a-f]{6}|#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))/gi,H=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))$/i;function X(e){return"string"===typeof e}const ee={test:e=>"number"===typeof e,parse:parseFloat,transform:e=>e},te=Object.assign(Object.assign({},ee),{transform:W(0,1)}),ne=Object.assign(Object.assign({},ee),{default:1}),re=(e,t)=>n=>Boolean(X(n)&&H.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t)),ie=(e,t,n)=>r=>{if(!X(r))return r;const[i,o,a,s]=r.match(K);return{[e]:parseFloat(i),[t]:parseFloat(o),[n]:parseFloat(a),alpha:void 0!==s?parseFloat(s):1}},oe=W(0,255),ae=Object.assign(Object.assign({},ee),{transform:e=>Math.round(oe(e))}),se={test:re("rgb","red"),parse:ie("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+ae.transform(e)+", "+ae.transform(t)+", "+ae.transform(n)+", "+J(te.transform(r))+")"};const ue={test:re("#"),parse:function(e){let t="",n="",r="",i="";return e.length>5?(t=e.substr(1,2),n=e.substr(3,2),r=e.substr(5,2),i=e.substr(7,2)):(t=e.substr(1,1),n=e.substr(2,1),r=e.substr(3,1),i=e.substr(4,1),t+=t,n+=n,r+=r,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}},transform:se.transform},ce=e=>({test:t=>X(t)&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),le=ce("deg"),fe=ce("%"),pe=ce("px"),de=ce("vh"),he=ce("vw"),ve=Object.assign(Object.assign({},fe),{parse:e=>fe.parse(e)/100,transform:e=>fe.transform(100*e)}),ye={test:re("hsl","hue"),parse:ie("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+fe.transform(J(t))+", "+fe.transform(J(n))+", "+J(te.transform(r))+")"};function me(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function ge({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,n/=100;let i=0,o=0,a=0;if(t/=100){const r=n<.5?n*(1+t):n+t-n*t,s=2*n-r;i=me(s,r,e+1/3),o=me(s,r,e),a=me(s,r,e-1/3)}else i=o=a=n;return{red:Math.round(255*i),green:Math.round(255*o),blue:Math.round(255*a),alpha:r}}const be=(e,t,n)=>{const r=e*e,i=t*t;return Math.sqrt(Math.max(0,n*(i-r)+r))},we=[ue,se,ye],xe=e=>we.find((t=>t.test(e))),_e=e=>`'${e}' is not an animatable color. Use the equivalent color code instead.`,Ee=(e,t)=>{let n=xe(e),r=xe(t);_e(e),_e(t);let i=n.parse(e),o=r.parse(t);n===ye&&(i=ge(i),n=se),r===ye&&(o=ge(o),r=se);const a=Object.assign({},i);return e=>{for(const t in a)"alpha"!==t&&(a[t]=be(i[t],o[t],e));return a.alpha=A(i.alpha,o.alpha,e),n.transform(a)}},Oe={test:e=>se.test(e)||ue.test(e)||ye.test(e),parse:e=>se.test(e)?se.parse(e):ye.test(e)?ye.parse(e):ue.parse(e),transform:e=>X(e)?e:e.hasOwnProperty("red")?se.transform(e):ye.transform(e)},ke="${c}",Ce="${n}";function Se(e){"number"===typeof e&&(e=`${e}`);const t=[];let n=0;const r=e.match(Z);
1r&&(n=r.length,e=e.replace(Z,ke),t.push(...r.map(Oe.parse)));const i=e.match(K);return i&&(e=e.replace(K,Ce),t.push(...i.map(ee.parse))),{values:t,numColors:n,tokenised:e}}function Te(e){return Se(e).values}function je(e){const{values:t,numColors:n,tokenised:r}=Se(e),i=t.length;return e=>{let t=r;for(let r=0;r<i;r++)t=t.replace(r<n?ke:Ce,r<n?Oe.transform(e[r]):J(e[r]));return t}}const Ae=e=>"number"===typeof e?0:e;const De={test:function(e){var t,n,r,i;return isNaN(e)&&X(e)&&(null!==(n=null===(t=e.match(K))||void 0===t?void 0:t.length)&&void 0!==n?n:0)+(null!==(i=null===(r=e.match(Z))||void 0===r?void 0:r.length)&&void 0!==i?i:0)>0},parse:Te,createTransformer:je,getAnimatableNone:function(e){const t=Te(e);return je(e)(t.map(Ae))}},Pe=e=>"number"===typeof e,Ie=(e,t)=>n=>t(e(n)),Re=(...e)=>e.reduce(Ie);function Ne(e,t){return Pe(e)?n=>A(e,t,n):Oe.test(e)?Ee(e,t):Le(e,t)}const Fe=(e,t)=>{const n=[...e],r=n.length,i=e.map(((e,n)=>Ne(e,t[n])));return e=>{for(let t=0;t<r;t++)n[t]=i[t](e);return n}},Me=(e,t)=>{const n=Object.assign(Object.assign({},e),t),r={};for(const i in n)void 0!==e[i]&&void 0!==t[i]&&(r[i]=Ne(e[i],t[i]));return e=>{for(const t in r)n[t]=r[t](e);return n}};function Ve(e){const t=De.parse(e),n=t.length;let r=0,i=0,o=0;for(let a=0;a<n;a++)r||"number"===typeof t[a]?r++:void 0!==t[a].hue?o++:i++;return{parsed:t,numNumbers:r,numRGB:i,numHSL:o}}const Le=(e,t)=>{const n=De.createTransformer(t),r=Ve(e),i=Ve(t);return r.numHSL===i.numHSL&&r.numRGB===i.numRGB&&r.numNumbers>=i.numNumbers?Re(Fe(r.parsed,i.parsed),n):n=>`${n>0?t:e}`},qe=(e,t)=>n=>A(e,t,n);function Be(e,t,n){const r=[],i=n||("number"===typeof(o=e[0])?qe:"string"===typeof o?Oe.test(o)?Ee:Le:Array.isArray(o)?Fe:"object"===typeof o?Me:void 0);var o;const a=e.length-1;for(let s=0;s<a;s++){let n=i(e[s],e[s+1]);if(t){const e=Array.isArray(t)?t[s]:t;n=Re(e,n)}r.push(n)}return r}function Ue(e,t,{clamp:n=!0,ease:r,mixer:i}={}){const o=e.length;t.length,!r||!Array.isArray(r)||r.length,e[0]>e[o-1]&&(e=[].concat(e),t=[].concat(t),e.reverse(),t.reverse());const a=Be(t,r,i),s=2===o?function([e,t],[n]){return r=>n(Y(e,t,r))}(e,a):function(e,t){const n=e.length,r=n-1;return i=>{let o=0,a=!1;if(i<=e[0]?a=!0:i>=e[r]&&(o=r-1,a=!0),!a){let t=1;for(;t<n&&!(e[t]>i||t===r);t++);o=t-1}const s=Y(e[o],e[o+1],i);return t[o](s)}}(e,a);return n?t=>s(V(e[0],e[o-1],t)):s}const Qe=e=>t=>1-e(1-t),Ge=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,ze=e=>t=>t*t*((e+1)*t-e),$e=e=>e,Ye=(We=2,e=>Math.pow(e,We));var We;const Je=Qe(Ye),Ke=Ge(Ye),Ze=e=>1-Math.sin(Math.acos(e)),He=Qe(Ze),Xe=Ge(He),et=ze(1.525),tt=Qe(et),nt=Ge(et),rt=(e=>{const t=ze(e);return e=>(e*=2)<1?.5*t(e):.5*(2-Math.pow(2,-10*(e-1)))})(1.525),it=e=>{if(1===e||0===e)return e;const t=e*e;return e<.36363636363636365?7.5625*t:e<.7272727272727273?9.075*t-9.9*e+3.4:e<.9?12.066481994459833*t-19.63545706371191*e+8.898060941828255:10.8*e*e-20.52*e+10.72},ot=Qe(it);function at(e,t){return e.map((()=>t||Ke)).splice(0,e.length-1)}function st({from:e=0,to:t=1,ease:n,offset:r,duration:i=300}){const o={done:!1,value:e},a=Array.isArray(t)?t:[e,t],s=function(e,t){return e.map((e=>e*t))}(r&&r.length===a.length?r:function(e){const t=e.length;return e.map(((e,n)=>0!==n?n/(t-1):0))}(a),i);function u(){return Ue(s,a,{ease:Array.isArray(n)?n:at(a,n)})}let c=u();return{next:e=>(o.value=c(e),o.done=e>=i,o),flipTarget:()=>{a.reverse(),c=u()}}}const ut={keyframes:st,spring:z,decay:function({velocity:e=0,from:t=0,power:n=.8,timeConstant:r=350,restDelta:i=.5,modifyTarget:o}){const a={done:!1,value:t};let s=n*e;const u=t+s,c=void 0===o?u:o(u);return c!==u&&(s=c-t),{next:e=>{const t=-s*Math.exp(-e/r);return a.done=!(t>i||t<-i),a.value=a.done?c:c+t,a},flipTarget:()=>{}}}};function ct(e,t,n=0){return e-t-n}const lt=e=>{const t=({delta:t})=>e(t);return{start:()=>j.ZP.update(t,!0),stop:()=>j.qY.update(t)}};function ft(e){var t,n,{from:i,autoplay:o=!0,driver:a=lt,elapsed:s=0,repeat:u=0,repeatType:c="loop",repeatDelay:l=0,onPlay:f,onStop:p,onComplete:d,onRepeat:h,onUpdate:v}=e,y=(0,r._T)(e,["from","autoplay","driver","elapsed","repeat","repeatType","repeatDelay","onPlay","onStop","onComplete","onRepeat","onUpdate"]);let m,g,b,{to:w}=y,x=0,_=y.duration,E=!1,O=!0;const k=function(e){if(Array.isArray(e.to))return st;if(ut[e.type])return ut[e.type];const t=new Set(Object.keys(e));return t.has("ease")||t.has("duration")&&!t.has("dampingRatio")?st:t.has("dampingRatio")||t.has("stiffness")||t.has("mass")||t.has("damping")||t.has("restSpeed")||t.has("restDelta")?z:st}(y);(null===(n=(t=k).needsInterpolation)||void 0===n?void 0:n.call(t,i,w))&&(b=Ue([0,100],[i,w],{clamp:!1}),i=0,w=100);const C=k(Object.assign(Object.assign({},y),{from:i,to:w}));function S(){x++,"reverse"===c?(O=x%2===0,s=function(e,t,n=0,r=!0){return r?ct(t+-e,t,n):t-(e-t)+n}(s,_,l,O)):(s=ct(s,_,l),"mirror"===c&&C.flipTarget()),E=!1,h&&h()}function T(e){if(O||(e=-e),s+=e,!E){const e=C.next(Math.max(0,s));g=e.value,b&&(g=b(g)),E=O?e.done:s<=0}null===v||void 0===v||v(g),E&&(0===x&&(null!==_&&void 0!==_||(_=s)),x<u?function(e,t,n,r){return r?e>=t+n:e<=-n}(s,_,l,O)&&S():(m.stop(),d&&d()))}return o&&(null===f||void 0===f||f(),m=a(T),m.start()),{stop:()=>{null===p||void 0===p||p(),m.stop()}}}var pt=function(e){return 1e3*e};const dt=(e,t)=>
11-3*t+3*e,ht=(e,t)=>3*t-6*e,vt=e=>3*e,yt=(e,t,n)=>((dt(t,n)*e+ht(t,n))*e+vt(t))*e,mt=(e,t,n)=>3*dt(t,n)*e*e+2*ht(t,n)*e+vt(t);const gt=.1;function bt(e,t,n,r){if(e===t&&n===r)return $e;const i=new Float32Array(11);for(let a=0;a<11;++a)i[a]=yt(a*gt,e,n);function o(t){let r=0,o=1;for(;10!==o&&i[o]<=t;++o)r+=gt;--o;const a=r+(t-i[o])/(i[o+1]-i[o])*gt,s=mt(a,e,n);return s>=.001?function(e,t,n,r){for(let i=0;i<8;++i){const i=mt(t,n,r);if(0===i)return t;t-=(yt(t,n,r)-e)/i}return t}(t,a,e,n):0===s?a:function(e,t,n,r,i){let o,a,s=0;do{a=t+(n-t)/2,o=yt(a,r,i)-e,o>0?n=a:t=a}while(Math.abs(o)>1e-7&&++s<10);return a}(t,r,r+gt,e,n)}return e=>0===e||1===e?e:yt(o(e),t,r)}var wt={linear:$e,easeIn:Ye,easeInOut:Ke,easeOut:Je,circIn:Ze,circInOut:Xe,circOut:He,backIn:et,backInOut:nt,backOut:tt,anticipate:rt,bounceIn:ot,bounceInOut:e=>e<.5?.5*(1-it(1-2*e)):.5*it(2*e-1)+.5,bounceOut:it},xt=function(e){if(Array.isArray(e)){e.length;var t=(0,r.CR)(e,4);return bt(t[0],t[1],t[2],t[3])}return"string"===typeof e?("Invalid easing type '".concat(e,"'"),wt[e]):e},_t=function(e,t){return"zIndex"!==e&&(!("number"!==typeof t&&!Array.isArray(t))||!("string"!==typeof t||!De.test(t)||t.startsWith("url(")))},Et=function(e){return Array.isArray(e)},Ot=function(){return{type:"spring",stiffness:500,damping:25,restSpeed:10}},kt=function(e){return{type:"spring",stiffness:550,damping:0===e?2*Math.sqrt(550):30,restSpeed:10}},Ct=function(){return{type:"keyframes",ease:"linear",duration:.3}},St=function(e){return{type:"keyframes",duration:.8,values:e}},Tt={x:Ot,y:Ot,z:Ot,rotate:Ot,rotateX:Ot,rotateY:Ot,rotateZ:Ot,scaleX:kt,scaleY:kt,scale:kt,opacity:Ct,backgroundColor:Ct,color:Ct,default:kt};const jt=new Set(["brightness","contrast","saturate","opacity"]);function At(e){let[t,n]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;const[r]=n.match(K)||[];if(!r)return e;const i=n.replace(r,"");let o=jt.has(t)?1:0;return r!==n&&(o*=100),t+"("+o+i+")"}const Dt=/([a-z-]*)\(.*?\)/g,Pt=Object.assign(Object.assign({},De),{getAnimatableNone:e=>{const t=e.match(Dt);return t?t.map(At).join(" "):e}});var It=(0,r.pi)((0,r.pi)({},ee),{transform:Math.round}),Rt={borderWidth:pe,borderTopWidth:pe,borderRightWidth:pe,borderBottomWidth:pe,borderLeftWidth:pe,borderRadius:pe,radius:pe,borderTopLeftRadius:pe,borderTopRightRadius:pe,borderBottomRightRadius:pe,borderBottomLeftRadius:pe,width:pe,maxWidth:pe,height:pe,maxHeight:pe,size:pe,top:pe,right:pe,bottom:pe,left:pe,padding:pe,paddingTop:pe,paddingRight:pe,paddingBottom:pe,paddingLeft:pe,margin:pe,marginTop:pe,marginRight:pe,marginBottom:pe,marginLeft:pe,rotate:le,rotateX:le,rotateY:le,rotateZ:le,scale:ne,scaleX:ne,scaleY:ne,scaleZ:ne,skew:le,skewX:le,skewY:le,distance:pe,translateX:pe,translateY:pe,translateZ:pe,x:pe,y:pe,z:pe,perspective:pe,transformPerspective:pe,opacity:te,originX:ve,originY:ve,originZ:pe,zIndex:It,fillOpacity:te,strokeOpacity:te,numOctaves:It},Nt=(0,r.pi)((0,r.pi)({},Rt),{color:Oe,backgroundColor:Oe,outlineColor:Oe,fill:Oe,stroke:Oe,borderColor:Oe,borderTopColor:Oe,borderRightColor:Oe,borderBottomColor:Oe,borderLeftColor:Oe,filter:Pt,WebkitFilter:Pt}),Ft=function(e){return Nt[e]};function Mt(e,t){var n,r=Ft(e);return r!==Pt&&(r=De),null===(n=r.getAnimatableNone)||void 0===n?void 0:n.call(r,t)}var Vt=!1,Lt=function(e){return Et(e)?e[e.length-1]||0:e};function qt(e){var t=e.ease,n=e.times,i=e.yoyo,o=e.flip,a=e.loop,s=(0,r._T)(e,["ease","times","yoyo","flip","loop"]),u=(0,r.pi)({},s);return n&&(u.offset=n),s.duration&&(u.duration=pt(s.duration)),s.repeatDelay&&(u.repeatDelay=pt(s.repeatDelay)),t&&(u.ease=function(e){return Array.isArray(e)&&"number"!==typeof e[0]}(t)?t.map(xt):xt(t)),"tween"===s.type&&(u.type="keyframes"),(i||a||o)&&(!0,i?u.repeatType="reverse":a?u.repeatType="loop":o&&(u.repeatType="mirror"),u.repeat=a||i||o||s.repeat),"spring"!==s.type&&(u.type="keyframes"),u}function Bt(e,t,n){var i;return Array.isArray(t.to)&&(null!==(i=e.duration)&&void 0!==i||(e.duration=.8)),function(e){Array.isArray(e.to)&&null===e.to[0]&&(e.to=(0,r.ev)([],(0,r.CR)(e.to),!1),e.to[0]=e.from)}(t),function(e){e.when,e.delay,e.delayChildren,e.staggerChildren,e.staggerDirection,e.repeat,e.repeatType,e.repeatDelay,e.from;var t=(0,r._T)(e,["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from"]);return!!Object.keys(t).length}(e)||(e=(0,r.pi)((0,r.pi)({},e),function(e,t){var n;return n=Et(t)?St:Tt[e]||Tt.default,(0,r.pi)({to:t},n(t))}(n,t.to))),(0,r.pi)((0,r.pi)({},t),qt(e))}function Ut(e,t,n,i,o){var a,s=zt(i,e),u=null!==(a=s.from)&&void 0!==a?a:t.get(),c=_t(e,n);"none"===u&&c&&"string"===typeof n?u=Mt(e,n):Qt(u)&&"string"===typeof n?u=Gt(n):!Array.isArray(n)&&Qt(n)&&"string"===typeof u&&(n=Gt(u));var l=_t(e,u);return"You are trying to animate ".concat(e,' from "').concat(u,'" to "').concat(n,'". ').concat(u," is not an animatable value - to enable this animation set ").concat(u," to a value animatable to ").concat(n," via the `style` property."),l&&c&&!1!==s.type?function(){var i={from:u,to:n,velocity:t.getVelocity(),onComplete:o,onUp
1date:function(e){return t.set(e)}};return"inertia"===s.type||"decay"===s.type?function({from:e=0,velocity:t=0,min:n,max:r,power:i=.8,timeConstant:o=750,bounceStiffness:a=500,bounceDamping:s=10,restDelta:u=1,modifyTarget:c,driver:l,onUpdate:f,onComplete:p,onStop:d}){let h;function v(e){return void 0!==n&&e<n||void 0!==r&&e>r}function y(e){return void 0===n?r:void 0===r||Math.abs(n-e)<Math.abs(r-e)?n:r}function m(e){null===h||void 0===h||h.stop(),h=ft(Object.assign(Object.assign({},e),{driver:l,onUpdate:t=>{var n;null===f||void 0===f||f(t),null===(n=e.onUpdate)||void 0===n||n.call(e,t)},onComplete:p,onStop:d}))}function g(e){m(Object.assign({type:"spring",stiffness:a,damping:s,restDelta:u},e))}if(v(e))g({from:e,velocity:t,to:y(e)});else{let r=i*t+e;"undefined"!==typeof c&&(r=c(r));const a=y(r),s=a===n?-1:1;let l,f;const p=e=>{l=f,f=e,t=D(e-l,(0,j.$B)().delta),(1===s&&e>a||-1===s&&e<a)&&g({from:e,to:a,velocity:t})};m({type:"decay",from:e,velocity:t,timeConstant:o,power:i,restDelta:u,modifyTarget:c,onUpdate:v(r)?p:void 0})}return{stop:()=>null===h||void 0===h?void 0:h.stop()}}((0,r.pi)((0,r.pi)({},i),s)):ft((0,r.pi)((0,r.pi)({},Bt(s,i,e)),{onUpdate:function(e){var t;i.onUpdate(e),null===(t=s.onUpdate)||void 0===t||t.call(s,e)},onComplete:function(){var e;i.onComplete(),null===(e=s.onComplete)||void 0===e||e.call(s)}}))}:function(){var e,r,i=Lt(n);return t.set(i),o(),null===(e=null===s||void 0===s?void 0:s.onUpdate)||void 0===e||e.call(s,i),null===(r=null===s||void 0===s?void 0:s.onComplete)||void 0===r||r.call(s),{stop:function(){}}}}function Qt(e){return 0===e||"string"===typeof e&&0===parseFloat(e)&&-1===e.indexOf(" ")}function Gt(e){return"number"===typeof e?0:Mt("",e)}function zt(e,t){return e[t]||e.default||e}function $t(e,t,n,r){return void 0===r&&(r={}),Vt&&(r={type:!1}),t.start((function(i){var o,a,s=Ut(e,t,n,r,i),u=function(e,t){var n,r;return null!==(r=null!==(n=(zt(e,t)||{}).delay)&&void 0!==n?n:e.delay)&&void 0!==r?r:0}(r,e),c=function(){return a=s()};return u?o=window.setTimeout(c,pt(u)):c(),function(){clearTimeout(o),null===a||void 0===a||a.stop()}}))}var Yt=["TopLeft","TopRight","BottomLeft","BottomRight"],Wt=Yt.length,Jt=function(e){return"string"===typeof e?parseFloat(e):e},Kt=function(e){return"number"===typeof e||pe.test(e)};function Zt(e,t){var n;return null!==(n=e[t])&&void 0!==n?n:e.borderRadius}var Ht=en(0,.5,He),Xt=en(.5,.95,$e);function en(e,t,n){return function(r){return r<e?0:r>t?1:n(Y(e,t,r))}}function tn(e,t){e.min=t.min,e.max=t.max}function nn(e,t){tn(e.x,t.x),tn(e.y,t.y)}function rn(e){return void 0===e||1===e}function on(e){var t=e.scale,n=e.scaleX,r=e.scaleY;return!rn(t)||!rn(n)||!rn(r)}function an(e){return on(e)||sn(e.x)||sn(e.y)||e.z||e.rotate||e.rotateX||e.rotateY}function sn(e){return e&&"0%"!==e}function un(e,t,n){return n+t*(e-n)}function cn(e,t,n,r,i){return void 0!==i&&(e=un(e,i,r)),un(e,n,r)+t}function ln(e,t,n,r,i){void 0===t&&(t=0),void 0===n&&(n=1),e.min=cn(e.min,t,n,r,i),e.max=cn(e.max,t,n,r,i)}function fn(e,t){var n=t.x,r=t.y;ln(e.x,n.translate,n.scale,n.originPoint),ln(e.y,r.translate,r.scale,r.originPoint)}function pn(e,t){e.min=e.min+t,e.max=e.max+t}function dn(e,t,n){var i=(0,r.CR)(n,3),o=i[0],a=i[1],s=i[2],u=void 0!==t[s]?t[s]:.5,c=A(e.min,e.max,u);ln(e,t[o],t[a],c,t.scale)}var hn=["x","scaleX","originX"],vn=["y","scaleY","originY"];function yn(e,t){dn(e.x,t,hn),dn(e.y,t,vn)}const mn=e=>e.hasOwnProperty("x")&&e.hasOwnProperty("y"),gn=e=>mn(e)&&e.hasOwnProperty("z"),bn=(e,t)=>Math.abs(e-t);function wn(e,t){if(Pe(e)&&Pe(t))return bn(e,t);if(mn(e)&&mn(t)){const n=bn(e.x,t.x),r=bn(e.y,t.y),i=gn(e)&&gn(t)?bn(e.z,t.z):0;return Math.sqrt(Math.pow(n,2)+Math.pow(r,2)+Math.pow(i,2))}}function xn(e){return e.max-e.min}function _n(e,t,n){return void 0===t&&(t=0),void 0===n&&(n=.01),wn(e,t)<n}function En(e,t,n,r){void 0===r&&(r=.5),e.origin=r,e.originPoint=A(t.min,t.max,e.origin),e.scale=xn(n)/xn(t),(_n(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=A(n.min,n.max,e.origin)-e.originPoint,(_n(e.translate)||isNaN(e.translate))&&(e.translate=0)}function On(e,t,n,r){En(e.x,t.x,n.x,null===r||void 0===r?void 0:r.originX),En(e.y,t.y,n.y,null===r||void 0===r?void 0:r.originY)}function kn(e,t,n){e.min=n.min+t.min,e.max=e.min+xn(t)}function Cn(e,t,n){e.min=t.min-n.min,e.max=e.min+xn(t)}function Sn(e,t,n){Cn(e.x,t.x,n.x),Cn(e.y,t.y,n.y)}function Tn(e,t,n,r,i){return e=un(e-=t,1/n,r),void 0!==i&&(e=un(e,1/i,r)),e}function jn(e,t,n,i,o){var a=(0,r.CR)(n,3),s=a[0],u=a[1],c=a[2];!function(e,t,n,r,i,o,a){if(void 0===t&&(t=0),void 0===n&&(n=1),void 0===r&&(r=.5),void 0===o&&(o=e),void 0===a&&(a=e),fe.test(t)&&(t=parseFloat(t),t=A(a.min,a.max,t/100)-a.min),"number"===typeof t){var s=A(o.min,o.max,r);e===o&&(s-=t),e.min=Tn(e.min,t,n,s,i),e.max=Tn(e.max,t,n,s,i)}}(e,t[s],t[u],t[c],t.scale,i,o)}var An=["x","scaleX","originX"],Dn=["y","scaleY","originY"];function Pn(e,t,n,r){jn(e.x,t,An,null===n||void 0===n?void 0:n.x,null===r||void 0===r?void 0:r.x),jn(e.y,t,Dn,null===n||void 0===n?void 0:n.y,null===r||void 0===r?void 0:r.y
1)}function In(e){return 0===e.translate&&1===e.scale}function Rn(e){return In(e.x)&&In(e.y)}function Nn(e,t){return e.x.min===t.x.min&&e.x.max===t.x.max&&e.y.min===t.y.min&&e.y.max===t.y.max}var Fn=function(){function e(){this.members=[]}return e.prototype.add=function(e){P(this.members,e),e.scheduleRender()},e.prototype.remove=function(e){if(I(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){var t=this.members[this.members.length-1];t&&this.promote(t)}},e.prototype.relegate=function(e){var t,n=this.members.findIndex((function(t){return e===t}));if(0===n)return!1;for(var r=n;r>=0;r--){var i=this.members[r];if(!1!==i.isPresent){t=i;break}}return!!t&&(this.promote(t),!0)},e.prototype.promote=function(e,t){var n,r=this.lead;e!==r&&(this.prevLead=r,this.lead=e,e.show(),r&&(r.instance&&r.scheduleRender(),e.scheduleRender(),e.resumeFrom=r,t&&(e.resumeFrom.preserveOpacity=!0),r.snapshot&&(e.snapshot=r.snapshot,e.snapshot.latestValues=r.animationValues||r.latestValues,e.snapshot.isShared=!0),(null===(n=e.root)||void 0===n?void 0:n.isUpdating)&&(e.isLayoutDirty=!0),!1===e.options.crossfade&&r.hide()))},e.prototype.exitAnimationComplete=function(){this.members.forEach((function(e){var t,n,r,i,o;null===(n=(t=e.options).onExitComplete)||void 0===n||n.call(t),null===(o=null===(r=e.resumingFrom)||void 0===r?void 0:(i=r.options).onExitComplete)||void 0===o||o.call(i)}))},e.prototype.scheduleRender=function(){this.members.forEach((function(e){e.instance&&e.scheduleRender(!1)}))},e.prototype.removeLeadSnapshot=function(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)},e}(),Mn={};function Vn(e,t,n){var r=e.x.translate/t.x,i=e.y.translate/t.y,o="translate3d(".concat(r,"px, ").concat(i,"px, 0) ");if(n){var a=n.rotate,s=n.rotateX,u=n.rotateY;a&&(o+="rotate(".concat(a,"deg) ")),s&&(o+="rotateX(".concat(s,"deg) ")),u&&(o+="rotateY(".concat(u,"deg) "))}return"translate3d(0px, 0px, 0) scale(1, 1)"===(o+="scale(".concat(e.x.scale,", ").concat(e.y.scale,")"))?"none":o}function Ln(e){return[e("x"),e("y")]}var qn=["","X","Y","Z"],Bn=["transformPerspective","x","y","z"];function Un(e,t){return Bn.indexOf(e)-Bn.indexOf(t)}["translate","scale","rotate","skew"].forEach((function(e){return qn.forEach((function(t){return Bn.push(e+t)}))}));var Qn=new Set(Bn);function Gn(e){return Qn.has(e)}var zn=new Set(["originX","originY","originZ"]);function $n(e){return zn.has(e)}var Yn=function(e,t){return e.depth-t.depth},Wn=function(){function e(){this.children=[],this.isDirty=!1}return e.prototype.add=function(e){P(this.children,e),this.isDirty=!0},e.prototype.remove=function(e){I(this.children,e),this.isDirty=!0},e.prototype.forEach=function(e){this.isDirty&&this.children.sort(Yn),this.isDirty=!1,this.children.forEach(e)},e}();function Jn(e){var t,n=M(e)?e.get():e;return t=n,Boolean(t&&"object"===typeof t&&t.mix&&t.toValue)?n.toValue():n}var Kn={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function Zn(e){var t=e.attachResizeListener,n=e.defaultParent,i=e.measureScroll,o=e.resetTransform;return function(){function e(e,t,i){var o=this;void 0===t&&(t={}),void 0===i&&(i=null===n||void 0===n?void 0:n()),this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.potentialNodes=new Map,this.checkUpdateFailed=function(){o.isUpdating&&(o.isUpdating=!1,o.clearAllSnapshots())},this.updateProjection=function(){o.nodes.forEach(ir),o.nodes.forEach(or)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.id=e,this.latestValues=t,this.root=i?i.root||i:this,this.path=i?(0,r.ev)((0,r.ev)([],(0,r.CR)(i.path),!1),[i],!1):[],this.parent=i,this.depth=i?i.depth+1:0,e&&this.root.registerPotentialNode(e,this);for(var a=0;a<this.path.length;a++)this.path[a].shouldResetTransform=!0;this.root===this&&(this.nodes=new Wn)}return e.prototype.addEventListener=function(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new R),this.eventHandlers.get(e).add(t)},e.prototype.notifyListeners=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var i=this.eventHandlers.get(e);null===i||void 0===i||i.notify.apply(i,(0,r.ev)([],(0,r.CR)(t),!1))},e.prototype.hasListeners=function(e){return this.eventHandlers.has(e)},e.prototype.registerPotentialNode=function(e,t){this.potentialNodes.set(e,t)},e.prototype.mount=function(e,n){var i,o=this;if(void 0===n&&(n=!1),!this.instance){this.isSVG=e instanceof SVGElement&&"svg"!==e.tagName,this.instance=e;var a=this.options,s=a.layoutId,u=a.layout,c=a.visualElement;if(c&&!c.getInstance()&&c.mount(e),this.root.nodes.add(this),null===(i=this.parent)||void 0===i||i.children.add(this),this.id&&this.root.potentialNodes.delete(this.id
1),n&&(u||s)&&(this.isLayoutDirty=!0),t){var l,f=function(){return o.root.updateBlockedByResize=!1};t(e,(function(){o.root.updateBlockedByResize=!0,clearTimeout(l),l=window.setTimeout(f,250),Kn.hasAnimatedSinceResize&&(Kn.hasAnimatedSinceResize=!1,o.nodes.forEach(rr))}))}s&&this.root.registerSharedNode(s,this),!1!==this.options.animate&&c&&(s||u)&&this.addEventListener("didUpdate",(function(e){var t,n,i,a,s,u=e.delta,l=e.hasLayoutChanged,f=e.hasRelativeTargetChanged,p=e.layout;if(o.isTreeAnimationBlocked())return o.target=void 0,void(o.relativeTarget=void 0);var d=null!==(n=null!==(t=o.options.transition)&&void 0!==t?t:c.getDefaultTransition())&&void 0!==n?n:fr,h=c.getProps(),v=h.onLayoutAnimationStart,y=h.onLayoutAnimationComplete,m=!o.targetLayout||!Nn(o.targetLayout,p)||f,g=!l&&f;if((null===(i=o.resumeFrom)||void 0===i?void 0:i.instance)||g||l&&(m||!o.currentAnimation)){o.resumeFrom&&(o.resumingFrom=o.resumeFrom,o.resumingFrom.resumingFrom=void 0),o.setAnimationOrigin(u,g);var b=(0,r.pi)((0,r.pi)({},zt(d,"layout")),{onPlay:v,onComplete:y});c.shouldReduceMotion&&(b.delay=0,b.type=!1),o.startAnimation(b)}else l||0!==o.animationProgress||o.finishAnimation(),o.isLead()&&(null===(s=(a=o.options).onExitComplete)||void 0===s||s.call(a));o.targetLayout=p}))}},e.prototype.unmount=function(){var e,t;this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this),null===(e=this.getStack())||void 0===e||e.remove(this),null===(t=this.parent)||void 0===t||t.children.delete(this),this.instance=void 0,j.qY.preRender(this.updateProjection)},e.prototype.blockUpdate=function(){this.updateManuallyBlocked=!0},e.prototype.unblockUpdate=function(){this.updateManuallyBlocked=!1},e.prototype.isUpdateBlocked=function(){return this.updateManuallyBlocked||this.updateBlockedByResize},e.prototype.isTreeAnimationBlocked=function(){var e;return this.isAnimationBlocked||(null===(e=this.parent)||void 0===e?void 0:e.isTreeAnimationBlocked())||!1},e.prototype.startUpdate=function(){var e;this.isUpdateBlocked()||(this.isUpdating=!0,null===(e=this.nodes)||void 0===e||e.forEach(ar))},e.prototype.willUpdate=function(e){var t,n,r;if(void 0===e&&(e=!0),this.root.isUpdateBlocked())null===(n=(t=this.options).onExitComplete)||void 0===n||n.call(t);else if(!this.root.isUpdating&&this.root.startUpdate(),!this.isLayoutDirty){this.isLayoutDirty=!0;for(var i=0;i<this.path.length;i++){var o=this.path[i];o.shouldResetTransform=!0,o.updateScroll()}var a=this.options,s=a.layoutId,u=a.layout;if(void 0!==s||u){var c=null===(r=this.options.visualElement)||void 0===r?void 0:r.getProps().transformTemplate;this.prevTransformTemplateValue=null===c||void 0===c?void 0:c(this.latestValues,""),this.updateSnapshot(),e&&this.notifyListeners("willUpdate")}}},e.prototype.didUpdate=function(){if(this.isUpdateBlocked())return this.unblockUpdate(),this.clearAllSnapshots(),void this.nodes.forEach(tr);this.isUpdating&&(this.isUpdating=!1,this.potentialNodes.size&&(this.potentialNodes.forEach(pr),this.potentialNodes.clear()),this.nodes.forEach(nr),this.nodes.forEach(Hn),this.nodes.forEach(Xn),this.clearAllSnapshots(),j.iW.update(),j.iW.preRender(),j.iW.render())},e.prototype.clearAllSnapshots=function(){this.nodes.forEach(er),this.sharedNodes.forEach(sr)},e.prototype.scheduleUpdateProjection=function(){j.ZP.preRender(this.updateProjection,!1,!0)},e.prototype.scheduleCheckAfterUnmount=function(){var e=this;j.ZP.postRender((function(){e.isLayoutDirty?e.root.didUpdate():e.root.checkUpdateFailed()}))},e.prototype.updateSnapshot=function(){if(!this.snapshot&&this.instance){var e=this.measure(),t=this.removeTransform(this.removeElementScroll(e));hr(t),this.snapshot={measured:e,layout:t,latestValues:{}}}},e.prototype.updateLayout=function(){var e;if(this.instance&&(this.updateScroll(),this.options.alwaysMeasureLayout&&this.isLead()||this.isLayoutDirty)){if(this.resumeFrom&&!this.resumeFrom.instance)for(var t=0;t<this.path.length;t++){this.path[t].updateScroll()}var n=this.measure();hr(n);var r=this.layout;this.layout={measured:n,actual:this.removeElementScroll(n)},this.layoutCorrected={x:{min:0,max:0},y:{min:0,max:0}},this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.actual),null===(e=this.options.visualElement)||void 0===e||e.notifyLayoutMeasure(this.layout.actual,null===r||void 0===r?void 0:r.actual)}},e.prototype.updateScroll=function(){this.options.layoutScroll&&this.instance&&(this.scroll=i(this.instance))},e.prototype.resetTransform=function(){var e;if(o){var t=this.isLayoutDirty||this.shouldResetTransform,n=this.projectionDelta&&!Rn(this.projectionDelta),r=null===(e=this.options.visualElement)||void 0===e?void 0:e.getProps().transformTemplate,i=null===r||void 0===r?void 0:r(this.latestValues,""),a=i!==this.prevTransformTemplateValue;t&&(n||an(this.latestValues)||a)&&(o(this.instance,i),this.shouldResetTransform=!1,this.scheduleRender())}},e.prototype.measure=function(){var e=this.options.visualElement;if(!e)return{x:{min:0,max:0},y:{min:0,max:0}};var t=e.measureViewportBox(),n=this.root.scroll;return n&&(pn(t.x,n.x),pn(t.y,n.y)),t},e.prototype.removeElementScroll=function(e){var t={x:{min:0,max:0},y:{min:0,max:0}};nn(t,e);for(var n=0;n<this.path.length;n++){var r=this.path[n],i=r.scroll,o=r.options;r!==this.root&&i&&o.layoutScroll&&(pn(t.x,i.x),pn(t.y,i.y))}return t},e.prototype.applyTransform=function(e,t){void 0===t&&(t=!1);var n={x:{min:0,max:0},y:{min:0,max:0}};nn(n,e);for(var r=0;r<this.path.length;r++){var i=this.path[r];!t&&i.options.layoutScroll&&i.scroll&&i!==i.root&&yn(n,{x:-i.scroll.x,y:-i.scroll.y}),an(i.latestValues)&&yn(n,i.latestValues)}return an(this.latestValues)&&yn(n,this.latestValues),n},e.prototype.removeTransform=function(e){var t,n={x:{min:0,max:0},y:{min:0,max:0}};nn(n,e);for(var r=0;r<this.path.length;r++){var i=this.path[r];if(i.instance&&an(i.latestValues)){on(i.latestValues)&&i.updateSnapshot();var o={x:{min:0,max:0},y:{min:0,max:0}};nn(o,i.measure()),Pn(n,i.latestValues,null===(t=i.snapshot)||void 0===t?void 0:t.layout,o)}}return an(this.latestValues)&&Pn(n,this.latestValues),n},e.prototype.setTargetDelta=function(e){this.targetDelta=e,this.root.scheduleUpdateProjection()},e.prototype.setOptions=function(e){var t;this.options=(0,r.pi)((0,r.pi)((0,r.pi)({},this.options),e),{crossfade:null===(t=e.crossfade)||void 0===t||t})},e.prototype.clearMeasurements=function(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1},e.prototype.resolveTargetDelta=function(){var e,t,n,r,i=this.options,o=i.layout,a=i.layoutId;this.layout&&(o||a)&&(this.targetDelta||this.relativeTarget||(this.relativeParent=this.getClosestProjectingParent(),this.relativeParent&&this.relativeParent.layout&&(this.relativeTarget={x:{min:0,max:0},y:{min:0,max:0}},this.relativeTargetOrigin={x:{min:0,max:0},y:{min:0,max:0}},Sn(this.relativeTargetOrigin,this.layout.actual,this.relativeParent.layout.actual),nn(this.relativeTarget,this.relativeTargetOrigin))),(this.relativeTarget||this.targetDelta)&&(this.target||(this.target={x:{min:0,max:0},y:{min:0,max:0}},this.targetWithTransforms={x:{min:0,max:0},y:{min:0,max:0}}),this.relativeTarget&&this.relativeTargetOrigin&&(null===(e=this.relativeParent)||void 0===e?void 0:e.target)?(t=this.target,n=this.relativeTarget,r=this.relativeParent.target,kn(t.x,n.x,r.x),kn(t.y,n.y,r.y)):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.actual):nn(this.target,this.layout.actual),fn(this.target,this.targetDelta)):nn(this.target,this.layout.actual),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,this.relativeParent=this.getClosestProjectingParent(),this.relativeParent&&Boolean(this.relativeParent.resumingFrom)===Boolean(this.resumingFrom)&&!this.relativeParent.options.layoutScroll&&this.relativeParent.target&&(this.relativeTarget={x:{min:0,max:0},y:{min:0,max:0}},this.relativeTargetOrigin={x:{min:0,max:0},y:{min:0,max:0}},Sn(this.relativeTargetOrigin,this.target,this.relativeParent.target),nn(this.relativeTarget,this.relativeTargetOrigin)))))},e.prototype.getClosestProjectingParent=function(){if(this.parent&&!an(this.parent.latestValues))return(this.parent.relativeTarget||this.parent.targetDelta)&&this.parent.layout?this.parent:this.parent.getClosestProjectingParent()},e.prototype.calcProjection=function(){var e,t=this.options,n=t.layout,r=t.layoutId;if(this.isTreeAnimating=Boolean((null===(e=this.parent)||void 0===e?void 0:e.isTreeAnimating)||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),this.layout&&(n||r)){var i=this.getLead();nn(this.layoutCorrected,this.layout.actual),function(e,t,n,r){var i,o;void 0===r&&(r=!1);var a=n.length;if(a){var s,u;t.x=t.y=1;for(var c=0;c<a;c++)u=(s=n[c]).projectionDelta,"contents"!==(null===(o=null===(i=s.instance)||void 0===i?void 0:i.style)||void 0===o?void 0:o.display)&&(r&&s.options.layoutScroll&&s.scroll&&s!==s.root&&yn(e,{x:-s.scroll.x,y:-s.scroll.y}),u&&(t.x*=u.x.scale,t.y*=u.y.scale,fn(e,u)),r&&an(s.latestValues)&&yn(e,s.latestValues))}}(this.layoutCorrected,this.treeScale,this.path,Boolean(this.resumingFrom)||this!==i);var o=i.target;if(o){this.projectionDelta||(this.projectionDelta={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}},this.projectionDeltaWithTransform={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}});var a=this.treeScale.x,s=this.treeScale.y,u=this.projectionTransform;On(this.projectionDelta,this.layoutCorrected,o,this.latestValues),this.projectionTransform=Vn(this.projectionDelta,this.treeScale),this.projectionTransform===u&&this.treeScale.x===a&&this.treeScale.y===s||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",o))}}},e.prototype.hide=function(){this.isVisible=!1},e.prototype.show=function(){this.isVisible=!0},e.prototype.scheduleRender=function(e){var t,n,r;void 0===e&&(e=!0),null===(n=(t=this.options).scheduleRender)||void 0===n||n.call(t),e&&(null===(r=this.getStack())||void 0===r||r.scheduleRender()),this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)},e.prototype.setAnimationOrigin=function(e,t){var n,i=this;void 0===t&&(t=!1);var o=this.snapshot,a=(null===o||void 0===o?void 0:o.latestValues)||{},s=(0,r.pi)({},this.latestValues),u={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};this.relativeTarget=this.relativeTargetOrigin=void 0,this.attemptToResolveRelativeTarget=!t;var c={x:{min:0,max:0},y:{min:0,max:0}},l=null===o||void 0===o?void 0:o.isShared,f=((null===(n=this.getStack())||void 0===n?void 0:n.members.length)||0)<=1,p=Boolean(l&&!f&&!0===this.options.crossfade&&!this.path.some(lr));this.animationProgress=0,this.mixTargetDelta=function(t){var n,r,o,d,h,v=t/1e3;ur(u.x,e.x,v),ur(u.y,e.y,v),i.setTargetDelta(u),i.relativeTarget&&i.relativeTargetOrigin&&i.layout&&(null===(n=i.relativeParent)||void 0===n?void 0:n.layout)&&(Sn(c,i.layout.actual,i.relativeParent.layout.actual),r=i.relativeTarget,o=i.relativeTargetOrigin,d=c,h=v,cr(r.x,o.x,d.x,h),cr(r.y,o.y,d.y,h)),l&&(i.animationValues=s,function(e,t,n,r,i,o){var a,s,u,c;i?(e.opacity=A(0,null!==(a=n.opacity)&&void 0!==a?a:1,Ht(r)),e.o
1pacityExit=A(null!==(s=t.opacity)&&void 0!==s?s:1,0,Xt(r))):o&&(e.opacity=A(null!==(u=t.opacity)&&void 0!==u?u:1,null!==(c=n.opacity)&&void 0!==c?c:1,r));for(var l=0;l<Wt;l++){var f="border".concat(Yt[l],"Radius"),p=Zt(t,f),d=Zt(n,f);void 0===p&&void 0===d||(p||(p=0),d||(d=0),0===p||0===d||Kt(p)===Kt(d)?(e[f]=Math.max(A(Jt(p),Jt(d),r),0),(fe.test(d)||fe.test(p))&&(e[f]+="%")):e[f]=d)}(t.rotate||n.rotate)&&(e.rotate=A(t.rotate||0,n.rotate||0,r))}(s,a,i.latestValues,v,p,f)),i.root.scheduleUpdateProjection(),i.scheduleRender(),i.animationProgress=v},this.mixTargetDelta(0)},e.prototype.startAnimation=function(e){var t,n,i=this;this.notifyListeners("animationStart"),null===(t=this.currentAnimation)||void 0===t||t.stop(),this.resumingFrom&&(null===(n=this.resumingFrom.currentAnimation)||void 0===n||n.stop()),this.pendingAnimation&&(j.qY.update(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=j.ZP.update((function(){Kn.hasAnimatedSinceResize=!0,i.currentAnimation=function(e,t,n){void 0===n&&(n={});var r=M(e)?e:F(e);return $t("",r,t,n),{stop:function(){return r.stop()},isAnimating:function(){return r.isAnimating()}}}(0,1e3,(0,r.pi)((0,r.pi)({},e),{onUpdate:function(t){var n;i.mixTargetDelta(t),null===(n=e.onUpdate)||void 0===n||n.call(e,t)},onComplete:function(){var t;null===(t=e.onComplete)||void 0===t||t.call(e),i.completeAnimation()}})),i.resumingFrom&&(i.resumingFrom.currentAnimation=i.currentAnimation),i.pendingAnimation=void 0}))},e.prototype.completeAnimation=function(){var e;this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0),null===(e=this.getStack())||void 0===e||e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")},e.prototype.finishAnimation=function(){var e;this.currentAnimation&&(null===(e=this.mixTargetDelta)||void 0===e||e.call(this,1e3),this.currentAnimation.stop()),this.completeAnimation()},e.prototype.applyTransformsToTarget=function(){var e=this.getLead(),t=e.targetWithTransforms,n=e.target,r=e.layout,i=e.latestValues;t&&n&&r&&(nn(t,n),yn(t,i),On(this.projectionDeltaWithTransform,this.layoutCorrected,t,i))},e.prototype.registerSharedNode=function(e,t){var n,r,i;this.sharedNodes.has(e)||this.sharedNodes.set(e,new Fn),this.sharedNodes.get(e).add(t),t.promote({transition:null===(n=t.options.initialPromotionConfig)||void 0===n?void 0:n.transition,preserveFollowOpacity:null===(i=null===(r=t.options.initialPromotionConfig)||void 0===r?void 0:r.shouldPreserveFollowOpacity)||void 0===i?void 0:i.call(r,t)})},e.prototype.isLead=function(){var e=this.getStack();return!e||e.lead===this},e.prototype.getLead=function(){var e;return this.options.layoutId&&(null===(e=this.getStack())||void 0===e?void 0:e.lead)||this},e.prototype.getPrevLead=function(){var e;return this.options.layoutId?null===(e=this.getStack())||void 0===e?void 0:e.prevLead:void 0},e.prototype.getStack=function(){var e=this.options.layoutId;if(e)return this.root.sharedNodes.get(e)},e.prototype.promote=function(e){var t=void 0===e?{}:e,n=t.needsReset,r=t.transition,i=t.preserveFollowOpacity,o=this.getStack();o&&o.promote(this,i),n&&(this.projectionDelta=void 0,this.needsReset=!0),r&&this.setOptions({transition:r})},e.prototype.relegate=function(){var e=this.getStack();return!!e&&e.relegate(this)},e.prototype.resetRotation=function(){var e=this.options.visualElement;if(e){for(var t=!1,n={},r=0;r<qn.length;r++){var i="rotate"+qn[r];e.getStaticValue(i)&&(t=!0,n[i]=e.getStaticValue(i),e.setStaticValue(i,0))}if(t){for(var i in null===e||void 0===e||e.syncRender(),n)e.setStaticValue(i,n[i]);e.scheduleRender()}}},e.prototype.getProjectionStyles=function(e){var t,n,r,i,o,a;void 0===e&&(e={});var s={};if(!this.instance||this.isSVG)return s;if(!this.isVisible)return{visibility:"hidden"};s.visibility="";var u=null===(t=this.options.visualElement)||void 0===t?void 0:t.getProps().transformTemplate;if(this.needsReset)return this.needsReset=!1,s.opacity="",s.pointerEvents=Jn(e.pointerEvents)||"",s.transform=u?u(this.latestValues,""):"none",s;var c=this.getLead();if(!this.projectionDelta||!this.layout||!c.target){var l={};return this.options.layoutId&&(l.opacity=null!==(n=this.latestValues.opacity)&&void 0!==n?n:1,l.pointerEvents=Jn(e.pointerEvents)||""),this.hasProjected&&!an(this.latestValues)&&(l.transform=u?u({},""):"none",this.hasProjected=!1),l}var f=c.animationValues||c.latestValues;this.applyTransformsToTarget(),s.transform=Vn(this.projectionDeltaWithTransform,this.treeScale,f),u&&(s.transform=u(f,s.transform));var p=this.projectionDelta,d=p.x,h=p.y;for(var v in s.transformOrigin="".concat(100*d.origin,"% ").concat(100*h.origin,"% 0"),c.animationValues?s.opacity=c===this?null!==(i=null!==(r=f.opacity)&&void 0!==r?r:this.latestValues.opacity)&&void 0!==i?i:1:this.preserveOpacity?this.latestValues.opacity:f.opacityExit:s.opacity=c===this?null!==(o=f.opacity)&&void 0!==o?o:"":null!==(a=f.opacityExit)&&void 0!==a?a:0,Mn)if(void 0!==f[v]){var y=Mn[v],m=y.correct,g=y.applyTo,b=m(f[v],c);if(g)for(var w=g.length,x=0;x<w;x++)s[g[x]]=b;else s[v]=b}return this.options.layoutId&&(s.pointerEvents=c===this?Jn(e.pointerEvents)||"":"none"),s},e.prototype.clearSnapshot=function(){this.resumeFrom=this.snapshot=void 0}
1,e.prototype.resetTree=function(){this.root.nodes.forEach((function(e){var t;return null===(t=e.currentAnimation)||void 0===t?void 0:t.stop()})),this.root.nodes.forEach(tr),this.root.sharedNodes.clear()},e}()}function Hn(e){e.updateLayout()}function Xn(e){var t,n,r,i,o=null!==(n=null===(t=e.resumeFrom)||void 0===t?void 0:t.snapshot)&&void 0!==n?n:e.snapshot;if(e.isLead()&&e.layout&&o&&e.hasListeners("didUpdate")){var a=e.layout,s=a.actual,u=a.measured;"size"===e.options.animationType?Ln((function(e){var t=o.isShared?o.measured[e]:o.layout[e],n=xn(t);t.min=s[e].min,t.max=t.min+n})):"position"===e.options.animationType&&Ln((function(e){var t=o.isShared?o.measured[e]:o.layout[e],n=xn(s[e]);t.max=t.min+n}));var c={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};On(c,s,o.layout);var l={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};o.isShared?On(l,e.applyTransform(u,!0),o.measured):On(l,s,o.layout);var f=!Rn(c),p=!1;if(!e.resumeFrom&&(e.relativeParent=e.getClosestProjectingParent(),e.relativeParent&&!e.relativeParent.resumeFrom)){var d=e.relativeParent,h=d.snapshot,v=d.layout;if(h&&v){var y={x:{min:0,max:0},y:{min:0,max:0}};Sn(y,o.layout,h.layout);var m={x:{min:0,max:0},y:{min:0,max:0}};Sn(m,s,v.actual),Nn(y,m)||(p=!0)}}e.notifyListeners("didUpdate",{layout:s,snapshot:o,delta:l,layoutDelta:c,hasLayoutChanged:f,hasRelativeTargetChanged:p})}else e.isLead()&&(null===(i=(r=e.options).onExitComplete)||void 0===i||i.call(r));e.options.transition=void 0}function er(e){e.clearSnapshot()}function tr(e){e.clearMeasurements()}function nr(e){var t=e.options.visualElement;(null===t||void 0===t?void 0:t.getProps().onBeforeLayoutMeasure)&&t.notifyBeforeLayoutMeasure(),e.resetTransform()}function rr(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0}function ir(e){e.resolveTargetDelta()}function or(e){e.calcProjection()}function ar(e){e.resetRotation()}function sr(e){e.removeLeadSnapshot()}function ur(e,t,n){e.translate=A(t.translate,0,n),e.scale=A(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function cr(e,t,n,r){e.min=A(t.min,n.min,r),e.max=A(t.max,n.max,r)}function lr(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}var fr={duration:.45,ease:[.4,0,.1,1]};function pr(e,t){for(var n=e.root,r=e.path.length-1;r>=0;r--)if(Boolean(e.path[r].instance)){n=e.path[r];break}var i=(n&&n!==e.root?n.instance:document).querySelector('[data-projection-id="'.concat(t,'"]'));i&&e.mount(i,!0)}function dr(e){e.min=Math.round(e.min),e.max=Math.round(e.max)}function hr(e){dr(e.x),dr(e.y)}var vr=1;var yr=n(5364),mr=(0,i.createContext)({});var gr=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,r.ZT)(t,e),t.prototype.getSnapshotBeforeUpdate=function(){return this.updateProps(),null},t.prototype.componentDidUpdate=function(){},t.prototype.updateProps=function(){var e=this.props,t=e.visualElement,n=e.props;t&&t.setProps(n)},t.prototype.render=function(){return this.props.children},t}(i.Component);function br(e){var t=e.preloadedFeatures,n=e.createVisualElement,o=e.projectionNodeConstructor,p=e.useRender,d=e.useVisualState,v=e.Component;return t&&function(e){for(var t in e)null!==e[t]&&("projectionNodeConstructor"===t?a.projectionNodeConstructor=e[t]:a[t].Component=e[t])}(t),(0,i.forwardRef)((function(e,t){var y=function(e){var t,n=e.layoutId,r=null===(t=(0,i.useContext)(yr.p))||void 0===t?void 0:t.id;return r&&void 0!==n?r+"-"+n:n}(e);e=(0,r.pi)((0,r.pi)({},e),{layoutId:y});var m=(0,i.useContext)(l),w=null,x=C(e),_=m.isStatic?void 0:(0,T.h)((function(){if(Kn.hasEverUpdated)return vr++})),E=d(e,m.isStatic);return!m.isStatic&&h.j&&(x.visualElement=g(v,E,(0,r.pi)((0,r.pi)({},m),e),n),function(e,t,n,r){var o,a=t.layoutId,s=t.layout,u=t.drag,c=t.dragConstraints,l=t.layoutScroll,f=(0,i.useContext)(mr);r&&n&&!(null===n||void 0===n?void 0:n.projection)&&(n.projection=new r(e,n.getLatestValues(),null===(o=n.parent)||void 0===o?void 0:o.projection),n.projection.setOptions({layoutId:a,layout:s,alwaysMeasureLayout:Boolean(u)||c&&b(c),visualElement:n,scheduleRender:function(){return n.scheduleRender()},animationType:"string"===typeof s?s:"both",initialPromotionConfig:f,layoutScroll:l}))}(_,e,x.visualElement,o||a.projectionNodeConstructor),w=function(e,t,n){var o=[];if((0,i.useContext)(s),!t)return null;for(var l=0;l<c;l++){var f=u[l],p=a[f],d=p.isEnabled,h=p.Component;d(e)&&h&&o.push(i.createElement(h,(0,r.pi)({key:f},e,{visualElement:t})))}return o}(e,x.visualElement)),i.createElement(gr,{visualElement:x.visualElement,props:(0,r.pi)((0,r.pi)({},m),e)},w,i.createElement(f.Provider,{value:x},p(v,e,_,function(e,t,n){return(0,i.useCallback)((function(r){var i;r&&(null===(i=e.mount)||void 0===i||i.call(e,r)),t&&(r?t.mount(r):t.unmount()),n&&("function"===typeof n?n(r):b(n)&&(n.current=r))}),[t])}(E,x.visualElement,t),E,m.isStatic,x.visualElement)))}))}function wr(e){function t(t,n){return void 0===n&&(n={}),br(e(t,n))}if("undefined"===typeof Proxy)return t;var n=new Map;return new Proxy(t,{get:function(e,r){return n.has(r)||n.set(r,t(r)),n.get(r)}})}var xr=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","svg","switch","symbol","text","tspan","use","view"];function _r(e){return"string"===typeof e&&!e.includes("-")&&!!(xr.indexOf(e)>-1||/[A-Z]/.test(e))}function Er(e,t){var n=t.layout,r=t.layoutId;return Gn(e)||$n(e)||(n||void 0!==r)&&(!!Mn[e]||"opacity"===e)}var Or={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"};function kr(e){return e.startsWith("--")}var Cr=function(e,t){return t&&"number"===typeof e?t.transform(e):e};function Sr(e,t,n,r){var i,o=e.style,a=e.vars,s=e.transform,u=e.transformKeys,c=e.transformOrigin;u.length=0;var l=!1,f=!1,p=!0;for(var d in t){var h=t[d];if(kr(d))a[d]=h;else{var v=Rt[d],y=Cr(h,v);if(Gn(d)){if(l=!0,s[d]=y,u.push(d),!p)continue;h!==(null!==(i=v.default)&&void 0!==i?i:0)&&(p=!1)}else $n(d)?(c[d]=y,f=!0):o[d]=y}}l?o.transform=function(e,t,n,r){var i=e.transform,o=e.transformKeys,a=t.enableHardwareAcceleration,s=void 0===a||a,u=t.allowTransformNone,c=void 0===u||u,l="";o.sort(Un);for(var f=!1,p=o.length,d=0;d<p;d++){var h=o[d];l+="".concat(Or[h]||h,"(").concat(i[h],") "),"z"===h&&(f=!0)}return!f&&s?l+="translateZ(0)":l=l.trim(),r?l=r(i,n?"":l):c&&n&&(l="none"),l}(e,n,p,r):r?o.transform=r({},""):!t.transform&&o.transform&&(o.transform="none"),f&&(o.transformOrigin=function(e){var t=e.originX,n=void 0===t?"50%":t,r=e.originY,i=void 0===r?"50%":r,o=e.originZ,a=void 0===o?0:o;return"".concat(n," ").concat(i," ").concat(a)}(c))}var Tr=function(){return{style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}}};function jr(e,t,n){for(var r in t)M(t[r])||Er(r,n)||(e[r]=t[r])}function Ar(e,t,n){var o={};return jr(o,e.style||{},e),Object.assign(o,function(e,t,n){var o=e.transformTemplate;return(0,i.useMemo)((function(){var e={style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}};Sr(e,t,{enableHardwareAcceleration:!n},o);var i=e.vars,a=e.style;return(0,r.pi)((0,r.pi)({},i),a)}),[t])}
1(e,t,n)),e.transformValues&&(o=e.transformValues(o)),o}function Dr(e,t,n){var r={},i=Ar(e,t,n);return Boolean(e.drag)&&!1!==e.dragListener&&(r.draggable=!1,i.userSelect=i.WebkitUserSelect=i.WebkitTouchCallout="none",i.touchAction=!0===e.drag?"none":"pan-".concat("x"===e.drag?"y":"x")),r.style=i,r}var Pr=new Set(["initial","animate","exit","style","variants","transition","transformTemplate","transformValues","custom","inherit","layout","layoutId","layoutDependency","onLayoutAnimationStart","onLayoutAnimationComplete","onLayoutMeasure","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","drag","dragControls","dragListener","dragConstraints","dragDirectionLock","dragSnapToOrigin","_dragX","_dragY","dragElastic","dragMomentum","dragPropagation","dragTransition","whileDrag","onPan","onPanStart","onPanEnd","onPanSessionStart","onTap","onTapStart","onTapCancel","onHoverStart","onHoverEnd","whileFocus","whileTap","whileHover","whileInView","onViewportEnter","onViewportLeave","viewport","layoutScroll"]);function Ir(e){return Pr.has(e)}var Rr,Nr=function(e){return!Ir(e)};try{(Rr=require("@emotion/is-prop-valid").default)&&(Nr=function(e){return e.startsWith("on")?!Ir(e):Rr(e)})}catch(oa){}function Fr(e,t,n){return"string"===typeof e?e:pe.transform(t+n*e)}var Mr={offset:"stroke-dashoffset",array:"stroke-dasharray"},Vr={offset:"strokeDashoffset",array:"strokeDasharray"};function Lr(e,t,n,i){var o=t.attrX,a=t.attrY,s=t.originX,u=t.originY,c=t.pathLength,l=t.pathSpacing,f=void 0===l?1:l,p=t.pathOffset,d=void 0===p?0:p;Sr(e,(0,r._T)(t,["attrX","attrY","originX","originY","pathLength","pathSpacing","pathOffset"]),n,i),e.attrs=e.style,e.style={};var h=e.attrs,v=e.style,y=e.dimensions;h.transform&&(y&&(v.transform=h.transform),delete h.transform),y&&(void 0!==s||void 0!==u||v.transform)&&(v.transformOrigin=function(e,t,n){var r=Fr(t,e.x,e.width),i=Fr(n,e.y,e.height);return"".concat(r," ").concat(i)}(y,void 0!==s?s:.5,void 0!==u?u:.5)),void 0!==o&&(h.x=o),void 0!==a&&(h.y=a),void 0!==c&&function(e,t,n,r,i){void 0===n&&(n=1),void 0===r&&(r=0),void 0===i&&(i=!0),e.pathLength=1;var o=i?Mr:Vr;e[o.offset]=pe.transform(-r);var a=pe.transform(t),s=pe.transform(n);e[o.array]="".concat(a," ").concat(s)}(h,c,f,d,!1)}var qr=function(){return(0,r.pi)((0,r.pi)({},{style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}}),{attrs:{}})};function Br(e,t){var n=(0,i.useMemo)((function(){var n=qr();return Lr(n,t,{enableHardwareAcceleration:!1},e.transformTemplate),(0,r.pi)((0,r.pi)({},n.attrs),{style:(0,r.pi)({},n.style)})}),[t]);if(e.style){var o={};jr(o,e.style,e),n.style=(0,r.pi)((0,r.pi)({},o),n.style)}return n}function Ur(e){void 0===e&&(e=!1);return function(t,n,o,a,s,u){var c=s.latestValues,l=(_r(t)?Br:Dr)(n,c,u),f=function(e,t,n){var r={};for(var i in e)(Nr(i)||!0===n&&Ir(i)||!t&&!Ir(i)||e.draggable&&i.startsWith("onDrag"))&&(r[i]=e[i]);return r}(n,"string"===typeof t,e),p=(0,r.pi)((0,r.pi)((0,r.pi)({},f),l),{ref:a});return o&&(p["data-projection-id"]=o),(0,i.createElement)(t,p)}}var Qr=/([a-z])([A-Z])/g,Gr=function(e){return e.replace(Qr,"$1-$2").toLowerCase()};function zr(e,t,n,r){var i=t.style,o=t.vars;for(var a in Object.assign(e.style,i,r&&r.getProjectionStyles(n)),o)e.style.setProperty(a,o[a])}var $r=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength"]);function Yr(e,t,n,r){for(var i in zr(e,t,void 0,r),t.attrs)e.setAttribute($r.has(i)?i:Gr(i),t.attrs[i])}function Wr(e){var t=e.style,n={};for(var r in t)(M(t[r])||Er(r,e))&&(n[r]=t[r]);return n}function Jr(e){var t=Wr(e);for(var n in e){if(M(e[n]))t["x"===n||"y"===n?"attr"+n.toUpperCase():n]=e[n]}return t}function Kr(e){return"object"===typeof e&&"function"===typeof e.start}function Zr(e,t,n,r){var i=e.scrapeMotionValuesFromProps,o=e.createRenderState,a=e.onMount,s={latestValues:Xr(t,n,r,i),renderState:o()};return a&&(s.mount=function(e){return a(t,e,s)}),s}var Hr=function(e){return function(t,n){var r=(0,i.useContext)(f),o=(0,i.useContext)(p.O);return n?Zr(e,t,r,o):(0,T.h)((function(){return Zr(e,t,r,o)}))}};function Xr(e,t,n,i){var o={},a=!1===(null===n||void 0===n?void 0:n.initial),s=i(e);for(var u in s)o[u]=Jn(s[u]);
1var c=e.initial,l=e.animate,f=O(e),p=k(e);t&&p&&!f&&!1!==e.inherit&&(null!==c&&void 0!==c||(c=t.initial),null!==l&&void 0!==l||(l=t.animate));var d=a||!1===c,h=d?l:c;h&&"boolean"!==typeof h&&!Kr(h)&&(Array.isArray(h)?h:[h]).forEach((function(t){var n=_(e,t);if(n){var i=n.transitionEnd;n.transition;var a=(0,r._T)(n,["transitionEnd","transition"]);for(var s in a){var u=a[s];if(Array.isArray(u))u=u[d?u.length-1:0];null!==u&&(o[s]=u)}for(var s in i)o[s]=i[s]}}));return o}var ei,ti={useVisualState:Hr({scrapeMotionValuesFromProps:Jr,createRenderState:qr,onMount:function(e,t,n){var r=n.renderState,i=n.latestValues;try{r.dimensions="function"===typeof t.getBBox?t.getBBox():t.getBoundingClientRect()}catch(o){r.dimensions={x:0,y:0,width:0,height:0}}Lr(r,i,{enableHardwareAcceleration:!1},e.transformTemplate),Yr(t,r)}})},ni={useVisualState:Hr({scrapeMotionValuesFromProps:Wr,createRenderState:Tr})};function ri(e,t,n,r){return e.addEventListener(t,n,r),function(){return e.removeEventListener(t,n,r)}}function ii(e,t,n,r){(0,i.useEffect)((function(){var i=e.current;if(n&&i)return ri(i,t,n,r)}),[e,t,n,r])}function oi(e){return"undefined"!==typeof PointerEvent&&e instanceof PointerEvent?!("mouse"!==e.pointerType):e instanceof MouseEvent}function ai(e){return!!e.touches}!function(e){e.Animate="animate",e.Hover="whileHover",e.Tap="whileTap",e.Drag="whileDrag",e.Focus="whileFocus",e.InView="whileInView",e.Exit="exit"}(ei||(ei={}));var si={pageX:0,pageY:0};function ui(e,t){void 0===t&&(t="page");var n=e.touches[0]||e.changedTouches[0]||si;return{x:n[t+"X"],y:n[t+"Y"]}}function ci(e,t){return void 0===t&&(t="page"),{x:e[t+"X"],y:e[t+"Y"]}}function li(e,t){return void 0===t&&(t="page"),{point:ai(e)?ui(e,t):ci(e,t)}}var fi=function(e,t){void 0===t&&(t=!1);var n,r=function(t){return e(t,li(t))};return t?(n=r,function(e){var t=e instanceof MouseEvent;(!t||t&&0===e.button)&&n(e)}):r},pi={pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointercancel:"mousecancel",pointerover:"mouseover",pointerout:"mouseout",pointerenter:"mouseenter",pointerleave:"mouseleave"},di={pointerdown:"touchstart",pointermove:"touchmove",pointerup:"touchend",pointercancel:"touchcancel"};function hi(e){return h.j&&null===window.onpointerdown?e:h.j&&null===window.ontouchstart?di[e]:h.j&&null===window.onmousedown?pi[e]:e}function vi(e,t,n,r){return ri(e,hi(t),fi(n,"pointerdown"===t),r)}function yi(e,t,n,r){return ii(e,hi(t),n&&fi(n,"pointerdown"===t),r)}function mi(e){var t=null;return function(){return null===t&&(t=e,function(){t=null})}}var gi=mi("dragHorizontal"),bi=mi("dragVertical");function wi(e){var t=!1;if("y"===e)t=bi();else if("x"===e)t=gi();else{var n=gi(),r=bi();n&&r?t=function(){n(),r()}:(n&&n(),r&&r())}return t}function xi(){var e=wi(!0);return!e||(e(),!1)}function _i(e,t,n){return function(r,i){var o;oi(r)&&!xi()&&(null===(o=e.animationState)||void 0===o||o.setActive(ei.Hover,t),null===n||void 0===n||n(r,i))}}var Ei=function(e,t){return!!t&&(e===t||Ei(e,t.parentElement))},Oi=n(5411);var ki=new WeakMap,Ci=new WeakMap,Si=function(e){var t;null===(t=ki.get(e.target))||void 0===t||t(e)},Ti=function(e){e.forEach(Si)};function ji(e,t,n){var i=function(e){var t=e.root,n=(0,r._T)(e,["root"]),i=t||document;Ci.has(i)||Ci.set(i,{});var o=Ci.get(i),a=JSON.stringify(n);return o[a]||(o[a]=new IntersectionObserver(Ti,(0,r.pi)({root:t},n))),o[a]}(t);return ki.set(e,n),i.observe(e),function(){ki.delete(e),i.unobserve(e)}}var Ai={some:0,all:1};function Di(e,t,n,r){var o=r.root,a=r.margin,s=r.amount,u=void 0===s?"some":s,c=r.once;(0,i.useEffect)((function(){if(e){var r={root:null===o||void 0===o?void 0:o.current,rootMargin:a,threshold:"number"===typeof u?u:Ai[u]};return ji(n.getInstance(),r,(function(e){var r,i=e.isIntersecting;if(t.isInView!==i&&(t.isInView=i,!c||i||!t.hasEnteredView)){i&&(t.hasEnteredView=!0),null===(r=n.animationState)||void 0===r||r.setActive(ei.InView,i);var o=n.getProps(),a=i?o.onViewportEnter:o.onViewportLeave;null===a||void 0===a||a(e)}}))}}),[e,o,a,u])}function Pi(e,t,n,r){var o=r.fallback,a=void 0===o||o;(0,i.useEffect)((function(){e&&a&&requestAnimationFrame((function(){var e;t.hasEnteredView=!0;var r=n.getProps().onViewportEnter;null===r||void 0===r||r(null),null===(e=n.animationState)||void 0===e||e.setActive(ei.InView,!0)}))}),[e])}var Ii=function(e){return function(t){return e(t),null}},Ri={inView:Ii((function(e){var t=e.visualElement,n=e.whileInView,r=e.onViewportEnter,o=e.onViewportLeave,a=e.viewport,s=void 0===a?{}:a,u=(0,i.useRef)({hasEnteredView:!1,isInView:!1}),c=Boolean(n||r||o);
1s.once&&u.current.hasEnteredView&&(c=!1),("undefined"===typeof IntersectionObserver?Pi:Di)(c,u.current,t,s)})),tap:Ii((function(e){var t=e.onTap,n=e.onTapStart,r=e.onTapCancel,o=e.whileTap,a=e.visualElement,s=t||n||r||o,u=(0,i.useRef)(!1),c=(0,i.useRef)(null);function l(){var e;null===(e=c.current)||void 0===e||e.call(c),c.current=null}function f(){var e;return l(),u.current=!1,null===(e=a.animationState)||void 0===e||e.setActive(ei.Tap,!1),!xi()}function p(e,n){f()&&(Ei(a.getInstance(),e.target)?null===t||void 0===t||t(e,n):null===r||void 0===r||r(e,n))}function d(e,t){f()&&(null===r||void 0===r||r(e,t))}yi(a,"pointerdown",s?function(e,t){var r;l(),u.current||(u.current=!0,c.current=Re(vi(window,"pointerup",p),vi(window,"pointercancel",d)),null===(r=a.animationState)||void 0===r||r.setActive(ei.Tap,!0),null===n||void 0===n||n(e,t))}:void 0),(0,Oi.z)(l)})),focus:Ii((function(e){var t=e.whileFocus,n=e.visualElement;ii(n,"focus",t?function(){var e;null===(e=n.animationState)||void 0===e||e.setActive(ei.Focus,!0)}:void 0),ii(n,"blur",t?function(){var e;null===(e=n.animationState)||void 0===e||e.setActive(ei.Focus,!1)}:void 0)})),hover:Ii((function(e){var t=e.onHoverStart,n=e.onHoverEnd,r=e.whileHover,i=e.visualElement;yi(i,"pointerenter",t||r?_i(i,!0,t):void 0),yi(i,"pointerleave",n||r?_i(i,!1,n):void 0)}))},Ni=n(6316);function Fi(){var e=(0,i.useContext)(p.O);if(null===e)return[!0,null];var t=e.isPresent,n=e.onExitComplete,r=e.register,o=(0,Ni.M)();(0,i.useEffect)((function(){return r(o)}),[]);return!t&&n?[!1,function(){return null===n||void 0===n?void 0:n(o)}]:[!0]}function Mi(e,t){if(!Array.isArray(t))return!1;var n=t.length;if(n!==e.length)return!1;for(var r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}var Vi=function(e){return/^0[^.\s]+$/.test(e)},Li=function(e){return function(t){return t.test(e)}},qi=[ee,pe,fe,le,he,de,{test:function(e){return"auto"===e},parse:function(e){return e}}],Bi=function(e){return qi.find(Li(e))},Ui=(0,r.ev)((0,r.ev)([],(0,r.CR)(qi),!1),[Oe,De],!1),Qi=function(e){return Ui.find(Li(e))};function Gi(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,F(n))}function zi(e,t){var n=E(e,t),i=n?e.makeTargetAnimatable(n,!1):{},o=i.transitionEnd,a=void 0===o?{}:o;i.transition;var s=(0,r._T)(i,["transitionEnd","transition"]);for(var u in s=(0,r.pi)((0,r.pi)({},s),a)){Gi(e,u,Lt(s[u]))}}function $i(e,t){if(t)return(t[e]||t.default||t).from}function Yi(e,t,n){var i;void 0===n&&(n={});var o=E(e,t,n.custom),a=(o||{}).transition,s=void 0===a?e.getDefaultTransition()||{}:a;n.transitionOverride&&(s=n.transitionOverride);var u=o?function(){return Wi(e,o,n)}:function(){return Promise.resolve()},c=(null===(i=e.variantChildren)||void 0===i?void 0:i.size)?function(i){void 0===i&&(i=0);var o=s.delayChildren,a=void 0===o?0:o,u=s.staggerChildren,c=s.staggerDirection;return function(e,t,n,i,o,a){void 0===n&&(n=0);void 0===i&&(i=0);void 0===o&&(o=1);var s=[],u=(e.variantChildren.size-1)*i,c=1===o?function(e){return void 0===e&&(e=0),e*i}:function(e){return void 0===e&&(e=0),u-e*i};return Array.from(e.variantChildren).sort(Ji).forEach((function(e,i){s.push(Yi(e,t,(0,r.pi)((0,r.pi)({},a),{delay:n+c(i)})).then((function(){return e.notifyAnimationComplete(t)})))})),Promise.all(s)}(e,t,a+i,u,c,n)}:function(){return Promise.resolve()},l=s.when;if(l){var f=(0,r.CR)("beforeChildren"===l?[u,c]:[c,u],2),p=f[0],d=f[1];return p().then(d)}return Promise.all([u(),c(n.delay)])}function Wi(e,t,n){var i,o=void 0===n?{}:n,a=o.delay,s=void 0===a?0:a,u=o.transitionOverride,c=o.type,l=e.makeTargetAnimatable(t),f=l.transition,p=void 0===f?e.getDefaultTransition():f,d=l.transitionEnd,h=(0,r._T)(l,["transition","transitionEnd"]);u&&(p=u);var v=[],y=c&&(null===(i=e.animationState)||void 0===i?void 0:i.getState()[c]);for(var m in h){var g=e.getValue(m),b=h[m];if(!(!g||void 0===b||y&&Ki(y,m))){var w=(0,r.pi)({delay:s},p);e.shouldReduceMotion&&Gn(m)&&(w=(0,r.pi)((0,r.pi)({},w),{type:!1,delay:0}));var x=$t(m,g,b,w);v.push(x)}}return Promise.all(v).then((function(){d&&zi(e,d)}))}function Ji(e,t){return e.sortNodePosition(t)}function Ki(e,t){var n=e.protectedKeys,r=e.needsAnimating,i=n.hasOwnProperty(t)&&!0!==r[t];return r[t]=!1,i}var Zi=[ei.Animate,ei.InView,ei.Focus,ei.Hover,ei.Tap,ei.Drag,ei.Exit],Hi=(0,r.ev)([],(0,r.CR)(Zi),!1).reverse(),Xi=Zi.length;function eo(e){return function(t){return Promise.all(t.map((function(t){var n=t.animation,r=t.options;return function(e,t,n){var r;if(void 0===n&&(n={}),e.notifyAnimationStart(t),Array.isArray(t)){var i=t.map((function(t){return Yi(e,t,n
1)}));r=Promise.all(i)}else if("string"===typeof t)r=Yi(e,t,n);else{var o="function"===typeof t?E(e,t,n.custom):t;r=Wi(e,o,n)}return r.then((function(){return e.notifyAnimationComplete(t)}))}(e,n,r)})))}}function to(e){var t=eo(e),n=function(){var e;return(e={})[ei.Animate]=no(!0),e[ei.InView]=no(),e[ei.Hover]=no(),e[ei.Tap]=no(),e[ei.Drag]=no(),e[ei.Focus]=no(),e[ei.Exit]=no(),e}(),i={},o=!0,a=function(t,n){var i=E(e,n);if(i){i.transition;var o=i.transitionEnd,a=(0,r._T)(i,["transition","transitionEnd"]);t=(0,r.pi)((0,r.pi)((0,r.pi)({},t),a),o)}return t};function s(s,u){for(var c,l=e.getProps(),f=e.getVariantContext(!0)||{},p=[],d=new Set,h={},v=1/0,y=function(t){var i=Hi[t],y=n[i],m=null!==(c=l[i])&&void 0!==c?c:f[i],g=x(m),b=i===u?y.isActive:null;!1===b&&(v=t);var _=m===f[i]&&m!==l[i]&&g;if(_&&o&&e.manuallyAnimateOnMount&&(_=!1),y.protectedKeys=(0,r.pi)({},h),!y.isActive&&null===b||!m&&!y.prevProp||Kr(m)||"boolean"===typeof m)return"continue";var E=function(e,t){if("string"===typeof t)return t!==e;if(w(t))return!Mi(t,e);return!1}(y.prevProp,m),O=E||i===u&&y.isActive&&!_&&g||t>v&&g,k=Array.isArray(m)?m:[m],C=k.reduce(a,{});!1===b&&(C={});var S=y.prevResolvedValues,T=void 0===S?{}:S,j=(0,r.pi)((0,r.pi)({},T),C),A=function(e){O=!0,d.delete(e),y.needsAnimating[e]=!0};for(var D in j){var P=C[D],I=T[D];h.hasOwnProperty(D)||(P!==I?Et(P)&&Et(I)?!Mi(P,I)||E?A(D):y.protectedKeys[D]=!0:void 0!==P?A(D):d.add(D):void 0!==P&&d.has(D)?A(D):y.protectedKeys[D]=!0)}y.prevProp=m,y.prevResolvedValues=C,y.isActive&&(h=(0,r.pi)((0,r.pi)({},h),C)),o&&e.blockInitialAnimation&&(O=!1),O&&!_&&p.push.apply(p,(0,r.ev)([],(0,r.CR)(k.map((function(e){return{animation:e,options:(0,r.pi)({type:i},s)}}))),!1))},m=0;m<Xi;m++)y(m);if(i=(0,r.pi)({},h),d.size){var g={};d.forEach((function(t){var n=e.getBaseTarget(t);void 0!==n&&(g[t]=n)})),p.push({animation:g})}var b=Boolean(p.length);return o&&!1===l.initial&&!e.manuallyAnimateOnMount&&(b=!1),o=!1,b?t(p):Promise.resolve()}return{isAnimated:function(e){return void 0!==i[e]},animateChanges:s,setActive:function(t,r,i){var o;if(n[t].isActive===r)return Promise.resolve();null===(o=e.variantChildren)||void 0===o||o.forEach((function(e){var n;return null===(n=e.animationState)||void 0===n?void 0:n.setActive(t,r)})),n[t].isActive=r;var a=s(i,t);for(var u in n)n[u].protectedKeys={};return a},setAnimateFunction:function(n){t=n(e)},getState:function(){return n}}}function no(e){return void 0===e&&(e=!1),{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}var ro={animation:Ii((function(e){var t=e.visualElement,n=e.animate;t.animationState||(t.animationState=to(t)),Kr(n)&&(0,i.useEffect)((function(){return n.subscribe(t)}),[n])})),exit:Ii((function(e){var t=e.custom,n=e.visualElement,o=(0,r.CR)(Fi(),2),a=o[0],s=o[1],u=(0,i.useContext)(p.O);(0,i.useEffect)((function(){var e,r;n.isPresent=a;var i=null===(e=n.animationState)||void 0===e?void 0:e.setActive(ei.Exit,!a,{custom:null!==(r=null===u||void 0===u?void 0:u.custom)&&void 0!==r?r:t});!a&&(null===i||void 0===i||i.then(s))}),[a])}))},io=function(){function e(e,t,n){var i=this,o=(void 0===n?{}:n).transformPagePoint;if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=function(){if(i.lastMoveEvent&&i.lastMoveEventInfo){var e=so(i.lastMoveEventInfo,i.history),t=null!==i.startEvent,n=wn(e.offset,{x:0,y:0})>=3;if(t||n){var o=e.point,a=(0,j.$B)().timestamp;i.history.push((0,r.pi)((0,r.pi)({},o),{timestamp:a}));var s=i.handlers,u=s.onStart,c=s.onMove;t||(u&&u(i.lastMoveEvent,e),i.startEvent=i.lastMoveEvent),c&&c(i.lastMoveEvent,e)}}},this.handlePointerMove=function(e,t){i.lastMoveEvent=e,i.lastMoveEventInfo=oo(t,i.transformPagePoint),oi(e)&&0===e.buttons?i.handlePointerUp(e,t):j.ZP.update(i.updatePoint,!0)},this.handlePointerUp=function(e,t){i.end();var n=i.handlers,r=n.onEnd,o=n.onSessionEnd,a=so(oo(t,i.transformPagePoint),i.history);i.startEvent&&r&&r(e,a),o&&o(e,a)},!(ai(e)&&e.touches.length>1)){this.handlers=t,this.transformPagePoint=o;var a=oo(li(e),this.transformPagePoint),s=a.point,u=(0,j.$B)().timestamp;this.history=[(0,r.pi)((0,r.pi)({},s),{timestamp:u})];var c=t.onSessionStart;c&&c(e,so(a,this.history)),this.removeListeners=Re(vi(window,"pointermove",this.handlePointerMove),vi(window,"pointerup",this.handlePointerUp),vi(window,"pointercancel",this.handlePointerUp))}}return e.prototype.updateHandlers=function(e){this.handlers=e},e.prototype.end=function(){this.removeListeners&&this.removeListeners(),j.qY.update(this.updatePoint)},e}();function oo(e,t){return t?{point:t(e.point)}:e}function ao(e,t){return{x:e.x-t.x,y:e.y-t.y}}function so(e,t){var n=e.point;return{point:n,delta:ao(n,co(t)),offset:ao(n,uo(t)),velocity:lo(t,.1)}}function uo(e){return e[0]}function co(e){return e[e.length-1]}function lo(e,t){if(e.length<2)return{x:0,y:0};for(var n=e.length-1,r=null,i=co(e);n>=0&&(r=e[n],!(i.timestamp-r.timestamp>pt(t)));)n--;if(!r)return{x:0,y:0};var o=(i.timestamp-r.timestamp)/1e3;if(0===o)return{x:0,y:0};var a={x:(i.x-r.x)/o,y:(i.y-r.y)/o};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}function fo(e,t,n){return{min:void 0!==t?e.min+t:void 0,max:void 0!==n?e.max+n-(e.max-e.min):void 0}}function po(e,t){var n,i=t.min-e.min,o=t.max-e.max;return t.max-t.min<e.max-e.min&&(i=(n=(0,r.CR)([o,i],2))[0],o=n[1]),{min:i,max:o}}var ho=.35;
1function vo(e,t,n){return{min:yo(e,t),max:yo(e,n)}}function yo(e,t){var n;return"number"===typeof e?e:null!==(n=e[t])&&void 0!==n?n:0}function mo(e){var t=e.top;return{x:{min:e.left,max:e.right},y:{min:t,max:e.bottom}}}function go(e,t){return mo(function(e,t){if(!t)return e;var n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}(e.getBoundingClientRect(),t))}var bo=new WeakMap,wo=function(){function e(e){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic={x:{min:0,max:0},y:{min:0,max:0}},this.visualElement=e}return e.prototype.start=function(e,t){var n=this,r=(void 0===t?{}:t).snapToCursor,i=void 0!==r&&r;if(!1!==this.visualElement.isPresent){this.panSession=new io(e,{onSessionStart:function(e){n.stopAnimation(),i&&n.snapToCursor(li(e,"page").point)},onStart:function(e,t){var r,i=n.getProps(),o=i.drag,a=i.dragPropagation,s=i.onDragStart;(!o||a||(n.openGlobalLock&&n.openGlobalLock(),n.openGlobalLock=wi(o),n.openGlobalLock))&&(n.isDragging=!0,n.currentDirection=null,n.resolveConstraints(),n.visualElement.projection&&(n.visualElement.projection.isAnimationBlocked=!0,n.visualElement.projection.target=void 0),Ln((function(e){var t,r,i=n.getAxisMotionValue(e).get()||0;if(fe.test(i)){var o=null===(r=null===(t=n.visualElement.projection)||void 0===t?void 0:t.layout)||void 0===r?void 0:r.actual[e];if(o)i=xn(o)*(parseFloat(i)/100)}n.originPoint[e]=i})),null===s||void 0===s||s(e,t),null===(r=n.visualElement.animationState)||void 0===r||r.setActive(ei.Drag,!0))},onMove:function(e,t){var r=n.getProps(),i=r.dragPropagation,o=r.dragDirectionLock,a=r.onDirectionLock,s=r.onDrag;if(i||n.openGlobalLock){var u=t.offset;if(o&&null===n.currentDirection)return n.currentDirection=function(e,t){void 0===t&&(t=10);var n=null;Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x");return n}(u),void(null!==n.currentDirection&&(null===a||void 0===a||a(n.currentDirection)));n.updateAxis("x",t.point,u),n.updateAxis("y",t.point,u),n.visualElement.syncRender(),null===s||void 0===s||s(e,t)}},onSessionEnd:function(e,t){return n.stop(e,t)}},{transformPagePoint:this.visualElement.getTransformPagePoint()})}},e.prototype.stop=function(e,t){var n=this.isDragging;if(this.cancel(),n){var r=t.velocity;this.startAnimation(r);var i=this.getProps().onDragEnd;null===i||void 0===i||i(e,t)}},e.prototype.cancel=function(){var e,t;this.isDragging=!1,this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!1),null===(e=this.panSession)||void 0===e||e.end(),this.panSession=void 0,!this.getProps().dragPropagation&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),null===(t=this.visualElement.animationState)||void 0===t||t.setActive(ei.Drag,!1)},e.prototype.updateAxis=function(e,t,n){var r=this.getProps().drag;if(n&&xo(e,r,this.currentDirection)){var i=this.getAxisMotionValue(e),o=this.originPoint[e]+n[e];this.constraints&&this.constraints[e]&&(o=function(e,t,n){var r=t.min,i=t.max;return void 0!==r&&e<r?e=n?A(r,e,n.min):Math.max(e,r):void 0!==i&&e>i&&(e=n?A(i,e,n.max):Math.min(e,i)),e}(o,this.constraints[e],this.elastic[e])),i.set(o)}},e.prototype.resolveConstraints=function(){var e=this,t=this.getProps(),n=t.dragConstraints,r=t.dragElastic,i=(this.visualElement.projection||{}).layout,o=this.constraints;n&&b(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):this.constraints=!(!n||!i)&&function(e,t){var n=t.top,r=t.left,i=t.bottom,o=t.right;return{x:fo(e.x,r,o),y:fo(e.y,n,i)}}(i.actual,n),this.elastic=function(e){return void 0===e&&(e=ho),!1===e?e=0:!0===e&&(e=ho),{x:vo(e,"left","right"),y:vo(e,"top","bottom")}}(r),o!==this.constraints&&i&&this.constraints&&!this.hasMutatedConstraints&&Ln((function(t){e.getAxisMotionValue(t)&&(e.constraints[t]=function(e,t){var n={};return void 0!==t.min&&(n.min=t.min-e.min),void 0!==t.max&&(n.max=t.max-e.min),n}(i.actual[t],e.constraints[t]))}))},e.prototype.resolveRefConstraints=function(){var e=this.getProps(),t=e.dragConstraints,n=e.onMeasureDragConstraints;if(!t||!b(t))return!1;var r=t.current,i=this.visualElement.projection;if(!i||!i.layout)return!1;var o=function(e,t,n){var r=go(e,n),i=t.scroll;return i&&(pn(r.x,i.x),pn(r.y,i.y)),r}(r,i.root,this.visualElement.getTransformPagePoint()),a=function(e,t){return{x:po(e.x,t.x),y:po(e.y,t.y)}}(i.layout.actual,o);if(n){var s=n(function(e){var t=e.x,n=e.y;return{top:n.min,right:t.max,bottom:n.max,left:t.min}}(a));this.hasMutatedConstraints=!!s,s&&(a=mo(s))}return a},e.prototype.startAnimation=function(e){var t=this,n=this.getProps(),i=n.drag,o=n.dragMomentum,a=n.dragElastic,s=n.dragTransition,u=n.dragSnapToOrigin,c=n.onDragTransitionEnd,l=this.constraints||{},f=Ln((function(n){var c;if(xo(n,i,t.currentDirection)){var f=null!==(c=null===l||void 0===l?void 0:l[n])&&void 0!==c?c:{};u&&(f={min:0,max:0});var p=a?200:1e6,d=a?40:1e7,h=(0,r.pi)((0,r.pi)({type:"inertia",velocity:o?e[n]:0,bounceStiffness:p,bounceDamping:d,timeConstant:750,restDelta:1,restSpeed:10},s),f);return t.startAxisValueAnimation(n,h)}}));return Promise.all(f).then(c)},e.prototype.startAxisValueAnimation=function(e,t){return $t(e,this.getAxisMotionValue(e),0,t)},e.prototype.stopAnimation=function(){var e=this;Ln((function(t){return e.getAxisMotionValue(t).stop()}))},e.prototype.getAxisMotionValue=function(e){var t,n,r="_drag"+e.toUpperCase(),i=this.visualElement.getProps()[r];return i||this.visualElement.getValue(e,null!==(n=null===(t=this.visualElement.getProps().initial)||void 0===t?void 0:t[e])&&void 0!==n?n:0)},e.prototype.snapToCursor=function(e){var t=this;Ln((function(n){if(xo(n,t.getProps().drag,t.currentDirection)){var r=t.visualElement.projection,i=t.getAxisMotionValue(n);if(r&&r.layout){var o=r.layout.actual[n],a=o.min,s=o.max;i.set(e[n]-A(a,s,.5))}}}))},e.prototype.scalePositionWithinConstraints=function(){var e,t=this,n=this.getProps(),r=n.drag,i=n.dragConstraints,o=this.visualElement.projection;if(b(i)&&o&&this.constraints){this.stopAnimation();var a={x:0,y:0};Ln((function(e){var n=t.getAxisMotionValue(e);if(n){var r=n.get();a[e]=function(e,t){var n=.5,r=xn(e),i=xn(t);return i>r?n=Y(t.min,t.max-r,e.min):r>i&&(n=Y(e.min,e.max-i,t.min)),V(0,1,n)}({min:r,max:r},t.constraints[e])}}));var s=this.visualElement.getProps().transformTemplate;this.visualElement.getInstance().style.transform=s?s({},""):"none",null===(e=o.root)||void 0===e||e.updateScroll(),o.updateLayout(),this.resolveConstraints(),Ln((function(e){if(xo(e,r,null)){var n=t.getAxisMotionValue(e),i=t.constraints[e],o=i.min,s=i.max;n.set(A(o,s,a[e]))}}))}},e.prototype.addListeners=function(){var e,t=this;bo.set(this.visualElement,this);var n=vi(this.visualElement.getInstance(),"pointerdown",(function(e){var n=t.getProps(),r=n.drag,i=n.dragListener;r&&(void 0===i||i)&&t.start(e)})),r=function(){b(t.getProps().dragConstraints)&&(t.constraints=t.resolveRefConstraints())},i=this.visualElement.projection,o=i.addEventListener("measure",r);i&&!i.layout&&(null===(e=i.root)||void 0===e||e.updateScroll(),i.updateLayout()),r();var a=ri(window,"resize",(function(){t.scalePositionWithinConstraints()}));return i.addEventListener("didUpdate",(function(e){var n=e.delta,r=e.hasLayoutChanged;t.isDragging&&r&&(Ln((function(e){var r=t.getAxisMotionValue(e);r&&(t.originPoint[e]+=n[e].translate,r.set(r.get()+n[e].translate))})),t.visualElement.syncRender())})),function(){a(),n(),o()}},e.prototype.getProps=function(){var e=this.visualElement.getProps(),t=e.drag,n=void 0!==t&&t,i=e.dragDirectionLock,o=void 0!==i&&i,a=e.dragPropagation,s=void 0!==a&&a,u=e.dragConstraints,c=void 0!==u&&u,l=e.dragElastic,f=void 0===l?ho:l,p=e.dragMomentum,d=void 0===p||p;return(0,r.pi)((0,r.pi)({},e),{drag:n,dragDirectionLock:o,dragPropagation:s,dragConstraints:c,dragElastic:f,dragMomentum:d})},e}();
1function xo(e,t,n){return(!0===t||t===e)&&(null===n||n===e)}var _o={pan:Ii((function(e){var t=e.onPan,n=e.onPanStart,r=e.onPanEnd,o=e.onPanSessionStart,a=e.visualElement,s=t||n||r||o,u=(0,i.useRef)(null),c=(0,i.useContext)(l).transformPagePoint,f={onSessionStart:o,onStart:n,onMove:t,onEnd:function(e,t){u.current=null,r&&r(e,t)}};(0,i.useEffect)((function(){null!==u.current&&u.current.updateHandlers(f)})),yi(a,"pointerdown",s&&function(e){u.current=new io(e,f,{transformPagePoint:c})}),(0,Oi.z)((function(){return u.current&&u.current.end()}))})),drag:Ii((function(e){var t=e.dragControls,n=e.visualElement,r=(0,T.h)((function(){return new wo(n)}));(0,i.useEffect)((function(){return t&&t.subscribe(r)}),[r,t]),(0,i.useEffect)((function(){return r.addListeners()}),[r])}))},Eo=["LayoutMeasure","BeforeLayoutMeasure","LayoutUpdate","ViewportBoxUpdate","Update","Render","AnimationComplete","LayoutAnimationComplete","AnimationStart","LayoutAnimationStart","SetAxisTarget","Unmount"];var Oo=function(e){var t=e.treeType,n=void 0===t?"":t,i=e.build,o=e.getBaseTarget,a=e.makeTargetAnimatable,s=e.measureViewportBox,u=e.render,c=e.readValueFromInstance,l=e.removeValueFromRenderState,f=e.sortNodePosition,p=e.scrapeMotionValuesFromProps;return function(e,t){var d=e.parent,h=e.props,v=e.presenceId,y=e.blockInitialAnimation,m=e.visualState,g=e.shouldReduceMotion;void 0===t&&(t={});var b,w,_=!1,E=m.latestValues,C=m.renderState,S=function(){var e=Eo.map((function(){return new R})),t={},n={clearAllListeners:function(){return e.forEach((function(e){return e.clear()}))},updatePropListeners:function(e){Eo.forEach((function(r){var i,o="on"+r,a=e[o];null===(i=t[r])||void 0===i||i.call(t),a&&(t[r]=n[o](a))}))}};return e.forEach((function(e,t){n["on"+Eo[t]]=function(t){return e.add(t)},n["notify"+Eo[t]]=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return e.notify.apply(e,(0,r.ev)([],(0,r.CR)(t),!1))}})),n}(),T=new Map,A=new Map,D={},P=(0,r.pi)({},E);function I(){b&&_&&(N(),u(b,C,h.style,z.projection))}function N(){i(z,C,E,t,h)}function V(){S.notifyUpdate(E)}function L(e,t){var n=t.onChange((function(t){E[e]=t,h.onUpdate&&j.ZP.update(V,!1,!0)})),r=t.onRenderRequest(z.scheduleRender);A.set(e,(function(){n(),r()}))}var q=p(h);for(var B in q){var U=q[B];void 0!==E[B]&&M(U)&&U.set(E[B],!1)}var Q=O(h),G=k(h),z=(0,r.pi)((0,r.pi)({treeType:n,current:null,depth:d?d.depth+1:0,parent:d,children:new Set,presenceId:v,shouldReduceMotion:g,variantChildren:G?new Set:void 0,isVisible:void 0,manuallyAnimateOnMount:Boolean(null===d||void 0===d?void 0:d.isMounted()),blockInitialAnimation:y,isMounted:function(){return Boolean(b)},mount:function(e){_=!0,b=z.current=e,z.projection&&z.projection.mount(e),G&&d&&!Q&&(w=null===d||void 0===d?void 0:d.addVariantChild(z)),T.forEach((function(e,t){return L(t,e)})),null===d||void 0===d||d.children.add(z),z.setProps(h)},unmount:function(){var e;null===(e=z.projection)||void 0===e||e.unmount(),j.qY.update(V),j.qY.render(I),A.forEach((function(e){return e()})),null===w||void 0===w||w(),null===d||void 0===d||d.children.delete(z),S.clearAllListeners(),b=void 0,_=!1},addVariantChild:function(e){var t,n=z.getClosestVariantNode();if(n)return null===(t=n.variantChildren)||void 0===t||t.add(e),function(){return n.variantChildren.delete(e)}},sortNodePosition:function(e){return f&&n===e.treeType?f(z.getInstance(),e.getInstance()):0},getClosestVariantNode:function(){return G?z:null===d||void 0===d?void 0:d.getClosestVariantNode()},getLayoutId:function(){return h.layoutId},getInstance:function(){return b},getStaticValue:function(e){return E[e]},setStaticValue:function(e,t){return E[e]=t},getLatestValues:function(){return E},setVisibility:function(e){z.isVisible!==e&&(z.isVisible=e,z.scheduleRender())},makeTargetAnimatable:function(e,t){return void 0===t&&(t=!0),a(z,e,h,t)},measureViewportBox:function(){return s(b,h)},addValue:function(e,t){z.hasValue(e)&&z.removeValue(e),T.set(e,t),E[e]=t.get(),L(e,t)},removeValue:function(e){var t;T.delete(e),null===(t=A.get(e))||void 0===t||t(),A.delete(e),delete E[e],l(e,C)},hasValue:function(e){return T.has(e)},getValue:function(e,t){var n=T.get(e);return void 0===n&&void 0!==t&&(n=F(t),z.addValue(e,n)),n}
1,forEachValue:function(e){return T.forEach(e)},readValue:function(e){var n;return null!==(n=E[e])&&void 0!==n?n:c(b,e,t)},setBaseTarget:function(e,t){P[e]=t},getBaseTarget:function(e){if(o){var t=o(h,e);if(void 0!==t&&!M(t))return t}return P[e]}},S),{build:function(){return N(),C},scheduleRender:function(){j.ZP.render(I,!1,!0)},syncRender:I,setProps:function(e){(e.transformTemplate||h.transformTemplate)&&z.scheduleRender(),h=e,S.updatePropListeners(e),D=function(e,t,n){var r;for(var i in t){var o=t[i],a=n[i];if(M(o))e.addValue(i,o);else if(M(a))e.addValue(i,F(o));else if(a!==o)if(e.hasValue(i)){var s=e.getValue(i);!s.hasAnimated&&s.set(o)}else e.addValue(i,F(null!==(r=e.getStaticValue(i))&&void 0!==r?r:o))}for(var i in n)void 0===t[i]&&e.removeValue(i);return t}(z,p(h),D)},getProps:function(){return h},getVariant:function(e){var t;return null===(t=h.variants)||void 0===t?void 0:t[e]},getDefaultTransition:function(){return h.transition},getTransformPagePoint:function(){return h.transformPagePoint},getVariantContext:function(e){if(void 0===e&&(e=!1),e)return null===d||void 0===d?void 0:d.getVariantContext();if(!Q){var t=(null===d||void 0===d?void 0:d.getVariantContext())||{};return void 0!==h.initial&&(t.initial=h.initial),t}for(var n={},r=0;r<Co;r++){var i=ko[r],o=h[i];(x(o)||!1===o)&&(n[i]=o)}return n}});return z}},ko=(0,r.ev)(["initial"],(0,r.CR)(Zi),!1),Co=ko.length;function So(e){return"string"===typeof e&&e.startsWith("var(--")}var To=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function jo(e,t,n){void 0===n&&(n=1),'Max CSS variable fallback depth detected in property "'.concat(e,'". This may indicate a circular fallback dependency.');var i=(0,r.CR)(function(e){var t=To.exec(e);if(!t)return[,];var n=(0,r.CR)(t,3);return[n[1],n[2]]}(e),2),o=i[0],a=i[1];if(o){var s=window.getComputedStyle(t).getPropertyValue(o);return s?s.trim():So(a)?jo(a,t,n+1):a}}var Ao,Do=new Set(["width","height","top","left","right","bottom","x","y"]),Po=function(e){return Do.has(e)},Io=function(e,t){e.set(t,!1),e.set(t)},Ro=function(e){return e===ee||e===pe};!function(e){e.width="width",e.height="height",e.left="left",e.right="right",e.top="top",e.bottom="bottom"}(Ao||(Ao={}));var No=function(e,t){return parseFloat(e.split(", ")[t])},Fo=function(e,t){return function(n,r){var i=r.transform;if("none"===i||!i)return 0;var o=i.match(/^matrix3d\((.+)\)$/);if(o)return No(o[1],t);var a=i.match(/^matrix\((.+)\)$/);return a?No(a[1],e):0}},Mo=new Set(["x","y","z"]),Vo=Bn.filter((function(e){return!Mo.has(e)}));var Lo={width:function(e,t){var n=e.x,r=t.paddingLeft,i=void 0===r?"0":r,o=t.paddingRight,a=void 0===o?"0":o;return n.max-n.min-parseFloat(i)-parseFloat(a)},height:function(e,t){var n=e.y,r=t.paddingTop,i=void 0===r?"0":r,o=t.paddingBottom,a=void 0===o?"0":o;return n.max-n.min-parseFloat(i)-parseFloat(a)},top:function(e,t){var n=t.top;return parseFloat(n)},left:function(e,t){var n=t.left;return parseFloat(n)},bottom:function(e,t){var n=e.y,r=t.top;return parseFloat(r)+(n.max-n.min)},right:function(e,t){var n=e.x,r=t.left;return parseFloat(r)+(n.max-n.min)},x:Fo(4,13),y:Fo(5,14)},qo=function(e,t,n,i){void 0===n&&(n={}),void 0===i&&(i={}),t=(0,r.pi)({},t),i=(0,r.pi)({},i);var o=Object.keys(t).filter(Po),a=[],s=!1,u=[];if(o.forEach((function(r){var o=e.getValue(r);if(e.hasValue(r)){var c,l=n[r],f=Bi(l),p=t[r];if(Et(p)){var d=p.length,h=null===p[0]?1:0;l=p[h],f=Bi(l);for(var v=h;v<d;v++)c?Bi(p[v]):(c=Bi(p[v]))===f||Ro(f)&&Ro(c)}else c=Bi(p);if(f!==c)if(Ro(f)&&Ro(c)){var y=o.get();"string"===typeof y&&o.set(parseFloat(y)),"string"===typeof p?t[r]=parseFloat(p):Array.isArray(p)&&c===pe&&(t[r]=p.map(parseFloat))}else(null===f||void 0===f?void 0:f.transform)&&(null===c||void 0===c?void 0:c.transform)&&(0===l||0===p)?0===l?o.set(c.transform(l)):t[r]=f.transform(p):(s||(a=function(e){var t=[];return Vo.forEach((function(n){var r=e.getValue(n);void 0!==r&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))})),t.length&&e.syncRender(),t}(e),s=!0),u.push(r),i[r]=void 0!==i[r]?i[r]:t[r],Io(o,p))}})),u.length){var c=function(e,t,n){var r=t.measureViewportBox(),i=t.getInstance(),o=getComputedStyle(i),a=o.display,s={};"none"===a&&t.setStaticValue("display",e.display||"block"),n.forEac
1h((function(e){s[e]=Lo[e](r,o)})),t.syncRender();var u=t.measureViewportBox();return n.forEach((function(n){var r=t.getValue(n);Io(r,s[n]),e[n]=Lo[n](u,o)})),e}(t,e,u);return a.length&&a.forEach((function(t){var n=(0,r.CR)(t,2),i=n[0],o=n[1];e.getValue(i).set(o)})),e.syncRender(),{target:c,transitionEnd:i}}return{target:t,transitionEnd:i}};function Bo(e,t,n,r){return function(e){return Object.keys(e).some(Po)}(t)?qo(e,t,n,r):{target:t,transitionEnd:r}}var Uo=function(e,t,n,i){var o=function(e,t,n){var i,o=(0,r._T)(t,[]),a=e.getInstance();if(!(a instanceof Element))return{target:o,transitionEnd:n};for(var s in n&&(n=(0,r.pi)({},n)),e.forEachValue((function(e){var t=e.get();if(So(t)){var n=jo(t,a);n&&e.set(n)}})),o){var u=o[s];if(So(u)){var c=jo(u,a);c&&(o[s]=c,n&&(null!==(i=n[s])&&void 0!==i||(n[s]=u)))}}return{target:o,transitionEnd:n}}(e,t,i);return Bo(e,t=o.target,n,i=o.transitionEnd)};var Qo={treeType:"dom",readValueFromInstance:function(e,t){if(Gn(t)){var n=Ft(t);return n&&n.default||0}var r,i=(r=e,window.getComputedStyle(r));return(kr(t)?i.getPropertyValue(t):i[t])||0},sortNodePosition:function(e,t){return 2&e.compareDocumentPosition(t)?1:-1},getBaseTarget:function(e,t){var n;return null===(n=e.style)||void 0===n?void 0:n[t]},measureViewportBox:function(e,t){return go(e,t.transformPagePoint)},resetTransform:function(e,t,n){var r=n.transformTemplate;t.style.transform=r?r({},""):"none",e.scheduleRender()},restoreTransform:function(e,t){e.style.transform=t.style.transform},removeValueFromRenderState:function(e,t){var n=t.vars,r=t.style;delete n[e],delete r[e]},makeTargetAnimatable:function(e,t,n,i){var o=n.transformValues;void 0===i&&(i=!0);var a=t.transition,s=t.transitionEnd,u=(0,r._T)(t,["transition","transitionEnd"]),c=function(e,t,n){var r,i,o={};for(var a in e)o[a]=null!==(r=$i(a,t))&&void 0!==r?r:null===(i=n.getValue(a))||void 0===i?void 0:i.get();return o}(u,a||{},e);if(o&&(s&&(s=o(s)),u&&(u=o(u)),c&&(c=o(c))),i){!function(e,t,n){var r,i,o,a,s=Object.keys(t).filter((function(t){return!e.hasValue(t)})),u=s.length;if(u)for(var c=0;c<u;c++){var l=s[c],f=t[l],p=null;Array.isArray(f)&&(p=f[0]),null===p&&(p=null!==(i=null!==(r=n[l])&&void 0!==r?r:e.readValue(l))&&void 0!==i?i:t[l]),void 0!==p&&null!==p&&("string"===typeof p&&(/^\-?\d*\.?\d+$/.test(p)||Vi(p))?p=parseFloat(p):!Qi(p)&&De.test(f)&&(p=Mt(l,f)),e.addValue(l,F(p)),null!==(o=(a=n)[l])&&void 0!==o||(a[l]=p),e.setBaseTarget(l,p))}}(e,u,c);var l=Uo(e,u,c,s);s=l.transitionEnd,u=l.target}return(0,r.pi)({transition:a,transitionEnd:s},u)},scrapeMotionValuesFromProps:Wr,build:function(e,t,n,r,i){void 0!==e.isVisible&&(t.style.visibility=e.isVisible?"visible":"hidden"),Sr(t,n,r,i.transformTemplate)},render:zr},Go=Oo(Qo),zo=Oo((0,r.pi)((0,r.pi)({},Qo),{getBaseTarget:function(e,t){return e[t]},readValueFromInstance:function(e,t){var n;return Gn(t)?(null===(n=Ft(t))||void 0===n?void 0:n.default)||0:(t=$r.has(t)?t:Gr(t),e.getAttribute(t))},scrapeMotionValuesFromProps:Jr,build:function(e,t,n,r,i){Lr(t,n,r,i.transformTemplate)},render:Yr})),$o=function(e,t){return _r(e)?zo(t,{enableHardwareAcceleration:!1}):Go(t,{enableHardwareAcceleration:!0})};function Yo(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}var Wo={correct:function(e,t){if(!t.target)return e;if("string"===typeof e){if(!pe.test(e))return e;e=parseFloat(e)}var n=Yo(e,t.target.x),r=Yo(e,t.target.y);return"".concat(n,"% ").concat(r,"%")}},Jo="_$css",Ko={correct:function(e,t){var n=t.treeScale,r=t.projectionDelta,i=e,o=e.includes("var("),a=[];o&&(e=e.replace(To,(function(e){return a.push(e),Jo})));var s=De.parse(e);if(s.length>5)return i;var u=De.createTransformer(e),c="number"!==typeof s[0]?1:0,l=r.x.scale*n.x,f=r.y.scale*n.y;s[0+c]/=l,s[1+c]/=f;var p=A(l,f,.5);"number"===typeof s[2+c]&&(s[2+c]/=p),"number"===typeof s[3+c]&&(s[3+c]/=p);var d=u(s);if(o){var h=0;d=d.replace(Jo,(function(){var e=a[h];return h++,e}))}return d}},Zo=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,r.ZT)(t,e),t.prototype.componentDidMount=function(){var e,t=this,n=this.props,i=n.visualElement,o=n.layoutGroup,a=n.switchLayoutGroup,s=n.layoutId,u=i.projection;e=Ho,Object.assign(Mn,e),u&&((null===o||void 0===o?void 0:o.group)&&o.group.add(u),(null===a||void 0===a?void 0:a.register)&&s&&a.register(u),u.root.didUpdate(),u.addEventListener("animationComplete",(function(){t.safeToRemove()})),u.setOptions((0,r.pi)((0,r.pi)({},u.options),{onExitComplete:function(){return t.safeToRemove()}}))),Kn.hasEverUpdated=!0},t.prototype.getSnapshotBeforeUpdate=function(e){var t=this,n=this.props,r=n.layoutDependency,i=n.visualElement,o=n.drag,a=n.isPresent,s=i.projection;return s?(s.isPresent=a,o||e.layoutDependency!==r||void 0===r?s.willUpdate():this.safeToRemove(),e.isPresent!==a&&(a?s.promote():s.relegate()||j.ZP.postRender((function(){var e;(null===(e=s.getStack())||void 0===e?void 0:e.members.length)||t.safeToRemove()}))),null):null},t.prototype.componentDidUpdate=function(){var e=this.props.visualElement.projection;e&&(e.root.didUpdate(),!e.currentAnimation&&e.isLead()&&this.safeToRemove())},t.prototype.componentWillUnmount=function(){var e=this.props,t=e.visualElement,n=e.layoutGroup,r=e.switchLayoutGroup,i=t.projection;i&&(i.scheduleCheckAfterUnmount(),(null===n||void 0===n?void 0:n.group)&&n.group.remove(i),(null===r||void 0===r?void 0:r.deregister)&&r.deregister(i))},t.prototype.safeToRemove=function(){var e=this.props.safeToRemove;null===e||void 0===e||e()},t.prototype.render=function(){return null},t}(i.Component);var Ho={borderRadius:(0,r.pi)((0,r.pi)({},Wo),{applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]}),borderTopLeftRadius:Wo,borderTopRightRadius:Wo,borderBottomLeftRadius:Wo,borderBottomRightRadius:Wo,boxShadow:Ko},Xo={measureLayout:function(e){var t=(0,r.CR)(Fi(),2),n=t[0],o=t[1],a=(0,i.useContext)(yr.p);return i.createElement(Zo,(0,r.pi)({},e,{layoutGroup:a,switchLayoutGroup:(0,i.useContext)(mr),isPresent:n,safeToRemove:o}))}},ea=Zn({attachResizeListener:function(e,t){return e.addEventListener("resize",t,{passive:!0}),function(){return e.removeEventListener("resize",t)}},measureScroll:function(){return{x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}}}),ta={current:void 0},na=Zn({measureScroll:function(e){return{x:e.scrollLeft,y:e.scrollTop}},defaultParent:function(){if(!ta.current){var e=new ea(0,{});e.mount(window),e.setOptions({layoutScroll:!0}),ta.current=e}return ta.current},resetTransform:function(e,t){e.style.transform=null!==t&&void 0!==t?t:"none"}}),ra=(0,r.pi)((0,r.pi)((0,r.pi)((0,r.pi)({},ro),Ri),_o),Xo),ia=wr((function(e,t){return function(e,t,n,i,o){var a=t.forwardMotionProps,s=void 0!==a&&a,u=_r(e)?ti:ni;return(0,r.pi)((0,r.pi)({},u),{preloadedFeatures:n,useRender:Ur(s),createVisualElement:i,projectionNodeConstructor:o,Component:e})}(e,t,ra,$o,na)}))},1741:function(e,t,n){"use strict";n.d(t,{j:function(){return r}});var r="undefined"!==typeof document},6681:function(e,t,n){"use strict";n.d(t,{h:function(){return i}});var r=n(7294);function i(e){var t=(0,r.useRef)(null);return null===t.current&&(t.current=e()),t.current}},6316:function(e,t,n){"use strict";n.d(t,{M:function(){return a}});var r=n(6681),i=0,o=function(){return i++},a=function(){return(0,r.h)(o)}},8868:function(e,t,n){"use strict";n.d(t,{L:function(){return i}});var r=n(7294),i=n(1741).j?r.useLayoutEffect:r.useEffect},5411:function(e,t,n){"use strict";n.d(t,{z:function(){return i}});var r=n(7294);function i(e){return(0,r.useEffect)((function(){return function(){return e()}}),[])}},4735:function(e,t,n){"use strict";n.d(t,{qY:function(){return d},ZP:function(){return b},iW:function(){return h},$B:function(){return g}});const r=1/60*1e3,i="undefined"!==typeof performance?()=>performance.now():()=>Date.now(),o="undefined"!==typeof window?e=>window.requestAnimationFrame(e):e=>setTimeout((()=>e(i())),r);let a=!0,s=!1,u=!1;const c={delta:0,timestamp:0},l=["read","update","preRender","render","postRender"],f=l.reduce(((e,t)=>(e[t]=function(e){let t=[],n=[],r=0,i=!1,o=!1;const a=new WeakSet,s={schedule:(e,o=!1,s=!1)=>{const u=s&&i,c=u?t:n;return o&&a.add(e),-1===c.indexOf(e)&&(c.push(e),u&&i&&(r=t.length)),e},cancel:e=>{const t=n.indexOf(e);-1!==t&&n.splice(t,1),a.delete(e)},process:u=>{if(i)o=!0;else{if(i=!0,[t,n]=[n,t],n.length=0,r=t.length,r)for(let n=0;n<r;n++){const r=t[n];r(u),a.has(r)&&(s.schedule(r),e())}i=!1,o&&(o=!1,s.process(u))}}};return s}((()=>s=!0)),e)),{}),p=l.reduce(((e,t)=>{const n=f[t];return e[t]=(e,t=!1,r=!1)=>(s||m(),n.schedule(e,t,r)),e}),{}),d=l.reduce(((e,t)=>(e[t]=f[t].cancel,e)),{}),h=l.reduce(((e,t)=>(e[t]=()=>f[t].process(c),e)),{}),v=e=>f[e].process(c),y=e=>{s=!1,c.delta=a?r:Math.max(Math.min(e-c.timestamp,40),1),c.timestamp=e,u=!0,l.forEach(v),u=!1,s&&(a=!1,o(y))},m=()=>{s=!0,a=!0,u||o(y)},g=()=>c;var b=p},7826:function(e,t,n){"use strict";function r(e,t){if(!Boolean(e))throw new Error(t)}n.d(t,{a:function(){return r}})},5821:function(e,t,n){"use strict";n.d(t,{X:function(){return r}});function r(e){return i(e,[])}function i(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:i(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,o=[];for(let a=0;a<n;++a)o.push(i(e[a],t));1===r?o.push("... 1 more item"):r>1&&o.push(`... ${r} more items`);return"["+o.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+": "+i(n,t)));return"{ "+r.join(", ")+" }"}(e,n)}(e,t);default:return String(e)}}},2380:function(e,t,n){"use strict";n.d(t,{Ye:function(){return r},WU:function(){return i},h8:function(){return o},UG:function(){return s},ku:function(){return u}});
1class 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 i{constructor(e,t,n,r,i,o){this.kind=e,this.start=t,this.end=n,this.line=r,this.column=i,this.value=o,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 o={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(o));function s(e){const t=null===e||void 0===e?void 0:e.kind;return"string"===typeof t&&a.has(t)}let u;!function(e){e.QUERY="query",e.MUTATION="mutation",e.SUBSCRIPTION="subscription"}(u||(u={}))},7392:function(e,t,n){"use strict";n.d(t,{wv:function(){return i},LZ:function(){return a}});var r=n(8297);function i(e){var t;let n=Number.MAX_SAFE_INTEGER,r=null,i=-1;for(let s=0;s<e.length;++s){var a;const t=e[s],u=o(t);u!==t.length&&(r=null!==(a=r)&&void 0!==a?a:s,i=s,0!==s&&u<n&&(n=u))}return e.map(((e,t)=>0===t?e:e.slice(n))).slice(null!==(t=r)&&void 0!==t?t:0,i+1)}function o(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,'\\"""'),i=n.split(/\r\n|[\n\r]/g),o=1===i.length,a=i.length>1&&i.slice(1).every((e=>0===e.length||(0,r.FD)(e.charCodeAt(0)))),s=n.endsWith('\\"""'),u=e.endsWith('"')&&!s,c=e.endsWith("\\"),l=u||c,f=!(null!==t&&void 0!==t&&t.minimize)&&(!o||e.length>70||l||a||s);let p="";const d=o&&(0,r.FD)(e.charCodeAt(0));return(f&&!d||a)&&(p+="\n"),p+=n,(f||l)&&(p+="\n"),'"""'+p+'"""'}},8297:function(e,t,n){"use strict";function r(e){return 9===e||32===e}function i(e){return e>=48&&e<=57}function o(e){return e>=97&&e<=122||e>=65&&e<=90}function a(e){return o(e)||95===e}function s(e){return o(e)||i(e)||95===e}n.d(t,{FD:function(){return r},X1:function(){return i},LQ:function(){return a},HQ:function(){return s}})},7359:function(e,t,n){"use strict";let 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
1ingValue",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={}))},1270:function(e,t,n){"use strict";n.d(t,{H:function(){return a},T:function(){return s}});var r=n(7826),i=n(5821);const o=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,i.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 o(e,a)}},7304:function(e,t,n){"use strict";n.d(t,{$_:function(){return s},Vn:function(){return u}});var r=n(7826),i=n(5821),o=n(2380),a=n(7359);const s=Object.freeze({});function u(e,t,n=o.h8){const u=new Map;for(const r of Object.values(a.h))u.set(r,c(t,r));let l,f,p,d=Array.isArray(e),h=[e],v=-1,y=[],m=e;const g=[],b=[];do{v++;const e=v===h.length,a=e&&0!==y.length;if(e){if(f=0===b.length?void 0:g[g.length-1],m=p,p=b.pop(),a)if(d){m=m.slice();let e=0;for(const[t,n]of y){const r=t-e;null===n?(m.splice(r,1),e++):m[r]=n}}else{m=Object.defineProperties({},Object.getOwnPropertyDescriptors(m));for(const[e,t]of y)m[e]=t}v=l.index,h=l.keys,y=l.edits,d=l.inArray,l=l.prev}else if(p){if(f=d?v:h[v],m=p[f],null===m||void 0===m)continue;g.push(f)}let c;if(!Array.isArray(m)){var w,x;(0,o.UG)(m)||(0,r.a)(!1,`Invalid AST Node: ${(0,i.X)(m)}.`);const n=e?null===(w=u.get(m.kind))||void 0===w?void 0:w.leave:null===(x=u.get(m.kind))||void 0===x?void 0:x.enter;if(c=null===n||void 0===n?void 0:n.call(t,m,f,p,g,b),c===s)break;if(!1===c){if(!e){g.pop();continue}}else if(void 0!==c&&(y.push([f,c]),!e)){if(!(0,o.UG)(c)){g.pop();continue}m=c}}var _;if(void 0===c&&a&&y.push([f,m]),e)g.pop();else l={inArray:d,index:v,keys:h,edits:y,prev:l},d=Array.isArray(m),h=d?m:null!==(_=n[m.kind])&&void 0!==_?_:[],v=-1,y=[],p&&b.push(p),p=m}while(void 0!==l);return 0!==y.length?y[y.length-1][1]:e}function c(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(e){var t=function(t){return e(e.s=t)};e.O(0,[774,179],(function(){return t(6363),t(880)}));var n=e.O();_N_E=n}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.