vendor: 4,269 bytes, lines 1-2
1import{l as L,n as E$1}from"./chunk-BiypBapu.js";import{Bi as yn,Di as vs,Ei as ve,Gi as zm,Oi as w,Ot as N,Pn as Ve$1,Qn as b,Rn as X,Vi as yu,Vt as On,Wr as ln,bi as un,en as Qo,fn as Sn,ir as ce$1,k as E$2,lr as di,st as Iu,wr as ge,yr as fe$1,yt as Le$1}from"./chunk-PYDvkE9c.js";import{n as L$1,s as y,t as E$3}from"./chunk-ubI4-UVr.js";var P=class r{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(t){t?typeof t==`string`?this.lazyInit=()=>{this.headers=new Map,t.split(` 2`).forEach(e=>{let n=e.indexOf(`:`);if(n>0){let o=e.slice(0,n),s=e.slice(n+1).trim();this.addHeaderEntry(o,s)}})}:typeof Headers<`u`&&t instanceof Headers?(this.headers=new Map,t.forEach((e,n)=>{this.addHeaderEntry(n,e)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(t).forEach(([e,n])=>{this.setHeaderEntries(e,n)})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();let e=this.headers.get(t.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,e){return this.clone({name:t,value:e,op:`a`})}set(t,e){return this.clone({name:t,value:e,op:`s`})}delete(t,e){return this.clone({name:t,value:e,op:`d`})}maybeSetNormalizedName(t,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,t)}init(){this.lazyInit&&(this.lazyInit instanceof r?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init();for(let[e,n]of t.headers.entries())this.headers.set(e,n),this.normalizedNames.set(e,t.normalizedNames.get(e))}clone(t){let e=new r;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof r?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([t]),e}applyUpdate(t){let e=t.name.toLowerCase();switch(t.op){case`a`:case`s`:let n=t.value;if(typeof n==`string`&&(n=[n]),n.length===0)return;this.maybeSetNormalizedName(t.name,e);let o=t.op===`a`?(this.headers.get(e)||[]).slice():[];o.push(...n),this.headers.set(e,o);break;case`d`:let s=t.value;if(s===void 0)this.headers.delete(e),this.normalizedNames.delete(e);else{let i=Array.isArray(s)?s:[s],c=this.headers.get(e);if(!c)return;c=c.filter(a=>i.indexOf(a)===-1),c.length===0?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,c)}break}}addHeaderEntry(t,e){let n=t.toLowerCase();this.maybeSetNormalizedName(t,n),this.headers.has(n)?this.headers.get(n).push(e):this.headers.set(n,[e])}setHeaderEntries(t,e){let n=(Array.isArray(e)?e:[e]).map(s=>s.toString()),o=t.toLowerCase();this.headers.set(o,n),this.maybeSetNormalizedName(t,o)}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>t(this.normalizedNames.get(e),this.headers.get(e)))}};var de=class{defaultValue;constructor(t){this.defaultValue=t}};var J=class{map=new Map;set(t,e){return this.map.set(t,e),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}has(t){return this.map.has(t)}keys(){return this.map.keys()}};var V=class{encodeKey(t){return Oe(t)}encodeValue(t){return Oe(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}};function We(r,t){let e=new Map;return r.length>0&&r.replace(/^\?/,``).split(`&`).forEach(o=>{let s=o.indexOf(`=`),[i,c]=s==-1?[t.decodeKey(o),``]:[t.decodeKey(o.slice(0,s)),t.decodeValue(o.slice(s+1))],a=e.get(i)||[];a.push(c),e.set(i,a)}),e}var Ke=/%(\d[a-f0-9])/gi;var Ye={40:`@`,"3A":`:`,24:`$`,"2C":`,`,"3B":`;`,"3D":`=`,"3F":`?`,"2F":`/`};function Oe(r){return encodeURIComponent(r).replace(Ke,(t,e)=>Ye[e]??t)}function z(r){return`${r}`}var M=class r{map;encoder;updates=null;cloneFrom=null;constructor(t={}){if(this.encoder=t.encoder||new V,t.fromString){if(t.fromObject)throw new w(2805,!1);this.map=We(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(e=>{let n=t.fromObject[e],o=Array.isArray(n)?n.map(z):[z(n)];this.map.set(e,o)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();let e=this.map.get(t);return e?e[0]:null}getAll(t){return this.init(),this.map.get(t)||null}
2keys(){return this.init(),Array.from(this.map.keys())}append(t,e){return this.clone({param:t,value:e,op:`a`})}appendAll(t){let e=[];return Object.keys(t).forEach(n=>{let o=t[n];Array.isArray(o)?o.forEach(s=>{e.push({param:n,value:s,op:`a`})}):e.push({param:n,value:o,op:`a`})}),this.clone(e)}set(t,e){return this.clone({param:t,value:e,op:`s`})}delete(t,e){return this.clone({param:t,value:e,op:`d`})}toString(){return this.init(),this.keys().map(t=>{let e=this.encoder.encodeKey(t);return this.map.get(t).map(n=>e+`=`+this.encoder.encodeValue(n)).join(`&`)}).filter(t=>t!==``).join(`&`)}clone(t){let e=new r({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(t),e}init(){if(this.map===null&&(this.map=new Map),this.cloneFrom!==null){this.cloneFrom.init();for(let[t,e]of this.cloneFrom.map.entries())this.map.set(t,e);this.updates.forEach(t=>{switch(t.op){case`a`:case`s`:let e=t.op===`a`?(this.map.get(t.param)||[]).slice():[];e.push(z(t.value)),this.map.set(t.param,e);break;case`d`:if(t.value!==void 0){let n=(this.map.get(t.param)||[]).slice(),o=n.indexOf(z(t.value));o!==-1&&n.splice(o,1),n.length>0?this.map.set(t.param,n):this.map.delete(t.param)}else{this.map.delete(t.param);break}}}),this.cloneFrom=this.updates=null}}};function qe(r){switch(r){case`DELETE`:case`GET`:case`HEAD`:case`OPTIONS`:case`JSONP`:return!1;default:return!0}}function De(r){return typeof ArrayBuffer<`u`&&r instanceof ArrayBuffer}function _e(r){return typeof Blob<`u`&&r instanceof Blob}function Ae(r){return typeof FormData<`u`&&r instanceof FormData}function Ze(r){return typeof URLSearchParams<`u`&&r instanceof URLSearchParams}var j=`Content-Type`;var $=`Accept`;var Se=`text/plain`;var Fe=`application/json`;var Ue=`${Fe}, ${Se}, */*`;var F=class r{url;body=null;headers;context;reportProgress=!1;reportUploadProgress=!1;reportDownloadProgress=!1;withCredentials=!1;credentials;keepalive=!1;cache;priority;mode;redirect;referrer;integrity;referrerPolicy;responseType=`json`;method;params;urlWithParams;transferCache;timeout;constructor(t,e,n,o){this.url=e,this.method=t.toUpperCase();let s;if(qe(this.method)||o?(this.body=n!==void 0?n:null,s=o):s=n,s){if(this.reportProgress=!!s.reportProgress,this.reportUploadProgress=!!s.reportUploadProgress,this.reportDownloadProgress=!!s.reportDownloadProgress,this.withCredentials=!!s.withCredentials,this.keepalive=!!s.keepalive,s.responseType&&(this.responseType=s.responseType),s.headers&&(this.headers=s.headers),s.context&&(this.context=s.context),s.params&&(this.params=s.params),s.priority&&(this.priority=s.priority),s.cache&&(this.cache=s.cache),s.credentials&&(this.credentials=s.credentials),typeof s.timeout==`number`){if(s.timeout<1||!Number.isInteger(s.timeout))throw new w(2822,``);this.timeout=s.timeout}s.mode&&(this.mode=s.mode),s.redirect&&(this.redirect=s.redirect),s.integrity&&(this.integrity=s.integrity),s.referrer!==void 0&&(this.referrer=s.referrer),s.referrerPolicy&&(this.referrerPolicy=s.referrerPolicy),this.transferCache=s.transferCache}if(this.headers??=new P,this.context??=new J,!this.params)this.params=new M,this.urlWithParams=e;else{let i=this.params.toString();if(i.length===0)this.urlWithParams=e;else{let c=e,a=``,u=e.indexOf(`#`);u!==-1&&(a=e.substring(u),c=e.substring(0,u));let p=c.indexOf(`?`),g=p===-1?`?`:p<c.length-1?`&`:``;this.urlWithParams=c+g+i+a}}}serializeBody(){return this.body===null?null:typeof this.body==`string`||De(this.body)||_e(this.body)||Ae(this.body)||Ze(this.body)?this.body:this.body instanceof M?this.body.toString():typeof this.body==`object`||typeof this.body==`boolean`||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return this.body===null||Ae(this.body)?null:_e(this.body)?this.body.type||null:De(this.body)?null:typeof this.body==`string`?Se:this.body instanceof M?`application/x-www-form-urlencoded;charset=UTF-8`:typeof this.body==`object`||typeof this.body==`number`||typeof this.body==`boolean`?Fe:null}clone(t={}){let e=t.method||this.method,n=t.url||this.url,o=t.responseType||this.responseType,s=t.keepalive??this.keepalive,i=t.priority||this.priority,c=t.cache||this.cache,a=t.mode||this.mode,u=t.redirect||this.redirect,p=t.credentials||this.credentials,g=t.referrer??this.referrer,N=t.
2integrity||this.integrity,S=t.referrerPolicy||this.referrerPolicy,_=t.transferCache??this.transferCache,A=t.timeout??this.timeout,y=t.body!==void 0?t.body:this.body,k=t.withCredentials??this.withCredentials,d=t.reportProgress??this.reportProgress,l=t.reportUploadProgress??this.reportUploadProgress,m=t.reportDownloadProgress??this.reportDownloadProgress,T=t.headers||this.headers,h=t.params||this.params,x=t.context??this.context;return t.setHeaders!==void 0&&(T=Object.keys(t.setHeaders).reduce((O,v)=>O.set(v,t.setHeaders[v]),T)),t.setParams&&(h=Object.keys(t.setParams).reduce((O,v)=>O.set(v,t.setParams[v]),h)),new r(e,n,y,{params:h,headers:T,context:x,reportProgress:d,reportUploadProgress:l,reportDownloadProgress:m,responseType:o,withCredentials:k,transferCache:_,keepalive:s,cache:c,priority:i,timeout:A,mode:a,redirect:u,credentials:p,referrer:g,integrity:N,referrerPolicy:S})}};var R=(function(r){return r[r.Sent=0]=`Sent`,r[r.UploadProgress=1]=`UploadProgress`,r[r.ResponseHeader=2]=`ResponseHeader`,r[r.DownloadProgress=3]=`DownloadProgress`,r[r.Response=4]=`Response`,r[r.User=5]=`User`,r})(R||{});var U=class{headers;status;statusText;url;ok;type;redirected;responseType;constructor(t,e=200,n=`OK`){this.headers=t.headers||new P,this.status=t.status!==void 0?t.status:e,this.statusText=t.statusText||n,this.url=t.url||null,this.redirected=t.redirected,this.responseType=t.responseType,this.ok=this.status>=200&&this.status<300}};var B=class r extends U{constructor(t={}){super(t)}type=R.ResponseHeader;clone(t={}){return new r({headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}};var C=class r extends U{body;constructor(t={}){super(t),this.body=t.body!==void 0?t.body:null}type=R.Response;clone(t={}){return new r({body:t.body!==void 0?t.body:this.body,headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0,redirected:t.redirected??this.redirected,responseType:t.responseType??this.responseType})}};var E=class extends U{name=`HttpErrorResponse`;message;error;ok=!1;constructor(t){super(t,0,`Unknown Error`),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${t.url||`(unknown url)`}`:this.message=`Http failure response for ${t.url||`(unknown url)`}: ${t.status} ${t.statusText}`,this.error=t.error||null}};var Ce=200;var He=204;var Qe=/^\)\]\}',?\n/;var Le=new N(``,{factory:()=>null});var G=(()=>{class r{fetchImpl=E$2(le,{optional:!0})?.fetch??((...e)=>globalThis.fetch(...e));ngZone=E$2(X);destroyRef=E$2(ge);maxResponseSize=E$2(Le);handle(e){return new b(n=>{let o=new AbortController,s=!1,i={next:a=>{a.type===R.Response&&(s=!0),n.next(a)},error:a=>{s=!0,n.error(a)},complete:()=>{s=!0,n.complete()}};this.doRequest(e,o.signal,i).then(ue,a=>i.error(new E({error:a})));let c;return e.timeout&&(c=this.ngZone.runOutsideAngular(()=>setTimeout(()=>{o.signal.aborted||o.abort(new DOMException(`signal timed out`,`TimeoutError`))},e.timeout))),()=>{c!==void 0&&clearTimeout(c),!s&&!o.signal.aborted&&o.abort()}})}
2doRequest(e,n,o){return L(this,null,function*(){let s=this.createRequestInit(e),i;try{let y=this.ngZone.runOutsideAngular(()=>this.fetchImpl(e.urlWithParams,E$1({signal:n},s)));et(y),o.next({type:R.Sent}),i=yield y}catch(y){o.error(new E({error:y,status:y.status??0,statusText:y.statusText,url:e.urlWithParams,headers:y.headers}));return}let c=new P(i.headers),a=i.statusText,u=i.url||e.urlWithParams,p=i.status,g=null,N=e.reportProgress||e.reportDownloadProgress;if(N&&o.next(new B({headers:c,status:p,statusText:a,url:u})),i.body){let y=i.headers.get(j)??``,k=i.headers.get(`content-length`),d=k!==null?Number(k):NaN;this.maxResponseSize!==null&&Number.isFinite(d)&&d>this.maxResponseSize&&ke(this.maxResponseSize);let l=[],m=i.body.getReader(),T=0,h,x,O=typeof Zone<`u`&&Zone.current,v=!1;if(yield this.ngZone.runOutsideAngular(()=>L(this,null,function*(){for(;;){if(this.destroyRef.destroyed){yield m.cancel(),v=!0;break}let{done:Z,value:H}=yield m.read();if(Z)break;if(l.push(H),T+=H.length,this.maxResponseSize!==null&&T>this.maxResponseSize&&(yield m.cancel(),ke(this.maxResponseSize)),N){x=e.responseType===`text`?(x??``)+(h??=ae(y)).decode(H,{stream:!0}):void 0;let ye=()=>o.next({type:R.DownloadProgress,total:Number.isFinite(d)?d:void 0,loaded:T,partialText:x});O?O.run(ye):ye()}}})),v){o.complete();return}let Ge=this.concatChunks(l,T);try{g=this.parseBody(e,Ge,y,p)}catch(Z){o.error(new E({error:Z,headers:new P(i.headers),status:i.status,statusText:i.statusText,url:i.url||e.urlWithParams}));return}}p===0&&(p=g?Ce:0);let S=p>=200&&p<300,_=i.redirected,A=i.type;S?(o.next(new C({body:g,headers:c,status:p,statusText:a,url:u,redirected:_,responseType:A})),o.complete()):o.error(new E({error:g,headers:c,status:p,statusText:a,url:u,redirected:_,responseType:A}))})}parseBody(e,n,o,s){switch(e.responseType){case`json`:let i=ae(o).decode(n).replace(Qe,``);if(i===``)return null;try{return JSON.parse(i)}catch(c){if(s<200||s>=300)return i;throw c}case`text`:return ae(o).decode(n);case`blob`:return new Blob([n],{type:o});case`arraybuffer`:return n.buffer}}createRequestInit(e){if(e.reportUploadProgress)throw new w(2824,!1);let n={},o;if(o=e.credentials,e.withCredentials&&(o=`include`),e.headers.forEach((s,i)=>n[s]=i.join(`,`)),e.headers.has($)||(n[$]=Ue),!e.headers.has(j)){let s=e.detectContentTypeHeader();s!==null&&(n[j]=s)}return{body:e.serializeBody(),method:e.method,headers:n,credentials:o,keepalive:e.keepalive,cache:e.cache,priority:e.priority,mode:e.mode,redirect:e.redirect,referrer:e.referrer,integrity:e.integrity,referrerPolicy:e.referrerPolicy}}concatChunks(e,n){let o=new Uint8Array(n),s=0;for(let i of e)o.set(i,s),s+=i.length;return o}static ɵfac=function(n){return new(n||r)};static ɵprov=ln({token:r,factory:r.ɵfac})}return r})();var le=class{};function ue(){}function et(r){r.then(ue,ue)}function ke(r){throw new w(-2825,!1)}var tt=/charset=\s*["']?([^;"'\s]+)["']?/i;function ae(r){let t=r.match(tt);if(t!==null)try{return new TextDecoder(t[1])}catch(e){}return new TextDecoder}var rt=new N(``,{factory:()=>!0});var nt=`XSRF-TOKEN`;var ot=new N(``,{factory:()=>nt});var st=`X-XSRF-TOKEN`;var it=new N(``,{factory:()=>st});var at=(()=>{class r{cookieName=E$2(ot);doc=E$2(On);lastCookieString=``;lastToken=null;parseCount=0;getToken(){let e=this.doc.cookie||``;return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=E$3(e,this.cookieName),this.lastCookieString=e),this.lastToken}static ɵfac=function(n){return new(n||r)};static ɵprov=ln({token:r,factory:r.ɵfac})}return r})();var je=(()=>{class r{static ɵfac=function(n){return new(n||r)};static ɵprov=ce$1({token:r,factory:function(n){let o=null;return n?o=new(n||r):o=Ve$1(at),o},providedIn:`root`})}return r})();function Be(r,t){if(!E$2(rt)||r.method===`GET`||r.method===`HEAD`)return t(r);try{let o=E$2(y).href,{origin:s}=new URL(o),{origin:i}=new URL(r.url,s);if(s!==i)return t(r)}catch(o){return t(r)}let e=E$2(je).getToken(),n=E$2(it);return e!=null&&!r.headers.has(n)&&(r=r.clone({headers:r.headers.set(n,e)})),t(r)}function Xe(r,t){return t(r)}function ct(r,t){return(e,n)=>t.intercept(e,{handle:o=>r(o,n)})}function dt(r,t,e){return(n,o)=>Qo(e,()=>t(n,s=>r(s,o)))}var ze=new N(``);var fe=new N(``,{factory:()=>[Be]});var Je=new N(``);var pe=new N(``,{factory:()=>!0});function lt(){let r=null;return(t,e)=>{r===null&&(r=(E$2(ze,{optional:!0})??[]).reduceRight(ct,Xe));let n=E$2(di);if(E$2(pe)){let s=n.add();return r(t,e).pipe(yu(s))}else return r(t,e)}}var K=(()=>{class r{static ɵfac=function(n){return new(n||r)};static ɵprov=ce$1({token:r,factory:function(n){let o=null;return n?o=new(n||r):o=Ve$1(G),o},providedIn:`root`})}return r})();var W=(()=>{class r{backend;injector;chain=null;pendingTasks=E$2(di);contributeToStability=E$2(pe);constructor(e,n){this.backend=e,this.injector=n}handle(e){if(this.chain===null){let o=this.injector.get(Y,null,{skipSelf:!0}),s=o!==null&&this.backend===o,i=this.injector.get(Je,[],s?{self:!0}:void 0),c=Array.from(new Set([...this.injector.get(fe),...i]));this.chain=c.reduceRight((a,u)=>dt(a,u,this.injector),Xe)}let n=this.chain;if(this.contributeToStability){let o=this.pendingTasks.add();return fe$1(()=>n(e,s=>this.backend.handle(s))).pipe(yu(o))}else return fe$1(()=>n(e,o=>this.backend.handle(o)))}static ɵfac=function(n){return new(n||r)(Ve$1(K),Ve$1(ve))};static ɵprov=ce$1({token:r,factory:r.ɵfac,providedIn:`root`})}return r})();var Y=(()=>{class r{static ɵfac=function(n){return new(n||r)};static ɵprov=ce$1({token:r,factory:function(n){let o=null;return n?o=new(n||r):o=Ve$1(W),o},providedIn:`root`})}return r})();function ce(r,t){return E$1({body:t},r)}var Ve=(()=>{class r{handler;constructor(e){this.handler=e}request(e,n,o={}){let s;if(e instanceof F)s=e;else{let a;o.headers instanceof P?a=o.headers:a=new P(o.headers);let u;o.params&&(o.params instanceof M?u=o.params:u=new M({fromObject:o.params})),s=new F(e,n,o.body!==void 0?o.body:null,{headers:a,context:o.context,params:u,reportProgress:o.reportProgress,reportUploadProgress:o.reportUploadProgress,reportDownloadProgress:o.reportDownloadProgress,responseType:o.responseType||`json`,withCredentials:o.withCredentials,transferCache:o.transferCache,keepalive:o.keepalive,priority:o.priority,cache:o.cache,mode:o.mode,redirect:o.redirect,credentials:o.credentials,referrer:o.referrer,referrerPolicy:o.referrerPolicy,integrity:o.integrity,timeout:o.timeout})}let i=vs(s).pipe(zm(a=>this.handler.handle(a)));if(e instanceof F||o.observe===`events`)return i;
2let c=i.pipe(yn(a=>a instanceof C));switch(o.observe||`body`){case`body`:switch(s.responseType){case`arraybuffer`:return c.pipe(Le$1(a=>{if(a.body!==null&&!(a.body instanceof ArrayBuffer))throw new w(2806,!1);return a.body}));case`blob`:return c.pipe(Le$1(a=>{if(a.body!==null&&!(a.body instanceof Blob))throw new w(2807,!1);return a.body}));case`text`:return c.pipe(Le$1(a=>{if(a.body!==null&&typeof a.body!=`string`)throw new w(2808,!1);return a.body}));default:return c.pipe(Le$1(a=>a.body))}case`response`:return c;default:throw new w(2809,!1)}}delete(e,n={}){return this.request(`DELETE`,e,n)}get(e,n={}){return this.request(`GET`,e,n)}head(e,n={}){return this.request(`HEAD`,e,n)}jsonp(e,n){return this.request(`JSONP`,e,{params:new M().append(n,`JSONP_CALLBACK`),observe:`body`,responseType:`json`})}options(e,n={}){return this.request(`OPTIONS`,e,n)}patch(e,n,o={}){return this.request(`PATCH`,e,ce(o,n))}post(e,n,o={}){return this.request(`POST`,e,ce(o,n))}put(e,n,o={}){return this.request(`PUT`,e,ce(o,n))}static ɵfac=function(n){return new(n||r)(Ve$1(Y))};static ɵprov=ce$1({token:r,factory:r.ɵfac,providedIn:`root`})}return r})();var ut=/^\)\]\}',?\n/;var he=(()=>{class r{xhrFactory;tracingService=E$2(un,{optional:!0});constructor(e){this.xhrFactory=e}maybePropagateTrace(e){return this.tracingService?.propagate?this.tracingService.propagate(e):e}handle(e){if(e.method===`JSONP`)throw new w(-2800,!1);let n=this.xhrFactory;return vs(null).pipe(Iu(()=>new b(s=>{let i=n.build();if(i.open(e.method,e.urlWithParams),e.withCredentials&&(i.withCredentials=!0),e.headers.forEach((d,l)=>i.setRequestHeader(d,l.join(`,`))),e.headers.has($)||i.setRequestHeader($,Ue),!e.headers.has(j)){let d=e.detectContentTypeHeader();d!==null&&i.setRequestHeader(j,d)}if(e.timeout&&(i.timeout=e.timeout),e.responseType){let d=e.responseType.toLowerCase();i.responseType=d!==`json`?d:`text`}let c=e.serializeBody(),a=null,u=()=>{if(a!==null)return a;let d=i.statusText||`OK`,l=new P(i.getAllResponseHeaders()),m=i.responseURL||e.url;return a=new B({headers:l,status:i.status,statusText:d,url:m}),a},p=this.maybePropagateTrace(()=>{let{headers:d,status:l,statusText:m,url:T}=u(),h=null;l!==He&&(h=typeof i.response>`u`?i.responseText:i.response),l===0&&(l=h?Ce:0);let x=l>=200&&l<300;if(e.responseType===`json`&&typeof h==`string`){let O=h;h=h.replace(ut,``);try{h=h!==``?JSON.parse(h):null}catch(v){h=O,x&&(x=!1,h={error:v,text:h})}}x?(s.next(new C({body:h,headers:d,status:l,statusText:m,url:T||void 0})),s.complete()):s.error(new E({error:h,headers:d,status:l,statusText:m,url:T||void 0}))}),g=this.maybePropagateTrace(d=>{let{url:l}=u(),m=new E({error:d,status:i.status||0,statusText:i.statusText||`Unknown Error`,url:l||void 0});s.error(m)}),N=g;e.timeout&&(N=this.maybePropagateTrace(d=>{let{url:l}=u(),m=new E({error:new DOMException(`Request timed out`,`TimeoutError`),status:i.status||0,statusText:i.statusText||`Request timeout`,url:l||void 0});s.error(m)}));let S=!1,_=this.maybePropagateTrace(d=>{S||(s.next(u()),S=!0);let l={type:R.DownloadProgress,loaded:d.loaded};d.lengthComputable&&(l.total=d.total),e.responseType===`text`&&i.responseText&&(l.partialText=i.responseText),s.next(l)}),A=this.maybePropagateTrace(d=>{let l={type:R.UploadProgress,loaded:d.loaded};d.lengthComputable&&(l.total=d.total),s.next(l)});i.addEventListener(`load`,p),i.addEventListener(`error`,g),i.addEventListener(`timeout`,N),i.addEventListener(`abort`,g);let y=e.reportProgress||e.reportUploadProgress,k=e.reportProgress||e.reportDownloadProgress;return k&&i.addEventListener(`progress`,_),y&&c!==null&&i.upload&&i.upload.addEventListener(`progress`,A),i.send(c),s.next({type:R.Sent}),()=>{i.removeEventListener(`error`,g),i.removeEventListener(`abort`,g),i.removeEventListener(`load`,p),i.removeEventListener(`timeout`,N),k&&i.removeEventListener(`progress`,_),y&&c!==null&&i.upload&&i.upload.removeEventListener(`progress`,A),i.readyState!==i.DONE&&i.abort()}})))}static ɵfac=function(n){return new(n||r)(Ve$1(L$1))};static ɵprov=ce$1({token:r,factory:r.ɵfac,providedIn:`root`})}return r})();var q=(function(r){return r[r.Interceptors=0]=`Interceptors`,r[r.LegacyInterceptors=1]=`LegacyInterceptors`,r[r.CustomXsrfConfiguration=2]=`CustomXsrfConfiguration`,r[r.NoXsrfProtection=3]=`NoXsrfProtection`,r[r.JsonpSupport=4]=`JsonpSupport`,r[r.RequestsMadeViaParent=5]=`RequestsMadeViaParent`,r[r.Fetch=6]=`Fetch`,r[r.Xhr=7]=`Xhr`,r})(q||{});function $e(r,t){return{ɵkind:r,ɵproviders:t}}function ht(...r){let t=[Ve,G,W,{provide:Y,useExisting:W},{provide:K,useFactory:()=>E$2(G)},{provide:fe,useValue:Be,multi:!0}];for(let e of r)t.push(...e.ɵproviders);return Sn(t)}var Ie=new N(``);function ft(){return $e(q.LegacyInterceptors,[{provide:Ie,useFactory:lt},{provide:fe,useExisting:Ie,multi:!0}])}function pt(){return $e(q.Xhr,[he,{provide:K,useExisting:he}])}export{P as a,de as c,pt as d,ze as f,M as i,ft as l,E as n,R as o,J as r,Ve as s,C as t,ht as u};
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.