1"use strict";(self.webpackChunkdunno_web_client=self.webpackChunkdunno_web_client||[]).push([[8792],{6858(tt,ce,l){l.d(ce,{cY:()=>Ve,FA:()=>hn,g:()=>Ht,dM:()=>Mt,u:()=>I,Uj:()=>O,p9:()=>et,bD:()=>Rn,T9:()=>ae,Ku:()=>Wt,sr:()=>Ze,zW:()=>Ae,eX:()=>_t});const j=function(fe){const Z=[];let ve=0;for(let Oe=0;Oe<fe.length;Oe++){let be=fe.charCodeAt(Oe);be<128?Z[ve++]=be:be<2048?(Z[ve++]=be>>6|192,Z[ve++]=63&be|128):55296==(64512&be)&&Oe+1<fe.length&&56320==(64512&fe.charCodeAt(Oe+1))?(be=65536+((1023&be)<<10)+(1023&fe.charCodeAt(++Oe)),Z[ve++]=be>>18|240,Z[ve++]=be>>12&63|128,Z[ve++]=be>>6&63|128,Z[ve++]=63&be|128):(Z[ve++]=be>>12|224,Z[ve++]=be>>6&63|128,Z[ve++]=63&be|128)}return Z},b={byteToCharMap_:null,charToByteMap_:null,byteToCharMapWebSafe_:null,charToByteMapWebSafe_:null,ENCODED_VALS_BASE:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",get ENCODED_VALS(){return this.ENCODED_VALS_BASE+"+/="},get ENCODED_VALS_WEBSAFE(){return this.ENCODED_VALS_BASE+"-_."},HAS_NATIVE_SUPPORT:"function"==typeof atob,encodeByteArray(fe,Z){if(!Array.isArray(fe))throw Error("encodeByteArray takes an array as a parameter");this.init_();const ve=Z?this.byteToCharMapWebSafe_:this.byteToCharMap_,Oe=[];for(let be=0;be<fe.length;be+=3){const st=fe[be],Rt=be+1<fe.length,on=Rt?fe[be+1]:0,jn=be+2<fe.length,Kt=jn?fe[be+2]:0;let Xt=(15&on)<<2|Kt>>6,Xn=63&Kt;jn||(Xn=64,Rt||(Xt=64)),Oe.push(ve[st>>2],ve[(3&st)<<4|on>>4],ve[Xt],ve[Xn])}return Oe.join("")},encodeString(fe,Z){return this.HAS_NATIVE_SUPPORT&&!Z?btoa(fe):this.encodeByteArray(j(fe),Z)},decodeString(fe,Z){return this.HAS_NATIVE_SUPPORT&&!Z?atob(fe):function(fe){const Z=[];let ve=0,Oe=0;for(;ve<fe.length;){const be=fe[ve++];if(be<128)Z[Oe++]=String.fromCharCode(be);else if(be>191&&be<224){const st=fe[ve++];Z[Oe++]=String.fromCharCode((31&be)<<6|63&st)}else if(be>239&&be<365){const jn=((7&be)<<18|(63&fe[ve++])<<12|(63&fe[ve++])<<6|63&fe[ve++])-65536;Z[Oe++]=String.fromCharCode(55296+(jn>>10)),Z[Oe++]=String.fromCharCode(56320+(1023&jn))}else{const st=fe[ve++],Rt=fe[ve++];Z[Oe++]=String.fromCharCode((15&be)<<12|(63&st)<<6|63&Rt)}}return Z.join("")}(this.decodeStringToByteArray(fe,Z))},decodeStringToByteArray(fe,Z){this.init_();const ve=Z?this.charToByteMapWebSafe_:this.charToByteMap_,Oe=[];for(let be=0;be<fe.length;){const st=ve[fe.charAt(be++)],on=be<fe.length?ve[fe.charAt(be)]:0;++be;const Kt=be<fe.length?ve[fe.charAt(be)]:64;++be;const un=be<fe.length?ve[fe.charAt(be)]:64;if(++be,null==st||null==on||null==Kt||null==un)throw new H;Oe.push(st<<2|on>>4),64!==Kt&&(Oe.push(on<<4&240|Kt>>2),64!==un&&Oe.push(Kt<<6&192|un))}return Oe},init_(){if(!this.byteToCharMap_){this.byteToCharMap_={},this.charToByteMap_={},this.byteToCharMapWebSafe_={},this.charToByteMapWebSafe_={};for(let fe=0;fe<this.ENCODED_VALS.length;fe++)this.byteToCharMap_[fe]=this.ENCODED_VALS.charAt(fe),this.charToByteMap_[this.byteToCharMap_[fe]]=fe,this.byteToCharMapWebSafe_[fe]=this.ENCODED_VALS_WEBSAFE.charAt(fe),this.charToByteMapWebSafe_[this.byteToCharMapWebSafe_[fe]]=fe,fe>=this.ENCODED_VALS_BASE.length&&(this.charToByteMap_[this.ENCODED_VALS_WEBSAFE.charAt(fe)]=fe,this.charToByteMapWebSafe_[this.ENCODED_VALS.charAt(fe)]=fe)}}};
1class H extends Error{constructor(){super(...arguments),this.name="DecodeBase64StringError"}}const O=function(fe){return function(fe){const Z=j(fe);return b.encodeByteArray(Z,!0)}(fe).replace(/\./g,"")},I=function(fe){try{return b.decodeString(fe,!0)}catch(Z){console.error("base64Decode failed: ",Z)}return null},Ue=()=>{try{return function oe(){if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;throw new Error("Unable to locate global object.")}().__FIREBASE_DEFAULTS__||(()=>{if(typeof process>"u"||typeof process.env>"u")return;const fe=process.env.__FIREBASE_DEFAULTS__;return fe?JSON.parse(fe):void 0})()||(()=>{if(typeof document>"u")return;let fe;try{fe=document.cookie.match(/__FIREBASE_DEFAULTS__=([^;]+)/)}catch{return}const Z=fe&&I(fe[1]);return Z&&JSON.parse(Z)})()}catch(fe){return void console.info(`Unable to get __FIREBASE_DEFAULTS__ due to: ${fe}`)}},ae=()=>{var fe;return null===(fe=Ue())||void 0===fe?void 0:fe.config};class Ve{constructor(){this.reject=()=>{},this.resolve=()=>{},this.promise=new Promise((Z,ve)=>{this.resolve=Z,this.reject=ve})}wrapCallback(Z){return(ve,Oe)=>{ve?this.reject(ve):this.resolve(Oe),"function"==typeof Z&&(this.promise.catch(()=>{}),1===Z.length?Z(ve):Z(ve,Oe))}}}function Ze(){const fe="object"==typeof chrome?chrome.runtime:"object"==typeof browser?browser.runtime:void 0;return"object"==typeof fe&&void 0!==fe.id}function Ae(){try{return"object"==typeof indexedDB}catch{return!1}}function _t(){return new Promise((fe,Z)=>{try{let ve=!0;const Oe="validate-browser-context-for-indexeddb-analytics-module",be=self.indexedDB.open(Oe);be.onsuccess=()=>{be.result.close(),ve||self.indexedDB.deleteDatabase(Oe),fe(!0)},be.onupgradeneeded=()=>{ve=!1},be.onerror=()=>{var st;Z((null===(st=be.error)||void 0===st?void 0:st.message)||"")}}catch(ve){Z(ve)}})}function Mt(){return!(typeof navigator>"u"||!navigator.cookieEnabled)}class Ht extends Error{constructor(Z,ve,Oe){super(ve),this.code=Z,this.customData=Oe,this.name="FirebaseError",Object.setPrototypeOf(this,Ht.prototype),Error.captureStackTrace&&Error.captureStackTrace(this,hn.prototype.create)}}class hn{constructor(Z,ve,Oe){this.service=Z,this.serviceName=ve,this.errors=Oe}create(Z,...ve){const Oe=ve[0]||{},be=`${this.service}/${Z}`,st=this.errors[Z],Rt=st?function pn(fe,Z){return fe.replace(an,(ve,Oe)=>{const be=Z[Oe];return null!=be?String(be):`<${Oe}?>`})}(st,Oe):"Error";return new Ht(be,`${this.serviceName}: ${Rt} (${be}).`,Oe)}}const an=/\{\$([^}]+)}/g;function Rn(fe,Z){if(fe===Z)return!0;const ve=Object.keys(fe),Oe=Object.keys(Z);for(const be of ve){if(!Oe.includes(be))return!1;const st=fe[be],Rt=Z[be];if(Pn(st)&&Pn(Rt)){if(!Rn(st,Rt))return!1}else if(st!==Rt)return!1}for(const be of Oe)if(!ve.includes(be))return!1;return!0}function Pn(fe){return null!==fe&&"object"==typeof fe}function et(fe,Z=1e3,ve=2){const Oe=Z*Math.pow(ve,fe),be=Math.round(.5*Oe*(Math.random()-.5)*2);return Math.min(144e5,Oe+be)}function Wt(fe){return fe&&fe._delegate?fe._delegate:fe}},446(tt,ce,l){l.d(ce,{$z:()=>H,BM:()=>O,NM:()=>T,Yh:()=>u,a_:()=>I,dd:()=>V,j_:()=>b,mc:()=>A,p9:()=>N});var k=l(5312);const T=k.c.apiUrl,u="https://dunno.ai",A=["vi","en"],b="https://suggest.dunno.ai/api/",H=[{name:"English",code:"en"},{name:"Vietnamese",code:"vi"},{name:"Japanese",code:"ja"},{name:"Chinese (Simplified)",code:"zh-CN"},{name:"Chinese (Traditional)",code:"zh-TW"},{name:"Korean",code:"ko"},{name:"French",code:"fr"},{name:"German",code:"de"},{name:"Indonesian",code:"id"},{name:"Italian",code:"it"},{name:"Russian",code:"ru"},{name:"Spanish",code:"es"}],N=[{image:"assets/images/user/user_rating1.png",name:"Thanh L\xfd",review:"App x\u1ecbn s\xf2 nha. Nhi\u1ec1u t\xednh n\u0103ng n\u1ed5i tr\u1ed9i. Th\xedch nh\u1ea5t t\xednh n\u0103ng tra v\xe0 ph\xe1t \xe2m c\u1ea3 \u0111o\u1ea1n v\u0103n v\xed d\u1ee5",country:"vi",key:1,premium:!0},{image:"assets/images/user/user_rating3.png",name:"Trung Nguy\u1ec5n",review:"V\xf4 c\xf9ng tuy\u1ec7t v\u1eddi, n\xf3 \u0111\xe3 gi\xfap t\xf4i r\u1ea5t nhi\u1ec1u, C\u1ea3m \u01a1n nh\xe0 ph\xe1t tri\u1ec3n \u{1f600}",country:"en",key:2,premium:!1},{image:"",name:"basim sherif",review:"Its really good dictionary app for English translation. Very easy to learn new languages",country:"en",key:3,premium:!1},{image:"assets/images/user/user_rating2.png",name:"Nguy\u1ec5n \xc1nh",review:"Perfect. \u1ee8ng d\u1ee5ng c\xf2n c\xf3 c\u1ea3 t\u1eeb \u0111i\u1ec3n chuy\xean ng\xe0nh n\u1eefa. R\u1ea5t OK",country:"vi",key:4,premium:!0},{image:"assets/images/user/user_rating5.webp",name:"S\u01a1n L\xfd Trung",review:"D\xf9ng t\u1ed1t. Th\xe2n thi\u1ec7n v\u1edbi ng\u
101b0\u1eddi d\xf9ng",country:"vi",key:5,premium:!1},{image:"assets/images/user/user_rating6.webp",name:"C\u01b0\u1eddng Tr\u1ea7n Ph\u01b0\u1edbc",review:"\u0110\xe2y l\xe0 app ti\u1ebfng anh tuy\u1ec7t v\u1eddi nh\u1ea5t m\xe0 t\xf4i t\u1eebng s\u1eed d\u1ee5ng. Very good",country:"en",key:6,premium:!1},{image:"assets/images/user/user_rating7.webp",name:"Zick Zoe",review:"App si\xeau hay, d\u1ecbch hay giao di\u1ec7n \u0111\u01a1n gi\u1ea3n d\u1ec5 s\u1eed d\u1ee5ng",country:"en",key:7,premium:!0},{image:"assets/images/user/user_rating8.webp",name:"\u0110\u0103ng Thich",review:"\u1ee8ng d\u1ee5ng r\u1ea5t b\u1ed5 \xedch v\xe0 th\xfa v\u1ecb. Xin c\u1ea3m \u01a1n t\xe1c gi\u1ea3!",country:"vi",key:8,premium:!1}],O=[{title:"txt_intro_ee",name:"EasyEnglish",img:"ic_easyenglish.webp",link:"https://todaienglish.com"},{title:"txt_intro_ec",name:"EasyChinese",img:"ic_easychinese.webp",link:"https://easychinese.io"},{title:"txt_intro_ek",name:"EasyKorean",img:"ic_easykorean.webp",link:"https://todaikorean.com"},{title:"txt_intro_hanzii",name:"Hanzii",img:"ic_hanzii.webp",link:"https://hanzii.net"}],I=k.c.wordBuilding,V=k.c.wordBuilding&&k.c.mockWordBuilding},4978(tt,ce,l){l.d(ce,{q:()=>j});var k=l(2615),T=l(252),u=l(7673),A=l(9117),s=l(6871);let j=(()=>{var W;class b{constructor(){this.storage=(0,k.WQX)(A.n),this.langStore=(0,k.WQX)(s.s),this.router=(0,k.WQX)(T.Ix)}canActivate(N,O){if(this.storage.getLocal("inforUser"))return(0,u.of)(!0);{const V=this.langStore.langPack();return this.router.navigate(["/search"],{queryParams:{hl:V}}),(0,u.of)(!1)}}static#e=W=()=>(this.\u0275fac=function(O){return new(O||b)},this.\u0275prov=k.jDH({token:b,factory:b.\u0275fac,providedIn:"root"}))}return W(),b})()},5661(tt,ce,l){l.d(ce,{Be:()=>j,Fd:()=>N,I8:()=>b,Lq:()=>T,Tf:()=>W,Un:()=>A,dD:()=>s,mc:()=>H,xN:()=>u});var k=l(3664);const T=["vi","en","fr","es","ko","cn","tw","ja"],u="vi",A="hl",s="currentLanguage";function j(O){return!!O&&T.indexOf(O)>-1}function W(O){const I=(O||"").trim();return I?"ja"===I?"jp":I:u}function b(O){const I=(O||"").trim()||u;return"cn"===I?"zh-CN":"tw"===I?"zh-TW":I}function H(O){return(0,k.zw6)(`transfer-translate-${O}`)}function N(O){const I=(O||"").trim()||u;return"vi"===I?"en-US":b(I)}},1231(tt,ce,l){l.d(ce,{e:()=>W});var k=l(2615),T=l(4907);const u=new Set(["P","BR","STRONG","B","EM","I","U","S","SPAN","A","UL","OL","LI","H1","H2","H3","H4","H5","H6","BLOCKQUOTE","DIV"]),A=new Set(["SCRIPT","STYLE","IFRAME","OBJECT","EMBED","INPUT","TEXTAREA","SELECT","BUTTON","FORM","LINK","META","SVG","MATH","TEMPLATE","NOSCRIPT"]),s=new Set(["color","background-color","text-align"]),j=/^(https?:|mailto:|\/|#)/i;let W=(()=>{var b;class H{constructor(){this.platform=(0,k.WQX)(T.f)}strip(O){if(this.platform.isBrowser){const I=document.createElement("div");return I.innerHTML=O,I.textContent||I.innerText||""}return O.replace(/<[^>]*>/g,"")}changeContent(O){return O&&O.trim()?this.convertInputHTML(O):""}sanitizeRichText(O){if(!O||!O.trim())return"";if(!this.platform.isBrowser)return O.replace(/<[^>]*>/g,"").trim();const I=(new DOMParser).parseFromString(O,"text/html");return this.cleanRichNode(I.body),I.body.innerHTML.trim()}cleanRichNode(O){Array.from(O.childNodes).forEach(I=>{if(I.nodeType===Node.TEXT_NODE)return;if(I.nodeType!==Node.ELEMENT_NODE)return void I.remove();const V=I;A.has(V.tagName)?V.remove():(this.cleanRichNode(V),u.has(V.tagName)?this.cleanRichAttributes(V):V.replaceWith(...Array.from(V.childNodes)))})}cleanRichAttributes(O){Array.from(O.attributes).forEach(I=>{const V=I.name.toLowerCase();if("style"===V){const Y=O.style,ue=Array.from(Y).filter(oe=>s.has(oe)).map(oe=>`${oe}: ${Y.getPropertyValue(oe)}`).filter(oe=>!/url\(|expression\(/i.test(oe));return void(ue.length?O.setAttribute("style",ue.join("; ")):O.removeAttribute("style"))}"A"!==O.tagName||"href"!==V&&"title"!==V&&"target"!==V?O.removeAttribute(I.name):"href"===V&&!j.test(I.value.trim())&&O.removeAttribute("href")}),"A"===O.tagName&&"_blank"===O.getAttribute("target")&&O.setAttribute("rel","noopener noreferrer")}convertInputHTML(O){let I="";if(-1!==O.indexOf("<div>")&&-1!==O.indexOf("</div>")&&-1===O.indexOf("<")&&-1===O.indexOf(">"))this.removeScript(O,V=>{I=V});else if(-1!==O.indexOf("<script>")&&-1!==O.indexOf("<\/script>"))this.removeScript(O,V=>{I=""!==V?this.removeElm(V):""});else{const V=this.removeElm(O);this.removeScript(V,Y=>{I=Y})}
1return-1!==I.indexOf("<input")&&(I=I.replace(/<input(.|\n)*?\/>/gi,"").replace(/<\/input>/gi,""),I=I.replace(/<input(.|\n)*?>/gi,"")),-1!==I.indexOf("<textarea")&&(I=I.replace(/<textarea(.|\n)*?>/gi,"").replace(/<\/textarea>/gi,"")),I.trim()}removeScript(O,I){(!O||!O.trim())&&I("");const Y=O.replace(/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,"");""!==Y&&""!==Y.trim()?-1!==Y.indexOf("<script>")&&-1!==Y.indexOf("<\/script>")?this.removeScript(Y,I):I(Y):I("")}removeElm(O){if(-1!==O.indexOf("<a")&&-1!==O.indexOf("</a>")&&-1!==O.indexOf("href=")&&(O=(O=O.replace(/<a/gi,"<div><a")).replace(/<\/a>/gi,"</a></div>")),-1!==(O=O.replace(/<br>|<\/br>/gi,"<br>")).indexOf("<p")&&-1!==O.indexOf("</p>")&&(O=O.replace(/<p/gi,"<div").replace(/<\/p>/gi,"</div>")),-1!==O.indexOf("<ul>")||-1!==O.indexOf("<ol>"))return O;{const I=document.createElement("div");return I.innerHTML=O,I.textContent||I.innerHTML||""}}static#e=b=()=>(this.\u0275fac=function(I){return new(I||H)},this.\u0275prov=k.jDH({token:H,factory:H.\u0275fac,providedIn:"root"}))}return b(),H})()},101(tt,ce,l){l.d(ce,{F:()=>A});var k=l(2615),T=l(8018),u=l(8198);let A=(()=>{var s;class j{constructor(){this.broadcaster=(0,k.WQX)(u.y),this.translate=(0,k.WQX)(T.c$)}showNotify(b,H){this.broadcaster.broadcast("notify",{content:this.translate.instant(b),type:H})}static#e=s=()=>(this.\u0275fac=function(H){return new(H||j)},this.\u0275prov=k.jDH({token:j,factory:j.\u0275fac,providedIn:"root"}))}return s(),j})()},4907(tt,ce,l){l.d(ce,{f:()=>A});var k=l(2615),T=l(3664),u=l(177);let A=(()=>{var s;class j{constructor(){this.platformId=(0,k.WQX)(T.Agw),this.isBrowser=(0,u.UE)(this.platformId)}static#e=s=()=>(this.\u0275fac=function(H){return new(H||j)},this.\u0275prov=k.jDH({token:j,factory:j.\u0275fac,providedIn:"root"}))}return s(),j})()},4713(tt,ce,l){l.d(ce,{o:()=>W});var k=l(2615),T=l(8198),u=l(9117),A=l(1231),s=l(6871),j=l(4190);let W=(()=>{var b;class H{constructor(){this.storage=(0,k.WQX)(u.n),this.langStore=(0,k.WQX)(s.s),this.htmlSanitize=(0,k.WQX)(A.e),this.broadcast=(0,k.WQX)(T.y),this.searchService=(0,k.WQX)(j.P),this._localData=(0,k.vPA)({}),this.typeQuery="word",this.typeSearch=this.getTypeSearch()}convertQuery(O){return(O=this.htmlSanitize.strip(O)).trim()}trendingSearch(O,I){const V=this.langStore.langPack(),ue=JSON.stringify({type:O,lang:V,trending:"trending"});let oe=[];null!==this._localData()[ue]&&void 0!==this._localData()[ue]?oe=this._localData()[ue]:this.searchService.trendingSearch(O,V).subscribe(se=>{this._localData.update(de=>({...de,[ue]:se})),I(se)}),I(oe)}
1formatQuery(O){let I=O.split(" ");const V=["o\xe0","o\xe1","o\u1ea3","o\xe3","o\u1ea1","o\xe8","o\xe9","o\u1ebb","o\u1ebd","o\u1eb9","u\u1ef3","u\xfd","u\u1ef7","u\u1ef9","u\u1ef5"],Y=["m","n","p","t","nh","ch","ng","c","u","o","i","y"],ue={o\u00e0:"\xf2a",o\u00e1:"\xf3a",o\u1ea3:"\u1ecfa",o\u00e3:"\xf5a",o\u1ea1:"\u1ecda",o\u00e8:"\xf2e",o\u00e9:"\xf3e",o\u1ebb:"\u1ecfe",o\u1ebd:"\xf5e",o\u1eb9:"\u1ecde",u\u1ef3:"\xf9y",u\u00fd:"\xfay",u\u1ef7:"\u1ee7y",u\u1ef9:"\u0169y",u\u1ef5:"\u1ee5y"};return I=I.map(oe=>{const se=V.filter(me=>oe.includes(me));return 0===Y.filter(me=>me===oe[oe.indexOf(se[0])+2]).length&&"q"!==oe[0]&&(oe=oe.replace(/o\xe0|o\xe1|o\u1ea3|o\xe3|o\u1ea1|o\xe8|o\xe9|o\u1ebb|o\u1ebd|o\u1eb9|u\u1ef3|u\xfd|u\u1ef7|u\u1ef9|u\u1ef5/g,me=>ue[me])),oe}),I.join(" ")}getTypeSearch(){const O=this.storage.getLocal("type-search");return this.typeSearch=O||`en-${this.langStore.langPack()}`,this.typeSearch}setTypeSearch(O,I){this.typeSearch=O,this.storage.setLocal("type-search",this.typeSearch),this.broadcast.broadcast("change-type-search",{type:this.t
1ypeSearch,lang:I})}static#e=b=()=>(this.\u0275fac=function(I){return new(I||H)},this.\u0275prov=k.jDH({token:H,factory:H.\u0275fac,providedIn:"root"}))}return b(),H})()},9117(tt,ce,l){l.d(ce,{n:()=>u});var k=l(2615),T=l(4907);let u=(()=>{var A;class s{constructor(){this.platform=(0,k.WQX)(T.f)}setLocal(W,b){this.platform.isBrowser&&("string"==typeof b?localStorage.setItem(W,b):localStorage.setItem(W,JSON.stringify(b)))}getLocal(W){if(!this.platform.isBrowser)return"";const b=localStorage.getItem(W);if(b)try{return JSON.parse(b)}catch{return b}return""}removeLocal(W){this.platform.isBrowser&&localStorage.removeItem(W)}static#e=A=()=>(this.\u0275fac=function(b){return new(b||s)},this.\u0275prov=k.jDH({token:s,factory:s.\u0275fac,providedIn:"root"}))}return A(),s})()},7502(tt,ce,l){l.d(ce,{K:()=>u});var k=l(2615),T=l(4907);let u=(()=>{var A;class s{constructor(){this.platform=(0,k.WQX)(T.f)}scrollToTop(){this.platform.isBrowser&&window.scroll({top:0,left:0,behavior:"smooth"})}scrollModal(){document.getElementsByClassName("modal-dialog")[0].scrollTop=0}static#e=A=()=>(this.\u0275fac=function(b){return new(b||s)},this.\u0275prov=k.jDH({token:s,factory:s.\u0275fac,providedIn:"root"}))}return A(),s})()},2113(tt,ce,l){l.d(ce,{a:()=>V});var k=l(9330),T=l(2615),u=l(9295),A=l(7468),s=l(6354),j=l(4668),W=l(4907),b=l(625),H=l(4129),N=l(446);const O=`${N.NM}api/me/cosmetics`,I=`${N.NM}api/cosmetics`;let V=(()=>{var Y;class ue{constructor(){this.http=(0,T.WQX)(k.Qq),this.platform=(0,T.WQX)(W.f),this.session=(0,T.WQX)(H.c),this.diamonds=(0,T.WQX)(b.q),this._state=(0,T.vPA)("idle"),this.state=this._state.asReadonly(),this._usableIcons=(0,T.vPA)(new Set),this.usableIcons=this._usableIcons.asReadonly(),this._iconPrices=(0,T.vPA)(new Map),this.iconPrices=this._iconPrices.asReadonly(),this._lockedIcons=(0,T.vPA)(new Set),this.lockedIcons=this._lockedIcons.asReadonly(),this._isVip=(0,T.vPA)(!1),this.isVip=this._isVip.asReadonly(),this._iconNames=(0,T.vPA)(new Map),this.iconNames=this._iconNames.asReadonly(),this.ready=(0,u.EW)(()=>"ready"===this._state())}ensureLoaded(){const se=this._state();"loading"===se||"ready"===se||this.refresh()}
1ensureCatalog(){!this.platform.isBrowser||this.catalog$&&this.catalogOwner===this.owner()||this.loadCatalog().subscribe({next:se=>this.setNames(se),error:()=>{}})}owner(){return this.session.isLoggedIn()?this.session.user()?.id:void 0}loadCatalog(){const se=this.owner();if(this.catalog$&&this.catalogOwner===se)return this.catalog$;this.catalogOwner=se;const de=this.http.get(I,{params:{type:"icon"}}).pipe((0,s.T)(me=>me?.items??[]),(0,j.t)(1));return this.catalog$=de,de.subscribe({error:()=>{this.catalog$===de&&(this.catalog$=void 0)}}),de}refresh(){!this.platform.isBrowser||!this.session.isLoggedIn()||(this._state.set("loading"),(0,A.p)({mine:this.http.get(O),catalog:this.loadCatalog()}).subscribe({next:({mine:se,catalog:de})=>{this.setCatalog(de),this._usableIcons.set(new Set((se?.usable?.icon??[]).map(me=>me.code))),this._isVip.set(!!se?.is_vip),"number"==typeof se?.balance&&this.diamonds.apply({earned:0,balance:se.balance}),this._state.set("ready")},error:()=>this._state.set("error")}))}markUsable(se){this._usableIcons.update(de=>new Set([...de,se]))}syncCatalog(se){this.setCatalog(se);const de=se.filter(me=>me.usable).map(me=>me.code);de.length&&this._usableIcons.update(me=>new Set([...me,...de]))}setNames(se){const de=se.filter(me=>me.name);de.length&&this._iconNames.set(new Map(de.map(me=>[me.code,me.name])))}setCatalog(se){this.setNames(se),this._iconPrices.set(new Map(se.map(de=>[de.code,de.price]))),this._lockedIcons.set(new Set(se.filter(de=>de.locked).map(de=>de.code)))}reset(){this.catalog$=void 0,this._state.set("idle"),this._usableIcons.set(new Set),this._iconPrices.set(new Map),this._lockedIcons.set(new Set),this._isVip.set(!1)}static#e=Y=()=>(this.\u0275fac=function(de){return new(de||ue)},this.\u0275prov=T.jDH({token:ue,factory:ue.\u0275fac,providedIn:"root"}))}return Y(),ue})()},625(tt,ce,l){l.d(ce,{M:()=>H,q:()=>W});var k=l(9330),T=l(2615),u=l(4907),A=l(4129);const j=`${l(446).NM}api/me/diamonds`;let W=(()=>{var N;class O{constructor(){this.http=(0,T.WQX)(k.Qq),this.platform=(0,T.WQX)(u.f),this.session=(0,T.WQX)(A.c),this._balance=(0,T.vPA)(0),this.balance=this._balance.asReadonly(),this._earnedToday=(0,T.vPA)(0),this.earnedToday=this._earnedToday.asReadonly(),this._dailyCap=(0,T.vPA)(0),this.dailyCap=this._dailyCap.asReadonly(),this.loaded=!1,this.writes=0}ensureLoaded(){!this.platform.isBrowser||this.loaded||this.session.isLoggedIn()&&(this.loaded=!0,this.refresh())}refresh(){if(!this.platform.isBrowser||!this.session.isLoggedIn())return;const V=this.writes;this.http.get(j).subscribe({next:Y=>{this._earnedToday.set(b(Y?.earned_today)),this._dailyCap.set(b(Y?.daily_cap)),this.writes===V&&this._balance.set(b(Y?.balance))},error:()=>{}})}apply(V){V&&(this.writes+=1,this._balance.set(V.balance))}bump(V){!Number.isFinite(V)||V<=0||this._balance.update(Y=>Y+Math.trunc(V))}reset(){this.loaded=!1,this._balance.set(0),this._earnedToday.set(0),this._dailyCap.set(0)}static#e=N=()=>(this.\u0275fac=function(Y){return new(Y||O)},this.\u0275prov=T.jDH({token:O,factory:O.\u0275fac,providedIn:"root"}))}return N(),O})();function b(N){return"number"==typeof N&&Number.isFinite(N)?Math.max(0,Math.trunc(N)):0}function H(N){if(!N||"object"!=typeof N)return null;const O=N;if("number"!=typeof O.balance||"number"!=typeof O.earned)return null;const I={earned:Math.trunc(O.earned),balance:Math.trunc(O.balance)};return"boolean"==typeof O.capped&&(I.capped=O.capped),I}},6871(tt,ce,l){l.d(ce,{s:()=>W});var k=l(2615),T=l(9295),u=l(4412),A=l(5964),s=l(9117),j=l(5661);let W=(()=>{var b;class H{constructor(){this.storage=(0,k.WQX)(s.n),this._langPack=(0,k.vPA)(""),this.langPack=this._langPack.asReadonly(),this.langWeb=new u.t(""),this.langWeb$=this.langWeb.asObservable().pipe((0,A.p)(O=>""!==O)),this.contentLang=(0,T.EW)(()=>(0,j.Tf)(this._langPack()))}setLangPack(O){this._langPack()!==O&&(this._langPack.set(O),this.setLangWeb(O),this.storage.setLocal("currentLanguage",O))}setLangWeb(O){this.langWeb.next(O)}static#e=b=()=>(this.\u0275fac=function(I){return new(I||H)},this.\u0275prov=k.jDH({token:H,factory:H.\u0275fac,providedIn:"root"}))}return b(),H})()},4129(tt,ce,l){l.d(ce,{c:()=>j});var k=l(2615),T=l(3664),u=l(9295),A=l(1413),s=l(9117);let j=(()=>{var W;class b{constructor(){this.storage=(0,k.WQX)(s.n),this._user=(0,k.vPA)(void 0),this.user=this._user.asReadonly(),this._isLoggedIn=(0,k.vPA)(!1),this.isLoggedIn=this._isLoggedIn.asReadonly(),this.userChanges=new A.B,this.userChanges$=this.userChanges.asObservable(),this._authResolved=(0,k.vPA)(!1),this.authStatus=(0,u.EW)(()=>this._authResolved()?this._isLoggedIn()&&this._user()?"authed":"anon":"unknown");const N=this.storage.getLocal("inforUser");N&&(this._user.set(N),this._isLoggedIn.set(!0)),(0,T.mal)(()=>this._authResolved.set(!0))}setUser(N){N&&(N.premium=this.checkPremium(N),this.storage.setLocal("inforUser",N)),this._user.set(N),this.userChanges.next(N)}setLoginStatus(N){this._isLoggedIn.set(N)}checkPremium(N){if(!N)return!1;if(1===N.is_premium)return!0;
1if(N.premium_expired){const I=(new Date).getTime();return 1e3*parseInt(N.premium_expired)>I}return!1}static#e=W=()=>(this.\u0275fac=function(O){return new(O||b)},this.\u0275prov=k.jDH({token:b,factory:b.\u0275fac,providedIn:"root"}))}return W(),b})()},4190(tt,ce,l){l.d(ce,{P:()=>I});var k=l(9330),T=l(2615),u=l(4412),A=l(7673),s=l(9437),j=l(5964),W=l(6354),b=l(8141),H=l(446),N=l(6871);const O={headers:new k.Lr({"Content-Type":"application/json"})};let I=(()=>{var V;class Y{constructor(){this.langStore=(0,T.WQX)(N.s),this.http=(0,T.WQX)(k.Qq),this.dataLocal={},this.actionRateFeedback=new u.t(void 0),this.rateFeeback$=this.actionRateFeedback.asObservable()}trendingSearch(oe,se){return this.http.post(H.NM+"/api/history/search",{type:oe,language:se},O).pipe((0,b.M)(()=>this.log("fetched list trending")),(0,s.W)(this.handleError("list trending")))}getListReport(oe){const se=H.NM+"api/reports/"+oe+"/top",de=JSON.stringify(se);return this.dataLocal[de]?(0,A.of)(this.dataLocal[de]):this.http.get(se,O).pipe((0,b.M)(()=>this.log("fetched list report")),(0,b.M)(me=>this.dataLocal[de]=me),(0,s.W)(this.handleError("get list report")))}searchAll(oe,se,de,me=1,Ue=50,z=!1,Ie=""){const ae=oe.normalize("NFC"),he=encodeURI(ae.replace("/","__"));return se=se&&"undefined"!=se?se:this.langStore.langPack(),this.http.get(H.NM+"api/search/"+se+"/"+de+"/"+he+"?limit="+Ue+"&page="+me+(z?"&topic="+z:"")+(""!==Ie?"&level="+Ie:""),O).pipe((0,b.M)(()=>this.log("fetched search")),(0,s.W)(this.handleError("get search")))}searchImage(oe){return this.http.get(H.NM+"api/search/image/"+oe,O).pipe((0,s.W)(this.handleError("get search")))}suggestSearch(oe,se,de){return this.http.post(H.j_+"suggest",{dict:se,keyword:oe,limit:de},O)}getFeedback(oe,se,de){return this.http.post(H.NM+"api/reports/lists",{word_id:oe,type:se,language:de},O).pipe((0,b.M)(()=>this.log("fetched list feedback")),(0,s.W)(this.handleError("list feedback")))}rateFeedback(oe,se){return this.http.post(H.NM+"api/reports/rate",{report_id:oe,action:se},O).pipe((0,b.M)(Ue=>this.actionRateFeedback.next(Ue)))}addWord(oe){return this.http.post(H.NM+"api/new_word/add",oe,O)}addFeedback(oe,se,de,me,Ue){return this.http.post(H.NM+"api/reports/add",{word_id:oe,word:se,mean:de,type:me,language:Ue},O).pipe()}editFeedback(oe,se,de){return this.http.post(H.NM+"api/reports/updateOrDelete",{report_id:oe,mean:se,action:de},O).pipe()}getPhonetic(oe){const de={id:"",method:"transcribe",params:[oe,"American"]},me={headers:new k.Lr({"Content-Type":"text/plain;charset=UTF-8"})},Ue=JSON.stringify(de);return this.dataLocal[Ue]?(0,A.of)(this.dataLocal[Ue]):this.http.post("https://www.phonetizer.com/phonetizer/default/call/jsonrpc",de,me).pipe((0,W.T)(z=>{if(!z?.result)return"";const ae=z.result.match('<span class=\\"transcr\\">.*</span>');let he="";if(ae){let Ve=ae[0];Ve=Ve.replace(/(<([^>]+)>)/g,""),Ve=Ve.replace(/\//g,""),he=Ve}return he}),(0,j.p)(z=>""!==z.trim()),(0,b.M)(z=>this.dataLocal[Ue]=z),(0,s.W)(z=>(0,A.of)(z)))}getListNews(oe){return this.http.post("https://api.todaienglish.com/api/news/search",{type:"easy",key:oe,page:1,limit:10},O)}handleError(oe="operation",se){return de=>(console.error(de),this.log(`${oe} failed: ${de?.message}`),(0,A.of)(se))}log(oe){}getRankingPopularity(){return this.http.get(H.NM+"api/history/popularity/ranking?type=word",O)}static#e=V=()=>(this.\u0275fac=function(se){return new(se||Y)},this.\u0275prov=T.jDH({token:Y,factory:Y.\u0275fac,providedIn:"root"}))}return V(),Y})()},9099(tt,ce,l){l.d(ce,{x:()=>de});var k=l(2615),T=l(4907),u=l(9117),A=l(625),s=l(9330),j=l(7673),W=l(6354),b=l(9437),H=l(4129);const O=`${l(446).NM}api/study-logs`;let I=(()=>{var Ue;class z{constructor(){this.http=(0,k.WQX)(s.Qq),this.platform=(0,k.WQX)(T.f),this.session=(0,k.WQX)(H.c)}get enabled(){return this.platform.isBrowser&&this.session.isLoggedIn()}submit(ae,he,Ve){if(!this.enabled||!he.length)return(0,j.of)(null);const Fe=he.map(Be=>{const Ge={source:Ve,item_type:"word",item_key:Be.itemKey,result:Be.result};return Be.durationMs&&Be.durationMs>0&&(Ge.duration_ms=Math.round(Be.durationMs)),Ge});return this.http.post(O,{batch_id:ae,logs:Fe}).pipe((0,W.T)(Be=>function V(Ue){const z=Ue&&Array.isArray(Ue.progress)?Ue.progress:[];return{accepted:"number"==typeof Ue?.accepted?Ue.accepted:0,diamonds:(0,A.M)(Ue?.diamonds),progress:z.map(Ie=>function Y(Ue){if(!Ue||"object"!=typeof Ue)return null;const z=Ue;return"string"!=typeof z.topic?null:{topic:z.topic,group:"string"==typeof z.group?z.group:"",wordTotal:ue(z.word_total),mastered:ue(z.mastered),learning:ue(z.learning)}}(Ie)).filter(Ie=>!!Ie)}}(Be)),(0,b.W)(()=>(0,j.of)(null)))}static#e=Ue=()=>(this.\u0275fac=function(he){return new(he||z)},this.\u0275prov=k.jDH({token:z,factory:z.\u0275fac,providedIn:"root"}))}return Ue(),z})();function ue(Ue){return"number"==typeof Ue&&Number.isFinite(Ue)?Math.trunc(Ue):0}const oe="dunno.study-logs.pending";let de=(()=>{var Ue;class z{constructor(){this.storage=(0,k.WQX)(u.n),this.platform=(0,k.WQX)(T.f),this.repository=(0,k.WQX)(I),this.diamonds=(0,k.WQX)(A.q),this.sending=!1}enqueue(ae,he){if(!this.repository.enabled)return;
1const Ve=this.read()??{batchId:me(),source:ae,entries:[]};if(Ve.source!==ae)return this.flush(),void this.write({batchId:me(),source:ae,entries:[he]});Ve.entries.length>=200&&this.flush();const Fe=this.read()??{batchId:me(),source:ae,entries:[]};Fe.entries.push(he),this.write(Fe)}hasPending(){return!!this.read()?.entries.length}flush(){const ae=this.read();this.sending||!ae?.entries.length||this.repository.enabled&&(this.sending=!0,this.repository.submit(ae.batchId,ae.entries,ae.source).subscribe(he=>{this.sending=!1,he&&(this.clear(),this.diamonds.apply(he.diamonds))}))}replayPending(){this.platform.isBrowser&&this.flush()}read(){if(!this.platform.isBrowser)return null;const ae=this.storage.getLocal(oe);return ae&&"string"==typeof ae.batchId&&Array.isArray(ae.entries)?ae:null}write(ae){try{this.storage.setLocal(oe,ae)}catch{}}clear(){this.storage.removeLocal(oe)}static#e=Ue=()=>(this.\u0275fac=function(he){return new(he||z)},this.\u0275prov=k.jDH({token:z,factory:z.\u0275fac,providedIn:"root"}))}return Ue(),z})();function me(){const Ue=globalThis.crypto;return Ue&&"function"==typeof Ue.randomUUID?Ue.randomUUID():`sl-${Date.now().toString(36)}-${Math.random().toString(36).slice(2,10)}`}},7219(tt,ce,l){l.d(ce,{T:()=>N});var k=l(9330),T=l(2615),u=l(9295),A=l(4907),s=l(6871),j=l(4129);const b=`${l(446).NM}api/me/study-progress`;let N=(()=>{var se;class de{constructor(){this.http=(0,T.WQX)(k.Qq),this.platform=(0,T.WQX)(A.f),this.session=(0,T.WQX)(j.c),this.langStore=(0,T.WQX)(s.s),this._rows=(0,T.vPA)(new Map),this.rows=this._rows.asReadonly(),this._current=(0,T.vPA)(null),this.current=this._current.asReadonly(),this.loaded=!1}get enabled(){return this.platform.isBrowser&&this.session.isLoggedIn()}of(Ue){return(0,u.EW)(()=>this._rows().get(Ue))}ensureLoaded(){!this.enabled||this.loaded||(this.loaded=!0,this.refresh())}refresh(){if(!this.enabled)return;const Ue=encodeURIComponent(this.langStore.contentLang());this.http.get(`${b}?lang=${Ue}&scope=mind-map`).subscribe({next:z=>{const Ie=Array.isArray(z?.result)?z.result:[],ae=new Map;Ie.forEach(he=>{const Ve=function V(se){if(!se||"object"!=typeof se)return null;const de=se;return"string"==typeof de.topic&&de.topic?{topic:de.topic,group:ue(de.group),wordTotal:oe(de.word_total),mastered:oe(de.mastered),learning:oe(de.learning),sessions:oe(de.sessions),answers:oe(de.answers),correct:oe(de.correct),mode:ue(de.mode)||"",resumeKey:ue(de.resume_key),lastSeenAt:oe(de.last_seen_at)}:null}(he);Ve&&ae.set(Ve.topic,Ve)}),this._rows.set(ae),this._current.set(function Y(se){if(!se||"object"!=typeof se)return null;const de=se,me=ue(de.topic);return me?{group:ue(de.group),topic:me,lastSeenAt:oe(de.last_seen_at)}:null}(z?.current))},error:()=>{}})}applyMark(Ue){const{topic:z,from:Ie,to:ae}=Ue;if(!this.enabled||!z||Ie===ae)return;const he=new Map(this._rows()),Ve=he.get(z)??function I(se,de,me){return{topic:se,group:de,wordTotal:Math.max(0,me),mastered:0,learning:0,sessions:0,answers:0,correct:0,mode:"",resumeKey:"",lastSeenAt:0}}(z,Ue.group??"",Ue.wordTotal),Fe={...Ve,mastered:Ve.mastered+O(Ie,ae,"mastered"),learning:Ve.learning+O(Ie,ae,"learning"),lastSeenAt:Math.floor(Date.now()/1e3)};he.set(z,Fe),this._rows.set(he)}resetTopic(Ue){const z=this._rows().get(Ue);if(!z)return;const Ie=new Map(this._rows());Ie.set(Ue,{...z,mastered:0,learning:0}),this._rows.set(Ie)}reset(){this.loaded=!1,this._rows.set(new Map),this._current.set(null)}static#e=se=()=>(this.\u0275fac=function(z){return new(z||de)},this.\u0275prov=T.jDH({token:de,factory:de.\u0275fac,providedIn:"root"}))}return se(),de})();function O(se,de,me){return(de===me?1:0)-(se===me?1:0)}function ue(se){return"string"==typeof se?se:""}function oe(se){return"number"==typeof se&&Number.isFinite(se)?Math.trunc(se):0}},2479(tt,ce,l){l.d(ce,{G:()=>I});var k=l(2615),T=l(9330),u=l(446),A=l(3294),s=l(5964),j=l(6354),W=l(4668),b=l(5558),H=l(252),N=l(6871);const O={headers:new T.Lr({"Content-Type":"application/json"})};let I=(()=>{var V;class Y{constructor(){this.langStore=(0,k.WQX)(N.s),this.http=(0,k.WQX)(T.Qq),this.route=(0,k.WQX)(H.nX),this.dataSaleOff={},this.cacheUrl={},this.getDataSale$=this.route.queryParams.pipe((0,j.T)(oe=>oe.hl),(0,s.p)(oe=>oe),(0,A.F)(),(0,b.n)(oe=>this.http.get(`${u.NM}api/saleoff?lang=${oe}&version=ios`,O).pipe((0,j.T)(se=>{const de=se.sale_package.reduce((me,Ue)=>(parseInt(Ue.percent)>me&&(me=parseInt(Ue.percent)),me),0);return{...se,start_cv:new Date(se.start).getTime(),end_cv:new Date(se.end).getTime(),max_percent:de}}))),(0,W.t)(1),(0,j.T)(oe=>({...oe,time_now:(new Date).getTime()})),(0,s.p)(oe=>oe.end_cv-oe.time_now>0&&oe.start_cv-oe.time_now<=0))}login(oe,se){const de=u.NM+"api/user/login",me={email:oe.trim(),password:se.trim()};return this.http.post(de,me,O).pipe()}loginSocial(oe){return this.http.post(u.NM+"api/user/loginwithsocial",oe,O).pipe()}register(oe,se){const de=u.NM+"api/user/register",me={email:oe.trim(),password:se.trim(),language:this.langStore.langPack()};return this.http.post(de,me,O).pipe()}loginWidthApple(oe,se,de,me,Ue){return this.http.post(u.NM+"api/user/login/apple",{language:oe,email:se,name:de,token:me,apple_user:Ue},O)}logout(){return this.http.get(u.NM+"api/user/logout",O)}updateAvatar(oe){return this.http.post(u.NM+"api/user/edit-image",{image:oe,option:"base64"},O).pipe()}editProfile(oe,se,de){return this.http.post(u.NM+"api/user/edit-profile",{language:oe,name:se,level:de},O).pipe()}changePass(oe){return this.http.post(u.NM+"api/user/change-password",{password:oe},O)}logoutAll(oe=null){return this.http.get(u.NM+"api/user/logout-all"+(null!==oe?`?device=${oe}`:""),O)}initLogin(){return this.http.get(u.NM+"api/user/init-web",O)}report(oe,se,de,me){return this.http.post(u.NM+"api/error/add",{type:oe,content:se,word_id:de,type_lang:me},O)}sendMailReset(oe){return this.http.post(u.NM+"api/user/password-reset",{email:oe},{...O,responseType:"text"})}changePassReset(oe,se){return this.http.post(u.NM+"api/user/password/reset",{token:oe,password:se},{...O,responseType:"text"})}static#e=V=()=>(this.\u0275fac=function(se){return new(se||Y)},this.\u0275prov=k.jDH({token:Y,factory:Y.\u0275fac,providedIn:"root"}))}return V(),Y})()},9842(tt,ce,l){l.d(ce,{T:()=>Y});var k=l(9330),T=l(2615),u=l(9295),A=l(4907),s=l(9117),j=l(625),W=l(4129),b=l(7219);const N=`${l(446).NM}api/me/word-marks`,O="dunno.word-marks.pending",V="mind-map";let Y=(()=>{var oe;class se{constructor(){this.http=(0,T.WQX)(k.Qq),this.platform=(0,T.WQX)(A.f),this.storage=(0,T.WQX)(s.n),this.session=(0,T.WQX)(W.c),this.diamonds=(0,T.WQX)(j.q),this.progress=(0,T.WQX)(b.T),this.state=(0,T.vPA)(new Map),this.loadedTopics=new Set,this.sending=!1,this.marks=this.state.asReadonly()}get enabled(){return this.platform.isBrowser&&this.session.isLoggedIn()}statusOf(me){return(0,u.EW)(()=>this.state().get(me))}ensureLoaded(me){!me||!this.enabled||this.loadedTopics.has(me)||(this.loadedTopics.add(me),this.http.get(`${N}?topic=${encodeURIComponent(me)}&scope=${V}`).subscribe({next:Ue=>
1this.merge(ue(Ue?.mastered_ids),ue(Ue?.learning_ids)),error:()=>this.loadedTopics.delete(me)}))}mark(me,Ue){if(!me||!this.enabled)return;const z=new Map(this.state());z.set(me,Ue),this.state.set(z);const Ie=this.readPending();Ie.marks[me]=Ue,this.writePending(Ie),Object.keys(Ie.marks).length>=200&&this.flush()}flush(){const me=this.readPending(),Ue=Object.entries(me.marks);if(this.sending||!Ue.length||!this.enabled)return;this.sending=!0;const z=Ue.map(([Ie,ae])=>({id:Ie,status:ae}));this.http.post(N,{scope:V,marks:z}).subscribe({next:Ie=>{this.sending=!1,this.clearPending(),this.forget(ue(Ie?.skipped)),this.diamonds.apply((0,j.M)(Ie?.diamonds)),this.progress.refresh()},error:()=>{this.sending=!1}})}replayPending(){if(this.platform.isBrowser){if(this.enabled){const me=this.readPending(),Ue=Object.entries(me.marks);if(Ue.length){const z=new Map(this.state());Ue.forEach(([Ie,ae])=>z.set(Ie,ae)),this.state.set(z)}}this.flush()}}resetTopic(me){!me||!this.enabled||(this.forgetTopic(me),this.http.delete(N,{body:{topic:me,scope:V}}).subscribe({next:()=>this.progress.refresh(),error:()=>{this.loadedTopics.delete(me),this.ensureLoaded(me)}}))}forgetTopic(me){const Ue=he=>he===me||he.startsWith(`${me}/`),z=new Map(this.state());[...z.keys()].filter(Ue).forEach(he=>z.delete(he)),this.state.set(z);const Ie=this.readPending(),ae=Object.fromEntries(Object.entries(Ie.marks).filter(([he])=>!Ue(he)));Object.keys(ae).length?this.writePending({marks:ae}):this.clearPending()}reset(){this.loadedTopics.clear(),this.state.set(new Map)}merge(me,Ue){const z=new Map(this.state());me.forEach(Ie=>z.set(Ie,"mastered")),Ue.forEach(Ie=>z.set(Ie,"learning")),this.state.set(z)}forget(me){if(!me.length)return;const Ue=new Map(this.state());me.forEach(z=>Ue.delete(z)),this.state.set(Ue)}readPending(){if(!this.platform.isBrowser)return{marks:{}};const me=this.storage.getLocal(O);return me&&me.marks&&"object"==typeof me.marks?{marks:{...me.marks}}:{marks:{}}}writePending(me){try{this.storage.setLocal(O,me)}catch{}}clearPending(){this.storage.removeLocal(O)}static#e=oe=()=>(this.\u0275fac=function(Ue){return new(Ue||se)},this.\u0275prov=T.jDH({token:se,factory:se.\u0275fac,providedIn:"root"}))}return oe(),se})();function ue(oe){return Array.isArray(oe)?oe.filter(se=>"string"==typeof se):[]}},7503(tt,ce,l){l.d(ce,{B:()=>b});var k=l(2615),T=l(7673),u=l(8141),A=l(9330),s=l(446);const j={headers:new A.Lr({"Content-Type":"application/json"})};let W=(()=>{var H;class N{constructor(){this.http=(0,k.WQX)(A.Qq)}
1getListCategory(I){return this.http.get(s.NM+"api/community/categories?lang="+I,j).pipe()}getPostCategory(I,V,Y){return this.http.get(s.NM+"api/community/categories/"+I+"/posts?lang="+V+"&page="+Y,j).pipe()}getDetailCategory(I,V){return this.http.get(s.NM+"api/community/categories/"+I+"?lang="+V,j).pipe()}createPost(I,V){return this.http.post(s.NM+"api/community/posts",{category:I.category,title:I.title,body:I.body,language:V},j).pipe()}editPost(I,V,Y){return this.http.put(s.NM+"api/community/posts/"+I,{category:V.category,title:V.title,body:V.body,language:Y},j).pipe()}searchPost(I,V){return this.http.get(s.NM+"api/community/posts/search?search="+I+"&&lang="+V,j).pipe()}getDetailPost(I,V){return this.http.get(s.NM+"api/community/posts/"+I+"/detail?lang="+V,j).pipe()}getCommentPost(I,V,Y){return this.http.get(s.NM+"api/community/posts/"+I+"/comments?limit="+Y+"&&lang="+V,j).pipe()}createComment(I,V,Y,ue){let oe;return oe=Y?{post:I,body:V,comment:Y}:{post:I,body:V},this.http.post(s.NM+"api/community/comments?lang="+ue,oe,j).pipe()}editComment(I,V){return this.http.put(s.NM+"api/community/comments/"+I,{id:I,body:V},j).pipe()}deleteComment(I){return this.http.delete(s.NM+"api/community/comments/"+I,j).pipe()}deletePost(I,V){return this.http.delete(s.NM+"api/community/posts/"+I+"?lang="+V,j).pipe()}voteComment(I,V){return this.http.get(s.NM+"api/community/comments/"+I+"/vote?lang="+V,j).pipe()}getListRanking(I){return this.http.get(s.NM+"api/community/ranks?lang="+I,j).pipe()}followPost(I,V){return this.http.get(s.NM+"api/community/posts/"+I+"/follow?lang="+V,j).pipe()}votePost(I,V){return this.http.get(s.NM+"api/community/posts/"+I+"/vote?lang="+V,j).pipe()}getPostFavourite(I,V){return this.http.get(s.NM+"api/community/posts/favorites?lang="+I+"&page="+V,j).pipe()}getPostFollow(I,V){return this.http.get(s.NM+"api/community/posts/most-follows?lang="+I+"&page="+V,j).pipe()}getChoicePost(I,V){return this.http.get(s.NM+"api/community/posts/choice?lang="+I+"&page="+V,j).pipe()}getInteractPost(I,V){return this.http.get(s.NM+"api/community/posts/interact?lang="+I+"&page="+V,j).pipe()}getPostUser(I,V,Y){return this.http.get(s.NM+"api/community/posts/by-user?lang="+V+"&user="+I+"&page="+Y,j).pipe()}getPostNew(I,V){return this.http.get(s.NM+"api/community/posts?lang="+I+"&page="+V,j).pipe()}getPostNoAnswer(I,V){return this.http.get(s.NM+"api/community/posts/no-answers?lang="+I+"&limit="+V,j).pipe()}reportPost(I,V,Y){return this.http.post(s.NM+"api/community/posts/"+I+"/report?lang="+Y,{slug:I,reason:V,lang:Y},j).pipe()}reportComment(I,V,Y){return this.http.post(s.NM+"api/community/comments/"+I+"/report?lang="+Y,{id:I,reason:V,lang:Y},j).pipe()}static#e=H=()=>(this.\u0275fac=function(V){return new(V||N)},this.\u0275prov=k.jDH({token:N,factory:N.\u0275fac,providedIn:"root"}))}return H(),N})(),b=(()=>{var H;class N{constructor(){this.repo=(0,k.WQX)(W)}getListCategory(I){return this.categoryCache?.lang===I?(0,T.of)(this.categoryCache.data):this.repo.getListCategory(I).pipe((0,u.M)(V=>this.categoryCache={lang:I,data:V}))}getListRanking(I){return this.rankingCache?.lang===I?(0,T.of)(this.rankingCache.data):this.repo.getListRanking(I).pipe((0,u.M)(V=>this.rankingCache={lang:I,data:V}))}getPostNoAnswer(I,V){return this.noAnswerCache?.lang===I&&this.noAnswerCache.limit===V?(0,T.of)(this.noAnswerCache.data):this.repo.getPostNoAnswer(I,V).pipe((0,u.M)(Y=>this.noAnswerCache={lang:I,limit:V,data:Y}))}createPost(I,V){return this.repo.createPost(I,V).pipe((0,u.M)(()=>this.noAnswerCache=void 0))}getPostCategory(I,V,Y){return this.repo.getPostCategory(I,V,Y)}getDetailCategory(I,V){return this.repo.getDetailCategory(I,V)}editPost(I,V,Y){return this.repo.editPost(I,V,Y)}searchPost(I,V){return this.repo.searchPost(I,V)}getDetailPost(I,V){return this.repo.getDetailPost(I,V)}getCommentPost(I,V,Y){return this.repo.getCommentPost(I,V,Y)}createComment(I,V,Y,ue){return this.repo.createComment(I,V,Y,ue)}editComment(I,V){return this.repo.editComment(I,V)}deleteComment(I){return this.repo.deleteComment(I)}deletePost(I,V){return this.repo.deletePost(I,V)}voteComment(I,V){return this.repo.voteComment(I,V)}followPost(I,V){return this.repo.followPost(I,V)}votePost(I,V){return this.repo.votePost(I,V)}getPostFavourite(I,V){return this.repo.getPostFavourite(I,V)}getPostFollow(I,V){return this.repo.getPostFollow(I,V)}getChoicePost(I,V){return this.repo.getChoicePost(I,V)}getInteractPost(I,V){return this.repo.getInteractPost(I,V)}getPostUser(I,V,Y){return this.repo.getPostUser(I,V,Y)}getPostNew(I,V){return this.repo.getPostNew(I,V)}reportPost(I,V,Y){return this.repo.reportPost(I,V,Y)}reportComment(I,V,Y){return this.repo.reportComment(I,V,Y)}static#e=H=()=>(this.\u0275fac=function(V){return new(V||N)},this.\u0275prov=k.jDH({token:N,factory:N.\u0275fac,providedIn:"root"}))}return H(),N})()},7297(tt,ce,l){l.d(ce,{E:()=>j});var k=l(2615),T=l(9330),u=l(446);const A={headers:new T.Lr({"Content-Type":"application/json"})};let s=(()=>{var W;class b{constructor(){this.http=(0,k.WQX)(T.Qq)}
1getlistTest(N="toeic"){return this.http.get(u.NM+"api/test/get-list-test?type="+N,A).pipe()}getDetailTest(N){return this.http.get(u.NM+"api/test/get-test/"+N,A).pipe()}saveHistory(N,O,I,V){return this.http.post(u.NM+"api/test/history",{exam_id:N,score:O,part_listen:I,part_read:V},A).pipe()}getHistory(N){return this.http.get(u.NM+"api/test/history/"+N,A).pipe()}static#e=W=()=>(this.\u0275fac=function(O){return new(O||b)},this.\u0275prov=k.jDH({token:b,factory:b.\u0275fac,providedIn:"root"}))}return W(),b})(),j=(()=>{var W;class b{constructor(){this.repo=(0,k.WQX)(s)}getlistTest(N="toeic"){return this.repo.getlistTest(N)}getDetailTest(N){return this.repo.getDetailTest(N)}saveHistory(N,O,I,V){return this.repo.saveHistory(N,O,I,V)}getHistory(N){return this.repo.getHistory(N)}convertExplain(N,O=!1){let I;try{I=JSON.parse(N)}catch{}const V=JSON.parse(JSON.stringify(I));return V.vn&&(V.vn=V.vn.replace(O?/#+|"/g:/#+/g,"")),V.en&&(V.en=V.en.replace(O?/#+|"/g:/#+/g,"")),V}round(N){return Math.round(10*N)/10}static#e=W=()=>(this.\u0275fac=function(O){return new(O||b)},this.\u0275prov=k.jDH({token:b,factory:b.\u0275fac,providedIn:"root"}))}return W(),b})()},9145(tt,ce,l){l.d(ce,{H:()=>k});const k={autoPlay:!1,darkMode:!1,font:"normal",typeSearch:"",syllableDivision:!0}},8198(tt,ce,l){l.d(ce,{y:()=>s});var k=l(1413),T=l(5964),u=l(6354),A=l(2615);let s=(()=>{var j;class W{constructor(){this.eventBus=new k.B}broadcast(H,N){this.eventBus.next({key:H,data:N})}on(H){return this.eventBus.asObservable().pipe((0,T.p)(N=>N.key===H),(0,u.T)(N=>N.data))}static#e=j=()=>(this.\u0275fac=function(N){return new(N||W)},this.\u0275prov=A.jDH({token:W,factory:W.\u0275fac,providedIn:"root"}))}return j(),W})()},8287(tt,ce,l){l.d(ce,{f:()=>j});var k=l(2615),T=l(4412),u=l(4907),A=l(1910);const s=new k.nKC("FIREBASE_LOG_EVENT",{providedIn:"root",factory:()=>(W,b,H)=>void 0===H?(0,A.$s)(W,b):(0,A.$s)(W,b,H)});let j=(()=>{var W;class b{constructor(){this.platform=(0,k.WQX)(u.f),this.analytics=(0,k.WQX)(A.j0,{optional:!0}),this.send=(0,k.WQX)(s),this.currentMessage=new T.t(null)}logEvents(N){this.platform.isBrowser&&this.analytics&&this.send(this.analytics,N)}logEventWithParams(N,O){this.platform.isBrowser&&this.analytics&&this.send(this.analytics,N,O)}static#e=W=()=>(this.\u0275fac=function(O){return new(O||b)},this.\u0275prov=k.jDH({token:b,factory:b.\u0275fac,providedIn:"root"}))}return W(),b})()},7038(tt,ce,l){l.d(ce,{U:()=>W});var k=l(4412),T=l(7673),u=l(274),A=l(980),s=l(8141),j=l(2615);let W=(()=>{var b;class H{constructor(){this.loadingSubject=new k.t(!1),this.loading$=this.loadingSubject.asObservable()}showLoaderUntilCompleted(O){return(0,T.of)(null).pipe((0,s.M)(()=>this.loadingOn()),(0,u.H)(()=>O),(0,A.j)(()=>this.loadingOff()))}loadingOn(){this.loadingSubject.next(!0)}loadingOff(){this.loadingSubject.next(!1)}static#e=b=()=>(this.\u0275fac=function(I){return new(I||H)},this.\u0275prov=j.jDH({token:H,factory:H.\u0275fac}))}return b(),H})()},9318(tt,ce,l){l.d(ce,{o:()=>H});var k=l(2615),T=l(252),u=l(5964),A=l(9974),s=l(4360),W=l(6354),b=l(9079);let H=(()=>{var N;class O{constructor(){this.router=(0,k.WQX)(T.Ix),this._prevUrl=(0,b.ot)(this.router.events.pipe((0,u.p)(V=>V instanceof T.wF),function j(){return(0,A.N)((N,O)=>{let I,V=!1;N.subscribe((0,s._)(O,Y=>{const ue=I;I=Y,V&&O.next([ue,Y]),V=!0}))})}(),(0,W.T)(V=>V[0].url)),{initialValue:""}),this.prevUrl$=(0,b.br)(this._prevUrl)}get prevUrl(){return this._prevUrl()}static#e=N=()=>(this.\u0275fac=function(Y){return new(Y||O)},this.\u0275prov=k.jDH({token:O,factory:O.\u0275fac,providedIn:"root"}))}return N(),O})()},1402(tt,ce,l){l.d(ce,{B:()=>se});var k=l(2615),T=l(345),u=l(252),A=l(446),s=l(6871),j=l(8018);const W={SEARCH_PAGE:{title:{vi:"T\u1eeb \u0111i\u1ec3n Anh Vi\u1ec7t Dunno - D\u1ecbch ti\u1ebfng Anh chu\u1ea9n mi\u1ec5n ph\xed",en:"English Dictionary Dunno - English Translation and more"},key:{vi:"t\u1eeb \u0111i\u1ec3n anh vi\u1ec7t, luy\u1ec7n ph\xe1t \xe2m, ki\u1ec3m tra l\u1ed7i ng\u1eef ph\xe1p, \xf4n t\u1eadp ti\u1ebfng anh, h\u1ecdc ti\u1ebfng anh, ng\u1eef ph\xe1p ti\u1ebfng anh, ti\u1ebfng anh, t\u1eeb \u0111i\u1ec3n vi\u1ec7t anh, t\u1eeb \u0111i\u1ec3n anh vi\u1ec7t c\xf3 phi\xean \xe2m, ng\u1eef ph\xe1p ti\u1ebfng anh c\u01a1 b\u1ea3n, c\xe1ch h\u1ecdc ti\u1ebfng anh hi\u1ec7u qu\u1ea3, c\xe1ch \u0111\u1ecdc ti\u1ebfng anh, luy\u1ec7n \u0111\u1ecdc ti\u1ebfng anh, d\u1ecbch ti\u1ebfng anh, dunno, google d\u1ecbch, google d\u1ecbch ti\u1ebfng anh, google d\u1ecbch v\xe0 \u0111\u1ecdc, t\u1eeb \u0111i\u1ec3n ti\u1ebfng anh, d\u1ecbch t\u1eeb ti\u1ebfng anh, t\u1eeb \u0111i\u1ec3n anh vi\u1ec7t dunno, g d\u1ecbch dunno, t\u1eeb \u0111i\u1ec3n ti\u1ebfng anh, t\u1eeb \u0111i\u1ec3n anh anh, tra t\u1eeb ti\u1ebfng anh, tra c\u1ee9u ti\u1ebfng anh",en:"translate english, english dictionay, dunno dict, translator online, translate google english, translate google english, online dictionary, learn english, lookup words"},des:{vi:"T\u1eeb \u0111i\u1ec3n Anh Vi\u1ec7t, tra c\u1ee9u Anh Vi\u1ec7t ngo\u1ea1i tuy\u1ebfn, luy\u1ec7n ph\xe1t \xe2m, ki\u1ec3m tra l\u1ed7i ng\u1eef ph\xe1p v\xe0 \xf4n luy\u1ec7n t
1i\u1ebfng Anh. T\u1ea3i v\u1ec1 v\xe0 s\u1eed d\u1ee5ng t\u1eeb \u0111i\u1ec3n Anh Vi\u1ec7t Dunno tr\xean Chplay ho\u1eb7c Appstore.",en:"Audio pronunciations: British English and American English. All in one offline English dictionary: lookup words, grammar and learn English better!"}},TRANSLATE_PAGE:{title:{vi:"Dunno - D\u1ecbch ti\u1ebfng Anh sang ti\u1ebfng Vi\u1ec7t chu\u1ea9n",en:"Dunno: Translate English online free and more"},key:{vi:"d\u1ecbch ti\u1ebfng anh, d\u1ecbch sang ti\u1ebfng anh, t\u1eeb \u0111i\u1ec3n ti\u1ebfng anh, d\u1ecbch t\u1eeb ti\u1ebfng anh, t\u1eeb \u0111i\u1ec3n anh vi\u1ec7t, t\u1eeb \u0111i\u1ec3n anh vi\u1ec7t dunno, h\u1ecdc ti\u1ebfng anh, g d\u1ecbch dunno, d\u1ecbch sang ti\u1ebfng anh, d\u1ecbch vi\u1ec7t sang anh, d\u1ecbch anh anh, d\u1ecbch ti\u1ebfng anh website, d\u1ecbch sang ti\u1ebfng vi\u1ec7t, d\u1ecbch ti\u1ebfng anh ra ti\u1ebfng vi\u1ec7t, d\u1ecbch ti\u1ebfng anh chuy\xean ng\xe0nh, d\u1ecbch ti\u1ebfng anh chu\u1ea9n, d\u1ecbch ti\u1ebfng anh b\u1eb1ng h\xecnh \u1ea3nh, d\u1ecbch sang ti\u1ebfng anh chu\u1ea9n, d\u1ecbch, c\xe1c b\u1ea3n d\u1ecbch, b\u1ea3n d\u1ecbch, c\xf4ng c\u1ee5 d\u1ecbch, d\u1ecbch m\xe1y, b\u1ea3n d\u1ecbch tr\u1ef1c tuy\u1ebfn",en:"translate english, english dictionay, dunno dict, translator online, translate google english, translate google english, learn english, translate into english, english into korean, "},des:{vi:"D\u1ecbch ti\u1ebfng Anh sang ti\u1ebfng Vi\u1ec7t chu\u1ea9n, nhanh. D\u1ecbch ti\u1ebfng Anh c\xf3 ki\u1ec3m tra l\u1ed7i ng\u1eef ph\xe1p. T\u1eeb \u0111i\u1ec3n Anh Vi\u1ec7t c\xf3 phi\xean \xe2m, tra c\u1ee9u Anh Vi\u1ec7t online mi\u1ec5n ph\xed",en:"Translate English into 89 other languages accurately: translate English Spanish, translate English Japanese, translate english into korean..."}},NOTEBOOK_PAGE:{title:{vi:"Dunno - H\u1ecdc t\u1eeb v\u1ef1ng ti\u1ebfng Anh theo ch\u1ee7 \u0111\u1ec1 hi\u1ec7u qu\u1ea3",en:"Dunno Dict: Learn vocabulary effectively"},key:{vi:"t\u1eeb v\u1ef1ng ti\u1ebfng anh, t\u1eeb \u0111i\u1ec3n anh vi\u1ec7t, t\u1eeb \u0111i\u1ec3n vi\u1ec7t anh, h\u1ecdc t\u1eeb v\u1ef1ng ti\u1ebfng anh, t\u1eeb \u0111i\u1ec3n anh vi\u1ec7t dunno, h\u1ecdc ti\u1ebfng anh, t\u1eeb v\u1ef1ng ti\u1ebfng anh theo ch\u1ee7 \u0111\u1ec1, 1000 t\u1eeb ti\u1ebfng anh th\xf4ng d\u1ee5ng, flashcard, quiz t\u1eeb v\u1ef1ng ti\u1ebfng anh, t\u1eeb v\u1ef1ng chuy\xean ng\xe0nh, t\u1eeb v\u1ef1ng ti\u1ebfng anh c\u01a1 b\u1ea3n, 3000 t\u1eeb v\u1ef1ng ti\u1ebfng anh theo ch\u1ee7 \u0111\u1ec1, 3000 t\u1eeb v\u1ef1ng ti\u1ebfng anh th\xf4ng d\u1ee5ng, h\u1ecdc t\u1eeb v\u1ef1ng ti\u1ebfng anh hi\u1ec7u qu\u1ea3, t\u1eeb v\u1ef1ng ti\u1ebfng anh, t\u1eeb v\u1ef1ng ti\u1ebfng anh theo l\u1edbp, t\u1eeb v\u1ef1ng toeic, t\u1eeb v\u1ef1ng ielts, t\u1eeb v\u1ef1ng sat, t\u1eeb v\u1ef1ng chuy\xean ng\xe0nh kinh t\u1ebf, t\u1eeb v\u1ef1ng chuy\xean ng\xe0nh th\u01b0\u01a1ng m\u1ea1i, t\u1eeb v\u1ef1ng chuy\xean ng\xe0nh k\u1ebf to\xe1n, th\xe0nh ng\u1eef th\xf4ng d\u1ee5ng, c\xe1ch h\u1ecdc t\u1eeb v\u1ef1ng",en:"english vocabulary, english vocabulary words, translate english, english dictionay, dunno dict, translator online, translate google english, translate google english, flashcard, learn english"},des:{vi:"H\u1ec7 th\u1ed1ng s\u1ed1 tay h\u1ecdc t\u1eeb v\u1ef1ng ti\u1ebfng anh \u0111\u1ea7y \u0111\u1ee7 v\xe0 chi ti\u1ebft: t\u1eeb v\u1ef1ng ti\u1ebfng anh theo ch\u1ee7 \u0111\u1ec1, t\u1eeb v\u1ef1ng TOEIC, t\u1eeb v\u1ef1ng IELTS...",en:"English dictionary by major, by word level in TOEIC, IELTS, SAT...Download Dunno English Dictionary on IOS/Android"}},NOTEBOOK_DECKS_PAGE:{title:{vi:"Dunno - B\u1ed9 \u0111\u1ec1 t\u1eeb v\u1ef1ng ti\u1ebfng Anh theo ch\u1ee7 \u0111\u1ec1",en:"Dunno Dict: English vocabulary decks by topic"},key:{vi:"b\u1ed9 \u0111\u1ec1 t\u1eeb v\u1ef1ng, flashcard ti\u1ebfng anh, t\u1eeb v\u1ef1ng ti\u1ebfng anh theo ch\u1ee7 \u0111\u1ec1, t\u1eeb v\u1ef1ng toeic, t\u1eeb v\u1ef1ng toefl, t\u1eeb v\u1ef1ng ielts, t\u1eeb v\u1ef1ng sat, t\u1eeb v\u1ef1ng theo l\u1edbp, t\u1eeb v\u1ef1ng chuy\xean ng\xe0nh, h\u1ecdc t\u1eeb v\u1ef1ng b\u1eb1ng flashcard, b\u1ed9 th\u1ebb t\u1eeb v\u1ef1ng, luy\u1ec7n t\u1eeb v\u1ef1ng ti\u1ebfng anh",en:"vocabulary decks, english flashcards, toeic vocabulary, toefl vocabulary, ielts vocabulary, sat vocabulary, vocabulary by topic, learn english vocabulary"},des:{vi:"Danh m\u1ee5c b\u1ed9 \u0111\u1ec1 t\u1eeb v\u1ef1ng ti\u1ebfng Anh: n\u1ec1n t\u1ea3ng, luy\u1ec7n thi TOEIC/TOEFL/IELTS/SAT, t\u1eeb v\u1ef1ng theo l\u1edbp v\xe0 chuy\xean ng\xe0nh. H\u1ecdc b\u1eb1ng flashcard, ki\u1ec3m tra v\xe0 \xf4n t\u1eadp tr\xean Dunno.",en:"Browse English vocabulary decks: foundation, TOEIC/TOEFL/IELTS/SAT exam prep, school and professional word lists. Learn with flashcards, quizzes and reviews on Dunno."}},COMMUNITY_PAGE:{title:{vi:"Dunno - C\u1ed9ng \u0111\u1ed3ng h\u1ecfi \u0111\xe1p ti\u1ebfng Anh mi\u1ec5n ph\xed",en:"Dunno Community: Learn English together"},key:{vi:"d\u1ecbch ti\u1ebfng anh, d\u1ecbch sang ti\u1ebfng anh, t\u1eeb \u0111i\u1ec3n ti\u1ebfng anh, d\u1ecbch t\u1eeb ti\u1ebfng anh, t\u1eeb \u0111i\u1ec3n anh vi\u1ec7t, t\u1eeb \u0111i\u1ec3n anh vi\u1ec7t dunno, h\u1ecdc ti\u1ebfng anh, h\u1ecfi \u0111\xe1p ti\u1ebfng anh, t\u1ef1 h\u1ecdc ti\u1ebfng anh, t\u1ef1 h\u1ecdc ti\u1ebfng anh \u1edf nh\xe0, c\xe1ch h\u1ecdc ti\u1ebfng anh, c\u1ed9ng \u0111\u1ed3ng h\u1ecdc ti\u1ebfng anh, h\u1ecfi \u0111\xe1p ti\u1ebfng anh online, h\u1ecfi \u0111\xe1p 247, t\u1ef1 h\u1ecdc ti\u1ebfng anh hi\u1ec7u qu\u1ea3, t\u1ef1 h\u1ecdc ti\u1ebfng anh mi\u1ec5n ph\xed, web t\u1ef1 h\u1ecdc ti\u1ebfng anh t\u1ea1i nh\xe0, h\u1ecdc ti\u1ebfng anh cho ng\u01b0\u1eddi m\u1edbi b\u1eaft \u0111\u1ea7u",en:"translate english, english dictionay, dunno dict, translator online, translate google english, translate google english, learn english, learn english "},des:{vi:"C\u1ed9ng \u0111\u1ed3ng h\u1ecfi \u0111\xe1p ti\u1ebfng Anh mi\u1ec5n ph\xed, trao \u0111\u1ed5i h\u1ecdc ti\u1ebfng anh v\u1edbi h\xe0ng ngh\xecn ng\u01b0\u1eddi d\xf9ng gi\xfap vi\u1ec7c t\u1ef1 h\u1ecdc ti\u1ebfng anh \u0111\u01a1n gi\u1ea3n v\xe0 th\xfa v\u1ecb h\u01a1n.",en:"Free English learning community, learners can exchange with thousands of users"}},TEST_PAGE:{title:{vi:"Dunno - Thi th\u1eed TOEIC, thi th\u1eed ti\u1ebfng Anh THPT c\xf3 \u0111\xe1p \xe1n chi ti\u1ebft",en:"Dunno Dict - Practice TOEIC test online with detailed explanations"},key:{vi:"thi th\u1eed toeic, thi th\u1eed toeic reading online, thi th\u1eed toeic format m\u1edbi, thi th\u1eed toeic online c\xf3 ch\u1ea5m \u0111i\u1ec3m mi\u1ec5n ph\xed, t\u1eeb \u0111i\u1ec3n ti\u1ebfng anh, d\u1ecbch t\u1eeb ti\u1ebfng anh, t\u1eeb \u0111i\u1ec3n anh vi\u1ec7t, t\u1eeb \u0111i\u1ec3n anh vi\u1ec7t dunno, h\u1ecdc ti\u1ebfng anh, thi th\u1eed ti\u1ebfng anh online, \u0111\u1ec1 thi ti\u1ebfng anh thpt qu\u1ed1c gia, thi th\u1eed ti\u1ebfng anh thpt, \u0111\u1ec1 ki\u1ec3m tra h\u1ecdc k\xec ti\u1ebfng anh, thi th\u1eed online, thi th\u1eed thpt, thi th\u1eed ti\u1ebfng anh, b\xe0i ki\u1ec3m tra ti\u1ebfng anh, b\xe0i ki\u1ec3m tra tr\xecnh \u0111\u1ed9 ti\u1ebfng anh, b\xe0i ki\u1ec3m tra nghe ti\u1ebfng anh, tr\xecnh \u0111\u1ed9 ti\u1ebfng anh, c\u1ea5p \u0111\u1ed9 b\xe0i ki\u1ec3m tra ti\u1ebfng anh, b\xe0i ki\u1ec3m tra toeic mi\u1ec5n ph\xed, b\xe0i ki\u1ec3m tra n\xf3i ti\u1ebfng anh, ki\u1ec3m tra c\u1ea5p \u0111\u1ed9 ti\u1ebfng anh, c\xe1c b\xe0i ki\u1ec3m tra ti\u1ebfng anh, b\xe0i ki\u1ec3m tra esol, b\xe0i ki\u1ec3m tra ti\u1ebfng anh t\u1ed5ng qu\xe1t, ki\u1ec3m tra ti\u1ebfng Anh, mi\u1ec5n ph\xed, ki\u1ec3m tra, ti\u1ebfng Anh, \u0111\xe1p \xe1n, tr\u1ef1c tuy\u1ebfn, tr\xecnh \u0111\u1ed9, ng\xf4n ng\u1eef ",en:"toeic test, translate english, english dictionay, dunno dict, translator online, translate google english, translate google english, learn english"},des:{vi:"Thi th\u1eed online format m\u1edbi nh\u1ea5t, c\xf3 ch\u1ea5m \u0111i\u1ec3m. Thi th\u1eed TOEIC. Thi th\u1eed ti\u1ebfng Anh THPT Qu\u1ed1c gia, luy\u1ec7n \u0111\u1ec1 thi h\u1ecdc k\u1ef3 ti\u1ebfng anh...",en:"Take a TOEIC Test with answers and detailed explanations."}}};var b=l(5661),H=l(7432);const N=[/^\/login(\/|$)/,/^\/user(\/|$)/,/^\/notebook\/flashcard(\/|$)/,/^\/test\/[^/]+\/detail(\/|$)/,/^\/test\/[^/]+\/history(\/|$)/],I={example:"rs_search_example",english:"rs_search_english",image:"rs_search_image",grammar:"rs_search_grammar"},Y={example:"intro.example.txt_title",grammar:"intro.grammar.txt_title",image:I.image,english:I.english};let se=(()=>{var de;class me{constructor(){this.langStore=(0,k.WQX)(s.s),this.seoMeta=(0,k.WQX)(T.W8),this.seoTitle=(0,k.WQX)(T.hE),this.doc=(0,k.WQX)(k.qQL),this.router=(0,k.WQX)(u.Ix),this.translate=(0,k.WQX)(j.c$),this.thinContentPath=null}currentPath(){return this.router.url.split("?")[0].split("#")[0]}applyUrlTags(z){const Ie=this.currentPath(),ae=Fe=>`${A.Yh}${Ie}?hl=${Fe}`,he=ae(z);this.doc.head.querySelectorAll("link[data-seo]").forEach(Fe=>Fe.remove());const Ve=(Fe,Be,Ge)=>{const it=this.doc.createElement("link");it.setAttribute("rel",Fe),it.setAttribute("href",Be),Ge&&it.setAttribute("hreflang",Ge),it.setAttribute("data-seo",""),this.doc.head.appendChild(it)};
1return Ve("canonical",he),A.mc.forEach(Fe=>Ve("alternate",ae(Fe),Fe)),Ve("alternate",ae("vi"),"x-default"),this.doc.documentElement.lang=z,he}seoText(z,Ie,ae){const he=W[z]?.[Ie];return he?.[ae]??he?.[b.xN]??""}applyMeta(z){this.seoTitle.setTitle(z.title),this.seoMeta.updateTag({name:"description",content:z.description}),this.seoMeta.updateTag({property:"og:title",content:z.title}),this.seoMeta.updateTag({property:"og:site_name",content:z.title}),this.seoMeta.updateTag({property:"og:description",content:z.description}),this.seoMeta.updateTag({property:"og:url",content:z.url}),void 0!==z.keywords&&this.seoMeta.updateTag({name:"keywords",content:z.keywords});const Ie=this.currentPath();z.thin?this.thinContentPath=Ie:this.thinContentPath===Ie&&(this.thinContentPath=null),this.applyRobots()}applyRobots(){const z=this.currentPath();this.thinContentPath===z||N.some(ae=>ae.test(z))?this.seoMeta.updateTag({name:"robots",content:"noindex,follow"}):this.seoMeta.removeTag("name='robots'")}applySEO(z){const Ie=this.langStore.langPack()||b.xN,ae=this.applyUrlTags(Ie);this.applyMeta({title:this.seoText(z,"title",Ie),description:this.seoText(z,"des",Ie),keywords:this.seoText(z,"key",Ie),url:ae})}applySEOWord(z){if(!z)return;const Ie=z.word,ae=(0,H.mY)(Ie)?"vien":"envi",he=this.applyUrlTags(this.langStore.langPack()||b.xN);let Ve=this.translate.instant("vien"===ae?"seo.txt_seo_means_2":"seo.txt_seo_means_1",{query:Ie});Ve.length<40&&(Ve+=" | "+this.translate.instant("seo.txt_title_default"));let Fe="";z.content.forEach(Ge=>{Ge.means?.forEach(it=>{Fe=Fe+it.mean+"; "})});const Be=this.translate.instant("vien"===ae?"seo.txt_seo_words_2":"seo.txt_seo_words",{query:Ie})+Fe;this.applyMeta({title:Ve,description:this.clamp(Be),url:he,thin:!!z.ggtrans})}i18n(z){const Ie=this.translate.instant(z);return Ie===z?"":Ie}applySEOSearchTab(z,Ie,ae=""){const he=(Ie??"").trim();if(!he)return;const Ve=this.applyUrlTags(this.langStore.langPack()||b.xN),Fe=this.i18n(Y[z])||this.i18n(I[z]);let Be=Fe?`${he} - ${Fe}`:he;Be.length<40&&(Be+=" | "+this.translate.instant("seo.txt_title_default"));const Ge=ae.trim()||(Fe?`${Fe}: ${he}`:he);this.applyMeta({title:Be,description:this.clamp(Ge),url:Ve})}clamp(z){return z.length>160?z.slice(0,157)+"...":z}applySEOWordFallback(z,Ie){const ae=(z??"").trim();if(!ae)return;const he=this.applyUrlTags(this.langStore.langPack()||b.xN);let Ve=this.translate.instant((0,H.mY)(ae)?"seo.txt_seo_means_2":"seo.txt_seo_means_1",{query:ae});Ve.length<40&&(Ve+=" | "+this.translate.instant("seo.txt_title_default"));const Fe=this.i18n("intro.word.txt_title");this.applyMeta({title:Ve,description:Fe?`${Fe}: ${ae}`:ae,url:he,thin:"not-found"===Ie})}applySEOGrammar(z){if(!z)return;const Ie=this.applyUrlTags(this.langStore.langPack()||b.xN);this.applyMeta({title:z+" | "+this.translate.instant("seo.txt_title_default"),description:z,url:Ie})}applySEOPost(z){if(!z)return;const Ie=this.applyUrlTags(this.langStore.langPack()||b.xN);this.applyMeta({title:z+" | "+this.translate.instant("community.txt_title_community"),description:z,url:Ie})}static#e=de=()=>(this.\u0275fac=function(Ie){return new(Ie||me)},this.\u0275prov=k.jDH({token:me,factory:me.\u0275fac,providedIn:"root"}))}return de(),me})()},8518(tt,ce,l){l.d(ce,{q:()=>s});var k=l(2615),T=l(1413),u=l(9145),A=l(9117);let s=(()=>{var j;class W{constructor(){this.storage=(0,k.WQX)(A.n),this.listSetting=new T.B,this.setting=u.H,this.state=(0,k.vPA)(u.H),this.current=this.state.asReadonly();const H=this.storage.getLocal("setting");H&&(this.setting={...u.H,...H}),this.state.set(this.setting),this.listSetting.next(this.setting)}getListSetting(){return this.listSetting.asObservable()}setListSetting(H){this.setting=H,this.state.set(H),this.listSetting.next(H),this.storage.setLocal("setting",H)}static#e=j=()=>(this.\u0275fac=function(N){return new(N||W)},this.\u0275prov=k.jDH({token:W,factory:W.\u0275fac,providedIn:"root"}))}return j(),W})()},1433(tt,ce,l){l.d(ce,{f:()=>N});var k=l(7705),T=l(2615),u=l(9295),A=l(2200),s=l(3664);const j=(O,I)=>({"--bgColor":O,"--size":I});function W(O,I){1&O&&s.nrm(0,"img",1)}function b(O,I){if(1&O){const V=s.RV6();s.j41(0,"img",4),s.bIt("error",function(){T.eBV(V);const ue=s.XpG();return T.Njj(ue.onImageError())}),s.k0s()}if(2&O){const V=s.XpG();s.Y8G("src",V.src(),s.B4B)}}function H(O,I){if(1&O&&s.EFF(0),2&O){const V=s.XpG();s.SpI(" ",V.username()," ")}}let N=(()=>{var O;class I{constructor(){this.defaultColors=["#2C416D","#ffb623ff","#ff9b59ff","#0C7054","#AC2929"],this.size=(0,k.hFB)(48),this.src=(0,k.hFB)(""),this.isVip=(0,k.hFB)(!1,{transform:k.L39}),this.username=(0,k.hFB)("U",{transform:Y=>(Y?.trim()||"User")[0]?.toUpperCase()||"U"}),this.defaultColorIndex=(0,T.vPA)(Math.floor(Math.random()*this.defaultColors.length)),this.failedSrc=(0,T.vPA)(null),this.showImage=(0,u.EW)(()=>!!this.src()&&this.failedSrc()!==this.src())}onImageError(){this.failedSrc.set(this.src())}static#e=O=()=>(this.\u0275fac=function(ue){return new(ue||I)},this.\u0275cmp=s.VBU({type:I,selectors:[["app-avatar"]],inputs:{size:[1,"size"],src:[1,"src"],isVip:[1,"isVip"],username:[1,"username"]},decls:5,vars:8,consts:[[1,"thumbnail",3,"ngStyle"],["loading","lazy","src","assets/images/icons/color_crown.svg","alt","",1,"avatar-crown"],[1,"thumbnail__content"],["loading","lazy","alt","",1,"avatar-img",3,"src"],["loading","lazy","alt","",1,"avatar-img",3,"error","src"]],template:function(ue,oe){1&ue&&(s.j41(0,"div",0),s.nVh(1,W,1,0,"img",1),s.j41(2,"div",2),s.nVh(3,b,1,1,"img",3)(4,H,1,1),s.k0s()()),2&ue&&(s.AVh("thumbnail--vip",oe.isVip()),s.Y8G("ngStyle",s.l_i(5,j,oe.defaultColors[oe.defaultColorIndex()],oe.size()+"px")),s.R7$(),s.vxM(oe.isVip()?1:-1),s.R7$(2),s.vxM(oe.showImage()?3:4))},dependencies:[A.B3],styles:[".thumbnail[_ngcontent-%COMP%]{--size: 48px;--bgColor: #f5f5f5;position:relative;aspect-ratio:1/1;width:var(--size);border-radius:50%;border:1px solid var(--border-primary);z-index:1}.thumbnail__content[_ngcontent-%COMP%]{position:absolute;inset:0;border-radius:50%;display:flex;align-items:center;justify-content:center;overflow:hidden;font-size:24px;font-weight:500;background-color:var(--bgColor);color:#fff;box-sizing:border-box}.thumbnail[_ngcontent-%COMP%] .avatar-img[_ngcontent-%COMP%]{width:100%;height:100%;border-radius:50%;object-fit:cover}.thumbnail--vip[_ngcontent-%COMP%]{border:none;overflow:visible}.thumbnail--vip[_ngcontent-%COMP%] .thumbnail__content[_ngcontent-%COMP%]{border:1px solid var(--surface-brand-primary);z-index:2}.thumbnail--vip[_ngcontent-%COMP%] .avatar-crown[_ngcontent-%COMP%]{position:absolute;
1left:19.7%;top:6.6%;width:44%;height:44%;transform:translate(-70%,-50%) rotate(-45deg);pointer-events:none}"],changeDetection:0}))}return O(),I})()},8873(tt,ce,l){l.d(ce,{U:()=>O});var k=l(7705),T=l(2615),u=l(9295),A=l(8018),s=l(6871),j=l(5850),W=l(6221),b=l(3664);function H(I,V){1&I&&(b.j41(0,"div",8),b.EFF(1),b.nI1(2,"translate"),b.k0s()),2&I&&(b.R7$(),b.JRh(b.bMT(2,1,"diamond.txt_your_points")))}function N(I,V){if(1&I){const Y=b.RV6();b.j41(0,"button",10),b.bIt("click",function(oe){T.eBV(Y);const se=b.XpG();return T.Njj(se.onDetail(oe))}),b.j41(1,"span"),b.EFF(2),b.nI1(3,"translate"),b.k0s(),b.nrm(4,"app-svg-icon",11),b.k0s()}2&I&&(b.R7$(2),b.JRh(b.bMT(3,3,"diamond.txt_detail")),b.R7$(2),b.Y8G("width",14)("height",14))}let O=(()=>{var I;class V{constructor(){this.langStore=(0,T.WQX)(s.s),this.balance=(0,k.hFB)(0),this.showDetail=(0,k.hFB)(!0),this.compact=(0,k.hFB)(!1),this.detail=(0,k.CGW)(),this.formatted=(0,u.EW)(()=>(0,W.L)(this.balance(),this.langStore.langPack()))}onDetail(ue){ue.stopPropagation(),this.detail.emit()}static#e=I=()=>(this.\u0275fac=function(oe){return new(oe||V)},this.\u0275cmp=b.VBU({type:V,selectors:[["app-diamond-card"]],inputs:{balance:[1,"balance"],showDetail:[1,"showDetail"],compact:[1,"compact"]},outputs:{detail:"detail"},decls:13,vars:8,consts:[[1,"dm-card"],[1,"dm-card__gem"],["src","assets/images/games/diamond.webp","srcset","assets/images/games/diamond.webp 1x, assets/images/games/[email protected] 2x","width","36","height","29","alt","","loading","lazy","decoding","async",1,"dm-card__img"],["viewBox","0 0 12 12","aria-hidden","true",1,"dm-card__spark","dm-card__spark--tr"],["d","M6 0c.5 3.2 2.3 5 5.5 6-3.2 1-5 2.8-5.5 6-.5-3.2-2.3-5-5.5-6 3.2-1 5-2.8 5.5-6z"],["viewBox","0 0 12 12","aria-hidden","true",1,"dm-card__spark","dm-card__spark--bl"],[1,"dm-card__text"],[1,"dm-card__value"],[1,"dm-card__label"],["type","button",1,"dm-card__more"],["type","button",1,"dm-card__more",3,"click"],["name","fill_right","fill","--text-info-tertiary",3,"width","height"]],template:function(oe,se){1&oe&&(b.j41(0,"div",0),b.nI1(1,"translate"),b.j41(2,"span",1),b.nrm(3,"img",2),T.qSk(),b.j41(4,"svg",3),b.nrm(5,"path",4),b.k0s(),b.j41(6,"svg",5),b.nrm(7,"path",4),b.k0s()(),T.joV(),b.j41(8,"div",6)(9,"div",7),b.EFF(10),b.k0s(),b.nVh(11,H,3,3,"div",8),b.k0s(),b.nVh(12,N,5,5,"button",9),b.k0s()),2&oe&&(b.AVh("dm-card--compact",se.compact()),b.BMQ("aria-label",se.compact()?b.bMT(1,6,"diamond.txt_your_points")+": "+se.formatted():null),b.R7$(10),b.JRh(se.formatted()),b.R7$(),b.vxM(se.compact()?-1:11),b.R7$(),b.vxM(se.showDetail()?12:-1))},dependencies:[A.h,j.D,A.D9],styles:[".dm-card[_ngcontent-%COMP%]{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:10px 12px;border-radius:16px;background-color:var(--surface-info-light)}.dm-card__gem[_ngcontent-%COMP%]{position:relative;flex:0 0 auto;display:block;line-height:0}.dm-card__img[_ngcontent-%COMP%]{display:block;width:36px;height:auto}.dm-card__spark[_ngcontent-%COMP%]{position:absolute;width:12px;height:12px;fill:var(--icon-warning-primary)}.dm-card__spark--tr[_ngcontent-%COMP%]{top:-2px;right:-6px}.dm-card__spark--bl[_ngcontent-%COMP%]{bottom:0;left:-8px;width:9px;height:9px}.dm-card__text[_ngcontent-%COMP%]{flex:1 1 auto;min-width:84px;overflow:hidden}.dm-card__value[_ngcontent-%COMP%]{font-size:20px;font-weight:700;line-height:1.2;color:var(--text-info-tertiary)}.dm-card__label[_ngcontent-%COMP%]{font-size:13px;font-weight:400;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--text-small-secondary)}.dm-card__more[_ngcontent-%COMP%]{flex:0 0 auto;display:inline-flex;align-items:center;gap:2px;margin-left:auto;padding:7px 6px 7px 8px;border:0;border-radius:999px;font-size:12px;font-weight:600;white-space:nowrap;cursor:pointer;color:var(--text-info-tertiary);background-color:var(--surface-default-inverse)}.dm-card__more[_ngcontent-%COMP%]:hover{filter:brightness(.97)}@media(max-width:360px){.dm-card__more[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:none}}.dm-card--compact[_ngcontent-%COMP%]{flex-wrap:nowrap;gap:6px;height:36px;padding:0 12px 0 10px;border-radius:999px}.dm-card--compact[_ngcontent-%COMP%] .dm-card__img[_ngcontent-%COMP%]{width:24px}.dm-card--compact[_ngcontent-%COMP%] .dm-card__spark[_ngcontent-%COMP%]{width:8px;height:8px}.dm-card--compact[_ngcontent-%COMP%] .dm-card__spark--tr[_ngcontent-%COMP%]{top:-1px;right:-4px}.dm-card--compact[_ngcontent-%COMP%] .dm-card__spark--bl[_ngcontent-%COMP%]{bottom:-1px;left:-5px;width:6px;height:6px}.dm-card--compact[_ngcontent-%COMP%] .dm-card__text[_ngcontent-%COMP%]{flex:0 0 auto;min-width:0}.dm-card--compact[_ngcontent-%COMP%] .dm-card__value[_ngcontent-%COMP%]{font-size:16px}.dm-card--compact[_ngcontent-%COMP%] .dm-card__more[_ngcontent-%COMP%]{margin-left:2px;padding:4px 4px 4px 8px}"],changeDetection:0}))}return I(),V})()},9552(tt,ce,l){l.d(ce,{S:()=>A,y:()=>u});const k="assets/images/emotions/",u=[{name:"angry",keywords:["gi\u1eadn d\u1ed7i","quay l\u01b0ng","angry"]},{name:"winner",keywords:["chi\u1ebfn th\u1eafng","c\xfap","win","trophy"]},{name:"refuse",keywords:["kh\xf4ng \u0111\u1ed3ng \xfd","t\u1eeb ch\u1ed1i","cross"]},{name:"hello",keywords:["xin ch\xe0o","v\u1eaby tay","hi","wave"]},{name:"hug",keywords:["\xf4m","an \u1ee7i","hug"]},{name:"shocked",keywords:["s\u1ed1c","b\u1ea5t ng\u1edd","shock","
1surprised"]},{name:"suspicious",keywords:["nghi ng\u1edd","li\u1ebfc","suspicious"]},{name:"in-love",keywords:["y\xeau th\xedch","m\u1eaft tim","love"]},{name:"giggle",keywords:["n\xedn","nh\u1ecbn c\u01b0\u1eddi","giggle"]},{name:"no",keywords:["kh\xf4ng","no"]},{name:"haha",keywords:["haha","c\u01b0\u1eddi","laugh"]},{name:"thank-you",keywords:["c\u1ea3m \u01a1n","thank you","thanks"]},{name:"sleepy",keywords:["ng\u1ee7","bu\u1ed3n ng\u1ee7","sleep"]},{name:"confused",keywords:["th\u1eafc m\u1eafc","h\u1ecfi","question","confused"]},{name:"excited",keywords:["h\xe0o h\u1ee9ng","l\u1ea5p l\xe1nh","excited"]},{name:"crying",keywords:["kh\xf3c","bu\u1ed3n","cry"]},{name:"tired",keywords:["m\u1ec7t","ch\xe1n n\u1ea3n","tired"]},{name:"determined",keywords:["quy\u1ebft t\xe2m","ch\xe1y","fire"]},{name:"nervous",keywords:["to\xe1t m\u1ed3 h\xf4i","ng\u1ea1i","sweat"]},{name:"cheeky",keywords:["tinh ngh\u1ecbch","l\xe8 l\u01b0\u1ee1i","cheeky"]},{name:"broke",keywords:["h\u1ebft ti\u1ec1n","ngh\xe8o","broke"]},{name:"frozen",keywords:["\u0111\xf3ng b\u0103ng","l\u1ea1nh","frozen","cold"]},{name:"shy",keywords:["ng\u1ea1i ng\xf9ng","th\u1eb9n","shy"]},{name:"love-you",keywords:["th\u1ea3 tim","y\xeau","heart"]}].map(({name:s,keywords:j})=>({code:`:dunno_${s}:`,src:`${k}${s}.webp`,keywords:j,nameKey:`emoji.names.${s.replace(/-/g,"_")}`})),A=[{id:"dunno",name:"emoji.cat_dunno",iconSrc:`${k}logo.webp`,emojis:u}]},7466(tt,ce,l){l.d(ce,{Gt:()=>W,HA:()=>j,Jh:()=>N,cR:()=>A,h9:()=>H,pJ:()=>ue,v5:()=>I,w5:()=>Y,z4:()=>b});var k=l(9552);const T=/:dunno_[a-z0-9-]+:/g,u=/[ \t]*:dunno_[a-z0-9-]+:/g,A=3,s=new Map([...k.y.map(oe=>[oe.code,oe]),...k.y.map((oe,se)=>[`:dunno_${String(se+1).padStart(2,"0")}:`,oe])]);function j(oe){return s.get(oe)}function W(oe){return(oe?.match(T)??[]).filter(se=>j(se)).length}function b(oe){return(oe?.match(T)??[]).map(se=>j(se)?.code).filter(se=>!!se)}function H(oe,se){return[oe.trim(),se.join(" ")].filter(Boolean).join(" ")}function N(oe){return oe&&-1!==oe.indexOf(":dunno_")?oe.replace(u,se=>j(se.trim())?"":se).trim():oe}const O=oe=>oe.keywords[0];function I(oe,se,de){return se.get(oe.code)||(de&&de!==oe.nameKey?de:oe.keywords[0])}function Y(oe,se=O){const de=(oe?.match(T)??[]).map(z=>j(z)).filter(z=>!!z).slice(0,A);if(!de.length)return"";const me=de.map(z=>{const Ie=(oe=>oe.replace(/&/g,"&").replace(/"/g,""").replace(/</g,"<"))(se(z));return`<img class="cmt-emotion" src="${z.src}" alt="${Ie}" title="${Ie}">`}).join("");return`<div class="cmt-emotions${""!==N(oe)?" with-text":""}">${me}</div>`}function ue(oe,se=O){return N(oe)+Y(oe,se)}},969(tt,ce,l){l.d(ce,{Z:()=>T});var k=l(2615);let T=(()=>{var u;class A{constructor(){this._anchor=(0,k.vPA)(null),this.anchor=this._anchor.asReadonly(),this.hideTimer=null}show(j){this.cancelHide(),this._anchor.set(j)}hideSoon(){this.cancelHide(),this.hideTimer=setTimeout(()=>{this.hideTimer=null,this._anchor.set(null)},A.HIDE_DELAY)}hideNow(){this.cancelHide(),this._anchor.set(null)}toggle(j){this._anchor()===j?this.hideNow():this.show(j)}cancelHide(){null!==this.hideTimer&&(clearTimeout(this.hideTimer),this.hideTimer=null)}static#e=u=()=>(this.HIDE_DELAY=100,this.\u0275fac=function(W){return new(W||A)},this.\u0275prov=k.jDH({token:A,factory:A.\u0275fac,providedIn:"root"}))}return u(),A})()},7257(tt,ce,l){l.d(ce,{b:()=>O,u:()=>I});var k=l(2615),T=l(3664),u=l(9295),A=l(8018),s=l(5850),j=l(4907),W=l(969);function b(V,Y){if(1&V&&(T.j41(0,"div",5),T.nrm(1,"app-svg-icon",6),T.j41(2,"span"),T.EFF(3),T.nI1(4,"translate"),T.k0s()()),2&V){const ue=Y.$implicit;T.R7$(),T.Y8G("name",T.mNQ(ue))("width",40)("height",40)("folder","labels")("fill","none"),T.R7$(2),T.JRh(T.bMT(4,7,"community.txt_"+ue))}}function H(V,Y){if(1&V&&(T.j41(0,"div",5),T.nrm(1,"app-svg-icon",6),T.j41(2,"span"),T.EFF(3),T.nI1(4,"translate"),T.k0s()()),2&V){const ue=Y.$implicit;T.R7$(),T.Y8G("name",T.mNQ(ue))("width",40)("height",40)("folder","labels")("fill","none"),T.R7$(2),T.JRh(T.bMT(4,7,"community.txt_"+ue))}}function N(V,Y){if(1&V){const ue=T.RV6();T.j41(0,"div",1),T.bIt("mouseenter",function(){k.eBV(ue);const se=T.XpG();return k.Njj(se.hint.cancelHide())})("mouseleave",function(){k.eBV(ue);const se=T.XpG();return k.Njj(se.hint.hideSoon())}),T.j41(1,"div",2),T.EFF(2),T.nI1(3,"translate"),T.k0s(),T.j41(4,"div",3)(5,"div",4),T.Z7z(6,b,5,9,"div",5,T.Vm6),T.k0s(),T.j41(8,"div",4),T.Z7z(9,H,5,9,"div",5,T.Vm6),T.k0s()()()}if(2&V){let ue,oe;const se=T.XpG();T.xc7("top",(null==(ue=se.pos())?null:ue.top)??null)("left",(null==(oe=se.pos())?null:oe.left)??null),T.AVh("measuring",!se.pos()),T.Y8G("id",se.overlayId),T.R7$(2),T.SpI(" ",T.bMT(3,8,"txt_list_label")," "),T.R7$(4),T.Dyx(se.colLeft()),T.R7$(3),T.Dyx(se.colRight())}}const O="label-list-overlay";let I=(()=>{var V;class Y{constructor(){this.hint=(0,k.WQX)(W.Z),this.platform=(0,k.WQX)(j.f),this.document=(0,k.WQX)(k.qQL),this.elementRef=(0,k.WQX)(T.aKT),this.overlayId=O,this.listLabel=["new_member","active_member","expert","professor","collaborator","admin","dev"],this.colLeft=(0,u.EW)(()=>this.listLabel.slice(0,4)),this.colRight=(0,u.EW)(()=>this.listLabel.slice(4,this.listLabel.length)),this.pos=(0,k.vPA)(null),this.listening=!1,this.onDocClick=oe=>
1{const se=oe.target,de=this.panelEl(),me=this.hint.anchor();de&&de.contains(se)||me&&me.contains(se)||this.hint.hideNow()},this.onKeydown=oe=>{"Escape"===oe.key&&this.hint.hideNow()},this.onScroll=oe=>{const se=this.panelEl();se&&se.contains(oe.target)||this.hint.hideNow()},this.onResize=()=>{this.hint.hideNow()},(0,u.QZ)(()=>{if(!this.hint.anchor())return this.pos.set(null),void this.detachListeners();this.pos.set(null),this.attachListeners(),setTimeout(()=>this.position())})}ngOnDestroy(){this.detachListeners()}attachListeners(){!this.platform.isBrowser||this.listening||(this.listening=!0,this.document.addEventListener("click",this.onDocClick),this.document.addEventListener("keydown",this.onKeydown),this.document.addEventListener("scroll",this.onScroll,!0),window.addEventListener("resize",this.onResize))}detachListeners(){!this.platform.isBrowser||!this.listening||(this.listening=!1,this.document.removeEventListener("click",this.onDocClick),this.document.removeEventListener("keydown",this.onKeydown),this.document.removeEventListener("scroll",this.onScroll,!0),window.removeEventListener("resize",this.onResize))}panelEl(){return this.elementRef.nativeElement.querySelector(".list-label")}position(){const oe=this.hint.anchor(),se=this.panelEl();if(!oe||!se)return;const de=Y.GAP,me=oe.getBoundingClientRect(),Ue=se.offsetWidth,z=se.offsetHeight;let Ie=me.bottom+de;Ie+z>window.innerHeight-de&&(Ie=Math.max(de,me.top-de-z));const ae=Math.max(de,Math.min(me.left,window.innerWidth-Ue-de));this.pos.set({top:`${Ie}px`,left:`${ae}px`})}static#e=V=()=>(this.GAP=8,this.\u0275fac=function(se){return new(se||Y)},this.\u0275cmp=T.VBU({type:Y,selectors:[["app-label-list-overlay"]],decls:1,vars:1,consts:[["role","tooltip",1,"bg-inverse","list-label",3,"id","measuring","top","left"],["role","tooltip",1,"bg-inverse","list-label",3,"mouseenter","mouseleave","id"],[1,"label-title","font-18","fw-500","cl-pr-lg"],[1,"label-row","gap-8"],[1,"flex-column","gap-8","box-label"],[1,"flex-center","gap-8","label-item","font-15","fw-400","cl-pr-sm"],[3,"name","width","height","folder","fill"]],template:function(se,de){1&se&&T.nVh(0,N,11,10,"div",0),2&se&&T.vxM(de.hint.anchor()?0:-1)},dependencies:[A.h,s.D,A.D9],styles:["[_nghost-%COMP%]{display:contents}.list-label[_ngcontent-%COMP%]{position:fixed;width:450px;z-index:9000}.list-label.measuring[_ngcontent-%COMP%]{visibility:hidden}.label-row[_ngcontent-%COMP%]{display:flex}.label-title[_ngcontent-%COMP%]{margin-bottom:20px}.box-label[_ngcontent-%COMP%]{width:50%}@media screen and (max-width:768px){.list-label[_ngcontent-%COMP%]{width:calc(100dvw - 16px);max-width:450px}}"],changeDetection:0}))}return V(),Y})()},9081(tt,ce,l){l.d(ce,{z:()=>N});var k=l(7705),T=l(2615),u=l(3664),A=l(8518),s=l(4907),j=l(7502),W=l(1133),b=l(8198);const H=["*"];let N=(()=>{var O;class I{constructor(){this.modalService=(0,T.WQX)(W.B),this.el=(0,T.WQX)(u.aKT),this.settingService=(0,T.WQX)(A.q),this.broadcasterService=(0,T.WQX)(b.y),this.platform=(0,T.WQX)(s.f),this.viewport=(0,T.WQX)(j.K),this.id=(0,k.hFB)(""),this.setting=(0,T.vPA)(void 0),this.listNotifyClose=["add-item-note","modal-voice","modal-pronounce","modal-video"],this.element=this.el.nativeElement}ngOnInit(){if(!this.id())return void console.error("modal must have an id");const Y=oe=>{const se=oe?.classList;return!!se&&(se.contains("app-modal")||se.contains("app-modal-body"))};let ue=!1;this.element.addEventListener("mousedown",oe=>{ue=Y(oe.target)}),this.element.addEventListener("click",oe=>{ue&&Y(oe.target)&&this.close(),ue=!1}),this.modalService.add(this),this.setting.set(this.settingService.setting),this.settingService.getListSetting().subscribe(oe=>{this.setting.set(oe)})}ngOnDestroy(){this.modalService.registerClose(this.id()),this.releaseBodyScroll(),this.modalService.remove(this.id()),this.element.remove()}releaseBodyScroll(){this.platform.isBrowser&&!this.modalService.hasOpenModal&&document.body.classList.remove("app-modal-open")}open(){this.element.style.display="block",this.platform.isBrowser&&(document.body.appendChild(this.element),this.element.style.zIndex=String(this.modalService.registerOpen(this.id())),document.body.classList.add("app-modal-open"),this.viewport.scrollModal())}close(){this.element.style.display="none",this.modalService.registerClose(this.id()),this.platform.isBrowser&&(this.element.style.zIndex="",this.releaseBodyScroll(),document.getElementById(this.id())?.remove()),this.listNotifyClose.includes(this.id())&&this.broadcasterService.broadcast("close-background-modal",{value:!0})}static#e=O=()=>(this.\u0275fac=function(ue){return new(ue||I)},this.\u0275cmp=u.VBU({type:I,selectors:[["app-modal"]],inputs:{id:[1,"id"]},ngContentSelectors:H,decls:4,vars:4,consts:[[1,"app-modal"],[1,"app-modal-body","box-default"],[1,"app-modal-background"]],template:function(ue,oe){if(1&ue&&(u.NAR(),u.rj2(0,"div",0)(1,"div",1),u.SdG(2),u.eux()(),u.Hgh(3,"div",2)),2&ue){let se,de;u.R7$(),u.AVh("theme-black",null==(se=oe.setting())?null:se.darkMode)("font-cute","cute"===(null==(de=oe.setting())?null:de.font))}},styles:["app-modal{display:none;position:relative;z-index:1000}app-modal .app-modal{position:fixed;inset:0;z-index:1000;overflow:auto;display:flex}app-modal .app-modal .app-modal-body{padding:20px;width:100%;margin:auto}app-modal .app-modal-background{position:fixed;inset:0;background-color:#000;opacity:.75;z-index:900}body.app-modal-open{overflow:hidden}.modal-dialog{margin:10px auto}@media(max-width:576px){app-modal .app-modal .app-modal-body{padding:unset}}\n"],encapsulation:2,changeDetection:0}))}return O(),I})()},1133(tt,ce,l){l.d(ce,{B:()=>A});var k=l(2615);let A=(()=>{var s;
1class j{constructor(){this.modals=[],this.openStack=[],this.pendingOpenId=null}add(b){this.modals.push(b),this.pendingOpenId===b.id()&&(this.pendingOpenId=null,queueMicrotask(()=>b.open()))}remove(b){this.modals=this.modals.filter(H=>H.id()!==b),this.pendingOpenId===b&&(this.pendingOpenId=null)}open(b,H){const N=this.modals.find(O=>O.id()===b);N?N.open():H?.waitForMount&&(this.pendingOpenId=b)}close(b){const H=this.modals.find(N=>N.id()===b);H&&H.close()}registerOpen(b){return this.openStack=this.openStack.filter(H=>H!==b),this.openStack.push(b),1e3+10*this.openStack.length}registerClose(b){this.openStack=this.openStack.filter(H=>H!==b)}get hasOpenModal(){return this.openStack.length>0}static#e=s=()=>(this.\u0275fac=function(H){return new(H||j)},this.\u0275prov=k.jDH({token:j,factory:j.\u0275fac,providedIn:"root"}))}return s(),j})()},5221(tt,ce,l){l.d(ce,{R:()=>j});var k=l(7705),T=l(2615),u=l(3664);const A=["scrollContainer"],s=["*"];let j=(()=>{var W;class b{constructor(){this.zone=(0,T.WQX)(u.SKi),this.scrollContainer=(0,k.ebz)("scrollContainer"),this.isDown=!1,this.startX=0,this.scrollLeft=0,this.container=null,this.onDown=N=>{const O=this.container;O&&(this.isDown=!0,this.startX=N.pageX-O.offsetLeft,this.scrollLeft=O.scrollLeft,O.addEventListener("mousemove",this.onMove))},this.onStop=()=>{this.container?.removeEventListener("mousemove",this.onMove),this.isDown=!1},this.onMove=N=>{const O=this.container;this.isDown&&O&&(N.preventDefault(),O.scrollLeft=this.scrollLeft-2*(N.pageX-O.offsetLeft-this.startX))}}ngAfterViewInit(){const N=this.scrollContainer()?.nativeElement;N&&(this.container=N,this.zone.runOutsideAngular(()=>{N.addEventListener("mousedown",this.onDown),N.addEventListener("mouseleave",this.onStop),N.addEventListener("mouseup",this.onStop)}))}ngOnDestroy(){const N=this.container;N&&(N.removeEventListener("mousedown",this.onDown),N.removeEventListener("mouseleave",this.onStop),N.removeEventListener("mouseup",this.onStop),N.removeEventListener("mousemove",this.onMove),this.container=null)}static#e=W=()=>(this.\u0275fac=function(O){return new(O||b)},this.\u0275cmp=u.VBU({type:b,selectors:[["app-scroll-horizontal"]],viewQuery:function(O,I){1&O&&u.wEZ(I.scrollContainer,A,5),2&O&&u.NyB()},ngContentSelectors:s,decls:3,vars:0,consts:[["scrollContainer",""],[1,"scroll-container","scroll"]],template:function(O,I){1&O&&(u.NAR(),u.rj2(0,"div",1,0),u.SdG(2),u.eux())},styles:["[_nghost-%COMP%]{display:block}.scroll[_ngcontent-%COMP%]{overflow-x:auto;scrollbar-width:none;-ms-overflow-style:none}.scroll[_ngcontent-%COMP%]::-webkit-scrollbar{display:none;width:0;height:0}"],changeDetection:0}))}return W(),b})()},5850(tt,ce,l){l.d(ce,{D:()=>N});var k=l(2615),T=l(7705),u=l(9295),A=l(9330);let s=(()=>{var O;class I{constructor(){this.http=(0,k.WQX)(A.Qq),this.cache=new Map,this.pending=new Map}resolve(Y,ue,oe){const se=`${Y}/${ue}`,de=this.cache.get(se);if(de)return de;const me=this.pending.get(se);if(me)return me;const Ue=this.http.get(`assets/images/${Y}/${ue}.svg`,{responseType:"text"}).toPromise().then(z=>{if(z)return oe&&this.cache.set(se,z),this.pending.delete(se),z}).catch(()=>{this.pending.delete(se)});return this.pending.set(se,Ue),Ue}static#e=O=()=>(this.\u0275fac=function(ue){return new(ue||I)},this.\u0275prov=k.jDH({token:I,factory:I.\u0275fac,providedIn:"root"}))}return O(),I})();var j=l(345),W=l(3664);const b=["mySvg"];let H=0,N=(()=>{var O;class I{constructor(){this.sanitizer=(0,k.WQX)(j.up),this.svgLoader=(0,k.WQX)(s),this.name=(0,T.hFB)(),this.cache=(0,T.hFB)(!0),this.customSize=(0,T.hFB)(!1),this.autoWidth=(0,T.hFB)(!1),this.width=(0,T.hFB)(24),this.height=(0,T.hFB)(24),this.folder=(0,T.hFB)("icons"),this.fill=(0,T.hFB)("--icon-primary"),this.stroke=(0,T.hFB)(!1),this.mySvgElementRef=(0,T.ebz)("mySvg"),this.svgIcon=(0,k.vPA)(""),this.size=(0,u.EW)(()=>({width:this.autoWidth()?"auto":this.customSize()?"100%":`${this.width()}px`,height:this.customSize()?"100%":`${this.height()}px`})),(0,u.QZ)(()=>{const Y=this.name();Y?(0,u.O8)(()=>this.loadFromCacheOrFetch(Y)):this.svgIcon.set("")}),(0,u.QZ)(()=>{this.fill(),this.stroke(),(0,u.O8)(this.svgIcon)&&(0,u.O8)(()=>this.applyFill())})}loadFromCacheOrFetch(Y){const ue=this.svgLoader.resolve(this.folder(),Y,this.cache());"string"!=typeof ue?ue.then(oe=>{oe&&this.setSvgIcon(oe)}):this.setSvgIcon(ue)}setSvgIcon(Y){this.svgIcon.set(this.sanitizer.bypassSecurityTrustHtml(this.makeIdsUnique(Y))),this.applyFill()}makeIdsUnique(Y){const ue=new Set(Array.from(Y.matchAll(/\sid="([^"]+)"/g),de=>de[1]));if(!ue.size)return Y;const oe="__i"+ ++H;let se=Y;for(const de of ue){const me=de.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");se=se.replace(new RegExp(`id="${me}"`,"g"),`id="${de}${oe}"`).replace(new RegExp(`url\\(#${me}\\)`,"g"),`url(#${de}${oe})`).replace(new RegExp(`href="#${me}"`,"g"),`href="#${de}${oe}"`)}return se}applyFill(){const Y=this.fill();!Y||"none"===Y||setTimeout(()=>{const ue=this.mySvgElementRef()?.nativeElement?.querySelector("svg");ue&&(ue.style.fill=`var(${Y})`,this.stroke()&&(ue.style.stroke=`var(${Y})`))},0)}static#e=O=()=>(this.\u0275fac=function(ue){return new(ue||I)},this.\u0275cmp=W.VBU({type:I,selectors:[["app-svg-icon"]],viewQuery:function(ue,oe){1&ue&&W.wEZ(oe.mySvgElementRef,b,5),2&ue&&W.NyB()},inputs:{name:[1,"name"],cache:[1,"cache"],customSize:[1,"customSize"],autoWidth:[1,"autoWidth"],width:[1,"width"],height:[1,"height"],folder:[
11,"folder"],fill:[1,"fill"],stroke:[1,"stroke"]},decls:2,vars:7,consts:[["mySvg",""],[1,"svg-container",3,"innerHTML"]],template:function(ue,oe){1&ue&&W.Hgh(0,"div",1,0),2&ue&&(W.xc7("width",oe.size().width)("height",oe.size().height),W.AVh("auto-width",oe.autoWidth()),W.Avn("innerHTML",oe.svgIcon(),W.npT))},styles:["[_nghost-%COMP%] .svg-container svg{width:100%;height:100%}[_nghost-%COMP%] .svg-container.auto-width svg{width:auto;height:100%}.svg-container[_ngcontent-%COMP%]{display:flex}"],changeDetection:0}))}return O(),I})()},7432(tt,ce,l){function k(b){return b.normalize("NFD").replace(/[\u0300-\u036f]/g,"").replace(/\u0111/g,"d").replace(/\u0110/g,"D")}function T(b){return/[\xe0\u1ea3\xe3\xe1\u1ea1\u0103\u1eb1\u1eb3\u1eb5\u1eaf\u1eb7\xe2\u1ea7\u1ea9\u1eab\u1ea5\u1ead\u0111\xe8\u1ebb\u1ebd\xe9\u1eb9\xea\u1ec1\u1ec3\u1ec5\u1ebf\u1ec7\xec\u1ec9\u0129\xed\u1ecb\xf2\u1ecf\xf5\xf3\u1ecd\xf4\u1ed3\u1ed5\u1ed7\u1ed1\u1ed9\u01a1\u1edd\u1edf\u1ee1\u1edb\u1ee3\xf9\u1ee7\u0169\xfa\u1ee5\u01b0\u1eeb\u1eed\u1eef\u1ee9\u1ef1\u1ef3\u1ef7\u1ef9\xfd\u1ef5]/g.test(b)}function u(b){return/[\uac00-\ud7af]|[\u1100-\u11ff]|[\u3130-\u318f]|[\ua960-\ua97f]|[\ud7b0-\ud7ff]/g.test(b)}function A(b){return/[\u4e00-\u9fff]/g.test(b)}function s(b){return/[\u3000-\u303f\u3040-\u309f\u30a0-\u30ff\uff00-\uff9f\u4e00-\u9faf\u3400-\u4dbf]/g.test(b)}function j(b,H){return"vi"===b?T(H):"ko"===b?u(H):"cn"===b?A(H):"ja"===b?s(H):!(T(H)||u(H)||A(H)||s(H))}function W(b){let H="";return H=T(b=b.toLowerCase().trim())?"vi":u(b)?"ko":A(b)?"cn":s(b)?"ja":"en",H}l.d(ce,{Oo:()=>k,X2:()=>j,m1:()=>W,mY:()=>T})},6221(tt,ce,l){l.d(ce,{B:()=>T,L:()=>u});var k=l(5661);function T(A){return A.toLocaleString("vi-VN")}function u(A,s){return new Intl.NumberFormat((0,k.Fd)(s),{useGrouping:"always"}).format(A)}},7629(tt,ce,l){l.d(ce,{p:()=>j});var k=l(2615),T=l(9330),u=l(446);const A={headers:new T.Lr({"Content-Type":"application/json"})};let s=(()=>{var W;class b{constructor(){this.http=(0,k.WQX)(T.Qq)}getPostUser(N,O){return this.http.get(u.NM+"api/community/posts/by-user?lang="+O+"&user="+N+"&limit=5&page=1",A).pipe()}profile(){return this.http.get(u.NM+"api/user/profile",A).pipe()}rankingTest(){return this.http.get(u.NM+"api/test/ranking",A).pipe()}allTest(){return this.http.get(u.NM+"api/test/all-test",A).pipe()}getListReport(N){return this.http.get(u.NM+"api/reports/by-user?page="+N,A)}static#e=W=()=>(this.\u0275fac=function(O){return new(O||b)},this.\u0275prov=k.jDH({token:b,factory:b.\u0275fac,providedIn:"root"}))}return W(),b})(),j=(()=>{var W;class b{constructor(){this.repo=(0,k.WQX)(s)}getPostUser(N,O){return this.repo.getPostUser(N,O)}profile(){return this.repo.profile()}rankingTest(){return this.repo.rankingTest()}allTest(){return this.repo.allTest()}getListReport(N){return this.repo.getListReport(N)}static#e=W=()=>(this.\u0275fac=function(O){return new(O||b)},this.\u0275prov=k.jDH({token:b,factory:b.\u0275fac,providedIn:"root"}))}return W(),b})()},5312(tt,ce,l){l.d(ce,{c:()=>k});const k={production:!0,apiUrl:"https://api.dunno.ai/",wordBuilding:!1,mockWordBuilding:!1,featureReading:!1,mockReading:!1,featureShadowing:!1,mockShadowing:!1,featureExam:!1,mockExam:!1,firebase:{apiKey:"AIzaSyDeWindfGEhggA9xZl6vZ03meWApmlLVeY",authDomain:"dunno-311910.firebaseapp.com",projectId:"dunno-311910",storageBucket:"dunno-311910.appspot.com",messagingSenderId:"940904973911",appId:"1:940904973911:web:591088266d23a5e3d24512",measurementId:"G-28J6884PFD"}}},9969(tt,ce,l){var k=l(7303),T=l(2512),u=l(2615),A=l(177),s=l(3664),j=l(7705);class W{_doc;constructor(v){this._doc=v}manager}let b=(()=>{class p extends W{constructor(D){super(D)}supports(D){return!0}addEventListener(D,h,C,G){return D.addEventListener(h,C,G),()=>this.removeEventListener(D,h,C,G)}removeEventListener(D,h,C,G){return D.removeEventListener(h,C,G)}static \u0275fac=function(h){return new(h||p)(u.KVO(u.qQL))};static \u0275prov=u.jDH({token:p,factory:p.\u0275fac})}return p})();const H=new u.nKC("");let N=(()=>{class p{_zone;_plugins;_eventNameToPlugin=new Map;constructor(D,h){this._zone=h,D.forEach(Ne=>{Ne.manager=this});const C=D.filter(Ne=>!(Ne instanceof b));this._plugins=C.slice().reverse();const G=D.find(Ne=>Ne instanceof b);G&&this._plugins.push(G)}
vendor: 9,288 bytes, line 1
1addEventListener(D,h,C,G){return this._findPluginFor(h).addEventListener(D,h,C,G)}getZone(){return this._zone}_findPluginFor(D){let h=this._eventNameToPlugin.get(D);if(h)return h;if(h=this._plugins.find(G=>G.supports(D)),!h)throw new u.buA(5101,!1);return this._eventNameToPlugin.set(D,h),h}static \u0275fac=function(h){return new(h||p)(u.KVO(H),u.KVO(s.SKi))};static \u0275prov=u.jDH({token:p,factory:p.\u0275fac})}return p})();const O="ng-app-id";function I(p){for(const v of p)v.remove()}function V(p,v){const D=v.createElement("style");return D.textContent=p,D}function ue(p,v){const D=v.createElement("link");return D.setAttribute("rel","stylesheet"),D.setAttribute("href",p),D}let oe=(()=>{class p{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(D,h,C,G={}){this.doc=D,this.appId=h,this.nonce=C,function Y(p,v,D,h){const C=p.head?.querySelectorAll(`style[${O}="${v}"],link[${O}="${v}"]`);if(C)for(const G of C)G.removeAttribute(O),G instanceof HTMLLinkElement?h.set(G.href.slice(G.href.lastIndexOf("/")+1),{usage:0,elements:[G]}):G.textContent&&D.set(G.textContent,{usage:0,elements:[G]})}(D,h,this.inline,this.external),this.hosts.add(D.head)}addStyles(D,h){for(const C of D)this.addUsage(C,this.inline,V);h?.forEach(C=>this.addUsage(C,this.external,ue))}removeStyles(D,h){for(const C of D)this.removeUsage(C,this.inline);h?.forEach(C=>this.removeUsage(C,this.external))}addUsage(D,h,C){const G=h.get(D);G?G.usage++:h.set(D,{usage:1,elements:[...this.hosts].map(Ne=>this.addElement(Ne,C(D,this.doc)))})}removeUsage(D,h){const C=h.get(D);C&&(C.usage--,C.usage<=0&&(I(C.elements),h.delete(D)))}ngOnDestroy(){for(const[,{elements:D}]of[...this.inline,...this.external])I(D);this.hosts.clear()}addHost(D){this.hosts.add(D);for(const[h,{elements:C}]of this.inline)C.push(this.addElement(D,V(h,this.doc)));for(const[h,{elements:C}]of this.external)C.push(this.addElement(D,ue(h,this.doc)))}removeHost(D){this.hosts.delete(D)}addElement(D,h){return this.nonce&&h.setAttribute("nonce",this.nonce),D.appendChild(h)}static \u0275fac=function(h){return new(h||p)(u.KVO(u.qQL),u.KVO(s.sZ2),u.KVO(s.BIS,8),u.KVO(s.Agw))};static \u0275prov=u.jDH({token:p,factory:p.\u0275fac})}return p})();const se={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/",math:"http://www.w3.org/1998/Math/MathML"},de=/%COMP%/g,z="%COMP%",Ie=`_nghost-${z}`,ae=`_ngcontent-${z}`,Ve=new u.nKC("",{providedIn:"root",factory:()=>!0});function Ge(p,v){return v.map(D=>D.replace(de,p))}let mt=(()=>{class p{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(D,h,C,G,Ne,dt,Bt=null,zt=null){this.eventManager=D,this.sharedStylesHost=h,this.appId=C,this.removeStylesOnCompDestroy=G,this.doc=Ne,this.ngZone=dt,this.nonce=Bt,this.tracingService=zt,this.platformIsServer=!1,this.defaultRenderer=new Vt(D,Ne,dt,this.platformIsServer,this.tracingService)}createRenderer(D,h){if(!D||!h)return this.defaultRenderer;const C=this.getOrCreateRenderer(D,h);return C instanceof Cn?C.applyToHost(D):C instanceof Fn&&C.applyStyles(),C}getOrCreateRenderer(D,h){const C=this.rendererByCompId;let G=C.get(h.id);if(!G){const Ne=this.doc,dt=this.ngZone,Bt=this.eventManager,zt=this.sharedStylesHost,Pt=this.removeStylesOnCompDestroy,Ut=this.platformIsServer,On=this.tracingService;switch(h.encapsulation){case s.gXe.Emulated:G=new Cn(Bt,zt,h,this.appId,Pt,Ne,dt,Ut,On);break;case s.gXe.ShadowDom:return new en(Bt,zt,D,h,Ne,dt,this.nonce,Ut,On);default:G=new Fn(Bt,zt,h,Pt,Ne,dt,Ut,On)}C.set(h.id,G)}return G}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(D){this.rendererByCompId.delete(D)}static \u0275fac=function(h){return new(h||p)(u.KVO(N),u.KVO(oe),u.KVO(s.sZ2),u.KVO(Ve),u.KVO(u.qQL),u.KVO(s.SKi),u.KVO(s.BIS),u.KVO(s.a8H,8))};static \u0275prov=u.jDH({token:p,factory:p.\u0275fac})}return p})();class Vt{eventManager;doc;ngZone;platformIsServer;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(v,D,h,C,G){this.eventManager=v,this.doc=D,this.ngZone=h,this.platformIsServer=C,this.tracingService=G}destroy(){}destroyNode=null;createElement(v,D){return D?this.doc.createElementNS(se[D]||D,v):this.doc.createElement(v)}createComment(v){return this.doc.createComment(v)}createText(v){return this.doc.createTextNode(v)}appendChild(v,D){(rn(v)?v.content:v).appendChild(D)}insertBefore(v,D,h){v&&(rn(v)?v.content:v).insertBefore(D,h)}removeChild(v,D){D.remove()}selectRootElement(v,D){let h="string"==typeof v?this.doc.querySelector(v):v;if(!h)throw new u.buA(-5104,!1);return D||(h.textContent=""),h}parentNode(v){return v.parentNode}nextSibling(v){return v.nextSibling}setAttribute(v,D,h,C){if(C){D=C+":"+D;const G=se[C];G?v.setAttributeNS(G,D,h):v.setAttribute(D,h)}else v.setAttribute(D,h)}removeAttribute(v,D,h){if(h){const C=se[h];C?v.removeAttributeNS(C,D):v.removeAttribute(`${h}:${D}`)}else v.removeAttribute(D)}addClass(v,D){v.classList.add(D)}removeClass(v,D){v.classList.remove(D)}setStyle(v,D,h,C){C&(s.czy.DashCase|s.czy.Important)?v.style.setProperty(D,h,C&s.czy.Important?"important":""):v.style[D]=h}removeStyle(v,D,h){h&s.czy.DashCase?v.style.removeProperty(D):v.style[D]=""}setProperty(v,D,h){null!=v&&(v[D]=h)}setValue(v,D){v.nodeValue=D}listen(v,D,h,C){if("string"==typeof v&&!(v=(0,k.rb)().getGlobalEventTarget(this.doc,v)))throw new u.buA(5102,!1);let G=this.decoratePreventDefault(h);return this.tracingService?.wrapEventListener&&(G=this.tracingService.wrapEventListener(v,D,G)),this.eventManager.addEventListener(v,D,G,C)}decoratePreventDefault(v){return D=>{if("__ngUnwrap__"===D)return v;!1===v(D)&&D.preventDefault()}}}function rn(p){return"TEMPLATE"===p.tagName&&void 0!==p.content}class en extends Vt{sharedStylesHost;hostEl;shadowRoot;constructor(v,D,h,C,G,Ne,dt,Bt,zt){super(v,G,Ne,Bt,zt),this.sharedStylesHost=D,this.hostEl=h,this.shadowRoot=h.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let Pt=C.styles;Pt=Ge(C.id,Pt);for(const On of Pt){const Mr=document.createElement("style");dt&&Mr.setAttribute("nonce",dt),Mr.textContent=On,this.shadowRoot.appendChild(Mr)}const Ut=C.getExternalStyles?.();if(Ut)for(const On of Ut){const Mr=ue(On,G);dt&&Mr.setAttribute("nonce",dt),this.shadowRoot.appendChild(Mr)}}nodeOrShadowRoot(v){return v===this.hostEl?this.shadowRoot:v}appendChild(v,D){return super.appendChild(this.nodeOrShadowRoot(v),D)}insertBefore(v,D,h){return super.insertBefore(this.nodeOrShadowRoot(v),D,h)}removeChild(v,D){return super.removeChild(null,D)}parentNode(v){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(v)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class Fn extends Vt{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(v,D,h,C,G,Ne,dt,Bt,zt){super(v,G,Ne,dt,Bt),this.sharedStylesHost=D,this.removeStylesOnCompDestroy=C;let Pt=h.styles;this.styles=zt?Ge(zt,Pt):Pt,this.styleUrls=h.getExternalStyles?.(zt)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&0===s.DUP.size&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}}class Cn extends Fn{contentAttr;hostAttr;constructor(v,D,h,C,G,Ne,dt,Bt,zt){const Pt=C+"-"+h.id;super(v,D,h,G,Ne,dt,Bt,zt,Pt),this.contentAttr=function Fe(p){return ae.replace(de,p)}(Pt),this.hostAttr=function Be(p){return Ie.replace(de,p)}(Pt)}applyToHost(v){this.applyStyles(),this.setAttribute(v,this.hostAttr,"")}createElement(v,D){const h=super.createElement(v,D);return super.setAttribute(h,this.contentAttr,""),h}}class yt extends k.qj{supportsDOMEvents=!0;static makeCurrent(){(0,k.ig)(new yt)}onAndCancel(v,D,h,C){return v.addEventListener(D,h,C),()=>{v.removeEventListener(D,h,C)}}dispatchEvent(v,D){v.dispatchEvent(D)}remove(v){v.remove()}createElement(v,D){return(D=D||this.getDefaultDocument()).createElement(v)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(v){return v.nodeType===Node.ELEMENT_NODE}isShadowRoot(v){return v instanceof DocumentFragment}getGlobalEventTarget(v,D){return"window"===D?window:"document"===D?v:"body"===D?v.body:null}getBaseHref(v){const D=function It(){return gt=gt||document.head.querySelector("base"),gt?gt.getAttribute("href"):null}();return null==D?null:function Ae(p){return new URL(p,document.baseURI).pathname}(D)}resetBaseElement(){gt=null}getUserAgent(){return window.navigator.userAgent}getCookie(v){return(0,T.b)(document.cookie,v)}}let gt=null,Mt=(()=>{class p{build(){return new XMLHttpRequest}static \u0275fac=function(h){return new(h||p)};static \u0275prov=u.jDH({token:p,factory:p.\u0275fac})}return p})();const jt=["alt","control","meta","shift"],Ht={"\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"},hn={alt:p=>p.altKey,control:p=>p.ctrlKey,meta:p=>p.metaKey,shift:p=>p.shiftKey};let pn=(()=>{class p extends W{constructor(D){super(D)}supports(D){return null!=p.parseEventName(D)}
1addEventListener(D,h,C,G){const Ne=p.parseEventName(h),dt=p.eventCallback(Ne.fullKey,C,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,k.rb)().onAndCancel(D,Ne.domEventName,dt,G))}static parseEventName(D){const h=D.toLowerCase().split("."),C=h.shift();if(0===h.length||"keydown"!==C&&"keyup"!==C)return null;const G=p._normalizeKey(h.pop());let Ne="",dt=h.indexOf("code");if(dt>-1&&(h.splice(dt,1),Ne="code."),jt.forEach(zt=>{const Pt=h.indexOf(zt);Pt>-1&&(h.splice(Pt,1),Ne+=zt+".")}),Ne+=G,0!=h.length||0===G.length)return null;const Bt={};return Bt.domEventName=C,Bt.fullKey=Ne,Bt}static matchEventFullKeyCode(D,h){let C=Ht[D.key]||D.key,G="";return h.indexOf("code.")>-1&&(C=D.code,G="code."),!(null==C||!C)&&(C=C.toLowerCase()," "===C?C="space":"."===C&&(C="dot"),jt.forEach(Ne=>{Ne!==C&&(0,hn[Ne])(D)&&(G+=Ne+".")}),G+=C,G===h)}static eventCallback(D,h,C){return G=>{p.matchEventFullKeyCode(G,D)&&C.runGuarded(()=>h(G))}}static _normalizeKey(D){return"esc"===D?"escape":D}static \u0275fac=function(h){return new(h||p)(u.KVO(u.qQL))};static \u0275prov=u.jDH({token:p,factory:p.\u0275fac})}return p})();function we(p){return{appProviders:[...An,...p?.providers??[]],platformProviders:At}}const At=[{provide:s.Agw,useValue:A.AJ},{provide:s.PLl,useValue:function q(){yt.makeCurrent()},multi:!0},{provide:u.qQL,useFactory:function Xe(){return(0,s._9u)(document),document}}],An=[{provide:u.GBX,useValue:"root"},{provide:u.zcH,useFactory:function o(){return new u.zcH}},{provide:H,useClass:b,multi:!0,deps:[u.qQL]},{provide:H,useClass:pn,multi:!0,deps:[u.qQL]},mt,oe,N,{provide:s._9s,useExisting:mt},{provide:T.N,useClass:Mt},[]];var Pn=l(252),nn=l(8018),Bn=l(5964),Kn=l(9079),gr=l(9145),nr=l(8198),zn=l(9117),_r=l(4907),wr=l(6871),Er=l(4129),bn=l(7432),dr=l(8518),$n=l(2479),Zn=l(9099),rr=l(9842),Gn=l(9318),xr=l(1402),mr=l(5850);function vr(p,v){1&p&&s.nrm(0,"app-svg-icon",2),2&p&&s.Y8G("width",20)("height",20)("fill","--icon-success-primary")}function Nr(p,v){1&p&&s.nrm(0,"app-svg-icon",3),2&p&&s.Y8G("width",20)("height",20)("fill","--icon-error-primary")}function cr(p,v){1&p&&s.nrm(0,"app-svg-icon",4),2&p&&s.Y8G("width",20)("height",20)("fill","--icon-warning-primary")}function Ct(p,v){1&p&&s.nrm(0,"app-svg-icon",5),2&p&&s.Y8G("width",20)("height",20)("fill","--icon-info-tertiary")}function et(p,v){if(1&p&&(s.j41(0,"div"),s.nrm(1,"div",1),s.nVh(2,vr,1,3,"app-svg-icon",2),s.nVh(3,Nr,1,3,"app-svg-icon",3),s.nVh(4,cr,1,3,"app-svg-icon",4),s.nVh(5,Ct,1,3,"app-svg-icon",5),s.j41(6,"span",6),s.EFF(7),s.k0s()()),2&p){const D=s.XpG();s.HbH(s.VkB("flex-center gap-8 font-16 fw-400 box-notify ",D.type())),s.R7$(2),s.vxM("success"===D.type()?2:-1),s.R7$(),s.vxM("danger"===D.type()?3:-1),s.R7$(),s.vxM("warning"===D.type()?4:-1),s.R7$(),s.vxM("infor"===D.type()?5:-1),s.R7$(2),s.JRh(D.content())}}let vt=(()=>{var p;class v{constructor(){this.broadcaster=(0,u.WQX)(nr.y),this.DURATION=2e3,this.content=(0,u.vPA)(""),this.type=(0,u.vPA)("")}ngOnInit(){this.notifySub=this.broadcaster.on("notify").subscribe(h=>{h&&(this.content.set(h.content),this.type.set(h.type),this.hideTimer&&clearTimeout(this.hideTimer),this.hideTimer=setTimeout(()=>this.close(),this.DURATION))})}close(){this.content.set(""),this.type.set("")}ngOnDestroy(){this.hideTimer&&clearTimeout(this.hideTimer),this.notifySub?.unsubscribe()}static#e=p=()=>(this.\u0275fac=function(C){return new(C||v)},this.\u0275cmp=s.VBU({type:v,selectors:[["app-notify"]],decls:1,vars:1,consts:[[3,"class"],[1,"absolute","head"],["name","fill_check",3,"width","height","fill"],["name","fill_close",3,"width","height","fill"],["name","fill_loading",3,"width","height","fill"],["name","outline_info",3,"width","height","fill"],[1,"content"]],template:function(C,G){1&C&&s.nVh(0,et,8,8,"div",0),2&C&&s.vxM(G.content()?0:-1)},dependencies:[nn.h,mr.D],styles:[".box-notify[_ngcontent-%COMP%]{width:350px;min-height:56px;position:fixed;z-index:10000;bottom:60px;left:5%;overflow:hidden;padding:16px 12px 16px 20px;border-radius:12px 16px 16px 12px;background-color:var(--surface-black-inverse);color:var(--text-white-inverse);box-shadow:0 10px 20px #00000014}.box-notify[_ngcontent-%COMP%] .head[_ngcontent-%COMP%]{left:0;top:0;width:12px;height:100%}.box-notify[_ngcontent-%COMP%] .content[_ngcontent-%COMP%]{flex:1}.box-notify[_ngcontent-%COMP%] app-svg-icon[_ngcontent-%COMP%]{flex:none}.success[_ngcontent-%COMP%] .head[_ngcontent-%COMP%]{background-color:var(--surface-success-primary)}.danger[_ngcontent-%COMP%] .head[_ngcontent-%COMP%]{background-color:var(--surface-error-primary)}.warning[_ngcontent-%COMP%] .head[_ngcontent-%COMP%]{background-color:var(--surface-warning-primary)}
1.infor[_ngcontent-%COMP%] .head[_ngcontent-%COMP%]{background-color:var(--surface-info-primary)}@media(max-width:990px){.box-notify[_ngcontent-%COMP%]{left:10px;max-width:calc(100% - 20px)}}@media(min-width:992px){.box-notify[_ngcontent-%COMP%]{width:375px}}"],changeDetection:0}))}return p(),v})();var Nt=l(7257),Wt=l(9417),fe=l(1133),Z=l(4713),ve=l(9081),Oe=l(5221);const be=()=>["cute","normal"];function st(p,v){if(1&p){const D=s.RV6();s.j41(0,"div",14)(1,"div",15)(2,"div",9),s.EFF(3),s.nI1(4,"translate"),s.k0s(),s.j41(5,"div",16),s.EFF(6),s.nI1(7,"translate"),s.k0s()(),s.j41(8,"app-scroll-horizontal")(9,"div",17)(10,"div",21),s.bIt("click",function(){u.eBV(D);const C=s.XpG(2);return u.Njj(C.updateTypeSearch("en-"+C.langWeb()))}),s.EFF(11),s.nI1(12,"translate"),s.k0s(),s.j41(13,"div",21),s.bIt("click",function(){u.eBV(D);const C=s.XpG(2);return u.Njj(C.updateTypeSearch(C.langWeb()+"-en"))}),s.EFF(14),s.nI1(15,"translate"),s.k0s()()()()}if(2&p){const D=s.XpG(2);s.R7$(3),s.JRh(s.bMT(4,8,"txt_type_search")),s.R7$(3),s.SpI(" ",s.bMT(7,10,D.valType===D.langWeb()+"-en"?"txt_local_to_english":"txt_english_to_local")," "),s.R7$(4),s.AVh("active",D.valType==="en-"+D.langWeb()),s.R7$(),s.SpI(" ",s.bMT(12,12,"txt_english_to_local")," "),s.R7$(2),s.AVh("active",D.valType===D.langWeb()+"-en"),s.R7$(),s.SpI(" ",s.bMT(15,14,"txt_local_to_english")," ")}}function Rt(p,v){if(1&p){const D=s.RV6();s.j41(0,"div",21),s.bIt("click",function(){const C=u.eBV(D).$implicit,G=s.XpG(2);return u.Njj(G.updateFont(C))}),s.EFF(1),s.nI1(2,"translate"),s.k0s()}if(2&p){const D=v.$implicit,h=s.XpG(2);s.AVh("active",h.valFont===D),s.R7$(),s.SpI(" ",s.bMT(2,3,"txt_font_"+D)," ")}}function on(p,v){if(1&p){const D=s.RV6();s.j41(0,"div",6)(1,"div",7)(2,"div",8)(3,"div",9),s.EFF(4),s.nI1(5,"translate"),s.k0s(),s.j41(6,"div",10)(7,"input",11),s.bIt("change",function(){u.eBV(D);const C=s.XpG();return u.Njj(C.changeSetting())}),s.k0s()()(),s.j41(8,"div",8)(9,"div",9),s.EFF(10),s.nI1(11,"translate"),s.k0s(),s.j41(12,"div",10)(13,"input",12),s.bIt("change",function(){u.eBV(D);const C=s.XpG();return u.Njj(C.changeSetting())}),s.k0s()()()(),s.j41(14,"div",8)(15,"div",9),s.EFF(16),s.nI1(17,"translate"),s.k0s(),s.j41(18,"div",10)(19,"input",13),s.bIt("change",function(){u.eBV(D);const C=s.XpG();return u.Njj(C.changeSetting())}),s.k0s()()(),s.nVh(20,st,16,16,"div",14),s.j41(21,"div",14)(22,"div",15)(23,"div",9),s.EFF(24),s.nI1(25,"translate"),s.k0s(),s.j41(26,"div",16),s.EFF(27),s.nI1(28,"translate"),s.k0s()(),s.j41(29,"app-scroll-horizontal")(30,"div",17),s.Z7z(31,Rt,3,5,"div",18,s.fX1),s.k0s()()(),s.j41(33,"div",19),s.bIt("click",function(){u.eBV(D);const C=s.XpG();return u.Njj(C.reset())}),s.nrm(34,"app-svg-icon",20),s.EFF(35),s.nI1(36,"translate"),s.k0s()()}if(2&p){const D=s.XpG();s.Y8G("formGroup",D.settingForm),s.R7$(4),s.JRh(s.bMT(5,9,"txt_darkmode")),s.R7$(6),s.JRh(s.bMT(11,11,"txt_auto_voice")),s.R7$(6),s.JRh(s.bMT(17,13,"txt_syllable_division")),s.R7$(4),s.vxM("en"!==D.langWeb()?20:-1),s.R7$(4),s.JRh(s.bMT(25,15,"txt_font")),s.R7$(3),s.JRh(s.bMT(28,17,"txt_font_"+D.valFont)),s.R7$(4),s.Dyx(s.lJ4(21,be)),s.R7$(3),s.Y8G("fill","--icon-error-primary"),s.R7$(),s.SpI(" ",s.bMT(36,19,"txt_reset_setting")," ")}}let jn=(()=>{var p;class v{constructor(){this.sCommonService=(0,u.WQX)(Z.o),this.broadcaster=(0,u.WQX)(nr.y),this.settingService=(0,u.WQX)(dr.q),this.translate=(0,u.WQX)(nn.c$),this.storage=(0,u.WQX)(zn.n),this.langStore=(0,u.WQX)(wr.s),this.modalService=(0,u.WQX)(fe.B),this.setting=(0,u.vPA)(this.settingService.setting),this.langWeb=(0,u.vPA)("")}ngOnInit(){this.langWeb.set(this.langStore.langPack());const h=this.setting();if(this.settingForm=new Wt.J3({autoPlay:new Wt.hs(h.autoPlay,[Wt.k0.required]),darkMode:new Wt.hs(h.darkMode,[Wt.k0.required]),typeSearch:new Wt.hs(h.typeSearch,[Wt.k0.required]),font:new Wt.hs(h.font,[Wt.k0.required]),syllableDivision:new Wt.hs(h.syllableDivision,[Wt.k0.required])}),this.translate.onLangChange.subscribe(G=>{let Ne="";Ne=this.valType===`${this.langWeb()}-en`?`${G.lang}-en`:`en-${G.lang}`,this.sCommonService.setTypeSearch(Ne,G.lang),this.langWeb.set(G.lang)}),"en"===this.langWeb())return;let C=this.storage.getLocal("type-search");C||(C=`en-${this.langWeb()}`),this.settingForm.patchValue({typeSearch:C}),this.broadcaster.on("change-type-search").pipe((0,Bn.p)(G=>G.type!==this.valType)).subscribe(G=>{this.settingForm.patchValue({typeSearch:G.type}),this.changeSetting()})}get valType(){return this.settingForm.controls.typeSearch.value}get valFont(){return this.settingForm.controls.font.value}changeSetting(){this.settingService.setListSetting(this.settingForm.value)}changeTypeSearch(){this.sCommonService.setTypeSearch(this.valType,this.langWeb()),this.changeSetting()}updateTypeSearch(h){this.settingForm.patchValue({typeSearch:h}),this.changeTypeSearch()}updateFont(h){this.settingForm.patchValue({font:h}),this.changeSetting()}close(){this.modalService.close("modal-setting")}reset(){const h={autoPlay:!1,darkMode:!1,font:"normal",typeSearch:"en"===this.langWeb()?"":`en-${this.langWeb()}`,syllableDivision:!0};this.settingForm.setValue(h),this.setting.set({...h}),"en"!==this.langWeb()&&this.sCommonService.setTypeSearch(h.typeSearch,this.langWeb()),this.changeSetting()}static#e=p=()=>(this.\u0275fac=function(C){return new(C||v)},this.\u0275cmp=s.VBU({type:v,selectors:[["app-setting"]],decls:9,vars:4,consts:[["id","modal-setting"],["role","document",1,"modal-dialog","modal
1-dialog-md"],[1,"modal-content","modal-card"],[1,"flex-center","space-between","title"],[1,"font-18","fw-500","cl-pr-sm"],["name","fill_close",1,"cp",3,"click"],[1,"flex-column","gap-8","setting",3,"formGroup"],[1,"d-flex","gap-8","flex-column","flex-xxl-row"],[1,"flex-center","space-between","box-primary","rad-16","p-12","checkbox-switch"],[1,"title-2"],[1,"item-left"],["type","checkbox","formControlName","darkMode",1,"switch",3,"change"],["type","checkbox","formControlName","autoPlay",1,"switch",3,"change"],["type","checkbox","formControlName","syllableDivision",1,"switch",3,"change"],[1,"box-primary","rad-16","p-12"],[1,"flex-center","space-between","mb-12","filter-container"],[1,"filter-item"],[1,"text-nowrap"],[1,"d-inline-block","filter-option","text-center","cp",3,"active"],[1,"flex-center","gap-4","box-primary","rad-16","p-12","font-17","fw-500","restore","cp",3,"click"],["name","fill_sync",3,"fill"],[1,"d-inline-block","filter-option","text-center","cp",3,"click"]],template:function(C,G){1&C&&(s.j41(0,"app-modal",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4),s.EFF(5),s.nI1(6,"translate"),s.k0s(),s.j41(7,"app-svg-icon",5),s.bIt("click",function(dt){return G.close(),dt.stopPropagation()}),s.k0s()(),s.nVh(8,on,37,22,"div",6),s.k0s()()()),2&C&&(s.R7$(5),s.JRh(s.bMT(6,2,"txt_setting")),s.R7$(3),s.vxM(G.setting()?8:-1))},dependencies:[ve.z,Wt.YN,Wt.Zm,Wt.BC,Wt.cb,Wt.X1,Wt.j4,Wt.JD,nn.h,mr.D,Oe.R,nn.D9],styles:[".title[_ngcontent-%COMP%]{margin-bottom:16px}.box-primary[_ngcontent-%COMP%]{background-color:var(--surface-neutral-primary)}@media(min-width:1400px){.checkbox-switch[_ngcontent-%COMP%]{width:50%}}.item-left[_ngcontent-%COMP%]{line-height:0}.cp[_ngcontent-%COMP%]{cursor:pointer}.filter-option[_ngcontent-%COMP%]{width:fit-content!important}.filter-option[_ngcontent-%COMP%] + .filter-option[_ngcontent-%COMP%]{margin-left:8px}.restore[_ngcontent-%COMP%]{color:var(--text-error-primary)}"],changeDetection:0}))}return p(),v})();var Kt=l(9295),qn=l(625),un=l(2113),Xt=l(6221),Xn=l(101),Ar=l(7466),Jn=l(9330),fr=l(446);const or=`${fr.NM}api/cosmetics`,ne=`${fr.NM}api/me/cosmetics/purchase`,Ee=`${fr.NM}api/me/cosmetics/equip`;let _e=(()=>{var p;class v{constructor(){this.http=(0,u.WQX)(Jn.Qq)}catalog(h){return this.http.get(or,{params:{type:h}})}purchase(h){return this.http.post(ne,{code:h})}equipFrame(h){return this.http.put(Ee,{type:"frame",code:h})}static#e=p=()=>(this.\u0275fac=function(C){return new(C||v)},this.\u0275prov=u.jDH({token:v,factory:v.\u0275fac,providedIn:"root"}))}return p(),v})();var Je=l(1413);let ft=(()=>{var p;class v{constructor(){this.openSubject=new Je.B,this.open$=this.openSubject.asObservable()}open(){this.openSubject.next()}static#e=p=()=>(this.\u0275fac=function(C){return new(C||v)},this.\u0275prov=u.jDH({token:v,factory:v.\u0275fac,providedIn:"root"}))}return p(),v})();const ie=()=>[0,1,2,3,4,5,6,7],je=p=>({price:p}),Re=(p,v)=>v.code;function at(p,v){1&p&&s.nrm(0,"div",18)}function qe(p,v){1&p&&(s.j41(0,"div",15),s.Z7z(1,at,1,0,"div",18,s.fX1),s.k0s()),2&p&&(s.R7$(),s.Dyx(s.lJ4(0,ie)))}function Lt(p,v){if(1&p){const D=s.RV6();s.j41(0,"div",16)(1,"p"),s.EFF(2),s.nI1(3,"translate"),s.k0s(),s.j41(4,"button",19),s.bIt("click",function(){u.eBV(D);const C=s.XpG();return u.Njj(C.load())}),s.EFF(5),s.nI1(6,"translate"),s.k0s()()}2&p&&(s.R7$(2),s.JRh(s.bMT(3,2,"diamond.txt_load_error")),s.R7$(3),s.JRh(s.bMT(6,4,"diamond.txt_retry")))}function Ft(p,v){1&p&&(s.j41(0,"div",16)(1,"p"),s.EFF(2),s.nI1(3,"translate"),s.k0s()()),2&p&&(s.R7$(2),s.JRh(s.bMT(3,1,"diamond.txt_empty")))}function Sn(p,v){1&p&&(s.j41(0,"span",22),s.nrm(1,"app-svg-icon",27),s.EFF(2," VIP "),s.k0s()),2&p&&(s.R7$(),s.Y8G("width",14)("height",14))}function gn(p,v){if(1&p&&s.nrm(0,"img",23),2&p){const D=s.XpG().$implicit;s.Y8G("src",D.src,s.B4B)("alt",D.name)}}function Un(p,v){1&p&&s.nrm(0,"div",24)}function vn(p,v){1&p&&(s.j41(0,"span",26),s.EFF(1),s.nI1(2,"translate"),s.k0s()),2&p&&(s.R7$(),s.JRh(s.bMT(2,1,"diamond.txt_used")))}function yn(p,v){if(1&p){const D=s.RV6();s.j41(0,"button",32),s.bIt("click",function(){u.eBV(D);const C=s.XpG(2).$implicit,G=s.XpG(2);return u.Njj(G.select(C))}),s.nrm(1,"app-svg-icon",33),s.EFF(2),s.nI1(3,"translate"),s.k0s()}if(2&p){const D=s.XpG(4);s.Y8G("disabled",D.busy()),s.R7$(),s.Y8G("width",14)("height",14),s.R7$(),s.Sp
1I(" ",s.bMT(3,4,"diamond.txt_exchange")," ")}}function wn(p,v){if(1&p){const D=s.RV6();s.j41(0,"button",34),s.bIt("click",function(){u.eBV(D);const C=s.XpG(2).$implicit,G=s.XpG(2);return u.Njj(G.select(C))}),s.EFF(1),s.nI1(2,"translate"),s.k0s()}if(2&p){const D=s.XpG(2).$implicit,h=s.XpG(2);s.Y8G("disabled",!h.canAfford(D)||h.busy()),s.R7$(),s.SpI(" ",s.bMT(2,2,h.canAfford(D)?"diamond.txt_exchange":"diamond.txt_not_enough")," ")}}function xn(p,v){if(1&p&&(s.j41(0,"div",28),s.nrm(1,"img",29),s.j41(2,"span"),s.EFF(3),s.k0s()(),s.nVh(4,yn,4,6,"button",30)(5,wn,3,4,"button",31)),2&p){const D=s.XpG().$implicit,h=s.XpG(2);s.R7$(3),s.JRh(h.formatNumber(D.price)),s.R7$(),s.vxM(D.locked?4:5)}}function Nn(p,v){if(1&p&&(s.j41(0,"div",21),s.nVh(1,Sn,3,2,"span",22),s.nVh(2,gn,1,2,"img",23)(3,Un,1,0,"div",24),s.j41(4,"div",25),s.EFF(5),s.k0s(),s.nVh(6,vn,3,3,"span",26)(7,xn,6,2),s.k0s()),2&p){let D;const h=v.$implicit,C=s.XpG(2);s.AVh("ds__item--selected",(null==(D=C.pending())?null:D.code)===h.code)("ds__item--locked",h.locked),s.R7$(),s.vxM(h.locked?1:-1),s.R7$(),s.vxM(h.src?2:3),s.R7$(2),s.Y8G("title",h.name),s.R7$(),s.JRh(h.name),s.R7$(),s.vxM(h.usable?6:7)}}function ir(p,v){if(1&p&&(s.j41(0,"div",15),s.Z7z(1,Nn,8,9,"div",20,Re),s.k0s()),2&p){const D=s.XpG();s.R7$(),s.Dyx(D.items())}}function Qn(p,v){if(1&p&&s.nrm(0,"img",35),2&p){const D=s.XpG();s.Y8G("src",D.src,s.B4B)("alt",D.name)}}function Lr(p,v){if(1&p){const D=s.RV6();s.j41(0,"div",17),s.nVh(1,Qn,1,2,"img",35),s.j41(2,"div",36),s.EFF(3),s.nI1(4,"translate"),s.k0s(),s.j41(5,"div",37)(6,"button",38),s.bIt("click",function(){u.eBV(D);const C=s.XpG();return u.Njj(C.cancel())}),s.EFF(7),s.nI1(8,"translate"),s.k0s(),s.j41(9,"button",39),s.bIt("click",function(){u.eBV(D);const C=s.XpG();return u.Njj(C.confirm())}),s.EFF(10),s.nI1(11,"translate"),s.k0s()()()}if(2&p){const D=v,h=s.XpG();s.R7$(),s.vxM(D.src?1:-1),s.R7$(2),s.SpI(" ",s.i5U(4,6,"diamond.txt_confirm",s.eq3(13,je,h.formatNumber(D.price)))," "),s.R7$(3),s.Y8G("disabled",h.busy()),s.R7$(),s.JRh(s.bMT(8,9,"diamond.txt_cancel")),s.R7$(2),s.Y8G("disabled",h.busy()),s.R7$(),s.JRh(s.bMT(11,11,"diamond.txt_confirm_btn"))}}const lr={insufficient_balance:"diamond.txt_err_insufficient",vip_required:"diamond.txt_vip_only",not_for_sale:"diamond.txt_err_not_for_sale",not_found:"diamond.txt_err_not_found"};let Yr=(()=>{var p;class v{constructor(){this.repo=(0,u.WQX)(_e),this.diamonds=(0,u.WQX)(qn.q),this.modalService=(0,u.WQX)(fe.B),this.notify=(0,u.WQX)(Xn.F),this.destroyRef=(0,u.WQX)(u.abz),this.cosmetics=(0,u.WQX)(un.a),this.langStore=(0,u.WQX)(wr.s),this.router=(0,u.WQX)(Pn.Ix),this.modalId="modal-diamond-shop",this.balance=this.diamonds.balance,this.formattedBalance=(0,Kt.EW)(()=>this.formatNumber(this.balance())),this.items=(0,u.vPA)([]),this.loading=(0,u.vPA)(!1),this.loadError=(0,u.vPA)(!1),this.pending=(0,u.vPA)(null),this.busy=(0,u.vPA)(!1),(0,u.WQX)(ft).open$.pipe((0,Kn.pQ)(this.destroyRef)).subscribe(()=>this.open())}open(){this.pending.set(null),this.load(),this.modalService.open(this.modalId)}load(){this.loading.set(!0),this.loadError.set(!1),this.repo.catalog("icon").subscribe({next:h=>{"number"==typeof h?.balance&&this.diamonds.apply({earned:0,balance:h.balance}),this.cosmetics.syncCatalog(h?.items??[]),this.items.set((h?.items??[]).map(G=>({...G,src:G.image_url||(0,Ar.HA)(G.code)?.src||""}))),this.loading.set(!1)},error:()=>{this.loadError.set(!0),this.loading.set(!1)}})}formatNumber(h){return(0,Xt.L)(h,this.langStore.langPack())}canAfford(h){return this.balance()>=h.price}select(h){if(!h.usable&&!this.busy()){if(h.locked)return this.pending.set(null),void this.notify.showNotify("diamond.txt_vip_only","warning");this.canAfford(h)&&this.pending.set(h)}}cancel(){this.busy()||this.pending.set(null)}confirm(){const h=this.pending();!h||this.busy()||(this.busy.set(!0),this.repo.purchase(h.code).subscribe({next:C=>{this.diamonds.apply({earned:0,balance:C.balance}),this.patch(C.code,{owned:!0,usable:!0}),this.cosmetics.markUsable(C.code),this.pending.set(null),this.busy.set(!1),this.notify.showNotify("diamond.txt_exchange_success","success")},error:C=>{this.busy.set(!1),this.handleError(C)}}))}collect(){this.close(),this.router.navigate(["/notebook/decks"],{queryParams:{hl:this.langStore.langPack()||null}})}close(){this.pending.set(null),this.modalService.close(this.modalId)}patch(h,C){this.items.update(G=>G.map(Ne=>Ne.code===h?{...Ne,...C}:Ne))}handleError(h){const C=h?.error;"insufficient_balance"===C?.reason&&"number"==typeof C.balance&&(this.diamonds.apply({earned:0,balance:C.balance}),this.pending.set(null)),this.notify.showNotify(C?.reason&&lr[C.reason]||"diamond.txt_exchange_failed","danger")}static#e=p=()=>(this.\u0275fac=function(C){return new(C||v)},this.\u0275cmp=s.VBU({type:v,selectors:[["app-diamond-shop"]],decls:32,vars:22,consts:[["id","modal-diamond-shop"],["role","dialog","aria-labelledby","ds-title",1,"modal-dialog","modal
1-dialog-md"],[1,"modal-content","modal-card","ds"],[1,"ds__head"],["id","ds-title",1,"ds__title"],[1,"ds__desc"],["type","button",1,"ds__close",3,"click"],["name","fill_close",3,"width","height"],[1,"ds__balance"],["src","assets/images/games/diamond.webp","width","28","height","22","alt",""],[1,"ds__balance-value"],[1,"ds__balance-label"],["type","button",1,"ds__collect",3,"click"],["name","fill_right","fill","--text-info-tertiary",3,"width","height"],[1,"ds__body"],[1,"ds__grid"],[1,"ds__state"],[1,"ds__confirm"],[1,"ds__item","ds__item--skeleton","load-animation"],["type","button",1,"btn","btn-brand","px-20",3,"click"],[1,"ds__item",3,"ds__item--selected","ds__item--locked"],[1,"ds__item"],[1,"ds__vip"],["width","72","height","72","loading","lazy","decoding","async",1,"ds__img",3,"src","alt"],[1,"ds__img","ds__img--empty"],[1,"ds__name",3,"title"],[1,"ds__action","ds__tag"],["name","color_crown","fill","none",3,"width","height"],[1,"ds__price"],["src","assets/images/games/diamond.webp","width","16","height","13","alt",""],["type","button",1,"ds__action","ds__btn","ds__btn--locked",3,"disabled"],["type","button",1,"ds__action","ds__btn",3,"disabled"],["type","button",1,"ds__action","ds__btn","ds__btn--locked",3,"click","disabled"],["name","fill_lock","fill","--icon-secondary",3,"width","height"],["type","button",1,"ds__action","ds__btn",3,"click","disabled"],["width","48","height","48",1,"ds__img","ds__img--sm",3,"src","alt"],[1,"ds__confirm-text"],[1,"ds__confirm-actions"],["type","button",1,"btn","ds__cancel","px-16",3,"click","disabled"],["type","button",1,"btn","btn-brand","px-16",3,"click","disabled"]],template:function(C,G){if(1&C&&(s.j41(0,"app-modal",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"div")(5,"div",4),s.EFF(6),s.nI1(7,"translate"),s.k0s(),s.j41(8,"div",5),s.EFF(9),s.nI1(10,"translate"),s.k0s()(),s.j41(11,"button",6),s.nI1(12,"translate"),s.bIt("click",function(){return G.close()}),s.nrm(13,"app-svg-icon",7),s.k0s()(),s.j41(14,"div",8),s.nrm(15,"img",9),s.j41(16,"span",10),s.EFF(17),s.k0s(),s.j41(18,"span",11),s.EFF(19),s.nI1(20,"translate"),s.k0s(),s.j41(21,"button",12),s.bIt("click",function(){return G.collect()}),s.j41(22,"span"),s.EFF(23),s.nI1(24,"translate"),s.k0s(),s.nrm(25,"app-svg-icon",13),s.k0s()(),s.j41(26,"div",14),s.nVh(27,qe,3,1,"div",15)(28,Lt,7,6,"div",16)(29,Ft,4,3,"div",16)(30,ir,3,0,"div",15),s.k0s(),s.nVh(31,Lr,12,15,"div",17),s.k0s()()()),2&C){let Ne;s.R7$(6),s.JRh(s.bMT(7,12,"diamond.txt_shop_title")),s.R7$(3),s.JRh(s.bMT(10,14,"diamond.txt_shop_desc")),s.R7$(2),s.BMQ("aria-label",s.bMT(12,16,"diamond.txt_close")),s.R7$(2),s.Y8G("width",20)("height",20),s.R7$(4),s.JRh(G.formattedBalance()),s.R7$(2),s.JRh(s.bMT(20,18,"diamond.txt_your_points")),s.R7$(4),s.JRh(s.bMT(24,20,"diamond.txt_collect")),s.R7$(2),s.Y8G("width",14)("height",14),s.R7$(2),s.vxM(G.loading()&&0===G.items().length?27:G.loadError()?28:0===G.items().length?29:30),s.R7$(4),s.vxM((Ne=G.pending())?31:-1,Ne)}},dependencies:[ve.z,mr.D,nn.h,nn.D9],styles:[".ds[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:16px;max-height:calc(100vh - 64px)}.ds__head[_ngcontent-%COMP%]{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.ds__title[_ngcontent-%COMP%]{font-size:20px;font-weight:700;color:var(--text-large-primary)}.ds__desc[_ngcontent-%COMP%]{margin-top:4px;font-size:14px;color:var(--text-small-secondary)}.ds__close[_ngcontent-%COMP%]{flex:0 0 auto;display:flex;padding:6px;border:0;border-radius:50%;background:transparent;cursor:pointer}.ds__close[_ngcontent-%COMP%]:hover{background-color:var(--surface-neutral-secondary)}.ds__balance[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:10px 14px;border-radius:16px;background-color:var(--surface-info-light)}.ds__balance-value[_ngcontent-%COMP%]{font-size:20px;font-weight:700;color:var(--text-info-tertiary)}.ds__balance-label[_ngcontent-%COMP%]{font-size:13px;color:var(--text-small-secondary)}.ds__collect[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:4px;margin-left:auto;padding:6px 12px;border:0;border-radius:999px;font-size:13px;font-weight:600;white-space:nowrap;background-color:var(--surface-default-inverse);color:var(--text-info-tertiary);cursor:pointer}.ds__collect[_ngcontent-%COMP%]:hover{filter:brightness(.97)}.ds__body[_ngcontent-%COMP%]{flex:1 1 auto;min-height:0;overflow-y:auto}.ds__grid[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.ds__item[_ngcontent-%COMP%]{position:relative;display:flex;flex-direction:column;align-items:center;gap:8px;padding:12px 8px;border:2px solid var(--border-primary);border-radius:16px;transition:border-color .15s}.ds__item--skeleton[_ngcontent-%COMP%]{height:168px;border:0}.ds__item--selected[_ngcontent-%COMP%]{border-color:var(--border-brand-primary)}.ds__item--locked[_ngcontent-%COMP%] .ds__img[_ngcontent-%COMP%]{filter:saturate(.55)}.ds__vip[_ngcontent-%COMP%]{position:absolute;top:6px;right:6px;display:inline-flex;align-items:center;gap:4px;padding:2px 8px;border-radius:99px;font-size:12px;font-weight:600;color:var(--text-white);background-color:var(--surface-black-dim);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.ds__img[_ngcontent-%COMP%]{width:72px;height:72px;object-fit:contain}.ds__img--sm[_ngcontent-%COMP%]{width:48px;height:48px}.ds__img--empty[_ngcontent-%COMP%]{border-radius:12px;background-color:var(--surface-neutral-secondary)}.ds__name[_ngcontent-%COMP%]{width:100%;overflow:hidden;font-size:13px;font-weight:600;text-align:center;text-overflow:ellipsis;white-space:nowrap;color:var(--text-small-primary)}.ds__price[_ngcontent-%COMP%]{display:flex;align-items:center;gap:4px;font-weight:700;color:var(--text-info-tertiary)}.ds__action[_ngcontent-%COMP%]{display:block;width:100%;margin-top:auto;padding:6px 8px;border:0;border-radius:999px;font-size:13px;font-weight:600;line-height:20px;text-align:center}.ds__tag[_ngcontent-%COMP%]{background-color:var(--surface-success-light);color:var(--text-success-primary)}.ds__btn[_ngcontent-%COMP%]{background-color:var(--surface-brand-primary);color:var(--text-on-brand);cursor:pointer}.ds__btn[_ngcontent-%COMP%]:hover:not(:disabled){background-color:var(--surface-brand-secondary)}.ds__btn--locked[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;gap:4px;background-color:var(--surface-neutral-secondary);color:var(--text-small-primary)}.ds__btn--locked[_ngcontent-%COMP%]:hover:not(:disabled){background-color:var(--surface-neutral-tertiary)}.ds__btn[_ngcontent-%COMP%]:disabled{background-color:var(--surface-disabled);color:var(--text-disabled);cursor:not-allowed}.ds__state[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;gap:12px;padding:32px 0;color:var(--text-small-secondary)}.ds__confirm[_ngcontent-%COMP%]{display:flex;align-items:center;flex-wrap:wrap;gap:12px;padding:12px;border-radius:16px;background-color:var(--surface-neutral-primary)}.ds__confirm-text[_ngcontent-%COMP%]{flex:1 1 160px;font-weight:600}.ds__confirm-actions[_ngcontent-%COMP%]{display:flex;gap:8px;margin-left:auto}.ds__cancel[_ngcontent-%COMP%]{background-color:var(--surface-neutral-tertiary);color:var(--text-small-primary)}.ds__cancel[_ngcontent-%COMP%]:hover:not(:disabled){background-color:var(--surface-neutral-secondary)}@media(max-width:568px){.ds__grid[_ngcontent-%COMP%]{grid-template-columns:repeat(3,1fr);gap:8px}.ds__img[_ngcontent-%COMP%]{width:56px;height:56px}.ds__confirm-actions[_ngcontent-%COMP%]{width:100%}.ds__confirm-actions[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{flex:1}}"],changeDetection:0}))}return p(),v})();var er=l(5661);let oo=(()=>{var p;class v{constructor(){this.document=(0,u.WQX)(u.qQL),this.platform=(0,u.WQX)(_r.f),this.storage=(0,u.WQX)(zn.n),this.translate=(0,u.WQX)(nn.c$)}resolve(){const h=this.fromUrl();if(h)return h;if(!this.platform.isBrowser)return er.xN;const C=this.storage.getLocal(er.dD);if((0,er.Be)(C))return C;const G=this.translate.getBrowserLang();return(0,er.Be)(G)?G:er.xN}fromUrl(){const h=this.document.location?.search;if(!h)return null;const C=new URLSearchParams(h).get(er.Un);return(0,er.Be)(C)?C:null}static#e=p=()=>(this.\u0275fac=function(C){return new(C||v)},this.\u0275prov=u.jDH({token:v,factory:v.\u0275fac,providedIn:"root"}))}return p(),v})();const ho=["fastSearch"];let io=(()=>{var p;class v{constructor(){this.translate=(0,u.WQX)(nn.c$),this.broadcaster=(0,u.WQX)(nr.y),this.studyQueue=(0,u.WQX)(Zn.x),this.wordMarks=(0,u.WQX)(rr.T),this.settingService=(0,u.WQX)(dr.q),this.document=(0,u.WQX)(u.qQL),this.router=(0,u.WQX)(Pn.Ix),this.rsService=(0,u.WQX)(Gn.o),this.userService=(0,u.WQX)($n.G),this.platform=(0,u.WQX)(_r.f),this.storage=(0,u.WQX)(zn.n),this.langStore=(0,u.WQX)(wr.s),this.sessionStore=(0,u.WQX)(Er.c),this.langResolver=(0,u.WQX)(oo),this.seoService=(0,u.WQX)(xr.B),this.url="",this.user=(0,u.vPA)(void 0),this.setting=(0,u.vPA)(void 0),this.seltext="",this.fastSearch=(0,j.ebz)("fastSearch"),this.platform.isBrowser&&(this.user.set(this.storage.getLocal("inforUser")),this.user()&&(this.sessionStore.setLoginStatus(!0),this.sessionStore.setUser(this.user()),this.refreshInforUser()),this.sessionStore.userChanges$.pipe((0,Kn.pQ)()).subscribe(h=>{void 0!==h&&this.user.set(h)}),this.setting.set(this.storage.getLocal("setting")||gr.H),this.toggleDarkMode(),this.settingService.getListSetting().subscribe(h=>{this.setting.set(h),this.toggleDarkMode()}))}ngOnInit(){const h=this.langResolver.resolve();this.router.events.pipe((0,Bn.p)(C=>C instanceof Pn.wF)).subscribe(()=>this.seoService.applyRobots()),this.seoService.applyRobots(),this.studyQueue.replayPending(),this.wordMarks.replayPending(),this.platform.isBrowser&&(this.router.events.pipe((0,Bn.p)(C=>C instanceof Pn.wF)).subscribe(()=>this.applyLangFromUrl()),this.storage.setLocal(er.dD,h)),this.translate.setDefaultLang(h),this.langStore.setLangPack(h),this.translate.use(h)}ngAfterViewInit(){const h=this.fastSearch();h&&(h.nativeElement.style.top="0px",h.nativeElement.style.left="0px")}applyLangFromUrl(){const h=this.langResolver.fromUrl();!h||h===this.langStore.langPack()||(this.langStore.setLangPack(h),this.storage.setLocal(er.dD,h),this.translate.use(h))}toggleDarkMode(){this.platform.isBrowser&&(this.setting()?.darkMode?this.document.body.classList.add("theme-dark","dark-theme"):this.document.body.classList.remove("theme-dark","dark-theme"))}onMouseLeave(h){let C=window.getSelection&&window.getSelection();if(C&&C.rangeCount>0){const G=this.document.querySelectorAll(".community-component"),Ne=/\/test\/.+?\/history\//g;if(this.router.url.includes("/search")||G?.length>0||Ne.test(this.router.url)){const Bt=window.getSelection().getRangeAt(0).cloneContents(),zt=this.document.createElement("SPAN");zt.appendChild(Bt);let Pt=zt.innerHTML.replace(/(<([^>]+)>)/gi,"").replace(/\ /g," ");const Ut=this.fastSearch();if(!Ut)return;""!==Pt?(Pt=Pt.replace(/[!@#$%^&*,.;:{}`+=()]/g,"").trim(),this.seltext=Pt.toLocaleLowerCase(),Ut.nativeElement.style.top=h.clientY+window.scrollY+15+"px",Ut.nativeElement.style.left=h.clientX-10+"px",Ut.nativeElement.style.display="block"):Ut.nativeElement.style.display="none"}}}refreshInforUser(){this.userService.initLogin().subscribe({next:h=>{if(!h)return;const C=this.user(),G={...C,...h};!h.remember_token&&C?.remember_token&&(G.remember_token=C.remember_token),this.user.set(G),this.sessionStore.setUser(G),this.sessionStore.setUser(G)},error:()=>{}})}goFastSearch(){this.broadcaster.broadcast("detail-word",{type:(0,bn.mY)(this.seltext)?"vien":"envi",query:this.seltext,key:this.seltext});const h=this.fastSearch();h&&(h.nativeElement.style.display="none")}static#e=p=()=>(this.\u0275fac=function(C){return new(C||v)},this.\u0275cmp=s.VBU({type:v,selectors:[["app-root"]],viewQuery:function(C,G){1&C&&s.wEZ(G.fastSearch,ho,5),2&C&&s.NyB()},hostBindings:function(C,G){1&C&&s.bIt("mouseup",function(dt){return G.onMouseLeave(dt)},s.tSv)},decls:12,vars:12,consts:[["mainElm",""],["fastSearch",""],[1,"fast-search",3,"click","title"],["src","/assets/images/icons/ic_quicksearch_black.png","alt","search","title","search",1,"icon-24","black-fast-search"],["src","/assets/images/icons/ic_quicksearch_white.png","alt","search","title","search",1,"icon-24","white-fast-search"]],template:function(C,G){if(1&C){const Ne=s.RV6();s.j41(0,"div",null,0),s.nrm(2,"router-outlet")(3,"app-notify")(4,"app-setting")(5,"app-label-list-overlay")(6,"app-diamond-shop"),s.j41(7,"div",2,1),s.nI1(9,"translate"),s.bIt("click",function(){return u.eBV(Ne),u.Njj(G.goFastSearch())}),s.nrm(10,"img",3)(11,"img",4),s.k0s()()}if(2&C){let Ne,dt;s.AVh("theme-black",!(null==(Ne=G.setting())||!Ne.darkMode))("font-cute","cute"===(null==(dt=G.setting())?null:dt.font)),s.R7$(7),s.xc7("top",163,"px")("left",230,"px"),s.Y8G("title",s.mNQ(s.bMT(9,10,"txt_quickSearch")))}},dependencies:[Pn.n3,vt,Nt.u,jn,Yr,nn.D9],styles:[".fast-search[_ngcontent-%COMP%]{width:24px;height:24px;z-index:9999;
1left:0;top:0;position:absolute;cursor:pointer;display:none;background:none}.white-fast-search[_ngcontent-%COMP%], .theme-black[_ngcontent-%COMP%] .black-fast-search[_ngcontent-%COMP%]{display:none}.theme-black[_ngcontent-%COMP%] .white-fast-search[_ngcontent-%COMP%]{display:block}"],changeDetection:0}))}return p(),v})();var Kr=l(8132);let ur=(()=>{class p{doc;delegate;zone;animationType;moduleImpl;_rendererFactoryPromise=null;scheduler=null;injector=(0,u.WQX)(u.zZn);loadingSchedulerFn=(0,u.WQX)(Eo,{optional:!0});_engine;constructor(D,h,C,G,Ne){this.doc=D,this.delegate=h,this.zone=C,this.animationType=G,this.moduleImpl=Ne}ngOnDestroy(){this._engine?.flush()}loadImpl(){const D=()=>this.moduleImpl??Promise.all([l.e(1514),l.e(6449)]).then(l.bind(l,6449)).then(C=>C);let h;return h=this.loadingSchedulerFn?this.loadingSchedulerFn(D):D(),h.catch(C=>{throw new u.buA(5300,!1)}).then(({\u0275createEngine:C,\u0275AnimationRendererFactory:G})=>{this._engine=C(this.animationType,this.doc);const Ne=new G(this.delegate,this._engine,this.zone);return this.delegate=Ne,Ne})}createRenderer(D,h){const C=this.delegate.createRenderer(D,h);if(0===C.\u0275type)return C;"boolean"==typeof C.throwOnSyntheticProps&&(C.throwOnSyntheticProps=!1);const G=new tn(C);return h?.data?.animation&&!this._rendererFactoryPromise&&(this._rendererFactoryPromise=this.loadImpl()),this._rendererFactoryPromise?.then(Ne=>{const dt=Ne.createRenderer(D,h);G.use(dt),this.scheduler??=this.injector.get(u.hk6,null,{optional:!0}),this.scheduler?.notify(10)}).catch(Ne=>{G.use(C)}),G}begin(){this.delegate.begin?.()}end(){this.delegate.end?.()}whenRenderingDone(){return this.delegate.whenRenderingDone?.()??Promise.resolve()}componentReplaced(D){this._engine?.flush(),this.delegate.componentReplaced?.(D)}static \u0275fac=function(h){s.QTQ()};static \u0275prov=u.jDH({token:p,factory:p.\u0275fac})}return p})();class tn{delegate;replay=[];\u0275type=1;constructor(v){this.delegate=v}use(v){if(this.delegate=v,null!==this.replay){for(const D of this.replay)D(v);this.replay=null}}get data(){return this.delegate.data}destroy(){this.replay=null,this.delegate.destroy()}createElement(v,D){return this.delegate.createElement(v,D)}createComment(v){return this.delegate.createComment(v)}createText(v){return this.delegate.createText(v)}get destroyNode(){return this.delegate.destroyNode}appendChild(v,D){this.delegate.appendChild(v,D)}insertBefore(v,D,h,C){this.delegate.insertBefore(v,D,h,C)}removeChild(v,D,h,C){this.delegate.removeChild(v,D,h,C)}selectRootElement(v,D){return this.delegate.selectRootElement(v,D)}parentNode(v){return this.delegate.parentNode(v)}nextSibling(v){return this.delegate.nextSibling(v)}setAttribute(v,D,h,C){this.delegate.setAttribute(v,D,h,C)}removeAttribute(v,D,h){this.delegate.removeAttribute(v,D,h)}addClass(v,D){this.delegate.addClass(v,D)}removeClass(v,D){this.delegate.removeClass(v,D)}setStyle(v,D,h,C){this.delegate.setStyle(v,D,h,C)}removeStyle(v,D,h){this.delegate.removeStyle(v,D,h)}setProperty(v,D,h){this.shouldReplay(D)&&this.replay.push(C=>C.setProperty(v,D,h)),this.delegate.setProperty(v,D,h)}setValue(v,D){this.delegate.setValue(v,D)}listen(v,D,h,C){return this.shouldReplay(D)&&this.replay.push(G=>G.listen(v,D,h,C)),this.delegate.listen(v,D,h,C)}shouldReplay(v){return null!==this.replay&&v.startsWith("@")}}const Eo=new u.nKC("");var ao=l(1910),Jo=l(7440),Do=l(4412),R=l(1985),le=l(7242),U=l(941),ee=l(9974),Se=l(4360),lt=l(8750),ht=l(3669),Qt=l(5343),Vn=l(9326);function Mn(...p){const v=(0,Vn.ms)(p);return(0,ee.N)((D,h)=>{const C=p.length,G=new Array(C);let Ne=p.map(()=>!1),dt=!1;for(let Bt=0;Bt<C;Bt++)(0,lt.Tg)(p[Bt]).subscribe((0,Se._)(h,zt=>{G[Bt]=zt,!dt&&!Ne[Bt]&&(Ne[Bt]=!0,(dt=Ne.every(ht.D))&&(Ne=null))},Qt.l));D.subscribe((0,Se._)(h,Bt=>{if(dt){const zt=[Bt,...G];h.next(v?v(...zt):zt)}}))})}var En=l(2816),dn=l(6354),Yn=l(3294);const zr={};function ci(p,v){return Object.defineProperty(v,"type",{value:p,writable:!1})}const Ho="@ngrx/store/init";let qr=(()=>{var p;class v extends Do.t{constructor(){super({type:Ho})}next(h){if("function"==typeof h)throw new TypeError("\n Dispatch expected an object, instead it received a function.\n If you're using the createAction function, make sure to invoke the function\n before dispatching the action. For example, someAction should be someAction().");if(typeof h>"u")throw new TypeError("Actions must be objects");if(typeof h.type>"u")throw new TypeError("Actions must have a type property");super.next(h)}complete(){}ngOnDestroy(){super.complete()}static#e=p=()=>(this.\u0275fac=function(C){return new(C||v)},this.\u0275prov=u.jDH({token:v,factory:v.\u0275fac}))}return p(),v})();const Ko=[qr],go=new u.nKC("@ngrx/store Internal Root Guard"),Co=new u.nKC("@ngrx/store Internal Initial State"),_o=new u.nKC("@ngrx/store Initial State"),ei=new u.nKC("@ngrx/store Reducer Factory"),Mo=new u.nKC("@ngrx/store Internal Reducer Factory Provider"),Po=new u.nKC("@ngrx/store Initial Reducers"),Pi=new u.nKC("@ngrx/store Internal Initial Reducers"),ti=new u.nKC("@ngrx/store Internal Store Reducers"),zo=new u.nKC("@ngrx/store User Provided Meta Reducers"),wo=new u.nKC("@ngrx/store Meta Reducers"),So=new u.nKC("@ngrx/store Internal Resolved Meta Reducers"),kr=new u.nKC("@ngrx/store User Runtime Checks Config"),Lo=new u.nKC("@ngrx/store Internal User Runtime Checks Config"),bo=new u.nKC("@ngrx/store Internal Runtime Checks"),wi=new u.nKC("@ngrx/store Check if Action types are unique"),Si=new u.nKC("@ngrx/store Root Store Provider"),Vi=new u.nKC("@ngrx/store Feature State Provider");function Ri(p,v={}){const D=Object.keys(p),h={};for(let G=0;G<D.length;G++){const Ne=D[G];"function"==typeof p[Ne]&&(h[Ne]=p[Ne])}const C=Object.keys(h);
1return function(Ne,dt){Ne=void 0===Ne?v:Ne;let Bt=!1;const zt={};for(let Pt=0;Pt<C.length;Pt++){const Ut=C[Pt],Mr=Ne[Ut],Ln=(0,h[Ut])(Mr,dt);zt[Ut]=Ln,Bt=Bt||Ln!==Mr}return Bt?zt:Ne}}function lo(...p){return function(v){if(0===p.length)return v;const D=p[p.length-1];return p.slice(0,-1).reduceRight((C,G)=>G(C),D(v))}}function w(p,v){return Array.isArray(v)&&v.length>0&&(p=lo.apply(null,[...v,p])),(D,h)=>{const C=p(D);return(G,Ne)=>C(G=void 0===G?h:G,Ne)}}class E extends R.c{}class K extends qr{}const Ce="@ngrx/store/update-reducers";let Yt=(()=>{var p;class v extends Do.t{get currentReducers(){return this.reducers}constructor(h,C,G,Ne){super(Ne(G,C)),this.dispatcher=h,this.initialState=C,this.reducers=G,this.reducerFactory=Ne}addFeature(h){this.addFeatures([h])}addFeatures(h){const C=h.reduce((G,{reducers:Ne,reducerFactory:dt,metaReducers:Bt,initialState:zt,key:Pt})=>{const Ut="function"==typeof Ne?function x(p){const v=Array.isArray(p)&&p.length>0?lo(...p):D=>D;return(D,h)=>(D=v(D),(C,G)=>D(C=void 0===C?h:C,G))}(Bt)(Ne,zt):w(dt,Bt)(Ne,zt);return G[Pt]=Ut,G},{});this.addReducers(C)}removeFeature(h){this.removeFeatures([h])}removeFeatures(h){this.removeReducers(h.map(C=>C.key))}addReducer(h,C){this.addReducers({[h]:C})}addReducers(h){this.reducers={...this.reducers,...h},this.updateReducers(Object.keys(h))}removeReducer(h){this.removeReducers([h])}removeReducers(h){h.forEach(C=>{this.reducers=function Ro(p,v){return Object.keys(p).filter(D=>D!==v).reduce((D,h)=>Object.assign(D,{[h]:p[h]}),{})}(this.reducers,C)}),this.updateReducers(h)}updateReducers(h){this.next(this.reducerFactory(this.reducers,this.initialState)),this.dispatcher.next({type:Ce,features:h})}ngOnDestroy(){this.complete()}static#e=p=()=>(this.\u0275fac=function(C){return new(C||v)(u.KVO(K),u.KVO(_o),u.KVO(Po),u.KVO(ei))},this.\u0275prov=u.jDH({token:v,factory:v.\u0275fac}))}return p(),v})();const In=[Yt,{provide:E,useExisting:Yt},{provide:K,useExisting:qr}];let $r=(()=>{var p;class v extends Je.B{ngOnDestroy(){this.complete()}static#e=p=()=>(this.\u0275fac=(()=>{let h;return function(G){return(h||(h=s.xGo(v)))(G||v)}})(),this.\u0275prov=u.jDH({token:v,factory:v.\u0275fac}))}return p(),v})();const Go=[$r];class Xo extends R.c{}let ui=(()=>{var p;class v extends Do.t{constructor(h,C,G,Ne){super(Ne);const Pt=h.pipe((0,U.Q)(le.T)).pipe(Mn(C)).pipe((0,En.S)(Wi,{state:Ne}));this.stateSubscription=Pt.subscribe(({state:Ut,action:On})=>{this.next(Ut),G.next(On)}),this.state=(0,Kn.ot)(this,{manualCleanup:!0,requireSync:!0})}ngOnDestroy(){this.stateSubscription.unsubscribe(),this.complete()}static#e=p=()=>(this.INIT=Ho,this.\u0275fac=function(C){return new(C||v)(u.KVO(qr),u.KVO(E),u.KVO($r),u.KVO(_o))},this.\u0275prov=u.jDH({token:v,factory:v.\u0275fac}))}return p(),v})();function Wi(p={state:void 0},[v,D]){const{state:h}=p;return{state:D(h,v),action:v}}const xi=[ui,{provide:Xo,useExisting:ui}];let di=(()=>{var p;class v extends R.c{constructor(h,C,G,Ne){super(),this.actionsObserver=C,this.reducerManager=G,this.injector=Ne,this.source=h,this.state=h.state}select(h,...C){return _s.call(null,h,...C)(this)}selectSignal(h,C){return(0,Kt.EW)(()=>h(this.state()),C)}lift(h){const C=new v(this,this.actionsObserver,this.reducerManager);return C.operator=h,C}dispatch(h,C){if("function"==typeof h)return this.processDispatchFn(h,C);this.actionsObserver.next(h)}next(h){this.actionsObserver.next(h)}error(h){this.actionsObserver.error(h)}complete(){this.actionsObserver.complete()}addReducer(h,C){this.reducerManager.addReducer(h,C)}removeReducer(h){this.reducerManager.removeReducer(h)}processDispatchFn(h,C){!function yr(p,v){if(null==p)throw new Error(`${v} must be defined.`)}(this.injector,"Store Injector");const G=C?.injector??function ts(){try{return(0,u.WQX)(u.zZn)}catch{return}}()??this.injector;return(0,Kt.QZ)(()=>{const Ne=h();(0,Kt.O8)(()=>this.dispatch(Ne))},{injector:G})}static#e=p=()=>(this.\u0275fac=function(C){return new(C||v)(u.KVO(Xo),u.KVO(qr),u.KVO(Yt),u.KVO(u.zZn))},this.\u0275prov=u.jDH({token:v,factory:v.\u0275fac}))}return p(),v})();const Ei=[di];function _s(p,v,...D){return function(C){let G;
1if("string"==typeof p){const Ne=[v,...D].filter(Boolean);G=C.pipe(function Hn(...p){const v=p.length;if(0===v)throw new Error("list of properties cannot be empty.");return(0,dn.T)(D=>{let h=D;for(let C=0;C<v;C++){const G=h?.[p[C]];if(!(typeof G<"u"))return;h=G}return h})}(p,...Ne))}else{if("function"!=typeof p)throw new TypeError(`Unexpected type '${typeof p}' in select operator, expected 'string' or 'function'`);G=C.pipe((0,dn.T)(Ne=>p(Ne,v)))}return G.pipe((0,Yn.F)())}}const Ms="https://ngrx.io/guide/store/configuration/runtime-checks";function ns(p){return void 0===p}function Di(p){return null===p}function ms(p){return Array.isArray(p)}function $i(p){return"object"==typeof p&&null!==p}function hi(p){return"function"==typeof p}function Li(p){return p instanceof u.nKC?(0,u.WQX)(p):p}function ni(p){return"function"==typeof p?p():p}function uo(p,v){return p.concat(v)}function Fi(){if((0,u.WQX)(di,{optional:!0,skipSelf:!0}))throw new TypeError("The root Store has been provided more than once. Feature modules should provide feature states instead.");return"guarded"}function ri(p){Object.freeze(p);const v=hi(p);return Object.getOwnPropertyNames(p).forEach(D=>{if(!D.startsWith("\u0275")&&function Fo(p,v){return Object.prototype.hasOwnProperty.call(p,v)}(p,D)&&(!v||"caller"!==D&&"callee"!==D&&"arguments"!==D)){const h=p[D];($i(h)||hi(h))&&!Object.isFrozen(h)&&ri(h)}}),p}function pi(p,v=[]){return(ns(p)||Di(p))&&0===v.length?{path:["root"],value:p}
1:Object.keys(p).reduce((h,C)=>{if(h)return h;const G=p[C];return function Ir(p){return hi(p)&&p.hasOwnProperty("\u0275cmp")}(G)?h:!(ns(G)||Di(G)||function fi(p){return"number"==typeof p}(G)||function Ls(p){return"boolean"==typeof p}(G)||function rs(p){return"string"==typeof p}(G)||ms(G))&&(function Hi(p){if(!function vs(p){return $i(p)&&!ms(p)}(p))return!1;const v=Object.getPrototypeOf(p);return v===Object.prototype||null===v}(G)?pi(G,[...v,C]):{path:[...v,C],value:G})},!1)}function Bo(p,v){if(!1===p)return;const D=p.path.join("."),h=new Error(`Detected unserializable ${v} at "${D}". ${Ms}#strict${v}serializability`);throw h.value=p.value,h.unserializablePath=D,h}function Xi(p){return(0,j.naY)()?{strictStateSerializability:!1,strictActionSerializability:!1,strictStateImmutability:!0,strictActionImmutability:!0,strictActionWithinNgZone:!1,strictActionTypeUniqueness:!1,...p}:{strictStateSerializability:!1,strictActionSerializability:!1,strictStateImmutability:!1,strictActionImmutability:!1,strictActionWithinNgZone:!1,strictActionTypeUniqueness:!1}}function Os({strictActionSerializability:p,strictStateSerializability:v}){return D=>p||v?function zi(p,v){return function(D,h){v.action(h)&&Bo(pi(h),"action");const C=p(D,h);return v.state()&&Bo(pi(C),"state"),C}}(D,{action:h=>p&&!gi(h),state:()=>v}):D}function _n({strictActionImmutability:p,strictStateImmutability:v}){return D=>p||v?function ki(p,v){return function(D,h){const C=v.action(h)?ri(h):h,G=p(D,C);return v.state()?ri(G):G}}(D,{action:h=>p&&!gi(h),state:()=>v}):D}function gi(p){return p.type.startsWith("@ngrx")}function Qi({strictActionWithinNgZone:p}){return v=>p?function Gi(p,v){return function(D,h){if(v.action(h)&&!s.SKi.isInAngularZone())throw new Error(`Action '${h.type}' running outside NgZone. ${Ms}#strictactionwithinngzone`);return p(D,h)}}(v,{action:D=>p&&!gi(D)}):v}function Yi(p){return[{provide:Lo,useValue:p},{provide:kr,useFactory:As,deps:[Lo]},{provide:bo,deps:[kr],useFactory:Xi},{provide:wo,multi:!0,deps:[bo],useFactory:_n},{provide:wo,multi:!0,deps:[bo],useFactory:Os},{provide:wo,multi:!0,deps:[bo],useFactory:Qi}]}function As(p){return p}function Ds(p){if(!p.strictActionTypeUniqueness)return;const v=Object.entries(zr).filter(([,D])=>D>1).map(([D])=>D);if(v.length)throw new Error(`Action types are registered more than once, ${v.map(D=>`"${D}"`).join(", ")}. ${Ms}#strictactiontypeuniqueness`)}function ye(p={},v={}){return[{provide:go,useFactory:Fi},{provide:Co,useValue:v.initialState},{provide:_o,useFactory:ni,deps:[Co]},{provide:Pi,useValue:p},{provide:ti,useExisting:p instanceof u.nKC?p:Pi},{provide:Po,deps:[Pi,[new s.y_5(ti)]],useFactory:Li},{provide:zo,useValue:v.metaReducers?v.metaReducers:[]},{provide:So,deps:[wo,zo],useFactory:uo},{provide:Mo,useValue:v.reducerFactory?v.reducerFactory:Ri},{provide:ei,deps:[Mo,So],useFactory:w},Ko,In,Go,xi,Ei,Yi(v.runtimeChecks),[{provide:wi,multi:!0,deps:[bo],useFactory:Ds}]]}const ot=[{provide:Si,useFactory:function xe(){(0,u.WQX)(qr),(0,u.WQX)(E),(0,u.WQX)($r),(0,u.WQX)(di),(0,u.WQX)(go,{optional:!0}),(0,u.WQX)(wi,{optional:!0})}},(0,u.BCV)(()=>(0,u.WQX)(Si))];(0,u.BCV)(()=>(0,u.WQX)(Vi));var Q=l(7786),pe=l(3557),He=l(983),ct=l(7673),sn=l(8810),tr=l(8071);class Gr{constructor(v,D,h){this.kind=v,this.value=D,this.error=h,this.hasValue="N"===v}observe(v){return Oi(this,v)}do(v,D,h){const{kind:C,value:G,error:Ne}=this;return"N"===C?v?.(G):"E"===C?D?.(Ne):h?.()}accept(v,D,h){var C;return(0,tr.T)(null===(C=v)||void 0===C?void 0:C.next)?this.observe(v):this.do(v,D,h)}toObservable(){const{kind:v,value:D,error:h}=this,C="N"===v?(0,ct.of)(D):"E"===v?(0,sn.$)(()=>h):"C"===v?He.w:0;if(!C)throw new TypeError(`Unexpected notification kind ${v}`);return C}static createNext(v){return new Gr("N",v)}static createError(v){return new Gr("E",void 0,v)}static createComplete(){return Gr.completeNotification}}function Oi(p,v){var D,h,C;const{kind:G,value:Ne,error:dt}=p;if("string"!=typeof G)throw new TypeError('Invalid notification, missing "kind"');"N"===G?null===(D=v.next)||void 0===D||D.call(v,Ne):"E"===G?null===(h=v.error)||void 0===h||h.
1call(v,dt):null===(C=v.complete)||void 0===C||C.call(v)}Gr.completeNotification=new Gr("C");var Zi=l(9437);function _i(p,v,D,h){return(0,ee.N)((C,G)=>{let Ne;v&&"function"!=typeof v?({duration:D,element:Ne,connector:h}=v):Ne=v;const dt=new Map,Bt=Ln=>{dt.forEach(Ln),Ln(G)},zt=Ln=>Bt(Tn=>Tn.error(Ln));let Pt=0,Ut=!1;const On=new Se.H(G,Ln=>{try{const Tn=p(Ln);let Br=dt.get(Tn);if(!Br){dt.set(Tn,Br=h?h():new Je.B);const Io=function Mr(Ln,Tn){const Br=new R.c(Io=>{Pt++;const Uo=Tn.subscribe(Io);return()=>{Uo.unsubscribe(),0===--Pt&&Ut&&On.unsubscribe()}});return Br.key=Ln,Br}(Tn,Br);if(G.next(Io),D){const Uo=(0,Se._)(Br,()=>{Br.complete(),Uo?.unsubscribe()},void 0,void 0,()=>dt.delete(Tn));On.add((0,lt.Tg)(D(Io)).subscribe(Uo))}}Br.next(Ne?Ne(Ln):Ln)}catch(Tn){zt(Tn)}},()=>Bt(Ln=>Ln.complete()),zt,()=>dt.clear(),()=>(Ut=!0,0===Pt));C.subscribe(On)})}var ls=l(1397),Gs=l(786),mi=l(6697);const ks="__@ngrx/effects_create__";function $(p){return Object.getPrototypeOf(p)}function Ke(p){return"function"==typeof p}function kt(p,v,D){const h=$(p),G=h&&"Object"!==h.constructor.name?h.constructor.name:null,Ne=function S(p){return function ca(p){return Object.getOwnPropertyNames(p).filter(h=>!(!p[h]||!p[h].hasOwnProperty(ks))&&p[h][ks].hasOwnProperty("dispatch")).map(h=>({propertyName:h,...p[h][ks]}))}(p)}(p).map(({propertyName:dt,dispatch:Bt,useEffectsErrorHandler:zt})=>{const Pt="function"==typeof p[dt]?p[dt]():p[dt],Ut=zt?D(Pt,v):Pt;return!1===Bt?Ut.pipe((0,pe.w)()):Ut.pipe(function fo(){return(0,ee.N)((p,v)=>{p.subscribe((0,Se._)(v,D=>{v.next(Gr.createNext(D))},()=>{v.next(Gr.createComplete()),v.complete()},D=>{v.next(Gr.createError(D)),v.complete()}))})}()).pipe((0,dn.T)(Mr=>({effect:p[dt],notification:Mr,propertyName:dt,sourceName:G,sourceInstance:p})))});return(0,Q.h)(...Ne)}function mn(p,v,D=10){return p.pipe((0,Zi.W)(h=>(v&&v.handleError(h),D<=1?p:mn(p,v,D-1))))}const us=new u.nKC("@ngrx/effects Effects Error Handler",{providedIn:"root",factory:()=>mn}),Bs=function Zr(p,v){if(zr[p]=(zr[p]||0)+1,"function"==typeof v)return ci(p,(...h)=>({...v(...h),type:p}));switch(v?v._as:"empty"){case"empty":return ci(p,()=>({type:p}));case"props":return ci(p,h=>({...h,type:p}));default:throw new Error("Unexpected config.")}}("@ngrx/effects/init");function Oc(p){return Zs(p,"ngrxOnInitEffects")}function Zs(p,v){return p&&v in p&&"function"==typeof p[v]}let Tc=(()=>{var p;class v extends Je.B{constructor(h,C){super(),this.errorHandler=h,this.effectsErrorHandler=C}addEffects(h){this.next(h)}toActions(){return this.pipe(_i(h=>function ge(p){return!!p.constructor&&"Object"!==p.constructor.name&&"Function"!==p.constructor.name}(h)?$(h):h),(0,ls.Z)(h=>h.pipe(_i(Ka))),(0,ls.Z)(h=>{const C=h.pipe((0,Gs.p)(Ne=>function za(p,v){return D=>{const h=kt(D,p,v);return function Ha(p){return Zs(p,"ngrxOnRunEffects")}(D)?D.ngrxOnRunEffects(h):h}}(this.errorHandler,this.effectsErrorHandler)(Ne)),(0,dn.T)(Ne=>(function ds(p,v){if("N"===p.notification.kind){const D=p.notification.value;!function Ic(p){return"function"!=typeof p&&p&&p.type&&"string"==typeof p.type}(D)&&v.handleError(new Error(`Effect ${function Qs({propertyName:p,sourceInstance:v,sourceName:D}){const h="function"==typeof v[p];return D?`"${D}.${String(p)}${h?"()":""}"`:`"${String(p)}()"`}(p)} dispatched an invalid action: ${function js(p){try{return JSON.stringify(p)}catch{return p}}(D)}`))}}(Ne,this.errorHandler),Ne.notification)),(0,Bn.p)(Ne=>"N"===Ne.kind&&null!=Ne.value),function Ji(){return(0,ee.N)((p,v)=>{p.subscribe((0,Se._)(v,D=>Oi(D,v)))})}()),G=h.pipe((0,mi.s)(1),(0,Bn.p)(Oc),(0,dn.T)(Ne=>Ne.ngrxOnInitEffects()));return(0,Q.h)(C,G)}))}static#e=p=()=>(this.\u0275fac=function(C){return new(C||v)(u.KVO(u.zcH),u.KVO(us))},this.\u0275prov=u.jDH({token:v,factory:v.\u0275fac,providedIn:"root"}))}return p(),v})();function Ka(p){return function Ys(p){return Zs(p,"ngrxOnIdentifyEffects")}(p)?p.ngrxOnIdentifyEffects():""}let Ac=(()=>{var p;class v{get isStarted(){return!!this.effectsSubscription}constructor(h,C){this.effectSources=h,this.store=C,this.effectsSubscription=null}start(){this.effectsSubscription||(this.effectsSubscription=this.effectSources.toActions().subscribe(this.store))}ngOnDestroy(){this.effectsSubscription&&(this.effectsSubscription.unsubscribe(),this.effectsSubscription=null)}static#e=p=()=>(this.\u0275fac=function(C){return new(C||v)(u.KVO(Tc),u.KVO(di))},this.\u0275prov=u.jDH({token:v,factory:v.\u0275fac,providedIn:"root"}))}return p(),v})();var ua=l(2771),Xa=l(7647),xl=l(274),Qa=l(2087),_=l(152),F=l(6977),re=l(5558);const $t="PERFORM_ACTION",Xr="ROLLBACK",Nd="TOGGLE_ACTION",Fd="JUMP_TO_STATE",Nl="JUMP_TO_ACTION",Js="IMPORT_STATE",da="LOCK_CHANGES",Sc="PAUSE_RECORDING";class fa{constructor(v,D){if(this.action=v,this.timestamp=D,this.type=$t,typeof v.type>"u")throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?')}}class Ll{constructor(){this.type="REFRESH"}}class Fl{constructor(v){this.timestamp=v,this.type="RESET"}}class kl{constructor(v){this.timestamp=v,this.type=Xr}}class Bl{constructor(v){this.timestamp=v,this.type="COMMIT"}}class Ya{constructor(){this.type="SWEEP"}}class jl{constructor(v){this.id=v,this.type=Nd}}class kd{constructor(v){this.index=v,this.type=Fd}}class Za{constructor(v){this.actionId=v,this.type=Nl}}class Rc{constructor(v){this.nextLiftedState=v,this.type=Js}}class Ul{constructor(v){this.status=v,this.type=da}}class Vl{constructor(v){this.status=v,this.type=Sc}}const fs=new u.nKC("@ngrx/store-devtools Options"),Wl=new u.nKC("@ngrx/store-devtools Initial Config");function $l(){return null}function Ud(p){const v={maxAge:!1,monitor:$l,actionSanitizer:void 0,stateSanitizer:void 0,name:"NgRx Store DevTools",serialize:!1,logOnly:!1,autoPause:!1,trace:!1,traceLimit:75,features:{pause:!0,lock:!0,persist:!0,export:!0,import:"custom",jump:!0,skip:!0,reorder:!0,dispatch:!0,test:!0},connectInZone:!1},D="function"==typeof p?p():p,C=D.features||!!D.logOnly&&{pause:!0,export:!0,test:!0}||v.features;!0===C.import&&(C.import="custom");const G=Object.assign({},v,{features:C},D);if(G.maxAge&&G.maxAge<2)throw new Error(`Devtools 'maxAge' cannot be less than 2, got ${G.maxAge}`);return G}function Hl(p,v){return p.filter(D=>v.indexOf(D)<0)}function hs(p){const{computedStates:v,currentStateIndex:D}=p;if(D>=v.length){const{state:C}=v[v.length-1];return C}const{state:h}=v[D];return h}function ga(p){return new fa(p,+Date.now())}function Vd(p,v){return Object.keys(v).reduce((D,h)=>{const C=Number(h);return D[C]=Kl(p,v[C],C),D},{})}function Kl(p,v,D){return{...v,action:p(v.action,D)}}function Wd(p,v){return v.map((D,h)=>({state:zl(p,D.state,h),error:D.error}))}function zl(p,v,D){return p(v,D)}function Gl(p){return p.predicate||p.actionsSafelist||p.actionsBlocklist}
1function xc(p,v,D,h,C){const G=D&&!D(p,v.action),Ne=h&&!v.action.type.match(h.map(Bt=>Ql(Bt)).join("|")),dt=C&&v.action.type.match(C.map(Bt=>Ql(Bt)).join("|"));return G||Ne||dt}function Ql(p){return p.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function Yl(p){return{ngZone:p?(0,u.WQX)(s.SKi):null,connectInZone:p}}let Ja=(()=>{var p;class v extends qr{static#e=p=()=>(this.\u0275fac=(()=>{let h;return function(G){return(h||(h=s.xGo(v)))(G||v)}})(),this.\u0275prov=u.jDH({token:v,factory:v.\u0275fac}))}return p(),v})();const qi=new u.nKC("@ngrx/store-devtools Redux Devtools Extension");let qs=(()=>{var p;class v{constructor(h,C,G){this.config=C,this.dispatcher=G,this.zoneConfig=Yl(this.config.connectInZone),this.devtoolsExtension=h,this.createActionStreams()}notify(h,C){if(this.devtoolsExtension)if(h.type===$t){if(C.isLocked||C.isPaused)return;const G=hs(C);if(Gl(this.config)&&xc(G,h,this.config.predicate,this.config.actionsSafelist,this.config.actionsBlocklist))return;const Ne=this.config.stateSanitizer?zl(this.config.stateSanitizer,G,C.currentStateIndex):G,dt=this.config.actionSanitizer?Kl(this.config.actionSanitizer,h,C.nextActionId):h;this.sendToReduxDevtools(()=>this.extensionConnection.send(dt,Ne))}else{const G={...C,stagedActionIds:C.stagedActionIds,actionsById:this.config.actionSanitizer?Vd(this.config.actionSanitizer,C.actionsById):C.actionsById,computedStates:this.config.stateSanitizer?Wd(this.config.stateSanitizer,C.computedStates):C.computedStates};this.sendToReduxDevtools(()=>this.devtoolsExtension.send(null,G,this.getExtensionConfig(this.config)))}}createChangesObservable(){return this.devtoolsExtension?new R.c(h=>{const C=this.zoneConfig.connectInZone?this.zoneConfig.ngZone.runOutsideAngular(()=>this.devtoolsExtension.connect(this.getExtensionConfig(this.config))):this.devtoolsExtension.connect(this.getExtensionConfig(this.config));return this.extensionConnection=C,C.init(),C.subscribe(G=>h.next(G)),C.unsubscribe}):He.w}createActionStreams(){const h=this.createChangesObservable().pipe((0,Xa.u)()),C=h.pipe((0,Bn.p)(Pt=>"START"===Pt.type)),G=h.pipe((0,Bn.p)(Pt=>"STOP"===Pt.type)),Ne=h.pipe((0,Bn.p)(Pt=>"DISPATCH"===Pt.type),(0,dn.T)(Pt=>this.unwrapAction(Pt.payload)),(0,xl.H)(Pt=>Pt.type===Js?this.dispatcher.pipe((0,Bn.p)(Ut=>Ut.type===Ce),(0,Qa.w)(1e3),(0,_.B)(1e3),(0,dn.T)(()=>Pt),(0,Zi.W)(()=>(0,ct.of)(Pt)),(0,mi.s)(1)):(0,ct.of)(Pt))),Bt=h.pipe((0,Bn.p)(Pt=>"ACTION"===Pt.type),(0,dn.T)(Pt=>this.unwrapAction(Pt.payload))).pipe((0,F.Q)(G)),zt=Ne.pipe((0,F.Q)(G));this.start$=C.pipe((0,F.Q)(G)),this.actions$=this.start$.pipe((0,re.n)(()=>Bt)),this.liftedActions$=this.start$.pipe((0,re.n)(()=>zt))}unwrapAction(h){return"string"==typeof h?(0,eval)(`(${h})`):h}getExtensionConfig(h){const C={name:h.name,features:h.features,serialize:h.serialize,autoPause:h.autoPause??!1,trace:h.trace??!1,traceLimit:h.traceLimit??75};return!1!==h.maxAge&&(C.maxAge=h.maxAge),C}sendToReduxDevtools(h){try{h()}catch(C){console.warn("@ngrx/store-devtools: something went wrong inside the redux devtools",C)}}static#e=p=()=>(this.\u0275fac=function(C){return new(C||v)(u.KVO(qi),u.KVO(fs),u.KVO(Ja))},this.\u0275prov=u.jDH({token:v,factory:v.\u0275fac}))}return p(),v})();const _a={type:Ho},Zl={type:"@ngrx/store-devtools/recompute"};function Hd(p,v,D,h,C){if(h)return{state:D,error:"Interrupted by an error up the chain"};let Ne,G=D;try{G=p(D,v)}catch(dt){Ne=dt.toString(),C.handleError(dt)}return{state:G,error:Ne}}function Nc(p,v,D,h,C,G,Ne,dt,Bt){if(v>=p.length&&p.length===G.length)return p;
1const zt=p.slice(0,v),Pt=G.length-(Bt?1:0);for(let Ut=v;Ut<Pt;Ut++){const On=G[Ut],Mr=C[On].action,Ln=zt[Ut-1],Tn=Ln?Ln.state:h,Br=Ln?Ln.error:void 0,Uo=Ne.indexOf(On)>-1?Ln:Hd(D,Mr,Tn,Br,dt);zt.push(Uo)}return Bt&&zt.push(p[p.length-1]),zt}let Fc=(()=>{var p;class v{constructor(h,C,G,Ne,dt,Bt,zt,Pt){const Ut=function Sp(p,v){return{monitorState:v(void 0,{}),nextActionId:1,actionsById:{0:ga(_a)},stagedActionIds:[0],skippedActionIds:[],committedState:p,currentStateIndex:0,computedStates:[],isLocked:!1,isPaused:!1}}(zt,Pt.monitor),On=function Lc(p,v,D,h,C={}){return G=>(Ne,dt)=>{let{monitorState:Bt,actionsById:zt,nextActionId:Pt,stagedActionIds:Ut,skippedActionIds:On,committedState:Mr,currentStateIndex:Ln,computedStates:Tn,isLocked:Br,isPaused:Io}=Ne||v;function Uo(vo){let Or=vo,xs=Ut.slice(1,Or+1);for(let Vo=0;Vo<xs.length;Vo++){if(Tn[Vo+1].error){Or=Vo,xs=Ut.slice(1,Or+1);break}delete zt[xs[Vo]]}On=On.filter(Vo=>-1===xs.indexOf(Vo)),Ut=[0,...Ut.slice(Or+1)],Mr=Tn[Or].state,Tn=Tn.slice(Or),Ln=Ln>Or?Ln-Or:0}function $s(){zt={0:ga(_a)},Pt=1,Ut=[0],On=[],Mr=Tn[Ln].state,Ln=0,Tn=[]}Ne||(zt=Object.create(zt));let br=0;switch(dt.type){case da:Br=dt.status,br=1/0;break;case Sc:Io=dt.status,Io?(Ut=[...Ut,Pt],zt[Pt]=new fa({type:"@ngrx/devtools/pause"},+Date.now()),Pt++,br=Ut.length-1,Tn=Tn.concat(Tn[Tn.length-1]),Ln===Ut.length-2&&Ln++,br=1/0):$s();break;case"RESET":zt={0:ga(_a)},Pt=1,Ut=[0],On=[],Mr=p,Ln=0,Tn=[];break;case"COMMIT":$s();break;case Xr:zt={0:ga(_a)},Pt=1,Ut=[0],On=[],Ln=0,Tn=[];break;case Nd:{const{id:vo}=dt;On=-1===On.indexOf(vo)?[vo,...On]:On.filter(xs=>xs!==vo),br=Ut.indexOf(vo);break}case"SET_ACTIONS_ACTIVE":{const{start:vo,end:Or,active:xs}=dt,Vo=[];for(let Da=vo;Da<Or;Da++)Vo.push(Da);On=xs?Hl(On,Vo):[...On,...Vo],br=Ut.indexOf(vo);break}case Fd:Ln=dt.index,br=1/0;break;case Nl:{const vo=Ut.indexOf(dt.actionId);-1!==vo&&(Ln=vo),br=1/0;break}case"SWEEP":Ut=Hl(Ut,On),On=[],Ln=Math.min(Ln,Ut.length-1);break;case $t:{if(Br)return Ne||v;if(Io||Ne&&xc(Ne.computedStates[Ln],dt,C.predicate,C.actionsSafelist,C.actionsBlocklist)){const Or=Tn[Tn.length-1];Tn=[...Tn.slice(0,-1),Hd(G,dt.action,Or.state,Or.error,D)],br=1/0;break}C.maxAge&&Ut.length===C.maxAge&&Uo(1),Ln===Ut.length-1&&Ln++;const vo=Pt++;zt[vo]=dt,Ut=[...Ut,vo],br=Ut.length-1;break}case Js:({monitorState:Bt,actionsById:zt,nextActionId:Pt,stagedActionIds:Ut,skippedActionIds:On,committedState:Mr,currentStateIndex:Ln,computedStates:Tn,isLocked:Br,isPaused:Io}=dt.nextLiftedState);break;case Ho:br=0,C.maxAge&&Ut.length>C.maxAge&&(Tn=Nc(Tn,br,G,Mr,zt,Ut,On,D,Io),Uo(Ut.length-C.maxAge),br=1/0);break;case Ce:if(Tn.filter(Or=>Or.error).length>0)br=0,C.maxAge&&Ut.length>C.maxAge&&(Tn=Nc(Tn,br,G,Mr,zt,Ut,On,D,Io),Uo(Ut.length-C.maxAge),br=1/0);else{if(!Io&&!Br){Ln===Ut.length-1&&Ln++;const Or=Pt++;zt[Or]=new fa(dt,+Date.now()),Ut=[...Ut,Or],br=Ut.length-1,Tn=Nc(Tn,br,G,Mr,zt,Ut,On,D,Io)}Tn=Tn.map(Or=>({...Or,state:G(Or.state,Zl)})),Ln=Ut.length-1,C.maxAge&&Ut.length>C.maxAge&&Uo(Ut.length-C.maxAge),br=1/0}break;default:br=1/0}return Tn=Nc(Tn,br,G,Mr,zt,Ut,On,D,Io),Bt=h(Bt,dt),{monitorState:Bt,actionsById:zt,nextActionId:Pt,stagedActionIds:Ut,skippedActionIds:On,committedState:Mr,currentStateIndex:Ln,computedStates:Tn,isLocked:Br,isPaused:Io}}}(zt,Ut,Bt,Pt.monitor,Pt),Mr=(0,Q.h)((0,Q.h)(C.asObservable().pipe(function Qe(p){return(0,Bn.p)((v,D)=>p<=D)}(1)),Ne.actions$).pipe((0,dn.T)(ga)),h,Ne.liftedActions$).pipe((0,U.Q)(le.T)),Ln=G.pipe((0,dn.T)(On)),Tn=Yl(Pt.connectInZone),Br=new ua.m(1);this.liftedStateSubscription=Mr.pipe(Mn(Ln),Kd(Tn),(0,En.S)(({state:$s},[br,vo])=>{let Or=vo($s,br);return br.type!==$t&&Gl(Pt)&&(Or=function Xl(p,v,D,h){const C=[],G={},Ne=[];return p.stagedActionIds.forEach((dt,Bt)=>{const zt=p.actionsById[dt];zt&&(Bt&&xc(p.computedStates[Bt],zt,v,D,h)||(G[dt]=zt,C.push(dt),Ne.push(p.computedStates[Bt])))}),{...p,stagedActionIds:C,actionsById:G,computedStates:Ne}}(Or,Pt.predicate,Pt.actionsSafelist,Pt.actionsBlocklist)),Ne.notify(br,Or),{state:Or,action:br}},{state:Ut,action:null})).subscribe(({state:$s,action:br})=>{Br.next($s),br.type===$t&&dt.next(br.action)}),this.extensionStartSubscription=Ne.start$.pipe(Kd(Tn)).subscribe(()=>{this.refresh()});const Io=Br.asObservable(),Uo=Io.pipe((0,dn.T)(hs));Object.defineProperty(Uo,"state",{value:(0,Kn.ot)(Uo,{manualCleanup:!0,requireSync:!0})}),this.dispatcher=h,this.liftedState=Io,this.state=Uo}ngOnDestroy(){this.liftedStateSubscription.unsubscribe(),this.extensionStartSubscription.unsubscribe()}dispatch(h){this.dispatcher.next(h)}next(h){this.dispatcher.next(h)}error(h){}complete(){}performAction(h){this.dispatch(new fa(h,+Date.now()))}refresh(){this.dispatch(new Ll)}reset(){this.dispatch(new Fl(+Date.now()))}rollback(){this.dispatch(new kl(+Date.now()))}commit(){this.dispatch(new Bl(+Date.now()))}sweep(){this.dispatch(new Ya)}toggleAction(h){this.dispatch(new jl(h))}jumpToAction(h){this.dispatch(new Za(h))}jumpToState(h){this.dispatch(new kd(h))}importState(h){this.dispatch(new Rc(h))}lockChanges(h){this.dispatch(new Ul(h))}pauseRecording(h){this.dispatch(new Vl(h))}static#e=p=()=>(this.\u0275fac=function(C){return new(C||v)(u.KVO(Ja),u.KVO(qr),u.KVO(E),u.KVO(qs),u.KVO($r),u.KVO(u.zcH),u.KVO(_o),u.KVO(fs))},this.\u0275prov=u.jDH({token:v,factory:v.\u0275fac}))}return p(),v})();function Kd({ngZone:p,connectInZone:v}){return D=>v?new R.c(h=>D.subscribe({next:C=>p.run(()=>h.next(C)),error:C=>p.run(()=>
1h.error(C)),complete:()=>p.run(()=>h.complete())})):D}const Rp=new u.nKC("@ngrx/store-devtools Is Devtools Extension or Monitor Present");function kc(p,v){return!!p||v.monitor!==$l}function zd(){const p="__REDUX_DEVTOOLS_EXTENSION__";return"object"==typeof window&&typeof window[p]<"u"?window[p]:null}function Gd(p){return p.state}var oi=l(5312);let Jl=(()=>{var p;class v{constructor(){this.injector=(0,u.WQX)(u.zZn)}handleError(h){if(h instanceof Jn.yz)return;console.error(h);const C=this.injector.get(s.Agw);(0,A.UE)(C)&&this.injector.get(nr.y).broadcast("notify",{content:"\u0110\xe3 c\xf3 l\u1ed7i x\u1ea3y ra, vui l\xf2ng th\u1eed l\u1ea1i.",type:"danger"})}static#e=p=()=>(this.\u0275fac=function(C){return new(C||v)},this.\u0275prov=u.jDH({token:v,factory:v.\u0275fac}))}return p(),v})(),ql=(()=>{var p;class v{constructor(){this.sessionStore=(0,u.WQX)(Er.c)}intercept(h,C){const G=this.sessionStore.user();let Ne;const dt=h.url.includes("api/");if(!G&&h.url.includes("api/error/add")){const Bt=h.clone({headers:h.headers.set("Authorization","qkBTQO9MBczFIU7GExwewVxqmrkJES1y")});return C.handle(Bt)}if(dt&&G&&G.remember_token){Ne=G.remember_token;const Bt=h.clone({headers:h.headers.set("Authorization",Ne)});return C.handle(Bt)}return C.handle(h)}static#e=p=()=>(this.\u0275fac=function(C){return new(C||v)},this.\u0275prov=u.jDH({token:v,factory:v.\u0275fac,providedIn:"root"}))}return p(),v})();var Bc=l(8455);const eu=/\/api\/(search|mnemonics|constructions|mind-map\/topics|morphemes)(\/|\?|$)/;let ma;const Yd=oi.c.featureShadowing&&oi.c.mockShadowing,Zd=/\/api\/shadowing\//;let nu;const ru=oi.c.featureExam&&oi.c.mockExam,Uc=/\/api\/v1\/(exams|attempts|catalog\/question-types|me\/stats\/overview)/;let Vc;var qa=l(7038),Rs=l(467);class ou{constructor(v,D,h="./assets/i18n/",C=".json"){this.transferState=v,this.http=D,this.prefix=h,this.suffix=C}getTranslation(v){const D=(0,er.mc)(v),h=this.transferState.get(D,null);return h?(this.transferState.remove(D),(0,ct.of)(h)):this.http.get(`${this.prefix}${v}${this.suffix}`)}}var $c=l(4978);let qd=(()=>{var p;class v{constructor(){this.storage=(0,u.WQX)(zn.n),this.sessionStore=(0,u.WQX)(Er.c),this.langStore=(0,u.WQX)(wr.s),this.router=(0,u.WQX)(Pn.Ix),this._authGuard=(0,u.WQX)($c.q)}canActivate(h,C){return this._authGuard.canActivate(h,C).pipe((0,dn.T)(G=>{if(!G)return!1;const Ne=this.storage.getLocal("inforUser"),dt=this.sessionStore.checkPremium(Ne),Bt=Number(h.params.id);if(Bt&&(Bt<4||dt))return!0;{const zt=this.langStore.langPack();return this.router.navigate(["/test"],{queryParams:{hl:zt}}),!1}}))}static#e=p=()=>(this.\u0275fac=function(C){return new(C||v)},this.\u0275prov=u.jDH({token:v,factory:v.\u0275fac,providedIn:"root"}))}return p(),v})();var ef=l(7502);const ea=p=>({hl:p});function tf(p,v){if(1&p&&(s.j41(0,"li")(1,"a",39),s.EFF(2),s.nI1(3,"translate"),s.k0s()()),2&p){const D=s.XpG();s.R7$(),s.Y8G("queryParams",s.eq3(4,ea,D.langWeb())),s.R7$(),s.JRh(s.bMT(3,2,"txt_help"))}}function Hc(p,v){1&p&&(s.j41(0,"div",20),s.EFF(1,"315, Tr\u01b0\u1eddng Chinh, Ph\u01b0\u1eddng Kh\u01b0\u01a1ng Mai, Qu\u1eadn Thanh Xu\xe2n, H\xe0 N\u1ed9i"),s.k0s())}function Kc(p,v){1&p&&(s.j41(0,"div",20),s.EFF(1,"315, Tr\u01b0\u1eddng Chinh, Ph\u01b0\u1eddng Kh\u01b0\u01a1ng Mai, Qu\u1eadn Thanh Xu\xe2n, H\xe0 N\u1ed9i"),s.k0s())}function su(p,v){if(1&p&&(s.j41(0,"li")(1,"a",40),s.nI1(2,"translate"),s.nrm(3,"img",41),s.k0s()()),2&p){const D=v.$implicit;s.R7$(),s.Y8G("href",D.link,s.B4B)("title",s.bMT(2,5,D.title)+" \u2014 "+D.name),s.R7$(2),s.Y8G("src",s.VkB("assets/images/icons/",D.img),s.B4B)("alt",D.name)}}let zc=(()=>{var p;class v{constructor(){this.translate=(0,u.WQX)(nn.c$),this.router=(0,u.WQX)(Pn.Ix),this.translateService=(0,u.WQX)(nn.c$),this.storage=(0,u.WQX)(zn.n),this.langStore=(0,u.WQX)(wr.s),this.sessionStore=(0,u.WQX)(Er.c),this.viewport=(0,u.WQX)(ef.K),this.langWeb=(0,u.vPA)(""),this.innerWidth=0,this.currYear=(new Date).getFullYear(),this.dataLanguage=[{key:"vi",name:"Vietnamese"},{key:"en",name:"English"}],this.listApp=fr.BM}ngOnInit(){this.langWeb.set(this.langStore.langPack()),this.user=this.sessionStore.user();const h=this.dataLanguage.filter(C=>C.key===this.langWeb());this.langSelected=h[0]}goDetail(h){this.router.navigate([`${h}`],{queryParams:{hl:this.langStore.langPack()}}),this.viewport.scrollToTop()}changeLanguage(h){this.langSelected.key!==h.key&&(this.langSelected=h,this.langWeb.set(this.langSelected.key),this.updateInforAfterChange(),this.updateParams(),this.translate.use(this.langWeb()))}updateParams(){const h=this.router.parseUrl(this.router.url);h.queryParams.hl=this.langWeb(),this.router.navigateByUrl(h)}updateInforAfterChange(){this.langStore.setLangPack(this.langWeb()),this.storage.setLocal("currentLanguage",this.langWeb())}static#e=p=()=>(this.\u0275fac=function(C){return new(C||v)},this.\u0275cmp=s.VBU({type:v,selectors:[["app-footer"]],decls:118,vars:67,c
1onsts:[["id","footer",1,"footer-component"],[1,"box-default","box-footer"],[1,"box-infor"],[1,"web-name"],[1,"mb-0","name"],["routerLink","/search",1,"text-decoration-none",3,"queryParams"],["alt","Dunno english dictionary","src","assets/images/logo.png","width","36","height","36",1,"logo-dunno"],[1,"mb-0","font-18","fw-400","cl-se-sm","title"],[1,"mb-0","font-15","fw-400","cl-se-sm","describe"],[1,"flex-column","gap-20","info-contact-wrapper"],[1,"flex-column","gap-16","box-link"],[1,"mb-0","font-18","fw-600","cl-pr-lg"],[1,"info"],[1,"mb-0","list-unstyled","gap-12"],["routerLink","other/introduction",1,"font-15","fw-400","cl-se-sm","list-footer",3,"queryParams"],["routerLink","other/privacy-policy",1,"font-15","fw-400","cl-se-sm","list-footer",3,"queryParams"],["routerLink","other/term",1,"font-15","fw-400","cl-se-sm","list-footer",3,"queryParams"],[1,"flex-column","gap-16","contact","d-lg-none"],[1,"font-18","fw-600","cl-pr-lg"],[1,"flex-column","gap-12"],[1,"font-15","fw-400","cl-se-sm","list-footer"],[1,"flex-center","gap-12","list-footer","social"],["href","https://www.facebook.com/dunno.dict","target","_blank","rel","noopener noreferrer"],["alt","Facebook Dunno","src","assets/images/social-media/facebook.webp","width","32","height","32"],["href","https://zalo.me/0976696764","target","_blank","rel","noopener noreferrer"],["alt","Zalo Dunno","src","assets/images/social-media/zalo.webp","width","32","height","32"],[1,"flex-column","gap-16","box-product"],[1,"font-15","fw-400","cl-se-sm","list-footer",3,"click"],[1,"d-lg-flex","gap-20","contact-apps-wrapper"],[1,"flex-column","gap-16","contact","d-none","d-lg-flex"],[1,"flex-column","gap-16"],[1,"mb-0","list-unstyled","d-flex","flex-wrap","gap-12","another-app"],[1,"flex-column","gap-16","links-wrapper"],[1,"mb-0","list-unstyled","flex-row","flex-md-column","d-flex","gap-12"],["href","https://play.google.com/store/apps/details?id=ai.dunno.dict","rel","noreferrer","target","_blank","title","Google Play",1,"btn-down"],["src","assets/images/icons/ic_footer_gg.png","alt","Download dunno android","width","151","height","48"],["href","https://apps.apple.com/vn/app/english-dictionary-dunno/id1564720498","rel","noreferrer","target","_blank","title","App Store",1,"btn-down"],["src","assets/images/icons/ic_footer_app.png","alt","Download dunno ios","width","151","height","48"],[1,"font-14","fw-500","cl-te-sm","copyright","text-center"],["routerLink","other/help",1,"font-15","fw-400","cl-se-sm","list-footer",3,"queryParams"],["target","_blank","rel","noopener noreferrer",1,"app",3,"href","title"],["width","44","height","44",3,"alt","src"]],template:function(C,G){1&C&&(s.j41(0,"footer",0)(1,"div",1)(2,"div",2)(3,"section",3)(4,"h3",4)(5,"a",5),s.nrm(6,"img",6),s.j41(7,"span"),s.EFF(8,"DUNNO"),s.k0s()()(),s.j41(9,"h3",7),s.EFF(10),s.nI1(11,"translate"),s.k0s(),s.j41(12,"p",8),s.EFF(13),s.nI1(14,"translate"),s.k0s()(),s.j41(15,"section",9)(16,"div",10)(17,"h3",11),s.EFF(18),s.nI1(19,"translate"),s.k0s(),s.j41(20,"nav",12)(21,"ul",13)(22,"li")(23,"a",14),s.EFF(24),s.nI1(25,"translate"),s.k0s()(),s.j41(26,"li")(27,"a",15),s.EFF(28),s.nI1(29,"translate"),s.k0s()(),s.j41(30,"li")(31,"a",16),s.EFF(32),s.nI1(33,"translate"),s.k0s()(),s.nVh(34,tf,4,6,"li"),s.k0s()()(),s.j41(35,"div",17)(36,"div",18),s.EFF(37),s.nI1(38,"translate"),s.k0s(),s.j41(39,"div",19),s.nVh(40,Hc,2,0,"div",20),s.j41(41,"div",20),s.EFF(42,"(+84) 976 696 764"),s.k0s(),s.j41(43,"div",20),s.EFF(44,"[email protected]"),s.k0s()(),s.j41(45,"div",21)(46,"a",22),s.nrm(47,"img",23),s.k0s(),s.j41(48,"a",24),s.nrm(49,"img",25),s.k0s()()()(),s.j41(50,"section",26)(51,"h3",11),s.EFF(52),s.nI1(53,"translate"),s.k0s(),s.j41(54,"nav",12)(55,"ul",13)(56,"li")(57,"span",27),s.bIt("click",function(){return G.goDetail("/search")}),s.EFF(58),s.nI1(59,"translate"),s.k0s()(),s.j41(60,"li")(61,"span",27),s.bIt("click",function(){return G.goDetail("/translate")}),s.EFF(62),s.nI1(63,"translate"),s.k0s()(),s.j41(64,"li")(65,"span",27),s.bIt("click",function(){return G.goDetail("/notebook")}),s.EFF(66),s.nI1(67,"translate"),s.k0s()(),s.j41(68,"li")(69,"span",27),s.bIt("click",function(){return G.goDetail("/community")}),s.EFF(70),s.nI1(71,"translate"),s.k0s()(),s.j41(72,"li")(73,"span",27),s.bIt("click",function(){return G.goDetail("/test")}),s.EFF(74),s.nI1(75,"translate"),s.k0s()(),s.j41(76,"li")(77,"span",27),s.bIt("click",function(){return G.goDetail("/upgrade")}),s.EFF(78),s.nI1(79,"translate"),s.k0s()()()()(),s.j41(80,"section",28)(81,"div",29)(82,"div",18),s.EFF(83),s.nI1(84,"translate"),s.k0s(),s.j41(85,"div",19),s.nVh(86,Kc,2,0,"div",20),s.j41(87,"div",20),s.EFF(88,"(+84) 976 696 764"),s.k0s(),s.j41(89,"div",20),s.EFF(90,"[email protected]"),s.k0s()(),s.j41(91,"div",21)(92,"a",22),s.nrm(93,"img",23),s.k0s(),s.j41(94,"a",24),s.nrm(95,"img",25),s.k0s()()(),s.j41(96,"div",30)(97,"h3",11),s.EFF(98),s.nI1(99,"translate"),s.k0s(),s.j41(100,"nav")(101,"ul",31),s.Z7z(102,su,4,7,"li",null,s.fX1),s.k0s()()()(),s.j41(104,"section",32)(105,"h3",11),s.EFF(106),s.nI1(107,"translate"),s.k0s(),s.j41(108,"nav")(109,"ul",33)(110,"li")(111,"a",34),s.nrm(112,"img",35),s.k0s()(),s.j41(113,"li")(114,"a",36),s.nrm(115,"img",37),s.k0s()()()()()(),s.j41(116,"div",38),s.EFF(117),s.k0s()()()),2&C&&(s.R7$(5),s.Y8G("queryParams",s.eq3(59,ea,G.langWeb())),s.R7$(5),s.JRh(s.bMT(11,25,"txt_title_app")),s.R7$(3),s.JRh(s.bMT(14,27,"txt_describle")),s.R7$(5),s.JRh(s.bMT(19,29,"txt_information")),s.R7$(5),s.Y8G("queryParams",s.eq3(61,ea,G.langWeb())),s.R7$(),s.JRh(s.bMT(25,31,"txt_about")),s.R7$(3),s.Y8G("queryParams",s.eq3(63,ea,G.langWeb())),s.R7$(),s.JRh(s.bMT(29,33,"txt_policy")),s.R7$(3),s.Y8G("queryParams",s.eq3(65,ea,G.langWeb())),s.R7$(),s.JRh(s.bMT(33,35,"txt_term")),s.R7$(2),s.vxM("vi"==G.langWeb()?34:-1),s.R7$(3),s.JRh(s.bMT(38,37,"txt_contact")),s.R7$(3),s.vxM("vi"==G.langWeb()?40:-1),s.R7$(12),s.JRh(s.bMT(53,39,"txt_product")),s.R7$(6),s.JRh(s.bMT(59,41,"header.search")),s.R7$(4),s.JRh(s.bMT(63,43,"header.translate")),s.R7$(4),s.JRh(s.bMT(67,45,"header.notebook")),s.R7$(4),s.JRh(s.bMT(71,47,"header.community")),s.R7$(4),s.JRh(s.bMT(75,49,"header.test")),s.R7$(4),s.JRh(s.bMT(79,51,"header.upgrade")),s.R7$(5),s.JRh(s.bMT(84,53,"txt_contact")),s.R7$(3),s.vxM("vi"==G.langWeb()?86:-1),s.R7$(12),s.JRh(s.bMT(99,55,"txt_other_apps")),s.R7$(4),s.Dyx(G.listApp),s.R7$(4),s.JRh(s.bMT(107,57,"txt_download_now")),s.R7$(11),s.SpI(" \xa9 ",G.currYear," Dunno Dictionary - All Rights Reserved "))}
1,dependencies:[Kr.Wk,nn.h,nn.D9],styles:[".footer-component[_ngcontent-%COMP%]{padding-bottom:20px}.box-footer[_ngcontent-%COMP%]{border:1px solid var(--border-primary);background-color:var(--surface-default-inverse);padding:16px;border-radius:24px;margin-top:32px}.web-name[_ngcontent-%COMP%] .name[_ngcontent-%COMP%]{font-family:Nunito,serif;font-size:28px;color:var(--text-large-primary);font-weight:800;margin-bottom:6px}.web-name[_ngcontent-%COMP%] .name[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:8px;color:inherit}.logo-dunno[_ngcontent-%COMP%]{width:36px;height:36px;border-radius:50%}.describe[_ngcontent-%COMP%]{margin-top:8px;max-width:320px}.info[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr 1fr}.list-footer[_ngcontent-%COMP%]{text-decoration:unset}a.list-footer[_ngcontent-%COMP%]{display:block}span.list-footer[_ngcontent-%COMP%]{display:block;cursor:pointer;width:fit-content}.box-link[_ngcontent-%COMP%] .list-footer[_ngcontent-%COMP%]:hover, .box-product[_ngcontent-%COMP%] .list-footer[_ngcontent-%COMP%]:hover{text-decoration:underline}.box-link[_ngcontent-%COMP%] .list-footer[_ngcontent-%COMP%]:focus, .box-product[_ngcontent-%COMP%] .list-footer[_ngcontent-%COMP%]:focus{outline:none}.social[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:32px;height:32px}.another-app[_ngcontent-%COMP%] .app[_ngcontent-%COMP%]{display:block;border-radius:12px;overflow:hidden}.another-app[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:44px;height:44px}.links-wrapper[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:162px;max-height:48px}.copyright[_ngcontent-%COMP%]{margin-top:40px}@media(max-width:568px){.box-infor[_ngcontent-%COMP%]{display:block}.box-infor[_ngcontent-%COMP%] > section[_ngcontent-%COMP%]{margin-bottom:20px}}@media screen and (min-width:768px){.box-infor[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(3,1fr);column-gap:16px;row-gap:20px}.info[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{grid-template-columns:1fr}.another-app[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:48px;height:48px}}@media screen and (min-width:992px){.box-infor[_ngcontent-%COMP%]{padding:24px;display:flex;justify-content:space-between;gap:16px}.contact-apps-wrapper[_ngcontent-%COMP%]{flex-direction:column;max-width:30%}.another-app[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:32px;height:32px}}"],changeDetection:0}))}return p(),v})();var Gc=l(8287);const ec={headers:new Jn.Lr({"Content-Type":"application/json"})};let nf=(()=>{var p;class v{constructor(){this.http=(0,u.WQX)(Jn.Qq)}getNotify(h,C=1){const G=fr.NM+"api/v2/community/notifies",Ne=(new Jn.Nl).set("lang",h).set("page",C);return this.http.get(G,{...ec,params:Ne})}readNotify(h){return this.http.get(fr.NM+"api/community/notifies/read?id="+h,ec)}readAllNotify(h,C){const G=fr.NM+"api/v2/community/notifies/read-all",Ne=(new Jn.Nl).set("lang",h);return this.http.post(G,C?{fetched_at:C}:{},{...ec,params:Ne})}static#e=p=()=>(this.\u0275fac=function(C){return new(C||v)},this.\u0275prov=u.jDH({token:v,factory:v.\u0275fac,providedIn:"root"}))}return p(),v})();var Xc=l(2200),rf=l(1433);function au(p,v){if(1&p&&s.nrm(0,"app-svg-icon",0),2&p){const D=s.XpG();s.Y8G("name",D.iconName())("width",16)("height",16)}}let Np=(()=>{var p;class v{constructor(){this.iconName=(0,j.hFB)("color_crown"),this.label=(0,j.hFB)("VIP")}static#e=p=()=>(this.\u0275fac=function(C){return new(C||v)},this.\u0275cmp=s.VBU({type:v,selectors:[["app-user-badge"]],inputs:{iconName:[1,"iconName"],label:[1,"label"]},decls:4,vars:5,consts:[[3,"name","width","height"]],template:function(C,G){1&C&&(s.j41(0,"div"),s.nVh(1,au,1,3,"app-svg-icon",0),s.j41(2,"span"),s.EFF(3),s.k0s()()),2&C&&(s.HbH(s.VkB("px-8 flex-center rad-circular badge fw-600 badge--",G.label().toLowerCase())),s.R7$(),s.vxM(G.iconName()?1:-1),s.R7$(2),s.JRh(G.label().toUpperCase()))},dependencies:[mr.D],styles:[".badge[_ngcontent-%COMP%]{height:28px;gap:4px;width:fit-content;border:1px solid var(--semantic-sun-50-color);background-color:var(--semantic-sun-100-color);font-size:14px;color:#1f1f1f}.badge--ai[_ngcontent-%COMP%]{background:linear-gradient(90deg,#4a69ab,#544db2 51.69%,#d27987);box-shadow:0 4px 20px #42578b4d,0 -3px 8px #99a8ff inset;border:1px solid #7e8cc4;color:var(--text-white);font-style:italic}
1.badge--ai[_ngcontent-%COMP%] svg{fill:var(--text-white)!important}"],changeDetection:0}))}return p(),v})();var ya=l(8873),cu=l(7219);const lu=(p,v)=>v.id;function tc(p,v){if(1&p&&(s.rj2(0,"p",0),s.EFF(1),s.nI1(2,"translate"),s.eux()),2&p){const D=s.XpG();s.R7$(),s.SpI(" ",s.bMT(2,1,D.loading()?"txt_loading_notification":"txt_no_notification")," ")}}function of(p,v){1&p&&s.Hgh(0,"div",10)}function uu(p,v){if(1&p){const D=s.RV6();s.rj2(0,"div",6),s.VwU("click",function(){const C=u.eBV(D).$implicit,G=s.XpG(2);return u.Njj(G.itemClick.emit(C))}),s.rj2(1,"div",7),s.Hgh(2,"img",8)(3,"p",9),s.eux(),s.nVh(4,of,1,0,"div",10),s.eux()}if(2&p){const D=v.$implicit;s.AVh("kind-word-dark",!D.read),s.R7$(2),s.Avn("src",D.image||"assets/images/ic_avatar.png",s.B4B),s.R7$(),s.Avn("innerHTML",D.message,s.npT),s.R7$(),s.vxM(D.read?-1:4)}}function sf(p,v){1&p&&(s.rj2(0,"div",5),s.Hgh(1,"span",11),s.eux())}function af(p,v){if(1&p){const D=s.RV6();s.rj2(0,"div",1)(1,"span"),s.EFF(2),s.nI1(3,"translate"),s.eux(),s.rj2(4,"button",2),s.VwU("click",function(C){u.eBV(D);const G=s.XpG();return u.Njj(G.onReadAll(C))}),s.EFF(5),s.nI1(6,"translate"),s.eux()(),s.rj2(7,"div",3),s.VwU("scroll",function(C){u.eBV(D);const G=s.XpG();return u.Njj(G.onScroll(C))}),s.Z7z(8,uu,5,5,"div",4,lu),s.nVh(10,sf,2,0,"div",5),s.eux()}if(2&p){const D=s.XpG();s.R7$(2),s.JRh(s.bMT(3,4,"txt_notify")),s.R7$(2),s.Avn("disabled",0===D.unreadCount()||D.markingAll()),s.R7$(),s.SpI(" ",s.bMT(6,6,"txt_mark_all_read")," "),s.R7$(3),s.Dyx(D.items()),s.R7$(2),s.vxM(D.loading()?10:-1)}}let Fp=(()=>{var p;class v{constructor(){this.items=j.hFB.required(),this.unreadCount=(0,j.hFB)(0),this.loading=(0,j.hFB)(!1),this.hasMore=(0,j.hFB)(!1),this.markingAll=(0,j.hFB)(!1),this.itemClick=(0,j.CGW)(),this.readAll=(0,j.CGW)(),this.loadMore=(0,j.CGW)()}onScroll(h){const C=h.target;this.hasMore()&&!this.loading()&&C.scrollHeight-C.scrollTop-C.clientHeight<48&&this.loadMore.emit()}onReadAll(h){h.stopPropagation(),this.readAll.emit()}static#e=p=()=>(this.\u0275fac=function(C){return new(C||v)},this.\u0275cmp=s.VBU({type:v,selectors:[["app-notify-list"]],inputs:{items:[1,"items"],unreadCount:[1,"unreadCount"],loading:[1,"loading"],hasMore:[1,"hasMore"],markingAll:[1,"markingAll"]},outputs:{itemClick:"itemClick",readAll:"readAll",loadMore:"loadMore"},decls:2,vars:1,consts:[[1,"text-center","no-notify"],[1,"notify-head"],["type","button",1,"notify-read-all",3,"click","disabled"],[1,"notify-list","scrollable",3,"scroll"],[1,"notify-item",3,"kind-word-dark"],["aria-hidden","true",1,"notify-more"],[1,"notify-item",3,"click"],[1,"notify-info","pdl-20"],["alt","","onerror","this.onerror=null;this.src='assets/images/ic_avatar.png'",1,"img-avatar",3,"src"],[1,"txt-pronounce",3,"innerHTML"],[1,"dot"],[1,"notify-spin"]],template:function(C,G){1&C&&s.nVh(0,tc,3,3,"p",0)(1,af,11,8),2&C&&s.vxM(0===G.items().length?0:1)},dependencies:[nn.h,nn.D9],styles:['@charset "UTF-8";.notify-head[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px 10px;border-bottom:1px solid var(--border-primary);font-weight:600}.notify-read-all[_ngcontent-%COMP%]{padding:0;border:0;background:none;font-size:13px;font-weight:500;color:var(--text-brand-primary);white-space:nowrap}.notify-read-all[_ngcontent-%COMP%]:hover:not(:disabled){text-decoration:underline}.notify-read-all[_ngcontent-%COMP%]:disabled{color:var(--text-small-tertiary);cursor:default}.notify-list[_ngcontent-%COMP%]{max-height:min(420px,100vh - 160px);overflow:hidden auto;overscroll-behavior:contain}.notify-item[_ngcontent-%COMP%]{position:relative;padding:10px;cursor:pointer}.notify-item[_ngcontent-%COMP%]:hover{background:#f1f1f1}.notify-item[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{padding-left:10px}.notify-info[_ngcontent-%COMP%]{display:flex;align-items:center;padding-right:10px}.img-avatar[_ngcontent-%COMP%]{flex:0 0 40px;width:40px;height:40px;border-radius:50%;object-fit:cover;box-shadow:0 0 15px #00000026}.notify-item[_ngcontent-%COMP%] .dot[_ngcontent-%COMP%]{position:absolute;width:10px;height:10px;top:50%;transform:translateY(-50%);right:10px;border-radius:50%;background:var(--surface-brand-primary)}.no-notify[_ngcontent-%COMP%]{padding:10px}.notify-more[_ngcontent-%COMP%]{display:flex;justify-content:center;padding:10px 0}.notify-spin[_ngcontent-%COMP%]{width:18px;height:18px;border:2px solid var(--surface-neutral-tertiary);border-top-color:var(--text-brand-primary);border-radius:50%;animation:spin .8s linear infinite}'],changeDetection:0}))}return p(),v})();const cf=["loginComponent"],Ea=p=>({hl:p}),Vs=p=>({"active-menu":p}),lf=(p,v)=>v.id;function du(p,v){1&p&&s.nrm(0,"div",13)}function fu(p,v){if(1&p&&(s.j41(0,"div",26),s.EFF(1),s.k0s()),2&p){const D=s.XpG(2);s.R7$(),s.JRh(D.countUnread())}}function hu(p,v){if(1&p){const D=s.RV6();s.j41(0,"div",24),s.bIt("click",function(C){u.eBV(D);const G=s.XpG();return u.Njj(G.toggleHeaderMenu("notify",C))})("mouseenter",function(){u.eBV(D);const C=s.XpG();return u.Njj(C.openHeaderMenuOnHover("notify"))})("mouseleave",function(){u.eBV(D);const C=s.XpG();return u.Njj(C.closeHeaderMenuOnHover("notify"))}),s.nrm(1,"app-svg-icon",25),s.nVh(2,fu,2,1,"div",26),s.j41(3,"div",27)(4,"app-notify-list",28),s.bIt("itemClick",function(C){u.eBV(D);const G=s.XpG();return u.Njj(G.goDetailPost(C))})("readAll",function(){u.eBV(D);const C=s.XpG();return u.Njj(C.markAllRead())}
1)("loadMore",function(){u.eBV(D);const C=s.XpG();return u.Njj(C.loadMoreNotify())}),s.k0s()()()}if(2&p){const D=s.XpG();s.AVh("open","notify"===D.headerMenu()),s.R7$(),s.Y8G("width",22)("height",22)("fill","--icon-secondary"),s.R7$(),s.vxM(D.countUnread()>0?2:-1),s.R7$(2),s.Y8G("items",D.listNotify())("unreadCount",D.countUnread())("loading",D.notifyLoading())("hasMore",D.notifyHasMore())("markingAll",D.markingAllRead())}}function ta(p,v){if(1&p){const D=s.RV6();s.j41(0,"div",29),s.bIt("click",function(){const C=u.eBV(D).$implicit,G=s.XpG();return u.Njj(G.changeLanguage(C.key))}),s.nrm(1,"app-svg-icon",30),s.EFF(2),s.k0s()}if(2&p){const D=v.$implicit;s.R7$(),s.Y8G("folder","flag")("name",D.key)("width",24)("height",24)("fill","none"),s.R7$(),s.SpI(" ",D.name," ")}}function ps(p,v){if(1&p){const D=s.RV6();s.j41(0,"div",31),s.nrm(1,"div",32),s.k0s(),s.j41(2,"div",33)(3,"div",34),s.bIt("click",function(){u.eBV(D);const C=s.XpG();return u.Njj(C.openLogin("login"))}),s.EFF(4),s.nI1(5,"translate"),s.k0s(),s.j41(6,"div",35),s.bIt("click",function(){u.eBV(D);const C=s.XpG();return u.Njj(C.openLogin("register"))}),s.EFF(7),s.nI1(8,"translate"),s.k0s()()}2&p&&(s.R7$(4),s.SpI(" ",s.bMT(5,2,"user.txt_login")," "),s.R7$(3),s.SpI(" ",s.bMT(8,4,"user.txt_register")," "))}function pu(p,v){1&p&&s.nrm(0,"app-user-badge",40)}function uf(p,v){if(1&p&&(s.j41(0,"div",47),s.EFF(1),s.nI1(2,"translate"),s.k0s()),2&p){const D=s.XpG(2);s.Y8G("queryParams",s.eq3(4,Ea,D.langWeb())),s.R7$(),s.SpI(" ",s.bMT(2,2,"txt_upgrade")," ")}}function gu(p,v){if(1&p){const D=s.RV6();s.j41(0,"div",36),s.bIt("click",function(C){u.eBV(D);const G=s.XpG();return u.Njj(G.toggleHeaderMenu("user",C))})("mouseenter",function(){u.eBV(D);const C=s.XpG();return u.Njj(C.openHeaderMenuOnHover("user"))})("mouseleave",function(){u.eBV(D);const C=s.XpG();return u.Njj(C.closeHeaderMenuOnHover("user"))}),s.nrm(1,"app-avatar",37),s.j41(2,"div",38)(3,"div",39),s.nVh(4,pu,1,0,"app-user-badge",40),s.j41(5,"div",41)(6,"div",42),s.EFF(7),s.k0s(),s.j41(8,"div",43),s.EFF(9),s.k0s()(),s.j41(10,"app-diamond-card",44),s.bIt("detail",function(){u.eBV(D);const C=s.XpG();return u.Njj(C.openDiamondDetail())}),s.k0s(),s.j41(11,"div",45)(12,"div",46),s.EFF(13),s.nI1(14,"translate"),s.k0s(),s.nVh(15,uf,3,6,"div",47),s.k0s()(),s.j41(16,"div",48)(17,"div",49),s.nrm(18,"app-svg-icon",50),s.j41(19,"span"),s.EFF(20),s.nI1(21,"translate"),s.k0s()(),s.j41(22,"div",51),s.nrm(23,"app-svg-icon",52),s.j41(24,"span"),s.EFF(25),s.nI1(26,"translate"),s.k0s()(),s.j41(27,"div",53),s.bIt("click",function(){u.eBV(D);const C=s.XpG();return u.Njj(C.logout())}),s.nrm(28,"app-svg-icon",54),s.j41(29,"span"),s.EFF(30),s.nI1(31,"translate"),s.k0s()()()()()}if(2&p){const D=v,h=s.XpG();s.AVh("open","user"===h.headerMenu()),s.Y8G("ngClass",s.eq3(33,Vs,"profile"==h.routerActive())),s.R7$(),s.Y8G("size",40)("src",D.image||"assets/images/ic_avatar.png")("username",D.name)("isVip",D.premium),s.R7$(3),s.vxM(D.premium?4:-1),s.R7$(3),s.SpI(" ",D.name," "),s.R7$(2),s.SpI(" ",D.email," "),s.R7$(),s.Y8G("balance",h.diamondBalance()),s.R7$(2),s.Y8G("queryParams",s.eq3(35,Ea,h.langWeb())),s.R7$(),s.SpI(" ",s.bMT(14,25,"txt_show_profile")," "),s.R7$(2),s.vxM(D.premium?-1:15),s.R7$(2),s.Y8G("queryParams",s.eq3(37,Ea,h.langWeb())),s.R7$(),s.Y8G("width",20)("height",20),s.R7$(2),s.JRh(s.bMT(21,27,"txt_activate")),s.R7$(2),s.Y8G("queryParams",s.eq3(39,Ea,h.langWeb())),s.R7$(),s.Y8G("width",20)("height",20),s.R7$(2),s.JRh(s.bMT(26,29,"txt_help")),s.R7$(3),s.Y8G("width",20)("height",20),s.R7$(2),s.JRh(s.bMT(31,31,"user.txt_logout"))}}function kp(p,v){if(1&p){const D=s.RV6();s.j41(0,"div",22)(1,"div",34),s.bIt("click",function(){u.eBV(D);const C=s.XpG();return u.Njj(C.openLogin("login"))}),s.EFF(2),s.nI1(3,"translate"),s.k0s(),s.j41(4,"div",35),s.bIt("click",function(){u.eBV(D);const C=s.XpG();return u.Njj(C.openLogin("register"))}),s.EFF(5),s.nI1(6,"translate"),s.k0s()()}2&p&&(s.R7$(2),s.SpI(" ",s.bMT(3,2,"user.txt_login")," "),s.R7$(3),s.SpI(" ",s.bMT(6,4,"user.txt_register")," "))}function Bp(p,v){if(1&p){const D=s.RV6();s.j41(0,"div",22)(1,"div",34),s.bIt("click",function(){u.eBV(D);const C=s.XpG(2);return u.Njj(C.openLogin("login"))}),s.EFF(2),s.nI1(3,"translate"),s.k0s(),s.j41(4,"div",35),s.bIt("click",function(){u.eBV(D);const C=s.XpG(2);return u.Njj(C.openLogin("register"))}),s.EFF(5),s.nI1(6,"translate"),s.k0s()()}2&p&&(s.R7$(2),s.SpI(" ",s.bMT(3,2,"user.txt_login")," "),s.R7$(3),s.SpI(" ",s.bMT(6,4,"user.txt_register")," "))}function _u(p,v){if(1&p&&(s.j41(0,"span",57),s.EFF(1),s.k0s()),2&p){const D=s.XpG(2);s.R7$(),s.JRh(D.countUnread())}}function mu(p,v){if(1&p&&(s.j41(0,"p",61),s.EFF(1),s.nI1(2,"translate"),s.k0s()),2&p){const D=s.XpG(3);s.R7$(),s.JRh(s.bMT(2,1,D.notifyLoading()?"txt_loading_notification":"txt_no_notification"))}}function jp(p,v){if(1&p){const D=s.RV6();s.j41(0,"button",64),s.bIt("click",function(){u.eBV(D);const C=s.XpG(3);return u.Njj(C.markAllRead())}),s.EFF(1),s.nI1(2,"translate"),s.k0s()}if(2&p){const D=s.XpG(3);s.Y8G("disabled",0===D.countUnread()||D.markingAllRead()),s.R7$(),s.Sp
1I(" ",s.bMT(2,2,"txt_mark_all_read")," ")}}function df(p,v){if(1&p){const D=s.RV6();s.j41(0,"div",65),s.bIt("click",function(){const C=u.eBV(D).$implicit,G=s.XpG(3);return G.goDetailPost(C),u.Njj(G.closeMenuMobile())}),s.nrm(1,"img",66)(2,"p",67),s.k0s()}if(2&p){const D=v.$implicit;s.R7$(),s.Y8G("src",D.image||"assets/images/ic_avatar.png",s.B4B),s.R7$(),s.Y8G("innerHTML",D.message,s.npT)}}function vu(p,v){if(1&p){const D=s.RV6();s.j41(0,"div",60),s.bIt("scroll",function(C){u.eBV(D);const G=s.XpG(2);return u.Njj(G.onDrawerNotifyScroll(C))}),s.nVh(1,mu,3,3,"p",61),s.nVh(2,jp,3,4,"button",62),s.Z7z(3,df,3,2,"div",63,lf),s.k0s()}if(2&p){const D=s.XpG(2);s.R7$(),s.vxM(0===D.listNotify().length?1:-1),s.R7$(),s.vxM(D.listNotify().length>0?2:-1),s.R7$(),s.Dyx(D.listNotify())}}function ff(p,v){if(1&p){const D=s.RV6();s.j41(0,"div",69),s.bIt("click",function(){const C=u.eBV(D).$implicit,G=s.XpG(3);return G.changeLanguage(C.key),u.Njj(G.drawerLangOpen.set(!1))}),s.nrm(1,"app-svg-icon",30),s.j41(2,"span",70),s.EFF(3),s.k0s()()}if(2&p){const D=v.$implicit;s.R7$(),s.Y8G("folder","flag")("name",D.key)("width",20)("height",20)("fill","none"),s.R7$(2),s.JRh(D.name)}}function Qc(p,v){if(1&p&&(s.j41(0,"div",58),s.Z7z(1,ff,4,6,"div",68,s.fX1),s.k0s()),2&p){const D=s.XpG(2);s.R7$(),s.Dyx(D.dataLanguage)}}function hf(p,v){if(1&p){const D=s.RV6();s.j41(0,"div",71),s.bIt("click",function(){u.eBV(D);const C=s.XpG(2);return C.logout(),u.Njj(C.closeMenuMobile())}),s.nrm(1,"app-svg-icon",72),s.j41(2,"span"),s.EFF(3),s.nI1(4,"translate"),s.k0s()()}2&p&&(s.R7$(),s.Y8G("width",20)("height",20)("fill","--icon-error-primary"),s.R7$(2),s.JRh(s.bMT(4,4,"user.txt_logout")))}function pf(p,v){if(1&p){const D=s.RV6();s.j41(0,"div",23),s.eu8(1,10),s.j41(2,"div",55),s.nVh(3,Bp,7,6,"div",22),s.j41(4,"div",56),s.bIt("click",function(){u.eBV(D);const C=s.XpG();return C.drawerNotifyOpen.set(!C.drawerNotifyOpen()),u.Njj(C.drawerLangOpen.set(!1))}),s.nrm(5,"app-svg-icon",25),s.j41(6,"span"),s.EFF(7),s.nI1(8,"translate"),s.k0s(),s.nVh(9,_u,2,1,"span",57),s.k0s(),s.nVh(10,vu,5,2,"div",58),s.j41(11,"div",56),s.bIt("click",function(){u.eBV(D);const C=s.XpG();return C.drawerLangOpen.set(!C.drawerLangOpen()),u.Njj(C.drawerNotifyOpen.set(!1))}),s.nrm(12,"app-svg-icon",30),s.j41(13,"span"),s.EFF(14),s.nI1(15,"translate"),s.k0s()(),s.nVh(16,Qc,3,0,"div",58),s.j41(17,"div",56),s.bIt("click",function(){u.eBV(D);const C=s.XpG();return C.openModal(),u.Njj(C.closeMenuMobile())}),s.nrm(18,"app-svg-icon",20),s.j41(19,"span"),s.EFF(20),s.nI1(21,"translate"),s.k0s()(),s.nVh(22,hf,5,6,"div",59),s.k0s()()}if(2&p){const D=s.XpG(),h=s.sdS(28);s.R7$(),s.Y8G("ngTemplateOutlet",h),s.R7$(2),s.vxM(D.sessionStore.isLoggedIn()?-1:3),s.R7$(2),s.Y8G("width",20)("height",20)("fill","--icon-secondary"),s.R7$(2),s.JRh(s.bMT(8,20,"txt_notify")),s.R7$(2),s.vxM(D.countUnread()>0?9:-1),s.R7$(),s.vxM(D.drawerNotifyOpen()?10:-1),s.R7$(2),s.Y8G("folder","flag")("name",D.langWeb())("width",20)("height",20)("fill","none"),s.R7$(2),s.JRh(s.bMT(15,22,"profile.txt_language")),s.R7$(2),s.vxM(D.drawerLangOpen()?16:-1),s.R7$(2),s.Y8G("width",20)("height",20)("fill","--icon-secondary"),s.R7$(2),s.JRh(s.bMT(21,24,"txt_setting")),s.R7$(2),s.vxM(D.sessionStore.isLoggedIn()&&D.user()?22:-1)}}function es(p,v){}function gf(p,v){1&p&&s.nrm(0,"img",88)}function yu(p,v){if(1&p){const D=s.RV6();s.j41(0,"div",73),s.bIt("click",function(){u.eBV(D);const C=s.XpG();return u.Njj(C.closeMenuMobile("search"))}),u.qSk(),s.j41(1,"svg",74),s.nrm(2,"path",75),s.k0s(),u.joV(),s.j41(3,"h2"),s.EFF(4),s.nI1(5,"translate"),s.k0s()(),s.j41(6,"div",73),s.bIt("click",function(){u.eBV(D);const C=s.XpG();return u.Njj(C.closeMenuMobile("translate"))}),u.qSk(),s.j41(7,"svg",74),s.nrm(8,"path",76),s.k0s(),u.joV(),s.j41(9,"h2"),s.EFF(10),s.nI1(11,"translate"),s.k0s()(),s.j41(12,"div",73),s.bIt("click",function(){u.eBV(D);const C=s.XpG();return u.Njj(C.closeMenuMobile("community"))}),u.qSk(),s.j41(13,"svg",74),s.nrm(14,"path",77)(15,"path",78),s.k0s(),u.joV(),s.j41(16,"h2"),s.EFF(17),s.nI1(18,"translate"),s.k0s()(),s.j41(19,"div",73),s.bIt("click",function(){u.eBV(D);const C=s.XpG();return u.Njj(C.closeMenuMobile("test"))}),u.qSk(),s.j41(20,"svg",74),s.nrm(21,"path",79)(22,"path",80),s.k0s(),u.joV(),s.j41(23,"h2"),s.EFF(24),s.nI1(25,"translate"),s.k0s()(),s.j41(26,"div",73),s.bIt("click",function(){u.eBV(D);const C=s.XpG();return u.Njj(C.closeMenuMobile("notebook"))}),u.qSk(),s.j41(27,"svg",74)(28,"g",81),s.nrm(29,"path",82)(30,"path",83),s.k0s(),s.j41(31,"defs")(32,"clipPath",84),s.nrm(33,"rect",85),s.k0s()()(),u.joV(),s.j41(34,"h2"),s.EFF(35),s.nI1(36,"translate"),s.k0s()(),s.j41(37,"div",86),s.bIt("click",function(){u.eBV(D);const C=s.XpG();return u.Njj(C.closeMenuMobile("upgrade"))}),s.nrm(38,"app-svg-icon",87),s.j41(39,"h2"),s.EFF(40),s.nI1(41,"translate"),s.k0s(),s.nVh(42,gf,1,0,"img",88),s.nI1(43,"async"),s.k0s()}if(2&p){let D;const h=s.XpG();s.Y8G("ngClass",s.eq3(30,Vs,"search"==h.routerActive())),s.R7$(4),s.SpI(" ",s.bMT(5,16,"header.search")," "),s.R7$(2),s.Y8G("ngClass",s.eq3(32,Vs,"translate"==h.routerActive())),s.R7$(4),s.SpI(" ",s.bMT(11,18,"header.translate")," "),s.R7$(2),s.Y8G("ngClass",s.eq3(34,Vs,"community"==h.routerActive())),s.R7$(5),s.SpI(" ",s.bMT(18,20,"header.community")," "),s.R7$(2),s.Y8G("ngClass",s.eq3(36,Vs,"test"==h.routerActive())),s.R7$(5),s.SpI(" ",s.bMT(25,22,"header.test")," "),s.R7$(2),s.Y8G("ngClass",s.eq3(38,Vs,"notebook"==h.routerActive())),s.R7$(9),s.SpI(" ",s.bMT(36,24,"header.notebook")," "),s.R7$(2),s.Y8G("ngClass",s.eq3(40,Vs,"upgrade"==h.routerActive())),s.R7$(),s.Y8G("width",20)("height",20)("fill","none"),s.R7$(2),s.SpI(" ",s.bMT(41,26,"header.upgrade")," "),s.R7$(2),s.vxM((D=(!h.user()||!h.sessionStore.checkPremium(h.user()))&&s.bMT(43,28,h.dataSale$))?42:-1,D)}}let _f=(()=>{var p;class v{constructor(){this.router=(0,u.WQX)(Pn.Ix),this.route=(0,u.WQX)(Pn.nX),this.translate=(0,u.WQX)(nn.c$),this.userService=(0,u.WQX)($n.G),this.broadcaster=(0,u.WQX)(nr.y),this.el=(0,u.WQX)(s.aKT),this.firebase=(0,u.WQX)(Gc.f),this.userServ=(0,u.WQX)($n.G),this.notifyServ=(0,u.WQX)(nf),this.renderer=(0,u.WQX)(s.sFG),this.document=(0,u.WQX)(u.qQL),this.platform=(0,u.WQX)(_r.f),this.storage=(0,u.WQX)(zn.n),this.langStore=(0,u.WQX)(wr.s),this.sessionStore=(0,u.WQX)(Er.c),this.destroyRef=(0,u.WQX)(u.abz),this.modalService=(0,u.WQX)(fe.B),this.notify=(0,u.WQX)(Xn.F),this.diamonds=(0,u.WQX)(qn.q),this.diamondShop=(0,u.WQX)(ft),this.cosmetics=(0,u.WQX)(un.a),this.wordMarks=(0,u.WQX)(rr.T),this.studyProgress=(0,u.WQX)(cu.T),this.user=(0,u.vPA)(void 0),this.diamondBalance=this.diamonds.balance,this.langWeb=(0,u.vPA)("vi"),this.unread=0,this.showPanel=!1,this.listNotify=(0,u.vPA)([]),this.mobileActive=(0,u.vPA)(!1),this.drawerNotifyOpen=(0,u.vPA)(!1),this.drawerLangOpen=(0,u.vPA)(!1),this.headerMenu=(0,u.vPA)(null),this.loginHost=(0,j.ebz)("loginComponent",{read:s.c1b}),this.saleStatus=(0,u.vPA)(!1),this.countUnread=(0,Kt.EW)(()=>this.listNotify().filter(h=>!h.read).length),this.notifyLoading=(0,u.vPA)(!1),this.notifyHasMore=(0,u.vPA)(!1),this.markingAllRead=(0,u.vPA)(!1),this.notifyPage=0,this.notifyFetchedAt=null,this.dataLanguage=[{key:"vi",name:"Vietnamese"},{key:"en",name:"English"},{key:"ko",name:"Korean"},{key:"cn",name:"Chinese (Simplified)"},{key:"tw",name:"Chinese (Traditional)"},{key:"es",name:"Spanish"},{key:"fr",name:"French"},{key:"ja",name:"Japanese"}],this.dataSale$=this.userServ.getDataSale$,this.navigationEndUrl=(0,Kn.ot)(this.router.events.pipe((0,Bn.p)(h=>h instanceof Pn.wF),(0,dn.T)(h=>h.url))),this.featureShadowing=oi.c.featureShadowing,this.featureExam=oi.c.featureExam,this.routerActive=(0,Kt.EW)(()=>this.convertRoute(this.navigationEndUrl()??this.router.url)),this.element=this.el.nativeElement,this.firebase.logEvents("web_first_visit")}ngOnInit(){this.langWeb.set(this.langStore.langPack()),this.user.set(this.sessionStore.user()),this.diamonds.ensureLoaded(),this.broadcaster.on("open-login-shell").subscribe(h=>{this.openLogin("string"==typeof h?h:"login")}),this.sessionStore.userChanges$.pipe((0,Kn.pQ)(this.destroyRef)).subscribe(h=>{h&&(this.user.set(h),h.id&&this.getNotify(),this.diamonds.ensureLoaded())}),this.route.queryParams.subscribe(h=>{const C=(0,er.Be)(h.hl)?h.hl:null;C?C!==this.langWeb()&&(this.langWeb.set(C),this.updateInforAfterChange()):this.updateParams()}),this.user()?.id&&this.getNotify(),this.translate.onLangChange.subscribe(h=>{this.saleStatus.set(!1),this.langWeb.set(h.lang),this.getNotify()})}getNotify(){!this.sessionStore.isLoggedIn()||!this.user()||this.loadNotifyPage(1)}loadMoreNotify(){this.notifyLoading()||!this.notifyHasMore()||this.loadNotifyPage(this.notifyPage+1)}onDrawerNotifyScroll(h){const C=h.target;C.scrollHeight-C.scrollTop-C.clientHeight<48&&this.loadMoreNotify()}loadNotifyPage(h){this.notifySub?.unsubscribe(),this.notifyLoading.set(!0),this.notifySub=this.notifyServ.getNotify(this.langWeb(),h).subscribe({next:C=>{const G=C?.data??[];if(1===h)this.notifyFetchedAt=C.fetched_at??null,this.listNotify.set(G);else{const Ne=new Set(this.listNotify().map(dt=>dt.id));this.listNotify.update(dt=>[...dt,...G.filter(Bt=>!Ne.has(Bt.id))])}this.notifyPage=C?.current_page??h,this.notifyHasMore.set(this.notifyPage<(C?.last_page??0)),this.notifyLoading.set(!1)},error:()=>this.notifyLoading.set(!1)})}changeLanguage(h){h!==this.langWeb()&&(this.langWeb.set(h),this.updateInforAfterChange(),this.updateParams())}convertRoute(h){if(null==h)return"";const C=h.split("/");return C.length>1?C[1].includes("?")?C[1].split("?")[0]:C[1]:""}routerLink(h){this.router.navigate([h],{queryParams:{hl:this.langWeb()}})}closePanel(){this.showPanel=!1}showMenuLeft(){this.showPanel=!0}logout(){this.user()&&this.userService.logout().subscribe(()=>{this.logoutSucess()},()=>{this.logoutSucess()})}logoutSucess(){this.storage.getLocal("provider")&&this.storage.removeLocal("provider"),this.storage.removeLocal("inforUser"),this.sessionStore.setUser(void 0),this.sessionStore.setLoginStatus(!1),this.diamonds.reset(),this.cosmetics.reset(),this.wordMarks.reset(),this.studyProgress.reset(),this.router.navigate(["/search"],{queryParams:{hl:this.langWeb()}}),this.closePanel(),this.notify.showNotify(this.translate.instant("user.txt_logout_success"),"success")}updateInforAfterChange(){this.langStore.setLangPack(this.langWeb()),this.translate.use(this.langWeb()),this.storage.setLocal("currentLanguage",this.langWeb()),this.storage.setLocal("type-search","en-"+this.langWeb())}updateParams(){const h=this.router.parseUrl(this.router.url);h.queryParams.hl=this.langWeb(),this.router.navigateByUrl(h)}goDetailPost(h){h.post&&this.routerLink(`/community/detail/${h.post}`),!h.read&&this.notifyServ.readNotify(h.id).subscribe(()=>{this.listNotify.update(C=>C.map(G=>
1G.id===h.id?{...G,read:!0}:G))})}markAllRead(){if(0===this.countUnread()||this.markingAllRead())return;this.markingAllRead.set(!0);const h=this.listNotify();this.listNotify.set(h.map(C=>C.read?C:{...C,read:!0})),this.notifyServ.readAllNotify(this.langWeb(),this.notifyFetchedAt).subscribe({next:()=>{this.markingAllRead.set(!1),this.getNotify()},error:()=>{this.markingAllRead.set(!1),this.listNotify.set(h),this.notify.showNotify("txt_mark_all_read_error","error")}})}toggleHeaderMenu(h,C){C.stopPropagation(),this.headerMenu.set(this.hoverCapable||this.headerMenu()!==h?h:null)}closeHeaderMenus(){this.headerMenu.set(null)}get hoverCapable(){return!0===this.document.defaultView?.matchMedia("(hover: hover) and (pointer: fine)").matches}openHeaderMenuOnHover(h){this.hoverCapable&&this.headerMenu.set(h)}closeHeaderMenuOnHover(h){this.hoverCapable&&this.headerMenu()===h&&this.headerMenu.set(null)}openDiamondDetail(){this.headerMenu.set(null),this.diamondShop.open()}toggleMenuMobile(){this.setPanelState(!this.mobileActive())}setPanelState(h){this.mobileActive.set(h),h||(this.drawerNotifyOpen.set(!1),this.drawerLangOpen.set(!1)),h?this.renderer.setStyle(this.document.body,"overflow","hidden"):this.renderer.removeStyle(this.document.body,"overflow")}openModal(){this.modalService.open("modal-setting")}openLogin(h){var C=this;return(0,Rs.A)(function*(){if(C.platform.isBrowser){if(!C.loginShell){const G=C.loginHost();if(!G)return;const{LoginShellComponent:Ne}=yield l.e(5193).then(l.bind(l,5193));C.loginShell=G.createComponent(Ne),C.loginShell.changeDetectorRef.detectChanges()}C.closeMenuMobile(),C.loginShell.instance.openLogin(h)}})()}closeMenuMobile(h){h&&this.router.navigate([`${h}`],{queryParams:{hl:this.langWeb()}}),this.setPanelState(!1)}static#e=p=()=>(this.\u0275fac=function(C){return new(C||v)},this.\u0275cmp=s.VBU({type:v,selectors:[["app-header"]],viewQuery:function(C,G){1&C&&s.wEZ(G.loginHost,cf,5,s.c1b),2&C&&s.NyB()},hostBindings:function(C,G){1&C&&s.bIt("click",function(){return G.closeHeaderMenus()},s.EBC)},decls:29,vars:26,consts:[["loginComponent",""],["menuTpl",""],[1,"relative","box-header","box-web"],[1,"mb-2","list-menu","box-default","d-flex","justify-content-between"],["role","button","aria-label","Menu",1,"menu-mobile",3,"click"],[3,"name","width","height","fill"],["routerLink","/search",1,"relative","item-menu","home-page","no-pml",3,"click","queryParams"],["alt","Dunno","src","assets/images/logo.png",1,"logo-dunno","ic-26"],[1,"txt-logo"],[1,"box-menu"],[3,"ngTemplateOutlet"],[1,"box-right"],[1,"box-flag-setting"],["aria-hidden","true",1,"item-menu","auth-slot-notify"],[1,"relative","item-menu","notify","position-relative",3,"open"],[1,"relative","item-menu","language","position-relative",3,"click","mouseenter","mouseleave"],[1,"flag-icon",3,"folder","name","width","height","fill"],[1,"absolute","box-hover","list-language","content-result-white"],[1,"item-language","txt-pronounce"],[1,"relative","item-menu","setting",3,"click"],["name","fill_setting",3,"width","height","fill"],[1,"relative","item-menu","user-infor","no-mpr",3,"ngClass","open"],[1,"box-login"],[1,"menu-mb","box-default"],[1,"relative","item-menu","notify","position-relative",3,"click","mouseenter","mouseleave"],["name","fill_bell",3,"width","height","fill"],[1,"absolute","notify-val"],[1,"absolute","box-notification","content-result-white"],[3,"itemClick","readAll","loadMore","items","unreadCount","loading","hasMore","markingAll"],[1,"item-language","txt-pronounce",3,"click"],[3,"folder","name","width","height","fill"],["aria-hidden","true",1,"item-menu","no-mpr","auth-slot-user"],[1,"auth-slot-avatar"],[1,"box-login","auth-slot-login"],[1,"btn-user","btn-login",3,"click"],[1,"btn-user","relative","btn-register",3,"click"],[1,"relative","item-menu","user-infor","no-mpr",3,"click","mouseenter","mouseleave","ngClass"],[1,"header-avatar",3,"size","src","username","isVip"],[1,"absolute","box-hover","user-action","bg-inverse"],[1,"flex-column","gap-12","user-content"],["label","vip","iconName","color_crown"],[1,"box-user"],[1,"font-18","fw-600","cl-pr-sm","ellipsis"],[1,"font-16","fw-400","cl-se-sm","ellipsis"],[3,"detail","balance"],[1,"d-flex","gap-12"],["routerLink","user/profile",1,"text-center","w-full","btn","btn-primary","btn-sm","font-16",3,"queryParams"],["routerLink","/upgrade",1,"text-center","w-full","btn","btn-brand","btn-sm","font-16",3,"queryParams"],[1,"user-more"],["routerLink","user/activity",1,"flex-center","gap-4","item-user","cursor-pointer",3,"queryParams"],["name","fill_chat","fill","--icon-secondary",3,"width","height"],["routerLink","other/help",1,"flex-center","gap-4","item-user","cursor-pointer",3,"queryParams"],["name","fill_question","fill","--icon-secondary",3,"width","height"],[1,"flex-center","gap-4","item-user","logout","cursor-pointer",3,"click"],["name","fill_log_out","fill","--icon-error-primary",3,"width","height"],[1,"menu-bottom"],[1,"mb-setting","tool",3,"click"],[1,"text-center","drawer-badge"],[1,"drawer-sub","tool"],[1,"mb-setting","logout"],[1,"drawer-sub","tool",3,"scroll"],[1,"drawer-empty"],["type","button",1,"notify-read-all","drawer-read-all",3,"disabled"],[1,"drawer-notify-item"],["type","button",1,"notify-read-all","drawer-read-all",3,"click","disabled"],[1,"drawer-notify-item",3,"click"],["onerror","this.onerror=null;this.src='assets/images/ic_avatar.png'","alt","",1,"img-avatar",3,"src"],[1,"txt-pronounce",3,"innerHTML"],[1,"drawer-lang-item"],[1,"drawer-lang-item",3,"click"],[1,"txt-pronounce"],[1,"mb-setting","logout",3,"click"],["name","fill_log_out",3,"width","height","fill"],[1,"relative","item-menu","txt-black",3,"click","ngClass"],["viewBox","0 0 24 24","width","20","height","20","fill","currentColor","xmlns","http://www.w3.org/2000/svg",1,"menu-svg"],["fill-rule","evenodd","clip-rule","evenodd","d","M13.893 3.39101L20.0593 8.18713C20.8109 8.77104 21.2502 9.66945 21.2502 10.621V18.946C21.2502 19.5594 21.0066 20.1476 20.5729 20.5812C20.1393 21.0149 19.5511 21.2585 18.9377 21.2585H5.06274C4.44943 21.2585 3.86124 21.0149 3.42756 20.5812C2.99388 20.1476 2.75024 19.5594 2.75024 18.946V10.621C2.75002 10.1515 2.8571 9.68814 3.06331 9.26632C3.26951 8.84449 3.56938 8.47
1537 3.94003 8.18713L10.1075 3.39101C10.6486 2.97003 11.3146 2.74146 12.0002 2.74146C12.6858 2.74146 13.3519 2.97003 13.893 3.39101ZM7.34435 14.4351C6.77836 14.4351 6.31954 14.894 6.31954 15.46C6.31954 16.0259 6.77836 16.4848 7.34435 16.4848H16.5943C17.1603 16.4848 17.6191 16.0259 17.6191 15.46C17.6191 14.894 17.1603 14.4351 16.5943 14.4351H7.34435Z"],["d","M12.0002 1.75H3.94667C2.73571 1.75 1.75024 2.73546 1.75024 3.94643V12C1.75024 13.211 2.73571 14.1964 3.94667 14.1964H12.0002C13.2112 14.1964 14.1967 13.211 14.1967 12V3.94643C14.1967 2.73546 13.2112 1.75 12.0002 1.75ZM8.7671 10.3278C8.2751 10.8066 7.63667 11.128 6.92064 11.2561C6.87671 11.2642 6.83424 11.2679 6.79105 11.2679C6.44255 11.2679 6.13505 11.0189 6.07135 10.6646C5.9996 10.2663 6.26537 9.8863 6.66366 9.81455C6.96091 9.76111 7.38994 9.62493 7.74576 9.27936C8.2568 8.78077 8.34832 8.08816 8.3388 7.60714H6.14457C5.73969 7.60714 5.41242 7.27914 5.41242 6.875C5.41242 6.47086 5.73969 6.14286 6.14457 6.14286H6.87671V5.41071C6.87671 5.00657 7.20398 4.67857 7.60885 4.67857C8.01373 4.67857 8.34099 5.00657 8.34099 5.41071V6.14286H8.98967C9.32792 6.14286 9.62151 6.37421 9.70131 6.70295C9.75549 6.92771 10.1919 8.94111 8.7693 10.3278H8.7671ZM20.0538 9.80357H15.661V12C15.661 14.0185 14.0188 15.6607 12.0002 15.6607H9.80382V20.0536C9.80382 21.2645 10.7893 22.25 12.0002 22.25H20.0538C21.2648 22.25 22.2502 21.2645 22.2502 20.0536V12C22.2502 10.789 21.2648 9.80357 20.0538 9.80357ZM19.6101 19.6282C19.5164 19.6685 19.4183 19.6882 19.3217 19.6882C19.0376 19.6882 18.7674 19.5213 18.6488 19.2446L18.2117 18.2239H16.0395L15.6024 19.2446C15.4435 19.6165 15.0101 19.7885 14.6418 19.6289C14.2699 19.4701 14.0978 19.0396 14.2574 18.6676L16.4539 13.5426C16.5688 13.2732 16.8339 13.0989 17.1267 13.0989C17.4196 13.0989 17.6846 13.2732 17.7995 13.5426L19.996 18.6676C20.1556 19.0396 19.9828 19.4701 19.6116 19.6289L19.6101 19.6282ZM17.1252 15.6893L17.5836 16.7589H16.6662L17.1252 15.6893Z"],["d","M1.9334 19.852C1.58416 19.9386 1.25586 19.6519 1.30098 19.2998L1.79569 15.4392C1.31138 14.4382 1.02922 13.3226 1.00235 12.1424C0.9006 7.67371 4.49701 3.97075 9.03515 3.87159C11.1042 3.8264 13.0117 4.53809 14.4846 5.74938C10.9186 6.62028 8.23937 9.75432 8.15306 13.5448C8.0959 16.0558 9.18853 18.3286 10.9568 19.8752C10.455 19.9813 9.93577 20.0425 9.40363 20.0541C7.88798 20.0873 6.45897 19.7142 5.224 19.0361L1.9334 19.852Z"],["d","M22.1103 19.9313C22.4595 20.0179 22.7878 19.7313 22.7427 19.3792L22.3708 16.4776C22.754 15.6856 22.9773 14.803 22.9986 13.8692C23.0791 10.3336 20.2335 7.40387 16.6431 7.32544C13.0526 7.24699 10.0767 10.0495 9.99615 13.5851C9.91565 17.1207 12.7611 20.0504 16.3516 20.1288C17.5507 20.155 18.6813 19.8599 19.6584 19.3234L22.1103 19.9313Z"],["fill-rule","evenodd","clip-rule","evenodd","d","M16.0791 4.35567V6.07349C16.0791 6.90405 15.4058 7.57657 14.5761 7.57657H9.42261C8.59291 7.57657 7.91952 6.90405 7.91952 6.07349V4.35567C7.91952 3.52511 8.59291 2.85258 9.42261 2.85258H14.5761C15.4058 2.85258 16.0791 3.52511 16.0791 4.35567Z"],["fill-rule","evenodd","clip-rule","evenodd","d","M17.3145 4.55059C17.9602 4.55059 18.5802 4.80745 19.0372 5.26359C19.4934 5.72062 19.7502 6.34062 19.7502 6.9863V18.7117C19.7502 19.3574 19.4934 19.9774 19.0372 20.4344C18.5802 20.8906 17.9602 21.1474 17.3145 21.1474H6.68596C6.04027 21.1474 5.42027 20.8906 4.96324 20.4344C4.5071 19.9774 4.25024 19.3574 4.25024 18.7117V6.9863C4.25024 6.34062 4.5071 5.72062 4.96324 5.26359C5.42027 4.80745 6.04027 4.55059 6.68596 4.55059V6.44471C6.68596 7.79011 7.9977 8.88043 9.3431 8.88043H14.6574C16.0028 8.88043 17.3145 7.79011 17.3145 6.44471V4.55059ZM9.7056 14.8027C9.417 14.5151 9.417 14.0463 9.7056 13.7587C9.99322 13.4701 10.4621 13.4701 10.7497 13.7587L11.4096 14.4176L13.2515 12.5767C13.5391 12.2881 14.008 12.2881 14.2956 12.5767C14.5842 12.8643 14.5842 13.3331 14.2956 13.6208L11.9317 15.9847C11.6431 16.2733 11.1762 16.2733 10.8876 15.9847L9.7056 14.8027Z"],["clip-path","url(#clip0_dunno_nb)"],["d","M3.00024 5.07379V18.9261C3.00024 20.2563 4.09582 21.3519 5.42641 21.3519H15.8349C17.1655 21.3519 18.2611 20.2563 18.2611 18.9257V15.5607L17.7131 16.1087C17.1652 16.6566 16.3825 17.0479 15.5999 17.2826L13.9564 17.5955C13.2521 17.7522 12.4695 17.5172 12.0782 16.9696C11.6869 16.5 11.5302 15.9524 11.6869 15.326L12.0782 13.6042C12.2349 12.8215 12.6262 12.1173 13.2521 11.491L17.1652 7.57791C17.4781 7.26495 17.9478 6.95198 18.3391 6.7953V5.07341C18.3391 3.74282 17.2435 2.64725 15.9129 2.64725H5.42641C4.09582 2.64763 3.00024 3.74321 3.00024 5.07379ZM6.83495 5.38676H14.3481C14.8177 5.38676 15.1307 5.69973 15.1307 6.16937C15.1307 6.63901 14.8177 6.95198 14.3481 6.95198H6.83495C6.36531 6.95198 6.05234 6.63901 6.05234 6.16937C6.05234 5.77807 6.44365 5.38676 6.83495 5.38676ZM6.83495 8.59553H11.2176C11.6873 8.59553 12.0002 8.9085 12.0002 9.37814C12.0002 9.84779 11.6873 10.1608 11.2176 10.1608H6.83495C6.36531 10.1608 6.05234 9.84779 6.05234 9.37814C6.05234 8.9085 6.44365 8.59553 6.83495 8.59553Z"],["d","M20.5306 8.75204C19.9047 8.12611 18.8087 8.12611 18.1828 8.75204L14.2698 12.6651C13.8785 13.0564 13.6438 13.4477 13.5655 13.9957L13.1742 15.6392C13.0959 15.8739 13.3309 16.1089 13.5655 16.0305L15.2874 15.6392C15.757 15.5609 16.2267 15.2479 16.618 14.935L20.531 11.0219C21.157 10.396 21.1566 9.37798 20.5306 8.75204Z"],["
1id","clip0_dunno_nb"],["width","18","height","18.7043","fill","white","transform","translate(3.00024 2.64786)"],[1,"relative","item-menu","txt-black","upgrade-item",3,"click","ngClass"],["name","color_crown",1,"menu-svg",3,"width","height","fill"],["src","/assets/images/icons/ic_sale.png","alt","Dunno English dictionary",1,"absolute","icon-sale","icon-24"]],template:function(C,G){if(1&C){const Ne=s.RV6();s.j41(0,"div",2)(1,"div",3)(2,"div",4),s.bIt("click",function(){return u.eBV(Ne),u.Njj(G.toggleMenuMobile())}),s.nrm(3,"app-svg-icon",5),s.k0s(),s.j41(4,"a",6),s.bIt("click",function(){return u.eBV(Ne),u.Njj(G.closeMenuMobile())}),s.nrm(5,"img",7),s.j41(6,"span",8),s.EFF(7," DUNNO "),s.k0s()(),s.j41(8,"nav",9),s.eu8(9,10),s.k0s(),s.j41(10,"div",11)(11,"div",12),s.nVh(12,du,1,0,"div",13),s.nVh(13,hu,5,11,"div",14),s.j41(14,"div",15),s.bIt("click",function(Bt){return u.eBV(Ne),u.Njj(G.toggleHeaderMenu("language",Bt))})("mouseenter",function(){return u.eBV(Ne),u.Njj(G.openHeaderMenuOnHover("language"))})("mouseleave",function(){return u.eBV(Ne),u.Njj(G.closeHeaderMenuOnHover("language"))}),s.nrm(15,"app-svg-icon",16),s.j41(16,"div",17),s.Z7z(17,ta,3,6,"div",18,s.fX1),s.k0s()(),s.j41(19,"div",19),s.bIt("click",function(){return u.eBV(Ne),u.Njj(G.openModal())}),s.nrm(20,"app-svg-icon",20),s.k0s()(),s.nVh(21,ps,9,6),s.nVh(22,gu,32,41,"div",21),s.nVh(23,kp,7,6,"div",22),s.k0s()(),s.nVh(24,pf,23,26,"div",23),s.k0s(),s.DNE(25,es,0,0,"ng-template",null,0,s.C5r)(27,yu,44,42,"ng-template",null,1,s.C5r)}if(2&C){let Ne;const dt=s.sdS(28);s.AVh("panel-open",G.mobileActive()),s.R7$(3),s.Y8G("name",G.mobileActive()?"fill_close":"fill_table_of_contents")("width",24)("height",24)("fill","--icon-secondary"),s.R7$(),s.Y8G("queryParams",s.eq3(24,Ea,G.langWeb())),s.R7$(5),s.Y8G("ngTemplateOutlet",dt),s.R7$(3),s.vxM("unknown"===G.sessionStore.authStatus()?12:-1),s.R7$(),s.vxM("authed"===G.sessionStore.authStatus()?13:-1),s.R7$(),s.AVh("open","language"===G.headerMenu()),s.R7$(),s.Y8G("folder","flag")("name",G.langWeb())("width",24)("height",24)("fill","none"),s.R7$(2),s.Dyx(G.dataLanguage),s.R7$(3),s.Y8G("width",22)("height",22)("fill","--icon-secondary"),s.R7$(),s.vxM("unknown"===G.sessionStore.authStatus()?21:-1),s.R7$(),s.vxM((Ne="authed"===G.sessionStore.authStatus()&&G.sessionStore.user())?22:-1,Ne),s.R7$(),s.vxM("anon"===G.sessionStore.authStatus()?23:-1),s.R7$(),s.vxM(G.mobileActive()?24:-1)}},dependencies:[Kr.Wk,Xc.YU,Xc.T3,nn.h,mr.D,rf.f,Np,ya.U,Fp,Xc.Jj,nn.D9],styles:['@charset "UTF-8";.box-header[_ngcontent-%COMP%]{width:100%;height:60px;padding-top:16px;background-color:var(--surface-background);z-index:100}.list-menu[_ngcontent-%COMP%]{background-color:var(--surface-default-inverse);border:1px solid var(--border-primary);border-radius:20px;padding:8px 14px;align-items:center;box-shadow:0 4px 14px #0000000d}.home-page[_ngcontent-%COMP%]{margin-left:5px!important}.list-menu[_ngcontent-%COMP%] > .home-page.item-menu[_ngcontent-%COMP%]{display:flex;align-items:center;line-height:normal}.list-menu[_ngcontent-%COMP%] > .home-page.item-menu[_ngcontent-%COMP%] .logo-dunno[_ngcontent-%COMP%]{margin-bottom:0!important}.item-menu[_ngcontent-%COMP%]{display:inline-block;line-height:66px;cursor:pointer;font-size:14px;margin:0 15px}.icon-sale[_ngcontent-%COMP%]{top:5px;right:-20px}.box-right[_ngcontent-%COMP%]{display:flex;align-items:center}.list-menu[_ngcontent-%COMP%]{height:inherit}.item-menu[_ngcontent-%COMP%] *[_ngcontent-%COMP%]{font-weight:400;margin:0}.box-right[_ngcontent-%COMP%]{justify-content:space-between}.box-login[_ngcontent-%COMP%]{display:inline-block;font-weight:500}.box-login[_ngcontent-%COMP%] .btn-user[_ngcontent-%COMP%]{display:inline-block;padding:5px 25px;cursor:pointer}.box-login[_ngcontent-%COMP%] .btn-login[_ngcontent-%COMP%]{padding:5px 20px 5px 0}.logo-dunno[_ngcontent-%COMP%]{width:40px;height:40px;margin-right:10px!important;border-radius:50%;margin-bottom:5px!important;border:.01em solid #898989}.txt-logo[_ngcontent-%COMP%]{color:var(--text-large-primary);font-size:28px;font-family:Nunito,serif;font-weight:700!important;line-height:normal;letter-spacing:-.14px}.box-menu[_ngcontent-%COMP%] .item-menu[_ngcontent-%COMP%]{display:inline-flex;vertical-align:middle;align-items:center;gap:8px;line-height:normal;padding:12px 16px;margin:0 2px;border-radius:16px;transition:background-color .15s ease,color .15s ease}.box-menu[_ngcontent-%COMP%] .item-menu.active-menu[_ngcontent-%COMP%], .box-menu[_ngcontent-%COMP%] .item-menu[_ngcontent-%COMP%]:hover{background-color:var(--surface-brand-light);color:var(--text-brand-primary);border-bottom:none}.box-menu[_ngcontent-%COMP%] .item-menu.active-menu[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-weight:600;color:var(--text-brand-primary)}.menu-svg[_ngcontent-%COMP%]{display:none;width:20px;height:20px;color:var(--icon-brand-primary);flex-shrink:0}.box-menu[_ngcontent-%COMP%] .item-menu.active-menu[_ngcontent-%COMP%] .menu-svg[_ngcontent-%COMP%]{display:block}.box-flag-setting[_ngcontent-%COMP%]{display:flex;align-items:center;background-color:var(--surface-neutral-primary);border-radius:12px;padding:6px;margin-right:14px}.box-flag-setting[_ngcontent-%COMP%] .item-menu[_ngcontent-%COMP%]{margin:0;padding:0 8px;line-height:normal;display:flex;align-items:center}.box-flag-setting[_ngcontent-%COMP%] .language[_ngcontent-%COMP%]{border-right:1px solid var(--border-secondary)}@media(pointer:coarse){.box-flag-setting[_ngcontent-%COMP%] .item-menu[_ngcontent-%COMP%]{position:relative}.box-flag-setting[_ngcontent-%COMP%] .item-menu[_ngcontent-%COMP%]:before{content:"";position:absolute;top:50%;left:50%;width:44px;height:44px;transform:translate(-50%,-50%)}}
1.item-menu.user-infor[_ngcontent-%COMP%]:hover, .item-menu.home-page[_ngcontent-%COMP%]:hover{border-bottom:none}.btn-register[_ngcontent-%COMP%]{color:#f53855;border:1px solid #F53855;border-radius:30px}.box-login[_ngcontent-%COMP%] .btn-user[_ngcontent-%COMP%]:hover{text-decoration:underline}.box-hover[_ngcontent-%COMP%]{box-shadow:0 8px 24px #0000001f;color:var(--text-small-primary);top:calc(100% + 12px);z-index:99;opacity:0;visibility:hidden;transform:translateY(8px);transition:opacity .16s ease,transform .16s ease}.item-menu.language[_ngcontent-%COMP%]:after, .item-menu.notify[_ngcontent-%COMP%]:after, .item-menu.user-infor[_ngcontent-%COMP%]:after{content:"";position:absolute;top:100%;left:-8px;right:-8px;height:16px}.item-menu.user-infor.open[_ngcontent-%COMP%] .user-action[_ngcontent-%COMP%], .item-menu.language.open[_ngcontent-%COMP%] .box-hover[_ngcontent-%COMP%]{opacity:1;visibility:visible;transform:translateY(0)}.language[_ngcontent-%COMP%] img[_ngcontent-%COMP%]:first-child{margin-right:5px}.list-language[_ngcontent-%COMP%]{right:0;border-radius:5px;overflow:hidden}.item-language[_ngcontent-%COMP%]{height:40px;display:flex;align-items:center;gap:8px;color:#707070;cursor:pointer;padding:0 12px;width:200px}.item-language[_ngcontent-%COMP%]:hover{background-color:#f5f7f7}.theme-dark [_nghost-%COMP%] .item-language:hover{color:#272729!important}.img-avatar[_ngcontent-%COMP%]{min-width:40px;max-width:40px;min-height:40px;max-height:40px;border-radius:50%;box-shadow:0 0 15px #00000026}.header-avatar[_ngcontent-%COMP%]{display:inline-flex;cursor:pointer}.header-avatar[_ngcontent-%COMP%] .thumbnail:not(.thumbnail--vip){box-shadow:0 0 15px #00000026;border:none}.user-action[_ngcontent-%COMP%]{right:0;width:300px;padding:16px 0;z-index:99;font-size:16px;line-height:21px}.user-action[_ngcontent-%COMP%] .fw-600[_ngcontent-%COMP%]{font-weight:600}.user-action[_ngcontent-%COMP%] .user-content[_ngcontent-%COMP%]{padding:0 16px 12px;margin-bottom:12px;border-bottom:1px solid var(--border-primary)}.user-action[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{font-weight:500;display:flex;align-items:center;justify-content:center;min-height:36px}.user-action[_ngcontent-%COMP%] .user-more[_ngcontent-%COMP%]{padding:0 16px}.user-action[_ngcontent-%COMP%] .user-more[_ngcontent-%COMP%] .item-user[_ngcontent-%COMP%], .user-action[_ngcontent-%COMP%] .user-more[_ngcontent-%COMP%] .item-user[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:var(--text-small-secondary);font-weight:500;line-height:21px;height:auto;text-align:left}.user-action[_ngcontent-%COMP%] .user-more[_ngcontent-%COMP%] .item-user[_ngcontent-%COMP%]{padding:5px 0 7px}.user-action[_ngcontent-%COMP%] .user-more[_ngcontent-%COMP%] .item-user.logout[_ngcontent-%COMP%], .user-action[_ngcontent-%COMP%] .user-more[_ngcontent-%COMP%] .item-user.logout[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:var(--text-error-primary)}.item-menu.user-infor[_ngcontent-%COMP%]{position:relative;display:flex;justify-content:flex-end;align-items:center}.item-menu[_ngcontent-%COMP%]:active, .item-menu[_ngcontent-%COMP%]:focus, .box-user[_ngcontent-%COMP%]:focus, .item-user[_ngcontent-%COMP%]:focus{outline:none}.item-user.logout[_ngcontent-%COMP%]{text-align:center;height:40px;line-height:40px;color:#707070}.item-user[_ngcontent-%COMP%]{line-height:30px;color:#707070}.user-action[_ngcontent-%COMP%]:after{display:none}.username[_ngcontent-%COMP%]{position:absolute;right:10px;color:#000!important;text-decoration:underline!important;font-size:16px}.menu[_ngcontent-%COMP%]:focus{outline:none}.item-menu[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:16px;line-height:24px;margin:0}.box-notification[_ngcontent-%COMP%]{min-width:315px;top:calc(100% + 12px);left:50%;z-index:999;line-height:normal;border-radius:12px;box-shadow:0 8px 24px #0000001f;overflow:hidden;margin:0;opacity:0;visibility:hidden;transform:translate(-50%,8px);transition:opacity .16s ease,transform .16s ease}.notify.open[_ngcontent-%COMP%] .box-notification[_ngcontent-%COMP%]{opacity:1;visibility:visible;transform:translate(-50%)}.notify-read-all[_ngcontent-%COMP%]{padding:0;border:0;background:none;font-size:13px;color:var(--text-brand-primary);white-space:nowrap}.notify-read-all[_ngcontent-%COMP%]:disabled{color:var(--text-small-tertiary)}
1.drawer-read-all[_ngcontent-%COMP%]{display:block;margin:4px 0 4px auto}.notify-val[_ngcontent-%COMP%]{top:-4px;right:-2px;color:#fff;background:red;min-width:16px;height:16px;padding:0 4px;box-sizing:border-box;border:2px solid var(--surface-neutral-primary);line-height:normal;border-radius:999px;font-size:.625rem;font-weight:600;display:flex;align-items:center;justify-content:center;pointer-events:none}@media(max-width:1120px){.item-menu[_ngcontent-%COMP%]{margin:0 6px!important}}@media(max-width:991px){.box-notification[_ngcontent-%COMP%]{min-width:240px;right:-86px;left:unset;transform:unset}.box-right[_ngcontent-%COMP%] .box-login[_ngcontent-%COMP%]{display:none}.logo-dunno[_ngcontent-%COMP%]{width:45px;margin-right:5px!important}}.menu-mobile[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;flex:0 0 auto;padding:8px;margin-right:4px;border-radius:12px;background-color:var(--surface-neutral-primary);cursor:pointer}.box-flag-setting[_ngcontent-%COMP%], .box-menu[_ngcontent-%COMP%]{display:none}.box-header.panel-open[_ngcontent-%COMP%]{position:fixed;top:0;left:0;width:100%;height:100dvh;z-index:950;overflow-y:auto;padding:16px 0 24px;background-color:var(--surface-default-inverse);animation:_ngcontent-%COMP%_slideIn .3s ease-in-out forwards}.box-header.panel-open[_ngcontent-%COMP%] .list-menu[_ngcontent-%COMP%]{height:auto}@keyframes _ngcontent-%COMP%_slideIn{0%{transform:translate(-100%);opacity:0}to{transform:translate(0);opacity:1}}.menu-mb[_ngcontent-%COMP%]{font-size:16px;color:var(--text-small-primary)}.menu-mb[_ngcontent-%COMP%] .item-menu[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px;width:100%;height:auto;margin:0!important;padding:12px 16px;border-radius:16px;font-size:16px;line-height:24px}.menu-mb[_ngcontent-%COMP%] .item-menu[_ngcontent-%COMP%] .menu-svg[_ngcontent-%COMP%]{display:block}.menu-mb[_ngcontent-%COMP%] .item-menu[_ngcontent-%COMP%] .icon-sale[_ngcontent-%COMP%]{top:50%;right:16px;transform:translateY(-50%)}.menu-mb[_ngcontent-%COMP%] .item-menu.active-menu[_ngcontent-%COMP%]{background-color:var(--surface-neutral-primary)}.menu-mb[_ngcontent-%COMP%] .item-menu.active-menu[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-weight:500}.menu-mb[_ngcontent-%COMP%] .menu-bottom[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:12px;margin-top:16px;padding-top:16px;border-top:1px solid var(--border-primary)}.menu-mb[_ngcontent-%COMP%] .mb-setting[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px;padding:12px 16px;border-radius:16px;line-height:24px;background-color:var(--surface-neutral-primary);cursor:pointer}.menu-mb[_ngcontent-%COMP%] .mb-setting.logout[_ngcontent-%COMP%], .menu-mb[_ngcontent-%COMP%] .mb-setting.logout[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:var(--text-error-primary)}.menu-mb[_ngcontent-%COMP%] .box-login[_ngcontent-%COMP%]{display:flex;gap:12px}.menu-mb[_ngcontent-%COMP%] .box-login[_ngcontent-%COMP%] .btn-user[_ngcontent-%COMP%]{flex:1;padding:10px 16px;border-radius:16px;text-align:center}.menu-mb[_ngcontent-%COMP%] .box-login[_ngcontent-%COMP%] .btn-login[_ngcontent-%COMP%]{padding:10px 16px;background-color:var(--surface-brand-light);color:var(--text-brand-primary)}.drawer-badge[_ngcontent-%COMP%]{margin-left:auto;min-width:20px;padding:0 6px;border-radius:999px;background:var(--surface-error-primary, #cd3535);color:#fff;font-size:12px;font-weight:600!important;line-height:20px}.drawer-sub[_ngcontent-%COMP%]{max-height:240px;overflow-y:auto;margin:-4px 0 0;padding:4px 16px 8px}.drawer-empty[_ngcontent-%COMP%]{margin:0;padding:8px 0;font-size:14px;color:var(--text-small-secondary)}.drawer-notify-item[_ngcontent-%COMP%], .drawer-lang-item[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px;padding:8px 0;font-size:14px;line-height:20px;cursor:pointer}.drawer-notify-item[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.drawer-notify-item[_ngcontent-%COMP%] .img-avatar[_ngcontent-%COMP%]{flex:0 0 auto;width:28px;height:28px;border-radius:50%;object-fit:cover}@media(min-width:569px){.box-flag-setting[_ngcontent-%COMP%]{display:flex}.menu-mb[_ngcontent-%COMP%] .mb-setting.tool[_ngcontent-%COMP%], .menu-mb[_ngcontent-%COMP%] .drawer-sub.tool[_ngcontent-%COMP%]{display:none}}@media(min-width:992px){.box-header[_ngcontent-%COMP%], .list-menu[_ngcontent-%COMP%]{height:auto}.menu-mobile[_ngcontent-%COMP%]{display:none}.box-menu[_ngcontent-%COMP%]{display:block}.menu-mb[_ngcontent-%COMP%]{display:none}}@media(max-width:768px){.list-menu[_ngcontent-%COMP%] .item-menu[_ngcontent-%COMP%]{padding:0;font-size:.75em;margin:0 7px!important}}.item-menu.auth-slot-user[_ngcontent-%COMP%]{display:none;align-items:center}.box-flag-setting[_ngcontent-%COMP%] .item-menu.auth-slot-notify[_ngcontent-%COMP%]{display:none;width:38px;height:22px}
1.auth-slot-avatar[_ngcontent-%COMP%]{width:40px;aspect-ratio:1/1;border:1px solid var(--border-primary);border-radius:50%;background-color:var(--surface-neutral-primary)}html.auth-known[_nghost-%COMP%] .item-menu.auth-slot-user[_ngcontent-%COMP%], html.auth-known [_nghost-%COMP%] .item-menu.auth-slot-user[_ngcontent-%COMP%], html.auth-known[_nghost-%COMP%] .box-flag-setting[_ngcontent-%COMP%] .item-menu.auth-slot-notify[_ngcontent-%COMP%], html.auth-known [_nghost-%COMP%] .box-flag-setting[_ngcontent-%COMP%] .item-menu.auth-slot-notify[_ngcontent-%COMP%]{display:flex}html.auth-known[_nghost-%COMP%] .auth-slot-login[_ngcontent-%COMP%], html.auth-known [_nghost-%COMP%] .auth-slot-login[_ngcontent-%COMP%]{display:none}'],changeDetection:0}))}return p(),v})(),mf=(()=>{var p;class v{static#e=p=()=>(this.\u0275fac=function(C){return new(C||v)},this.\u0275cmp=s.VBU({type:v,selectors:[["app-default-layout"]],decls:4,vars:0,consts:[[1,"main","main-app"]],template:function(C,G){1&C&&(s.nrm(0,"app-header"),s.j41(1,"div",0),s.nrm(2,"router-outlet"),s.k0s(),s.nrm(3,"app-footer"))},dependencies:[Pn.n3,_f,zc],encapsulation:2,changeDetection:0}))}return p(),v})(),Ws=(()=>{var p;class v{static#e=p=()=>(this.\u0275fac=function(C){return new(C||v)},this.\u0275cmp=s.VBU({type:v,selectors:[["app-no-default-layout"]],decls:2,vars:0,consts:[[1,"main"]],template:function(C,G){1&C&&(s.j41(0,"div",0),s.nrm(1,"router-outlet"),s.k0s())},dependencies:[Pn.n3],encapsulation:2,changeDetection:0}))}return p(),v})();const Yc=(p,v)=>v.length>1;var vf=l(7503),yf=l(7297),Ef=l(7629);const Cr=[{path:"notebook",component:Ws,canMatch:[Yc],children:[{path:"flashcard/:slug",loadComponent:()=>Promise.all([l.e(1611),l.e(9129),l.e(1514),l.e(8658)]).then(l.bind(l,8658)).then(p=>p.FlashcardComponent)},{path:"practice",loadChildren:()=>Promise.all([l.e(1611),l.e(2076),l.e(7389)]).then(l.bind(l,7389)).then(p=>p.PRACTICE_ROUTES)}]},{path:"test",component:Ws,canMatch:[Yc],children:[{path:":type/detail/:id",canActivate:[qd],loadComponent:()=>Promise.all([l.e(2076),l.e(9335)]).then(l.bind(l,9335)).then(p=>p.TestComponent)},{path:":type/history/:id/:idHistory",canActivate:[$c.q],loadComponent:()=>Promise.all([l.e(2076),l.e(9335)]).then(l.bind(l,9335)).then(p=>p.TestComponent)}]},{path:"word-family",component:Ws,loadChildren:()=>Promise.all([l.e(1611),l.e(3430),l.e(2076),l.e(5231)]).then(l.bind(l,5231)).then(p=>p.WORD_FAMILY_ROUTES)},{path:"mind-map",component:Ws,loadChildren:()=>Promise.all([l.e(1611),l.e(150),l.e(7066),l.e(7033),l.e(5233),l.e(2133),l.e(6420),l.e(9178),l.e(3430),l.e(7797),l.e(2076),l.e(5949)]).then(l.bind(l,7797)).then(p=>p.MIND_MAP_ROUTES)},{path:"game",component:Ws,loadChildren:()=>l.e(3405).then(l.bind(l,3405)).then(p=>p.GAME_ROUTES)},...oi.c.featureExam?[{path:"exam/play",component:Ws,loadChildren:()=>l.e(7474).then(l.bind(l,7474)).then(p=>p.EXAM_PLAYER_ROUTES)}]:[],...oi.c.featureReading?[{path:"reading",component:Ws,canMatch:[Yc],loadChildren:()=>Promise.all([l.e(1611),l.e(9129),l.e(3797),l.e(2076),l.e(4757)]).then(l.bind(l,4757)).then(p=>p.READING_PLAYER_ROUTES)}]:[],{path:"",component:mf,children:[{path:"",redirectTo:"search",pathMatch:"full"},{path:"search",loadChildren:()=>Promise.all([l.e(1611),l.e(9129),l.e(150),l.e(3797),l.e(8495),l.e(3621),l.e(8535)]).then(l.bind(l,8535)).then(p=>p.SEARCH_ROUTES),providers:[Z.o]},{path:"community",loadChildren:()=>Promise.all([l.e(1611),l.e(9129),l.e(150),l.e(3797),l.e(8495),l.e(8110),l.e(2076),l.e(3714)]).then(l.bind(l,3714)).then(p=>p.COMMUNITY_ROUTES),providers:[vf.B]},{path:"user",loadChildren:()=>Promise.all([l.e(8110),l.e(5353)]).then(l.bind(l,5353)).then(p=>p.USER_ROUTES),providers:[Ef.p]},{path:"test",loadChildren:()=>Promise.all([l.e(2076),l.e(5252)]).then(l.bind(l,5252)).then(p=>p.TEST_ROUTES),providers:[yf.E]},{path:"notebook",loadChildren:()=>Promise.all([l.e(1611),l.e(9129),l.e(150),l.e(3797),l.e(8495),l.e(1514),l.e(5504),l.e(2076),l.e(3895)]).then(l.bind(l,3895)).then(p=>p.NOTEBOOK_ROUTES)},{path:"translate",loadChildren:()=>Promise.all([l.e(1611),l.e(9129),l.e(150),l.e(3797),l.e(8495),l.e(3621),l.e(4026)]).then(l.bind(l,4026)).then(p=>p.TRANSLATE_ROUTES)},{path:"other",loadChildren:()=>l.e(6647).then(l.bind(l,6647)).then(p=>p.OTHER_ROUTES)},{path:"upgrade",loadChildren:()=>Promise.all([l.e(1514),l.e(2076),l.e(9641)]).then(l.bind(l,9641)).then(p=>p.UPGRADE_ROUTES)},{path:"login",loadChildren:()=>l.e(6595).then(l.bind(l,6595)).then(p=>p.LOGIN_ROUTES)},...oi.c.featureReading?[{path:"reading",pathMatch:"full",redirectTo:"/notebook/decks"}]:[],...oi.c.featureShadowing?[{path:"shadowing",loadChildren:()=>l.e(2446).then(l.bind(l,2446)).then(p=>p.SHADOWING_ROUTES)}]:[],...oi.c.featureExam?[{path:"exam",loadChildren:()=>l.e(7474).then(l.bind(l,7474)).then(p=>p.EXAM_ROUTES)}]:[],...oi.c.wordBuilding?[{path:"affix",loadChildren:()=>l.e(5921).then(l.bind(l,5921)).then(p=>p.AFFIX_ROUTES)}]:[],{path:"**",redirectTo:"search"}]}];(function an(p,v,D){const h={rootComponent:p,platformRef:D?.platformRef,...we(v)};return(0,j.TL3)(h)})(io,{providers:[(0,s.Jn2)({eventCoalescing:!0}),(0,Kr.lh)(Cr,(0,Kr.Zy)()),function so(p="animations"){return(0,s._jY)("NgAsyncAnimations"),(0,u.EmA)([{provide:s._9s,useFactory:(v,D,h)=>new ur(v,D,h,p),deps:[u.qQL,mt,s.SKi]},{provide:s.bc$,useValue:"noop"===p?"NoopAnimations":"BrowserAnimations"}])}(),{provide:Jn.a7,useClass:ql,multi:!0},(0,Jn.$R)((0,Jn.Sx)(),(0,Jn.b$)([...fr.dd?[(p,v)=>{if(!eu.test(p.url))return v(p);const D=(0,u.WQX)(u.uvJ);return ma??=l.e(6600).then(l.bind(l,6600)).then(h=>h.handleWordBuildingMock),(0,Bc.H)(ma).pipe((0,re.n)(h=>(0,u.N4e)(D,()=>h(p,v))))}]:[],...Yd?[(p,v)=>Zd.test(p.url)?(nu??=l.e(5232).then(l.bind(l,5232)).then(D=>D.handleShadowingMock),(0,Bc.H)(nu).pipe((0,re.n)(D=>D(p,v)))):v(p)]:[],...ru?[(p,v)=>Uc.test(p.url)?(Vc??=l.e(2003).then(l.bind(l,2003)).then(D=>D.handleExamMock),(0,Bc.H)(Vc).pipe((0,re.n)(D=>D(p,v)))):v(p)]:[]])),(0,nn.D8)({loader:{provide:nn.Wr,useFactory:function iu(p,v){return new ou(p,v)},deps:[s.pJN,Jn.Qq]}}),(0,s.phd)(function va(){const p=(0,u.WQX)(nn.c$),v=(0,u.WQX)(u.zZn),D=(0,u.WQX)(oo);return(0,Rs.A)(function*(){yield v.get(k.hj,Promise.resolve(null));const h=D.resolve();p.addLangs(er.Lq),p.setDefaultLang(h);try{yield p.use(h).toPromise()}catch(C){console.log(C)}console.log(`Successfully initialized ${h} language.`)})()}),function pt(p,v){return(0,u.EmA)([...ye(p,v),ot])}({},{runtimeChecks:{strictStateImmutability:!0,strictActionImmutability:!0,strictStateSeri
1alizability:!0,strictActionSerializability:!0}}),function wc(...p){const v=p.flat(),D=function rt(p){return p.filter(Ke)}(v);return(0,u.EmA)([D,(0,u.BCV)(()=>{(0,u.WQX)(Si),(0,u.WQX)(Vi,{optional:!0});const h=(0,u.WQX)(Ac),C=(0,u.WQX)(Tc),G=!h.isStarted;G&&h.start();for(const Ne of v){const dt=Ke(Ne)?(0,u.WQX)(Ne):Ne;C.addEffects(dt)}G&&(0,u.WQX)(di).dispatch(Bs())})])}([]),...oi.c.production?[]:[function Xd(p={}){return(0,u.EmA)([qs,Ja,Fc,{provide:Wl,useValue:p},{provide:Rp,deps:[qi,fs],useFactory:kc},{provide:qi,useFactory:zd},{provide:fs,deps:[Wl],useFactory:Ud},{provide:Xo,deps:[Fc],useFactory:Gd},{provide:K,useExisting:Ja}])}({maxAge:25,connectInZone:!0})],(0,Jo.MW)(()=>(0,Jo.Wp)(oi.c.firebase)),(0,ao.Ol)(()=>(0,ao.P5)()),{provide:u.zcH,useClass:Jl},{provide:s.sZ2,useValue:"serverApp"},qa.U]}).catch(p=>console.error(p))},4412(tt,ce,l){l.d(ce,{t:()=>T});var k=l(1413);class T extends k.B{constructor(A){super(),this._value=A}get value(){return this.getValue()}_subscribe(A){const s=super._subscribe(A);return!s.closed&&A.next(this._value),s}getValue(){const{hasError:A,thrownError:s,_value:j}=this;if(A)throw s;return this._throwIfClosed(),j}next(A){super.next(this._value=A)}}},1985(tt,ce,l){l.d(ce,{c:()=>b});var k=l(7707),T=l(8359),u=l(3494),A=l(1203),s=l(1026),j=l(8071),W=l(9786);let b=(()=>{class I{constructor(Y){Y&&(this._subscribe=Y)}lift(Y){const ue=new I;return ue.source=this,ue.operator=Y,ue}subscribe(Y,ue,oe){const se=function O(I){return I&&I instanceof k.vU||function N(I){return I&&(0,j.T)(I.next)&&(0,j.T)(I.error)&&(0,j.T)(I.complete)}(I)&&(0,T.Uv)(I)}(Y)?Y:new k.Ms(Y,ue,oe);return(0,W.Y)(()=>{const{operator:de,source:me}=this;se.add(de?de.call(se,me):me?this._subscribe(se):this._trySubscribe(se))}),se}_trySubscribe(Y){try{return this._subscribe(Y)}catch(ue){Y.error(ue)}}forEach(Y,ue){return new(ue=H(ue))((oe,se)=>{const de=new k.Ms({next:me=>{try{Y(me)}catch(Ue){se(Ue),de.unsubscribe()}},error:se,complete:oe});this.subscribe(de)})}_subscribe(Y){var ue;return null===(ue=this.source)||void 0===ue?void 0:ue.subscribe(Y)}[u.s](){return this}pipe(...Y){return(0,A.m)(Y)(this)}toPromise(Y){return new(Y=H(Y))((ue,oe)=>{let se;this.subscribe(de=>se=de,de=>oe(de),()=>ue(se))})}}return I.create=V=>new I(V),I})();function H(I){var V;return null!==(V=I??s.$.Promise)&&void 0!==V?V:Promise}},2771(tt,ce,l){l.d(ce,{m:()=>u});var k=l(1413),T=l(6129);class u extends k.B{constructor(s=1/0,j=1/0,W=T.U){super(),this._bufferSize=s,this._windowTime=j,this._timestampProvider=W,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=j===1/0,this._bufferSize=Math.max(1,s),this._windowTime=Math.max(1,j)}next(s){const{isStopped:j,_buffer:W,_infiniteTimeWindow:b,_timestampProvider:H,_windowTime:N}=this;j||(W.push(s),!b&&W.push(H.now()+N)),this._trimBuffer(),super.next(s)}_subscribe(s){this._throwIfClosed(),this._trimBuffer();const j=this._innerSubscribe(s),{_infiniteTimeWindow:W,_buffer:b}=this,H=b.slice();for(let N=0;N<H.length&&!s.closed;N+=W?1:2)s.next(H[N]);return this._checkFinalizedStatuses(s),j}_trimBuffer(){const{_bufferSize:s,_timestampProvider:j,_buffer:W,_infiniteTimeWindow:b}=this,H=(b?1:2)*s;if(s<1/0&&H<W.length&&W.splice(0,W.length-H),!b){const N=j.now();let O=0;for(let I=1;I<W.length&&W[I]<=N;I+=2)O=I;O&&W.splice(0,O+1)}}}},1413(tt,ce,l){l.d(ce,{B:()=>W});var k=l(1985),T=l(8359);const A=(0,l(1853).L)(H=>function(){H(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var s=l(7908),j=l(9786);let W=(()=>{class H extends k.c{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(O){const I=new b(this,this);return I.operator=O,I}_throwIfClosed(){if(this.closed)throw new A}next(O){(0,j.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const I of this.currentObservers)I.next(O)}})}error(O){(0,j.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=O;const{observers:I}=this;for(;I.length;)I.shift().error(O)}})}complete(){(0,j.Y)(()=>
vendor: 4,147 bytes, line 1
1{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:O}=this;for(;O.length;)O.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var O;return(null===(O=this.observers)||void 0===O?void 0:O.length)>0}_trySubscribe(O){return this._throwIfClosed(),super._trySubscribe(O)}_subscribe(O){return this._throwIfClosed(),this._checkFinalizedStatuses(O),this._innerSubscribe(O)}_innerSubscribe(O){const{hasError:I,isStopped:V,observers:Y}=this;return I||V?T.Kn:(this.currentObservers=null,Y.push(O),new T.yU(()=>{this.currentObservers=null,(0,s.o)(Y,O)}))}_checkFinalizedStatuses(O){const{hasError:I,thrownError:V,isStopped:Y}=this;I?O.error(V):Y&&O.complete()}asObservable(){const O=new k.c;return O.source=this,O}}return H.create=(N,O)=>new b(N,O),H})();class b extends W{constructor(N,O){super(),this.destination=N,this.source=O}next(N){var O,I;null===(I=null===(O=this.destination)||void 0===O?void 0:O.next)||void 0===I||I.call(O,N)}error(N){var O,I;null===(I=null===(O=this.destination)||void 0===O?void 0:O.error)||void 0===I||I.call(O,N)}complete(){var N,O;null===(O=null===(N=this.destination)||void 0===N?void 0:N.complete)||void 0===O||O.call(N)}_subscribe(N){var O,I;return null!==(I=null===(O=this.source)||void 0===O?void 0:O.subscribe(N))&&void 0!==I?I:T.Kn}}},7707(tt,ce,l){l.d(ce,{Ms:()=>oe,vU:()=>I});var k=l(8071),T=l(8359),u=l(1026),A=l(5334),s=l(5343);const j=H("C",void 0,void 0);function H(z,Ie,ae){return{kind:z,value:Ie,error:ae}}var N=l(9270),O=l(9786);class I extends T.yU{constructor(Ie){super(),this.isStopped=!1,Ie?(this.destination=Ie,(0,T.Uv)(Ie)&&Ie.add(this)):this.destination=Ue}static create(Ie,ae,he){return new oe(Ie,ae,he)}next(Ie){this.isStopped?me(function b(z){return H("N",z,void 0)}(Ie),this):this._next(Ie)}error(Ie){this.isStopped?me(function W(z){return H("E",void 0,z)}(Ie),this):(this.isStopped=!0,this._error(Ie))}complete(){this.isStopped?me(j,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(Ie){this.destination.next(Ie)}_error(Ie){try{this.destination.error(Ie)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const V=Function.prototype.bind;function Y(z,Ie){return V.call(z,Ie)}class ue{constructor(Ie){this.partialObserver=Ie}next(Ie){const{partialObserver:ae}=this;if(ae.next)try{ae.next(Ie)}catch(he){se(he)}}error(Ie){const{partialObserver:ae}=this;if(ae.error)try{ae.error(Ie)}catch(he){se(he)}else se(Ie)}complete(){const{partialObserver:Ie}=this;if(Ie.complete)try{Ie.complete()}catch(ae){se(ae)}}}class oe extends I{constructor(Ie,ae,he){let Ve;if(super(),(0,k.T)(Ie)||!Ie)Ve={next:Ie??void 0,error:ae??void 0,complete:he??void 0};else{let Fe;this&&u.$.useDeprecatedNextContext?(Fe=Object.create(Ie),Fe.unsubscribe=()=>this.unsubscribe(),Ve={next:Ie.next&&Y(Ie.next,Fe),error:Ie.error&&Y(Ie.error,Fe),complete:Ie.complete&&Y(Ie.complete,Fe)}):Ve=Ie}this.destination=new ue(Ve)}}function se(z){u.$.useDeprecatedSynchronousErrorHandling?(0,O.l)(z):(0,A.m)(z)}function me(z,Ie){const{onStoppedNotification:ae}=u.$;ae&&N.f.setTimeout(()=>ae(z,Ie))}const Ue={closed:!0,next:s.l,error:function de(z){throw z},complete:s.l}},8359(tt,ce,l){l.d(ce,{Kn:()=>j,yU:()=>s,Uv:()=>W});var k=l(8071);const u=(0,l(1853).L)(H=>function(O){H(this),this.message=O?`${O.length} errors occurred during unsubscription:\n${O.map((I,V)=>`${V+1}) ${I.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=O});var A=l(7908);class s{constructor(N){this.initialTeardown=N,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let N;if(!this.closed){this.closed=!0;const{_parentage:O}=this;if(O)if(this._parentage=null,Array.isArray(O))for(const Y of O)Y.remove(this);else O.remove(this);const{initialTeardown:I}=this;if((0,k.T)(I))try{I()}catch(Y){N=Y instanceof u?Y.errors:[Y]}const{_finalizers:V}=this;if(V){this._finalizers=null;for(const Y of V)try{b(Y)}catch(ue){N=N??[],ue instanceof u?N=[...N,...ue.errors]:N.push(ue)}}if(N)throw new u(N)}}
1add(N){var O;if(N&&N!==this)if(this.closed)b(N);else{if(N instanceof s){if(N.closed||N._hasParent(this))return;N._addParent(this)}(this._finalizers=null!==(O=this._finalizers)&&void 0!==O?O:[]).push(N)}}_hasParent(N){const{_parentage:O}=this;return O===N||Array.isArray(O)&&O.includes(N)}_addParent(N){const{_parentage:O}=this;this._parentage=Array.isArray(O)?(O.push(N),O):O?[O,N]:N}_removeParent(N){const{_parentage:O}=this;O===N?this._parentage=null:Array.isArray(O)&&(0,A.o)(O,N)}remove(N){const{_finalizers:O}=this;O&&(0,A.o)(O,N),N instanceof s&&N._removeParent(this)}}s.EMPTY=(()=>{const H=new s;return H.closed=!0,H})();const j=s.EMPTY;function W(H){return H instanceof s||H&&"closed"in H&&(0,k.T)(H.remove)&&(0,k.T)(H.add)&&(0,k.T)(H.unsubscribe)}function b(H){(0,k.T)(H)?H():H.unsubscribe()}},1026(tt,ce,l){l.d(ce,{$:()=>k});const k={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},4572(tt,ce,l){l.d(ce,{z:()=>N});var k=l(1985),T=l(3073),u=l(8455),A=l(3669),s=l(6450),j=l(9326),W=l(8496),b=l(4360),H=l(5225);function N(...V){const Y=(0,j.lI)(V),ue=(0,j.ms)(V),{args:oe,keys:se}=(0,T.D)(V);if(0===oe.length)return(0,u.H)([],Y);const de=new k.c(function O(V,Y,ue=A.D){return oe=>{I(Y,()=>{const{length:se}=V,de=new Array(se);let me=se,Ue=se;for(let z=0;z<se;z++)I(Y,()=>{const Ie=(0,u.H)(V[z],Y);let ae=!1;Ie.subscribe((0,b._)(oe,he=>{de[z]=he,ae||(ae=!0,Ue--),Ue||oe.next(ue(de.slice()))},()=>{--me||oe.complete()}))},oe)},oe)}}(oe,Y,se?me=>(0,W.e)(se,me):A.D));return ue?de.pipe((0,s.I)(ue)):de}function I(V,Y,ue){V?(0,H.N)(ue,V,Y):Y()}},8793(tt,ce,l){l.d(ce,{x:()=>s});var k=l(6365),u=l(9326),A=l(8455);function s(...j){return function T(){return(0,k.U)(1)}()((0,A.H)(j,(0,u.lI)(j)))}},9030(tt,ce,l){l.d(ce,{v:()=>u});var k=l(1985),T=l(8750);function u(A){return new k.c(s=>{(0,T.Tg)(A()).subscribe(s)})}},983(tt,ce,l){l.d(ce,{w:()=>u});const u=new(l(1985).c)(j=>j.complete())},7468(tt,ce,l){l.d(ce,{p:()=>b});var k=l(1985),T=l(3073),u=l(8750),A=l(9326),s=l(4360),j=l(6450),W=l(8496);function b(...H){const N=(0,A.ms)(H),{args:O,keys:I}=(0,T.D)(H),V=new k.c(Y=>{const{length:ue}=O;if(!ue)return void Y.complete();const oe=new Array(ue);let se=ue,de=ue;for(let me=0;me<ue;me++){let Ue=!1;(0,u.Tg)(O[me]).subscribe((0,s._)(Y,z=>{Ue||(Ue=!0,de--),oe[me]=z},()=>se--,void 0,()=>{(!se||!Ue)&&(de||Y.next(I?(0,W.e)(I,oe):oe),Y.complete())}))}});return N?V.pipe((0,j.I)(N)):V}},8455(tt,ce,l){l.d(ce,{H:()=>Ie});var k=l(8750),T=l(941),u=l(6745),j=l(1985),b=l(4761),H=l(8071),N=l(5225);function I(ae,he){if(!ae)throw new Error("Iterable cannot be null");return new j.c(Ve=>{(0,N.N)(Ve,he,()=>{const Fe=ae[Symbol.asyncIterator]();(0,N.N)(Ve,he,()=>{Fe.next().then(Be=>{Be.done?Ve.complete():Ve.next(Be.value)})},0,!0)})})}var V=l(5055),Y=l(9858),ue=l(7441),oe=l(5397),se=l(7953),de=l(591),me=l(5196);function Ie(ae,he){return he?function z(ae,he){if(null!=ae){if((0,V.l)(ae))return function A(ae,he){return(0,k.Tg)(ae).pipe((0,u._)(he),(0,T.Q)(he))}(ae,he);if((0,ue.X)(ae))return function W(ae,he){return new j.c(Ve=>{let Fe=0;return he.schedule(function(){Fe===ae.length?Ve.complete():(Ve.next(ae[Fe++]),Ve.closed||this.schedule())})})}(ae,he);if((0,Y.y)(ae))return function s(ae,he){return(0,k.Tg)(ae).pipe((0,u._)(he),(0,T.Q)(he))}(ae,he);if((0,se.T)(ae))return I(ae,he);if((0,oe.x)(ae))return function O(ae,he){return new j.c(Ve=>{let Fe;return(0,N.N)(Ve,he,()=>{Fe=ae[b.l](),(0,N.N)(Ve,he,()=>{let Be,Ge;try{({value:Be,done:Ge}=Fe.next())}catch(it){return void Ve.error(it)}Ge?Ve.complete():Ve.next(Be)},0,!0)}),()=>(0,H.T)(Fe?.return)&&Fe.return()})}(ae,he);if((0,me.U)(ae))return function Ue(ae,he){return I((0,me.C)(ae),he)}(ae,he)}throw(0,de.L)(ae)}(ae,he):(0,k.Tg)(ae)}},8750(tt,ce,l){l.d(ce,{Tg:()=>V});var k=l(1635),T=l(7441),u=l(9858),A=l(1985),s=l(5055),j=l(7953),W=l(591),b=l(5397),H=l(5196),N=l(8071),O=l(5334),I=l(3494);function V(z){if(z instanceof A.c)return z;if(null!=z){if((0,s.l)(z))return function Y(z){return new A.c(Ie=>{const ae=z[I.s]();if((0,N.T)(ae.subscribe))return ae.subscribe(Ie);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(z);
1if((0,T.X)(z))return function ue(z){return new A.c(Ie=>{for(let ae=0;ae<z.length&&!Ie.closed;ae++)Ie.next(z[ae]);Ie.complete()})}(z);if((0,u.y)(z))return function oe(z){return new A.c(Ie=>{z.then(ae=>{Ie.closed||(Ie.next(ae),Ie.complete())},ae=>Ie.error(ae)).then(null,O.m)})}(z);if((0,j.T)(z))return de(z);if((0,b.x)(z))return function se(z){return new A.c(Ie=>{for(const ae of z)if(Ie.next(ae),Ie.closed)return;Ie.complete()})}(z);if((0,H.U)(z))return function me(z){return de((0,H.C)(z))}(z)}throw(0,W.L)(z)}function de(z){return new A.c(Ie=>{(function Ue(z,Ie){var ae,he,Ve,Fe;return(0,k.sH)(this,void 0,void 0,function*(){try{for(ae=(0,k.xN)(z);!(he=yield ae.next()).done;)if(Ie.next(he.value),Ie.closed)return}catch(Be){Ve={error:Be}}finally{try{he&&!he.done&&(Fe=ae.return)&&(yield Fe.call(ae))}finally{if(Ve)throw Ve.error}}Ie.complete()})})(z,Ie).catch(ae=>Ie.error(ae))})}},7786(tt,ce,l){l.d(ce,{h:()=>j});var k=l(6365),T=l(8750),u=l(983),A=l(9326),s=l(8455);function j(...W){const b=(0,A.lI)(W),H=(0,A.R0)(W,1/0),N=W;return N.length?1===N.length?(0,T.Tg)(N[0]):(0,k.U)(H)((0,s.H)(N,b)):u.w}},7673(tt,ce,l){l.d(ce,{of:()=>u});var k=l(9326),T=l(8455);function u(...A){const s=(0,k.lI)(A);return(0,T.H)(A,s)}},8810(tt,ce,l){l.d(ce,{$:()=>u});var k=l(1985),T=l(8071);function u(A,s){const j=(0,T.T)(A)?A:()=>A,W=b=>b.error(j());return new k.c(s?b=>s.schedule(W,0,b):W)}},4360(tt,ce,l){l.d(ce,{H:()=>u,_:()=>T});var k=l(7707);function T(A,s,j,W,b){return new u(A,s,j,W,b)}class u extends k.vU{constructor(s,j,W,b,H,N){super(s),this.onFinalize=H,this.shouldUnsubscribe=N,this._next=j?function(O){try{j(O)}catch(I){s.error(I)}}:super._next,this._error=b?function(O){try{b(O)}catch(I){s.error(I)}finally{this.unsubscribe()}}:super._error,this._complete=W?function(){try{W()}catch(O){s.error(O)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var s;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:j}=this;super.unsubscribe(),!j&&(null===(s=this.onFinalize)||void 0===s||s.call(this))}}}},9437(tt,ce,l){l.d(ce,{W:()=>A});var k=l(8750),T=l(4360),u=l(9974);function A(s){return(0,u.N)((j,W)=>{let N,b=null,H=!1;b=j.subscribe((0,T._)(W,void 0,void 0,O=>{N=(0,k.Tg)(s(O,A(s)(j))),b?(b.unsubscribe(),b=null,N.subscribe(W)):H=!0})),H&&(b.unsubscribe(),b=null,N.subscribe(W))})}},274(tt,ce,l){l.d(ce,{H:()=>u});var k=l(1397),T=l(8071);function u(A,s){return(0,T.T)(s)?(0,k.Z)(A,s,1):(0,k.Z)(A,1)}},152(tt,ce,l){l.d(ce,{B:()=>A});var k=l(3236),T=l(9974),u=l(4360);function A(s,j=k.E){return(0,T.N)((W,b)=>{let H=null,N=null,O=null;const I=()=>{if(H){H.unsubscribe(),H=null;const Y=N;N=null,b.next(Y)}};function V(){const Y=O+s,ue=j.now();if(ue<Y)return H=this.schedule(void 0,Y-ue),void b.add(H);I()}W.subscribe((0,u._)(b,Y=>{N=Y,O=j.now(),H||(H=j.schedule(V,s),b.add(H))},()=>{I(),b.complete()},void 0,()=>{N=H=null}))})}},9901(tt,ce,l){l.d(ce,{U:()=>u});var k=l(9974),T=l(4360);function u(A){return(0,k.N)((s,j)=>{let W=!1;s.subscribe((0,T._)(j,b=>{W=!0,j.next(b)},()=>{W||j.next(A),j.complete()}))})}},3294(tt,ce,l){l.d(ce,{F:()=>A});var k=l(3669),T=l(9974),u=l(4360);function A(j,W=k.D){return j=j??s,(0,T.N)((b,H)=>{let N,O=!0;b.subscribe((0,u._)(H,I=>{const V=W(I);(O||!j(N,V))&&(O=!1,N=V,H.next(I))}))})}function s(j,W){return j===W}},786(tt,ce,l){l.d(ce,{p:()=>s});var k=l(6354),T=l(8750),u=l(9974),A=l(4360);function s(j,W){return W?b=>b.pipe(s((H,N)=>(0,T.Tg)(j(H,N)).pipe((0,k.T)((O,I)=>W(H,O,N,I))))):(0,u.N)((b,H)=>{let N=0,O=null,I=!1;b.subscribe((0,A._)(H,V=>{O||(O=(0,A._)(H,void 0,()=>{O=null,I&&H.complete()}),(0,T.Tg)(j(V,N++)).subscribe(O))},()=>{I=!0,!O&&H.complete()}))})}},5964(tt,ce,l){l.d(ce,{p:()=>u});var k=l(9974),T=l(4360);function u(A,s){return(0,k.N)((j,W)=>{let b=0;j.subscribe((0,T._)(W,H=>A.call(s,H,b++)&&W.next(H)))})}},980(tt,ce,l){l.d(ce,{j:()=>T});var k=l(9974);function T(u){return(0,k.N)((A,s)=>{try{A.subscribe(s)}finally{s.add(u)}})}},1594(tt,ce,l){l.d(ce,{$:()=>W});var k=l(9350),T=l(5964),u=l(6697),A=l(9901),s=l(3774),j=l(3669);function W(b,H){const N=arguments.length>=2;return O=>O.pipe(b?(0,T.p)((I,V)=>b(I,V,O)):j.D,(0,u.s)(1),N?(0,A.U)(H):(0,s.v)(()=>new k.G))}},3557(tt,ce,l){l.d(ce,{w:()=>A});var k=l(9974),T=l(4360),u=l(5343);function A(){return(0,k.N)((s,j)=>{s.subscribe((0,T._)(j,u.l))})}},7018(tt,ce,l){l.d(ce,{H:()=>W});var k=l(9350),T=l(5964),u=l(5109),A=l(3774),s=l(9901),j=l(3669);function W(b,H){const N=arguments.length>=2;return O=>O.pipe(b?(0,T.p)((I,V)=>b(I,V,O)):j.D,(0,u.o)(1),N?(0,s.U)(H):(0,A.v)(()=>new k.G))}},6354(tt,ce,l){l.d(ce,{T:()=>u});var k=l(9974),T=l(4360);function u(A,s){return(0,k.N)((j,W)=>{let b=0;j.subscribe((0,T._)(W,H=>{W.next(A.call(s,H,b++))}))})}},6365(tt,ce,l){l.d(ce,{U:()=>u});var k=l(1397),T=l(3669);function u(A=1/0){return(0,k.Z)(T.D,A)}},1397(tt,ce,l){l.d(ce,{Z:()=>b});var k=l(6354),T=l(8750),u=l(9974),A=l(5225),s=l(4360),W=l(8071);function b(H,N,O=1/0){return(0,W.T)(N)?b((I,V)=>(0,k.T)((Y,ue)=>N(I,Y,V,ue))((0,T.Tg)(H(I,V))),O):("number"==typeof N&&(O=N),(0,u.N)((I,V)=>function j(H,N,O,I,V,Y,ue,oe){const se=[];let de=0,me=0,Ue=!1;const z=()=>{Ue&&!se.length&&!de&&N.complete()},Ie=he=>de<I?ae(he):se.push(he),ae=he=>{Y&&N.next(he),de++;let Ve=!1;(0,T.Tg)(O(he,me++)).subscribe((0,s._)(N,Fe=>{V?.(Fe),Y?Ie(Fe):N.next(Fe)},()=>{Ve=!0},void 0,()=>{if(Ve)try{for(de--;se.length&&de<I;){const Fe=se.shift();ue?(0,A.N)(N,ue,()=>ae(Fe)):ae(Fe)}z()}catch(Fe){N.error(Fe)}}))};return H.subscribe((0,s._)(N,Ie,()=>{Ue=!0,z()})),()=>{oe?.()}}(I,V,H,O)))}},941(tt,ce,l){l.d(ce,{Q:()=>A});var k=l(5225),T=l(9974),u=l(4360);function A(s,j=0){return(0,T.N)((W,b)=>{W.subscribe((0,u._)(b,H=>
1(0,k.N)(b,s,()=>b.next(H),j),()=>(0,k.N)(b,s,()=>b.complete(),j),H=>(0,k.N)(b,s,()=>b.error(H),j)))})}},2816(tt,ce,l){l.d(ce,{S:()=>A});var k=l(9974),T=l(4360);function A(s,j){return(0,k.N)(function u(s,j,W,b,H){return(N,O)=>{let I=W,V=j,Y=0;N.subscribe((0,T._)(O,ue=>{const oe=Y++;V=I?s(V,ue,oe):(I=!0,ue),b&&O.next(V)},H&&(()=>{I&&O.next(V),O.complete()})))}}(s,j,arguments.length>=2,!0))}},7647(tt,ce,l){l.d(ce,{u:()=>s});var k=l(8750),T=l(1413),u=l(7707),A=l(9974);function s(W={}){const{connector:b=()=>new T.B,resetOnError:H=!0,resetOnComplete:N=!0,resetOnRefCountZero:O=!0}=W;return I=>{let V,Y,ue,oe=0,se=!1,de=!1;const me=()=>{Y?.unsubscribe(),Y=void 0},Ue=()=>{me(),V=ue=void 0,se=de=!1},z=()=>{const Ie=V;Ue(),Ie?.unsubscribe()};return(0,A.N)((Ie,ae)=>{oe++,!de&&!se&&me();const he=ue=ue??b();ae.add(()=>{oe--,0===oe&&!de&&!se&&(Y=j(z,O))}),he.subscribe(ae),!V&&oe>0&&(V=new u.Ms({next:Ve=>he.next(Ve),error:Ve=>{de=!0,me(),Y=j(Ue,H,Ve),he.error(Ve)},complete:()=>{se=!0,me(),Y=j(Ue,N),he.complete()}}),(0,k.Tg)(Ie).subscribe(V))})(I)}}function j(W,b,...H){if(!0===b)return void W();if(!1===b)return;const N=new u.Ms({next:()=>{N.unsubscribe(),W()}});return(0,k.Tg)(b(...H)).subscribe(N)}},4668(tt,ce,l){l.d(ce,{t:()=>u});var k=l(2771),T=l(7647);function u(A,s,j){let W,b=!1;return A&&"object"==typeof A?({bufferSize:W=1/0,windowTime:s=1/0,refCount:b=!1,scheduler:j}=A):W=A??1/0,(0,T.u)({connector:()=>new k.m(W,s,j),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:b})}},9172(tt,ce,l){l.d(ce,{Z:()=>A});var k=l(8793),T=l(9326),u=l(9974);function A(...s){const j=(0,T.lI)(s);return(0,u.N)((W,b)=>{(j?(0,k.x)(s,W,j):(0,k.x)(s,W)).subscribe(b)})}},6745(tt,ce,l){l.d(ce,{_:()=>T});var k=l(9974);function T(u,A=0){return(0,k.N)((s,j)=>{j.add(u.schedule(()=>s.subscribe(j),A))})}},5558(tt,ce,l){l.d(ce,{n:()=>A});var k=l(8750),T=l(9974),u=l(4360);function A(s,j){return(0,T.N)((W,b)=>{let H=null,N=0,O=!1;const I=()=>O&&!H&&b.complete();W.subscribe((0,u._)(b,V=>{H?.unsubscribe();let Y=0;const ue=N++;(0,k.Tg)(s(V,ue)).subscribe(H=(0,u._)(b,oe=>b.next(j?j(V,oe,ue,Y++):oe),()=>{H=null,I()}))},()=>{O=!0,I()}))})}},6697(tt,ce,l){l.d(ce,{s:()=>A});var k=l(983),T=l(9974),u=l(4360);function A(s){return s<=0?()=>k.w:(0,T.N)((j,W)=>{let b=0;j.subscribe((0,u._)(W,H=>{++b<=s&&(W.next(H),s<=b&&W.complete())}))})}},5109(tt,ce,l){l.d(ce,{o:()=>A});var k=l(983),T=l(9974),u=l(4360);function A(s){return s<=0?()=>k.w:(0,T.N)((j,W)=>{let b=[];j.subscribe((0,u._)(W,H=>{b.push(H),s<b.length&&b.shift()},()=>{for(const H of b)W.next(H);W.complete()},void 0,()=>{b=null}))})}},6977(tt,ce,l){l.d(ce,{Q:()=>s});var k=l(9974),T=l(4360),u=l(8750),A=l(5343);function s(j){return(0,k.N)((W,b)=>{(0,u.Tg)(j).subscribe((0,T._)(b,()=>b.complete(),A.l)),!b.closed&&W.subscribe(b)})}},8141(tt,ce,l){l.d(ce,{M:()=>s});var k=l(8071),T=l(9974),u=l(4360),A=l(3669);function s(j,W,b){const H=(0,k.T)(j)||W||b?{next:j,error:W,complete:b}:j;return H?(0,T.N)((N,O)=>{var I;null===(I=H.subscribe)||void 0===I||I.call(H);let V=!0;N.subscribe((0,u._)(O,Y=>{var ue;null===(ue=H.next)||void 0===ue||ue.call(H,Y),O.next(Y)},()=>{var Y;V=!1,null===(Y=H.complete)||void 0===Y||Y.call(H),O.complete()},Y=>{var ue;V=!1,null===(ue=H.error)||void 0===ue||ue.call(H,Y),O.error(Y)},()=>{var Y,ue;V&&(null===(Y=H.unsubscribe)||void 0===Y||Y.call(H)),null===(ue=H.finalize)||void 0===ue||ue.call(H)}))}):A.D}},3774(tt,ce,l){l.d(ce,{v:()=>A});var k=l(9350),T=l(9974),u=l(4360);function A(j=s){return(0,T.N)((W,b)=>{let H=!1;W.subscribe((0,u._)(b,N=>{H=!0,b.next(N)},()=>H?b.complete():b.error(j())))})}function s(){return new k.G}},2087(tt,ce,l){l.d(ce,{w:()=>H});var k=l(3236),T=l(8211),u=l(9974),A=l(8750),s=l(1853),j=l(4360),W=l(5225);const b=(0,s.L)(O=>function(V=null){O(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=V});function H(O,I){const{first:V,each:Y,with:ue=N,scheduler:oe=I??k.E,meta:se=null}=(0,T.v)(O)?{first:O}:"number"==typeof O?{each:O}:O;if(null==V&&null==Y)throw new TypeError("No timeout provided.");return(0,u.N)((de,me)=>{let Ue,z,Ie=null,ae=0;const he=Ve=>{z=(0,W.N)(me,oe,()=>{try{Ue.unsubscribe(),(0,A.Tg)(ue({meta:se,lastValue:Ie,seen:ae})).subscribe(me)}catch(Fe){me.error(Fe)}},Ve)};Ue=de.subscribe((0,j._)(me,Ve=>{z?.unsubscribe(),ae++,me.next(Ie=Ve),Y>0&&he(Y)},void 0,void 0,()=>{z?.closed||z?.unsubscribe(),Ie=null})),!ae&&he(null!=V?"number"==typeof V?V:+V-oe.now():Y)})}function N(O){throw new b(O)}},6780(tt,ce,l){l.d(ce,{R:()=>s});var k=l(8359);class T extends k.yU{constructor(W,b){super()}schedule(W,b=0){return this}}const u={setInterval(j,W,...b){const{delegate:H}=u;return H?.setInterval?H.setInterval(j,W,...b):setInterval(j,W,...b)},clearInterval(j){const{delegate:W}=u;return(W?.clearInterval||clearInterval)(j)},delegate:void 0};var A=l(7908);
1class s extends T{constructor(W,b){super(W,b),this.scheduler=W,this.work=b,this.pending=!1}schedule(W,b=0){var H;if(this.closed)return this;this.state=W;const N=this.id,O=this.scheduler;return null!=N&&(this.id=this.recycleAsyncId(O,N,b)),this.pending=!0,this.delay=b,this.id=null!==(H=this.id)&&void 0!==H?H:this.requestAsyncId(O,this.id,b),this}requestAsyncId(W,b,H=0){return u.setInterval(W.flush.bind(W,this),H)}recycleAsyncId(W,b,H=0){if(null!=H&&this.delay===H&&!1===this.pending)return b;null!=b&&u.clearInterval(b)}execute(W,b){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const H=this._execute(W,b);if(H)return H;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(W,b){let N,H=!1;try{this.work(W)}catch(O){H=!0,N=O||new Error("Scheduled action threw falsy error")}if(H)return this.unsubscribe(),N}unsubscribe(){if(!this.closed){const{id:W,scheduler:b}=this,{actions:H}=b;this.work=this.state=this.scheduler=null,this.pending=!1,(0,A.o)(H,this),null!=W&&(this.id=this.recycleAsyncId(b,W,null)),this.delay=null,super.unsubscribe()}}}},9687(tt,ce,l){l.d(ce,{q:()=>u});var k=l(6129);class T{constructor(s,j=T.now){this.schedulerActionCtor=s,this.now=j}schedule(s,j=0,W){return new this.schedulerActionCtor(this,s).schedule(W,j)}}T.now=k.U.now;class u extends T{constructor(s,j=T.now){super(s,j),this.actions=[],this._active=!1}flush(s){const{actions:j}=this;if(this._active)return void j.push(s);let W;this._active=!0;do{if(W=s.execute(s.state,s.delay))break}while(s=j.shift());if(this._active=!1,W){for(;s=j.shift();)s.unsubscribe();throw W}}}},3236(tt,ce,l){l.d(ce,{E:()=>u,b:()=>A});var k=l(6780);const u=new(l(9687).q)(k.R),A=u},6129(tt,ce,l){l.d(ce,{U:()=>k});const k={now:()=>(k.delegate||Date).now(),delegate:void 0}},7242(tt,ce,l){l.d(ce,{T:()=>s});var k=l(6780),u=l(9687);const s=new class A extends u.q{}(class T extends k.R{constructor(b,H){super(b,H),this.scheduler=b,this.work=H}schedule(b,H=0){return H>0?super.schedule(b,H):(this.delay=H,this.state=b,this.scheduler.flush(this),this)}execute(b,H){return H>0||this.closed?super.execute(b,H):this._execute(b,H)}requestAsyncId(b,H,N=0){return null!=N&&N>0||null==N&&this.delay>0?super.requestAsyncId(b,H,N):(b.flush(this),0)}})},9270(tt,ce,l){l.d(ce,{f:()=>k});const k={setTimeout(T,u,...A){const{delegate:s}=k;return s?.setTimeout?s.setTimeout(T,u,...A):setTimeout(T,u,...A)},clearTimeout(T){const{delegate:u}=k;return(u?.clearTimeout||clearTimeout)(T)},delegate:void 0}},4761(tt,ce,l){l.d(ce,{l:()=>T});const T=function k(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},3494(tt,ce,l){l.d(ce,{s:()=>k});const k="function"==typeof Symbol&&Symbol.observable||"@@observable"},9350(tt,ce,l){l.d(ce,{G:()=>T});const T=(0,l(1853).L)(u=>function(){u(this),this.name="EmptyError",this.message="no elements in sequence"})},9326(tt,ce,l){l.d(ce,{R0:()=>j,lI:()=>s,ms:()=>A});var k=l(8071),T=l(9470);function u(W){return W[W.length-1]}function A(W){return(0,k.T)(u(W))?W.pop():void 0}function s(W){return(0,T.m)(u(W))?W.pop():void 0}function j(W,b){return"number"==typeof u(W)?W.pop():b}},3073(tt,ce,l){l.d(ce,{D:()=>s});const{isArray:k}=Array,{getPrototypeOf:T,prototype:u,keys:A}=Object;function s(W){if(1===W.length){const b=W[0];if(k(b))return{args:b,keys:null};if(function j(W){return W&&"object"==typeof W&&T(W)===u}(b)){const H=A(b);return{args:H.map(N=>b[N]),keys:H}}}return{args:W,keys:null}}},7908(tt,ce,l){function k(T,u){if(T){const A=T.indexOf(u);0<=A&&T.splice(A,1)}}l.d(ce,{o:()=>k})},1853(tt,ce,l){function k(T){const A=T(s=>{Error.call(s),s.stack=(new Error).stack});return A.prototype=Object.create(Error.prototype),A.prototype.constructor=A,A}l.d(ce,{L:()=>k})},8496(tt,ce,l){function k(T,u){return T.reduce((A,s,j)=>(A[s]=u[j],A),{})}l.d(ce,{e:()=>k})},9786(tt,ce,l){l.d(ce,{Y:()=>u,l:()=>A});var k=l(1026);let T=null;function u(s){if(k.$.useDeprecatedSynchronousErrorHandling){const j=!T;if(j&&(T={errorThrown:!1,error:null}),s(),j){const{errorThrown:W,error:b}=T;if(T=null,W)throw b}}else s()}function A(s){k.$.useDeprecatedSynchronousErrorHandling&&T&&(T.errorThrown=!0,T.error=s)}},5225(tt,ce,l){function k(T,u,A,s=0,j=!1){const W=u.schedule(function(){A(),j?T.add(this.schedule(null,s)):this.unsubscribe()},s);if(T.add(W),!j)return W}l.d(ce,{N:()=>k}
1)},3669(tt,ce,l){function k(T){return T}l.d(ce,{D:()=>k})},7441(tt,ce,l){l.d(ce,{X:()=>k});const k=T=>T&&"number"==typeof T.length&&"function"!=typeof T},7953(tt,ce,l){l.d(ce,{T:()=>T});var k=l(8071);function T(u){return Symbol.asyncIterator&&(0,k.T)(u?.[Symbol.asyncIterator])}},8211(tt,ce,l){function k(T){return T instanceof Date&&!isNaN(T)}l.d(ce,{v:()=>k})},8071(tt,ce,l){function k(T){return"function"==typeof T}l.d(ce,{T:()=>k})},5055(tt,ce,l){l.d(ce,{l:()=>u});var k=l(3494),T=l(8071);function u(A){return(0,T.T)(A[k.s])}},5397(tt,ce,l){l.d(ce,{x:()=>u});var k=l(4761),T=l(8071);function u(A){return(0,T.T)(A?.[k.l])}},4402(tt,ce,l){l.d(ce,{A:()=>u});var k=l(1985),T=l(8071);function u(A){return!!A&&(A instanceof k.c||(0,T.T)(A.lift)&&(0,T.T)(A.subscribe))}},9858(tt,ce,l){l.d(ce,{y:()=>T});var k=l(8071);function T(u){return(0,k.T)(u?.then)}},5196(tt,ce,l){l.d(ce,{C:()=>u,U:()=>A});var k=l(1635),T=l(8071);function u(s){return(0,k.AQ)(this,arguments,function*(){const W=s.getReader();try{for(;;){const{value:b,done:H}=yield(0,k.N3)(W.read());if(H)return yield(0,k.N3)(void 0);yield yield(0,k.N3)(b)}}finally{W.releaseLock()}})}function A(s){return(0,T.T)(s?.getReader)}},9470(tt,ce,l){l.d(ce,{m:()=>T});var k=l(8071);function T(u){return u&&(0,k.T)(u.schedule)}},9974(tt,ce,l){l.d(ce,{N:()=>u,S:()=>T});var k=l(8071);function T(A){return(0,k.T)(A?.lift)}function u(A){return s=>{if(T(s))return s.lift(function(j){try{return A(j,this)}catch(W){this.error(W)}});throw new TypeError("Unable to lift unknown Observable type")}}},6450(tt,ce,l){l.d(ce,{I:()=>A});var k=l(6354);const{isArray:T}=Array;function A(s){return(0,k.T)(j=>function u(s,j){return T(j)?s(...j):s(j)}(s,j))}},5343(tt,ce,l){function k(){}l.d(ce,{l:()=>k})},1203(tt,ce,l){l.d(ce,{F:()=>T,m:()=>u});var k=l(3669);function T(...A){return u(A)}function u(A){return 0===A.length?k.D:1===A.length?A[0]:function(j){return A.reduce((W,b)=>b(W),j)}}},5334(tt,ce,l){l.d(ce,{m:()=>u});var k=l(1026),T=l(9270);function u(A){T.f.setTimeout(()=>{const{onUnhandledError:s}=k.$;if(!s)throw A;s(A)})}},591(tt,ce,l){function k(T){return new TypeError(`You provided ${null!==T&&"object"==typeof T?"an invalid object":`'${T}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}l.d(ce,{L:()=>k})},177(tt,ce,l){l.d(ce,{AJ:()=>I,UE:()=>Y,kt:()=>xr}),l(467);var b=l(2615),H=l(3664),N=l(7705);const I="browser";function Y(ie){return ie===I}const Ge=ie=>ie.src,it=new b.nKC("",{providedIn:"root",factory:()=>Ge}),Pn=/^((\s*\d+w\s*(,|$)){1,})$/,gr=[1,2];let xr=(()=>{class ie{imageLoader=(0,b.WQX)(it);config=function mr(ie){let je={};return ie.breakpoints&&(je.breakpoints=ie.breakpoints.sort((Re,at)=>Re-at)),Object.assign({},H.mY,ie,je)}((0,b.WQX)(H.VeQ));renderer=(0,b.WQX)(H.sFG);imgElement=(0,b.WQX)(H.aKT).nativeElement;injector=(0,b.WQX)(b.zZn);destroyRef=(0,b.WQX)(b.abz);lcpObserver;_renderedSrc=null;ngSrc;ngSrcset;sizes;width;height;decoding;loading;priority=!1;loaderParams;disableOptimizedSrcset=!1;fill=!1;placeholder;placeholderConfig;src;srcset;constructor(){}ngOnInit(){(0,H._jY)("NgOptimizedImage"),this.placeholder&&this.removePlaceholderOnLoad(this.imgElement),this.setHostAttributes()}setHostAttributes(){this.fill?this.sizes||="100vw":(this.setHostAttribute("width",this.width.toString()),this.setHostAttribute("height",this.height.toString())),this.setHostAttribute("loading",this.getLoadingBehavior()),this.setHostAttribute("fetchpriority",this.getFetchPriority()),this.setHostAttribute("decoding",this.getDecoding()),this.setHostAttribute("ng-img","true"),this.updateSrcAndSrcset(),this.sizes?"lazy"===this.getLoadingBehavior()?this.setHostAttribute("sizes","auto, "+this.sizes):this.setHostAttribute("sizes",this.sizes):this.ngSrcset&&Pn.test(this.ngSrcset)&&"lazy"===this.getLoadingBehavior()&&this.setHostAttribute("sizes","auto, 100vw")}ngOnChanges(Re){Re.ngSrc&&!Re.ngSrc.isFirstChange()&&this.updateSrcAndSrcset(!0)}callImageLoader(Re){let at=Re;return this.loaderParams&&(at.loaderParams=this.loaderParams),this.imageLoader(at)}getLoadingBehavior(){return this.priority||void 0===this.loading?this.priority?"eager":"lazy":this.loading}getFetchPriority(){return this.priority?"high":"auto"}getDecoding(){return this.priority?"sync":this.decoding??"auto"}getRewrittenSrc(){return this._renderedSrc||(this._renderedSrc=this.callImageLoader({src:this.ngSrc})),this._renderedSrc}getRewrittenSrcset(){const Re=Pn.test(this.ngSrcset);return this.ngSrcset.split(",").filter(qe=>""!==qe).map(qe=>{qe=qe.trim();const Lt=Re?parseFloat(qe):parseFloat(qe)*this.width;return`${this.callImageLoader({src:this.ngSrc,width:Lt})} ${qe}`}).join(", ")}getAutomaticSrcset(){return this.sizes?this.getResponsiveSrcset():this.getFixedSrcset()}getResponsiveSrcset(){const{breakpoints:Re}=this.config;let at=Re;return"100vw"===this.sizes?.trim()&&(at=Re.filter(Lt=>Lt>=640)),at.map(Lt=>`${this.callImageLoader({src:this.ngSrc,width:Lt})} ${Lt}w`).join(", ")}updateSrcAndSrcset(Re=!1){Re&&(this._renderedSrc=null);const at=this.getRewrittenSrc();let qe;return this.setHostAttribute("src",at),this.ngSrcset?qe=this.getRewrittenSrcset():this.shouldGenerateAutomaticSrcset()&&(qe=this.getAutomaticSrcset()),qe&&this.setHostAttribute("srcset",qe),qe}getFixedSrcset(){return gr.map(at=>`${this.callImageLoader({src:this.ngSrc,width:this.width*at})} ${at}x`).join(", ")}shouldGenerateAutomaticSrcset(){let Re=!1;return this.sizes||(Re=this.width>1920||this.height>1080),!this.disableOptimizedSrcset&&!this.srcset&&this.imageLoader!==Ge&&!Re}generatePlaceholder(Re){const{placeholderResolution:at}=this.config;return!0===Re?`url("${Dt(this.callImageLoader({src:this.ngSrc,width:at,isPlaceholder:!0}))}")`:"string"==typeof Re?`url("${Dt(Re)}")`:null}shouldBlurPlaceholder(Re){return!Re||!Re.hasOwnProperty("blur")||!!Re.blur}removePlaceholderOnLoad(Re){const at=()=>{const Ft=this.injector.get(N.gRc);qe(),Lt(),this.placeholder=!1,Ft.markForCheck()},qe=this.renderer.listen(Re,"load",at),Lt=this.renderer.listen(Re,"error",at);this.destroyRef.onDestroy(()=>{qe(),Lt()}
1),function Ee(ie,je){ie.complete&&ie.naturalWidth&&je()}(Re,at)}setHostAttribute(Re,at){this.renderer.setAttribute(this.imgElement,Re,at)}static \u0275fac=function(at){return new(at||ie)};static \u0275dir=H.FsC({type:ie,selectors:[["img","ngSrc",""]],hostVars:18,hostBindings:function(at,qe){2&at&&H.xc7("position",qe.fill?"absolute":null)("width",qe.fill?"100%":null)("height",qe.fill?"100%":null)("inset",qe.fill?"0":null)("background-size",qe.placeholder?"cover":null)("background-position",qe.placeholder?"50% 50%":null)("background-repeat",qe.placeholder?"no-repeat":null)("background-image",qe.placeholder?qe.generatePlaceholder(qe.placeholder):null)("filter",qe.placeholder&&qe.shouldBlurPlaceholder(qe.placeholderConfig)?"blur(15px)":null)},inputs:{ngSrc:[2,"ngSrc","ngSrc",Je],ngSrcset:"ngSrcset",sizes:"sizes",width:[2,"width","width",N.Udg],height:[2,"height","height",N.Udg],decoding:"decoding",loading:"loading",priority:[2,"priority","priority",N.L39],loaderParams:"loaderParams",disableOptimizedSrcset:[2,"disableOptimizedSrcset","disableOptimizedSrcset",N.L39],fill:[2,"fill","fill",N.L39],placeholder:[2,"placeholder","placeholder",ft],placeholderConfig:"placeholderConfig",src:"src",srcset:"srcset"},features:[H.OA$]})}return ie})();function Je(ie){return"string"==typeof ie?ie:(0,H.aCM)(ie)}function Dt(ie){return ie.replace(/\\/g,"\\\\").replace(/"/g,'\\"')}function ft(ie){return"string"==typeof ie&&"true"!==ie&&"false"!==ie&&""!==ie?ie:(0,N.L39)(ie)}},2200(tt,ce,l){l.d(ce,{B3:()=>je,GH:()=>vn,Jj:()=>Un,MD:()=>Do,OI:()=>Kt,P9:()=>ao,Sq:()=>Xt,T3:()=>Re,YU:()=>jn,bT:()=>Jn,lG:()=>io,vh:()=>Lr});var N=l(7705),O=l(2615),I=l(3664),V=l(9295),de=function(R){return R[R.Format=0]="Format",R[R.Standalone=1]="Standalone",R}(de||{}),me=function(R){return R[R.Narrow=0]="Narrow",R[R.Abbreviated=1]="Abbreviated",R[R.Wide=2]="Wide",R[R.Short=3]="Short",R}(me||{}),Ue=function(R){return R[R.Short=0]="Short",R[R.Medium=1]="Medium",R[R.Long=2]="Long",R[R.Full=3]="Full",R}(Ue||{});function mt(R,le){return Le((0,I.kBR)(R)[I.NSC.DateFormat],le)}function Vt(R,le){return Le((0,I.kBR)(R)[I.NSC.TimeFormat],le)}function Tt(R,le){return Le((0,I.kBR)(R)[I.NSC.DateTimeFormat],le)}function xt(R,le){const U=(0,I.kBR)(R),ee=U[I.NSC.NumberSymbols][le];if(typeof ee>"u"){if(12===le)return U[I.NSC.NumberSymbols][0];if(13===le)return U[I.NSC.NumberSymbols][1]}return ee}function ze(R){if(!R[I.NSC.ExtraData])throw new O.buA(2303,!1)}function Le(R,le){for(let U=le;U>-1;U--)if(typeof R[U]<"u")return R[U];throw new O.buA(2304,!1)}function Ye(R){const[le,U]=R.split(":");return{hours:+le,minutes:+U}}const Ae=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,_t={},Mt=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;function Ht(R,le,U,ee){let Se=function wr(R){if(bn(R))return R;if("number"==typeof R&&!isNaN(R))return new Date(R);if("string"==typeof R){if(R=R.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(R)){const[Se,lt=1,ht=1]=R.split("-").map(Qt=>+Qt);return an(Se,lt-1,ht)}const U=parseFloat(R);if(!isNaN(R-U))return new Date(U);let ee;if(ee=R.match(Ae))return function Er(R){const le=new Date(0);let U=0,ee=0;const Se=R[8]?le.setUTCFullYear:le.setFullYear,lt=R[8]?le.setUTCHours:le.setHours;R[9]&&(U=Number(R[9]+R[10]),ee=Number(R[9]+R[11])),Se.call(le,Number(R[1]),Number(R[2])-1,Number(R[3]));const ht=Number(R[4]||0)-U,Qt=Number(R[5]||0)-ee,Vn=Number(R[6]||0),Mn=Math.floor(1e3*parseFloat("0."+(R[7]||0)));return lt.call(le,ht,Qt,Vn,Mn),le}(ee)}const le=new Date(R);if(!bn(le))throw new O.buA(2311,!1);return le}(R);(function hn(R){if(R.length>256)throw new O.buA(2300,!1)})(le),le=Et(U,le)||le;let Qt,ht=[];for(;le;){if(Qt=Mt.exec(le),!Qt){ht.push(le);break}{ht=ht.concat(Qt.slice(1));const En=ht.pop();if(!En)break;le=En}}let Vn=Se.getTimezoneOffset();ee&&(Vn=nr(ee,Vn),Se=function _r(R,le){const Se=R.getTimezoneOffset();return function zn(R,le){return(R=new Date(R.getTime())).setMinutes(R.getMinutes()+le),R}(R,-1*(nr(le,Se)-Se))}(Se,ee));let Mn="";return ht.forEach(En=>{const dn=function gr(R){if(Kn[R])return Kn[R];let le;switch(R){case"G":case"GG":case"GGG":le=At(3,me.Abbreviated);break;case"GGGG":le=At(3,me.Wide);break;case"GGGGG":le=At(3,me.Narrow);break;case"y":le=o(0,1,0,!1,!0);break;case"yy":le=o(0,2,0,!0,!0);break;case"yyy":le=o(0,3,0,!1,!0);break;case"yyyy":le=o(0,4,0,!1,!0);break;case"Y":le=Bn(1);break;case"YY":le=Bn(2,!0);break;case"YYY":le=Bn(3);break;case"YYYY":le=Bn(4);break;case"M":case"L":le=o(1,1,1);break;case"MM":case"LL":le=o(1,2,1);break;case"MMM":le=At(2,me.Abbreviated);break;case"MMMM":le=At(2,me.Wide);break;case"MMMMM":le=At(2,me.Narrow);break;case"LLL":le=At(2,me.Abbreviated,de.Standalone);break;case"LLLL":le=At(2,me.Wide,de.Standalone);break;case"LLLLL":le=At(2,me.Narrow,de.Standalone);break;case"w":le=nn(1);break;case"ww":le=nn(2);break;case"W":le=nn(1,!0);break;case"d":le=o(2,1);break;case"dd":le=o(2,2);break;case"c":case"cc":le=o(7,1);break;case"ccc":le=At(1,me.Abbreviated,de.Standalone);break;case"cccc":le=At(1,me.Wide,de.Standalone);break;case"ccccc":le=At(1,me.Narrow,de.Standalone);break;case"cccccc":le=At(1,me.Short,de.Standalone);break;case"E":case"EE":case"EEE":le=At(1,me.Abbreviated);break;case"EEEE":le=At(1,me.Wide);break;case"EEEEE":le=At(1,me.Narrow);break;case"EEEEEE":le=At(1,me.Short);break;case"a":case"aa":case"aaa":le=At(0,me.Abbreviated);break;case"aaaa":le=At(0,me.Wide);break;case"aaaaa":le=At(0,me.Narrow);break;
1case"b":case"bb":case"bbb":le=At(0,me.Abbreviated,de.Standalone,!0);break;case"bbbb":le=At(0,me.Wide,de.Standalone,!0);break;case"bbbbb":le=At(0,me.Narrow,de.Standalone,!0);break;case"B":case"BB":case"BBB":le=At(0,me.Abbreviated,de.Format,!0);break;case"BBBB":le=At(0,me.Wide,de.Format,!0);break;case"BBBBB":le=At(0,me.Narrow,de.Format,!0);break;case"h":le=o(3,1,-12);break;case"hh":le=o(3,2,-12);break;case"H":le=o(3,1);break;case"HH":le=o(3,2);break;case"m":le=o(4,1);break;case"mm":le=o(4,2);break;case"s":le=o(5,1);break;case"ss":le=o(5,2);break;case"S":le=o(6,1);break;case"SS":le=o(6,2);break;case"SSS":le=o(6,3);break;case"Z":case"ZZ":case"ZZZ":le=Wn(0);break;case"ZZZZZ":le=Wn(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":le=Wn(1);break;case"OOOO":case"ZZZZ":case"zzzz":le=Wn(2);break;default:return null}return Kn[R]=le,le}(En);Mn+=dn?dn(Se,U,Vn):"''"===En?"'":En.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),Mn}function an(R,le,U){const ee=new Date(0);return ee.setFullYear(R,le,U),ee.setHours(0,0,0),ee}function Et(R,le){const U=function ae(R){return(0,I.kBR)(R)[I.NSC.LocaleId]}(R);if(_t[U]??={},_t[U][le])return _t[U][le];let ee="";switch(le){case"shortDate":ee=mt(R,Ue.Short);break;case"mediumDate":ee=mt(R,Ue.Medium);break;case"longDate":ee=mt(R,Ue.Long);break;case"fullDate":ee=mt(R,Ue.Full);break;case"shortTime":ee=Vt(R,Ue.Short);break;case"mediumTime":ee=Vt(R,Ue.Medium);break;case"longTime":ee=Vt(R,Ue.Long);break;case"fullTime":ee=Vt(R,Ue.Full);break;case"short":const Se=Et(R,"shortTime"),lt=Et(R,"shortDate");ee=we(Tt(R,Ue.Short),[Se,lt]);break;case"medium":const ht=Et(R,"mediumTime"),Qt=Et(R,"mediumDate");ee=we(Tt(R,Ue.Medium),[ht,Qt]);break;case"long":const Vn=Et(R,"longTime"),Mn=Et(R,"longDate");ee=we(Tt(R,Ue.Long),[Vn,Mn]);break;case"full":const En=Et(R,"fullTime"),dn=Et(R,"fullDate");ee=we(Tt(R,Ue.Full),[En,dn])}return ee&&(_t[U][le]=ee),ee}function we(R,le){return le&&(R=R.replace(/\{([^}]+)}/g,function(U,ee){return null!=le&&ee in le?le[ee]:U})),R}function ke(R,le,U="-",ee,Se){let lt="";(R<0||Se&&R<=0)&&(Se?R=1-R:(R=-R,lt=U));let ht=String(R);for(;ht.length<le;)ht="0"+ht;return ee&&(ht=ht.slice(ht.length-le)),lt+ht}function o(R,le,U=0,ee=!1,Se=!1){return function(lt,ht){let Qt=function Xe(R,le){switch(R){case 0:return le.getFullYear();case 1:return le.getMonth();case 2:return le.getDate();case 3:return le.getHours();case 4:return le.getMinutes();case 5:return le.getSeconds();case 6:return le.getMilliseconds();case 7:return le.getDay();default:throw new O.buA(2301,!1)}}(R,lt);if((U>0||Qt>-U)&&(Qt+=U),3===R)0===Qt&&-12===U&&(Qt=12);else if(6===R)return function q(R,le){return ke(R,3).substring(0,le)}(Qt,le);const Vn=xt(ht,5);return ke(Qt,le,Vn,ee,Se)}}function At(R,le,U=de.Format,ee=!1){return function(Se,lt){return function Gt(R,le,U,ee,Se,lt){switch(U){case 2:return function Fe(R,le,U){const ee=(0,I.kBR)(R),lt=Le([ee[I.NSC.MonthsFormat],ee[I.NSC.MonthsStandalone]],le);return Le(lt,U)}(le,Se,ee)[R.getMonth()];case 1:return function Ve(R,le,U){const ee=(0,I.kBR)(R),lt=Le([ee[I.NSC.DaysFormat],ee[I.NSC.DaysStandalone]],le);return Le(lt,U)}(le,Se,ee)[R.getDay()];case 0:const ht=R.getHours(),Qt=R.getMinutes();if(lt){const Mn=function Ze(R){const le=(0,I.kBR)(R);return ze(le),(le[I.NSC.ExtraData][2]||[]).map(ee=>"string"==typeof ee?Ye(ee):[Ye(ee[0]),Ye(ee[1])])}(le),En=function Te(R,le,U){const ee=(0,I.kBR)(R);ze(ee);const lt=Le([ee[I.NSC.ExtraData][0],ee[I.NSC.ExtraData][1]],le)||[];return Le(lt,U)||[]}(le,Se,ee),dn=Mn.findIndex(Hn=>{if(Array.isArray(Hn)){const[Yn,sr]=Hn,Ur=ht>=Yn.hours&&Qt>=Yn.minutes,hr=ht<sr.hours||ht===sr.hours&&Qt<sr.minutes;if(Yn.hours<sr.hours){if(Ur&&hr)return!0}else if(Ur||hr)return!0}else if(Hn.hours===ht&&Hn.minutes===Qt)return!0;return!1});if(-1!==dn)return En[dn]}return function he(R,le,U){const ee=(0,I.kBR)(R),lt=Le([ee[I.NSC.DayPeriodsFormat],ee[I.NSC.DayPeriodsStandalone]],le);return Le(lt,U)}(le,Se,ee)[ht<12?0:1];case 3:return function Be(R,le){return Le((0,I.kBR)(R)[I.NSC.Eras],le)}(le,ee)[R.getFullYear()<=0?0:1];default:throw new O.buA(2302,!1)}}(Se,lt,R,le,U,ee)}}function Wn(R){return function(le,U,ee){const Se=-1*ee,lt=xt(U,5),ht=Se>0?Math.floor(Se/60):Math.ceil(Se/60);switch(R){case 0:return(Se>=0?"+":"")+ke(ht,2,lt)+ke(Math.abs(Se%60),2,lt);case 1:return"GMT"+(Se>=0?"+":"")+ke(ht,1,lt);case 2:return"GMT"+(Se>=0?"+":"")+ke(ht,2,lt)+":"+ke(Math.abs(Se%60),2,lt);case 3:return 0===ee?"Z":(Se>=0?"+":"")+ke(ht,2,lt)+":"+ke(Math.abs(Se%60),2,lt);default:throw new O.buA(2310,!1)}}}function Pn(R){const le=R.getDay(),U=0===le?-3:4-le;return an(R.getFullYear(),R.getMonth(),R.getDate()+U)}function nn(R,le=!1){return function(U,ee){let Se;if(le){const lt=new Date(U.getFullYear(),U.getMonth(),1).getDay()-1,ht=U.getDate();Se=1+Math.floor((ht+lt)/7)}else{const lt=Pn(U),ht=function Rn(R){const le=an(R,0,1).getDay();return an(R,0,1+(le<=4?4:11)-le)}(lt.getFullYear()),Qt=lt.getTime()-ht.getTime();Se=1+Math.round(Qt/6048e5)}return ke(Se,R,xt(ee,5))}}function Bn(R,le=!1){return function(U,ee){return ke(Pn(U).getFullYear(),R,xt(ee,5),le)}}const Kn={};function nr(R,le){R=R.replace(/:/g,"");const U=Date.parse("Jan 01, 1970 00:00:00 "+R)/6e4;return isNaN(U)?le:U}function bn(R){return R instanceof Date&&!isNaN(R.valueOf())}const Rt=/\s+/,on=[];let jn=(()=>{class R{_ngEl;_renderer;initialClasses=on;rawClass;stateMap=new Map;constructor(U,ee){this._ngEl=U,this._renderer=ee}set klass(U){this.initialClasses=null!=U?U.trim().split(Rt):on}set ngClass(U){this.rawClass="string"==typeof U?U.trim().split(Rt):U}ngDoCheck(){for(const ee of this.initialClasses)this._updateState(ee,!0);const U=this.rawClass;if(Array.isArray(U)||U instanceof Set)for(const ee of U)this._updateState(ee,!0);else if(null!=U)for(const ee of Object.keys(U))this._updateState(ee,!!U[ee]);this._applyStateDiff()}_updateState(U,ee){const Se=this.stateMap.get(U);void 0!==Se?(Se.enabled!==ee&&(Se.changed=!0,Se.enabled=ee),Se.touched=!0):this.stateMap.set(U,{enabled:ee,changed:!0,touched:!0})}_applyStateDiff(){for(const U of this.stateMap){const ee=U[0],Se=U[1];Se.changed?(this._toggleClass(ee,Se.enabled),Se.changed=!1):Se.touched||(Se.enabled&&this._toggleClass(ee,!1),this.stateMap.delete(ee)),Se.touched=!1}}_toggleClass(U,ee){(U=U.trim()).length>0&&U.split(Rt).forEach(Se=>{ee?this._renderer.addClass(this._ngEl.nativeElement,Se):this._renderer.removeClass(this._ngEl.nativeElement,Se)})}static \u0275fac=function(ee){return new(ee||R)(I.rXU(I.aKT),I.rXU(I.sFG))};static \u0275dir=I.FsC({type:R,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return R})(),Kt=(()=>{class R{_viewContainerRef;ngComponentOutlet=null;ngComponentOutletInputs;ngComponentOutletInjector;ngComponentOutletEnvironmentInjector;ngComponentOutletContent;ngComponentOutletNgModule;ngComponentOutletNgModuleFactory;_componentRef;_moduleRef;_inputsUsed=new Map;get componentInstance(){return this._componentRef?.instance??null}
1constructor(U){this._viewContainerRef=U}_needToReCreateNgModuleInstance(U){return void 0!==U.ngComponentOutletNgModule||void 0!==U.ngComponentOutletNgModuleFactory}_needToReCreateComponentInstance(U){return void 0!==U.ngComponentOutlet||void 0!==U.ngComponentOutletContent||void 0!==U.ngComponentOutletInjector||void 0!==U.ngComponentOutletEnvironmentInjector||this._needToReCreateNgModuleInstance(U)}ngOnChanges(U){if(this._needToReCreateComponentInstance(U)&&(this._viewContainerRef.clear(),this._inputsUsed.clear(),this._componentRef=void 0,this.ngComponentOutlet)){const ee=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;this._needToReCreateNgModuleInstance(U)&&(this._moduleRef?.destroy(),this._moduleRef=this.ngComponentOutletNgModule?(0,I.w6W)(this.ngComponentOutletNgModule,qn(ee)):this.ngComponentOutletNgModuleFactory?this.ngComponentOutletNgModuleFactory.create(qn(ee)):void 0),this._componentRef=this._viewContainerRef.createComponent(this.ngComponentOutlet,{injector:ee,ngModuleRef:this._moduleRef,projectableNodes:this.ngComponentOutletContent,environmentInjector:this.ngComponentOutletEnvironmentInjector})}}ngDoCheck(){if(this._componentRef){if(this.ngComponentOutletInputs)for(const U of Object.keys(this.ngComponentOutletInputs))this._inputsUsed.set(U,!0);this._applyInputStateDiff(this._componentRef)}}ngOnDestroy(){this._moduleRef?.destroy()}_applyInputStateDiff(U){for(const[ee,Se]of this._inputsUsed)Se?(U.setInput(ee,this.ngComponentOutletInputs[ee]),this._inputsUsed.set(ee,!1)):(U.setInput(ee,void 0),this._inputsUsed.delete(ee))}static \u0275fac=function(ee){return new(ee||R)(I.rXU(I.c1b))};static \u0275dir=I.FsC({type:R,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInputs:"ngComponentOutletInputs",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletEnvironmentInjector:"ngComponentOutletEnvironmentInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModule:"ngComponentOutletNgModule",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},exportAs:["ngComponentOutlet"],features:[I.OA$]})}return R})();function qn(R){return R.get(I.Ab1).injector}class un{$implicit;ngForOf;index;count;constructor(le,U,ee,Se){this.$implicit=le,this.ngForOf=U,this.index=ee,this.count=Se}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 Xt=(()=>{class R{_viewContainer;_template;_differs;set ngForOf(U){this._ngForOf=U,this._ngForOfDirty=!0}set ngForTrackBy(U){this._trackByFn=U}get ngForTrackBy(){return this._trackByFn}_ngForOf=null;_ngForOfDirty=!0;_differ=null;_trackByFn;constructor(U,ee,Se){this._viewContainer=U,this._template=ee,this._differs=Se}set ngForTemplate(U){U&&(this._template=U)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const U=this._ngForOf;!this._differ&&U&&(this._differ=this._differs.find(U).create(this.ngForTrackBy))}if(this._differ){const U=this._differ.diff(this._ngForOf);U&&this._applyChanges(U)}}_applyChanges(U){const ee=this._viewContainer;U.forEachOperation((Se,lt,ht)=>{if(null==Se.previousIndex)ee.createEmbeddedView(this._template,new un(Se.item,this._ngForOf,-1,-1),null===ht?void 0:ht);else if(null==ht)ee.remove(null===lt?void 0:lt);else if(null!==lt){const Qt=ee.get(lt);ee.move(Qt,ht),Xn(Qt,Se)}});for(let Se=0,lt=ee.length;Se<lt;Se++){const Qt=ee.get(Se).context;Qt.index=Se,Qt.count=lt,Qt.ngForOf=this._ngForOf}U.forEachIdentityChange(Se=>{Xn(ee.get(Se.currentIndex),Se)})}static ngTemplateContextGuard(U,ee){return!0}static \u0275fac=function(ee){return new(ee||R)(I.rXU(I.c1b),I.rXU(I.C4Q),I.rXU(N._q3))};static \u0275dir=I.FsC({type:R,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return R})();function Xn(R,le){R.context.$implicit=le.item}let Jn=(()=>{class R{_viewContainer;_context=new fr;_thenTemplateRef=null;_elseTemplateRef=null;
1_thenViewRef=null;_elseViewRef=null;constructor(U,ee){this._viewContainer=U,this._thenTemplateRef=ee}set ngIf(U){this._context.$implicit=this._context.ngIf=U,this._updateView()}set ngIfThen(U){or(U),this._thenTemplateRef=U,this._thenViewRef=null,this._updateView()}set ngIfElse(U){or(U),this._elseTemplateRef=U,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 ngIfUseIfTypeGuard;static ngTemplateGuard_ngIf;static ngTemplateContextGuard(U,ee){return!0}static \u0275fac=function(ee){return new(ee||R)(I.rXU(I.c1b),I.rXU(I.C4Q))};static \u0275dir=I.FsC({type:R,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return R})();class fr{$implicit=null;ngIf=null}function or(R,le){if(R&&!R.createEmbeddedView)throw new O.buA(2020,!1)}let je=(()=>{class R{_ngEl;_differs;_renderer;_ngStyle=null;_differ=null;constructor(U,ee,Se){this._ngEl=U,this._differs=ee,this._renderer=Se}set ngStyle(U){this._ngStyle=U,!this._differ&&U&&(this._differ=this._differs.find(U).create())}ngDoCheck(){if(this._differ){const U=this._differ.diff(this._ngStyle);U&&this._applyChanges(U)}}_setStyle(U,ee){const[Se,lt]=U.split("."),ht=-1===Se.indexOf("-")?void 0:I.czy.DashCase;null!=ee?this._renderer.setStyle(this._ngEl.nativeElement,Se,lt?`${ee}${lt}`:ee,ht):this._renderer.removeStyle(this._ngEl.nativeElement,Se,ht)}_applyChanges(U){U.forEachRemovedItem(ee=>this._setStyle(ee.key,null)),U.forEachAddedItem(ee=>this._setStyle(ee.key,ee.currentValue)),U.forEachChangedItem(ee=>this._setStyle(ee.key,ee.currentValue))}static \u0275fac=function(ee){return new(ee||R)(I.rXU(I.aKT),I.rXU(N.MKu),I.rXU(I.sFG))};static \u0275dir=I.FsC({type:R,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}})}return R})(),Re=(()=>{class R{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;constructor(U){this._viewContainerRef=U}ngOnChanges(U){if(this._shouldRecreateView(U)){const ee=this._viewContainerRef;if(this._viewRef&&ee.remove(ee.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const Se=this._createContextForwardProxy();this._viewRef=ee.createEmbeddedView(this.ngTemplateOutlet,Se,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(U){return!!U.ngTemplateOutlet||!!U.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(U,ee,Se)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,ee,Se),get:(U,ee,Se)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,ee,Se)}})}static \u0275fac=function(ee){return new(ee||R)(I.rXU(I.c1b))};static \u0275dir=I.FsC({type:R,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[I.OA$]})}return R})();function qe(R,le){return new O.buA(2100,!1)}class Lt{createSubscription(le,U,ee){return(0,V.O8)(()=>le.subscribe({next:U,error:ee}))}dispose(le){(0,V.O8)(()=>le.unsubscribe())}}class Ft{createSubscription(le,U,ee){return le.then(Se=>U?.(Se),Se=>ee?.(Se)),{unsubscribe:()=>{U=null,ee=null}}}dispose(le){le.unsubscribe()}}const Sn=new Ft,gn=new Lt;let Un=(()=>{class R{_ref;_latestValue=null;markForCheckOnValueUpdate=!0;_subscription=null;_obj=null;_strategy=null;applicationErrorHandler=(0,O.WQX)(O.ZTf);constructor(U){this._ref=U}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(U){if(!this._obj){if(U)try{this.markForCheckOnValueUpdate=!1,this._subscribe(U)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return U!==this._obj?(this._dispose(),this.transform(U)):this._latestValue}_subscribe(U){this._obj=U,this._strategy=this._selectStrategy(U),this._subscription=this._strategy.createSubscription(U,ee=>this._updateLatestValue(U,ee),ee=>this.applicationErrorHandler(ee))}_selectStrategy(U){if((0,I.yLl)(U))return Sn;
1if((0,I.cdK)(U))return gn;throw qe()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(U,ee){U===this._obj&&(this._latestValue=ee,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static \u0275fac=function(ee){return new(ee||R)(I.rXU(N.gRc,16))};static \u0275pipe=I.EJ8({name:"async",type:R,pure:!1})}return R})(),vn=(()=>{class R{transform(U){if(null==U)return null;if("string"!=typeof U)throw qe();return U.toLowerCase()}static \u0275fac=function(ee){return new(ee||R)};static \u0275pipe=I.EJ8({name:"lowercase",type:R,pure:!0})}return R})();const ir=new O.nKC(""),Qn=new O.nKC("");let Lr=(()=>{class R{locale;defaultTimezone;defaultOptions;constructor(U,ee,Se){this.locale=U,this.defaultTimezone=ee,this.defaultOptions=Se}transform(U,ee,Se,lt){if(null==U||""===U||U!=U)return null;try{return Ht(U,ee??this.defaultOptions?.dateFormat??"mediumDate",lt||this.locale,Se??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(ht){throw qe()}}static \u0275fac=function(ee){return new(ee||R)(I.rXU(I.xe9,16),I.rXU(ir,24),I.rXU(Qn,24))};static \u0275pipe=I.EJ8({name:"date",type:R,pure:!0})}return R})(),io=(()=>{class R{differs;constructor(U){this.differs=U}differ;keyValues=[];compareFn=Kr;transform(U,ee=Kr){if(!U||!(U instanceof Map)&&"object"!=typeof U)return null;this.differ??=this.differs.find(U).create();const Se=this.differ.diff(U),lt=ee!==this.compareFn;return Se&&(this.keyValues=[],Se.forEachItem(ht=>{this.keyValues.push(function ho(R,le){return{key:R,value:le}}(ht.key,ht.currentValue))})),(Se||lt)&&(ee&&this.keyValues.sort(ee),this.compareFn=ee),this.keyValues}static \u0275fac=function(ee){return new(ee||R)(I.rXU(N.MKu,16))};static \u0275pipe=I.EJ8({name:"keyvalue",type:R,pure:!1})}return R})();function Kr(R,le){const U=R.key,ee=le.key;if(U===ee)return 0;if(null==U)return 1;if(null==ee)return-1;if("string"==typeof U&&"string"==typeof ee)return U<ee?-1:1;if("number"==typeof U&&"number"==typeof ee)return U-ee;if("boolean"==typeof U&&"boolean"==typeof ee)return U<ee?-1:1;const Se=String(U),lt=String(ee);return Se==lt?0:Se<lt?-1:1}let ao=(()=>{class R{transform(U,ee,Se){if(null==U)return null;if("string"!=typeof U&&!Array.isArray(U))throw qe();return U.slice(ee,Se)}static \u0275fac=function(ee){return new(ee||R)};static \u0275pipe=I.EJ8({name:"slice",type:R,pure:!1})}return R})(),Do=(()=>{class R{static \u0275fac=function(ee){return new(ee||R)};static \u0275mod=I.$C({type:R});static \u0275inj=O.G2t({})}return R})()},7303(tt,ce,l){l.d(ce,{aZ:()=>oe,hb:()=>V,hj:()=>b,ig:()=>s,qj:()=>j,rb:()=>A});var k=l(2615),T=l(1413);let u=null;function A(){return u}function s(z){u??=z}class j{}let W=(()=>{class z{historyGo(ae){throw new Error("")}static \u0275fac=function(he){return new(he||z)};static \u0275prov=k.jDH({token:z,factory:()=>(0,k.WQX)(H),providedIn:"platform"})}return z})();const b=new k.nKC("");let H=(()=>{class z extends W{_location;_history;_doc=(0,k.WQX)(k.qQL);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return A().getBaseHref(this._doc)}onPopState(ae){const he=A().getGlobalEventTarget(this._doc,"window");return he.addEventListener("popstate",ae,!1),()=>he.removeEventListener("popstate",ae)}onHashChange(ae){const he=A().getGlobalEventTarget(this._doc,"window");return he.addEventListener("hashchange",ae,!1),()=>he.removeEventListener("hashchange",ae)}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(ae){this._location.pathname=ae}pushState(ae,he,Ve){this._history.pushState(ae,he,Ve)}replaceState(ae,he,Ve){this._history.replaceState(ae,he,Ve)}forward(){this._history.forward()}back(){this._history.back()}historyGo(ae=0){this._history.go(ae)}getState(){return this._history.state}static \u0275fac=function(he){return new(he||z)};static \u0275prov=k.jDH({token:z,factory:()=>new z,providedIn:"platform"})}return z})();function N(z,Ie){return z?Ie?z.endsWith("/")?Ie.startsWith("/")?z+Ie.slice(1):z+Ie:Ie.startsWith("/")?z+Ie:`${z}/${Ie}`:z:Ie}function O(z){const Ie=z.search(/#|\?|$/);return"/"===z[Ie-1]?z.slice(0,Ie-1)+z.slice(Ie):z}function I(z){return z&&"?"!==z[0]?`?${z}`:z}let V=(()=>{class z{historyGo(ae){throw new Error("")}static \u0275fac=function(he){return new(he||z)};static \u0275prov=k.jDH({token:z,factory:()=>(0,k.WQX)(ue),providedIn:"root"})}return z})();const Y=new k.nKC("");let ue=(()=>{class z extends V{_platformLocation;_baseHref;_removeListenerFns=[];constructor(ae,he){super(),this._platformLocation=ae,this._baseHref=he??this._platformLocation.getBaseHrefFromDOM()??(0,k.WQX)(k.qQL).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(ae){this._removeListenerFns.push(this._platformLocation.onPopState(ae),this._platformLocation.on
vendor: 5,471 bytes, line 1
1HashChange(ae))}getBaseHref(){return this._baseHref}prepareExternalUrl(ae){return N(this._baseHref,ae)}path(ae=!1){const he=this._platformLocation.pathname+I(this._platformLocation.search),Ve=this._platformLocation.hash;return Ve&&ae?`${he}${Ve}`:he}pushState(ae,he,Ve,Fe){const Be=this.prepareExternalUrl(Ve+I(Fe));this._platformLocation.pushState(ae,he,Be)}replaceState(ae,he,Ve,Fe){const Be=this.prepareExternalUrl(Ve+I(Fe));this._platformLocation.replaceState(ae,he,Be)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(ae=0){this._platformLocation.historyGo?.(ae)}static \u0275fac=function(he){return new(he||z)(k.KVO(W),k.KVO(Y,8))};static \u0275prov=k.jDH({token:z,factory:z.\u0275fac,providedIn:"root"})}return z})(),oe=(()=>{class z{_subject=new T.B;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(ae){this._locationStrategy=ae;const he=this._locationStrategy.getBaseHref();this._basePath=function Ue(z){if(new RegExp("^(https?:)?//").test(z)){const[,ae]=z.split(/\/\/[^\/]+/);return ae}return z}(O(me(he))),this._locationStrategy.onPopState(Ve=>{this._subject.next({url:this.path(!0),pop:!0,state:Ve.state,type:Ve.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(ae=!1){return this.normalize(this._locationStrategy.path(ae))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(ae,he=""){return this.path()==this.normalize(ae+I(he))}normalize(ae){return z.stripTrailingSlash(function de(z,Ie){if(!z||!Ie.startsWith(z))return Ie;const ae=Ie.substring(z.length);return""===ae||["/",";","?","#"].includes(ae[0])?ae:Ie}(this._basePath,me(ae)))}prepareExternalUrl(ae){return ae&&"/"!==ae[0]&&(ae="/"+ae),this._locationStrategy.prepareExternalUrl(ae)}go(ae,he="",Ve=null){this._locationStrategy.pushState(Ve,"",ae,he),this._notifyUrlChangeListeners(this.prepareExternalUrl(ae+I(he)),Ve)}replaceState(ae,he="",Ve=null){this._locationStrategy.replaceState(Ve,"",ae,he),this._notifyUrlChangeListeners(this.prepareExternalUrl(ae+I(he)),Ve)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(ae=0){this._locationStrategy.historyGo?.(ae)}onUrlChange(ae){return this._urlChangeListeners.push(ae),this._urlChangeSubscription??=this.subscribe(he=>{this._notifyUrlChangeListeners(he.url,he.state)}),()=>{const he=this._urlChangeListeners.indexOf(ae);this._urlChangeListeners.splice(he,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(ae="",he){this._urlChangeListeners.forEach(Ve=>Ve(ae,he))}subscribe(ae,he,Ve){return this._subject.subscribe({next:ae,error:he??void 0,complete:Ve??void 0})}static normalizeQueryParams=I;static joinWithSlash=N;static stripTrailingSlash=O;static \u0275fac=function(he){return new(he||z)(k.KVO(V))};static \u0275prov=k.jDH({token:z,factory:()=>function se(){return new oe((0,k.KVO)(V))}(),providedIn:"root"})}return z})();function me(z){return z.replace(/\/index.html$/,"")}},9330(tt,ce,l){l.d(ce,{$R:()=>Rt,Lr:()=>z,Nl:()=>it,Qq:()=>Ht,Sx:()=>Kt,a7:()=>Wn,b$:()=>on,cS:()=>gt,yz:()=>It}),l(467);var b=l(2615),N=(l(3664),l(274)),O=l(5964),I=l(980),V=l(6354),Y=l(5558),ue=l(1985),se=(l(8455),l(7673)),de=l(2512);class me{}class Ue{}class z{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(Ee){Ee?"string"==typeof Ee?this.lazyInit=()=>{this.headers=new Map,Ee.split("\n").forEach(_e=>{const Je=_e.indexOf(":");if(Je>0){const Dt=_e.slice(0,Je),ft=_e.slice(Je+1).trim();this.addHeaderEntry(Dt,ft)}})}:typeof Headers<"u"&&Ee instanceof Headers?(this.headers=new Map,Ee.forEach((_e,Je)=>{this.addHeaderEntry(Je,_e)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(Ee).forEach(([_e,Je])=>{this.setHeaderEntries(_e,Je)})}:this.headers=new Map}has(Ee){return this.init(),this.headers.has(Ee.toLowerCase())}get(Ee){this.init();const _e=this.headers.get(Ee.toLowerCase());return _e&&_e.length>0?_e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(Ee){return this.init(),this.headers.get(Ee.toLowerCase())||null}append(Ee,_e){return this.clone({name:Ee,value:_e,op:"a"})}set(Ee,_e){return this.clone({name:Ee,value:_e,op:"s"})}delete(Ee,_e){return this.clone({name:Ee,value:_e,op:"d"})}maybeSetNormalizedName(Ee,_e){this.normalizedNames.has(_e)||this.normalizedNames.set(_e,Ee)}init(){this.lazyInit&&(this.lazyInit instanceof z?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();for(const[_e,Je]of Ee.headers.entries())this.headers.set(_e,Je),this.normalizedNames.set(_e,Ee.normalizedNames.get(_e))}clone(Ee){const _e=new z;return _e.lazyInit=this.lazyInit&&this.lazyInit instanceof z?this.lazyInit:this,_e.lazyUpdate=(this.lazyUpdate||[]).concat([Ee]),_e}applyUpdate(Ee){const _e=Ee.name.toLowerCase();switch(Ee.op){case"a":case"s":let Je=Ee.value;if("string"==typeof Je&&(Je=[Je]),0===Je.length)return;this.maybeSetNormalizedName(Ee.name,_e);const Dt="a"===Ee.op?(this.headers.get(_e)||[]).slice():[];Dt.push(...Je),this.headers.set(_e,Dt);break;case"d":const ft=Ee.value;if(void 0===ft)this.headers.delete(_e),this.normalizedNames.delete(_e);else{const ie=Array.isArray(ft)?ft:[ft];let je=this.headers.get(_e);if(!je)return;
vendor: 6,935 bytes, line 1
1je=je.filter(Re=>-1===ie.indexOf(Re)),0===je.length?(this.headers.delete(_e),this.normalizedNames.delete(_e)):this.headers.set(_e,je)}}}addHeaderEntry(Ee,_e){const Je=Ee.toLowerCase();this.maybeSetNormalizedName(Ee,Je),this.headers.has(Je)?this.headers.get(Je).push(_e):this.headers.set(Je,[_e])}setHeaderEntries(Ee,_e){const Je=(Array.isArray(_e)?_e:[_e]).map(ft=>ft.toString()),Dt=Ee.toLowerCase();this.headers.set(Dt,Je),this.maybeSetNormalizedName(Ee,Dt)}forEach(Ee){this.init(),Array.from(this.normalizedNames.keys()).forEach(_e=>Ee(this.normalizedNames.get(_e),this.headers.get(_e)))}}class ae{encodeKey(Ee){return Be(Ee)}encodeValue(Ee){return Be(Ee)}decodeKey(Ee){return decodeURIComponent(Ee)}decodeValue(Ee){return decodeURIComponent(Ee)}}const Ve=/%(\d[a-f0-9])/gi,Fe={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Be(ne){return encodeURIComponent(ne).replace(Ve,(Ee,_e)=>Fe[_e]??Ee)}function Ge(ne){return`${ne}`}class it{map;encoder;updates=null;cloneFrom=null;constructor(Ee={}){if(this.encoder=Ee.encoder||new ae,Ee.fromString){if(Ee.fromObject)throw new b.buA(2805,!1);this.map=function he(ne,Ee){const _e=new Map;return ne.length>0&&ne.replace(/^\?/,"").split("&").forEach(Dt=>{const ft=Dt.indexOf("="),[ie,je]=-1==ft?[Ee.decodeKey(Dt),""]:[Ee.decodeKey(Dt.slice(0,ft)),Ee.decodeValue(Dt.slice(ft+1))],Re=_e.get(ie)||[];Re.push(je),_e.set(ie,Re)}),_e}(Ee.fromString,this.encoder)}else Ee.fromObject?(this.map=new Map,Object.keys(Ee.fromObject).forEach(_e=>{const Je=Ee.fromObject[_e],Dt=Array.isArray(Je)?Je.map(Ge):[Ge(Je)];this.map.set(_e,Dt)})):this.map=null}has(Ee){return this.init(),this.map.has(Ee)}get(Ee){this.init();const _e=this.map.get(Ee);return _e?_e[0]:null}getAll(Ee){return this.init(),this.map.get(Ee)||null}keys(){return this.init(),Array.from(this.map.keys())}append(Ee,_e){return this.clone({param:Ee,value:_e,op:"a"})}appendAll(Ee){const _e=[];return Object.keys(Ee).forEach(Je=>{const Dt=Ee[Je];Array.isArray(Dt)?Dt.forEach(ft=>{_e.push({param:Je,value:ft,op:"a"})}):_e.push({param:Je,value:Dt,op:"a"})}),this.clone(_e)}set(Ee,_e){return this.clone({param:Ee,value:_e,op:"s"})}delete(Ee,_e){return this.clone({param:Ee,value:_e,op:"d"})}toString(){return this.init(),this.keys().map(Ee=>{const _e=this.encoder.encodeKey(Ee);return this.map.get(Ee).map(Je=>_e+"="+this.encoder.encodeValue(Je)).join("&")}).filter(Ee=>""!==Ee).join("&")}clone(Ee){const _e=new it({encoder:this.encoder});return _e.cloneFrom=this.cloneFrom||this,_e.updates=(this.updates||[]).concat(Ee),_e}init(){if(null===this.map&&(this.map=new Map),null!==this.cloneFrom){this.cloneFrom.init();for(const[Ee,_e]of this.cloneFrom.map.entries())this.map.set(Ee,_e);this.updates.forEach(Ee=>{switch(Ee.op){case"a":case"s":const _e="a"===Ee.op?(this.map.get(Ee.param)||[]).slice():[];_e.push(Ge(Ee.value)),this.map.set(Ee.param,_e);break;case"d":if(void 0===Ee.value){this.map.delete(Ee.param);break}{const Je=(this.map.get(Ee.param)||[]).slice(),Dt=Je.indexOf(Ge(Ee.value));-1!==Dt&&Je.splice(Dt,1),Je.length>0?this.map.set(Ee.param,Je):this.map.delete(Ee.param)}}}),this.cloneFrom=this.updates=null}}}class Vt{map=new Map;set(Ee,_e){return this.map.set(Ee,_e),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 xt(ne){return typeof ArrayBuffer<"u"&&ne instanceof ArrayBuffer}function rn(ne){return typeof Blob<"u"&&ne instanceof Blob}function en(ne){return typeof FormData<"u"&&ne instanceof FormData}const Cn="Content-Type",$e="X-Request-URL",ze="text/plain",Ze="application/json",Te=`${Ze}, ${ze}, */*`;class Pe{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;credentials;keepalive=!1;cache;priority;mode;redirect;referrer;integrity;responseType="json";method;params;urlWithParams;transferCache;timeout;constructor(Ee,_e,Je,Dt){let ft;if(this.url=_e,this.method=Ee.toUpperCase(),function Tt(ne){switch(ne){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||Dt?(this.body=void 0!==Je?Je:null,ft=Dt):ft=Je,ft){if(this.reportProgress=!!ft.reportProgress,this.withCredentials=!!ft.withCredentials,this.keepalive=!!ft.keepalive,ft.responseType&&(this.responseType=ft.responseType),ft.headers&&(this.headers=ft.headers),ft.context&&(this.context=ft.context),ft.params&&(this.params=ft.params),ft.priority&&(this.priority=ft.priority),ft.cache&&(this.cache=ft.cache),ft.credentials&&(this.credentials=ft.credentials),"number"==typeof ft.timeout){if(ft.timeout<1||!Number.isInteger(ft.timeout))throw new b.buA(2822,"");this.timeout=ft.timeout}ft.mode&&(this.mode=ft.mode),ft.redirect&&(this.redirect=ft.redirect),ft.integrity&&(this.integrity=ft.integrity),void 0!==ft.referrer&&(this.referrer=ft.referrer),this.transferCache=ft.transferCache}if(this.headers??=new z,this.context??=new Vt,this.params){const ie=this.params.toString();if(0===ie.length)this.urlWithParams=_e;else{const je=_e.indexOf("?");this.urlWithParams=_e+(-1===je?"?":je<_e.length-1?"&":"")+ie}}else this.params=new it,this.urlWithParams=_e}serializeBody(){return null===this.body?null:"string"==typeof this.body||xt(this.body)||rn(this.body)||en(this.body)||function Fn(ne){return typeof URLSearchParams<"u"&&ne instanceof URLSearchParams}(this.body)?this.body:this.body instanceof it?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||en(this.body)?null:rn(this.body)?this.body.type||null:xt(this.body)?null:"string"==typeof this.body?ze:this.body instanceof it?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?Ze:null}clone(Ee={}){const _e=Ee.method||this.method,Je=Ee.url||this.url,Dt=Ee.responseType||this.responseType,ft=Ee.keepalive??this.keepalive,ie=Ee.priority||this.priority,je=Ee.cache||this.cache,Re=Ee.mode||this.mode,at=Ee.redirect||this.redirect,qe=Ee.credentials||this.credentials,Lt=Ee.referrer??this.referrer,Ft=Ee.integrity||this.integrity,Sn=Ee.transferCache??this.transferCache,gn=Ee.timeout??this.timeout,Un=void 0!==Ee.body?Ee.body:this.body,vn=Ee.withCredentials??this.withCredentials,yn=Ee.reportProgress??this.reportProgress;let wn=Ee.headers||this.headers,xn=Ee.params||this.params;const Nn=Ee.context??this.context;return void 0!==Ee.setHeaders&&(wn=Object.keys(Ee.setHeaders).reduce((ir,Qn)=>ir.set(Qn,Ee.setHeaders[Qn]),wn)),Ee.setParams&&(xn=Object.keys(Ee.setParams).reduce((ir,Qn)=>ir.set(Qn,Ee.setParams[Qn]),xn)),new Pe(_e,Je,Un,{params:xn,headers:wn,context:Nn,reportProgress:yn,responseType:Dt,withCredentials:vn,transferCache:Sn,keepalive:ft,cache:je,priority:ie,timeout:gn,mode:Re,redirect:at,credentials:qe,referrer:Lt,integrity:Ft})}}
1var Le=function(ne){return ne[ne.Sent=0]="Sent",ne[ne.UploadProgress=1]="UploadProgress",ne[ne.ResponseHeader=2]="ResponseHeader",ne[ne.DownloadProgress=3]="DownloadProgress",ne[ne.Response=4]="Response",ne[ne.User=5]="User",ne}(Le||{});class Ye{headers;status;statusText;url;ok;type;redirected;constructor(Ee,_e=200,Je="OK"){this.headers=Ee.headers||new z,this.status=void 0!==Ee.status?Ee.status:_e,this.statusText=Ee.statusText||Je,this.url=Ee.url||null,this.redirected=Ee.redirected,this.ok=this.status>=200&&this.status<300}}class yt extends Ye{constructor(Ee={}){super(Ee)}type=Le.ResponseHeader;clone(Ee={}){return new yt({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 gt extends Ye{body;constructor(Ee={}){super(Ee),this.body=void 0!==Ee.body?Ee.body:null}type=Le.Response;clone(Ee={}){return new gt({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,redirected:Ee.redirected??this.redirected})}}class It extends Ye{name="HttpErrorResponse";message;error;ok=!1;constructor(Ee){super(Ee,0,"Unknown Error"),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 jt(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,credentials:ne.credentials,transferCache:ne.transferCache,timeout:ne.timeout,keepalive:ne.keepalive,priority:ne.priority,cache:ne.cache,mode:ne.mode,redirect:ne.redirect,integrity:ne.integrity,referrer:ne.referrer}}let Ht=(()=>{class ne{handler;constructor(_e){this.handler=_e}request(_e,Je,Dt={}){let ft;if(_e instanceof Pe)ft=_e;else{let Re,at;Re=Dt.headers instanceof z?Dt.headers:new z(Dt.headers),Dt.params&&(at=Dt.params instanceof it?Dt.params:new it({fromObject:Dt.params})),ft=new Pe(_e,Je,void 0!==Dt.body?Dt.body:null,{headers:Re,context:Dt.context,params:at,reportProgress:Dt.reportProgress,responseType:Dt.responseType||"json",withCredentials:Dt.withCredentials,transferCache:Dt.transferCache,keepalive:Dt.keepalive,priority:Dt.priority,cache:Dt.cache,mode:Dt.mode,redirect:Dt.redirect,credentials:Dt.credentials,referrer:Dt.referrer,integrity:Dt.integrity,timeout:Dt.timeout})}const ie=(0,se.of)(ft).pipe((0,N.H)(Re=>this.handler.handle(Re)));if(_e instanceof Pe||"events"===Dt.observe)return ie;const je=ie.pipe((0,O.p)(Re=>Re instanceof gt));switch(Dt.observe||"body"){case"body":switch(ft.responseType){case"arraybuffer":return je.pipe((0,V.T)(Re=>{if(null!==Re.body&&!(Re.body instanceof ArrayBuffer))throw new b.buA(2806,!1);return Re.body}));case"blob":return je.pipe((0,V.T)(Re=>{if(null!==Re.body&&!(Re.body instanceof Blob))throw new b.buA(2807,!1);return Re.body}));case"text":return je.pipe((0,V.T)(Re=>{if(null!==Re.body&&"string"!=typeof Re.body)throw new b.buA(2808,!1);return Re.body}));default:return je.pipe((0,V.T)(Re=>Re.body))}case"response":return je;default:throw new b.buA(2809,!1)}}delete(_e,Je={}){return this.request("DELETE",_e,Je)}get(_e,Je={}){return this.request("GET",_e,Je)}head(_e,Je={}){return this.request("HEAD",_e,Je)}jsonp(_e,Je){return this.request("JSONP",_e,{params:(new it).append(Je,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(_e,Je={}){return this.request("OPTIONS",_e,Je)}patch(_e,Je,Dt={}){return this.request("PATCH",_e,jt(Dt,Je))}post(_e,Je,Dt={}){return this.request("POST",_e,jt(Dt,Je))}put(_e,Je,Dt={}){return this.request("PUT",_e,jt(Dt,Je))}static \u0275fac=function(Je){return new(Je||ne)(b.KVO(me))};static \u0275prov=b.jDH({token:ne,factory:ne.\u0275fac})}return ne})();const an=new b.nKC("");function Xe(ne,Ee){return Ee(ne)}function At(ne,Ee){return(_e,Je)=>Ee.intercept(_e,{handle:Dt=>ne(Dt,Je)})}const Wn=new b.nKC(""),kn=new b.nKC(""),An=new b.nKC(""),Rn=new b.nKC("",{providedIn:"root",factory:()=>!0});function Pn(){let ne=null;return(Ee,_e)=>{null===ne&&(ne=((0,b.WQX)(Wn,{optional:!0})??[]).reduceRight(At,Xe));const Je=(0,b.WQX)(b.u5s);
1if((0,b.WQX)(Rn)){const ft=Je.add();return ne(Ee,_e).pipe((0,I.j)(ft))}return ne(Ee,_e)}}let Bn=(()=>{class ne extends me{backend;injector;chain=null;pendingTasks=(0,b.WQX)(b.u5s);contributeToStability=(0,b.WQX)(Rn);constructor(_e,Je){super(),this.backend=_e,this.injector=Je}handle(_e){if(null===this.chain){const Je=this.injector.get(me,null,{skipSelf:!0}),ft=this.injector.get(An,[],null!==Je&&this.backend===Je?{self:!0}:void 0),ie=Array.from(new Set([...this.injector.get(kn),...ft]));this.chain=ie.reduceRight((je,Re)=>function Gt(ne,Ee,_e){return(Je,Dt)=>(0,b.N4e)(_e,()=>Ee(Je,ft=>ne(ft,Dt)))}(je,Re,this.injector),Xe)}if(this.contributeToStability){const Je=this.pendingTasks.add();return this.chain(_e,Dt=>this.backend.handle(Dt)).pipe((0,I.j)(Je))}return this.chain(_e,Je=>this.backend.handle(Je))}static \u0275fac=function(Je){return new(Je||ne)(b.KVO(Ue),b.KVO(b.uvJ))};static \u0275prov=b.jDH({token:ne,factory:ne.\u0275fac})}return ne})();const Gn=/^\)\]\}',?\n/,xr=RegExp(`^${$e}:`,"m");let Nr=(()=>{class ne{xhrFactory;constructor(_e){this.xhrFactory=_e}handle(_e){if("JSONP"===_e.method)throw new b.buA(-2800,!1);const Je=this.xhrFactory;return(0,se.of)(null).pipe((0,Y.n)(()=>new ue.c(ft=>{const ie=Je.build();if(ie.open(_e.method,_e.urlWithParams),_e.withCredentials&&(ie.withCredentials=!0),_e.headers.forEach((vn,yn)=>ie.setRequestHeader(vn,yn.join(","))),_e.headers.has("Accept")||ie.setRequestHeader("Accept",Te),!_e.headers.has(Cn)){const vn=_e.detectContentTypeHeader();null!==vn&&ie.setRequestHeader(Cn,vn)}if(_e.timeout&&(ie.timeout=_e.timeout),_e.responseType){const vn=_e.responseType.toLowerCase();ie.responseType="json"!==vn?vn:"text"}const je=_e.serializeBody();let Re=null;const at=()=>{if(null!==Re)return Re;const vn=ie.statusText||"OK",yn=new z(ie.getAllResponseHeaders()),wn=function mr(ne){return"responseURL"in ne&&ne.responseURL?ne.responseURL:xr.test(ne.getAllResponseHeaders())?ne.getResponseHeader($e):null}(ie)||_e.url;return Re=new yt({headers:yn,status:ie.status,statusText:vn,url:wn}),Re},qe=()=>{let{headers:vn,status:yn,statusText:wn,url:xn}=at(),Nn=null;204!==yn&&(Nn=typeof ie.response>"u"?ie.responseText:ie.response),0===yn&&(yn=Nn?200:0);let ir=yn>=200&&yn<300;if("json"===_e.responseType&&"string"==typeof Nn){const Qn=Nn;Nn=Nn.replace(Gn,"");try{Nn=""!==Nn?JSON.parse(Nn):null}catch(Lr){Nn=Qn,ir&&(ir=!1,Nn={error:Lr,text:Nn})}}ir?(ft.next(new gt({body:Nn,headers:vn,status:yn,statusText:wn,url:xn||void 0})),ft.complete()):ft.error(new It({error:Nn,headers:vn,status:yn,statusText:wn,url:xn||void 0}))},Lt=vn=>{const{url:yn}=at(),wn=new It({error:vn,status:ie.status||0,statusText:ie.statusText||"Unknown Error",url:yn||void 0});ft.error(wn)};let Ft=Lt;_e.timeout&&(Ft=vn=>{const{url:yn}=at(),wn=new It({error:new DOMException("Request timed out","TimeoutError"),status:ie.status||0,statusText:ie.statusText||"Request timeout",url:yn||void 0});ft.error(wn)});let Sn=!1;const gn=vn=>{Sn||(ft.next(at()),Sn=!0);let yn={type:Le.DownloadProgress,loaded:vn.loaded};vn.lengthComputable&&(yn.total=vn.total),"text"===_e.responseType&&ie.responseText&&(yn.partialText=ie.responseText),ft.next(yn)},Un=vn=>{let yn={type:Le.UploadProgress,loaded:vn.loaded};vn.lengthComputable&&(yn.total=vn.total),ft.next(yn)};return ie.addEventListener("load",qe),ie.addEventListener("error",Lt),ie.addEventListener("timeout",Ft),ie.addEventListener("abort",Lt),_e.reportProgress&&(ie.addEventListener("progress",gn),null!==je&&ie.upload&&ie.upload.addEventListener("progress",Un)),ie.send(je),ft.next({type:Le.Sent}),()=>{ie.removeEventListener("error",Lt),ie.removeEventListener("abort",Lt),ie.removeEventListener("load",qe),ie.removeEventListener("timeout",Ft),_e.reportProgress&&(ie.removeEventListener("progress",gn),null!==je&&ie.upload&&ie.upload.removeEventListener("progress",Un)),ie.readyState!==ie.DONE&&ie.abort()}})))}static \u0275fac=function(Je){return new(Je||ne)(b.KVO(de.N))};static \u0275prov=b.jDH({token:ne,factory:ne.\u0275fac})}return ne})();const cr=new b.nKC(""),et=new b.nKC("",{providedIn:"root",factory:()=>"XSRF-TOKEN"}
1),Nt=new b.nKC("",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class Wt{}let fe=(()=>{class ne{doc;cookieName;lastCookieString="";lastToken=null;parseCount=0;constructor(_e,Je){this.doc=_e,this.cookieName=Je}getToken(){const _e=this.doc.cookie||"";return _e!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,de.b)(_e,this.cookieName),this.lastCookieString=_e),this.lastToken}static \u0275fac=function(Je){return new(Je||ne)(b.KVO(b.qQL),b.KVO(et))};static \u0275prov=b.jDH({token:ne,factory:ne.\u0275fac})}return ne})();const Z=/^(?:https?:)?\/\//i;function ve(ne,Ee){if(!(0,b.WQX)(cr)||"GET"===ne.method||"HEAD"===ne.method||Z.test(ne.url))return Ee(ne);const _e=(0,b.WQX)(Wt).getToken(),Je=(0,b.WQX)(Nt);return null!=_e&&!ne.headers.has(Je)&&(ne=ne.clone({headers:ne.headers.set(Je,_e)})),Ee(ne)}var be=function(ne){return ne[ne.Interceptors=0]="Interceptors",ne[ne.LegacyInterceptors=1]="LegacyInterceptors",ne[ne.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",ne[ne.NoXsrfProtection=3]="NoXsrfProtection",ne[ne.JsonpSupport=4]="JsonpSupport",ne[ne.RequestsMadeViaParent=5]="RequestsMadeViaParent",ne[ne.Fetch=6]="Fetch",ne}(be||{});function st(ne,Ee){return{\u0275kind:ne,\u0275providers:Ee}}function Rt(...ne){const Ee=[Ht,Nr,Bn,{provide:me,useExisting:Bn},{provide:Ue,useFactory:()=>(0,b.WQX)(an,{optional:!0})??(0,b.WQX)(Nr)},{provide:kn,useValue:ve,multi:!0},{provide:cr,useValue:!0},{provide:Wt,useClass:fe}];for(const _e of ne)Ee.push(..._e.\u0275providers);return(0,b.EmA)(Ee)}function on(ne){return st(be.Interceptors,ne.map(Ee=>({provide:kn,useValue:Ee,multi:!0})))}const jn=new b.nKC("");function Kt(){return st(be.LegacyInterceptors,[{provide:jn,useFactory:Pn},{provide:kn,useExisting:jn,multi:!0}])}},2512(tt,ce,l){function k(u,A){A=encodeURIComponent(A);for(const s of u.split(";")){const j=s.indexOf("="),[W,b]=-1==j?[s,""]:[s.slice(0,j),s.slice(j+1)];if(W.trim()===A)return decodeURIComponent(b)}return null}l.d(ce,{N:()=>T,b:()=>k});class T{}},7705(tt,ce,l){l.d(ce,{CGW:()=>ht,ES_:()=>ee,HJs:()=>Va,L39:()=>St,MKu:()=>Di,TL3:()=>Hi,Udg:()=>Jt,_q3:()=>ts,a0P:()=>Fs,dtW:()=>Yn,ebz:()=>Hn,gRc:()=>w,geq:()=>Zr,hFB:()=>Mn,naY:()=>Si,tEk:()=>Sr,uEv:()=>Ua});var Zt=l(2615),ur=l(8440),tn=l(3664),Eo=l(9295);const so=Symbol("InputSignalNode#UNSET"),ao={...ur.s0,transformFn:void 0,applyValueToInputSignal(X,S){(0,ur.j2)(X,S)}};function Do(X,S){const $=Object.create(ao);function ge(){if((0,ur.mK)($),$.value===so)throw new Zt.buA(-950,null);return $.value}return $.value=X,$.transformFn=S?.transform,ge[ur.bh]=$,ge}class ee{attributeName;constructor(S){this.attributeName=S}__NG_ELEMENT_ID__=()=>(0,tn.kS0)(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}}function ht(X){return new Eo.Zf}function Qt(X,S){return Do(X,S)}new Zt.nKC("").__NG_ELEMENT_ID__=X=>{const S=(0,Zt.Mx4)();if(null===S)throw new Zt.buA(204,!1);if(2&S.type)return S.value;if(8&X)return null;throw new Zt.buA(204,!1)};const Mn=(Qt.required=function Vn(X){return Do(so,X)},Qt);function En(X,S){return(0,tn.mU9)(S)}const Hn=(En.required=function dn(X,S){return(0,tn.hnC)(S)},En);function Yn(X,S){return(0,tn.FuF)(S)}function Sr(X,S){return(0,tn.FuF)(S)}function Fr(X,S){const $=Object.create(ao),ge=new Eo.Zf;function Ke(){return(0,ur.mK)($),To($.value),$.value}return $.value=X,Ke[ur.bh]=$,Ke.asReadonly=Zt.HO5.bind(Ke),Ke.set=rt=>{$.equal($.value,rt)||((0,ur.j2)($,rt),ge.emit(rt))},Ke.update=rt=>{To($.value),Ke.set(rt($.value))},Ke.subscribe=ge.subscribe.bind(ge),Ke.destroyRef=ge.destroyRef,Ke}function To(X){if(X===so)throw new Zt.buA(952,!1)}function zr(X,S){return Fr(X)}const Zr=(zr.required=function Ao(X){return Fr(so)},zr),go=new Zt.nKC(""),Co=new Zt.nKC("");function _o(X){return!X.moduleRef}let eo=null;function Si(){return!1}let w=(()=>class X{static __NG_ELEMENT_ID__=x})();function x(X){return function E(X,S,$){if((0,Zt.Qs1)(X)&&!$){const ge=(0,Zt.KdJ)(X.index,S);return new tn.NCX(ge,ge)}return 175&X.type?new tn.NCX(S[Zt.b5C],S):null}((0,Zt.Mx4)(),(0,Zt.OAn)(),!(16&~X))}class Yt{constructor(){}supports(S){return(0,tn.ozJ)(S)}create(S){return new $r(S)}}const In=(X,S)=>S;class $r{length=0;collection;_linkedRecords=null;_unlinkedRecords=null;_previousItHead=null;_itHead=null;_itTail=null;_additionsHead=null;_additionsTail=null;_movesHead=null;_movesTail=null;_removalsHead=null;_removalsTail=null;_identityChangesHead=null;_identityChangesTail=null;_trackByFn;constructor(S){this._trackByFn=S||In}forEachItem(S){let $;for($=this._itHead;null!==$;$=$._next)S($)}forEachOperation(S){let $=this._itHead,ge=this._removalsHead,Ke=0,rt=null;for(;$||ge;){const bt=!ge||$&&$.currentIndex<Wi(ge,Ke,rt)?$:ge,kt=Wi(bt,Ke,rt),fn=bt.currentIndex;if(bt===ge)Ke--,ge=ge._nextRemoved;else if($=$._next,null==bt.previousIndex)Ke++;else{rt||(rt=[]);const mn=kt-Ke,ar=fn-Ke;if(mn!=ar){for(let Pr=0;Pr<mn;Pr++){const no=Pr<rt.length?rt[Pr]:rt[Pr]=0,mo=no+Pr;ar<=mo&&mo<mn&&(rt[Pr]=no+1)}rt[bt.previousIndex]=ar-mn}}kt!==fn&&S(bt,kt,fn)}}forEachPreviousItem(S){let $;for($=this._previousItHead;null!==$;$=$._nextPrevious)S($)}forEachAddedItem(S){let $;for($=this._additionsHead;null!==$;$=$._nextAdded)S($)}forEachMovedItem(S){let $;for($=this._movesHead;null!==$;$=$._nextMoved)S($)}forEachRemovedItem(S){let $;for($=this._removalsHead;null!==$;$=$._nextRemoved)S($)}forEachIdentityChange(S){let $;for($=this._identityChangesHead;null!==$;$=$._nextIdentityChange)S($)}diff(S){if(null==S&&(S=[]),!(0,tn.ozJ)(S))throw new Zt.buA(900,!1);return this.check(S)?this:null}onDestroy(){}check(S){this._reset();let Ke,rt,bt,$=this._itHead,ge=!1;if(Array.isArray(S)){this.length=S.length;for(let kt=0;kt<this.length;kt++)rt=S[kt],bt=this._trackByFn(kt,rt),null!==$&&Object.is($.trackById,bt)?(ge&&($=this._verifyReinsertion($,rt,bt,kt)),Object.is($.item,rt)||this._addIdentityChange($,rt)):($=this._mismatch($,rt,bt,kt),ge=!0),$=$._next}else Ke=0,(0,tn.utN)(S,kt=>{bt=this._trackByFn(Ke,kt),null!==$&&Object.is($.trackById,bt)?(ge&&($=this._verifyReinsertion($,kt,bt,Ke)),Object.is($.item,kt)||this._addIdentityChange($,kt)):($=this._mismatch($,kt,bt,Ke),ge=!0),$=$._next,Ke++}),this.length=Ke;return this._truncate($),this.collection=S,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let S;for(S=this._previousItHead=this._itHead;null!==S;S=S._next)S._nextPrevious=S._next;for(S=this._additionsHead;null!==S;S=S._nextAdded)S.previousIndex=S.currentIndex;for(this._additionsHead=this._additionsTail=null,S=this._movesHead;null!==S;S=S._nextMoved)S.previousIndex=S.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(S,$,ge,Ke){let rt;return null===S?rt=this._itTail:(rt=S._prev,this._remove(S)),null!==(S=null===this._unlinkedRecords?null:this._unlinkedRecords.get(ge,null))?(Object.is(S.item,$)||this._addIdentityChange(S,$),this._reinsertAfter(S,rt,Ke)):null!==(S=null===this._linkedRecords?null:this._linkedRecords.get(ge,Ke))?(Object.is(S.item,$)||this._addIdentityChange(S,$),this._moveAfter(S,rt,Ke)):S=this._addAfter(new Go($,ge),rt,Ke),S}_verifyReinsertion(S,$,ge,Ke){let rt=null===this._unlinkedRecords?null:this._unlinkedRecords.get(ge,null);return null!==rt?S=this._reinsertAfter(rt,S._prev,Ke):S.currentIndex!=Ke&&(S.currentIndex=Ke,this._addToMoves(S,Ke)),S}_truncate(S){for(;null!==S;){const $=S._next;this._addToRemovals(this._unlink(S)),S=$}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(S,$,ge){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(S);const Ke=S._prevRemoved,rt=S._nextRemoved;return null===Ke?this._removalsHead=rt:Ke._nextRemoved=rt,null===rt?this._removalsTail=Ke:rt._prevRemoved=Ke,this._insertAfter(S,$,ge),this._addToMoves(S,ge),S}_moveAfter(S,$,ge){return this._unlink(S),this._insertAfter(S,$,ge),this._addToMoves(S,ge),S}_addAfter(S,$,ge){return this._insertAfter(S,$,ge),this._additionsTail=null===this._additionsTail?this._additionsHead=S:this._additionsTail._nextAdded=S,S}_insertAfter(S,$,ge){const Ke=null===$?this._itHead:$._next;return S._next=Ke,S._prev=$,null===Ke?this._itTail=S:Ke._prev=S,null===$?this._itHead=S:$._next=S,null===this._linkedRecords&&(this._linkedRecords=new ui),this._linkedRecords.put(S),S.currentIndex=ge,S}_remove(S){return this._addToRemovals(this._unlink(S))}_unlink(S){null!==this._linkedRecords&&this._linkedRecords.remove(S);const $=S._prev,ge=S._next;
vendor: 4,934 bytes, line 1
1return null===$?this._itHead=ge:$._next=ge,null===ge?this._itTail=$:ge._prev=$,S}_addToMoves(S,$){return S.previousIndex===$||(this._movesTail=null===this._movesTail?this._movesHead=S:this._movesTail._nextMoved=S),S}_addToRemovals(S){return null===this._unlinkedRecords&&(this._unlinkedRecords=new ui),this._unlinkedRecords.put(S),S.currentIndex=null,S._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=S,S._prevRemoved=null):(S._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=S),S}_addIdentityChange(S,$){return S.item=$,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=S:this._identityChangesTail._nextIdentityChange=S,S}}class Go{item;trackById;currentIndex=null;previousIndex=null;_nextPrevious=null;_prev=null;_next=null;_prevDup=null;_nextDup=null;_prevRemoved=null;_nextRemoved=null;_nextAdded=null;_nextMoved=null;_nextIdentityChange=null;constructor(S,$){this.item=S,this.trackById=$}}class Xo{_head=null;_tail=null;add(S){null===this._head?(this._head=this._tail=S,S._nextDup=null,S._prevDup=null):(this._tail._nextDup=S,S._prevDup=this._tail,S._nextDup=null,this._tail=S)}get(S,$){let ge;for(ge=this._head;null!==ge;ge=ge._nextDup)if((null===$||$<=ge.currentIndex)&&Object.is(ge.trackById,S))return ge;return null}remove(S){const $=S._prevDup,ge=S._nextDup;return null===$?this._head=ge:$._nextDup=ge,null===ge?this._tail=$:ge._prevDup=$,null===this._head}}class ui{map=new Map;put(S){const $=S.trackById;let ge=this.map.get($);ge||(ge=new Xo,this.map.set($,ge)),ge.add(S)}get(S,$){const Ke=this.map.get(S);return Ke?Ke.get(S,$):null}remove(S){const $=S.trackById;return this.map.get($).remove(S)&&this.map.delete($),S}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Wi(X,S,$){const ge=X.previousIndex;if(null===ge)return ge;let Ke=0;return $&&ge<$.length&&(Ke=$[ge]),ge+S+Ke}class xi{constructor(){}supports(S){return S instanceof Map||(0,tn.vDg)(S)}create(){return new di}}class di{_records=new Map;_mapHead=null;_appendAfter=null;_previousMapHead=null;_changesHead=null;_changesTail=null;_additionsHead=null;_additionsTail=null;_removalsHead=null;_removalsTail=null;get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(S){let $;for($=this._mapHead;null!==$;$=$._next)S($)}forEachPreviousItem(S){let $;for($=this._previousMapHead;null!==$;$=$._nextPrevious)S($)}forEachChangedItem(S){let $;for($=this._changesHead;null!==$;$=$._nextChanged)S($)}forEachAddedItem(S){let $;for($=this._additionsHead;null!==$;$=$._nextAdded)S($)}forEachRemovedItem(S){let $;for($=this._removalsHead;null!==$;$=$._nextRemoved)S($)}diff(S){if(S){if(!(S instanceof Map||(0,tn.vDg)(S)))throw new Zt.buA(900,!1)}else S=new Map;return this.check(S)?this:null}onDestroy(){}check(S){this._reset();let $=this._mapHead;if(this._appendAfter=null,this._forEach(S,(ge,Ke)=>{if($&&$.key===Ke)this._maybeAddToChanges($,ge),this._appendAfter=$,$=$._next;else{const rt=this._getOrCreateRecordForKey(Ke,ge);$=this._insertBeforeOrAppend($,rt)}}),$){$._prev&&($._prev._next=null),this._removalsHead=$;for(let ge=$;null!==ge;ge=ge._nextRemoved)ge===this._mapHead&&(this._mapHead=null),this._records.delete(ge.key),ge._nextRemoved=ge._next,ge.previousValue=ge.currentValue,ge.currentValue=null,ge._prev=null,ge._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(S,$){if(S){const ge=S._prev;return $._next=S,$._prev=ge,S._prev=$,ge&&(ge._next=$),S===this._mapHead&&(this._mapHead=$),this._appendAfter=S,S}return this._appendAfter?(this._appendAfter._next=$,$._prev=this._appendAfter):this._mapHead=$,this._appendAfter=$,null}_getOrCreateRecordForKey(S,$){if(this._records.has(S)){const Ke=this._records.get(S);this._maybeAddToChanges(Ke,$);const rt=Ke._prev,bt=Ke._next;return rt&&(rt._next=bt),bt&&(bt._prev=rt),Ke._next=null,Ke._prev=null,Ke}const ge=new Ei(S);return this._records.set(S,ge),ge.currentValue=$,this._addToAdditions(ge),ge}_reset(){if(this.isDirty){let S;for(this._previousMapHead=this._mapHead,S=this._previousMapHead;null!==S;S=S._next)S._nextPrevious=S._next;for(S=this._changesHead;null!==S;S=S._nextChanged)S.previousValue=S.currentValue;for(S=this._additionsHead;null!=S;S=S._nextAdded)S.previousValue=S.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(S,$){Object.is($,S.currentValue)||(S.previousValue=S.currentValue,S.currentValue=$,this._addToChanges(S))}_addToAdditions(S){null===this._additionsHead?this._additionsHead=this._additionsTail=S:(this._additionsTail._nextAdded=S,this._additionsTail=S)}_addToChanges(S){null===this._changesHead?this._changesHead=this._changesTail=S:(this._changesTail._nextChanged=S,this._changesTail=S)}
1_forEach(S,$){S instanceof Map?S.forEach($):Object.keys(S).forEach(ge=>$(S[ge],ge))}}class Ei{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(S){this.key=S}}function _s(){return new ts([new Yt])}let ts=(()=>{class X{factories;static \u0275prov=(0,Zt.jDH)({token:X,providedIn:"root",factory:_s});constructor($){this.factories=$}static create($,ge){if(null!=ge){const Ke=ge.factories.slice();$=$.concat(Ke)}return new X($)}static extend($){return{provide:X,useFactory:()=>{const ge=(0,Zt.WQX)(X,{optional:!0,skipSelf:!0});return X.create($,ge||_s())}}}find($){const ge=this.factories.find(Ke=>Ke.supports($));if(null!=ge)return ge;throw new Zt.buA(901,!1)}}return X})();function ns(){return new Di([new xi])}let Di=(()=>{class X{static \u0275prov=(0,Zt.jDH)({token:X,providedIn:"root",factory:ns});factories;constructor($){this.factories=$}static create($,ge){if(ge){const Ke=ge.factories.slice();$=$.concat(Ke)}return new X($)}static extend($){return{provide:X,useFactory:()=>{const ge=(0,Zt.WQX)(X,{optional:!0,skipSelf:!0});return X.create($,ge||ns())}}}find($){const ge=this.factories.find(Ke=>Ke.supports($));if(ge)return ge;throw new Zt.buA(901,!1)}}return X})();function Hi(X){const{rootComponent:S,appProviders:$,platformProviders:ge,platformRef:Ke}=X;(0,tn.Ef8)(8);try{const rt=Ke?.injector??function So(X=[]){if(eo)return eo;(0,tn.pl0)();const S=function No(X=[],S){return Zt.zZn.create({name:S,providers:[{provide:Zt.GBX,useValue:"platform"},{provide:go,useValue:new Set([()=>eo=null])},...X]})}(X);return eo=S,(0,tn.ypd)(),function Lo(X){const S=X.get(tn.PLl,null);(0,Zt.N4e)(X,()=>{S?.forEach($=>$())})}(S),S}(ge),bt=[(0,tn.SdI)({}),{provide:Zt.hk6,useExisting:tn.Ts$},Zt.gv8,...$||[]];return function ei(X){const S=_o(X)?X.r3Injector:X.moduleRef.injector,$=S.get(tn.SKi);return $.run(()=>{_o(X)?X.r3Injector.resolveInjectorInitializers():X.moduleRef.resolveInjectorInitializers();const ge=S.get(Zt.ZTf);let Ke;if($.runOutsideAngular(()=>{Ke=$.onError.subscribe({next:ge})}),_o(X)){const rt=()=>S.destroy(),bt=X.platformInjector.get(go);bt.add(rt),S.onDestroy(()=>{Ke.unsubscribe(),bt.delete(rt)})}else{const rt=()=>X.moduleRef.destroy(),bt=X.platformInjector.get(go);bt.add(rt),X.moduleRef.onDestroy(()=>{(0,tn.TFI)(X.allPlatformModules,X.moduleRef),Ke.unsubscribe(),bt.delete(rt)})}return function li(X,S,$){try{const ge=$();return(0,tn.yLl)(ge)?ge.catch(Ke=>{throw S.runOutsideAngular(()=>X(Ke)),Ke}):ge}catch(ge){throw S.runOutsideAngular(()=>X(ge)),ge}}(ge,$,()=>{const rt=S.get(Zt.rev),bt=rt.add(),kt=S.get(tn.H1s);return kt.runInitializers(),kt.donePromise.then(()=>{const fn=S.get(tn.xe9,tn.DkB);if((0,tn.e6s)(fn||tn.DkB),!S.get(Co,!0))return _o(X)?S.get(tn.o8S):(X.allPlatformModules.push(X.moduleRef),X.moduleRef);if(_o(X)){const ar=S.get(tn.o8S);return void 0!==X.rootComponent&&ar.bootstrap(X.rootComponent),ar}return X.moduleRef}).finally(()=>{rt.remove(bt)})})})}({r3Injector:new tn.bH1({providers:bt,parent:rt,debugName:"",runEnvironmentInitializers:!1}).injector,platformInjector:rt,rootComponent:S})}catch(rt){return Promise.reject(rt)}finally{(0,tn.Ef8)(9)}}function St(X){return"boolean"==typeof X?X:null!=X&&"false"!==X}function Jt(X,S=NaN){return isNaN(parseFloat(X))||isNaN(Number(X))?S:Number(X)}const Ji=Symbol("NOT_SET"),mi=new Set,bc={...ur.s0,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,value:Ji,cleanup:null,consumerMarkedDirty(){if(this.sequence.impl.executing){if(null===this.sequence.lastPhase||this.sequence.lastPhase<this.phase)return;this.sequence.erroredOrDestroyed=!0}this.sequence.scheduler.notify(7)},phaseFn(X){if(this.sequence.lastPhase=this.phase,!this.dirty)return this.signal;if(this.dirty=!1,this.value!==Ji&&!(0,ur.si)(this))return this.signal;try{for(const Ke of this.cleanup??mi)Ke()}finally{this.cleanup?.clear()}const S=[];void 0!==X&&S.push(X),S.push(this.registerCleanupFn);const $=(0,ur.Bg)(this);let ge;try{ge=this.userFn.apply(null,S)}finally{(0,ur.Wu)(this,$)}return(this.value===Ji||!this.equal(this.value,ge))&&(this.value=ge,this.version++),this.signal}};class Ps extends tn._ys{scheduler;lastPhase=null;nodes=[void 0,void 0,void 0,void 0];constructor(S,$,ge,Ke,rt,bt=null){super(S,[void 0,void 0,void 0,void 0],ge,!1,rt.get(Zt.abz),bt),this.scheduler
vendor: 7,146 bytes, line 1
1=Ke;for(const kt of tn.zoo){const fn=$[kt];if(void 0===fn)continue;const mn=Object.create(bc);mn.sequence=this,mn.phase=kt,mn.userFn=fn,mn.dirty=!0,mn.signal=()=>((0,ur.mK)(mn),mn.value),mn.signal[ur.bh]=mn,mn.registerCleanupFn=ar=>(mn.cleanup??=new Set).add(ar),this.nodes[kt]=mn,this.hooks[kt]=ar=>mn.phaseFn(ar)}}afterRun(){super.afterRun(),this.lastPhase=null}destroy(){super.destroy();for(const S of this.nodes)if(S)try{for(const $ of S.cleanup??mi)$()}finally{(0,ur.XR)(S)}}}function Ua(X,S){const $=S?.injector??(0,Zt.WQX)(Zt.zZn),ge=$.get(Zt.hk6),Ke=$.get(tn.cf$),rt=$.get(tn.a8H,null,{optional:!0});Ke.impl??=$.get(tn.ziy);let bt=X;"function"==typeof bt&&(bt={mixedReadWrite:X});const kt=$.get(Zt.r4V,null,{optional:!0}),fn=new Ps(Ke.impl,[bt.earlyRead,bt.write,bt.mixedReadWrite,bt.read],kt?.view,ge,$,rt?.snapshot(null));return Ke.impl.register(fn),fn}function Fs(X,S){const $=(0,Zt.xUg)(X),ge=S.elementInjector||(0,Zt.WB9)();return new tn.eHC($).create(ge,S.projectableNodes,S.hostElement,S.environmentInjector,S.directives,S.bindings)}function Va(X){const S=(0,Zt.xUg)(X);if(!S)return null;const $=new tn.eHC(S);return{get selector(){return $.selector},get type(){return $.componentType},get inputs(){return $.inputs},get outputs(){return $.outputs},get ngContentSelectors(){return $.ngContentSelectors},get isStandalone(){return S.standalone},get isSignal(){return S.signals}}}},3664(tt,ce,l){l.d(ce,{$C:()=>R_,$Ln:()=>ym,AQ1:()=>Xh,AVh:()=>lp,Ab1:()=>Aa,Aen:()=>Wv,Agw:()=>ys,Avn:()=>Yh,B1s:()=>zl,B4B:()=>zc,BIS:()=>is,BMQ:()=>Rh,BUC:()=>$m,C4Q:()=>nl,C5r:()=>ky,C6U:()=>Sv,C7A:()=>rm,Co$:()=>A_,CsU:()=>RM,DH7:()=>py,DNE:()=>vh,DUP:()=>Vo,DkB:()=>Jh,Dyx:()=>Jm,E5c:()=>hp,EBC:()=>fu,EFF:()=>Jv,EJ8:()=>N_,Ef8:()=>Kt,FsC:()=>x_,FuF:()=>YD,G5x:()=>EE,GBs:()=>Av,H1s:()=>bm,HbH:()=>$v,Hgh:()=>Hh,JRh:()=>dp,Jn2:()=>rO,Jt5:()=>nv,Jv_:()=>Dy,KED:()=>NI,LHq:()=>pp,LVR:()=>Fm,Lme:()=>fp,NAR:()=>Iv,NCX:()=>xu,NOj:()=>gu,NSC:()=>Ec,NYb:()=>xM,NyB:()=>xv,OA$:()=>Nt,OM3:()=>ul,OR8:()=>Oa,Ocv:()=>sO,Ol2:()=>ph,PLl:()=>os,PYC:()=>Vd,PYt:()=>T_,PeT:()=>yh,QTQ:()=>Zg,Ql9:()=>eO,R50:()=>gp,R7$:()=>dt,RPW:()=>Gl,RV6:()=>ev,SKi:()=>jr,SS7:()=>mp,SdG:()=>Ov,SdI:()=>nE,SpI:()=>Od,TFI:()=>rd,Ts$:()=>iE,UQu:()=>JI,V5L:()=>tE,VBU:()=>w_,VeQ:()=>Is,VkB:()=>yy,Vm6:()=>Qm,Vt3:()=>gh,VwU:()=>rp,VzW:()=>sC,XpG:()=>bv,Xx1:()=>zn,Y8G:()=>Vh,YEm:()=>Ir,Z7z:()=>Zm,Zhj:()=>JD,_9s:()=>Yf,_9u:()=>hi,_jY:()=>ii,_qm:()=>po,_ys:()=>Qp,a8H:()=>Jc,aCM:()=>hs,aKT:()=>Dr,bH1:()=>P_,bH3:()=>_y,bIt:()=>np,bMT:()=>Ny,bVm:()=>Dl,bc$:()=>bs,bkB:()=>Hs,brH:()=>Fy,c1b:()=>Gu,cDI:()=>KC,cZr:()=>Op,cdK:()=>Cm,cf$:()=>If,czy:()=>Ut,d80:()=>tO,dOL:()=>vm,dfE:()=>uf,e6s:()=>Gb,eHC:()=>zu,eq3:()=>by,eu8:()=>zh,eux:()=>md,fX1:()=>Ym,gXe:()=>re,giA:()=>Em,gil:()=>Us,hnC:()=>QD,i5U:()=>Ly,iLQ:()=>Im,iWE:()=>pa,j41:()=>pd,jbH:()=>km,k0s:()=>gd,kBR:()=>Zh,kS0:()=>Hn,lJ4:()=>My,lJT:()=>Om,l_i:()=>Iy,lsd:()=>wv,mGM:()=>Pv,mNQ:()=>vy,mU9:()=>XD,mY:()=>Ni,mal:()=>Of,mxI:()=>_p,n$t:()=>au,nI1:()=>xy,nI4:()=>ME,nVh:()=>Gm,npT:()=>Kc,nrm:()=>$h,nv$:()=>Lm,o8S:()=>nd,ozJ:()=>th,p2i:()=>Wd,pJN:()=>ko,phd:()=>LM,pl0:()=>FM,qex:()=>vd,qhs:()=>Bm,r8f:()=>my,rAh:()=>Kl,rXU:()=>lc,rj2:()=>_d,sFG:()=>q0,sMw:()=>Oy,sZ2:()=>Fo,sdS:()=>Nv,sgu:()=>tC,tSv:()=>du,tvf:()=>J,uiO:()=>bn,utN:()=>gD,vDg:()=>o_,vZN:()=>fd,vxM:()=>Xm,w6W:()=>iC,wEZ:()=>Rv,wni:()=>Tv,wr$:()=>tu,xGo:()=>Vn,xc7:()=>cp,xe9:()=>sE,yLl:()=>Dm,y_5:()=>nr,ypd:()=>kM,ziG:()=>Ty,ziy:()=>Xp,zoo:()=>Gp,zw6:()=>Es});var q=l(467),o=l(2615),Xe=l(8440),At=l(1413),Gt=l(8359),Wn=l(6354);function kn(e){return{toString:e}.toString()}const An="__annotations__",Rn="__parameters__",Pn="__prop__metadata__";function nn(e,t,n,r,i){return kn(()=>{const a=Bn(t);function c(...d){if(this instanceof c)return a.call(this,...d),this;const g=new c(...d);return function(B){return i&&i(B,...d),(B.hasOwnProperty(An)?B[An]:Object.defineProperty(B,An,{value:[]})[An]).push(g),B}}return n&&(c.prototype=Object.create(n.prototype)),c.prototype.ngMetadataName=e,c.annotationCls=c,c})}function Bn(e){return function(...n){if(e){const r=e(...n);for(const i in r)this[i]=r[i]}}}function Kn(e,t,n){return kn(()=>{const r=Bn(t);function i(...a){if(this instanceof i)return r.apply(this,a),this;const c=new i(...a);return d.annotation=c,d;function d(g,P,B){const te=g.hasOwnProperty(Rn)?g[Rn]:Object.defineProperty(g,Rn,{value:[]})[Rn];for(;te.length<=B;)te.push(null);return(te[B]=te[B]||[]).push(c),g}}return i.prototype.ngMetadataName=e,i.annotationCls=i,i})}const nr=(0,o.z6V)(Kn("Inject",e=>({token:e})),-1),zn=(0,o.z6V)(Kn("Optional"),8),_r=(0,o.z6V)(Kn("Self"),2),wr=(0,o.z6V)(Kn("SkipSelf"),4),Er=(0,o.z6V)(Kn("Host"),1);function bn(e){const t=o.laP.ng;if(t&&t.\u0275compilerFacade)return t.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}const dr={\u0275\u0275defineInjectable:o.jDH,\u0275\u0275defineInjector:o.G2t,\u0275\u0275inject:o.KVO,\u0275\u0275invalidFactoryDep:o.dmw,resolveForwardRef:o.nl4},$n=Function;function Zn(e){return"function"==typeof e}const rr=/^function\s+\S+\(\)\s*{[\s\S]+\.apply\(this,\s*(arguments|(?:[^()]+\(\[\],)?[^()]+\(arguments\).*)\)/,Gn=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{/,xr=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(/,mr=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(\)\s*{[^}]*super\(\.\.\.arguments\)/;class Nr{_reflect;constructor(t){this._reflect=t||o.laP.Reflect}factory(t){return(...n)=>new t(...n)}_zipTypesAndAnnotations(t,n){let r;r=(0,o.WfI)(typeof t>"u"?n.length:t.length);for(let i=0;i<r.length;i++)r[i]=typeof t>"u"?[]:t[i]&&t[i]!=Object?[t[i]]:[],n&&null!=n[i]&&(r[i]=r[i].concat(n[i]));return r}_ownParameters(t,n){if(function vr(e){return rr.test(e)||mr.test(e)||Gn.test(e)&&!xr.test(e)}(t.toString()))return null;if(t.parameters&&t.parameters!==n.parameters)return t.parameters;const i=t.ctorParameters;if(i&&i!==n.ctorParameters){const d="function"==typeof i?i():i,g=d.map(B=>B&&B.type),P=d.map(B=>B&&cr(B.decorators));return this._zipTypesAndAnnotations(g,P)}const a=t.hasOwnProperty(Rn)&&t[Rn],c=this._reflect&&this._reflect.getOwnMetadata&&this._reflect.getOwnMetadata("design:paramtypes",t);return c||a?this._zipTypesAndAnnotations(c,a):(0,o.WfI)(t.length)}parameters(t){if(!Zn(t))return[];const n=Ct(t);let r=this._ownParameters(t,n);return!r&&n!==Object&&(r=this.parameters(n)),r||[]}_ownAnnotations(t,n){if(t.annotations&&t.annotations!==n.annotations){let r=t.annotations;return"function"==typeof r&&r.annotations&&(r=r.annotations),r}return t.decorators&&t.decorators!==n.decorators?cr(t.decorators):t.hasOwnProperty(An)?t[An]:null}annotations(t){if(!Zn(t))return[];const n=Ct(t),r=this._ownAnnotations(t,n)||[];return(n!==Object?this.annotations(n):[]).concat(r)}_ownPropMetadata(t,n){if(t.propMetadata&&t.propMetadata!==n.propMetadata){let r=t.propMetadata;return"function"==typeof r&&r.propMetadata&&(r=r.propMetadata),r}if(t.propDecorators&&t.propDecorators!==n.propDecorators){const r=t.propDecorators,i={};return Object.keys(r).forEach(a=>{i[a]=cr(r[a])}),i}return t.hasOwnProperty(Pn)?t[Pn]:null}propMetadata(t){if(!Zn(t))return{};const n=Ct(t),r={};if(n!==Object){const a=this.propMetadata(n);
vendor: 4,366 bytes, line 1
1Object.keys(a).forEach(c=>{r[c]=a[c]})}const i=this._ownPropMetadata(t,n);return i&&Object.keys(i).forEach(a=>{const c=[];r.hasOwnProperty(a)&&c.push(...r[a]),c.push(...i[a]),r[a]=c}),r}ownPropMetadata(t){return Zn(t)&&this._ownPropMetadata(t,Ct(t))||{}}hasLifecycleHook(t,n){return t instanceof $n&&n in t.prototype}}function cr(e){return e?e.map(t=>new(0,t.type.annotationCls)(...t.args?t.args:[])):[]}function Ct(e){const t=e.prototype?Object.getPrototypeOf(e.prototype):null;return(t?t.constructor:null)||Object}class et{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function vt(e,t,n,r){null!==t?t.applyValueToInputSignal(t,r):e[n]=r}const Nt=(()=>{const e=()=>Wt;return e.ngInherit=!0,e})();function Wt(e){return e.type.prototype.ngOnChanges&&(e.setInput=Z),fe}function fe(){const e=Oe(this),t=e?.current;if(t){const n=e.previous;if(n===o.MZA)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Z(e,t,n,r,i){const a=this.declaredInputs[r],c=Oe(e)||function be(e,t){return e[ve]=t}(e,{previous:o.MZA,current:null}),d=c.current||(c.current={}),g=c.previous,P=g[a];d[a]=new et(P&&P.currentValue,n,g===o.MZA),vt(e,t,i,n)}const ve="__ngSimpleChanges__";function Oe(e){return e[ve]||null}const st=[],Kt=function(e,t=null,n){for(let r=0;r<st.length;r++)(0,st[r])(e,t,n)};function un(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){const a=e.data[n].type.prototype,{ngAfterContentInit:c,ngAfterContentChecked:d,ngAfterViewInit:g,ngAfterViewChecked:P,ngOnDestroy:B}=a;c&&(e.contentHooks??=[]).push(-n,c),d&&((e.contentHooks??=[]).push(n,d),(e.contentCheckHooks??=[]).push(n,d)),g&&(e.viewHooks??=[]).push(-n,g),P&&((e.viewHooks??=[]).push(n,P),(e.viewCheckHooks??=[]).push(n,P)),null!=B&&(e.destroyHooks??=[]).push(n,B)}}function Xt(e,t,n){Jn(e,t,3,n)}function Xn(e,t,n,r){(3&e[o.Wg1])===n&&Jn(e,t,n,r)}function Ar(e,t){let n=e[o.Wg1];(3&n)===t&&(n&=16383,n+=1,e[o.Wg1]=n)}function Jn(e,t,n,r){const a=r??-1,c=t.length-1;let d=0;for(let g=void 0!==r?65535&e[o.wVl]:0;g<c;g++)if("number"==typeof t[g+1]){if(d=t[g],null!=r&&d>=r)break}else t[g]<0&&(e[o.wVl]+=65536),(d<a||-1==a)&&(or(e,n,t,g),e[o.wVl]=(4294901760&e[o.wVl])+g+2),g++}function fr(e,t){Kt(4,e,t);const n=(0,Xe.Ht)(null);try{t.call(e)}finally{(0,Xe.Ht)(n),Kt(5,e,t)}}function or(e,t,n,r){const i=n[r]<0,a=n[r+1],d=e[i?-n[r]:n[r]];i?e[o.Wg1]>>14<e[o.wVl]>>16&&(3&e[o.Wg1])===t&&(e[o.Wg1]+=16384,fr(d,a)):fr(d,a)}class Ee{factory;name;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,n,r,i){this.factory=t,this.name=i,this.canSeeViewProviders=n,this.injectImpl=r}}function Je(e){return null!=e&&"object"==typeof e&&(null===e.insertBeforeIndex||"number"==typeof e.insertBeforeIndex||Array.isArray(e.insertBeforeIndex))}function qe(e){return 3===e||4===e||6===e}function Lt(e){return 64===e.charCodeAt(0)}function Ft(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 i=t[r];"number"==typeof i?n=i:0===n||Sn(e,n,i,0,-1===n||2===n?t[++r]:null)}}return e}function Sn(e,t,n,r,i){let a=0,c=e.length;if(-1===t)c=-1;else for(;a<e.length;){const d=e[a++];if("number"==typeof d){if(d===t){c=-1;break}if(d>t){c=a-1;break}}}for(;a<e.length;){const d=e[a];if("number"==typeof d)break;if(d===n)return void(null!==i&&(e[a+1]=i));a++,null!==i&&a++}-1!==c&&(e.splice(c,0,t),a=c+1),e.splice(a++,0,n),null!==i&&e.splice(a++,0,i)}function gn(e){return-1!==e}function Un(e){return 32767&e}function yn(e,t){let n=function vn(e){return e>>16}(e),r=t;for(;n>0;)r=r[o.X5O],n--;return r}let wn=!0;function xn(e){const t=wn;return wn=e,t}let Lr=0;const lr={};function er(e,t){const n=ho(e,t);if(-1!==n)return n;const r=t[o.eDl];r.firstCreatePass&&(e.injectorIndex=t.length,oo(r.data,e),oo(t,null),oo(r.blueprint,null));const i=io(e,t),a=e.injectorIndex;if(gn(i)){const c=Un(i),d=yn(i,t),g=d[o.eDl].data;for(let P=0;P<8;P++)t[a+P]=d[c+P]|g[c+P]}return t[a+8]=i,a}function oo(e,t){e.push(0,0,0,0,0,0,0,0,t)}function ho(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function io(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,i=t;
vendor: 6,529 bytes, line 1
1for(;null!==i;){if(r=dn(i),null===r)return-1;if(n++,i=i[o.X5O],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return-1}function Kr(e,t,n){!function Yr(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(o.p9y)&&(r=n[o.p9y]),null==r&&(r=n[o.p9y]=Lr++);const i=255&r;t.data[e+(i>>5)]|=1<<i}(e,t,n)}function ur(e,t,n){if(8&n||void 0!==e)return e;(0,o.$Hz)(t,"NodeInjector")}function tn(e,t,n,r){if(8&n&&void 0===r&&(r=null),!(3&n)){const i=e[o.YEL],a=(0,o.a2B)(void 0);try{return i?i.get(t,r,8&n):(0,o.MzJ)(t,r,8&n)}finally{(0,o.a2B)(a)}}return ur(r,t,n)}function Eo(e,t,n,r=0,i){if(null!==e){if(2048&t[o.Wg1]&&!(2&r)){const c=function En(e,t,n,r,i){let a=e,c=t;for(;null!==a&&null!==c&&2048&c[o.Wg1]&&!(0,o.EFk)(c);){const d=so(a,c,n,2|r,lr);if(d!==lr)return d;let g=a.parent;if(!g){const P=c[o.oMQ];if(P){const B=P.get(n,lr,r);if(B!==lr)return B}g=dn(c),c=c[o.X5O]}a=g}return i}(e,t,n,r,lr);if(c!==lr)return c}const a=so(e,t,n,r,lr);if(a!==lr)return a}return tn(t,n,r,i)}function so(e,t,n,r,i){const a=function le(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(o.p9y)?e[o.p9y]:void 0;return"number"==typeof t?t>=0?255&t:Qt:t}(n);if("function"==typeof a){if(!(0,o.ihb)(t,e,r))return 1&r?ur(i,n,r):tn(t,n,r,i);try{let c;if(c=a(r),null!=c||8&r)return c;(0,o.$Hz)(n)}finally{(0,o.niQ)()}}else if("number"==typeof a){let c=null,d=ho(e,t),g=-1,P=1&r?t[o.b5C][o.qlT]:null;for((-1===d||4&r)&&(g=-1===d?io(e,t):t[d+8],-1!==g&&ee(r,!1)?(c=t[o.eDl],d=Un(g),t=yn(g,t)):d=-1);-1!==d;){const B=t[o.eDl];if(U(a,d,B.data)){const te=ao(d,t,n,c,r,P);if(te!==lr)return te}g=t[d+8],-1!==g&&ee(r,t[o.eDl].data[d+8]===P)&&U(a,d,t)?(c=B,d=Un(g),t=yn(g,t)):d=-1}}return i}function ao(e,t,n,r,i,a){const c=t[o.eDl],d=c.data[e+8],B=Jo(d,c,n,null==r?(0,o.Qs1)(d)&&wn:r!=c&&!!(3&d.type),1&i&&a===d);return null!==B?R(t,c,B,d,i):lr}function Jo(e,t,n,r,i){const a=e.providerIndexes,c=t.data,d=1048575&a,g=e.directiveStart,B=a>>20,De=i?d+B:e.directiveEnd;for(let Me=r?d:d+B;Me<De;Me++){const nt=c[Me];if(Me<g&&n===nt||Me>=g&&nt.type===n)return Me}if(i){const Me=c[g];if(Me&&(0,o.JlV)(Me)&&Me.type===n)return g}return null}function R(e,t,n,r,i){let a=e[n];const c=t.data;if(a instanceof Ee){const d=a;if(d.resolving){const Me=(0,o.PP7)(c[n]);throw(0,o.PQT)(Me)}const g=xn(d.canSeeViewProviders);d.resolving=!0;const te=d.injectImpl?(0,o.a2B)(d.injectImpl):null;(0,o.ihb)(e,r,0);try{a=e[n]=d.factory(void 0,i,c,e,r),t.firstCreatePass&&n>=r.directiveStart&&function qn(e,t,n){const{ngOnChanges:r,ngOnInit:i,ngDoCheck:a}=t.type.prototype;if(r){const c=Wt(t);(n.preOrderHooks??=[]).push(e,c),(n.preOrderCheckHooks??=[]).push(e,c)}i&&(n.preOrderHooks??=[]).push(0-e,i),a&&((n.preOrderHooks??=[]).push(e,a),(n.preOrderCheckHooks??=[]).push(e,a))}(n,c[n],t)}finally{null!==te&&(0,o.a2B)(te),xn(g),d.resolving=!1,(0,o.niQ)()}}return a}function U(e,t,n){return!!(n[t+(e>>5)]&1<<e)}function ee(e,t){return!(2&e||1&e&&t)}class ht{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return Eo(this._tNode,this._lView,t,(0,o.hjC)(r),n)}}function Qt(){return new ht((0,o.Mx4)(),(0,o.OAn)())}function Vn(e){return kn(()=>{const t=e.prototype.constructor,n=t[o.zSs]||Mn(t),r=Object.prototype;let i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==r;){const a=i[o.zSs]||Mn(i);if(a&&a!==n)return a;i=Object.getPrototypeOf(i)}return a=>new a})}function Mn(e){return(0,o.Jzi)(e)?()=>{const t=Mn((0,o.nl4)(e));return t&&t()}:(0,o.wGu)(e)}function dn(e){const t=e[o.eDl],n=t.type;return 2===n?t.declTNode:1===n?e[o.qlT]:null}function Hn(e){return function Zt(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 i=0;for(;i<r;){const a=n[i];if(qe(a))break;if(0===a)i+=2;else if("number"==typeof a)for(i++;i<r&&"string"==typeof n[i];)i++;else{if(a===t)return n[i+1];i+=2}}}return null}((0,o.Mx4)(),e)}const Yn=Kn("Attribute",e=>({attributeName:e,__NG_ELEMENT_ID__:()=>Hn(e)}));let sr=null;function hr(e){return Sr(function Ur(){return sr=sr||new Nr}().parameters(e))}function Sr(e){return e.map(t=>function Fr(e){const t={token:null,attribute:null,host:!1,optional:!1,self:!1,skipSelf:!1};if(Array.isArray(e)&&e.length>0)for(let n=0;n<e.length;n++){const r=e[n];if(void 0===r)continue;const i=Object.getPrototypeOf(r);if(r instanceof zn||"Optional"===i.ngMetadataName)t.optional=!0;else if(r instanceof wr||"SkipSelf"===i.ngMetadataName)t.skipSelf=!0;else if(r instanceof _r||"Self"===i.ngMetadataName)t.self=!0;else if(r instanceof Er||"Host"===i.ngMetadataName)t.host=!0;else if(r instanceof nr)t.token=r.token;else if(r instanceof Yn){if(void 0===r.attributeName)throw new o.buA(204,!1);t.attribute=r.attributeName}else t.token=r}else t.token=void 0===e||Array.isArray(e)&&0===e.length?null:e;return t}(t))}const zr=(0,o.kLh)({provide:String,useValue:o.kLh});function Ao(e){return void 0!==e.useClass}function co(e){return void 0!==e.useFactory}const po=nn("Injectable",void 0,void 0,0,(e,t)=>function To(e,t){let n=null,r=null;e.hasOwnProperty(o.yAH)||Object.defineProperty(e,o.yAH,{get:()=>(null===n&&(n=bn().compileInjectable(dr,`ng:///${e.name}/\u0275prov.js`,function ci(e,t){const n=t||{providedIn:null},r={name:e.name,type:e,typeArgumentCount:0,providedIn:n.providedIn};return(Ao(n)||co(n))&&void 0!==n.deps&&(r.deps=Sr(n.deps)),Ao(n)?r.useClass=n.useClass:function Zr(e){return zr in e}(n)?r.useValue=n.useValue:co(n)?r.useFactory=n.useFactory:function Ti(e){return void 0!==e.useExisting}(n)&&(r.useExisting=n.useExisting),r}(e,t))),n)}),e.hasOwnProperty(o.zSs)||Object.defineProperty(e,o.zSs,{get:()=>{if(null===r){const i=bn();r=i.compileFactory(dr,`ng:///${e.name}/\u0275fac.js`,{name:e.name,type:e,typeArgumentCount:0,deps:hr(e),target:i.FactoryTarget.Injectable})}return r},configurable:!0})}(e,t));function $o(){return yr((0,o.Mx4)(),(0,o.OAn)())}function yr(e,t){return new Dr((0,o.d31)(e,t))}let Dr=(()=>class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=$o})();function qo(e){return e instanceof Dr?e.nativeElement:e}function Jr(){return this._results[Symbol.iterator]()}class Ai{_emitDistinctChangesOnly;dirty=!0;_onDirty=void 0;_results=[];_changesDetected=!1;_changes=void 0;length=0;first=void 0;last=void 0;get changes(){return this._changes??=new At.B}constructor(t=!1){this._emitDistinctChangesOnly=t}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)}
vendor: 5,353 bytes, line 1
1forEach(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){this.dirty=!1;const r=(0,o.Bqz)(t);(this._changesDetected=!(0,o.ng7)(this._results,r,n))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){void 0!==this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(t){this._onDirty=t}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){void 0!==this._changes&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=Jr}function Co(e){return!(128&~e.flags)}var Mo=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(Mo||{});const Po=new Map;let Pi=0;function yi(e){Po.delete(e[o.ID])}const So="__ngContext__";function kr(e,t){(0,o.q$2)(t)?(e[So]=t[o.ID],function ti(e){Po.set(e[o.ID],e)}(t)):e[So]=t}function Yt(e){return $r(e[o.EJG])}function In(e){return $r(e[o.K29])}function $r(e){for(;null!==e&&!(0,o.A0l)(e);)e=e[o.K29];return e}let Hi;function hi(e){Hi=e}function Ir(){if(void 0!==Hi)return Hi;if(typeof document<"u")return document;throw new o.buA(210,!1)}const Fo=new o.nKC("",{providedIn:"root",factory:()=>Ci}),Ci="ng",os=new o.nKC(""),ys=new o.nKC("",{providedIn:"platform",factory:()=>"unknown"}),bs=new o.nKC(""),is=new o.nKC("",{providedIn:"root",factory:()=>Ir().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),Ni={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840],placeholderResolution:30,disableImageSizeWarning:!1,disableImageLazyLoadWarning:!1},Is=new o.nKC("",{providedIn:"root",factory:()=>Ni});function Es(e){return e}function ss(){const e=new ko;return e.store=function as(e,t){const n=e.getElementById(t+"-state");if("SCRIPT"===n?.tagName&&n.textContent)try{return JSON.parse(n.textContent)}catch(r){console.warn("Exception while restoring TransferState for app "+t,r)}return{}}(Ir(),(0,o.WQX)(Fo)),e}let ko=(()=>{class e{static \u0275prov=(0,o.jDH)({token:e,providedIn:"root",factory:ss});store={};onSerializeCallbacks={};get(n,r){return void 0!==this.store[n]?this.store[n]:r}set(n,r){this.store[n]=r}remove(n){delete this.store[n]}hasKey(n){return this.store.hasOwnProperty(n)}get isEmpty(){return 0===Object.keys(this.store).length}onSerialize(n,r){this.onSerializeCallbacks[n]=r}toJson(){for(const n in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(n))try{this.store[n]=this.onSerializeCallbacks[n]()}catch(r){console.warn("Exception in onSerialize callback: ",r)}return JSON.stringify(this.store).replace(/</g,"\\u003C")}}return e})();const gi=new o.nKC("",{providedIn:"root",factory:()=>!1}),As=new o.nKC(""),J=new o.nKC(""),ye={passive:!0,capture:!0},xe=new WeakMap,ot=new WeakMap,pt=new WeakMap,St=["click","keydown"],Jt=["mouseenter","mouseover","focusin"];let ln=null,f=0;class y{callbacks=new Set;listener=()=>{for(const t of this.callbacks)t()}}function m(e,t){let n=ot.get(e);if(!n){n=new y,ot.set(e,n);for(const r of St)e.addEventListener(r,n.listener,ye)}return n.callbacks.add(t),()=>{const{callbacks:r,listener:i}=n;if(r.delete(t),0===r.size){ot.delete(e);for(const a of St)e.removeEventListener(a,i,ye)}}}function M(e,t){let n=xe.get(e);if(!n){n=new y,xe.set(e,n);for(const r of Jt)e.addEventListener(r,n.listener,ye)}return n.callbacks.add(t),()=>{const{callbacks:r,listener:i}=n;if(r.delete(t),0===r.size){for(const a of Jt)e.removeEventListener(a,i,ye);xe.delete(e)}}}const mi=new o.nKC("");function Ps(e){return!(32&~e.flags)}function $(e){let t=e._lView;return 2===t[o.eDl].type?null:((0,o.EFk)(t)&&(t=t[o.Yw1]),t)}function xo(e){return e.get(As,!1,{optional:!0})}function Qa(e,t){const n=e.contentQueries;if(null!==n){const r=(0,Xe.Ht)(null);try{for(let i=0;i<n.length;i+=2){const c=n[i+1];if(-1!==c){const d=e.data[c];(0,o.GA0)(n[i]),d.contentQueries(2,t[c],c)}}}finally{(0,Xe.Ht)(r)}}}function _(e,t,n){(0,o.GA0)(0);const r=(0,Xe.Ht)(null);try{t(e,n)}finally{(0,Xe.Ht)(r)}}function F(e,t,n){if((0,o.srX)(t)){const r=(0,Xe.Ht)(null);try{const a=t.directiveEnd;for(let c=t.directiveStart;c<a;c++){const d=e.data[c];d.contentQueries&&d.contentQueries(1,n[c],c)}}finally{(0,Xe.Ht)(r)}}}var re=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(re||{});const Bl={"http://www.w3.org/2000/svg":"svg","http://www.w3.org/1998/Math/MathML":"math"};let Ya,Za;function jl(){if(void 0===Ya&&(Ya=null,o.laP.trustedTypes))try{Ya=o.laP.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Ya}function ha(e){return jl()?.createHTML(e)||e}function Rc(){if(void 0===Za&&(Za=null,o.laP.trustedTypes))try{Za=o.laP.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Za}function Ul(e){return Rc()?.createHTML(e)||e}function Vl(e){return Rc()?.createScript(e)||e}function Bd(e){return Rc()?.createScriptURL(e)||e}class fs{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${o.ok8})`}}class Wl extends fs{getTypeName(){return"HTML"}}class $l extends fs{getTypeName(){return"Style"}}
vendor: 4,265 bytes, line 1
1class jd extends fs{getTypeName(){return"Script"}}class Ud extends fs{getTypeName(){return"URL"}}class Hl extends fs{getTypeName(){return"ResourceURL"}}function hs(e){return e instanceof fs?e.changingThisBreaksApplicationSecurity:e}function pa(e,t){const n=function ga(e){return e instanceof fs&&e.getTypeName()||null}(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${o.ok8})`)}return n===t}function Vd(e){return new Wl(e)}function Kl(e){return new $l(e)}function Wd(e){return new jd(e)}function zl(e){return new Ud(e)}function Gl(e){return new Hl(e)}function Xl(e){const t=new Ql(e);return function Yl(){try{return!!(new window.DOMParser).parseFromString(ha(""),"text/html")}catch{return!1}}()?new xc(t):t}class xc{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const n=(new window.DOMParser).parseFromString(ha(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch{return null}}}class Ql{defaultDoc;inertDocument;constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){const n=this.inertDocument.createElement("template");return n.innerHTML=ha(t),n}}const Ja=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Us(e){return(e=String(e)).match(Ja)?e:"unsafe:"+e}function qi(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function qs(...e){const t={};for(const n of e)for(const r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}const _a=qi("area,br,col,hr,img,wbr"),$d=qi("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Zl=qi("rp,rt"),Lc=qs(_a,qs($d,qi("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")),qs(Zl,qi("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")),qs(Zl,$d)),Fc=qi("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),kc=qs(Fc,qi("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,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),qi("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")),zd=qi("script,style,template");class Gd{sanitizedSomething=!1;buf=[];sanitizeChildren(t){let n=t.firstChild,r=!0,i=[];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)i.push(n),n=oi(n);else for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let a=xp(n);if(a){n=a;break}n=i.pop()}return this.buf.join("")}startElement(t){const n=Jl(t).toLowerCase();if(!Lc.hasOwnProperty(n))return this.sanitizedSomething=!0,!zd.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const r=t.attributes;for(let i=0;i<r.length;i++){const a=r.item(i),c=a.name,d=c.toLowerCase();if(!kc.hasOwnProperty(d)){this.sanitizedSomething=!0;continue}let g=a.value;Fc[d]&&(g=Us(g)),this.buf.push(" ",c,'="',eu(g),'"')}return this.buf.push(">"),!0}
vendor: 12,797 bytes, line 1
1endElement(t){const n=Jl(t).toLowerCase();Lc.hasOwnProperty(n)&&!_a.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(eu(t))}}function xp(e){const t=e.nextSibling;if(t&&e!==t.previousSibling)throw ql(t);return t}function oi(e){const t=e.firstChild;if(t&&function Xd(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}(e,t))throw ql(t);return t}function Jl(e){const t=e.nodeName;return"string"==typeof t?t:"FORM"}function ql(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}const Qd=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Bc=/([^\#-~ |!])/g;function eu(e){return e.replace(/&/g,"&").replace(Qd,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(Bc,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}let ma;function tu(e,t){let n=null;try{ma=ma||Xl(e);let r=t?String(t):"";n=ma.getInertBodyElement(r);let i=5,a=r;do{if(0===i)throw new Error("Failed to sanitize html because the input is unstable");i--,r=a,a=n.innerHTML,n=ma.getInertBodyElement(r)}while(r!==a);return ha((new Gd).sanitizeChildren(jc(n)||n))}finally{if(n){const r=jc(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function jc(e){return"content"in e&&function Yd(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}const Zd=/^>|^->|<!--|-->|--!>|<!-$/g,nu=/(<|>)/g;function Uc(e,t){return e.createText(t)}function Vc(e,t,n){e.setValue(t,n)}function Wc(e,t){return e.createComment(function ru(e){return e.replace(Zd,t=>t.replace(nu,"\u200b$1\u200b"))}(t))}function qa(e,t,n){return e.createElement(t,n)}function Rs(e,t,n,r,i){e.insertBefore(t,n,r,i)}function ou(e,t,n){e.appendChild(t,n)}function iu(e,t,n,r,i){null!==r?Rs(e,t,n,r,i):ou(e,t,n)}function va(e,t,n,r){e.removeChild(null,t,n,r)}function ea(e,t,n){const{mergedAttrs:r,classes:i,styles:a}=n;null!==r&&function at(e,t,n){let r=0;for(;r<n.length;){const i=n[r];if("number"==typeof i){if(0!==i)break;r++;const a=n[r++],c=n[r++],d=n[r++];e.setAttribute(t,c,d,a)}else{const a=i,c=n[++r];Lt(a)?e.setProperty(t,a,c):e.setAttribute(t,a,c),r++}}}(e,t,r),null!==i&&function ef(e,t,n){""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}(e,t,i),null!==a&&function qd(e,t,n){e.setAttribute(t,"style",n)}(e,t,a)}function Hc(e,t=!0){if(":"!=e[0])return[null,e];const n=e.indexOf(":",1);if(-1===n){if(t)throw new Error(`Unsupported format "${e}" expecting ":namespace:name"`);return[null,e]}return[e.slice(1,n),e.slice(n+1)]}function Kc(e,t,n){if(void 0!==t&&void 0!==n&&cu(t,n)!==o.WPN.HTML)return e;const r=ya();return r?Ul(r.sanitize(o.WPN.HTML,e)||""):pa(e,"HTML")?Ul(hs(e)):tu(Ir(),(0,o.eFE)(e))}function su(e){const t=ya();return t?t.sanitize(o.WPN.STYLE,e)||"":pa(e,"Style")?hs(e):(0,o.eFE)(e)}function zc(e){const t=ya();return t?t.sanitize(o.WPN.URL,e)||"":pa(e,"URL")?hs(e):Us((0,o.eFE)(e))}function Gc(e){const t=ya();if(t)return Bd(t.sanitize(o.WPN.RESOURCE_URL,e)||"");if(pa(e,"ResourceURL"))return Bd(hs(e));throw new o.buA(904,!1)}function ec(e){const t=ya();if(t)return Vl(t.sanitize(o.WPN.SCRIPT,e)||"");if(pa(e,"Script"))return Vl(hs(e));throw new o.buA(905,!1)}function au(e,t,n){return function rf(e,t){switch(cu(e,t)){case o.WPN.RESOURCE_URL:return Gc;case o.WPN.URL:return zc;default:return null}}(t,n)?.(e)??e}function ya(){const e=(0,o.OAn)();return e&&e[o.M0L].sanitizer}function cu(e,t){const[n,r]=lu(e);return(0,o.wdo)(r,t,n)}function lu(e){const t=Hc(e=e.toLowerCase(),!1);if(t[0])return t;const r=-1===(0,o._px)()?null:(0,o.CpD)();let i=r?.namespace;if("#host"===e&&2===r?.type){const a=(0,o.d31)(r,(0,o.OAn)());if(a.tagName&&(e=a.tagName.toLowerCase()),null==i){const c=a.namespaceURI;i=c&&Bl[c]}}return[i,e]}const tc=new Set(["href","xlink:href"]),of={animate:{to:tc,values:tc,from:tc},set:{to:tc}};function uu(e,t,n){const i=-1===(0,o._px)()?null:(0,o.CpD)();if(i&&2!==i.type)return e;const[a,c]=lu(t);if((0,o.wdo)(c,n,a)!==o.WPN.ATTRIBUTE_NO_BINDING)return e;const g=(0,o.OAn)();if(i)if("iframe"===c)!function tf(e){const t=(0,o.OAn)();e.src="",e.srcdoc=ha(""),va(t[o.GpT],e)}((0,o.d31)(i,g));else if(a===o.jNX){const B=of[c]?.[n.toLowerCase()];if(B){if(function sf(e,t){for(const n of e.getAttributeNames()){if("attributename"!==n.toLowerCase())continue;const r=e.getAttribute(n);if(null!==r&&t.has(r.toLowerCase()))return r}return null}((0,o.d31)(i,g),B))throw new o.buA(-910,!1);return e}}throw new o.buA(-910,!1)}function du(e){return e.ownerDocument.defaultView}function fu(e){return e.ownerDocument}function ps(e){return e instanceof Function?e():e}function uf(e){if(gu(e),!(0,o.xUg)(e).standalone)throw new o.buA(907,`The ${(0,o.PP7)(e)} component is not marked as standalone, but Angular expects to have a standalone component here. Please make sure the ${(0,o.PP7)(e)} component has the \`standalone: true\` flag in the decorator.`)}function gu(e){if(!(0,o.xUg)(e))throw new o.buA(906,`The ${(0,o.PP7)(e)} is not an Angular component, make sure it has the \`@Component\` decorator.`)}function df(e,t,n){let r=e.length;for(;;){const i=e.indexOf(t,n);if(-1===i)return i;if(0===i||e.charCodeAt(i-1)<=32){const a=t.length;if(i+a===r||e.charCodeAt(i+a)<=32)return i}n=i+1}}const vu="ng-template";function ff(e,t,n,r){let i=0;if(r){for(;i<t.length&&"string"==typeof t[i];i+=2)if("class"===t[i]&&-1!==df(t[i+1].toLowerCase(),n,0))return!0}else if(Qc(e))return!1;if(i=t.indexOf(1,i),i>-1){let a;for(;++i<t.length&&"string"==typeof(a=t[i]);)if(a.toLowerCase()===n)return!0}return!1}function Qc(e){return 4===e.type&&e.value!==vu}function hf(e,t,n){return t===(4!==e.type||n?e.value:vu)}function pf(e,t,n){let r=4;const i=e.attrs,a=null!==i?function mf(e){for(let t=0;t<e.length;t++)if(qe(e[t]))return t;return e.length}(i):0;let c=!1;for(let d=0;d<t.length;d++){const g=t[d];if("number"!=typeof g){if(!c)if(4&r){if(r=2|1&r,""!==g&&!hf(e,g,n)||""===g&&1===t.length){if(es(r))return!1;c=!0}}else if(8&r){if(null===i||!ff(e,i,g,n)){if(es(r))return!1;c=!0}}else{const P=t[++d],B=gf(g,i,Qc(e),n);if(-1===B){if(es(r))return!1;c=!0;continue}if(""!==P){let te;if(te=B>a?"":i[B+1].toLowerCase(),2&r&&P!==te){if(es(r))return!1;c=!0}}}}else{if(!c&&!es(r)&&!es(g))return!1;if(c&&es(g))continue;c=!1,r=g|1&r}}return es(r)||c}function es(e){return!(1&e)}function gf(e,t,n,r){if(null===t)return-1;let i=0;if(r||!n){let a=!1;for(;i<t.length;){const c=t[i];if(c===e)return i;if(3===c||6===c)a=!0;else{if(1===c||2===c){let d=t[++i];for(;"string"==typeof d;)d=t[++i];continue}if(4===c)break;if(0===c){i+=4;continue}}i+=a?1:2}return-1}return function Ws(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 yu(e,t,n=!1){for(let r=0;r<t.length;r++)if(pf(e,t[r],n))return!0;return!1}function Yc(e,t){e:for(let n=0;n<t.length;n++){const r=t[n];if(e.length===r.length){for(let i=0;i<e.length;i++)if(e[i]!==r[i])continue e;return!0}}return!1}function Eu(e,t){return e?":not("+t.trim()+")":t}function vf(e){let t=e[0],n=1,r=2,i="",a=!1;for(;n<e.length;){let c=e[n];if("string"==typeof c)if(2&r){const d=e[++n];i+="["+c+(d.length>0?'="'+d+'"':"")+"]"}else 8&r?i+="."+c:4&r&&(i+=" "+c);else""!==i&&!es(c)&&(t+=Eu(a,i),i=""),r=c,a=a||!es(r);n++}return""!==i&&(t+=Eu(a,i)),t}const Cr={};function Zc(e,t,n,r,i,a,c,d,g,P,B){const te=o.Yw1+r,De=te+i,Me=function p(e,t){const n=[];for(let r=0;r<t;r++)n.push(r<e?null:Cr);return n}(te,De),nt="function"==typeof P?P():P;return Me[o.eDl]={type:e,blueprint:Me,template:n,queries:null,viewQuery:d,declTNode:t,data:Me.slice().fill(null,te),bindingStartIndex:te,expandoStartIndex:De,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 a?a():a,pipeRegistry:"function"==typeof c?c():c,firstChild:null,schemas:g,consts:nt,incompleteFirstPass:!1,ssrId:B}}function v(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=Zc(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function D(e,t,n,r,i,a,c,d,g,P,B){const te=t.blueprint.slice();return te[o.jgP]=i,te[o.Wg1]=1228|r,(null!==P||e&&2048&e[o.Wg1])&&(te[o.Wg1]|=2048),(0,o.HUe)(te),te[o.f7T]=te[o.X5O]=e,te[o.SKP]=n,te[o.M0L]=c||e&&e[o.M0L],te[o.GpT]=d||e&&e[o.GpT],te[o.YEL]=g||e&&e[o.YEL]||null,te[o.qlT]=a,te[o.ID]=function li(){return Pi++}(),te[o.tcA]=B,te[o.oMQ]=P,te[o.b5C]=2==t.type?e[o.b5C]:te,te}function C(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function G(e,t,n,r){if(0===n)return-1;const i=t.length;for(let a=0;a<n;a++)t.push(r),e.blueprint.push(r),e.data.push(null);return i}function Ne(e,t){return e[o.EJG]?e[o.Yrj][o.K29]=t:e[o.EJG]=t,e[o.Yrj]=t,t}function dt(e=1){Bt((0,o.klJ)(),(0,o.OAn)(),(0,o._px)()+e,!1)}function Bt(e,t,n,r){if(!r)if(3&~t[o.Wg1]){const a=e.preOrderHooks;null!==a&&Xn(t,a,0,n)}else{const a=e.preOrderCheckHooks;null!==a&&Xt(t,a,n)}(0,o.ypq)(n)}var zt=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(zt||{});function Pt(e,t,n,r){const i=(0,Xe.Ht)(null);try{const[a,c,d]=e.inputs[n];let g=null;0!==(c&zt.SignalBased)&&(g=t[a][Xe.bh]),null!==g&&void 0!==g.transformFn?r=g.transformFn(r):null!==d&&(r=d.call(t,r)),null!==e.setInput?e.setInput(t,g,r,n,a):vt(t,g,a,r)}finally{(0,Xe.Ht)(i)}}var Ut=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Ut||{});let On;function Mr(e,t){return On(e,t)}function Tn(e){if(!e)return 0;const t=e.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(e)*t}function Br(e,t){return e.getPropertyValue(t).split(",").map(r=>r.trim())}function $s(e,t){return void 0!==e&&e.duration>t.duration}function br(e){return(null!=e.animationName||null!=e.propertyName)&&e.duration>0}function Or(e,t,n){if(!n)return;const r=e.getAnimations();return 0===r.length?function vo(e,t){const n=getComputedStyle(e),r=function Uo(e){const t=Br(e,"animation-name"),n=Br(e,"animation-delay"),r=Br(e,"animation-duration"),i={animationName:"",propertyName:void 0,duration:0};for(let a=0;a<t.length;a++){const c=Tn(n[a])+Tn(r[a]);c>i.duration&&(i.animationName=t[a],i.duration=c)}return i}(n),i=function Io(e){const t=Br(e,"transition-property"),n=Br(e,"transition-duration"),r=Br(e,"transition-delay"),i={propertyName:"",duration:0,animationName:void 0};for(let a=0;a<t.length;a++){const c=Tn(r[a])+Tn(n[a]);c>i.duration&&(i.propertyName=t[a],i.duration=c)}return i}(n),a=r.duration>i.duration?r:i;$s(t.get(e),a)||br(a)&&t.set(e,a)}(e,t):function xs(e,t,n){let r={animationName:void 0,propertyName:void 0,duration:0};for(const i of n){const a=i.effect?.getTiming(),c="number"==typeof a?.duration?a.duration:0;let g,P,d=(a?.delay??0)+c;i.animationName?P=i.animationName:g=i.transitionProperty,d>=r.duration&&(r={animationName:P,propertyName:g,duration:d})}$s(t.get(e),r)||br(r)&&t.set(e,r)}(e,t,r)}const Vo=new Set;var Da=function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e}(Da||{});const Jc=new o.nKC(""),Up=new Set;function ii(e){Up.has(e)||(Up.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}const Vp=!1,Hs=class hE extends At.B{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,(0,o.M6u)()&&(this.destroyRef=(0,o.WQX)(o.abz,{optional:!0})??void 0,this.pendingTasks=(0,o.WQX)(o.rev,{optional:!0})??void 0)}emit(t){const n=(0,Xe.Ht)(null);try{super.next(t)}finally{(0,Xe.Ht)(n)}}subscribe(t,n,r){let i=t,a=n||(()=>null),c=r;if(t&&"object"==typeof t){const g=t;i=g.next?.bind(g),a=g.error?.bind(g),c=g.complete?.bind(g)}this.__isAsync&&(a=this.wrapInTimeout(a),i&&(i=this.wrapInTimeout(i)),c&&(c=this.wrapInTimeout(c)));const d=super.subscribe({next:i,error:a,complete:c});return t instanceof Gt.yU&&t.add(d),d}wrapInTimeout(t){return n=>{const r=this.pendingTasks?.add();setTimeout(()=>{try{t(n)}finally{void 0!==r&&this.pendingTasks?.remove(r)}})}}};function Wp(e){let t,n;function r(){e=o.lQ1;try{void 0!==n&&"function"==typeof cancelAnimationFrame&&cancelAnimationFrame(n),void 0!==t&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),r()}),"function"==typeof requestAnimationFrame&&(n=requestAnimationFrame(()=>{e(),r()})),()=>r()}function $p(e){return queueMicrotask(()=>e()),()=>{e=o.lQ1}}const Df="isAngularZone",Du=Df+"_ID";let pE=0;class jr{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new Hs(!1);onMicrotaskEmpty=new Hs(!1);onStable=new Hs(!1);
vendor: 9,177 bytes, line 1
1onError=new Hs(!1);constructor(t){const{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:i=!1,scheduleInRootZone:a=Vp}=t;if(typeof Zone>"u")throw new o.buA(908,!1);Zone.assertZonePatched();const c=this;c._nesting=0,c._outer=c._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(c._inner=c._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(c._inner=c._inner.fork(Zone.longStackTraceZoneSpec)),c.shouldCoalesceEventChangeDetection=!i&&r,c.shouldCoalesceRunChangeDetection=i,c.callbackScheduled=!1,c.scheduleInRootZone=a,function mE(e){const t=()=>{!function _E(e){function t(){Wp(()=>{e.callbackScheduled=!1,Mf(e),e.isCheckStableRunning=!0,Cf(e),e.isCheckStableRunning=!1})}e.isCheckStableRunning||e.callbackScheduled||(e.callbackScheduled=!0,e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),Mf(e))}(e)},n=pE++;e._inner=e._inner.fork({name:"angular",properties:{[Df]:!0,[Du]:n,[Du+n]:!0},onInvokeTask:(r,i,a,c,d,g)=>{if(function vE(e){return zp(e,"__ignore_ng_zone__")}(g))return r.invokeTask(a,c,d,g);try{return Hp(e),r.invokeTask(a,c,d,g)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===c.type||e.shouldCoalesceRunChangeDetection)&&t(),Kp(e)}},onInvoke:(r,i,a,c,d,g,P)=>{try{return Hp(e),r.invoke(a,c,d,g,P)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!function yE(e){return zp(e,"__scheduler_tick__")}(g)&&t(),Kp(e)}},onHasTask:(r,i,a,c)=>{r.hasTask(a,c),i===a&&("microTask"==c.change?(e._hasPendingMicrotasks=c.microTask,Mf(e),Cf(e)):"macroTask"==c.change&&(e.hasPendingMacrotasks=c.macroTask))},onHandleError:(r,i,a,c)=>(r.handleError(a,c),e.runOutsideAngular(()=>e.onError.emit(c)),!1)})}(c)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get(Df)}static assertInAngularZone(){if(!jr.isInAngularZone())throw new o.buA(909,!1)}static assertNotInAngularZone(){if(jr.isInAngularZone())throw new o.buA(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,i){const a=this._inner,c=a.scheduleEventTask("NgZoneEvent: "+i,t,gE,o.lQ1,o.lQ1);try{return a.runTask(c,n,r)}finally{a.cancelTask(c)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const gE={};function Cf(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 Mf(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&!0===e.callbackScheduled)}function Hp(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Kp(e){e._nesting--,Cf(e)}class bf{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new Hs;onMicrotaskEmpty=new Hs;onStable=new Hs;onError=new Hs;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,i){return t.apply(n,r)}}function zp(e,t){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0]?.data?.[t]}function EE(e="zone.js",t){return"noop"===e?new bf:"zone.js"===e?new jr(t):e}let If=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=(0,o.jDH)({token:e,providedIn:"root",factory:()=>new e})}return e})();const Gp=[0,1,2,3];let Xp=(()=>{class e{ngZone=(0,o.WQX)(jr);scheduler=(0,o.WQX)(o.hk6);errorHandler=(0,o.WQX)(o.zcH,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){(0,o.WQX)(Jc,{optional:!0})}execute(){const n=this.sequences.size>0;n&&Kt(16),this.executing=!0;for(const r of Gp)for(const i of this.sequences)if(!i.erroredOrDestroyed&&i.hooks[r])try{i.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>(0,i.hooks[r])(i.pipelinedValue),i.snapshot))}catch(a){i.erroredOrDestroyed=!0,this.errorHandler?.handleError(a)}this.executing=!1;for(const r of this.sequences)r.afterRun(),r.once&&(this.sequences.delete(r),r.destroy());for(const r of this.deferredRegistrations)this.sequences.add(r);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),n&&Kt(17)}register(n){const{view:r}=n;void 0!==r?((r[o.JEi]??=[]).push(n),(0,o.blu)(r),r[o.Wg1]|=8192):this.executing?this.deferredRegistrations.add(n):this.addSequence(n)}addSequence(n){this.sequences.add(n),this.scheduler.notify(7)}unregister(n){this.executing&&this.sequences.has(n)?(n.erroredOrDestroyed=!0,n.pipelinedValue=void 0,n.once=!0):(this.sequences.delete(n),this.deferredRegistrations.delete(n))}maybeTrace(n,r){return r?r.run(Da.AFTER_NEXT_RENDER,n):n()}static \u0275prov=(0,o.jDH)({token:e,providedIn:"root",factory:()=>new e})}return e})();class Qp{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(t,n,r,i,a,c=null){this.impl=t,this.hooks=n,this.view=r,this.once=i,this.snapshot=c,this.unregisterOnDestroy=a?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.();const t=this.view?.[o.JEi];t&&(this.view[o.JEi]=t.filter(n=>n!==this))}}function Of(e,t){const n=t?.injector??(0,o.WQX)(o.zZn);return ii("NgAfterNextRender"),Yp(e,n,t,!0)}function Yp(e,t,n,r){const i=t.get(If);i.impl??=t.get(Xp);const a=t.get(Jc,null,{optional:!0}),c=!0!==n?.manualCleanup?t.get(o.abz):null,d=t.get(o.r4V,null,{optional:!0}),g=new Qp(i.impl,function CE(e){return e instanceof Function?[void 0,void 0,e,void 0]:[e.earlyRead,e.write,e.mixedReadWrite,e.read]}(e),d?.view,r,c,a?.snapshot(null));return i.impl.register(g),g}const ME={destroy(){}},Cu=new o.nKC("",{providedIn:"root",factory:()=>({queue:new Set,isScheduled:!1,scheduler:null})});function Zp(e,t,n){const r=e.get(Cu);if(Array.isArray(t))for(const i of t)r.queue.add(i),n?.detachedLeaveAnimationFns?.push(i);else r.queue.add(t),n?.detachedLeaveAnimationFns?.push(t);r.scheduler&&r.scheduler(e)}function IE(e){const t=e.get(Cu);t.isScheduled||(Of(()=>{t.isScheduled=!1;for(let n of t.queue)n();t.queue.clear()},{injector:e}),t.isScheduled=!0)}function Mu(e){const t=e.get(Cu);t.scheduler=IE,t.scheduler(e)}function Tf(e,t){for(const[n,r]of t)Zp(e,r.animateFns)}function Jp(e,t,n,r){const i=e?.[o.Isx]?.enter;null!==t&&i&&i.has(n.index)&&Tf(r,i)}function nc(e,t,n,r,i,a,c,d){if(null!=i){let g,P=!1;(0,o.A0l)(i)?g=i:(0,o.q$2)(i)&&(P=!0,i=i[o.jgP]);const B=(0,o.IvY)(i);0===e&&null!==r?(Jp(d,r,a,n),null==c?ou(t,r,B):Rs(t,r,B,c||null,!0)):1===e&&null!==r?(Jp(d,r,a,n),Rs(t,r,B,c||null,!0)):2===e?tg(d,a,n,te=>{va(t,B,P,te)}):3===e&&tg(d,a,n,()=>{t.destroyNode(B)}),null!=g&&function RE(e,t,n,r,i,a,c){const d=r[o.s6P];d!==(0,o.IvY)(r)&&nc(t,e,n,a,d,i,c);for(let P=o.Y20;P<r.length;P++){const B=r[P];Iu(B[o.eDl],B,e,t,a,d)}}(t,e,n,g,a,r,c)}}function qp(e,t){eg(e,t),t[o.jgP]=null,t[o.qlT]=null}function eg(e,t){t[o.M0L].changeDetectionScheduler?.notify(9),Iu(e,t,t[o.GpT],2,null,null)}function Af(e,t){const n=e[o.nfM],r=n.indexOf(t);n.splice(r,1)}function qc(e,t){if((0,o.EPY)(t))return;const n=t[o.GpT];n.destroyNode&&Iu(e,t,n,3,null,null),function TE(e){let t=e[o.EJG];if(!t)return Pf(e[o.eDl],e);for(;t;){let n=null;if((0,o.q$2)(t))n=t[o.EJG];else{const r=t[o.Y20];r&&(n=r)}if(!n){for(;t&&!t[o.K29]&&t!==e;)(0,o.q$2)(t)&&Pf(t[o.eDl],t),t=t[o.f7T];null===t&&(t=e),(0,o.q$2)(t)&&Pf(t[o.eDl],t),n=t&&t[o.K29]}t=n}}(t)}function Pf(e,t){if((0,o.EPY)(t))return;const n=(0,Xe.Ht)(null);try{t[o.Wg1]&=-129,t[o.Wg1]|=256,t[o.Iaj]&&(0,Xe.XR)(t[o.Iaj]),function wE(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r<n.length;r+=2){const i=t[n[r]];if(!(i instanceof Ee)){const a=n[r+1];if(Array.isArray(a))for(let c=0;c<a.length;c+=2){const d=i[a[c]],g=a[c+1];Kt(4,d,g);try{g.call(d)}finally{Kt(5,d,g)}}else{Kt(4,i,a);try{a.call(i)}finally{Kt(5,i,a)}}}}}(e,t),function PE(e,t){const n=e.cleanup,r=t[o.VVG];if(null!==n)for(let c=0;c<n.length-1;c+=2)if("string"==typeof n[c]){const d=n[c+3];d>=0?r[d]():r[-d].unsubscribe(),c+=2}else n[c].call(r[n[c+1]]);null!==r&&(t[o.VVG]=null);const i=t[o.Czx];if(null!==i){t[o.Czx]=null;for(let c=0;c<i.length;c++)(0,i[c])()}const a=t[o.tQN];if(null!==a){t[o.tQN]=null;for(const c of a)c.destroy()}}(e,t),1===t[o.eDl].type&&t[o.GpT].destroy();const r=t[o.rQE];if(null!==r&&(0,o.A0l)(t[o.f7T])){r!==t[o.f7T]&&Af(r,t);const i=t[o.Ds7];null!==i&&i.detachView(e)}yi(t)}finally{(0,Xe.Ht)(n)}}function tg(e,t,n,r){const i=e?.[o.Isx];if(null==i||null==i.leave||!i.leave.has(t.index))return r(!1);e&&Vo.add(e),Zp(n,()=>{if(i.leave&&i.leave.has(t.index)){const c=i.leave.get(t.index),d=[];if(c){for(let g=0;g<c.animateFns.length;g++){const P=c.animateFns[g],{promise:B}=P();d.push(B)}i.detachedLeaveAnimationFns=void 0}i.running=Promise.allSettled(d),function AE(e,t){const n=e[o.Isx]?.running;n?n.then(()=>{e[o.Isx].running=void 0,Vo.delete(e),t(!0)}):t(!1)}(e,r)}else e&&Vo.delete(e),r(!1)},i)}function wf(e,t,n){return ng(e,t.parent,n)}function ng(e,t,n){let r=t;for(;null!==r&&168&r.type;)r=(t=r).parent;if(null===r)return n[o.jgP];if((0,o.Qs1)(r)){const{encapsulation:i}
vendor: 12,798 bytes, line 1
1=e.data[r.directiveStart+r.componentOffset];if(i===re.None||i===re.Emulated)return null}return(0,o.d31)(r,n)}function rg(e,t,n){return ig(e,t,n)}function og(e,t,n){return 40&e.type?(0,o.d31)(e,n):null}let Sf,ig=og;function sg(e,t){ig=e,Sf=t}function Rf(e,t,n,r){const i=wf(e,r,t),a=t[o.GpT],d=rg(r.parent||t[o.qlT],r,t);if(null!=i)if(Array.isArray(n))for(let g=0;g<n.length;g++)iu(a,i,n[g],d,!1);else iu(a,i,n,d,!1);void 0!==Sf&&Sf(a,r,t,n,i)}function Ca(e,t){if(null!==t){const n=t.type;if(3&n)return(0,o.d31)(t,e);if(4&n)return bu(-1,e[t.index]);if(8&n){const r=t.child;if(null!==r)return Ca(e,r);{const i=e[t.index];return(0,o.A0l)(i)?bu(-1,i):(0,o.IvY)(i)}}if(128&n)return Ca(e,t.next);if(32&n)return Mr(t,e)()||(0,o.IvY)(e[t.index]);{const r=ag(e,t);return null!==r?Array.isArray(r)?r[0]:Ca((0,o._0$)(e[o.b5C]),r):Ca(e,t.next)}}return null}function ag(e,t){return null!==t?e[o.b5C][o.qlT].projection[t.projection]:null}function bu(e,t){const n=o.Y20+e+1;if(n<t.length){const r=t[n],i=r[o.eDl].firstChild;if(null!==i)return Ca(r,i)}return t[o.s6P]}function xf(e,t,n,r,i,a,c){for(;null!=n;){const d=r[o.YEL];if(128===n.type){n=n.next;continue}const g=r[n.index],P=n.type;if(c&&0===t&&(g&&kr((0,o.IvY)(g),r),n.flags|=2),!Ps(n))if(8&P)xf(e,t,n.child,r,i,a,!1),nc(t,e,d,i,g,n,a,r);else if(32&P){const B=Mr(n,r);let te;for(;te=B();)nc(t,e,d,i,te,n,a,r);nc(t,e,d,i,g,n,a,r)}else 16&P?cg(e,t,r,n,i,a):nc(t,e,d,i,g,n,a,r);n=c?n.projectionNext:n.next}}function Iu(e,t,n,r,i,a){xf(n,r,e.firstChild,t,i,a,!1)}function cg(e,t,n,r,i,a){const c=n[o.b5C],g=c[o.qlT].projection[r.projection];if(Array.isArray(g))for(let P=0;P<g.length;P++)nc(t,e,n[o.YEL],i,g[P],r,a,n);else{let P=g;const B=c[o.f7T];Co(r)&&(P.flags|=128),xf(e,t,P,B,i,a,!0)}}function lg(e,t,n,r,i){const a=(0,o._px)(),c=2&r;try{(0,o.ypq)(-1),c&&t.length>o.Yw1&&Bt(e,t,o.Yw1,!1),Kt(c?2:0,i,n),n(r,i)}finally{(0,o.ypq)(a),Kt(c?3:1,i,n)}}function Ou(e,t,n){(function BE(e,t,n){const r=n.directiveStart,i=n.directiveEnd;(0,o.Qs1)(n)&&function h(e,t,n){const r=(0,o.d31)(t,e),i=v(n),a=e[o.M0L].rendererFactory,c=Ne(e,D(e,i,null,C(n),r,t,null,a.createRenderer(r,n),null,null,null));e[t.index]=c}(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||er(n,t);const a=n.initialInputs;for(let c=r;c<i;c++){const d=e.data[c],g=R(t,e,c,n);kr(g,t),null!==a&&WE(0,c-r,g,d,0,a),(0,o.JlV)(d)&&((0,o.KdJ)(n.index,t)[o.SKP]=R(t,e,c,n))}})(e,t,n),!(64&~n.flags)&&function jE(e,t,n){const r=n.directiveStart,i=n.directiveEnd,a=n.index,c=(0,o.Z9v)();try{(0,o.ypq)(a);for(let d=r;d<i;d++){const g=e.data[d],P=t[d];(0,o.RZ9)(d),(null!==g.hostBindings||0!==g.hostVars||null!==g.hostAttrs)&&UE(g,P)}}finally{(0,o.ypq)(-1),(0,o.RZ9)(c)}}(e,t,n)}function rc(e,t,n=o.d31){const r=t.localNames;if(null!==r){let i=t.index+1;for(let a=0;a<r.length;a+=2){const c=r[a+1],d=-1===c?n(t,e):e[c];e[i++]=d}}}let ug=()=>null;function Nf(e,t,n,r,i,a){wu(e,t[o.eDl],t,n,r)?(0,o.Qs1)(e)&&dg(t,e.index):(3&e.type&&(n=function kE(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(n)),Lf(e,t,n,r,i,a))}function Lf(e,t,n,r,i,a){if(3&e.type){const c=(0,o.d31)(e,t);r=null!=a?a(r,e.value||"",n):r,i.setProperty(c,n,r)}}function dg(e,t){const n=(0,o.KdJ)(t,e);16&n[o.Wg1]||(n[o.Wg1]|=64)}function UE(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Ff(e,t){const n=e.directiveRegistry;let r=null;if(n)for(let i=0;i<n.length;i++){const a=n[i];yu(t,a.selectors,!1)&&(r??=[],(0,o.JlV)(a)?r.unshift(a):r.push(a))}return r}function Tu(e,t,n,r,i,a,c){if(null==a)e.removeAttribute(t,i,n);else{const d=null==c?(0,o.eFE)(a):c(a,r||"",i);e.setAttribute(t,i,d,n)}}function WE(e,t,n,r,i,a){const c=a[t];if(null!==c)for(let d=0;d<c.length;d+=2)Pt(r,n,c[d],c[d+1])}function Au(e,t,n,r,i){const a=o.Yw1+n,c=t[o.eDl],d=i(c,t,e,r,n);t[a]=d,(0,o.iMd)(e,!0);const g=2===e.type;return g?(ea(t[o.GpT],d,e),(0===(0,o.znI)()||(0,o.yoD)(e))&&kr(d,t),(0,o.Fje)()):kr(d,t),(0,o.SX7)()&&(!g||!Ps(e))&&Rf(c,t,d,e),e}function Pu(e){let t=e;return(0,o.YWB)()?(0,o.Pfq)():(t=t.parent,(0,o.iMd)(t,!1)),t}function hg(e,t,n){return(null===e||(0,o.JlV)(e))&&(n=(0,o.zAe)(n[t.index])),n[o.GpT]}function kf(e,t){const n=e[o.YEL];if(!n)return;let r;try{r=n.get(o.ZTf,null)}catch{r=null}r?.(t)}function wu(e,t,n,r,i){const a=e.inputs?.[r],c=e.hostDirectiveInputs?.[r];let d=!1;if(c)for(let g=0;g<c.length;g+=2){const P=c[g];Pt(t.data[P],n[P],c[g+1],i),d=!0}if(a)for(const g of a)Pt(t.data[g],n[g],r,i),d=!0;return d}function HE(e,t){const n=(0,o.KdJ)(t,e),r=n[o.eDl];!function KE(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}(r,n);const i=n[o.jgP];null!==i&&null===n[o.tcA]&&(n[o.tcA]=null),Kt(18),Su(r,n,n[o.SKP]),Kt(19,n[o.SKP])}function Su(e,t,n){(0,o.ID8)(t);try{const r=e.viewQuery;null!==r&&_(1,r,n);const i=e.template;null!==i&&lg(e,t,i,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[o.Ds7]?.finishViewCreation(e),e.staticContentQueries&&Qa(e,t),e.staticViewQueries&&_(2,e.viewQuery,n);const a=e.components;null!==a&&function zE(e,t){for(let n=0;n<t.length;n++)HE(e,t[n])}(t,a)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[o.Wg1]&=-5,(0,o.bll)()}}function oc(e,t,n,r){const i=(0,Xe.Ht)(null);try{const a=t.tView,g=D(e,a,n,4096&e[o.Wg1]?4096:16,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null);g[o.rQE]=e[t.index];const B=e[o.Ds7];return null!==B&&(g[o.Ds7]=B.createEmbeddedView(a)),Su(a,g,n),g}finally{(0,Xe.Ht)(i)}}function Ma(e,t){return!t||null===t.firstChild||Co(e)}function el(e,t,n,r,i=!1){for(;null!==n;){if(128===n.type){n=i?n.projectionNext:n.next;continue}const a=t[n.index];null!==a&&r.push((0,o.IvY)(a)),(0,o.A0l)(a)&&GE(a,r);const c=n.type;if(8&c)el(e,t,n.child,r);else if(32&c){const d=Mr(n,t);let g;for(;g=d();)r.push(g)}else if(16&c){const d=ag(t,n);if(Array.isArray(d))r.push(...d);else{const g=(0,o._0$)(t[o.b5C]);el(g[o.eDl],g,d,r,!0)}}n=i?n.projectionNext:n.next}return r}function GE(e,t){for(let n=o.Y20;n<e.length;n++){const r=e[n],i=r[o.eDl].firstChild;null!==i&&el(r[o.eDl],r,i,t)}e[o.s6P]!==e[o.jgP]&&t.push(e[o.s6P])}function pg(e){if(null!==e[o.JEi]){for(const t of e[o.JEi])t.impl.addSequence(t);e[o.JEi].length=0}}let gg=[];const ZE={...Xe.pL,consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{(0,o.blu)(e.lView)},consumerOnSignalRead(){this.lView[o.Iaj]=this}},qE={...Xe.pL,consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=(0,o._0$)(e.lView);for(;t&&!_g(t[o.eDl]);)t=(0,o._0$)(t);t&&(0,o.HAh)(t)},consumerOnSignalRead(){this.lView[o.Iaj]=this}};function _g(e){return 2!==e.type}function mg(e){if(null===e[o.tQN])return;let t=!0;for(;t;){let n=!1;for(const r of e[o.tQN])r.dirty&&(n=!0,null===r.zone||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(8192&e[o.Wg1])}}function Ru(e,t=0){const r=e[o.M0L].rendererFactory;r.begin?.();try{!function t0(e,t){const n=(0,o.yP_)();try{(0,o.cBl)(!0),Bf(e,t);let r=0;for(;(0,o.dMS)(e);){if(100===r)throw new o.buA(103,!1);r++,Bf(e,1)}}finally{(0,o.cBl)(n)}}(e,t)}finally{r.end?.()}}function vg(e,t,n,r){if((0,o.EPY)(t))return;const i=t[o.Wg1];(0,o.ID8)(t);let d=!0,g=null,P=null;_g(e)?(P=function XE(e){return e[o.Iaj]??function QE(e){const t=gg.pop()??Object.create(ZE);return t.lView=e,t}(e)}(t),g=(0,Xe.Bg)(P)):null===(0,Xe.nR)()?(d=!1,P=function JE(e){const t=e[o.Iaj]??Object.create(qE);return t.lView=e,t}(t),g=(0,Xe.Bg)(P)):t[o.Iaj]&&((0,Xe.XR)(t[o.Iaj]),t[o.Iaj]=null);try{(0,o.HUe)(t),(0,o.Kw3)(e.bindingStartIndex),null!==n&&lg(e,t,n,2,r);const B=!(3&~i);if(B){const Me=e.preOrderCheckHooks;null!==Me&&Xt(t,Me,null)}else{const Me=e.preOrderHooks;null!==Me&&Xn(t,Me,0,null),Ar(t,0)}if(function n0(e){for(let t=Yt(e);null!==t;t=In(t)){if(!(2&t[o.Wg1]))continue;const n=t[o.nfM];for(let r=0;r<n.length;r++)(0,o.HAh)(n[r])}}(t),mg(t),yg(t,0),null!==e.contentQueries&&Qa(e,t),B){const Me=e.contentCheckHooks;null!==Me&&Xt(t,Me)}else{const Me=e.contentHooks;null!==Me&&Xn(t,Me,1),Ar(t,1)}!function o0(e,t){const n=e.hostBindingOpCodes;if(null!==n)try{for(let r=0;r<n.length;r++){const i=n[r];if(i<0)(0,o.ypq)(~i);else{const a=i,c=n[++r],d=n[++r];(0,o.vQI)(c,a);const g=t[a];Kt(24,g),d(2,g),Kt(25,g)}}}finally{(0,o.ypq)(-1)}}(e,t);const te=e.components;null!==te&&Dg(t,te,0);const De=e.viewQuery;if(null!==De&&_(2,De,r),B){const Me=e.viewCheckHooks;null!==Me&&Xt(t,Me)}else{const Me=e.viewHooks;null!==Me&&Xn(t,Me,2),Ar(t,2)}if(!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[o.pcR]){for(const Me of t[o.pcR])Me();t[o.pcR]=null}pg(t),t[o.Wg1]&=-73}catch(B){throw(0,o.blu)(t),B}finally{null!==P&&((0,Xe.Wu)(P,g),d&&function YE(e){e.lView[o.Iaj]!==e&&(e.lView=null,gg.push(e))}(P)),(0,o.bll)()}}function yg(e,t){for(let n=Yt(e);null!==n;n=In(n))for(let r=o.Y20;r<n.length;r++)Eg(n[r],t)}function r0(e,t,n){Kt(18);const r=(0,o.KdJ)(t,e);Eg(r,n),Kt(19,r[o.SKP])}function Eg(e,t){(0,o.F1c)(e)&&Bf(e,t)}function Bf(e,t){const r=e[o.eDl],i=e[o.Wg1],a=e[o.Iaj];let c=!!(0===t&&16&i);if(c||=!!(64&i&&0===t),c||=!!(1024&i),c||=!(!a?.dirty||!(0,Xe.si)(a)),c||=!1,a&&(a.dirty=!1),e[o.Wg1]&=-9217,c)vg(r,e,r.template,e[o.SKP]);else if(8192&i){const d=(0,Xe.Ht)(null);try{mg(e),yg(e,1);const g=r.components;null!==g&&Dg(e,g,1),pg(e)}finally{(0,Xe.Ht)(d)}}}function Dg(e,t,n){for(let r=0;r<t.length;r++)r0(e,t[r],n)}function ic(e,t){const n=(0,o.yP_)()?64:1088;for(e[o.M0L].changeDetectionScheduler?.notify(t);e;){e[o.Wg1]|=n;const r=(0,o._0$)(e);if((0,o.EFk)(e)&&!r)return e;e=r}return null}function Cg(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function Mg(e,t){const n=o.Y20+t;if(n<e.length)return e[n]}function sc(e,t,n,r=!0){const i=t[o.eDl];if(function i0(e,t,n,r){const i=o.Y20+r,a=n.length;r>0&&(n[i-1][o.K29]=t),r<a-o.Y20?(t[o.K29]=n[i],(0,o.EYC)(n,o.Y20+r,t)):(n.push(t),t[o.K29]=null),t[o.f7T]=n;const c=t[o.rQE];null!==c&&n!==c&&bg(c,t);const d=t[o.Ds7];null!==d&&d.insertView(e),(0,o._gW)(t),t[o.Wg1]|=128}(i,t,e,n),r){const c=bu(n,e),d=t[o.GpT],g=d.parentNode(e[o.s6P]);null!==g&&function OE(e,t,n,r,i,a){r[o.jgP]=i,r[o.qlT]=t,Iu(e,r,n,1,i,a)}(i,e[o.qlT],d,t,g,c)}const a=t[o.tcA];null!==a&&null!==a.firstChild&&(a.firstChild=null)}function jf(e,t){const n=tl(e,t);return void 0!==n&&qc(n[o.eDl],n),n}function tl(e,t){if(e.length<=o.Y20)return;const n=o.Y20+t,r=e[n];if(r){const i=r[o.rQE];null!==i&&i!==e&&Af(i,r),t>0&&(e[n-1][o.K29]=r[o.K29]);const a=(0,o.E6O)(e,o.Y20+t);qp(r[o.eDl],r);const c=a[o.Ds7];null!==c&&c.detachView(a[o.eDl]),r[o.f7T]=null,r[o.K29]=null,r[o.Wg1]&=-129}return r}function bg(e,t){const n=e[o.nfM],r=t[o.f7T];((0,o.q$2)(r)||t[o.b5C]!==r[o.f7T][o.b5C])&&(e[o.Wg1]|=2),null===n?e[o.nfM]=[t]:n.push(t)}class xu{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){const t=this._lView,n=t[o.eDl];return el(n,t,n.firstChild,[])}constructor(t,n){this._lView=t,this._cdRefInjectingView=n}get context(){return this._lView[o.SKP]}set context(t){this._lView[o.SKP]=t}get destroyed(){return(0,o.EPY)(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[o.f7T];if((0,o.A0l)(t)){const n=t[o.bm_],r=n?n.indexOf(this):-1;r>-1&&(tl(t,r),(0,o.E6O)(n,r))}this._attachedToViewContainer=!1}qc(this._lView[o.eDl],this._lView)}onDestroy(t){(0,o.ik5)(this._lView,t)}markForCheck(){ic(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[o.Wg1]&=-129}reattach(){(0,o._gW)(this._lView),this._lView[o.Wg1]|=128}detectChanges(){this._lView[o.Wg1]|=1024,Ru(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new o.buA(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;const t=(0,o.EFk)(this._lView),n=this._lView[o.rQE];null!==n&&!t&&Af(n,this._lView),eg(this._lView[o.eDl],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new o.buA(902,!1);this._appRef=t;const n=(0,o.EFk)(this._lView),r=this._lView[o.rQE];null!==r&&!n&&bg(r,this._lView),(0,o._gW)(this._lView)}}let nl=(()=>class e{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=s0;constructor(n,r,i){this._declarationLView=n,this._declarationTContainer=r,this.elementRef=i}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,r){return this.createEmbeddedViewImpl(n,r)}createEmbeddedViewImpl(n,r,i){const a=oc(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:r,dehydratedView:i});return new xu(a)}})();function s0(){return Nu((0,o.Mx4)(),(0,o.OAn)())}function Nu(e,t){return 4&e.type?new nl(t,e,yr(e,t)):null}function Tg(e,t,n){const r=t.insertBeforeIndex,i=Array.isArray(r)?r[0]:r;return null===i?og(e,0,n):(0,o.IvY)(n[i])}function Ag(e,t,n,r,i){const a=t.insertBeforeIndex;if(Array.isArray(a)){let c=r,d=null;
vendor: 5,668 bytes, line 1
1if(3&t.type||(d=c,c=i),null!==c&&-1===t.componentOffset)for(let g=1;g<a.length;g++)Rs(e,c,n[a[g]],d,!1)}}function ba(e,t,n,r,i){let a=e.data[t];if(null===a)a=$f(e,t,n,r,i),(0,o.JjR)()&&(a.flags|=32);else if(64&a.type){a.type=n,a.value=r,a.attrs=i;const c=(0,o.Ab)();a.injectorIndex=null===c?-1:c.injectorIndex}return(0,o.iMd)(a,!0),a}function $f(e,t,n,r,i){const a=(0,o.veI)(),c=(0,o.YWB)(),g=e.data[t]=function g0(e,t,n,r,i,a){let c=t?t.injectorIndex:-1,d=0;return(0,o.KtD)()&&(d|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:c,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:d,providerIndexes:0,value:i,namespace:(0,o.UaU)(),attrs:a,mergedAttrs:null,localNames:null,initialInputs:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex:null,tView:null,next:null,prev: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,c?a:a&&a.parent,n,t,r,i);return function p0(e,t,n,r){null===e.firstChild&&(e.firstChild=t),null!==n&&(r?null==n.child&&null!==t.parent&&(n.child=t):null===n.next&&(n.next=t,t.prev=n))}(e,g,a,c),g}function Pg(e,t){if(e.push(t),e.length>1)for(let n=e.length-2;n>=0;n--){const r=e[n];wg(r)||_0(r,t)&&null===m0(r)&&v0(r,t.index)}}function wg(e){return!(64&e.type)}function _0(e,t){return wg(t)||e.index>t.index}function m0(e){const t=e.insertBeforeIndex;return Array.isArray(t)?t[0]:t}function v0(e,t){const n=e.insertBeforeIndex;Array.isArray(n)?n[0]=t:(sg(Tg,Ag),e.insertBeforeIndex=t)}function sl(e,t){const n=e.data[t];return null===n||"string"==typeof n?null:n.hasOwnProperty("currentCaseLViewIndex")?n:n.value}function D0(e,t,n){const r=$f(e,n,64,null,null);return Pg(t,r),r}function Fu(e,t){const n=t[e.currentCaseLViewIndex];return null===n?n:n<0?~n:n}function Sg(e){return e>>>17}function Rg(e){return(131070&e)>>>1}function Hf(e,t,n){e.index=0;const r=Fu(t,n);e.removes=null!==r?t.remove[r]:o.Mlv}function ku(e){if(e.index<e.removes.length){const t=e.removes[e.index++];return t>0?e.lView[t]:(e.stack.push(e.index,e.removes),Hf(e,e.lView[o.eDl].data[~t],e.lView),ku(e))}return 0===e.stack.length?(e.lView=void 0,null):(e.removes=e.stack.pop(),e.index=e.stack.pop(),ku(e))}function M0(){const e={stack:[],index:-1};return function t(n,r){for(e.lView=r;e.stack.length;)e.stack.pop();return Hf(e,n.value,r),ku.bind(null,e)}}function $0(e,t,n){for(const r of n.node.cases[n.case]){const i=t.get(r.index-o.Yw1);i&&va(e,i,!1)}}function ju(e){const t=e[o.qFA]??[],r=e[o.f7T][o.GpT],i=[];for(const a of t)void 0!==a.data.di?i.push(a):$g(a,r);e[o.qFA]=i}function H0(e){const{lContainer:t}=e,n=t[o.qFA];if(null===n)return;const i=t[o.f7T][o.GpT];for(const a of n)$g(a,i)}function $g(e,t){let n=0,r=e.firstChild;if(r){const i=e.data.r;for(;n<i;){const a=r.nextSibling;va(t,r,!1),r=a,n++}}}function Uu(e){ju(e);const t=e[o.jgP];(0,o.q$2)(t)&&Vu(t);for(let n=o.Y20;n<e.length;n++)Vu(e[n])}function Vu(e){!function W0(e){const t=e[o.tcA];if(t){const{i18nNodes:n,dehydratedIcuData:r}=t;if(n&&r){const i=e[o.GpT];for(const a of r.values())$0(i,n,a)}t.i18nNodes=void 0,t.dehydratedIcuData=void 0}}(e);const t=e[o.eDl];for(let n=o.Yw1;n<t.bindingStartIndex;n++)(0,o.A0l)(e[n])?Uu(e[n]):(0,o.q$2)(e[n])&&Vu(e[n])}let Z0=class{},Qg=class{};class J0{resolveComponentFactory(t){throw new o.buA(917,!1)}}let ul=class{static NULL=new J0};class Yf{}let q0=(()=>class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>function eD(){const e=(0,o.OAn)(),t=(0,o.Mx4)(),n=(0,o.KdJ)(t.index,e);return((0,o.q$2)(n)?n:e)[o.GpT]}()})(),tD=(()=>{class e{static \u0275prov=(0,o.jDH)({token:e,providedIn:"root",factory:()=>null})}return e})();function Zf(e){return void 0!==e.ngModule}function Oa(e){return!!(0,o.phH)(e)}function Wu(e){return!!(0,o.oyA)(e)}function Yg(e){return!!(0,o.HaV)(e)}function dl(e){return!!(0,o.xUg)(e)}function rD(e,t){if((0,o.Jzi)(e)&&!(e=(0,o.nl4)(e)))throw new Error(`Expected forwardRef function, imported from "${(0,o.PP7)(t)}", to return a standalone entity or NgModule but got "${(0,o.PP7)(e)||e}".`);if(null==(0,o.phH)(e)){const n=(0,o.xUg)(e)||(0,o.HaV)(e)||(0,o.oyA)(e);if(null==n)throw Zf(e)?new Error(`A module with providers was imported from "${(0,o.PP7)(t)}". Modules with providers are not supported in standalone components imports.`):new Error(`The "${(0,o.PP7)(e)}" type, imported from "${(0,o.PP7)(t)}", must be a standalone component / directive / pipe or an NgModule. Did you forget to add the required @Component / @Directive / @Pipe or @NgModule annotation?`);if(!n.standalone)throw new Error(`The "${(0,o.PP7)(e)}" ${function nD(e){return(0,o.xUg)(e)?"component":(0,o.HaV)(e)?"directive":(0,o.oyA)(e)?"pipe":"type"}(e)}, imported from "${(0,o.PP7)(t)}", is not standalone. Did you forget to add the standalone: true flag?`)}}class oD{ownerNgModule=new Map;ngModulesWithSomeUnresolvedDecls=new Set;ngModulesScopeCache=new Map;standaloneComponentsScopeCache=new Map;resolveNgModulesDecls(){if(0!==this.ngModulesWithSomeUnresolvedDecls.size){for(const t of this.ngModulesWithSomeUnresolvedDecls){const n=(0,o.phH)(t);if(n?.declarations)for(const r of ps(n.declarations))dl(r)&&this.ownerNgModule.set(r,t)}this.ngModulesWithSomeUnresolvedDecls.clear()}}getComponentDependencies(t,n){this.resolveNgModulesDecls();const r=(0,o.xUg)(t);if(null===r)throw new Error(`Attempting to get component dependencies for a type that is not a component: ${t}`);if(r.standalone){const i=this.getStandaloneComponentScope(t,n);return i.compilation.isPoisoned?{dependencies:[]}
vendor: 18,420 bytes, line 1
1:{dependencies:[...i.compilation.directives,...i.compilation.pipes,...i.compilation.ngModules]}}{if(!this.ownerNgModule.has(t))return{dependencies:[]};const i=this.getNgModuleScope(this.ownerNgModule.get(t));return i.compilation.isPoisoned?{dependencies:[]}:{dependencies:[...i.compilation.directives,...i.compilation.pipes]}}}registerNgModule(t,n){if(!Oa(t))throw new Error(`Attempting to register a Type which is not NgModule as NgModule: ${t}`);this.ngModulesWithSomeUnresolvedDecls.add(t)}clearScopeCacheFor(t){this.ngModulesScopeCache.delete(t),this.standaloneComponentsScopeCache.delete(t)}getNgModuleScope(t){if(this.ngModulesScopeCache.has(t))return this.ngModulesScopeCache.get(t);const n=this.computeNgModuleScope(t);return this.ngModulesScopeCache.set(t,n),n}computeNgModuleScope(t){const n=(0,o.WbQ)(t),r={exported:{directives:new Set,pipes:new Set},compilation:{directives:new Set,pipes:new Set}};for(const i of ps(n.imports))if(Oa(i)){const a=this.getNgModuleScope(i);na(a.exported.directives,r.compilation.directives),na(a.exported.pipes,r.compilation.pipes)}else{if(!(0,o.QuC)(i)){r.compilation.isPoisoned=!0;break}if(Yg(i)||dl(i))r.compilation.directives.add(i);else{if(!Wu(i))throw new o.buA(980,"The standalone imported type is neither a component nor a directive nor a pipe");r.compilation.pipes.add(i)}}if(!r.compilation.isPoisoned)for(const i of ps(n.declarations)){if(Oa(i)||(0,o.QuC)(i)){r.compilation.isPoisoned=!0;break}Wu(i)?r.compilation.pipes.add(i):r.compilation.directives.add(i)}for(const i of ps(n.exports))if(Oa(i)){const a=this.getNgModuleScope(i);na(a.exported.directives,r.exported.directives),na(a.exported.pipes,r.exported.pipes),na(a.exported.directives,r.compilation.directives),na(a.exported.pipes,r.compilation.pipes)}else Wu(i)?r.exported.pipes.add(i):r.exported.directives.add(i);return r}getStandaloneComponentScope(t,n){if(this.standaloneComponentsScopeCache.has(t))return this.standaloneComponentsScopeCache.get(t);const r=this.computeStandaloneComponentScope(t,n);return this.standaloneComponentsScopeCache.set(t,r),r}computeStandaloneComponentScope(t,n){const r={compilation:{directives:new Set([t]),pipes:new Set,ngModules:new Set}};for(const i of(0,o.Bqz)(n??[])){const a=(0,o.nl4)(i);try{rD(a,t)}catch{return r.compilation.isPoisoned=!0,r}if(Oa(a)){r.compilation.ngModules.add(a);const c=this.getNgModuleScope(a);if(c.exported.isPoisoned)return r.compilation.isPoisoned=!0,r;na(c.exported.directives,r.compilation.directives),na(c.exported.pipes,r.compilation.pipes)}else if(Wu(a))r.compilation.pipes.add(a);else{if(!Yg(a)&&!dl(a))return r.compilation.isPoisoned=!0,r;r.compilation.directives.add(a)}}return r}isOrphanComponent(t){const n=(0,o.xUg)(t);return!(!n||n.standalone||(this.resolveNgModulesDecls(),this.ownerNgModule.has(t)))}}function na(e,t){for(const n of e)t.add(n)}const fl=new oD,Jf={};class cc{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){const i=this.injector.get(t,Jf,r);return i!==Jf||n===Jf?i:this.parentInjector.get(t,n,r)}}function $u(e,t,n){let r=n?e.styles:null,i=n?e.classes:null,a=0;if(null!==t)for(let c=0;c<t.length;c++){const d=t[c];if("number"==typeof d)a=d;else if(1==a)i=(0,o.n$e)(i,d);else if(2==a){const P=t[++c];r=(0,o.n$e)(r,d+": "+P+";")}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=i:e.classesWithoutHost=i}function lc(e,t=0){const n=(0,o.OAn)();return null===n?(0,o.KVO)(e,t):Eo((0,o.Mx4)(),n,(0,o.nl4)(e),t)}function Zg(){throw new Error("invalid")}function Jg(e,t,n,r,i){const a=null===r?null:{"":-1},c=i(e,n);if(null!==c){let d=c,g=null,P=null;for(const B of c)if(null!==B.resolveHostDirectives){[d,g,P]=B.resolveHostDirectives(c);break}!function aD(e,t,n,r,i,a,c){const d=r.length;let g=!1;for(let De=0;De<d;De++){const Me=r[De];!g&&(0,o.JlV)(Me)&&(g=!0,sD(e,n,De)),Kr(er(n,t),e,Me.type)}!function hD(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}(n,e.data.length,d);for(let De=0;De<d;De++){const Me=r[De];Me.providersResolver&&Me.providersResolver(Me)}let P=!1,B=!1,te=G(e,t,d,null);d>0&&(n.directiveToIndex=new Map);for(let De=0;De<d;De++){const Me=r[De];if(n.mergedAttrs=Ft(n.mergedAttrs,Me.hostAttrs),lD(e,n,t,te,Me),fD(te,Me,i),null!==c&&c.has(Me)){const[Ot,qt]=c.get(Me);n.directiveToIndex.set(Me.type,[te,Ot+n.directiveStart,qt+n.directiveStart])}else(null===a||!a.has(Me))&&n.directiveToIndex.set(Me.type,te);null!==Me.contentQueries&&(n.flags|=4),(null!==Me.hostBindings||null!==Me.hostAttrs||0!==Me.hostVars)&&(n.flags|=64);const nt=Me.type.prototype;!P&&(nt.ngOnChanges||nt.ngOnInit||nt.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),P=!0),!B&&(nt.ngOnChanges||nt.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),B=!0),te++}!function cD(e,t,n){for(let r=t.directiveStart;r<t.directiveEnd;r++){const i=e.data[r];if(null!==n&&n.has(i)){const a=n.get(i);e_(0,t,a,r),e_(1,t,a,r),n_(t,r,!0)}else qg(0,t,i,r),qg(1,t,i,r),n_(t,r,!1)}}(e,n,a)}(e,t,n,d,a,g,P)}null!==a&&null!==r&&function iD(e,t,n){const r=e.localNames=[];for(let i=0;i<t.length;i+=2){const a=n[t[i+1]];if(null==a)throw new o.buA(-301,!1);r.push(t[i],a)}}(n,r,a)}function sD(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function qg(e,t,n,r){const i=0===e?n.inputs:n.outputs;for(const a in i)if(i.hasOwnProperty(a)){let c;c=0===e?t.inputs??={}:t.outputs??={},c[a]??=[],c[a].push(r),t_(t,a)}}function e_(e,t,n,r){const i=0===e?n.inputs:n.outputs;for(const a in i)if(i.hasOwnProperty(a)){const c=i[a];let d;d=0===e?t.hostDirectiveInputs??={}:t.hostDirectiveOutputs??={},d[c]??=[],d[c].push(r,a),t_(t,c)}}function t_(e,t){"class"===t?e.flags|=8:"style"===t&&(e.flags|=16)}function n_(e,t,n){const{attrs:r,inputs:i,hostDirectiveInputs:a}=e;if(null===r||!n&&null===i||n&&null===a||Qc(e))return e.initialInputs??=[],void e.initialInputs.push(null);let c=null,d=0;for(;d<r.length;){const g=r[d];if(0!==g)if(5!==g){if("number"==typeof g)break;if(!n&&i.hasOwnProperty(g)){const P=i[g];for(const B of P)if(B===t){c??=[],c.push(g,r[d+1]);break}}else if(n&&a.hasOwnProperty(g)){const P=a[g];for(let B=0;B<P.length;B+=2)if(P[B]===t){c??=[],c.push(P[B+1],r[d+1]);break}}d+=2}else d+=2;else d+=4}e.initialInputs??=[],e.initialInputs.push(c)}function lD(e,t,n,r,i){e.data[r]=i;const a=i.factory||(i.factory=(0,o.wGu)(i.type,!0)),c=new Ee(a,(0,o.JlV)(i),lc,null);e.blueprint[r]=c,n[r]=c,function uD(e,t,n,r,i){const a=i.hostBindings;if(a){let c=e.hostBindingOpCodes;null===c&&(c=e.hostBindingOpCodes=[]);const d=~t.index;(function dD(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(c)!=d&&c.push(d),c.push(n,r,a)}}(e,t,r,G(e,n,i.hostVars,Cr),i)}function fD(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;(0,o.JlV)(t)&&(n[""]=e)}}function qf(e,t,n,r,i,a,c,d){const g=t[o.eDl],P=g.consts,te=ba(g,e,n,r,(0,o.db4)(P,c));return a&&Jg(g,t,te,(0,o.db4)(P,d),i),te.mergedAttrs=Ft(te.mergedAttrs,te.attrs),null!==te.attrs&&$u(te,te.attrs,!1),null!==te.mergedAttrs&&$u(te,te.mergedAttrs,!0),null!==g.queries&&g.queries.elementStart(g,te),te}function eh(e,t){un(e,t),(0,o.srX)(t)&&e.queries.elementEnd(t)}function r_(e,t,n,r,i,a){const c=t.consts,g=ba(t,e,n,r,(0,o.db4)(c,i));if(g.mergedAttrs=Ft(g.mergedAttrs,g.attrs),null!=a){const P=(0,o.db4)(c,a);g.localNames=[];for(let B=0;B<P.length;B+=2)g.localNames.push(P[B],-1)}return null!==g.attrs&&$u(g,g.attrs,!1),null!==g.mergedAttrs&&$u(g,g.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,g),g}function th(e){return!!o_(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function gD(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[Symbol.iterator]();let r;for(;!(r=n.next()).done;)t(r.value)}}function o_(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function Ns(e,t,n){return e[t]=n}function hl(e,t){return e[t]}function Qr(e,t,n){return n!==Cr&&(!Object.is(e[t],n)&&(e[t]=n,!0))}function Ta(e,t,n,r){const i=Qr(e,t,n);return Qr(e,t+1,r)||i}function Hu(e,t,n,r,i){const a=Ta(e,t,n,r);return Qr(e,t+2,i)||a}function gs(e,t,n,r,i,a){const c=Ta(e,t,n,r);return Ta(e,t+2,i,a)||c}function pl(e,t,n){return function r(i){ic((0,o.Qs1)(e)?(0,o.KdJ)(e.index,t):t,5);const c=t[o.SKP];let d=i_(t,c,n,i),g=r.__ngNextListenerFn__;for(;g;)d=i_(t,c,g,i)&&d,g=g.__ngNextListenerFn__;return d}}function i_(e,t,n,r){const i=(0,Xe.Ht)(null);try{return Kt(6,t,n),!1!==n(r)}catch(a){return kf(e,a),!1}finally{Kt(7,t,n),(0,Xe.Ht)(i)}}function s_(e,t,n,r,i,a,c,d){const g=(0,o.yoD)(e);let P=!1,B=null;if(!r&&g&&(B=function vD(e,t,n,r){const i=e.cleanup;if(null!=i)for(let a=0;a<i.length-1;a+=2){const c=i[a];if(c===n&&i[a+1]===r){const d=t[o.VVG],g=i[a+2];return d&&d.length>g?d[g]:null}"string"==typeof c&&(a+=2)}return null}(t,n,a,e.index)),null!==B)(B.__ngLastListenerFn__||B).__ngNextListenerFn__=c,B.__ngLastListenerFn__=c,P=!0;else{const te=(0,o.d31)(e,n),De=r?r(te):te,Me=i.listen(De,a,d);(function mD(e){return e.startsWith("animation")||e.startsWith("transition")})(a)||a_(r?Ot=>r((0,o.IvY)(Ot[e.index])):e.index,t,n,a,d,Me,!1)}return P}function a_(e,t,n,r,i,a,c){const d=t.firstCreatePass?(0,o.vNG)(t):null,g=(0,o.d_l)(n),P=g.length;g.push(i,a),d&&d.push(r,e,P,(P+1)*(c?-1:1))}function Ku(e,t,n,r,i,a){const d=t[o.eDl],te=t[n][d.data[n].outputs[r]].subscribe(a);a_(e.index,d,t,i,a,te,!0)}const ra=Symbol("BINDING");class c_ extends ul{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=(0,o.xUg)(t);return new zu(n,this.ngModule)}}class zu extends Qg{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=function OD(e){return Object.keys(e).map(t=>{const[n,r,i]=e[t],a={propName:n,templateName:t,isSignal:0!==(r&zt.SignalBased)};return i&&(a.transform=i),a})}(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=function TD(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}(this.componentDef.outputs),this.cachedOutputs}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function yf(e){return e.map(vf).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n}create(t,n,r,i,a,c){Kt(22);const d=(0,Xe.Ht)(null);try{const g=this.componentDef,P=function xD(e,t,n,r){const i=e?["ng-version","20.3.29"]:function Ef(e){const t=[],n=[];let r=1,i=2;for(;r<e.length;){let a=e[r];if("string"==typeof a)2===i?""!==a&&t.push(a,e[++r]):8===i&&n.push(a);else{if(!es(i))break;i=a}r++}return n.length&&t.push(1,...n),t}(t.selectors[0]);let a=null,c=null,d=0;if(n)for(const B of n)d+=B[ra].requiredVars,B.create&&(B.targetIdx=0,(a??=[]).push(B)),B.update&&(B.targetIdx=0,(c??=[]).push(B));if(r)for(let B=0;B<r.length;B++){const te=r[B];if("function"!=typeof te)for(const De of te.bindings){d+=De[ra].requiredVars;const Me=B+1;De.create&&(De.targetIdx=Me,(a??=[]).push(De)),De.update&&(De.targetIdx=Me,(c??=[]).push(De))}}const g=[t];if(r)for(const B of r){const De=(0,o.HaV)("function"==typeof B?B:B.type);g.push(De)}return Zc(0,null,function ND(e,t){return e||t?n=>{if(1&n&&e)for(const r of e)r.create();if(2&n&&t)for(const r of t)r.update()}:null}(a,c),1,d,g,null,null,null,[i],null)}(r,g,c,a),B=function AD(e,t,n){let r=t instanceof o.uvJ?t:t?.injector;return r&&null!==e.getStandaloneInjector&&(r=e.getStandaloneInjector(r)||r),r?new cc(n,r):n}(g,i||this.ngModule,t),te=function PD(e){const t=e.get(Yf,null);if(null===t)throw new o.buA(407,!1);return{rendererFactory:t,sanitizer:e.get(tD,null),changeDetectionScheduler:e.get(o.hk6,null),ngReflect:!1}}(B),De=te.rendererFactory.createRenderer(null,g),Me=r?function NE(e,t,n,r){const a=r.get(gi,!1)||n===re.ShadowDom,c=e.selectRootElement(t,a);return function LE(e){ug(e)}(c),c}(De,r,g.encapsulation,B):function wD(e,t){const n=function RD(e){return(e.selectors[0][0]||"div").toLowerCase()}(e);return qa(t,n,"svg"===n?o.jNX:"math"===n?o.rJ1:null)}(g,De);!function SD(e){if("script"===e?.toLowerCase())throw new o.buA(905,!1)}(Me?.tagName);const nt=c?.some(l_)||a?.some(cn=>"function"!=typeof cn&&cn.bindings.some(l_)),Ot=D(null,P,null,512|C(g),null,null,te,De,B,null,null);Ot[o.Yw1]=Me,(0,o.ID8)(Ot);let qt=null;try{const cn=qf(o.Yw1,Ot,2,"#host",()=>P.directiveRegistry,!0,0);ea(De,Me,cn),kr(Me,Ot),Ou(P,Ot,cn),F(P,cn,Ot),eh(P,cn),void 0!==n&&function FD(e,t,n){const r=e.projection=[];for(let i=0;i<t.length;i++){const a=n[i];r.push(null!=a&&a.length?Array.from(a):null)}}(cn,this.ngContentSelectors,n),qt=(0,o.KdJ)(cn.index,Ot),Ot[o.SKP]=qt[o.SKP],Su(P,Ot,null)}catch(cn){throw null!==qt&&yi(qt),yi(Ot),cn}finally{Kt(23),(0,o.bll)()}return new LD(this.componentType,Ot,!!nt)}finally{(0,Xe.Ht)(d)}}}function l_(e){const t=e[ra].kind;return"input"===t||"twoWay"===t}class LD extends Z0{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,n,r){super(),this._rootLView=n,this._hasInputBindings=r,this._tNode=(0,o.XRZ)(n[o.eDl],o.Yw1),this.location=yr(this._tNode,n),this.instance=(0,o.KdJ)(this._tNode.index,n)[o.SKP],this.hostView=this.changeDetectorRef=new xu(n,void 0),this.componentType=t}setInput(t,n){const r=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;const i=this._rootLView;wu(r,i[o.eDl],i,t,n),this.previousInputValues.set(t,n),ic((0,o.KdJ)(r.index,i),1)}get injector(){return new ht(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}let Gu=(()=>class e{static __NG_ELEMENT_ID__=kD})();function kD(){return f_((0,o.Mx4)(),(0,o.OAn)())}const BD=Gu,u_=class extends BD{_lContainer;_hostTNode;_hostLView;constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return yr(this._hostTNode,this._hostLView)}get injector(){return new ht(this._hostTNode,this._hostLView)}get parentInjector(){const t=io(this._hostTNode,this._hostLView);if(gn(t)){const n=yn(t,this._hostLView),r=Un(t);return new ht(n[o.eDl].data[r+8],n)}return new ht(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=d_(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-o.Y20}createEmbeddedView(t,n,r){let i,a;"number"==typeof r?i=r:null!=r&&(i=r.index,a=r.injector);const d=t.createEmbeddedViewImpl(n||{},a,null);return this.insertImpl(d,i,Ma(this._hostTNode,null)),d}createComponent(t,n,r,i,a,c,d){const g=t&&!Zn(t);let P;if(g)P=n;else{const qt=n||{};P=qt.index,r=qt.injector,i=qt.projectableNodes,a=qt.environmentInjector||qt.ngModuleRef,c=qt.directives,d=qt.bindings}const B=g?t:new zu((0,o.xUg)(t)),te=r||this.parentInjector;if(!a&&null==B.ngModule){const cn=(g?te:this.parentInjector).get(o.uvJ,null);cn&&(a=cn)}(0,o.xUg)(B.componentType??{});const Ot=B.create(te,i,null,a,c,d);return this.insertImpl(Ot.hostView,P,Ma(this._hostTNode,null)),Ot}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){const i=t._lView;if((0,o.ITl)(i)){const d=this.indexOf(t);if(-1!==d)this.detach(d);else{const g=i[o.f7T],P=new u_(g,g[o.qlT],g[o.f7T]);P.detach(P.indexOf(t))}}const a=this._adjustIndex(n),c=this._lContainer;return sc(c,i,a,r),t.attachToViewContainerRef(),(0,o.EYC)(nh(c),a,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=d_(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=tl(this._lContainer,n);r&&((0,o.E6O)(nh(this._lContainer),n),qc(r[o.eDl],r))}detach(t){const n=this._adjustIndex(t,-1),r=tl(this._lContainer,n);return r&&null!=(0,o.E6O)(nh(this._lContainer),n)?new xu(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function d_(e){return e[o.bm_]}function nh(e){return e[o.bm_]||(e[o.bm_]=[])}function f_(e,t){let n;const r=t[e.index];return(0,o.A0l)(r)?n=r:(n=Cg(r,t,null,e),t[e.index]=n,Ne(t,n)),h_(n,t,e,r),new u_(n,e,t)}let h_=function g_(e,t,n,r){if(e[o.s6P])return;let i;i=8&n.type?(0,o.IvY)(r):function jD(e,t){const n=e[o.GpT],r=n.createComment(""),i=(0,o.d31)(t,e),a=n.parentNode(i);return Rs(n,a,r,n.nextSibling(i),!1),r}(t,n),e[o.s6P]=i};class oh{queryList;matches=null;constructor(t){this.queryList=t}clone(){return new oh(this.queryList)}setDirty(){this.queryList.setDirty()}}class ih{queries;constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const r=null!==t.contentQueries?t.contentQueries[0]:n.length,i=[];for(let a=0;a<r;a++){const c=n.getByIndex(a);i.push(this.queries[c.indexInDeclarationView].clone())}return new ih(i)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}finishViewCreation(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)null!==uh(t,n).matches&&this.queries[n].setDirty()}}class __{flags;read;predicate;constructor(t,n,r=null){this.flags=n,this.read=r,this.predicate="string"==typeof t?function zD(e){return e.split(",").map(t=>t.trim())}(t):t}}class sh{queries;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 i=null!==n?n.length:0,a=this.getByIndex(r).embeddedTView(t,i);a&&(a.indexInDeclarationView=r,null!==n?n.push(a):n=[a])}return null!==n?new sh(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 ah{metadata;matches=null;indexInDeclarationView=-1;crossesNgTemplate=!1;_declarationNodeIndex;_appliesToNextNode=!0;constructor(t,n=-1){this.metadata=t,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 ah(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&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}
1matchTNode(t,n){const r=this.metadata.predicate;if(Array.isArray(r))for(let i=0;i<r.length;i++){const a=r[i];this.matchTNodeWithReadOption(t,n,WD(n,a)),this.matchTNodeWithReadOption(t,n,Jo(n,t,a,!1,!1))}else r===nl?4&n.type&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,Jo(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(null!==r){const i=this.metadata.read;if(null!==i)if(i===Dr||i===Gu||i===nl&&4&n.type)this.addMatch(n.index,-2);else{const a=Jo(n,t,i,!1,!1);null!==a&&this.addMatch(n.index,a)}else this.addMatch(n.index,r)}}addMatch(t,n){null===this.matches?this.matches=[t,n]:this.matches.push(t,n)}}function WD(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 HD(e,t,n,r){return-1===n?function $D(e,t){return 11&e.type?yr(e,t):4&e.type?Nu(e,t):null}(t,e):-2===n?function KD(e,t,n){return n===Dr?yr(t,e):n===nl?Nu(t,e):n===Gu?f_(t,e):void 0}(e,t,r):R(e,e[o.eDl],n,t)}function m_(e,t,n,r){const i=t[o.Ds7].queries[r];if(null===i.matches){const a=e.data,c=n.matches,d=[];for(let g=0;null!==c&&g<c.length;g+=2){const P=c[g];d.push(P<0?null:HD(t,a[P],c[g+1],n.metadata.read))}i.matches=d}return i.matches}function ch(e,t,n,r){const i=e.queries.getByIndex(n),a=i.matches;if(null!==a){const c=m_(e,t,i,n);for(let d=0;d<a.length;d+=2){const g=a[d];if(g>0)r.push(c[d/2]);else{const P=a[d+1],B=t[-g];for(let te=o.Y20;te<B.length;te++){const De=B[te];De[o.rQE]===De[o.f7T]&&ch(De[o.eDl],De,P,r)}if(null!==B[o.nfM]){const te=B[o.nfM];for(let De=0;De<te.length;De++){const Me=te[De];ch(Me[o.eDl],Me,P,r)}}}}}return r}function lh(e,t){return e[o.Ds7].queries[t].queryList}function v_(e,t,n){const r=new Ai(!(4&~n));return(0,o.B22)(e,t,r,r.destroy),(t[o.Ds7]??=new ih).queries.push(new oh(r))-1}function y_(e,t,n){const r=(0,o.klJ)();return r.firstCreatePass&&(D_(r,new __(e,t,n),-1),!(2&~t)&&(r.staticViewQueries=!0)),v_(r,(0,o.OAn)(),t)}function E_(e,t,n,r){const i=(0,o.klJ)();if(i.firstCreatePass){const a=(0,o.Mx4)();D_(i,new __(t,n,r),a.index),function GD(e,t){const n=e.contentQueries||(e.contentQueries=[]);t!==(n.length?n[n.length-1]:-1)&&n.push(e.queries.length-1,t)}(i,e),!(2&~n)&&(i.staticContentQueries=!0)}return v_(i,(0,o.OAn)(),n)}function D_(e,t,n){null===e.queries&&(e.queries=new sh),e.queries.track(new ah(t,n))}function uh(e,t){return e.queries.getByIndex(t)}function C_(e,t){const n=e[o.eDl],r=uh(n,t);return r.crossesNgTemplate?ch(n,e,t,[]):m_(n,e,r,t)}function dh(e,t,n){let r;const i=(0,Xe.KZ)(()=>{r._dirtyCounter();const a=function ZD(e,t){const n=e._lView,r=e._queryIndex;if(void 0===n||void 0===r||4&n[o.Wg1])return t?void 0:o.Mlv;const i=lh(n,r),a=C_(n,r);return i.reset(a,qo),t?i.first:i._changesDetected||void 0===e._flatValue?e._flatValue=i.toArray():e._flatValue}(r,e);if(t&&void 0===a)throw new o.buA(-951,!1);return a});return r=i[Xe.bh],r._dirtyCounter=(0,o.vPA)(0),r._flatValue=void 0,i}function XD(e){return dh(!0,!1)}function QD(e){return dh(!0,!0)}function YD(e){return dh(!1,!1)}function M_(e,t){const n=e[Xe.bh];n._lView=(0,o.OAn)(),n._queryIndex=t,n._queryList=lh(n._lView,t),n._queryList.onDirty(()=>n._dirtyCounter.update(r=>r+1))}function JD(e){const t=[],n=new Map;function r(i){let a=n.get(i);if(!a){const c=e(i);n.set(i,a=c.then(d=>function nC(e,t){return"string"==typeof t?t:void 0!==t.status&&200!==t.status?Promise.reject(new o.buA(918,!1)):t.text()}(0,d)))}return a}return uc.forEach((i,a)=>{const c=[];i.templateUrl&&c.push(r(i.templateUrl).then(P=>{i.template=P}));const d="string"==typeof i.styles?[i.styles]:i.styles||[];if(i.styles=d,i.styleUrl&&i.styleUrls?.length)throw new Error("@Component cannot define both `styleUrl` and `styleUrls`. Use `styleUrl` if the component has one stylesheet, or `styleUrls` if it has multiple");if(i.styleUrls?.length){const P=i.styles.length,B=i.styleUrls;i.styleUrls.forEach((te,De)=>{d.push(""),c.push(r(te).then(Me=>{d[P+De]=Me,B.splice(B.indexOf(te),1),0==B.length&&(i.styleUrls=void 0)}))})}else i.styleUrl&&c.push(r(i.styleUrl).then(P=>{d.push(P),i.styleUrl=void 0}));const g=Promise.all(c).then(()=>function rC(e){gl.delete(e)}(a));t.push(g)}),function eC(){const e=uc;uc=new Map}(),Promise.all(t).then(()=>{})}let uc=new Map;const gl=new Set;function tC(){return 0===uc.size}const fh=new Map;function O_(e,t){(function oC(e,t,n){if(t&&t!==n)throw new Error(`Duplicate module registered for ${e} - ${(0,o.AsM)(t)} vs ${(0,o.AsM)(t.name)}`)})(t,fh.get(t)||null,e),fh.set(t,e)}let Aa=class{},T_=class{};function iC(e,t){return new hh(e,t??null,[])}class hh extends Aa{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new c_(this);constructor(t,n,r,i=!0){super(),this.ngModuleType=t,this._parent=n;const a=(0,o.phH)(t);this._bootstrapComponents=ps(a.bootstrap),this._r3Injector=(0,o.Pz9)(t,n,[{provide:Aa,useValue:this},{provide:ul,useValue:this.componentFactoryResolver},...r],(0,o.AsM)(t),new Set(["environment"])),i&&this.resolveInjectorInitializer
vendor: 5,235 bytes, line 1
1s()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class A_ extends T_{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new hh(this.moduleType,t,[])}}function sC(e,t,n){return new hh(e,t,n,!1)}class P_ extends Aa{injector;componentFactoryResolver=new c_(this);instance=null;constructor(t){super();const n=new o.e5P([...t.providers,{provide:Aa,useValue:this},{provide:ul,useValue:this.componentFactoryResolver}],t.parent||(0,o.WB9)(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function ph(e,t,n=null){return new P_({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}let aC=(()=>{class e{_injector;cachedInjectors=new Map;constructor(n){this._injector=n}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){const r=(0,o.jXY)(!1,n.type),i=r.length>0?ph([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,i)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=(0,o.jDH)({token:e,providedIn:"environment",factory:()=>new e((0,o.KVO)(o.uvJ))})}return e})();function w_(e){return kn(()=>{const t=L_(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Mo.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?i=>i.get(aC).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||re.Emulated,styles:e.styles||o.Mlv,_:null,schemas:e.schemas||null,tView:null,id:""};t.standalone&&ii("NgStandalone"),F_(n);const r=e.dependencies;return n.directiveDefs=Xu(r,S_),n.pipeDefs=Xu(r,o.oyA),n.id=function dC(e){let t=0;const r=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,"function"==typeof e.consts?"":e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery];for(const a of r.join("|"))t=Math.imul(31,t)+a.charCodeAt(0)|0;return t+=2147483648,"c"+t}(n),n})}function S_(e){return(0,o.xUg)(e)||(0,o.HaV)(e)}function R_(e){return kn(()=>({type:e.type,bootstrap:e.bootstrap||o.Mlv,declarations:e.declarations||o.Mlv,imports:e.imports||o.Mlv,exports:e.exports||o.Mlv,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function cC(e,t){if(null==e)return o.MZA;const n={};for(const r in e)if(e.hasOwnProperty(r)){const i=e[r];let a,c,d,g;Array.isArray(i)?(d=i[0],a=i[1],c=i[2]??a,g=i[3]||null):(a=i,c=i,d=zt.None,g=null),n[a]=[r,d,g],t[a]=c}return n}function lC(e){if(null==e)return o.MZA;const t={};for(const n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function x_(e){return kn(()=>{const t=L_(e);return F_(t),t})}function N_(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:e.standalone??!0,onDestroy:e.type.prototype.ngOnDestroy||null}}function L_(e){const t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputConfig:e.inputs||o.MZA,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:!0===e.signals,selectors:e.selectors||o.Mlv,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,inputs:cC(e.inputs,t),outputs:lC(e.outputs),debugInfo:null}}function F_(e){e.features?.forEach(t=>t(e))}function Xu(e,t){return e?()=>{const n="function"==typeof e?e():e,r=[];for(const i of n){const a=t(i);null!==a&&r.push(a)}return r}:null}function k_(e){return Object.getPrototypeOf(e.prototype).constructor}function gh(e){let t=k_(e.type),n=!0;const r=[e];for(;t;){let i;if((0,o.JlV)(e))i=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new o.buA(903,!1);i=t.\u0275dir}if(i){if(n){r.push(i);const c=e;c.inputs=_h(e.inputs),c.declaredInputs=_h(e.declaredInputs),c.outputs=_h(e.outputs);const d=i.hostBindings;d&&_C(e,d);const g=i.viewQuery,P=i.contentQueries;if(g&&pC(e,g),P&&gC(e,P),fC(e,i),(0,o.dwj)(e.outputs,i.outputs),(0,o.JlV)(i)&&i.data.animation){const B=e.data;B.animation=(B.animation||[]).concat(i.data.animation)}}const a=i.features;if(a)for(let c=0;c<a.length;c++){const d=a[c];d&&d.ngInherit&&d(e),d===gh&&(n=!1)}}t=Object.getPrototypeOf(t)}!function hC(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){const i=e[r];i.hostVars=t+=i.hostVars,i.hostAttrs=Ft(i.hostAttrs,n=Ft(n,i.hostAttrs))}}(r)}function fC(e,t){for(const n in t.inputs){if(!t.inputs.hasOwnProperty(n)||e.inputs.hasOwnProperty(n))continue;const r=t.inputs[n];
vendor: 5,029 bytes, line 1
1void 0!==r&&(e.inputs[n]=r,e.declaredInputs[n]=t.declaredInputs[n])}}function _h(e){return e===o.MZA?{}:e===o.Mlv?[]:e}function pC(e,t){const n=e.viewQuery;e.viewQuery=n?(r,i)=>{t(r,i),n(r,i)}:t}function gC(e,t){const n=e.contentQueries;e.contentQueries=n?(r,i,a)=>{t(r,i,a),n(r,i,a)}:t}function _C(e,t){const n=e.hostBindings;e.hostBindings=n?(r,i)=>{t(r,i),n(r,i)}:t}const mC=["providersResolver"],vC=["template","decls","consts","vars","onPush","ngContentSelectors","styles","encapsulation","schemas"];function DC(e){const t=[];let n=!1,r=null,i=null;for(let a=0;a<e.length;a++){const c=e[a];if(null!==c.hostDirectives){const d=t.length;r??=new Map,i??=new Map,B_(c,t,r),i.set(c,[d,t.length-1])}0===a&&(0,o.JlV)(c)&&(n=!0,t.push(c))}for(let a=n?1:0;a<e.length;a++)t.push(e[a]);return[t,r,i]}function B_(e,t,n){if(null!==e.hostDirectives)for(const r of e.hostDirectives)if("function"==typeof r){const i=r();for(const a of i)j_(mh(a),t,n)}else j_(r,t,n)}function j_(e,t,n){const r=(0,o.HaV)(e.directive);(function CC(e,t){for(const n in t)t.hasOwnProperty(n)&&(e[t[n]]=e[n])})(r.declaredInputs,e.inputs),B_(r,t,n),n.set(r,e),t.push(r)}function mh(e){return"function"==typeof e?{directive:(0,o.nl4)(e),inputs:o.MZA,outputs:o.MZA}:{directive:(0,o.nl4)(e.directive),inputs:U_(e.inputs),outputs:U_(e.outputs)}}function U_(e){if(void 0===e||0===e.length)return o.MZA;const t={};for(let n=0;n<e.length;n+=2)t[e[n]]=e[n+1];return t}function W_(e,t,n,r,i,a,c,d){if(n.firstCreatePass){e.mergedAttrs=Ft(e.mergedAttrs,e.attrs);const B=e.tView=Zc(2,e,i,a,c,n.directiveRegistry,n.pipeRegistry,null,n.schemas,n.consts,null);null!==n.queries&&(n.queries.template(n,e),B.queries=n.queries.embeddedTView(e))}d&&(e.flags|=d),(0,o.iMd)(e,!1);const g=$_(n,t,e,r);(0,o.SX7)()&&Rf(n,t,g,e),kr(g,t);const P=Cg(g,t,g,e);t[r+o.Yw1]=P,Ne(t,P)}function Pa(e,t,n,r,i,a,c,d,g,P,B){const te=n+o.Yw1;let De;if(t.firstCreatePass){if(De=ba(t,te,4,c||null,d||null),null!=P){const Me=(0,o.db4)(t.consts,P);De.localNames=[];for(let nt=0;nt<Me.length;nt+=2)De.localNames.push(Me[nt],-1)}}else De=t.data[te];return W_(De,e,t,n,r,i,a,g),null!=P&&rc(e,De,B),De}function vh(e,t,n,r,i,a,c,d){const g=(0,o.OAn)(),P=(0,o.klJ)();return function MC(e,t,n,r,i,a,c,d,g,P,B){const te=n+o.Yw1;let De;t.firstCreatePass?(De=ba(t,te,4,c||null,d||null),(0,o.ckz)()&&Jg(t,e,De,(0,o.db4)(t.consts,P),Ff),un(t,De)):De=t.data[te],W_(De,e,t,n,r,i,a,g),(0,o.yoD)(De)&&Ou(t,e,De),null!=P&&rc(e,De,B)}(g,P,e,t,n,r,i,(0,o.db4)(P.consts,a),void 0,c,d),vh}function yh(e,t,n,r,i,a,c,d){const g=(0,o.OAn)(),P=(0,o.klJ)();return Pa(g,P,e,t,n,r,i,(0,o.db4)(P.consts,a),void 0,c,d),yh}let $_=function H_(e,t,n,r){return(0,o.m7n)(!0),t[o.GpT].createComment("")};var Oo=function(e){return e[e.NOT_STARTED=0]="NOT_STARTED",e[e.IN_PROGRESS=1]="IN_PROGRESS",e[e.COMPLETE=2]="COMPLETE",e[e.FAILED=3]="FAILED",e}(Oo||{}),Rr=function(e){return e[e.Placeholder=0]="Placeholder",e[e.Loading=1]="Loading",e[e.Complete=2]="Complete",e[e.Error=3]="Error",e}(Rr||{}),dc=function(e){return e[e.Initial=-1]="Initial",e}(dc||{}),z_=function(e){return e[e.Manual=0]="Manual",e[e.Playthrough=1]="Playthrough",e}(z_||{});function ml(e,t,n){const r=X_(e);null===t[r]&&(t[r]=[]),t[r].push(n)}function Zu(e,t){const n=X_(e),r=t[n];if(null!==r){for(const i of r)i();t[n]=null}}function G_(e){Zu(1,e),Zu(0,e),Zu(2,e)}function X_(e){let t=4;return 1===e?t=5:2===e&&(t=9),t}function vl(e){return e+1}function Bi(e,t){return e[vl(t.index)]}function si(e,t){const n=vl(t.index);return e.data[n]}function Eh(e,t){return t===Rr.Placeholder?e.placeholderBlockConfig?.[0]??null:t===Rr.Loading?e.loadingBlockConfig?.[0]??null:null}function Q_(e){return e.loadingBlockConfig?.[1]??null}function Y_(e,t){if(!e||0===e.length)return t;const n=new Set(e);for(const r of t)n.add(r);return e.length===n.size?e:Array.from(n)}function Dh(e,t,n){const r=n.get(jr);return function Q(e,t,n){let r=pt.get(e);return ln=ln||n(),r||(r=new y,ln.observe(e),pt.set(e,r),f++),r.callbacks.add(t),()=>{pt.has(e)&&(r.callbacks.delete(t),0===r.callbacks.size&&(ln?.unobserve(e),pt.delete(e),f--),0===f&&(ln?.disconnect(),ln=null))}}(e,()=>r.run(t),()=>r.runOutsideAngular(()=>function L(){return new IntersectionObserver(e=>{for(const t of e)t.isIntersecting&&pt.has(t.target)&&pt.get(t.target).listener()})}()))}function pc(e,t,n,r,i,a,c){const d=e[o.YEL],g=d.get(jr);let P;P=function DE(e,t){const n=t?.injector??(0,o.WQX)(o.zZn);return ii("NgAfterRender"),Yp(e,n,t,!1)}({read:function B(){if((0,o.EPY)(e))return void P.destroy();const te=Bi(e,t),De=te[1];if(De!==dc.Initial&&De!==Rr.Placeholder)return void P.destroy();const Me=function xC(e,t,n){return null==n?e:n>=0?(0,o.jRZ)(n,e):e[t.index][o.Y20]??null}(e,t,r);if(!Me||(P.destroy(),(0,o.EPY)(Me)))return;const nt=function NC(e,t){return(0,o.vaC)(o.Yw1+t,e)}(Me,n),Ot=i(nt,()=>{g.run(()=>{e!==Me&&(0,o.DyX)(Me,Ot),a()})},d);e!==Me&&(0,o.ik5)(Me,Ot),ml(c,te,Ot)}},{injector:d})}function Ju(e,t){const n=t.get(kC);return n.add(e),()=>n.remove(e)}let kC=(()=>{class e{executingCallbacks=!1;idleId=null;
vendor: 40,267 bytes, line 1
1current=new Set;deferred=new Set;ngZone=(0,o.WQX)(jr);requestIdleCallbackFn=(()=>typeof requestIdleCallback<"u"?requestIdleCallback:setTimeout)().bind(globalThis);cancelIdleCallbackFn=(()=>typeof requestIdleCallback<"u"?cancelIdleCallback:clearTimeout)().bind(globalThis);add(n){(this.executingCallbacks?this.deferred:this.current).add(n),null===this.idleId&&this.scheduleIdleCallback()}remove(n){const{current:r,deferred:i}=this;r.delete(n),i.delete(n),0===r.size&&0===i.size&&this.cancelIdleCallback()}scheduleIdleCallback(){const n=()=>{this.cancelIdleCallback(),this.executingCallbacks=!0;for(const r of this.current)r();if(this.current.clear(),this.executingCallbacks=!1,this.deferred.size>0){for(const r of this.deferred)this.current.add(r);this.deferred.clear(),this.scheduleIdleCallback()}};this.idleId=this.requestIdleCallbackFn(()=>this.ngZone.run(n))}cancelIdleCallback(){null!==this.idleId&&(this.cancelIdleCallbackFn(this.idleId),this.idleId=null)}ngOnDestroy(){this.cancelIdleCallback(),this.current.clear(),this.deferred.clear()}static \u0275prov=(0,o.jDH)({token:e,providedIn:"root",factory:()=>new e})}return e})();function qu(e){return(t,n)=>J_(e,t,n)}function J_(e,t,n){const r=n.get(BC),i=n.get(jr);return r.add(e,t,i),()=>r.remove(t)}let BC=(()=>{class e{executingCallbacks=!1;timeoutId=null;invokeTimerAt=null;current=[];deferred=[];add(n,r,i){this.addToQueue(this.executingCallbacks?this.deferred:this.current,Date.now()+n,r),this.scheduleTimer(i)}remove(n){const{current:r,deferred:i}=this;-1===this.removeFromQueue(r,n)&&this.removeFromQueue(i,n),0===r.length&&0===i.length&&this.clearTimeout()}addToQueue(n,r,i){let a=n.length;for(let c=0;c<n.length;c+=2)if(n[c]>r){a=c;break}(0,o.llW)(n,a,r,i)}removeFromQueue(n,r){let i=-1;for(let a=0;a<n.length;a+=2)if(n[a+1]===r){i=a;break}return i>-1&&(0,o.gsJ)(n,i,2),i}scheduleTimer(n){const r=()=>{this.clearTimeout(),this.executingCallbacks=!0;const a=[...this.current],c=Date.now();for(let g=0;g<a.length;g+=2){const B=a[g+1];if(!(a[g]<=c))break;B()}let d=-1;for(let g=0;g<this.current.length&&this.current[g]<=c;g+=2)d=g+1;if(d>=0&&(0,o.gsJ)(this.current,0,d+1),this.executingCallbacks=!1,this.deferred.length>0){for(let g=0;g<this.deferred.length;g+=2)this.addToQueue(this.current,this.deferred[g],this.deferred[g+1]);this.deferred.length=0}this.scheduleTimer(n)};if(this.current.length>0){const a=Date.now(),c=this.current[0];if(null===this.timeoutId||this.invokeTimerAt&&this.invokeTimerAt-c>16){this.clearTimeout();const d=Math.max(c-a,16);this.invokeTimerAt=c,this.timeoutId=n.runOutsideAngular(()=>setTimeout(()=>n.run(r),d))}}}clearTimeout(){null!==this.timeoutId&&(clearTimeout(this.timeoutId),this.timeoutId=null)}ngOnDestroy(){this.clearTimeout(),this.current.length=0,this.deferred.length=0}static \u0275prov=(0,o.jDH)({token:e,providedIn:"root",factory:()=>new e})}return e})(),jC=(()=>{class e{cachedInjectors=new Map;getOrCreateInjector(n,r,i,a){if(!this.cachedInjectors.has(n)){const c=i.length>0?ph(i,r,a):null;this.cachedInjectors.set(n,c)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=(0,o.jDH)({token:e,providedIn:"environment",factory:()=>new e})}return e})();const UC=new o.nKC("");function Ch(e,t,n){return e.get(jC).getOrCreateInjector(t,e,n,"")}function oa(e,t,n,r=!1){const i=n[o.f7T],a=i[o.eDl];if((0,o.EPY)(i))return;const c=Bi(i,t),g=c[7];if(!(null!==g&&e<g)&&tm(c[1],e)&&tm(c[0]??-1,e)){const P=si(a,t),te=r||null===Q_(P)&&null===Eh(P,Rr.Loading)&&!Eh(P,Rr.Placeholder)?q_:Mh;try{te(e,c,n,t,i)}catch(De){kf(i,De)}}}function q_(e,t,n,r,i){Kt(20);const a=function SC(e,t,n){const i=si(t[o.eDl],n);switch(e){case Rr.Complete:return i.primaryTmplIndex;case Rr.Loading:return i.loadingTmplIndex;case Rr.Error:return i.errorTmplIndex;case Rr.Placeholder:return i.placeholderTmplIndex;default:return null}}(e,i,r);if(null!==a){t[1]=e;const c=i[o.eDl],g=(0,o.XRZ)(c,a+o.Yw1),P=0;let B;if(jf(n,P),e===Rr.Complete){const nt=si(c,r),Ot=nt.providers;Ot&&Ot.length>0&&(B=function VC(e,t,n){if(e instanceof cc){const i=e.injector,c=Ch(e.parentInjector,t,n);return new cc(i,c)}const r=e.get(o.uvJ);if(r!==e){const i=Ch(r,t,n);return new cc(e,i)}return Ch(e,t,n)}(i[o.YEL],nt,Ot))}const{dehydratedView:te,dehydratedViewIx:De}=function WC(e,t){const n=e[o.qFA]?.findIndex(i=>i.data.s===t[1])??-1;return{dehydratedView:n>-1?e[o.qFA][n]:null,dehydratedViewIx:n}}(n,t),Me=oc(i,g,null,{injector:B,dehydratedView:te});if(sc(n,Me,P,Ma(g,te)),ic(Me,2),De>-1&&n[o.qFA]?.splice(De,1),(e===Rr.Complete||e===Rr.Error)&&Array.isArray(t[8])){for(const nt of t[8])nt();t[8]=null}}Kt(21)}function $C(e,t,n,r,i){const a=Date.now(),d=si(i[o.eDl],r);if(null===t[2]||t[2]<=a){t[2]=null;const g=Q_(d),P=null!==t[3];if(e!==Rr.Loading||null===g||P){e>Rr.Loading&&P&&(t[3](),t[3]=null,t[0]=null),q_(e,t,n,r,i);const B=Eh(d,e);null!==B&&(t[2]=a+B,em(B,t,r,n,i))}else{t[0]=e;const B=em(g,t,r,n,i);t[3]=B}}else t[0]=e}function em(e,t,n,r,i){return J_(e,()=>{const c=t[0];t[2]=null,t[0]=null,null!==c&&oa(c,n,r)},i[o.YEL])}function tm(e,t){return e<t}function gc(e,t){oa(Rr.Placeholder,t,e[t.index])}function nm(e,t,n){e.loadingPromise.then(()=>{e.loadingState===Oo.COMPLETE?oa(Rr.Complete,t,n):e.loadingState===Oo.FAILED&&oa(Rr.Error,t,n)})}let Mh=null;function KC(e,t,n,r){return kn(()=>{const i=e;null!==t&&(i.hasOwnProperty("decorators")&&void 0!==i.decorators?i.decorators.push(...t):i.decorators=t),null!==n&&(i.ctorParameters=n),null!==r&&(i.propDecorators=i.hasOwnProperty("propDecorators")&&void 0!==i.propDecorators?{...i.propDecorators,...r}:r)})}let rm=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=(0,o.jDH)({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function RM(e,t){!function mm(e,t){if(typeof COMPILED>"u"||!COMPILED){const n=o.laP;n.ng??={},n.ng[e]=t}}(e,t)}const vm=new o.nKC(""),ym=new o.nKC("");let Oh,xM=(()=>{class e{_ngZone;registry;_isZoneStable=!0;_callbacks=[];_taskTrackingZone=null;_destroyRef;constructor(n,r,i){this._ngZone=n,this.registry=r,(0,o.M6u)()&&(this._destroyRef=(0,o.WQX)(o.abz,{optional:!0})??void 0),Oh||(function NM(e){Oh=e}(i),i.addToWindow(r)),this._watchAngularEvents(),n.run(()=>{this._taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){const n=this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),r=this._ngZone.runOutsideAngular(()=>this._ngZone.onStable.subscribe({next:()=>{jr.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}}));this._destroyRef?.onDestroy(()=>{n.unsubscribe(),r.unsubscribe()})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb()}});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.timeoutId),!1))}}getPendingTasks(){return this._taskTrackingZone?this._taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,i){let a=-1;r&&r>0&&(a=setTimeout(()=>{this._callbacks=this._callbacks.filter(c=>c.timeoutId!==a),n()},r)),this._callbacks.push({doneCb:n,timeoutId:a,updateCb:i})}whenStable(n,r,i){if(i&&!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,i),this._runCallbacksIfReady()}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,i){return[]}static \u0275fac=function(r){return new(r||e)((0,o.KVO)(jr),(0,o.KVO)(Em),(0,o.KVO)(ym))};static \u0275prov=(0,o.jDH)({token:e,factory:e.\u0275fac})}return e})(),Em=(()=>{class e{_applications=new Map;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 Oh?.findTestabilityInTree(this,n,r)??null}static \u0275fac=function(r){return new(r||e)};static \u0275prov=(0,o.jDH)({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function Dm(e){return!!e&&"function"==typeof e.then}function Cm(e){return!!e&&"function"==typeof e.subscribe}const Mm=new o.nKC("");function LM(e){return(0,o.EmA)([{provide:Mm,multi:!0,useValue:e}])}let bm=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=(0,o.WQX)(Mm,{optional:!0})??[];injector=(0,o.WQX)(o.zZn);constructor(){}runInitializers(){if(this.initialized)return;const n=[];for(const i of this.appInits){const a=(0,o.N4e)(this.injector,i);if(Dm(a))n.push(a);else if(Cm(a)){const c=new Promise((d,g)=>{a.subscribe({complete:d,error:g})});n.push(c)}}const r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(i=>{this.reject(i)}),0===n.length&&r(),this.initialized=!0}static \u0275fac=function(r){return new(r||e)};static \u0275prov=(0,o.jDH)({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Im=new o.nKC("");function FM(){}function kM(){(0,Xe.KO)(()=>{throw new o.buA(600,"")})}function Om(e,t){return Array.isArray(t)?t.reduce(Om,e):{...e,...t}}let nd=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=(0,o.WQX)(o.ZTf);afterRenderManager=(0,o.WQX)(If);zonelessEnabled=(0,o.WQX)(o.Evm);rootEffectScheduler=(0,o.WQX)(o.VML);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new At.B;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=(0,o.WQX)(o.rev);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe((0,Wn.T)(n=>!n))}constructor(){(0,o.WQX)(Jc,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:i=>{i&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=(0,o.WQX)(o.uvJ);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){return this.bootstrapImpl(n,r)}bootstrapImpl(n,r,i=o.zZn.NULL){return this._injector.get(jr).run(()=>{Kt(10);const c=n instanceof Qg;if(!this._injector.get(bm).done)throw new o.buA(405,"");let g;g=c?n:this._injector.get(ul).resolveComponentFactory(n),this.componentTypes.push(g.componentType);const P=function BM(e){return e.isBoundToModule}(g)?void 0:this._injector.get(Aa),te=g.create(i,[],r||g.selector,P),De=te.location.nativeElement,Me=te.injector.get(vm,null);return Me?.registerApplication(De),te.onDestroy(()=>{this.detachView(te.hostView),rd(this.components,te),Me?.unregisterApplication(De)}),this._loadComponent(te),Kt(11,te),te})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){Kt(12),null!==this.tracingSnapshot?this.tracingSnapshot.run(Da.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw new o.buA(101,!1);const n=(0,Xe.Ht)(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,(0,Xe.Ht)(n),this.afterTick.next(),Kt(13)}};synchronize(){null===this._rendererFactory&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(Yf,null,{optional:!0}));let n=0;for(;0!==this.dirtyFlags&&n++<10;)Kt(14),this.synchronizeOnce(),Kt(15)}synchronizeOnce(){16&this.dirtyFlags&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());let n=!1;if(7&this.dirtyFlags){const r=!!(1&this.dirtyFlags);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:i}of this.allViews)(r||(0,o.dMS)(i))&&(Ru(i,r&&!this.zonelessEnabled?0:1),n=!0);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),23&this.dirtyFlags)return}n||(this._rendererFactory?.begin?.(),this._rendererFactory?.end?.()),8&this.dirtyFlags&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){this.allViews.some(({_lView:n})=>(0,o.dMS)(n))?this.dirtyFlags|=2:this.dirtyFlags&=-8}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;rd(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView);try{this.tick()}catch(i){this.internalErrorHandler(i)}this.components.push(n),this._injector.get(Im,[]).forEach(i=>i(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>rd(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new o.buA(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(r){return new(r||e)};static \u0275prov=(0,o.jDH)({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function rd(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function Th(){let e,t;return{promise:new Promise((r,i)=>{e=r,t=i}),resolve:e,reject:t}}function Tm(e){const t=(0,o.OAn)(),n=(0,o.Mx4)();if(gc(t,n),!wm(0,t))return;const r=t[o.YEL];ml(0,Bi(t,n),e(()=>Ra(0,t,n),r))}function Am(e){const t=(0,o.OAn)(),n=t[o.YEL],r=(0,o.Mx4)(),a=si(t[o.eDl],r);a.loadingState===Oo.NOT_STARTED&&ml(1,Bi(t,r),e(()=>El(a,t,r),n))}function Pm(e,t,n){const r=t[o.YEL],i=Bi(t,n),a=i[6];ml(2,i,e(()=>xa(r,a),r))}function El(e,t,n){Ah(e,t,n)}function Ah(e,t,n){const r=t[o.YEL],i=t[o.eDl];if(e.loadingState!==Oo.NOT_STARTED)return e.loadingPromise??Promise.resolve();const a=Bi(t,n),c=function RC(e,t){return(0,o.XRZ)(e,t.primaryTmplIndex+o.Yw1)}(i,e);e.loadingState=Oo.IN_PROGRESS,Zu(1,a);let d=e.dependencyResolverFn;const g=r.get(o.u5s).add();return d?(e.loadingPromise=Promise.allSettled(d()).then(P=>{let B=!1;const te=[],De=[];for(const Me of P){if("fulfilled"!==Me.status){B=!0;break}{const nt=Me.value,Ot=(0,o.xUg)(nt)||(0,o.HaV)(nt);if(Ot)te.push(Ot);else{const qt=(0,o.oyA)(nt);qt&&De.push(qt)}}}if(B){if(e.loadingState=Oo.FAILED,null===e.errorTmplIndex){const nt=new o.buA(-750,!1);kf(t,nt)}}else{e.loadingState=Oo.COMPLETE;const Me=c.tView;if(te.length>0){Me.directiveRegistry=Y_(Me.directiveRegistry,te);const nt=te.map(qt=>qt.type),Ot=(0,o.jXY)(!1,...nt);e.providers=Ot}De.length>0&&(Me.pipeRegistry=Y_(Me.pipeRegistry,De))}}),e.loadingPromise.finally(()=>{e.loadingPromise=null,g()})):(e.loadingPromise=Promise.resolve().then(()=>{e.loadingPromise=null,e.loadingState=Oo.COMPLETE,g()}),e.loadingPromise)}function wm(e,t){return t[o.YEL].get(UC,null,{optional:!0})?.behavior!==z_.Manual}function Ra(e,t,n){const r=t[o.eDl],i=t[n.index];if(!wm(0,t))return;const a=Bi(t,n),c=si(r,n);switch(G_(a),c.loadingState){case Oo.NOT_STARTED:oa(Rr.Loading,n,i),Ah(c,t,n),c.loadingState===Oo.IN_PROGRESS&&nm(c,n,i);break;case Oo.IN_PROGRESS:oa(Rr.Loading,n,i),nm(c,n,i);break;case Oo.COMPLETE:oa(Rr.Complete,n,i);break;case Oo.FAILED:oa(Rr.Error,n,i)}}function xa(e,t,n){return Ph.apply(this,arguments)}function Ph(){return(Ph=(0,q.A)(function*(e,t,n){const r=e.get(mi);if(r.hydrating.has(t))return;const{parentBlockPromise:a,hydrationQueue:c}=function Oc(e,t){const n=t.get(mi),i=t.get(ko).get("__nghDeferData__",{});let a=!1,c=e,d=null;const g=[];for(;!a&&c;){a=n.has(c);const P=n.hydrating.get(c);if(null===d&&null!=P){d=P.promise;break}g.unshift(c),c=i[c].p}return{parentBlockPromise:d,hydrationQueue:g}}(t,e);if(0===c.length)return;null!==a&&c.shift(),function WM(e,t){for(let n of t)e.hydrating.set(n,Th())}(r,c),null!==a&&(yield a);const d=c[0];r.has(d)?yield Sm(e,c,n):r.awaitParentBlock(d,(0,q.A)(function*(){return yield Sm(e,c,n)}))})).apply(this,arguments)}function Sm(e,t,n){return wh.apply(this,arguments)}function wh(){return(wh=(0,q.A)(function*(e,t,n){const r=e.get(mi),i=r.hydrating,a=e.get(o.rev),c=a.add();for(let g=0;g<t.length;g++){const P=t[g],B=r.get(P);if(null==B){VM(g,t,r),Rm(t.slice(g),r);break}if(yield HM(B),yield $M(e),UM(B)){H0(B),Rm(t.slice(g),r);break}i.get(P).resolve()}const d=t[t.length-1];yield i.get(d)?.promise,a.remove(c),n&&n(t),function z0(e,t,n,r){null!==e&&(n.cleanup(t),Uu(e.lContainer),function K0(e){const t=e._views;for(const n of t){const r=$(n);null!==r&&null!==r[o.jgP]&&((0,o.q$2)(r)?Vu(r):Uu(r))}}(r))}(r.get(d),t,r,e.get(nd))})).apply(this,arguments)}function UM(e){return Bi(e.lView,e.tNode)[1]===Rr.Error}function VM(e,t,n){const r=e-1,i=r>-1?n.get(t[r]):null;i&&Uu(i.lContainer)}function Rm(e,t){const n=t.hydrating;for(const r in e)n.get(r)?.reject();t.cleanup(e)}function $M(e){return new Promise(t=>Of(t,{injector:e}))}function HM(e){return Sh.apply(this,arguments)}function Sh(){return(Sh=(0,q.A)(function*(e){const{tNode:t,lView:n}=e,r=Bi(n,t);return new Promise(i=>{(function KM(e,t){Array.isArray(e[8])||(e[8]=[]),e[8].push(t)})(r,i),Ra(0,n,t)})})).apply(this,arguments)}function yo(e,t,n){return 0===e?xm(t,n):2!==e||!xm(t,n)}function xm(e,t){const n=e[o.YEL],r=si(e[o.eDl],t),i=xo(n),a=function zM(e){return null!=e&&!(1&~e)}(r.flags),d=null!==Bi(e,t)[6];return!(a&&d&&i)}function ia(e,t){const n=si(e,t);return n.hydrateTriggers??=new Map}function Lm(e,t,n,r,i,a,c,d,g,P){const B=(0,o.OAn)(),te=(0,o.klJ)(),De=e+o.Yw1,Me=Pa(B,te,e,null,0,0),nt=B[o.YEL],Ot=xo(nt);if(te.firstCreatePass){ii("NgDefer");const zs={primaryTmplIndex:t,loadingTmplIndex:r??null,placeholderTmplIndex:i??null,errorTmplIndex:a??null,placeholderBlockConfig:null,loadingBlockConfig:null,dependencyResolverFn:n??null,loadingState:Oo.NOT_STARTED,loadingPromise:null,providers:null,hydrateTriggers:null,debug:null,flags:P??0};g?.(te,zs,d,c),function wC(e,t,n){const r=vl(t);e.data[r]=n}(te,De,zs)}const qt=B[De];let cn=null,wt=null;if(qt[o.qFA]?.length>0){const zs=qt[o.qFA][0].data;wt=zs.di??null,cn=zs.s}const Tr=[null,dc.Initial,null,null,null,null,wt,cn,null,null];!function PC(e,t,n){e[vl(t)]=n}(B,De,Tr);let ai=null;null!==wt&&Ot&&(ai=nt.get(mi),ai.add(wt,{lView:B,tNode:Me,lContainer:qt}));const ro=()=>{G_(Tr),null!==wt&&ai?.cleanup([wt])};ml(0,Tr,()=>(0,o.DyX)(B,ro)),(0,o.ik5)(B,ro)}function Fm(e){const t=(0,o.OAn)(),n=(0,o.CpD)();if(yo(0,t,n)&&Qr(t,(0,o.xbp)(),e)){const i=(0,Xe.Ht)(null);try{const a=!!e,d=Bi(t,n)[1];!1===a&&d===dc.Initial?gc(t,n):!0===a&&(d===dc.Initial||d===Rr.Placeholder)&&Ra(0,t,n)}finally{(0,Xe.Ht)(i)}}}function km(){yo(1,(0,o.OAn)(),(0,o.Mx4)())&&Am(Ju)}function Bm(e,t){const n=(0,o.OAn)(),r=(0,o.Mx4)();yo(0,n,r)&&(gc(n,r),pc(n,r,e,t,Dh,()=>Ra(0,n,r),0))}function Rh(e,t,n,r){const i=(0,o.OAn)();return Qr(i,(0,o.xbp)(),t)&&((0,o.klJ)(),function VE(e,t,n,r,i,a){const c=(0,o.d31)(e,t);Tu(t[o.GpT],c,a,e.value,n,r,i)}((0,o.CpD)(),i,e,t,n,r)),Rh}const _b=new o.nKC("",{providedIn:"root",factory:()=>!1}),mb=new o.nKC("",{providedIn:"root",factory:()=>vb}),vb=4e3,Na=typeof document<"u"&&"function"==typeof document?.documentElement?.getAnimations;function od(e){return e[o.YEL].get(_b,!1)}function xh(e){const t=mc.get(e);if(t){for(const n of t.cleanupFns)n();mc.delete(e)}La.delete(e)}const Db=()=>{},mc=new WeakMap,La=new WeakMap,vc=new WeakMap;function Nh(e,t){const n=vc.get(e);if(n&&n.length>0){const r=n.findIndex(i=>i===t);r>-1&&n.splice(r,1)}0===n?.length&&vc.delete(e)}function id(e,t){const n=vc.get(e)?.shift(),r=t[o.rQE];if(r){const a=bu(e.index,r)?.previousSibling;n&&a&&n===a&&n.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}}))}}function Um(e,t){vc.has(e)?vc.get(e)?.push(t):vc.set(e,[t])}function sd(e){const t=e[o.Isx]??={};return t.enter??=new Map}function Fa(e){const t=e[o.Isx]??={};return t.leave??=new Map}function Vm(e){const t="function"==typeof e?e():e;let n=Array.isArray(t)?t:null;return"string"==typeof t&&(n=t.trim().split(/\s+/).filter(r=>r)),n}function Wm(e,t){const n=La.get(t);return void 0===n||t===e.target&&(void 0!==n.animationName&&e.animationName===n.animationName||void 0!==n.propertyName&&e.propertyName===n.propertyName)}function ad(e,t,n){const r=e.get(t.index)??{animateFns:[]};r.animateFns.push(n),e.set(t.index,r)}function Lh(e,t){if(e)for(const n of e)n();for(const n of t)n()}function Fh(e,t){const n=Fa(e).get(t.index);n&&(n.resolvers=void 0)}function cd(e,t,n,r,i){Nh(t,n),Lh(r,i),Fh(e,t)}function $m(){return(0,o.OAn)()[o.b5C][o.SKP]}class wb{destroy(t){}updateValue(t,n){}swap(t,n){const r=Math.min(t,n),i=Math.max(t,n),a=this.detach(i);if(i-r>1){const c=this.detach(r);this.attach(r,a),this.attach(i,c)}else this.attach(r,a)}move(t,n){this.attach(n,this.detach(t))}}function Bh(e,t,n,r,i){return e===n&&Object.is(t,r)?1:Object.is(i(e,t),i(n,r))?-1:0}function jh(e,t,n,r){return!(void 0===t||!t.has(r)||(e.attach(n,t.get(r)),t.delete(r),0))}function Hm(e,t,n,r,i){if(jh(e,t,r,n(r,i)))e.updateValue(r,i);else{const a=e.create(r,i);e.attach(r,a)}}function Km(e,t,n,r){const i=new Set;for(let a=t;a<=n;a++)i.add(r(a,e.at(a)));return i}class zm{kvMap=new Map;_vMap=void 0;has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;const n=this.kvMap.get(t);return void 0!==this._vMap&&this._vMap.has(n)?(this.kvMap.set(t,this._vMap.get(n)),this._vMap.delete(n)):this.kvMap.delete(t),!0}get(t){return this.kvMap.get(t)}set(t,n){if(this.kvMap.has(t)){let r=this.kvMap.get(t);void 0===this._vMap&&(this._vMap=new Map);const i=this._vMap;for(;i.has(r);)r=i.get(r);i.set(r,n)}else this.kvMap.set(t,n)}forEach(t){for(let[n,r]of this.kvMap)if(t(r,n),void 0!==this._vMap){const i=this._vMap;for(;i.has(r);)r=i.get(r),t(r,n)}}}function Gm(e,t,n,r,i,a,c,d){ii("NgControlFlow");const g=(0,o.OAn)(),P=(0,o.klJ)();return Pa(g,P,e,t,n,r,i,(0,o.db4)(P.consts,a),256,c,d),fd}function fd(e,t,n,r,i,a,c,d){ii("NgControlFlow");const g=(0,o.OAn)(),P=(0,o.klJ)();return Pa(g,P,e,t,n,r,i,(0,o.db4)(P.consts,a),512,c,d),fd}function Xm(e,t){ii("NgControlFlow");const n=(0,o.OAn)(),r=(0,o.xbp)(),i=n[r]!==Cr?n[r]:-1,a=-1!==i?hd(n,o.Yw1+i):void 0;if(Qr(n,r,e)){const d=(0,Xe.Ht)(null);try{if(void 0!==a&&jf(a,0),-1!==e){const g=o.Yw1+e,P=hd(n,g),B=Uh(n[o.eDl],g),te=null;sc(P,oc(n,B,t,{dehydratedView:te}),0,Ma(B,te))}}finally{(0,Xe.Ht)(d)}}else if(void 0!==a){const d=Mg(a,0);void 0!==d&&(d[o.SKP]=t)}}class Rb{lContainer;$implicit;$index;constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-o.Y20}}function Qm(e){return e}function Ym(e,t){return t}class xb{hasEmptyBlock;trackByFn;liveCollection;constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}}function Zm(e,t,n,r,i,a,c,d,g,P,B,te,De){ii("NgControlFlow");const Me=(0,o.OAn)(),nt=(0,o.klJ)(),Ot=void 0!==g,qt=(0,o.OAn)(),cn=d?c.bind(qt[o.b5C][o.SKP]):c,wt=new xb(Ot,cn);qt[o.Yw1+e]=wt,Pa(Me,nt,e+1,t,n,r,i,(0,o.db4)(nt.consts,a),256),Ot&&Pa(Me,nt,e+2,g,P,B,te,(0,o.db4)(nt.consts,De),512)}class Nb extends wb{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(t,n,r){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=r}get length(){return this.lContainer.length-o.Y20}at(t){return this.getLView(t)[o.SKP].$implicit}attach(t,n){const r=n[o.tcA];this.needsIndexUpdate||=t!==this.length,sc(this.lContainer,n,t,Ma(this.templateTNode,r)),function Lb(e,t){if(e.length<=o.Y20)return;const r=e[o.Y20+t],i=r?r[o.Isx]:void 0;r&&i&&i.detachedLeaveAnimationFns&&i.detachedLeaveAnimationFns.length>0&&(function bE(e,t){const n=e.get(Cu);if(t.detachedLeaveAnimationFns){for(const r of t.detachedLeaveAnimationFns)n.queue.delete(r);t.detachedLeaveAnimationFns=void 0}}(r[o.YEL],i),Vo.delete(r),i.detachedLeaveAnimationFns=void 0)}(this.lContainer,t)}detach(t){return this.needsIndexUpdate||=t!==this.length-1,function Fb(e,t){if(e.length<=o.Y20)return;const r=e[o.Y20+t],i=r?r[o.Isx]:void 0;i&&i.leave&&i.leave.size>0&&(i.detachedLeaveAnimationFns=[])}(this.lContainer,t),function kb(e,t){return tl(e,t)}(this.lContainer,t)}create(t,n){const i=oc(this.hostLView,this.templateTNode,new Rb(this.lContainer,n,t),{dehydratedView:null});return this.operationsCounter?.recordCreate(),i}destroy(t){qc(t[o.eDl],t),this.operationsCounter?.recordDestroy()}updateValue(t,n){this.getLView(t)[o.SKP].$implicit=n}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[o.SKP].$index=t}getLView(t){return function Bb(e,t){return Mg(e,t)}(this.lContainer,t)}}function Jm(e){const t=(0,Xe.Ht)(null),n=(0,o._px)();try{const r=(0,o.OAn)(),i=r[o.eDl],a=r[n],c=n+1,d=hd(r,c);if(void 0===a.liveCollection){const P=Uh(i,c);a.liveCollection=new Nb(d,r,P)}else a.liveCollection.reset();const g=a.liveCollection;if(function Sb(e,t,n){let r,i,a=0,c=e.length-1;if(Array.isArray(t)){let g=t.length-1;for(;a<=c&&a<=g;){const P=e.at(a),B=t[a],te=Bh(a,P,a,B,n);if(0!==te){te<0&&e.updateValue(a,B),a++;continue}const De=e.at(c),Me=t[g],nt=Bh(c,De,g,Me,n);if(0!==nt){nt<0&&e.updateValue(c,Me),c--,g--;continue}const Ot=n(a,P),qt=n(c,De),cn=n(a,B);if(Object.is(cn,qt)){const wt=n(g,Me);Object.is(wt,Ot)?(e.swap(a,c),e.updateValue(c,Me),g--,c--):e.move(c,a),e.updateValue(a,B),a++;continue}if(r??=new zm,i??=Km(e,a,c,n),jh(e,r,a,cn))e.updateValue(a,B),a++,c++;else if(i.has(cn))r.set(Ot,e.detach(a)),c--;else{const wt=e.create(a,t[a]);e.attach(a,wt),a++,c++}}for(;a<=g;)Hm(e,r,n,a,t[a]),a++}else if(null!=t){const g=t[Symbol.iterator]();let P=g.next();for(;!P.done&&a<=c;){const B=e.at(a),te=P.value,De=Bh(a,B,a,te,n);if(0!==De)De<0&&e.updateValue(a,te),a++,P=g.next();else{r??=new zm,i??=Km(e,a,c,n);const Me=n(a,te);if(jh(e,r,a,Me))e.updateValue(a,te),a++,c++,P=g.next();else if(i.has(Me)){const nt=n(a,B);r.set(nt,e.detach(a)),c--}else e.attach(a,e.create(a,te)),a++,c++,P=g.next()}}for(;!P.done;)Hm(e,r,n,e.length,P.value),P=g.next()}for(;a<=c;)e.destroy(e.detach(c--));r?.forEach(g=>{e.destroy(g)})}(g,e,a.trackByFn),g.updateIndexes(),a.hasEmptyBlock){const P=(0,o.xbp)(),B=0===g.length;if(Qr(r,P,B)){const te=n+2,De=hd(r,te);if(B){const Me=Uh(i,te),nt=null;sc(De,oc(r,Me,void 0,{dehydratedView:nt}),0,Ma(Me,nt))}else i.firstUpdatePass&&ju(De),jf(De,0)}}}finally{(0,Xe.Ht)(t)}}function hd(e,t){return e[t]}function Uh(e,t){return(0,o.XRZ)(e,t)}function Vh(e,t,n){const r=(0,o.OAn)();return Qr(r,(0,o.xbp)(),t)&&((0,o.klJ)(),Nf((0,o.CpD)(),r,e,t,r[o.GpT],n)),Vh}function Wh(e,t,n,r,i){wu(t,e,n,i?"class":"style",r)}function pd(e,t,n,r){const i=(0,o.OAn)(),a=i[o.eDl],c=e+o.Yw1,d=a.firstCreatePass?qf(c,i,2,t,Ff,(0,o.ckz)(),n,r):a.data[c];if(Au(d,i,e,t,Kh),(0,o.yoD)(d)){const g=i[o.eDl];Ou(g,i,d),F(g,d,i)}return null!=r&&rc(i,d),pd}function gd(){const e=(0,o.klJ)(),n=Pu((0,o.Mx4)());return e.firstCreatePass&&eh(e,n),(0,o.UhH)(n)&&(0,o.krE)(),(0,o.N79)(),null!=n.classesWithoutHost&&function ft(e){return!!(8&e.flags)}(n)&&Wh(e,n,(0,o.OAn)(),n.classesWithoutHost,!0),null!=n.stylesWithoutHost&&function ie(e){return!!(16&e.flags)}(n)&&Wh(e,n,(0,o.OAn)(),n.stylesWithoutHost,!1),gd}function $h(e,t,n,r){return pd(e,t,n,r),gd(),$h}function _d(e,t,n,r){const i=(0,o.OAn)(),a=i[o.eDl],c=e+o.Yw1,d=a.firstCreatePass?r_(c,a,2,t,n,r):a.data[c];return Au(d,i,e,t,Kh),null!=r&&rc(i,d),_d}function md(){const t=Pu((0,o.Mx4)());return(0,o.UhH)(t)&&(0,o.krE)(),(0,o.N79)(),md}function Hh(e,t,n,r){return _d(e,t,n,r),md(),Hh}let Kh=(e,t,n,r,i)=>((0,o.m7n)(!0),qa(t[o.GpT],r,(0,o.UaU)()));function vd(e,t,n){const r=(0,o.OAn)(),i=r[o.eDl],a=e+o.Yw1,c=i.firstCreatePass?qf(a,r,8,"ng-container",Ff,(0,o.ckz)(),t,n):i.data[a];if(Au(c,r,e,"ng-container",Qh),(0,o.yoD)(c)){const d=r[o.eDl];Ou(d,r,c),F(d,c,r)}return null!=n&&rc(r,c),vd}function Dl(){const e=(0,o.klJ)(),n=Pu((0,o.Mx4)());return e.firstCreatePass&&eh(e,n),Dl}function zh(e,t,n){return vd(e,t,n),Dl(),zh}function Gh(e,t,n){const r=(0,o.OAn)(),i=r[o.eDl],a=e+o.Yw1,c=i.firstCreatePass?r_(a,i,8,"ng-container",t,n):i.data[a];return Au(c,r,e,"ng-container",Qh),null!=n&&rc(r,c),Gh}function qm(){return Pu((0,o.Mx4)()),Dl}function Xh(e,t,n){return Gh(e,t,n),qm(),Xh}let Qh=(e,t,n,r,i)=>((0,o.m7n)(!0),Wc(t[o.GpT],""));function ev(){return(0,o.OAn)()}function Yh(e,t,n){const r=(0,o.OAn)();return Qr(r,(0,o.xbp)(),t)&&((0,o.klJ)(),Lf((0,o.CpD)(),r,e,t,r[o.GpT],n)),Yh}const yd=void 0;var Wb=["en",[["a","p"],["AM","PM"]],[["AM","PM"]],[["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"]],yd,[["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"]],yd,[["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}",yd,"{1} 'at' {0}",yd],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function Vb(e){const t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===n?1:5}];let yc={};function Zh(e){const t=function $b(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=rv(t);if(n)return n;const r=t.split("-")[0];if(n=rv(r),n)return n;if("en"===r)return Wb;throw new o.buA(701,!1)}function nv(e){return Zh(e)[Ec.PluralCase]}function rv(e){if(!(e in yc)){const t=o.laP.ng&&o.laP.ng.common&&o.laP.ng.common.locales&&o.laP.ng.common.locales[e];return void 0!==t&&(yc[e]=t),t}return yc[e]}var Ec=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}(Ec||{});const Hb=["zero","one","two","few","many"],Jh="en-US",Ed={marker:"element"},Dd={marker:"ICU"};var Ui=function(e){return e[e.SHIFT=2]="SHIFT",e[e.APPEND_EAGERLY=1]="APPEND_EAGERLY",e[e.COMMENT=2]="COMMENT",e}(Ui||{});let ov=Jh;function Gb(e){"string"==typeof e&&(ov=e.toLowerCase().replace(/_/g,"-"))}let Cl=0,Ml=0;let bl=(e,t,n,r)=>((0,o.m7n)(!0),function iv(e,t,n){const r=e[o.GpT];switch(n){case Node.COMMENT_NODE:return Wc(r,t);case Node.TEXT_NODE:return Uc(r,t);case Node.ELEMENT_NODE:return qa(r,t,null)}}(e,n,r));function sv(e,t,n,r){const i=n[o.GpT];let c,a=null;for(let d=0;d<t.length;d++){const g=t[d];if("string"==typeof g){const P=t[++d];null===n[P]&&(n[P]=bl(n,0,g,Node.TEXT_NODE))}else if("number"==typeof g)switch(1&g){case 0:const P=Sg(g);let B,te;if(null===a&&(a=P,c=i.parentNode(r)),P===a?(B=r,te=c):(B=null,te=(0,o.IvY)(n[P])),null!==te){const Ot=Rg(g);Rs(i,te,n[Ot],B,!1);const cn=sl(e,Ot);if(null!==cn&&"object"==typeof cn){const wt=Fu(cn,n);null!==wt&&sv(e,cn.create[wt],n,n[cn.anchorIdx])}}break;case 1:const Me=t[++d],nt=t[++d];Tu(i,(0,o.vaC)(g>>>1,n),null,null,Me,nt,null)}else switch(g){case Dd:const P=t[++d],B=t[++d];null===n[B]&&kr(n[B]=bl(n,0,P,Node.COMMENT_NODE),n);break;case Ed:const te=t[++d],De=t[++d];null===n[De]&&kr(n[De]=bl(n,0,te,Node.ELEMENT_NODE),n)}}}function av(e,t,n,r,i){for(let a=0;a<n.length;a++){const c=n[a],d=n[++a];if(c&i){let g="";for(let P=a+1;P<=a+d;P++){const B=n[P];if("string"==typeof B)g+=B;else if("number"==typeof B)if(B<0)g+=(0,o.eFE)(t[r-B]);else{const te=B>>>2;switch(3&B){case 1:const De=n[++P],Me=n[++P],nt=e.data[te];if("string"==typeof nt)Tu(t[o.GpT],t[te],null,nt,De,g,Me);else{const qt=(0,o._px)();(0,o.ypq)(te);try{Nf(nt,t,De,g,t[o.GpT],Me)}finally{(0,o.ypq)(qt)}}break;case 0:const Ot=t[te];null!==Ot&&Vc(t[o.GpT],Ot,g);break;case 2:qb(e,sl(e,te),t,g);break;case 3:cv(e,sl(e,te),r,t)}}}}else{const g=n[a+1];if(g>0&&!(3&~g)){const B=sl(e,g>>>2);t[B.currentCaseLViewIndex]<0&&cv(e,B,r,t)}}a+=d}}function cv(e,t,n,r){let i=r[t.currentCaseLViewIndex];if(null!==i){let a=Cl;i<0&&(i=r[t.currentCaseLViewIndex]=~i,a=-1),av(e,r,t.update[i],n,a)}}function qb(e,t,n,r){const i=function e1(e,t){let n=e.cases.indexOf(t);if(-1===n)switch(e.type){case 1:{const r=function Kb(e,t){const n=nv(t)(parseInt(e,10)),r=Hb[n];return void 0!==r?r:"other"}(t,function Xb(){return ov}());n=e.cases.indexOf(r),-1===n&&"other"!==r&&(n=e.cases.indexOf("other"));break}case 0:n=e.cases.indexOf("other")}return-1===n?null:n}(t,r);if(Fu(t,n)!==i&&(lv(e,t,n),n[t.currentCaseLViewIndex]=null===i?null:~i,null!==i)){const c=n[t.anchorIdx];c&&sv(e,t.create[i],n,c)}}function lv(e,t,n){let r=Fu(t,n);if(null!==r){const i=t.remove[r];for(let a=0;a<i.length;a++){const c=i[a];if(c>0){const d=(0,o.vaC)(c,n);null!==d&&va(n[o.GpT],d)}else lv(e,sl(e,~c),n)}}}const Cd=/\ufffd(\d+):?\d*\ufffd/gi,t1=/({\s*\ufffd\d+:?\d*\ufffd\s*,\s*\S{6}\s*,[\s\S]*})/gi,n1=/\ufffd(\d+)\ufffd/,dv=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/,r1=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,o1=/\ufffd(\/?[#*]\d+):?\d*\ufffd/gi,i1=/\uE500/g;function fv(e,t,n,r,i,a,c){const d=G(e,r,1,null);let g=d<<Ui.SHIFT,P=(0,o.Ab)();t===P&&(P=null),null===P&&(g|=Ui.APPEND_EAGERLY),c&&(g|=Ui.COMMENT,function Ln(e){void 0===On&&(On=e())}(M0)),i.push(g,null===a?"":a);const B=$f(e,d,c?32:1,null===a?"":a,null);Pg(n,B);const te=B.index;return(0,o.iMd)(B,!1),null!==P&&t!==P&&function E0(e,t){let n=e.insertBeforeIndex;null===n?(sg(Tg,Ag),n=e.insertBeforeIndex=[null,t]):((0,o.Xln)(Array.isArray(n),!0,"Expecting array here"),n.push(t))}(P,te),B}function c1(e,t,n,r,i,a,c,d){const g=d.match(Cd),B=fv(t,n,r,c,i,g?null:d,!1).index;g&&Md(a,d,B,null,0,null),e.push({kind:0,index:B})}function Md(e,t,n,r,i,a){const c=e.length,d=c+1;e.push(null,null);const g=c+2,P=t.split(Cd);let B=0;for(let te=0;te<P.length;te++){const De=P[te];if(1&te){const Me=i+parseInt(De,10);e.push(-1-Me),B|=hv(Me)}else""!==De&&e.push(De)}return e.push(n<<2|(r?1:0)),r&&e.push(r,a),e[c]=B,e[d]=e.length-g,B}function u1(e){let t=0;for(let n=0;n<e.length;n++){const r=e[n];"number"==typeof r&&r<0&&t++}return t}function hv(e){return 1<<Math.min(e,31)}function pv(e){let t,a,n="",r=0,i=!1;for(;null!==(t=r1.exec(e));)i?t[0]===`\ufffd/*${a}\ufffd`&&(r=t.index,i=!1):(n+=e.substring(r,t.index+t[0].length),a=t[1],i=!0);return n+=e.slice(r),n}function gv(e,t,n,r,i,a,c){let d=0;const g={type:a.type,currentCaseLViewIndex:G(t,n,1,null),anchorIdx:c,cases:[],create:[],remove:[],update:[]};(function g1(e,t,n){e.push(hv(t.mainBinding),2,-1-t.mainBinding,n<<2|2)})(r,a,c),function y0(e,t,n){const r=e.data[t];null===r?e.data[t]=n:r.value=n}(t,c,g);const P=a.values,B=[];for(let te=0;te<P.length;te++){const De=P[te],Me=[];for(let Ot=0;Ot<De.length;Ot++){const qt=De[Ot];if("string"!=typeof qt){const cn=Me.push(qt)-1;De[Ot]=`\x3c!--\ufffd${cn}\ufffd--\x3e`}}const nt=[];B.push(nt),d=h1(nt,t,g,n,r,i,a.cases[te],De.join(""),Me)|d}d&&function _1(e,t,n){e.push(t,1,n<<2|3)}(r,d,c),e.push({kind:3,index:c,cases:B,currentCaseLViewIndex:g.currentCaseLViewIndex})}function f1(e){const t=[],n=[];let r=1,i=0;const a=qh(e=e.replace(dv,function(c,d,g){return r="select"===g?0:1,i=parseInt(d.slice(1),10),""}));for(let c=0;c<a.length;){let d=a[c++].trim();1===r&&(d=d.replace(/\s*(?:=)?(\w+)\s*/,"$1")),d.length&&t.push(d);const g=qh(a[c++]);t.length>n.length&&n.push(g)}return{type:r,mainBinding:i,cases:t,values:n}}function qh(e){if(!e)return[];let t=0;const n=[],r=[],i=/[{}]/g;let a;for(i.lastIndex=0;a=i.exec(e);){const d=a.index;if("}"==a[0]){if(n.pop(),0==n.length){const g=e.substring(t,d);dv.test(g)?r.push(f1(g)):r.push(g),t=d+1}}else{if(0==n.length){const g=e.substring(t,d);r.push(g),t=d+1}n.push("{")}}const c=e.substring(t);return r.push(c),r}function h1(e,t,n,r,i,a,c,d,g){const P=[],B=[],te=[];n.cases.push(c),n.create.push(P),n.remove.push(B),n.update.push(te);const Me=Xl(Ir()).getInertBodyElement(d),nt=jc(Me)||Me;return nt?_v(e,t,n,r,i,P,B,te,nt,a,g,0):0}function _v(e,t,n,r,i,a,c,d,g,P,B,te){let De=0,Me=g.firstChild;for(;Me;){const nt=G(t,r,1,null);switch(Me.nodeType){case Node.ELEMENT_NODE:const Ot=Me,qt=Ot.tagName.toLowerCase();if(Lc.hasOwnProperty(qt)){ep(a,Ed,qt,P,nt),t.data[nt]=qt;const ai=Ot.attributes;for(let zs=0;zs<ai.length;zs++){const ja=ai.item(zs),Rd=ja.name.toLowerCase(),dO=!!ja.value.match(Cd),uE=Ot.namespaceURI,dE=uE&&Bl[uE],fE=dE?`:${dE}:${qt}`:qt;if(dO)kc.hasOwnProperty(Rd)&&Md(d,ja.value,nt,ja.name,0,tp(Rd,fE));else if(kc[Rd]){let fO=ja.value;tp(Rd,fE)?vv(a,nt,ja.name,"unsafe:blocked"):vv(a,nt,ja.name,fO)}}const ro={kind:1,index:nt,children:[]};e.push(ro),De=_v(ro.children,t,n,r,i,a,c,d,Me,nt,B,te+1)|De,mv(c,nt,te)}break;case Node.TEXT_NODE:const cn=Me.textContent||"",wt=cn.match(Cd);ep(a,null,wt?"":cn,P,nt),mv(c,nt,te),wt&&(De=Md(d,cn,nt,null,0,null)|De),e.push({kind:0,index:nt});break;case Node.COMMENT_NODE:const Tr=n1.exec(Me.textContent||"");if(Tr){const ro=B[parseInt(Tr[1],10)];ep(a,Dd,"",P,nt),gv(e,t,r,i,P,ro,nt),p1(c,nt,te)}}Me=Me.nextSibling}return De}function mv(e,t,n){0===n&&e.push(t)}function p1(e,t,n){0===n&&(e.push(~t),e.push(t))}function ep(e,t,n,r,i){null!==t&&e.push(t),e.push(n,i,function C0(e,t,n){return e|t<<17|n<<1}(0,r,i))}function vv(e,t,n,r){e.push(t<<1|1,n,r)}function tp(e,t){const n=e.toLowerCase(),r=t?function m1(e){const t=e.toLowerCase(),[n,r]=Hc(t,!1);return"svg"===n||"math"===n?`:${n}:${r}`:r}(t):"*",[i]=Hc(r,!1),a=(0,o.rwo)();switch(a[`${r}|${n}`]||(i?a[`:${i}:*|${n}`]:void 0)||a[`*|${n}`]||o.WPN.NONE){case o.WPN.HTML:return Kc;case o.WPN.STYLE:return su;case o.WPN.SCRIPT:return ec;case o.WPN.URL:return Us;case o.WPN.RESOURCE_URL:return Gc;case o.WPN.ATTRIBUTE_NO_BINDING:return uu;default:return null}}const v1=/\[(\ufffd.+?\ufffd?)\]/,y1=/\[(\ufffd.+?\ufffd?)\]|(\ufffd\/?\*\d+:\d+\ufffd)/g,E1=/({\s*)(VAR_(PLURAL|SELECT)(_\d+)?)(\s*,)/g,D1=/{([A-Z0-9_]+)}/g,C1=/\ufffdI18N_EXP_(ICU(_\d+)?)\ufffd/g,M1=/\/\*/,b1=/\d+\:(\d+)/;function Ev(e,t,n=-1){const r=(0,o.klJ)(),i=(0,o.OAn)(),a=o.Yw1+e,c=(0,o.db4)(r.consts,t),d=(0,o.Ab)();r.firstCreatePass&&function a1(e,t,n,r,i,a){const c=(0,o.Ab)(),d=[],g=[],P=[[]],B=[[]];i=function d1(e,t){if(function Ng(e){return-1===e}(t))return pv(e);{const n=e.indexOf(`:${t}\ufffd`)+2+t.toString().length,r=e.search(new RegExp(`\ufffd\\/\\*\\d+:${t}\ufffd`));return pv(e.substring(n,r))}}(i,a);const te=function s1(e){return e.replace(i1," ")}(i).split(o1);for(let De=0;De<te.length;De++){let Me=te[De];if(1&De){const nt=47===Me.charCodeAt(0),Ot=Me.charCodeAt(nt?1:0),qt=o.Yw1+Number.parseInt(Me.substring(nt?2:1));if(nt)P.shift(),B.shift(),(0,o.iMd)((0,o.Ab)(),!1);else{const cn=D0(e,P[0],qt);P.unshift([]),(0,o.iMd)(cn,!0);const wt={kind:2,index:qt,children:[],type:35===Ot?0:1};B[0].push(wt),B.unshift(wt.children)}}else{const nt=qh(Me);for(let Ot=0;Ot<nt.length;Ot++){let qt=nt[Ot];if(1&Ot){const cn=qt;if("object"!=typeof cn)throw new Error(`Unable to parse ICU expression in "${i}" message.`);const Tr=fv(e,c,P[0],n,d,"",!0).index;gv(B[0],e,n,g,t,cn,Tr)}else""!==qt&&c1(B[0],e,c,P[0],d,g,n,qt)}}}e.data[r]={create:d,update:g,ast:B[0],parentTNodeIndex:t}}(r,null===d?0:d.index,i,a,c,n),2===r.type?i[o.b5C][o.Wg1]|=32:i[o.Wg1]|=32;const g=r.data[a],B=ng(r,d===i[o.qlT]?null:d,i);(function Jb(e,t,n,r){const i=e[o.GpT];for(let a=0;a<t.length;a++){const c=t[a++],P=(c&Ui.APPEND_EAGERLY)===Ui.APPEND_EAGERLY,B=c>>>Ui.SHIFT;let te=e[B],De=!1;null===te&&(te=e[B]=bl(e,0,t[a],(c&Ui.COMMENT)===Ui.COMMENT?Node.COMMENT_NODE:Node.TEXT_NODE),De=(0,o.SX7)()),P&&null!==n&&De&&Rs(i,n,te,r,!1)}})(i,g.create,B,d&&8&d.type?i[d.index]:null),(0,o.xyx)(!0)}function Dv(){(0,o.xyx)(!1)}
vendor: 2,388 bytes, line 1
1function np(e,t,n){const r=(0,o.OAn)(),i=(0,o.klJ)(),a=(0,o.Mx4)();return op(i,r,r[o.GpT],a,e,t,n),np}function rp(e,t,n){const r=(0,o.OAn)(),i=(0,o.klJ)(),a=(0,o.Mx4)();return(3&a.type||n)&&s_(a,i,r,n,r[o.GpT],e,t,pl(a,r,t)),rp}function op(e,t,n,r,i,a,c){let d=!0,g=null;if((3&r.type||c)&&(g??=pl(r,t,a),s_(r,e,t,c,n,i,a,g)&&(d=!1)),d){const P=r.outputs?.[i],B=r.hostDirectiveOutputs?.[i];if(B&&B.length)for(let te=0;te<B.length;te+=2){const De=B[te],Me=B[te+1];g??=pl(r,t,a),Ku(r,t,De,Me,i,g)}if(P&&P.length)for(const te of P)g??=pl(r,t,a),Ku(r,t,te,i,i,g)}}function bv(e=1){return(0,o.jvu)(e)}function w1(e,t){let n=null;const r=function _f(e){const t=e.attrs;if(null!=t){const n=t.indexOf(5);if(!(1&n))return t[n+1]}return null}(e);for(let i=0;i<t.length;i++){const a=t[i];if("*"!==a){if(null===r?yu(e,a,!0):Yc(r,a))return i}else n=i}return n}function Iv(e){const t=(0,o.OAn)()[o.b5C][o.qlT];if(!t.projection){const r=t.projection=(0,o.WfI)(e?e.length:1,null),i=r.slice();let a=t.child;for(;null!==a;){if(128!==a.type){const c=e?w1(a,e):0;null!==c&&(i[c]?i[c].projectionNext=a:r[c]=a,i[c]=a)}a=a.next}}}function Ov(e,t=0,n,r,i,a){const c=(0,o.OAn)(),d=(0,o.klJ)(),g=r?e+1:null;null!==g&&Pa(c,d,g,r,i,a,null,n);const P=ba(d,o.Yw1+e,16,null,n||null);null===P.projection&&(P.projection=t),(0,o.Pfq)();const te=!c[o.tcA]||(0,o.KtD)();null===c[o.b5C][o.qlT].projection[P.projection]&&null!==g?function S1(e,t,n){const r=o.Yw1+n,i=t.data[r],a=e[r];sc(a,oc(e,i,void 0,{dehydratedView:null}),0,Ma(i,null))}(c,d,g):te&&!Ps(P)&&function SE(e,t,n){cg(t[o.GpT],0,t,n,wf(e,n,t),rg(n.parent||t[o.qlT],n,t))}(d,c,P)}function Tv(e,t,n,r){E_(e,t,n,r)}function Av(e,t,n){y_(e,t,n)}function Pv(e){const t=(0,o.OAn)(),n=(0,o.klJ)(),r=(0,o.w7Z)();(0,o.GA0)(r+1);const i=uh(n,r);if(e.dirty&&(0,o.vOT)(t)===!(2&~i.metadata.flags)){if(null===i.matches)e.reset([]);else{const a=C_(t,r);e.reset(a,qo),e.notifyOnChanges()}return!0}return!1}function wv(){return lh((0,o.OAn)(),(0,o.w7Z)())}function Sv(e,t,n,r,i){M_(t,E_(e,n,r,i))}function Rv(e,t,n,r){M_(e,y_(t,n,r))}function xv(e=1){(0,o.GA0)((0,o.w7Z)()+e)}function Nv(e){const t=(0,o.VPL)();return(0,o.Hh6)(t,o.Yw1+e)}function bd(e,t){return e<<17|t<<2}function ka(e){return e>>17&32767}function ip(e){return 2|e}function Dc(e){return(131068&e)>>2}function sp(e,t){return-131069&e|t<<2}function ap(e){return 1|e}function Lv(e,t,n,r){const i=e[n+1],a=null===t;
vendor: 4,181 bytes, line 1
1let c=r?ka(i):Dc(i),d=!1;for(;0!==c&&(!1===d||a);){const P=e[c+1];k1(e[c],t)&&(d=!0,e[c+1]=r?ap(P):ip(P)),c=r?ka(P):Dc(P)}d&&(e[n+1]=r?ip(i):ap(i))}function k1(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&(0,o.FRF)(e,t)>=0}const Wo={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Fv(e){return e.substring(Wo.key,Wo.keyEnd)}function B1(e){return e.substring(Wo.value,Wo.valueEnd)}function kv(e,t){const n=Wo.textEnd;return n===t?-1:(t=Wo.keyEnd=function V1(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,Wo.key=t,n),Cc(e,t,n))}function Bv(e,t){const n=Wo.textEnd;let r=Wo.key=Cc(e,t,n);return n===r?-1:(r=Wo.keyEnd=function W1(e,t,n){let r;for(;t<n&&(45===(r=e.charCodeAt(t))||95===r||(-33&r)>=65&&(-33&r)<=90||r>=48&&r<=57);)t++;return t}(e,r,n),r=Uv(e,r,n),r=Wo.value=Cc(e,r,n),r=Wo.valueEnd=function $1(e,t,n){let r=-1,i=-1,a=-1,c=t,d=c;for(;c<n;){const g=e.charCodeAt(c++);if(59===g)return d;34===g||39===g?d=c=Vv(e,g,c,n):t===c-4&&85===a&&82===i&&76===r&&40===g?d=c=Vv(e,41,c,n):g>32&&(d=c),a=i,i=r,r=-33&g}return d}(e,r,n),Uv(e,r,n))}function jv(e){Wo.key=0,Wo.keyEnd=0,Wo.value=0,Wo.valueEnd=0,Wo.textEnd=e.length}function Cc(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function Uv(e,t,n,r){return(t=Cc(e,t,n))<n&&t++,t}function Vv(e,t,n,r){let i=-1,a=n;for(;a<r;){const c=e.charCodeAt(a++);if(c==t&&92!==i)return a;i=92==c&&92===i?0:c}throw new Error}function cp(e,t,n){return Hv(e,t,n,!1),cp}function lp(e,t){return Hv(e,t,null,!0),lp}function Wv(e){Kv(Xv,H1,e,!1)}function H1(e,t){for(let n=function U1(e){return jv(e),Bv(e,Cc(e,0,Wo.textEnd))}(t);n>=0;n=Bv(t,n))Xv(e,Fv(t),B1(t))}function $v(e){Kv(Z1,K1,e,!0)}function K1(e,t){for(let n=function j1(e){return jv(e),kv(e,Cc(e,0,Wo.textEnd))}(t);n>=0;n=kv(t,n))(0,o.ezK)(e,Fv(t),!0)}function Hv(e,t,n,r){const i=(0,o.OAn)(),a=(0,o.klJ)(),c=(0,o.b$O)(2);a.firstUpdatePass&&Gv(a,e,c,r),t!==Cr&&Qr(i,c,t)&&Qv(a,a.data[(0,o._px)()],i,i[o.GpT],e,i[c+1]=function q1(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=(0,o.AsM)(hs(e)))),e}(t,n),r,c)}function Kv(e,t,n,r){const i=(0,o.klJ)(),a=(0,o.b$O)(2);i.firstUpdatePass&&Gv(i,null,a,r);const c=(0,o.OAn)();if(n!==Cr&&Qr(c,a,n)){const d=i.data[(0,o._px)()];if(Zv(d,r)&&!zv(i,a)){let g=r?d.classesWithoutHost:d.stylesWithoutHost;null!==g&&(n=(0,o.n$e)(g,n||"")),Wh(i,d,c,n,r)}else!function J1(e,t,n,r,i,a,c,d){i===Cr&&(i=o.Mlv);let g=0,P=0,B=0<i.length?i[0]:null,te=0<a.length?a[0]:null;for(;null!==B||null!==te;){const De=g<i.length?i[g+1]:void 0,Me=P<a.length?a[P+1]:void 0;let Ot,nt=null;B===te?(g+=2,P+=2,De!==Me&&(nt=te,Ot=Me)):null===te||null!==B&&B<te?(g+=2,nt=B):(P+=2,nt=te,Ot=Me),null!==nt&&Qv(e,t,n,r,nt,Ot,c,d),B=g<i.length?i[g]:null,te=P<a.length?a[P]:null}}(i,d,c,c[o.GpT],c[a+1],c[a+1]=function Y1(e,t,n){if(null==n||""===n)return o.Mlv;const r=[],i=hs(n);if(Array.isArray(i))for(let a=0;a<i.length;a++)e(r,i[a],!0);else if("object"==typeof i)for(const a in i)i.hasOwnProperty(a)&&e(r,a,i[a]);else"string"==typeof i&&t(r,i);return r}(e,t,n),r,a)}}function zv(e,t){return t>=e.expandoStartIndex}function Gv(e,t,n,r){const i=e.data;if(null===i[n+1]){const a=i[(0,o._px)()],c=zv(e,n);Zv(a,r)&&null===t&&!c&&(t=!1),t=function z1(e,t,n,r){const i=(0,o.MT)(e);let a=r?t.residualClasses:t.residualStyles;if(null===i)0===(r?t.classBindings:t.styleBindings)&&(n=Ol(n=up(null,e,t,n,r),t.attrs,r),a=null);else{const c=t.directiveStylingLast;if(-1===c||e[c]!==i)if(n=up(i,e,t,n,r),null===a){let g=function G1(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==Dc(r))return e[ka(r)]}(e,t,r);void 0!==g&&Array.isArray(g)&&(g=up(null,e,t,g[1],r),g=Ol(g,t.attrs,r),function X1(e,t,n,r){e[ka(n?t.classBindings:t.styleBindings)]=r}(e,t,r,g))}else a=function Q1(e,t,n){let r;const i=t.directiveEnd;for(let a=1+t.directiveStylingLast;a<i;a++)r=Ol(r,e[a].hostAttrs,n);return Ol(r,t.attrs,n)}(e,t,r)}return void 0!==a&&(r?t.residualClasses=a:t.residualStyles=a),n}(i,a,t,r),function L1(e,t,n,r,i,a){let c=a?t.classBindings:t.styleBindings,d=ka(c),g=Dc(c);e[r]=n;let B,P=!1;if(Array.isArray(n)?(B=n[1],(null===B||(0,o.FRF)(n,B)>0)&&(P=!0)):B=n,i)if(0!==g){const De=ka(e[d+1]);
vendor: 5,756 bytes, line 1
1e[r+1]=bd(De,d),0!==De&&(e[De+1]=sp(e[De+1],r)),e[d+1]=function x1(e,t){return 131071&e|t<<17}(e[d+1],r)}else e[r+1]=bd(d,0),0!==d&&(e[d+1]=sp(e[d+1],r)),d=r;else e[r+1]=bd(g,0),0===d?d=r:e[g+1]=sp(e[g+1],r),g=r;P&&(e[r+1]=ip(e[r+1])),Lv(e,B,r,!0),Lv(e,B,r,!1),function F1(e,t,n,r,i){const a=i?e.residualClasses:e.residualStyles;null!=a&&"string"==typeof t&&(0,o.FRF)(a,t)>=0&&(n[r+1]=ap(n[r+1]))}(t,B,e,r,a),c=bd(d,g),a?t.classBindings=c:t.styleBindings=c}(i,a,t,n,c,r)}}function up(e,t,n,r,i){let a=null;const c=n.directiveEnd;let d=n.directiveStylingLast;for(-1===d?d=n.directiveStart:d++;d<c&&(a=t[d],r=Ol(r,a.hostAttrs,i),a!==e);)d++;return null!==e&&(n.directiveStylingLast=d),r}function Ol(e,t,n){const r=n?1:2;let i=-1;if(null!==t)for(let a=0;a<t.length;a++){const c=t[a];"number"==typeof c?i=c:i===r&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),(0,o.ezK)(e,c,!!n||t[++a]))}return void 0===e?null:e}function Xv(e,t,n){(0,o.ezK)(e,t,hs(n))}function Z1(e,t,n){const r=String(t);""!==r&&!r.includes(" ")&&(0,o.ezK)(e,r,n)}function Qv(e,t,n,r,i,a,c,d){if(!(3&t.type))return;const g=e.data,P=g[d+1],B=function N1(e){return!(1&~e)}(P)?Yv(g,t,n,i,Dc(P),c):void 0;Id(B)||(Id(a)||function R1(e){return!(2&~e)}(P)&&(a=Yv(g,null,n,i,d,c)),function xE(e,t,n,r,i){if(t)i?e.addClass(n,r):e.removeClass(n,r);else{let a=-1===r.indexOf("-")?void 0:Ut.DashCase;null==i?e.removeStyle(n,r,a):("string"==typeof i&&i.endsWith("!important")&&(i=i.slice(0,-10),a|=Ut.Important),e.setStyle(n,r,i,a))}}(r,c,(0,o.vaC)((0,o._px)(),n),i,a))}function Yv(e,t,n,r,i,a){const c=null===t;let d;for(;i>0;){const g=e[i],P=Array.isArray(g),B=P?g[1]:g,te=null===B;let De=n[i+1];De===Cr&&(De=te?o.Mlv:void 0);let Me=te?(0,o.K7h)(De,r):B===r?De:void 0;if(P&&!Id(Me)&&(Me=(0,o.K7h)(g,r)),Id(Me)&&(d=Me,c))return d;const nt=e[i+1];i=c?ka(nt):Dc(nt)}if(null!==t){let g=a?t.residualClasses:t.residualStyles;null!=g&&(d=(0,o.K7h)(g,r))}return d}function Id(e){return void 0!==e}function Zv(e,t){return!!(e.flags&(t?8:16))}function Jv(e,t=""){const n=(0,o.OAn)(),r=(0,o.klJ)(),i=e+o.Yw1,a=r.firstCreatePass?ba(r,i,1,t,null):r.data[i],c=qv(r,n,a,t,e);n[i]=c,(0,o.SX7)()&&Rf(r,n,c,a),(0,o.iMd)(a,!1)}let qv=(e,t,n,r,i)=>((0,o.m7n)(!0),Uc(t[o.GpT],r));function ey(e,t){let n=!1,r=(0,o.c$7)();for(let a=1;a<t.length;a+=2)n=Qr(e,r++,t[a])||n;if((0,o.Kw3)(r),!n)return Cr;let i=t[0];for(let a=1;a<t.length;a+=2)i+=(0,o.eFE)(t[a])+(a+1!==t.length?t[a+1]:"");return i}function ty(e,t,n,r=""){return Qr(e,(0,o.xbp)(),n)?t+(0,o.eFE)(n)+r:Cr}function ny(e,t,n,r,i,a=""){const d=Ta(e,(0,o.c$7)(),n,i);return(0,o.b$O)(2),d?t+(0,o.eFE)(n)+r+(0,o.eFE)(i)+a:Cr}function ry(e,t,n,r,i,a,c,d=""){const P=Hu(e,(0,o.c$7)(),n,i,c);return(0,o.b$O)(3),P?t+(0,o.eFE)(n)+r+(0,o.eFE)(i)+a+(0,o.eFE)(c)+d:Cr}function oy(e,t,n,r,i,a,c,d,g,P=""){const te=gs(e,(0,o.c$7)(),n,i,c,g);return(0,o.b$O)(4),te?t+(0,o.eFE)(n)+r+(0,o.eFE)(i)+a+(0,o.eFE)(c)+d+(0,o.eFE)(g)+P:Cr}function iy(e,t,n,r,i,a,c,d,g,P,B,te=""){const De=(0,o.c$7)();let Me=gs(e,De,n,i,c,g);return Me=Qr(e,De+4,B)||Me,(0,o.b$O)(5),Me?t+(0,o.eFE)(n)+r+(0,o.eFE)(i)+a+(0,o.eFE)(c)+d+(0,o.eFE)(g)+P+(0,o.eFE)(B)+te:Cr}function sy(e,t,n,r,i,a,c,d,g,P,B,te,De,Me=""){const nt=(0,o.c$7)();let Ot=gs(e,nt,n,i,c,g);return Ot=Ta(e,nt+4,B,De)||Ot,(0,o.b$O)(6),Ot?t+(0,o.eFE)(n)+r+(0,o.eFE)(i)+a+(0,o.eFE)(c)+d+(0,o.eFE)(g)+P+(0,o.eFE)(B)+te+(0,o.eFE)(De)+Me:Cr}function ay(e,t,n,r,i,a,c,d,g,P,B,te,De,Me,nt,Ot=""){const qt=(0,o.c$7)();let cn=gs(e,qt,n,i,c,g);return cn=Hu(e,qt+4,B,De,nt)||cn,(0,o.b$O)(7),cn?t+(0,o.eFE)(n)+r+(0,o.eFE)(i)+a+(0,o.eFE)(c)+d+(0,o.eFE)(g)+P+(0,o.eFE)(B)+te+(0,o.eFE)(De)+Me+(0,o.eFE)(nt)+Ot:Cr}function cy(e,t,n,r,i,a,c,d,g,P,B,te,De,Me,nt,Ot,qt,cn=""){const wt=(0,o.c$7)();let Tr=gs(e,wt,n,i,c,g);return Tr=gs(e,wt+4,B,De,nt,qt)||Tr,(0,o.b$O)(8),Tr?t+(0,o.eFE)(n)+r+(0,o.eFE)(i)+a+(0,o.eFE)(c)+d+(0,o.eFE)(g)+P+(0,o.eFE)(B)+te+(0,o.eFE)(De)+Me+(0,o.eFE)(nt)+Ot+(0,o.eFE)(qt)+cn:Cr}function dp(e){return Od("",e),dp}function Od(e,t,n){const r=(0,o.OAn)(),i=ty(r,e,t,n);return i!==Cr&&Ks(r,(0,o._px)(),i),Od}function fp(e,t,n,r,i){const a=(0,o.OAn)(),c=ny(a,e,t,n,r,i);return c!==Cr&&Ks(a,(0,o._px)(),c),fp}function hp(e,t,n,r,i,a,c){const d=(0,o.OAn)(),g=ry(d,e,t,n,r,i,a,c);return g!==Cr&&Ks(d,(0,o._px)(),g),hp}function pp(e,t,n,r,i,a,c,d,g){const P=(0,o.OAn)(),B=oy(P,e,t,n,r,i,a,c,d,g);return B!==Cr&&Ks(P,(0,o._px)(),B),pp}function Ks(e,t,n){const r=(0,o.vaC)(t,e);Vc(e[o.GpT],r,n)}function gp(e,t,n){(0,o.n$r)(t)&&(t=t());const r=(0,o.OAn)();return Qr(r,(0,o.xbp)(),t)&&((0,o.klJ)(),Nf((0,o.CpD)(),r,e,t,r[o.GpT],n)),gp}function py(e,t){const n=(0,o.n$r)(e);return n&&e.set(t),n}function _p(e,t){const n=(0,o.OAn)(),r=(0,o.klJ)(),i=(0,o.Mx4)();return op(r,n,n[o.GpT],i,e,t),_p}const gy={};function mp(e){const t=(0,o.klJ)(),n=(0,o.OAn)(),r=e+o.Yw1,i=ba(t,r,128,null,null);return(0,o.iMd)(i,!1),(0,o.M_e)(t,n,r,gy),mp}function _y(e){ii("NgLet");const t=(0,o.klJ)(),n=(0,o.OAn)(),r=(0,o._px)();return(0,o.M_e)(t,n,r,e),e}function my(e){const t=(0,o.VPL)(),n=(0,o.Hh6)(t,o.Yw1+e);if(n===gy)throw new o.buA(314,!1);return n}function vy(e){return Qr((0,o.OAn)(),(0,o.xbp)(),e)?(0,o.eFE)(e):Cr}function yy(e,t,n=""){return ty((0,o.OAn)(),e,t,n)}function vp(e,t,n,r,i){if(e=(0,o.nl4)(e),Array.isArray(e))for(let a=0;a<e.length;a++)vp(e[a],t,n,r,i);else{const a=(0,o.klJ)(),c=(0,o.OAn)(),d=(0,o.Mx4)();let g=(0,o.Y3W)(e)?e:(0,o.nl4)(e.provide);const P=(0,o.Rc9)(e),B=1048575&d.providerIndexes,te=d.directiveStart,De=d.providerIndexes>>20;if((0,o.Y3W)(e)||!e.multi){const Me=new Ee(P,i,lc,null),nt=Ep(g,t,i?B:B+De,te);-1===nt?(Kr(er(d,c),a,g),yp(a,e,t.length),t.push(g),d.directiveStart++,d.directiveEnd++,i&&(d.providerIndexes+=1048576),n.push(Me),c.push(Me)):(n[nt]=Me,c[nt]=Me)}else{const Me=Ep(g,t,B+De,te),nt=Ep(g,t,B,B+De),qt=nt>=0&&n[nt];
vendor: 6,887 bytes, line 1
1if(i&&!qt||!i&&!(Me>=0&&n[Me])){Kr(er(d,c),a,g);const cn=function hI(e,t,n,r,i){const c=new Ee(e,n,lc,null);return c.multi=[],c.index=t,c.componentProviders=0,Ey(c,i,r&&!n),c}(i?fI:dI,n.length,i,r,P);!i&&qt&&(n[nt].providerFactory=cn),yp(a,e,t.length,0),t.push(g),d.directiveStart++,d.directiveEnd++,i&&(d.providerIndexes+=1048576),n.push(cn),c.push(cn)}else yp(a,e,Me>-1?Me:nt,Ey(n[i?nt:Me],P,!i&&r));!i&&r&&qt&&n[nt].componentProviders++}}}function yp(e,t,n,r){const i=(0,o.Y3W)(t),a=(0,o.MME)(t);if(i||a){const g=(a?(0,o.nl4)(t.useClass):t).prototype.ngOnDestroy;if(g){const P=e.destroyHooks||(e.destroyHooks=[]);if(!i&&t.multi){const B=P.indexOf(n);-1===B?P.push(n,[r,g]):P[B+1].push(r,g)}else P.push(n,g)}}}function Ey(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Ep(e,t,n,r){for(let i=n;i<r;i++)if(t[i]===e)return i;return-1}function dI(e,t,n,r,i){return Dp(this.multi,[])}function fI(e,t,n,r,i){const a=this.multi;let c;if(this.providerFactory){const d=this.providerFactory.componentProviders,g=R(r,r[o.eDl],this.providerFactory.index,i);c=g.slice(0,d),Dp(a,c);for(let P=d;P<g.length;P++)c.push(g[P])}else c=[],Dp(a,c);return c}function Dp(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function Dy(e,t=[]){return n=>{n.providersResolver=(r,i)=>function uI(e,t,n){const r=(0,o.klJ)();if(r.firstCreatePass){const i=(0,o.JlV)(e);vp(n,r.data,r.blueprint,i,!0),vp(t,r.data,r.blueprint,i,!1)}}(r,i?i(e):e,t)}}function Td(e){if("function"==typeof e)return e;const t=(0,o.Bqz)(e);return t.some(o.Jzi)?()=>t.map(o.nl4).map(Cy):t.map(Cy)}function Cy(e){return Zf(e)?e.ngModule:e}function My(e,t,n){const r=(0,o.gxQ)()+e,i=(0,o.OAn)();return i[r]===Cr?Ns(i,r,n?t.call(n):t()):hl(i,r)}function by(e,t,n,r){return Ay((0,o.OAn)(),(0,o.gxQ)(),e,t,n,r)}function Iy(e,t,n,r,i){return Py((0,o.OAn)(),(0,o.gxQ)(),e,t,n,r,i)}function Oy(e,t,n,r,i,a){return wy((0,o.OAn)(),(0,o.gxQ)(),e,t,n,r,i,a)}function Ty(e,t,n,r,i,a,c){return Sy((0,o.OAn)(),(0,o.gxQ)(),e,t,n,r,i,a,c)}function Tl(e,t){const n=e[t];return n===Cr?void 0:n}function Ay(e,t,n,r,i,a){const c=t+n;return Qr(e,c,i)?Ns(e,c+1,a?r.call(a,i):r(i)):Tl(e,c+1)}function Py(e,t,n,r,i,a,c){const d=t+n;return Ta(e,d,i,a)?Ns(e,d+2,c?r.call(c,i,a):r(i,a)):Tl(e,d+2)}function wy(e,t,n,r,i,a,c,d){const g=t+n;return Hu(e,g,i,a,c)?Ns(e,g+3,d?r.call(d,i,a,c):r(i,a,c)):Tl(e,g+3)}function Sy(e,t,n,r,i,a,c,d,g){const P=t+n;return gs(e,P,i,a,c,d)?Ns(e,P+4,g?r.call(g,i,a,c,d):r(i,a,c,d)):Tl(e,P+4)}function Ry(e,t,n,r,i,a){let c=t+n,d=!1;for(let g=0;g<i.length;g++)Qr(e,c++,i[g])&&(d=!0);return d?Ns(e,c,r.apply(a,i)):Tl(e,c)}function xy(e,t){const n=(0,o.klJ)();let r;const i=e+o.Yw1;n.firstCreatePass?(r=function CI(e,t){if(t)for(let n=t.length-1;n>=0;n--){const r=t[n];if(e===r.name)return r}}(t,n.pipeRegistry),n.data[i]=r,r.onDestroy&&(n.destroyHooks??=[]).push(i,r.onDestroy)):r=n.data[i];const a=r.factory||(r.factory=(0,o.wGu)(r.type,!0)),d=(0,o.a2B)(lc);try{const g=xn(!1),P=a();return xn(g),(0,o.M_e)(n,(0,o.OAn)(),i,P),P}finally{(0,o.a2B)(d)}}function Ny(e,t,n){const r=e+o.Yw1,i=(0,o.OAn)(),a=(0,o.Hh6)(i,r);return Al(i,r)?Ay(i,(0,o.gxQ)(),t,a.transform,n,a):a.transform(n)}function Ly(e,t,n,r){const i=e+o.Yw1,a=(0,o.OAn)(),c=(0,o.Hh6)(a,i);return Al(a,i)?Py(a,(0,o.gxQ)(),t,c.transform,n,r,c):c.transform(n,r)}function Fy(e,t,n,r,i){const a=e+o.Yw1,c=(0,o.OAn)(),d=(0,o.Hh6)(c,a);return Al(c,a)?wy(c,(0,o.gxQ)(),t,d.transform,n,r,i,d):d.transform(n,r,i)}function Al(e,t){return e[o.eDl].data[t].pure}function ky(e,t){return Nu(e,t)}function Ad(e,t,n,r,i){const a=i[o.eDl];if(a!==r.tView)for(let c=o.Yw1;c<a.bindingStartIndex;c++){const d=i[c];if((0,o.A0l)(d)){(0,o.q$2)(d[o.jgP])&&Ad(e,t,n,r,d[o.jgP]);for(let g=o.Y20;g<d.length;g++)Ad(e,t,n,r,d[g])}else(0,o.q$2)(d)&&Ad(e,t,n,r,d)}else!function SI(e,t,n,r,i){const a=i[o.SKP];let c=i[o.jgP];const d=i[o.f7T],g=i[o.qlT],P=i[o.YEL].get(jr,null),B=()=>{if(r.encapsulation===re.ShadowDom){const nt=c.cloneNode(!1);c.replaceWith(nt),c=nt}const te=v(n),De=D(d,te,a,C(n),c,g,null,null,null,null,null);(function RI(e,t,n,r){for(let i=o.Yw1;i<e[o.eDl].bindingStartIndex;i++){const a=e[i];if(((0,o.q$2)(a)||(0,o.A0l)(a))&&a[o.K29]===t){a[o.K29]=n;break}}e[o.EJG]===t&&(e[o.EJG]=n),e[o.Yrj]===t&&(e[o.Yrj]=n),n[o.K29]=t[o.K29],t[o.K29]=null,e[r]=n})(d,i,De,g.index),qc(i[o.eDl],i);const Me=i[o.M0L].rendererFactory;(function wI(e,t){e.componentReplaced?.(t.id)})(Me,r),De[o.GpT]=Me.createRenderer(c,n),qp(i[o.eDl],i),function xI(e){if(null!==e.projection){for(const t of e.projection)Je(t)&&(t.projectionNext=null,t.flags&=-3);e.projection=null}}(g),Su(te,De,a),vg(te,De,te.template,a)};null===P?By(e,t,B):P.run(()=>By(e,t,B))}(e,t,n,r,i)}function By(e,t,n){try{n()}catch(r){if(null!==t&&r.message){const a=r.message+(r.stack?"\n"+r.stack:"");e?.hot?.send?.("angular:invalidate",{id:t,message:a,error:!0})}throw r}}const sa={\u0275\u0275animateEnter:function ld(e){if(ii("NgAnimateEnter"),!Na)return ld;const t=(0,o.OAn)();if(od(t))return ld;const n=(0,o.Mx4)();return id(n,t),ad(sd(t),n,()=>function bb(e,t,n){const r=(0,o.d31)(t,e),i=e[o.GpT],a=e[o.YEL].get(jr),c=Vm(n),d=[],g=B=>{if(B.target!==r)return;const te=B instanceof AnimationEvent?"animationend":"transitionend";a.runOutsideAngular(()=>{i.listen(r,te,P)})},P=B=>{B.target===r&&function Ib(e,t,n){const r=mc.get(t);if(e.target===t&&r&&Wm(e,t)){e.stopImmediatePropagation();for(const i of r.classList)n.removeClass(t,i);xh(t)}}(B,r,i)};if(c&&c.length>0){a.runOutsideAngular(()=>{d.push(i.listen(r,"animationstart",g)),d.push(i.listen(r,"transitionstart",g))}),function Eb(e,t,n){const r=mc.get(e);if(r){for(const i of t)r.classList.push(i);for(const i of n)r.cleanupFns.push(i)}else mc.set(e,{classList:t,cleanupFns:n})}(r,c,d);for(const B of c)i.addClass(r,B);a.runOutsideAngular(()=>{requestAnimationFrame(()=>{if(Or(r,La,Na),!La.has(r)){for(const B of c)i.removeClass(r,B);xh(r)}})})}}(t,n,e)),Mu(t[o.YEL]),Tf(t[o.YEL],sd(t)),ld},\u0275\u0275animateEnterListener:function ud(e){if(ii("NgAnimateEnter"),!Na)return ud;const t=(0,o.OAn)();if(od(t))return ud;const n=(0,o.Mx4)();return id(n,t),ad(sd(t),n,()=>function Ob(e,t,n){const r=(0,o.d31)(t,e);n.call(e[o.SKP],{target:r,animationComplete:Db})}(t,n,e)),Mu(t[o.YEL]),Tf(t[o.YEL],sd(t)),ud},\u0275\u0275animateLeave:function dd(e){if(ii("NgAnimateLeave"),!Na)return dd;const t=(0,o.OAn)();if(od(t))return dd;const r=(0,o.Mx4)();return id(r,t),ad(Fa(t),r,()=>function Tb(e,t,n){const{promise:r,resolve:i}=Th(),a=(0,o.d31)(t,e),c=e[o.GpT],d=e[o.YEL].get(jr);Vo.add(e),(Fa(e).get(t.index).resolvers??=[]).push(i);const g=Vm(n);return g&&g.length>0?function Ab(e,t,n,r,i,a){!function Cb(e,t){if(!Na)return;const n=mc.get(e);if(n&&n.classList.length>0&&function Mb(e,t){for(const n of t)if(e.classList.contains(n))return!0;return!1}(e,n.classList))for(const r of n.classList)t.removeClass(e,r);xh(e)}(e,i);const c=[],d=Fa(n).get(t.index)?.resolvers,g=P=>
1{if(P.target===e&&(P instanceof CustomEvent||Wm(P,e))){if(P.stopImmediatePropagation(),La.delete(e),Nh(t,e),Array.isArray(t.projection))for(const B of r)i.removeClass(e,B);Lh(d,c),Fh(n,t)}};a.runOutsideAngular(()=>{c.push(i.listen(e,"animationend",g)),c.push(i.listen(e,"transitionend",g))}),Um(t,e);for(const P of r)i.addClass(e,P);a.runOutsideAngular(()=>{requestAnimationFrame(()=>{Or(e,La,Na),La.has(e)||(Nh(t,e),Lh(d,c),Fh(n,t))})})}(a,t,e,g,c,d):i(),{promise:r,resolve:i}}(t,r,e)),Mu(t[o.YEL]),dd},\u0275\u0275animateLeaveListener:function kh(e){if(ii("NgAnimateLeave"),!Na)return kh;const t=(0,o.OAn)(),n=(0,o.Mx4)();return id(n,t),Vo.add(t),ad(Fa(t),n,()=>function Pb(e,t,n){const{promise:r,resolve:i}=Th(),a=(0,o.d31)(t,e),c=[],d=e[o.GpT],g=od(e),P=e[o.YEL].get(jr),B=e[o.YEL].get(mb);(Fa(e).get(t.index).resolvers??=[]).push(i);const te=Fa(e).get(t.index)?.resolvers;if(g)cd(e,t,a,te,c);else{const De=setTimeout(()=>cd(e,t,a,te,c),B),Me={target:a,animationComplete:()=>{cd(e,t,a,te,c),clearTimeout(De)}};Um(t,a),P.runOutsideAngular(()=>{c.push(d.listen(a,"animationend",()=>{cd(e,t,a,te,c),clearTimeout(De)},{once:!0}))}),n.call(e[o.SKP],Me)}return{promise:r,resolve:i}}(t,n,e)),Mu(t[o.YEL]),kh},\u0275\u0275attribute:Rh,\u0275\u0275defineComponent:w_,\u0275\u0275defineDirective:x_,\u0275\u0275defineInjectable:o.jDH,\u0275\u0275defineInjector:o.G2t,\u0275\u0275defineNgModule:R_,\u0275\u0275definePipe:N_,\u0275\u0275directiveInject:lc,\u0275\u0275getInheritedFactory:Vn,\u0275\u0275inject:o.KVO,\u0275\u0275injectAttribute:Hn,\u0275\u0275invalidFactory:Zg,\u0275\u0275invalidFactoryDep:o.dmw,\u0275\u0275templateRefExtractor:ky,\u0275\u0275resetView:o.Njj,\u0275\u0275HostDirectivesFeature:function EC(e){const t=n=>{const r=Array.isArray(e);null===n.hostDirectives?(n.resolveHostDirectives=DC,n.hostDirectives=r?e.map(mh):[e]):r?n.hostDirectives.unshift(...e.map(mh)):n.hostDirectives.unshift(e)};return t.ngInherit=!0,t},\u0275\u0275NgOnChangesFeature:Nt,\u0275\u0275ProvidersFeature:Dy,\u0275\u0275CopyDefinitionFeature:function yC(e){let n,t=k_(e.type);n=(0,o.JlV)(e)?t.\u0275cmp:t.\u0275dir;const r=e;for(const i of mC)r[i]=n[i];if((0,o.JlV)(n))for(const i of vC)r[i]=n[i]},\u0275\u0275InheritDefinitionFeature:gh,\u0275\u0275ExternalStylesFeature:function pI(e){return t=>{e.length<1||(t.getExternalStyles=n=>e.map(i=>i+"?ngcomp"+(n?"="+encodeURIComponent(n):"")+"&e="+t.encapsulation))}},\u0275\u0275nextContext:bv,\u0275\u0275namespaceHTML:o.joV,\u0275\u0275namespaceMathML:o.By9,\u0275\u0275namespaceSVG:o.qSk,\u0275\u0275enableBindings:o.cSN,\u0275\u0275disableBindings:o.fuf,\u0275\u0275elementStart:pd,\u0275\u0275elementEnd:gd,\u0275\u0275element:$h,\u0275\u0275elementContainerStart:vd,\u0275\u0275elementContainerEnd:Dl,\u0275\u0275domElement:Hh,\u0275\u0275domElementStart:_d,\u0275\u0275domElementEnd:md,\u0275\u0275domElementContainer:Xh,\u0275\u0275domElementContainerStart:Gh,\u0275\u0275domElementContainerEnd:qm,\u0275\u0275domTemplate:yh,\u0275\u0275domListener:rp,\u0275\u0275elementContainer:zh,\u0275\u0275pureFunction0:My,\u0275\u0275pureFunction1:by,\u0275\u0275pureFunction2:Iy,\u0275\u0275pureFunction3:Oy,\u0275\u0275pureFunction4:Ty,\u0275\u0275pureFunction5:function mI(e,t,n,r,i,a,c,d){const g=(0,o.gxQ)()+e,P=(0,o.OAn)(),B=gs(P,g,n,r,i,a);return Qr(P,g+4,c)||B?Ns(P,g+5,d?t.call(d,n,r,i,a,c):t(n,r,i,a,c)):hl(P,g+5)},\u0275\u0275pureFunction6:function vI(e,t,n,r,i,a,c,d,g){const P=(0,o.gxQ)()+e,B=(0,o.OAn)(),te=gs(B,P,n,r,i,a);return Ta(B,P+4,c,d)||te?Ns(B,P+6,g?t.call(g,n,r,i,a,c,d):t(n,r,i,a,c,d)):hl(B,P+6)},\u0275\u0275pureFunction7:function yI(e,t,n,r,i,a,c,d,g,P){const B=(0,o.gxQ)()+e,te=(0,o.OAn)();let De=gs(te,B,n,r,i,a);return Hu(te,B+4,c,d,g)||De?Ns(te,B+7,P?t.call(P,n,r,i,a,c,d,g):t(n,r,i,a,c,d,g)):hl(te,B+7)},\u0275\u0275pureFunction8:function EI(e,t,n,r,i,a,c,d,g,P,B){const te=(0,o.gxQ)()+e,De=(0,o.OAn)(),Me=gs(De,te,n,r,i,a);return gs(De,te+4,c,d,g,P)||Me?Ns(De,te+8,B?t.call(B,n,r,i,a,c,d,g,P):t(n,r,i,a,c,d,g,P)):hl(De,te+8)},\u0275\u0275pureFunctionV:function DI(e,t,n,r){return Ry((0,o.OAn)(),(0,o.gxQ)(),e,t,n,r)},\u0275\u0275getCurrentView:ev,\u0275\u0275restoreView:o.eBV,\u0275\u0275listener:np,\u0275\u0275projection:Ov,\u0275\u0275syntheticHostProperty:function tv(e,t,n){const r=(0,o.OAn)();if(Qr(r,(0,o.xbp)(),t)){const a=(0,o.klJ)(),c=(0,o.CpD)();Lf(c,r,e,t,hg((0,o.MT)(a.data),c,r),n)}return tv},\u0275\u0275syntheticHostListener:function Mv(e,t){const n=(0,o.Mx4)(),r=(0,o.OAn)(),i=(0,o.klJ)();return op(i,r,hg((0,o.MT)(i.data),n,r),n,e,t),Mv}
vendor: 5,377 bytes, line 1
1,\u0275\u0275pipeBind1:Ny,\u0275\u0275pipeBind2:Ly,\u0275\u0275pipeBind3:Fy,\u0275\u0275pipeBind4:function MI(e,t,n,r,i,a){const c=e+o.Yw1,d=(0,o.OAn)(),g=(0,o.Hh6)(d,c);return Al(d,c)?Sy(d,(0,o.gxQ)(),t,g.transform,n,r,i,a,g):g.transform(n,r,i,a)},\u0275\u0275pipeBindV:function bI(e,t,n){const r=e+o.Yw1,i=(0,o.OAn)(),a=(0,o.Hh6)(i,r);return Al(i,r)?Ry(i,(0,o.gxQ)(),t,a.transform,n,a):a.transform.apply(a,n)},\u0275\u0275projectionDef:Iv,\u0275\u0275domProperty:Yh,\u0275\u0275ariaProperty:function jm(e,t){const n=(0,o.OAn)();if(Qr(n,(0,o.xbp)(),t)){const i=(0,o.klJ)(),a=(0,o.CpD)();if(wu(a,i,n,e,t))(0,o.Qs1)(a)&&dg(n,a.index);else{const d=(0,o.d31)(a,n);Tu(n[o.GpT],d,null,a.value,e,t,null)}}return jm},\u0275\u0275property:Vh,\u0275\u0275pipe:xy,\u0275\u0275queryRefresh:Pv,\u0275\u0275queryAdvance:xv,\u0275\u0275viewQuery:Av,\u0275\u0275viewQuerySignal:Rv,\u0275\u0275loadQuery:wv,\u0275\u0275contentQuery:Tv,\u0275\u0275contentQuerySignal:Sv,\u0275\u0275reference:Nv,\u0275\u0275classMap:$v,\u0275\u0275styleMap:Wv,\u0275\u0275styleProp:cp,\u0275\u0275classProp:lp,\u0275\u0275advance:dt,\u0275\u0275template:vh,\u0275\u0275conditional:Xm,\u0275\u0275conditionalCreate:Gm,\u0275\u0275conditionalBranchCreate:fd,\u0275\u0275defer:Lm,\u0275\u0275deferWhen:Fm,\u0275\u0275deferOnIdle:function eb(){yo(0,(0,o.OAn)(),(0,o.Mx4)())&&Tm(Ju)},\u0275\u0275deferOnImmediate:function nb(){const e=(0,o.OAn)(),t=(0,o.Mx4)();yo(0,e,t)&&(null===si(e[o.eDl],t).loadingTmplIndex&&gc(e,t),Ra(0,e,t))},\u0275\u0275deferOnTimer:function ib(e){yo(0,(0,o.OAn)(),(0,o.Mx4)())&&Tm(qu(e))},\u0275\u0275deferOnHover:function cb(e,t){const n=(0,o.OAn)(),r=(0,o.Mx4)();yo(0,n,r)&&(gc(n,r),pc(n,r,e,t,M,()=>Ra(0,n,r),0))},\u0275\u0275deferOnInteraction:function db(e,t){const n=(0,o.OAn)(),r=(0,o.Mx4)();yo(0,n,r)&&(gc(n,r),pc(n,r,e,t,m,()=>Ra(0,n,r),0))},\u0275\u0275deferOnViewport:Bm,\u0275\u0275deferPrefetchWhen:function ZM(e){const t=(0,o.OAn)(),n=(0,o.CpD)();if(yo(1,t,n)&&Qr(t,(0,o.xbp)(),e)){const i=(0,Xe.Ht)(null);try{const a=!!e,d=si(t[o.eDl],n);!0===a&&d.loadingState===Oo.NOT_STARTED&&El(d,t,n)}finally{(0,Xe.Ht)(i)}}},\u0275\u0275deferPrefetchOnIdle:km,\u0275\u0275deferPrefetchOnImmediate:function rb(){const e=(0,o.OAn)(),t=(0,o.Mx4)();if(!yo(1,e,t))return;const r=si(e[o.eDl],t);r.loadingState===Oo.NOT_STARTED&&Ah(r,e,t)},\u0275\u0275deferPrefetchOnTimer:function sb(e){yo(1,(0,o.OAn)(),(0,o.Mx4)())&&Am(qu(e))},\u0275\u0275deferPrefetchOnHover:function lb(e,t){const n=(0,o.OAn)(),r=(0,o.Mx4)();if(!yo(1,n,r))return;const a=si(n[o.eDl],r);a.loadingState===Oo.NOT_STARTED&&pc(n,r,e,t,M,()=>El(a,n,r),1)},\u0275\u0275deferPrefetchOnInteraction:function fb(e,t){const n=(0,o.OAn)(),r=(0,o.Mx4)();if(!yo(1,n,r))return;const a=si(n[o.eDl],r);a.loadingState===Oo.NOT_STARTED&&pc(n,r,e,t,m,()=>El(a,n,r),1)},\u0275\u0275deferPrefetchOnViewport:function pb(e,t){const n=(0,o.OAn)(),r=(0,o.Mx4)();if(!yo(1,n,r))return;const a=si(n[o.eDl],r);a.loadingState===Oo.NOT_STARTED&&pc(n,r,e,t,Dh,()=>El(a,n,r),1)},\u0275\u0275deferHydrateWhen:function JM(e){const t=(0,o.OAn)(),n=(0,o.CpD)();if(!yo(2,t,n))return;const r=(0,o.xbp)();if(ia((0,o.klJ)(),n).set(6,null),Qr(t,r,e)){const c=t[o.YEL],d=(0,Xe.Ht)(null);try{1==!!e&&xa(c,Bi(t,n)[6])}finally{(0,Xe.Ht)(d)}}},\u0275\u0275deferHydrateNever:function qM(){const e=(0,o.OAn)(),t=(0,o.Mx4)();yo(2,e,t)&&ia((0,o.klJ)(),t).set(7,null)},\u0275\u0275deferHydrateOnIdle:function tb(){const e=(0,o.OAn)(),t=(0,o.Mx4)();yo(2,e,t)&&(ia((0,o.klJ)(),t).set(0,null),Pm(Ju,e,t))},\u0275\u0275deferHydrateOnImmediate:function ob(){const e=(0,o.OAn)(),t=(0,o.Mx4)();yo(2,e,t)&&(ia((0,o.klJ)(),t).set(1,null),xa(e[o.YEL],Bi(e,t)[6]))},\u0275\u0275deferHydrateOnTimer:function ab(e){const t=(0,o.OAn)(),n=(0,o.Mx4)();yo(2,t,n)&&(ia((0,o.klJ)(),n).set(5,{delay:e}),Pm(qu(e),t,n))},\u0275\u0275deferHydrateOnHover:function ub(){const e=(0,o.OAn)(),t=(0,o.Mx4)();yo(2,e,t)&&ia((0,o.klJ)(),t).set(4,null)},\u0275\u0275deferHydrateOnInteraction:function hb(){const e=(0,o.OAn)(),t=(0,o.Mx4)();yo(2,e,t)&&ia((0,o.klJ)(),t).set(3,null)},\u0275\u0275deferHydrateOnViewport:function gb(){const e=(0,o.OAn)(),t=(0,o.Mx4)();yo(2,e,t)&&ia((0,o.klJ)(),t).set(2,null)},\u0275\u0275deferEnableTimerScheduling:function HC(e,t,n,r){const i=e.consts;null!=n&&(t.placeholderBlockConfig=(0,o.db4)(i,n)),null!=r&&(t.loadingBlockConfig=(0,o.db4)(i,r)),null===Mh&&(Mh=$C)},\u0275\u0275repeater:Jm,\u0275\u0275repeaterCreate:Zm,\u0275\u0275repeaterTrackByIndex:Qm,\u0275\u0275repeaterTrackByIdentity:Ym,\u0275\u0275componentInstance:$m,\u0275\u0275text:Jv,\u0275\u0275textInterpolate:dp,\u0275\u0275textInterpolate1:Od,\u0275\u0275textInterpolate2:fp,\u0275\u0275textInterpolate3:hp,\u0275\u0275textInterpolate4:pp,\u0275\u0275textInterpolate5:function ly(e,t,n,r,i,a,c,d,g,P,B){const te=(0,o.OAn)(),De=iy(te,e,t,n,r,i,a,c,d,g,P,B);return De!==Cr&&Ks(te,(0,o._px)(),De),ly},\u0275\u0275textInterpolate6:function uy(e,t,n,r,i,a,c,d,g,P,B,te,De){const Me=(0,o.OAn)(),nt=sy(Me,e,t,n,r,i,a,c,d,g,P,B,te,De);return nt!==Cr&&Ks(Me,(0,o._px)(),nt),uy},\u0275\u0275textInterpolate7:function dy(e,t,n,r,i,a,c,d,g,P,B,te,De,Me,nt){const Ot=(0,o.OAn)(),qt=ay(Ot,e,t,n,r,i,a,c,d,g,P,B,te,De,Me,nt);return qt!==Cr&&Ks(Ot,(0,o._px)(),qt),dy},\u0275\u0275textInterpolate8:function fy(e,t,n,r,i,a,c,d,g,P,B,te,De,Me,nt,Ot,qt){const cn=(0,o.OAn)(),wt=cy(cn,e,t,n,r,i,a,c,d,g,P,B,te,De,Me,nt,Ot,qt);
vendor: 5,275 bytes, line 1
1return wt!==Cr&&Ks(cn,(0,o._px)(),wt),fy},\u0275\u0275textInterpolateV:function hy(e){const t=(0,o.OAn)(),n=ey(t,e);return n!==Cr&&Ks(t,(0,o._px)(),n),hy},\u0275\u0275i18n:function O1(e,t,n){Ev(e,t,n),Dv()},\u0275\u0275i18nAttributes:function T1(e,t){const n=(0,o.klJ)(),r=(0,o.db4)(n.consts,t);!function l1(e,t,n){const r=(0,o.Mx4)(),i=r.index,a=[];if(e.firstCreatePass&&null===e.data[t]){for(let c=0;c<n.length;c+=2){const d=n[c],g=n[c+1];if(""!==g){if(t1.test(g))throw new Error(`ICU expressions are not supported in attributes. Message: "${g}".`);const P=r.namespace?`:${r.namespace}:${r.value}`:r.value;Md(a,g,i,d,u1(a),tp(d,P))}}e.data[t]=a}}(n,e+o.Yw1,r)},\u0275\u0275i18nExp:function Cv(e){return function Qb(e){e&&(Cl|=1<<Math.min(Ml,31)),Ml++}(Qr((0,o.OAn)(),(0,o.xbp)(),e)),Cv},\u0275\u0275i18nStart:Ev,\u0275\u0275i18nEnd:Dv,\u0275\u0275i18nApply:function A1(e){!function Yb(e,t,n){if(Ml>0){const r=e.data[n];av(e,t,Array.isArray(r)?r:r.update,(0,o.c$7)()-Ml-1,Cl)}Cl=0,Ml=0}((0,o.klJ)(),(0,o.OAn)(),e+o.Yw1)},\u0275\u0275i18nPostprocess:function P1(e,t={}){return function I1(e,t={}){let n=e;if(v1.test(e)){const r={},i=[0];n=n.replace(y1,(a,c,d)=>{const g=c||d,P=r[g]||[];if(P.length||(g.split("|").forEach(Ot=>{const qt=Ot.match(b1),cn=qt?parseInt(qt[1],10):0,wt=M1.test(Ot);P.push([cn,wt,Ot])}),r[g]=P),!P.length)throw new Error(`i18n postprocess: unmatched placeholder - ${g}`);const B=i[i.length-1];let te=0;for(let Ot=0;Ot<P.length;Ot++)if(P[Ot][0]===B){te=Ot;break}const[De,Me,nt]=P[te];return Me?i.pop():B!==De&&i.push(De),P.splice(te,1),nt})}return Object.keys(t).length&&(n=n.replace(E1,(r,i,a,c,d,g)=>t.hasOwnProperty(a)?`${i}${t[a]}${g}`:r),n=n.replace(D1,(r,i)=>t.hasOwnProperty(i)?t[i]:r),n=n.replace(C1,(r,i)=>{if(t.hasOwnProperty(i)){const a=t[i];if(!a.length)throw new Error(`i18n postprocess: unmatched ICU - ${r} with key: ${i}`);return a.shift()}return r})),n}(e,t)},\u0275\u0275resolveWindow:du,\u0275\u0275resolveDocument:fu,\u0275\u0275resolveBody:function hu(e){return e.ownerDocument.body},\u0275\u0275setComponentScope:function gI(e,t,n){const r=e.\u0275cmp;r.directiveDefs=Xu(t,S_),r.pipeDefs=Xu(n,o.oyA)},\u0275\u0275setNgModuleScope:function _I(e,t){return kn(()=>{const n=(0,o.WbQ)(e);n.declarations=Td(t.declarations||o.Mlv),n.imports=Td(t.imports||o.Mlv),n.exports=Td(t.exports||o.Mlv),t.bootstrap&&(n.bootstrap=Td(t.bootstrap)),fl.registerNgModule(e,t)})},\u0275\u0275registerNgModuleType:O_,\u0275\u0275getComponentDepsFactory:function II(e,t){return()=>{try{return fl.getComponentDependencies(e,t).dependencies}catch(n){throw console.error(`Computing dependencies in local compilation mode for the component "${e.name}" failed with the exception:`,n),n}}},\u0275setClassDebugInfo:function OI(e,t){const n=(0,o.xUg)(e);null!==n&&(n.debugInfo=t)},\u0275\u0275declareLet:mp,\u0275\u0275storeLet:_y,\u0275\u0275readContextLet:my,\u0275\u0275attachSourceLocations:function tI(e,t){const n=(0,o.klJ)(),r=(0,o.OAn)(),i=r[o.GpT],a="data-ng-source-location";for(const[c,d,g,P]of t){(0,o.XRZ)(n,c+o.Yw1);const te=(0,o.vaC)(c+o.Yw1,r);te.hasAttribute(a)||i.setAttribute(te,a,`${e}@o:${d},l:${g},c:${P}`)}},\u0275\u0275interpolate:vy,\u0275\u0275interpolate1:yy,\u0275\u0275interpolate2:function nI(e,t,n,r,i=""){return ny((0,o.OAn)(),e,t,n,r,i)},\u0275\u0275interpolate3:function rI(e,t,n,r,i,a,c=""){return ry((0,o.OAn)(),e,t,n,r,i,a,c)},\u0275\u0275interpolate4:function oI(e,t,n,r,i,a,c,d,g=""){return oy((0,o.OAn)(),e,t,n,r,i,a,c,d,g)},\u0275\u0275interpolate5:function iI(e,t,n,r,i,a,c,d,g,P,B=""){return iy((0,o.OAn)(),e,t,n,r,i,a,c,d,g,P,B)},\u0275\u0275interpolate6:function sI(e,t,n,r,i,a,c,d,g,P,B,te,De=""){return sy((0,o.OAn)(),e,t,n,r,i,a,c,d,g,P,B,te,De)},\u0275\u0275interpolate7:function aI(e,t,n,r,i,a,c,d,g,P,B,te,De,Me,nt=""){return ay((0,o.OAn)(),e,t,n,r,i,a,c,d,g,P,B,te,De,Me,nt)},\u0275\u0275interpolate8:function cI(e,t,n,r,i,a,c,d,g,P,B,te,De,Me,nt,Ot,qt=""){return cy((0,o.OAn)(),e,t,n,r,i,a,c,d,g,P,B,te,De,Me,nt,Ot,qt)},\u0275\u0275interpolateV:function lI(e){return ey((0,o.OAn)(),e)},\u0275\u0275sanitizeHtml:Kc,\u0275\u0275sanitizeStyle:su,\u0275\u0275sanitizeResourceUrl:Gc,\u0275\u0275sanitizeScript:ec,\u0275\u0275validateAttribute:uu,\u0275\u0275sanitizeUrl:zc,\u0275\u0275sanitizeUrlOrResourceUrl:au,\u0275\u0275trustConstantHtml:function nf(e){return ha(e[0])},\u0275\u0275trustConstantResourceUrl:function Xc(e){return function kd(e){return jl()?.createScriptURL(e)||e}(e[0])},forwardRef:o.Rfq,resolveForwardRef:o.nl4,\u0275\u0275twoWayProperty:gp,\u0275\u0275twoWayBindingSet:py,\u0275\u0275twoWayListener:_p,\u0275\u0275replaceMetadata:function AI(e,t,n,r,i=null,a=null){const c=(0,o.xUg)(e);t.apply(null,[e,n,...r]);const{newDef:d,oldDef:g}=function PI(e,t){const n={...e};return{newDef:Object.assign(e,t,{directiveDefs:n.directiveDefs,pipeDefs:n.pipeDefs,setInput:n.setInput,type:n.type}),oldDef:n}}(c,(0,o.xUg)(e));if(e[o.CQl]=d,g.tView){const P=function Vr(){return Po}().values();for(const B of P)(0,o.EFk)(B)&&null===B[o.f7T]&&Ad(i,a,d,g,B)}},\u0275\u0275getReplaceMetadataURL:function TI(e,t,n){const r=`./@ng/component?c=${e}&t=${encodeURIComponent(t)}`;return new URL(r,n).href}};let Mc=null;function NI(e){null!==Mc&&(e.defaultEncapsulation!==Mc.defaultEncapsulation||e.preserveWhitespace
1s!==Mc.preserveWhitespaces)||(Mc=e)}const Pl=[];function Hy(e){return Zf(e)?e.ngModule:e}const JI=nn("NgModule",e=>e,void 0,0,(e,t)=>function BI(e,t={}){(function jI(e,t){const r=(0,o.Bqz)(t.declarations||o.Mlv);let i=null;Object.defineProperty(e,o.hmW,{configurable:!0,get:()=>(null===i&&(i=bn().compileNgModule(sa,`ng:///${e.name}/\u0275mod.js`,{type:e,bootstrap:(0,o.Bqz)(t.bootstrap||o.Mlv).map(o.nl4),declarations:r.map(o.nl4),imports:(0,o.Bqz)(t.imports||o.Mlv).map(o.nl4).map(Hy),exports:(0,o.Bqz)(t.exports||o.Mlv).map(o.nl4).map(Hy),schemas:t.schemas?(0,o.Bqz)(t.schemas):null,id:t.id||null}),i.schemas||(i.schemas=[])),i)});let a=null;Object.defineProperty(e,o.zSs,{get:()=>{if(null===a){const d=bn();a=d.compileFactory(sa,`ng:///${e.name}/\u0275fac.js`,{name:e.name,type:e,deps:hr(e),target:d.FactoryTarget.NgModule,typeArgumentCount:0})}return a},configurable:!1});let c=null;Object.defineProperty(e,o.ONQ,{get:()=>{if(null===c){const d={name:e.name,type:e,providers:t.providers||o.Mlv,imports:[(t.imports||o.Mlv).map(o.nl4),(t.exports||o.Mlv).map(o.nl4)]};c=bn().compileInjector(sa,`ng:///${e.name}/\u0275inj.js`,d)}return c},configurable:!1})})(e,t),void 0!==t.id&&O_(e,t.id),function FI(e,t){Pl.push({moduleType:e,ngModule:t})}(e,t)}(e,t));class qI{ngModuleFactory;componentFactories;constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let eO=(()=>{class e{compileModuleSync(n){return new A_(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const r=this.compileModuleSync(n),a=ps((0,o.phH)(n).declarations).reduce((c,d)=>{const g=(0,o.xUg)(d);return g&&c.push(new zu(g)),c},[]);return new qI(r,a)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static \u0275fac=function(r){return new(r||e)};static \u0275prov=(0,o.jDH)({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const tO=new o.nKC("");let nO=(()=>{class e{zone=(0,o.WQX)(jr);changeDetectionScheduler=(0,o.WQX)(o.hk6);applicationRef=(0,o.WQX)(nd);applicationErrorHandler=(0,o.WQX)(o.ZTf);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{try{this.applicationRef.dirtyFlags|=1,this.applicationRef._tick()}catch(n){this.applicationErrorHandler(n)}})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=(0,o.jDH)({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const tE=new o.nKC("",{factory:()=>!1});function nE({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??=()=>new jr({...Op(),scheduleInRootZone:n}),[{provide:jr,useFactory:e},{provide:o.Z63,multi:!0,useFactory:()=>{const r=(0,o.WQX)(nO,{optional:!0});return()=>r.initialize()}},{provide:o.Z63,multi:!0,useFactory:()=>{const r=(0,o.WQX)(oO);return()=>{r.initialize()}}},!0===t?{provide:o.Jy$,useValue:!0}:[],{provide:o.AQb,useValue:n??Vp},{provide:o.ZTf,useFactory:()=>{const r=(0,o.WQX)(jr),i=(0,o.WQX)(o.uvJ);let a;return c=>{r.runOutsideAngular(()=>{i.destroyed&&!a?setTimeout(()=>{throw c}):(a??=i.get(o.zcH),a.handleError(c))})}}}]}function rO(e){const t=e?.ignoreChangesOutsideZone,n=e?.scheduleInRootZone,r=nE({ngZoneFactory:()=>{const i=Op(e);return i.scheduleInRootZone=n,i.shouldCoalesceEventChangeDetection&&ii("NgZone_CoalesceEvent"),new jr(i)},ignoreChangesOutsideZone:t,scheduleInRootZone:n});return(0,o.EmA)([{provide:tE,useValue:!0},{provide:o.Evm,useValue:!1},r])}function Op(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}let oO=(()=>{class e{subscription=new Gt.yU;initialized=!1;zone=(0,o.WQX)(jr);pendingTasks=(0,o.WQX)(o.rev);initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{jr.assertNotInAngularZone(),queueMicrotask(()=>{null!==n&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}
1))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{jr.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=(0,o.jDH)({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),iE=(()=>{class e{applicationErrorHandler=(0,o.WQX)(o.ZTf);appRef=(0,o.WQX)(nd);taskService=(0,o.WQX)(o.rev);ngZone=(0,o.WQX)(jr);zonelessEnabled=(0,o.WQX)(o.Evm);tracing=(0,o.WQX)(Jc,{optional:!0});disableScheduling=(0,o.WQX)(o.Jy$,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new Gt.yU;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Du):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&((0,o.WQX)(o.AQb,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof bf||!this.zoneIsDefined)}notify(n){if(!this.zonelessEnabled&&5===n)return;let r=!1;switch(n){case 0:this.appRef.dirtyFlags|=2;break;case 3:case 2:case 4:case 5:case 1:this.appRef.dirtyFlags|=4;break;case 6:case 13:this.appRef.dirtyFlags|=2,r=!0;break;case 12:this.appRef.dirtyFlags|=16,r=!0;break;case 11:r=!0;break;default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick(r))return;const i=this.useMicrotaskScheduler?$p:Wp;this.pendingRenderTaskId=this.taskService.add(),this.cancelScheduledCallback=this.scheduleInRootZone?Zone.root.run(()=>i(()=>this.tick())):this.ngZone.runOutsideAngular(()=>i(()=>this.tick()))}shouldScheduleTick(n){return!(this.disableScheduling&&!n||this.appRef.destroyed||null!==this.pendingRenderTaskId||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Du+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(0===this.appRef.dirtyFlags)return void this.cleanup();!this.zonelessEnabled&&7&this.appRef.dirtyFlags&&(this.appRef.dirtyFlags|=1);const n=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){this.taskService.remove(n),this.applicationErrorHandler(r)}finally{this.cleanup()}this.useMicrotaskScheduler=!0,$p(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,null!==this.pendingRenderTaskId){const n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=(0,o.jDH)({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const sE=new o.nKC("",{providedIn:"root",factory:()=>(0,o.WQX)(sE,{optional:!0,skipSelf:!0})||function iO(){return typeof $localize<"u"&&$localize.locale||Jh}()}),sO=new o.nKC("",{providedIn:"root",factory:()=>"USD"})},9295(tt,ce,l){l.d(ce,{Zf:()=>oe,EW:()=>me,QZ:()=>z,uu:()=>it,O8:()=>de}),l(467);var T=l(2615),u=l(8440);function A(Te,Pe,Le){const Ye=Object.create(W);Ye.source=Te,Ye.computation=Pe,null!=Le&&(Ye.equal=Le);const gt=()=>{if((0,u.JC)(Ye),(0,u.mK)(Ye),Ye.value===u.EF)throw Ye.error;return Ye.value};return gt[u.bh]=Ye,(0,u.a7)(Ye),gt}const W={...u.pL,value:u.Ag,dirty:!0,error:null,equal:u.H8,kind:"linkedSignal",producerMustRecompute:Te=>Te.value===u.Ag||Te.value===u.Ny,producerRecomputeValue(Te){if(Te.value===u.Ny)throw new Error("");const Pe=Te.value;Te.value=u.Ny;const Le=(0,u.Bg)(Te);let Ye;try{const yt=Te.source();Ye=Te.computation(yt,Pe===u.Ag||Pe===u.EF?void 0:{source:Te.sourceValue,value:Pe}),Te.sourceValue=yt}catch(yt){Ye=u.EF,Te.error=yt}finally{(0,u.Wu)(Te,Le)}Pe!==u.Ag&&Ye!==u.EF&&Te.equal(Pe,Ye)?Te.value=Pe:(Te.value=Ye,Te.version++)}},H={...u.pL,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,kind:"effect"};class oe{destroyed=!1;listeners=null;errorHandler=(0,T.WQX)(T.zcH,{optional:!0});destroyRef=(0,T.WQX)(T.abz);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(Pe){if(this.destroyed)throw new T.buA(953,!1);return(this.listeners??=[]).push(Pe),{unsubscribe:()=>{const Le=this.listeners?.indexOf(Pe);void 0!==Le&&-1!==Le&&this.listeners?.splice(Le,1)}}}emit(Pe){if(this.destroyed)return void console.warn((0,T.OsK)(953,!1));if(null===this.listeners)return;const Le=(0,u.Ht)(null);try{for(const Ye of this.listeners)try{Ye(Pe)}catch(yt){this.errorHandler?.handleError(yt)}}finally{(0,u.Ht)(Le)}}}function de(Te){return function b(Te){const Pe=(0,u.Ht)(null);try{return Te()}finally{(0,u.Ht)(Pe)}}(Te)}function me(Te,Pe){return(0,u.KZ)(Te,Pe?.equal)}class Ue{[u.bh];constructor(Pe){this[u.bh]=Pe}destroy(){this[u.bh].destroy()}}function z(Te,Pe){const Le=Pe?.injector??(0,T.WQX)(T.zZn);let yt,Ye=!0!==Pe?.manualCleanup?Le.get(T.abz):null;const gt=Le.get(T.r4V,null,{optional:!0}),It=Le.get(T.hk6);return null!==gt?(yt=function Ve(Te,Pe,Le){const Ye=Object.create(he);return Ye.view=Te,Ye.zone=typeof Zone<"u"?Zone.current:null,Ye.notifier=Pe,Ye.fn=Be(Ye,Le),Te[T.tQN]??=new Set,Te[T.tQN].add(Ye),Ye.consumerMarkedDirty(Ye),Ye}(gt.view,It,Te),Ye instanceof T.KXn&&Ye._lView===gt.view&&(Ye=null)):yt=function Fe(Te,Pe,Le){const Ye=Object.create(ae);
1return Ye.fn=Be(Ye,Te),Ye.scheduler=Pe,Ye.notifier=Le,Ye.zone=typeof Zone<"u"?Zone.current:null,Ye.scheduler.add(Ye),Ye.notifier.notify(12),Ye}(Te,Le.get(T.VML),It),yt.injector=Le,null!==Ye&&(yt.onDestroyFn=Ye.onDestroy(()=>yt.destroy())),new Ue(yt)}const Ie={...H,cleanupFns:void 0,zone:null,onDestroyFn:T.lQ1,run(){const Te=(0,T.cBl)(!1);try{!function N(Te){if(Te.dirty=!1,Te.version>0&&!(0,u.si)(Te))return;Te.version++;const Pe=(0,u.Bg)(Te);try{Te.cleanup(),Te.fn()}finally{(0,u.Wu)(Te,Pe)}}(this)}finally{(0,T.cBl)(Te)}},cleanup(){if(!this.cleanupFns?.length)return;const Te=(0,u.Ht)(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],(0,u.Ht)(Te)}}},ae={...Ie,consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){(0,u.XR)(this),this.onDestroyFn(),this.cleanup(),this.scheduler.remove(this)}},he={...Ie,consumerMarkedDirty(){this.view[T.Wg1]|=8192,(0,T.blu)(this.view),this.notifier.notify(13)},destroy(){(0,u.XR)(this),this.onDestroyFn(),this.cleanup(),this.view[T.tQN]?.delete(this)}};function Be(Te,Pe){return()=>{Pe(Le=>(Te.cleanupFns??=[]).push(Le))}}const Ge=Te=>Te;function it(Te,Pe){return mt("function"==typeof Te?A(Te,Ge,Pe?.equal):A(Te.source,Te.computation,Te.equal))}function mt(Te,Pe){const Le=Te[u.bh],Ye=Te;return Ye.set=yt=>function s(Te,Pe){(0,u.JC)(Te),(0,u.j2)(Te,Pe),(0,u.TO)(Te)}(Le,yt),Ye.update=yt=>function j(Te,Pe){(0,u.JC)(Te),(0,u.mC)(Te,Pe),(0,u.TO)(Te)}(Le,yt),Ye.asReadonly=T.HO5.bind(Te),Ye}Error,Error},2615(tt,ce,l){let k;function T(){return k}function u(_){const F=k;return k=_,F}l.d(ce,{JEi:()=>wo,Isx:()=>So,EJG:()=>_o,Yrj:()=>ei,VVG:()=>Ho,Y20:()=>Ri,SKP:()=>qr,hk6:()=>Pc,eVN:()=>gi,b5C:()=>Po,rQE:()=>Pi,X5O:()=>Mo,qFA:()=>bo,qQL:()=>Ss,abz:()=>Bs,tQN:()=>Wr,pcR:()=>No,oMQ:()=>yi,Mlv:()=>xn,MZA:()=>wn,M0L:()=>go,Z63:()=>Nn,VML:()=>xl,uvJ:()=>dn,zcH:()=>Qs,Wg1:()=>yr,Yw1:()=>kr,jgP:()=>po,tcA:()=>Ai,ID:()=>eo,YEL:()=>Ko,B9r:()=>Qn,GBX:()=>ht,ZTf:()=>js,nKC:()=>q,zZn:()=>us,rJ1:()=>os,nfM:()=>Vi,s6P:()=>wi,K29:()=>qo,CQl:()=>_r,p9y:()=>$n,zSs:()=>dr,ONQ:()=>ke,hmW:()=>bn,yAH:()=>we,KXn:()=>ds,oTH:()=>Lr,Czx:()=>Vr,f7T:()=>Dr,wVl:()=>li,GYQ:()=>Sl,u5s:()=>ua,rev:()=>wc,Ds7:()=>ti,e5P:()=>Hn,Iaj:()=>zo,GpT:()=>Co,buA:()=>ue,AQb:()=>Rl,rwo:()=>ys,jNX:()=>Ci,WPN:()=>Ir,eDl:()=>$o,qlT:()=>Jr,xvI:()=>I,bm_:()=>Si,RxE:()=>O,r4V:()=>za,ok8:()=>Y,Evm:()=>wl,Jy$:()=>Ga,laP:()=>de,EYC:()=>at,ng7:()=>ie,llW:()=>Sn,gsJ:()=>Ft,GZS:()=>di,iYM:()=>Pe,PEr:()=>rs,z7f:()=>Ye,LZP:()=>yt,Xln:()=>rn,yzR:()=>Di,TWe:()=>ms,LIA:()=>xt,GWr:()=>ze,pbo:()=>Ze,bBq:()=>_s,Af3:()=>ci,zQk:()=>Ls,oZy:()=>fi,tF7:()=>gt,ZFY:()=>Kt,cP4:()=>ts,MdC:()=>ns,XvL:()=>We,KET:()=>Ei,Tkx:()=>hi,iw4:()=>en,tdH:()=>Ka,pr_:()=>Ae,IAh:()=>Cn,U45:()=>mt,WrV:()=>Vt,kNT:()=>It,MI:()=>Hi,biv:()=>vs,ZQF:()=>Fn,Cv0:()=>Tt,W0r:()=>xi,R2n:()=>Wi,O8q:()=>Xo,VKj:()=>Go,Rom:()=>ui,z6V:()=>Je,wdo:()=>bs,n$e:()=>he,hjC:()=>ne,Pz9:()=>vi,PQT:()=>Ct,VX4:()=>et,_Z$:()=>xr,N79:()=>Ds,xLP:()=>Re,zuh:()=>gr,BI7:()=>Kn,U7d:()=>nn,uXy:()=>Bn,nZS:()=>Pn,ihb:()=>ks,ID8:()=>Wa,gv8:()=>$a,dwj:()=>Ie,Bqz:()=>je,OsK:()=>se,Rfq:()=>Be,c$7:()=>_i,gxQ:()=>Zi,ckz:()=>J,kLh:()=>z,xUg:()=>er,KdJ:()=>Ki,db4:()=>Yo,VPL:()=>sn,MT:()=>ws,Z9v:()=>Ua,Ab:()=>Q,w7Z:()=>Fs,Mx4:()=>M,veI:()=>L,HaV:()=>ho,Agf:()=>oo,znI:()=>Ts,wGu:()=>ft,ebl:()=>Et,OAn:()=>ln,_0$:()=>Bo,UaU:()=>Pr,vaC:()=>Is,d31:()=>Es,ZRn:()=>ss,phH:()=>lr,WbQ:()=>Yr,WB9:()=>En,d_l:()=>Gi,vNG:()=>Xi,oyA:()=>io,_px:()=>rt,CpD:()=>kt,XRZ:()=>ko,klJ:()=>f,Fje:()=>As,b$O:()=>Ji,SMZ:()=>Ue,WQX:()=>or,MzJ:()=>jn,jXY:()=>Eo,MME:()=>lt,JlV:()=>K,Qs1:()=>x,srX:()=>w,vOT:()=>cs,YWB:()=>He,EPY:()=>$r,yoD:()=>E,P3H:()=>to,Jzi:()=>it,rFz:()=>tr,JjR:()=>mi,M6u:()=>Ti,KtD:()=>ye,muV:()=>hn,A0l:()=>lo,q$2:()=>Ro,yP_:()=>Oi,EFk:()=>Ce,Hps:()=>Ha,UhH:()=>xe,QuC:()=>Kr,Y3W:()=>Se,n$r:()=>Tc,K7h:()=>Un,FRF:()=>vn,ezK:()=>gn,m7n:()=>Zo,niQ:()=>$,krE:()=>Jt,bll:()=>ge,Hh6:()=>as,EmA:()=>Zt,blu:()=>ri,HAh:()=>ni,WfI:()=>Lt,xbp:()=>Gs,jvu:()=>Ke,lQ1:()=>Xa,BCV:()=>ur,Rc9:()=>hr,E6O:()=>qe,DyX:()=>pi,eFE:()=>rr,dMS:()=>Fi,HUe:()=>Ii,nl4:()=>Ge,N4e:()=>co,XaM:()=>nr,Kw3:()=>ls,vQI:()=>Ps,RZ9:()=>aa,GA0:()=>Va,iMd:()=>pe,Pfq:()=>ct,xyx:()=>bc,a2B:()=>on,kcM:()=>An,DFp:()=>At,P2g:()=>Gr,cBl:()=>fo,ypq:()=>bt,vPA:()=>Oc,HO5:()=>Zs,M_e:()=>Mi,B22:()=>Os,ik5:()=>zi,AsM:()=>ae,PP7:()=>Gn,$8:()=>Le,$Hz:()=>Wt,zAe:()=>Ni,IvY:()=>is,_gW:()=>ki,F1c:()=>bi,ITl:()=>Li,brz:()=>ao,jRZ:()=>uo,SX7:()=>mo,jDH:()=>_t,G2t:()=>jt,fuf:()=>St,cSN:()=>ot,KVO:()=>Jn,dmw:()=>fr,joV:()=>ar,By9:()=>mn,qSk:()=>fn,Njj:()=>m,eBV:()=>y});const s=Symbol("NotFound");
vendor: 5,594 bytes, line 1
1function W(_){return _===s||"\u0275NotFound"===_?.name}Error;var b=l(8440),H=l(4412),N=l(1985);class O{full;major;minor;patch;constructor(F){this.full=F;const re=F.split(".");this.major=re[0],this.minor=re[1],this.patch=re.slice(2).join(".")}}const I=new O("20.3.29"),Y="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss";class ue extends Error{code;constructor(F,re){super(se(F,re)),this.code=F}}function se(_,F){return`${function oe(_){return`NG0${Math.abs(_)}`}(_)}${F?": "+F:""}`}const de=globalThis;function Ue(){return!1}function z(_){for(let F in _)if(_[F]===z)return F;throw Error("")}function Ie(_,F){for(const re in F)F.hasOwnProperty(re)&&!_.hasOwnProperty(re)&&(_[re]=F[re])}function ae(_){if("string"==typeof _)return _;if(Array.isArray(_))return`[${_.map(ae).join(", ")}]`;if(null==_)return""+_;const F=_.overriddenName||_.name;if(F)return`${F}`;const re=_.toString();if(null==re)return""+re;const Qe=re.indexOf("\n");return Qe>=0?re.slice(0,Qe):re}function he(_,F){return _?F?`${_} ${F}`:_:F||""}const Fe=z({__forward_ref__:z});function Be(_){return _.__forward_ref__=Be,_.toString=function(){return ae(this())},_}function Ge(_){return it(_)?_():_}function it(_){return"function"==typeof _&&_.hasOwnProperty(Fe)&&_.__forward_ref__===Be}function mt(_,F){"number"!=typeof _&&Le(F,typeof _,"number","===")}function Vt(_,F,re){mt(_,"Expected a number"),function $e(_,F,re){_<=F||Le(re,_,F,"<=")}(_,re,"Expected number to be less than or equal to"),Ze(_,F,"Expected number to be greater than or equal to")}function Tt(_,F){"string"!=typeof _&&Le(F,null===_?"null":typeof _,"string","===")}function xt(_,F){"function"!=typeof _&&Le(F,null===_?"null":typeof _,"function","===")}function rn(_,F,re){_!=F&&Le(re,_,F,"==")}function en(_,F,re){_==F&&Le(re,_,F,"!=")}function Fn(_,F,re){_!==F&&Le(re,_,F,"===")}function Cn(_,F,re){_===F&&Le(re,_,F,"!==")}function We(_,F,re){_<F||Le(re,_,F,"<")}function ze(_,F,re){_>F||Le(re,_,F,">")}function Ze(_,F,re){_>=F||Le(re,_,F,">=")}function Pe(_,F){null==_&&Le(F,_,null,"!=")}function Le(_,F,re,Qe){throw new Error(`ASSERTION ERROR: ${_}`+(null==Qe?"":` [Expected=> ${re} ${Qe} ${F} <=Actual]`))}function Ye(_){_ instanceof Node||Le(`The provided value must be an instance of a DOM Node but got ${ae(_)}`)}function yt(_){_ instanceof Element||Le(`The provided value must be an element but got ${ae(_)}`)}function gt(_,F){Pe(_,"Array must be defined.");const re=_.length;(F<0||F>=re)&&Le(`Index expected to be less than ${re} but got ${F}`)}function It(_,...F){if(-1!==F.indexOf(_))return!0;Le(`Expected value to be one of ${JSON.stringify(F)} but was ${JSON.stringify(_)}.`)}function Ae(_){null!==(0,b.nR)()&&Le(`${_}() should never be called in a reactive context.`)}function _t(_){return{token:_.token,providedIn:_.providedIn||null,factory:_.factory,value:void 0}}function jt(_){return{providers:_.providers||[],imports:_.imports||[]}}function Ht(_){return function pn(_,F){return _.hasOwnProperty(F)&&_[F]||null}(_,we)}function hn(_){return null!==Ht(_)}function Et(_){return _&&_.hasOwnProperty(ke)?_[ke]:null}const we=z({\u0275prov:z}),ke=z({\u0275inj:z});class q{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(F,re){this._desc=F,this.\u0275prov=void 0,"number"==typeof re?this.__NG_ELEMENT_ID__=re:void 0!==re&&(this.\u0275prov=_t({token:this,providedIn:re.providedIn||"root",factory:re.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}let o;function Xe(){return Le("getInjectorProfilerContext should never be called in production mode"),o}function At(_){Le("setInjectorProfilerContext should never be called in production mode");const F=o;return o=_,F}const Gt=[],Wn=()=>{};function An(_){return Le("setInjectorProfiler should never be called in production mode"),null!==_?(Gt.includes(_)||Gt.push(_),()=>function kn(_){const F=Gt.indexOf(_);-1!==F&&Gt.splice(F,1)}(_)):(Gt.length=0,Wn)}function Rn(_){Le("Injector profiler should never be called in production mode");for(let F=0;F<Gt.length;F++)(0,Gt[F])(_)}function Pn(_,F=!1){let re;Le("Injector profiler should never be called in production mode"),re="function"==typeof _||_ instanceof q?_:Ge(_.provide);let Qe=_;_ instanceof q&&(Qe=_.\u0275prov||_),Rn({type:2,context:Xe(),providerRecord:{token:re,provider:Qe,isViewProvider:F}})}function nn(_){Le("Injector profiler should never be called in production mode"),Rn({type:4,context:Xe(),token:_})}function Bn(_){Le("Injector profiler should never be called in production mode"),Rn({type:1,context:Xe(),instance:{value:_}})}function Kn(_,F,re){Le("Injector profiler should never be called in production mode"),Rn({type:0,context:Xe(),service:{token:_,value:F,flags:re}})}function gr(_){Le("Injector profiler should never be called in production mode"),Rn({type:3,context:Xe(),effect:_})}function nr(_,F,re){Le("runInInjectorProfilerContext should never be called in production mode");const Qe=At({injector:_,token:F});try{re()}finally{At(Qe)}}function zn(_){return _&&!!_.\u0275providers}const _r=z({\u0275cmp:z}),wr=z({\u0275dir:z}),Er=z({\u0275pipe:z}),bn=z({\u0275mod:z}),dr=z({\u0275fac:z}),$n=z({__NG_ELEMENT_ID__:z}),Zn=z({__NG_ENV_ID__:z});function rr(_){return"string"==typeof _?_:null==_?"":String(_)}function Gn(_){return"function"==typeof _?_.name||_.toString():"object"==typeof _&&null!=_&&"function"==typeof _.type?_.type.name||_.type.toString():rr(_)}function xr(_){let F=_[_r]||null;return null!==F&&F.debugInfo?function mr(_){return _.filePath&&_.lineNumber?`${_.className} (at ${_.filePath}:${_.lineNumber})`:_.className}(F.debugInfo):Gn(_)}
vendor: 17,795 bytes, line 1
1const vr=z({ngErrorCode:z}),Nr=z({ngErrorMessage:z}),cr=z({ngTokenPath:z});function Ct(_,F){return ve("",-200,F)}function et(_,F){return function Z(_,F){return _.message=function be(_,F,re=[],Qe=null){let ut="";re&&re.length>1&&(ut=` Path: ${re.join(" -> ")}.`);return se(F,`${_}${Qe?` Source: ${Qe}.`:""}${ut}`)}(_[Nr]||_.message,_[vr],_[cr],F),_}(Ct(0,F),null)}function Wt(_,F){throw new ue(-201,!1)}function ve(_,F,re){const Qe=new ue(F,_);return Qe[vr]=F,Qe[Nr]=_,re&&(Qe[cr]=re),Qe}let st;function Rt(){return st}function on(_){const F=st;return st=_,F}function jn(_,F,re){const Qe=Ht(_);return Qe&&"root"==Qe.providedIn?void 0===Qe.value?Qe.value=Qe.factory():Qe.value:8&re?null:void 0!==F?F:void Wt()}function Kt(_){}const un={},Xt="__NG_DI_FLAG__";class Xn{injector;constructor(F){this.injector=F}retrieve(F,re){const Qe=ne(re)||0;try{return this.injector.get(F,8&Qe?null:un,Qe)}catch(ut){if(W(ut))return ut;throw ut}}}function Ar(_,F=0){const re=T();if(void 0===re)throw new ue(-203,!1);if(null===re)return jn(_,void 0,F);{const Qe=function Ee(_){return{optional:!!(8&_),host:!!(1&_),self:!!(2&_),skipSelf:!!(4&_)}}(F),ut=re.retrieve(_,Qe);if(W(ut)){if(Qe.optional)return null;throw ut}return ut}}function Jn(_,F=0){return(Rt()||Ar)(Ge(_),F)}function fr(_){throw new ue(202,!1)}function or(_,F){return Jn(_,ne(F))}function ne(_){return typeof _>"u"||"number"==typeof _?_:0|(_.optional&&8)|(_.host&&1)|(_.self&&2)|(_.skipSelf&&4)}function _e(_){const F=[];for(let re=0;re<_.length;re++){const Qe=Ge(_[re]);if(Array.isArray(Qe)){if(0===Qe.length)throw new ue(900,!1);let ut,$t=0;for(let pr=0;pr<Qe.length;pr++){const jo=Qe[pr],Xr=Dt(jo);"number"==typeof Xr?-1===Xr?ut=jo.token:$t|=Xr:ut=jo}F.push(Jn(ut,$t))}else F.push(Jn(Qe))}return F}function Je(_,F){return _[Xt]=F,_.prototype[Xt]=F,_}function Dt(_){return _[Xt]}function ft(_,F){return _.hasOwnProperty(dr)?_[dr]:null}function ie(_,F,re){if(_.length!==F.length)return!1;for(let Qe=0;Qe<_.length;Qe++){let ut=_[Qe],$t=F[Qe];if(re&&(ut=re(ut),$t=re($t)),$t!==ut)return!1}return!0}function je(_){return _.flat(Number.POSITIVE_INFINITY)}function Re(_,F){_.forEach(re=>Array.isArray(re)?Re(re,F):F(re))}function at(_,F,re){F>=_.length?_.push(re):_.splice(F,0,re)}function qe(_,F){return F>=_.length-1?_.pop():_.splice(F,1)[0]}function Lt(_,F){const re=[];for(let Qe=0;Qe<_;Qe++)re.push(F);return re}function Ft(_,F,re){const Qe=_.length-re;for(;F<Qe;)_[F]=_[F+re],F++;for(;re--;)_.pop()}function Sn(_,F,re,Qe){let ut=_.length;if(ut==F)_.push(re,Qe);else if(1===ut)_.push(Qe,_[0]),_[0]=re;else{for(ut--,_.push(_[ut-1],_[ut]);ut>F;)_[ut]=_[ut-2],ut--;_[F]=re,_[F+1]=Qe}}function gn(_,F,re){let Qe=vn(_,F);return Qe>=0?_[1|Qe]=re:(Qe=~Qe,Sn(_,Qe,F,re)),Qe}function Un(_,F){const re=vn(_,F);if(re>=0)return _[1|re]}function vn(_,F){return function yn(_,F,re){let Qe=0,ut=_.length>>re;for(;ut!==Qe;){const $t=Qe+(ut-Qe>>1),pr=_[$t<<re];if(F===pr)return $t<<re;pr>F?ut=$t:Qe=$t+1}return~(ut<<re)}(_,F,1)}const wn={},xn=[],Nn=new q(""),ir=new q("",-1),Qn=new q("");class Lr{get(F,re=un){if(re===un){const ut=ve("",-201);throw ut.name="\u0275NotFound",ut}return re}}function lr(_){return _[bn]||null}function Yr(_){const F=lr(_);if(!F)throw new ue(915,!1);return F}function er(_){return _[_r]||null}function oo(_){const F=ho(_);if(!F)throw new ue(916,!1);return F}function ho(_){return _[wr]||null}function io(_){return _[Er]||null}function Kr(_){const F=er(_)||ho(_)||io(_);return null!==F&&F.standalone}function Zt(_){return{\u0275providers:_}}function ur(_){return Zt([{provide:Nn,multi:!0,useValue:_}])}function tn(..._){return{\u0275providers:Eo(0,_),\u0275fromNgModule:!0}}function Eo(_,...F){const re=[],Qe=new Set;let ut;const $t=pr=>{re.push(pr)};return Re(F,pr=>{const jo=pr;ao(jo,$t,[],Qe)&&(ut||=[],ut.push(jo))}),void 0!==ut&&so(ut,$t),re}function so(_,F){for(let re=0;re<_.length;re++){const{ngModule:Qe,providers:ut}=_[re];Do(ut,$t=>{F($t,Qe)})}}function ao(_,F,re,Qe){if(!(_=Ge(_)))return!1;let ut=null,$t=Et(_);const pr=!$t&&er(_);if($t||pr){if(pr&&!pr.standalone)return!1;ut=_}else{const Xr=_.ngModule;if($t=Et(Xr),!$t)return!1;ut=Xr}const jo=Qe.has(ut);if(pr){if(jo)return!1;if(Qe.add(ut),pr.dependencies){const Xr="function"==typeof pr.dependencies?pr.dependencies():pr.dependencies;for(const Hr of Xr)ao(Hr,F,re,Qe)}}else{if(!$t)return!1;{if(null!=$t.imports&&!jo){let Hr;Qe.add(ut),Re($t.imports,Cs=>{ao(Cs,F,re,Qe)&&(Hr||=[],Hr.push(Cs))}),void 0!==Hr&&so(Hr,F)}if(!jo){const Hr=ft(ut)||(()=>new ut);F({provide:ut,useFactory:Hr,deps:xn},ut),F({provide:Qn,useValue:ut,multi:!0},ut),F({provide:Nn,useValue:()=>Jn(ut),multi:!0},ut)}const Xr=$t.providers;if(null!=Xr&&!jo){const Hr=_;Do(Xr,Cs=>{F(Cs,Hr)})}}}return ut!==_&&void 0!==_.providers}function Do(_,F){for(let re of _)zn(re)&&(re=re.\u0275providers),Array.isArray(re)?Do(re,F):F(re)}const R=z({provide:String,useValue:z});function le(_){return null!==_&&"object"==typeof _&&R in _}function Se(_){return"function"==typeof _}function lt(_){return!!_.useClass}const ht=new q(""),Qt={},Vn={};let Mn;function En(){return void 0===Mn&&(Mn=new Lr),Mn}class dn{}class Hn extends dn{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(F,re,Qe,ut){super(),this.parent=re,this.source=Qe,this.scopes=ut,Zr(F,pr=>this.processProvider(pr)),this.records.set(ir,Fr(void 0,this)),ut.has("environment")&&this.records.set(dn,Fr(void 0,this));const $t=this.records.get(ht);null!=$t&&"string"==typeof $t.value&&this.scopes.add($t.value),this.injectorDefTypes=new Set(this.get(Qn,xn,{self:!0}))}retrieve(F,re){const Qe=ne(re)||0;try{return this.get(F,un,Qe)}catch(ut){if(W(ut))return ut;throw ut}}destroy(){Sr(this),this._destroyed=!0;const F=(0,b.Ht)(null);try{for(const Qe of this._ngOnDestroyHooks)Qe.ngOnDestroy();const re=this._onDestroyHooks;this._onDestroyHooks=[];for(const Qe of re)Qe()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),(0,b.Ht)(F)}}onDestroy(F){return Sr(this),this._onDestroyHooks.push(F),()=>this.removeOnDestroy(F)}runInContext(F){Sr(this);const re=u(this),Qe=on(void 0);try{return F()}finally{u(re),on(Qe)}}get(F,re=un,Qe){if(Sr(this),F.hasOwnProperty(Zn))return F[Zn](this);const ut=ne(Qe),pr=u(this),jo=on(void 0);try{if(!(4&ut)){let Hr=this.records.get(F);if(void 0===Hr){const Cs=function Ao(_){return"function"==typeof _||"object"==typeof _&&"InjectionToken"===_.ngMetadataName}(F)&&Ht(F);Hr=Cs&&this.injectableDefInScope(Cs)?Fr(Yn(F),Qt):null,this.records.set(F,Hr)}if(null!=Hr)return this.hydrate(F,Hr,ut)}return(2&ut?En():this.parent).get(F,re=8&ut&&re===un?null:re)}catch(Xr){const Hr=function Oe(_){return _[vr]}(Xr);throw-200===Hr||-201===Hr?new ue(Hr,null):Xr}finally{on(jo),u(pr)}}resolveInjectorInitializers(){const F=(0,b.Ht)(null),re=u(this),Qe=on(void 0);try{const $t=this.get(Nn,xn,{self:!0});for(const pr of $t)pr()}finally{u(re),on(Qe),(0,b.Ht)(F)}}toString(){const F=[],re=this.records;for(const Qe of re.keys())F.push(ae(Qe));return`R3Injector[${F.join(", ")}]`}processProvider(F){let re=Se(F=Ge(F))?F:Ge(F&&F.provide);const Qe=function Ur(_){return le(_)?Fr(void 0,_.useValue):Fr(hr(_),Qt)}(F);if(!Se(F)&&!0===F.multi){let ut=this.records.get(re);ut||(ut=Fr(void 0,Qt,!0),ut.factory=()=>_e(ut.multi),this.records.set(re,ut)),re=F,ut.multi.push(F)}this.records.set(re,Qe)}hydrate(F,re,Qe){const ut=(0,b.Ht)(null);try{if(re.value===Vn)throw Ct(ae(F));return re.value===Qt&&(re.value=Vn,re.value=re.factory(void 0,Qe)),"object"==typeof re.value&&re.value&&function zr(_){return null!==_&&"object"==typeof _&&"function"==typeof _.ngOnDestroy}(re.value)&&this._ngOnDestroyHooks.add(re.value),re.value}finally{(0,b.Ht)(ut)}}injectableDefInScope(F){if(!F.providedIn)return!1;const re=Ge(F.providedIn);return"string"==typeof re?"any"===re||this.scopes.has(re):this.injectorDefTypes.has(re)}removeOnDestroy(F){const re=this._onDestroyHooks.indexOf(F);-1!==re&&this._onDestroyHooks.splice(re,1)}}function Yn(_){const F=Ht(_),re=null!==F?F.factory:ft(_);if(null!==re)return re;if(_ instanceof q)throw new ue(204,!1);if(_ instanceof Function)return function sr(_){if(_.length>0)throw new ue(204,!1);const re=function an(_){return(_?.[we]??null)||null}(_);return null!==re?()=>re.factory(_):()=>new _}(_);throw new ue(204,!1)}function hr(_,F,re){let Qe;if(Se(_)){const ut=Ge(_);return ft(ut)||Yn(ut)}if(le(_))Qe=()=>Ge(_.useValue);else if(function ee(_){return!(!_||!_.useFactory)}(_))Qe=()=>_.useFactory(..._e(_.deps||[]));else if(function U(_){return!(!_||!_.useExisting)}(_))Qe=(ut,$t)=>Jn(Ge(_.useExisting),void 0!==$t&&8&$t?8:void 0);else{const ut=Ge(_&&(_.useClass||_.provide));if(!function To(_){return!!_.deps}(_))return ft(ut)||Yn(ut);Qe=()=>new ut(..._e(_.deps))}return Qe}function Sr(_){if(_.destroyed)throw new ue(205,!1)}function Fr(_,F,re=!1){return{factory:_,value:F,multi:re?[]:void 0}}function Zr(_,F){for(const re of _)Array.isArray(re)?Zr(re,F):re&&zn(re)?Zr(re.\u0275providers,F):F(re)}function co(_,F){let re;_ instanceof Hn?(Sr(_),re=_):re=new Xn(_);const ut=u(re),$t=on(void 0);try{return F()}finally{u(ut),on($t)}}function Ti(){return void 0!==Rt()||null!=T()}function ci(_){if(!Ti())throw new ue(-203,!1)}const po=0,$o=1,yr=2,Dr=3,qo=4,Jr=5,Ai=6,Ho=7,qr=8,Ko=9,go=10,Co=11,_o=12,ei=13,Mo=14,Po=15,Pi=16,li=17,ti=18,eo=19,yi=20,Vr=21,No=22,Wr=23,zo=24,wo=25,So=26,kr=27,bo=6,wi=7,Si=8,Vi=9,Ri=10;function Ro(_){return Array.isArray(_)&&"object"==typeof _[1]}function lo(_){return Array.isArray(_)&&!0===_[1]}function w(_){return!!(4&_.flags)}function x(_){return _.componentOffset>-1}function E(_){return!(1&~_.flags)}function K(_){return!!_.template}function Ce(_){return!!(512&_[yr])}function $r(_){return!(256&~_[yr])}function Go(_,F){ui(_,F[$o])}function Xo(_,F){const re=F+kr;gt(_,re),We(re,_[$o].bindingStartIndex,"TNodes should be created before any bindings")}function ui(_,F){Wi(_);const re=F.data;for(let Qe=kr;Qe<re.length;Qe++)if(re[Qe]===_)return;Le("This TNode does not belong to this TView.")}function Wi(_){Pe(_,"TNode must be defined"),_&&"object"==typeof _&&_.hasOwnProperty("directiveStylingLast")||Le("Not of type TNode, got: "+_)}function xi(_){Pe(_,"Expected TIcu to be defined"),"number"!=typeof _.currentCaseLViewIndex&&Le("Object is not of TIcu type.")}function di(_,F="Type passed in is not ComponentType, it does not have '\u0275cmp' property."){er(_)||Le(F)}function Ei(_,F="Type passed in is not NgModuleType, it does not have '\u0275mod' property."){lr(_)||Le(F)}function _s(_){Pe(_,"currentTNode should exist!"),Pe(_.parent,"currentTNode should have a parent")}function ts(_){Pe(_,"LContainer must be defined"),rn(lo(_),!0,"Expecting LContainer")}function ns(_){Pe(_,"LView must be defined"),rn(Ro(_),!0,"Expecting LView")}function Di(_,F){rn(_.firstCreatePass,!0,F||"Should only be called in first create pass.")}function ms(_,F){rn(_.firstUpdatePass,!0,"Should only be called in first update pass.")}function rs(_){(void 0===_.type||null==_.selectors||void 0===_.inputs)&&Le("Expected a DirectiveDef/ComponentDef and this object does not seem to have the expected shape.")}function Ls(_,F){$i(kr,_.bindingStartIndex,F)}function fi(_,F){$i(_[1].expandoStartIndex,_.length,F)}function $i(_,F,re){_<=re&&re<F||Le(`Index out of range (expecting ${_} <= ${re} < ${F})`)}function vs(_,F){Pe(_[Po],"Component views should exist."),Pe(_[Po][Jr].projection,"Components with projection nodes (<ng-content>) must have projection slots defined.")}function Hi(_,F){Pe(_,"Component views should always have a parent view (component's host view)")}function hi(_,F){fi(_,F),fi(_,F+8),mt(_[F+0],"injectorIndex should point to a bloom filter"),mt(_[F+1],"injectorIndex should point to a bloom filter"),mt(_[F+2],"injectorIndex should point to a bloom filter"),mt(_[F+3],"injectorIndex should point to a bloom filter"),mt(_[F+4],"injectorIndex should point to a bloom filter"),mt(_[F+5],"injectorIndex should point to a bloom filter"),mt(_[F+6],"injectorIndex should point to a bloom filter"),mt(_[F+7],"injectorIndex should point to a bloom filter"),mt(_[F+8],"injectorIndex should point to parent injector")}var Ir=function(_){return _[_.NONE=0]="NONE",_[_.HTML=1]="HTML",_[_.STYLE=2]="STYLE",_[_.SCRIPT=3]="SCRIPT",_[_.URL=4]="URL",_[_.RESOURCE_URL=5]="RESOURCE_URL",_[_.ATTRIBUTE_NO_BINDING=6]="ATTRIBUTE_NO_BINDING",_}(Ir||{});let Fo;const Ci="svg",os="math";function ys(){return Fo||(Fo={},Qo(Ir.HTML,void 0,[["iframe",["srcdoc"]],["*",["innerHTML","outerHTML"]]]),Qo(Ir.STYLE,void 0,[["*",["style"]]]),Qo(Ir.URL,void 0,[["*",["formAction"]],["area",["href"]],["a",["href","xlink:href"]],["form",["action"]],["img",["src"]],["video",["src"]]]),Qo(Ir.URL,os,[["*",["href","xlink:href"]],["annotation",["href","xlink:href"]],["annotation-xml",["href","xlink:href"]],["maction",["href","xlink:href"]],["malignmark",["href","xlink:href"]],["math",["href","xlink:href"]],["mroot",["href","xlink:href"]],["msqrt",["href","xlink:href"]],["merror",["href","xlink:href"]],["mfrac",["href","xlink:href"]],["mglyph",["href","xlink:href"]],["msub",["href","xlink:href"]],["msup",["href","xlink:href"]],["msubsup",["href","xlink:href"]],["mmultiscripts",["href","xlink:href"]],["mprescripts",["href","xlink:href"]],["mi",["href","xlink:href"]],["mn",["href","xlink:href"]],["mo",["href","xlink:href"]],["mpadded",["href","xlink:href"]],["mphantom",["href","xlink:href"]],["mrow",["href","xlink:href"]],["ms",["href","xlink:href"]],["mspace",["href","xlink:href"]],["mstyle",["href","xlink:href"]],["mtable",["href","xlink:href"]],["mtd",["href","xlink:href"]],["mtr",["href","xlink:href"]],["mtext",["href","xlink:href"]],["mover",["href","xlink:href"]],["munder",["href","xlink:href"]],["munderover",["href","xlink:href"]],["semantics",["href","xlink:href"]],["none",["href","xlink:href"]]]),Qo(Ir.RESOURCE_URL,void 0,[["base",["href"]],["embed",["src"]],["frame",["src"]],["iframe",["src"]],["link",["href"]],["object",["codebase","data"]]]),Qo(Ir.URL,Ci,[["a",["href","xlink:href"]]]),Qo(Ir.ATTRIBUTE_NO_BINDING,Ci,[["animate",["attributeName","values","to","from"]],["set",["to","attributeName"]],["animateMotion",["attributeName"]],["animateTransform",["attributeName"]]]),Qo(Ir.ATTRIBUTE_NO_BINDING,void 0,[["unknown",["attributeName","values","to","from","sandbox","allow","allowFullscreen","referrerPolicy","csp","fetchPriority"]],["iframe",["sandbox","allow","allowFullscreen","referrerPolicy","csp","fetchPriority"]]])),Fo}function Qo(_,F,re){for(const[Qe,ut]of re){let $t=F&&"unknown"!==Qe?`:${F}:${Qe}`:Qe;$t=$t.toLowerCase();for(const pr of ut)Fo[`${$t}|${pr.toLowerCase()}`]=_}}function bs(_,F,re){const Qe=ys(),ut=_.toLowerCase(),$t=F.toLowerCase();return(re&&"*"!==ut&&"unknown"!==ut?Qe[`:${re}:${ut}|${$t}`]:void 0)??(re?Qe[`:${re}:*|${$t}`]:void 0)??Qe[`${ut}|${$t}`]??Qe[`*|${$t}`]??Ir.NONE}function is(_){for(;Array.isArray(_);)_=_[po];return _}function Ni(_){for(;Array.isArray(_);){if("object"==typeof _[1])return _;_=_[po]}return null}function Is(_,F){return is(F[_])}function Es(_,F){return is(F[_.index])}function ss(_,F){const re=null===_?-1:_.index;return-1!==re?is(F[re]):null}function ko(_,F){return _.data[F]}function as(_,F){return _[F]}function Mi(_,F,re,Qe){re>=_.data.length&&(_.data[re]=null,_.blueprint[re]=null),F[re]=Qe}function Ki(_,F){const re=F[_];return Ro(re)?re:re[po]}function cs(_){return!(4&~_[yr])}function bi(_){return!(128&~_[yr])}function Li(_){return lo(_[Dr])}function Yo(_,F){return null==F?null:_[F]}function Ii(_){_[li]=0}function ni(_){1024&_[yr]||(_[yr]|=1024,bi(_)&&ri(_))}function uo(_,F){for(;_>0;)F=F[Mo],_--;return F}function Fi(_){return!!(9216&_[yr]||_[zo]?.dirty)}function ki(_){_[go].changeDetectionScheduler?.notify(8),64&_[yr]&&(_[yr]|=1024),Fi(_)&&ri(_)}function ri(_){_[go].changeDetectionScheduler?.notify(0);let F=Bo(_);for(;null!==F&&!(8192&F[yr])&&(F[yr]|=8192,bi(F));)F=Bo(F)}function zi(_,F){if($r(_))throw new ue(911,!1);null===_[Vr]&&(_[Vr]=[]),_[Vr].push(F)}function pi(_,F){if(null===_[Vr])return;const re=_[Vr].indexOf(F);-1!==re&&_[Vr].splice(re,1)}function Bo(_){const F=_[Dr];return lo(F)?F[Dr]:F}function Gi(_){return _[Ho]??=[]}function Xi(_){return _.cleanup??=[]}function Os(_,F,re,Qe){const ut=Gi(F);ut.push(re),_.firstCreatePass&&Xi(_).push(Qe,ut.length-1)}const _n={lFrame:X(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var gi=function(_){return _[_.Off=0]="Off",_[_.Exhaustive=1]="Exhaustive",_[_.OnlyDirtyViews=2]="OnlyDirtyViews",_}(gi||{});let Qi=0,Yi=!1;function Ts(){return _n.lFrame.elementDepthCount}function As(){_n.lFrame.elementDepthCount++}function Ds(){_n.lFrame.elementDepthCount--}function J(){return _n.bindingsEnabled}function ye(){return null!==_n.skipHydrationRootTNode}function xe(_){return _n.skipHydrationRootTNode===_}function ot(){_n.bindingsEnabled=!0}function St(){_n.bindingsEnabled=!1}function Jt(){_n.skipHydrationRootTNode=null}function ln(){return _n.lFrame.lView}function f(){return _n.lFrame.tView}function y(_){return _n.lFrame.contextLView=_,_[qr]}function m(_){return _n.lFrame.contextLView=null,_}function M(){let _=L();for(;null!==_&&64===_.type;)_=_.parent;return _}function L(){return _n.lFrame.currentTNode}function Q(){const _=_n.lFrame,F=_.currentTNode;return _.isParent?F:F.parent}function pe(_,F){const re=_n.lFrame;re.currentTNode=_,re.isParent=F}function He(){return _n.lFrame.isParent}function ct(){_n.lFrame.isParent=!1}function sn(){return _n.lFrame.contextLView}function tr(){return Le("Must never be called in production mode"),Qi!==gi.Off}function to(){return Le("Must never be called in production mode"),Qi===gi.Exhaustive}function Gr(_){Le("Must never be called in production mode"),Qi=_}function Oi(){return Yi}function fo(_){const F=Yi;return Yi=_,F}function Zi(){const _=_n.lFrame;let F=_.bindingRootIndex;
1return-1===F&&(F=_.bindingRootIndex=_.tView.bindingStartIndex),F}function _i(){return _n.lFrame.bindingIndex}function ls(_){return _n.lFrame.bindingIndex=_}function Gs(){return _n.lFrame.bindingIndex++}function Ji(_){const F=_n.lFrame,re=F.bindingIndex;return F.bindingIndex=F.bindingIndex+_,re}function mi(){return _n.lFrame.inI18n}function bc(_){_n.lFrame.inI18n=_}function Ps(_,F){const re=_n.lFrame;re.bindingIndex=re.bindingRootIndex=_,aa(F)}function Ua(){return _n.lFrame.currentDirectiveIndex}function aa(_){_n.lFrame.currentDirectiveIndex=_}function ws(_){const F=_n.lFrame.currentDirectiveIndex;return-1===F?null:_[F]}function Fs(){return _n.lFrame.currentQueryIndex}function Va(_){_n.lFrame.currentQueryIndex=_}function Xs(_){const F=_[$o];return 2===F.type?F.declTNode:1===F.type?_[Jr]:null}function ks(_,F,re){if(4&re){let ut=F,$t=_;for(;!(ut=ut.parent,null!==ut||1&re||(ut=Xs($t),null===ut||($t=$t[Mo],10&ut.type))););if(null===ut)return!1;F=ut,_=$t}const Qe=_n.lFrame=ca();return Qe.currentTNode=F,Qe.lView=_,!0}function Wa(_){const F=ca(),re=_[$o];_n.lFrame=F,F.currentTNode=re.firstChild,F.lView=_,F.tView=re,F.contextLView=_,F.bindingIndex=re.bindingStartIndex,F.inI18n=!1}function ca(){const _=_n.lFrame,F=null===_?null:_.child;return null===F?X(_):F}function X(_){const F={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:_,child:null,inI18n:!1};return null!==_&&(_.child=F),F}function S(){const _=_n.lFrame;return _n.lFrame=_.parent,_.currentTNode=null,_.lView=null,_}const $=S;function ge(){const _=S();_.isParent=!0,_.tView=null,_.selectedIndex=-1,_.contextLView=null,_.elementDepthCount=0,_.currentDirectiveIndex=-1,_.currentNamespace=null,_.bindingRootIndex=-1,_.bindingIndex=-1,_.currentQueryIndex=0}function Ke(_){return(_n.lFrame.contextLView=uo(_,_n.lFrame.contextLView))[qr]}function rt(){return _n.lFrame.selectedIndex}function bt(_){_n.lFrame.selectedIndex=_}function kt(){const _=_n.lFrame;return ko(_.tView,_.selectedIndex)}function fn(){_n.lFrame.currentNamespace=Ci}function mn(){_n.lFrame.currentNamespace=os}function ar(){!function Dn(){_n.lFrame.currentNamespace=null}()}function Pr(){return _n.lFrame.currentNamespace}let no=!0;function mo(){return no}function Zo(_){no=_}function xo(_,F=null,re=null,Qe){const ut=vi(_,F,re,Qe);return ut.resolveInjectorInitializers(),ut}function vi(_,F=null,re=null,Qe,ut=new Set){const $t=[re||xn,tn(_)];return Qe=Qe||("object"==typeof _?void 0:ae(_)),new Hn($t,F||En(),Qe||null,ut)}class us{static THROW_IF_NOT_FOUND=un;static NULL=new Lr;static create(F,re){if(Array.isArray(F))return xo({name:""},re,F,"");{const Qe=F.name??"";return xo({name:Qe},F.parent,F.providers,Qe)}}static \u0275prov=_t({token:us,providedIn:"any",factory:()=>Jn(ir)});static __NG_ELEMENT_ID__=-1}const Ss=new q("");let Bs=(()=>class _{static __NG_ELEMENT_ID__=Ic;static __NG_ENV_ID__=re=>re})();class ds extends Bs{_lView;constructor(F){super(),this._lView=F}get destroyed(){return $r(this._lView)}onDestroy(F){const re=this._lView;return zi(re,F),()=>pi(re,F)}}function Ic(){return new ds(ln())}class Qs{_console=console;handleError(F){this._console.error("ERROR",F)}}const js=new q("",{providedIn:"root",factory:()=>{const _=or(dn);let F;return re=>{_.destroyed&&!F?setTimeout(()=>{throw re}):(F??=_.get(Qs),F.handleError(re))}}}),$a={provide:Nn,useValue:()=>{or(Qs)},multi:!0};function Ha(_){return"function"==typeof _&&void 0!==_[b.bh]}function Oc(_,F){const[re,Qe,ut]=(0,b.n5)(_,F?.equal),$t=re;return $t.set=Qe,$t.update=ut,$t.asReadonly=Zs.bind($t),$t}function Zs(){const _=this[b.bh];if(void 0===_.readonlyFn){const F=()=>this();F[b.bh]=_,_.readonlyFn=F}return _.readonlyFn}function Tc(_){return Ha(_)&&"function"==typeof _.set}function Ka(_,F){if(null!==(0,b.nR)())throw new ue(-602,!1)}let za=(()=>class _{view;node;constructor(re,Qe){this.view=re,this.node=Qe}static __NG_ELEMENT_ID__=Ac})();function Ac(){return new za(ln(),M())}class Pc{}const wl=new q("",{providedIn:"root",factory:()=>!1}),Sl=new q("",{providedIn:"root",factory:()=>!1}),Ga=new q(""),Rl=new q("");let wc=(()=>{class _{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new H.t(!1);get hasPendingTasks(){return!this.destroyed&&this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new N.c(re=>{re.next(!1),re.complete()}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(!0);const re=this.taskId++;return this.pendingTasks.add(re),re}has(re){return this.pendingTasks.has(re)}remove(re){this.pendingTasks.delete(re),0===this.pendingTasks.size&&this.hasPendingTasks&&this.pendingTask.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks&&this.pendingTask.next(!1),this.destroyed=!0,this.pendingTask.unsubscribe()}static \u0275prov=_t({token:_,providedIn:"root",factory:()=>new _})}return _})(),ua=(()=>{class _{internalPendingTasks=or(wc);
1scheduler=or(Pc);errorHandler=or(js);add(){const re=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(re)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(re))}}run(re){const Qe=this.add();re().catch(this.errorHandler).finally(Qe)}static \u0275prov=_t({token:_,providedIn:"root",factory:()=>new _})}return _})();function Xa(..._){}let xl=(()=>{class _{static \u0275prov=_t({token:_,providedIn:"root",factory:()=>new Qa})}return _})();class Qa{dirtyEffectCount=0;queues=new Map;add(F){this.enqueue(F),this.schedule(F)}schedule(F){F.dirty&&this.dirtyEffectCount++}remove(F){const Qe=this.queues.get(F.zone);Qe.has(F)&&(Qe.delete(F),F.dirty&&this.dirtyEffectCount--)}enqueue(F){const re=F.zone;this.queues.has(re)||this.queues.set(re,new Set);const Qe=this.queues.get(re);Qe.has(F)||Qe.add(F)}flush(){for(;this.dirtyEffectCount>0;){let F=!1;for(const[re,Qe]of this.queues)F||=null===re?this.flushQueue(Qe):re.run(()=>this.flushQueue(Qe));F||(this.dirtyEffectCount=0)}}flushQueue(F){let re=!1;for(const Qe of F)Qe.dirty&&(this.dirtyEffectCount--,re=!0,Qe.run());return re}}},9079(tt,ce,l){l.d(ce,{YV:()=>Ie,br:()=>me,ot:()=>Ue,pQ:()=>ue});var N=l(1985),O=l(2771),I=l(6977),V=l(2615),Y=l(9295);function ue(he){he||(he=(0,V.WQX)(V.abz));const Ve=new N.c(Fe=>{if(!he.destroyed)return he.onDestroy(Fe.next.bind(Fe));Fe.next()});return Fe=>Fe.pipe((0,I.Q)(Ve))}function me(he,Ve){const Fe=Ve?.injector??(0,V.WQX)(V.zZn),Be=new O.m(1),Ge=(0,Y.QZ)(()=>{let it;try{it=he()}catch(mt){return void(0,Y.O8)(()=>Be.error(mt))}(0,Y.O8)(()=>Be.next(it))},{injector:Fe,manualCleanup:!0});return Fe.get(V.abz).onDestroy(()=>{Ge.destroy(),Be.complete()}),Be.asObservable()}function Ue(he,Ve){const Be=Ve?.manualCleanup?null:Ve?.injector?.get(V.abz)??(0,V.WQX)(V.abz),Ge=function z(he=Object.is){return(Ve,Fe)=>1===Ve.kind&&1===Fe.kind&&he(Ve.value,Fe.value)}(Ve?.equal);let it,mt;it=(0,V.vPA)(Ve?.requireSync?{kind:0}:{kind:1,value:Ve?.initialValue},{equal:Ge});const Vt=he.subscribe({next:Tt=>it.set({kind:1,value:Tt}),error:Tt=>{it.set({kind:2,error:Tt}),mt?.()},complete:()=>{mt?.()}});if(Ve?.requireSync&&0===it().kind)throw new V.buA(601,!1);return mt=Be?.onDestroy(Vt.unsubscribe.bind(Vt)),(0,Y.EW)(()=>{const Tt=it();switch(Tt.kind){case 1:return Tt.value;case 2:throw Tt.error;case 0:throw new V.buA(601,!1)}},{equal:Ve?.equal})}function Ie(he){void 0===he&&(he=(0,V.WQX)(V.zZn));const Ve=he.get(V.u5s);return Fe=>new N.c(Be=>{const Ge=Ve.add();let it=!1;function mt(){it||(Ge(),it=!0)}const Vt=Fe.subscribe({next:Tt=>{Be.next(Tt),mt()},complete:()=>{Be.complete(),mt()},error:Tt=>{Be.error(Tt),mt()}});return Vt.add(()=>{Be.unsubscribe(),mt()}),Vt})}},8440(tt,ce,l){l.d(ce,{Ag:()=>Tt,Bg:()=>de,EF:()=>rn,H8:()=>mt,Ht:()=>j,JC:()=>V,KE:()=>b,KO:()=>$e,KZ:()=>Vt,Ny:()=>xt,TO:()=>se,Wu:()=>Ue,XR:()=>ae,a7:()=>Be,bh:()=>s,j2:()=>Le,mC:()=>Ye,mK:()=>O,n5:()=>Ze,nR:()=>W,pL:()=>N,s0:()=>gt,si:()=>Ie});let k=null,T=!1,u=1;const s=Symbol("SIGNAL");function j(Ae){const _t=k;return k=Ae,_t}function W(){return k}function b(){return T}const N={version:0,lastCleanEpoch:0,dirty:!1,producers:void 0,producersTail:void 0,consumers:void 0,consumersTail:void 0,recomputing:!1,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function O(Ae){if(T)throw new Error("");if(null===k)return;k.consumerOnSignalRead(Ae);const _t=k.producersTail;if(void 0!==_t&&_t.producer===Ae)return;let Mt;const jt=k.recomputing;if(jt&&(Mt=void 0!==_t?_t.nextProducer:k.producers,void 0!==Mt&&Mt.producer===Ae))return k.producersTail=Mt,void(Mt.lastReadVersion=Ae.version);const Ht=Ae.consumersTail;if(void 0!==Ht&&Ht.consumer===k&&(!jt||function it(Ae,_t){const Mt=_t.producersTail;if(void 0!==Mt){let jt=_t.producers;do{if(jt===Ae)return!0;if(jt===Mt)break;jt=jt.nextProducer}while(void 0!==jt)}return!1}(Ht,k)))return;const hn=Fe(k),pn={producer:Ae,consumer:k,nextProducer:Mt,prevConsumer:Ht,lastReadVersion:Ae.version,nextConsumer:void 0};k.producersTail=pn,void 0!==_t?_t.nextProducer=pn:k.producers=pn,hn&&he(Ae,pn)}function V(Ae){if((!Fe(Ae)||Ae.dirty)&&(Ae.dirty||Ae.lastCleanEpoch!==u)){
1if(!Ae.producerMustRecompute(Ae)&&!Ie(Ae))return void se(Ae);Ae.producerRecomputeValue(Ae),se(Ae)}}function Y(Ae){if(void 0===Ae.consumers)return;const _t=T;T=!0;try{for(let Mt=Ae.consumers;void 0!==Mt;Mt=Mt.nextConsumer){const jt=Mt.consumer;jt.dirty||oe(jt)}}finally{T=_t}}function ue(){return!1!==k?.consumerAllowSignalWrites}function oe(Ae){Ae.dirty=!0,Y(Ae),Ae.consumerMarkedDirty?.(Ae)}function se(Ae){Ae.dirty=!1,Ae.lastCleanEpoch=u}function de(Ae){return Ae&&function me(Ae){Ae.producersTail=void 0,Ae.recomputing=!0}(Ae),j(Ae)}function Ue(Ae,_t){j(_t),Ae&&function z(Ae){Ae.recomputing=!1;const _t=Ae.producersTail;let Mt=void 0!==_t?_t.nextProducer:Ae.producers;if(void 0!==Mt){if(Fe(Ae))do{Mt=Ve(Mt)}while(void 0!==Mt);void 0!==_t?_t.nextProducer=void 0:Ae.producers=void 0}}(Ae)}function Ie(Ae){for(let _t=Ae.producers;void 0!==_t;_t=_t.nextProducer){const Mt=_t.producer,jt=_t.lastReadVersion;if(jt!==Mt.version||(V(Mt),jt!==Mt.version))return!0}return!1}function ae(Ae){if(Fe(Ae)){let _t=Ae.producers;for(;void 0!==_t;)_t=Ve(_t)}Ae.producers=void 0,Ae.producersTail=void 0,Ae.consumers=void 0,Ae.consumersTail=void 0}function he(Ae,_t){const Mt=Ae.consumersTail,jt=Fe(Ae);if(void 0!==Mt?(_t.nextConsumer=Mt.nextConsumer,Mt.nextConsumer=_t):(_t.nextConsumer=void 0,Ae.consumers=_t),_t.prevConsumer=Mt,Ae.consumersTail=_t,!jt)for(let Ht=Ae.producers;void 0!==Ht;Ht=Ht.nextProducer)he(Ht.producer,Ht)}function Ve(Ae){const _t=Ae.producer,Mt=Ae.nextProducer,jt=Ae.nextConsumer,Ht=Ae.prevConsumer;if(Ae.nextConsumer=void 0,Ae.prevConsumer=void 0,void 0!==jt?jt.prevConsumer=Ht:_t.consumersTail=Ht,void 0!==Ht)Ht.nextConsumer=jt;else if(_t.consumers=jt,!Fe(_t)){let hn=_t.producers;for(;void 0!==hn;)hn=Ve(hn)}return Mt}function Fe(Ae){return Ae.consumerIsAlwaysLive||void 0!==Ae.consumers}function Be(Ae){}function mt(Ae,_t){return Object.is(Ae,_t)}function Vt(Ae,_t){const Mt=Object.create(en);Mt.computation=Ae,void 0!==_t&&(Mt.equal=_t);const jt=()=>{if(V(Mt),O(Mt),Mt.value===rn)throw Mt.error;return Mt.value};return jt[s]=Mt,jt}const Tt=Symbol("UNSET"),xt=Symbol("COMPUTING"),rn=Symbol("ERRORED"),en={...N,value:Tt,dirty:!0,error:null,equal:mt,kind:"computed",producerMustRecompute:Ae=>Ae.value===Tt||Ae.value===xt,producerRecomputeValue(Ae){if(Ae.value===xt)throw new Error("");const _t=Ae.value;Ae.value=xt;const Mt=de(Ae);let jt,Ht=!1;try{jt=Ae.computation(),j(null),Ht=_t!==Tt&&_t!==rn&&jt!==rn&&Ae.equal(_t,jt)}catch(hn){jt=rn,Ae.error=hn}finally{Ue(Ae,Mt)}Ht?Ae.value=_t:(Ae.value=jt,Ae.version++)}};let Cn=function Fn(){throw new Error};function We(Ae){Cn(Ae)}function $e(Ae){Cn=Ae}function Ze(Ae,_t){const Mt=Object.create(gt);Mt.value=Ae,void 0!==_t&&(Mt.equal=_t);const jt=()=>function Pe(Ae){return O(Ae),Ae.value}(Mt);return jt[s]=Mt,[jt,pn=>Le(Mt,pn),pn=>Ye(Mt,pn)]}function Le(Ae,_t){ue()||We(Ae),Ae.equal(Ae.value,_t)||(Ae.value=_t,function It(Ae){Ae.version++,function I(){u++}(),Y(Ae)}(Ae))}function Ye(Ae,_t){ue()||We(Ae),Le(Ae,_t(Ae.value))}const gt={...N,equal:mt,value:void 0,kind:"signal"}},1910(tt,ce,l){l.d(ce,{j0:()=>fi,P5:()=>hi,$s:()=>os,Ol:()=>Ds});var k=l(3710),T=l(177),u=l(2615),A=l(3664),s=l(7440),j=l(2214),W=l(467),b=l(8742),H=l(8041),N=l(6858),O=l(1362),I=l(6749);const oe="@firebase/installations",se="0.6.18",me=`w:${se}`,Fe=new N.FA("installations","Installations",{"missing-app-config-values":'Missing App configuration value: "{$valueName}"',"not-registered":"Firebase Installation is not registered.","installation-not-found":"Firebase Installation not found.","request-failed":'{$requestName} request failed with error "{$serverCode} {$serverStatus}: {$serverMessage}"',"app-offline":"Could not process request. Application offline.","delete-pending-registration":"Can't delete installation while there is a pending registration request."});function Be(J){return J instanceof N.g&&J.code.includes("request-failed")}function Ge({projectId:J}){return`https://firebaseinstallations.googleapis.com/v1/projects/${J}/installations`}function it(J){return{token:J.token,requestStatus:2,expiresIn:Fn(J.expiresIn),creationTime:Date.now()}}function mt(J,ye){return Vt.apply(this,arguments)}function Vt(){return(Vt=(0,W.A)(function*(J,ye){const ot=(yield ye.json()).error;return Fe.create("request-failed",{requestName:J,serverCode:ot.code,serverMessage:ot.message,serverStatus:ot.status})})).apply(this,arguments)}function Tt({apiKey:J}){return new Headers({"Content-Type":"application/json",Accept:"application/json","x-goog-api-key":J})}function rn(J){return en.apply(this,arguments)}function en(){return(en=(0,W.A)(function*(J){const ye=yield J();return ye.status>=500&&ye.status<600?J():ye})).apply(this,arguments)}function Fn(J){return Number(J.replace("s","000"))}function $e(){return($e=(0,W.A)(function*({appConfig:J,heartbeatServiceProvider:ye},{fid:xe}){const ot=Ge(J),pt=Tt(J),St=ye.getImmediate({optional:!0});if(St){const y=yield St.getHeartbeatsHeader();y&&pt.append("x-firebase-client",y)}const ln={method:"POST",headers:pt,body:JSON.stringify({fid:xe,authVersion:"FIS_v2",appId:J.appId,sdkVersion:me})},f=yield rn(()=>fetch(ot,ln));if(f.ok){const y=yield f.json();return{fid:y.fid||xe,registrationStatus:2,refreshToken:y.refreshToken,authToken:it(y.authToken)}}throw yield mt("Create Installation",f)})).apply(this,arguments)}function ze(J){return new Promise(ye=>{setTimeout(ye,J)})}const Te=/^[cdef][\w-]{21}$/;function Le(){try{const J=new Uint8Array(17);(self.crypto||self.msCrypto).getRandomValues(J),J[0]=112+J[0]%16;const xe=function Ye(J){return function Ze(J){return btoa(String.fromCharCode(...J)).replace(/\+/g,"-").replace(/\//g,"_")}(J).substr(0,22)}(J);return Te.test(xe)?xe:""}catch{return""}}function yt(J){return`${J.appName}!${J.appId}`}const gt=new Map;function It(J,ye){const xe=yt(J);Mt(xe,ye),function jt(J,ye){const xe=function hn(){return!Ht&&"BroadcastChannel"in self&&(Ht=new BroadcastChannel("[Firebase] FID Change"),Ht.onmessage=J=>{Mt(J.data.key,J.data.fid)}),Ht}();xe&&xe.postMessage({key:J,fid:ye}),function pn(){0===gt.size&&Ht&&(Ht.close(),Ht=null)}()}(xe,ye)}function Mt(J,ye){const xe=gt.get(J);
1if(xe)for(const ot of xe)ot(ye)}let Ht=null;const we="firebase-installations-store";let ke=null;function q(){return ke||(ke=(0,I.P2)("firebase-installations-database",1,{upgrade:(J,ye)=>{0===ye&&J.createObjectStore(we)}})),ke}function o(J,ye){return Xe.apply(this,arguments)}function Xe(){return(Xe=(0,W.A)(function*(J,ye){const xe=yt(J),pt=(yield q()).transaction(we,"readwrite"),St=pt.objectStore(we),Jt=yield St.get(xe);return yield St.put(ye,xe),yield pt.done,(!Jt||Jt.fid!==ye.fid)&&It(J,ye.fid),ye})).apply(this,arguments)}function At(J){return Gt.apply(this,arguments)}function Gt(){return(Gt=(0,W.A)(function*(J){const ye=yt(J),ot=(yield q()).transaction(we,"readwrite");yield ot.objectStore(we).delete(ye),yield ot.done})).apply(this,arguments)}function Wn(J,ye){return kn.apply(this,arguments)}function kn(){return(kn=(0,W.A)(function*(J,ye){const xe=yt(J),pt=(yield q()).transaction(we,"readwrite"),St=pt.objectStore(we),Jt=yield St.get(xe),ln=ye(Jt);return void 0===ln?yield St.delete(xe):yield St.put(ln,xe),yield pt.done,ln&&(!Jt||Jt.fid!==ln.fid)&&It(J,ln.fid),ln})).apply(this,arguments)}function An(J){return Rn.apply(this,arguments)}function Rn(){return Rn=(0,W.A)(function*(J){let ye;const xe=yield Wn(J.appConfig,ot=>{const pt=function Pn(J){return _r(J||{fid:Le(),registrationStatus:0})}(ot),St=function nn(J,ye){if(0===ye.registrationStatus){if(!navigator.onLine)return{installationEntry:ye,registrationPromise:Promise.reject(Fe.create("app-offline"))};const xe={fid:ye.fid,registrationStatus:1,registrationTime:Date.now()},ot=function Bn(J,ye){return Kn.apply(this,arguments)}(J,xe);return{installationEntry:xe,registrationPromise:ot}}return 1===ye.registrationStatus?{installationEntry:ye,registrationPromise:gr(J)}:{installationEntry:ye}}(J,pt);return ye=St.registrationPromise,St.installationEntry});return""===xe.fid?{installationEntry:yield ye}:{installationEntry:xe,registrationPromise:ye}}),Rn.apply(this,arguments)}function Kn(){return Kn=(0,W.A)(function*(J,ye){try{const xe=yield function We(J,ye){return $e.apply(this,arguments)}(J,ye);return o(J.appConfig,xe)}catch(xe){throw Be(xe)&&409===xe.customData.serverCode?yield At(J.appConfig):yield o(J.appConfig,{fid:ye.fid,registrationStatus:0}),xe}}),Kn.apply(this,arguments)}function gr(J){return nr.apply(this,arguments)}function nr(){return(nr=(0,W.A)(function*(J){let ye=yield zn(J.appConfig);for(;1===ye.registrationStatus;)yield ze(100),ye=yield zn(J.appConfig);if(0===ye.registrationStatus){const{installationEntry:xe,registrationPromise:ot}=yield An(J);return ot||xe}return ye})).apply(this,arguments)}function zn(J){return Wn(J,ye=>{if(!ye)throw Fe.create("installation-not-found");return _r(ye)})}function _r(J){return function wr(J){return 1===J.registrationStatus&&J.registrationTime+1e4<Date.now()}(J)?{fid:J.fid,registrationStatus:0}:J}function bn(){return(bn=(0,W.A)(function*({appConfig:J,heartbeatServiceProvider:ye},xe){const ot=function dr(J,{fid:ye}){return`${Ge(J)}/${ye}/authTokens:generate`}(J,xe),pt=function xt(J,{refreshToken:ye}){const xe=Tt(J);return xe.append("Authorization",function Cn(J){return`FIS_v2 ${J}`}(ye)),xe}(J,xe),St=ye.getImmediate({optional:!0});if(St){const y=yield St.getHeartbeatsHeader();y&&pt.append("x-firebase-client",y)}const ln={method:"POST",headers:pt,body:JSON.stringify({installation:{sdkVersion:me,appId:J.appId}})},f=yield rn(()=>fetch(ot,ln));if(f.ok)return it(yield f.json());throw yield mt("Generate Auth Token",f)})).apply(this,arguments)}function $n(J){return Zn.apply(this,arguments)}function Zn(){return Zn=(0,W.A)(function*(J,ye=!1){let xe;const ot=yield Wn(J.appConfig,St=>{if(!Nr(St))throw Fe.create("not-registered");const Jt=St.authToken;if(!ye&&function cr(J){return 2===J.requestStatus&&!function Ct(J){const ye=Date.now();return ye<J.creationTime||J.creationTime+J.expiresIn<ye+36e5}(J)}(Jt))return St;if(1===Jt.requestStatus)return xe=function rr(J,ye){return Gn.apply(this,arguments)}(J,ye),St;{if(!navigator.onLine)throw Fe.create("app-offline");const ln=function et(J){const ye={requestStatus:1,requestTime:Date.now()};return Object.assign(Object.assign({},J),{authToken:ye})}(St);return xe=function mr(J,ye){return vr.apply(this,arguments)}(J,ln),ln}});return xe?yield xe:ot.authToken}),Zn.apply(this,arguments)}function Gn(){return(Gn=(0,W.A)(function*(J,ye){let xe=yield xr(J.appConfig);for(;1===xe.authToken.requestStatus;)yield ze(100),xe=yield xr(J.appConfig);const ot=xe.authToken;return 0===ot.requestStatus?$n(J,ye):ot})).apply(this,arguments)}function xr(J){return Wn(J,ye=>{if(!Nr(ye))throw Fe.create("not-registered");return function vt(J){return 1===J.requestStatus&&J.requestTime+1e4<Date.now()}(ye.authToken)?Object.assign(Object.assign({},ye),{authToken:{requestStatus:0}}):ye})}function vr(){return vr=(0,W.A)(function*(J,ye){try{const xe=yield function Er(J,ye){return bn.apply(this,arguments)}(J,ye),ot=Object.assign(Object.assign({},ye),{authToken:xe});return yield o(J.appConfig,ot),xe}catch(xe){if(!Be(xe)||401!==xe.customData.serverCode&&404!==xe.customData.serverCode){const ot=Object.assign(Object.assign({},ye),{authToken:{requestStatus:0}});yield o(J.appConfig,ot)}else yield At(J.appConfig);throw xe}}),vr.apply(this,arguments)}function Nr(J){return void 0!==J&&2===J.registrationStatus}function Wt(){return(Wt=(0,W.A)(function*(J){const ye=J,{installationEntry:xe,registrationPromise:ot}=yield An(ye);return ot?ot.catch(console.error):$n(ye).catch(console.error),xe.fid})).apply(this,arguments)}function Z(){return Z=(0,W.A)(function*(J,ye=!1){const xe=J;return yield function ve(J){return Oe.apply(this,arguments)}(xe),(yield $n(xe,ye)).token}),Z.apply(this,arguments)}function Oe(){return(Oe=(0,W.A)(function*(J){const{registrationPromise:ye}=yield An(J);ye&&(yield ye)}
1)).apply(this,arguments)}function Xt(J){return Fe.create("missing-app-config-values",{valueName:J})}const Xn="installations",Jn=J=>{const ye=J.getProvider("app").getImmediate(),xe=function un(J){if(!J||!J.options)throw Xt("App Configuration");if(!J.name)throw Xt("App Name");const ye=["projectId","apiKey","appId"];for(const xe of ye)if(!J.options[xe])throw Xt(xe);return{appName:J.name,projectId:J.options.projectId,apiKey:J.options.apiKey,appId:J.options.appId}}(ye);return{app:ye,appConfig:xe,heartbeatServiceProvider:(0,b.j6)(ye,"heartbeat"),_delete:()=>Promise.resolve()}},fr=J=>{const ye=J.getProvider("app").getImmediate(),xe=(0,b.j6)(ye,Xn).getImmediate();return{getId:()=>function Nt(J){return Wt.apply(this,arguments)}(xe),getToken:pt=>function fe(J){return Z.apply(this,arguments)}(xe,pt)}};(function or(){(0,b.om)(new O.uA(Xn,Jn,"PUBLIC")),(0,b.om)(new O.uA("installations-internal",fr,"PRIVATE"))})(),(0,b.KO)(oe,se),(0,b.KO)(oe,se,"esm2017");const ie="analytics",Lt="https://www.googletagmanager.com/gtag/js",Ft=new H.Vy("@firebase/analytics"),gn=new N.FA("analytics","Analytics",{"already-exists":"A Firebase Analytics instance with the appId {$id} already exists. Only one Firebase Analytics instance can be created for each appId.","already-initialized":"initializeAnalytics() cannot be called again with different options than those it was initially called with. It can be called again with the same options to return the existing instance, or getAnalytics() can be used to get a reference to the already-initialized instance.","already-initialized-settings":"Firebase Analytics has already been initialized.settings() must be called before initializing any Analytics instanceor it will have no effect.","interop-component-reg-failed":"Firebase Analytics Interop Component failed to instantiate: {$reason}","invalid-analytics-context":"Firebase Analytics is not supported in this environment. Wrap initialization of analytics in analytics.isSupported() to prevent initialization in unsupported environments. Details: {$errorInfo}","indexeddb-unavailable":"IndexedDB unavailable or restricted in this environment. Wrap initialization of analytics in analytics.isSupported() to prevent initialization in unsupported environments. Details: {$errorInfo}","fetch-throttle":"The config fetch request timed out while in an exponential backoff state. Unix timestamp in milliseconds when fetch request throttling ends: {$throttleEndTimeMillis}.","config-fetch-failed":"Dynamic config fetch failed: [{$httpStatus}] {$responseMessage}","no-api-key":'The "apiKey" field is empty in the local Firebase config. Firebase Analytics requires this field tocontain a valid API key.',"no-app-id":'The "appId" field is empty in the local Firebase config. Firebase Analytics requires this field tocontain a valid app ID.',"no-client-id":'The "client_id" field is empty.',"invalid-gtag-resource":"Trusted Types detected an invalid gtag resource: {$gtagURL}."});function Un(J){if(!J.startsWith(Lt)){const ye=gn.create("invalid-gtag-resource",{gtagURL:J});return Ft.warn(ye.message),""}return J}function vn(J){return Promise.all(J.map(ye=>ye.catch(xe=>xe)))}function ir(){return(ir=(0,W.A)(function*(J,ye,xe,ot,pt,St){const Jt=ot[pt];try{if(Jt)yield ye[Jt];else{const f=(yield vn(xe)).find(y=>y.measurementId===pt);f&&(yield ye[f.appId])}}catch(ln){Ft.error(ln)}J("config",pt,St)})).apply(this,arguments)}function Lr(){return(Lr=(0,W.A)(function*(J,ye,xe,ot,pt){try{let St=[];if(pt&&pt.send_to){let Jt=pt.send_to;Array.isArray(Jt)||(Jt=[Jt]);const ln=yield vn(xe);for(const f of Jt){const y=ln.find(M=>M.measurementId===f),m=y&&ye[y.appId];if(!m){St=[];break}St.push(m)}}0===St.length&&(St=Object.values(ye)),yield Promise.all(St),J("event",ot,pt||{})}catch(St){Ft.error(St)}})).apply(this,arguments)}const Kr=new class io{constructor(ye={},xe=1e3){this.throttleMetadata=ye,this.intervalMillis=xe}getThrottleMetadata(ye){return this.throttleMetadata[ye]}setThrottleMetadata(ye,xe){this.throttleMetadata[ye]=xe}deleteThrottleMetadata(ye){delete this.throttleMetadata[ye]}};function Zt(J){return new Headers({Accept:"application/json","x-goog-api-key":J})}function tn(){return(tn=(0,W.A)(function*(J){var ye;const{appId:xe,apiKey:ot}=J,pt={method:"GET",headers:Zt(ot)},St="https://firebase.googleapis.com/v1alpha/projects/-/apps/{app-id}/webConfig".replace("{app-id}",xe),Jt=yield fetch(St,pt);if(200!==Jt.status&&304!==Jt.status){let ln="";try{const f=yield Jt.json();null!==(ye=f.error)&&void 0!==ye&&ye.message&&(ln=f.error.message)}catch{}
1throw gn.create("config-fetch-failed",{httpStatus:Jt.status,responseMessage:ln})}return Jt.json()})).apply(this,arguments)}function so(){return(so=(0,W.A)(function*(J,ye=Kr,xe){const{appId:ot,apiKey:pt,measurementId:St}=J.options;if(!ot)throw gn.create("no-app-id");if(!pt){if(St)return{measurementId:St,appId:ot};throw gn.create("no-api-key")}const Jt=ye.getThrottleMetadata(ot)||{backoffCount:0,throttleEndTimeMillis:Date.now()},ln=new le;return setTimeout((0,W.A)(function*(){ln.abort()}),void 0!==xe?xe:6e4),ao({appId:ot,apiKey:pt,measurementId:St},Jt,ln,ye)})).apply(this,arguments)}function ao(J,ye,xe){return Jo.apply(this,arguments)}function Jo(){return Jo=(0,W.A)(function*(J,{throttleEndTimeMillis:ye,backoffCount:xe},ot,pt=Kr){var St;const{appId:Jt,measurementId:ln}=J;try{yield function Do(J,ye){return new Promise((xe,ot)=>{const pt=Math.max(ye-Date.now(),0),St=setTimeout(xe,pt);J.addEventListener(()=>{clearTimeout(St),ot(gn.create("fetch-throttle",{throttleEndTimeMillis:ye}))})})}(ot,ye)}catch(f){if(ln)return Ft.warn(`Timed out fetching this Firebase app's measurement ID from the server. Falling back to the measurement ID ${ln} provided in the "measurementId" field in the local Firebase config. [${f?.message}]`),{appId:Jt,measurementId:ln};throw f}try{const f=yield function ur(J){return tn.apply(this,arguments)}(J);return pt.deleteThrottleMetadata(Jt),f}catch(f){const y=f;if(!function R(J){if(!(J instanceof N.g&&J.customData))return!1;const ye=Number(J.customData.httpStatus);return 429===ye||500===ye||503===ye||504===ye}(y)){if(pt.deleteThrottleMetadata(Jt),ln)return Ft.warn(`Failed to fetch this Firebase app's measurement ID from the server. Falling back to the measurement ID ${ln} provided in the "measurementId" field in the local Firebase config. [${y?.message}]`),{appId:Jt,measurementId:ln};throw f}const m=503===Number(null===(St=y?.customData)||void 0===St?void 0:St.httpStatus)?(0,N.p9)(xe,pt.intervalMillis,30):(0,N.p9)(xe,pt.intervalMillis),M={throttleEndTimeMillis:Date.now()+m,backoffCount:xe+1};return pt.setThrottleMetadata(Jt,M),Ft.debug(`Calling attemptFetch again in ${m} millis`),ao(J,M,ot,pt)}}),Jo.apply(this,arguments)}class le{constructor(){this.listeners=[]}addEventListener(ye){this.listeners.push(ye)}abort(){this.listeners.forEach(ye=>ye())}}let U,Ur;function Se(){return(Se=(0,W.A)(function*(J,ye,xe,ot,pt){if(pt&&pt.global)J("event",xe,ot);else{const St=yield ye;J("event",xe,Object.assign(Object.assign({},ot),{send_to:St}))}})).apply(this,arguments)}function To(){return(To=(0,W.A)(function*(){if(!(0,N.zW)())return Ft.warn(gn.create("indexeddb-unavailable",{errorInfo:"IndexedDB is not available in this environment."}).message),!1;try{yield(0,N.eX)()}catch(J){return Ft.warn(gn.create("indexeddb-unavailable",{errorInfo:J?.toString()}).message),!1}return!0})).apply(this,arguments)}function Ao(){return Ao=(0,W.A)(function*(J,ye,xe,ot,pt,St,Jt){var ln;const f=function Eo(J){return so.apply(this,arguments)}(J);f.then(Q=>{xe[Q.measurementId]=Q.appId,J.options.measurementId&&Q.measurementId!==J.options.measurementId&&Ft.warn(`The measurement ID in the local Firebase config (${J.options.measurementId}) does not match the measurement ID fetched from the server (${Q.measurementId}). To ensure analytics events are always sent to the correct Analytics property, update the measurement ID field in the local config or remove it from the local config.`)}).catch(Q=>Ft.error(Q)),ye.push(f);const y=function Fr(){return To.apply(this,arguments)}().then(Q=>{if(Q)return ot.getId()}),[m,M]=yield Promise.all([f,y]);(function er(J){const ye=window.document.getElementsByTagName("script");for(const xe of Object.values(ye))if(xe.src&&xe.src.includes(Lt)&&xe.src.includes(J))return xe;return null})(St)||function wn(J,ye){const xe=function yn(J,ye){let xe;return window.trustedTypes&&(xe=window.trustedTypes.createPolicy(J,ye)),xe}("firebase-js-sdk-policy",{createScriptURL:Un}),ot=document.createElement("script"),pt=`${Lt}?l=${J}&id=${ye}`;ot.src=xe?xe?.createScriptURL(pt):pt,ot.async=!0,document.head.appendChild(ot)}(St,m.measurementId),Ur&&(pt("consent","default",Ur),function hr(J){Ur=J}(void 0)),pt("js",new Date);const L=null!==(ln=Jt?.config)&&void 0!==ln?ln:{};return L.origin="firebase",L.update=!0,null!=M&&(L.firebase_id=M),pt("config",m.measurementId,L),U&&(pt("set",U),function Sr(J){U=J}(void 0)),m.measurementId}),Ao.apply(this,arguments)}class Zr{constructor(ye){this.app=ye}_delete(){return delete co[this.app.options.appId],Promise.resolve()}}let co={},Ti=[];const ci={};let yr,Dr,po="dataLayer",qo=!1;function Ho(J,ye,xe){!function Ai(){const J=[];
1if((0,N.sr)()&&J.push("This is a browser extension environment."),(0,N.dM)()||J.push("Cookies are not available."),J.length>0){const ye=J.map((ot,pt)=>`(${pt+1}) ${ot}`).join(" "),xe=gn.create("invalid-analytics-context",{errorInfo:ye});Ft.warn(xe.message)}}();const ot=J.options.appId;if(!ot)throw gn.create("no-app-id");if(!J.options.apiKey){if(!J.options.measurementId)throw gn.create("no-api-key");Ft.warn(`The "apiKey" field is empty in the local Firebase config. This is needed to fetch the latest measurement ID for this Firebase app. Falling back to the measurement ID ${J.options.measurementId} provided in the "measurementId" field in the local Firebase config.`)}if(null!=co[ot])throw gn.create("already-exists",{id:ot});if(!qo){!function xn(J){let ye=[];Array.isArray(window[J])?ye=window[J]:window[J]=ye}(po);const{wrappedGtag:St,gtagCore:Jt}=function Yr(J,ye,xe,ot,pt){let St=function(...Jt){window[ot].push(arguments)};return window[pt]&&"function"==typeof window[pt]&&(St=window[pt]),window[pt]=function lr(J,ye,xe,ot){function St(){return St=(0,W.A)(function*(Jt,...ln){try{if("event"===Jt){const[f,y]=ln;yield function Qn(J,ye,xe,ot,pt){return Lr.apply(this,arguments)}(J,ye,xe,f,y)}else if("config"===Jt){const[f,y]=ln;yield function Nn(J,ye,xe,ot,pt,St){return ir.apply(this,arguments)}(J,ye,xe,ot,f,y)}else if("consent"===Jt){const[f,y]=ln;J("consent",f,y)}else if("get"===Jt){const[f,y,m]=ln;J("get",f,y,m)}else if("set"===Jt){const[f]=ln;J("set",f)}else J(Jt,...ln)}catch(f){Ft.error(f)}}),St.apply(this,arguments)}return function pt(Jt){return St.apply(this,arguments)}}(St,J,ye,xe),{gtagCore:St,wrappedGtag:window[pt]}}(co,Ti,ci,po,"gtag");Dr=St,yr=Jt,qo=!0}return co[ot]=function zr(J,ye,xe,ot,pt,St,Jt){return Ao.apply(this,arguments)}(J,Ti,ci,ye,yr,po,xe),new Zr(J)}function qr(J=(0,b.Sx)()){J=(0,N.Ku)(J);const ye=(0,b.j6)(J,ie);return ye.isInitialized()?ye.getImmediate():function Ko(J,ye={}){const xe=(0,b.j6)(J,ie);if(xe.isInitialized()){const pt=xe.getImmediate();if((0,N.bD)(ye,xe.getOptions()))return pt;throw gn.create("already-initialized")}return xe.initialize({options:ye})}(J)}function eo(J,ye,xe,ot){J=(0,N.Ku)(J),function ee(J,ye,xe,ot,pt){return Se.apply(this,arguments)}(Dr,co[J.app.options.appId],ye,xe,ot).catch(pt=>Ft.error(pt))}const Vr="@firebase/analytics",No="0.10.17";!function Wr(){(0,b.om)(new O.uA(ie,(ye,{options:xe})=>Ho(ye.getProvider("app").getImmediate(),ye.getProvider("installations-internal").getImmediate(),xe),"PUBLIC")),(0,b.om)(new O.uA("analytics-internal",function J(ye){try{const xe=ye.getProvider(ie).getImmediate();return{logEvent:(ot,pt,St)=>eo(xe,ot,pt,St)}}catch(xe){throw gn.create("interop-component-reg-failed",{reason:xe})}},"PRIVATE")),(0,b.KO)(Vr,No),(0,b.KO)(Vr,No,"esm2017")}();class fi{constructor(ye){return ye}}const $i="analytics",hi=(0,k.S3)(qr,!0),os=(0,k.S3)(eo,!1,2),_n=new u.nKC("angularfire2.analytics-instances");function Qi(J){return(ye,xe,ot)=>{if(!(0,T.UE)(ot))return null;const pt=ye.runOutsideAngular(()=>J(xe));return new fi(pt)}}const Yi={provide:class vs{constructor(){return(0,k.CA)($i)}},deps:[[new A.Xx1,_n]]},Ts={provide:fi,useFactory:function gi(J,ye,xe){if(!(0,T.UE)(xe))return null;const ot=(0,k.lR)($i,J,ye);return ot&&new fi(ot)},deps:[[new A.Xx1,_n],s.XU,A.Agw]};function Ds(J,...ye){return(0,j.KO)("angularfire",k.xv.full,"analytics"),(0,u.EmA)([Ts,Yi,{provide:_n,useFactory:Qi(J),multi:!0,deps:[A.SKi,u.zZn,A.Agw,k.u0,s.gL,...ye]}])}},7440(tt,ce,l){l.d(ce,{MW:()=>mt,Wp:()=>rn,XU:()=>z,gL:()=>Ie});var se=l(2214),de=l(2615),me=l(3664),Ue=l(3710);class z{constructor(ze){return ze}}class Ie{constructor(){return(0,se.Dk)()}}const Ve=new de.nKC("angularfire2._apps"),Fe={provide:z,useFactory:function he($e){return $e&&1===$e.length?$e[0]:new z((0,se.Sx)())},deps:[[new me.Xx1,Ve]]},Be={provide:Ie,deps:[[new me.Xx1,Ve]]};function Ge($e){return(ze,Ze)=>{const Te=Ze.get(me.Agw);(0,se.KO)("angularfire",Ue.xv.full,"core"),(0,se.KO)("angularfire",Ue.xv.full,"app"),(0,se.KO)("angular",de.xvI.full,Te.toString());const Pe=ze.runOutsideAngular(()=>$e(Ze));return new z(Pe)}}function mt($e,...ze){return(0,de.EmA)([Fe,Be,{provide:Ve,useFactory:Ge($e),multi:!0,deps:[me.SKi,de.zZn,Ue.u0,...ze]}])}const rn=(0,Ue.S3)(se.Wp,!0)},3710(tt,ce,l){l.d(ce,{CA:()=>Y,S3:()=>Ve,lR:()=>V,u0:()=>me,xv:()=>O});var k=l(2615),T=l(7705),u=l(3664),A=l(2214),s=l(9079),j=l(1985),W=l(3236),b=l(7242),H=l(941),N=l(6745);const O=new k.RxE("ANGULARFIRE2_VERSION");function V(Fe,Be,Ge){if(Be){if(1===Be.length)return Be[0];const Vt=Be.filter(Tt=>Tt.app===Ge);
1if(1===Vt.length)return Vt[0]}return Ge.container.getProvider(Fe).getImmediate({optional:!0})}const Y=(Fe,Be)=>{const Ge=Be?[Be]:(0,A.Dk)(),it=[];return Ge.forEach(mt=>{mt.container.getProvider(Fe).instances.forEach(Tt=>{it.includes(Tt)||it.push(Tt)})}),it};var ue=function(Fe){return Fe[Fe.SILENT=0]="SILENT",Fe[Fe.WARN=1]="WARN",Fe[Fe.VERBOSE=2]="VERBOSE",Fe}(ue||{}),oe=(0,T.naY)()&&typeof Zone<"u"?ue.WARN:ue.SILENT;class de{zone;delegate;constructor(Be,Ge=b.T){this.zone=Be,this.delegate=Ge}now(){return this.delegate.now()}schedule(Be,Ge,it){const mt=this.zone;return this.delegate.schedule(function(Tt){mt?mt.runGuarded(()=>{Be.apply(this,[Tt])}):Be.apply(this,[Tt])},Ge,it)}}let me=(()=>{class Fe{outsideAngular;insideAngular;constructor(){const Ge=(0,k.WQX)(u.SKi);this.outsideAngular=Ge.runOutsideAngular(()=>new de(typeof Zone>"u"?void 0:Zone.current)),this.insideAngular=Ge.run(()=>new de(typeof Zone>"u"?void 0:Zone.current,W.E))}static \u0275fac=function(it){return new(it||Fe)};static \u0275prov=k.jDH({token:Fe,factory:Fe.\u0275fac,providedIn:"root"})}return Fe})();var Ue=!1;function ae(Fe){const Be=(0,k.WQX)(u.SKi,{optional:!0});return Be?Be.run(()=>Fe()):Fe()}const he=(Fe,Be,Ge)=>(...it)=>(Be&&setTimeout(Be,0),(0,k.N4e)(Ge,()=>ae(()=>Fe.apply(void 0,it)))),Ve=(Fe,Be,Ge)=>(Ge||=Be?ue.WARN:ue.VERBOSE,function(){let it;const mt=arguments;let Vt,Tt,xt;try{Vt=(0,k.WQX)(me),Tt=(0,k.WQX)(k.u5s),xt=(0,k.WQX)(k.uvJ)}catch{return function z(Fe,Be){!Ue&&(oe>ue.SILENT||(0,T.naY)())&&(Ue=!0,console.warn("Calling Firebase APIs outside of an Injection context may destabilize your application leading to subtle change-detection and hydration bugs. Find more at https://github.com/angular/angularfire/blob/main/docs/zones.md")),oe>=Be&&console.warn(`Firebase API called outside injection context: ${Fe.name}`)}(Fe,Ge),Fe.apply(this,mt)}for(let en=0;en<arguments.length;en++)"function"==typeof mt[en]&&(Be&&(it||=ae(()=>Tt.add())),mt[en]=he(mt[en],it,xt));const rn=function Ie(Fe){const Be=(0,k.WQX)(u.SKi,{optional:!0});return Be?Be.runOutsideAngular(()=>Fe()):Fe()}(()=>Fe.apply(this,mt));return Be?rn instanceof j.c?rn.pipe((0,N._)(Vt.outsideAngular),(0,H.Q)(Vt.insideAngular),(0,s.YV)(xt)):rn instanceof Promise?ae(()=>{const en=Tt.add();return new Promise((Fn,Cn)=>{rn.then(We=>(0,k.N4e)(xt,()=>ae(()=>Fn(We))),We=>(0,k.N4e)(xt,()=>ae(()=>Cn(We)))).finally(en)})}):"function"==typeof rn&&it?function(){return setTimeout(it,0),rn.apply(this,arguments)}:ae(()=>rn):rn instanceof j.c?rn.pipe((0,N._)(Vt.outsideAngular),(0,H.Q)(Vt.insideAngular)):ae(()=>rn)})},9417(tt,ce,l){l.d(ce,{BC:()=>ke,J3:()=>st,JD:()=>Sr,MJ:()=>Qn,Q0:()=>Do,VZ:()=>Ko,X1:()=>lo,YN:()=>Ro,Zm:()=>oe,cb:()=>q,gE:()=>Oe,hs:()=>Lr,j4:()=>En,k0:()=>Fe,kq:()=>Y,l_:()=>Vn,mP:()=>me,me:()=>Ue,ok:()=>wi,qT:()=>ao,tU:()=>eo,vS:()=>Eo,wz:()=>Zr,xH:()=>co,y7:()=>yr,zX:()=>Ho});var u=l(2615),A=l(3664),s=l(7705),j=l(9295),W=l(7303),b=l(1413),H=l(7468),N=l(8455),O=l(6354);let I=(()=>{class w{_renderer;_elementRef;onChange=E=>{};onTouched=()=>{};constructor(E,K){this._renderer=E,this._elementRef=K}setProperty(E,K){this._renderer.setProperty(this._elementRef.nativeElement,E,K)}registerOnTouched(E){this.onTouched=E}registerOnChange(E){this.onChange=E}setDisabledState(E){this.setProperty("disabled",E)}static \u0275fac=function(K){return new(K||w)(A.rXU(A.sFG),A.rXU(A.aKT))};static \u0275dir=A.FsC({type:w})}return w})(),V=(()=>{class w extends I{static \u0275fac=(()=>{let E;return function(Ce){return(E||(E=A.xGo(w)))(Ce||w)}})();static \u0275dir=A.FsC({type:w,features:[A.Vt3]})}return w})();const Y=new u.nKC(""),ue={provide:Y,useExisting:(0,u.Rfq)(()=>oe),multi:!0};let oe=(()=>{class w extends V{writeValue(E){this.setProperty("checked",E)}static \u0275fac=(()=>{let E;return function(Ce){return(E||(E=A.xGo(w)))(Ce||w)}})();static \u0275dir=A.FsC({type:w,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(K,Ce){1&K&&A.bIt("change",function(In){return Ce.onChange(In.target.checked)})("blur",function(){return Ce.onTouched()})},standalone:!1,features:[A.Jv_([ue]),A.Vt3]})}return w})();const se={provide:Y,useExisting:(0,u.Rfq)(()=>Ue),multi:!0},me=new u.nKC("");let Ue=(()=>{class w extends I{_compositionMode;_composing=!1;constructor(E,K,Ce){super(E,K),this._compositionMode=Ce,null==this._compositionMode&&(this._compositionMode=!function de(){const w=(0,W.rb)()?(0,W.rb)().getUserAgent():"";return/android (\d+)/.test(w.toLowerCase())}())}writeValue(E){this.setProperty("value",E??"")}_handleInput(E){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(E)}_compositionStart(){this._composing=!0}_compositionEnd(E){this._composing=!1,this._compositionMode&&this.onChange(E)}static \u0275fac=function(K){return new(K||w)(A.rXU(A.sFG),A.rXU(A.aKT),A.rXU(me,8))};static \u0275dir=A.FsC({type:w,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(K,Ce){1&K&&A.bIt("input",function(In){return Ce._handleInput(In.target.value)})("blur",function(){return Ce.onTouched()})("compositionstart",function(){return Ce._compositionStart()})("compositionend",function(In){return Ce._compositionEnd(In.target.value)})},standalone:!1,features:[A.Jv_([se]),A.Vt3]})}return w})();function z(w){return null==w||0===Ie(w)}function Ie(w){return null==w?null:Array.isArray(w)||"string"==typeof w?w.length:w instanceof Set?w.size:null}const ae=new u.nKC(""),he=new u.nKC(""),Ve=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class Fe{static min(x){return Be(x)}static max(x){return Ge(x)}static required(x){return function it(w){return z(w.value)?{required:!0}:null}(x)}static requiredTrue(x){return function mt(w){return!0===w.value?null:{required:!0}}(x)}static email(x){return function Vt(w){return z(w.value)||Ve.test(w.value)?null:{email:!0}}(x)}static minLength(x){return function Tt(w){return x=>{const E=x.value?.length??Ie(x.value);return null===E||0===E?null:E<w?{minlength:{requiredLength:w,actualLength:E}}:null}}(x)}static maxLength(x){return xt(x)}static pattern(x){return function rn(w){if(!w)return en;let x,E;return"string"==typeof w?(E="","^"!==w.charAt(0)&&(E+="^"),E+=w,"$"!==w.charAt(w.length-1)&&(E+="$"),x=new RegExp(E)):(E=w.toString(),x=w),K=>
1{if(z(K.value))return null;const Ce=K.value;return x.test(Ce)?null:{pattern:{requiredPattern:E,actualValue:Ce}}}}(x)}static nullValidator(x){return null}static compose(x){return Te(x)}static composeAsync(x){return Le(x)}}function Be(w){return x=>{if(null==x.value||null==w)return null;const E=parseFloat(x.value);return!isNaN(E)&&E<w?{min:{min:w,actual:x.value}}:null}}function Ge(w){return x=>{if(null==x.value||null==w)return null;const E=parseFloat(x.value);return!isNaN(E)&&E>w?{max:{max:w,actual:x.value}}:null}}function xt(w){return x=>{const E=x.value?.length??Ie(x.value);return null!==E&&E>w?{maxlength:{requiredLength:w,actualLength:E}}:null}}function en(w){return null}function Fn(w){return null!=w}function Cn(w){return(0,A.yLl)(w)?(0,N.H)(w):w}function We(w){let x={};return w.forEach(E=>{x=null!=E?{...x,...E}:x}),0===Object.keys(x).length?null:x}function $e(w,x){return x.map(E=>E(w))}function Ze(w){return w.map(x=>function ze(w){return!w.validate}(x)?x:E=>x.validate(E))}function Te(w){if(!w)return null;const x=w.filter(Fn);return 0==x.length?null:function(E){return We($e(E,x))}}function Pe(w){return null!=w?Te(Ze(w)):null}function Le(w){if(!w)return null;const x=w.filter(Fn);return 0==x.length?null:function(E){const K=$e(E,x).map(Cn);return(0,H.p)(K).pipe((0,O.T)(We))}}function Ye(w){return null!=w?Le(Ze(w)):null}function yt(w,x){return null===w?[x]:Array.isArray(w)?[...w,x]:[w,x]}function gt(w){return w._rawValidators}function It(w){return w._rawAsyncValidators}function Ae(w){return w?Array.isArray(w)?w:[w]:[]}function _t(w,x){return Array.isArray(w)?w.includes(x):w===x}function Mt(w,x){const E=Ae(x);return Ae(w).forEach(Ce=>{_t(E,Ce)||E.push(Ce)}),E}function jt(w,x){return Ae(x).filter(E=>!_t(w,E))}class Ht{get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators=[];_rawAsyncValidators=[];_setValidators(x){this._rawValidators=x||[],this._composedValidatorFn=Pe(this._rawValidators)}_setAsyncValidators(x){this._rawAsyncValidators=x||[],this._composedAsyncValidatorFn=Ye(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_onDestroyCallbacks=[];_registerOnDestroy(x){this._onDestroyCallbacks.push(x)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(x=>x()),this._onDestroyCallbacks=[]}reset(x=void 0){this.control&&this.control.reset(x)}hasError(x,E){return!!this.control&&this.control.hasError(x,E)}getError(x,E){return this.control?this.control.getError(x,E):null}}class hn extends Ht{name;get formDirective(){return null}get path(){return null}}class pn extends Ht{_parent=null;name=null;valueAccessor=null}class an{_cd;constructor(x){this._cd=x}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}}let ke=(()=>{class w extends an{constructor(E){super(E)}static \u0275fac=function(K){return new(K||w)(A.rXU(pn,2))};static \u0275dir=A.FsC({type:w,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(K,Ce){2&K&&A.AVh("ng-untouched",Ce.isUntouched)("ng-touched",Ce.isTouched)("ng-pristine",Ce.isPristine)("ng-dirty",Ce.isDirty)("ng-valid",Ce.isValid)("ng-invalid",Ce.isInvalid)("ng-pending",Ce.isPending)},standalone:!1,features:[A.Vt3]})}return w})(),q=(()=>{class w extends an{constructor(E){super(E)}static \u0275fac=function(K){return new(K||w)(A.rXU(hn,10))};static \u0275dir=A.FsC({type:w,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(K,Ce){2&K&&A.AVh("ng-untouched",Ce.isUntouched)("ng-touched",Ce.isTouched)("ng-pristine",Ce.isPristine)("ng-dirty",Ce.isDirty)("ng-valid",Ce.isValid)("ng-invalid",Ce.isInvalid)("ng-pending",Ce.isPending)("ng-submitted",Ce.isSubmitted)},standalone:!1,features:[A.Vt3]})}return w})();
1const bn="VALID",dr="INVALID",$n="PENDING",Zn="DISABLED";class rr{}class Gn extends rr{value;source;constructor(x,E){super(),this.value=x,this.source=E}}class xr extends rr{pristine;source;constructor(x,E){super(),this.pristine=x,this.source=E}}class mr extends rr{touched;source;constructor(x,E){super(),this.touched=x,this.source=E}}class vr extends rr{status;source;constructor(x,E){super(),this.status=x,this.source=E}}class Nr extends rr{source;constructor(x){super(),this.source=x}}class cr extends rr{source;constructor(x){super(),this.source=x}}function Ct(w){return(Wt(w)?w.validators:w)||null}function vt(w,x){return(Wt(x)?x.asyncValidators:w)||null}function Wt(w){return null!=w&&!Array.isArray(w)&&"object"==typeof w}function fe(w,x,E){const K=w.controls;if(!(x?Object.keys(K):K).length)throw new u.buA(1e3,"");if(!K[E])throw new u.buA(1001,"")}function Z(w,x,E){w._forEachChild((K,Ce)=>{if(void 0===E[Ce])throw new u.buA(1002,"")})}class ve{_pendingDirty=!1;_hasOwnPendingAsyncValidator=null;_pendingTouched=!1;_onCollectionChange=()=>{};_updateOn;_parent=null;_asyncValidationSubscription;_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators;_rawAsyncValidators;value;constructor(x,E){this._assignValidators(x),this._assignAsyncValidators(E)}get validator(){return this._composedValidatorFn}set validator(x){this._rawValidators=this._composedValidatorFn=x}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(x){this._rawAsyncValidators=this._composedAsyncValidatorFn=x}get parent(){return this._parent}get status(){return(0,j.O8)(this.statusReactive)}set status(x){(0,j.O8)(()=>this.statusReactive.set(x))}_status=(0,j.EW)(()=>this.statusReactive());statusReactive=(0,u.vPA)(void 0);get valid(){return this.status===bn}get invalid(){return this.status===dr}get pending(){return this.status==$n}get disabled(){return this.status===Zn}get enabled(){return this.status!==Zn}errors;get pristine(){return(0,j.O8)(this.pristineReactive)}set pristine(x){(0,j.O8)(()=>this.pristineReactive.set(x))}_pristine=(0,j.EW)(()=>this.pristineReactive());pristineReactive=(0,u.vPA)(!0);get dirty(){return!this.pristine}get touched(){return(0,j.O8)(this.touchedReactive)}set touched(x){(0,j.O8)(()=>this.touchedReactive.set(x))}_touched=(0,j.EW)(()=>this.touchedReactive());touchedReactive=(0,u.vPA)(!1);get untouched(){return!this.touched}_events=new b.B;events=this._events.asObservable();valueChanges;statusChanges;get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(x){this._assignValidators(x)}setAsyncValidators(x){this._assignAsyncValidators(x)}addValidators(x){this.setValidators(Mt(x,this._rawValidators))}addAsyncValidators(x){this.setAsyncValidators(Mt(x,this._rawAsyncValidators))}removeValidators(x){this.setValidators(jt(x,this._rawValidators))}removeAsyncValidators(x){this.setAsyncValidators(jt(x,this._rawAsyncValidators))}hasValidator(x){return _t(this._rawValidators,x)}hasAsyncValidator(x){return _t(this._rawAsyncValidators,x)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(x={}){const E=!1===this.touched;this.touched=!0;const K=x.sourceControl??this;this._parent&&!x.onlySelf&&this._parent.markAsTouched({...x,sourceControl:K}),E&&!1!==x.emitEvent&&this._events.next(new mr(!0,K))}markAllAsDirty(x={}){this.markAsDirty({onlySelf:!0,emitEvent:x.emitEvent,sourceControl:this}),this._forEachChild(E=>E.markAllAsDirty(x))}markAllAsTouched(x={}){this.markAsTouched({onlySelf:!0,emitEvent:x.emitEvent,sourceControl:this}),this._forEachChild(E=>E.markAllAsTouched(x))}markAsUntouched(x={}){const E=!0===this.touched;this.touched=!1,this._pendingTouched=!1;const K=x.sourceControl??this;this._forEachChild(Ce=>{Ce.markAsUntouched({onlySelf:!0,emitEvent:x.emitEvent,sourceControl:K})}),this._parent&&!x.onlySelf&&this._parent._updateTouched(x,K),E&&!1!==x.emitEvent&&this._events.next(new mr(!1,K))}markAsDirty(x={}){const E=!0===this.pristine;this.pristine=!1;const K=x.sourceControl??this;this._parent&&!x.onlySelf&&this._parent.markAsDirty({...x,sourceControl:K}),E&&!1!==x.emitEvent&&this._events.next(new xr(!1,K))}markAsPristine(x={}){const E=!1===this.pristine;this.pristine=!0,this._pendingDirty=!1;const K=x.sourceControl??this;
1this._forEachChild(Ce=>{Ce.markAsPristine({onlySelf:!0,emitEvent:x.emitEvent})}),this._parent&&!x.onlySelf&&this._parent._updatePristine(x,K),E&&!1!==x.emitEvent&&this._events.next(new xr(!0,K))}markAsPending(x={}){this.status=$n;const E=x.sourceControl??this;!1!==x.emitEvent&&(this._events.next(new vr(this.status,E)),this.statusChanges.emit(this.status)),this._parent&&!x.onlySelf&&this._parent.markAsPending({...x,sourceControl:E})}disable(x={}){const E=this._parentMarkedDirty(x.onlySelf);this.status=Zn,this.errors=null,this._forEachChild(Ce=>{Ce.disable({...x,onlySelf:!0})}),this._updateValue();const K=x.sourceControl??this;!1!==x.emitEvent&&(this._events.next(new Gn(this.value,K)),this._events.next(new vr(this.status,K)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...x,skipPristineCheck:E},this),this._onDisabledChange.forEach(Ce=>Ce(!0))}enable(x={}){const E=this._parentMarkedDirty(x.onlySelf);this.status=bn,this._forEachChild(K=>{K.enable({...x,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:x.emitEvent}),this._updateAncestors({...x,skipPristineCheck:E},this),this._onDisabledChange.forEach(K=>K(!1))}_updateAncestors(x,E){this._parent&&!x.onlySelf&&(this._parent.updateValueAndValidity(x),x.skipPristineCheck||this._parent._updatePristine({},E),this._parent._updateTouched({},E))}setParent(x){this._parent=x}getRawValue(){return this.value}updateValueAndValidity(x={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){const K=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===bn||this.status===$n)&&this._runAsyncValidator(K,x.emitEvent)}const E=x.sourceControl??this;!1!==x.emitEvent&&(this._events.next(new Gn(this.value,E)),this._events.next(new vr(this.status,E)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!x.onlySelf&&this._parent.updateValueAndValidity({...x,sourceControl:E})}_updateTreeValidity(x={emitEvent:!0}){this._forEachChild(E=>E._updateTreeValidity(x)),this.updateValueAndValidity({onlySelf:!0,emitEvent:x.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Zn:bn}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(x,E){if(this.asyncValidator){this.status=$n,this._hasOwnPendingAsyncValidator={emitEvent:!1!==E,shouldHaveEmitted:!1!==x};const K=Cn(this.asyncValidator(this));this._asyncValidationSubscription=K.subscribe(Ce=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(Ce,{emitEvent:E,shouldHaveEmitted:x})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();const x=(this._hasOwnPendingAsyncValidator?.emitEvent||this._hasOwnPendingAsyncValidator?.shouldHaveEmitted)??!1;return this._hasOwnPendingAsyncValidator=null,x}return!1}setErrors(x,E={}){this.errors=x,this._updateControlsErrors(!1!==E.emitEvent,this,E.shouldHaveEmitted)}get(x){let E=x;return null==E||(Array.isArray(E)||(E=E.split(".")),0===E.length)?null:E.reduce((K,Ce)=>K&&K._find(Ce),this)}getError(x,E){const K=E?this.get(E):this;return K&&K.errors?K.errors[x]:null}hasError(x,E){return!!this.getError(x,E)}get root(){let x=this;for(;x._parent;)x=x._parent;return x}_updateControlsErrors(x,E,K){this.status=this._calculateStatus(),x&&this.statusChanges.emit(this.status),(x||K)&&this._events.next(new vr(this.status,E)),this._parent&&this._parent._updateControlsErrors(x,E,K)}_initObservables(){this.valueChanges=new A.bkB,this.statusChanges=new A.bkB}_calculateStatus(){return this._allControlsDisabled()?Zn:this.errors?dr:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus($n)?$n:this._anyControlsHaveStatus(dr)?dr:bn}_anyControlsHaveStatus(x){return this._anyControls(E=>E.status===x)}_anyControlsDirty(){return this._anyControls(x=>x.dirty)}_anyControlsTouched(){return this._anyControls(x=>x.touched)}_updatePristine(x,E){const K=!this._anyControlsDirty(),Ce=this.pristine!==K;this.pristine=K,this._parent&&!x.onlySelf&&this._parent._updatePristine(x,E),Ce&&this._events.next(new xr(this.pristine,E))}_updateTouched(x={},E){this.touched=this._anyControlsTouched(),this._events.next(new mr(this.touched,E)),this._parent&&!x.onlySelf&&this._parent._updateTouched(x,E)}_onDisabledChange=[];_registerOnCollectionChange(x){this._onCollectionChange=x}_setUpdateStrategy(x){Wt(x)&&null!=x.updateOn&&(this._updateOn=x.updateOn)}_parentMarkedDirty(x){return!x&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}
vendor: 4,187 bytes, line 1
1_find(x){return null}_assignValidators(x){this._rawValidators=Array.isArray(x)?x.slice():x,this._composedValidatorFn=function et(w){return Array.isArray(w)?Pe(w):w||null}(this._rawValidators)}_assignAsyncValidators(x){this._rawAsyncValidators=Array.isArray(x)?x.slice():x,this._composedAsyncValidatorFn=function Nt(w){return Array.isArray(w)?Ye(w):w||null}(this._rawAsyncValidators)}}class Oe extends ve{constructor(x,E,K){super(Ct(E),vt(K,E)),this.controls=x,this._initObservables(),this._setUpdateStrategy(E),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;registerControl(x,E){return this.controls[x]?this.controls[x]:(this.controls[x]=E,E.setParent(this),E._registerOnCollectionChange(this._onCollectionChange),E)}addControl(x,E,K={}){this.registerControl(x,E),this.updateValueAndValidity({emitEvent:K.emitEvent}),this._onCollectionChange()}removeControl(x,E={}){this.controls[x]&&this.controls[x]._registerOnCollectionChange(()=>{}),delete this.controls[x],this.updateValueAndValidity({emitEvent:E.emitEvent}),this._onCollectionChange()}setControl(x,E,K={}){this.controls[x]&&this.controls[x]._registerOnCollectionChange(()=>{}),delete this.controls[x],E&&this.registerControl(x,E),this.updateValueAndValidity({emitEvent:K.emitEvent}),this._onCollectionChange()}contains(x){return this.controls.hasOwnProperty(x)&&this.controls[x].enabled}setValue(x,E={}){Z(this,0,x),Object.keys(x).forEach(K=>{fe(this,!0,K),this.controls[K].setValue(x[K],{onlySelf:!0,emitEvent:E.emitEvent})}),this.updateValueAndValidity(E)}patchValue(x,E={}){null!=x&&(Object.keys(x).forEach(K=>{const Ce=this.controls[K];Ce&&Ce.patchValue(x[K],{onlySelf:!0,emitEvent:E.emitEvent})}),this.updateValueAndValidity(E))}reset(x={},E={}){this._forEachChild((K,Ce)=>{K.reset(x?x[Ce]:null,{onlySelf:!0,emitEvent:E.emitEvent})}),this._updatePristine(E,this),this._updateTouched(E,this),this.updateValueAndValidity(E),!1!==E?.emitEvent&&this._events.next(new cr(this))}getRawValue(){return this._reduceChildren({},(x,E,K)=>(x[K]=E.getRawValue(),x))}_syncPendingControls(){let x=this._reduceChildren(!1,(E,K)=>!!K._syncPendingControls()||E);return x&&this.updateValueAndValidity({onlySelf:!0}),x}_forEachChild(x){Object.keys(this.controls).forEach(E=>{const K=this.controls[E];K&&x(K,E)})}_setUpControls(){this._forEachChild(x=>{x.setParent(this),x._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(x){for(const[E,K]of Object.entries(this.controls))if(this.contains(E)&&x(K))return!0;return!1}_reduceValue(){return this._reduceChildren({},(E,K,Ce)=>((K.enabled||this.disabled)&&(E[Ce]=K.value),E))}_reduceChildren(x,E){let K=x;return this._forEachChild((Ce,Yt)=>{K=E(K,Ce,Yt)}),K}_allControlsDisabled(){for(const x of Object.keys(this.controls))if(this.controls[x].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(x){return this.controls.hasOwnProperty(x)?this.controls[x]:null}}const st=Oe;class on extends Oe{}const Kt=new u.nKC("",{providedIn:"root",factory:()=>qn}),qn="always";function un(w,x){return[...x.path,w]}function Xt(w,x,E=qn){fr(w,x),x.valueAccessor.writeValue(w.value),(w.disabled||"always"===E)&&x.valueAccessor.setDisabledState?.(w.disabled),function ne(w,x){x.valueAccessor.registerOnChange(E=>{w._pendingValue=E,w._pendingChange=!0,w._pendingDirty=!0,"change"===w.updateOn&&_e(w,x)})}(w,x),function Je(w,x){const E=(K,Ce)=>{x.valueAccessor.writeValue(K),Ce&&x.viewToModelUpdate(K)};w.registerOnChange(E),x._registerOnDestroy(()=>{w._unregisterOnChange(E)})}(w,x),function Ee(w,x){x.valueAccessor.registerOnTouched(()=>{w._pendingTouched=!0,"blur"===w.updateOn&&w._pendingChange&&_e(w,x),"submit"!==w.updateOn&&w.markAsTouched()})}(w,x),function Jn(w,x){if(x.valueAccessor.setDisabledState){const E=K=>{x.valueAccessor.setDisabledState(K)};w.registerOnDisabledChange(E),x._registerOnDestroy(()=>{w._unregisterOnDisabledChange(E)})}}(w,x)}function Xn(w,x,E=!0){const K=()=>{};x.valueAccessor&&(x.valueAccessor.registerOnChange(K),x.valueAccessor.registerOnTouched(K)),or(w,x),w&&(x._invokeOnDestroyCallbacks(),w._registerOnCollectionChange(()=>{}))}
1function Ar(w,x){w.forEach(E=>{E.registerOnValidatorChange&&E.registerOnValidatorChange(x)})}function fr(w,x){const E=gt(w);null!==x.validator?w.setValidators(yt(E,x.validator)):"function"==typeof E&&w.setValidators([E]);const K=It(w);null!==x.asyncValidator?w.setAsyncValidators(yt(K,x.asyncValidator)):"function"==typeof K&&w.setAsyncValidators([K]);const Ce=()=>w.updateValueAndValidity();Ar(x._rawValidators,Ce),Ar(x._rawAsyncValidators,Ce)}function or(w,x){let E=!1;if(null!==w){if(null!==x.validator){const Ce=gt(w);if(Array.isArray(Ce)&&Ce.length>0){const Yt=Ce.filter(In=>In!==x.validator);Yt.length!==Ce.length&&(E=!0,w.setValidators(Yt))}}if(null!==x.asyncValidator){const Ce=It(w);if(Array.isArray(Ce)&&Ce.length>0){const Yt=Ce.filter(In=>In!==x.asyncValidator);Yt.length!==Ce.length&&(E=!0,w.setAsyncValidators(Yt))}}}const K=()=>{};return Ar(x._rawValidators,K),Ar(x._rawAsyncValidators,K),E}function _e(w,x){w._pendingDirty&&w.markAsDirty(),w.setValue(w._pendingValue,{emitModelToViewChange:!1}),x.viewToModelUpdate(w._pendingValue),w._pendingChange=!1}function Lt(w,x){if(!w.hasOwnProperty("model"))return!1;const E=w.model;return!!E.isFirstChange()||!Object.is(x,E.currentValue)}function gn(w,x){if(!x)return null;let E,K,Ce;return Array.isArray(x),x.forEach(Yt=>{Yt.constructor===Ue?E=Yt:function Ft(w){return Object.getPrototypeOf(w.constructor)===V}(Yt)?K=Yt:Ce=Yt}),Ce||K||E||null}function Nn(w,x){const E=w.indexOf(x);E>-1&&w.splice(E,1)}function ir(w){return"object"==typeof w&&null!==w&&2===Object.keys(w).length&&"value"in w&&"disabled"in w}Promise.resolve();const Qn=class extends ve{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(x=null,E,K){super(Ct(E),vt(K,E)),this._applyFormState(x),this._setUpdateStrategy(E),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Wt(E)&&(E.nonNullable||E.initialValueIsDefault)&&(this.defaultValue=ir(x)?x.value:x)}setValue(x,E={}){this.value=this._pendingValue=x,this._onChange.length&&!1!==E.emitModelToViewChange&&this._onChange.forEach(K=>K(this.value,!1!==E.emitViewToModelChange)),this.updateValueAndValidity(E)}patchValue(x,E={}){this.setValue(x,E)}reset(x=this.defaultValue,E={}){this._applyFormState(x),this.markAsPristine(E),this.markAsUntouched(E),this.setValue(this.value,E),this._pendingChange=!1,!1!==E?.emitEvent&&this._events.next(new cr(this))}_updateValue(){}_anyControls(x){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(x){this._onChange.push(x)}_unregisterOnChange(x){Nn(this._onChange,x)}registerOnDisabledChange(x){this._onDisabledChange.push(x)}_unregisterOnDisabledChange(x){Nn(this._onDisabledChange,x)}_forEachChild(x){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(x){ir(x)?(this.value=this._pendingValue=x.value,x.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=x}},Lr=Qn,ur={provide:pn,useExisting:(0,u.Rfq)(()=>Eo)},tn=Promise.resolve();let Eo=(()=>{class w extends pn{_changeDetectorRef;callSetDisabledState;control=new Qn;static ngAcceptInputType_isDisabled;_registered=!1;viewModel;name="";isDisabled;model;options;update=new A.bkB;constructor(E,K,Ce,Yt,In,$r){super(),this._changeDetectorRef=In,this.callSetDisabledState=$r,this._parent=E,this._setValidators(K),this._setAsyncValidators(Ce),this.valueAccessor=gn(0,Yt)}ngOnChanges(E){if(this._checkForErrors(),!this._registered||"name"in E){if(this._registered&&(this._checkName(),this.formDirective)){const K=E.name.previousValue;this.formDirective.removeControl({name:K,path:this._getPath(K)})}this._setUpControl()}"isDisabled"in E&&this._updateDisabled(E),Lt(E,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(E){this.viewModel=E,this.update.emit(E)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){Xt(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._checkName()}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(E){tn.then(()=>{this.control.setValue(E,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(E){const K=E.isDisabled.currentValue,Ce=0!==K&&(0,s.L39)(K);tn.then(()=>{Ce&&!this.control.disabled?this.control.disable():!Ce&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(E){return this._parent?un(E,this._parent):[E]}static \u0275fac=function(K){return new(K||w)(A.rXU(hn,9),A.rXU(ae,10),A.rXU(he,10),A.rXU(Y,10),A.rXU(s.gRc,8),A.rXU(Kt,8))};static \u0275dir=A.FsC({type:w,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],standalone:!1,features:[A.Jv_([ur]),A.Vt3,A.OA$]})}return w})(),ao=(()=>{class w{static \u0275fac=function(K){return new(K||w)};static \u0275dir=A.FsC({type:w,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""],standalone:!1})}return w})();const Jo={provide:Y,useExisting:(0,u.Rfq)(()=>Do),multi:!0};let Do=(()=>{class w extends V{writeValue(E){this.setProperty("value",E??"")}registerOnChange(E){this.onChange=K=>{E(""==K?null:parseFloat(K))}}static \u0275fac=(()=>{let E;return function(Ce){return(E||(E=A.xGo(w)))(Ce||w)}})();static \u0275dir=A.FsC({type:w,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(K,Ce){1&K&&A.bIt("input",function(In){return Ce.onChange(In.target.value)})("blur",function(){return Ce.onTouched()})},standalone:!1,features:[A.Jv_([Jo]),A.Vt3]})}return w})();const ht=new u.nKC(""),Qt={provide:pn,useExisting:(0,u.Rfq)(()=>Vn)};let Vn=(()=>{class w extends pn{_ngModelWarningConfig;callSetDisabledState;viewModel;form;set isDisabled(E){}model;update=new A.bkB;static _ngModelWarningSentOnce=!1;_ngModelWarningSent=!1;constructor(E,K,Ce,Yt,In){super(),this._ngModelWarningConfig=Yt,this.callSetDisabledState=In,this._setValidators(E),this._setAsyncValidators(K),this.valueAccessor=gn(0,Ce)}ngOnChanges(E){if(this._isControlChanged(E)){const K=E.form.previousValue;K&&Xn(K,this,!1),Xt(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}Lt(E,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}
1ngOnDestroy(){this.form&&Xn(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(E){this.viewModel=E,this.update.emit(E)}_isControlChanged(E){return E.hasOwnProperty("form")}static \u0275fac=function(K){return new(K||w)(A.rXU(ae,10),A.rXU(he,10),A.rXU(Y,10),A.rXU(ht,8),A.rXU(Kt,8))};static \u0275dir=A.FsC({type:w,selectors:[["","formControl",""]],inputs:{form:[0,"formControl","form"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],standalone:!1,features:[A.Jv_([Qt]),A.Vt3,A.OA$]})}return w})();const Mn={provide:hn,useExisting:(0,u.Rfq)(()=>En)};let En=(()=>{class w extends hn{callSetDisabledState;get submitted(){return(0,j.O8)(this._submittedReactive)}set submitted(E){this._submittedReactive.set(E)}_submitted=(0,j.EW)(()=>this._submittedReactive());_submittedReactive=(0,u.vPA)(!1);_oldForm;_onCollectionChange=()=>this._updateDomValue();directives=[];form=null;ngSubmit=new A.bkB;constructor(E,K,Ce){super(),this.callSetDisabledState=Ce,this._setValidators(E),this._setAsyncValidators(K)}ngOnChanges(E){E.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(or(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(E){const K=this.form.get(E.path);return Xt(K,E,this.callSetDisabledState),K.updateValueAndValidity({emitEvent:!1}),this.directives.push(E),K}getControl(E){return this.form.get(E.path)}
1removeControl(E){Xn(E.control||null,E,!1),function Un(w,x){const E=w.indexOf(x);E>-1&&w.splice(E,1)}(this.directives,E)}addFormGroup(E){this._setUpFormContainer(E)}removeFormGroup(E){this._cleanUpFormContainer(E)}getFormGroup(E){return this.form.get(E.path)}addFormArray(E){this._setUpFormContainer(E)}removeFormArray(E){this._cleanUpFormContainer(E)}getFormArray(E){return this.form.get(E.path)}updateModel(E,K){this.form.get(E.path).setValue(K)}onSubmit(E){return this._submittedReactive.set(!0),function Sn(w,x){w._syncPendingControls(),x.forEach(E=>{const K=E.control;"submit"===K.updateOn&&K._pendingChange&&(E.viewToModelUpdate(K._pendingValue),K._pendingChange=!1)})}(this.form,this.directives),this.ngSubmit.emit(E),this.form._events.next(new Nr(this.control)),"dialog"===E?.target?.method}onReset(){this.resetForm()}resetForm(E=void 0,K={}){this.form.reset(E,K),this._submittedReactive.set(!1)}_updateDomValue(){this.directives.forEach(E=>{const K=E.control,Ce=this.form.get(E.path);K!==Ce&&(Xn(K||null,E),(w=>w instanceof Qn)(Ce)&&(Xt(Ce,E,this.callSetDisabledState),E.control=Ce))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(E){const K=this.form.get(E.path);(function Dt(w,x){fr(w,x)})(K,E),K.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(E){if(this.form){const K=this.form.get(E.path);K&&function ft(w,x){return or(w,x)}(K,E)&&K.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){fr(this.form,this),this._oldForm&&or(this._oldForm,this)}static \u0275fac=function(K){return new(K||w)(A.rXU(ae,10),A.rXU(he,10),A.rXU(Kt,8))};static \u0275dir=A.FsC({type:w,selectors:[["","formGroup",""]],hostBindings:function(K,Ce){1&K&&A.bIt("submit",function(In){return Ce.onSubmit(In)})("reset",function(){return Ce.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[A.Jv_([Mn]),A.Vt3,A.OA$]})}return w})();const hr={provide:pn,useExisting:(0,u.Rfq)(()=>Sr)};let Sr=(()=>{class w extends pn{_ngModelWarningConfig;_added=!1;viewModel;control;name=null;set isDisabled(E){}model;update=new A.bkB;static _ngModelWarningSentOnce=!1;_ngModelWarningSent=!1;constructor(E,K,Ce,Yt,In){super(),this._ngModelWarningConfig=In,this._parent=E,this._setValidators(K),this._setAsyncValidators(Ce),this.valueAccessor=gn(0,Yt)}ngOnChanges(E){this._added||this._setUpControl(),Lt(E,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(E){this.viewModel=E,this.update.emit(E)}get path(){return un(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_setUpControl(){this.control=this.formDirective.addControl(this),this._added=!0}static \u0275fac=function(K){return new(K||w)(A.rXU(hn,13),A.rXU(ae,10),A.rXU(he,10),A.rXU(Y,10),A.rXU(ht,8))};static \u0275dir=A.FsC({type:w,selectors:[["","formControlName",""]],inputs:{name:[0,"formControlName","name"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},standalone:!1,features:[A.Jv_([hr]),A.Vt3,A.OA$]})}return w})();const To={provide:Y,useExisting:(0,u.Rfq)(()=>Zr),multi:!0};function zr(w,x){return null==w?`${x}`:(x&&"object"==typeof x&&(x="Object"),`${w}: ${x}`.slice(0,50))}let Zr=(()=>{class w extends V{value;_optionMap=new Map;_idCounter=0;set compareWith(E){this._compareWith=E}_compareWith=Object.is;appRefInjector=(0,u.WQX)(A.o8S).injector;destroyRef=(0,u.WQX)(u.abz);cdr=(0,u.WQX)(s.gRc);_queuedWrite=!1;_writeValueAfterRender(){this._queuedWrite||this.appRefInjector.destroyed||(this._queuedWrite=!0,(0,A.mal)({write:()=>{this.destroyRef.destroyed||(this._queuedWrite=!1,this.writeValue(this.value))}},{injector:this.appRefInjector}))}writeValue(E){this.cdr.markForCheck(),this.value=E;const Ce=zr(this._getOptionId(E),E);this.setProperty("value",Ce)}registerOnChange(E){this.onChange=K=>{this.value=this._getOptionValue(K),E(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(E){for(const K of this._optionMap.keys())if(this._compareWith(this._optionMap.get(K),E))return K;return null}_getOptionValue(E){const K=function Ao(w){return w.split(":")[0]}(E);return this._optionMap.has(K)?this._optionMap.get(K):E}static \u0275fac=(()=>{let E;return function(Ce){return(E||(E=A.xGo(w)))(Ce||w)}})();static \u0275dir=A.FsC({type:w,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(K,Ce){1&K&&A.bIt("change",function(In){return Ce.onChange(In.target.value)})("blur",function(){return Ce.onTouched()})},inputs:{compareWith:"compareWith"},standalone:!1,features:[A.Jv_([To]),A.Vt3]})}return w})(),co=(()=>{class w{_element;_renderer;_select;id;constructor(E,K,Ce){this._element=E,this._renderer=K,this._select=Ce,this._select&&(this.id=this._select._registerOption())}set ngValue(E){null!=this._select&&(this._select._optionMap.set(this.id,E),this._setElementValue(zr(this.id,E)),this._select._writeValueAfterRender())}set value(E){this._setElementValue(E),this._select&&this._select._writeValueAfterRender()}_setElementValue(E){this._renderer.setProperty(this._element.nativeElement,"value",E)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id
1),this._select._writeValueAfterRender())}static \u0275fac=function(K){return new(K||w)(A.rXU(A.aKT),A.rXU(A.sFG),A.rXU(Zr,9))};static \u0275dir=A.FsC({type:w,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"},standalone:!1})}return w})();const Ti={provide:Y,useExisting:(0,u.Rfq)(()=>$o),multi:!0};function ci(w,x){return null==w?`${x}`:("string"==typeof x&&(x=`'${x}'`),x&&"object"==typeof x&&(x="Object"),`${w}: ${x}`.slice(0,50))}let $o=(()=>{class w extends V{value;_optionMap=new Map;_idCounter=0;set compareWith(E){this._compareWith=E}_compareWith=Object.is;writeValue(E){let K;if(this.value=E,Array.isArray(E)){const Ce=E.map(Yt=>this._getOptionId(Yt));K=(Yt,In)=>{Yt._setSelected(Ce.indexOf(In.toString())>-1)}}else K=(Ce,Yt)=>{Ce._setSelected(!1)};this._optionMap.forEach(K)}registerOnChange(E){this.onChange=K=>{const Ce=[],Yt=K.selectedOptions;if(void 0!==Yt){const In=Yt;for(let $r=0;$r<In.length;$r++){const Xo=this._getOptionValue(In[$r].value);Ce.push(Xo)}}else{const In=K.options;for(let $r=0;$r<In.length;$r++){const Go=In[$r];if(Go.selected){const Xo=this._getOptionValue(Go.value);Ce.push(Xo)}}}this.value=Ce,E(Ce)}}_registerOption(E){const K=(this._idCounter++).toString();return this._optionMap.set(K,E),K}_getOptionId(E){for(const K of this._optionMap.keys())if(this._compareWith(this._optionMap.get(K)._value,E))return K;return null}_getOptionValue(E){const K=function po(w){return w.split(":")[0]}(E);return this._optionMap.has(K)?this._optionMap.get(K)._value:E}static \u0275fac=(()=>{let E;return function(Ce){return(E||(E=A.xGo(w)))(Ce||w)}})();static \u0275dir=A.FsC({type:w,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(K,Ce){1&K&&A.bIt("change",function(In){return Ce.onChange(In.target)})("blur",function(){return Ce.onTouched()})},inputs:{compareWith:"compareWith"},standalone:!1,features:[A.Jv_([Ti]),A.Vt3]})}return w})(),yr=(()=>{class w{_element;_renderer;_select;id;_value;constructor(E,K,Ce){this._element=E,this._renderer=K,this._select=Ce,this._select&&(this.id=this._select._registerOption(this))}set ngValue(E){null!=this._select&&(this._value=E,this._setElementValue(ci(this.id,E)),this._select.writeValue(this._select.value))}set value(E){this._select?(this._value=E,this._setElementValue(ci(this.id,E)),this._select.writeValue(this._select.value)):this._setElementValue(E)}_setElementValue(E){this._renderer.setProperty(this._element.nativeElement,"value",E)}_setSelected(E){this._renderer.setProperty(this._element.nativeElement,"selected",E)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static \u0275fac=function(K){return new(K||w)(A.rXU(A.aKT),A.rXU(A.sFG),A.rXU($o,9))};static \u0275dir=A.FsC({type:w,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"},standalone:!1})}return w})();function qo(w){return"number"==typeof w?w:parseFloat(w)}let Jr=(()=>{class w{_validator=en;_onChange;_enabled;ngOnChanges(E){if(this.inputName in E){const K=this.normalizeInput(E[this.inputName].currentValue);this._enabled=this.enabled(K),this._validator=this._enabled?this.createValidator(K):en,this._onChange&&this._onChange()}}validate(E){return this._validator(E)}registerOnValidatorChange(E){this._onChange=E}enabled(E){return null!=E}static \u0275fac=function(K){return new(K||w)};static \u0275dir=A.FsC({type:w,features:[A.OA$]})}return w})();const Ai={provide:ae,useExisting:(0,u.Rfq)(()=>Ho),multi:!0};let Ho=(()=>{class w extends Jr{max;inputName="max";normalizeInput=E=>qo(E);createValidator=E=>Ge(E);static \u0275fac=(()=>{let E;return function(Ce){return(E||(E=A.xGo(w)))(Ce||w)}})();static \u0275dir=A.FsC({type:w,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(K,Ce){2&K&&A.BMQ("max",Ce._enabled?Ce.max:null)},inputs:{max:"max"},standalone:!1,features:[A.Jv_([Ai]),A.Vt3]})}return w})();const qr={provide:ae,useExisting:(0,u.Rfq)(()=>Ko),multi:!0};let Ko=(()=>{class w extends Jr{min;inputName="min";normalizeInput=E=>qo(E);createValidator=E=>Be(E);static \u0275fac=(()=>{let E;return function(Ce){return(E||(E=A.xGo(w)))(Ce||w)}})();static \u0275dir=A.FsC({type:w,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(K,Ce){2&K&&A.BMQ("min",Ce._enabled?Ce.min:null)},inputs:{min:"min"},standalone:!1,features:[A.Jv_([qr]),A.Vt3]})}return w})();const ti={provide:ae,useExisting:(0,u.Rfq)(()=>eo),multi:!0};let eo=(()=>{class w extends Jr{maxlength;inputName="maxlength";normalizeInput=E=>function Dr(w){return"number"==typeof w?w:parseInt(w,10)}(E);createValidator=E=>xt(E);static \u0275fac=(()=>{let E;return function(Ce){return(E||(E=A.xGo(w)))(Ce||w)}})();static \u0275dir=A.FsC({type:w,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(K,Ce){2&K&&A.BMQ("maxlength",Ce._enabled?Ce.maxlength:null)},inputs:{maxlength:"maxlength"},standalone:!1,features:[A.Jv_([ti]),A.Vt3]})}return w})(),wo=(()=>{class w{static \u0275fac=function(K){return new(K||w)};static \u0275mod=A.$C({type:w});static \u0275inj=u.G2t({})}return w})();class So extends ve{constructor(x,E,K){super(Ct(E),vt(K,E)),this.controls=x,this._initOb
1servables(),this._setUpdateStrategy(E),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;at(x){return this.controls[this._adjustIndex(x)]}push(x,E={}){Array.isArray(x)?x.forEach(K=>{this.controls.push(K),this._registerControl(K)}):(this.controls.push(x),this._registerControl(x)),this.updateValueAndValidity({emitEvent:E.emitEvent}),this._onCollectionChange()}insert(x,E,K={}){this.controls.splice(x,0,E),this._registerControl(E),this.updateValueAndValidity({emitEvent:K.emitEvent})}removeAt(x,E={}){let K=this._adjustIndex(x);K<0&&(K=0),this.controls[K]&&this.controls[K]._registerOnCollectionChange(()=>{}),this.controls.splice(K,1),this.updateValueAndValidity({emitEvent:E.emitEvent})}setControl(x,E,K={}){let Ce=this._adjustIndex(x);Ce<0&&(Ce=0),this.controls[Ce]&&this.controls[Ce]._registerOnCollectionChange(()=>{}),this.controls.splice(Ce,1),E&&(this.controls.splice(Ce,0,E),this._registerControl(E)),this.updateValueAndValidity({emitEvent:K.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(x,E={}){Z(this,0,x),x.forEach((K,Ce)=>{fe(this,!1,Ce),this.at(Ce).setValue(K,{onlySelf:!0,emitEvent:E.emitEvent})}),this.updateValueAndValidity(E)}patchValue(x,E={}){null!=x&&(x.forEach((K,Ce)=>{this.at(Ce)&&this.at(Ce).patchValue(K,{onlySelf:!0,emitEvent:E.emitEvent})}),this.updateValueAndValidity(E))}reset(x=[],E={}){this._forEachChild((K,Ce)=>{K.reset(x[Ce],{onlySelf:!0,emitEvent:E.emitEvent})}),this._updatePristine(E,this),this._updateTouched(E,this),this.updateValueAndValidity(E),!1!==E?.emitEvent&&this._events.next(new cr(this))}getRawValue(){return this.controls.map(x=>x.getRawValue())}clear(x={}){this.controls.length<1||(this._forEachChild(E=>E._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:x.emitEvent}))}_adjustIndex(x){return x<0?x+this.length:x}_syncPendingControls(){let x=this.controls.reduce((E,K)=>!!K._syncPendingControls()||E,!1);return x&&this.updateValueAndValidity({onlySelf:!0}),x}_forEachChild(x){this.controls.forEach((E,K)=>{x(E,K)})}_updateValue(){this.value=this.controls.filter(x=>x.enabled||this.disabled).map(x=>x.value)}_anyControls(x){return this.controls.some(E=>E.enabled&&x(E))}_setUpControls(){this._forEachChild(x=>this._registerControl(x))}_allControlsDisabled(){for(const x of this.controls)if(x.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(x){x.setParent(this),x._registerOnCollectionChange(this._onCollectionChange)}_find(x){return this.at(x)??null}}function bo(w){return!!w&&(void 0!==w.asyncValidators||void 0!==w.validators||void 0!==w.updateOn)}let wi=(()=>{class w{useNonNullable=!1;get nonNullable(){const E=new w;return E.useNonNullable=!0,E}group(E,K=null){const Ce=this._reduceControls(E);let Yt={};return bo(K)?Yt=K:null!==K&&(Yt.validators=K.validator,Yt.asyncValidators=K.asyncValidator),new Oe(Ce,Yt)}record(E,K=null){const Ce=this._reduceControls(E);return new on(Ce,K)}control(E,K,Ce){let Yt={};return this.useNonNullable?(bo(K)?Yt=K:(Yt.validators=K,Yt.asyncValidators=Ce),new Qn(E,{...Yt,nonNullable:!0})):new Qn(E,K,Ce)}array(E,K,Ce){const Yt=E.map(In=>this._createControl(In));return new So(Yt,K,Ce)}_reduceControls(E){const K={};
1return Object.keys(E).forEach(Ce=>{K[Ce]=this._createControl(E[Ce])}),K}_createControl(E){return E instanceof Qn||E instanceof ve?E:Array.isArray(E)?this.control(E[0],E.length>1?E[1]:null,E.length>2?E[2]:null):this.control(E)}static \u0275fac=function(K){return new(K||w)};static \u0275prov=u.jDH({token:w,factory:w.\u0275fac,providedIn:"root"})}return w})(),Ro=(()=>{class w{static withConfig(E){return{ngModule:w,providers:[{provide:Kt,useValue:E.callSetDisabledState??qn}]}}static \u0275fac=function(K){return new(K||w)};static \u0275mod=A.$C({type:w});static \u0275inj=u.G2t({imports:[wo]})}return w})(),lo=(()=>{class w{static withConfig(E){return{ngModule:w,providers:[{provide:ht,useValue:E.warnOnNgModelWithFormControl??"always"},{provide:Kt,useValue:E.callSetDisabledState??qn}]}}static \u0275fac=function(K){return new(K||w)};static \u0275mod=A.$C({type:w});static \u0275inj=u.G2t({imports:[wo]})}return w})()},345(tt,ce,l){l.d(ce,{W8:()=>Be,hE:()=>it,up:()=>Le});var he=l(2615),Ve=l(7303),Fe=l(3664);let Be=(()=>{class Et{_doc;_dom;constructor(ke){this._doc=ke,this._dom=(0,Ve.rb)()}addTag(ke,q=!1){return ke?this._getOrCreateElement(ke,q):null}addTags(ke,q=!1){return ke?ke.reduce((o,Xe)=>(Xe&&o.push(this._getOrCreateElement(Xe,q)),o),[]):[]}getTag(ke){if(!ke)return null;const q=this._doc.querySelector(`meta[${ke}]`);return"meta"===q?.nodeName.toLowerCase()?q:null}getTags(ke){if(!ke)return[];const q=this._doc.querySelectorAll(`meta[${ke}]`);return q?[].slice.call(q).filter(o=>"meta"===o.nodeName.toLowerCase()):[]}updateTag(ke,q){if(!ke)return null;this._validateMetaDefinition(ke),q=q||this._parseSelector(ke);const o=this.getTag(q);return o?this._setMetaElementAttributes(ke,o):this._getOrCreateElement(ke,!0)}removeTag(ke){this.removeTagElement(this.getTag(ke))}removeTagElement(ke){ke&&this._dom.remove(ke)}_getOrCreateElement(ke,q=!1){if(this._validateMetaDefinition(ke),!q){const At=this._parseSelector(ke),Gt=this.getTags(At).filter(Wn=>this._containsAttributes(ke,Wn))[0];if(void 0!==Gt)return Gt}const o=this._dom.createElement("meta");return this._setMetaElementAttributes(ke,o),this._doc.getElementsByTagName("head")[0].appendChild(o),o}_setMetaElementAttributes(ke,q){return Object.keys(ke).forEach(o=>q.setAttribute(this._getMetaKeyMap(o),ke[o])),q}_parseSelector(ke){const q=ke.name?"name":"property";return`${q}=${this._escapeSelectorValue(String(ke[q]))}`}_escapeSelectorValue(ke){return`"${ke.replace(/\\/g,"\\\\").replace(/"/g,'\\"')}"`}_validateMetaDefinition(ke){for(const q of Object.keys(ke))if(this._getMetaKeyMap(q).toLowerCase().startsWith("on"))throw new he.buA(5203,!1)}_containsAttributes(ke,q){return Object.keys(ke).every(o=>q.getAttribute(this._getMetaKeyMap(o))===ke[o])}_getMetaKeyMap(ke){return Object.hasOwn(Ge,ke)?Ge[ke]:ke}static \u0275fac=function(q){return new(q||Et)(he.KVO(he.qQL))};static \u0275prov=he.jDH({token:Et,factory:Et.\u0275fac,providedIn:"root"})}return Et})();const Ge={httpEquiv:"http-equiv"};let it=(()=>{class Et{_doc;constructor(ke){this._doc=ke}getTitle(){return this._doc.title}setTitle(ke){this._doc.title=ke||""}static \u0275fac=function(q){return new(q||Et)(he.KVO(he.qQL))};static \u0275prov=he.jDH({token:Et,factory:Et.\u0275fac,providedIn:"root"})}return Et})(),Le=(()=>{class Et{static \u0275fac=function(q){return new(q||Et)};static \u0275prov=he.jDH({token:Et,factory:function(q){let o=null;return o=q?new(q||Et):he.KVO(Ye),o},providedIn:"root"})}return Et})(),Ye=(()=>{class Et extends Le{_doc;constructor(ke){super(),this._doc=ke}sanitize(ke,q){if(null==q)return null;switch(ke){case he.WPN.NONE:return q;case he.WPN.HTML:return(0,Fe.iWE)(q,"HTML")?(0,Fe.aCM)(q):(0,Fe.wr$)(this._doc,String(q)).toString();case he.WPN.STYLE:return(0,Fe.iWE)(q,"Style")?(0,Fe.aCM)(q):q;case he.WPN.SCRIPT:if((0,Fe.iWE)(q,"Script"))return(0,Fe.aCM)(q);throw new he.buA(5200,!1);case he.WPN.URL:return(0,Fe.iWE)(q,"URL")?(0,Fe.aCM)(q):(0,Fe.gil)(String(q));case he.WPN.RESOURCE_URL:if((0,Fe.iWE)(q,"ResourceURL"))return(0,Fe.aCM)(q);throw new he.buA(5201,!1);default:throw new he.buA(5202,!1)}}bypassSecurityTrustHtml(ke){return(0,Fe.PYC)(ke)}bypassSecurityTrustStyle(ke){return(0,Fe.rAh)(ke)}bypassSecurityTrustScript(ke){return(0,Fe.p2i)(ke)}bypassSecurityTrustUrl(ke){return(0,Fe.B1s)(ke)}bypassSecurityTrustResourceUrl(ke){return(0,Fe.RPW)(ke)}static \u0275fac=function(q){return new(q||Et)(he.KVO(he.qQL))};static \u0275prov=he.jDH({token:Et,factory:Et.\u0275fac,providedIn:"root"})}return Et})()},252(tt,ce,l){l.d(ce,{nX:()=>sr,Zp:()=>lt,nU:()=>_r,wF:()=>Sn,J2:()=>Yi,J_:()=>ni,bw:()=>uo,Ix:()=>Jt,D$:()=>Fi,n3:()=>Ti,Sd:()=>zn,gk:()=>ot,wO:()=>Rt,we:()=>yr});var k=l(7303),T=l(2615),u=l(3664),A=l(7705),s=l(9295),j=l(4402),W=l(8455),b=l(7673),H=l(4412),N=l(9350),O=l(4572),I=l(8793),V=l(9030),Y=l(1203),ue=l(8810),oe=l(983),se=l(1985),de=l(8359),me=l(9974),Ue=l(4360);function z(){return(0,me.N)((f,y)=>{let m=null;f._refCount++;const M=(0,Ue._)(y,void 0,void 0,void 0,()=>{if(!f||f._refCount<=0||0<--f._refCount)return void(m=null);const L=f._connection,Q=m;m=null,L&&(!Q||L===Q)&&L.unsubscribe(),y.unsubscribe()});f.subscribe(M),M.closed||(m=f.connect())})}class Ie extends se.c{constructor(y,m){super(),this.source=y,this.subjectFactory=m,this._subject=null,this._refCount=0,this._connection=null,(0,me.S)(y)&&(this.lift=y.lift)}
1_subscribe(y){return this.getSubject().subscribe(y)}getSubject(){const y=this._subject;return(!y||y.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:y}=this;this._subject=this._connection=null,y?.unsubscribe()}connect(){let y=this._connection;if(!y){y=this._connection=new de.yU;const m=this.getSubject();y.add(this.source.subscribe((0,Ue._)(m,void 0,()=>{this._teardown(),m.complete()},M=>{this._teardown(),m.error(M)},()=>this._teardown()))),y.closed&&(this._connection=null,y=de.yU.EMPTY)}return y}refCount(){return z()(this)}}var ae=l(1413),he=l(6354),Ve=l(5558),Fe=l(6697),Be=l(9172),Ge=l(5964),it=l(1397),mt=l(1594),Vt=l(274),Tt=l(8141),xt=l(9437),rn=l(2816),en=l(9901),Fn=l(7018),Cn=l(5109),We=l(980),$e=l(6977),ze=l(345);const Ae="primary",_t=Symbol("RouteTitle");class Mt{params;constructor(y){this.params=y||{}}has(y){return Object.prototype.hasOwnProperty.call(this.params,y)}get(y){if(this.has(y)){const m=this.params[y];return Array.isArray(m)?m[0]:m}return null}getAll(y){if(this.has(y)){const m=this.params[y];return Array.isArray(m)?m:[m]}return[]}get keys(){return Object.keys(this.params)}}function jt(f){return new Mt(f)}function Ht(f,y,m){const M=m.path.split("/");if(M.length>f.length||"full"===m.pathMatch&&(y.hasChildren()||M.length<f.length))return null;const L={};for(let Q=0;Q<M.length;Q++){const pe=M[Q],He=f[Q];if(":"===pe[0])L[pe.substring(1)]=He;else if(pe!==He.path)return null}return{consumed:f.slice(0,M.length),posParams:L}}function pn(f,y){const m=f?an(f):void 0,M=y?an(y):void 0;if(!m||!M||m.length!=M.length)return!1;let L;for(let Q=0;Q<m.length;Q++)if(L=m[Q],!Et(f[L],y[L]))return!1;return!0}function an(f){return[...Object.keys(f),...Object.getOwnPropertySymbols(f)]}function Et(f,y){if(Array.isArray(f)&&Array.isArray(y)){if(f.length!==y.length)return!1;const m=[...f].sort(),M=[...y].sort();return m.every((L,Q)=>M[Q]===L)}return f===y}function we(f){return f.length>0?f[f.length-1]:null}function ke(f){return(0,j.A)(f)?f:(0,u.yLl)(f)?(0,W.H)(Promise.resolve(f)):(0,b.of)(f)}const q={exact:function Gt(f,y,m){if(!gr(f.segments,y.segments)||!Rn(f.segments,y.segments,m)||f.numberOfChildren!==y.numberOfChildren)return!1;for(const M in y.children)if(!f.children[M]||!Gt(f.children[M],y.children[M],m))return!1;return!0},subset:kn},o={exact:function At(f,y){return pn(f,y)},subset:function Wn(f,y){return Object.keys(y).length<=Object.keys(f).length&&Object.keys(y).every(m=>Et(f[m],y[m]))},ignored:()=>!0};function Xe(f,y,m){return q[m.paths](f.root,y.root,m.matrixParams)&&o[m.queryParams](f.queryParams,y.queryParams)&&!("exact"===m.fragment&&f.fragment!==y.fragment)}function kn(f,y,m){return An(f,y,y.segments,m)}function An(f,y,m,M){if(f.segments.length>m.length){const L=f.segments.slice(0,m.length);return!(!gr(L,m)||y.hasChildren()||!Rn(L,m,M))}if(f.segments.length===m.length){if(!gr(f.segments,m)||!Rn(f.segments,m,M))return!1;for(const L in y.children)if(!f.children[L]||!kn(f.children[L],y.children[L],M))return!1;return!0}{const L=m.slice(0,f.segments.length),Q=m.slice(f.segments.length);return!!(gr(f.segments,L)&&Rn(f.segments,L,M)&&f.children[Ae])&&An(f.children[Ae],y,Q,M)}}function Rn(f,y,m){return y.every((M,L)=>o[m](f[L].parameters,M.parameters))}class Pn{root;queryParams;fragment;_queryParamMap;constructor(y=new nn([],{}),m={},M=null){this.root=y,this.queryParams=m,this.fragment=M}get queryParamMap(){return this._queryParamMap??=jt(this.queryParams),this._queryParamMap}toString(){return wr.serialize(this)}}class nn{segments;children;parent=null;constructor(y,m){this.segments=y,this.children=m,Object.values(m).forEach(M=>M.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Er(this)}}class Bn{path;parameters;_parameterMap;constructor(y,m){this.path=y,this.parameters=m}get parameterMap(){return this._parameterMap??=jt(this.parameters),this._parameterMap}toString(){return mr(this)}}function gr(f,y){return f.length===y.length&&f.every((m,M)=>m.path===y[M].path)}let zn=(()=>{class f{static \u0275fac=function(M){return new(M||f)};static \u0275prov=T.jDH({token:f,factory:()=>new _r,providedIn:"root"})}return f})();class _r{parse(y){const m=new ve(y);return new Pn(m.parseRootSegment(),m.parseQueryParams(),m.parseFragment())}serialize(y){const m=`/${bn(y.root,!0)}`,M=function Nr(f){const y=Object.entries(f).map(([m,M])=>Array.isArray(M)?M.map(L=>`${$n(m)}=${$n(L)}`).join("&"):`${$n(m)}=${$n(M)}`).filter(m=>m);return y.length?`?${y.join("&")}`:""}(y.queryParams);return`${m}${M}${"string"==typeof y.fragment?`#${function Zn(f){return encodeURI(f)}(y.fragment)}`:""}`}}const wr=new _r;function Er(f){return f.segments.map(y=>mr(y)).join("/")}
1function bn(f,y){if(!f.hasChildren())return Er(f);if(y){const m=f.children[Ae]?bn(f.children[Ae],!1):"",M=[];return Object.entries(f.children).forEach(([L,Q])=>{L!==Ae&&M.push(`${L}:${bn(Q,!1)}`)}),M.length>0?`${m}(${M.join("//")})`:m}{const m=function nr(f,y){let m=[];return Object.entries(f.children).forEach(([M,L])=>{M===Ae&&(m=m.concat(y(L,M)))}),Object.entries(f.children).forEach(([M,L])=>{M!==Ae&&(m=m.concat(y(L,M)))}),m}(f,(M,L)=>L===Ae?[bn(f.children[Ae],!1)]:[`${L}:${bn(M,!1)}`]);return 1===Object.keys(f.children).length&&null!=f.children[Ae]?`${Er(f)}/${m[0]}`:`${Er(f)}/(${m.join("//")})`}}function dr(f){return encodeURIComponent(f).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function $n(f){return dr(f).replace(/%3B/gi,";")}function rr(f){return dr(f).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Gn(f){return decodeURIComponent(f)}function xr(f){return Gn(f.replace(/\+/g,"%20"))}function mr(f){return`${rr(f.path)}${function vr(f){return Object.entries(f).map(([y,m])=>`;${rr(y)}=${rr(m)}`).join("")}(f.parameters)}`}const cr=/^[^\/()?;#]+/;function Ct(f){const y=f.match(cr);return y?y[0]:""}const et=/^[^\/()?;=#]+/,Nt=/^[^=?&#]+/,fe=/^[^&#]+/;class ve{url;remaining;constructor(y){this.url=y,this.remaining=y}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new nn([],{}):new nn([],this.parseChildren())}parseQueryParams(){const y={};if(this.consumeOptional("?"))do{this.parseQueryParam(y)}while(this.consumeOptional("&"));return y}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const y=[];for(this.peekStartsWith("(")||y.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),y.push(this.parseSegment());let m={};this.peekStartsWith("/(")&&(this.capture("/"),m=this.parseParens(!0));let M={};return this.peekStartsWith("(")&&(M=this.parseParens(!1)),(y.length>0||Object.keys(m).length>0)&&(M[Ae]=new nn(y,m)),M}parseSegment(){const y=Ct(this.remaining);if(""===y&&this.peekStartsWith(";"))throw new T.buA(4009,!1);return this.capture(y),new Bn(Gn(y),this.parseMatrixParams())}parseMatrixParams(){const y={};for(;this.consumeOptional(";");)this.parseParam(y);return y}parseParam(y){const m=function vt(f){const y=f.match(et);return y?y[0]:""}(this.remaining);if(!m)return;this.capture(m);let M="";if(this.consumeOptional("=")){const L=Ct(this.remaining);L&&(M=L,this.capture(M))}y[Gn(m)]=Gn(M)}parseQueryParam(y){const m=function Wt(f){const y=f.match(Nt);return y?y[0]:""}(this.remaining);if(!m)return;this.capture(m);let M="";if(this.consumeOptional("=")){const pe=function Z(f){const y=f.match(fe);return y?y[0]:""}(this.remaining);pe&&(M=pe,this.capture(M))}const L=xr(m),Q=xr(M);if(y.hasOwnProperty(L)){let pe=y[L];Array.isArray(pe)||(pe=[pe],y[L]=pe),pe.push(Q)}else y[L]=Q}parseParens(y){const m={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const M=Ct(this.remaining),L=this.remaining[M.length];if("/"!==L&&")"!==L&&";"!==L)throw new T.buA(4010,!1);let Q;M.indexOf(":")>-1?(Q=M.slice(0,M.indexOf(":")),this.capture(Q),this.capture(":")):y&&(Q=Ae);const pe=this.parseChildren();m[Q??Ae]=1===Object.keys(pe).length&&pe[Ae]?pe[Ae]:new nn([],pe),this.consumeOptional("//")}return m}peekStartsWith(y){return this.remaining.startsWith(y)}consumeOptional(y){return!!this.peekStartsWith(y)&&(this.remaining=this.remaining.substring(y.length),!0)}capture(y){if(!this.consumeOptional(y))throw new T.buA(4011,!1)}}function Oe(f){return f.segments.length>0?new nn([],{[Ae]:f}):f}function be(f){const y={};for(const[M,L]of Object.entries(f.children)){const Q=be(L);if(M===Ae&&0===Q.segments.length&&Q.hasChildren())for(const[pe,He]of Object.entries(Q.children))y[pe]=He;else(Q.segments.length>0||Q.hasChildren())&&(y[M]=Q)}return function st(f){if(1===f.numberOfChildren&&f.children[Ae]){const y=f.children[Ae];return new nn(f.segments.concat(y.segments),y.children)}return f}(new nn(f.segments,y))}function Rt(f){return f instanceof Pn}function jn(f){let y;const L=Oe(function m(Q){const pe={};for(const ct of Q.children){const sn=m(ct);pe[ct.outlet]=sn}const He=new nn(Q.url,pe);return Q===f&&(y=He),He}(f.root));return y??L}function Kt(f,y,m,M){let L=f;for(;L.parent;)L=L.parent;if(0===y.length)return Xt(L,L,L,m,M);const Q=function Jn(f){if("string"==typeof f[0]&&1===f.length&&"/"===f[0])return new Ar(!0,0,f);let y=0,m=!1;const M=f.reduce((L,Q,pe)=>{if("object"==typeof Q&&null!=Q){if(Q.outlets){const He={};
1return Object.entries(Q.outlets).forEach(([ct,sn])=>{He[ct]="string"==typeof sn?sn.split("/"):sn}),[...L,{outlets:He}]}if(Q.segmentPath)return[...L,Q.segmentPath]}return"string"!=typeof Q?[...L,Q]:0===pe?(Q.split("/").forEach((He,ct)=>{0==ct&&"."===He||(0==ct&&""===He?m=!0:".."===He?y++:""!=He&&L.push(He))}),L):[...L,Q]},[]);return new Ar(m,y,M)}(y);if(Q.toRoot())return Xt(L,L,new nn([],{}),m,M);const pe=function or(f,y,m){if(f.isAbsolute)return new fr(y,!0,0);if(!m)return new fr(y,!1,NaN);if(null===m.parent)return new fr(m,!0,0);const M=qn(f.commands[0])?0:1;return function ne(f,y,m){let M=f,L=y,Q=m;for(;Q>L;){if(Q-=L,M=M.parent,!M)throw new T.buA(4005,!1);L=M.segments.length}return new fr(M,!1,L-Q)}(m,m.segments.length-1+M,f.numberOfDoubleDots)}(Q,L,f),He=pe.processChildren?Je(pe.segmentGroup,pe.index,Q.commands):_e(pe.segmentGroup,pe.index,Q.commands);return Xt(L,pe.segmentGroup,He,m,M)}function qn(f){return"object"==typeof f&&null!=f&&!f.outlets&&!f.segmentPath}function un(f){return"object"==typeof f&&null!=f&&f.outlets}function Xt(f,y,m,M,L){let pe,Q={};M&&Object.entries(M).forEach(([ct,sn])=>{Q[ct]=Array.isArray(sn)?sn.map(tr=>`${tr}`):`${sn}`}),pe=f===y?m:Xn(f,y,m);const He=Oe(be(pe));return new Pn(He,Q,L)}function Xn(f,y,m){const M={};return Object.entries(f.children).forEach(([L,Q])=>{M[L]=Q===y?m:Xn(Q,y,m)}),new nn(f.segments,M)}class Ar{isAbsolute;numberOfDoubleDots;commands;constructor(y,m,M){if(this.isAbsolute=y,this.numberOfDoubleDots=m,this.commands=M,y&&M.length>0&&qn(M[0]))throw new T.buA(4003,!1);const L=M.find(un);if(L&&L!==we(M))throw new T.buA(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class fr{segmentGroup;processChildren;index;constructor(y,m,M){this.segmentGroup=y,this.processChildren=m,this.index=M}}function _e(f,y,m){if(f??=new nn([],{}),0===f.segments.length&&f.hasChildren())return Je(f,y,m);const M=function Dt(f,y,m){let M=0,L=y;const Q={match:!1,pathIndex:0,commandIndex:0};for(;L<f.segments.length;){if(M>=m.length)return Q;const pe=f.segments[L],He=m[M];if(un(He))break;const ct=`${He}`,sn=M<m.length-1?m[M+1]:null;if(L>0&&void 0===ct)break;if(ct&&sn&&"object"==typeof sn&&void 0===sn.outlets){if(!Re(ct,sn,pe))return Q;M+=2}else{if(!Re(ct,{},pe))return Q;M++}L++}return{match:!0,pathIndex:L,commandIndex:M}}(f,y,m),L=m.slice(M.commandIndex);if(M.match&&M.pathIndex<f.segments.length){const Q=new nn(f.segments.slice(0,M.pathIndex),{});return Q.children[Ae]=new nn(f.segments.slice(M.pathIndex),f.children),Je(Q,0,L)}return M.match&&0===L.length?new nn(f.segments,{}):M.match&&!f.hasChildren()?ft(f,y,m):M.match?Je(f,0,L):ft(f,y,m)}function Je(f,y,m){if(0===m.length)return new nn(f.segments,{});{const M=function Ee(f){return un(f[0])?f[0].outlets:{[Ae]:f}}(m),L={};if(Object.keys(M).some(Q=>Q!==Ae)&&f.children[Ae]&&1===f.numberOfChildren&&0===f.children[Ae].segments.length){const Q=Je(f.children[Ae],y,m);return new nn(f.segments,Q.children)}return Object.entries(M).forEach(([Q,pe])=>{"string"==typeof pe&&(pe=[pe]),null!==pe&&(L[Q]=_e(f.children[Q],y,pe))}),Object.entries(f.children).forEach(([Q,pe])=>{void 0===M[Q]&&(L[Q]=pe)}),new nn(f.segments,L)}}function ft(f,y,m){const M=f.segments.slice(0,y);let L=0;for(;L<m.length;){const Q=m[L];if(un(Q)){const ct=ie(Q.outlets);return new nn(M,ct)}if(0===L&&qn(m[0])){M.push(new Bn(f.segments[y].path,je(m[0]))),L++;continue}const pe=un(Q)?Q.outlets[Ae]:`${Q}`,He=L<m.length-1?m[L+1]:null;pe&&He&&qn(He)?(M.push(new Bn(pe,je(He))),L+=2):(M.push(new Bn(pe,{})),L++)}return new nn(M,{})}function ie(f){const y={};return Object.entries(f).forEach(([m,M])=>{"string"==typeof M&&(M=[M]),null!==M&&(y[m]=ft(new nn([],{}),0,M))}),y}function je(f){const y={};return Object.entries(f).forEach(([m,M])=>y[m]=`${M}`),y}function Re(f,y,m){return f==m.path&&pn(y,m.parameters)}const at="imperative";var qe=function(f){return f[f.NavigationStart=0]="NavigationStart",f[f.NavigationEnd=1]="NavigationEnd",f[f.NavigationCancel=2]="NavigationCancel",f[f.NavigationError=3]="NavigationError",f[f.RoutesRecognized=4]="RoutesRecognized",f[f.ResolveStart=5]="ResolveStart",f[f.ResolveEnd=6]="ResolveEnd",f[f.GuardsCheckStart=7]="GuardsCheckStart",f[f.GuardsCheckEnd=8]="GuardsCheckEnd",f[f.RouteConfigLoadStart=9]="RouteConfigLoadStart",f[f.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",f[f.ChildActivationStart=11]="ChildActivationStart",f[f.ChildActivationEnd=12]="ChildActivationEnd",f[f.ActivationStart=13]="ActivationStart",f[f.ActivationEnd=14]="ActivationEnd",f[f.Scroll=15]="Scroll",f[f.NavigationSkipped=16]="NavigationSkipped",f}(qe||{});class Lt{id;url;constructor(y,m){this.id=y,this.url=m}}class Ft extends Lt{type=qe.NavigationStart;navigationTrigger;restoredState;constructor(y,m,M="imperative",L=null){super(y,m),this.navigationTrigger=M,this.restoredState=L}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Sn extends Lt{urlAfterRedirects;type=qe.NavigationEnd;constructor(y,m,M){super(y,m),this.urlAfterRedirects=M}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}var gn=function(f){return f[f.Redirect=0]="Redirect",f[f.SupersededByNewNavigation=1]="SupersededByNewNavigation",f[f.NoDataFromRe
1solver=2]="NoDataFromResolver",f[f.GuardRejected=3]="GuardRejected",f[f.Aborted=4]="Aborted",f}(gn||{}),Un=function(f){return f[f.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",f[f.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",f}(Un||{});class vn extends Lt{reason;code;type=qe.NavigationCancel;constructor(y,m,M,L){super(y,m),this.reason=M,this.code=L}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class yn extends Lt{reason;code;type=qe.NavigationSkipped;constructor(y,m,M,L){super(y,m),this.reason=M,this.code=L}}class wn extends Lt{error;target;type=qe.NavigationError;constructor(y,m,M,L){super(y,m),this.error=M,this.target=L}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class xn extends Lt{urlAfterRedirects;state;type=qe.RoutesRecognized;constructor(y,m,M,L){super(y,m),this.urlAfterRedirects=M,this.state=L}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Nn extends Lt{urlAfterRedirects;state;type=qe.GuardsCheckStart;constructor(y,m,M,L){super(y,m),this.urlAfterRedirects=M,this.state=L}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ir extends Lt{urlAfterRedirects;state;shouldActivate;type=qe.GuardsCheckEnd;constructor(y,m,M,L,Q){super(y,m),this.urlAfterRedirects=M,this.state=L,this.shouldActivate=Q}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Qn extends Lt{urlAfterRedirects;state;type=qe.ResolveStart;constructor(y,m,M,L){super(y,m),this.urlAfterRedirects=M,this.state=L}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Lr extends Lt{urlAfterRedirects;state;type=qe.ResolveEnd;constructor(y,m,M,L){super(y,m),this.urlAfterRedirects=M,this.state=L}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class lr{route;type=qe.RouteConfigLoadStart;constructor(y){this.route=y}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Yr{route;type=qe.RouteConfigLoadEnd;constructor(y){this.route=y}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class er{snapshot;type=qe.ChildActivationStart;constructor(y){this.snapshot=y}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class oo{snapshot;type=qe.ChildActivationEnd;constructor(y){this.snapshot=y}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ho{snapshot;type=qe.ActivationStart;constructor(y){this.snapshot=y}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class io{snapshot;type=qe.ActivationEnd;constructor(y){this.snapshot=y}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Zt{}class ur{url;navigationBehaviorOptions;constructor(y,m){this.url=y,this.navigationBehaviorOptions=m}}function le(f){return f.outlet||Ae}function ee(f){if(!f)return null;if(f.routeConfig?._injector)return f.routeConfig._injector;for(let y=f.parent;y;y=y.parent){const m=y.routeConfig;if(m?._loadedInjector)return m._loadedInjector;if(m?._injector)return m._injector}return null}class Se{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return ee(this.route?.snapshot)??this.rootInjector}constructor(y){this.rootInjector=y,this.children=new lt(this.rootInjector)}}let lt=(()=>{class f{rootInjector;contexts=new Map;constructor(m){this.rootInjector=m}onChildOutletCreated(m,M){const L=this.getOrCreateContext(m);L.outlet=M,this.contexts.set(m,L)}onChildOutletDestroyed(m){const M=this.getContext(m);M&&(M.outlet=null,M.attachRef=null)}onOutletDeactivated(){const m=this.contexts;return this.contexts=new Map,m}onOutletReAttached(m){this.contexts=m}getOrCreateContext(m){let M=this.getContext(m);return M||(M=new Se(this.rootInjector),this.contexts.set(m,M)),M}getContext(m){return this.contexts.get(m)||null}static \u0275fac=function(M){return new(M||f)(T.KVO(T.uvJ))};static \u0275prov=T.jDH({token:f,factory:f.\u0275fac,providedIn:"root"})}return f})();class ht{_root;constructor(y){this._root=y}get root(){return this._root.value}
1parent(y){const m=this.pathFromRoot(y);return m.length>1?m[m.length-2]:null}children(y){const m=Qt(y,this._root);return m?m.children.map(M=>M.value):[]}firstChild(y){const m=Qt(y,this._root);return m&&m.children.length>0?m.children[0].value:null}siblings(y){const m=Vn(y,this._root);return m.length<2?[]:m[m.length-2].children.map(L=>L.value).filter(L=>L!==y)}pathFromRoot(y){return Vn(y,this._root).map(m=>m.value)}}function Qt(f,y){if(f===y.value)return y;for(const m of y.children){const M=Qt(f,m);if(M)return M}return null}function Vn(f,y){if(f===y.value)return[y];for(const m of y.children){const M=Vn(f,m);if(M.length)return M.unshift(y),M}return[]}class Mn{value;children;constructor(y,m){this.value=y,this.children=m}toString(){return`TreeNode(${this.value})`}}function En(f){const y={};return f&&f.children.forEach(m=>y[m.value.outlet]=m),y}class dn extends ht{snapshot;constructor(y,m){super(y),this.snapshot=m,Fr(this,y)}toString(){return this.snapshot.toString()}}function Hn(f){const y=function Yn(f){const Q=new hr([],{},{},"",{},Ae,f,null,{});return new Sr("",new Mn(Q,[]))}(f),m=new H.t([new Bn("",{})]),M=new H.t({}),L=new H.t({}),Q=new H.t({}
1),pe=new H.t(""),He=new sr(m,M,Q,pe,L,Ae,f,y.root);return He.snapshot=y.root,new dn(new Mn(He,[]),y)}class sr{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;constructor(y,m,M,L,Q,pe,He,ct){this.urlSubject=y,this.paramsSubject=m,this.queryParamsSubject=M,this.fragmentSubject=L,this.dataSubject=Q,this.outlet=pe,this.component=He,this._futureSnapshot=ct,this.title=this.dataSubject?.pipe((0,he.T)(sn=>sn[_t]))??(0,b.of)(void 0),this.url=y,this.params=m,this.queryParams=M,this.fragment=L,this.data=Q}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.params.pipe((0,he.T)(y=>jt(y))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe((0,he.T)(y=>jt(y))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Ur(f,y,m="emptyOnly"){let M;const{routeConfig:L}=f;return M=null===y||"always"!==m&&""!==L?.path&&(y.component||y.routeConfig?.loadComponent)?{params:{...f.params},data:{...f.data},resolve:{...f.data,...f._resolvedData??{}}}:{params:{...y.params,...f.params},data:{...y.data,...f.data},resolve:{...f.data,...y.data,...L?.data,...f._resolvedData}},L&&Zr(L)&&(M.resolve[_t]=L.title),M}class hr{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;get title(){return this.data?.[_t]}constructor(y,m,M,L,Q,pe,He,ct,sn){this.url=y,this.params=m,this.queryParams=M,this.fragment=L,this.data=Q,this.outlet=pe,this.component=He,this.routeConfig=ct,this._resolve=sn}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??=jt(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=jt(this.queryParams),this._queryParamMap}toString(){return`Route(url:'${this.url.map(M=>M.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Sr extends ht{url;constructor(y,m){super(m),this.url=y,Fr(this,m)}toString(){return To(this._root)}}function Fr(f,y){y.value._routerState=f,y.children.forEach(m=>Fr(f,m))}function To(f){const y=f.children.length>0?` { ${f.children.map(To).join(", ")} } `:"";return`${f.value}${y}`}function zr(f){if(f.snapshot){const y=f.snapshot,m=f._futureSnapshot;f.snapshot=m,pn(y.queryParams,m.queryParams)||f.queryParamsSubject.next(m.queryParams),y.fragment!==m.fragment&&f.fragmentSubject.next(m.fragment),pn(y.params,m.params)||f.paramsSubject.next(m.params),function hn(f,y){if(f.length!==y.length)return!1;for(let m=0;m<f.length;++m)if(!pn(f[m],y[m]))return!1;return!0}(y.url,m.url)||f.urlSubject.next(m.url),pn(y.data,m.data)||f.dataSubject.next(m.data)}else f.snapshot=f._futureSnapshot,f.dataSubject.next(f._futureSnapshot.data)}function Ao(f,y){const m=pn(f.params,y.params)&&function Kn(f,y){return gr(f,y)&&f.every((m,M)=>pn(m.parameters,y[M].parameters))}(f.url,y.url);return m&&!(!f.parent!=!y.parent)&&(!f.parent||Ao(f.parent,y.parent))}function Zr(f){return"string"==typeof f.title||null===f.title}const co=new T.nKC("");let Ti=(()=>{class f{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=Ae;activateEvents=new u.bkB;deactivateEvents=new u.bkB;attachEvents=new u.bkB;detachEvents=new u.bkB;routerOutletData=(0,A.hFB)();parentContexts=(0,T.WQX)(lt);location=(0,T.WQX)(u.c1b);changeDetector=(0,T.WQX)(A.gRc);inputBinder=(0,T.WQX)(po,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(m){if(m.name){const{firstChange:M,previousValue:L}=m.name;if(M)return;this.isTrackedInParentContexts(L)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(L)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(m){return this.parentContexts.getContext(m)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const m=this.parentContexts.getContext(this.name);m?.route&&(m.attachRef?this.attach(m.attachRef,m.route):this.activateWith(m.route,m.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new T.buA(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new T.buA(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new T.buA(4012,!1);this.location.detach();const m=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(m.instance),m}attach(m,M){this.activated=m,this._activatedRoute=M,this.location.insert(m.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(m.instance)}deactivate(){if(this.activated){const m=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(m)}}activateWith(m,M){if(this.isActivated)throw new T.buA(4013,!1);this._activatedRoute=m;const L=this.location,pe=m.snapshot.component,He=this.parentContexts.getOrCreateContext(this.name).children,ct=new ci(m,He,L.injector,this.routerOutletData);this.activated=L.createComponent(pe,{index:L.length,injector:ct,environmentInjector:M}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static \u0275fac=function(M){return new(M||f)};static \u0275dir=u.FsC({type:f,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[u.OA$]})}return f})();class ci{route;childContexts;parent;outletData;constructor(y,m,M,L){this.route=y,this.childContexts=m,this.parent=M,this.outletData=L}get(y,m){return y===sr?this.route:y===lt?this.childContexts:y===co?this.outletData:this.parent.get(y,m)}}const po=new T.nKC("");let yr=(()=>{class f{static \u0275fac=function(M){return new(M||f)};static \u0275cmp=u.VBU({type:f,selectors:[["ng-component"]],exportAs:["emptyRouterOutlet"],decls:1,vars:0,template:function(M,L){1&M&&u.nrm(0,"router-outlet")},dependencies:[Ti],encapsulation:2})}return f})();function Dr(f){const y=f.children&&f.children.map(Dr),m=y?{...f,children:y}:{...f};return!m.component&&!m.loadComponent&&(y||m.loadChildren)&&m.outlet&&m.outlet!==Ae&&(m.component=yr),m}function Jr(f,y,m){if(m&&f.shouldReuseRoute(y.value,m.value.snapshot)){const M=m.value;M._futureSnapshot=y.value;const L=function Ai(f,y,m){return y.children.map(M=>{for(const L of m.children)if(f.shouldReuseRoute(M.value,L.value.snapshot))return Jr(f,M,L);return Jr(f,M)})}(f,y,m);return new Mn(M,L)}{if(f.shouldAttach(y.value)){const Q=f.retrieve(y.value);if(null!==Q){const pe=Q.route;return pe.value._futureSnapshot=y.value,pe.children=y.children.map(He=>Jr(f,He)),pe}}const M=function Ho(f){return new sr(new H.t(f.url),new H.t(f.params),new H.t(f.queryParams),new H.t(f.fragment),new H.t(f.data),f.outlet,f.component,f)}(y.value),L=y.children.map(Q=>Jr(f,Q));return new Mn(M,L)}}class qr{redirectTo;navigationBehaviorOptions;constructor(y,m){this.redirectTo=y,this.navigationBehaviorOptions=m}}const Ko="ngNavigationCancelingError";function go(f,y){const{redirectTo:m,navigationBehaviorOptions:M}=Rt(y)?{redirectTo:y,navigationBehaviorOptions:void 0}:y,L=Co(!1,gn.Redirect);return L.url=m,L.navigationBehaviorOptions=M,L}function Co(f,y){const m=new Error(`NavigationCancelingError: ${f||""}`);return m[Ko]=!0,m.cancellationCode=y,m}function ei(f){return!!f&&f[Ko]}class Pi{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(y,m,M,L,Q){this.routeReuseStrategy=y,this.futureState=m,this.currState=M,this.forwardEvent=L,this.inputBindingEnabled=Q}activate(y){const m=this.futureState._root,M=this.currState?this.currState._root:null;this.deactivateChildRoutes(m,M,y),zr(this.futureState.root),this.activateChildRoutes(m,M,y)}deactivateChildRoutes(y,m,M){const L=En(m);
1y.children.forEach(Q=>{const pe=Q.value.outlet;this.deactivateRoutes(Q,L[pe],M),delete L[pe]}),Object.values(L).forEach(Q=>{this.deactivateRouteAndItsChildren(Q,M)})}deactivateRoutes(y,m,M){const L=y.value,Q=m?m.value:null;if(L===Q)if(L.component){const pe=M.getContext(L.outlet);pe&&this.deactivateChildRoutes(y,m,pe.children)}else this.deactivateChildRoutes(y,m,M);else Q&&this.deactivateRouteAndItsChildren(m,M)}deactivateRouteAndItsChildren(y,m){y.value.component&&this.routeReuseStrategy.shouldDetach(y.value.snapshot)?this.detachAndStoreRouteSubtree(y,m):this.deactivateRouteAndOutlet(y,m)}detachAndStoreRouteSubtree(y,m){const M=m.getContext(y.value.outlet),L=M&&y.value.component?M.children:m,Q=En(y);for(const pe of Object.values(Q))this.deactivateRouteAndItsChildren(pe,L);if(M&&M.outlet){const pe=M.outlet.detach(),He=M.children.onOutletDeactivated();this.routeReuseStrategy.store(y.value.snapshot,{componentRef:pe,route:y,contexts:He})}}deactivateRouteAndOutlet(y,m){const M=m.getContext(y.value.outlet),L=M&&y.value.component?M.children:m,Q=En(y);for(const pe of Object.values(Q))this.deactivateRouteAndItsChildren(pe,L);M&&(M.outlet&&(M.outlet.deactivate(),M.children.onOutletDeactivated()),M.attachRef=null,M.route=null)}activateChildRoutes(y,m,M){const L=En(m);y.children.forEach(Q=>{this.activateRoutes(Q,L[Q.value.outlet],M),this.forwardEvent(new io(Q.value.snapshot))}),y.children.length&&this.forwardEvent(new oo(y.value.snapshot))}activateRoutes(y,m,M){const L=y.value,Q=m?m.value:null;if(zr(L),L===Q)if(L.component){const pe=M.getOrCreateContext(L.outlet);this.activateChildRoutes(y,m,pe.children)}else this.activateChildRoutes(y,m,M);else if(L.component){const pe=M.getOrCreateContext(L.outlet);if(this.routeReuseStrategy.shouldAttach(L.snapshot)){const He=this.routeReuseStrategy.retrieve(L.snapshot);this.routeReuseStrategy.store(L.snapshot,null),pe.children.onOutletReAttached(He.contexts),pe.attachRef=He.componentRef,pe.route=He.route.value,pe.outlet&&pe.outlet.attach(He.componentRef,He.route.value),zr(He.route.value),this.activateChildRoutes(y,null,pe.children)}else pe.attachRef=null,pe.route=L,pe.outlet&&pe.outlet.activateWith(L,pe.injector),this.activateChildRoutes(y,null,pe.children)}else this.activateChildRoutes(y,null,M)}}class li{path;route;constructor(y){this.path=y,this.route=this.path[this.path.length-1]}}class ti{component;route;constructor(y,m){this.component=y,this.route=m}}function eo(f,y,m){const M=f._root;return No(M,y?y._root:null,m,[M.value])}function Vr(f,y){const m=Symbol(),M=y.get(f,m);return M===m?"function"!=typeof f||(0,T.muV)(f)?y.get(f):f:M}function No(f,y,m,M,L={canDeactivateChecks:[],canActivateChecks:[]}){const Q=En(y);return f.children.forEach(pe=>{(function Wr(f,y,m,M,L={canDeactivateChecks:[],canActivateChecks:[]}){const Q=f.value,pe=y?y.value:null,He=m?m.getContext(f.value.outlet):null;if(pe&&Q.routeConfig===pe.routeConfig){const ct=function zo(f,y,m){if("function"==typeof m)return m(f,y);switch(m){case"pathParamsChange":return!gr(f.url,y.url);case"pathParamsOrQueryParamsChange":return!gr(f.url,y.url)||!pn(f.queryParams,y.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Ao(f,y)||!pn(f.queryParams,y.queryParams);default:return!Ao(f,y)}}(pe,Q,Q.routeConfig.runGuardsAndResolvers);ct?L.canActivateChecks.push(new li(M)):(Q.data=pe.data,Q._resolvedData=pe._resolvedData),No(f,y,Q.component?He?He.children:null:m,M,L),ct&&He&&He.outlet&&He.outlet.isActivated&&L.canDeactivateChecks.push(new ti(He.outlet.component,pe))}else pe&&wo(y,He,L),L.canActivateChecks.push(new li(M)),No(f,null,Q.component?He?He.children:null:m,M,L)})(pe,Q[pe.value.outlet],m,M.concat([pe.value]),L),delete Q[pe.value.outlet]}),Object.entries(Q).forEach(([pe,He])=>wo(He,m.getContext(pe),L)),L}function wo(f,y,m){const M=En(f),L=f.value;Object.entries(M).forEach(([Q,pe])=>{wo(pe,L.component?y?y.children.getContext(Q):null:y,m)}),m.canDeactivateChecks.push(new ti(L.component&&y&&y.outlet&&y.outlet.isActivated?y.outlet.component:null,L))}function So(f){return"function"==typeof f}function Ri(f){return f instanceof N.G||"EmptyError"===f?.name}const Ro=Symbol("INITIAL_VALUE");function lo(){return(0,Ve.n)(f=>(0,O.z)(f.map(y=>y.pipe((0,Fe.s)(1),(0,Be.Z)(Ro)))).pipe((0,he.T)(y=>{for(const m of y)if(!0!==m){if(m===Ro)return Ro;if(!1===m||w(m))return m}return!0}),(0,Ge.p)(y=>y!==Ro),(0,Fe.s)(1)))}function w(f){return Rt(f)||f instanceof qr}function ui(f){return(0,Y.F)((0,Tt.M)(y=>{if("boolean"!=typeof y)throw go(0,y)}),(0,he.T)(y=>!0===y))}class xi{segmentGroup;constructor(y){this.segmentGroup=y||null}}
1class di extends Error{urlTree;constructor(y){super(),this.urlTree=y}}function Ei(f){return(0,ue.$)(new xi(f))}function _s(f){return(0,ue.$)(new T.buA(4e3,!1))}class Ms{urlSerializer;urlTree;constructor(y,m){this.urlSerializer=y,this.urlTree=m}lineralizeSegments(y,m){let M=[],L=m.root;for(;;){if(M=M.concat(L.segments),0===L.numberOfChildren)return(0,b.of)(M);if(L.numberOfChildren>1||!L.children[Ae])return _s();L=L.children[Ae]}}applyRedirectCommands(y,m,M,L,Q){return function ns(f,y,m){if("string"==typeof f)return(0,b.of)(f);const M=f,{queryParams:L,fragment:Q,routeConfig:pe,url:He,outlet:ct,params:sn,data:tr,title:to}=y;return ke((0,T.N4e)(m,()=>M({params:sn,data:tr,queryParams:L,fragment:Q,routeConfig:pe,url:He,outlet:ct,title:to})))}(m,L,Q).pipe((0,he.T)(pe=>{if(pe instanceof Pn)throw new di(pe);const He=this.applyRedirectCreateUrlTree(pe,this.urlSerializer.parse(pe),y,M);if("/"===pe[0])throw new di(He);return He}))}applyRedirectCreateUrlTree(y,m,M,L){const Q=this.createSegmentGroup(y,m.root,M,L);return new Pn(Q,this.createQueryParams(m.queryParams,this.urlTree.queryParams),m.fragment)}createQueryParams(y,m){const M={};return Object.entries(y).forEach(([L,Q])=>{if("string"==typeof Q&&":"===Q[0]){const He=Q.substring(1);M[L]=m[He]}else M[L]=Q}),M}createSegmentGroup(y,m,M,L){const Q=this.createSegments(y,m.segments,M,L);let pe={};return Object.entries(m.children).forEach(([He,ct])=>{pe[He]=this.createSegmentGroup(y,ct,M,L)}),new nn(Q,pe)}createSegments(y,m,M,L){return m.map(Q=>":"===Q.path[0]?this.findPosParam(y,Q,L):this.findOrReturn(Q,M))}findPosParam(y,m,M){const L=M[m.path.substring(1)];if(!L)throw new T.buA(4001,!1);return L}findOrReturn(y,m){let M=0;for(const L of m){if(L.path===y.path)return m.splice(M),L;M++}return y}}const Di={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function ms(f,y,m,M,L){const Q=rs(f,y,m);return Q.matched?(M=function so(f,y){return f.providers&&!f._injector&&(f._injector=(0,u.Ol2)(f.providers,y,`Route: ${f.path}`)),f._injector??y}(y,M),function Wi(f,y,m,M){const L=y.canMatch;if(!L||0===L.length)return(0,b.of)(!0);const Q=L.map(pe=>{const He=Vr(pe,f);return ke(function Vi(f){return f&&So(f.canMatch)}(He)?He.canMatch(y,m):(0,T.N4e)(f,()=>He(y,m)))});return(0,b.of)(Q).pipe(lo(),ui())}(M,y,m).pipe((0,he.T)(pe=>!0===pe?Q:{...Di}))):(0,b.of)(Q)}function rs(f,y,m){if("**"===y.path)return function Ls(f){return{matched:!0,parameters:f.length>0?we(f).parameters:{},consumedSegments:f,remainingSegments:[],positionalParamSegments:{}}}(m);if(""===y.path)return"full"===y.pathMatch&&(f.hasChildren()||m.length>0)?{...Di}:{matched:!0,consumedSegments:[],remainingSegments:m,parameters:{},positionalParamSegments:{}};const L=(y.matcher||Ht)(m,f,y);if(!L)return{...Di};const Q={};Object.entries(L.posParams??{}).forEach(([He,ct])=>{Q[He]=ct.path});const pe=L.consumed.length>0?{...Q,...L.consumed[L.consumed.length-1].parameters}:Q;return{matched:!0,consumedSegments:L.consumed,remainingSegments:m.slice(L.consumed.length),parameters:pe,positionalParamSegments:L.posParams??{}}}function fi(f,y,m,M){return m.length>0&&function Hi(f,y,m){return m.some(M=>Ir(f,y,M)&&le(M)!==Ae)}(f,m,M)?{segmentGroup:new nn(y,vs(M,new nn(m,f.children))),slicedSegments:[]}:0===m.length&&function hi(f,y,m){return m.some(M=>Ir(f,y,M))}(f,m,M)?{segmentGroup:new nn(f.segments,$i(f,m,M,f.children)),slicedSegments:m}:{segmentGroup:new nn(f.segments,f.children),slicedSegments:m}}function $i(f,y,m,M){const L={};for(const Q of m)if(Ir(f,y,Q)&&!M[le(Q)]){const pe=new nn([],{});L[le(Q)]=pe}return{...M,...L}}function vs(f,y){const m={};m[Ae]=y;for(const M of f)if(""===M.path&&le(M)!==Ae){const L=new nn([],{});m[le(M)]=L}return m}function Ir(f,y,m){return(!(f.hasChildren()||y.length>0)||"full"!==m.pathMatch)&&""===m.path}class Ci{}class Qo{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(y,m,M,L,Q,pe,He){this.injector=y,this.configLoader=m,this.rootComponentType=M,this.config=L,this.urlTree=Q,this.paramsInheritanceStrategy=pe,this.urlSerializer
1=He,this.applyRedirects=new Ms(this.urlSerializer,this.urlTree)}noMatchError(y){return new T.buA(4002,`'${y.segmentGroup}'`)}recognize(){const y=fi(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(y).pipe((0,he.T)(({children:m,rootSnapshot:M})=>{const L=new Mn(M,m),Q=new Sr("",L),pe=function on(f,y,m=null,M=null){return Kt(jn(f),y,m,M)}(M,[],this.urlTree.queryParams,this.urlTree.fragment);return pe.queryParams=this.urlTree.queryParams,Q.url=this.urlSerializer.serialize(pe),{state:Q,tree:pe}}))}match(y){const m=new hr([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Object.freeze({}),Ae,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,y,Ae,m).pipe((0,he.T)(M=>({children:M,rootSnapshot:m})),(0,xt.W)(M=>{if(M instanceof di)return this.urlTree=M.urlTree,this.match(M.urlTree.root);throw M instanceof xi?this.noMatchError(M):M}))}processSegmentGroup(y,m,M,L,Q){return 0===M.segments.length&&M.hasChildren()?this.processChildren(y,m,M,Q):this.processSegment(y,m,M,M.segments,L,!0,Q).pipe((0,he.T)(pe=>pe instanceof Mn?[pe]:[]))}processChildren(y,m,M,L){const Q=[];for(const pe of Object.keys(M.children))"primary"===pe?Q.unshift(pe):Q.push(pe);return(0,W.H)(Q).pipe((0,Vt.H)(pe=>{const He=M.children[pe],ct=function U(f,y){const m=f.filter(M=>le(M)===y);return m.push(...f.filter(M=>le(M)!==y)),m}(m,pe);return this.processSegmentGroup(y,ct,He,pe,L)}),(0,rn.S)((pe,He)=>(pe.push(...He),pe)),(0,en.U)(null),(0,Fn.H)(),(0,it.Z)(pe=>{if(null===pe)return Ei(M);const He=Ni(pe);return function bs(f){f.sort((y,m)=>y.value.outlet===Ae?-1:m.value.outlet===Ae?1:y.value.outlet.localeCompare(m.value.outlet))}(He),(0,b.of)(He)}))}processSegment(y,m,M,L,Q,pe,He){return(0,W.H)(m).pipe((0,Vt.H)(ct=>this.processSegmentAgainstRoute(ct._injector??y,m,ct,M,L,Q,pe,He).pipe((0,xt.W)(sn=>{if(sn instanceof xi)return(0,b.of)(null);throw sn}))),(0,mt.$)(ct=>!!ct),(0,xt.W)(ct=>{if(Ri(ct))return function Fo(f,y,m){return 0===y.length&&!f.children[m]}(M,L,Q)?(0,b.of)(new Ci):Ei(M);throw ct}))}processSegmentAgainstRoute(y,m,M,L,Q,pe,He,ct){return le(M)===pe||pe!==Ae&&Ir(L,Q,M)?void 0===M.redirectTo?this.matchSegmentAgainstRoute(y,L,M,Q,pe,ct):this.allowRedirects&&He?this.expandSegmentAgainstRouteUsingRedirect(y,L,m,M,Q,pe,ct):Ei(L):Ei(L)}expandSegmentAgainstRouteUsingRedirect(y,m,M,L,Q,pe,He){const{matched:ct,parameters:sn,consumedSegments:tr,positionalParamSegments:to,remainingSegments:Gr}=rs(m,L,Q);if(!ct)return Ei(m);"string"==typeof L.redirectTo&&"/"===L.redirectTo[0]&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));const Oi=new hr(Q,sn,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Es(L),le(L),L.component??L._loadedComponent??null,L,ss(L)),fo=Ur(Oi,He,this.paramsInheritanceStrategy);return Oi.params=Object.freeze(fo.params),Oi.data=Object.freeze(fo.data),this.applyRedirects.applyRedirectCommands(tr,L.redirectTo,to,Oi,y).pipe((0,Ve.n)(_i=>this.applyRedirects.lineralizeSegments(L,_i)),(0,it.Z)(_i=>
1this.processSegment(y,M,m,_i.concat(Gr),pe,!1,He)))}matchSegmentAgainstRoute(y,m,M,L,Q,pe){const He=ms(m,M,L,y);return"**"===M.path&&(m.children={}),He.pipe((0,Ve.n)(ct=>ct.matched?this.getChildConfig(y=M._injector??y,M,L).pipe((0,Ve.n)(({routes:sn})=>{const tr=M._loadedInjector??y,{parameters:to,consumedSegments:Gr,remainingSegments:Oi}=ct,fo=new hr(Gr,to,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Es(M),le(M),M.component??M._loadedComponent??null,M,ss(M)),Zi=Ur(fo,pe,this.paramsInheritanceStrategy);fo.params=Object.freeze(Zi.params),fo.data=Object.freeze(Zi.data);const{segmentGroup:_i,slicedSegments:ls}=fi(m,Gr,Oi,sn);if(0===ls.length&&_i.hasChildren())return this.processChildren(tr,sn,_i,fo).pipe((0,he.T)(Ji=>new Mn(fo,Ji)));if(0===sn.length&&0===ls.length)return(0,b.of)(new Mn(fo,[]));const Gs=le(M)===Q;return this.processSegment(tr,sn,_i,ls,Gs?Ae:Q,!0,fo).pipe((0,he.T)(Ji=>new Mn(fo,Ji instanceof Mn?[Ji]:[])))})):Ei(m)))}getChildConfig(y,m,M){return m.children?(0,b.of)({routes:m.children,injector:y}):m.loadChildren?void 0!==m._loadedRoutes?(0,b.of)({routes:m._loadedRoutes,injector:m._loadedInjector}):function Xo(f,y,m,M){const L=y.canLoad;if(void 0===L||0===L.length)return(0,b.of)(!0);const Q=L.map(pe=>{const He=Vr(pe,f);return ke(function Lo(f){return f&&So(f.canLoad)}(He)?He.canLoad(y,m):(0,T.N4e)(f,()=>He(y,m)))});return(0,b.of)(Q).pipe(lo(),ui())}(y,m,M).pipe((0,it.Z)(L=>L?this.configLoader.loadChildren(y,m).pipe((0,Tt.M)(Q=>{m._loadedRoutes=Q.routes,m._loadedInjector=Q.injector})):function ts(){return(0,ue.$)(Co(!1,gn.GuardRejected))}())):(0,b.of)({routes:[],injector:y})}}function is(f){const y=f.value.routeConfig;return y&&""===y.path}function Ni(f){const y=[],m=new Set;for(const M of f){if(!is(M)){y.push(M);continue}const L=y.find(Q=>M.value.routeConfig===Q.value.routeConfig);void 0!==L?(L.children.push(...M.children),m.add(L)):y.push(M)}for(const M of m){const L=Ni(M.children);y.push(new Mn(M.value,L))}return y.filter(M=>!m.has(M))}function Es(f){return f.data||{}}function ss(f){return f.resolve||{}}function Mi(f){const y=f.children.map(m=>Mi(m)).flat();return[f,...y]}function Li(f){return(0,Ve.n)(y=>{const m=f(y);return m?(0,W.H)(m).pipe((0,he.T)(()=>y)):(0,b.of)(y)})}let Yo=(()=>{class f{buildTitle(m){let M,L=m.root;for(;void 0!==L;)M=this.getResolvedTitleForRoute(L)??M,L=L.children.find(Q=>Q.outlet===Ae);return M}getResolvedTitleForRoute(m){return m.data[_t]}static \u0275fac=function(M){return new(M||f)};static \u0275prov=T.jDH({token:f,factory:()=>(0,T.WQX)(Ii),providedIn:"root"})}return f})(),Ii=(()=>{class f extends Yo{title;constructor(m){super(),this.title=m}updateTitle(m){const M=this.buildTitle(m);void 0!==M&&this.title.setTitle(M)}static \u0275fac=function(M){return new(M||f)(T.KVO(ze.hE))};static \u0275prov=T.jDH({token:f,factory:f.\u0275fac,providedIn:"root"})}return f})();const ni=new T.nKC("",{providedIn:"root",factory:()=>({})}),uo=new T.nKC("");let Fi=(()=>{class f{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=(0,T.WQX)(u.Ql9);loadComponent(m,M){if(this.componentLoaders.get(M))return this.componentLoaders.get(M);if(M._loadedComponent)return(0,b.of)(M._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(M);const L=ke((0,T.N4e)(m,()=>M.loadComponent())).pipe((0,he.T)(zi),(0,Ve.n)(pi),(0,Tt.M)(pe=>{this.onLoadEndListener&&this.onLoadEndListener(M),M._loadedComponent=pe}),(0,We.j)(()=>{this.componentLoaders.delete(M)})),Q=new Ie(L,()=>new ae.B).pipe(z());return this.componentLoaders.set(M,Q),Q}loadChildren(m,M){if(this.childrenLoaders.get(M))return this.childrenLoaders.get(M);if(M._loadedRoutes)return(0,b.of)({routes:M._loadedRoutes,injector:M._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(M);const Q=function ki(f,y,m,M){return ke((0,T.N4e)(m,()=>f.loadChildren())).pipe((0,he.T)(zi),(0,Ve.n)(pi),(0,it.Z)(L=>L instanceof u.PYt||Array.isArray(L)?(0,b.of)(L):(0,W.H)(y.compileModuleAsync(L))),(0,he.T)(L=>{M&&M(f);let Q,pe,He=!1;return Array.isArray(L)?(pe=L,!0):(Q=L.create(m).injector,pe=Q.get(uo,[],{optional:!0,self:!0}).flat()),{routes:pe.map(Dr),injector:Q}}))}(M,this.compiler,m,this.onLoadEndListener).pipe((0,We.j)(()=>{this.childrenLoaders.delete(M)})),pe=new Ie(Q,()=>new ae.B).pipe(z());return this.childrenLoaders.set(M,pe),pe}static \u0275fac=function(M){return new(M||f)};static \u0275prov=T.jDH({token:f,factory:f.\u0275fac,providedIn:"root"})}return f})();function zi(f){return function ri(f){return f&&"object"==typeof f&&"default"in f}(f)?f.default:f}function pi(f){return(0,b.of)(f)}let Bo=(()=>{class f{static \u0275fac=function(M){return new(M||f)};static \u0275prov=T.jDH({token:f,factory:()=>(0,T.WQX)(Gi),providedIn:"root"})}return f})(),Gi=(()=>{class f{shouldProcessUrl(m){return!0}extract(m){return m}merge(m,M){return m}static \u0275fac=function(M){return new(M||f)};static \u0275prov=T.jDH({token:f,factory:f.\u0275fac,providedIn:"root"})}return f})();const Xi=new T.nKC(""),Qi=new T.nKC("");let Yi=(()=>{class f{currentNavigation=(0,T.vPA)(null,{equal:()=>!1});currentTransition=null;lastSuccessfulNavigation=null;events=new ae.B;
1transitionAbortWithErrorSubject=new ae.B;configLoader=(0,T.WQX)(Fi);environmentInjector=(0,T.WQX)(T.uvJ);destroyRef=(0,T.WQX)(T.abz);urlSerializer=(0,T.WQX)(zn);rootContexts=(0,T.WQX)(lt);location=(0,T.WQX)(k.aZ);inputBindingEnabled=null!==(0,T.WQX)(po,{optional:!0});titleStrategy=(0,T.WQX)(Yo);options=(0,T.WQX)(ni,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=(0,T.WQX)(Bo);createViewTransition=(0,T.WQX)(Xi,{optional:!0});navigationErrorHandler=(0,T.WQX)(Qi,{optional:!0});navigationId=0;get hasRequestedNavigation(){return 0!==this.navigationId}transitions;afterPreactivation=()=>(0,b.of)(void 0);rootComponentType=null;destroyed=!1;constructor(){this.configLoader.onLoadEndListener=L=>this.events.next(new Yr(L)),this.configLoader.onLoadStartListener=L=>this.events.next(new lr(L)),this.destroyRef.onDestroy(()=>{this.destroyed=!0})}complete(){this.transitions?.complete()}handleNavigationRequest(m){const M=++this.navigationId;(0,s.O8)(()=>{this.transitions?.next({...m,extractedUrl:this.urlHandlingStrategy.extract(m.rawUrl),targetSnapshot:null,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null,abortController:new AbortController,id:M})})}setupNavigations(m){return this.transitions=new H.t(null),this.transitions.pipe((0,Ge.p)(M=>null!==M),(0,Ve.n)(M=>{let L=!1;return(0,b.of)(M).pipe((0,Ve.n)(Q=>{if(this.navigationId>M.id)return this.cancelNavigationTransition(M,"",gn.SupersededByNewNavigation),oe.w;this.currentTransition=M,this.currentNavigation.set({id:Q.id,initialUrl:Q.rawUrl,extractedUrl:Q.extractedUrl,targetBrowserUrl:"string"==typeof Q.extras.browserUrl?this.urlSerializer.parse(Q.extras.browserUrl):Q.extras.browserUrl,trigger:Q.source,extras:Q.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null,abort:()=>Q.abortController.abort()});const pe=!m.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl();if(!pe&&"reload"!==(Q.extras.onSameUrlNavigation??m.onSameUrlNavigation))return this.events.next(new yn(Q.id,this.urlSerializer.serialize(Q.rawUrl),"",Un.IgnoredSameUrlNavigation)),Q.resolve(!1),oe.w;if(this.urlHandlingStrategy.shouldProcessUrl(Q.rawUrl))return(0,b.of)(Q).pipe((0,Ve.n)(ct=>(this.events.next(new Ft(ct.id,this.urlSerializer.serialize(ct.extractedUrl),ct.source,ct.restoredState)),ct.id!==this.navigationId?oe.w:Promise.resolve(ct))),function ko(f,y,m,M,L,Q){return(0,it.Z)(pe=>function os(f,y,m,M,L,Q,pe="emptyOnly"){return new Qo(f,y,m,M,L,pe,Q).recognize()}(f,y,m,M,pe.extractedUrl,L,Q).pipe((0,he.T)(({state:He,tree:ct})=>({...pe,targetSnapshot:He,urlAfterRedirects:ct}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,m.config,this.urlSerializer,this.paramsInheritanceStrategy),(0,Tt.M)(ct=>{M.targetSnapshot=ct.targetSnapshot,M.urlAfterRedirects=ct.urlAfterRedirects,this.currentNavigation.update(tr=>(tr.finalUrl=ct.urlAfterRedirects,tr));const sn=new xn(ct.id,this.urlSerializer.serialize(ct.extractedUrl),this.urlSerializer.serialize(ct.urlAfterRedirects),ct.targetSnapshot);this.events.next(sn)}));if(pe&&this.urlHandlingStrategy.shouldProcessUrl(Q.currentRawUrl)){const{id:ct,extractedUrl:sn,source:tr,restoredState:to,extras:Gr}=Q,Oi=new Ft(ct,this.urlSerializer.serialize(sn),tr,to);this.events.next(Oi);const fo=Hn(this.rootComponentType).snapshot;return this.currentTransition=M={...Q,targetSnapshot:fo,urlAfterRedirects:sn,extras:{...Gr,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.update(Zi=>(Zi.finalUrl=sn,Zi)),(0,b.of)(M)}return this.events.next(new yn(Q.id,this.urlSerializer.serialize(Q.extractedUrl),"",Un.IgnoredByUrlHandlingStrategy)),Q.resolve(!1),oe.w}),(0,Tt.M)(Q=>{const pe=new Nn(Q.id,this.urlSerializer.serialize(Q.extractedUrl),this.urlSerializer.serialize(Q.urlAfterRedirects),Q.targetSnapshot);this.events.next(pe)}),(0,he.T)(Q=>(this.currentTransition=M={...Q,guards:eo(Q.targetSnapshot,Q.currentSnapshot,this.rootContexts)},M)),function x(f,y){return(0,it.Z)(m=>{const{targetSnapshot:M,currentSnapshot:L,guards:{canActivateChecks:Q,canDeactivateChecks:pe}}=m;return 0===pe.length&&0===Q.length?(0,b.of)({...m,guardsResult:!0}):function E(f,y,m,M){return(0,W.H)(f).pipe((0,it.Z)(L=>
1function Go(f,y,m,M,L){const Q=y&&y.routeConfig?y.routeConfig.canDeactivate:null;if(!Q||0===Q.length)return(0,b.of)(!0);const pe=Q.map(He=>{const ct=ee(y)??L,sn=Vr(He,ct);return ke(function Si(f){return f&&So(f.canDeactivate)}(sn)?sn.canDeactivate(f,y,m,M):(0,T.N4e)(ct,()=>sn(f,y,m,M))).pipe((0,mt.$)())});return(0,b.of)(pe).pipe(lo())}(L.component,L.route,m,y,M)),(0,mt.$)(L=>!0!==L,!0))}(pe,M,L,f).pipe((0,it.Z)(He=>He&&function kr(f){return"boolean"==typeof f}(He)?function K(f,y,m,M){return(0,W.H)(y).pipe((0,Vt.H)(L=>(0,I.x)(function Yt(f,y){return null!==f&&y&&y(new er(f)),(0,b.of)(!0)}(L.route.parent,M),function Ce(f,y){return null!==f&&y&&y(new ho(f)),(0,b.of)(!0)}(L.route,M),function $r(f,y,m){const M=y[y.length-1],Q=y.slice(0,y.length-1).reverse().map(pe=>function yi(f){const y=f.routeConfig?f.routeConfig.canActivateChild:null;return y&&0!==y.length?{node:f,guards:y}:null}(pe)).filter(pe=>null!==pe).map(pe=>(0,V.v)(()=>{const He=pe.guards.map(ct=>{const sn=ee(pe.node)??m,tr=Vr(ct,sn);return ke(function wi(f){return f&&So(f.canActivateChild)}(tr)?tr.canActivateChild(M,f):(0,T.N4e)(sn,()=>tr(M,f))).pipe((0,mt.$)())});return(0,b.of)(He).pipe(lo())}));return(0,b.of)(Q).pipe(lo())}(f,L.path,m),function In(f,y,m){const M=y.routeConfig?y.routeConfig.canActivate:null;if(!M||0===M.length)return(0,b.of)(!0);const L=M.map(Q=>(0,V.v)(()=>{const pe=ee(y)??m,He=Vr(Q,pe);return ke(function bo(f){return f&&So(f.canActivate)}(He)?He.canActivate(y,f):(0,T.N4e)(pe,()=>He(y,f))).pipe((0,mt.$)())}));return(0,b.of)(L).pipe(lo())}(f,L.route,m))),(0,mt.$)(L=>!0!==L,!0))}(M,Q,f,y):(0,b.of)(He)),(0,he.T)(He=>({...m,guardsResult:He})))})}(this.environmentInjector,Q=>this.events.next(Q)),(0,Tt.M)(Q=>{if(M.guardsResult=Q.guardsResult,Q.guardsResult&&"boolean"!=typeof Q.guardsResult)throw go(0,Q.guardsResult);const pe=new ir(Q.id,this.urlSerializer.serialize(Q.extractedUrl),this.urlSerializer.serialize(Q.urlAfterRedirects),Q.targetSnapshot,!!Q.guardsResult);this.events.next(pe)}),(0,Ge.p)(Q=>!!Q.guardsResult||(this.cancelNavigationTransition(Q,"",gn.GuardRejected),!1)),Li(Q=>{if(0!==Q.guards.canActivateChecks.length)return(0,b.of)(Q).pipe((0,Tt.M)(pe=>{const He=new Qn(pe.id,this.urlSerializer.serialize(pe.extractedUrl),this.urlSerializer.serialize(pe.urlAfterRedirects),pe.targetSnapshot);this.events.next(He)}),(0,Ve.n)(pe=>{let He=!1;return(0,b.of)(pe).pipe(function as(f,y){return(0,it.Z)(m=>{const{targetSnapshot:M,guards:{canActivateChecks:L}}=m;if(!L.length)return(0,b.of)(m);const Q=new Set(L.map(ct=>ct.route)),pe=new Set;for(const ct of Q)if(!pe.has(ct))for(const sn of Mi(ct))pe.add(sn);let He=0;return(0,W.H)(pe).pipe((0,Vt.H)(ct=>Q.has(ct)?function Ki(f,y,m,M){const L=f.routeConfig,Q=f._resolve;return void 0!==L?.title&&!Zr(L)&&(Q[_t]=L.title),(0,V.v)(()=>(f.data=Ur(f,f.parent,m).resolve,function cs(f,y,m,M){const L=an(f);if(0===L.length)return(0,b.of)({});const Q={};return(0,W.H)(L).pipe((0,it.Z)(pe=>function bi(f,y,m,M){const L=ee(y)??M,Q=Vr(f,L);return ke(Q.resolve?Q.resolve(y,m):(0,T.N4e)(L,()=>Q(y,m)))}(f[pe],y,m,M).pipe((0,mt.$)(),(0,Tt.M)(He=>{if(He instanceof qr)throw go(new _r,He);Q[pe]=He}))),(0,Cn.o)(1),(0,he.T)(()=>Q),(0,xt.W)(pe=>Ri(pe)?oe.w:(0,ue.$)(pe)))}(Q,f,y,M).pipe((0,he.T)(pe=>(f._resolvedData=pe,f.data={...f.data,...pe},null)))))}(ct,M,f,y):(ct.data=Ur(ct,ct.parent,f).resolve,(0,b.of)(void 0))),(0,Tt.M)(()=>He++),(0,Cn.o)(1),(0,it.Z)(ct=>He===pe.size?(0,b.of)(m):oe.w))})}(this.paramsInheritanceStrategy,this.environmentInjector),(0,Tt.M)({next:()=>He=!0,complete:()=>{He||this.cancelNavigationTransition(pe,"",gn.NoDataFromResolver)}}))}),(0,Tt.M)(pe=>{const He=new Lr(pe.id,this.urlSerializer.serialize(pe.extractedUrl),this.urlSerializer.serialize(pe.urlAfterRedirects),pe.targetSnapshot);this.events.next(He)}))}),Li(Q=>{const pe=He=>{const ct=[];if(He.routeConfig?.loadComponent){const sn=ee(He)??this.environmentInjector;ct.push(this.configLoader.loadComponent(sn,He.routeConfig).pipe((0,Tt.M)(tr=>{He.component=tr}),(0,he.T)(()=>{})))}for(const sn of He.children)ct.push(...pe(sn));return ct};return(0,O.z)(pe(Q.targetSnapshot.root)).pipe((0,en.U)(null),(0,Fe.s)(1))}),Li(()=>this.afterPreactivation()),(0,Ve.n)(()=>{const{currentSnapshot:Q,targetSnapshot:pe}=M,He=this.createViewTransition?.(this.environmentInjector,Q.root,pe.root);return He?(0,W.H)(He).pipe((0,he.T)(()=>M)):(0,b.of)(M)}),(0,he.T)(Q=>{const pe=function qo(f,y,m){const M=Jr(f,y._root,m?m._root:void 0);return new dn(M,y)}(m.routeReuseStrategy,Q.targetSnapshot,Q.currentRouterState);return this.currentTransition=M={...Q,targetRouterState:pe},this.currentNavigation.update(He=>
1(He.targetRouterState=pe,He)),M}),(0,Tt.M)(()=>{this.events.next(new Zt)}),((f,y,m,M)=>(0,he.T)(L=>(new Pi(y,L.targetRouterState,L.currentRouterState,m,M).activate(f),L)))(this.rootContexts,m.routeReuseStrategy,Q=>this.events.next(Q),this.inputBindingEnabled),(0,Fe.s)(1),(0,$e.Q)(new se.c(Q=>{const pe=M.abortController.signal,He=()=>Q.next();return pe.addEventListener("abort",He),()=>pe.removeEventListener("abort",He)}).pipe((0,Ge.p)(()=>!L&&!M.targetRouterState),(0,Tt.M)(()=>{this.cancelNavigationTransition(M,M.abortController.signal.reason+"",gn.Aborted)}))),(0,Tt.M)({next:Q=>{L=!0,this.lastSuccessfulNavigation=(0,s.O8)(this.currentNavigation),this.events.next(new Sn(Q.id,this.urlSerializer.serialize(Q.extractedUrl),this.urlSerializer.serialize(Q.urlAfterRedirects))),this.titleStrategy?.updateTitle(Q.targetRouterState.snapshot),Q.resolve(!0)},complete:()=>{L=!0}}),(0,$e.Q)(this.transitionAbortWithErrorSubject.pipe((0,Tt.M)(Q=>{throw Q}))),(0,We.j)(()=>{L||this.cancelNavigationTransition(M,"",gn.SupersededByNewNavigation),this.currentTransition?.id===M.id&&(this.currentNavigation.set(null),this.currentTransition=null)}),(0,xt.W)(Q=>{if(this.destroyed)return M.resolve(!1),oe.w;if(L=!0,ei(Q))this.events.next(new vn(M.id,this.urlSerializer.serialize(M.extractedUrl),Q.message,Q.cancellationCode)),function _o(f){return ei(f)&&Rt(f.url)}(Q)?this.events.next(new ur(Q.url,Q.navigationBehaviorOptions)):M.resolve(!1);else{const pe=new wn(M.id,this.urlSerializer.serialize(M.extractedUrl),Q,M.targetSnapshot??void 0);try{const He=(0,T.N4e)(this.environmentInjector,()=>this.navigationErrorHandler?.(pe));if(!(He instanceof qr))throw this.events.next(pe),Q;{const{message:ct,cancellationCode:sn}=go(0,He);this.events.next(new vn(M.id,this.urlSerializer.serialize(M.extractedUrl),ct,sn)),this.events.next(new ur(He.redirectTo,He.navigationBehaviorOptions))}}catch(He){this.options.resolveNavigationPromiseOnError?M.resolve(!1):M.reject(He)}}return oe.w}))}))}cancelNavigationTransition(m,M,L){const Q=new vn(m.id,this.urlSerializer.serialize(m.extractedUrl),M,L);this.events.next(Q),m.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){const m=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),M=(0,s.O8)(this.currentNavigation),L=M?.targetBrowserUrl??M?.extractedUrl;return m.toString()!==L?.toString()&&!M?.extras.skipLocationChange}static \u0275fac=function(M){return new(M||f)};static \u0275prov=T.jDH({token:f,factory:f.\u0275fac,providedIn:"root"})}return f})();function Ts(f){return f!==at}let As=(()=>{class f{static \u0275fac=function(M){return new(M||f)};static \u0275prov=T.jDH({token:f,factory:()=>(0,T.WQX)(J),providedIn:"root"})}return f})();class Ds{shouldDetach(y){return!1}store(y,m){}shouldAttach(y){return!1}retrieve(y){return null}
1shouldReuseRoute(y,m){return y.routeConfig===m.routeConfig}}let J=(()=>{class f extends Ds{static \u0275fac=(()=>{let m;return function(L){return(m||(m=u.xGo(f)))(L||f)}})();static \u0275prov=T.jDH({token:f,factory:f.\u0275fac,providedIn:"root"})}return f})(),ye=(()=>{class f{urlSerializer=(0,T.WQX)(zn);options=(0,T.WQX)(ni,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";location=(0,T.WQX)(k.aZ);urlHandlingStrategy=(0,T.WQX)(Bo);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new Pn;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}createBrowserPath({finalUrl:m,initialUrl:M,targetBrowserUrl:L}){const Q=void 0!==m?this.urlHandlingStrategy.merge(m,M):M,pe=L??Q;return pe instanceof Pn?this.urlSerializer.serialize(pe):pe}commitTransition({targetRouterState:m,finalUrl:M,initialUrl:L}){M&&m?(this.currentUrlTree=M,this.rawUrlTree=this.urlHandlingStrategy.merge(M,L),this.routerState=m):this.rawUrlTree=L}routerState=Hn(null);getRouterState(){return this.routerState}stateMemento=this.createStateMemento();updateStateMemento(){this.stateMemento=this.createStateMemento()}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}resetInternalState({finalUrl:m}){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,m??this.rawUrlTree)}static \u0275fac=function(M){return new(M||f)};static \u0275prov=T.jDH({token:f,factory:()=>(0,T.WQX)(xe),providedIn:"root"})}return f})(),xe=(()=>{class f extends ye{currentPageId=0;lastSuccessfulId=-1;restoredState(){return this.location.getState()}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}registerNonRouterCurrentEntryChangeListener(m){return this.location.subscribe(M=>{"popstate"===M.type&&setTimeout(()=>{m(M.url,M.state,"popstate")})})}handleRouterEvent(m,M){m instanceof Ft?this.updateStateMemento():m instanceof yn?this.commitTransition(M):m instanceof xn?"eager"===this.urlUpdateStrategy&&(M.extras.skipLocationChange||this.setBrowserUrl(this.createBrowserPath(M),M)):m instanceof Zt?(this.commitTransition(M),"deferred"===this.urlUpdateStrategy&&!M.extras.skipLocationChange&&this.setBrowserUrl(this.createBrowserPath(M),M)):m instanceof vn&&m.code!==gn.SupersededByNewNavigation&&m.code!==gn.Redirect?this.restoreHistory(M):m instanceof wn?this.restoreHistory(M,!0):m instanceof Sn&&(this.lastSuccessfulId=m.id,this.currentPageId=this.browserPageId)}setBrowserUrl(m,{extras:M,id:L}){const{replaceUrl:Q,state:pe}=M;if(this.location.isCurrentPathEqualTo(m)||Q){const He=this.browserPageId,ct={...pe,...this.generateNgRouterState(L,He)};this.location.replaceState(m,"",ct)}else{const He={...pe,...this.generateNgRouterState(L,this.browserPageId+1)};this.location.go(m,"",He)}}restoreHistory(m,M=!1){if("computed"===this.canceledNavigationResolution){const Q=this.currentPageId-this.browserPageId;0!==Q?this.location.historyGo(Q):this.getCurrentUrlTree()===m.finalUrl&&0===Q&&(this.resetInternalState(m),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(M&&this.resetInternalState(m),this.resetUrlToCurrentUrlTree())}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.getRawUrlTree()),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(m,M){return"computed"===this.canceledNavigationResolution?{navigationId:m,\u0275routerPageId:M}:{navigationId:m}}static \u0275fac=(()=>{let m;return function(L){return(m||(m=u.xGo(f)))(L||f)}})();static \u0275prov=T.jDH({token:f,factory:f.\u0275fac,providedIn:"root"})}return f})();function ot(f,y){f.events.pipe((0,Ge.p)(m=>m instanceof Sn||m instanceof vn||m instanceof wn||m instanceof yn),(0,he.T)(m=>m instanceof Sn||m instanceof yn?0:m instanceof vn&&(m.code===gn.Redirect||m.code===gn.SupersededByNewNavigation)?2:1),(0,Ge.p)(m=>2!==m),(0,Fe.s)(1)).subscribe(()=>{y()})}const pt={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},St={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Jt=(()=>{class f{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=(0,T.WQX)(u.C7A);stateManager=(0,T.WQX)(ye);options=(0,T.WQX)(ni,{optional:!0})||{};pendingTasks=(0,T.WQX)(T.rev);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=(0,T.WQX)(Yi);
1urlSerializer=(0,T.WQX)(zn);location=(0,T.WQX)(k.aZ);urlHandlingStrategy=(0,T.WQX)(Bo);injector=(0,T.WQX)(T.uvJ);_events=new ae.B;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=(0,T.WQX)(As);onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=(0,T.WQX)(uo,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!(0,T.WQX)(po,{optional:!0});currentNavigation=this.navigationTransitions.currentNavigation.asReadonly();constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this).subscribe({error:m=>{this.console.warn(m)}}),this.subscribeToNavigationEvents()}eventsSubscription=new de.yU;subscribeToNavigationEvents(){const m=this.navigationTransitions.events.subscribe(M=>{try{const L=this.navigationTransitions.currentTransition,Q=(0,s.O8)(this.navigationTransitions.currentNavigation);if(null!==L&&null!==Q)if(this.stateManager.handleRouterEvent(M,Q),M instanceof vn&&M.code!==gn.Redirect&&M.code!==gn.SupersededByNewNavigation)this.navigated=!0;else if(M instanceof Sn)this.navigated=!0;else if(M instanceof ur){const pe=M.navigationBehaviorOptions,He=this.urlHandlingStrategy.merge(M.url,L.currentRawUrl),ct={browserUrl:L.extras.browserUrl,info:L.extras.info,skipLocationChange:L.extras.skipLocationChange,replaceUrl:L.extras.replaceUrl||"eager"===this.urlUpdateStrategy||Ts(L.source),...pe};this.scheduleNavigation(He,at,null,ct,{resolve:L.resolve,reject:L.reject,promise:L.promise})}(function tn(f){return!(f instanceof Zt||f instanceof ur)})(M)&&this._events.next(M)}catch(L){this.navigationTransitions.transitionAbortWithErrorSubject.next(L)}});this.eventsSubscription.add(m)}resetRootComponentType(m){this.routerState.root.component=m,this.navigationTransitions.rootComponentType=m}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),at,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((m,M,L)=>{this.navigateToSyncWithBrowser(m,L,M)})}navigateToSyncWithBrowser(m,M,L){const Q={replaceUrl:!0},pe=L?.navigationId?L:null;if(L){const ct={...L};delete ct.navigationId,delete ct.\u0275routerPageId,0!==Object.keys(ct).length&&(Q.state=ct)}const He=this.parseUrl(m);this.scheduleNavigation(He,M,pe,Q).catch(ct=>{this.disposed||this.injector.get(T.ZTf)(ct)})}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return(0,s.O8)(this.navigationTransitions.currentNavigation)}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(m){this.config=m.map(Dr),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this._events.unsubscribe(),this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(m,M={}){const{relativeTo:L,queryParams:Q,fragment:pe,queryParamsHandling:He,preserveFragment:ct}=M,sn=ct?this.currentUrlTree.fragment:pe;let to,tr=null;switch(He??this.options.defaultQueryParamsHandling){case"merge":tr={...this.currentUrlTree.queryParams,...Q};break;case"preserve":tr=this.currentUrlTree.queryParams;break;default:tr=Q||null}null!==tr&&(tr=this.removeEmptyProps(tr));try{to=jn(L?L.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof m[0]||"/"!==m[0][0])&&(m=[]),to=this.currentUrlTree.root}return Kt(to,m,tr,sn??null)}navigateByUrl(m,M={skipLocationChange:!1}){const L=Rt(m)?m:this.parseUrl(m),Q=this.urlHandlingStrategy.merge(L,this.rawUrlTree);return this.scheduleNavigation(Q,at,null,M)}navigate(m,M={skipLocationChange:!1}){return function ln(f){for(let y=0;y<f.length;y++)if(null==f[y])throw new T.buA(4008,!1)}(m),this.navigateByUrl(this.createUrlTree(m,M),M)}serializeUrl(m){return this.urlSerializer.serialize(m)}parseUrl(m){try{return this.urlSerializer.parse(m)}catch{return this.console.warn((0,T.OsK)(4018,!1)),this.urlSerializer.parse("/")}}isActive(m,M){let L;if(L=!0===M?{...pt}:!1===M?{...St}:M,Rt(m))return Xe(this.currentUrlTree,m,L);const Q=this.parseUrl(m);return Xe(this.currentUrlTree,Q,L)}removeEmptyProps(m){return Object.entries(m).reduce((M,[L,Q])=>(null!=Q&&(M[L]=Q),M),{})}scheduleNavigation(m,M,L,Q,pe){if(this.disposed)return Promise.resolve(!1);let He,ct,sn;pe?(He=pe.resolve,ct=pe.reject,sn=pe.promise):sn=new Promise((to,Gr)=>{He=to,ct=Gr});const tr=this.pendingTasks.add();return ot(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(tr))}),this.navigationTransitions.handleNavigationRequest({source:M,restoredState:L,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:m,extras:Q,resolve:He,reject:ct,promise:sn,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}
1),sn.catch(to=>Promise.reject(to))}static \u0275fac=function(M){return new(M||f)};static \u0275prov=T.jDH({token:f,factory:f.\u0275fac,providedIn:"root"})}return f})()},8132(tt,ce,l){l.d(ce,{Wk:()=>Ht,Zy:()=>zn,lh:()=>Wn});var Pe=l(7303),Le=l(7705),Ye=l(3664),yt=l(2615),gt=l(9295),It=l(252),Ae=l(1413),Mt=(l(8455),l(7673));l(6365);let Ht=(()=>{class Z{router;route;tabIndexAttribute;renderer;el;locationStrategy;reactiveHref=(0,yt.vPA)(null);get href(){return(0,gt.O8)(this.reactiveHref)}set href(Oe){this.reactiveHref.set(Oe)}target;queryParams;fragment;queryParamsHandling;state;info;relativeTo;isAnchorElement;subscription;onChanges=new Ae.B;applicationErrorHandler=(0,yt.WQX)(yt.ZTf);options=(0,yt.WQX)(It.J_,{optional:!0});constructor(Oe,be,st,Rt,on,jn){this.router=Oe,this.route=be,this.tabIndexAttribute=st,this.renderer=Rt,this.el=on,this.locationStrategy=jn,this.reactiveHref.set((0,yt.WQX)(new Le.ES_("href"),{optional:!0}));const Kt=on.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===Kt||"area"===Kt||!("object"!=typeof customElements||!customElements.get(Kt)?.observedAttributes?.includes?.("href")),this.isAnchorElement?this.setTabIndexIfNotOnNativeEl("0"):this.subscribeToNavigationEventsIfNecessary()}subscribeToNavigationEventsIfNecessary(){if(void 0!==this.subscription||!this.isAnchorElement)return;let Oe=this.preserveFragment;const be=st=>"merge"===st||"preserve"===st;Oe||=be(this.queryParamsHandling),Oe||=!this.queryParamsHandling&&!be(this.options?.defaultQueryParamsHandling),Oe&&(this.subscription=this.router.events.subscribe(st=>{st instanceof It.wF&&this.updateHref()}))}preserveFragment=!1;skipLocationChange=!1;replaceUrl=!1;setTabIndexIfNotOnNativeEl(Oe){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",Oe)}ngOnChanges(Oe){this.isAnchorElement&&(this.updateHref(),this.subscribeToNavigationEventsIfNecessary()),this.onChanges.next(this)}routerLinkInput=null;set routerLink(Oe){null==Oe?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(this.routerLinkInput=(0,It.wO)(Oe)||Array.isArray(Oe)?Oe:[Oe],this.setTabIndexIfNotOnNativeEl("0"))}onClick(Oe,be,st,Rt,on){const jn=this.urlTree;if(null===jn||this.isAnchorElement&&(0!==Oe||be||st||Rt||on||"string"==typeof this.target&&"_self"!=this.target))return!0;const Kt={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(jn,Kt)?.catch(qn=>{this.applicationErrorHandler(qn)}),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){const Oe=this.urlTree;this.reactiveHref.set(null!==Oe&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(Oe))??"":null)}applyAttributeValue(Oe,be){const st=this.renderer,Rt=this.el.nativeElement;null!==be?st.setAttribute(Rt,Oe,be):st.removeAttribute(Rt,Oe)}get urlTree(){return null===this.routerLinkInput?null:(0,It.wO)(this.routerLinkInput)?this.routerLinkInput:this.router.createUrlTree(this.routerLinkInput,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static \u0275fac=function(be){return new(be||Z)(Ye.rXU(It.Ix),Ye.rXU(It.nX),Ye.kS0("tabindex"),Ye.rXU(Ye.sFG),Ye.rXU(Ye.aKT),Ye.rXU(Pe.hb))};static \u0275dir=Ye.FsC({type:Z,selectors:[["","routerLink",""]],hostVars:2,hostBindings:function(be,st){1&be&&Ye.bIt("click",function(on){return st.onClick(on.button,on.ctrlKey,on.shiftKey,on.altKey,on.metaKey)}),2&be&&Ye.BMQ("href",st.reactiveHref(),Ye.n$t)("target",st.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",Le.L39],skipLocationChange:[2,"skipLocationChange","skipLocationChange",Le.L39],replaceUrl:[2,"replaceUrl","replaceUrl",Le.L39],routerLink:"routerLink"},features:[Ye.OA$]})}return Z})();const q=new yt.nKC("");function Wn(Z,...ve){return(0,yt.EmA)([{provide:It.bw,multi:!0,useValue:Z},[],{provide:It.nX,useFactory:kn,deps:[It.Ix]},{provide:Ye.iLQ,multi:!0,useFactory:Kn},ve.map(Oe=>Oe.\u0275providers)])}function kn(Z){return Z.routerState.root}function Kn(){const Z=(0,yt.WQX)(yt.zZn);return ve=>{const Oe=Z.get(Ye.o8S);if(ve!==Oe.components[0])return;const be=Z.get(It.Ix),st=Z.get(gr);1===Z.get(nr)&&be.initialNavigation(),Z.get(Er,null,{optional:!0})?.setUpPreloading(),Z.get(q,null,{optional:!0})?.init(),be.resetRootComponentType(Oe.componentTypes[0]),st.closed||(st.next(),st.complete(),st.unsubscribe())}}const gr=new yt.nKC("",{factory:()=>new Ae.B}),nr=new yt.nKC("",{providedIn:"root",factory:()=>1});function zn(){return function An(Z,ve){return{\u0275kind:Z,\u0275providers:ve}}(2,[{provide:Ye.tvf,useValue:!0},{provide:nr,useValue:0},(0,Ye.phd)(()=>{const ve=(0,yt.WQX)(yt.zZn);return ve.get(Pe.hj,Promise.resolve()).then(()=>new Promise(be=>{const st=ve.get(It.Ix),Rt=ve.get(gr);(0,It.gk)(st,()=>{be(!0)}),ve.get(It.J2).afterPreactivation=()=>(be(!0),Rt.closed?(0,Mt.of)(void 0):Rt),st.initialNavigation()}))})])}const Er=new yt.nKC("")},8742(tt,ce,l){l.d(ce,{Dk:()=>Wn,KO:()=>Rn,Sx:()=>Gt,Wp:()=>Xe,j6:()=>Mt,om:()=>_t});var j=l(467),W=l(1362),b=l(8041),H=l(6858),N=l(6749);class O{constructor(et){this.container=et}getPlatformInfoString(){return this.container.getProviders().map(vt=>{if(function I(Ct){const et=Ct.getComponent();return"VERSION"===et?.type}(vt)){const Nt=vt.getImmediate();return`${Nt.library}/${Nt.version}`}return null}
1).filter(vt=>vt).join(" ")}}const V="@firebase/app",Y="0.13.2",ue=new b.Vy("@firebase/app"),oe="@firebase/app-compat",se="@firebase/analytics-compat",de="@firebase/analytics",me="@firebase/app-check-compat",Ue="@firebase/app-check",z="@firebase/auth",Ie="@firebase/auth-compat",ae="@firebase/database",he="@firebase/data-connect",Ve="@firebase/database-compat",Fe="@firebase/functions",Be="@firebase/functions-compat",Ge="@firebase/installations",it="@firebase/installations-compat",mt="@firebase/messaging",Vt="@firebase/messaging-compat",Tt="@firebase/performance",xt="@firebase/performance-compat",rn="@firebase/remote-config",en="@firebase/remote-config-compat",Fn="@firebase/storage",Cn="@firebase/storage-compat",We="@firebase/firestore",$e="@firebase/ai",ze="@firebase/firestore-compat",Ze="firebase",Pe="[DEFAULT]",Le={[V]:"fire-core",[oe]:"fire-core-compat",[de]:"fire-analytics",[se]:"fire-analytics-compat",[Ue]:"fire-app-check",[me]:"fire-app-check-compat",[z]:"fire-auth",[Ie]:"fire-auth-compat",[ae]:"fire-rtdb",[he]:"fire-data-connect",[Ve]:"fire-rtdb-compat",[Fe]:"fire-fn",[Be]:"fire-fn-compat",[Ge]:"fire-iid",[it]:"fire-iid-compat",[mt]:"fire-fcm",[Vt]:"fire-fcm-compat",[Tt]:"fire-perf",[xt]:"fire-perf-compat",[rn]:"fire-rc",[en]:"fire-rc-compat",[Fn]:"fire-gcs",[Cn]:"fire-gcs-compat",[We]:"fire-fst",[ze]:"fire-fst-compat",[$e]:"fire-vertex","fire-js":"fire-js",[Ze]:"fire-js-all"},Ye=new Map,yt=new Map,gt=new Map;function It(Ct,et){try{Ct.container.addComponent(et)}catch(vt){ue.debug(`Component ${et.name} failed to register with FirebaseApp ${Ct.name}`,vt)}}function _t(Ct){const et=Ct.name;if(gt.has(et))return ue.debug(`There were multiple attempts to register component ${et}.`),!1;gt.set(et,Ct);for(const vt of Ye.values())It(vt,Ct);for(const vt of yt.values())It(vt,Ct);return!0}function Mt(Ct,et){const vt=Ct.container.getProvider("heartbeat").getImmediate({optional:!0});return vt&&vt.triggerHeartbeat(),Ct.container.getProvider(et)}const Et=new H.FA("app","Firebase",{"no-app":"No Firebase App '{$appName}' has been created - call initializeApp() first","bad-app-name":"Illegal App name: '{$appName}'","duplicate-app":"Firebase App named '{$appName}' already exists with different options or config","app-deleted":"Firebase App named '{$appName}' already deleted","server-app-deleted":"Firebase Server App has been deleted","no-options":"Need to provide options, when not being deployed to hosting via source.","invalid-app-argument":"firebase.{$appName}() takes either no argument or a Firebase App instance.","invali
1d-log-argument":"First argument to `onLog` must be null or a function.","idb-open":"Error thrown when opening IndexedDB. Original error: {$originalErrorMessage}.","idb-get":"Error thrown when reading from IndexedDB. Original error: {$originalErrorMessage}.","idb-set":"Error thrown when writing to IndexedDB. Original error: {$originalErrorMessage}.","idb-delete":"Error thrown when deleting from IndexedDB. Original error: {$originalErrorMessage}.","finalization-registry-not-supported":"FirebaseServerApp deleteOnDeref field defined but the JS runtime does not support FinalizationRegistry.","invalid-server-app-environment":"FirebaseServerApp is not for use in browser environments."});class we{constructor(et,vt,Nt){this._isDeleted=!1,this._options=Object.assign({},et),this._config=Object.assign({},vt),this._name=vt.name,this._automaticDataCollectionEnabled=vt.automaticDataCollectionEnabled,this._container=Nt,this.container.addComponent(new W.uA("app",()=>this,"PUBLIC"))}get automaticDataCollectionEnabled(){return this.checkDestroyed(),this._automaticDataCollectionEnabled}set automaticDataCollectionEnabled(et){this.checkDestroyed(),this._automaticDataCollectionEnabled=et}get name(){return this.checkDestroyed(),this._name}get options(){return this.checkDestroyed(),this._options}get config(){return this.checkDestroyed(),this._config}get container(){return this._container}get isDeleted(){return this._isDeleted}set isDeleted(et){this._isDeleted=et}checkDestroyed(){if(this.isDeleted)throw Et.create("app-deleted",{appName:this._name})}}function Xe(Ct,et={}){let vt=Ct;"object"!=typeof et&&(et={name:et});const Nt=Object.assign({name:Pe,automaticDataCollectionEnabled:!0},et),Wt=Nt.name;if("string"!=typeof Wt||!Wt)throw Et.create("bad-app-name",{appName:String(Wt)});if(vt||(vt=(0,H.T9)()),!vt)throw Et.create("no-options");const fe=Ye.get(Wt);if(fe){if((0,H.bD)(vt,fe.options)&&(0,H.bD)(Nt,fe.config))return fe;throw Et.create("duplicate-app",{appName:Wt})}const Z=new W.h1(Wt);for(const Oe of gt.values())Z.addComponent(Oe);const ve=new we(vt,Nt,Z);return Ye.set(Wt,ve),ve}function Gt(Ct=Pe){const et=Ye.get(Ct);if(!et&&Ct===Pe&&(0,H.T9)())return Xe();if(!et)throw Et.create("no-app",{appName:Ct});return et}function Wn(){return Array.from(Ye.values())}function Rn(Ct,et,vt){var Nt;let Wt=null!==(Nt=Le[Ct])&&void 0!==Nt?Nt:Ct;vt&&(Wt+=`-${vt}`);const fe=Wt.match(/\s|\//),Z=et.match(/\s|\//);if(fe||Z){const ve=[`Unable to register library "${Wt}" with version "${et}":`];return fe&&ve.push(`library name "${Wt}" contains illegal characters (whitespace or "/")`),fe&&Z&&ve.push("and"),Z&&ve.push(`version name "${et}" contains illegal characters (whitespace or "/")`),void ue.warn(ve.join(" "))}_t(new W.uA(`${Wt}-version`,()=>({library:Wt,version:et}),"VERSION"))}const gr="firebase-heartbeat-store";let nr=null;function zn(){return nr||(nr=(0,N.P2)("firebase-heartbeat-database",1,{upgrade:(Ct,et)=>{if(0===et)try{Ct.createObjectStore(gr)}catch(vt){console.warn(vt)}}}).catch(Ct=>{throw Et.create("idb-open",{originalErrorMessage:Ct.message})})),nr}function wr(){return(wr=(0,j.A)(function*(Ct){try{const vt=(yield zn()).transaction(gr),Nt=yield vt.objectStore(gr).get(dr(Ct));return yield vt.done,Nt}catch(et){if(et instanceof H.g)ue.warn(et.message);else{const vt=Et.create("idb-get",{originalErrorMessage:et?.message});ue.warn(vt.message)}}})).apply(this,arguments)}function Er(Ct,et){return bn.apply(this,arguments)}function bn(){return(bn=(0,j.A)(function*(Ct,et){try{const Nt=(yield zn()).transaction(gr,"readwrite");yield Nt.objectStore(gr).put(et,dr(Ct)),yield Nt.done}catch(vt){if(vt instanceof H.g)ue.warn(vt.message);else{const Nt=Et.create("idb-set",{originalErrorMessage:vt?.message});ue.warn(Nt.message)}}})).apply(this,arguments)}function dr(Ct){return`${Ct.name}!${Ct.options.appId}`}class rr{constructor(et){this.container=et,this._heartbeatsCache=null;const vt=this.container.getProvider("app").getImmediate();this._storage=new mr(vt),this._heartbeatsCachePromise=this._storage.read().then(Nt=>(this._heartbeatsCache=Nt,Nt))}triggerHeartbeat(){var et=this;return(0,j.A)(function*(){var vt,Nt;try{const fe=et.container.getProvider("platform-logger").getImmediate().getPlatformInfoString(),Z=Gn();if(null==(null===(vt=et._heartbeatsCache)||void 0===vt?void 0:vt.heartbeats)&&(et._heartbeatsCache=yield et._heartbeatsCachePromise,null==(null===(Nt=et._heartbeatsCache)||void 0===Nt?void 0:Nt.heartbeats))||et._heartbeatsCache.lastSentHeartbeatDate===Z||et._heartbeatsCache.heartbeats.some(ve=>ve.date===Z))return;if(et._heartbeatsCache.heartbeats.push({date:Z,agent:fe}),et._heartbeatsCache.heartbeats.length>30){const ve=function Nr(Ct){if(0===Ct.length)return-1;let et=0,vt=Ct[0].date;for(let Nt=1;Nt<Ct.length;Nt++)Ct[Nt].date<vt&&(vt=Ct[Nt].date,et=Nt);return et}(et._heartbeatsCache.heartbeats);et._heartbeatsCache.heartbeats.splice(ve,1)}return et._storage.overwrite(et._heartbeatsCache)}catch(Wt){ue.warn(Wt)}})()}getHeartbeatsHeader(){var et=this;return(0,j.A)(function*(){var vt;try{if(null===et._heartbeatsCache&&(yield et._heartbeatsCachePromise),null==(null===(vt=et._heartbeatsCache)||void 0===vt?void 0:vt.heartbeats)||0===et._heartbeatsCache.heartbeats.length)return"";const Nt=Gn(),{heartbeatsToSend:Wt,unsentEntries:fe}=function xr(Ct,et=1024){const vt=[];let Nt=Ct.slice();for(const Wt of Ct){const fe=vt.find(Z=>Z.agent===Wt.agent);if(fe){if(fe.dates.push(Wt.date),vr(vt)>et){fe.dates.pop();break}}else if(vt.push({agent:Wt.agent,dates:[Wt.date]}),vr(vt)>et){vt.pop();break}Nt=Nt.slice(1)}return{heartbeatsToSend:vt,unsentEntries:Nt}}(et._heartbeatsCache.heartbeats),Z=(0,H.Uj)(JSON.stringify({version:2,heartbeats:Wt}));return et._heartbeatsCache.lastSentHeartbeatDate=Nt,fe.length>0?(et._heartbeatsCache.heartbeats=fe,yield et._storage.overwrite(et._heartbeatsCache)):(et._heartbeatsCache.heartbeats=[],et._storage.overwrite(et._heartbeatsCache)),Z}catch(Nt){return ue.warn(Nt),""}})()}}function Gn(){return(new Date).toISOString().substring(0,10)}class mr{constructor(et){this.app=et,this._canUseIndexedDBPromise=this.runIndexedDBEnvironmentCheck()}runIndexedDBEnvironmentCheck(){return(0,j.A)(function*(){return!!(0,H.zW)()&&(0,H.eX)().then(()=>!0).catch(()=>!1)})()}read(){var et=this;
1return(0,j.A)(function*(){if(yield et._canUseIndexedDBPromise){const Nt=yield function _r(Ct){return wr.apply(this,arguments)}(et.app);return Nt?.heartbeats?Nt:{heartbeats:[]}}return{heartbeats:[]}})()}overwrite(et){var vt=this;return(0,j.A)(function*(){var Nt;if(yield vt._canUseIndexedDBPromise){const fe=yield vt.read();return Er(vt.app,{lastSentHeartbeatDate:null!==(Nt=et.lastSentHeartbeatDate)&&void 0!==Nt?Nt:fe.lastSentHeartbeatDate,heartbeats:et.heartbeats})}})()}add(et){var vt=this;return(0,j.A)(function*(){var Nt;if(yield vt._canUseIndexedDBPromise){const fe=yield vt.read();return Er(vt.app,{lastSentHeartbeatDate:null!==(Nt=et.lastSentHeartbeatDate)&&void 0!==Nt?Nt:fe.lastSentHeartbeatDate,heartbeats:[...fe.heartbeats,...et.heartbeats]})}})()}}function vr(Ct){return(0,H.Uj)(JSON.stringify({version:2,heartbeats:Ct})).length}!function cr(Ct){_t(new W.uA("platform-logger",et=>new O(et),"PRIVATE")),_t(new W.uA("heartbeat",et=>new rr(et),"PRIVATE")),Rn(V,Y,Ct),Rn(V,Y,"esm2017"),Rn("fire-js","")}("")},1362(tt,ce,l){l.d(ce,{h1:()=>b,uA:()=>u});var k=l(467),T=l(6858);class u{constructor(N,O,I){this.name=N,this.instanceFactory=O,this.type=I,this.multipleInstances=!1,this.serviceProps={},this.instantiationMode="LAZY",this.onInstanceCreated=null}setInstantiationMode(N){return this.instantiationMode=N,this}setMultipleInstances(N){return this.multipleInstances=N,this}setServiceProps(N){return this.serviceProps=N,this}setInstanceCreatedCallback(N){return this.onInstanceCreated=N,this}}const A="[DEFAULT]";class s{constructor(N,O){this.name=N,this.container=O,this.component=null,this.instances=new Map,this.instancesDeferred=new Map,this.instancesOptions=new Map,this.onInitCallbacks=new Map}get(N){const O=this.normalizeInstanceIdentifier(N);if(!this.instancesDeferred.has(O)){const I=new T.cY;if(this.instancesDeferred.set(O,I),this.isInitialized(O)||this.shouldAutoInitialize())try{const V=this.getOrInitializeService({instanceIdentifier:O});V&&I.resolve(V)}catch{}}return this.instancesDeferred.get(O).promise}getImmediate(N){var O;const I=this.normalizeInstanceIdentifier(N?.identifier),V=null!==(O=N?.optional)&&void 0!==O&&O;if(!this.isInitialized(I)&&!this.shouldAutoInitialize()){if(V)return null;throw Error(`Service ${this.name} is not available`)}try{return this.getOrInitializeService({instanceIdentifier:I})}catch(Y){if(V)return null;throw Y}}getComponent(){return this.component}setComponent(N){if(N.name!==this.name)throw Error(`Mismatching Component ${N.name} for Provider ${this.name}.`);if(this.component)throw Error(`Component for ${this.name} has already been provided`);if(this.component=N,this.shouldAutoInitialize()){if(function W(H){return"EAGER"===H.instantiationMode}(N))try{this.getOrInitializeService({instanceIdentifier:A})}catch{}for(const[O,I]of this.instancesDeferred.entries()){const V=this.normalizeInstanceIdentifier(O);try{const Y=this.getOrInitializeService({instanceIdentifier:V});I.resolve(Y)}catch{}}}}clearInstance(N=A){this.instancesDeferred.delete(N),this.instancesOptions.delete(N),this.instances.delete(N)}delete(){var N=this;return(0,k.A)(function*(){const O=Array.from(N.instances.values());yield Promise.all([...O.filter(I=>"INTERNAL"in I).map(I=>I.INTERNAL.delete()),...O.filter(I=>"_delete"in I).map(I=>I._delete())])})()}isComponentSet(){return null!=this.component}isInitialized(N=A){return this.instances.has(N)}getOptions(N=A){return this.instancesOptions.get(N)||{}}initialize(N={}){const{options:O={}}=N,I=this.normalizeInstanceIdentifier(N.instanceIdentifier);if(this.isInitialized(I))throw Error(`${this.name}(${I}) has already been initialized`);if(!this.isComponentSet())throw Error(`Component ${this.name} has not been registered yet`);const V=this.getOrInitializeService({instanceIdentifier:I,options:O});for(const[Y,ue]of this.instancesDeferred.entries())I===this.normalizeInstanceIdentifier(Y)&&ue.resolve(V);return V}onInit(N,O){var I;const V=this.normalizeInstanceIdentifier(O),Y=null!==(I=this.onInitCallbacks.get(V))&&void 0!==I?I:new Set;Y.add(N),this.onInitCallbacks.set(V,Y);const ue=this.instances.get(V);return ue&&N(ue,V),()=>{Y.delete(N)}}invokeOnInitCallbacks(N,O){const I=this.onInitCallbacks.get(O);if(I)for(const V of I)try{V(N,O)}catch{}}getOrInitializeService({instanceIdentifier:N,options:O={}}){let I=this.instances.get(N);if(!I&&this.component&&(I=this.component.instanceFactory(this.container,{instanceIdentifier:(H=N,H===A?void 0:H),options:O}),this.instances.set(N,I),this.instancesOptions.set(N,O),this.invokeOnInitCallbacks(I,N),this.component.onInstanceCreated))try{this.component.onInstanceCreated(this.container,N,I)}catch{}var H;return I||null}normalizeInstanceIdentifier(N=A){return this.component?this.component.multipleInstances?N:A:N}shouldAutoInitialize(){return!!this.component&&"EXPLICIT"!==this.component.instantiationMode}}class b{constructor(N){this.name=N,this.providers=new Map}addComponent(N){const O=this.getProvider(N.name);if(O.isComponentSet())throw new Error(`Component ${N.name} has already been registered with ${this.name}`);O.setComponent(N)}addOrOverwriteComponent(N){this.getProvider(N.name).isComponentSet()&&this.providers.delete(N.name),this.addComponent(N)}getProvider(N){if(this.providers.has(N))return this.providers.get(N);const O=new s(N,this);return this.providers.set(N,O),O}getProviders(){return Array.from(this.providers.values())}}},8041(tt,ce,l){l.d(ce,{Vy:()=>W});const k=[];var T=function(N){return N[N.DEBUG=0]="DEBUG",N[N.VERBOSE=1]="VERBOSE",N[N.INFO=2]="INFO",N[N.WARN=3]="WARN",N[N.ERROR=4]="ERROR",N[N.SILENT=5]="SILENT",N}(T||{});const u={debug:T.DEBUG,verbose:T.VERBOSE,info:T.INFO,warn:T.WARN,error:T.ERROR,silent:T.SILENT},A=T.INFO,s={[T.DEBUG]:"log",[T.VERBOSE]:"log",[T.INFO]:"info",[T.WARN]:"warn",[T.ERROR]:"error"},j=(N,O,...I)=>{if(O<N.logLevel)return;const V=(new Date).toISOString(),Y=s[O];if(!Y)throw new Error(`Attempted to log a message with an invali
1d logType (value: ${O})`);console[Y](`[${V}] ${N.name}:`,...I)};class W{constructor(O){this.name=O,this._logLevel=A,this._logHandler=j,this._userLogHandler=null,k.push(this)}get logLevel(){return this._logLevel}set logLevel(O){if(!(O in T))throw new TypeError(`Invalid value "${O}" assigned to \`logLevel\``);this._logLevel=O}setLogLevel(O){this._logLevel="string"==typeof O?u[O]:O}get logHandler(){return this._logHandler}set logHandler(O){if("function"!=typeof O)throw new TypeError("Value assigned to `logHandler` must be a function");this._logHandler=O}get userLogHandler(){return this._userLogHandler}set userLogHandler(O){this._userLogHandler=O}debug(...O){this._userLogHandler&&this._userLogHandler(this,T.DEBUG,...O),this._logHandler(this,T.DEBUG,...O)}log(...O){this._userLogHandler&&this._userLogHandler(this,T.VERBOSE,...O),this._logHandler(this,T.VERBOSE,...O)}info(...O){this._userLogHandler&&this._userLogHandler(this,T.INFO,...O),this._logHandler(this,T.INFO,...O)}warn(...O){this._userLogHandler&&this._userLogHandler(this,T.WARN,...O),this._logHandler(this,T.WARN,...O)}error(...O){this._userLogHandler&&this._userLogHandler(this,T.ERROR,...O),this._logHandler(this,T.ERROR,...O)}}},8018(tt,ce,l){l.d(ce,{D8:()=>hn,D9:()=>Ae,Wr:()=>Ve,c$:()=>gt,h:()=>Et});var j=l(2615),W=l(3664),b=l(7705),H=l(1413),N=l(4402),O=l(8793),I=l(9030),V=l(7468),Y=l(7673),ue=l(274),oe=l(6354),se=l(4668),de=l(5558),me=l(6697);class z{}let Ie=(()=>{class we{handle(q){return q.key}static \u0275fac=function(o){return new(o||we)};static \u0275prov=j.jDH({token:we,factory:we.\u0275fac})}return we})();class ae{}let he=(()=>{class we extends ae{compile(q,o){return q}compileTranslations(q,o){return q}static \u0275fac=(()=>{let q;return function(Xe){return(q||(q=W.xGo(we)))(Xe||we)}})();static \u0275prov=j.jDH({token:we,factory:we.\u0275fac})}return we})();class Ve{}let Fe=(()=>{class we extends Ve{getTranslation(q){return(0,Y.of)({})}static \u0275fac=(()=>{let q;return function(Xe){return(q||(q=W.xGo(we)))(Xe||we)}})();static \u0275prov=j.jDH({token:we,factory:we.\u0275fac})}return we})();function Be(we,ke){if(we===ke)return!0;if(null===we||null===ke)return!1;if(we!=we&&ke!=ke)return!0;const q=typeof we;let Xe;if(q==typeof ke&&"object"==q)if(Array.isArray(we)){if(!Array.isArray(ke))return!1;if((Xe=we.length)==ke.length){for(let At=0;At<Xe;At++)if(!Be(we[At],ke[At]))return!1;return!0}}else{if(Array.isArray(ke))return!1;if(mt(we)&&mt(ke)){const At=Object.create(null);for(const Gt in we){if(!Be(we[Gt],ke[Gt]))return!1;At[Gt]=!0}for(const Gt in ke)if(!(Gt in At)&&typeof ke[Gt]<"u")return!1;return!0}}return!1}function Ge(we){return typeof we<"u"&&null!==we}function it(we){return void 0!==we}function mt(we){return Vt(we)&&!Tt(we)&&null!==we}function Vt(we){return"object"==typeof we&&null!==we}function Tt(we){return Array.isArray(we)}function xt(we){return"string"==typeof we}function en(we){if(Tt(we))return we.map(ke=>en(ke));if(mt(we)){const ke={};return Object.keys(we).forEach(q=>{ke[q]=en(we[q])}),ke}return we}function Fn(we,ke){if(!Vt(we))return en(ke);const q=en(we);return Vt(q)&&Vt(ke)&&Object.keys(ke).forEach(o=>{mt(ke[o])?o in we?q[o]=Fn(we[o],ke[o]):Object.assign(q,{[o]:ke[o]}):Object.assign(q,{[o]:ke[o]})}),q}function Cn(we,ke){const q=ke.split(".");ke="";do{ke+=q.shift();const o=!q.length;if(Ge(we)){if(mt(we)&&it(we[ke])&&(mt(we[ke])||Tt(we[ke])||o)){we=we[ke],ke="";continue}if(Tt(we)){const Xe=parseInt(ke,10);if(it(we[Xe])&&(mt(we[Xe])||Tt(we[Xe])||o)){we=we[Xe],ke="";continue}}}o?we=void 0:ke+="."}while(q.length);return we}class Ze{}let Te=(()=>{class we extends Ze{templateMatcher=/{{\s?([^{}\s]*)\s?}}/g;interpolate(q,o){return xt(q)?this.interpolateString(q,o):function rn(we){return"function"==typeof we}(q)?this.interpolateFunction(q,o):void 0}interpolateFunction(q,o){return q(o)}interpolateString(q,o){return o?q.replace(this.templateMatcher,(Xe,At)=>{const Gt=this.getInterpolationReplacement(o,At);return void 0!==Gt?Gt:Xe}):q}getInterpolationReplacement(q,o){return this.formatValue(Cn(q,o))}formatValue(q){return xt(q)?q:"number"==typeof q||"boolean"==typeof q?q.toString():null===q?"null":Tt(q)?q.join(", "):Vt(q)?"function"==typeof q.toString&&q.toString!==Object.prototype.toString?q.toString():JSON.stringify(q):void 0}static \u0275fac=(()=>{let q;return function(Xe){return(q||(q=W.xGo(we)))(Xe||we)}})();static \u0275prov=j.jDH({token:we,factory:we.\u0275fac})}return we})(),Pe=(()=>{class we{_onTranslationChange=new H.B;_onLangChange=new H.B;_onFallbackLangChange=new H.B;fallbackLang=null;currentLang;translations={};languages=[];getTranslations(q){return this.translations[q]}setTranslations(q,o,Xe){this.translations[q]=Xe&&this.hasTranslationFor(q)?Fn(this.translations[q],o):o,this.addLanguages([q]),this._onTranslationChange.next({lang:q,translations:this.getTranslations(q)})}getLanguages(){return this.languages}getCurrentLang(){return this.currentLang}getFallbackLang(){return this.fallbackLang}setFallbackLang(q,o=!0){this.fallbackLang=q,o&&this._onFallbackLangChange.next({lang:q,translations:this.translations[q]})}setCurrentLang(q,o=!0){this.currentLang=q,o&&this._onLangChange.next({lang:q,translations:this.translations[q]})}get onTranslationChange(){return this._onTranslationChange.asObservable()}get onLangChange(){return this._onLangChange.asObservable()}get onFallbackLangChange(){return this._onFallbackLangChange.asObservable()}addLanguages(q){this.languages=Array.from(new Set([...this.languages,...q]))}hasTranslationFor(q){return typeof this.translations[q]<"u"}deleteTranslations(q){delete this.translations[q]}getTranslation(q){let o=this.getValue(this.currentLang,q);return void 0===o&&null!=this.fallbackLang&&this.fallbackLang!==this.currentLang&&(o=this.getValue(this.fallbackLang,q)),o}getValue(q,o){return Cn(this.getTranslations(q),o)}static \u0275fac=function(o){return new(o||we)};static \u0275prov=j.jDH({token:we,factory:we.\u0275fac})}return we})();const Le=new j.nKC("TRANSLATE_CONFIG"),Ye=we=>(0,N.A)(we)?we:(0,Y.of)(we);let gt=(()=>{class we{loadingTranslations;pending=!1;_translationRequests={};lastUseLanguage=null;currentLoader=(0,j.WQX)(Ve);compiler=(0,j.WQX)(ae);parser=(0,j.WQX)(Ze);missingTranslationHandler=(0,j.WQX)(z);store=(0,j.WQX)(Pe);extend=!1;get onTranslationChange(){return this.store.onTranslationChange}get onLangChange(){return this.store.onLangChange}get onFallbackLangChange(){return this.store.onFallbackLangChange}get onDefaultLangChange(){return this.store.onFallbackLangChange}constructor(){const q={extend:!1,fallbackLang:null,...(0,j.WQX)(Le,{optional:!0})};q.lang&&this.use(q.lang),q.fallbackLang&&this.setFallbackLang(q.fallbackLang),q.extend&&(this.extend=!0)}setFallbackLang(q){this.getFallbackLang()||this.store.setFallbackLang(q,!1);const o=this.loadOrExtendLanguage(q);return(0,N.A)(o)?(o.pipe((0,me.s)(1)).subscribe({next:()=>{this.store.setFallbackLang(q)},error:()=>{}}),o):(this.store.setFallbackLang(q),(0,Y.of)(this.store.getTranslations(q)))}use(q){this.lastUseLanguage=q,this.getCurrentLang()||this.store.setCurrentLang(q,!1);const o=this.loadOrExtendLanguage(q);return(0,N.A)(o)?(o.pipe((0,me.s)(1)).subscribe({next:()=>{this.changeLang(q)},error:()=>{}}),o):(this.changeLang(q),(0,Y.of)(this.store.getTranslations(q)))}loadOrExtendLanguage(q){if(!this.store.hasTranslationFor(q)||this.extend)return this._translationRequests[q]=this._translationRequests[q]||this.loadAndCompileTranslations(q),this._translationRequests[q]}changeLang(q){q===this.lastUseLanguage&&this.store.setCurrentLang(q)}getCurrentLang(){return this.store.getCurrentLang()}loadAndCompileTranslations(q){this.pending=!0;const o=this.currentLoader.getTranslation(q).pipe((0,se.t)(1),(0,me.s)(1));return this.loadingTranslations=o.pipe((0,oe.T)(Xe=>this.compiler.compileTranslations(Xe,q)),(0,se.t)(1),(0,me.s)(1)),this.loadingTranslations.subscribe({next:Xe=>{this.store.setTranslations(q,Xe,this.extend),this.pending=!1},error:Xe=>{this.pending=!1}}),o}setTranslation(q,o,Xe=!1){const At=this.compiler.compileTranslations(o,q);this.store.setTranslations(q,At,Xe||this.extend)}getLangs(){return this.store.getLanguages()}addLangs(q){this.store.addLanguages(q)}getParsedResultForKey(q,o){const Xe=this.getTextToInterpolate(q);if(Ge(Xe))return this.runInterpolation(Xe,o);const At=this.missingTranslationHandler.handle({key:q,translateService:this,...void 0!==o&&{interpolateParams:o}});return void 0!==At?At:q}getFallbackLang(){return this.store.getFallbackLang()}getTextToInterpolate(q){return this.store.getTranslation(q)}runInterpolation(q,o){if(Ge(q))return Tt(q)?this.runInterpolationOnArray(q,o):mt(q)?this.runInterpolationOnDict(q,o):this.parser.interpolate(q,o)}runInterpolationOnArray(q,o){return q.map(Xe=>this.runInterpolation(Xe,o))}runInterpolationOnDict(q,o){const Xe={};for(const At in q){const Gt=this.runInterpolation(q[At],o);void 0!==Gt&&(Xe[At]=Gt)}return Xe}getParsedResult(q,o){return q instanceof Array?this.getParsedResultForArray(q,o):this.getParsedResultForKey(q,o)}getParsedResultForArray(q,o){const Xe={};let At=!1;for(const Wn of q)Xe[Wn]=this.getParsedResultForKey(Wn,o),At=At||(0,N.A)(Xe[Wn]);if(!At)return Xe;const Gt=q.map(Wn=>Ye(Xe[Wn]));
1return(0,V.p)(Gt).pipe((0,oe.T)(Wn=>{const kn={};return Wn.forEach((An,Rn)=>{kn[q[Rn]]=An}),kn}))}get(q,o){if(!Ge(q)||!q.length)throw new Error('Parameter "key" is required and cannot be empty');return this.pending?this.loadingTranslations.pipe((0,ue.H)(()=>Ye(this.getParsedResult(q,o)))):Ye(this.getParsedResult(q,o))}getStreamOnTranslationChange(q,o){if(!Ge(q)||!q.length)throw new Error('Parameter "key" is required and cannot be empty');return(0,O.x)((0,I.v)(()=>this.get(q,o)),this.onTranslationChange.pipe((0,de.n)(()=>{const Xe=this.getParsedResult(q,o);return Ye(Xe)})))}stream(q,o){if(!Ge(q)||!q.length)throw new Error('Parameter "key" required');return(0,O.x)((0,I.v)(()=>this.get(q,o)),this.onLangChange.pipe((0,de.n)(()=>{const Xe=this.getParsedResult(q,o);return Ye(Xe)})))}instant(q,o){if(!Ge(q)||0===q.length)throw new Error('Parameter "key" is required and cannot be empty');const Xe=this.getParsedResult(q,o);return(0,N.A)(Xe)?Array.isArray(q)?q.reduce((At,Gt)=>(At[Gt]=Gt,At),{}):q:Xe}set(q,o,Xe=this.getCurrentLang()){this.store.setTranslations(Xe,function $e(we,ke,q){return Fn(we,function ze(we,ke){return we.split(".").reduceRight((q,o)=>({[o]:q}),ke)}(ke,q))}(this.store.getTranslations(Xe),q,xt(o)?this.compiler.compile(o,Xe):this.compiler.compileTranslations(o,Xe)),!1)}reloadLang(q){return this.resetLang(q),this.loadAndCompileTranslations(q)}resetLang(q){delete this._translationRequests[q],this.store.deleteTranslations(q)}static getBrowserLang(){if(typeof window>"u"||!window.navigator)return;const q=this.getBrowserCultureLang();return q?q.split(/[-_]/)[0]:void 0}static getBrowserCultureLang(){if(!(typeof window>"u"||typeof window.navigator>"u"))return window.navigator.languages?window.navigator.languages[0]:window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage}getBrowserLang(){return we.getBrowserLang()}getBrowserCultureLang(){return we.getBrowserCultureLang()}get defaultLang(){return this.getFallbackLang()}get currentLang(){return this.store.getCurrentLang()}get langs(){return this.store.getLanguages()}setDefaultLang(q){return this.setFallbackLang(q)}getDefaultLang(){return this.getFallbackLang()}static \u0275fac=function(o){return new(o||we)};static \u0275prov=j.jDH({token:we,factory:we.\u0275fac})}return we})(),Ae=(()=>{class we{translate=(0,j.WQX)(gt);_ref=(0,j.WQX)(b.gRc);value="";lastKey=null;lastParams=[];onTranslationChange;onLangChange;onFallbackLangChange;
1updateValue(q,o,Xe){const At=Gt=>{this.value=void 0!==Gt?Gt:q,this.lastKey=q,this._ref.markForCheck()};if(Xe){const Gt=this.translate.getParsedResult(q,o);(0,N.A)(Gt)?Gt.subscribe(At):At(Gt)}this.translate.get(q,o).subscribe(At)}transform(q,...o){if(!q||!q.length)return q;if(Be(q,this.lastKey)&&Be(o,this.lastParams))return this.value;let Xe;if(Ge(o[0])&&o.length)if(xt(o[0])&&o[0].length){const At=o[0].replace(/(')?([a-zA-Z0-9_]+)(')?(\s)?:/g,'"$2":').replace(/:(\s)?(')(.*?)(')/g,':"$3"');try{Xe=JSON.parse(At)}catch(Gt){throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${o[0]}`)}}else mt(o[0])&&(Xe=o[0]);return this.lastKey=q,this.lastParams=o,this.updateValue(q,Xe),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(At=>{(this.lastKey&&At.lang===this.translate.getCurrentLang()||At.lang===this.translate.getFallbackLang())&&(this.lastKey=null,this.updateValue(q,Xe,At.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(At=>{this.lastKey&&(this.lastKey=null,this.updateValue(q,Xe,At.translations))})),this.onFallbackLangChange||(this.onFallbackLangChange=this.translate.onFallbackLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(q,Xe))})),this.value}_dispose(){typeof this.onTranslationChange<"u"&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),typeof this.onLangChange<"u"&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),typeof this.onFallbackLangChange<"u"&&(this.onFallbackLangChange.unsubscribe(),this.onFallbackLangChange=void 0)}ngOnDestroy(){this._dispose()}static \u0275fac=function(o){return new(o||we)};static \u0275pipe=W.EJ8({name:"translate",type:we,pure:!1});static \u0275prov=j.jDH({token:we,factory:we.\u0275fac})}return we})();function _t(we){return{provide:Ve,useClass:we}}function Mt(we){return{provide:ae,useClass:we}}function jt(we){return{provide:Ze,useClass:we}}function Ht(we){return{provide:z,useClass:we}}function hn(we={}){return an({compiler:Mt(he),parser:jt(Te),loader:_t(Fe),missingTranslationHandler:Ht(Ie),...we},!0)}function an(we={},ke){const q=[];return we.loader&&q.push(we.loader),we.compiler&&q.push(we.compiler),we.parser&&q.push(we.parser),we.missingTranslationHandler&&q.push(we.missingTranslationHandler),ke&&q.push(Pe),(we.useDefaultLang||we.defaultLanguage)&&(console.warn("The `useDefaultLang` and `defaultLanguage` options are deprecated. Please use `fallbackLang` instead."),!0===we.useDefaultLang&&we.defaultLanguage&&(we.fallbackLang=we.defaultLanguage)),q.push({provide:Le,useValue:{fallbackLang:we.fallbackLang??null,lang:we.lang,extend:we.extend??!1}}),q.push({provide:gt,useClass:gt,deps:[Pe,Ve,ae,Ze,z,Le]}),q}let Et=(()=>{class we{static forRoot(q={}){return{ngModule:we,providers:[...an({compiler:Mt(he),parser:jt(Te),loader:_t(Fe),missingTranslationHandler:Ht(Ie),...q},!0)]}}static forChild(q={}){return{ngModule:we,providers:[...an(q,q.isolate??!1)]}}static \u0275fac=function(o){return new(o||we)};static \u0275mod=W.$C({type:we});static \u0275inj=j.G2t({})}return we})()},2214(tt,ce,l){l.d(ce,{Dk:()=>k.Dk,KO:()=>k.KO,Sx:()=>k.Sx,Wp:()=>k.Wp});var k=l(8742);(0,k.KO)("firebase","11.10.0","app")},6749(tt,ce,l){l.d(ce,{P2:()=>z});var k=l(467);let u,A;const W=new WeakMap,b=new WeakMap,H=new WeakMap,N=new WeakMap,O=new WeakMap;let Y={get(Be,Ge,it){if(Be instanceof IDBTransaction){if("done"===Ge)return b.get(Be);if("objectStoreNames"===Ge)return Be.objectStoreNames||H.get(Be);if("store"===Ge)return it.objectStoreNames[1]?void 0:it.objectStore(it.objectStoreNames[0])}return de(Be[Ge])},set:(Be,Ge,it)=>(Be[Ge]=it,!0),has:(Be,Ge)=>Be instanceof IDBTransaction&&("done"===Ge||"store"===Ge)||Ge in Be};function se(Be){return"function"==typeof Be?function oe(Be){return Be!==IDBDatabase.prototype.transaction||"objectStoreNames"in IDBTransaction.prototype?function j(){return A||(A=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])}().includes(Be)?function(...Ge){return Be.apply(me(this),Ge),de(W.get(this))}:function(...Ge){return de(Be.apply(me(this),Ge))}:function(Ge,...it){const mt=Be.call(me(this),Ge,...it);return H.set(mt,Ge.sort?Ge.sort():[Ge]),de(mt)}}(Be):(Be instanceof IDBTransaction&&function V(Be){if(b.has(Be))return;const Ge=new Promise((it,mt)=>{const Vt=()=>{Be.removeEventListener("complete",Tt),Be.removeEventListener("error",xt),Be.removeEventListener("abort",xt)},Tt=()=>{it(),Vt()},xt=()=>{mt(Be.error||new DOMException("AbortError","AbortError")),Vt()};Be.addEventListener("complete",Tt),Be.addEventListener("error",xt),Be.addEventListener("abort",xt)});b.set(Be,Ge)}(Be),((Be,Ge)=>Ge.some(it=>Be instanceof it))(Be,function s(){return u||(u=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])}())?new Proxy(Be,Y):Be)}function de(Be){if(Be instanceof IDBRequest)return function I(Be){const Ge=new Promise((it,mt)=>{const Vt=()=>{Be.removeEventListener("success",Tt),Be.removeEventListener("error",xt)},Tt=()=>{it(de(Be.result)),Vt()},xt=()=>{mt(Be.error),Vt()};Be.addEventListener("success",Tt),Be.addEventListener("error",xt)});return Ge.then(it=>{it instanceof IDBCursor&&W.set(it,Be)}).catch(()=>{}),O.set(Ge,Be),Ge}(Be);if(N.has(Be))return N.get(Be);const Ge=se(Be);return Ge!==Be&&(N.set(Be,Ge),O.set(Ge,Be)),Ge}const me=Be=>O.get(Be);function z(Be,Ge,{blocked:it,upgrade:mt,blocking:Vt,terminated:Tt}={}){const xt=indexedDB.open(Be,Ge),rn=de(xt);return mt&&xt.addEventListener("upgradeneeded",en=>{mt(de(xt.result),en.oldVersion,en.newVersion,de(xt.transaction),en)}),it&&xt.addEventListener("blocked",en=>it(en.oldVersion,en.newVersion,en)),rn.then(en=>{Tt&&en.addEventListener("close",()=>Tt()),Vt&&en.addEventListener("versionchange",Fn=>Vt(Fn.oldVersion,Fn.newVersion,Fn))}).catch(()=>{}),rn}const ae=["get","getKey","getAll","getAllKeys","count"],he=["put","add","delete","clear"],Ve=new Map;function Fe(Be,Ge){if(!(Be instanceof IDBDatabase)||Ge in Be||"string"!=typeof Ge)return;if(Ve.get(Ge))return Ve.get(Ge);const it=Ge.replace(/FromIndex$/,""),mt=Ge!==it,Vt=he.includes(it);if(!(it in(mt?IDBIndex:IDBObjectStore).prototype)||!Vt&&!ae.includes(it))return;const Tt=function(){var xt=(0,k.A)(function*(rn,...en){const Fn=this.transaction(rn,Vt?"readwrite":"readonly");let Cn=Fn.store;return mt&&(Cn=Cn.index(en.shift())),(yield Promise.all([Cn[it](...en),Vt&&Fn.done]))[0]});return function(en){return xt.apply(this,arguments)}}();return Ve.set(Ge,Tt),Tt}!function ue(Be){Y=Be(Y)}(Be=>({...Be,get:(Ge,it,mt)=>Fe(Ge,it)||Be.get(Ge,it,mt),has:(Ge,it)=>!!Fe(Ge,it)||Be.has(Ge,it)}))},467(tt,ce,l){function k(u,A,s,j,W,b,H){try{var N=u[b](H),O=N.value}catch(I){return void s(I)}N.done?A(O):Promise.resolve(O).then(j,W)}function T(u){return function(){var A=this,s=arguments;return new Promise(function(j,W){var b=u.apply(A,s);function H(O){k(b,j,W,H,N,"next",O)}function N(O){k(b,j,W,H,N,"throw",O)}H(void 0)})}}l.d(ce,{A:()=>T})},1635(tt,ce,l){function I(We,$e,ze,Ze){return new(ze||(ze=Promise))(function(Pe,Le){function Ye(It){try{gt(Ze.next(It))}catch(Ae){Le(Ae)}}function yt(It){try{gt(Ze.throw(It))}catch(Ae){Le(Ae)}}function gt(It){It.done?Pe(It.value):function Te(Pe){return Pe instanceof ze?Pe:new ze(function(Le){Le(Pe)})}(It.value).then(Ye,yt)}
vendor: 1,861 bytes, line 1
1gt((Ze=Ze.apply(We,$e||[])).next())})}function z(We){return this instanceof z?(this.v=We,this):new z(We)}function Ie(We,$e,ze){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Te,Ze=ze.apply(We,$e||[]),Pe=[];return Te=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),Ye("next"),Ye("throw"),Ye("return",function Le(Mt){return function(jt){return Promise.resolve(jt).then(Mt,Ae)}}),Te[Symbol.asyncIterator]=function(){return this},Te;function Ye(Mt,jt){Ze[Mt]&&(Te[Mt]=function(Ht){return new Promise(function(hn,pn){Pe.push([Mt,Ht,hn,pn])>1||yt(Mt,Ht)})},jt&&(Te[Mt]=jt(Te[Mt])))}function yt(Mt,jt){try{!function gt(Mt){Mt.value instanceof z?Promise.resolve(Mt.value.v).then(It,Ae):_t(Pe[0][2],Mt)}(Ze[Mt](jt))}catch(Ht){_t(Pe[0][3],Ht)}}function It(Mt){yt("next",Mt)}function Ae(Mt){yt("throw",Mt)}function _t(Mt,jt){Mt(jt),Pe.shift(),Pe.length&&yt(Pe[0][0],Pe[0][1])}}function he(We){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var ze,$e=We[Symbol.asyncIterator];return $e?$e.call(We):(We=function oe(We){var $e="function"==typeof Symbol&&Symbol.iterator,ze=$e&&We[$e],Ze=0;if(ze)return ze.call(We);if(We&&"number"==typeof We.length)return{next:function(){return We&&Ze>=We.length&&(We=void 0),{value:We&&We[Ze++],done:!We}}};throw new TypeError($e?"Object is not iterable.":"Symbol.iterator is not defined.")}(We),ze={},Ze("next"),Ze("throw"),Ze("return"),ze[Symbol.asyncIterator]=function(){return this},ze);function Ze(Pe){ze[Pe]=We[Pe]&&function(Le){return new Promise(function(Ye,yt){!function Te(Pe,Le,Ye,yt){Promise.resolve(yt).then(function(gt){Pe({value:gt,done:Ye})},Le)}(Ye,yt,(Le=We[Pe](Le)).done,Le.value)})}}}l.d(ce,{AQ:()=>Ie,N3:()=>z,sH:()=>I,xN:()=>he}),"function"==typeof SuppressedError&&SuppressedError}},tt=>{tt(tt.s=9969)}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.