/*! For license information please see showcase.js.LICENSE.txt */ (()=>{var e,t,i,n,s,r,a={62634:(e,t,i)=>{"use strict";i.d(t,{InMemoryCache:()=>ke,cacheSlot:()=>ce});var n=function(){return Object.create(null)},s=Array.prototype,r=s.forEach,a=s.slice,o=function(){function e(e,t){void 0===e&&(e=!0),void 0===t&&(t=n),this.weakness=e,this.makeData=t}return e.prototype.lookup=function(){for(var e=[],t=0;tthis.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}(),g=new p;function v(e){var t=e.unsubscribe;"function"==typeof t&&(e.unsubscribe=void 0,t())}var y=[];function b(e,t){if(!e)throw new Error(t||"assertion failure")}function E(e){switch(e.length){case 0:throw new Error("unknown value");case 1:return e[0];case 2:throw e[1]}}var S=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&&!T(this))return this.value[0]},e.prototype.recompute=function(e){return b(!this.recomputing,"already recomputing"),function(e){var t=g.getValue();if(t)e.parents.add(t),t.childValues.has(e)||t.childValues.set(e,[]),T(e)?N(t,e):A(t,e)}(this),T(this)?function(e,t){k(e),g.withValue(e,O,[e,t]),function(e,t){if("function"==typeof e.subscribe)try{v(e),e.unsubscribe=e.subscribe.apply(null,t)}catch(t){return e.setDirty(),!1}return!0}(e,t)&&function(e){if(e.dirty=!1,T(e))return;w(e)}(e);return E(e.value)}(this,e):E(this.value)},e.prototype.setDirty=function(){this.dirty||(this.dirty=!0,this.value.length=0,_(this),k(this),v(this))},e.prototype.dispose=function(){var e=this;k(this),v(this),this.parents.forEach((function(t){t.setDirty(),P(t,e)}))},e.prototype.dependOn=function(e){e.add(this),this.deps||(this.deps=y.pop()||new Set),this.deps.add(e)},e.prototype.forgetDeps=function(){var e=this;this.deps&&(this.deps.forEach((function(t){return t.delete(e)})),this.deps.clear(),y.push(this.deps),this.deps=null)},e.count=0,e}();function O(e,t){e.recomputing=!0,e.value.length=0;try{e.value[0]=e.fn.apply(null,t)}catch(t){e.value[1]=t}e.recomputing=!1}function T(e){return e.dirty||!(!e.dirtyChildren||!e.dirtyChildren.size)}function _(e){e.parents.forEach((function(t){return N(t,e)}))}function w(e){e.parents.forEach((function(t){return A(t,e)}))}function N(e,t){if(b(e.childValues.has(t)),b(T(t)),e.dirtyChildren){if(e.dirtyChildren.has(t))return}else e.dirtyChildren=y.pop()||new Set;e.dirtyChildren.add(t),_(e)}function A(e,t){b(e.childValues.has(t)),b(!T(t));var i,n,s,r=e.childValues.get(t);0===r.length?e.childValues.set(t,t.value.slice(0)):(i=r,n=t.value,(s=i.length)>0&&s===n.length&&i[s-1]===n[s-1]||e.setDirty()),I(e,t),T(e)||w(e)}function I(e,t){var i=e.dirtyChildren;i&&(i.delete(t),0===i.size&&(y.length<100&&y.push(i),e.dirtyChildren=null))}function k(e){e.childValues.size>0&&e.childValues.forEach((function(t,i){P(e,i)})),e.forgetDeps(),b(null===e.dirtyChildren)}function P(e,t){t.parents.delete(e),e.childValues.delete(t),I(e,t)}function L(e){var t=new Map,i=e&&e.subscribe;function n(e){var n=g.getValue();if(n){var s=t.get(e);s||t.set(e,s=new Set),n.dependOn(s),"function"==typeof i&&(v(s),s.unsubscribe=i(e))}}return n.dirty=function(e){var i=t.get(e);i&&(i.forEach((function(e){return e.setDirty()})),t.delete(e),v(i))},n}var D=new o("function"==typeof WeakMap);function R(){for(var e=[],t=0;t0){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 ee?this.parent.getRootIdSet(e):Object.keys(this.policies.rootTypenamesById).forEach(e.add,e),e},e.prototype.gc=function(){var e=this,t=this.getRootIdSet(),i=this.toObject();t.forEach((function(n){G.call(i,n)&&(Object.keys(e.findChildRefIds(n)).forEach(t.add,t),delete i[n])}));var n=Object.keys(i);if(n.length){for(var s=this;s instanceof ee;)s=s.parent;n.forEach((function(e){return s.delete(e)}))}return n},e.prototype.findChildRefIds=function(e){if(!G.call(this.refs,e)){var t=this.refs[e]=Object.create(null),i=new Set([this.data[e]]),n=function(e){return null!==e&&"object"==typeof e};i.forEach((function(e){(0,U.hh)(e)?t[e.__ref]=!0:n(e)&&Object.values(e).filter(n).forEach(i.add,i)}))}return this.refs[e]},e.prototype.makeCacheKey=function(){for(var e=[],t=0;t0;if(d&&!o)throw c.missing[0];return{result:c.result,missing:c.missing,complete:!d}},e.prototype.isFresh=function(e,t,i,n){if(ie(n.store)&&this.knownResults.get(e)===i){var s=this.executeSelectionSet.peek(i,t,n);if(s&&e===s.result)return!0}return!1},e.prototype.execSelectionSetImpl=function(e){var t=this,i=e.selectionSet,n=e.objectOrReference,s=e.context;if((0,U.hh)(n)&&!s.policies.rootTypenamesById[n.__ref]&&!s.store.has(n.__ref))return{result:{},missing:[ne(new V.ej(4),s)]};var r=s.variables,a=s.policies,o=s.store,l=[],c={result:null},d=o.getFieldValue(n,"__typename");function u(){return c.missing||(c.missing=[])}function h(e){var t;return e.missing&&(t=u()).push.apply(t,e.missing),e.result}this.config.addTypename&&"string"==typeof d&&!a.rootIdsByTypename[d]&&l.push({__typename:d});var p=new Set(i.selections);return p.forEach((function(e){var i;if((0,U.LZ)(e,r))if((0,U.My)(e)){var o=a.readField({fieldName:e.name.value,field:e,variables:s.variables,from:n},s),c=(0,U.u2)(e);s.path.push(c);var m=s.clientOnly;s.clientOnly=m||!(!e.directives||!e.directives.some((function(e){return"client"===e.name.value}))),void 0===o?U.Gw.added(e)||u().push(ne(new V.ej(5),s)):Array.isArray(o)?o=h(t.executeSubSelectedArray({field:e,array:o,context:s})):e.selectionSet&&null!=o&&(o=h(t.executeSelectionSet({selectionSet:e.selectionSet,objectOrReference:o,context:s}))),void 0!==o&&l.push(((i={})[c]=o,i)),s.clientOnly=m,(0,V.kG)(s.path.pop()===c)}else{var f=(0,U.hi)(e,s.fragmentMap);f&&a.fragmentMatches(f,d)&&f.selectionSet.selections.forEach(p.add,p)}})),c.result=(0,U.bw)(l),this.knownResults.set(c.result,i),c},e.prototype.execSubSelectedArrayImpl=function(e){var t,i=this,n=e.field,s=e.array,r=e.context;function a(e,i){return e.missing&&(t=t||[]).push.apply(t,e.missing),(0,V.kG)(r.path.pop()===i),e.result}return n.selectionSet&&(s=s.filter(r.store.canRead)),{result:s=s.map((function(e,t){return null===e?null:(r.path.push(t),Array.isArray(e)?a(i.executeSubSelectedArray({field:n,array:e,context:r}),t):n.selectionSet?a(i.executeSelectionSet({selectionSet:n.selectionSet,objectOrReference:e,context:r}),t):((0,V.kG)(r.path.pop()===t),e))})),missing:t}},e}();var re=function(){function e(e,t){this.cache=e,this.reader=t}return e.prototype.writeToStore=function(e){var t=e.query,i=e.result,n=e.dataId,s=e.store,r=e.variables,a=(0,U.$H)(t),o=new U.w0;r=(0,j.pi)((0,j.pi)({},(0,U.O4)(a)),r);var l=this.processSelectionSet({result:i||Object.create(null),dataId:n,selectionSet:a.selectionSet,mergeTree:{map:new Map},context:{store:s,written:Object.create(null),merge:function(e,t){return o.merge(e,t)},variables:r,varString:JSON.stringify(r),fragmentMap:(0,U.F)((0,U.kU)(t))}});if(!(0,U.hh)(l))throw new V.ej(7);return s.retain(l.__ref),l},e.prototype.processSelectionSet=function(e){var t=this,i=e.dataId,n=e.result,s=e.selectionSet,r=e.context,a=e.mergeTree,o=this.cache.policies,l=o.identify(n,s,r.fragmentMap),c=l[0],d=l[1];if("string"==typeof(i=i||c)){var u=r.written[i]||(r.written[i]=[]),h=(0,U.kQ)(i);if(u.indexOf(s)>=0)return h;if(u.push(s),this.reader&&this.reader.isFresh(n,h,s,r))return h}var p=Object.create(null);d&&(p=r.merge(p,d));var m=i&&o.rootTypenamesById[i]||(0,U.qw)(n,s,r.fragmentMap)||i&&r.store.get(i,"__typename");"string"==typeof m&&(p.__typename=m);var f=new Set(s.selections);if(f.forEach((function(e){var i;if((0,U.LZ)(e,r.variables))if((0,U.My)(e)){var s=(0,U.u2)(e),l=n[s];if(void 0!==l){var c=o.getStoreFieldName({typename:m,fieldName:e.name.value,field:e,variables:r.variables}),d=oe(a,c),u=t.processFieldValue(l,e,r,d),h=e.selectionSet&&r.store.getFieldValue(u,"__typename")||void 0,g=o.getMergeFunction(m,e.name.value,h);g?d.info={field:e,typename:m,merge:g}:le(a,c),p=r.merge(p,((i={})[c]=u,i))}else if(o.usingPossibleTypes&&!(0,U.FS)(["defer","client"],e))throw new V.ej(8)}else{var v=(0,U.hi)(e,r.fragmentMap);v&&o.fragmentMatches(v,m,n,r.variables)&&v.selectionSet.selections.forEach(f.add,f)}})),"string"==typeof i){var g=(0,U.kQ)(i);return a.map.size&&(p=this.applyMerges(a,g,p,r)),r.store.merge(i,p),g}return p},e.prototype.processFieldValue=function(e,t,i,n){var s=this;return t.selectionSet&&null!==e?Array.isArray(e)?e.map((function(e,r){var a=s.processFieldValue(e,t,i,oe(n,r));return le(n,r),a})):this.processSelectionSet({result:e,selectionSet:t.selectionSet,context:i,mergeTree:n}):e},e.prototype.applyMerges=function(e,t,i,n,s){var r,a=this;if(e.map.size&&!(0,U.hh)(i)){var o,l=Array.isArray(i)||!(0,U.hh)(t)&&!Y(t)?void 0:t,c=i;l&&!s&&(s=[(0,U.hh)(l)?l.__ref:l]);var d=function(e,t){return Array.isArray(e)?"number"==typeof t?e[t]:void 0:n.store.getFieldValue(e,String(t))};e.map.forEach((function(e,t){s&&s.push(t);var i=d(l,t),r=d(c,t),u=a.applyMerges(e,i,r,n,s);u!==r&&(o=o||new Map).set(t,u),s&&(0,V.kG)(s.pop()===t)})),o&&(i=Array.isArray(c)?c.slice(0):(0,j.pi)({},c),o.forEach((function(e,t){i[t]=e})))}return e.info?this.cache.policies.runMergeFunction(t,i,e.info,n,s&&(r=n.store).getStorage.apply(r,s)):i},e}(),ae=[];function oe(e,t){var i=e.map;return i.has(t)||i.set(t,ae.pop()||{map:new Map}),i.get(t)}function le(e,t){var i=e.map,n=i.get(t);!n||n.info||n.map.size||(ae.push(n),i.delete(t))}new Set;var ce=new p;function de(e,t){if(e.size){var i=[];e.forEach((function(e){return i.push(e)})),e.clear(),i.forEach(t)}}var ue=new WeakMap;function he(e){var t=ue.get(e);return t||ue.set(e,t={vars:new Set,dep:L()}),t}function pe(e){var t=new Set,i=new Set,n=function(r){if(arguments.length>0)e!==r&&(e=r,t.forEach((function(e){he(e).dep.dirty(n),me(e)})),de(i,(function(t){return t(e)})));else{var a=ce.getValue();a&&(s(a),he(a).dep(n))}return e};n.onNextChange=function(e){return i.add(e),function(){i.delete(e)}};var s=n.attachCache=function(e){return t.add(e),he(e).vars.add(n),n};return n.forgetCache=function(e){return t.delete(e)},n}function me(e){e.broadcastWatches&&e.broadcastWatches()}function fe(e){return void 0!==e.args?e.args:e.field?(0,U.NC)(e.field,e.variables):null}var ge=function(e,t){var i=e.__typename,n=e.id,s=e._id;if("string"==typeof i&&(t&&(t.keyObject=void 0!==n?{id:n}:void 0!==s?{_id:s}:void 0),void 0===n&&(n=s),void 0!==n))return i+":"+("number"==typeof n||"string"==typeof n?n:JSON.stringify(n))},ve=function(){},ye=function(e,t){return t.fieldName},be=function(e,t,i){return(0,i.mergeObjects)(e,t)},Ee=function(e,t){return t},Se=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,j.pi)({dataIdFromObject:ge},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,i){var n=t&&i?(0,U.qw)(e,t,i):e.__typename;if(n===this.rootTypenamesById.ROOT_QUERY)return["ROOT_QUERY"];for(var s,r={typename:n,selectionSet:t,fragmentMap:i},a=n&&this.getTypePolicy(n),o=a&&a.keyFn||this.config.dataIdFromObject;o;){var l=o(e,r);if(!Array.isArray(l)){s=l;break}o=we(l)}return s=s&&String(s),r.keyObject?[s,r.keyObject]:[s]},e.prototype.addTypePolicies=function(e){var t=this;Object.keys(e).forEach((function(i){var n=e[i],s=n.queryType,r=n.mutationType,a=n.subscriptionType,o=(0,j._T)(n,["queryType","mutationType","subscriptionType"]);s&&t.setRootTypename("Query",i),r&&t.setRootTypename("Mutation",i),a&&t.setRootTypename("Subscription",i),G.call(t.toBeAdded,i)?t.toBeAdded[i].push(o):t.toBeAdded[i]=[o]}))},e.prototype.updateTypePolicy=function(e,t){var i=this,n=this.getTypePolicy(e),s=t.keyFields,r=t.fields;function a(e,t){e.merge="function"==typeof t?t:!0===t?be:!1===t?Ee:e.merge}a(n,t.merge),n.keyFn=!1===s?ve:Array.isArray(s)?we(s):"function"==typeof s?s:n.keyFn,r&&Object.keys(r).forEach((function(t){var n=i.getFieldPolicy(e,t,!0),s=r[t];if("function"==typeof s)n.read=s;else{var o=s.keyArgs,l=s.read,c=s.merge;n.keyFn=!1===o?ye:Array.isArray(o)?_e(o):"function"==typeof o?o:n.keyFn,"function"==typeof l&&(n.read=l),a(n,c)}n.read&&n.merge&&(n.keyFn=n.keyFn||ye)}))},e.prototype.setRootTypename=function(e,t){void 0===t&&(t=e);var i="ROOT_"+e.toUpperCase(),n=this.rootTypenamesById[i];t!==n&&((0,V.kG)(!n||n===e,1),n&&delete this.rootIdsByTypename[n],this.rootIdsByTypename[t]=i,this.rootTypenamesById[i]=t)},e.prototype.addPossibleTypes=function(e){var t=this;this.usingPossibleTypes=!0,Object.keys(e).forEach((function(i){t.getSupertypeSet(i,!0),e[i].forEach((function(e){t.getSupertypeSet(e,!0).add(i);var n=e.match(W);n&&n[0]===e||t.fuzzySubtypes.set(e,new RegExp(e))}))}))},e.prototype.getTypePolicy=function(e){var t=this;if(!G.call(this.typePolicies,e)){var i=this.typePolicies[e]=Object.create(null);i.fields=Object.create(null);var n=this.supertypeMap.get(e);n&&n.size&&n.forEach((function(e){var n=t.getTypePolicy(e),s=n.fields,r=(0,j._T)(n,["fields"]);Object.assign(i,r),Object.assign(i.fields,s)}))}var s=this.toBeAdded[e];return s&&s.length&&this.updateTypePolicy(e,U.oA.apply(void 0,s.splice(0))),this.typePolicies[e]},e.prototype.getFieldPolicy=function(e,t,i){if(e){var n=this.getTypePolicy(e).fields;return n[t]||i&&(n[t]=Object.create(null))}},e.prototype.getSupertypeSet=function(e,t){var i=this.supertypeMap.get(e);return!i&&t&&this.supertypeMap.set(e,i=new Set),i},e.prototype.fragmentMatches=function(e,t,i,n){var s=this;if(!e.typeCondition)return!0;if(!t)return!1;var r=e.typeCondition.name.value;if(t===r)return!0;if(this.usingPossibleTypes&&this.supertypeMap.has(r))for(var a=this.getSupertypeSet(t,!0),o=[a],l=function(e){var t=s.getSupertypeSet(e,!1);t&&t.size&&o.indexOf(t)<0&&o.push(t)},c=!(!i||!this.fuzzySubtypes.size),d=0;d{},55765:(e,t,i)=>{"use strict";i.d(t,{f:()=>T});var n=i(23564),s=i(10690),r=i(81707),a=i(80496),o=i(96593),l=i(82152),c=i(21498),d=i(66282),u=i(85942),h=i(77304),p=i(62634),m=function(){function e(e){var t=e.cache,i=e.client,n=e.resolvers,s=e.fragmentMatcher;this.cache=t,i&&(this.client=i),n&&this.addResolvers(n),s&&this.setFragmentMatcher(s)}return e.prototype.addResolvers=function(e){var t=this;this.resolvers=this.resolvers||{},Array.isArray(e)?e.forEach((function(e){t.resolvers=(0,a.Ee)(t.resolvers,e)})):this.resolvers=(0,a.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,i=e.remoteResult,s=e.context,r=e.variables,a=e.onlyRunForcedResolvers,o=void 0!==a&&a;return(0,n.mG)(this,void 0,void 0,(function(){return(0,n.Jh)(this,(function(e){return t?[2,this.resolveDocument(t,i.data,s,r,this.fragmentMatcher,o).then((function(e){return(0,n.pi)((0,n.pi)({},i),{data:e.result})}))]:[2,i]}))}))},e.prototype.setFragmentMatcher=function(e){this.fragmentMatcher=e},e.prototype.getFragmentMatcher=function(){return this.fragmentMatcher},e.prototype.clientQuery=function(e){return(0,a.FS)(["client"],e)&&this.resolvers?e:null},e.prototype.serverQuery=function(e){return(0,a.ob)(e)},e.prototype.prepareContext=function(e){var t=this.cache;return(0,n.pi)((0,n.pi)({},e),{cache:t,getCacheKey:function(e){return t.identify(e)}})},e.prototype.addExportedVariables=function(e,t,i){return void 0===t&&(t={}),void 0===i&&(i={}),(0,n.mG)(this,void 0,void 0,(function(){return(0,n.Jh)(this,(function(s){return e?[2,this.resolveDocument(e,this.buildRootValueFromCache(e,t)||{},this.prepareContext(i),t).then((function(e){return(0,n.pi)((0,n.pi)({},t),e.exportedVariables)}))]:[2,(0,n.pi)({},t)]}))}))},e.prototype.shouldForceResolvers=function(e){var t=!1;return(0,h.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 h.$_}}}),t},e.prototype.buildRootValueFromCache=function(e,t){return this.cache.diff({query:(0,a.aL)(e),variables:t,returnPartialData:!0,optimistic:!1}).result},e.prototype.resolveDocument=function(e,t,i,s,r,o){return void 0===i&&(i={}),void 0===s&&(s={}),void 0===r&&(r=function(){return!0}),void 0===o&&(o=!1),(0,n.mG)(this,void 0,void 0,(function(){var l,c,d,u,h,p,m,f,g;return(0,n.Jh)(this,(function(v){return l=(0,a.p$)(e),c=(0,a.kU)(e),d=(0,a.F)(c),u=l.operation,h=u?u.charAt(0).toUpperCase()+u.slice(1):"Query",m=(p=this).cache,f=p.client,g={fragmentMap:d,context:(0,n.pi)((0,n.pi)({},i),{cache:m,client:f}),variables:s,fragmentMatcher:r,defaultOperationType:h,exportedVariables:{},onlyRunForcedResolvers:o},[2,this.resolveSelectionSet(l.selectionSet,t,g).then((function(e){return{result:e,exportedVariables:g.exportedVariables}}))]}))}))},e.prototype.resolveSelectionSet=function(e,t,i){return(0,n.mG)(this,void 0,void 0,(function(){var r,o,l,c,d,u=this;return(0,n.Jh)(this,(function(h){return r=i.fragmentMap,o=i.context,l=i.variables,c=[t],d=function(e){return(0,n.mG)(u,void 0,void 0,(function(){var d,u;return(0,n.Jh)(this,(function(n){return(0,a.LZ)(e,l)?(0,a.My)(e)?[2,this.resolveField(e,t,i).then((function(t){var i;void 0!==t&&c.push(((i={})[(0,a.u2)(e)]=t,i))}))]:((0,a.Ao)(e)?d=e:(d=r[e.name.value],(0,s.kG)(d,11)),d&&d.typeCondition&&(u=d.typeCondition.name.value,i.fragmentMatcher(t,u,o))?[2,this.resolveSelectionSet(d.selectionSet,t,i).then((function(e){c.push(e)}))]:[2]):[2]}))}))},[2,Promise.all(e.selections.map(d)).then((function(){return(0,a.bw)(c)}))]}))}))},e.prototype.resolveField=function(e,t,i){return(0,n.mG)(this,void 0,void 0,(function(){var s,r,o,l,c,d,u,h,m,f=this;return(0,n.Jh)(this,(function(n){return s=i.variables,r=e.name.value,o=(0,a.u2)(e),l=r!==o,c=t[o]||t[r],d=Promise.resolve(c),i.onlyRunForcedResolvers&&!this.shouldForceResolvers(e)||(u=t.__typename||i.defaultOperationType,(h=this.resolvers&&this.resolvers[u])&&(m=h[l?r:o])&&(d=Promise.resolve(p.cacheSlot.withValue(this.cache,m,[t,(0,a.NC)(e,s),i.context,{field:e,fragmentMap:i.fragmentMap}])))),[2,d.then((function(t){return void 0===t&&(t=c),e.directives&&e.directives.forEach((function(e){"export"===e.name.value&&e.arguments&&e.arguments.forEach((function(e){"as"===e.name.value&&"StringValue"===e.value.kind&&(i.exportedVariables[e.value.value]=t)}))})),e.selectionSet?null==t?t:Array.isArray(t)?f.resolveSubSelectedArray(e,t,i):e.selectionSet?f.resolveSelectionSet(e.selectionSet,t,i):void 0:t}))]}))}))},e.prototype.resolveSubSelectedArray=function(e,t,i){var n=this;return Promise.all(t.map((function(t){return null===t?null:Array.isArray(t)?n.resolveSubSelectedArray(e,t,i):e.selectionSet?n.resolveSelectionSet(e.selectionSet,t,i):void 0})))},e}(),f=new(a.mr?WeakMap:Map);function g(e,t){var i=e[t];"function"==typeof i&&(e[t]=function(){return f.set(e,(f.get(e)+1)%1e15),i.apply(this,arguments)})}function v(e){e.notifyTimeout&&(clearTimeout(e.notifyTimeout),e.notifyTimeout=void 0)}var y=function(){function e(e){this.cache=e,this.listeners=new Set,this.document=null,this.lastRequestId=1,this.subscriptions=new Set,this.stopped=!1,this.dirty=!1,this.diff=null,this.observableQuery=null,f.has(e)||(f.set(e,0),g(e,"evict"),g(e,"modify"),g(e,"reset"))}return e.prototype.init=function(e){var t=e.networkStatus||u.I.loading;return this.variables&&this.networkStatus!==u.I.loading&&!(0,l.D)(this.variables,e.variables)&&(t=u.I.setVariables),(0,l.D)(e.variables,this.variables)||(this.diff=null),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(){v(this),this.diff=null,this.dirty=!1},e.prototype.getDiff=function(e){return void 0===e&&(e=this.variables),this.diff&&(0,l.D)(e,this.variables)?this.diff:(this.updateWatch(this.variables=e),this.diff=this.cache.diff({query:this.document,variables:e,returnPartialData:!0,optimistic:!0}))},e.prototype.setDiff=function(e){var t=this,i=this.diff;this.diff=e,this.dirty||(e&&e.result)===(i&&i.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;v(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,u.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.cancel(),delete this.cancel,this.subscriptions.forEach((function(e){return e.unsubscribe()}));var e=this.observableQuery;e&&e.stopPolling()}},e.prototype.cancel=function(){},e.prototype.updateWatch=function(e){var t=this;void 0===e&&(e=this.variables);var i=this.observableQuery;i&&"no-cache"===i.options.fetchPolicy||this.lastWatch&&this.lastWatch.query===this.document&&(0,l.D)(e,this.lastWatch.variables)||(this.cancel(),this.cancel=this.cache.watch(this.lastWatch={query:this.document,variables:e,optimistic:!0,callback:function(e){return t.setDiff(e)}}))},e.prototype.shouldWrite=function(e,t){var i=this.lastWrite;return!(i&&i.dmCount===f.get(this.cache)&&(0,l.D)(t,i.variables)&&(0,l.D)(e.data,i.result.data))},e.prototype.markResult=function(e,t,i){var n=this;this.graphQLErrors=(0,a.Of)(e.errors)?e.errors:[],this.reset(),"no-cache"===t.fetchPolicy?this.diff={result:e.data,complete:!0}:!this.stopped&&i&&(b(e,t.errorPolicy)?this.cache.performTransaction((function(i){if(n.shouldWrite(e,t.variables))i.writeQuery({query:n.document,data:e.data,variables:t.variables}),n.lastWrite={result:e,variables:t.variables,dmCount:f.get(n.cache)};else if(n.diff&&n.diff.complete)return void(e.data=n.diff.result);var s=i.diff({query:n.document,variables:t.variables,returnPartialData:!0,optimistic:!0});n.stopped||n.updateWatch(t.variables),n.diff=s,s.complete&&(e.data=s.result)})):this.lastWrite=void 0)},e.prototype.markReady=function(){return this.networkError=null,this.networkStatus=u.I.ready},e.prototype.markError=function(e){return this.networkStatus=u.I.error,this.lastWrite=void 0,this.reset(),e.graphQLErrors&&(this.graphQLErrors=e.graphQLErrors),e.networkError&&(this.networkError=e.networkError),e},e}();function b(e,t){void 0===t&&(t="none");var i="ignore"===t||"all"===t,n=!(0,a.d2)(e);return!n&&i&&e.data&&(n=!0),n}var E=Object.prototype.hasOwnProperty,S=function(){function e(e){var t=e.cache,i=e.link,n=e.queryDeduplication,s=void 0!==n&&n,r=e.onBroadcast,o=e.ssrMode,l=void 0!==o&&o,c=e.clientAwareness,d=void 0===c?{}:c,u=e.localState,h=e.assumeImmutableResults;this.clientAwareness={},this.queries=new Map,this.fetchCancelFns=new Map,this.transformCache=new(a.mr?WeakMap:Map),this.queryIdCounter=1,this.requestIdCounter=1,this.mutationIdCounter=1,this.inFlightLinkObservables=new Map,this.cache=t,this.link=i,this.queryDeduplication=s,this.clientAwareness=d,this.localState=u||new m({cache:t}),this.ssrMode=l,this.assumeImmutableResults=!!h,(this.onBroadcast=r)&&(this.mutationStore=Object.create(null))}return e.prototype.stop=function(){var e=this;this.queries.forEach((function(t,i){e.stopQueryNoBroadcast(i)})),this.cancelPendingFetches(new s.ej(12))},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,i=e.variables,r=e.optimisticResponse,o=e.updateQueries,l=e.refetchQueries,d=void 0===l?[]:l,u=e.awaitRefetchQueries,h=void 0!==u&&u,p=e.update,m=e.errorPolicy,f=void 0===m?"none":m,g=e.fetchPolicy,v=e.context,y=void 0===v?{}:v;return(0,n.mG)(this,void 0,void 0,(function(){var e,l,u;return(0,n.Jh)(this,(function(m){switch(m.label){case 0:return(0,s.kG)(t,13),(0,s.kG)(!g||"no-cache"===g,14),e=this.generateMutationId(),t=this.transform(t).document,i=this.getVariables(t,i),this.transform(t).hasClientExports?[4,this.localState.addExportedVariables(t,i,y)]:[3,2];case 1:i=m.sent(),m.label=2;case 2:return l=this.mutationStore&&(this.mutationStore[e]={mutation:t,variables:i,loading:!0,error:null}),r&&this.markMutationOptimistic(r,{mutationId:e,document:t,variables:i,errorPolicy:f,updateQueries:o,update:p}),this.broadcastQueries(),u=this,[2,new Promise((function(s,m){var v,b;u.getObservableFromLink(t,(0,n.pi)((0,n.pi)({},y),{optimisticResponse:r}),i,!1).subscribe({next:function(n){if((0,a.d2)(n)&&"none"===f)b=new c.c({graphQLErrors:n.errors});else{if(l&&(l.loading=!1,l.error=null),"no-cache"!==g)try{u.markMutationResult({mutationId:e,result:n,document:t,variables:i,errorPolicy:f,updateQueries:o,update:p})}catch(e){return void(b=new c.c({networkError:e}))}v=n}},error:function(t){l&&(l.loading=!1,l.error=t),r&&u.cache.removeOptimistic(e),u.broadcastQueries(),m(new c.c({networkError:t}))},complete:function(){if(b&&l&&(l.loading=!1,l.error=b),r&&u.cache.removeOptimistic(e),u.broadcastQueries(),b)m(b);else{"function"==typeof d&&(d=d(v));var t=[];(0,a.Of)(d)&&d.forEach((function(e){if("string"==typeof e)u.queries.forEach((function(i){var n=i.observableQuery;n&&n.queryName===e&&t.push(n.refetch())}));else{var i={query:e.query,variables:e.variables,fetchPolicy:"network-only"};e.context&&(i.context=e.context),t.push(u.query(i))}})),Promise.all(h?t:[]).then((function(){"ignore"===f&&v&&(0,a.d2)(v)&&delete v.errors,s(v)}),m)}}})}))]}}))}))},e.prototype.markMutationResult=function(e,t){var i=this;if(void 0===t&&(t=this.cache),b(e.result,e.errorPolicy)){var n=[{result:e.result.data,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables}],s=e.updateQueries;s&&this.queries.forEach((function(r,o){var l=r.observableQuery,c=l&&l.queryName;if(c&&E.call(s,c)){var d=s[c],u=i.queries.get(o),h=u.document,p=u.variables,m=t.diff({query:h,variables:p,returnPartialData:!0,optimistic:!1}),f=m.result;if(m.complete&&f){var g=d(f,{mutationResult:e.result,queryName:h&&(0,a.rY)(h)||void 0,queryVariables:p});g&&n.push({result:g,dataId:"ROOT_QUERY",query:h,variables:p})}}})),t.performTransaction((function(t){n.forEach((function(e){return t.write(e)}));var i=e.update;i&&i(t,e.result)}),null)}},e.prototype.markMutationOptimistic=function(e,t){var i=this,s="function"==typeof e?e(t.variables):e;return this.cache.recordOptimisticTransaction((function(e){try{i.markMutationResult((0,n.pi)((0,n.pi)({},t),{result:{data:s}}),e)}catch(e){}}),t.mutationId)},e.prototype.fetchQuery=function(e,t,i){return this.fetchQueryObservable(e,t,i).promise},e.prototype.getQueryStore=function(){var e=Object.create(null);return this.queries.forEach((function(t,i){e[i]={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 i=this.cache.transformDocument(e),n=(0,a.Fo)(this.cache.transformForLink(i)),s=this.localState.clientQuery(i),r=n&&this.localState.serverQuery(n),o={document:i,hasClientExports:(0,a.mj)(i),hasForcedResolvers:this.localState.shouldForceResolvers(i),clientQuery:s,serverQuery:r,defaultVars:(0,a.O4)((0,a.$H)(i))},l=function(e){e&&!t.has(e)&&t.set(e,o)};l(e),l(i),l(s),l(r)}return t.get(e)},e.prototype.getVariables=function(e,t){return(0,n.pi)((0,n.pi)({},this.transform(e).defaultVars),t)},e.prototype.watchQuery=function(e){void 0===(e=(0,n.pi)((0,n.pi)({},e),{variables:this.getVariables(e.query,e.variables)})).notifyOnNetworkStatusChange&&(e.notifyOnNetworkStatusChange=!1);var t=new y(this.cache),i=new d.u({queryManager:this,queryInfo:t,options:e});return this.queries.set(i.queryId,t),t.init({document:e.query,observableQuery:i,variables:e.variables}),i},e.prototype.query=function(e){var t=this;(0,s.kG)(e.query,15),(0,s.kG)("Document"===e.query.kind,16),(0,s.kG)(!e.returnPartialData,17),(0,s.kG)(!e.pollInterval,18);var i=this.generateQueryId();return this.fetchQuery(i,e).finally((function(){return t.stopQuery(i)}))},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(){return this.cancelPendingFetches(new s.ej(19)),this.queries.forEach((function(e){e.observableQuery?e.networkStatus=u.I.loading:e.stop()})),this.mutationStore&&(this.mutationStore=Object.create(null)),this.cache.reset()},e.prototype.resetStore=function(){var e=this;return this.clearStore().then((function(){return e.reFetchObservableQueries()}))},e.prototype.reFetchObservableQueries=function(e){var t=this;void 0===e&&(e=!1);var i=[];return this.queries.forEach((function(n,s){var r=n.observableQuery;if(r&&r.hasObservers()){var a=r.options.fetchPolicy;r.resetLastResults(),"cache-only"===a||!e&&"standby"===a||i.push(r.refetch()),t.getQuery(s).setDiff(null)}})),this.broadcastQueries(),Promise.all(i)},e.prototype.setObservableQuery=function(e){this.getQuery(e.queryId).setObservableQuery(e)},e.prototype.startGraphQLSubscription=function(e){var t=this,i=e.query,n=e.fetchPolicy,s=e.errorPolicy,r=e.variables,o=e.context,l=void 0===o?{}:o;i=this.transform(i).document,r=this.getVariables(i,r);var d=function(e){return t.getObservableFromLink(i,l,e,!1).map((function(r){if("no-cache"!==n&&(b(r,s)&&t.cache.write({query:i,result:r.data,dataId:"ROOT_SUBSCRIPTION",variables:e}),t.broadcastQueries()),(0,a.d2)(r))throw new c.c({graphQLErrors:r.errors});return r}))};if(this.transform(i).hasClientExports){var u=this.localState.addExportedVariables(i,r,l).then(d);return new a.y$((function(e){var t=null;return u.then((function(i){return t=i.subscribe(e)}),e.error),function(){return t&&t.unsubscribe()}}))}return d(r)},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,i,s){var o,l,c=this;void 0===s&&(s=null!==(o=null==t?void 0:t.queryDeduplication)&&void 0!==o?o:this.queryDeduplication);var d=this.transform(e).serverQuery;if(d){var u=this.inFlightLinkObservables,h=this.link,p={query:d,variables:i,operationName:(0,a.rY)(d)||void 0,context:this.prepareContext((0,n.pi)((0,n.pi)({},t),{forceFetch:!s}))};if(t=p.context,s){var m=u.get(d)||new Map;u.set(d,m);var f=JSON.stringify(i);if(!(l=m.get(f))){var g=new a.X_([(0,r.execute)(h,p)]);m.set(f,l=g),g.cleanup((function(){m.delete(f)&&m.size<1&&u.delete(d)}))}}else l=new a.X_([(0,r.execute)(h,p)])}else l=new a.X_([a.y$.of({data:{}})]),t=this.prepareContext(t);var v=this.transform(e).clientQuery;return v&&(l=(0,a.sz)(l,(function(e){return c.localState.runResolvers({document:v,remoteResult:e,context:t,variables:i})}))),l},e.prototype.getResultsFromLink=function(e,t,i){var n=e.lastRequestId;return(0,a.sz)(this.getObservableFromLink(e.document,i.context,i.variables),(function(s){var r=(0,a.Of)(s.errors);if(n>=e.lastRequestId){if(r&&"none"===i.errorPolicy)throw e.markError(new c.c({graphQLErrors:s.errors}));e.markResult(s,i,t),e.markReady()}var o={data:s.data,loading:!1,networkStatus:e.networkStatus||u.I.ready};return r&&"ignore"!==i.errorPolicy&&(o.errors=s.errors),o}),(function(t){var i=(0,c.M)(t)?t:new c.c({networkError:t});throw n>=e.lastRequestId&&e.markError(i),i}))},e.prototype.fetchQueryObservable=function(e,t,i){var n=this;void 0===i&&(i=u.I.loading);var s=this.transform(t.query).document,r=this.getVariables(s,t.variables),o=this.getQuery(e),l=o.networkStatus,c=t.fetchPolicy,d=void 0===c?"cache-first":c,h=t.errorPolicy,p=void 0===h?"none":h,m=t.returnPartialData,f=void 0!==m&&m,g=t.notifyOnNetworkStatusChange,v=void 0!==g&&g,y=t.context,b=void 0===y?{}:y;("cache-first"===d||"cache-and-network"===d||"network-only"===d||"no-cache"===d)&&v&&"number"==typeof l&&l!==i&&(0,u.O)(i)&&("cache-first"!==d&&(d="cache-and-network"),f=!0);var E=Object.assign({},t,{query:s,variables:r,fetchPolicy:d,errorPolicy:p,returnPartialData:f,notifyOnNetworkStatusChange:v,context:b}),S=function(e){return E.variables=e,n.fetchQueryByPolicy(o,E,i)};this.fetchCancelFns.set(e,(function(e){Promise.resolve().then((function(){return O.cancel(e)}))}));var O=new a.X_(this.transform(E.query).hasClientExports?this.localState.addExportedVariables(E.query,E.variables,E.context).then(S):S(E.variables));return O.cleanup((function(){n.fetchCancelFns.delete(e);var i=t.nextFetchPolicy;i&&(t.nextFetchPolicy=void 0,t.fetchPolicy="function"==typeof i?i.call(t,t.fetchPolicy||"cache-first"):i)})),O},e.prototype.fetchQueryByPolicy=function(e,t,i){var s=this,r=t.query,o=t.variables,l=t.fetchPolicy,c=t.errorPolicy,d=t.returnPartialData,h=t.context;e.init({document:r,variables:o,lastRequestId:this.generateRequestId(),networkStatus:i});var p=function(){return e.getDiff(o)},m=function(t,i){void 0===i&&(i=e.networkStatus||u.I.loading);var l=t.result;var c=function(e){return a.y$.of((0,n.pi)({data:e,loading:(0,u.O)(i),networkStatus:i},t.complete?null:{partial:!0}))};return s.transform(r).hasForcedResolvers?s.localState.runResolvers({document:r,remoteResult:{data:l},context:h,variables:o,onlyRunForcedResolvers:!0}).then((function(e){return c(e.data)})):c(l)},f=function(t){return s.getResultsFromLink(e,t,{variables:o,context:h,fetchPolicy:l,errorPolicy:c})};switch(l){default:case"cache-first":return(g=p()).complete?[m(g,e.markReady())]:d?[m(g),f(!0)]:[f(!0)];case"cache-and-network":var g;return(g=p()).complete||d?[m(g),f(!0)]:[f(!0)];case"cache-only":return[m(p(),e.markReady())];case"network-only":return[f(!0)];case"no-cache":return[f(!1)];case"standby":return[]}},e.prototype.getQuery=function(e){return e&&!this.queries.has(e)&&this.queries.set(e,new y(this.cache)),this.queries.get(e)},e.prototype.prepareContext=function(e){void 0===e&&(e={});var t=this.localState.prepareContext(e);return(0,n.pi)((0,n.pi)({},t),{clientAwareness:this.clientAwareness})},e}();function O(e,t){return(0,a.oA)(e,t,t.variables&&{variables:(0,n.pi)((0,n.pi)({},e.variables),t.variables)})}var T=function(){function e(e){var t=this;this.defaultOptions={},this.resetStoreCallbacks=[],this.clearStoreCallbacks=[];var i=e.uri,n=e.credentials,a=e.headers,l=e.cache,c=e.ssrMode,d=void 0!==c&&c,u=e.ssrForceFetchDelay,h=void 0===u?0:u,p=e.connectToDevTools,f=void 0===p?"object"==typeof window&&!window.__APOLLO_CLIENT__&&!1:p,g=e.queryDeduplication,v=void 0===g||g,y=e.defaultOptions,b=e.assumeImmutableResults,E=void 0!==b&&b,O=e.resolvers,T=e.typeDefs,_=e.fragmentMatcher,w=e.name,N=e.version,A=e.link;if(A||(A=i?new o.uG({uri:i,credentials:n,headers:a}):r.ApolloLink.empty()),!l)throw new s.ej(9);this.link=A,this.cache=l,this.disableNetworkFetches=d||h>0,this.queryDeduplication=v,this.defaultOptions=y||{},this.typeDefs=T,h&&setTimeout((function(){return t.disableNetworkFetches=!1}),h),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),f&&"object"==typeof window&&(window.__APOLLO_CLIENT__=this),this.version="3.3.11",this.localState=new m({cache:l,client:this,resolvers:O,fragmentMatcher:_}),this.queryManager=new S({cache:this.cache,link:this.link,queryDeduplication:v,ssrMode:d,clientAwareness:{name:w,version:N},localState:this.localState,assumeImmutableResults:E,onBroadcast:f?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=O(this.defaultOptions.watchQuery,e)),!this.disableNetworkFetches||"network-only"!==e.fetchPolicy&&"cache-and-network"!==e.fetchPolicy||(e=(0,n.pi)((0,n.pi)({},e),{fetchPolicy:"cache-first"})),this.queryManager.watchQuery(e)},e.prototype.query=function(e){return this.defaultOptions.query&&(e=O(this.defaultOptions.query,e)),(0,s.kG)("cache-and-network"!==e.fetchPolicy,10),this.disableNetworkFetches&&"network-only"===e.fetchPolicy&&(e=(0,n.pi)((0,n.pi)({},e),{fetchPolicy:"cache-first"})),this.queryManager.query(e)},e.prototype.mutate=function(e){return this.defaultOptions.mutate&&(e=O(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(0,r.execute)(this.link,e)},e.prototype.resetStore=function(){var e=this;return Promise.resolve().then((function(){return e.queryManager.clearStore()})).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()})).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.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}()},66282:(e,t,i)=>{"use strict";i.d(t,{u:()=>c});var n=i(23564),s=i(10690),r=i(82152),a=i(85942),o=i(80496),l=function(){function e(e,t,i,n){this.observer=e,this.options=t,this.fetch=i,this.shouldFetch=n}return e.prototype.reobserve=function(e,t){e?this.updateOptions(e):this.updatePolling();var i=this.fetch(this.options,t);return this.concast&&this.concast.removeObserver(this.observer,!0),i.addObserver(this.observer),(this.concast=i).promise},e.prototype.updateOptions=function(e){return Object.assign(this.options,(0,o.oA)(e)),this.updatePolling(),this},e.prototype.stop=function(){this.concast&&(this.concast.removeObserver(this.observer),delete this.concast),this.pollingInfo&&(clearTimeout(this.pollingInfo.timeout),this.options.pollInterval=0,this.updatePolling())},e.prototype.updatePolling=function(){var e=this,t=this.pollingInfo,i=this.options.pollInterval;if(i){if((!t||t.interval!==i)&&((0,s.kG)(i,20),!1!==this.shouldFetch)){(t||(this.pollingInfo={})).interval=i;var n=function(){e.pollingInfo&&(e.shouldFetch&&e.shouldFetch()?e.reobserve({fetchPolicy:"network-only",nextFetchPolicy:e.options.fetchPolicy||"cache-first"},a.I.poll).then(r,r):r())},r=function(){var t=e.pollingInfo;t&&(clearTimeout(t.timeout),t.timeout=setTimeout(n,t.interval))};r()}}else t&&(clearTimeout(t.timeout),delete this.pollingInfo)},e}(),c=function(e){function t(t){var i=t.queryManager,s=t.queryInfo,r=t.options,l=e.call(this,(function(e){return l.onSubscribe(e)}))||this;l.observers=new Set,l.subscriptions=new Set,l.observer={next:function(e){(l.lastError||l.isDifferentFromLastResult(e))&&(l.updateLastResult(e),(0,o.pM)(l.observers,"next",e))},error:function(e){l.updateLastResult((0,n.pi)((0,n.pi)({},l.lastResult),{error:e,errors:e.graphQLErrors,networkStatus:a.I.error,loading:!1})),(0,o.pM)(l.observers,"error",l.lastError=e)}},l.isTornDown=!1,l.options=r,l.queryId=i.generateQueryId();var c=(0,o.$H)(r.query);return l.queryName=c&&c.name&&c.name.value,l.queryManager=i,l.queryInfo=s,l}return(0,n.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,i){var n={next:function(i){t(i),e.observers.delete(n),e.observers.size||e.queryManager.removeQuery(e.queryId),setTimeout((function(){s.unsubscribe()}),0)},error:i},s=e.subscribe(n)}))},t.prototype.getCurrentResult=function(e){void 0===e&&(e=!0);var t=this.lastResult,i=this.queryInfo.networkStatus||t&&t.networkStatus||a.I.ready,s=(0,n.pi)((0,n.pi)({},t),{loading:(0,a.O)(i),networkStatus:i});if(this.isTornDown)return s;var r=this.options.fetchPolicy,o=void 0===r?"cache-first":r;if("no-cache"===o||"network-only"===o)delete s.partial;else if(!s.data||!this.queryManager.transform(this.options.query).hasForcedResolvers){var l=this.queryInfo.getDiff();s.data=l.complete||this.options.returnPartialData?l.result:void 0,l.complete?(s.networkStatus!==a.I.loading||"cache-first"!==o&&"cache-only"!==o||(s.networkStatus=a.I.ready,s.loading=!1),delete s.partial):s.partial=!0}return e&&this.updateLastResult(s),s},t.prototype.isDifferentFromLastResult=function(e){return!(0,r.D)(this.lastResultSnapshot,e)},t.prototype.getLastResult=function(){return this.lastResult},t.prototype.getLastError=function(){return this.lastError},t.prototype.resetLastResults=function(){delete this.lastResult,delete this.lastResultSnapshot,delete this.lastError,this.isTornDown=!1},t.prototype.resetQueryStoreErrors=function(){this.queryManager.resetErrors(this.queryId)},t.prototype.refetch=function(e){var t={pollInterval:0},i=this.options.fetchPolicy;return"no-cache"!==i&&"cache-and-network"!==i&&(t.fetchPolicy="network-only",t.nextFetchPolicy=i||"cache-first"),e&&!(0,r.D)(this.options.variables,e)&&(t.variables=this.options.variables=(0,n.pi)((0,n.pi)({},this.options.variables),e)),this.newReobserver(!1).reobserve(t,a.I.refetch)},t.prototype.fetchMore=function(e){var t=this,i=(0,n.pi)((0,n.pi)({},e.query?e:(0,n.pi)((0,n.pi)((0,n.pi)({},this.options),e),{variables:(0,n.pi)((0,n.pi)({},this.options.variables),e.variables)})),{fetchPolicy:"no-cache"}),s=this.queryManager.generateQueryId();return i.notifyOnNetworkStatusChange&&(this.queryInfo.networkStatus=a.I.fetchMore,this.observe()),this.queryManager.fetchQuery(s,i,a.I.fetchMore).then((function(n){var s=n.data,r=e.updateQuery;return r?t.updateQuery((function(e){return r(e,{fetchMoreResult:s,variables:i.variables})})):t.queryManager.cache.writeQuery({query:i.query,variables:i.variables,data:s}),n})).finally((function(){t.queryManager.stopQuery(s),t.reobserve()}))},t.prototype.subscribeToMore=function(e){var t=this,i=this.queryManager.startGraphQLSubscription({query:e.document,variables:e.variables,context:e.context}).subscribe({next:function(i){var n=e.updateQuery;n&&t.updateQuery((function(e,t){var s=t.variables;return n(e,{subscriptionData:i,variables:s})}))},error:function(t){e.onError&&e.onError(t)}});return this.subscriptions.add(i),function(){t.subscriptions.delete(i)&&i.unsubscribe()}},t.prototype.setOptions=function(e){return this.reobserve(e)},t.prototype.setVariables=function(e){if((0,r.D)(this.variables,e))return this.observers.size?this.result():Promise.resolve();if(this.options.variables=e,!this.observers.size)return Promise.resolve();var t=this.options.fetchPolicy,i=void 0===t?"cache-first":t,n={fetchPolicy:i,variables:e};return"cache-first"!==i&&"no-cache"!==i&&"network-only"!==i&&(n.fetchPolicy="cache-and-network",n.nextFetchPolicy=i),this.reobserve(n,a.I.setVariables)},t.prototype.updateQuery=function(e){var t,i=this.queryManager,n=e(i.cache.diff({query:this.options.query,variables:this.variables,previousResult:null===(t=this.lastResult)||void 0===t?void 0:t.data,returnPartialData:!0,optimistic:!1}).result,{variables:this.variables});n&&(i.cache.writeQuery({query:this.options.query,data:n,variables:this.variables}),i.broadcastQueries())},t.prototype.startPolling=function(e){this.getReobserver().updateOptions({pollInterval:e})},t.prototype.stopPolling=function(){this.reobserver&&this.reobserver.updateOptions({pollInterval:0})},t.prototype.updateLastResult=function(e){var t=this.lastResult;return this.lastResult=e,this.lastResultSnapshot=this.queryManager.assumeImmutableResults?e:(0,o.Xh)(e),(0,o.Of)(e.errors)||delete this.lastError,t},t.prototype.onSubscribe=function(e){var t=this;if(e===this.observer)return function(){};try{var i=e._subscription._observer;i&&!i.error&&(i.error=d)}catch(e){}var n=!this.observers.size;return this.observers.add(e),this.lastError?e.error&&e.error(this.lastError):this.lastResult&&e.next&&e.next(this.lastResult),n&&this.reobserve().catch((function(e){})),function(){t.observers.delete(e)&&!t.observers.size&&t.tearDownQuery()}},t.prototype.getReobserver=function(){return this.reobserver||(this.reobserver=this.newReobserver(!0))},t.prototype.newReobserver=function(e){var t=this,i=this.queryManager,s=this.queryId;return i.setObservableQuery(this),new l(this.observer,e?this.options:(0,n.pi)({},this.options),(function(e,n){return i.setObservableQuery(t),i.fetchQueryObservable(s,e,n)}),!i.ssrMode&&function(){return!(0,a.O)(t.queryInfo.networkStatus)})},t.prototype.reobserve=function(e,t){return this.isTornDown=!1,this.getReobserver().reobserve(e,t)},t.prototype.observe=function(){this.observer.next(this.getCurrentResult(!1))},t.prototype.hasObservers=function(){return this.observers.size>0},t.prototype.tearDownQuery=function(){this.isTornDown||(this.reobserver&&(this.reobserver.stop(),delete this.reobserver),this.subscriptions.forEach((function(e){return e.unsubscribe()})),this.subscriptions.clear(),this.queryManager.stopQuery(this.queryId),this.observers.clear(),this.isTornDown=!0)},t}(o.y$);function d(e){}(0,o.Dy)(c)},71439:(e,t,i)=>{"use strict";i.d(t,{ApolloClient:()=>n.f,ApolloError:()=>r.c,ApolloLink:()=>l.ApolloLink,InMemoryCache:()=>a.InMemoryCache,createHttpLink:()=>c.LQ,gql:()=>u.ZP});var n=i(55765),s=(i(66282),i(85942),i(72191));i.o(s,"ApolloLink")&&i.d(t,{ApolloLink:function(){return s.ApolloLink}}),i.o(s,"createHttpLink")&&i.d(t,{createHttpLink:function(){return s.createHttpLink}});var r=i(21498),a=i(62634),o=i(35367);i.o(o,"ApolloLink")&&i.d(t,{ApolloLink:function(){return o.ApolloLink}}),i.o(o,"createHttpLink")&&i.d(t,{createHttpLink:function(){return o.createHttpLink}});var l=i(81707);i.o(l,"createHttpLink")&&i.d(t,{createHttpLink:function(){return l.createHttpLink}});var c=i(96593),d=(i(84913),i(80496),i(10690)),u=i(95990);(0,d.U6)("log");u.ZP.resetCaches,u.ZP.disableFragmentWarnings,u.ZP.enableExperimentalFragmentVariables,u.ZP.disableExperimentalFragmentVariables},85942:(e,t,i)=>{"use strict";var n;function s(e){return!!e&&e<7}i.d(t,{I:()=>n,O:()=>s}),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"}(n||(n={}))},72191:()=>{},21498:(e,t,i)=>{"use strict";i.d(t,{M:()=>r,c:()=>a});var n=i(23564),s=i(80496);function r(e){return e.hasOwnProperty("graphQLErrors")}var a=function(e){function t(i){var n,r,a=i.graphQLErrors,o=i.networkError,l=i.errorMessage,c=i.extraInfo,d=e.call(this,l)||this;return d.graphQLErrors=a||[],d.networkError=o||null,d.message=l||(n=d,r="",(0,s.Of)(n.graphQLErrors)&&n.graphQLErrors.forEach((function(e){var t=e?e.message:"Error message not found.";r+=t+"\n"})),n.networkError&&(r+=n.networkError.message+"\n"),r=r.replace(/\n$/,"")),d.extraInfo=c,d.__proto__=t.prototype,d}return(0,n.ZT)(t,e),t}(Error)},97222:(e,t,i)=>{"use strict";i.d(t,{i:()=>d});var n=i(23564),s=i(10690),r=i(80496),a=i(84913);function o(e,t){return t?t(e):r.y$.of()}function l(e){return"function"==typeof e?new d(e):e}function c(e){return e.request.length<=1}!function(e){function t(t,i){var n=e.call(this,t)||this;return n.link=i,n}(0,n.ZT)(t,e)}(Error);var d=function(){function e(e){e&&(this.request=e)}return e.empty=function(){return new e((function(){return r.y$.of()}))},e.from=function(t){return 0===t.length?e.empty():t.map(l).reduce((function(e,t){return e.concat(t)}))},e.split=function(t,i,n){var s=l(i),a=l(n||new e(o));return c(s)&&c(a)?new e((function(e){return t(e)?s.request(e)||r.y$.of():a.request(e)||r.y$.of()})):new e((function(e,i){return t(e)?s.request(e,i)||r.y$.of():a.request(e,i)||r.y$.of()}))},e.execute=function(e,t){return e.request((0,a.zi)(t.context,(0,a.DQ)((0,a.Ak)(t))))||r.y$.of()},e.concat=function(t,i){var n=l(t);if(c(n))return n;var s=l(i);return c(s)?new e((function(e){return n.request(e,(function(e){return s.request(e)||r.y$.of()}))||r.y$.of()})):new e((function(e,t){return n.request(e,(function(e){return s.request(e,t)||r.y$.of()}))||r.y$.of()}))},e.prototype.split=function(t,i,n){return this.concat(e.split(t,i,n||new e(o)))},e.prototype.concat=function(t){return e.concat(this,t)},e.prototype.request=function(e,t){throw new s.ej(21)},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}()},24957:(e,t,i)=>{"use strict";i(97222).i.concat},67325:(e,t,i)=>{"use strict";i(97222).i.empty},2550:(e,t,i)=>{"use strict";i.d(t,{h:()=>n});var n=i(97222).i.execute},34674:(e,t,i)=>{"use strict";i(97222).i.from},81707:(e,t,i)=>{"use strict";i.d(t,{ApolloLink:()=>s.i,execute:()=>n.h});i(67325),i(34674),i(64738),i(24957);var n=i(2550),s=i(97222),r=i(79875);i.o(r,"createHttpLink")&&i.d(t,{createHttpLink:function(){return r.createHttpLink}})},64738:(e,t,i)=>{"use strict";i(97222).i.split},79875:()=>{},96593:(e,t,i)=>{"use strict";i.d(t,{uG:()=>m,LQ:()=>p});var n=i(84913),s=Object.prototype.hasOwnProperty;var r=i(10690),a=function(e,t){var i;try{i=JSON.stringify(e)}catch(e){var n=new r.ej(23);throw n.parseError=e,n}return i},o=i(23564),l=i(39011),c={http:{includeQuery:!0,includeExtensions:!1},headers:{accept:"*/*","content-type":"application/json"},options:{method:"POST"}},d=i(80285),u=i(81707),h=i(80496);var p=function(e){void 0===e&&(e={});var t=e.uri,i=void 0===t?"/graphql":t,p=e.fetch,m=e.includeExtensions,f=e.useGETForQueries,g=e.includeUnusedVariables,v=void 0!==g&&g,y=(0,o._T)(e,["uri","fetch","includeExtensions","useGETForQueries","includeUnusedVariables"]);!function(e){if(!e&&"undefined"==typeof fetch)throw new r.ej(22)}(p),p||(p=fetch);var b={http:{includeExtensions:m},options:y.fetchOptions,credentials:y.credentials,headers:y.headers};return new u.ApolloLink((function(e){var t=function(e,t){return e.getContext().uri||("function"==typeof t?t(e):t||"/graphql")}(e,i),r=e.getContext(),u={};if(r.clientAwareness){var m=r.clientAwareness,g=m.name,y=m.version;g&&(u["apollographql-client-name"]=g),y&&(u["apollographql-client-version"]=y)}var E,S=(0,o.pi)((0,o.pi)({},u),r.headers),O={http:r.http,options:r.fetchOptions,credentials:r.credentials,headers:S},T=function(e,t){for(var i=[],n=2;n=300&&(0,n.PW)(e,t,"Response not successful: Received status code "+e.status),Array.isArray(t)||s.call(t,"data")||s.call(t,"errors")||(0,n.PW)(e,t,"Server response was missing for query '"+(Array.isArray(r)?r.map((function(e){return e.operationName})):r.operationName)+"'."),t}))})).then((function(e){return i.next(e),i.complete(),e})).catch((function(e){"AbortError"!==e.name&&(e.result&&e.result.errors&&e.result.data&&i.next(e.result),i.error(e))})),function(){E&&E.abort()}}))}))},m=function(e){function t(t){void 0===t&&(t={});var i=e.call(this,p(t).request)||this;return i.options=t,i}return(0,o.ZT)(t,e),t}(u.ApolloLink)},84913:(e,t,i)=>{"use strict";i.d(t,{zi:()=>c,Qc:()=>s,PW:()=>a,DQ:()=>d,Ak:()=>o});var n=i(80496);function s(e){return new n.y$((function(t){t.error(e)}))}var r=i(10690);var a=function(e,t,i){var n=new Error(i);throw n.name="ServerError",n.response=e,n.statusCode=e.status,n.result=t,n};function o(e){for(var t=["query","operationName","variables","extensions","context"],i=0,n=Object.keys(e);i{"use strict";i.d(t,{Jh:()=>l,ZT:()=>s,_T:()=>a,mG:()=>o,pi:()=>r,pr:()=>c});var n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])})(e,t)};function s(e,t){function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}var r=function(){return(r=Object.assign||function(e){for(var t,i=1,n=arguments.length;i0&&s[s.length-1])||6!==r[0]&&2!==r[0])){a=0;continue}if(3===r[0]&&(!s||r[1]>s[0]&&r[1]{"use strict";i.d(t,{X_:()=>ae,w0:()=>$,y$:()=>Q(),Gw:()=>F,NC:()=>E,sz:()=>ne,aL:()=>B,mr:()=>ce,Xh:()=>J,oA:()=>de,F:()=>d,Dy:()=>se,O4:()=>L,kU:()=>I,hi:()=>u,Yk:()=>c,p$:()=>P,$H:()=>N,rY:()=>A,iW:()=>k,PT:()=>b,qw:()=>O,d2:()=>le,mj:()=>o,FS:()=>a,My:()=>T,Ao:()=>_,Of:()=>oe,hh:()=>f,pM:()=>ie,kQ:()=>m,Jv:()=>te,Ee:()=>z,bw:()=>K,ob:()=>G,Fo:()=>j,u2:()=>S,LZ:()=>r,vf:()=>v});var n=i(77304),s=i(10690);function r(e,t){var i=e.directives;return!i||!i.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 i=e.arguments;e.name.value;(0,s.kG)(i&&1===i.length,39);var n=i[0];(0,s.kG)(n.name&&"if"===n.name.value,40);var r=n.value;(0,s.kG)(r&&("Variable"===r.kind||"BooleanValue"===r.kind),41),t.push({directive:e,ifArgument:n})}}));return t}(i).every((function(e){var i=e.directive,n=e.ifArgument,r=!1;return"Variable"===n.value.kind?(r=t&&t[n.value.name.value],(0,s.kG)(void 0!==r,38)):r=n.value.value,"skip"===i.name.value?!r:r}))}function a(e,t){return function(e){var t=[];return(0,n.Vn)(e,{Directive:function(e){t.push(e.name.value)}}),t}(t).some((function(t){return e.indexOf(t)>-1}))}function o(e){return e&&a(["client"],e)&&a(["export"],e)}var l=i(23564);function c(e,t){var i=t,n=[];return e.definitions.forEach((function(e){if("OperationDefinition"===e.kind)throw new s.ej(42);"FragmentDefinition"===e.kind&&n.push(e)})),void 0===i&&((0,s.kG)(1===n.length,43),i=n[0].name.value),(0,l.pi)((0,l.pi)({},e),{definitions:(0,l.pr)([{kind:"OperationDefinition",operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:i}}]}}],e.definitions)})}function d(e){void 0===e&&(e=[]);var t={};return e.forEach((function(e){t[e.name.value]=e})),t}function u(e,t){switch(e.kind){case"InlineFragment":return e;case"FragmentSpread":var i=t&&t[e.name.value];return(0,s.kG)(i,44),i;default:return null}}var h=i(35035),p=i.n(h);function m(e){return{__ref:String(e)}}function f(e){return Boolean(e&&"object"==typeof e&&"string"==typeof e.__ref)}function g(e,t,i,n){if(function(e){return"IntValue"===e.kind}(i)||function(e){return"FloatValue"===e.kind}(i))e[t.value]=Number(i.value);else if(function(e){return"BooleanValue"===e.kind}(i)||function(e){return"StringValue"===e.kind}(i))e[t.value]=i.value;else if(function(e){return"ObjectValue"===e.kind}(i)){var r={};i.fields.map((function(e){return g(r,e.name,e.value,n)})),e[t.value]=r}else if(function(e){return"Variable"===e.kind}(i)){var a=(n||{})[i.name.value];e[t.value]=a}else if(function(e){return"ListValue"===e.kind}(i))e[t.value]=i.values.map((function(e){var i={};return g(i,t,e,n),i[t.value]}));else if(function(e){return"EnumValue"===e.kind}(i))e[t.value]=i.value;else{if(!function(e){return"NullValue"===e.kind}(i))throw new s.ej(53);e[t.value]=null}}function v(e,t){var i=null;e.directives&&(i={},e.directives.forEach((function(e){i[e.name.value]={},e.arguments&&e.arguments.forEach((function(n){var s=n.name,r=n.value;return g(i[e.name.value],s,r,t)}))})));var n=null;return e.arguments&&e.arguments.length&&(n={},e.arguments.forEach((function(e){var i=e.name,s=e.value;return g(n,i,s,t)}))),b(e.name.value,n,i)}var y=["connection","include","skip","client","rest","export"];function b(e,t,i){if(t&&i&&i.connection&&i.connection.key){if(i.connection.filter&&i.connection.filter.length>0){var n=i.connection.filter?i.connection.filter:[];n.sort();var s={};return n.forEach((function(e){s[e]=t[e]})),i.connection.key+"("+JSON.stringify(s)+")"}return i.connection.key}var r=e;if(t){var a=p()(t);r+="("+a+")"}return i&&Object.keys(i).forEach((function(e){-1===y.indexOf(e)&&(i[e]&&Object.keys(i[e]).length?r+="@"+e+"("+JSON.stringify(i[e])+")":r+="@"+e)})),r}function E(e,t){if(e.arguments&&e.arguments.length){var i={};return e.arguments.forEach((function(e){var n=e.name,s=e.value;return g(i,n,s,t)})),i}return null}function S(e){return e.alias?e.alias.value:e.name.value}function O(e,t,i){if("string"==typeof e.__typename)return e.__typename;for(var n=0,s=t.selections;n1)for(var n=new $,s=1;s0}function le(e){return e.errors&&e.errors.length>0||!1}se(ae);var ce="function"==typeof WeakMap&&!("object"==typeof navigator&&"ReactNative"===navigator.product);function de(){for(var e=[],t=0;t{"use strict";function t(e,t,i,n){this.cx=3*e,this.bx=3*(i-e)-this.cx,this.ax=1-this.cx-this.bx,this.cy=3*t,this.by=3*(n-t)-this.cy,this.ay=1-this.cy-this.by,this.p1x=e,this.p1y=t,this.p2x=i,this.p2y=n}e.exports=t,t.prototype={sampleCurveX:function(e){return((this.ax*e+this.bx)*e+this.cx)*e},sampleCurveY:function(e){return((this.ay*e+this.by)*e+this.cy)*e},sampleCurveDerivativeX:function(e){return(3*this.ax*e+2*this.bx)*e+this.cx},solveCurveX:function(e,t){if(void 0===t&&(t=1e-6),e<0)return 0;if(e>1)return 1;for(var i=e,n=0;n<8;n++){var s=this.sampleCurveX(i)-e;if(Math.abs(s)s?a=i:o=i,i=.5*(o-a)+a;return i},solve:function(e,t){return this.sampleCurveY(this.solveCurveX(e,t))}}},82152:(e,t,i)=>{"use strict";i.d(t,{D:()=>l});var n=Object.prototype,s=n.toString,r=n.hasOwnProperty,a=Function.prototype.toString,o=new Map;function l(e,t){try{return c(e,t)}finally{o.clear()}}function c(e,t){if(e===t)return!0;var i,n,o,l=s.call(e);if(l!==s.call(t))return!1;switch(l){case"[object Array]":if(e.length!==t.length)return!1;case"[object Object]":if(p(e,t))return!0;var u=d(e),m=d(t),f=u.length;if(f!==m.length)return!1;for(var g=0;g=0&&i.indexOf(n,o)===o))}return!1}function d(e){return Object.keys(e).filter(u,e)}function u(e){return void 0!==this[e]}var h="{ [native code] }";function p(e,t){var i=o.get(e);if(i){if(i.has(t))return!0}else o.set(e,i=new Set);return i.add(t),!1}},38772:(e,t,i)=>{"use strict";i.d(t,{A:()=>a,Z:()=>r});var n=i(67294),s=i(58196);function r(e){if(!e.prototype||!e.prototype.render)return e.__scuWrap||(e.__scuWrap=o(e,u));e.prototype.shouldComponentUpdate=c}function a(e){if(!e.prototype||!e.prototype.render)return e.__scuWrap||(e.__scuWrap=o(e,s.NK));e.prototype.shouldComponentUpdate=d}function o(e,t){class i extends l{}return i.prototype.renderChild=e,i.prototype.diffFunc=t,i}class l extends n.Component{shouldComponentUpdate(e){return this.diffFunc(e,this.props)}render(){return this.renderChild(this.props,this.context)}}function c(e,t){return u(e,this.props)||u(t,this.state)}function d(e,t){return u(e,this.props)||(0,s.NK)(t,this.state)}function u(e,t){for(const i in e)if(e[i]!==t[i])return!0;for(const i in t)if(!(i in e))return!0;return!1}},49627:(e,t,i)=>{"use strict";i.d(t,{h4:()=>c,OR:()=>r,_:()=>a,Fx:()=>d,rf:()=>l,iP:()=>u});var n=i(67294);const s="undefined"!=typeof window?n.useLayoutEffect:n.useEffect;const r=function(e,t,i){const r=(0,n.useRef)(t);s((()=>{r.current=t}),[t]),(0,n.useEffect)((()=>{const t=(null==i?void 0:i.current)||window;if(!t||!t.addEventListener)return;const n=e=>r.current(e);return t.addEventListener(e,n),()=>{t.removeEventListener(e,n)}}),[e,i])};const a=function(e,t){const i=(0,n.useCallback)((()=>{if("undefined"==typeof window)return t;try{const i=window.localStorage.getItem(e);return i?function(e){try{return"undefined"===e?void 0:JSON.parse(null!=e?e:"")}catch{return void console.log("parsing error on",{value:e})}}(i):t}catch(i){return console.warn("Error reading localStorage key “".concat(e,"”:"),i),t}}),[t,e]),[s,a]=(0,n.useState)(i),o=(0,n.useCallback)((t=>{"undefined"==typeof window&&console.warn("Tried setting localStorage key “".concat(e,"” even though environment is not a client"));try{const i=t instanceof Function?t(s):t;window.localStorage.setItem(e,JSON.stringify(i)),a(i),window.dispatchEvent(new Event("local-storage"))}catch(t){console.warn("Error setting localStorage key “".concat(e,"”:"),t)}}),[e,s]);(0,n.useEffect)((()=>{a(i())}),[]);const l=(0,n.useCallback)((()=>{a(i())}),[i]);return r("storage",l),r("local-storage",l),[s,o]};const o=function(){const e=(0,n.useRef)(!0);return e.current?(e.current=!1,!0):e.current};const l=function(e,t){const i=o();(0,n.useEffect)((()=>{if(!i)return e()}),t)};const c=function(){const[e,t]=(0,n.useState)(null),[i,a]=(0,n.useState)({width:0,height:0}),o=(0,n.useCallback)((()=>{a({width:(null==e?void 0:e.offsetWidth)||0,height:(null==e?void 0:e.offsetHeight)||0})}),[null==e?void 0:e.offsetHeight,null==e?void 0:e.offsetWidth]);return r("resize",o),s((()=>{o()}),[null==e?void 0:e.offsetHeight,null==e?void 0:e.offsetWidth]),[t,i]};const d=function(e){const t=(0,n.useCallback)((()=>{if("undefined"==typeof window)return null;try{const t=window.localStorage.getItem(e);return t?JSON.parse(t):null}catch(t){return console.warn("Error reading localStorage key “".concat(e,"”:"),t),null}}),[e]),[i,s]=(0,n.useState)(t);(0,n.useEffect)((()=>{s(t())}),[]);const a=(0,n.useCallback)((()=>{s(t())}),[t]);return r("storage",a),r("local-storage",a),i};const u=function(){const[e,t]=(0,n.useState)({width:0,height:0}),i=()=>{t({width:window.innerWidth,height:window.innerHeight})};return r("resize",i),s((()=>{i()}),[]),e}},21924:(e,t,i)=>{"use strict";var n=i(10492),s=i(55559),r=s(n("String.prototype.indexOf"));e.exports=function(e,t){var i=n(e,!!t);return"function"==typeof i&&r(e,".prototype.")>-1?s(i):i}},55559:(e,t,i)=>{"use strict";var n=i(58612),s=i(10492),r=s("%Function.prototype.apply%"),a=s("%Function.prototype.call%"),o=s("%Reflect.apply%",!0)||n.call(a,r),l=s("%Object.getOwnPropertyDescriptor%",!0),c=s("%Object.defineProperty%",!0),d=s("%Math.max%");if(c)try{c({},"a",{value:1})}catch(e){c=null}e.exports=function(e){var t=o(n,a,arguments);if(l&&c){var i=l(t,"length");i.configurable&&c(t,"length",{value:1+d(0,e.length-(arguments.length-1))})}return t};var u=function(){return o(n,r,arguments)};c?c(e.exports,"apply",{value:u}):e.exports.apply=u},10492:(e,t,i)=>{"use strict";var n,s=SyntaxError,r=Function,a=TypeError,o=function(e){try{return Function('"use strict"; return ('+e+").constructor;")()}catch(e){}},l=Object.getOwnPropertyDescriptor;if(l)try{l({},"")}catch(e){l=null}var c=function(){throw new a},d=l?function(){try{return c}catch(e){try{return l(arguments,"callee").get}catch(e){return c}}}():c,u=i(41405)(),h=Object.getPrototypeOf||function(e){return e.__proto__},p=o("async function* () {}"),m=p?p.prototype:n,f=m?m.prototype:n,g="undefined"==typeof Uint8Array?n:h(Uint8Array),v={"%AggregateError%":"undefined"==typeof AggregateError?n:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?n:ArrayBuffer,"%ArrayIteratorPrototype%":u?h([][Symbol.iterator]()):n,"%AsyncFromSyncIteratorPrototype%":n,"%AsyncFunction%":o("async function () {}"),"%AsyncGenerator%":m,"%AsyncGeneratorFunction%":p,"%AsyncIteratorPrototype%":f?h(f):n,"%Atomics%":"undefined"==typeof Atomics?n:Atomics,"%BigInt%":"undefined"==typeof BigInt?n:BigInt,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?n:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?n:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?n:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?n:FinalizationRegistry,"%Function%":r,"%GeneratorFunction%":o("function* () {}"),"%Int8Array%":"undefined"==typeof Int8Array?n:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?n:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?n:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":u?h(h([][Symbol.iterator]())):n,"%JSON%":"object"==typeof JSON?JSON:n,"%Map%":"undefined"==typeof Map?n:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&u?h((new Map)[Symbol.iterator]()):n,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?n:Promise,"%Proxy%":"undefined"==typeof Proxy?n:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?n:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?n:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&u?h((new Set)[Symbol.iterator]()):n,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?n:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":u?h(""[Symbol.iterator]()):n,"%Symbol%":u?Symbol:n,"%SyntaxError%":s,"%ThrowTypeError%":d,"%TypedArray%":g,"%TypeError%":a,"%Uint8Array%":"undefined"==typeof Uint8Array?n:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?n:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?n:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?n:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?n:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?n:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?n:WeakSet},y={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},b=i(58612),E=i(17642),S=b.call(Function.call,Array.prototype.concat),O=b.call(Function.apply,Array.prototype.splice),T=b.call(Function.call,String.prototype.replace),_=b.call(Function.call,String.prototype.slice),w=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,N=/\\(\\)?/g,A=function(e){var t=_(e,0,1),i=_(e,-1);if("%"===t&&"%"!==i)throw new s("invalid intrinsic syntax, expected closing `%`");if("%"===i&&"%"!==t)throw new s("invalid intrinsic syntax, expected opening `%`");var n=[];return T(e,w,(function(e,t,i,s){n[n.length]=i?T(s,N,"$1"):t||e})),n},I=function(e,t){var i,n=e;if(E(y,n)&&(n="%"+(i=y[n])[0]+"%"),E(v,n)){var r=v[n];if(void 0===r&&!t)throw new a("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:i,name:n,value:r}}throw new s("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new a("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new a('"allowMissing" argument must be a boolean');var i=A(e),n=i.length>0?i[0]:"",r=I("%"+n+"%",t),o=r.name,c=r.value,d=!1,u=r.alias;u&&(n=u[0],O(i,S([0,1],u)));for(var h=1,p=!0;h=i.length){var y=l(c,m);c=(p=!!y)&&"get"in y&&!("originalValue"in y.get)?y.get:c[m]}else p=E(c,m),c=c[m];p&&!d&&(v[o]=c)}}return c}},94184:(e,t)=>{var i;!function(){"use strict";var n={}.hasOwnProperty;function s(){for(var e=[],t=0;t-1};function c(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(e))throw new TypeError("Invalid character in header field name");return e.toLowerCase()}function d(e){return"string"!=typeof e&&(e=String(e)),e}function u(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return n&&(t[Symbol.iterator]=function(){return t}),t}function h(e){this.map={},e instanceof h?e.forEach((function(e,t){this.append(t,e)}),this):Array.isArray(e)?e.forEach((function(e){this.append(e[0],e[1])}),this):e&&Object.getOwnPropertyNames(e).forEach((function(t){this.append(t,e[t])}),this)}function p(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function m(e){return new Promise((function(t,i){e.onload=function(){t(e.result)},e.onerror=function(){i(e.error)}}))}function f(e){var t=new FileReader,i=m(t);return t.readAsArrayBuffer(e),i}function g(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function v(){return this.bodyUsed=!1,this._initBody=function(e){var t;this._bodyInit=e,e?"string"==typeof e?this._bodyText=e:s&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:r&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:i&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():a&&s&&((t=e)&&DataView.prototype.isPrototypeOf(t))?(this._bodyArrayBuffer=g(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):a&&(ArrayBuffer.prototype.isPrototypeOf(e)||l(e))?this._bodyArrayBuffer=g(e):this._bodyText=e=Object.prototype.toString.call(e):this._bodyText="",this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):i&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},s&&(this.blob=function(){var e=p(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?p(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(f)}),this.text=function(){var e,t,i,n=p(this);if(n)return n;if(this._bodyBlob)return e=this._bodyBlob,t=new FileReader,i=m(t),t.readAsText(e),i;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),i=new Array(t.length),n=0;n-1?n:i),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&s)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(s)}function E(e){var t=new FormData;return e.trim().split("&").forEach((function(e){if(e){var i=e.split("="),n=i.shift().replace(/\+/g," "),s=i.join("=").replace(/\+/g," ");t.append(decodeURIComponent(n),decodeURIComponent(s))}})),t}function S(e,t){t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in t?t.statusText:"OK",this.headers=new h(t.headers),this.url=t.url||"",this._initBody(e)}b.prototype.clone=function(){return new b(this,{body:this._bodyInit})},v.call(b.prototype),v.call(S.prototype),S.prototype.clone=function(){return new S(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new h(this.headers),url:this.url})},S.error=function(){var e=new S(null,{status:0,statusText:""});return e.type="error",e};var O=[301,302,303,307,308];S.redirect=function(e,t){if(-1===O.indexOf(t))throw new RangeError("Invalid status code");return new S(null,{status:t,headers:{location:e}})},t.DOMException=e.DOMException;try{new t.DOMException}catch(e){t.DOMException=function(e,t){this.message=e,this.name=t;var i=Error(e);this.stack=i.stack},t.DOMException.prototype=Object.create(Error.prototype),t.DOMException.prototype.constructor=t.DOMException}function T(e,i){return new Promise((function(n,r){var a=new b(e,i);if(a.signal&&a.signal.aborted)return r(new t.DOMException("Aborted","AbortError"));var o=new XMLHttpRequest;function l(){o.abort()}o.onload=function(){var e,t,i={status:o.status,statusText:o.statusText,headers:(e=o.getAllResponseHeaders()||"",t=new h,e.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(e){var i=e.split(":"),n=i.shift().trim();if(n){var s=i.join(":").trim();t.append(n,s)}})),t)};i.url="responseURL"in o?o.responseURL:i.headers.get("X-Request-URL");var s="response"in o?o.response:o.responseText;n(new S(s,i))},o.onerror=function(){r(new TypeError("Network request failed"))},o.ontimeout=function(){r(new TypeError("Network request failed"))},o.onabort=function(){r(new t.DOMException("Aborted","AbortError"))},o.open(a.method,a.url,!0),"include"===a.credentials?o.withCredentials=!0:"omit"===a.credentials&&(o.withCredentials=!1),"responseType"in o&&s&&(o.responseType="blob"),a.headers.forEach((function(e,t){o.setRequestHeader(t,e)})),a.signal&&(a.signal.addEventListener("abort",l),o.onreadystatechange=function(){4===o.readyState&&a.signal.removeEventListener("abort",l)}),o.send(void 0===a._bodyInit?null:a._bodyInit)}))}T.polyfill=!0,e.fetch||(e.fetch=T,e.Headers=h,e.Request=b,e.Response=S),t.Headers=h,t.Request=b,t.Response=S,t.fetch=T,Object.defineProperty(t,"__esModule",{value:!0})}({})}(n),n.fetch.ponyfill=!0,delete n.fetch.polyfill;var s=n;(t=s.fetch).default=s.fetch,t.fetch=s.fetch,t.Headers=s.Headers,t.Request=s.Request,t.Response=s.Response,e.exports=t},69266:(e,t,i)=>{"use strict";const n="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==i.g?i.g:void 0,s=e=>async(t,i)=>{"string"==typeof t&&(t=(new n.TextEncoder).encode(t)),i={outputFormat:"hex",...i};const s=await n.crypto.subtle.digest(e,t);return"hex"===i.outputFormat?(e=>{const t=new DataView(e);let i="";for(let e=0;e{"use strict";var n=i(82215),s="function"==typeof Symbol&&"symbol"==typeof Symbol("foo"),r=Object.prototype.toString,a=Array.prototype.concat,o=Object.defineProperty,l=o&&function(){var e={};try{for(var t in o(e,"x",{enumerable:!1,value:e}),e)return!1;return e.x===e}catch(e){return!1}}(),c=function(e,t,i,n){var s;(!(t in e)||"function"==typeof(s=n)&&"[object Function]"===r.call(s)&&n())&&(l?o(e,t,{configurable:!0,enumerable:!1,value:i,writable:!0}):e[t]=i)},d=function(e,t){var i=arguments.length>2?arguments[2]:{},r=n(t);s&&(r=a.call(r,Object.getOwnPropertySymbols(t)));for(var o=0;o{"use strict";e.exports=function(e,t){t||(t={}),"function"==typeof t&&(t={cmp:t});var i,n="boolean"==typeof t.cycles&&t.cycles,s=t.cmp&&(i=t.cmp,function(e){return function(t,n){var s={key:t,value:e[t]},r={key:n,value:e[n]};return i(s,r)}}),r=[];return function e(t){if(t&&t.toJSON&&"function"==typeof t.toJSON&&(t=t.toJSON()),void 0!==t){if("number"==typeof t)return isFinite(t)?""+t:"null";if("object"!=typeof t)return JSON.stringify(t);var i,a;if(Array.isArray(t)){for(a="[",i=0;i{"use strict";var n=i(95320),s=Object.prototype.toString,r=Object.prototype.hasOwnProperty,a=function(e,t,i){for(var n=0,s=e.length;n=3&&(r=i),"[object Array]"===s.call(e)?a(e,t,r):"string"==typeof e?o(e,t,r):l(e,t,r)}},17648:e=>{"use strict";var t="Function.prototype.bind called on incompatible ",i=Array.prototype.slice,n=Object.prototype.toString,s="[object Function]";e.exports=function(e){var r=this;if("function"!=typeof r||n.call(r)!==s)throw new TypeError(t+r);for(var a,o=i.call(arguments,1),l=function(){if(this instanceof a){var t=r.apply(this,o.concat(i.call(arguments)));return Object(t)===t?t:this}return r.apply(e,o.concat(i.call(arguments)))},c=Math.max(0,r.length-o.length),d=[],u=0;u{"use strict";var n=i(17648);e.exports=Function.prototype.bind||n},43517:(e,t,i)=>{"use strict";function n(e,t=!1){let i=0;for(let t=0,n=e.length;tn})},95360:(e,t,i)=>{"use strict";function n(e,t){let i=e[0],n=e[1],s=!1;for(let e=0,r=t.length-1;en!=c>n&&i<(l-a)*(n-o)/(c-o)+a&&(s=!s)}return s}i.d(t,{O:()=>n})},5696:(e,t,i)=>{"use strict";function n(e){return Math.sqrt(Math.pow(e[1][0]-e[0][0],2)+Math.pow(e[1][1]-e[0][1],2))}function s(e,t,i=0){const s=n(t);return function(e,t,i=0){return Math.abs((n=e,s=t[0],r=t[1],(n[0]-r[0])*(s[1]-r[1])-(n[1]-r[1])*(s[0]-r[0])))<=i;var n,s,r}(e,t,i)&&n([t[0],e])<=s&&n([t[1],e])<=s}i.d(t,{s8:()=>s})},75327:(e,t,i)=>{"use strict";function n(e){return function(e){const t=e[0],i=e[e.length-1];return t[0]===i[0]&&t[1]===i[1]}(e)?e:[...e,e[0]]}i.d(t,{D:()=>l});var s=i(5696);function r(e,t){const[[i,n],[r,a]]=e,[[o,l],[c,d]]=t;if(i===o&&n===l)return!0;if(r===c&&a===d)return!0;if((0,s.s8)(e[0],t)||(0,s.s8)(e[1],t))return!0;if((0,s.s8)(t[0],e)||(0,s.s8)(t[1],e))return!0;const u=(d-l)*(r-i)-(c-o)*(a-n);if(0===u)return!1;const h=n-l,p=i-o,m=((c-o)*h-(d-l)*p)/u,f=((r-i)*h-(a-n)*p)/u;return m>0&&m<1&&f>0&&f<1}function a(e,t){let i=!1;const a=n(t);for(let t=0,n=a.length-1;t{"use strict";i.d(t,{ZP:()=>p});var n=function(){return(n=Object.assign||function(e){for(var t,i=1,n=arguments.length;i{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.prototype.toJSON;"function"==typeof t||(0,n.default)(0),e.prototype.inspect=t,s.default&&(e.prototype[s.default]=t)};var n=r(i(7706)),s=r(i(18554));function r(e){return e&&e.__esModule?e:{default:e}}},8002:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return a(e,[])};var n,s=(n=i(18554))&&n.__esModule?n:{default:n};function r(e){return(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})(e)}function a(e,t){switch(r(e)){case"string":return JSON.stringify(e);case"function":return e.name?"[function ".concat(e.name,"]"):"[function]";case"object":return null===e?"null":function(e,t){if(-1!==t.indexOf(e))return"[Circular]";var i=[].concat(t,[e]),n=function(e){var t=e[String(s.default)];if("function"==typeof t)return t;if("function"==typeof e.inspect)return e.inspect}(e);if(void 0!==n){var r=n.call(e);if(r!==e)return"string"==typeof r?r:a(r,i)}else if(Array.isArray(e))return function(e,t){if(0===e.length)return"[]";if(t.length>2)return"[Array]";for(var i=Math.min(10,e.length),n=e.length-i,s=[],r=0;r1&&s.push("... ".concat(n," more items"));return"["+s.join(", ")+"]"}(e,i);return function(e,t){var i=Object.keys(e);if(0===i.length)return"{}";if(t.length>2)return"["+function(e){var t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if("Object"===t&&"function"==typeof e.constructor){var i=e.constructor.name;if("string"==typeof i&&""!==i)return i}return t}(e)+"]";return"{ "+i.map((function(i){return i+": "+a(e[i],t)})).join(", ")+" }"}(e,i)}(e,t);default:return String(e)}}},7706:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(!Boolean(e))throw new Error(null!=t?t:"Unexpected invariant triggered.")}},18554:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):void 0;t.default=i},91807:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isNode=function(e){return null!=e&&"string"==typeof e.kind},t.Token=t.Location=void 0;var n,s=(n=i(50972))&&n.__esModule?n:{default:n};var r=function(){function e(e,t,i){this.start=e.start,this.end=t.end,this.startToken=e,this.endToken=t,this.source=i}return e.prototype.toJSON=function(){return{start:this.start,end:this.end}},e}();t.Location=r,(0,s.default)(r);var a=function(){function e(e,t,i,n,s,r,a){this.kind=e,this.start=t,this.end=i,this.line=n,this.column=s,this.value=a,this.prev=r,this.next=null}return e.prototype.toJSON=function(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}},e}();t.Token=a,(0,s.default)(a)},80285:(e,t,i)=>{"use strict";t.Vn=function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:a,n=void 0,c=Array.isArray(e),d=[e],u=-1,h=[],p=void 0,m=void 0,f=void 0,g=[],v=[],y=e;do{var b=++u===d.length,E=b&&0!==h.length;if(b){if(m=0===v.length?void 0:g[g.length-1],p=f,f=v.pop(),E){if(c)p=p.slice();else{for(var S={},O=0,T=Object.keys(p);O{"use strict";var n=i.g.Symbol,s=i(55419);e.exports=function(){return"function"==typeof n&&("function"==typeof Symbol&&("symbol"==typeof n("foo")&&("symbol"==typeof Symbol("bar")&&s())))}},55419:e=>{"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),i=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(i))return!1;for(t in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var n=Object.getOwnPropertySymbols(e);if(1!==n.length||n[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var s=Object.getOwnPropertyDescriptor(e,t);if(42!==s.value||!0!==s.enumerable)return!1}return!0}},17642:(e,t,i)=>{"use strict";var n=i(58612);e.exports=n.call(Function.call,Object.prototype.hasOwnProperty)},95320:e=>{"use strict";var t,i,n=Function.prototype.toString,s="object"==typeof Reflect&&null!==Reflect&&Reflect.apply;if("function"==typeof s&&"function"==typeof Object.defineProperty)try{t=Object.defineProperty({},"length",{get:function(){throw i}}),i={},s((function(){throw 42}),null,t)}catch(e){e!==i&&(s=null)}else s=null;var r=/^\s*class\b/,a=function(e){try{var t=n.call(e);return r.test(t)}catch(e){return!1}},o=Object.prototype.toString,l="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;e.exports=s?function(e){if(!e)return!1;if("function"!=typeof e&&"object"!=typeof e)return!1;if("function"==typeof e&&!e.prototype)return!0;try{s(e,null,t)}catch(e){if(e!==i)return!1}return!a(e)}:function(e){if(!e)return!1;if("function"!=typeof e&&"object"!=typeof e)return!1;if("function"==typeof e&&!e.prototype)return!0;if(l)return function(e){try{return!a(e)&&(n.call(e),!0)}catch(e){return!1}}(e);if(a(e))return!1;var t=o.call(e);return"[object Function]"===t||"[object GeneratorFunction]"===t}},6687:()=>{},41293:()=>{},94238:()=>{},54078:(e,t,i)=>{"use strict";var n=i(94029),s=i(42473),r=i(17642),a=i(46057),o=function(e){s(!1,e)},l=String.prototype.replace,c=String.prototype.split,d="||||",u=function(e){var t=e%100,i=t%10;return 11!==t&&1===i?0:2<=i&&i<=4&&!(t>=12&&t<=14)?1:2},h={pluralTypes:{arabic:function(e){if(e<3)return e;var t=e%100;return t>=3&&t<=10?3:t>=11?4:5},bosnian_serbian:u,chinese:function(){return 0},croatian:u,french:function(e){return e>1?1:0},german:function(e){return 1!==e?1:0},russian:u,lithuanian:function(e){return e%10==1&&e%100!=11?0:e%10>=2&&e%10<=9&&(e%100<11||e%100>19)?1:2},czech:function(e){return 1===e?0:e>=2&&e<=4?1:2},polish:function(e){if(1===e)return 0;var t=e%10;return 2<=t&&t<=4&&(e%100<10||e%100>=20)?1:2},icelandic:function(e){return e%10!=1||e%100==11?1:0},slovenian:function(e){var t=e%100;return 1===t?0:2===t?1:3===t||4===t?2:3}},pluralTypeToLanguages:{arabic:["ar"],bosnian_serbian:["bs-Latn-BA","bs-Cyrl-BA","srl-RS","sr-RS"],chinese:["id","id-ID","ja","ko","ko-KR","lo","ms","th","th-TH","zh"],croatian:["hr","hr-HR"],german:["fa","da","de","en","es","fi","el","he","hi-IN","hu","hu-HU","it","nl","no","pt","sv","tr"],french:["fr","tl","pt-br"],russian:["ru","ru-RU"],lithuanian:["lt"],czech:["cs","cs-CZ","sk"],polish:["pl"],icelandic:["is"],slovenian:["sl-SL"]}};function p(e,t){var i,s,r=(i=e.pluralTypeToLanguages,s={},n(i,(function(e,t){n(e,(function(e){s[e]=t}))})),s);return r[t]||r[c.call(t,/-/,1)[0]]||r.en}function m(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}var f=/%\{(.*?)\}/g;function g(e,t,i,n,s){if("string"!=typeof e)throw new TypeError("Polyglot.transformPhrase expects argument #1 to be string");if(null==t)return e;var o=e,u=n||f,m=s||h,g="number"==typeof t?{smart_count:t}:t;if(null!=g.smart_count&&o){var v=c.call(o,d);o=a(v[function(e,t,i){return e.pluralTypes[p(e,t)](i)}(m,i||"en",g.smart_count)]||v[0])}return o=l.call(o,u,(function(e,t){return r(g,t)&&null!=g[t]?g[t]:e}))}function v(e){var t=e||{};this.phrases={},this.extend(t.phrases||{}),this.currentLocale=t.locale||"en";var i=t.allowMissing?g:null;this.onMissingKey="function"==typeof t.onMissingKey?t.onMissingKey:i,this.warn=t.warn||o,this.tokenRegex=function(e){var t=e&&e.prefix||"%{",i=e&&e.suffix||"}";if(t===d||i===d)throw new RangeError('"||||" token is reserved for pluralization');return new RegExp(m(t)+"(.*?)"+m(i),"g")}(t.interpolation),this.pluralRules=t.pluralRules||h}v.prototype.locale=function(e){return e&&(this.currentLocale=e),this.currentLocale},v.prototype.extend=function(e,t){n(e,(function(e,i){var n=t?t+"."+i:i;"object"==typeof e?this.extend(e,n):this.phrases[n]=e}),this)},v.prototype.unset=function(e,t){"string"==typeof e?delete this.phrases[e]:n(e,(function(e,i){var n=t?t+"."+i:i;"object"==typeof e?this.unset(e,n):delete this.phrases[n]}),this)},v.prototype.clear=function(){this.phrases={}},v.prototype.replace=function(e){this.clear(),this.extend(e)},v.prototype.t=function(e,t){var i,n,s=null==t?{}:t;if("string"==typeof this.phrases[e])i=this.phrases[e];else if("string"==typeof s._)i=s._;else if(this.onMissingKey){n=(0,this.onMissingKey)(e,s,this.currentLocale,this.tokenRegex,this.pluralRules)}else this.warn('Missing translation for key: "'+e+'"'),n=e;return"string"==typeof i&&(n=g(i,s,this.currentLocale,this.tokenRegex,this.pluralRules)),n},v.prototype.has=function(e){return r(this.phrases,e)},v.transformPhrase=function(e,t,i){return g(e,t,i)},e.exports=v},18987:(e,t,i)=>{"use strict";var n;if(!Object.keys){var s=Object.prototype.hasOwnProperty,r=Object.prototype.toString,a=i(21414),o=Object.prototype.propertyIsEnumerable,l=!o.call({toString:null},"toString"),c=o.call((function(){}),"prototype"),d=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],u=function(e){var t=e.constructor;return t&&t.prototype===e},h={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},p=function(){if("undefined"==typeof window)return!1;for(var e in window)try{if(!h["$"+e]&&s.call(window,e)&&null!==window[e]&&"object"==typeof window[e])try{u(window[e])}catch(e){return!0}}catch(e){return!0}return!1}();n=function(e){var t=null!==e&&"object"==typeof e,i="[object Function]"===r.call(e),n=a(e),o=t&&"[object String]"===r.call(e),h=[];if(!t&&!i&&!n)throw new TypeError("Object.keys called on a non-object");var m=c&&i;if(o&&e.length>0&&!s.call(e,0))for(var f=0;f0)for(var g=0;g{"use strict";var n=Array.prototype.slice,s=i(21414),r=Object.keys,a=r?function(e){return r(e)}:i(18987),o=Object.keys;a.shim=function(){Object.keys?function(){var e=Object.keys(arguments);return e&&e.length===arguments.length}(1,2)||(Object.keys=function(e){return s(e)?o(n.call(e)):o(e)}):Object.keys=a;return Object.keys||a},e.exports=a},21414:e=>{"use strict";var t=Object.prototype.toString;e.exports=function(e){var i=t.call(e),n="[object Arguments]"===i;return n||(n="[object Array]"!==i&&null!==e&&"object"==typeof e&&"number"==typeof e.length&&e.length>=0&&"[object Function]"===t.call(e.callee)),n}},4061:(e,t,i)=>{"use strict";var n=i(43842);function s(e,t,i){var s,o,l,c;t=t||1;for(var d=0;dl)&&(l=u[0]),(!d||u[1]>c)&&(c=u[1])}var h=l-s,p=c-o,m=Math.min(h,p),f=m/2;if(0===m){var g=[s,o];return g.distance=0,g}for(var v=new n(void 0,r),y=s;yE.d&&(E=S);for(var O=v.length;v.length;){var T=v.pop();T.d>E.d&&(E=T,i&&console.log("found best %d after %d probes",Math.round(1e4*T.d)/1e4,O)),T.max-E.d<=t||(f=T.h/2,v.push(new a(T.x-f,T.y-f,f,e)),v.push(new a(T.x+f,T.y-f,f,e)),v.push(new a(T.x-f,T.y+f,f,e)),v.push(new a(T.x+f,T.y+f,f,e)),O+=4)}i&&(console.log("num probes: "+O),console.log("best distance: "+E.d));var _=[E.x,E.y];return _.distance=E.d,_}function r(e,t){return t.max-e.max}function a(e,t,i,n){this.x=e,this.y=t,this.h=i,this.d=function(e,t,i){for(var n=!1,s=1/0,r=0;rt!=h[1]>t&&e<(h[0]-u[0])*(t-u[1])/(h[1]-u[1])+u[0]&&(n=!n),s=Math.min(s,o(e,t,u,h))}return 0===s?0:(n?1:-1)*Math.sqrt(s)}(e,t,n),this.max=this.d+this.h*Math.SQRT2}function o(e,t,i,n){var s=i[0],r=i[1],a=n[0]-s,o=n[1]-r;if(0!==a||0!==o){var l=((e-s)*a+(t-r)*o)/(a*a+o*o);l>1?(s=n[0],r=n[1]):l>0&&(s+=a*l,r+=o*l)}return(a=e-s)*a+(o=t-r)*o}n.default&&(n=n.default),e.exports=s,e.exports.default=s},62587:e=>{"use strict";function t(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.exports=function(e,i,n,s){i=i||"&",n=n||"=";var r={};if("string"!=typeof e||0===e.length)return r;var a=/\+/g;e=e.split(i);var o=1e3;s&&"number"==typeof s.maxKeys&&(o=s.maxKeys);var l=e.length;o>0&&l>o&&(l=o);for(var c=0;c=0?(d=m.substr(0,f),u=m.substr(f+1)):(d=m,u=""),h=decodeURIComponent(d),p=decodeURIComponent(u),t(r,h)?Array.isArray(r[h])?r[h].push(p):r[h]=[r[h],p]:r[h]=p}return r}},12361:e=>{"use strict";var t=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,i,n,s){return i=i||"&",n=n||"=",null===e&&(e=void 0),"object"==typeof e?Object.keys(e).map((function(s){var r=encodeURIComponent(t(s))+n;return Array.isArray(e[s])?e[s].map((function(e){return r+encodeURIComponent(t(e))})).join(i):r+encodeURIComponent(t(e[s]))})).join(i):s?encodeURIComponent(t(s))+n+encodeURIComponent(t(e)):""}},17673:(e,t,i)=>{"use strict";t.decode=t.parse=i(62587),t.encode=t.stringify=i(12361)},82582:function(e){e.exports=function(){"use strict";function e(e,n,s,r,a){!function e(i,n,s,r,a){for(;r>s;){if(r-s>600){var o=r-s+1,l=n-s+1,c=Math.log(o),d=.5*Math.exp(2*c/3),u=.5*Math.sqrt(c*d*(o-d)/o)*(l-o/2<0?-1:1);e(i,n,Math.max(s,Math.floor(n-l*d/o+u)),Math.min(r,Math.floor(n+(o-l)*d/o+u)),a)}var h=i[n],p=s,m=r;for(t(i,s,n),a(i[r],h)>0&&t(i,s,r);p0;)m--}0===a(i[s],h)?t(i,s,m):t(i,++m,r),m<=n&&(s=m+1),n<=m&&(r=m-1)}}(e,n,s||0,r||e.length-1,a||i)}function t(e,t,i){var n=e[t];e[t]=e[i],e[i]=n}function i(e,t){return et?1:0}var n=function(e){void 0===e&&(e=9),this._maxEntries=Math.max(4,e),this._minEntries=Math.max(2,Math.ceil(.4*this._maxEntries)),this.clear()};function s(e,t,i){if(!i)return t.indexOf(e);for(var n=0;n=e.minX&&t.maxY>=e.minY}function m(e){return{children:e,height:1,leaf:!0,minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0}}function f(t,i,n,s,r){for(var a=[i,n];a.length;)if(!((n=a.pop())-(i=a.pop())<=s)){var o=i+Math.ceil((n-i)/s/2)*s;e(t,o,i,n,r),a.push(i,o,o,n)}}return n.prototype.all=function(){return this._all(this.data,[])},n.prototype.search=function(e){var t=this.data,i=[];if(!p(e,t))return i;for(var n=this.toBBox,s=[];t;){for(var r=0;r=0&&s[t].children.length>this._maxEntries;)this._split(s,t),t--;this._adjustParentBBoxes(n,s,t)},n.prototype._split=function(e,t){var i=e[t],n=i.children.length,s=this._minEntries;this._chooseSplitAxis(i,s,n);var a=this._chooseSplitIndex(i,s,n),o=m(i.children.splice(a,i.children.length-a));o.height=i.height,o.leaf=i.leaf,r(i,this.toBBox),r(o,this.toBBox),t?e[t-1].children.push(o):this._splitRoot(i,o)},n.prototype._splitRoot=function(e,t){this.data=m([e,t]),this.data.height=e.height+1,this.data.leaf=!1,r(this.data,this.toBBox)},n.prototype._chooseSplitIndex=function(e,t,i){for(var n,s,r,o,l,c,u,h=1/0,p=1/0,m=t;m<=i-t;m++){var f=a(e,0,m,this.toBBox),g=a(e,m,i,this.toBBox),v=(s=f,r=g,o=void 0,l=void 0,c=void 0,u=void 0,o=Math.max(s.minX,r.minX),l=Math.max(s.minY,r.minY),c=Math.min(s.maxX,r.maxX),u=Math.min(s.maxY,r.maxY),Math.max(0,c-o)*Math.max(0,u-l)),y=d(f)+d(g);v=t;p--){var m=e.children[p];o(l,e.leaf?s(m):m),c+=u(l)}return c},n.prototype._adjustParentBBoxes=function(e,t,i){for(var n=i;n>=0;n--)o(t[n],e)},n.prototype._condense=function(e){for(var t=e.length-1,i=void 0;t>=0;t--)0===e[t].children.length?t>0?(i=e[t-1].children).splice(i.indexOf(e[t]),1):this.clear():r(e[t],this.toBBox)},n}()},64448:(e,t,i)=>{"use strict";var n=i(67294),s=i(63840);function r(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,i=1;i