/*! For license information please see showcase.js.LICENSE.txt */ (()=>{var e,t,n,i,s,r,a={35367:()=>{},97704:(e,t,n)=>{"use strict";n.d(t,{ApolloClient:()=>ut,ApolloError:()=>A,InMemoryCache:()=>tt,createHttpLink:()=>p,gql:()=>Ot});var i=n(23564),s=n(10690),r=n(81707),a=n(80496),o=n(84913),l=Object.prototype.hasOwnProperty;var c=function(e,t){var n;try{n=JSON.stringify(e)}catch(e){var i=new s.ej(23);throw i.parseError=e,i}return n},d=n(39011),u={http:{includeQuery:!0,includeExtensions:!1},headers:{accept:"*/*","content-type":"application/json"},options:{method:"POST"}},h=n(80285);var p=function(e){void 0===e&&(e={});var t=e.uri,n=void 0===t?"/graphql":t,p=e.fetch,m=e.includeExtensions,f=e.useGETForQueries,g=e.includeUnusedVariables,v=void 0!==g&&g,b=(0,i._T)(e,["uri","fetch","includeExtensions","useGETForQueries","includeUnusedVariables"]);!function(e){if(!e&&"undefined"==typeof fetch)throw new s.ej(22)}(p),p||(p=fetch);var y={http:{includeExtensions:m},options:b.fetchOptions,credentials:b.credentials,headers:b.headers};return new r.ApolloLink((function(e){var t=function(e,t){return e.getContext().uri||("function"==typeof t?t(e):t||"/graphql")}(e,n),s=e.getContext(),r={};if(s.clientAwareness){var m=s.clientAwareness,g=m.name,b=m.version;g&&(r["apollographql-client-name"]=g),b&&(r["apollographql-client-version"]=b)}var E,S=(0,i.pi)((0,i.pi)({},r),s.headers),O={http:s.http,options:s.fetchOptions,credentials:s.credentials,headers:S},T=function(e,t){for(var n=[],s=2;s=300&&(0,o.PW)(e,t,"Response not successful: Received status code "+e.status),Array.isArray(t)||l.call(t,"data")||l.call(t,"errors")||(0,o.PW)(e,t,"Server response was missing for query '"+(Array.isArray(i)?i.map((function(e){return e.operationName})):i.operationName)+"'."),t}))})).then((function(e){return n.next(e),n.complete(),e})).catch((function(e){"AbortError"!==e.name&&(e.result&&e.result.errors&&e.result.data&&n.next(e.result),n.error(e))})),function(){E&&E.abort()}}))}))},m=function(e){function t(t){void 0===t&&(t={});var n=e.call(this,p(t).request)||this;return n.options=t,n}return(0,i.ZT)(t,e),t}(r.ApolloLink),f=Object.prototype,g=f.toString,v=f.hasOwnProperty,b=Function.prototype.toString,y=new Map;function E(e,t){try{return S(e,t)}finally{y.clear()}}function S(e,t){if(e===t)return!0;var n,i,s,r=g.call(e);if(r!==g.call(t))return!1;switch(r){case"[object Array]":if(e.length!==t.length)return!1;case"[object Object]":if(w(e,t))return!0;var a=O(e),o=O(t),l=a.length;if(l!==o.length)return!1;for(var c=0;c=0&&n.indexOf(i,s)===s))}return!1}function O(e){return Object.keys(e).filter(T,e)}function T(e){return void 0!==this[e]}var _="{ [native code] }";function w(e,t){var n=y.get(e);if(n){if(n.has(t))return!0}else y.set(e,n=new Set);return n.add(t),!1}var N,A=function(e){function t(n){var i,s,r=n.graphQLErrors,o=n.networkError,l=n.errorMessage,c=n.extraInfo,d=e.call(this,l)||this;return d.graphQLErrors=r||[],d.networkError=o||null,d.message=l||(i=d,s="",(0,a.Of)(i.graphQLErrors)&&i.graphQLErrors.forEach((function(e){var t=e?e.message:"Error message not found.";s+=t+"\n"})),i.networkError&&(s+=i.networkError.message+"\n"),s=s.replace(/\n$/,"")),d.extraInfo=c,d.__proto__=t.prototype,d}return(0,i.ZT)(t,e),t}(Error);function I(e){return!!e&&e<7}!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={}));var k=function(){function e(e,t,n,i){this.observer=e,this.options=t,this.fetch=n,this.shouldFetch=i}return e.prototype.reobserve=function(e,t){e?this.updateOptions(e):this.updatePolling();var n=this.fetch(this.options,t);return this.concast&&this.concast.removeObserver(this.observer,!0),n.addObserver(this.observer),(this.concast=n).promise},e.prototype.updateOptions=function(e){return Object.assign(this.options,(0,a.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,n=this.options.pollInterval;if(n){if((!t||t.interval!==n)&&((0,s.kG)(n,20),!1!==this.shouldFetch)){(t||(this.pollingInfo={})).interval=n;var i=function(){e.pollingInfo&&(e.shouldFetch&&e.shouldFetch()?e.reobserve({fetchPolicy:"network-only",nextFetchPolicy:e.options.fetchPolicy||"cache-first"},N.poll).then(r,r):r())},r=function(){var t=e.pollingInfo;t&&(clearTimeout(t.timeout),t.timeout=setTimeout(i,t.interval))};r()}}else t&&(clearTimeout(t.timeout),delete this.pollingInfo)},e}(),P=function(e){function t(t){var n=t.queryManager,s=t.queryInfo,r=t.options,o=e.call(this,(function(e){return o.onSubscribe(e)}))||this;o.observers=new Set,o.subscriptions=new Set,o.observer={next:function(e){(o.lastError||o.isDifferentFromLastResult(e))&&(o.updateLastResult(e),(0,a.pM)(o.observers,"next",e))},error:function(e){o.updateLastResult((0,i.pi)((0,i.pi)({},o.lastResult),{error:e,errors:e.graphQLErrors,networkStatus:N.error,loading:!1})),(0,a.pM)(o.observers,"error",o.lastError=e)}},o.isTornDown=!1,o.options=r,o.queryId=n.generateQueryId();var l=(0,a.$H)(r.query);return o.queryName=l&&l.name&&l.name.value,o.queryManager=n,o.queryInfo=s,o}return(0,i.ZT)(t,e),Object.defineProperty(t.prototype,"variables",{get:function(){return this.options.variables},enumerable:!1,configurable:!0}),t.prototype.result=function(){var e=this;return new Promise((function(t,n){var i={next:function(n){t(n),e.observers.delete(i),e.observers.size||e.queryManager.removeQuery(e.queryId),setTimeout((function(){s.unsubscribe()}),0)},error:n},s=e.subscribe(i)}))},t.prototype.getCurrentResult=function(e){void 0===e&&(e=!0);var t=this.lastResult,n=this.queryInfo.networkStatus||t&&t.networkStatus||N.ready,s=(0,i.pi)((0,i.pi)({},t),{loading:I(n),networkStatus:n});if(this.isTornDown)return s;var r=this.options.fetchPolicy,a=void 0===r?"cache-first":r;if("no-cache"===a||"network-only"===a)delete s.partial;else if(!s.data||!this.queryManager.transform(this.options.query).hasForcedResolvers){var o=this.queryInfo.getDiff();s.data=o.complete||this.options.returnPartialData?o.result:void 0,o.complete?(s.networkStatus!==N.loading||"cache-first"!==a&&"cache-only"!==a||(s.networkStatus=N.ready,s.loading=!1),delete s.partial):s.partial=!0}return e&&this.updateLastResult(s),s},t.prototype.isDifferentFromLastResult=function(e){return!E(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},n=this.options.fetchPolicy;return"no-cache"!==n&&"cache-and-network"!==n&&(t.fetchPolicy="network-only",t.nextFetchPolicy=n||"cache-first"),e&&!E(this.options.variables,e)&&(t.variables=this.options.variables=(0,i.pi)((0,i.pi)({},this.options.variables),e)),this.newReobserver(!1).reobserve(t,N.refetch)},t.prototype.fetchMore=function(e){var t=this,n=(0,i.pi)((0,i.pi)({},e.query?e:(0,i.pi)((0,i.pi)((0,i.pi)({},this.options),e),{variables:(0,i.pi)((0,i.pi)({},this.options.variables),e.variables)})),{fetchPolicy:"no-cache"}),s=this.queryManager.generateQueryId();return n.notifyOnNetworkStatusChange&&(this.queryInfo.networkStatus=N.fetchMore,this.observe()),this.queryManager.fetchQuery(s,n,N.fetchMore).then((function(i){var s=i.data,r=e.updateQuery;return r?t.updateQuery((function(e){return r(e,{fetchMoreResult:s,variables:n.variables})})):t.queryManager.cache.writeQuery({query:n.query,variables:n.variables,data:s}),i})).finally((function(){t.queryManager.stopQuery(s),t.reobserve()}))},t.prototype.subscribeToMore=function(e){var t=this,n=this.queryManager.startGraphQLSubscription({query:e.document,variables:e.variables,context:e.context}).subscribe({next:function(n){var i=e.updateQuery;i&&t.updateQuery((function(e,t){var s=t.variables;return i(e,{subscriptionData:n,variables:s})}))},error:function(t){e.onError&&e.onError(t)}});return this.subscriptions.add(n),function(){t.subscriptions.delete(n)&&n.unsubscribe()}},t.prototype.setOptions=function(e){return this.reobserve(e)},t.prototype.setVariables=function(e){if(E(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,n=void 0===t?"cache-first":t,i={fetchPolicy:n,variables:e};return"cache-first"!==n&&"no-cache"!==n&&"network-only"!==n&&(i.fetchPolicy="cache-and-network",i.nextFetchPolicy=n),this.reobserve(i,N.setVariables)},t.prototype.updateQuery=function(e){var t,n=this.queryManager,i=e(n.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});i&&(n.cache.writeQuery({query:this.options.query,data:i,variables:this.variables}),n.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,a.Xh)(e),(0,a.Of)(e.errors)||delete this.lastError,t},t.prototype.onSubscribe=function(e){var t=this;if(e===this.observer)return function(){};try{var n=e._subscription._observer;n&&!n.error&&(n.error=L)}catch(e){}var i=!this.observers.size;return this.observers.add(e),this.lastError?e.error&&e.error(this.lastError):this.lastResult&&e.next&&e.next(this.lastResult),i&&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,n=this.queryManager,s=this.queryId;return n.setObservableQuery(this),new k(this.observer,e?this.options:(0,i.pi)({},this.options),(function(e,i){return n.setObservableQuery(t),n.fetchQueryObservable(s,e,i)}),!n.ssrMode&&function(){return!I(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}(a.y$);function L(e){}(0,a.Dy)(P);var R=n(77304),C=function(){return Object.create(null)},D=Array.prototype,M=D.forEach,x=D.slice,j=function(){function e(e,t){void 0===e&&(e=!0),void 0===t&&(t=C),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}(),K=new G;function Y(e){var t=e.unsubscribe;"function"==typeof t&&(e.unsubscribe=void 0,t())}var q=[];function $(e,t){if(!e)throw new Error(t||"assertion failure")}function Z(e){switch(e.length){case 0:throw new Error("unknown value");case 1:return e[0];case 2:throw e[1]}}var Q=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&&!J(this))return this.value[0]},e.prototype.recompute=function(e){return $(!this.recomputing,"already recomputing"),function(e){var t=K.getValue();if(t)e.parents.add(t),t.childValues.has(e)||t.childValues.set(e,[]),J(e)?ne(t,e):ie(t,e)}(this),J(this)?function(e,t){re(e),K.withValue(e,X,[e,t]),function(e,t){if("function"==typeof e.subscribe)try{Y(e),e.unsubscribe=e.subscribe.apply(null,t)}catch(t){return e.setDirty(),!1}return!0}(e,t)&&function(e){if(e.dirty=!1,J(e))return;te(e)}(e);return Z(e.value)}(this,e):Z(this.value)},e.prototype.setDirty=function(){this.dirty||(this.dirty=!0,this.value.length=0,ee(this),re(this),Y(this))},e.prototype.dispose=function(){var e=this;re(this),Y(this),this.parents.forEach((function(t){t.setDirty(),ae(t,e)}))},e.prototype.dependOn=function(e){e.add(this),this.deps||(this.deps=q.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(),q.push(this.deps),this.deps=null)},e.count=0,e}();function X(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 J(e){return e.dirty||!(!e.dirtyChildren||!e.dirtyChildren.size)}function ee(e){e.parents.forEach((function(t){return ne(t,e)}))}function te(e){e.parents.forEach((function(t){return ie(t,e)}))}function ne(e,t){if($(e.childValues.has(t)),$(J(t)),e.dirtyChildren){if(e.dirtyChildren.has(t))return}else e.dirtyChildren=q.pop()||new Set;e.dirtyChildren.add(t),ee(e)}function ie(e,t){$(e.childValues.has(t)),$(!J(t));var n,i,s,r=e.childValues.get(t);0===r.length?e.childValues.set(t,t.value.slice(0)):(n=r,i=t.value,(s=n.length)>0&&s===i.length&&n[s-1]===i[s-1]||e.setDirty()),se(e,t),J(e)||te(e)}function se(e,t){var n=e.dirtyChildren;n&&(n.delete(t),0===n.size&&(q.length<100&&q.push(n),e.dirtyChildren=null))}function re(e){e.childValues.size>0&&e.childValues.forEach((function(t,n){ae(e,n)})),e.forgetDeps(),$(null===e.dirtyChildren)}function ae(e,t){t.parents.delete(e),e.childValues.delete(t),se(e,t)}function oe(e){var t=new Map,n=e&&e.subscribe;function i(e){var i=K.getValue();if(i){var s=t.get(e);s||t.set(e,s=new Set),i.dependOn(s),"function"==typeof n&&(Y(s),s.unsubscribe=n(e))}}return i.dirty=function(e){var n=t.get(e);n&&(n.forEach((function(e){return e.setDirty()})),t.delete(e),Y(n))},i}var le=new j("function"==typeof WeakMap);function ce(){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 Ne?this.parent.getRootIdSet(e):Object.keys(this.policies.rootTypenamesById).forEach(e.add,e),e},e.prototype.gc=function(){var e=this,t=this.getRootIdSet(),n=this.toObject();t.forEach((function(i){fe.call(n,i)&&(Object.keys(e.findChildRefIds(i)).forEach(t.add,t),delete n[i])}));var i=Object.keys(n);if(i.length){for(var s=this;s instanceof Ne;)s=s.parent;i.forEach((function(e){return s.delete(e)}))}return i},e.prototype.findChildRefIds=function(e){if(!fe.call(this.refs,e)){var t=this.refs[e]=Object.create(null),n=new Set([this.data[e]]),i=function(e){return null!==e&&"object"==typeof e};n.forEach((function(e){(0,a.hh)(e)?t[e.__ref]=!0:i(e)&&Object.values(e).filter(i).forEach(n.add,n)}))}return this.refs[e]},e.prototype.makeCacheKey=function(){for(var e=[],t=0;t0;if(h&&!c)throw u.missing[0];return{result:u.result,missing:u.missing,complete:!h}},e.prototype.isFresh=function(e,t,n,i){if(Ie(i.store)&&this.knownResults.get(e)===n){var s=this.executeSelectionSet.peek(n,t,i);if(s&&e===s.result)return!0}return!1},e.prototype.execSelectionSetImpl=function(e){var t=this,n=e.selectionSet,i=e.objectOrReference,r=e.context;if((0,a.hh)(i)&&!r.policies.rootTypenamesById[i.__ref]&&!r.store.has(i.__ref))return{result:{},missing:[ke(new s.ej(4),r)]};var o=r.variables,l=r.policies,c=r.store,d=[],u={result:null},h=c.getFieldValue(i,"__typename");function p(){return u.missing||(u.missing=[])}function m(e){var t;return e.missing&&(t=p()).push.apply(t,e.missing),e.result}this.config.addTypename&&"string"==typeof h&&!l.rootIdsByTypename[h]&&d.push({__typename:h});var f=new Set(n.selections);return f.forEach((function(e){var n;if((0,a.LZ)(e,o))if((0,a.My)(e)){var c=l.readField({fieldName:e.name.value,field:e,variables:r.variables,from:i},r),u=(0,a.u2)(e);r.path.push(u);var g=r.clientOnly;r.clientOnly=g||!(!e.directives||!e.directives.some((function(e){return"client"===e.name.value}))),void 0===c?a.Gw.added(e)||p().push(ke(new s.ej(5),r)):Array.isArray(c)?c=m(t.executeSubSelectedArray({field:e,array:c,context:r})):e.selectionSet&&null!=c&&(c=m(t.executeSelectionSet({selectionSet:e.selectionSet,objectOrReference:c,context:r}))),void 0!==c&&d.push(((n={})[u]=c,n)),r.clientOnly=g,(0,s.kG)(r.path.pop()===u)}else{var v=(0,a.hi)(e,r.fragmentMap);v&&l.fragmentMatches(v,h)&&v.selectionSet.selections.forEach(f.add,f)}})),u.result=(0,a.bw)(d),this.knownResults.set(u.result,n),u},e.prototype.execSubSelectedArrayImpl=function(e){var t,n=this,i=e.field,r=e.array,a=e.context;function o(e,n){return e.missing&&(t=t||[]).push.apply(t,e.missing),(0,s.kG)(a.path.pop()===n),e.result}return i.selectionSet&&(r=r.filter(a.store.canRead)),{result:r=r.map((function(e,t){return null===e?null:(a.path.push(t),Array.isArray(e)?o(n.executeSubSelectedArray({field:i,array:e,context:a}),t):i.selectionSet?o(n.executeSelectionSet({selectionSet:i.selectionSet,objectOrReference:e,context:a}),t):((0,s.kG)(a.path.pop()===t),e))})),missing:t}},e}();var Le=function(){function e(e,t){this.cache=e,this.reader=t}return e.prototype.writeToStore=function(e){var t=e.query,n=e.result,r=e.dataId,o=e.store,l=e.variables,c=(0,a.$H)(t),d=new a.w0;l=(0,i.pi)((0,i.pi)({},(0,a.O4)(c)),l);var u=this.processSelectionSet({result:n||Object.create(null),dataId:r,selectionSet:c.selectionSet,mergeTree:{map:new Map},context:{store:o,written:Object.create(null),merge:function(e,t){return d.merge(e,t)},variables:l,varString:JSON.stringify(l),fragmentMap:(0,a.F)((0,a.kU)(t))}});if(!(0,a.hh)(u))throw new s.ej(7);return o.retain(u.__ref),u},e.prototype.processSelectionSet=function(e){var t=this,n=e.dataId,i=e.result,r=e.selectionSet,o=e.context,l=e.mergeTree,c=this.cache.policies,d=c.identify(i,r,o.fragmentMap),u=d[0],h=d[1];if("string"==typeof(n=n||u)){var p=o.written[n]||(o.written[n]=[]),m=(0,a.kQ)(n);if(p.indexOf(r)>=0)return m;if(p.push(r),this.reader&&this.reader.isFresh(i,m,r,o))return m}var f=Object.create(null);h&&(f=o.merge(f,h));var g=n&&c.rootTypenamesById[n]||(0,a.qw)(i,r,o.fragmentMap)||n&&o.store.get(n,"__typename");"string"==typeof g&&(f.__typename=g);var v=new Set(r.selections);if(v.forEach((function(e){var n;if((0,a.LZ)(e,o.variables))if((0,a.My)(e)){var r=(0,a.u2)(e),d=i[r];if(void 0!==d){var u=c.getStoreFieldName({typename:g,fieldName:e.name.value,field:e,variables:o.variables}),h=Ce(l,u),p=t.processFieldValue(d,e,o,h),m=e.selectionSet&&o.store.getFieldValue(p,"__typename")||void 0,b=c.getMergeFunction(g,e.name.value,m);b?h.info={field:e,typename:g,merge:b}:De(l,u),f=o.merge(f,((n={})[u]=p,n))}else if(c.usingPossibleTypes&&!(0,a.FS)(["defer","client"],e))throw new s.ej(8)}else{var y=(0,a.hi)(e,o.fragmentMap);y&&c.fragmentMatches(y,g,i,o.variables)&&y.selectionSet.selections.forEach(v.add,v)}})),"string"==typeof n){var b=(0,a.kQ)(n);return l.map.size&&(f=this.applyMerges(l,b,f,o)),o.store.merge(n,f),b}return f},e.prototype.processFieldValue=function(e,t,n,i){var s=this;return t.selectionSet&&null!==e?Array.isArray(e)?e.map((function(e,r){var a=s.processFieldValue(e,t,n,Ce(i,r));return De(i,r),a})):this.processSelectionSet({result:e,selectionSet:t.selectionSet,context:n,mergeTree:i}):e},e.prototype.applyMerges=function(e,t,n,r,o){var l,c=this;if(e.map.size&&!(0,a.hh)(n)){var d,u=Array.isArray(n)||!(0,a.hh)(t)&&!ye(t)?void 0:t,h=n;u&&!o&&(o=[(0,a.hh)(u)?u.__ref:u]);var p=function(e,t){return Array.isArray(e)?"number"==typeof t?e[t]:void 0:r.store.getFieldValue(e,String(t))};e.map.forEach((function(e,t){o&&o.push(t);var n=p(u,t),i=p(h,t),a=c.applyMerges(e,n,i,r,o);a!==i&&(d=d||new Map).set(t,a),o&&(0,s.kG)(o.pop()===t)})),d&&(n=Array.isArray(h)?h.slice(0):(0,i.pi)({},h),d.forEach((function(e,t){n[t]=e})))}return e.info?this.cache.policies.runMergeFunction(t,n,e.info,r,o&&(l=r.store).getStorage.apply(l,o)):n},e}(),Re=[];function Ce(e,t){var n=e.map;return n.has(t)||n.set(t,Re.pop()||{map:new Map}),n.get(t)}function De(e,t){var n=e.map,i=n.get(t);!i||i.info||i.map.size||(Re.push(i),n.delete(t))}new Set;var Me=new G;function xe(e,t){if(e.size){var n=[];e.forEach((function(e){return n.push(e)})),e.clear(),n.forEach(t)}}var je=new WeakMap;function Ue(e){var t=je.get(e);return t||je.set(e,t={vars:new Set,dep:oe()}),t}function Fe(e){var t=new Set,n=new Set,i=function(r){if(arguments.length>0)e!==r&&(e=r,t.forEach((function(e){Ue(e).dep.dirty(i),He(e)})),xe(n,(function(t){return t(e)})));else{var a=Me.getValue();a&&(s(a),Ue(a).dep(i))}return e};i.onNextChange=function(e){return n.add(e),function(){n.delete(e)}};var s=i.attachCache=function(e){return t.add(e),Ue(e).vars.add(i),i};return i.forgetCache=function(e){return t.delete(e)},i}function He(e){e.broadcastWatches&&e.broadcastWatches()}function Ve(e){return void 0!==e.args?e.args:e.field?(0,a.NC)(e.field,e.variables):null}var Be=function(e,t){var n=e.__typename,i=e.id,s=e._id;if("string"==typeof n&&(t&&(t.keyObject=void 0!==i?{id:i}:void 0!==s?{_id:s}:void 0),void 0===i&&(i=s),void 0!==i))return n+":"+("number"==typeof i||"string"==typeof i?i:JSON.stringify(i))},Ge=function(){},We=function(e,t){return t.fieldName},ze=function(e,t,n){return(0,n.mergeObjects)(e,t)},Ke=function(e,t){return t},Ye=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,i.pi)({dataIdFromObject:Be},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,n){var i=t&&n?(0,a.qw)(e,t,n):e.__typename;if(i===this.rootTypenamesById.ROOT_QUERY)return["ROOT_QUERY"];for(var s,r={typename:i,selectionSet:t,fragmentMap:n},o=i&&this.getTypePolicy(i),l=o&&o.keyFn||this.config.dataIdFromObject;l;){var c=l(e,r);if(!Array.isArray(c)){s=c;break}l=Qe(c)}return s=s&&String(s),r.keyObject?[s,r.keyObject]:[s]},e.prototype.addTypePolicies=function(e){var t=this;Object.keys(e).forEach((function(n){var s=e[n],r=s.queryType,a=s.mutationType,o=s.subscriptionType,l=(0,i._T)(s,["queryType","mutationType","subscriptionType"]);r&&t.setRootTypename("Query",n),a&&t.setRootTypename("Mutation",n),o&&t.setRootTypename("Subscription",n),fe.call(t.toBeAdded,n)?t.toBeAdded[n].push(l):t.toBeAdded[n]=[l]}))},e.prototype.updateTypePolicy=function(e,t){var n=this,i=this.getTypePolicy(e),s=t.keyFields,r=t.fields;function a(e,t){e.merge="function"==typeof t?t:!0===t?ze:!1===t?Ke:e.merge}a(i,t.merge),i.keyFn=!1===s?Ge:Array.isArray(s)?Qe(s):"function"==typeof s?s:i.keyFn,r&&Object.keys(r).forEach((function(t){var i=n.getFieldPolicy(e,t,!0),s=r[t];if("function"==typeof s)i.read=s;else{var o=s.keyArgs,l=s.read,c=s.merge;i.keyFn=!1===o?We:Array.isArray(o)?Ze(o):"function"==typeof o?o:i.keyFn,"function"==typeof l&&(i.read=l),a(i,c)}i.read&&i.merge&&(i.keyFn=i.keyFn||We)}))},e.prototype.setRootTypename=function(e,t){void 0===t&&(t=e);var n="ROOT_"+e.toUpperCase(),i=this.rootTypenamesById[n];t!==i&&((0,s.kG)(!i||i===e,1),i&&delete this.rootIdsByTypename[i],this.rootIdsByTypename[t]=n,this.rootTypenamesById[n]=t)},e.prototype.addPossibleTypes=function(e){var t=this;this.usingPossibleTypes=!0,Object.keys(e).forEach((function(n){t.getSupertypeSet(n,!0),e[n].forEach((function(e){t.getSupertypeSet(e,!0).add(n);var i=e.match(ge);i&&i[0]===e||t.fuzzySubtypes.set(e,new RegExp(e))}))}))},e.prototype.getTypePolicy=function(e){var t=this;if(!fe.call(this.typePolicies,e)){var n=this.typePolicies[e]=Object.create(null);n.fields=Object.create(null);var s=this.supertypeMap.get(e);s&&s.size&&s.forEach((function(e){var s=t.getTypePolicy(e),r=s.fields,a=(0,i._T)(s,["fields"]);Object.assign(n,a),Object.assign(n.fields,r)}))}var r=this.toBeAdded[e];return r&&r.length&&this.updateTypePolicy(e,a.oA.apply(void 0,r.splice(0))),this.typePolicies[e]},e.prototype.getFieldPolicy=function(e,t,n){if(e){var i=this.getTypePolicy(e).fields;return i[t]||n&&(i[t]=Object.create(null))}},e.prototype.getSupertypeSet=function(e,t){var n=this.supertypeMap.get(e);return!n&&t&&this.supertypeMap.set(e,n=new Set),n},e.prototype.fragmentMatches=function(e,t,n,i){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=!(!n||!this.fuzzySubtypes.size),d=0;d=e.lastRequestId){if(r&&"none"===n.errorPolicy)throw e.markError(new A({graphQLErrors:s.errors}));e.markResult(s,n,t),e.markReady()}var o={data:s.data,loading:!1,networkStatus:e.networkStatus||N.ready};return r&&"ignore"!==n.errorPolicy&&(o.errors=s.errors),o}),(function(t){var n=t.hasOwnProperty("graphQLErrors")?t:new A({networkError:t});throw i>=e.lastRequestId&&e.markError(n),n}))},e.prototype.fetchQueryObservable=function(e,t,n){var i=this;void 0===n&&(n=N.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,u=t.errorPolicy,h=void 0===u?"none":u,p=t.returnPartialData,m=void 0!==p&&p,f=t.notifyOnNetworkStatusChange,g=void 0!==f&&f,v=t.context,b=void 0===v?{}:v;("cache-first"===d||"cache-and-network"===d||"network-only"===d||"no-cache"===d)&&g&&"number"==typeof l&&l!==n&&I(n)&&("cache-first"!==d&&(d="cache-and-network"),m=!0);var y=Object.assign({},t,{query:s,variables:r,fetchPolicy:d,errorPolicy:h,returnPartialData:m,notifyOnNetworkStatusChange:g,context:b}),E=function(e){return y.variables=e,i.fetchQueryByPolicy(o,y,n)};this.fetchCancelFns.set(e,(function(e){Promise.resolve().then((function(){return S.cancel(e)}))}));var S=new a.X_(this.transform(y.query).hasClientExports?this.localState.addExportedVariables(y.query,y.variables,y.context).then(E):E(y.variables));return S.cleanup((function(){i.fetchCancelFns.delete(e);var n=t.nextFetchPolicy;n&&(t.nextFetchPolicy=void 0,t.fetchPolicy="function"==typeof n?n.call(t,t.fetchPolicy||"cache-first"):n)})),S},e.prototype.fetchQueryByPolicy=function(e,t,n){var s=this,r=t.query,o=t.variables,l=t.fetchPolicy,c=t.errorPolicy,d=t.returnPartialData,u=t.context;e.init({document:r,variables:o,lastRequestId:this.generateRequestId(),networkStatus:n});var h=function(){return e.getDiff(o)},p=function(t,n){void 0===n&&(n=e.networkStatus||N.loading);var l=t.result;var c=function(e){return a.y$.of((0,i.pi)({data:e,loading:I(n),networkStatus:n},t.complete?null:{partial:!0}))};return s.transform(r).hasForcedResolvers?s.localState.runResolvers({document:r,remoteResult:{data:l},context:u,variables:o,onlyRunForcedResolvers:!0}).then((function(e){return c(e.data)})):c(l)},m=function(t){return s.getResultsFromLink(e,t,{variables:o,context:u,fetchPolicy:l,errorPolicy:c})};switch(l){default:case"cache-first":return(f=h()).complete?[p(f,e.markReady())]:d?[p(f),m(!0)]:[m(!0)];case"cache-and-network":var f;return(f=h()).complete||d?[p(f),m(!0)]:[m(!0)];case"cache-only":return[p(h(),e.markReady())];case"network-only":return[m(!0)];case"no-cache":return[m(!1)];case"standby":return[]}},e.prototype.getQuery=function(e){return e&&!this.queries.has(e)&&this.queries.set(e,new at(this.cache)),this.queries.get(e)},e.prototype.prepareContext=function(e){void 0===e&&(e={});var t=this.localState.prepareContext(e);return(0,i.pi)((0,i.pi)({},t),{clientAwareness:this.clientAwareness})},e}();function dt(e,t){return(0,a.oA)(e,t,t.variables&&{variables:(0,i.pi)((0,i.pi)({},e.variables),t.variables)})}var ut=function(){function e(e){var t=this;this.defaultOptions={},this.resetStoreCallbacks=[],this.clearStoreCallbacks=[];var n=e.uri,i=e.credentials,a=e.headers,o=e.cache,l=e.ssrMode,c=void 0!==l&&l,d=e.ssrForceFetchDelay,u=void 0===d?0:d,h=e.connectToDevTools,p=void 0===h?"object"==typeof window&&!window.__APOLLO_CLIENT__&&!1:h,f=e.queryDeduplication,g=void 0===f||f,v=e.defaultOptions,b=e.assumeImmutableResults,y=void 0!==b&&b,E=e.resolvers,S=e.typeDefs,O=e.fragmentMatcher,T=e.name,_=e.version,w=e.link;if(w||(w=n?new m({uri:n,credentials:i,headers:a}):r.ApolloLink.empty()),!o)throw new s.ej(9);this.link=w,this.cache=o,this.disableNetworkFetches=c||u>0,this.queryDeduplication=g,this.defaultOptions=v||{},this.typeDefs=S,u&&setTimeout((function(){return t.disableNetworkFetches=!1}),u),this.watchQuery=this.watchQuery.bind(this),this.query=this.query.bind(this),this.mutate=this.mutate.bind(this),this.resetStore=this.resetStore.bind(this),this.reFetchObservableQueries=this.reFetchObservableQueries.bind(this),p&&"object"==typeof window&&(window.__APOLLO_CLIENT__=this),this.version="3.3.11",this.localState=new nt({cache:o,client:this,resolvers:E,fragmentMatcher:O}),this.queryManager=new ct({cache:this.cache,link:this.link,queryDeduplication:g,ssrMode:c,clientAwareness:{name:T,version:_},localState:this.localState,assumeImmutableResults:y,onBroadcast:p?function(){t.devToolsHookCb&&t.devToolsHookCb({action:{},state:{queries:t.queryManager.getQueryStore(),mutations:t.queryManager.mutationStore||{}},dataWithOptimisticResults:t.cache.extract(!0)})}:void 0})}return e.prototype.stop=function(){this.queryManager.stop()},e.prototype.watchQuery=function(e){return this.defaultOptions.watchQuery&&(e=dt(this.defaultOptions.watchQuery,e)),!this.disableNetworkFetches||"network-only"!==e.fetchPolicy&&"cache-and-network"!==e.fetchPolicy||(e=(0,i.pi)((0,i.pi)({},e),{fetchPolicy:"cache-first"})),this.queryManager.watchQuery(e)},e.prototype.query=function(e){return this.defaultOptions.query&&(e=dt(this.defaultOptions.query,e)),(0,s.kG)("cache-and-network"!==e.fetchPolicy,10),this.disableNetworkFetches&&"network-only"===e.fetchPolicy&&(e=(0,i.pi)((0,i.pi)({},e),{fetchPolicy:"cache-first"})),this.queryManager.query(e)},e.prototype.mutate=function(e){return this.defaultOptions.mutate&&(e=dt(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}();n(72191),n(35367);var ht=function(){return(ht=Object.assign||function(e){for(var t,n=1,i=arguments.length;n{},97222:(e,t,n)=>{"use strict";n.d(t,{i:()=>d});var i=n(23564),s=n(10690),r=n(80496),a=n(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,n){var i=e.call(this,t)||this;return i.link=n,i}(0,i.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,n,i){var s=l(n),a=l(i||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,n){return t(e)?s.request(e,n)||r.y$.of():a.request(e,n)||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,n){var i=l(t);if(c(i))return i;var s=l(n);return c(s)?new e((function(e){return i.request(e,(function(e){return s.request(e)||r.y$.of()}))||r.y$.of()})):new e((function(e,t){return i.request(e,(function(e){return s.request(e,t)||r.y$.of()}))||r.y$.of()}))},e.prototype.split=function(t,n,i){return this.concat(e.split(t,n,i||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,n)=>{"use strict";n(97222).i.concat},67325:(e,t,n)=>{"use strict";n(97222).i.empty},2550:(e,t,n)=>{"use strict";n.d(t,{h:()=>i});var i=n(97222).i.execute},34674:(e,t,n)=>{"use strict";n(97222).i.from},81707:(e,t,n)=>{"use strict";n.d(t,{ApolloLink:()=>s.i,execute:()=>i.h});n(67325),n(34674),n(64738),n(24957);var i=n(2550),s=n(97222),r=n(79875);n.o(r,"createHttpLink")&&n.d(t,{createHttpLink:function(){return r.createHttpLink}})},64738:(e,t,n)=>{"use strict";n(97222).i.split},79875:()=>{},84913:(e,t,n)=>{"use strict";n.d(t,{zi:()=>c,Qc:()=>s,PW:()=>a,DQ:()=>d,Ak:()=>o});var i=n(80496);function s(e){return new i.y$((function(t){t.error(e)}))}var r=n(10690);var a=function(e,t,n){var i=new Error(n);throw i.name="ServerError",i.response=e,i.statusCode=e.status,i.result=t,i};function o(e){for(var t=["query","operationName","variables","extensions","context"],n=0,i=Object.keys(e);n{"use strict";n.d(t,{Jh:()=>l,ZT:()=>s,_T:()=>a,mG:()=>o,pi:()=>r,pr:()=>c});var i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)};function s(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var r=function(){return(r=Object.assign||function(e){for(var t,n=1,i=arguments.length;n0&&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";n.d(t,{X_:()=>ae,w0:()=>$,y$:()=>Q(),Gw:()=>U,NC:()=>E,sz:()=>ie,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:()=>y,qw:()=>O,d2:()=>le,mj:()=>o,FS:()=>a,My:()=>T,Ao:()=>_,Of:()=>oe,hh:()=>f,pM:()=>ne,kQ:()=>m,Jv:()=>te,Ee:()=>z,bw:()=>K,ob:()=>G,Fo:()=>H,u2:()=>S,LZ:()=>r,vf:()=>v});var i=n(77304),s=n(10690);function r(e,t){var n=e.directives;return!n||!n.length||function(e){var t=[];e&&e.length&&e.forEach((function(e){if(function(e){var t=e.name.value;return"skip"===t||"include"===t}(e)){var n=e.arguments;e.name.value;(0,s.kG)(n&&1===n.length,39);var i=n[0];(0,s.kG)(i.name&&"if"===i.name.value,40);var r=i.value;(0,s.kG)(r&&("Variable"===r.kind||"BooleanValue"===r.kind),41),t.push({directive:e,ifArgument:i})}}));return t}(n).every((function(e){var n=e.directive,i=e.ifArgument,r=!1;return"Variable"===i.value.kind?(r=t&&t[i.value.name.value],(0,s.kG)(void 0!==r,38)):r=i.value.value,"skip"===n.name.value?!r:r}))}function a(e,t){return function(e){var t=[];return(0,i.Vn)(e,{Directive:function(e){t.push(e.name.value)}}),t}(t).some((function(t){return e.indexOf(t)>-1}))}function o(e){return e&&a(["client"],e)&&a(["export"],e)}var l=n(23564);function c(e,t){var n=t,i=[];return e.definitions.forEach((function(e){if("OperationDefinition"===e.kind)throw new s.ej(42);"FragmentDefinition"===e.kind&&i.push(e)})),void 0===n&&((0,s.kG)(1===i.length,43),n=i[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:n}}]}}],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 n=t&&t[e.name.value];return(0,s.kG)(n,44),n;default:return null}}var h=n(35035),p=n.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,n,i){if(function(e){return"IntValue"===e.kind}(n)||function(e){return"FloatValue"===e.kind}(n))e[t.value]=Number(n.value);else if(function(e){return"BooleanValue"===e.kind}(n)||function(e){return"StringValue"===e.kind}(n))e[t.value]=n.value;else if(function(e){return"ObjectValue"===e.kind}(n)){var r={};n.fields.map((function(e){return g(r,e.name,e.value,i)})),e[t.value]=r}else if(function(e){return"Variable"===e.kind}(n)){var a=(i||{})[n.name.value];e[t.value]=a}else if(function(e){return"ListValue"===e.kind}(n))e[t.value]=n.values.map((function(e){var n={};return g(n,t,e,i),n[t.value]}));else if(function(e){return"EnumValue"===e.kind}(n))e[t.value]=n.value;else{if(!function(e){return"NullValue"===e.kind}(n))throw new s.ej(53);e[t.value]=null}}function v(e,t){var n=null;e.directives&&(n={},e.directives.forEach((function(e){n[e.name.value]={},e.arguments&&e.arguments.forEach((function(i){var s=i.name,r=i.value;return g(n[e.name.value],s,r,t)}))})));var i=null;return e.arguments&&e.arguments.length&&(i={},e.arguments.forEach((function(e){var n=e.name,s=e.value;return g(i,n,s,t)}))),y(e.name.value,i,n)}var b=["connection","include","skip","client","rest","export"];function y(e,t,n){if(t&&n&&n.connection&&n.connection.key){if(n.connection.filter&&n.connection.filter.length>0){var i=n.connection.filter?n.connection.filter:[];i.sort();var s={};return i.forEach((function(e){s[e]=t[e]})),n.connection.key+"("+JSON.stringify(s)+")"}return n.connection.key}var r=e;if(t){var a=p()(t);r+="("+a+")"}return n&&Object.keys(n).forEach((function(e){-1===b.indexOf(e)&&(n[e]&&Object.keys(n[e]).length?r+="@"+e+"("+JSON.stringify(n[e])+")":r+="@"+e)})),r}function E(e,t){if(e.arguments&&e.arguments.length){var n={};return e.arguments.forEach((function(e){var i=e.name,s=e.value;return g(n,i,s,t)})),n}return null}function S(e){return e.alias?e.alias.value:e.name.value}function O(e,t,n){if("string"==typeof e.__typename)return e.__typename;for(var i=0,s=t.selections;i1)for(var i=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,n,i){this.cx=3*e,this.bx=3*(n-e)-this.cx,this.ax=1-this.cx-this.bx,this.cy=3*t,this.by=3*(i-t)-this.cy,this.ay=1-this.cy-this.by,this.p1x=e,this.p1y=t,this.p2x=n,this.p2y=i}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 n=e,i=0;i<8;i++){var s=this.sampleCurveX(n)-e;if(Math.abs(s)s?a=n:o=n,n=.5*(o-a)+a;return n},solve:function(e,t){return this.sampleCurveY(this.solveCurveX(e,t))}}},85925:(e,t,n)=>{"use strict";n(54443)},38772:(e,t,n)=>{"use strict";n.d(t,{A:()=>a,Z:()=>r});var i=n(67294),s=n(37262);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 n extends l{}return n.prototype.renderChild=e,n.prototype.diffFunc=t,n}class l extends i.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 n in e)if(e[n]!==t[n])return!0;for(const n in t)if(!(n in e))return!0;return!1}},49627:(e,t,n)=>{"use strict";n.d(t,{h4:()=>c,OR:()=>r,_:()=>a,Fx:()=>d,rf:()=>l,iP:()=>u});var i=n(67294);const s="undefined"!=typeof window?i.useLayoutEffect:i.useEffect;const r=function(e,t,n){const r=(0,i.useRef)(t);s((()=>{r.current=t}),[t]),(0,i.useEffect)((()=>{const t=(null==n?void 0:n.current)||window;if(!t||!t.addEventListener)return;const i=e=>r.current(e);return t.addEventListener(e,i),()=>{t.removeEventListener(e,i)}}),[e,n])};const a=function(e,t){const n=(0,i.useCallback)((()=>{if("undefined"==typeof window)return t;try{const n=window.localStorage.getItem(e);return n?function(e){try{return"undefined"===e?void 0:JSON.parse(null!=e?e:"")}catch{return void console.log("parsing error on",{value:e})}}(n):t}catch(n){return console.warn("Error reading localStorage key “".concat(e,"”:"),n),t}}),[t,e]),[s,a]=(0,i.useState)(n),o=(0,i.useCallback)((t=>{"undefined"==typeof window&&console.warn("Tried setting localStorage key “".concat(e,"” even though environment is not a client"));try{const n=t instanceof Function?t(s):t;window.localStorage.setItem(e,JSON.stringify(n)),a(n),window.dispatchEvent(new Event("local-storage"))}catch(t){console.warn("Error setting localStorage key “".concat(e,"”:"),t)}}),[e,s]);(0,i.useEffect)((()=>{a(n())}),[]);const l=(0,i.useCallback)((()=>{a(n())}),[n]);return r("storage",l),r("local-storage",l),[s,o]};const o=function(){const e=(0,i.useRef)(!0);return e.current?(e.current=!1,!0):e.current};const l=function(e,t){const n=o();(0,i.useEffect)((()=>{if(!n)return e()}),t)};const c=function(){const[e,t]=(0,i.useState)(null),[n,a]=(0,i.useState)({width:0,height:0}),o=(0,i.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,n]};const d=function(e){const t=(0,i.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]),[n,s]=(0,i.useState)(t);(0,i.useEffect)((()=>{s(t())}),[]);const a=(0,i.useCallback)((()=>{s(t())}),[t]);return r("storage",a),r("local-storage",a),n};const u=function(){const[e,t]=(0,i.useState)({width:0,height:0}),n=()=>{t({width:window.innerWidth,height:window.innerHeight})};return r("resize",n),s((()=>{n()}),[]),e}},21924:(e,t,n)=>{"use strict";var i=n(10492),s=n(55559),r=s(i("String.prototype.indexOf"));e.exports=function(e,t){var n=i(e,!!t);return"function"==typeof n&&r(e,".prototype.")>-1?s(n):n}},55559:(e,t,n)=>{"use strict";var i=n(58612),s=n(10492),r=s("%Function.prototype.apply%"),a=s("%Function.prototype.call%"),o=s("%Reflect.apply%",!0)||i.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(i,a,arguments);if(l&&c){var n=l(t,"length");n.configurable&&c(t,"length",{value:1+d(0,e.length-(arguments.length-1))})}return t};var u=function(){return o(i,r,arguments)};c?c(e.exports,"apply",{value:u}):e.exports.apply=u},10492:(e,t,n)=>{"use strict";var i,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=n(41405)(),h=Object.getPrototypeOf||function(e){return e.__proto__},p=o("async function* () {}"),m=p?p.prototype:i,f=m?m.prototype:i,g="undefined"==typeof Uint8Array?i:h(Uint8Array),v={"%AggregateError%":"undefined"==typeof AggregateError?i:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?i:ArrayBuffer,"%ArrayIteratorPrototype%":u?h([][Symbol.iterator]()):i,"%AsyncFromSyncIteratorPrototype%":i,"%AsyncFunction%":o("async function () {}"),"%AsyncGenerator%":m,"%AsyncGeneratorFunction%":p,"%AsyncIteratorPrototype%":f?h(f):i,"%Atomics%":"undefined"==typeof Atomics?i:Atomics,"%BigInt%":"undefined"==typeof BigInt?i:BigInt,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?i:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?i:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?i:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?i:FinalizationRegistry,"%Function%":r,"%GeneratorFunction%":o("function* () {}"),"%Int8Array%":"undefined"==typeof Int8Array?i:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?i:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?i:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":u?h(h([][Symbol.iterator]())):i,"%JSON%":"object"==typeof JSON?JSON:i,"%Map%":"undefined"==typeof Map?i:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&u?h((new Map)[Symbol.iterator]()):i,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?i:Promise,"%Proxy%":"undefined"==typeof Proxy?i:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?i:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?i:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&u?h((new Set)[Symbol.iterator]()):i,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?i:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":u?h(""[Symbol.iterator]()):i,"%Symbol%":u?Symbol:i,"%SyntaxError%":s,"%ThrowTypeError%":d,"%TypedArray%":g,"%TypeError%":a,"%Uint8Array%":"undefined"==typeof Uint8Array?i:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?i:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?i:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?i:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?i:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?i:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?i:WeakSet},b={"%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"]},y=n(58612),E=n(17642),S=y.call(Function.call,Array.prototype.concat),O=y.call(Function.apply,Array.prototype.splice),T=y.call(Function.call,String.prototype.replace),_=y.call(Function.call,String.prototype.slice),w=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,N=/\\(\\)?/g,A=function(e){var t=_(e,0,1),n=_(e,-1);if("%"===t&&"%"!==n)throw new s("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==t)throw new s("invalid intrinsic syntax, expected opening `%`");var i=[];return T(e,w,(function(e,t,n,s){i[i.length]=n?T(s,N,"$1"):t||e})),i},I=function(e,t){var n,i=e;if(E(b,i)&&(i="%"+(n=b[i])[0]+"%"),E(v,i)){var r=v[i];if(void 0===r&&!t)throw new a("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:n,name:i,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 n=A(e),i=n.length>0?n[0]:"",r=I("%"+i+"%",t),o=r.name,c=r.value,d=!1,u=r.alias;u&&(i=u[0],O(n,S([0,1],u)));for(var h=1,p=!0;h=n.length){var b=l(c,m);c=(p=!!b)&&"get"in b&&!("originalValue"in b.get)?b.get:c[m]}else p=E(c,m),c=c[m];p&&!d&&(v[o]=c)}}return c}},94184:(e,t)=>{var n;!function(){"use strict";var i={}.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 i&&(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,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}}))}function f(e){var t=new FileReader,n=m(t);return t.readAsArrayBuffer(e),n}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:n&&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):n&&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,n,i=p(this);if(i)return i;if(this._bodyBlob)return e=this._bodyBlob,t=new FileReader,n=m(t),t.readAsText(e),n;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),n=new Array(t.length),i=0;i-1?i:n),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 n=e.split("="),i=n.shift().replace(/\+/g," "),s=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(i),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)}y.prototype.clone=function(){return new y(this,{body:this._bodyInit})},v.call(y.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 n=Error(e);this.stack=n.stack},t.DOMException.prototype=Object.create(Error.prototype),t.DOMException.prototype.constructor=t.DOMException}function T(e,n){return new Promise((function(i,r){var a=new y(e,n);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,n={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 n=e.split(":"),i=n.shift().trim();if(i){var s=n.join(":").trim();t.append(i,s)}})),t)};n.url="responseURL"in o?o.responseURL:n.headers.get("X-Request-URL");var s="response"in o?o.response:o.responseText;i(new S(s,n))},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=y,e.Response=S),t.Headers=h,t.Request=y,t.Response=S,t.fetch=T,Object.defineProperty(t,"__esModule",{value:!0})}({})}(i),i.fetch.ponyfill=!0,delete i.fetch.polyfill;var s=i;(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},4289:(e,t,n)=>{"use strict";var i=n(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,n,i){var s;(!(t in e)||"function"==typeof(s=i)&&"[object Function]"===r.call(s)&&i())&&(l?o(e,t,{configurable:!0,enumerable:!1,value:n,writable:!0}):e[t]=n)},d=function(e,t){var n=arguments.length>2?arguments[2]:{},r=i(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 n,i="boolean"==typeof t.cycles&&t.cycles,s=t.cmp&&(n=t.cmp,function(e){return function(t,i){var s={key:t,value:e[t]},r={key:i,value:e[i]};return n(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 n,a;if(Array.isArray(t)){for(a="[",n=0;n{"use strict";var i=n(95320),s=Object.prototype.toString,r=Object.prototype.hasOwnProperty,a=function(e,t,n){for(var i=0,s=e.length;i=3&&(r=n),"[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 ",n=Array.prototype.slice,i=Object.prototype.toString,s="[object Function]";e.exports=function(e){var r=this;if("function"!=typeof r||i.call(r)!==s)throw new TypeError(t+r);for(var a,o=n.call(arguments,1),l=function(){if(this instanceof a){var t=r.apply(this,o.concat(n.call(arguments)));return Object(t)===t?t:this}return r.apply(e,o.concat(n.call(arguments)))},c=Math.max(0,r.length-o.length),d=[],u=0;u{"use strict";var i=n(17648);e.exports=Function.prototype.bind||i},43517:(e,t,n)=>{"use strict";function i(e,t=!1){let n=0;for(let t=0,i=e.length;ti})},19810:(e,t,n)=>{"use strict";n.d(t,{t:()=>a});var i=n(53831),s=n(5696);function r(e,t){const[[n,i],[r,a]]=e,[[o,l],[c,d]]=t;if(n===o&&i===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-n)-(c-o)*(a-i);if(0===u)return!1;const h=i-l,p=n-o,m=((c-o)*h-(d-l)*p)/u,f=((r-n)*h-(a-i)*p)/u;return m>0&&m<1&&f>0&&f<1}function a(e,t){let n=!1;const a=(0,i.x)(t);for(let t=0,i=a.length-1;t{"use strict";function i(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,n=0){const s=i(t);return function(e,t,n=0){return Math.abs((i=e,s=t[0],r=t[1],(i[0]-r[0])*(s[1]-r[1])-(i[1]-r[1])*(s[0]-r[0])))<=n;var i,s,r}(e,t,n)&&i([t[0],e])<=s&&i([t[1],e])<=s}n.d(t,{s8:()=>s})},18810:(e,t,n)=>{"use strict";n.d(t,{D:()=>a});var i=n(53831),s=n(19810);function r(e,t){let n=e[0],i=e[1],s=!1;for(let e=0,r=t.length-1;ei!=c>i&&n<(l-a)*(i-o)/(c-o)+a&&(s=!s)}return s}function a(e,t){let n=!0;const a=(0,i.x)(e);for(let e=0,i=a.length-1;e{"use strict";function i(e){return function(e){const t=e[0],n=e[e.length-1];return t[0]===n[0]&&t[1]===n[1]}(e)?e:[...e,e[0]]}n.d(t,{x:()=>i})},50972:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.prototype.toJSON;"function"==typeof t||(0,i.default)(0),e.prototype.inspect=t,s.default&&(e.prototype[s.default]=t)};var i=r(n(7706)),s=r(n(18554));function r(e){return e&&e.__esModule?e:{default:e}}},8002:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return a(e,[])};var i,s=(i=n(18554))&&i.__esModule?i:{default:i};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 n=[].concat(t,[e]),i=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!==i){var r=i.call(e);if(r!==e)return"string"==typeof r?r:a(r,n)}else if(Array.isArray(e))return function(e,t){if(0===e.length)return"[]";if(t.length>2)return"[Array]";for(var n=Math.min(10,e.length),i=e.length-n,s=[],r=0;r1&&s.push("... ".concat(i," more items"));return"["+s.join(", ")+"]"}(e,n);return function(e,t){var n=Object.keys(e);if(0===n.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 n=e.constructor.name;if("string"==typeof n&&""!==n)return n}return t}(e)+"]";return"{ "+n.map((function(n){return n+": "+a(e[n],t)})).join(", ")+" }"}(e,n)}(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 n="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):void 0;t.default=n},91807:(e,t,n)=>{"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 i,s=(i=n(50972))&&i.__esModule?i:{default:i};var r=function(){function e(e,t,n){this.start=e.start,this.end=t.end,this.startToken=e,this.endToken=t,this.source=n}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,n,i,s,r,a){this.kind=e,this.start=t,this.end=n,this.line=i,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,n)=>{"use strict";t.Vn=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:a,i=void 0,c=Array.isArray(e),d=[e],u=-1,h=[],p=void 0,m=void 0,f=void 0,g=[],v=[],b=e;do{var y=++u===d.length,E=y&&0!==h.length;if(y){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 i=n.g.Symbol,s=n(55419);e.exports=function(){return"function"==typeof i&&("function"==typeof Symbol&&("symbol"==typeof i("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"),n=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(n))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 i=Object.getOwnPropertySymbols(e);if(1!==i.length||i[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,n)=>{"use strict";var i=n(58612);e.exports=i.call(Function.call,Object.prototype.hasOwnProperty)},95320:e=>{"use strict";var t,n,i=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 n}}),n={},s((function(){throw 42}),null,t)}catch(e){e!==n&&(s=null)}else s=null;var r=/^\s*class\b/,a=function(e){try{var t=i.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!==n)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)&&(i.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}},54443:(e,t,n)=>{"use strict";n.r(t)},62403:()=>{},6687:()=>{},11213:()=>{},14130:()=>{},94238:()=>{},21717:()=>{},54078:(e,t,n)=>{"use strict";var i=n(94029),s=n(42473),r=n(17642),a=n(46057),o=function(e){s(!1,e)},l=String.prototype.replace,c=String.prototype.split,d="||||",u=function(e){var t=e%100,n=t%10;return 11!==t&&1===n?0:2<=n&&n<=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 n,s,r=(n=e.pluralTypeToLanguages,s={},i(n,(function(e,t){i(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,n,i,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=i||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,n){return e.pluralTypes[p(e,t)](n)}(m,n||"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 n=t.allowMissing?g:null;this.onMissingKey="function"==typeof t.onMissingKey?t.onMissingKey:n,this.warn=t.warn||o,this.tokenRegex=function(e){var t=e&&e.prefix||"%{",n=e&&e.suffix||"}";if(t===d||n===d)throw new RangeError('"||||" token is reserved for pluralization');return new RegExp(m(t)+"(.*?)"+m(n),"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){i(e,(function(e,n){var i=t?t+"."+n:n;"object"==typeof e?this.extend(e,i):this.phrases[i]=e}),this)},v.prototype.unset=function(e,t){"string"==typeof e?delete this.phrases[e]:i(e,(function(e,n){var i=t?t+"."+n:n;"object"==typeof e?this.unset(e,i):delete this.phrases[i]}),this)},v.prototype.clear=function(){this.phrases={}},v.prototype.replace=function(e){this.clear(),this.extend(e)},v.prototype.t=function(e,t){var n,i,s=null==t?{}:t;if("string"==typeof this.phrases[e])n=this.phrases[e];else if("string"==typeof s._)n=s._;else if(this.onMissingKey){i=(0,this.onMissingKey)(e,s,this.currentLocale,this.tokenRegex,this.pluralRules)}else this.warn('Missing translation for key: "'+e+'"'),i=e;return"string"==typeof n&&(i=g(n,s,this.currentLocale,this.tokenRegex,this.pluralRules)),i},v.prototype.has=function(e){return r(this.phrases,e)},v.transformPhrase=function(e,t,n){return g(e,t,n)},e.exports=v},18987:(e,t,n)=>{"use strict";var i;if(!Object.keys){var s=Object.prototype.hasOwnProperty,r=Object.prototype.toString,a=n(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}();i=function(e){var t=null!==e&&"object"==typeof e,n="[object Function]"===r.call(e),i=a(e),o=t&&"[object String]"===r.call(e),h=[];if(!t&&!n&&!i)throw new TypeError("Object.keys called on a non-object");var m=c&&n;if(o&&e.length>0&&!s.call(e,0))for(var f=0;f0)for(var g=0;g{"use strict";var i=Array.prototype.slice,s=n(21414),r=Object.keys,a=r?function(e){return r(e)}:n(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(i.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 n=t.call(e),i="[object Arguments]"===n;return i||(i="[object Array]"!==n&&null!==e&&"object"==typeof e&&"number"==typeof e.length&&e.length>=0&&"[object Function]"===t.call(e.callee)),i}},17141:(e,t,n)=>{var i;!function(s,r){var a={};function o(e){return function(){var t={method:e},n=Array.prototype.slice.call(arguments);/^get/.test(e)?(a.assert(n.length>0,"Get methods require a callback."),n.unshift(t)):(/^set/.test(e)&&(a.assert(0!==n.length,"Set methods require a value."),t.value=n[0]),n=[t]),this.send.apply(this,n)}}a.DEBUG=!1,a.VERSION="0.0.11",a.CONTEXT="player.js",a.POST_MESSAGE=!!s.postMessage,a.origin=function(e){return"//"===e.substr(0,2)&&(e=s.location.protocol+e),e.split("/").slice(0,3).join("/")},a.addEvent=function(e,t,n){e&&(e.addEventListener?e.addEventListener(t,n,!1):e.attachEvent?e.attachEvent("on"+t,n):e["on"+t]=n)},a.log=function(){a.log.history=a.log.history||[],a.log.history.push(arguments),s.console&&a.DEBUG&&s.console.log(Array.prototype.slice.call(arguments))},a.isString=function(e){return"[object String]"===Object.prototype.toString.call(e)},a.isObject=function(e){return"[object Object]"===Object.prototype.toString.call(e)},a.isArray=function(e){return"[object Array]"===Object.prototype.toString.call(e)},a.isNone=function(e){return null==e},a.has=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.indexOf=function(e,t){if(null==e)return-1;var n=0,i=e.length;if(Array.prototype.IndexOf&&e.indexOf===Array.prototype.IndexOf)return e.indexOf(t);for(;n-1?n.loaded=!0:this.elem.onload=function(){n.loaded=!0}},a.Player.prototype.send=function(e,t,n){if(e.context=a.CONTEXT,e.version=a.VERSION,t){var i=this.keeper.getUUID();e.listener=i,this.keeper.one(i,e.method,t,n)}return this.isReady||"ready"===e.value?(a.log("Player.send",e,this.origin),!0===this.loaded&&this.elem.contentWindow.postMessage(JSON.stringify(e),this.origin),!0):(a.log("Player.queue",e),this.queue.push(e),!1)},a.Player.prototype.receive=function(e){if(a.log("Player.receive",e),e.origin!==this.origin)return!1;var t;try{t=JSON.parse(e.data)}catch(e){return!1}if(t.context!==a.CONTEXT)return!1;"ready"===t.event&&t.value&&t.value.src===this.elem.src&&this.ready(t),this.keeper.has(t.event,t.listener)&&this.keeper.execute(t.event,t.listener,t.value,this)},a.Player.prototype.ready=function(e){if(!0===this.isReady)return!1;e.value.events&&(this.events=e.value.events),e.value.methods&&(this.methods=e.value.methods),this.isReady=!0,this.loaded=!0;for(var t=0;t0)for(var i in n)return this.send({method:"removeEventListener",value:e,listener:n[i]}),!0;return!1},a.Player.prototype.supports=function(e,t){a.assert(a.indexOf(["method","event"],e)>-1,'evtOrMethod needs to be either "event" or "method" got '+e),t=a.isArray(t)?t:[t];for(var n="event"===e?this.events:this.methods,i=0;i-1&&this.eventListeners[t.value].splice(i,1),0===this.eventListeners[t.value].length&&delete this.eventListeners[t.value]}}else this.get(t.method,t.value,n)},a.Receiver.prototype.get=function(e,t,n){var i=this;if(!this.methods.hasOwnProperty(e))return this.emit("error",{code:3,msg:'Method Not Supported"'+e+'"'}),!1;var s=this.methods[e];if("get"===e.substr(0,3)){s.call(this,(function(t){i.send(e,t,n)}))}else s.call(this,t)},a.Receiver.prototype.on=function(e,t){this.methods[e]=t},a.Receiver.prototype.send=function(e,t,n){if(a.log("Receiver.send",e,t,n),this.reject)return a.log("Receiver.send.reject",e,t,n),!1;var i={context:a.CONTEXT,version:a.VERSION,event:e};a.isNone(t)||(i.value=t),a.isNone(n)||(i.listener=n);var r=JSON.stringify(i);s.parent.postMessage(r,""===this.origin?"*":this.origin)},a.Receiver.prototype.emit=function(e,t){if(!this.eventListeners.hasOwnProperty(e))return!1;a.log("Instance.emit",e,t,this.eventListeners[e]);for(var n=0;n{"use strict";var i=n(43842);function s(e,t,n){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 i(void 0,r),b=s;bE.d&&(E=S);for(var O=v.length;v.length;){var T=v.pop();T.d>E.d&&(E=T,n&&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)}n&&(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,n,i){this.x=e,this.y=t,this.h=n,this.d=function(e,t,n){for(var i=!1,s=1/0,r=0;rt!=h[1]>t&&e<(h[0]-u[0])*(t-u[1])/(h[1]-u[1])+u[0]&&(i=!i),s=Math.min(s,o(e,t,u,h))}return 0===s?0:(i?1:-1)*Math.sqrt(s)}(e,t,i),this.max=this.d+this.h*Math.SQRT2}function o(e,t,n,i){var s=n[0],r=n[1],a=i[0]-s,o=i[1]-r;if(0!==a||0!==o){var l=((e-s)*a+(t-r)*o)/(a*a+o*o);l>1?(s=i[0],r=i[1]):l>0&&(s+=a*l,r+=o*l)}return(a=e-s)*a+(o=t-r)*o}i.default&&(i=i.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,n,i,s){n=n||"&",i=i||"=";var r={};if("string"!=typeof e||0===e.length)return r;var a=/\+/g;e=e.split(n);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,n,i,s){return n=n||"&",i=i||"=",null===e&&(e=void 0),"object"==typeof e?Object.keys(e).map((function(s){var r=encodeURIComponent(t(s))+i;return Array.isArray(e[s])?e[s].map((function(e){return r+encodeURIComponent(t(e))})).join(n):r+encodeURIComponent(t(e[s]))})).join(n):s?encodeURIComponent(t(s))+i+encodeURIComponent(t(e)):""}},17673:(e,t,n)=>{"use strict";t.decode=t.parse=n(62587),t.encode=t.stringify=n(12361)},82582:function(e){e.exports=function(){"use strict";function e(e,i,s,r,a){!function e(n,i,s,r,a){for(;r>s;){if(r-s>600){var o=r-s+1,l=i-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(n,i,Math.max(s,Math.floor(i-l*d/o+u)),Math.min(r,Math.floor(i+(o-l)*d/o+u)),a)}var h=n[i],p=s,m=r;for(t(n,s,i),a(n[r],h)>0&&t(n,s,r);p0;)m--}0===a(n[s],h)?t(n,s,m):t(n,++m,r),m<=i&&(s=m+1),i<=m&&(r=m-1)}}(e,i,s||0,r||e.length-1,a||n)}function t(e,t,n){var i=e[t];e[t]=e[n],e[n]=i}function n(e,t){return et?1:0}var i=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,n){if(!n)return t.indexOf(e);for(var i=0;i=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,n,i,s,r){for(var a=[n,i];a.length;)if(!((i=a.pop())-(n=a.pop())<=s)){var o=n+Math.ceil((i-n)/s/2)*s;e(t,o,n,i,r),a.push(n,o,o,i)}}return i.prototype.all=function(){return this._all(this.data,[])},i.prototype.search=function(e){var t=this.data,n=[];if(!p(e,t))return n;for(var i=this.toBBox,s=[];t;){for(var r=0;r=0&&s[t].children.length>this._maxEntries;)this._split(s,t),t--;this._adjustParentBBoxes(i,s,t)},i.prototype._split=function(e,t){var n=e[t],i=n.children.length,s=this._minEntries;this._chooseSplitAxis(n,s,i);var a=this._chooseSplitIndex(n,s,i),o=m(n.children.splice(a,n.children.length-a));o.height=n.height,o.leaf=n.leaf,r(n,this.toBBox),r(o,this.toBBox),t?e[t-1].children.push(o):this._splitRoot(n,o)},i.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)},i.prototype._chooseSplitIndex=function(e,t,n){for(var i,s,r,o,l,c,u,h=1/0,p=1/0,m=t;m<=n-t;m++){var f=a(e,0,m,this.toBBox),g=a(e,m,n,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)),b=d(f)+d(g);v=t;p--){var m=e.children[p];o(l,e.leaf?s(m):m),c+=u(l)}return c},i.prototype._adjustParentBBoxes=function(e,t,n){for(var i=n;i>=0;i--)o(t[i],e)},i.prototype._condense=function(e){for(var t=e.length-1,n=void 0;t>=0;t--)0===e[t].children.length?t>0?(n=e[t-1].children).splice(n.indexOf(e[t]),1):this.clear():r(e[t],this.toBBox)},i}()},64448:(e,t,n)=>{"use strict";var i=n(67294),s=n(63840);function r(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n