text: var $localize=Object.assign(void 0===$localize?{}:$localize,{locale:""});
  var Aw=Object.defineProperty,Iw=Object.defineProperties,Pw=Object.getOwnPropertyDescriptors,kv=Object.getOwnPropertySymbols,Rw=Object.prototype.hasOwnProperty,kw=Object.prototype.propertyIsEnumerable,Fv=(xt,Ie,w)=>Ie in xt?Aw(xt,Ie,{enumerable:!0,configurable:!0,writable:!0,value:w}):xt[Ie]=w,cn=(xt,Ie)=>{for(var w in Ie||(Ie={}))Rw.call(Ie,w)&&Fv(xt,w,Ie[w]);if(kv)for(var w of kv(Ie))kw.call(Ie,w)&&Fv(xt,w,Ie[w]);return xt},fr=(xt,Ie)=>Iw(xt,Pw(Ie));(self.webpackChunkangularexampleapp=self.webpackChunkangularexampleapp||[]).push([[179],{7216:(xt,Ie,w)=>{"use strict";w.d(Ie,{R:()=>D});var u=w(7494),m={};function D(){return(0,u.KV)()?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:m}},7494:(xt,Ie,w)=>{"use strict";function u(){return"[object process]"===Object.prototype.toString.call("undefined"!=typeof process?process:0)}function m(x,ee){return x.require(ee)}w.d(Ie,{KV:()=>u,l$:()=>m}),xt=w.hmd(xt)},5239:(xt,Ie,w)=>{"use strict";w.d(Ie,{yW:()=>F,ph:()=>z});var u=w(7216),m=w(7494);xt=w.hmd(xt);var D={nowSeconds:function(){return Date.now()/1e3}},A=(0,m.KV)()?function(){try{return(0,m.l$)(xt,"perf_hooks").performance}catch(q){return}}():function(){var B=(0,u.R)().performance;if(B&&B.now)return{now:function(){return B.now()},timeOrigin:Date.now()-B.now()}}(),O=void 0===A?D:{nowSeconds:function(){return(A.timeOrigin+A.now())/1e3}},F=D.nowSeconds.bind(D),z=O.nowSeconds.bind(O);!function(){var B=(0,u.R)().performance;if(B&&B.now){var q=36e5,se=B.now(),fe=Date.now(),Le=B.timeOrigin?Math.abs(B.timeOrigin+se-fe):q,st=Le<q,ft=B.timing&&B.timing.navigationStart,Ge="number"==typeof ft?Math.abs(ft+se-fe):q}}()},4367:(xt,Ie,w)=>{"use strict";w.d(Ie,{g7:()=>O});var u=null,m={},D=1,ee="@wry/context:Slot",A=Array,O=A[ee]||function(){var q=function(){function q(){this.id=["slot",D++,Date.now(),Math.random().toString(36).slice(2)].join(":")}return q.prototype.hasValue=function(){for(var se=u;se;se=se.parent)if(this.id in se.slots){var fe=se.slots[this.id];if(fe===m)break;return se!==u&&(u.slots[this.id]=fe),!0}return u&&(u.slots[this.id]=m),!1},q.prototype.getValue=function(){if(this.hasValue())return u.slots[this.id]},q.prototype.withValue=function(se,fe,Le,st){var ft,Ke=((ft={__proto__:null})[this.id]=se,ft),Ge=u;u={parent:Ge,slots:Ke};try{return fe.apply(st,Le)}finally{u=Ge}},q.bind=function(se){var fe=u;return function(){var Le=u;try{return u=fe,se.apply(this,arguments)}finally{u=Le}}},q.noContext=function(se,fe,Le){if(!u)return se.apply(Le,fe);var st=u;try{return u=null,se.apply(Le,fe)}finally{u=st}},q}();try{Object.defineProperty(A,ee,{value:A[ee]=q,enumerable:!1,writable:!1,configurable:!1})}finally{return q}}()},9859:(xt,Ie,w)=>{"use strict";w.d(Ie,{D:()=>A});var u=Object.prototype,m=u.toString,D=u.hasOwnProperty,x=Function.prototype.toString,ee=new Map;function A(j,B){try{return O(j,B)}finally{ee.clear()}}function O(j,B){if(j===B)return!0;var q=m.call(j);if(q!==m.call(B))return!1;switch(q){case"[object Array]":if(j.length!==B.length)return!1;case"[object Object]":if(U(j,B))return!0;var fe=F(j),Le=F(B),st=fe.length;if(st!==Le.length)return!1;for(var ft=0;ft<st;++ft)if(!D.call(B,fe[ft]))return!1;for(ft=0;ft<st;++ft){var Ke=fe[ft];if(!O(j[Ke],B[Ke]))return!1}return!0;case"[object Error]":return j.name===B.name&&j.message===B.message;case"[object Number]":if(j!=j)return B!=B;case"[object Boolean]":case"[object Date]":return+j==+B;case"[object RegExp]":case"[object String]":return j==""+B;case"[object Map]":case"[object Set]":if(j.size!==B.size)return!1;if(U(j,B))return!0;for(var Ge=j.entries(),ut="[object Map]"===q;;){var Pe=Ge.next();if(Pe.done)break;var Ce=Pe.value,ge=Ce[0],V=Ce[1];if(!B.has(ge)||ut&&!O(V,B.get(ge)))return!1}return!0;case"[object Uint16Array]":case"[object Uint8Array]":case"[object Uint32Array]":case"[object Int32Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object ArrayBuffer]":j=new Uint8Array(j),B=new Uint8Array(B);case"[object DataView]":var J=j.byteLength;if(J===B.byteLength)for(;J--&&j[J]===B[J];);return-1===J;case"[object AsyncFunction]":case"[object GeneratorFunction]":case"[object AsyncGeneratorFunction]":case"[object Function]":var le=x.call(j);return le===x.call(B)&&!function(j,B){var q=j.length-B.length;return q>=0&&j.indexOf(B,q)===q}(le,X)}return!1}function F(j){return Object.keys(j).filter(z,j)}function z(j){return void 0!==this[j]}var X="{ [native code] }";function U(j,B){var q=ee.get(j);if(q){if(q.has(B))return!0}else ee.set(j,q=new Set);return q.add(B),!1}},7032:(xt,Ie,w)=>{"use strict";w.d(Ie,{B:()=>ee});var u=function(){return Object.create(null)},m=Array.prototype,D=m.forEach,x=m.slice,ee=function(){function O(F,z){void 0===F&&(F=!0),void 0===z&&(z=u),this.weakness=F,this.makeData=z}return O.prototype.lookup=function(){for(var F=[],z=0;z<arguments.length;z++)F[z]=arguments[z];return this.lookupArray(F)},O.prototype.lookupArray=function(F){var z=this;return D.call(F,function(X){return z=z.getChildTrie(X)}),z.data||(z.data=this.makeData(x.call(F)))},O.prototype.getChildTrie=function(F){var z=this.weakness&&function(O){switch(typeof O){case"object":if(null===O)break;case"function":return!0}return!1}(F)?this.weak||(this.weak=new WeakMap):this.strong||(this.strong=new Map),X=z.get(F);return X||z.set(F,X=new O(this.weakness,this.makeData)),X},O}()},7714:(xt,Ie,w)=>{"use strict";w.d(Ie,{zu:()=>Ht,_M:()=>jn});var u=w(3668),m=w(4762),D=w(5559),x=w(5839),ee=x.i.execute,A=w(346),F=w(2944),z=w(4540),X=function(Re,R){var $;try{$=JSON.stringify(Re)}catch(Xe){var ue=__DEV__?new D.ej("Network request failed. ".concat(R," is not serializable: ").concat(Xe.message)):new D.ej(21);throw ue.parseError=Xe,ue}return $},U=function(Re,R,$){var ue=new Error($);throw ue.name="ServerError",ue.response=Re,ue.statusCode=Re.status,ue.result=R,ue},j=Object.prototype.hasOwnProperty,se=w(459),ft={http:{includeQuery:!0,includeExtensions:!1},headers:{accept:"*/*","content-type":"application/json"},options:{method:"POST"}},Ke=function(Re,R){return R(Re)};function Pe(Re){if(Re){var R=Object.create(null);return Object.keys(Object(Re)).forEach(function($){R[$.toLowerCase()]=Re[$]}),R}return Re}function V(Re){return new z.y(function(R){R.error(Re)})}var J=(0,D.wY)(function(){return fetch}),le=function(Re){void 0===Re&&(Re={});var R=Re.uri,$=void 0===R?"/graphql":R,ue=Re.fetch,Xe=Re.print,gt=void 0===Xe?Ke:Xe,dt=Re.includeExtensions,Rt=Re.useGETForQueries,Lt=Re.includeUnusedVariables,$t=void 0!==Lt&&Lt,Jt=(0,m._T)(Re,["uri","fetch","print","includeExtensions","useGETForQueries","includeUnusedVariables"]);__DEV__&&function(Re){if(!Re&&"undefined"==typeof fetch)throw __DEV__?new D.ej("\n\"fetch\" has not been found globally and no fetcher has been configured. To fix this, install a fetch package (like https://www.npmjs.com/package/cross-fetch), instantiate the fetcher, and pass it into your HttpLink constructor. For example:\n\nimport fetch from 'cross-fetch';\nimport { ApolloClient, HttpLink } from '@apollo/client';\nconst client = new ApolloClient({\n  link: new HttpLink({ uri: '/graphql', fetch })\n});\n    "):new D.ej(20)}(ue||J);var zt={http:{includeExtensions:dt},options:Jt.fetchOptions,credentials:Jt.credentials,headers:Jt.headers};return new x.i(function(Kt){var on=function(Re,R){return Re.getContext().uri||("function"==typeof R?R(Re):R||"/graphql")}(Kt,$),fn=Kt.getContext(),Yt={};if(fn.clientAwareness){var Sn=fn.clientAwareness,En=Sn.name,Gn=Sn.version;En&&(Yt["apollographql-client-name"]=En),Gn&&(Yt["apollographql-client-version"]=Gn)}var ii,ni=(0,m.pi)((0,m.pi)({},Yt),fn.headers),ei=function(Re,R){for(var $=[],ue=2;ue<arguments.length;ue++)$[ue-2]=arguments[ue];var Xe={},gt={};$.forEach(function(zt){Xe=(0,m.pi)((0,m.pi)((0,m.pi)({},Xe),zt.options),{headers:(0,m.pi)((0,m.pi)({},Xe.headers),Pe(zt.headers))}),zt.credentials&&(Xe.credentials=zt.credentials),gt=(0,m.pi)((0,m.pi)({},gt),zt.http)});var Rt=Re.extensions,$t=Re.query,Jt={operationName:Re.operationName,variables:Re.variables};return gt.includeExtensions&&(Jt.extensions=Rt),gt.includeQuery&&(Jt.query=R($t,se.S)),{options:Xe,body:Jt}}(Kt,gt,ft,zt,{http:fn.http,options:fn.fetchOptions,credentials:fn.credentials,headers:ni}),Vn=ei.options,Nn=ei.body;if(Nn.variables&&!$t){var $n=new Set(Object.keys(Nn.variables));(0,F.Vn)(Kt.query,{Variable:function(ri,wr,Oi){Oi&&"VariableDefinition"!==Oi.kind&&$n.delete(ri.name.value)}}),$n.size&&(Nn.variables=(0,m.pi)({},Nn.variables),$n.forEach(function(ri){delete Nn.variables[ri]}))}if(!Vn.signal){var hi=function(){if("undefined"==typeof AbortController)return{controller:!1,signal:!1};var Re=new AbortController;return{controller:Re,signal:Re.signal}}();(ii=hi.controller)&&(Vn.signal=hi.signal)}if(Rt&&!Kt.query.definitions.some(function(ri){return"OperationDefinition"===ri.kind&&"mutation"===ri.operation})&&(Vn.method="GET"),"GET"===Vn.method){var yi=function(Re,R){var $=[],ue=function(zt,Kt){$.push("".concat(zt,"=").concat(encodeURIComponent(Kt)))};if("query"in R&&ue("query",R.query),R.operationName&&ue("operationName",R.operationName),R.variables){var Xe=void 0;try{Xe=X(R.variables,"Variables map")}catch(zt){return{parseError:zt}}ue("variables",Xe)}if(R.extensions){var gt=void 0;try{gt=X(R.extensions,"Extensions map")}catch(zt){return{parseError:zt}}ue("extensions",gt)}var dt="",Rt=Re,Lt=Re.indexOf("#");-1!==Lt&&(dt=Re.substr(Lt),Rt=Re.substr(0,Lt));var $t=-1===Rt.indexOf("?")?"?":"&";return{newURI:Rt+$t+$.join("&")+dt}}(on,Nn),zi=yi.newURI,wn=yi.parseError;if(wn)return V(wn);on=zi}else try{Vn.body=X(Nn,"Payload")}catch(ri){return V(ri)}return new z.y(function(ri){return(ue||(0,D.wY)(function(){return fetch})||J)(on,Vn).then(function(Oi){return Kt.setContext({response:Oi}),Oi}).then(function(Re){return function(R){return R.text().then(function($){try{return JSON.parse($)}catch(Xe){var ue=Xe;throw ue.name="ServerParseError",ue.response=R,ue.statusCode=R.status,ue.bodyText=$,ue}}).then(function($){return R.status>=300&&U(R,$,"Response not successful: Received status code ".concat(R.status)),!Array.isArray($)&&!j.call($,"data")&&!j.call($,"errors")&&U(R,$,"Server response was missing for query '".concat(Array.isArray(Re)?Re.map(function(ue){return ue.operationName}):Re.operationName,"'.")),$})}}(Kt)).then(function(Oi){return ri.next(Oi),ri.complete(),Oi}).catch(function(Oi){"AbortError"!==Oi.name&&(Oi.result&&Oi.result.errors&&Oi.result.data&&ri.next(Oi.result),ri.error(Oi))}),function(){ii&&ii.abort()}})})},ve=function(Re){function R($){void 0===$&&($={});var ue=Re.call(this,le($).request)||this;return ue.options=$,ue}return(0,m.ZT)(R,Re),R}(x.i),Ae=w(9859),De=w(9159),qe=w(6310);function ht(Re,R,$){return new z.y(function(ue){var Xe=ue.next,gt=ue.error,dt=ue.complete,Rt=0,Lt=!1,$t={then:function(on){return new Promise(function(fn){return fn(on())})}};function Jt(on,fn){return on?function(Yt){++Rt;var Sn=function(){return on(Yt)};$t=$t.then(Sn,Sn).then(function(En){--Rt,Xe&&Xe.call(ue,En),Lt&&zt.complete()},function(En){throw--Rt,En}).catch(function(En){gt&&gt.call(ue,En)})}:function(Yt){return fn&&fn.call(ue,Yt)}}var zt={next:Jt(R,Xe),error:Jt($,gt),complete:function(){Lt=!0,Rt||dt&&dt.call(ue)}},Kt=Re.subscribe(zt);return function(){return Kt.unsubscribe()}})}function Vt(Re){return Re.errors&&Re.errors.length>0||!1}var ze=w(6341),it=w(9033),pt=w(7003),Dt=w(2813),It=w(6435),jt=w(1690);function et(Re,R,$){var ue=[];Re.forEach(function(Xe){return Xe[R]&&ue.push(Xe)}),ue.forEach(function(Xe){return Xe[R]($)})}function xe(Re){function R($){Object.defineProperty(Re,$,{value:z.y})}return qe.aS&&Symbol.species&&R(Symbol.species),R("@@species"),Re}function Te(Re){return Re&&"function"==typeof Re.then}var ae=function(Re){function R($){var ue=Re.call(this,function(Xe){return ue.addObserver(Xe),function(){return ue.removeObserver(Xe)}})||this;return ue.observers=new Set,ue.addCount=0,ue.promise=new Promise(function(Xe,gt){ue.resolve=Xe,ue.reject=gt}),ue.handlers={next:function(Xe){null!==ue.sub&&(ue.latest=["next",Xe],et(ue.observers,"next",Xe))},error:function(Xe){var gt=ue.sub;null!==gt&&(gt&&setTimeout(function(){return gt.unsubscribe()}),ue.sub=null,ue.latest=["error",Xe],ue.reject(Xe),et(ue.observers,"error",Xe))},complete:function(){if(null!==ue.sub){var Xe=ue.sources.shift();Xe?Te(Xe)?Xe.then(function(gt){return ue.sub=gt.subscribe(ue.handlers)}):ue.sub=Xe.subscribe(ue.handlers):(ue.sub=null,ue.latest&&"next"===ue.latest[0]?ue.resolve(ue.latest[1]):ue.resolve(),et(ue.observers,"complete"))}}},ue.cancel=function(Xe){ue.reject(Xe),ue.sources=[],ue.handlers.complete()},ue.promise.catch(function(Xe){}),"function"==typeof $&&($=[new z.y($)]),Te($)?$.then(function(Xe){return ue.start(Xe)},ue.handlers.error):ue.start($),ue}return(0,m.ZT)(R,Re),R.prototype.start=function($){void 0===this.sub&&(this.sources=Array.from($),this.handlers.complete())},R.prototype.deliverLastMessage=function($){if(this.latest){var ue=this.latest[0],Xe=$[ue];Xe&&Xe.call($,this.latest[1]),null===this.sub&&"next"===ue&&$.complete&&$.complete()}},R.prototype.addObserver=function($){this.observers.has($)||(this.deliverLastMessage($),this.observers.add($),++this.addCount)},R.prototype.removeObserver=function($,ue){this.observers.delete($)&&--this.addCount<1&&!ue&&this.handlers.error(new Error("Observable cancelled prematurely"))},R.prototype.cleanup=function($){var ue=this,Xe=!1,gt=function(){Xe||(Xe=!0,ue.observers.delete(dt),$())},dt={next:gt,error:gt,complete:gt},Rt=this.addCount;this.addObserver(dt),this.addCount=Rt},R}(z.y);xe(ae);var we=w(5261),Ct=function(Re){function R($){var ue=$.graphQLErrors,Xe=$.clientErrors,gt=$.networkError,dt=$.errorMessage,Rt=$.extraInfo,Lt=Re.call(this,dt)||this;return Lt.graphQLErrors=ue||[],Lt.clientErrors=Xe||[],Lt.networkError=gt||null,Lt.message=dt||function(Re){var R="";return((0,we.O)(Re.graphQLErrors)||(0,we.O)(Re.clientErrors))&&(Re.graphQLErrors||[]).concat(Re.clientErrors||[]).forEach(function(ue){R+="".concat(ue?ue.message:"Error message not found.","\n")}),Re.networkError&&(R+="".concat(Re.networkError.message,"\n")),R=R.replace(/\n$/,"")}(Lt),Lt.extraInfo=Rt,Lt.__proto__=R.prototype,Lt}return(0,m.ZT)(R,Re),R}(Error),Ot=(()=>{return(Re=Ot||(Ot={}))[Re.loading=1]="loading",Re[Re.setVariables=2]="setVariables",Re[Re.fetchMore=3]="fetchMore",Re[Re.refetch=4]="refetch",Re[Re.poll=6]="poll",Re[Re.ready=7]="ready",Re[Re.error=8]="error",Ot;var Re})();function tn(Re){return!!Re&&Re<7}var St=w(1615),de=Object.assign,he=Object.hasOwnProperty,Ze=!1,me=function(Re){function R($){var ue=$.queryManager,Xe=$.queryInfo,gt=$.options,dt=Re.call(this,function(Lt){try{var $t=Lt._subscription._observer;$t&&!$t.error&&($t.error=Qe)}catch(Kt){}var Jt=!dt.observers.size;dt.observers.add(Lt);var zt=dt.last;return zt&&zt.error?Lt.error&&Lt.error(zt.error):zt&&zt.result&&Lt.next&&Lt.next(zt.result),Jt&&dt.reobserve().catch(function(){}),function(){dt.observers.delete(Lt)&&!dt.observers.size&&dt.tearDownQuery()}})||this;dt.observers=new Set,dt.subscriptions=new Set,dt.isTornDown=!1,dt.options=gt,dt.queryId=Xe.queryId||ue.generateQueryId();var Rt=(0,ze.$H)(gt.query);return dt.queryName=Rt&&Rt.name&&Rt.name.value,dt.initialFetchPolicy=gt.fetchPolicy||"cache-first",dt.queryManager=ue,dt.queryInfo=Xe,dt}return(0,m.ZT)(R,Re),Object.defineProperty(R.prototype,"variables",{get:function(){return this.options.variables},enumerable:!1,configurable:!0}),R.prototype.result=function(){var $=this;return new Promise(function(ue,Xe){var gt={next:function(Rt){ue(Rt),$.observers.delete(gt),$.observers.size||$.queryManager.removeQuery($.queryId),setTimeout(function(){dt.unsubscribe()},0)},error:Xe},dt=$.subscribe(gt)})},R.prototype.getCurrentResult=function($){void 0===$&&($=!0);var ue=this.getLastResult(!0),Xe=this.queryInfo.networkStatus||ue&&ue.networkStatus||Ot.ready,gt=(0,m.pi)((0,m.pi)({},ue),{loading:tn(Xe),networkStatus:Xe}),dt=this.options.fetchPolicy,Rt=void 0===dt?"cache-first":dt;if("network-only"!==Rt&&"no-cache"!==Rt&&"standby"!==Rt&&!this.queryManager.transform(this.options.query).hasForcedResolvers){var Lt=this.queryInfo.getDiff();(Lt.complete||this.options.returnPartialData)&&(gt.data=Lt.result),(0,Ae.D)(gt.data,{})&&(gt.data=void 0),Lt.complete?(delete gt.partial,Lt.complete&&gt.networkStatus===Ot.loading&&("cache-first"===Rt||"cache-only"===Rt)&&(gt.networkStatus=Ot.ready,gt.loading=!1)):gt.partial=!0,__DEV__&&!Lt.complete&&!this.options.partialRefetch&&!gt.loading&&!gt.data&&!gt.error&&Ne(Lt.missing)}return $&&this.updateLastResult(gt),gt},R.prototype.isDifferentFromLastResult=function($){return!this.last||!(0,Ae.D)(this.last.result,$)},R.prototype.getLast=function($,ue){var Xe=this.last;if(Xe&&Xe[$]&&(!ue||(0,Ae.D)(Xe.variables,this.variables)))return Xe[$]},R.prototype.getLastResult=function($){return this.getLast("result",$)},R.prototype.getLastError=function($){return this.getLast("error",$)},R.prototype.resetLastResults=function(){delete this.last,this.isTornDown=!1},R.prototype.resetQueryStoreErrors=function(){this.queryManager.resetErrors(this.queryId)},R.prototype.refetch=function($){var ue,Xe={pollInterval:0},gt=this.options.fetchPolicy;if(Xe.fetchPolicy="standby"===gt||"cache-and-network"===gt?gt:"no-cache"===gt?"no-cache":"network-only",__DEV__&&$&&he.call($,"variables")){var dt=(0,ze.iW)(this.options.query),Rt=dt.variableDefinitions;(!Rt||!Rt.some(function(Lt){return"variables"===Lt.variable.name.value}))&&__DEV__&&D.kG.warn("Called refetch(".concat(JSON.stringify($),") for query ").concat((null===(ue=dt.name)||void 0===ue?void 0:ue.value)||JSON.stringify(dt),", which does not declare a $variables variable.\nDid you mean to call refetch(variables) instead of refetch({ variables })?"))}return $&&!(0,Ae.D)(this.options.variables,$)&&(Xe.variables=this.options.variables=(0,m.pi)((0,m.pi)({},this.options.variables),$)),this.queryInfo.resetLastWrite(),this.reobserve(Xe,Ot.refetch)},R.prototype.fetchMore=function($){var ue=this,Xe=(0,m.pi)((0,m.pi)({},$.query?$:(0,m.pi)((0,m.pi)((0,m.pi)({},this.options),$),{variables:(0,m.pi)((0,m.pi)({},this.options.variables),$.variables)})),{fetchPolicy:"no-cache"}),gt=this.queryManager.generateQueryId();return Xe.notifyOnNetworkStatusChange&&(this.queryInfo.networkStatus=Ot.fetchMore,this.observe()),this.queryManager.fetchQuery(gt,Xe,Ot.fetchMore).then(function(dt){var Rt=dt.data,Lt=$.updateQuery;return Lt?(__DEV__&&!Ze&&(__DEV__&&D.kG.warn("The updateQuery callback for fetchMore is deprecated, and will be removed\nin the next major version of Apollo Client.\n\nPlease convert updateQuery functions to field policies with appropriate\nread and merge functions, or use/adapt a helper function (such as\nconcatPagination, offsetLimitPagination, or relayStylePagination) from\n@apollo/client/utilities.\n\nThe field policy system handles pagination more effectively than a\nhand-written updateQuery function, and you only need to define the policy\nonce, rather than every time you call fetchMore."),Ze=!0),ue.updateQuery(function($t){return Lt($t,{fetchMoreResult:Rt,variables:Xe.variables})})):ue.queryManager.cache.writeQuery({query:Xe.query,variables:Xe.variables,data:Rt}),dt}).finally(function(){ue.queryManager.stopQuery(gt),ue.reobserve()})},R.prototype.subscribeToMore=function($){var ue=this,Xe=this.queryManager.startGraphQLSubscription({query:$.document,variables:$.variables,context:$.context}).subscribe({next:function(gt){var dt=$.updateQuery;dt&&ue.updateQuery(function(Rt,Lt){return dt(Rt,{subscriptionData:gt,variables:Lt.variables})})},error:function(gt){$.onError?$.onError(gt):__DEV__&&D.kG.error("Unhandled GraphQL subscription error",gt)}});return this.subscriptions.add(Xe),function(){ue.subscriptions.delete(Xe)&&Xe.unsubscribe()}},R.prototype.setOptions=function($){return this.reobserve($)},R.prototype.setVariables=function($){return(0,Ae.D)(this.variables,$)?this.observers.size?this.result():Promise.resolve():(this.options.variables=$,this.observers.size?this.reobserve({fetchPolicy:this.initialFetchPolicy,variables:$},Ot.setVariables):Promise.resolve())},R.prototype.updateQuery=function($){var ue=this.queryManager,gt=$(ue.cache.diff({query:this.options.query,variables:this.variables,returnPartialData:!0,optimistic:!1}).result,{variables:this.variables});gt&&(ue.cache.writeQuery({query:this.options.query,data:gt,variables:this.variables}),ue.broadcastQueries())},R.prototype.startPolling=function($){this.options.pollInterval=$,this.updatePolling()},R.prototype.stopPolling=function(){this.options.pollInterval=0,this.updatePolling()},R.prototype.fetch=function($,ue){return this.queryManager.setObservableQuery(this),this.queryManager.fetchQueryObservable(this.queryId,$,ue)},R.prototype.updatePolling=function(){var $=this;if(!this.queryManager.ssrMode){var Xe=this.pollingInfo,gt=this.options.pollInterval;if(!gt)return void(Xe&&(clearTimeout(Xe.timeout),delete this.pollingInfo));if(!Xe||Xe.interval!==gt){__DEV__?(0,D.kG)(gt,"Attempted to start a polling query without a polling interval."):(0,D.kG)(gt,10),(Xe||(this.pollingInfo={})).interval=gt;var Rt=function(){$.pollingInfo&&(tn($.queryInfo.networkStatus)?Lt():$.reobserve({fetchPolicy:"network-only"},Ot.poll).then(Lt,Lt))},Lt=function(){var $t=$.pollingInfo;$t&&(clearTimeout($t.timeout),$t.timeout=setTimeout(Rt,$t.interval))};Lt()}}},R.prototype.updateLastResult=function($,ue){return void 0===ue&&(ue=this.variables),this.last=(0,m.pi)((0,m.pi)({},this.last),{result:this.queryManager.assumeImmutableResults?$:(0,St.X)($),variables:ue}),(0,we.O)($.errors)||delete this.last.error,this.last},R.prototype.reobserve=function($,ue){var Xe=this;this.isTornDown=!1;var gt=ue===Ot.refetch||ue===Ot.fetchMore||ue===Ot.poll,dt=this.options.variables,Rt=gt?(0,A.o)(this.options,$):de(this.options,(0,A.o)($));gt||(this.updatePolling(),$&&$.variables&&!$.fetchPolicy&&!(0,Ae.D)($.variables,dt)&&(Rt.fetchPolicy=this.initialFetchPolicy,void 0===ue&&(ue=Ot.setVariables)));var Lt=Rt.variables&&(0,m.pi)({},Rt.variables),$t=this.fetch(Rt,ue),Jt={next:function(zt){Xe.reportResult(zt,Lt)},error:function(zt){Xe.reportError(zt,Lt)}};return gt||(this.concast&&this.observer&&this.concast.removeObserver(this.observer,!0),this.concast=$t,this.observer=Jt),$t.addObserver(Jt),$t.promise},R.prototype.observe=function(){this.reportResult(this.getCurrentResult(!1),this.variables)},R.prototype.reportResult=function($,ue){(this.getLastError()||this.isDifferentFromLastResult($))&&(this.updateLastResult($,ue),et(this.observers,"next",$))},R.prototype.reportError=function($,ue){var Xe=(0,m.pi)((0,m.pi)({},this.getLastResult()),{error:$,errors:$.graphQLErrors,networkStatus:Ot.error,loading:!1});this.updateLastResult(Xe,ue),et(this.observers,"error",this.last.error=$)},R.prototype.hasObservers=function(){return this.observers.size>0},R.prototype.tearDownQuery=function(){this.isTornDown||(this.concast&&this.observer&&(this.concast.removeObserver(this.observer),delete this.concast,delete this.observer),this.stopPolling(),this.subscriptions.forEach(function($){return $.unsubscribe()}),this.subscriptions.clear(),this.queryManager.stopQuery(this.queryId),this.observers.clear(),this.isTornDown=!0)},R}(z.y);function Qe(Re){__DEV__&&D.kG.error("Unhandled error",Re.message,Re.stack)}function Ne(Re){__DEV__&&Re&&__DEV__&&D.kG.debug("Missing cache result fields: ".concat(JSON.stringify(Re)),Re)}xe(me);var Ve=w(6392),vt=w(4014),Tt=w(1405),Ut=function(){function Re(R){var ue=R.client,Xe=R.resolvers,gt=R.fragmentMatcher;this.cache=R.cache,ue&&(this.client=ue),Xe&&this.addResolvers(Xe),gt&&this.setFragmentMatcher(gt)}return Re.prototype.addResolvers=function(R){var $=this;this.resolvers=this.resolvers||{},Array.isArray(R)?R.forEach(function(ue){$.resolvers=(0,Ve.Ee)($.resolvers,ue)}):this.resolvers=(0,Ve.Ee)(this.resolvers,R)},Re.prototype.setResolvers=function(R){this.resolvers={},this.addResolvers(R)},Re.prototype.getResolvers=function(){return this.resolvers||{}},Re.prototype.runResolvers=function(R){var $=R.document,ue=R.remoteResult,Xe=R.context,gt=R.variables,dt=R.onlyRunForcedResolvers,Rt=void 0!==dt&&dt;return(0,m.mG)(this,void 0,void 0,function(){return(0,m.Jh)(this,function(Lt){return $?[2,this.resolveDocument($,ue.data,Xe,gt,this.fragmentMatcher,Rt).then(function($t){return(0,m.pi)((0,m.pi)({},ue),{data:$t.result})})]:[2,ue]})})},Re.prototype.setFragmentMatcher=function(R){this.fragmentMatcher=R},Re.prototype.getFragmentMatcher=function(){return this.fragmentMatcher},Re.prototype.clientQuery=function(R){return(0,pt.FS)(["client"],R)&&this.resolvers?R:null},Re.prototype.serverQuery=function(R){return(0,it.ob)(R)},Re.prototype.prepareContext=function(R){var $=this.cache;return(0,m.pi)((0,m.pi)({},R),{cache:$,getCacheKey:function(ue){return $.identify(ue)}})},Re.prototype.addExportedVariables=function(R,$,ue){return void 0===$&&($={}),void 0===ue&&(ue={}),(0,m.mG)(this,void 0,void 0,function(){return(0,m.Jh)(this,function(Xe){return R?[2,this.resolveDocument(R,this.buildRootValueFromCache(R,$)||{},this.prepareContext(ue),$).then(function(gt){return(0,m.pi)((0,m.pi)({},$),gt.exportedVariables)})]:[2,(0,m.pi)({},$)]})})},Re.prototype.shouldForceResolvers=function(R){var $=!1;return(0,F.Vn)(R,{Directive:{enter:function(ue){if("client"===ue.name.value&&ue.arguments&&($=ue.arguments.some(function(Xe){return"always"===Xe.name.value&&"BooleanValue"===Xe.value.kind&&!0===Xe.value.value})))return F.$_}}}),$},Re.prototype.buildRootValueFromCache=function(R,$){return this.cache.diff({query:(0,it.aL)(R),variables:$,returnPartialData:!0,optimistic:!1}).result},Re.prototype.resolveDocument=function(R,$,ue,Xe,gt,dt){return void 0===ue&&(ue={}),void 0===Xe&&(Xe={}),void 0===gt&&(gt=function(){return!0}),void 0===dt&&(dt=!1),(0,m.mG)(this,void 0,void 0,function(){var Rt,Lt,$t,Jt,zt,Kt,on,fn,Yt;return(0,m.Jh)(this,function(Sn){return Rt=(0,ze.p$)(R),Lt=(0,ze.kU)(R),$t=(0,vt.F)(Lt),zt=(Jt=Rt.operation)?Jt.charAt(0).toUpperCase()+Jt.slice(1):"Query",on=(Kt=this).cache,fn=Kt.client,Yt={fragmentMap:$t,context:(0,m.pi)((0,m.pi)({},ue),{cache:on,client:fn}),variables:Xe,fragmentMatcher:gt,defaultOperationType:zt,exportedVariables:{},onlyRunForcedResolvers:dt},[2,this.resolveSelectionSet(Rt.selectionSet,$,Yt).then(function(En){return{result:En,exportedVariables:Yt.exportedVariables}})]})})},Re.prototype.resolveSelectionSet=function(R,$,ue){return(0,m.mG)(this,void 0,void 0,function(){var Xe,gt,dt,Rt,$t=this;return(0,m.Jh)(this,function(Jt){return Xe=ue.fragmentMap,gt=ue.context,dt=ue.variables,Rt=[$],[2,Promise.all(R.selections.map(function(zt){return(0,m.mG)($t,void 0,void 0,function(){var Kt;return(0,m.Jh)(this,function(fn){return(0,pt.LZ)(zt,dt)?(0,Dt.My)(zt)?[2,this.resolveField(zt,$,ue).then(function(Yt){var Sn;void 0!==Yt&&Rt.push(((Sn={})[(0,Dt.u2)(zt)]=Yt,Sn))})]:((0,Dt.Ao)(zt)?Kt=zt:(Kt=Xe[zt.name.value],__DEV__?(0,D.kG)(Kt,"No fragment named ".concat(zt.name.value)):(0,D.kG)(Kt,9)),Kt&&Kt.typeCondition&&ue.fragmentMatcher($,Kt.typeCondition.name.value,gt)?[2,this.resolveSelectionSet(Kt.selectionSet,$,ue).then(function(Yt){Rt.push(Yt)})]:[2]):[2]})})})).then(function(){return(0,Ve.bw)(Rt)})]})})},Re.prototype.resolveField=function(R,$,ue){return(0,m.mG)(this,void 0,void 0,function(){var Xe,gt,dt,Rt,Lt,$t,Jt,zt,Kt,on=this;return(0,m.Jh)(this,function(fn){return Xe=ue.variables,gt=R.name.value,dt=(0,Dt.u2)(R),Rt=gt!==dt,Lt=$[dt]||$[gt],$t=Promise.resolve(Lt),(!ue.onlyRunForcedResolvers||this.shouldForceResolvers(R))&&(Jt=$.__typename||ue.defaultOperationType,(zt=this.resolvers&&this.resolvers[Jt])&&(Kt=zt[Rt?gt:dt])&&($t=Promise.resolve(Tt.ab.withValue(this.cache,Kt,[$,(0,Dt.NC)(R,Xe),ue.context,{field:R,fragmentMap:ue.fragmentMap}])))),[2,$t.then(function(Yt){return void 0===Yt&&(Yt=Lt),R.directives&&R.directives.forEach(function(Sn){"export"===Sn.name.value&&Sn.arguments&&Sn.arguments.forEach(function(En){"as"===En.name.value&&"StringValue"===En.value.kind&&(ue.exportedVariables[En.value.value]=Yt)})}),R.selectionSet&&null!=Yt?Array.isArray(Yt)?on.resolveSubSelectedArray(R,Yt,ue):R.selectionSet?on.resolveSelectionSet(R.selectionSet,Yt,ue):void 0:Yt})]})})},Re.prototype.resolveSubSelectedArray=function(R,$,ue){var Xe=this;return Promise.all($.map(function(gt){return null===gt?null:Array.isArray(gt)?Xe.resolveSubSelectedArray(R,gt,ue):R.selectionSet?Xe.resolveSelectionSet(R.selectionSet,gt,ue):void 0}))},Re}(),kt=new(qe.mr?WeakMap:Map);function Wt(Re,R){var $=Re[R];"function"==typeof $&&(Re[R]=function(){return kt.set(Re,(kt.get(Re)+1)%1e15),$.apply(this,arguments)})}function sn(Re){Re.notifyTimeout&&(clearTimeout(Re.notifyTimeout),Re.notifyTimeout=void 0)}var Pn=function(){function Re(R,$){void 0===$&&($=R.generateQueryId()),this.queryId=$,this.listeners=new Set,this.document=null,this.lastRequestId=1,this.subscriptions=new Set,this.stopped=!1,this.dirty=!1,this.observableQuery=null;var ue=this.cache=R.cache;kt.has(ue)||(kt.set(ue,0),Wt(ue,"evict"),Wt(ue,"modify"),Wt(ue,"reset"))}return Re.prototype.init=function(R){var $=R.networkStatus||Ot.loading;return this.variables&&this.networkStatus!==Ot.loading&&!(0,Ae.D)(this.variables,R.variables)&&($=Ot.setVariables),(0,Ae.D)(R.variables,this.variables)||(this.lastDiff=void 0),Object.assign(this,{document:R.document,variables:R.variables,networkError:null,graphQLErrors:this.graphQLErrors||[],networkStatus:$}),R.observableQuery&&this.setObservableQuery(R.observableQuery),R.lastRequestId&&(this.lastRequestId=R.lastRequestId),this},Re.prototype.reset=function(){sn(this),this.lastDiff=void 0,this.dirty=!1},Re.prototype.getDiff=function(R){void 0===R&&(R=this.variables);var $=this.getDiffOptions(R);if(this.lastDiff&&(0,Ae.D)($,this.lastDiff.options))return this.lastDiff.diff;this.updateWatch(this.variables=R);var ue=this.observableQuery;if(ue&&"no-cache"===ue.options.fetchPolicy)return{complete:!1};var Xe=this.cache.diff($);return this.updateLastDiff(Xe,$),Xe},Re.prototype.updateLastDiff=function(R,$){this.lastDiff=R?{diff:R,options:$||this.getDiffOptions()}:void 0},Re.prototype.getDiffOptions=function(R){var $;return void 0===R&&(R=this.variables),{query:this.document,variables:R,returnPartialData:!0,optimistic:!0,canonizeResults:null===($=this.observableQuery)||void 0===$?void 0:$.options.canonizeResults}},Re.prototype.setDiff=function(R){var $=this,ue=this.lastDiff&&this.lastDiff.diff;this.updateLastDiff(R),!this.dirty&&!(0,Ae.D)(ue&&ue.result,R&&R.result)&&(this.dirty=!0,this.notifyTimeout||(this.notifyTimeout=setTimeout(function(){return $.notify()},0)))},Re.prototype.setObservableQuery=function(R){var $=this;R!==this.observableQuery&&(this.oqListener&&this.listeners.delete(this.oqListener),this.observableQuery=R,R?(R.queryInfo=this,this.listeners.add(this.oqListener=function(){$.getDiff().fromOptimisticTransaction?R.observe():R.reobserve()})):delete this.oqListener)},Re.prototype.notify=function(){var R=this;sn(this),this.shouldNotify()&&this.listeners.forEach(function($){return $(R)}),this.dirty=!1},Re.prototype.shouldNotify=function(){if(!this.dirty||!this.listeners.size)return!1;if(tn(this.networkStatus)&&this.observableQuery){var R=this.observableQuery.options.fetchPolicy;if("cache-only"!==R&&"cache-and-network"!==R)return!1}return!0},Re.prototype.stop=function(){if(!this.stopped){this.stopped=!0,this.reset(),this.cancel(),this.cancel=Re.prototype.cancel,this.subscriptions.forEach(function($){return $.unsubscribe()});var R=this.observableQuery;R&&R.stopPolling()}},Re.prototype.cancel=function(){},Re.prototype.updateWatch=function(R){var $=this;void 0===R&&(R=this.variables);var ue=this.observableQuery;if(!ue||"no-cache"!==ue.options.fetchPolicy){var Xe=(0,m.pi)((0,m.pi)({},this.getDiffOptions(R)),{watcher:this,callback:function(gt){return $.setDiff(gt)}});(!this.lastWatch||!(0,Ae.D)(Xe,this.lastWatch))&&(this.cancel(),this.cancel=this.cache.watch(this.lastWatch=Xe))}},Re.prototype.resetLastWrite=function(){this.lastWrite=void 0},Re.prototype.shouldWrite=function(R,$){var ue=this.lastWrite;return!(ue&&ue.dmCount===kt.get(this.cache)&&(0,Ae.D)($,ue.variables)&&(0,Ae.D)(R.data,ue.result.data))},Re.prototype.markResult=function(R,$,ue){var Xe=this;this.graphQLErrors=(0,we.O)(R.errors)?R.errors:[],this.reset(),"no-cache"===$.fetchPolicy?this.updateLastDiff({result:R.data,complete:!0},this.getDiffOptions($.variables)):0!==ue&&(Wn(R,$.errorPolicy)?this.cache.performTransaction(function(gt){if(Xe.shouldWrite(R,$.variables))gt.writeQuery({query:Xe.document,data:R.data,variables:$.variables,overwrite:1===ue}),Xe.lastWrite={result:R,variables:$.variables,dmCount:kt.get(Xe.cache)};else if(Xe.lastDiff&&Xe.lastDiff.diff.complete)return void(R.data=Xe.lastDiff.diff.result);var dt=Xe.getDiffOptions($.variables),Rt=gt.diff(dt);Xe.stopped||Xe.updateWatch($.variables),Xe.updateLastDiff(Rt,dt),Rt.complete&&(R.data=Rt.result)}):this.lastWrite=void 0)},Re.prototype.markReady=function(){return this.networkError=null,this.networkStatus=Ot.ready},Re.prototype.markError=function(R){return this.networkStatus=Ot.error,this.lastWrite=void 0,this.reset(),R.graphQLErrors&&(this.graphQLErrors=R.graphQLErrors),R.networkError&&(this.networkError=R.networkError),R},Re}();function Wn(Re,R){void 0===R&&(R="none");var $="ignore"===R||"all"===R,ue=!Vt(Re);return!ue&&$&&Re.data&&(ue=!0),ue}var un=Object.prototype.hasOwnProperty,Ln=function(){function Re(R){var $=R.cache,ue=R.link,Xe=R.queryDeduplication,gt=void 0!==Xe&&Xe,dt=R.onBroadcast,Rt=R.ssrMode,Lt=void 0!==Rt&&Rt,$t=R.clientAwareness,Jt=void 0===$t?{}:$t,zt=R.localState,Kt=R.assumeImmutableResults;this.clientAwareness={},this.queries=new Map,this.fetchCancelFns=new Map,this.transformCache=new(qe.mr?WeakMap:Map),this.queryIdCounter=1,this.requestIdCounter=1,this.mutationIdCounter=1,this.inFlightLinkObservables=new Map,this.cache=$,this.link=ue,this.queryDeduplication=gt,this.clientAwareness=Jt,this.localState=zt||new Ut({cache:$}),this.ssrMode=Lt,this.assumeImmutableResults=!!Kt,(this.onBroadcast=dt)&&(this.mutationStore=Object.create(null))}return Re.prototype.stop=function(){var R=this;this.queries.forEach(function($,ue){R.stopQueryNoBroadcast(ue)}),this.cancelPendingFetches(__DEV__?new D.ej("QueryManager stopped while query was in flight"):new D.ej(11))},Re.prototype.cancelPendingFetches=function(R){this.fetchCancelFns.forEach(function($){return $(R)}),this.fetchCancelFns.clear()},Re.prototype.mutate=function(R){var $=R.mutation,ue=R.variables,Xe=R.optimisticResponse,gt=R.updateQueries,dt=R.refetchQueries,Rt=void 0===dt?[]:dt,Lt=R.awaitRefetchQueries,$t=void 0!==Lt&&Lt,Jt=R.update,zt=R.onQueryUpdated,Kt=R.errorPolicy,on=void 0===Kt?"none":Kt,fn=R.fetchPolicy,Yt=void 0===fn?"network-only":fn,Sn=R.keepRootFields,En=R.context;return(0,m.mG)(this,void 0,void 0,function(){var Gn,ni,Kn;return(0,m.Jh)(this,function(ei){switch(ei.label){case 0:return __DEV__?(0,D.kG)($,"mutation option is required. You must specify your GraphQL document in the mutation option."):(0,D.kG)($,12),__DEV__?(0,D.kG)("network-only"===Yt||"no-cache"===Yt,"Mutations support only 'network-only' or 'no-cache' fetchPolicy strings. The default `network-only` behavior automatically writes mutation results to the cache. Passing `no-cache` skips the cache write."):(0,D.kG)("network-only"===Yt||"no-cache"===Yt,13),Gn=this.generateMutationId(),$=this.transform($).document,ue=this.getVariables($,ue),this.transform($).hasClientExports?[4,this.localState.addExportedVariables($,ue,En)]:[3,2];case 1:ue=ei.sent(),ei.label=2;case 2:return ni=this.mutationStore&&(this.mutationStore[Gn]={mutation:$,variables:ue,loading:!0,error:null}),Xe&&this.markMutationOptimistic(Xe,{mutationId:Gn,document:$,variables:ue,fetchPolicy:Yt,errorPolicy:on,context:En,updateQueries:gt,update:Jt,keepRootFields:Sn}),this.broadcastQueries(),Kn=this,[2,new Promise(function(Vn,Nn){return ht(Kn.getObservableFromLink($,(0,m.pi)((0,m.pi)({},En),{optimisticResponse:Xe}),ue,!1),function($n){if(Vt($n)&&"none"===on)throw new Ct({graphQLErrors:$n.errors});ni&&(ni.loading=!1,ni.error=null);var ii=(0,m.pi)({},$n);return"function"==typeof Rt&&(Rt=Rt(ii)),"ignore"===on&&Vt(ii)&&delete ii.errors,Kn.markMutationResult({mutationId:Gn,result:ii,document:$,variables:ue,fetchPolicy:Yt,errorPolicy:on,context:En,update:Jt,updateQueries:gt,awaitRefetchQueries:$t,refetchQueries:Rt,removeOptimistic:Xe?Gn:void 0,onQueryUpdated:zt,keepRootFields:Sn})}).subscribe({next:function($n){Kn.broadcastQueries(),Vn($n)},error:function($n){ni&&(ni.loading=!1,ni.error=$n),Xe&&Kn.cache.removeOptimistic(Gn),Kn.broadcastQueries(),Nn($n instanceof Ct?$n:new Ct({networkError:$n}))}})})]}})})},Re.prototype.markMutationResult=function(R,$){var ue=this;void 0===$&&($=this.cache);var Xe=R.result,gt=[],dt="no-cache"===R.fetchPolicy;if(!dt&&Wn(Xe,R.errorPolicy)){gt.push({result:Xe.data,dataId:"ROOT_MUTATION",query:R.document,variables:R.variables});var Rt=R.updateQueries;Rt&&this.queries.forEach(function($t,Jt){var zt=$t.observableQuery,Kt=zt&&zt.queryName;if(Kt&&un.call(Rt,Kt)){var on=Rt[Kt],fn=ue.queries.get(Jt),Yt=fn.document,Sn=fn.variables,En=$.diff({query:Yt,variables:Sn,returnPartialData:!0,optimistic:!1}),Gn=En.result;if(En.complete&&Gn){var Kn=on(Gn,{mutationResult:Xe,queryName:Yt&&(0,ze.rY)(Yt)||void 0,queryVariables:Sn});Kn&&gt.push({result:Kn,dataId:"ROOT_QUERY",query:Yt,variables:Sn})}}})}if(gt.length>0||R.refetchQueries||R.update||R.onQueryUpdated||R.removeOptimistic){var Lt=[];if(this.refetchQueries({updateCache:function($t){dt||gt.forEach(function(Kt){return $t.write(Kt)});var Jt=R.update;if(Jt){if(!dt){var zt=$t.diff({id:"ROOT_MUTATION",query:ue.transform(R.document).asQuery,variables:R.variables,optimistic:!1,returnPartialData:!0});zt.complete&&(Xe=(0,m.pi)((0,m.pi)({},Xe),{data:zt.result}))}Jt($t,Xe,{context:R.context,variables:R.variables})}!dt&&!R.keepRootFields&&$t.modify({id:"ROOT_MUTATION",fields:function(Kt,on){return"__typename"===on.fieldName?Kt:on.DELETE}})},include:R.refetchQueries,optimistic:!1,removeOptimistic:R.removeOptimistic,onQueryUpdated:R.onQueryUpdated||null}).forEach(function($t){return Lt.push($t)}),R.awaitRefetchQueries||R.onQueryUpdated)return Promise.all(Lt).then(function(){return Xe})}return Promise.resolve(Xe)},Re.prototype.markMutationOptimistic=function(R,$){var ue=this,Xe="function"==typeof R?R($.variables):R;return this.cache.recordOptimisticTransaction(function(gt){try{ue.markMutationResult((0,m.pi)((0,m.pi)({},$),{result:{data:Xe}}),gt)}catch(dt){__DEV__&&D.kG.error(dt)}},$.mutationId)},Re.prototype.fetchQuery=function(R,$,ue){return this.fetchQueryObservable(R,$,ue).promise},Re.prototype.getQueryStore=function(){var R=Object.create(null);return this.queries.forEach(function($,ue){R[ue]={variables:$.variables,networkStatus:$.networkStatus,networkError:$.networkError,graphQLErrors:$.graphQLErrors}}),R},Re.prototype.resetErrors=function(R){var $=this.queries.get(R);$&&($.networkError=void 0,$.graphQLErrors=[])},Re.prototype.transform=function(R){var $=this.transformCache;if(!$.has(R)){var ue=this.cache.transformDocument(R),Xe=(0,it.Fo)(this.cache.transformForLink(ue)),gt=this.localState.clientQuery(ue),dt=Xe&&this.localState.serverQuery(Xe),Rt={document:ue,hasClientExports:(0,pt.mj)(ue),hasForcedResolvers:this.localState.shouldForceResolvers(ue),clientQuery:gt,serverQuery:dt,defaultVars:(0,ze.O4)((0,ze.$H)(ue)),asQuery:(0,m.pi)((0,m.pi)({},ue),{definitions:ue.definitions.map(function($t){return"OperationDefinition"===$t.kind&&"query"!==$t.operation?(0,m.pi)((0,m.pi)({},$t),{operation:"query"}):$t})})},Lt=function($t){$t&&!$.has($t)&&$.set($t,Rt)};Lt(R),Lt(ue),Lt(gt),Lt(dt)}return $.get(R)},Re.prototype.getVariables=function(R,$){return(0,m.pi)((0,m.pi)({},this.transform(R).defaultVars),$)},Re.prototype.watchQuery=function(R){void 0===(R=(0,m.pi)((0,m.pi)({},R),{variables:this.getVariables(R.query,R.variables)})).notifyOnNetworkStatusChange&&(R.notifyOnNetworkStatusChange=!1);var $=new Pn(this),ue=new me({queryManager:this,queryInfo:$,options:R});return this.queries.set(ue.queryId,$),$.init({document:R.query,observableQuery:ue,variables:R.variables}),ue},Re.prototype.query=function(R,$){var ue=this;return void 0===$&&($=this.generateQueryId()),__DEV__?(0,D.kG)(R.query,"query option is required. You must specify your GraphQL document in the query option."):(0,D.kG)(R.query,14),__DEV__?(0,D.kG)("Document"===R.query.kind,'You must wrap the query string in a "gql" tag.'):(0,D.kG)("Document"===R.query.kind,15),__DEV__?(0,D.kG)(!R.returnPartialData,"returnPartialData option only supported on watchQuery."):(0,D.kG)(!R.returnPartialData,16),__DEV__?(0,D.kG)(!R.pollInterval,"pollInterval option only supported on watchQuery."):(0,D.kG)(!R.pollInterval,17),this.fetchQuery($,R).finally(function(){return ue.stopQuery($)})},Re.prototype.generateQueryId=function(){return String(this.queryIdCounter++)},Re.prototype.generateRequestId=function(){return this.requestIdCounter++},Re.prototype.generateMutationId=function(){return String(this.mutationIdCounter++)},Re.prototype.stopQueryInStore=function(R){this.stopQueryInStoreNoBroadcast(R),this.broadcastQueries()},Re.prototype.stopQueryInStoreNoBroadcast=function(R){var $=this.queries.get(R);$&&$.stop()},Re.prototype.clearStore=function(R){return void 0===R&&(R={discardWatches:!0}),this.cancelPendingFetches(__DEV__?new D.ej("Store reset while query was in flight (not completed in link chain)"):new D.ej(18)),this.queries.forEach(function($){$.observableQuery?$.networkStatus=Ot.loading:$.stop()}),this.mutationStore&&(this.mutationStore=Object.create(null)),this.cache.reset(R)},Re.prototype.getObservableQueries=function(R){var $=this;void 0===R&&(R="active");var ue=new Map,Xe=new Map,gt=new Set;return Array.isArray(R)&&R.forEach(function(dt){"string"==typeof dt?Xe.set(dt,!1):(0,Dt.JW)(dt)?Xe.set($.transform(dt).document,!1):(0,It.s)(dt)&&dt.query&&gt.add(dt)}),this.queries.forEach(function(dt,Rt){var Lt=dt.observableQuery,$t=dt.document;if(Lt){if("all"===R)return void ue.set(Rt,Lt);var Jt=Lt.queryName;if("standby"===Lt.options.fetchPolicy||"active"===R&&!Lt.hasObservers())return;("active"===R||Jt&&Xe.has(Jt)||$t&&Xe.has($t))&&(ue.set(Rt,Lt),Jt&&Xe.set(Jt,!0),$t&&Xe.set($t,!0))}}),gt.size&&gt.forEach(function(dt){var Rt=(0,jt.X)("legacyOneTimeQuery"),Lt=$.getQuery(Rt).init({document:dt.query,variables:dt.variables}),$t=new me({queryManager:$,queryInfo:Lt,options:(0,m.pi)((0,m.pi)({},dt),{fetchPolicy:"network-only"})});(0,D.kG)($t.queryId===Rt),Lt.setObservableQuery($t),ue.set(Rt,$t)}),__DEV__&&Xe.size&&Xe.forEach(function(dt,Rt){dt||__DEV__&&D.kG.warn("Unknown query ".concat("string"==typeof Rt?"named ":"").concat(JSON.stringify(Rt,null,2)," requested in refetchQueries options.include array"))}),ue},Re.prototype.reFetchObservableQueries=function(R){var $=this;void 0===R&&(R=!1);var ue=[];return this.getObservableQueries(R?"all":"active").forEach(function(Xe,gt){var dt=Xe.options.fetchPolicy;Xe.resetLastResults(),(R||"standby"!==dt&&"cache-only"!==dt)&&ue.push(Xe.refetch()),$.getQuery(gt).setDiff(null)}),this.broadcastQueries(),Promise.all(ue)},Re.prototype.setObservableQuery=function(R){this.getQuery(R.queryId).setObservableQuery(R)},Re.prototype.startGraphQLSubscription=function(R){var $=this,ue=R.query,Xe=R.fetchPolicy,gt=R.errorPolicy,dt=R.variables,Rt=R.context,Lt=void 0===Rt?{}:Rt;ue=this.transform(ue).document,dt=this.getVariables(ue,dt);var $t=function(zt){return $.getObservableFromLink(ue,Lt,zt).map(function(Kt){if("no-cache"!==Xe&&(Wn(Kt,gt)&&$.cache.write({query:ue,result:Kt.data,dataId:"ROOT_SUBSCRIPTION",variables:zt}),$.broadcastQueries()),Vt(Kt))throw new Ct({graphQLErrors:Kt.errors});return Kt})};if(this.transform(ue).hasClientExports){var Jt=this.localState.addExportedVariables(ue,dt,Lt).then($t);return new z.y(function(zt){var Kt=null;return Jt.then(function(on){return Kt=on.subscribe(zt)},zt.error),function(){return Kt&&Kt.unsubscribe()}})}return $t(dt)},Re.prototype.stopQuery=function(R){this.stopQueryNoBroadcast(R),this.broadcastQueries()},Re.prototype.stopQueryNoBroadcast=function(R){this.stopQueryInStoreNoBroadcast(R),this.removeQuery(R)},Re.prototype.removeQuery=function(R){this.fetchCancelFns.delete(R),this.getQuery(R).stop(),this.queries.delete(R)},Re.prototype.broadcastQueries=function(){this.onBroadcast&&this.onBroadcast(),this.queries.forEach(function(R){return R.notify()})},Re.prototype.getLocalState=function(){return this.localState},Re.prototype.getObservableFromLink=function(R,$,ue,Xe){var dt,gt=this;void 0===Xe&&(Xe=null!==(dt=null==$?void 0:$.queryDeduplication)&&void 0!==dt?dt:this.queryDeduplication);var Rt,Lt=this.transform(R).serverQuery;if(Lt){var Jt=this.inFlightLinkObservables,zt=this.link,Kt={query:Lt,variables:ue,operationName:(0,ze.rY)(Lt)||void 0,context:this.prepareContext((0,m.pi)((0,m.pi)({},$),{forceFetch:!Xe}))};if($=Kt.context,Xe){var on=Jt.get(Lt)||new Map;Jt.set(Lt,on);var fn=(0,De.B)(ue);if(!(Rt=on.get(fn))){var Yt=new ae([ee(zt,Kt)]);on.set(fn,Rt=Yt),Yt.cleanup(function(){on.delete(fn)&&on.size<1&&Jt.delete(Lt)})}}else Rt=new ae([ee(zt,Kt)])}else Rt=new ae([z.y.of({data:{}})]),$=this.prepareContext($);var Sn=this.transform(R).clientQuery;return Sn&&(Rt=ht(Rt,function(En){return gt.localState.runResolvers({document:Sn,remoteResult:En,context:$,variables:ue})})),Rt},Re.prototype.getResultsFromLink=function(R,$,ue){var Xe=R.lastRequestId=this.generateRequestId();return ht(this.getObservableFromLink(R.document,ue.context,ue.variables),function(gt){var dt=(0,we.O)(gt.errors);if(Xe>=R.lastRequestId){if(dt&&"none"===ue.errorPolicy)throw R.markError(new Ct({graphQLErrors:gt.errors}));R.markResult(gt,ue,$),R.markReady()}var Rt={data:gt.data,loading:!1,networkStatus:R.networkStatus||Ot.ready};return dt&&"ignore"!==ue.errorPolicy&&(Rt.errors=gt.errors),Rt},function(gt){var dt=function(Re){return Re.hasOwnProperty("graphQLErrors")}(gt)?gt:new Ct({networkError:gt});throw Xe>=R.lastRequestId&&R.markError(dt),dt})},Re.prototype.fetchQueryObservable=function(R,$,ue){var Xe=this;void 0===ue&&(ue=Ot.loading);var gt=this.transform($.query).document,dt=this.getVariables(gt,$.variables),Rt=this.getQuery(R),Lt=$.fetchPolicy,Jt=$.errorPolicy,Kt=$.returnPartialData,fn=$.notifyOnNetworkStatusChange,Sn=$.context,Gn=Object.assign({},$,{query:gt,variables:dt,fetchPolicy:void 0===Lt?"cache-first":Lt,errorPolicy:void 0===Jt?"none":Jt,returnPartialData:void 0!==Kt&&Kt,notifyOnNetworkStatusChange:void 0!==fn&&fn,context:void 0===Sn?{}:Sn}),ni=function(ei){return Gn.variables=ei,Xe.fetchQueryByPolicy(Rt,Gn,ue)};this.fetchCancelFns.set(R,function(ei){setTimeout(function(){return Kn.cancel(ei)})});var Kn=new ae(this.transform(Gn.query).hasClientExports?this.localState.addExportedVariables(Gn.query,Gn.variables,Gn.context).then(ni):ni(Gn.variables));return Kn.cleanup(function(){Xe.fetchCancelFns.delete(R),function(Re){var R=Re.fetchPolicy,ue=Re.nextFetchPolicy;ue&&(Re.fetchPolicy="function"==typeof ue?ue.call(Re,void 0===R?"cache-first":R):ue)}($)}),Kn},Re.prototype.refetchQueries=function(R){var $=this,ue=R.updateCache,Xe=R.include,gt=R.optimistic,dt=void 0!==gt&&gt,Rt=R.removeOptimistic,Lt=void 0===Rt?dt?(0,jt.X)("refetchQueries"):void 0:Rt,$t=R.onQueryUpdated,Jt=new Map;Xe&&this.getObservableQueries(Xe).forEach(function(Kt,on){Jt.set(on,{oq:Kt,lastDiff:$.getQuery(on).getDiff()})});var zt=new Map;return ue&&this.cache.batch({update:ue,optimistic:dt&&Lt||!1,removeOptimistic:Lt,onWatchUpdated:function(Kt,on,fn){var Yt=Kt.watcher instanceof Pn&&Kt.watcher.observableQuery;if(Yt){if($t){Jt.delete(Yt.queryId);var Sn=$t(Yt,on,fn);return!0===Sn&&(Sn=Yt.refetch()),!1!==Sn&&zt.set(Yt,Sn),Sn}null!==$t&&Jt.set(Yt.queryId,{oq:Yt,lastDiff:fn,diff:on})}}}),Jt.size&&Jt.forEach(function(Kt,on){var En,fn=Kt.oq,Yt=Kt.lastDiff,Sn=Kt.diff;if($t){if(!Sn){var Gn=fn.queryInfo;Gn.reset(),Sn=Gn.getDiff()}En=$t(fn,Sn,Yt)}(!$t||!0===En)&&(En=fn.refetch()),!1!==En&&zt.set(fn,En),on.indexOf("legacyOneTimeQuery")>=0&&$.stopQueryNoBroadcast(on)}),Lt&&this.cache.removeOptimistic(Lt),zt},Re.prototype.fetchQueryByPolicy=function(R,$,ue){var Xe=this,gt=$.query,dt=$.variables,Rt=$.fetchPolicy,Lt=$.refetchWritePolicy,$t=$.errorPolicy,Jt=$.returnPartialData,zt=$.context,Kt=$.notifyOnNetworkStatusChange,on=R.networkStatus;R.init({document:gt,variables:dt,networkStatus:ue});var fn=function(){return R.getDiff(dt)},Yt=function(Kn,ei){void 0===ei&&(ei=R.networkStatus||Ot.loading);var Vn=Kn.result;__DEV__&&!Jt&&!(0,Ae.D)(Vn,{})&&Ne(Kn.missing);var Nn=function($n){return z.y.of((0,m.pi)({data:$n,loading:tn(ei),networkStatus:ei},Kn.complete?null:{partial:!0}))};return Vn&&Xe.transform(gt).hasForcedResolvers?Xe.localState.runResolvers({document:gt,remoteResult:{data:Vn},context:zt,variables:dt,onlyRunForcedResolvers:!0}).then(function($n){return Nn($n.data||void 0)}):Nn(Vn)},Sn="no-cache"===Rt?0:ue===Ot.refetch&&"merge"!==Lt?1:2,En=function(){return Xe.getResultsFromLink(R,Sn,{variables:dt,context:zt,fetchPolicy:Rt,errorPolicy:$t})},Gn=Kt&&"number"==typeof on&&on!==ue&&tn(ue);switch(Rt){default:return(ni=fn()).complete?[Yt(ni,R.markReady())]:Jt||Gn?[Yt(ni),En()]:[En()];case"cache-and-network":var ni;return(ni=fn()).complete||Jt||Gn?[Yt(ni),En()]:[En()];case"cache-only":return[Yt(fn(),R.markReady())];case"network-only":return Gn?[Yt(fn()),En()]:[En()];case"no-cache":return Gn?[Yt(R.getDiff()),En()]:[En()];case"standby":return[]}},Re.prototype.getQuery=function(R){return R&&!this.queries.has(R)&&this.queries.set(R,new Pn(this,R)),this.queries.get(R)},Re.prototype.prepareContext=function(R){void 0===R&&(R={});var $=this.localState.prepareContext(R);return(0,m.pi)((0,m.pi)({},$),{clientAwareness:this.clientAwareness})},Re}(),Rn=!1;function hn(Re,R){return(0,A.o)(Re,R,R.variables&&{variables:(0,m.pi)((0,m.pi)({},Re.variables),R.variables)})}var Mn=function(){function Re(R){var $=this;this.defaultOptions={},this.resetStoreCallbacks=[],this.clearStoreCallbacks=[];var ue=R.uri,dt=R.cache,Rt=R.ssrMode,Lt=void 0!==Rt&&Rt,$t=R.ssrForceFetchDelay,Jt=void 0===$t?0:$t,zt=R.connectToDevTools,Kt=void 0===zt?"object"==typeof window&&!window.__APOLLO_CLIENT__&&__DEV__:zt,on=R.queryDeduplication,fn=void 0===on||on,Yt=R.defaultOptions,Sn=R.assumeImmutableResults,En=void 0!==Sn&&Sn,Gn=R.resolvers,ni=R.typeDefs,Kn=R.fragmentMatcher,ei=R.name,Vn=R.version,Nn=R.link;if(Nn||(Nn=ue?new ve({uri:ue,credentials:R.credentials,headers:R.headers}):x.i.empty()),!dt)throw __DEV__?new D.ej("To initialize Apollo Client, you must specify a 'cache' property in the options object. \nFor more information, please visit: https://go.apollo.dev/c/docs"):new D.ej(7);if(this.link=Nn,this.cache=dt,this.disableNetworkFetches=Lt||Jt>0,this.queryDeduplication=fn,this.defaultOptions=Yt||{},this.typeDefs=ni,Jt&&setTimeout(function(){return $.disableNetworkFetches=!1},Jt),this.watchQuery=this.watchQuery.bind(this),this.query=this.query.bind(this),this.mutate=this.mutate.bind(this),this.resetStore=this.resetStore.bind(this),this.reFetchObservableQueries=this.reFetchObservableQueries.bind(this),Kt&&"object"==typeof window&&(window.__APOLLO_CLIENT__=this),!Rn&&__DEV__&&(Rn=!0,"undefined"!=typeof window&&window.document&&window.top===window.self&&!window.__APOLLO_DEVTOOLS_GLOBAL_HOOK__)){var $n=window.navigator,ii=$n&&$n.userAgent,hi=void 0;"string"==typeof ii&&(ii.indexOf("Chrome/")>-1?hi="https://chrome.google.com/webstore/detail/apollo-client-developer-t/jdkknkkbebbapilgoeccciglkfbmbnfm":ii.indexOf("Firefox/")>-1&&(hi="https://addons.mozilla.org/en-US/firefox/addon/apollo-developer-tools/")),hi&&__DEV__&&D.kG.log("Download the Apollo DevTools for a better development experience: "+hi)}this.version="3.5.6",this.localState=new Ut({cache:dt,client:this,resolvers:Gn,fragmentMatcher:Kn}),this.queryManager=new Ln({cache:this.cache,link:this.link,queryDeduplication:fn,ssrMode:Lt,clientAwareness:{name:ei,version:Vn},localState:this.localState,assumeImmutableResults:En,onBroadcast:Kt?function(){$.devToolsHookCb&&$.devToolsHookCb({action:{},state:{queries:$.queryManager.getQueryStore(),mutations:$.queryManager.mutationStore||{}},dataWithOptimisticResults:$.cache.extract(!0)})}:void 0})}return Re.prototype.stop=function(){this.queryManager.stop()},Re.prototype.watchQuery=function(R){return this.defaultOptions.watchQuery&&(R=hn(this.defaultOptions.watchQuery,R)),this.disableNetworkFetches&&("network-only"===R.fetchPolicy||"cache-and-network"===R.fetchPolicy)&&(R=(0,m.pi)((0,m.pi)({},R),{fetchPolicy:"cache-first"})),this.queryManager.watchQuery(R)},Re.prototype.query=function(R){return this.defaultOptions.query&&(R=hn(this.defaultOptions.query,R)),__DEV__?(0,D.kG)("cache-and-network"!==R.fetchPolicy,"The cache-and-network fetchPolicy does not work with client.query, because client.query can only return a single result. Please use client.watchQuery to receive multiple results from the cache and the network, or consider using a different fetchPolicy, such as cache-first or network-only."):(0,D.kG)("cache-and-network"!==R.fetchPolicy,8),this.disableNetworkFetches&&"network-only"===R.fetchPolicy&&(R=(0,m.pi)((0,m.pi)({},R),{fetchPolicy:"cache-first"})),this.queryManager.query(R)},Re.prototype.mutate=function(R){return this.defaultOptions.mutate&&(R=hn(this.defaultOptions.mutate,R)),this.queryManager.mutate(R)},Re.prototype.subscribe=function(R){return this.queryManager.startGraphQLSubscription(R)},Re.prototype.readQuery=function(R,$){return void 0===$&&($=!1),this.cache.readQuery(R,$)},Re.prototype.readFragment=function(R,$){return void 0===$&&($=!1),this.cache.readFragment(R,$)},Re.prototype.writeQuery=function(R){this.cache.writeQuery(R),this.queryManager.broadcastQueries()},Re.prototype.writeFragment=function(R){this.cache.writeFragment(R),this.queryManager.broadcastQueries()},Re.prototype.__actionHookForDevTools=function(R){this.devToolsHookCb=R},Re.prototype.__requestRaw=function(R){return ee(this.link,R)},Re.prototype.resetStore=function(){var R=this;return Promise.resolve().then(function(){return R.queryManager.clearStore({discardWatches:!1})}).then(function(){return Promise.all(R.resetStoreCallbacks.map(function($){return $()}))}).then(function(){return R.reFetchObservableQueries()})},Re.prototype.clearStore=function(){var R=this;return Promise.resolve().then(function(){return R.queryManager.clearStore({discardWatches:!0})}).then(function(){return Promise.all(R.clearStoreCallbacks.map(function($){return $()}))})},Re.prototype.onResetStore=function(R){var $=this;return this.resetStoreCallbacks.push(R),function(){$.resetStoreCallbacks=$.resetStoreCallbacks.filter(function(ue){return ue!==R})}},Re.prototype.onClearStore=function(R){var $=this;return this.clearStoreCallbacks.push(R),function(){$.clearStoreCallbacks=$.clearStoreCallbacks.filter(function(ue){return ue!==R})}},Re.prototype.reFetchObservableQueries=function(R){return this.queryManager.reFetchObservableQueries(R)},Re.prototype.refetchQueries=function(R){var $=this.queryManager.refetchQueries(R),ue=[],Xe=[];$.forEach(function(dt,Rt){ue.push(Rt),Xe.push(dt)});var gt=Promise.all(Xe);return gt.queries=ue,gt.results=Xe,gt.catch(function(dt){__DEV__&&D.kG.debug("In client.refetchQueries, Promise.all promise rejected with error ".concat(dt))}),gt},Re.prototype.getObservableQueries=function(R){return void 0===R&&(R="active"),this.queryManager.getObservableQueries(R)},Re.prototype.extract=function(R){return this.cache.extract(R)},Re.prototype.restore=function(R){return this.cache.restore(R)},Re.prototype.addResolvers=function(R){this.localState.addResolvers(R)},Re.prototype.setResolvers=function(R){this.localState.setResolvers(R)},Re.prototype.getResolvers=function(){return this.localState.getResolvers()},Re.prototype.setLocalStateFragmentMatcher=function(R){this.localState.setFragmentMatcher(R)},Re.prototype.setLink=function(R){this.link=this.queryManager.link=R},Re}(),mt=w(2869),ot=w(8843);const an=new class extends ot.v{}(class extends mt.o{constructor(R,$){super(R,$),this.scheduler=R,this.work=$}schedule(R,$=0){return $>0?super.schedule(R,$):(this.delay=$,this.state=R,this.scheduler.flush(this),this)}execute(R,$){return $>0||this.closed?super.execute(R,$):this._execute(R,$)}requestAsyncId(R,$,ue=0){return null!=ue&&ue>0||null==ue&&this.delay>0?super.requestAsyncId(R,$,ue):R.flush(this)}});var We=w(8305),tt=w(4816),Y=w(2583),te=w(4763),W=w(3970);function be(Re){return new We.y(R=>(Re().then($=>{R.closed||(R.next($),R.complete())},$=>{R.closed||R.error($)}),()=>R.unsubscribe()))}class Ue{constructor(R){this.zone=R,this.now=Date.now?Date.now:()=>+new Date}schedule(R,$=0,ue){return this.zone.run(()=>an.schedule(R,$,ue))}}function _e(Re){return Re[tt.L]=()=>Re,Re}function Oe(Re,R){return Re.pipe((0,te.Q)(new Ue(R)))}class He{constructor(R,$,ue){this.obsQuery=R;const Xe=Oe((0,Y.D)(_e(this.obsQuery)),$);this.valueChanges=ue.useInitialLoading?Xe.pipe((0,W.O)(Object.assign(Object.assign({},this.obsQuery.getCurrentResult(!1)),{error:void 0,partial:void 0,stale:!0}))):Xe,this.queryId=this.obsQuery.queryId}result(){return this.obsQuery.result()}getCurrentResult(){return this.obsQuery.getCurrentResult()}getLastResult(){return this.obsQuery.getLastResult()}getLastError(){return this.obsQuery.getLastError()}resetLastResults(){return this.obsQuery.resetLastResults()}refetch(R){return this.obsQuery.refetch(R)}fetchMore(R){return this.obsQuery.fetchMore(R)}subscribeToMore(R){return this.obsQuery.subscribeToMore(R)}updateQuery(R){return this.obsQuery.updateQuery(R)}stopPolling(){return this.obsQuery.stopPolling()}startPolling(R){return this.obsQuery.startPolling(R)}setOptions(R){return this.obsQuery.setOptions(R)}setVariables(R){return this.obsQuery.setVariables(R)}}const Et=new u.OlP("APOLLO_FLAGS"),Ht=new u.OlP("APOLLO_OPTIONS"),dn=new u.OlP("APOLLO_NAMED_OPTIONS");class An{constructor(R,$,ue){this.ngZone=R,this.flags=$,this._client=ue,this.useInitialLoading=function(Re,R,$){return!(!Re||void 0===Re[R])&&Re[R]}($,"useInitialLoading")}watchQuery(R){return new He(this.ensureClient().watchQuery(Object.assign({},R)),this.ngZone,Object.assign({useInitialLoading:this.useInitialLoading},R))}query(R){return be(()=>this.ensureClient().query(Object.assign({},R)))}mutate(R){return be(()=>this.ensureClient().mutate(Object.assign({},R)))}subscribe(R,$){const ue=(0,Y.D)(_e(this.ensureClient().subscribe(Object.assign({},R))));return $&&!0!==$.useZone?ue:Oe(ue,this.ngZone)}getClient(){return this.client}setClient(R){this.client=R}get client(){return this._client}set client(R){if(this._client)throw new Error("Client has been already defined");this._client=R}ensureClient(){return this.checkInstance(),this._client}checkInstance(){if(!this._client)throw new Error("Client has not been defined yet")}}let jn=(()=>{class Re extends An{constructor($,ue,Xe,gt){if(super($,gt),this._ngZone=$,this.map=new Map,ue&&this.createDefault(ue),Xe&&"object"==typeof Xe)for(let dt in Xe)Xe.hasOwnProperty(dt)&&this.createNamed(dt,Xe[dt])}create($,ue){Qt(ue)?this.createDefault($):this.createNamed(ue,$)}default(){return this}use($){return Qt($)?this.default():this.map.get($)}createDefault($){if(this.getClient())throw new Error("Apollo has been already created.");return this.setClient(new Mn($))}createNamed($,ue){if(this.map.has($))throw new Error(`Client ${$} has been already created`);this.map.set($,new An(this._ngZone,this.flags,new Mn(ue)))}removeClient($){Qt($)?this._client=void 0:this.map.delete($)}}return Re.\u0275fac=function($){return new($||Re)(u.LFG(u.R0b),u.LFG(Ht,8),u.LFG(dn,8),u.LFG(Et,8))},Re.\u0275prov=u.Yz7({factory:function(){return new Re(u.LFG(u.R0b),u.LFG(Ht,8),u.LFG(dn,8),u.LFG(Et,8))},token:Re,providedIn:"root"}),Re})();function Qt(Re){return!Re||"default"===Re}},8573:function(xt){xt.exports=function(Ie){var w={};function u(m){if(w[m])return w[m].exports;var D=w[m]={i:m,l:!1,exports:{}};return Ie[m].call(D.exports,D,D.exports,u),D.l=!0,D.exports}return u.m=Ie,u.c=w,u.d=function(m,D,x){u.o(m,D)||Object.defineProperty(m,D,{enumerable:!0,get:x})},u.r=function(m){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(m,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(m,"__esModule",{value:!0})},u.t=function(m,D){if(1&D&&(m=u(m)),8&D||4&D&&"object"==typeof m&&m&&m.__esModule)return m;var x=Object.create(null);if(u.r(x),Object.defineProperty(x,"default",{enumerable:!0,value:m}),2&D&&"string"!=typeof m)for(var ee in m)u.d(x,ee,function(A){return m[A]}.bind(null,ee));return x},u.n=function(m){var D=m&&m.__esModule?function(){return m.default}:function(){return m};return u.d(D,"a",D),D},u.o=function(m,D){return Object.prototype.hasOwnProperty.call(m,D)},u.p="",u(u.s=90)}({17:function(Ie,w,u){"use strict";w.__esModule=!0,w.default=void 0;var m=u(18),D=function(){function x(){}return x.getFirstMatch=function(ee,A){var O=A.match(ee);return O&&O.length>0&&O[1]||""},x.getSecondMatch=function(ee,A){var O=A.match(ee);return O&&O.length>1&&O[2]||""},x.matchAndReturnConst=function(ee,A,O){if(ee.test(A))return O},x.getWindowsVersionName=function(ee){switch(ee){case"NT":return"NT";case"XP":case"NT 5.1":return"XP";case"NT 5.0":return"2000";case"NT 5.2":return"2003";case"NT 6.0":return"Vista";case"NT 6.1":return"7";case"NT 6.2":return"8";case"NT 6.3":return"8.1";case"NT 10.0":return"10";default:return}},x.getMacOSVersionName=function(ee){var A=ee.split(".").splice(0,2).map(function(O){return parseInt(O,10)||0});if(A.push(0),10===A[0])switch(A[1]){case 5:return"Leopard";case 6:return"Snow Leopard";case 7:return"Lion";case 8:return"Mountain Lion";case 9:return"Mavericks";case 10:return"Yosemite";case 11:return"El Capitan";case 12:return"Sierra";case 13:return"High Sierra";case 14:return"Mojave";case 15:return"Catalina";default:return}},x.getAndroidVersionName=function(ee){var A=ee.split(".").splice(0,2).map(function(O){return parseInt(O,10)||0});if(A.push(0),!(1===A[0]&&A[1]<5))return 1===A[0]&&A[1]<6?"Cupcake":1===A[0]&&A[1]>=6?"Donut":2===A[0]&&A[1]<2?"Eclair":2===A[0]&&2===A[1]?"Froyo":2===A[0]&&A[1]>2?"Gingerbread":3===A[0]?"Honeycomb":4===A[0]&&A[1]<1?"Ice Cream Sandwich":4===A[0]&&A[1]<4?"Jelly Bean":4===A[0]&&A[1]>=4?"KitKat":5===A[0]?"Lollipop":6===A[0]?"Marshmallow":7===A[0]?"Nougat":8===A[0]?"Oreo":9===A[0]?"Pie":void 0},x.getVersionPrecision=function(ee){return ee.split(".").length},x.compareVersions=function(ee,A,O){void 0===O&&(O=!1);var F=x.getVersionPrecision(ee),z=x.getVersionPrecision(A),X=Math.max(F,z),H=0,U=x.map([ee,A],function(j){var B=X-x.getVersionPrecision(j),q=j+new Array(B+1).join(".0");return x.map(q.split("."),function(se){return new Array(20-se.length).join("0")+se}).reverse()});for(O&&(H=X-Math.min(F,z)),X-=1;X>=H;){if(U[0][X]>U[1][X])return 1;if(U[0][X]===U[1][X]){if(X===H)return 0;X-=1}else if(U[0][X]<U[1][X])return-1}},x.map=function(ee,A){var O,F=[];if(Array.prototype.map)return Array.prototype.map.call(ee,A);for(O=0;O<ee.length;O+=1)F.push(A(ee[O]));return F},x.find=function(ee,A){var O,F;if(Array.prototype.find)return Array.prototype.find.call(ee,A);for(O=0,F=ee.length;O<F;O+=1){var z=ee[O];if(A(z,O))return z}},x.assign=function(ee){for(var A,O,F=ee,z=arguments.length,X=new Array(z>1?z-1:0),H=1;H<z;H++)X[H-1]=arguments[H];if(Object.assign)return Object.assign.apply(Object,[ee].concat(X));var U=function(){var j=X[A];"object"==typeof j&&null!==j&&Object.keys(j).forEach(function(B){F[B]=j[B]})};for(A=0,O=X.length;A<O;A+=1)U();return ee},x.getBrowserAlias=function(ee){return m.BROWSER_ALIASES_MAP[ee]},x.getBrowserTypeByAlias=function(ee){return m.BROWSER_MAP[ee]||""},x}();w.default=D,Ie.exports=w.default},18:function(Ie,w,u){"use strict";w.__esModule=!0,w.ENGINE_MAP=w.OS_MAP=w.PLATFORMS_MAP=w.BROWSER_MAP=w.BROWSER_ALIASES_MAP=void 0,w.BROWSER_ALIASES_MAP={"Amazon Silk":"amazon_silk","Android Browser":"android",Bada:"bada",BlackBerry:"blackberry",Chrome:"chrome",Chromium:"chromium",Electron:"electron",Epiphany:"epiphany",Firefox:"firefox",Focus:"focus",Generic:"generic","Google Search":"google_search",Googlebot:"googlebot","Internet Explorer":"ie","K-Meleon":"k_meleon",Maxthon:"maxthon","Microsoft Edge":"edge","MZ Browser":"mz","NAVER Whale Browser":"naver",Opera:"opera","Opera Coast":"opera_coast",PhantomJS:"phantomjs",Puffin:"puffin",QupZilla:"qupzilla",QQ:"qq",QQLite:"qqlite",Safari:"safari",Sailfish:"sailfish","Samsung Internet for Android":"samsung_internet",SeaMonkey:"seamonkey",Sleipnir:"sleipnir",Swing:"swing",Tizen:"tizen","UC Browser":"uc",Vivaldi:"vivaldi","WebOS Browser":"webos",WeChat:"wechat","Yandex Browser":"yandex",Roku:"roku"},w.BROWSER_MAP={amazon_silk:"Amazon Silk",android:"Android Browser",bada:"Bada",blackberry:"BlackBerry",chrome:"Chrome",chromium:"Chromium",electron:"Electron",epiphany:"Epiphany",firefox:"Firefox",focus:"Focus",generic:"Generic",googlebot:"Googlebot",google_search:"Google Search",ie:"Internet Explorer",k_meleon:"K-Meleon",maxthon:"Maxthon",edge:"Microsoft Edge",mz:"MZ Browser",naver:"NAVER Whale Browser",opera:"Opera",opera_coast:"Opera Coast",phantomjs:"PhantomJS",puffin:"Puffin",qupzilla:"QupZilla",qq:"QQ Browser",qqlite:"QQ Browser Lite",safari:"Safari",sailfish:"Sailfish",samsung_internet:"Samsung Internet for Android",seamonkey:"SeaMonkey",sleipnir:"Sleipnir",swing:"Swing",tizen:"Tizen",uc:"UC Browser",vivaldi:"Vivaldi",webos:"WebOS Browser",wechat:"WeChat",yandex:"Yandex Browser"},w.PLATFORMS_MAP={tablet:"tablet",mobile:"mobile",desktop:"desktop",tv:"tv"},w.OS_MAP={WindowsPhone:"Windows Phone",Windows:"Windows",MacOS:"macOS",iOS:"iOS",Android:"Android",WebOS:"WebOS",BlackBerry:"BlackBerry",Bada:"Bada",Tizen:"Tizen",Linux:"Linux",ChromeOS:"Chrome OS",PlayStation4:"PlayStation 4",Roku:"Roku"},w.ENGINE_MAP={EdgeHTML:"EdgeHTML",Blink:"Blink",Trident:"Trident",Presto:"Presto",Gecko:"Gecko",WebKit:"WebKit"}},90:function(Ie,w,u){"use strict";w.__esModule=!0,w.default=void 0;var m,D=(m=u(91))&&m.__esModule?m:{default:m},x=u(18);function ee(O,F){for(var z=0;z<F.length;z++){var X=F[z];X.enumerable=X.enumerable||!1,X.configurable=!0,"value"in X&&(X.writable=!0),Object.defineProperty(O,X.key,X)}}var A=function(){function O(){}var F,X;return O.getParser=function(H,U){if(void 0===U&&(U=!1),"string"!=typeof H)throw new Error("UserAgent should be a string");return new D.default(H,U)},O.parse=function(H){return new D.default(H).getResult()},F=O,X=[{key:"BROWSER_MAP",get:function(){return x.BROWSER_MAP}},{key:"ENGINE_MAP",get:function(){return x.ENGINE_MAP}},{key:"OS_MAP",get:function(){return x.OS_MAP}},{key:"PLATFORMS_MAP",get:function(){return x.PLATFORMS_MAP}}],null&&ee(F.prototype,null),X&&ee(F,X),O}();w.default=A,Ie.exports=w.default},91:function(Ie,w,u){"use strict";w.__esModule=!0,w.default=void 0;var m=O(u(92)),D=O(u(93)),x=O(u(94)),ee=O(u(95)),A=O(u(17));function O(z){return z&&z.__esModule?z:{default:z}}var F=function(){function z(H,U){if(void 0===U&&(U=!1),null==H||""===H)throw new Error("UserAgent parameter can't be empty");this._ua=H,this.parsedResult={},!0!==U&&this.parse()}var X=z.prototype;return X.getUA=function(){return this._ua},X.test=function(H){return H.test(this._ua)},X.parseBrowser=function(){var H=this;this.parsedResult.browser={};var U=A.default.find(m.default,function(j){if("function"==typeof j.test)return j.test(H);if(j.test instanceof Array)return j.test.some(function(B){return H.test(B)});throw new Error("Browser's test function is not valid")});return U&&(this.parsedResult.browser=U.describe(this.getUA())),this.parsedResult.browser},X.getBrowser=function(){return this.parsedResult.browser?this.parsedResult.browser:this.parseBrowser()},X.getBrowserName=function(H){return H?String(this.getBrowser().name).toLowerCase()||"":this.getBrowser().name||""},X.getBrowserVersion=function(){return this.getBrowser().version},X.getOS=function(){return this.parsedResult.os?this.parsedResult.os:this.parseOS()},X.parseOS=function(){var H=this;this.parsedResult.os={};var U=A.default.find(D.default,function(j){if("function"==typeof j.test)return j.test(H);if(j.test instanceof Array)return j.test.some(function(B){return H.test(B)});throw new Error("Browser's test function is not valid")});return U&&(this.parsedResult.os=U.describe(this.getUA())),this.parsedResult.os},X.getOSName=function(H){var U=this.getOS().name;return H?String(U).toLowerCase()||"":U||""},X.getOSVersion=function(){return this.getOS().version},X.getPlatform=function(){return this.parsedResult.platform?this.parsedResult.platform:this.parsePlatform()},X.getPlatformType=function(H){void 0===H&&(H=!1);var U=this.getPlatform().type;return H?String(U).toLowerCase()||"":U||""},X.parsePlatform=function(){var H=this;this.parsedResult.platform={};var U=A.default.find(x.default,function(j){if("function"==typeof j.test)return j.test(H);if(j.test instanceof Array)return j.test.some(function(B){return H.test(B)});throw new Error("Browser's test function is not valid")});return U&&(this.parsedResult.platform=U.describe(this.getUA())),this.parsedResult.platform},X.getEngine=function(){return this.parsedResult.engine?this.parsedResult.engine:this.parseEngine()},X.getEngineName=function(H){return H?String(this.getEngine().name).toLowerCase()||"":this.getEngine().name||""},X.parseEngine=function(){var H=this;this.parsedResult.engine={};var U=A.default.find(ee.default,function(j){if("function"==typeof j.test)return j.test(H);if(j.test instanceof Array)return j.test.some(function(B){return H.test(B)});throw new Error("Browser's test function is not valid")});return U&&(this.parsedResult.engine=U.describe(this.getUA())),this.parsedResult.engine},X.parse=function(){return this.parseBrowser(),this.parseOS(),this.parsePlatform(),this.parseEngine(),this},X.getResult=function(){return A.default.assign({},this.parsedResult)},X.satisfies=function(H){var U=this,j={},B=0,q={},se=0;if(Object.keys(H).forEach(function(Pe){var Ce=H[Pe];"string"==typeof Ce?(q[Pe]=Ce,se+=1):"object"==typeof Ce&&(j[Pe]=Ce,B+=1)}),B>0){var fe=Object.keys(j),Le=A.default.find(fe,function(Pe){return U.isOS(Pe)});if(Le){var st=this.satisfies(j[Le]);if(void 0!==st)return st}var ft=A.default.find(fe,function(Pe){return U.isPlatform(Pe)});if(ft){var Ke=this.satisfies(j[ft]);if(void 0!==Ke)return Ke}}if(se>0){var Ge=Object.keys(q),ut=A.default.find(Ge,function(Pe){return U.isBrowser(Pe,!0)});if(void 0!==ut)return this.compareVersion(q[ut])}},X.isBrowser=function(H,U){void 0===U&&(U=!1);var j=this.getBrowserName().toLowerCase(),B=H.toLowerCase(),q=A.default.getBrowserTypeByAlias(B);return U&&q&&(B=q.toLowerCase()),B===j},X.compareVersion=function(H){var U=[0],j=H,B=!1,q=this.getBrowserVersion();if("string"==typeof q)return">"===H[0]||"<"===H[0]?(j=H.substr(1),"="===H[1]?(B=!0,j=H.substr(2)):U=[],U.push(">"===H[0]?1:-1)):"="===H[0]?j=H.substr(1):"~"===H[0]&&(B=!0,j=H.substr(1)),U.indexOf(A.default.compareVersions(q,j,B))>-1},X.isOS=function(H){return this.getOSName(!0)===String(H).toLowerCase()},X.isPlatform=function(H){return this.getPlatformType(!0)===String(H).toLowerCase()},X.isEngine=function(H){return this.getEngineName(!0)===String(H).toLowerCase()},X.is=function(H,U){return void 0===U&&(U=!1),this.isBrowser(H,U)||this.isOS(H)||this.isPlatform(H)},X.some=function(H){var U=this;return void 0===H&&(H=[]),H.some(function(j){return U.is(j)})},z}();w.default=F,Ie.exports=w.default},92:function(Ie,w,u){"use strict";w.__esModule=!0,w.default=void 0;var m,D=(m=u(17))&&m.__esModule?m:{default:m},x=/version\/(\d+(\.?_?\d+)+)/i;w.default=[{test:[/googlebot/i],describe:function(A){var O={name:"Googlebot"},F=D.default.getFirstMatch(/googlebot\/(\d+(\.\d+))/i,A)||D.default.getFirstMatch(x,A);return F&&(O.version=F),O}},{test:[/opera/i],describe:function(A){var O={name:"Opera"},F=D.default.getFirstMatch(x,A)||D.default.getFirstMatch(/(?:opera)[\s/](\d+(\.?_?\d+)+)/i,A);return F&&(O.version=F),O}},{test:[/opr\/|opios/i],describe:function(A){var O={name:"Opera"},F=D.default.getFirstMatch(/(?:opr|opios)[\s/](\S+)/i,A)||D.default.getFirstMatch(x,A);return F&&(O.version=F),O}},{test:[/SamsungBrowser/i],describe:function(A){var O={name:"Samsung Internet for Android"},F=D.default.getFirstMatch(x,A)||D.default.getFirstMatch(/(?:SamsungBrowser)[\s/](\d+(\.?_?\d+)+)/i,A);return F&&(O.version=F),O}},{test:[/Whale/i],describe:function(A){var O={name:"NAVER Whale Browser"},F=D.default.getFirstMatch(x,A)||D.default.getFirstMatch(/(?:whale)[\s/](\d+(?:\.\d+)+)/i,A);return F&&(O.version=F),O}},{test:[/MZBrowser/i],describe:function(A){var O={name:"MZ Browser"},F=D.default.getFirstMatch(/(?:MZBrowser)[\s/](\d+(?:\.\d+)+)/i,A)||D.default.getFirstMatch(x,A);return F&&(O.version=F),O}},{test:[/focus/i],describe:function(A){var O={name:"Focus"},F=D.default.getFirstMatch(/(?:focus)[\s/](\d+(?:\.\d+)+)/i,A)||D.default.getFirstMatch(x,A);return F&&(O.version=F),O}},{test:[/swing/i],describe:function(A){var O={name:"Swing"},F=D.default.getFirstMatch(/(?:swing)[\s/](\d+(?:\.\d+)+)/i,A)||D.default.getFirstMatch(x,A);return F&&(O.version=F),O}},{test:[/coast/i],describe:function(A){var O={name:"Opera Coast"},F=D.default.getFirstMatch(x,A)||D.default.getFirstMatch(/(?:coast)[\s/](\d+(\.?_?\d+)+)/i,A);return F&&(O.version=F),O}},{test:[/opt\/\d+(?:.?_?\d+)+/i],describe:function(A){var O={name:"Opera Touch"},F=D.default.getFirstMatch(/(?:opt)[\s/](\d+(\.?_?\d+)+)/i,A)||D.default.getFirstMatch(x,A);return F&&(O.version=F),O}},{test:[/yabrowser/i],describe:function(A){var O={name:"Yandex Browser"},F=D.default.getFirstMatch(/(?:yabrowser)[\s/](\d+(\.?_?\d+)+)/i,A)||D.default.getFirstMatch(x,A);return F&&(O.version=F),O}},{test:[/ucbrowser/i],describe:function(A){var O={name:"UC Browser"},F=D.default.getFirstMatch(x,A)||D.default.getFirstMatch(/(?:ucbrowser)[\s/](\d+(\.?_?\d+)+)/i,A);return F&&(O.version=F),O}},{test:[/Maxthon|mxios/i],describe:function(A){var O={name:"Maxthon"},F=D.default.getFirstMatch(x,A)||D.default.getFirstMatch(/(?:Maxthon|mxios)[\s/](\d+(\.?_?\d+)+)/i,A);return F&&(O.version=F),O}},{test:[/epiphany/i],describe:function(A){var O={name:"Epiphany"},F=D.default.getFirstMatch(x,A)||D.default.getFirstMatch(/(?:epiphany)[\s/](\d+(\.?_?\d+)+)/i,A);return F&&(O.version=F),O}},{test:[/puffin/i],describe:function(A){var O={name:"Puffin"},F=D.default.getFirstMatch(x,A)||D.default.getFirstMatch(/(?:puffin)[\s/](\d+(\.?_?\d+)+)/i,A);return F&&(O.version=F),O}},{test:[/sleipnir/i],describe:function(A){var O={name:"Sleipnir"},F=D.default.getFirstMatch(x,A)||D.default.getFirstMatch(/(?:sleipnir)[\s/](\d+(\.?_?\d+)+)/i,A);return F&&(O.version=F),O}},{test:[/k-meleon/i],describe:function(A){var O={name:"K-Meleon"},F=D.default.getFirstMatch(x,A)||D.default.getFirstMatch(/(?:k-meleon)[\s/](\d+(\.?_?\d+)+)/i,A);return F&&(O.version=F),O}},{test:[/micromessenger/i],describe:function(A){var O={name:"WeChat"},F=D.default.getFirstMatch(/(?:micromessenger)[\s/](\d+(\.?_?\d+)+)/i,A)||D.default.getFirstMatch(x,A);return F&&(O.version=F),O}},{test:[/qqbrowser/i],describe:function(A){var O={name:/qqbrowserlite/i.test(A)?"QQ Browser Lite":"QQ Browser"},F=D.default.getFirstMatch(/(?:qqbrowserlite|qqbrowser)[/](\d+(\.?_?\d+)+)/i,A)||D.default.getFirstMatch(x,A);return F&&(O.version=F),O}},{test:[/msie|trident/i],describe:function(A){var O={name:"Internet Explorer"},F=D.default.getFirstMatch(/(?:msie |rv:)(\d+(\.?_?\d+)+)/i,A);return F&&(O.version=F),O}},{test:[/\sedg\//i],describe:function(A){var O={name:"Microsoft Edge"},F=D.default.getFirstMatch(/\sedg\/(\d+(\.?_?\d+)+)/i,A);return F&&(O.version=F),O}},{test:[/edg([ea]|ios)/i],describe:function(A){var O={name:"Microsoft Edge"},F=D.default.getSecondMatch(/edg([ea]|ios)\/(\d+(\.?_?\d+)+)/i,A);return F&&(O.version=F),O}},{test:[/vivaldi/i],describe:function(A){var O={name:"Vivaldi"},F=D.default.getFirstMatch(/vivaldi\/(\d+(\.?_?\d+)+)/i,A);return F&&(O.version=F),O}},{test:[/seamonkey/i],describe:function(A){var O={name:"SeaMonkey"},F=D.default.getFirstMatch(/seamonkey\/(\d+(\.?_?\d+)+)/i,A);return F&&(O.version=F),O}},{test:[/sailfish/i],describe:function(A){var O={name:"Sailfish"},F=D.default.getFirstMatch(/sailfish\s?browser\/(\d+(\.\d+)?)/i,A);return F&&(O.version=F),O}},{test:[/silk/i],describe:function(A){var O={name:"Amazon Silk"},F=D.default.getFirstMatch(/silk\/(\d+(\.?_?\d+)+)/i,A);return F&&(O.version=F),O}},{test:[/phantom/i],describe:function(A){var O={name:"PhantomJS"},F=D.default.getFirstMatch(/phantomjs\/(\d+(\.?_?\d+)+)/i,A);return F&&(O.version=F),O}},{test:[/slimerjs/i],describe:function(A){var O={name:"SlimerJS"},F=D.default.getFirstMatch(/slimerjs\/(\d+(\.?_?\d+)+)/i,A);return F&&(O.version=F),O}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe:function(A){var O={name:"BlackBerry"},F=D.default.getFirstMatch(x,A)||D.default.getFirstMatch(/blackberry[\d]+\/(\d+(\.?_?\d+)+)/i,A);return F&&(O.version=F),O}},{test:[/(web|hpw)[o0]s/i],describe:function(A){var O={name:"WebOS Browser"},F=D.default.getFirstMatch(x,A)||D.default.getFirstMatch(/w(?:eb)?[o0]sbrowser\/(\d+(\.?_?\d+)+)/i,A);return F&&(O.version=F),O}},{test:[/bada/i],describe:function(A){var O={name:"Bada"},F=D.default.getFirstMatch(/dolfin\/(\d+(\.?_?\d+)+)/i,A);return F&&(O.version=F),O}},{test:[/tizen/i],describe:function(A){var O={name:"Tizen"},F=D.default.getFirstMatch(/(?:tizen\s?)?browser\/(\d+(\.?_?\d+)+)/i,A)||D.default.getFirstMatch(x,A);return F&&(O.version=F),O}},{test:[/qupzilla/i],describe:function(A){var O={name:"QupZilla"},F=D.default.getFirstMatch(/(?:qupzilla)[\s/](\d+(\.?_?\d+)+)/i,A)||D.default.getFirstMatch(x,A);return F&&(O.version=F),O}},{test:[/firefox|iceweasel|fxios/i],describe:function(A){var O={name:"Firefox"},F=D.default.getFirstMatch(/(?:firefox|iceweasel|fxios)[\s/](\d+(\.?_?\d+)+)/i,A);return F&&(O.version=F),O}},{test:[/electron/i],describe:function(A){var O={name:"Electron"},F=D.default.getFirstMatch(/(?:electron)\/(\d+(\.?_?\d+)+)/i,A);return F&&(O.version=F),O}},{test:[/MiuiBrowser/i],describe:function(A){var O={name:"Miui"},F=D.default.getFirstMatch(/(?:MiuiBrowser)[\s/](\d+(\.?_?\d+)+)/i,A);return F&&(O.version=F),O}},{test:[/chromium/i],describe:function(A){var O={name:"Chromium"},F=D.default.getFirstMatch(/(?:chromium)[\s/](\d+(\.?_?\d+)+)/i,A)||D.default.getFirstMatch(x,A);return F&&(O.version=F),O}},{test:[/chrome|crios|crmo/i],describe:function(A){var O={name:"Chrome"},F=D.default.getFirstMatch(/(?:chrome|crios|crmo)\/(\d+(\.?_?\d+)+)/i,A);return F&&(O.version=F),O}},{test:[/GSA/i],describe:function(A){var O={name:"Google Search"},F=D.default.getFirstMatch(/(?:GSA)\/(\d+(\.?_?\d+)+)/i,A);return F&&(O.version=F),O}},{test:function(A){var O=!A.test(/like android/i),F=A.test(/android/i);return O&&F},describe:function(A){var O={name:"Android Browser"},F=D.default.getFirstMatch(x,A);return F&&(O.version=F),O}},{test:[/playstation 4/i],describe:function(A){var O={name:"PlayStation 4"},F=D.default.getFirstMatch(x,A);return F&&(O.version=F),O}},{test:[/safari|applewebkit/i],describe:function(A){var O={name:"Safari"},F=D.default.getFirstMatch(x,A);return F&&(O.version=F),O}},{test:[/.*/i],describe:function(A){var O=-1!==A.search("\\(")?/^(.*)\/(.*)[ \t]\((.*)/:/^(.*)\/(.*) /;return{name:D.default.getFirstMatch(O,A),version:D.default.getSecondMatch(O,A)}}}],Ie.exports=w.default},93:function(Ie,w,u){"use strict";w.__esModule=!0,w.default=void 0;var m,D=(m=u(17))&&m.__esModule?m:{default:m},x=u(18);w.default=[{test:[/Roku\/DVP/],describe:function(A){var O=D.default.getFirstMatch(/Roku\/DVP-(\d+\.\d+)/i,A);return{name:x.OS_MAP.Roku,version:O}}},{test:[/windows phone/i],describe:function(A){var O=D.default.getFirstMatch(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i,A);return{name:x.OS_MAP.WindowsPhone,version:O}}},{test:[/windows /i],describe:function(A){var O=D.default.getFirstMatch(/Windows ((NT|XP)( \d\d?.\d)?)/i,A),F=D.default.getWindowsVersionName(O);return{name:x.OS_MAP.Windows,version:O,versionName:F}}},{test:[/Macintosh(.*?) FxiOS(.*?)\//],describe:function(A){var O={name:x.OS_MAP.iOS},F=D.default.getSecondMatch(/(Version\/)(\d[\d.]+)/,A);return F&&(O.version=F),O}},{test:[/macintosh/i],describe:function(A){var O=D.default.getFirstMatch(/mac os x (\d+(\.?_?\d+)+)/i,A).replace(/[_\s]/g,"."),F=D.default.getMacOSVersionName(O),z={name:x.OS_MAP.MacOS,version:O};return F&&(z.versionName=F),z}},{test:[/(ipod|iphone|ipad)/i],describe:function(A){var O=D.default.getFirstMatch(/os (\d+([_\s]\d+)*) like mac os x/i,A).replace(/[_\s]/g,".");return{name:x.OS_MAP.iOS,version:O}}},{test:function(A){var O=!A.test(/like android/i),F=A.test(/android/i);return O&&F},describe:function(A){var O=D.default.getFirstMatch(/android[\s/-](\d+(\.\d+)*)/i,A),F=D.default.getAndroidVersionName(O),z={name:x.OS_MAP.Android,version:O};return F&&(z.versionName=F),z}},{test:[/(web|hpw)[o0]s/i],describe:function(A){var O=D.default.getFirstMatch(/(?:web|hpw)[o0]s\/(\d+(\.\d+)*)/i,A),F={name:x.OS_MAP.WebOS};return O&&O.length&&(F.version=O),F}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe:function(A){var O=D.default.getFirstMatch(/rim\stablet\sos\s(\d+(\.\d+)*)/i,A)||D.default.getFirstMatch(/blackberry\d+\/(\d+([_\s]\d+)*)/i,A)||D.default.getFirstMatch(/\bbb(\d+)/i,A);return{name:x.OS_MAP.BlackBerry,version:O}}},{test:[/bada/i],describe:function(A){var O=D.default.getFirstMatch(/bada\/(\d+(\.\d+)*)/i,A);return{name:x.OS_MAP.Bada,version:O}}},{test:[/tizen/i],describe:function(A){var O=D.default.getFirstMatch(/tizen[/\s](\d+(\.\d+)*)/i,A);return{name:x.OS_MAP.Tizen,version:O}}},{test:[/linux/i],describe:function(){return{name:x.OS_MAP.Linux}}},{test:[/CrOS/],describe:function(){return{name:x.OS_MAP.ChromeOS}}},{test:[/PlayStation 4/],describe:function(A){var O=D.default.getFirstMatch(/PlayStation 4[/\s](\d+(\.\d+)*)/i,A);return{name:x.OS_MAP.PlayStation4,version:O}}}],Ie.exports=w.default},94:function(Ie,w,u){"use strict";w.__esModule=!0,w.default=void 0;var m,D=(m=u(17))&&m.__esModule?m:{default:m},x=u(18);w.default=[{test:[/googlebot/i],describe:function(){return{type:"bot",vendor:"Google"}}},{test:[/huawei/i],describe:function(A){var O=D.default.getFirstMatch(/(can-l01)/i,A)&&"Nova",F={type:x.PLATFORMS_MAP.mobile,vendor:"Huawei"};return O&&(F.model=O),F}},{test:[/nexus\s*(?:7|8|9|10).*/i],describe:function(){return{type:x.PLATFORMS_MAP.tablet,vendor:"Nexus"}}},{test:[/ipad/i],describe:function(){return{type:x.PLATFORMS_MAP.tablet,vendor:"Apple",model:"iPad"}}},{test:[/Macintosh(.*?) FxiOS(.*?)\//],describe:function(){return{type:x.PLATFORMS_MAP.tablet,vendor:"Apple",model:"iPad"}}},{test:[/kftt build/i],describe:function(){return{type:x.PLATFORMS_MAP.tablet,vendor:"Amazon",model:"Kindle Fire HD 7"}}},{test:[/silk/i],describe:function(){return{type:x.PLATFORMS_MAP.tablet,vendor:"Amazon"}}},{test:[/tablet(?! pc)/i],describe:function(){return{type:x.PLATFORMS_MAP.tablet}}},{test:function(A){var O=A.test(/ipod|iphone/i),F=A.test(/like (ipod|iphone)/i);return O&&!F},describe:function(A){var O=D.default.getFirstMatch(/(ipod|iphone)/i,A);return{type:x.PLATFORMS_MAP.mobile,vendor:"Apple",model:O}}},{test:[/nexus\s*[0-6].*/i,/galaxy nexus/i],describe:function(){return{type:x.PLATFORMS_MAP.mobile,vendor:"Nexus"}}},{test:[/[^-]mobi/i],describe:function(){return{type:x.PLATFORMS_MAP.mobile}}},{test:function(A){return"blackberry"===A.getBrowserName(!0)},describe:function(){return{type:x.PLATFORMS_MAP.mobile,vendor:"BlackBerry"}}},{test:function(A){return"bada"===A.getBrowserName(!0)},describe:function(){return{type:x.PLATFORMS_MAP.mobile}}},{test:function(A){return"windows phone"===A.getBrowserName()},describe:function(){return{type:x.PLATFORMS_MAP.mobile,vendor:"Microsoft"}}},{test:function(A){var O=Number(String(A.getOSVersion()).split(".")[0]);return"android"===A.getOSName(!0)&&O>=3},describe:function(){return{type:x.PLATFORMS_MAP.tablet}}},{test:function(A){return"android"===A.getOSName(!0)},describe:function(){return{type:x.PLATFORMS_MAP.mobile}}},{test:function(A){return"macos"===A.getOSName(!0)},describe:function(){return{type:x.PLATFORMS_MAP.desktop,vendor:"Apple"}}},{test:function(A){return"windows"===A.getOSName(!0)},describe:function(){return{type:x.PLATFORMS_MAP.desktop}}},{test:function(A){return"linux"===A.getOSName(!0)},describe:function(){return{type:x.PLATFORMS_MAP.desktop}}},{test:function(A){return"playstation 4"===A.getOSName(!0)},describe:function(){return{type:x.PLATFORMS_MAP.tv}}},{test:function(A){return"roku"===A.getOSName(!0)},describe:function(){return{type:x.PLATFORMS_MAP.tv}}}],Ie.exports=w.default},95:function(Ie,w,u){"use strict";w.__esModule=!0,w.default=void 0;var m,D=(m=u(17))&&m.__esModule?m:{default:m},x=u(18);w.default=[{test:function(A){return"microsoft edge"===A.getBrowserName(!0)},describe:function(A){if(/\sedg\//i.test(A))return{name:x.ENGINE_MAP.Blink};var O=D.default.getFirstMatch(/edge\/(\d+(\.?_?\d+)+)/i,A);return{name:x.ENGINE_MAP.EdgeHTML,version:O}}},{test:[/trident/i],describe:function(A){var O={name:x.ENGINE_MAP.Trident},F=D.default.getFirstMatch(/trident\/(\d+(\.?_?\d+)+)/i,A);return F&&(O.version=F),O}},{test:function(A){return A.test(/presto/i)},describe:function(A){var O={name:x.ENGINE_MAP.Presto},F=D.default.getFirstMatch(/presto\/(\d+(\.?_?\d+)+)/i,A);return F&&(O.version=F),O}},{test:function(A){var O=A.test(/gecko/i),F=A.test(/like gecko/i);return O&&!F},describe:function(A){var O={name:x.ENGINE_MAP.Gecko},F=D.default.getFirstMatch(/gecko\/(\d+(\.?_?\d+)+)/i,A);return F&&(O.version=F),O}},{test:[/(apple)?webkit\/537\.36/i],describe:function(){return{name:x.ENGINE_MAP.Blink}}},{test:[/(apple)?webkit/i],describe:function(A){var O={name:x.ENGINE_MAP.WebKit},F=D.default.getFirstMatch(/webkit\/(\d+(\.?_?\d+)+)/i,A);return F&&(O.version=F),O}}],Ie.exports=w.default}})},9224:xt=>{"use strict";xt.exports=function(w){var m=w.name,D=w.type;this.uri=w.uri,this.name=m,this.type=D}},6440:(xt,Ie,w)=>{"use strict";var u=w(3027);xt.exports=function m(D,x,ee){void 0===x&&(x=""),void 0===ee&&(ee=u);var A,O=new Map;function F(U,j){var B=O.get(j);B?B.push.apply(B,U):O.set(j,U)}if(ee(D))A=null,F([x],D);else{var z=x?x+".":"";if("undefined"!=typeof FileList&&D instanceof FileList)A=Array.prototype.map.call(D,function(U,j){return F([""+z+j],U),null});else if(Array.isArray(D))A=D.map(function(U,j){var B=m(U,""+z+j,ee);return B.files.forEach(F),B.clone});else if(D&&D.constructor===Object)for(var X in A={},D){var H=m(D[X],""+z+X,ee);H.files.forEach(F),A[X]=H.clone}else A=D}return{clone:A,files:O}}},3027:(xt,Ie,w)=>{"use strict";var u=w(9224);xt.exports=function(D){return"undefined"!=typeof File&&D instanceof File||"undefined"!=typeof Blob&&D instanceof Blob||D instanceof u}},5551:(xt,Ie,w)=>{"use strict";w.d(Ie,{K1:()=>J});var u=w(9814);function j(ce,He,Et,Ht){return(0,u.oQ)((0,u.jt)("{{ timing }}s {{ delay }}s cubic-bezier(0.215, 0.610, 0.355, 1.000)",(0,u.F4)([(0,u.oB)({opacity:0,transform:"translate3d(0, {{ a }}, 0)",offset:0}),(0,u.oB)({opacity:1,transform:"translate3d(0, {{ b }}, 0)",offset:.6}),(0,u.oB)({transform:"translate3d(0, {{ c }}, 0)",offset:.75}),(0,u.oB)({transform:"translate3d(0, {{ d }}, 0)",offset:.9}),(0,u.oB)({opacity:1,transform:"none",offset:1})])),{params:{timing:1,delay:0,a:ce,b:He,c:Et,d:Ht}})}function B(ce,He,Et,Ht){return(0,u.oQ)((0,u.jt)("{{ timing }}s {{ delay }}s cubic-bezier(0.215, 0.610, 0.355, 1.000)",(0,u.F4)([(0,u.oB)({opacity:0,transform:"translate3d({{ a }}, 0, 0)",offset:0}),(0,u.oB)({opacity:1,transform:"translate3d({{ b }}, 0, 0)",offset:.6}),(0,u.oB)({transform:"translate3d({{ c }}, 0, 0)",offset:.75}),(0,u.oB)({transform:"translate3d({{ d }}, 0, 0)",offset:.9}),(0,u.oB)({opacity:1,transform:"none",offset:1})])),{params:{timing:1,delay:0,a:ce,b:He,c:Et,d:Ht}})}function ft(ce,He,Et,Ht){return(0,u.oQ)((0,u.jt)("{{ timing }}s {{ delay }}s",(0,u.F4)([(0,u.oB)({transform:"translate3d(0, {{ a }}, 0)",offset:.2}),(0,u.oB)({opacity:1,transform:"translate3d(0, {{ b }}, 0)",offset:.4}),(0,u.oB)({opacity:1,transform:"translate3d(0, {{ c }}, 0)",offset:.45}),(0,u.oB)({opacity:0,transform:"translate3d(0, {{ d }}, 0)",offset:1})])),{params:{timing:1,delay:0,a:ce,b:He,c:Et,d:Ht}})}function Ke(ce,He){return(0,u.oQ)((0,u.jt)("{{ timing }}s {{ delay }}s",(0,u.F4)([(0,u.oB)({opacity:1,transform:"translate3d({{ a }}, 0, 0)",offset:.2}),(0,u.oB)({opacity:0,transform:"translate3d({{ b }}, 0, 0)",offset:1})])),{params:{timing:1,delay:0,a:ce,b:He}})}function ge(ce,He){return(0,u.oQ)((0,u.jt)("{{ timing }}s {{ delay }}s",(0,u.F4)([(0,u.oB)({opacity:0,transform:"translate3d({{ a }}, 0, 0)",offset:0}),(0,u.oB)({opacity:1,transform:"translate3d({{ b }}, 0, 0)",offset:1})])),{params:{timing:1,delay:0,a:ce,b:He}})}function V(ce,He){return(0,u.oQ)((0,u.jt)("{{ timing }}s {{ delay }}s",(0,u.F4)([(0,u.oB)({opacity:0,transform:"translate3d(0, {{ a }}, 0)",offset:0}),(0,u.oB)({opacity:1,transform:"translate3d(0, {{ b }}, 0)",offset:1})])),{params:{timing:1,delay:0,a:ce,b:He}})}(0,u.oQ)([(0,u.oB)({transform:"translate3d(0, 0, 0)"}),(0,u.jt)("{{ timing }}s {{ delay }}s",(0,u.F4)([(0,u.oB)({transform:"translate3d(0, 0, 0)",offset:.2}),(0,u.oB)({transform:"translate3d(0, -30px, 0)",offset:.4}),(0,u.oB)({transform:"translate3d(0, 0, 0)",offset:.53}),(0,u.oB)({transform:"translate3d(0, -15px, 0)",offset:.7}),(0,u.oB)({transform:"translate3d(0, -4px, 0)",offset:.9}),(0,u.oB)({transform:"translate3d(0, 0, 0)",offset:1})]))],{params:{timing:1,delay:0}}),(0,u.oQ)((0,u.jt)("{{ timing }}s {{ delay }}s",(0,u.F4)([(0,u.oB)({opacity:1}),(0,u.oB)({opacity:0}),(0,u.oB)({opacity:1}),(0,u.oB)({opacity:0}),(0,u.oB)({opacity:1})])),{params:{timing:1,delay:0}}),(0,u.oQ)((0,u.jt)("{{ timing }}s {{ delay }}s",(0,u.F4)([(0,u.oB)({transform:"scale3d(1, 1, 1)"}),(0,u.oB)({transform:"scale3d({{ scale }}, {{ scale }}, {{ scale }})"}),(0,u.oB)({transform:"scale3d(1, 1, 1)"})])),{params:{scale:1.25,timing:1,delay:0}}),(0,u.oQ)((0,u.jt)("{{ timing }}s {{ delay }}s",(0,u.F4)([(0,u.oB)({transform:"scale3d(1, 1, 1)",offset:0}),(0,u.oB)({transform:"scale3d(1.25, 0.75, 1)",offset:.3}),(0,u.oB)({transform:"scale3d(0.75, 1.25, 1)",offset:.4}),(0,u.oB)({transform:"scale3d(1.15, 0.85, 1)",offset:.5}),(0,u.oB)({transform:"scale3d(.95, 1.05, 1)",offset:.65}),(0,u.oB)({transform:"scale3d(1.05, .95, 1)",offset:.75}),(0,u.oB)({transform:"scale3d(1, 1, 1)",offset:1})])),{params:{timing:1,delay:0}}),(0,u.oQ)((0,u.jt)("{{ timing }}s {{ delay }}s",(0,u.F4)([(0,u.oB)({transform:"translate3d(0, 0, 0)",offset:0}),(0,u.oB)({transform:"translate3d(-10px, 0, 0)",offset:.1}),(0,u.oB)({transform:"translate3d(10px, 0, 0)",offset:.2}),(0,u.oB)({transform:"translate3d(-10px, 0, 0)",offset:.3}),(0,u.oB)({transform:"translate3d(10px, 0, 0)",offset:.4}),(0,u.oB)({transform:"translate3d(-10px, 0, 0)",offset:.5}),(0,u.oB)({transform:"translate3d(10px, 0, 0)",offset:.6}),(0,u.oB)({transform:"translate3d(-10px, 0, 0)",offset:.7}),(0,u.oB)({transform:"translate3d(10px, 0, 0)",offset:.8}),(0,u.oB)({transform:"translate3d(-10px, 0, 0)",offset:.9}),(0,u.oB)({transform:"translate3d(0, 0, 0)",offset:1})])),{params:{timing:1,delay:0}}),(0,u.oQ)((0,u.jt)("{{ timing }}s {{ delay }}s",(0,u.F4)([(0,u.oB)({transform:"rotate3d(0, 0, 1, 15deg)",offset:.2}),(0,u.oB)({transform:"rotate3d(0, 0, 1, -10deg)",offset:.4}),(0,u.oB)({transform:"rotate3d(0, 0, 1, 5deg)",offset:.6}),(0,u.oB)({transform:"rotate3d(0, 0, 1, -5deg)",offset:.8}),(0,u.oB)({transform:"rotate3d(0, 0, 1, 0deg)",offset:1})])),{params:{timing:1,delay:0}}),(0,u.oQ)((0,u.jt)("{{ timing }}s {{ delay }}s",(0,u.F4)([(0,u.oB)({transform:"scale3d(1, 1, 1)",offset:0}),(0,u.oB)({transform:"scale3d(.9, .9, .9) rotate3d(0, 0, 1, -3deg)",offset:.1}),(0,u.oB)({transform:"scale3d(.9, .9, .9) rotate3d(0, 0, 1, -3deg)",offset:.2}),(0,u.oB)({transform:"scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg)",offset:.3}),(0,u.oB)({transform:"scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg)",offset:.4}),(0,u.oB)({transform:"scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg)",offset:.5}),(0,u.oB)({transform:"scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg)",offset:.6}),(0,u.oB)({transform:"scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg)",offset:.7}),(0,u.oB)({transform:"scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg)",offset:.8}),(0,u.oB)({transform:"scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg)",offset:.9}),(0,u.oB)({transform:"scale3d(1, 1, 1)",offset:1})])),{params:{timing:1,delay:0}}),(0,u.oQ)((0,u.jt)("{{ timing }}s {{ delay }}s",(0,u.F4)([(0,u.oB)({transform:"none",offset:0}),(0,u.oB)({transform:"translate3d(-25%, 0, 0) rotate3d(0, 0, 1, -5deg)",offset:.15}),(0,u.oB)({transform:"translate3d(20%, 0, 0) rotate3d(0, 0, 1, 3deg)",offset:.3}),(0,u.oB)({transform:"translate3d(-15%, 0, 0) rotate3d(0, 0, 1, -3deg)",offset:.45}),(0,u.oB)({transform:"translate3d(10%, 0, 0) rotate3d(0, 0, 1, 2deg)",offset:.6}),(0,u.oB)({transform:"translate3d(-5%, 0, 0) rotate3d(0, 0, 1, -1deg)",offset:.75}),(0,u.oB)({transform:"none",offset:1})])),{params:{timing:1,delay:0}}),(0,u.oQ)((0,u.jt)("{{ timing }}s {{ delay }}s",(0,u.F4)([(0,u.oB)({transform:"none",offset:0}),(0,u.oB)({transform:"none",offset:.11}),(0,u.oB)({transform:"skewX(-12.5deg) skewY(-12.5deg)",offset:.22}),(0,u.oB)({transform:"skewX(6.25deg) skewY(6.25deg)",offset:.33}),(0,u.oB)({transform:"skewX(-3.125deg) skewY(-3.125deg)",offset:.44}),(0,u.oB)({transform:"skewX(1.5625deg) skewY(1.5625deg)",offset:.55}),(0,u.oB)({transform:"skewX(-0.78125deg) skewY(-0.78125deg)",offset:.66}),(0,u.oB)({transform:"skewX(0.390625deg) skewY(0.390625deg)",offset:.77}),(0,u.oB)({transform:"skewX(-0.1953125deg) skewY(-0.1953125deg)",offset:.88}),(0,u.oB)({transform:"none",offset:1})])),{params:{timing:1,delay:0}}),(0,u.oQ)((0,u.jt)("{{ timing }}s {{ delay }}s cubic-bezier(0.215, 0.610, 0.355, 1.000)",(0,u.F4)([(0,u.oB)({opacity:0,transform:"scale3d(.3, .3, .3)",offset:0}),(0,u.oB)({transform:"scale3d(1.1, 1.1, 1.1)",offset:.2}),(0,u.oB)({transform:"scale3d(.9, .9, .9)",offset:.4}),(0,u.oB)({opacity:1,transform:"scale3d(1.03, 1.03, 1.03)",offset:.6}),(0,u.oB)({transform:"scale3d(.97, .97, .97)",offset:.8}),(0,u.oB)({opacity:1,transform:"scale3d(1, 1, 1)",offset:1})])),{params:{timing:1,delay:0}}),j("-3000px","25px","-10px","5px"),j("3000px","-25px","10px","-5px"),B("-3000px","25px","-10px","5px"),B("3000px","-25px","10px","-5px"),(0,u.oQ)((0,u.jt)("{{ timing }}s {{ delay }}s",(0,u.F4)([(0,u.oB)({transform:"scale3d(.9, .9, .9)",offset:.2}),(0,u.oB)({opacity:1,transform:"scale3d({{ scale }}, {{ scale }}, {{ scale }})",offset:.5}),(0,u.oB)({opacity:1,transform:"scale3d({{ scale }}, {{ scale }}, {{ scale }})",offset:.55}),(0,u.oB)({opacity:0,transform:"scale3d(.3, .3, .3)",offset:1})])),{params:{timing:1,delay:0,scale:1.1}}),ft("10px","-20px","-20px","2000px"),ft("-10px","20px","20px","-2000px"),Ke("20px","-2000px"),Ke("-20px","2000px");const J=ge(0,0);function qe(ce,He){return(0,u.oQ)((0,u.jt)("{{ timing }}s {{ delay }}s",(0,u.F4)([(0,u.oB)({opacity:1,transform:"translate3d({{ a }}, 0, 0)",offset:0}),(0,u.oB)({opacity:0,transform:"translate3d({{ b }}, 0, 0)",offset:1})])),{params:{timing:1,delay:0,a:ce,b:He}})}function ht(ce,He){return(0,u.oQ)((0,u.jt)("{{ timing }}s {{ delay }}s",(0,u.F4)([(0,u.oB)({opacity:1,transform:"translate3d(0, {{ a }}, 0)",offset:0}),(0,u.oB)({opacity:0,transform:"translate3d(0, {{ b }}, 0)",offset:1})])),{params:{timing:1,delay:0,a:ce,b:He}})}function It(ce,He){return(0,u.oQ)((0,u.jt)("{{ timing }}s {{ delay }}s",(0,u.F4)([(0,u.oB)({transform:"translate3d({{ a }}, 0, 0)",offset:0}),(0,u.oB)({transform:"translate3d({{ b }}, 0, 0)",offset:1})])),{params:{timing:1,delay:0,a:ce,b:He}})}function jt(ce,He){return(0,u.oQ)((0,u.jt)("{{ timing }}s {{ delay }}s",(0,u.F4)([(0,u.oB)({transform:"translate3d(0, {{ a }}, 0)",offset:0}),(0,u.oB)({transform:"translate3d(0, {{ b }}, 0)",offset:1})])),{params:{timing:1,delay:0,a:ce,b:He}})}function tn(ce,He){return(0,u.oQ)([(0,u.oB)({"backface-visibility":"visible"}),(0,u.jt)("{{ timing }}s {{ delay }}s ease-in",(0,u.F4)([(0,u.oB)({opacity:0,transform:"perspective(400px) rotate3d({{ rotateX }}, {{ rotateY }}, 0, 90deg)",offset:0}),(0,u.oB)({opacity:1,transform:"perspective(400px) rotate3d({{ rotateX }}, {{ rotateY }}, 0, -20deg)",offset:.4}),(0,u.oB)({transform:"perspective(400px) rotate3d({{ rotateX }}, {{ rotateY }}, 0, 10deg)",offset:.6}),(0,u.oB)({transform:"perspective(400px) rotate3d({{ rotateX }}, {{ rotateY }}, 0, -5deg)",offset:.8}),(0,u.oB)({transform:"perspective(400px) rotate3d(0, 0, 0, 0)",offset:1})]))],{params:{timing:1,delay:0,rotateX:ce,rotateY:He}})}function he(ce,He){return(0,u.oQ)([(0,u.oB)({"backface-visibility":"visible"}),(0,u.jt)("{{ timing }}s {{ delay }}s",(0,u.F4)([(0,u.oB)({transform:"perspective(400px)",offset:0}),(0,u.oB)({opacity:1,transform:"perspective(400px) rotate3d({{ rotateX }}, {{ rotateY }}, 0, -20deg)",offset:.3}),(0,u.oB)({opacity:0,transform:"perspective(400px) rotate3d({{ rotateX }}, {{ rotateY }}, 0, 90deg)",offset:1})]))],{params:{timing:1,delay:0,rotateX:ce,rotateY:He}})}function Ee(ce,He){return(0,u.oQ)((0,u.jt)("{{ timing }}s {{ delay }}s",(0,u.F4)([(0,u.oB)({"transform-origin":"{{ origin }}",opacity:0,transform:"rotate3d(0, 0, 1, {{ degrees }})",offset:0}),(0,u.oB)({"transform-origin":"{{ origin }}",opacity:1,transform:"none",offset:1})])),{params:{timing:1,delay:0,origin:ce,degrees:He}})}function Wt(ce,He){return(0,u.oQ)((0,u.jt)("{{ timing }}s {{ delay }}s",(0,u.F4)([(0,u.oB)({"transform-origin":"{{ origin }}",opacity:1,transform:"none",offset:0}),(0,u.oB)({"transform-origin":"{{ origin }}",opacity:0,transform:"rotate3d(0, 0, 1, {{ degrees }})",offset:1})])),{params:{timing:1,delay:0,origin:ce,degrees:He}})}function ot(ce,He){return(0,u.oQ)((0,u.jt)("{{ timing }}s {{ delay }}s cubic-bezier(0.550, 0.055, 0.675, 0.190)",(0,u.F4)([(0,u.oB)({opacity:0,transform:"scale3d(.1, .1, .1) translate3d(0, {{ a }}, 0)",offset:0}),(0,u.oB)({opacity:1,transform:"scale3d(.475, .475, .475) translate3d(0, {{ b }}, 0)",offset:.6})])),{params:{timing:1,delay:0,a:ce,b:He}})}function Nt(ce,He){return(0,u.oQ)((0,u.jt)("{{ timing }}s {{ delay }}s cubic-bezier(0.550, 0.055, 0.675, 0.190)",(0,u.F4)([(0,u.oB)({opacity:0,transform:"scale3d(.1, .1, .1) translate3d({{ a }}, 0, 0)",offset:0}),(0,u.oB)({opacity:1,transform:"scale3d(.475, .475, .475) translate3d({{ b }}, 0, 0)",offset:.6})])),{params:{timing:1,delay:0,a:ce,b:He}})}function te(ce,He){return(0,u.oQ)((0,u.jt)("{{ timing }}s {{ delay }}s cubic-bezier(0.550, 0.055, 0.675, 0.190)",(0,u.F4)([(0,u.oB)({opacity:1,transform:"scale3d(.475, .475, .475) translate3d(0, {{ a }}, 0)",offset:.4}),(0,u.oB)({opacity:0,transform:"scale3d(.1, .1, .1) translate3d(0, {{ b }}, 0)",offset:1})])),{params:{timing:1,delay:0,a:ce,b:He}})}function W(ce,He){return(0,u.oQ)((0,u.jt)("{{ timing }}s {{ delay }}s cubic-bezier(0.550, 0.055, 0.675, 0.190)",(0,u.F4)([(0,u.oB)({opacity:1,transform:"scale3d(.475, .475, .475) translate3d({{ a }}, 0, 0)",offset:.4}),(0,u.oB)({opacity:0,transform:"scale3d(.1, .1, .1) translate3d({{ b }}, 0, 0)",offset:1})])),{params:{timing:1,delay:0,a:ce,b:He}})}V("-100%",0),V("100%",0),ge("-100%",0),ge("100%",0),qe(0,0),ht("-100%",0),ht("100%",0),qe("-100%",0),qe("100%",0),jt("-100%",0),jt("100%",0),It("-100%",0),It("100%",0),jt(0,"-100%"),jt(0,"100%"),It(0,"-100%"),It(0,"100%"),(0,u.oQ)([(0,u.oB)({"backface-visibility":"visible"}),(0,u.jt)("{{ timing }}s {{ delay }}s ease-out",(0,u.F4)([(0,u.oB)({transform:"perspective(400px) rotate3d(0, 1, 0, -360deg)",offset:0}),(0,u.oB)({transform:"perspective(400px) scale3d(1.5, 1.5, 1.5) rotate3d(0, 1, 0, -190deg)",offset:.4}),(0,u.oB)({transform:"perspective(400px) scale3d(1.5, 1.5, 1.5) rotate3d(0, 1, 0, -170deg)",offset:.5}),(0,u.oB)({transform:"perspective(400px) scale3d(.95, .95, .95)",offset:.8}),(0,u.oB)({transform:"perspective(400px)",offset:1})]))],{params:{timing:1,delay:0}}),tn(1,0),tn(0,1),he(1,0),he(0,1),(0,u.oQ)((0,u.jt)("{{ timing }}s {{ delay }}s",(0,u.F4)([(0,u.oB)({opacity:0,transform:"translate3d(100%, 0, 0) skewX(-30deg)",offset:0}),(0,u.oB)({opacity:1,transform:"translate3d(0, 0, 0) skewX(0)",offset:1})])),{params:{timing:1,delay:0}}),(0,u.oQ)((0,u.jt)("{{ timing }}s {{ delay }}s ease-out",(0,u.F4)([(0,u.oB)({opacity:1,offset:0}),(0,u.oB)({opacity:0,transform:"translate3d(100%, 0, 0) skewX(30deg)",offset:1})])),{params:{timing:1,delay:0}}),Ee("center","-200deg"),Ee("left bottom","-45deg"),Ee("right bottom","45deg"),Ee("left bottom","45deg"),Ee("right bottom","-90deg"),Wt("center","200deg"),Wt("left bottom","45deg"),Wt("right bottom","-45deg"),Wt("left bottom","-45deg"),Wt("right bottom","90deg"),(0,u.oQ)([(0,u.oB)({"transform-origin":"top left"}),(0,u.jt)("{{ timing }}s {{ delay }}s ease-in-out",(0,u.F4)([(0,u.oB)({transform:"rotate3d(0, 0, 1, 80deg)",offset:.2}),(0,u.oB)({transform:"rotate3d(0, 0, 1, 60deg)",offset:.4}),(0,u.oB)({transform:"rotate3d(0, 0, 1, 80deg)",offset:.6}),(0,u.oB)({opacity:1,transform:"rotate3d(0, 0, 1, 60deg)",offset:.8}),(0,u.oB)({opacity:0,transform:"translate3d(0, 700px, 0)",offset:1})]))],{params:{timing:1,delay:0}}),(0,u.oQ)([(0,u.jt)("{{ timing }}s {{ delay }}s",(0,u.F4)([(0,u.oB)({opacity:0,transform:"scale(0.1) rotate(30deg)","transform-origin":"center bottom",offset:0}),(0,u.oB)({opacity:.5,transform:"rotate(-10deg)",offset:.5}),(0,u.oB)({opacity:.7,transform:"rotate(3deg)",offset:.7}),(0,u.oB)({opacity:1,transform:"scale(1)",offset:1})]))],{params:{timing:1,delay:0}}),(0,u.oQ)([(0,u.jt)("{{ timing }}s {{ delay }}s",(0,u.F4)([(0,u.oB)({opacity:0,transform:"translate3d(-100%, 0, 0) rotate3d(0, 0, 1, -120deg)",offset:0}),(0,u.oB)({opacity:1,transform:"none",offset:1})]))],{params:{timing:1,delay:0}}),(0,u.oQ)([(0,u.jt)("{{ timing }}s {{ delay }}s",(0,u.F4)([(0,u.oB)({opacity:1,offset:0}),(0,u.oB)({opacity:0,transform:"translate3d(100%, 0, 0) rotate3d(0, 0, 1, 120deg)",offset:1})]))],{params:{timing:1,delay:0}}),(0,u.oQ)([(0,u.jt)("{{ timing }}s {{ delay }}s",(0,u.F4)([(0,u.oB)({opacity:0,transform:"scale3d(.3, .3, .3)",offset:0}),(0,u.oB)({opacity:1,transform:"scale3d(1, 1, 1)",offset:.5})]))],{params:{timing:1,delay:0}}),ot("-1000px","10px"),ot("1000px","-10px"),Nt("-1000px","10px"),Nt("1000px","-10px"),(0,u.oQ)([(0,u.jt)("{{ timing }}s {{ delay }}s",(0,u.F4)([(0,u.oB)({opacity:1,offset:0}),(0,u.oB)({opacity:0,transform:"scale3d(.3, .3, .3)",offset:.5}),(0,u.oB)({opacity:0,offset:1})]))],{params:{timing:1,delay:0}}),te("-60px","2000px"),te("60px","-2000px"),W("42px","-2000px"),W("-42px","2000px")},5907:(xt,Ie,w)=>{"use strict";w.d(Ie,{mZ:()=>It});var u=w(273);w(1733);var x=w(8305),ee=w(6921);new x.y(ee.Z);var F=w(2997),z=w(461),se=(w(7384),w(9468),w(5724),w(4753),w(2835),w(3067),w(6019)),fe=w(3668);function st(xe){return Boolean(xe.parentElement&&"picture"===xe.parentElement.nodeName.toLowerCase())}function ft(xe){return"img"===xe.nodeName.toLowerCase()}function Ke(xe,Te,ae){return ft(xe)?ae&&"srcset"in xe?xe.srcset=Te:xe.src=Te:xe.style.backgroundImage=`url('${Te}')`,xe}function Ge(xe){return Te=>{const ae=Te.parentElement.getElementsByTagName("source");for(let we=0;we<ae.length;we++){const Me=ae[we].getAttribute(xe);Me&&("srcset"in ae[we]?ae[we].srcset=Me:ae[we].src=Me)}}}const ut=Ge("defaultImage"),Pe=Ge("lazyLoad"),Ce=Ge("errorImage");function ge(xe){return(Te,ae,we)=>{ft(Te)&&st(Te)&&xe(Te),ae&&Ke(Te,ae,we)}}const V=ge(ut),J=ge(Pe),le=ge(Ce);function De(xe,Te){xe.className=xe.className.replace(Te,"")}function qe(xe,Te){xe.className.includes(Te)||(xe.className+=` ${Te}`)}let ze=(()=>{class xe extends class extends class{constructor(){this.navigator="undefined"!=typeof window?window.navigator:void 0}setPlatformId(Te){this.platformId=Te}onDestroy(Te){}onAttributeChange(Te){}}{setup(Te){V(Te.element,Te.defaultImagePath,Te.useSrcset),qe(Te.element,"ng-lazyloading"),function(xe,Te){return xe.className&&xe.className.includes("ng-lazyloaded")}(Te.element)&&De(Te.element,"ng-lazyloaded")}finally(Te){qe(Te.element,"ng-lazyloaded"),De(Te.element,"ng-lazyloading")}loadImage(Te){if(this.skipLazyLoading(Te))return[Te.imagePath];const{element:ae,useSrcset:we,imagePath:Me,decode:lt}=Te;let Ct;return ft(ae)&&st(ae)?(Ct=ae.parentNode.cloneNode(!0).getElementsByTagName("img")[0],Pe(Ct),Ke(Ct,Me,we)):(Ct=new Image,ft(ae)&&ae.referrerPolicy&&(Ct.referrerPolicy=ae.referrerPolicy),ft(ae)&&ae.sizes&&(Ct.sizes=ae.sizes),we&&"srcset"in Ct?Ct.srcset=Me:Ct.src=Me),lt&&Ct.decode?Ct.decode().then(()=>Me):new Promise((Ot,tn)=>{Ct.onload=()=>Ot(Me),Ct.onerror=()=>tn(null)})}setErrorImage(Te,ae){const{element:we,useSrcset:Me,errorImagePath:lt}=ae;le(we,lt,Me),qe(we,"ng-failed-lazyloaded")}setLoadedImage(Te,ae){const{element:we,useSrcset:Me}=ae;J(we,Te,Me)}isDisabled(){return(0,se.PM)(this.platformId)&&!this.isBot()}skipLazyLoading(Te){return this.isBot(Te)}isBot(Te){var ae;return!!(null===(ae=this.navigator)||void 0===ae?void 0:ae.userAgent)&&/googlebot|bingbot|yandex|baiduspider|facebookexternalhit|twitterbot|rogerbot|linkedinbot|embedly|quora\ link\ preview|showyoubot|outbrain|pinterest\/0\.|pinterestbot|slackbot|vkShare|W3C_Validator|whatsapp|duckduckbot/i.test(this.navigator.userAgent)}}{constructor(){super(...arguments),this.observers=new WeakMap,this.intersectionSubject=new u.x,this.uniqKey={}}getObservable(ae){if(this.skipLazyLoading(ae))return(0,F.of)({isIntersecting:!0});if(ae.customObservable)return ae.customObservable;const we=ae.scrollContainer||this.uniqKey,Me={root:ae.scrollContainer||null};ae.offset&&(Me.rootMargin=`${ae.offset}px`);let lt=this.observers.get(we);return lt||(lt=new IntersectionObserver(Ct=>this.loadingCallback(Ct),Me),this.observers.set(we,lt)),lt.observe(ae.element),x.y.create(Ct=>{const Ot=this.intersectionSubject.pipe((0,z.h)(tn=>tn.target===ae.element)).subscribe(Ct);return()=>{Ot.unsubscribe(),lt.unobserve(ae.element)}})}isVisible(ae){return ae.isIntersecting}loadingCallback(ae){ae.forEach(we=>this.intersectionSubject.next(we))}}return xe.\u0275fac=function(){let Te;return function(we){return(Te||(Te=fe.n5z(xe)))(we||xe)}}(),xe.\u0275prov=fe.Yz7({token:xe,factory:xe.\u0275fac}),xe})();const pt=new fe.OlP("LazyLoadImageHooks");let It=(()=>{class xe{}return xe.\u0275fac=function(ae){return new(ae||xe)},xe.\u0275mod=fe.oAB({type:xe}),xe.\u0275inj=fe.cJS({providers:[{provide:pt,useClass:ze}]}),xe})();class jt{constructor(Te,ae,we,Me){this.left=Te,this.top=ae,this.right=we,this.bottom=Me}static fromElement(Te){const{left:ae,top:we,right:Me,bottom:lt}=Te.getBoundingClientRect();return 0===ae&&0===we&&0===Me&&0===lt?jt.empty:new jt(ae,we,Me,lt)}static fromWindow(Te){return new jt(0,0,Te.innerWidth,Te.innerHeight)}inflate(Te){this.left-=Te,this.top-=Te,this.right+=Te,this.bottom+=Te}intersectsWith(Te){return Te.left<this.right&&this.left<Te.right&&Te.top<this.bottom&&this.top<Te.bottom}getIntersectionWith(Te){const ae=Math.max(this.left,Te.left),we=Math.max(this.top,Te.top),Me=Math.min(this.right,Te.right),lt=Math.min(this.bottom,Te.bottom);return Me>=ae&&lt>=we?new jt(ae,we,Me,lt):jt.empty}}jt.empty=new jt(0,0,0,0)},3788:(xt,Ie,w)=>{"use strict";w.d(Ie,{dP:()=>De,re:()=>ze});var u=w(7032),m=w(4367);function D(){}var A,x=function(){function it(pt,Dt){void 0===pt&&(pt=1/0),void 0===Dt&&(Dt=D),this.max=pt,this.dispose=Dt,this.map=new Map,this.newest=null,this.oldest=null}return it.prototype.has=function(pt){return this.map.has(pt)},it.prototype.get=function(pt){var Dt=this.getNode(pt);return Dt&&Dt.value},it.prototype.getNode=function(pt){var Dt=this.map.get(pt);if(Dt&&Dt!==this.newest){var It=Dt.older,jt=Dt.newer;jt&&(jt.older=It),It&&(It.newer=jt),Dt.older=this.newest,Dt.older.newer=Dt,Dt.newer=null,this.newest=Dt,Dt===this.oldest&&(this.oldest=jt)}return Dt},it.prototype.set=function(pt,Dt){var It=this.getNode(pt);return It?It.value=Dt:(It={key:pt,value:Dt,newer:null,older:this.newest},this.newest&&(this.newest.newer=It),this.newest=It,this.oldest=this.oldest||It,this.map.set(pt,It),It.value)},it.prototype.clean=function(){for(;this.oldest&&this.map.size>this.max;)this.delete(this.oldest.key)},it.prototype.delete=function(pt){var Dt=this.map.get(pt);return!!Dt&&(Dt===this.newest&&(this.newest=Dt.older),Dt===this.oldest&&(this.oldest=Dt.newer),Dt.newer&&(Dt.newer.older=Dt.older),Dt.older&&(Dt.older.newer=Dt.newer),this.map.delete(pt),this.dispose(Dt.value,pt),!0)},it}(),ee=new m.g7,O=Object.prototype.hasOwnProperty,F=void 0===(A=Array.from)?function(it){var pt=[];return it.forEach(function(Dt){return pt.push(Dt)}),pt}:A;function z(it){var pt=it.unsubscribe;"function"==typeof pt&&(it.unsubscribe=void 0,pt())}var X=[];function U(it,pt){if(!it)throw new Error(pt||"assertion failure")}function B(it){switch(it.length){case 0:throw new Error("unknown value");case 1:return it[0];case 2:throw it[1]}}var se=function(){function it(pt){this.fn=pt,this.parents=new Set,this.childValues=new Map,this.dirtyChildren=null,this.dirty=!0,this.recomputing=!1,this.value=[],this.deps=null,++it.count}return it.prototype.peek=function(){if(1===this.value.length&&!ft(this))return fe(this),this.value[0]},it.prototype.recompute=function(pt){return U(!this.recomputing,"already recomputing"),fe(this),ft(this)?function(it,pt){return J(it),ee.withValue(it,st,[it,pt]),function(it,pt){if("function"==typeof it.subscribe)try{z(it),it.unsubscribe=it.subscribe.apply(null,pt)}catch(Dt){return it.setDirty(),!1}return!0}(it,pt)&&function(it){it.dirty=!1,!ft(it)&&ut(it)}(it),B(it.value)}(this,pt):B(this.value)},it.prototype.setDirty=function(){this.dirty||(this.dirty=!0,this.value.length=0,Ge(this),z(this))},it.prototype.dispose=function(){var pt=this;this.setDirty(),J(this),Pe(this,function(Dt,It){Dt.setDirty(),le(Dt,pt)})},it.prototype.forget=function(){this.dispose()},it.prototype.dependOn=function(pt){pt.add(this),this.deps||(this.deps=X.pop()||new Set),this.deps.add(pt)},it.prototype.forgetDeps=function(){var pt=this;this.deps&&(F(this.deps).forEach(function(Dt){return Dt.delete(pt)}),this.deps.clear(),X.push(this.deps),this.deps=null)},it.count=0,it}();function fe(it){var pt=ee.getValue();if(pt)return it.parents.add(pt),pt.childValues.has(it)||pt.childValues.set(it,[]),ft(it)?Ce(pt,it):ge(pt,it),pt}function st(it,pt){it.recomputing=!0,it.value.length=0;try{it.value[0]=it.fn.apply(null,pt)}catch(Dt){it.value[1]=Dt}it.recomputing=!1}function ft(it){return it.dirty||!(!it.dirtyChildren||!it.dirtyChildren.size)}function Ge(it){Pe(it,Ce)}function ut(it){Pe(it,ge)}function Pe(it,pt){var Dt=it.parents.size;if(Dt)for(var It=F(it.parents),jt=0;jt<Dt;++jt)pt(It[jt],it)}function Ce(it,pt){U(it.childValues.has(pt)),U(ft(pt));var Dt=!ft(it);if(it.dirtyChildren){if(it.dirtyChildren.has(pt))return}else it.dirtyChildren=X.pop()||new Set;it.dirtyChildren.add(pt),Dt&&Ge(it)}function ge(it,pt){U(it.childValues.has(pt)),U(!ft(pt));var Dt=it.childValues.get(pt);0===Dt.length?it.childValues.set(pt,function(it){return it.slice(0)}(pt.value)):function(it,pt){var Dt=it.length;return Dt>0&&Dt===pt.length&&it[Dt-1]===pt[Dt-1]}(Dt,pt.value)||it.setDirty(),V(it,pt),!ft(it)&&ut(it)}function V(it,pt){var Dt=it.dirtyChildren;Dt&&(Dt.delete(pt),0===Dt.size&&(X.length<100&&X.push(Dt),it.dirtyChildren=null))}function J(it){it.childValues.size>0&&it.childValues.forEach(function(pt,Dt){le(it,Dt)}),it.forgetDeps(),U(null===it.dirtyChildren)}function le(it,pt){pt.parents.delete(it),it.childValues.delete(pt),V(it,pt)}var Ae={setDirty:!0,dispose:!0,forget:!0};function De(it){var pt=new Map,Dt=it&&it.subscribe;function It(jt){var et=ee.getValue();if(et){var xe=pt.get(jt);xe||pt.set(jt,xe=new Set),et.dependOn(xe),"function"==typeof Dt&&(z(xe),xe.unsubscribe=Dt(jt))}}return It.dirty=function(et,xe){var Te=pt.get(et);if(Te){var ae=xe&&O.call(Ae,xe)?xe:"setDirty";F(Te).forEach(function(we){return we[ae]()}),pt.delete(et),z(Te)}},It}function qe(){var it=new u.B("function"==typeof WeakMap);return function(){return it.lookupArray(arguments)}}qe();var Vt=new Set;function ze(it,pt){void 0===pt&&(pt=Object.create(null));var Dt=new x(pt.max||Math.pow(2,16),function(we){return we.dispose()}),It=pt.keyArgs,jt=pt.makeCacheKey||qe(),et=function(){var we=jt.apply(null,It?It.apply(null,arguments):arguments);if(void 0===we)return it.apply(null,arguments);var Me=Dt.get(we);Me||(Dt.set(we,Me=new se(it)),Me.subscribe=pt.subscribe,Me.forget=function(){return Dt.delete(we)});var lt=Me.recompute(Array.prototype.slice.call(arguments));return Dt.set(we,Me),Vt.add(Dt),ee.hasValue()||(Vt.forEach(function(Ct){return Ct.clean()}),Vt.clear()),lt};function xe(we){var Me=Dt.get(we);Me&&Me.setDirty()}function Te(we){var Me=Dt.get(we);if(Me)return Me.peek()}function ae(we){return Dt.delete(we)}return Object.defineProperty(et,"size",{get:function(){return Dt.map.size},configurable:!1,enumerable:!1}),et.dirtyKey=xe,et.dirty=function(){xe(jt.apply(null,arguments))},et.peekKey=Te,et.peek=function(){return Te(jt.apply(null,arguments))},et.forgetKey=ae,et.forget=function(){return ae(jt.apply(null,arguments))},et.makeCacheKey=jt,et.getKey=It?function(){return jt.apply(null,It.apply(null,arguments))}:jt,Object.freeze(et)}},4499:(xt,Ie,w)=>{"use strict";w.d(Ie,{X:()=>m});var u=w(273);class m extends u.x{constructor(x){super(),this._value=x}get value(){return this.getValue()}_subscribe(x){const ee=super._subscribe(x);return!ee.closed&&x.next(this._value),ee}getValue(){const{hasError:x,thrownError:ee,_value:A}=this;if(x)throw ee;return this._throwIfClosed(),A}next(x){super.next(this._value=x)}}},8305:(xt,Ie,w)=>{"use strict";w.d(Ie,{y:()=>X});var u=w(584),m=w(7908),D=w(4816),x=w(4623);var O=w(5367),F=w(5044),z=w(8706);let X=(()=>{class B{constructor(se){se&&(this._subscribe=se)}lift(se){const fe=new B;return fe.source=this,fe.operator=se,fe}subscribe(se,fe,Le){const st=function(B){return B&&B instanceof u.Lv||function(B){return B&&(0,F.m)(B.next)&&(0,F.m)(B.error)&&(0,F.m)(B.complete)}(B)&&(0,m.Nn)(B)}(se)?se:new u.Hp(se,fe,Le);return(0,z.x)(()=>{const{operator:ft,source:Ke}=this;st.add(ft?ft.call(st,Ke):Ke?this._subscribe(st):this._trySubscribe(st))}),st}_trySubscribe(se){try{return this._subscribe(se)}catch(fe){se.error(fe)}}forEach(se,fe){return new(fe=H(fe))((Le,st)=>{let ft;ft=this.subscribe(Ke=>{try{se(Ke)}catch(Ge){st(Ge),null==ft||ft.unsubscribe()}},st,Le)})}_subscribe(se){var fe;return null===(fe=this.source)||void 0===fe?void 0:fe.subscribe(se)}[D.L](){return this}pipe(...se){return function(B){return 0===B.length?x.y:1===B.length?B[0]:function(se){return B.reduce((fe,Le)=>Le(fe),se)}}(se)(this)}toPromise(se){return new(se=H(se))((fe,Le)=>{let st;this.subscribe(ft=>st=ft,ft=>Le(ft),()=>fe(st))})}}return B.create=q=>new B(q),B})();function H(B){var q;return null!==(q=null!=B?B:O.v.Promise)&&void 0!==q?q:Promise}},273:(xt,Ie,w)=>{"use strict";w.d(Ie,{x:()=>O});var u=w(8305),m=w(7908);const x=(0,w(4893).d)(z=>function(){z(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var ee=w(3980),A=w(8706);let O=(()=>{class z extends u.y{constructor(){super(),this.closed=!1,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(H){const U=new F(this,this);return U.operator=H,U}_throwIfClosed(){if(this.closed)throw new x}next(H){(0,A.x)(()=>{if(this._throwIfClosed(),!this.isStopped){const U=this.observers.slice();for(const j of U)j.next(H)}})}error(H){(0,A.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=H;const{observers:U}=this;for(;U.length;)U.shift().error(H)}})}complete(){(0,A.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:H}=this;for(;H.length;)H.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=null}get observed(){var H;return(null===(H=this.observers)||void 0===H?void 0:H.length)>0}_trySubscribe(H){return this._throwIfClosed(),super._trySubscribe(H)}_subscribe(H){return this._throwIfClosed(),this._checkFinalizedStatuses(H),this._innerSubscribe(H)}_innerSubscribe(H){const{hasError:U,isStopped:j,observers:B}=this;return U||j?m.Lc:(B.push(H),new m.w0(()=>(0,ee.P)(B,H)))}_checkFinalizedStatuses(H){const{hasError:U,thrownError:j,isStopped:B}=this;U?H.error(j):B&&H.complete()}asObservable(){const H=new u.y;return H.source=this,H}}return z.create=(X,H)=>new F(X,H),z})();class F extends O{constructor(X,H){super(),this.destination=X,this.source=H}next(X){var H,U;null===(U=null===(H=this.destination)||void 0===H?void 0:H.next)||void 0===U||U.call(H,X)}error(X){var H,U;null===(U=null===(H=this.destination)||void 0===H?void 0:H.error)||void 0===U||U.call(H,X)}complete(){var X,H;null===(H=null===(X=this.destination)||void 0===X?void 0:X.complete)||void 0===H||H.call(X)}_subscribe(X){var H,U;return null!==(U=null===(H=this.source)||void 0===H?void 0:H.subscribe(X))&&void 0!==U?U:m.Lc}}},584:(xt,Ie,w)=>{"use strict";w.d(Ie,{Hp:()=>j,Lv:()=>U});var u=w(5044),m=w(7908),D=w(5367),x=w(5160),ee=w(6921);const A=z("C",void 0,void 0);function z(Le,st,ft){return{kind:Le,value:st,error:ft}}var X=w(2496),H=w(8706);class U extends m.w0{constructor(st){super(),this.isStopped=!1,st?(this.destination=st,(0,m.Nn)(st)&&st.add(this)):this.destination=fe}static create(st,ft,Ke){return new j(st,ft,Ke)}next(st){this.isStopped?se(z("N",st,void 0),this):this._next(st)}error(st){this.isStopped?se(z("E",void 0,st),this):(this.isStopped=!0,this._error(st))}complete(){this.isStopped?se(A,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(st){this.destination.next(st)}_error(st){try{this.destination.error(st)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}class j extends U{constructor(st,ft,Ke){let Ge;if(super(),(0,u.m)(st))Ge=st;else if(st){let ut;({next:Ge,error:ft,complete:Ke}=st),this&&D.v.useDeprecatedNextContext?(ut=Object.create(st),ut.unsubscribe=()=>this.unsubscribe()):ut=st,Ge=null==Ge?void 0:Ge.bind(ut),ft=null==ft?void 0:ft.bind(ut),Ke=null==Ke?void 0:Ke.bind(ut)}this.destination={next:Ge?B(Ge):ee.Z,error:B(null!=ft?ft:q),complete:Ke?B(Ke):ee.Z}}}function B(Le,st){return(...ft)=>{try{Le(...ft)}catch(Ke){D.v.useDeprecatedSynchronousErrorHandling?(0,H.O)(Ke):(0,x.h)(Ke)}}}function q(Le){throw Le}function se(Le,st){const{onStoppedNotification:ft}=D.v;ft&&X.z.setTimeout(()=>ft(Le,st))}const fe={closed:!0,next:ee.Z,error:q,complete:ee.Z}},7908:(xt,Ie,w)=>{"use strict";w.d(Ie,{Lc:()=>A,w0:()=>ee,Nn:()=>O});var u=w(5044);const D=(0,w(4893).d)(z=>function(H){z(this),this.message=H?`${H.length} errors occurred during unsubscription:\n${H.map((U,j)=>`${j+1}) ${U.toString()}`).join("\n  ")}`:"",this.name="UnsubscriptionError",this.errors=H});var x=w(3980);class ee{constructor(X){this.initialTeardown=X,this.closed=!1,this._parentage=null,this._teardowns=null}unsubscribe(){let X;if(!this.closed){this.closed=!0;const{_parentage:H}=this;if(H)if(this._parentage=null,Array.isArray(H))for(const B of H)B.remove(this);else H.remove(this);const{initialTeardown:U}=this;if((0,u.m)(U))try{U()}catch(B){X=B instanceof D?B.errors:[B]}const{_teardowns:j}=this;if(j){this._teardowns=null;for(const B of j)try{F(B)}catch(q){X=null!=X?X:[],q instanceof D?X=[...X,...q.errors]:X.push(q)}}if(X)throw new D(X)}}add(X){var H;if(X&&X!==this)if(this.closed)F(X);else{if(X instanceof ee){if(X.closed||X._hasParent(this))return;X._addParent(this)}(this._teardowns=null!==(H=this._teardowns)&&void 0!==H?H:[]).push(X)}}_hasParent(X){const{_parentage:H}=this;return H===X||Array.isArray(H)&&H.includes(X)}_addParent(X){const{_parentage:H}=this;this._parentage=Array.isArray(H)?(H.push(X),H):H?[H,X]:X}_removeParent(X){const{_parentage:H}=this;H===X?this._parentage=null:Array.isArray(H)&&(0,x.P)(H,X)}remove(X){const{_teardowns:H}=this;H&&(0,x.P)(H,X),X instanceof ee&&X._removeParent(this)}}ee.EMPTY=(()=>{const z=new ee;return z.closed=!0,z})();const A=ee.EMPTY;function O(z){return z instanceof ee||z&&"closed"in z&&(0,u.m)(z.remove)&&(0,u.m)(z.add)&&(0,u.m)(z.unsubscribe)}function F(z){(0,u.m)(z)?z():z.unsubscribe()}},5367:(xt,Ie,w)=>{"use strict";w.d(Ie,{v:()=>u});const u={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},5804:(xt,Ie,w)=>{"use strict";w.d(Ie,{a:()=>X});var u=w(8305),m=w(886),D=w(2583),x=w(4623),ee=w(2937),A=w(7613),O=w(2857),F=w(8889),z=w(8395);function X(...j){const B=(0,A.yG)(j),q=(0,A.jO)(j),{args:se,keys:fe}=(0,m.D)(j);if(0===se.length)return(0,D.D)([],B);const Le=new u.y(function(j,B,q=x.y){return se=>{U(B,()=>{const{length:fe}=j,Le=new Array(fe);let st=fe,ft=fe;for(let Ke=0;Ke<fe;Ke++)U(B,()=>{const Ge=(0,D.D)(j[Ke],B);let ut=!1;Ge.subscribe(new F.Q(se,Pe=>{Le[Ke]=Pe,ut||(ut=!0,ft--),ft||se.next(q(Le.slice()))},()=>{--st||se.complete()}))},se)},se)}}(se,B,fe?st=>(0,O.n)(fe,st):x.y));return q?Le.pipe((0,ee.Z)(q)):Le}function U(j,B,q){j?(0,z.f)(q,j,B):B()}},1404:(xt,Ie,w)=>{"use strict";w.d(Ie,{z:()=>ee});var u=w(5373),D=w(7613),x=w(2583);function ee(...A){return(0,u.J)(1)((0,x.D)(A,(0,D.yG)(A)))}},5048:(xt,Ie,w)=>{"use strict";w.d(Ie,{P:()=>D});var u=w(8305),m=w(9985);function D(x){return new u.y(ee=>{(0,m.Xf)(x()).subscribe(ee)})}},5583:(xt,Ie,w)=>{"use strict";w.d(Ie,{E:()=>m});const m=new(w(8305).y)(ee=>ee.complete())},8100:(xt,Ie,w)=>{"use strict";w.d(Ie,{D:()=>F});var u=w(8305),m=w(886),D=w(9985),x=w(7613),ee=w(8889),A=w(2937),O=w(2857);function F(...z){const X=(0,x.jO)(z),{args:H,keys:U}=(0,m.D)(z),j=new u.y(B=>{const{length:q}=H;if(!q)return void B.complete();const se=new Array(q);let fe=q,Le=q;for(let st=0;st<q;st++){let ft=!1;(0,D.Xf)(H[st]).subscribe(new ee.Q(B,Ke=>{ft||(ft=!0,Le--),se[st]=Ke},()=>fe--,void 0,()=>{(!fe||!ft)&&(Le||B.next(U?(0,O.n)(U,se):se),B.complete())}))}});return X?j.pipe((0,A.Z)(X)):j}},2583:(xt,Ie,w)=>{"use strict";w.d(Ie,{D:()=>ut});var u=w(9985),m=w(4763),D=w(9947);function x(Pe,Ce=0){return(0,D.e)((ge,V)=>{V.add(Pe.schedule(()=>ge.subscribe(V),Ce))})}var O=w(8305),z=w(5497),X=w(5044),H=w(8395);function j(Pe,Ce){if(!Pe)throw new Error("Iterable cannot be null");return new O.y(ge=>{(0,H.f)(ge,Ce,()=>{const V=Pe[Symbol.asyncIterator]();(0,H.f)(ge,Ce,()=>{V.next().then(J=>{J.done?ge.complete():ge.next(J.value)})},0,!0)})})}var B=w(1073),q=w(2442),se=w(1537),fe=w(2317),Le=w(9908),st=w(3754),ft=w(7751);function ut(Pe,Ce){return Ce?function(Pe,Ce){if(null!=Pe){if((0,B.c)(Pe))return function(Pe,Ce){return(0,u.Xf)(Pe).pipe(x(Ce),(0,m.Q)(Ce))}(Pe,Ce);if((0,se.z)(Pe))return function(Pe,Ce){return new O.y(ge=>{let V=0;return Ce.schedule(function(){V===Pe.length?ge.complete():(ge.next(Pe[V++]),ge.closed||this.schedule())})})}(Pe,Ce);if((0,q.t)(Pe))return function(Pe,Ce){return(0,u.Xf)(Pe).pipe(x(Ce),(0,m.Q)(Ce))}(Pe,Ce);if((0,Le.D)(Pe))return j(Pe,Ce);if((0,fe.T)(Pe))return function(Pe,Ce){return new O.y(ge=>{let V;return(0,H.f)(ge,Ce,()=>{V=Pe[z.h](),(0,H.f)(ge,Ce,()=>{let J,le;try{({value:J,done:le}=V.next())}catch(ve){return void ge.error(ve)}le?ge.complete():ge.next(J)},0,!0)}),()=>(0,X.m)(null==V?void 0:V.return)&&V.return()})}(Pe,Ce);if((0,ft.L)(Pe))return function(Pe,Ce){return j((0,ft.Q)(Pe),Ce)}(Pe,Ce)}throw(0,st.z)(Pe)}(Pe,Ce):(0,u.Xf)(Pe)}},5077:(xt,Ie,w)=>{"use strict";w.d(Ie,{R:()=>X});var u=w(9985),m=w(8305),D=w(5724),x=w(1537),ee=w(5044),A=w(2937);const O=["addListener","removeListener"],F=["addEventListener","removeEventListener"],z=["on","off"];function X(q,se,fe,Le){if((0,ee.m)(fe)&&(Le=fe,fe=void 0),Le)return X(q,se,fe).pipe((0,A.Z)(Le));const[st,ft]=function(q){return(0,ee.m)(q.addEventListener)&&(0,ee.m)(q.removeEventListener)}(q)?F.map(Ke=>Ge=>q[Ke](se,Ge,fe)):function(q){return(0,ee.m)(q.addListener)&&(0,ee.m)(q.removeListener)}(q)?O.map(H(q,se)):function(q){return(0,ee.m)(q.on)&&(0,ee.m)(q.off)}(q)?z.map(H(q,se)):[];if(!st&&(0,x.z)(q))return(0,D.z)(Ke=>X(Ke,se,fe))((0,u.Xf)(q));if(!st)throw new TypeError("Invalid event target");return new m.y(Ke=>{const Ge=(...ut)=>Ke.next(1<ut.length?ut:ut[0]);return st(Ge),()=>ft(Ge)})}function H(q,se){return fe=>Le=>q[fe](se,Le)}},9985:(xt,Ie,w)=>{"use strict";w.d(Ie,{Xf:()=>j});var u=w(9162),m=w(1537),D=w(2442),x=w(8305),ee=w(1073),A=w(9908),O=w(3754),F=w(2317),z=w(7751),X=w(5044),H=w(5160),U=w(4816);function j(Ke){if(Ke instanceof x.y)return Ke;if(null!=Ke){if((0,ee.c)(Ke))return function(Ke){return new x.y(Ge=>{const ut=Ke[U.L]();if((0,X.m)(ut.subscribe))return ut.subscribe(Ge);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(Ke);if((0,m.z)(Ke))return function(Ke){return new x.y(Ge=>{for(let ut=0;ut<Ke.length&&!Ge.closed;ut++)Ge.next(Ke[ut]);Ge.complete()})}(Ke);if((0,D.t)(Ke))return function(Ke){return new x.y(Ge=>{Ke.then(ut=>{Ge.closed||(Ge.next(ut),Ge.complete())},ut=>Ge.error(ut)).then(null,H.h)})}(Ke);if((0,A.D)(Ke))return Le(Ke);if((0,F.T)(Ke))return function(Ke){return new x.y(Ge=>{for(const ut of Ke)if(Ge.next(ut),Ge.closed)return;Ge.complete()})}(Ke);if((0,z.L)(Ke))return function(Ke){return Le((0,z.Q)(Ke))}(Ke)}throw(0,O.z)(Ke)}function Le(Ke){return new x.y(Ge=>{(function(Ke,Ge){var ut,Pe,Ce,ge;return(0,u.mG)(this,void 0,void 0,function*(){try{for(ut=(0,u.KL)(Ke);!(Pe=yield ut.next()).done;)if(Ge.next(Pe.value),Ge.closed)return}catch(V){Ce={error:V}}finally{try{Pe&&!Pe.done&&(ge=ut.return)&&(yield ge.call(ut))}finally{if(Ce)throw Ce.error}}Ge.complete()})})(Ke,Ge).catch(ut=>Ge.error(ut))})}},3719:(xt,Ie,w)=>{"use strict";w.d(Ie,{T:()=>A});var u=w(5373),m=w(9985),D=w(5583),x=w(7613),ee=w(2583);function A(...O){const F=(0,x.yG)(O),z=(0,x._6)(O,1/0),X=O;return X.length?1===X.length?(0,m.Xf)(X[0]):(0,u.J)(z)((0,ee.D)(X,F)):D.E}},2997:(xt,Ie,w)=>{"use strict";w.d(Ie,{of:()=>D});var u=w(7613),m=w(2583);function D(...x){const ee=(0,u.yG)(x);return(0,m.D)(x,ee)}},9433:(xt,Ie,w)=>{"use strict";w.d(Ie,{_:()=>D});var u=w(8305),m=w(5044);function D(x,ee){const A=(0,m.m)(x)?x:()=>x,O=F=>F.error(A());return new u.y(ee?F=>ee.schedule(O,0,F):O)}},9417:(xt,Ie,w)=>{"use strict";w.d(Ie,{H:()=>ee});var u=w(8305),m=w(2210),D=w(7398);function ee(A=0,O,F=m.P){let z=-1;return null!=O&&((0,D.K)(O)?F=O:z=O),new u.y(X=>{let H=function(A){return A instanceof Date&&!isNaN(A)}(A)?+A-F.now():A;H<0&&(H=0);let U=0;return F.schedule(function(){X.closed||(X.next(U++),0<=z?this.schedule(void 0,z):X.complete())},H)})}},8889:(xt,Ie,w)=>{"use strict";w.d(Ie,{Q:()=>m});var u=w(584);class m extends u.Lv{constructor(x,ee,A,O,F){super(x),this.onFinalize=F,this._next=ee?function(z){try{ee(z)}catch(X){x.error(X)}}:super._next,this._error=O?function(z){try{O(z)}catch(X){x.error(X)}finally{this.unsubscribe()}}:super._error,this._complete=A?function(){try{A()}catch(z){x.error(z)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var x;const{closed:ee}=this;super.unsubscribe(),!ee&&(null===(x=this.onFinalize)||void 0===x||x.call(this))}}},2835:(xt,Ie,w)=>{"use strict";w.d(Ie,{K:()=>x});var u=w(9985),m=w(8889),D=w(9947);function x(ee){return(0,D.e)((A,O)=>{let X,F=null,z=!1;F=A.subscribe(new m.Q(O,void 0,void 0,H=>{X=(0,u.Xf)(ee(H,x(ee)(A))),F?(F.unsubscribe(),F=null,X.subscribe(O)):z=!0})),z&&(F.unsubscribe(),F=null,X.subscribe(O))})}},4799:(xt,Ie,w)=>{"use strict";w.d(Ie,{b:()=>D});var u=w(5724),m=w(5044);function D(x,ee){return(0,m.m)(ee)?(0,u.z)(x,ee,1):(0,u.z)(x,1)}},9463:(xt,Ie,w)=>{"use strict";w.d(Ie,{b:()=>x});var u=w(2210),m=w(9947),D=w(8889);function x(ee,A=u.z){return(0,m.e)((O,F)=>{let z=null,X=null,H=null;const U=()=>{if(z){z.unsubscribe(),z=null;const B=X;X=null,F.next(B)}};function j(){const B=H+ee,q=A.now();if(q<B)return z=this.schedule(void 0,B-q),void F.add(z);U()}O.subscribe(new D.Q(F,B=>{X=B,H=A.now(),z||(z=A.schedule(j,ee),F.add(z))},()=>{U(),F.complete()},void 0,()=>{X=z=null}))})}},7955:(xt,Ie,w)=>{"use strict";w.d(Ie,{g:()=>j});var u=w(2210),m=w(1404),D=w(9468),x=w(9947),ee=w(8889),A=w(6921),F=w(4753),X=w(5724);function H(B,q){return q?se=>(0,m.z)(q.pipe((0,D.q)(1),(0,x.e)((B,q)=>{B.subscribe(new ee.Q(q,A.Z))})),se.pipe(H(B))):(0,X.z)((se,fe)=>B(se,fe).pipe((0,D.q)(1),function(B){return(0,F.U)(()=>B)}(se)))}var U=w(9417);function j(B,q=u.z){const se=(0,U.H)(B,q);return H(()=>se)}},461:(xt,Ie,w)=>{"use strict";w.d(Ie,{h:()=>D});var u=w(9947),m=w(8889);function D(x,ee){return(0,u.e)((A,O)=>{let F=0;A.subscribe(new m.Q(O,z=>x.call(ee,z,F++)&&O.next(z)))})}},423:(xt,Ie,w)=>{"use strict";w.d(Ie,{x:()=>m});var u=w(9947);function m(D){return(0,u.e)((x,ee)=>{try{x.subscribe(ee)}finally{ee.add(D)}})}},4753:(xt,Ie,w)=>{"use strict";w.d(Ie,{U:()=>D});var u=w(9947),m=w(8889);function D(x,ee){return(0,u.e)((A,O)=>{let F=0;A.subscribe(new m.Q(O,z=>{O.next(x.call(ee,z,F++))}))})}},5373:(xt,Ie,w)=>{"use strict";w.d(Ie,{J:()=>D});var u=w(5724),m=w(4623);function D(x=1/0){return(0,u.z)(m.y,x)}},5724:(xt,Ie,w)=>{"use strict";w.d(Ie,{z:()=>F});var u=w(4753),m=w(9985),D=w(9947),ee=(w(8395),w(8889)),O=w(5044);function F(z,X,H=1/0){return(0,O.m)(X)?F((U,j)=>(0,u.U)((B,q)=>X(U,B,j,q))((0,m.Xf)(z(U,j))),H):("number"==typeof X&&(H=X),(0,D.e)((U,j)=>function(z,X,H,U,j,B,q,se){const fe=[];let Le=0,st=0,ft=!1;const Ke=()=>{ft&&!fe.length&&!Le&&X.complete()},Ge=Pe=>Le<U?ut(Pe):fe.push(Pe),ut=Pe=>{Le++;let Ce=!1;(0,m.Xf)(H(Pe,st++)).subscribe(new ee.Q(X,ge=>{X.next(ge)},()=>{Ce=!0},void 0,()=>{if(Ce)try{for(Le--;fe.length&&Le<U;){const ge=fe.shift();ut(ge)}Ke()}catch(ge){X.error(ge)}}))};return z.subscribe(new ee.Q(X,Ge,()=>{ft=!0,Ke()})),()=>{}}(U,j,z,H)))}},4763:(xt,Ie,w)=>{"use strict";w.d(Ie,{Q:()=>x});var u=w(8395),m=w(9947),D=w(8889);function x(ee,A=0){return(0,m.e)((O,F)=>{O.subscribe(new D.Q(F,z=>(0,u.f)(F,ee,()=>F.next(z),A),()=>(0,u.f)(F,ee,()=>F.complete(),A),z=>(0,u.f)(F,ee,()=>F.error(z),A)))})}},3174:(xt,Ie,w)=>{"use strict";w.d(Ie,{B:()=>A});var u=w(2583),m=w(9468),D=w(273),x=w(584),ee=w(9947);function A(F={}){const{connector:z=(()=>new D.x),resetOnError:X=!0,resetOnComplete:H=!0,resetOnRefCountZero:U=!0}=F;return j=>{let B=null,q=null,se=null,fe=0,Le=!1,st=!1;const ft=()=>{null==q||q.unsubscribe(),q=null},Ke=()=>{ft(),B=se=null,Le=st=!1},Ge=()=>{const ut=B;Ke(),null==ut||ut.unsubscribe()};return(0,ee.e)((ut,Pe)=>{fe++,!st&&!Le&&ft();const Ce=se=null!=se?se:z();Pe.add(()=>{fe--,0===fe&&!st&&!Le&&(q=O(Ge,U))}),Ce.subscribe(Pe),B||(B=new x.Hp({next:ge=>Ce.next(ge),error:ge=>{st=!0,ft(),q=O(Ke,X,ge),Ce.error(ge)},complete:()=>{Le=!0,ft(),q=O(Ke,H),Ce.complete()}}),(0,u.D)(ut).subscribe(B))})(j)}}function O(F,z,...X){return!0===z?(F(),null):!1===z?null:z(...X).pipe((0,m.q)(1)).subscribe(()=>F())}},9661:(xt,Ie,w)=>{"use strict";w.d(Ie,{T:()=>m});var u=w(461);function m(D){return(0,u.h)((x,ee)=>D<=ee)}},3970:(xt,Ie,w)=>{"use strict";w.d(Ie,{O:()=>x});var u=w(1404),m=w(7613),D=w(9947);function x(...ee){const A=(0,m.yG)(ee);return(0,D.e)((O,F)=>{(A?(0,u.z)(ee,O,A):(0,u.z)(ee,O)).subscribe(F)})}},3067:(xt,Ie,w)=>{"use strict";w.d(Ie,{w:()=>x});var u=w(9985),m=w(9947),D=w(8889);function x(ee,A){return(0,m.e)((O,F)=>{let z=null,X=0,H=!1;const U=()=>H&&!z&&F.complete();O.subscribe(new D.Q(F,j=>{null==z||z.unsubscribe();let B=0;const q=X++;(0,u.Xf)(ee(j,q)).subscribe(z=new D.Q(F,se=>F.next(A?A(j,se,q,B++):se),()=>{z=null,U()}))},()=>{H=!0,U()}))})}},9468:(xt,Ie,w)=>{"use strict";w.d(Ie,{q:()=>x});var u=w(5583),m=w(9947),D=w(8889);function x(ee){return ee<=0?()=>u.E:(0,m.e)((A,O)=>{let F=0;A.subscribe(new D.Q(O,z=>{++F<=ee&&(O.next(z),ee<=F&&O.complete())}))})}},6263:(xt,Ie,w)=>{"use strict";w.d(Ie,{R:()=>ee});var u=w(9947),m=w(8889),D=w(9985),x=w(6921);function ee(A){return(0,u.e)((O,F)=>{(0,D.Xf)(A).subscribe(new m.Q(F,()=>F.complete(),x.Z)),!F.closed&&O.subscribe(F)})}},7384:(xt,Ie,w)=>{"use strict";w.d(Ie,{b:()=>ee});var u=w(5044),m=w(9947),D=w(8889),x=w(4623);function ee(A,O,F){const z=(0,u.m)(A)||O||F?{next:A,error:O,complete:F}:A;return z?(0,m.e)((X,H)=>{var U;null===(U=z.subscribe)||void 0===U||U.call(z);let j=!0;X.subscribe(new D.Q(H,B=>{var q;null===(q=z.next)||void 0===q||q.call(z,B),H.next(B)},()=>{var B;j=!1,null===(B=z.complete)||void 0===B||B.call(z),H.complete()},B=>{var q;j=!1,null===(q=z.error)||void 0===q||q.call(z,B),H.error(B)},()=>{var B,q;j&&(null===(B=z.unsubscribe)||void 0===B||B.call(z)),null===(q=z.finalize)||void 0===q||q.call(z)}))}):x.y}},2869:(xt,Ie,w)=>{"use strict";w.d(Ie,{o:()=>ee});var u=w(7908);class m extends u.w0{constructor(O,F){super()}schedule(O,F=0){return this}}const D={setInterval(...A){const{delegate:O}=D;return((null==O?void 0:O.setInterval)||setInterval)(...A)},clearInterval(A){const{delegate:O}=D;return((null==O?void 0:O.clearInterval)||clearInterval)(A)},delegate:void 0};var x=w(3980);class ee extends m{constructor(O,F){super(O,F),this.scheduler=O,this.work=F,this.pending=!1}schedule(O,F=0){if(this.closed)return this;this.state=O;const z=this.id,X=this.scheduler;return null!=z&&(this.id=this.recycleAsyncId(X,z,F)),this.pending=!0,this.delay=F,this.id=this.id||this.requestAsyncId(X,this.id,F),this}requestAsyncId(O,F,z=0){return D.setInterval(O.flush.bind(O,this),z)}recycleAsyncId(O,F,z=0){if(null!=z&&this.delay===z&&!1===this.pending)return F;D.clearInterval(F)}execute(O,F){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const z=this._execute(O,F);if(z)return z;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(O,F){let X,z=!1;try{this.work(O)}catch(H){z=!0,X=H||new Error("Scheduled action threw falsy error")}if(z)return this.unsubscribe(),X}unsubscribe(){if(!this.closed){const{id:O,scheduler:F}=this,{actions:z}=F;this.work=this.state=this.scheduler=null,this.pending=!1,(0,x.P)(z,this),null!=O&&(this.id=this.recycleAsyncId(F,O,null)),this.delay=null,super.unsubscribe()}}}},8843:(xt,Ie,w)=>{"use strict";w.d(Ie,{v:()=>D});var u=w(1733);class m{constructor(ee,A=m.now){this.schedulerActionCtor=ee,this.now=A}schedule(ee,A=0,O){return new this.schedulerActionCtor(this,ee).schedule(O,A)}}m.now=u.l.now;class D extends m{constructor(ee,A=m.now){super(ee,A),this.actions=[],this._active=!1,this._scheduled=void 0}flush(ee){const{actions:A}=this;if(this._active)return void A.push(ee);let O;this._active=!0;do{if(O=ee.execute(ee.state,ee.delay))break}while(ee=A.shift());if(this._active=!1,O){for(;ee=A.shift();)ee.unsubscribe();throw O}}}},5455:(xt,Ie,w)=>{"use strict";w.d(Ie,{E:()=>B});var u=w(2869);let D,m=1;const x={};function ee(se){return se in x&&(delete x[se],!0)}const A={setImmediate(se){const fe=m++;return x[fe]=!0,D||(D=Promise.resolve()),D.then(()=>ee(fe)&&se()),fe},clearImmediate(se){ee(se)}},{setImmediate:F,clearImmediate:z}=A,X={setImmediate(...se){const{delegate:fe}=X;return((null==fe?void 0:fe.setImmediate)||F)(...se)},clearImmediate(se){const{delegate:fe}=X;return((null==fe?void 0:fe.clearImmediate)||z)(se)},delegate:void 0};var U=w(8843);const B=new class extends U.v{flush(fe){this._active=!0,this._scheduled=void 0;const{actions:Le}=this;let st,ft=-1;fe=fe||Le.shift();const Ke=Le.length;do{if(st=fe.execute(fe.state,fe.delay))break}while(++ft<Ke&&(fe=Le.shift()));if(this._active=!1,st){for(;++ft<Ke&&(fe=Le.shift());)fe.unsubscribe();throw st}}}(class extends u.o{constructor(fe,Le){super(fe,Le),this.scheduler=fe,this.work=Le}requestAsyncId(fe,Le,st=0){return null!==st&&st>0?super.requestAsyncId(fe,Le,st):(fe.actions.push(this),fe._scheduled||(fe._scheduled=X.setImmediate(fe.flush.bind(fe,void 0))))}recycleAsyncId(fe,Le,st=0){if(null!=st&&st>0||null==st&&this.delay>0)return super.recycleAsyncId(fe,Le,st);0===fe.actions.length&&(X.clearImmediate(Le),fe._scheduled=void 0)}})},2210:(xt,Ie,w)=>{"use strict";w.d(Ie,{z:()=>D,P:()=>x});var u=w(2869);const D=new(w(8843).v)(u.o),x=D},1733:(xt,Ie,w)=>{"use strict";w.d(Ie,{l:()=>u});const u={now:()=>(u.delegate||Date).now(),delegate:void 0}},2496:(xt,Ie,w)=>{"use strict";w.d(Ie,{z:()=>u});const u={setTimeout(...m){const{delegate:D}=u;return((null==D?void 0:D.setTimeout)||setTimeout)(...m)},clearTimeout(m){const{delegate:D}=u;return((null==D?void 0:D.clearTimeout)||clearTimeout)(m)},delegate:void 0}},5497:(xt,Ie,w)=>{"use strict";w.d(Ie,{h:()=>m});const m="function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"},4816:(xt,Ie,w)=>{"use strict";w.d(Ie,{L:()=>u});const u="function"==typeof Symbol&&Symbol.observable||"@@observable"},7613:(xt,Ie,w)=>{"use strict";w.d(Ie,{jO:()=>x,yG:()=>ee,_6:()=>A});var u=w(5044),m=w(7398);function D(O){return O[O.length-1]}function x(O){return(0,u.m)(D(O))?O.pop():void 0}function ee(O){return(0,m.K)(D(O))?O.pop():void 0}function A(O,F){return"number"==typeof D(O)?O.pop():F}},886:(xt,Ie,w)=>{"use strict";w.d(Ie,{D:()=>ee});const{isArray:u}=Array,{getPrototypeOf:m,prototype:D,keys:x}=Object;function ee(O){if(1===O.length){const F=O[0];if(u(F))return{args:F,keys:null};if(function(O){return O&&"object"==typeof O&&m(O)===D}(F)){const z=x(F);return{args:z.map(X=>F[X]),keys:z}}}return{args:O,keys:null}}},3980:(xt,Ie,w)=>{"use strict";function u(m,D){if(m){const x=m.indexOf(D);0<=x&&m.splice(x,1)}}w.d(Ie,{P:()=>u})},4893:(xt,Ie,w)=>{"use strict";function u(m){const x=m(ee=>{Error.call(ee),ee.stack=(new Error).stack});return x.prototype=Object.create(Error.prototype),x.prototype.constructor=x,x}w.d(Ie,{d:()=>u})},2857:(xt,Ie,w)=>{"use strict";function u(m,D){return m.reduce((x,ee,A)=>(x[ee]=D[A],x),{})}w.d(Ie,{n:()=>u})},8706:(xt,Ie,w)=>{"use strict";w.d(Ie,{x:()=>D,O:()=>x});var u=w(5367);let m=null;function D(ee){if(u.v.useDeprecatedSynchronousErrorHandling){const A=!m;if(A&&(m={errorThrown:!1,error:null}),ee(),A){const{errorThrown:O,error:F}=m;if(m=null,O)throw F}}else ee()}function x(ee){u.v.useDeprecatedSynchronousErrorHandling&&m&&(m.errorThrown=!0,m.error=ee)}},8395:(xt,Ie,w)=>{"use strict";function u(m,D,x,ee=0,A=!1){const O=D.schedule(function(){x(),A?m.add(this.schedule(null,ee)):this.unsubscribe()},ee);if(m.add(O),!A)return O}w.d(Ie,{f:()=>u})},4623:(xt,Ie,w)=>{"use strict";function u(m){return m}w.d(Ie,{y:()=>u})},1537:(xt,Ie,w)=>{"use strict";w.d(Ie,{z:()=>u});const u=m=>m&&"number"==typeof m.length&&"function"!=typeof m},9908:(xt,Ie,w)=>{"use strict";w.d(Ie,{D:()=>m});var u=w(5044);function m(D){return Symbol.asyncIterator&&(0,u.m)(null==D?void 0:D[Symbol.asyncIterator])}},5044:(xt,Ie,w)=>{"use strict";function u(m){return"function"==typeof m}w.d(Ie,{m:()=>u})},1073:(xt,Ie,w)=>{"use strict";w.d(Ie,{c:()=>D});var u=w(4816),m=w(5044);function D(x){return(0,m.m)(x[u.L])}},2317:(xt,Ie,w)=>{"use strict";w.d(Ie,{T:()=>D});var u=w(5497),m=w(5044);function D(x){return(0,m.m)(null==x?void 0:x[u.h])}},2442:(xt,Ie,w)=>{"use strict";w.d(Ie,{t:()=>m});var u=w(5044);function m(D){return(0,u.m)(null==D?void 0:D.then)}},7751:(xt,Ie,w)=>{"use strict";w.d(Ie,{Q:()=>D,L:()=>x});var u=w(9162),m=w(5044);function D(ee){return(0,u.FC)(this,arguments,function*(){const O=ee.getReader();try{for(;;){const{value:F,done:z}=yield(0,u.qq)(O.read());if(z)return yield(0,u.qq)(void 0);yield yield(0,u.qq)(F)}}finally{O.releaseLock()}})}function x(ee){return(0,m.m)(null==ee?void 0:ee.getReader)}},7398:(xt,Ie,w)=>{"use strict";w.d(Ie,{K:()=>m});var u=w(5044);function m(D){return D&&(0,u.m)(D.schedule)}},9947:(xt,Ie,w)=>{"use strict";w.d(Ie,{A:()=>m,e:()=>D});var u=w(5044);function m(x){return(0,u.m)(null==x?void 0:x.lift)}function D(x){return ee=>{if(m(ee))return ee.lift(function(A){try{return x(A,this)}catch(O){this.error(O)}});throw new TypeError("Unable to lift unknown Observable type")}}},2937:(xt,Ie,w)=>{"use strict";w.d(Ie,{Z:()=>x});var u=w(4753);const{isArray:m}=Array;function x(ee){return(0,u.U)(A=>function(ee,A){return m(A)?ee(...A):ee(A)}(ee,A))}},6921:(xt,Ie,w)=>{"use strict";function u(){}w.d(Ie,{Z:()=>u})},5160:(xt,Ie,w)=>{"use strict";w.d(Ie,{h:()=>D});var u=w(5367),m=w(2496);function D(x){m.z.setTimeout(()=>{const{onUnhandledError:ee}=u.v;if(!ee)throw x;ee(x)})}},3754:(xt,Ie,w)=>{"use strict";function u(m){return new TypeError(`You provided ${null!==m&&"object"==typeof m?"an invalid object":`'${m}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}w.d(Ie,{z:()=>u})},7244:(xt,Ie,w)=>{"use strict";w.d(Ie,{hm:()=>m,ff:()=>A});const m=new(w(3668).OlP)("routes.config"),D={article:"article"},x={home:"",error404:"404",article:{detail:":id"}},A={basePaths:D,routesNames:x,routes:{home:`/${x.home}`,error404:`/${x.error404}`,article:{detail:O=>`/${D.article}/${btoa(O)}`}}}},6945:(xt,Ie,w)=>{"use strict";w.d(Ie,{n:()=>an});var u=w(4753);class m{constructor(We={}){this.url=We.url||"",this.subtitle=We.subtitle||"",this.title=We.title||"",this.content=We.content||"",this.description=We.description||"",this.coverImageUrl=We.coverImageUrl||""}deserialize(We){return Object.assign(this,We),this}}var D=w(4762);function x(je){return(x="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(tt){return typeof tt}:function(tt){return tt&&"function"==typeof Symbol&&tt.constructor===Symbol&&tt!==Symbol.prototype?"symbol":typeof tt})(je)}var A=w(880);function O(je,We){for(var W,tt=/\r\n|[\n\r]/g,Y=1,te=We+1;(W=tt.exec(je.body))&&W.index<We;)Y+=1,te=We+1-(W.index+W[0].length);return{line:Y,column:te}}function F(je){return z(je.source,O(je.source,je.start))}function z(je,We){var tt=je.locationOffset.column-1,Y=H(tt)+je.body,te=We.line-1,be=We.line+(je.locationOffset.line-1),_e=We.column+(1===We.line?tt:0),Oe="".concat(je.name,":").concat(be,":").concat(_e,"\n"),ce=Y.split(/\r\n|[\n\r]/g),He=ce[te];if(He.length>120){for(var Et=Math.floor(_e/80),Ht=_e%80,dn=[],An=0;An<He.length;An+=80)dn.push(He.slice(An,An+80));return Oe+X([["".concat(be),dn[0]]].concat(dn.slice(1,Et+1).map(function(jn){return["",jn]}),[[" ",H(Ht-1)+"^"],["",dn[Et+1]]]))}return Oe+X([["".concat(be-1),ce[te-1]],["".concat(be),He],["",H(_e-1)+"^"],["".concat(be+1),ce[te+1]]])}function X(je){var We=je.filter(function(Y){return void 0!==Y[1]}),tt=Math.max.apply(Math,We.map(function(Y){return Y[0].length}));return We.map(function(Y){var W=Y[1];return function(je,We){return H(je-We.length)+We}(tt,Y[0])+(W?" | "+W:" |")}).join("\n")}function H(je){return Array(je+1).join(" ")}function j(je){return(j="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(tt){return typeof tt}:function(tt){return tt&&"function"==typeof Symbol&&tt.constructor===Symbol&&tt!==Symbol.prototype?"symbol":typeof tt})(je)}function B(je,We){var tt=Object.keys(je);if(Object.getOwnPropertySymbols){var Y=Object.getOwnPropertySymbols(je);We&&(Y=Y.filter(function(te){return Object.getOwnPropertyDescriptor(je,te).enumerable})),tt.push.apply(tt,Y)}return tt}function se(je,We,tt){return We in je?Object.defineProperty(je,We,{value:tt,enumerable:!0,configurable:!0,writable:!0}):je[We]=tt,je}function Le(je,We){for(var tt=0;tt<We.length;tt++){var Y=We[tt];Y.enumerable=Y.enumerable||!1,Y.configurable=!0,"value"in Y&&(Y.writable=!0),Object.defineProperty(je,Y.key,Y)}}function Ge(je,We){return!We||"object"!==j(We)&&"function"!=typeof We?ut(je):We}function ut(je){if(void 0===je)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return je}function Pe(je){var We="function"==typeof Map?new Map:void 0;return Pe=function(Y){if(null===Y||!function(je){return-1!==Function.toString.call(je).indexOf("[native code]")}(Y))return Y;if("function"!=typeof Y)throw new TypeError("Super expression must either be null or a function");if(void 0!==We){if(We.has(Y))return We.get(Y);We.set(Y,te)}function te(){return Ce(Y,arguments,le(this).constructor)}return te.prototype=Object.create(Y.prototype,{constructor:{value:te,enumerable:!1,writable:!0,configurable:!0}}),J(te,Y)},Pe(je)}function Ce(je,We,tt){return(Ce=ge()?Reflect.construct:function(te,W,be){var Ue=[null];Ue.push.apply(Ue,W);var Oe=new(Function.bind.apply(te,Ue));return be&&J(Oe,be.prototype),Oe}).apply(null,arguments)}function ge(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(je){return!1}}function J(je,We){return(J=Object.setPrototypeOf||function(Y,te){return Y.__proto__=te,Y})(je,We)}function le(je){return(le=Object.setPrototypeOf?Object.getPrototypeOf:function(tt){return tt.__proto__||Object.getPrototypeOf(tt)})(je)}var ve=function(je){!function(je,We){if("function"!=typeof We&&null!==We)throw new TypeError("Super expression must either be null or a function");je.prototype=Object.create(We&&We.prototype,{constructor:{value:je,writable:!0,configurable:!0}}),We&&J(je,We)}(tt,je);var We=function(je){var We=ge();return function(){var te,Y=le(je);if(We){var W=le(this).constructor;te=Reflect.construct(Y,arguments,W)}else te=Y.apply(this,arguments);return Ge(this,te)}}(tt);function tt(Y,te,W,be,Ue,_e,Oe){var ce,He,Et,Ht;(function(je,We){if(!(je instanceof We))throw new TypeError("Cannot call a class as a function")})(this,tt),(Ht=We.call(this,Y)).name="GraphQLError",Ht.originalError=null!=_e?_e:void 0,Ht.nodes=Ae(Array.isArray(te)?te:te?[te]:void 0);for(var dn=[],An=0,jn=null!==(Qt=Ht.nodes)&&void 0!==Qt?Qt:[];An<jn.length;An++){var Qt,Qn=jn[An].loc;null!=Qn&&dn.push(Qn)}dn=Ae(dn),Ht.source=null!=W?W:null===(ce=dn)||void 0===ce?void 0:ce[0].source,Ht.positions=null!=be?be:null===(He=dn)||void 0===He?void 0:He.map(function(Re){return Re.start}),Ht.locations=be&&W?be.map(function(Re){return O(W,Re)}):null===(Et=dn)||void 0===Et?void 0:Et.map(function(Re){return O(Re.source,Re.start)}),Ht.path=null!=Ue?Ue:void 0;var fi=null==_e?void 0:_e.extensions;return Ht.extensions=null==Oe&&function(je){return"object"==x(je)&&null!==je}(fi)?function(je){for(var We=1;We<arguments.length;We++){var tt=null!=arguments[We]?arguments[We]:{};We%2?B(Object(tt),!0).forEach(function(Y){se(je,Y,tt[Y])}):Object.getOwnPropertyDescriptors?Object.defineProperties(je,Object.getOwnPropertyDescriptors(tt)):B(Object(tt)).forEach(function(Y){Object.defineProperty(je,Y,Object.getOwnPropertyDescriptor(tt,Y))})}return je}({},fi):null!=Oe?Oe:{},Object.defineProperties(ut(Ht),{message:{enumerable:!0},locations:{enumerable:null!=Ht.locations},path:{enumerable:null!=Ht.path},extensions:{enumerable:null!=Ht.extensions&&Object.keys(Ht.extensions).length>0},name:{enumerable:!1},nodes:{enumerable:!1},source:{enumerable:!1},positions:{enumerable:!1},originalError:{enumerable:!1}}),null!=_e&&_e.stack?(Object.defineProperty(ut(Ht),"stack",{value:_e.stack,writable:!0,configurable:!0}),Ge(Ht)):(Error.captureStackTrace?Error.captureStackTrace(ut(Ht),tt):Object.defineProperty(ut(Ht),"stack",{value:Error().stack,writable:!0,configurable:!0}),Ht)}return function(je,We,tt){We&&Le(je.prototype,We)}(tt,[{key:"toString",value:function(){return function(je){var We=je.message;if(je.nodes)for(var tt=0,Y=je.nodes;tt<Y.length;tt++){var te=Y[tt];te.loc&&(We+="\n\n"+F(te.loc))}else if(je.source&&je.locations)for(var W=0,be=je.locations;W<be.length;W++)We+="\n\n"+z(je.source,be[W]);return We}(this)}},{key:A.YF,get:function(){return"Object"}}]),tt}(Pe(Error));function Ae(je){return void 0===je||0===je.length?void 0:je}function qe(je,We,tt){return new ve("Syntax Error: ".concat(tt),void 0,je,[We])}var ht=Object.freeze({NAME:"Name",DOCUMENT:"Document",OPERATION_DEFINITION:"OperationDefinition",VARIABLE_DEFINITION:"VariableDefinition",SELECTION_SET:"SelectionSet",FIELD:"Field",ARGUMENT:"Argument",FRAGMENT_SPREAD:"FragmentSpread",INLINE_FRAGMENT:"InlineFragment",FRAGMENT_DEFINITION:"FragmentDefinition",VARIABLE:"Variable",INT:"IntValue",FLOAT:"FloatValue",STRING:"StringValue",BOOLEAN:"BooleanValue",NULL:"NullValue",ENUM:"EnumValue",LIST:"ListValue",OBJECT:"ObjectValue",OBJECT_FIELD:"ObjectField",DIRECTIVE:"Directive",NAMED_TYPE:"NamedType",LIST_TYPE:"ListType",NON_NULL_TYPE:"NonNullType",SCHEMA_DEFINITION:"SchemaDefinition",OPERATION_TYPE_DEFINITION:"OperationTypeDefinition",SCALAR_TYPE_DEFINITION:"ScalarTypeDefinition",OBJECT_TYPE_DEFINITION:"ObjectTypeDefinition",FIELD_DEFINITION:"FieldDefinition",INPUT_VALUE_DEFINITION:"InputValueDefinition",INTERFACE_TYPE_DEFINITION:"InterfaceTypeDefinition",UNION_TYPE_DEFINITION:"UnionTypeDefinition",ENUM_TYPE_DEFINITION:"EnumTypeDefinition",ENUM_VALUE_DEFINITION:"EnumValueDefinition",INPUT_OBJECT_TYPE_DEFINITION:"InputObjectTypeDefinition",DIRECTIVE_DEFINITION:"DirectiveDefinition",SCHEMA_EXTENSION:"SchemaExtension",SCALAR_TYPE_EXTENSION:"ScalarTypeExtension",OBJECT_TYPE_EXTENSION:"ObjectTypeExtension",INTERFACE_TYPE_EXTENSION:"InterfaceTypeExtension",UNION_TYPE_EXTENSION:"UnionTypeExtension",ENUM_TYPE_EXTENSION:"EnumTypeExtension",INPUT_OBJECT_TYPE_EXTENSION:"InputObjectTypeExtension"}),Vt=w(2190),ze=Object.freeze({SOF:"<SOF>",EOF:"<EOF>",BANG:"!",DOLLAR:"$",AMP:"&",PAREN_L:"(",PAREN_R:")",SPREAD:"...",COLON:":",EQUALS:"=",AT:"@",BRACKET_L:"[",BRACKET_R:"]",BRACE_L:"{",PIPE:"|",BRACE_R:"}",NAME:"Name",INT:"Int",FLOAT:"Float",STRING:"String",BLOCK_STRING:"BlockString",COMMENT:"Comment"}),it=w(3277),pt=Object.freeze({QUERY:"QUERY",MUTATION:"MUTATION",SUBSCRIPTION:"SUBSCRIPTION",FIELD:"FIELD",FRAGMENT_DEFINITION:"FRAGMENT_DEFINITION",FRAGMENT_SPREAD:"FRAGMENT_SPREAD",INLINE_FRAGMENT:"INLINE_FRAGMENT",VARIABLE_DEFINITION:"VARIABLE_DEFINITION",SCHEMA:"SCHEMA",SCALAR:"SCALAR",OBJECT:"OBJECT",FIELD_DEFINITION:"FIELD_DEFINITION",ARGUMENT_DEFINITION:"ARGUMENT_DEFINITION",INTERFACE:"INTERFACE",UNION:"UNION",ENUM:"ENUM",ENUM_VALUE:"ENUM_VALUE",INPUT_OBJECT:"INPUT_OBJECT",INPUT_FIELD_DEFINITION:"INPUT_FIELD_DEFINITION"}),Dt=w(4087),It=function(){function je(tt){var Y=new Vt.WU(ze.SOF,0,0,0,0,null);this.source=tt,this.lastToken=Y,this.token=Y,this.line=1,this.lineStart=0}var We=je.prototype;return We.advance=function(){return this.lastToken=this.token,this.token=this.lookahead()},We.lookahead=function(){var Y=this.token;if(Y.kind!==ze.EOF)do{var te;Y=null!==(te=Y.next)&&void 0!==te?te:Y.next=xe(this,Y)}while(Y.kind===ze.COMMENT);return Y},je}();function et(je){return isNaN(je)?ze.EOF:je<127?JSON.stringify(String.fromCharCode(je)):'"\\u'.concat(("00"+je.toString(16).toUpperCase()).slice(-4),'"')}function xe(je,We){for(var tt=je.source,Y=tt.body,te=Y.length,W=We.end;W<te;){var be=Y.charCodeAt(W),Ue=je.line,_e=1+W-je.lineStart;switch(be){case 65279:case 9:case 32:case 44:++W;continue;case 10:++W,++je.line,je.lineStart=W;continue;case 13:10===Y.charCodeAt(W+1)?W+=2:++W,++je.line,je.lineStart=W;continue;case 33:return new Vt.WU(ze.BANG,W,W+1,Ue,_e,We);case 35:return ae(tt,W,Ue,_e,We);case 36:return new Vt.WU(ze.DOLLAR,W,W+1,Ue,_e,We);case 38:return new Vt.WU(ze.AMP,W,W+1,Ue,_e,We);case 40:return new Vt.WU(ze.PAREN_L,W,W+1,Ue,_e,We);case 41:return new Vt.WU(ze.PAREN_R,W,W+1,Ue,_e,We);case 46:if(46===Y.charCodeAt(W+1)&&46===Y.charCodeAt(W+2))return new Vt.WU(ze.SPREAD,W,W+3,Ue,_e,We);break;case 58:return new Vt.WU(ze.COLON,W,W+1,Ue,_e,We);case 61:return new Vt.WU(ze.EQUALS,W,W+1,Ue,_e,We);case 64:return new Vt.WU(ze.AT,W,W+1,Ue,_e,We);case 91:return new Vt.WU(ze.BRACKET_L,W,W+1,Ue,_e,We);case 93:return new Vt.WU(ze.BRACKET_R,W,W+1,Ue,_e,We);case 123:return new Vt.WU(ze.BRACE_L,W,W+1,Ue,_e,We);case 124:return new Vt.WU(ze.PIPE,W,W+1,Ue,_e,We);case 125:return new Vt.WU(ze.BRACE_R,W,W+1,Ue,_e,We);case 34:return 34===Y.charCodeAt(W+1)&&34===Y.charCodeAt(W+2)?Ct(tt,W,Ue,_e,We,je):lt(tt,W,Ue,_e,We);case 45:case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return we(tt,W,be,Ue,_e,We);case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:case 95:case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:return St(tt,W,Ue,_e,We)}throw qe(tt,W,Te(be))}return new Vt.WU(ze.EOF,te,te,je.line,1+W-je.lineStart,We)}function Te(je){return je<32&&9!==je&&10!==je&&13!==je?"Cannot contain the invalid character ".concat(et(je),"."):39===je?"Unexpected single quote character ('), did you mean to use a double quote (\")?":"Cannot parse the unexpected character ".concat(et(je),".")}function ae(je,We,tt,Y,te){var be,W=je.body,Ue=We;do{be=W.charCodeAt(++Ue)}while(!isNaN(be)&&(be>31||9===be));return new Vt.WU(ze.COMMENT,We,Ue,tt,Y,te,W.slice(We+1,Ue))}function we(je,We,tt,Y,te,W){var be=je.body,Ue=tt,_e=We,Oe=!1;if(45===Ue&&(Ue=be.charCodeAt(++_e)),48===Ue){if((Ue=be.charCodeAt(++_e))>=48&&Ue<=57)throw qe(je,_e,"Invalid number, unexpected digit after 0: ".concat(et(Ue),"."))}else _e=Me(je,_e,Ue),Ue=be.charCodeAt(_e);if(46===Ue&&(Oe=!0,Ue=be.charCodeAt(++_e),_e=Me(je,_e,Ue),Ue=be.charCodeAt(_e)),(69===Ue||101===Ue)&&(Oe=!0,(43===(Ue=be.charCodeAt(++_e))||45===Ue)&&(Ue=be.charCodeAt(++_e)),_e=Me(je,_e,Ue),Ue=be.charCodeAt(_e)),46===Ue||function(je){return 95===je||je>=65&&je<=90||je>=97&&je<=122}(Ue))throw qe(je,_e,"Invalid number, expected digit but got: ".concat(et(Ue),"."));return new Vt.WU(Oe?ze.FLOAT:ze.INT,We,_e,Y,te,W,be.slice(We,_e))}function Me(je,We,tt){var Y=je.body,te=We,W=tt;if(W>=48&&W<=57){do{W=Y.charCodeAt(++te)}while(W>=48&&W<=57);return te}throw qe(je,te,"Invalid number, expected digit but got: ".concat(et(W),"."))}function lt(je,We,tt,Y,te){for(var W=je.body,be=We+1,Ue=be,_e=0,Oe="";be<W.length&&!isNaN(_e=W.charCodeAt(be))&&10!==_e&&13!==_e;){if(34===_e)return Oe+=W.slice(Ue,be),new Vt.WU(ze.STRING,We,be+1,tt,Y,te,Oe);if(_e<32&&9!==_e)throw qe(je,be,"Invalid character within String: ".concat(et(_e),"."));if(++be,92===_e){switch(Oe+=W.slice(Ue,be-1),_e=W.charCodeAt(be)){case 34:Oe+='"';break;case 47:Oe+="/";break;case 92:Oe+="\\";break;case 98:Oe+="\b";break;case 102:Oe+="\f";break;case 110:Oe+="\n";break;case 114:Oe+="\r";break;case 116:Oe+="\t";break;case 117:var ce=Ot(W.charCodeAt(be+1),W.charCodeAt(be+2),W.charCodeAt(be+3),W.charCodeAt(be+4));if(ce<0){var He=W.slice(be+1,be+5);throw qe(je,be,"Invalid character escape sequence: \\u".concat(He,"."))}Oe+=String.fromCharCode(ce),be+=4;break;default:throw qe(je,be,"Invalid character escape sequence: \\".concat(String.fromCharCode(_e),"."))}Ue=++be}}throw qe(je,be,"Unterminated string.")}function Ct(je,We,tt,Y,te,W){for(var be=je.body,Ue=We+3,_e=Ue,Oe=0,ce="";Ue<be.length&&!isNaN(Oe=be.charCodeAt(Ue));){if(34===Oe&&34===be.charCodeAt(Ue+1)&&34===be.charCodeAt(Ue+2))return ce+=be.slice(_e,Ue),new Vt.WU(ze.BLOCK_STRING,We,Ue+3,tt,Y,te,(0,Dt.W7)(ce));if(Oe<32&&9!==Oe&&10!==Oe&&13!==Oe)throw qe(je,Ue,"Invalid character within String: ".concat(et(Oe),"."));10===Oe?(++Ue,++W.line,W.lineStart=Ue):13===Oe?(10===be.charCodeAt(Ue+1)?Ue+=2:++Ue,++W.line,W.lineStart=Ue):92===Oe&&34===be.charCodeAt(Ue+1)&&34===be.charCodeAt(Ue+2)&&34===be.charCodeAt(Ue+3)?(ce+=be.slice(_e,Ue)+'"""',_e=Ue+=4):++Ue}throw qe(je,Ue,"Unterminated string.")}function Ot(je,We,tt,Y){return tn(je)<<12|tn(We)<<8|tn(tt)<<4|tn(Y)}function tn(je){return je>=48&&je<=57?je-48:je>=65&&je<=70?je-55:je>=97&&je<=102?je-87:-1}function St(je,We,tt,Y,te){for(var W=je.body,be=W.length,Ue=We+1,_e=0;Ue!==be&&!isNaN(_e=W.charCodeAt(Ue))&&(95===_e||_e>=48&&_e<=57||_e>=65&&_e<=90||_e>=97&&_e<=122);)++Ue;return new Vt.WU(ze.NAME,We,Ue,tt,Y,te,W.slice(We,Ue))}var Qe=function(){function je(tt,Y){var te=(0,it.T)(tt)?tt:new it.H(tt);this._lexer=new It(te),this._options=Y}var We=je.prototype;return We.parseName=function(){var Y=this.expectToken(ze.NAME);return{kind:ht.NAME,value:Y.value,loc:this.loc(Y)}},We.parseDocument=function(){var Y=this._lexer.token;return{kind:ht.DOCUMENT,definitions:this.many(ze.SOF,this.parseDefinition,ze.EOF),loc:this.loc(Y)}},We.parseDefinition=function(){if(this.peek(ze.NAME))switch(this._lexer.token.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition();case"schema":case"scalar":case"type":case"interface":case"union":case"enum":case"input":case"directive":return this.parseTypeSystemDefinition();case"extend":return this.parseTypeSystemExtension()}else{if(this.peek(ze.BRACE_L))return this.parseOperationDefinition();if(this.peekDescription())return this.parseTypeSystemDefinition()}throw this.unexpected()},We.parseOperationDefinition=function(){var Y=this._lexer.token;if(this.peek(ze.BRACE_L))return{kind:ht.OPERATION_DEFINITION,operation:"query",name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet(),loc:this.loc(Y)};var W,te=this.parseOperationType();return this.peek(ze.NAME)&&(W=this.parseName()),{kind:ht.OPERATION_DEFINITION,operation:te,name:W,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(Y)}},We.parseOperationType=function(){var Y=this.expectToken(ze.NAME);switch(Y.value){case"query":return"query";case"mutation":return"mutation";case"subscription":return"subscription"}throw this.unexpected(Y)},We.parseVariableDefinitions=function(){return this.optionalMany(ze.PAREN_L,this.parseVariableDefinition,ze.PAREN_R)},We.parseVariableDefinition=function(){var Y=this._lexer.token;return{kind:ht.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(ze.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(ze.EQUALS)?this.parseValueLiteral(!0):void 0,directives:this.parseDirectives(!0),loc:this.loc(Y)}},We.parseVariable=function(){var Y=this._lexer.token;return this.expectToken(ze.DOLLAR),{kind:ht.VARIABLE,name:this.parseName(),loc:this.loc(Y)}},We.parseSelectionSet=function(){var Y=this._lexer.token;return{kind:ht.SELECTION_SET,selections:this.many(ze.BRACE_L,this.parseSelection,ze.BRACE_R),loc:this.loc(Y)}},We.parseSelection=function(){return this.peek(ze.SPREAD)?this.parseFragment():this.parseField()},We.parseField=function(){var W,be,Y=this._lexer.token,te=this.parseName();return this.expectOptionalToken(ze.COLON)?(W=te,be=this.parseName()):be=te,{kind:ht.FIELD,alias:W,name:be,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(ze.BRACE_L)?this.parseSelectionSet():void 0,loc:this.loc(Y)}},We.parseArguments=function(Y){return this.optionalMany(ze.PAREN_L,Y?this.parseConstArgument:this.parseArgument,ze.PAREN_R)},We.parseArgument=function(){var Y=this._lexer.token,te=this.parseName();return this.expectToken(ze.COLON),{kind:ht.ARGUMENT,name:te,value:this.parseValueLiteral(!1),loc:this.loc(Y)}},We.parseConstArgument=function(){var Y=this._lexer.token;return{kind:ht.ARGUMENT,name:this.parseName(),value:(this.expectToken(ze.COLON),this.parseValueLiteral(!0)),loc:this.loc(Y)}},We.parseFragment=function(){var Y=this._lexer.token;this.expectToken(ze.SPREAD);var te=this.expectOptionalKeyword("on");return!te&&this.peek(ze.NAME)?{kind:ht.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1),loc:this.loc(Y)}:{kind:ht.INLINE_FRAGMENT,typeCondition:te?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(Y)}},We.parseFragmentDefinition=function(){var Y,te=this._lexer.token;return this.expectKeyword("fragment"),!0===(null===(Y=this._options)||void 0===Y?void 0:Y.experimentalFragmentVariables)?{kind:ht.FRAGMENT_DEFINITION,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(te)}:{kind:ht.FRAGMENT_DEFINITION,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(te)}},We.parseFragmentName=function(){if("on"===this._lexer.token.value)throw this.unexpected();return this.parseName()},We.parseValueLiteral=function(Y){var te=this._lexer.token;switch(te.kind){case ze.BRACKET_L:return this.parseList(Y);case ze.BRACE_L:return this.parseObject(Y);case ze.INT:return this._lexer.advance(),{kind:ht.INT,value:te.value,loc:this.loc(te)};case ze.FLOAT:return this._lexer.advance(),{kind:ht.FLOAT,value:te.value,loc:this.loc(te)};case ze.STRING:case ze.BLOCK_STRING:return this.parseStringLiteral();case ze.NAME:switch(this._lexer.advance(),te.value){case"true":return{kind:ht.BOOLEAN,value:!0,loc:this.loc(te)};case"false":return{kind:ht.BOOLEAN,value:!1,loc:this.loc(te)};case"null":return{kind:ht.NULL,loc:this.loc(te)};default:return{kind:ht.ENUM,value:te.value,loc:this.loc(te)}}case ze.DOLLAR:if(!Y)return this.parseVariable()}throw this.unexpected()},We.parseStringLiteral=function(){var Y=this._lexer.token;return this._lexer.advance(),{kind:ht.STRING,value:Y.value,block:Y.kind===ze.BLOCK_STRING,loc:this.loc(Y)}},We.parseList=function(Y){var te=this,W=this._lexer.token;return{kind:ht.LIST,values:this.any(ze.BRACKET_L,function(){return te.parseValueLiteral(Y)},ze.BRACKET_R),loc:this.loc(W)}},We.parseObject=function(Y){var te=this,W=this._lexer.token;return{kind:ht.OBJECT,fields:this.any(ze.BRACE_L,function(){return te.parseObjectField(Y)},ze.BRACE_R),loc:this.loc(W)}},We.parseObjectField=function(Y){var te=this._lexer.token,W=this.parseName();return this.expectToken(ze.COLON),{kind:ht.OBJECT_FIELD,name:W,value:this.parseValueLiteral(Y),loc:this.loc(te)}},We.parseDirectives=function(Y){for(var te=[];this.peek(ze.AT);)te.push(this.parseDirective(Y));return te},We.parseDirective=function(Y){var te=this._lexer.token;return this.expectToken(ze.AT),{kind:ht.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(Y),loc:this.loc(te)}},We.parseTypeReference=function(){var te,Y=this._lexer.token;return this.expectOptionalToken(ze.BRACKET_L)?(te=this.parseTypeReference(),this.expectToken(ze.BRACKET_R),te={kind:ht.LIST_TYPE,type:te,loc:this.loc(Y)}):te=this.parseNamedType(),this.expectOptionalToken(ze.BANG)?{kind:ht.NON_NULL_TYPE,type:te,loc:this.loc(Y)}:te},We.parseNamedType=function(){var Y=this._lexer.token;return{kind:ht.NAMED_TYPE,name:this.parseName(),loc:this.loc(Y)}},We.parseTypeSystemDefinition=function(){var Y=this.peekDescription()?this._lexer.lookahead():this._lexer.token;if(Y.kind===ze.NAME)switch(Y.value){case"schema":return this.parseSchemaDefinition();case"scalar":return this.parseScalarTypeDefinition();case"type":return this.parseObjectTypeDefinition();case"interface":return this.parseInterfaceTypeDefinition();case"union":return this.parseUnionTypeDefinition();case"enum":return this.parseEnumTypeDefinition();case"input":return this.parseInputObjectTypeDefinition();case"directive":return this.parseDirectiveDefinition()}throw this.unexpected(Y)},We.peekDescription=function(){return this.peek(ze.STRING)||this.peek(ze.BLOCK_STRING)},We.parseDescription=function(){if(this.peekDescription())return this.parseStringLiteral()},We.parseSchemaDefinition=function(){var Y=this._lexer.token,te=this.parseDescription();this.expectKeyword("schema");var W=this.parseDirectives(!0),be=this.many(ze.BRACE_L,this.parseOperationTypeDefinition,ze.BRACE_R);return{kind:ht.SCHEMA_DEFINITION,description:te,directives:W,operationTypes:be,loc:this.loc(Y)}},We.parseOperationTypeDefinition=function(){var Y=this._lexer.token,te=this.parseOperationType();this.expectToken(ze.COLON);var W=this.parseNamedType();return{kind:ht.OPERATION_TYPE_DEFINITION,operation:te,type:W,loc:this.loc(Y)}},We.parseScalarTypeDefinition=function(){var Y=this._lexer.token,te=this.parseDescription();this.expectKeyword("scalar");var W=this.parseName(),be=this.parseDirectives(!0);return{kind:ht.SCALAR_TYPE_DEFINITION,description:te,name:W,directives:be,loc:this.loc(Y)}},We.parseObjectTypeDefinition=function(){var Y=this._lexer.token,te=this.parseDescription();this.expectKeyword("type");var W=this.parseName(),be=this.parseImplementsInterfaces(),Ue=this.parseDirectives(!0),_e=this.parseFieldsDefinition();return{kind:ht.OBJECT_TYPE_DEFINITION,description:te,name:W,interfaces:be,directives:Ue,fields:_e,loc:this.loc(Y)}},We.parseImplementsInterfaces=function(){var Y;if(!this.expectOptionalKeyword("implements"))return[];if(!0===(null===(Y=this._options)||void 0===Y?void 0:Y.allowLegacySDLImplementsInterfaces)){var te=[];this.expectOptionalToken(ze.AMP);do{te.push(this.parseNamedType())}while(this.expectOptionalToken(ze.AMP)||this.peek(ze.NAME));return te}return this.delimitedMany(ze.AMP,this.parseNamedType)},We.parseFieldsDefinition=function(){var Y;return!0===(null===(Y=this._options)||void 0===Y?void 0:Y.allowLegacySDLEmptyFields)&&this.peek(ze.BRACE_L)&&this._lexer.lookahead().kind===ze.BRACE_R?(this._lexer.advance(),this._lexer.advance(),[]):this.optionalMany(ze.BRACE_L,this.parseFieldDefinition,ze.BRACE_R)},We.parseFieldDefinition=function(){var Y=this._lexer.token,te=this.parseDescription(),W=this.parseName(),be=this.parseArgumentDefs();this.expectToken(ze.COLON);var Ue=this.parseTypeReference(),_e=this.parseDirectives(!0);return{kind:ht.FIELD_DEFINITION,description:te,name:W,arguments:be,type:Ue,directives:_e,loc:this.loc(Y)}},We.parseArgumentDefs=function(){return this.optionalMany(ze.PAREN_L,this.parseInputValueDef,ze.PAREN_R)},We.parseInputValueDef=function(){var Y=this._lexer.token,te=this.parseDescription(),W=this.parseName();this.expectToken(ze.COLON);var Ue,be=this.parseTypeReference();this.expectOptionalToken(ze.EQUALS)&&(Ue=this.parseValueLiteral(!0));var _e=this.parseDirectives(!0);return{kind:ht.INPUT_VALUE_DEFINITION,description:te,name:W,type:be,defaultValue:Ue,directives:_e,loc:this.loc(Y)}},We.parseInterfaceTypeDefinition=function(){var Y=this._lexer.token,te=this.parseDescription();this.expectKeyword("interface");var W=this.parseName(),be=this.parseImplementsInterfaces(),Ue=this.parseDirectives(!0),_e=this.parseFieldsDefinition();return{kind:ht.INTERFACE_TYPE_DEFINITION,description:te,name:W,interfaces:be,directives:Ue,fields:_e,loc:this.loc(Y)}},We.parseUnionTypeDefinition=function(){var Y=this._lexer.token,te=this.parseDescription();this.expectKeyword("union");var W=this.parseName(),be=this.parseDirectives(!0),Ue=this.parseUnionMemberTypes();return{kind:ht.UNION_TYPE_DEFINITION,description:te,name:W,directives:be,types:Ue,loc:this.loc(Y)}},We.parseUnionMemberTypes=function(){return this.expectOptionalToken(ze.EQUALS)?this.delimitedMany(ze.PIPE,this.parseNamedType):[]},We.parseEnumTypeDefinition=function(){var Y=this._lexer.token,te=this.parseDescription();this.expectKeyword("enum");var W=this.parseName(),be=this.parseDirectives(!0),Ue=this.parseEnumValuesDefinition();return{kind:ht.ENUM_TYPE_DEFINITION,description:te,name:W,directives:be,values:Ue,loc:this.loc(Y)}},We.parseEnumValuesDefinition=function(){return this.optionalMany(ze.BRACE_L,this.parseEnumValueDefinition,ze.BRACE_R)},We.parseEnumValueDefinition=function(){var Y=this._lexer.token,te=this.parseDescription(),W=this.parseName(),be=this.parseDirectives(!0);return{kind:ht.ENUM_VALUE_DEFINITION,description:te,name:W,directives:be,loc:this.loc(Y)}},We.parseInputObjectTypeDefinition=function(){var Y=this._lexer.token,te=this.parseDescription();this.expectKeyword("input");var W=this.parseName(),be=this.parseDirectives(!0),Ue=this.parseInputFieldsDefinition();return{kind:ht.INPUT_OBJECT_TYPE_DEFINITION,description:te,name:W,directives:be,fields:Ue,loc:this.loc(Y)}},We.parseInputFieldsDefinition=function(){return this.optionalMany(ze.BRACE_L,this.parseInputValueDef,ze.BRACE_R)},We.parseTypeSystemExtension=function(){var Y=this._lexer.lookahead();if(Y.kind===ze.NAME)switch(Y.value){case"schema":return this.parseSchemaExtension();case"scalar":return this.parseScalarTypeExtension();case"type":return this.parseObjectTypeExtension();case"interface":return this.parseInterfaceTypeExtension();case"union":return this.parseUnionTypeExtension();case"enum":return this.parseEnumTypeExtension();case"input":return this.parseInputObjectTypeExtension()}throw this.unexpected(Y)},We.parseSchemaExtension=function(){var Y=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");var te=this.parseDirectives(!0),W=this.optionalMany(ze.BRACE_L,this.parseOperationTypeDefinition,ze.BRACE_R);if(0===te.length&&0===W.length)throw this.unexpected();return{kind:ht.SCHEMA_EXTENSION,directives:te,operationTypes:W,loc:this.loc(Y)}},We.parseScalarTypeExtension=function(){var Y=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");var te=this.parseName(),W=this.parseDirectives(!0);if(0===W.length)throw this.unexpected();return{kind:ht.SCALAR_TYPE_EXTENSION,name:te,directives:W,loc:this.loc(Y)}},We.parseObjectTypeExtension=function(){var Y=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");var te=this.parseName(),W=this.parseImplementsInterfaces(),be=this.parseDirectives(!0),Ue=this.parseFieldsDefinition();if(0===W.length&&0===be.length&&0===Ue.length)throw this.unexpected();return{kind:ht.OBJECT_TYPE_EXTENSION,name:te,interfaces:W,directives:be,fields:Ue,loc:this.loc(Y)}},We.parseInterfaceTypeExtension=function(){var Y=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");var te=this.parseName(),W=this.parseImplementsInterfaces(),be=this.parseDirectives(!0),Ue=this.parseFieldsDefinition();if(0===W.length&&0===be.length&&0===Ue.length)throw this.unexpected();return{kind:ht.INTERFACE_TYPE_EXTENSION,name:te,interfaces:W,directives:be,fields:Ue,loc:this.loc(Y)}},We.parseUnionTypeExtension=function(){var Y=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");var te=this.parseName(),W=this.parseDirectives(!0),be=this.parseUnionMemberTypes();if(0===W.length&&0===be.length)throw this.unexpected();return{kind:ht.UNION_TYPE_EXTENSION,name:te,directives:W,types:be,loc:this.loc(Y)}},We.parseEnumTypeExtension=function(){var Y=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");var te=this.parseName(),W=this.parseDirectives(!0),be=this.parseEnumValuesDefinition();if(0===W.length&&0===be.length)throw this.unexpected();return{kind:ht.ENUM_TYPE_EXTENSION,name:te,directives:W,values:be,loc:this.loc(Y)}},We.parseInputObjectTypeExtension=function(){var Y=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");var te=this.parseName(),W=this.parseDirectives(!0),be=this.parseInputFieldsDefinition();if(0===W.length&&0===be.length)throw this.unexpected();return{kind:ht.INPUT_OBJECT_TYPE_EXTENSION,name:te,directives:W,fields:be,loc:this.loc(Y)}},We.parseDirectiveDefinition=function(){var Y=this._lexer.token,te=this.parseDescription();this.expectKeyword("directive"),this.expectToken(ze.AT);var W=this.parseName(),be=this.parseArgumentDefs(),Ue=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");var _e=this.parseDirectiveLocations();return{kind:ht.DIRECTIVE_DEFINITION,description:te,name:W,arguments:be,repeatable:Ue,locations:_e,loc:this.loc(Y)}},We.parseDirectiveLocations=function(){return this.delimitedMany(ze.PIPE,this.parseDirectiveLocation)},We.parseDirectiveLocation=function(){var Y=this._lexer.token,te=this.parseName();if(void 0!==pt[te.value])return te;throw this.unexpected(Y)},We.loc=function(Y){var te;if(!0!==(null===(te=this._options)||void 0===te?void 0:te.noLocation))return new Vt.Ye(Y,this._lexer.lastToken,this._lexer.source)},We.peek=function(Y){return this._lexer.token.kind===Y},We.expectToken=function(Y){var te=this._lexer.token;if(te.kind===Y)return this._lexer.advance(),te;throw qe(this._lexer.source,te.start,"Expected ".concat(Ee(Y),", found ").concat(Ne(te),"."))},We.expectOptionalToken=function(Y){var te=this._lexer.token;if(te.kind===Y)return this._lexer.advance(),te},We.expectKeyword=function(Y){var te=this._lexer.token;if(te.kind!==ze.NAME||te.value!==Y)throw qe(this._lexer.source,te.start,'Expected "'.concat(Y,'", found ').concat(Ne(te),"."));this._lexer.advance()},We.expectOptionalKeyword=function(Y){var te=this._lexer.token;return te.kind===ze.NAME&&te.value===Y&&(this._lexer.advance(),!0)},We.unexpected=function(Y){var te=null!=Y?Y:this._lexer.token;return qe(this._lexer.source,te.start,"Unexpected ".concat(Ne(te),"."))},We.any=function(Y,te,W){this.expectToken(Y);for(var be=[];!this.expectOptionalToken(W);)be.push(te.call(this));return be},We.optionalMany=function(Y,te,W){if(this.expectOptionalToken(Y)){var be=[];do{be.push(te.call(this))}while(!this.expectOptionalToken(W));return be}return[]},We.many=function(Y,te,W){this.expectToken(Y);var be=[];do{be.push(te.call(this))}while(!this.expectOptionalToken(W));return be},We.delimitedMany=function(Y,te){this.expectOptionalToken(Y);var W=[];do{W.push(te.call(this))}while(this.expectOptionalToken(Y));return W},je}();function Ne(je){var We=je.value;return Ee(je.kind)+(null!=We?' "'.concat(We,'"'):"")}function Ee(je){return function(je){return je===ze.BANG||je===ze.DOLLAR||je===ze.AMP||je===ze.PAREN_L||je===ze.PAREN_R||je===ze.SPREAD||je===ze.COLON||je===ze.EQUALS||je===ze.AT||je===ze.BRACKET_L||je===ze.BRACKET_R||je===ze.BRACE_L||je===ze.PIPE||je===ze.BRACE_R}(je)?'"'.concat(je,'"'):je}var Ve=new Map,vt=new Map,Tt=!0,Ut=!1;function kt(je){return je.replace(/[\s,]+/g," ").trim()}function Wn(je){var We=kt(je);if(!Ve.has(We)){var tt=function(je,We){return new Qe(je,We).parseDocument()}(je,{experimentalFragmentVariables:Ut,allowLegacyFragmentVariables:Ut});if(!tt||"Document"!==tt.kind)throw new Error("Not a valid GraphQL document.");Ve.set(We,function(je){var We=new Set(je.definitions);We.forEach(function(Y){Y.loc&&delete Y.loc,Object.keys(Y).forEach(function(te){var W=Y[te];W&&"object"==typeof W&&We.add(W)})});var tt=je.loc;return tt&&(delete tt.startToken,delete tt.endToken),je}(function(je){var We=new Set,tt=[];return je.definitions.forEach(function(Y){if("FragmentDefinition"===Y.kind){var te=Y.name.value,W=function(je){return kt(je.source.body.substring(je.start,je.end))}(Y.loc),be=vt.get(te);be&&!be.has(W)?Tt&&console.warn("Warning: fragment with name "+te+" already exists.\ngraphql-tag enforces all fragment names across your application to be unique; read more about\nthis in the docs: http://dev.apollodata.com/core/fragments.html#unique-names"):be||vt.set(te,be=new Set),be.add(W),We.has(W)||(We.add(W),tt.push(Y))}else tt.push(Y)}),(0,D.pi)((0,D.pi)({},je),{definitions:tt})}(tt)))}return Ve.get(We)}function un(je){for(var We=[],tt=1;tt<arguments.length;tt++)We[tt-1]=arguments[tt];"string"==typeof je&&(je=[je]);var Y=je[0];return We.forEach(function(te,W){Y+=te&&"Document"===te.kind?te.loc.source.body:te,Y+=je[W+1]}),Wn(Y)}var je,mt_gql=un;(je=un||(un={})).gql=mt_gql,je.resetCaches=function(){Ve.clear(),vt.clear()},je.disableFragmentWarnings=function(){Tt=!1},je.enableExperimentalFragmentVariables=function(){Ut=!0},je.disableExperimentalFragmentVariables=function(){Ut=!1},un.default=un;var ot=w(3668),Nt=w(7714);let an=(()=>{class je{constructor(tt){this.apollo=tt}fetchArticles(tt){const{pageNumber:Y}=tt;return this.apollo.watchQuery({query:un`
            {
              articles(pageNumber:${Y||1}) {
                url,
                title,
                subtitle,
                content,
                description,
                coverImageUrl,
              }
            }
          `,fetchPolicy:"no-cache"}).valueChanges.pipe((0,u.U)(te=>(console.log(te),te.data.articles.map(W=>new m(W)))))}fetchArticleDetail(tt){const Y=atob(tt);return this.apollo.watchQuery({query:un`
            {
              article(url:"${Y}") {
                url,
                title,
                subtitle,
                content,
                description,
                coverImageUrl,
              }
            }
          `,fetchPolicy:"no-cache"}).valueChanges.pipe((0,u.U)(te=>new m(te.data.article)))}}return je.\u0275fac=function(tt){return new(tt||je)(ot.LFG(Nt._M))},je.\u0275prov=ot.Yz7({token:je,factory:je.\u0275fac,providedIn:"root"}),je})()},2599:(xt,Ie,w)=>{"use strict";w.d(Ie,{m:()=>Qs});var u=w(7219),m=w(5711),D=w(3668),x=w(6731),ee=w(8290),A=w(6019),O=w(273),F=w(5048),z=w(7908),X=w(2997),H=w(461),U=w(9468),j=w(3970),B=w(4006),q=w(928),se=w(9814),fe=w(1628),Le=w(9555);function st(pe,K){}class ft{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.closeOnNavigation=!0}}const Ke={dialogContainer:(0,se.X$)("dialogContainer",[(0,se.SB)("void, exit",(0,se.oB)({opacity:0,transform:"scale(0.7)"})),(0,se.SB)("enter",(0,se.oB)({transform:"none"})),(0,se.eR)("* => enter",(0,se.jt)("150ms cubic-bezier(0, 0, 0.2, 1)",(0,se.oB)({transform:"none",opacity:1}))),(0,se.eR)("* => void, * => exit",(0,se.jt)("75ms cubic-bezier(0.4, 0.0, 0.2, 1)",(0,se.oB)({opacity:0})))])};let ut=(()=>{class pe extends m.en{constructor(l,d,p,S,k,ne,Se,Ye){super(),this._elementRef=l,this._focusTrapFactory=d,this._changeDetectorRef=p,this._config=k,this._interactivityChecker=ne,this._ngZone=Se,this._focusMonitor=Ye,this._animationStateChanged=new D.vpe,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this.attachDomPortal=yt=>(this._portalOutlet.hasAttached(),this._portalOutlet.attachDomPortal(yt)),this._ariaLabelledBy=k.ariaLabelledBy||null,this._document=S}_initializeWithAttachedContent(){this._setupFocusTrap(),this._capturePreviouslyFocusedElement()}attachComponentPortal(l){return this._portalOutlet.hasAttached(),this._portalOutlet.attachComponentPortal(l)}attachTemplatePortal(l){return this._portalOutlet.hasAttached(),this._portalOutlet.attachTemplatePortal(l)}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(l,d){this._interactivityChecker.isFocusable(l)||(l.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{l.addEventListener("blur",()=>l.removeAttribute("tabindex")),l.addEventListener("mousedown",()=>l.removeAttribute("tabindex"))})),l.focus(d)}_focusByCssSelector(l,d){let p=this._elementRef.nativeElement.querySelector(l);p&&this._forceFocus(p,d)}_trapFocus(){const l=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||l.focus();break;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(d=>{d||this._focusDialogContainer()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus)}}_restoreFocus(){const l=this._elementFocusedBeforeDialogWasOpened;if(this._config.restoreFocus&&l&&"function"==typeof l.focus){const d=(0,q.ht)(),p=this._elementRef.nativeElement;(!d||d===this._document.body||d===p||p.contains(d))&&(this._focusMonitor?(this._focusMonitor.focusVia(l,this._closeInteractionType),this._closeInteractionType=null):l.focus())}this._focusTrap&&this._focusTrap.destroy()}_setupFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement)}_capturePreviouslyFocusedElement(){this._document&&(this._elementFocusedBeforeDialogWasOpened=(0,q.ht)())}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const l=this._elementRef.nativeElement,d=(0,q.ht)();return l===d||l.contains(d)}}return pe.\u0275fac=function(l){return new(l||pe)(D.Y36(D.SBq),D.Y36(B.qV),D.Y36(D.sBO),D.Y36(A.K0,8),D.Y36(ft),D.Y36(B.ic),D.Y36(D.R0b),D.Y36(B.tE))},pe.\u0275dir=D.lG2({type:pe,viewQuery:function(l,d){if(1&l&&D.Gf(m.Pl,7),2&l){let p;D.iGM(p=D.CRH())&&(d._portalOutlet=p.first)}},features:[D.qOj]}),pe})(),Pe=(()=>{class pe extends ut{constructor(){super(...arguments),this._state="enter"}_onAnimationDone({toState:l,totalTime:d}){"enter"===l?(this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:d})):"exit"===l&&(this._restoreFocus(),this._animationStateChanged.next({state:"closed",totalTime:d}))}_onAnimationStart({toState:l,totalTime:d}){"enter"===l?this._animationStateChanged.next({state:"opening",totalTime:d}):("exit"===l||"void"===l)&&this._animationStateChanged.next({state:"closing",totalTime:d})}_startExitAnimation(){this._state="exit",this._changeDetectorRef.markForCheck()}}return pe.\u0275fac=function(){let K;return function(d){return(K||(K=D.n5z(pe)))(d||pe)}}(),pe.\u0275cmp=D.Xpm({type:pe,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1","aria-modal","true",1,"mat-dialog-container"],hostVars:6,hostBindings:function(l,d){1&l&&D.WFA("@dialogContainer.start",function(S){return d._onAnimationStart(S)})("@dialogContainer.done",function(S){return d._onAnimationDone(S)}),2&l&&(D.Ikx("id",d._id),D.uIk("role",d._config.role)("aria-labelledby",d._config.ariaLabel?null:d._ariaLabelledBy)("aria-label",d._config.ariaLabel)("aria-describedby",d._config.ariaDescribedBy||null),D.d8E("@dialogContainer",d._state))},features:[D.qOj],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(l,d){1&l&&D.YNc(0,st,0,0,"ng-template",0)},directives:[m.Pl],styles:[".mat-dialog-container{display:block;padding:24px;border-radius:4px;box-sizing:border-box;overflow:auto;outline:0;width:100%;height:100%;min-height:inherit;max-height:inherit}.cdk-high-contrast-active .mat-dialog-container{outline:solid 1px}.mat-dialog-content{display:block;margin:0 -24px;padding:0 24px;max-height:65vh;overflow:auto;-webkit-overflow-scrolling:touch}.mat-dialog-title{margin:0 0 20px;display:block}.mat-dialog-actions{padding:8px 0;display:flex;flex-wrap:wrap;min-height:52px;align-items:center;box-sizing:content-box;margin-bottom:-24px}.mat-dialog-actions[align=end]{justify-content:flex-end}.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions .mat-button-base+.mat-button-base,.mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,data:{animation:[Ke.dialogContainer]}}),pe})(),Ce=0;class ge{constructor(K,l,d="mat-dialog-"+Ce++){this._overlayRef=K,this._containerInstance=l,this.id=d,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new O.x,this._afterClosed=new O.x,this._beforeClosed=new O.x,this._state=0,l._id=d,l._animationStateChanged.pipe((0,H.h)(p=>"opened"===p.state),(0,U.q)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),l._animationStateChanged.pipe((0,H.h)(p=>"closed"===p.state),(0,U.q)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),K.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._afterClosed.next(this._result),this._afterClosed.complete(),this.componentInstance=null,this._overlayRef.dispose()}),K.keydownEvents().pipe((0,H.h)(p=>p.keyCode===fe.hY&&!this.disableClose&&!(0,fe.Vb)(p))).subscribe(p=>{p.preventDefault(),V(this,"keyboard")}),K.backdropClick().subscribe(()=>{this.disableClose?this._containerInstance._recaptureFocus():V(this,"mouse")})}close(K){this._result=K,this._containerInstance._animationStateChanged.pipe((0,H.h)(l=>"closing"===l.state),(0,U.q)(1)).subscribe(l=>{this._beforeClosed.next(K),this._beforeClosed.complete(),this._overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),l.totalTime+100)}),this._state=1,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._afterClosed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._overlayRef.backdropClick()}keydownEvents(){return this._overlayRef.keydownEvents()}updatePosition(K){let l=this._getPositionStrategy();return K&&(K.left||K.right)?K.left?l.left(K.left):l.right(K.right):l.centerHorizontally(),K&&(K.top||K.bottom)?K.top?l.top(K.top):l.bottom(K.bottom):l.centerVertically(),this._overlayRef.updatePosition(),this}updateSize(K="",l=""){return this._overlayRef.updateSize({width:K,height:l}),this._overlayRef.updatePosition(),this}addPanelClass(K){return this._overlayRef.addPanelClass(K),this}removePanelClass(K){return this._overlayRef.removePanelClass(K),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._overlayRef.dispose()}_getPositionStrategy(){return this._overlayRef.getConfig().positionStrategy}}function V(pe,K,l){return void 0!==pe._containerInstance&&(pe._containerInstance._closeInteractionType=K),pe.close(l)}const J=new D.OlP("MatDialogData"),le=new D.OlP("mat-dialog-default-options"),ve=new D.OlP("mat-dialog-scroll-strategy"),qe={provide:ve,deps:[u.aV],useFactory:function(pe){return()=>pe.scrollStrategies.block()}};let ht=(()=>{class pe{constructor(l,d,p,S,k,ne,Se,Ye,yt,en){this._overlay=l,this._injector=d,this._defaultOptions=p,this._parentDialog=S,this._overlayContainer=k,this._dialogRefConstructor=Se,this._dialogContainerType=Ye,this._dialogDataToken=yt,this._animationMode=en,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new O.x,this._afterOpenedAtThisLevel=new O.x,this._ariaHiddenElements=new Map,this._dialogAnimatingOpen=!1,this.afterAllClosed=(0,F.P)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,j.O)(void 0))),this._scrollStrategy=ne}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const l=this._parentDialog;return l?l._getAfterAllClosed():this._afterAllClosedAtThisLevel}open(l,d){if(d=function(pe,K){return cn(cn({},K),pe)}(d,this._defaultOptions||new ft),d.id&&this.getDialogById(d.id),this._dialogAnimatingOpen)return this._lastDialogRef;const p=this._createOverlay(d),S=this._attachDialogContainer(p,d);if("NoopAnimations"!==this._animationMode){const ne=S._animationStateChanged.subscribe(Se=>{"opening"===Se.state&&(this._dialogAnimatingOpen=!0),"opened"===Se.state&&(this._dialogAnimatingOpen=!1,ne.unsubscribe())});this._animationStateSubscriptions||(this._animationStateSubscriptions=new z.w0),this._animationStateSubscriptions.add(ne)}const k=this._attachDialogContent(l,S,p,d);return this._lastDialogRef=k,this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(k),k.afterClosed().subscribe(()=>this._removeOpenDialog(k)),this.afterOpened.next(k),S._initializeWithAttachedContent(),k}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(l){return this.openDialogs.find(d=>d.id===l)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._animationStateSubscriptions&&this._animationStateSubscriptions.unsubscribe()}_createOverlay(l){const d=this._getOverlayConfig(l);return this._overlay.create(d)}_getOverlayConfig(l){const d=new u.X_({positionStrategy:this._overlay.position().global(),scrollStrategy:l.scrollStrategy||this._scrollStrategy(),panelClass:l.panelClass,hasBackdrop:l.hasBackdrop,direction:l.direction,minWidth:l.minWidth,minHeight:l.minHeight,maxWidth:l.maxWidth,maxHeight:l.maxHeight,disposeOnNavigation:l.closeOnNavigation});return l.backdropClass&&(d.backdropClass=l.backdropClass),d}_attachDialogContainer(l,d){const S=D.zs3.create({parent:d&&d.viewContainerRef&&d.viewContainerRef.injector||this._injector,providers:[{provide:ft,useValue:d}]}),k=new m.C5(this._dialogContainerType,d.viewContainerRef,S,d.componentFactoryResolver);return l.attach(k).instance}_attachDialogContent(l,d,p,S){const k=new this._dialogRefConstructor(p,d,S.id);if(l instanceof D.Rgc)d.attachTemplatePortal(new m.UE(l,null,{$implicit:S.data,dialogRef:k}));else{const ne=this._createInjector(S,k,d),Se=d.attachComponentPortal(new m.C5(l,S.viewContainerRef,ne));k.componentInstance=Se.instance}return k.updateSize(S.width,S.height).updatePosition(S.position),k}_createInjector(l,d,p){const S=l&&l.viewContainerRef&&l.viewContainerRef.injector,k=[{provide:this._dialogContainerType,useValue:p},{provide:this._dialogDataToken,useValue:l.data},{provide:this._dialogRefConstructor,useValue:d}];return l.direction&&(!S||!S.get(ee.Is,null,D.XFs.Optional))&&k.push({provide:ee.Is,useValue:{value:l.direction,change:(0,X.of)()}}),D.zs3.create({parent:S||this._injector,providers:k})}_removeOpenDialog(l){const d=this.openDialogs.indexOf(l);d>-1&&(this.openDialogs.splice(d,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((p,S)=>{p?S.setAttribute("aria-hidden",p):S.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const l=this._overlayContainer.getContainerElement();if(l.parentElement){const d=l.parentElement.children;for(let p=d.length-1;p>-1;p--){let S=d[p];S!==l&&"SCRIPT"!==S.nodeName&&"STYLE"!==S.nodeName&&!S.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(S,S.getAttribute("aria-hidden")),S.setAttribute("aria-hidden","true"))}}}_closeDialogs(l){let d=l.length;for(;d--;)l[d].close()}}return pe.\u0275fac=function(l){D.$Z()},pe.\u0275dir=D.lG2({type:pe}),pe})(),Vt=(()=>{class pe extends ht{constructor(l,d,p,S,k,ne,Se,Ye){super(l,d,S,ne,Se,k,ge,Pe,J,Ye)}}return pe.\u0275fac=function(l){return new(l||pe)(D.LFG(u.aV),D.LFG(D.zs3),D.LFG(A.Ye,8),D.LFG(le,8),D.LFG(ve),D.LFG(pe,12),D.LFG(u.Xj),D.LFG(Le.Qb,8))},pe.\u0275prov=D.Yz7({token:pe,factory:pe.\u0275fac}),pe})(),xe=(()=>{class pe{}return pe.\u0275fac=function(l){return new(l||pe)},pe.\u0275mod=D.oAB({type:pe}),pe.\u0275inj=D.cJS({providers:[Vt,qe],imports:[[u.U8,m.eL,x.BQ],x.BQ]}),pe})();var Te=w(348),Me=(w(3719),w(5077),w(1128)),lt=w(9133),Ct=w(3242);let He=(()=>{class pe{}return pe.\u0275fac=function(l){return new(l||pe)},pe.\u0275mod=D.oAB({type:pe}),pe.\u0275inj=D.cJS({imports:[[A.ez,x.BQ,Ct.Q8],x.BQ]}),pe})();w(3067),w(4753),w(7384),w(7955);const $t={provide:new D.OlP("mat-autocomplete-scroll-strategy"),deps:[u.aV],useFactory:function(pe){return()=>pe.scrollStrategies.reposition()}};let fn=(()=>{class pe{}return pe.\u0275fac=function(l){return new(l||pe)},pe.\u0275mod=D.oAB({type:pe}),pe.\u0275inj=D.cJS({providers:[$t],imports:[[u.U8,x.Ng,x.BQ,A.ez],Me.ZD,x.Ng,x.BQ]}),pe})();var Yt=w(86);let Ii=(()=>{class pe{}return pe.\u0275fac=function(l){return new(l||pe)},pe.\u0275mod=D.oAB({type:pe}),pe.\u0275inj=D.cJS({imports:[[x.BQ],x.BQ]}),pe})(),Ci=(()=>{class pe{}return pe.\u0275fac=function(l){return new(l||pe)},pe.\u0275mod=D.oAB({type:pe}),pe.\u0275inj=D.cJS({imports:[[x.uc,x.BQ],x.uc,x.BQ]}),pe})();var mr=w(9112);let Pi=(()=>{class pe{}return pe.\u0275fac=function(l){return new(l||pe)},pe.\u0275mod=D.oAB({type:pe}),pe.\u0275inj=D.cJS({imports:[[q.ud]]}),pe})(),si=(()=>{class pe{}return pe.\u0275fac=function(l){return new(l||pe)},pe.\u0275mod=D.oAB({type:pe}),pe.\u0275inj=D.cJS({providers:[x.rD],imports:[[Pi,He,x.BQ],Pi,He]}),pe})();w(6263);let qn=(()=>{class pe{}return pe.\u0275fac=function(l){return new(l||pe)},pe.\u0275mod=D.oAB({type:pe}),pe.\u0275inj=D.cJS({imports:[[x.BQ],x.BQ]}),pe})(),Ft=(()=>{class pe{}return pe.\u0275fac=function(l){return new(l||pe)},pe.\u0275mod=D.oAB({type:pe}),pe.\u0275inj=D.cJS({imports:[[x.uc,x.si,x.BQ,x.us,A.ez],x.uc,x.BQ,x.us,qn]}),pe})();var qt=w(3530);let Ri=(()=>{class pe{}return pe.\u0275fac=function(l){return new(l||pe)},pe.\u0275mod=D.oAB({type:pe}),pe.\u0275inj=D.cJS({imports:[[A.ez,x.BQ],x.BQ]}),pe})();function Si(pe,K){if(1&pe&&(D.O4$(),D._UZ(0,"circle",3)),2&pe){const l=D.oxw();D.Udp("animation-name","mat-progress-spinner-stroke-rotate-"+l._spinnerAnimationLabel)("stroke-dashoffset",l._getStrokeDashOffset(),"px")("stroke-dasharray",l._getStrokeCircumference(),"px")("stroke-width",l._getCircleStrokeWidth(),"%"),D.uIk("r",l._getCircleRadius())}}function Mr(pe,K){if(1&pe&&(D.O4$(),D._UZ(0,"circle",3)),2&pe){const l=D.oxw();D.Udp("stroke-dashoffset",l._getStrokeDashOffset(),"px")("stroke-dasharray",l._getStrokeCircumference(),"px")("stroke-width",l._getCircleStrokeWidth(),"%"),D.uIk("r",l._getCircleRadius())}}const ps=(0,x.pj)(class{constructor(pe){this._elementRef=pe}},"primary"),Qr=new D.OlP("mat-progress-spinner-default-options",{providedIn:"root",factory:function(){return{diameter:100}}});class Xi extends ps{constructor(K,l,d,p,S){super(K),this._document=d,this._diameter=100,this._value=0,this.mode="determinate";const k=Xi._diameters;this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),k.has(d.head)||k.set(d.head,new Set([100])),this._noopAnimations="NoopAnimations"===p&&!!S&&!S._forceAnimations,S&&(S.diameter&&(this.diameter=S.diameter),S.strokeWidth&&(this.strokeWidth=S.strokeWidth))}get diameter(){return this._diameter}set diameter(K){this._diameter=(0,Te.su)(K),this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),this._styleRoot&&this._attachStyleNode()}get strokeWidth(){return this._strokeWidth||this.diameter/10}set strokeWidth(K){this._strokeWidth=(0,Te.su)(K)}get value(){return"determinate"===this.mode?this._value:0}set value(K){this._value=Math.max(0,Math.min(100,(0,Te.su)(K)))}ngOnInit(){const K=this._elementRef.nativeElement;this._styleRoot=(0,q.kV)(K)||this._document.head,this._attachStyleNode(),K.classList.add("mat-progress-spinner-indeterminate-animation")}_getCircleRadius(){return(this.diameter-10)/2}_getViewBox(){const K=2*this._getCircleRadius()+this.strokeWidth;return`0 0 ${K} ${K}`}_getStrokeCircumference(){return 2*Math.PI*this._getCircleRadius()}_getStrokeDashOffset(){return"determinate"===this.mode?this._getStrokeCircumference()*(100-this._value)/100:null}_getCircleStrokeWidth(){return this.strokeWidth/this.diameter*100}_attachStyleNode(){const K=this._styleRoot,l=this._diameter,d=Xi._diameters;let p=d.get(K);if(!p||!p.has(l)){const S=this._document.createElement("style");S.setAttribute("mat-spinner-animation",this._spinnerAnimationLabel),S.textContent=this._getAnimationText(),K.appendChild(S),p||(p=new Set,d.set(K,p)),p.add(l)}}_getAnimationText(){const K=this._getStrokeCircumference();return"\n @keyframes mat-progress-spinner-stroke-rotate-DIAMETER {\n    0%      { stroke-dashoffset: START_VALUE;  transform: rotate(0); }\n    12.5%   { stroke-dashoffset: END_VALUE;    transform: rotate(0); }\n    12.5001%  { stroke-dashoffset: END_VALUE;    transform: rotateX(180deg) rotate(72.5deg); }\n    25%     { stroke-dashoffset: START_VALUE;  transform: rotateX(180deg) rotate(72.5deg); }\n\n    25.0001%   { stroke-dashoffset: START_VALUE;  transform: rotate(270deg); }\n    37.5%   { stroke-dashoffset: END_VALUE;    transform: rotate(270deg); }\n    37.5001%  { stroke-dashoffset: END_VALUE;    transform: rotateX(180deg) rotate(161.5deg); }\n    50%     { stroke-dashoffset: START_VALUE;  transform: rotateX(180deg) rotate(161.5deg); }\n\n    50.0001%  { stroke-dashoffset: START_VALUE;  transform: rotate(180deg); }\n    62.5%   { stroke-dashoffset: END_VALUE;    transform: rotate(180deg); }\n    62.5001%  { stroke-dashoffset: END_VALUE;    transform: rotateX(180deg) rotate(251.5deg); }\n    75%     { stroke-dashoffset: START_VALUE;  transform: rotateX(180deg) rotate(251.5deg); }\n\n    75.0001%  { stroke-dashoffset: START_VALUE;  transform: rotate(90deg); }\n    87.5%   { stroke-dashoffset: END_VALUE;    transform: rotate(90deg); }\n    87.5001%  { stroke-dashoffset: END_VALUE;    transform: rotateX(180deg) rotate(341.5deg); }\n    100%    { stroke-dashoffset: START_VALUE;  transform: rotateX(180deg) rotate(341.5deg); }\n  }\n".replace(/START_VALUE/g,""+.95*K).replace(/END_VALUE/g,""+.2*K).replace(/DIAMETER/g,`${this._spinnerAnimationLabel}`)}_getSpinnerAnimationLabel(){return this.diameter.toString().replace(".","_")}}Xi._diameters=new WeakMap,Xi.\u0275fac=function(K){return new(K||Xi)(D.Y36(D.SBq),D.Y36(q.t4),D.Y36(A.K0,8),D.Y36(Le.Qb,8),D.Y36(Qr))},Xi.\u0275cmp=D.Xpm({type:Xi,selectors:[["mat-progress-spinner"]],hostAttrs:["role","progressbar","tabindex","-1",1,"mat-progress-spinner"],hostVars:10,hostBindings:function(K,l){2&K&&(D.uIk("aria-valuemin","determinate"===l.mode?0:null)("aria-valuemax","determinate"===l.mode?100:null)("aria-valuenow","determinate"===l.mode?l.value:null)("mode",l.mode),D.Udp("width",l.diameter,"px")("height",l.diameter,"px"),D.ekj("_mat-animation-noopable",l._noopAnimations))},inputs:{color:"color",diameter:"diameter",strokeWidth:"strokeWidth",mode:"mode",value:"value"},exportAs:["matProgressSpinner"],features:[D.qOj],decls:3,vars:8,consts:[["preserveAspectRatio","xMidYMid meet","focusable","false","aria-hidden","true",3,"ngSwitch"],["cx","50%","cy","50%",3,"animation-name","stroke-dashoffset","stroke-dasharray","stroke-width",4,"ngSwitchCase"],["cx","50%","cy","50%",3,"stroke-dashoffset","stroke-dasharray","stroke-width",4,"ngSwitchCase"],["cx","50%","cy","50%"]],template:function(K,l){1&K&&(D.O4$(),D.TgZ(0,"svg",0),D.YNc(1,Si,1,9,"circle",1),D.YNc(2,Mr,1,7,"circle",2),D.qZA()),2&K&&(D.Udp("width",l.diameter,"px")("height",l.diameter,"px"),D.Q6J("ngSwitch","indeterminate"===l.mode),D.uIk("viewBox",l._getViewBox()),D.xp6(1),D.Q6J("ngSwitchCase",!0),D.xp6(1),D.Q6J("ngSwitchCase",!1))},directives:[A.RF,A.n9],styles:[".mat-progress-spinner{display:block;position:relative;overflow:hidden}.mat-progress-spinner svg{position:absolute;transform:rotate(-90deg);top:0;left:0;transform-origin:center;overflow:visible}.mat-progress-spinner circle{fill:transparent;transform-origin:center;transition:stroke-dashoffset 225ms linear}._mat-animation-noopable.mat-progress-spinner circle{transition:none;animation:none}.cdk-high-contrast-active .mat-progress-spinner circle{stroke:CanvasText}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{animation:mat-progress-spinner-linear-rotate 2000ms linear infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition-property:stroke;animation-duration:4000ms;animation-timing-function:cubic-bezier(0.35, 0, 0.25, 1);animation-iteration-count:infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition:none;animation:none}@keyframes mat-progress-spinner-linear-rotate{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes mat-progress-spinner-stroke-rotate-100{0%{stroke-dashoffset:268.606171575px;transform:rotate(0)}12.5%{stroke-dashoffset:56.5486677px;transform:rotate(0)}12.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(72.5deg)}25%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(72.5deg)}25.0001%{stroke-dashoffset:268.606171575px;transform:rotate(270deg)}37.5%{stroke-dashoffset:56.5486677px;transform:rotate(270deg)}37.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(161.5deg)}50%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(161.5deg)}50.0001%{stroke-dashoffset:268.606171575px;transform:rotate(180deg)}62.5%{stroke-dashoffset:56.5486677px;transform:rotate(180deg)}62.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(251.5deg)}75%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(251.5deg)}75.0001%{stroke-dashoffset:268.606171575px;transform:rotate(90deg)}87.5%{stroke-dashoffset:56.5486677px;transform:rotate(90deg)}87.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(341.5deg)}100%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(341.5deg)}}\n"],encapsulation:2,changeDetection:0});let Cn=(()=>{class pe{}return pe.\u0275fac=function(l){return new(l||pe)},pe.\u0275mod=D.oAB({type:pe}),pe.\u0275inj=D.cJS({imports:[[x.BQ,A.ez],x.BQ]}),pe})(),Ui=(()=>{class pe{}return pe.\u0275fac=function(l){return new(l||pe)},pe.\u0275mod=D.oAB({type:pe}),pe.\u0275inj=D.cJS({imports:[[A.ez,x.BQ],x.BQ]}),pe})();var Kr=w(9632);const oo={provide:new D.OlP("mat-tooltip-scroll-strategy"),deps:[u.aV],useFactory:function(pe){return()=>pe.scrollStrategies.reposition({scrollThrottle:20})}};let $s=(()=>{class pe{}return pe.\u0275fac=function(l){return new(l||pe)},pe.\u0275mod=D.oAB({type:pe}),pe.\u0275inj=D.cJS({providers:[oo],imports:[[B.rt,A.ez,u.U8,x.BQ],x.BQ,Me.ZD]}),pe})(),qr=(()=>{class pe{}return pe.\u0275fac=function(l){return new(l||pe)},pe.\u0275mod=D.oAB({type:pe}),pe.\u0275inj=D.cJS({imports:[[Yt.ot,qt.Tx,mr.Ps,Ii,Ui,Ri,fn,si,Ci,Kr.ZX,Cn,$s,Ft,xe],Yt.ot,qt.Tx,mr.Ps,Ii,Ui,Ri,fn,si,Ci,Kr.ZX,Cn,$s,Ft,xe]}),pe})();var _r=w(1659),Ys=w(5907);let Qs=(()=>{class pe{}return pe.\u0275fac=function(l){return new(l||pe)},pe.\u0275mod=D.oAB({type:pe}),pe.\u0275inj=D.cJS({imports:[[A.ez,qr,lt.UX,_r.Bz,Ys.mZ],A.ez,qr,Ys.mZ]}),pe})()},314:(xt,Ie,w)=>{"use strict";var u=w(5427),m=w(3668);var x=w(1659),ee=w(6019);const A=w(8573);let O=(()=>{class s{static isPalindrome(o){const c=Math.floor(o.length/2);for(let g=0;g<c;g++)if(o[g]!==o[o.length-g-1])return!1;return!0}static isBrowserValid(){return A.getParser(window.navigator.userAgent).satisfies({windows:{"internet explorer":">10"},macos:{safari:">10.1"},chrome:">20.1.1432",firefox:">31",opera:">22"})}}return s.\u0275fac=function(o){return new(o||s)},s.\u0275prov=m.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})();var F=w(9632);let z=new m.OlP("app.config");const X={topHeroesLimit:5,snackBarDuration:3e3,repositoryURL:"https://github.com/ismaestro/angular8-example-app",sentryDSN:"https://38434a1b115f41d3a31e356cdc496c06@sentry.io/1315526",cspDirectives:{defaultSrc:["'self'","data:","http://*.google-analytics.com","http://www.googletagmanager.com","https://*.google.com","https://*.google-analytics.com","https://*.googletagmanager.com","https://*.gstatic.com","https://*.googleapis.com","https://authedmine.com","https://az743702.vo.msecnd.net","https://sentry.io","ws://localhost:4200"],frameAncestors:["'self'"],upgradeInsecureRequests:!0,styleSrc:["'self'","'unsafe-inline'","https://*.googleapis.com"],scriptSrc:["'self'","'unsafe-inline'","http://*.googletagmanager.com","https://*.google-analytics.com"]}};var H=w(7244),U=w(86),j=w(3530);const B=function(){return["is-active"]};let q=(()=>{class s{constructor(o,c,g){this.appConfig=o,this.routesConfig=c,this.router=g,this.currentUrl=""}ngOnInit(){this.router.events.subscribe(o=>{o instanceof x.m2&&(this.currentUrl=o.url)})}}return s.\u0275fac=function(o){return new(o||s)(m.Y36(z),m.Y36(H.hm),m.Y36(x.F0))},s.\u0275cmp=m.Xpm({type:s,selectors:[["app-header"]],decls:33,vars:6,consts:[[1,"logo",3,"routerLink"],["src","./assets/images/logo.jpeg","alt",""],[1,"main-menu"],[1,"menu-list"],[1,"menu-item"],[1,"menu-item",3,"routerLink","routerLinkActive"],[1,"menu-list","is-mobile"],["mat-button","",3,"matMenuTriggerFor"],["menu","matMenu"],[1,"menu-item",2,"display","block","padding","4px 10px"],[2,"display","block","padding","4px 10px",3,"routerLink"],[1,"login-act"],["href","/login"]],template:function(o,c){if(1&o&&(m.TgZ(0,"header"),m.TgZ(1,"div",0),m._UZ(2,"img",1),m.qZA(),m.TgZ(3,"nav",2),m.TgZ(4,"div",3),m.TgZ(5,"a",4),m._uU(6," New "),m.qZA(),m.TgZ(7,"a",5),m._uU(8," Best "),m.qZA(),m.TgZ(9,"a",4),m._uU(10," Past "),m.qZA(),m.TgZ(11,"a",4),m._uU(12," Comments "),m.qZA(),m.TgZ(13,"a",4),m._uU(14," Ask "),m.qZA(),m.qZA(),m.TgZ(15,"div",6),m.TgZ(16,"button",7),m._uU(17,"Select Topic"),m.qZA(),m.TgZ(18,"mat-menu",null,8),m.TgZ(20,"a",9),m._uU(21," New "),m.qZA(),m.TgZ(22,"a",10),m._uU(23,"Best"),m.qZA(),m.TgZ(24,"a",9),m._uU(25," Past "),m.qZA(),m.TgZ(26,"a",9),m._uU(27," Comments "),m.qZA(),m.TgZ(28,"a",9),m._uU(29," Ask "),m.qZA(),m.qZA(),m.qZA(),m.TgZ(30,"div",11),m.TgZ(31,"a",12),m._uU(32," Login"),m.qZA(),m.qZA(),m.qZA(),m.qZA()),2&o){const g=m.MAs(19);m.xp6(1),m.Q6J("routerLink",c.routesConfig.routes.home),m.xp6(6),m.Q6J("routerLink",c.routesConfig.routes.home)("routerLinkActive",m.DdM(5,B)),m.xp6(9),m.Q6J("matMenuTriggerFor",g),m.xp6(6),m.Q6J("routerLink",c.routesConfig.routes.home)}},directives:[x.rH,x.yS,x.Od,U.lW,j.p6,j.VK],styles:[".container[_ngcontent-%COMP%]{margin:0 auto;max-width:960px;padding:0 15px}.container.is-fluid[_ngcontent-%COMP%]{max-width:initial}@media screen and (min-width: 768px){.container[_ngcontent-%COMP%]{max-width:720px}}@media screen and (min-width: 992px){.container[_ngcontent-%COMP%]{max-width:960px}}@media screen and (min-width: 1366px){.container[_ngcontent-%COMP%]{max-width:1280px}}app-header[_nghost-%COMP%]{padding-top:0;padding-bottom:80px;display:grid}app-header[_nghost-%COMP%]   .logo[_ngcontent-%COMP%]{width:50px;display:flex;align-items:center}app-header[_nghost-%COMP%]   .logo[_ngcontent-%COMP%] > img[_ngcontent-%COMP%]{width:100%;height:auto}app-header[_nghost-%COMP%]   header[_ngcontent-%COMP%]{position:fixed;z-index:999;width:100%;height:60px;padding:0 15px;box-shadow:1px 1px 10px #88888870;background:#fff;display:flex;align-items:stretch;justify-content:space-between;box-sizing:border-box}app-header[_nghost-%COMP%]   header[_ngcontent-%COMP%]   .login-act[_ngcontent-%COMP%]{align-self:center;margin-left:40px;padding:8px 20px;background-color:#fbb432;border-radius:8px;cursor:pointer;box-shadow:0 5px 20px #fbb4328f}app-header[_nghost-%COMP%]   header[_ngcontent-%COMP%]   .login-act[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]{font-size:12px;letter-spacing:1px;text-transform:uppercase;font-weight:500;color:#fff;text-decoration:none}app-header[_nghost-%COMP%]   header[_ngcontent-%COMP%]   nav[_ngcontent-%COMP%]{align-items:center;display:flex;flex-wrap:wrap;align-items:stretch;color:#000}app-header[_nghost-%COMP%]   header[_ngcontent-%COMP%]   nav[_ngcontent-%COMP%]   .mat-raised-button[_ngcontent-%COMP%]{color:#fbb432;margin-right:1rem}app-header[_nghost-%COMP%]   header[_ngcontent-%COMP%]   nav[_ngcontent-%COMP%]   .progress-bar[_ngcontent-%COMP%]{display:flex;align-content:center;align-items:center;height:.3125rem}app-header[_nghost-%COMP%]   header[_ngcontent-%COMP%]   nav[_ngcontent-%COMP%]   .menu-list[_ngcontent-%COMP%]{display:flex}app-header[_nghost-%COMP%]   header[_ngcontent-%COMP%]   nav[_ngcontent-%COMP%]   .menu-list.is-mobile[_ngcontent-%COMP%]{display:none}@media screen and (max-width: 576px){app-header[_nghost-%COMP%]   header[_ngcontent-%COMP%]   nav[_ngcontent-%COMP%]   .menu-list[_ngcontent-%COMP%]{display:none}app-header[_nghost-%COMP%]   header[_ngcontent-%COMP%]   nav[_ngcontent-%COMP%]   .menu-list.is-mobile[_ngcontent-%COMP%]{display:flex}}app-header[_nghost-%COMP%]   header[_ngcontent-%COMP%]   nav[_ngcontent-%COMP%]   .menu-item[_ngcontent-%COMP%]{display:flex;align-items:center;margin-left:20px;text-decoration:none;font-size:14px;padding:5px;color:#333;font-weight:500}app-header[_nghost-%COMP%]   header[_ngcontent-%COMP%]   nav[_ngcontent-%COMP%]   .menu-item.is-active[_ngcontent-%COMP%]{color:#fbb432;border-bottom:2px solid}app-header[_nghost-%COMP%]   header[_ngcontent-%COMP%]   nav[_ngcontent-%COMP%]   .icon__image[_ngcontent-%COMP%]{width:1.25rem;height:1.25rem}app-header[_nghost-%COMP%]   header[_ngcontent-%COMP%]   nav[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{vertical-align:middle}app-header[_nghost-%COMP%]   header[_ngcontent-%COMP%]   nav[_ngcontent-%COMP%]   #today[_ngcontent-%COMP%]{font-size:.7rem}app-header[_nghost-%COMP%]   header[_ngcontent-%COMP%]   nav[_ngcontent-%COMP%]   #logo[_ngcontent-%COMP%]{display:flex;margin-right:1rem}app-header[_nghost-%COMP%]   header[_ngcontent-%COMP%]   nav[_ngcontent-%COMP%]   #logo[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{width:4.25rem;height:4.25rem}app-header[_nghost-%COMP%]   header[_ngcontent-%COMP%]   nav[_ngcontent-%COMP%]   #logo[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:100%;height:auto;opacity:.8}app-header[_nghost-%COMP%]   header[_ngcontent-%COMP%]   nav[_ngcontent-%COMP%]   #logo[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]:hover{opacity:1}@media (max-width: 807px){#today[_ngcontent-%COMP%]{width:50%}#logo[_ngcontent-%COMP%]{display:none}}@media (max-width: 680px){app-header[_nghost-%COMP%]{padding-bottom:1rem}app-header[_nghost-%COMP%]   header[_ngcontent-%COMP%]{position:relative}app-header[_nghost-%COMP%]   header[_ngcontent-%COMP%]   nav[_ngcontent-%COMP%]{display:flex}app-header[_nghost-%COMP%]   header[_ngcontent-%COMP%]   nav[_ngcontent-%COMP%]   #today[_ngcontent-%COMP%]{margin-top:1rem}}@media (max-width: 425px){app-header[_nghost-%COMP%]   header[_ngcontent-%COMP%]   nav[_ngcontent-%COMP%]   app-search-bar[_ngcontent-%COMP%]{width:75%}}"]}),s})(),se=(()=>{class s{constructor(){}scrollTop(){window.scrollTo({top:0,behavior:"smooth"})}}return s.\u0275fac=function(o){return new(o||s)},s.\u0275cmp=m.Xpm({type:s,selectors:[["app-back-to-top"]],decls:2,vars:0,consts:[[1,"backtotop__wrap",3,"click"],[1,"backtotop"]],template:function(o,c){1&o&&(m.TgZ(0,"div",0),m.NdJ("click",function(){return c.scrollTop()}),m._UZ(1,"div",1),m.qZA())},styles:[".container[_ngcontent-%COMP%]{margin:0 auto;max-width:960px;padding:0 15px}.container.is-fluid[_ngcontent-%COMP%]{max-width:initial}@media screen and (min-width: 768px){.container[_ngcontent-%COMP%]{max-width:720px}}@media screen and (min-width: 992px){.container[_ngcontent-%COMP%]{max-width:960px}}@media screen and (min-width: 1366px){.container[_ngcontent-%COMP%]{max-width:1280px}}.backtotop[_ngcontent-%COMP%]{display:inline-block;border:10px solid transparent;border-bottom:10px solid #fff;transform:translateY(-5px)}.backtotop__wrap[_ngcontent-%COMP%]{cursor:pointer;position:fixed;width:40px;height:40px;border-radius:50%;right:50px;bottom:50px;background:#fbb432;box-shadow:0 5px 20px #fbb4328f;display:flex;align-items:center;justify-content:center}@media screen and (max-width: 576px){.backtotop__wrap[_ngcontent-%COMP%]{right:20px;bottom:20px}}"]}),s})(),fe=(()=>{class s{constructor(){}}return s.\u0275fac=function(o){return new(o||s)},s.\u0275cmp=m.Xpm({type:s,selectors:[["app-footer"]],decls:4,vars:0,consts:[["fxFlex","","fxLayout","row","fxLayout.xs","column","fxLayoutAlign","center center","class.xs","footer-xs"],["fxFlex","33",1,"text--center",2,"font-size","14px"]],template:function(o,c){1&o&&(m.TgZ(0,"footer"),m.TgZ(1,"div",0),m.TgZ(2,"div",1),m._uU(3," Angular Example App "),m.qZA(),m.qZA(),m.qZA())},styles:["footer[_ngcontent-%COMP%]{padding:.5rem 1rem;color:#333;background:#fbb432;margin-top:2rem;position:sticky;top:100%}footer[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:25%}.footer-xs[_ngcontent-%COMP%]{text-align:center;padding-top:1rem}"]}),s})();function Le(s,i){1&s&&m._UZ(0,"router-outlet")}function st(s,i){1&s&&(m.TgZ(0,"div"),m.TgZ(1,"p",2),m.SDv(2,3),m.qZA(),m.qZA())}let ft=(()=>{class s{constructor(o,c,g,E,T,Q,ke){this.title=o,this.meta=c,this.snackBar=g,this.router=E,this.renderer=T,this.isOnline=navigator.onLine,T.setAttribute(Q.documentElement,"lang",ke)}ngOnInit(){this.title.setTitle("App title"),this.onEvents(),this.checkBrowser()}onEvents(){this.router.events.subscribe(o=>{o instanceof x.m2&&"/"===o.urlAfterRedirects&&this.meta.updateTag({name:"description",content:"Home meta description"})})}checkBrowser(){O.isBrowserValid()?this.checkBrowserFeatures():this.snackBar.open("Change your browser","OK")}checkBrowserFeatures(){let o=!0;for(const c in Modernizr)if(Modernizr.hasOwnProperty(c)&&"boolean"==typeof Modernizr[c]&&!1===Modernizr[c]){o=!1;break}return o||this.snackBar.open("Update your browser","OK"),o}}return s.\u0275fac=function(o){return new(o||s)(m.Y36(u.Dx),m.Y36(u.h_),m.Y36(F.ux),m.Y36(x.F0),m.Y36(m.Qsj),m.Y36(ee.K0),m.Y36(m.soG))},s.\u0275cmp=m.Xpm({type:s,selectors:[["app-root"]],decls:7,vars:2,consts:function(){let i;return i="Without connection we can not load anything!",[[4,"ngIf","ngIfElse"],["isOffline",""],[1,"offline-error"],i]},template:function(o,c){if(1&o&&(m.TgZ(0,"div"),m._UZ(1,"app-header"),m.YNc(2,Le,1,0,"router-outlet",0),m.YNc(3,st,3,0,"ng-template",null,1,m.W1O),m.qZA(),m._UZ(5,"app-back-to-top"),m._UZ(6,"app-footer")),2&o){const g=m.MAs(4);m.xp6(2),m.Q6J("ngIf",c.isOnline)("ngIfElse",g)}},directives:[q,ee.O5,se,fe,x.lC],encapsulation:2}),s})();const Ke=void 0,ut=["es",[["a.\xa0m.","p.\xa0m."],Ke,Ke],Ke,[["D","L","M","X","J","V","S"],["dom","lun","mar","mi\xe9","jue","vie","s\xe1b"],["domingo","lunes","martes","mi\xe9rcoles","jueves","viernes","s\xe1bado"],["DO","LU","MA","MI","JU","VI","SA"]],Ke,[["E","F","M","A","M","J","J","A","S","O","N","D"],["ene","feb","mar","abr","may","jun","jul","ago","sept","oct","nov","dic"],["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre"]],Ke,[["a. C.","d. C."],Ke,["antes de Cristo","despu\xe9s de Cristo"]],1,[6,0],["d/M/yy","d MMM y","d 'de' MMMM 'de' y","EEEE, d 'de' MMMM 'de' y"],["H:mm","H:mm:ss","H:mm:ss z","H:mm:ss (zzzz)"],["{1} {0}",Ke,"{1}, {0}",Ke],[",",".",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0\xa0%","#,##0.00\xa0\xa4","#E0"],"EUR","\u20ac","euro",{AUD:[Ke,"$"],BRL:[Ke,"R$"],CAD:[Ke,"$"],CNY:[Ke,"\xa5"],EGP:[],ESP:["\u20a7"],GBP:[Ke,"\xa3"],HKD:[Ke,"$"],ILS:[Ke,"\u20aa"],INR:[Ke,"\u20b9"],JPY:[Ke,"\xa5"],KRW:[Ke,"\u20a9"],MXN:[Ke,"$"],NZD:[Ke,"$"],PHP:[Ke,"\u20b1"],RON:[Ke,"L"],THB:["\u0e3f"],TWD:[Ke,"NT$"],USD:["US$","$"],XAF:[],XCD:[Ke,"$"],XOF:[]},"ltr",function(s){return 1===s?1:5}];var Pe=w(4522),Ce=w(7714),ge=w(4762),V=w(5559),J=w(3788),le=w(9859),ve=w(4014),Ae=function(){function s(){this.getFragmentDoc=(0,J.re)(ve.Yk)}return s.prototype.batch=function(i){var g,o=this;return this.performTransaction(function(){return g=i.update(o)},"string"==typeof i.optimistic?i.optimistic:!1===i.optimistic?null:void 0),g},s.prototype.recordOptimisticTransaction=function(i,o){this.performTransaction(i,o)},s.prototype.transformDocument=function(i){return i},s.prototype.identify=function(i){},s.prototype.gc=function(){return[]},s.prototype.modify=function(i){return!1},s.prototype.transformForLink=function(i){return i},s.prototype.readQuery=function(i,o){return void 0===o&&(o=!!i.optimistic),this.read((0,ge.pi)((0,ge.pi)({},i),{rootId:i.id||"ROOT_QUERY",optimistic:o}))},s.prototype.readFragment=function(i,o){return void 0===o&&(o=!!i.optimistic),this.read((0,ge.pi)((0,ge.pi)({},i),{query:this.getFragmentDoc(i.fragment,i.fragmentName),rootId:i.id,optimistic:o}))},s.prototype.writeQuery=function(i){var o=i.id,c=i.data,g=(0,ge._T)(i,["id","data"]);return this.write(Object.assign(g,{dataId:o||"ROOT_QUERY",result:c}))},s.prototype.writeFragment=function(i){var o=i.id,c=i.data,g=i.fragment,E=i.fragmentName,T=(0,ge._T)(i,["id","data","fragment","fragmentName"]);return this.write(Object.assign(T,{query:this.getFragmentDoc(g,E),dataId:o,result:c}))},s.prototype.updateQuery=function(i,o){return this.batch({update:function(c){var g=c.readQuery(i),E=o(g);return null==E?g:(c.writeQuery((0,ge.pi)((0,ge.pi)({},i),{data:E})),E)}})},s.prototype.updateFragment=function(i,o){return this.batch({update:function(c){var g=c.readFragment(i),E=o(g);return null==E?g:(c.writeFragment((0,ge.pi)((0,ge.pi)({},i),{data:E})),E)}})},s}(),De=function(i,o,c,g){this.message=i,this.path=o,this.query=c,this.variables=g},qe=w(2813),ht=w(9033),Vt=w(6310),ze=w(346),it=w(6341),pt=w(6392),Dt=w(7003),It=w(6435);function xe(s){return __DEV__&&function(s){var i=new Set([s]);i.forEach(function(o){(0,It.s)(o)&&function(s){if(__DEV__&&!Object.isFrozen(s))try{Object.freeze(s)}catch(i){if(i instanceof TypeError)return null;throw i}return s}(o)===o&&Object.getOwnPropertyNames(o).forEach(function(c){(0,It.s)(o[c])&&i.add(o[c])})})}(s),s}var Te=w(7032),ae=Object.prototype.hasOwnProperty;function we(s,i){var o=s.__typename,c=s.id,g=s._id;if("string"==typeof o&&(i&&(i.keyObject=void 0!==c?{id:c}:void 0!==g?{_id:g}:void 0),void 0===c&&(c=g),void 0!==c))return"".concat(o,":").concat("number"==typeof c||"string"==typeof c?c:JSON.stringify(c))}var Me={dataIdFromObject:we,addTypename:!0,resultCaching:!0,canonizeResults:!1};function Ct(s){var i=s.canonizeResults;return void 0===i?Me.canonizeResults:i}var tn=/^[_a-z][_0-9a-z]*/i;function St(s){var i=s.match(tn);return i?i[0]:s}function de(s,i,o){return!!(0,It.s)(i)&&(Array.isArray(i)?i.every(function(c){return de(s,c,o)}):s.selections.every(function(c){if((0,qe.My)(c)&&(0,Dt.LZ)(c,o)){var g=(0,qe.u2)(c);return ae.call(i,g)&&(!c.selectionSet||de(c.selectionSet,i[g],o))}return!0}))}function he(s){return(0,It.s)(s)&&!(0,qe.Yk)(s)&&!Array.isArray(s)}var s,i,me=Object.create(null),Qe=function(){return me},Ne=Object.create(null),Ee=function(){function s(i,o){var c=this;this.policies=i,this.group=o,this.data=Object.create(null),this.rootIds=Object.create(null),this.refs=Object.create(null),this.getFieldValue=function(g,E){return xe((0,qe.Yk)(g)?c.get(g.__ref,E):g&&g[E])},this.canRead=function(g){return(0,qe.Yk)(g)?c.has(g.__ref):"object"==typeof g},this.toReference=function(g,E){if("string"==typeof g)return(0,qe.kQ)(g);if((0,qe.Yk)(g))return g;var T=c.policies.identify(g)[0];if(T){var Q=(0,qe.kQ)(T);return E&&c.merge(T,g),Q}}}return s.prototype.toObject=function(){return(0,ge.pi)({},this.data)},s.prototype.has=function(i){return void 0!==this.lookup(i,!0)},s.prototype.get=function(i,o){if(this.group.depend(i,o),ae.call(this.data,i)){var c=this.data[i];if(c&&ae.call(c,o))return c[o]}return"__typename"===o&&ae.call(this.policies.rootTypenamesById,i)?this.policies.rootTypenamesById[i]:this instanceof Ut?this.parent.get(i,o):void 0},s.prototype.lookup=function(i,o){return o&&this.group.depend(i,"__exists"),ae.call(this.data,i)?this.data[i]:this instanceof Ut?this.parent.lookup(i,o):this.policies.rootTypenamesById[i]?Object.create(null):void 0},s.prototype.merge=function(i,o){var g,c=this;(0,qe.Yk)(i)&&(i=i.__ref),(0,qe.Yk)(o)&&(o=o.__ref);var E="string"==typeof i?this.lookup(g=i):i,T="string"==typeof o?this.lookup(g=o):o;if(T){__DEV__?(0,V.kG)("string"==typeof g,"store.merge expects a string ID"):(0,V.kG)("string"==typeof g,1);var Q=new pt.w0(Wt).merge(E,T);if(this.data[g]=Q,Q!==E&&(delete this.refs[g],this.group.caching)){var ke=Object.create(null);E||(ke.__exists=1),Object.keys(T).forEach(function(re){if(!E||E[re]!==Q[re]){ke[re]=1;var nt=St(re);nt!==re&&!c.policies.hasKeyArgs(Q.__typename,nt)&&(ke[nt]=1),void 0===Q[re]&&!(c instanceof Ut)&&delete Q[re]}}),ke.__typename&&!(E&&E.__typename)&&this.policies.rootTypenamesById[g]===Q.__typename&&delete ke.__typename,Object.keys(ke).forEach(function(re){return c.group.dirty(g,re)})}}},s.prototype.modify=function(i,o){var c=this,g=this.lookup(i);if(g){var E=Object.create(null),T=!1,Q=!0,ke={DELETE:me,INVALIDATE:Ne,isReference:qe.Yk,toReference:this.toReference,canRead:this.canRead,readField:function(re,nt){return c.policies.readField("string"==typeof re?{fieldName:re,from:nt||(0,qe.kQ)(i)}:re,{store:c})}};if(Object.keys(g).forEach(function(re){var nt=St(re),Mt=g[re];if(void 0!==Mt){var at="function"==typeof o?o:o[re]||o[nt];if(at){var Pt=at===Qe?me:at(xe(Mt),(0,ge.pi)((0,ge.pi)({},ke),{fieldName:nt,storeFieldName:re,storage:c.getStorage(i,re)}));Pt===Ne?c.group.dirty(i,re):(Pt===me&&(Pt=void 0),Pt!==Mt&&(E[re]=Pt,T=!0,Mt=Pt))}void 0!==Mt&&(Q=!1)}}),T)return this.merge(i,E),Q&&(this instanceof Ut?this.data[i]=void 0:delete this.data[i],this.group.dirty(i,"__exists")),!0}return!1},s.prototype.delete=function(i,o,c){var g,E=this.lookup(i);if(E){var T=this.getFieldValue(E,"__typename"),Q=o&&c?this.policies.getStoreFieldName({typename:T,fieldName:o,args:c}):o;return this.modify(i,Q?((g={})[Q]=Qe,g):Qe)}return!1},s.prototype.evict=function(i,o){var c=!1;return i.id&&(ae.call(this.data,i.id)&&(c=this.delete(i.id,i.fieldName,i.args)),this instanceof Ut&&this!==o&&(c=this.parent.evict(i,o)||c),(i.fieldName||c)&&this.group.dirty(i.id,i.fieldName||"__exists")),c},s.prototype.clear=function(){this.replace(null)},s.prototype.extract=function(){var i=this,o=this.toObject(),c=[];return this.getRootIdSet().forEach(function(g){ae.call(i.policies.rootTypenamesById,g)||c.push(g)}),c.length&&(o.__META={extraRootIds:c.sort()}),o},s.prototype.replace=function(i){var o=this;if(Object.keys(this.data).forEach(function(E){i&&ae.call(i,E)||o.delete(E)}),i){var c=i.__META,g=(0,ge._T)(i,["__META"]);Object.keys(g).forEach(function(E){o.merge(E,g[E])}),c&&c.extraRootIds.forEach(this.retain,this)}},s.prototype.retain=function(i){return this.rootIds[i]=(this.rootIds[i]||0)+1},s.prototype.release=function(i){if(this.rootIds[i]>0){var o=--this.rootIds[i];return o||delete this.rootIds[i],o}return 0},s.prototype.getRootIdSet=function(i){return void 0===i&&(i=new Set),Object.keys(this.rootIds).forEach(i.add,i),this instanceof Ut?this.parent.getRootIdSet(i):Object.keys(this.policies.rootTypenamesById).forEach(i.add,i),i},s.prototype.gc=function(){var i=this,o=this.getRootIdSet(),c=this.toObject();o.forEach(function(T){ae.call(c,T)&&(Object.keys(i.findChildRefIds(T)).forEach(o.add,o),delete c[T])});var g=Object.keys(c);if(g.length){for(var E=this;E instanceof Ut;)E=E.parent;g.forEach(function(T){return E.delete(T)})}return g},s.prototype.findChildRefIds=function(i){if(!ae.call(this.refs,i)){var o=this.refs[i]=Object.create(null),c=this.data[i];if(!c)return o;var g=new Set([c]);g.forEach(function(E){(0,qe.Yk)(E)&&(o[E.__ref]=!0),(0,It.s)(E)&&Object.keys(E).forEach(function(T){var Q=E[T];(0,It.s)(Q)&&g.add(Q)})})}return this.refs[i]},s.prototype.makeCacheKey=function(){return this.group.keyMaker.lookupArray(arguments)},s}(),Ve=function(){function s(i,o){void 0===o&&(o=null),this.caching=i,this.parent=o,this.d=null,this.resetCaching()}return s.prototype.resetCaching=function(){this.d=this.caching?(0,J.dP)():null,this.keyMaker=new Te.B(Vt.mr)},s.prototype.depend=function(i,o){if(this.d){this.d(vt(i,o));var c=St(o);c!==o&&this.d(vt(i,c)),this.parent&&this.parent.depend(i,o)}},s.prototype.dirty=function(i,o){this.d&&this.d.dirty(vt(i,o),"__exists"===o?"forget":"setDirty")},s}();function vt(s,i){return i+"#"+s}function Tt(s,i){sn(s)&&s.group.depend(i,"__exists")}i=function(o){function c(g){var T=g.resultCaching,ke=g.seed,re=o.call(this,g.policies,new Ve(void 0===T||T))||this;return re.stump=new kt(re),re.storageTrie=new Te.B(Vt.mr),ke&&re.replace(ke),re}return(0,ge.ZT)(c,o),c.prototype.addLayer=function(g,E){return this.stump.addLayer(g,E)},c.prototype.removeLayer=function(){return this},c.prototype.getStorage=function(){return this.storageTrie.lookupArray(arguments)},c}(s=Ee||(Ee={})),s.Root=i;var Ut=function(s){function i(o,c,g,E){var T=s.call(this,c.policies,E)||this;return T.id=o,T.parent=c,T.replay=g,T.group=E,g(T),T}return(0,ge.ZT)(i,s),i.prototype.addLayer=function(o,c){return new i(o,this,c,this.group)},i.prototype.removeLayer=function(o){var c=this,g=this.parent.removeLayer(o);return o===this.id?(this.group.caching&&Object.keys(this.data).forEach(function(E){var T=c.data[E],Q=g.lookup(E);Q?T?T!==Q&&Object.keys(T).forEach(function(ke){(0,le.D)(T[ke],Q[ke])||c.group.dirty(E,ke)}):(c.group.dirty(E,"__exists"),Object.keys(Q).forEach(function(ke){c.group.dirty(E,ke)})):c.delete(E)}),g):g===this.parent?this:g.addLayer(this.id,this.replay)},i.prototype.toObject=function(){return(0,ge.pi)((0,ge.pi)({},this.parent.toObject()),this.data)},i.prototype.findChildRefIds=function(o){var c=this.parent.findChildRefIds(o);return ae.call(this.data,o)?(0,ge.pi)((0,ge.pi)({},c),s.prototype.findChildRefIds.call(this,o)):c},i.prototype.getStorage=function(){for(var o=this.parent;o.parent;)o=o.parent;return o.getStorage.apply(o,arguments)},i}(Ee),kt=function(s){function i(o){return s.call(this,"EntityStore.Stump",o,function(){},new Ve(o.group.caching,o.group))||this}return(0,ge.ZT)(i,s),i.prototype.removeLayer=function(){return this},i.prototype.merge=function(){return this.parent.merge.apply(this.parent,arguments)},i}(Ut);function Wt(s,i,o){var c=s[o],g=i[o];return(0,le.D)(c,g)?c:g}function sn(s){return!!(s instanceof Ee&&s.group.caching)}var Pn=w(9159);function Wn(s){return[s.selectionSet,s.objectOrReference,s.context,s.context.canonizeResults]}var un=function(){function s(i){var o=this;this.knownResults=new(Vt.mr?WeakMap:Map),this.config=(0,ze.o)(i,{addTypename:!1!==i.addTypename,canonizeResults:Ct(i)}),this.canon=i.canon||new Pn.h,this.executeSelectionSet=(0,J.re)(function(c){var g,E=c.context.canonizeResults,T=Wn(c);T[3]=!E;var Q=(g=o.executeSelectionSet).peek.apply(g,T);return Q?E?(0,ge.pi)((0,ge.pi)({},Q),{result:o.canon.admit(Q.result)}):Q:(Tt(c.context.store,c.enclosingRef.__ref),o.execSelectionSetImpl(c))},{max:this.config.resultCacheMaxSize,keyArgs:Wn,makeCacheKey:function(c,g,E,T){if(sn(E.store))return E.store.makeCacheKey(c,(0,qe.Yk)(g)?g.__ref:g,E.varString,T)}}),this.executeSubSelectedArray=(0,J.re)(function(c){return Tt(c.context.store,c.enclosingRef.__ref),o.execSubSelectedArrayImpl(c)},{max:this.config.resultCacheMaxSize,makeCacheKey:function(c){var g=c.field,E=c.array,T=c.context;if(sn(T.store))return T.store.makeCacheKey(g,E,T.varString)}})}return s.prototype.resetCanon=function(){this.canon=new Pn.h},s.prototype.diffQueryAgainstStore=function(i){var o=i.store,c=i.query,g=i.rootId,E=void 0===g?"ROOT_QUERY":g,T=i.variables,Q=i.returnPartialData,ke=void 0===Q||Q,re=i.canonizeResults,nt=void 0===re?this.config.canonizeResults:re,Mt=this.config.cache.policies;T=(0,ge.pi)((0,ge.pi)({},(0,it.O4)((0,it.iW)(c))),T);var bn,at=(0,qe.kQ)(E),Pt=new pt.w0,nn=this.executeSelectionSet({selectionSet:(0,it.p$)(c).selectionSet,objectOrReference:at,enclosingRef:at,context:{store:o,query:c,policies:Mt,variables:T,varString:(0,Pn.B)(T),canonizeResults:nt,fragmentMap:(0,ve.F)((0,it.kU)(c)),merge:function(Un,vi){return Pt.merge(Un,vi)}}});if(nn.missing&&(bn=[new De(Ln(nn.missing),nn.missing,c,T)],!ke))throw bn[0];return{result:nn.result,complete:!bn,missing:bn}},s.prototype.isFresh=function(i,o,c,g){if(sn(g.store)&&this.knownResults.get(i)===c){var E=this.executeSelectionSet.peek(c,o,g,this.canon.isKnown(i));if(E&&i===E.result)return!0}return!1},s.prototype.execSelectionSetImpl=function(i){var o=this,c=i.selectionSet,g=i.objectOrReference,E=i.enclosingRef,T=i.context;if((0,qe.Yk)(g)&&!T.policies.rootTypenamesById[g.__ref]&&!T.store.has(g.__ref))return{result:this.canon.empty,missing:"Dangling reference to missing ".concat(g.__ref," object")};var at,Q=T.variables,ke=T.policies,nt=T.store.getFieldValue(g,"__typename"),Mt={};function Pt(vi,ki){var _i;return vi.missing&&(at=T.merge(at,((_i={})[ki]=vi.missing,_i))),vi.result}this.config.addTypename&&"string"==typeof nt&&!ke.rootIdsByTypename[nt]&&(Mt={__typename:nt});var nn=new Set(c.selections);nn.forEach(function(vi){var ki,_i;if((0,Dt.LZ)(vi,Q))if((0,qe.My)(vi)){var di=ke.readField({fieldName:vi.name.value,field:vi,variables:T.variables,from:g},T),Or=(0,qe.u2)(vi);void 0===di?ht.Gw.added(vi)||(at=T.merge(at,((ki={})[Or]="Can't find field '".concat(vi.name.value,"' on ").concat((0,qe.Yk)(g)?g.__ref+" object":"object "+JSON.stringify(g,null,2)),ki))):Array.isArray(di)?di=Pt(o.executeSubSelectedArray({field:vi,array:di,enclosingRef:E,context:T}),Or):vi.selectionSet?null!=di&&(di=Pt(o.executeSelectionSet({selectionSet:vi.selectionSet,objectOrReference:di,enclosingRef:(0,qe.Yk)(di)?di:E,context:T}),Or)):T.canonizeResults&&(di=o.canon.pass(di)),void 0!==di&&(Mt=T.merge(Mt,((_i={})[Or]=di,_i)))}else{var Xs=(0,ve.hi)(vi,T.fragmentMap);Xs&&ke.fragmentMatches(Xs,nt)&&Xs.selectionSet.selections.forEach(nn.add,nn)}});var bn={result:Mt,missing:at},Un=T.canonizeResults?this.canon.admit(bn):xe(bn);return Un.result&&this.knownResults.set(Un.result,c),Un},s.prototype.execSubSelectedArrayImpl=function(i){var Q,o=this,c=i.field,g=i.array,E=i.enclosingRef,T=i.context;function ke(re,nt){var Mt;return re.missing&&(Q=T.merge(Q,((Mt={})[nt]=re.missing,Mt))),re.result}return c.selectionSet&&(g=g.filter(T.store.canRead)),g=g.map(function(re,nt){return null===re?null:Array.isArray(re)?ke(o.executeSubSelectedArray({field:c,array:re,enclosingRef:E,context:T}),nt):c.selectionSet?ke(o.executeSelectionSet({selectionSet:c.selectionSet,objectOrReference:re,enclosingRef:(0,qe.Yk)(re)?re:E,context:T}),nt):(__DEV__&&function(s,i,o){if(!i.selectionSet){var c=new Set([o]);c.forEach(function(g){(0,It.s)(g)&&(__DEV__?(0,V.kG)(!(0,qe.Yk)(g),"Missing selection set for object of type ".concat(function(s,i){return(0,qe.Yk)(i)?s.get(i.__ref,"__typename"):i&&i.__typename}(s,g)," returned for query field ").concat(i.name.value)):(0,V.kG)(!(0,qe.Yk)(g),5),Object.values(g).forEach(c.add,c))})}}(T.store,c,re),re)}),{result:T.canonizeResults?this.canon.admit(g):g,missing:Q}},s}();function Ln(s){try{JSON.stringify(s,function(i,o){if("string"==typeof o)throw o;return o})}catch(i){return i}}var hn=w(1615),Mn=w(5261),mt=w(1690),ot=w(1405),Nt=Object.create(null);function an(s){var i=JSON.stringify(s);return Nt[i]||(Nt[i]=Object.create(null))}function je(s){var i=an(s);return i.keyFieldsFn||(i.keyFieldsFn=function(o,c){var g=function(T,Q){return c.readField(Q,T)},E=c.keyObject=tt(s,function(T){var Q=W(c.storeObject,T,g);return void 0===Q&&o!==c.storeObject&&ae.call(o,T[0])&&(Q=W(o,T,te)),__DEV__?(0,V.kG)(void 0!==Q,"Missing field '".concat(T.join("."),"' while extracting keyFields from ").concat(JSON.stringify(o))):(0,V.kG)(void 0!==Q,2),Q});return"".concat(c.typename,":").concat(JSON.stringify(E))})}function We(s){var i=an(s);return i.keyArgsFn||(i.keyArgsFn=function(o,c){var g=c.field,E=c.variables,T=c.fieldName,Q=tt(s,function(re){var nt=re[0],Mt=nt.charAt(0);if("@"!==Mt)if("$"!==Mt){if(o)return W(o,re)}else{var bn=nt.slice(1);if(E&&ae.call(E,bn)){var Un=re.slice(0);return Un[0]=bn,W(E,Un)}}else if(g&&(0,Mn.O)(g.directives)){var at=nt.slice(1),Pt=g.directives.find(function(vi){return vi.name.value===at}),nn=Pt&&(0,qe.NC)(Pt,E);return nn&&W(nn,re.slice(1))}}),ke=JSON.stringify(Q);return(o||"{}"!==ke)&&(T+=":"+ke),T})}function tt(s,i){var o=new pt.w0;return Y(s).reduce(function(c,g){var E,T=i(g);if(void 0!==T){for(var Q=g.length-1;Q>=0;--Q)(E={})[g[Q]]=T,T=E;c=o.merge(c,T)}return c},Object.create(null))}function Y(s){var i=an(s);if(!i.paths){var o=i.paths=[],c=[];s.forEach(function(g,E){Array.isArray(g)?(Y(g).forEach(function(T){return o.push(c.concat(T))}),c.length=0):(c.push(g),Array.isArray(s[E+1])||(o.push(c.slice(0)),c.length=0))})}return i.paths}function te(s,i){return s[i]}function W(s,i,o){return o=o||te,be(i.reduce(function c(g,E){return Array.isArray(g)?g.map(function(T){return c(T,E)}):g&&o(g,E)},s))}function be(s){return(0,It.s)(s)?Array.isArray(s)?s.map(be):tt(Object.keys(s).sort(),function(i){return W(s,i)}):s}function Ue(s){return void 0!==s.args?s.args:s.field?(0,qe.NC)(s.field,s.variables):null}qe.PT.setStringify(Pn.B);var _e=function(){},Oe=function(s,i){return i.fieldName},ce=function(s,i,o){return(0,o.mergeObjects)(s,i)},He=function(s,i){return i},Et=function(){function s(i){this.config=i,this.typePolicies=Object.create(null),this.toBeAdded=Object.create(null),this.supertypeMap=new Map,this.fuzzySubtypes=new Map,this.rootIdsByTypename=Object.create(null),this.rootTypenamesById=Object.create(null),this.usingPossibleTypes=!1,this.config=(0,ge.pi)({dataIdFromObject:we},i),this.cache=this.config.cache,this.setRootTypename("Query"),this.setRootTypename("Mutation"),this.setRootTypename("Subscription"),i.possibleTypes&&this.addPossibleTypes(i.possibleTypes),i.typePolicies&&this.addTypePolicies(i.typePolicies)}return s.prototype.identify=function(i,o){var c,g=this,E=o&&(o.typename||(null===(c=o.storeObject)||void 0===c?void 0:c.__typename))||i.__typename;if(E===this.rootTypenamesById.ROOT_QUERY)return["ROOT_QUERY"];for(var ke,T=o&&o.storeObject||i,Q=(0,ge.pi)((0,ge.pi)({},o),{typename:E,storeObject:T,readField:o&&o.readField||function(){var at=dn(arguments,T);return g.readField(at,{store:g.cache.data,variables:at.variables})}}),re=E&&this.getTypePolicy(E),nt=re&&re.keyFn||this.config.dataIdFromObject;nt;){var Mt=nt(i,Q);if(!Array.isArray(Mt)){ke=Mt;break}nt=je(Mt)}return ke=ke?String(ke):void 0,Q.keyObject?[ke,Q.keyObject]:[ke]},s.prototype.addTypePolicies=function(i){var o=this;Object.keys(i).forEach(function(c){var g=i[c],E=g.queryType,T=g.mutationType,Q=g.subscriptionType,ke=(0,ge._T)(g,["queryType","mutationType","subscriptionType"]);E&&o.setRootTypename("Query",c),T&&o.setRootTypename("Mutation",c),Q&&o.setRootTypename("Subscription",c),ae.call(o.toBeAdded,c)?o.toBeAdded[c].push(ke):o.toBeAdded[c]=[ke]})},s.prototype.updateTypePolicy=function(i,o){var c=this,g=this.getTypePolicy(i),E=o.keyFields,T=o.fields;function Q(ke,re){ke.merge="function"==typeof re?re:!0===re?ce:!1===re?He:ke.merge}Q(g,o.merge),g.keyFn=!1===E?_e:Array.isArray(E)?je(E):"function"==typeof E?E:g.keyFn,T&&Object.keys(T).forEach(function(ke){var re=c.getFieldPolicy(i,ke,!0),nt=T[ke];if("function"==typeof nt)re.read=nt;else{var Mt=nt.keyArgs,at=nt.read,Pt=nt.merge;re.keyFn=!1===Mt?Oe:Array.isArray(Mt)?We(Mt):"function"==typeof Mt?Mt:re.keyFn,"function"==typeof at&&(re.read=at),Q(re,Pt)}re.read&&re.merge&&(re.keyFn=re.keyFn||Oe)})},s.prototype.setRootTypename=function(i,o){void 0===o&&(o=i);var c="ROOT_"+i.toUpperCase(),g=this.rootTypenamesById[c];o!==g&&(__DEV__?(0,V.kG)(!g||g===i,"Cannot change root ".concat(i," __typename more than once")):(0,V.kG)(!g||g===i,3),g&&delete this.rootIdsByTypename[g],this.rootIdsByTypename[o]=c,this.rootTypenamesById[c]=o)},s.prototype.addPossibleTypes=function(i){var o=this;this.usingPossibleTypes=!0,Object.keys(i).forEach(function(c){o.getSupertypeSet(c,!0),i[c].forEach(function(g){o.getSupertypeSet(g,!0).add(c);var E=g.match(tn);(!E||E[0]!==g)&&o.fuzzySubtypes.set(g,new RegExp(g))})})},s.prototype.getTypePolicy=function(i){var o=this;if(!ae.call(this.typePolicies,i)){var c=this.typePolicies[i]=Object.create(null);c.fields=Object.create(null);var g=this.supertypeMap.get(i);g&&g.size&&g.forEach(function(T){var Q=o.getTypePolicy(T),ke=Q.fields,re=(0,ge._T)(Q,["fields"]);Object.assign(c,re),Object.assign(c.fields,ke)})}var E=this.toBeAdded[i];return E&&E.length&&E.splice(0).forEach(function(T){o.updateTypePolicy(i,T)}),this.typePolicies[i]},s.prototype.getFieldPolicy=function(i,o,c){if(i){var g=this.getTypePolicy(i).fields;return g[o]||c&&(g[o]=Object.create(null))}},s.prototype.getSupertypeSet=function(i,o){var c=this.supertypeMap.get(i);return!c&&o&&this.supertypeMap.set(i,c=new Set),c},s.prototype.fragmentMatches=function(i,o,c,g){var E=this;if(!i.typeCondition)return!0;if(!o)return!1;var T=i.typeCondition.name.value;if(o===T)return!0;if(this.usingPossibleTypes&&this.supertypeMap.has(T))for(var Q=this.getSupertypeSet(o,!0),ke=[Q],re=function(nn){var bn=E.getSupertypeSet(nn,!1);bn&&bn.size&&ke.indexOf(bn)<0&&ke.push(bn)},nt=!(!c||!this.fuzzySubtypes.size),Mt=!1,at=0;at<ke.length;++at){var Pt=ke[at];if(Pt.has(T))return Q.has(T)||(Mt&&__DEV__&&V.kG.warn("Inferring subtype ".concat(o," of supertype ").concat(T)),Q.add(T)),!0;Pt.forEach(re),nt&&at===ke.length-1&&de(i.selectionSet,c,g)&&(nt=!1,Mt=!0,this.fuzzySubtypes.forEach(function(nn,bn){var Un=o.match(nn);Un&&Un[0]===o&&re(bn)}))}return!1},s.prototype.hasKeyArgs=function(i,o){var c=this.getFieldPolicy(i,o,!1);return!(!c||!c.keyFn)},s.prototype.getStoreFieldName=function(i){var E,o=i.typename,c=i.fieldName,g=this.getFieldPolicy(o,c,!1),T=g&&g.keyFn;if(T&&o)for(var Q={typename:o,fieldName:c,field:i.field||null,variables:i.variables},ke=Ue(i);T;){var re=T(ke,Q);if(!Array.isArray(re)){E=re||c;break}T=We(re)}return void 0===E&&(E=i.field?(0,qe.vf)(i.field,i.variables):(0,qe.PT)(c,Ue(i))),!1===E?c:c===St(E)?E:c+":"+E},s.prototype.readField=function(i,o){var c=i.from;if(c&&(i.field||i.fieldName)){if(void 0===i.typename){var E=o.store.getFieldValue(c,"__typename");E&&(i.typename=E)}var T=this.getStoreFieldName(i),Q=St(T),ke=o.store.getFieldValue(c,T),re=this.getFieldPolicy(i.typename,Q,!1),nt=re&&re.read;if(nt){var Mt=Ht(this,c,i,o,o.store.getStorage((0,qe.Yk)(c)?c.__ref:c,T));return ot.ab.withValue(this.cache,nt,[ke,Mt])}return ke}},s.prototype.getReadFunction=function(i,o){var c=this.getFieldPolicy(i,o,!1);return c&&c.read},s.prototype.getMergeFunction=function(i,o,c){var g=this.getFieldPolicy(i,o,!1),E=g&&g.merge;return!E&&c&&(E=(g=this.getTypePolicy(c))&&g.merge),E},s.prototype.runMergeFunction=function(i,o,c,g,E){var T=c.field,Q=c.typename,ke=c.merge;return ke===ce?An(g.store)(i,o):ke===He?o:(g.overwrite&&(i=void 0),ke(i,o,Ht(this,void 0,{typename:Q,fieldName:T.name.value,field:T,variables:g.variables},g,E||Object.create(null))))},s}();function Ht(s,i,o,c,g){var E=s.getStoreFieldName(o),T=St(E),Q=o.variables||c.variables,ke=c.store,re=ke.toReference,nt=ke.canRead;return{args:Ue(o),field:o.field||null,fieldName:T,storeFieldName:E,variables:Q,isReference:qe.Yk,toReference:re,storage:g,cache:s.cache,canRead:nt,readField:function(){return s.readField(dn(arguments,i,c),c)},mergeObjects:An(c.store)}}function dn(s,i,o){var T,c=s[0];return"string"==typeof c?T={fieldName:c,from:s.length>1?s[1]:i}:(T=(0,ge.pi)({},c),ae.call(T,"from")||(T.from=i)),__DEV__&&void 0===T.from&&__DEV__&&V.kG.warn("Undefined 'from' passed to readField with arguments ".concat(function(s){var i=(0,mt.X)("stringifyForDisplay");return JSON.stringify(s,function(o,c){return void 0===c?i:c}).split(JSON.stringify(i)).join("<undefined>")}(Array.from(s)))),void 0===T.variables&&(T.variables=o),T}function An(s){return function(o,c){if(Array.isArray(o)||Array.isArray(c))throw __DEV__?new V.ej("Cannot automatically merge arrays"):new V.ej(4);if((0,It.s)(o)&&(0,It.s)(c)){var g=s.getFieldValue(o,"__typename"),E=s.getFieldValue(c,"__typename");if(g&&E&&g!==E)return c;if((0,qe.Yk)(o)&&he(c))return s.merge(o.__ref,c),o;if(he(o)&&(0,qe.Yk)(c))return s.merge(o,c.__ref),c;if(he(o)&&he(c))return(0,ge.pi)((0,ge.pi)({},o),c)}return c}}function jn(s,i,o){var c="".concat(i).concat(o),g=s.flavors.get(c);return g||s.flavors.set(c,g=s.clientOnly===i&&s.deferred===o?s:(0,ge.pi)((0,ge.pi)({},s),{clientOnly:i,deferred:o})),g}var Qt=function(){function s(i,o){this.cache=i,this.reader=o}return s.prototype.writeToStore=function(i,o){var c=this,g=o.query,E=o.result,T=o.dataId,Q=o.variables,ke=o.overwrite,re=(0,it.$H)(g),nt=new pt.w0;Q=(0,ge.pi)((0,ge.pi)({},(0,it.O4)(re)),Q);var Mt={store:i,written:Object.create(null),merge:function(Pt,nn){return nt.merge(Pt,nn)},variables:Q,varString:(0,Pn.B)(Q),fragmentMap:(0,ve.F)((0,it.kU)(g)),overwrite:!!ke,incomingById:new Map,clientOnly:!1,deferred:!1,flavors:new Map},at=this.processSelectionSet({result:E||Object.create(null),dataId:T,selectionSet:re.selectionSet,mergeTree:{map:new Map},context:Mt});if(!(0,qe.Yk)(at))throw __DEV__?new V.ej("Could not identify object ".concat(JSON.stringify(E))):new V.ej(6);return Mt.incomingById.forEach(function(Pt,nn){var bn=Pt.storeObject,Un=Pt.mergeTree,vi=Pt.fieldNodeSet,ki=(0,qe.kQ)(nn);if(Un&&Un.map.size){var _i=c.applyMerges(Un,ki,bn,Mt);if((0,qe.Yk)(_i))return;bn=_i}if(__DEV__&&!Mt.overwrite){var di=Object.create(null);vi.forEach(function(Er){Er.selectionSet&&(di[Er.name.value]=!0)}),Object.keys(bn).forEach(function(Er){(function(Er){return!0===di[St(Er)]})(Er)&&!function(Er){var Es=Un&&Un.map.get(Er);return Boolean(Es&&Es.info&&Es.info.merge)}(Er)&&function(s,i,o,c){var g=function(Mt){var at=c.getFieldValue(Mt,o);return"object"==typeof at&&at},E=g(s);if(E){var T=g(i);if(T&&!(0,qe.Yk)(E)&&!(0,le.D)(E,T)&&!Object.keys(E).every(function(Mt){return void 0!==c.getFieldValue(T,Mt)})){var Q=c.getFieldValue(s,"__typename")||c.getFieldValue(i,"__typename"),ke=St(o),re="".concat(Q,".").concat(ke);if(!$.has(re)){$.add(re);var nt=[];!Array.isArray(E)&&!Array.isArray(T)&&[E,T].forEach(function(Mt){var at=c.getFieldValue(Mt,"__typename");"string"==typeof at&&!nt.includes(at)&&nt.push(at)}),__DEV__&&V.kG.warn("Cache data may be lost when replacing the ".concat(ke," field of a ").concat(Q," object.\n\nTo address this problem (which is not a bug in Apollo Client), ").concat(nt.length?"either ensure all objects of type "+nt.join(" and ")+" have an ID or a custom merge function, or ":"","define a custom merge function for the ").concat(re," field, so InMemoryCache can safely merge these objects:\n\n  existing: ").concat(JSON.stringify(E).slice(0,1e3),"\n  incoming: ").concat(JSON.stringify(T).slice(0,1e3),"\n\nFor more information about these options, please refer to the documentation:\n\n  * Ensuring entity objects have IDs: https://go.apollo.dev/c/generating-unique-identifiers\n  * Defining custom merge functions: https://go.apollo.dev/c/merging-non-normalized-objects\n"))}}}}(ki,bn,Er,Mt.store)})}i.merge(nn,bn)}),i.retain(at.__ref),at},s.prototype.processSelectionSet=function(i){var o=this,c=i.dataId,g=i.result,E=i.selectionSet,T=i.context,Q=i.mergeTree,ke=this.cache.policies,re=Object.create(null),nt=c&&ke.rootTypenamesById[c]||(0,qe.qw)(g,E,T.fragmentMap)||c&&T.store.get(c,"__typename");"string"==typeof nt&&(re.__typename=nt);var Mt=function(){var _i=dn(arguments,re,T.variables);if((0,qe.Yk)(_i.from)){var di=T.incomingById.get(_i.from.__ref);if(di){var Or=ke.readField((0,ge.pi)((0,ge.pi)({},_i),{from:di.storeObject}),T);if(void 0!==Or)return Or}}return ke.readField(_i,T)},at=new Set;this.flattenFields(E,g,T,nt).forEach(function(_i,di){var Or,Xs=(0,qe.u2)(di),Er=g[Xs];if(at.add(di),void 0!==Er){var Es=ke.getStoreFieldName({typename:nt,fieldName:di.name.value,field:di,variables:_i.variables}),bl=Qn(Q,Es),Io=o.processFieldValue(Er,di,di.selectionSet?jn(_i,!1,!1):_i,bl),El=void 0;di.selectionSet&&((0,qe.Yk)(Io)||he(Io))&&(El=Mt("__typename",Io));var ha=ke.getMergeFunction(nt,di.name.value,El);ha?bl.info={field:di,typename:nt,merge:ha}:R(Q,Es),re=_i.merge(re,((Or={})[Es]=Io,Or))}else __DEV__&&!_i.clientOnly&&!_i.deferred&&!ht.Gw.added(di)&&!ke.getReadFunction(nt,di.name.value)&&__DEV__&&V.kG.error("Missing field '".concat((0,qe.u2)(di),"' while writing result ").concat(JSON.stringify(g,null,2)).substring(0,1e3))});try{var Pt=ke.identify(g,{typename:nt,selectionSet:E,fragmentMap:T.fragmentMap,storeObject:re,readField:Mt}),bn=Pt[1];c=c||Pt[0],bn&&(re=T.merge(re,bn))}catch(_i){if(!c)throw _i}if("string"==typeof c){var Un=(0,qe.kQ)(c),vi=T.written[c]||(T.written[c]=[]);if(vi.indexOf(E)>=0||(vi.push(E),this.reader&&this.reader.isFresh(g,Un,E,T)))return Un;var ki=T.incomingById.get(c);return ki?(ki.storeObject=T.merge(ki.storeObject,re),ki.mergeTree=fi(ki.mergeTree,Q),at.forEach(function(_i){return ki.fieldNodeSet.add(_i)})):T.incomingById.set(c,{storeObject:re,mergeTree:Re(Q)?void 0:Q,fieldNodeSet:at}),Un}return re},s.prototype.processFieldValue=function(i,o,c,g){var E=this;return o.selectionSet&&null!==i?Array.isArray(i)?i.map(function(T,Q){var ke=E.processFieldValue(T,o,c,Qn(g,Q));return R(g,Q),ke}):this.processSelectionSet({result:i,selectionSet:o.selectionSet,context:c,mergeTree:g}):__DEV__?(0,hn.X)(i):i},s.prototype.flattenFields=function(i,o,c,g){void 0===g&&(g=(0,qe.qw)(o,i,c.fragmentMap));var E=new Map,T=this.cache.policies,Q=new Te.B(!1);return function ke(re,nt){var Mt=Q.lookup(re,nt.clientOnly,nt.deferred);Mt.visited||(Mt.visited=!0,re.selections.forEach(function(at){if((0,Dt.LZ)(at,c.variables)){var Pt=nt.clientOnly,nn=nt.deferred;if(!(Pt&&nn)&&(0,Mn.O)(at.directives)&&at.directives.forEach(function(vi){var ki=vi.name.value;if("client"===ki&&(Pt=!0),"defer"===ki){var _i=(0,qe.NC)(vi,c.variables);(!_i||!1!==_i.if)&&(nn=!0)}}),(0,qe.My)(at)){var bn=E.get(at);bn&&(Pt=Pt&&bn.clientOnly,nn=nn&&bn.deferred),E.set(at,jn(c,Pt,nn))}else{var Un=(0,ve.hi)(at,c.fragmentMap);Un&&T.fragmentMatches(Un,g,o,c.variables)&&ke(Un.selectionSet,jn(c,Pt,nn))}}}))}(i,c),E},s.prototype.applyMerges=function(i,o,c,g,E){var T,Q=this;if(i.map.size&&!(0,qe.Yk)(c)){var ke=Array.isArray(c)||!(0,qe.Yk)(o)&&!he(o)?void 0:o,re=c;ke&&!E&&(E=[(0,qe.Yk)(ke)?ke.__ref:ke]);var nt,Mt=function(at,Pt){return Array.isArray(at)?"number"==typeof Pt?at[Pt]:void 0:g.store.getFieldValue(at,String(Pt))};i.map.forEach(function(at,Pt){var nn=Mt(ke,Pt),bn=Mt(re,Pt);if(void 0!==bn){E&&E.push(Pt);var Un=Q.applyMerges(at,nn,bn,g,E);Un!==bn&&(nt=nt||new Map).set(Pt,Un),E&&(0,V.kG)(E.pop()===Pt)}}),nt&&(c=Array.isArray(re)?re.slice(0):(0,ge.pi)({},re),nt.forEach(function(at,Pt){c[Pt]=at}))}return i.info?this.cache.policies.runMergeFunction(o,c,i.info,g,E&&(T=g.store).getStorage.apply(T,E)):c},s}(),On=[];function Qn(s,i){var o=s.map;return o.has(i)||o.set(i,On.pop()||{map:new Map}),o.get(i)}function fi(s,i){if(s===i||!i||Re(i))return s;if(!s||Re(s))return i;var o=s.info&&i.info?(0,ge.pi)((0,ge.pi)({},s.info),i.info):s.info||i.info,c=s.map.size&&i.map.size,E={info:o,map:c?new Map:s.map.size?s.map:i.map};if(c){var T=new Set(i.map.keys());s.map.forEach(function(Q,ke){E.map.set(ke,fi(Q,i.map.get(ke))),T.delete(ke)}),T.forEach(function(Q){E.map.set(Q,fi(i.map.get(Q),s.map.get(Q)))})}return E}function Re(s){return!s||!(s.info||s.map.size)}function R(s,i){var o=s.map,c=o.get(i);c&&Re(c)&&(On.push(c),o.delete(i))}var $=new Set,Xe=function(s){function i(o){void 0===o&&(o={});var c=s.call(this)||this;return c.watches=new Set,c.typenameDocumentCache=new Map,c.makeVar=ot.QS,c.txCount=0,c.config=function(s){return(0,ze.o)(Me,s)}(o),c.addTypename=!!c.config.addTypename,c.policies=new Et({cache:c,dataIdFromObject:c.config.dataIdFromObject,possibleTypes:c.config.possibleTypes,typePolicies:c.config.typePolicies}),c.init(),c}return(0,ge.ZT)(i,s),i.prototype.init=function(){var o=this.data=new Ee.Root({policies:this.policies,resultCaching:this.config.resultCaching});this.optimisticData=o.stump,this.resetResultCache()},i.prototype.resetResultCache=function(o){var c=this,g=this.storeReader;this.storeWriter=new Qt(this,this.storeReader=new un({cache:this,addTypename:this.addTypename,resultCacheMaxSize:this.config.resultCacheMaxSize,canonizeResults:Ct(this.config),canon:o?void 0:g&&g.canon})),this.maybeBroadcastWatch=(0,J.re)(function(E,T){return c.broadcastWatch(E,T)},{max:this.config.resultCacheMaxSize,makeCacheKey:function(E){var T=E.optimistic?c.optimisticData:c.data;if(sn(T))return T.makeCacheKey(E.query,E.callback,(0,Pn.B)({optimistic:E.optimistic,rootId:E.rootId,variables:E.variables}))}}),new Set([this.data.group,this.optimisticData.group]).forEach(function(E){return E.resetCaching()})},i.prototype.restore=function(o){return this.init(),o&&this.data.replace(o),this},i.prototype.extract=function(o){return void 0===o&&(o=!1),(o?this.optimisticData:this.data).extract()},i.prototype.read=function(o){var c=o.returnPartialData,g=void 0!==c&&c;try{return this.storeReader.diffQueryAgainstStore((0,ge.pi)((0,ge.pi)({},o),{store:o.optimistic?this.optimisticData:this.data,config:this.config,returnPartialData:g})).result||null}catch(E){if(E instanceof De)return null;throw E}},i.prototype.write=function(o){try{return++this.txCount,this.storeWriter.writeToStore(this.data,o)}finally{!--this.txCount&&!1!==o.broadcast&&this.broadcastWatches()}},i.prototype.modify=function(o){if(ae.call(o,"id")&&!o.id)return!1;var c=o.optimistic?this.optimisticData:this.data;try{return++this.txCount,c.modify(o.id||"ROOT_QUERY",o.fields)}finally{!--this.txCount&&!1!==o.broadcast&&this.broadcastWatches()}},i.prototype.diff=function(o){return this.storeReader.diffQueryAgainstStore((0,ge.pi)((0,ge.pi)({},o),{store:o.optimistic?this.optimisticData:this.data,rootId:o.id||"ROOT_QUERY",config:this.config}))},i.prototype.watch=function(o){var c=this;return this.watches.size||(0,ot._v)(this),this.watches.add(o),o.immediate&&this.maybeBroadcastWatch(o),function(){c.watches.delete(o)&&!c.watches.size&&(0,ot.li)(c),c.maybeBroadcastWatch.forget(o)}},i.prototype.gc=function(o){Pn.B.reset();var c=this.optimisticData.gc();return o&&!this.txCount&&(o.resetResultCache?this.resetResultCache(o.resetResultIdentities):o.resetResultIdentities&&this.storeReader.resetCanon()),c},i.prototype.retain=function(o,c){return(c?this.optimisticData:this.data).retain(o)},i.prototype.release=function(o,c){return(c?this.optimisticData:this.data).release(o)},i.prototype.identify=function(o){if((0,qe.Yk)(o))return o.__ref;try{return this.policies.identify(o)[0]}catch(c){__DEV__&&V.kG.warn(c)}},i.prototype.evict=function(o){if(!o.id){if(ae.call(o,"id"))return!1;o=(0,ge.pi)((0,ge.pi)({},o),{id:"ROOT_QUERY"})}try{return++this.txCount,this.optimisticData.evict(o,this.data)}finally{!--this.txCount&&!1!==o.broadcast&&this.broadcastWatches()}},i.prototype.reset=function(o){var c=this;return this.init(),Pn.B.reset(),o&&o.discardWatches?(this.watches.forEach(function(g){return c.maybeBroadcastWatch.forget(g)}),this.watches.clear(),(0,ot.li)(this)):this.broadcastWatches(),Promise.resolve()},i.prototype.removeOptimistic=function(o){var c=this.optimisticData.removeLayer(o);c!==this.optimisticData&&(this.optimisticData=c,this.broadcastWatches())},i.prototype.batch=function(o){var re,c=this,g=o.update,E=o.optimistic,T=void 0===E||E,Q=o.removeOptimistic,ke=o.onWatchUpdated,nt=function(at){var nn=c.data,bn=c.optimisticData;++c.txCount,at&&(c.data=c.optimisticData=at);try{return re=g(c)}finally{--c.txCount,c.data=nn,c.optimisticData=bn}},Mt=new Set;return ke&&!this.txCount&&this.broadcastWatches((0,ge.pi)((0,ge.pi)({},o),{onWatchUpdated:function(at){return Mt.add(at),!1}})),"string"==typeof T?this.optimisticData=this.optimisticData.addLayer(T,nt):!1===T?nt(this.data):nt(),"string"==typeof Q&&(this.optimisticData=this.optimisticData.removeLayer(Q)),ke&&Mt.size?(this.broadcastWatches((0,ge.pi)((0,ge.pi)({},o),{onWatchUpdated:function(at,Pt){var nn=ke.call(this,at,Pt);return!1!==nn&&Mt.delete(at),nn}})),Mt.size&&Mt.forEach(function(at){return c.maybeBroadcastWatch.dirty(at)})):this.broadcastWatches(o),re},i.prototype.performTransaction=function(o,c){return this.batch({update:o,optimistic:c||null!==c})},i.prototype.transformDocument=function(o){if(this.addTypename){var c=this.typenameDocumentCache.get(o);return c||(c=(0,ht.Gw)(o),this.typenameDocumentCache.set(o,c),this.typenameDocumentCache.set(c,c)),c}return o},i.prototype.broadcastWatches=function(o){var c=this;this.txCount||this.watches.forEach(function(g){return c.maybeBroadcastWatch(g,o)})},i.prototype.broadcastWatch=function(o,c){var g=o.lastDiff,E=this.diff(o);c&&(o.optimistic&&"string"==typeof c.optimistic&&(E.fromOptimisticTransaction=!0),c.onWatchUpdated&&!1===c.onWatchUpdated.call(this,o,E,g))||(!g||!(0,le.D)(g.result,E.result))&&o.callback(o.lastDiff=E,g)},i}(Ae),gt=w(5839),dt=w(4540),Rt=w(459),Lt=w(6440),$t=w.n(Lt),Jt=w(8305);class Yt extends gt.i{constructor(i,o){super(),this.httpClient=i,this.options=o,this.print=Rt.S,this.options.operationPrinter&&(this.print=this.options.operationPrinter),this.requester=c=>new dt.y(g=>{const E=c.getContext(),T=(Un,vi)=>function(...s){const i=s.find(o=>void 0!==o);return void 0===i?s[s.length-1]:i}(E[Un],this.options[Un],vi),Q=T("includeQuery",!0),ke=T("includeExtensions",!1),re=T("method","POST"),nt=T("uri","graphql"),Mt=T("withCredentials"),at=T("useMultipart"),Pt={method:re,url:"function"==typeof nt?nt(c):nt,body:{operationName:c.operationName,variables:c.variables},options:{withCredentials:Mt,useMultipart:at,headers:this.options.headers}};ke&&(Pt.body.extensions=c.extensions),Q&&(Pt.body.query=this.print(c.query));const nn=function(s){let i=s.headers&&s.headers instanceof Pe.WM?s.headers:new Pe.WM(s.headers);if(s.clientAwareness){const{name:o,version:c}=s.clientAwareness;o&&!i.has("apollographql-client-name")&&(i=i.set("apollographql-client-name",o)),c&&!i.has("apollographql-client-version")&&(i=i.set("apollographql-client-version",c))}return i}(E);Pt.options.headers=((s,i)=>s&&i?i.keys().reduce((c,g)=>c.set(g,i.getAll(g)),s):i||s)(Pt.options.headers,nn);const bn=((s,i,o)=>{const c=-1!==["POST","PUT","PATCH"].indexOf(s.method.toUpperCase()),E=s.body.length;let Q,T=s.options&&s.options.useMultipart;if(T){if(E)return new Jt.y(re=>re.error(new Error("File upload is not available when combined with Batching")));if(!c)return new Jt.y(re=>re.error(new Error("File upload is not available when GET is used")));Q=o(s.body),T=!!Q.files.size}let ke={};if(E){if(!c)return new Jt.y(re=>re.error(new Error("Batching is not available for GET requests")));ke={body:s.body}}else{const re=T?Q.clone:s.body;ke=c?{body:re}:{params:Object.keys(s.body).reduce((Mt,at)=>{const Pt=s.body[at];return Mt[at]=(re=>-1!==["variables","extensions"].indexOf(re.toLowerCase()))(at)?JSON.stringify(Pt):Pt,Mt},{})}}if(T&&c){const re=new FormData;re.append("operations",JSON.stringify(ke.body));const nt={},Mt=Q.files;let at=0;Mt.forEach(Pt=>{nt[++at]=Pt}),re.append("map",JSON.stringify(nt)),at=0,Mt.forEach((Pt,nn)=>{re.append(++at+"",nn,nn.name)}),ke.body=re}return i.request(s.method,s.url,Object.assign(Object.assign({observe:"response",responseType:"json",reportProgress:!1},ke),s.options))})(Pt,this.httpClient,$t()).subscribe({next:Un=>{c.setContext({response:Un}),g.next(Un.body)},error:Un=>g.error(Un),complete:()=>g.complete()});return()=>{bn.closed||bn.unsubscribe()}})}request(i){return this.requester(i)}}let Sn=(()=>{class s{constructor(o){this.httpClient=o}create(o){return new Yt(this.httpClient,o)}}return s.\u0275fac=function(o){return new(o||s)(m.LFG(Pe.eN))},s.\u0275prov=m.Yz7({factory:function(){return new s(m.LFG(Pe.eN))},token:s,providedIn:"root"}),s})(),Kn=new m.OlP("endpoints.config");const ei={graphql:"graphql"};function Vn(s){return{link:s.create({uri:"https://iwa-test.herokuapp.com/"+ei.graphql}),cache:new Xe,defaultOptions:{watchQuery:{errorPolicy:"all"},query:{errorPolicy:"all"},mutate:{errorPolicy:"all"}}}}let Nn=(()=>{class s{}return s.\u0275fac=function(o){return new(o||s)},s.\u0275mod=m.oAB({type:s}),s.\u0275inj=m.cJS({providers:[{provide:Ce.zu,useFactory:Vn,deps:[Sn]}]}),s})();var $n=w(2599),ii=w(7384);let hi=(()=>{class s{static log(o){console.log(o)}static error(o,c={}){console.error(o,c)}}return s.\u0275fac=function(o){return new(o||s)},s.\u0275prov=m.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})(),Tr=(()=>{class s{constructor(){}intercept(o,c){const g=Date.now();return c.handle(o).pipe((0,ii.b)(E=>{if(E instanceof Pe.Zn){const T=Date.now()-g;hi.log(`Request for ${o.urlWithParams} took ${T} ms.`)}}))}}return s.\u0275fac=function(o){return new(o||s)},s.\u0275prov=m.Yz7({token:s,factory:s.\u0275fac}),s})();var nr=w(9555),or=w(5907),wn=function(){return wn=Object.assign||function(i){for(var o,c=1,g=arguments.length;c<g;c++)for(var E in o=arguments[c])Object.prototype.hasOwnProperty.call(o,E)&&(i[E]=o[E]);return i},wn.apply(this,arguments)};function fs(s,i){var o="function"==typeof Symbol&&s[Symbol.iterator];if(!o)return s;var g,T,c=o.call(s),E=[];try{for(;(void 0===i||i-- >0)&&!(g=c.next()).done;)E.push(g.value)}catch(Q){T={error:Q}}finally{try{g&&!g.done&&(o=c.return)&&o.call(c)}finally{if(T)throw T.error}}return E}function Gi(){for(var s=[],i=0;i<arguments.length;i++)s=s.concat(fs(arguments[i]));return s}var ui=(()=>(function(s){s.Ok="ok",s.Exited="exited",s.Crashed="crashed",s.Abnormal="abnormal"}(ui||(ui={})),ui))(),lr=function(s,i){return(lr=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,c){o.__proto__=c}||function(o,c){for(var g in c)c.hasOwnProperty(g)&&(o[g]=c[g])})(s,i)},Ci=function(){return Ci=Object.assign||function(i){for(var o,c=1,g=arguments.length;c<g;c++)for(var E in o=arguments[c])Object.prototype.hasOwnProperty.call(o,E)&&(i[E]=o[E]);return i},Ci.apply(this,arguments)};function Wr(s){var i="function"==typeof Symbol&&Symbol.iterator,o=i&&s[i],c=0;if(o)return o.call(s);if(s&&"number"==typeof s.length)return{next:function(){return s&&c>=s.length&&(s=void 0),{value:s&&s[c++],done:!s}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")}var Be=w(7216);function wt(){var s=(0,Be.R)(),i=s.crypto||s.msCrypto;if(void 0!==i&&i.getRandomValues){var o=new Uint16Array(8);i.getRandomValues(o),o[3]=4095&o[3]|16384,o[4]=16383&o[4]|32768;var c=function(g){for(var E=g.toString(16);E.length<4;)E="0"+E;return E};return c(o[0])+c(o[1])+c(o[2])+c(o[3])+c(o[4])+c(o[5])+c(o[6])+c(o[7])}return"xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx".replace(/[xy]/g,function(g){var E=16*Math.random()|0;return("x"===g?E:3&E|8).toString(16)})}function Zt(s){if(!s)return{};var i=s.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);return i?{host:i[4],path:i[5],protocol:i[2],relative:i[5]+(i[6]||"")+(i[8]||"")}:{}}function gn(s){if(s.message)return s.message;if(s.exception&&s.exception.values&&s.exception.values[0]){var i=s.exception.values[0];return i.type&&i.value?i.type+": "+i.value:i.type||i.value||s.event_id||"<unknown>"}return s.event_id||"<unknown>"}function qn(s,i,o){s.exception=s.exception||{},s.exception.values=s.exception.values||[],s.exception.values[0]=s.exception.values[0]||{},s.exception.values[0].value=s.exception.values[0].value||i||"",s.exception.values[0].type=s.exception.values[0].type||o||"Error"}function Yn(s,i){var o;if(s.exception&&s.exception.values){var c=s.exception.values[0],E=c.mechanism;if(c.mechanism=Ci(Ci(Ci({},{type:"generic",handled:!0}),E),i),i&&"data"in i){var T=Ci(Ci({},null===(o=E)||void 0===o?void 0:o.data),i.data);c.mechanism.data=T}}}function kr(s){var i;if(null===(i=s)||void 0===i?void 0:i.__sentry_captured__)return!0;try{Object.defineProperty(s,"__sentry_captured__",{value:!0})}catch(o){}return!1}var ji=w(5239),cr=(0,Be.R)(),Fr="Sentry Logger ";function gr(s){var i=(0,Be.R)();if(!("console"in i))return s();var c=i.console,g={};["debug","info","warn","error","log","assert"].forEach(function(T){T in i.console&&c[T].__sentry_original__&&(g[T]=c[T],c[T]=c[T].__sentry_original__)});var E=s();return Object.keys(g).forEach(function(T){c[T]=g[T]}),E}var go=function(){function s(){this._enabled=!1}return s.prototype.disable=function(){this._enabled=!1},s.prototype.enable=function(){this._enabled=!0},s.prototype.log=function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];!this._enabled||gr(function(){cr.console.log(Fr+"[Log]: "+i.join(" "))})},s.prototype.warn=function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];!this._enabled||gr(function(){cr.console.warn(Fr+"[Warn]: "+i.join(" "))})},s.prototype.error=function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];!this._enabled||gr(function(){cr.console.error(Fr+"[Error]: "+i.join(" "))})},s}();cr.__SENTRY__=cr.__SENTRY__||{};var At=cr.__SENTRY__.logger||(cr.__SENTRY__.logger=new go),ti=w(7494);function ie(s){switch(Object.prototype.toString.call(s)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return vn(s,Error)}}function v(s){return"[object ErrorEvent]"===Object.prototype.toString.call(s)}function b(s){return"[object DOMError]"===Object.prototype.toString.call(s)}function Z(s){return"[object String]"===Object.prototype.toString.call(s)}function ye(s){return null===s||"object"!=typeof s&&"function"!=typeof s}function $e(s){return"[object Object]"===Object.prototype.toString.call(s)}function Je(s){return"undefined"!=typeof Event&&vn(s,Event)}function _t(s){return"undefined"!=typeof Element&&vn(s,Element)}function qt(s){return Boolean(s&&s.then&&"function"==typeof s.then)}function vn(s,i){try{return s instanceof i}catch(o){return!1}}var kn=function(){function s(i){var o=this;this._state="PENDING",this._handlers=[],this._resolve=function(c){o._setResult("RESOLVED",c)},this._reject=function(c){o._setResult("REJECTED",c)},this._setResult=function(c,g){if("PENDING"===o._state){if(qt(g))return void g.then(o._resolve,o._reject);o._state=c,o._value=g,o._executeHandlers()}},this._attachHandler=function(c){o._handlers=o._handlers.concat(c),o._executeHandlers()},this._executeHandlers=function(){if("PENDING"!==o._state){var c=o._handlers.slice();o._handlers=[],c.forEach(function(g){g.done||("RESOLVED"===o._state&&g.onfulfilled&&g.onfulfilled(o._value),"REJECTED"===o._state&&g.onrejected&&g.onrejected(o._value),g.done=!0)})}};try{i(this._resolve,this._reject)}catch(c){this._reject(c)}}return s.resolve=function(i){return new s(function(o){o(i)})},s.reject=function(i){return new s(function(o,c){c(i)})},s.all=function(i){return new s(function(o,c){if(Array.isArray(i))if(0!==i.length){var g=i.length,E=[];i.forEach(function(T,Q){s.resolve(T).then(function(ke){E[Q]=ke,0==(g-=1)&&o(E)}).then(null,c)})}else o([]);else c(new TypeError("Promise.all requires an array as input."))})},s.prototype.then=function(i,o){var c=this;return new s(function(g,E){c._attachHandler({done:!1,onfulfilled:function(T){if(i)try{return void g(i(T))}catch(Q){return void E(Q)}else g(T)},onrejected:function(T){if(o)try{return void g(o(T))}catch(Q){return void E(Q)}else E(T)}})})},s.prototype.catch=function(i){return this.then(function(o){return o},i)},s.prototype.finally=function(i){var o=this;return new s(function(c,g){var E,T;return o.then(function(Q){T=!1,E=Q,i&&i()},function(Q){T=!0,E=Q,i&&i()}).then(function(){T?g(E):c(E)})})},s.prototype.toString=function(){return"[object SyncPromise]"},s}(),xn=function(){function s(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._user={},this._tags={},this._extra={},this._contexts={}}return s.clone=function(i){var o=new s;return i&&(o._breadcrumbs=Gi(i._breadcrumbs),o._tags=wn({},i._tags),o._extra=wn({},i._extra),o._contexts=wn({},i._contexts),o._user=i._user,o._level=i._level,o._span=i._span,o._session=i._session,o._transactionName=i._transactionName,o._fingerprint=i._fingerprint,o._eventProcessors=Gi(i._eventProcessors),o._requestSession=i._requestSession),o},s.prototype.addScopeListener=function(i){this._scopeListeners.push(i)},s.prototype.addEventProcessor=function(i){return this._eventProcessors.push(i),this},s.prototype.setUser=function(i){return this._user=i||{},this._session&&this._session.update({user:i}),this._notifyScopeListeners(),this},s.prototype.getUser=function(){return this._user},s.prototype.getRequestSession=function(){return this._requestSession},s.prototype.setRequestSession=function(i){return this._requestSession=i,this},s.prototype.setTags=function(i){return this._tags=wn(wn({},this._tags),i),this._notifyScopeListeners(),this},s.prototype.setTag=function(i,o){var c;return this._tags=wn(wn({},this._tags),((c={})[i]=o,c)),this._notifyScopeListeners(),this},s.prototype.setExtras=function(i){return this._extra=wn(wn({},this._extra),i),this._notifyScopeListeners(),this},s.prototype.setExtra=function(i,o){var c;return this._extra=wn(wn({},this._extra),((c={})[i]=o,c)),this._notifyScopeListeners(),this},s.prototype.setFingerprint=function(i){return this._fingerprint=i,this._notifyScopeListeners(),this},s.prototype.setLevel=function(i){return this._level=i,this._notifyScopeListeners(),this},s.prototype.setTransactionName=function(i){return this._transactionName=i,this._notifyScopeListeners(),this},s.prototype.setTransaction=function(i){return this.setTransactionName(i)},s.prototype.setContext=function(i,o){var c;return null===o?delete this._contexts[i]:this._contexts=wn(wn({},this._contexts),((c={})[i]=o,c)),this._notifyScopeListeners(),this},s.prototype.setSpan=function(i){return this._span=i,this._notifyScopeListeners(),this},s.prototype.getSpan=function(){return this._span},s.prototype.getTransaction=function(){var i,o,c,g,E=this.getSpan();return(null===(i=E)||void 0===i?void 0:i.transaction)?null===(o=E)||void 0===o?void 0:o.transaction:(null===(g=null===(c=E)||void 0===c?void 0:c.spanRecorder)||void 0===g?void 0:g.spans[0])?E.spanRecorder.spans[0]:void 0},s.prototype.setSession=function(i){return i?this._session=i:delete this._session,this._notifyScopeListeners(),this},s.prototype.getSession=function(){return this._session},s.prototype.update=function(i){if(!i)return this;if("function"==typeof i){var o=i(this);return o instanceof s?o:this}return i instanceof s?(this._tags=wn(wn({},this._tags),i._tags),this._extra=wn(wn({},this._extra),i._extra),this._contexts=wn(wn({},this._contexts),i._contexts),i._user&&Object.keys(i._user).length&&(this._user=i._user),i._level&&(this._level=i._level),i._fingerprint&&(this._fingerprint=i._fingerprint),i._requestSession&&(this._requestSession=i._requestSession)):$e(i)&&(i=i,this._tags=wn(wn({},this._tags),i.tags),this._extra=wn(wn({},this._extra),i.extra),this._contexts=wn(wn({},this._contexts),i.contexts),i.user&&(this._user=i.user),i.level&&(this._level=i.level),i.fingerprint&&(this._fingerprint=i.fingerprint),i.requestSession&&(this._requestSession=i.requestSession)),this},s.prototype.clear=function(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._requestSession=void 0,this._span=void 0,this._session=void 0,this._notifyScopeListeners(),this},s.prototype.addBreadcrumb=function(i,o){var c="number"==typeof o?Math.min(o,100):100;if(c<=0)return this;var g=wn({timestamp:(0,ji.yW)()},i);return this._breadcrumbs=Gi(this._breadcrumbs,[g]).slice(-c),this._notifyScopeListeners(),this},s.prototype.clearBreadcrumbs=function(){return this._breadcrumbs=[],this._notifyScopeListeners(),this},s.prototype.applyToEvent=function(i,o){var c;if(this._extra&&Object.keys(this._extra).length&&(i.extra=wn(wn({},this._extra),i.extra)),this._tags&&Object.keys(this._tags).length&&(i.tags=wn(wn({},this._tags),i.tags)),this._user&&Object.keys(this._user).length&&(i.user=wn(wn({},this._user),i.user)),this._contexts&&Object.keys(this._contexts).length&&(i.contexts=wn(wn({},this._contexts),i.contexts)),this._level&&(i.level=this._level),this._transactionName&&(i.transaction=this._transactionName),this._span){i.contexts=wn({trace:this._span.getTraceContext()},i.contexts);var g=null===(c=this._span.transaction)||void 0===c?void 0:c.name;g&&(i.tags=wn({transaction:g},i.tags))}return this._applyFingerprint(i),i.breadcrumbs=Gi(i.breadcrumbs||[],this._breadcrumbs),i.breadcrumbs=i.breadcrumbs.length>0?i.breadcrumbs:void 0,this._notifyEventProcessors(Gi(Jn(),this._eventProcessors),i,o)},s.prototype._notifyEventProcessors=function(i,o,c,g){var E=this;return void 0===g&&(g=0),new kn(function(T,Q){var ke=i[g];if(null===o||"function"!=typeof ke)T(o);else{var re=ke(wn({},o),c);qt(re)?re.then(function(nt){return E._notifyEventProcessors(i,nt,c,g+1).then(T)}).then(null,Q):E._notifyEventProcessors(i,re,c,g+1).then(T).then(null,Q)}})},s.prototype._notifyScopeListeners=function(){var i=this;this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(function(o){o(i)}),this._notifyingListeners=!1)},s.prototype._applyFingerprint=function(i){i.fingerprint=i.fingerprint?Array.isArray(i.fingerprint)?i.fingerprint:[i.fingerprint]:[],this._fingerprint&&(i.fingerprint=i.fingerprint.concat(this._fingerprint)),i.fingerprint&&!i.fingerprint.length&&delete i.fingerprint},s}();function Jn(){var s=(0,Be.R)();return s.__SENTRY__=s.__SENTRY__||{},s.__SENTRY__.globalEventProcessors=s.__SENTRY__.globalEventProcessors||[],s.__SENTRY__.globalEventProcessors}function mi(s){Jn().push(s)}function Di(s,i){try{for(var o=s,E=[],T=0,Q=0,re=" > ".length,nt=void 0;o&&T++<5&&!("html"===(nt=Ri(o,i))||T>1&&Q+E.length*re+nt.length>=80);)E.push(nt),Q+=nt.length,o=o.parentNode;return E.reverse().join(" > ")}catch(Mt){return"<unknown>"}}function Ri(s,i){var o,c,T,Q,ke,re,nt,g=s,E=[];if(!g||!g.tagName)return"";E.push(g.tagName.toLowerCase());var Mt=(null===(o=i)||void 0===o?void 0:o.length)?i.filter(function(Pt){return g.getAttribute(Pt)}).map(function(Pt){return[Pt,g.getAttribute(Pt)]}):null;if(null===(c=Mt)||void 0===c?void 0:c.length)Mt.forEach(function(Pt){E.push("["+Pt[0]+'="'+Pt[1]+'"]')});else if(g.id&&E.push("#"+g.id),(T=g.className)&&Z(T))for(Q=T.split(/\s+/),nt=0;nt<Q.length;nt++)E.push("."+Q[nt]);var at=["type","name","title","alt"];for(nt=0;nt<at.length;nt++)(re=g.getAttribute(ke=at[nt]))&&E.push("["+ke+'="'+re+'"]');return E.join("")}var Mr=function(){function s(){this._hasWeakSet="function"==typeof WeakSet,this._inner=this._hasWeakSet?new WeakSet:[]}return s.prototype.memoize=function(i){if(this._hasWeakSet)return!!this._inner.has(i)||(this._inner.add(i),!1);for(var o=0;o<this._inner.length;o++)if(this._inner[o]===i)return!0;return this._inner.push(i),!1},s.prototype.unmemoize=function(i){if(this._hasWeakSet)this._inner.delete(i);else for(var o=0;o<this._inner.length;o++)if(this._inner[o]===i){this._inner.splice(o,1);break}},s}(),qi="<anonymous>";function Ei(s){try{return s&&"function"==typeof s&&s.name||qi}catch(i){return qi}}function ir(s,i){return void 0===i&&(i=0),"string"!=typeof s||0===i||s.length<=i?s:s.substr(0,i)+"..."}function Zi(s,i){if(!Array.isArray(s))return"";for(var o=[],c=0;c<s.length;c++){var g=s[c];try{o.push(String(g))}catch(E){o.push("[value cannot be serialized]")}}return o.join(i)}function ps(s,i){return!!Z(s)&&(function(s){return"[object RegExp]"===Object.prototype.toString.call(s)}(i)?i.test(s):"string"==typeof i&&-1!==s.indexOf(i))}function wi(s,i,o){if(i in s){var c=s[i],g=o(c);if("function"==typeof g)try{g.prototype=g.prototype||{},Object.defineProperties(g,{__sentry_original__:{enumerable:!1,value:c}})}catch(E){}s[i]=g}}function Xi(s){if(ie(s)){var i=s,o={message:i.message,name:i.name,stack:i.stack};for(var c in i)Object.prototype.hasOwnProperty.call(i,c)&&(o[c]=i[c]);return o}if(Je(s)){var g=s,E={};E.type=g.type;try{E.target=_t(g.target)?Di(g.target):Object.prototype.toString.call(g.target)}catch(Q){E.target="<unknown>"}try{E.currentTarget=_t(g.currentTarget)?Di(g.currentTarget):Object.prototype.toString.call(g.currentTarget)}catch(Q){E.currentTarget="<unknown>"}for(var T in"undefined"!=typeof CustomEvent&&vn(s,CustomEvent)&&(E.detail=g.detail),g)Object.prototype.hasOwnProperty.call(g,T)&&(E[T]=g[T]);return E}return s}function mn(s,i,o){void 0===i&&(i=3),void 0===o&&(o=102400);var c=Ai(s,i);return function(s){return function(s){return~-encodeURI(s).split(/%..|./).length}(JSON.stringify(s))}(c)>o?mn(s,i-1,o):c}function zn(s,i){return"domain"===i&&s&&"object"==typeof s&&s._events?"[Domain]":"domainEmitter"===i?"[DomainEmitter]":"undefined"!=typeof global&&s===global?"[Global]":"undefined"!=typeof window&&s===window?"[Window]":"undefined"!=typeof document&&s===document?"[Document]":function(s){return $e(s)&&"nativeEvent"in s&&"preventDefault"in s&&"stopPropagation"in s}(s)?"[SyntheticEvent]":"number"==typeof s&&s!=s?"[NaN]":void 0===s?"[undefined]":"function"==typeof s?"[Function: "+Ei(s)+"]":"symbol"==typeof s?"["+String(s)+"]":"bigint"==typeof s?"[BigInt: "+String(s)+"]":s}function rr(s,i,o,c){if(void 0===o&&(o=1/0),void 0===c&&(c=new Mr),0===o)return function(s){var i=Object.prototype.toString.call(s);if("string"==typeof s)return s;if("[object Object]"===i)return"[Object]";if("[object Array]"===i)return"[Array]";var o=zn(s);return ye(o)?o:i}(i);if(null!=i&&"function"==typeof i.toJSON)return i.toJSON();var g=zn(i,s);if(ye(g))return g;var E=Xi(i),T=Array.isArray(i)?[]:{};if(c.memoize(i))return"[Circular ~]";for(var Q in E)!Object.prototype.hasOwnProperty.call(E,Q)||(T[Q]=rr(Q,E[Q],o-1,c));return c.unmemoize(i),T}function Ai(s,i){try{return JSON.parse(JSON.stringify(s,function(o,c){return rr(o,c,i)}))}catch(o){return"**non-serializable**"}}function Lr(s,i){void 0===i&&(i=40);var o=Object.keys(Xi(s));if(o.sort(),!o.length)return"[object has no keys]";if(o[0].length>=i)return ir(o[0],i);for(var c=o.length;c>0;c--){var g=o.slice(0,c).join(", ");if(!(g.length>i))return c===o.length?g:ir(g,i)}return""}function gi(s){var i,o;if($e(s)){var c=s,g={};try{for(var E=Wr(Object.keys(c)),T=E.next();!T.done;T=E.next()){var Q=T.value;void 0!==c[Q]&&(g[Q]=gi(c[Q]))}}catch(ke){i={error:ke}}finally{try{T&&!T.done&&(o=E.return)&&o.call(E)}finally{if(i)throw i.error}}return g}return Array.isArray(s)?s.map(gi):s}var vr=function(){function s(i){this.errors=0,this.sid=wt(),this.duration=0,this.status=ui.Ok,this.init=!0,this.ignoreDuration=!1;var o=(0,ji.ph)();this.timestamp=o,this.started=o,i&&this.update(i)}return s.prototype.update=function(i){if(void 0===i&&(i={}),i.user&&(!this.ipAddress&&i.user.ip_address&&(this.ipAddress=i.user.ip_address),!this.did&&!i.did&&(this.did=i.user.id||i.user.email||i.user.username)),this.timestamp=i.timestamp||(0,ji.ph)(),i.ignoreDuration&&(this.ignoreDuration=i.ignoreDuration),i.sid&&(this.sid=32===i.sid.length?i.sid:wt()),void 0!==i.init&&(this.init=i.init),!this.did&&i.did&&(this.did=""+i.did),"number"==typeof i.started&&(this.started=i.started),this.ignoreDuration)this.duration=void 0;else if("number"==typeof i.duration)this.duration=i.duration;else{var o=this.timestamp-this.started;this.duration=o>=0?o:0}i.release&&(this.release=i.release),i.environment&&(this.environment=i.environment),!this.ipAddress&&i.ipAddress&&(this.ipAddress=i.ipAddress),!this.userAgent&&i.userAgent&&(this.userAgent=i.userAgent),"number"==typeof i.errors&&(this.errors=i.errors),i.status&&(this.status=i.status)},s.prototype.close=function(i){i?this.update({status:i}):this.status===ui.Ok?this.update({status:ui.Exited}):this.update()},s.prototype.toJSON=function(){return gi({sid:""+this.sid,init:this.init,started:new Date(1e3*this.started).toISOString(),timestamp:new Date(1e3*this.timestamp).toISOString(),status:this.status,errors:this.errors,did:"number"==typeof this.did||"string"==typeof this.did?""+this.did:void 0,duration:this.duration,attrs:gi({release:this.release,environment:this.environment,ip_address:this.ipAddress,user_agent:this.userAgent})})},s}(),Fi=function(){function s(i,o,c){void 0===o&&(o=new xn),void 0===c&&(c=4),this._version=c,this._stack=[{}],this.getStackTop().scope=o,i&&this.bindClient(i)}return s.prototype.isOlderThan=function(i){return this._version<i},s.prototype.bindClient=function(i){this.getStackTop().client=i,i&&i.setupIntegrations&&i.setupIntegrations()},s.prototype.pushScope=function(){var i=xn.clone(this.getScope());return this.getStack().push({client:this.getClient(),scope:i}),i},s.prototype.popScope=function(){return!(this.getStack().length<=1||!this.getStack().pop())},s.prototype.withScope=function(i){var o=this.pushScope();try{i(o)}finally{this.popScope()}},s.prototype.getClient=function(){return this.getStackTop().client},s.prototype.getScope=function(){return this.getStackTop().scope},s.prototype.getStack=function(){return this._stack},s.prototype.getStackTop=function(){return this._stack[this._stack.length-1]},s.prototype.captureException=function(i,o){var c=this._lastEventId=wt(),g=o;if(!o){var E=void 0;try{throw new Error("Sentry syntheticException")}catch(T){E=T}g={originalException:i,syntheticException:E}}return this._invokeClient("captureException",i,wn(wn({},g),{event_id:c})),c},s.prototype.captureMessage=function(i,o,c){var g=this._lastEventId=wt(),E=c;if(!c){var T=void 0;try{throw new Error(i)}catch(Q){T=Q}E={originalException:i,syntheticException:T}}return this._invokeClient("captureMessage",i,o,wn(wn({},E),{event_id:g})),g},s.prototype.captureEvent=function(i,o){var c=wt();return"transaction"!==i.type&&(this._lastEventId=c),this._invokeClient("captureEvent",i,wn(wn({},o),{event_id:c})),c},s.prototype.lastEventId=function(){return this._lastEventId},s.prototype.addBreadcrumb=function(i,o){var c=this.getStackTop(),g=c.scope,E=c.client;if(g&&E){var T=E.getOptions&&E.getOptions()||{},Q=T.beforeBreadcrumb,ke=void 0===Q?null:Q,re=T.maxBreadcrumbs,nt=void 0===re?100:re;if(!(nt<=0)){var Mt=(0,ji.yW)(),at=wn({timestamp:Mt},i),Pt=ke?gr(function(){return ke(at,o)}):at;null!==Pt&&g.addBreadcrumb(Pt,nt)}}},s.prototype.setUser=function(i){var o=this.getScope();o&&o.setUser(i)},s.prototype.setTags=function(i){var o=this.getScope();o&&o.setTags(i)},s.prototype.setExtras=function(i){var o=this.getScope();o&&o.setExtras(i)},s.prototype.setTag=function(i,o){var c=this.getScope();c&&c.setTag(i,o)},s.prototype.setExtra=function(i,o){var c=this.getScope();c&&c.setExtra(i,o)},s.prototype.setContext=function(i,o){var c=this.getScope();c&&c.setContext(i,o)},s.prototype.configureScope=function(i){var o=this.getStackTop(),c=o.scope;c&&o.client&&i(c)},s.prototype.run=function(i){var o=zs(this);try{i(this)}finally{zs(o)}},s.prototype.getIntegration=function(i){var o=this.getClient();if(!o)return null;try{return o.getIntegration(i)}catch(c){return At.warn("Cannot retrieve integration "+i.id+" from the current Hub"),null}},s.prototype.startSpan=function(i){return this._callExtensionMethod("startSpan",i)},s.prototype.startTransaction=function(i,o){return this._callExtensionMethod("startTransaction",i,o)},s.prototype.traceHeaders=function(){return this._callExtensionMethod("traceHeaders")},s.prototype.captureSession=function(i){if(void 0===i&&(i=!1),i)return this.endSession();this._sendSessionUpdate()},s.prototype.endSession=function(){var i,o,c,g,E;null===(c=null===(o=null===(i=this.getStackTop())||void 0===i?void 0:i.scope)||void 0===o?void 0:o.getSession())||void 0===c||c.close(),this._sendSessionUpdate(),null===(E=null===(g=this.getStackTop())||void 0===g?void 0:g.scope)||void 0===E||E.setSession()},s.prototype.startSession=function(i){var o=this.getStackTop(),c=o.scope,g=o.client,E=g&&g.getOptions()||{},T=E.release,Q=E.environment,re=((0,Be.R)().navigator||{}).userAgent,nt=new vr(wn(wn(wn({release:T,environment:Q},c&&{user:c.getUser()}),re&&{userAgent:re}),i));if(c){var Mt=c.getSession&&c.getSession();Mt&&Mt.status===ui.Ok&&Mt.update({status:ui.Exited}),this.endSession(),c.setSession(nt)}return nt},s.prototype._sendSessionUpdate=function(){var i=this.getStackTop(),o=i.scope,c=i.client;if(o){var g=o.getSession&&o.getSession();g&&c&&c.captureSession&&c.captureSession(g)}},s.prototype._invokeClient=function(i){for(var o,c=[],g=1;g<arguments.length;g++)c[g-1]=arguments[g];var E=this.getStackTop(),T=E.scope,Q=E.client;Q&&Q[i]&&(o=Q)[i].apply(o,Gi(c,[T]))},s.prototype._callExtensionMethod=function(i){for(var o=[],c=1;c<arguments.length;c++)o[c-1]=arguments[c];var g=Li(),E=g.__SENTRY__;if(E&&E.extensions&&"function"==typeof E.extensions[i])return E.extensions[i].apply(this,o);At.warn("Extension method "+i+" couldn't be found, doing nothing.")},s}();function Li(){var s=(0,Be.R)();return s.__SENTRY__=s.__SENTRY__||{extensions:{},hub:void 0},s}function zs(s){var i=Li(),o=os(i);return as(i,s),o}function Ui(){var s=Li();return(!so(s)||os(s).isOlderThan(4))&&as(s,new Fi),(0,ti.KV)()?function(s){var i,o,c;try{var g=null===(c=null===(o=null===(i=Li().__SENTRY__)||void 0===i?void 0:i.extensions)||void 0===o?void 0:o.domain)||void 0===c?void 0:c.active;if(!g)return os(s);if(!so(g)||os(g).isOlderThan(4)){var E=os(s).getStackTop();as(g,new Fi(E.client,xn.clone(E.scope)))}return os(g)}catch(T){return os(s)}}(s):os(s)}function so(s){return!!(s&&s.__SENTRY__&&s.__SENTRY__.hub)}function os(s){return s&&s.__SENTRY__&&s.__SENTRY__.hub||(s.__SENTRY__=s.__SENTRY__||{},s.__SENTRY__.hub=new Fi),s.__SENTRY__.hub}function as(s,i){return!!s&&(s.__SENTRY__=s.__SENTRY__||{},s.__SENTRY__.hub=i,!0)}var $i=function(){return $i=Object.assign||function(i){for(var o,c=1,g=arguments.length;c<g;c++)for(var E in o=arguments[c])Object.prototype.hasOwnProperty.call(o,E)&&(i[E]=o[E]);return i},$i.apply(this,arguments)};function qr(s,i){var o="function"==typeof Symbol&&s[Symbol.iterator];if(!o)return s;var g,T,c=o.call(s),E=[];try{for(;(void 0===i||i-- >0)&&!(g=c.next()).done;)E.push(g.value)}catch(Q){T={error:Q}}finally{try{g&&!g.done&&(o=c.return)&&o.call(c)}finally{if(T)throw T.error}}return E}function _r(){for(var s=[],i=0;i<arguments.length;i++)s=s.concat(qr(arguments[i]));return s}var yt,Se=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/],Ye=function(){function s(i){void 0===i&&(i={}),this._options=i,this.name=s.id}return s.prototype.setupOnce=function(){mi(function(i){var o=Ui();if(!o)return i;var c=o.getIntegration(s);if(c){var g=o.getClient(),E=g?g.getOptions():{},T="function"==typeof c._mergeOptions?c._mergeOptions(E):{};return"function"!=typeof c._shouldDropEvent?i:c._shouldDropEvent(i,T)?null:i}return i})},s.prototype._shouldDropEvent=function(i,o){return this._isSentryError(i,o)?(At.warn("Event dropped due to being internal Sentry Error.\nEvent: "+gn(i)),!0):this._isIgnoredError(i,o)?(At.warn("Event dropped due to being matched by `ignoreErrors` option.\nEvent: "+gn(i)),!0):this._isDeniedUrl(i,o)?(At.warn("Event dropped due to being matched by `denyUrls` option.\nEvent: "+gn(i)+".\nUrl: "+this._getEventFilterUrl(i)),!0):!this._isAllowedUrl(i,o)&&(At.warn("Event dropped due to not being matched by `allowUrls` option.\nEvent: "+gn(i)+".\nUrl: "+this._getEventFilterUrl(i)),!0)},s.prototype._isSentryError=function(i,o){if(!o.ignoreInternal)return!1;try{return i&&i.exception&&i.exception.values&&i.exception.values[0]&&"SentryError"===i.exception.values[0].type||!1}catch(c){return!1}},s.prototype._isIgnoredError=function(i,o){return!(!o.ignoreErrors||!o.ignoreErrors.length)&&this._getPossibleEventMessages(i).some(function(c){return o.ignoreErrors.some(function(g){return ps(c,g)})})},s.prototype._isDeniedUrl=function(i,o){if(!o.denyUrls||!o.denyUrls.length)return!1;var c=this._getEventFilterUrl(i);return!!c&&o.denyUrls.some(function(g){return ps(c,g)})},s.prototype._isAllowedUrl=function(i,o){if(!o.allowUrls||!o.allowUrls.length)return!0;var c=this._getEventFilterUrl(i);return!c||o.allowUrls.some(function(g){return ps(c,g)})},s.prototype._mergeOptions=function(i){return void 0===i&&(i={}),{allowUrls:_r(this._options.whitelistUrls||[],this._options.allowUrls||[],i.whitelistUrls||[],i.allowUrls||[]),denyUrls:_r(this._options.blacklistUrls||[],this._options.denyUrls||[],i.blacklistUrls||[],i.denyUrls||[]),ignoreErrors:_r(this._options.ignoreErrors||[],i.ignoreErrors||[],Se),ignoreInternal:void 0===this._options.ignoreInternal||this._options.ignoreInternal}},s.prototype._getPossibleEventMessages=function(i){if(i.message)return[i.message];if(i.exception)try{var o=i.exception.values&&i.exception.values[0]||{},c=o.type,E=o.value,T=void 0===E?"":E;return[""+T,(void 0===c?"":c)+": "+T]}catch(Q){return At.error("Cannot extract message for event "+gn(i)),[]}return[]},s.prototype._getLastValidUrl=function(i){void 0===i&&(i=[]);for(var o,c,g=i.length-1;g>=0;g--){var E=i[g];if("<anonymous>"!==(null===(o=E)||void 0===o?void 0:o.filename)&&"[native code]"!==(null===(c=E)||void 0===c?void 0:c.filename))return E.filename||null}return null},s.prototype._getEventFilterUrl=function(i){try{return i.stacktrace?this._getLastValidUrl(i.stacktrace.frames):i.exception?this._getLastValidUrl(i.exception.values&&i.exception.values[0].stacktrace&&i.exception.values[0].stacktrace.frames):null}catch(g){return At.error("Cannot extract url for event "+gn(i)),null}},s.id="InboundFilters",s}(),en=function(){function s(){this.name=s.id}return s.prototype.setupOnce=function(){yt=Function.prototype.toString,Function.prototype.toString=function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];var c=this.__sentry_original__||this;return yt.apply(c,i)}},s.id="FunctionToString",s}();function oi(){if(!("fetch"in(0,Be.R)()))return!1;try{return new Headers,new Request(""),new Response,!0}catch(s){return!1}}function yr(s){return s&&/^function fetch\(\)\s+\{\s+\[native code\]\s+\}$/.test(s.toString())}function As(){if(!oi())return!1;try{return new Request("_",{referrerPolicy:"origin"}),!0}catch(s){return!1}}var na,ja,Ua,ai=(0,Be.R)(),Xr={},yo={};function Jr(s){!s||"string"!=typeof s.type||"function"!=typeof s.callback||(Xr[s.type]=Xr[s.type]||[],Xr[s.type].push(s.callback),function(s){if(!yo[s])switch(yo[s]=!0,s){case"console":"console"in ai&&["debug","info","warn","error","log","assert"].forEach(function(s){s in ai.console&&wi(ai.console,s,function(i){return function(){for(var o=[],c=0;c<arguments.length;c++)o[c]=arguments[c];br("console",{args:o,level:s}),i&&Function.prototype.apply.call(i,ai.console,o)}})});break;case"dom":!function(){if("document"in ai){var s=br.bind(null,"dom"),i=Qc(s,!0);ai.document.addEventListener("click",i,!1),ai.document.addEventListener("keypress",i,!1),["EventTarget","Node"].forEach(function(o){var c=ai[o]&&ai[o].prototype;!c||!c.hasOwnProperty||!c.hasOwnProperty("addEventListener")||(wi(c,"addEventListener",function(g){return function(E,T,Q){if("click"===E||"keypress"==E)try{var re=this.__sentry_instrumentation_handlers__=this.__sentry_instrumentation_handlers__||{},nt=re[E]=re[E]||{refCount:0};if(!nt.handler){var Mt=Qc(s);nt.handler=Mt,g.call(this,E,Mt,Q)}nt.refCount+=1}catch(at){}return g.call(this,E,T,Q)}}),wi(c,"removeEventListener",function(g){return function(E,T,Q){if("click"===E||"keypress"==E)try{var re=this.__sentry_instrumentation_handlers__||{},nt=re[E];nt&&(nt.refCount-=1,nt.refCount<=0&&(g.call(this,E,nt.handler,Q),nt.handler=void 0,delete re[E]),0===Object.keys(re).length&&delete this.__sentry_instrumentation_handlers__)}catch(Mt){}return g.call(this,E,T,Q)}}))})}}();break;case"xhr":!function(){if("XMLHttpRequest"in ai){var s=[],i=[],o=XMLHttpRequest.prototype;wi(o,"open",function(c){return function(){for(var g=[],E=0;E<arguments.length;E++)g[E]=arguments[E];var T=this,Q=g[1];T.__sentry_xhr__={method:Z(g[0])?g[0].toUpperCase():g[0],url:g[1]},Z(Q)&&"POST"===T.__sentry_xhr__.method&&Q.match(/sentry_key/)&&(T.__sentry_own_request__=!0);var ke=function(){if(4===T.readyState){try{T.__sentry_xhr__&&(T.__sentry_xhr__.status_code=T.status)}catch(Mt){}try{var re=s.indexOf(T);if(-1!==re){s.splice(re);var nt=i.splice(re)[0];T.__sentry_xhr__&&void 0!==nt[0]&&(T.__sentry_xhr__.body=nt[0])}}catch(Mt){}br("xhr",{args:g,endTimestamp:Date.now(),startTimestamp:Date.now(),xhr:T})}};return"onreadystatechange"in T&&"function"==typeof T.onreadystatechange?wi(T,"onreadystatechange",function(re){return function(){for(var nt=[],Mt=0;Mt<arguments.length;Mt++)nt[Mt]=arguments[Mt];return ke(),re.apply(T,nt)}}):T.addEventListener("readystatechange",ke),c.apply(T,g)}}),wi(o,"send",function(c){return function(){for(var g=[],E=0;E<arguments.length;E++)g[E]=arguments[E];return s.push(this),i.push(g),br("xhr",{args:g,startTimestamp:Date.now(),xhr:this}),c.apply(this,g)}})}}();break;case"fetch":!function(){if(!oi())return!1;var s=(0,Be.R)();if(yr(s.fetch))return!0;var i=!1,o=s.document;if(o&&"function"==typeof o.createElement)try{var c=o.createElement("iframe");c.hidden=!0,o.head.appendChild(c),c.contentWindow&&c.contentWindow.fetch&&(i=yr(c.contentWindow.fetch)),o.head.removeChild(c)}catch(g){At.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",g)}return i}()||wi(ai,"fetch",function(s){return function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];var c={args:i,fetchData:{method:Va(i),url:Eo(i)},startTimestamp:Date.now()};return br("fetch",Ci({},c)),s.apply(ai,i).then(function(g){return br("fetch",Ci(Ci({},c),{endTimestamp:Date.now(),response:g})),g},function(g){throw br("fetch",Ci(Ci({},c),{endTimestamp:Date.now(),error:g})),g})}});break;case"history":!function(){if(function(){var s=(0,Be.R)(),i=s.chrome;return!(i&&i.app&&i.app.runtime||!("history"in s)||!s.history.pushState||!s.history.replaceState)}()){var s=ai.onpopstate;ai.onpopstate=function(){for(var o=[],c=0;c<arguments.length;c++)o[c]=arguments[c];var g=ai.location.href,E=na;if(na=g,br("history",{from:E,to:g}),s)try{return s.apply(this,o)}catch(T){}},wi(ai.history,"pushState",i),wi(ai.history,"replaceState",i)}function i(o){return function(){for(var c=[],g=0;g<arguments.length;g++)c[g]=arguments[g];var E=c.length>2?c[2]:void 0;if(E){var T=na,Q=String(E);na=Q,br("history",{from:T,to:Q})}return o.apply(this,c)}}}();break;case"error":ao=ai.onerror,ai.onerror=function(s,i,o,c,g){return br("error",{column:c,error:g,line:o,msg:s,url:i}),!!ao&&ao.apply(this,arguments)};break;case"unhandledrejection":Hi=ai.onunhandledrejection,ai.onunhandledrejection=function(s){return br("unhandledrejection",s),!Hi||Hi.apply(this,arguments)};break;default:At.warn("unknown instrumentation type:",s)}}(s.type))}function br(s,i){var o,c;if(s&&Xr[s])try{for(var g=Wr(Xr[s]||[]),E=g.next();!E.done;E=g.next()){var T=E.value;try{T(i)}catch(Q){At.error("Error while triggering instrumentation handler.\nType: "+s+"\nName: "+Ei(T)+"\nError: "+Q)}}}catch(Q){o={error:Q}}finally{try{E&&!E.done&&(c=g.return)&&c.call(g)}finally{if(o)throw o.error}}}function Va(s){return void 0===s&&(s=[]),"Request"in ai&&vn(s[0],Request)&&s[0].method?String(s[0].method).toUpperCase():s[1]&&s[1].method?String(s[1].method).toUpperCase():"GET"}function Eo(s){return void 0===s&&(s=[]),"string"==typeof s[0]?s[0]:"Request"in ai&&vn(s[0],Request)?s[0].url:String(s[0])}function Qc(s,i){return void 0===i&&(i=!1),function(o){if(o&&Ua!==o&&!function(s){if("keypress"!==s.type)return!1;try{var i=s.target;if(!i||!i.tagName)return!0;if("INPUT"===i.tagName||"TEXTAREA"===i.tagName||i.isContentEditable)return!1}catch(o){}return!0}(o)){var c="keypress"===o.type?"input":o.type;(void 0===ja||function(s,i){if(!s||s.type!==i.type)return!0;try{if(s.target!==i.target)return!0}catch(o){}return!1}(Ua,o))&&(s({event:o,name:c,global:i}),Ua=o),clearTimeout(ja),ja=ai.setTimeout(function(){ja=void 0},1e3)}}}var ao=null,Hi=null,lo=function(s,i){return(lo=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,c){o.__proto__=c}||function(o,c){for(var g in c)c.hasOwnProperty(g)&&(o[g]=c[g])})(s,i)};function za(s,i){function o(){this.constructor=s}lo(s,i),s.prototype=null===i?Object.create(i):(o.prototype=i.prototype,new o)}var xi=function(){return xi=Object.assign||function(i){for(var o,c=1,g=arguments.length;c<g;c++)for(var E in o=arguments[c])Object.prototype.hasOwnProperty.call(o,E)&&(i[E]=o[E]);return i},xi.apply(this,arguments)};function Wa(s){var i="function"==typeof Symbol&&Symbol.iterator,o=i&&s[i],c=0;if(o)return o.call(s);if(s&&"number"==typeof s.length)return{next:function(){return s&&c>=s.length&&(s=void 0),{value:s&&s[c++],done:!s}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")}function $a(s,i){var o="function"==typeof Symbol&&s[Symbol.iterator];if(!o)return s;var g,T,c=o.call(s),E=[];try{for(;(void 0===i||i-- >0)&&!(g=c.next()).done;)E.push(g.value)}catch(Q){T={error:Q}}finally{try{g&&!g.done&&(o=c.return)&&o.call(c)}finally{if(T)throw T.error}}return E}function qs(){for(var s=[],i=0;i<arguments.length;i++)s=s.concat($a(arguments[i]));return s}var Nr=(()=>(function(s){s.BeforeSend="before_send",s.EventProcessor="event_processor",s.NetworkError="network_error",s.QueueOverflow="queue_overflow",s.RateLimitBackoff="ratelimit_backoff",s.SampleRate="sample_rate"}(Nr||(Nr={})),Nr))(),ra=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(s,i){return s.__proto__=i,s}:function(s,i){for(var o in i)Object.prototype.hasOwnProperty.call(s,o)||(s[o]=i[o]);return s}),Bi=function(s){function i(o){var c=this.constructor,g=s.call(this,o)||this;return g.message=o,g.name=c.prototype.constructor.name,ra(g,c.prototype),g}return function(s,i){function o(){this.constructor=s}lr(s,i),s.prototype=null===i?Object.create(i):(o.prototype=i.prototype,new o)}(i,s),i}(Error),sa=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+))?@)([\w.-]+)(?::(\d+))?\/(.+)/,Vo="Invalid Dsn",Hl=function(){function s(i){"string"==typeof i?this._fromString(i):this._fromComponents(i),this._validate()}return s.prototype.toString=function(i){void 0===i&&(i=!1);var o=this,g=o.path,E=o.pass,T=o.port;return o.protocol+"://"+o.publicKey+(i&&E?":"+E:"")+"@"+o.host+(T?":"+T:"")+"/"+(g&&g+"/")+o.projectId},s.prototype._fromString=function(i){var o=sa.exec(i);if(!o)throw new Bi(Vo);var c=function(s,i){var o="function"==typeof Symbol&&s[Symbol.iterator];if(!o)return s;var g,T,c=o.call(s),E=[];try{for(;(void 0===i||i-- >0)&&!(g=c.next()).done;)E.push(g.value)}catch(Q){T={error:Q}}finally{try{g&&!g.done&&(o=c.return)&&o.call(c)}finally{if(T)throw T.error}}return E}(o.slice(1),6),g=c[0],E=c[1],T=c[2],Q=void 0===T?"":T,ke=c[3],re=c[4],nt=void 0===re?"":re,at="",Pt=c[5],nn=Pt.split("/");if(nn.length>1&&(at=nn.slice(0,-1).join("/"),Pt=nn.pop()),Pt){var bn=Pt.match(/^\d+/);bn&&(Pt=bn[0])}this._fromComponents({host:ke,pass:Q,path:at,projectId:Pt,port:nt,protocol:g,publicKey:E})},s.prototype._fromComponents=function(i){"user"in i&&!("publicKey"in i)&&(i.publicKey=i.user),this.user=i.publicKey||"",this.protocol=i.protocol,this.publicKey=i.publicKey||"",this.pass=i.pass||"",this.host=i.host,this.port=i.port||"",this.path=i.path||"",this.projectId=i.projectId},s.prototype._validate=function(){var i=this;if(["protocol","publicKey","host","projectId"].forEach(function(o){if(!i[o])throw new Bi(Vo+": "+o+" missing")}),!this.projectId.match(/^\d+$/))throw new Bi(Vo+": Invalid projectId "+this.projectId);if("http"!==this.protocol&&"https"!==this.protocol)throw new Bi(Vo+": Invalid protocol "+this.protocol);if(this.port&&isNaN(parseInt(this.port,10)))throw new Bi(Vo+": Invalid port "+this.port)},s}(),zl=[];function Qa(s){return s.reduce(function(i,o){return i.every(function(c){return o.name!==c.name})&&i.push(o),i},[])}var Wl="Not capturing exception because it's already been captured.",sr=function(){function s(i,o){this._integrations={},this._numProcessing=0,this._backend=new i(o),this._options=o,o.dsn&&(this._dsn=new Hl(o.dsn))}return s.prototype.captureException=function(i,o,c){var g=this;if(!kr(i)){var E=o&&o.event_id;return this._process(this._getBackend().eventFromException(i,o).then(function(T){return g._captureEvent(T,o,c)}).then(function(T){E=T})),E}At.log(Wl)},s.prototype.captureMessage=function(i,o,c,g){var E=this,T=c&&c.event_id,Q=ye(i)?this._getBackend().eventFromMessage(String(i),o,c):this._getBackend().eventFromException(i,c);return this._process(Q.then(function(ke){return E._captureEvent(ke,c,g)}).then(function(ke){T=ke})),T},s.prototype.captureEvent=function(i,o,c){var g;if(!(null===(g=o)||void 0===g?void 0:g.originalException)||!kr(o.originalException)){var E=o&&o.event_id;return this._process(this._captureEvent(i,o,c).then(function(T){E=T})),E}At.log(Wl)},s.prototype.captureSession=function(i){this._isEnabled()?"string"!=typeof i.release?At.warn("Discarded session because of missing or non-string release"):(this._sendSession(i),i.update({init:!1})):At.warn("SDK not enabled, will not capture session.")},s.prototype.getDsn=function(){return this._dsn},s.prototype.getOptions=function(){return this._options},s.prototype.getTransport=function(){return this._getBackend().getTransport()},s.prototype.flush=function(i){var o=this;return this._isClientDoneProcessing(i).then(function(c){return o.getTransport().close(i).then(function(g){return c&&g})})},s.prototype.close=function(i){var o=this;return this.flush(i).then(function(c){return o.getOptions().enabled=!1,c})},s.prototype.setupIntegrations=function(){this._isEnabled()&&!this._integrations.initialized&&(this._integrations=function(s){var i={};return function(s){var i=s.defaultIntegrations&&_r(s.defaultIntegrations)||[],o=s.integrations,c=_r(Qa(i));Array.isArray(o)?c=_r(c.filter(function(T){return o.every(function(Q){return Q.name!==T.name})}),Qa(o)):"function"==typeof o&&(c=o(c),c=Array.isArray(c)?c:[c]);var g=c.map(function(T){return T.name}),E="Debug";return-1!==g.indexOf(E)&&c.push.apply(c,_r(c.splice(g.indexOf(E),1))),c}(s).forEach(function(o){i[o.name]=o,function(s){-1===zl.indexOf(s.name)&&(s.setupOnce(mi,Ui),zl.push(s.name),At.log("Integration installed: "+s.name))}(o)}),Object.defineProperty(i,"initialized",{value:!0}),i}(this._options))},s.prototype.getIntegration=function(i){try{return this._integrations[i.id]||null}catch(o){return At.warn("Cannot retrieve integration "+i.id+" from the current Client"),null}},s.prototype._updateSessionFromEvent=function(i,o){var c,g,E=!1,T=!1,Q=o.exception&&o.exception.values;if(Q){T=!0;try{for(var ke=function(s){var i="function"==typeof Symbol&&Symbol.iterator,o=i&&s[i],c=0;if(o)return o.call(s);if(s&&"number"==typeof s.length)return{next:function(){return s&&c>=s.length&&(s=void 0),{value:s&&s[c++],done:!s}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")}(Q),re=ke.next();!re.done;re=ke.next()){var Mt=re.value.mechanism;if(Mt&&!1===Mt.handled){E=!0;break}}}catch(nn){c={error:nn}}finally{try{re&&!re.done&&(g=ke.return)&&g.call(ke)}finally{if(c)throw c.error}}}var at=i.status===ui.Ok;(at&&0===i.errors||at&&E)&&(i.update($i($i({},E&&{status:ui.Crashed}),{errors:i.errors||Number(T||E)})),this.captureSession(i))},s.prototype._sendSession=function(i){this._getBackend().sendSession(i)},s.prototype._isClientDoneProcessing=function(i){var o=this;return new kn(function(c){var g=0,T=setInterval(function(){0==o._numProcessing?(clearInterval(T),c(!0)):(g+=1,i&&g>=i&&(clearInterval(T),c(!1)))},1)})},s.prototype._getBackend=function(){return this._backend},s.prototype._isEnabled=function(){return!1!==this.getOptions().enabled&&void 0!==this._dsn},s.prototype._prepareEvent=function(i,o,c){var g=this,E=this.getOptions().normalizeDepth,T=void 0===E?3:E,Q=$i($i({},i),{event_id:i.event_id||(c&&c.event_id?c.event_id:wt()),timestamp:i.timestamp||(0,ji.yW)()});this._applyClientOptions(Q),this._applyIntegrationsMetadata(Q);var ke=o;c&&c.captureContext&&(ke=xn.clone(ke).update(c.captureContext));var re=kn.resolve(Q);return ke&&(re=ke.applyToEvent(Q,c)),re.then(function(nt){return"number"==typeof T&&T>0?g._normalizeEvent(nt,T):nt})},s.prototype._normalizeEvent=function(i,o){if(!i)return null;var c=$i($i($i($i($i({},i),i.breadcrumbs&&{breadcrumbs:i.breadcrumbs.map(function(T){return $i($i({},T),T.data&&{data:Ai(T.data,o)})})}),i.user&&{user:Ai(i.user,o)}),i.contexts&&{contexts:Ai(i.contexts,o)}),i.extra&&{extra:Ai(i.extra,o)});i.contexts&&i.contexts.trace&&(c.contexts.trace=i.contexts.trace);var g=this.getOptions()._experiments;return(void 0===g?{}:g).ensureNoCircularStructures?Ai(c):c},s.prototype._applyClientOptions=function(i){var o=this.getOptions(),g=o.release,E=o.dist,T=o.maxValueLength,Q=void 0===T?250:T;"environment"in i||(i.environment="environment"in o?o.environment:"production"),void 0===i.release&&void 0!==g&&(i.release=g),void 0===i.dist&&void 0!==E&&(i.dist=E),i.message&&(i.message=ir(i.message,Q));var ke=i.exception&&i.exception.values&&i.exception.values[0];ke&&ke.value&&(ke.value=ir(ke.value,Q));var re=i.request;re&&re.url&&(re.url=ir(re.url,Q))},s.prototype._applyIntegrationsMetadata=function(i){var o=Object.keys(this._integrations);o.length>0&&(i.sdk=i.sdk||{},i.sdk.integrations=_r(i.sdk.integrations||[],o))},s.prototype._sendEvent=function(i){this._getBackend().sendEvent(i)},s.prototype._captureEvent=function(i,o,c){return this._processEvent(i,o,c).then(function(g){return g.event_id},function(g){At.error(g)})},s.prototype._processEvent=function(i,o,c){var E,T,g=this,Q=this.getOptions(),ke=Q.beforeSend,re=Q.sampleRate,nt=this.getTransport();if(!this._isEnabled())return kn.reject(new Bi("SDK not enabled, will not capture event."));var Mt="transaction"===i.type;return!Mt&&"number"==typeof re&&Math.random()>re?(null===(T=(E=nt).recordLostEvent)||void 0===T||T.call(E,Nr.SampleRate,"event"),kn.reject(new Bi("Discarding event because it's not included in the random sample (sampling rate = "+re+")"))):this._prepareEvent(i,c,o).then(function(at){var Pt,nn;if(null===at)throw null===(nn=(Pt=nt).recordLostEvent)||void 0===nn||nn.call(Pt,Nr.EventProcessor,i.type||"event"),new Bi("An event processor returned null, will not send event.");if(o&&o.data&&!0===o.data.__sentry__||Mt||!ke)return at;var Un=ke(at,o);return g._ensureBeforeSendRv(Un)}).then(function(at){var Pt,nn;if(null===at)throw null===(nn=(Pt=nt).recordLostEvent)||void 0===nn||nn.call(Pt,Nr.BeforeSend,i.type||"event"),new Bi("`beforeSend` returned `null`, will not send event.");var bn=c&&c.getSession&&c.getSession();return!Mt&&bn&&g._updateSessionFromEvent(bn,at),g._sendEvent(at),at}).then(null,function(at){throw at instanceof Bi?at:(g.captureException(at,{data:{__sentry__:!0},originalException:at}),new Bi("Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.\nReason: "+at))})},s.prototype._process=function(i){var o=this;this._numProcessing+=1,i.then(function(c){return o._numProcessing-=1,c},function(c){return o._numProcessing-=1,c})},s.prototype._ensureBeforeSendRv=function(i){var o="`beforeSend` method has to return `null` or a valid event.";if(qt(i))return i.then(function(c){if(!$e(c)&&null!==c)throw new Bi(o);return c},function(c){throw new Bi("beforeSend rejected with "+c)});if(!$e(i)&&null!==i)throw new Bi(o);return i},s}(),Ps=(()=>(function(s){s.Unknown="unknown",s.Skipped="skipped",s.Success="success",s.RateLimit="rate_limit",s.Invalid="invalid",s.Failed="failed"}(Ps||(Ps={})),Ps))();!function(s){s.fromHttpCode=function(o){return o>=200&&o<300?s.Success:429===o?s.RateLimit:o>=400&&o<500?s.Invalid:o>=500?s.Failed:s.Unknown}}(Ps||(Ps={}));var Jc=function(){function s(){}return s.prototype.sendEvent=function(i){return kn.resolve({reason:"NoopTransport: Event has been skipped because no Dsn is configured.",status:Ps.Skipped})},s.prototype.close=function(i){return kn.resolve(!0)},s}(),Ka=function(){function s(i){this._options=i,this._options.dsn||At.warn("No DSN provided, backend will not do anything."),this._transport=this._setupTransport()}return s.prototype.eventFromException=function(i,o){throw new Bi("Backend has to implement `eventFromException` method")},s.prototype.eventFromMessage=function(i,o,c){throw new Bi("Backend has to implement `eventFromMessage` method")},s.prototype.sendEvent=function(i){this._transport.sendEvent(i).then(null,function(o){At.error("Error while sending event: "+o)})},s.prototype.sendSession=function(i){this._transport.sendSession?this._transport.sendSession(i).then(null,function(o){At.error("Error while sending session: "+o)}):At.warn("Dropping session because custom transport doesn't implement sendSession")},s.prototype.getTransport=function(){return this._transport},s.prototype._setupTransport=function(){return new Jc},s}(),Sr=(()=>(function(s){s.Fatal="fatal",s.Error="error",s.Warning="warning",s.Log="log",s.Info="info",s.Debug="debug",s.Critical="critical"}(Sr||(Sr={})),Sr))();!function(s){s.fromString=function(o){switch(o){case"debug":return s.Debug;case"info":return s.Info;case"warn":case"warning":return s.Warning;case"error":return s.Error;case"fatal":return s.Fatal;case"critical":return s.Critical;default:return s.Log}}}(Sr||(Sr={}));var eu=/^\s*at (?:(.*?) ?\()?((?:file|https?|blob|chrome-extension|address|native|eval|webpack|<anonymous>|[-a-z]+:|.*bundle|\/).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,tu=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:file|https?|blob|chrome|webpack|resource|moz-extension|capacitor).*?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,Uo=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,co=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,$l=/\((\S*)(?::(\d+))(?::(\d+))\)/,Do=/Minified React error #\d+;/i;function Mo(s){var i=null,o=0;s&&("number"==typeof s.framesToPop?o=s.framesToPop:Do.test(s.message)&&(o=1));try{if(i=function(s){if(!s||!s.stacktrace)return null;for(var T,o=/ line (\d+).*script (?:in )?(\S+)(?:: in function (\S+))?$/i,c=/ line (\d+), column (\d+)\s*(?:in (?:<anonymous function: ([^>]+)>|([^)]+))\((.*)\))? in (.*):\s*$/i,g=s.stacktrace.split("\n"),E=[],Q=0;Q<g.length;Q+=2){var ke=null;(T=o.exec(g[Q]))?ke={url:T[2],func:T[3],args:[],line:+T[1],column:null}:(T=c.exec(g[Q]))&&(ke={url:T[6],func:T[3]||T[4],args:T[5]?T[5].split(","):[],line:+T[1],column:+T[2]}),ke&&(!ke.func&&ke.line&&(ke.func="?"),E.push(ke))}return E.length?{message:Xa(s),name:s.name,stack:E}:null}(s),i)return Za(i,o)}catch(c){}try{if(i=function(s){var i,o;if(!s||!s.stack)return null;for(var T,Q,ke,c=[],g=s.stack.split("\n"),re=0;re<g.length;++re){if(Q=eu.exec(g[re])){var nt=Q[2]&&0===Q[2].indexOf("native");Q[2]&&0===Q[2].indexOf("eval")&&(T=$l.exec(Q[2]))&&(Q[2]=T[1],Q[3]=T[2],Q[4]=T[3]);var Mt=Q[2]&&0===Q[2].indexOf("address at ")?Q[2].substr("address at ".length):Q[2];ke={url:Mt=(i=$a(Ho(Q[1]||"?",Mt),2))[1],func:i[0],args:nt?[Q[2]]:[],line:Q[3]?+Q[3]:null,column:Q[4]?+Q[4]:null}}else if(Q=Uo.exec(g[re]))ke={url:Q[2],func:Q[1]||"?",args:[],line:+Q[3],column:Q[4]?+Q[4]:null};else{if(!(Q=tu.exec(g[re])))continue;Q[3]&&Q[3].indexOf(" > eval")>-1&&(T=co.exec(Q[3]))?(Q[1]=Q[1]||"eval",Q[3]=T[1],Q[4]=T[2],Q[5]=""):0===re&&!Q[5]&&void 0!==s.columnNumber&&(c[0].column=s.columnNumber+1),ke={url:Mt=(o=$a(Ho(Q[1]||"?",Mt=Q[3]),2))[1],func:o[0],args:Q[2]?Q[2].split(","):[],line:Q[4]?+Q[4]:null,column:Q[5]?+Q[5]:null}}!ke.func&&ke.line&&(ke.func="?"),c.push(ke)}return c.length?{message:Xa(s),name:s.name,stack:c}:null}(s),i)return Za(i,o)}catch(c){}return{message:Xa(s),name:s&&s.name,stack:[],failed:!0}}var Ho=function(s,i){var o=-1!==s.indexOf("safari-extension"),c=-1!==s.indexOf("safari-web-extension");return o||c?[-1!==s.indexOf("@")?s.split("@")[0]:"?",o?"safari-extension:"+i:"safari-web-extension:"+i]:[s,i]};function Za(s,i){try{return xi(xi({},s),{stack:s.stack.slice(i)})}catch(o){return s}}function Xa(s){var i=s&&s.message;return i?i.error&&"string"==typeof i.error.message?i.error.message:i:"No error message"}function uo(s){var i=Ql(s.stack),o={type:s.name,value:s.message};return i&&i.length&&(o.stacktrace={frames:i}),void 0===o.type&&""===o.value&&(o.value="Unrecoverable error caught"),o}function Ja(s){return{exception:{values:[uo(s)]}}}function Ql(s){if(!s||!s.length)return[];var i=s,o=i[0].func||"",c=i[i.length-1].func||"";return(-1!==o.indexOf("captureMessage")||-1!==o.indexOf("captureException"))&&(i=i.slice(1)),-1!==c.indexOf("sentryWrapped")&&(i=i.slice(0,-1)),i.slice(0,50).map(function(g){return{colno:null===g.column?void 0:g.column,filename:g.url||i[0].url,function:g.func||"?",in_app:!0,lineno:null===g.line?void 0:g.line}}).reverse()}function ql(s,i,o){var c;if(void 0===o&&(o={}),v(s)&&s.error)return Ja(Mo(s=s.error));if(b(s)||function(s){return"[object DOMException]"===Object.prototype.toString.call(s)}(s)){var E=s;if("stack"in s)c=Ja(Mo(s));else{var T=E.name||(b(E)?"DOMError":"DOMException"),Q=E.message?T+": "+E.message:T;qn(c=el(Q,i,o),Q)}return"code"in E&&(c.tags=xi(xi({},c.tags),{"DOMException.code":""+E.code})),c}return ie(s)?c=Ja(Mo(s)):$e(s)||Je(s)?(c=function(s,i,o){var c={exception:{values:[{type:Je(s)?s.constructor.name:o?"UnhandledRejection":"Error",value:"Non-Error "+(o?"promise rejection":"exception")+" captured with keys: "+Lr(s)}]},extra:{__serialized__:mn(s)}};if(i){var E=Ql(Mo(i).stack);c.stacktrace={frames:E}}return c}(s,i,o.rejection),Yn(c,{synthetic:!0}),c):(qn(c=el(s,i,o),""+s,void 0),Yn(c,{synthetic:!0}),c)}function el(s,i,o){void 0===o&&(o={});var c={message:s};if(o.attachStacktrace&&i){var E=Ql(Mo(i).stack);c.stacktrace={frames:E}}return c}function Zl(s){if(s.metadata&&s.metadata.sdk){var i=s.metadata.sdk;return{name:i.name,version:i.version}}}function ru(s,i){return i&&(s.sdk=s.sdk||{},s.sdk.name=s.sdk.name||i.name,s.sdk.version=s.sdk.version||i.version,s.sdk.integrations=_r(s.sdk.integrations||[],i.integrations||[]),s.sdk.packages=_r(s.sdk.packages||[],i.packages||[])),s}function Go(s,i){var o=Zl(i),g="aggregates"in s?"sessions":"session";return{body:JSON.stringify($i($i({sent_at:(new Date).toISOString()},o&&{sdk:o}),i.forceEnvelope()&&{dsn:i.getDsn().toString()}))+"\n"+JSON.stringify({type:g})+"\n"+JSON.stringify(s),type:g,url:i.getEnvelopeEndpointWithUrlEncodedAuth()}}function oa(s,i){var o=Zl(i),c=s.type||"event",g="transaction"===c||i.forceEnvelope(),E=s.debug_meta||{},T=E.transactionSampling,Q=function(s,i){var o={};for(var c in s)Object.prototype.hasOwnProperty.call(s,c)&&i.indexOf(c)<0&&(o[c]=s[c]);if(null!=s&&"function"==typeof Object.getOwnPropertySymbols){var g=0;for(c=Object.getOwnPropertySymbols(s);g<c.length;g++)i.indexOf(c[g])<0&&Object.prototype.propertyIsEnumerable.call(s,c[g])&&(o[c[g]]=s[c[g]])}return o}(E,["transactionSampling"]),ke=T||{},re=ke.method,nt=ke.rate;0===Object.keys(Q).length?delete s.debug_meta:s.debug_meta=Q;var Mt={body:JSON.stringify(o?ru(s,i.metadata.sdk):s),type:c,url:g?i.getEnvelopeEndpointWithUrlEncodedAuth():i.getStoreEndpointWithUrlEncodedAuth()};if(g){var at=JSON.stringify($i($i({event_id:s.event_id,sent_at:(new Date).toISOString()},o&&{sdk:o}),i.forceEnvelope()&&{dsn:i.getDsn().toString()})),Pt=JSON.stringify({type:c,sample_rates:[{id:re,rate:nt}]});Mt.body=at+"\n"+Pt+"\n"+Mt.body}return Mt}var So,Xl=function(){function s(i,o,c){void 0===o&&(o={}),this.dsn=i,this._dsnObject=new Hl(i),this.metadata=o,this._tunnel=c}return s.prototype.getDsn=function(){return this._dsnObject},s.prototype.forceEnvelope=function(){return!!this._tunnel},s.prototype.getBaseApiEndpoint=function(){var i=this.getDsn();return(i.protocol?i.protocol+":":"")+"//"+i.host+(i.port?":"+i.port:"")+(i.path?"/"+i.path:"")+"/api/"},s.prototype.getStoreEndpoint=function(){return this._getIngestEndpoint("store")},s.prototype.getStoreEndpointWithUrlEncodedAuth=function(){return this.getStoreEndpoint()+"?"+this._encodedAuth()},s.prototype.getEnvelopeEndpointWithUrlEncodedAuth=function(){return this.forceEnvelope()?this._tunnel:this._getEnvelopeEndpoint()+"?"+this._encodedAuth()},s.prototype.getStoreEndpointPath=function(){var i=this.getDsn();return(i.path?"/"+i.path:"")+"/api/"+i.projectId+"/store/"},s.prototype.getRequestHeaders=function(i,o){var c=this.getDsn(),g=["Sentry sentry_version=7"];return g.push("sentry_client="+i+"/"+o),g.push("sentry_key="+c.publicKey),c.pass&&g.push("sentry_secret="+c.pass),{"Content-Type":"application/json","X-Sentry-Auth":g.join(", ")}},s.prototype.getReportDialogEndpoint=function(i){void 0===i&&(i={});var o=this.getDsn(),c=this.getBaseApiEndpoint()+"embed/error-page/",g=[];for(var E in g.push("dsn="+o.toString()),i)if("dsn"!==E)if("user"===E){if(!i.user)continue;i.user.name&&g.push("name="+encodeURIComponent(i.user.name)),i.user.email&&g.push("email="+encodeURIComponent(i.user.email))}else g.push(encodeURIComponent(E)+"="+encodeURIComponent(i[E]));return g.length?c+"?"+g.join("&"):c},s.prototype._getEnvelopeEndpoint=function(){return this._getIngestEndpoint("envelope")},s.prototype._getIngestEndpoint=function(i){return this._tunnel?this._tunnel:""+this.getBaseApiEndpoint()+this.getDsn().projectId+"/"+i+"/"},s.prototype._encodedAuth=function(){return function(s){return Object.keys(s).map(function(i){return encodeURIComponent(i)+"="+encodeURIComponent(s[i])}).join("&")}({sentry_key:this.getDsn().publicKey,sentry_version:"7"})},s}(),su=function(){function s(i){this._limit=i,this._buffer=[]}return s.prototype.isReady=function(){return void 0===this._limit||this.length()<this._limit},s.prototype.add=function(i){var o=this;if(!this.isReady())return kn.reject(new Bi("Not adding Promise due to buffer limit reached."));var c=i();return-1===this._buffer.indexOf(c)&&this._buffer.push(c),c.then(function(){return o.remove(c)}).then(null,function(){return o.remove(c).then(null,function(){})}),c},s.prototype.remove=function(i){return this._buffer.splice(this._buffer.indexOf(i),1)[0]},s.prototype.length=function(){return this._buffer.length},s.prototype.drain=function(i){var o=this;return new kn(function(c){var g=setTimeout(function(){i&&i>0&&c(!1)},i);kn.all(o._buffer).then(function(){clearTimeout(g),c(!0)}).then(null,function(){c(!0)})})},s}(),Br=(0,Be.R)();function tl(){var s,i;if(So)return So;if(yr(Br.fetch))return So=Br.fetch.bind(Br);var o=Br.document,c=Br.fetch;if("function"==typeof(null===(s=o)||void 0===s?void 0:s.createElement))try{var g=o.createElement("iframe");g.hidden=!0,o.head.appendChild(g),(null===(i=g.contentWindow)||void 0===i?void 0:i.fetch)&&(c=g.contentWindow.fetch),o.head.removeChild(g)}catch(E){At.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",E)}return So=c.bind(Br)}var nl={event:"error",transaction:"transaction",session:"session",attachment:"attachment"},Rs=(0,Be.R)(),ec=function(){function s(i){var o=this;this.options=i,this._buffer=new su(30),this._rateLimits={},this._outcomes={},this._api=new Xl(i.dsn,i._metadata,i.tunnel),this.url=this._api.getStoreEndpointWithUrlEncodedAuth(),this.options.sendClientReports&&Rs.document&&Rs.document.addEventListener("visibilitychange",function(){"hidden"===Rs.document.visibilityState&&o._flushOutcomes()})}return s.prototype.sendEvent=function(i){throw new Bi("Transport Class has to implement `sendEvent` method")},s.prototype.close=function(i){return this._buffer.drain(i)},s.prototype.recordLostEvent=function(i,o){var c;if(this.options.sendClientReports){var g=nl[o]+":"+i;At.log("Adding outcome: "+g),this._outcomes[g]=(null!=(c=this._outcomes[g])?c:0)+1}},s.prototype._flushOutcomes=function(){if(this.options.sendClientReports){var i=this._outcomes;if(this._outcomes={},!Object.keys(i).length)return void At.log("No outcomes to flush");At.log("Flushing outcomes:\n"+JSON.stringify(i,null,2));var o=this._api.getEnvelopeEndpointWithUrlEncodedAuth(),T=JSON.stringify(xi({},this.options.tunnel&&{dsn:this._api.getDsn().toString()}))+"\n"+JSON.stringify({type:"client_report"})+"\n"+JSON.stringify({timestamp:(0,ji.yW)(),discarded_events:Object.keys(i).map(function(Q){var ke=$a(Q.split(":"),2);return{reason:ke[1],category:ke[0],quantity:i[Q]}})});try{!function(s,i){"[object Navigator]"===Object.prototype.toString.call(Br&&Br.navigator)&&"function"==typeof Br.navigator.sendBeacon?Br.navigator.sendBeacon.bind(Br.navigator)(s,i):oi()&&function(s){s.then(null,function(i){console.error(i)})}(tl()(s,{body:i,method:"POST",credentials:"omit",keepalive:!0}))}(o,T)}catch(Q){At.error(Q)}}},s.prototype._handleResponse=function(i){var o=i.requestType,c=i.response,g=i.headers,E=i.resolve,T=i.reject,Q=Ps.fromHttpCode(c.status);this._handleRateLimit(g)&&At.warn("Too many "+o+" requests, backing off until: "+this._disabledUntil(o)),Q!==Ps.Success?T(c):E({status:Q})},s.prototype._disabledUntil=function(i){return this._rateLimits[nl[i]]||this._rateLimits.all},s.prototype._isRateLimited=function(i){return this._disabledUntil(i)>new Date(Date.now())},s.prototype._handleRateLimit=function(i){var o,c,g,E,T=Date.now(),Q=i["x-sentry-rate-limits"],ke=i["retry-after"];if(Q){try{for(var re=Wa(Q.trim().split(",")),nt=re.next();!nt.done;nt=re.next()){var at=nt.value.split(":",2),Pt=parseInt(at[0],10),nn=1e3*(isNaN(Pt)?60:Pt);try{for(var bn=(g=void 0,Wa(at[1].split(";"))),Un=bn.next();!Un.done;Un=bn.next())this._rateLimits[Un.value||"all"]=new Date(T+nn)}catch(ki){g={error:ki}}finally{try{Un&&!Un.done&&(E=bn.return)&&E.call(bn)}finally{if(g)throw g.error}}}}catch(ki){o={error:ki}}finally{try{nt&&!nt.done&&(c=re.return)&&c.call(re)}finally{if(o)throw o.error}}return!0}return!!ke&&(this._rateLimits.all=new Date(T+function(s,i){if(!i)return 6e4;var o=parseInt(""+i,10);if(!isNaN(o))return 1e3*o;var c=Date.parse(""+i);return isNaN(c)?6e4:c-s}(T,ke)),!0)},s}(),ou=function(s){function i(o,c){void 0===c&&(c=tl());var g=s.call(this,o)||this;return g._fetch=c,g}return za(i,s),i.prototype.sendEvent=function(o){return this._sendRequest(oa(o,this._api),o)},i.prototype.sendSession=function(o){return this._sendRequest(Go(o,this._api),o)},i.prototype._sendRequest=function(o,c){var g=this;if(this._isRateLimited(o.type))return this.recordLostEvent(Nr.RateLimitBackoff,o.type),Promise.reject({event:c,type:o.type,reason:"Transport for "+o.type+" requests locked till "+this._disabledUntil(o.type)+" due to too many requests.",status:429});var E={body:o.body,method:"POST",referrerPolicy:As()?"origin":""};return void 0!==this.options.fetchParameters&&Object.assign(E,this.options.fetchParameters),void 0!==this.options.headers&&(E.headers=this.options.headers),this._buffer.add(function(){return new kn(function(T,Q){g._fetch(o.url,E).then(function(ke){var re={"x-sentry-rate-limits":ke.headers.get("X-Sentry-Rate-Limits"),"retry-after":ke.headers.get("Retry-After")};g._handleResponse({requestType:o.type,response:ke,headers:re,resolve:T,reject:Q})}).catch(Q)})}).then(void 0,function(T){throw g.recordLostEvent(T instanceof Bi?Nr.QueueOverflow:Nr.NetworkError,o.type),T})},i}(ec),au=function(s){function i(){return null!==s&&s.apply(this,arguments)||this}return za(i,s),i.prototype.sendEvent=function(o){return this._sendRequest(oa(o,this._api),o)},i.prototype.sendSession=function(o){return this._sendRequest(Go(o,this._api),o)},i.prototype._sendRequest=function(o,c){var g=this;return this._isRateLimited(o.type)?(this.recordLostEvent(Nr.RateLimitBackoff,o.type),Promise.reject({event:c,type:o.type,reason:"Transport for "+o.type+" requests locked till "+this._disabledUntil(o.type)+" due to too many requests.",status:429})):this._buffer.add(function(){return new kn(function(E,T){var Q=new XMLHttpRequest;for(var ke in Q.onreadystatechange=function(){if(4===Q.readyState){var re={"x-sentry-rate-limits":Q.getResponseHeader("X-Sentry-Rate-Limits"),"retry-after":Q.getResponseHeader("Retry-After")};g._handleResponse({requestType:o.type,response:Q,headers:re,resolve:E,reject:T})}},Q.open("POST",o.url),g.options.headers)Object.prototype.hasOwnProperty.call(g.options.headers,ke)&&Q.setRequestHeader(ke,g.options.headers[ke]);Q.send(o.body)})}).then(void 0,function(E){throw g.recordLostEvent(E instanceof Bi?Nr.QueueOverflow:Nr.NetworkError,o.type),E})},i}(ec),lu=function(s){function i(){return null!==s&&s.apply(this,arguments)||this}return za(i,s),i.prototype.eventFromException=function(o,c){return function(s,i,o){var g=ql(i,o&&o.syntheticException||void 0,{attachStacktrace:s.attachStacktrace});return Yn(g),g.level=Sr.Error,o&&o.event_id&&(g.event_id=o.event_id),kn.resolve(g)}(this._options,o,c)},i.prototype.eventFromMessage=function(o,c,g){return void 0===c&&(c=Sr.Info),function(s,i,o,c){void 0===o&&(o=Sr.Info);var E=el(i,c&&c.syntheticException||void 0,{attachStacktrace:s.attachStacktrace});return E.level=o,c&&c.event_id&&(E.event_id=c.event_id),kn.resolve(E)}(this._options,o,c,g)},i.prototype._setupTransport=function(){if(!this._options.dsn)return s.prototype._setupTransport.call(this);var o=xi(xi({},this._options.transportOptions),{dsn:this._options.dsn,tunnel:this._options.tunnel,sendClientReports:this._options.sendClientReports,_metadata:this._options._metadata});return this._options.transport?new this._options.transport(o):oi()?new ou(o):new au(o)},i}(Ka);function du(s,i){var o="function"==typeof Symbol&&s[Symbol.iterator];if(!o)return s;var g,T,c=o.call(s),E=[];try{for(;(void 0===i||i-- >0)&&!(g=c.next()).done;)E.push(g.value)}catch(Q){T={error:Q}}finally{try{g&&!g.done&&(o=c.return)&&o.call(c)}finally{if(T)throw T.error}}return E}function fu(){for(var s=[],i=0;i<arguments.length;i++)s=s.concat(du(arguments[i]));return s}function es(s){for(var i=[],o=1;o<arguments.length;o++)i[o-1]=arguments[o];var c=Ui();if(c&&c[s])return c[s].apply(c,fu(i));throw new Error("No hub defined or "+s+" was not found on the hub, please open a bug report.")}function vu(s,i){var o;try{throw new Error("Sentry syntheticException")}catch(c){o=c}return es("captureException",s,{captureContext:i,originalException:s,syntheticException:o})}function sc(s){es("withScope",s)}var xo=(0,Be.R)(),sl=0;function Vi(){return sl>0}function oc(){sl+=1,setTimeout(function(){sl-=1})}function Oo(s,i,o){if(void 0===i&&(i={}),"function"!=typeof s)return s;try{if(s.__sentry__)return s;if(s.__sentry_wrapped__)return s.__sentry_wrapped__}catch(T){return s}var c=function(){var T=Array.prototype.slice.call(arguments);try{o&&"function"==typeof o&&o.apply(this,arguments);var Q=T.map(function(ke){return Oo(ke,i)});return s.handleEvent?s.handleEvent.apply(this,Q):s.apply(this,Q)}catch(ke){throw oc(),sc(function(re){re.addEventProcessor(function(nt){var Mt=xi({},nt);return i.mechanism&&(qn(Mt,void 0,void 0),Yn(Mt,i.mechanism)),Mt.extra=xi(xi({},Mt.extra),{arguments:T}),Mt}),vu(ke)}),ke}};try{for(var g in s)Object.prototype.hasOwnProperty.call(s,g)&&(c[g]=s[g])}catch(T){}s.prototype=s.prototype||{},c.prototype=s.prototype,Object.defineProperty(s,"__sentry_wrapped__",{enumerable:!1,value:c}),Object.defineProperties(c,{__sentry__:{enumerable:!1,value:!0},__sentry_original__:{enumerable:!1,value:s}});try{Object.getOwnPropertyDescriptor(c,"name").configurable&&Object.defineProperty(c,"name",{get:function(){return s.name}})}catch(T){}return c}var al=function(){function s(i){this.name=s.id,this._options=xi({console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0},i)}return s.prototype.addSentryBreadcrumb=function(i){!this._options.sentry||Ui().addBreadcrumb({category:"sentry."+("transaction"===i.type?"transaction":"event"),event_id:i.event_id,level:i.level,message:gn(i)},{event:i})},s.prototype.setupOnce=function(){var i=this;this._options.console&&Jr({callback:function(){for(var o=[],c=0;c<arguments.length;c++)o[c]=arguments[c];i._consoleBreadcrumb.apply(i,qs(o))},type:"console"}),this._options.dom&&Jr({callback:function(){for(var o=[],c=0;c<arguments.length;c++)o[c]=arguments[c];i._domBreadcrumb.apply(i,qs(o))},type:"dom"}),this._options.xhr&&Jr({callback:function(){for(var o=[],c=0;c<arguments.length;c++)o[c]=arguments[c];i._xhrBreadcrumb.apply(i,qs(o))},type:"xhr"}),this._options.fetch&&Jr({callback:function(){for(var o=[],c=0;c<arguments.length;c++)o[c]=arguments[c];i._fetchBreadcrumb.apply(i,qs(o))},type:"fetch"}),this._options.history&&Jr({callback:function(){for(var o=[],c=0;c<arguments.length;c++)o[c]=arguments[c];i._historyBreadcrumb.apply(i,qs(o))},type:"history"})},s.prototype._consoleBreadcrumb=function(i){var o={category:"console",data:{arguments:i.args,logger:"console"},level:Sr.fromString(i.level),message:Zi(i.args," ")};if("assert"===i.level){if(!1!==i.args[0])return;o.message="Assertion failed: "+(Zi(i.args.slice(1)," ")||"console.assert"),o.data.arguments=i.args.slice(1)}Ui().addBreadcrumb(o,{input:i.args,level:i.level})},s.prototype._domBreadcrumb=function(i){var o,c="object"==typeof this._options.dom?this._options.dom.serializeAttribute:void 0;"string"==typeof c&&(c=[c]);try{o=Di(i.event.target?i.event.target:i.event,c)}catch(g){o="<unknown>"}0!==o.length&&Ui().addBreadcrumb({category:"ui."+i.name,message:o},{event:i.event,name:i.name,global:i.global})},s.prototype._xhrBreadcrumb=function(i){if(i.endTimestamp){if(i.xhr.__sentry_own_request__)return;var o=i.xhr.__sentry_xhr__||{},c=o.method,g=o.url,E=o.status_code,T=o.body;Ui().addBreadcrumb({category:"xhr",data:{method:c,url:g,status_code:E},type:"http"},{xhr:i.xhr,input:T})}},s.prototype._fetchBreadcrumb=function(i){!i.endTimestamp||i.fetchData.url.match(/sentry_key/)&&"POST"===i.fetchData.method||(i.error?Ui().addBreadcrumb({category:"fetch",data:i.fetchData,level:Sr.Error,type:"http"},{data:i.error,input:i.args}):Ui().addBreadcrumb({category:"fetch",data:xi(xi({},i.fetchData),{status_code:i.response.status}),type:"http"},{input:i.args,response:i.response}))},s.prototype._historyBreadcrumb=function(i){var o=(0,Be.R)(),c=i.from,g=i.to,E=Zt(o.location.href),T=Zt(c),Q=Zt(g);T.path||(T=E),E.protocol===Q.protocol&&E.host===Q.host&&(g=Q.relative),E.protocol===T.protocol&&E.host===T.host&&(c=T.relative),Ui().addBreadcrumb({category:"navigation",data:{from:c,to:g}})},s.id="Breadcrumbs",s}(),bu=function(s){function i(o){return void 0===o&&(o={}),o._metadata=o._metadata||{},o._metadata.sdk=o._metadata.sdk||{name:"sentry.javascript.browser",packages:[{name:"npm:@sentry/browser",version:"6.16.0"}],version:"6.16.0"},s.call(this,lu,o)||this}return za(i,s),i.prototype.showReportDialog=function(o){if(void 0===o&&(o={}),(0,Be.R)().document){if(!this._isEnabled())return void At.error("Trying to call showReportDialog with Sentry Client disabled");!function(s){if(void 0===s&&(s={}),xo.document){if(!s.eventId)return void At.error("Missing eventId option in showReportDialog call");if(!s.dsn)return void At.error("Missing dsn option in showReportDialog call");var i=xo.document.createElement("script");i.async=!0,i.src=new Xl(s.dsn).getReportDialogEndpoint(s),s.onLoad&&(i.onload=s.onLoad);var o=xo.document.head||xo.document.body;o&&o.appendChild(i)}}(xi(xi({},o),{dsn:o.dsn||this.getDsn()}))}},i.prototype._prepareEvent=function(o,c,g){return o.platform=o.platform||"javascript",s.prototype._prepareEvent.call(this,o,c,g)},i.prototype._sendEvent=function(o){var c=this.getIntegration(al);c&&c.addSentryBreadcrumb(o),s.prototype._sendEvent.call(this,o)},i}(sr),Eu=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"],wu=function(){function s(i){this.name=s.id,this._options=xi({XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0},i)}return s.prototype.setupOnce=function(){var i=(0,Be.R)();this._options.setTimeout&&wi(i,"setTimeout",this._wrapTimeFunction.bind(this)),this._options.setInterval&&wi(i,"setInterval",this._wrapTimeFunction.bind(this)),this._options.requestAnimationFrame&&wi(i,"requestAnimationFrame",this._wrapRAF.bind(this)),this._options.XMLHttpRequest&&"XMLHttpRequest"in i&&wi(XMLHttpRequest.prototype,"send",this._wrapXHR.bind(this)),this._options.eventTarget&&(Array.isArray(this._options.eventTarget)?this._options.eventTarget:Eu).forEach(this._wrapEventTarget.bind(this))},s.prototype._wrapTimeFunction=function(i){return function(){for(var o=[],c=0;c<arguments.length;c++)o[c]=arguments[c];var g=o[0];return o[0]=Oo(g,{mechanism:{data:{function:Ei(i)},handled:!0,type:"instrument"}}),i.apply(this,o)}},s.prototype._wrapRAF=function(i){return function(o){return i.call(this,Oo(o,{mechanism:{data:{function:"requestAnimationFrame",handler:Ei(i)},handled:!0,type:"instrument"}}))}},s.prototype._wrapEventTarget=function(i){var o=(0,Be.R)(),c=o[i]&&o[i].prototype;!c||!c.hasOwnProperty||!c.hasOwnProperty("addEventListener")||(wi(c,"addEventListener",function(g){return function(E,T,Q){try{"function"==typeof T.handleEvent&&(T.handleEvent=Oo(T.handleEvent.bind(T),{mechanism:{data:{function:"handleEvent",handler:Ei(T),target:i},handled:!0,type:"instrument"}}))}catch(ke){}return g.call(this,E,Oo(T,{mechanism:{data:{function:"addEventListener",handler:Ei(T),target:i},handled:!0,type:"instrument"}}),Q)}}),wi(c,"removeEventListener",function(g){return function(E,T,Q){var ke,re=T;try{var nt=null===(ke=re)||void 0===ke?void 0:ke.__sentry_wrapped__;nt&&g.call(this,E,nt,Q)}catch(Mt){}return g.call(this,E,re,Q)}}))},s.prototype._wrapXHR=function(i){return function(){for(var o=[],c=0;c<arguments.length;c++)o[c]=arguments[c];var g=this,E=["onload","onerror","onprogress","onreadystatechange"];return E.forEach(function(T){T in g&&"function"==typeof g[T]&&wi(g,T,function(Q){var ke={mechanism:{data:{function:T,handler:Ei(Q)},handled:!0,type:"instrument"}};return Q.__sentry_original__&&(ke.mechanism.data.handler=Ei(Q.__sentry_original__)),Oo(Q,ke)})}),i.apply(this,o)}},s.id="TryCatch",s}(),Cu=function(){function s(i){this.name=s.id,this._onErrorHandlerInstalled=!1,this._onUnhandledRejectionHandlerInstalled=!1,this._options=xi({onerror:!0,onunhandledrejection:!0},i)}return s.prototype.setupOnce=function(){Error.stackTraceLimit=50,this._options.onerror&&(At.log("Global Handler attached: onerror"),this._installGlobalOnErrorHandler()),this._options.onunhandledrejection&&(At.log("Global Handler attached: onunhandledrejection"),this._installGlobalOnUnhandledRejectionHandler())},s.prototype._installGlobalOnErrorHandler=function(){var i=this;this._onErrorHandlerInstalled||(Jr({callback:function(o){var c=o.error,g=Ui(),E=g.getIntegration(s),T=c&&!0===c.__sentry_own_request__;if(E&&!Vi()&&!T){var Q=g.getClient(),ke=void 0===c&&Z(o.msg)?i._eventFromIncompleteOnError(o.msg,o.url,o.line,o.column):i._enhanceEventWithInitialFrame(ql(c||o.msg,void 0,{attachStacktrace:Q&&Q.getOptions().attachStacktrace,rejection:!1}),o.url,o.line,o.column);Yn(ke,{handled:!1,type:"onerror"}),g.captureEvent(ke,{originalException:c})}},type:"error"}),this._onErrorHandlerInstalled=!0)},s.prototype._installGlobalOnUnhandledRejectionHandler=function(){var i=this;this._onUnhandledRejectionHandlerInstalled||(Jr({callback:function(o){var c=o;try{"reason"in o?c=o.reason:"detail"in o&&"reason"in o.detail&&(c=o.detail.reason)}catch(re){}var g=Ui(),E=g.getIntegration(s),T=c&&!0===c.__sentry_own_request__;if(!E||Vi()||T)return!0;var Q=g.getClient(),ke=ye(c)?i._eventFromRejectionWithPrimitive(c):ql(c,void 0,{attachStacktrace:Q&&Q.getOptions().attachStacktrace,rejection:!0});ke.level=Sr.Error,Yn(ke,{handled:!1,type:"onunhandledrejection"}),g.captureEvent(ke,{originalException:c})},type:"unhandledrejection"}),this._onUnhandledRejectionHandlerInstalled=!0)},s.prototype._eventFromIncompleteOnError=function(i,o,c,g){var Q,T=v(i)?i.message:i,ke=T.match(/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i);return ke&&(Q=ke[1],T=ke[2]),this._enhanceEventWithInitialFrame({exception:{values:[{type:Q||"Error",value:T}]}},o,c,g)},s.prototype._eventFromRejectionWithPrimitive=function(i){return{exception:{values:[{type:"UnhandledRejection",value:"Non-Error promise rejection captured with value: "+String(i)}]}}},s.prototype._enhanceEventWithInitialFrame=function(i,o,c,g){i.exception=i.exception||{},i.exception.values=i.exception.values||[],i.exception.values[0]=i.exception.values[0]||{},i.exception.values[0].stacktrace=i.exception.values[0].stacktrace||{},i.exception.values[0].stacktrace.frames=i.exception.values[0].stacktrace.frames||[];var E=isNaN(parseInt(g,10))?void 0:g,T=isNaN(parseInt(c,10))?void 0:c,Q=Z(o)&&o.length>0?o:function(){var s=(0,Be.R)();try{return s.document.location.href}catch(i){return""}}();return 0===i.exception.values[0].stacktrace.frames.length&&i.exception.values[0].stacktrace.frames.push({colno:E,filename:Q,function:"?",in_app:!0,lineno:T}),i},s.id="GlobalHandlers",s}(),rh=function(){function s(i){void 0===i&&(i={}),this.name=s.id,this._key=i.key||"cause",this._limit=i.limit||5}return s.prototype.setupOnce=function(){mi(function(i,o){var c=Ui().getIntegration(s);if(c){var g=c._handler&&c._handler.bind(c);return"function"==typeof g?g(i,o):i}return i})},s.prototype._handler=function(i,o){if(!(i.exception&&i.exception.values&&o&&vn(o.originalException,Error)))return i;var c=this._walkErrorTree(o.originalException,this._key);return i.exception.values=qs(c,i.exception.values),i},s.prototype._walkErrorTree=function(i,o,c){if(void 0===c&&(c=[]),!vn(i[o],Error)||c.length+1>=this._limit)return c;var E=uo(Mo(i[o]));return this._walkErrorTree(i[o],o,qs([E],c))},s.id="LinkedErrors",s}(),Wo=function(){function s(){this.name=s.id}return s.prototype.setupOnce=function(i,o){i(function(c){var g=o().getIntegration(s);if(g){try{if(g._shouldDropEvent(c,g._previousEvent))return At.warn("Event dropped due to being a duplicate of previously captured event."),null}catch(E){return g._previousEvent=c}return g._previousEvent=c}return c})},s.prototype._shouldDropEvent=function(i,o){return!(!o||!this._isSameMessageEvent(i,o)&&!this._isSameExceptionEvent(i,o))},s.prototype._isSameMessageEvent=function(i,o){var c=i.message,g=o.message;return!(!c&&!g||c&&!g||!c&&g||c!==g||!this._isSameFingerprint(i,o)||!this._isSameStacktrace(i,o))},s.prototype._getFramesFromEvent=function(i){var o=i.exception;if(o)try{return o.values[0].stacktrace.frames}catch(c){return}else if(i.stacktrace)return i.stacktrace.frames},s.prototype._isSameStacktrace=function(i,o){var c=this._getFramesFromEvent(i),g=this._getFramesFromEvent(o);if(!c&&!g)return!0;if(c&&!g||!c&&g||(g=g).length!==(c=c).length)return!1;for(var E=0;E<g.length;E++){var T=g[E],Q=c[E];if(T.filename!==Q.filename||T.lineno!==Q.lineno||T.colno!==Q.colno||T.function!==Q.function)return!1}return!0},s.prototype._getExceptionFromEvent=function(i){return i.exception&&i.exception.values&&i.exception.values[0]},s.prototype._isSameExceptionEvent=function(i,o){var c=this._getExceptionFromEvent(o),g=this._getExceptionFromEvent(i);return!!(c&&g&&c.type===g.type&&c.value===g.value&&this._isSameFingerprint(i,o)&&this._isSameStacktrace(i,o))},s.prototype._isSameFingerprint=function(i,o){var c=i.fingerprint,g=o.fingerprint;if(!c&&!g)return!0;if(c&&!g||!c&&g)return!1;c=c,g=g;try{return c.join("")===g.join("")}catch(E){return!1}},s.id="Dedupe",s}(),Yi=(0,Be.R)(),ll=function(){function s(){this.name=s.id}return s.prototype.setupOnce=function(){mi(function(i){var o,c,g;if(Ui().getIntegration(s)){if(!Yi.navigator&&!Yi.location&&!Yi.document)return i;var E=(null===(o=i.request)||void 0===o?void 0:o.url)||(null===(c=Yi.location)||void 0===c?void 0:c.href),T=(Yi.document||{}).referrer,Q=(Yi.navigator||{}).userAgent,ke=xi(xi(xi({},null===(g=i.request)||void 0===g?void 0:g.headers),T&&{Referer:T}),Q&&{"User-Agent":Q}),re=xi(xi({},E&&{url:E}),{headers:ke});return xi(xi({},i),{request:re})}return i})},s.id="UserAgent",s}(),ac=[new Ye,new en,new wu,new al,new Cu,new rh,new Wo,new ll];!function(s){if(void 0===s&&(s={}),void 0===s.defaultIntegrations&&(s.defaultIntegrations=ac),void 0===s.release){var i=(0,Be.R)();i.SENTRY_RELEASE&&i.SENTRY_RELEASE.id&&(s.release=i.SENTRY_RELEASE.id)}void 0===s.autoSessionTracking&&(s.autoSessionTracking=!0),void 0===s.sendClientReports&&(s.sendClientReports=!0),function(s,i){var o;!0===i.debug&&At.enable();var c=Ui();null===(o=c.getScope())||void 0===o||o.update(i.initialScope);var g=new s(i);c.bindClient(g)}(bu,s),s.autoSessionTracking&&function(){if(void 0!==(0,Be.R)().document){var o=Ui();"function"!=typeof o.startSession||"function"!=typeof o.captureSession||(o.startSession({ignoreDuration:!0}),o.captureSession(),Jr({callback:function(c){var g=c.from;void 0===g||g===c.to||(o.startSession({ignoreDuration:!0}),o.captureSession())},type:"history"}))}else At.warn("Session tracking in non-browser environment with @sentry/browser is not supported.")}()}({dsn:X.sentryDSN});let Su=(()=>{class s{constructor(){}handleError(o){throw vu(o.originalError||o),o}}return s.\u0275fac=function(o){return new(o||s)},s.\u0275prov=m.Yz7({token:s,factory:s.\u0275fac}),s})();var da,dc=w(9433),xu=w(2835),Ou=new Uint8Array(16);function cl(){if(!da&&!(da="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return da(Ou)}const Tu=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i,lh=function(s){return"string"==typeof s&&Tu.test(s)};for(var tr=[],ul=0;ul<256;++ul)tr.push((ul+256).toString(16).substr(1));const Ru=function(s,i,o){var c=(s=s||{}).random||(s.rng||cl)();if(c[6]=15&c[6]|64,c[8]=63&c[8]|128,i){o=o||0;for(var g=0;g<16;++g)i[o+g]=c[g];return i}return function(s){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,o=(tr[s[i+0]]+tr[s[i+1]]+tr[s[i+2]]+tr[s[i+3]]+"-"+tr[s[i+4]]+tr[s[i+5]]+"-"+tr[s[i+6]]+tr[s[i+7]]+"-"+tr[s[i+8]]+tr[s[i+9]]+"-"+tr[s[i+10]]+tr[s[i+11]]+tr[s[i+12]]+tr[s[i+13]]+tr[s[i+14]]+tr[s[i+15]]).toLowerCase();if(!lh(o))throw TypeError("Stringified UUID is invalid");return o}(c)};function fa(s){for(var i=1;i<arguments.length;i++){var o=arguments[i];for(var c in o)s[c]=o[c]}return s}var ku={read:function(s){return'"'===s[0]&&(s=s.slice(1,-1)),s.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(s){return encodeURIComponent(s).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},fc=function dl(s,i){function o(g,E,T){if("undefined"!=typeof document){"number"==typeof(T=fa({},i,T)).expires&&(T.expires=new Date(Date.now()+864e5*T.expires)),T.expires&&(T.expires=T.expires.toUTCString()),g=encodeURIComponent(g).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var Q="";for(var ke in T)!T[ke]||(Q+="; "+ke,!0!==T[ke]&&(Q+="="+T[ke].split(";")[0]));return document.cookie=g+"="+s.write(E,g)+Q}}return Object.create({set:o,get:function(g){if("undefined"!=typeof document&&(!arguments.length||g)){for(var E=document.cookie?document.cookie.split("; "):[],T={},Q=0;Q<E.length;Q++){var ke=E[Q].split("="),re=ke.slice(1).join("=");try{var nt=decodeURIComponent(ke[0]);if(T[nt]=s.read(re,nt),g===nt)break}catch(Mt){}}return g?T[g]:T}},remove:function(g,E){o(g,"",fa({},E,{expires:-1}))},withAttributes:function(g){return dl(this.converter,fa({},this.attributes,g))},withConverter:function(g){return dl(fa({},this.converter,g),this.attributes)}},{attributes:{value:Object.freeze(i)},converter:{value:Object.freeze(s)}})}(ku,{path:"/"});const fl=fc;let hl=(()=>{class s{constructor(){}getCookie(o){return fl.get(o)}setCookie(o,c,g){return fl.set(o,c,{expires:g||365})}removeCookie(o){return fl.remove(o)}}return s.\u0275fac=function(o){return new(o||s)},s.\u0275prov=m.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})(),Fu=(()=>{class s{constructor(o){this.storageService=o}intercept(o,c){const g={req_uuid:Ru(),Authorization:""},E=this.storageService.getCookie("accessToken");E&&!o.headers.get("bypassAuthorization")&&(g.Authorization=`Bearer ${E}`);const T=o.clone({setHeaders:g});return c.handle(T).pipe((0,xu.K)(Q=>(0,dc._)(Q)))}}return s.\u0275fac=function(o){return new(o||s)(m.LFG(hl))},s.\u0275prov=m.Yz7({token:s,factory:s.\u0275fac}),s})(),Lu=(()=>{class s{constructor(o){if(o)throw new Error("CoreModule has already been loaded. Import Core modules in the AppModule only.")}}return s.\u0275fac=function(o){return new(o||s)(m.LFG(s,12))},s.\u0275mod=m.oAB({type:s}),s.\u0275inj=m.cJS({providers:[{provide:z,useValue:X},{provide:H.hm,useValue:H.ff},{provide:Kn,useValue:ei},{provide:m.qLn,useClass:Su},{provide:Pe.TP,useClass:Fu,multi:!0,deps:[hl]},{provide:Pe.TP,useClass:Tr,multi:!0},hl],imports:[[x.Bz,nr.PW,or.mZ]]}),s})();var hc=w(6945);const Nu=["anchor"],Bu=["*"];let Vu=(()=>{class s{constructor(o){this.host=o,this.options={},this.scrolled=new m.vpe}get element(){return this.host.nativeElement}ngOnInit(){const o=Object.assign({root:this.isHostScrollable()?this.host.nativeElement:null},this.options);this.observer=new IntersectionObserver(([c])=>{c.isIntersecting&&this.scrolled.emit()},o),this.observer.observe(this.anchor.nativeElement)}isHostScrollable(){const o=window.getComputedStyle(this.element);return"auto"===o.getPropertyValue("overflow")||"scroll"===o.getPropertyValue("overflow-y")}ngOnDestroy(){this.observer.disconnect()}}return s.\u0275fac=function(o){return new(o||s)(m.Y36(m.SBq))},s.\u0275cmp=m.Xpm({type:s,selectors:[["app-infinite-scroll"]],viewQuery:function(o,c){if(1&o&&m.Gf(Nu,7),2&o){let g;m.iGM(g=m.CRH())&&(c.anchor=g.first)}},inputs:{options:"options"},outputs:{scrolled:"scrolled"},ngContentSelectors:Bu,decls:3,vars:0,consts:[["anchor",""]],template:function(o,c){1&o&&(m.F$t(),m.Hsn(0),m._UZ(1,"div",null,0))},styles:["[_nghost-%COMP%]{display:block}"]}),s})();var To=w(9112),ds=w(9814),ch=w(5551);function uh(s,i){if(1&s&&(m.TgZ(0,"div",9),m._uU(1),m.qZA()),2&s){const o=m.oxw(2);m.xp6(1),m.hij(" ",o.incrementId," ")}}function pc(s,i){if(1&s&&(m.TgZ(0,"div",10),m._uU(1),m.qZA()),2&s){const o=m.oxw(2);m.xp6(1),m.hij(" ",o.article.description," ")}}const dh=function(s){return[s]};function bs(s,i){if(1&s&&(m.TgZ(0,"div",1),m.YNc(1,uh,2,1,"div",2),m.TgZ(2,"div",3),m._UZ(3,"img",4),m.qZA(),m.TgZ(4,"div",5),m.TgZ(5,"div",6),m._uU(6),m.qZA(),m.TgZ(7,"div",7),m._uU(8),m.qZA(),m.YNc(9,pc,2,1,"div",8),m.qZA(),m.qZA()),2&s){const o=m.oxw();m.Tol(o.isGridView?"is-grid":"is-row"),m.Q6J("routerLink",m.VKq(9,dh,o.routesConfig.routes.article.detail(o.article.url)))("@fadeIn","fadeIn"),m.xp6(1),m.Q6J("ngIf",o.incrementId),m.xp6(2),m.Q6J("src",o.article.coverImageUrl||"https://via.placeholder.com/350x250",m.LSH),m.xp6(3),m.hij(" ",o.article.title," "),m.xp6(2),m.hij(" ",o.article.subtitle," "),m.xp6(1),m.Q6J("ngIf",o.article.description)}}let pl=(()=>{class s{constructor(o){this.routesConfig=o,this.isGridView=!0}}return s.\u0275fac=function(o){return new(o||s)(m.Y36(H.hm))},s.\u0275cmp=m.Xpm({type:s,selectors:[["app-article-card"]],inputs:{incrementId:"incrementId",article:"article",isGridView:"isGridView"},decls:1,vars:1,consts:[["class","article-card",3,"class","routerLink",4,"ngIf"],[1,"article-card",3,"routerLink"],["class","article-card__increment",4,"ngIf"],[1,"article-card__bg"],["alt","",3,"src"],[1,"article-card__content"],[1,"article-card__title"],[1,"article-card__subtitle"],["class","article-card__description",4,"ngIf"],[1,"article-card__increment"],[1,"article-card__description"]],template:function(o,c){1&o&&m.YNc(0,bs,10,11,"div",0),2&o&&m.Q6J("ngIf",c.article)},directives:[ee.O5,x.rH],styles:['[_nghost-%COMP%]{min-width:0;overflow:hidden}.article-card[_ngcontent-%COMP%]{position:relative;display:flex;overflow:hidden;cursor:pointer}.article-card__increment[_ngcontent-%COMP%]{position:absolute;display:flex;align-items:center;justify-content:center;top:5px;left:5px;width:25px;height:25px;font-size:12px;color:#000;font-weight:bold;background:#fff;border-radius:50%;z-index:1}.article-card__bg[_ngcontent-%COMP%]{position:relative;width:100%;opacity:.8;transition:.3s}.article-card__bg[_ngcontent-%COMP%] > img[_ngcontent-%COMP%]{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover}.article-card__bg[_ngcontent-%COMP%]:before{content:"";display:block;width:100%;padding-top:70%}.article-card__content[_ngcontent-%COMP%]{font-size:13px;line-height:20px;transition:all .3s;background:#fff;color:#000c;width:100%;box-sizing:border-box;display:flex;flex-direction:column}.article-card__title[_ngcontent-%COMP%]{font-weight:bold;width:100%;overflow:hidden}.article-card__subtitle[_ngcontent-%COMP%]{color:#fbb432;font-weight:500}.article-card[_ngcontent-%COMP%]:hover   .article-card__content[_ngcontent-%COMP%]{transform:translateY(0)}.article-card[_ngcontent-%COMP%]:hover   .article-card__bg[_ngcontent-%COMP%]{opacity:1}.article-card.is-grid[_ngcontent-%COMP%]{flex-direction:column}.article-card.is-grid[_ngcontent-%COMP%]   .article-card__content[_ngcontent-%COMP%]{margin-top:10px}.article-card.is-row[_ngcontent-%COMP%]   .article-card__bg[_ngcontent-%COMP%]{max-width:200px}.article-card.is-row[_ngcontent-%COMP%]   .article-card__content[_ngcontent-%COMP%]{height:initial;padding:15px;position:relative;justify-content:flex-start;align-items:flex-start;top:0;transform:none}.article-card.is-row[_ngcontent-%COMP%]   .article-card__title[_ngcontent-%COMP%]{text-align:left;font-size:16px}'],data:{animation:[(0,ds.X$)("fadeIn",[(0,ds.eR)("* => *",(0,ds._7)(ch.K1,{params:{timing:1,delay:0}}))])]}}),s})();const ml=function(s,i){return{height:s,width:i}};let ju=(()=>{class s{constructor(){this.height="",this.width="100%"}}return s.\u0275fac=function(o){return new(o||s)},s.\u0275cmp=m.Xpm({type:s,selectors:[["app-loading-placeholder"]],inputs:{height:"height",width:"width"},decls:1,vars:4,consts:[[1,"placeholder-animation",3,"ngStyle"]],template:function(o,c){1&o&&m._UZ(0,"div",0),2&o&&m.Q6J("ngStyle",m.WLB(1,ml,c.height,c.width))},directives:[ee.PC],styles:["@keyframes placeHolderShimmer{0%{background-position:-468px 0}to{background-position:468px 0}}.placeholder-animation[_ngcontent-%COMP%]{animation-duration:1.25s;animation-fill-mode:forwards;animation-iteration-count:infinite;animation-name:placeHolderShimmer;animation-timing-function:linear;background:darkgray;background:linear-gradient(to right,#eeeeee 10%,#dddddd 18%,#eeeeee 33%);position:relative;background-size:1000px 100px}"]}),s})();function mc(s,i){1&s&&(m.TgZ(0,"mat-icon"),m._uU(1,"grid_on"),m.qZA())}function Yo(s,i){1&s&&(m.TgZ(0,"mat-icon"),m._uU(1,"list"),m.qZA())}function gc(s,i){if(1&s&&m._UZ(0,"app-article-card",10),2&s){const o=i.$implicit,c=i.index,g=m.oxw();m.Q6J("article",o)("isGridView",g.isGridView)("incrementId",c+1)}}function vc(s,i){1&s&&m._UZ(0,"app-loading-placeholder",12),2&s&&m.Q6J("height","150px")}function gl(s,i){if(1&s&&m.YNc(0,vc,1,1,"app-loading-placeholder",11),2&s){const o=m.oxw();m.Q6J("ngForOf",o.placeHolderList)}}let vl=(()=>{class s{constructor(o){this.articleService=o,this.articles=[],this.placeHolderList=new Array(4).fill(""),this.pageNumber=1,this.isGridView=!0,this.isLoading=!1}ngOnInit(){this.fetchArticle()}fetchArticle(){this.isLoading||(this.isLoading=!0,this.articleService.fetchArticles({pageNumber:this.pageNumber}).subscribe(o=>{this.articles=this.articles.concat(o),this.isLoading=!1,this.pageNumber=this.pageNumber+1,console.log(this.pageNumber)}))}switchView(){this.isGridView=!this.isGridView}onScrollingFinished(){this.fetchArticle()}}return s.\u0275fac=function(o){return new(o||s)(m.Y36(hc.n))},s.\u0275cmp=m.Xpm({type:s,selectors:[["app-home-page"]],decls:12,vars:6,consts:[[1,"home-page","container"],[1,"grid-control"],[1,"view-type",3,"click"],[2,"padding-right","5px","font-size","12px"],[4,"ngIf"],[1,"grid-container"],[3,"scrolled"],["id","article-list","appScrollTracker","",3,"scrollingFinished"],[3,"article","isGridView","incrementId",4,"ngFor","ngForOf"],[3,"ngIf"],[3,"article","isGridView","incrementId"],[3,"height",4,"ngFor","ngForOf"],[3,"height"]],template:function(o,c){1&o&&(m.TgZ(0,"div",0),m.TgZ(1,"div",1),m.TgZ(2,"div",2),m.NdJ("click",function(){return c.switchView()}),m.TgZ(3,"span",3),m._uU(4,"Current view"),m.qZA(),m.YNc(5,mc,2,0,"mat-icon",4),m.YNc(6,Yo,2,0,"mat-icon",4),m.qZA(),m.qZA(),m.TgZ(7,"div",5),m.TgZ(8,"app-infinite-scroll",6),m.NdJ("scrolled",function(){return c.onScrollingFinished()}),m.TgZ(9,"div",7),m.NdJ("scrollingFinished",function(){return c.onScrollingFinished()}),m.YNc(10,gc,1,3,"app-article-card",8),m.YNc(11,gl,1,1,"ng-template",9),m.qZA(),m.qZA(),m.qZA(),m.qZA()),2&o&&(m.xp6(5),m.Q6J("ngIf",c.isGridView),m.xp6(1),m.Q6J("ngIf",!c.isGridView),m.xp6(3),m.Tol(c.isGridView?"is-grid":"is-row"),m.xp6(1),m.Q6J("ngForOf",c.articles),m.xp6(1),m.Q6J("ngIf",c.isLoading))},directives:[ee.O5,Vu,ee.sg,To.Hw,pl,ju],styles:[".container[_ngcontent-%COMP%]{margin:0 auto;max-width:960px;padding:0 15px}.container.is-fluid[_ngcontent-%COMP%]{max-width:initial}@media screen and (min-width: 768px){.container[_ngcontent-%COMP%]{max-width:720px}}@media screen and (min-width: 992px){.container[_ngcontent-%COMP%]{max-width:960px}}@media screen and (min-width: 1366px){.container[_ngcontent-%COMP%]{max-width:1280px}}mat-card-title[_ngcontent-%COMP%], mat-card-subtitle[_ngcontent-%COMP%], .mat-card-image[_ngcontent-%COMP%]{cursor:pointer}#article-list[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr 1fr 1fr 1fr;grid-gap:15px;gap:15px}#article-list.is-row[_ngcontent-%COMP%]{grid-template-columns:1fr 1fr;grid-column-gap:80px;column-gap:80px;grid-row-gap:30px;row-gap:30px}@media screen and (max-width: 992px){#article-list.is-row[_ngcontent-%COMP%]{grid-template-columns:1fr}}#article-list.is-grid[_ngcontent-%COMP%]{grid-column-gap:30px;column-gap:30px;grid-row-gap:50px;row-gap:50px}@media screen and (max-width: 992px){#article-list.is-grid[_ngcontent-%COMP%]{grid-template-columns:1fr 1fr 1fr}}@media screen and (max-width: 576px){#article-list.is-grid[_ngcontent-%COMP%]{grid-template-columns:1fr}}.page-home[_ngcontent-%COMP%]{padding:0 15px}.grid-control[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:flex-end;margin-bottom:1rem}.view-type[_ngcontent-%COMP%]{display:flex;align-items:center;cursor:pointer}@media screen and (max-width: 576px){.view-type[_ngcontent-%COMP%]{display:none}}"]}),s})(),_c=(()=>{class s{constructor(){}}return s.\u0275fac=function(o){return new(o||s)},s.\u0275cmp=m.Xpm({type:s,selectors:[["app-error404-page"]],decls:5,vars:0,consts:[[1,"header__title"],[1,"explanation"],["alt","404 image star wars","src","./assets/images/404.gif"]],template:function(o,c){1&o&&(m.TgZ(0,"h1",0),m._uU(1,"404 Error"),m.qZA(),m.TgZ(2,"p",1),m._uU(3,"May the force be with you"),m.qZA(),m._UZ(4,"img",2))},styles:["img[_ngcontent-%COMP%]{margin-left:auto;margin-right:auto;display:block}.explanation[_ngcontent-%COMP%]{margin:1rem 0;text-align:center;font-size:1.2rem;font-weight:300}"]}),s})();const Uu=H.ff.routesNames,Ao=[{path:Uu.home,component:vl,pathMatch:"full"},{path:Uu.error404,component:_c}];let _l=(()=>{class s{}return s.\u0275fac=function(o){return new(o||s)},s.\u0275mod=m.oAB({type:s}),s.\u0275inj=m.cJS({imports:[[x.Bz.forChild(Ao)],x.Bz]}),s})();var yc=w(9133);let Hu=(()=>{class s{}return s.\u0275fac=function(o){return new(o||s)},s.\u0275mod=m.oAB({type:s}),s.\u0275inj=m.cJS({imports:[[ee.ez,yc.UX,$n.m,_l]]}),s})();const yl=[{path:H.ff.basePaths.article,loadChildren:()=>w.e(940).then(w.bind(w,6940)).then(s=>s.ArticleModule)},{path:"**",redirectTo:H.ff.routes.error404}];let zu=(()=>{class s{}return s.\u0275fac=function(o){return new(o||s)},s.\u0275mod=m.oAB({type:s}),s.\u0275inj=m.cJS({imports:[[x.Bz.forRoot(yl,{initialNavigation:"enabled",scrollPositionRestoration:"enabled",anchorScrolling:"enabled",relativeLinkResolution:"legacy"})],x.Bz]}),s})();(0,ee.qS)(ut,"es");let Gu=(()=>{class s{}return s.\u0275fac=function(o){return new(o||s)},s.\u0275mod=m.oAB({type:s,bootstrap:[ft]}),s.\u0275inj=m.cJS({imports:[[Pe.JF,Nn,Pe.JF,$n.m,Lu,Hu,zu]]}),s})();(0,m.G48)(),document.addEventListener("DOMContentLoaded",()=>{u.q6().bootstrapModule(Gu,{missingTranslation:m.IMH.Error}).then(()=>{"serviceWorker"in navigator&&navigator.serviceWorker.register("./ngsw-worker.js")}).catch(s=>console.log(s))})},9162:(xt,Ie,w)=>{"use strict";function F(V,J,le,ve){return new(le||(le=Promise))(function(De,qe){function ht(it){try{ze(ve.next(it))}catch(pt){qe(pt)}}function Vt(it){try{ze(ve.throw(it))}catch(pt){qe(pt)}}function ze(it){it.done?De(it.value):function(De){return De instanceof le?De:new le(function(qe){qe(De)})}(it.value).then(ht,Vt)}ze((ve=ve.apply(V,J||[])).next())})}function fe(V){return this instanceof fe?(this.v=V,this):new fe(V)}function Le(V,J,le){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Ae,ve=le.apply(V,J||[]),De=[];return Ae={},qe("next"),qe("throw"),qe("return"),Ae[Symbol.asyncIterator]=function(){return this},Ae;function qe(Dt){ve[Dt]&&(Ae[Dt]=function(It){return new Promise(function(jt,et){De.push([Dt,It,jt,et])>1||ht(Dt,It)})})}function ht(Dt,It){try{!function(Dt){Dt.value instanceof fe?Promise.resolve(Dt.value.v).then(ze,it):pt(De[0][2],Dt)}(ve[Dt](It))}catch(jt){pt(De[0][3],jt)}}function ze(Dt){ht("next",Dt)}function it(Dt){ht("throw",Dt)}function pt(Dt,It){Dt(It),De.shift(),De.length&&ht(De[0][0],De[0][1])}}function ft(V){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var le,J=V[Symbol.asyncIterator];return J?J.call(V):(V=function(V){var J="function"==typeof Symbol&&Symbol.iterator,le=J&&V[J],ve=0;if(le)return le.call(V);if(V&&"number"==typeof V.length)return{next:function(){return V&&ve>=V.length&&(V=void 0),{value:V&&V[ve++],done:!V}}};throw new TypeError(J?"Object is not iterable.":"Symbol.iterator is not defined.")}(V),le={},ve("next"),ve("throw"),ve("return"),le[Symbol.asyncIterator]=function(){return this},le);function ve(De){le[De]=V[De]&&function(qe){return new Promise(function(ht,Vt){!function(De,qe,ht,Vt){Promise.resolve(Vt).then(function(ze){De({value:ze,done:ht})},qe)}(ht,Vt,(qe=V[De](qe)).done,qe.value)})}}}w.d(Ie,{mG:()=>F,qq:()=>fe,FC:()=>Le,KL:()=>ft})},4762:(xt,Ie,w)=>{"use strict";w.d(Ie,{ZT:()=>m,pi:()=>D,_T:()=>x,mG:()=>F,Jh:()=>z,ev:()=>se});var u=function(V,J){return(u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(le,ve){le.__proto__=ve}||function(le,ve){for(var Ae in ve)Object.prototype.hasOwnProperty.call(ve,Ae)&&(le[Ae]=ve[Ae])})(V,J)};function m(V,J){if("function"!=typeof J&&null!==J)throw new TypeError("Class extends value "+String(J)+" is not a constructor or null");function le(){this.constructor=V}u(V,J),V.prototype=null===J?Object.create(J):(le.prototype=J.prototype,new le)}var D=function(){return D=Object.assign||function(J){for(var le,ve=1,Ae=arguments.length;ve<Ae;ve++)for(var De in le=arguments[ve])Object.prototype.hasOwnProperty.call(le,De)&&(J[De]=le[De]);return J},D.apply(this,arguments)};function x(V,J){var le={};for(var ve in V)Object.prototype.hasOwnProperty.call(V,ve)&&J.indexOf(ve)<0&&(le[ve]=V[ve]);if(null!=V&&"function"==typeof Object.getOwnPropertySymbols){var Ae=0;for(ve=Object.getOwnPropertySymbols(V);Ae<ve.length;Ae++)J.indexOf(ve[Ae])<0&&Object.prototype.propertyIsEnumerable.call(V,ve[Ae])&&(le[ve[Ae]]=V[ve[Ae]])}return le}function F(V,J,le,ve){return new(le||(le=Promise))(function(De,qe){function ht(it){try{ze(ve.next(it))}catch(pt){qe(pt)}}function Vt(it){try{ze(ve.throw(it))}catch(pt){qe(pt)}}function ze(it){it.done?De(it.value):function(De){return De instanceof le?De:new le(function(qe){qe(De)})}(it.value).then(ht,Vt)}ze((ve=ve.apply(V,J||[])).next())})}function z(V,J){var ve,Ae,De,qe,le={label:0,sent:function(){if(1&De[0])throw De[1];return De[1]},trys:[],ops:[]};return qe={next:ht(0),throw:ht(1),return:ht(2)},"function"==typeof Symbol&&(qe[Symbol.iterator]=function(){return this}),qe;function ht(ze){return function(it){return function(ze){if(ve)throw new TypeError("Generator is already executing.");for(;le;)try{if(ve=1,Ae&&(De=2&ze[0]?Ae.return:ze[0]?Ae.throw||((De=Ae.return)&&De.call(Ae),0):Ae.next)&&!(De=De.call(Ae,ze[1])).done)return De;switch(Ae=0,De&&(ze=[2&ze[0],De.value]),ze[0]){case 0:case 1:De=ze;break;case 4:return le.label++,{value:ze[1],done:!1};case 5:le.label++,Ae=ze[1],ze=[0];continue;case 7:ze=le.ops.pop(),le.trys.pop();continue;default:if(!(De=(De=le.trys).length>0&&De[De.length-1])&&(6===ze[0]||2===ze[0])){le=0;continue}if(3===ze[0]&&(!De||ze[1]>De[0]&&ze[1]<De[3])){le.label=ze[1];break}if(6===ze[0]&&le.label<De[1]){le.label=De[1],De=ze;break}if(De&&le.label<De[2]){le.label=De[2],le.ops.push(ze);break}De[2]&&le.ops.pop(),le.trys.pop();continue}ze=J.call(V,le)}catch(it){ze=[6,it],Ae=0}finally{ve=De=0}if(5&ze[0])throw ze[1];return{value:ze[0]?ze[1]:void 0,done:!0}}([ze,it])}}}function se(V,J,le){if(le||2===arguments.length)for(var De,ve=0,Ae=J.length;ve<Ae;ve++)(De||!(ve in J))&&(De||(De=Array.prototype.slice.call(J,0,ve)),De[ve]=J[ve]);return V.concat(De||Array.prototype.slice.call(J))}},9814:(xt,Ie,w)=>{"use strict";w.d(Ie,{l3:()=>D,_j:()=>u,LC:()=>m,ZN:()=>Le,jt:()=>ee,oQ:()=>U,F4:()=>X,vP:()=>O,SB:()=>z,oB:()=>F,eR:()=>H,X$:()=>x,_7:()=>B,ZE:()=>st,k1:()=>ft});class u{}class m{}const D="*";function x(Ke,Ge){return{type:7,name:Ke,definitions:Ge,options:{}}}function ee(Ke,Ge=null){return{type:4,styles:Ge,timings:Ke}}function O(Ke,Ge=null){return{type:2,steps:Ke,options:Ge}}function F(Ke){return{type:6,styles:Ke,offset:null}}function z(Ke,Ge,ut){return{type:0,name:Ke,styles:Ge,options:ut}}function X(Ke){return{type:5,steps:Ke}}function H(Ke,Ge,ut=null){return{type:1,expr:Ke,animation:Ge,options:ut}}function U(Ke,Ge=null){return{type:8,animation:Ke,options:Ge}}function B(Ke,Ge=null){return{type:10,animation:Ke,options:Ge}}function fe(Ke){Promise.resolve(null).then(Ke)}class Le{constructor(Ge=0,ut=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=Ge+ut}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(Ge=>Ge()),this._onDoneFns=[])}onStart(Ge){this._onStartFns.push(Ge)}onDone(Ge){this._onDoneFns.push(Ge)}onDestroy(Ge){this._onDestroyFns.push(Ge)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){fe(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(Ge=>Ge()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(Ge=>Ge()),this._onDestroyFns=[])}reset(){this._started=!1}setPosition(Ge){this._position=this.totalTime?Ge*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(Ge){const ut="start"==Ge?this._onStartFns:this._onDoneFns;ut.forEach(Pe=>Pe()),ut.length=0}}class st{constructor(Ge){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=Ge;let ut=0,Pe=0,Ce=0;const ge=this.players.length;0==ge?fe(()=>this._onFinish()):this.players.forEach(V=>{V.onDone(()=>{++ut==ge&&this._onFinish()}),V.onDestroy(()=>{++Pe==ge&&this._onDestroy()}),V.onStart(()=>{++Ce==ge&&this._onStart()})}),this.totalTime=this.players.reduce((V,J)=>Math.max(V,J.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(Ge=>Ge()),this._onDoneFns=[])}init(){this.players.forEach(Ge=>Ge.init())}onStart(Ge){this._onStartFns.push(Ge)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(Ge=>Ge()),this._onStartFns=[])}onDone(Ge){this._onDoneFns.push(Ge)}onDestroy(Ge){this._onDestroyFns.push(Ge)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(Ge=>Ge.play())}pause(){this.players.forEach(Ge=>Ge.pause())}restart(){this.players.forEach(Ge=>Ge.restart())}finish(){this._onFinish(),this.players.forEach(Ge=>Ge.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(Ge=>Ge.destroy()),this._onDestroyFns.forEach(Ge=>Ge()),this._onDestroyFns=[])}reset(){this.players.forEach(Ge=>Ge.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(Ge){const ut=Ge*this.totalTime;this.players.forEach(Pe=>{const Ce=Pe.totalTime?Math.min(1,ut/Pe.totalTime):1;Pe.setPosition(Ce)})}getPosition(){const Ge=this.players.reduce((ut,Pe)=>null===ut||Pe.totalTime>ut.totalTime?Pe:ut,null);return null!=Ge?Ge.getPosition():0}beforeDestroy(){this.players.forEach(Ge=>{Ge.beforeDestroy&&Ge.beforeDestroy()})}triggerCallback(Ge){const ut="start"==Ge?this._onStartFns:this._onDoneFns;ut.forEach(Pe=>Pe()),ut.length=0}}const ft="!"},4006:(xt,Ie,w)=>{"use strict";w.d(Ie,{rt:()=>tt,Em:()=>pt,tE:()=>ct,qV:()=>he,qm:()=>We,ic:()=>It,Kd:()=>Rn,X6:()=>vt,yG:()=>Tt});var u=w(6019),m=w(3668),D=w(273),x=w(7908),ee=w(4499),A=w(2997),O=w(1628),F=w(4623),z=w(9947),X=w(8889);function U(Y,te){return Y===te}var j=w(7384),B=w(9463),q=w(461),se=w(4753),fe=w(9468),Le=w(9661),st=w(6263),ft=w(348),Ke=w(928),Ge=w(3242);class pt extends class{constructor(te){this._items=te,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new D.x,this._typeaheadSubscription=x.w0.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._skipPredicateFn=W=>W.disabled,this._pressedLetters=[],this.tabOut=new D.x,this.change=new D.x,te instanceof m.n_E&&te.changes.subscribe(W=>{if(this._activeItem){const Ue=W.toArray().indexOf(this._activeItem);Ue>-1&&Ue!==this._activeItemIndex&&(this._activeItemIndex=Ue)}})}skipPredicate(te){return this._skipPredicateFn=te,this}withWrap(te=!0){return this._wrap=te,this}withVerticalOrientation(te=!0){return this._vertical=te,this}withHorizontalOrientation(te){return this._horizontal=te,this}withAllowedModifierKeys(te){return this._allowedModifierKeys=te,this}withTypeAhead(te=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,j.b)(W=>this._pressedLetters.push(W)),(0,B.b)(te),(0,q.h)(()=>this._pressedLetters.length>0),(0,se.U)(()=>this._pressedLetters.join(""))).subscribe(W=>{const be=this._getItemsArray();for(let Ue=1;Ue<be.length+1;Ue++){const _e=(this._activeItemIndex+Ue)%be.length,Oe=be[_e];if(!this._skipPredicateFn(Oe)&&0===Oe.getLabel().toUpperCase().trim().indexOf(W)){this.setActiveItem(_e);break}}this._pressedLetters=[]}),this}withHomeAndEnd(te=!0){return this._homeAndEnd=te,this}setActiveItem(te){const W=this._activeItem;this.updateActiveItem(te),this._activeItem!==W&&this.change.next(this._activeItemIndex)}onKeydown(te){const W=te.keyCode,Ue=["altKey","ctrlKey","metaKey","shiftKey"].every(_e=>!te[_e]||this._allowedModifierKeys.indexOf(_e)>-1);switch(W){case O.Mf:return void this.tabOut.next();case O.JH:if(this._vertical&&Ue){this.setNextItemActive();break}return;case O.LH:if(this._vertical&&Ue){this.setPreviousItemActive();break}return;case O.SV:if(this._horizontal&&Ue){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case O.oh:if(this._horizontal&&Ue){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case O.Sd:if(this._homeAndEnd&&Ue){this.setFirstItemActive();break}return;case O.uR:if(this._homeAndEnd&&Ue){this.setLastItemActive();break}return;default:return void((Ue||(0,O.Vb)(te,"shiftKey"))&&(te.key&&1===te.key.length?this._letterKeyStream.next(te.key.toLocaleUpperCase()):(W>=O.A&&W<=O.Z||W>=O.xE&&W<=O.aO)&&this._letterKeyStream.next(String.fromCharCode(W))))}this._pressedLetters=[],te.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(te){const W=this._getItemsArray(),be="number"==typeof te?te:W.indexOf(te),Ue=W[be];this._activeItem=null==Ue?null:Ue,this._activeItemIndex=be}_setActiveItemByDelta(te){this._wrap?this._setActiveInWrapMode(te):this._setActiveInDefaultMode(te)}_setActiveInWrapMode(te){const W=this._getItemsArray();for(let be=1;be<=W.length;be++){const Ue=(this._activeItemIndex+te*be+W.length)%W.length;if(!this._skipPredicateFn(W[Ue]))return void this.setActiveItem(Ue)}}_setActiveInDefaultMode(te){this._setActiveItemByIndex(this._activeItemIndex+te,te)}_setActiveItemByIndex(te,W){const be=this._getItemsArray();if(be[te]){for(;this._skipPredicateFn(be[te]);)if(!be[te+=W])return;this.setActiveItem(te)}}_getItemsArray(){return this._items instanceof m.n_E?this._items.toArray():this._items}}{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(te){return this._origin=te,this}setActiveItem(te){super.setActiveItem(te),this.activeItem&&this.activeItem.focus(this._origin)}}let It=(()=>{class Y{constructor(W){this._platform=W}isDisabled(W){return W.hasAttribute("disabled")}isVisible(W){return function(Y){return!!(Y.offsetWidth||Y.offsetHeight||"function"==typeof Y.getClientRects&&Y.getClientRects().length)}(W)&&"visible"===getComputedStyle(W).visibility}isTabbable(W){if(!this._platform.isBrowser)return!1;const be=function(Y){try{return Y.frameElement}catch(te){return null}}(function(Y){return Y.ownerDocument&&Y.ownerDocument.defaultView||window}(W));if(be&&(-1===Ct(be)||!this.isVisible(be)))return!1;let Ue=W.nodeName.toLowerCase(),_e=Ct(W);return W.hasAttribute("contenteditable")?-1!==_e:!("iframe"===Ue||"object"===Ue||this._platform.WEBKIT&&this._platform.IOS&&!function(Y){let te=Y.nodeName.toLowerCase(),W="input"===te&&Y.type;return"text"===W||"password"===W||"select"===te||"textarea"===te}(W))&&("audio"===Ue?!!W.hasAttribute("controls")&&-1!==_e:"video"===Ue?-1!==_e&&(null!==_e||this._platform.FIREFOX||W.hasAttribute("controls")):W.tabIndex>=0)}isFocusable(W,be){return function(Y){return!function(Y){return function(Y){return"input"==Y.nodeName.toLowerCase()}(Y)&&"hidden"==Y.type}(Y)&&(function(Y){let te=Y.nodeName.toLowerCase();return"input"===te||"select"===te||"button"===te||"textarea"===te}(Y)||function(Y){return function(Y){return"a"==Y.nodeName.toLowerCase()}(Y)&&Y.hasAttribute("href")}(Y)||Y.hasAttribute("contenteditable")||lt(Y))}(W)&&!this.isDisabled(W)&&((null==be?void 0:be.ignoreVisibility)||this.isVisible(W))}}return Y.\u0275fac=function(W){return new(W||Y)(m.LFG(Ke.t4))},Y.\u0275prov=m.Yz7({token:Y,factory:Y.\u0275fac,providedIn:"root"}),Y})();function lt(Y){if(!Y.hasAttribute("tabindex")||void 0===Y.tabIndex)return!1;let te=Y.getAttribute("tabindex");return!(!te||isNaN(parseInt(te,10)))}function Ct(Y){if(!lt(Y))return null;const te=parseInt(Y.getAttribute("tabindex")||"",10);return isNaN(te)?-1:te}class de{constructor(te,W,be,Ue,_e=!1){this._element=te,this._checker=W,this._ngZone=be,this._document=Ue,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,_e||this.attachAnchors()}get enabled(){return this._enabled}set enabled(te){this._enabled=te,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(te,this._startAnchor),this._toggleAnchorTabIndex(te,this._endAnchor))}destroy(){const te=this._startAnchor,W=this._endAnchor;te&&(te.removeEventListener("focus",this.startAnchorListener),te.remove()),W&&(W.removeEventListener("focus",this.endAnchorListener),W.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(te){return new Promise(W=>{this._executeOnStable(()=>W(this.focusInitialElement(te)))})}focusFirstTabbableElementWhenReady(te){return new Promise(W=>{this._executeOnStable(()=>W(this.focusFirstTabbableElement(te)))})}focusLastTabbableElementWhenReady(te){return new Promise(W=>{this._executeOnStable(()=>W(this.focusLastTabbableElement(te)))})}_getRegionBoundary(te){const W=this._element.querySelectorAll(`[cdk-focus-region-${te}], [cdkFocusRegion${te}], [cdk-focus-${te}]`);return"start"==te?W.length?W[0]:this._getFirstTabbableElement(this._element):W.length?W[W.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(te){const W=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(W){if(!this._checker.isFocusable(W)){const be=this._getFirstTabbableElement(W);return null==be||be.focus(te),!!be}return W.focus(te),!0}return this.focusFirstTabbableElement(te)}focusFirstTabbableElement(te){const W=this._getRegionBoundary("start");return W&&W.focus(te),!!W}focusLastTabbableElement(te){const W=this._getRegionBoundary("end");return W&&W.focus(te),!!W}hasAttached(){return this._hasAttached}_getFirstTabbableElement(te){if(this._checker.isFocusable(te)&&this._checker.isTabbable(te))return te;const W=te.children;for(let be=0;be<W.length;be++){const Ue=W[be].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(W[be]):null;if(Ue)return Ue}return null}_getLastTabbableElement(te){if(this._checker.isFocusable(te)&&this._checker.isTabbable(te))return te;const W=te.children;for(let be=W.length-1;be>=0;be--){const Ue=W[be].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(W[be]):null;if(Ue)return Ue}return null}_createAnchor(){const te=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,te),te.classList.add("cdk-visually-hidden"),te.classList.add("cdk-focus-trap-anchor"),te.setAttribute("aria-hidden","true"),te}_toggleAnchorTabIndex(te,W){te?W.setAttribute("tabindex","0"):W.removeAttribute("tabindex")}toggleAnchors(te){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(te,this._startAnchor),this._toggleAnchorTabIndex(te,this._endAnchor))}_executeOnStable(te){this._ngZone.isStable?te():this._ngZone.onStable.pipe((0,fe.q)(1)).subscribe(te)}}let he=(()=>{class Y{constructor(W,be,Ue){this._checker=W,this._ngZone=be,this._document=Ue}create(W,be=!1){return new de(W,this._checker,this._ngZone,this._document,be)}}return Y.\u0275fac=function(W){return new(W||Y)(m.LFG(It),m.LFG(m.R0b),m.LFG(u.K0))},Y.\u0275prov=m.Yz7({token:Y,factory:Y.\u0275fac,providedIn:"root"}),Y})();function vt(Y){return 0===Y.offsetX&&0===Y.offsetY}function Tt(Y){const te=Y.touches&&Y.touches[0]||Y.changedTouches&&Y.changedTouches[0];return!(!te||-1!==te.identifier||null!=te.radiusX&&1!==te.radiusX||null!=te.radiusY&&1!==te.radiusY)}const Ut=new m.OlP("cdk-input-modality-detector-options"),kt={ignoreKeys:[O.zL,O.jx,O.b2,O.MW,O.JU]},sn=(0,Ke.i$)({passive:!0,capture:!0});let Pn=(()=>{class Y{constructor(W,be,Ue,_e){this._platform=W,this._mostRecentTarget=null,this._modality=new ee.X(null),this._lastTouchMs=0,this._onKeydown=Oe=>{var ce,He;(null==(He=null==(ce=this._options)?void 0:ce.ignoreKeys)?void 0:He.some(Et=>Et===Oe.keyCode))||(this._modality.next("keyboard"),this._mostRecentTarget=(0,Ke.sA)(Oe))},this._onMousedown=Oe=>{Date.now()-this._lastTouchMs<650||(this._modality.next(vt(Oe)?"keyboard":"mouse"),this._mostRecentTarget=(0,Ke.sA)(Oe))},this._onTouchstart=Oe=>{Tt(Oe)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,Ke.sA)(Oe))},this._options=cn(cn({},kt),_e),this.modalityDetected=this._modality.pipe((0,Le.T)(1)),this.modalityChanged=this.modalityDetected.pipe(function(Y,te=F.y){return Y=null!=Y?Y:U,(0,z.e)((W,be)=>{let Ue,_e=!0;W.subscribe(new X.Q(be,Oe=>{const ce=te(Oe);(_e||!Y(Ue,ce))&&(_e=!1,Ue=ce,be.next(Oe))}))})}()),W.isBrowser&&be.runOutsideAngular(()=>{Ue.addEventListener("keydown",this._onKeydown,sn),Ue.addEventListener("mousedown",this._onMousedown,sn),Ue.addEventListener("touchstart",this._onTouchstart,sn)})}get mostRecentModality(){return this._modality.value}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,sn),document.removeEventListener("mousedown",this._onMousedown,sn),document.removeEventListener("touchstart",this._onTouchstart,sn))}}return Y.\u0275fac=function(W){return new(W||Y)(m.LFG(Ke.t4),m.LFG(m.R0b),m.LFG(u.K0),m.LFG(Ut,8))},Y.\u0275prov=m.Yz7({token:Y,factory:Y.\u0275fac,providedIn:"root"}),Y})();const Wn=new m.OlP("liveAnnouncerElement",{providedIn:"root",factory:function(){return null}}),Ln=new m.OlP("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let Rn=(()=>{class Y{constructor(W,be,Ue,_e){this._ngZone=be,this._defaultOptions=_e,this._document=Ue,this._liveElement=W||this._createLiveElement()}announce(W,...be){const Ue=this._defaultOptions;let _e,Oe;return 1===be.length&&"number"==typeof be[0]?Oe=be[0]:[_e,Oe]=be,this.clear(),clearTimeout(this._previousTimeout),_e||(_e=Ue&&Ue.politeness?Ue.politeness:"polite"),null==Oe&&Ue&&(Oe=Ue.duration),this._liveElement.setAttribute("aria-live",_e),this._ngZone.runOutsideAngular(()=>new Promise(ce=>{clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=W,ce(),"number"==typeof Oe&&(this._previousTimeout=setTimeout(()=>this.clear(),Oe))},100)}))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){var W;clearTimeout(this._previousTimeout),null==(W=this._liveElement)||W.remove(),this._liveElement=null}_createLiveElement(){const W="cdk-live-announcer-element",be=this._document.getElementsByClassName(W),Ue=this._document.createElement("div");for(let _e=0;_e<be.length;_e++)be[_e].remove();return Ue.classList.add(W),Ue.classList.add("cdk-visually-hidden"),Ue.setAttribute("aria-atomic","true"),Ue.setAttribute("aria-live","polite"),this._document.body.appendChild(Ue),Ue}}return Y.\u0275fac=function(W){return new(W||Y)(m.LFG(Wn,8),m.LFG(m.R0b),m.LFG(u.K0),m.LFG(Ln,8))},Y.\u0275prov=m.Yz7({token:Y,factory:Y.\u0275fac,providedIn:"root"}),Y})();const Mn=new m.OlP("cdk-focus-monitor-default-options"),mt=(0,Ke.i$)({passive:!0,capture:!0});let ct=(()=>{class Y{constructor(W,be,Ue,_e,Oe){this._ngZone=W,this._platform=be,this._inputModalityDetector=Ue,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new D.x,this._rootNodeFocusAndBlurListener=ce=>{const He=(0,Ke.sA)(ce),Et="focus"===ce.type?this._onFocus:this._onBlur;for(let Ht=He;Ht;Ht=Ht.parentElement)Et.call(this,ce,Ht)},this._document=_e,this._detectionMode=(null==Oe?void 0:Oe.detectionMode)||0}monitor(W,be=!1){const Ue=(0,ft.fI)(W);if(!this._platform.isBrowser||1!==Ue.nodeType)return(0,A.of)(null);const _e=(0,Ke.kV)(Ue)||this._getDocument(),Oe=this._elementInfo.get(Ue);if(Oe)return be&&(Oe.checkChildren=!0),Oe.subject;const ce={checkChildren:be,subject:new D.x,rootNode:_e};return this._elementInfo.set(Ue,ce),this._registerGlobalListeners(ce),ce.subject}stopMonitoring(W){const be=(0,ft.fI)(W),Ue=this._elementInfo.get(be);Ue&&(Ue.subject.complete(),this._setClasses(be),this._elementInfo.delete(be),this._removeGlobalListeners(Ue))}focusVia(W,be,Ue){const _e=(0,ft.fI)(W);_e===this._getDocument().activeElement?this._getClosestElementsInfo(_e).forEach(([ce,He])=>this._originChanged(ce,be,He)):(this._setOrigin(be),"function"==typeof _e.focus&&_e.focus(Ue))}ngOnDestroy(){this._elementInfo.forEach((W,be)=>this.stopMonitoring(be))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(W){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(W)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:"program"}_shouldBeAttributedToTouch(W){return 1===this._detectionMode||!!(null==W?void 0:W.contains(this._inputModalityDetector._mostRecentTarget))}_setClasses(W,be){W.classList.toggle("cdk-focused",!!be),W.classList.toggle("cdk-touch-focused","touch"===be),W.classList.toggle("cdk-keyboard-focused","keyboard"===be),W.classList.toggle("cdk-mouse-focused","mouse"===be),W.classList.toggle("cdk-program-focused","program"===be)}_setOrigin(W,be=!1){this._ngZone.runOutsideAngular(()=>{this._origin=W,this._originFromTouchInteraction="touch"===W&&be,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(W,be){const Ue=this._elementInfo.get(be),_e=(0,Ke.sA)(W);!Ue||!Ue.checkChildren&&be!==_e||this._originChanged(be,this._getFocusOrigin(_e),Ue)}_onBlur(W,be){const Ue=this._elementInfo.get(be);!Ue||Ue.checkChildren&&W.relatedTarget instanceof Node&&be.contains(W.relatedTarget)||(this._setClasses(be),this._emitOrigin(Ue.subject,null))}_emitOrigin(W,be){this._ngZone.run(()=>W.next(be))}_registerGlobalListeners(W){if(!this._platform.isBrowser)return;const be=W.rootNode,Ue=this._rootNodeFocusListenerCount.get(be)||0;Ue||this._ngZone.runOutsideAngular(()=>{be.addEventListener("focus",this._rootNodeFocusAndBlurListener,mt),be.addEventListener("blur",this._rootNodeFocusAndBlurListener,mt)}),this._rootNodeFocusListenerCount.set(be,Ue+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,st.R)(this._stopInputModalityDetector)).subscribe(_e=>{this._setOrigin(_e,!0)}))}_removeGlobalListeners(W){const be=W.rootNode;if(this._rootNodeFocusListenerCount.has(be)){const Ue=this._rootNodeFocusListenerCount.get(be);Ue>1?this._rootNodeFocusListenerCount.set(be,Ue-1):(be.removeEventListener("focus",this._rootNodeFocusAndBlurListener,mt),be.removeEventListener("blur",this._rootNodeFocusAndBlurListener,mt),this._rootNodeFocusListenerCount.delete(be))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(W,be,Ue){this._setClasses(W,be),this._emitOrigin(Ue.subject,be),this._lastFocusOrigin=be}_getClosestElementsInfo(W){const be=[];return this._elementInfo.forEach((Ue,_e)=>{(_e===W||Ue.checkChildren&&_e.contains(W))&&be.push([_e,Ue])}),be}}return Y.\u0275fac=function(W){return new(W||Y)(m.LFG(m.R0b),m.LFG(Ke.t4),m.LFG(Pn),m.LFG(u.K0,8),m.LFG(Mn,8))},Y.\u0275prov=m.Yz7({token:Y,factory:Y.\u0275fac,providedIn:"root"}),Y})();const Nt="cdk-high-contrast-black-on-white",an="cdk-high-contrast-white-on-black",je="cdk-high-contrast-active";let We=(()=>{class Y{constructor(W,be){this._platform=W,this._document=be}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const W=this._document.createElement("div");W.style.backgroundColor="rgb(1,2,3)",W.style.position="absolute",this._document.body.appendChild(W);const be=this._document.defaultView||window,Ue=be&&be.getComputedStyle?be.getComputedStyle(W):null,_e=(Ue&&Ue.backgroundColor||"").replace(/ /g,"");switch(W.remove(),_e){case"rgb(0,0,0)":return 2;case"rgb(255,255,255)":return 1}return 0}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const W=this._document.body.classList;W.remove(je),W.remove(Nt),W.remove(an),this._hasCheckedHighContrastMode=!0;const be=this.getHighContrastMode();1===be?(W.add(je),W.add(Nt)):2===be&&(W.add(je),W.add(an))}}}return Y.\u0275fac=function(W){return new(W||Y)(m.LFG(Ke.t4),m.LFG(u.K0))},Y.\u0275prov=m.Yz7({token:Y,factory:Y.\u0275fac,providedIn:"root"}),Y})(),tt=(()=>{class Y{constructor(W){W._applyBodyHighContrastModeCssClasses()}}return Y.\u0275fac=function(W){return new(W||Y)(m.LFG(We))},Y.\u0275mod=m.oAB({type:Y}),Y.\u0275inj=m.cJS({imports:[[Ke.ud,Ge.Q8]]}),Y})()},8290:(xt,Ie,w)=>{"use strict";w.d(Ie,{vT:()=>z,Is:()=>O});var u=w(3668),m=w(6019);const D=new u.OlP("cdk-dir-doc",{providedIn:"root",factory:function(){return(0,u.f3M)(m.K0)}}),ee=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let O=(()=>{class X{constructor(U){if(this.value="ltr",this.change=new u.vpe,U){const B=U.documentElement?U.documentElement.dir:null;this.value=function(X){const H=(null==X?void 0:X.toLowerCase())||"";return"auto"===H&&"undefined"!=typeof navigator&&(null==navigator?void 0:navigator.language)?ee.test(navigator.language)?"rtl":"ltr":"rtl"===H?"rtl":"ltr"}((U.body?U.body.dir:null)||B||"ltr")}}ngOnDestroy(){this.change.complete()}}return X.\u0275fac=function(U){return new(U||X)(u.LFG(D,8))},X.\u0275prov=u.Yz7({token:X,factory:X.\u0275fac,providedIn:"root"}),X})(),z=(()=>{class X{}return X.\u0275fac=function(U){return new(U||X)},X.\u0275mod=u.oAB({type:X}),X.\u0275inj=u.cJS({}),X})()},348:(xt,Ie,w)=>{"use strict";w.d(Ie,{Eq:()=>ee,Ig:()=>m,HM:()=>A,fI:()=>O,su:()=>D});var u=w(3668);function m(z){return null!=z&&"false"!=`${z}`}function D(z,X=0){return function(z){return!isNaN(parseFloat(z))&&!isNaN(Number(z))}(z)?Number(z):X}function ee(z){return Array.isArray(z)?z:[z]}function A(z){return null==z?"":"string"==typeof z?z:`${z}px`}function O(z){return z instanceof u.SBq?z.nativeElement:z}},1628:(xt,Ie,w)=>{"use strict";w.d(Ie,{A:()=>Dt,zL:()=>F,jx:()=>O,JH:()=>ft,uR:()=>q,K5:()=>ee,hY:()=>H,Sd:()=>se,oh:()=>fe,b2:()=>ni,MW:()=>Wt,aO:()=>ht,VM:()=>B,Ku:()=>j,SV:()=>st,JU:()=>A,L_:()=>U,Mf:()=>D,LH:()=>Le,Z:()=>kt,xE:()=>Ce,Vb:()=>Kn});const D=9,ee=13,A=16,O=17,F=18,H=27,U=32,j=33,B=34,q=35,se=36,fe=37,Le=38,st=39,ft=40,Ce=48,ht=57,Dt=65,kt=90,Wt=91,ni=224;function Kn(ei,...Vn){return Vn.length?Vn.some(Nn=>ei[Nn]):ei.altKey||ei.shiftKey||ei.ctrlKey||ei.metaKey}},3242:(xt,Ie,w)=>{"use strict";w.d(Ie,{Q8:()=>ee});var u=w(3668);let m=(()=>{class A{create(F){return"undefined"==typeof MutationObserver?null:new MutationObserver(F)}}return A.\u0275fac=function(F){return new(F||A)},A.\u0275prov=u.Yz7({token:A,factory:A.\u0275fac,providedIn:"root"}),A})(),ee=(()=>{class A{}return A.\u0275fac=function(F){return new(F||A)},A.\u0275mod=u.oAB({type:A}),A.\u0275inj=u.cJS({providers:[m]}),A})()},7219:(xt,Ie,w)=>{"use strict";w.d(Ie,{aV:()=>xe,X_:()=>Ge,Xj:()=>Ae,U8:()=>Ot});var u=w(1128),m=w(6019),D=w(3668),x=w(348),ee=w(928),A=w(8290),O=w(5711),F=w(273),z=w(7908),X=w(3719),H=w(9468),U=w(6263);const j=(0,ee.Mq)();class B{constructor(de,he){this._viewportRuler=de,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=he}attach(){}enable(){if(this._canBeEnabled()){const de=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=de.style.left||"",this._previousHTMLStyles.top=de.style.top||"",de.style.left=(0,x.HM)(-this._previousScrollPosition.left),de.style.top=(0,x.HM)(-this._previousScrollPosition.top),de.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const de=this._document.documentElement,Ze=de.style,me=this._document.body.style,Qe=Ze.scrollBehavior||"",Ne=me.scrollBehavior||"";this._isEnabled=!1,Ze.left=this._previousHTMLStyles.left,Ze.top=this._previousHTMLStyles.top,de.classList.remove("cdk-global-scrollblock"),j&&(Ze.scrollBehavior=me.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),j&&(Ze.scrollBehavior=Qe,me.scrollBehavior=Ne)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const he=this._document.body,Ze=this._viewportRuler.getViewportSize();return he.scrollHeight>Ze.height||he.scrollWidth>Ze.width}}class se{constructor(de,he,Ze,me){this._scrollDispatcher=de,this._ngZone=he,this._viewportRuler=Ze,this._config=me,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(de){this._overlayRef=de}enable(){if(this._scrollSubscription)return;const de=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=de.subscribe(()=>{const he=this._viewportRuler.getViewportScrollPosition().top;Math.abs(he-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=de.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class fe{enable(){}disable(){}attach(){}}function Le(St,de){return de.some(he=>St.bottom<he.top||St.top>he.bottom||St.right<he.left||St.left>he.right)}function st(St,de){return de.some(he=>St.top<he.top||St.bottom>he.bottom||St.left<he.left||St.right>he.right)}class ft{constructor(de,he,Ze,me){this._scrollDispatcher=de,this._viewportRuler=he,this._ngZone=Ze,this._config=me,this._scrollSubscription=null}attach(de){this._overlayRef=de}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const he=this._overlayRef.overlayElement.getBoundingClientRect(),{width:Ze,height:me}=this._viewportRuler.getViewportSize();Le(he,[{width:Ze,height:me,bottom:me,right:Ze,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let Ke=(()=>{class St{constructor(he,Ze,me,Qe){this._scrollDispatcher=he,this._viewportRuler=Ze,this._ngZone=me,this.noop=()=>new fe,this.close=Ne=>new se(this._scrollDispatcher,this._ngZone,this._viewportRuler,Ne),this.block=()=>new B(this._viewportRuler,this._document),this.reposition=Ne=>new ft(this._scrollDispatcher,this._viewportRuler,this._ngZone,Ne),this._document=Qe}}return St.\u0275fac=function(he){return new(he||St)(D.LFG(u.mF),D.LFG(u.rL),D.LFG(D.R0b),D.LFG(m.K0))},St.\u0275prov=D.Yz7({token:St,factory:St.\u0275fac,providedIn:"root"}),St})();class Ge{constructor(de){if(this.scrollStrategy=new fe,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,de){const he=Object.keys(de);for(const Ze of he)void 0!==de[Ze]&&(this[Ze]=de[Ze])}}}class Ce{constructor(de,he){this.connectionPair=de,this.scrollableViewProperties=he}}let J=(()=>{class St{constructor(he){this._attachedOverlays=[],this._document=he}ngOnDestroy(){this.detach()}add(he){this.remove(he),this._attachedOverlays.push(he)}remove(he){const Ze=this._attachedOverlays.indexOf(he);Ze>-1&&this._attachedOverlays.splice(Ze,1),0===this._attachedOverlays.length&&this.detach()}}return St.\u0275fac=function(he){return new(he||St)(D.LFG(m.K0))},St.\u0275prov=D.Yz7({token:St,factory:St.\u0275fac,providedIn:"root"}),St})(),le=(()=>{class St extends J{constructor(he){super(he),this._keydownListener=Ze=>{const me=this._attachedOverlays;for(let Qe=me.length-1;Qe>-1;Qe--)if(me[Qe]._keydownEvents.observers.length>0){me[Qe]._keydownEvents.next(Ze);break}}}add(he){super.add(he),this._isAttached||(this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return St.\u0275fac=function(he){return new(he||St)(D.LFG(m.K0))},St.\u0275prov=D.Yz7({token:St,factory:St.\u0275fac,providedIn:"root"}),St})(),ve=(()=>{class St extends J{constructor(he,Ze){super(he),this._platform=Ze,this._cursorStyleIsSet=!1,this._pointerDownListener=me=>{this._pointerDownEventTarget=(0,ee.sA)(me)},this._clickListener=me=>{const Qe=(0,ee.sA)(me),Ne="click"===me.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:Qe;this._pointerDownEventTarget=null;const Ee=this._attachedOverlays.slice();for(let Ve=Ee.length-1;Ve>-1;Ve--){const vt=Ee[Ve];if(!(vt._outsidePointerEvents.observers.length<1)&&vt.hasAttached()){if(vt.overlayElement.contains(Qe)||vt.overlayElement.contains(Ne))break;vt._outsidePointerEvents.next(me)}}}}add(he){if(super.add(he),!this._isAttached){const Ze=this._document.body;Ze.addEventListener("pointerdown",this._pointerDownListener,!0),Ze.addEventListener("click",this._clickListener,!0),Ze.addEventListener("auxclick",this._clickListener,!0),Ze.addEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=Ze.style.cursor,Ze.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const he=this._document.body;he.removeEventListener("pointerdown",this._pointerDownListener,!0),he.removeEventListener("click",this._clickListener,!0),he.removeEventListener("auxclick",this._clickListener,!0),he.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(he.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}}return St.\u0275fac=function(he){return new(he||St)(D.LFG(m.K0),D.LFG(ee.t4))},St.\u0275prov=D.Yz7({token:St,factory:St.\u0275fac,providedIn:"root"}),St})(),Ae=(()=>{class St{constructor(he,Ze){this._platform=Ze,this._document=he}ngOnDestroy(){var he;null==(he=this._containerElement)||he.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const he="cdk-overlay-container";if(this._platform.isBrowser||(0,ee.Oy)()){const me=this._document.querySelectorAll(`.${he}[platform="server"], .${he}[platform="test"]`);for(let Qe=0;Qe<me.length;Qe++)me[Qe].remove()}const Ze=this._document.createElement("div");Ze.classList.add(he),(0,ee.Oy)()?Ze.setAttribute("platform","test"):this._platform.isBrowser||Ze.setAttribute("platform","server"),this._document.body.appendChild(Ze),this._containerElement=Ze}}return St.\u0275fac=function(he){return new(he||St)(D.LFG(m.K0),D.LFG(ee.t4))},St.\u0275prov=D.Yz7({token:St,factory:St.\u0275fac,providedIn:"root"}),St})();class De{constructor(de,he,Ze,me,Qe,Ne,Ee,Ve,vt){this._portalOutlet=de,this._host=he,this._pane=Ze,this._config=me,this._ngZone=Qe,this._keyboardDispatcher=Ne,this._document=Ee,this._location=Ve,this._outsideClickDispatcher=vt,this._backdropElement=null,this._backdropClick=new F.x,this._attachments=new F.x,this._detachments=new F.x,this._locationChanges=z.w0.EMPTY,this._backdropClickHandler=Tt=>this._backdropClick.next(Tt),this._keydownEvents=new F.x,this._outsidePointerEvents=new F.x,me.scrollStrategy&&(this._scrollStrategy=me.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=me.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(de){let he=this._portalOutlet.attach(de);return!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host),this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe((0,H.q)(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),he}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const de=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),de}dispose(){var he;const de=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),null==(he=this._host)||he.remove(),this._previousHostParent=this._pane=this._host=null,de&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(de){de!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=de,this.hasAttached()&&(de.attach(this),this.updatePosition()))}updateSize(de){this._config=cn(cn({},this._config),de),this._updateElementSize()}setDirection(de){this._config=fr(cn({},this._config),{direction:de}),this._updateElementDirection()}addPanelClass(de){this._pane&&this._toggleClasses(this._pane,de,!0)}removePanelClass(de){this._pane&&this._toggleClasses(this._pane,de,!1)}getDirection(){const de=this._config.direction;return de?"string"==typeof de?de:de.value:"ltr"}updateScrollStrategy(de){de!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=de,this.hasAttached()&&(de.attach(this),de.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const de=this._pane.style;de.width=(0,x.HM)(this._config.width),de.height=(0,x.HM)(this._config.height),de.minWidth=(0,x.HM)(this._config.minWidth),de.minHeight=(0,x.HM)(this._config.minHeight),de.maxWidth=(0,x.HM)(this._config.maxWidth),de.maxHeight=(0,x.HM)(this._config.maxHeight)}_togglePointerEvents(de){this._pane.style.pointerEvents=de?"":"none"}_attachBackdrop(){const de="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(de)})}):this._backdropElement.classList.add(de)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const de=this._backdropElement;if(!de)return;let he;const Ze=()=>{de&&(de.removeEventListener("click",this._backdropClickHandler),de.removeEventListener("transitionend",Ze),this._disposeBackdrop(de)),this._config.backdropClass&&this._toggleClasses(de,this._config.backdropClass,!1),clearTimeout(he)};de.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{de.addEventListener("transitionend",Ze)}),de.style.pointerEvents="none",he=this._ngZone.runOutsideAngular(()=>setTimeout(Ze,500))}_toggleClasses(de,he,Ze){const me=(0,x.Eq)(he||[]).filter(Qe=>!!Qe);me.length&&(Ze?de.classList.add(...me):de.classList.remove(...me))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const de=this._ngZone.onStable.pipe((0,U.R)((0,X.T)(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),de.unsubscribe())})})}_disposeScrollStrategy(){const de=this._scrollStrategy;de&&(de.disable(),de.detach&&de.detach())}_disposeBackdrop(de){de&&(de.remove(),this._backdropElement===de&&(this._backdropElement=null))}}const qe="cdk-overlay-connected-position-bounding-box",ht=/([A-Za-z%]+)$/;class Vt{constructor(de,he,Ze,me,Qe){this._viewportRuler=he,this._document=Ze,this._platform=me,this._overlayContainer=Qe,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new F.x,this._resizeSubscription=z.w0.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(de)}get positions(){return this._preferredPositions}attach(de){this._validatePositions(),de.hostElement.classList.add(qe),this._overlayRef=de,this._boundingBox=de.hostElement,this._pane=de.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect();const de=this._originRect,he=this._overlayRect,Ze=this._viewportRect,me=[];let Qe;for(let Ne of this._preferredPositions){let Ee=this._getOriginPoint(de,Ne),Ve=this._getOverlayPoint(Ee,he,Ne),vt=this._getOverlayFit(Ve,he,Ze,Ne);if(vt.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(Ne,Ee);this._canFitWithFlexibleDimensions(vt,Ve,Ze)?me.push({position:Ne,origin:Ee,overlayRect:he,boundingBoxRect:this._calculateBoundingBoxRect(Ee,Ne)}):(!Qe||Qe.overlayFit.visibleArea<vt.visibleArea)&&(Qe={overlayFit:vt,overlayPoint:Ve,originPoint:Ee,position:Ne,overlayRect:he})}if(me.length){let Ne=null,Ee=-1;for(const Ve of me){const vt=Ve.boundingBoxRect.width*Ve.boundingBoxRect.height*(Ve.position.weight||1);vt>Ee&&(Ee=vt,Ne=Ve)}return this._isPushed=!1,void this._applyPosition(Ne.position,Ne.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(Qe.position,Qe.originPoint);this._applyPosition(Qe.position,Qe.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&ze(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(qe),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(!this._isDisposed&&(!this._platform||this._platform.isBrowser)){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect();const de=this._lastPosition||this._preferredPositions[0],he=this._getOriginPoint(this._originRect,de);this._applyPosition(de,he)}}withScrollableContainers(de){return this._scrollables=de,this}withPositions(de){return this._preferredPositions=de,-1===de.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(de){return this._viewportMargin=de,this}withFlexibleDimensions(de=!0){return this._hasFlexibleDimensions=de,this}withGrowAfterOpen(de=!0){return this._growAfterOpen=de,this}withPush(de=!0){return this._canPush=de,this}withLockedPosition(de=!0){return this._positionLocked=de,this}setOrigin(de){return this._origin=de,this}withDefaultOffsetX(de){return this._offsetX=de,this}withDefaultOffsetY(de){return this._offsetY=de,this}withTransformOriginOn(de){return this._transformOriginSelector=de,this}_getOriginPoint(de,he){let Ze,me;if("center"==he.originX)Ze=de.left+de.width/2;else{const Qe=this._isRtl()?de.right:de.left,Ne=this._isRtl()?de.left:de.right;Ze="start"==he.originX?Qe:Ne}return me="center"==he.originY?de.top+de.height/2:"top"==he.originY?de.top:de.bottom,{x:Ze,y:me}}_getOverlayPoint(de,he,Ze){let me,Qe;return me="center"==Ze.overlayX?-he.width/2:"start"===Ze.overlayX?this._isRtl()?-he.width:0:this._isRtl()?0:-he.width,Qe="center"==Ze.overlayY?-he.height/2:"top"==Ze.overlayY?0:-he.height,{x:de.x+me,y:de.y+Qe}}_getOverlayFit(de,he,Ze,me){const Qe=pt(he);let{x:Ne,y:Ee}=de,Ve=this._getOffset(me,"x"),vt=this._getOffset(me,"y");Ve&&(Ne+=Ve),vt&&(Ee+=vt);let kt=0-Ee,Wt=Ee+Qe.height-Ze.height,sn=this._subtractOverflows(Qe.width,0-Ne,Ne+Qe.width-Ze.width),Pn=this._subtractOverflows(Qe.height,kt,Wt),Wn=sn*Pn;return{visibleArea:Wn,isCompletelyWithinViewport:Qe.width*Qe.height===Wn,fitsInViewportVertically:Pn===Qe.height,fitsInViewportHorizontally:sn==Qe.width}}_canFitWithFlexibleDimensions(de,he,Ze){if(this._hasFlexibleDimensions){const me=Ze.bottom-he.y,Qe=Ze.right-he.x,Ne=it(this._overlayRef.getConfig().minHeight),Ee=it(this._overlayRef.getConfig().minWidth),vt=de.fitsInViewportHorizontally||null!=Ee&&Ee<=Qe;return(de.fitsInViewportVertically||null!=Ne&&Ne<=me)&&vt}return!1}_pushOverlayOnScreen(de,he,Ze){if(this._previousPushAmount&&this._positionLocked)return{x:de.x+this._previousPushAmount.x,y:de.y+this._previousPushAmount.y};const me=pt(he),Qe=this._viewportRect,Ne=Math.max(de.x+me.width-Qe.width,0),Ee=Math.max(de.y+me.height-Qe.height,0),Ve=Math.max(Qe.top-Ze.top-de.y,0),vt=Math.max(Qe.left-Ze.left-de.x,0);let Tt=0,Ut=0;return Tt=me.width<=Qe.width?vt||-Ne:de.x<this._viewportMargin?Qe.left-Ze.left-de.x:0,Ut=me.height<=Qe.height?Ve||-Ee:de.y<this._viewportMargin?Qe.top-Ze.top-de.y:0,this._previousPushAmount={x:Tt,y:Ut},{x:de.x+Tt,y:de.y+Ut}}_applyPosition(de,he){if(this._setTransformOrigin(de),this._setOverlayElementStyles(he,de),this._setBoundingBoxStyles(he,de),de.panelClass&&this._addPanelClasses(de.panelClass),this._lastPosition=de,this._positionChanges.observers.length){const Ze=this._getScrollVisibility(),me=new Ce(de,Ze);this._positionChanges.next(me)}this._isInitialRender=!1}_setTransformOrigin(de){if(!this._transformOriginSelector)return;const he=this._boundingBox.querySelectorAll(this._transformOriginSelector);let Ze,me=de.overlayY;Ze="center"===de.overlayX?"center":this._isRtl()?"start"===de.overlayX?"right":"left":"start"===de.overlayX?"left":"right";for(let Qe=0;Qe<he.length;Qe++)he[Qe].style.transformOrigin=`${Ze} ${me}`}_calculateBoundingBoxRect(de,he){const Ze=this._viewportRect,me=this._isRtl();let Qe,Ne,Ee,Tt,Ut,kt;if("top"===he.overlayY)Ne=de.y,Qe=Ze.height-Ne+this._viewportMargin;else if("bottom"===he.overlayY)Ee=Ze.height-de.y+2*this._viewportMargin,Qe=Ze.height-Ee+this._viewportMargin;else{const Wt=Math.min(Ze.bottom-de.y+Ze.top,de.y),sn=this._lastBoundingBoxSize.height;Qe=2*Wt,Ne=de.y-Wt,Qe>sn&&!this._isInitialRender&&!this._growAfterOpen&&(Ne=de.y-sn/2)}if("end"===he.overlayX&&!me||"start"===he.overlayX&&me)kt=Ze.width-de.x+this._viewportMargin,Tt=de.x-this._viewportMargin;else if("start"===he.overlayX&&!me||"end"===he.overlayX&&me)Ut=de.x,Tt=Ze.right-de.x;else{const Wt=Math.min(Ze.right-de.x+Ze.left,de.x),sn=this._lastBoundingBoxSize.width;Tt=2*Wt,Ut=de.x-Wt,Tt>sn&&!this._isInitialRender&&!this._growAfterOpen&&(Ut=de.x-sn/2)}return{top:Ne,left:Ut,bottom:Ee,right:kt,width:Tt,height:Qe}}_setBoundingBoxStyles(de,he){const Ze=this._calculateBoundingBoxRect(de,he);!this._isInitialRender&&!this._growAfterOpen&&(Ze.height=Math.min(Ze.height,this._lastBoundingBoxSize.height),Ze.width=Math.min(Ze.width,this._lastBoundingBoxSize.width));const me={};if(this._hasExactPosition())me.top=me.left="0",me.bottom=me.right=me.maxHeight=me.maxWidth="",me.width=me.height="100%";else{const Qe=this._overlayRef.getConfig().maxHeight,Ne=this._overlayRef.getConfig().maxWidth;me.height=(0,x.HM)(Ze.height),me.top=(0,x.HM)(Ze.top),me.bottom=(0,x.HM)(Ze.bottom),me.width=(0,x.HM)(Ze.width),me.left=(0,x.HM)(Ze.left),me.right=(0,x.HM)(Ze.right),me.alignItems="center"===he.overlayX?"center":"end"===he.overlayX?"flex-end":"flex-start",me.justifyContent="center"===he.overlayY?"center":"bottom"===he.overlayY?"flex-end":"flex-start",Qe&&(me.maxHeight=(0,x.HM)(Qe)),Ne&&(me.maxWidth=(0,x.HM)(Ne))}this._lastBoundingBoxSize=Ze,ze(this._boundingBox.style,me)}_resetBoundingBoxStyles(){ze(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){ze(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(de,he){const Ze={},me=this._hasExactPosition(),Qe=this._hasFlexibleDimensions,Ne=this._overlayRef.getConfig();if(me){const Tt=this._viewportRuler.getViewportScrollPosition();ze(Ze,this._getExactOverlayY(he,de,Tt)),ze(Ze,this._getExactOverlayX(he,de,Tt))}else Ze.position="static";let Ee="",Ve=this._getOffset(he,"x"),vt=this._getOffset(he,"y");Ve&&(Ee+=`translateX(${Ve}px) `),vt&&(Ee+=`translateY(${vt}px)`),Ze.transform=Ee.trim(),Ne.maxHeight&&(me?Ze.maxHeight=(0,x.HM)(Ne.maxHeight):Qe&&(Ze.maxHeight="")),Ne.maxWidth&&(me?Ze.maxWidth=(0,x.HM)(Ne.maxWidth):Qe&&(Ze.maxWidth="")),ze(this._pane.style,Ze)}_getExactOverlayY(de,he,Ze){let me={top:"",bottom:""},Qe=this._getOverlayPoint(he,this._overlayRect,de);this._isPushed&&(Qe=this._pushOverlayOnScreen(Qe,this._overlayRect,Ze));let Ne=this._overlayContainer.getContainerElement().getBoundingClientRect().top;return Qe.y-=Ne,"bottom"===de.overlayY?me.bottom=this._document.documentElement.clientHeight-(Qe.y+this._overlayRect.height)+"px":me.top=(0,x.HM)(Qe.y),me}_getExactOverlayX(de,he,Ze){let Ne,me={left:"",right:""},Qe=this._getOverlayPoint(he,this._overlayRect,de);return this._isPushed&&(Qe=this._pushOverlayOnScreen(Qe,this._overlayRect,Ze)),Ne=this._isRtl()?"end"===de.overlayX?"left":"right":"end"===de.overlayX?"right":"left","right"===Ne?me.right=this._document.documentElement.clientWidth-(Qe.x+this._overlayRect.width)+"px":me.left=(0,x.HM)(Qe.x),me}_getScrollVisibility(){const de=this._getOriginRect(),he=this._pane.getBoundingClientRect(),Ze=this._scrollables.map(me=>me.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:st(de,Ze),isOriginOutsideView:Le(de,Ze),isOverlayClipped:st(he,Ze),isOverlayOutsideView:Le(he,Ze)}}_subtractOverflows(de,...he){return he.reduce((Ze,me)=>Ze-Math.max(me,0),de)}_getNarrowedViewportRect(){const de=this._document.documentElement.clientWidth,he=this._document.documentElement.clientHeight,Ze=this._viewportRuler.getViewportScrollPosition();return{top:Ze.top+this._viewportMargin,left:Ze.left+this._viewportMargin,right:Ze.left+de-this._viewportMargin,bottom:Ze.top+he-this._viewportMargin,width:de-2*this._viewportMargin,height:he-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(de,he){return"x"===he?null==de.offsetX?this._offsetX:de.offsetX:null==de.offsetY?this._offsetY:de.offsetY}_validatePositions(){}_addPanelClasses(de){this._pane&&(0,x.Eq)(de).forEach(he=>{""!==he&&-1===this._appliedPanelClasses.indexOf(he)&&(this._appliedPanelClasses.push(he),this._pane.classList.add(he))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(de=>{this._pane.classList.remove(de)}),this._appliedPanelClasses=[])}_getOriginRect(){const de=this._origin;if(de instanceof D.SBq)return de.nativeElement.getBoundingClientRect();if(de instanceof Element)return de.getBoundingClientRect();const he=de.width||0,Ze=de.height||0;return{top:de.y,bottom:de.y+Ze,left:de.x,right:de.x+he,height:Ze,width:he}}}function ze(St,de){for(let he in de)de.hasOwnProperty(he)&&(St[he]=de[he]);return St}function it(St){if("number"!=typeof St&&null!=St){const[de,he]=St.split(ht);return he&&"px"!==he?null:parseFloat(de)}return St||null}function pt(St){return{top:Math.floor(St.top),right:Math.floor(St.right),bottom:Math.floor(St.bottom),left:Math.floor(St.left),width:Math.floor(St.width),height:Math.floor(St.height)}}const Dt="cdk-global-overlay-wrapper";class It{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._leftOffset="",this._rightOffset="",this._alignItems="",this._justifyContent="",this._width="",this._height=""}attach(de){const he=de.getConfig();this._overlayRef=de,this._width&&!he.width&&de.updateSize({width:this._width}),this._height&&!he.height&&de.updateSize({height:this._height}),de.hostElement.classList.add(Dt),this._isDisposed=!1}top(de=""){return this._bottomOffset="",this._topOffset=de,this._alignItems="flex-start",this}left(de=""){return this._rightOffset="",this._leftOffset=de,this._justifyContent="flex-start",this}bottom(de=""){return this._topOffset="",this._bottomOffset=de,this._alignItems="flex-end",this}right(de=""){return this._leftOffset="",this._rightOffset=de,this._justifyContent="flex-end",this}width(de=""){return this._overlayRef?this._overlayRef.updateSize({width:de}):this._width=de,this}height(de=""){return this._overlayRef?this._overlayRef.updateSize({height:de}):this._height=de,this}centerHorizontally(de=""){return this.left(de),this._justifyContent="center",this}centerVertically(de=""){return this.top(de),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const de=this._overlayRef.overlayElement.style,he=this._overlayRef.hostElement.style,Ze=this._overlayRef.getConfig(),{width:me,height:Qe,maxWidth:Ne,maxHeight:Ee}=Ze,Ve=!("100%"!==me&&"100vw"!==me||Ne&&"100%"!==Ne&&"100vw"!==Ne),vt=!("100%"!==Qe&&"100vh"!==Qe||Ee&&"100%"!==Ee&&"100vh"!==Ee);de.position=this._cssPosition,de.marginLeft=Ve?"0":this._leftOffset,de.marginTop=vt?"0":this._topOffset,de.marginBottom=this._bottomOffset,de.marginRight=this._rightOffset,Ve?he.justifyContent="flex-start":"center"===this._justifyContent?he.justifyContent="center":"rtl"===this._overlayRef.getConfig().direction?"flex-start"===this._justifyContent?he.justifyContent="flex-end":"flex-end"===this._justifyContent&&(he.justifyContent="flex-start"):he.justifyContent=this._justifyContent,he.alignItems=vt?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const de=this._overlayRef.overlayElement.style,he=this._overlayRef.hostElement,Ze=he.style;he.classList.remove(Dt),Ze.justifyContent=Ze.alignItems=de.marginTop=de.marginBottom=de.marginLeft=de.marginRight=de.position="",this._overlayRef=null,this._isDisposed=!0}}let jt=(()=>{class St{constructor(he,Ze,me,Qe){this._viewportRuler=he,this._document=Ze,this._platform=me,this._overlayContainer=Qe}global(){return new It}flexibleConnectedTo(he){return new Vt(he,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return St.\u0275fac=function(he){return new(he||St)(D.LFG(u.rL),D.LFG(m.K0),D.LFG(ee.t4),D.LFG(Ae))},St.\u0275prov=D.Yz7({token:St,factory:St.\u0275fac,providedIn:"root"}),St})(),et=0,xe=(()=>{class St{constructor(he,Ze,me,Qe,Ne,Ee,Ve,vt,Tt,Ut,kt){this.scrollStrategies=he,this._overlayContainer=Ze,this._componentFactoryResolver=me,this._positionBuilder=Qe,this._keyboardDispatcher=Ne,this._injector=Ee,this._ngZone=Ve,this._document=vt,this._directionality=Tt,this._location=Ut,this._outsideClickDispatcher=kt}create(he){const Ze=this._createHostElement(),me=this._createPaneElement(Ze),Qe=this._createPortalOutlet(me),Ne=new Ge(he);return Ne.direction=Ne.direction||this._directionality.value,new De(Qe,Ze,me,Ne,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher)}position(){return this._positionBuilder}_createPaneElement(he){const Ze=this._document.createElement("div");return Ze.id="cdk-overlay-"+et++,Ze.classList.add("cdk-overlay-pane"),he.appendChild(Ze),Ze}_createHostElement(){const he=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(he),he}_createPortalOutlet(he){return this._appRef||(this._appRef=this._injector.get(D.z2F)),new O.u0(he,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return St.\u0275fac=function(he){return new(he||St)(D.LFG(Ke),D.LFG(Ae),D.LFG(D._Vd),D.LFG(jt),D.LFG(le),D.LFG(D.zs3),D.LFG(D.R0b),D.LFG(m.K0),D.LFG(A.Is),D.LFG(m.Ye),D.LFG(ve))},St.\u0275prov=D.Yz7({token:St,factory:St.\u0275fac}),St})();const Ct={provide:new D.OlP("cdk-connected-overlay-scroll-strategy"),deps:[xe],useFactory:function(St){return()=>St.scrollStrategies.reposition()}};let Ot=(()=>{class St{}return St.\u0275fac=function(he){return new(he||St)},St.\u0275mod=D.oAB({type:St}),St.\u0275inj=D.cJS({providers:[xe,Ct],imports:[[A.vT,O.eL,u.Cl],u.Cl]}),St})()},928:(xt,Ie,w)=>{"use strict";w.d(Ie,{t4:()=>x,ud:()=>ee,sA:()=>ft,ht:()=>st,kV:()=>Le,Oy:()=>Ke,i$:()=>H,Mq:()=>B});var u=w(3668),m=w(6019);let D;try{D="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(Ge){D=!1}let z,j,se,x=(()=>{class Ge{constructor(Pe){this._platformId=Pe,this.isBrowser=this._platformId?(0,m.NF)(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!D)&&"undefined"!=typeof CSS&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}return Ge.\u0275fac=function(Pe){return new(Pe||Ge)(u.LFG(u.Lbi))},Ge.\u0275prov=u.Yz7({token:Ge,factory:Ge.\u0275fac,providedIn:"root"}),Ge})(),ee=(()=>{class Ge{}return Ge.\u0275fac=function(Pe){return new(Pe||Ge)},Ge.\u0275mod=u.oAB({type:Ge}),Ge.\u0275inj=u.cJS({}),Ge})();function H(Ge){return function(){if(null==z&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>z=!0}))}finally{z=z||!1}return z}()?Ge:!!Ge.capture}function B(){if(null==j){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return j=!1,j;if("scrollBehavior"in document.documentElement.style)j=!0;else{const Ge=Element.prototype.scrollTo;j=!!Ge&&!/\{\s*\[native code\]\s*\}/.test(Ge.toString())}}return j}function Le(Ge){if(function(){if(null==se){const Ge="undefined"!=typeof document?document.head:null;se=!(!Ge||!Ge.createShadowRoot&&!Ge.attachShadow)}return se}()){const ut=Ge.getRootNode?Ge.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&ut instanceof ShadowRoot)return ut}return null}function st(){let Ge="undefined"!=typeof document&&document?document.activeElement:null;for(;Ge&&Ge.shadowRoot;){const ut=Ge.shadowRoot.activeElement;if(ut===Ge)break;Ge=ut}return Ge}function ft(Ge){return Ge.composedPath?Ge.composedPath()[0]:Ge.target}function Ke(){return"undefined"!=typeof __karma__&&!!__karma__||"undefined"!=typeof jasmine&&!!jasmine||"undefined"!=typeof jest&&!!jest||"undefined"!=typeof Mocha&&!!Mocha}},5711:(xt,Ie,w)=>{"use strict";w.d(Ie,{en:()=>j,Pl:()=>st,C5:()=>X,u0:()=>q,eL:()=>Ke,UE:()=>H});var u=w(3668),m=w(6019);class z{attach(Pe){return this._attachedHost=Pe,Pe.attach(this)}detach(){let Pe=this._attachedHost;null!=Pe&&(this._attachedHost=null,Pe.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(Pe){this._attachedHost=Pe}}class X extends z{constructor(Pe,Ce,ge,V){super(),this.component=Pe,this.viewContainerRef=Ce,this.injector=ge,this.componentFactoryResolver=V}}class H extends z{constructor(Pe,Ce,ge){super(),this.templateRef=Pe,this.viewContainerRef=Ce,this.context=ge}get origin(){return this.templateRef.elementRef}attach(Pe,Ce=this.context){return this.context=Ce,super.attach(Pe)}detach(){return this.context=void 0,super.detach()}}class U extends z{constructor(Pe){super(),this.element=Pe instanceof u.SBq?Pe.nativeElement:Pe}}class j{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(Pe){return Pe instanceof X?(this._attachedPortal=Pe,this.attachComponentPortal(Pe)):Pe instanceof H?(this._attachedPortal=Pe,this.attachTemplatePortal(Pe)):this.attachDomPortal&&Pe instanceof U?(this._attachedPortal=Pe,this.attachDomPortal(Pe)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(Pe){this._disposeFn=Pe}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class q extends j{constructor(Pe,Ce,ge,V,J){super(),this.outletElement=Pe,this._componentFactoryResolver=Ce,this._appRef=ge,this._defaultInjector=V,this.attachDomPortal=le=>{const ve=le.element,Ae=this._document.createComment("dom-portal");ve.parentNode.insertBefore(Ae,ve),this.outletElement.appendChild(ve),this._attachedPortal=le,super.setDisposeFn(()=>{Ae.parentNode&&Ae.parentNode.replaceChild(ve,Ae)})},this._document=J}attachComponentPortal(Pe){const ge=(Pe.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(Pe.component);let V;return Pe.viewContainerRef?(V=Pe.viewContainerRef.createComponent(ge,Pe.viewContainerRef.length,Pe.injector||Pe.viewContainerRef.injector),this.setDisposeFn(()=>V.destroy())):(V=ge.create(Pe.injector||this._defaultInjector),this._appRef.attachView(V.hostView),this.setDisposeFn(()=>{this._appRef.detachView(V.hostView),V.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(V)),this._attachedPortal=Pe,V}attachTemplatePortal(Pe){let Ce=Pe.viewContainerRef,ge=Ce.createEmbeddedView(Pe.templateRef,Pe.context);return ge.rootNodes.forEach(V=>this.outletElement.appendChild(V)),ge.detectChanges(),this.setDisposeFn(()=>{let V=Ce.indexOf(ge);-1!==V&&Ce.remove(V)}),this._attachedPortal=Pe,ge}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(Pe){return Pe.hostView.rootNodes[0]}}let st=(()=>{class ut extends j{constructor(Ce,ge,V){super(),this._componentFactoryResolver=Ce,this._viewContainerRef=ge,this._isInitialized=!1,this.attached=new u.vpe,this.attachDomPortal=J=>{const le=J.element,ve=this._document.createComment("dom-portal");J.setAttachedHost(this),le.parentNode.insertBefore(ve,le),this._getRootNode().appendChild(le),this._attachedPortal=J,super.setDisposeFn(()=>{ve.parentNode&&ve.parentNode.replaceChild(le,ve)})},this._document=V}get portal(){return this._attachedPortal}set portal(Ce){this.hasAttached()&&!Ce&&!this._isInitialized||(this.hasAttached()&&super.detach(),Ce&&super.attach(Ce),this._attachedPortal=Ce)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedPortal=null,this._attachedRef=null}attachComponentPortal(Ce){Ce.setAttachedHost(this);const ge=null!=Ce.viewContainerRef?Ce.viewContainerRef:this._viewContainerRef,J=(Ce.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(Ce.component),le=ge.createComponent(J,ge.length,Ce.injector||ge.injector);return ge!==this._viewContainerRef&&this._getRootNode().appendChild(le.hostView.rootNodes[0]),super.setDisposeFn(()=>le.destroy()),this._attachedPortal=Ce,this._attachedRef=le,this.attached.emit(le),le}attachTemplatePortal(Ce){Ce.setAttachedHost(this);const ge=this._viewContainerRef.createEmbeddedView(Ce.templateRef,Ce.context);return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=Ce,this._attachedRef=ge,this.attached.emit(ge),ge}_getRootNode(){const Ce=this._viewContainerRef.element.nativeElement;return Ce.nodeType===Ce.ELEMENT_NODE?Ce:Ce.parentNode}}return ut.\u0275fac=function(Ce){return new(Ce||ut)(u.Y36(u._Vd),u.Y36(u.s_b),u.Y36(m.K0))},ut.\u0275dir=u.lG2({type:ut,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[u.qOj]}),ut})(),Ke=(()=>{class ut{}return ut.\u0275fac=function(Ce){return new(Ce||ut)},ut.\u0275mod=u.oAB({type:ut}),ut.\u0275inj=u.cJS({}),ut})()},1128:(xt,Ie,w)=>{"use strict";w.d(Ie,{ZD:()=>xe,mF:()=>ht,Cl:()=>Te,rL:()=>it});var u=w(348),m=w(3668),D=w(2869),x=w(7908);const ee={schedule(ae){let we=requestAnimationFrame,Me=cancelAnimationFrame;const{delegate:lt}=ee;lt&&(we=lt.requestAnimationFrame,Me=lt.cancelAnimationFrame);const Ct=we(Ot=>{Me=void 0,ae(Ot)});return new x.w0(()=>null==Me?void 0:Me(Ct))},requestAnimationFrame(...ae){const{delegate:we}=ee;return((null==we?void 0:we.requestAnimationFrame)||requestAnimationFrame)(...ae)},cancelAnimationFrame(...ae){const{delegate:we}=ee;return((null==we?void 0:we.cancelAnimationFrame)||cancelAnimationFrame)(...ae)},delegate:void 0};var O=w(8843);new class extends O.v{flush(we){this._active=!0,this._scheduled=void 0;const{actions:Me}=this;let lt,Ct=-1;we=we||Me.shift();const Ot=Me.length;do{if(lt=we.execute(we.state,we.delay))break}while(++Ct<Ot&&(we=Me.shift()));if(this._active=!1,lt){for(;++Ct<Ot&&(we=Me.shift());)we.unsubscribe();throw lt}}}(class extends D.o{constructor(we,Me){super(we,Me),this.scheduler=we,this.work=Me}requestAsyncId(we,Me,lt=0){return null!==lt&&lt>0?super.requestAsyncId(we,Me,lt):(we.actions.push(this),we._scheduled||(we._scheduled=ee.requestAnimationFrame(()=>we.flush(void 0))))}recycleAsyncId(we,Me,lt=0){if(null!=lt&&lt>0||null==lt&&this.delay>0)return super.recycleAsyncId(we,Me,lt);0===we.actions.length&&(ee.cancelAnimationFrame(Me),we._scheduled=void 0)}});var H=w(273),U=w(2997),j=w(8305),B=w(5077),se=(w(5455),w(2210)),fe=w(9947),Le=w(9985),st=w(8889),Ke=w(9417);function Ge(ae,we=se.P){return function(ae){return(0,fe.e)((we,Me)=>{let lt=!1,Ct=null,Ot=null,tn=!1;const St=()=>{if(null==Ot||Ot.unsubscribe(),Ot=null,lt){lt=!1;const he=Ct;Ct=null,Me.next(he)}tn&&Me.complete()},de=()=>{Ot=null,tn&&Me.complete()};we.subscribe(new st.Q(Me,he=>{lt=!0,Ct=he,Ot||(0,Le.Xf)(ae()).subscribe(Ot=new st.Q(Me,St,de))},()=>{tn=!0,(!lt||!Ot||Ot.closed)&&Me.complete()}))})}(()=>(0,Ke.H)(ae,we))}var ut=w(461),Pe=w(928),Ce=w(6019),ge=w(8290);let ht=(()=>{class ae{constructor(Me,lt,Ct){this._ngZone=Me,this._platform=lt,this._scrolled=new H.x,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=Ct}register(Me){this.scrollContainers.has(Me)||this.scrollContainers.set(Me,Me.elementScrolled().subscribe(()=>this._scrolled.next(Me)))}deregister(Me){const lt=this.scrollContainers.get(Me);lt&&(lt.unsubscribe(),this.scrollContainers.delete(Me))}scrolled(Me=20){return this._platform.isBrowser?new j.y(lt=>{this._globalSubscription||this._addGlobalListener();const Ct=Me>0?this._scrolled.pipe(Ge(Me)).subscribe(lt):this._scrolled.subscribe(lt);return this._scrolledCount++,()=>{Ct.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,U.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((Me,lt)=>this.deregister(lt)),this._scrolled.complete()}ancestorScrolled(Me,lt){const Ct=this.getAncestorScrollContainers(Me);return this.scrolled(lt).pipe((0,ut.h)(Ot=>!Ot||Ct.indexOf(Ot)>-1))}getAncestorScrollContainers(Me){const lt=[];return this.scrollContainers.forEach((Ct,Ot)=>{this._scrollableContainsElement(Ot,Me)&&lt.push(Ot)}),lt}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(Me,lt){let Ct=(0,u.fI)(lt),Ot=Me.getElementRef().nativeElement;do{if(Ct==Ot)return!0}while(Ct=Ct.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const Me=this._getWindow();return(0,B.R)(Me.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return ae.\u0275fac=function(Me){return new(Me||ae)(m.LFG(m.R0b),m.LFG(Pe.t4),m.LFG(Ce.K0,8))},ae.\u0275prov=m.Yz7({token:ae,factory:ae.\u0275fac,providedIn:"root"}),ae})(),it=(()=>{class ae{constructor(Me,lt,Ct){this._platform=Me,this._change=new H.x,this._changeListener=Ot=>{this._change.next(Ot)},this._document=Ct,lt.runOutsideAngular(()=>{if(Me.isBrowser){const Ot=this._getWindow();Ot.addEventListener("resize",this._changeListener),Ot.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const Me=this._getWindow();Me.removeEventListener("resize",this._changeListener),Me.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const Me={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),Me}getViewportRect(){const Me=this.getViewportScrollPosition(),{width:lt,height:Ct}=this.getViewportSize();return{top:Me.top,left:Me.left,bottom:Me.top+Ct,right:Me.left+lt,height:Ct,width:lt}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const Me=this._document,lt=this._getWindow(),Ct=Me.documentElement,Ot=Ct.getBoundingClientRect();return{top:-Ot.top||Me.body.scrollTop||lt.scrollY||Ct.scrollTop||0,left:-Ot.left||Me.body.scrollLeft||lt.scrollX||Ct.scrollLeft||0}}change(Me=20){return Me>0?this._change.pipe(Ge(Me)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const Me=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:Me.innerWidth,height:Me.innerHeight}:{width:0,height:0}}}return ae.\u0275fac=function(Me){return new(Me||ae)(m.LFG(Pe.t4),m.LFG(m.R0b),m.LFG(Ce.K0,8))},ae.\u0275prov=m.Yz7({token:ae,factory:ae.\u0275fac,providedIn:"root"}),ae})(),xe=(()=>{class ae{}return ae.\u0275fac=function(Me){return new(Me||ae)},ae.\u0275mod=m.oAB({type:ae}),ae.\u0275inj=m.cJS({}),ae})(),Te=(()=>{class ae{}return ae.\u0275fac=function(Me){return new(Me||ae)},ae.\u0275mod=m.oAB({type:ae}),ae.\u0275inj=m.cJS({imports:[[ge.vT,Pe.ud,xe],ge.vT,xe]}),ae})()},6019:(xt,Ie,w)=>{"use strict";w.d(Ie,{mr:()=>st,ez:()=>pr,K0:()=>O,Do:()=>Ke,V_:()=>X,Ye:()=>Ge,S$:()=>fe,mk:()=>fn,sg:()=>En,O5:()=>Kn,PC:()=>yi,RF:()=>$n,n9:()=>ii,b0:()=>ft,lw:()=>F,EM:()=>Ki,JF:()=>Os,NF:()=>ss,PM:()=>Pi,qS:()=>Kt,w_:()=>A,bD:()=>mr,q:()=>D,Mx:()=>on,HT:()=>ee});var u=w(3668);let m=null;function D(){return m}function ee(N){m||(m=N)}class A{}const O=new u.OlP("DocumentToken");let F=(()=>{class N{historyGo(h){throw new Error("Not implemented")}}return N.\u0275fac=function(h){return new(h||N)},N.\u0275prov=u.Yz7({token:N,factory:function(){return(0,u.LFG)(H)},providedIn:"platform"}),N})();const X=new u.OlP("Location Initialized");let H=(()=>{class N extends F{constructor(h){super(),this._doc=h,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return D().getBaseHref(this._doc)}onPopState(h){const _=D().getGlobalEventTarget(this._doc,"window");return _.addEventListener("popstate",h,!1),()=>_.removeEventListener("popstate",h)}onHashChange(h){const _=D().getGlobalEventTarget(this._doc,"window");return _.addEventListener("hashchange",h,!1),()=>_.removeEventListener("hashchange",h)}get href(){return this.location.href}get protocol(){return this.location.protocol}get hostname(){return this.location.hostname}get port(){return this.location.port}get pathname(){return this.location.pathname}get search(){return this.location.search}get hash(){return this.location.hash}set pathname(h){this.location.pathname=h}pushState(h,_,L){U()?this._history.pushState(h,_,L):this.location.hash=L}replaceState(h,_,L){U()?this._history.replaceState(h,_,L):this.location.hash=L}forward(){this._history.forward()}back(){this._history.back()}historyGo(h=0){this._history.go(h)}getState(){return this._history.state}}return N.\u0275fac=function(h){return new(h||N)(u.LFG(O))},N.\u0275prov=u.Yz7({token:N,factory:function(){return new H((0,u.LFG)(O))},providedIn:"platform"}),N})();function U(){return!!window.history.pushState}function B(N,C){if(0==N.length)return C;if(0==C.length)return N;let h=0;return N.endsWith("/")&&h++,C.startsWith("/")&&h++,2==h?N+C.substring(1):1==h?N+C:N+"/"+C}function q(N){const C=N.match(/#|\?|$/),h=C&&C.index||N.length;return N.slice(0,h-("/"===N[h-1]?1:0))+N.slice(h)}function se(N){return N&&"?"!==N[0]?"?"+N:N}let fe=(()=>{class N{historyGo(h){throw new Error("Not implemented")}}return N.\u0275fac=function(h){return new(h||N)},N.\u0275prov=u.Yz7({token:N,factory:function(){return function(N){const C=(0,u.LFG)(O).location;return new ft((0,u.LFG)(F),C&&C.origin||"")}()},providedIn:"root"}),N})();const st=new u.OlP("appBaseHref");let ft=(()=>{class N extends fe{constructor(h,_){if(super(),this._platformLocation=h,this._removeListenerFns=[],null==_&&(_=this._platformLocation.getBaseHrefFromDOM()),null==_)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");this._baseHref=_}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(h){this._removeListenerFns.push(this._platformLocation.onPopState(h),this._platformLocation.onHashChange(h))}getBaseHref(){return this._baseHref}prepareExternalUrl(h){return B(this._baseHref,h)}path(h=!1){const _=this._platformLocation.pathname+se(this._platformLocation.search),L=this._platformLocation.hash;return L&&h?`${_}${L}`:_}pushState(h,_,L,Be){const wt=this.prepareExternalUrl(L+se(Be));this._platformLocation.pushState(h,_,wt)}replaceState(h,_,L,Be){const wt=this.prepareExternalUrl(L+se(Be));this._platformLocation.replaceState(h,_,wt)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(h=0){var _,L;null==(L=(_=this._platformLocation).historyGo)||L.call(_,h)}}return N.\u0275fac=function(h){return new(h||N)(u.LFG(F),u.LFG(st,8))},N.\u0275prov=u.Yz7({token:N,factory:N.\u0275fac}),N})(),Ke=(()=>{class N extends fe{constructor(h,_){super(),this._platformLocation=h,this._baseHref="",this._removeListenerFns=[],null!=_&&(this._baseHref=_)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(h){this._removeListenerFns.push(this._platformLocation.onPopState(h),this._platformLocation.onHashChange(h))}getBaseHref(){return this._baseHref}path(h=!1){let _=this._platformLocation.hash;return null==_&&(_="#"),_.length>0?_.substring(1):_}prepareExternalUrl(h){const _=B(this._baseHref,h);return _.length>0?"#"+_:_}pushState(h,_,L,Be){let wt=this.prepareExternalUrl(L+se(Be));0==wt.length&&(wt=this._platformLocation.pathname),this._platformLocation.pushState(h,_,wt)}replaceState(h,_,L,Be){let wt=this.prepareExternalUrl(L+se(Be));0==wt.length&&(wt=this._platformLocation.pathname),this._platformLocation.replaceState(h,_,wt)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(h=0){var _,L;null==(L=(_=this._platformLocation).historyGo)||L.call(_,h)}}return N.\u0275fac=function(h){return new(h||N)(u.LFG(F),u.LFG(st,8))},N.\u0275prov=u.Yz7({token:N,factory:N.\u0275fac}),N})(),Ge=(()=>{class N{constructor(h,_){this._subject=new u.vpe,this._urlChangeListeners=[],this._platformStrategy=h;const L=this._platformStrategy.getBaseHref();this._platformLocation=_,this._baseHref=q(Ce(L)),this._platformStrategy.onPopState(Be=>{this._subject.emit({url:this.path(!0),pop:!0,state:Be.state,type:Be.type})})}path(h=!1){return this.normalize(this._platformStrategy.path(h))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(h,_=""){return this.path()==this.normalize(h+se(_))}normalize(h){return N.stripTrailingSlash(function(N,C){return N&&C.startsWith(N)?C.substring(N.length):C}(this._baseHref,Ce(h)))}prepareExternalUrl(h){return h&&"/"!==h[0]&&(h="/"+h),this._platformStrategy.prepareExternalUrl(h)}go(h,_="",L=null){this._platformStrategy.pushState(L,"",h,_),this._notifyUrlChangeListeners(this.prepareExternalUrl(h+se(_)),L)}replaceState(h,_="",L=null){this._platformStrategy.replaceState(L,"",h,_),this._notifyUrlChangeListeners(this.prepareExternalUrl(h+se(_)),L)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}historyGo(h=0){var _,L;null==(L=(_=this._platformStrategy).historyGo)||L.call(_,h)}onUrlChange(h){this._urlChangeListeners.push(h),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(_=>{this._notifyUrlChangeListeners(_.url,_.state)}))}_notifyUrlChangeListeners(h="",_){this._urlChangeListeners.forEach(L=>L(h,_))}subscribe(h,_,L){return this._subject.subscribe({next:h,error:_,complete:L})}}return N.normalizeQueryParams=se,N.joinWithSlash=B,N.stripTrailingSlash=q,N.\u0275fac=function(h){return new(h||N)(u.LFG(fe),u.LFG(F))},N.\u0275prov=u.Yz7({token:N,factory:function(){return new Ge((0,u.LFG)(fe),(0,u.LFG)(F))},providedIn:"root"}),N})();function Ce(N){return N.replace(/\/index.html$/,"")}var J=(()=>((J=J||{})[J.Zero=0]="Zero",J[J.One=1]="One",J[J.Two=2]="Two",J[J.Few=3]="Few",J[J.Many=4]="Many",J[J.Other=5]="Other",J))();const Ot=u.kL8;class $t{}let zt=(()=>{class N extends $t{constructor(h){super(),this.locale=h}getPluralCategory(h,_){switch(Ot(_||this.locale)(h)){case J.Zero:return"zero";case J.One:return"one";case J.Two:return"two";case J.Few:return"few";case J.Many:return"many";default:return"other"}}}return N.\u0275fac=function(h){return new(h||N)(u.LFG(u.soG))},N.\u0275prov=u.Yz7({token:N,factory:N.\u0275fac}),N})();function Kt(N,C,h){return(0,u.dwT)(N,C,h)}function on(N,C){C=encodeURIComponent(C);for(const h of N.split(";")){const _=h.indexOf("="),[L,Be]=-1==_?[h,""]:[h.slice(0,_),h.slice(_+1)];if(L.trim()===C)return decodeURIComponent(Be)}return null}let fn=(()=>{class N{constructor(h,_,L,Be){this._iterableDiffers=h,this._keyValueDiffers=_,this._ngEl=L,this._renderer=Be,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(h){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof h?h.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(h){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof h?h.split(/\s+/):h,this._rawClass&&((0,u.sIi)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const h=this._iterableDiffer.diff(this._rawClass);h&&this._applyIterableChanges(h)}else if(this._keyValueDiffer){const h=this._keyValueDiffer.diff(this._rawClass);h&&this._applyKeyValueChanges(h)}}_applyKeyValueChanges(h){h.forEachAddedItem(_=>this._toggleClass(_.key,_.currentValue)),h.forEachChangedItem(_=>this._toggleClass(_.key,_.currentValue)),h.forEachRemovedItem(_=>{_.previousValue&&this._toggleClass(_.key,!1)})}_applyIterableChanges(h){h.forEachAddedItem(_=>{if("string"!=typeof _.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${(0,u.AaK)(_.item)}`);this._toggleClass(_.item,!0)}),h.forEachRemovedItem(_=>this._toggleClass(_.item,!1))}_applyClasses(h){h&&(Array.isArray(h)||h instanceof Set?h.forEach(_=>this._toggleClass(_,!0)):Object.keys(h).forEach(_=>this._toggleClass(_,!!h[_])))}_removeClasses(h){h&&(Array.isArray(h)||h instanceof Set?h.forEach(_=>this._toggleClass(_,!1)):Object.keys(h).forEach(_=>this._toggleClass(_,!1)))}_toggleClass(h,_){(h=h.trim())&&h.split(/\s+/g).forEach(L=>{_?this._renderer.addClass(this._ngEl.nativeElement,L):this._renderer.removeClass(this._ngEl.nativeElement,L)})}}return N.\u0275fac=function(h){return new(h||N)(u.Y36(u.ZZ4),u.Y36(u.aQg),u.Y36(u.SBq),u.Y36(u.Qsj))},N.\u0275dir=u.lG2({type:N,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),N})();class Sn{constructor(C,h,_,L){this.$implicit=C,this.ngForOf=h,this.index=_,this.count=L}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let En=(()=>{class N{constructor(h,_,L){this._viewContainer=h,this._template=_,this._differs=L,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(h){this._ngForOf=h,this._ngForOfDirty=!0}set ngForTrackBy(h){this._trackByFn=h}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(h){h&&(this._template=h)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const h=this._ngForOf;!this._differ&&h&&(this._differ=this._differs.find(h).create(this.ngForTrackBy))}if(this._differ){const h=this._differ.diff(this._ngForOf);h&&this._applyChanges(h)}}_applyChanges(h){const _=this._viewContainer;h.forEachOperation((L,Be,wt)=>{if(null==L.previousIndex)_.createEmbeddedView(this._template,new Sn(L.item,this._ngForOf,-1,-1),null===wt?void 0:wt);else if(null==wt)_.remove(null===Be?void 0:Be);else if(null!==Be){const Zt=_.get(Be);_.move(Zt,wt),Gn(Zt,L)}});for(let L=0,Be=_.length;L<Be;L++){const Zt=_.get(L).context;Zt.index=L,Zt.count=Be,Zt.ngForOf=this._ngForOf}h.forEachIdentityChange(L=>{Gn(_.get(L.currentIndex),L)})}static ngTemplateContextGuard(h,_){return!0}}return N.\u0275fac=function(h){return new(h||N)(u.Y36(u.s_b),u.Y36(u.Rgc),u.Y36(u.ZZ4))},N.\u0275dir=u.lG2({type:N,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),N})();function Gn(N,C){N.context.$implicit=C.item}let Kn=(()=>{class N{constructor(h,_){this._viewContainer=h,this._context=new ei,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=_}set ngIf(h){this._context.$implicit=this._context.ngIf=h,this._updateView()}set ngIfThen(h){Vn("ngIfThen",h),this._thenTemplateRef=h,this._thenViewRef=null,this._updateView()}set ngIfElse(h){Vn("ngIfElse",h),this._elseTemplateRef=h,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(h,_){return!0}}return N.\u0275fac=function(h){return new(h||N)(u.Y36(u.s_b),u.Y36(u.Rgc))},N.\u0275dir=u.lG2({type:N,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),N})();class ei{constructor(){this.$implicit=null,this.ngIf=null}}function Vn(N,C){if(C&&!C.createEmbeddedView)throw new Error(`${N} must be a TemplateRef, but received '${(0,u.AaK)(C)}'.`)}class Nn{constructor(C,h){this._viewContainerRef=C,this._templateRef=h,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(C){C&&!this._created?this.create():!C&&this._created&&this.destroy()}}let $n=(()=>{class N{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(h){this._ngSwitch=h,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(h){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(h)}_matchCase(h){const _=h==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||_,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),_}_updateDefaultCases(h){if(this._defaultViews&&h!==this._defaultUsed){this._defaultUsed=h;for(let _=0;_<this._defaultViews.length;_++)this._defaultViews[_].enforceState(h)}}}return N.\u0275fac=function(h){return new(h||N)},N.\u0275dir=u.lG2({type:N,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"}}),N})(),ii=(()=>{class N{constructor(h,_,L){this.ngSwitch=L,L._addCase(),this._view=new Nn(h,_)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return N.\u0275fac=function(h){return new(h||N)(u.Y36(u.s_b),u.Y36(u.Rgc),u.Y36($n,9))},N.\u0275dir=u.lG2({type:N,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),N})(),yi=(()=>{class N{constructor(h,_,L){this._ngEl=h,this._differs=_,this._renderer=L,this._ngStyle=null,this._differ=null}set ngStyle(h){this._ngStyle=h,!this._differ&&h&&(this._differ=this._differs.find(h).create())}ngDoCheck(){if(this._differ){const h=this._differ.diff(this._ngStyle);h&&this._applyChanges(h)}}_setStyle(h,_){const[L,Be]=h.split(".");null!=(_=null!=_&&Be?`${_}${Be}`:_)?this._renderer.setStyle(this._ngEl.nativeElement,L,_):this._renderer.removeStyle(this._ngEl.nativeElement,L)}_applyChanges(h){h.forEachRemovedItem(_=>this._setStyle(_.key,null)),h.forEachAddedItem(_=>this._setStyle(_.key,_.currentValue)),h.forEachChangedItem(_=>this._setStyle(_.key,_.currentValue))}}return N.\u0275fac=function(h){return new(h||N)(u.Y36(u.SBq),u.Y36(u.aQg),u.Y36(u.Qsj))},N.\u0275dir=u.lG2({type:N,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}),N})(),pr=(()=>{class N{}return N.\u0275fac=function(h){return new(h||N)},N.\u0275mod=u.oAB({type:N}),N.\u0275inj=u.cJS({providers:[{provide:$t,useClass:zt}]}),N})();const mr="browser";function ss(N){return N===mr}function Pi(N){return"server"===N}let Ki=(()=>{class N{}return N.\u0275prov=(0,u.Yz7)({token:N,providedIn:"root",factory:()=>new $r((0,u.LFG)(O),window)}),N})();class $r{constructor(C,h){this.document=C,this.window=h,this.offset=()=>[0,0]}setOffset(C){this.offset=Array.isArray(C)?()=>C:C}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(C){this.supportsScrolling()&&this.window.scrollTo(C[0],C[1])}scrollToAnchor(C){if(!this.supportsScrolling())return;const h=function(N,C){const h=N.getElementById(C)||N.getElementsByName(C)[0];if(h)return h;if("function"==typeof N.createTreeWalker&&N.body&&(N.body.createShadowRoot||N.body.attachShadow)){const _=N.createTreeWalker(N.body,NodeFilter.SHOW_ELEMENT);let L=_.currentNode;for(;L;){const Be=L.shadowRoot;if(Be){const wt=Be.getElementById(C)||Be.querySelector(`[name="${C}"]`);if(wt)return wt}L=_.nextNode()}}return null}(this.document,C);h&&(this.scrollToElement(h),this.attemptFocus(h))}setHistoryScrollRestoration(C){if(this.supportScrollRestoration()){const h=this.window.history;h&&h.scrollRestoration&&(h.scrollRestoration=C)}}scrollToElement(C){const h=C.getBoundingClientRect(),_=h.left+this.window.pageXOffset,L=h.top+this.window.pageYOffset,Be=this.offset();this.window.scrollTo(_-Be[0],L-Be[1])}attemptFocus(C){return C.focus(),this.document.activeElement===C}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const C=Pr(this.window.history)||Pr(Object.getPrototypeOf(this.window.history));return!(!C||!C.writable&&!C.set)}catch(C){return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(C){return!1}}}function Pr(N){return Object.getOwnPropertyDescriptor(N,"scrollRestoration")}class Os{}},4522:(xt,Ie,w)=>{"use strict";w.d(Ie,{TP:()=>ht,eN:()=>De,JF:()=>Ze,WM:()=>X,Zn:()=>le});var u=w(6019),m=w(3668),D=w(2997),x=w(8305),ee=w(4799),A=w(461),O=w(4753);class F{}class z{}class X{constructor(Ee){this.normalizedNames=new Map,this.lazyUpdate=null,Ee?this.lazyInit="string"==typeof Ee?()=>{this.headers=new Map,Ee.split("\n").forEach(Ve=>{const vt=Ve.indexOf(":");if(vt>0){const Tt=Ve.slice(0,vt),Ut=Tt.toLowerCase(),kt=Ve.slice(vt+1).trim();this.maybeSetNormalizedName(Tt,Ut),this.headers.has(Ut)?this.headers.get(Ut).push(kt):this.headers.set(Ut,[kt])}})}:()=>{this.headers=new Map,Object.keys(Ee).forEach(Ve=>{let vt=Ee[Ve];const Tt=Ve.toLowerCase();"string"==typeof vt&&(vt=[vt]),vt.length>0&&(this.headers.set(Tt,vt),this.maybeSetNormalizedName(Ve,Tt))})}:this.headers=new Map}has(Ee){return this.init(),this.headers.has(Ee.toLowerCase())}get(Ee){this.init();const Ve=this.headers.get(Ee.toLowerCase());return Ve&&Ve.length>0?Ve[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(Ee){return this.init(),this.headers.get(Ee.toLowerCase())||null}append(Ee,Ve){return this.clone({name:Ee,value:Ve,op:"a"})}set(Ee,Ve){return this.clone({name:Ee,value:Ve,op:"s"})}delete(Ee,Ve){return this.clone({name:Ee,value:Ve,op:"d"})}maybeSetNormalizedName(Ee,Ve){this.normalizedNames.has(Ve)||this.normalizedNames.set(Ve,Ee)}init(){this.lazyInit&&(this.lazyInit instanceof X?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(Ee=>this.applyUpdate(Ee)),this.lazyUpdate=null))}copyFrom(Ee){Ee.init(),Array.from(Ee.headers.keys()).forEach(Ve=>{this.headers.set(Ve,Ee.headers.get(Ve)),this.normalizedNames.set(Ve,Ee.normalizedNames.get(Ve))})}clone(Ee){const Ve=new X;return Ve.lazyInit=this.lazyInit&&this.lazyInit instanceof X?this.lazyInit:this,Ve.lazyUpdate=(this.lazyUpdate||[]).concat([Ee]),Ve}applyUpdate(Ee){const Ve=Ee.name.toLowerCase();switch(Ee.op){case"a":case"s":let vt=Ee.value;if("string"==typeof vt&&(vt=[vt]),0===vt.length)return;this.maybeSetNormalizedName(Ee.name,Ve);const Tt=("a"===Ee.op?this.headers.get(Ve):void 0)||[];Tt.push(...vt),this.headers.set(Ve,Tt);break;case"d":const Ut=Ee.value;if(Ut){let kt=this.headers.get(Ve);if(!kt)return;kt=kt.filter(Wt=>-1===Ut.indexOf(Wt)),0===kt.length?(this.headers.delete(Ve),this.normalizedNames.delete(Ve)):this.headers.set(Ve,kt)}else this.headers.delete(Ve),this.normalizedNames.delete(Ve)}}forEach(Ee){this.init(),Array.from(this.normalizedNames.keys()).forEach(Ve=>Ee(this.normalizedNames.get(Ve),this.headers.get(Ve)))}}class H{encodeKey(Ee){return q(Ee)}encodeValue(Ee){return q(Ee)}decodeKey(Ee){return decodeURIComponent(Ee)}decodeValue(Ee){return decodeURIComponent(Ee)}}const j=/%(\d[a-f0-9])/gi,B={40:"@","3A":":",24:"$","2C":",","3B":";","2B":"+","3D":"=","3F":"?","2F":"/"};function q(Ne){return encodeURIComponent(Ne).replace(j,(Ee,Ve)=>{var vt;return null!=(vt=B[Ve])?vt:Ee})}function se(Ne){return`${Ne}`}class fe{constructor(Ee={}){if(this.updates=null,this.cloneFrom=null,this.encoder=Ee.encoder||new H,Ee.fromString){if(Ee.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function(Ne,Ee){const Ve=new Map;return Ne.length>0&&Ne.replace(/^\?/,"").split("&").forEach(Tt=>{const Ut=Tt.indexOf("="),[kt,Wt]=-1==Ut?[Ee.decodeKey(Tt),""]:[Ee.decodeKey(Tt.slice(0,Ut)),Ee.decodeValue(Tt.slice(Ut+1))],sn=Ve.get(kt)||[];sn.push(Wt),Ve.set(kt,sn)}),Ve}(Ee.fromString,this.encoder)}else Ee.fromObject?(this.map=new Map,Object.keys(Ee.fromObject).forEach(Ve=>{const vt=Ee.fromObject[Ve];this.map.set(Ve,Array.isArray(vt)?vt:[vt])})):this.map=null}has(Ee){return this.init(),this.map.has(Ee)}get(Ee){this.init();const Ve=this.map.get(Ee);return Ve?Ve[0]:null}getAll(Ee){return this.init(),this.map.get(Ee)||null}keys(){return this.init(),Array.from(this.map.keys())}append(Ee,Ve){return this.clone({param:Ee,value:Ve,op:"a"})}appendAll(Ee){const Ve=[];return Object.keys(Ee).forEach(vt=>{const Tt=Ee[vt];Array.isArray(Tt)?Tt.forEach(Ut=>{Ve.push({param:vt,value:Ut,op:"a"})}):Ve.push({param:vt,value:Tt,op:"a"})}),this.clone(Ve)}set(Ee,Ve){return this.clone({param:Ee,value:Ve,op:"s"})}delete(Ee,Ve){return this.clone({param:Ee,value:Ve,op:"d"})}toString(){return this.init(),this.keys().map(Ee=>{const Ve=this.encoder.encodeKey(Ee);return this.map.get(Ee).map(vt=>Ve+"="+this.encoder.encodeValue(vt)).join("&")}).filter(Ee=>""!==Ee).join("&")}clone(Ee){const Ve=new fe({encoder:this.encoder});return Ve.cloneFrom=this.cloneFrom||this,Ve.updates=(this.updates||[]).concat(Ee),Ve}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(Ee=>this.map.set(Ee,this.cloneFrom.map.get(Ee))),this.updates.forEach(Ee=>{switch(Ee.op){case"a":case"s":const Ve=("a"===Ee.op?this.map.get(Ee.param):void 0)||[];Ve.push(se(Ee.value)),this.map.set(Ee.param,Ve);break;case"d":if(void 0===Ee.value){this.map.delete(Ee.param);break}{let vt=this.map.get(Ee.param)||[];const Tt=vt.indexOf(se(Ee.value));-1!==Tt&&vt.splice(Tt,1),vt.length>0?this.map.set(Ee.param,vt):this.map.delete(Ee.param)}}}),this.cloneFrom=this.updates=null)}}class st{constructor(){this.map=new Map}set(Ee,Ve){return this.map.set(Ee,Ve),this}get(Ee){return this.map.has(Ee)||this.map.set(Ee,Ee.defaultValue()),this.map.get(Ee)}delete(Ee){return this.map.delete(Ee),this}has(Ee){return this.map.has(Ee)}keys(){return this.map.keys()}}function Ke(Ne){return"undefined"!=typeof ArrayBuffer&&Ne instanceof ArrayBuffer}function Ge(Ne){return"undefined"!=typeof Blob&&Ne instanceof Blob}function ut(Ne){return"undefined"!=typeof FormData&&Ne instanceof FormData}class Ce{constructor(Ee,Ve,vt,Tt){let Ut;if(this.url=Ve,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=Ee.toUpperCase(),function(Ne){switch(Ne){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||Tt?(this.body=void 0!==vt?vt:null,Ut=Tt):Ut=vt,Ut&&(this.reportProgress=!!Ut.reportProgress,this.withCredentials=!!Ut.withCredentials,Ut.responseType&&(this.responseType=Ut.responseType),Ut.headers&&(this.headers=Ut.headers),Ut.context&&(this.context=Ut.context),Ut.params&&(this.params=Ut.params)),this.headers||(this.headers=new X),this.context||(this.context=new st),this.params){const kt=this.params.toString();if(0===kt.length)this.urlWithParams=Ve;else{const Wt=Ve.indexOf("?");this.urlWithParams=Ve+(-1===Wt?"?":Wt<Ve.length-1?"&":"")+kt}}else this.params=new fe,this.urlWithParams=Ve}serializeBody(){return null===this.body?null:Ke(this.body)||Ge(this.body)||ut(this.body)||"undefined"!=typeof URLSearchParams&&this.body instanceof URLSearchParams||"string"==typeof this.body?this.body:this.body instanceof fe?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||ut(this.body)?null:Ge(this.body)?this.body.type||null:Ke(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof fe?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(Ee={}){var un;const Ve=Ee.method||this.method,vt=Ee.url||this.url,Tt=Ee.responseType||this.responseType,Ut=void 0!==Ee.body?Ee.body:this.body,kt=void 0!==Ee.withCredentials?Ee.withCredentials:this.withCredentials,Wt=void 0!==Ee.reportProgress?Ee.reportProgress:this.reportProgress;let sn=Ee.headers||this.headers,Pn=Ee.params||this.params;const Wn=null!=(un=Ee.context)?un:this.context;return void 0!==Ee.setHeaders&&(sn=Object.keys(Ee.setHeaders).reduce((Ln,Rn)=>Ln.set(Rn,Ee.setHeaders[Rn]),sn)),Ee.setParams&&(Pn=Object.keys(Ee.setParams).reduce((Ln,Rn)=>Ln.set(Rn,Ee.setParams[Rn]),Pn)),new Ce(Ve,vt,Ut,{params:Pn,headers:sn,context:Wn,reportProgress:Wt,responseType:Tt,withCredentials:kt})}}var ge=(()=>((ge=ge||{})[ge.Sent=0]="Sent",ge[ge.UploadProgress=1]="UploadProgress",ge[ge.ResponseHeader=2]="ResponseHeader",ge[ge.DownloadProgress=3]="DownloadProgress",ge[ge.Response=4]="Response",ge[ge.User=5]="User",ge))();class V{constructor(Ee,Ve=200,vt="OK"){this.headers=Ee.headers||new X,this.status=void 0!==Ee.status?Ee.status:Ve,this.statusText=Ee.statusText||vt,this.url=Ee.url||null,this.ok=this.status>=200&&this.status<300}}class J extends V{constructor(Ee={}){super(Ee),this.type=ge.ResponseHeader}clone(Ee={}){return new J({headers:Ee.headers||this.headers,status:void 0!==Ee.status?Ee.status:this.status,statusText:Ee.statusText||this.statusText,url:Ee.url||this.url||void 0})}}class le extends V{constructor(Ee={}){super(Ee),this.type=ge.Response,this.body=void 0!==Ee.body?Ee.body:null}clone(Ee={}){return new le({body:void 0!==Ee.body?Ee.body:this.body,headers:Ee.headers||this.headers,status:void 0!==Ee.status?Ee.status:this.status,statusText:Ee.statusText||this.statusText,url:Ee.url||this.url||void 0})}}class ve extends V{constructor(Ee){super(Ee,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${Ee.url||"(unknown url)"}`:`Http failure response for ${Ee.url||"(unknown url)"}: ${Ee.status} ${Ee.statusText}`,this.error=Ee.error||null}}function Ae(Ne,Ee){return{body:Ee,headers:Ne.headers,context:Ne.context,observe:Ne.observe,params:Ne.params,reportProgress:Ne.reportProgress,responseType:Ne.responseType,withCredentials:Ne.withCredentials}}let De=(()=>{class Ne{constructor(Ve){this.handler=Ve}request(Ve,vt,Tt={}){let Ut;if(Ve instanceof Ce)Ut=Ve;else{let sn,Pn;sn=Tt.headers instanceof X?Tt.headers:new X(Tt.headers),Tt.params&&(Pn=Tt.params instanceof fe?Tt.params:new fe({fromObject:Tt.params})),Ut=new Ce(Ve,vt,void 0!==Tt.body?Tt.body:null,{headers:sn,context:Tt.context,params:Pn,reportProgress:Tt.reportProgress,responseType:Tt.responseType||"json",withCredentials:Tt.withCredentials})}const kt=(0,D.of)(Ut).pipe((0,ee.b)(sn=>this.handler.handle(sn)));if(Ve instanceof Ce||"events"===Tt.observe)return kt;const Wt=kt.pipe((0,A.h)(sn=>sn instanceof le));switch(Tt.observe||"body"){case"body":switch(Ut.responseType){case"arraybuffer":return Wt.pipe((0,O.U)(sn=>{if(null!==sn.body&&!(sn.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return sn.body}));case"blob":return Wt.pipe((0,O.U)(sn=>{if(null!==sn.body&&!(sn.body instanceof Blob))throw new Error("Response is not a Blob.");return sn.body}));case"text":return Wt.pipe((0,O.U)(sn=>{if(null!==sn.body&&"string"!=typeof sn.body)throw new Error("Response is not a string.");return sn.body}));default:return Wt.pipe((0,O.U)(sn=>sn.body))}case"response":return Wt;default:throw new Error(`Unreachable: unhandled observe type ${Tt.observe}}`)}}delete(Ve,vt={}){return this.request("DELETE",Ve,vt)}get(Ve,vt={}){return this.request("GET",Ve,vt)}head(Ve,vt={}){return this.request("HEAD",Ve,vt)}jsonp(Ve,vt){return this.request("JSONP",Ve,{params:(new fe).append(vt,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(Ve,vt={}){return this.request("OPTIONS",Ve,vt)}patch(Ve,vt,Tt={}){return this.request("PATCH",Ve,Ae(Tt,vt))}post(Ve,vt,Tt={}){return this.request("POST",Ve,Ae(Tt,vt))}put(Ve,vt,Tt={}){return this.request("PUT",Ve,Ae(Tt,vt))}}return Ne.\u0275fac=function(Ve){return new(Ve||Ne)(m.LFG(F))},Ne.\u0275prov=m.Yz7({token:Ne,factory:Ne.\u0275fac}),Ne})();class qe{constructor(Ee,Ve){this.next=Ee,this.interceptor=Ve}handle(Ee){return this.interceptor.intercept(Ee,this.next)}}const ht=new m.OlP("HTTP_INTERCEPTORS");let Vt=(()=>{class Ne{intercept(Ve,vt){return vt.handle(Ve)}}return Ne.\u0275fac=function(Ve){return new(Ve||Ne)},Ne.\u0275prov=m.Yz7({token:Ne,factory:Ne.\u0275fac}),Ne})();const xe=/^\)\]\}',?\n/;let ae=(()=>{class Ne{constructor(Ve){this.xhrFactory=Ve}handle(Ve){if("JSONP"===Ve.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new x.y(vt=>{const Tt=this.xhrFactory.build();if(Tt.open(Ve.method,Ve.urlWithParams),Ve.withCredentials&&(Tt.withCredentials=!0),Ve.headers.forEach((Rn,hn)=>Tt.setRequestHeader(Rn,hn.join(","))),Ve.headers.has("Accept")||Tt.setRequestHeader("Accept","application/json, text/plain, */*"),!Ve.headers.has("Content-Type")){const Rn=Ve.detectContentTypeHeader();null!==Rn&&Tt.setRequestHeader("Content-Type",Rn)}if(Ve.responseType){const Rn=Ve.responseType.toLowerCase();Tt.responseType="json"!==Rn?Rn:"text"}const Ut=Ve.serializeBody();let kt=null;const Wt=()=>{if(null!==kt)return kt;const Rn=1223===Tt.status?204:Tt.status,hn=Tt.statusText||"OK",Mn=new X(Tt.getAllResponseHeaders()),mt=function(Ne){return"responseURL"in Ne&&Ne.responseURL?Ne.responseURL:/^X-Request-URL:/m.test(Ne.getAllResponseHeaders())?Ne.getResponseHeader("X-Request-URL"):null}(Tt)||Ve.url;return kt=new J({headers:Mn,status:Rn,statusText:hn,url:mt}),kt},sn=()=>{let{headers:Rn,status:hn,statusText:Mn,url:mt}=Wt(),ct=null;204!==hn&&(ct=void 0===Tt.response?Tt.responseText:Tt.response),0===hn&&(hn=ct?200:0);let ot=hn>=200&&hn<300;if("json"===Ve.responseType&&"string"==typeof ct){const Nt=ct;ct=ct.replace(xe,"");try{ct=""!==ct?JSON.parse(ct):null}catch(an){ct=Nt,ot&&(ot=!1,ct={error:an,text:ct})}}ot?(vt.next(new le({body:ct,headers:Rn,status:hn,statusText:Mn,url:mt||void 0})),vt.complete()):vt.error(new ve({error:ct,headers:Rn,status:hn,statusText:Mn,url:mt||void 0}))},Pn=Rn=>{const{url:hn}=Wt(),Mn=new ve({error:Rn,status:Tt.status||0,statusText:Tt.statusText||"Unknown Error",url:hn||void 0});vt.error(Mn)};let Wn=!1;const un=Rn=>{Wn||(vt.next(Wt()),Wn=!0);let hn={type:ge.DownloadProgress,loaded:Rn.loaded};Rn.lengthComputable&&(hn.total=Rn.total),"text"===Ve.responseType&&!!Tt.responseText&&(hn.partialText=Tt.responseText),vt.next(hn)},Ln=Rn=>{let hn={type:ge.UploadProgress,loaded:Rn.loaded};Rn.lengthComputable&&(hn.total=Rn.total),vt.next(hn)};return Tt.addEventListener("load",sn),Tt.addEventListener("error",Pn),Tt.addEventListener("timeout",Pn),Tt.addEventListener("abort",Pn),Ve.reportProgress&&(Tt.addEventListener("progress",un),null!==Ut&&Tt.upload&&Tt.upload.addEventListener("progress",Ln)),Tt.send(Ut),vt.next({type:ge.Sent}),()=>{Tt.removeEventListener("error",Pn),Tt.removeEventListener("abort",Pn),Tt.removeEventListener("load",sn),Tt.removeEventListener("timeout",Pn),Ve.reportProgress&&(Tt.removeEventListener("progress",un),null!==Ut&&Tt.upload&&Tt.upload.removeEventListener("progress",Ln)),Tt.readyState!==Tt.DONE&&Tt.abort()}})}}return Ne.\u0275fac=function(Ve){return new(Ve||Ne)(m.LFG(u.JF))},Ne.\u0275prov=m.Yz7({token:Ne,factory:Ne.\u0275fac}),Ne})();const we=new m.OlP("XSRF_COOKIE_NAME"),Me=new m.OlP("XSRF_HEADER_NAME");class lt{}let Ct=(()=>{class Ne{constructor(Ve,vt,Tt){this.doc=Ve,this.platform=vt,this.cookieName=Tt,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const Ve=this.doc.cookie||"";return Ve!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,u.Mx)(Ve,this.cookieName),this.lastCookieString=Ve),this.lastToken}}return Ne.\u0275fac=function(Ve){return new(Ve||Ne)(m.LFG(u.K0),m.LFG(m.Lbi),m.LFG(we))},Ne.\u0275prov=m.Yz7({token:Ne,factory:Ne.\u0275fac}),Ne})(),Ot=(()=>{class Ne{constructor(Ve,vt){this.tokenService=Ve,this.headerName=vt}intercept(Ve,vt){const Tt=Ve.url.toLowerCase();if("GET"===Ve.method||"HEAD"===Ve.method||Tt.startsWith("http://")||Tt.startsWith("https://"))return vt.handle(Ve);const Ut=this.tokenService.getToken();return null!==Ut&&!Ve.headers.has(this.headerName)&&(Ve=Ve.clone({headers:Ve.headers.set(this.headerName,Ut)})),vt.handle(Ve)}}return Ne.\u0275fac=function(Ve){return new(Ve||Ne)(m.LFG(lt),m.LFG(Me))},Ne.\u0275prov=m.Yz7({token:Ne,factory:Ne.\u0275fac}),Ne})(),tn=(()=>{class Ne{constructor(Ve,vt){this.backend=Ve,this.injector=vt,this.chain=null}handle(Ve){if(null===this.chain){const vt=this.injector.get(ht,[]);this.chain=vt.reduceRight((Tt,Ut)=>new qe(Tt,Ut),this.backend)}return this.chain.handle(Ve)}}return Ne.\u0275fac=function(Ve){return new(Ve||Ne)(m.LFG(z),m.LFG(m.zs3))},Ne.\u0275prov=m.Yz7({token:Ne,factory:Ne.\u0275fac}),Ne})(),he=(()=>{class Ne{static disable(){return{ngModule:Ne,providers:[{provide:Ot,useClass:Vt}]}}static withOptions(Ve={}){return{ngModule:Ne,providers:[Ve.cookieName?{provide:we,useValue:Ve.cookieName}:[],Ve.headerName?{provide:Me,useValue:Ve.headerName}:[]]}}}return Ne.\u0275fac=function(Ve){return new(Ve||Ne)},Ne.\u0275mod=m.oAB({type:Ne}),Ne.\u0275inj=m.cJS({providers:[Ot,{provide:ht,useExisting:Ot,multi:!0},{provide:lt,useClass:Ct},{provide:we,useValue:"XSRF-TOKEN"},{provide:Me,useValue:"X-XSRF-TOKEN"}]}),Ne})(),Ze=(()=>{class Ne{}return Ne.\u0275fac=function(Ve){return new(Ve||Ne)},Ne.\u0275mod=m.oAB({type:Ne}),Ne.\u0275inj=m.cJS({providers:[De,{provide:F,useClass:tn},ae,{provide:z,useExisting:ae}],imports:[[he.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),Ne})()},3668:(xt,Ie,w)=>{"use strict";w.d(Ie,{deG:()=>Yc,tb:()=>lv,AFp:()=>sv,ip1:()=>ff,CZH:()=>Na,hGG:()=>Ow,z2F:()=>Ul,sBO:()=>iw,Sil:()=>pf,_Vd:()=>kl,EJc:()=>uv,SBq:()=>Fl,qLn:()=>$o,vpe:()=>io,tBr:()=>Uo,XFs:()=>he,OlP:()=>Ni,zs3:()=>ws,ZZ4:()=>Wc,aQg:()=>$c,soG:()=>zc,IMH:()=>ro,YKP:()=>vg,h0i:()=>ka,PXZ:()=>qE,R0b:()=>vs,FiY:()=>co,Lbi:()=>av,g9A:()=>ov,n_E:()=>Nc,Qsj:()=>A0,FYo:()=>hg,JOm:()=>bs,q3G:()=>Vi,tp0:()=>Do,Rgc:()=>Vl,dDg:()=>hv,GfV:()=>pg,s_b:()=>Vc,ifc:()=>kt,eFA:()=>gv,G48:()=>nw,Gpc:()=>H,f3M:()=>Jc,_c5:()=>Ew,VLi:()=>$E,c2e:()=>cv,zSh:()=>pd,wAp:()=>Bn,vHH:()=>q,EiD:()=>yu,mCW:()=>la,qzn:()=>ho,JVY:()=>Yf,pB0:()=>Zf,eBb:()=>Kf,L6k:()=>Qf,LAX:()=>qf,cg1:()=>Hd,kL8:()=>Lm,yhl:()=>cu,dqk:()=>un,sIi:()=>Sl,CqO:()=>zp,QGY:()=>Id,F4k:()=>Hp,dwT:()=>Mb,RDi:()=>Ki,AaK:()=>F,z3N:()=>Zs,qOj:()=>yd,TTD:()=>lr,_Bn:()=>ug,xp6:()=>yh,uIk:()=>wd,Tol:()=>dm,ekj:()=>Nd,Suo:()=>Lg,Xpm:()=>tt,lG2:()=>ce,Yz7:()=>et,cJS:()=>Te,oAB:()=>Ue,Yjl:()=>He,Y36:()=>Ol,_UZ:()=>Bp,qZA:()=>Ad,TgZ:()=>Td,EpF:()=>Up,n5z:()=>Xr,Ikx:()=>jd,SDv:()=>ag,LFG:()=>sr,$8M:()=>Ba,$Z:()=>Np,NdJ:()=>Pd,CRH:()=>Ng,O4$:()=>rr,oxw:()=>$p,Hsn:()=>Qp,F$t:()=>Yp,Q6J:()=>xd,DdM:()=>Eg,VKq:()=>wg,WLB:()=>Cg,iGM:()=>kg,MAs:()=>Sp,CHM:()=>ie,oJD:()=>oc,LSH:()=>ol,kYT:()=>_e,Udp:()=>Ld,WFA:()=>Rd,d8E:()=>Ud,YNc:()=>Mp,W1O:()=>Ug,_uU:()=>_m,Oqu:()=>Vd,hij:()=>Ac,Gf:()=>Fg});var u=w(273),m=w(7908),D=w(8305),x=w(3719),ee=w(3174);function A(e){for(let t in e)if(e[t]===A)return t;throw Error("Could not find renamed property on target object.")}function O(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function F(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(F).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function z(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const X=A({__forward_ref__:A});function H(e){return e.__forward_ref__=H,e.toString=function(){return F(this())},e}function U(e){return j(e)?e():e}function j(e){return"function"==typeof e&&e.hasOwnProperty(X)&&e.__forward_ref__===H}class q extends Error{constructor(t,n){super(function(e,t){return`${e?`NG0${e}: `:""}${t}`}(t,n)),this.code=t}}function Le(e){return"string"==typeof e?e:null==e?"":String(e)}function st(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():Le(e)}function ut(e,t){const n=t?` in ${t}`:"";throw new q("201",`No provider for ${st(e)} found${n}`)}function pt(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}function et(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Te(e){return{providers:e.providers||[],imports:e.imports||[]}}function ae(e){return we(e,Ot)||we(e,St)}function we(e,t){return e.hasOwnProperty(t)?e[t]:null}function Ct(e){return e&&(e.hasOwnProperty(tn)||e.hasOwnProperty(de))?e[tn]:null}const Ot=A({\u0275prov:A}),tn=A({\u0275inj:A}),St=A({ngInjectableDef:A}),de=A({ngInjectorDef:A});var he=(()=>((he=he||{})[he.Default=0]="Default",he[he.Host=1]="Host",he[he.Self=2]="Self",he[he.SkipSelf=4]="SkipSelf",he[he.Optional=8]="Optional",he))();let Ze;function Qe(e){const t=Ze;return Ze=e,t}function Ne(e,t,n){const r=ae(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&he.Optional?null:void 0!==t?t:void ut(F(e),"Injector")}function Ve(e){return{toString:e}.toString()}var vt=(()=>((vt=vt||{})[vt.OnPush=0]="OnPush",vt[vt.Default=1]="Default",vt))(),kt=(()=>{return(e=kt||(kt={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",kt;var e})();const Wt="undefined"!=typeof globalThis&&globalThis,sn="undefined"!=typeof window&&window,Pn="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,un=Wt||"undefined"!=typeof global&&global||sn||Pn,hn={},Mn=[],mt=A({\u0275cmp:A}),ct=A({\u0275dir:A}),ot=A({\u0275pipe:A}),Nt=A({\u0275mod:A}),an=A({\u0275fac:A}),je=A({__NG_ELEMENT_ID__:A});let We=0;function tt(e){return Ve(()=>{const n={},r={type:e.type,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:n,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===vt.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors||Mn,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||kt.Emulated,id:"c",styles:e.styles||Mn,_:null,setInput:null,schemas:e.schemas||null,tView:null},a=e.directives,f=e.features,y=e.pipes;return r.id+=We++,r.inputs=Oe(e.inputs,n),r.outputs=Oe(e.outputs),f&&f.forEach(M=>M(r)),r.directiveDefs=a?()=>("function"==typeof a?a():a).map(te):null,r.pipeDefs=y?()=>("function"==typeof y?y():y).map(W):null,r})}function te(e){return Et(e)||function(e){return e[ct]||null}(e)}function W(e){return function(e){return e[ot]||null}(e)}const be={};function Ue(e){return Ve(()=>{const t={type:e.type,bootstrap:e.bootstrap||Mn,declarations:e.declarations||Mn,imports:e.imports||Mn,exports:e.exports||Mn,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&(be[e.id]=e.type),t})}function _e(e,t){return Ve(()=>{const n=An(e,!0);n.declarations=t.declarations||Mn,n.imports=t.imports||Mn,n.exports=t.exports||Mn})}function Oe(e,t){if(null==e)return hn;const n={};for(const r in e)if(e.hasOwnProperty(r)){let a=e[r],f=a;Array.isArray(a)&&(f=a[1],a=a[0]),n[a]=r,t&&(t[a]=f)}return n}const ce=tt;function He(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,onDestroy:e.type.prototype.ngOnDestroy||null}}function Et(e){return e[mt]||null}function An(e,t){const n=e[Nt]||null;if(!n&&!0===t)throw new Error(`Type ${F(e)} does not have '\u0275mod' property.`);return n}function ii(e){return Array.isArray(e)&&"object"==typeof e[1]}function hi(e){return Array.isArray(e)&&!0===e[1]}function Tr(e){return 0!=(8&e.flags)}function nr(e){return 2==(2&e.flags)}function or(e){return 1==(1&e.flags)}function yi(e){return null!==e.template}function zi(e){return 0!=(512&e[2])}function ui(e,t){return e.hasOwnProperty(an)?e[an]:null}class Gr{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function lr(){return Dr}function Dr(e){return e.type.prototype.ngOnChanges&&(e.setInput=pr),Ci}function Ci(){const e=Ar(this),t=null==e?void 0:e.current;if(t){const n=e.previous;if(n===hn)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function pr(e,t,n,r){const a=Ar(e)||function(e,t){return e[mr]=t}(e,{previous:hn,current:null}),f=a.current||(a.current={}),y=a.previous,M=this.declaredInputs[n],I=y[M];f[M]=new Gr(I&&I.currentValue,t,y===hn),e[r]=t}lr.ngInherit=!0;const mr="__ngSimpleChanges__";function Ar(e){return e[mr]||null}const ys="http://www.w3.org/2000/svg";let Ir;function Ki(e){Ir=e}function $r(){return void 0!==Ir?Ir:"undefined"!=typeof document?document:void 0}function si(e){return!!e.listen}const Rr={createRenderer:(e,t)=>$r()};function N(e){for(;Array.isArray(e);)e=e[0];return e}function _(e,t){return N(t[e])}function L(e,t){return N(t[e.index])}function wt(e,t){return e.data[t]}function gn(e,t){const n=t[e];return ii(n)?n:n[0]}function qn(e){return 4==(4&e[2])}function Yn(e){return 128==(128&e[2])}function bi(e,t){return null==t?null:e[t]}function pi(e){e[18]=0}function Ti(e,t){e[5]+=t;let n=e,r=e[3];for(;null!==r&&(1===t&&1===n[5]||-1===t&&0===n[5]);)r[5]+=t,n=r,r=r[3]}const Tn={lFrame:Qr(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function Fr(){return Tn.bindingsEnabled}function At(){return Tn.lFrame.lView}function ti(){return Tn.lFrame.tView}function ie(e){return Tn.lFrame.contextLView=e,e[8]}function v(){let e=b();for(;null!==e&&64===e.type;)e=e.parent;return e}function b(){return Tn.lFrame.currentTNode}function P(){const e=Tn.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Z(e,t){const n=Tn.lFrame;n.currentTNode=e,n.isParent=t}function ye(){return Tn.lFrame.isParent}function $e(){Tn.lFrame.isParent=!1}function Ft(){return Tn.isInCheckNoChangesMode}function qt(e){Tn.isInCheckNoChangesMode=e}function rn(){const e=Tn.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function _n(){return Tn.lFrame.bindingIndex++}function xn(e){const t=Tn.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function mi(e){Tn.lFrame.inI18n=e}function Di(e,t){const n=Tn.lFrame;n.bindingIndex=n.bindingRootIndex=e,Si(t)}function Si(e){Tn.lFrame.currentDirectiveIndex=e}function Mr(e){const t=Tn.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function qi(){return Tn.lFrame.currentQueryIndex}function Ei(e){Tn.lFrame.currentQueryIndex=e}function ir(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function ur(e,t,n){if(n&he.SkipSelf){let a=t,f=e;for(;!(a=a.parent,null!==a||n&he.Host||(a=ir(f),null===a||(f=f[15],10&a.type))););if(null===a)return!1;t=a,e=f}const r=Tn.lFrame=ps();return r.currentTNode=t,r.lView=e,!0}function Zi(e){const t=ps(),n=e[1];Tn.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function ps(){const e=Tn.lFrame,t=null===e?null:e.child;return null===t?Qr(e):t}function Qr(e){const t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function wi(){const e=Tn.lFrame;return Tn.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Ts=wi;function Xi(){const e=wi();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function mn(){return Tn.lFrame.selectedIndex}function In(e){Tn.lFrame.selectedIndex=e}function zn(){const e=Tn.lFrame;return wt(e.tView,e.selectedIndex)}function rr(){Tn.lFrame.currentNamespace=ys}function er(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){const f=e.data[n].type.prototype,{ngAfterContentInit:y,ngAfterContentChecked:M,ngAfterViewInit:I,ngAfterViewChecked:G,ngOnDestroy:oe}=f;y&&(e.contentHooks||(e.contentHooks=[])).push(-n,y),M&&((e.contentHooks||(e.contentHooks=[])).push(n,M),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(n,M)),I&&(e.viewHooks||(e.viewHooks=[])).push(-n,I),G&&((e.viewHooks||(e.viewHooks=[])).push(n,G),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(n,G)),null!=oe&&(e.destroyHooks||(e.destroyHooks=[])).push(n,oe)}}function Wi(e,t,n){zs(e,t,3,n)}function Fi(e,t,n,r){(3&e[2])===n&&zs(e,t,n,r)}function Li(e,t){let n=e[2];(3&n)===t&&(n&=2047,n+=1,e[2]=n)}function zs(e,t,n,r){const f=null!=r?r:-1,y=t.length-1;let M=0;for(let I=void 0!==r?65535&e[18]:0;I<y;I++)if("number"==typeof t[I+1]){if(M=t[I],null!=r&&M>=r)break}else t[I]<0&&(e[18]+=65536),(M<f||-1==f)&&(Ui(e,n,t,I),e[18]=(4294901760&e[18])+I+2),I++}function Ui(e,t,n,r){const a=n[r]<0,f=n[r+1],M=e[a?-n[r]:n[r]];if(a){if(e[2]>>11<e[18]>>16&&(3&e[2])===t){e[2]+=2048;try{f.call(M)}finally{}}}else try{f.call(M)}finally{}}class Gs{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function oo(e,t,n){const r=si(e);let a=0;for(;a<n.length;){const f=n[a];if("number"==typeof f){if(0!==f)break;a++;const y=n[a++],M=n[a++],I=n[a++];r?e.setAttribute(t,M,I,y):t.setAttributeNS(y,M,I)}else{const y=f,M=n[++a];vo(y)?r&&e.setProperty(t,y,M):r?e.setAttribute(t,y,M):t.setAttribute(y,M),a++}}return a}function ea(e){return 3===e||4===e||6===e}function vo(e){return 64===e.charCodeAt(0)}function _o(e,t){if(null!==t&&0!==t.length)if(null===e||0===e.length)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){const a=t[r];"number"==typeof a?n=a:0===n||Fo(e,n,a,null,-1===n||2===n?t[++r]:null)}}return e}function Fo(e,t,n,r,a){let f=0,y=e.length;if(-1===t)y=-1;else for(;f<e.length;){const M=e[f++];if("number"==typeof M){if(M===t){y=-1;break}if(M>t){y=f-1;break}}}for(;f<e.length;){const M=e[f];if("number"==typeof M)break;if(M===n){if(null===r)return void(null!==a&&(e[f+1]=a));if(r===e[f+1])return void(e[f+2]=a)}f++,null!==r&&f++,null!==a&&f++}-1!==y&&(e.splice(y,0,t),f=y+1),e.splice(f++,0,n),null!==r&&e.splice(f++,0,r),null!==a&&e.splice(f++,0,a)}function ta(e){return-1!==e}function Ws(e){return 32767&e}function qr(e,t){let n=function(e){return e>>16}(e),r=t;for(;n>0;)r=r[15],n--;return r}let _r=!0;function Ys(e){const t=_r;return _r=e,t}let l=0;function p(e,t){const n=k(e,t);if(-1!==n)return n;const r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,S(r.data,e),S(t,null),S(r.blueprint,null));const a=ne(e,t),f=e.injectorIndex;if(ta(a)){const y=Ws(a),M=qr(a,t),I=M[1].data;for(let G=0;G<8;G++)t[f+G]=M[y+G]|I[y+G]}return t[f+8]=a,f}function S(e,t){e.push(0,0,0,0,0,0,0,0,t)}function k(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function ne(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,a=t;for(;null!==a;){const f=a[1],y=f.type;if(r=2===y?f.declTNode:1===y?a[6]:null,null===r)return-1;if(n++,a=a[15],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return-1}function Se(e,t,n){!function(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(je)&&(r=n[je]),null==r&&(r=n[je]=l++);const a=255&r;t.data[e+(a>>5)]|=1<<a}(e,t,n)}function yt(e,t,n){if(n&he.Optional)return e;ut(t,"NodeInjector")}function en(e,t,n,r){if(n&he.Optional&&void 0===r&&(r=null),0==(n&(he.Self|he.Host))){const a=e[9],f=Qe(void 0);try{return a?a.get(t,r,n&he.Optional):Ne(t,r,n&he.Optional)}finally{Qe(f)}}return yt(r,t,n)}function Hn(e,t,n,r=he.Default,a){if(null!==e){const f=function(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(je)?e[je]:void 0;return"number"==typeof t?t>=0?255&t:ci:t}(n);if("function"==typeof f){if(!ur(t,e,r))return r&he.Host?yt(a,n,r):en(t,n,r,a);try{const y=f(r);if(null!=y||r&he.Optional)return y;ut(n)}finally{Ts()}}else if("number"==typeof f){let y=null,M=k(e,t),I=-1,G=r&he.Host?t[16][6]:null;for((-1===M||r&he.SkipSelf)&&(I=-1===M?ne(e,t):t[M+8],-1!==I&&Ks(r,!1)?(y=t[1],M=Ws(I),t=qr(I,t)):M=-1);-1!==M;){const oe=t[1];if(As(f,M,oe.data)){const Fe=oi(M,t,n,y,r,G);if(Fe!==Dn)return Fe}I=t[M+8],-1!==I&&Ks(r,t[1].data[M+8]===G)&&As(f,M,t)?(y=oe,M=Ws(I),t=qr(I,t)):M=-1}}}return en(t,n,r,a)}const Dn={};function ci(){return new ai(v(),At())}function oi(e,t,n,r,a,f){const y=t[1],M=y.data[e+8],oe=yr(M,y,n,null==r?nr(M)&&_r:r!=y&&0!=(3&M.type),a&he.Host&&f===M);return null!==oe?Zr(t,y,oe,M):Dn}function yr(e,t,n,r,a){const f=e.providerIndexes,y=t.data,M=1048575&f,I=e.directiveStart,oe=f>>20,rt=a?M+oe:e.directiveEnd;for(let bt=r?M:M+oe;bt<rt;bt++){const Bt=y[bt];if(bt<I&&n===Bt||bt>=I&&Bt.type===n)return bt}if(a){const bt=y[I];if(bt&&yi(bt)&&bt.type===n)return I}return null}function Zr(e,t,n,r){let a=e[n];const f=t.data;if(function(e){return e instanceof Gs}(a)){const y=a;y.resolving&&function(e,t){throw new q("200",`Circular dependency in DI detected for ${e}`)}(st(f[n]));const M=Ys(y.canSeeViewProviders);y.resolving=!0;const I=y.injectImpl?Qe(y.injectImpl):null;ur(e,r,he.Default);try{a=e[n]=y.factory(void 0,f,e,r),t.firstCreatePass&&n>=r.directiveStart&&function(e,t,n){const{ngOnChanges:r,ngOnInit:a,ngDoCheck:f}=t.type.prototype;if(r){const y=Dr(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,y),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,y)}a&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,a),f&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,f),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,f))}(n,f[n],t)}finally{null!==I&&Qe(I),Ys(M),y.resolving=!1,Ts()}}return a}function As(e,t,n){return!!(n[t+(e>>5)]&1<<e)}function Ks(e,t){return!(e&he.Self||e&he.Host&&t)}class ai{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return Hn(this._tNode,this._lView,t,r,n)}}function Xr(e){return Ve(()=>{const t=e.prototype.constructor,n=t[an]||yo(t),r=Object.prototype;let a=Object.getPrototypeOf(e.prototype).constructor;for(;a&&a!==r;){const f=a[an]||yo(a);if(f&&f!==n)return f;a=Object.getPrototypeOf(a)}return f=>new f})}function yo(e){return j(e)?()=>{const t=yo(U(e));return t&&t()}:ui(e)}function Ba(e){return function(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const r=n.length;let a=0;for(;a<r;){const f=n[a];if(ea(f))break;if(0===f)a+=2;else if("number"==typeof f)for(a++;a<r&&"string"==typeof n[a];)a++;else{if(f===t)return n[a+1];a+=2}}}return null}(v(),e)}const br="__parameters__";function Eo(e,t,n){return Ve(()=>{const r=function(e){return function(...n){if(e){const r=e(...n);for(const a in r)this[a]=r[a]}}}(t);function a(...f){if(this instanceof a)return r.apply(this,f),this;const y=new a(...f);return M.annotation=y,M;function M(I,G,oe){const Fe=I.hasOwnProperty(br)?I[br]:Object.defineProperty(I,br,{value:[]})[br];for(;Fe.length<=oe;)Fe.push(null);return(Fe[oe]=Fe[oe]||[]).push(y),I}}return n&&(a.prototype=Object.create(n.prototype)),a.prototype.ngMetadataName=e,a.annotationCls=a,a})}class Ni{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=et({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}toString(){return`InjectionToken ${this._desc}`}}const Yc=new Ni("AnalyzeForEntryComponents");function ms(e,t){void 0===t&&(t=e);for(let n=0;n<e.length;n++){let r=e[n];Array.isArray(r)?(t===e&&(t=e.slice(0,n)),ms(r,t)):t!==e&&t.push(r)}return t}function Is(e,t){e.forEach(n=>Array.isArray(n)?Is(n,t):t(n))}function Kc(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Ga(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function ia(e,t){const n=[];for(let r=0;r<e;r++)n.push(t);return n}function us(e,t,n){let r=No(e,t);return r>=0?e[1|r]=n:(r=~r,function(e,t,n,r){let a=e.length;if(a==t)e.push(n,r);else if(1===a)e.push(r,e[0]),e[0]=n;else{for(a--,e.push(e[a-1],e[a]);a>t;)e[a]=e[a-2],a--;e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function wo(e,t){const n=No(e,t);if(n>=0)return e[1|n]}function No(e,t){return function(e,t,n){let r=0,a=e.length>>n;for(;a!==r;){const f=r+(a-r>>1),y=e[f<<n];if(t===y)return f<<n;y>t?a=f:r=f+1}return~(a<<n)}(e,t,1)}const Bo={},Bi="__NG_DI_FLAG__",sa="ngTempTokenPath",Hl=/\n/gm,Qa="__source",Xc=A({provide:String,useValue:A});let jo;function Gl(e){const t=jo;return jo=e,t}function Wl(e,t=he.Default){if(void 0===jo)throw new Error("inject() must be called from an injection context");return null===jo?Ne(e,void 0,t):jo.get(e,t&he.Optional?null:void 0,t)}function sr(e,t=he.Default){return(Ze||Wl)(U(e),t)}const Jc=sr;function Ka(e){const t=[];for(let n=0;n<e.length;n++){const r=U(e[n]);if(Array.isArray(r)){if(0===r.length)throw new Error("Arguments array must have arguments.");let a,f=he.Default;for(let y=0;y<r.length;y++){const M=r[y],I=Co(M);"number"==typeof I?-1===I?a=M.token:f|=I:a=M}t.push(sr(a,f))}else t.push(sr(r))}return t}function Sr(e,t){return e[Bi]=t,e.prototype[Bi]=t,e}function Co(e){return e[Bi]}const Uo=Sr(Eo("Inject",e=>({token:e})),-1),co=Sr(Eo("Optional"),8),Do=Sr(Eo("SkipSelf"),4);let Go,Br;function fo(e){var t;return(null==(t=function(){if(void 0===Go&&(Go=null,un.trustedTypes))try{Go=un.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return Go}())?void 0:t.createHTML(e))||e}function tl(e){var t;return(null==(t=function(){if(void 0===Br&&(Br=null,un.trustedTypes))try{Br=un.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return Br}())?void 0:t.createHTML(e))||e}class Rs{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class ec extends Rs{getTypeName(){return"HTML"}}class ou extends Rs{getTypeName(){return"Style"}}class au extends Rs{getTypeName(){return"Script"}}class lu extends Rs{getTypeName(){return"URL"}}class il extends Rs{getTypeName(){return"ResourceURL"}}function Zs(e){return e instanceof Rs?e.changingThisBreaksApplicationSecurity:e}function ho(e,t){const n=cu(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see https://g.co/ng/security#xss)`)}return n===t}function cu(e){return e instanceof Rs&&e.getTypeName()||null}function Yf(e){return new ec(e)}function Qf(e){return new ou(e)}function Kf(e){return new au(e)}function qf(e){return new lu(e)}function Zf(e){return new il(e)}function uu(e){const t=new tc(e);return function(){try{return!!(new window.DOMParser).parseFromString(fo(""),"text/html")}catch(e){return!1}}()?new Xf(t):t}class Xf{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const n=(new window.DOMParser).parseFromString(fo(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch(n){return null}}}class tc{constructor(t){if(this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const n=this.inertDocument.createElement("html");this.inertDocument.appendChild(n);const r=this.inertDocument.createElement("body");n.appendChild(r)}}getInertBodyElement(t){const n=this.inertDocument.createElement("template");if("content"in n)return n.innerHTML=fo(t),n;const r=this.inertDocument.createElement("body");return r.innerHTML=fo(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(r),r}stripCustomNsAttrs(t){const n=t.attributes;for(let a=n.length-1;0<a;a--){const y=n.item(a).name;("xmlns:ns1"===y||0===y.indexOf("ns1:"))&&t.removeAttribute(y)}let r=t.firstChild;for(;r;)r.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(r),r=r.nextSibling}}const fu=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi,aa=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i;function la(e){return(e=String(e)).match(fu)||e.match(aa)?e:"unsafe:"+e}function hu(e){return(e=String(e)).split(",").map(t=>la(t.trim())).join(", ")}function ks(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function ca(...e){const t={};for(const n of e)for(const r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}const pu=ks("area,br,col,hr,img,wbr"),mu=ks("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),gu=ks("rp,rt"),nc=ca(pu,ca(mu,ks("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),ca(gu,ks("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),ca(gu,mu)),ic=ks("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),rc=ks("srcset"),_u=ca(ic,rc,ks("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),ks("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),Jf=ks("script,style,template");class eh{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let n=t.firstChild,r=!0;for(;n;)if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild)n=n.firstChild;else for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let a=this.checkClobberedElement(n,n.nextSibling);if(a){n=a;break}n=this.checkClobberedElement(n,n.parentNode)}return this.buf.join("")}startElement(t){const n=t.nodeName.toLowerCase();if(!nc.hasOwnProperty(n))return this.sanitizedSomething=!0,!Jf.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const r=t.attributes;for(let a=0;a<r.length;a++){const f=r.item(a),y=f.name,M=y.toLowerCase();if(!_u.hasOwnProperty(M)){this.sanitizedSomething=!0;continue}let I=f.value;ic[M]&&(I=la(I)),rc[M]&&(I=hu(I)),this.buf.push(" ",y,'="',sc(I),'"')}return this.buf.push(">"),!0}endElement(t){const n=t.nodeName.toLowerCase();nc.hasOwnProperty(n)&&!pu.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(sc(t))}checkClobberedElement(t,n){if(n&&(t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`);return n}}const th=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,nh=/([^\#-~ |!])/g;function sc(e){return e.replace(/&/g,"&amp;").replace(th,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(nh,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let rl;function yu(e,t){let n=null;try{rl=rl||uu(e);let r=t?String(t):"";n=rl.getInertBodyElement(r);let a=5,f=r;do{if(0===a)throw new Error("Failed to sanitize html because the input is unstable");a--,r=f,f=n.innerHTML,n=rl.getInertBodyElement(r)}while(r!==f);return fo((new eh).sanitizeChildren(xo(n)||n))}finally{if(n){const r=xo(n)||n;for(;r.firstChild;)r.removeChild(r.firstChild)}}}function xo(e){return"content"in e&&function(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Vi=(()=>((Vi=Vi||{})[Vi.NONE=0]="NONE",Vi[Vi.HTML=1]="HTML",Vi[Vi.STYLE=2]="STYLE",Vi[Vi.SCRIPT=3]="SCRIPT",Vi[Vi.URL=4]="URL",Vi[Vi.RESOURCE_URL=5]="RESOURCE_URL",Vi))();function oc(e){const t=Wo();return t?tl(t.sanitize(Vi.HTML,e)||""):ho(e,"HTML")?tl(Zs(e)):yu($r(),Le(e))}function ol(e){const t=Wo();return t?t.sanitize(Vi.URL,e)||"":ho(e,"URL")?Zs(e):la(Le(e))}function Wo(){const e=At();return e&&e[12]}const lc="__ngContext__";function xr(e,t){e[lc]=t}function cc(e){const t=function(e){return e[lc]||null}(e);return t?Array.isArray(t)?t:t.lView:null}function tr(e){return e.ngOriginalError}function Iu(e,...t){e.error(...t)}class $o{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t),r=(e=t)&&e.ngErrorLogger||Iu;var e;r(this._console,"ERROR",t),n&&r(this._console,"ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&tr(t);for(;n&&tr(n);)n=tr(n);return n||null}}const hc=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(un))();function ds(e){return e instanceof Function?e():e}var bs=(()=>((bs=bs||{})[bs.Important=1]="Important",bs[bs.DashCase=2]="DashCase",bs))();let pl;function ml(e,t){return pl(e,t)}function Yo(e){const t=e[3];return hi(t)?t[3]:t}function gl(e){return _c(e[13])}function vl(e){return _c(e[4])}function _c(e){for(;null!==e&&!hi(e);)e=e[4];return e}function Ao(e,t,n,r,a){if(null!=r){let f,y=!1;hi(r)?f=r:ii(r)&&(y=!0,r=r[0]);const M=N(r);0===e&&null!==n?null==a?Pt(t,n,M):at(t,n,M,a||null,!0):1===e&&null!==n?at(t,n,M,a||null,!0):2===e?function(e,t,n){const r=Un(e,t);r&&function(e,t,n,r){si(e)?e.removeChild(t,n,r):t.removeChild(n)}(e,r,t,n)}(t,M,y):3===e&&t.destroyNode(M),null!=f&&function(e,t,n,r,a){const f=n[7];f!==N(n)&&Ao(t,e,r,f,a);for(let M=10;M<n.length;M++){const I=n[M];wl(I[1],I,e,t,r,f)}}(t,e,f,n,a)}}function _l(e,t){return si(e)?e.createText(t):e.createTextNode(t)}function yl(e,t,n){return si(e)?e.createElement(t,n):null===n?e.createElement(t):e.createElementNS(n,t)}function g(e,t){const n=e[9],r=n.indexOf(t),a=t[3];1024&t[2]&&(t[2]&=-1025,Ti(a,-1)),n.splice(r,1)}function E(e,t){if(e.length<=10)return;const n=10+t,r=e[n];if(r){const a=r[17];null!==a&&a!==e&&g(a,r),t>0&&(e[n-1][4]=r[4]);const f=Ga(e,10+t);!function(e,t){wl(e,t,t[11],2,null,null),t[0]=null,t[6]=null}(r[1],r);const y=f[19];null!==y&&y.detachView(f[1]),r[3]=null,r[4]=null,r[2]&=-129}return r}function T(e,t){if(!(256&t[2])){const n=t[11];si(n)&&n.destroyNode&&wl(e,t,n,3,null,null),function(e){let t=e[13];if(!t)return Q(e[1],e);for(;t;){let n=null;if(ii(t))n=t[13];else{const r=t[10];r&&(n=r)}if(!n){for(;t&&!t[4]&&t!==e;)ii(t)&&Q(t[1],t),t=t[3];null===t&&(t=e),ii(t)&&Q(t[1],t),n=t&&t[4]}t=n}}(t)}}function Q(e,t){if(!(256&t[2])){t[2]&=-129,t[2]|=256,function(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r<n.length;r+=2){const a=t[n[r]];if(!(a instanceof Gs)){const f=n[r+1];if(Array.isArray(f))for(let y=0;y<f.length;y+=2){const M=a[f[y]],I=f[y+1];try{I.call(M)}finally{}}else try{f.call(a)}finally{}}}}(e,t),function(e,t){const n=e.cleanup,r=t[7];let a=-1;if(null!==n)for(let f=0;f<n.length-1;f+=2)if("string"==typeof n[f]){const y=n[f+1],M="function"==typeof y?y(t):N(t[y]),I=r[a=n[f+2]],G=n[f+3];"boolean"==typeof G?M.removeEventListener(n[f],I,G):G>=0?r[a=G]():r[a=-G].unsubscribe(),f+=2}else{const y=r[a=n[f+1]];n[f].call(y)}if(null!==r){for(let f=a+1;f<r.length;f++)r[f]();t[7]=null}}(e,t),1===t[1].type&&si(t[11])&&t[11].destroy();const n=t[17];if(null!==n&&hi(t[3])){n!==t[3]&&g(n,t);const r=t[19];null!==r&&r.detachView(e)}}}function nt(e,t,n){return Mt(e,t.parent,n)}function Mt(e,t,n){let r=t;for(;null!==r&&40&r.type;)r=(t=r).parent;if(null===r)return n[0];if(2&r.flags){const a=e.data[r.directiveStart].encapsulation;if(a===kt.None||a===kt.Emulated)return null}return L(r,n)}function at(e,t,n,r,a){si(e)?e.insertBefore(t,n,r,a):t.insertBefore(n,r,a)}function Pt(e,t,n){si(e)?e.appendChild(t,n):t.appendChild(n)}function nn(e,t,n,r,a){null!==r?at(e,t,n,r,a):Pt(e,t,n)}function Un(e,t){return si(e)?e.parentNode(t):t.parentNode}function ki(e,t,n){return di(e,t,n)}function _i(e,t,n){return 40&e.type?L(e,n):null}let Or,di=_i;function Xs(e,t){di=e,Or=t}function Er(e,t,n,r){const a=nt(e,r,t),f=t[11],M=ki(r.parent||t[6],r,t);if(null!=a)if(Array.isArray(n))for(let I=0;I<n.length;I++)nn(f,a,n[I],M,!1);else nn(f,a,n,M,!1);void 0!==Or&&Or(f,r,t,n,a)}function Es(e,t){if(null!==t){const n=t.type;if(3&n)return L(t,e);if(4&n)return Io(-1,e[t.index]);if(8&n){const r=t.child;if(null!==r)return Es(e,r);{const a=e[t.index];return hi(a)?Io(-1,a):N(a)}}if(32&n)return ml(t,e)()||N(e[t.index]);{const r=bl(e,t);return null!==r?Array.isArray(r)?r[0]:Es(Yo(e[16]),r):Es(e,t.next)}}return null}function bl(e,t){return null!==t?e[16][6].projection[t.projection]:null}function Io(e,t){const n=10+e+1;if(n<t.length){const r=t[n],a=r[1].firstChild;if(null!==a)return Es(r,a)}return t[7]}function ha(e,t,n,r,a,f,y){for(;null!=n;){const M=r[n.index],I=n.type;if(y&&0===t&&(M&&xr(N(M),r),n.flags|=4),64!=(64&n.flags))if(8&I)ha(e,t,n.child,r,a,f,!1),Ao(t,e,a,M,f);else if(32&I){const G=ml(n,r);let oe;for(;oe=G();)Ao(t,e,a,oe,f);Ao(t,e,a,M,f)}else 16&I?fh(e,t,r,n,a,f):Ao(t,e,a,M,f);n=y?n.projectionNext:n.next}}function wl(e,t,n,r,a,f){ha(n,r,e.firstChild,t,a,f,!1)}function fh(e,t,n,r,a,f){const y=n[16],I=y[6].projection[r.projection];if(Array.isArray(I))for(let G=0;G<I.length;G++)Ao(t,e,a,I[G],f);else ha(e,t,I,y[3],a,f,!0)}function hh(e,t,n){si(e)?e.setAttribute(t,"style",n):t.style.cssText=n}function Wu(e,t,n){si(e)?""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n):t.className=n}function ph(e,t,n){let r=e.length;for(;;){const a=e.indexOf(t,n);if(-1===a)return a;if(0===a||e.charCodeAt(a-1)<=32){const f=t.length;if(a+f===r||e.charCodeAt(a+f)<=32)return a}n=a+1}}const mh="ng-template";function Gv(e,t,n){let r=0;for(;r<e.length;){let a=e[r++];if(n&&"class"===a){if(a=e[r],-1!==ph(a.toLowerCase(),t,0))return!0}else if(1===a){for(;r<e.length&&"string"==typeof(a=e[r++]);)if(a.toLowerCase()===t)return!0;return!1}}return!1}function gh(e){return 4===e.type&&e.value!==mh}function Wv(e,t,n){return t===(4!==e.type||n?e.value:mh)}function $v(e,t,n){let r=4;const a=e.attrs||[],f=function(e){for(let t=0;t<e.length;t++)if(ea(e[t]))return t;return e.length}(a);let y=!1;for(let M=0;M<t.length;M++){const I=t[M];if("number"!=typeof I){if(!y)if(4&r){if(r=2|1&r,""!==I&&!Wv(e,I,n)||""===I&&1===t.length){if(Fs(r))return!1;y=!0}}else{const G=8&r?I:t[++M];if(8&r&&null!==e.attrs){if(!Gv(e.attrs,G,n)){if(Fs(r))return!1;y=!0}continue}const Fe=Yv(8&r?"class":I,a,gh(e),n);if(-1===Fe){if(Fs(r))return!1;y=!0;continue}if(""!==G){let rt;rt=Fe>f?"":a[Fe+1].toLowerCase();const bt=8&r?rt:null;if(bt&&-1!==ph(bt,G,0)||2&r&&G!==rt){if(Fs(r))return!1;y=!0}}}}else{if(!y&&!Fs(r)&&!Fs(I))return!1;if(y&&Fs(I))continue;y=!1,r=I|1&r}}return Fs(r)||y}function Fs(e){return 0==(1&e)}function Yv(e,t,n,r){if(null===t)return-1;let a=0;if(r||!n){let f=!1;for(;a<t.length;){const y=t[a];if(y===e)return a;if(3===y||6===y)f=!0;else{if(1===y||2===y){let M=t[++a];for(;"string"==typeof M;)M=t[++a];continue}if(4===y)break;if(0===y){a+=4;continue}}a+=f?1:2}return-1}return function(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){const r=e[n];if("number"==typeof r)return-1;if(r===t)return n;n++}return-1}(t,e)}function vh(e,t,n=!1){for(let r=0;r<t.length;r++)if($v(e,t[r],n))return!0;return!1}function Zv(e,t){e:for(let n=0;n<t.length;n++){const r=t[n];if(e.length===r.length){for(let a=0;a<e.length;a++)if(e[a]!==r[a])continue e;return!0}}return!1}function _h(e,t){return e?":not("+t.trim()+")":t}function Xv(e){let t=e[0],n=1,r=2,a="",f=!1;for(;n<e.length;){let y=e[n];if("string"==typeof y)if(2&r){const M=e[++n];a+="["+y+(M.length>0?'="'+M+'"':"")+"]"}else 8&r?a+="."+y:4&r&&(a+=" "+y);else""!==a&&!Fs(y)&&(t+=_h(f,a),a=""),r=y,f=f||!Fs(r);n++}return""!==a&&(t+=_h(f,a)),t}const Zn={};function yh(e){bh(ti(),At(),mn()+e,Ft())}function bh(e,t,n,r){if(!r)if(3==(3&t[2])){const f=e.preOrderCheckHooks;null!==f&&Wi(t,f,n)}else{const f=e.preOrderHooks;null!==f&&Fi(t,f,0,n)}In(n)}function bc(e,t){return e<<17|t<<2}function Ls(e){return e>>17&32767}function $u(e){return 2|e}function po(e){return(131068&e)>>2}function Yu(e,t){return-131069&e|t<<2}function Qu(e){return 1|e}function Ih(e,t){const n=e.contentQueries;if(null!==n)for(let r=0;r<n.length;r+=2){const a=n[r],f=n[r+1];if(-1!==f){const y=e.data[f];Ei(a),y.contentQueries(2,t[f],f)}}}function Cl(e,t,n,r,a,f,y,M,I,G){const oe=t.blueprint.slice();return oe[0]=a,oe[2]=140|r,pi(oe),oe[3]=oe[15]=e,oe[8]=n,oe[10]=y||e&&e[10],oe[11]=M||e&&e[11],oe[12]=I||e&&e[12]||null,oe[9]=G||e&&e[9]||null,oe[6]=f,oe[16]=2==t.type?e[16]:oe,oe}function pa(e,t,n,r,a){let f=e.data[t];if(null===f)f=id(e,t,n,r,a),Tn.lFrame.inI18n&&(f.flags|=64);else if(64&f.type){f.type=n,f.value=r,f.attrs=a;const y=P();f.injectorIndex=null===y?-1:y.injectorIndex}return Z(f,!0),f}function id(e,t,n,r,a){const f=b(),y=ye(),I=e.data[t]=function(e,t,n,r,a,f){return{type:n,index:r,insertBeforeIndex:null,injectorIndex:t?t.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,value:a,attrs:f,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,y?f:f&&f.parent,n,t,r,a);return null===e.firstChild&&(e.firstChild=I),null!==f&&(y?null==f.child&&null!==I.parent&&(f.child=I):null===f.next&&(f.next=I)),I}function ma(e,t,n,r){if(0===n)return-1;const a=t.length;for(let f=0;f<n;f++)t.push(r),e.blueprint.push(r),e.data.push(null);return a}function Dl(e,t,n){Zi(t);try{const r=e.viewQuery;null!==r&&fd(1,r,n);const a=e.template;null!==a&&Ph(e,t,a,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&Ih(e,t),e.staticViewQueries&&fd(2,e.viewQuery,n);const f=e.components;null!==f&&function(e,t){for(let n=0;n<t.length;n++)k_(e,t[n])}(t,f)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[2]&=-5,Xi()}}function ga(e,t,n,r){const a=t[2];if(256==(256&a))return;Zi(t);const f=Ft();try{pi(t),function(e){Tn.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&Ph(e,t,n,2,r);const y=3==(3&a);if(!f)if(y){const G=e.preOrderCheckHooks;null!==G&&Wi(t,G,null)}else{const G=e.preOrderHooks;null!==G&&Fi(t,G,0,null),Li(t,0)}if(function(e){for(let t=gl(e);null!==t;t=vl(t)){if(!t[2])continue;const n=t[9];for(let r=0;r<n.length;r++){const a=n[r],f=a[3];0==(1024&a[2])&&Ti(f,1),a[2]|=1024}}}(t),function(e){for(let t=gl(e);null!==t;t=vl(t))for(let n=10;n<t.length;n++){const r=t[n],a=r[1];Yn(r)&&ga(a,r,a.template,r[8])}}(t),null!==e.contentQueries&&Ih(e,t),!f)if(y){const G=e.contentCheckHooks;null!==G&&Wi(t,G)}else{const G=e.contentHooks;null!==G&&Fi(t,G,1),Li(t,1)}!function(e,t){const n=e.hostBindingOpCodes;if(null!==n)try{for(let r=0;r<n.length;r++){const a=n[r];if(a<0)In(~a);else{const f=a,y=n[++r],M=n[++r];Di(y,f),M(2,t[f])}}}finally{In(-1)}}(e,t);const M=e.components;null!==M&&function(e,t){for(let n=0;n<t.length;n++)R_(e,t[n])}(t,M);const I=e.viewQuery;if(null!==I&&fd(2,I,r),!f)if(y){const G=e.viewCheckHooks;null!==G&&Wi(t,G)}else{const G=e.viewHooks;null!==G&&Fi(t,G,2),Li(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),f||(t[2]&=-73),1024&t[2]&&(t[2]&=-1025,Ti(t[3],-1))}finally{Xi()}}function p_(e,t,n,r){const a=t[10],f=!Ft(),y=qn(t);try{f&&!y&&a.begin&&a.begin(),y&&Dl(e,t,r),ga(e,t,n,r)}finally{f&&!y&&a.end&&a.end()}}function Ph(e,t,n,r,a){const f=mn(),y=2&r;try{In(-1),y&&t.length>20&&bh(e,t,20,Ft()),n(r,a)}finally{In(f)}}function rd(e,t,n){!Fr()||(function(e,t,n,r){const a=n.directiveStart,f=n.directiveEnd;e.firstCreatePass||p(n,t),xr(r,t);const y=n.initialInputs;for(let M=a;M<f;M++){const I=e.data[M],G=yi(I);G&&O_(t,n,I);const oe=Zr(t,e,M,n);xr(oe,t),null!==y&&T_(0,M-a,oe,I,0,y),G&&(gn(n.index,t)[8]=oe)}}(e,t,n,L(n,t)),128==(128&n.flags)&&function(e,t,n){const r=n.directiveStart,a=n.directiveEnd,y=n.index,M=Tn.lFrame.currentDirectiveIndex;try{In(y);for(let I=r;I<a;I++){const G=e.data[I],oe=t[I];Si(I),(null!==G.hostBindings||0!==G.hostVars||null!==G.hostAttrs)&&Uh(G,oe)}}finally{In(-1),Si(M)}}(e,t,n))}function sd(e,t,n=L){const r=t.localNames;if(null!==r){let a=t.index+1;for(let f=0;f<r.length;f+=2){const y=r[f+1],M=-1===y?n(t,e):e[y];e[a++]=M}}}function kh(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=Cc(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts):t}function Cc(e,t,n,r,a,f,y,M,I,G){const oe=20+r,Fe=oe+a,rt=function(e,t){const n=[];for(let r=0;r<t;r++)n.push(r<e?null:Zn);return n}(oe,Fe),bt="function"==typeof G?G():G;return rt[1]={type:e,blueprint:rt,template:n,queries:null,viewQuery:M,declTNode:t,data:rt.slice().fill(null,oe),bindingStartIndex:oe,expandoStartIndex:Fe,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof f?f():f,pipeRegistry:"function"==typeof y?y():y,firstChild:null,schemas:I,consts:bt,incompleteFirstPass:!1}}function Nh(e,t,n,r){const a=Yh(t);null===n?a.push(r):(a.push(n),e.firstCreatePass&&Qh(e).push(r,a.length-1))}function Bh(e,t,n){for(let r in e)if(e.hasOwnProperty(r)){const a=e[r];(n=null===n?{}:n).hasOwnProperty(r)?n[r].push(t,a):n[r]=[t,a]}return n}function gs(e,t,n,r,a,f,y,M){const I=L(t,n);let oe,G=t.inputs;!M&&null!=G&&(oe=G[r])?(Zh(e,n,oe,r,a),nr(t)&&function(e,t){const n=gn(t,e);16&n[2]||(n[2]|=64)}(n,t.index)):3&t.type&&(r=function(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),a=null!=y?y(a,t.value||"",r):a,si(f)?f.setProperty(I,r,a):vo(r)||(I.setProperty?I.setProperty(r,a):I[r]=a))}function od(e,t,n,r){let a=!1;if(Fr()){const f=function(e,t,n){const r=e.directiveRegistry;let a=null;if(r)for(let f=0;f<r.length;f++){const y=r[f];vh(n,y.selectors,!1)&&(a||(a=[]),Se(p(n,t),e,y.type),yi(y)?(Hh(e,n),a.unshift(y)):a.push(y))}return a}(e,t,n),y=null===r?null:{"":-1};if(null!==f){a=!0,zh(n,e.data.length,f.length);for(let oe=0;oe<f.length;oe++){const Fe=f[oe];Fe.providersResolver&&Fe.providersResolver(Fe)}let M=!1,I=!1,G=ma(e,t,f.length,null);for(let oe=0;oe<f.length;oe++){const Fe=f[oe];n.mergedAttrs=_o(n.mergedAttrs,Fe.hostAttrs),Gh(e,n,t,G,Fe),x_(G,Fe,y),null!==Fe.contentQueries&&(n.flags|=8),(null!==Fe.hostBindings||null!==Fe.hostAttrs||0!==Fe.hostVars)&&(n.flags|=128);const rt=Fe.type.prototype;!M&&(rt.ngOnChanges||rt.ngOnInit||rt.ngDoCheck)&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n.index),M=!0),!I&&(rt.ngOnChanges||rt.ngDoCheck)&&((e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n.index),I=!0),G++}!function(e,t){const r=t.directiveEnd,a=e.data,f=t.attrs,y=[];let M=null,I=null;for(let G=t.directiveStart;G<r;G++){const oe=a[G],Fe=oe.inputs,rt=null===f||gh(t)?null:A_(Fe,f);y.push(rt),M=Bh(Fe,G,M),I=Bh(oe.outputs,G,I)}null!==M&&(M.hasOwnProperty("class")&&(t.flags|=16),M.hasOwnProperty("style")&&(t.flags|=32)),t.initialInputs=y,t.inputs=M,t.outputs=I}(e,n)}y&&function(e,t,n){if(t){const r=e.localNames=[];for(let a=0;a<t.length;a+=2){const f=n[t[a+1]];if(null==f)throw new q("301",`Export of name '${t[a+1]}' not found!`);r.push(t[a],f)}}}(n,r,y)}return n.mergedAttrs=_o(n.mergedAttrs,n.attrs),a}function jh(e,t,n,r,a,f){const y=f.hostBindings;if(y){let M=e.hostBindingOpCodes;null===M&&(M=e.hostBindingOpCodes=[]);const I=~t.index;(function(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(M)!=I&&M.push(I),M.push(r,a,y)}}function Uh(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Hh(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function x_(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;yi(t)&&(n[""]=e)}}function zh(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function Gh(e,t,n,r,a){e.data[r]=a;const f=a.factory||(a.factory=ui(a.type)),y=new Gs(f,yi(a),null);e.blueprint[r]=y,n[r]=y,jh(e,t,0,r,ma(e,n,a.hostVars,Zn),a)}function O_(e,t,n){const r=L(t,e),a=kh(n),f=e[10],y=Dc(e,Cl(e,a,null,n.onPush?64:16,r,t,f,f.createRenderer(r,n),null,null));e[t.index]=y}function Js(e,t,n,r,a,f){const y=L(e,t);!function(e,t,n,r,a,f,y){if(null==f)si(e)?e.removeAttribute(t,a,n):t.removeAttribute(a);else{const M=null==y?Le(f):y(f,r||"",a);si(e)?e.setAttribute(t,a,M,n):n?t.setAttributeNS(n,a,M):t.setAttribute(a,M)}}(t[11],y,f,e.value,n,r,a)}function T_(e,t,n,r,a,f){const y=f[t];if(null!==y){const M=r.setInput;for(let I=0;I<y.length;){const G=y[I++],oe=y[I++],Fe=y[I++];null!==M?r.setInput(n,Fe,G,oe):n[oe]=Fe}}}function A_(e,t){let n=null,r=0;for(;r<t.length;){const a=t[r];if(0!==a)if(5!==a){if("number"==typeof a)break;e.hasOwnProperty(a)&&(null===n&&(n=[]),n.push(a,e[a],t[r+1])),r+=2}else r+=2;else r+=4}return n}function Wh(e,t,n,r){return new Array(e,!0,!1,t,null,0,r,n,null,null)}function R_(e,t){const n=gn(t,e);if(Yn(n)){const r=n[1];80&n[2]?ga(r,n,r.template,n[8]):n[5]>0&&ld(n)}}function ld(e){for(let r=gl(e);null!==r;r=vl(r))for(let a=10;a<r.length;a++){const f=r[a];if(1024&f[2]){const y=f[1];ga(y,f,y.template,f[8])}else f[5]>0&&ld(f)}const n=e[1].components;if(null!==n)for(let r=0;r<n.length;r++){const a=gn(n[r],e);Yn(a)&&a[5]>0&&ld(a)}}function k_(e,t){const n=gn(t,e),r=n[1];(function(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])})(r,n),Dl(r,n,n[8])}function Dc(e,t){return e[13]?e[14][4]=t:e[13]=t,e[14]=t,t}function cd(e){for(;e;){e[2]|=64;const t=Yo(e);if(zi(e)&&!t)return e;e=t}return null}function dd(e,t,n){const r=t[10];r.begin&&r.begin();try{ga(e,t,e.template,n)}catch(a){throw qh(t,a),a}finally{r.end&&r.end()}}function $h(e){!function(e){for(let t=0;t<e.components.length;t++){const n=e.components[t],r=cc(n),a=r[1];p_(a,r,a.template,n)}}(e[8])}function fd(e,t,n){Ei(0),t(e,n)}const V_=(()=>Promise.resolve(null))();function Yh(e){return e[7]||(e[7]=[])}function Qh(e){return e.cleanup||(e.cleanup=[])}function Kh(e,t,n){return(null===e||yi(e))&&(n=function(e){for(;Array.isArray(e);){if("object"==typeof e[1])return e;e=e[0]}return null}(n[t.index])),n[11]}function qh(e,t){const n=e[9],r=n?n.get($o,null):null;r&&r.handleError(t)}function Zh(e,t,n,r,a){for(let f=0;f<n.length;){const y=n[f++],M=n[f++],I=t[y],G=e.data[y];null!==G.setInput?G.setInput(I,a,r,M):I[M]=a}}function mo(e,t,n){const r=_(t,e);!function(e,t,n){si(e)?e.setValue(t,n):t.textContent=n}(e[11],r,n)}function Mc(e,t,n){let r=n?e.styles:null,a=n?e.classes:null,f=0;if(null!==t)for(let y=0;y<t.length;y++){const M=t[y];"number"==typeof M?f=M:1==f?a=z(a,M):2==f&&(r=z(r,M+": "+t[++y]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=a:e.classesWithoutHost=a}const hd=new Ni("INJECTOR",-1);class Xh{get(t,n=Bo){if(n===Bo){const r=new Error(`NullInjectorError: No provider for ${F(t)}!`);throw r.name="NullInjectorError",r}return n}}const pd=new Ni("Set Injector scope."),Ml={},H_={};let md;function Jh(){return void 0===md&&(md=new Xh),md}function ep(e,t=null,n=null,r){const a=tp(e,t,n,r);return a._resolveInjectorDefTypes(),a}function tp(e,t=null,n=null,r){return new z_(e,n,t||Jh(),r)}class z_{constructor(t,n,r,a=null){this.parent=r,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;const f=[];n&&Is(n,M=>this.processProvider(M,t,n)),Is([t],M=>this.processInjectorType(M,[],f)),this.records.set(hd,va(void 0,this));const y=this.records.get(pd);this.scope=null!=y?y.value:null,this.source=a||("object"==typeof t?null:F(t))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(t=>t.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(t,n=Bo,r=he.Default){this.assertNotDestroyed();const a=Gl(this),f=Qe(void 0);try{if(!(r&he.SkipSelf)){let M=this.records.get(t);if(void 0===M){const I=("function"==typeof(e=t)||"object"==typeof e&&e instanceof Ni)&&ae(t);M=I&&this.injectableDefInScope(I)?va(gd(t),Ml):null,this.records.set(t,M)}if(null!=M)return this.hydrate(t,M)}return(r&he.Self?Jh():this.parent).get(t,n=r&he.Optional&&n===Bo?null:n)}catch(y){if("NullInjectorError"===y.name){if((y[sa]=y[sa]||[]).unshift(F(t)),a)throw y;return function(e,t,n,r){const a=e[sa];throw t[Qa]&&a.unshift(t[Qa]),e.message=function(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.substr(2):e;let a=F(t);if(Array.isArray(t))a=t.map(F).join(" -> ");else if("object"==typeof t){let f=[];for(let y in t)if(t.hasOwnProperty(y)){let M=t[y];f.push(y+":"+("string"==typeof M?JSON.stringify(M):F(M)))}a=`{${f.join(", ")}}`}return`${n}${r?"("+r+")":""}[${a}]: ${e.replace(Hl,"\n  ")}`}("\n"+e.message,a,n,r),e.ngTokenPath=a,e[sa]=null,e}(y,t,"R3InjectorError",this.source)}throw y}finally{Qe(f),Gl(a)}var e}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(t=>this.get(t))}toString(){const t=[];return this.records.forEach((r,a)=>t.push(F(a))),`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}processInjectorType(t,n,r){if(!(t=U(t)))return!1;let a=Ct(t);const f=null==a&&t.ngModule||void 0,y=void 0===f?t:f,M=-1!==r.indexOf(y);if(void 0!==f&&(a=Ct(f)),null==a)return!1;if(null!=a.imports&&!M){let oe;r.push(y);try{Is(a.imports,Fe=>{this.processInjectorType(Fe,n,r)&&(void 0===oe&&(oe=[]),oe.push(Fe))})}finally{}if(void 0!==oe)for(let Fe=0;Fe<oe.length;Fe++){const{ngModule:rt,providers:bt}=oe[Fe];Is(bt,Bt=>this.processProvider(Bt,rt,bt||Mn))}}this.injectorDefTypes.add(y);const I=ui(y)||(()=>new y);this.records.set(y,va(I,Ml));const G=a.providers;if(null!=G&&!M){const oe=t;Is(G,Fe=>this.processProvider(Fe,oe,G))}return void 0!==f&&void 0!==t.providers}processProvider(t,n,r){let a=_a(t=U(t))?t:U(t&&t.provide);const f=(e=t,ip(e)?va(void 0,e.useValue):va(np(e),Ml));var e;if(_a(t)||!0!==t.multi)this.records.get(a);else{let y=this.records.get(a);y||(y=va(void 0,Ml,!0),y.factory=()=>Ka(y.multi),this.records.set(a,y)),a=t,y.multi.push(t)}this.records.set(a,f)}hydrate(t,n){return n.value===Ml&&(n.value=H_,n.value=n.factory()),"object"==typeof n.value&&n.value&&null!==(e=n.value)&&"object"==typeof e&&"function"==typeof e.ngOnDestroy&&this.onDestroy.add(n.value),n.value;var e}injectableDefInScope(t){if(!t.providedIn)return!1;const n=U(t.providedIn);return"string"==typeof n?"any"===n||n===this.scope:this.injectorDefTypes.has(n)}}function gd(e){const t=ae(e),n=null!==t?t.factory:ui(e);if(null!==n)return n;if(e instanceof Ni)throw new Error(`Token ${F(e)} is missing a \u0275prov definition.`);if(e instanceof Function)return function(e){const t=e.length;if(t>0){const r=ia(t,"?");throw new Error(`Can't resolve all parameters for ${F(e)}: (${r.join(", ")}).`)}const n=function(e){const t=e&&(e[Ot]||e[St]);if(t){const n=function(e){if(e.hasOwnProperty("name"))return e.name;const t=(""+e).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(e);return console.warn(`DEPRECATED: DI is instantiating a token "${n}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${n}" class.`),t}return null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new Error("unreachable")}function np(e,t,n){let r;if(_a(e)){const a=U(e);return ui(a)||gd(a)}if(ip(e))r=()=>U(e.useValue);else if(function(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...Ka(e.deps||[]));else if(function(e){return!(!e||!e.useExisting)}(e))r=()=>sr(U(e.useExisting));else{const a=U(e&&(e.useClass||e.provide));if(!function(e){return!!e.deps}(e))return ui(a)||gd(a);r=()=>new a(...Ka(e.deps))}return r}function va(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function ip(e){return null!==e&&"object"==typeof e&&Xc in e}function _a(e){return"function"==typeof e}let ws=(()=>{class e{static create(n,r){var a;if(Array.isArray(n))return ep({name:""},r,n,"");{const f=null!=(a=n.name)?a:"";return ep({name:f},n.parent,n.providers,f)}}}return e.THROW_IF_NOT_FOUND=Bo,e.NULL=new Xh,e.\u0275prov=et({token:e,providedIn:"any",factory:()=>sr(hd)}),e.__NG_ELEMENT_ID__=-1,e})();function sy(e,t){er(cc(e)[1],v())}function yd(e){let t=function(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const r=[e];for(;t;){let a;if(yi(e))a=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new Error("Directives cannot inherit Components");a=t.\u0275dir}if(a){if(n){r.push(a);const y=e;y.inputs=bd(e.inputs),y.declaredInputs=bd(e.declaredInputs),y.outputs=bd(e.outputs);const M=a.hostBindings;M&&cy(e,M);const I=a.viewQuery,G=a.contentQueries;if(I&&ay(e,I),G&&ly(e,G),O(e.inputs,a.inputs),O(e.declaredInputs,a.declaredInputs),O(e.outputs,a.outputs),yi(a)&&a.data.animation){const oe=e.data;oe.animation=(oe.animation||[]).concat(a.data.animation)}}const f=a.features;if(f)for(let y=0;y<f.length;y++){const M=f[y];M&&M.ngInherit&&M(e),M===yd&&(n=!1)}}t=Object.getPrototypeOf(t)}!function(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){const a=e[r];a.hostVars=t+=a.hostVars,a.hostAttrs=_o(a.hostAttrs,n=_o(n,a.hostAttrs))}}(r)}function bd(e){return e===hn?{}:e===Mn?[]:e}function ay(e,t){const n=e.viewQuery;e.viewQuery=n?(r,a)=>{t(r,a),n(r,a)}:t}function ly(e,t){const n=e.contentQueries;e.contentQueries=n?(r,a,f)=>{t(r,a,f),n(r,a,f)}:t}function cy(e,t){const n=e.hostBindings;e.hostBindings=n?(r,a)=>{t(r,a),n(r,a)}:t}let Sc=null;function ya(){if(!Sc){const e=un.Symbol;if(e&&e.iterator)Sc=e.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let n=0;n<t.length;++n){const r=t[n];"entries"!==r&&"size"!==r&&Map.prototype[r]===Map.prototype.entries&&(Sc=r)}}}return Sc}function Sl(e){return!!Ed(e)&&(Array.isArray(e)||!(e instanceof Map)&&ya()in e)}function Ed(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function eo(e,t,n){return e[t]=n}function Vr(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function wd(e,t,n,r){const a=At();return Vr(a,_n(),t)&&(ti(),Js(zn(),a,e,t,n,r)),wd}function Mp(e,t,n,r,a,f,y,M){const I=At(),G=ti(),oe=e+20,Fe=G.firstCreatePass?function(e,t,n,r,a,f,y,M,I){const G=t.consts,oe=pa(t,e,4,y||null,bi(G,M));od(t,n,oe,bi(G,I)),er(t,oe);const Fe=oe.tViews=Cc(2,oe,r,a,f,t.directiveRegistry,t.pipeRegistry,null,t.schemas,G);return null!==t.queries&&(t.queries.template(t,oe),Fe.queries=t.queries.embeddedTView(oe)),oe}(oe,G,I,t,n,r,a,f,y):G.data[oe];Z(Fe,!1);const rt=I[11].createComment("");Er(G,I,rt,Fe),xr(rt,I),Dc(I,I[oe]=Wh(rt,I,rt,Fe)),or(Fe)&&rd(G,I,Fe),null!=y&&sd(I,Fe,M)}function Sp(e){return function(e,t){return e[t]}(Tn.lFrame.contextLView,20+e)}function Ol(e,t=he.Default){const n=At();return null===n?sr(e,t):Hn(v(),n,U(e),t)}function Np(){throw new Error("invalid")}function xd(e,t,n){const r=At();return Vr(r,_n(),t)&&gs(ti(),zn(),r,e,t,r[11],n,!1),xd}function Od(e,t,n,r,a){const y=a?"class":"style";Zh(e,n,t.inputs[y],y,r)}function Td(e,t,n,r){const a=At(),f=ti(),y=20+e,M=a[11],I=a[y]=yl(M,t,Tn.lFrame.currentNamespace),G=f.firstCreatePass?function(e,t,n,r,a,f,y){const M=t.consts,G=pa(t,e,2,a,bi(M,f));return od(t,n,G,bi(M,y)),null!==G.attrs&&Mc(G,G.attrs,!1),null!==G.mergedAttrs&&Mc(G,G.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,G),G}(y,f,a,0,t,n,r):f.data[y];Z(G,!0);const oe=G.mergedAttrs;null!==oe&&oo(M,I,oe);const Fe=G.classes;null!==Fe&&Wu(M,I,Fe);const rt=G.styles;null!==rt&&hh(M,I,rt),64!=(64&G.flags)&&Er(f,a,I,G),0===Tn.lFrame.elementDepthCount&&xr(I,a),Tn.lFrame.elementDepthCount++,or(G)&&(rd(f,a,G),function(e,t,n){if(Tr(t)){const a=t.directiveEnd;for(let f=t.directiveStart;f<a;f++){const y=e.data[f];y.contentQueries&&y.contentQueries(1,n[f],f)}}}(f,G,a)),null!==r&&sd(a,G)}function Ad(){let e=v();ye()?$e():(e=e.parent,Z(e,!1));const t=e;Tn.lFrame.elementDepthCount--;const n=ti();n.firstCreatePass&&(er(n,e),Tr(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function(e){return 0!=(16&e.flags)}(t)&&Od(n,t,At(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function(e){return 0!=(32&e.flags)}(t)&&Od(n,t,At(),t.stylesWithoutHost,!1)}function Bp(e,t,n,r){Td(e,t,n,r),Ad()}function Up(){return At()}function Id(e){return!!e&&"function"==typeof e.then}function Hp(e){return!!e&&"function"==typeof e.subscribe}const zp=Hp;function Pd(e,t,n,r){const a=At(),f=ti(),y=v();return Gp(f,a,a[11],y,e,t,!!n,r),Pd}function Rd(e,t){const n=v(),r=At(),a=ti();return Gp(a,r,Kh(Mr(a.data),n,r),n,e,t,!1),Rd}function Gp(e,t,n,r,a,f,y,M){const I=or(r),oe=e.firstCreatePass&&Qh(e),Fe=t[8],rt=Yh(t);let bt=!0;if(3&r.type||M){const ln=L(r,t),yn=M?M(ln):ln,Gt=rt.length,Fn=M?li=>M(N(li[r.index])):r.index;if(si(n)){let li=null;if(!M&&I&&(li=function(e,t,n,r){const a=e.cleanup;if(null!=a)for(let f=0;f<a.length-1;f+=2){const y=a[f];if(y===n&&a[f+1]===r){const M=t[7],I=a[f+2];return M.length>I?M[I]:null}"string"==typeof y&&(f+=2)}return null}(e,t,a,r.index)),null!==li)(li.__ngLastListenerFn__||li).__ngNextListenerFn__=f,li.__ngLastListenerFn__=f,bt=!1;else{f=kd(r,t,Fe,f,!1);const Mi=n.listen(yn,a,f);rt.push(f,Mi),oe&&oe.push(a,Fn,Gt,Gt+1)}}else f=kd(r,t,Fe,f,!0),yn.addEventListener(a,f,y),rt.push(f),oe&&oe.push(a,Fn,Gt,y)}else f=kd(r,t,Fe,f,!1);const Bt=r.outputs;let Xt;if(bt&&null!==Bt&&(Xt=Bt[a])){const ln=Xt.length;if(ln)for(let yn=0;yn<ln;yn+=2){const _s=t[Xt[yn]][Xt[yn+1]].subscribe(f),Zo=rt.length;rt.push(f,_s),oe&&oe.push(a,r.index,Zo,-(Zo+1))}}}function Wp(e,t,n,r){try{return!1!==n(r)}catch(a){return qh(e,a),!1}}function kd(e,t,n,r,a){return function f(y){if(y===Function)return r;const M=2&e.flags?gn(e.index,t):t;0==(32&t[2])&&cd(M);let I=Wp(t,0,r,y),G=f.__ngNextListenerFn__;for(;G;)I=Wp(t,0,G,y)&&I,G=G.__ngNextListenerFn__;return a&&!1===I&&(y.preventDefault(),y.returnValue=!1),I}}function $p(e=1){return function(e){return(Tn.lFrame.contextLView=function(e,t){for(;e>0;)t=t[15],e--;return t}(e,Tn.lFrame.contextLView))[8]}(e)}function Uy(e,t){let n=null;const r=function(e){const t=e.attrs;if(null!=t){const n=t.indexOf(5);if(0==(1&n))return t[n+1]}return null}(e);for(let a=0;a<t.length;a++){const f=t[a];if("*"!==f){if(null===r?vh(e,f,!0):Zv(r,f))return a}else n=a}return n}function Yp(e){const t=At()[16][6];if(!t.projection){const r=t.projection=ia(e?e.length:1,null),a=r.slice();let f=t.child;for(;null!==f;){const y=e?Uy(f,e):0;null!==y&&(a[y]?a[y].projectionNext=f:r[y]=f,a[y]=f),f=f.next}}}function Qp(e,t=0,n){const r=At(),a=ti(),f=pa(a,20+e,16,null,n||null);null===f.projection&&(f.projection=t),$e(),64!=(64&f.flags)&&function(e,t,n){fh(t[11],0,t,n,nt(e,n,t),ki(n.parent||t[6],n,t))}(a,r,f)}function rm(e,t,n,r,a){const f=e[n+1],y=null===t;let M=r?Ls(f):po(f),I=!1;for(;0!==M&&(!1===I||y);){const oe=e[M+1];Gy(e[M],t)&&(I=!0,e[M+1]=r?Qu(oe):$u(oe)),M=r?Ls(oe):po(oe)}I&&(e[n+1]=r?$u(f):Qu(f))}function Gy(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&No(e,t)>=0}const dr={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function sm(e){return e.substring(dr.key,dr.keyEnd)}function om(e,t){const n=dr.textEnd;return n===t?-1:(t=dr.keyEnd=function(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,dr.key=t,n),Aa(e,t,n))}function Aa(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function Ld(e,t,n){return Bs(e,t,n,!1),Ld}function Nd(e,t){return Bs(e,t,null,!0),Nd}function dm(e){!function(e,t,n,r){const a=ti(),f=xn(2);a.firstUpdatePass&&hm(a,null,f,r);const y=At();if(n!==Zn&&Vr(y,f,n)){const M=a.data[mn()];if(vm(M,r)&&!fm(a,f)){let I=r?M.classesWithoutHost:M.stylesWithoutHost;null!==I&&(n=z(I,n||"")),Od(a,M,y,n,r)}else!function(e,t,n,r,a,f,y,M){a===Zn&&(a=Mn);let I=0,G=0,oe=0<a.length?a[0]:null,Fe=0<f.length?f[0]:null;for(;null!==oe||null!==Fe;){const rt=I<a.length?a[I+1]:void 0,bt=G<f.length?f[G+1]:void 0;let Xt,Bt=null;oe===Fe?(I+=2,G+=2,rt!==bt&&(Bt=Fe,Xt=bt)):null===Fe||null!==oe&&oe<Fe?(I+=2,Bt=oe):(G+=2,Bt=Fe,Xt=bt),null!==Bt&&mm(e,t,n,r,Bt,Xt,y,M),oe=I<a.length?a[I]:null,Fe=G<f.length?f[G]:null}}(a,M,y,y[11],y[f+1],y[f+1]=function(e,t,n){if(null==n||""===n)return Mn;const r=[],a=Zs(n);if(Array.isArray(a))for(let f=0;f<a.length;f++)e(r,a[f],!0);else if("object"==typeof a)for(const f in a)a.hasOwnProperty(f)&&e(r,f,a[f]);else"string"==typeof a&&t(r,a);return r}(e,t,n),r,f)}}(us,no,e,!0)}function no(e,t){for(let n=function(e){return function(e){dr.key=0,dr.keyEnd=0,dr.value=0,dr.valueEnd=0,dr.textEnd=e.length}(e),om(e,Aa(e,0,dr.textEnd))}(t);n>=0;n=om(t,n))us(e,sm(t),!0)}function Bs(e,t,n,r){const a=At(),f=ti(),y=xn(2);f.firstUpdatePass&&hm(f,e,y,r),t!==Zn&&Vr(a,y,t)&&mm(f,f.data[mn()],a,a[11],e,a[y+1]=function(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=F(Zs(e)))),e}(t,n),r,y)}function fm(e,t){return t>=e.expandoStartIndex}function hm(e,t,n,r){const a=e.data;if(null===a[n+1]){const f=a[mn()],y=fm(e,n);vm(f,r)&&null===t&&!y&&(t=!1),t=function(e,t,n,r){const a=Mr(e);let f=r?t.residualClasses:t.residualStyles;if(null===a)0===(r?t.classBindings:t.styleBindings)&&(n=Tl(n=Bd(null,e,t,n,r),t.attrs,r),f=null);else{const y=t.directiveStylingLast;if(-1===y||e[y]!==a)if(n=Bd(a,e,t,n,r),null===f){let I=function(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==po(r))return e[Ls(r)]}(e,t,r);void 0!==I&&Array.isArray(I)&&(I=Bd(null,e,t,I[1],r),I=Tl(I,t.attrs,r),function(e,t,n,r){e[Ls(n?t.classBindings:t.styleBindings)]=r}(e,t,r,I))}else f=function(e,t,n){let r;const a=t.directiveEnd;for(let f=1+t.directiveStylingLast;f<a;f++)r=Tl(r,e[f].hostAttrs,n);return Tl(r,t.attrs,n)}(e,t,r)}return void 0!==f&&(r?t.residualClasses=f:t.residualStyles=f),n}(a,f,t,r),function(e,t,n,r,a,f){let y=f?t.classBindings:t.styleBindings,M=Ls(y),I=po(y);e[r]=n;let oe,G=!1;if(Array.isArray(n)){const Fe=n;oe=Fe[1],(null===oe||No(Fe,oe)>0)&&(G=!0)}else oe=n;if(a)if(0!==I){const rt=Ls(e[M+1]);e[r+1]=bc(rt,M),0!==rt&&(e[rt+1]=Yu(e[rt+1],r)),e[M+1]=function(e,t){return 131071&e|t<<17}(e[M+1],r)}else e[r+1]=bc(M,0),0!==M&&(e[M+1]=Yu(e[M+1],r)),M=r;else e[r+1]=bc(I,0),0===M?M=r:e[I+1]=Yu(e[I+1],r),I=r;G&&(e[r+1]=$u(e[r+1])),rm(e,oe,r,!0),rm(e,oe,r,!1),function(e,t,n,r,a){const f=a?e.residualClasses:e.residualStyles;null!=f&&"string"==typeof t&&No(f,t)>=0&&(n[r+1]=Qu(n[r+1]))}(t,oe,e,r,f),y=bc(M,I),f?t.classBindings=y:t.styleBindings=y}(a,f,t,n,y,r)}}function Bd(e,t,n,r,a){let f=null;const y=n.directiveEnd;let M=n.directiveStylingLast;for(-1===M?M=n.directiveStart:M++;M<y&&(f=t[M],r=Tl(r,f.hostAttrs,a),f!==e);)M++;return null!==e&&(n.directiveStylingLast=M),r}function Tl(e,t,n){const r=n?1:2;let a=-1;if(null!==t)for(let f=0;f<t.length;f++){const y=t[f];"number"==typeof y?a=y:a===r&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),us(e,y,!!n||t[++f]))}return void 0===e?null:e}function mm(e,t,n,r,a,f,y,M){if(!(3&t.type))return;const I=e.data,G=I[M+1];Tc(function(e){return 1==(1&e)}(G)?gm(I,t,n,a,po(G),y):void 0)||(Tc(f)||function(e){return 2==(2&e)}(G)&&(f=gm(I,null,n,a,M,y)),function(e,t,n,r,a){const f=si(e);if(t)a?f?e.addClass(n,r):n.classList.add(r):f?e.removeClass(n,r):n.classList.remove(r);else{let y=-1===r.indexOf("-")?void 0:bs.DashCase;if(null==a)f?e.removeStyle(n,r,y):n.style.removeProperty(r);else{const M="string"==typeof a&&a.endsWith("!important");M&&(a=a.slice(0,-10),y|=bs.Important),f?e.setStyle(n,r,a,y):n.style.setProperty(r,a,M?"important":"")}}}(r,y,_(mn(),n),a,f))}function gm(e,t,n,r,a,f){const y=null===t;let M;for(;a>0;){const I=e[a],G=Array.isArray(I),oe=G?I[1]:I,Fe=null===oe;let rt=n[a+1];rt===Zn&&(rt=Fe?Mn:void 0);let bt=Fe?wo(rt,r):oe===r?rt:void 0;if(G&&!Tc(bt)&&(bt=wo(I,r)),Tc(bt)&&(M=bt,y))return M;const Bt=e[a+1];a=y?Ls(Bt):po(Bt)}if(null!==t){let I=f?t.residualClasses:t.residualStyles;null!=I&&(M=wo(I,r))}return M}function Tc(e){return void 0!==e}function vm(e,t){return 0!=(e.flags&(t?16:32))}function _m(e,t=""){const n=At(),r=ti(),a=e+20,f=r.firstCreatePass?pa(r,a,1,t,null):r.data[a],y=n[a]=_l(n[11],t);Er(r,n,y,f),Z(f,!1)}function Vd(e){return Ac("",e,""),Vd}function Ac(e,t,n){const r=At(),a=function(e,t,n,r){return Vr(e,_n(),n)?t+Le(n)+r:Zn}(r,e,t,n);return a!==Zn&&mo(r,mn(),a),Ac}function jd(e,t,n){const r=At();return Vr(r,_n(),t)&&gs(ti(),zn(),r,e,t,r[11],n,!0),jd}function Ud(e,t,n){const r=At();if(Vr(r,_n(),t)){const f=ti(),y=zn();gs(f,y,r,e,t,Kh(Mr(f.data),y,r),n,!0)}return Ud}const Ko=void 0;var Db=["en",[["a","p"],["AM","PM"],Ko],[["AM","PM"],Ko,Ko],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Ko,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],Ko,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",Ko,"{1} 'at' {0}",Ko],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(e){const n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===r?1:5}];let Ia={};function Mb(e,t,n){"string"!=typeof t&&(n=t,t=e[Bn.LocaleId]),t=t.toLowerCase().replace(/_/g,"-"),Ia[t]=e,n&&(Ia[t][Bn.ExtraData]=n)}function Hd(e){const t=function(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=Nm(t);if(n)return n;const r=t.split("-")[0];if(n=Nm(r),n)return n;if("en"===r)return Db;throw new Error(`Missing locale data for the locale "${e}".`)}function Lm(e){return Hd(e)[Bn.PluralCase]}function Nm(e){return e in Ia||(Ia[e]=un.ng&&un.ng.common&&un.ng.common.locales&&un.ng.common.locales[e]),Ia[e]}var Bn=(()=>((Bn=Bn||{})[Bn.LocaleId=0]="LocaleId",Bn[Bn.DayPeriodsFormat=1]="DayPeriodsFormat",Bn[Bn.DayPeriodsStandalone=2]="DayPeriodsStandalone",Bn[Bn.DaysFormat=3]="DaysFormat",Bn[Bn.DaysStandalone=4]="DaysStandalone",Bn[Bn.MonthsFormat=5]="MonthsFormat",Bn[Bn.MonthsStandalone=6]="MonthsStandalone",Bn[Bn.Eras=7]="Eras",Bn[Bn.FirstDayOfWeek=8]="FirstDayOfWeek",Bn[Bn.WeekendRange=9]="WeekendRange",Bn[Bn.DateFormat=10]="DateFormat",Bn[Bn.TimeFormat=11]="TimeFormat",Bn[Bn.DateTimeFormat=12]="DateTimeFormat",Bn[Bn.NumberSymbols=13]="NumberSymbols",Bn[Bn.NumberFormats=14]="NumberFormats",Bn[Bn.CurrencyCode=15]="CurrencyCode",Bn[Bn.CurrencySymbol=16]="CurrencySymbol",Bn[Bn.CurrencyName=17]="CurrencyName",Bn[Bn.Currencies=18]="Currencies",Bn[Bn.Directionality=19]="Directionality",Bn[Bn.PluralCase=20]="PluralCase",Bn[Bn.ExtraData=21]="ExtraData",Bn))();const Ic="en-US",Pc={marker:"element"},Rc={marker:"ICU"};var Qi=(()=>((Qi=Qi||{})[Qi.SHIFT=2]="SHIFT",Qi[Qi.APPEND_EAGERLY=1]="APPEND_EAGERLY",Qi[Qi.COMMENT=2]="COMMENT",Qi))();let Bm=Ic;function Vm(e,t,n){const r=t.insertBeforeIndex,a=Array.isArray(r)?r[0]:r;return null===a?_i(e,0,n):N(n[a])}function jm(e,t,n,r,a){const f=t.insertBeforeIndex;if(Array.isArray(f)){let y=r,M=null;if(3&t.type||(M=y,y=a),null!==y&&0==(2&t.flags))for(let I=1;I<f.length;I++)at(e,y,n[f[I]],M,!1)}}function Um(e,t){if(e.push(t),e.length>1)for(let n=e.length-2;n>=0;n--){const r=e[n];Hm(r)||Pb(r,t)&&null===Rb(r)&&kb(r,t.index)}}function Hm(e){return!(64&e.type)}function Pb(e,t){return Hm(t)||e.index>t.index}function Rb(e){const t=e.insertBeforeIndex;return Array.isArray(t)?t[0]:t}function kb(e,t){const n=e.insertBeforeIndex;Array.isArray(n)?n[0]=t:(Xs(Vm,jm),e.insertBeforeIndex=t)}function Nb(e,t,n){const r=id(e,n,64,null,null);return Um(t,r),r}function Gb(){const e=[];let n,r,t=-1;function f(M,I){t=0;const G=function(e,t){const n=t[e.currentCaseLViewIndex];return null===n?n:n<0?~n:n}(M,I);r=null!==G?M.remove[G]:Mn}function y(){if(t<r.length){const M=r[t++];return M>0?n[M]:(e.push(t,r),f(n[1].data[~M],n),y())}return 0===e.length?null:(r=e.pop(),t=e.pop(),y())}return function(M,I){for(n=I;e.length;)e.pop();return f(M.value,I),y}}const Fc=/\ufffd(\d+):?\d*\ufffd/gi,$b=/\ufffd(\d+)\ufffd/,Zm=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/,Yb=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,Qb=/\ufffd(\/?[#*]\d+):?\d*\ufffd/gi,Kb=/\uE500/g;function Xm(e,t,n,r,a,f,y){const M=ma(e,r,1,null);let I=M<<Qi.SHIFT,G=P();t===G&&(G=null),null===G&&(I|=Qi.APPEND_EAGERLY),y&&(I|=Qi.COMMENT,function(e){void 0===pl&&(pl=e())}(Gb)),a.push(I,null===f?"":f);const oe=id(e,M,y?32:1,null===f?"":f,null);Um(n,oe);const Fe=oe.index;return Z(oe,!1),null!==G&&t!==G&&function(e,t){let n=e.insertBeforeIndex;null===n?(Xs(Vm,jm),n=e.insertBeforeIndex=[null,t]):(function(e,t,n){e!=t&&pt(n,e,t,"==")}(Array.isArray(n),!0,"Expecting array here"),n.push(t))}(G,Fe),oe}function Xb(e,t,n,r,a,f,y){const M=y.match(Fc),I=Xm(e,t,n,f,r,M?null:y,!1);M&&Pa(a,y,I.index,null,0,null)}function Pa(e,t,n,r,a,f){const y=e.length,M=y+1;e.push(null,null);const I=y+2,G=t.split(Fc);let oe=0;for(let Fe=0;Fe<G.length;Fe++){const rt=G[Fe];if(1&Fe){const bt=a+parseInt(rt,10);e.push(-1-bt),oe|=Jm(bt)}else""!==rt&&e.push(rt)}return e.push(n<<2|(r?1:0)),r&&e.push(r,f),e[y]=oe,e[M]=e.length-I,oe}function Jm(e){return 1<<Math.min(e,31)}function eg(e){let t,f,n="",r=0,a=!1;for(;null!==(t=Yb.exec(e));)a?t[0]===`\ufffd/*${f}\ufffd`&&(r=t.index,a=!1):(n+=e.substring(r,t.index+t[0].length),f=t[1],a=!0);return n+=e.substr(r),n}function tg(e,t,n,r,a,f){let y=0;const M={type:a.type,currentCaseLViewIndex:ma(e,t,1,null),anchorIdx:f,cases:[],create:[],remove:[],update:[]};(function(e,t,n){e.push(Jm(t.mainBinding),2,-1-t.mainBinding,n<<2|2)})(n,a,f),function(e,t,n){const r=e.data[t];null===r?e.data[t]=n:r.value=n}(e,f,M);const I=a.values;for(let G=0;G<I.length;G++){const oe=I[G],Fe=[];for(let rt=0;rt<oe.length;rt++){const bt=oe[rt];if("string"!=typeof bt){const Bt=Fe.push(bt)-1;oe[rt]=`\x3c!--\ufffd${Bt}\ufffd--\x3e`}}y=s0(e,M,t,n,r,a.cases[G],oe.join(""),Fe)|y}y&&function(e,t,n){e.push(t,1,n<<2|3)}(n,y,f)}function r0(e){const t=[],n=[];let r=1,a=0;const f=zd(e=e.replace(Zm,function(y,M,I){return r="select"===I?0:1,a=parseInt(M.substr(1),10),""}));for(let y=0;y<f.length;){let M=f[y++].trim();1===r&&(M=M.replace(/\s*(?:=)?(\w+)\s*/,"$1")),M.length&&t.push(M);const I=zd(f[y++]);t.length>n.length&&n.push(I)}return{type:r,mainBinding:a,cases:t,values:n}}function zd(e){if(!e)return[];let t=0;const n=[],r=[],a=/[{}]/g;let f;for(a.lastIndex=0;f=a.exec(e);){const M=f.index;if("}"==f[0]){if(n.pop(),0==n.length){const I=e.substring(t,M);Zm.test(I)?r.push(r0(I)):r.push(I),t=M+1}}else{if(0==n.length){const I=e.substring(t,M);r.push(I),t=M+1}n.push("{")}}const y=e.substring(t);return r.push(y),r}function s0(e,t,n,r,a,f,y,M){const I=[],G=[],oe=[];t.cases.push(f),t.create.push(I),t.remove.push(G),t.update.push(oe);const rt=uu($r()).getInertBodyElement(y),bt=xo(rt)||rt;return bt?ng(e,t,n,r,I,G,oe,bt,a,M,0):0}function ng(e,t,n,r,a,f,y,M,I,G,oe){let Fe=0,rt=M.firstChild;for(;rt;){const bt=ma(e,n,1,null);switch(rt.nodeType){case Node.ELEMENT_NODE:const Bt=rt,Xt=Bt.tagName.toLowerCase();if(nc.hasOwnProperty(Xt)){Gd(a,Pc,Xt,I,bt),e.data[bt]=Xt;const Fn=Bt.attributes;for(let li=0;li<Fn.length;li++){const Mi=Fn.item(li),_s=Mi.name.toLowerCase();Mi.value.match(Fc)?_u.hasOwnProperty(_s)&&Pa(y,Mi.value,bt,Mi.name,0,ic[_s]?la:rc[_s]?hu:null):c0(a,bt,Mi)}Fe=ng(e,t,n,r,a,f,y,rt,bt,G,oe+1)|Fe,ig(f,bt,oe)}break;case Node.TEXT_NODE:const ln=rt.textContent||"",yn=ln.match(Fc);Gd(a,null,yn?"":ln,I,bt),ig(f,bt,oe),yn&&(Fe=Pa(y,ln,bt,null,0,null)|Fe);break;case Node.COMMENT_NODE:const Gt=$b.exec(rt.textContent||"");if(Gt){const li=G[parseInt(Gt[1],10)];Gd(a,Rc,"",I,bt),tg(e,n,r,I,li,bt),o0(f,bt,oe)}}rt=rt.nextSibling}return Fe}function ig(e,t,n){0===n&&e.push(t)}function o0(e,t,n){0===n&&(e.push(~t),e.push(t))}function Gd(e,t,n,r,a){null!==t&&e.push(t),e.push(n,a,function(e,t,n){return 0|t<<17|n<<1}(0,r,a))}function c0(e,t,n){e.push(t<<1|1,n.name,n.value)}function sg(e,t,n=-1){const r=ti(),a=At(),f=20+e,y=bi(r.consts,t),M=P();r.firstCreatePass&&function(e,t,n,r,a,f){const y=P(),M=[],I=[],G=[[]];a=function(e,t){if(function(e){return-1===e}(t))return eg(e);{const n=e.indexOf(`:${t}\ufffd`)+2+t.toString().length,r=e.search(new RegExp(`\ufffd\\/\\*\\d+:${t}\ufffd`));return eg(e.substring(n,r))}}(a,f);const oe=function(e){return e.replace(Kb," ")}(a).split(Qb);for(let Fe=0;Fe<oe.length;Fe++){let rt=oe[Fe];if(0==(1&Fe)){const bt=zd(rt);for(let Bt=0;Bt<bt.length;Bt++){let Xt=bt[Bt];if(0==(1&Bt)){const ln=Xt;""!==ln&&Xb(e,y,G[0],M,I,n,ln)}else{const ln=Xt;if("object"!=typeof ln)throw new Error(`Unable to parse ICU expression in "${a}" message.`);tg(e,n,I,t,ln,Xm(e,y,G[0],n,M,"",!0).index)}}}else{const bt=47===rt.charCodeAt(0),Xt=(rt.charCodeAt(bt?1:0),20+Number.parseInt(rt.substring(bt?2:1)));if(bt)G.shift(),Z(P(),!1);else{const ln=Nb(e,G[0],Xt);G.unshift([]),Z(ln,!0)}}}e.data[r]={create:M,update:I}}(r,null===M?0:M.index,a,f,y,n);const I=r.data[f],oe=Mt(r,M===a[6]?null:M,a);(function(e,t,n,r){const a=e[11];for(let f=0;f<t.length;f++){const y=t[f++],M=t[f],I=(y&Qi.COMMENT)===Qi.COMMENT,G=(y&Qi.APPEND_EAGERLY)===Qi.APPEND_EAGERLY,oe=y>>>Qi.SHIFT;let Fe=e[oe];null===Fe&&(Fe=e[oe]=I?a.createComment(M):_l(a,M)),G&&null!==n&&at(a,n,Fe,r,!1)}})(a,I.create,oe,M&&8&M.type?a[M.index]:null),mi(!0)}function ag(e,t,n){sg(e,t,n),mi(!1)}function Wd(e,t,n,r,a){if(e=U(e),Array.isArray(e))for(let f=0;f<e.length;f++)Wd(e[f],t,n,r,a);else{const f=ti(),y=At();let M=_a(e)?e:U(e.provide),I=np(e);const G=v(),oe=1048575&G.providerIndexes,Fe=G.directiveStart,rt=G.providerIndexes>>20;if(_a(e)||!e.multi){const bt=new Gs(I,a,Ol),Bt=Yd(M,t,a?oe:oe+rt,Fe);-1===Bt?(Se(p(G,y),f,M),$d(f,e,t.length),t.push(M),G.directiveStart++,G.directiveEnd++,a&&(G.providerIndexes+=1048576),n.push(bt),y.push(bt)):(n[Bt]=bt,y[Bt]=bt)}else{const bt=Yd(M,t,oe+rt,Fe),Bt=Yd(M,t,oe,oe+rt),Xt=bt>=0&&n[bt],ln=Bt>=0&&n[Bt];if(a&&!ln||!a&&!Xt){Se(p(G,y),f,M);const yn=function(e,t,n,r,a){const f=new Gs(e,n,Ol);return f.multi=[],f.index=t,f.componentProviders=0,cg(f,a,r&&!n),f}(a?C0:w0,n.length,a,r,I);!a&&ln&&(n[Bt].providerFactory=yn),$d(f,e,t.length,0),t.push(M),G.directiveStart++,G.directiveEnd++,a&&(G.providerIndexes+=1048576),n.push(yn),y.push(yn)}else $d(f,e,bt>-1?bt:Bt,cg(n[a?Bt:bt],I,!a&&r));!a&&r&&ln&&n[Bt].componentProviders++}}}function $d(e,t,n,r){const a=_a(t),f=function(e){return!!e.useClass}(t);if(a||f){const I=(f?U(t.useClass):t).prototype.ngOnDestroy;if(I){const G=e.destroyHooks||(e.destroyHooks=[]);if(!a&&t.multi){const oe=G.indexOf(n);-1===oe?G.push(n,[r,I]):G[oe+1].push(r,I)}else G.push(n,I)}}}function cg(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Yd(e,t,n,r){for(let a=n;a<r;a++)if(t[a]===e)return a;return-1}function w0(e,t,n,r){return Qd(this.multi,[])}function C0(e,t,n,r){const a=this.multi;let f;if(this.providerFactory){const y=this.providerFactory.componentProviders,M=Zr(n,n[1],this.providerFactory.index,r);f=M.slice(0,y),Qd(a,f);for(let I=y;I<M.length;I++)f.push(M[I])}else f=[],Qd(a,f);return f}function Qd(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function ug(e,t=[]){return n=>{n.providersResolver=(r,a)=>function(e,t,n){const r=ti();if(r.firstCreatePass){const a=yi(e);Wd(n,r.data,r.blueprint,a,!0),Wd(t,r.data,r.blueprint,a,!1)}}(r,a?a(e):e,t)}}class dg{}class x0{resolveComponentFactory(t){throw function(e){const t=Error(`No component factory found for ${F(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(t)}}let kl=(()=>{class e{}return e.NULL=new x0,e})();function O0(){return Ra(v(),At())}function Ra(e,t){return new Fl(L(e,t))}let Fl=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=O0,e})();function T0(e){return e instanceof Fl?e.nativeElement:e}class hg{}let A0=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>function(){const e=At(),n=gn(v().index,e);return function(e){return e[11]}(ii(n)?n:e)}(),e})(),R0=(()=>{class e{}return e.\u0275prov=et({token:e,providedIn:"root",factory:()=>null}),e})();class pg{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const k0=new pg("13.1.0"),Kd={};function Lc(e,t,n,r,a=!1){for(;null!==n;){const f=t[n.index];if(null!==f&&r.push(N(f)),hi(f))for(let M=10;M<f.length;M++){const I=f[M],G=I[1].firstChild;null!==G&&Lc(I[1],I,G,r)}const y=n.type;if(8&y)Lc(e,t,n.child,r);else if(32&y){const M=ml(n,t);let I;for(;I=M();)r.push(I)}else if(16&y){const M=bl(t,n);if(Array.isArray(M))r.push(...M);else{const I=Yo(t[16]);Lc(I[1],I,M,r,!0)}}n=a?n.projectionNext:n.next}return r}class Ll{constructor(t,n){this._lView=t,this._cdRefInjectingView=n,this._appRef=null,this._attachedToViewContainer=!1}get rootNodes(){const t=this._lView,n=t[1];return Lc(n,t,n.firstChild,[])}get context(){return this._lView[8]}set context(t){this._lView[8]=t}get destroyed(){return 256==(256&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[3];if(hi(t)){const n=t[8],r=n?n.indexOf(this):-1;r>-1&&(E(t,r),Ga(n,r))}this._attachedToViewContainer=!1}T(this._lView[1],this._lView)}onDestroy(t){Nh(this._lView[1],this._lView,null,t)}markForCheck(){cd(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){dd(this._lView[1],this._lView,this.context)}checkNoChanges(){!function(e,t,n){qt(!0);try{dd(e,t,n)}finally{qt(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._attachedToViewContainer=!0}detachFromAppRef(){var t;this._appRef=null,wl(this._lView[1],t=this._lView,t[11],2,null,null)}attachToAppRef(t){if(this._attachedToViewContainer)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t}}class F0 extends Ll{constructor(t){super(t),this._view=t}detectChanges(){$h(this._view)}checkNoChanges(){!function(e){qt(!0);try{$h(e)}finally{qt(!1)}}(this._view)}get context(){return null}}class mg extends kl{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=Et(t);return new qd(n,this.ngModule)}}function gg(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}const N0=new Ni("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>hc});class qd extends dg{constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=t.selectors.map(Xv).join(","),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}get inputs(){return gg(this.componentDef.inputs)}get outputs(){return gg(this.componentDef.outputs)}create(t,n,r,a){const f=(a=a||this.ngModule)?function(e,t){return{get:(n,r,a)=>{const f=e.get(n,Kd,a);return f!==Kd||r===Kd?f:t.get(n,r,a)}}}(t,a.injector):t,y=f.get(hg,Rr),M=f.get(R0,null),I=y.createRenderer(null,this.componentDef),G=this.componentDef.selectors[0][0]||"div",oe=r?function(e,t,n){if(si(e))return e.selectRootElement(t,n===kt.ShadowDom);let r="string"==typeof t?e.querySelector(t):t;return r.textContent="",r}(I,r,this.componentDef.encapsulation):yl(y.createRenderer(null,this.componentDef),G,function(e){const t=e.toLowerCase();return"svg"===t?ys:"math"===t?"http://www.w3.org/1998/MathML/":null}(G)),Fe=this.componentDef.onPush?576:528,rt=function(e,t){return{components:[],scheduler:e||hc,clean:V_,playerHandler:t||null,flags:0}}(),bt=Cc(0,null,null,1,0,null,null,null,null,null),Bt=Cl(null,bt,rt,Fe,null,null,y,I,M,f);let Xt,ln;Zi(Bt);try{const yn=function(e,t,n,r,a,f){const y=n[1];n[20]=e;const I=pa(y,20,2,"#host",null),G=I.mergedAttrs=t.hostAttrs;null!==G&&(Mc(I,G,!0),null!==e&&(oo(a,e,G),null!==I.classes&&Wu(a,e,I.classes),null!==I.styles&&hh(a,e,I.styles)));const oe=r.createRenderer(e,t),Fe=Cl(n,kh(t),null,t.onPush?64:16,n[20],I,r,oe,f||null,null);return y.firstCreatePass&&(Se(p(I,n),y,t.type),Hh(y,I),zh(I,n.length,1)),Dc(n,Fe),n[20]=Fe}(oe,this.componentDef,Bt,y,I);if(oe)if(r)oo(I,oe,["ng-version",k0.full]);else{const{attrs:Gt,classes:Fn}=function(e){const t=[],n=[];let r=1,a=2;for(;r<e.length;){let f=e[r];if("string"==typeof f)2===a?""!==f&&t.push(f,e[++r]):8===a&&n.push(f);else{if(!Fs(a))break;a=f}r++}return{attrs:t,classes:n}}(this.componentDef.selectors[0]);Gt&&oo(I,oe,Gt),Fn&&Fn.length>0&&Wu(I,oe,Fn.join(" "))}if(ln=wt(bt,20),void 0!==n){const Gt=ln.projection=[];for(let Fn=0;Fn<this.ngContentSelectors.length;Fn++){const li=n[Fn];Gt.push(null!=li?Array.from(li):null)}}Xt=function(e,t,n,r,a){const f=n[1],y=function(e,t,n){const r=v();e.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),Gh(e,r,t,ma(e,t,1,null),n));const a=Zr(t,e,r.directiveStart,r);xr(a,t);const f=L(r,t);return f&&xr(f,t),a}(f,n,t);if(r.components.push(y),e[8]=y,a&&a.forEach(I=>I(y,t)),t.contentQueries){const I=v();t.contentQueries(1,y,I.directiveStart)}const M=v();return!f.firstCreatePass||null===t.hostBindings&&null===t.hostAttrs||(In(M.index),jh(n[1],M,0,M.directiveStart,M.directiveEnd,t),Uh(t,y)),y}(yn,this.componentDef,Bt,rt,[sy]),Dl(bt,Bt,null)}finally{Xi()}return new j0(this.componentType,Xt,Ra(ln,Bt),Bt,ln)}}class j0 extends class{}{constructor(t,n,r,a,f){super(),this.location=r,this._rootLView=a,this._tNode=f,this.instance=n,this.hostView=this.changeDetectorRef=new F0(a),this.componentType=t}get injector(){return new ai(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}class ka{}class vg{}const Fa=new Map;class bg extends ka{constructor(t,n){super(),this._parent=n,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new mg(this);const r=An(t);this._bootstrapComponents=ds(r.bootstrap),this._r3Injector=tp(t,n,[{provide:ka,useValue:this},{provide:kl,useValue:this.componentFactoryResolver}],F(t)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(t)}get(t,n=ws.THROW_IF_NOT_FOUND,r=he.Default){return t===ws||t===ka||t===hd?this:this._r3Injector.get(t,n,r)}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class Zd extends vg{constructor(t){super(),this.moduleType=t,null!==An(t)&&function(e){const t=new Set;!function n(r){const a=An(r,!0),f=a.id;null!==f&&(function(e,t,n){if(t&&t!==n)throw new Error(`Duplicate module registered for ${e} - ${F(t)} vs ${F(t.name)}`)}(f,Fa.get(f),r),Fa.set(f,r));const y=ds(a.imports);for(const M of y)t.has(M)||(t.add(M),n(M))}(e)}(t)}create(t){return new bg(this.moduleType,t)}}function Eg(e,t,n){const r=rn()+e,a=At();return a[r]===Zn?eo(a,r,n?t.call(n):t()):function(e,t){return e[t]}(a,r)}function wg(e,t,n,r){return function(e,t,n,r,a,f){const y=t+n;return Vr(e,y,a)?eo(e,y+1,f?r.call(f,a):r(a)):Nl(e,y+1)}(At(),rn(),e,t,n,r)}function Cg(e,t,n,r,a){return function(e,t,n,r,a,f,y){const M=t+n;return function(e,t,n,r){const a=Vr(e,t,n);return Vr(e,t+1,r)||a}(e,M,a,f)?eo(e,M+2,y?r.call(y,a,f):r(a,f)):Nl(e,M+2)}(At(),rn(),e,t,n,r,a)}function Nl(e,t){const n=e[t];return n===Zn?void 0:n}function Xd(e){return t=>{setTimeout(e,void 0,t)}}const io=class extends u.x{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,r){var I,G,oe;let a=t,f=n||(()=>null),y=r;if(t&&"object"==typeof t){const Fe=t;a=null==(I=Fe.next)?void 0:I.bind(Fe),f=null==(G=Fe.error)?void 0:G.bind(Fe),y=null==(oe=Fe.complete)?void 0:oe.bind(Fe)}this.__isAsync&&(f=Xd(f),a&&(a=Xd(a)),y&&(y=Xd(y)));const M=super.subscribe({next:a,error:f,complete:y});return t instanceof m.w0&&t.add(M),M}};function rE(){return this._results[ya()]()}class Nc{constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const n=ya(),r=Nc.prototype;r[n]||(r[n]=rE)}get changes(){return this._changes||(this._changes=new io)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){const r=this;r.dirty=!1;const a=ms(t);(this._changesDetected=!function(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let a=e[r],f=t[r];if(n&&(a=n(a),f=n(f)),f!==a)return!1}return!0}(r._results,a,n))&&(r._results=a,r.length=a.length,r.last=a[this.length-1],r.first=a[0])}notifyOnChanges(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}Symbol;let Vl=(()=>{class e{}return e.__NG_ELEMENT_ID__=aE,e})();const sE=Vl,oE=class extends sE{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}createEmbeddedView(t){const n=this._declarationTContainer.tViews,r=Cl(this._declarationLView,n,t,16,null,n.declTNode,null,null,null,null);r[17]=this._declarationLView[this._declarationTContainer.index];const f=this._declarationLView[19];return null!==f&&(r[19]=f.createEmbeddedView(n)),Dl(n,r,t),new Ll(r)}};function aE(){return Bc(v(),At())}function Bc(e,t){return 4&e.type?new oE(t,e,Ra(e,t)):null}let Vc=(()=>{class e{}return e.__NG_ELEMENT_ID__=lE,e})();function lE(){return Ig(v(),At())}const cE=Vc,Tg=class extends cE{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Ra(this._hostTNode,this._hostLView)}get injector(){return new ai(this._hostTNode,this._hostLView)}get parentInjector(){const t=ne(this._hostTNode,this._hostLView);if(ta(t)){const n=qr(t,this._hostLView),r=Ws(t);return new ai(n[1].data[r+8],n)}return new ai(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=Ag(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,n,r){const a=t.createEmbeddedView(n||{});return this.insert(a,r),a}createComponent(t,n,r,a,f){const y=t&&!("function"==typeof t);let M;if(y)M=n;else{const Fe=n||{};M=Fe.index,r=Fe.injector,a=Fe.projectableNodes,f=Fe.ngModuleRef}const I=y?t:new qd(Et(t)),G=r||this.parentInjector;if(!f&&null==I.ngModule&&G){const Fe=G.get(ka,null);Fe&&(f=Fe)}const oe=I.create(G,a,void 0,f);return this.insert(oe.hostView,M),oe}insert(t,n){const r=t._lView,a=r[1];if(hi(r[3])){const oe=this.indexOf(t);if(-1!==oe)this.detach(oe);else{const Fe=r[3],rt=new Tg(Fe,Fe[6],Fe[3]);rt.detach(rt.indexOf(t))}}const f=this._adjustIndex(n),y=this._lContainer;!function(e,t,n,r){const a=10+r,f=n.length;r>0&&(n[a-1][4]=t),r<f-10?(t[4]=n[a],Kc(n,10+r,t)):(n.push(t),t[4]=null),t[3]=n;const y=t[17];null!==y&&n!==y&&function(e,t){const n=e[9];t[16]!==t[3][3][16]&&(e[2]=!0),null===n?e[9]=[t]:n.push(t)}(y,t);const M=t[19];null!==M&&M.insertView(e),t[2]|=128}(a,r,y,f);const M=Io(f,y),I=r[11],G=Un(I,y[7]);return null!==G&&function(e,t,n,r,a,f){r[0]=a,r[6]=t,wl(e,r,n,1,a,f)}(a,y[6],I,r,G,M),t.attachToViewContainerRef(),Kc(Jd(y),f,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=Ag(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=E(this._lContainer,n);r&&(Ga(Jd(this._lContainer),n),T(r[1],r))}detach(t){const n=this._adjustIndex(t,-1),r=E(this._lContainer,n);return r&&null!=Ga(Jd(this._lContainer),n)?new Ll(r):null}_adjustIndex(t,n=0){return null==t?this.length+n:t}};function Ag(e){return e[8]}function Jd(e){return e[8]||(e[8]=[])}function Ig(e,t){let n;const r=t[e.index];if(hi(r))n=r;else{let a;if(8&e.type)a=N(r);else{const f=t[11];a=f.createComment("");const y=L(e,t);at(f,Un(f,y),a,function(e,t){return si(e)?e.nextSibling(t):t.nextSibling}(f,y),!1)}t[e.index]=n=Wh(r,t,a,e),Dc(t,n)}return new Tg(n,e,t)}class ef{constructor(t){this.queryList=t,this.matches=null}clone(){return new ef(this.queryList)}setDirty(){this.queryList.setDirty()}}class tf{constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const r=null!==t.contentQueries?t.contentQueries[0]:n.length,a=[];for(let f=0;f<r;f++){const y=n.getByIndex(f);a.push(this.queries[y.indexInDeclarationView].clone())}return new tf(a)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)null!==jg(t,n).matches&&this.queries[n].setDirty()}}class Pg{constructor(t,n,r=null){this.predicate=t,this.flags=n,this.read=r}}class nf{constructor(t=[]){this.queries=t}elementStart(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(t,n)}elementEnd(t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(t)}embeddedTView(t){let n=null;for(let r=0;r<this.length;r++){const a=null!==n?n.length:0,f=this.getByIndex(r).embeddedTView(t,a);f&&(f.indexInDeclarationView=r,null!==n?n.push(f):n=[f])}return null!==n?new nf(n):null}template(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].template(t,n)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}}class rf{constructor(t,n=-1){this.metadata=t,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=n}elementStart(t,n){this.isApplyingToNode(n)&&this.matchTNode(t,n)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,n){this.elementStart(t,n)}embeddedTView(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new rf(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const n=this._declarationNodeIndex;let r=t.parent;for(;null!==r&&8&r.type&&r.index!==n;)r=r.parent;return n===(null!==r?r.index:-1)}return this._appliesToNextNode}matchTNode(t,n){const r=this.metadata.predicate;if(Array.isArray(r))for(let a=0;a<r.length;a++){const f=r[a];this.matchTNodeWithReadOption(t,n,fE(n,f)),this.matchTNodeWithReadOption(t,n,yr(n,t,f,!1,!1))}else r===Vl?4&n.type&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,yr(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(null!==r){const a=this.metadata.read;if(null!==a)if(a===Fl||a===Vc||a===Vl&&4&n.type)this.addMatch(n.index,-2);else{const f=yr(n,t,a,!1,!1);null!==f&&this.addMatch(n.index,f)}else this.addMatch(n.index,r)}}addMatch(t,n){null===this.matches?this.matches=[t,n]:this.matches.push(t,n)}}function fE(e,t){const n=e.localNames;if(null!==n)for(let r=0;r<n.length;r+=2)if(n[r]===t)return n[r+1];return null}function pE(e,t,n,r){return-1===n?function(e,t){return 11&e.type?Ra(e,t):4&e.type?Bc(e,t):null}(t,e):-2===n?function(e,t,n){return n===Fl?Ra(t,e):n===Vl?Bc(t,e):n===Vc?Ig(t,e):void 0}(e,t,r):Zr(e,e[1],n,t)}function Rg(e,t,n,r){const a=t[19].queries[r];if(null===a.matches){const f=e.data,y=n.matches,M=[];for(let I=0;I<y.length;I+=2){const G=y[I];M.push(G<0?null:pE(t,f[G],y[I+1],n.metadata.read))}a.matches=M}return a.matches}function sf(e,t,n,r){const a=e.queries.getByIndex(n),f=a.matches;if(null!==f){const y=Rg(e,t,a,n);for(let M=0;M<f.length;M+=2){const I=f[M];if(I>0)r.push(y[M/2]);else{const G=f[M+1],oe=t[-I];for(let Fe=10;Fe<oe.length;Fe++){const rt=oe[Fe];rt[17]===rt[3]&&sf(rt[1],rt,G,r)}if(null!==oe[9]){const Fe=oe[9];for(let rt=0;rt<Fe.length;rt++){const bt=Fe[rt];sf(bt[1],bt,G,r)}}}}}return r}function kg(e){const t=At(),n=ti(),r=qi();Ei(r+1);const a=jg(n,r);if(e.dirty&&qn(t)===(2==(2&a.metadata.flags))){if(null===a.matches)e.reset([]);else{const f=a.crossesNgTemplate?sf(n,t,r,[]):Rg(n,t,a,r);e.reset(f,T0),e.notifyOnChanges()}return!0}return!1}function Fg(e,t,n){const r=ti();r.firstCreatePass&&(Vg(r,new Pg(e,t,n),-1),2==(2&t)&&(r.staticViewQueries=!0)),Bg(r,At(),t)}function Lg(e,t,n,r){const a=ti();if(a.firstCreatePass){const f=v();Vg(a,new Pg(t,n,r),f.index),function(e,t){const n=e.contentQueries||(e.contentQueries=[]);t!==(n.length?n[n.length-1]:-1)&&n.push(e.queries.length-1,t)}(a,e),2==(2&n)&&(a.staticContentQueries=!0)}Bg(a,At(),n)}function Ng(){return e=At(),t=qi(),e[19].queries[t].queryList;var e,t}function Bg(e,t,n){const r=new Nc(4==(4&n));Nh(e,t,r,r.destroy),null===t[19]&&(t[19]=new tf),t[19].queries.push(new ef(r))}function Vg(e,t,n){null===e.queries&&(e.queries=new nf),e.queries.track(new rf(t,n))}function jg(e,t){return e.queries.getByIndex(t)}function Ug(e,t){return Bc(e,t)}function Hc(...e){}const ff=new Ni("Application Initializer");let Na=(()=>{class e{constructor(n){this.appInits=n,this.resolve=Hc,this.reject=Hc,this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,a)=>{this.resolve=r,this.reject=a})}runInitializers(){if(this.initialized)return;const n=[],r=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let a=0;a<this.appInits.length;a++){const f=this.appInits[a]();if(Id(f))n.push(f);else if(zp(f)){const y=new Promise((M,I)=>{f.subscribe({complete:M,error:I})});n.push(y)}}Promise.all(n).then(()=>{r()}).catch(a=>{this.reject(a)}),0===n.length&&r(),this.initialized=!0}}return e.\u0275fac=function(n){return new(n||e)(sr(ff,8))},e.\u0275prov=et({token:e,factory:e.\u0275fac}),e})();const sv=new Ni("AppId"),LE={provide:sv,useFactory:function(){return`${hf()}${hf()}${hf()}`},deps:[]};function hf(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const ov=new Ni("Platform Initializer"),av=new Ni("Platform ID"),lv=new Ni("appBootstrapListener");let cv=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=et({token:e,factory:e.\u0275fac}),e})();const zc=new Ni("LocaleId"),uv=new Ni("DefaultCurrencyCode");var ro=(()=>((ro=ro||{})[ro.Error=0]="Error",ro[ro.Warning=1]="Warning",ro[ro.Ignore=2]="Ignore",ro))();class NE{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let pf=(()=>{class e{compileModuleSync(n){return new Zd(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const r=this.compileModuleSync(n),f=ds(An(n).declarations).reduce((y,M)=>{const I=Et(M);return I&&y.push(new qd(I)),y},[]);return new NE(r,f)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=et({token:e,factory:e.\u0275fac}),e})();const VE=(()=>Promise.resolve(0))();function mf(e){"undefined"==typeof Zone?VE.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class vs{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new io(!1),this.onMicrotaskEmpty=new io(!1),this.onStable=new io(!1),this.onError=new io(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const a=this;a._nesting=0,a._outer=a._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(a._inner=a._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(a._inner=a._inner.fork(Zone.longStackTraceZoneSpec)),a.shouldCoalesceEventChangeDetection=!r&&n,a.shouldCoalesceRunChangeDetection=r,a.lastRequestAnimationFrameId=-1,a.nativeRequestAnimationFrame=function(){let e=un.requestAnimationFrame,t=un.cancelAnimationFrame;if("undefined"!=typeof Zone&&e&&t){const n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function(e){const t=()=>{!function(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(un,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,vf(e),e.isCheckStableRunning=!0,gf(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),vf(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,a,f,y,M)=>{try{return dv(e),n.invokeTask(a,f,y,M)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===f.type||e.shouldCoalesceRunChangeDetection)&&t(),fv(e)}},onInvoke:(n,r,a,f,y,M,I)=>{try{return dv(e),n.invoke(a,f,y,M,I)}finally{e.shouldCoalesceRunChangeDetection&&t(),fv(e)}},onHasTask:(n,r,a,f)=>{n.hasTask(a,f),r===a&&("microTask"==f.change?(e._hasPendingMicrotasks=f.microTask,vf(e),gf(e)):"macroTask"==f.change&&(e.hasPendingMacrotasks=f.macroTask))},onHandleError:(n,r,a,f)=>(n.handleError(a,f),e.runOutsideAngular(()=>e.onError.emit(f)),!1)})}(a)}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!vs.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(vs.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,a){const f=this._inner,y=f.scheduleEventTask("NgZoneEvent: "+a,t,UE,Hc,Hc);try{return f.runTask(y,n,r)}finally{f.cancelTask(y)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const UE={};function gf(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function vf(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function dv(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function fv(e){e._nesting--,gf(e)}class GE{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new io,this.onMicrotaskEmpty=new io,this.onStable=new io,this.onError=new io}run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,a){return t.apply(n,r)}}let hv=(()=>{class e{constructor(n){this._ngZone=n,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{vs.assertNotInAngularZone(),mf(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())mf(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb(this._didWork)}this._didWork=!1});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,a){let f=-1;r&&r>0&&(f=setTimeout(()=>{this._callbacks=this._callbacks.filter(y=>y.timeoutId!==f),n(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:n,timeoutId:f,updateCb:a})}whenStable(n,r,a){if(a&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,r,a),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(n,r,a){return[]}}return e.\u0275fac=function(n){return new(n||e)(sr(vs))},e.\u0275prov=et({token:e,factory:e.\u0275fac}),e})(),pv=(()=>{class e{constructor(){this._applications=new Map,_f.addToWindow(this)}registerApplication(n,r){this._applications.set(n,r)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,r=!0){return _f.findTestabilityInTree(this,n,r)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=et({token:e,factory:e.\u0275fac}),e})();class WE{addToWindow(t){}findTestabilityInTree(t,n,r){return null}}function $E(e){_f=e}let js,_f=new WE;const mv=new Ni("AllowMultipleToken");class qE{constructor(t,n){this.name=t,this.token=n}}function gv(e,t,n=[]){const r=`Platform: ${t}`,a=new Ni(r);return(f=[])=>{let y=vv();if(!y||y.injector.get(mv,!1))if(e)e(n.concat(f).concat({provide:a,useValue:!0}));else{const M=n.concat(f).concat({provide:a,useValue:!0},{provide:pd,useValue:"platform"});!function(e){if(js&&!js.destroyed&&!js.injector.get(mv,!1))throw new q("400","");js=e.get(_v);const t=e.get(ov,null);t&&t.forEach(n=>n())}(ws.create({providers:M,name:r}))}return function(e){const t=vv();if(!t)throw new q("401","");return t}()}}function vv(){return js&&!js.destroyed?js:null}let _v=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const M=function(e,t){let n;return n="noop"===e?new GE:("zone.js"===e?void 0:e)||new vs({enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!!(null==t?void 0:t.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==t?void 0:t.ngZoneRunCoalescing)}),n}(r?r.ngZone:void 0,{ngZoneEventCoalescing:r&&r.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:r&&r.ngZoneRunCoalescing||!1}),I=[{provide:vs,useValue:M}];return M.run(()=>{const G=ws.create({providers:I,parent:this.injector,name:n.moduleType.name}),oe=n.create(G),Fe=oe.injector.get($o,null);if(!Fe)throw new q("402","");return M.runOutsideAngular(()=>{const rt=M.onError.subscribe({next:bt=>{Fe.handleError(bt)}});oe.onDestroy(()=>{yf(this._modules,oe),rt.unsubscribe()})}),function(e,t,n){try{const r=n();return Id(r)?r.catch(a=>{throw t.runOutsideAngular(()=>e.handleError(a)),a}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(Fe,M,()=>{const rt=oe.injector.get(Na);return rt.runInitializers(),rt.donePromise.then(()=>(function(e){(function(e,t){null==e&&pt(t,e,null,"!=")})(e,"Expected localeId to be defined"),"string"==typeof e&&(Bm=e.toLowerCase().replace(/_/g,"-"))}(oe.injector.get(zc,Ic)||Ic),this._moduleDoBootstrap(oe),oe))})})}bootstrapModule(n,r=[]){const a=yv({},r);return function(e,t,n){const r=new Zd(n);return Promise.resolve(r)}(0,0,n).then(f=>this.bootstrapModuleFactory(f,a))}_moduleDoBootstrap(n){const r=n.injector.get(Ul);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(a=>r.bootstrap(a));else{if(!n.instance.ngDoBootstrap)throw new q("403","");n.instance.ngDoBootstrap(r)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new q("404","");this._modules.slice().forEach(n=>n.destroy()),this._destroyListeners.forEach(n=>n()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(n){return new(n||e)(sr(ws))},e.\u0275prov=et({token:e,factory:e.\u0275fac}),e})();function yv(e,t){return Array.isArray(t)?t.reduce(yv,e):cn(cn({},e),t)}let Ul=(()=>{class e{constructor(n,r,a,f,y){this._zone=n,this._injector=r,this._exceptionHandler=a,this._componentFactoryResolver=f,this._initStatus=y,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const M=new D.y(G=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{G.next(this._stable),G.complete()})}),I=new D.y(G=>{let oe;this._zone.runOutsideAngular(()=>{oe=this._zone.onStable.subscribe(()=>{vs.assertNotInAngularZone(),mf(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,G.next(!0))})})});const Fe=this._zone.onUnstable.subscribe(()=>{vs.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{G.next(!1)}))});return()=>{oe.unsubscribe(),Fe.unsubscribe()}});this.isStable=(0,x.T)(M,I.pipe((0,ee.B)()))}bootstrap(n,r){if(!this._initStatus.done)throw new q("405","");let a;a=n instanceof dg?n:this._componentFactoryResolver.resolveComponentFactory(n),this.componentTypes.push(a.componentType);const f=function(e){return e.isBoundToModule}(a)?void 0:this._injector.get(ka),M=a.create(ws.NULL,[],r||a.selector,f),I=M.location.nativeElement,G=M.injector.get(hv,null),oe=G&&M.injector.get(pv);return G&&oe&&oe.registerApplication(I,G),M.onDestroy(()=>{this.detachView(M.hostView),yf(this.components,M),oe&&oe.unregisterApplication(I)}),this._loadComponent(M),M}tick(){if(this._runningTick)throw new q("101","");try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(n))}finally{this._runningTick=!1}}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;yf(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(lv,[]).concat(this._bootstrapListeners).forEach(a=>a(n))}ngOnDestroy(){this._views.slice().forEach(n=>n.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return e.\u0275fac=function(n){return new(n||e)(sr(vs),sr(ws),sr($o),sr(kl),sr(Na))},e.\u0275prov=et({token:e,factory:e.\u0275fac}),e})();function yf(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}let Ev=!0;function nw(){Ev=!1}let iw=(()=>{class e{}return e.__NG_ELEMENT_ID__=rw,e})();function rw(e){return function(e,t,n){if(nr(e)&&!n){const r=gn(e.index,t);return new Ll(r,r)}return 47&e.type?new Ll(t[16],t):null}(v(),At(),16==(16&e))}class Ov{constructor(){}supports(t){return Sl(t)}create(t){return new dw(t)}}const uw=(e,t)=>t;class dw{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||uw}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,a=0,f=null;for(;n||r;){const y=!r||n&&n.currentIndex<Av(r,a,f)?n:r,M=Av(y,a,f),I=y.currentIndex;if(y===r)a--,r=r._nextRemoved;else if(n=n._next,null==y.previousIndex)a++;else{f||(f=[]);const G=M-a,oe=I-a;if(G!=oe){for(let rt=0;rt<G;rt++){const bt=rt<f.length?f[rt]:f[rt]=0,Bt=bt+rt;oe<=Bt&&Bt<G&&(f[rt]=bt+1)}f[y.previousIndex]=oe-G}}M!==I&&t(y,M,I)}}forEachPreviousItem(t){let n;for(n=this._previousItHead;null!==n;n=n._nextPrevious)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachMovedItem(t){let n;for(n=this._movesHead;null!==n;n=n._nextMoved)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}forEachIdentityChange(t){let n;for(n=this._identityChangesHead;null!==n;n=n._nextIdentityChange)t(n)}diff(t){if(null==t&&(t=[]),!Sl(t))throw new Error(`Error trying to diff '${F(t)}'. Only arrays and iterables are allowed`);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let a,f,y,n=this._itHead,r=!1;if(Array.isArray(t)){this.length=t.length;for(let M=0;M<this.length;M++)f=t[M],y=this._trackByFn(M,f),null!==n&&Object.is(n.trackById,y)?(r&&(n=this._verifyReinsertion(n,f,y,M)),Object.is(n.item,f)||this._addIdentityChange(n,f)):(n=this._mismatch(n,f,y,M),r=!0),n=n._next}else a=0,function(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[ya()]();let r;for(;!(r=n.next()).done;)t(r.value)}}(t,M=>{y=this._trackByFn(a,M),null!==n&&Object.is(n.trackById,y)?(r&&(n=this._verifyReinsertion(n,M,y,a)),Object.is(n.item,M)||this._addIdentityChange(n,M)):(n=this._mismatch(n,M,y,a),r=!0),n=n._next,a++}),this.length=a;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,a){let f;return null===t?f=this._itTail:(f=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,f,a)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,a))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,f,a)):t=this._addAfter(new fw(n,r),f,a),t}_verifyReinsertion(t,n,r,a){let f=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==f?t=this._reinsertAfter(f,t._prev,a):t.currentIndex!=a&&(t.currentIndex=a,this._addToMoves(t,a)),t}_truncate(t){for(;null!==t;){const n=t._next;this._addToRemovals(this._unlink(t)),t=n}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const a=t._prevRemoved,f=t._nextRemoved;return null===a?this._removalsHead=f:a._nextRemoved=f,null===f?this._removalsTail=a:f._prevRemoved=a,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){const a=null===n?this._itHead:n._next;return t._next=a,t._prev=n,null===a?this._itTail=t:a._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new Tv),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,r=t._next;return null===n?this._itHead=r:n._next=r,null===r?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Tv),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class fw{constructor(t,n){this.item=t,this.trackById=n,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class hw{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;null!==r;r=r._nextDup)if((null===n||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){const n=t._prevDup,r=t._nextDup;return null===n?this._head=r:n._nextDup=r,null===r?this._tail=n:r._prevDup=n,null===this._head}}class Tv{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new hw,this.map.set(n,r)),r.add(t)}get(t,n){const a=this.map.get(t);return a?a.get(t,n):null}remove(t){const n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Av(e,t,n){const r=e.previousIndex;if(null===r)return r;let a=0;return n&&r<n.length&&(a=n[r]),r+t+a}class Iv{constructor(){}supports(t){return t instanceof Map||Ed(t)}create(){return new pw}}class pw{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(t){let n;for(n=this._mapHead;null!==n;n=n._next)t(n)}forEachPreviousItem(t){let n;for(n=this._previousMapHead;null!==n;n=n._nextPrevious)t(n)}forEachChangedItem(t){let n;for(n=this._changesHead;null!==n;n=n._nextChanged)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}diff(t){if(t){if(!(t instanceof Map||Ed(t)))throw new Error(`Error trying to diff '${F(t)}'. Only maps and objects are allowed`)}else t=new Map;return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(r,a)=>{if(n&&n.key===a)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{const f=this._getOrCreateRecordForKey(a,r);n=this._insertBeforeOrAppend(n,f)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){const r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){const a=this._records.get(t);this._maybeAddToChanges(a,n);const f=a._prev,y=a._next;return f&&(f._next=y),y&&(y._prev=f),a._next=null,a._prev=null,a}const r=new mw(t);return this._records.set(t,r),r.currentValue=n,this._addToAdditions(r),r}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(r=>n(t[r],r))}}class mw{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function Pv(){return new Wc([new Ov])}let Wc=(()=>{class e{constructor(n){this.factories=n}static create(n,r){if(null!=r){const a=r.factories.slice();n=n.concat(a)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||Pv()),deps:[[e,new Do,new co]]}}find(n){const r=this.factories.find(a=>a.supports(n));if(null!=r)return r;throw new Error(`Cannot find a differ supporting object '${n}' of type '${function(e){return e.name||typeof e}(n)}'`)}}return e.\u0275prov=et({token:e,providedIn:"root",factory:Pv}),e})();function Rv(){return new $c([new Iv])}let $c=(()=>{class e{constructor(n){this.factories=n}static create(n,r){if(r){const a=r.factories.slice();n=n.concat(a)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||Rv()),deps:[[e,new Do,new co]]}}find(n){const r=this.factories.find(a=>a.supports(n));if(r)return r;throw new Error(`Cannot find a differ supporting object '${n}'`)}}return e.\u0275prov=et({token:e,providedIn:"root",factory:Rv}),e})();const vw=[new Iv],yw=new Wc([new Ov]),bw=new $c(vw),Ew=gv(null,"core",[{provide:av,useValue:"unknown"},{provide:_v,deps:[ws]},{provide:pv,deps:[]},{provide:cv,deps:[]}]),Sw=[{provide:Ul,useClass:Ul,deps:[vs,ws,$o,kl,Na]},{provide:N0,deps:[vs],useFactory:function(e){let t=[];return e.onStable.subscribe(()=>{for(;t.length;)t.pop()()}),function(n){t.push(n)}}},{provide:Na,useClass:Na,deps:[[new co,ff]]},{provide:pf,useClass:pf,deps:[]},LE,{provide:Wc,useFactory:function(){return yw},deps:[]},{provide:$c,useFactory:function(){return bw},deps:[]},{provide:zc,useFactory:function(e){return e||"undefined"!=typeof $localize&&$localize.locale||Ic},deps:[[new Uo(zc),new co,new Do]]},{provide:uv,useValue:"USD"}];let Ow=(()=>{class e{constructor(n){}}return e.\u0275fac=function(n){return new(n||e)(sr(Ul))},e.\u0275mod=Ue({type:e}),e.\u0275inj=Te({providers:Sw}),e})()},9133:(xt,Ie,w)=>{"use strict";w.d(Ie,{u5:()=>Pr,JU:()=>F,UX:()=>si});var u=w(3668);w(6019),w(2583),w(8100),w(4753);const F=new u.OlP("NgValueAccessor");let Kn=(()=>{class C{}return C.\u0275fac=function(_){return new(_||C)},C.\u0275mod=u.oAB({type:C}),C.\u0275inj=u.cJS({}),C})();const ii=new u.OlP("NgModelWithFormControlWarning");let $r=(()=>{class C{}return C.\u0275fac=function(_){return new(_||C)},C.\u0275mod=u.oAB({type:C}),C.\u0275inj=u.cJS({imports:[[Kn]]}),C})(),Pr=(()=>{class C{}return C.\u0275fac=function(_){return new(_||C)},C.\u0275mod=u.oAB({type:C}),C.\u0275inj=u.cJS({imports:[$r]}),C})(),si=(()=>{class C{static withConfig(_){return{ngModule:C,providers:[{provide:ii,useValue:_.warnOnNgModelWithFormControl}]}}}return C.\u0275fac=function(_){return new(_||C)},C.\u0275mod=u.oAB({type:C}),C.\u0275inj=u.cJS({imports:[$r]}),C})()},86:(xt,Ie,w)=>{"use strict";w.d(Ie,{lW:()=>H,ot:()=>j});var u=w(3668),m=w(6731),D=w(4006),x=w(9555);const ee=["mat-button",""],A=["*"],z=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],X=(0,m.pj)((0,m.Id)((0,m.Kr)(class{constructor(B){this._elementRef=B}})));let H=(()=>{class B extends X{constructor(se,fe,Le){super(se),this._focusMonitor=fe,this._animationMode=Le,this.isRoundButton=this._hasHostAttributes("mat-fab","mat-mini-fab"),this.isIconButton=this._hasHostAttributes("mat-icon-button");for(const st of z)this._hasHostAttributes(st)&&this._getHostElement().classList.add(st);se.nativeElement.classList.add("mat-button-base"),this.isRoundButton&&(this.color="accent")}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(se,fe){se?this._focusMonitor.focusVia(this._getHostElement(),se,fe):this._getHostElement().focus(fe)}_getHostElement(){return this._elementRef.nativeElement}_isRippleDisabled(){return this.disableRipple||this.disabled}_hasHostAttributes(...se){return se.some(fe=>this._getHostElement().hasAttribute(fe))}}return B.\u0275fac=function(se){return new(se||B)(u.Y36(u.SBq),u.Y36(D.tE),u.Y36(x.Qb,8))},B.\u0275cmp=u.Xpm({type:B,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-icon-button",""],["button","mat-fab",""],["button","mat-mini-fab",""],["button","mat-stroked-button",""],["button","mat-flat-button",""]],viewQuery:function(se,fe){if(1&se&&u.Gf(m.wG,5),2&se){let Le;u.iGM(Le=u.CRH())&&(fe.ripple=Le.first)}},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(se,fe){2&se&&(u.uIk("disabled",fe.disabled||null),u.ekj("_mat-animation-noopable","NoopAnimations"===fe._animationMode)("mat-button-disabled",fe.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[u.qOj],attrs:ee,ngContentSelectors:A,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(se,fe){1&se&&(u.F$t(),u.TgZ(0,"span",0),u.Hsn(1),u.qZA(),u._UZ(2,"span",1),u._UZ(3,"span",2)),2&se&&(u.xp6(2),u.ekj("mat-button-ripple-round",fe.isRoundButton||fe.isIconButton),u.Q6J("matRippleDisabled",fe._isRippleDisabled())("matRippleCentered",fe.isIconButton)("matRippleTrigger",fe._getHostElement()))},directives:[m.wG],styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-button-disabled{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}._mat-animation-noopable.mat-raised-button{transition:none;animation:none}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab.mat-button-disabled{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-fab{transition:none;animation:none}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab.mat-button-disabled{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-mini-fab{transition:none;animation:none}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:inline-flex;justify-content:center;align-items:center;font-size:inherit;width:2.5em;height:2.5em}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}.cdk-high-contrast-active .mat-button-base.cdk-keyboard-focused,.cdk-high-contrast-active .mat-button-base.cdk-program-focused{outline:solid 3px}\n"],encapsulation:2,changeDetection:0}),B})(),j=(()=>{class B{}return B.\u0275fac=function(se){return new(se||B)},B.\u0275mod=u.oAB({type:B}),B.\u0275inj=u.cJS({imports:[[m.si,m.BQ],m.BQ]}),B})()},6731:(xt,Ie,w)=>{"use strict";w.d(Ie,{rD:()=>et,BQ:()=>Ke,X2:()=>xe,uc:()=>we,Ng:()=>Mn,rN:()=>Wn,nP:()=>Ee,us:()=>Ve,wG:()=>Qe,si:()=>Ne,CB:()=>Rn,jH:()=>hn,pj:()=>ge,Kr:()=>V,Id:()=>Ce,sb:()=>J,E0:()=>Te});var u=w(3668),m=w(4006),D=w(8290),ee=w(6019),A=w(928),O=w(348),F=w(3970),z=w(9555);const ft=new u.OlP("mat-sanity-checks",{providedIn:"root",factory:function(){return!0}});let Ke=(()=>{class mt{constructor(ot,Nt,an){this._sanityChecks=Nt,this._document=an,this._hasDoneGlobalChecks=!1,ot._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(ot){return!(0,A.Oy)()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[ot])}}return mt.\u0275fac=function(ot){return new(ot||mt)(u.LFG(m.qm),u.LFG(ft,8),u.LFG(ee.K0))},mt.\u0275mod=u.oAB({type:mt}),mt.\u0275inj=u.cJS({imports:[[D.vT],D.vT]}),mt})();function Ce(mt){return class extends mt{constructor(...ct){super(...ct),this._disabled=!1}get disabled(){return this._disabled}set disabled(ct){this._disabled=(0,O.Ig)(ct)}}}function ge(mt,ct){return class extends mt{constructor(...ot){super(...ot),this.defaultColor=ct,this.color=ct}get color(){return this._color}set color(ot){const Nt=ot||this.defaultColor;Nt!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),Nt&&this._elementRef.nativeElement.classList.add(`mat-${Nt}`),this._color=Nt)}}}function V(mt){return class extends mt{constructor(...ct){super(...ct),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(ct){this._disableRipple=(0,O.Ig)(ct)}}}function J(mt,ct=0){return class extends mt{constructor(...ot){super(...ot),this._tabIndex=ct,this.defaultTabIndex=ct}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(ot){this._tabIndex=null!=ot?(0,O.su)(ot):this.defaultTabIndex}}}let et=(()=>{class mt{isErrorState(ot,Nt){return!!(ot&&ot.invalid&&(ot.touched||Nt&&Nt.submitted))}}return mt.\u0275fac=function(ot){return new(ot||mt)},mt.\u0275prov=u.Yz7({token:mt,factory:mt.\u0275fac,providedIn:"root"}),mt})(),xe=(()=>{class mt{}return mt.\u0275fac=function(ot){return new(ot||mt)},mt.\u0275dir=u.lG2({type:mt,selectors:[["","mat-line",""],["","matLine",""]],hostAttrs:[1,"mat-line"]}),mt})();function Te(mt,ct,ot="mat"){mt.changes.pipe((0,F.O)(mt)).subscribe(({length:Nt})=>{ae(ct,`${ot}-2-line`,!1),ae(ct,`${ot}-3-line`,!1),ae(ct,`${ot}-multi-line`,!1),2===Nt||3===Nt?ae(ct,`${ot}-${Nt}-line`,!0):Nt>3&&ae(ct,`${ot}-multi-line`,!0)})}function ae(mt,ct,ot){mt.nativeElement.classList.toggle(ct,ot)}let we=(()=>{class mt{}return mt.\u0275fac=function(ot){return new(ot||mt)},mt.\u0275mod=u.oAB({type:mt}),mt.\u0275inj=u.cJS({imports:[[Ke],Ke]}),mt})();class Me{constructor(ct,ot,Nt){this._renderer=ct,this.element=ot,this.config=Nt,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const lt={enterDuration:225,exitDuration:150},Ot=(0,A.i$)({passive:!0}),tn=["mousedown","touchstart"],St=["mouseup","mouseleave","touchend","touchcancel"];class de{constructor(ct,ot,Nt,an){this._target=ct,this._ngZone=ot,this._isPointerDown=!1,this._activeRipples=new Set,this._pointerUpEventsRegistered=!1,an.isBrowser&&(this._containerElement=(0,O.fI)(Nt))}fadeInRipple(ct,ot,Nt={}){const an=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),je=cn(cn({},lt),Nt.animation);Nt.centered&&(ct=an.left+an.width/2,ot=an.top+an.height/2);const We=Nt.radius||function(mt,ct,ot){const Nt=Math.max(Math.abs(mt-ot.left),Math.abs(mt-ot.right)),an=Math.max(Math.abs(ct-ot.top),Math.abs(ct-ot.bottom));return Math.sqrt(Nt*Nt+an*an)}(ct,ot,an),tt=ct-an.left,Y=ot-an.top,te=je.enterDuration,W=document.createElement("div");W.classList.add("mat-ripple-element"),W.style.left=tt-We+"px",W.style.top=Y-We+"px",W.style.height=2*We+"px",W.style.width=2*We+"px",null!=Nt.color&&(W.style.backgroundColor=Nt.color),W.style.transitionDuration=`${te}ms`,this._containerElement.appendChild(W),window.getComputedStyle(W).getPropertyValue("opacity"),W.style.transform="scale(1)";const be=new Me(this,W,Nt);return be.state=0,this._activeRipples.add(be),Nt.persistent||(this._mostRecentTransientRipple=be),this._runTimeoutOutsideZone(()=>{const Ue=be===this._mostRecentTransientRipple;be.state=1,!Nt.persistent&&(!Ue||!this._isPointerDown)&&be.fadeOut()},te),be}fadeOutRipple(ct){const ot=this._activeRipples.delete(ct);if(ct===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),!ot)return;const Nt=ct.element,an=cn(cn({},lt),ct.config.animation);Nt.style.transitionDuration=`${an.exitDuration}ms`,Nt.style.opacity="0",ct.state=2,this._runTimeoutOutsideZone(()=>{ct.state=3,Nt.remove()},an.exitDuration)}fadeOutAll(){this._activeRipples.forEach(ct=>ct.fadeOut())}fadeOutAllNonPersistent(){this._activeRipples.forEach(ct=>{ct.config.persistent||ct.fadeOut()})}setupTriggerEvents(ct){const ot=(0,O.fI)(ct);!ot||ot===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=ot,this._registerEvents(tn))}handleEvent(ct){"mousedown"===ct.type?this._onMousedown(ct):"touchstart"===ct.type?this._onTouchStart(ct):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(St),this._pointerUpEventsRegistered=!0)}_onMousedown(ct){const ot=(0,m.X6)(ct),Nt=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;!this._target.rippleDisabled&&!ot&&!Nt&&(this._isPointerDown=!0,this.fadeInRipple(ct.clientX,ct.clientY,this._target.rippleConfig))}_onTouchStart(ct){if(!this._target.rippleDisabled&&!(0,m.yG)(ct)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;const ot=ct.changedTouches;for(let Nt=0;Nt<ot.length;Nt++)this.fadeInRipple(ot[Nt].clientX,ot[Nt].clientY,this._target.rippleConfig)}}_onPointerUp(){!this._isPointerDown||(this._isPointerDown=!1,this._activeRipples.forEach(ct=>{!ct.config.persistent&&(1===ct.state||ct.config.terminateOnPointerUp&&0===ct.state)&&ct.fadeOut()}))}_runTimeoutOutsideZone(ct,ot=0){this._ngZone.runOutsideAngular(()=>setTimeout(ct,ot))}_registerEvents(ct){this._ngZone.runOutsideAngular(()=>{ct.forEach(ot=>{this._triggerElement.addEventListener(ot,this,Ot)})})}_removeTriggerEvents(){this._triggerElement&&(tn.forEach(ct=>{this._triggerElement.removeEventListener(ct,this,Ot)}),this._pointerUpEventsRegistered&&St.forEach(ct=>{this._triggerElement.removeEventListener(ct,this,Ot)}))}}const me=new u.OlP("mat-ripple-global-options");let Qe=(()=>{class mt{constructor(ot,Nt,an,je,We){this._elementRef=ot,this._animationMode=We,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=je||{},this._rippleRenderer=new de(this,Nt,ot,an)}get disabled(){return this._disabled}set disabled(ot){ot&&this.fadeOutAllNonPersistent(),this._disabled=ot,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(ot){this._trigger=ot,this._setupTriggerEventsIfEnabled()}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:cn(cn(cn({},this._globalOptions.animation),"NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(ot,Nt=0,an){return"number"==typeof ot?this._rippleRenderer.fadeInRipple(ot,Nt,cn(cn({},this.rippleConfig),an)):this._rippleRenderer.fadeInRipple(0,0,cn(cn({},this.rippleConfig),ot))}}return mt.\u0275fac=function(ot){return new(ot||mt)(u.Y36(u.SBq),u.Y36(u.R0b),u.Y36(A.t4),u.Y36(me,8),u.Y36(z.Qb,8))},mt.\u0275dir=u.lG2({type:mt,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(ot,Nt){2&ot&&u.ekj("mat-ripple-unbounded",Nt.unbounded)},inputs:{color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],radius:["matRippleRadius","radius"],animation:["matRippleAnimation","animation"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"]},exportAs:["matRipple"]}),mt})(),Ne=(()=>{class mt{}return mt.\u0275fac=function(ot){return new(ot||mt)},mt.\u0275mod=u.oAB({type:mt}),mt.\u0275inj=u.cJS({imports:[[Ke,A.ud],Ke]}),mt})(),Ee=(()=>{class mt{constructor(ot){this._animationMode=ot,this.state="unchecked",this.disabled=!1}}return mt.\u0275fac=function(ot){return new(ot||mt)(u.Y36(z.Qb,8))},mt.\u0275cmp=u.Xpm({type:mt,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(ot,Nt){2&ot&&u.ekj("mat-pseudo-checkbox-indeterminate","indeterminate"===Nt.state)("mat-pseudo-checkbox-checked","checked"===Nt.state)("mat-pseudo-checkbox-disabled",Nt.disabled)("_mat-animation-noopable","NoopAnimations"===Nt._animationMode)},inputs:{state:"state",disabled:"disabled"},decls:0,vars:0,template:function(ot,Nt){},styles:['.mat-pseudo-checkbox{width:16px;height:16px;border:2px solid;border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border-color:transparent}._mat-animation-noopable.mat-pseudo-checkbox{transition:none;animation:none}._mat-animation-noopable.mat-pseudo-checkbox::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{top:5px;left:1px;width:10px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{top:2.4px;left:1px;width:8px;height:3px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}\n'],encapsulation:2,changeDetection:0}),mt})(),Ve=(()=>{class mt{}return mt.\u0275fac=function(ot){return new(ot||mt)},mt.\u0275mod=u.oAB({type:mt}),mt.\u0275inj=u.cJS({imports:[[Ke]]}),mt})();class Wn{constructor(ct,ot=!1){this.source=ct,this.isUserInput=ot}}function Rn(mt,ct,ot){if(ot.length){let Nt=ct.toArray(),an=ot.toArray(),je=0;for(let We=0;We<mt+1;We++)Nt[We].group&&Nt[We].group===an[je]&&je++;return je}return 0}function hn(mt,ct,ot,Nt){return mt<ot?mt:mt+ct>ot+Nt?Math.max(0,mt-Nt+ct):ot}let Mn=(()=>{class mt{}return mt.\u0275fac=function(ot){return new(ot||mt)},mt.\u0275mod=u.oAB({type:mt}),mt.\u0275inj=u.cJS({imports:[[Ne,ee.ez,Ke,Ve]]}),mt})()},9112:(xt,Ie,w)=>{"use strict";w.d(Ie,{Hw:()=>pt,Ps:()=>Dt});var u=w(3668),m=w(6731),D=w(348),x=w(6019),ee=w(2997),A=w(9433),O=w(8100),F=w(7908),z=w(7384),X=w(4753),H=w(2835),U=w(423),j=w(3174),B=w(9468),q=w(4522),se=w(5427);const fe=["*"];let Le;function ft(It){var jt;return(null==(jt=function(){if(void 0===Le&&(Le=null,"undefined"!=typeof window)){const It=window;void 0!==It.trustedTypes&&(Le=It.trustedTypes.createPolicy("angular#components",{createHTML:jt=>jt}))}return Le}())?void 0:jt.createHTML(It))||It}function Ke(It){return Error(`Unable to find icon with the name "${It}"`)}function ut(It){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${It}".`)}function Pe(It){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${It}".`)}class Ce{constructor(jt,et,xe){this.url=jt,this.svgText=et,this.options=xe}}let ge=(()=>{class It{constructor(et,xe,Te,ae){this._httpClient=et,this._sanitizer=xe,this._errorHandler=ae,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass="material-icons",this._document=Te}addSvgIcon(et,xe,Te){return this.addSvgIconInNamespace("",et,xe,Te)}addSvgIconLiteral(et,xe,Te){return this.addSvgIconLiteralInNamespace("",et,xe,Te)}addSvgIconInNamespace(et,xe,Te,ae){return this._addSvgIconConfig(et,xe,new Ce(Te,null,ae))}addSvgIconResolver(et){return this._resolvers.push(et),this}addSvgIconLiteralInNamespace(et,xe,Te,ae){const we=this._sanitizer.sanitize(u.q3G.HTML,Te);if(!we)throw Pe(Te);const Me=ft(we);return this._addSvgIconConfig(et,xe,new Ce("",Me,ae))}addSvgIconSet(et,xe){return this.addSvgIconSetInNamespace("",et,xe)}addSvgIconSetLiteral(et,xe){return this.addSvgIconSetLiteralInNamespace("",et,xe)}addSvgIconSetInNamespace(et,xe,Te){return this._addSvgIconSetConfig(et,new Ce(xe,null,Te))}addSvgIconSetLiteralInNamespace(et,xe,Te){const ae=this._sanitizer.sanitize(u.q3G.HTML,xe);if(!ae)throw Pe(xe);const we=ft(ae);return this._addSvgIconSetConfig(et,new Ce("",we,Te))}registerFontClassAlias(et,xe=et){return this._fontCssClassesByAlias.set(et,xe),this}classNameForFontAlias(et){return this._fontCssClassesByAlias.get(et)||et}setDefaultFontSetClass(et){return this._defaultFontSetClass=et,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(et){const xe=this._sanitizer.sanitize(u.q3G.RESOURCE_URL,et);if(!xe)throw ut(et);const Te=this._cachedIconsByUrl.get(xe);return Te?(0,ee.of)(le(Te)):this._loadSvgIconFromConfig(new Ce(et,null)).pipe((0,z.b)(ae=>this._cachedIconsByUrl.set(xe,ae)),(0,X.U)(ae=>le(ae)))}getNamedSvgIcon(et,xe=""){const Te=ve(xe,et);let ae=this._svgIconConfigs.get(Te);if(ae)return this._getSvgFromConfig(ae);if(ae=this._getIconConfigFromResolvers(xe,et),ae)return this._svgIconConfigs.set(Te,ae),this._getSvgFromConfig(ae);const we=this._iconSetConfigs.get(xe);return we?this._getSvgFromIconSetConfigs(et,we):(0,A._)(Ke(Te))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(et){return et.svgText?(0,ee.of)(le(this._svgElementFromConfig(et))):this._loadSvgIconFromConfig(et).pipe((0,X.U)(xe=>le(xe)))}_getSvgFromIconSetConfigs(et,xe){const Te=this._extractIconWithNameFromAnySet(et,xe);if(Te)return(0,ee.of)(Te);const ae=xe.filter(we=>!we.svgText).map(we=>this._loadSvgIconSetFromConfig(we).pipe((0,H.K)(Me=>{const Ct=`Loading icon set URL: ${this._sanitizer.sanitize(u.q3G.RESOURCE_URL,we.url)} failed: ${Me.message}`;return this._errorHandler.handleError(new Error(Ct)),(0,ee.of)(null)})));return(0,O.D)(ae).pipe((0,X.U)(()=>{const we=this._extractIconWithNameFromAnySet(et,xe);if(!we)throw Ke(et);return we}))}_extractIconWithNameFromAnySet(et,xe){for(let Te=xe.length-1;Te>=0;Te--){const ae=xe[Te];if(ae.svgText&&ae.svgText.toString().indexOf(et)>-1){const we=this._svgElementFromConfig(ae),Me=this._extractSvgIconFromSet(we,et,ae.options);if(Me)return Me}}return null}_loadSvgIconFromConfig(et){return this._fetchIcon(et).pipe((0,z.b)(xe=>et.svgText=xe),(0,X.U)(()=>this._svgElementFromConfig(et)))}_loadSvgIconSetFromConfig(et){return et.svgText?(0,ee.of)(null):this._fetchIcon(et).pipe((0,z.b)(xe=>et.svgText=xe))}_extractSvgIconFromSet(et,xe,Te){const ae=et.querySelector(`[id="${xe}"]`);if(!ae)return null;const we=ae.cloneNode(!0);if(we.removeAttribute("id"),"svg"===we.nodeName.toLowerCase())return this._setSvgAttributes(we,Te);if("symbol"===we.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(we),Te);const Me=this._svgElementFromString(ft("<svg></svg>"));return Me.appendChild(we),this._setSvgAttributes(Me,Te)}_svgElementFromString(et){const xe=this._document.createElement("DIV");xe.innerHTML=et;const Te=xe.querySelector("svg");if(!Te)throw Error("<svg> tag not found");return Te}_toSvgElement(et){const xe=this._svgElementFromString(ft("<svg></svg>")),Te=et.attributes;for(let ae=0;ae<Te.length;ae++){const{name:we,value:Me}=Te[ae];"id"!==we&&xe.setAttribute(we,Me)}for(let ae=0;ae<et.childNodes.length;ae++)et.childNodes[ae].nodeType===this._document.ELEMENT_NODE&&xe.appendChild(et.childNodes[ae].cloneNode(!0));return xe}_setSvgAttributes(et,xe){return et.setAttribute("fit",""),et.setAttribute("height","100%"),et.setAttribute("width","100%"),et.setAttribute("preserveAspectRatio","xMidYMid meet"),et.setAttribute("focusable","false"),xe&&xe.viewBox&&et.setAttribute("viewBox",xe.viewBox),et}_fetchIcon(et){var Ct;const{url:xe,options:Te}=et,ae=null!=(Ct=null==Te?void 0:Te.withCredentials)&&Ct;if(!this._httpClient)throw Error("Could not find HttpClient provider for use with Angular Material icons. Please include the HttpClientModule from @angular/common/http in your app imports.");if(null==xe)throw Error(`Cannot fetch icon from URL "${xe}".`);const we=this._sanitizer.sanitize(u.q3G.RESOURCE_URL,xe);if(!we)throw ut(xe);const Me=this._inProgressUrlFetches.get(we);if(Me)return Me;const lt=this._httpClient.get(we,{responseType:"text",withCredentials:ae}).pipe((0,X.U)(Ot=>ft(Ot)),(0,U.x)(()=>this._inProgressUrlFetches.delete(we)),(0,j.B)());return this._inProgressUrlFetches.set(we,lt),lt}_addSvgIconConfig(et,xe,Te){return this._svgIconConfigs.set(ve(et,xe),Te),this}_addSvgIconSetConfig(et,xe){const Te=this._iconSetConfigs.get(et);return Te?Te.push(xe):this._iconSetConfigs.set(et,[xe]),this}_svgElementFromConfig(et){if(!et.svgElement){const xe=this._svgElementFromString(et.svgText);this._setSvgAttributes(xe,et.options),et.svgElement=xe}return et.svgElement}_getIconConfigFromResolvers(et,xe){for(let Te=0;Te<this._resolvers.length;Te++){const ae=this._resolvers[Te](xe,et);if(ae)return Ae(ae)?new Ce(ae.url,null,ae.options):new Ce(ae,null)}}}return It.\u0275fac=function(et){return new(et||It)(u.LFG(q.eN,8),u.LFG(se.H7),u.LFG(x.K0,8),u.LFG(u.qLn))},It.\u0275prov=u.Yz7({token:It,factory:It.\u0275fac,providedIn:"root"}),It})();function le(It){return It.cloneNode(!0)}function ve(It,jt){return It+":"+jt}function Ae(It){return!(!It.url||!It.options)}const De=(0,m.pj)(class{constructor(It){this._elementRef=It}}),qe=new u.OlP("mat-icon-location",{providedIn:"root",factory:function(){const It=(0,u.f3M)(x.K0),jt=It?It.location:null;return{getPathname:()=>jt?jt.pathname+jt.search:""}}}),Vt=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],ze=Vt.map(It=>`[${It}]`).join(", "),it=/^url\(['"]?#(.*?)['"]?\)$/;let pt=(()=>{class It extends De{constructor(et,xe,Te,ae,we){super(et),this._iconRegistry=xe,this._location=ae,this._errorHandler=we,this._inline=!1,this._currentIconFetch=F.w0.EMPTY,Te||et.nativeElement.setAttribute("aria-hidden","true")}get inline(){return this._inline}set inline(et){this._inline=(0,D.Ig)(et)}get svgIcon(){return this._svgIcon}set svgIcon(et){et!==this._svgIcon&&(et?this._updateSvgIcon(et):this._svgIcon&&this._clearSvgElement(),this._svgIcon=et)}get fontSet(){return this._fontSet}set fontSet(et){const xe=this._cleanupFontValue(et);xe!==this._fontSet&&(this._fontSet=xe,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(et){const xe=this._cleanupFontValue(et);xe!==this._fontIcon&&(this._fontIcon=xe,this._updateFontIconClasses())}_splitIconName(et){if(!et)return["",""];const xe=et.split(":");switch(xe.length){case 1:return["",xe[0]];case 2:return xe;default:throw Error(`Invalid icon name: "${et}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const et=this._elementsWithExternalReferences;if(et&&et.size){const xe=this._location.getPathname();xe!==this._previousPath&&(this._previousPath=xe,this._prependPathToReferences(xe))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(et){this._clearSvgElement();const xe=et.querySelectorAll("style");for(let ae=0;ae<xe.length;ae++)xe[ae].textContent+=" ";const Te=this._location.getPathname();this._previousPath=Te,this._cacheChildrenWithExternalReferences(et),this._prependPathToReferences(Te),this._elementRef.nativeElement.appendChild(et)}_clearSvgElement(){const et=this._elementRef.nativeElement;let xe=et.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();xe--;){const Te=et.childNodes[xe];(1!==Te.nodeType||"svg"===Te.nodeName.toLowerCase())&&Te.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const et=this._elementRef.nativeElement,xe=this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet):this._iconRegistry.getDefaultFontSetClass();xe!=this._previousFontSetClass&&(this._previousFontSetClass&&et.classList.remove(this._previousFontSetClass),xe&&et.classList.add(xe),this._previousFontSetClass=xe),this.fontIcon!=this._previousFontIconClass&&(this._previousFontIconClass&&et.classList.remove(this._previousFontIconClass),this.fontIcon&&et.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(et){return"string"==typeof et?et.trim().split(" ")[0]:et}_prependPathToReferences(et){const xe=this._elementsWithExternalReferences;xe&&xe.forEach((Te,ae)=>{Te.forEach(we=>{ae.setAttribute(we.name,`url('${et}#${we.value}')`)})})}_cacheChildrenWithExternalReferences(et){const xe=et.querySelectorAll(ze),Te=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let ae=0;ae<xe.length;ae++)Vt.forEach(we=>{const Me=xe[ae],lt=Me.getAttribute(we),Ct=lt?lt.match(it):null;if(Ct){let Ot=Te.get(Me);Ot||(Ot=[],Te.set(Me,Ot)),Ot.push({name:we,value:Ct[1]})}})}_updateSvgIcon(et){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),et){const[xe,Te]=this._splitIconName(et);xe&&(this._svgNamespace=xe),Te&&(this._svgName=Te),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(Te,xe).pipe((0,B.q)(1)).subscribe(ae=>this._setSvgElement(ae),ae=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${xe}:${Te}! ${ae.message}`))})}}}return It.\u0275fac=function(et){return new(et||It)(u.Y36(u.SBq),u.Y36(ge),u.$8M("aria-hidden"),u.Y36(qe),u.Y36(u.qLn))},It.\u0275cmp=u.Xpm({type:It,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:7,hostBindings:function(et,xe){2&et&&(u.uIk("data-mat-icon-type",xe._usingFontIcon()?"font":"svg")("data-mat-icon-name",xe._svgName||xe.fontIcon)("data-mat-icon-namespace",xe._svgNamespace||xe.fontSet),u.ekj("mat-icon-inline",xe.inline)("mat-icon-no-color","primary"!==xe.color&&"accent"!==xe.color&&"warn"!==xe.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[u.qOj],ngContentSelectors:fe,decls:1,vars:0,template:function(et,xe){1&et&&(u.F$t(),u.Hsn(0))},styles:[".mat-icon{-webkit-user-select:none;-moz-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}\n"],encapsulation:2,changeDetection:0}),It})(),Dt=(()=>{class It{}return It.\u0275fac=function(et){return new(et||It)},It.\u0275mod=u.oAB({type:It}),It.\u0275inj=u.cJS({imports:[[m.BQ],m.BQ]}),It})()},3530:(xt,Ie,w)=>{"use strict";w.d(Ie,{VK:()=>ae,Tx:()=>de,p6:()=>St});var u=w(4006),m=w(348),D=w(1628),x=w(3668),ee=w(273),A=w(7908),O=w(3719),F=w(2997),z=w(5455),X=w(3970),H=w(3067),U=w(9468),j=w(461),B=w(6263),q=w(7955),se=w(9814),fe=w(5711),Le=w(6019),st=w(6731),ft=w(8290),Ke=w(7219),Ge=w(928),ut=w(1128);const Pe=["mat-menu-item",""];function Ce(he,Ze){1&he&&(x.O4$(),x.TgZ(0,"svg",2),x._UZ(1,"polygon",3),x.qZA())}const ge=["*"];function V(he,Ze){if(1&he){const me=x.EpF();x.TgZ(0,"div",0),x.NdJ("keydown",function(Ne){return x.CHM(me),x.oxw()._handleKeydown(Ne)})("click",function(){return x.CHM(me),x.oxw().closed.emit("click")})("@transformMenu.start",function(Ne){return x.CHM(me),x.oxw()._onAnimationStart(Ne)})("@transformMenu.done",function(Ne){return x.CHM(me),x.oxw()._onAnimationDone(Ne)}),x.TgZ(1,"div",1),x.Hsn(2),x.qZA(),x.qZA()}if(2&he){const me=x.oxw();x.Q6J("id",me.panelId)("ngClass",me._classList)("@transformMenu",me._panelAnimationState),x.uIk("aria-label",me.ariaLabel||null)("aria-labelledby",me.ariaLabelledby||null)("aria-describedby",me.ariaDescribedby||null)}}const J={transformMenu:(0,se.X$)("transformMenu",[(0,se.SB)("void",(0,se.oB)({opacity:0,transform:"scale(0.8)"})),(0,se.eR)("void => enter",(0,se.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,se.oB)({opacity:1,transform:"scale(1)"}))),(0,se.eR)("* => void",(0,se.jt)("100ms 25ms linear",(0,se.oB)({opacity:0})))]),fadeInItems:(0,se.X$)("fadeInItems",[(0,se.SB)("showing",(0,se.oB)({opacity:1})),(0,se.eR)("void => *",[(0,se.oB)({opacity:0}),(0,se.jt)("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},Ae=new x.OlP("MatMenuContent"),pt=new x.OlP("MAT_MENU_PANEL"),Dt=(0,st.Kr)((0,st.Id)(class{}));let It=(()=>{class he extends Dt{constructor(me,Qe,Ne,Ee,Ve){super(),this._elementRef=me,this._focusMonitor=Ne,this._parentMenu=Ee,this._changeDetectorRef=Ve,this.role="menuitem",this._hovered=new ee.x,this._focused=new ee.x,this._highlighted=!1,this._triggersSubmenu=!1,Ee&&Ee.addItem&&Ee.addItem(this)}focus(me,Qe){this._focusMonitor&&me?this._focusMonitor.focusVia(this._getHostElement(),me,Qe):this._getHostElement().focus(Qe),this._focused.next(this)}ngAfterViewInit(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(me){this.disabled&&(me.preventDefault(),me.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){var Ne;const me=this._elementRef.nativeElement.cloneNode(!0),Qe=me.querySelectorAll("mat-icon, .material-icons");for(let Ee=0;Ee<Qe.length;Ee++)Qe[Ee].remove();return(null==(Ne=me.textContent)?void 0:Ne.trim())||""}_setHighlighted(me){var Qe;this._highlighted=me,null==(Qe=this._changeDetectorRef)||Qe.markForCheck()}}return he.\u0275fac=function(me){return new(me||he)(x.Y36(x.SBq),x.Y36(Le.K0),x.Y36(u.tE),x.Y36(pt,8),x.Y36(x.sBO))},he.\u0275cmp=x.Xpm({type:he,selectors:[["","mat-menu-item",""]],hostAttrs:[1,"mat-focus-indicator"],hostVars:10,hostBindings:function(me,Qe){1&me&&x.NdJ("click",function(Ee){return Qe._checkDisabled(Ee)})("mouseenter",function(){return Qe._handleMouseEnter()}),2&me&&(x.uIk("role",Qe.role)("tabindex",Qe._getTabIndex())("aria-disabled",Qe.disabled.toString())("disabled",Qe.disabled||null),x.ekj("mat-menu-item",!0)("mat-menu-item-highlighted",Qe._highlighted)("mat-menu-item-submenu-trigger",Qe._triggersSubmenu))},inputs:{disabled:"disabled",disableRipple:"disableRipple",role:"role"},exportAs:["matMenuItem"],features:[x.qOj],attrs:Pe,ngContentSelectors:ge,decls:3,vars:3,consts:[["matRipple","",1,"mat-menu-ripple",3,"matRippleDisabled","matRippleTrigger"],["class","mat-menu-submenu-icon","viewBox","0 0 5 10","focusable","false",4,"ngIf"],["viewBox","0 0 5 10","focusable","false",1,"mat-menu-submenu-icon"],["points","0,0 5,5 0,10"]],template:function(me,Qe){1&me&&(x.F$t(),x.Hsn(0),x._UZ(1,"div",0),x.YNc(2,Ce,2,0,"svg",1)),2&me&&(x.xp6(1),x.Q6J("matRippleDisabled",Qe.disableRipple||Qe.disabled)("matRippleTrigger",Qe._getHostElement()),x.xp6(1),x.Q6J("ngIf",Qe._triggersSubmenu))},directives:[st.wG,Le.O5],encapsulation:2,changeDetection:0}),he})();const jt=new x.OlP("mat-menu-default-options",{providedIn:"root",factory:function(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}});let xe=0,Te=(()=>{class he{constructor(me,Qe,Ne){this._elementRef=me,this._ngZone=Qe,this._defaultOptions=Ne,this._xPosition=this._defaultOptions.xPosition,this._yPosition=this._defaultOptions.yPosition,this._directDescendantItems=new x.n_E,this._tabSubscription=A.w0.EMPTY,this._classList={},this._panelAnimationState="void",this._animationDone=new ee.x,this.overlayPanelClass=this._defaultOptions.overlayPanelClass||"",this.backdropClass=this._defaultOptions.backdropClass,this._overlapTrigger=this._defaultOptions.overlapTrigger,this._hasBackdrop=this._defaultOptions.hasBackdrop,this.closed=new x.vpe,this.close=this.closed,this.panelId="mat-menu-panel-"+xe++}get xPosition(){return this._xPosition}set xPosition(me){this._xPosition=me,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(me){this._yPosition=me,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(me){this._overlapTrigger=(0,m.Ig)(me)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(me){this._hasBackdrop=(0,m.Ig)(me)}set panelClass(me){const Qe=this._previousPanelClass;Qe&&Qe.length&&Qe.split(" ").forEach(Ne=>{this._classList[Ne]=!1}),this._previousPanelClass=me,me&&me.length&&(me.split(" ").forEach(Ne=>{this._classList[Ne]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(me){this.panelClass=me}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new u.Em(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._tabSubscription=this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe((0,X.O)(this._directDescendantItems),(0,H.w)(me=>(0,O.T)(...me.map(Qe=>Qe._focused)))).subscribe(me=>this._keyManager.updateActiveItem(me))}ngOnDestroy(){this._directDescendantItems.destroy(),this._tabSubscription.unsubscribe(),this.closed.complete()}_hovered(){return this._directDescendantItems.changes.pipe((0,X.O)(this._directDescendantItems),(0,H.w)(Qe=>(0,O.T)(...Qe.map(Ne=>Ne._hovered))))}addItem(me){}removeItem(me){}_handleKeydown(me){const Qe=me.keyCode,Ne=this._keyManager;switch(Qe){case D.hY:(0,D.Vb)(me)||(me.preventDefault(),this.closed.emit("keydown"));break;case D.oh:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case D.SV:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:(Qe===D.LH||Qe===D.JH)&&Ne.setFocusOrigin("keyboard"),Ne.onKeydown(me)}}focusFirstItem(me="program"){this.lazyContent?this._ngZone.onStable.pipe((0,U.q)(1)).subscribe(()=>this._focusFirstItem(me)):this._focusFirstItem(me)}_focusFirstItem(me){const Qe=this._keyManager;if(Qe.setFocusOrigin(me).setFirstItemActive(),!Qe.activeItem&&this._directDescendantItems.length){let Ne=this._directDescendantItems.first._getHostElement().parentElement;for(;Ne;){if("menu"===Ne.getAttribute("role")){Ne.focus();break}Ne=Ne.parentElement}}}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(me){const Qe=Math.min(this._baseElevation+me,24),Ne=`${this._elevationPrefix}${Qe}`,Ee=Object.keys(this._classList).find(Ve=>Ve.startsWith(this._elevationPrefix));(!Ee||Ee===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[Ne]=!0,this._previousElevation=Ne)}setPositionClasses(me=this.xPosition,Qe=this.yPosition){const Ne=this._classList;Ne["mat-menu-before"]="before"===me,Ne["mat-menu-after"]="after"===me,Ne["mat-menu-above"]="above"===Qe,Ne["mat-menu-below"]="below"===Qe}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(me){this._animationDone.next(me),this._isAnimating=!1}_onAnimationStart(me){this._isAnimating=!0,"enter"===me.toState&&0===this._keyManager.activeItemIndex&&(me.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe((0,X.O)(this._allItems)).subscribe(me=>{this._directDescendantItems.reset(me.filter(Qe=>Qe._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}}return he.\u0275fac=function(me){return new(me||he)(x.Y36(x.SBq),x.Y36(x.R0b),x.Y36(jt))},he.\u0275dir=x.lG2({type:he,contentQueries:function(me,Qe,Ne){if(1&me&&(x.Suo(Ne,Ae,5),x.Suo(Ne,It,5),x.Suo(Ne,It,4)),2&me){let Ee;x.iGM(Ee=x.CRH())&&(Qe.lazyContent=Ee.first),x.iGM(Ee=x.CRH())&&(Qe._allItems=Ee),x.iGM(Ee=x.CRH())&&(Qe.items=Ee)}},viewQuery:function(me,Qe){if(1&me&&x.Gf(x.Rgc,5),2&me){let Ne;x.iGM(Ne=x.CRH())&&(Qe.templateRef=Ne.first)}},inputs:{backdropClass:"backdropClass",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:"overlapTrigger",hasBackdrop:"hasBackdrop",panelClass:["class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"}}),he})(),ae=(()=>{class he extends Te{constructor(me,Qe,Ne){super(me,Qe,Ne),this._elevationPrefix="mat-elevation-z",this._baseElevation=4}}return he.\u0275fac=function(me){return new(me||he)(x.Y36(x.SBq),x.Y36(x.R0b),x.Y36(jt))},he.\u0275cmp=x.Xpm({type:he,selectors:[["mat-menu"]],hostVars:3,hostBindings:function(me,Qe){2&me&&x.uIk("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[x._Bn([{provide:pt,useExisting:he}]),x.qOj],ngContentSelectors:ge,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-menu-panel",3,"id","ngClass","keydown","click"],[1,"mat-menu-content"]],template:function(me,Qe){1&me&&(x.F$t(),x.YNc(0,V,3,6,"ng-template"))},directives:[Le.mk],styles:["mat-menu{display:none}.mat-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;max-height:calc(100vh - 48px);border-radius:4px;outline:0;min-height:64px}.mat-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-menu-panel{outline:solid 1px}.mat-menu-content:not(:empty){padding-top:8px;padding-bottom:8px}.mat-menu-item{-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative}.mat-menu-item::-moz-focus-inner{border:0}.mat-menu-item[disabled]{cursor:default}[dir=rtl] .mat-menu-item{text-align:right}.mat-menu-item .mat-icon{margin-right:16px;vertical-align:middle}.mat-menu-item .mat-icon svg{vertical-align:top}[dir=rtl] .mat-menu-item .mat-icon{margin-left:16px;margin-right:0}.mat-menu-item[disabled]{pointer-events:none}.cdk-high-contrast-active .mat-menu-item{margin-top:1px}.cdk-high-contrast-active .mat-menu-item.cdk-program-focused,.cdk-high-contrast-active .mat-menu-item.cdk-keyboard-focused,.cdk-high-contrast-active .mat-menu-item-highlighted{outline:dotted 1px}.mat-menu-item-submenu-trigger{padding-right:32px}[dir=rtl] .mat-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}.mat-menu-submenu-icon{position:absolute;top:50%;right:16px;transform:translateY(-50%);width:5px;height:10px;fill:currentColor}[dir=rtl] .mat-menu-submenu-icon{right:auto;left:16px;transform:translateY(-50%) scaleX(-1)}.cdk-high-contrast-active .mat-menu-submenu-icon{fill:CanvasText}button.mat-menu-item{width:100%}.mat-menu-item .mat-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}\n"],encapsulation:2,data:{animation:[J.transformMenu,J.fadeInItems]},changeDetection:0}),he})();const we=new x.OlP("mat-menu-scroll-strategy"),lt={provide:we,deps:[Ke.aV],useFactory:function(he){return()=>he.scrollStrategies.reposition()}},Ot=(0,Ge.i$)({passive:!0});let tn=(()=>{class he{constructor(me,Qe,Ne,Ee,Ve,vt,Tt,Ut){this._overlay=me,this._element=Qe,this._viewContainerRef=Ne,this._menuItemInstance=vt,this._dir=Tt,this._focusMonitor=Ut,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=A.w0.EMPTY,this._hoverSubscription=A.w0.EMPTY,this._menuCloseSubscription=A.w0.EMPTY,this._handleTouchStart=kt=>{(0,u.yG)(kt)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new x.vpe,this.onMenuOpen=this.menuOpened,this.menuClosed=new x.vpe,this.onMenuClose=this.menuClosed,this._scrollStrategy=Ee,this._parentMaterialMenu=Ve instanceof Te?Ve:void 0,Qe.nativeElement.addEventListener("touchstart",this._handleTouchStart,Ot),vt&&(vt._triggersSubmenu=this.triggersSubmenu())}get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(me){this.menu=me}get menu(){return this._menu}set menu(me){me!==this._menu&&(this._menu=me,this._menuCloseSubscription.unsubscribe(),me&&(this._menuCloseSubscription=me.close.subscribe(Qe=>{this._destroyMenu(Qe),("click"===Qe||"tab"===Qe)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(Qe)})))}ngAfterContentInit(){this._checkMenu(),this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,Ot),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}triggersSubmenu(){return!(!this._menuItemInstance||!this._parentMaterialMenu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){if(this._menuOpen)return;this._checkMenu();const me=this._createOverlay(),Qe=me.getConfig();this._setPosition(Qe.positionStrategy),Qe.hasBackdrop=null==this.menu.hasBackdrop?!this.triggersSubmenu():this.menu.hasBackdrop,me.attach(this._getPortal()),this.menu.lazyContent&&this.menu.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(),this.menu instanceof Te&&this.menu._startAnimation()}closeMenu(){this.menu.close.emit()}focus(me,Qe){this._focusMonitor&&me?this._focusMonitor.focusVia(this._element,me,Qe):this._element.nativeElement.focus(Qe)}updatePosition(){var me;null==(me=this._overlayRef)||me.updatePosition()}_destroyMenu(me){if(!this._overlayRef||!this.menuOpen)return;const Qe=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===me||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,Qe instanceof Te?(Qe._resetAnimation(),Qe.lazyContent?Qe._animationDone.pipe((0,j.h)(Ne=>"void"===Ne.toState),(0,U.q)(1),(0,B.R)(Qe.lazyContent._attached)).subscribe({next:()=>Qe.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),Qe.lazyContent&&Qe.lazyContent.detach())}_initMenu(){this.menu.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,this.menu.direction=this.dir,this._setMenuElevation(),this.menu.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(){if(this.menu.setElevation){let me=0,Qe=this.menu.parentMenu;for(;Qe;)me++,Qe=Qe.parentMenu;this.menu.setElevation(me)}}_setIsMenuOpen(me){this._menuOpen=me,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(me)}_checkMenu(){}_createOverlay(){if(!this._overlayRef){const me=this._getOverlayConfig();this._subscribeToPositions(me.positionStrategy),this._overlayRef=this._overlay.create(me),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(){return new Ke.X_({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:this.menu.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:this.menu.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(me){this.menu.setPositionClasses&&me.positionChanges.subscribe(Qe=>{this.menu.setPositionClasses("start"===Qe.connectionPair.overlayX?"after":"before","top"===Qe.connectionPair.overlayY?"below":"above")})}_setPosition(me){let[Qe,Ne]="before"===this.menu.xPosition?["end","start"]:["start","end"],[Ee,Ve]="above"===this.menu.yPosition?["bottom","top"]:["top","bottom"],[vt,Tt]=[Ee,Ve],[Ut,kt]=[Qe,Ne],Wt=0;this.triggersSubmenu()?(kt=Qe="before"===this.menu.xPosition?"start":"end",Ne=Ut="end"===Qe?"start":"end",Wt="bottom"===Ee?8:-8):this.menu.overlapTrigger||(vt="top"===Ee?"bottom":"top",Tt="top"===Ve?"bottom":"top"),me.withPositions([{originX:Qe,originY:vt,overlayX:Ut,overlayY:Ee,offsetY:Wt},{originX:Ne,originY:vt,overlayX:kt,overlayY:Ee,offsetY:Wt},{originX:Qe,originY:Tt,overlayX:Ut,overlayY:Ve,offsetY:-Wt},{originX:Ne,originY:Tt,overlayX:kt,overlayY:Ve,offsetY:-Wt}])}_menuClosingActions(){const me=this._overlayRef.backdropClick(),Qe=this._overlayRef.detachments(),Ne=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,F.of)(),Ee=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe((0,j.h)(Ve=>Ve!==this._menuItemInstance),(0,j.h)(()=>this._menuOpen)):(0,F.of)();return(0,O.T)(me,Ne,Ee,Qe)}_handleMousedown(me){(0,u.X6)(me)||(this._openedBy=0===me.button?"mouse":void 0,this.triggersSubmenu()&&me.preventDefault())}_handleKeydown(me){const Qe=me.keyCode;(Qe===D.K5||Qe===D.L_)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(Qe===D.SV&&"ltr"===this.dir||Qe===D.oh&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(me){this.triggersSubmenu()?(me.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe((0,j.h)(me=>me===this._menuItemInstance&&!me.disabled),(0,q.g)(0,z.E)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof Te&&this.menu._isAnimating?this.menu._animationDone.pipe((0,U.q)(1),(0,q.g)(0,z.E),(0,B.R)(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(){return(!this._portal||this._portal.templateRef!==this.menu.templateRef)&&(this._portal=new fe.UE(this.menu.templateRef,this._viewContainerRef)),this._portal}}return he.\u0275fac=function(me){return new(me||he)(x.Y36(Ke.aV),x.Y36(x.SBq),x.Y36(x.s_b),x.Y36(we),x.Y36(pt,8),x.Y36(It,10),x.Y36(ft.Is,8),x.Y36(u.tE))},he.\u0275dir=x.lG2({type:he,hostAttrs:["aria-haspopup","true"],hostVars:2,hostBindings:function(me,Qe){1&me&&x.NdJ("click",function(Ee){return Qe._handleClick(Ee)})("mousedown",function(Ee){return Qe._handleMousedown(Ee)})("keydown",function(Ee){return Qe._handleKeydown(Ee)}),2&me&&x.uIk("aria-expanded",Qe.menuOpen||null)("aria-controls",Qe.menuOpen?Qe.menu.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:["mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:["matMenuTriggerFor","menu"],menuData:["matMenuTriggerData","menuData"],restoreFocus:["matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"}}),he})(),St=(()=>{class he extends tn{}return he.\u0275fac=function(){let Ze;return function(Qe){return(Ze||(Ze=x.n5z(he)))(Qe||he)}}(),he.\u0275dir=x.lG2({type:he,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-menu-trigger"],exportAs:["matMenuTrigger"],features:[x.qOj]}),he})(),de=(()=>{class he{}return he.\u0275fac=function(me){return new(me||he)},he.\u0275mod=x.oAB({type:he}),he.\u0275inj=x.cJS({providers:[lt],imports:[[Le.ez,st.BQ,st.si,Ke.U8],ut.ZD,st.BQ]}),he})()},9632:(xt,Ie,w)=>{"use strict";w.d(Ie,{ux:()=>et,ZX:()=>Dt});var u=w(7219),m=w(5711),D=w(6019),x=w(3668),ee=w(6731),A=w(86),O=w(273),F=w(928),z=w(9468),X=w(6263),H=w(9814),U=w(4006),j=w(348),B=w(5804),q=w(1404),se=w(8305),fe=w(9661),Le=w(9463),st=w(4753),ft=w(3970);const Ge=new Set;let ut,Pe=(()=>{class xe{constructor(ae){this._platform=ae,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):ge}matchMedia(ae){return(this._platform.WEBKIT||this._platform.BLINK)&&function(xe){if(!Ge.has(xe))try{ut||(ut=document.createElement("style"),ut.setAttribute("type","text/css"),document.head.appendChild(ut)),ut.sheet&&(ut.sheet.insertRule(`@media ${xe} {body{ }}`,0),Ge.add(xe))}catch(Te){console.error(Te)}}(ae),this._matchMedia(ae)}}return xe.\u0275fac=function(ae){return new(ae||xe)(x.LFG(F.t4))},xe.\u0275prov=x.Yz7({token:xe,factory:xe.\u0275fac,providedIn:"root"}),xe})();function ge(xe){return{matches:"all"===xe||""===xe,media:xe,addListener:()=>{},removeListener:()=>{}}}let V=(()=>{class xe{constructor(ae,we){this._mediaMatcher=ae,this._zone=we,this._queries=new Map,this._destroySubject=new O.x}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(ae){return J((0,j.Eq)(ae)).some(Me=>this._registerQuery(Me).mql.matches)}observe(ae){const Me=J((0,j.Eq)(ae)).map(Ct=>this._registerQuery(Ct).observable);let lt=(0,B.a)(Me);return lt=(0,q.z)(lt.pipe((0,z.q)(1)),lt.pipe((0,fe.T)(1),(0,Le.b)(0))),lt.pipe((0,st.U)(Ct=>{const Ot={matches:!1,breakpoints:{}};return Ct.forEach(({matches:tn,query:St})=>{Ot.matches=Ot.matches||tn,Ot.breakpoints[St]=tn}),Ot}))}_registerQuery(ae){if(this._queries.has(ae))return this._queries.get(ae);const we=this._mediaMatcher.matchMedia(ae),lt={observable:new se.y(Ct=>{const Ot=tn=>this._zone.run(()=>Ct.next(tn));return we.addListener(Ot),()=>{we.removeListener(Ot)}}).pipe((0,ft.O)(we),(0,st.U)(({matches:Ct})=>({query:ae,matches:Ct})),(0,X.R)(this._destroySubject)),mql:we};return this._queries.set(ae,lt),lt}}return xe.\u0275fac=function(ae){return new(ae||xe)(x.LFG(Pe),x.LFG(x.R0b))},xe.\u0275prov=x.Yz7({token:xe,factory:xe.\u0275fac,providedIn:"root"}),xe})();function J(xe){return xe.map(Te=>Te.split(",")).reduce((Te,ae)=>Te.concat(ae)).map(Te=>Te.trim())}function ve(xe,Te){if(1&xe){const ae=x.EpF();x.TgZ(0,"div",1),x.TgZ(1,"button",2),x.NdJ("click",function(){return x.CHM(ae),x.oxw().action()}),x._uU(2),x.qZA(),x.qZA()}if(2&xe){const ae=x.oxw();x.xp6(2),x.Oqu(ae.data.action)}}function Ae(xe,Te){}const De=new x.OlP("MatSnackBarData");class qe{constructor(){this.politeness="assertive",this.announcementMessage="",this.duration=0,this.data=null,this.horizontalPosition="center",this.verticalPosition="bottom"}}const ht=Math.pow(2,31)-1;class Vt{constructor(Te,ae){this._overlayRef=ae,this._afterDismissed=new O.x,this._afterOpened=new O.x,this._onAction=new O.x,this._dismissedByAction=!1,this.containerInstance=Te,this.onAction().subscribe(()=>this.dismiss()),Te._onExit.subscribe(()=>this._finishDismiss())}dismiss(){this._afterDismissed.closed||this.containerInstance.exit(),clearTimeout(this._durationTimeoutId)}dismissWithAction(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete()),clearTimeout(this._durationTimeoutId)}closeWithAction(){this.dismissWithAction()}_dismissAfter(Te){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(Te,ht))}_open(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())}_finishDismiss(){this._overlayRef.dispose(),this._onAction.closed||this._onAction.complete(),this._afterDismissed.next({dismissedByAction:this._dismissedByAction}),this._afterDismissed.complete(),this._dismissedByAction=!1}afterDismissed(){return this._afterDismissed}afterOpened(){return this.containerInstance._onEnter}onAction(){return this._onAction}}let ze=(()=>{class xe{constructor(ae,we){this.snackBarRef=ae,this.data=we}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}}return xe.\u0275fac=function(ae){return new(ae||xe)(x.Y36(Vt),x.Y36(De))},xe.\u0275cmp=x.Xpm({type:xe,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-simple-snackbar"],decls:3,vars:2,consts:[["class","mat-simple-snackbar-action",4,"ngIf"],[1,"mat-simple-snackbar-action"],["mat-button","",3,"click"]],template:function(ae,we){1&ae&&(x.TgZ(0,"span"),x._uU(1),x.qZA(),x.YNc(2,ve,3,1,"div",0)),2&ae&&(x.xp6(1),x.Oqu(we.data.message),x.xp6(1),x.Q6J("ngIf",we.hasAction))},directives:[D.O5,A.lW],styles:[".mat-simple-snackbar{display:flex;justify-content:space-between;align-items:center;line-height:20px;opacity:1}.mat-simple-snackbar-action{flex-shrink:0;margin:-8px -8px -8px 8px}.mat-simple-snackbar-action button{max-height:36px;min-width:0}[dir=rtl] .mat-simple-snackbar-action{margin-left:-8px;margin-right:8px}\n"],encapsulation:2,changeDetection:0}),xe})();const it={snackBarState:(0,H.X$)("state",[(0,H.SB)("void, hidden",(0,H.oB)({transform:"scale(0.8)",opacity:0})),(0,H.SB)("visible",(0,H.oB)({transform:"scale(1)",opacity:1})),(0,H.eR)("* => visible",(0,H.jt)("150ms cubic-bezier(0, 0, 0.2, 1)")),(0,H.eR)("* => void, * => hidden",(0,H.jt)("75ms cubic-bezier(0.4, 0.0, 1, 1)",(0,H.oB)({opacity:0})))])};let pt=(()=>{class xe extends m.en{constructor(ae,we,Me,lt,Ct){super(),this._ngZone=ae,this._elementRef=we,this._changeDetectorRef=Me,this._platform=lt,this.snackBarConfig=Ct,this._announceDelay=150,this._destroyed=!1,this._onAnnounce=new O.x,this._onExit=new O.x,this._onEnter=new O.x,this._animationState="void",this.attachDomPortal=Ot=>(this._assertNotAttached(),this._applySnackBarClasses(),this._portalOutlet.attachDomPortal(Ot)),this._live="assertive"!==Ct.politeness||Ct.announcementMessage?"off"===Ct.politeness?"off":"polite":"assertive",this._platform.FIREFOX&&("polite"===this._live&&(this._role="status"),"assertive"===this._live&&(this._role="alert"))}attachComponentPortal(ae){return this._assertNotAttached(),this._applySnackBarClasses(),this._portalOutlet.attachComponentPortal(ae)}attachTemplatePortal(ae){return this._assertNotAttached(),this._applySnackBarClasses(),this._portalOutlet.attachTemplatePortal(ae)}onAnimationEnd(ae){const{fromState:we,toState:Me}=ae;if(("void"===Me&&"void"!==we||"hidden"===Me)&&this._completeExit(),"visible"===Me){const lt=this._onEnter;this._ngZone.run(()=>{lt.next(),lt.complete()})}}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce())}exit(){return this._animationState="hidden",this._elementRef.nativeElement.setAttribute("mat-exit",""),clearTimeout(this._announceTimeoutId),this._onExit}ngOnDestroy(){this._destroyed=!0,this._completeExit()}_completeExit(){this._ngZone.onMicrotaskEmpty.pipe((0,z.q)(1)).subscribe(()=>{this._onExit.next(),this._onExit.complete()})}_applySnackBarClasses(){const ae=this._elementRef.nativeElement,we=this.snackBarConfig.panelClass;we&&(Array.isArray(we)?we.forEach(Me=>ae.classList.add(Me)):ae.classList.add(we)),"center"===this.snackBarConfig.horizontalPosition&&ae.classList.add("mat-snack-bar-center"),"top"===this.snackBarConfig.verticalPosition&&ae.classList.add("mat-snack-bar-top")}_assertNotAttached(){this._portalOutlet.hasAttached()}_screenReaderAnnounce(){this._announceTimeoutId||this._ngZone.runOutsideAngular(()=>{this._announceTimeoutId=setTimeout(()=>{const ae=this._elementRef.nativeElement.querySelector("[aria-hidden]"),we=this._elementRef.nativeElement.querySelector("[aria-live]");if(ae&&we){let Me=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&ae.contains(document.activeElement)&&(Me=document.activeElement),ae.removeAttribute("aria-hidden"),we.appendChild(ae),null==Me||Me.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}}return xe.\u0275fac=function(ae){return new(ae||xe)(x.Y36(x.R0b),x.Y36(x.SBq),x.Y36(x.sBO),x.Y36(F.t4),x.Y36(qe))},xe.\u0275cmp=x.Xpm({type:xe,selectors:[["snack-bar-container"]],viewQuery:function(ae,we){if(1&ae&&x.Gf(m.Pl,7),2&ae){let Me;x.iGM(Me=x.CRH())&&(we._portalOutlet=Me.first)}},hostAttrs:[1,"mat-snack-bar-container"],hostVars:1,hostBindings:function(ae,we){1&ae&&x.WFA("@state.done",function(lt){return we.onAnimationEnd(lt)}),2&ae&&x.d8E("@state",we._animationState)},features:[x.qOj],decls:3,vars:2,consts:[["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(ae,we){1&ae&&(x.TgZ(0,"div",0),x.YNc(1,Ae,0,0,"ng-template",1),x.qZA(),x._UZ(2,"div")),2&ae&&(x.xp6(2),x.uIk("aria-live",we._live)("role",we._role))},directives:[m.Pl],styles:[".mat-snack-bar-container{border-radius:4px;box-sizing:border-box;display:block;margin:24px;max-width:33vw;min-width:344px;padding:14px 16px;min-height:48px;transform-origin:center}.cdk-high-contrast-active .mat-snack-bar-container{border:solid 1px}.mat-snack-bar-handset{width:100%}.mat-snack-bar-handset .mat-snack-bar-container{margin:8px;max-width:100%;min-width:0;width:100%}\n"],encapsulation:2,data:{animation:[it.snackBarState]}}),xe})(),Dt=(()=>{class xe{}return xe.\u0275fac=function(ae){return new(ae||xe)},xe.\u0275mod=x.oAB({type:xe}),xe.\u0275inj=x.cJS({imports:[[u.U8,m.eL,D.ez,A.ot,ee.BQ],ee.BQ]}),xe})();const It=new x.OlP("mat-snack-bar-default-options",{providedIn:"root",factory:function(){return new qe}});let et=(()=>{class xe{constructor(ae,we,Me,lt,Ct,Ot){this._overlay=ae,this._live=we,this._injector=Me,this._breakpointObserver=lt,this._parentSnackBar=Ct,this._defaultConfig=Ot,this._snackBarRefAtThisLevel=null,this.simpleSnackBarComponent=ze,this.snackBarContainerComponent=pt,this.handsetCssClass="mat-snack-bar-handset"}get _openedSnackBarRef(){const ae=this._parentSnackBar;return ae?ae._openedSnackBarRef:this._snackBarRefAtThisLevel}set _openedSnackBarRef(ae){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=ae:this._snackBarRefAtThisLevel=ae}openFromComponent(ae,we){return this._attach(ae,we)}openFromTemplate(ae,we){return this._attach(ae,we)}open(ae,we="",Me){const lt=cn(cn({},this._defaultConfig),Me);return lt.data={message:ae,action:we},lt.announcementMessage===ae&&(lt.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,lt)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(ae,we){const lt=x.zs3.create({parent:we&&we.viewContainerRef&&we.viewContainerRef.injector||this._injector,providers:[{provide:qe,useValue:we}]}),Ct=new m.C5(this.snackBarContainerComponent,we.viewContainerRef,lt),Ot=ae.attach(Ct);return Ot.instance.snackBarConfig=we,Ot.instance}_attach(ae,we){const Me=cn(cn(cn({},new qe),this._defaultConfig),we),lt=this._createOverlay(Me),Ct=this._attachSnackBarContainer(lt,Me),Ot=new Vt(Ct,lt);if(ae instanceof x.Rgc){const tn=new m.UE(ae,null,{$implicit:Me.data,snackBarRef:Ot});Ot.instance=Ct.attachTemplatePortal(tn)}else{const tn=this._createInjector(Me,Ot),St=new m.C5(ae,void 0,tn),de=Ct.attachComponentPortal(St);Ot.instance=de.instance}return this._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait)").pipe((0,X.R)(lt.detachments())).subscribe(tn=>{lt.overlayElement.classList.toggle(this.handsetCssClass,tn.matches)}),Me.announcementMessage&&Ct._onAnnounce.subscribe(()=>{this._live.announce(Me.announcementMessage,Me.politeness)}),this._animateSnackBar(Ot,Me),this._openedSnackBarRef=Ot,this._openedSnackBarRef}_animateSnackBar(ae,we){ae.afterDismissed().subscribe(()=>{this._openedSnackBarRef==ae&&(this._openedSnackBarRef=null),we.announcementMessage&&this._live.clear()}),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{ae.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):ae.containerInstance.enter(),we.duration&&we.duration>0&&ae.afterOpened().subscribe(()=>ae._dismissAfter(we.duration))}_createOverlay(ae){const we=new u.X_;we.direction=ae.direction;let Me=this._overlay.position().global();const lt="rtl"===ae.direction,Ct="left"===ae.horizontalPosition||"start"===ae.horizontalPosition&&!lt||"end"===ae.horizontalPosition&&lt,Ot=!Ct&&"center"!==ae.horizontalPosition;return Ct?Me.left("0"):Ot?Me.right("0"):Me.centerHorizontally(),"top"===ae.verticalPosition?Me.top("0"):Me.bottom("0"),we.positionStrategy=Me,this._overlay.create(we)}_createInjector(ae,we){return x.zs3.create({parent:ae&&ae.viewContainerRef&&ae.viewContainerRef.injector||this._injector,providers:[{provide:Vt,useValue:we},{provide:De,useValue:ae.data}]})}}return xe.\u0275fac=function(ae){return new(ae||xe)(x.LFG(u.aV),x.LFG(U.Kd),x.LFG(x.zs3),x.LFG(V),x.LFG(xe,12),x.LFG(It))},xe.\u0275prov=x.Yz7({token:xe,factory:xe.\u0275fac,providedIn:Dt}),xe})()},9555:(xt,Ie,w)=>{"use strict";w.d(Ie,{Qb:()=>cr,PW:()=>At});var u=w(3668),m=w(5427),D=w(9814);function x(){return"undefined"!=typeof window&&void 0!==window.document}function ee(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function A(ie){switch(ie.length){case 0:return new D.ZN;case 1:return ie[0];default:return new D.ZE(ie)}}function O(ie,v,b,P,Z={},ye={}){const $e=[],Je=[];let _t=-1,Ft=null;if(P.forEach(qt=>{const rn=qt.offset,vn=rn==_t,kn=vn&&Ft||{};Object.keys(qt).forEach(_n=>{let xn=_n,Jn=qt[_n];if("offset"!==_n)switch(xn=v.normalizePropertyName(xn,$e),Jn){case D.k1:Jn=Z[_n];break;case D.l3:Jn=ye[_n];break;default:Jn=v.normalizeStyleValue(_n,xn,Jn,$e)}kn[xn]=Jn}),vn||Je.push(kn),Ft=kn,_t=rn}),$e.length){const qt="\n - ";throw new Error(`Unable to animate due to the following errors:${qt}${$e.join(qt)}`)}return Je}function F(ie,v,b,P){switch(v){case"start":ie.onStart(()=>P(b&&z(b,"start",ie)));break;case"done":ie.onDone(()=>P(b&&z(b,"done",ie)));break;case"destroy":ie.onDestroy(()=>P(b&&z(b,"destroy",ie)))}}function z(ie,v,b){const P=b.totalTime,ye=X(ie.element,ie.triggerName,ie.fromState,ie.toState,v||ie.phaseName,null==P?ie.totalTime:P,!!b.disabled),$e=ie._data;return null!=$e&&(ye._data=$e),ye}function X(ie,v,b,P,Z="",ye=0,$e){return{element:ie,triggerName:v,fromState:b,toState:P,phaseName:Z,totalTime:ye,disabled:!!$e}}function H(ie,v,b){let P;return ie instanceof Map?(P=ie.get(v),P||ie.set(v,P=b)):(P=ie[v],P||(P=ie[v]=b)),P}function U(ie){const v=ie.indexOf(":");return[ie.substring(1,v),ie.substr(v+1)]}let j=(ie,v)=>!1,B=(ie,v,b)=>[];(ee()||"undefined"!=typeof Element)&&(j=x()?(ie,v)=>{for(;v&&v!==document.documentElement;){if(v===ie)return!0;v=v.parentNode||v.host}return!1}:(ie,v)=>ie.contains(v),B=(ie,v,b)=>{let P=[];if(b){const Z=ie.querySelectorAll(v);for(let ye=0;ye<Z.length;ye++)P.push(Z[ye])}else{const Z=ie.querySelector(v);Z&&P.push(Z)}return P});let fe=null,Le=!1;function st(ie){fe||(fe=("undefined"!=typeof document?document.body:null)||{},Le=!!fe.style&&"WebkitAppearance"in fe.style);let v=!0;return fe.style&&!function(ie){return"ebkit"==ie.substring(1,6)}(ie)&&(v=ie in fe.style,!v&&Le&&(v="Webkit"+ie.charAt(0).toUpperCase()+ie.substr(1)in fe.style)),v}const Ke=j,Ge=B;function ut(ie){const v={};return Object.keys(ie).forEach(b=>{const P=b.replace(/([a-z])([A-Z])/g,"$1-$2");v[P]=ie[b]}),v}let Pe=(()=>{class ie{validateStyleProperty(b){return st(b)}matchesElement(b,P){return!1}containsElement(b,P){return Ke(b,P)}query(b,P,Z){return Ge(b,P,Z)}computeStyle(b,P,Z){return Z||""}animate(b,P,Z,ye,$e,Je=[],_t){return new D.ZN(Z,ye)}}return ie.\u0275fac=function(b){return new(b||ie)},ie.\u0275prov=u.Yz7({token:ie,factory:ie.\u0275fac}),ie})(),Ce=(()=>{class ie{}return ie.NOOP=new Pe,ie})();const le="ng-enter",ve="ng-leave",qe="ng-trigger",ht=".ng-trigger",Vt="ng-animating",ze=".ng-animating";function it(ie){if("number"==typeof ie)return ie;const v=ie.match(/^(-?[\.\d]+)(m?s)/);return!v||v.length<2?0:pt(parseFloat(v[1]),v[2])}function pt(ie,v){return"s"===v?1e3*ie:ie}function Dt(ie,v,b){return ie.hasOwnProperty("duration")?ie:function(ie,v,b){let Z,ye=0,$e="";if("string"==typeof ie){const Je=ie.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===Je)return v.push(`The provided timing value "${ie}" is invalid.`),{duration:0,delay:0,easing:""};Z=pt(parseFloat(Je[1]),Je[2]);const _t=Je[3];null!=_t&&(ye=pt(parseFloat(_t),Je[4]));const Ft=Je[5];Ft&&($e=Ft)}else Z=ie;if(!b){let Je=!1,_t=v.length;Z<0&&(v.push("Duration values below 0 are not allowed for this animation step."),Je=!0),ye<0&&(v.push("Delay values below 0 are not allowed for this animation step."),Je=!0),Je&&v.splice(_t,0,`The provided timing value "${ie}" is invalid.`)}return{duration:Z,delay:ye,easing:$e}}(ie,v,b)}function jt(ie,v={}){return Object.keys(ie).forEach(b=>{v[b]=ie[b]}),v}function xe(ie,v,b={}){if(v)for(let P in ie)b[P]=ie[P];else jt(ie,b);return b}function Te(ie,v,b){return b?v+":"+b+";":""}function ae(ie){let v="";for(let b=0;b<ie.style.length;b++){const P=ie.style.item(b);v+=Te(0,P,ie.style.getPropertyValue(P))}for(const b in ie.style)ie.style.hasOwnProperty(b)&&!b.startsWith("_")&&(v+=Te(0,me(b),ie.style[b]));ie.setAttribute("style",v)}function we(ie,v,b){ie.style&&(Object.keys(v).forEach(P=>{const Z=Ze(P);b&&!b.hasOwnProperty(P)&&(b[P]=ie.style[Z]),ie.style[Z]=v[P]}),ee()&&ae(ie))}function Me(ie,v){ie.style&&(Object.keys(v).forEach(b=>{const P=Ze(b);ie.style[P]=""}),ee()&&ae(ie))}function lt(ie){return Array.isArray(ie)?1==ie.length?ie[0]:(0,D.vP)(ie):ie}const Ot=new RegExp("{{\\s*(.+?)\\s*}}","g");function tn(ie){let v=[];if("string"==typeof ie){let b;for(;b=Ot.exec(ie);)v.push(b[1]);Ot.lastIndex=0}return v}function St(ie,v,b){const P=ie.toString(),Z=P.replace(Ot,(ye,$e)=>{let Je=v[$e];return v.hasOwnProperty($e)||(b.push(`Please provide a value for the animation param ${$e}`),Je=""),Je.toString()});return Z==P?ie:Z}function de(ie){const v=[];let b=ie.next();for(;!b.done;)v.push(b.value),b=ie.next();return v}const he=/-+([a-z0-9])/g;function Ze(ie){return ie.replace(he,(...v)=>v[1].toUpperCase())}function me(ie){return ie.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function Qe(ie,v){return 0===ie||0===v}function Ne(ie,v,b){const P=Object.keys(b);if(P.length&&v.length){let ye=v[0],$e=[];if(P.forEach(Je=>{ye.hasOwnProperty(Je)||$e.push(Je),ye[Je]=b[Je]}),$e.length)for(var Z=1;Z<v.length;Z++){let Je=v[Z];$e.forEach(function(_t){Je[_t]=Ve(ie,_t)})}}return v}function Ee(ie,v,b){switch(v.type){case 7:return ie.visitTrigger(v,b);case 0:return ie.visitState(v,b);case 1:return ie.visitTransition(v,b);case 2:return ie.visitSequence(v,b);case 3:return ie.visitGroup(v,b);case 4:return ie.visitAnimate(v,b);case 5:return ie.visitKeyframes(v,b);case 6:return ie.visitStyle(v,b);case 8:return ie.visitReference(v,b);case 9:return ie.visitAnimateChild(v,b);case 10:return ie.visitAnimateRef(v,b);case 11:return ie.visitQuery(v,b);case 12:return ie.visitStagger(v,b);default:throw new Error(`Unable to resolve animation metadata node #${v.type}`)}}function Ve(ie,v){return window.getComputedStyle(ie)[v]}function Tt(ie,v){const b=[];return"string"==typeof ie?ie.split(/\s*,\s*/).forEach(P=>function(ie,v,b){if(":"==ie[0]){const _t=function(ie,v){switch(ie){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(b,P)=>parseFloat(P)>parseFloat(b);case":decrement":return(b,P)=>parseFloat(P)<parseFloat(b);default:return v.push(`The transition alias value "${ie}" is not supported`),"* => *"}}(ie,b);if("function"==typeof _t)return void v.push(_t);ie=_t}const P=ie.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==P||P.length<4)return b.push(`The provided transition expression "${ie}" is not supported`),v;const Z=P[1],ye=P[2],$e=P[3];v.push(Pn(Z,$e));"<"==ye[0]&&!("*"==Z&&"*"==$e)&&v.push(Pn($e,Z))}(P,b,v)):b.push(ie),b}const Wt=new Set(["true","1"]),sn=new Set(["false","0"]);function Pn(ie,v){const b=Wt.has(ie)||sn.has(ie),P=Wt.has(v)||sn.has(v);return(Z,ye)=>{let $e="*"==ie||ie==Z,Je="*"==v||v==ye;return!$e&&b&&"boolean"==typeof Z&&($e=Z?Wt.has(ie):sn.has(ie)),!Je&&P&&"boolean"==typeof ye&&(Je=ye?Wt.has(v):sn.has(v)),$e&&Je}}const un=new RegExp("s*:selfs*,?","g");function Ln(ie,v,b){return new hn(ie).build(v,b)}class hn{constructor(v){this._driver=v}build(v,b){const P=new ct(b);return this._resetContextStyleTimingState(P),Ee(this,lt(v),P)}_resetContextStyleTimingState(v){v.currentQuerySelector="",v.collectedStyles={},v.collectedStyles[""]={},v.currentTime=0}visitTrigger(v,b){let P=b.queryCount=0,Z=b.depCount=0;const ye=[],$e=[];return"@"==v.name.charAt(0)&&b.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),v.definitions.forEach(Je=>{if(this._resetContextStyleTimingState(b),0==Je.type){const _t=Je,Ft=_t.name;Ft.toString().split(/\s*,\s*/).forEach(qt=>{_t.name=qt,ye.push(this.visitState(_t,b))}),_t.name=Ft}else if(1==Je.type){const _t=this.visitTransition(Je,b);P+=_t.queryCount,Z+=_t.depCount,$e.push(_t)}else b.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:v.name,states:ye,transitions:$e,queryCount:P,depCount:Z,options:null}}visitState(v,b){const P=this.visitStyle(v.styles,b),Z=v.options&&v.options.params||null;if(P.containsDynamicStyles){const ye=new Set,$e=Z||{};if(P.styles.forEach(Je=>{if(Nt(Je)){const _t=Je;Object.keys(_t).forEach(Ft=>{tn(_t[Ft]).forEach(qt=>{$e.hasOwnProperty(qt)||ye.add(qt)})})}}),ye.size){const Je=de(ye.values());b.errors.push(`state("${v.name}", ...) must define default values for all the following style substitutions: ${Je.join(", ")}`)}}return{type:0,name:v.name,style:P,options:Z?{params:Z}:null}}visitTransition(v,b){b.queryCount=0,b.depCount=0;const P=Ee(this,lt(v.animation),b);return{type:1,matchers:Tt(v.expr,b.errors),animation:P,queryCount:b.queryCount,depCount:b.depCount,options:je(v.options)}}visitSequence(v,b){return{type:2,steps:v.steps.map(P=>Ee(this,P,b)),options:je(v.options)}}visitGroup(v,b){const P=b.currentTime;let Z=0;const ye=v.steps.map($e=>{b.currentTime=P;const Je=Ee(this,$e,b);return Z=Math.max(Z,b.currentTime),Je});return b.currentTime=Z,{type:3,steps:ye,options:je(v.options)}}visitAnimate(v,b){const P=function(ie,v){let b=null;if(ie.hasOwnProperty("duration"))b=ie;else if("number"==typeof ie)return We(Dt(ie,v).duration,0,"");const P=ie;if(P.split(/\s+/).some(ye=>"{"==ye.charAt(0)&&"{"==ye.charAt(1))){const ye=We(0,0,"");return ye.dynamic=!0,ye.strValue=P,ye}return b=b||Dt(P,v),We(b.duration,b.delay,b.easing)}(v.timings,b.errors);b.currentAnimateTimings=P;let Z,ye=v.styles?v.styles:(0,D.oB)({});if(5==ye.type)Z=this.visitKeyframes(ye,b);else{let $e=v.styles,Je=!1;if(!$e){Je=!0;const Ft={};P.easing&&(Ft.easing=P.easing),$e=(0,D.oB)(Ft)}b.currentTime+=P.duration+P.delay;const _t=this.visitStyle($e,b);_t.isEmptyStep=Je,Z=_t}return b.currentAnimateTimings=null,{type:4,timings:P,style:Z,options:null}}visitStyle(v,b){const P=this._makeStyleAst(v,b);return this._validateStyleAst(P,b),P}_makeStyleAst(v,b){const P=[];Array.isArray(v.styles)?v.styles.forEach($e=>{"string"==typeof $e?$e==D.l3?P.push($e):b.errors.push(`The provided style string value ${$e} is not allowed.`):P.push($e)}):P.push(v.styles);let Z=!1,ye=null;return P.forEach($e=>{if(Nt($e)){const Je=$e,_t=Je.easing;if(_t&&(ye=_t,delete Je.easing),!Z)for(let Ft in Je)if(Je[Ft].toString().indexOf("{{")>=0){Z=!0;break}}}),{type:6,styles:P,easing:ye,offset:v.offset,containsDynamicStyles:Z,options:null}}_validateStyleAst(v,b){const P=b.currentAnimateTimings;let Z=b.currentTime,ye=b.currentTime;P&&ye>0&&(ye-=P.duration+P.delay),v.styles.forEach($e=>{"string"!=typeof $e&&Object.keys($e).forEach(Je=>{if(!this._driver.validateStyleProperty(Je))return void b.errors.push(`The provided animation property "${Je}" is not a supported CSS property for animations`);const _t=b.collectedStyles[b.currentQuerySelector],Ft=_t[Je];let qt=!0;Ft&&(ye!=Z&&ye>=Ft.startTime&&Z<=Ft.endTime&&(b.errors.push(`The CSS property "${Je}" that exists between the times of "${Ft.startTime}ms" and "${Ft.endTime}ms" is also being animated in a parallel animation between the times of "${ye}ms" and "${Z}ms"`),qt=!1),ye=Ft.startTime),qt&&(_t[Je]={startTime:ye,endTime:Z}),b.options&&function(ie,v,b){const P=v.params||{},Z=tn(ie);Z.length&&Z.forEach(ye=>{P.hasOwnProperty(ye)||b.push(`Unable to resolve the local animation param ${ye} in the given list of values`)})}($e[Je],b.options,b.errors)})})}visitKeyframes(v,b){const P={type:5,styles:[],options:null};if(!b.currentAnimateTimings)return b.errors.push("keyframes() must be placed inside of a call to animate()"),P;let ye=0;const $e=[];let Je=!1,_t=!1,Ft=0;const qt=v.steps.map(mi=>{const Di=this._makeStyleAst(mi,b);let Ri=null!=Di.offset?Di.offset:function(ie){if("string"==typeof ie)return null;let v=null;if(Array.isArray(ie))ie.forEach(b=>{if(Nt(b)&&b.hasOwnProperty("offset")){const P=b;v=parseFloat(P.offset),delete P.offset}});else if(Nt(ie)&&ie.hasOwnProperty("offset")){const b=ie;v=parseFloat(b.offset),delete b.offset}return v}(Di.styles),Si=0;return null!=Ri&&(ye++,Si=Di.offset=Ri),_t=_t||Si<0||Si>1,Je=Je||Si<Ft,Ft=Si,$e.push(Si),Di});_t&&b.errors.push("Please ensure that all keyframe offsets are between 0 and 1"),Je&&b.errors.push("Please ensure that all keyframe offsets are in order");const rn=v.steps.length;let vn=0;ye>0&&ye<rn?b.errors.push("Not all style() steps within the declared keyframes() contain offsets"):0==ye&&(vn=1/(rn-1));const kn=rn-1,_n=b.currentTime,xn=b.currentAnimateTimings,Jn=xn.duration;return qt.forEach((mi,Di)=>{const Ri=vn>0?Di==kn?1:vn*Di:$e[Di],Si=Ri*Jn;b.currentTime=_n+xn.delay+Si,xn.duration=Si,this._validateStyleAst(mi,b),mi.offset=Ri,P.styles.push(mi)}),P}visitReference(v,b){return{type:8,animation:Ee(this,lt(v.animation),b),options:je(v.options)}}visitAnimateChild(v,b){return b.depCount++,{type:9,options:je(v.options)}}visitAnimateRef(v,b){return{type:10,animation:this.visitReference(v.animation,b),options:je(v.options)}}visitQuery(v,b){const P=b.currentQuerySelector,Z=v.options||{};b.queryCount++,b.currentQuery=v;const[ye,$e]=function(ie){const v=!!ie.split(/\s*,\s*/).find(b=>":self"==b);return v&&(ie=ie.replace(un,"")),ie=ie.replace(/@\*/g,ht).replace(/@\w+/g,b=>ht+"-"+b.substr(1)).replace(/:animating/g,ze),[ie,v]}(v.selector);b.currentQuerySelector=P.length?P+" "+ye:ye,H(b.collectedStyles,b.currentQuerySelector,{});const Je=Ee(this,lt(v.animation),b);return b.currentQuery=null,b.currentQuerySelector=P,{type:11,selector:ye,limit:Z.limit||0,optional:!!Z.optional,includeSelf:$e,animation:Je,originalSelector:v.selector,options:je(v.options)}}visitStagger(v,b){b.currentQuery||b.errors.push("stagger() can only be used inside of query()");const P="full"===v.timings?{duration:0,delay:0,easing:"full"}:Dt(v.timings,b.errors,!0);return{type:12,animation:Ee(this,lt(v.animation),b),timings:P,options:null}}}class ct{constructor(v){this.errors=v,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null}}function Nt(ie){return!Array.isArray(ie)&&"object"==typeof ie}function je(ie){return ie?(ie=jt(ie)).params&&(ie.params=function(ie){return ie?jt(ie):null}(ie.params)):ie={},ie}function We(ie,v,b){return{duration:ie,delay:v,easing:b}}function tt(ie,v,b,P,Z,ye,$e=null,Je=!1){return{type:1,element:ie,keyframes:v,preStyleProps:b,postStyleProps:P,duration:Z,delay:ye,totalTime:Z+ye,easing:$e,subTimeline:Je}}class Y{constructor(){this._map=new Map}consume(v){let b=this._map.get(v);return b?this._map.delete(v):b=[],b}append(v,b){let P=this._map.get(v);P||this._map.set(v,P=[]),P.push(...b)}has(v){return this._map.has(v)}clear(){this._map.clear()}}const be=new RegExp(":enter","g"),_e=new RegExp(":leave","g");function Oe(ie,v,b,P,Z,ye={},$e={},Je,_t,Ft=[]){return(new ce).buildKeyframes(ie,v,b,P,Z,ye,$e,Je,_t,Ft)}class ce{buildKeyframes(v,b,P,Z,ye,$e,Je,_t,Ft,qt=[]){Ft=Ft||new Y;const rn=new Et(v,b,Ft,Z,ye,qt,[]);rn.options=_t,rn.currentTimeline.setStyles([$e],null,rn.errors,_t),Ee(this,P,rn);const vn=rn.timelines.filter(kn=>kn.containsAnimation());if(vn.length&&Object.keys(Je).length){const kn=vn[vn.length-1];kn.allowOnlyTimelineStyles()||kn.setStyles([Je],null,rn.errors,_t)}return vn.length?vn.map(kn=>kn.buildKeyframes()):[tt(b,[],[],[],0,0,"",!1)]}visitTrigger(v,b){}visitState(v,b){}visitTransition(v,b){}visitAnimateChild(v,b){const P=b.subInstructions.consume(b.element);if(P){const Z=b.createSubContext(v.options),ye=b.currentTimeline.currentTime,$e=this._visitSubInstructions(P,Z,Z.options);ye!=$e&&b.transformIntoNewTimeline($e)}b.previousNode=v}visitAnimateRef(v,b){const P=b.createSubContext(v.options);P.transformIntoNewTimeline(),this.visitReference(v.animation,P),b.transformIntoNewTimeline(P.currentTimeline.currentTime),b.previousNode=v}_visitSubInstructions(v,b,P){let ye=b.currentTimeline.currentTime;const $e=null!=P.duration?it(P.duration):null,Je=null!=P.delay?it(P.delay):null;return 0!==$e&&v.forEach(_t=>{const Ft=b.appendInstructionToTimeline(_t,$e,Je);ye=Math.max(ye,Ft.duration+Ft.delay)}),ye}visitReference(v,b){b.updateOptions(v.options,!0),Ee(this,v.animation,b),b.previousNode=v}visitSequence(v,b){const P=b.subContextCount;let Z=b;const ye=v.options;if(ye&&(ye.params||ye.delay)&&(Z=b.createSubContext(ye),Z.transformIntoNewTimeline(),null!=ye.delay)){6==Z.previousNode.type&&(Z.currentTimeline.snapshotCurrentStyles(),Z.previousNode=He);const $e=it(ye.delay);Z.delayNextStep($e)}v.steps.length&&(v.steps.forEach($e=>Ee(this,$e,Z)),Z.currentTimeline.applyStylesToKeyframe(),Z.subContextCount>P&&Z.transformIntoNewTimeline()),b.previousNode=v}visitGroup(v,b){const P=[];let Z=b.currentTimeline.currentTime;const ye=v.options&&v.options.delay?it(v.options.delay):0;v.steps.forEach($e=>{const Je=b.createSubContext(v.options);ye&&Je.delayNextStep(ye),Ee(this,$e,Je),Z=Math.max(Z,Je.currentTimeline.currentTime),P.push(Je.currentTimeline)}),P.forEach($e=>b.currentTimeline.mergeTimelineCollectedStyles($e)),b.transformIntoNewTimeline(Z),b.previousNode=v}_visitTiming(v,b){if(v.dynamic){const P=v.strValue;return Dt(b.params?St(P,b.params,b.errors):P,b.errors)}return{duration:v.duration,delay:v.delay,easing:v.easing}}visitAnimate(v,b){const P=b.currentAnimateTimings=this._visitTiming(v.timings,b),Z=b.currentTimeline;P.delay&&(b.incrementTime(P.delay),Z.snapshotCurrentStyles());const ye=v.style;5==ye.type?this.visitKeyframes(ye,b):(b.incrementTime(P.duration),this.visitStyle(ye,b),Z.applyStylesToKeyframe()),b.currentAnimateTimings=null,b.previousNode=v}visitStyle(v,b){const P=b.currentTimeline,Z=b.currentAnimateTimings;!Z&&P.getCurrentStyleProperties().length&&P.forwardFrame();const ye=Z&&Z.easing||v.easing;v.isEmptyStep?P.applyEmptyStep(ye):P.setStyles(v.styles,ye,b.errors,b.options),b.previousNode=v}visitKeyframes(v,b){const P=b.currentAnimateTimings,Z=b.currentTimeline.duration,ye=P.duration,Je=b.createSubContext().currentTimeline;Je.easing=P.easing,v.styles.forEach(_t=>{Je.forwardTime((_t.offset||0)*ye),Je.setStyles(_t.styles,_t.easing,b.errors,b.options),Je.applyStylesToKeyframe()}),b.currentTimeline.mergeTimelineCollectedStyles(Je),b.transformIntoNewTimeline(Z+ye),b.previousNode=v}visitQuery(v,b){const P=b.currentTimeline.currentTime,Z=v.options||{},ye=Z.delay?it(Z.delay):0;ye&&(6===b.previousNode.type||0==P&&b.currentTimeline.getCurrentStyleProperties().length)&&(b.currentTimeline.snapshotCurrentStyles(),b.previousNode=He);let $e=P;const Je=b.invokeQuery(v.selector,v.originalSelector,v.limit,v.includeSelf,!!Z.optional,b.errors);b.currentQueryTotal=Je.length;let _t=null;Je.forEach((Ft,qt)=>{b.currentQueryIndex=qt;const rn=b.createSubContext(v.options,Ft);ye&&rn.delayNextStep(ye),Ft===b.element&&(_t=rn.currentTimeline),Ee(this,v.animation,rn),rn.currentTimeline.applyStylesToKeyframe(),$e=Math.max($e,rn.currentTimeline.currentTime)}),b.currentQueryIndex=0,b.currentQueryTotal=0,b.transformIntoNewTimeline($e),_t&&(b.currentTimeline.mergeTimelineCollectedStyles(_t),b.currentTimeline.snapshotCurrentStyles()),b.previousNode=v}visitStagger(v,b){const P=b.parentContext,Z=b.currentTimeline,ye=v.timings,$e=Math.abs(ye.duration),Je=$e*(b.currentQueryTotal-1);let _t=$e*b.currentQueryIndex;switch(ye.duration<0?"reverse":ye.easing){case"reverse":_t=Je-_t;break;case"full":_t=P.currentStaggerTime}const qt=b.currentTimeline;_t&&qt.delayNextStep(_t);const rn=qt.currentTime;Ee(this,v.animation,b),b.previousNode=v,P.currentStaggerTime=Z.currentTime-rn+(Z.startTime-P.currentTimeline.startTime)}}const He={};class Et{constructor(v,b,P,Z,ye,$e,Je,_t){this._driver=v,this.element=b,this.subInstructions=P,this._enterClassName=Z,this._leaveClassName=ye,this.errors=$e,this.timelines=Je,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=He,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=_t||new Ht(this._driver,b,0),Je.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(v,b){if(!v)return;const P=v;let Z=this.options;null!=P.duration&&(Z.duration=it(P.duration)),null!=P.delay&&(Z.delay=it(P.delay));const ye=P.params;if(ye){let $e=Z.params;$e||($e=this.options.params={}),Object.keys(ye).forEach(Je=>{(!b||!$e.hasOwnProperty(Je))&&($e[Je]=St(ye[Je],$e,this.errors))})}}_copyOptions(){const v={};if(this.options){const b=this.options.params;if(b){const P=v.params={};Object.keys(b).forEach(Z=>{P[Z]=b[Z]})}}return v}createSubContext(v=null,b,P){const Z=b||this.element,ye=new Et(this._driver,Z,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(Z,P||0));return ye.previousNode=this.previousNode,ye.currentAnimateTimings=this.currentAnimateTimings,ye.options=this._copyOptions(),ye.updateOptions(v),ye.currentQueryIndex=this.currentQueryIndex,ye.currentQueryTotal=this.currentQueryTotal,ye.parentContext=this,this.subContextCount++,ye}transformIntoNewTimeline(v){return this.previousNode=He,this.currentTimeline=this.currentTimeline.fork(this.element,v),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(v,b,P){const Z={duration:null!=b?b:v.duration,delay:this.currentTimeline.currentTime+(null!=P?P:0)+v.delay,easing:""},ye=new dn(this._driver,v.element,v.keyframes,v.preStyleProps,v.postStyleProps,Z,v.stretchStartingKeyframe);return this.timelines.push(ye),Z}incrementTime(v){this.currentTimeline.forwardTime(this.currentTimeline.duration+v)}delayNextStep(v){v>0&&this.currentTimeline.delayNextStep(v)}invokeQuery(v,b,P,Z,ye,$e){let Je=[];if(Z&&Je.push(this.element),v.length>0){v=(v=v.replace(be,"."+this._enterClassName)).replace(_e,"."+this._leaveClassName);let Ft=this._driver.query(this.element,v,1!=P);0!==P&&(Ft=P<0?Ft.slice(Ft.length+P,Ft.length):Ft.slice(0,P)),Je.push(...Ft)}return!ye&&0==Je.length&&$e.push(`\`query("${b}")\` returned zero elements. (Use \`query("${b}", { optional: true })\` if you wish to allow this.)`),Je}}class Ht{constructor(v,b,P,Z){this._driver=v,this.element=b,this.startTime=P,this._elementTimelineStylesLookup=Z,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(b),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(b,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}getCurrentStyleProperties(){return Object.keys(this._currentKeyframe)}get currentTime(){return this.startTime+this.duration}delayNextStep(v){const b=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||b?(this.forwardTime(this.currentTime+v),b&&this.snapshotCurrentStyles()):this.startTime+=v}fork(v,b){return this.applyStylesToKeyframe(),new Ht(this._driver,v,b||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(v){this.applyStylesToKeyframe(),this.duration=v,this._loadKeyframe()}_updateStyle(v,b){this._localTimelineStyles[v]=b,this._globalTimelineStyles[v]=b,this._styleSummary[v]={time:this.currentTime,value:b}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(v){v&&(this._previousKeyframe.easing=v),Object.keys(this._globalTimelineStyles).forEach(b=>{this._backFill[b]=this._globalTimelineStyles[b]||D.l3,this._currentKeyframe[b]=D.l3}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(v,b,P,Z){b&&(this._previousKeyframe.easing=b);const ye=Z&&Z.params||{},$e=function(ie,v){const b={};let P;return ie.forEach(Z=>{"*"===Z?(P=P||Object.keys(v),P.forEach(ye=>{b[ye]=D.l3})):xe(Z,!1,b)}),b}(v,this._globalTimelineStyles);Object.keys($e).forEach(Je=>{const _t=St($e[Je],ye,P);this._pendingStyles[Je]=_t,this._localTimelineStyles.hasOwnProperty(Je)||(this._backFill[Je]=this._globalTimelineStyles.hasOwnProperty(Je)?this._globalTimelineStyles[Je]:D.l3),this._updateStyle(Je,_t)})}applyStylesToKeyframe(){const v=this._pendingStyles,b=Object.keys(v);0!=b.length&&(this._pendingStyles={},b.forEach(P=>{this._currentKeyframe[P]=v[P]}),Object.keys(this._localTimelineStyles).forEach(P=>{this._currentKeyframe.hasOwnProperty(P)||(this._currentKeyframe[P]=this._localTimelineStyles[P])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(v=>{const b=this._localTimelineStyles[v];this._pendingStyles[v]=b,this._updateStyle(v,b)})}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const v=[];for(let b in this._currentKeyframe)v.push(b);return v}mergeTimelineCollectedStyles(v){Object.keys(v._styleSummary).forEach(b=>{const P=this._styleSummary[b],Z=v._styleSummary[b];(!P||Z.time>P.time)&&this._updateStyle(b,Z.value)})}buildKeyframes(){this.applyStylesToKeyframe();const v=new Set,b=new Set,P=1===this._keyframes.size&&0===this.duration;let Z=[];this._keyframes.forEach((Je,_t)=>{const Ft=xe(Je,!0);Object.keys(Ft).forEach(qt=>{const rn=Ft[qt];rn==D.k1?v.add(qt):rn==D.l3&&b.add(qt)}),P||(Ft.offset=_t/this.duration),Z.push(Ft)});const ye=v.size?de(v.values()):[],$e=b.size?de(b.values()):[];if(P){const Je=Z[0],_t=jt(Je);Je.offset=0,_t.offset=1,Z=[Je,_t]}return tt(this.element,Z,ye,$e,this.duration,this.startTime,this.easing,!1)}}class dn extends Ht{constructor(v,b,P,Z,ye,$e,Je=!1){super(v,b,$e.delay),this.keyframes=P,this.preStyleProps=Z,this.postStyleProps=ye,this._stretchStartingKeyframe=Je,this.timings={duration:$e.duration,delay:$e.delay,easing:$e.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let v=this.keyframes,{delay:b,duration:P,easing:Z}=this.timings;if(this._stretchStartingKeyframe&&b){const ye=[],$e=P+b,Je=b/$e,_t=xe(v[0],!1);_t.offset=0,ye.push(_t);const Ft=xe(v[0],!1);Ft.offset=An(Je),ye.push(Ft);const qt=v.length-1;for(let rn=1;rn<=qt;rn++){let vn=xe(v[rn],!1);vn.offset=An((b+vn.offset*P)/$e),ye.push(vn)}P=$e,b=0,Z="",v=ye}return tt(this.element,v,this.preStyleProps,this.postStyleProps,P,b,Z,!0)}}function An(ie,v=3){const b=Math.pow(10,v-1);return Math.round(ie*b)/b}class On{}class fi extends On{normalizePropertyName(v,b){return Ze(v)}normalizeStyleValue(v,b,P,Z){let ye="";const $e=P.toString().trim();if(Re[b]&&0!==P&&"0"!==P)if("number"==typeof P)ye="px";else{const Je=P.match(/^[+-]?[\d\.]+([a-z]*)$/);Je&&0==Je[1].length&&Z.push(`Please provide a CSS unit value for ${v}:${P}`)}return $e+ye}}const Re=(()=>function(ie){const v={};return ie.forEach(b=>v[b]=!0),v}("width,height,minWidth,minHeight,maxWidth,maxHeight,left,top,bottom,right,fontSize,outlineWidth,outlineOffset,paddingTop,paddingLeft,paddingBottom,paddingRight,marginTop,marginLeft,marginBottom,marginRight,borderRadius,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,textIndent,perspective".split(",")))();function $(ie,v,b,P,Z,ye,$e,Je,_t,Ft,qt,rn,vn){return{type:0,element:ie,triggerName:v,isRemovalTransition:Z,fromState:b,fromStyles:ye,toState:P,toStyles:$e,timelines:Je,queriedElements:_t,preStyleProps:Ft,postStyleProps:qt,totalTime:rn,errors:vn}}const ue={};class Xe{constructor(v,b,P){this._triggerName=v,this.ast=b,this._stateStyles=P}match(v,b,P,Z){return function(ie,v,b,P,Z){return ie.some(ye=>ye(v,b,P,Z))}(this.ast.matchers,v,b,P,Z)}buildStyles(v,b,P){const Z=this._stateStyles["*"],ye=this._stateStyles[v],$e=Z?Z.buildStyles(b,P):{};return ye?ye.buildStyles(b,P):$e}build(v,b,P,Z,ye,$e,Je,_t,Ft,qt){const rn=[],vn=this.ast.options&&this.ast.options.params||ue,_n=this.buildStyles(P,Je&&Je.params||ue,rn),xn=_t&&_t.params||ue,Jn=this.buildStyles(Z,xn,rn),mi=new Set,Di=new Map,Ri=new Map,Si="void"===Z,Mr={params:cn(cn({},vn),xn)},qi=qt?[]:Oe(v,b,this.ast.animation,ye,$e,_n,Jn,Mr,Ft,rn);let Ei=0;if(qi.forEach(ur=>{Ei=Math.max(ur.duration+ur.delay,Ei)}),rn.length)return $(b,this._triggerName,P,Z,Si,_n,Jn,[],[],Di,Ri,Ei,rn);qi.forEach(ur=>{const Zi=ur.element,ps=H(Di,Zi,{});ur.preStyleProps.forEach(wi=>ps[wi]=!0);const Qr=H(Ri,Zi,{});ur.postStyleProps.forEach(wi=>Qr[wi]=!0),Zi!==b&&mi.add(Zi)});const ir=de(mi.values());return $(b,this._triggerName,P,Z,Si,_n,Jn,qi,ir,Di,Ri,Ei)}}class dt{constructor(v,b,P){this.styles=v,this.defaultParams=b,this.normalizer=P}buildStyles(v,b){const P={},Z=jt(this.defaultParams);return Object.keys(v).forEach(ye=>{const $e=v[ye];null!=$e&&(Z[ye]=$e)}),this.styles.styles.forEach(ye=>{if("string"!=typeof ye){const $e=ye;Object.keys($e).forEach(Je=>{let _t=$e[Je];_t.length>1&&(_t=St(_t,Z,b));const Ft=this.normalizer.normalizePropertyName(Je,b);_t=this.normalizer.normalizeStyleValue(Je,Ft,_t,b),P[Ft]=_t})}}),P}}class Lt{constructor(v,b,P){this.name=v,this.ast=b,this._normalizer=P,this.transitionFactories=[],this.states={},b.states.forEach(Z=>{this.states[Z.name]=new dt(Z.style,Z.options&&Z.options.params||{},P)}),Jt(this.states,"true","1"),Jt(this.states,"false","0"),b.transitions.forEach(Z=>{this.transitionFactories.push(new Xe(v,Z,this.states))}),this.fallbackTransition=function(ie,v,b){return new Xe(ie,{type:1,animation:{type:2,steps:[],options:null},matchers:[($e,Je)=>!0],options:null,queryCount:0,depCount:0},v)}(v,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(v,b,P,Z){return this.transitionFactories.find($e=>$e.match(v,b,P,Z))||null}matchStyles(v,b,P){return this.fallbackTransition.buildStyles(v,b,P)}}function Jt(ie,v,b){ie.hasOwnProperty(v)?ie.hasOwnProperty(b)||(ie[b]=ie[v]):ie.hasOwnProperty(b)&&(ie[v]=ie[b])}const zt=new Y;class Kt{constructor(v,b,P){this.bodyNode=v,this._driver=b,this._normalizer=P,this._animations={},this._playersById={},this.players=[]}register(v,b){const P=[],Z=Ln(this._driver,b,P);if(P.length)throw new Error(`Unable to build the animation due to the following errors: ${P.join("\n")}`);this._animations[v]=Z}_buildPlayer(v,b,P){const Z=v.element,ye=O(0,this._normalizer,0,v.keyframes,b,P);return this._driver.animate(Z,ye,v.duration,v.delay,v.easing,[],!0)}create(v,b,P={}){const Z=[],ye=this._animations[v];let $e;const Je=new Map;if(ye?($e=Oe(this._driver,b,ye,le,ve,{},{},P,zt,Z),$e.forEach(qt=>{const rn=H(Je,qt.element,{});qt.postStyleProps.forEach(vn=>rn[vn]=null)})):(Z.push("The requested animation doesn't exist or has already been destroyed"),$e=[]),Z.length)throw new Error(`Unable to create the animation due to the following errors: ${Z.join("\n")}`);Je.forEach((qt,rn)=>{Object.keys(qt).forEach(vn=>{qt[vn]=this._driver.computeStyle(rn,vn,D.l3)})});const Ft=A($e.map(qt=>{const rn=Je.get(qt.element);return this._buildPlayer(qt,{},rn)}));return this._playersById[v]=Ft,Ft.onDestroy(()=>this.destroy(v)),this.players.push(Ft),Ft}destroy(v){const b=this._getPlayer(v);b.destroy(),delete this._playersById[v];const P=this.players.indexOf(b);P>=0&&this.players.splice(P,1)}_getPlayer(v){const b=this._playersById[v];if(!b)throw new Error(`Unable to find the timeline player referenced by ${v}`);return b}listen(v,b,P,Z){const ye=X(b,"","","");return F(this._getPlayer(v),P,ye,Z),()=>{}}command(v,b,P,Z){if("register"==P)return void this.register(v,Z[0]);if("create"==P)return void this.create(v,b,Z[0]||{});const ye=this._getPlayer(v);switch(P){case"play":ye.play();break;case"pause":ye.pause();break;case"reset":ye.reset();break;case"restart":ye.restart();break;case"finish":ye.finish();break;case"init":ye.init();break;case"setPosition":ye.setPosition(parseFloat(Z[0]));break;case"destroy":this.destroy(v)}}}const on="ng-animate-queued",Yt="ng-animate-disabled",ni=[],Kn={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},ei={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Vn="__ng_removed";class Nn{constructor(v,b=""){this.namespaceId=b;const P=v&&v.hasOwnProperty("value");if(this.value=null!=(ie=P?v.value:v)?ie:null,P){const ye=jt(v);delete ye.value,this.options=ye}else this.options={};var ie;this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(v){const b=v.params;if(b){const P=this.options.params;Object.keys(b).forEach(Z=>{null==P[Z]&&(P[Z]=b[Z])})}}}const $n="void",ii=new Nn($n);class hi{constructor(v,b,P){this.id=v,this.hostElement=b,this._engine=P,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+v,Ii(b,this._hostClassName)}listen(v,b,P,Z){if(!this._triggers.hasOwnProperty(b))throw new Error(`Unable to listen on the animation trigger event "${P}" because the animation trigger "${b}" doesn't exist!`);if(null==P||0==P.length)throw new Error(`Unable to listen on the animation trigger "${b}" because the provided event is undefined!`);if("start"!=(ie=P)&&"done"!=ie)throw new Error(`The provided animation trigger event "${P}" for the animation trigger "${b}" is not supported!`);var ie;const ye=H(this._elementListeners,v,[]),$e={name:b,phase:P,callback:Z};ye.push($e);const Je=H(this._engine.statesByElement,v,{});return Je.hasOwnProperty(b)||(Ii(v,qe),Ii(v,qe+"-"+b),Je[b]=ii),()=>{this._engine.afterFlush(()=>{const _t=ye.indexOf($e);_t>=0&&ye.splice(_t,1),this._triggers[b]||delete Je[b]})}}register(v,b){return!this._triggers[v]&&(this._triggers[v]=b,!0)}_getTrigger(v){const b=this._triggers[v];if(!b)throw new Error(`The provided animation trigger "${v}" has not been registered!`);return b}trigger(v,b,P,Z=!0){const ye=this._getTrigger(b),$e=new nr(this.id,b,v);let Je=this._engine.statesByElement.get(v);Je||(Ii(v,qe),Ii(v,qe+"-"+b),this._engine.statesByElement.set(v,Je={}));let _t=Je[b];const Ft=new Nn(P,this.id);if(!(P&&P.hasOwnProperty("value"))&&_t&&Ft.absorbOptions(_t.options),Je[b]=Ft,_t||(_t=ii),Ft.value!==$n&&_t.value===Ft.value){if(!function(ie,v){const b=Object.keys(ie),P=Object.keys(v);if(b.length!=P.length)return!1;for(let Z=0;Z<b.length;Z++){const ye=b[Z];if(!v.hasOwnProperty(ye)||ie[ye]!==v[ye])return!1}return!0}(_t.params,Ft.params)){const xn=[],Jn=ye.matchStyles(_t.value,_t.params,xn),mi=ye.matchStyles(Ft.value,Ft.params,xn);xn.length?this._engine.reportError(xn):this._engine.afterFlush(()=>{Me(v,Jn),we(v,mi)})}return}const vn=H(this._engine.playersByElement,v,[]);vn.forEach(xn=>{xn.namespaceId==this.id&&xn.triggerName==b&&xn.queued&&xn.destroy()});let kn=ye.matchTransition(_t.value,Ft.value,v,Ft.params),_n=!1;if(!kn){if(!Z)return;kn=ye.fallbackTransition,_n=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:v,triggerName:b,transition:kn,fromState:_t,toState:Ft,player:$e,isFallbackTransition:_n}),_n||(Ii(v,on),$e.onStart(()=>{jr(v,on)})),$e.onDone(()=>{let xn=this.players.indexOf($e);xn>=0&&this.players.splice(xn,1);const Jn=this._engine.playersByElement.get(v);if(Jn){let mi=Jn.indexOf($e);mi>=0&&Jn.splice(mi,1)}}),this.players.push($e),vn.push($e),$e}deregister(v){delete this._triggers[v],this._engine.statesByElement.forEach((b,P)=>{delete b[v]}),this._elementListeners.forEach((b,P)=>{this._elementListeners.set(P,b.filter(Z=>Z.name!=v))})}clearElementCache(v){this._engine.statesByElement.delete(v),this._elementListeners.delete(v);const b=this._engine.playersByElement.get(v);b&&(b.forEach(P=>P.destroy()),this._engine.playersByElement.delete(v))}_signalRemovalForInnerTriggers(v,b){const P=this._engine.driver.query(v,ht,!0);P.forEach(Z=>{if(Z[Vn])return;const ye=this._engine.fetchNamespacesByElement(Z);ye.size?ye.forEach($e=>$e.triggerLeaveAnimation(Z,b,!1,!0)):this.clearElementCache(Z)}),this._engine.afterFlushAnimationsDone(()=>P.forEach(Z=>this.clearElementCache(Z)))}triggerLeaveAnimation(v,b,P,Z){const ye=this._engine.statesByElement.get(v);if(ye){const $e=[];if(Object.keys(ye).forEach(Je=>{if(this._triggers[Je]){const _t=this.trigger(v,Je,$n,Z);_t&&$e.push(_t)}}),$e.length)return this._engine.markElementAsRemoved(this.id,v,!0,b),P&&A($e).onDone(()=>this._engine.processLeaveNode(v)),!0}return!1}prepareLeaveAnimationListeners(v){const b=this._elementListeners.get(v),P=this._engine.statesByElement.get(v);if(b&&P){const Z=new Set;b.forEach(ye=>{const $e=ye.name;if(Z.has($e))return;Z.add($e);const _t=this._triggers[$e].fallbackTransition,Ft=P[$e]||ii,qt=new Nn($n),rn=new nr(this.id,$e,v);this._engine.totalQueuedPlayers++,this._queue.push({element:v,triggerName:$e,transition:_t,fromState:Ft,toState:qt,player:rn,isFallbackTransition:!0})})}}removeNode(v,b){const P=this._engine;if(v.childElementCount&&this._signalRemovalForInnerTriggers(v,b),this.triggerLeaveAnimation(v,b,!0))return;let Z=!1;if(P.totalAnimations){const ye=P.players.length?P.playersByQueriedElement.get(v):[];if(ye&&ye.length)Z=!0;else{let $e=v;for(;$e=$e.parentNode;)if(P.statesByElement.get($e)){Z=!0;break}}}if(this.prepareLeaveAnimationListeners(v),Z)P.markElementAsRemoved(this.id,v,!1,b);else{const ye=v[Vn];(!ye||ye===Kn)&&(P.afterFlush(()=>this.clearElementCache(v)),P.destroyInnerAnimations(v),P._onRemovalComplete(v,b))}}insertNode(v,b){Ii(v,this._hostClassName)}drainQueuedTransitions(v){const b=[];return this._queue.forEach(P=>{const Z=P.player;if(Z.destroyed)return;const ye=P.element,$e=this._elementListeners.get(ye);$e&&$e.forEach(Je=>{if(Je.name==P.triggerName){const _t=X(ye,P.triggerName,P.fromState.value,P.toState.value);_t._data=v,F(P.player,Je.phase,_t,Je.callback)}}),Z.markedForDestroy?this._engine.afterFlush(()=>{Z.destroy()}):b.push(P)}),this._queue=[],b.sort((P,Z)=>{const ye=P.transition.ast.depCount,$e=Z.transition.ast.depCount;return 0==ye||0==$e?ye-$e:this._engine.driver.containsElement(P.element,Z.element)?1:-1})}destroy(v){this.players.forEach(b=>b.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,v)}elementContainsData(v){let b=!1;return this._elementListeners.has(v)&&(b=!0),b=!!this._queue.find(P=>P.element===v)||b,b}}class Tr{constructor(v,b,P){this.bodyNode=v,this.driver=b,this._normalizer=P,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(Z,ye)=>{}}_onRemovalComplete(v,b){this.onRemovalComplete(v,b)}get queuedPlayers(){const v=[];return this._namespaceList.forEach(b=>{b.players.forEach(P=>{P.queued&&v.push(P)})}),v}createNamespace(v,b){const P=new hi(v,b,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,b)?this._balanceNamespaceList(P,b):(this.newHostElements.set(b,P),this.collectEnterElement(b)),this._namespaceLookup[v]=P}_balanceNamespaceList(v,b){const P=this._namespaceList.length-1;if(P>=0){let Z=!1;for(let ye=P;ye>=0;ye--)if(this.driver.containsElement(this._namespaceList[ye].hostElement,b)){this._namespaceList.splice(ye+1,0,v),Z=!0;break}Z||this._namespaceList.splice(0,0,v)}else this._namespaceList.push(v);return this.namespacesByHostElement.set(b,v),v}register(v,b){let P=this._namespaceLookup[v];return P||(P=this.createNamespace(v,b)),P}registerTrigger(v,b,P){let Z=this._namespaceLookup[v];Z&&Z.register(b,P)&&this.totalAnimations++}destroy(v,b){if(!v)return;const P=this._fetchNamespace(v);this.afterFlush(()=>{this.namespacesByHostElement.delete(P.hostElement),delete this._namespaceLookup[v];const Z=this._namespaceList.indexOf(P);Z>=0&&this._namespaceList.splice(Z,1)}),this.afterFlushAnimationsDone(()=>P.destroy(b))}_fetchNamespace(v){return this._namespaceLookup[v]}fetchNamespacesByElement(v){const b=new Set,P=this.statesByElement.get(v);if(P){const Z=Object.keys(P);for(let ye=0;ye<Z.length;ye++){const $e=P[Z[ye]].namespaceId;if($e){const Je=this._fetchNamespace($e);Je&&b.add(Je)}}}return b}trigger(v,b,P,Z){if(zi(b)){const ye=this._fetchNamespace(v);if(ye)return ye.trigger(b,P,Z),!0}return!1}insertNode(v,b,P,Z){if(!zi(b))return;const ye=b[Vn];if(ye&&ye.setForRemoval){ye.setForRemoval=!1,ye.setForMove=!0;const $e=this.collectedLeaveElements.indexOf(b);$e>=0&&this.collectedLeaveElements.splice($e,1)}if(v){const $e=this._fetchNamespace(v);$e&&$e.insertNode(b,P)}Z&&this.collectEnterElement(b)}collectEnterElement(v){this.collectedEnterElements.push(v)}markElementAsDisabled(v,b){b?this.disabledNodes.has(v)||(this.disabledNodes.add(v),Ii(v,Yt)):this.disabledNodes.has(v)&&(this.disabledNodes.delete(v),jr(v,Yt))}removeNode(v,b,P,Z){if(zi(b)){const ye=v?this._fetchNamespace(v):null;if(ye?ye.removeNode(b,Z):this.markElementAsRemoved(v,b,!1,Z),P){const $e=this.namespacesByHostElement.get(b);$e&&$e.id!==v&&$e.removeNode(b,Z)}}else this._onRemovalComplete(b,Z)}markElementAsRemoved(v,b,P,Z){this.collectedLeaveElements.push(b),b[Vn]={namespaceId:v,setForRemoval:Z,hasAnimation:P,removedBeforeQueried:!1}}listen(v,b,P,Z,ye){return zi(b)?this._fetchNamespace(v).listen(b,P,Z,ye):()=>{}}_buildInstruction(v,b,P,Z,ye){return v.transition.build(this.driver,v.element,v.fromState.value,v.toState.value,P,Z,v.fromState.options,v.toState.options,b,ye)}destroyInnerAnimations(v){let b=this.driver.query(v,ht,!0);b.forEach(P=>this.destroyActiveAnimationsForElement(P)),0!=this.playersByQueriedElement.size&&(b=this.driver.query(v,ze,!0),b.forEach(P=>this.finishActiveQueriedAnimationOnElement(P)))}destroyActiveAnimationsForElement(v){const b=this.playersByElement.get(v);b&&b.forEach(P=>{P.queued?P.markedForDestroy=!0:P.destroy()})}finishActiveQueriedAnimationOnElement(v){const b=this.playersByQueriedElement.get(v);b&&b.forEach(P=>P.finish())}whenRenderingDone(){return new Promise(v=>{if(this.players.length)return A(this.players).onDone(()=>v());v()})}processLeaveNode(v){var P;const b=v[Vn];if(b&&b.setForRemoval){if(v[Vn]=Kn,b.namespaceId){this.destroyInnerAnimations(v);const Z=this._fetchNamespace(b.namespaceId);Z&&Z.clearElementCache(v)}this._onRemovalComplete(v,b.setForRemoval)}(null==(P=v.classList)?void 0:P.contains(Yt))&&this.markElementAsDisabled(v,!1),this.driver.query(v,".ng-animate-disabled",!0).forEach(Z=>{this.markElementAsDisabled(Z,!1)})}flush(v=-1){let b=[];if(this.newHostElements.size&&(this.newHostElements.forEach((P,Z)=>this._balanceNamespaceList(P,Z)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let P=0;P<this.collectedEnterElements.length;P++)Ii(this.collectedEnterElements[P],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const P=[];try{b=this._flushAnimations(P,v)}finally{for(let Z=0;Z<P.length;Z++)P[Z]()}}else for(let P=0;P<this.collectedLeaveElements.length;P++)this.processLeaveNode(this.collectedLeaveElements[P]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(P=>P()),this._flushFns=[],this._whenQuietFns.length){const P=this._whenQuietFns;this._whenQuietFns=[],b.length?A(b).onDone(()=>{P.forEach(Z=>Z())}):P.forEach(Z=>Z())}}reportError(v){throw new Error(`Unable to process animations due to the following failed trigger transitions\n ${v.join("\n")}`)}_flushAnimations(v,b){const P=new Y,Z=[],ye=new Map,$e=[],Je=new Map,_t=new Map,Ft=new Map,qt=new Set;this.disabledNodes.forEach(pn=>{qt.add(pn);const Cn=this.driver.query(pn,".ng-animate-queued",!0);for(let mn=0;mn<Cn.length;mn++)qt.add(Cn[mn])});const rn=this.bodyNode,vn=Array.from(this.statesByElement.keys()),kn=Oi(vn,this.collectedEnterElements),_n=new Map;let xn=0;kn.forEach((pn,Cn)=>{const mn=le+xn++;_n.set(Cn,mn),pn.forEach(In=>Ii(In,mn))});const Jn=[],mi=new Set,Di=new Set;for(let pn=0;pn<this.collectedLeaveElements.length;pn++){const Cn=this.collectedLeaveElements[pn],mn=Cn[Vn];mn&&mn.setForRemoval&&(Jn.push(Cn),mi.add(Cn),mn.hasAnimation?this.driver.query(Cn,".ng-star-inserted",!0).forEach(In=>mi.add(In)):Di.add(Cn))}const Ri=new Map,Si=Oi(vn,Array.from(mi));Si.forEach((pn,Cn)=>{const mn=ve+xn++;Ri.set(Cn,mn),pn.forEach(In=>Ii(In,mn))}),v.push(()=>{kn.forEach((pn,Cn)=>{const mn=_n.get(Cn);pn.forEach(In=>jr(In,mn))}),Si.forEach((pn,Cn)=>{const mn=Ri.get(Cn);pn.forEach(In=>jr(In,mn))}),Jn.forEach(pn=>{this.processLeaveNode(pn)})});const Mr=[],qi=[];for(let pn=this._namespaceList.length-1;pn>=0;pn--)this._namespaceList[pn].drainQueuedTransitions(b).forEach(mn=>{const In=mn.player,zn=mn.element;if(Mr.push(In),this.collectedEnterElements.length){const vr=zn[Vn];if(vr&&vr.setForMove)return void In.destroy()}const rr=!rn||!this.driver.containsElement(rn,zn),Ai=Ri.get(zn),Lr=_n.get(zn),gi=this._buildInstruction(mn,P,Lr,Ai,rr);if(gi.errors&&gi.errors.length)qi.push(gi);else{if(rr)return In.onStart(()=>Me(zn,gi.fromStyles)),In.onDestroy(()=>we(zn,gi.toStyles)),void Z.push(In);if(mn.isFallbackTransition)return In.onStart(()=>Me(zn,gi.fromStyles)),In.onDestroy(()=>we(zn,gi.toStyles)),void Z.push(In);gi.timelines.forEach(vr=>vr.stretchStartingKeyframe=!0),P.append(zn,gi.timelines),$e.push({instruction:gi,player:In,element:zn}),gi.queriedElements.forEach(vr=>H(Je,vr,[]).push(In)),gi.preStyleProps.forEach((vr,er)=>{const Wi=Object.keys(vr);if(Wi.length){let Fi=_t.get(er);Fi||_t.set(er,Fi=new Set),Wi.forEach(Li=>Fi.add(Li))}}),gi.postStyleProps.forEach((vr,er)=>{const Wi=Object.keys(vr);let Fi=Ft.get(er);Fi||Ft.set(er,Fi=new Set),Wi.forEach(Li=>Fi.add(Li))})}});if(qi.length){const pn=[];qi.forEach(Cn=>{pn.push(`@${Cn.triggerName} has failed due to:\n`),Cn.errors.forEach(mn=>pn.push(`- ${mn}\n`))}),Mr.forEach(Cn=>Cn.destroy()),this.reportError(pn)}const Ei=new Map,ir=new Map;$e.forEach(pn=>{const Cn=pn.element;P.has(Cn)&&(ir.set(Cn,Cn),this._beforeAnimationBuild(pn.player.namespaceId,pn.instruction,Ei))}),Z.forEach(pn=>{const Cn=pn.element;this._getPreviousPlayers(Cn,!1,pn.namespaceId,pn.triggerName,null).forEach(In=>{H(Ei,Cn,[]).push(In),In.destroy()})});const ur=Jn.filter(pn=>fs(pn,_t,Ft)),Zi=new Map;wr(Zi,this.driver,Di,Ft,D.l3).forEach(pn=>{fs(pn,_t,Ft)&&ur.push(pn)});const Qr=new Map;kn.forEach((pn,Cn)=>{wr(Qr,this.driver,new Set(pn),_t,D.k1)}),ur.forEach(pn=>{const Cn=Zi.get(pn),mn=Qr.get(pn);Zi.set(pn,cn(cn({},Cn),mn))});const wi=[],Ts=[],Xi={};$e.forEach(pn=>{const{element:Cn,player:mn,instruction:In}=pn;if(P.has(Cn)){if(qt.has(Cn))return mn.onDestroy(()=>we(Cn,In.toStyles)),mn.disabled=!0,mn.overrideTotalTime(In.totalTime),void Z.push(mn);let zn=Xi;if(ir.size>1){let Ai=Cn;const Lr=[];for(;Ai=Ai.parentNode;){const gi=ir.get(Ai);if(gi){zn=gi;break}Lr.push(Ai)}Lr.forEach(gi=>ir.set(gi,zn))}const rr=this._buildAnimation(mn.namespaceId,In,Ei,ye,Qr,Zi);if(mn.setRealPlayer(rr),zn===Xi)wi.push(mn);else{const Ai=this.playersByElement.get(zn);Ai&&Ai.length&&(mn.parentPlayer=A(Ai)),Z.push(mn)}}else Me(Cn,In.fromStyles),mn.onDestroy(()=>we(Cn,In.toStyles)),Ts.push(mn),qt.has(Cn)&&Z.push(mn)}),Ts.forEach(pn=>{const Cn=ye.get(pn.element);if(Cn&&Cn.length){const mn=A(Cn);pn.setRealPlayer(mn)}}),Z.forEach(pn=>{pn.parentPlayer?pn.syncPlayerEvents(pn.parentPlayer):pn.destroy()});for(let pn=0;pn<Jn.length;pn++){const Cn=Jn[pn],mn=Cn[Vn];if(jr(Cn,ve),mn&&mn.hasAnimation)continue;let In=[];if(Je.size){let rr=Je.get(Cn);rr&&rr.length&&In.push(...rr);let Ai=this.driver.query(Cn,ze,!0);for(let Lr=0;Lr<Ai.length;Lr++){let gi=Je.get(Ai[Lr]);gi&&gi.length&&In.push(...gi)}}const zn=In.filter(rr=>!rr.destroyed);zn.length?Ds(this,Cn,zn):this.processLeaveNode(Cn)}return Jn.length=0,wi.forEach(pn=>{this.players.push(pn),pn.onDone(()=>{pn.destroy();const Cn=this.players.indexOf(pn);this.players.splice(Cn,1)}),pn.play()}),wi}elementContainsData(v,b){let P=!1;const Z=b[Vn];return Z&&Z.setForRemoval&&(P=!0),this.playersByElement.has(b)&&(P=!0),this.playersByQueriedElement.has(b)&&(P=!0),this.statesByElement.has(b)&&(P=!0),this._fetchNamespace(v).elementContainsData(b)||P}afterFlush(v){this._flushFns.push(v)}afterFlushAnimationsDone(v){this._whenQuietFns.push(v)}_getPreviousPlayers(v,b,P,Z,ye){let $e=[];if(b){const Je=this.playersByQueriedElement.get(v);Je&&($e=Je)}else{const Je=this.playersByElement.get(v);if(Je){const _t=!ye||ye==$n;Je.forEach(Ft=>{Ft.queued||!_t&&Ft.triggerName!=Z||$e.push(Ft)})}}return(P||Z)&&($e=$e.filter(Je=>!(P&&P!=Je.namespaceId||Z&&Z!=Je.triggerName))),$e}_beforeAnimationBuild(v,b,P){const ye=b.element,$e=b.isRemovalTransition?void 0:v,Je=b.isRemovalTransition?void 0:b.triggerName;for(const _t of b.timelines){const Ft=_t.element,qt=Ft!==ye,rn=H(P,Ft,[]);this._getPreviousPlayers(Ft,qt,$e,Je,b.toState).forEach(kn=>{const _n=kn.getRealPlayer();_n.beforeDestroy&&_n.beforeDestroy(),kn.destroy(),rn.push(kn)})}Me(ye,b.fromStyles)}_buildAnimation(v,b,P,Z,ye,$e){const Je=b.triggerName,_t=b.element,Ft=[],qt=new Set,rn=new Set,vn=b.timelines.map(_n=>{const xn=_n.element;qt.add(xn);const Jn=xn[Vn];if(Jn&&Jn.removedBeforeQueried)return new D.ZN(_n.duration,_n.delay);const mi=xn!==_t,Di=function(ie){const v=[];return ns(ie,v),v}((P.get(xn)||ni).map(Ei=>Ei.getRealPlayer())).filter(Ei=>!!Ei.element&&Ei.element===xn),Ri=ye.get(xn),Si=$e.get(xn),Mr=O(0,this._normalizer,0,_n.keyframes,Ri,Si),qi=this._buildPlayer(_n,Mr,Di);if(_n.subTimeline&&Z&&rn.add(xn),mi){const Ei=new nr(v,Je,xn);Ei.setRealPlayer(qi),Ft.push(Ei)}return qi});Ft.forEach(_n=>{H(this.playersByQueriedElement,_n.element,[]).push(_n),_n.onDone(()=>function(ie,v,b){let P;if(ie instanceof Map){if(P=ie.get(v),P){if(P.length){const Z=P.indexOf(b);P.splice(Z,1)}0==P.length&&ie.delete(v)}}else if(P=ie[v],P){if(P.length){const Z=P.indexOf(b);P.splice(Z,1)}0==P.length&&delete ie[v]}return P}(this.playersByQueriedElement,_n.element,_n))}),qt.forEach(_n=>Ii(_n,Vt));const kn=A(vn);return kn.onDestroy(()=>{qt.forEach(_n=>jr(_n,Vt)),we(_t,b.toStyles)}),rn.forEach(_n=>{H(Z,_n,[]).push(kn)}),kn}_buildPlayer(v,b,P){return b.length>0?this.driver.animate(v.element,b,v.duration,v.delay,v.easing,P):new D.ZN(v.duration,v.delay)}}class nr{constructor(v,b,P){this.namespaceId=v,this.triggerName=b,this.element=P,this._player=new D.ZN,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(v){this._containsRealPlayer||(this._player=v,Object.keys(this._queuedCallbacks).forEach(b=>{this._queuedCallbacks[b].forEach(P=>F(v,b,void 0,P))}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(v.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(v){this.totalTime=v}syncPlayerEvents(v){const b=this._player;b.triggerCallback&&v.onStart(()=>b.triggerCallback("start")),v.onDone(()=>this.finish()),v.onDestroy(()=>this.destroy())}_queueEvent(v,b){H(this._queuedCallbacks,v,[]).push(b)}onDone(v){this.queued&&this._queueEvent("done",v),this._player.onDone(v)}onStart(v){this.queued&&this._queueEvent("start",v),this._player.onStart(v)}onDestroy(v){this.queued&&this._queueEvent("destroy",v),this._player.onDestroy(v)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(v){this.queued||this._player.setPosition(v)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(v){const b=this._player;b.triggerCallback&&b.triggerCallback(v)}}function zi(ie){return ie&&1===ie.nodeType}function ri(ie,v){const b=ie.style.display;return ie.style.display=null!=v?v:"none",b}function wr(ie,v,b,P,Z){const ye=[];b.forEach(_t=>ye.push(ri(_t)));const $e=[];P.forEach((_t,Ft)=>{const qt={};_t.forEach(rn=>{const vn=qt[rn]=v.computeStyle(Ft,rn,Z);(!vn||0==vn.length)&&(Ft[Vn]=ei,$e.push(Ft))}),ie.set(Ft,qt)});let Je=0;return b.forEach(_t=>ri(_t,ye[Je++])),$e}function Oi(ie,v){const b=new Map;if(ie.forEach(Je=>b.set(Je,[])),0==v.length)return b;const Z=new Set(v),ye=new Map;function $e(Je){if(!Je)return 1;let _t=ye.get(Je);if(_t)return _t;const Ft=Je.parentNode;return _t=b.has(Ft)?Ft:Z.has(Ft)?1:$e(Ft),ye.set(Je,_t),_t}return v.forEach(Je=>{const _t=$e(Je);1!==_t&&b.get(_t).push(Je)}),b}function Ii(ie,v){var b;null==(b=ie.classList)||b.add(v)}function jr(ie,v){var b;null==(b=ie.classList)||b.remove(v)}function Ds(ie,v,b){A(b).onDone(()=>ie.processLeaveNode(v))}function ns(ie,v){for(let b=0;b<ie.length;b++){const P=ie[b];P instanceof D.ZE?ns(P.players,v):v.push(P)}}function fs(ie,v,b){const P=b.get(ie);if(!P)return!1;let Z=v.get(ie);return Z?P.forEach(ye=>Z.add(ye)):v.set(ie,P),b.delete(ie),!0}class Gi{constructor(v,b,P){this.bodyNode=v,this._driver=b,this._normalizer=P,this._triggerCache={},this.onRemovalComplete=(Z,ye)=>{},this._transitionEngine=new Tr(v,b,P),this._timelineEngine=new Kt(v,b,P),this._transitionEngine.onRemovalComplete=(Z,ye)=>this.onRemovalComplete(Z,ye)}registerTrigger(v,b,P,Z,ye){const $e=v+"-"+Z;let Je=this._triggerCache[$e];if(!Je){const _t=[],Ft=Ln(this._driver,ye,_t);if(_t.length)throw new Error(`The animation trigger "${Z}" has failed to build due to the following errors:\n - ${_t.join("\n - ")}`);Je=function(ie,v,b){return new Lt(ie,v,b)}(Z,Ft,this._normalizer),this._triggerCache[$e]=Je}this._transitionEngine.registerTrigger(b,Z,Je)}register(v,b){this._transitionEngine.register(v,b)}destroy(v,b){this._transitionEngine.destroy(v,b)}onInsert(v,b,P,Z){this._transitionEngine.insertNode(v,b,P,Z)}onRemove(v,b,P,Z){this._transitionEngine.removeNode(v,b,Z||!1,P)}disableAnimations(v,b){this._transitionEngine.markElementAsDisabled(v,b)}process(v,b,P,Z){if("@"==P.charAt(0)){const[ye,$e]=U(P);this._timelineEngine.command(ye,b,$e,Z)}else this._transitionEngine.trigger(v,b,P,Z)}listen(v,b,P,Z,ye){if("@"==P.charAt(0)){const[$e,Je]=U(P);return this._timelineEngine.listen($e,b,Je,ye)}return this._transitionEngine.listen(v,b,P,Z,ye)}flush(v=-1){this._transitionEngine.flush(v)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}function Ms(ie,v){let b=null,P=null;return Array.isArray(v)&&v.length?(b=Hr(v[0]),v.length>1&&(P=Hr(v[v.length-1]))):v&&(b=Hr(v)),b||P?new is(ie,b,P):null}let is=(()=>{class ie{constructor(b,P,Z){this._element=b,this._startStyles=P,this._endStyles=Z,this._state=0;let ye=ie.initialStylesByElement.get(b);ye||ie.initialStylesByElement.set(b,ye={}),this._initialStyles=ye}start(){this._state<1&&(this._startStyles&&we(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(we(this._element,this._initialStyles),this._endStyles&&(we(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(ie.initialStylesByElement.delete(this._element),this._startStyles&&(Me(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Me(this._element,this._endStyles),this._endStyles=null),we(this._element,this._initialStyles),this._state=3)}}return ie.initialStylesByElement=new WeakMap,ie})();function Hr(ie){let v=null;const b=Object.keys(ie);for(let P=0;P<b.length;P++){const Z=b[P];Hs(Z)&&(v=v||{},v[Z]=ie[Z])}return v}function Hs(ie){return"display"===ie||"position"===ie}const zr="animation",ar="animationend";class xs{constructor(v,b,P,Z,ye,$e,Je){this._element=v,this._name=b,this._duration=P,this._delay=Z,this._easing=ye,this._fillMode=$e,this._onDoneFn=Je,this._finished=!1,this._destroyed=!1,this._startTime=0,this._position=0,this._eventFn=_t=>this._handleCallback(_t)}apply(){(function(ie,v){const b=mr(ie,"").trim();let P=0;b.length&&(function(ie,v){let b=0;for(let P=0;P<ie.length;P++)","===ie.charAt(P)&&b++;return b}(b)+1,v=`${b}, ${v}`),pr(ie,"",v)})(this._element,`${this._duration}ms ${this._easing} ${this._delay}ms 1 normal ${this._fillMode} ${this._name}`),Ci(this._element,this._eventFn,!1),this._startTime=Date.now()}pause(){Cr(this._element,this._name,"paused")}resume(){Cr(this._element,this._name,"running")}setPosition(v){const b=lr(this._element,this._name);this._position=v*this._duration,pr(this._element,"Delay",`-${this._position}ms`,b)}getPosition(){return this._position}_handleCallback(v){const b=v._ngTestManualTimestamp||Date.now(),P=1e3*parseFloat(v.elapsedTime.toFixed(3));v.animationName==this._name&&Math.max(b-this._startTime,0)>=this._delay&&P>=this._duration&&this.finish()}finish(){this._finished||(this._finished=!0,this._onDoneFn(),Ci(this._element,this._eventFn,!0))}destroy(){this._destroyed||(this._destroyed=!0,this.finish(),function(ie,v){const P=mr(ie,"").split(","),Z=Dr(P,v);Z>=0&&(P.splice(Z,1),pr(ie,"",P.join(",")))}(this._element,this._name))}}function Cr(ie,v,b){pr(ie,"PlayState",b,lr(ie,v))}function lr(ie,v){const b=mr(ie,"");return b.indexOf(",")>0?Dr(b.split(","),v):Dr([b],v)}function Dr(ie,v){for(let b=0;b<ie.length;b++)if(ie[b].indexOf(v)>=0)return b;return-1}function Ci(ie,v,b){b?ie.removeEventListener(ar,v):ie.addEventListener(ar,v)}function pr(ie,v,b,P){const Z=zr+v;if(null!=P){const ye=ie.style[Z];if(ye.length){const $e=ye.split(",");$e[P]=b,b=$e.join(",")}}ie.style[Z]=b}function mr(ie,v){return ie.style[zr+v]||""}class ss{constructor(v,b,P,Z,ye,$e,Je,_t){this.element=v,this.keyframes=b,this.animationName=P,this._duration=Z,this._delay=ye,this._finalStyles=Je,this._specialStyles=_t,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this.currentSnapshot={},this._state=0,this.easing=$e||"linear",this.totalTime=Z+ye,this._buildStyler()}onStart(v){this._onStartFns.push(v)}onDone(v){this._onDoneFns.push(v)}onDestroy(v){this._onDestroyFns.push(v)}destroy(){this.init(),!(this._state>=4)&&(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(v=>v()),this._onDestroyFns=[])}_flushDoneFns(){this._onDoneFns.forEach(v=>v()),this._onDoneFns=[]}_flushStartFns(){this._onStartFns.forEach(v=>v()),this._onStartFns=[]}finish(){this.init(),!(this._state>=3)&&(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())}setPosition(v){this._styler.setPosition(v)}getPosition(){return this._styler.getPosition()}hasStarted(){return this._state>=2}init(){this._state>=1||(this._state=1,this._styler.apply(),this._delay&&this._styler.pause())}play(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2,this._specialStyles&&this._specialStyles.start()),this._styler.resume()}pause(){this.init(),this._styler.pause()}restart(){this.reset(),this.play()}reset(){this._state=0,this._styler.destroy(),this._buildStyler(),this._styler.apply()}_buildStyler(){this._styler=new xs(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",()=>this.finish())}triggerCallback(v){const b="start"==v?this._onStartFns:this._onDoneFns;b.forEach(P=>P()),b.length=0}beforeDestroy(){this.init();const v={};if(this.hasStarted()){const b=this._state>=3;Object.keys(this._finalStyles).forEach(P=>{"offset"!=P&&(v[P]=b?this._finalStyles[P]:Ve(this.element,P))})}this.currentSnapshot=v}}class Pi extends D.ZN{constructor(v,b){super(),this.element=v,this._startingStyles={},this.__initialized=!1,this._styles=ut(b)}init(){this.__initialized||!this._startingStyles||(this.__initialized=!0,Object.keys(this._styles).forEach(v=>{this._startingStyles[v]=this.element.style[v]}),super.init())}play(){!this._startingStyles||(this.init(),Object.keys(this._styles).forEach(v=>this.element.style.setProperty(v,this._styles[v])),super.play())}destroy(){!this._startingStyles||(Object.keys(this._startingStyles).forEach(v=>{const b=this._startingStyles[v];b?this.element.style.setProperty(v,b):this.element.style.removeProperty(v)}),this._startingStyles=null,super.destroy())}}class Ir{constructor(){this._count=0}validateStyleProperty(v){return st(v)}matchesElement(v,b){return!1}containsElement(v,b){return Ke(v,b)}query(v,b,P){return Ge(v,b,P)}computeStyle(v,b,P){return window.getComputedStyle(v)[b]}buildKeyframeElement(v,b,P){P=P.map(Je=>ut(Je));let Z=`@keyframes ${b} {\n`,ye="";P.forEach(Je=>{ye=" ";const _t=parseFloat(Je.offset);Z+=`${ye}${100*_t}% {\n`,ye+=" ",Object.keys(Je).forEach(Ft=>{const qt=Je[Ft];switch(Ft){case"offset":return;case"easing":return void(qt&&(Z+=`${ye}animation-timing-function: ${qt};\n`));default:return void(Z+=`${ye}${Ft}: ${qt};\n`)}}),Z+=`${ye}}\n`}),Z+="}\n";const $e=document.createElement("style");return $e.textContent=Z,$e}animate(v,b,P,Z,ye,$e=[],Je){const _t=$e.filter(Jn=>Jn instanceof ss),Ft={};Qe(P,Z)&&_t.forEach(Jn=>{let mi=Jn.currentSnapshot;Object.keys(mi).forEach(Di=>Ft[Di]=mi[Di])});const qt=function(ie){let v={};return ie&&(Array.isArray(ie)?ie:[ie]).forEach(P=>{Object.keys(P).forEach(Z=>{"offset"==Z||"easing"==Z||(v[Z]=P[Z])})}),v}(b=Ne(v,b,Ft));if(0==P)return new Pi(v,qt);const rn="gen_css_kf_"+this._count++,vn=this.buildKeyframeElement(v,rn,b);(function(ie){var b;const v=null==(b=ie.getRootNode)?void 0:b.call(ie);return"undefined"!=typeof ShadowRoot&&v instanceof ShadowRoot?v:document.head})(v).appendChild(vn);const _n=Ms(v,b),xn=new ss(v,b,rn,P,Z,ye,qt,_n);return xn.onDestroy(()=>{var ie;(ie=vn).parentNode.removeChild(ie)}),xn}}class Os{constructor(v,b,P,Z){this.element=v,this.keyframes=b,this.options=P,this._specialStyles=Z,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=P.duration,this._delay=P.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(v=>v()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const v=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,v,this.options),this._finalKeyframe=v.length?v[v.length-1]:{},this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(v,b,P){return v.animate(b,P)}onStart(v){this._onStartFns.push(v)}onDone(v){this._onDoneFns.push(v)}onDestroy(v){this._onDestroyFns.push(v)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(v=>v()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(v=>v()),this._onDestroyFns=[])}setPosition(v){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=v*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const v={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach(b=>{"offset"!=b&&(v[b]=this._finished?this._finalKeyframe[b]:Ve(this.element,b))}),this.currentSnapshot=v}triggerCallback(v){const b="start"==v?this._onStartFns:this._onDoneFns;b.forEach(P=>P()),b.length=0}}class N{constructor(){this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(h().toString()),this._cssKeyframesDriver=new Ir}validateStyleProperty(v){return st(v)}matchesElement(v,b){return!1}containsElement(v,b){return Ke(v,b)}query(v,b,P){return Ge(v,b,P)}computeStyle(v,b,P){return window.getComputedStyle(v)[b]}overrideWebAnimationsSupport(v){this._isNativeImpl=v}animate(v,b,P,Z,ye,$e=[],Je){if(!Je&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(v,b,P,Z,ye,$e);const qt={duration:P,delay:Z,fill:0==Z?"both":"forwards"};ye&&(qt.easing=ye);const rn={},vn=$e.filter(_n=>_n instanceof Os);Qe(P,Z)&&vn.forEach(_n=>{let xn=_n.currentSnapshot;Object.keys(xn).forEach(Jn=>rn[Jn]=xn[Jn])});const kn=Ms(v,b=Ne(v,b=b.map(_n=>xe(_n,!1)),rn));return new Os(v,b,qt,kn)}}function h(){return x()&&Element.prototype.animate||{}}var _=w(6019);let L=(()=>{class ie extends D._j{constructor(b,P){super(),this._nextAnimationId=0,this._renderer=b.createRenderer(P.body,{id:"0",encapsulation:u.ifc.None,styles:[],data:{animation:[]}})}build(b){const P=this._nextAnimationId.toString();this._nextAnimationId++;const Z=Array.isArray(b)?(0,D.vP)(b):b;return Zt(this._renderer,null,P,"register",[Z]),new Be(P,this._renderer)}}return ie.\u0275fac=function(b){return new(b||ie)(u.LFG(u.FYo),u.LFG(_.K0))},ie.\u0275prov=u.Yz7({token:ie,factory:ie.\u0275fac}),ie})();class Be extends D.LC{constructor(v,b){super(),this._id=v,this._renderer=b}create(v,b){return new wt(this._id,v,b||{},this._renderer)}}class wt{constructor(v,b,P,Z){this.id=v,this.element=b,this._renderer=Z,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",P)}_listen(v,b){return this._renderer.listen(this.element,`@@${this.id}:${v}`,b)}_command(v,...b){return Zt(this._renderer,this.element,this.id,v,b)}onDone(v){this._listen("done",v)}onStart(v){this._listen("start",v)}onDestroy(v){this._listen("destroy",v)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(v){this._command("setPosition",v)}getPosition(){var v,b;return null!=(b=null==(v=this._renderer.engine.players[+this.id])?void 0:v.getPosition())?b:0}}function Zt(ie,v,b,P,Z){return ie.setProperty(v,`@@${b}:${P}`,Z)}const qn="@.disabled";let Yn=(()=>{class ie{constructor(b,P,Z){this.delegate=b,this.engine=P,this._zone=Z,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),P.onRemovalComplete=(ye,$e)=>{const Je=null==$e?void 0:$e.parentNode(ye);Je&&$e.removeChild(Je,ye)}}createRenderer(b,P){const ye=this.delegate.createRenderer(b,P);if(!(b&&P&&P.data&&P.data.animation)){let qt=this._rendererCache.get(ye);return qt||(qt=new Xn("",ye,this.engine),this._rendererCache.set(ye,qt)),qt}const $e=P.id,Je=P.id+"-"+this._currentId;this._currentId++,this.engine.register(Je,b);const _t=qt=>{Array.isArray(qt)?qt.forEach(_t):this.engine.registerTrigger($e,Je,b,qt.name,qt)};return P.data.animation.forEach(_t),new bi(this,Je,ye,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(b,P,Z){b>=0&&b<this._microtaskId?this._zone.run(()=>P(Z)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(ye=>{const[$e,Je]=ye;$e(Je)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([P,Z]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}return ie.\u0275fac=function(b){return new(b||ie)(u.LFG(u.FYo),u.LFG(Gi),u.LFG(u.R0b))},ie.\u0275prov=u.Yz7({token:ie,factory:ie.\u0275fac}),ie})();class Xn{constructor(v,b,P){this.namespaceId=v,this.delegate=b,this.engine=P,this.destroyNode=this.delegate.destroyNode?Z=>b.destroyNode(Z):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(v,b){return this.delegate.createElement(v,b)}createComment(v){return this.delegate.createComment(v)}createText(v){return this.delegate.createText(v)}appendChild(v,b){this.delegate.appendChild(v,b),this.engine.onInsert(this.namespaceId,b,v,!1)}insertBefore(v,b,P,Z=!0){this.delegate.insertBefore(v,b,P),this.engine.onInsert(this.namespaceId,b,v,Z)}removeChild(v,b,P){this.engine.onRemove(this.namespaceId,b,this.delegate,P)}selectRootElement(v,b){return this.delegate.selectRootElement(v,b)}parentNode(v){return this.delegate.parentNode(v)}nextSibling(v){return this.delegate.nextSibling(v)}setAttribute(v,b,P,Z){this.delegate.setAttribute(v,b,P,Z)}removeAttribute(v,b,P){this.delegate.removeAttribute(v,b,P)}addClass(v,b){this.delegate.addClass(v,b)}removeClass(v,b){this.delegate.removeClass(v,b)}setStyle(v,b,P,Z){this.delegate.setStyle(v,b,P,Z)}removeStyle(v,b,P){this.delegate.removeStyle(v,b,P)}setProperty(v,b,P){"@"==b.charAt(0)&&b==qn?this.disableAnimations(v,!!P):this.delegate.setProperty(v,b,P)}setValue(v,b){this.delegate.setValue(v,b)}listen(v,b,P){return this.delegate.listen(v,b,P)}disableAnimations(v,b){this.engine.disableAnimations(v,b)}}class bi extends Xn{constructor(v,b,P,Z){super(b,P,Z),this.factory=v,this.namespaceId=b}setProperty(v,b,P){"@"==b.charAt(0)?"."==b.charAt(1)&&b==qn?this.disableAnimations(v,P=void 0===P||!!P):this.engine.process(this.namespaceId,v,b.substr(1),P):this.delegate.setProperty(v,b,P)}listen(v,b,P){if("@"==b.charAt(0)){const Z=function(ie){switch(ie){case"body":return document.body;case"document":return document;case"window":return window;default:return ie}}(v);let ye=b.substr(1),$e="";return"@"!=ye.charAt(0)&&([ye,$e]=function(ie){const v=ie.indexOf(".");return[ie.substring(0,v),ie.substr(v+1)]}(ye)),this.engine.listen(this.namespaceId,Z,ye,$e,Je=>{this.factory.scheduleListenerCallback(Je._data||-1,P,Je)})}return this.delegate.listen(v,b,P)}}let Tn=(()=>{class ie extends Gi{constructor(b,P,Z){super(b.body,P,Z)}ngOnDestroy(){this.flush()}}return ie.\u0275fac=function(b){return new(b||ie)(u.LFG(_.K0),u.LFG(Ce),u.LFG(On))},ie.\u0275prov=u.Yz7({token:ie,factory:ie.\u0275fac}),ie})();const cr=new u.OlP("AnimationModuleType"),Fr=[{provide:D._j,useClass:L},{provide:On,useFactory:function(){return new fi}},{provide:Gi,useClass:Tn},{provide:u.FYo,useFactory:function(ie,v,b){return new Yn(ie,v,b)},deps:[m.se,Gi,u.R0b]}],gr=[{provide:Ce,useFactory:function(){return"function"==typeof h()?new N:new Ir}},{provide:cr,useValue:"BrowserAnimations"},...Fr],go=[{provide:Ce,useClass:Pe},{provide:cr,useValue:"NoopAnimations"},...Fr];let At=(()=>{class ie{static withConfig(b){return{ngModule:ie,providers:b.disableAnimations?go:gr}}}return ie.\u0275fac=function(b){return new(b||ie)},ie.\u0275mod=u.oAB({type:ie}),ie.\u0275inj=u.cJS({providers:gr,imports:[m.b2]}),ie})()},5427:(xt,Ie,w)=>{"use strict";w.d(Ie,{b2:()=>tn,H7:()=>te,h_:()=>de,Dx:()=>me,q6:()=>Ct,se:()=>Ae});var u=w(6019),m=w(3668);class D extends u.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class x extends D{static makeCurrent(){(0,u.HT)(new x)}onAndCancel(Oe,ce,He){return Oe.addEventListener(ce,He,!1),()=>{Oe.removeEventListener(ce,He,!1)}}dispatchEvent(Oe,ce){Oe.dispatchEvent(ce)}remove(Oe){Oe.parentNode&&Oe.parentNode.removeChild(Oe)}createElement(Oe,ce){return(ce=ce||this.getDefaultDocument()).createElement(Oe)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(Oe){return Oe.nodeType===Node.ELEMENT_NODE}isShadowRoot(Oe){return Oe instanceof DocumentFragment}getGlobalEventTarget(Oe,ce){return"window"===ce?window:"document"===ce?Oe:"body"===ce?Oe.body:null}getBaseHref(Oe){const ce=(ee=ee||document.querySelector("base"),ee?ee.getAttribute("href"):null);return null==ce?null:function(_e){O=O||document.createElement("a"),O.setAttribute("href",_e);const Oe=O.pathname;return"/"===Oe.charAt(0)?Oe:`/${Oe}`}(ce)}resetBaseElement(){ee=null}getUserAgent(){return window.navigator.userAgent}getCookie(Oe){return(0,u.Mx)(document.cookie,Oe)}}let O,ee=null;const z=new m.OlP("TRANSITION_ID"),H=[{provide:m.ip1,useFactory:function(_e,Oe,ce){return()=>{ce.get(m.CZH).donePromise.then(()=>{const He=(0,u.q)(),Et=Oe.querySelectorAll(`style[ng-transition="${_e}"]`);for(let Ht=0;Ht<Et.length;Ht++)He.remove(Et[Ht])})}},deps:[z,u.K0,m.zs3],multi:!0}];class U{static init(){(0,m.VLi)(new U)}addToWindow(Oe){m.dqk.getAngularTestability=(He,Et=!0)=>{const Ht=Oe.findTestabilityInTree(He,Et);if(null==Ht)throw new Error("Could not find testability for element.");return Ht},m.dqk.getAllAngularTestabilities=()=>Oe.getAllTestabilities(),m.dqk.getAllAngularRootElements=()=>Oe.getAllRootElements(),m.dqk.frameworkStabilizers||(m.dqk.frameworkStabilizers=[]),m.dqk.frameworkStabilizers.push(He=>{const Et=m.dqk.getAllAngularTestabilities();let Ht=Et.length,dn=!1;const An=function(jn){dn=dn||jn,Ht--,0==Ht&&He(dn)};Et.forEach(function(jn){jn.whenStable(An)})})}findTestabilityInTree(Oe,ce,He){if(null==ce)return null;const Et=Oe.getTestability(ce);return null!=Et?Et:He?(0,u.q)().isShadowRoot(ce)?this.findTestabilityInTree(Oe,ce.host,!0):this.findTestabilityInTree(Oe,ce.parentElement,!0):null}}let j=(()=>{class _e{build(){return new XMLHttpRequest}}return _e.\u0275fac=function(ce){return new(ce||_e)},_e.\u0275prov=m.Yz7({token:_e,factory:_e.\u0275fac}),_e})();const B=new m.OlP("EventManagerPlugins");let q=(()=>{class _e{constructor(ce,He){this._zone=He,this._eventNameToPlugin=new Map,ce.forEach(Et=>Et.manager=this),this._plugins=ce.slice().reverse()}addEventListener(ce,He,Et){return this._findPluginFor(He).addEventListener(ce,He,Et)}addGlobalEventListener(ce,He,Et){return this._findPluginFor(He).addGlobalEventListener(ce,He,Et)}getZone(){return this._zone}_findPluginFor(ce){const He=this._eventNameToPlugin.get(ce);if(He)return He;const Et=this._plugins;for(let Ht=0;Ht<Et.length;Ht++){const dn=Et[Ht];if(dn.supports(ce))return this._eventNameToPlugin.set(ce,dn),dn}throw new Error(`No event manager plugin found for event ${ce}`)}}return _e.\u0275fac=function(ce){return new(ce||_e)(m.LFG(B),m.LFG(m.R0b))},_e.\u0275prov=m.Yz7({token:_e,factory:_e.\u0275fac}),_e})();class se{constructor(Oe){this._doc=Oe}addGlobalEventListener(Oe,ce,He){const Et=(0,u.q)().getGlobalEventTarget(this._doc,Oe);if(!Et)throw new Error(`Unsupported event target ${Et} for event ${ce}`);return this.addEventListener(Et,ce,He)}}let fe=(()=>{class _e{constructor(){this._stylesSet=new Set}addStyles(ce){const He=new Set;ce.forEach(Et=>{this._stylesSet.has(Et)||(this._stylesSet.add(Et),He.add(Et))}),this.onStylesAdded(He)}onStylesAdded(ce){}getAllStyles(){return Array.from(this._stylesSet)}}return _e.\u0275fac=function(ce){return new(ce||_e)},_e.\u0275prov=m.Yz7({token:_e,factory:_e.\u0275fac}),_e})(),Le=(()=>{class _e extends fe{constructor(ce){super(),this._doc=ce,this._hostNodes=new Map,this._hostNodes.set(ce.head,[])}_addStylesToHost(ce,He,Et){ce.forEach(Ht=>{const dn=this._doc.createElement("style");dn.textContent=Ht,Et.push(He.appendChild(dn))})}addHost(ce){const He=[];this._addStylesToHost(this._stylesSet,ce,He),this._hostNodes.set(ce,He)}removeHost(ce){const He=this._hostNodes.get(ce);He&&He.forEach(st),this._hostNodes.delete(ce)}onStylesAdded(ce){this._hostNodes.forEach((He,Et)=>{this._addStylesToHost(ce,Et,He)})}ngOnDestroy(){this._hostNodes.forEach(ce=>ce.forEach(st))}}return _e.\u0275fac=function(ce){return new(ce||_e)(m.LFG(u.K0))},_e.\u0275prov=m.Yz7({token:_e,factory:_e.\u0275fac}),_e})();function st(_e){(0,u.q)().remove(_e)}const ft={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},Ke=/%COMP%/g;function J(_e,Oe,ce){for(let He=0;He<Oe.length;He++){let Et=Oe[He];Array.isArray(Et)?J(_e,Et,ce):(Et=Et.replace(Ke,_e),ce.push(Et))}return ce}function le(_e){return Oe=>{if("__ngUnwrap__"===Oe)return _e;!1===_e(Oe)&&(Oe.preventDefault(),Oe.returnValue=!1)}}let Ae=(()=>{class _e{constructor(ce,He,Et){this.eventManager=ce,this.sharedStylesHost=He,this.appId=Et,this.rendererByCompId=new Map,this.defaultRenderer=new De(ce)}createRenderer(ce,He){if(!ce||!He)return this.defaultRenderer;switch(He.encapsulation){case m.ifc.Emulated:{let Et=this.rendererByCompId.get(He.id);return Et||(Et=new Vt(this.eventManager,this.sharedStylesHost,He,this.appId),this.rendererByCompId.set(He.id,Et)),Et.applyToHost(ce),Et}case 1:case m.ifc.ShadowDom:return new ze(this.eventManager,this.sharedStylesHost,ce,He);default:if(!this.rendererByCompId.has(He.id)){const Et=J(He.id,He.styles,[]);this.sharedStylesHost.addStyles(Et),this.rendererByCompId.set(He.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return _e.\u0275fac=function(ce){return new(ce||_e)(m.LFG(q),m.LFG(Le),m.LFG(m.AFp))},_e.\u0275prov=m.Yz7({token:_e,factory:_e.\u0275fac}),_e})();class De{constructor(Oe){this.eventManager=Oe,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(Oe,ce){return ce?document.createElementNS(ft[ce]||ce,Oe):document.createElement(Oe)}createComment(Oe){return document.createComment(Oe)}createText(Oe){return document.createTextNode(Oe)}appendChild(Oe,ce){Oe.appendChild(ce)}insertBefore(Oe,ce,He){Oe&&Oe.insertBefore(ce,He)}removeChild(Oe,ce){Oe&&Oe.removeChild(ce)}selectRootElement(Oe,ce){let He="string"==typeof Oe?document.querySelector(Oe):Oe;if(!He)throw new Error(`The selector "${Oe}" did not match any elements`);return ce||(He.textContent=""),He}parentNode(Oe){return Oe.parentNode}nextSibling(Oe){return Oe.nextSibling}setAttribute(Oe,ce,He,Et){if(Et){ce=Et+":"+ce;const Ht=ft[Et];Ht?Oe.setAttributeNS(Ht,ce,He):Oe.setAttribute(ce,He)}else Oe.setAttribute(ce,He)}removeAttribute(Oe,ce,He){if(He){const Et=ft[He];Et?Oe.removeAttributeNS(Et,ce):Oe.removeAttribute(`${He}:${ce}`)}else Oe.removeAttribute(ce)}addClass(Oe,ce){Oe.classList.add(ce)}removeClass(Oe,ce){Oe.classList.remove(ce)}setStyle(Oe,ce,He,Et){Et&(m.JOm.DashCase|m.JOm.Important)?Oe.style.setProperty(ce,He,Et&m.JOm.Important?"important":""):Oe.style[ce]=He}removeStyle(Oe,ce,He){He&m.JOm.DashCase?Oe.style.removeProperty(ce):Oe.style[ce]=""}setProperty(Oe,ce,He){Oe[ce]=He}setValue(Oe,ce){Oe.nodeValue=ce}listen(Oe,ce,He){return"string"==typeof Oe?this.eventManager.addGlobalEventListener(Oe,ce,le(He)):this.eventManager.addEventListener(Oe,ce,le(He))}}class Vt extends De{constructor(Oe,ce,He,Et){super(Oe),this.component=He;const Ht=J(Et+"-"+He.id,He.styles,[]);ce.addStyles(Ht),this.contentAttr="_ngcontent-%COMP%".replace(Ke,Et+"-"+He.id),this.hostAttr="_nghost-%COMP%".replace(Ke,Et+"-"+He.id)}applyToHost(Oe){super.setAttribute(Oe,this.hostAttr,"")}createElement(Oe,ce){const He=super.createElement(Oe,ce);return super.setAttribute(He,this.contentAttr,""),He}}class ze extends De{constructor(Oe,ce,He,Et){super(Oe),this.sharedStylesHost=ce,this.hostEl=He,this.shadowRoot=He.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const Ht=J(Et.id,Et.styles,[]);for(let dn=0;dn<Ht.length;dn++){const An=document.createElement("style");An.textContent=Ht[dn],this.shadowRoot.appendChild(An)}}nodeOrShadowRoot(Oe){return Oe===this.hostEl?this.shadowRoot:Oe}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(Oe,ce){return super.appendChild(this.nodeOrShadowRoot(Oe),ce)}insertBefore(Oe,ce,He){return super.insertBefore(this.nodeOrShadowRoot(Oe),ce,He)}removeChild(Oe,ce){return super.removeChild(this.nodeOrShadowRoot(Oe),ce)}parentNode(Oe){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(Oe)))}}let it=(()=>{class _e extends se{constructor(ce){super(ce)}supports(ce){return!0}addEventListener(ce,He,Et){return ce.addEventListener(He,Et,!1),()=>this.removeEventListener(ce,He,Et)}removeEventListener(ce,He,Et){return ce.removeEventListener(He,Et)}}return _e.\u0275fac=function(ce){return new(ce||_e)(m.LFG(u.K0))},_e.\u0275prov=m.Yz7({token:_e,factory:_e.\u0275fac}),_e})();const pt=["alt","control","meta","shift"],It={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},jt={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},et={alt:_e=>_e.altKey,control:_e=>_e.ctrlKey,meta:_e=>_e.metaKey,shift:_e=>_e.shiftKey};let xe=(()=>{class _e extends se{constructor(ce){super(ce)}supports(ce){return null!=_e.parseEventName(ce)}addEventListener(ce,He,Et){const Ht=_e.parseEventName(He),dn=_e.eventCallback(Ht.fullKey,Et,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,u.q)().onAndCancel(ce,Ht.domEventName,dn))}static parseEventName(ce){const He=ce.toLowerCase().split("."),Et=He.shift();if(0===He.length||"keydown"!==Et&&"keyup"!==Et)return null;const Ht=_e._normalizeKey(He.pop());let dn="";if(pt.forEach(jn=>{const Qt=He.indexOf(jn);Qt>-1&&(He.splice(Qt,1),dn+=jn+".")}),dn+=Ht,0!=He.length||0===Ht.length)return null;const An={};return An.domEventName=Et,An.fullKey=dn,An}static getEventFullKey(ce){let He="",Et=function(_e){let Oe=_e.key;if(null==Oe){if(Oe=_e.keyIdentifier,null==Oe)return"Unidentified";Oe.startsWith("U+")&&(Oe=String.fromCharCode(parseInt(Oe.substring(2),16)),3===_e.location&&jt.hasOwnProperty(Oe)&&(Oe=jt[Oe]))}return It[Oe]||Oe}(ce);return Et=Et.toLowerCase()," "===Et?Et="space":"."===Et&&(Et="dot"),pt.forEach(Ht=>{Ht!=Et&&et[Ht](ce)&&(He+=Ht+".")}),He+=Et,He}static eventCallback(ce,He,Et){return Ht=>{_e.getEventFullKey(Ht)===ce&&Et.runGuarded(()=>He(Ht))}}static _normalizeKey(ce){return"esc"===ce?"escape":ce}}return _e.\u0275fac=function(ce){return new(ce||_e)(m.LFG(u.K0))},_e.\u0275prov=m.Yz7({token:_e,factory:_e.\u0275fac}),_e})();const Ct=(0,m.eFA)(m._c5,"browser",[{provide:m.Lbi,useValue:u.bD},{provide:m.g9A,useValue:function(){x.makeCurrent(),U.init()},multi:!0},{provide:u.K0,useFactory:function(){return(0,m.RDi)(document),document},deps:[]}]),Ot=[{provide:m.zSh,useValue:"root"},{provide:m.qLn,useFactory:function(){return new m.qLn},deps:[]},{provide:B,useClass:it,multi:!0,deps:[u.K0,m.R0b,m.Lbi]},{provide:B,useClass:xe,multi:!0,deps:[u.K0]},{provide:Ae,useClass:Ae,deps:[q,Le,m.AFp]},{provide:m.FYo,useExisting:Ae},{provide:fe,useExisting:Le},{provide:Le,useClass:Le,deps:[u.K0]},{provide:m.dDg,useClass:m.dDg,deps:[m.R0b]},{provide:q,useClass:q,deps:[B,m.R0b]},{provide:u.JF,useClass:j,deps:[]}];let tn=(()=>{class _e{constructor(ce){if(ce)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}static withServerTransition(ce){return{ngModule:_e,providers:[{provide:m.AFp,useValue:ce.appId},{provide:z,useExisting:m.AFp},H]}}}return _e.\u0275fac=function(ce){return new(ce||_e)(m.LFG(_e,12))},_e.\u0275mod=m.oAB({type:_e}),_e.\u0275inj=m.cJS({providers:Ot,imports:[u.ez,m.hGG]}),_e})(),de=(()=>{class _e{constructor(ce){this._doc=ce,this._dom=(0,u.q)()}addTag(ce,He=!1){return ce?this._getOrCreateElement(ce,He):null}addTags(ce,He=!1){return ce?ce.reduce((Et,Ht)=>(Ht&&Et.push(this._getOrCreateElement(Ht,He)),Et),[]):[]}getTag(ce){return ce&&this._doc.querySelector(`meta[${ce}]`)||null}getTags(ce){if(!ce)return[];const He=this._doc.querySelectorAll(`meta[${ce}]`);return He?[].slice.call(He):[]}updateTag(ce,He){if(!ce)return null;He=He||this._parseSelector(ce);const Et=this.getTag(He);return Et?this._setMetaElementAttributes(ce,Et):this._getOrCreateElement(ce,!0)}removeTag(ce){this.removeTagElement(this.getTag(ce))}removeTagElement(ce){ce&&this._dom.remove(ce)}_getOrCreateElement(ce,He=!1){if(!He){const dn=this._parseSelector(ce),An=this.getTags(dn).filter(jn=>this._containsAttributes(ce,jn))[0];if(void 0!==An)return An}const Et=this._dom.createElement("meta");return this._setMetaElementAttributes(ce,Et),this._doc.getElementsByTagName("head")[0].appendChild(Et),Et}_setMetaElementAttributes(ce,He){return Object.keys(ce).forEach(Et=>He.setAttribute(this._getMetaKeyMap(Et),ce[Et])),He}_parseSelector(ce){const He=ce.name?"name":"property";return`${He}="${ce[He]}"`}_containsAttributes(ce,He){return Object.keys(ce).every(Et=>He.getAttribute(this._getMetaKeyMap(Et))===ce[Et])}_getMetaKeyMap(ce){return he[ce]||ce}}return _e.\u0275fac=function(ce){return new(ce||_e)(m.LFG(u.K0))},_e.\u0275prov=m.Yz7({token:_e,factory:function(ce){let He=null;return He=ce?new ce:new de((0,m.LFG)(u.K0)),He},providedIn:"root"}),_e})();const he={httpEquiv:"http-equiv"};let me=(()=>{class _e{constructor(ce){this._doc=ce}getTitle(){return this._doc.title}setTitle(ce){this._doc.title=ce||""}}return _e.\u0275fac=function(ce){return new(ce||_e)(m.LFG(u.K0))},_e.\u0275prov=m.Yz7({token:_e,factory:function(ce){let He=null;return He=ce?new ce:new me((0,m.LFG)(u.K0)),He},providedIn:"root"}),_e})();"undefined"!=typeof window&&window;let te=(()=>{class _e{}return _e.\u0275fac=function(ce){return new(ce||_e)},_e.\u0275prov=m.Yz7({token:_e,factory:function(ce){let He=null;return He=ce?new(ce||_e):m.LFG(be),He},providedIn:"root"}),_e})(),be=(()=>{class _e extends te{constructor(ce){super(),this._doc=ce}sanitize(ce,He){if(null==He)return null;switch(ce){case m.q3G.NONE:return He;case m.q3G.HTML:return(0,m.qzn)(He,"HTML")?(0,m.z3N)(He):(0,m.EiD)(this._doc,String(He)).toString();case m.q3G.STYLE:return(0,m.qzn)(He,"Style")?(0,m.z3N)(He):He;case m.q3G.SCRIPT:if((0,m.qzn)(He,"Script"))return(0,m.z3N)(He);throw new Error("unsafe value used in a script context");case m.q3G.URL:return(0,m.yhl)(He),(0,m.qzn)(He,"URL")?(0,m.z3N)(He):(0,m.mCW)(String(He));case m.q3G.RESOURCE_URL:if((0,m.qzn)(He,"ResourceURL"))return(0,m.z3N)(He);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${ce} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(ce){return(0,m.JVY)(ce)}bypassSecurityTrustStyle(ce){return(0,m.L6k)(ce)}bypassSecurityTrustScript(ce){return(0,m.eBb)(ce)}bypassSecurityTrustUrl(ce){return(0,m.LAX)(ce)}bypassSecurityTrustResourceUrl(ce){return(0,m.pB0)(ce)}}return _e.\u0275fac=function(ce){return new(ce||_e)(m.LFG(u.K0))},_e.\u0275prov=m.Yz7({token:_e,factory:function(ce){let He=null;return He=ce?new ce:function(_e){return new be(_e.get(u.K0))}(m.LFG(m.zs3)),He},providedIn:"root"}),_e})()},1659:(xt,Ie,w)=>{"use strict";w.d(Ie,{gz:()=>Sn,m2:()=>jt,F0:()=>Ji,rH:()=>Wi,Od:()=>zs,yS:()=>Fi,Bz:()=>oo,lC:()=>rs});var u=w(6019),m=w(3668);const x=(0,w(4893).d)(l=>function(){l(this),this.name="EmptyError",this.message="no elements in sequence"});var ee=w(8305),A=w(7908),O=w(9947),F=w(8889);function z(){return(0,O.e)((l,d)=>{let p=null;l._refCount++;const S=new F.Q(d,void 0,void 0,void 0,()=>{if(!l||l._refCount<=0||0<--l._refCount)return void(p=null);const k=l._connection,ne=p;p=null,k&&(!ne||k===ne)&&k.unsubscribe(),d.unsubscribe()});l.subscribe(S),S.closed||(p=l.connect())})}class X extends ee.y{constructor(d,p){super(),this.source=d,this.subjectFactory=p,this._subject=null,this._refCount=0,this._connection=null,(0,O.A)(d)&&(this.lift=d.lift)}_subscribe(d){return this.getSubject().subscribe(d)}getSubject(){const d=this._subject;return(!d||d.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:d}=this;this._subject=this._connection=null,null==d||d.unsubscribe()}connect(){let d=this._connection;if(!d){d=this._connection=new A.w0;const p=this.getSubject();d.add(this.source.subscribe(new F.Q(p,void 0,()=>{this._teardown(),p.complete()},S=>{this._teardown(),p.error(S)},()=>this._teardown()))),d.closed&&(this._connection=null,d=A.w0.EMPTY)}return d}refCount(){return z()(this)}}var H=w(2583),U=w(2997),j=w(4499),B=w(5804),q=w(1404),se=w(5048),fe=w(5583),Le=w(273);function st(l,d,p,S,k){return(ne,Se)=>{let Ye=p,yt=d,en=0;ne.subscribe(new F.Q(Se,Hn=>{const Dn=en++;yt=Ye?l(yt,Hn,Dn):(Ye=!0,Hn),S&&Se.next(yt)},k&&(()=>{Ye&&Se.next(yt),Se.complete()})))}}function ft(l,d){return(0,O.e)(st(l,d,arguments.length>=2,!0))}var Ke=w(461);function Ge(l){return l<=0?()=>fe.E:(0,O.e)((d,p)=>{let S=[];d.subscribe(new F.Q(p,k=>{S.push(k),l<S.length&&S.shift()},()=>{for(const k of S)p.next(k);p.complete()},void 0,()=>{S=null}))})}function ut(l=Pe){return(0,O.e)((d,p)=>{let S=!1;d.subscribe(new F.Q(p,k=>{S=!0,p.next(k)},()=>S?p.complete():p.error(l())))})}function Pe(){return new x}function Ce(l){return(0,O.e)((d,p)=>{let S=!1;d.subscribe(new F.Q(p,k=>{S=!0,p.next(k)},()=>{S||p.next(l),p.complete()}))})}var ge=w(4623),J=w(9468);function le(l,d){const p=arguments.length>=2;return S=>S.pipe(l?(0,Ke.h)((k,ne)=>l(k,ne,S)):ge.y,(0,J.q)(1),p?Ce(d):ut(()=>new x))}var ve=w(4753),Ae=w(3067),De=w(3970),qe=w(2835),ht=w(4799),Vt=w(5724),ze=w(7384),it=w(423),pt=w(5373);class Dt{constructor(d,p){this.id=d,this.url=p}}class It extends Dt{constructor(d,p,S="imperative",k=null){super(d,p),this.navigationTrigger=S,this.restoredState=k}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class jt extends Dt{constructor(d,p,S){super(d,p),this.urlAfterRedirects=S}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class et extends Dt{constructor(d,p,S){super(d,p),this.reason=S}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class xe extends Dt{constructor(d,p,S){super(d,p),this.error=S}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Te extends Dt{constructor(d,p,S,k){super(d,p),this.urlAfterRedirects=S,this.state=k}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ae extends Dt{constructor(d,p,S,k){super(d,p),this.urlAfterRedirects=S,this.state=k}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class we extends Dt{constructor(d,p,S,k,ne){super(d,p),this.urlAfterRedirects=S,this.state=k,this.shouldActivate=ne}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Me extends Dt{constructor(d,p,S,k){super(d,p),this.urlAfterRedirects=S,this.state=k}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class lt extends Dt{constructor(d,p,S,k){super(d,p),this.urlAfterRedirects=S,this.state=k}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ct{constructor(d){this.route=d}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Ot{constructor(d){this.route=d}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class tn{constructor(d){this.snapshot=d}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class St{constructor(d){this.snapshot=d}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class de{constructor(d){this.snapshot=d}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class he{constructor(d){this.snapshot=d}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ze{constructor(d,p,S){this.routerEvent=d,this.position=p,this.anchor=S}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}const me="primary";class Qe{constructor(d){this.params=d||{}}has(d){return Object.prototype.hasOwnProperty.call(this.params,d)}get(d){if(this.has(d)){const p=this.params[d];return Array.isArray(p)?p[0]:p}return null}getAll(d){if(this.has(d)){const p=this.params[d];return Array.isArray(p)?p:[p]}return[]}get keys(){return Object.keys(this.params)}}function Ne(l){return new Qe(l)}const Ee="ngNavigationCancelingError";function Ve(l){const d=Error("NavigationCancelingError: "+l);return d[Ee]=!0,d}function Tt(l,d,p){const S=p.path.split("/");if(S.length>l.length||"full"===p.pathMatch&&(d.hasChildren()||S.length<l.length))return null;const k={};for(let ne=0;ne<S.length;ne++){const Se=S[ne],Ye=l[ne];if(Se.startsWith(":"))k[Se.substring(1)]=Ye;else if(Se!==Ye.path)return null}return{consumed:l.slice(0,S.length),posParams:k}}function kt(l,d){const p=l?Object.keys(l):void 0,S=d?Object.keys(d):void 0;if(!p||!S||p.length!=S.length)return!1;let k;for(let ne=0;ne<p.length;ne++)if(k=p[ne],!Wt(l[k],d[k]))return!1;return!0}function Wt(l,d){if(Array.isArray(l)&&Array.isArray(d)){if(l.length!==d.length)return!1;const p=[...l].sort(),S=[...d].sort();return p.every((k,ne)=>S[ne]===k)}return l===d}function sn(l){return Array.prototype.concat.apply([],l)}function Pn(l){return l.length>0?l[l.length-1]:null}function un(l,d){for(const p in l)l.hasOwnProperty(p)&&d(l[p],p)}function Ln(l){return(0,m.CqO)(l)?l:(0,m.QGY)(l)?(0,H.D)(Promise.resolve(l)):(0,U.of)(l)}const hn={exact:function ot(l,d,p){if(!be(l.segments,d.segments)||!We(l.segments,d.segments,p)||l.numberOfChildren!==d.numberOfChildren)return!1;for(const S in d.children)if(!l.children[S]||!ot(l.children[S],d.children[S],p))return!1;return!0},subset:an},Mn={exact:function(l,d){return kt(l,d)},subset:function(l,d){return Object.keys(d).length<=Object.keys(l).length&&Object.keys(d).every(p=>Wt(l[p],d[p]))},ignored:()=>!0};function mt(l,d,p){return hn[p.paths](l.root,d.root,p.matrixParams)&&Mn[p.queryParams](l.queryParams,d.queryParams)&&!("exact"===p.fragment&&l.fragment!==d.fragment)}function an(l,d,p){return je(l,d,d.segments,p)}function je(l,d,p,S){if(l.segments.length>p.length){const k=l.segments.slice(0,p.length);return!(!be(k,p)||d.hasChildren()||!We(k,p,S))}if(l.segments.length===p.length){if(!be(l.segments,p)||!We(l.segments,p,S))return!1;for(const k in d.children)if(!l.children[k]||!an(l.children[k],d.children[k],S))return!1;return!0}{const k=p.slice(0,l.segments.length),ne=p.slice(l.segments.length);return!!(be(l.segments,k)&&We(l.segments,k,S)&&l.children[me])&&je(l.children[me],d,ne,S)}}function We(l,d,p){return d.every((S,k)=>Mn[p](l[k].parameters,S.parameters))}class tt{constructor(d,p,S){this.root=d,this.queryParams=p,this.fragment=S}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Ne(this.queryParams)),this._queryParamMap}toString(){return ce.serialize(this)}}class Y{constructor(d,p){this.segments=d,this.children=p,this.parent=null,un(p,(S,k)=>S.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return He(this)}}class te{constructor(d,p){this.path=d,this.parameters=p}get parameterMap(){return this._parameterMap||(this._parameterMap=Ne(this.parameters)),this._parameterMap}toString(){return Qn(this)}}function be(l,d){return l.length===d.length&&l.every((p,S)=>p.path===d[S].path)}class _e{}class Oe{parse(d){const p=new Rt(d);return new tt(p.parseRootSegment(),p.parseQueryParams(),p.parseFragment())}serialize(d){const p=`/${Et(d.root,!0)}`,S=function(l){const d=Object.keys(l).map(p=>{const S=l[p];return Array.isArray(S)?S.map(k=>`${dn(p)}=${dn(k)}`).join("&"):`${dn(p)}=${dn(S)}`}).filter(p=>!!p);return d.length?`?${d.join("&")}`:""}(d.queryParams);var l;return`${p}${S}${"string"==typeof d.fragment?`#${l=d.fragment,encodeURI(l)}`:""}`}}const ce=new Oe;function He(l){return l.segments.map(d=>Qn(d)).join("/")}function Et(l,d){if(!l.hasChildren())return He(l);if(d){const p=l.children[me]?Et(l.children[me],!1):"",S=[];return un(l.children,(k,ne)=>{ne!==me&&S.push(`${ne}:${Et(k,!1)}`)}),S.length>0?`${p}(${S.join("//")})`:p}{const p=function(l,d){let p=[];return un(l.children,(S,k)=>{k===me&&(p=p.concat(d(S,k)))}),un(l.children,(S,k)=>{k!==me&&(p=p.concat(d(S,k)))}),p}(l,(S,k)=>k===me?[Et(l.children[me],!1)]:[`${k}:${Et(S,!1)}`]);return 1===Object.keys(l.children).length&&null!=l.children[me]?`${He(l)}/${p[0]}`:`${He(l)}/(${p.join("//")})`}}function Ht(l){return encodeURIComponent(l).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function dn(l){return Ht(l).replace(/%3B/gi,";")}function jn(l){return Ht(l).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Qt(l){return decodeURIComponent(l)}function On(l){return Qt(l.replace(/\+/g,"%20"))}function Qn(l){return`${jn(l.path)}${function(l){return Object.keys(l).map(d=>`;${jn(d)}=${jn(l[d])}`).join("")}(l.parameters)}`}const R=/^[^\/()?;=#]+/;function $(l){const d=l.match(R);return d?d[0]:""}const ue=/^[^=?&#]+/,gt=/^[^&#]+/;class Rt{constructor(d){this.url=d,this.remaining=d}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Y([],{}):new Y([],this.parseChildren())}parseQueryParams(){const d={};if(this.consumeOptional("?"))do{this.parseQueryParam(d)}while(this.consumeOptional("&"));return d}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const d=[];for(this.peekStartsWith("(")||d.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),d.push(this.parseSegment());let p={};this.peekStartsWith("/(")&&(this.capture("/"),p=this.parseParens(!0));let S={};return this.peekStartsWith("(")&&(S=this.parseParens(!1)),(d.length>0||Object.keys(p).length>0)&&(S[me]=new Y(d,p)),S}parseSegment(){const d=$(this.remaining);if(""===d&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(d),new te(Qt(d),this.parseMatrixParams())}parseMatrixParams(){const d={};for(;this.consumeOptional(";");)this.parseParam(d);return d}parseParam(d){const p=$(this.remaining);if(!p)return;this.capture(p);let S="";if(this.consumeOptional("=")){const k=$(this.remaining);k&&(S=k,this.capture(S))}d[Qt(p)]=Qt(S)}parseQueryParam(d){const p=function(l){const d=l.match(ue);return d?d[0]:""}(this.remaining);if(!p)return;this.capture(p);let S="";if(this.consumeOptional("=")){const Se=function(l){const d=l.match(gt);return d?d[0]:""}(this.remaining);Se&&(S=Se,this.capture(S))}const k=On(p),ne=On(S);if(d.hasOwnProperty(k)){let Se=d[k];Array.isArray(Se)||(Se=[Se],d[k]=Se),Se.push(ne)}else d[k]=ne}parseParens(d){const p={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const S=$(this.remaining),k=this.remaining[S.length];if("/"!==k&&")"!==k&&";"!==k)throw new Error(`Cannot parse url '${this.url}'`);let ne;S.indexOf(":")>-1?(ne=S.substr(0,S.indexOf(":")),this.capture(ne),this.capture(":")):d&&(ne=me);const Se=this.parseChildren();p[ne]=1===Object.keys(Se).length?Se[me]:new Y([],Se),this.consumeOptional("//")}return p}peekStartsWith(d){return this.remaining.startsWith(d)}consumeOptional(d){return!!this.peekStartsWith(d)&&(this.remaining=this.remaining.substring(d.length),!0)}capture(d){if(!this.consumeOptional(d))throw new Error(`Expected "${d}".`)}}class Lt{constructor(d){this._root=d}get root(){return this._root.value}parent(d){const p=this.pathFromRoot(d);return p.length>1?p[p.length-2]:null}children(d){const p=$t(d,this._root);return p?p.children.map(S=>S.value):[]}firstChild(d){const p=$t(d,this._root);return p&&p.children.length>0?p.children[0].value:null}siblings(d){const p=Jt(d,this._root);return p.length<2?[]:p[p.length-2].children.map(k=>k.value).filter(k=>k!==d)}pathFromRoot(d){return Jt(d,this._root).map(p=>p.value)}}function $t(l,d){if(l===d.value)return d;for(const p of d.children){const S=$t(l,p);if(S)return S}return null}function Jt(l,d){if(l===d.value)return[d];for(const p of d.children){const S=Jt(l,p);if(S.length)return S.unshift(d),S}return[]}class zt{constructor(d,p){this.value=d,this.children=p}toString(){return`TreeNode(${this.value})`}}function Kt(l){const d={};return l&&l.children.forEach(p=>d[p.value.outlet]=p),d}class on extends Lt{constructor(d,p){super(d),this.snapshot=p,ei(this,d)}toString(){return this.snapshot.toString()}}function fn(l,d){const p=function(l,d){const Se=new ni([],{},{},"",{},me,d,null,l.root,-1,{});return new Kn("",new zt(Se,[]))}(l,d),S=new j.X([new te("",{})]),k=new j.X({}),ne=new j.X({}),Se=new j.X({}),Ye=new j.X(""),yt=new Sn(S,k,Se,Ye,ne,me,d,p.root);return yt.snapshot=p.root,new on(new zt(yt,[]),p)}class Sn{constructor(d,p,S,k,ne,Se,Ye,yt){this.url=d,this.params=p,this.queryParams=S,this.fragment=k,this.data=ne,this.outlet=Se,this.component=Ye,this._futureSnapshot=yt}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe((0,ve.U)(d=>Ne(d)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,ve.U)(d=>Ne(d)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function En(l,d="emptyOnly"){const p=l.pathFromRoot;let S=0;if("always"!==d)for(S=p.length-1;S>=1;){const k=p[S],ne=p[S-1];if(k.routeConfig&&""===k.routeConfig.path)S--;else{if(ne.component)break;S--}}return function(l){return l.reduce((d,p)=>({params:cn(cn({},d.params),p.params),data:cn(cn({},d.data),p.data),resolve:cn(cn({},d.resolve),p._resolvedData)}),{params:{},data:{},resolve:{}})}(p.slice(S))}class ni{constructor(d,p,S,k,ne,Se,Ye,yt,en,Hn,Dn){this.url=d,this.params=p,this.queryParams=S,this.fragment=k,this.data=ne,this.outlet=Se,this.component=Ye,this.routeConfig=yt,this._urlSegment=en,this._lastPathIndex=Hn,this._resolve=Dn}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=Ne(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Ne(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(S=>S.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Kn extends Lt{constructor(d,p){super(p),this.url=d,ei(this,p)}toString(){return Vn(this._root)}}function ei(l,d){d.value._routerState=l,d.children.forEach(p=>ei(l,p))}function Vn(l){const d=l.children.length>0?` { ${l.children.map(Vn).join(", ")} } `:"";return`${l.value}${d}`}function Nn(l){if(l.snapshot){const d=l.snapshot,p=l._futureSnapshot;l.snapshot=p,kt(d.queryParams,p.queryParams)||l.queryParams.next(p.queryParams),d.fragment!==p.fragment&&l.fragment.next(p.fragment),kt(d.params,p.params)||l.params.next(p.params),function(l,d){if(l.length!==d.length)return!1;for(let p=0;p<l.length;++p)if(!kt(l[p],d[p]))return!1;return!0}(d.url,p.url)||l.url.next(p.url),kt(d.data,p.data)||l.data.next(p.data)}else l.snapshot=l._futureSnapshot,l.data.next(l._futureSnapshot.data)}function $n(l,d){const p=kt(l.params,d.params)&&function(l,d){return be(l,d)&&l.every((p,S)=>kt(p.parameters,d[S].parameters))}(l.url,d.url);return p&&!(!l.parent!=!d.parent)&&(!l.parent||$n(l.parent,d.parent))}function hi(l,d,p){if(p&&l.shouldReuseRoute(d.value,p.value.snapshot)){const S=p.value;S._futureSnapshot=d.value;const k=function(l,d,p){return d.children.map(S=>{for(const k of p.children)if(l.shouldReuseRoute(S.value,k.value.snapshot))return hi(l,S,k);return hi(l,S)})}(l,d,p);return new zt(S,k)}{if(l.shouldAttach(d.value)){const ne=l.retrieve(d.value);if(null!==ne){const Se=ne.route;return Se.value._futureSnapshot=d.value,Se.children=d.children.map(Ye=>hi(l,Ye)),Se}}const S=function(l){return new Sn(new j.X(l.url),new j.X(l.params),new j.X(l.queryParams),new j.X(l.fragment),new j.X(l.data),l.outlet,l.component,l)}(d.value),k=d.children.map(ne=>hi(l,ne));return new zt(S,k)}}function yi(l){return"object"==typeof l&&null!=l&&!l.outlets&&!l.segmentPath}function zi(l){return"object"==typeof l&&null!=l&&l.outlets}function wn(l,d,p,S,k){let ne={};return S&&un(S,(Se,Ye)=>{ne[Ye]=Array.isArray(Se)?Se.map(yt=>`${yt}`):`${Se}`}),new tt(p.root===l?d:ri(p.root,l,d),ne,k)}function ri(l,d,p){const S={};return un(l.children,(k,ne)=>{S[ne]=k===d?p:ri(k,d,p)}),new Y(l.segments,S)}class wr{constructor(d,p,S){if(this.isAbsolute=d,this.numberOfDoubleDots=p,this.commands=S,d&&S.length>0&&yi(S[0]))throw new Error("Root segment cannot have matrix parameters");const k=S.find(zi);if(k&&k!==Pn(S))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Ii{constructor(d,p,S){this.segmentGroup=d,this.processChildren=p,this.index=S}}function ns(l,d,p){if(l||(l=new Y([],{})),0===l.segments.length&&l.hasChildren())return Ur(l,d,p);const S=function(l,d,p){let S=0,k=d;const ne={match:!1,pathIndex:0,commandIndex:0};for(;k<l.segments.length;){if(S>=p.length)return ne;const Se=l.segments[k],Ye=p[S];if(zi(Ye))break;const yt=`${Ye}`,en=S<p.length-1?p[S+1]:null;if(k>0&&void 0===yt)break;if(yt&&en&&"object"==typeof en&&void 0===en.outlets){if(!Hr(yt,en,Se))return ne;S+=2}else{if(!Hr(yt,{},Se))return ne;S++}k++}return{match:!0,pathIndex:k,commandIndex:S}}(l,d,p),k=p.slice(S.commandIndex);if(S.match&&S.pathIndex<l.segments.length){const ne=new Y(l.segments.slice(0,S.pathIndex),{});return ne.children[me]=new Y(l.segments.slice(S.pathIndex),l.children),Ur(ne,0,k)}return S.match&&0===k.length?new Y(l.segments,{}):S.match&&!l.hasChildren()?Gi(l,d,p):S.match?Ur(l,0,k):Gi(l,d,p)}function Ur(l,d,p){if(0===p.length)return new Y(l.segments,{});{const S=function(l){return zi(l[0])?l[0].outlets:{[me]:l}}(p),k={};return un(S,(ne,Se)=>{"string"==typeof ne&&(ne=[ne]),null!==ne&&(k[Se]=ns(l.children[Se],d,ne))}),un(l.children,(ne,Se)=>{void 0===S[Se]&&(k[Se]=ne)}),new Y(l.segments,k)}}function Gi(l,d,p){const S=l.segments.slice(0,d);let k=0;for(;k<p.length;){const ne=p[k];if(zi(ne)){const yt=Ms(ne.outlets);return new Y(S,yt)}if(0===k&&yi(p[0])){S.push(new te(l.segments[d].path,is(p[0]))),k++;continue}const Se=zi(ne)?ne.outlets[me]:`${ne}`,Ye=k<p.length-1?p[k+1]:null;Se&&Ye&&yi(Ye)?(S.push(new te(Se,is(Ye))),k+=2):(S.push(new te(Se,{})),k++)}return new Y(S,{})}function Ms(l){const d={};return un(l,(p,S)=>{"string"==typeof p&&(p=[p]),null!==p&&(d[S]=Gi(new Y([],{}),0,p))}),d}function is(l){const d={};return un(l,(p,S)=>d[S]=`${p}`),d}function Hr(l,d,p){return l==p.path&&kt(d,p.parameters)}class Ss{constructor(d,p,S,k){this.routeReuseStrategy=d,this.futureState=p,this.currState=S,this.forwardEvent=k}activate(d){const p=this.futureState._root,S=this.currState?this.currState._root:null;this.deactivateChildRoutes(p,S,d),Nn(this.futureState.root),this.activateChildRoutes(p,S,d)}deactivateChildRoutes(d,p,S){const k=Kt(p);d.children.forEach(ne=>{const Se=ne.value.outlet;this.deactivateRoutes(ne,k[Se],S),delete k[Se]}),un(k,(ne,Se)=>{this.deactivateRouteAndItsChildren(ne,S)})}deactivateRoutes(d,p,S){const k=d.value,ne=p?p.value:null;if(k===ne)if(k.component){const Se=S.getContext(k.outlet);Se&&this.deactivateChildRoutes(d,p,Se.children)}else this.deactivateChildRoutes(d,p,S);else ne&&this.deactivateRouteAndItsChildren(p,S)}deactivateRouteAndItsChildren(d,p){d.value.component&&this.routeReuseStrategy.shouldDetach(d.value.snapshot)?this.detachAndStoreRouteSubtree(d,p):this.deactivateRouteAndOutlet(d,p)}detachAndStoreRouteSubtree(d,p){const S=p.getContext(d.value.outlet),k=S&&d.value.component?S.children:p,ne=Kt(d);for(const Se of Object.keys(ne))this.deactivateRouteAndItsChildren(ne[Se],k);if(S&&S.outlet){const Se=S.outlet.detach(),Ye=S.children.onOutletDeactivated();this.routeReuseStrategy.store(d.value.snapshot,{componentRef:Se,route:d,contexts:Ye})}}deactivateRouteAndOutlet(d,p){const S=p.getContext(d.value.outlet),k=S&&d.value.component?S.children:p,ne=Kt(d);for(const Se of Object.keys(ne))this.deactivateRouteAndItsChildren(ne[Se],k);S&&S.outlet&&(S.outlet.deactivate(),S.children.onOutletDeactivated(),S.attachRef=null,S.resolver=null,S.route=null)}activateChildRoutes(d,p,S){const k=Kt(p);d.children.forEach(ne=>{this.activateRoutes(ne,k[ne.value.outlet],S),this.forwardEvent(new he(ne.value.snapshot))}),d.children.length&&this.forwardEvent(new St(d.value.snapshot))}activateRoutes(d,p,S){const k=d.value,ne=p?p.value:null;if(Nn(k),k===ne)if(k.component){const Se=S.getOrCreateContext(k.outlet);this.activateChildRoutes(d,p,Se.children)}else this.activateChildRoutes(d,p,S);else if(k.component){const Se=S.getOrCreateContext(k.outlet);if(this.routeReuseStrategy.shouldAttach(k.snapshot)){const Ye=this.routeReuseStrategy.retrieve(k.snapshot);this.routeReuseStrategy.store(k.snapshot,null),Se.children.onOutletReAttached(Ye.contexts),Se.attachRef=Ye.componentRef,Se.route=Ye.route.value,Se.outlet&&Se.outlet.attach(Ye.componentRef,Ye.route.value),Nn(Ye.route.value),this.activateChildRoutes(d,null,Se.children)}else{const Ye=function(l){for(let d=l.parent;d;d=d.parent){const p=d.routeConfig;if(p&&p._loadedConfig)return p._loadedConfig;if(p&&p.component)return null}return null}(k.snapshot),yt=Ye?Ye.module.componentFactoryResolver:null;Se.attachRef=null,Se.route=k,Se.resolver=yt,Se.outlet&&Se.outlet.activateWith(k,yt),this.activateChildRoutes(d,null,Se.children)}}else this.activateChildRoutes(d,null,S)}}class ar{constructor(d,p){this.routes=d,this.module=p}}function hr(l){return"function"==typeof l}function Cr(l){return l instanceof tt}const Ci=Symbol("INITIAL_VALUE");function pr(){return(0,Ae.w)(l=>(0,B.a)(l.map(d=>d.pipe((0,J.q)(1),(0,De.O)(Ci)))).pipe(ft((d,p)=>{let S=!1;return p.reduce((k,ne,Se)=>k!==Ci?k:(ne===Ci&&(S=!0),S||!1!==ne&&Se!==p.length-1&&!Cr(ne)?k:ne),d)},Ci),(0,Ke.h)(d=>d!==Ci),(0,ve.U)(d=>Cr(d)?d:!0===d),(0,J.q)(1)))}class mr{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new Ar,this.attachRef=null}}class Ar{constructor(){this.contexts=new Map}onChildOutletCreated(d,p){const S=this.getOrCreateContext(d);S.outlet=p,this.contexts.set(d,S)}onChildOutletDestroyed(d){const p=this.getContext(d);p&&(p.outlet=null,p.attachRef=null)}onOutletDeactivated(){const d=this.contexts;return this.contexts=new Map,d}onOutletReAttached(d){this.contexts=d}getOrCreateContext(d){let p=this.getContext(d);return p||(p=new mr,this.contexts.set(d,p)),p}getContext(d){return this.contexts.get(d)||null}}let rs=(()=>{class l{constructor(p,S,k,ne,Se){this.parentContexts=p,this.location=S,this.resolver=k,this.changeDetector=Se,this.activated=null,this._activatedRoute=null,this.activateEvents=new m.vpe,this.deactivateEvents=new m.vpe,this.attachEvents=new m.vpe,this.detachEvents=new m.vpe,this.name=ne||me,p.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const p=this.parentContexts.getContext(this.name);p&&p.route&&(p.attachRef?this.attach(p.attachRef,p.route):this.activateWith(p.route,p.resolver||null))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();const p=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(p.instance),p}attach(p,S){this.activated=p,this._activatedRoute=S,this.location.insert(p.hostView),this.attachEvents.emit(p.instance)}deactivate(){if(this.activated){const p=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(p)}}activateWith(p,S){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=p;const Se=(S=S||this.resolver).resolveComponentFactory(p._futureSnapshot.routeConfig.component),Ye=this.parentContexts.getOrCreateContext(this.name).children,yt=new hs(p,Ye,this.location.injector);this.activated=this.location.createComponent(Se,this.location.length,yt),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return l.\u0275fac=function(p){return new(p||l)(m.Y36(Ar),m.Y36(m.s_b),m.Y36(m._Vd),m.$8M("name"),m.Y36(m.sBO))},l.\u0275dir=m.lG2({type:l,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"]}),l})();class hs{constructor(d,p,S){this.route=d,this.childContexts=p,this.parent=S}get(d,p){return d===Sn?this.route:d===Ar?this.childContexts:this.parent.get(d,p)}}let ss=(()=>{class l{}return l.\u0275fac=function(p){return new(p||l)},l.\u0275cmp=m.Xpm({type:l,selectors:[["ng-component"]],decls:1,vars:0,template:function(p,S){1&p&&m._UZ(0,"router-outlet")},directives:[rs],encapsulation:2}),l})();function Pi(l,d=""){for(let p=0;p<l.length;p++){const S=l[p];ys(S,Wr(d,S))}}function ys(l,d){l.children&&Pi(l.children,d)}function Wr(l,d){return d?l||d.path?l&&!d.path?`${l}/`:!l&&d.path?d.path:`${l}/${d.path}`:"":l}function Ir(l){const d=l.children&&l.children.map(Ir),p=d?fr(cn({},l),{children:d}):cn({},l);return!p.component&&(d||p.loadChildren)&&p.outlet&&p.outlet!==me&&(p.component=ss),p}function Ki(l){return l.outlet||me}function $r(l,d){const p=l.filter(S=>Ki(S)===d);return p.push(...l.filter(S=>Ki(S)!==d)),p}const Pr={matched:!1,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};function si(l,d,p){var Ye;if(""===d.path)return"full"===d.pathMatch&&(l.hasChildren()||p.length>0)?cn({},Pr):{matched:!0,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};const k=(d.matcher||Tt)(p,l,d);if(!k)return cn({},Pr);const ne={};un(k.posParams,(yt,en)=>{ne[en]=yt.path});const Se=k.consumed.length>0?cn(cn({},ne),k.consumed[k.consumed.length-1].parameters):ne;return{matched:!0,consumedSegments:k.consumed,lastChild:k.consumed.length,parameters:Se,positionalParamSegments:null!=(Ye=k.posParams)?Ye:{}}}function Rr(l,d,p,S,k="corrected"){if(p.length>0&&function(l,d,p){return p.some(S=>_(l,d,S)&&Ki(S)!==me)}(l,p,S)){const Se=new Y(d,function(l,d,p,S){const k={};k[me]=S,S._sourceSegment=l,S._segmentIndexShift=d.length;for(const ne of p)if(""===ne.path&&Ki(ne)!==me){const Se=new Y([],{});Se._sourceSegment=l,Se._segmentIndexShift=d.length,k[Ki(ne)]=Se}return k}(l,d,S,new Y(p,l.children)));return Se._sourceSegment=l,Se._segmentIndexShift=d.length,{segmentGroup:Se,slicedSegments:[]}}if(0===p.length&&function(l,d,p){return p.some(S=>_(l,d,S))}(l,p,S)){const Se=new Y(l.segments,function(l,d,p,S,k,ne){const Se={};for(const Ye of S)if(_(l,p,Ye)&&!k[Ki(Ye)]){const yt=new Y([],{});yt._sourceSegment=l,yt._segmentIndexShift="legacy"===ne?l.segments.length:d.length,Se[Ki(Ye)]=yt}return cn(cn({},k),Se)}(l,d,p,S,l.children,k));return Se._sourceSegment=l,Se._segmentIndexShift=d.length,{segmentGroup:Se,slicedSegments:p}}const ne=new Y(l.segments,l.children);return ne._sourceSegment=l,ne._segmentIndexShift=d.length,{segmentGroup:ne,slicedSegments:p}}function _(l,d,p){return(!(l.hasChildren()||d.length>0)||"full"!==p.pathMatch)&&""===p.path}function L(l,d,p,S){return!!(Ki(l)===S||S!==me&&_(d,p,l))&&("**"===l.path||si(d,l,p).matched)}function Be(l,d,p){return 0===d.length&&!l.children[p]}class wt{constructor(d){this.segmentGroup=d||null}}class Zt{constructor(d){this.urlTree=d}}function gn(l){return new ee.y(d=>d.error(new wt(l)))}function qn(l){return new ee.y(d=>d.error(new Zt(l)))}function Yn(l){return new ee.y(d=>d.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${l}'`)))}class pi{constructor(d,p,S,k,ne){this.configLoader=p,this.urlSerializer=S,this.urlTree=k,this.config=ne,this.allowRedirects=!0,this.ngModule=d.get(m.h0i)}apply(){const d=Rr(this.urlTree.root,[],[],this.config).segmentGroup,p=new Y(d.segments,d.children);return this.expandSegmentGroup(this.ngModule,this.config,p,me).pipe((0,ve.U)(ne=>this.createUrlTree(Tn(ne),this.urlTree.queryParams,this.urlTree.fragment))).pipe((0,qe.K)(ne=>{if(ne instanceof Zt)return this.allowRedirects=!1,this.match(ne.urlTree);throw ne instanceof wt?this.noMatchError(ne):ne}))}match(d){return this.expandSegmentGroup(this.ngModule,this.config,d.root,me).pipe((0,ve.U)(k=>this.createUrlTree(Tn(k),d.queryParams,d.fragment))).pipe((0,qe.K)(k=>{throw k instanceof wt?this.noMatchError(k):k}))}noMatchError(d){return new Error(`Cannot match any routes. URL Segment: '${d.segmentGroup}'`)}createUrlTree(d,p,S){const k=d.segments.length>0?new Y([],{[me]:d}):d;return new tt(k,p,S)}expandSegmentGroup(d,p,S,k){return 0===S.segments.length&&S.hasChildren()?this.expandChildren(d,p,S).pipe((0,ve.U)(ne=>new Y([],ne))):this.expandSegment(d,S,p,S.segments,k,!0)}expandChildren(d,p,S){const k=[];for(const ne of Object.keys(S.children))"primary"===ne?k.unshift(ne):k.push(ne);return(0,H.D)(k).pipe((0,ht.b)(ne=>{const Se=S.children[ne],Ye=$r(p,ne);return this.expandSegmentGroup(d,Ye,Se,ne).pipe((0,ve.U)(yt=>({segment:yt,outlet:ne})))}),ft((ne,Se)=>(ne[Se.outlet]=Se.segment,ne),{}),function(l,d){const p=arguments.length>=2;return S=>S.pipe(l?(0,Ke.h)((k,ne)=>l(k,ne,S)):ge.y,Ge(1),p?Ce(d):ut(()=>new x))}())}expandSegment(d,p,S,k,ne,Se){return(0,H.D)(S).pipe((0,ht.b)(Ye=>this.expandSegmentAgainstRoute(d,p,S,Ye,k,ne,Se).pipe((0,qe.K)(en=>{if(en instanceof wt)return(0,U.of)(null);throw en}))),le(Ye=>!!Ye),(0,qe.K)((Ye,yt)=>{if(Ye instanceof x||"EmptyError"===Ye.name){if(Be(p,k,ne))return(0,U.of)(new Y([],{}));throw new wt(p)}throw Ye}))}expandSegmentAgainstRoute(d,p,S,k,ne,Se,Ye){return L(k,p,ne,Se)?void 0===k.redirectTo?this.matchSegmentAgainstRoute(d,p,k,ne,Se):Ye&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(d,p,S,k,ne,Se):gn(p):gn(p)}expandSegmentAgainstRouteUsingRedirect(d,p,S,k,ne,Se){return"**"===k.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(d,S,k,Se):this.expandRegularSegmentAgainstRouteUsingRedirect(d,p,S,k,ne,Se)}expandWildCardWithParamsAgainstRouteUsingRedirect(d,p,S,k){const ne=this.applyRedirectCommands([],S.redirectTo,{});return S.redirectTo.startsWith("/")?qn(ne):this.lineralizeSegments(S,ne).pipe((0,Vt.z)(Se=>{const Ye=new Y(Se,{});return this.expandSegment(d,Ye,p,Se,k,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(d,p,S,k,ne,Se){const{matched:Ye,consumedSegments:yt,lastChild:en,positionalParamSegments:Hn}=si(p,k,ne);if(!Ye)return gn(p);const Dn=this.applyRedirectCommands(yt,k.redirectTo,Hn);return k.redirectTo.startsWith("/")?qn(Dn):this.lineralizeSegments(k,Dn).pipe((0,Vt.z)(ci=>this.expandSegment(d,p,S,ci.concat(ne.slice(en)),Se,!1)))}matchSegmentAgainstRoute(d,p,S,k,ne){if("**"===S.path)return S.loadChildren?(S._loadedConfig?(0,U.of)(S._loadedConfig):this.configLoader.load(d.injector,S)).pipe((0,ve.U)(ci=>(S._loadedConfig=ci,new Y(k,{})))):(0,U.of)(new Y(k,{}));const{matched:Se,consumedSegments:Ye,lastChild:yt}=si(p,S,k);if(!Se)return gn(p);const en=k.slice(yt);return this.getChildConfig(d,S,k).pipe((0,Vt.z)(Dn=>{const ci=Dn.module,oi=Dn.routes,{segmentGroup:yr,slicedSegments:Zr}=Rr(p,Ye,en,oi),cs=new Y(yr.segments,yr.children);if(0===Zr.length&&cs.hasChildren())return this.expandChildren(ci,oi,cs).pipe((0,ve.U)(Xr=>new Y(Ye,Xr)));if(0===oi.length&&0===Zr.length)return(0,U.of)(new Y(Ye,{}));const As=Ki(S)===ne;return this.expandSegment(ci,cs,oi,Zr,As?me:ne,!0).pipe((0,ve.U)(ai=>new Y(Ye.concat(ai.segments),ai.children)))}))}getChildConfig(d,p,S){return p.children?(0,U.of)(new ar(p.children,d)):p.loadChildren?void 0!==p._loadedConfig?(0,U.of)(p._loadedConfig):this.runCanLoadGuards(d.injector,p,S).pipe((0,Vt.z)(k=>{return k?this.configLoader.load(d.injector,p).pipe((0,ve.U)(ne=>(p._loadedConfig=ne,ne))):(l=p,new ee.y(d=>d.error(Ve(`Cannot load children because the guard of the route "path: '${l.path}'" returned false`))));var l})):(0,U.of)(new ar([],d))}runCanLoadGuards(d,p,S){const k=p.canLoad;if(!k||0===k.length)return(0,U.of)(!0);const ne=k.map(Se=>{const Ye=d.get(Se);let yt;if((l=Ye)&&hr(l.canLoad))yt=Ye.canLoad(p,S);else{if(!hr(Ye))throw new Error("Invalid CanLoad guard");yt=Ye(p,S)}var l;return Ln(yt)});return(0,U.of)(ne).pipe(pr(),(0,ze.b)(Se=>{if(!Cr(Se))return;const Ye=Ve(`Redirecting to "${this.urlSerializer.serialize(Se)}"`);throw Ye.url=Se,Ye}),(0,ve.U)(Se=>!0===Se))}lineralizeSegments(d,p){let S=[],k=p.root;for(;;){if(S=S.concat(k.segments),0===k.numberOfChildren)return(0,U.of)(S);if(k.numberOfChildren>1||!k.children[me])return Yn(d.redirectTo);k=k.children[me]}}applyRedirectCommands(d,p,S){return this.applyRedirectCreatreUrlTree(p,this.urlSerializer.parse(p),d,S)}applyRedirectCreatreUrlTree(d,p,S,k){const ne=this.createSegmentGroup(d,p.root,S,k);return new tt(ne,this.createQueryParams(p.queryParams,this.urlTree.queryParams),p.fragment)}createQueryParams(d,p){const S={};return un(d,(k,ne)=>{if("string"==typeof k&&k.startsWith(":")){const Ye=k.substring(1);S[ne]=p[Ye]}else S[ne]=k}),S}createSegmentGroup(d,p,S,k){const ne=this.createSegments(d,p.segments,S,k);let Se={};return un(p.children,(Ye,yt)=>{Se[yt]=this.createSegmentGroup(d,Ye,S,k)}),new Y(ne,Se)}createSegments(d,p,S,k){return p.map(ne=>ne.path.startsWith(":")?this.findPosParam(d,ne,k):this.findOrReturn(ne,S))}findPosParam(d,p,S){const k=S[p.path.substring(1)];if(!k)throw new Error(`Cannot redirect to '${d}'. Cannot find '${p.path}'.`);return k}findOrReturn(d,p){let S=0;for(const k of p){if(k.path===d.path)return p.splice(S),k;S++}return d}}function Tn(l){const d={};for(const S of Object.keys(l.children)){const ne=Tn(l.children[S]);(ne.segments.length>0||ne.hasChildren())&&(d[S]=ne)}return function(l){if(1===l.numberOfChildren&&l.children[me]){const d=l.children[me];return new Y(l.segments.concat(d.segments),d.children)}return l}(new Y(l.segments,d))}class kr{constructor(d){this.path=d,this.route=this.path[this.path.length-1]}}class ji{constructor(d,p){this.component=d,this.route=p}}function cr(l,d,p){const S=l._root;return At(S,d?d._root:null,p,[S.value])}function gr(l,d,p){const S=function(l){if(!l)return null;for(let d=l.parent;d;d=d.parent){const p=d.routeConfig;if(p&&p._loadedConfig)return p._loadedConfig}return null}(d);return(S?S.module.injector:p).get(l)}function At(l,d,p,S,k={canDeactivateChecks:[],canActivateChecks:[]}){const ne=Kt(d);return l.children.forEach(Se=>{(function(l,d,p,S,k={canDeactivateChecks:[],canActivateChecks:[]}){const ne=l.value,Se=d?d.value:null,Ye=p?p.getContext(l.value.outlet):null;if(Se&&ne.routeConfig===Se.routeConfig){const yt=function(l,d,p){if("function"==typeof p)return p(l,d);switch(p){case"pathParamsChange":return!be(l.url,d.url);case"pathParamsOrQueryParamsChange":return!be(l.url,d.url)||!kt(l.queryParams,d.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!$n(l,d)||!kt(l.queryParams,d.queryParams);default:return!$n(l,d)}}(Se,ne,ne.routeConfig.runGuardsAndResolvers);yt?k.canActivateChecks.push(new kr(S)):(ne.data=Se.data,ne._resolvedData=Se._resolvedData),At(l,d,ne.component?Ye?Ye.children:null:p,S,k),yt&&Ye&&Ye.outlet&&Ye.outlet.isActivated&&k.canDeactivateChecks.push(new ji(Ye.outlet.component,Se))}else Se&&v(d,Ye,k),k.canActivateChecks.push(new kr(S)),At(l,null,ne.component?Ye?Ye.children:null:p,S,k)})(Se,ne[Se.value.outlet],p,S.concat([Se.value]),k),delete ne[Se.value.outlet]}),un(ne,(Se,Ye)=>v(Se,p.getContext(Ye),k)),k}function v(l,d,p){const S=Kt(l),k=l.value;un(S,(ne,Se)=>{v(ne,k.component?d?d.children.getContext(Se):null:d,p)}),p.canDeactivateChecks.push(new ji(k.component&&d&&d.outlet&&d.outlet.isActivated?d.outlet.component:null,k))}class qt{}function rn(l){return new ee.y(d=>d.error(l))}class kn{constructor(d,p,S,k,ne,Se){this.rootComponentType=d,this.config=p,this.urlTree=S,this.url=k,this.paramsInheritanceStrategy=ne,this.relativeLinkResolution=Se}recognize(){const d=Rr(this.urlTree.root,[],[],this.config.filter(Se=>void 0===Se.redirectTo),this.relativeLinkResolution).segmentGroup,p=this.processSegmentGroup(this.config,d,me);if(null===p)return null;const S=new ni([],Object.freeze({}),Object.freeze(cn({},this.urlTree.queryParams)),this.urlTree.fragment,{},me,this.rootComponentType,null,this.urlTree.root,-1,{}),k=new zt(S,p),ne=new Kn(this.url,k);return this.inheritParamsAndData(ne._root),ne}inheritParamsAndData(d){const p=d.value,S=En(p,this.paramsInheritanceStrategy);p.params=Object.freeze(S.params),p.data=Object.freeze(S.data),d.children.forEach(k=>this.inheritParamsAndData(k))}processSegmentGroup(d,p,S){return 0===p.segments.length&&p.hasChildren()?this.processChildren(d,p):this.processSegment(d,p,p.segments,S)}processChildren(d,p){const S=[];for(const ne of Object.keys(p.children)){const Se=p.children[ne],Ye=$r(d,ne),yt=this.processSegmentGroup(Ye,Se,ne);if(null===yt)return null;S.push(...yt)}const k=mi(S);return k.sort((d,p)=>d.value.outlet===me?-1:p.value.outlet===me?1:d.value.outlet.localeCompare(p.value.outlet)),k}processSegment(d,p,S,k){for(const ne of d){const Se=this.processSegmentAgainstRoute(ne,p,S,k);if(null!==Se)return Se}return Be(p,S,k)?[]:null}processSegmentAgainstRoute(d,p,S,k){if(d.redirectTo||!L(d,p,S,k))return null;let ne,Se=[],Ye=[];if("**"===d.path){const oi=S.length>0?Pn(S).parameters:{};ne=new ni(S,oi,Object.freeze(cn({},this.urlTree.queryParams)),this.urlTree.fragment,Mr(d),Ki(d),d.component,d,Ri(p),Si(p)+S.length,qi(d))}else{const oi=si(p,d,S);if(!oi.matched)return null;Se=oi.consumedSegments,Ye=S.slice(oi.lastChild),ne=new ni(Se,oi.parameters,Object.freeze(cn({},this.urlTree.queryParams)),this.urlTree.fragment,Mr(d),Ki(d),d.component,d,Ri(p),Si(p)+Se.length,qi(d))}const yt=(l=d).children?l.children:l.loadChildren?l._loadedConfig.routes:[],{segmentGroup:en,slicedSegments:Hn}=Rr(p,Se,Ye,yt.filter(oi=>void 0===oi.redirectTo),this.relativeLinkResolution);var l;if(0===Hn.length&&en.hasChildren()){const oi=this.processChildren(yt,en);return null===oi?null:[new zt(ne,oi)]}if(0===yt.length&&0===Hn.length)return[new zt(ne,[])];const Dn=Ki(d)===k,ci=this.processSegment(yt,en,Hn,Dn?me:k);return null===ci?null:[new zt(ne,ci)]}}function Jn(l){const d=l.value.routeConfig;return d&&""===d.path&&void 0===d.redirectTo}function mi(l){const d=[],p=new Set;for(const S of l){if(!Jn(S)){d.push(S);continue}const k=d.find(ne=>S.value.routeConfig===ne.value.routeConfig);void 0!==k?(k.children.push(...S.children),p.add(k)):d.push(S)}for(const S of p){const k=mi(S.children);d.push(new zt(S.value,k))}return d.filter(S=>!p.has(S))}function Ri(l){let d=l;for(;d._sourceSegment;)d=d._sourceSegment;return d}function Si(l){let d=l,p=d._segmentIndexShift?d._segmentIndexShift:0;for(;d._sourceSegment;)d=d._sourceSegment,p+=d._segmentIndexShift?d._segmentIndexShift:0;return p-1}function Mr(l){return l.data||{}}function qi(l){return l.resolve||{}}function Qr(l){return(0,Ae.w)(d=>{const p=l(d);return p?(0,H.D)(p).pipe((0,ve.U)(()=>d)):(0,U.of)(d)})}class Xi extends class{shouldDetach(d){return!1}store(d,p){}shouldAttach(d){return!1}retrieve(d){return null}shouldReuseRoute(d,p){return d.routeConfig===p.routeConfig}}{}const pn=new m.OlP("ROUTES");class Cn{constructor(d,p,S,k){this.injector=d,this.compiler=p,this.onLoadStartListener=S,this.onLoadEndListener=k}load(d,p){if(p._loader$)return p._loader$;this.onLoadStartListener&&this.onLoadStartListener(p);const k=this.loadModuleFactory(p.loadChildren).pipe((0,ve.U)(ne=>{this.onLoadEndListener&&this.onLoadEndListener(p);const Se=ne.create(d);return new ar(sn(Se.injector.get(pn,void 0,m.XFs.Self|m.XFs.Optional)).map(Ir),Se)}),(0,qe.K)(ne=>{throw p._loader$=void 0,ne}));return p._loader$=new X(k,()=>new Le.x).pipe(z()),p._loader$}loadModuleFactory(d){return Ln(d()).pipe((0,Vt.z)(p=>p instanceof m.YKP?(0,U.of)(p):(0,H.D)(this.compiler.compileModuleAsync(p))))}}class In{shouldProcessUrl(d){return!0}extract(d){return d}merge(d,p){return d}}function zn(l){throw l}function rr(l,d,p){return d.parse("/")}function Ai(l,d){return(0,U.of)(null)}const Lr={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},gi={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Ji=(()=>{class l{constructor(p,S,k,ne,Se,Ye,yt){this.rootComponentType=p,this.urlSerializer=S,this.rootContexts=k,this.location=ne,this.config=yt,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new Le.x,this.errorHandler=zn,this.malformedUriErrorHandler=rr,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:Ai,afterPreactivation:Ai},this.urlHandlingStrategy=new In,this.routeReuseStrategy=new Xi,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.ngModule=Se.get(m.h0i),this.console=Se.get(m.c2e);const Dn=Se.get(m.R0b);this.isNgZoneEnabled=Dn instanceof m.R0b&&m.R0b.isInAngularZone(),this.resetConfig(yt),this.currentUrlTree=new tt(new Y([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new Cn(Se,Ye,ci=>this.triggerEvent(new Ct(ci)),ci=>this.triggerEvent(new Ot(ci))),this.routerState=fn(this.currentUrlTree,this.rootComponentType),this.transitions=new j.X({id:0,targetPageId:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}get browserPageId(){var p;return null==(p=this.location.getState())?void 0:p.\u0275routerPageId}setupNavigations(p){const S=this.events;return p.pipe((0,Ke.h)(k=>0!==k.id),(0,ve.U)(k=>fr(cn({},k),{extractedUrl:this.urlHandlingStrategy.extract(k.rawUrl)})),(0,Ae.w)(k=>{let ne=!1,Se=!1;return(0,U.of)(k).pipe((0,ze.b)(Ye=>{this.currentNavigation={id:Ye.id,initialUrl:Ye.currentRawUrl,extractedUrl:Ye.extractedUrl,trigger:Ye.source,extras:Ye.extras,previousNavigation:this.lastSuccessfulNavigation?fr(cn({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),(0,Ae.w)(Ye=>{const yt=this.browserUrlTree.toString(),en=!this.navigated||Ye.extractedUrl.toString()!==yt||yt!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||en)&&this.urlHandlingStrategy.shouldProcessUrl(Ye.rawUrl))return er(Ye.source)&&(this.browserUrlTree=Ye.extractedUrl),(0,U.of)(Ye).pipe((0,Ae.w)(Dn=>{const ci=this.transitions.getValue();return S.next(new It(Dn.id,this.serializeUrl(Dn.extractedUrl),Dn.source,Dn.restoredState)),ci!==this.transitions.getValue()?fe.E:Promise.resolve(Dn)}),function(l,d,p,S){return(0,Ae.w)(k=>function(l,d,p,S,k){return new pi(l,d,p,S,k).apply()}(l,d,p,k.extractedUrl,S).pipe((0,ve.U)(ne=>fr(cn({},k),{urlAfterRedirects:ne}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),(0,ze.b)(Dn=>{this.currentNavigation=fr(cn({},this.currentNavigation),{finalUrl:Dn.urlAfterRedirects})}),function(l,d,p,S,k){return(0,Vt.z)(ne=>function(l,d,p,S,k="emptyOnly",ne="legacy"){try{const Se=new kn(l,d,p,S,k,ne).recognize();return null===Se?rn(new qt):(0,U.of)(Se)}catch(Se){return rn(Se)}}(l,d,ne.urlAfterRedirects,p(ne.urlAfterRedirects),S,k).pipe((0,ve.U)(Se=>fr(cn({},ne),{targetSnapshot:Se}))))}(this.rootComponentType,this.config,Dn=>this.serializeUrl(Dn),this.paramsInheritanceStrategy,this.relativeLinkResolution),(0,ze.b)(Dn=>{if("eager"===this.urlUpdateStrategy){if(!Dn.extras.skipLocationChange){const oi=this.urlHandlingStrategy.merge(Dn.urlAfterRedirects,Dn.rawUrl);this.setBrowserUrl(oi,Dn)}this.browserUrlTree=Dn.urlAfterRedirects}const ci=new Te(Dn.id,this.serializeUrl(Dn.extractedUrl),this.serializeUrl(Dn.urlAfterRedirects),Dn.targetSnapshot);S.next(ci)}));if(en&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:ci,extractedUrl:oi,source:yr,restoredState:Zr,extras:cs}=Ye,As=new It(ci,this.serializeUrl(oi),yr,Zr);S.next(As);const Ks=fn(oi,this.rootComponentType).snapshot;return(0,U.of)(fr(cn({},Ye),{targetSnapshot:Ks,urlAfterRedirects:oi,extras:fr(cn({},cs),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=Ye.rawUrl,Ye.resolve(null),fe.E}),Qr(Ye=>{const{targetSnapshot:yt,id:en,extractedUrl:Hn,rawUrl:Dn,extras:{skipLocationChange:ci,replaceUrl:oi}}=Ye;return this.hooks.beforePreactivation(yt,{navigationId:en,appliedUrlTree:Hn,rawUrlTree:Dn,skipLocationChange:!!ci,replaceUrl:!!oi})}),(0,ze.b)(Ye=>{const yt=new ae(Ye.id,this.serializeUrl(Ye.extractedUrl),this.serializeUrl(Ye.urlAfterRedirects),Ye.targetSnapshot);this.triggerEvent(yt)}),(0,ve.U)(Ye=>fr(cn({},Ye),{guards:cr(Ye.targetSnapshot,Ye.currentSnapshot,this.rootContexts)})),function(l,d){return(0,Vt.z)(p=>{const{targetSnapshot:S,currentSnapshot:k,guards:{canActivateChecks:ne,canDeactivateChecks:Se}}=p;return 0===Se.length&&0===ne.length?(0,U.of)(fr(cn({},p),{guardsResult:!0})):function(l,d,p,S){return(0,H.D)(l).pipe((0,Vt.z)(k=>function(l,d,p,S,k){const ne=d&&d.routeConfig?d.routeConfig.canDeactivate:null;if(!ne||0===ne.length)return(0,U.of)(!0);const Se=ne.map(Ye=>{const yt=gr(Ye,d,k);let en;if(function(l){return l&&hr(l.canDeactivate)}(yt))en=Ln(yt.canDeactivate(l,d,p,S));else{if(!hr(yt))throw new Error("Invalid CanDeactivate guard");en=Ln(yt(l,d,p,S))}return en.pipe(le())});return(0,U.of)(Se).pipe(pr())}(k.component,k.route,p,d,S)),le(k=>!0!==k,!0))}(Se,S,k,l).pipe((0,Vt.z)(Ye=>Ye&&function(l){return"boolean"==typeof l}(Ye)?function(l,d,p,S){return(0,H.D)(d).pipe((0,ht.b)(k=>(0,q.z)(function(l,d){return null!==l&&d&&d(new tn(l)),(0,U.of)(!0)}(k.route.parent,S),function(l,d){return null!==l&&d&&d(new de(l)),(0,U.of)(!0)}(k.route,S),function(l,d,p){const S=d[d.length-1],ne=d.slice(0,d.length-1).reverse().map(Se=>function(l){const d=l.routeConfig?l.routeConfig.canActivateChild:null;return d&&0!==d.length?{node:l,guards:d}:null}(Se)).filter(Se=>null!==Se).map(Se=>(0,se.P)(()=>{const Ye=Se.guards.map(yt=>{const en=gr(yt,Se.node,p);let Hn;if(function(l){return l&&hr(l.canActivateChild)}(en))Hn=Ln(en.canActivateChild(S,l));else{if(!hr(en))throw new Error("Invalid CanActivateChild guard");Hn=Ln(en(S,l))}return Hn.pipe(le())});return(0,U.of)(Ye).pipe(pr())}));return(0,U.of)(ne).pipe(pr())}(l,k.path,p),function(l,d,p){const S=d.routeConfig?d.routeConfig.canActivate:null;if(!S||0===S.length)return(0,U.of)(!0);const k=S.map(ne=>(0,se.P)(()=>{const Se=gr(ne,d,p);let Ye;if(function(l){return l&&hr(l.canActivate)}(Se))Ye=Ln(Se.canActivate(d,l));else{if(!hr(Se))throw new Error("Invalid CanActivate guard");Ye=Ln(Se(d,l))}return Ye.pipe(le())}));return(0,U.of)(k).pipe(pr())}(l,k.route,p))),le(k=>!0!==k,!0))}(S,ne,l,d):(0,U.of)(Ye)),(0,ve.U)(Ye=>fr(cn({},p),{guardsResult:Ye})))})}(this.ngModule.injector,Ye=>this.triggerEvent(Ye)),(0,ze.b)(Ye=>{if(Cr(Ye.guardsResult)){const en=Ve(`Redirecting to "${this.serializeUrl(Ye.guardsResult)}"`);throw en.url=Ye.guardsResult,en}const yt=new we(Ye.id,this.serializeUrl(Ye.extractedUrl),this.serializeUrl(Ye.urlAfterRedirects),Ye.targetSnapshot,!!Ye.guardsResult);this.triggerEvent(yt)}),(0,Ke.h)(Ye=>!!Ye.guardsResult||(this.restoreHistory(Ye),this.cancelNavigationTransition(Ye,""),!1)),Qr(Ye=>{if(Ye.guards.canActivateChecks.length)return(0,U.of)(Ye).pipe((0,ze.b)(yt=>{const en=new Me(yt.id,this.serializeUrl(yt.extractedUrl),this.serializeUrl(yt.urlAfterRedirects),yt.targetSnapshot);this.triggerEvent(en)}),(0,Ae.w)(yt=>{let en=!1;return(0,U.of)(yt).pipe(function(l,d){return(0,Vt.z)(p=>{const{targetSnapshot:S,guards:{canActivateChecks:k}}=p;if(!k.length)return(0,U.of)(p);let ne=0;return(0,H.D)(k).pipe((0,ht.b)(Se=>function(l,d,p,S){return function(l,d,p,S){const k=Object.keys(l);if(0===k.length)return(0,U.of)({});const ne={};return(0,H.D)(k).pipe((0,Vt.z)(Se=>function(l,d,p,S){const k=gr(l,d,S);return Ln(k.resolve?k.resolve(d,p):k(d,p))}(l[Se],d,p,S).pipe((0,ze.b)(Ye=>{ne[Se]=Ye}))),Ge(1),(0,Vt.z)(()=>Object.keys(ne).length===k.length?(0,U.of)(ne):fe.E))}(l._resolve,l,d,S).pipe((0,ve.U)(ne=>(l._resolvedData=ne,l.data=cn(cn({},l.data),En(l,p).resolve),null)))}(Se.route,S,l,d)),(0,ze.b)(()=>ne++),Ge(1),(0,Vt.z)(Se=>ne===k.length?(0,U.of)(p):fe.E))})}(this.paramsInheritanceStrategy,this.ngModule.injector),(0,ze.b)({next:()=>en=!0,complete:()=>{en||(this.restoreHistory(yt),this.cancelNavigationTransition(yt,"At least one route resolver didn't emit any value."))}}))}),(0,ze.b)(yt=>{const en=new lt(yt.id,this.serializeUrl(yt.extractedUrl),this.serializeUrl(yt.urlAfterRedirects),yt.targetSnapshot);this.triggerEvent(en)}))}),Qr(Ye=>{const{targetSnapshot:yt,id:en,extractedUrl:Hn,rawUrl:Dn,extras:{skipLocationChange:ci,replaceUrl:oi}}=Ye;return this.hooks.afterPreactivation(yt,{navigationId:en,appliedUrlTree:Hn,rawUrlTree:Dn,skipLocationChange:!!ci,replaceUrl:!!oi})}),(0,ve.U)(Ye=>{const yt=function(l,d,p){const S=hi(l,d._root,p?p._root:void 0);return new on(S,d)}(this.routeReuseStrategy,Ye.targetSnapshot,Ye.currentRouterState);return fr(cn({},Ye),{targetRouterState:yt})}),(0,ze.b)(Ye=>{this.currentUrlTree=Ye.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(Ye.urlAfterRedirects,Ye.rawUrl),this.routerState=Ye.targetRouterState,"deferred"===this.urlUpdateStrategy&&(Ye.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,Ye),this.browserUrlTree=Ye.urlAfterRedirects)}),((l,d,p)=>(0,ve.U)(S=>(new Ss(d,S.targetRouterState,S.currentRouterState,p).activate(l),S)))(this.rootContexts,this.routeReuseStrategy,Ye=>this.triggerEvent(Ye)),(0,ze.b)({next(){ne=!0},complete(){ne=!0}}),(0,it.x)(()=>{var Ye;ne||Se||this.cancelNavigationTransition(k,`Navigation ID ${k.id} is not equal to the current navigation id ${this.navigationId}`),(null==(Ye=this.currentNavigation)?void 0:Ye.id)===k.id&&(this.currentNavigation=null)}),(0,qe.K)(Ye=>{if(Se=!0,function(l){return l&&l[Ee]}(Ye)){const yt=Cr(Ye.url);yt||(this.navigated=!0,this.restoreHistory(k,!0));const en=new et(k.id,this.serializeUrl(k.extractedUrl),Ye.message);S.next(en),yt?setTimeout(()=>{const Hn=this.urlHandlingStrategy.merge(Ye.url,this.rawUrlTree),Dn={skipLocationChange:k.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||er(k.source)};this.scheduleNavigation(Hn,"imperative",null,Dn,{resolve:k.resolve,reject:k.reject,promise:k.promise})},0):k.resolve(!1)}else{this.restoreHistory(k,!0);const yt=new xe(k.id,this.serializeUrl(k.extractedUrl),Ye);S.next(yt);try{k.resolve(this.errorHandler(Ye))}catch(en){k.reject(en)}}return fe.E}))}))}resetRootComponentType(p){this.rootComponentType=p,this.routerState.root.component=this.rootComponentType}setTransition(p){this.transitions.next(cn(cn({},this.transitions.value),p))}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(p=>{const S="popstate"===p.type?"popstate":"hashchange";"popstate"===S&&setTimeout(()=>{var Ye;const k={replaceUrl:!0},ne=(null==(Ye=p.state)?void 0:Ye.navigationId)?p.state:null;if(ne){const yt=cn({},ne);delete yt.navigationId,delete yt.\u0275routerPageId,0!==Object.keys(yt).length&&(k.state=yt)}const Se=this.parseUrl(p.url);this.scheduleNavigation(Se,S,ne,k)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(p){this.events.next(p)}resetConfig(p){Pi(p),this.config=p.map(Ir),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(p,S={}){const{relativeTo:k,queryParams:ne,fragment:Se,queryParamsHandling:Ye,preserveFragment:yt}=S,en=k||this.routerState.root,Hn=yt?this.currentUrlTree.fragment:Se;let Dn=null;switch(Ye){case"merge":Dn=cn(cn({},this.currentUrlTree.queryParams),ne);break;case"preserve":Dn=this.currentUrlTree.queryParams;break;default:Dn=ne||null}return null!==Dn&&(Dn=this.removeEmptyProps(Dn)),function(l,d,p,S,k){if(0===p.length)return wn(d.root,d.root,d,S,k);const ne=function(l){if("string"==typeof l[0]&&1===l.length&&"/"===l[0])return new wr(!0,0,l);let d=0,p=!1;const S=l.reduce((k,ne,Se)=>{if("object"==typeof ne&&null!=ne){if(ne.outlets){const Ye={};return un(ne.outlets,(yt,en)=>{Ye[en]="string"==typeof yt?yt.split("/"):yt}),[...k,{outlets:Ye}]}if(ne.segmentPath)return[...k,ne.segmentPath]}return"string"!=typeof ne?[...k,ne]:0===Se?(ne.split("/").forEach((Ye,yt)=>{0==yt&&"."===Ye||(0==yt&&""===Ye?p=!0:".."===Ye?d++:""!=Ye&&k.push(Ye))}),k):[...k,ne]},[]);return new wr(p,d,S)}(p);if(ne.toRoot())return wn(d.root,new Y([],{}),d,S,k);const Se=function(l,d,p){if(l.isAbsolute)return new Ii(d.root,!0,0);if(-1===p.snapshot._lastPathIndex){const ne=p.snapshot._urlSegment;return new Ii(ne,ne===d.root,0)}const S=yi(l.commands[0])?0:1;return function(l,d,p){let S=l,k=d,ne=p;for(;ne>k;){if(ne-=k,S=S.parent,!S)throw new Error("Invalid number of '../'");k=S.segments.length}return new Ii(S,!1,k-ne)}(p.snapshot._urlSegment,p.snapshot._lastPathIndex+S,l.numberOfDoubleDots)}(ne,d,l),Ye=Se.processChildren?Ur(Se.segmentGroup,Se.index,ne.commands):ns(Se.segmentGroup,Se.index,ne.commands);return wn(Se.segmentGroup,Ye,d,S,k)}(en,this.currentUrlTree,p,Dn,null!=Hn?Hn:null)}navigateByUrl(p,S={skipLocationChange:!1}){const k=Cr(p)?p:this.parseUrl(p),ne=this.urlHandlingStrategy.merge(k,this.rawUrlTree);return this.scheduleNavigation(ne,"imperative",null,S)}navigate(p,S={skipLocationChange:!1}){return function(l){for(let d=0;d<l.length;d++){const p=l[d];if(null==p)throw new Error(`The requested path contains ${p} segment at index ${d}`)}}(p),this.navigateByUrl(this.createUrlTree(p,S),S)}serializeUrl(p){return this.urlSerializer.serialize(p)}parseUrl(p){let S;try{S=this.urlSerializer.parse(p)}catch(k){S=this.malformedUriErrorHandler(k,this.urlSerializer,p)}return S}isActive(p,S){let k;if(k=!0===S?cn({},Lr):!1===S?cn({},gi):S,Cr(p))return mt(this.currentUrlTree,p,k);const ne=this.parseUrl(p);return mt(this.currentUrlTree,ne,k)}removeEmptyProps(p){return Object.keys(p).reduce((S,k)=>{const ne=p[k];return null!=ne&&(S[k]=ne),S},{})}processNavigations(){this.navigations.subscribe(p=>{this.navigated=!0,this.lastSuccessfulId=p.id,this.currentPageId=p.targetPageId,this.events.next(new jt(p.id,this.serializeUrl(p.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,p.resolve(!0)},p=>{this.console.warn(`Unhandled Navigation Error: ${p}`)})}scheduleNavigation(p,S,k,ne,Se){var As,Ks,ai;if(this.disposed)return Promise.resolve(!1);const Ye=this.transitions.value,yt=er(S)&&Ye&&!er(Ye.source),en=Ye.rawUrl.toString()===p.toString(),Hn=Ye.id===(null==(As=this.currentNavigation)?void 0:As.id);if(yt&&en&&Hn)return Promise.resolve(!0);let ci,oi,yr;Se?(ci=Se.resolve,oi=Se.reject,yr=Se.promise):yr=new Promise((Xr,yo)=>{ci=Xr,oi=yo});const Zr=++this.navigationId;let cs;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(k=this.location.getState()),cs=k&&k.\u0275routerPageId?k.\u0275routerPageId:ne.replaceUrl||ne.skipLocationChange?null!=(Ks=this.browserPageId)?Ks:0:(null!=(ai=this.browserPageId)?ai:0)+1):cs=0,this.setTransition({id:Zr,targetPageId:cs,source:S,restoredState:k,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:p,extras:ne,resolve:ci,reject:oi,promise:yr,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),yr.catch(Xr=>Promise.reject(Xr))}setBrowserUrl(p,S){const k=this.urlSerializer.serialize(p),ne=cn(cn({},S.extras.state),this.generateNgRouterState(S.id,S.targetPageId));this.location.isCurrentPathEqualTo(k)||S.extras.replaceUrl?this.location.replaceState(k,"",ne):this.location.go(k,"",ne)}restoreHistory(p,S=!1){var k,ne;if("computed"===this.canceledNavigationResolution){const Se=this.currentPageId-p.targetPageId;"popstate"!==p.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==(null==(k=this.currentNavigation)?void 0:k.finalUrl)||0===Se?this.currentUrlTree===(null==(ne=this.currentNavigation)?void 0:ne.finalUrl)&&0===Se&&(this.resetState(p),this.browserUrlTree=p.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(Se)}else"replace"===this.canceledNavigationResolution&&(S&&this.resetState(p),this.resetUrlToCurrentUrlTree())}resetState(p){this.routerState=p.currentRouterState,this.currentUrlTree=p.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,p.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(p,S){const k=new et(p.id,this.serializeUrl(p.extractedUrl),S);this.triggerEvent(k),p.resolve(!1)}generateNgRouterState(p,S){return"computed"===this.canceledNavigationResolution?{navigationId:p,\u0275routerPageId:S}:{navigationId:p}}}return l.\u0275fac=function(p){m.$Z()},l.\u0275prov=m.Yz7({token:l,factory:l.\u0275fac}),l})();function er(l){return"imperative"!==l}let Wi=(()=>{class l{constructor(p,S,k,ne,Se){this.router=p,this.route=S,this.tabIndexAttribute=k,this.renderer=ne,this.el=Se,this.commands=null,this.onChanges=new Le.x,this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(p){if(null!=this.tabIndexAttribute)return;const S=this.renderer,k=this.el.nativeElement;null!==p?S.setAttribute(k,"tabindex",p):S.removeAttribute(k,"tabindex")}ngOnChanges(p){this.onChanges.next(this)}set routerLink(p){null!=p?(this.commands=Array.isArray(p)?p:[p],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(){if(null===this.urlTree)return!0;const p={skipLocationChange:Li(this.skipLocationChange),replaceUrl:Li(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,p),!0}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:Li(this.preserveFragment)})}}return l.\u0275fac=function(p){return new(p||l)(m.Y36(Ji),m.Y36(Sn),m.$8M("tabindex"),m.Y36(m.Qsj),m.Y36(m.SBq))},l.\u0275dir=m.lG2({type:l,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(p,S){1&p&&m.NdJ("click",function(){return S.onClick()})},inputs:{queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo",routerLink:"routerLink"},features:[m.TTD]}),l})(),Fi=(()=>{class l{constructor(p,S,k){this.router=p,this.route=S,this.locationStrategy=k,this.commands=null,this.href=null,this.onChanges=new Le.x,this.subscription=p.events.subscribe(ne=>{ne instanceof jt&&this.updateTargetUrlAndHref()})}set routerLink(p){this.commands=null!=p?Array.isArray(p)?p:[p]:null}ngOnChanges(p){this.updateTargetUrlAndHref(),this.onChanges.next(this)}ngOnDestroy(){this.subscription.unsubscribe()}onClick(p,S,k,ne,Se){if(0!==p||S||k||ne||Se||"string"==typeof this.target&&"_self"!=this.target||null===this.urlTree)return!0;const Ye={skipLocationChange:Li(this.skipLocationChange),replaceUrl:Li(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,Ye),!1}updateTargetUrlAndHref(){this.href=null!==this.urlTree?this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:Li(this.preserveFragment)})}}return l.\u0275fac=function(p){return new(p||l)(m.Y36(Ji),m.Y36(Sn),m.Y36(u.S$))},l.\u0275dir=m.lG2({type:l,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(p,S){1&p&&m.NdJ("click",function(ne){return S.onClick(ne.button,ne.ctrlKey,ne.shiftKey,ne.altKey,ne.metaKey)}),2&p&&m.uIk("target",S.target)("href",S.href,m.LSH)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo",routerLink:"routerLink"},features:[m.TTD]}),l})();function Li(l){return""===l||!!l}let zs=(()=>{class l{constructor(p,S,k,ne,Se,Ye){this.router=p,this.element=S,this.renderer=k,this.cdr=ne,this.link=Se,this.linkWithHref=Ye,this.classes=[],this.isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new m.vpe,this.routerEventsSubscription=p.events.subscribe(yt=>{yt instanceof jt&&this.update()})}ngAfterContentInit(){(0,U.of)(this.links.changes,this.linksWithHrefs.changes,(0,U.of)(null)).pipe((0,pt.J)()).subscribe(p=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){var S;null==(S=this.linkInputChangesSubscription)||S.unsubscribe();const p=[...this.links.toArray(),...this.linksWithHrefs.toArray(),this.link,this.linkWithHref].filter(k=>!!k).map(k=>k.onChanges);this.linkInputChangesSubscription=(0,H.D)(p).pipe((0,pt.J)()).subscribe(k=>{this.isActive!==this.isLinkActive(this.router)(k)&&this.update()})}set routerLinkActive(p){const S=Array.isArray(p)?p:p.split(" ");this.classes=S.filter(k=>!!k)}ngOnChanges(p){this.update()}ngOnDestroy(){var p;this.routerEventsSubscription.unsubscribe(),null==(p=this.linkInputChangesSubscription)||p.unsubscribe()}update(){!this.links||!this.linksWithHrefs||!this.router.navigated||Promise.resolve().then(()=>{const p=this.hasActiveLinks();this.isActive!==p&&(this.isActive=p,this.cdr.markForCheck(),this.classes.forEach(S=>{p?this.renderer.addClass(this.element.nativeElement,S):this.renderer.removeClass(this.element.nativeElement,S)}),this.isActiveChange.emit(p))})}isLinkActive(p){const S=function(l){return!!l.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return k=>!!k.urlTree&&p.isActive(k.urlTree,S)}hasActiveLinks(){const p=this.isLinkActive(this.router);return this.link&&p(this.link)||this.linkWithHref&&p(this.linkWithHref)||this.links.some(p)||this.linksWithHrefs.some(p)}}return l.\u0275fac=function(p){return new(p||l)(m.Y36(Ji),m.Y36(m.SBq),m.Y36(m.Qsj),m.Y36(m.sBO),m.Y36(Wi,8),m.Y36(Fi,8))},l.\u0275dir=m.lG2({type:l,selectors:[["","routerLinkActive",""]],contentQueries:function(p,S,k){if(1&p&&(m.Suo(k,Wi,5),m.Suo(k,Fi,5)),2&p){let ne;m.iGM(ne=m.CRH())&&(S.links=ne),m.iGM(ne=m.CRH())&&(S.linksWithHrefs=ne)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],features:[m.TTD]}),l})();class Kr{}class so{preload(d,p){return(0,U.of)(null)}}let os=(()=>{class l{constructor(p,S,k,ne){this.router=p,this.injector=k,this.preloadingStrategy=ne,this.loader=new Cn(k,S,yt=>p.triggerEvent(new Ct(yt)),yt=>p.triggerEvent(new Ot(yt)))}setUpPreloading(){this.subscription=this.router.events.pipe((0,Ke.h)(p=>p instanceof jt),(0,ht.b)(()=>this.preload())).subscribe(()=>{})}preload(){const p=this.injector.get(m.h0i);return this.processRoutes(p,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(p,S){const k=[];for(const ne of S)if(ne.loadChildren&&!ne.canLoad&&ne._loadedConfig){const Se=ne._loadedConfig;k.push(this.processRoutes(Se.module,Se.routes))}else ne.loadChildren&&!ne.canLoad?k.push(this.preloadConfig(p,ne)):ne.children&&k.push(this.processRoutes(p,ne.children));return(0,H.D)(k).pipe((0,pt.J)(),(0,ve.U)(ne=>{}))}preloadConfig(p,S){return this.preloadingStrategy.preload(S,()=>(S._loadedConfig?(0,U.of)(S._loadedConfig):this.loader.load(p.injector,S)).pipe((0,Vt.z)(ne=>(S._loadedConfig=ne,this.processRoutes(ne.module,ne.routes)))))}}return l.\u0275fac=function(p){return new(p||l)(m.LFG(Ji),m.LFG(m.Sil),m.LFG(m.zs3),m.LFG(Kr))},l.\u0275prov=m.Yz7({token:l,factory:l.\u0275fac}),l})(),as=(()=>{class l{constructor(p,S,k={}){this.router=p,this.viewportScroller=S,this.options=k,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},k.scrollPositionRestoration=k.scrollPositionRestoration||"disabled",k.anchorScrolling=k.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(p=>{p instanceof It?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=p.navigationTrigger,this.restoredId=p.restoredState?p.restoredState.navigationId:0):p instanceof jt&&(this.lastId=p.id,this.scheduleScrollEvent(p,this.router.parseUrl(p.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(p=>{p instanceof Ze&&(p.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(p.position):p.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(p.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(p,S){this.router.triggerEvent(new Ze(p,"popstate"===this.lastSource?this.store[this.restoredId]:null,S))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return l.\u0275fac=function(p){m.$Z()},l.\u0275prov=m.Yz7({token:l,factory:l.\u0275fac}),l})();const ls=new m.OlP("ROUTER_CONFIGURATION"),Xo=new m.OlP("ROUTER_FORROOT_GUARD"),$i=[u.Ye,{provide:_e,useClass:Oe},{provide:Ji,useFactory:function(l,d,p,S,k,ne,Se={},Ye,yt){const en=new Ji(null,l,d,p,S,k,sn(ne));return Ye&&(en.urlHandlingStrategy=Ye),yt&&(en.routeReuseStrategy=yt),function(l,d){l.errorHandler&&(d.errorHandler=l.errorHandler),l.malformedUriErrorHandler&&(d.malformedUriErrorHandler=l.malformedUriErrorHandler),l.onSameUrlNavigation&&(d.onSameUrlNavigation=l.onSameUrlNavigation),l.paramsInheritanceStrategy&&(d.paramsInheritanceStrategy=l.paramsInheritanceStrategy),l.relativeLinkResolution&&(d.relativeLinkResolution=l.relativeLinkResolution),l.urlUpdateStrategy&&(d.urlUpdateStrategy=l.urlUpdateStrategy),l.canceledNavigationResolution&&(d.canceledNavigationResolution=l.canceledNavigationResolution)}(Se,en),Se.enableTracing&&en.events.subscribe(Hn=>{var Dn,ci;null==(Dn=console.group)||Dn.call(console,`Router Event: ${Hn.constructor.name}`),console.log(Hn.toString()),console.log(Hn),null==(ci=console.groupEnd)||ci.call(console)}),en},deps:[_e,Ar,u.Ye,m.zs3,m.Sil,pn,ls,[class{},new m.FiY],[class{},new m.FiY]]},Ar,{provide:Sn,useFactory:function(l){return l.routerState.root},deps:[Ji]},os,so,class{preload(d,p){return p().pipe((0,qe.K)(()=>(0,U.of)(null)))}},{provide:ls,useValue:{enableTracing:!1}}];function Jo(){return new m.PXZ("Router",Ji)}let oo=(()=>{class l{constructor(p,S){}static forRoot(p,S){return{ngModule:l,providers:[$i,Fo(p),{provide:Xo,useFactory:_o,deps:[[Ji,new m.FiY,new m.tp0]]},{provide:ls,useValue:S||{}},{provide:u.S$,useFactory:vo,deps:[u.lw,[new m.tBr(u.mr),new m.FiY],ls]},{provide:as,useFactory:ea,deps:[Ji,u.EM,ls]},{provide:Kr,useExisting:S&&S.preloadingStrategy?S.preloadingStrategy:so},{provide:m.PXZ,multi:!0,useFactory:Jo},[qr,{provide:m.ip1,multi:!0,useFactory:_r,deps:[qr]},{provide:Qs,useFactory:Ys,deps:[qr]},{provide:m.tb,multi:!0,useExisting:Qs}]]}}static forChild(p){return{ngModule:l,providers:[Fo(p)]}}}return l.\u0275fac=function(p){return new(p||l)(m.LFG(Xo,8),m.LFG(Ji,8))},l.\u0275mod=m.oAB({type:l}),l.\u0275inj=m.cJS({}),l})();function ea(l,d,p){return p.scrollOffset&&d.setOffset(p.scrollOffset),new as(l,d,p)}function vo(l,d,p={}){return p.useHash?new u.Do(l,d):new u.b0(l,d)}function _o(l){return"guarded"}function Fo(l){return[{provide:m.deG,multi:!0,useValue:l},{provide:pn,multi:!0,useValue:l}]}let qr=(()=>{class l{constructor(p){this.injector=p,this.initNavigation=!1,this.destroyed=!1,this.resultOfPreactivationDone=new Le.x}appInitializer(){return this.injector.get(u.V_,Promise.resolve(null)).then(()=>{if(this.destroyed)return Promise.resolve(!0);let S=null;const k=new Promise(Ye=>S=Ye),ne=this.injector.get(Ji),Se=this.injector.get(ls);return"disabled"===Se.initialNavigation?(ne.setUpLocationChangeListener(),S(!0)):"enabled"===Se.initialNavigation||"enabledBlocking"===Se.initialNavigation?(ne.hooks.afterPreactivation=()=>this.initNavigation?(0,U.of)(null):(this.initNavigation=!0,S(!0),this.resultOfPreactivationDone),ne.initialNavigation()):S(!0),k})}bootstrapListener(p){const S=this.injector.get(ls),k=this.injector.get(os),ne=this.injector.get(as),Se=this.injector.get(Ji),Ye=this.injector.get(m.z2F);p===Ye.components[0]&&(("enabledNonBlocking"===S.initialNavigation||void 0===S.initialNavigation)&&Se.initialNavigation(),k.setUpPreloading(),ne.init(),Se.resetRootComponentType(Ye.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}ngOnDestroy(){this.destroyed=!0}}return l.\u0275fac=function(p){return new(p||l)(m.LFG(m.zs3))},l.\u0275prov=m.Yz7({token:l,factory:l.\u0275fac}),l})();function _r(l){return l.appInitializer.bind(l)}function Ys(l){return l.bootstrapListener.bind(l)}const Qs=new m.OlP("Router Initializer")},9159:(xt,Ie,w)=>{"use strict";w.d(Ie,{h:()=>O,B:()=>F});var z,X,u=w(4762),D=(w(5559),w(7032)),x=w(6435),ee=w(6310),O=function(){function U(){this.known=new(ee.sy?WeakSet:Set),this.pool=new D.B(ee.mr),this.passes=new WeakMap,this.keysByJSON=new Map,this.empty=this.admit({})}return U.prototype.isKnown=function(j){return(0,x.s)(j)&&this.known.has(j)},U.prototype.pass=function(j){if((0,x.s)(j)){var B=function(U){return(0,x.s)(U)?Array.isArray(U)?U.slice(0):(0,u.pi)({__proto__:Object.getPrototypeOf(U)},U):U}(j);return this.passes.set(B,j),B}return j},U.prototype.admit=function(j){var B=this;if((0,x.s)(j)){var q=this.passes.get(j);if(q)return q;switch(Object.getPrototypeOf(j)){case Array.prototype:if(this.known.has(j))return j;var fe=j.map(this.admit,this);return(Le=this.pool.lookupArray(fe)).array||(this.known.add(Le.array=fe),__DEV__&&Object.freeze(fe)),Le.array;case null:case Object.prototype:if(this.known.has(j))return j;var st=Object.getPrototypeOf(j),ft=[st],Ke=this.sortedKeys(j);ft.push(Ke.json);var Le,Ge=ft.length;if(Ke.sorted.forEach(function(Ce){ft.push(B.admit(j[Ce]))}),!(Le=this.pool.lookupArray(ft)).object){var ut=Le.object=Object.create(st);this.known.add(ut),Ke.sorted.forEach(function(Ce,ge){ut[Ce]=ft[Ge+ge]}),__DEV__&&Object.freeze(ut)}return Le.object}}return j},U.prototype.sortedKeys=function(j){var B=Object.keys(j),q=this.pool.lookupArray(B);if(!q.keys){B.sort();var se=JSON.stringify(B);(q.keys=this.keysByJSON.get(se))||this.keysByJSON.set(se,q.keys={sorted:B,json:se})}return q.keys},U}(),F=Object.assign(function(U){if((0,x.s)(U)){void 0===z&&H();var j=z.admit(U),B=X.get(j);return void 0===B&&X.set(j,B=JSON.stringify(j)),B}return JSON.stringify(U)},{reset:H});function H(){z=new O,X=new(ee.mr?WeakMap:Map)}},1405:(xt,Ie,w)=>{"use strict";w.d(Ie,{ab:()=>D,li:()=>A,_v:()=>O,QS:()=>F});var u=w(3788),D=new(w(4367).g7),x=new WeakMap;function ee(X){var H=x.get(X);return H||x.set(X,H={vars:new Set,dep:(0,u.dP)()}),H}function A(X){ee(X).vars.forEach(function(H){return H.forgetCache(X)})}function O(X){ee(X).vars.forEach(function(H){return H.attachCache(X)})}function F(X){var H=new Set,U=new Set,j=function(q){if(arguments.length>0){if(X!==q){X=q,H.forEach(function(Le){ee(Le).dep.dirty(j),z(Le)});var se=Array.from(U);U.clear(),se.forEach(function(Le){return Le(X)})}}else{var fe=D.getValue();fe&&(B(fe),ee(fe).dep(j))}return X};j.onNextChange=function(q){return U.add(q),function(){U.delete(q)}};var B=j.attachCache=function(q){return H.add(q),ee(q).vars.add(j),j};return j.forgetCache=function(q){return H.delete(q)},j}function z(X){X.broadcastWatches&&X.broadcastWatches()}},5839:(xt,Ie,w)=>{"use strict";w.d(Ie,{i:()=>U});var u=w(4762),m=w(5559),D=w(4540),ee=w(6341);function F(j,B){return B?B(j):D.y.of()}function z(j){return"function"==typeof j?new U(j):j}function X(j){return j.request.length<=1}var H=function(j){function B(q,se){var fe=j.call(this,q)||this;return fe.link=se,fe}return(0,u.ZT)(B,j),B}(Error),U=function(){function j(B){B&&(this.request=B)}return j.empty=function(){return new j(function(){return D.y.of()})},j.from=function(B){return 0===B.length?j.empty():B.map(z).reduce(function(q,se){return q.concat(se)})},j.split=function(B,q,se){var fe=z(q),Le=z(se||new j(F));return X(fe)&&X(Le)?new j(function(st){return B(st)?fe.request(st)||D.y.of():Le.request(st)||D.y.of()}):new j(function(st,ft){return B(st)?fe.request(st,ft)||D.y.of():Le.request(st,ft)||D.y.of()})},j.execute=function(B,q){return B.request(function(j,B){var q=(0,u.pi)({},j);return Object.defineProperty(B,"setContext",{enumerable:!1,value:function(Le){q=(0,u.pi)((0,u.pi)({},q),"function"==typeof Le?Le(q):Le)}}),Object.defineProperty(B,"getContext",{enumerable:!1,value:function(){return(0,u.pi)({},q)}}),B}(q.context,function(j){var B={variables:j.variables||{},extensions:j.extensions||{},operationName:j.operationName,query:j.query};return B.operationName||(B.operationName="string"!=typeof B.query?(0,ee.rY)(B.query)||void 0:""),B}(function(j){for(var B=["query","operationName","variables","extensions","context"],q=0,se=Object.keys(j);q<se.length;q++){var fe=se[q];if(B.indexOf(fe)<0)throw __DEV__?new m.ej("illegal argument: ".concat(fe)):new m.ej(24)}return j}(q))))||D.y.of()},j.concat=function(B,q){var se=z(B);if(X(se))return __DEV__&&m.kG.warn(new H("You are calling concat on a terminating link, which will have no effect",se)),se;var fe=z(q);return X(fe)?new j(function(Le){return se.request(Le,function(st){return fe.request(st)||D.y.of()})||D.y.of()}):new j(function(Le,st){return se.request(Le,function(ft){return fe.request(ft,st)||D.y.of()})||D.y.of()})},j.prototype.split=function(B,q,se){return this.concat(j.split(B,q,se||new j(F)))},j.prototype.concat=function(B){return j.concat(this,B)},j.prototype.request=function(B,q){throw __DEV__?new m.ej("request is not implemented"):new m.ej(19)},j.prototype.onError=function(B,q){if(q&&q.error)return q.error(B),!1;throw B},j.prototype.setOnError=function(B){return this.onError=B,this},j}()},5261:(xt,Ie,w)=>{"use strict";function u(m){return Array.isArray(m)&&m.length>0}w.d(Ie,{O:()=>u})},6310:(xt,Ie,w)=>{"use strict";w.d(Ie,{mr:()=>u,sy:()=>m,aS:()=>D});var u="function"==typeof WeakMap&&!("object"==typeof navigator&&"ReactNative"===navigator.product),m="function"==typeof WeakSet,D="function"==typeof Symbol&&"function"==typeof Symbol.for},1615:(xt,Ie,w)=>{"use strict";w.d(Ie,{X:()=>m});var u=Object.prototype.toString;function m(x){return D(x)}function D(x,ee){switch(u.call(x)){case"[object Array]":if((ee=ee||new Map).has(x))return ee.get(x);var A=x.slice(0);return ee.set(x,A),A.forEach(function(F,z){A[z]=D(F,ee)}),A;case"[object Object]":if((ee=ee||new Map).has(x))return ee.get(x);var O=Object.create(Object.getPrototypeOf(x));return ee.set(x,O),Object.keys(x).forEach(function(F){O[F]=D(x[F],ee)}),O;default:return x}}},346:(xt,Ie,w)=>{"use strict";function u(){for(var m=[],D=0;D<arguments.length;D++)m[D]=arguments[D];var x=Object.create(null);return m.forEach(function(ee){!ee||Object.keys(ee).forEach(function(A){var O=ee[A];void 0!==O&&(x[A]=O)})}),x}w.d(Ie,{o:()=>u})},1690:(xt,Ie,w)=>{"use strict";w.d(Ie,{X:()=>m});var u=new Map;function m(D){var x=u.get(D)||1;return u.set(D,x+1),"".concat(D,":").concat(x,":").concat(Math.random().toString(36).slice(2))}},6392:(xt,Ie,w)=>{"use strict";w.d(Ie,{Ee:()=>x,bw:()=>ee,w0:()=>O});var u=w(4762),m=w(6435),D=Object.prototype.hasOwnProperty;function x(){for(var F=[],z=0;z<arguments.length;z++)F[z]=arguments[z];return ee(F)}function ee(F){var z=F[0]||{},X=F.length;if(X>1)for(var H=new O,U=1;U<X;++U)z=H.merge(z,F[U]);return z}var A=function(F,z,X){return this.merge(F[X],z[X])},O=function(){function F(z){void 0===z&&(z=A),this.reconciler=z,this.isObject=m.s,this.pastCopies=new Set}return F.prototype.merge=function(z,X){for(var H=this,U=[],j=2;j<arguments.length;j++)U[j-2]=arguments[j];return(0,m.s)(X)&&(0,m.s)(z)?(Object.keys(X).forEach(function(B){if(D.call(z,B)){var q=z[B];if(X[B]!==q){var se=H.reconciler.apply(H,(0,u.ev)([z,X,B],U,!1));se!==q&&((z=H.shallowCopyForMerge(z))[B]=se)}}else(z=H.shallowCopyForMerge(z))[B]=X[B]}),z):X},F.prototype.shallowCopyForMerge=function(z){if((0,m.s)(z)){if(this.pastCopies.has(z)){if(!Object.isFrozen(z))return z;this.pastCopies.delete(z)}z=Array.isArray(z)?z.slice(0):(0,u.pi)({__proto__:Object.getPrototypeOf(z)},z),this.pastCopies.add(z)}return z},F}()},6435:(xt,Ie,w)=>{"use strict";function u(m){return null!==m&&"object"==typeof m}w.d(Ie,{s:()=>u})},5559:(xt,Ie,w)=>{"use strict";w.d(Ie,{ej:()=>ee,kG:()=>A,wY:()=>U});var u=w(4762),m="Invariant Violation",D=Object.setPrototypeOf,x=void 0===D?function(ge,V){return ge.__proto__=V,ge}:D,ee=function(ge){function V(J){void 0===J&&(J=m);var le=ge.call(this,"number"==typeof J?m+": "+J+" (see https://github.com/apollographql/invariant-packages)":J)||this;return le.framesToPop=1,le.name=m,x(le,V.prototype),le}return(0,u.ZT)(V,ge),V}(Error);function A(ge,V){if(!ge)throw new ee(V)}var ge,O=["debug","log","warn","error","silent"],F=O.indexOf("log");function z(ge){return function(){if(O.indexOf(ge)>=F){var V=console[ge]||console.log;return V.apply(console,arguments)}}}function U(ge){try{return ge()}catch(V){}}(ge=A||(A={})).debug=z("debug"),ge.log=z("log"),ge.warn=z("warn"),ge.error=z("error");const j=U(function(){return globalThis})||U(function(){return window})||U(function(){return self})||U(function(){return global})||U(function(){return U.constructor("return this")()});var B="__",q=[B,B].join("DEV");const fe=function(){try{return Boolean(__DEV__)}catch(ge){return Object.defineProperty(j,q,{value:"production"!==U(function(){return"production"}),enumerable:!1,configurable:!0,writable:!0}),j[q]}}();function Le(ge){try{return ge()}catch(V){}}var st=Le(function(){return globalThis})||Le(function(){return window})||Le(function(){return self})||Le(function(){return global})||Le(function(){return Le.constructor("return this")()}),ft=!1;st&&!Le(function(){return"production"})&&!Le(function(){return process})&&(Object.defineProperty(st,"process",{value:{env:{NODE_ENV:"production"}},configurable:!0,enumerable:!1,writable:!0}),ft=!0),w(3277),ft&&(delete st.process,ft=!1),__DEV__?A("boolean"==typeof fe,fe):A("boolean"==typeof fe,36)},7003:(xt,Ie,w)=>{"use strict";w.d(Ie,{LZ:()=>D,FS:()=>ee,mj:()=>A});var u=w(5559),m=w(2944);function D(z,X){var H=z.directives;return!H||!H.length||function(z){var X=[];return z&&z.length&&z.forEach(function(H){if(function(z){var X=z.name.value;return"skip"===X||"include"===X}(H)){var U=H.arguments,j=H.name.value;__DEV__?(0,u.kG)(U&&1===U.length,"Incorrect number of arguments for the @".concat(j," directive.")):(0,u.kG)(U&&1===U.length,38);var B=U[0];__DEV__?(0,u.kG)(B.name&&"if"===B.name.value,"Invalid argument for the @".concat(j," directive.")):(0,u.kG)(B.name&&"if"===B.name.value,39);var q=B.value;__DEV__?(0,u.kG)(q&&("Variable"===q.kind||"BooleanValue"===q.kind),"Argument for the @".concat(j," directive must be a variable or a boolean value.")):(0,u.kG)(q&&("Variable"===q.kind||"BooleanValue"===q.kind),40),X.push({directive:H,ifArgument:B})}}),X}(H).every(function(U){var j=U.directive,B=U.ifArgument,q=!1;return"Variable"===B.value.kind?(q=X&&X[B.value.name.value],__DEV__?(0,u.kG)(void 0!==q,"Invalid variable referenced in @".concat(j.name.value," directive.")):(0,u.kG)(void 0!==q,37)):q=B.value.value,"skip"===j.name.value?!q:q})}function ee(z,X){return function(z){var X=[];return(0,m.Vn)(z,{Directive:function(H){X.push(H.name.value)}}),X}(X).some(function(H){return z.indexOf(H)>-1})}function A(z){return z&&ee(["client"],z)&&ee(["export"],z)}},4014:(xt,Ie,w)=>{"use strict";w.d(Ie,{Yk:()=>D,F:()=>x,hi:()=>ee});var u=w(4762),m=w(5559);function D(A,O){var F=O,z=[];return A.definitions.forEach(function(H){if("OperationDefinition"===H.kind)throw __DEV__?new m.ej("Found a ".concat(H.operation," operation").concat(H.name?" named '".concat(H.name.value,"'"):"",". ")+"No operations are allowed when using a fragment as a query. Only fragments are allowed."):new m.ej(41);"FragmentDefinition"===H.kind&&z.push(H)}),void 0===F&&(__DEV__?(0,m.kG)(1===z.length,"Found ".concat(z.length," fragments. `fragmentName` must be provided when there is not exactly 1 fragment.")):(0,m.kG)(1===z.length,42),F=z[0].name.value),(0,u.pi)((0,u.pi)({},A),{definitions:(0,u.ev)([{kind:"OperationDefinition",operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:F}}]}}],A.definitions,!0)})}function x(A){void 0===A&&(A=[]);var O={};return A.forEach(function(F){O[F.name.value]=F}),O}function ee(A,O){switch(A.kind){case"InlineFragment":return A;case"FragmentSpread":var F=O&&O[A.name.value];return __DEV__?(0,m.kG)(F,"No fragment named ".concat(A.name.value,".")):(0,m.kG)(F,43),F;default:return null}}},6341:(xt,Ie,w)=>{"use strict";w.d(Ie,{A$:()=>D,$H:()=>x,rY:()=>ee,kU:()=>A,iW:()=>O,pD:()=>F,p$:()=>z,O4:()=>X});var u=w(5559),m=w(2813);function D(H){__DEV__?(0,u.kG)(H&&"Document"===H.kind,'Expecting a parsed GraphQL document. Perhaps you need to wrap the query string in a "gql" tag? http://docs.apollostack.com/apollo-client/core.html#gql'):(0,u.kG)(H&&"Document"===H.kind,44);var U=H.definitions.filter(function(j){return"FragmentDefinition"!==j.kind}).map(function(j){if("OperationDefinition"!==j.kind)throw __DEV__?new u.ej('Schema type definitions not allowed in queries. Found: "'.concat(j.kind,'"')):new u.ej(45);return j});return __DEV__?(0,u.kG)(U.length<=1,"Ambiguous GraphQL document: contains ".concat(U.length," operations")):(0,u.kG)(U.length<=1,46),H}function x(H){return D(H),H.definitions.filter(function(U){return"OperationDefinition"===U.kind})[0]}function ee(H){return H.definitions.filter(function(U){return"OperationDefinition"===U.kind&&U.name}).map(function(U){return U.name.value})[0]||null}function A(H){return H.definitions.filter(function(U){return"FragmentDefinition"===U.kind})}function O(H){var U=x(H);return __DEV__?(0,u.kG)(U&&"query"===U.operation,"Must contain a query definition."):(0,u.kG)(U&&"query"===U.operation,47),U}function F(H){__DEV__?(0,u.kG)("Document"===H.kind,'Expecting a parsed GraphQL document. Perhaps you need to wrap the query string in a "gql" tag? http://docs.apollostack.com/apollo-client/core.html#gql'):(0,u.kG)("Document"===H.kind,48),__DEV__?(0,u.kG)(H.definitions.length<=1,"Fragment must have exactly one definition."):(0,u.kG)(H.definitions.length<=1,49);var U=H.definitions[0];return __DEV__?(0,u.kG)("FragmentDefinition"===U.kind,"Must be a fragment definition."):(0,u.kG)("FragmentDefinition"===U.kind,50),U}function z(H){D(H);for(var U,j=0,B=H.definitions;j<B.length;j++){var q=B[j];if("OperationDefinition"===q.kind){var se=q.operation;if("query"===se||"mutation"===se||"subscription"===se)return q}"FragmentDefinition"===q.kind&&!U&&(U=q)}if(U)return U;throw __DEV__?new u.ej("Expected a parsed GraphQL query with a query, mutation, subscription, or a fragment."):new u.ej(51)}function X(H){var U=Object.create(null),j=H&&H.variableDefinitions;return j&&j.length&&j.forEach(function(B){B.defaultValue&&(0,m.vb)(U,B.variable.name,B.defaultValue)}),U}},2813:(xt,Ie,w)=>{"use strict";w.d(Ie,{kQ:()=>x,Yk:()=>ee,JW:()=>A,vb:()=>se,vf:()=>fe,PT:()=>st,NC:()=>Ge,u2:()=>ut,qw:()=>Pe,My:()=>Ce,Ao:()=>ge});var u=w(5559),m=w(6435),D=w(4014);function x(V){return{__ref:String(V)}}function ee(V){return Boolean(V&&"object"==typeof V&&"string"==typeof V.__ref)}function A(V){return(0,m.s)(V)&&"Document"===V.kind&&Array.isArray(V.definitions)}function se(V,J,le,ve){if(function(V){return"IntValue"===V.kind}(le)||function(V){return"FloatValue"===V.kind}(le))V[J.value]=Number(le.value);else if(function(V){return"BooleanValue"===V.kind}(le)||function(V){return"StringValue"===V.kind}(le))V[J.value]=le.value;else if(function(V){return"ObjectValue"===V.kind}(le)){var Ae={};le.fields.map(function(qe){return se(Ae,qe.name,qe.value,ve)}),V[J.value]=Ae}else if(function(V){return"Variable"===V.kind}(le))V[J.value]=(ve||{})[le.name.value];else if(function(V){return"ListValue"===V.kind}(le))V[J.value]=le.values.map(function(qe){var ht={};return se(ht,J,qe,ve),ht[J.value]});else if(function(V){return"EnumValue"===V.kind}(le))V[J.value]=le.value;else{if(!function(V){return"NullValue"===V.kind}(le))throw __DEV__?new u.ej('The inline argument "'.concat(J.value,'" of kind "').concat(le.kind,'"')+"is not supported. Use variables instead of inline arguments to overcome this limitation."):new u.ej(52);V[J.value]=null}}function fe(V,J){var le=null;V.directives&&(le={},V.directives.forEach(function(Ae){le[Ae.name.value]={},Ae.arguments&&Ae.arguments.forEach(function(De){return se(le[Ae.name.value],De.name,De.value,J)})}));var ve=null;return V.arguments&&V.arguments.length&&(ve={},V.arguments.forEach(function(Ae){return se(ve,Ae.name,Ae.value,J)})),st(V.name.value,ve,le)}var Le=["connection","include","skip","client","rest","export"],st=Object.assign(function(V,J,le){if(J&&le&&le.connection&&le.connection.key){if(le.connection.filter&&le.connection.filter.length>0){var ve=le.connection.filter?le.connection.filter:[];ve.sort();var Ae={};return ve.forEach(function(ht){Ae[ht]=J[ht]}),"".concat(le.connection.key,"(").concat(ft(Ae),")")}return le.connection.key}var De=V;if(J){var qe=ft(J);De+="(".concat(qe,")")}return le&&Object.keys(le).forEach(function(ht){-1===Le.indexOf(ht)&&(le[ht]&&Object.keys(le[ht]).length?De+="@".concat(ht,"(").concat(ft(le[ht]),")"):De+="@".concat(ht))}),De},{setStringify:function(V){var J=ft;return ft=V,J}}),ft=function(J){return JSON.stringify(J,Ke)};function Ke(V,J){return(0,m.s)(J)&&!Array.isArray(J)&&(J=Object.keys(J).sort().reduce(function(le,ve){return le[ve]=J[ve],le},{})),J}function Ge(V,J){if(V.arguments&&V.arguments.length){var le={};return V.arguments.forEach(function(ve){return se(le,ve.name,ve.value,J)}),le}return null}function ut(V){return V.alias?V.alias.value:V.name.value}function Pe(V,J,le){if("string"==typeof V.__typename)return V.__typename;for(var ve=0,Ae=J.selections;ve<Ae.length;ve++){var De=Ae[ve];if(Ce(De)){if("__typename"===De.name.value)return V[ut(De)]}else{var qe=Pe(V,(0,D.hi)(De,le).selectionSet,le);if("string"==typeof qe)return qe}}}function Ce(V){return"Field"===V.kind}function ge(V){return"InlineFragment"===V.kind}},9033:(xt,Ie,w)=>{"use strict";w.d(Ie,{Gw:()=>j,aL:()=>Ge,ob:()=>ut,Fo:()=>q});var u=w(4762),m=w(5559),D=w(2944),x=w(6341);function ee(Pe,Ce,ge){var V=0;return Pe.forEach(function(J,le){Ce.call(this,J,le,Pe)&&(Pe[V++]=J)},ge),Pe.length=V,Pe}var A=w(2813),O=w(4014),F={kind:"Field",name:{kind:"Name",value:"__typename"}};function z(Pe,Ce){return Pe.selectionSet.selections.every(function(ge){return"FragmentSpread"===ge.kind&&z(Ce[ge.name.value],Ce)})}function X(Pe){return z((0,x.$H)(Pe)||(0,x.pD)(Pe),(0,O.F)((0,x.kU)(Pe)))?null:Pe}function H(Pe){return function(ge){return Pe.some(function(V){return V.name&&V.name===ge.name.value||V.test&&V.test(ge)})}}function U(Pe,Ce){var ge=Object.create(null),V=[],J=Object.create(null),le=[],ve=X((0,D.Vn)(Ce,{Variable:{enter:function(Ae,De,qe){"VariableDefinition"!==qe.kind&&(ge[Ae.name.value]=!0)}},Field:{enter:function(Ae){if(Pe&&Ae.directives&&Pe.some(function(qe){return qe.remove})&&Ae.directives&&Ae.directives.some(H(Pe)))return Ae.arguments&&Ae.arguments.forEach(function(qe){"Variable"===qe.value.kind&&V.push({name:qe.value.name.value})}),Ae.selectionSet&&Ke(Ae.selectionSet).forEach(function(qe){le.push({name:qe.name.value})}),null}},FragmentSpread:{enter:function(Ae){J[Ae.name.value]=!0}},Directive:{enter:function(Ae){if(H(Pe)(Ae))return null}}}));return ve&&ee(V,function(Ae){return!!Ae.name&&!ge[Ae.name]}).length&&(ve=function(Pe,Ce){var ge=function(Pe){return function(ge){return Pe.some(function(V){return ge.value&&"Variable"===ge.value.kind&&ge.value.name&&(V.name===ge.value.name.value||V.test&&V.test(ge))})}}(Pe);return X((0,D.Vn)(Ce,{OperationDefinition:{enter:function(V){return(0,u.pi)((0,u.pi)({},V),{variableDefinitions:V.variableDefinitions?V.variableDefinitions.filter(function(J){return!Pe.some(function(le){return le.name===J.variable.name.value})}):[]})}},Field:{enter:function(V){var J=Pe.some(function(ve){return ve.remove});if(J){var le=0;if(V.arguments&&V.arguments.forEach(function(ve){ge(ve)&&(le+=1)}),1===le)return null}}},Argument:{enter:function(V){if(ge(V))return null}}}))}(V,ve)),ve&&ee(le,function(Ae){return!!Ae.name&&!J[Ae.name]}).length&&(ve=function(Pe,Ce){function ge(V){if(Pe.some(function(J){return J.name===V.name.value}))return null}return X((0,D.Vn)(Ce,{FragmentSpread:{enter:ge},FragmentDefinition:{enter:ge}}))}(le,ve)),ve}var j=Object.assign(function(Pe){return(0,D.Vn)((0,x.A$)(Pe),{SelectionSet:{enter:function(Ce,ge,V){if(!V||"OperationDefinition"!==V.kind){var J=Ce.selections;if(J&&!J.some(function(Ae){return(0,A.My)(Ae)&&("__typename"===Ae.name.value||0===Ae.name.value.lastIndexOf("__",0))})){var ve=V;if(!((0,A.My)(ve)&&ve.directives&&ve.directives.some(function(Ae){return"export"===Ae.name.value})))return(0,u.pi)((0,u.pi)({},Ce),{selections:(0,u.ev)((0,u.ev)([],J,!0),[F],!1)})}}}}})},{added:function(Pe){return Pe===F}}),B={test:function(Pe){var Ce="connection"===Pe.name.value;return Ce&&(!Pe.arguments||!Pe.arguments.some(function(ge){return"key"===ge.name.value}))&&__DEV__&&m.kG.warn("Removing an @connection directive even though it does not have a key. You may want to use the key parameter to specify a store key."),Ce}};function q(Pe){return U([B],(0,x.A$)(Pe))}function Ke(Pe){var Ce=[];return Pe.selections.forEach(function(ge){((0,A.My)(ge)||(0,A.Ao)(ge))&&ge.selectionSet?Ke(ge.selectionSet).forEach(function(V){return Ce.push(V)}):"FragmentSpread"===ge.kind&&Ce.push(ge)}),Ce}function Ge(Pe){return"query"===(0,x.p$)(Pe).operation?Pe:(0,D.Vn)(Pe,{OperationDefinition:{enter:function(J){return(0,u.pi)((0,u.pi)({},J),{operation:"query"})}}})}function ut(Pe){(0,x.A$)(Pe);var Ce=U([{test:function(ge){return"client"===ge.name.value},remove:!0}],Pe);return Ce&&(Ce=(0,D.Vn)(Ce,{FragmentDefinition:{enter:function(ge){if(ge.selectionSet&&ge.selectionSet.selections.every(function(J){return(0,A.My)(J)&&"__typename"===J.name.value}))return null}}})),Ce}},4540:(xt,Ie,w)=>{"use strict";function D(Ce,ge){(null==ge||ge>Ce.length)&&(ge=Ce.length);for(var V=0,J=new Array(ge);V<ge;V++)J[V]=Ce[V];return J}function x(Ce,ge){for(var V=0;V<ge.length;V++){var J=ge[V];J.enumerable=J.enumerable||!1,J.configurable=!0,"value"in J&&(J.writable=!0),Object.defineProperty(Ce,J.key,J)}}function ee(Ce,ge,V){return ge&&x(Ce.prototype,ge),V&&x(Ce,V),Ce}w.d(Ie,{y:()=>Pe});var A=function(){return"function"==typeof Symbol},O=function(Ce){return A()&&Boolean(Symbol[Ce])},F=function(Ce){return O(Ce)?Symbol[Ce]:"@@"+Ce};A()&&!O("observable")&&(Symbol.observable=Symbol("observable"));var z=F("iterator"),X=F("observable"),H=F("species");function U(Ce,ge){var V=Ce[ge];if(null!=V){if("function"!=typeof V)throw new TypeError(V+" is not a function");return V}}function j(Ce){var ge=Ce.constructor;return void 0!==ge&&null===(ge=ge[H])&&(ge=void 0),void 0!==ge?ge:Pe}function q(Ce){q.log?q.log(Ce):setTimeout(function(){throw Ce})}function se(Ce){Promise.resolve().then(function(){try{Ce()}catch(ge){q(ge)}})}function fe(Ce){var ge=Ce._cleanup;if(void 0!==ge&&(Ce._cleanup=void 0,ge))try{if("function"==typeof ge)ge();else{var V=U(ge,"unsubscribe");V&&V.call(ge)}}catch(J){q(J)}}function Le(Ce){Ce._observer=void 0,Ce._queue=void 0,Ce._state="closed"}function ft(Ce,ge,V){Ce._state="running";var J=Ce._observer;try{var le=U(J,ge);switch(ge){case"next":le&&le.call(J,V);break;case"error":if(Le(Ce),!le)throw V;le.call(J,V);break;case"complete":Le(Ce),le&&le.call(J)}}catch(ve){q(ve)}"closed"===Ce._state?fe(Ce):"running"===Ce._state&&(Ce._state="ready")}function Ke(Ce,ge,V){if("closed"!==Ce._state){if("buffering"===Ce._state)return void Ce._queue.push({type:ge,value:V});if("ready"!==Ce._state)return Ce._state="buffering",Ce._queue=[{type:ge,value:V}],void se(function(){return function(Ce){var ge=Ce._queue;if(ge){Ce._queue=void 0,Ce._state="ready";for(var V=0;V<ge.length&&(ft(Ce,ge[V].type,ge[V].value),"closed"!==Ce._state);++V);}}(Ce)});ft(Ce,ge,V)}}var Ge=function(){function Ce(V,J){this._cleanup=void 0,this._observer=V,this._queue=void 0,this._state="initializing";var le=new ut(this);try{this._cleanup=J.call(void 0,le)}catch(ve){le.error(ve)}"initializing"===this._state&&(this._state="ready")}return Ce.prototype.unsubscribe=function(){"closed"!==this._state&&(Le(this),fe(this))},ee(Ce,[{key:"closed",get:function(){return"closed"===this._state}}]),Ce}(),ut=function(){function Ce(V){this._subscription=V}var ge=Ce.prototype;return ge.next=function(J){Ke(this._subscription,"next",J)},ge.error=function(J){Ke(this._subscription,"error",J)},ge.complete=function(){Ke(this._subscription,"complete")},ee(Ce,[{key:"closed",get:function(){return"closed"===this._subscription._state}}]),Ce}(),Pe=function(){function Ce(V){if(!(this instanceof Ce))throw new TypeError("Observable cannot be called as a function");if("function"!=typeof V)throw new TypeError("Observable initializer must be a function");this._subscriber=V}var ge=Ce.prototype;return ge.subscribe=function(J){return("object"!=typeof J||null===J)&&(J={next:J,error:arguments[1],complete:arguments[2]}),new Ge(J,this._subscriber)},ge.forEach=function(J){var le=this;return new Promise(function(ve,Ae){if("function"==typeof J)var qe=le.subscribe({next:function(ht){try{J(ht,De)}catch(Vt){Ae(Vt),qe.unsubscribe()}},error:Ae,complete:ve});else Ae(new TypeError(J+" is not a function"));function De(){qe.unsubscribe(),ve()}})},ge.map=function(J){var le=this;if("function"!=typeof J)throw new TypeError(J+" is not a function");return new(j(this))(function(Ae){return le.subscribe({next:function(De){try{De=J(De)}catch(qe){return Ae.error(qe)}Ae.next(De)},error:function(De){Ae.error(De)},complete:function(){Ae.complete()}})})},ge.filter=function(J){var le=this;if("function"!=typeof J)throw new TypeError(J+" is not a function");return new(j(this))(function(Ae){return le.subscribe({next:function(De){try{if(!J(De))return}catch(qe){return Ae.error(qe)}Ae.next(De)},error:function(De){Ae.error(De)},complete:function(){Ae.complete()}})})},ge.reduce=function(J){var le=this;if("function"!=typeof J)throw new TypeError(J+" is not a function");var ve=j(this),Ae=arguments.length>1,De=!1,qe=arguments[1],ht=qe;return new ve(function(Vt){return le.subscribe({next:function(ze){var it=!De;if(De=!0,!it||Ae)try{ht=J(ht,ze)}catch(pt){return Vt.error(pt)}else ht=ze},error:function(ze){Vt.error(ze)},complete:function(){if(!De&&!Ae)return Vt.error(new TypeError("Cannot reduce an empty sequence"));Vt.next(ht),Vt.complete()}})})},ge.concat=function(){for(var J=this,le=arguments.length,ve=new Array(le),Ae=0;Ae<le;Ae++)ve[Ae]=arguments[Ae];var De=j(this);return new De(function(qe){var ht,Vt=0;return function ze(it){ht=it.subscribe({next:function(pt){qe.next(pt)},error:function(pt){qe.error(pt)},complete:function(){Vt===ve.length?(ht=void 0,qe.complete()):ze(De.from(ve[Vt++]))}})}(J),function(){ht&&(ht.unsubscribe(),ht=void 0)}})},ge.flatMap=function(J){var le=this;if("function"!=typeof J)throw new TypeError(J+" is not a function");var ve=j(this);return new ve(function(Ae){var De=[],qe=le.subscribe({next:function(Vt){if(J)try{Vt=J(Vt)}catch(it){return Ae.error(it)}var ze=ve.from(Vt).subscribe({next:function(it){Ae.next(it)},error:function(it){Ae.error(it)},complete:function(){var it=De.indexOf(ze);it>=0&&De.splice(it,1),ht()}});De.push(ze)},error:function(Vt){Ae.error(Vt)},complete:function(){ht()}});function ht(){qe.closed&&0===De.length&&Ae.complete()}return function(){De.forEach(function(Vt){return Vt.unsubscribe()}),qe.unsubscribe()}})},ge[X]=function(){return this},Ce.from=function(J){var le="function"==typeof this?this:Ce;if(null==J)throw new TypeError(J+" is not an object");var ve=U(J,X);if(ve){var Ae=ve.call(J);if(Object(Ae)!==Ae)throw new TypeError(Ae+" is not an object");return function(Ce){return Ce instanceof Pe}(Ae)&&Ae.constructor===le?Ae:new le(function(De){return Ae.subscribe(De)})}if(O("iterator")&&(ve=U(J,z)))return new le(function(De){se(function(){if(!De.closed){for(var ht,qe=function(Ce,ge){var V="undefined"!=typeof Symbol&&Ce[Symbol.iterator]||Ce["@@iterator"];if(V)return(V=V.call(Ce)).next.bind(V);if(Array.isArray(Ce)||(V=function(Ce,ge){if(Ce){if("string"==typeof Ce)return D(Ce,void 0);var V=Object.prototype.toString.call(Ce).slice(8,-1);if("Object"===V&&Ce.constructor&&(V=Ce.constructor.name),"Map"===V||"Set"===V)return Array.from(Ce);if("Arguments"===V||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(V))return D(Ce,void 0)}}(Ce))||ge&&Ce&&"number"==typeof Ce.length){V&&(Ce=V);var J=0;return function(){return J>=Ce.length?{done:!0}:{done:!1,value:Ce[J++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(ve.call(J));!(ht=qe()).done;)if(De.next(ht.value),De.closed)return;De.complete()}})});if(Array.isArray(J))return new le(function(De){se(function(){if(!De.closed){for(var qe=0;qe<J.length;++qe)if(De.next(J[qe]),De.closed)return;De.complete()}})});throw new TypeError(J+" is not observable")},Ce.of=function(){for(var J=arguments.length,le=new Array(J),ve=0;ve<J;ve++)le[ve]=arguments[ve];var Ae="function"==typeof this?this:Ce;return new Ae(function(De){se(function(){if(!De.closed){for(var qe=0;qe<le.length;++qe)if(De.next(le[qe]),De.closed)return;De.complete()}})})},ee(Ce,null,[{key:H,get:function(){return this}}]),Ce}();A()&&Object.defineProperty(Pe,Symbol("extensions"),{value:{symbol:X,hostReportError:q},configurable:!0})},8835:(xt,Ie,w)=>{"use strict";w.d(Ie,{Z:()=>ee});var u=w(9227);function m(U){return(m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(B){return typeof B}:function(B){return B&&"function"==typeof Symbol&&B.constructor===Symbol&&B!==Symbol.prototype?"symbol":typeof B})(U)}function ee(U){return A(U,[])}function A(U,j){switch(m(U)){case"string":return JSON.stringify(U);case"function":return U.name?"[function ".concat(U.name,"]"):"[function]";case"object":return null===U?"null":function(U,j){if(-1!==j.indexOf(U))return"[Circular]";var B=[].concat(j,[U]),q=function(U){var j=U[String(u.Z)];return"function"==typeof j?j:"function"==typeof U.inspect?U.inspect:void 0}(U);if(void 0!==q){var se=q.call(U);if(se!==U)return"string"==typeof se?se:A(se,B)}else if(Array.isArray(U))return function(U,j){if(0===U.length)return"[]";if(j.length>2)return"[Array]";for(var B=Math.min(10,U.length),q=U.length-B,se=[],fe=0;fe<B;++fe)se.push(A(U[fe],j));return 1===q?se.push("... 1 more item"):q>1&&se.push("... ".concat(q," more items")),"["+se.join(", ")+"]"}(U,B);return function(U,j){var B=Object.keys(U);if(0===B.length)return"{}";if(j.length>2)return"["+function(U){var j=Object.prototype.toString.call(U).replace(/^\[object /,"").replace(/]$/,"");if("Object"===j&&"function"==typeof U.constructor){var B=U.constructor.name;if("string"==typeof B&&""!==B)return B}return j}(U)+"]";var q=B.map(function(se){return se+": "+A(U[se],j)});return"{ "+q.join(", ")+" }"}(U,B)}(U,j);default:return String(U)}}},9227:(xt,Ie,w)=>{"use strict";w.d(Ie,{Z:()=>m});const m="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):void 0},2190:(xt,Ie,w)=>{"use strict";w.d(Ie,{Ye:()=>x,WU:()=>ee,UG:()=>A});var m=w(9227);function D(O){var F=O.prototype.toJSON;"function"==typeof F||function(O,F){if(!Boolean(0))throw new Error("Unexpected invariant triggered.")}(),O.prototype.inspect=F,m.Z&&(O.prototype[m.Z]=F)}var x=function(){function O(z,X,H){this.start=z.start,this.end=X.end,this.startToken=z,this.endToken=X,this.source=H}return O.prototype.toJSON=function(){return{start:this.start,end:this.end}},O}();D(x);var ee=function(){function O(z,X,H,U,j,B,q){this.kind=z,this.start=X,this.end=H,this.line=U,this.column=j,this.value=q,this.prev=B,this.next=null}return O.prototype.toJSON=function(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}},O}();function A(O){return null!=O&&"string"==typeof O.kind}D(ee)},4087:(xt,Ie,w)=>{"use strict";function u(ee){var A=ee.split(/\r\n|[\n\r]/g),O=function(ee){for(var A,O=!0,F=!0,z=0,X=null,H=0;H<ee.length;++H)switch(ee.charCodeAt(H)){case 13:10===ee.charCodeAt(H+1)&&++H;case 10:O=!1,F=!0,z=0;break;case 9:case 32:++z;break;default:F&&!O&&(null===X||z<X)&&(X=z),F=!1}return null!==(A=X)&&void 0!==A?A:0}(ee);if(0!==O)for(var F=1;F<A.length;F++)A[F]=A[F].slice(O);for(var z=0;z<A.length&&m(A[z]);)++z;for(var X=A.length;X>z&&m(A[X-1]);)--X;return A.slice(z,X).join("\n")}function m(ee){for(var A=0;A<ee.length;++A)if(" "!==ee[A]&&"\t"!==ee[A])return!1;return!0}function x(ee){var A=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",O=arguments.length>2&&void 0!==arguments[2]&&arguments[2],F=-1===ee.indexOf("\n"),z=" "===ee[0]||"\t"===ee[0],X='"'===ee[ee.length-1],H="\\"===ee[ee.length-1],U=!F||X||H||O,j="";return U&&!(F&&z)&&(j+="\n"+A),j+=A?ee.replace(/\n/g,"\n"+A):ee,U&&(j+="\n"),'"""'+j.replace(/"""/g,'\\"""')+'"""'}w.d(Ie,{W7:()=>u,LZ:()=>x})},459:(xt,Ie,w)=>{"use strict";w.d(Ie,{S:()=>D});var u=w(2944),m=w(4087);function D(j){return(0,u.Vn)(j,{leave:ee})}var ee={Name:function(B){return B.value},Variable:function(B){return"$"+B.name},Document:function(B){return O(B.definitions,"\n\n")+"\n"},OperationDefinition:function(B){var q=B.operation,se=B.name,fe=z("(",O(B.variableDefinitions,", "),")"),Le=O(B.directives," "),st=B.selectionSet;return se||Le||fe||"query"!==q?O([q,O([se,fe]),Le,st]," "):st},VariableDefinition:function(B){var Le=B.directives;return B.variable+": "+B.type+z(" = ",B.defaultValue)+z(" ",O(Le," "))},SelectionSet:function(B){return F(B.selections)},Field:function(B){var se=B.name,fe=B.arguments,Le=B.directives,st=B.selectionSet,ft=z("",B.alias,": ")+se,Ke=ft+z("(",O(fe,", "),")");return Ke.length>80&&(Ke=ft+z("(\n",X(O(fe,"\n")),"\n)")),O([Ke,O(Le," "),st]," ")},Argument:function(B){return B.name+": "+B.value},FragmentSpread:function(B){return"..."+B.name+z(" ",O(B.directives," "))},InlineFragment:function(B){var se=B.directives,fe=B.selectionSet;return O(["...",z("on ",B.typeCondition),O(se," "),fe]," ")},FragmentDefinition:function(B){var se=B.typeCondition,fe=B.variableDefinitions,Le=B.directives,st=B.selectionSet;return"fragment ".concat(B.name).concat(z("(",O(fe,", "),")")," ")+"on ".concat(se," ").concat(z("",O(Le," ")," "))+st},IntValue:function(B){return B.value},FloatValue:function(B){return B.value},StringValue:function(B,q){var se=B.value;return B.block?(0,m.LZ)(se,"description"===q?"":"  "):JSON.stringify(se)},BooleanValue:function(B){return B.value?"true":"false"},NullValue:function(){return"null"},EnumValue:function(B){return B.value},ListValue:function(B){return"["+O(B.values,", ")+"]"},ObjectValue:function(B){return"{"+O(B.fields,", ")+"}"},ObjectField:function(B){return B.name+": "+B.value},Directive:function(B){return"@"+B.name+z("(",O(B.arguments,", "),")")},NamedType:function(B){return B.name},ListType:function(B){return"["+B.type+"]"},NonNullType:function(B){return B.type+"!"},SchemaDefinition:A(function(j){var q=j.operationTypes;return O(["schema",O(j.directives," "),F(q)]," ")}),OperationTypeDefinition:function(B){return B.operation+": "+B.type},ScalarTypeDefinition:A(function(j){return O(["scalar",j.name,O(j.directives," ")]," ")}),ObjectTypeDefinition:A(function(j){var se=j.directives,fe=j.fields;return O(["type",j.name,z("implements ",O(j.interfaces," & ")),O(se," "),F(fe)]," ")}),FieldDefinition:A(function(j){var q=j.arguments,se=j.type,fe=j.directives;return j.name+(U(q)?z("(\n",X(O(q,"\n")),"\n)"):z("(",O(q,", "),")"))+": "+se+z(" ",O(fe," "))}),InputValueDefinition:A(function(j){var fe=j.directives;return O([j.name+": "+j.type,z("= ",j.defaultValue),O(fe," ")]," ")}),InterfaceTypeDefinition:A(function(j){var se=j.directives,fe=j.fields;return O(["interface",j.name,z("implements ",O(j.interfaces," & ")),O(se," "),F(fe)]," ")}),UnionTypeDefinition:A(function(j){var se=j.types;return O(["union",j.name,O(j.directives," "),se&&0!==se.length?"= "+O(se," | "):""]," ")}),EnumTypeDefinition:A(function(j){var se=j.values;return O(["enum",j.name,O(j.directives," "),F(se)]," ")}),EnumValueDefinition:A(function(j){return O([j.name,O(j.directives," ")]," ")}),InputObjectTypeDefinition:A(function(j){var se=j.fields;return O(["input",j.name,O(j.directives," "),F(se)]," ")}),DirectiveDefinition:A(function(j){var q=j.arguments,se=j.repeatable,fe=j.locations;return"directive @"+j.name+(U(q)?z("(\n",X(O(q,"\n")),"\n)"):z("(",O(q,", "),")"))+(se?" repeatable":"")+" on "+O(fe," | ")}),SchemaExtension:function(B){var se=B.operationTypes;return O(["extend schema",O(B.directives," "),F(se)]," ")},ScalarTypeExtension:function(B){return O(["extend scalar",B.name,O(B.directives," ")]," ")},ObjectTypeExtension:function(B){var fe=B.directives,Le=B.fields;return O(["extend type",B.name,z("implements ",O(B.interfaces," & ")),O(fe," "),F(Le)]," ")},InterfaceTypeExtension:function(B){var fe=B.directives,Le=B.fields;return O(["extend interface",B.name,z("implements ",O(B.interfaces," & ")),O(fe," "),F(Le)]," ")},UnionTypeExtension:function(B){var fe=B.types;return O(["extend union",B.name,O(B.directives," "),fe&&0!==fe.length?"= "+O(fe," | "):""]," ")},EnumTypeExtension:function(B){var fe=B.values;return O(["extend enum",B.name,O(B.directives," "),F(fe)]," ")},InputObjectTypeExtension:function(B){var fe=B.fields;return O(["extend input",B.name,O(B.directives," "),F(fe)]," ")}};function A(j){return function(B){return O([B.description,j(B)],"\n")}}function O(j){var B,q=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return null!==(B=null==j?void 0:j.filter(function(se){return se}).join(q))&&void 0!==B?B:""}function F(j){return z("{\n",X(O(j,"\n")),"\n}")}function z(j,B){var q=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return null!=B&&""!==B?j+B+q:""}function X(j){return z("  ",j.replace(/\n/g,"\n  "))}function H(j){return-1!==j.indexOf("\n")}function U(j){return null!=j&&j.some(H)}},3277:(xt,Ie,w)=>{"use strict";w.d(Ie,{H:()=>F,T:()=>z});var u=w(880),m=w(8835);function D(X,H){if(!Boolean(X))throw new Error(H)}function A(X,H){for(var U=0;U<H.length;U++){var j=H[U];j.enumerable=j.enumerable||!1,j.configurable=!0,"value"in j&&(j.writable=!0),Object.defineProperty(X,j.key,j)}}var F=function(){function X(H){var U=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"GraphQL request",j=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{line:1,column:1};"string"==typeof H||D(0,"Body must be a string. Received: ".concat((0,m.Z)(H),".")),this.body=H,this.name=U,this.locationOffset=j,this.locationOffset.line>0||D(0,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||D(0,"column in locationOffset is 1-indexed and must be positive.")}return function(X,H,U){H&&A(X.prototype,H)}(X,[{key:u.YF,get:function(){return"Source"}}]),X}();function z(X){return X instanceof F}},2944:(xt,Ie,w)=>{"use strict";w.d(Ie,{$_:()=>x,Vn:()=>ee});var u=w(8835),m=w(2190),D={Name:[],Document:["definitions"],OperationDefinition:["name","variableDefinitions","directives","selectionSet"],VariableDefinition:["variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["description","directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","interfaces","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","interfaces","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"]},x=Object.freeze({});function ee(F,z){var X=arguments.length>2&&void 0!==arguments[2]?arguments[2]:D,H=void 0,U=Array.isArray(F),j=[F],B=-1,q=[],se=void 0,fe=void 0,Le=void 0,st=[],ft=[],Ke=F;do{var Ge=++B===j.length,ut=Ge&&0!==q.length;if(Ge){if(fe=0===ft.length?void 0:st[st.length-1],se=Le,Le=ft.pop(),ut){if(U)se=se.slice();else{for(var Pe={},Ce=0,ge=Object.keys(se);Ce<ge.length;Ce++){var V=ge[Ce];Pe[V]=se[V]}se=Pe}for(var J=0,le=0;le<q.length;le++){var ve=q[le][0],Ae=q[le][1];U&&(ve-=J),U&&null===Ae?(se.splice(ve,1),J++):se[ve]=Ae}}B=H.index,j=H.keys,q=H.edits,U=H.inArray,H=H.prev}else{if(fe=Le?U?B:j[B]:void 0,null==(se=Le?Le[fe]:Ke))continue;Le&&st.push(fe)}var ht,De=void 0;if(!Array.isArray(se)){if(!(0,m.UG)(se))throw new Error("Invalid AST Node: ".concat((0,u.Z)(se),"."));var qe=O(z,se.kind,Ge);if(qe){if((De=qe.call(z,se,fe,Le,st,ft))===x)break;if(!1===De){if(!Ge){st.pop();continue}}else if(void 0!==De&&(q.push([fe,De]),!Ge)){if(!(0,m.UG)(De)){st.pop();continue}se=De}}}void 0===De&&ut&&q.push([fe,se]),Ge?st.pop():(H={inArray:U,index:B,keys:j,edits:q,prev:H},j=(U=Array.isArray(se))?se:null!==(ht=X[se.kind])&&void 0!==ht?ht:[],B=-1,q=[],Le&&ft.push(Le),Le=se)}while(void 0!==H);return 0!==q.length&&(Ke=q[q.length-1][1]),Ke}function O(F,z,X){var H=F[z];if(H){if(!X&&"function"==typeof H)return H;var U=X?H.leave:H.enter;if("function"==typeof U)return U}else{var j=X?F.leave:F.enter;if(j){if("function"==typeof j)return j;var B=j[z];if("function"==typeof B)return B}}}},880:(xt,Ie,w)=>{"use strict";w.d(Ie,{YF:()=>D}),"function"==typeof Symbol&&null!=Symbol.iterator&&Symbol,"function"==typeof Symbol&&null!=Symbol.asyncIterator&&Symbol;var D="function"==typeof Symbol&&null!=Symbol.toStringTag?Symbol.toStringTag:"@@toStringTag"}},xt=>{xt(xt.s=314)}]);