PageSourceSearch

https://swixsport.com/_next/static/chunks/5950-28b927dcf66fb8eb.js

js swixsport.com collected 2026-10-02 07:03:36 UTC 80,764 bytes, 8 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5950],{10593:function(e,t,r){r.d(t,{y:function(){return l}});var n=r(2455),o=r(90909),i=r(44493),s=r(98855),u=r(30849),a=r(53104),c=r(32096),l=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 i,s=this,u=(i=e)&&i instanceof n.Lv||i&&(0,a.m)(i.next)&&(0,a.m)(i.error)&&(0,a.m)(i.complete)&&(0,o.Nn)(i)?e:new n.Hp(e,t,r);return(0,c.x)(function(){var e=s.operator,t=s.source;u.add(e?e.call(u,t):t?s._subscribe(u):s._trySubscribe(u))}),u},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=f(t))(function(t,o){var i=new n.Hp({next:function(t){try{e(t)}catch(e){o(e),i.unsubscribe()}},error:o,complete:t});r.subscribe(i)})},e.prototype._subscribe=function(e){var t;return null===(t=this.source)||void 0===t?void 0:t.subscribe(e)},e.prototype[i.L]=function(){return this},e.prototype.pipe=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return(0,s.U)(e)(this)},e.prototype.toPromise=function(e){var t=this;return new(e=f(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 f(e){var t;return null!==(t=null!=e?e:u.v.Promise)&&void 0!==t?t:Promise}},18971:function(e,t,r){r.d(t,{t:function(){return s}});var n=r(22970),o=r(56987),i=r(18373),s=function(e){function t(t,r,n){void 0===t&&(t=1/0),void 0===r&&(r=1/0),void 0===n&&(n=i.l);var o=e.call(this)||this;return o._bufferSize=t,o._windowTime=r,o._timestampProvider=n,o._buffer=[],o._infiniteTimeWindow=!0,o._infiniteTimeWindow=r===1/0,o._bufferSize=Math.max(1,t),o._windowTime=Math.max(1,r),o}return(0,n.ZT)(t,e),t.prototype.next=function(t){var r=this.isStopped,n=this._buffer,o=this._infiniteTimeWindow,i=this._timestampProvider,s=this._windowTime;!r&&(n.push(t),o||n.push(i.now()+s)),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(),o=0;o<n.length&&!e.closed;o+=r?1:2)e.next(n[o]);return this._checkFinalizedStatuses(e),t},t.prototype._trimBuffer=function(){var e=this._bufferSize,t=this._timestampProvider,r=this._buffer,n=this._infiniteTimeWindow,o=(n?1:2)*e;if(e<1/0&&o<r.length&&r.splice(0,r.length-o),!n){for(var i=t.now(),s=0,u=1;u<r.length&&r[u]<=i;u+=2)s=u;s&&r.splice(0,s+1)}},t}(o.x)},56987:function(e,t,r){r.d(t,{x:function(){return c}});var n=r(22970),o=r(10593),i=r(90909),s=(0,r(19208).d)(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),u=r(4290),a=r(32096),c=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,n.ZT)(t,e),t.prototype.lift=function(e){var t=new l(this,this);return t.operator=e,t},t.prototype._throwIfClosed=function(){if(this.closed)throw new s},t.prototype.next=function(e){var t=this;(0,a.x)(function(){var r,o;if(t._throwIfClosed(),!t.isStopped){t.currentObservers||(t.currentObservers=Array.from(t.observers));try{for(var i=(0,n.XA)(t.currentObservers),s=i.next();!s.done;s=i.next())s.value.next(e)}catch(e){r={error:e}}finally{try{s&&!s.done&&(o=i.return)&&o.call(i)}finally{if(r)throw r.error}}}})},t.prototype.error=function(e){var t=this;(0,a.x)(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;(0,a.x)(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?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,o=this.observers;return r||n?i.Lc:(this.currentObservers=null,o.push(e),new i.w0(function(){t.currentObservers=null,(0,u.P)(o,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 o.y;return e.source=this,e},t.create=function(e,t){return new l(e,t)},t}(o.y),l=function(e){function t(t,r){var n=e.call(this)||this;return n.destination=t,n.source=r,n}return(0,n.ZT)(t,e),t.prototype.next=function(e){var t,r;null===(r=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===r||r.call(t,e)},t.prototype.error=function(e){var t,r;null===(r=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===r||r.call(t,e)},t.prototype.complete=function(){var e,t;null===(t=null===(e=this.destination)||void 0===e?void 0:e.complete)||void 0===t||t.call(e)},t.prototype._subscribe=function(e){var t,r;return null!==(r=null===(t=this.source)||void 0===t?void 0:t.subscribe(e))&&void 0!==r?r:i.Lc},t}(c)},2455:function(e,t,r){r.d(t,{Hp:function(){return b},Lv:function(){return d}});var n=r(22970),o=r(53104),i=r(90909),s=r(30849),u=r(72485),a=r(34121),c=l("C",void 0,void 0);function l(e,t,r){return{kind:e,value:t,error:r}}var f=r(84094),h=r(32096),d=function(e){function t(t){var r=e.call(this)||this;return r.isStopped=!1,t?(r.destination=t,(0,i.Nn)(t)&&t.add(r)):r.destination=w,r}return(0,n.ZT)(t,e),t.create=function(e,t,r){return new b(e,t,r)},t.prototype.next=function(e){this.isStopped?g(l("N",e,void 0),this):this._next(e)},t.prototype.error=function(e){this.isStopped?g(l("E",void 0,e),this):(this.isStopped=!0,this._error(e))},t.prototype.complete=function(){this.isStopped?g(c,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}(i.w0),p=Function.prototype.bind;function y(e,t){return p.call(e,t)}var v=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){m(e)}},e.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){m(e)}else m(e)},e.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){m(e)}},e}(),b=function(e){function t(t,r,n){var i,u,a=e.call(this)||this;return(0,o.m)(t)||!t?i={next:null!=t?t:void 0,error:null!=r?r:void 0,complete:null!=n?n:void 0}:a&&s.v.useDeprecatedNextContext?((u=Object.create(t)).unsubscribe=function(){return a.unsubscribe()},i={next:t.next&&y(t.next,u),error:t.error&&y(t.error,u),complete:t.complete&&y(t.complete,u)}):i=t,a.destination=new v(i),a}return(0,n.ZT)(t,e),t}(d);function m(e){s.v.useDeprecatedSynchronousErrorHandling?(0,h.O)(e):(0,u.h)(e)}function g(e,t){var r=s.v.onStoppedNotification;r&&f.z.setTimeout(function(){return r(e,t)})}var w={closed:!0,next:a.Z,error:function(e){throw e},complete:a.Z}},90909:function(e,t,r){r.d(t,{Lc:function(){return a},w0:function(){return u},Nn:function(){return c}});var n=r(22970),o=r(53104),i=(0,r(19208).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}}),s=r(4290),u=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,s,u,a=this._parentage;if(a){if(this._parentage=null,Array.isArray(a))try{for(var c=(0,n.XA)(a),f=c.next();!f.done;f=c.next())f.value.remove(this)}catch(t){e={error:t}}finally{try{f&&!f.done&&(t=c.return)&&t.call(c)}finally{if(e)throw e.error}}else a.remove(this)}var h=this.initialTeardown;
1if((0,o.m)(h))try{h()}catch(e){u=e instanceof i?e.errors:[e]}var d=this._finalizers;if(d){this._finalizers=null;try{for(var p=(0,n.XA)(d),y=p.next();!y.done;y=p.next()){var v=y.value;try{l(v)}catch(e){u=null!=u?u:[],e instanceof i?u=(0,n.ev)((0,n.ev)([],(0,n.CR)(u)),(0,n.CR)(e.errors)):u.push(e)}}}catch(e){r={error:e}}finally{try{y&&!y.done&&(s=p.return)&&s.call(p)}finally{if(r)throw r.error}}}if(u)throw new i(u)}},t.prototype.add=function(e){var r;if(e&&e!==this){if(this.closed)l(e);else{if(e instanceof t){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=null!==(r=this._finalizers)&&void 0!==r?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)&&(0,s.P)(t,e)},t.prototype.remove=function(e){var r=this._finalizers;r&&(0,s.P)(r,e),e instanceof t&&e._removeParent(this)},t.EMPTY=((e=new t).closed=!0,e),t}(),a=u.EMPTY;function c(e){return e instanceof u||e&&"closed"in e&&(0,o.m)(e.remove)&&(0,o.m)(e.add)&&(0,o.m)(e.unsubscribe)}function l(e){(0,o.m)(e)?e():e.unsubscribe()}},30849:function(e,t,r){r.d(t,{v:function(){return n}});var n={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},41491:function(e,t,r){r.d(t,{n:function(){return o}});var n=r(90794);function o(e,t){var r="object"==typeof t;return new Promise(function(o,i){var s,u=!1;e.subscribe({next:function(e){s=e,u=!0},error:i,complete:function(){u?o(s):r?o(t.defaultValue):i(new n.K)}})})}},50419:function(e,t,r){r.d(t,{a:function(){return h},l:function(){return d}});var n=r(10593),o=r(52875),i=r(50530),s=r(64776),u=r(2151),a=r(66829),c=r(99381),l=r(51058),f=r(56202);function h(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=(0,a.yG)(e),l=(0,a.jO)(e),f=(0,o.D)(e),h=f.args,p=f.keys;if(0===h.length)return(0,i.D)([],r);var y=new n.y(d(h,r,p?function(e){return(0,c.n)(p,e)}:s.y));return l?y.pipe((0,u.Z)(l)):y}function d(e,t,r){return void 0===r&&(r=s.y),function(n){p(t,function(){for(var o=e.length,s=Array(o),u=o,a=o,c=function(o){p(t,function(){var c=(0,i.D)(e[o],t),f=!1;c.subscribe((0,l.x)(n,function(e){s[o]=e,!f&&(f=!0,a--),a||n.next(r(s.slice()))},function(){--u||n.complete()}))},n)},f=0;f<o;f++)c(f)},n)}}function p(e,t,r){e?(0,f.f)(r,e,t):t()}},56001:function(e,t,r){r.d(t,{z:function(){return s}});var n=r(63235),o=r(66829),i=r(50530);function s(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return(0,n.J)(1)((0,i.D)(e,(0,o.yG)(e)))}},96112:function(e,t,r){r.d(t,{P:function(){return i}});var n=r(10593),o=r(70581);function i(e){return new n.y(function(t){(0,o.Xf)(e()).subscribe(t)})}},72681:function(e,t,r){r.d(t,{E:function(){return o},c:function(){return i}});var n=r(10593),o=new n.y(function(e){return e.complete()});function i(e){return e?new n.y(function(t){return e.schedule(function(){return t.complete()})}):o}},50530:function(e,t,r){r.d(t,{D:function(){return i}});var n=r(65188),o=r(70581);function i(e,t){return t?(0,n.x)(e,t):(0,o.Xf)(e)}},70581:function(e,t,r){r.d(t,{Xf:function(){return y}});var n=r(22970),o=r(99052),i=r(70175),s=r(10593),u=r(17967),a=r(31273),c=r(23191),l=r(30608),f=r(63049),h=r(53104),d=r(72485),p=r(44493);function y(e){if(e instanceof s.y)return e;if(null!=e){if((0,u.c)(e))return new s.y(function(t){var r=e[p.L]();if((0,h.m)(r.subscribe))return r.subscribe(t);throw TypeError("Provided object does not correctly implement Symbol.observable")});if((0,o.z)(e))return new s.y(function(t){for(var r=0;r<e.length&&!t.closed;r++)t.next(e[r]);t.complete()});if((0,i.t)(e))return new s.y(function(t){e.then(function(e){t.closed||(t.next(e),t.complete())},function(e){return t.error(e)}).then(null,d.h)});if((0,a.D)(e))return v(e);if((0,l.T)(e))return new s.y(function(t){var r,o;try{for(var i=(0,n.XA)(e),s=i.next();!s.done;s=i.next()){var u=s.value;if(t.next(u),t.closed)return}}catch(e){r={error:e}}
1finally{try{s&&!s.done&&(o=i.return)&&o.call(i)}finally{if(r)throw r.error}}t.complete()});if((0,f.L)(e))return v((0,f.Q)(e))}throw(0,c.z)(e)}function v(e){return new s.y(function(t){(function(e,t){var r,o,i,s;return(0,n.mG)(this,void 0,void 0,function(){var u;return(0,n.Jh)(this,function(a){switch(a.label){case 0:a.trys.push([0,5,6,11]),r=(0,n.KL)(e),a.label=1;case 1:return[4,r.next()];case 2:if((o=a.sent()).done)return[3,4];if(u=o.value,t.next(u),t.closed)return[2];a.label=3;case 3:return[3,1];case 4:return[3,11];case 5:return i={error:a.sent()},[3,11];case 6:if(a.trys.push([6,,9,10]),!(o&&!o.done&&(s=r.return)))return[3,8];return[4,s.call(r)];case 7:a.sent(),a.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)})})}},44999:function(e,t,r){r.d(t,{T:function(){return a}});var n=r(63235),o=r(70581),i=r(72681),s=r(66829),u=r(50530);function a(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=(0,s.yG)(e),a=(0,s._6)(e,1/0);return e.length?1===e.length?(0,o.Xf)(e[0]):(0,n.J)(a)((0,u.D)(e,r)):i.E}},47262:function(e,t,r){r.d(t,{of:function(){return i}});var n=r(66829),o=r(50530);function i(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=(0,n.yG)(e);return(0,o.D)(e,r)}},8141:function(e,t,r){r.d(t,{_:function(){return i}});var n=r(10593),o=r(53104);function i(e,t){var r=(0,o.m)(e)?e:function(){return e},i=function(e){return e.error(r())};return new n.y(t?function(e){return t.schedule(i,0,e)}:i)}},46431:function(e,t,r){r.d(t,{H:function(){return u}});var n=r(10593),o=r(20030),i=r(73882),s=r(54630);function u(e,t,r){void 0===e&&(e=0),void 0===r&&(r=o.P);var u=-1;return null!=t&&((0,i.K)(t)?r=t:u=t),new n.y(function(t){var n=(0,s.q)(e)?+e-r.now():e;n<0&&(n=0);var o=0;return r.schedule(function(){t.closed||(t.next(o++),0<=u?this.schedule(void 0,u):t.complete())},n)})}},51058:function(e,t,r){r.d(t,{Q:function(){return i},x:function(){return o}});var n=r(22970);function o(e,t,r,n,o){return new i(e,t,r,n,o)}var i=function(e){function t(t,r,n,o,i,s){var u=e.call(this,t)||this;return u.onFinalize=i,u.shouldUnsubscribe=s,u._next=r?function(e){try{r(e)}catch(e){t.error(e)}}:e.prototype._next,u._error=o?function(e){try{o(e)}catch(e){t.error(e)}finally{this.unsubscribe()}}:e.prototype._error,u._complete=n?function(){try{n()}catch(e){t.error(e)}finally{this.unsubscribe()}}:e.prototype._complete,u}return(0,n.ZT)(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)||void 0===t||t.call(this)}},t}(r(2455).Lv)},30394:function(e,t,r){r.d(t,{K:function(){return function e(t){return(0,i.e)(function(r,i){var s,u=null,a=!1;u=r.subscribe((0,o.x)(i,void 0,void 0,function(o){s=(0,n.Xf)(t(o,e(t)(r))),u?(u.unsubscribe(),u=null,s.subscribe(i)):a=!0})),a&&(u.unsubscribe(),u=null,s.subscribe(i))})}}});var n=r(70581),o=r(51058),i=r(67048)},50368:function(e,t,r){r.d(t,{h:function(){return i}});var n=r(67048),o=r(51058);function i(e,t){return(0,n.e)(function(r,n){var i=0;r.subscribe((0,o.x)(n,function(r){return e.call(t,r,i++)&&n.next(r)}))})}},56075:function(e,t,r){r.d(t,{x:function(){return o}});var n=r(67048);function o(e){return(0,n.e)(function(t,r){try{t.subscribe(r)}finally{r.add(e)}})}},73756:function(e,t,r){r.d(t,{U:function(){return i}});var n=r(67048),o=r(51058);function i(e,t){return(0,n.e)(function(r,n){var i=0;r.subscribe((0,o.x)(n,function(r){n.next(e.call(t,r,i++))}))})}},63235:function(e,t,r){r.d(t,{J:function(){return i}});var n=r(77085),o=r(64776);function i(e){return void 0===e&&(e=1/0),(0,n.z)(o.y,e)}},77085:function(e,t,r){r.d(t,{z:function(){return function e(t,r,a){return(void 0===a&&(a=1/0),(0,u.m)(r))?e(function(e,i){return(0,n.U)(function(t,n){return r(e,t,i,n)})((0,o.Xf)(t(e,i)))},a):("number"==typeof r&&(a=r),(0,i.e)(function(e,r){var n,i,u,c,l,f,h,d,p;return n=a,u=[],c=0,l=0,f=!1,h=function(){!f||u.length||c||r.complete()},d=function(e){return c<n?p(e):u.push(e)},p=function(e){c++;var a=!1;(0,o.Xf)(t(e,l++)).subscribe((0,s.x)(r,function(e){i?d(e):r.next(e)},function(){a=!0},void 0,function(){if(a)try{for(c--;u.length&&c<n;)!function(){var e=u.shift();p(e)}();h()}catch(e){r.error(e)}}))},e.subscribe((0,s.x)(r,d,function(){f=!0,h()})),function(){}}))}}});var n=r(73756),o=r(70581),i=r(67048),s=(r(56202),r(51058)),u=r(53104)},10531:function(e,t,r){r.d(t,{Q:function(){return s}});var n=r(56202),o=r(67048),i=r(51058);function s(e,t){return void 0===t&&(t=0),(0,o.e)(function(r,o){r.subscribe((0,i.x)(o,function(r){return(0,n.f)(o,e,function(){return o.next(r)},t)},function(){return(0,n.f)(o,e,function(){return o.complete()},t)},function(r){return(0,n.f)(o,e,function(){return o.error(r)},t)}
1))})}},66921:function(e,t,r){r.d(t,{B:function(){return a}});var n=r(22970),o=r(70581),i=r(56987),s=r(2455),u=r(67048);function a(e){void 0===e&&(e={});var t=e.connector,r=void 0===t?function(){return new i.x}:t,n=e.resetOnError,a=void 0===n||n,l=e.resetOnComplete,f=void 0===l||l,h=e.resetOnRefCountZero,d=void 0===h||h;return function(e){var t,n,i,l=0,h=!1,p=!1,y=function(){null==n||n.unsubscribe(),n=void 0},v=function(){y(),t=i=void 0,h=p=!1},b=function(){var e=t;v(),null==e||e.unsubscribe()};return(0,u.e)(function(e,u){l++,p||h||y();var m=i=null!=i?i:r();u.add(function(){0!=--l||p||h||(n=c(b,d))}),m.subscribe(u),!t&&l>0&&(t=new s.Hp({next:function(e){return m.next(e)},error:function(e){p=!0,y(),n=c(v,a,e),m.error(e)},complete:function(){h=!0,y(),n=c(v,f),m.complete()}}),(0,o.Xf)(e).subscribe(t))})(e)}}function c(e,t){for(var r=[],i=2;i<arguments.length;i++)r[i-2]=arguments[i];if(!0===t){e();return}if(!1!==t){var u=new s.Hp({next:function(){u.unsubscribe(),e()}});return(0,o.Xf)(t.apply(void 0,(0,n.ev)([],(0,n.CR)(r)))).subscribe(u)}}},58454:function(e,t,r){r.d(t,{d:function(){return i}});var n=r(18971),o=r(66921);function i(e,t,r){var i,s,u,a,c=!1;return e&&"object"==typeof e?(a=void 0===(i=e.bufferSize)?1/0:i,t=void 0===(s=e.windowTime)?1/0:s,c=void 0!==(u=e.refCount)&&u,r=e.scheduler):a=null!=e?e:1/0,(0,o.B)({connector:function(){return new n.t(a,t,r)},resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:c})}},49946:function(e,t,r){r.d(t,{R:function(){return o}});var n=r(67048);function o(e,t){return void 0===t&&(t=0),(0,n.e)(function(r,n){n.add(e.schedule(function(){return r.subscribe(n)},t))})}},77819:function(e,t,r){r.d(t,{b:function(){return u}});var n=r(53104),o=r(67048),i=r(51058),s=r(64776);function u(e,t,r){var u=(0,n.m)(e)||t||r?{next:e,error:t,complete:r}:e;return u?(0,o.e)(function(e,t){null===(r=u.subscribe)||void 0===r||r.call(u);var r,n=!0;e.subscribe((0,i.x)(t,function(e){var r;null===(r=u.next)||void 0===r||r.call(u,e),t.next(e)},function(){var e;n=!1,null===(e=u.complete)||void 0===e||e.call(u),t.complete()},function(e){var r;n=!1,null===(r=u.error)||void 0===r||r.call(u,e),t.error(e)},function(){var e,t;n&&(null===(e=u.unsubscribe)||void 0===e||e.call(u)),null===(t=u.finalize)||void 0===t||t.call(u)}))}):s.y}},65188:function(e,t,r){r.d(t,{x:function(){return m}});var n=r(70581),o=r(10531),i=r(49946),s=r(10593),u=r(73507),a=r(53104),c=r(56202);function l(e,t){if(!e)throw Error("Iterable cannot be null");return new s.y(function(r){(0,c.f)(r,t,function(){var n=e[Symbol.asyncIterator]();(0,c.f)(r,t,function(){n.next().then(function(e){e.done?r.complete():r.next(e.value)})},0,!0)})})}var f=r(17967),h=r(70175),d=r(99052),p=r(30608),y=r(31273),v=r(23191),b=r(63049);function m(e,t){if(null!=e){if((0,f.c)(e))return(0,n.Xf)(e).pipe((0,i.R)(t),(0,o.Q)(t));if((0,d.z)(e))return new s.y(function(r){var n=0;return t.schedule(function(){n===e.length?r.complete():(r.next(e[n++]),r.closed||this.schedule())})});if((0,h.t)(e))return(0,n.Xf)(e).pipe((0,i.R)(t),(0,o.Q)(t));if((0,y.D)(e))return l(e,t);if((0,p.T)(e))return new s.y(function(r){var n;return(0,c.f)(r,t,function(){n=e[u.h](),(0,c.f)(r,t,function(){var e,t,o;try{t=(e=n.next()).value,o=e.done}catch(e){r.error(e);return}o?r.complete():r.next(t)},0,!0)}),function(){return(0,a.m)(null==n?void 0:n.return)&&n.return()}});if((0,b.L)(e))return l((0,b.Q)(e),t)}throw(0,v.z)(e)}},31678:function(e,t,r){r.d(t,{o:function(){return u}});var n=r(22970),o=function(e){function t(t,r){return e.call(this)||this}return(0,n.ZT)(t,e),t.prototype.schedule=function(e,t){return void 0===t&&(t=0),this},t}(r(90909).w0),i={setInterval:function(e,t){for(var r=[],o=2;o<arguments.length;o++)r[o-2]=arguments[o];var s=i.delegate;return(null==s?void 0:s.setInterval)?s.setInterval.apply(s,(0,n.ev)([e,t],(0,n.CR)(r))):setInterval.apply(void 0,(0,n.ev)([e,t],(0,n.CR)(r)))},clearInterval:function(e){var t=i.delegate;return((null==t?void 0:t.clearInterval)||clearInterval)(e)},delegate:void 0},s=r(4290),u=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,n.ZT)(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,o=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(o,n,t)),this.pending=!0,this.delay=t,this.id=null!==(r=this.id)&&void 0!==r?r:this.requestAsyncId(o,this.id,t),this},t.prototype.requestAsyncId=function(e,t,r){return void 0===r&&(r=0),i.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&&i.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,(0,s.P)(n,this),null!=t&&(this.id=this.recycleAsyncId(r,t,null)),this.delay=null,e.prototype.unsubscribe.call(this)}},t}(o)},9348:function(e,t,r){r.d(t,{v:function(){return s}});var n=r(22970),o=r(18373),i=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=o.l.now,e}(),s=function(e){function t(t,r){void 0===r&&(r=i.now);var n=e.call(this,t,r)||this;return n.actions=[],n._active=!1,n}return(0,n.ZT)(t,e),t.prototype.flush=function(e){var t,r=this.actions;if(this._active){r.push(e);return}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}(i)},20030:function(e,t,r){r.d(t,{P:function(){return i},z:function(){return o}});var n=r(31678),o=new(r(9348)).v(n.o),i=o},18373:function(e,t,r){r.d(t,{l:function(){return n}});var n={now:function(){return(n.delegate||Date).now()},delegate:void 0}},84094:function(e,t,r){r.d(t,{z:function(){return o}});var n=r(22970),o={setTimeout:function(e,t){for(var r=[],i=2;i<arguments.length;i++)r[i-2]=arguments[i];var s=o.delegate;return(null==s?void 0:s.setTimeout)?s.setTimeout.apply(s,(0,n.ev)([e,t],(0,n.CR)(r))):setTimeout.apply(void 0,(0,n.ev)([e,t],(0,n.CR)(r)))},clearTimeout:function(e){var t=o.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0}},73507:function(e,t,r){r.d(t,{h:function(){return n}});var n="function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"},44493:function(e,t,r){r.d(t,{L:function(){return n}});var n="function"==typeof Symbol&&Symbol.observable||"@@observable"},90794:function(e,t,r){r.d(t,{K:function(){return n}});var n=(0,r(19208).d)(function(e){return function(){e(this),this.name="EmptyError",this.message="no elements in sequence"}})},66829:function(e,t,r){r.d(t,{_6:function(){return a},jO:function(){return s},yG:function(){return u}});var n=r(53104),o=r(73882);function i(e){return e[e.length-1]}function s(e){return(0,n.m)(i(e))?e.pop():void 0}function u(e){return(0,o.K)(i(e))?e.pop():void 0}function a(e,t){return"number"==typeof i(e)?e.pop():t}},52875:function(e,t,r){r.d(t,{D:function(){return u}});var n=Array.isArray,o=Object.getPrototypeOf,i=Object.prototype,s=Object.keys;function u(e){if(1===e.length){var t=e[0];if(n(t))return{args:t,keys:null};if(t&&"object"==typeof t&&o(t)===i){var r=s(t);return{args:r.map(function(e){return t[e]}),keys:r}}}return{args:e,keys:null}}},68369:function(e,t,r){r.d(t,{k:function(){return o}});var n=Array.isArray;function o(e){return 1===e.length&&n(e[0])?e[0]:e}},4290:function(e,t,r){r.d(t,{P:function(){return n}});function n(e,t){if(e){var r=e.indexOf(t);0<=r&&e.splice(r,1)}}},19208:function(e,t,r){r.d(t,{d:function(){return n}});function n(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}},99381:function(e,t,r){r.d(t,{n:function(){return n}});function n(e,t){return e.reduce(function(e,r,n){return e[r]=t[n],e},{})}},32096:function(e,t,r){r.d(t,{O:function(){return s},x:function(){return i}});var n=r(30849),o=null;function i(e){if(n.v.useDeprecatedSynchronousErrorHandling){var t=!o;if(t&&(o={errorThrown:!1,error:null}),e(),t){var r=o,i=r.errorThrown,s=r.error;if(o=null,i)throw s}}else e()}function s(e){n.v.useDeprecatedSynchronousErrorHandling&&o&&(o.errorThrown=!0,o.error=e)}},56202:function(e,t,r){r.d(t,{f:function(){return n}});function n(e,t,r,n,o){void 0===n&&(n=0),void 0===o&&(o=!1);var i=t.schedule(function(){r(),o?e.add(this.schedule(null,n)):this.unsubscribe()},n);if(e.add(i),!o)return i}},64776:function(e,t,r){r.d(t,{y:function(){return n}});function n(e){return e}},99052:function(e,t,r){r.d(t,{z:function(){return n}});var n=function(e){return e&&"number"==typeof e.length&&"function"!=typeof e}},31273:function(e,t,r){r.d(t,{D:function(){return o}});var n=r(53104);function o(e){return Symbol.asyncIterator&&(0,n.m)(null==e?void 0:e[Symbol.asyncIterator])}},54630:function(e,t,r){r.d(t,{q:function(){return n}});function n(e){return e instanceof Date&&!isNaN(e)}},53104:function(e,t,r){r.d(t,{m:function(){return n}});function n(e){return"function"==typeof e}},17967:function(e,t,r){r.d(t,{c:function(){return i}});
1var n=r(44493),o=r(53104);function i(e){return(0,o.m)(e[n.L])}},30608:function(e,t,r){r.d(t,{T:function(){return i}});var n=r(73507),o=r(53104);function i(e){return(0,o.m)(null==e?void 0:e[n.h])}},87298:function(e,t,r){r.d(t,{b:function(){return i}});var n=r(10593),o=r(53104);function i(e){return!!e&&(e instanceof n.y||(0,o.m)(e.lift)&&(0,o.m)(e.subscribe))}},70175:function(e,t,r){r.d(t,{t:function(){return o}});var n=r(53104);function o(e){return(0,n.m)(null==e?void 0:e.then)}},63049:function(e,t,r){r.d(t,{L:function(){return s},Q:function(){return i}});var n=r(22970),o=r(53104);function i(e){return(0,n.FC)(this,arguments,function(){var t,r,o;return(0,n.Jh)(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,n.qq)(t.read())];case 3:if(o=(r=i.sent()).value,!r.done)return[3,5];return[4,(0,n.qq)(void 0)];case 4:return[2,i.sent()];case 5:return[4,(0,n.qq)(o)];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 s(e){return(0,o.m)(null==e?void 0:e.getReader)}},73882:function(e,t,r){r.d(t,{K:function(){return o}});var n=r(53104);function o(e){return e&&(0,n.m)(e.schedule)}},67048:function(e,t,r){r.d(t,{A:function(){return o},e:function(){return i}});var n=r(53104);function o(e){return(0,n.m)(null==e?void 0:e.lift)}function i(e){return function(t){if(o(t))return t.lift(function(t){try{return e(t,this)}catch(e){this.error(e)}});throw TypeError("Unable to lift unknown Observable type")}}},2151:function(e,t,r){r.d(t,{Z:function(){return s}});var n=r(22970),o=r(73756),i=Array.isArray;function s(e){return(0,o.U)(function(t){return i(t)?e.apply(void 0,(0,n.ev)([],(0,n.CR)(t))):e(t)})}},34121:function(e,t,r){r.d(t,{Z:function(){return n}});function n(){}},98855:function(e,t,r){r.d(t,{U:function(){return i},z:function(){return o}});var n=r(64776);function o(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return i(e)}function i(e){return 0===e.length?n.y:1===e.length?e[0]:function(t){return e.reduce(function(e,t){return t(e)},t)}}},72485:function(e,t,r){r.d(t,{h:function(){return i}});var n=r(30849),o=r(84094);function i(e){o.z.setTimeout(function(){var t=n.v.onUnhandledError;if(t)t(e);else throw e})}},23191:function(e,t,r){r.d(t,{z:function(){return n}});function n(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.")}},33065:function(e,t,r){r.d(t,{C:function(){return s},N:function(){return c}});var n={0:8203,1:8204,2:8205,3:8290,4:8291,5:8288,6:65279,7:8289,8:119155,9:119156,a:119157,b:119158,c:119159,d:119160,e:119161,f:119162},o={0:8203,1:8204,2:8205,3:65279},i=[,,,,].fill(String.fromCodePoint(o[0])).join("");function s(e,t,r="auto"){let n;return!0===r||"auto"===r&&(!(!Number.isNaN(Number(e))||/[a-z]/i.test(e)&&!/\d+(?:[-:\/]\d+){2}(?:T\d+(?:[-:\/]\d+){1,2}(\.\d+)?Z?)?/.test(e))&&Date.parse(e)||function(e){try{new URL(e,e.startsWith("/")?"https://acme.com":void 0)}catch{return!1}return!0}(e))?e:`${e}${n=JSON.stringify(t),`${i}${Array.from(n).map(e=>{let t=e.charCodeAt(0);if(t>255)throw Error(`Only ASCII edit info can be encoded. Error attempting to encode ${n} on character ${e} (${t})`);return Array.from(t.toString(4).padStart(4,"0")).map(e=>String.fromCodePoint(o[e])).join("")}).join("")}`}`}Object.fromEntries(Object.entries(o).map(e=>e.reverse())),Object.fromEntries(Object.entries(n).map(e=>e.reverse()));var u=`${Object.values(n).map(e=>`\\u{${e.toString(16)}}`).join("")}`,a=RegExp(`[${u}]{4,}`,"gu");function c(e){var t,r;return e&&JSON.parse({cleaned:(t=JSON.stringify(e)).replace(a,""),encoded:(null==(r=t.match(a))?void 0:r[0])||""}.cleaned)}},95950:function(e,t,r){r.d(t,{eI:function(){return tH}});let n=!(typeof navigator>"u")&&"ReactNative"===navigator.product,o={timeout:n?6e4:12e4},i=function(e){let t={...o,..."string"==typeof e?{url:e}:e};if(t.timeout=function e(t){if(!1===t||0===t)return!1;if(t.connect||t.socket)return t;let r=Number(t);return isNaN(r)?e(o.timeout):{connect:r,socket:r}}(t.timeout),t.query){let{url:e,searchParams:r}=function(e){let t=e.indexOf("?");if(-1===t)return{url:e,searchParams:new URLSearchParams};let r=e.slice(0,t),o=e.slice(t+1);if(!n)return{url:r,searchParams:new URLSearchParams(o)};if("function"!=typeof decodeURIComponent)throw Error("Broken `URLSearchParams` implementation, and `decodeURIComponent` is not defined");let i=new URLSearchParams;for(let e of o.split("&")){let[t,r]=e.split("=");t&&i.append(s(t),s(r||""))}return{url:r,searchParams:i}}(t.url);for(let[n,o]of Object.entries(t.query)){if(void 0!==o){if(Array.isArray(o))for(let e of o)r.append(n,e);else r.append(n,o)}let i=r.toString();i&&(t.url=`${e}?${i}`)}}return t.method=t.body&&!t.method?"POST":(t.method||"GET").toUpperCase(),t};function s(e){return decodeURIComponent(e.replace(/\+/g," "))}let u=/^https?:\/\//i,a=function(e){if(!u.test(e.url))throw Error(`"${e.url}" is not a valid URL`)},c=["request","response","progress","error","abort"],l=["processOptions","validateOptions","interceptRequest","finalizeOptions","onRequest","onResponse","onError","onReturn","onHeaders"];var f,h,d,p,y=(f=function(){if(p)return d;p=1;var e=function(e){return e.replace(/^\s+|\s+$/g,"")};return d=function(t){if(!t)return{};for(var r,n={},o=e(t).split("\n"),i=0;i<o.length;i++){var s=o[i],u=s.indexOf(":"),a=e(s.slice(0,u)).toLowerCase(),c=e(s.slice(u+1));typeof n[a]>"u"?n[a]=c:(r=n[a],"[object Array]"===Object.prototype.toString.call(r)?n[a].push(c):n[a]=[n[a],c])}return n}}())&&f.__esModule&&Object.prototype.hasOwnProperty.call(f,"default")?f.default:f;class v{onabort;onerror;onreadystatechange;ontimeout;readyState=0;response;responseText="";responseType="";status;statusText;withCredentials;#e;#t;#r;#n={};#o;#i={};#s;open(e,t,r){this.#e=e,this.#t=t,this.#r="",this.readyState=1,this.onreadystatechange?.(),this.#o=void 0}abort(){this.#o&&this.#o.abort()}getAllResponseHeaders(){return this.#r}setRequestHeader(e,t){this.#n[e]=t}setInit(e,t=!0){this.#i=e,this.#s=t}send(e){let t="arraybuffer"!==this.responseType,r={...this.#i,method:this.#e,headers:this.#n,body:e};"function"==typeof AbortController&&this.#s&&(this.#o=new AbortController,"u">typeof EventTarget&&this.#o.signal instanceof EventTarget&&(r.signal=this.#o.signal)),"u">typeof document&&(r.credentials=this.withCredentials?"include":"omit"),fetch(this.#t,r).then(e=>
1(e.headers.forEach((e,t)=>{this.#r+=`${t}: ${e}\r
2`}),this.status=e.status,this.statusText=e.statusText,this.readyState=3,this.onreadystatechange?.(),t?e.text():e.arrayBuffer())).then(e=>{"string"==typeof e?this.responseText=e:this.response=e,this.readyState=4,this.onreadystatechange?.()}).catch(e=>{"AbortError"!==e.name?this.onerror?.(e):this.onabort?.()})}}let b="function"==typeof XMLHttpRequest?"xhr":"fetch",m="xhr"===b?XMLHttpRequest:v,g=(e,t)=>{let r=e.options,n=e.applyMiddleware("finalizeOptions",r),o={},i=e.applyMiddleware("interceptRequest",void 0,{adapter:b,context:e});if(i){let e=setTimeout(t,0,null,i);return{abort:()=>clearTimeout(e)}}let s=new m;s instanceof v&&"object"==typeof n.fetch&&s.setInit(n.fetch,n.useAbortSignal??!0);let u=n.headers,a=n.timeout,c=!1,l=!1,f=!1;if(s.onerror=e=>{p(s instanceof v?e instanceof Error?e:Error(`Request error while attempting to reach is ${n.url}`,{cause:e}):Error(`Request error while attempting to reach is ${n.url}${e.lengthComputable?`(${e.loaded} of ${e.total} bytes transferred)`:""}`))},s.ontimeout=e=>{p(Error(`Request timeout while attempting to reach ${n.url}${e.lengthComputable?`(${e.loaded} of ${e.total} bytes transferred)`:""}`))},s.onabort=()=>{d(!0),c=!0},s.onreadystatechange=()=>{a&&(d(),o.socket=setTimeout(()=>h("ESOCKETTIMEDOUT"),a.socket)),c||4!==s.readyState||0===s.status||function(){if(!(c||l||f)){if(0===s.status)return void p(Error("Unknown XHR error"));d(),l=!0,t(null,{body:s.response||(""===s.responseType||"text"===s.responseType?s.responseText:""),url:n.url,method:n.method,headers:y(s.getAllResponseHeaders()),statusCode:s.status,statusMessage:s.statusText})}}()},s.open(n.method,n.url,!0),s.withCredentials=!!n.withCredentials,u&&s.setRequestHeader)for(let e in u)u.hasOwnProperty(e)&&s.setRequestHeader(e,u[e]);return n.rawBody&&(s.responseType="arraybuffer"),e.applyMiddleware("onRequest",{options:n,adapter:b,request:s,context:e}),s.send(n.body||null),a&&(o.connect=setTimeout(()=>h("ETIMEDOUT"),a.connect)),{abort:function(){c=!0,s&&s.abort()}};function h(t){f=!0,s.abort();let r=Error("ESOCKETTIMEDOUT"===t?`Socket timed out on request to ${n.url}`:`Connection timed out on request to ${n.url}`);r.code=t,e.channels.error.publish(r)}function d(e){(e||c||s.readyState>=2&&o.connect)&&clearTimeout(o.connect),o.socket&&clearTimeout(o.socket)}function p(e){if(l)return;d(!0),l=!0,s=null;let r=e||Error(`Network error while attempting to reach ${n.url}`);r.isNetworkError=!0,r.request=n,t(r)}},w=(e=[],t=g)=>(function e(t,r){let n=[],o=l.reduce((e,t)=>(e[t]=e[t]||[],e),{processOptions:[i],validateOptions:[a]});function s(e){let t;let n=c.reduce((e,t)=>(e[t]=function(){let e=Object.create(null),t=0;return{publish:function(t){for(let r in e)e[r](t)},subscribe:function(r){let n=t++;return e[n]=r,function(){delete e[n]}}}}(),e),{}),i=function(e,t,...r){let n="onError"===e,i=t;for(let t=0;t<o[e].length&&(i=(0,o[e][t])(i,...r),!n||i);t++);return i},s=i("processOptions",e);i("validateOptions",s);let u={options:s,channels:n,applyMiddleware:i},a=n.request.subscribe(e=>{t=r(e,(t,r)=>((e,t,r)=>{let o=e,s=t;if(!o)try{s=i("onResponse",t,r)}catch(e){s=null,o=e}(o=o&&i("onError",o,r))?n.error.publish(o):s&&n.response.publish(s)})(t,r,e))});n.abort.subscribe(()=>{a(),t&&t.abort()});let l=i("onReturn",n,u);return l===n&&n.request.publish(u),l}return s.use=function(e){if(!e)throw Error("Tried to add middleware that resolved to falsey value");if("function"==typeof e)throw Error("Tried to add middleware that was a function. It probably expects you to pass options to it.");if(e.onReturn&&o.onReturn.length>0)throw Error("Tried to add new middleware with `onReturn` handler, but another handler has already been registered for this event");return l.forEach(t=>{e[t]&&o[t].push(e[t])}),n.push(e),s},s.clone=()=>e(n,r),t.forEach(s.use),s})(e,t);var C,x,E,O,R,S=r(34406),q=r(48834).Buffer,_={exports:{}};R||(R=1,function(e,t){let r;t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;let r="color: "+this.color;t.splice(1,0,r,"color: inherit");let n=0,o=0;t[0].replace(/%[a-zA-Z%]/g,e=>{"%%"!==e&&(n++,"%c"===e&&(o=n))}),t.splice(o,0,r)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch{}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch{}return!e&&"u">typeof S&&"env"in S&&(e=S.env.DEBUG),e},t.useColors=function(){let e;return"u">typeof window&&!!window.process&&("renderer"===window.process.type||!!window.process.__nwjs)||!("u">typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&
2("u">typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"u">typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"u">typeof navigator&&navigator.userAgent&&(e=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(e[1],10)>=31||"u">typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},t.storage=function(){try{return localStorage}catch{}}(),t.destroy=(r=!1,()=>{r||(r=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=(O?E:(O=1,E=function(e){function t(e){let n,o,i,s=null;function u(...e){if(!u.enabled)return;let r=Number(new Date),o=r-(n||r);u.diff=o,u.prev=n,u.curr=r,n=r,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let i=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,(r,n)=>{if("%%"===r)return"%";i++;let o=t.formatters[n];if("function"==typeof o){let t=e[i];r=o.call(u,t),e.splice(i,1),i--}return r}),t.formatArgs.call(u,e),(u.log||t.log).apply(u,e)}return u.namespace=e,u.useColors=t.useColors(),u.color=t.selectColor(e),u.extend=r,u.destroy=t.destroy,Object.defineProperty(u,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==s?s:(o!==t.namespaces&&(o=t.namespaces,i=t.enabled(e)),i),set:e=>{s=e}}),"function"==typeof t.init&&t.init(u),u}function r(e,r){let n=t(this.namespace+(typeof r>"u"?":":r)+e);return n.log=this.log,n}function n(e,t){let r=0,n=0,o=-1,i=0;for(;r<e.length;)if(n<t.length&&(t[n]===e[r]||"*"===t[n]))"*"===t[n]?(o=n,i=r):r++,n++;else{if(-1===o)return!1;n=o+1,r=++i}for(;n<t.length&&"*"===t[n];)n++;return n===t.length}return t.debug=t,t.default=t,t.coerce=function(e){return e instanceof Error?e.stack||e.message:e},t.disable=function(){let e=[...t.names,...t.skips.map(e=>"-"+e)].join(",");return t.enable(""),e},t.enable=function(e){for(let r of(t.save(e),t.namespaces=e,t.names=[],t.skips=[],("string"==typeof e?e:"").trim().replace(" ",",").split(",").filter(Boolean)))"-"===r[0]?t.skips.push(r.slice(1)):t.names.push(r)},t.enabled=function(e){for(let r of t.skips)if(n(e,r))return!1;for(let r of t.names)if(n(e,r))return!0;return!1},t.humanize=function(){if(x)return C;function e(e,t,r,n){return Math.round(e/r)+" "+n+(t>=1.5*r?"s":"")}return x=1,C=function(t,r){r=r||{};var n,o,i=typeof t;if("string"===i&&t.length>0)return function(e){if(!((e=String(e)).length>100)){var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(t){var r=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*r;case"weeks":case"week":case"w":return 6048e5*r;case"days":case"day":case"d":return 864e5*r;case"hours":case"hour":case"hrs":case"hr":case"h":return 36e5*r;case"minutes":case"minute":case"mins":case"min":case"m":return 6e4*r;case"seconds":case"second":case"secs":case"sec":case"s":return 1e3*r;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return r;default:return}}}}(t);if("number"===i&&isFinite(t))return r.long?(o=Math.abs(t))>=864e5?e(t,o,864e5,"day"):o>=36e5?e(t,o,36e5,"hour"):o>=6e4?e(t,o,6e4,"minute"):o>=1e3?e(t,o,1e3,"second"):t+" ms":(n=Math.abs(t))>=864e5?Math.round(t/864e5)+"d":n>=36e5?Math.round(t/36e5)+"h":n>=6e4?Math.round(t/6e4)+"m":n>=1e3?Math.round(t/1e3)+"s":t+"ms";throw Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))}}(),t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach(r=>{t[r]=e[r]}),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let r=0;for(let t=0;t<e.length;t++)r=(r<<5)-r+e.charCodeAt(t)|0;return t.colors[Math.abs(r)%t.colors.length]},t.enable(t.load()),t}))(t);let{formatters:n}=e.exports;n.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}}(_,_.exports)),_.exports,Object.prototype.hasOwnProperty;let I=typeof q>"u"?()=>!1:e=>q.isBuffer(e);function T(e){return"[object Object]"===Object.prototype.toString.call(e)}let j=["boolean","string","number"],A={};"u">typeof globalThis?A=globalThis:"u">typeof window?A=window:"u">typeof global?A=global:"u">typeof self&&(A=self);var $=A;let P=(e={})=>{let t=e.implementation||Promise;if(!t)throw Error("`Promise` is not available in global scope, and n
2o implementation was passed");return{onReturn:(r,n)=>new t((t,o)=>{let i=n.options.cancelToken;i&&i.promise.then(e=>{r.abort.publish(e),o(e)}),r.error.subscribe(o),r.response.subscribe(r=>{t(e.onlyBody?r.body:r)}),setTimeout(()=>{try{r.request.publish(n)}catch(e){o(e)}},0)})}};class F{__CANCEL__=!0;message;constructor(e){this.message=e}toString(){return"Cancel"+(this.message?`: ${this.message}`:"")}}class k{promise;reason;constructor(e){if("function"!=typeof e)throw TypeError("executor must be a function.");let t=null;this.promise=new Promise(e=>{t=e}),e(e=>{this.reason||(this.reason=new F(e),t(this.reason))})}static source=()=>{let e;return{token:new k(t=>{e=t}),cancel:e}}}P.Cancel=F,P.CancelToken=k,P.isCancel=e=>!(!e||!e?.__CANCEL__);var D=(e,t,r)=>("GET"===r.method||"HEAD"===r.method)&&(e.isNetworkError||!1);function U(e){return 100*Math.pow(2,e)+100*Math.random()}let z=(e={})=>(e=>{let t=e.maxRetries||5,r=e.retryDelay||U,n=e.shouldRetry;return{onError:(e,o)=>{var i;let s=o.options,u=s.maxRetries||t,a=s.retryDelay||r,c=s.shouldRetry||n,l=s.attemptNumber||0;if(null!==(i=s.body)&&"object"==typeof i&&"function"==typeof i.pipe||!c(e,l,s)||l>=u)return e;let f=Object.assign({},o,{options:Object.assign({},s,{attemptNumber:l+1})});return setTimeout(()=>o.channels.request.publish(f),a(l)),null}}})({shouldRetry:D,...e});z.shouldRetry=D;var N=r(10593),M=r(96112),L=r(87298),H=r(47262),B=r(77085),J=r(50530),X=r(41491),Z=r(58454),G=r(30394),K=r(56001),V=r(46431),Q=r(8141),Y=r(77819),W=r(56075),ee=r(66921),et=r(44999),er=r(72681),en=r(33065),eo=r(22970),ei=r(50419),es=r(67048),eu=r(68369),ea=r(2151),ec=r(98855),el=r(66829);function ef(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=(0,el.jO)(e);return r?(0,ec.z)(ef.apply(void 0,(0,eo.ev)([],(0,eo.CR)(e))),(0,ea.Z)(r)):(0,es.e)(function(t,r){(0,ei.l)((0,eo.ev)([t],(0,eo.CR)((0,eu.k)(e))))(r)})}var eh=r(73756),ed=r(50368);class ep extends Error{response;statusCode=400;responseBody;details;constructor(e){let t=ev(e);super(t.message),Object.assign(this,t)}}class ey extends Error{response;statusCode=500;responseBody;details;constructor(e){let t=ev(e);super(t.message),Object.assign(this,t)}}function ev(e){let t=e.body,r={response:e,statusCode:e.statusCode,responseBody:-1!==(e.headers["content-type"]||"").toLowerCase().indexOf("application/json")?JSON.stringify(t,null,2):t,message:"",details:void 0};if(t.error&&t.message)return r.message=`${t.error} - ${t.message}`,r;if(eb(t)&&eb(t.error)&&"mutationError"===t.error.type&&"string"==typeof t.error.description||eb(t)&&eb(t.error)&&"actionError"===t.error.type&&"string"==typeof t.error.description){let e=t.error.items||[],n=e.slice(0,5).map(e=>e.error?.description).filter(Boolean),o=n.length?`:
3- ${n.join(`
4- `)}`:"";return e.length>5&&(o+=`
5...and ${e.length-5} more`),r.message=`${t.error.description}${o}`,r.details=t.error,r}return t.error&&t.error.description?(r.message=t.error.description,r.details=t.error):r.message=t.error||t.message||function(e){let t=e.statusMessage?` ${e.statusMessage}`:"";return`${e.method}-request to ${e.url} resulted in HTTP ${e.statusCode}${t}`}(e),r}function eb(e){return"object"==typeof e&&null!==e&&!Array.isArray(e)}class em extends Error{projectId;addOriginUrl;constructor({projectId:e}){super("CorsOriginError"),this.name="CorsOriginError",this.projectId=e;let t=new URL(`https://sanity.io/manage/project/${e}/api`);if("u">typeof location){let{origin:e}=location;t.searchParams.set("cors","add"),t.searchParams.set("origin",e),this.addOriginUrl=t,this.message=`The current origin is not allowed to connect to the Live Content API. Add it here: ${t}`}else this.message=`The current origin is not allowed to connect to the Live Content API. Change your configuration here: ${t}`}}let eg={onResponse:e=>{if(e.statusCode>=500)throw new ey(e);if(e.statusCode>=400)throw new ep(e);return e}};function ew(e){return w([z({shouldRetry:eC}),...e,function(){let e={};return{onResponse:t=>{let r=t.headers["x-sanity-warning"];for(let t of Array.isArray(r)?r:[r])!t||e[t]||(e[t]=!0,console.warn(t));return t}}}(),{processOptions:e=>{let t=e.body;return!t||"function"==typeof t.pipe||I(t)||-1===j.indexOf(typeof t)&&!Array.isArray(t)&&!function(e){if(!1===T(e))return!1;let t=e.constructor;if(void 0===t)return!0;let r=t.prototype;return!(!1===T(r)||!1===r.hasOwnProperty("isPrototypeOf"))}(t)?e:Object.assign({},e,{body:JSON.stringify(e.body),headers:Object.assign({},e.headers,{"Content-Type":"application/json"})})}},{onResponse:e=>{let t=e.headers["content-type"]||"",r=-1!==t.indexOf("application/json");return e.body&&t&&r?Object.assign({},e,{body:function(e){try{return JSON.parse(e)}catch(e){throw e.message=`Failed to parsed response body as JSON: ${e.message}`,e}}(e.body)}):e},processOptions:e=>Object.assign({},e,{headers:Object.assign({Accept:"application/json"},e.headers)})},{onRequest:e=>{if("xhr"!==e.adapter)return;let t=e.request,r=e.context;function n(e){return t=>{let n=t.lengthComputable?t.loaded/t.total*100:-1;r.channels.progress.publish({stage:e,percent:n,total:t.total,loaded:t.loaded,lengthComputable:t.lengthComputable})}}"upload"in t&&"onprogress"in t.upload&&(t.upload.onprogress=n("upload")),"onprogress"in t&&(t.onprogress=n("download"))}},eg,function(e={}){let t=e.implementation||$.Observable;if(!t)throw Error("`Observable` is not available in global scope, and n
5o implementation was passed");return{onReturn:(e,r)=>new t(t=>(e.error.subscribe(e=>t.error(e)),e.progress.subscribe(e=>t.next(Object.assign({type:"progress"},e))),e.response.subscribe(e=>{t.next(Object.assign({type:"response"},e)),t.complete()}),e.request.publish(r),()=>e.abort.publish()))}}({implementation:N.y})])}function eC(e,t,r){if(0===r.maxRetries)return!1;let n="GET"===r.method||"HEAD"===r.method,o=(r.uri||r.url).startsWith("/data/query"),i=e.response&&(429===e.response.statusCode||502===e.response.statusCode||503===e.response.statusCode);return(!!n||!!o)&&!!i||z.shouldRetry(e,t,r)}function ex(e){return"https://www.sanity.io/help/"+e}let eE=["image","file"],eO=["before","after","replace"],eR=e=>{if(!/^(~[a-z0-9]{1}[-\w]{0,63}|[a-z0-9]{1}[-\w]{0,63})$/.test(e))throw Error("Datasets can only contain lowercase characters, numbers, underscores and dashes, and start with tilde, and be maximum 64 characters")},eS=e=>{if(!/^[-a-z0-9]+$/i.test(e))throw Error("`projectId` can only contain only a-z, 0-9 and dashes")},eq=e=>{if(-1===eE.indexOf(e))throw Error(`Invalid asset type: ${e}. Must be one of ${eE.join(", ")}`)},e_=(e,t)=>{if(null===t||"object"!=typeof t||Array.isArray(t))throw Error(`${e}() takes an object of properties`)},eI=(e,t)=>{if("string"!=typeof t||!/^[a-z0-9_][a-z0-9_.-]{0,127}$/i.test(t)||t.includes(".."))throw Error(`${e}(): "${t}" is not a valid document ID`)},eT=(e,t)=>{if(!t._id)throw Error(`${e}() requires that the document contains an ID ("_id" property)`);eI(e,t._id)},ej=(e,t,r)=>{let n="insert(at, selector, items)";if(-1===eO.indexOf(e)){let e=eO.map(e=>`"${e}"`).join(", ");throw Error(`${n} takes an "at"-argument which is one of: ${e}`)}if("string"!=typeof t)throw Error(`${n} takes a "selector"-argument which must be a string`);if(!Array.isArray(r))throw Error(`${n} takes an "items"-argument which must be an array`)},eA=e=>{if(!e.dataset)throw Error("`dataset` must be provided to perform queries");return e.dataset||""},e$=e=>{if("string"!=typeof e||!/^[a-z0-9._-]{1,75}$/i.test(e))throw Error("Tag can only contain alphanumeric characters, underscores, dashes and dots, and be between one and 75 characters long.");return e},eP=e=>{var t;let r,n;return t=(...t)=>console.warn(e.join(" "),...t),r=!1,(...e)=>(r||(n=t(...e),r=!0),n)},eF=eP(["Because you set `withCredentials` to true, we will override your `useCdn`","setting to be false since (cookie-based) credentials are never set on the CDN"]),ek=eP(["Since you haven't set a value for `useCdn`, we will deliver content using our","global, edge-cached API-CDN. If you wish to have content delivered faster, set","`useCdn: false` to use the Live API. Note: You may incur higher costs using the live API."]),eD=eP(["The Sanity client is configured with the `perspective` set to `drafts` or `previewDrafts`, which doesn't support the API-CDN.","The Live API will be used instead. Set `useCdn: false` in your configuration to hide this warning."]),eU=eP(["The `previewDrafts` perspective has been renamed to  `drafts` and will be removed in a future API version"]),ez=eP(["You have configured Sanity client to use a token in the browser. This may cause unintentional security issues.",`See ${ex("js-client-browser-token")} for more information and how to hide this warning.`]),eN=eP(["Using the Sanity client without specifying an API version is deprecated.",`See ${ex("js-client-api-version")}`]),eM=(eP(["The default export of @sanity/client has been deprecated. Use the named export `createClient` instead."]),{apiHost:"https://api.sanity.io",apiVersion:"1",useProjectHostname:!0,stega:{enabled:!1}}),eL=["localhost","127.0.0.1","0.0.0.0"],eH=e=>-1!==eL.indexOf(e),eB=/^[a-z0-9_]+$/i;function eJ(e){if(Array.isArray(e)&&e.includes("raw"))throw TypeError('Invalid API perspective value: "raw". The raw-perspective can not be combined with other perspectives');let t=(Array.isArray(e)?e:[e]).filter(e=>"string"!=typeof e||!eB.test(e));if(t.length>0){let e=t.map(e=>JSON.stringify(e));throw TypeError(`Invalid API perspective value${1===t.length?"":"s"}: ${e.join(", ")}, expected \`published\`, \`drafts\`, \`raw\` or a release identifier string`)}}let eX=(e,t)=>{let r={...t,...e,stega:{..."boolean"==typeof t.stega?{enabled:t.stega}:t.stega||eM.stega,..."boolean"==typeof e.stega?{enabled:e.stega}:e.stega||{}}};r.apiVersion||eN();let n={...eM,...r},o=n.useProjectHostname;if(typeof Promise>
5"u"){let e=ex("js-client-promise-polyfill");throw Error(`No native Promise-implementation found, polyfill needed - see ${e}`)}if(o&&!n.projectId)throw Error("Configuration must contain `projectId`");if("u">typeof n.perspective&&eJ(n.perspective),"encodeSourceMap"in n)throw Error("It looks like you're using options meant for '@sanity/preview-kit/client'. 'encodeSourceMap' is not supported in '@sanity/client'. Did you mean 'stega.enabled'?");if("encodeSourceMapAtPath"in n)throw Error("It looks like you're using options meant for '@sanity/preview-kit/client'. 'encodeSourceMapAtPath' is not supported in '@sanity/client'. Did you mean 'stega.filter'?");if("boolean"!=typeof n.stega.enabled)throw Error(`stega.enabled must be a boolean, received ${n.stega.enabled}`);if(n.stega.enabled&&void 0===n.stega.studioUrl)throw Error("stega.studioUrl must be defined when stega.enabled is true");if(n.stega.enabled&&"string"!=typeof n.stega.studioUrl&&"function"!=typeof n.stega.studioUrl)throw Error(`stega.studioUrl must be a string or a function, received ${n.stega.studioUrl}`);let i="u">typeof window&&window.location&&window.location.hostname,s=i&&eH(window.location.hostname);i&&s&&n.token&&!0!==n.ignoreBrowserTokenWarning?ez():typeof n.useCdn>"u"&&ek(),o&&eS(n.projectId),n.dataset&&eR(n.dataset),"requestTagPrefix"in n&&(n.requestTagPrefix=n.requestTagPrefix?e$(n.requestTagPrefix).replace(/\.+$/,""):void 0),n.apiVersion=`${n.apiVersion}`.replace(/^v/,""),n.isDefaultApi=n.apiHost===eM.apiHost,!0===n.useCdn&&n.withCredentials&&eF(),n.useCdn=!1!==n.useCdn&&!n.withCredentials,function(e){if("1"===e||"X"===e)return;let t=new Date(e);if(!(/^\d{4}-\d{2}-\d{2}$/.test(e)&&t instanceof Date&&t.getTime()>0))throw Error("Invalid API version string, expected `1` or date in format `YYYY-MM-DD`")}(n.apiVersion);let u=n.apiHost.split("://",2),a=u[0],c=u[1],l=n.isDefaultApi?"apicdn.sanity.io":c;return n.useProjectHostname?(n.url=`${a}://${n.projectId}.${c}/v${n.apiVersion}`,n.cdnUrl=`${a}://${n.projectId}.${l}/v${n.apiVersion}`):(n.url=`${n.apiHost}/v${n.apiVersion}`,n.cdnUrl=n.url),n};class eZ extends Error{name="ConnectionFailedError"}class eG extends Error{name="DisconnectError";reason;constructor(e,t,r={}){super(e,r),this.reason=t}}class eK extends Error{name="ChannelError";data;constructor(e,t){super(e),this.data=t}}class eV extends Error{name="MessageError";data;constructor(e,t,r={}){super(e,r),this.data=t}}class eQ extends Error{name="MessageParseError"}let eY=["channelError","disconnect"];function eW(e,t){return(0,M.P)(()=>{let t=e();return(0,L.b)(t)?t:(0,H.of)(t)}).pipe((0,B.z)(e=>new N.y(r=>{let n=t.includes("open"),o=t.includes("reconnect");function i(t){if("data"in t){let[e,n]=e0(t);r.error(e?new eQ("Unable to parse EventSource error message",{cause:n}):new eV((n?.data).message,n));return}e.readyState===e.CLOSED?r.error(new eZ("EventSource connection failed")):o&&r.next({type:"reconnect"})}function s(){r.next({type:"open"})}function u(e){let[t,n]=e0(e);if(t){r.error(new eQ("Unable to parse EventSource message",{cause:t}));return}if("channelError"===e.type){var o;r.error(new eK((o=n?.data).error?o.error.description?o.error.description:"string"==typeof o.error?o.error:JSON.stringify(o.error,null,2):o.message||"Unknown listener error",n.data));return}if("disconnect"===e.type){r.error(new eG(`Server disconnected client: ${n.data?.reason||"unknown error"}`));return}r.next({type:e.type,id:e.lastEventId,...n.data?{data:n.data}:{}})}e.addEventListener("error",i),n&&e.addEventListener("open",s);let a=[...new Set([...eY,...t])].filter(e=>"error"!==e&&"open"!==e&&"reconnect"!==e);return a.forEach(t=>e.addEventListener(t,u)),()=>{e.removeEventListener("error",i),n&&e.removeEventListener("open",s),a.forEach(t=>e.removeEventListener(t,u)),e.close()}})))}function e0(e){try{let t="string"==typeof e.data&&JSON.parse(e.data);return[null,{type:e.type,id:e.lastEventId,...!function(e){for(let t in e)return!1;return!0}(t)?{data:t}:{}}]}catch(e){return[e,null]}}function e1(e){if("string"==typeof e)return{id:e};if(Array.isArray(e))return{query:"*[_id in $ids]",params:{ids:e}};if("object"==typeof e&&null!==e&&"query"in e&&"string"==typeof e.query)return"params"in e&&"object"==typeof e.params&&null!==e.params?{query:e.query,params:e.params}:{query:e.query};let t=["* Document ID (<docId>)","* Array of document IDs","* Object containing `query`"].join(`
6`);throw Error(`Unknown selection - must be one of:
7
8${t}`)}class e3{selection;operations;constructor(e,t={}){this.selection=e,this.operations=t}set(e){return this._assign("set",e)}setIfMissing(e){return this._assign("setIfMissing",e)}diffMatchPatch(e){return e_("diffMatchPatch",e),this._assign("diffMatchPatch",e)}unset(e){if(!Array.isArray(e))throw Error("unset(attrs) takes an array of attributes to unset, non-array given");return this.operations=Object.assign({},this.operations,{unset:e}),this}inc(e){return this._assign("inc",e)}dec(e){return this._assign("dec",e)}insert(e,t,r){return ej(e,t,r),this._assign("insert",{[e]:t,items:r})}append(e,t){return this.insert("after",`${e}[-1]`,t)}prepend(e,t){return this.insert("before",`${e}[0]`,t)}splice(e,t,r,n){let o=t<0?t-1:t,i=typeof r>"u"||-1===r?-1:Math.max(0,t+r),s=`${e}[${o}:${o<0&&i>=0?"":i}]`;return this.insert("replace",s,n||[])}ifRevisionId(e){return this.operations.ifRevisionID=e,this}serialize(){return{...e1(this.selection),...this.operations}}toJSON(){return this.serialize()}reset(){return this.operations={},this}_assign(e,t,r=!0){return e_(e,t),this.operations=Object.assign({},this.operations,{[e]:Object.assign({},r&&this.operations[e]||{},t)}),this}_set(e,t){return this._assign(e,t,!1)}}class e9 extends e3{#u;constructor(e,t,r){super(e,t),this.#u=r}clone(){return new e9(this.selection,{...this.operations},this.#u)}
8commit(e){if(!this.#u)throw Error("No `client` passed to patch, either provide one or pass the patch to a clients `mutate()` method");let t=Object.assign({returnFirst:"string"==typeof this.selection,returnDocuments:!0},e);return this.#u.mutate({patch:this.serialize()},t)}}class e5 extends e3{#u;constructor(e,t,r){super(e,t),this.#u=r}clone(){return new e5(this.selection,{...this.operations},this.#u)}commit(e){if(!this.#u)throw Error("No `client` passed to patch, either provide one or pass the patch to a clients `mutate()` method");let t=Object.assign({returnFirst:"string"==typeof this.selection,returnDocuments:!0},e);return this.#u.mutate({patch:this.serialize()},t)}}let e6={returnDocuments:!1};class e2{operations;trxId;constructor(e=[],t){this.operations=e,this.trxId=t}create(e){return e_("create",e),this._add({create:e})}createIfNotExists(e){let t="createIfNotExists";return e_(t,e),eT(t,e),this._add({[t]:e})}createOrReplace(e){let t="createOrReplace";return e_(t,e),eT(t,e),this._add({[t]:e})}delete(e){return eI("delete",e),this._add({delete:{id:e}})}transactionId(e){return e?(this.trxId=e,this):this.trxId}serialize(){return[...this.operations]}toJSON(){return this.serialize()}reset(){return this.operations=[],this}_add(e){return this.operations.push(e),this}}class e4 extends e2{#u;constructor(e,t,r){super(e,r),this.#u=t}clone(){return new e4([...this.operations],this.#u,this.trxId)}commit(e){if(!this.#u)throw Error("No `client` passed to transaction, either provide one or pass the transaction to a clients `mutate()` method");return this.#u.mutate(this.serialize(),Object.assign({transactionId:this.trxId},e6,e||{}))}patch(e,t){let r="function"==typeof t,n="string"!=typeof e&&e instanceof e5,o="object"==typeof e&&("query"in e||"id"in e);if(n)return this._add({patch:e.serialize()});if(r){let r=t(new e5(e,{},this.#u));if(!(r instanceof e5))throw Error("function passed to `patch()` must return the patch");return this._add({patch:r.serialize()})}if(o){let r=new e5(e,t||{},this.#u);return this._add({patch:r.serialize()})}return this._add({patch:{id:e,...t}})}}class e8 extends e2{#u;constructor(e,t,r){super(e,r),this.#u=t}clone(){return new e8([...this.operations],this.#u,this.trxId)}commit(e){if(!this.#u)throw Error("No `client` passed to transaction, either provide one or pass the transaction to a clients `mutate()` method");return this.#u.mutate(this.serialize(),Object.assign({transactionId:this.trxId},e6,e||{}))}patch(e,t){let r="function"==typeof t;if("string"!=typeof e&&e instanceof e9)return this._add({patch:e.serialize()});if(r){let r=t(new e9(e,{},this.#u));if(!(r instanceof e9))throw Error("function passed to `patch()` must return the patch");return this._add({patch:r.serialize()})}return this._add({patch:{id:e,...t}})}}let e7=({query:e,params:t={},options:r={}})=>{let n=new URLSearchParams,{tag:o,includeMutations:i,returnQuery:s,...u}=r;for(let[r,i]of(o&&n.append("tag",o),n.append("query",e),Object.entries(t)))n.append(`$${r}`,JSON.stringify(i));for(let[e,t]of Object.entries(u))t&&n.append(e,`${t}`);return!1===s&&n.append("returnQuery","false"),!1===i&&n.append("includeMutations","false"),`?${n}`},te=(e,t)=>!1===e?void 0:typeof e>"u"?t:e,tt=(e={})=>({dryRun:e.dryRun,returnIds:!0,returnDocuments:te(e.returnDocuments,!0),visibility:e.visibility||"sync",autoGenerateArrayKeys:e.autoGenerateArrayKeys,skipCrossDatasetReferenceValidation:e.skipCrossDatasetReferenceValidation}),tr=e=>"response"===e.type,tn=e=>e.body,to=(e,t)=>e.reduce((e,r)=>(e[t(r)]=r,e),Object.create(null));function ti(e,t,n,o,i={},s={}){let u="stega"in s?{...n||{},..."boolean"==typeof s.stega?{enabled:s.stega}:s.stega||{}}:n,a=u.enabled?(0,en.N)(i):i,c=!1===s.filterResponse?e=>e:e=>e.result,{cache:l,next:f,...h}={useAbortSignal:"u">typeof s.signal,resultSourceMap:u.enabled?"withKeyArraySelector":s.resultSourceMap,...s,returnQuery:!1===s.filterResponse&&!1!==s.returnQuery},d=td(e,t,"query",{query:o,params:a},"u">typeof l||"u">typeof f?{...h,fetch:{cache:l,next:f}}:h);return u.enabled?d.pipe(function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return ef.apply(void 0,(0,eo.ev)([],(0,eo.CR)(e)))}((0,J.D)(r.e(2139).then(r.bind(r,32139)).then(function(e){return e.stegaEncodeSourceMap$1}).then(({stegaEncodeSourceMap:e})=>e))),(0,eh.U)(([e,t])=>{let r=t(e.result,e.resultSourceMap,u);return c({...e,result:r})})):d.pipe((0,eh.U)(c))}function ts(e,t,r,n={}){let o={uri:tb(e,"doc",r),json:!0,tag:n.tag,signal:n.signal};return ty(e,t,o).pipe((0,ed.h)(tr),(0,eh.U)(e=>e.body.documents&&e.body.documents[0]))}function tu(e,t,r,n={}){let o={uri:tb(e,"doc",r.join(",")),json:!0,tag:n.tag,signal:n.signal};return ty(e,t,o).pipe((0,ed.h)(tr),(0,eh.U)(e=>{let t=to(e.body.documents||[],e=>e._id);return r.map(e=>t[e]||null)}))}function ta(e,t,r,n){return eT("createIfNotExists",r),tp(e,t,r,"createIfNotExists",n)}function tc(e,t,r,n){return eT("createOrReplace",r),tp(e,t,r,"createOrReplace",n
8)}function tl(e,t,r,n){return td(e,t,"mutate",{mutations:[{delete:e1(r)}]},n)}function tf(e,t,r,n){let o;return td(e,t,"mutate",{mutations:Array.isArray(o=r instanceof e5||r instanceof e9?{patch:r.serialize()}:r instanceof e4||r instanceof e8?r.serialize():r)?o:[o],transactionId:n&&n.transactionId||void 0},n)}function th(e,t,r,n){let o=Array.isArray(r)?r:[r];return td(e,t,"actions",{actions:o,transactionId:n&&n.transactionId||void 0,skipCrossDatasetReferenceValidation:n&&n.skipCrossDatasetReferenceValidation||void 0,dryRun:n&&n.dryRun||void 0},n)}function td(e,t,r,n,o={}){let i="mutate"===r,s="actions"===r,u=i||s?"":e7(n),a=!i&&!s&&u.length<11264,c=o.returnFirst,{timeout:l,token:f,tag:h,headers:d,returnQuery:p,lastLiveEventId:y,cacheMode:v}=o,b=tb(e,r,a?u:"");return ty(e,t,{method:a?"GET":"POST",uri:b,json:!0,body:a?void 0:n,query:i&&tt(o),timeout:l,headers:d,token:f,tag:h,returnQuery:p,perspective:o.perspective,resultSourceMap:o.resultSourceMap,lastLiveEventId:Array.isArray(y)?y[0]:y,cacheMode:v,canUseCdn:"query"===r,signal:o.signal,fetch:o.fetch,useAbortSignal:o.useAbortSignal,useCdn:o.useCdn}).pipe((0,ed.h)(tr),(0,eh.U)(tn),(0,eh.U)(e=>{if(!i)return e;let t=e.results||[];if(o.returnDocuments)return c?t[0]&&t[0].document:t.map(e=>e.document);let r=c?t[0]&&t[0].id:t.map(e=>e.id);return{transactionId:e.transactionId,results:t,[c?"documentId":"documentIds"]:r}}))}function tp(e,t,r,n,o={}){return td(e,t,"mutate",{mutations:[{[n]:r}]},Object.assign({returnFirst:!0,returnDocuments:!0},o))}function ty(e,t,r){var n;let o=r.url||r.uri,i=e.config(),s=typeof r.canUseCdn>"u"?["GET","HEAD"].indexOf(r.method||"GET")>=0&&0===o.indexOf("/data/"):r.canUseCdn,u=(r.useCdn??i.useCdn)&&s,a=r.tag&&i.requestTagPrefix?[i.requestTagPrefix,r.tag].join("."):r.tag||i.requestTagPrefix;if(a&&null!==r.tag&&(r.query={tag:e$(a),...r.query}),["GET","HEAD","POST"].indexOf(r.method||"GET")>=0&&0===o.indexOf("/data/query/")){let e=r.resultSourceMap??i.resultSourceMap;void 0!==e&&!1!==e&&(r.query={resultSourceMap:e,...r.query});let t=r.perspective||i.perspective;"u">typeof t&&("previewDrafts"===t&&eU(),eJ(t),r.query={perspective:Array.isArray(t)?t.join(","):t,...r.query},(Array.isArray(t)&&t.length>0||"previewDrafts"===t||"drafts"===t)&&u&&(u=!1,eD())),r.lastLiveEventId&&(r.query={...r.query,lastLiveEventId:r.lastLiveEventId}),!1===r.returnQuery&&(r.query={returnQuery:"false",...r.query}),u&&"noStale"==r.cacheMode&&(r.query={cacheMode:"noStale",...r.query})}let c=function(e,t={}){let r={},n=t.token||e.token;n&&(r.Authorization=`Bearer ${n}`),t.useGlobalApi||e.useProjectHostname||!e.projectId||(r["X-Sanity-Project-ID"]=e.projectId);let o=!!(typeof t.withCredentials>"u"?e.token||e.withCredentials:t.withCredentials),i=typeof t.timeout>"u"?e.timeout:t.timeout;return Object.assign({},t,{headers:Object.assign({},r,t.headers||{}),timeout:typeof i>"u"?3e5:i,proxy:t.proxy||e.proxy,json:!0,withCredentials:o,fetch:"object"==typeof t.fetch&&"object"==typeof e.fetch?{...e.fetch,...t.fetch}:t.fetch||e.fetch})}(i,Object.assign({},r,{url:tm(e,o,u)})),l=new N.y(e=>t(c,i.requester).subscribe(e));return r.signal?l.pipe((n=r.signal,e=>new N.y(t=>{let r=()=>t.error(function(e){if(tg)return new DOMException(e?.reason??"The operation was aborted.","AbortError");let t=Error(e?.reason??"The operation was aborted.");return t.name="AbortError",t}(n));if(n&&n.aborted){r();return}let o=e.subscribe(t);return n.addEventListener("abort",r),()=>{n.removeEventListener("abort",r),o.unsubscribe()}}))):l}function tv(e,t,r){return ty(e,t,r).pipe((0,ed.h)(e=>"response"===e.type),(0,eh.U)(e=>e.body))}function tb(e,t,r){let n=eA(e.config()),o=`/${t}/${n}`;return`/data${r?`${o}/${r}`:o}`.replace(/\/($|\?)/,"$1")}function tm(e,t,r=!1){let{url:n,cdnUrl:o}=e.config();return`${r?o:n}/${t.replace(/^\//,"")}`}let tg=!!globalThis.DOMException;class tw{#u;#a;constructor(e,t){this.#u=e,this.#a=t}upload(e,t,r){return tx(this.#u,this.#a,e,t,r)}}class tC{#u;#a;constructor(e,t){this.#u=e,this.#a=t}upload(e,t,r){let n=tx(this.#u,this.#a,e,t,r);return(0,X.n)(n.pipe((0,ed.h)(e=>"response"===e.type),(0,eh.U)(e=>e.body.document)))}}function tx(e,t,r,n,o={}){eq(r);let i=o.extract||void 0;i&&!i.length&&(i=["none"]);let s=eA(e.config()),u="image"===r?"images":"files",a=!(typeof File>"u")&&n instanceof File?Object.assign({filename:!1===o.preserveFilename?void 0:n.name,contentType:n.type},o):o,{tag:c,label:l,title:f,description:h,creditLine:d,filename:p,source:y}=a,v={label:l,title:f,description:h,filename:p,meta:i,creditLine:d};return y&&(v.sourceId=y.id,v.sourceName=y.name,v.sourceUrl=y.url),ty(e,t,{tag:c,method:"POST",timeout:a.timeout||0,uri:`/assets/${u}/${s}`,headers:a.contentType?{"Content-Type":a.contentType}:{},query:v,body:n})}var tE=(e,t)=>Object.keys(t).concat(Object.keys(e)).reduce((r,n)=>(r[n]=typeof e[n]>"u"?t[n]:e[n],r),{});let tO=(e,t)=>t.reduce((t,r)=>(typeof e[r]>"u"||(t[r]=e[r]),t),{}),tR=(0,M.P)(()=>r.e(8292).then(r.t.bind(r,58292,19))).pipe((0,eh.U)(({default:e})=>e),(0,Z.d)(1));function tS(){return function(e){return e.pipe((0,G.K)((e,t)=>e instanceof eZ?(0,K.z)((0,H.of)({type:"reconnect"}),(0,V.H)(1e3).pipe((0,B.z)(()=>t))):(0,Q._)(()=>e)))}}let tq=["includePreviousRevision","includeResult","includeMutations","includeAllVersions","visibility","effectFormat","tag"],t_={includeResult:!0};function tI(e,t,r={}){let{url:n,token:o,withCredentials:i,requestTagPrefix:s}=this.config(),u=r.tag&&s?[s,r.tag].join("."):r.tag,a={...tE(r,t_),tag:u},c=e7({query:e,params:t,options:{tag:u,...tO(a,tq)}}),l=`${n}${tb(this,"listen",c)}`;if(l.length>14800)return(0,Q._)(()=>Error("Query too large for listener"));let f=a.events?a.events:["mutation"],h={};return(o||i)&&(h.withCredentials=!0),o&&(h.headers={Authorization:`Bearer ${o}`}),eW(()=>(typeof EventSource>"u"||h.headers?tR:(0,H.of)(EventSource)).pipe((0,eh.U)(e=>new e(l,h))),f).pipe(tS(),(0,ed.h)(e=>f.includes(e.type)),(0,eh.U)(e=>({type:e.type,..."data"in e?e.data:{}})))}let tT="2021-03-25";class tj{#u;constructor(e){this.#u=e}events({includeDrafts:e=!1,tag:t}={}){var r,n,o;let{projectId:i,apiVersion:s,token:u,withCredentials:a,requestTagPrefix:c}=this.#u.config(),l=s.replace(/^v/,"");if("X"!==l&&l<tT)throw Error(`The live events API requires API version ${tT} or later. The current API version is ${l}. Please update your API version to use this feature.`);if(e&&!u&&!a)throw Error("The live events API requires a token or withCredentials when 'includeDrafts: true'. Please update your client configuration. The token should have the lowest possible access role.");let f=tb(this.#u,"live/events"),h=new URL(this.#u.getUrl(f,!1)),d=t&&c?[c,t].join("."):t;d&&h.searchParams.set("tag",d),e&&h.searchParams.set("includeDrafts","true");let p={};e&&u&&(p.headers={Authorization:`Bearer ${u}`}),e&&a&&(p.withCredentials=!0);let y=`${h.href}::${JSON.stringify(p)}`,v=tA.get(y);if(v)return v;let b=eW(()=>(typeof EventSource>"u"||p.headers?tR:(0,H.of)(EventSource)).pipe((0,eh.U)(e=>new e(h.href,p))),["message","restart","welcome","reconnect"]).pipe(tS(),(0,eh.U)(e=>{if("message"===e.type){let{data:t,...r}=e;return{...r,tags:t.tags}}return e})),m=(n={method:"OPTIONS",mode:"cors",credentials:p.withCredentials?"include":"omit",headers:p.headers},new N.y(e=>{let t=new AbortController,r=t.signal;return fetch(h,{...n,signal:t.signal}).then(t=>{e.next(t),e.complete()},t=>{r.aborted||e.error(t)}),()=>t.abort()})).pipe((0,B.z)(()=>er.E),(0,G.K)(()=>{throw new em({projectId:i})})),g=(0,K.z)(m,b).pipe((0,W.x)(()=>tA.delete(y)),(o="function"==typeof(r={predicate:e=>"welcome"===e.type})?{predicate:r}:r,e=>{let t,r=!1,{predicate:n,...i}=o,s=e.pipe((0,Y.b)(e=>{o.predicate(e)&&(r=!0,t=e)}),(0,W.x)(()=>{r=!1,t=void 0}),(0,ee.B)(i)),u=new N.y(e=>{r&&e.next(t),e.complete()});return(0,et.T)(s,u)}));return tA.set(y,g),g}}let tA=new Map;class t${#u;#a;constructor(e,t){this.#u=e,this.#a=t}create(e,t){return tF(this.#u,this.#a,"PUT",e,t)}edit(e,t){return tF(this.#u,this.#a,"PATCH",e,t)}delete(e){return tF(this.#u,this.#a,"DELETE",e)}list(){return tv(this.#u,this.#a,{uri:"/datasets",tag:null})}}class tP{#u;#a;constructor(e,t){this.#u=e,this.#a=t}create(e,t){return(0,X.n)(tF(this.#u,this.#a,"PUT",e,t))}edit(e,t){return(0,X.n)(tF(this.#u,this.#a,"PATCH",e,t))}delete(e){return(0,X.n)(tF(this.#u,this.#a,"DELETE",e))}list(){return(0,X.n)(tv(this.#u,this.#a,{uri:"/datasets",tag:null}))}}function tF(e,t,r,n,o){return eR(n),tv(e,t,{method:r,uri:`/datasets/${n}`,body:o,tag:null})}class tk{#u;#a;constructor(e,t){this.#u=e,this.#a=t}list(e){let t=e?.includeMembers===!1?"/projects?includeMembers=false":"/projects";return tv(this.#u,this.#a,{uri:t})}getById(e){return tv(this.#u,this.#a,{uri:`/projects/${e}`})}}class tD{#u;#a;constructor(e,t){this.#u=e,this.#a=t}list(e){let t=e?.includeMembers===!1?"/projects?includeMembers=false":"/projects";return(0,X.n)(tv(this.#u,this.#a,{uri:t}))}getById(e){return(0,X.n)(tv(this.#u,this.#a,{uri:`/projects/${e}`}))}}class tU{#u;#a;constructor(e,t){this.#u=e,this.#a=t}getById(e){return tv(this.#u,this.#a,{uri:`/users/${e}`})}}class tz{#u;#a;constructor(e,t){this.#u=e,this.#a=t}getById(e){return(0,X.n)(tv(this.#u,this.#a,{uri:`/users/${e}`}))}}class tN{assets;datasets;live;projects;users;#c;#a;listen=tI;constructor(e,t=eM){this.config(t),this.#a=e,this.assets=new tw(this,this.#a),this.datasets=new t$(this,this.#a),this.live=new tj(this),this.projects=new tk(this,this.#a),this.users=new tU(this,this.#a)}clone(){return new tN(this.#a,this.config())}config(e){if(void 0===e)return{...this.#c};if(this.#c&&!1===this.#c.allowReconfigure)throw Error("Existing client instance cannot be reconfigured - use `withConfig(newConfig)` to return a new client");return this.#c=eX(e,this.#c||{}),this}withConfig(e){let t=this.config();return new tN(this.#a,{...t,...e,stega:{...t.stega||{},..."boolean"==typeof e?.stega?{enabled:e.stega}:e?.stega||{}}})}fetch(e,t,r){return ti(this,this.#a,this.#c.stega,e,t,r)}getDocument(e,t){return ts(this,this.#a,e,t)}getDocuments(e,t){return tu(this,this.#a,e,t)}create(e,t){return tp(this,this.#a,e,"create",t)}createIfNotExists(e,t){return ta(this,this.#a,e,t)}createOrReplace(e,t){return tc(this,this.#a,e,t)}delete(e,t){return tl(this,this.#a,e,t)}mutate(e,t){return tf(this,this.#a,e,t)}patch(e,t){return new e9(e,t,this)}transaction(e){return new e8(e,this)}action(e,t){return th(this,this.#a,e,t)}request(e){return tv(this,this.#a,e)}getUrl(e,t){return tm(this,e,t)}getDataUrl(e,t){return tb(this,e,t)}}class tM{assets;datasets;live;projects;users;observable;#c;#a;listen=tI;constructor(e,t=eM){this.config(t),this.#a=e,this.assets=new tC(this,this.#a),this.datasets=new tP(this,this.#a),this.live=new tj(this),this.projects=new tD(this,this.#a),this.users=new tz(this,this.#a),this.observable=new tN(e,t)}clone(){return new tM(this.#a,this.config())}config(e){if(void 0===e)return{...this.#c};if(this.#c&&!1===this.#c.allowReconfigure)throw Error("Existing client instance cannot be reconfigured - use `withConfig(newConfig)` to return a new client");return this.observable&&this.observable.config(e),this.#c=eX(e,this.#c||{}),this}withConfig(e){let t=this.config();return new tM(this.#a,{...t,...e,stega:{...t.stega||{},..."boolean"==typeof e?.stega?{enabled:e.stega}:e?.stega||{}}})}fetch(e,t,r){return(0,X.n)(ti(this,this.#a,this.#c.stega,e,t,r))}getDocument(e,t){return(0,X.n)(ts(this,this.#a,e,t))}getDocuments(e,t){return(0,X.n)(tu(this,this.#a,e,t))}create(e,t){return(0,X.n)(tp(this,this.#a,e,"create",t))}createIfNotExists(e,t){return(0,X.n)(ta(this,this.#a,e,t))}createOrReplace(e,t){return(0,X.n)(tc(this,this.#a,e,t))}delete(e,t){return(0,X.n)(tl(this,this.#a,e,t))}mutate(e,t){return(0,X.n)(tf(this,this.#a,e,t))}patch(e,t){return new e5(e,t,this)}transaction(e){return new e4(e,this)}action(e,t){return(0,X.n)(th(this,this.#a,e,t))}request(e){return(0,X.n)(tv(this,this.#a,e))}dataRequest(e,t,r){return(0,X.n)(td(this,this.#a,e,t,r))}getUrl(e,t){return tm(this,e,t)}getDataUrl(e,t){return tb(this,e,t)}}let tL={requester:ew(h=[]),createClient:e=>{let t=ew(h);return new tM((r,n)=>(n||t)({maxRedirects:0,maxRetries:e.maxRetries,retryDelay:e.retryDelay,...r}),e)}},tH=(tL.requester,tL.createClient)},22970:function(e,t,r){r.d(t,{CR:function(){return c},FC:function(){return d},Jh:function(){return u},KL:function(){return p},XA:function(){return a},ZT:function(){return o},ev:function(){return f},fl:function(){return l},mG:function(){return s},pi:function(){return i},qq:function(){return h}});
vendor: 4,003 bytes, line 8
8var 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 o(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 i=function(){return(i=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function s(e,t,r,n){return new(r||(r=Promise))(function(o,i){function s(e){try{a(n.next(e))}catch(e){i(e)}}function u(e){try{a(n.throw(e))}catch(e){i(e)}}function a(e){var t;e.done?o(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t)})).then(s,u)}a((n=n.apply(e,t||[])).next())})}function u(e,t){var r,n,o,i,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function u(u){return function(a){return function(u){if(r)throw TypeError("Generator is already executing.");for(;i&&(i=0,u[0]&&(s=0)),s;)try{if(r=1,n&&(o=2&u[0]?n.return:u[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,u[1])).done)return o;switch(n=0,o&&(u=[2&u[0],o.value]),u[0]){case 0:case 1:o=u;break;case 4:return s.label++,{value:u[1],done:!1};case 5:s.label++,n=u[1],u=[0];continue;case 7:u=s.ops.pop(),s.trys.pop();continue;default:if(!(o=(o=s.trys).length>0&&o[o.length-1])&&(6===u[0]||2===u[0])){s=0;continue}if(3===u[0]&&(!o||u[1]>o[0]&&u[1]<o[3])){s.label=u[1];break}if(6===u[0]&&s.label<o[1]){s.label=o[1],o=u;break}if(o&&s.label<o[2]){s.label=o[2],s.ops.push(u);break}o[2]&&s.ops.pop(),s.trys.pop();continue}u=t.call(e,s)}catch(e){u=[6,e],n=0}finally{r=o=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}([u,a])}}}function a(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,o,i=r.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)s.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return s}function l(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(c(arguments[t]));return e}function f(e,t,r){if(r||2==arguments.length)for(var n,o=0,i=t.length;o<i;o++)!n&&o in t||(n||(n=Array.prototype.slice.call(t,0,o)),n[o]=t[o]);return e.concat(n||Array.prototype.slice.call(t))}function h(e){return this instanceof h?(this.v=e,this):new h(e)}function d(e,t,r){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var n,o=r.apply(e,t||[]),i=[];return n={},s("next"),s("throw"),s("return"),n[Symbol.asyncIterator]=function(){return this},n;function s(e){o[e]&&(n[e]=function(t){return new Promise(function(r,n){i.push([e,t,r,n])>1||u(e,t)})})}function u(e,t){try{var r;(r=o[e](t)).value instanceof h?Promise.resolve(r.value.v).then(a,c):l(i[0][2],r)}catch(e){l(i[0][3],e)}}function a(e){u("next",e)}function c(e){u("throw",e)}function l(e,t){e(t),i.shift(),i.length&&u(i[0][0],i[0][1])}}function p(e){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var t,r=e[Symbol.asyncIterator];return r?r.call(e):(e=a(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,o){!function(e,t,r,n){Promise.resolve(n).then(function(t){e({value:t,done:r})},t)}(n,o,(t=e[r](t)).done,t.value)})}}}"function"==typeof SuppressedError&&SuppressedError}}]);

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.