PageSourceSearch

http://avidcaster.net/js/_app-f67d119036546087-2.js

js avidcaster.net collected 2026-10-02 02:01:28 UTC 302,275 bytes, 3 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[636],{230:(e,t,r)=>{"use strict";r.d(t,{g:()=>n});let n=!1},410:e=>{"use strict";e.exports=function(e){return!!e&&("function"==typeof e||"object"==typeof e)}},1187:(e,t,r)=>{"use strict";var n=r(93129),i=r(95099),o=r(24072),a=r(56308);e.exports=function(e){if("number"!=typeof e||o(e)||!a(e))return!1;var t=n(e);return i(t)===t}},3754:(e,t,r)=>{"use strict";let n,i,o;r.r(t),r.d(t,{AlternateLocalesContext:()=>iR,default:()=>iM});var a,s,l,u=r(42654);r(94790),r(94872);var c=r(37771);function h(e){return"function"==typeof e}function p(e){return function(t){if(h(null==t?void 0:t.lift))return t.lift(function(t){try{return e(t,this)}catch(e){this.error(e)}});throw TypeError("Unable to lift unknown Observable type")}}var f=r(94835);function d(e){var t=e(function(e){Error.call(e),e.stack=Error().stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}var y=d(function(e){return function(t){e(this),this.message=t?t.length+" errors occurred during unsubscription:\n"+t.map(function(e,t){return t+1+") "+e.toString()}).join("\n  "):"",this.name="UnsubscriptionError",this.errors=t}});function m(e,t){if(e){var r=e.indexOf(t);0<=r&&e.splice(r,1)}}var g=function(){var e;function t(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}return t.prototype.unsubscribe=function(){if(!this.closed){this.closed=!0;var e,t,r,n,i,o=this._parentage;if(o)if(this._parentage=null,Array.isArray(o))try{for(var a=(0,f.Ju)(o),s=a.next();!s.done;s=a.next())s.value.remove(this)}catch(t){e={error:t}}finally{try{s&&!s.done&&(t=a.return)&&t.call(a)}finally{if(e)throw e.error}}else o.remove(this);var l=this.initialTeardown;if(h(l))try{l()}catch(e){i=e instanceof y?e.errors:[e]}var u=this._finalizers;if(u){this._finalizers=null;try{for(var c=(0,f.Ju)(u),p=c.next();!p.done;p=c.next()){var d=p.value;try{w(d)}catch(e){i=null!=i?i:[],e instanceof y?i=(0,f.fX)((0,f.fX)([],(0,f.zs)(i)),(0,f.zs)(e.errors)):i.push(e)}}}catch(e){r={error:e}}finally{try{p&&!p.done&&(n=c.return)&&n.call(c)}finally{if(r)throw r.error}}}if(i)throw new y(i)}},t.prototype.add=function(e){var r;if(e&&e!==this)if(this.closed)w(e);else{if(e instanceof t){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=null!=(r=this._finalizers)?r:[]).push(e)}},t.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},t.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},t.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&m(t,e)},t.prototype.remove=function(e){var r=this._finalizers;r&&m(r,e),e instanceof t&&e._removeParent(this)},(e=new t).closed=!0,t.EMPTY=e,t}(),b=g.EMPTY;function v(e){return e instanceof g||e&&"closed"in e&&h(e.remove)&&h(e.add)&&h(e.unsubscribe)}function w(e){h(e)?e():e.unsubscribe()}var E={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},S={setTimeout:function(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var i=S.delegate;return(null==i?void 0:i.setTimeout)?i.setTimeout.apply(i,(0,f.fX)([e,t],(0,f.zs)(r))):setTimeout.apply(void 0,(0,f.fX)([e,t],(0,f.zs)(r)))},clearTimeout:function(e){var t=S.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function O(e){S.setTimeout(function(){var t=E.onUnhandledError;if(t)t(e);else throw e})}function x(){}var A=k("C",void 0,void 0);function k(e,t,r){return{kind:e,value:t,error:r}}var T=null;function I(e){if(E.useDeprecatedSynchronousErrorHandling){var t=!T;if(t&&(T={errorThrown:!1,error:null}),e(),t){var r=T,n=r.errorThrown,i=r.error;if(T=null,n)throw i}}else e()}var _=function(e){function t(t){var r=e.call(this)||this;return r.isStopped=!1,t?(r.destination=t,v(t)&&t.add(r)):r.destination=R,r}return(0,f.C6)(t,e),t.create=function(e,t,r){return new F(e,t,r)},t.prototype.next=function(e){this.isStopped?D(k("N",e,void 0),this):this._next(e)},t.prototype.error=function(e){this.isStopped?D(k("E",void 0,e),this):(this.isStopped=!0,this._error(e))},t.prototype.complete=function(){this.isStopped?D(A,this):(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(e){this.destination.next(e)},t.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(g),P=Function.prototype.bind;function C(e,t){return P.call(e,t)}var N=function(){function e(e){this.partialObserver=e}return e.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(e){j(e)}},e.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){j(e)}else j(e)},e.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){j(e)}},e}(),F=function(e){function t(t,r,n){var i,o,a=e.call(this)||this;return h(t)||!t?i={next:null!=t?t:void 0,error:null!=r?r:void 0,complete:null!=n?n:void 0}
1:a&&E.useDeprecatedNextContext?((o=Object.create(t)).unsubscribe=function(){return a.unsubscribe()},i={next:t.next&&C(t.next,o),error:t.error&&C(t.error,o),complete:t.complete&&C(t.complete,o)}):i=t,a.destination=new N(i),a}return(0,f.C6)(t,e),t}(_);function j(e){if(E.useDeprecatedSynchronousErrorHandling)E.useDeprecatedSynchronousErrorHandling&&T&&(T.errorThrown=!0,T.error=e);else O(e)}function D(e,t){var r=E.onStoppedNotification;r&&S.setTimeout(function(){return r(e,t)})}var R={closed:!0,next:x,error:function(e){throw e},complete:x};function M(e,t,r,n,i){return new B(e,t,r,n,i)}var B=function(e){function t(t,r,n,i,o,a){var s=e.call(this,t)||this;return s.onFinalize=o,s.shouldUnsubscribe=a,s._next=r?function(e){try{r(e)}catch(e){t.error(e)}}:e.prototype._next,s._error=i?function(e){try{i(e)}catch(e){t.error(e)}finally{this.unsubscribe()}}:e.prototype._error,s._complete=n?function(){try{n()}catch(e){t.error(e)}finally{this.unsubscribe()}}:e.prototype._complete,s}return(0,f.C6)(t,e),t.prototype.unsubscribe=function(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var r=this.closed;e.prototype.unsubscribe.call(this),r||null==(t=this.onFinalize)||t.call(this)}},t}(_);function H(e,t){return p(function(r,n){var i=0;r.subscribe(M(n,function(r){n.next(e.call(t,r,i++))}))})}var L=r(62296),V=r(22079),G=r(86338);let U=Object.freeze({});function q(e,t,r=c.aD){let n,i,o,a=new Map;for(let e of Object.values(G.b))a.set(e,function(e,t){let r=e[t];return"object"==typeof r?r:"function"==typeof r?{enter:r,leave:void 0}:{enter:e.enter,leave:e.leave}}(t,e));let s=Array.isArray(e),l=[e],u=-1,h=[],p=e,f=[],d=[];do{var y,m,g;let e,b=++u===l.length,v=b&&0!==h.length;if(b){if(i=0===d.length?void 0:f[f.length-1],p=o,o=d.pop(),v)if(s){p=p.slice();let e=0;for(let[t,r]of h){let n=t-e;null===r?(p.splice(n,1),e++):p[n]=r}}else for(let[e,t]of(p={...p},h))p[e]=t;u=n.index,l=n.keys,h=n.edits,s=n.inArray,n=n.prev}else if(o){if(null==(p=o[i=s?u:l[u]]))continue;f.push(i)}if(!Array.isArray(p)){(0,c.Ll)(p)||(0,L.U)(!1,`Invalid AST Node: ${(0,V.N)(p)}.`);let r=b?null==(y=a.get(p.kind))?void 0:y.leave:null==(m=a.get(p.kind))?void 0:m.enter;if((e=null==r?void 0:r.call(t,p,i,o,f,d))===U)break;if(!1===e){if(!b){f.pop();continue}}else if(void 0!==e&&(h.push([i,e]),!b))if((0,c.Ll)(e))p=e;else{f.pop();continue}}void 0===e&&v&&h.push([i,p]),b?f.pop():(n={inArray:s,index:u,keys:l,edits:h,prev:n},l=(s=Array.isArray(p))?p:null!=(g=r[p.kind])?g:[],u=-1,h=[],o&&d.push(o),o=p)}while(void 0!==n);return 0!==h.length?h[h.length-1][1]:e}function W(e,t,r){let n=new Set(e),i=n.size;return q(t,{Directive(e){if(n.delete(e.name.value)&&(!r||!n.size))return U}}),r?!n.size:n.size<i}var z=r(52912);class Q{isIncrementalResult(e){return!1}prepareRequest(e){return(0,z.V1)(!W(["defer","stream"],e.query),67),e}extractErrors(){}startRequest=void 0}var $="function"==typeof Symbol&&Symbol.observable||"@@observable";function K(e){return e}var Y=function(){function e(e){e&&(this._subscribe=e)}return e.prototype.lift=function(t){var r=new e;return r.source=this,r.operator=t,r},e.prototype.subscribe=function(e,t,r){var n=this,i=!function(e){return e&&e instanceof _||e&&h(e.next)&&h(e.error)&&h(e.complete)&&v(e)}(e)?new F(e,t,r):e;return I(function(){var e=n.operator,t=n.source;i.add(e?e.call(i,t):t?n._subscribe(i):n._trySubscribe(i))}),i},e.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(t){e.error(t)}},e.prototype.forEach=function(e,t){var r=this;return new(t=J(t))(function(t,n){var i=new F({next:function(t){try{e(t)}catch(e){n(e),i.unsubscribe()}},error:n,complete:t});r.subscribe(i)})},e.prototype._subscribe=function(e){var t;return null==(t=this.source)?void 0:t.subscribe(e)},e.prototype[$]=function(){return this},e.prototype.pipe=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return(0===e.length?K:1===e.length?e[0]:function(t){return e.reduce(function(e,t){return t(e)},t)})(this)},e.prototype.toPromise=function(e){var t=this;return new(e=J(e))(function(e,r){var n;t.subscribe(function(e){return n=e},function(e){return r(e)},function(){return e(n)})})},e.create=function(t){return new e(t)},e}();function J(e){var t;return null!=(t=null!=e?e:E.Promise)?t:Promise}var X=new Y(function(e){return e.complete()});function Z(e,t){return e.definitions.find(e=>"OperationDefinition"===e.kind&&!!e.name)?.name.value??t}var ee=r(230),et=r(61851);let er=Symbol.for("apollo.cacheSize"),en={...et.A[er]},ei=()=>Object.create(null),{forEach:eo,slice:ea}=Array.prototype,{hasOwnProperty:es}=Object.prototype;
1class el{constructor(e=!0,t=ei){this.weakness=e,this.makeData=t}lookup(){return this.lookupArray(arguments)}lookupArray(e){let t=this;return eo.call(e,e=>t=t.getChildTrie(e)),es.call(t,"data")?t.data:t.data=this.makeData(ea.call(e))}peek(){return this.peekArray(arguments)}peekArray(e){let t=this;for(let r=0,n=e.length;t&&r<n;++r){let n=t.mapFor(e[r],!1);t=n&&n.get(e[r])}return t&&t.data}remove(){return this.removeArray(arguments)}removeArray(e){let t;if(e.length){let r=e[0],n=this.mapFor(r,!1),i=n&&n.get(r);i&&(t=i.removeArray(ea.call(e,1)),i.data||i.weak||i.strong&&i.strong.size||n.delete(r))}else t=this.data,delete this.data;return t}getChildTrie(e){let t=this.mapFor(e,!0),r=t.get(e);return r||t.set(e,r=new el(this.weakness,this.makeData)),r}mapFor(e,t){return this.weakness&&function(e){switch(typeof e){case"object":if(null===e)break;case"function":return!0}return!1}(e)?this.weak||(t?this.weak=new WeakMap:void 0):this.strong||(t?this.strong=new Map:void 0)}}function eu(){}let ec="undefined"!=typeof WeakRef?WeakRef:function(e){return{deref:()=>e}},eh="undefined"!=typeof WeakMap?WeakMap:Map,ep="undefined"!=typeof FinalizationRegistry?FinalizationRegistry:function(){return{register:eu,unregister:eu}};class ef{constructor(e=1/0,t=eu){this.max=e,this.dispose=t,this.map=new eh,this.newest=null,this.oldest=null,this.unfinalizedNodes=new Set,this.finalizationScheduled=!1,this.size=0,this.finalize=()=>{let e=this.unfinalizedNodes.values();for(let t=0;t<10024;t++){let t=e.next().value;if(!t)break;this.unfinalizedNodes.delete(t);let r=t.key;delete t.key,t.keyRef=new ec(r),this.registry.register(r,t,t)}this.unfinalizedNodes.size>0?queueMicrotask(this.finalize):this.finalizationScheduled=!1},this.registry=new ep(this.deleteNode.bind(this))}has(e){return this.map.has(e)}get(e){let t=this.getNode(e);return t&&t.value}getNode(e){let t=this.map.get(e);if(t&&t!==this.newest){let{older:e,newer:r}=t;r&&(r.older=e),e&&(e.newer=r),t.older=this.newest,t.older.newer=t,t.newer=null,this.newest=t,t===this.oldest&&(this.oldest=r)}return t}set(e,t){let r=this.getNode(e);return r?r.value=t:(r={key:e,value:t,newer:null,older:this.newest},this.newest&&(this.newest.newer=r),this.newest=r,this.oldest=this.oldest||r,this.scheduleFinalization(r),this.map.set(e,r),this.size++,r.value)}clean(){for(;this.oldest&&this.size>this.max;)this.deleteNode(this.oldest)}deleteNode(e){e===this.newest&&(this.newest=e.older),e===this.oldest&&(this.oldest=e.newer),e.newer&&(e.newer.older=e.older),e.older&&(e.older.newer=e.newer),this.size--;let t=e.key||e.keyRef&&e.keyRef.deref();this.dispose(e.value,t),e.keyRef?this.registry.unregister(e):this.unfinalizedNodes.delete(e),t&&this.map.delete(t)}delete(e){let t=this.map.get(e);return!!t&&(this.deleteNode(t),!0)}scheduleFinalization(e){this.unfinalizedNodes.add(e),this.finalizationScheduled||(this.finalizationScheduled=!0,queueMicrotask(this.finalize))}}function ed(){}class ey{constructor(e=1/0,t=ed){this.max=e,this.dispose=t,this.map=new Map,this.newest=null,this.oldest=null}has(e){return this.map.has(e)}get(e){let t=this.getNode(e);return t&&t.value}get size(){return this.map.size}getNode(e){let t=this.map.get(e);if(t&&t!==this.newest){let{older:e,newer:r}=t;r&&(r.older=e),e&&(e.newer=r),t.older=this.newest,t.older.newer=t,t.newer=null,this.newest=t,t===this.oldest&&(this.oldest=r)}return t}set(e,t){let r=this.getNode(e);return r?r.value=t:(r={key:e,value:t,newer:null,older:this.newest},this.newest&&(this.newest.newer=r),this.newest=r,this.oldest=this.oldest||r,this.map.set(e,r),r.value)}clean(){for(;this.oldest&&this.map.size>this.max;)this.delete(this.oldest.key)}delete(e){let 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)}}let em=new WeakSet;function eg(e){!(e.size<=(e.max||-1))&&(em.has(e)||(em.add(e),setTimeout(()=>{e.clean(),em.delete(e)},100)))}let eb=function(e,t){let r=new ef(e,t);return r.set=function(e,t){let r=ef.prototype.set.call(this,e,t);return eg(this),r},r},ev=function(e,t){let r=new ey(e,t);return r.set=function(e,t){let r=ey.prototype.set.call(this,e,t);return eg(this),r},r};function ew(e,{max:t,makeCacheKey:r=e=>e}){let n=new el(!0),i=new eb(t);return(...t)=>{let o=n.lookupArray(r(t)),a=i.get(o);if(a){if(a.error)throw a.error;return a.result}let s=i.set(o,{});try{return s.result=e(...t)}catch(e){throw s.error=e,e}}}let eE=ew((e,t)=>{(0,z.V1)(e&&"Document"===e.kind,1);let r=e.definitions.filter(e=>"OperationDefinition"===e.kind);
1ee.g&&(e.definitions.forEach(e=>{if("OperationDefinition"!==e.kind&&"FragmentDefinition"!==e.kind)throw(0,z.vA)(2,e.kind)}),(0,z.V1)(r.length<=1,3,r.length)),t&&(0,z.V1)(1==r.length&&r[0].operation===t,4,t,t,r[0].operation),q(e,{Field(t,n,i,o){if(t.alias&&("__typename"===t.alias.value||t.alias.value.startsWith("__ac_"))&&t.alias.value!==t.name.value){let n=e,i=[];for(let e of o)(n=n[e]).kind===G.b.FIELD&&i.push(n.alias?.value||n.name.value);throw i.splice(-1,1,t.name.value),(0,z.vA)(5,t.alias.value,i.join("."),r[0].operation,Z(e,"(anonymous)"))}}})},{max:en.checkDocument||2e3});function eS(e){return eE(e),e.definitions.filter(e=>"OperationDefinition"===e.kind)[0]}class eO{static empty(){return new eO(()=>X)}static from(e){if(0===e.length)return eO.empty();let[t,...r]=e;return t.concat(...r)}static split(e,t,r=new eO((e,t)=>t(e))){return Object.assign(new eO((n,i)=>{let o=e(n);return ee.g&&"boolean"!=typeof o&&ee.g&&z.V1.warn(63,o),o?t.request(n,i):r.request(n,i)}),{left:t,right:r})}static execute(e,t,r){return e.request(function(e,{client:t}){let r={query:e.query,variables:e.variables||{},extensions:e.extensions||{},operationName:Z(e.query),operationType:eS(e.query).operation},n={...e.context},i=()=>Object.freeze({...n});return Object.defineProperty(r,"setContext",{enumerable:!1,value:e=>{n="function"==typeof e?{...n,...e(i())}:{...n,...e}}}),Object.defineProperty(r,"getContext",{enumerable:!1,value:i}),Object.defineProperty(r,"client",{enumerable:!1,value:t}),r}(t,r),()=>(ee.g&&ee.g&&z.V1.warn(64),X))}static concat(...e){return eO.from(e)}constructor(e){e&&(this.request=e)}split(e,t,r){return this.concat(eO.split(e,t,r))}concat(...e){return 0===e.length?this:e.reduce(this.combine.bind(this),this)}combine(e,t){return Object.assign(new eO((r,n)=>e.request(r,e=>t.request(e,n))),{left:e,right:t})}request(e,t){throw(0,z.vA)(65)}left;right}let ex=eO.execute,eA=null,ek={},eT=1;function eI(e){try{return e()}catch(e){}}let e_="@wry/context:Slot",eP=eI(()=>globalThis)||eI(()=>global)||Object.create(null),eC=eP[e_]||Array[e_]||function(e){try{Object.defineProperty(eP,e_,{value:e,enumerable:!1,writable:!1,configurable:!0})}finally{return e}}(class{constructor(){this.id=["slot",eT++,Date.now(),Math.random().toString(36).slice(2)].join(":")}hasValue(){for(let e=eA;e;e=e.parent)if(this.id in e.slots){let t=e.slots[this.id];if(t===ek)break;return e!==eA&&(eA.slots[this.id]=t),!0}return eA&&(eA.slots[this.id]=ek),!1}getValue(){if(this.hasValue())return eA.slots[this.id]}withValue(e,t,r,n){let i={__proto__:null,[this.id]:e},o=eA;eA={parent:o,slots:i};try{return t.apply(n,r)}finally{eA=o}}static bind(e){let t=eA;return function(){let r=eA;try{return eA=t,e.apply(this,arguments)}finally{eA=r}}}static noContext(e,t,r){if(!eA)return e.apply(r,t);{let n=eA;try{return eA=null,e.apply(r,t)}finally{eA=n}}}}),{bind:eN,noContext:eF}=eC,ej=new eC,{hasOwnProperty:eD}=Object.prototype,eR=Array.from||function(e){let t=[];return e.forEach(e=>t.push(e)),t};function eM(e){let{unsubscribe:t}=e;"function"==typeof t&&(e.unsubscribe=void 0,t())}let eB=[];function eH(e,t){if(!e)throw Error(t||"assertion failure")}function eL(e,t){let r=e.length;return r>0&&r===t.length&&e[r-1]===t[r-1]}function eV(e){switch(e.length){case 0:throw Error("unknown value");case 1:return e[0];case 2:throw e[1]}}class eG{constructor(e){this.fn=e,this.parents=new Set,this.childValues=new Map,this.dirtyChildren=null,this.dirty=!0,this.recomputing=!1,this.value=[],this.deps=null,++eG.count}peek(){if(1===this.value.length&&!eW(this))return eU(this),this.value[0]}recompute(e){var t,r,n;return eH(!this.recomputing,"already recomputing"),eU(this),eW(this)?(t=this,r=e,eY(t),ej.withValue(t,eq,[t,r]),function(e,t){if("function"==typeof e.subscribe)try{eM(e),e.unsubscribe=e.subscribe.apply(null,t)}catch(t){return e.setDirty(),!1}return!0}(t,r)&&((n=t).dirty=!1,eW(n)||function(e){ez(e,e$)}(n)),eV(t.value)):eV(this.value)}setDirty(){var e;this.dirty||(this.dirty=!0,e=this,ez(e,eQ),eM(this))}dispose(){this.setDirty(),eY(this),ez(this,(e,t)=>{e.setDirty(),eJ(e,this)})}forget(){this.dispose()}dependOn(e){e.add(this),this.deps||(this.deps=eB.pop()||new Set),this.deps.add(e)}
1forgetDeps(){this.deps&&(eR(this.deps).forEach(e=>e.delete(this)),this.deps.clear(),eB.push(this.deps),this.deps=null)}}function eU(e){let t=ej.getValue();if(t)return e.parents.add(t),t.childValues.has(e)||t.childValues.set(e,[]),eW(e)?eQ(t,e):e$(t,e),t}function eq(e,t){let r;e.recomputing=!0;let{normalizeResult:n}=e;n&&1===e.value.length&&(r=e.value.slice(0)),e.value.length=0;try{if(e.value[0]=e.fn.apply(null,t),n&&r&&!eL(r,e.value))try{e.value[0]=n(e.value[0],r[0])}catch(e){}}catch(t){e.value[1]=t}e.recomputing=!1}function eW(e){return e.dirty||!!(e.dirtyChildren&&e.dirtyChildren.size)}eG.count=0;function ez(e,t){let r=e.parents.size;if(r){let n=eR(e.parents);for(let i=0;i<r;++i)t(n[i],e)}}function eQ(e,t){eH(e.childValues.has(t)),eH(eW(t));let r=!eW(e);if(e.dirtyChildren){if(e.dirtyChildren.has(t))return}else e.dirtyChildren=eB.pop()||new Set;e.dirtyChildren.add(t),r&&ez(e,eQ)}function e$(e,t){eH(e.childValues.has(t)),eH(!eW(t));let r=e.childValues.get(t);0===r.length?e.childValues.set(t,t.value.slice(0)):eL(r,t.value)||e.setDirty(),eK(e,t),eW(e)||ez(e,e$)}function eK(e,t){let r=e.dirtyChildren;r&&(r.delete(t),0===r.size&&(eB.length<100&&eB.push(r),e.dirtyChildren=null))}function eY(e){e.childValues.size>0&&e.childValues.forEach((t,r)=>{eJ(e,r)}),e.forgetDeps(),eH(null===e.dirtyChildren)}function eJ(e,t){t.parents.delete(e),e.childValues.delete(t),eK(e,t)}let eX={setDirty:!0,dispose:!0,forget:!0};function eZ(e){let t=new Map,r=e&&e.subscribe;function n(e){let n=ej.getValue();if(n){let i=t.get(e);i||t.set(e,i=new Set),n.dependOn(i),"function"==typeof r&&(eM(i),i.unsubscribe=r(e))}}return n.dirty=function(e,r){let n=t.get(e);if(n){let i=r&&eD.call(eX,r)?r:"setDirty";eR(n).forEach(e=>e[i]()),t.delete(e),eM(n)}},n}function e0(...e){return(n||(n=new el("function"==typeof WeakMap))).lookupArray(e)}let e1=new Set;function e2(e,{max:t=65536,keyArgs:r,makeCacheKey:n=e0,normalizeResult:i,subscribe:o,cache:a=ey}=Object.create(null)){let s="function"==typeof a?new a(t,e=>e.dispose()):a,l=function(){let t=n.apply(null,r?r.apply(null,arguments):arguments);if(void 0===t)return e.apply(null,arguments);let a=s.get(t);a||(s.set(t,a=new eG(e)),a.normalizeResult=i,a.subscribe=o,a.forget=()=>s.delete(t));let l=a.recompute(Array.prototype.slice.call(arguments));return s.set(t,a),e1.add(s),ej.hasValue()||(e1.forEach(e=>e.clean()),e1.clear()),l};function u(e){let t=e&&s.get(e);t&&t.setDirty()}function c(e){let t=e&&s.get(e);if(t)return t.peek()}function h(e){return!!e&&s.delete(e)}return Object.defineProperty(l,"size",{get:()=>s.size,configurable:!1,enumerable:!1}),Object.freeze(l.options={max:t,keyArgs:r,makeCacheKey:n,normalizeResult:i,subscribe:o,cache:s}),l.dirtyKey=u,l.dirty=function(){u(n.apply(null,arguments))},l.peekKey=c,l.peek=function(){return c(n.apply(null,arguments))},l.forgetKey=h,l.forget=function(){return h(n.apply(null,arguments))},l.makeCacheKey=n,l.getKey=r?function(){return n.apply(null,r.apply(null,arguments))}:n,Object.freeze(l)}function e5(e){return e}class e6{transform;cached;resultCache=new WeakSet;getCacheKey(e){return[e]}static identity(){return new e6(e5,{cache:!1})}static split(e,t,r=e6.identity()){return Object.assign(new e6(n=>(e(n)?t:r).transformDocument(n),{cache:!1}),{left:t,right:r})}constructor(e,t={}){this.transform=e,t.getCacheKey&&(this.getCacheKey=t.getCacheKey),this.cached=!1!==t.cache,this.resetCache()}resetCache(){if(this.cached){let e=new el;this.performWork=e2(e6.prototype.performWork.bind(this),{makeCacheKey:t=>{let r=this.getCacheKey(t);if(r)return(0,z.V1)(Array.isArray(r),20),e.lookupArray(r)},max:en["documentTransform.cache"],cache:ef})}}performWork(e){return eE(e),this.transform(e)}transformDocument(e){if(this.resultCache.has(e))return e;let t=this.performWork(e);return this.resultCache.add(t),t}concat(e){return Object.assign(new e6(t=>e.transformDocument(this.transformDocument(t)),{cache:!1}),{left:this,right:e})}left;right}var e4=r(93407),e9=r(23306),e3=d(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),e8=function(e){function t(){var t=e.call(this)||this;return t.closed=!1,t.currentObservers=null,t.observers=[],t.isStopped=!1,t.hasError=!1,t.thrownError=null,t}return(0,f.C6)(t,e),t.prototype.lift=function(e){var t=new e7(this,this);return t.operator=e,t},t.prototype._throwIfClosed=function(){if(this.closed)throw new e3},t.prototype.next=function(e){var t=this;I(function(){var r,n;if(t._throwIfClosed(),!t.isStopped){t.currentObservers||(t.currentObservers=Array.from(t.observers));try{for(var i=(0,f.Ju)(t.currentObservers),o=i.next();!o.done;o=i.next())o.value.next(e)}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}}})},t.prototype.error=function(e){var t=this;I(function(){if(t._throwIfClosed(),!t.isStopped){t.hasError=t.isStopped=!0,t.thrownError=e;for(var r=t.observers;r.length;)r.shift().error(e)}})},t.prototype.complete=function(){var e=this;I(function(){if(e._throwIfClosed(),!e.isStopped){e.isStopped=!0;for(var t=e.observers;t.length;)t.shift().complete()}})},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var e;return(null==(e=this.observers)?void 0:e.length)>0}
1,enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(t){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,t)},t.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},t.prototype._innerSubscribe=function(e){var t=this,r=this.hasError,n=this.isStopped,i=this.observers;return r||n?b:(this.currentObservers=null,i.push(e),new g(function(){t.currentObservers=null,m(i,e)}))},t.prototype._checkFinalizedStatuses=function(e){var t=this.hasError,r=this.thrownError,n=this.isStopped;t?e.error(r):n&&e.complete()},t.prototype.asObservable=function(){var e=new Y;return e.source=this,e},t.create=function(e,t){return new e7(e,t)},t}(Y),e7=function(e){function t(t,r){var n=e.call(this)||this;return n.destination=t,n.source=r,n}return(0,f.C6)(t,e),t.prototype.next=function(e){var t,r;null==(r=null==(t=this.destination)?void 0:t.next)||r.call(t,e)},t.prototype.error=function(e){var t,r;null==(r=null==(t=this.destination)?void 0:t.error)||r.call(t,e)},t.prototype.complete=function(){var e,t;null==(t=null==(e=this.destination)?void 0:e.complete)||t.call(e)},t.prototype._subscribe=function(e){var t,r;return null!=(r=null==(t=this.source)?void 0:t.subscribe(e))?r:b},t}(e8),te={now:function(){return(te.delegate||Date).now()},delegate:void 0},tt=function(e){function t(t,r,n){void 0===t&&(t=1/0),void 0===r&&(r=1/0),void 0===n&&(n=te);var i=e.call(this)||this;return i._bufferSize=t,i._windowTime=r,i._timestampProvider=n,i._buffer=[],i._infiniteTimeWindow=!0,i._infiniteTimeWindow=r===1/0,i._bufferSize=Math.max(1,t),i._windowTime=Math.max(1,r),i}return(0,f.C6)(t,e),t.prototype.next=function(t){var r=this.isStopped,n=this._buffer,i=this._infiniteTimeWindow,o=this._timestampProvider,a=this._windowTime;!r&&(n.push(t),i||n.push(o.now()+a)),this._trimBuffer(),e.prototype.next.call(this,t)},t.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),r=this._infiniteTimeWindow,n=this._buffer.slice(),i=0;i<n.length&&!e.closed;i+=r?1:2)e.next(n[i]);return this._checkFinalizedStatuses(e),t},t.prototype._trimBuffer=function(){var e=this._bufferSize,t=this._timestampProvider,r=this._buffer,n=this._infiniteTimeWindow,i=(n?1:2)*e;if(e<1/0&&i<r.length&&r.splice(0,r.length-i),!n){for(var o=t.now(),a=0,s=1;s<r.length&&r[s]<=o;s+=2)a=s;a&&r.splice(0,a+1)}},t}(e8),tr=function(e){return e&&"number"==typeof e.length&&"function"!=typeof e};function tn(e){return h(null==e?void 0:e.then)}function ti(e){return Symbol.asyncIterator&&h(null==e?void 0:e[Symbol.asyncIterator])}function to(e){return TypeError("You provided "+(null!==e&&"object"==typeof e?"an invalid object":"'"+e+"'")+" where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.")}var ta="function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator";function ts(e){return h(null==e?void 0:e[ta])}function tl(e){return(0,f.AQ)(this,arguments,function(){var t,r,n;return(0,f.YH)(this,function(i){switch(i.label){case 0:t=e.getReader(),i.label=1;case 1:i.trys.push([1,,9,10]),i.label=2;case 2:return[4,(0,f.N3)(t.read())];case 3:if(n=(r=i.sent()).value,!r.done)return[3,5];return[4,(0,f.N3)(void 0)];case 4:return[2,i.sent()];case 5:return[4,(0,f.N3)(n)];case 6:return[4,i.sent()];case 7:return i.sent(),[3,2];case 8:return[3,10];case 9:return t.releaseLock(),[7];case 10:return[2]}})})}function tu(e){return h(null==e?void 0:e.getReader)}function tc(e){if(e instanceof Y)return e;if(null!=e){var t,r,n,i;if(h(e[$])){return t=e,new Y(function(e){var r=t[$]();if(h(r.subscribe))return r.subscribe(e);throw TypeError("Provided object does not correctly implement Symbol.observable")})}if(tr(e)){return r=e,new Y(function(e){for(var t=0;t<r.length&&!e.closed;t++)e.next(r[t]);e.complete()})}if(tn(e)){return n=e,new Y(function(e){n.then(function(t){e.closed||(e.next(t),e.complete())},function(t){return e.error(t)}).then(null,O)})}if(ti(e))return th(e);if(ts(e)){return i=e,new Y(function(e){var t,r;try{for(var n=(0,f.Ju)(i),o=n.next();!o.done;o=n.next()){var a=o.value;if(e.next(a),e.closed)return}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}e.complete()})}if(tu(e))return th(tl(e))}throw to(e)}function th(e){return new Y(function(t){(function(e,t){var r,n,i,o;return(0,f.sH)(this,void 0,void 0,function(){var a;return(0,f.YH)(this,function(s){switch(s.label){case 0:s.trys.push([0,5,6,11]),r=(0,f.xN)(e),s.label=1;case 1:return[4,r.next()];case 2:if((n=s.sent()).done)return[3,4];if(a=n.value,t.next(a),t.closed)return[2];s.label=3;case 3:return[3,1];case 4:return[3,11];case 5:return i={error:s.sent()},[3,11];
1case 6:if(s.trys.push([6,,9,10]),!(n&&!n.done&&(o=r.return)))return[3,8];return[4,o.call(r)];case 7:s.sent(),s.label=8;case 8:return[3,10];case 9:if(i)throw i.error;return[7];case 10:return[7];case 11:return t.complete(),[2]}})})})(e,t).catch(function(e){return t.error(e)})})}function tp(e){void 0===e&&(e={});var t=e.connector,r=void 0===t?function(){return new e8}:t,n=e.resetOnError,i=void 0===n||n,o=e.resetOnComplete,a=void 0===o||o,s=e.resetOnRefCountZero,l=void 0===s||s;return function(e){var t,n,o,s=0,u=!1,c=!1,h=function(){null==n||n.unsubscribe(),n=void 0},f=function(){h(),t=o=void 0,u=c=!1},d=function(){var e=t;f(),null==e||e.unsubscribe()};return p(function(e,p){s++,c||u||h();var y=o=null!=o?o:r();p.add(function(){0!=--s||c||u||(n=tf(d,l))}),y.subscribe(p),!t&&s>0&&(t=new F({next:function(e){return y.next(e)},error:function(e){c=!0,h(),n=tf(f,i,e),y.error(e)},complete:function(){u=!0,h(),n=tf(f,a),y.complete()}}),tc(e).subscribe(t))})(e)}}function tf(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];if(!0===t)return void e();if(!1!==t){var i=new F({next:function(){i.unsubscribe(),e()}});return tc(t.apply(void 0,(0,f.fX)([],(0,f.zs)(r)))).subscribe(i)}}function td(e,t,r){var n,i,o,a,s=!1;return e&&"object"==typeof e?(a=void 0===(n=e.bufferSize)?1/0:n,t=void 0===(i=e.windowTime)?1/0:i,s=void 0!==(o=e.refCount)&&o,r=e.scheduler):a=null!=e?e:1/0,tp({connector:function(){return new tt(a,t,r)},resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:s})}let ty=ew(function(e,t,r){let n,i;function o(e){return e!==n&&(i=r(n=e)),i}return Object.assign(e.pipe(H(o),td({bufferSize:1,refCount:!0})),{getCurrentResult:()=>o(e.getCurrentResult())})},{max:1,makeCacheKey:e=>e.slice(0,2)});function tm(e){return q(e,{FragmentSpread(e){if(!e.directives?.some(({name:e})=>"unmask"===e.value))return null}})}function tg(){throw Error("only supported in development mode")}var tb=r(69744);function tv(e,t){var r=h(e)?e:function(){return e},n=function(e){return e.error(r())};return new Y(t?function(e){return t.schedule(n,0,e)}:n)}function tw(e,t,r,n,i){void 0===n&&(n=0),void 0===i&&(i=!1);var o=t.schedule(function(){r(),i?e.add(this.schedule(null,n)):this.unsubscribe()},n);if(e.add(o),!i)return o}function tE(e,t,r){return(void 0===r&&(r=1/0),h(t))?tE(function(r,n){return H(function(e,i){return t(r,e,n,i)})(tc(e(r,n)))},r):("number"==typeof t&&(r=t),p(function(t,n){var i,o,a,s,l,u,c,h,p;return i=r,a=[],s=0,l=0,u=!1,c=function(){!u||a.length||s||n.complete()},h=function(e){return s<i?p(e):a.push(e)},p=function(t){s++;var r=!1;tc(e(t,l++)).subscribe(M(n,function(e){o?h(e):n.next(e)},function(){r=!0},void 0,function(){if(r)try{for(s--;a.length&&s<i;)!function(){var e=a.shift();p(e)}();c()}catch(e){n.error(e)}}))},t.subscribe(M(n,h,function(){u=!0,c()})),function(){}}))}function tS(e,t){return void 0===t&&(t=0),p(function(r,n){r.subscribe(M(n,function(r){return tw(n,e,function(){return n.next(r)},t)},function(){return tw(n,e,function(){return n.complete()},t)},function(r){return tw(n,e,function(){return n.error(r)},t)}))})}function tO(e,t){return void 0===t&&(t=0),p(function(r,n){n.add(e.schedule(function(){return r.subscribe(n)},t))})}function tx(e,t){if(!e)throw Error("Iterable cannot be null");return new Y(function(r){tw(r,t,function(){var n=e[Symbol.asyncIterator]();tw(r,t,function(){n.next().then(function(e){e.done?r.complete():r.next(e.value)})},0,!0)})})}function tA(e,t){return t?function(e,t){if(null!=e){if(h(e[$]))return tc(e).pipe(tO(t),tS(t));if(tr(e))return new Y(function(r){var n=0;return t.schedule(function(){n===e.length?r.complete():(r.next(e[n++]),r.closed||this.schedule())})});if(tn(e))return tc(e).pipe(tO(t),tS(t));if(ti(e))return tx(e,t);if(ts(e))return new Y(function(r){var n;return tw(r,t,function(){n=e[ta](),tw(r,t,function(){var e,t,i;try{t=(e=n.next()).value,i=e.done}catch(e){r.error(e);return}i?r.complete():r.next(t)},0,!0)}),function(){return h(null==n?void 0:n.return)&&n.return()}});if(tu(e))return tx(tl(e),t)}throw to(e)}(e,t):tc(e)}var tk=d(function(e){return function(){e(this),this.name="EmptyError",this.message="no elements in sequence"}});function tT(e){var t;return(t=e[e.length-1])&&h(t.schedule)?e.pop():void 0}function tI(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=tT(e);return tA(e,r)}function t_(e){return p(function(t,r){var n,i=null,o=!1;i=t.subscribe(M(r,void 0,void 0,function(a){n=tc(e(a,t_(e)(t))),i?(i.unsubscribe(),i=null,n.subscribe(r)):o=!0})),o&&(i.unsubscribe(),i=null,n.subscribe(r))})}function tP(e,t){return p(function(r,n){var i=0;r.subscribe(M(n,function(r){return e.call(t,r,i++)&&n.next(r)}))})}!function(e){e.NEXT="N",e.ERROR="E",e.COMPLETE="C"}(a||(a={}));var tC=function(){function e(e,t,r){this.kind=e,this.value=t,this.error=r,this.hasValue="N"===e}return e.prototype.observe=function(e){return function(e,t){var r,n,i,o=e.kind,a=e.value,s=e.error;if("string"!=typeof o)throw TypeError('Invalid notification, missing "kind"');"N"===o?null==(r=t.next)||r.call(t,a):"E"===o?null==(n=t.error)||n.call(t,s):null==(i=t.complete)||i.call(t)}(this,e)},e.prototype.do=function(e,t,r){var n=this.kind,i=this.value,o=this.error;return"N"===n?null==e?void 0:e(i):"E"===n?null==t?void 0:t(o):null==r?void 0:r()},e.prototype.accept=function(e,t,r){return h(null==e?void 0:e.next)?this.observe(e):this.do(e,t,r)},e.prototype.toObservable=function(){var e=this.kind,t=this.value,r=this.error,n="N"===e?tI(t):"E"===e?tv(function(){return r}):"C"===e?X:0;if(!n)throw TypeError("Unexpected notification kind "+e);return n},e.createNext=function(t){return new e("N",t)},e.createError=function(t){return new e("E",void 0,t)},e.createComplete=function(){return e.completeNotification},e.completeNotification=new e("C"),e}();function tN(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return tE(K,1)(tA(e,tT(e)))}function tF(e,t,r){var n=h(e)||t||r?{next:e,error:t,complete:r}:e;return n?p(function(e,t){null==(r=n.subscribe)||r.call(n);var r,i=!0;e.subscribe(M(t,function(e){var r;null==(r=n.next)||r.call(n,e),t.next(e)},function(){var e;i=!1,null==(e=n.complete)||e.call(n),t.complete()},function(e){var r;i=!1,null==(r=n.error)||r.call(n,e),t.error(e)},function(){var e,t;i&&(null==(e=n.unsubscribe)||e.call(n)),null==(t=n.finalize)||t.call(n)}))}):K}let tj={},tD=Object.assign(function(e){return JSON.stringify(e,tR)},{reset(){i=new ev(en.canonicalStringify||1e3)}});function tR(e,t){if(t&&"object"==typeof t){let e=Object.getPrototypeOf(t);if(e===Object.prototype||null===e){let r=Object.keys(t);if(r.every(tM))return t;let n=JSON.stringify(r),o=i.get(n);if(!o){r.sort();let e=JSON.stringify(r);o=i.get(e)||r,i.set(n,o),i.set(e,o)}let a=Object.create(e);
1return o.forEach(e=>{a[e]=t[e]}),a}}return t}function tM(e,t,r){return 0===t||r[t-1]<=e}function tB(e,t){return"object"==typeof e&&null!==e&&e[Symbol.for("apollo.error")]===t}function tH(e){Object.defineProperty(e,Symbol.for("apollo.error"),{value:e.name,enumerable:!1,writable:!1,configurable:!1})}function tL(e){return e.filter(e=>e).map(e=>e.message||"Error message not found.").join("\n")}ee.g&&(tj.canonicalStringify=()=>i.size),tD.reset();class tV extends Error{static is(e){return tB(e,"CombinedGraphQLErrors")}static formatMessage=tL;errors;data;extensions;constructor(e,t=e.errors||[]){super(tV.formatMessage(t,{result:e,defaultFormatMessage:tL})),this.errors=t,this.data=e.data,this.extensions=e.extensions,this.name="CombinedGraphQLErrors",tH(this),Object.setPrototypeOf(this,tV.prototype)}}function tG(e){return e.map(e=>e.message||"Error message not found.").join("\n")}class tU extends Error{static is(e){return tB(e,"CombinedProtocolErrors")}static formatMessage=tG;errors;constructor(e){super(tU.formatMessage(e,{defaultFormatMessage:tG})),this.name="CombinedProtocolErrors",this.errors=e,tH(this),Object.setPrototypeOf(this,tU.prototype)}}class tq extends Error{static is(e){return tB(e,"UnconventionalError")}constructor(e){super("An error of unexpected shape occurred.",{cause:e}),this.name="UnconventionalError",tH(this),Object.setPrototypeOf(this,tq.prototype)}}let tW=Symbol(),tz=new WeakSet;function tQ(e=[]){let t={};return e.forEach(e=>{t[e.name.value]=e}),t}function t$(e){return e.definitions.filter(e=>"FragmentDefinition"===e.kind)}function tK(e){return null!==e&&"object"==typeof e}function tY(e){return ee.g&&function(e){let t=new Set([e]);t.forEach(e=>{tK(e)&&function(e){if(ee.g&&!Object.isFrozen(e))try{Object.freeze(e)}catch(e){if(e instanceof TypeError)return null;throw e}return e}(e)===e&&Object.getOwnPropertyNames(e).forEach(r=>{tK(e[r])&&t.add(e[r])})})}(e),e}function tJ(e){return e.alias?e.alias.value:e.name.value}let tX=new eC;function tZ(e,t,r){return tX.withValue(!0,()=>{let n=function e(t,r,n,i,o){let{knownChanged:a}=n,s=function(e,t){if(t.has(e))return t.get(e);let r=Array.isArray(e)?[]:{};return t.set(e,r),r}(t,n.mutableTargets);if(Array.isArray(t)){for(let[l,u]of Array.from(t.entries())){if(null===u){s[l]=null;continue}let t=e(u,r,n,i,ee.g?`${o||""}[${l}]`:void 0);a.has(t)&&a.add(s),s[l]=t}return a.has(s)?s:t}for(let l of r.selections){let r;if(i&&a.add(s),l.kind===G.b.FIELD){let u=tJ(l),c=l.selectionSet;if(void 0===(r=s[u]||t[u]))continue;if(c&&null!==r){let s=e(t[u],c,n,i,ee.g?`${o||""}.${u}`:void 0);a.has(s)&&(r=s)}ee.g||(s[u]=r),ee.g&&(i&&"__typename"!==u&&!Object.getOwnPropertyDescriptor(s,u)?.value?Object.defineProperty(s,u,function(e,t,r,n,i){let o=()=>(tX.getValue()||(ee.g&&z.V1.warn(40,n?`${i} '${n}'`:`anonymous ${i}`,`${r}.${e}`.replace(/^\./,"")),o=()=>t),t);return{get:()=>o(),set(e){o=()=>e},enumerable:!0,configurable:!0}}(u,r,o||"",n.operationName,n.operationType)):(delete s[u],s[u]=r))}if(l.kind===G.b.INLINE_FRAGMENT&&(!l.typeCondition||n.cache.fragmentMatches(l,t.__typename))&&(r=e(t,l.selectionSet,n,i,o)),l.kind===G.b.FRAGMENT_SPREAD){let i=l.name.value,a=n.fragmentMap[i]||(n.fragmentMap[i]=n.cache.lookupFragment(i));(0,z.V1)(a,39,i);let s=function(e){let t=e.directives?.find(({name:e})=>"unmask"===e.value);if(!t)return"mask";let r=t.arguments?.find(({name:e})=>"mode"===e.value);return(ee.g&&r&&(r.value.kind===G.b.VARIABLE?ee.g&&z.V1.warn(44):r.value.kind!==G.b.STRING?ee.g&&z.V1.warn(45):"migrate"!==r.value.value&&ee.g&&z.V1.warn(46,r.value.value)),r&&"value"in r.value&&"migrate"===r.value.value)?"migrate":"unmask"}(l);"mask"!==s&&(r=e(t,a.selectionSet,n,"migrate"===s,o))}a.has(r)&&a.add(s)}return"__typename"in t&&!("__typename"in s)&&(s.__typename=t.__typename),Object.keys(s).length!==Object.keys(t).length&&a.add(s),a.has(s)?s:t}(e,t,r,!1);return Object.isFrozen(e)&&tY(n),n})}var t0=r(80665),t1=r(79515);let t2=/[\x00-\x1f\x22\x5c\x7f-\x9f]/g;function t5(e){return t6[e.charCodeAt(0)]}let t6=["\\u0000","\\u0001","\\u0002","\\u0003","\\u0004","\\u0005","\\u0006","\\u0007","\\b","\\t","\\n","\\u000B","\\f","\\r","\\u000E","\\u000F","\\u0010","\\u0011","\\u0012","\\u0013","\\u0014","\\u0015","\\u0016","\\u0017","\\u0018","\\u0019","\\u001A","\\u001B","\\u001C","\\u001D","\\u001E","\\u001F","","",'\\"',"","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\\\","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\u007F","\\u0080","\\u0081","\\u0082","\\u0083","\\u0084","\\u0085","\\u0086","\\u0087","\\u0088","\\u0089","\\u008A","\\u008B","\\u008C","\\u008D","\\u008E","\\u008F","\\u0090","\\u0091","\\u0092","\\u0093","\\u0094","\\u0095","\\u0096","\\u0097","\\u0098","\\u0099","\\u009A","\\u009B","\\u009C","\\u009D","\\u009E","\\u009F"],t4={Name:{leave:e=>e.value},Variable:{leave:e=>"$"+e.name},Document:{leave:e=>t9(e.definitions,"\n\n")},OperationDefinition:{leave(e){let t=re(e.variableDefinitions)?t8("(\n",t9(e.variableDefinitions,"\n"),"\n)"):t8("(",t9(e.variableDefinitions,", "),")"),r=t8("",e.description,"\n")+t9([e.operation,t9([e.name,t]),t9(e.directives," ")]," ");return("query"===r?"":r+" ")+e.selectionSet}},VariableDefinition:{leave:({variable:e,type:t,defaultValue:r,directives:n,description:i})=>t8("",i,"\n")+e+": "+t+t8(" = ",r)+t8(" ",t9(n," "))},SelectionSet:{leave:({selections:e})=>t3(e)},Field:{leave({alias:e,name:t,arguments:r,directives:n,selectionSet:i}){let o=t8("",e,": ")+t,a=o+t8("(",t9(r,", "),")");return a.length>80&&(a=o+t8("(\n",t7(t9(r,"\n")),"\n)")),t9([a,t9(n," "),i]," ")}},Argument:{leave:({name:e,value:t})=>e+": "+t},FragmentSpread:{leave:({name:e,directives:t})=>"..."+e+t8(" ",t9(t," "))},InlineFragment:{leave:({typeCondition:e,directives:t,selectionSet:r})=>t9(["...",t8("on ",e),t9(t," "),r]," ")},FragmentDefinition:{leave:({name:e,typeCondition:t,variableDefinitions:r,directives:n,selectionSet:i,description:o})=>t8("",o,"\n")+`fragment ${e}${t8("(",t9(r,", "),")")} `+`on ${t}
1 ${t8("",t9(n," ")," ")}`+i},IntValue:{leave:({value:e})=>e},FloatValue:{leave:({value:e})=>e},StringValue:{leave:({value:e,block:t})=>t?(0,t1.yo)(e):`"${e.replace(t2,t5)}"`},BooleanValue:{leave:({value:e})=>e?"true":"false"},NullValue:{leave:()=>"null"},EnumValue:{leave:({value:e})=>e},ListValue:{leave:({values:e})=>"["+t9(e,", ")+"]"},ObjectValue:{leave:({fields:e})=>"{"+t9(e,", ")+"}"},ObjectField:{leave:({name:e,value:t})=>e+": "+t},Directive:{leave:({name:e,arguments:t})=>"@"+e+t8("(",t9(t,", "),")")},NamedType:{leave:({name:e})=>e},ListType:{leave:({type:e})=>"["+e+"]"},NonNullType:{leave:({type:e})=>e+"!"},SchemaDefinition:{leave:({description:e,directives:t,operationTypes:r})=>t8("",e,"\n")+t9(["schema",t9(t," "),t3(r)]," ")},OperationTypeDefinition:{leave:({operation:e,type:t})=>e+": "+t},ScalarTypeDefinition:{leave:({description:e,name:t,directives:r})=>t8("",e,"\n")+t9(["scalar",t,t9(r," ")]," ")},ObjectTypeDefinition:{leave:({description:e,name:t,interfaces:r,directives:n,fields:i})=>t8("",e,"\n")+t9(["type",t,t8("implements ",t9(r," & ")),t9(n," "),t3(i)]," ")},FieldDefinition:{leave:({description:e,name:t,arguments:r,type:n,directives:i})=>t8("",e,"\n")+t+(re(r)?t8("(\n",t7(t9(r,"\n")),"\n)"):t8("(",t9(r,", "),")"))+": "+n+t8(" ",t9(i," "))},InputValueDefinition:{leave:({description:e,name:t,type:r,defaultValue:n,directives:i})=>t8("",e,"\n")+t9([t+": "+r,t8("= ",n),t9(i," ")]," ")},InterfaceTypeDefinition:{leave:({description:e,name:t,interfaces:r,directives:n,fields:i})=>t8("",e,"\n")+t9(["interface",t,t8("implements ",t9(r," & ")),t9(n," "),t3(i)]," ")},UnionTypeDefinition:{leave:({description:e,name:t,directives:r,types:n})=>t8("",e,"\n")+t9(["union",t,t9(r," "),t8("= ",t9(n," | "))]," ")},EnumTypeDefinition:{leave:({description:e,name:t,directives:r,values:n})=>t8("",e,"\n")+t9(["enum",t,t9(r," "),t3(n)]," ")},EnumValueDefinition:{leave:({description:e,name:t,directives:r})=>t8("",e,"\n")+t9([t,t9(r," ")]," ")},InputObjectTypeDefinition:{leave:({description:e,name:t,directives:r,fields:n})=>t8("",e,"\n")+t9(["input",t,t9(r," "),t3(n)]," ")},DirectiveDefinition:{leave:({description:e,name:t,arguments:r,repeatable:n,locations:i})=>t8("",e,"\n")+"directive @"+t+(re(r)?t8("(\n",t7(t9(r,"\n")),"\n)"):t8("(",t9(r,", "),")"))+(n?" repeatable":"")+" on "+t9(i," | ")},SchemaExtension:{leave:({directives:e,operationTypes:t})=>t9(["extend schema",t9(e," "),t3(t)]," ")},ScalarTypeExtension:{leave:({name:e,directives:t})=>t9(["extend scalar",e,t9(t," ")]," ")},ObjectTypeExtension:{leave:({name:e,interfaces:t,directives:r,fields:n})=>t9(["extend type",e,t8("implements ",t9(t," & ")),t9(r," "),t3(n)]," ")},InterfaceTypeExtension:{leave:({name:e,interfaces:t,directives:r,fields:n})=>t9(["extend interface",e,t8("implements ",t9(t," & ")),t9(r," "),t3(n)]," ")},UnionTypeExtension:{leave:({name:e,directives:t,types:r})=>t9(["extend union",e,t9(t," "),t8("= ",t9(r," | "))]," ")},EnumTypeExtension:{leave:({name:e,directives:t,values:r})=>t9(["extend enum",e,t9(t," "),t3(r)]," ")},InputObjectTypeExtension:{leave:({name:e,directives:t,fields:r})=>t9(["extend input",e,t9(t," "),t3(r)]," ")},TypeCoordinate:{leave:({name:e})=>e},MemberCoordinate:{leave:({name:e,memberName:t})=>t9([e,t8(".",t)])},ArgumentCoordinate:{leave:({name:e,fieldName:t,argumentName:r})=>t9([e,t8(".",t),t8("(",r,":)")])},DirectiveCoordinate:{leave:({name:e})=>t9(["@",e])},DirectiveArgumentCoordinate:{leave:({name:e,argumentName:t})=>t9(["@",e,t8("(",t,":)")])}};function t9(e,t=""){var r;return null!=(r=null==e?void 0:e.filter(e=>e).join(t))?r:""}function t3(e){return t8("{\n",t7(t9(e,"\n")),"\n}")}function t8(e,t,r=""){return null!=t&&""!==t?e+t+r:""}function t7(e){return t8("  ",e.replace(/\n/g,"\n  "))}function re(e){var t;return null!=(t=null==e?void 0:e.some(e=>e.includes("\n")))&&t}let rt=Object.assign(e=>{let t=o.get(e);return t||(t=q(e,t4),o.set(e,t)),t},{reset(){o=new eb(en.print||2e3)}});function rr(e){return 7===e||8===e}function rn(e){return!!e.errors?.length}function ri(e,t=()=>void 0){return r=>new Y(n=>{let i=t();return r.subscribe({next(t){let r;try{r=e(t,i)}catch(e){n.error(e)}void 0!==r&&n.next(r)},error(e){n.error(e)},complete(){n.complete()}})})}function ro(e){let t={data:e.data};return e.error&&(t.error=e.error),t}function ra(e){(0,z.V1)("Document"===e.kind,6),(0,z.V1)(e.definitions.length<=1,7);let t=e.definitions[0];return(0,z.V1)("FragmentDefinition"===t.kind,8),t}rt.reset(),ee.g&&(tj.print=()=>o?o.size:0);let rs=Array.isArray;function rl(e){return Array.isArray(e)&&e.length>0}function ru(e){let t=new Map;return function(r=e){let n=t.get(r);return n||t.set(r,n={variables:new Set,fragmentSpreads:new Set}),n}}function rc(e,t,r,n){if(r.kind===G.b.INT||r.kind===G.b.FLOAT)e[t.value]=Number(r.value);else if(r.kind===G.b.BOOLEAN||r.kind===G.b.STRING)e[t.value]=r.value;else if(r.kind===G.b.OBJECT){let i={};r.fields.map(e=>rc(i,e.name,e.value,n)),e[t.value]=i}else if(r.kind===G.b.VARIABLE){let i=(n||{})[r.name.value];e[t.value]=i}else if(r.kind===G.b.LIST)e[t.value]=r.values.map(e=>{let r={};return rc(r,t,e,n),r[t.value]});else if(r.kind===G.b.ENUM)e[t.value]=r.value;else if(r.kind===G.b.NULL)e[t.value]=null;else throw(0,z.vA)(19,t.value,r.kind)}function rh(e){let t={},r=e&&e.variableDefinitions;
1return r&&r.length&&r.forEach(e=>{e.defaultValue&&rc(t,e.variable.name,e.defaultValue)}),t}let rp=Symbol.for("apollo.result.extensions"),rf=Symbol.for("apollo.result.streamInfo"),rd=Symbol.for("apollo.observableQuery.variablesUnknown");var ry=r(51925);!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",e[e.streaming=9]="streaming"}(s||(s={}));var rm=function(e){function t(t){var r=e.call(this)||this;return r._value=t,r}return(0,f.C6)(t,e),Object.defineProperty(t.prototype,"value",{get:function(){return this.getValue()},enumerable:!1,configurable:!0}),t.prototype._subscribe=function(t){var r=e.prototype._subscribe.call(this,t);return r.closed||t.next(this._value),r},t.prototype.getValue=function(){var e=this.hasError,t=this.thrownError,r=this._value;if(e)throw t;return this._throwIfClosed(),r},t.prototype.next=function(t){e.prototype.next.call(this,this._value=t)},t}(e8);function rg(e,t){switch(e.kind){case"InlineFragment":return e;case"FragmentSpread":{let r=e.name.value;if("function"==typeof t)return t(r);let n=t&&t[r];return(0,z.V1)(n,9,r),n||null}default:return null}}function rb(e){let t;for(let r of(eE(e),e.definitions)){if("OperationDefinition"===r.kind)return r;"FragmentDefinition"!==r.kind||t||(t=r)}if(t)return t;throw(0,z.vA)(12)}function rv(e){return"Field"===e.kind}function rw({directives:e},t){return!e||!e.length||(function(e){let t=[];return e&&e.length&&e.forEach(e=>{if(!function({name:{value:e}}){return"skip"===e||"include"===e}(e))return;let r=e.arguments,n=e.name.value;(0,z.V1)(r&&1===r.length,16,n);let i=r[0];(0,z.V1)(i.name&&"if"===i.name.value,17,n);let o=i.value;(0,z.V1)(o&&("Variable"===o.kind||"BooleanValue"===o.kind),18,n),t.push({directive:e,ifArgument:i})}),t})(e).every(({directive:e,ifArgument:r})=>{let n=!1;return"Variable"===r.value.kind?(n=t&&t[r.value.name.value],(0,z.V1)(void 0!==n,15,e.name.value)):n=r.value.value,"skip"===e.name.value?!n:n})}function rE(e,{data:t,...r},{data:n,...i},o){return(0,t0.L)(r,i)&&function e(t,r,n,i){if(r===n)return!0;let o=new Set;return t.selections.every(t=>{if(o.has(t)||(o.add(t),!rw(t,i.variables)||rS(t)))return!0;if(rv(t)){let o=tJ(t),a=r&&r[o],s=n&&n[o],l=t.selectionSet;if(!l)return(0,t0.L)(a,s);let u=Array.isArray(a),c=Array.isArray(s);if(u!==c)return!1;if(u&&c){let t=a.length;if(s.length!==t)return!1;for(let r=0;r<t;++r)if(!e(l,a[r],s[r],i))return!1;return!0}return e(l,a,s,i)}{let o=rg(t,i.fragmentMap);if(o)return!!rS(o)||e(o.selectionSet,r,n,i)}})}(rb(e).selectionSet,t,n,{fragmentMap:tQ(t$(e)),variables:o})}function rS(e){return!!e.directives&&e.directives.some(rO)}function rO(e){return"nonreactive"===e.name.value}function rx(e){let t=eS(e);return(0,z.V1)(t&&"query"===t.operation,13),t}var rA=r(66495);let{assign:rk,hasOwnProperty:rT}=Object,rI={loading:!0,networkStatus:s.loading,data:void 0,dataState:"empty",partial:!0},r_={loading:!1,networkStatus:s.ready,data:void 0,dataState:"empty",partial:!0};class rP{options;queryName;variablesUnknown=!1;_lastWrite;get query(){return this.lastQuery}get variables(){return this.options.variables}unsubscribeFromCache;input;subject;isTornDown;queryManager;subscriptions=new Set;waitForNetworkResult;lastQuery;linkSubscription;pollingInfo;get networkStatus(){return this.subject.getValue().result.networkStatus}get cache(){return this.queryManager.cache}constructor({queryManager:e,options:t,transformedQuery:r=e.transform(t.query)}){this.queryManager=e,this.waitForNetworkResult="network-only"===t.fetchPolicy,this.isTornDown=!1,this.subscribeToMore=this.subscribeToMore.bind(this),this.maskResult=this.maskResult.bind(this);let{watchQuery:{fetchPolicy:n="cache-first"}={}}=e.defaultOptions,{fetchPolicy:i=n,initialFetchPolicy:o="standby"===i?n:i}=t;t[rd]&&((0,z.V1)("standby"===i,82),this.variablesUnknown=!0),this.lastQuery=r,this.options={...t,initialFetchPolicy:o,fetchPolicy:i,variables:this.getVariablesWithDefaults(t.variables)},this.initializeObservablesQueue(),this["@@observable"]=()=>this,Symbol.observable&&(this[Symbol.observable]=()=>this);let a=eS(this.query);this.queryName=a&&a.name&&a.name.value}
1initializeObservablesQueue(){this.subject=new rm({query:this.query,variables:this.variables,result:rI,meta:{}});let e=this.subject.pipe(tF({subscribe:()=>{this.subject.observed||(this.reobserve(),setTimeout(()=>this.updatePolling()))},unsubscribe:()=>{this.subject.observed||this.tearDownQuery()}}),ri(({query:e,variables:t,result:r,meta:n},i)=>{let{shouldEmit:o}=n;if(r===rI&&(i.previous=void 0,i.previousVariables=void 0),"standby"===this.options.fetchPolicy||2===o)return;if(1===o)return l();let{previous:a,previousVariables:s}=i;if(a){let n=this.queryManager.getDocumentInfo(e),i=this.queryManager.dataMasking,o=i?n.nonReactiveQuery:e;if((i||n.hasNonreactiveDirective?rE(o,a,r,t):(0,t0.L)(a,r))&&(0,t0.L)(s,t))return}if(!(3===o&&(!this.options.notifyOnNetworkStatusChange||(0,t0.L)(a,r))))return l();function l(){return i.previous=r,i.previousVariables=t,r}},()=>({})));this.pipe=e.pipe.bind(e),this.subscribe=e.subscribe.bind(e),this.input=new e8,this.input.complete=()=>{},this.input.pipe(this.operator).subscribe(this.subject)}subscribe;pipe;[Symbol.observable];"@@observable";getCacheDiff({optimistic:e=!0}={}){return this.cache.diff({query:this.query,variables:this.variables,returnPartialData:!0,optimistic:e})}getInitialResult(e){let t=e||this.options.fetchPolicy;this.queryManager.prioritizeCacheValues&&("network-only"===t||"cache-and-network"===t)&&(t="cache-first");let r=()=>{let e=this.getCacheDiff(),t=this.options.returnPartialData||e.complete?e.result??void 0:void 0;return this.maskResult({data:t,dataState:e.complete?"complete":void 0===t?"empty":"partial",loading:!e.complete,networkStatus:e.complete?s.ready:s.loading,partial:!e.complete})};switch(t){case"cache-only":return{...r(),loading:!1,networkStatus:s.ready};case"cache-first":return r();case"cache-and-network":return{...r(),loading:!0,networkStatus:s.loading};case"standby":return r_;default:return rI}}resubscribeCache(){let{variables:e,fetchPolicy:t}=this.options,r=this.query,n="standby"===t||"no-cache"===t||this.waitForNetworkResult,i=!rC({query:r,variables:e},this.unsubscribeFromCache)&&!this.waitForNetworkResult;if((n||i)&&this.unsubscribeFromCache?.(),n||!i)return;let o={query:r,variables:e,optimistic:!0,watcher:this,callback:e=>{let t=this.queryManager.getDocumentInfo(r);if((t.hasClientExports||t.hasForcedResolvers)&&(o.lastDiff=void 0),o.lastOwnDiff===e)return;let{result:n}=this.subject.getValue();(e.complete||!n.error&&n!==rI&&n!==r_)&&((0,t0.L)(n.data,e.result)||this.scheduleNotify())}},a=this.cache.watch(o);this.unsubscribeFromCache=Object.assign(()=>{this.unsubscribeFromCache=void 0,a()},{query:r,variables:e})}stableLastResult;getCurrentResult(){let{result:e}=this.subject.getValue(),t=e.networkStatus===s.error||this.hasObservers()||"no-cache"===this.options.fetchPolicy?e:this.getInitialResult();return t===rI&&(t=this.getInitialResult()),(0,t0.L)(this.stableLastResult,t)||(this.stableLastResult=t),this.stableLastResult}refetch(e){let{fetchPolicy:t}=this.options,r={pollInterval:0};if("no-cache"===t?r.fetchPolicy="no-cache":r.fetchPolicy="network-only",ee.g&&e&&rT.call(e,"variables")){let t=rx(this.query),r=t.variableDefinitions;r&&r.some(e=>"variables"===e.variable.name.value)||!ee.g||z.V1.warn(83,e,t.name?.value||t)}return e&&!(0,t0.L)(this.variables,e)&&(r.variables=this.options.variables=this.getVariablesWithDefaults({...this.variables,...e})),this._lastWrite=void 0,this._reobserve(r,{newNetworkStatus:s.refetch})}fetchMore({query:e,variables:t,context:r,errorPolicy:n,updateQuery:i}){(0,z.V1)("cache-only"!==this.options.fetchPolicy,84,Z(this.query,"(anonymous)"));let o={...(0,e9.o)(this.options,{errorPolicy:"none"},{query:e,context:r,errorPolicy:n}),variables:e?t:{...this.variables,...t},fetchPolicy:"no-cache",notifyOnNetworkStatusChange:this.options.notifyOnNetworkStatusChange};o.query=this.transformDocument(o.query),this.lastQuery=e?this.transformDocument(this.options.query):o.query;let a=!1,l="no-cache"!==this.options.fetchPolicy;l||(0,z.V1)(i,85);let{finalize:u,pushNotification:c}=this.pushOperation(s.fetchMore);c({source:"newNetworkStatus",kind:"N",value:{}},{shouldEmit:3});let{promise:h,operator:p}=rN(),{observable:f}=this.queryManager.fetchObservableWithInfo(o,{networkStatus:s.fetchMore,exposeExtensions:!0}),d=f.pipe(p,tP(e=>"N"===e.kind&&"network"===e.source)).subscribe({next:e=>{a=!1;let t=e.value,r=t[rp];if(rr(e.value.networkStatus)&&u(),l){let e=this.getCacheDiff();this.cache.batch({update:e=>{i?e.updateQuery({query:this.query,variables:this.variables,returnPartialData:!0,optimistic:!1,extensions:r},e=>i(e,{fetchMoreResult:t.data,variables:o.variables})):e.writeQuery({query:o.query,variables:o.variables,data:t.data,extensions:r})},onWatchUpdated:(r,n)=>{if(r.watcher===this&&!(0,t0.L)(n.result,e.result)){a=!0;let e=this.getCurrentResult();rr(t.networkStatus)||c({kind:"N",source:"network",value:{...e,networkStatus:t.networkStatus===s.error?s.ready:t.networkStatus,loading:!1,data:n.result,dataState:"streaming"===t.dataState?"streaming":"complete"}})}}})}else{let e=this.getCurrentResult(),r=i(e.data,{fetchMoreResult:t.data,variables:o.variables});c({kind:"N",value:{...e,networkStatus:s.ready,loading:!1,data:r,dataState:"streaming"===e.dataState?"streaming":"complete"},source:"network"})}}});return(0,rA.X)(h.then(e=>ro(this.maskResult(e))).finally(()=>
1{if(d.unsubscribe(),u(),l&&!a){let e=this.getCurrentResult();"streaming"===e.dataState?c({kind:"N",source:"network",value:{...e,dataState:"complete",networkStatus:s.ready}}):c({kind:"N",source:"newNetworkStatus",value:{}},{shouldEmit:1})}}))}subscribeToMore(e){let t=this.queryManager.startGraphQLSubscription({query:e.document,variables:e.variables,context:e.context}).subscribe({next:t=>{let{updateQuery:r,onError:n}=e,{error:i}=t;if(i)return void(n?n(i):z.V1.error(86,i));r&&this.updateQuery((e,n)=>r(e,{subscriptionData:t,...n}))}});return this.subscriptions.add(t),()=>{this.subscriptions.delete(t)&&t.unsubscribe()}}applyOptions(e){let t=(0,e9.o)(this.options,e||{});rk(this.options,t),this.updatePolling()}async setVariables(e){return(e=this.getVariablesWithDefaults(e),(0,t0.L)(this.variables,e))?ro(this.getCurrentResult()):(this.options.variables=e,this.hasObservers())?this._reobserve({fetchPolicy:this.options.initialFetchPolicy,variables:e},{newNetworkStatus:s.setVariables}):ro(this.getCurrentResult())}updateQuery(e){let{queryManager:t}=this,{result:r,complete:n}=this.getCacheDiff({optimistic:!1}),i=e(r,{variables:this.variables,complete:!!n,previousData:r});i&&(this.cache.writeQuery({query:this.options.query,data:i,variables:this.variables}),t.broadcastQueries())}startPolling(e){this.options.pollInterval=e,this.updatePolling()}stopPolling(){this.options.pollInterval=0,this.updatePolling()}applyNextFetchPolicy(e,t){if(t.nextFetchPolicy){let{fetchPolicy:r="cache-first",initialFetchPolicy:n=r}=t;"standby"===r||("function"==typeof t.nextFetchPolicy?t.fetchPolicy=t.nextFetchPolicy.call(t,r,{reason:e,options:t,observable:this,initialFetchPolicy:n}):"variables-changed"===e?t.fetchPolicy=n:t.fetchPolicy=t.nextFetchPolicy)}return t.fetchPolicy}fetch(e,t,r,n){let i=this.options.fetchPolicy;e.context??={};let o=!1,a=e=>new Y(r=>{try{return e.subscribe({next(e){o=!0,r.next(e)},error:e=>r.error(e),complete:()=>r.complete()})}finally{o||(p.override=t,this.input.next({kind:"N",source:"newNetworkStatus",value:{resetError:!0},query:c,variables:h,meta:{shouldEmit:3,fetchPolicy:i}}))}}),{observable:l,fromLink:u}=this.queryManager.fetchObservableWithInfo(e,{networkStatus:t,query:r,onCacheHit:()=>{o=!0},fetchQueryOperator:a,observableQuery:this}),{query:c,variables:h}=this,p={abort:()=>{d.unsubscribe()},query:c,variables:h};this.activeOperations.add(p);let f=t==s.refetch||t==s.setVariables,d=(l=l.pipe(n,tp())).pipe(tF({next:e=>{"newNetworkStatus"===e.source||"N"===e.kind&&e.value.loading?p.override=t:delete p.override},finalize:()=>this.activeOperations.delete(p)})).subscribe({next:e=>{let t={};f&&"N"===e.kind&&"loading"in e.value&&!e.value.loading&&(f=!1,t.shouldEmit=1),this.input.next({...e,query:c,variables:h,meta:t})}});return{fromLink:u,subscription:d,observable:l}}didWarnCacheOnlyPolling=!1;updatePolling(){if(this.queryManager.ssrMode)return;let{pollingInfo:e,options:{fetchPolicy:t,pollInterval:r}}=this,n=()=>{let{options:e}=this;return!e.pollInterval||!this.hasObservers()||"cache-only"===e.fetchPolicy||"standby"===e.fetchPolicy};if(n()){ee.g&&!this.didWarnCacheOnlyPolling&&r&&"cache-only"===t&&(ee.g&&z.V1.warn(87,Z(this.query,"(anonymous)")),this.didWarnCacheOnlyPolling=!0),this.cancelPolling();return}if(e?.interval===r)return;(e||(this.pollingInfo={})).interval=r;let i=()=>{if(n())return this.cancelPolling();this.pollingInfo&&(!rr(this.networkStatus)||this.options.skipPollAttempt?.()?o():this._reobserve({fetchPolicy:"no-cache"===this.options.initialFetchPolicy?"no-cache":"network-only"},{newNetworkStatus:s.poll}).then(o,o))},o=()=>{let e=this.pollingInfo;e&&(clearTimeout(e.timeout),e.timeout=setTimeout(i,e.interval))};o()}cancelPolling(){this.pollingInfo&&(clearTimeout(this.pollingInfo.timeout),delete this.pollingInfo)}reobserve(e){return this._reobserve(e)}_reobserve(e,t){this.isTornDown=!1;let{newNetworkStatus:r}=t||{};this.queryManager.obsQueries.add(this);let n=r===s.refetch||r===s.poll,i=this.variables,o=this.options.fetchPolicy,a=(0,e9.o)(this.options,e||{});this.variablesUnknown&&="standby"===a.fetchPolicy;let l=n?a:rk(this.options,a),u=this.transformDocument(l.query);this.lastQuery=u,e&&"variables"in e&&(l.variables=this.getVariablesWithDefaults(e.variables)),!n&&(this.updatePolling(),e&&e.variables&&!(0,t0.L)(e.variables,i)&&"standby"!==l.fetchPolicy&&(l.fetchPolicy===o||"function"==typeof l.nextFetchPolicy)&&(this.applyNextFetchPolicy("variables-changed",l),void 0===r&&(r=s.setVariables)));let c=this.networkStatus;r||(r=s.loading,c!==s.loading&&e?.variables&&!(0,t0.L)(e.variables,i)&&(r=s.setVariables),"standby"===l.fetchPolicy&&(r=s.ready)),"standby"===l.fetchPolicy&&this.cancelPolling(),this.resubscribeCache();let{promise:h,operator:p}=rN("standby"===l.fetchPolicy?{data:void 0}:void 0),{subscription:f,observable:d,fromLink:y}=this.fetch(l,r,u,p);n||!y&&this.linkSubscription||(this.linkSubscription&&this.linkSubscription.unsubscribe(),this.linkSubscription=f);let m=Object.assign((0,rA.X)(h.then(e=>ro(this.maskResult(e))).finally(()=>{this.hasObservers()||0!==this.activeOperations.size||this.tearDownQuery()})),{retain:()=>{let e=d.subscribe({}),t=()=>e.unsubscribe();return h.then(t,t),m}});return m}hasObservers(){return this.subject.observed}stop(){this.subject.complete(),this.initializeObservablesQueue(),this.tearDownQuery()}tearDownQuery(){this.isTornDown||(this.resetNotifications(),this.unsubscribeFromCache?.(),this.linkSubscription&&(this.linkSubscription.unsubscribe(),delete this.linkSubscription),this.stopPolling(),this.subscriptions.forEach(e
1=>e.unsubscribe()),this.subscriptions.clear(),this.queryManager.obsQueries.delete(this),this.isTornDown=!0,this.abortActiveOperations(),this._lastWrite=void 0)}transformDocument(e){return this.queryManager.transform(e)}maskResult(e){let t=this.queryManager.maskOperation({document:this.query,data:e.data,fetchPolicy:this.options.fetchPolicy,cause:this});return t===e.data?e:{...e,data:t}}dirty=!1;notifyTimeout;resetNotifications(){this.notifyTimeout&&(clearTimeout(this.notifyTimeout),this.notifyTimeout=void 0),this.dirty=!1}scheduleNotify(){!this.dirty&&(this.dirty=!0,this.notifyTimeout||(this.notifyTimeout=setTimeout(()=>this.notify(!0),0)))}notify(e=!1){if(!e){let e=this.queryManager.getDocumentInfo(this.query);if(e.hasClientExports||e.hasForcedResolvers)return}let{dirty:t}=this;if(this.resetNotifications(),t&&("cache-only"===this.options.fetchPolicy||"cache-and-network"===this.options.fetchPolicy||!this.activeOperations.size)){let e=this.getCacheDiff();(0,t0.L)(e.result,this.getCacheDiff({optimistic:!1}).result)?this.reobserveCacheFirst():this.input.next({kind:"N",value:{data:e.result,dataState:e.complete?"complete":e.result?"partial":"empty",networkStatus:s.ready,loading:!1,error:void 0,partial:!e.complete},source:"cache",query:this.query,variables:this.variables,meta:{}})}}activeOperations=new Set;pushOperation(e){let t=!1,{query:r,variables:n}=this,i=()=>{this.activeOperations.delete(o)},o={override:e,abort:()=>{t=!0,i()},query:r,variables:n};return this.activeOperations.add(o),{finalize:i,pushNotification:(e,i)=>{t||this.input.next({...e,query:r,variables:n,meta:{...i}})}}}calculateNetworkStatus(e){if(e===s.streaming)return e;let t=Array.from(this.activeOperations.values()).reverse().find(e=>rC(e,this)&&void 0!==e.override);return t?.override??e}abortActiveOperations(){this.activeOperations.forEach(e=>e.abort())}reset(){let e="cache-only"===this.options.fetchPolicy;this.setResult(e?r_:rI,{shouldEmit:e?1:2}),this.abortActiveOperations()}setResult(e,t){this.input.next({source:"setResult",kind:"N",value:e,query:this.query,variables:this.variables,meta:{...t}})}operator=ri(e=>{let t,{query:r,variables:n,meta:i}=e;if("setResult"===e.source)return{query:r,variables:n,result:e.value,meta:i};if("C"===e.kind||!rC(e,this))return;let o=this.subject.getValue();if("cache"===e.source){if((t=e.value).networkStatus===s.ready&&t.partial&&(!this.options.returnPartialData||o.result.networkStatus===s.error)&&"cache-only"!==this.options.fetchPolicy)return}else if("network"===e.source)this.waitForNetworkResult&&(this.waitForNetworkResult=!1,this.resubscribeCache()),t="E"===e.kind?{...rC(o,e)?o.result:{data:void 0,dataState:"empty",partial:!0},error:e.error,networkStatus:s.error,loading:!1}:e.value,"E"===e.kind&&"streaming"===t.dataState&&(t.dataState="complete"),t.error&&(i.shouldEmit=1);else if("newNetworkStatus"===e.source){let r=rC(o,e)?o.result:this.getInitialResult(i.fetchPolicy),{resetError:n}=e.value,a=n?void 0:r.error,l=a?s.error:s.ready;t={...r,error:a,networkStatus:l}}return(0,z.V1)(t),t.error||delete t.error,t.networkStatus=this.calculateNetworkStatus(t.networkStatus),t.loading=!rr(t.networkStatus),t=this.maskResult(t),void 0!==o.result.data&&t.data!==o.result.data&&(0,t0.L)(t.data,o.result.data)&&(t.data=o.result.data),{query:r,variables:n,result:t,meta:i}});reobserveCacheFirst(){let{fetchPolicy:e,nextFetchPolicy:t}=this.options;"cache-and-network"===e||"network-only"===e?this.reobserve({fetchPolicy:"cache-first",nextFetchPolicy(r,n){return(this.nextFetchPolicy=t,"function"==typeof this.nextFetchPolicy)?this.nextFetchPolicy(r,n):e}}):this.reobserve()}getVariablesWithDefaults(e){return this.queryManager.getVariables(this.query,e)}}function rC(e,t){return!!(e&&t&&e.query===t.query&&(0,t0.L)(e.variables,t.variables))}function rN(e){let t=e,r,n;return{promise:new Promise((e,t)=>{r=e,n=t}),operator:tF({next(e){if("E"===e.kind)return n(e.error);"N"!==e.kind||"newNetworkStatus"===e.source||e.value.loading||(t=e.value)},finalize:()=>{if(t)r(t);else{let e="The operation was aborted.",t="AbortError";n("undefined"!=typeof DOMException?new DOMException(e,t):Object.assign(Error(e),{name:t}))}}})}}let rF={},rj=new WeakMap;function rD(e,t){let r=e[t];"function"==typeof r&&(e[t]=function(){return rj.set(e,(rj.get(e)+1)%1e15),r.apply(this,arguments)})}let rR=new WeakMap;class rM{lastRequestId=1;cache;queryManager;id;observableQuery;incremental;constructor(e,t){let r=this.cache=e.cache,n=(rR.get(e)||0)+1;rR.set(e,n),this.id=n+"",this.observableQuery=t,this.queryManager=e,rj.has(r)||(rj.set(r,0),rD(r,"evict"),rD(r,"modify"),rD(r,"reset"))}_lastWrite;get lastWrite(){return(this.observableQuery||this)._lastWrite}set lastWrite(e){(this.observableQuery||this)._lastWrite=e}resetLastWrite(){this.lastWrite=void 0}shouldWrite(e,t){let{lastWrite:r}=this;return!(r&&r.dmCount===rj.get(this.cache)&&(0,t0.L)(t,r.variables)&&(0,t0.L)(e.data,r.result.data)&&e.extensions?.[rf]===r.result.extensions?.[rf])}get hasNext(){return!!this.incremental&&this.incremental.hasNext}maybeHandleIncrementalResult(e,t,r){let{incrementalHandler:n}=this.queryManager;return n.isIncrementalResult(t)?(this.incremental||=n.startRequest
1({query:r}),this.incremental.handle(e,t)):t}markQueryResult(e,{document:t,variables:r,errorPolicy:n,cacheWriteBehavior:i}){let o={query:t,variables:r,returnPartialData:!0,optimistic:!0};this.observableQuery?.resetNotifications();let a=0===i,s=a?void 0:this.cache.diff(o),l=this.maybeHandleIncrementalResult(s?.result,e,t);return a||(rB(l,n)?this.cache.batch({onWatchUpdated:(e,t)=>{e.watcher===this.observableQuery&&(e.lastOwnDiff=t)},update:e=>{if(this.shouldWrite(l,r))e.writeQuery({query:t,data:l.data,variables:r,overwrite:1===i,extensions:l.extensions}),this.lastWrite={result:l,variables:r,dmCount:rj.get(this.cache)};else if(s&&s.complete){l={...l,data:s.result};return}let n=e.diff(o);n.complete&&(l={...l,data:n.result})}}):this.lastWrite=void 0),l}markMutationResult(e,t,r=this.cache){let n=[],i=0===t.cacheWriteBehavior,o=this.maybeHandleIncrementalResult(i?void 0:r.diff({id:"ROOT_MUTATION",query:this.queryManager.getDocumentInfo(t.document).asQuery,variables:t.variables,optimistic:!1,returnPartialData:!0}).result,e,t.document);if("ignore"===t.errorPolicy&&(o={...o,errors:[]}),rn(o)&&"none"===t.errorPolicy)return Promise.resolve(o);let a=()=>({...o,dataState:this.hasNext?"streaming":"complete"});if(!i&&rB(o,t.errorPolicy)){n.push({result:o.data,dataId:"ROOT_MUTATION",query:t.document,variables:t.variables,extensions:o.extensions});let{updateQueries:e}=t;e&&this.queryManager.getObservableQueries("all").forEach(t=>{let r=t&&t.queryName;if(!r||!Object.hasOwnProperty.call(e,r))return;let i=e[r],{query:o,variables:s}=t,{result:l,complete:u}=t.getCacheDiff({optimistic:!1});if(u&&l){let e=i(l,{mutationResult:a(),queryName:o&&Z(o)||void 0,queryVariables:s});e&&n.push({result:e,dataId:"ROOT_QUERY",query:o,variables:s})}})}let s=t.refetchQueries;if("function"==typeof s&&(s=s(a())),n.length>0||(s||"").length>0||t.update||t.onQueryUpdated||t.removeOptimistic){let e=[];
1if(this.queryManager.refetchQueries({updateCache:e=>{i||n.forEach(t=>e.write(t));let{update:r}=t;if(r){if(!i){let r=e.diff({id:"ROOT_MUTATION",query:this.queryManager.getDocumentInfo(t.document).asQuery,variables:t.variables,optimistic:!1,returnPartialData:!0});r.complete&&(o={...o,data:r.result})}this.hasNext||r(e,o,{context:t.context,variables:t.variables})}i||t.keepRootFields||this.hasNext||e.modify({id:"ROOT_MUTATION",fields:(e,{fieldName:t,DELETE:r})=>"__typename"===t?e:r})},include:s,optimistic:!1,removeOptimistic:t.removeOptimistic,onQueryUpdated:t.onQueryUpdated||null}).forEach(t=>e.push(t)),t.awaitRefetchQueries||t.onQueryUpdated)return Promise.all(e).then(()=>o)}return Promise.resolve(o)}markMutationOptimistic(e,t){let r="function"==typeof e?e(t.variables,{IGNORE:rF}):e;return r!==rF&&(this.cache.recordOptimisticTransaction(e=>{try{this.markMutationResult({data:r},t,e)}catch(e){z.V1.error(e)}},this.id),!0)}markSubscriptionResult(e,{document:t,variables:r,errorPolicy:n,cacheWriteBehavior:i}){0!==i&&(rB(e,n)&&this.cache.write({query:t,result:e.data,dataId:"ROOT_SUBSCRIPTION",variables:r,extensions:e.extensions}),this.queryManager.broadcastQueries())}}function rB(e,t="none"){let r=!rn(e);return!r&&("ignore"===t||"all"===t)&&e.data&&(r=!0),r}class rH{defaultOptions;client;clientOptions;assumeImmutableResults;documentTransform;ssrMode;defaultContext;dataMasking;incrementalHandler;localState;queryDeduplication;prioritizeCacheValues=!1;onBroadcast;mutationStore;obsQueries=new Set;fetchCancelFns=new Map;constructor(e){let t=new e6(e=>this.cache.transformDocument(e),{cache:!1});this.client=e.client,this.defaultOptions=e.defaultOptions,this.queryDeduplication=e.queryDeduplication,this.clientOptions=e.clientOptions,this.ssrMode=e.ssrMode,this.assumeImmutableResults=e.assumeImmutableResults,this.dataMasking=e.dataMasking,this.localState=e.localState,this.incrementalHandler=e.incrementalHandler;let r=e.documentTransform;this.documentTransform=r?t.concat(r).concat(t):t,this.defaultContext=e.defaultContext||{},(this.onBroadcast=e.onBroadcast)&&(this.mutationStore={})}get link(){return this.client.link}get cache(){return this.client.cache}stop(){this.obsQueries.forEach(e=>e.stop()),this.cancelPendingFetches((0,z.vA)(89))}cancelPendingFetches(e){this.fetchCancelFns.forEach(t=>t(e)),this.fetchCancelFns.clear()}async mutate({mutation:e,variables:t,optimisticResponse:r,updateQueries:n,refetchQueries:i=[],awaitRefetchQueries:o=!1,update:a,onQueryUpdated:s,fetchPolicy:l,errorPolicy:u,keepRootFields:c,context:h}){let p=new rM(this);e=this.cache.transformForLink(this.transform(e));let{hasClientExports:f}=this.getDocumentInfo(e);t=this.getVariables(e,t),f&&(ee.g&&(0,z.V1)(this.localState,90,Z(e,"(anonymous)")),t=await this.localState.getExportedVariables({client:this.client,document:e,variables:t,context:h}));let d=this.mutationStore&&(this.mutationStore[p.id]={mutation:e,variables:t,loading:!0,error:null}),y=r&&p.markMutationOptimistic(r,{document:e,variables:t,cacheWriteBehavior:2*("no-cache"!==l),errorPolicy:u,context:h,updateQueries:n,update:a,keepRootFields:c});return this.broadcastQueries(),new Promise((f,m)=>{let g={};return this.getObservableFromLink(e,{...h,optimisticResponse:y?r:void 0},t,l,{},!1).observable.pipe(rL(),tE(r=>{let f={...r};return tA(p.markMutationResult(f,{document:e,variables:t,cacheWriteBehavior:2*("no-cache"!==l),errorPolicy:u,context:h,update:a,updateQueries:n,awaitRefetchQueries:o,refetchQueries:i,removeOptimistic:y?p.id:void 0,onQueryUpdated:s,keepRootFields:c}))})).pipe(H(e=>{if(rn(e)&&"none"===u)throw new tV(rV(e));return d&&(d.loading=!1,d.error=null),e})).subscribe({next:t=>{if(this.broadcastQueries(),!p.hasNext){let r={data:this.maskOperation({document:e,data:t.data,fetchPolicy:l,cause:g})};rn(t)&&(r.error=new tV(t)),Object.keys(t.extensions||{}).length&&(r.extensions=t.extensions),f(r)}},error:e=>(d&&(d.loading=!1,d.error=e),y&&this.cache.removeOptimistic(p.id),this.broadcastQueries(),"ignore"===u)?f({data:void 0}):"all"===u?f({data:void 0,error:e}):void m(e)})})}fetchQuery(e,t){return eE(e.query,c.cE.QUERY),(async()=>{var r,n,i;return r=this.fetchObservableWithInfo(e,{networkStatus:t}).observable.pipe(ri(e=>{switch(e.kind){case"E":throw e.error;case"N":if("newNetworkStatus"!==e.source)return ro(e.value)}})),i="object"==typeof(n={defaultValue:{data:void 0}}),new Promise(function(e,t){var o,a=!1;r.subscribe({next:function(e){o=e,a=!0},error:t,complete:function(){a?e(o):i?e(n.defaultValue):t(new tk)}})})})()}transform(e){return this.documentTransform.transformDocument(e)}transformCache=new eb(en["queryManager.getDocumentInfo"]||2e3);getDocumentInfo(e){let{transformCache:t}=this;if(!t.has(e)){let r,n=eS(e),i={hasClientExports:W(["client","export"],e,!0),hasForcedResolvers:(r=!1,q(e,{Directive:{enter(e){if("client"===e.name.value&&e.arguments&&(r=e.arguments.some(e=>"always"===e.name.value&&"BooleanValue"===e.value.kind&&!0===e.value.value)))return U}}}),r),hasNonreactiveDirective:W(["nonreactive"],e),hasIncrementalDirective:W(["defer"],e),nonReactiveQuery:q(e,{FragmentSpread:e=>{if(!e.directives?.some(e=>"unmask"===e.name.value))return{...e,directives:[...e.directives||[],{kind:G.b.DIRECTIVE,name:{kind:G.b.NAME,value:"nonreactive"}}
1]}}}),clientQuery:W(["client"],e)?e:null,serverQuery:function(e,t){var r;eE(t);let n=ru(""),i=ru(""),o=e=>{for(let t=0,r;t<e.length&&(r=e[t]);++t)if(!rs(r)){if(r.kind===G.b.OPERATION_DEFINITION)return n(r.name&&r.name.value);if(r.kind===G.b.FRAGMENT_DEFINITION)return i(r.name.value)}return z.V1.error(14),null},a=0;for(let e=t.definitions.length-1;e>=0;--e)t.definitions[e].kind===G.b.OPERATION_DEFINITION&&++a;let s=function(e){let t=new Map,r=new Map;return e.forEach(e=>{e&&(e.name?t.set(e.name,e):e.test&&r.set(e.test,e))}),e=>{let n=t.get(e.name.value);return!n&&r.size&&r.forEach((t,r)=>{r(e)&&(n=t)}),n}}(e),l=e=>rl(e)&&e.map(s).some(e=>e&&e.remove),u=new Map,c=!1,h={enter(e){if(l(e.directives))return c=!0,null}},p=q(t,{Field:h,InlineFragment:h,VariableDefinition:{enter:()=>!1},Variable:{enter(e,t,r,n,i){let a=o(i);a&&a.variables.add(e.name.value)}},FragmentSpread:{enter(e,t,r,n,i){if(l(e.directives))return c=!0,null;let a=o(i);a&&a.fragmentSpreads.add(e.name.value)}},FragmentDefinition:{enter(e,t,r,n){u.set(JSON.stringify(n),e)},leave:(e,t,r,n)=>e===u.get(JSON.stringify(n))?e:a>0&&e.selectionSet.selections.every(e=>e.kind===G.b.FIELD&&"__typename"===e.name.value)?(i(e.name.value).removed=!0,c=!0,null):void 0},Directive:{leave(e){if(s(e))return c=!0,null}}});if(!c)return t;let f=e=>(!e.transitiveVars&&(e.transitiveVars=new Set(e.variables),e.removed||e.fragmentSpreads.forEach(t=>{f(i(t)).transitiveVars.forEach(t=>{e.transitiveVars.add(t)})})),e),d=new Set;p.definitions.forEach(e=>{e.kind===G.b.OPERATION_DEFINITION?f(n(e.name&&e.name.value)).fragmentSpreads.forEach(e=>{d.add(e)}):e.kind!==G.b.FRAGMENT_DEFINITION||0!==a||i(e.name.value).removed||d.add(e.name.value)}),d.forEach(e=>{f(i(e)).fragmentSpreads.forEach(e=>{d.add(e)})});let y={enter(e){let t;if(t=e.name.value,!d.has(t)||i(t).removed)return null}};return!function e(t,r){return!t||t.selectionSet.selections.every(t=>t.kind===G.b.FRAGMENT_SPREAD&&e(r[t.name.value],r))}(eS(r=q(p,{FragmentSpread:y,FragmentDefinition:y,OperationDefinition:{leave(e){if(e.variableDefinitions){let t=f(n(e.name&&e.name.value)).transitiveVars;if(t.size<e.variableDefinitions.length)return{...e,variableDefinitions:e.variableDefinitions.filter(e=>t.has(e.variable.name.value))}}}}}))||ra(r),tQ(t$(r)))?r:null}([{name:"client",remove:!0},{name:"connection"},{name:"nonreactive"},{name:"unmask"}],e),operationType:n?.operation,defaultVars:rh(n),asQuery:{...e,definitions:e.definitions.map(e=>"OperationDefinition"===e.kind&&"query"!==e.operation?{...e,operation:"query"}:e)}};t.set(e,i)}let r=t.get(e);if(r.violation)throw r.violation;return r}getVariables(e,t){let r=this.getDocumentInfo(e).defaultVars,n=Object.entries(t??{}).map(([e,t])=>[e,void 0===t?r[e]:t]);return{...r,...Object.fromEntries(n)}}watchQuery(e){eE(e.query,c.cE.QUERY);let t=this.transform(e.query);return void 0===(e={...e,variables:this.getVariables(t,e.variables)}).notifyOnNetworkStatusChange&&(e.notifyOnNetworkStatusChange=!0),new rP({queryManager:this,options:e,transformedQuery:t})}query(e){let t=this.transform(e.query);return this.fetchQuery({...e,query:t}).then(r=>({...r,data:this.maskOperation({document:t,data:r?.data,fetchPolicy:e.fetchPolicy})}))}requestIdCounter=1;generateRequestId(){return this.requestIdCounter++}clearStore(e={discardWatches:!0}){return this.cancelPendingFetches((0,z.vA)(91)),this.obsQueries.forEach(e=>{e.reset()}),this.mutationStore&&(this.mutationStore={}),this.cache.reset(e)}getObservableQueries(e="active"){let t=new Set,r=new Map,n=new Map,i=new Set;return Array.isArray(e)&&e.forEach(e=>{if("string"==typeof e)r.set(e,e),n.set(e,!1);else if(tK(e)&&"Document"===e.kind&&Array.isArray(e.definitions)){let t=rt(this.transform(e));r.set(t,Z(e)),n.set(t,!1)}else tK(e)&&e.query&&i.add(e)}),this.obsQueries.forEach(r=>{let i=rt(this.transform(r.options.query));if("all"===e)return void t.add(r);let{queryName:o,options:{fetchPolicy:a}}=r;("active"!==e||"standby"!==a)&&("active"===e||o&&n.has(o)||i&&n.has(i))&&(t.add(r),o&&n.set(o,!0),i&&n.set(i,!0))}),i.size&&i.forEach(e=>{let r=new rP({queryManager:this,options:{...(0,e4.l)(this.defaultOptions.watchQuery,e),fetchPolicy:"network-only"}});t.add(r)}
1),ee.g&&n.size&&n.forEach((e,t)=>{if(!e){let e=r.get(t);e?ee.g&&z.V1.warn(92,e):ee.g&&z.V1.warn(93)}}),t}refetchObservableQueries(e=!1){let t=[];return this.getObservableQueries(e?"all":"active").forEach(r=>{let{fetchPolicy:n}=r.options;(e||"standby"!==n)&&"cache-only"!==n&&t.push(r.refetch())}),this.broadcastQueries(),Promise.all(t)}startGraphQLSubscription(e){let t,{query:r,variables:n}=e,{fetchPolicy:i="cache-first",errorPolicy:o="none",context:a={},extensions:s={}}=e;return eE(r,c.cE.SUBSCRIPTION),r=this.transform(r),n=this.getVariables(r,n),ee.g&&(0,z.V1)(!this.getDocumentInfo(r).hasClientExports||this.localState,94,Z(r,"(anonymous)")),Object.assign((this.getDocumentInfo(r).hasClientExports?tA(this.localState.getExportedVariables({client:this.client,document:r,variables:n,context:a})):tI(n)).pipe(tE(e=>{let{observable:n,restart:l}=this.getObservableFromLink(r,a,e,i,s),u=new rM(this);return t=l,n.pipe(H(t=>{u.markSubscriptionResult(t,{document:r,variables:e,errorPolicy:o,cacheWriteBehavior:2*("no-cache"!==i)});let n={data:t.data??void 0};if(rn(t))n.error=new tV(t);else"extensions"in t&&tU.is(t.extensions[tW])&&(n.error=t.extensions[tW],delete t.extensions[tW]);return t.extensions&&Object.keys(t.extensions).length&&(n.extensions=t.extensions),n.error&&"none"===o&&(n.data=void 0),"ignore"===o&&delete n.error,n}),t_(e=>"ignore"===o?tI({data:void 0}):tI({data:void 0,error:e})),tP(e=>!!(e.data||e.error)))})),{restart:()=>t?.()})}broadcastQueries(){this.onBroadcast&&this.onBroadcast(),this.obsQueries.forEach(e=>e.notify())}inFlightLinkObservables=new el(!1);getObservableFromLink(e,t,r,n,i,o=t?.queryDeduplication??this.queryDeduplication){let a={},{serverQuery:s,clientQuery:l,operationType:u,hasIncrementalDirective:h}=this.getDocumentInfo(e),f=Z(e),d={client:this.client};if(s){let{inFlightLinkObservables:e,link:n}=this;try{let l=this.incrementalHandler.prepareRequest({query:s,variables:r,context:{...this.defaultContext,...t,queryDeduplication:o},extensions:i});function y(e){return new Y(t=>{function r(){return e.subscribe({next:t.next.bind(t),complete:t.complete.bind(t),error:t.error.bind(t)})}let n=r();return a.restart||=()=>{n.unsubscribe(),n=r()},()=>{n.unsubscribe(),a.restart=void 0}})}if(t=l.context,o){var m;let t=rt(s),i=tD(r);(a=e.lookup(t,i)).observable||(a.observable=ex(n,l,d).pipe(y,(m=()=>{e.peek(t,i)===a&&e.remove(t,i)},p(function(e,t){try{e.subscribe(t)}finally{t.add(m)}})),u===c.cE.SUBSCRIPTION?tp():td({refCount:!0})))}else a.observable=ex(n,l,d).pipe(y)}catch(e){a.observable=tv(()=>e)}}else a.observable=tI({data:{}});if(l){let{operation:i}=eS(e);ee.g&&(0,z.V1)(this.localState,95,i[0].toUpperCase()+i.slice(1),f??"(anonymous)"),(0,z.V1)(!h,96,i[0].toUpperCase()+i.slice(1),f??"(anonymous)"),a.observable=a.observable.pipe(tE(e=>tA(this.localState.execute({client:this.client,document:l,remoteResult:e,context:t,variables:r,fetchPolicy:n}))))}return{restart:()=>a.restart?.(),observable:a.observable.pipe(t_(e=>{var t,r,n;throw n=e=null!==(r=t=e)&&"object"==typeof r&&"string"==typeof r.message&&"string"==typeof r.name&&("string"==typeof r.stack||void 0===r.stack)?t:"string"==typeof t?Error(t,{cause:t}):new tq(t),tz.add(n),e}))}}getResultsFromLink(e,{queryInfo:t,cacheWriteBehavior:r,observableQuery:n,exposeExtensions:i}){let o=t.lastRequestId=this.generateRequestId(),{errorPolicy:a}=e,l=this.cache.transformForLink(e.query);return this.getObservableFromLink(l,e.context,e.variables,e.fetchPolicy).observable.pipe(H(o=>{let u=t.markQueryResult(o,{...e,document:l,cacheWriteBehavior:r}),c=rn(u);if(c&&"none"===a)throw t.resetLastWrite(),n?.resetNotifications(),new tV(rV(u));let h={data:u.data,...t.hasNext?{loading:!0,networkStatus:s.streaming,dataState:"streaming",partial:!0}:{dataState:u.data?"complete":"empty",loading:!1,networkStatus:s.ready,partial:!u.data}};return i&&"extensions"in u&&(h[rp]=u.extensions),c&&("none"===a&&(h.data=void 0,h.dataState="empty"),"ignore"!==a&&(h.error=new tV(rV(u)),"streaming"!==h.dataState&&(h.networkStatus=s.error))),h}),t_(e=>{if(o>=t.lastRequestId&&"none"===a)throw t.resetLastWrite(),n?.resetNotifications(),e;let r={data:void 0,dataState:"empty",loading:!1,networkStatus:s.ready,partial:!0};return"ignore"!==a&&(r.error=e,r.networkStatus=s.error),tI(r)}))}fetchObservableWithInfo(e,{networkStatus:t=s.loading,query:r=e.query,fetchQueryOperator:n=e=>e,onCacheHit:i=()=>{},observableQuery:o,exposeExtensions:a}){let l,u,c=this.getVariables(r,e.variables),{fetchPolicy:h="cache-first",errorPolicy:p="none",returnPartialData:f=!1,notifyOnNetworkStatusChange:d=!0,context:y={}}=e;this.prioritizeCacheValues&&("network-only"===h||"cache-and-network"===h)&&(h="cache-first");let m=Object.assign({},e,{query:r,variables:c,fetchPolicy:h,errorPolicy:p,returnPartialData:f,notifyOnNetworkStatusChange:d,context:y}),g=new rM(this,o),b=r=>{m.variables=r;let l="no-cache"===h?0:t===s.refetch&&"merge"!==m.refetchWritePolicy?1:2,u=this.fetchQueryByPolicy(m,{queryInfo:g,cacheWriteBehavior:l,onCacheHit:i,observableQuery:o,exposeExtensions:a});return u.observable=u.observable.pipe(n),"standby"!==m.fetchPolicy&&o?.applyNextFetchPolicy("after-fetch",e),u},v=()=>{this.fetchCancelFns.delete(g.id)};this.fetchCancelFns.set(g.id,e=>{w.next({kind:"E",error:e,source:"network"})});let w=new e8;if(this.getDocumentInfo(m.query).hasClientExports)ee.g&&(0,z.V1)(this.localState,97,Z(m.query,"(anonymous)")),l=tA(this.localState.getExportedVariables({client:this.client,document:m.query,variables:m.variables,context:m.context})).pipe(tE(e=>b(e).observable)),u=!0;else{let e=b(m.variables);u=e.fromLink,l=e.observable}return{observable:new Y(e=>{e.add(v),l.subscribe(e),w.subscribe(e)}).pipe(tp()),fromLink:u}}refetchQueries({updateCache:e,include:t,optimistic:r=!1,removeOptimistic:n=r?(0,ry.v)("refetchQueries"):void 0,onQueryUpdated:i}){let o=new Map;
1t&&this.getObservableQueries(t).forEach(e=>{if("cache-only"===e.options.fetchPolicy||e.variablesUnknown)return;let t=e.getCurrentResult();o.set(e,{oq:e,lastDiff:{result:t?.data,complete:!t?.partial}})});let a=new Map;if(e){let t=new Set;this.cache.batch({update:e,optimistic:r&&n||!1,removeOptimistic:n,onWatchUpdated(e,r,n){let s=e.watcher;if(s instanceof rP&&!t.has(s)){if(t.add(s),i){o.delete(s);let e=i(s,r,n);return!0===e&&(e=s.refetch().retain()),!1!==e&&a.set(s,e),e}null!==i&&"cache-only"!==s.options.fetchPolicy&&o.set(s,{oq:s,lastDiff:n,diff:r})}}})}return o.size&&o.forEach(({oq:e,lastDiff:t,diff:r})=>{let n;i&&(r||(r=e.getCacheDiff()),n=i(e,r,t)),i&&!0!==n||(n=e.refetch().retain()),!1!==n&&a.set(e,n)}),n&&this.cache.removeOptimistic(n),a}noCacheWarningsByCause=new WeakSet;maskOperation(e){let{document:t,data:r}=e;if(ee.g){let r,{fetchPolicy:n,cause:i={}}=e,o=eS(t)?.operation;this.dataMasking&&"no-cache"===n&&(r=!0,q(t,{FragmentSpread:e=>{if(!(r=!!e.directives&&e.directives.some(e=>"unmask"===e.name.value)))return U}}),!r)&&!this.noCacheWarningsByCause.has(i)&&(this.noCacheWarningsByCause.add(i),ee.g&&z.V1.warn(98,Z(t,`Unnamed ${o??"operation"}`)))}return this.dataMasking?function(e,t,r){let n=eS(t);return((0,z.V1)(n,43),null==e)?e:tZ(e,n.selectionSet,{operationType:n.operation,operationName:n.name?.value,fragmentMap:tQ(t$(t)),cache:r,mutableTargets:new WeakMap,knownChanged:new WeakSet})}(r,t,this.cache):r}maskFragment(e){let{data:t,fragment:r,fragmentName:n}=e;return this.dataMasking?function(e,t,r,n){let i=t.definitions.filter(e=>e.kind===G.b.FRAGMENT_DEFINITION);void 0===n&&((0,z.V1)(1===i.length,41,i.length),n=i[0].name.value);let o=i.find(e=>e.name.value===n);return((0,z.V1)(!!o,42,n),null==e||(0,t0.L)(e,{}))?e:tZ(e,o.selectionSet,{operationType:"fragment",operationName:o.name.value,fragmentMap:tQ(t$(t)),cache:r,mutableTargets:new WeakMap,knownChanged:new WeakSet})}(t,r,this.cache,n):t}fetchQueryByPolicy({query:e,variables:t,fetchPolicy:r,errorPolicy:n,returnPartialData:i,context:o},{cacheWriteBehavior:a,onCacheHit:l,queryInfo:u,observableQuery:c,exposeExtensions:h}){let f=()=>this.cache.diff({query:e,variables:t,returnPartialData:!0,optimistic:!0}),d=(a,u)=>{var c;let h=a.result;ee.g&&!i&&null!==h&&(c=a.missing,ee.g&&c&&ee.g&&z.V1.debug(88,c));let p=e=>(a.complete||i||(e=void 0),{data:e,dataState:a.complete?"complete":e?"partial":"empty",loading:!rr(u),networkStatus:u,partial:!a.complete}),f=e=>tI({kind:"N",value:p(e),source:"cache"});return(a.complete||i)&&this.getDocumentInfo(e).hasForcedResolvers?(ee.g&&(0,z.V1)(this.localState,99,Z(e,"(anonymous)")),l(),tA(this.localState.execute({client:this.client,document:e,remoteResult:h?{data:h}:void 0,context:o,variables:t,onlyRunForcedResolvers:!0,returnPartialData:!0,fetchPolicy:r}).then(e=>({kind:"N",value:p(e.data||void 0),source:"cache"})))):f("none"===n&&u===s.refetch&&a.missing?void 0:h||void 0)},y=()=>this.getResultsFromLink({query:e,variables:t,context:o,fetchPolicy:r,errorPolicy:n},{cacheWriteBehavior:a,queryInfo:u,observableQuery:c,exposeExtensions:h}).pipe(rL(),p(function(e,t){e.subscribe(M(t,function(e){t.next(tC.createNext(e))},function(){t.next(tC.createComplete()),t.complete()},function(e){t.next(tC.createError(e)),t.complete()}))}),H(e=>({...e,source:"network"})));switch(r){default:case"cache-first":{let e=f();if(e.complete)return{fromLink:!1,observable:d(e,s.ready)};if(i)return{fromLink:!0,observable:tN(d(e,s.loading),y())};return{fromLink:!0,observable:y()}}case"cache-and-network":{let e=f();if(e.complete||i)return{fromLink:!0,observable:tN(d(e,s.loading),y())};return{fromLink:!0,observable:y()}}case"cache-only":return{fromLink:!1,observable:tN(d(f(),s.ready))};case"network-only":case"no-cache":return{fromLink:!0,observable:y()};case"standby":return{fromLink:!1,observable:X}}}}function rL(){let e=!1;return tF({next(){e=!0},complete(){(0,z.V1)(e,100)}})}function rV(e){if(e.extensions?.[rf]==null)return e;let{extensions:{[rf]:t,...r},...n}=e;return Object.keys(r).length>0&&(n.extensions=r),n}let rG=!1;class rU{link;cache;disableNetworkFetches;set prioritizeCacheValues(e){this.queryManager.prioritizeCacheValues=e}get prioritizeCacheValues(){return this.queryManager.prioritizeCacheValues}version;queryDeduplication;defaultOptions;devtoolsConfig;refetchEventManager;queryManager;devToolsHookCb;resetStoreCallbacks=[];clearStoreCallbacks=[];constructor(e){ee.g&&((0,z.V1)(e.cache,68),(0,z.V1)(e.link,69));let{cache:t,documentTransform:r,ssrMode:n=!1,ssrForceFetchDelay:i=0,queryDeduplication:o=!0,defaultOptions:a,defaultContext:s,assumeImmutableResults:l=t.assumeImmutableResults,localState:u,devtools:c,dataMasking:h,link:p,incrementalHandler:f=new Q,experiments:d=[],refetchEventManager:y}=e;this.link=p,this.cache=t,this.queryDeduplication=o,this.defaultOptions=a||{},this.devtoolsConfig={...c,enabled:c?.enabled??ee.g},this.watchQuery=this.watchQuery.bind(this),this.query=this.query.bind(this),this.mutate=this.mutate.bind(this),this.watchFragment=this.watchFragment.bind(this),this.resetStore=this.resetStore.bind(this),this.reFetchObservableQueries=this.refetchObservableQueries=this.refetchObservableQueries.bind(this),this.version=tb.r,this.queryManager=new rH({client:this,defaultOptions:this.defaultOptions,defaultContext:s,documentTransform:r,queryDeduplication:o,ssrMode:n,dataMasking:!!h,clientOptions:e,incrementalHandler:f,assumeImmutableResults:l,onBroadcast:this.devtoolsConfig.enabled?()=>{this.devToolsHookCb&&this.devToolsHookCb()}:void 0,localState:u}),this.prioritizeCacheValues=n||i>0,i&&setTimeout(()=>{this.prioritizeCacheValues=!1},i),this.devtoolsConfig.enabled&&this.connectToDevTools(),d.forEach(t=>t.call(this,e)),this.refetchEventManager=y,this.refetchEventManager?.connect(this)}connectToDevTools(){if("undefined"==typeof window)return;let e=window,t=Symbol.for("apollo.devtools");(e[t]=e[t]||[]).push(this),e.__APOLLO_CLIENT__=this,!rG&&ee.g&&(rG=!0,window.document&&window.top===window.self&&/^(https?|file):$/.test(window.location.protocol)&&setTimeout(()=>{if(!window.__APOLLO_DEVTOOLS_GLOBAL_HOOK__){let e,t=window.navigator,r=t&&t.userAgent;"string"==typeof r&&(r.indexOf("Chrome/")>-1?e="https://chrome.google.com/webstore/detail/apollo-client-developer-t/jdkknkkbebbapilgoeccciglkfbmbnfm":r.indexOf("Firefox/")>-1&&(e="https://addons.mozilla.org/en-US/firefox/addon/apollo-developer-tools/")),e&&ee.g&&z.V1.log("Download the Apollo DevTools for a better development experience: %s",e)}},1e4))}get documentTransform(){return this.queryManager.documentTransform}get localState(){return this.queryManager.localState}set localState(e){this.queryManager.localState=e}stop(){this.queryManager.stop(),this.refetchEventManager?.disconnect(this)}watchQuery(e){let{refetchOn:t}=e;if(this.defaultOptions.watchQuery){let r,n=this.defaultOptions.watchQuery.refetchOn;t&&"object"==typeof t&&("object"==typeof n?r={...n,...t}:null!=n&&(r=e=>{let r=t[e.source]??n;return"function"==typeof r?r(e):r})),e=(0,e4.l)(this.defaultOptions.watchQuery,e),r&&(e.refetchOn=r)}if(ee.g){let{query:r}=e,{refetchEventManager:n}=this;if(t){let e=Z(r,"(anonymous)");n?"object"==typeof t&&Object.keys(t).forEach(t=>{!n.hasSource(t)&&ee.g&&z.V1.warn(71,t,e)}):ee.g&&z.V1.warn(70,e)}}return this.queryManager.watchQuery(e)}query=e=>(this.defaultOptions.query&&(e=(0,e4.l)(this.defaultOptions.query,e)),ee.g&&((0,z.V1)("cache-and-network"!==e.fetchPolicy,72),(0,z.V1)("standby"!==e.fetchPolicy,73),(0,z.V1)(e.query,74),(0,z.V1)("Document"===e.query.kind,75),(0,z.V1)(!e.returnPartialData,76),(0,z.V1)(!e.pollInterval,77),(0,z.V1)(!e.notifyOnNetworkStatusChange,78)),this.queryManager.query(e));mutate=e=>{let t=(0,e4.l)((0,e9.o)({fetchPolicy:"network-only",errorPolicy:"none"},this.defaultOptions.mutate),e);return ee.g&&((0,z.V1)(t.mutation,79),(0,z.V1)("network-only"===t.fetchPolicy||"no-cache"===t.fetchPolicy,80)),eE(t.mutation,c.cE.MUTATION),this.queryManager.mutate(t)};subscribe(e){let t={},r=this.queryManager.startGraphQLSubscription(e);return Object.assign(r.pipe(H(r=>({...r,data:this.queryManager.maskOperation({document:e.query,data:r.data,fetchPolicy:e.fetchPolicy,cause:t})}))),{restart:r.restart})}readQuery(e,t=!1){return this.cache.readQuery({...e,query:this.transform(e.query)},t)}watchFragment(e){let t=this.queryManager.dataMasking,r=this.cache.watchFragment({...e,fragment:this.transform(e.fragment,t)});return ee.g?ty(r,Symbol.for("apollo.transform.dev.mask"),t=>({...t,data:this.queryManager.maskFragment({...e,data:t.data})})):r}
1readFragment(e,t=!1){return this.cache.readFragment({...e,fragment:this.transform(e.fragment)},t)}writeQuery(e){let t=this.cache.writeQuery(e);return!1!==e.broadcast&&this.queryManager.broadcastQueries(),t}writeFragment(e){let t=this.cache.writeFragment(e);return!1!==e.broadcast&&this.queryManager.broadcastQueries(),t}__actionHookForDevTools(e){this.devToolsHookCb=e}__requestRaw(e){return ex(this.link,e,{client:this})}resetStore(){return Promise.resolve().then(()=>this.queryManager.clearStore({discardWatches:!1})).then(()=>Promise.all(this.resetStoreCallbacks.map(e=>e()))).then(()=>this.refetchObservableQueries())}clearStore(){return Promise.resolve().then(()=>this.queryManager.clearStore({discardWatches:!0})).then(()=>Promise.all(this.clearStoreCallbacks.map(e=>e())))}onResetStore(e){return this.resetStoreCallbacks.push(e),()=>{this.resetStoreCallbacks=this.resetStoreCallbacks.filter(t=>t!==e)}}onClearStore(e){return this.clearStoreCallbacks.push(e),()=>{this.clearStoreCallbacks=this.clearStoreCallbacks.filter(t=>t!==e)}}reFetchObservableQueries;refetchObservableQueries(e){return this.queryManager.refetchObservableQueries(e)}refetchQueries(e){let t=this.queryManager.refetchQueries(e),r=[],n=[];t.forEach((e,t)=>{r.push(t),n.push(e)});let i=Promise.all(n);return i.queries=r,i.results=n,i.catch(e=>{ee.g&&z.V1.debug(81,e)}),i}getObservableQueries(e="active"){return this.queryManager.getObservableQueries(e)}extract(e){return this.cache.extract(e)}restore(e){return this.cache.restore(e)}setLink(e){this.link=e}get defaultContext(){return this.queryManager.defaultContext}maskedFragmentTransform=new e6(tm);transform(e,t=!1){let r=this.queryManager.transform(e);return t?this.maskedFragmentTransform.transformDocument(r):r}}ee.g&&(rU.prototype.getMemoryInternals=tg);let rq={kind:G.b.FIELD,name:{kind:G.b.NAME,value:"__typename"}},rW=Object.assign(function(e){return q(e,{SelectionSet:{enter(e,t,r){if(r&&r.kind===G.b.OPERATION_DEFINITION)return;let{selections:n}=e;if(!(!n||n.some(e=>e.kind===G.b.FIELD&&("__typename"===e.name.value||0===e.name.value.lastIndexOf("__",0))))&&!(r.kind===G.b.FIELD&&r.directives&&r.directives.some(e=>"export"===e.name.value)))return{...e,selections:[...n,rq]}}}})},{added:e=>e===rq});function rz(e){return!!(e&&"object"==typeof e&&"string"==typeof e.__ref)}function rQ(e,t){return e===t}var r$=function(e){function t(t,r){return e.call(this)||this}return(0,f.C6)(t,e),t.prototype.schedule=function(e,t){return void 0===t&&(t=0),this},t}(g),rK={setInterval:function(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var i=rK.delegate;return(null==i?void 0:i.setInterval)?i.setInterval.apply(i,(0,f.fX)([e,t],(0,f.zs)(r))):setInterval.apply(void 0,(0,f.fX)([e,t],(0,f.zs)(r)))},clearInterval:function(e){var t=rK.delegate;return((null==t?void 0:t.clearInterval)||clearInterval)(e)},delegate:void 0},rY=function(e){function t(t,r){var n=e.call(this,t,r)||this;
1return n.scheduler=t,n.work=r,n.pending=!1,n}return(0,f.C6)(t,e),t.prototype.schedule=function(e,t){if(void 0===t&&(t=0),this.closed)return this;this.state=e;var r,n=this.id,i=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(i,n,t)),this.pending=!0,this.delay=t,this.id=null!=(r=this.id)?r:this.requestAsyncId(i,this.id,t),this},t.prototype.requestAsyncId=function(e,t,r){return void 0===r&&(r=0),rK.setInterval(e.flush.bind(e,this),r)},t.prototype.recycleAsyncId=function(e,t,r){if(void 0===r&&(r=0),null!=r&&this.delay===r&&!1===this.pending)return t;null!=t&&rK.clearInterval(t)},t.prototype.execute=function(e,t){if(this.closed)return Error("executing a cancelled action");this.pending=!1;var r=this._execute(e,t);if(r)return r;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},t.prototype._execute=function(e,t){var r,n=!1;try{this.work(e)}catch(e){n=!0,r=e||Error("Scheduled action threw falsy error")}if(n)return this.unsubscribe(),r},t.prototype.unsubscribe=function(){if(!this.closed){var t=this.id,r=this.scheduler,n=r.actions;this.work=this.state=this.scheduler=null,this.pending=!1,m(n,this),null!=t&&(this.id=this.recycleAsyncId(r,t,null)),this.delay=null,e.prototype.unsubscribe.call(this)}},t}(r$),rJ=function(){function e(t,r){void 0===r&&(r=e.now),this.schedulerActionCtor=t,this.now=r}return e.prototype.schedule=function(e,t,r){return void 0===t&&(t=0),new this.schedulerActionCtor(this,e).schedule(r,t)},e.now=te.now,e}(),rX=new(function(e){function t(t,r){void 0===r&&(r=rJ.now);var n=e.call(this,t,r)||this;return n.actions=[],n._active=!1,n}return(0,f.C6)(t,e),t.prototype.flush=function(e){var t,r=this.actions;if(this._active)return void r.push(e);this._active=!0;do if(t=e.execute(e.state,e.delay))break;while(e=r.shift());if(this._active=!1,t){for(;e=r.shift();)e.unsubscribe();throw t}},t}(rJ))(rY);function rZ(e,t){let r=t,n=[];return e.definitions.forEach(e=>{if("OperationDefinition"===e.kind)throw(0,z.vA)(10,e.operation,e.name?` named '${e.name.value}'`:"");"FragmentDefinition"===e.kind&&n.push(e)}),void 0===r&&((0,z.V1)(1===n.length,11,n.length),r=n[0].name.value),{...e,definitions:[{kind:"OperationDefinition",operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:r}}]}},...e.definitions]}}class r0{assumeImmutableResults=!1;lookupFragment(e){return null}batch(e){let t,r="string"==typeof e.optimistic?e.optimistic:!1===e.optimistic?null:void 0;return this.performTransaction(()=>t=e.update(this),r),t}recordOptimisticTransaction(e,t){this.performTransaction(e,t)}transformDocument(e){return e}transformForLink(e){return e}identify(e){}gc(){return[]}modify(e){return!1}readQuery(e,t=!!e.optimistic){return this.read({...e,rootId:e.id||"ROOT_QUERY",optimistic:t})}fragmentWatches=new el(!0);watchFragment(e){let t,{fragment:r,fragmentName:n,from:i}=e,o=this.getFragmentDoc(r,n),a=(Array.isArray(i)?i:[i]).map(e=>{let t=null==e?e:this.toCacheId(e);if(ee.g){let e=n||ra(r).name.value;void 0===t&&ee.g&&z.V1.warn(118,e)}return t});if(!Array.isArray(i)){let t=this.watchSingleFragment(a[0],o,e);return null===i?t:ty(t,Symbol.for("apollo.transform.individualResult"),e=>({...e,data:e.data??{}}))}function s(e){let r=e.reduce((e,t,r)=>(e.data.push(t.data),e.complete&&=t.complete,e.dataState=e.complete?"complete":"partial",t.missing&&(e.missing||={},e.missing[r]=t.missing),e),{data:[],dataState:"complete",complete:!0});return(0,t0.L)(t,r)||(t=r),t}if(0===a.length)return r6;let l=!1,u=a.map(t=>this.watchSingleFragment(t,o,e));return Object.assign((0===u.length?X:new Y(e=>{let t,{length:r}=u,n=Array(r),i=new Map;u.forEach((e,t)=>{i.has(e)||i.set(e,new Set),i.get(e).add(t)});let o=i.size,a=i.size;i.forEach((r,i)=>{let s=!1,l=i.subscribe({next:o=>{r.forEach(e=>n[e]=o),!s&&(s=!0,a--),!a&&((t||=new Set(u.filter(e=>e.dirty))).delete(i),t.size||(e.next(n.slice()),t=void 0))},complete:()=>{--o||e.complete()},error:e.error.bind(e)});e.add(l)})})).pipe(H(s),tF({subscribe:()=>l=!0,unsubscribe:()=>l=!1}),td({bufferSize:1,refCount:!0})),{getCurrentResult:()=>l&&t?t:s(u.map(e=>e.getCurrentResult()))})}onAfterBroadcast=e=>e();watchSingleFragment(e,t,r){if(null===e)return r2;let{optimistic:n=!0,variables:i}=r,o=[t,tD({id:e,optimistic:n,variables:i})],a=this.fragmentWatches.lookupArray(o);if(!a.observable){var s,l;let c,h=!1;function u(e){let n=e.result;return c&&rE(t,{data:c.data},{data:n},r.variables)||(c={data:n,dataState:e.complete?"complete":"partial",complete:e.complete},e.missing&&(c.missing=e.missing.missing)),c}let f=new Y(r=>{h=!0;let a=this.watch({variables:i,returnPartialData:!0,id:e,query:t,optimistic:n,immediate:!0,callback:e=>{f.dirty=!0,this.onAfterBroadcast(()=>{r.next(u(e)),f.dirty=!1})}});return()=>{h=!1,a(),this.fragmentWatches.removeArray(o)}}).pipe((void 0===l&&(l=K),s=null!=s?s:rQ,p(function(e,t){var r,n=!0;e.subscribe(M(t,function(e){var i=l(e);(n||!s(r,i))&&(n=!1,r=i,t.next(e))}))})),tp({connector:()=>new tt(1),resetOnRefCountZero:()=>{var e;return void 0===e&&(e=rX),new Y(function(t){var r=0;r<0&&(r=0);var n=0;return e.schedule(function(){t.closed||(t.next(n++),t.complete())},r)})}}));a.observable=Object.assign(f,{dirty:!1,getCurrentResult:()=>h&&c?c:u(this.diff({id:e,query:t,returnPartialData:!0,optimistic:n,variables:i}))})}return a.observable}getFragmentDoc=e2(rZ,{max:en["cache.fragmentQueryDocuments"]||1e3,cache:ef,makeCacheKey:function(...e){return e0.bind(null,...e)}(this)});
1readFragment(e,t=!!e.optimistic){let r=void 0!==e.from?this.toCacheId(e.from):e.id;return this.read({...e,query:this.getFragmentDoc(e.fragment,e.fragmentName),rootId:r,optimistic:t})}writeQuery({id:e,data:t,...r}){return this.write(Object.assign(r,{dataId:e||"ROOT_QUERY",result:t}))}writeFragment({data:e,fragment:t,fragmentName:r,...n}){let i=void 0!==n.from?this.toCacheId(n.from):n.id;return this.write(Object.assign(n,{query:this.getFragmentDoc(t,r),dataId:i,result:e}))}updateQuery(e,t){return this.batch({update(r){let n=r.readQuery(e),i=t(n);return null==i?n:(r.writeQuery({...e,data:i}),i)}})}updateFragment(e,t){return this.batch({update(r){let n=r.readFragment(e),i=t(n);return null==i?n:(r.writeFragment({...e,data:i}),i)}})}toCacheId(e){return"string"==typeof e?e:this.identify(e)}}ee.g&&(r0.prototype.getMemoryInternals=tg);let r1=Object.freeze({data:null,dataState:"complete",complete:!0}),r2=Object.assign(new Y(e=>{e.next(r1)}),{dirty:!1,getCurrentResult:()=>r1}),r5=Object.freeze({data:[],dataState:"complete",complete:!0}),r6=Object.assign(new Y(e=>{e.next(r5)}),{getCurrentResult:()=>r5}),{hasOwnProperty:r4}=Object.prototype,r9=function(e,t,r){return this.merge(e[r],t[r])},r3=e=>isNaN(+e)?{}:[];class r8{options;reconciler;constructor(e={}){this.options=e,this.reconciler=e.reconciler||r9}merge(e,t,r={}){let n=r.atPath;if(n?.length){let[i,...o]=n;void 0===e&&(e=r3(i));let a=e[i];void 0===a&&o.length&&(a=r3(o[0]));let s=this.merge(a,t,{...r,atPath:o});return a!==s&&((e=this.shallowCopyForMerge(e))[i]=s),e}return(Array.isArray(e)&&Array.isArray(t)&&"truncate"===this.options.arrayMerge&&e.length>t.length&&(e=e.slice(0,t.length),this.pastCopies.add(e)),tK(t)&&tK(e))?(Object.keys(t).forEach(r=>{if(r4.call(e,r)){let n=e[r];if(t[r]!==n){let i=this.reconciler(e,t,r);i!==n&&((e=this.shallowCopyForMerge(e))[r]=i)}}else(e=this.shallowCopyForMerge(e))[r]=t[r]}),e):t}isObject=tK;pastCopies=new Set;shallowCopyForMerge(e){return tK(e)&&!this.pastCopies.has(e)&&(e=Array.isArray(e)?e.slice(0):{__proto__:Object.getPrototypeOf(e),...e},this.pastCopies.add(e)),e}}function r7(e){return{__ref:String(e)}}let{hasOwnProperty:ne}=Object.prototype;function nt({__typename:e,id:t,_id:r},n){if("string"==typeof e&&(n&&(n.keyObject=null!=t?{id:t}:null!=r?{_id:r}:void 0),null==t&&null!=r&&(t=r),null!=t))return`${e}:${"number"==typeof t||"string"==typeof t?t:JSON.stringify(t)}`}let nr={dataIdFromObject:nt,resultCaching:!0},nn=/^[_a-z][_0-9a-z]*/i;function ni(e){let t=e.match(nn);return t?t[0]:e}function no(e){return tK(e)&&!rz(e)&&!rs(e)}function na(e,t){let r=tQ(t$(e));return{fragmentMap:r,lookupFragment(e){let n=r[e];return!n&&t&&(n=t.lookup(e)),n||null}}}let ns={},nl=()=>ns,nu={};class nc{policies;group;data={};constructor(e,t){this.policies=e,this.group=t}toObject(){return{...this.data}}has(e){return void 0!==this.lookup(e,!0)}get(e,t){if(this.group.depend(e,t),ne.call(this.data,e)){let r=this.data[e];if(r&&ne.call(r,t))return r[t]}return"__typename"===t&&ne.call(this.policies.rootTypenamesById,e)?this.policies.rootTypenamesById[e]:this instanceof nd?this.parent.get(e,t):void 0}lookup(e,t){return(t&&this.group.depend(e,"__exists"),ne.call(this.data,e))?this.data[e]:this instanceof nd?this.parent.lookup(e,t):this.policies.rootTypenamesById[e]?{}:void 0}merge(e,t){let r;rz(e)&&(e=e.__ref),rz(t)&&(t=t.__ref);let n="string"==typeof e?this.lookup(r=e):e,i="string"==typeof t?this.lookup(r=t):t;if(!i)return;(0,z.V1)("string"==typeof r,104);let o=new r8({reconciler:nm}).merge(n,i);if(this.data[r]=o,o!==n&&(delete this.refs[r],this.group.caching)){let e={};
1n||(e.__exists=1),Object.keys(i).forEach(t=>{if(!n||n[t]!==o[t]){e[t]=1;let r=ni(t);r===t||this.policies.hasKeyArgs(o.__typename,r)||(e[r]=1),void 0!==o[t]||this instanceof nd||delete o[t]}}),e.__typename&&!(n&&n.__typename)&&this.policies.rootTypenamesById[r]===o.__typename&&delete e.__typename,Object.keys(e).forEach(e=>this.group.dirty(r,e))}}modify(e,t,r){let n=this.lookup(e);if(n){let i={},o=!1,a=!0,s={DELETE:ns,INVALIDATE:nu,isReference:rz,toReference:this.toReference,canRead:this.canRead,readField:(t,r)=>this.policies.readField("string"==typeof t?{fieldName:t,from:r||r7(e)}:t,{store:this})};if(Object.keys(n).forEach(l=>{let u=ni(l),c=n[l];if(void 0===c)return;let h="function"==typeof t?t:t[l]||(r?void 0:t[u]);if(h){let t=h===nl?ns:h(tY(c),{...s,fieldName:u,storeFieldName:l,storage:this.getStorage(e,l)});if(t===nu)this.group.dirty(e,l);else if(t===ns&&(t=void 0),t!==c&&(i[l]=t,o=!0,c=t,ee.g)){let e=e=>{if(void 0===this.lookup(e.__ref))return ee.g&&z.V1.warn(105,e),!0};if(rz(t))e(t);else if(Array.isArray(t)){let r,n=!1;for(let i of t){if(rz(i)){if(n=!0,e(i))break}else if("object"==typeof i&&i){let[e]=this.policies.identify(i);e&&(r=i)}if(n&&void 0!==r){ee.g&&z.V1.warn(106,r);break}}}}}void 0!==c&&(a=!1)}),o)return this.merge(e,i),a&&(this instanceof nd?this.data[e]=void 0:delete this.data[e],this.group.dirty(e,"__exists")),!0}return!1}delete(e,t,r){let n=this.lookup(e);if(n){let i=this.getFieldValue(n,"__typename"),o=t&&r?this.policies.getStoreFieldName({typename:i,fieldName:t,args:r}):t;return this.modify(e,o?{[o]:nl}:nl,!!r)}return!1}evict(e,t){let r=!1;return e.id&&(ne.call(this.data,e.id)&&(r=this.delete(e.id,e.fieldName,e.args)),this instanceof nd&&this!==t&&(r=this.parent.evict(e,t)||r),(e.fieldName||r)&&this.group.dirty(e.id,e.fieldName||"__exists")),r}clear(){this.replace(null)}extract(){let e=this.toObject(),t=[];return this.getRootIdSet().forEach(e=>{ne.call(this.policies.rootTypenamesById,e)||t.push(e)}),t.length&&(e.__META={extraRootIds:t.sort()}),e}replace(e){if(Object.keys(this.data).forEach(t=>{e&&ne.call(e,t)||this.delete(t)}),e){let{__META:t,...r}=e;Object.keys(r).forEach(e=>{this.merge(e,r[e])}),t&&t.extraRootIds.forEach(this.retain,this)}}rootIds={};retain(e){return this.rootIds[e]=(this.rootIds[e]||0)+1}release(e){if(this.rootIds[e]>0){let t=--this.rootIds[e];return t||delete this.rootIds[e],t}return 0}getRootIdSet(e=new Set){return Object.keys(this.rootIds).forEach(e.add,e),this instanceof nd?this.parent.getRootIdSet(e):Object.keys(this.policies.rootTypenamesById).forEach(e.add,e),e}gc(){let e=this.getRootIdSet(),t=this.toObject();e.forEach(r=>{ne.call(t,r)&&(Object.keys(this.findChildRefIds(r)).forEach(e.add,e),delete t[r])});let r=Object.keys(t);if(r.length){let e=this;for(;e instanceof nd;)e=e.parent;r.forEach(t=>e.delete(t))}return r}refs={};findChildRefIds(e){if(!ne.call(this.refs,e)){let t=this.refs[e]={},r=this.data[e];if(!r)return t;let n=new Set([r]);n.forEach(e=>{rz(e)&&(t[e.__ref]=!0),tK(e)&&Object.keys(e).forEach(t=>{let r=e[t];tK(r)&&n.add(r)})})}return this.refs[e]}makeCacheKey(){return this.group.keyMaker.lookupArray(arguments)}getFieldValue=(e,t)=>tY(rz(e)?this.get(e.__ref,t):e&&e[t]);canRead=e=>rz(e)?this.has(e.__ref):"object"==typeof e;toReference=(e,t)=>{if("string"==typeof e)return r7(e);if(rz(e))return e;let[r]=this.policies.identify(e);if(r){let n=r7(r);return t&&this.merge(r,e),n}};get supportsResultCaching(){return this.group.caching}}class nh{caching;parent;d=null;keyMaker;constructor(e,t=null){this.caching=e,this.parent=t,this.resetCaching()}resetCaching(){this.d=this.caching?eZ():null,this.keyMaker=new el}depend(e,t){if(this.d){this.d(t+"#"+e);let r=ni(t);r!==t&&this.d(r+"#"+e),this.parent&&this.parent.depend(e,t)}}dirty(e,t){this.d&&this.d.dirty(t+"#"+e,"__exists"===t?"forget":"setDirty")}}function np(e,t){ng(e)&&e.group.depend(t,"__exists")}class nf extends nc{constructor({policies:e,resultCaching:t=!0,seed:r}){super(e,new nh(t)),r&&this.replace(r)}stump=new ny(this);addLayer(e,t){return this.stump.addLayer(e,t)}removeLayer(){return this}storageTrie=new el;getStorage(){return this.storageTrie.lookupArray(arguments)}}nc.Root=nf;class nd extends nc{id;parent;replay;group;constructor(e,t,r,n){super(t.policies,n),this.id=e,this.parent=t,this.replay=r,this.group=n,r(this)}addLayer(e,t){return new nd(e,this,t,this.group)}removeLayer(e){let t=this.parent.removeLayer(e);return e===this.id?(this.group.caching&&Object.keys(this.data).forEac
1h(e=>{let r=this.data[e],n=t.lookup(e);n?r?r!==n&&Object.keys(r).forEach(t=>{(0,t0.L)(r[t],n[t])||this.group.dirty(e,t)}):(this.group.dirty(e,"__exists"),Object.keys(n).forEach(t=>{this.group.dirty(e,t)})):this.delete(e)}),t):t===this.parent?this:t.addLayer(this.id,this.replay)}toObject(){return{...this.parent.toObject(),...this.data}}findChildRefIds(e){let t=this.parent.findChildRefIds(e);return ne.call(this.data,e)?{...t,...super.findChildRefIds(e)}:t}getStorage(...e){let t=this.parent;for(;t.parent;)t=t.parent;return t.getStorage(...e)}}class ny extends nd{constructor(e){super("EntityStore.Stump",e,()=>{},new nh(e.group.caching,e.group))}removeLayer(){return this}merge(e,t){return this.parent.merge(e,t)}}function nm(e,t,r){let n=e[r],i=t[r];return(0,t0.L)(n,i)?n:i}function ng(e){return!!(e&&e.supportsResultCaching)}function nb(e,t){if(e.arguments&&e.arguments.length){let r={};return e.arguments.forEach(({name:e,value:n})=>rc(r,e,n,t)),r}return null}let nv=["connection","include","skip","client","rest","export","nonreactive","stream"],nw=tD,nE=Object.assign(function(e,t,r){if(t&&r&&r.connection&&r.connection.key){if(r.connection.filter&&r.connection.filter.length>0){let e=r.connection.filter?r.connection.filter:[];e.sort();let n={};e.forEach(e=>{n[e]=t[e]});let i=nw(n);if("{}"!==i)return`${r.connection.key}(${i})`}return r.connection.key}let n=e;if(t){let e=nw(t);"{}"!==e&&(n+=`(${e})`)}return r&&Object.keys(r).forEach(e=>{-1===nv.indexOf(e)&&(r[e]&&Object.keys(r[e]).length?n+=`@${e}(${nw(r[e])})`:n+=`@${e}`)}),n},{setStringify(e){let t=nw;return nw=e,t}});var nS=r(77461);let nO={};function nx(e){let t=JSON.stringify(e);return nO[t]||(nO[t]={})}function nA(e){let t=nx(e);return t.keyFieldsFn||(t.keyFieldsFn=(t,r)=>{let n=(e,t)=>r.readField(t,e),i=r.keyObject=nT(e,e=>{let i=n_(r.storeObject,e,n);return void 0===i&&t!==r.storeObject&&ne.call(t,e[0])&&(i=n_(t,e,nI)),(0,z.V1)(void 0!==i,107,e.join("."),t),i});return`${r.typename}:${JSON.stringify(i)}`})}function nk(e){let t=nx(e);return t.keyArgsFn||(t.keyArgsFn=(t,{field:r,variables:n,fieldName:i})=>{let o=JSON.stringify(nT(e,e=>{let i=e[0],o=i.charAt(0);if("@"===o){if(r&&rl(r.directives)){let t=i.slice(1),o=r.directives.find(e=>e.name.value===t),a=o&&nb(o,n);return a&&n_(a,e.slice(1))}return}if("$"===o){let t=i.slice(1);if(n&&ne.call(n,t)){let r=e.slice(0);return r[0]=t,n_(n,r)}return}if(t)return n_(t,e)}));return(t||"{}"!==o)&&(i+=":"+o),i})}function nT(e,t){let r=new r8;return(function e(t){let r=nx(t);if(!r.paths){let n=r.paths=[],i=[];t.forEach((r,o)=>{rs(r)?(e(r).forEach(e=>n.push(i.concat(e))),i.length=0):(i.push(r),rs(t[o+1])||(n.push(i.slice(0)),i.length=0))})}return r.paths})(e).reduce((e,n)=>{let i=t(n);if(void 0!==i){for(let e=n.length-1;e>=0;--e)i={[n[e]]:i};e=r.merge(e,i)}return e},{})}function nI(e,t){return e[t]}function n_(e,t,r){return r=r||nI,function e(t){return tK(t)?rs(t)?t.map(e):nT(Object.keys(t).sort(),e=>n_(t,e)):t}(t.reduce(function e(t,n){return rs(t)?t.map(t=>e(t,n)):t&&r(t,n)},e))}let nP=new eC,nC=new WeakMap;function nN(e){let t=nC.get(e);return t||nC.set(e,t={vars:new Set,dep:eZ()}),t}function nF(e){nN(e).vars.forEach(t=>t.forgetCache(e))}function nj(e){let t=new Set,r=new Set,n=function(o){if(arguments.length>0){if(e!==o){e=o,t.forEach(e=>{var t;nN(e).dep.dirty(n),(t=e).broadcastWatches&&t.broadcastWatches()});let i=Array.from(r);r.clear(),i.forEach(t=>t(e))}}else{let e=nP.getValue();e&&(i(e),nN(e).dep(n))}return e};n.onNextChange=e=>(r.add(e),()=>{r.delete(e)});let i=n.attachCache=e=>(t.add(e),nN(e).vars.add(n),n);return n.forgetCache=e=>t.delete(e),n}function nD(e){return void 0!==e.args?e.args:e.field?nb(e.field,e.variables):null}let nR=()=>void 0,nM=(e,t)=>t.fieldName,nB=(e,t,{mergeObjects:r})=>r(e,t),nH=(e,t)=>t,nL=(e,t,{streamFieldInfo:r,existingData:n})=>{if(!e&&!n)return t;let i=[],o=e??n,a=r?.isLastChunk?t.length:Math.max(o.length,t.length);for(let e=0;e<a;e++)i[e]=void 0===t[e]?o[e]:t[e];return i};class nV{config;typePolicies={};toBeAdded={};supertypeMap=new Map;fuzzySubtypes=new Map;cache;rootIdsByTypename={};rootTypenamesById={};usingPossibleTypes=!1;constructor(e){this.config=e,this.config={dataIdFromObject:nt,...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)}identify(e,t){let r,n=this,i=t&&(t.typename||t.storeObject?.__typename)||e.__typename;if(i===this.rootTypenamesById.ROOT_QUERY)return["ROOT_QUERY"];let o=t&&t.storeObject||e,a={...t,typename:i,storeObject:o,readField:t&&t.readField||((...e)=>{let t=nU(e,o);return n.readField(t,{store:n.cache.data,variables:t.variables})})},s=i&&this.getTypePolicy(i),l=s&&s.keyFn||this.config.dataIdFromObject;return tX.withValue(!0,()=>{for(;l;){let t=l({...e,...o},a);if(rs(t))l=nA(t);else{r=t;break}}}),r=r?String(r):void 0,a.keyObject?[r,a.keyObject]:[r]}addTypePolicies(e){Object.keys(e).forEach(t=>{let{queryType:r,mutationType:n,subscriptionType:i,...o}=e[t];r&&this.setRootTypename("Query",t),n&&this.setRootTypename("Mutation",t),i&&this.setRootTypename("Subscription",t),ne.call(this.toBeAdded,t)?this.toBeAdded[t].push(o):this.toBeAdded[t]=[o]})}updateTypePolicy(e,t,r){let n=this.getTypePolicy(e),{keyFields:i,fields:o}=t;function a(e,t){e.merge="function"==typeof t?t:!0===t?nB:!1===t?nH:e.merge}a(n,t.merge),n.keyFn=!1===i?nR:rs(i)?nA(i):"function"==typeof i?i:n.keyFn,o&&Object.keys(o).forEac
1h(t=>{let n=r[t];n&&n?.typename===e||(n=r[t]={typename:e});let i=o[t];if("function"==typeof i)n.read=i;else{let{keyArgs:e,read:t,merge:r}=i;n.keyFn=!1===e?nM:rs(e)?nk(e):"function"==typeof e?e:n.keyFn,"function"==typeof t&&(n.read=t),a(n,r)}n.read&&n.merge&&(n.keyFn=n.keyFn||nM)})}setRootTypename(e,t=e){let r="ROOT_"+e.toUpperCase(),n=this.rootTypenamesById[r];t!==n&&((0,z.V1)(!n||n===e,108,e),n&&delete this.rootIdsByTypename[n],this.rootIdsByTypename[t]=r,this.rootTypenamesById[r]=t)}addPossibleTypes(e){this.usingPossibleTypes=!0,Object.keys(e).forEach(t=>{this.getSupertypeSet(t,!0),e[t].forEach(e=>{this.getSupertypeSet(e,!0).add(t);let r=e.match(nn);r&&r[0]===e||this.fuzzySubtypes.set(e,new RegExp(e))})})}getTypePolicy(e){if(!ne.call(this.typePolicies,e)){let t=this.typePolicies[e]={};t.fields={};let r=this.supertypeMap.get(e);!r&&this.fuzzySubtypes.size&&(r=this.getSupertypeSet(e,!0),this.fuzzySubtypes.forEach((t,n)=>{if(t.test(e)){let e=this.supertypeMap.get(n);e&&e.forEach(e=>r.add(e))}})),r&&r.size&&r.forEach(e=>{let{fields:r,...n}=this.getTypePolicy(e);Object.assign(t,n),Object.assign(t.fields,r)})}let t=this.toBeAdded[e];return t&&t.length&&t.splice(0).forEach(t=>{this.updateTypePolicy(e,t,this.typePolicies[e].fields)}),this.typePolicies[e]}getFieldPolicy(e,t){if(e)return this.getTypePolicy(e).fields[t]}getSupertypeSet(e,t){let r=this.supertypeMap.get(e);return!r&&t&&this.supertypeMap.set(e,r=new Set),r}fragmentMatches(e,t,r,n){if(!e.typeCondition)return!0;if(!t)return!1;let i=e.typeCondition.name.value;if(t===i)return!0;if(this.usingPossibleTypes&&this.supertypeMap.has(i)){let o=this.getSupertypeSet(t,!0),a=[o],s=e=>{let t=this.getSupertypeSet(e,!1);t&&t.size&&0>a.indexOf(t)&&a.push(t)},l=!!(r&&this.fuzzySubtypes.size),u=!1;for(let c=0;c<a.length;++c){let h=a[c];if(h.has(i))return o.has(i)||(u&&ee.g&&z.V1.warn(109,t,i),o.add(i)),!0;h.forEach(s),l&&c===a.length-1&&function e(t,r,n){return!!tK(r)&&(rs(r)?r.every(r=>e(t,r,n)):t.selections.every(t=>{if(rv(t)&&rw(t,n)){let i=tJ(t);return ne.call(r,i)&&(!t.selectionSet||e(t.selectionSet,r[i],n))}return!0}))}(e.selectionSet,r,n)&&(l=!1,u=!0,this.fuzzySubtypes.forEach((e,r)=>{let n=t.match(e);n&&n[0]===t&&s(r)}))}}return!1}hasKeyArgs(e,t){let r=this.getFieldPolicy(e,t);return!!(r&&r.keyFn)}getStoreFieldName(e){var t,r;let n,i,o,{typename:a,fieldName:s}=e,l=this.getFieldPolicy(a,s),u=l&&l.keyFn;if(u&&a){let t={typename:a,fieldName:s,field:e.field||null,variables:e.variables},r=nD(e);for(;u;){let e=u(r,t);if(rs(e))u=nk(e);else{n=e||s;break}}}return(void 0===n&&(n=e.field?(t=e.field,r=e.variables,i=null,t.directives&&(i={},t.directives.forEach(e=>{i[e.name.value]={},e.arguments&&e.arguments.forEach(({name:t,value:n})=>rc(i[e.name.value],t,n,r))})),o=null,t.arguments&&t.arguments.length&&(o={},t.arguments.forEach(({name:e,value:t})=>rc(o,e,t,r))),nE(t.name.value,o,i)):nE(s,nD(e))),!1===n)?s:s===ni(n)?n:s+":"+n}readField(e,t){let r=e.from;if(!r||!(e.field||e.fieldName))return;if(void 0===e.typename){let n=t.store.getFieldValue(r,"__typename");n&&(e.typename=n)}let n=this.getStoreFieldName(e),i=ni(n),o=t.store.getFieldValue(r,n),a=this.getFieldPolicy(e.typename,i),s=a&&a.read;if(s){let i=nG(this,r,e,t,t.store.getStorage(rz(r)?r.__ref:r,n));return nP.withValue(this.cache,s,[o,i])}return o}getReadFunction(e,t){let r=this.getFieldPolicy(e,t);return r&&r.read}getMergeFunction(e,t,r){let n=this.getFieldPolicy(e,t),i=n&&n.merge;return!i&&r&&(i=(n=this.getTypePolicy(r))&&n.merge),i}runMergeFunction(e,t,{field:r,typename:n,merge:i,path:o},a,s){let l=e;if(i===nB)return nq(a.store)(e,t);if(i===nH)return t;a.overwrite&&(e=void 0);let u=a.extensions?.[rf]?.deref()?.peekArray(o);if(u){let{current:e,previous:r}=u;if(r&&(0,t0.L)(r.incoming,t)&&(0,t0.L)(r.streamFieldInfo,e))return r.result}let c=i(e,t,function(e,t,r,n,i,o){let a={...nG(e,t,r,n,i),extensions:n.extensions,existingData:o},s=n.extensions;if(s&&rf in s){let{[rf]:e,...t}=s,n=e?.deref()?.peekArray(r.path);n&&(a.streamFieldInfo=n.current),a.extensions=0===Object.keys(t).length?void 0:t}return a}(this,void 0,{typename:n,fieldName:r.name.value,field:r,variables:a.variables,path:o},a,s||{},l));return u&&(u.previous={incoming:t,streamFieldInfo:u.current,result:c}),c}}function nG(e,t,r,n,i){let o=e.getStoreFieldName(r),a=ni(o),s=r.variables||n.variables,{toReference:l,canRead:u}=n.store;return{args:nD(r),field:r.field||null,fieldName:a,storeFieldName:o,variables:s,isReference:rz,toReference:l,storage:i,cache:e.cache,canRead:u,readField:(...r)=>e.readField(nU(r,t,s),n),mergeObjects:nq(n.store)}}function nU(e,t,r){let n,{0:i,1:o,length:a}=e;return"string"==typeof i?n={fieldName:i,from:a>1?o:t}:(n={...i},ne.call(n,"from")||(n.from=t)),ee.g&&void 0===n.from&&ee.g&&z.V1.warn(110,(0,nS.p)(Array.from(e))),void 0===n.variables&&(n.variables=r),n}function nq(e){return function(t,r){if(rs(t)||rs(r))throw(0,z.vA)(111);if(tK(t)&&tK(r)){let n=e.getFieldValue(t,"__typename"),i=e.getFieldValue(r,"__typename");if(n&&i&&n!==i)return r;if(rz(t)&&no(r))return e.merge(t.__ref,r),t;if(no(t)&&rz(r))return e.merge(t,r.__ref),r;if(no(t)&&no(r))return{...t,...r}}return r}}
1class nW extends Error{message;path;query;variables;constructor(e,t,r,n){if(super(e),this.message=e,this.path=t,this.query=r,this.variables=n,this.name="MissingFieldError",Array.isArray(this.path)){this.missing=this.message;for(let e=this.path.length-1;e>=0;--e)this.missing={[this.path[e]]:this.missing}}else this.missing=this.path;this.__proto__=nW.prototype}missing}function nz(e){return[e.selectionSet,e.objectOrReference,e.context]}class nQ{executeSelectionSet;executeSubSelectedArray;config;knownResults=new WeakMap;constructor(e){this.config=e,this.executeSelectionSet=e2(e=>{let t=nz(e),r=this.executeSelectionSet.peek(...t);return r||(np(e.context.store,e.enclosingRef.__ref),this.execSelectionSetImpl(e))},{max:en["inMemoryCache.executeSelectionSet"]||5e4,keyArgs:nz,makeCacheKey(e,t,r){if(ng(r.store))return r.store.makeCacheKey(e,rz(t)?t.__ref:t,r.varString)}}),this.executeSubSelectedArray=e2(e=>(np(e.context.store,e.enclosingRef.__ref),this.execSubSelectedArrayImpl(e)),{max:en["inMemoryCache.executeSubSelectedArray"]||1e4,makeCacheKey({field:e,array:t,context:r}){if(ng(r.store))return r.store.makeCacheKey(e,t,r.varString)}})}diffQueryAgainstStore({store:e,query:t,rootId:r="ROOT_QUERY",variables:n,returnPartialData:i=!0}){let o,a=this.config.cache.policies;n={...rh(rx(t)),...n};let s=r7(r),l=this.executeSelectionSet({selectionSet:rb(t).selectionSet,objectOrReference:s,enclosingRef:s,context:{store:e,query:t,policies:a,variables:n,varString:tD(n),...na(t,this.config.fragments)}});l.missing&&(o=new nW(function(e){try{JSON.stringify(e,(e,t)=>{if("string"==typeof t)throw t;return t})}catch(e){return e}}(l.missing),l.missing,t,n));let u=!o,{result:c}=l;return{result:u?c:i?0===Object.keys(c).length?null:c:null,complete:u,missing:o}}isFresh(e,t,r,n){if(ng(n.store)&&this.knownResults.get(e)===r){let i=this.executeSelectionSet.peek(r,t,n);if(i&&e===i.result)return!0}return!1}execSelectionSetImpl({selectionSet:e,objectOrReference:t,enclosingRef:r,context:n}){let i;if(rz(t)&&!n.policies.rootTypenamesById[t.__ref]&&!n.store.has(t.__ref))return{result:{},missing:`Dangling reference to missing ${t.__ref} object`};let{variables:o,policies:a,store:s}=n,l=s.getFieldValue(t,"__typename"),u=[],c=new r8;function h(e,t){return e.missing&&(i=c.merge(i,{[t]:e.missing})),e.result}"string"!=typeof l||a.rootIdsByTypename[l]||u.push({__typename:l});let p=new Set(e.selections);p.forEach(e=>{if(rw(e,o))if(rv(e)){let o=a.readField({fieldName:e.name.value,field:e,variables:n.variables,from:t},n),s=tJ(e);void 0===o?rW.added(e)||(i=c.merge(i,{[s]:`Can't find field '${e.name.value}' on ${rz(t)?t.__ref+" object":"object "+JSON.stringify(t,null,2)}`})):rs(o)?o.length>0&&(o=h(this.executeSubSelectedArray({field:e,array:o,enclosingRef:r,context:n}),s)):e.selectionSet&&null!=o&&(o=h(this.executeSelectionSet({selectionSet:e.selectionSet,objectOrReference:o,enclosingRef:rz(o)?o:r,context:n}),s)),void 0!==o&&u.push({[s]:o})}else{let t=rg(e,n.lookupFragment);if(!t&&e.kind===G.b.FRAGMENT_SPREAD)throw(0,z.vA)(112,e.name.value);t&&a.fragmentMatches(t,l)&&t.selectionSet.selections.forEach(p.add,p)}});let f=tY({result:function(e){let t=e[0]||{},r=e.length;if(r>1){let n=new r8;for(let i=1;i<r;++i)t=n.merge(t,e[i])}return t}(u),missing:i});return f.result&&this.knownResults.set(f.result,e),f}execSubSelectedArrayImpl({field:e,array:t,enclosingRef:r,context:n}){let i,o=new r8;function a(e,t){return e.missing&&(i=o.merge(i,{[t]:e.missing})),e.result}return e.selectionSet&&(t=t.filter(e=>void 0===e||n.store.canRead(e))),{result:t=t.map((t,i)=>null===t?null:rs(t)?a(this.executeSubSelectedArray({field:e,array:t,enclosingRef:r,context:n}),i):e.selectionSet?a(this.executeSelectionSet({selectionSet:e.selectionSet,objectOrReference:t,enclosingRef:rz(t)?t:r,context:n}),i):(ee.g&&function(e,t,r){if(!t.selectionSet){let n=new Set([r]);n.forEach(r=>{tK(r)&&((0,z.V1)(!rz(r),113,rz(r)?e.get(r.__ref,"__typename"):r&&r.__typename,t.name.value),Object.values(r).forEach(n.add,n))})}}(n.store,e,t),t)),missing:i}}}let{toString:n$}=Object.prototype;function nK(e,t,r){let n=`${t}${r}`,i=e.flavors.get(n);return i||e.flavors.set(n,i=e.clientOnly===t&&e.deferred===r?e:{...e,clientOnly:t,deferred:r}),i}class nY{cache;reader;fragments;constructor(e,t,r){this.cache=e,this.reader=t,this.fragments=r}writeToStore(e,{query:t,result:r,dataId:n,variables:i,overwrite:o,extensions:a}){let s=eS(t),l=new r8,u={store:e,written:{},merge:(e,t)=>
1l.merge(e,t),variables:i={...rh(s),...i},varString:tD(i),...na(t,this.fragments),overwrite:!!o,incomingById:new Map,clientOnly:!1,deferred:!1,flavors:new Map,extensions:a},c=this.processSelectionSet({result:r||{},dataId:n,selectionSet:s.selectionSet,mergeTree:{map:new Map},context:u,path:[]});if(!rz(c))throw(0,z.vA)(114,r);return u.incomingById.forEach(({storeObject:t,mergeTree:r,fieldNodeSet:n},i)=>{let o=r7(i);if(r&&r.map.size){let e=this.applyMerges(r,o,t,u);if(rz(e))return;t=e}if(ee.g&&!u.overwrite){let e={};n.forEach(t=>{t.selectionSet&&(e[t.name.value]=!0)}),Object.keys(t).forEach(n=>{!0!==e[ni(n)]||(e=>{let t=r&&r.map.get(e);return!!(t&&t.info&&t.info.merge)})(n)||function(e,t,r,n){let i=e=>{let t=n.getFieldValue(e,r);return"object"==typeof t&&t},o=i(e);if(!o)return;let a=i(t);if(!a||rz(o)||(0,t0.L)(o,a)||Object.keys(o).every(e=>void 0!==n.getFieldValue(a,e)))return;let s=n.getFieldValue(e,"__typename")||n.getFieldValue(t,"__typename"),l=ni(r),u=`${s}.${l}`;if(n1.has(u))return;n1.add(u);let c=[];rs(o)||rs(a)||[o,a].forEach(e=>{let t=n.getFieldValue(e,"__typename");"string"!=typeof t||c.includes(t)||c.push(t)}),ee.g&&z.V1.warn(117,l,s,c.length?"either ensure all objects of type "+c.join(" and ")+" have an ID or a custom merge function, or ":"",u,Array.isArray(o)?[...o]:{...o},Array.isArray(a)?[...a]:{...a})}(o,t,n,u.store)})}e.merge(i,t)}),e.retain(c.__ref),c}processSelectionSet({dataId:e,result:t,selectionSet:r,context:n,mergeTree:i,path:o}){let{policies:a}=this.cache,s={},l=e&&a.rootTypenamesById[e]||n2(t,r,n.fragmentMap)||e&&n.store.get(e,"__typename");"string"==typeof l&&(s.__typename=l);let u=(...e)=>{let t=nU(e,s,n.variables);if(rz(t.from)){let e=n.incomingById.get(t.from.__ref);if(e){let r=a.readField({...t,from:e.storeObject},n);if(void 0!==r)return r}}return a.readField(t,n)},c=new Set;this.flattenFields(r,t,n,l).forEach((e,r)=>{let n=t[tJ(r)],h=[...o,r.name.value];if(c.add(r),void 0!==n){let t,o=a.getStoreFieldName({typename:l,fieldName:r.name.value,field:r,variables:e.variables}),c=nX(i,o),p=this.processFieldValue(n,r,r.selectionSet?nK(e,!1,!1):e,c,h);r.selectionSet&&(rz(p)||no(p))&&(t=u("__typename",p));let f=a.getMergeFunction(l,r.name.value,t);f?c.info={field:r,typename:l,merge:f,path:h}:W(["stream"],r)&&Array.isArray(p)&&e.extensions?.[rf]?c.info={field:r,typename:l,merge:nL,path:h}:n0(i,o),s=e.merge(s,{[o]:p})}else!ee.g||e.clientOnly||e.deferred||rW.added(r)||a.getReadFunction(l,r.name.value)||z.V1.error(115,tJ(r),t)});try{let[i,o]=a.identify(t,{typename:l,selectionSet:r,fragmentMap:n.fragmentMap,storeObject:s,readField:u});e=e||i,o&&(s=n.merge(s,o))}catch(t){if(!e)throw t}if("string"==typeof e){let o=r7(e),a=n.written[e]||(n.written[e]=[]);if(a.indexOf(r)>=0||(a.push(r),this.reader&&this.reader.isFresh(t,o,r,n)))return o;let l=n.incomingById.get(e);return l?(l.storeObject=n.merge(l.storeObject,s),l.mergeTree=function e(t,r){if(t===r||!r||nZ(r))return t;if(!t||nZ(t))return r;let n=t.info&&r.info?{...t.info,...r.info}:t.info||r.info,i=t.map.size&&r.map.size,o={info:n,map:i?new Map:t.map.size?t.map:r.map};if(i){let n=new Set(r.map.keys());t.map.forEach((t,i)=>{o.map.set(i,e(t,r.map.get(i))),n.delete(i)}),n.forEach(n=>{o.map.set(n,e(r.map.get(n),t.map.get(n)))})}return o}(l.mergeTree,i),c.forEach(e=>l.fieldNodeSet.add(e))):n.incomingById.set(e,{storeObject:s,mergeTree:nZ(i)?void 0:i,fieldNodeSet:c}),o}return s}processFieldValue(e,t,r,n,i){return t.selectionSet&&null!==e?rs(e)?e.map((e,o)=>{let a=this.processFieldValue(e,t,r,nX(n,o),[...i,o]);return n0(n,o),a}):this.processSelectionSet({result:e,selectionSet:t.selectionSet,context:r,mergeTree:n,path:i}):ee.g?function e(t,r){switch(n$.call(t)){case"[object Array]":{if((r=r||new Map).has(t))return r.get(t);let n=t.slice(0);return r.set(t,n),n.forEach(function(t,i){n[i]=e(t,r)}),n}case"[object Object]":{if((r=r||new Map).has(t))return r.get(t);let n=Object.create(Object.getPrototypeOf(t));return r.set(t,n),Object.keys(t).forEach(i=>{n[i]=e(t[i],r)}),n}default:return t}}(e):e}flattenFields(e,t,r,n=n2(t,e,r.fragmentMap)){let i=new Map,{policies:o}=this.cache,a=new el(!1);return!function e(s,l){let u=a.lookup(s,l.clientOnly,l.deferred);u.visited||(u.visited=!0,s.selections.forEach(a=>{if(!rw(a,r.variables))return;let{clientOnly:s,deferred:u}=l;
1if(!(s&&u)&&rl(a.directives)&&a.directives.forEach(e=>{let t=e.name.value;if("client"===t&&(s=!0),"defer"===t){let t=nb(e,r.variables);t&&!1===t.if||(u=!0)}}),rv(a)){let e=i.get(a);e&&(s=s&&e.clientOnly,u=u&&e.deferred),i.set(a,nK(r,s,u))}else{let i=rg(a,r.lookupFragment);if(!i&&a.kind===G.b.FRAGMENT_SPREAD)throw(0,z.vA)(116,a.name.value);i&&o.fragmentMatches(i,n,t,r.variables)&&e(i.selectionSet,nK(r,s,u))}}))}(e,r),i}applyMerges(e,t,r,n,i){if(e.map.size&&!rz(r)){let o,a=!rs(r)&&(rz(t)||no(t))?t:void 0,s=r;a&&!i&&(i=[rz(a)?a.__ref:a]);let l=(e,t)=>rs(e)?"number"==typeof t?e[t]:void 0:n.store.getFieldValue(e,String(t));e.map.forEach((e,t)=>{let r=l(a,t),u=l(s,t);if(void 0===u)return;i&&i.push(t);let c=this.applyMerges(e,r,u,n,i);c!==u&&(o=o||new Map).set(t,c),i&&(0,z.V1)(i.pop()===t)}),o&&(r=rs(s)?s.slice(0):{...s},o.forEach((e,t)=>{r[t]=e}))}return e.info?this.cache.policies.runMergeFunction(t,r,e.info,n,i&&n.store.getStorage(...i)):r}}let nJ=[];function nX({map:e},t){return e.has(t)||e.set(t,nJ.pop()||{map:new Map}),e.get(t)}function nZ(e){return!e||!(e.info||e.map.size)}function n0({map:e},t){let r=e.get(t);r&&nZ(r)&&(nJ.push(r),e.delete(t))}let n1=new Set;function n2(e,t,r){let n;for(let r of t.selections)if(rv(r)){if("__typename"===r.name.value)return e[tJ(r)]}else n?n.push(r):n=[r];if("string"==typeof e.__typename)return e.__typename;if(n)for(let t of n){let n=n2(e,rg(t,r).selectionSet,r);if("string"==typeof n)return n}}class n5 extends r0{data;optimisticData;config;watches=new Set;storeReader;storeWriter;addTypenameTransform=new e6(rW);maybeBroadcastWatch;assumeImmutableResults=!0;policies;makeVar=nj;constructor(e={}){super(),this.config=(0,e9.o)(nr,e),this.policies=new nV({cache:this,dataIdFromObject:this.config.dataIdFromObject,possibleTypes:this.config.possibleTypes,typePolicies:this.config.typePolicies}),this.init()}init(){let e=this.data=new nc.Root({policies:this.policies,resultCaching:this.config.resultCaching});this.optimisticData=e.stump,this.resetResultCache()}resetResultCache(){let{fragments:e}=this.config;this.addTypenameTransform.resetCache(),e?.resetCaches(),this.storeWriter=new nY(this,this.storeReader=new nQ({cache:this,fragments:e}),e),this.maybeBroadcastWatch=e2((e,t)=>this.broadcastWatch(e,t),{max:en["inMemoryCache.maybeBroadcastWatch"]||5e3,makeCacheKey:e=>{let t=e.optimistic?this.optimisticData:this.data;if(ng(t)){let{optimistic:r,id:n,variables:i}=e;return t.makeCacheKey(e.query,e.callback,tD({optimistic:r,id:n,variables:i}))}}}),new Set([this.data.group,this.optimisticData.group]).forEach(e=>e.resetCaching())}restore(e){return this.init(),e&&this.data.replace(e),this}extract(e=!1){return(e?this.optimisticData:this.data).extract()}read(e){let{returnPartialData:t=!1}=e;return this.storeReader.diffQueryAgainstStore({...e,store:e.optimistic?this.optimisticData:this.data,config:this.config,returnPartialData:t}).result}write(e){try{return++this.txCount,this.storeWriter.writeToStore(this.data,e)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}}modify(e){if(ne.call(e,"id")&&!e.id)return!1;let t=e.optimistic?this.optimisticData:this.data;try{return++this.txCount,t.modify(e.id||"ROOT_QUERY",e.fields,!1)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}}diff(e){return this.storeReader.diffQueryAgainstStore({...e,store:e.optimistic?this.optimisticData:this.data,rootId:e.id||"ROOT_QUERY",config:this.config})}watch(e){var t;return this.watches.size||(t=this,nN(t).vars.forEach(e=>e.attachCache(t))),this.watches.add(e),e.immediate&&this.maybeBroadcastWatch(e),()=>{this.watches.delete(e)&&!this.watches.size&&nF(this),this.maybeBroadcastWatch.forget(e)}}gc(e){tD.reset(),rt.reset();let t=this.optimisticData.gc();return e&&!this.txCount&&e.resetResultCache&&this.resetResultCache(),t}retain(e,t){return(t?this.optimisticData:this.data).retain(e)}release(e,t){return(t?this.optimisticData:this.data).release(e)}identify(e){if(rz(e))return e.__ref;try{return this.policies.identify(e)[0]}catch(e){ee.g&&z.V1.warn(e)}}evict(e){if(!e.id){if(ne.call(e,"id"))return!1;e={...e,id:"ROOT_QUERY"}}try{return++this.txCount,this.optimisticData.evict(e,this.data)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}}reset(e){return this.init(),tD.reset(),e&&e.discardWatches?(this.watches.forEac
1h(e=>this.maybeBroadcastWatch.forget(e)),this.watches.clear(),nF(this)):this.broadcastWatches(),Promise.resolve()}removeOptimistic(e){let t=this.optimisticData.removeLayer(e);t!==this.optimisticData&&(this.optimisticData=t,this.broadcastWatches())}txCount=0;batch(e){let t,{update:r,optimistic:n=!0,removeOptimistic:i,onWatchUpdated:o}=e,a=e=>{let{data:n,optimisticData:i}=this;++this.txCount,e&&(this.data=this.optimisticData=e);try{return t=r(this)}finally{--this.txCount,this.data=n,this.optimisticData=i}},s=new Set;return o&&!this.txCount&&this.broadcastWatches({...e,onWatchUpdated:e=>(s.add(e),!1)}),"string"==typeof n?this.optimisticData=this.optimisticData.addLayer(n,a):!1===n?a(this.data):a(),"string"==typeof i&&(this.optimisticData=this.optimisticData.removeLayer(i)),o&&s.size?(this.broadcastWatches({...e,onWatchUpdated(e,t){let r=o.call(this,e,t);return!1!==r&&s.delete(e),r}}),s.size&&s.forEach(e=>this.maybeBroadcastWatch.dirty(e))):this.broadcastWatches(e),t}performTransaction(e,t){return this.batch({update:e,optimistic:t||null!==t})}transformDocument(e){return this.addTypenameTransform.transformDocument(this.addFragmentsToDocument(e))}fragmentMatches(e,t){return this.policies.fragmentMatches(e,t)}lookupFragment(e){return this.config.fragments?.lookup(e)||null}resolvesClientField(e,t){return!!this.policies.getReadFunction(e,t)}broadcastWatches(e){if(!this.txCount){let t=this.onAfterBroadcast,r=new Set;this.onAfterBroadcast=e=>{r.add(e)};try{this.watches.forEach(t=>this.maybeBroadcastWatch(t,e)),r.forEach(e=>e())}finally{this.onAfterBroadcast=t}}}addFragmentsToDocument(e){let{fragments:t}=this.config;return t?t.transform(e):e}broadcastWatch(e,t){let{lastDiff:r}=e,n=this.diff(e);(!t||(e.optimistic&&"string"==typeof t.optimistic&&(n.fromOptimisticTransaction=!0),!t.onWatchUpdated||!1!==t.onWatchUpdated.call(this,e,n,r)))&&(r&&(0,t0.L)(r.result,n.result)||e.callback(e.lastDiff=n,r))}}ee.g&&(n5.prototype.getMemoryInternals=tg);class n6 extends eO{constructor(e={}){super((t,r)=>{let n=t.client,i=n.queryManager.clientOptions,o=t.getContext();{let{name:r,version:n,transport:a="headers"}=(0,e9.o)({},i.clientAwareness,e.clientAwareness,o.clientAwareness);"headers"===a&&t.setContext(({headers:e})=>({headers:(0,e9.o)({"apollographql-client-name":r,"apollographql-client-version":n},e)}))}{let{transport:r="extensions"}=(0,e9.o)({},i.enhancedClientAwareness,e.enhancedClientAwareness);"extensions"===r&&(t.extensions=(0,e9.o)({clientLibrary:{name:"@apollo/client",version:n.version}},t.extensions)),"headers"===r&&t.setContext(({headers:e})=>({headers:(0,e9.o)({"apollographql-library-name":"@apollo/client","apollographql-library-version":n.version},e)}))}return r(t)})}}function n4(e,t){return eS(e)?.operation===t}var n9=r(32044);class n3 extends Error{static is(e){return tB(e,"ServerError")}response;statusCode;bodyText;constructor(e,t){super(e),this.name="ServerError",this.response=t.response,this.statusCode=t.response.status,this.bodyText=t.bodyText,tH(this),Object.setPrototypeOf(this,n3.prototype)}}class n8 extends Error{static is(e){return tB(e,"ServerParseError")}response;statusCode;bodyText;constructor(e,t){super(e instanceof Error?e.message:"Could not parse server response",{cause:e}),this.name="ServerParseError",this.response=t.response,this.statusCode=t.response.status,this.bodyText=t.bodyText,tH(this),Object.setPrototypeOf(this,n8.prototype)}}let{hasOwnProperty:n7}=Object.prototype;async function*ie(e){let t,r=new TextDecoder("utf-8"),n=e.headers?.get("content-type"),i=n?.match(/;\s*boundary=(?:'([^']+)'|"([^"]+)"|([^"'].+?))\s*(?:;|$)/i),o="\r\n--"+(i?i[1]??i[2]??i[3]??"-":"-"),a="";(0,z.V1)(e.body&&"function"==typeof e.body.getReader,62);let s=e.body.getReader(),l=!1,u=!1,c=()=>u&&"-"==a[0]&&"-"==a[1];try{for(;!l;){({value:t,done:l}=await s.read());let e="string"==typeof t?t:r.decode(t),n=a.length-o.length+1,i=(a+=e).indexOf(o,n);for(;i>-1&&!c();){let e;u=!0,[e,a]=[a.slice(0,i),a.slice(i+o.length)];let t=e.indexOf("\r\n\r\n"),r=function(e){let t={};return e.split("\n").forEach(e=>{let r=e.indexOf(":");if(r>-1){let n=e.slice(0,r).trim().toLowerCase(),i=e.slice(r+1).trim();t[n]=i}}),t}(e.slice(0,t))["content-type"];if(r&&-1===r.toLowerCase().indexOf("application/json"))throw Error("Unsupported patch content type: application/json is required.");let n=e.slice(t);n&&(yield n),i=a.indexOf(o)}if(c())return}throw Error("premature end of multipart body")}finally{s.cancel()}}async function it(e,t){for await(let r of ie(e)){let n=ir(e,r);if(0!=Object.keys(n).length)if(tK(n)&&"payload"in n){if(1===Object.keys(n).length&&null===n.payload)return;let e={...n.payload};
1"errors"in n&&(e.extensions={...e.extensions,[tW]:new tU(n.errors??[])}),t(e)}else t(n)}}function ir(e,t){if(e.status>=300)throw new n3(`Response not successful: Received status code ${e.status}`,{response:e,bodyText:t});try{return JSON.parse(t)}catch(r){throw new n8(r,{response:e,bodyText:t})}}let ii={http:{includeQuery:!0,includeExtensions:!0,preserveHeaderCase:!1},headers:{accept:"application/graphql-response+json,application/json;q=0.9","content-type":"application/json"},options:{method:"POST"}},io=(e,t)=>t(e),ia=(0,n9.n)(()=>fetch);function is(){}class il extends eO{constructor(e={}){let{uri:t="/graphql",fetch:r,print:n=io,includeExtensions:i,preserveHeaderCase:o,useGETForQueries:a,includeUnusedVariables:s=!1,...l}=e;ee.g&&(0,z.V1)(r||ia||"undefined"!=typeof fetch,61);let u={http:(0,e9.o)({includeExtensions:i,preserveHeaderCase:o}),options:l.fetchOptions,credentials:l.credentials,headers:l.headers};super(e=>{let i=((e,t)=>{let r=e.getContext().uri;return r||("function"==typeof t?t(e):t||"/graphql")})(e,t),o=e.getContext(),l={...o.http};n4(e.query,"subscription")&&(l.accept=["multipart/mixed;boundary=graphql;subscriptionSpec=1.0",...l.accept||[]]);let{options:c,body:h}=function(e,t,...r){let n={},i={};r.forEach(e=>{n={...n,...e.options,headers:{...n.headers,...e.headers}},e.credentials&&(n.credentials=e.credentials),n.headers.accept=(e.http?.accept||[]).concat(n.headers.accept).join(","),i={...i,...e.http}}),n.headers=function(e,t){if(!t){let t={};
1return Object.keys(Object(e)).forEach(r=>{t[r.toLowerCase()]=e[r]}),t}let r={};Object.keys(Object(e)).forEach(t=>{r[t.toLowerCase()]={originalName:t,value:e[t]}});let n={};return Object.keys(r).forEach(e=>{n[r[e].originalName]=r[e].value}),n}(n.headers,i.preserveHeaderCase);let{operationName:o,extensions:a,variables:s,query:l}=e,u={operationName:o,variables:s};return i.includeExtensions&&Object.keys(a||{}).length&&(u.extensions=a),i.includeQuery&&(u.query=t(l,rt)),{options:n,body:u}}(e,n,ii,u,{http:l,options:o.fetchOptions,credentials:o.credentials,headers:o.headers});h.variables&&!s&&(h.variables=function(e,t){let r={...e},n=new Set(Object.keys(e));return q(t,{Variable(e,t,r){r&&"VariableDefinition"!==r.kind&&n.delete(e.name.value)}}),n.forEach(e=>{delete r[e]}),r}(h.variables,e.query));let p=new AbortController,f=()=>{p=void 0};if(c.signal){let e=c.signal,t=()=>{p?.abort(e.reason)};e.addEventListener("abort",t,{once:!0}),f=()=>{p?.signal.removeEventListener("abort",f),p=void 0,e.removeEventListener("abort",t),f=is},p.signal.addEventListener("abort",f,{once:!0})}return c.signal=p.signal,a&&!n4(e.query,"mutation")&&(c.method="GET"),new Y(t=>{if("GET"===c.method){let{newURI:e,parseError:t}=function(e,t){let r=[],n=(e,t)=>{r.push(`${e}=${encodeURIComponent(t)}`)};if("query"in t&&n("query",t.query),t.operationName&&n("operationName",t.operationName),t.variables){let e;try{e=JSON.stringify(t.variables)}catch(e){return{parseError:e}}n("variables",e)}if(t.extensions){let e;try{e=JSON.stringify(t.extensions)}catch(e){return{parseError:e}}n("extensions",e)}let i="",o=e,a=e.indexOf("#");-1!==a&&(i=e.substr(a),o=e.substr(0,a));let s=-1===o.indexOf("?")?"?":"&";return{newURI:o+s+r.join("&")+i}}(i,h);if(t)throw t;i=e}else c.body=JSON.stringify(h);let n=r||(0,n9.n)(()=>fetch)||ia,o=t.next.bind(t);return n(i,c).then(t=>{e.setContext({response:t});let r=t.headers?.get("content-type");return null!==r&&/^multipart\/mixed/i.test(r)?it(t,o):(function(e){return t=>t.text().then(r=>{let n=function(e,t){let r=e.headers.get("content-type");if(r?.includes("application/graphql-response+json"))try{return JSON.parse(t)}catch(r){throw new n8(r,{response:e,bodyText:t})}return ir(e,t)}(t,r);if(!Array.isArray(n)&&!n7.call(n,"data")&&!n7.call(n,"errors"))throw new n3(`Server response was malformed for query '${Array.isArray(e)?e.map(e=>e.operationName):e.operationName}'.`,{response:t,bodyText:r});return n})})(e)(t).then(o)}).then(()=>{f(),t.complete()}).catch(e=>{f(),t.error(e)}),()=>{p&&p.abort()}})})}}class iu extends eO{constructor(e={}){let{left:t,right:r,request:n}=eO.from([new n6(e),new il(e)]);super(n),Object.assign(this,{left:t,right:r})}}var ic=r(87255);let ih=e=>{let{pageClass:t="",children:r}=e,n=t.replace(/[/]/g,"");return""===n&&(n="home"),(0,u.jsx)("div",{className:n,children:r})};var ip=r(22831),id=r(56637),iy=r.n(id);let im={es:{formId:"01KJZFTFVHRWJF11RZY8HVRQAZ",buttonText:"\xbfError de traducci\xf3n?"},fr:{formId:"01KT91AH85VB4WE12KV5CKERW8",buttonText:"Erreur de traduction ?"}},ig=()=>{let{locale:e}=(0,ip.useRouter)(),t=e?im[e]:void 0;return t?(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)("div",{"data-testid":"typeform-embed","data-tf-live":t.formId,"data-tf-side-panel":!0,"data-tf-button-text":t.buttonText,"data-tf-button-color":"#B0EC9C"}),(0,u.jsx)(iy(),{src:"https://embed.typeform.com/next/embed.js",strategy:"afterInteractive"})]}):null};r(22141);var ib=/bot|crawl|http|lighthouse|scan|search|spider/i,iv=r(49838),iw=r(90986);let iE=({client:e,children:t})=>{let r=(0,iw.l)(),n=iv.useContext(r),i=iv.useMemo(()=>({...n,client:e||n.client}),[n,e]);return(0,z.V1)(i.client,38),iv.createElement(r.Provider,{value:i},t)};var iS=r(84796),iO=r(70884);function ix({locale:e,...t}){if(!e)throw Error(void 0);return(0,u.jsx)(iO.Dk,{locale:e,...t})}var iA=r(39258);let ik=JSON.parse('{"footer":{"features":"Features","tools":"Tools","channels":"Channels","madeFor":"Made for","resources":"Resources","support":"Support","transparency":"Transparency","company":"Company","socialMediaHeading":"Social media","policiesHeading":"Policies","featureItems":{"create":"Create","publish":"Publish","community":"Community","analyze":"Analyze","collaborate":"Collaborate"},"toolItems":{"aiAssistant":"AI Assistant","startPage":"Start Page","integrations":"Integrations","iosApp":"iOS App","androidApp":"Android App","browserExtension":"Browser Extension"},"madeForItems":{"creators":"Creators","smallBusiness":"Small Business","agencies":"Agencies","nonprofits":"Nonprofits","higherEducation":"Higher Education","developers":"Developers"},"resourceItems":{"blog":"Blog","templateLibrary":"Template Library","socialMediaInsights":"Social Media Insights","resourceLibrary":"Resource Library","socialMediaTermsGlossary":"Social Media Terms Glossary","freeMarketingTools":"Free Marketing Tools","aiSocialMediaPostGenerator":"AI Social Media Post Generator","compareBuffer":"Compare Buffer","ourCommunity":"Our Community","bufferApi":"Buffer API","developerDocs":"Developer Docs"},"supportItems":{"helpCenter":"Help Center","status":"Status","changelog":"Changelog","requestAFeature":"Request a Feature"},"transparencyItems":{"openHub":"Open Hub","transparentMetrics":"Trans
1parent Metrics","transparentPricing":"Transparent Pricing","transparentSalaries":"Transparent Salaries","productRoadmap":"Product Roadmap"},"companyItems":{"about":"About","careers":"Careers","press":"Press","partnerProgram":"Partner Program","legal":"Legal","sitemap":"Sitemap"},"policyItems":{"privacy":"Privacy","terms":"Terms","security":"Security"}}}'),iT=JSON.parse('{"nav":{"cta":{"login":"Log in","getStartedFree":"Get started for free"},"features":"Features","channels":"Integrations","channelsHeading":"Channels","toolsHeading":"Tools","toolsSeeAll":"See all app integrations","madeFor":"Made for","resources":"Resources","pricing":"Pricing","a11y":{"topNavigation":"Top navigation","buffersFeatures":"Buffer\'s features","supportedChannels":"Supported channels","buffersTools":"Buffer\'s tools","buffersResources":"Buffer\'s resources","navigationMenu":"Navigation menu","closeNavigationMenu":"Close navigation menu"},"featureItems":{"create":{"title":"Create","description":"Build your own library of content ideas"},"publish":{"title":"Publish","description":"Plan and schedule your content across social media platforms"},"analyze":{"title":"Analyze","description":"Measure performance and turn insights into growth"},"community":{"title":"Community","description":"Easily engage with your community"},"collaborate":{"title":"Collaborate","description":"Work together seamlessly, from planning to publishing"},"startPage":{"title":"Start Page","description":"Build a custom link-in-bio page in minutes"},"aiAssistant":{"title":"AI Assistant","description":"Get help creating, refining, and repurposing content"},"api":{"title":"API","description":"Connect Buffer to your agents, automation tools, or build something entirely new"}},"madeForItems":{"creators":{"title":"Creators","description":"Grow your community with confidence, not complexity"},"smallBusiness":{"title":"Small Business","description":"A simpler way to manage your small business’ social media"},"agencies":{"title":"Agencies","description":"Run every client’s social with clarity"},"nonprofits":{"title":"Nonprofits","description":"Made for small teams doing big things"},"higherEducation":{"title":"Higher Education","description":"Social media management built for schools and universities"},"developers":{"title":"Developers","description":"Add a social layer for whatever you\'re building"}},"toolsItems":{"canva":{"title":"Canva"},"googleDrive":{"title":"Google Drive"},"ifttt":{"title":"IFTTT"},"unsplash":{"title":"Unsplash"},"dropbox":{"title":"Dropbox"},"onedrive":{"title":"OneDrive"}},"resourceItems":{"blog":{"title":"Blog","description":"Real-life stories and resources on growing an engaged audience"},"templates":{"title":"Templates","description":"Plug-and-play content templates to jump-start your planning"},"freeTools":{"title":"Free Tools","description":"Easy-to-use tools to grow your presence across social media"},"socialMediaInsights":{"title":"Social Media Insights","description":"Data-driven benchmarks, trends, and tips to grow smarter on social"},"ourCommunity":{"title":"Our Community","description":"Learn, connect, and grow with creators around the world"},"support":{"title":"Support","description":"Help articles and tutorials to get the most out of Buffer"},"developerDocs":{"title":"Developer Docs","description":"Connect Buffer to your agents, automation tools, or build something entirely new"},"caseStudies":{"title":"Case studies","description":"How power users get more from Buffer."}}}}'),iI=JSON.parse('{"footer":{"features":"Funciones","tools":"Herramientas","channels":"Canales","madeFor":"Para","resources":"Recursos","support":"Soporte","transparency":"Transparencia","company":"Empresa","socialMediaHeading":"Redes sociales","policiesHeading":"Pol\xedticas","featureItems":{"create":"Create","publish":"Publish","community":"Community","analyze":"Analyze","collaborate":"Collaborate"},"toolItems":{"aiAssistant":"AI Assistant","startPage":"Start Page","integrations":"Integraciones","iosApp":"App para iOS","androidApp":"App para Android","browserExtension":"Extensi\xf3n para navegador"},"madeForItems":{"creators":"Creadores de contenido","smallBusiness":"Peque\xf1as empresas","agencies":"Agencias","nonprofits":"Organizaciones sin fines de lucro","higherEducation":"Educaci\xf3n superior","developers":"Desarrolladores"},"resourceItems":{"blog":"Blog","templateLibrary":"Biblioteca de plantillas","socialMediaInsights":"Datos sobre redes sociales","resourceLibrary":"Biblioteca de recursos","socialMediaTermsGlossary":"Glosario de redes sociales","freeMarketingTools":"Herramientas de marketing gratuitas","aiSocialMediaPostGenerator":"Generador de publicaciones con IA","compareBuffer":"Compara Buffer","ourCommunity":"Nuestra comunidad","bufferApi":"Buffer API","developerDocs":"Documentaci\xf3n para desarrolladores"},"supportItems":{"helpCenter":"Centro de ayuda","status":"Estado del servicio","changelog":"Novedades","requestAFeature":"Solicita una funcionalidad"},"transparencyItems":{"openHub":"Open Hub","transparentMetrics":"M\xe9tricas transparentes","transparentPricing":"Precios transparentes","transparentSalaries":"Salarios transparentes","productRoadmap":"Hoja de ruta del producto"},"companyItems":{"about":"Acerca de","careers":"Trabaja con nosotros","press":"Prensa","partnerProgram":"Programa de socios","legal":"Legal","sitemap":"Mapa del sitio"},"policyItems":{"privacy":"Privacidad","terms":"T\xe9rminos","security":"Seguridad"}}}'),i_=JSON.parse('{"nav":{"cta":{"login":"Iniciar sesi\xf3n","getStartedFree":"Empieza gratis"},"features":"Funciones","channels":"Integraciones","channelsHeading":"Canales","toolsHeading":"Herramientas","toolsSeeAll":"Ver todas las integraciones","madeFor":"Para","resources":"Recursos","pricing":"Planes y precios","a11y":{"topNavigation":"Navegaci\xf3n principal","buffersFeatures":"Funciones de Buffer","supportedChannels":"Canales compatibles","buffersTools":"Herramientas de Buffer","buffersResources":"Recursos de Buffer","navigationMenu":"Men\xfa de navegaci\xf3n","closeNavigationMenu":"Cerrar men\xfa de navegaci\xf3n"},"featureItems":{"create":{"title":"Create","description":"Crea tu propia biblioteca de ideas de contenido"},"publish":{"title":"Publish","description":"Planifica y programa tus publicaciones en todas tus redes sociales"},"analyze":{"title":"Analyze","description":"Mide el rendimiento y convierte los datos en crecimiento"},"community":{"title":"Community","description":"Interact\xfaa f\xe1cilmente con tu comunidad"},"collaborate":{"title":"Collaborate","description":"Trabaja en equipo sin complicaciones, desde la planificaci\xf3n hasta la publicaci\xf3n"},"startPage":{"title":"Start Page","description":"Crea una p\xe1gina de enlace en bio personalizada en minutos"},"aiAssistant":{"title":"AI Assistant","description":"Obt\xe9n ayuda para crear, perfeccionar y reutilizar contenido"},"api":{"title":"API","description":"Conecta Buffer con tus agentes, herramientas de automatizaci\xf3n o crea algo completamente nuevo"}},"madeForItems":{"creators":{"title":"Creadores de contenido","description":""},"smallBusiness":{"title":"Peque\xf1as empresas","description":""},"agencies":{"title":"Agencias","description":""},"nonprofits":{"title":"Organizaciones sin fines de lucro","description":""},"higherEducation":{"title":"Educaci\xf3n superior","description":""}
1,"developers":{"title":"Desarrolladores","description":""}},"toolsItems":{"canva":{"title":"Canva"},"googleDrive":{"title":"Google Drive"},"ifttt":{"title":"IFTTT"},"unsplash":{"title":"Unsplash"},"dropbox":{"title":"Dropbox"},"onedrive":{"title":"OneDrive"}},"resourceItems":{"blog":{"title":"Blog","description":"Historias reales y recursos para hacer crecer una audiencia comprometida"},"templates":{"title":"Plantillas","description":"Plantillas de contenido listas para usar que te ayudan a planificar m\xe1s r\xe1pido"},"freeTools":{"title":"Herramientas gratuitas","description":"Herramientas f\xe1ciles de usar para crecer en redes sociales"},"socialMediaInsights":{"title":"Datos sobre redes sociales","description":"Tendencias, comparativas y consejos basados en datos para crecer de forma m\xe1s inteligente en redes sociales"},"ourCommunity":{"title":"Nuestra comunidad","description":"Aprende, conecta y crece con creadores de contenido de todo el mundo"},"support":{"title":"Soporte","description":"Art\xedculos de ayuda y tutoriales para sacarle el m\xe1ximo provecho a Buffer"},"developerDocs":{"title":"Documentaci\xf3n para desarrolladores","description":"Conecta Buffer con tus agentes, herramientas de automatizaci\xf3n o crea algo completamente nuevo"},"caseStudies":{"title":"Casos de \xe9xito","description":"C\xf3mo los usuarios avanzados sacan m\xe1s partido de Buffer."}}}}'),iP=JSON.parse('{"footer":{"features":"Fonctionnalit\xe9s","tools":"Outils","channels":"Canaux","madeFor":"Fait pour","resources":"Ressources","support":"Support","transparency":"Transparence","company":"Entreprise","socialMediaHeading":"R\xe9seaux sociaux","policiesHeading":"Mentions l\xe9gales","featureItems":{"create":"Create","publish":"Publish","community":"Community","analyze":"Analyze","collaborate":"Collaborate"},"toolItems":{"aiAssistant":"AI Assistant","startPage":"Start Page","integrations":"Int\xe9grations","iosApp":"Application iOS","androidApp":"Application Android","browserExtension":"Extension de navigateur"},"madeForItems":{"creators":"Cr\xe9ateur\xb7rices","smallBusiness":"Petites entreprises","agencies":"Agences","nonprofits":"Associations","higherEducation":"Enseignement sup\xe9rieur","developers":"D\xe9veloppeur\xb7ses"},"resourceItems":{"blog":"Blog","templateLibrary":"Biblioth\xe8que de mod\xe8les","socialMediaInsights":"Donn\xe9es sur les r\xe9seaux sociaux","resourceLibrary":"Biblioth\xe8que de ressources","socialMediaTermsGlossary":"Glossaire des r\xe9seaux sociaux","freeMarketingTools":"Outils marketing gratuits","aiSocialMediaPostGenerator":"G\xe9n\xe9rateur de publications par IA","compareBuffer":"Comparer Buffer","ourCommunity":"Notre communaut\xe9","bufferApi":"Buffer API","developerDocs":"Documentation d\xe9veloppeur\xb7ses"},"supportItems":{"helpCenter":"Centre d’aide","status":"\xc9tat du service","changelog":"Nouveaut\xe9s","requestAFeature":"Proposer une fonctionnalit\xe9"},"transparencyItems":{"openHub":"Open Hub","transparentMetrics":"Indicateurs transparents","transparentPricing":"Tarifs transparents","transparentSalaries":"Salaires transparents","productRoadmap":"Roadmap produit"},"companyItems":{"about":"\xc0 propos","careers":"Carri\xe8res","press":"Presse","partnerProgram":"Programme partenaires","legal":"Mentions l\xe9gales","sitemap":"Plan du site"},"policyItems":{"privacy":"Confidentialit\xe9","terms":"Conditions","security":"S\xe9curit\xe9"}}}'),iC=JSON.parse('{"nav":{"cta":{"login":"Se connecter","getStartedFree":"Commencer gratuitement"},"features":"Fonctionnalit\xe9s","channels":"Int\xe9grations","channelsHeading":"Canaux","toolsHeading":"Outils","toolsSeeAll":"Voir toutes les int\xe9grations","madeFor":"Fait pour","resources":"Ressources","pricing":"Tarifs","a11y":{"topNavigation":"Navigation principale","buffersFeatures":"Fonctionnalit\xe9s de Buffer","supportedChannels":"Canaux pris en charge","buffersTools":"Outils de Buffer","buffersResources":"Ressources de Buffer","navigationMenu":"Menu de navigation","closeNavigationMenu":"Fermer le menu de navigation"},"featureItems":{"create":{"title":"Create","description":"Constituez votre propre biblioth\xe8que d’id\xe9es de contenu"},"publish":{"title":"Publish","description":"Planifiez et programmez votre contenu sur tous vos r\xe9seaux sociaux"},"analyze":{"title":"Analyze","description":"Mesurez vos performances et transformez vos donn\xe9es en croissance"},"community":{"title":"Community","description":"\xc9changez facilement avec votre communaut\xe9"},"collaborate":{"title":"Collaborate","description":"Travaillez ensemble en toute fluidit\xe9, de la planification \xe0 la publication"},"startPage":{"title":"Start Page","description":"Cr\xe9ez une page link-in-bio personnalis\xe9e en quelques minutes"},"aiAssistant":{"title":"AI Assistant","description":"B\xe9n\xe9ficiez d’une aide pour cr\xe9er, affiner et r\xe9utiliser votre contenu"},"api":{"title":"API","description":"Connectez Buffer \xe0 vos agents, outils d’automatisation, ou cr\xe9ez quelque chose d’enti\xe8rement nouveau"}},"madeForItems":{"creators":{"title":"Cr\xe9ateur\xb7rices","description":"D\xe9veloppez votre communaut\xe9 avec confiance, sans complexit\xe9"},"smallBusiness":{"title":"Petites entreprises","description":"Une fa\xe7on plus simple de g\xe9rer les r\xe9seaux sociaux de votre petite entreprise"},"agencies":{"title":"Agences","description":"G\xe9rez les r\xe9seaux sociaux de chaque client\xb7e en toute clart\xe9"},"nonprofits":{"title":"Associations","description":"Con\xe7u pour les petites \xe9quipes qui font de grandes choses"},"higherEducation":{"title":"Enseignement sup\xe9rieur","description":"Une gestion des r\xe9seaux sociaux pens\xe9e pour les \xe9coles et les universit\xe9s"}
1,"developers":{"title":"D\xe9veloppeur\xb7ses","description":"Ajoutez une couche sociale \xe0 tout ce que vous construisez"}},"toolsItems":{"canva":{"title":"Canva"},"googleDrive":{"title":"Google Drive"},"ifttt":{"title":"IFTTT"},"unsplash":{"title":"Unsplash"},"dropbox":{"title":"Dropbox"},"onedrive":{"title":"OneDrive"}},"resourceItems":{"blog":{"title":"Blog","description":"T\xe9moignages et ressources concr\xe8tes pour d\xe9velopper une audience engag\xe9e"},"templates":{"title":"Mod\xe8les","description":"Des mod\xe8les de contenu pr\xeats \xe0 l’emploi pour d\xe9marrer votre planification"},"freeTools":{"title":"Outils gratuits","description":"Des outils simples \xe0 utiliser pour d\xe9velopper votre pr\xe9sence sur les r\xe9seaux sociaux"},"socialMediaInsights":{"title":"Donn\xe9es sur les r\xe9seaux sociaux","description":"Tendances, rep\xe8res et conseils fond\xe9s sur les donn\xe9es pour progresser plus intelligemment sur les r\xe9seaux sociaux"},"ourCommunity":{"title":"Notre communaut\xe9","description":"Apprenez, \xe9changez et progressez avec des cr\xe9ateur\xb7rices du monde entier"},"support":{"title":"Support","description":"Articles d’aide et tutoriels pour tirer le meilleur de Buffer"},"developerDocs":{"title":"Documentation d\xe9veloppeur\xb7ses","description":"Connectez Buffer \xe0 vos agents, outils d’automatisation, ou cr\xe9ez quelque chose d’enti\xe8rement nouveau"},"caseStudies":{"title":"\xc9tudes de cas","description":"Comment les utilisateur\xb7rices exp\xe9riment\xe9\xb7es tirent le meilleur de Buffer."}}}}');var iN=r(58720);let iF={en:{...iT,...ik},es:{...i_,...iI},fr:{...iC,...iP}};function ij(e){let t=e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),r=document.cookie.match(new RegExp("(^| )".concat(t,"=([^;]+)")));return r?decodeURIComponent(r[2]):null}let iD=iv.createContext({}),iR=iv.createContext({locales:[]}),iM=e=>{var t;let{Component:n,pageProps:i,router:o}=e,a=(()=>{let e="";e=window.location.hostname;let t=(0,ic._L)(e);return new rU({cache:new n5,link:new iu({uri:t,headers:{"x-buffer-client-id":"buffer-marketing","x-buffer-client-name":"buffer-marketing"}})})})(),s=o.locale||"en",c={...null!=(t=iF[s])?t:iF.en,...i.messages},h=iv.useMemo(()=>({isBufferUser:i.isBufferUser}),[i.isBufferUser]),p=iv.useMemo(()=>{var e;return{locales:null!=(e=i.alternateLocales)?e:[],urls:i.alternateUrls}},[i.alternateLocales,i.alternateUrls]);return(0,u.jsx)(ix,{locale:s,timeZone:"UTC",messages:c,children:(0,u.jsxs)(ih,{pageClass:o.route,children:[(0,u.jsx)(iA.FR,{openGraph:{type:"website",locale:"es"===s?"es_ES":"en_US",url:"https://buffer.com",site_name:"Buffer: All-you-need social media toolkit for small businesses"},twitter:{handle:"@buffer",site:"@buffer",cardType:"summary_large_image"}}),(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(iy(),{id:"segment-script",children:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t={host:"segment-analytics.buffer.com",apiKey:e?iN.env.SEGMENT_WRITE_KEY_RESOURCES||"SSxPVcWxeEEJDecDDHywm1qf9z3c3i3h":iN.env.NEXT_PUBLIC_SEGMENT_WRITE_KEY||"xeEMmVDZY8h6SN541b4qos5mmHCNcMK5",page:!0};if(r.g.window){let e=new URLSearchParams(window.location.search);t.page={properties:{url:function(e){if(!e.includes("?"))return e;let t=e.split("?"),r=new URLSearchParams(t[1]),n=new URLSearchParams,i=0,o=0;for(let[e,t]of r)""!==e&&""!==t?n.append(e,t):i++,o++;return 0===i?e:i===o?t[0]:"".concat(t[0],"?").concat(n.toString())}(window.location.href),userAgent:window.navigator.userAgent,cta:e.get("cta")||"",...function(e){let t={};return e&&["utm_source","utm_medium","utm_campaign","utm_term","utm_content"].forEach(r=>{let n=null==e?void 0:e.get(r);n&&(t[r]=n)}),t}(e),screenWidth:screen.width,screenHeight:screen.height,viewportWidth:window.innerWidth,viewportHeight:window.innerHeight,fbp:ij("_fbp")||"",fbc:ij("_fbc")||""}}}var n=iS.j(t);let i=function(){if(l instanceof RegExp)return l;try{l=RegExp(" daum[ /]| deusu/|(?:^|[^g])news(?!sapphire)|(?<! (?:channel/|google/))google(?!(app|/google| pixel))|(?<! cu)bots?(?:\\b|_)|(?<!(?:lib))http|(?<!cam)scan|24x7|;\\s\\w+;$|@[a-z][\\w-]+\\.|\\(\\)|\\.com\\b|\\b\\w+\\.ai|\\bbw/|\\bdlc\\b|\\bort/|\\bperl\\b|\\btime/|\\||^[\\w \\.\\-\\(?:\\):%]+(?:/v?\\d+(?:\\.\\d+)?(?:\\.\\d{1,10})*?)?(?:,|$)|^[\\w\\-]+/[\\w]+$|^[^ ]{50,}$|^\\d+\\b|^\\W|^\\w*search\\b|^\\w+/[\\w\\(\\)]*$|^\\w+/\\d\\.\\d\\s\\([\\w@]+\\)$|^active|^ad muncher|^amaya|^apache/|^avsdevicesdk/|^azure|^biglotron|^blackbox exporter|^bot|^clamav[ /]|^claude-code/|^client/|^cobweb/|^custom|^ddg[_-]android|^discourse|^dispatch/\\d|^downcast/|^duckduckgo|^email|^exodusmovement|^facebook|^getright/|^gozilla/|^hobbit|^hotzonu|^hwcdn/|^igetter/|^jeode/|^jetty/|^jigsaw|^microsoft bits|^movabletype|^mozilla/\\d\\.\\d\\s[\\w\\.-]+$|^mozilla/\\d\\.\\d\\s\\((?:compatible;)?(?:\\s?[\\w\\d-.]+\\/\\d+\\.\\d+)?\\)$|^navermailapp|^netsurf|^offline|^openai/|^owler|^php|^postman|^ps_daily/|^python|^rank|^read|^reed|^remove\\.bg/|^rest|^rss|^snapchat|^sora |^space bison|^stape/|^svn|^swcd |^taringa|^thumbor/|^track|^w3c|^webbandit/|^webcopier|^wget|^whatsapp|^wordpress|^xenu link sleuth|^yahoo|^yandex|^zdm/\\d|^zoom marketplace/|abuse|advisor|agent\\b|analyzer|archive|ask jeeves/teoma|attracta|audit|bluecoat drtr|browsex|burpcollaborator|capture|catch|check\\b|checker|chrome-lighthouse|chromeframe|classifier|cloudflare|collapsify\\b|convertify|cookiehubverify/|crawl|cursor/|cypress/|dareboost|datanyze|dejaclick|detect|dmbrowser|download|exaleadcloudview|feed|fetcher|firephp|foregenix|functionize|grab|hardenize\\b|headless|hotjar|httrack|hubspot marketing grader|ibisbrowser|infrawatch|insight|inspect|iplabel|java(?!;)|library|linkcheck|linktiger|mail\\.ru/|manager|manus-user/|marketgoo/|measure|monitor\\b|neustar wpm|node\\b|nutch|offbyone|openvas|optimize|pageburst|pagespeed|parser|phantomjs|pingdom|playwright|powermarks|preview|proxy|ptst[ /]\\d|readable/|retriever|rexx;|rigor|rss\\b|scrape|securityheaders|selenium|server|silktide|sindup/|sogou|sparkler/|speedcurve|spider|splash|statuscake|supercleaner|synapse|synthetic|testlocally|tools|torrent|transcoder|upday/|url|validator|virtuoso|wappalyzer|watchtowr|webglance|webkit2png|whatcms/|xtate/","i")}catch(e){l=ib}return l}();return"var __isBot = false;\ntry {\n  __isBot = new RegExp(".concat(JSON.stringify(i.source),", ").concat(JSON.stringify(i.flags),").test(navigator.userAgent);\n} catch (e) {}\nif (__isBot) {\n  window.analytics = {\n    track: function () {},\n    identify: function () {},\n    page: function () {},\n    ready: function () {},\n  };\n} else {\n").concat(n,"\n}")}(o.route.includes("resources"))}),(0,u.jsx)(iy(),{id:"gcm",children:'\n              window.dataLayer = window.dataLayer || [];\n              function gtag() {\n                  dataLayer.push(arguments);\n              }\n              gtag("consent", "default", {\n                  ad_storage: "denied",\n                  ad_user_data: "denied",\n                  ad_personalization: "denied",\n                  analytics_storage: "denied",\n                  functionality_storage: "denied",\n                  personalization_storage: "denied",\n                  security_storage: "granted",\n                  wait_for_update: 2000,\n              });\n              gtag("set", "ads_data_redaction", true);\n              gtag("set", "url_passthrough", true);\n            '}),(0,u.jsx)(iy(),{id:"gtm",strategy:"afterInteractive",children:"\n            (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':\n            new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],\n            j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=\n            'https://www.googletagmanager.com/gtm.js?id='
1+i+dl;f.parentNode.insertBefore(j,f);\n            })(window,document,'script','dataLayer','GTM-58PRD29');\n            "}),(0,u.jsx)(iy(),{id:"cookieyes",src:"https://cdn-cookieyes.com/client_data/73a7491b50fa6e35a4e9e152/script.js",strategy:"afterInteractive"}),(0,u.jsx)(iy(),{id:"dub-analytics",src:"https://www.dubcdn.com/analytics/script.js",defer:!0,"data-cookieyes":"cookieyes-analytics","data-attribution-model":"last-click","data-cookie-options":JSON.stringify({domain:".buffer.com",expiresInDays:30}),"data-domains":JSON.stringify({refer:"join.buffer.com"}),strategy:"afterInteractive"})]}),(0,u.jsx)(iE,{client:a,children:(0,u.jsx)(iD.Provider,{value:h,children:(0,u.jsxs)(iR.Provider,{value:p,children:[(0,u.jsx)(n,{...i}),(0,u.jsx)(ig,{})]})})})]})})}},3799:(e,t,r)=>{"use strict";var n=r(46655),i=r(58546),o=r(43282),a=r(410);e.exports=function(e,t){if(!a(e))throw new n("Assertion failed: Type(O) is not Object");if(!o(t))throw new n("Assertion failed: P is not a Property Key, got "+i(t));return e[t]}},5845:e=>{"use strict";e.exports="undefined"!=typeof Reflect&&Reflect.getPrototypeOf||null},5952:(e,t,r)=>{"use strict";var n=r(55592),i=n("Object.prototype.toString"),o=r(56211)(),a=r(54891);if(o){var s=n("Symbol.prototype.toString"),l=a(/^Symbol\(.*\)$/);e.exports=function(e){if("symbol"==typeof e)return!0;if(!e||"object"!=typeof e||"[object Symbol]"!==i(e))return!1;try{return"symbol"==typeof e.valueOf()&&l(s(e))}catch(e){return!1}}}else e.exports=function(e){return!1}},7257:(e,t,r)=>{"use strict";var n=r(29767),i=r(43859),o=r(43531),a=r(67317),s=r(86524),l=r(73630),u=n(s()),c=function(e){return o(e),u(e)};i(c,{getPolyfill:s,implementation:a,shim:l}),e.exports=c},7271:()=>{},8189: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"),r=Object(t);if("string"==typeof t||"[object Symbol]"!==Object.prototype.toString.call(t)||"[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(var n in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length||"function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var i=Object.getOwnPropertySymbols(e);if(1!==i.length||i[0]!==t||!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(e,t);if(42!==o.value||!0!==o.enumerable)return!1}return!0}},9891:e=>{"use strict";e.exports=Math.pow},10109:(e,t,r)=>{"use strict";e.exports=r(17505)},11390:(e,t,r)=>{"use strict";var n=r(56085)("%Array.prototype%"),i=r(23588),o=r(51732),a=r(46655),s=r(1187),l=r(48502),u=r(33220);e.exports=function(e){if(!s(e)||e<0)throw new a("Assertion failed: `length` must be an integer Number >= 0");if(e>l)throw new i("length is greater than (2**32 - 1)");var t=arguments.length>1?arguments[1]:n,r=[];if(t!==n){if(!u)throw new o("ArrayCreate: a `proto` argument that is not `Array.prototype` is not supported in an environment that does not support setting the [[Prototype]]");u(r,t)}return 0!==e&&(r.length=e),r}},12279:(e,t,r)=>{"use strict";var n=r(56085)("%Array%"),i=!n.isArray&&r(55592)("Object.prototype.toString");e.exports=n.isArray||function(e){return"[object Array]"===i(e)}},12747:(e,t,r)=>{"use strict";var n=r(56085)("%Number%"),i=r(46655),o=r(62325),a=r(24072),s=r(55592)("String.prototype.charCodeAt"),l=r(34174),u=r(82243),c=r(64741),h=r(50497),p=r(81979);e.exports=function(e,t,r){if("boolean"!=typeof r)throw new i("Assertion failed: LeftFirst argument must be a Boolean");if(r?(f=c(e,n),d=c(t,n)):(d=c(t,n),f=c(e,n)),"string"==typeof f&&"string"==typeof d){for(var f,d,y,m,g=f.length,b=d.length,v=0;v<o(g,b);v++){var w=s(f,v),E=s(d,v);if(w<E)return!0;if(w>E)return!1}return g<b}if("bigint"==typeof f&&"string"==typeof d){if(void 0===(m=l(d)))return;return h(f,m)}if("string"==typeof f&&"bigint"==typeof d){if(void 0===(y=l(f)))return;return h(y,d)}return typeof(y=u(f))==typeof(m=u(d))?"number"==typeof y?p(y,m):h(y,m):a(y)||a(m)?void 0:y===-1/0||m===1/0||y!==1/0&&m!==-1/0&&y<m}},12812:(e,t,r)=>{"use strict";var n=r(44618),i=r(82507);e.exports=function(e){var t=i(e);return t<=0?0:t>n?n:t}},13895:e=>{"use strict";e.exports=Number.isNaN||function(e){return e!=e}}
1,15050:e=>{"use strict";e.exports=Function.prototype.call},15077:e=>{"use strict";var t=Object.prototype.toString,r=Math.max,n=function(e,t){for(var r=[],n=0;n<e.length;n+=1)r[n]=e[n];for(var i=0;i<t.length;i+=1)r[i+e.length]=t[i];return r},i=function(e,t){for(var r=[],n=t||0,i=0;n<e.length;n+=1,i+=1)r[i]=e[n];return r},o=function(e,t){for(var r="",n=0;n<e.length;n+=1)r+=e[n],n+1<e.length&&(r+=t);return r};e.exports=function(e){var a,s=this;if("function"!=typeof s||"[object Function]"!==t.apply(s))throw TypeError("Function.prototype.bind called on incompatible "+s);for(var l=i(arguments,1),u=r(0,s.length-l.length),c=[],h=0;h<u;h++)c[h]="$"+h;if(a=Function("binder","return function ("+o(c,",")+"){ return binder.apply(this,arguments); }")(function(){if(this instanceof a){var t=s.apply(this,n(l,arguments));return Object(t)===t?t:this}return s.apply(e,n(l,arguments))}),s.prototype){var p=function(){};p.prototype=s.prototype,a.prototype=new p,p.prototype=null}return a}},17505:e=>{"use strict";var t,r,n=Function.prototype.toString,i="object"==typeof Reflect&&null!==Reflect&&Reflect.apply;if("function"==typeof i&&"function"==typeof Object.defineProperty)try{t=Object.defineProperty({},"length",{get:function(){throw r}}),r={},i(function(){throw 42},null,t)}catch(e){e!==r&&(i=null)}else i=null;var o=/^\s*class\b/,a=function(e){try{var t=n.call(e);return o.test(t)}catch(e){return!1}},s=function(e){try{if(a(e))return!1;return n.call(e),!0}catch(e){return!1}},l=Object.prototype.toString,u="function"==typeof Symbol&&!!Symbol.toStringTag,c=!(0 in[,]),h=function(){return!1};if("object"==typeof document){var p=document.all;l.call(p)===l.call(document.all)&&(h=function(e){if((c||!e)&&(void 0===e||"object"==typeof e))try{var t=l.call(e);return("[object HTMLAllCollection]"===t||"[object HTML document.all class]"===t||"[object HTMLCollection]"===t||"[object Object]"===t)&&null==e("")}catch(e){}return!1})}e.exports=i?function(e){if(h(e))return!0;if(!e||"function"!=typeof e&&"object"!=typeof e)return!1;try{i(e,null,t)}catch(e){if(e!==r)return!1}return!a(e)&&s(e)}:function(e){if(h(e))return!0;if(!e||"function"!=typeof e&&"object"!=typeof e)return!1;if(u)return s(e);if(a(e))return!1;var t=l.call(e);return("[object Function]"===t||"[object GeneratorFunction]"===t||!!/^\[object HTML/.test(t))&&s(e)}},18317:(e,t,r)=>{"use strict";var n=r(38358),i=r(51732),o=r(46655),a=r(410),s=r(94198),l=r(76879),u=r(71492),c=r(43282),h=r(57660),p=r(31300),f=r(35956);e.exports=function(e,t,r){if(!a(e))throw new o("Assertion failed: O must be an Object");if(!c(t))throw new o("Assertion failed: P must be a Property Key");if(!s(r))throw new o("Assertion failed: Desc must be a Property Descriptor");if(!n){if(l(r))throw new i("This environment does not support accessor property descriptors.");var d=!(t in e)&&r["[[Writable]]"]&&r["[[Enumerable]]"]&&r["[[Configurable]]"]&&"[[Value]]"in r,y=t in e&&(!("[[Configurable]]"in r)||r["[[Configurable]]"])&&(!("[[Enumerable]]"in r)||r["[[Enumerable]]"])&&(!("[[Writable]]"in r)||r["[[Writable]]"])&&"[[Value]]"in r;if(d||y)return e[t]=r["[[Value]]"],p(e[t],r["[[Value]]"]);throw new i("This environment does not support defining non-writable, non-enumerable, or non-configurable properties")}var m=n(e,t),g=m&&h(m),b=u(e);return f(e,t,b,r,g)}},18334:(e,t,r)=>{"use strict";
1var n=r(66422),i=r(86140),o=r(24072),a=r(56308);e.exports=function(e){var t=n(e);return o(t)||0===t?0:a(t)?i(t):t}},19325:(e,t,r)=>{"use strict";var n=r(17505),i=r(65993),o=r(78407)(),a=r(55592),s=a("Function.prototype.toString"),l=a("String.prototype.match"),u=a("Object.prototype.toString"),c=/^class /,h=function(e){if(n(e)||"function"!=typeof e)return!1;try{return!!l(s(e),c)}catch(e){}return!1},p=/\s*function\s+([^(\s]*)\s*/,f=!(0 in[,]),d=Function.prototype,y=function(){return!1};"object"==typeof document&&u(document.all)===u(document.all)&&(y=function(e){if((f||!e)&&(void 0===e||"object"==typeof e))try{var t=u(e);return("[object HTMLAllCollection]"===t||"[object Object]"===t)&&null==e("")}catch(e){}return!1}),e.exports=function(){if(y(this)||!h(this)&&!n(this))throw TypeError("Function.prototype.name sham getter called on non-function");if(o&&i(this,"name"))return this.name;if(this===d)return"";var e=l(s(this),p);return e&&e[1]}},19528:(e,t,r)=>{"use strict";e.exports=r(61687).setPrototypeOf||null},19616:(e,t,r)=>{"use strict";function n(e){return 9===e||32===e}function i(e){return e>=48&&e<=57}function o(e){return e>=97&&e<=122||e>=65&&e<=90}function a(e){return o(e)||95===e}function s(e){return o(e)||i(e)||95===e}r.d(t,{i0:()=>n,un:()=>a,xr:()=>s,yp:()=>i})},19906:(e,t,r)=>{"use strict";var n=r(92999);e.exports=function(){return Array.prototype.toSorted||n}},20499:(e,t,r)=>{"use strict";var n=r(65993),i="function"==typeof Symbol&&"symbol"==typeof Symbol.unscopables,o=i&&Array.prototype[Symbol.unscopables],a=TypeError;e.exports=function(e){if("string"!=typeof e||!e)throw new a("method must be a non-empty string");if(!n(Array.prototype,e))throw new a("method must be on Array.prototype");i&&o&&(o[e]=!0)}},22060:e=>{"use strict";e.exports=ReferenceError},22079:(e,t,r)=>{"use strict";function n(e){return function e(t,r){switch(typeof t){case"string":return JSON.stringify(t);case"function":return t.name?`[function ${t.name}]`:"[function]";case"object":return function(t,r){if(null===t)return"null";if(r.includes(t))return"[Circular]";let n=[...r,t];if("function"==typeof t.toJSON){let r=t.toJSON();if(r!==t)return"string"==typeof r?r:e(r,n)}else if(Array.isArray(t)){var i=t,o=n;if(0===i.length)return"[]";if(o.length>2)return"[Array]";let r=Math.min(10,i.length),a=i.length-r,s=[];for(let t=0;t<r;++t)s.push(e(i[t],o));return 1===a?s.push("... 1 more item"):a>1&&s.push(`... ${a} more items`),"["+s.join(", ")+"]"}var a=t,s=n;let l=Object.entries(a);return 0===l.length?"{}":s.length>2?"["+function(e){let t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if("Object"===t&&"function"==typeof e.constructor){let t=e.constructor.name;if("string"==typeof t&&""!==t)return t}return t}(a)+"]":"{ "+l.map(([t,r])=>t+": "+e(r,s)).join(", ")+" }"}(t,r);default:return String(t)}}(e,[])}r.d(t,{N:()=>n})},22141:()=>{},22831:(e,t,r)=>{e.exports=r(65104)},23306:(e,t,r)=>{"use strict";function n(...e){let t={};return e.forEach(e=>{e&&Reflect.ownKeys(e).forEach(r=>{let n=e[r];void 0!==n&&(t[r]=n)})}),t}r.d(t,{o:()=>n})},23588:e=>{"use strict";e.exports=RangeError},24072:e=>{"use strict";e.exports=Number.isNaN||function(e){return e!=e}},24447:(e,t,r)=>{"use strict";e.exports=r(41739)},25174:(e,t,r)=>{"use strict";var n=Array.prototype.slice,i=r(31438),o=Object.keys,a=o?function(e){return o(e)}:r(72516),s=Object.keys;a.shim=function(){return Object.keys?!function(){var e=Object.keys(arguments);return e&&e.length===arguments.length}(1,2)&&(Object.keys=function(e){return i(e)?s(n.call(e)):s(e)}):Object.keys=a,Object.keys||a},e.exports=a},26450:(e,t,r)=>{"use strict";var n=r(43859),i=r(20499),o=r(72080);e.exports=function(){var e=o();return n(Array.prototype,{toReversed:e},{toReversed:function(){return Array.prototype.toReversed!==e}}),i("toReversed"),e}},26741:(e,t,r)=>{"use strict";var n=r(56085),i=r(46655),o=n("%Number%"),a=r(64827),s=r(64741),l=r(55276);e.exports=function(e){var t=a(e)?e:s(e,o);if("symbol"==typeof t)throw new i("Cannot convert a Symbol value to a number");if("bigint"==typeof t)throw new i("Conversion from 'BigInt' to 'number' is not allowed.");return"string"==typeof t?l(t):+t}},27190:e=>{"use strict";e.exports="undefined"!=typeof Reflect&&Reflect.setPrototypeOf||null},27278:(e,t,r)=>{"use strict";var n=r(56085),i=r(87751),o=r(29454)(),a=r(38358),s=r(46655),l=n("%Math.floor%");e.exports=function(e,t){if("function"!=typeof e)throw new s("`fn` is not a function");if("number"!=typeof t||t<0||t>0xffffffff||l(t)!==t)throw new s("`length` must be a positive 32-bit integer");var r=arguments.length>2&&!!arguments[2],n=!0,u=!0;if("length"in e&&a){var c=a(e,"length");c&&!c.configurable&&(n=!1),c&&!c.writable&&(u=!1)}return(n||u||!r)&&(o?i(e,"length",t,!0,!0):i(e,"length",t)),e}},27281:(e,t,r)=>{"use strict";var n=r(64751),i=r(73294),o=r(76926),a=r(75631),s=r(63944),l=r(45566);e.exports=function(){for(var e=s(this),t=a(e),r=n(t),u=0;u<t;){var c=l(t-u-1);i(r,l(u),o(e,c)),u+=1}return r}},27884:(e,t,r)=>{"use strict";var n=r(94198);e.exports=function(e,t){return n(t)&&"[[Enumerable]]"in t&&"[[Configurable]]"in t&&(e.IsAccessorDescriptor(t)||e.IsDataDescriptor(t))}},28653:e=>{"use strict";e.exports=function(e){return!!e}},29441:(e,t,r)=>{"use strict";var n=r(43859),i=r(29767),o=r(19325),a=r(56580),s=r(56118),l=i(o);n(l,{getPolyfill:a,implementation:o,shim:s}),e.exports=l},29454:(e,t,r)=>{"use strict";var n=r(59759),i=function(){return!!n};i.hasArrayLengthDefineBug=function(){if(!n)return null;try{return 1!==n([],"length",{value:1}).length}catch(e){return!0}},e.exports=i},29767:(e,t,r)=>{"use strict";var n=r(27278),i=r(59759),o=r(87822),a=r(79669);e.exports=function(e){var t=o(arguments),r=1+e.length-(arguments.length-1);return n(t,r>0?r:0,!0)},i?i(e.exports,"apply",{value:a}):e.exports.apply=a},30461:e=>{"use strict";e.exports=Error},31300:(e,t,r)=>{"use strict";var n=r(24072);e.exports=function(e,t){return e===t?0!==e||1/e==1/t:n(e)&&n(t)}},31317:e=>{"use strict";e.exports="undefined"!=typeof Reflect&&Reflect&&Reflect.apply},31438:e=>{"use strict";var t=Object.prototype.toString;e.exports=function(e){var r=t.call(e),n="[object Arguments]"===r;return n||(n="[object Array]"!==r&&null!==e&&"object"==typeof e&&"number"==typeof e.length&&e.length>=0&&"[object Function]"===t.call(e.callee)),n}},31920:(e,t,r)=>{"use strict";
1var n=r(46655),i=r(65993),o=r(94198);e.exports=function(e){if(void 0===e)return!1;if(!o(e))throw new n("Assertion failed: `Desc` must be a Property Descriptor");return!!i(e,"[[Get]]")||!!i(e,"[[Set]]")}},32044:(e,t,r)=>{"use strict";function n(e){try{return e()}catch{}}r.d(t,{n:()=>n})},32391:(e,t,r)=>{"use strict";var n=r(65993),i=r(46655),o=r(410),a=r(76562),s=r(28653);e.exports=function(e){if(!o(e))throw new i("ToPropertyDescriptor requires an object");var t={};if(n(e,"enumerable")&&(t["[[Enumerable]]"]=s(e.enumerable)),n(e,"configurable")&&(t["[[Configurable]]"]=s(e.configurable)),n(e,"value")&&(t["[[Value]]"]=e.value),n(e,"writable")&&(t["[[Writable]]"]=s(e.writable)),n(e,"get")){var r=e.get;if(void 0!==r&&!a(r))throw new i("getter must be a function");t["[[Get]]"]=r}if(n(e,"set")){var l=e.set;if(void 0!==l&&!a(l))throw new i("setter must be a function");t["[[Set]]"]=l}if((n(t,"[[Get]]")||n(t,"[[Set]]"))&&(n(t,"[[Value]]")||n(t,"[[Writable]]")))throw new i("Invalid property descriptor. Cannot both specify accessors and a value or writable attribute");return t}},33220:(e,t,r)=>{"use strict";var n=r(27190),i=r(19528),o=r(38811),a=r(46655);e.exports=n?function(e,t){if(n(e,t))return e;throw new a("Reflect.setPrototypeOf: failed to set [[Prototype]]")}:i||(o?function(e,t){return o(e,t),e}:null)},34038:(e,t,r)=>{"use strict";var n=r(46655),i=r(410),o=r(3799),a=r(12812);e.exports=function(e){if(!i(e))throw new n("Assertion failed: `obj` must be an Object");return a(o(e,"length"))}},34174:(e,t,r)=>{"use strict";var n=r(56085)("%BigInt%",!0),i=r(46655),o=r(51732);e.exports=function(e){if("string"!=typeof e)throw new i("`argument` must be a string");if(!n)throw new o("BigInts are not supported in this environment");try{return n(e)}catch(e){return}}},35915:(e,t,r)=>{"use strict";var n=r(46655),i=r(65993),o=r(94198);e.exports=function(e){if(void 0===e)return!1;if(!o(e))throw new n("Assertion failed: `Desc` must be a Property Descriptor");return!!i(e,"[[Value]]")||!!i(e,"[[Writable]]")}},35956:(e,t,r)=>{"use strict";var n=r(46655),i=r(410),o=r(91922),a=r(27884),s=r(94198),l=r(95405),u=r(76879),c=r(83160),h=r(65947),p=r(43282),f=r(31300);e.exports=function(e,t,r,d,y){if(void 0!==e&&!i(e))throw new n("Assertion failed: O must be undefined or an Object");if(!p(t))throw new n("Assertion failed: P must be a Property Key");if("boolean"!=typeof r)throw new n("Assertion failed: extensible must be a Boolean");if(!s(d))throw new n("Assertion failed: Desc must be a Property Descriptor");if(void 0!==y&&!s(y))throw new n("Assertion failed: current must be a Property Descriptor, or undefined");if(void 0===y)return!!r&&(void 0===e||(u(d)?o(c,f,l,e,t,d):o(c,f,l,e,t,{"[[Configurable]]":!!d["[[Configurable]]"],"[[Enumerable]]":!!d["[[Enumerable]]"],"[[Value]]":d["[[Value]]"],"[[Writable]]":!!d["[[Writable]]"]})));if(!a({IsAccessorDescriptor:u,IsDataDescriptor:c},y))throw new n("`current`, when present, must be a fully populated and valid Property Descriptor");if(!y["[[Configurable]]"]){if("[[Configurable]]"in d&&d["[[Configurable]]"]||"[[Enumerable]]"in d&&!f(d["[[Enumerable]]"],y["[[Enumerable]]"])||!h(d)&&!f(u(d),u(y)))return!1;if(u(y)){if("[[Get]]"in d&&!f(d["[[Get]]"],y["[[Get]]"])||"[[Set]]"in d&&!f(d["[[Set]]"],y["[[Set]]"]))return!1}else if(!y["[[Writable]]"]&&("[[Writable]]"in d&&d["[[Writable]]"]||"[[Value]]"in d&&!f(d["[[Value]]"],y["[[Value]]"])))return!1}if(void 0!==e){var m;return c(y)&&u(d)?o(c,f,l,e,t,{"[[Configurable]]":!!(m=("[[Configurable]]"in d?d:y)["[[Configurable]]"]),"[[Enumerable]]":!!("[[Enumerable]]"in d?d:y)["[[Enumerable]]"],"[[Get]]":("[[Get]]"in d?d:y)["[[Get]]"],"[[Set]]":("[[Set]]"in d?d:y)["[[Set]]"]}):u(y)&&c(d)?o(c,f,l,e,t,{"[[Configurable]]":!!(m=("[[Configurable]]"in d?d:y)["[[Configurable]]"]),"[[Enumerable]]":!!("[[Enumerable]]"in d?d:y)["[[Enumerable]]"],"[[Value]]":("[[Value]]"in d?d:y)["[[Value]]"],"[[Writable]]":!!("[[Writable]]"in d?d:y)["[[Writable]]"]}):o(c,f,l,e,t,d)}return!0}},36457:e=>{"use strict";e.exports=Math.round},37239:(e,t,r)=>{"use strict";var n=r(46655),i=r(410),o=r(43282),a=r(96316);e.exports=function(e,t,r){if(!i(e))throw new n("Assertion failed: Type(O) 
1is not Object");if(!o(t))throw new n("Assertion failed: P is not a Property Key");return a(e,t,{"[[Configurable]]":!0,"[[Enumerable]]":!0,"[[Value]]":r,"[[Writable]]":!0})}},37771:(e,t,r)=>{"use strict";var n;r.d(t,{Ll:()=>l,aD:()=>a,aZ:()=>i,cE:()=>n,ou:()=>o});class i{constructor(e,t,r){this.start=e.start,this.end=t.end,this.startToken=e,this.endToken=t,this.source=r}get[Symbol.toStringTag](){return"Location"}toJSON(){return{start:this.start,end:this.end}}}class o{constructor(e,t,r,n,i,o){this.kind=e,this.start=t,this.end=r,this.line=n,this.column=i,this.value=o,this.prev=null,this.next=null}get[Symbol.toStringTag](){return"Token"}toJSON(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}}}let a={Name:[],Document:["definitions"],OperationDefinition:["description","name","variableDefinitions","directives","selectionSet"],VariableDefinition:["description","variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["description","name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["description","directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","interfaces","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","interfaces","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"],TypeCoordinate:["name"],MemberCoordinate:["name","memberName"],ArgumentCoordinate:["name","fieldName","argumentName"],DirectiveCoordinate:["name"],DirectiveArgumentCoordinate:["name","argumentName"]},s=new Set(Object.keys(a));function l(e){let t=null==e?void 0:e.kind;return"string"==typeof t&&s.has(t)}!function(e){e.QUERY="query",e.MUTATION="mutation",e.SUBSCRIPTION="subscription"}(n||(n={}))},37785:e=>{!function(){var t={229:function(e){var t,r,n,i=e.exports={};function o(){throw Error("setTimeout has not been defined")}function a(){throw Error("clearTimeout has not been defined")}try{t="function"==typeof setTimeout?setTimeout:o}catch(e){t=o}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(e){r=a}function s(e){if(t===setTimeout)return setTimeout(e,0);if((t===o||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(r){try{return t.call(null,e,0)}catch(r){return t.call(this,e,0)}}}var l=[],u=!1,c=-1;function h(){u&&n&&(u=!1,n.length?l=n.concat(l):c=-1,l.length&&p())}function p(){if(!u){var e=s(h);u=!0;for(var t=l.length;t;){for(n=l,l=[];++c<t;)n&&n[c].run();c=-1,t=l.length}n=null,u=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function f(e,t){this.fun=e,this.array=t}function d(){}i.nextTick=function(e){var t=Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];l.push(new f(e,t)),1!==l.length||u||s(p)},f.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=d,i.addListener=d,i.once=d,i.off=d,i.removeListener=d,i.removeAllListeners=d,i.emit=d,i.prependListener=d,i.prependOnceListener=d,i.listeners=function(e){return[]},i.binding=function(e){throw Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw Error("process.chdir is not supported")},i.umask=function(){return 0}}},r={};function n(e){var i=r[e];if(void 0!==i)return i.exports;var o=r[e]={exports:{}},a=!0;try{t[e](o,o.exports,n),a=!1}finally{a&&delete r[e]}return o.exports}n.ab="//",e.exports=n(229)}()},38358:(e,t,r)=>{"use strict";var n=r(62740);if(n)try{n([],"length")}catch(e){n=null}e.exports=n},38811:(e,t,r)=>{"use strict";var n=r(87822),i=r(38358),o=r(46655),a={};try{a.__proto__=null}
1catch(e){if(!e||"object"!=typeof e||!("code"in e)||"ERR_PROTO_ACCESS"!==e.code)throw e}var s=!("toString"in a),l=i&&i(Object.prototype,"__proto__");e.exports=s&&(!!l&&"function"==typeof l.set&&n([l.set])||function(e,t){if(null==e)throw new o("set Object.prototype.__proto__ called on null or undefined");return e.__proto__=t,t})},39258:(e,t,r)=>{"use strict";r.d(t,{FR:()=>p,bV:()=>f});var n=r(49838),i=r(82500),o=r.n(i);function a(){return(a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var s=["keyOverride"],l={templateTitle:"",noindex:!1,nofollow:!1,defaultOpenGraphImageWidth:0,defaultOpenGraphImageHeight:0,defaultOpenGraphVideoWidth:0,defaultOpenGraphVideoHeight:0},u=function(e,t,r){void 0===t&&(t=[]);var i=void 0===r?{}:r,o=i.defaultWidth,a=i.defaultHeight;return t.reduce(function(t,r,i){return t.push(n.createElement("meta",{key:"og:"+e+":0"+i,property:"og:"+e,content:r.url})),r.alt&&t.push(n.createElement("meta",{key:"og:"+e+":alt0"+i,property:"og:"+e+":alt",content:r.alt})),r.secureUrl&&t.push(n.createElement("meta",{key:"og:"+e+":secure_url0"+i,property:"og:"+e+":secure_url",content:r.secureUrl.toString()})),r.type&&t.push(n.createElement("meta",{key:"og:"+e+":type0"+i,property:"og:"+e+":type",content:r.type.toString()})),r.width?t.push(n.createElement("meta",{key:"og:"+e+":width0"+i,property:"og:"+e+":width",content:r.width.toString()})):o&&t.push(n.createElement("meta",{key:"og:"+e+":width0"+i,property:"og:"+e+":width",content:o.toString()})),r.height?t.push(n.createElement("meta",{key:"og:"+e+":height"+i,property:"og:"+e+":height",content:r.height.toString()})):a&&t.push(n.createElement("meta",{key:"og:"+e+":height"+i,property:"og:"+e+":height",content:a.toString()})),t},[])},c=function(e){var t,r,i,o,c,h=[];e.titleTemplate&&(l.templateTitle=e.titleTemplate);var p="";e.title?(p=e.title,l.templateTitle&&(p=l.templateTitle.replace(/%s/g,function(){return p}))):e.defaultTitle&&(p=e.defaultTitle),p&&h.push(n.createElement("title",{key:"title"},p));var f=e.noindex||l.noindex||e.dangerouslySetAllPagesToNoIndex,d=e.nofollow||l.nofollow||e.dangerouslySetAllPagesToNoFollow,y="";if(e.robotsProps){var m=e.robotsProps,g=m.nosnippet,b=m.maxSnippet,v=m.maxImagePreview,w=m.maxVideoPreview,E=m.noarchive,S=m.noimageindex,O=m.notranslate,x=m.unavailableAfter;y=(g?",nosnippet":"")+(b?",max-snippet:"+b:"")+(v?",max-image-preview:"+v:"")+(E?",noarchive":"")+(x?",unavailable_after:"+x:"")+(S?",noimageindex":"")+(w?",max-video-preview:"+w:"")+(O?",notranslate":"")}if(f||d?(e.dangerouslySetAllPagesToNoIndex&&(l.noindex=!0),e.dangerouslySetAllPagesToNoFollow&&(l.nofollow=!0),h.push(n.createElement("meta",{key:"robots",name:"robots",content:(f?"noindex":"index")+","+(d?"nofollow":"follow")+y}))):h.push(n.createElement("meta",{key:"robots",name:"robots",content:"index,follow"+y})),e.description&&h.push(n.createElement("meta",{key:"description",name:"description",content:e.description})),e.themeColor&&h.push(n.createElement("meta",{key:"theme-color",name:"theme-color",content:e.themeColor})),e.mobileAlternate&&h.push(n.createElement("link",{rel:"alternate",key:"mobileAlternate",media:e.mobileAlternate.media,href:e.mobileAlternate.href})),e.languageAlternates&&e.languageAlternates.length>0&&e.languageAlternates.forEach(function(e){h.push(n.createElement("link",{rel:"alternate",key:"languageAlternate-"+e.hrefLang,hrefLang:e.hrefLang,href:e.href}))}),e.twitter&&(e.twitter.cardType&&h.push(n.createElement("meta",{key:"twitter:card",name:"twitter:card",content:e.twitter.cardType})),e.twitter.site&&h.push(n.createElement("meta",{key:"twitter:site",name:"twitter:site",content:e.twitter.site})),e.twitter.handle&&h.push(n.createElement("meta",{key:"twitter:creator",name:"twitter:creator",content:e.twitter.handle}))),e.facebook&&e.facebook.appId&&h.push(n.createElement("meta",{key:"fb:app_id",property:"fb:app_id",content:e.facebook.appId})),(null!=(t=e.openGraph)&&t.title||p)&&h.push(n.createElement("meta",{key:"og:title",property:"og:title",content:(null==(o=e.openGraph)?void 0:o.title)||p}
1)),(null!=(r=e.openGraph)&&r.description||e.description)&&h.push(n.createElement("meta",{key:"og:description",property:"og:description",content:(null==(c=e.openGraph)?void 0:c.description)||e.description})),e.openGraph){if((e.openGraph.url||e.canonical)&&h.push(n.createElement("meta",{key:"og:url",property:"og:url",content:e.openGraph.url||e.canonical})),e.openGraph.type){var A=e.openGraph.type.toLowerCase();h.push(n.createElement("meta",{key:"og:type",property:"og:type",content:A})),"profile"===A&&e.openGraph.profile?(e.openGraph.profile.firstName&&h.push(n.createElement("meta",{key:"profile:first_name",property:"profile:first_name",content:e.openGraph.profile.firstName})),e.openGraph.profile.lastName&&h.push(n.createElement("meta",{key:"profile:last_name",property:"profile:last_name",content:e.openGraph.profile.lastName})),e.openGraph.profile.username&&h.push(n.createElement("meta",{key:"profile:username",property:"profile:username",content:e.openGraph.profile.username})),e.openGraph.profile.gender&&h.push(n.createElement("meta",{key:"profile:gender",property:"profile:gender",content:e.openGraph.profile.gender}))):"book"===A&&e.openGraph.book?(e.openGraph.book.authors&&e.openGraph.book.authors.length&&e.openGraph.book.authors.forEach(function(e,t){h.push(n.createElement("meta",{key:"book:author:0"+t,property:"book:author",content:e}))}),e.openGraph.book.isbn&&h.push(n.createElement("meta",{key:"book:isbn",property:"book:isbn",content:e.openGraph.book.isbn})),e.openGraph.book.releaseDate&&h.push(n.createElement("meta",{key:"book:release_date",property:"book:release_date",content:e.openGraph.book.releaseDate})),e.openGraph.book.tags&&e.openGraph.book.tags.length&&e.openGraph.book.tags.forEac
1h(function(e,t){h.push(n.createElement("meta",{key:"book:tag:0"+t,property:"book:tag",content:e}))})):"article"===A&&e.openGraph.article?(e.openGraph.article.publishedTime&&h.push(n.createElement("meta",{key:"article:published_time",property:"article:published_time",content:e.openGraph.article.publishedTime})),e.openGraph.article.modifiedTime&&h.push(n.createElement("meta",{key:"article:modified_time",property:"article:modified_time",content:e.openGraph.article.modifiedTime})),e.openGraph.article.expirationTime&&h.push(n.createElement("meta",{key:"article:expiration_time",property:"article:expiration_time",content:e.openGraph.article.expirationTime})),e.openGraph.article.authors&&e.openGraph.article.authors.length&&e.openGraph.article.authors.forEach(function(e,t){h.push(n.createElement("meta",{key:"article:author:0"+t,property:"article:author",content:e}))}),e.openGraph.article.section&&h.push(n.createElement("meta",{key:"article:section",property:"article:section",content:e.openGraph.article.section})),e.openGraph.article.tags&&e.openGraph.article.tags.length&&e.openGraph.article.tags.forEach(function(e,t){h.push(n.createElement("meta",{key:"article:tag:0"+t,property:"article:tag",content:e}))})):("video.movie"===A||"video.episode"===A||"video.tv_show"===A||"video.other"===A)&&e.openGraph.video&&(e.openGraph.video.actors&&e.openGraph.video.actors.length&&e.openGraph.video.actors.forEach(function(e,t){e.profile&&h.push(n.createElement("meta",{key:"video:actor:0"+t,property:"video:actor",content:e.profile})),e.role&&h.push(n.createElement("meta",{key:"video:actor:role:0"+t,property:"video:actor:role",content:e.role}))}),e.openGraph.video.directors&&e.openGraph.video.directors.length&&e.openGraph.video.directors.forEach(function(e,t){h.push(n.createElement("meta",{key:"video:director:0"+t,property:"video:director",content:e}))}),e.openGraph.video.writers&&e.openGraph.video.writers.length&&e.openGraph.video.writers.forEach(function(e,t){h.push(n.createElement("meta",{key:"video:writer:0"+t,property:"video:writer",content:e}))}),e.openGraph.video.duration&&h.push(n.createElement("meta",{key:"video:duration",property:"video:duration",content:e.openGraph.video.duration.toString()})),e.openGraph.video.releaseDate&&h.push(n.createElement("meta",{key:"video:release_date",property:"video:release_date",content:e.openGraph.video.releaseDate})),e.openGraph.video.tags&&e.openGraph.video.tags.length&&e.openGraph.video.tags.forEac
1h(function(e,t){h.push(n.createElement("meta",{key:"video:tag:0"+t,property:"video:tag",content:e}))}),e.openGraph.video.series&&h.push(n.createElement("meta",{key:"video:series",property:"video:series",content:e.openGraph.video.series})))}e.defaultOpenGraphImageWidth&&(l.defaultOpenGraphImageWidth=e.defaultOpenGraphImageWidth),e.defaultOpenGraphImageHeight&&(l.defaultOpenGraphImageHeight=e.defaultOpenGraphImageHeight),e.openGraph.images&&e.openGraph.images.length&&h.push.apply(h,u("image",e.openGraph.images,{defaultWidth:l.defaultOpenGraphImageWidth,defaultHeight:l.defaultOpenGraphImageHeight})),e.defaultOpenGraphVideoWidth&&(l.defaultOpenGraphVideoWidth=e.defaultOpenGraphVideoWidth),e.defaultOpenGraphVideoHeight&&(l.defaultOpenGraphVideoHeight=e.defaultOpenGraphVideoHeight),e.openGraph.videos&&e.openGraph.videos.length&&h.push.apply(h,u("video",e.openGraph.videos,{defaultWidth:l.defaultOpenGraphVideoWidth,defaultHeight:l.defaultOpenGraphVideoHeight})),e.openGraph.audio&&h.push.apply(h,u("audio",e.openGraph.audio)),e.openGraph.locale&&h.push(n.createElement("meta",{key:"og:locale",property:"og:locale",content:e.openGraph.locale})),(e.openGraph.siteName||e.openGraph.site_name)&&h.push(n.createElement("meta",{key:"og:site_name",property:"og:site_name",content:e.openGraph.siteName||e.openGraph.site_name}))}return e.canonical&&h.push(n.createElement("link",{rel:"canonical",href:e.canonical,key:"canonical"})),e.additionalMetaTags&&e.additionalMetaTags.length>0&&e.additionalMetaTags.forEach(function(e){var t,r,i=e.keyOverride,o=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,s);h.push(n.createElement("meta",a({key:"meta:"+(null!=(t=null!=(r=null!=i?i:o.name)?r:o.property)?t:o.httpEquiv)},o)))}),null!=(i=e.additionalLinkTags)&&i.length&&e.additionalLinkTags.forEach(function(e){var t;h.push(n.createElement("link",a({key:"link"+(null!=(t=e.keyOverride)?t:e.href)+e.rel},e)))}),h},h=function(e){return n.createElement(o(),null,c(e))},p=function(e){var t=e.title,r=e.titleTemplate,i=e.defaultTitle,o=e.themeColor,a=e.dangerouslySetAllPagesToNoIndex,s=e.dangerouslySetAllPagesToNoFollow,l=e.description,u=e.canonical,c=e.facebook,p=e.openGraph,f=e.additionalMetaTags,d=e.twitter,y=e.defaultOpenGraphImageWidth,m=e.defaultOpenGraphImageHeight,g=e.defaultOpenGraphVideoWidth,b=e.defaultOpenGraphVideoHeight,v=e.mobileAlternate,w=e.languageAlternates,E=e.additionalLinkTags,S=e.robotsProps;return n.createElement(h,{title:t,titleTemplate:r,defaultTitle:i,themeColor:o,dangerouslySetAllPagesToNoIndex:void 0!==a&&a,dangerouslySetAllPagesToNoFollow:void 0!==s&&s,description:l,canonical:u,facebook:c,openGraph:p,additionalMetaTags:f,twitter:d,defaultOpenGraphImageWidth:y,defaultOpenGraphImageHeight:m,defaultOpenGraphVideoWidth:g,defaultOpenGraphVideoHeight:b,mobileAlternate:v,languageAlternates:w,additionalLinkTags:E,robotsProps:S})},f=function(e){var t=e.title,r=e.themeColor,i=e.noindex,o=void 0!==i&&i,a=e.nofollow,s=e.robotsProps,l=e.description,u=e.canonical,p=e.openGraph,f=e.facebook,d=e.twitter,y=e.additionalMetaTags,m=e.titleTemplate,g=e.defaultTitle,b=e.mobileAlternate,v=e.languageAlternates,w=e.additionalLinkTags,E=e.useAppDir;return n.createElement(n.Fragment,null,void 0!==E&&E?c({title:t,themeColor:r,noindex:o,nofollow:a,robotsProps:s,description:l,canonical:u,facebook:f,openGraph:p,additionalMetaTags:y,twitter:d,titleTemplate:m,defaultTitle:g,mobileAlternate:b,languageAlternates:v,additionalLinkTags:w}):n.createElement(h,{title:t,themeColor:r,noindex:o,nofollow:a,robotsProps:s,description:l,canonical:u,facebook:f,openGraph:p,additionalMetaTags:y,twitter:d,titleTemplate:m,defaultTitle:g,mobileAlternate:b,languageAlternates:v,additionalLinkTags:w}))};RegExp("["+Object.keys(Object.freeze({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&apos;"})).join("")+"]","g")},39658:(e,t,r)=>{"use strict";var n=r(24072);e.exports=function(e){return n(e)||0===e?e:e<0?-1:1}},41345:(e,t,r)=>{"use strict";var n,i=r(55592),o=r(87544)(),a=r(65993),s=r(38358);if(o){var l=i("RegExp.prototype.exec"),u={},c=function(){throw u}
1,h={toString:c,valueOf:c};"symbol"==typeof Symbol.toPrimitive&&(h[Symbol.toPrimitive]=c),n=function(e){if(!e||"object"!=typeof e)return!1;var t=s(e,"lastIndex");if(!(t&&a(t,"value")))return!1;try{l(e,h)}catch(e){return e===u}}}else{var p=i("Object.prototype.toString");n=function(e){return!!e&&("object"==typeof e||"function"==typeof e)&&"[object RegExp]"===p(e)}}e.exports=n},41739:(e,t,r)=>{"use strict";var n=r(61687),i=r(43531);e.exports=function(e){return i(e),n(e)}},42643:(e,t,r)=>{"use strict";var n=r(85569),i=r(46655);e.exports=function(e){if("number"!=typeof e&&"bigint"!=typeof e)throw new i("argument must be a Number or a BigInt");var t=e<0?-n(-e):n(e);return 0===t?0:t}},42979:(e,t,r)=>{"use strict";var n=r(44618),i=r(18334);e.exports=function(e){var t=i(e);return t<=0?0:t>n?n:t}},43282:e=>{"use strict";e.exports=function(e){return"string"==typeof e||"symbol"==typeof e}},43531:(e,t,r)=>{"use strict";var n=r(46655);e.exports=function(e){if(null==e)throw new n(arguments.length>0&&arguments[1]||"Cannot call method on "+e);return e}},43859:(e,t,r)=>{"use strict";var n=r(25174),i="function"==typeof Symbol&&"symbol"==typeof Symbol("foo"),o=Object.prototype.toString,a=Array.prototype.concat,s=r(87751),l=r(29454)(),u=function(e,t,r,n){if(t in e){if(!0===n){if(e[t]===r)return}else if("function"!=typeof n||"[object Function]"!==o.call(n)||!n())return}l?s(e,t,r,!0):s(e,t,r)},c=function(e,t){var r=arguments.length>2?arguments[2]:{},o=n(t);i&&(o=a.call(o,Object.getOwnPropertySymbols(t)));for(var s=0;s<o.length;s+=1)u(e,o[s],t[o[s]],r[o[s]])};c.supportsDescriptors=!!l,e.exports=c},44618:e=>{"use strict";e.exports=Number.MAX_SAFE_INTEGER||0x1fffffffffffff},45566:(e,t,r)=>{"use strict";var n=r(56085)("%String%"),i=r(46655);e.exports=function(e){if("symbol"==typeof e)throw new i("Cannot convert a Symbol value to a string");return n(e)}},46650:(e,t,r)=>{"use strict";var n=r(46655),i=r(31920),o=r(35915),a=r(94198);e.exports=function(e){if(void 0===e)return!1;if(!a(e))throw new n("Assertion failed: `Desc` must be a Property Descriptor");return!(i(e)||o(e))}},46655:e=>{"use strict";e.exports=TypeError},46849:(e,t,r)=>{"use strict";var n=r(5845),i=r(76933),o=r(61775);e.exports=n?function(e){return n(e)}:i?function(e){if(!e||"object"!=typeof e&&"function"!=typeof e)throw TypeError("getProto: not an object");return i(e)}:o?function(e){return o(e)}:null},48502:e=>{"use strict";e.exports=0xffffffff},50497:(e,t,r)=>{"use strict";var n=r(46655);e.exports=function(e,t){if("bigint"!=typeof e||"bigint"!=typeof t)throw new n("Assertion failed: `x` and `y` arguments must be BigInts");return e<t}},50537:(e,t,r)=>{"use strict";var n=r(29441),i=n(function(){});e.exports=function(e){return"function"==typeof e&&(!e.prototype||n(e)===i)}},51331:e=>{e.exports=function(e){var t,r="";return r+("(function(){\n\n  // Create a queue, but don't obliterate an existing one!\n  var analytics = window.analytics = window.analytics || [];\n\n  // If the real analytics.js is already on the page return.\n  if (analytics.initialize) return;\n\n  // If the snippet was invoked already show an error.\n  if (analytics.invoked) {\n    if (window.console && console.error) {\n      console.error('Segment snippet included twice.');\n    }\n    return;\n  }\n\n  // Invoked flag, to make sure the snippet\n  // is never invoked twice.\n  analytics.invoked = true;\n\n  // A list of the methods in Analytics.js to stub.\n  analytics.methods = [\n    'trackSubmit',\n    'trackClick',\n    'trackLink',\n    'trackForm',\n    'pageview',\n    'identify',\n    'reset',\n    'group',\n    'track',\n    'ready',\n    'alias',\n    'debug',\n    'page',\n    'once',\n    'off',\n    'on',\n    'addSourceMiddleware',\n    'addIntegrationMiddleware',\n    'setAnonymousId',\n    'addDestinationMiddleware'\n  ];\n\n  // Define a factory to create stubs. These are placeholders\n  // for methods in Analytics.js so that you never have to wait\n  // for it to load to actually record data. The `method` is\n  // stored as the first argument, so we can replay the data.\n  analytics.factory = function(e){\n    return function(){\n      if (window.analytics.initialized) {\n        // Sometimes users assigned analytics to a variable before analytics is done loading, resulting in a stale reference.\n        // If so, proxy any calls to the 'real' analytics instance.\n        return window.analytics[e].apply(window.analytics, arguments);\n      }\n      var args = Array.prototype.slice.call(arguments);\n      args.unshift(e);\n      analytics.push(args);\n      return analytics;\n    };\n  };\n\n\n  // For each of our methods, generate a queueing stub.\n  for (var i = 0; i < analytics.methods.length;
1 i++) {\n    var key = analytics.methods[i];\n    analytics[key] = analytics.factory(key);\n  }\n\n  // Define a method to load Analytics.js from our CDN,\n  // and that will be sure to only ever load it once.\n  analytics.load = function(key, options){\n    // Create an async script element based on your key.\n    var t = document.createElement('script');\n    t.type = 'text/javascript';\n    t.async = true;\n    t.src = \"https://"+(null==(t=e.host)?"":t)+(null==(t=e.ajsPath)?"":t)+"\";\n\n    // Insert our script next to the first script element.\n    var first = document.getElementsByTagName('script')[0];\n    first.parentNode.insertBefore(t, first);\n    analytics._loadOptions = options;\n  };\n  analytics._writeKey = '"+(null==(t=e.apiKey)?"":t)+"';\n\n  "+(null==(t=e.optionalCDN)?"":t)+"\n\n  // Add a version to keep track of what's in the wild.\n  analytics.SNIPPET_VERSION = '4.16.1';\n\n  // Load Analytics.js with your key, which will automatically\n  // load the tools you've enabled for your account. Boosh!\n  "+(null==(t=e.load)?"":t)+"\n\n  // Make the first page call to load the integrations. If\n  // you'd like to manually name or tag the page, edit or\n  // move this call however you'd like.\n  "+(null==(t=e.page)?"":t)+"\n})();\n")}},51732:e=>{"use strict";e.exports=SyntaxError},51925:(e,t,r)=>{"use strict";r.d(t,{v:()=>i});let n=new Map;function i(e){let t=n.get(e)||1;return n.set(e,t+1),`${e}:${t}:${Math.random().toString(36).slice(2)}`}},52912:(e,t,r)=>{"use strict";r.d(t,{V1:()=>h,vA:()=>f});var n=r(230),i=r(61851),o=r(69744),a=r(77461);let s="Invariant Violation";class l extends Error{constructor(e=s){super(e),this.name=s,Object.setPrototypeOf(this,l.prototype)}}let u=["debug","log","warn","error","silent"],c=u.indexOf(n.g?"log":"silent");function h(e,...t){if(!e)throw f(...t)}function p(e){return function(t,...r){if(u.indexOf(e)>=c){let n=console[e]||console.log;if("number"==typeof t){let e=t;(t=m(e))||(t=g(e,r),r=[])}n(t,...r)}}}function f(e,...t){return new l(m(e,t)||g(e,t))}h.debug=p("debug"),h.log=p("log"),h.warn=p("warn"),h.error=p("error");let d=Symbol.for("ApolloErrorMessageHandler_"+o.r);function y(e){if("string"==typeof e)return e;try{return(0,a.p)(e,2).slice(0,1e3)}catch{return"<non-serializable>"}}function m(e,t=[]){if(e)return i.A[d]&&i.A[d](e,t.map(y))}function g(e,t=[]){if(e)return"string"==typeof e?t.reduce((e,t)=>e.replace(/%[sdfo]/,y(t)),e):`An error occurred! For more details, see the full error text at https://go.apollo.dev/c/err#${encodeURIComponent(JSON.stringify({version:o.r,message:e,args:t.map(y)}))}`}},53337:e=>{"use strict";e.exports=EvalError},53562:e=>{"use strict";e.exports=function(e){return null===e||"function"!=typeof e&&"object"!=typeof e}},54543:(e,t,r)=>{"use strict";var n=r(56085),i=n("%Object.preventExtensions%",!0),o=n("%Object.isExtensible%",!0),a=r(64827);e.exports=i?function(e){return!a(e)&&o(e)}:function(e){return!a(e)}},54891:(e,t,r)=>{"use strict";var n=r(55592),i=r(41345),o=n("RegExp.prototype.exec"),a=r(46655);e.exports=function(e){if(!i(e))throw new a("`regex` must be a RegExp");return function(t){return null!==o(e,t)}}},55276:(e,t,r)=>{"use strict";var n=r(56085),i=n("%RegExp%"),o=r(46655),a=n("%parseInt%"),s=r(55592),l=r(54891),u=s("String.prototype.slice"),c=l(/^0b[01]+$/i),h=l(/^0o[0-7]+$/i),p=l(/^[-+]0x[0-9a-f]+$/i),f=l(new i("[\x85​￾]","g")),d=r(7257);e.exports=function e(t){if("string"!=typeof t)throw new o("Assertion failed: `argument` is not a String");if(c(t))return+a(u(t,2),2);if(h(t))return+a(u(t,2),8);if(f(t)||p(t))return NaN;var r=d(t);return r!==t?e(r):+t}},55592:(e,t,r)=>{"use strict";var n=r(56085),i=r(87822),o=i([n("%String.prototype.indexOf%")]);e.exports=function(e,t){var r=n(e,!!t);return"function"==typeof r&&o(e,".prototype.")>-1?i([r]):r}},56085:(e,t,r)=>{"use strict";var n,i=r(61687),o=r(30461),a=r(53337),s=r(23588),l=r(22060),u=r(51732),c=r(46655),h=r(84911),p=r(93129),f=r(95099),d=r(82487),y=r(62325),m=r(9891),g=r(36457),b=r(39658),v=Function,w=function(e){try{return v('"use strict"; return ('+e+").constructor;")()}catch(e){}},E=r(38358),S=r(59759),O=function(){throw new c},x=E?function(){try{return arguments.callee,O}catch(e){try{return E(arguments,"callee").get}catch(e){return O}}}():O,A=r(56211)(),k=r(46849),T=r(76933),I=r(5845),_=r(79406),P=r(15050),C={},N="undefined"!=typeof Uint8Array&&k?k(Uint8Array):n,F={__proto__:null,"%AggregateError%":"undefined"==typeof AggregateError?n:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?n:ArrayBuffer,"%ArrayIteratorPrototype%":A&&
1k?k([][Symbol.iterator]()):n,"%AsyncFromSyncIteratorPrototype%":n,"%AsyncFunction%":C,"%AsyncGenerator%":C,"%AsyncGeneratorFunction%":C,"%AsyncIteratorPrototype%":C,"%Atomics%":"undefined"==typeof Atomics?n:Atomics,"%BigInt%":"undefined"==typeof BigInt?n:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?n:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?n:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?n:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":o,"%eval%":eval,"%EvalError%":a,"%Float16Array%":"undefined"==typeof Float16Array?n:Float16Array,"%Float32Array%":"undefined"==typeof Float32Array?n:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?n:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?n:FinalizationRegistry,"%Function%":v,"%GeneratorFunction%":C,"%Int8Array%":"undefined"==typeof Int8Array?n:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?n:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?n:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%
1IteratorPrototype%":A&&k?k(k([][Symbol.iterator]())):n,"%JSON%":"object"==typeof JSON?JSON:n,"%Map%":"undefined"==typeof Map?n:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&A&&k?k(new Map()[Symbol.iterator]()):n,"%Math%":Math,"%Number%":Number,"%Object%":i,"%Object.getOwnPropertyDescriptor%":E,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?n:Promise,"%Proxy%":"undefined"==typeof Proxy?n:Proxy,"%RangeError%":s,"%ReferenceError%":l,"%Reflect%":"undefined"==typeof Reflect?n:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?n:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&A&&k?k(new Set()[Symbol.iterator]()):n,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?n:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":A&&k?k(""[Symbol.iterator]()):n,"%Symbol%":A?Symbol:n,"%SyntaxError%":u,"%ThrowTypeError%":x,"%TypedArray%":N,"%TypeError%":c,"%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%":h,"%WeakMap%":"undefined"==typeof WeakMap?n:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?n:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?n:WeakSet,"%Function.prototype.call%":P,"%Function.prototype.apply%":_,"%Object.defineProperty%":S,"%Object.getPrototypeOf%":T,"%Math.abs%":p,"%Math.floor%":f,"%Math.max%":d,"%Math.min%":y,"%Math.pow%":m,"%Math.round%":g,"%Math.sign%":b,"%Reflect.getPrototypeOf%":I};if(k)try{null.error}catch(e){var j=k(k(e));F["%Error.prototype%"]=j}var D=function e(t){var r;if("%AsyncFunction%"===t)r=w("async function () {}");else if("%GeneratorFunction%"===t)r=w("function* () {}");else if("%AsyncGeneratorFunction%"===t)r=w("async function* () {}");else if("%AsyncGenerator%"===t){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if("%AsyncIteratorPrototype%"===t){var i=e("%AsyncGenerator%");i&&k&&(r=k(i.prototype))}return F[t]=r,r},R={__proto__:null,"%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"]},M=r(94537),B=r(65993),H=M.call(P,Array.prototype.concat),L=M.call(_,Array.prototype.splice),V=M.call(P,String.prototype.replace),G=M.call(P,String.prototype.slice),U=M.call(P,RegExp.prototype.exec),q=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,W=/\\(\\)?/g,z=function(e){var t=G(e,0,1),r=G(e,-1);if("%"===t&&"%"!==r)throw new u("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==t)throw new u("invalid intrinsic syntax, expected opening `%`");var n=[];return V(e,q,function(e,t,r,i){n[n.length]=r?V(i,W,"$1"):t||e}),n},Q=function(e,t){var r,n=e;if(B(R,n)&&(n="%"+(r=R[n])[0]+"%"),B(F,n)){var i=F[n];if(i===C&&(i=D(n)),void 0===i&&!t)throw new c("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:i}}throw new u("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new c("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new c('"allowMissing" argument must be a boolean');if(null===U(/^%?[^%]*%?$/,e))throw new u("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var r=z(e),n=r.length>0?r[0]:"",i=Q("%"+n+"%",t),o=i.name,a=i.value,s=!1,l=i.alias;l&&(n=l[0],L(r,H([0,1],l)));for(var h=1,p=!0;h<r.length;h+=1){var f=r[h],d=G(f,0,1),y=G(f,-1);if(('"'===d||"'"===d||"`"===d||'"'===y||"'"===y||"`"===y)&&d!==y)throw new u("property names with quotes must have matching quotes");if("constructor"!==f&&p||(s=!0),n+="."+f,B(F,o="%"+n+"%"))a=F[o];
1else if(null!=a){if(!(f in a)){if(!t)throw new c("base intrinsic for "+e+" exists, but the property is not available.");return}if(E&&h+1>=r.length){var m=E(a,f);a=(p=!!m)&&"get"in m&&!("originalValue"in m.get)?m.get:a[f]}else p=B(a,f),a=a[f];p&&!s&&(F[o]=a)}}return a}},56118:(e,t,r)=>{"use strict";var n=r(43859).supportsDescriptors,i=r(78407)(),o=r(56580),a=Object.defineProperty,s=TypeError;e.exports=function(){var e=o();if(i)return e;if(!n)throw new s("Shimming Function.prototype.name support requires ES5 property descriptor support.");var t=Function.prototype;return a(t,"name",{configurable:!0,enumerable:!1,get:function(){var r=e.call(this);return this!==t&&a(this,"name",{configurable:!0,enumerable:!1,value:r,writable:!1}),r}}),e}},56211:(e,t,r)=>{"use strict";var n="undefined"!=typeof Symbol&&Symbol,i=r(8189);e.exports=function(){return"function"==typeof n&&"function"==typeof Symbol&&"symbol"==typeof n("foo")&&"symbol"==typeof Symbol("bar")&&i()}},56308:(e,t,r)=>{"use strict";var n=r(24072);e.exports=function(e){return("number"==typeof e||"bigint"==typeof e)&&!n(e)&&e!==1/0&&e!==-1/0}},56580:(e,t,r)=>{"use strict";var n=r(19325);e.exports=function(){return n}},56637:(e,t,r)=>{e.exports=r(28286)},57660:(e,t,r)=>{"use strict";var n=r(65993),i=r(46655),o=r(410),a=r(10109),s=r(90704);e.exports=function(e){if(!o(e))throw new i("ToPropertyDescriptor requires an object");var t={};if(n(e,"enumerable")&&(t["[[Enumerable]]"]=s(e.enumerable)),n(e,"configurable")&&(t["[[Configurable]]"]=s(e.configurable)),n(e,"value")&&(t["[[Value]]"]=e.value),n(e,"writable")&&(t["[[Writable]]"]=s(e.writable)),n(e,"get")){var r=e.get;if(void 0!==r&&!a(r))throw new i("getter must be a function");t["[[Get]]"]=r}if(n(e,"set")){var l=e.set;if(void 0!==l&&!a(l))throw new i("setter must be a function");t["[[Set]]"]=l}if((n(t,"[[Get]]")||n(t,"[[Set]]"))&&(n(t,"[[Value]]")||n(t,"[[Writable]]")))throw new i("Invalid property descriptor. Cannot both specify accessors and a value or writable attribute");return t}},58546:(e,t,r)=>{var n="function"==typeof Map&&Map.prototype,i=Object.getOwnPropertyDescriptor&&n?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,o=n&&i&&"function"==typeof i.get?i.get:null,a=n&&Map.prototype.forEach,s="function"==typeof Set&&Set.prototype,l=Object.getOwnPropertyDescriptor&&s?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,u=s&&l&&"function"==typeof l.get?l.get:null,c=s&&Set.prototype.forEach,h="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,p="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,f="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,d=Boolean.prototype.valueOf,y=Object.prototype.toString,m=Function.prototype.toString,g=String.prototype.match,b=String.prototype.slice,v=String.prototype.replace,w=String.prototype.toUpperCase,E=String.prototype.toLowerCase,S=RegExp.prototype.test,O=Array.prototype.concat,x=Array.prototype.join,A=Array.prototype.slice,k=Math.floor,T="function"==typeof BigInt?BigInt.prototype.valueOf:null,I=Object.getOwnPropertySymbols,_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,P="function"==typeof Symbol&&"object"==typeof Symbol.iterator,C="function"==typeof Symbol&&Symbol.toStringTag&&(typeof Symbol.toStringTag===P?"object":"symbol")?Symbol.toStringTag:null,N=Object.prototype.propertyIsEnumerable,F=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function j(e,t){if(e===1/0||e===-1/0||e!=e||e&&e>-1e3&&e<1e3||S.call(/e/,t))return t;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof e){var n=e<0?-k(-e):k(e);if(n!==e){var i=String(n),o=b.call(t,i.length+1);return v.call(i,r,"$&_")+"."+v.call(v.call(o,/([0-9]{3})/g,"$&_"),/_$/,"")}}return v.call(t,r,"$&_")}var D=r(7271),R=D.custom,M=q(R)?R:null,B={__proto__:null,double:'"',single:"'"},H={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};function L(e,t,r){var n=B[r.quoteStyle||t];return n+e+n}function V(e){return!C||!("object"==typeof e&&(C in e||void 0!==e[C]))}function G(e){return"[object Array]"===Q(e)&&V(e)}function U(e){return"[object RegExp]"===Q(e)&&V(e)}function q(e){if(P)return e&&"object"==typeof e&&e instanceof Symbol;if("symbol"==typeof e)return!0;
1if(!e||"object"!=typeof e||!_)return!1;try{return _.call(e),!0}catch(e){}return!1}e.exports=function e(t,n,i,s){var l,y,w,S,k,I=n||{};if(z(I,"quoteStyle")&&!z(B,I.quoteStyle))throw TypeError('option "quoteStyle" must be "single" or "double"');if(z(I,"maxStringLength")&&("number"==typeof I.maxStringLength?I.maxStringLength<0&&I.maxStringLength!==1/0:null!==I.maxStringLength))throw TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var R=!z(I,"customInspect")||I.customInspect;if("boolean"!=typeof R&&"symbol"!==R)throw TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(z(I,"indent")&&null!==I.indent&&"	"!==I.indent&&!(parseInt(I.indent,10)===I.indent&&I.indent>0))throw TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(z(I,"numericSeparator")&&"boolean"!=typeof I.numericSeparator)throw TypeError('option "numericSeparator", if provided, must be `true` or `false`');var W=I.numericSeparator;if(void 0===t)return"undefined";if(null===t)return"null";if("boolean"==typeof t)return t?"true":"false";if("string"==typeof t)return function e(t,r){if(t.length>r.maxStringLength){var n=t.length-r.maxStringLength;return e(b.call(t,0,r.maxStringLength),r)+("... "+n)+" more character"+(n>1?"s":"")}var i=H[r.quoteStyle||"single"];return i.lastIndex=0,L(v.call(v.call(t,i,"\\$1"),/[\x00-\x1f]/g,K),"single",r)}(t,I);if("number"==typeof t){if(0===t)return 1/0/t>0?"0":"-0";var et=String(t);return W?j(t,et):et}if("bigint"==typeof t){var er=String(t)+"n";return W?j(t,er):er}var en=void 0===I.depth?5:I.depth;if(void 0===i&&(i=0),i>=en&&en>0&&"object"==typeof t)return G(t)?"[Array]":"[Object]";var ei=function(e,t){var r;if("	"===e.indent)r="	";else{if("number"!=typeof e.indent||!(e.indent>0))return null;r=x.call(Array(e.indent+1)," ")}return{base:r,prev:x.call(Array(t+1),r)}}(I,i);if(void 0===s)s=[];else if($(s,t)>=0)return"[Circular]";function eo(t,r,n){if(r&&(s=A.call(s)).push(r),n){var o={depth:I.depth};return z(I,"quoteStyle")&&(o.quoteStyle=I.quoteStyle),e(t,o,i+1,s)}return e(t,I,i+1,s)}if("function"==typeof t&&!U(t)){var ea=function(e){if(e.name)return e.name;var t=g.call(m.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}(t),es=ee(t,eo);return"[Function"+(ea?": "+ea:" (anonymous)")+"]"+(es.length>0?" { "+x.call(es,", ")+" }":"")}if(q(t)){var el=P?v.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):_.call(t);return"object"!=typeof t||P?el:Y(el)}if((eu=t)&&"object"==typeof eu&&("undefined"!=typeof HTMLElement&&eu instanceof HTMLElement||"string"==typeof eu.nodeName&&"function"==typeof eu.getAttribute)){for(var eu,ec,eh="<"+E.call(String(t.nodeName)),ep=t.attributes||[],ef=0;ef<ep.length;ef++){eh+=" "+ep[ef].name+"="+L((ec=ep[ef].value,v.call(String(ec),/"/g,"&quot;")),"double",I)}return eh+=">",t.childNodes&&t.childNodes.length&&(eh+="..."),eh+="</"+E.call(String(t.nodeName))+">"}if(G(t)){if(0===t.length)return"[]";var ed=ee(t,eo);return ei&&!function(e){for(var t=0;t<e.length;t++)if($(e[t],"\n")>=0)return!1;return!0}(ed)?"["+Z(ed,ei)+"]":"[ "+x.call(ed,", ")+" ]"}if("[object Error]"===Q(l=t)&&V(l)){var ey=ee(t,eo);return"cause"in Error.prototype||!("cause"in t)||N.call(t,"cause")?0===ey.length?"["+String(t)+"]":"{ ["+String(t)+"] "+x.call(ey,", ")+" }":"{ ["+String(t)+"] "+x.call(O.call("[cause]: "+eo(t.cause),ey),", ")+" }"}if("object"==typeof t&&R){if(M&&"function"==typeof t[M]&&D)return D(t,{depth:en-i});else if("symbol"!==R&&"function"==typeof t.inspect)return t.inspect()}if(function(e){if(!o||!e||"object"!=typeof e)return!1;try{o.call(e);try{u.call(e)}catch(e){return!0}return e instanceof Map}catch(e){}return!1}(t)){var em=[];return a&&a.call(t,function(e,r){em.push(eo(r,t,!0)+" => "+eo(e,t))}),X("Map",o.call(t),em,ei)}if(function(e){if(!u||!e||"object"!=typeof e)return!1;try{u.call(e);try{o.call(e)}catch(e){return!0}return e instanceof Set}catch(e){}return!1}(t)){var eg=[];return c&&c.call(t,function(e){eg.push(eo(e,t))}),X("Set",u.call(t),eg,ei)}if(function(e){if(!h||!e||"object"!=typeof e)return!1;try{h.call(e,h);try{p.call(e,p)}catch(e){return!0}return e instanceof WeakMap}catch(e){}return!1}(t))return J("WeakMap");if(function(e){if(!p||!e||"object"!=typeof e)return!1;try{p.call(e,p);try{h.call(e,h)}catch(e){return!0}return e instanceof WeakSet}catch(e){}return!1}(t))return J("WeakSet");if(function(e){if(!f||!e||"object"!=typeof e)return!1;try{return f.call(e),!0}catch(e){}return!1}(t))return J("WeakRef");if("[object Number]"===Q(y=t)&&V(y))return Y(eo(Number(t)));if(function(e){if(!e||"object"!=typeof e||!T)return!1;try{return T.call(e),!0}catch(e){}return!1}(t))return Y(eo(T.call(t)));if("[object Boolean]"===Q(w=t)&&V(w))return Y(d.call(t));if("[object String]"===Q(S=t)&&V(S))return Y(eo(String(t)));if("undefined"!=typeof window&&t===window)return"{ [object Window] }";if("undefined"!=typeof globalThis&&t===globalThis||void 0!==r.g&&t===r.g)return"{ [object globalThis] }";if(!("[object Date]"===Q(k=t)&&V(k))&&!U(t)){var eb=ee(t,eo),ev=F?F(t)===Object.prototype:t instanceof Object||t.constructor===Object,ew=t instanceof Object?"":"null prototype",eE=!ev&&C&&Object(t)===t&&
1C in t?b.call(Q(t),8,-1):ew?"Object":"",eS=(ev||"function"!=typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"")+(eE||ew?"["+x.call(O.call([],eE||[],ew||[]),": ")+"] ":"");return 0===eb.length?eS+"{}":ei?eS+"{"+Z(eb,ei)+"}":eS+"{ "+x.call(eb,", ")+" }"}return String(t)};var W=Object.prototype.hasOwnProperty||function(e){return e in this};function z(e,t){return W.call(e,t)}function Q(e){return y.call(e)}function $(e,t){if(e.indexOf)return e.indexOf(t);for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return -1}function K(e){var t=e.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return r?"\\"+r:"\\x"+(t<16?"0":"")+w.call(t.toString(16))}function Y(e){return"Object("+e+")"}function J(e){return e+" { ? }"}function X(e,t,r,n){return e+" ("+t+") {"+(n?Z(r,n):x.call(r,", "))+"}"}function Z(e,t){if(0===e.length)return"";var r="\n"+t.prev+t.base;return r+x.call(e,","+r)+"\n"+t.prev}function ee(e,t){var r,n=G(e),i=[];if(n){i.length=e.length;for(var o=0;o<e.length;o++)i[o]=z(e,o)?t(e[o],e):""}var a="function"==typeof I?I(e):[];if(P){r={};for(var s=0;s<a.length;s++)r["$"+a[s]]=a[s]}for(var l in e)if(z(e,l)&&(!n||String(Number(l))!==l||!(l<e.length)))if(P&&r["$"+l]instanceof Symbol)continue;else S.call(/[^\w$]/,l)?i.push(t(l,e)+": "+t(e[l],e)):i.push(l+": "+t(e[l],e));if("function"==typeof I)for(var u=0;u<a.length;u++)N.call(e,a[u])&&i.push("["+t(a[u])+"]: "+t(e[a[u]],e));return i}},58720:(e,t,r)=>{"use strict";var n,i;e.exports=(null==(n=r.g.process)?void 0:n.env)&&"object"==typeof(null==(i=r.g.process)?void 0:i.env)?r.g.process:r(37785)},59759:e=>{"use strict";var t=Object.defineProperty||!1;if(t)try{t({},"a",{value:1})}catch(e){t=!1}e.exports=t},60551:(e,t,r)=>{"use strict";var n=r(46655),i=r(55592),o=r(1187),a=r(410),s=r(3799),l=r(93062),u=r(71089),c=r(50537),h=i("Array.prototype.sort");e.exports=function(e,t,r,i){if(!a(e))throw new n("Assertion failed: Type(obj) is not Object");if(!o(t)||t<0)throw new n("Assertion failed: `len` must be an integer >= 0");if(!c(r)||2!==r.length)throw new n("Assertion failed: `SortCompare` must be an abstract closure taking 2 arguments");if("skip-holes"!==i&&"read-through-holes"!==i)throw new n("Assertion failed: `holes` must be either ~skip-holes~ or ~read-through-holes~");for(var p=[],f=0;f<t;){var d=u(f);if("skip-holes"!==i||l(e,d)){var y=s(e,d);p[p.length]=y}f+=1}return h(p,r),p}},61292:(e,t,r)=>{"use strict";var n=r(46655),i=r(410),o=r(43282),a=r(18317);e.exports=function(e,t,r){if(!i(e))throw new n("Assertion failed: Type(O) is not Object");if(!o(t))throw new n("Assertion failed: P is not a Property Key");return a(e,t,{"[[Configurable]]":!0,"[[Enumerable]]":!0,"[[Value]]":r,"[[Writable]]":!0})}},61687:e=>{"use strict";e.exports=Object},61775:(e,t,r)=>{"use strict";var n,i=r(87822),o=r(38358);try{n=[].__proto__===Array.prototype}catch(e){if(!e||"object"!=typeof e||!("code"in e)||"ERR_PROTO_ACCESS"!==e.code)throw e}var a=!!n&&o&&o(Object.prototype,"__proto__"),s=Object,l=s.getPrototypeOf;e.exports=a&&"function"==typeof a.get?i([a.get]):"function"==typeof l&&function(e){return l(null==e?e:s(e))}},61851:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(32044);let i=(0,n.n)(()=>globalThis)||(0,n.n)(()=>window)||(0,n.n)(()=>self)||(0,n.n)(()=>global)||(0,n.n)(function(){return n.n.constructor("return this")()})},62296:(e,t,r)=>{"use strict";function n(e,t){if(!e)throw Error(t)}r.d(t,{U:()=>n})},62325:e=>{"use strict";e.exports=Math.min},62740:e=>{"use strict";e.exports=Object.getOwnPropertyDescriptor},63944:(e,t,r)=>{"use strict";e.exports=r(41739)},64198:(e,t,r)=>{"use strict";var n=r(46655),i=r(94198),o=r(91622);e.exports=function(e){if(void 0!==e&&!i(e))throw new n("Assertion failed: `Desc` must be a Property Descriptor");return o(e)}},64255:(e,t,r)=>{"use strict";var n=r(46655),i=r(410),o=r(91922),a=r(27884),s=r(94198),l=r(64198),u=r(31920),c=r(35915),h=r(46650),p=r(43282),f=r(87313);e.exports=function(e,t,r,d,y){if(void 0!==e&&!i(e))throw new n("Assertion failed: O must be undefined or an Object");if(!p(t))throw new n("Assertion failed: P must be a Property Key");if("boolean"!=typeof r)throw new n("Assertion failed: extensible must be a Boolean");if(!s(d))throw new n("Assertion failed: Desc must be a Property Descriptor");if(void 0!==y&&!s(y))throw new n("Assertion failed: current must be a Property Descriptor, or undefined");if(void 0===y)return!!r&&(void 0===e||(u(d)?o(c,f,l,e,t,d):o(c,f,l,e,t,{"[[Configurable]]":!!d["[[Configurable]]"],"[[Enumerable]]":!!d["[[Enumerable]]"],"[[Value]]":d["[[Value]]"],"[[Writable]]":!!d["[[Writable]]"]})));if(!a({IsAccessorDescriptor:u,IsDataDescriptor:c},y))throw new n("`current`, when present, must be a fully populated and valid Property Descriptor");if(!y["[[Configurable]]"]){if("[[Configurable]]"in d&&d["[[Configurable]]"]||"[[Enumerable]]"in d&&!f(d["[[Enumerable]]"],y["[[Enumerable]]"])||
1!h(d)&&!f(u(d),u(y)))return!1;if(u(y)){if("[[Get]]"in d&&!f(d["[[Get]]"],y["[[Get]]"])||"[[Set]]"in d&&!f(d["[[Set]]"],y["[[Set]]"]))return!1}else if(!y["[[Writable]]"]&&("[[Writable]]"in d&&d["[[Writable]]"]||"[[Value]]"in d&&!f(d["[[Value]]"],y["[[Value]]"])))return!1}if(void 0!==e){var m;return c(y)&&u(d)?o(c,f,l,e,t,{"[[Configurable]]":!!(m=("[[Configurable]]"in d?d:y)["[[Configurable]]"]),"[[Enumerable]]":!!("[[Enumerable]]"in d?d:y)["[[Enumerable]]"],"[[Get]]":("[[Get]]"in d?d:y)["[[Get]]"],"[[Set]]":("[[Set]]"in d?d:y)["[[Set]]"]}):u(y)&&c(d)?o(c,f,l,e,t,{"[[Configurable]]":!!(m=("[[Configurable]]"in d?d:y)["[[Configurable]]"]),"[[Enumerable]]":!!("[[Enumerable]]"in d?d:y)["[[Enumerable]]"],"[[Value]]":("[[Value]]"in d?d:y)["[[Value]]"],"[[Writable]]":!!("[[Writable]]"in d?d:y)["[[Writable]]"]}):o(c,f,l,e,t,d)}return!0}},64611:(e,t,r)=>{"use strict";var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator,i=r(53562),o=r(17505),a=r(99675),s=r(5952),l=function(e,t){if(null==e)throw TypeError("Cannot call method on "+e);if("string"!=typeof t||"number"!==t&&"string"!==t)throw TypeError('hint must be "string" or "number"');var r,n,a,s="string"===t?["toString","valueOf"]:["valueOf","toString"];for(a=0;a<s.length;++a)if(o(r=e[s[a]])&&i(n=r.call(e)))return n;throw TypeError("No default value")},u=function(e,t){var r=e[t];if(null!=r){if(!o(r))throw TypeError(r+" returned for property "+String(t)+" of object "+e+" is not a function");return r}};e.exports=function(e){if(i(e))return e;var t,r="default";if(arguments.length>1&&(arguments[1]===String?r="string":arguments[1]===Number&&(r="number")),n&&(Symbol.toPrimitive?t=u(e,Symbol.toPrimitive):s(e)&&(t=Symbol.prototype.valueOf)),void 0!==t){var o=t.call(e,r);if(i(o))return o;throw TypeError("unable to convert exotic object to primitive")}return"default"===r&&(a(e)||s(e))&&(r="string"),l(e,"default"===r?"number":r)}},64741:(e,t,r)=>{"use strict";var n=r(64611);e.exports=function(e){return arguments.length>1?n(e,arguments[1]):n(e)}},64751:(e,t,r)=>{"use strict";var n=r(56085)("%Array.prototype%"),i=r(23588),o=r(51732),a=r(46655),s=r(1187),l=r(48502),u=r(33220);e.exports=function(e){if(!s(e)||e<0)throw new a("Assertion failed: `length` must be an integer Number >= 0");if(e>l)throw new i("length is greater than (2**32 - 1)");var t=arguments.length>1?arguments[1]:n,r=[];if(t!==n){if(!u)throw new o("ArrayCreate: a `proto` argument that is not `Array.prototype` is not supported in an environment that does not support setting the [[Prototype]]");u(r,t)}return 0!==e&&(r.length=e),r}},64827:e=>{"use strict";e.exports=function(e){return null===e||"function"!=typeof e&&"object"!=typeof e}},65947:(e,t,r)=>{"use strict";var n=r(46655),i=r(76879),o=r(83160),a=r(94198);e.exports=function(e){if(void 0===e)return!1;if(!a(e))throw new n("Assertion failed: `Desc` must be a Property Descriptor");return!(i(e)||o(e))}},65993:(e,t,r)=>{"use strict";var n=Function.prototype.call,i=Object.prototype.hasOwnProperty;e.exports=r(94537).call(n,i)},66422:(e,t,r)=>{"use strict";var n=r(56085),i=r(46655),o=n("%Number%"),a=r(64827),s=r(67412),l=r(82523);e.exports=function(e){var t=a(e)?e:s(e,o);if("symbol"==typeof t)throw new i("Cannot convert a Symbol value to a number");if("bigint"==typeof t)throw new i("Conversion from 'BigInt' to 'number' is not allowed.");return"string"==typeof t?l(t):+t}},66495:(e,t,r)=>{"use strict";function n(e){return e.catch(()=>{}),e}r.d(t,{X:()=>n})},67317:(e,t,r)=>{"use strict";var n=r(43531),i=r(71089),o=r(55592)("String.prototype.replace"),a=/^\s$/.test("᠎"),s=a?/^[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]+/:/^[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]+/,l=a?/[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]+$/:/[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]+$/;e.exports=function(){return o(o(i(n(this)),s,""),l,"")}},67412:(e,t,r)=>{"use strict";var n=r(64611);e.exports=function(e){return arguments.length>1?n(e,arguments[1]):n(e)}},67843:(e,t,r)=>{"use strict";var n=r(46655),i=r(410),o=r(61292),a=r(43282);e.exports=function(e,t,r){if(!i(e))throw new n("Assertion failed: Type(O) 
1is not Object");if(!a(t))throw new n("Assertion failed: P is not a Property Key");if(!o(e,t,r))throw new n("unable to create data property")}},69744:(e,t,r)=>{"use strict";r.d(t,{r:()=>n});let n="4.2.3"},70333:(e,t,r)=>{"use strict";var n=r(56085),i=r(55592),o=r(46655),a=r(70622),s=n("%Reflect.apply%",!0)||i("Function.prototype.apply");e.exports=function(e,t){var r=arguments.length>2?arguments[2]:[];if(!a(r))throw new o("Assertion failed: optional `argumentsList`, if provided, must be a List");return s(e,t,r)}},70622:(e,t,r)=>{"use strict";e.exports=r(12279)},70884:(e,t,r)=>{"use strict";r.d(t,{Dk:()=>ei,kc:()=>eu,c3:()=>el});var n=r(49838);function i(e,t){let r=t&&t.cache?t.cache:u,n=t&&t.serializer?t.serializer:s;return(t&&t.strategy?t.strategy:function(e,t){var r,n;let i=1===e.length?o:a;return r=t.cache.create(),n=t.serializer,i.bind(this,e,r,n)})(e,{cache:r,serializer:n})}function o(e,t,r,n){let i=null==n||"number"==typeof n||"boolean"==typeof n?n:r(n),o=t.get(i);return void 0===o&&(o=e.call(this,n),t.set(i,o)),o}function a(e,t,r){let n=Array.prototype.slice.call(arguments,3),i=r(n),o=t.get(i);return void 0===o&&(o=e.apply(this,n),t.set(i,o)),o}let s=function(){return JSON.stringify(arguments)};var l=class{constructor(){this.cache=Object.create(null)}get(e){return this.cache[e]}set(e,t){this.cache[e]=t}};let u={create:function(){return new l}},c={variadic:function(e,t){var r,n;return r=t.cache.create(),n=t.serializer,a.bind(this,e,r,n)},monadic:function(e,t){var r,n;return r=t.cache.create(),n=t.serializer,o.bind(this,e,r,n)}};
1class h extends Error{constructor(e,t){let r=e;t&&(r+=": "+t),super(r),this.code=e,t&&(this.originalMessage=t)}}var p=function(e){return e.MISSING_MESSAGE="MISSING_MESSAGE",e.MISSING_FORMAT="MISSING_FORMAT",e.ENVIRONMENT_FALLBACK="ENVIRONMENT_FALLBACK",e.INSUFFICIENT_PATH="INSUFFICIENT_PATH",e.INVALID_MESSAGE="INVALID_MESSAGE",e.INVALID_KEY="INVALID_KEY",e.FORMATTING_ERROR="FORMATTING_ERROR",e}(p||{});function f(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}}function d(e,t){return i(e,{cache:{create:()=>({get:e=>t[e],set(e,r){t[e]=r}})},strategy:c.variadic})}function y(e,t){return d((...t)=>new e(...t),t)}function m(e){return{getDateTimeFormat:y(Intl.DateTimeFormat,e.dateTime),getNumberFormat:y(Intl.NumberFormat,e.number),getPluralRules:y(Intl.PluralRules,e.pluralRules),getRelativeTimeFormat:y(Intl.RelativeTimeFormat,e.relativeTime),getListFormat:y(Intl.ListFormat,e.list),getDisplayNames:y(Intl.DisplayNames,e.displayNames)}}let g=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g,b=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,v=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,w=/^(@+)?(\+|#+)?[rs]?$/g,E=/(\*)(0+)|(#+)(0+)|(0+)/g,S=/^(0+)$/;function O(e){let t={};return"r"===e[e.length-1]?t.roundingPriority="morePrecision":"s"===e[e.length-1]&&(t.roundingPriority="lessPrecision"),e.replace(w,function(e,r,n){return"string"!=typeof n?(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length):"+"===n?t.minimumSignificantDigits=r.length:"#"===r[0]?t.maximumSignificantDigits=r.length:(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length+("string"==typeof n?n.length:0)),""}),t}function x(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function A(e){let t=x(e);return t||{}}let k=function(e){return e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG",e}({});function T(e){return!!(e&&"object"==typeof e&&0===e.type)}function I(e){return!!(e&&"object"==typeof e&&1===e.type)}let _=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,P={"001":["H","h"],419:["h","H","hB","hb"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["h","H","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["h","H","hB","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["h","H","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["h","H","hB","hb"],CU:["h","H","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["h","H","hB","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GS:["H","h","hb","hB"],GT:["h","H","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["h","H","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA
1:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["h","H","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["h","H","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["h","H","hB","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["h","H","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["h","H","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["h","H","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"en-HK":["h","hb","H","hB"],"en-IL":["H","h","hb","hB"],"en-MY":["h","hb","H","hB"],"es-BR":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ku-SY":["H","hB"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]},C=RegExp(`^${_.source}*`),N=RegExp(`${_.source}*$`);function F(e,t){return{start:e,end:t}}let j=!!Object.fromEntries,D=!!String.prototype.trimStart,R=!!String.prototype.trimEnd,M=j?Object.fromEntries:function(e){let t={};for(let[r,n]of e)t[r]=n;return t},B=D?function(e){return e.trimStart()}:function(e){return e.replace(C,"")},H=R?function(e){return e.trimEnd()}:function(e){return e.replace(N,"")},L=RegExp("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");var V=class{constructor(e,t={}){this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}parse(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)}parseMessage(e,t,r){let n=[];for(;!this.isEOF();){let i=this.char();if(123===i){let t=this.parseArgument(e,r);if(t.err)return t;n.push(t.val)}else if(125===i&&e>0)break;else if(35===i&&("plural"===t||"selectordinal"===t)){let e=this.clonePosition();this.bump(),n.push({type:7,location:F(e,this.clonePosition())})}else if(60!==i||this.ignoreTag||47!==this.peek())if(60===i&&!this.ignoreTag&&G(this.peek()||0)){let r=this.parseTag(e,t);if(r.err)return r;n.push(r.val)}else{let r=this.parseLiteral(e,t);if(r.err)return r;n.push(r.val)}else if(!r)return this.error(26,F(this.clonePosition(),this.clonePosition()));else break}return{val:n,err:null}}parseTag(e,t){let r=this.clonePosition();this.bump();let n=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:0,value:`<${n}/>`,location:F(r,this.clonePosition())},err:null};if(!this.bumpIf(">"))return this.error(23,F(r,this.clonePosition()));{let i=this.parseMessage(e+1,t,!0);if(i.err)return i;let o=i.val,a=this.clonePosition();if(!this.bumpIf("</"))return this.error(27,F(r,this.clonePosition()));{if(this.isEOF()||!G(this.char()))return this.error(23,F(a,this.clonePosition()));let e=this.clonePosition();return n!==this.parseTagName()?this.error(26,F(e,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">"))?{val:{type:8,value:n,children:o,location:F(r,this.clonePosition())},err:null}:this.error(23,F(a,this.clonePosition()))}}}parseTagName(){var e;let t=this.offset();for(this.bump();!this.isEOF()&&(45===(e=this.char())||46===e||e>=48&&e<=57||95===e||e>=97&&e<=122||e>=65&&e<=90||183==e||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039);)this.bump();return this.message.slice(t,this.offset())}parseLiteral(e,t){let r=this.clonePosition(),n="";for(;;){let r=this.tryParseQuote(t);if(r){n+=r;
1continue}let i=this.tryParseUnquoted(e,t);if(i){n+=i;continue}let o=this.tryParseLeftAngleBracket();if(o){n+=o;continue}break}return{val:{type:0,value:n,location:F(r,this.clonePosition())},err:null}}tryParseLeftAngleBracket(){var e;return this.isEOF()||60!==this.char()||!this.ignoreTag&&(G(e=this.peek()||0)||47===e)?null:(this.bump(),"<")}tryParseQuote(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null}this.bump();let t=[this.char()];for(this.bump();!this.isEOF();){let e=this.char();if(39===e)if(39===this.peek())t.push(39),this.bump();else{this.bump();break}else t.push(e);this.bump()}return String.fromCodePoint(...t)}tryParseUnquoted(e,t){if(this.isEOF())return null;let r=this.char();return 60===r||123===r||35===r&&("plural"===t||"selectordinal"===t)||125===r&&e>0?null:(this.bump(),String.fromCodePoint(r))}parseArgument(e,t){let r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(1,F(r,this.clonePosition()));if(125===this.char())return this.bump(),this.error(2,F(r,this.clonePosition()));let n=this.parseIdentifierIfPossible().value;if(!n)return this.error(3,F(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(1,F(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:1,value:n,location:F(r,this.clonePosition())},err:null};case 44:if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(1,F(r,this.clonePosition()));return this.parseArgumentOptions(e,t,n,r);default:return this.error(3,F(r,this.clonePosition()))}}parseIdentifierIfPossible(){var e;let t=this.clonePosition(),r=this.offset(),n=(e=this.message,L.lastIndex=r,L.exec(e)[1]??""),i=r+n.length;return this.bumpTo(i),{value:n,location:F(t,this.clonePosition())}}parseArgumentOptions(e,t,r,n){let i=this.clonePosition(),o=this.parseIdentifierIfPossible().value,a=this.clonePosition();switch(o){case"":return this.error(4,F(i,a));case"number":case"date":case"time":{this.bumpSpace();let e=null;if(this.bumpIf(",")){this.bumpSpace();let t=this.clonePosition(),r=this.parseSimpleArgStyleIfPossible();if(r.err)return r;let n=H(r.val);if(0===n.length)return this.error(6,F(this.clonePosition(),this.clonePosition()));e={style:n,styleLocation:F(t,this.clonePosition())}}let t=this.tryParseArgumentClose(n);if(t.err)return t;let i=F(n,this.clonePosition());if(e&&e.style.startsWith("::")){let t=B(e.style.slice(2));if("number"===o){let n=this.parseNumberSkeletonFromString(t,e.styleLocation);if(n.err)return n;return{val:{type:2,value:r,location:i,style:n.val},err:null}}{if(0===t.length)return this.error(10,i);let n=t;return this.locale&&(n=function(e,t){let r="";for(let n=0;n<e.length;n++){let i=e.charAt(n);if("j"===i){let o=0;for(;n+1<e.length&&e.charAt(n+1)===i;)o++,n++;let a=1+(1&o),s=o<2?1:3+(o>>1),l=function(e){let t,r=e.hourCycle;if(void 0===r&&e.hourCycles&&e.hourCycles.length&&(r=e.hourCycles[0]),r)switch(r){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw Error("Invalid hourCycle")}let n=e.language;return"root"!==n&&(t=e.maximize().region),(P[t||""]||P[n||""]||P[`${n}-001`]||P["001"])[0]}(t);for(("H"==l||"k"==l)&&(s=0);s-- >0;)r+="a";for(;a-- >0;)r=l+r}else"J"===i?r+="H":r+=i}return r}(t,this.locale)),{val:{type:"date"===o?3:4,value:r,location:i,style:{type:1,pattern:n,location:e.styleLocation,parsedOptions:this.shouldParseSkeletons?function(e){let t={};return e.replace(g,e=>{let r=e.length;switch(e[0]){case"G":t.era=4===r?"long":5===r?"narrow":"short";break;case"y":t.year=2===r?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":t.month=["numeric","2-digit","short","long","narrow"][r-1];break;case"w":case"W":throw RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][r-1];break;case"D":case"F":case"g":throw RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=4===r?"long":5===r?"narrow":"short";break;case"e":if(r<4)throw RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][r-4];break;case"c":if(r<4)throw RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][r-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][r-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][r-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][r-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][r-1];break;case"j":case"J":case"C":throw RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":t.minute=["numeric","2-digit"][r-1];break;case"s":t.second=["numeric","2-digit"][r-1];break;case"S":case"A":throw RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=r<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),t}(n):{}}},err:null}}}return{val:{type:"number"===o?2:"date"===o?3:4,value:r,location:i,style:e?.style??null},err:null}}
1case"plural":case"selectordinal":case"select":{let i=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(12,F(i,{...i}));this.bumpSpace();let a=this.parseIdentifierIfPossible(),s=0;if("select"!==o&&"offset"===a.value){if(!this.bumpIf(":"))return this.error(13,F(this.clonePosition(),this.clonePosition()));this.bumpSpace();let e=this.tryParseDecimalInteger(13,14);if(e.err)return e;this.bumpSpace(),a=this.parseIdentifierIfPossible(),s=e.val}let l=this.tryParsePluralOrSelectOptions(e,o,t,a);if(l.err)return l;let u=this.tryParseArgumentClose(n);if(u.err)return u;let c=F(n,this.clonePosition());if("select"===o)return{val:{type:5,value:r,options:M(l.val),location:c},err:null};return{val:{type:6,value:r,options:M(l.val),offset:s,pluralType:"plural"===o?"cardinal":"ordinal",location:c},err:null}}default:return this.error(5,F(i,a))}}tryParseArgumentClose(e){return this.isEOF()||125!==this.char()?this.error(1,F(e,this.clonePosition())):(this.bump(),{val:!0,err:null})}parseSimpleArgStyleIfPossible(){let e=0,t=this.clonePosition();for(;!this.isEOF();)switch(this.char()){case 39:{this.bump();let e=this.clonePosition();if(!this.bumpUntil("'"))return this.error(11,F(e,this.clonePosition()));this.bump();break}case 123:e+=1,this.bump();break;case 125:if(!(e>0))return{val:this.message.slice(t.offset,this.offset()),err:null};e-=1;break;default:this.bump()}return{val:this.message.slice(t.offset,this.offset()),err:null}}parseNumberSkeletonFromString(e,t){let r=[];try{r=function(e){if(0===e.length)throw Error("Number skeleton cannot be empty");let t=e.split(b).filter(e=>e.length>0),r=[];for(let e of t){let t=e.split("/");if(0===t.length)throw Error("Invalid number skeleton");let[n,...i]=t;for(let e of i)if(0===e.length)throw Error("Invalid number skeleton");r.push({stem:n,options:i})}return r}(e)}catch{return this.error(7,t)}return{val:{type:0,tokens:r,location:t,parsedOptions:this.shouldParseSkeletons?function(e){let t={};for(let r of e){switch(r.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=r.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=r.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t={...t,notation:"scientific",...r.options.reduce((e,t)=>({...e,...A(t)}),{})};continue;case"engineering":t={...t,notation:"engineering",...r.options.reduce((e,t)=>({...e,...A(t)}),{})};continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(r.options[0]);continue;case"rounding-mode-floor":t.roundingMode="floor";continue;case"rounding-mode-ceiling":t.roundingMode="ceil";continue;case"rounding-mode-down":t.roundingMode="trunc";continue;case"rounding-mode-up":t.roundingMode="expand";continue;case"rounding-mode-half-even":t.roundingMode="halfEven";continue;case"rounding-mode-half-down":t.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":t.roundingMode="halfExpand";continue;case"integer-width":if(r.options.length>1)throw RangeError("integer-width stems only accept a single optional option");r.options[0].replace(E,function(e,r,n,i,o,a){if(r)t.minimumIntegerDigits=n.length;else if(i&&o)throw Error("We currently do not support maximum integer digits");else if(a)throw Error("We currently do not support exact integer digits");return""});continue}if(S.test(r.stem)){t.minimumIntegerDigits=r.stem.length;continue}if(v.test(r.stem)){if(r.options.length>1)throw RangeError("Fraction-precision stems only accept a single optional option");r.stem.replace(v,function(e,r,n,i,o,a){return"*"===n?t.minimumFractionDigits=r.length:i&&"#"===i[0]?t.maximumFractionDigits=i.length:o&&a?(t.minimumFractionDigits=o.length,t.maximumFractionDigits=o.length+a.length):(t.minimumFractionDigits=r.length,t.maximumFractionDigits=r.length),""});let e=r.options[0];
1"w"===e?t={...t,trailingZeroDisplay:"stripIfInteger"}:e&&(t={...t,...O(e)});continue}if(w.test(r.stem)){t={...t,...O(r.stem)};continue}let e=x(r.stem);e&&(t={...t,...e});let n=function(e){let t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){let r=e.slice(0,2);if("+!"===r?(t.signDisplay="always",e=e.slice(2)):"+?"===r&&(t.signDisplay="exceptZero",e=e.slice(2)),!S.test(e))throw Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(r.stem);n&&(t={...t,...n})}return t}(r):{}},err:null}}tryParsePluralOrSelectOptions(e,t,r,n){let i=!1,o=[],a=new Set,{value:s,location:l}=n;for(;;){if(0===s.length){let e=this.clonePosition();if("select"!==t&&this.bumpIf("=")){let t=this.tryParseDecimalInteger(16,19);if(t.err)return t;l=F(e,this.clonePosition()),s=this.message.slice(e.offset,this.offset())}else break}if(a.has(s))return this.error("select"===t?21:20,l);"other"===s&&(i=!0),this.bumpSpace();let n=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?17:18,F(this.clonePosition(),this.clonePosition()));let u=this.parseMessage(e+1,t,r);if(u.err)return u;let c=this.tryParseArgumentClose(n);if(c.err)return c;o.push([s,{value:u.val,location:F(n,this.clonePosition())}]),a.add(s),this.bumpSpace(),{value:s,location:l}=this.parseIdentifierIfPossible()}return 0===o.length?this.error("select"===t?15:16,F(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!i?this.error(22,F(this.clonePosition(),this.clonePosition())):{val:o,err:null}}tryParseDecimalInteger(e,t){let r=1,n=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);let i=!1,o=0;for(;!this.isEOF();){let e=this.char();if(e>=48&&e<=57)i=!0,o=10*o+(e-48),this.bump();else break}let a=F(n,this.clonePosition());return i?Number.isSafeInteger(o*=r)?{val:o,err:null}:this.error(t,a):this.error(e,a)}offset(){return this.position.offset}isEOF(){return this.offset()===this.message.length}clonePosition(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}}char(){let e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");let t=this.message.codePointAt(e);if(void 0===t)throw Error(`Offset ${e} is at invalid UTF-16 code unit boundary`);return t}error(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}}bump(){if(this.isEOF())return;let e=this.char();10===e?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2)}bumpIf(e){if(this.message.startsWith(e,this.offset())){for(let t=0;t<e.length;t++)this.bump();return!0}return!1}bumpUntil(e){let t=this.offset(),r=this.message.indexOf(e,t);return r>=0?(this.bumpTo(r),!0):(this.bumpTo(this.message.length),!1)}bumpTo(e){if(this.offset()>e)throw Error(`targetOffset ${e} must be greater than or equal to the current offset ${this.offset()}`);for(e=Math.min(e,this.message.length);;){let t=this.offset();if(t===e)break;if(t>e)throw Error(`targetOffset ${e} is at invalid UTF-16 code unit boundary`);if(this.bump(),this.isEOF())break}}bumpSpace(){for(var e;!this.isEOF()&&((e=this.char())>=9&&e<=13||32===e||133===e||e>=8206&&e<=8207||8232===e||8233===e);)this.bump()}peek(){if(this.isEOF())return null;let e=this.char(),t=this.offset();return this.message.charCodeAt(t+(e>=65536?2:1))??null}};function G(e){return e>=97&&e<=122||e>=65&&e<=90}function U(e,t={}){let r=new V(e,t={shouldParseSkeletons:!0,requiresOtherClause:!0,...t}).parse();if(r.err){let e=SyntaxError(k[r.err.kind]);throw e.location=r.err.location,e.originalMessage=r.err.message,e}return t?.captureLocation||function e(t){t.forEach(t=>{if(delete t.location,5===t.type||6===t.type)for(let r in t.options)delete t.options[r].location,e(t.options[r].value);else 2===t.type&&T(t.style)||(3===t.type||4===t.type)&&I(t.style)?delete t.style.location:8===t.type&&e(t.children)})}(r.val),r.val}var q=class extends Error{constructor(e,t,r){super(e),this.code=t,this.originalMessage=r}toString(){return`[formatjs Error: ${this.code}] ${this.message}`}},W=class extends q{constructor(e,t,r,n){super(`Invalid values for "${e}": "${t}". Options are "${Object.keys(r).join('", "')}"`,"INVALID_VALUE",n)}},z=class extends q{constructor(e,t,r){super(`Value for "${e}" must be of type ${t}`,"INVALID_VALUE",r)}}
1,Q=class extends q{constructor(e,t){super(`The intl string context variable "${e}" was not provided to the string "${t}"`,"MISSING_VALUE",t)}};function $(e){return{create:()=>({get:t=>e[t],set(t,r){e[t]=r}})}}var K=class e{constructor(t,r=e.defaultLocale,n,o){if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=e=>{let t=this.formatToParts(e);if(1===t.length)return t[0].value;let r=t.reduce((e,t)=>(e.length&&0===t.type&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e),[]);return r.length<=1?r[0]||"":r},this.formatToParts=e=>(function e(t,r,n,i,o,a,s){if(1===t.length&&0===t[0].type)return[{type:0,value:t[0].value}];let l=[];for(let u of t){if(0===u.type){l.push({type:0,value:u.value});continue}if(7===u.type){"number"==typeof a&&l.push({type:0,value:n.getNumberFormat(r).format(a)});continue}let{value:t}=u;if(!(o&&t in o))throw new Q(t,s);let c=o[t];if(1===u.type){c&&"string"!=typeof c&&"number"!=typeof c&&"bigint"!=typeof c||(c="string"==typeof c||"number"==typeof c||"bigint"==typeof c?String(c):""),l.push({type:+("string"!=typeof c),value:c});continue}if(3===u.type){let e="string"==typeof u.style?i.date[u.style]:I(u.style)?u.style.parsedOptions:void 0;l.push({type:0,value:n.getDateTimeFormat(r,e).format(c)});continue}if(4===u.type){let e="string"==typeof u.style?i.time[u.style]:I(u.style)?u.style.parsedOptions:i.time.medium;l.push({type:0,value:n.getDateTimeFormat(r,e).format(c)});continue}if(2===u.type){let e="string"==typeof u.style?i.number[u.style]:T(u.style)?u.style.parsedOptions:void 0;if(e&&e.scale){let t=e.scale||1;if("bigint"==typeof c){if(!Number.isInteger(t))throw TypeError(`Cannot apply fractional scale ${t} to bigint value. Scale must be an integer when formatting bigint.`);c*=BigInt(t)}else c*=t}l.push({type:0,value:n.getNumberFormat(r,e).format(c)});continue}if(8===u.type){let{children:t,value:c}=u,h=o[c];if("function"!=typeof h)throw new z(c,"function",s);let p=h(e(t,r,n,i,o,a).map(e=>e.value));Array.isArray(p)||(p=[p]),l.push(...p.map(e=>({type:+("string"!=typeof e),value:e})))}if(5===u.type){let t=c,a=(Object.prototype.hasOwnProperty.call(u.options,t)?u.options[t]:void 0)||u.options.other;if(!a)throw new W(u.value,c,Object.keys(u.options),s);l.push(...e(a.value,r,n,i,o));continue}if(6===u.type){let t=`=${c}`,a=Object.prototype.hasOwnProperty.call(u.options,t)?u.options[t]:void 0;if(!a){if(!Intl.PluralRules)throw new q(`Intl.PluralRules is not available in this environment.
2Try polyfilling it using "@formatjs/intl-pluralrules"
3`,"MISSING_INTL_API",s);let e="bigint"==typeof c?Number(c):c,t=n.getPluralRules(r,{type:u.pluralType}).select(e-(u.offset||0));a=(Object.prototype.hasOwnProperty.call(u.options,t)?u.options[t]:void 0)||u.options.other}if(!a)throw new W(u.value,c,Object.keys(u.options),s);let h="bigint"==typeof c?Number(c):c;l.push(...e(a.value,r,n,i,o,h-(u.offset||0)));continue}}return l.length<2?l:l.reduce((e,t)=>{let r=e[e.length-1];return r&&0===r.type&&0===t.type?r.value+=t.value:e.push(t),e},[])})(this.ast,this.locales,this.formatters,this.formats,e,void 0,this.message),this.resolvedOptions=()=>({locale:this.resolvedLocale?.toString()||Intl.NumberFormat.supportedLocalesOf(this.locales)[0]}),this.getAst=()=>this.ast,this.locales=r,this.resolvedLocale=e.resolveLocale(r),"string"==typeof t){if(this.message=t,!e.__parse)throw TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");let{...r}=o||{};this.ast=e.__parse(t,{...r,locale:this.resolvedLocale})}else this.ast=t;if(!Array.isArray(this.ast))throw TypeError("A message must be provided as a String or AST.");this.formats=function(e,t){return t?Object.keys(e).reduce((r,n)=>{var i,o;return r[n]=(i=e[n],(o=t[n])?{...i,...o,...Object.keys(i).reduce((e,t)=>(e[t]={...i[t],...o[t]},e),{})}:i),r},{...e}):e}(e.formats,n),this.formatters=o&&o.formatters||function(e={number:{},dateTime:{},pluralRules:{}}){return{getNumberFormat:i((...e)=>new Intl.NumberFormat(...e),{cache:$(e.number),strategy:c.variadic}),getDateTimeFormat:i((...e)=>new Intl.DateTimeFormat(...e),{cache:$(e.dateTime),strategy:c.variadic}),getPluralRules:i((...e)=>new Intl.PluralRules(...e),{cache:$(e.pluralRules),strategy:c.variadic})}}(this.formatterCache)}static{this.memoizedDefaultLocale=null}static get defaultLocale(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=new Intl.NumberFormat().resolvedOptions().locale),e.memoizedDefaultLocale}static{this.resolveLocale=e=>{if(void 0===Intl.Locale)return;let t=Intl.NumberFormat.supportedLocalesOf(e);return new Intl.Locale(t.length>0?t[0]:"string"==typeof e?e:e[0])}}static{this.__parse=U}static{this.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}}}};function Y(...[e,t,r,i]){let o;if(Array.isArray(t))throw new h(p.INVALID_MESSAGE,void 0);if("object"==typeof t)throw new h(p.INSUFFICIENT_PATH,void 0);if("string"==typeof t){let e=r||/'[{}]/.test(t)?void 0:t;if(e)return e}let{cache:a,formats:s,formatters:l,globalFormats:u,locale:c,timeZone:f}=i;l.getMessageFormat||(l.getMessageFormat=d((...e)=>new K(e[0],e[1],e[2],{formatters:l,...e[3]}),a.message));try{o=l.getMessageFormat(t,c,function(e,t,r){let n=K.formats.date,i=K.formats.time,o={...e?.dateTime,...t?.dateTime},a={date:{...n,...o},time:{...i,...o},number:{...e?.number,...t?.number}};
3return r&&["date","time"].forEach(e=>{let t=a[e];for(let[e,n]of Object.entries(t))t[e]={timeZone:r,...n}}),a}(u,s,f),{formatters:{...l,getDateTimeFormat:(e,t)=>l.getDateTimeFormat(e,{...t,timeZone:t?.timeZone??f})}})}catch(e){throw new h(p.INVALID_MESSAGE,void 0)}let y=o.format(r);return(0,n.isValidElement)(y)||Array.isArray(y)||"string"==typeof y?y:String(y)}function J(...e){return e.filter(Boolean).join(".")}function X(e){return J(e.namespace,e.key)}function Z(e){console.error(e)}function ee(e,t,r,n){let i=J(n,r);if(!t)throw Error(i);let o=t;return r.split(".").forEach(t=>{let r=o[t];if(null==t||null==r)throw Error(i+` (${e})`);o=r}),o}Y.raw=!0;let et={second:1,seconds:1,minute:60,minutes:60,hour:3600,hours:3600,day:86400,days:86400,week:604800,weeks:604800,month:2628e3,months:2628e3,quarter:7884e3,quarters:7884e3,year:31536e3,years:31536e3};var er=r(42654);let en=(0,n.createContext)(void 0);function ei({children:e,formats:t,getMessageFallback:r,locale:i,messages:o,now:a,onError:s,timeZone:l}){let u=(0,n.useContext)(en),c=(0,n.useMemo)(()=>u?.cache||f(),[i,u?.cache]),h=(0,n.useMemo)(()=>u?.formatters||m(c),[c,u?.formatters]),p=(0,n.useMemo)(()=>({...function({formats:e,getMessageFallback:t,messages:r,onError:n,...i}){return{...i,formats:e||void 0,messages:r||void 0,onError:n||Z,getMessageFallback:t||X}}({locale:i,formats:void 0===t?u?.formats:t,getMessageFallback:r||u?.getMessageFallback,messages:void 0===o?u?.messages:o,now:a||u?.now,onError:s||u?.onError,timeZone:l||u?.timeZone}),formatters:h,cache:c}),[c,t,h,r,i,o,a,s,u,l]);return(0,er.jsx)(en.Provider,{value:p,children:e})}function eo(){let e=(0,n.useContext)(en);if(!e)throw Error(void 0);return e}let ea=!1,es="undefined"==typeof window;function el(e){return function(e,t,r){let{cache:i,formats:o,formatters:a,getMessageFallback:s,locale:l,onError:u,timeZone:c}=eo(),f=e["!"],d="!"===t?void 0:t.slice((r+".").length);return c||ea||!es||(ea=!0,u(new h(p.ENVIRONMENT_FALLBACK,void 0))),(0,n.useMemo)(()=>(function(e){let t=function(e,t,r){try{if(!t)throw Error(void 0);let n=r?ee(e,t,r):t;if(!n)throw Error(r);return n}catch(e){return new h(p.MISSING_MESSAGE,e.message)}}(e.locale,e.messages,e.namespace);return function({cache:e,formats:t,formatters:r,getMessageFallback:i=X,locale:o,messagesOrError:a,namespace:s,onError:l,timeZone:u}){let c=a instanceof h;function f(e,t,r,n){let o=new h(t,r);return l(o),n??i({error:o,key:e,namespace:s})}function d(d,y,m,g){let b;if(c){if(!g)return l(a),i({error:a,key:d,namespace:s});b=g}else try{b=ee(o,a,d,s)}catch(e){if(!g)return f(d,p.MISSING_MESSAGE,e.message,g);b=g}try{let i=J(s,d);return Y(i,b,y?function(e){let t={};return Object.keys(e).forEach(r=>{let i,o=0,a=e[r];i="function"==typeof a?e=>{let t=a(e);return(0,n.isValidElement)(t)?(0,n.cloneElement)(t,{key:r+o++}):t}:a,t[r]=i}),t}(y):y,{cache:e,formatters:r,globalFormats:t,formats:m,locale:o,timeZone:u})}catch(r){let e,t;return r instanceof h?(e=r.code,t=r.originalMessage):(e=p.FORMATTING_ERROR,t=r.message),f(d,e,t,g)}}function y(e,t,r,n){let i=d(e,t,r,n);return"string"!=typeof i?f(e,p.INVALID_MESSAGE,void 0):i}return y.rich=d,y.markup=(e,t,r,n)=>d(e,t,r,n),y.raw=e=>{if(c)return l(a),i({error:a,key:e,namespace:s});try{return ee(o,a,e,s)}catch(t){return f(e,p.MISSING_MESSAGE,t.message)}},y.has=e=>{if(c)return!1;try{return ee(o,a,e,s),!0}catch{return!1}},y}({...e,messagesOrError:t})})({cache:i,formatters:a,getMessageFallback:s,messages:f,namespace:d,onError:u,formats:o,locale:l,timeZone:c}),[i,a,s,f,d,u,o,l,c])}({"!":eo().messages},e?`!.${e}`:"!","!")}function eu(){let{formats:e,formatters:t,locale:r,now:i,onError:o,timeZone:a}=eo();return(0,n.useMemo)(()=>(function(e){let{_cache:t=f(),_formatters:r=m(t),formats:n,locale:i,onError:o=Z,timeZone:a}=e;function s(e){return e?.timeZone||(a?e={...e,timeZone:a}:o(new h(p.ENVIRONMENT_FALLBACK,void 0))),e}function l(e,t,r,n,i){let a;try{a=function(e,t,r){let n;if("string"==typeof t){if(!(n=e?.[t])){let e=new h(p.MISSING_FORMAT,void 0);throw o(e),e}}else n=t;return r&&(n={...n,...r}),n}(r,e,t)}catch{return i()}try{return n(a)}catch(e){return o(new h(p.FORMATTING_ERROR,e.message)),i()}}function u(e,t,o){return l(t,o,n?.dateTime,t=>(t=s(t),r.getDateTimeFormat(i,t).format(e)),()=>String(e))}function c(){return e.now?e.now:(o(new h(p.ENVIRONMENT_FALLBACK,void 0)),new Date)}return{dateTime:u,number:function(e,t,o){return l(t,o,n?.number,t=>r.getNumberFormat(i,t).format(e),()=>String(e))},relativeTime:function(e,t){try{var n;let o,a,s={};t instanceof Date||"number"==typeof t?o=new Date(t):t&&(o=null!=t.now?new Date(t.now):c(),a=t.unit,s.style=t.style,s.numberingSystem=t.numberingSystem),o||(o=c());let l=(new Date(e).getTime()-o.getTime())/1e3;a||(a=function(e){let t=Math.abs(e);return t<60?"second":t<3600?"minute":t<86400?"hour":t<604800?"day":t<2628e3?"week":t<31536e3?"month":"year"}(l)),s.numeric="second"===a?"auto":"always";let u=(n=a,Math.round(l/et[n]));return r.getRelativeTimeFormat(i,s).format(u,a)}catch(t){return o(new h(p.FORMATTING_ERROR,t.message)),String(e)}},list:function(e,t,o){let a=[],s=new Map,u=0;for(let t of e){let e;"object"==typeof t?(e=String(u),s.set(e,t)):e=String(t),a.push(e),u++}return l(t,o,n?.list,e=>{let t=r.getListFormat(i,e).formatToParts(a).map(e=>
3"literal"===e.type?e.value:s.get(e.value)||e.value);return s.size>0?t:t.join("")},()=>String(e))},dateTimeRange:function(e,t,o,a){return l(o,a,n?.dateTime,n=>(n=s(n),r.getDateTimeFormat(i,n).formatRange(e,t)),()=>[u(e),u(t)].join(" – "))},displayName:function(e,t,o){return l(t,o,n?.displayName,t=>r.getDisplayNames(i,t).of(e),()=>e)}}})({formats:e,locale:r,now:i,onError:o,timeZone:a,_formatters:t}),[e,t,i,r,o,a])}},71040:(e,t,r)=>{"use strict";var n=r(94537),i=r(79406),o=r(15050);e.exports=r(31317)||n.call(o,i)},71089:(e,t,r)=>{"use strict";var n=r(56085)("%String%"),i=r(46655);e.exports=function(e){if("symbol"==typeof e)throw new i("Cannot convert a Symbol value to a string");return n(e)}},71492:(e,t,r)=>{"use strict";var n=r(56085),i=n("%Object.preventExtensions%",!0),o=n("%Object.isExtensible%",!0),a=r(64827);e.exports=i?function(e){return!a(e)&&o(e)}:function(e){return!a(e)}},72080:(e,t,r)=>{"use strict";var n=r(27281);e.exports=function(){return Array.prototype.toReversed||n}},72516:(e,t,r)=>{"use strict";var n;if(!Object.keys){var i=Object.prototype.hasOwnProperty,o=Object.prototype.toString,a=r(31438),s=Object.prototype.propertyIsEnumerable,l=!s.call({toString:null},"toString"),u=s.call(function(){},"prototype"),c=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],h=function(e){var t=e.constructor;return t&&t.prototype===e},p={$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},f=function(){if("undefined"==typeof window)return!1;for(var e in window)try{if(!p["$"+e]&&i.call(window,e)&&null!==window[e]&&"object"==typeof window[e])try{h(window[e])}catch(e){return!0}}catch(e){return!0}return!1}(),d=function(e){if("undefined"==typeof window||!f)return h(e);try{return h(e)}catch(e){return!1}};n=function(e){var t=null!==e&&"object"==typeof e,r="[object Function]"===o.call(e),n=a(e),s=t&&"[object String]"===o.call(e),h=[];if(!t&&!r&&!n)throw TypeError("Object.keys called on a non-object");var p=u&&r;if(s&&e.length>0&&!i.call(e,0))for(var f=0;f<e.length;++f)h.push(String(f));if(n&&e.length>0)for(var y=0;y<e.length;++y)h.push(String(y));else for(var m in e)!(p&&"prototype"===m)&&i.call(e,m)&&h.push(String(m));if(l)for(var g=d(e),b=0;b<c.length;++b)!(g&&"constructor"===c[b])&&i.call(e,c[b])&&h.push(c[b]);return h}}e.exports=n},73294:(e,t,r)=>{"use strict";var n=r(46655),i=r(410),o=r(37239),a=r(43282);e.exports=function(e,t,r){if(!i(e))throw new n("Assertion failed: Type(O) is not Object");if(!a(t))throw new n("Assertion failed: P is not a Property Key");if(!o(e,t,r))throw new n("unable to create data property")}},73630:(e,t,r)=>{"use strict";var n=r(29454)(),i=r(87751),o=r(86524);e.exports=function(){var e=o();return String.prototype.trim!==e&&(n?i(String.prototype,"trim",e,!0):i(String.prototype,"trim",e)),e}},74248:(e,t,r)=>{"use strict";var n=r(95099);e.exports=function(e){return"bigint"==typeof e?e:n(e)}},75631:(e,t,r)=>{"use strict";var n=r(46655),i=r(410),o=r(76926),a=r(42979);e.exports=function(e){if(!i(e))throw new n("Assertion failed: `obj` must be an Object");return a(o(e,"length"))}},76461:e=>{e.exports=function(e){var t,r="";return r+('!function(){var analytics=window.analytics=window.analytics||[];if(!analytics.initialize)if(analytics.invoked)window.console&&console.error&&console.error("Segment snippet included twice.");else{analytics.invoked=!0;analytics.methods=["trackSubmit","trackClick","trackLink","trackForm","pageview","identify","reset","group","track","ready","alias","debug","page","once","off","on","addSourceMiddleware","addIntegrationMiddleware","setAnonymousId","addDestinationMiddleware"];analytics.factory=function(e){return function(){if(window.analytics.initialized)return window.analytics[e].apply(window.analytics,arguments);var i=Array.prototype.slice.call(arguments);i.unshift(e);analytics.push(i);return analytics}};for(var i=0;i<analytics.methods.length;i++){var key=analytics.methods[i];analytics[key]=analytics.factory(key)}analytics.load=function(key,i){var t=document.createElement("script");t.type="text/javascript";t.async=!0;t.src="https://'+(null==(t=e.host)?"":t)+(null==(t=e.ajsPath)?"":t)+'";var n=document.getElementsByTagName("script")[0];n.parentNode.insertBefore(t,n);analytics._loadOptions=i};
3analytics._writeKey="'+(null==(t=e.apiKey)?"":t)+'";'+(null==(t=e.optionalCDN)?"":t)+';analytics.SNIPPET_VERSION="4.16.1";\n'+(null==(t=e.load)?"":t)+"\n"+(null==(t=e.page)?"":t)+"\n}}();")}},76562:(e,t,r)=>{"use strict";e.exports=r(17505)},76879:(e,t,r)=>{"use strict";var n=r(46655),i=r(65993),o=r(94198);e.exports=function(e){if(void 0===e)return!1;if(!o(e))throw new n("Assertion failed: `Desc` must be a Property Descriptor");return!!i(e,"[[Get]]")||!!i(e,"[[Set]]")}},76926:(e,t,r)=>{"use strict";var n=r(46655),i=r(58546),o=r(43282),a=r(410);e.exports=function(e,t){if(!a(e))throw new n("Assertion failed: Type(O) is not Object");if(!o(t))throw new n("Assertion failed: P is not a Property Key, got "+i(t));return e[t]}},76933:(e,t,r)=>{"use strict";e.exports=r(61687).getPrototypeOf||null},77461:(e,t,r)=>{"use strict";r.d(t,{p:()=>i});var n=r(51925);function i(e,t=0){let r=(0,n.v)("stringifyForDisplay");return JSON.stringify(e,(e,t)=>void 0===t?r:t,t).split(JSON.stringify(r)).join("<undefined>")}},78407:e=>{"use strict";var t=function(){return"string"==typeof(function(){}).name},r=Object.getOwnPropertyDescriptor;if(r)try{r([],"length")}catch(e){r=null}t.functionsHaveConfigurableNames=function(){if(!t()||!r)return!1;var e=r(function(){},"name");return!!e&&!!e.configurable};var n=Function.prototype.bind;t.boundFunctionsHaveNames=function(){return t()&&"function"==typeof n&&""!==(function(){}).bind().name},e.exports=t},79406:e=>{"use strict";e.exports=Function.prototype.apply},79515:(e,t,r)=>{"use strict";r.d(t,{OC:()=>i,yo:()=>o});var n=r(19616);function i(e){var t,r;let i=Number.MAX_SAFE_INTEGER,o=null,a=-1;for(let t=0;t<e.length;++t){let s=e[t],l=function(e){let t=0;for(;t<e.length&&(0,n.i0)(e.charCodeAt(t));)++t;return t}(s);l!==s.length&&(o=null!=(r=o)?r:t,a=t,0!==t&&l<i&&(i=l))}return e.map((e,t)=>0===t?e:e.slice(i)).slice(null!=(t=o)?t:0,a+1)}function o(e,t){let r=e.replace(/"""/g,'\\"""'),i=r.split(/\r\n|[\n\r]/g),o=1===i.length,a=i.length>1&&i.slice(1).every(e=>0===e.length||(0,n.i0)(e.charCodeAt(0))),s=r.endsWith('\\"""'),l=e.endsWith('"')&&!s,u=e.endsWith("\\"),c=l||u,h=!(null!=t&&t.minimize)&&(!o||e.length>70||c||a||s),p="",f=o&&(0,n.i0)(e.charCodeAt(0));return(h&&!f||a)&&(p+="\n"),p+=r,(h||c)&&(p+="\n"),'"""'+p+'"""'}},79669:(e,t,r)=>{"use strict";var n=r(94537),i=r(79406),o=r(71040);e.exports=function(){return o(n,i,arguments)}},80665:(e,t,r)=>{"use strict";r.d(t,{L:()=>s});let{toString:n,hasOwnProperty:i}=Object.prototype,o=Function.prototype.toString,a=new Map;function s(e,t){try{return function e(t,r){if(t===r)return!0;let a=n.call(t);if(a!==n.call(r))return!1;switch(a){case"[object Array]":if(t.length!==r.length)break;case"[object Object]":{if(h(t,r))return!0;let n=l(t),o=l(r),a=n.length;if(a!==o.length)return!1;for(let e=0;e<a;++e)if(!i.call(r,n[e]))return!1;for(let i=0;i<a;++i){let o=n[i];if(!e(t[o],r[o]))return!1}return!0}case"[object Error]":return t.name===r.name&&t.message===r.message;case"[object Number]":if(t!=t)return r!=r;case"[object Boolean]":case"[object Date]":return+t==+r;case"[object RegExp]":case"[object String]":return t==`${r}`;case"[object Map]":case"[object Set]":{if(t.size!==r.size)return!1;if(h(t,r))return!0;let n=t.entries(),i="[object Map]"===a;for(;;){let t=n.next();if(t.done)break;let[o,a]=t.value;if(!r.has(o)||i&&!e(a,r.get(o)))return!1}return!0}case"[object Uint16Array]":case"[object Uint8Array]":case"[object Uint32Array]":case"[object Int32Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object ArrayBuffer]":t=new Uint8Array(t),r=new Uint8Array(r);case"[object DataView]":{let e=t.byteLength;if(e===r.byteLength)for(;e--&&t[e]===r[e];);return -1===e}case"[object AsyncFunction]":case"[object GeneratorFunction]":case"[object AsyncGeneratorFunction]":case"[object Function]":{let e=o.call(t);if(e!==o.call(r))return!1;return!function(e,t){let r=e.length-t.length;return r>=0&&e.indexOf(t,r)===r}(e,c)}}return!1}(e,t)}finally{a.clear()}}function l(e){return Object.keys(e).filter(u,e)}function u(e){return void 0!==this[e]}let c="{ [native code] }";function h(e,t){let r=a.get(e);if(r){if(r.has(t))return!0}else a.set(e,r=new Set);return r.add(t),!1}},81979:(e,t,r)=>{"use strict";var n=r(46655),i=r(13895);e.exports=function(e,t){if("number"!=typeof e||"number"!=typeof t)throw new n("Assertion failed: `x` and `y` arguments must be Numbers");if(!(i(e)||i(t)))return e<t}},82243:(e,t,r)=>{"use strict";var n=r(56085)("%Number%"),i=r(64827),o=r(64741),a=r(26741);e.exports=function(e){var t=i(e)?e:o(e,n);return"bigint"==typeof t?t:a(t)}},82487:e=>{"use strict";e.exports=Math.max},82500:(e,t,r)=>{e.exports=r(10509)},82507:(e,t,r)=>{"use strict";
3var n=r(26741),i=r(42643),o=r(24072),a=r(56308);e.exports=function(e){var t=n(e);return o(t)||0===t?0:a(t)?i(t):t}},82523:(e,t,r)=>{"use strict";var n=r(56085),i=n("%RegExp%"),o=r(46655),a=n("%parseInt%"),s=r(55592),l=r(54891),u=s("String.prototype.slice"),c=l(/^0b[01]+$/i),h=l(/^0o[0-7]+$/i),p=l(/^[-+]0x[0-9a-f]+$/i),f=l(new i("[\x85​￾]","g")),d=r(7257);e.exports=function e(t){if("string"!=typeof t)throw new o("Assertion failed: `argument` is not a String");if(c(t))return+a(u(t,2),2);if(h(t))return+a(u(t,2),8);if(f(t)||p(t))return NaN;var r=d(t);return r!==t?e(r):+t}},83160:(e,t,r)=>{"use strict";var n=r(46655),i=r(65993),o=r(94198);e.exports=function(e){if(void 0===e)return!1;if(!o(e))throw new n("Assertion failed: `Desc` must be a Property Descriptor");return!!i(e,"[[Value]]")||!!i(e,"[[Writable]]")}},84796:(e,t,r)=>{"use strict";var n=r(87454),i=(r(51331),r(76461)),o=Object.prototype.hasOwnProperty;t.j=function(e){var t,r,a=((t=e)||(t={}),t.apiKey||(t.apiKey="YOUR_API_KEY"),t.host||(t.host="cdn.segment.com"),t.ajsPath||(t.ajsPath='/analytics.js/v1/" + key + "/analytics.min.js'),t.useHostForBundles||(t.useHostForBundles=!1),o.call(t,"page")||(t.page=!0),o.call(t,"load")||(t.load=!0),t);return a.load=function(e){if(!e.load)return"";if("boolean"!=typeof e.load){var t=JSON.stringify(e.load);return'analytics.load("'+e.apiKey+'", '+t+");"}return'analytics.load("'+e.apiKey+'");'}(a),a.page=function(e){if(!e)return"";var t=[];return e.category&&t.push(e.category),e.name&&t.push(e.name),e.properties&&t.push(e.properties),"analytics.page("+n(JSON.stringify,t).join(", ")+");"}(a.page),a.optionalCDN=(r=a)&&"boolean"==typeof r.useHostForBundles&&r.useHostForBundles?'analytics._cdn = "https://'+r.host+'"':"",i(a)}},84911:e=>{"use strict";e.exports=URIError},85569:(e,t,r)=>{"use strict";var n=r(95099);e.exports=function(e){return"bigint"==typeof e?e:n(e)}},86140:(e,t,r)=>{"use strict";var n=r(74248),i=r(46655);e.exports=function(e){if("number"!=typeof e&&"bigint"!=typeof e)throw new i("argument must be a Number or a BigInt");var t=e<0?-n(-e):n(e);return 0===t?0:t}},86338:(e,t,r)=>{"use strict";var n;r.d(t,{b:()=>n}),function(e){e.NAME="Name",e.DOCUMENT="Document",e.OPERATION_DEFINITION="OperationDefinition",e.VARIABLE_DEFINITION="VariableDefinition",e.SELECTION_SET="SelectionSet",e.FIELD="Field",e.ARGUMENT="Argument",e.FRAGMENT_SPREAD="FragmentSpread",e.INLINE_FRAGMENT="InlineFragment",e.FRAGMENT_DEFINITION="FragmentDefinition",e.VARIABLE="Variable",e.INT="IntValue",e.FLOAT="FloatValue",e.STRING="StringValue",e.BOOLEAN="BooleanValue",e.NULL="NullValue",e.ENUM="EnumValue",e.LIST="ListValue",e.OBJECT="ObjectValue",e.OBJECT_FIELD="ObjectField",e.DIRECTIVE="Directive",e.NAMED_TYPE="NamedType",e.LIST_TYPE="ListType",e.NON_NULL_TYPE="NonNullType",e.SCHEMA_DEFINITION="SchemaDefinition",e.OPERATION_TYPE_DEFINITION="OperationTypeDefinition",e.SCALAR_TYPE_DEFINITION="ScalarTypeDefinition",e.OBJECT_TYPE_DEFINITION="ObjectTypeDefinition",e.FIELD_DEFINITION="FieldDefinition",e.INPUT_VALUE_DEFINITION="InputValueDefinition",e.INTERFACE_TYPE_DEFINITION="InterfaceTypeDefinition",e.UNION_TYPE_DEFINITION="UnionTypeDefinition",e.ENUM_TYPE_DEFINITION="EnumTypeDefinition",e.ENUM_VALUE_DEFINITION="EnumValueDefinition",e.INPUT_OBJECT_TYPE_DEFINITION="InputObjectTypeDefinition",e.DIRECTIVE_DEFINITION="DirectiveDefinition",e.SCHEMA_EXTENSION="SchemaExtension",e.SCALAR_TYPE_EXTENSION="ScalarTypeExtension",e.OBJECT_TYPE_EXTENSION="ObjectTypeExtension",e.INTERFACE_TYPE_EXTENSION="InterfaceTypeExtension",e.UNION_TYPE_EXTENSION="UnionTypeExtension",e.ENUM_TYPE_EXTENSION="EnumTypeExtension",e.INPUT_OBJECT_TYPE_EXTENSION="InputObjectTypeExtension",e.TYPE_COORDINATE="TypeCoordinate",e.MEMBER_COORDINATE="MemberCoordinate",e.ARGUMENT_COORDINATE="ArgumentCoordinate",e.DIRECTIVE_COORDINATE="DirectiveCoordinate",e.DIRECTIVE_ARGUMENT_COORDINATE="DirectiveArgumentCoordinate"}(n||(n={}))},86524:(e,t,r)=>{"use strict";var n=r(67317);e.exports=function(){return String.prototype.trim&&"​"==="​".trim()&&"᠎"==="᠎".trim()&&"_᠎"==="_᠎".trim()&&"᠎_"==="᠎_".trim()?String.prototype.trim:n}},87255:(e,t,r)=>{"use strict";function n(e){let t=e.match(/(\d+)\.prod-bibes\./);if(t)return{bibeNumber:t[1],isProduction:!0}
3;let r=e.match(/(\d+)\.staging-bibes\./);return r?{bibeNumber:r[1],isProduction:!1}:null}function i(e){let t=n(e);return t?t.isProduction?"production":"staging":e.includes("dev.buffer.com")?"staging":e.includes("local.buffer.com")||e.includes("localhost")?"development":"production"}r.d(t,{WN:()=>i,_K:()=>o,_L:()=>s,v6:()=>n});let o="https://open-api.buffer.com/",a="https://open-api.dev.buffer.com/";function s(e){let t=n(e);if(t)return t.isProduction?o:a;switch(i(e)){case"development":return"https://free-tools-api.local.buffer.com/";case"staging":return a;default:return o}}},87313:(e,t,r)=>{"use strict";var n=r(24072);e.exports=function(e,t){return e===t?0!==e||1/e==1/t:n(e)&&n(t)}},87454:(e,t,r)=>{"use strict";var n=r(98994);e.exports=function(e,t){if("function"!=typeof e)throw TypeError("Expected a function but received a "+typeof e);var r=[];return n(function(t,n,i){r.push(e(t,n,i))},t),r}},87544:(e,t,r)=>{"use strict";var n=r(8189);e.exports=function(){return n()&&!!Symbol.toStringTag}},87751:(e,t,r)=>{"use strict";var n=r(59759),i=r(51732),o=r(46655),a=r(38358);e.exports=function(e,t,r){if(!e||"object"!=typeof e&&"function"!=typeof e)throw new o("`obj` must be an object or a function`");if("string"!=typeof t&&"symbol"!=typeof t)throw new o("`property` must be a string or a symbol`");if(arguments.length>3&&"boolean"!=typeof arguments[3]&&null!==arguments[3])throw new o("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&"boolean"!=typeof arguments[4]&&null!==arguments[4])throw new o("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&"boolean"!=typeof arguments[5]&&null!==arguments[5])throw new o("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&"boolean"!=typeof arguments[6])throw new o("`loose`, if provided, must be a boolean");var s=arguments.length>3?arguments[3]:null,l=arguments.length>4?arguments[4]:null,u=arguments.length>5?arguments[5]:null,c=arguments.length>6&&arguments[6],h=!!a&&a(e,t);if(n)n(e,t,{configurable:null===u&&h?h.configurable:!u,enumerable:null===s&&h?h.enumerable:!s,value:r,writable:null===l&&h?h.writable:!l});else if(!c&&(s||l||u))throw new i("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");else e[t]=r}},87822:(e,t,r)=>{"use strict";var n=r(94537),i=r(46655),o=r(15050),a=r(71040);e.exports=function(e){if(e.length<1||"function"!=typeof e[0])throw new i("a function is required");return a(n,o,e)}},88220:(e,t,r)=>{"use strict";var n=r(46655),i=r(70333),o=r(12747),a=r(26741),s=r(71089),l=r(24072);e.exports=function(e,t,r){if("function"!=typeof r&&void 0!==r)throw new n("Assertion failed: `compareFn` must be a function or undefined");if(void 0===e&&void 0===t)return 0;if(void 0===e)return 1;if(void 0===t)return -1;if(void 0!==r){var u=a(i(r,void 0,[e,t]));return l(u)?0:u}var c=s(e),h=s(t);return o(c,h,!0)?-1:+!!o(h,c,!0)}},89309:e=>{"use strict";var t=Object.prototype.hasOwnProperty,r=String.prototype.charAt,n=Object.prototype.toString,i=function(e,t){return r.call(e,t)},o=function(e,r){return t.call(e,r)},a=function(e,t){t=t||o;for(var r=[],n=0,i=e.length;n<i;n+=1)t(e,n)&&r.push(String(n));return r},s=function(e,t){t=t||o;var r=[];for(var n in e)t(e,n)&&r.push(String(n));return r};e.exports=function(e){return null==e?[]:"[object String]"===n.call(e)?a(e,i):null!=e&&"function"!=typeof e&&"number"==typeof e.length?a(e,o):s(e)}},90704:e=>{"use strict";e.exports=function(e){return!!e}},90986:(e,t,r)=>{"use strict";r.d(t,{l:()=>a});var n=r(49838),i=r(52912);let o=Symbol.for("__APOLLO_CONTEXT__");function a(){(0,i.V1)(!0,37);let e=n.createContext[o];return e||(Object.defineProperty(n.createContext,o,{value:e=n.createContext({}),enumerable:!1,writable:!1,configurable:!0}),e.displayName="ApolloContext"),e}},91622:e=>{"use strict";e.exports=function(e){if(void 0===e)return e;var t={};return"[[Value]]"in e&&(t.value=e["[[Value]]"]),"[[Writable]]"in e&&(t.writable=!!e["[[Writable]]"]),"[[Get]]"in e&&(t.get=e["[[Get]]"]),"[[Set]]"in e&&(t.set=e["[[Set]]"]),"[[Enumerable]]"in e&&(t.enumerable=!!e["[[Enumerable]]"]),"[[Configurable]]"in e&&(t.configurable=!!e["[[Configurable]]"]),t}},91922:(e,t,r)=>{"use strict";var n=r(29454),i=r(59759),o=n.hasArrayLengthDefineBug(),a=o&&r(12279),s=r(55592)("Object.prototype.propertyIsEnumerable");e.exports=function(e,t,r,n,l,u){if(!i){if(!e(u)||!u["[[Configurable]]"]||!u["[[Writable]]"]||l in n&&s(n,l)!==!!u["[[Enumerable]]"])return!1;var c=u["[[Value]]"];return n[l]=c,t(n[l],c)}return o&&"length"===l&&"[[Value]]"in u&&a(n)&&n.length!==u["[[Value]]"]?(n.length=u["[[Value]]"],n.length===u["[[Value]]"]):(i(n,l,r(u)),!0)}},92016:(e,t,r)=>{"use strict";var n=r(43859),i=r(20499),o=r(19906);e.exports=function(){var e=o();return n(Array.prototype,{toSorted:e},{toSorted:function(){return Array.prototype.toSorted!==e}}),i("toSorted"),e}},92999:(e,t,r)=>{"use strict";
3var n=r(11390),i=r(88220),o=r(67843),a=r(10109),s=r(34038),l=r(60551),u=r(24447),c=r(71089),h=r(46655);e.exports=function(e){if(void 0!==e&&!a(e))throw new h("`comparefn` must be a function");for(var t=u(this),r=s(t),p=n(r),f=l(t,r,function(t,r){return i(t,r,e)},"read-through-holes"),d=0;d<r;)o(p,c(d),f[d]),d+=1;return p}},93062:(e,t,r)=>{"use strict";var n=r(46655),i=r(410),o=r(43282);e.exports=function(e,t){if(!i(e))throw new n("Assertion failed: `O` must be an Object");if(!o(t))throw new n("Assertion failed: `P` must be a Property Key");return t in e}},93129:e=>{"use strict";e.exports=Math.abs},93407:(e,t,r)=>{"use strict";r.d(t,{l:()=>i});var n=r(23306);function i(e,t){return(0,n.o)(e,t,t.variables&&{variables:(0,n.o)({...e&&e.variables,...t.variables})})}},94198:(e,t,r)=>{"use strict";var n=r(46655),i=r(65993),o={__proto__:null,"[[Configurable]]":!0,"[[Enumerable]]":!0,"[[Get]]":!0,"[[Set]]":!0,"[[Value]]":!0,"[[Writable]]":!0};e.exports=function(e){if(!e||"object"!=typeof e)return!1;for(var t in e)if(i(e,t)&&!o[t])return!1;var r=i(e,"[[Value]]")||i(e,"[[Writable]]"),a=i(e,"[[Get]]")||i(e,"[[Set]]");if(r&&a)throw new n("Property Descriptors may not be both accessor and data descriptors");return!0}},94537:(e,t,r)=>{"use strict";var n=r(15077);e.exports=Function.prototype.bind||n},94790:(e,t,r)=>{"use strict";r(92016)()},94835:(e,t,r)=>{"use strict";r.d(t,{AQ:()=>f,C6:()=>i,Cl:()=>o,Ju:()=>u,N3:()=>p,Tt:()=>a,YH:()=>l,fX:()=>h,sH:()=>s,xN:()=>d,zs:()=>c});var n=function(e,t){return(n=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)};function i(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var o=function(){return(o=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function a(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)0>t.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r}function s(e,t,r,n){return new(r||(r=Promise))(function(i,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t)})).then(a,s)}l((n=n.apply(e,t||[])).next())})}function l(e,t){var r,n,i,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},a=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return a.next=s(0),a.throw=s(1),a.return=s(2),"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(s){return function(l){var u=[s,l];if(r)throw TypeError("Generator is already executing.");for(;a&&(a=0,u[0]&&(o=0)),o;)try{if(r=1,n&&(i=2&u[0]?n.return:u[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,u[1])).done)return i;switch(n=0,i&&(u=[2&u[0],i.value]),u[0]){case 0:case 1:i=u;break;case 4:return o.label++,{value:u[1],done:!1};case 5:o.label++,n=u[1],u=[0];continue;case 7:u=o.ops.pop(),o.trys.pop();continue;default:if(!(i=(i=o.trys).length>0&&i[i.length-1])&&(6===u[0]||2===u[0])){o=0;continue}if(3===u[0]&&(!i||u[1]>i[0]&&u[1]<i[3])){o.label=u[1];break}if(6===u[0]&&o.label<i[1]){o.label=i[1],i=u;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(u);break}i[2]&&o.ops.pop(),o.trys.pop();continue}u=t.call(e,o)}catch(e){u=[6,e],n=0}finally{r=i=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}}}function u(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function c(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a}function h(e,t,r){if(r||2==arguments.length)for(var n,i=0,o=t.length;i<o;i++)!n&&i in t||(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return e.concat(n||Array.prototype.slice.call(t))}function p(e){return this instanceof p?(this.v=e,this):new p(e)}function f(e,t,r){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var n,i=r.apply(e,t||[]),o=[];return n=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",function(e){return function(t){return Promise.resolve(t).then(e,u)}}),n[Symbol.asyncIterator]=function(){return this},n;function a(e,t){i[e]&&(n[e]=function(t){return new Promise(function(r,n){o.push([e,t,r,n])>1||s(e,t)})},t&&(n[e]=t(n[e])))}function s(e,t){try{var r;(r=i[e](t)).value instanceof p?Promise.resolve(r.value.v).then(l,u):c(o[0][2],r)}catch(e){c(o[0][3],e)}}function l(e){s("next",e)}function u(e){s("throw",e)}function c(e,t){e(t),o.shift(),o.length&&s(o[0][0],o[0][1])}}function d(e){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var t,r=e[Symbol.asyncIterator];return r?r.call(e):(e=u(e),t={},n("next"),n("throw"),n("return"),t[Symbol.asyncIterator]=function(){return this},t);function n(r){t[r]=e[r]&&function(t){return new Promise(function(n,i){var o,a,s;o=n,a=i,s=(t=e[r](t)).done,Promise.resolve(t.value).then(function(e){o({value:e,done:s})},a)})}}}Object.create,Object.create,"function"==typeof SuppressedError&&SuppressedError},94872:(e,t,r)=>{"use strict";r(26450)()},95099:e=>{"use strict";e.exports=Math.floor},95405:(e,t,r)=>{"use strict";var n=r(46655),i=r(94198),o=r(91622);e.exports=function(e){if(void 0!==e&&!i(e))throw new n("Assertion failed: `Desc` must be a Property Descriptor");return o(e)}},96316:(e,t,r)=>{"use strict";var n=r(38358),i=r(51732),o=r(46655),a=r(410),s=r(94198),l=r(31920),u=r(54543),
3c=r(43282),h=r(32391),p=r(87313),f=r(64255);e.exports=function(e,t,r){if(!a(e))throw new o("Assertion failed: O must be an Object");if(!c(t))throw new o("Assertion failed: P must be a Property Key");if(!s(r))throw new o("Assertion failed: Desc must be a Property Descriptor");if(!n){if(l(r))throw new i("This environment does not support accessor property descriptors.");var d=!(t in e)&&r["[[Writable]]"]&&r["[[Enumerable]]"]&&r["[[Configurable]]"]&&"[[Value]]"in r,y=t in e&&(!("[[Configurable]]"in r)||r["[[Configurable]]"])&&(!("[[Enumerable]]"in r)||r["[[Enumerable]]"])&&(!("[[Writable]]"in r)||r["[[Writable]]"])&&"[[Value]]"in r;if(d||y)return e[t]=r["[[Value]]"],p(e[t],r["[[Value]]"]);throw new i("This environment does not support defining non-writable, non-enumerable, or non-configurable properties")}var m=n(e,t),g=m&&h(m),b=u(e);return f(e,t,b,r,g)}},98994:(e,t,r)=>{"use strict";var n=r(89309),i=Object.prototype.toString,o=function(e){var t=typeof e;return"number"===t||"object"===t&&"[object Number]"===i.call(e)},a="function"==typeof Array.isArray?Array.isArray:function(e){return"[object Array]"===i.call(e)},s=function(e,t){for(var r=0;r<t.length&&!1!==e(t[r],r,t);r+=1);},l=function(e,t){for(var r=n(t),i=0;i<r.length&&!1!==e(t[r[i]],r[i],t);i+=1);};e.exports=function(e,t){return(null!=t&&(a(t)||"function"!==t&&o(t.length))?s:l).call(this,e,t)}},99675:(e,t,r)=>{"use strict";var n=r(55592),i=n("Date.prototype.getDay"),o=function(e){try{return i(e),!0}catch(e){return!1}},a=n("Object.prototype.toString"),s=r(87544)();e.exports=function(e){return"object"==typeof e&&null!==e&&(s?o(e):"[object Date]"===a(e))}},99896:(e,t,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return r(3754)}])}},e=>{var t=t=>e(e.s=t);e.O(0,[6593,8792],()=>(t(99896),t(65104))),_N_E=e.O()}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.